(self.webpackChunkgbpwa=self.webpackChunkgbpwa||[]).push([[179],{14766:(_e,R,r)=>{"use strict";r.d(R,{x:()=>n,d:()=>s});var n={};r.r(n),r.d(n,{getArticle:()=>h,loadAggregatorRestrictedArticle:()=>u,loadAggregatorRestrictedArticleDidFail:()=>T,loadAggregatorRestrictedArticleDidSuccess:()=>E,loadArticle:()=>v,loadArticleDidFail:()=>m,loadArticleDidSuccess:()=>_,loadArticleFromCache:()=>B,loadRestrictedArticle:()=>b,loadRestrictedArticleDidFail:()=>D,loadRestrictedArticleDidSuccess:()=>p,previewUpdateArticle:()=>a,toggleArticleInBookmark:()=>M});var s={};r.r(s),r.d(s,{getArticles:()=>N,loadArticles:()=>W,loadArticlesDidFail:()=>X,loadArticlesDidSuccess:()=>A,loadMoreArticles:()=>I,loadMoreArticlesDidFail:()=>P,loadMoreArticlesDidSuccess:()=>F,loadRestrictedArticles:()=>U,loadRestrictedArticlesDidFail:()=>k,loadRestrictedArticlesDidSuccess:()=>O,previewRefreshArticles:()=>H,previewRefreshArticlesDidFail:()=>J,previewRefreshArticlesDidSuccess:()=>$});var c=r(31907);const h=(0,c.PH)("[ARTICLE DETAIL] Get Article"),v=(0,c.PH)("[ARTICLE DETAIL] Load Article",(0,c.Ky)()),_=(0,c.PH)("[CONTENT API] Load Article Did Success",(0,c.Ky)()),m=(0,c.PH)("[CONTENT API] Load Article Did Fail",(0,c.Ky)()),b=(0,c.PH)("[ARTICLE DETAIL] Load Restricted Article",(0,c.Ky)()),p=(0,c.PH)("[CONTENT API] Load Restricted Article Did Success",(0,c.Ky)()),D=(0,c.PH)("[CONTENT API] Load Restricted Article Did Fail",(0,c.Ky)()),a=(0,c.PH)("[ARTICLE DETAIL PREVIEW] Update Article",(0,c.Ky)()),u=(0,c.PH)("[ARTICLE DETAIL] Load Aggregator Restricted Article",(0,c.Ky)()),E=(0,c.PH)("[CONTENT API] Load Aggregator Restricted Article Did Success",(0,c.Ky)()),T=(0,c.PH)("[CONTENT API] Load Aggregator Restricted Article Did Fail",(0,c.Ky)()),M=(0,c.PH)("[ARTICLE DETAIL] Toggle Article In Bookmark",(0,c.Ky)()),B=(0,c.PH)("[ARTICLE DETAIL] Load Article From Cache"),N=(0,c.PH)("[ARTICLE LIST] Get Articles"),W=(0,c.PH)("[ARTICLE LIST] Load Articles",(0,c.Ky)()),A=(0,c.PH)("[CONTENT API] Load Articles Did Success",(0,c.Ky)()),X=(0,c.PH)("[CONTENT API] Load Articles Did Fail",(0,c.Ky)()),U=(0,c.PH)("[ARTICLE LIST] Load Restricted Articles",(0,c.Ky)()),O=(0,c.PH)("[CONTENT API] Load Restricted Articles Did Success",(0,c.Ky)()),k=(0,c.PH)("[CONTENT API] Load Restricted Articles Did Fail",(0,c.Ky)()),I=(0,c.PH)("[ARTICLE LIST] Load More Articles"),F=(0,c.PH)("[CONTENT API] Load More Articles Did Success",(0,c.Ky)()),P=(0,c.PH)("[CONTENT API] Load More Articles Did Fail",(0,c.Ky)()),H=(0,c.PH)("[ARTICLE LIST PREVIEW] Refresh Articles"),$=(0,c.PH)("[ARTICLE LIST PREVIEW] Refresh Articles Did Success",(0,c.Ky)()),J=(0,c.PH)("[ARTICLE LIST PREVIEW] Refresh Articles Did Fail",(0,c.Ky)())},28806:(_e,R,r)=>{"use strict";r.d(R,{F:()=>n});var n={};r.r(n),r.d(n,{getBookmarks:()=>c,loadBookmarks:()=>v,loadBookmarksDidFail:()=>m,loadBookmarksDidSuccess:()=>_,removeBookmark:()=>b,retrieveBookmarksDidSuccess:()=>h,toggleBookmark:()=>p});var s=r(31907);const c=(0,s.PH)("[BOOKMARK LIST] Get Bookmarks"),h=(0,s.PH)("[BOOKMARK LIST LOCAL STORAGE] Retrieve Bookmarks Did Success",(0,s.Ky)()),v=(0,s.PH)("[BOOKMARK LIST] Load Bookmarks"),_=(0,s.PH)("[CONTENT API] Load Bookmarks Did Success",(0,s.Ky)()),m=(0,s.PH)("[CONTENT API] Load Bookmarks Did Fail",(0,s.Ky)()),b=(0,s.PH)("[BOOKMARK LIST] Remove Bookmark",(0,s.Ky)()),p=(0,s.PH)("[BOOKMARK LIST] Toggle Bookmark",(0,s.Ky)())},57620:(_e,R,r)=>{"use strict";r.d(R,{Ai:()=>a,Cy:()=>N,D1:()=>me,EO:()=>X,Fr:()=>T,Hw:()=>pe,IH:()=>m,JK:()=>ge,JV:()=>B,Kg:()=>v,Kj:()=>ee,L7:()=>h,LD:()=>le,M$:()=>W,MZ:()=>te,Od:()=>p,QV:()=>F,Qy:()=>vt,St:()=>We,Vb:()=>s,Vn:()=>Me,WI:()=>b,X1:()=>M,X3:()=>Te,Z2:()=>Pt,g1:()=>u,gE:()=>c,gh:()=>A,hO:()=>se,iJ:()=>$,k0:()=>E,mx:()=>D,pf:()=>k,q_:()=>lt,rx:()=>P,s$:()=>ct,s6:()=>Q,tW:()=>H,vw:()=>V,wm:()=>_,x9:()=>O,xF:()=>J,xI:()=>I,zs:()=>U});var n=r(31907);const s=(0,n.PH)("[COMMERCE BAG] Get Bag",({reset:tt}={reset:!1})=>({reset:tt})),c=(0,n.PH)("[COMMERCE BAG API] Get Bag Did Success",(0,n.Ky)()),h=(0,n.PH)("[COMMERCE BAG API] Get Bag Did Fail",(0,n.Ky)()),v=(0,n.PH)("[COMMERCE BAG] Put Patch",(0,n.Ky)()),_=(0,n.PH)("[COMMERCE BAG API] Put Patch Did Fail",(0,n.Ky)()),m=(0,n.PH)("[COMMERCE BAG] Add",(0,n.Ky)()),b=(0,n.PH)("[COMMERCE BAG API] Add Did Success",(0,n.Ky)()),p=(0,n.PH)("[COMMERCE BAG API] Remove",(0,n.Ky)()),D=(0,n.PH)("[COMMERCE BAG API] Remove Did Success",(0,n.Ky)()),a=(0,n.PH)("[COMMERCE BAG API] Add Did Fail",(0,n.Ky)()),u=(0,n.PH)("[COMMERCE BAG API] Increment Quantity",(0,n.Ky)()),E=(0,n.PH)("[COMMERCE BAG API] Increment Quantity Did Success",(0,n.Ky)()),T=(0,n.PH)("[COMMERCE BAG API] Increment Quantity Did Fail",(0,n.Ky)()),M=(0,n.PH)("[COMMERCE BAG API] Decrement Quantity",(0,n.Ky)()),B=(0,n.PH)("[COMMERCE BAG API] Decrement Quantity Did Success",(0,n.Ky)()),N=(0,n.PH)("[COMMERCE BAG API] Decrement Quantity Did Fail",(0,n.Ky)()),W=(0,n.PH)("[COMMERCE BAG] Set Quantity",(0,n.Ky)()),A=(0,n.PH)("[COMMERCE BAG API] Set Quantity Did Success",(0,n.Ky)()),X=(0,n.PH)("[COMMERCE BAG API] Set Quantity Did Fail",(0,n.Ky)()),U=(0,n.PH)("[COMMERCE BAG] Toggle Modification Mode"),O=(0,n.PH)("[COMMERCE BAG] Reset Add To Bag Status",(0,n.Ky)()),k=(0,n.PH)("[COMMERCE BAG] Recover Bag",(0,n.Ky)()),I=(0,n.PH)("[COMMERCE BAG API] Recover Bag Did Success"),F=(0,n.PH)("[COMMERCE BAG API] Recover Bag Did Fail",(0,n.Ky)()),P=(0,n.PH)("[COMMERCE BAG] Repeat Order",(0,n.Ky)()),H=(0,n.PH)("[COMMERCE BAG API] Repeat Order Did success",(0,n.Ky)()),$=(0,n.PH)("[COMMERCE BAG API] Repeat Order Did Fail",(0,n.Ky)()),J=(0,n.PH)("[COMMERCE BAG PREVIEW] Logged Empty Bag"),V=(0,n.PH)("[COMMERCE BAG PREVIEW] Logged Anonymous Bag"),le=(0,n.PH)("[COMMERCE BAG PREVIEW] Regular Bag",({provider:tt}={provider:null})=>({provider:tt})),ge=(0,n.PH)("[COMMERCE BAG REMINDER] Init"),te=(0,n.PH)("[COMMERCE BAG REMINDER] Add Infos",(0,n.Ky)()),We=(0,n.PH)("[COMMERCE BAG REMINDER] Open Dialog"),Te=(0,n.PH)("[COMMERCE BAG REMINDER] Close Dialog"),ee=(0,n.PH)("[COMMERCE BAG REMINDER] Open Contextual Menu",(0,n.Ky)()),Q=(0,n.PH)("[COMMERCE BAG REMINDER] Close Contextual Menu"),me=(0,n.PH)("[COMMERCE BAG] Add Cart Reminder New Timestamp to Store",(0,n.Ky)()),pe=(0,n.PH)("[COMMERCE BAG REMINDER] See Bag"),se=(0,n.PH)("[COMMERCE BAG REMINDER] Checkout"),Me=(0,n.PH)("[COMMERCE BAG REMINDER] Remove Item",(0,n.Ky)()),ct=(0,n.PH)("[COMMERCE BAG REMINDER] Navigate To Variant",(0,n.Ky)()),vt=(0,n.PH)("[COMMERCE BAG] Reset Bag"),Pt=(0,n.PH)("[COMMERCE BAG] Disable Checkout - Order Conditions Are Not Met",(0,n.Ky)()),lt=(0,n.PH)("[COMMERCE BAG] Leave Bag Page")},24698:(_e,R,r)=>{"use strict";r.d(R,{BF:()=>Qt,Bb:()=>W,CE:()=>M,Cp:()=>pn,DP:()=>Vt,DY:()=>F,E5:()=>T,ER:()=>Lr,Eb:()=>Xe,Ep:()=>Fe,F_:()=>it,Fn:()=>st,GA:()=>gt,Gv:()=>pe,HK:()=>B,I:()=>$e,IH:()=>Ln,J6:()=>Xn,JG:()=>b,JY:()=>tn,J_:()=>V,Jh:()=>Wt,KE:()=>Jn,KQ:()=>h,L0:()=>Pt,Le:()=>De,Ls:()=>It,M1:()=>I,MC:()=>Cr,MF:()=>E,MI:()=>Bt,NF:()=>ut,NX:()=>Gt,Oo:()=>Mn,Q2:()=>w,Q3:()=>Q,QN:()=>pr,QQ:()=>an,Qb:()=>Rn,Qr:()=>on,R1:()=>dr,R2:()=>$,Rz:()=>Ir,S1:()=>s,S5:()=>ln,Sj:()=>xt,T4:()=>ee,TJ:()=>Je,UB:()=>Ce,UY:()=>Oe,Ue:()=>c,V$:()=>we,VH:()=>X,Vg:()=>_,Vj:()=>En,Vw:()=>bn,Wc:()=>en,Wg:()=>or,Wk:()=>Ue,Xb:()=>fe,Xg:()=>ge,YT:()=>v,Zh:()=>Mt,_X:()=>zn,_j:()=>bt,a8:()=>ne,aT:()=>An,ae:()=>u,b7:()=>J,bS:()=>Pn,bU:()=>se,bu:()=>ct,bw:()=>p,c6:()=>lt,cJ:()=>ft,cr:()=>ve,cy:()=>qn,dn:()=>At,e6:()=>er,eR:()=>xe,ed:()=>me,eh:()=>rt,ei:()=>Ar,f$:()=>k,gC:()=>We,gE:()=>_n,go:()=>vt,gs:()=>P,hF:()=>Gn,hi:()=>Te,i6:()=>Tn,i7:()=>St,iI:()=>jt,j8:()=>Vn,jK:()=>a,jP:()=>Zn,jW:()=>hr,kU:()=>Ye,lj:()=>te,lq:()=>Ot,ly:()=>lr,m7:()=>le,mg:()=>Me,n7:()=>ht,nf:()=>nr,nx:()=>Ve,nz:()=>sn,o1:()=>ot,o_:()=>je,oz:()=>Yt,pE:()=>Ke,pj:()=>ye,q$:()=>D,q1:()=>A,q3:()=>N,qs:()=>m,r6:()=>cr,rc:()=>Rt,re:()=>Ge,rm:()=>tt,rt:()=>rn,sQ:()=>Pe,sy:()=>wt,uH:()=>Kt,uf:()=>H,ur:()=>et,ux:()=>gn,v4:()=>Ze,vB:()=>qe,vK:()=>Lt,vU:()=>O,vi:()=>Mr,vm:()=>_t,vs:()=>Ct,w9:()=>U,wM:()=>Fr,wd:()=>ae,wu:()=>mn,xc:()=>Re,yU:()=>Wn,yd:()=>Ut,ye:()=>He,zS:()=>Un,zo:()=>Sr});var n=r(31907);const s=(0,n.PH)("[CHECKOUT] Init"),c=(0,n.PH)("[CHECKOUT] Create",(0,n.Ky)()),h=(0,n.PH)("[CHECKOUT] Re-Create",(0,n.Ky)()),v=(0,n.PH)("[CHECKOUT] Re-Create OneClick Bag",(0,n.Ky)()),_=(0,n.PH)("[CHECKOUT API] Create Did Fail",(0,n.Ky)()),m=(0,n.PH)("[CHECKOUT API] Create Did Success",(0,n.Ky)()),b=(0,n.PH)("[CHECKOUT] Abort",(0,n.Ky)()),p=(0,n.PH)("[CHECKOUT API] Abort Did Fail",(0,n.Ky)()),D=(0,n.PH)("[CHECKOUT API] Abort Did Success",(0,n.Ky)()),a=(0,n.PH)("[CHECKOUT] Deactivate"),u=(0,n.PH)("[CHECKOUT] Select Billing Address",(0,n.Ky)()),E=(0,n.PH)("[CHECKOUT API] Select Billing Address Did Fail",(0,n.Ky)()),T=(0,n.PH)("[CHECKOUT API] Select Billing Address Did Success",(0,n.Ky)()),M=(0,n.PH)("[CHECKOUT] Select Shipping Address",(0,n.Ky)()),B=(0,n.PH)("[CHECKOUT] Select Unified Address",(0,n.Ky)()),N=(0,n.PH)("[CHECKOUT API] Select Unified Address Did Fail",(0,n.Ky)()),W=(0,n.PH)("[CHECKOUT API] Select Unified Address Did Success",(0,n.Ky)()),A=(0,n.PH)("[CHECKOUT API] Select Shipping Address Did Fail",(0,n.Ky)()),X=(0,n.PH)("[CHECKOUT API] Select Shipping Address Did Success",(0,n.Ky)()),U=(0,n.PH)("[CHECKOUT] Select Shipping Method",(0,n.Ky)()),O=(0,n.PH)("[CHECKOUT API] Select Shipping Method Did Fail",(0,n.Ky)()),k=(0,n.PH)("[CHECKOUT API] Select Shipping Method Did Success",(0,n.Ky)()),I=(0,n.PH)("[CHECKOUT] Select Shipping Type",(0,n.Ky)()),F=(0,n.PH)("[CHECKOUT] Select Payment Method",(0,n.Ky)()),P=(0,n.PH)("[CHECKOUT] Apply Promo Code",(0,n.Ky)()),H=(0,n.PH)("[CHECKOUT API] Apply Promo Code Did Fail",(0,n.Ky)()),$=(0,n.PH)("[CHECKOUT API] Apply Promo Code Did Success",(0,n.Ky)()),J=(0,n.PH)("[CHECKOUT] Set Accept Terms",(0,n.Ky)()),V=(0,n.PH)("[CHECKOUT API] Set Accept Terms Did Success",(0,n.Ky)()),le=(0,n.PH)("[CHECKOUT API] Set Accept Terms Did Fail",(0,n.Ky)()),ge=(0,n.PH)("[CHECKOUT] Set Customer",(0,n.Ky)()),te=(0,n.PH)("[CHECKOUT API] Set Customer Did Success",(0,n.Ky)()),We=(0,n.PH)("[CHECKOUT API] Set Customer Did Fail",(0,n.Ky)()),Te=(0,n.PH)("[CHECKOUT] Open Dialog Form Page"),ee=(0,n.PH)("[CHECKOUT] Close Dialog Form Page"),Q=(0,n.PH)("[CHECKOUT] Set Process",(0,n.Ky)()),me=(0,n.PH)("[CHECKOUT] Save Raw Data",(0,n.Ky)()),pe=(0,n.PH)("[CHECKOUT API] Bulk Update",(0,n.Ky)()),se=(0,n.PH)("[CHECKOUT API] Bulk Update Did Fail",(0,n.Ky)()),Me=(0,n.PH)("[CHECKOUT API] Bulk Update Did Success",(0,n.Ky)()),ct=(0,n.PH)("[CHECKOUT] Patch Anonymous Addresses",(0,n.Ky)()),vt=(0,n.PH)("[CHECKOUT API] Patch Anonymous Addresses Did Fail",(0,n.Ky)()),Pt=(0,n.PH)("[CHECKOUT API] Patch Anonymous Addresses Did Success",(0,n.Ky)()),lt=(0,n.PH)("[CHECKOUT] Pay"),tt=(0,n.PH)("[CHECKOUT] Pay With Stripe",(0,n.Ky)()),ut=(0,n.PH)("[CHECKOUT] Invalid Stripe Payment"),ne=(0,n.PH)("[CHECKOUT API] Pay Did Fail",(0,n.Ky)()),ae=((0,n.PH)("[CHECKOUT API] Pay Did Success",(0,n.Ky)()),(0,n.PH)("[CHECKOUT] Pay With Paypal")),w=(0,n.PH)("[CHECKOUT] Paypal Approve Redirect",(0,n.Ky)()),Fe=(0,n.PH)("[CHECKOUT] Paypal Payment Approved",(0,n.Ky)()),Je=(0,n.PH)("[CHECKOUT API] Paypal Payment Success",(0,n.Ky)()),St=(0,n.PH)("[CHECKOUT API] Paypal Payment Failed",(0,n.Ky)()),gt=(0,n.PH)("[CHECKOUT] Pay With Mercado"),Wt=(0,n.PH)("[CHECKOUT] Mercado Approve Redirect",(0,n.Ky)()),ft=(0,n.PH)("[CHECKOUT] Mercado Payment Approved",(0,n.Ky)()),ye=(0,n.PH)("[CHECKOUT API] Mercado Payment Success",(0,n.Ky)()),st=(0,n.PH)("[CHECKOUT API] Mercado Payment Failed",(0,n.Ky)()),we=(0,n.PH)("[CHECKOUT] Payment Confirmation Redirection",(0,n.Ky)()),$e=(0,n.PH)("[CHECKOUT] Set Mail",(0,n.Ky)()),Ye=(0,n.PH)("[CHECKOUT API] Set Mail Did Fail",(0,n.Ky)()),At=(0,n.PH)("[CHECKOUT API] Set Mail Did Success",(0,n.Ky)()),qe=(0,n.PH)("[CHECKOUT] Set Phone Number",(0,n.Ky)()),it=(0,n.PH)("[CHECKOUT API] Set Phone Number Did Fail",(0,n.Ky)()),Kt=(0,n.PH)("[CHECKOUT API] Set Phone Number Did Success",(0,n.Ky)()),Ut=(0,n.PH)("[CHECKOUT] Set Customer Note",(0,n.Ky)()),wt=(0,n.PH)("[CHECKOUT API] Set Customer Note Did Fail",(0,n.Ky)()),rn=(0,n.PH)("[CHECKOUT API] Set Customer Note Did Success",(0,n.Ky)()),Ke=(0,n.PH)("[CHECKOUT] Set Organization Details",(0,n.Ky)()),pn=(0,n.PH)("[CHECKOUT API] Set Organization Details Did Fail",(0,n.Ky)()),Rt=(0,n.PH)("[CHECKOUT API] Set Organization Details Did Success",(0,n.Ky)()),Xe=(0,n.PH)("[CHECKOUT] Set Customer Full Name",(0,n.Ky)()),ve=(0,n.PH)("[CHECKOUT API] Set Customer Full Name Did Fail",(0,n.Ky)()),Ce=(0,n.PH)("[CHECKOUT API] Set Customer Full Name Did Success",(0,n.Ky)()),Re=(0,n.PH)("[CHECKOUT] Proceed"),ot=(0,n.PH)("[CHECKOUT] Create Account"),Ve=(0,n.PH)("[AUTH API] Create Account Did Fail",(0,n.Ky)()),Oe=(0,n.PH)("[AUTH API] Create Account Did Success",(0,n.Ky)()),Ze=(0,n.PH)("[CHECKOUT] Resume",(0,n.Ky)()),Ge=(0,n.PH)("[CHECKOUT API] Resume Did Success",(0,n.Ky)()),Pe=(0,n.PH)("[CHECKOUT API] Resume Did Fail",(0,n.Ky)()),Ue=(0,n.PH)("[AUTH API] Get User Cards Did Fail",(0,n.Ky)()),De=(0,n.PH)("[CHECKOUT] Select Stripe Payment Method Id",(0,n.Ky)()),fe=(0,n.PH)("[CHECKOUT] Set User Identity",(0,n.Ky)()),He=(0,n.PH)("[CHECKOUT] Set Button State",(0,n.Ky)()),xe=(0,n.PH)("[CHECKOUT] Clean Confirmation Infos"),rt=(0,n.PH)("[CHECKOUT] Credit Card Payment",(0,n.Ky)()),xt=(0,n.PH)("[CHECKOUT] Credit Card Payment 3DSecure Redirection",(0,n.Ky)()),tn=(0,n.PH)("[CHECKOUT] Verify 3DSecure Payment Status",(0,n.Ky)()),sn=(0,n.PH)("[CHECKOUT] Credit Card Payment 3DSecure Did Fail",(0,n.Ky)()),En=(0,n.PH)("[CHECKOUT] Credit Card Payment 3DSecure Did Success"),Un=(0,n.PH)("[CHECKOUT] Remove Ongoing Payment Intent Ref"),nr=(0,n.PH)("[CHECKOUT] Open Stripe Elements Dialog"),Zn=(0,n.PH)("[CHECKOUT] Stripe Elements Payment"),lr=(0,n.PH)("[CHECKOUT] Cancel Stripe Elements Payment",(0,n.Ky)()),Jn=(0,n.PH)("[CHECKOUT] Retrieve Stripe Elements Payment",(0,n.Ky)()),er=(0,n.PH)("[CHECKOUT] Stripe Elements Payment With Redirect Did Fail",(0,n.Ky)()),or=(0,n.PH)("[CHECKOUT] Create OneClick Bag",(0,n.Ky)()),Wn=(0,n.PH)("[CHECKOUT API] Create OneClick Bag Did Fail",(0,n.Ky)()),gn=(0,n.PH)("[CHECKOUT API] Create OneClick Bag Did Success",(0,n.Ky)()),Fr=(0,n.PH)("[CHECKOUT API] Set One Click Payer Infos",(0,n.Ky)()),Ar=(0,n.PH)("[CHECKOUT API] Set One Click Payer Infos Did Fail",(0,n.Ky)()),Cr=(0,n.PH)("[CHECKOUT API] Set One Click Payer Infos Did Success",(0,n.Ky)()),Sr=(0,n.PH)("[CHECKOUT] Set OneClick Bag Addresses",(0,n.Ky)()),Mn=(0,n.PH)("[CHECKOUT API] Set One Click Bag Addresses Did Fail"),Lr=(0,n.PH)("[CHECKOUT API] Set One Click Bag Addresses Did Success",(0,n.Ky)()),_t=(0,n.PH)("[CHECKOUT] Set One Click Bag Default Shipping Method",(0,n.Ky)()),et=(0,n.PH)("[CHECKOUT] Set One Click Bag Shipping Method",(0,n.Ky)()),Mt=(0,n.PH)("[CHECKOUT API] Set One Click Bag Shipping Method Did Fail"),Ct=(0,n.PH)("[CHECKOUT API] Set One Click Bag Shipping Method Did Success",(0,n.Ky)()),Vt=(0,n.PH)("[CHECKOUT] Pay One Click Order Bag",(0,n.Ky)()),Bt=(0,n.PH)("[CHECKOUT] Pay One Click Order Bag Did Fail",(0,n.Ky)()),on=(0,n.PH)("[CHECKOUT] Pay One Click Order Checkout",(0,n.Ky)()),Qt=(0,n.PH)("[CHECKOUT] Pay One Click Order Checkout Did Fail",(0,n.Ky)()),Lt=(0,n.PH)("[CHECKOUT] Fake Payment"),mn=(0,n.PH)("[CHECKOUT API] Fake Payment Did Fail",(0,n.Ky)()),jt=(0,n.PH)("[CHECKOUT] Offline Payment"),Vn=(0,n.PH)("[CHECKOUT API] Offline Payment Did Fail",(0,n.Ky)()),Rn=(0,n.PH)("[CHECKOUT] Set OneClick Provider",(0,n.Ky)()),Ln=(0,n.PH)("[CHECKOUT] Stripe Open Interface"),An=(0,n.PH)("[CHECKOUT] Handle Error Response",(0,n.Ky)()),bn=(0,n.PH)("[CHECKOUT] Display Error Response",(0,n.Ky)()),_n=(0,n.PH)("[CHECKOUT] Display Warning Message",(0,n.Ky)()),zn=(0,n.PH)("[CHECKOUT] Hide Error Message"),dr=(0,n.PH)("[CHECKOUT] Hide Warning Message"),an=(0,n.PH)("[CHECKOUT] Display Error Product Info Details",(0,n.Ky)()),Yt=(0,n.PH)("[CHECKOUT] Expired Redirection"),hr=(0,n.PH)("[CHECKOUT] Open Snack Bar",(0,n.Ky)()),Mr=(0,n.PH)("[CHECKOUT] Set Customer And Pay",(0,n.Ky)()),It=(0,n.PH)("[CHECKOUT PREVIEW] Anonymous Layout"),ln=(0,n.PH)("[CHECKOUT PREVIEW] Logged Layout",({provider:at}={provider:null})=>({provider:at})),Pn=(0,n.PH)("[CHECKOUT] Set User Known Upon Creation Flag"),pr=(0,n.PH)("[CHECKOUT] Logged Layout",(0,n.Ky)()),cr=(0,n.PH)("[CHECKOUT] UpdateUserDefaultCard",(0,n.Ky)()),Ir=(0,n.PH)("[CHECKOUT] Setup Future Payment",(0,n.Ky)()),Xn=(0,n.PH)("[CHECKOUT] Setup Future Payment Did Success",(0,n.Ky)()),je=(0,n.PH)("[CHECKOUT] Setup Future Payment Did Fail",(0,n.Ky)()),bt=(0,n.PH)("[CHECKOUT] Set Delivery Date Slot",(0,n.Ky)()),Ot=(0,n.PH)("[CHECKOUT] Set Delivery Time Slot",(0,n.Ky)()),ht=(0,n.PH)("[CHECKOUT API] Set Delivery Sub Slot Did Success",(0,n.Ky)()),Gt=(0,n.PH)("[CHECKOUT API] No Delivery Slots Available",(0,n.Ky)()),en=(0,n.PH)("[CHECKOUT] Refresh Checkout Infos"),Tn=(0,n.PH)("[CHECKOUT API] Refresh Checkout Infos Did Fail",(0,n.Ky)()),qn=(0,n.PH)("[CHECKOUT API] Refresh Checkout Infos Did Success",(0,n.Ky)()),Gn=(0,n.PH)("[CHECKOUT API] Set Delivery Sub Slot Did Fail");(0,n.G0)({applyPromoCodeDidSuccess:$,selectShippingAddressDidSuccess:X,selectShippingMethodDidSuccess:k,setAcceptTermsDidSuccess:V,selectBillingAddressDidSuccess:T,selectUnifiedAddressDidSuccess:W,setCustomerDidSuccess:te,createDidSuccess:m,bulkUpdateDidSuccess:Me,refreshCheckoutInfosDidSuccess:qn,setMailDidSuccess:At,resumeDidSuccess:Ge,setOneClickPayerInfosDidSuccess:Cr,setPhoneNumberDidSuccess:Kt,setCustomerNoteDidSuccess:rn,setCustomerFullNameDidSuccess:Ce,patchAnonymousAddressDidSuccess:Pt,setOrganizationDetailsDidSuccess:Rt})},41545:(_e,R,r)=>{"use strict";r.d(R,{$E:()=>D,Ix:()=>m,ap:()=>E,mO:()=>_,qA:()=>p,sk:()=>u,vx:()=>T,z6:()=>a});var n=r(58516),s=r(27550),c=r(96407),h=r(24698);function v(N,W){if("preview"in W)return N;if("none"===N||"anonymous"===N)return _(W.user_id,W.shipping_address_id,null);if(!W.user_id)return"anonymous";if("loggedNoDefaultAddressesButDefaultCard"===N){if(W.shipping_address_id)return"loggedAllInfos"}else if("loggedZeroDefault"===N&&W.shipping_address_id)return"loggedNoDefaultCardButDefaultAddresses";return N}function _(N,W,A){return N?W?A?"loggedAllInfos":"loggedNoDefaultCardButDefaultAddresses":A?"loggedNoDefaultAddressesButDefaultCard":"loggedZeroDefault":"anonymous"}function m(N,W,A,X){if(N.result.available_shipping_methods.length>0){const U=N.result.available_shipping_methods.map(F=>N.entities.shippingMethods[F]);let O=U.map(F=>({id:F.id.toString(),label:F.name,detail:F.description,amount:F.stripe_total})),k=N.result.pricing_details.stripe_total;const I=U.findIndex(F=>X&&F.id===X.id);if(I<0){const F=parseFloat(N.result.pricing_details.subtotal);k=(0,c.NN)(F,A)+O[0].amount}else I>0&&(O=(0,n.RL6)(O,I,0));return{total:{amount:k,label:W,pending:!1},shippingOptions:O,status:"success"}}return{status:"invalid_shipping_address"}}function b(N,W){return N.paymentMethod&&W.findIndex(A=>A===N.paymentMethod)>-1?N.paymentMethod:Array.isArray(W)&&W[0]||null}function p(N,W){return N.selectedShippingMethod&&N.selectedShippingMethod.id&&W.findIndex(A=>A.id===N.selectedShippingMethod.id)>-1?N.selectedShippingMethod.id:Array.isArray(W)&&W.length>0&&W[0].id||null}function D(N){return N.response&&N.response.error_code&&["1004","1005"].indexOf(N.response.error_code)<0}function a(N){switch(N.userIdentity){case"anonymous":case"loggedZeroDefault":case"loggedNoDefaultCardButDefaultAddresses":return null;default:return N.stripePaymentMethodId}}function u(N,W){const A=(0,c.AZ)(W.response.result.available_payment_methods.services),X=function M(N){return[...N].sort((W,A)=>W===s.s.Transport?-1:W===s.s.Pickup?1:W===s.s.ZipCode?A===s.s.Transport?1:-1:0)}(W.response.result.available_shipping_types);let U=N.wasShippingMethodSetUponCreation;return null===U&&W.type===h.f$.type&&(U=W.uponCreationWhileLogged),{...N,id:W.response.result.id,process:"ongoing",promo:W.response.result.discount,promoCode:W.response.result.promo_code,subTotal:parseFloat(W.response.result.subtotal),total:parseFloat(W.response.result.total),tax:W.response.result.pricing_details?parseFloat(W.response.result.pricing_details.tax_amount):0,ready:W.response.result.ready_to_pay,termsAccepted:W.response.result.accept_terms,availableShippingMethodIds:W.response.result.available_shipping_methods,selectedShippingMethod:W.response.result.shipping_method,availableShippingTypes:X,shipping:W.response.result.pricing_details?parseFloat(W.response.result.pricing_details.shipping.total):0,items:W.response.entities.items,itemIds:W.response.result.items,paymentMethods:A,paymentMethod:b(N,A),shippingAddressId:parseInt(W.response.result.shipping_address_id),billingAddressId:parseInt(W.response.result.billing_address_id),userIdentity:v(N.userIdentity,W.response.result),rawData:{...N.rawData,payer:{name:W.response.result.first_name+" "+W.response.result.last_name,mail:W.response.result.email}},bagOneClickPayerSet:W.type===h.MC.type,wasShippingMethodSetUponCreation:U,phone:W.response.result.phone,customerNote:W.response.result.customer_note,selectedShippingType:B(N,X),firstName:W.response.result.first_name,lastName:W.response.result.last_name,email:W.response.result.email,company:W.response.result.company,vatNumber:W.response.result.vat_number}}function E(N,W){const A=W.response.result,X=u(N,W);if("anonymous"===X.userIdentity){let U={phone:A.phone,email:A.email},O={phone:A.phone,email:A.email},k="",I="";const F=H=>Object.values(H).sort().reduce(($,J)=>("boolean"==typeof J&&(J=""),$+J),"");A.billing_address&&(k=F(A.billing_address),U={...U,firstName:A.billing_address.first_name,lastName:A.billing_address.last_name,company:A.billing_address.company,address:A.billing_address.street,building:A.billing_address.extra,state:A.billing_address.state,zip:A.billing_address.zipcode,city:A.billing_address.city,country:A.billing_address.country}),A.shipping_address&&(I=F(A.shipping_address),O={...O,firstName:A.shipping_address.first_name,lastName:A.shipping_address.last_name,company:A.shipping_address.company,address:A.shipping_address.street,building:A.shipping_address.extra,state:A.shipping_address.state,zip:A.shipping_address.zipcode,city:A.shipping_address.city,country:A.shipping_address.country}),X.rawData={...X.rawData,billing:U,shipping:O,differentAnonymousAddress:!!A.billing_address&&!!A.shipping_address&&k!==I,phoneNumber:A.phone,customerNote:A.customer_note}}else X.rawData={...X.rawData,differentBilling:A.shipping_address_id&&A.billing_address_id&&A.shipping_address_id!==A.billing_address_id};return A.promo_code&&(X.rawData={...X.rawData,promoCode:A.promo_code,promoCodeChecked:!0}),X}function T(N){return"desktop"===N?"PWA_DESKTOP":"PWA_MOBILE"}function B(N,W){return N.selectedShippingType&&W.indexOf(N.selectedShippingType)>-1?N.selectedShippingType:Array.isArray(W)&&W[0]||null}},54716:(_e,R,r)=>{"use strict";r.d(R,{em:()=>qe,nh:()=>et,ry:()=>hr,B9:()=>mn,kU:()=>Wn,wD:()=>Un,Rm:()=>nr,fj:()=>ae,Nn:()=>It,sv:()=>gn,LR:()=>pr,vc:()=>Sr,nX:()=>Mn,SW:()=>Lr,lK:()=>Ln,Nh:()=>cr,e$:()=>Ar,Qx:()=>Cr,ph:()=>Te,yt:()=>Yt,zv:()=>O,ZJ:()=>y,kB:()=>bt,Gy:()=>Mr,Zb:()=>zn,dY:()=>ht,e:()=>rn,nS:()=>Kt,HY:()=>ve,sj:()=>Ke,xA:()=>P,K4:()=>pn,nq:()=>ft,pJ:()=>ee,gY:()=>St,x7:()=>wt,A$:()=>it,P2:()=>Je,dC:()=>st,c:()=>$e,dD:()=>Ce,I$:()=>an,UC:()=>Rn,Yt:()=>k,Di:()=>Pn,$R:()=>Ue,So:()=>Pe,wm:()=>ot,Lm:()=>fe,Qs:()=>lr,Vz:()=>Ze,wZ:()=>Ge,FC:()=>Jn,qy:()=>Zn,vW:()=>En,LX:()=>sn,xh:()=>Oe,uO:()=>V,MX:()=>te,ki:()=>ge,oj:()=>Fr,BW:()=>ct,Z3:()=>Fe,T6:()=>me,$f:()=>se,dL:()=>Me,Fy:()=>Q,up:()=>le,pL:()=>Ir,Mc:()=>Xn,qp:()=>vt,q7:()=>w,lO:()=>_n,J:()=>We,ZP:()=>tt,Hw:()=>lt,oX:()=>Bt,gT:()=>Tn,Mx:()=>ut,Zp:()=>Ut,zc:()=>Ot,zR:()=>Ye,hJ:()=>At,g$:()=>dr,QI:()=>Gt,Oy:()=>bn,uC:()=>Mt,Bv:()=>en,ds:()=>_t,aX:()=>je,Sz:()=>ye,LZ:()=>gt,S4:()=>we,I6:()=>Gn,AN:()=>on});var n=r(31907),s=r(57620),c=r(63737),h=r(24698),v=r(41545);function _(Ee=null){return{id:Ee,shippingAddressId:null,billingAddressId:null,selectedShippingMethod:null,subTotal:null,promoCode:null,promo:null,shipping:null,tax:null,total:null,ready:!1,termsAccepted:!1,itemIds:[],items:{},availableShippingMethodIds:[],availableShippingTypes:[],process:"none",userIdentity:"none",paymentMethods:[],paymentMethod:null,rawData:{},stripePaymentMethodId:null,addCardButtonStatus:"default",createdAccountUserId:null,bagOneClickPayerSet:!1,oneClickProvider:null,errorMessage:null,errorMessageType:null,payButtonStatus:"default",gbOneClickButtonStatus:"default",confirmationOrderNumber:null,confirmationOrderStatus:null,confirmationEmail:null,wasUserFullyKnownUponCreation:!1,wasShippingMethodSetUponCreation:null,customerNote:null,selectedShippingType:null,ongoingPaymentIntent:null,email:null,phone:null,firstName:null,lastName:null,company:null,vatNumber:null}}const m=_();var b=r(78342),p=r(49595),D=r(4039),a=r(27550),u=r(6966),E=r(96407),T=r(74137);const M=(0,n.P1)(T.y0,Ee=>Ee.checkout),B=Ee=>Ee.length>0,N=(Ee,at)=>Ee?at[String(Ee)]:null,U=Ee=>({city:Ee.city,company:Ee.company,country:Ee.country,extra:Ee.building,first_name:Ee.firstName,last_name:Ee.lastName,state:Ee.state,street:Ee.address,vat_number:Ee.vatNumber,zipcode:Ee.zip}),O=(0,n.P1)(M,Ee=>Ee.id),k=(0,n.P1)(M,Ee=>Ee.process),I=(0,n.P1)(M,Ee=>Ee.itemIds),F=(0,n.P1)(M,Ee=>Ee.items),P=(0,n.P1)(I,F,(Ee,at)=>((Ee,at)=>Ee.map(nn=>at[String(nn)]))(Ee,at)),H=(0,n.P1)(M,Ee=>Ee.availableShippingMethodIds),$=(0,n.P1)(H,D.qy,(Ee,at)=>Ee.map(nn=>at[nn])),J=(0,n.P1)(M,Ee=>Ee.availableShippingTypes),V=(0,n.P1)(J,Ee=>Ee.filter(at=>Object.values(a.s).includes(at))),le=(0,n.P1)(M,Ee=>Ee.selectedShippingType),ge=(0,n.P1)($,le,p.EK,(Ee,at,nn)=>nn&&at&&Ee.filter(vn=>vn.shipping_type===at)||Ee),te=(0,n.P1)(ge,Ee=>Ee&&Ee.map(at=>at&&at.id)||[]),We=(0,n.P1)(te,B),Te=(0,n.P1)(ge,p.E_,(Ee,at)=>Ee.map(nn=>nn.is_local_pickup?{...nn,description:`${at.name}, ${at.street}, ${at.zipcode} ${at.city}, ${at.country}`}:nn)),ee=(0,n.P1)(M,Ee=>Ee.selectedShippingMethod),Q=(0,n.P1)(ee,Ee=>Ee&&Ee.id),me=(0,n.P1)(Q,D.qy,(Ee,at)=>at[Ee]),pe=(0,n.P1)(p.NC,me,(Ee,at)=>Ee&&at&&at.delivery_slots||[]),se=(0,n.P1)(pe,Ee=>{const at=[],vn=Ee.reduce((jn,In)=>{const Qn=In.date;return at.indexOf(Qn)<0&&at.push(Qn),jn[Qn]=jn[Qn]||{id:Qn,hasAvailableSlots:!1,slots:[]},In.available&&(jn[Qn].hasAvailableSlots=!0),jn[Qn].slots=jn[Qn].slots.concat(In),jn},{});return{ids:at,entities:vn}}),Me=(0,n.P1)(pe,Ee=>Ee.find(at=>!0===at.available)),ct=(0,n.P1)(ee,Ee=>Ee&&Ee.selected_delivery_subslot),vt=(0,n.P1)(se,ct,(Ee,at)=>at&&at.date&&Ee.entities[at.date]),Pt=(0,n.P1)(me,Ee=>{if(Ee)switch(Ee.shipping_type){case a.s.Pickup:case a.s.ZipCode:return!0;default:return!1}return!1}),lt=(0,n.P1)(me,pe,Pt,(Ee,at,nn)=>!Ee||!1===nn||at&&at.length>0),tt=(0,n.P1)(me,pe,Pt,(Ee,at,nn)=>!!(Ee&&nn&&at&&at.filter(vn=>vn.available).length>0)),ut=(0,n.P1)(p.NC,Pt,(Ee,at)=>Ee&&at),ne=(0,n.P1)($,Ee=>Ee.find(at=>at.is_local_pickup)),y=(0,n.P1)(ne,Ee=>Ee&&Ee.name),ae=(0,n.P1)(M,Ee=>Ee.paymentMethods),w=(0,n.P1)(ae,B),Fe=(0,n.P1)(M,Ee=>Ee.paymentMethod),Je=(0,n.P1)(M,Ee=>Ee.subTotal),St=(0,n.P1)(M,Ee=>Ee.shipping),gt=(0,n.P1)(St,Ee=>null!==Ee&&Ee>=0),Wt=(0,n.P1)(M,Ee=>Ee.promoCode),ft=(0,n.P1)(M,Ee=>Ee.promo),ye=(0,n.P1)(ft,Ee=>Ee>0),st=(0,n.P1)(M,Ee=>Ee.tax),we=(0,n.P1)(st,Ee=>null!==Ee&&Ee>=0),$e=(0,n.P1)(M,Ee=>Ee.total),Ye=(0,n.P1)(M,Ee=>"pending"===Ee.process),At=(0,n.P1)(M,Ee=>"ongoing"===Ee.process&&!0===Ee.ready),qe=(0,n.P1)(M,Ee=>Ee.termsAccepted),it=(0,n.P1)(M,Ee=>Ee.shippingAddressId),Kt=(0,n.P1)(M,Ee=>Ee.billingAddressId),Ut=(0,n.P1)(M,Ee=>"dialogEdition"===Ee.process),wt=(0,n.P1)(it,T.ZK,(Ee,at)=>N(Ee,at)),rn=(0,n.P1)(Kt,T.ZK,(Ee,at)=>N(Ee,at)),Ke=(0,n.P1)(M,Ee=>Ee.firstName),pn=(0,n.P1)(M,Ee=>Ee.lastName),Rt=(0,n.P1)(M,Ee=>Ee.email),Xe=(0,n.P1)(M,Ee=>Ee.phone),ve=(0,n.P1)(M,Ee=>Ee.company),Ce=(0,n.P1)(M,Ee=>Ee.vatNumber),Re=(0,n.P1)(M,Ee=>Ee.rawData),ot=(0,n.P1)(Re,p.E_,(Ee,at)=>{const nn=Ee.billing||{};return nn.country||(nn.country=at.country),nn}),Ve=(0,n.P1)(ot,Ee=>Ee&&Ee.firstName||""),Oe=(0,n.P1)(Re,p.E_,(Ee,at)=>{const nn=Ee.shipping||{};return nn.country||(nn.country=at.country),nn}),Ze=(0,n.P1)(Re,Ee=>Ee.differentAnonymousAddress),Ge=(0,n.P1)(Re,Ee=>Ee.differentBilling),Pe=(0,n.P1)(Re,Ee=>Ee.accountMail),Ue=(0,n.P1)(Re,Ee=>Ee.accountCreation),De=(0,n.P1)(Re,Ee=>Ee.password),fe=(0,n.P1)(Re,Ee=>Ee.cardRegister),rt=((0,n.P1)(Re,Ee=>Ee.payer),(0,n.P1)(ot,Ee=>Ee&&Ee.firstName),(0,n.P1)(ot,Ee=>Ee&&Ee.lastName)),xt=(0,n.P1)(ot,Ee=>Ee&&Ee.company),tn=(0,n.P1)(ot,Ee=>Ee&&Ee.vatNumber),sn=(0,n.P1)(Re,Ee=>Ee.promoCodeChecked),En=(0,n.P1)(Re,Ee=>Ee.promoCode),Un=(0,n.P1)(ot,Oe,Ze,p.EK,(Ee,at,nn,vn)=>Ee||at?vn?U(nn?Ee:at):Ee?U(Ee):null:null),nr=(0,n.P1)(ot,Oe,Ze,p.EK,(Ee,at,nn,vn)=>Ee||at?vn?at?U(at):null:U(nn?at:Ee):null),Zn=(0,n.P1)(Re,Ee=>Ee&&Ee.phoneNumber||""),lr=(0,n.P1)(Re,Ee=>Ee.customerNote),Jn=(0,n.P1)(Re,Ee=>Ee.orderOrganizationAddition),er=(0,n.P1)(Ue,Ee=>!!Ee),or=(0,n.P1)(M,Ee=>Ee.userIdentity),Wn=(0,n.P1)(M,Ee=>Ee.addCardButtonStatus),gn=(0,n.P1)(M,Ee=>Ee.stripePaymentMethodId),Fr=(0,n.P1)(gn,T.vm,(Ee,at)=>N(Ee,at)),Ar=(0,n.P1)(M,Ee=>Ee.errorMessage),Cr=(0,n.P1)(M,Ee=>Ee.errorMessageType),Sr=(0,n.P1)(M,Ee=>Ee.confirmationEmail),Mn=(0,n.P1)(M,Ee=>Ee.confirmationOrderNumber),Lr=(0,n.P1)(M,Ee=>Ee.confirmationOrderStatus),_t=(0,n.P1)(or,Ee=>"anonymous"!==Ee&&"none"!==Ee),et=(0,n.P1)(or,Ee=>"loggedAllInfos"===Ee||"loggedNoDefaultCardButDefaultAddresses"===Ee),Mt=(0,n.P1)(or,Ee=>"loggedAllInfos"===Ee||"loggedNoDefaultAddressesButDefaultCard"===Ee),Ct=(0,n.P1)(M,Ee=>Ee.wasUserFullyKnownUponCreation),Vt=(0,n.P1)(M,Ee=>Ee.wasShippingMethodSetUponCreation),Bt=(0,n.P1)(Ct,Vt,At,(Ee,at,nn)=>Ee&&at&&nn),on=(0,n.P1)(p.dn,er,b.iH,(Ee,at,nn)=>Ee&&!1===nn||at),Qt=(0,n.P1)(Pe,ot,Oe,p.EK,(Ee,at,nn,vn)=>Ee||(vn?nn&&nn.email:at&&at.email)),Lt=(0,n.P1)(ot,Oe,Ze,(Ee,at,nn)=>({billing:Ee,shipping:at,different:nn})),mn=(0,n.P1)(Qt,Ve,De,rt,Zn,xt,tn,Lt,(Ee,at,nn,vn,jn,In,Qn,ni)=>({email:Ee,username:at,password:nn,firstName:at,lastName:vn,phone:jn,company:In,vatNumber:Qn,billing:ni.billing,shipping:ni.shipping,different:ni.different})),jt=(0,n.P1)(M,Ee=>Ee.createdAccountUserId),Vn=(0,n.P1)(M,Ee=>Ee.stripePaymentMethodId),Rn=(0,n.P1)(jt,b.n5,(Ee,at)=>Ee||at),Ln=(0,n.P1)(O,Vn,fe,Rn,(Ee,at,nn,vn)=>({orderId:Ee,paymentMethodId:at,registerPaymentMethod:nn,userId:vn})),bn=((0,n.P1)(k,Ee=>"3dpending"===Ee),(0,n.P1)(k,Ee=>"3ddone"===Ee)),_n=(0,n.P1)(M,Ee=>Ee.bagOneClickPayerSet),zn=(0,n.P1)(M,Ee=>Ee.oneClickProvider),dr=(0,n.P1)(it,Ze,ot,Oe,p.EK,(Ee,at,nn,vn,jn)=>Ee>0||(Ee=>!!Ee&&!!Ee.zip&&!!Ee.city)(jn||at?vn:nn)),an=(0,n.P1)(M,Ee=>Ee.payButtonStatus),Yt=(0,n.P1)(M,Ee=>Ee.gbOneClickButtonStatus),hr=(0,n.P1)(or,on,(Ee,at)=>"loggedZeroDefault"===Ee||"loggedNoDefaultCardButDefaultAddresses"===Ee||"anonymous"===Ee&&at),Mr=(0,n.P1)(zn,Ee=>"apple_pay"===Ee?"APPLE_PAY":"PAYMENT_REQUEST_API"),It=(0,n.P1)(or,Ee=>{switch(Ee){case"loggedAllInfos":case"loggedNoDefaultAddressesButDefaultCard":return"CB_REGISTERED";default:return"CB"}}),ln=(0,n.P1)(P,T.Xp,T.PC,(Ee,at,nn)=>({items:Ee,variants:nn,products:at})),Pn=(0,n.P1)($e,st,St,Wt,Fe,p.eL,ln,(Ee,at,nn,vn,jn,In,Qn)=>({orderTotal:Ee,orderTax:at,orderShipping:nn,promoCode:vn,paymentMethod:jn,currency:In,orderItemsDetails:Qn})),pr=(0,n.P1)(O,Rn,Mr,(Ee,at,nn)=>({orderId:Ee,userId:at,label:nn})),cr=(0,n.P1)(on,zn,ae,(Ee,at,nn)=>Ee&&"apple_pay"===at?nn.filter(vn=>"one_click"!==vn):nn),Ir=Ee=>(0,n.P1)(P,p.lo,p.aI,st,(at,nn,vn,jn)=>{const In=at.map(Qn=>({amount:(0,E.NN)(+Qn.price*Qn.quantity,nn),label:Qn.product.title}));return!1===vn&&In.push({amount:(0,E.NN)(jn,nn),label:Ee}),In}),Xn=(0,n.P1)($e,p.lo,E.NN),je=(0,n.P1)(p.MO,u.qW,(Ee,at)=>!1===Ee&&!0===at),bt=(0,n.P1)(Ke,pn,Rt,Xe,(Ee,at,nn,vn)=>({name:`${Ee} ${at}`,email:nn,phone:vn})),Ot=(0,n.P1)(le,p.EK,(Ee,at)=>Ee===a.s.Pickup&&!0===at),ht=(0,n.P1)(M,Ee=>Ee.ongoingPaymentIntent),Gt=(0,n.P1)(ht,Ee=>null!==Ee),en=(0,n.P1)(Ge,rn,wt,Ce,Ot,(Ee,at,nn,vn,jn)=>{if(""===vn||jn)return!0;const In=Ee?at:nn;return!!In&&vn!==In.vat_number}),Tn=(0,n.P1)(Ge,rn,wt,ve,Ot,(Ee,at,nn,vn,jn)=>{if(""===vn||jn)return!0;const In=Ee?at:nn;return!!In&&vn!==In.company}),qn=(0,n.Lq)(m,(0,n.on)(h.S1,Ee=>({...Ee,process:"suspended"===Ee.process?"suspended":"init"})),(0,n.on)(h.v4,Ee=>({...Ee,process:"resuming"})),(0,n.on)(h.jK,Ee=>"suspended"===Ee.process?{...Ee,rawData:{...Ee.rawData,password:""}}:{..._(),confirmationEmail:Ee.confirmationEmail,confirmationOrderNumber:Ee.confirmationOrderNumber,confirmationOrderStatus:Ee.confirmationOrderStatus}),(0,n.on)(h.eR,Ee=>({...Ee,confirmationEmail:null,confirmationOrderNumber:null,confirmationOrderStatus:null})),(0,n.on)(h.Vg,h.sQ,Ee=>({...Ee,process:"failed"})),(0,n.on)(h.hi,Ee=>({...Ee,process:"dialogEdition"})),(0,n.on)(h.T4,Ee=>({...Ee,process:"ongoing"})),(0,n.on)(h.Q3,(Ee,{process:at})=>({...Ee,process:at})),(0,n.on)(h.gs,h.b7,h.Gv,h.Wc,h.I,h.vB,h.yd,Ee=>({...Ee,process:"pending"})),(0,n.on)(h.ed,(Ee,{data:at})=>({...Ee,rawData:{...Ee.rawData,...at}})),(0,n.on)(h.w9,(Ee,{methodId:at})=>({...Ee,selectedShippingMethod:{id:at,selected_delivery_subslot:null},process:"pending"})),(0,n.on)(h.M1,(Ee,{shippingType:at})=>({...Ee,selectedShippingType:at})),(0,n.on)(h.CE,(Ee,{address:at})=>({...Ee,shippingAddressId:at&&at.id||null,process:"pending"})),(0,n.on)(h.ae,(Ee,{address:at})=>({...Ee,billingAddressId:at&&at.id||null,process:"pending"})),(0,n.on)(h.HK,(Ee,{address:at})=>({...Ee,billingAddressId:at&&at.id||null,shippingAddressId:at&&at.id||null,process:"pending"})),(0,n.on)(h.DY,(Ee,{method:at})=>({...Ee,paymentMethod:at,stripePaymentMethodId:(0,v.z6)(Ee)})),(0,n.on)(h.Le,(Ee,{paymentMethodId:at})=>({...Ee,stripePaymentMethodId:at})),(0,n.on)(h.Xb,(Ee,{identity:at})=>({...Ee,userIdentity:at})),(0,n.on)(h.ye,(Ee,{status:at,key:nn})=>({...Ee,[nn]:at})),(0,n.on)(h.UY,(Ee,{response:at})=>({...Ee,createdAccountUserId:at.id,rawData:{...Ee.rawData,accountCreation:!1}})),(0,n.on)(h.a8,h.ly,h.e6,(Ee,{paymentIntent:at})=>({...Ee,payButtonStatus:"default",process:"ongoing",ongoingPaymentIntent:at||null})),(0,n.on)(h.nx,h.wu,h.j8,Ee=>({...Ee,payButtonStatus:"default"})),(0,n.on)(h.xc,Ee=>({...Ee,process:"proceed",payButtonStatus:"loading"})),(0,n.on)(h.R2,h.J_,h.lj,h.qs,h.mg,h.cy,h.L0,h.dn,h.MC,h.uH,h.rt,h.n7,h.rc,(Ee,{...at})=>(0,v.sk)(Ee,at)),(0,n.on)(h.re,(Ee,{...at})=>(0,v.ap)(Ee,at)),(0,n.on)(h.VH,h.E5,h.Bb,h.f$,(Ee,{...at})=>{let nn=(0,v.sk)(Ee,at);return nn={...nn,rawData:{...nn.rawData,orderOrganizationAddition:{company:at.response.result.company,vatNumber:at.response.result.vat_number}}},nn}),(0,n.on)(h.q1,h.MF,h.q3,h.uf,h.m7,h.gC,h.bU,h.i6,h.go,h.kU,h.ei,h.wu,h.j8,h.F_,h.sy,h.hF,h.Cp,Ee=>({...Ee,process:"ongoing"})),(0,n.on)(h.eh,(Ee,{fromInternalOneClick:at})=>({...Ee,gbOneClickButtonStatus:at?"loading":Ee.gbOneClickButtonStatus})),(0,n.on)(h.JY,(Ee,{orderId:at})=>({...Ee,id:parseInt(at),process:"3dpending"})),(0,n.on)(h.nz,h.Vj,Ee=>({...Ee,process:"3ddone",payButtonStatus:"default"})),(0,n.on)(h.ux,(Ee,{response:at})=>({...Ee,id:at.result.id,selectedShippingMethod:{id:null,selected_delivery_subslot:null},availableShippingMethodIds:[],paymentMethod:"one_click"})),(0,n.on)(h.ER,(Ee,{response:at})=>({...Ee,availableShippingMethodIds:at.result.available_shipping_methods,selectedShippingMethod:{id:(0,v.qA)(Ee,at.result.available_shipping_methods.map(nn=>at.entities.shippingMethods[nn]))}})),(0,n.on)(h.vs,(Ee,{response:at})=>({...Ee,selectedShippingMethod:at.result.shipping_method,availableShippingMethodIds:at.result.available_shipping_methods})),(0,n.on)(h.BF,(Ee,{paymentIntent:at})=>({...Ee,process:"ongoing",payButtonStatus:"default",ongoingPaymentIntent:at})),(0,n.on)(h.Qb,(Ee,{provider:at})=>({...Ee,oneClickProvider:at})),(0,n.on)(h.Vw,(Ee,{errorMessage:at,keepProcess:nn})=>({...Ee,errorMessage:at,errorMessageType:"error",process:nn?Ee.process:"ongoing"})),(0,n.on)(h.gE,(Ee,{message:at})=>({...Ee,errorMessage:at,errorMessageType:"warning"})),(0,n.on)(h._X,h.R1,s.gh,s.q_,Ee=>({...Ee,errorMessage:null,errorMessageType:null})),(0,n.on)(h.V$,(Ee,{email:at,orderNum:nn,status:vn})=>({...Ee,confirmationEmail:at,confirmationOrderNumber:nn,confirmationOrderStatus:vn||"success",ongoingPaymentIntent:null,process:"none"})),(0,n.on)(h.Ls,Ee=>({...Ee,shippingAddressId:null,availableShippingMethodIds:[],userIdentity:"anonymous"})),(0,n.on)(h.S5,(Ee,{provider:at})=>({...Ee,shippingAddressId:1,oneClickProvider:at,userIdentity:"loggedAllInfos"})),(0,n.on)(h.JG,Ee=>({...Ee,process:"pending"})),(0,n.on)(h.q$,(Ee,{redirectionUrl:at})=>({...Ee,process:at?"none":"init",paymentMethod:null,ongoingPaymentIntent:null})),(0,n.on)(h.bw,Ee=>({...Ee,process:"ongoing"})),(0,n.on)(h.bS,Ee=>({...Ee,wasUserFullyKnownUponCreation:!0})),(0,n.on)(h.QN,(Ee,{accountCreation:at})=>({...Ee,rawData:{...Ee.rawData,accountCreation:at},paymentMethod:!0===at&&"apple_pay"===Ee.oneClickProvider?Ee.paymentMethods[0]:Ee.paymentMethod})),(0,n.on)(h.Rz,Ee=>({...Ee,addCardButtonStatus:"loading"})),(0,n.on)(h.o_,c.$c,Ee=>({...Ee,addCardButtonStatus:"error"})),(0,n.on)(h.J6,Ee=>({...Ee,addCardButtonStatus:"success"})),(0,n.on)(h._j,(Ee,{date:at})=>({...Ee,selectedShippingMethod:{...Ee.selectedShippingMethod,selected_delivery_subslot:{date:at,info_start:null,info_end:null}}})),(0,n.on)(h.pE,(Ee,{company:at,vatNumber:nn})=>({...Ee,rawData:{...Ee.rawData,orderOrganizationAddition:{company:at,vatNumber:nn}}})),(0,n.on)(h.zS,Ee=>({...Ee,ongoingPaymentIntent:null})));function Gn(Ee,at){return qn(Ee,at)}},27550:(_e,R,r)=>{"use strict";r.d(R,{s:()=>n});var n=function(s){return s.Pickup="pickup",s.ZipCode="zipcode",s.Transport="transport",s}(n||{})},20436:(_e,R,r)=>{"use strict";r.d(R,{s:()=>a});var n=r(93634),s=r(58516),c=r(28419);let h=(()=>{class E{constructor(M,B){this.http=M,this.settings=B}getStatus(M){throw new Error("Method not implemented")}getPaymentServices(){return this.getAuthToken().pipe((0,c.w)(M=>this.getAvailableServices(M.token)))}createPaypalTransaction(M,B){throw new Error("Method not implemented")}capturePaypalTransaction(M,B,N){throw new Error("Method not implemented")}startCBPaymentProcess(M,B,N){throw new Error("Method not implemented.")}startPaymentElementPaymentProcess(M,B){throw new Error("Method not implemented.")}startNoCBPaymentProcess(M,B,N){throw new Error("Method not implemented.")}sandboxPay(M){throw new Error("Method not implemented.")}createMercadoPayment(M,B){throw new Error("Method not implemented")}executeMercadoPayment(M){throw new Error("Method not implemented")}offlinePayment(M){throw new Error("Method not implemented.")}getAvailableServices(M){const N=`https://commerce.ww-api.com/commerceapi/v1.4/front/payment/${this.settings.getIdWebzine()}/availableServices/`,W=(new n.WM).append("JWT-Uuid",E.FAKE_UUID).append("JWT",M);return this.http.get(N,{headers:W})}getAuthToken(){const B=`https://commerce.ww-api.com/commerceapi/v1.4/front/auth/${this.settings.getIdWebzine()}/recognize/`,N=(new n.WM).append("JWT-Uuid",E.FAKE_UUID);return this.http.get(B,{headers:N})}}return E.FAKE_UUID="12345",E})();var v=r(84556),_=r(97478),m=r(47265);let b=(()=>{var u;class E{constructor(M,B,N){this.http=M,this.settings=B,this.linksBuilder=N,this.setBaseUrl()}getStatus(M){const B=this.baseUrl+E.STATUS.replace(":ORDER",M);return this.get(B,!0)}getPaymentServices(){return this.get(this.baseUrl+E.AVAILABLE_SERVICES,!0).pipe((0,v.X)(1))}createPaypalTransaction(M,B){const N=this.baseUrl+E.PAYPAL_CREATETRANSACTION.replace(":ORDER",String(M));return this.post(N,{return_url:B},!0)}capturePaypalTransaction(M,B,N){const W=this.baseUrl+E.PAYPAL_CAPTURETRANSACTION.replace(":ORDER",String(M)).replace(":TRANSACTION",String(B));return this.patch(W,{payer_id:N})}startCBPaymentProcess(M,B,N){const W=this.baseUrl+E.CREDIT_CARD_PAYMENT.replace(":ORDER",String(M)),A=this.linksBuilder.getCommerceCheckoutReturnUrl("stripe",M);return this.post(W,{save_source:1,user_id:B,return_url:A,payment_label:N},!0).pipe((0,_.U)(U=>U.data))}startPaymentElementPaymentProcess(M,B){const N=this.baseUrl+E.CREDIT_CARD_PAYMENT.replace(":ORDER",String(M)),W=this.linksBuilder.getCommerceCheckoutReturnUrl("stripe_elements",M);return this.post(N,{user_id:B,return_url:W,payment_label:"stripe_elements"},!0).pipe((0,_.U)(X=>X.data))}startNoCBPaymentProcess(M,B,N){const W=this.baseUrl+E.NO_CB_PAYMENT.replace(":ORDER",String(M));return this.post(W,{payment_label:B,user_id:N,save_source:1},!0).pipe((0,_.U)(X=>X.data))}sandboxPay(M){const B=this.baseUrl+E.SANDBOX_PAY.replace(":ORDER",String(M));return this.post(B,{})}createMercadoPayment(M,B){const N=this.baseUrl+E.MERCADO_CREATEPAYMENT.replace(":ORDER",String(M));return this.post(N,{return_url:B},!0)}executeMercadoPayment(M){const B=this.baseUrl+E.MERCADO_EXECUTEPAYMENT.replace(":ORDER",String(M.orderId));return this.post(B,{collection_id:M.collectionId,collection_status:M.collectionStatus,external_reference:M.orderId,payment_id:M.paymentId,payment_method_id:M.paymentMethodId,payment_status:M.paymentStatus,payment_type:M.paymentType,preference_id:M.preferenceId},!0)}offlinePayment(M){const B=this.baseUrl+E.OFFLINE_PAY.replace(":ORDER",String(M));return this.post(B,{})}post(M,B,N=!0){let W=new n.WM;return W=W.append("Content-Type","application/json"),this.request("post",M,B,N,W)}patch(M,B){let N=new n.WM;return N=N.append("Content-Type","application/json"),this.request("patch",M,B,!0,N)}get(M,B){return this.request("get",M,null,B)}request(M,B,N,W,A=new n.WM){let X;return W&&(X=(new n.qT).set(m.GU,!0)),this.http.request(M,B,{body:N,headers:A,context:X})}setBaseUrl(){this.baseUrl=E.BASE_URL.replace(":WEBZINE",String(this.settings.getIdWebzine()))}}return(u=E).BASE_URL="https://commerce.ww-api.com/commerceapi/v1.4/front/payment/:WEBZINE/",u.AVAILABLE_SERVICES="availableServices/",u.CREDIT_CARD_PAYMENT="order/:ORDER/automatic/pay/",u.NO_CB_PAYMENT="order/:ORDER/sca/no_cb/pay/",u.STATUS="order/:ORDER/cb/getPaymentStatus/",u.PAYPAL_CAPTURETRANSACTION="order/:ORDER/paypal/v2/transaction/:TRANSACTION/",u.PAYPAL_CREATETRANSACTION="order/:ORDER/paypal/v2/transaction/",u.SANDBOX_PAY="order/:ORDER/sandbox/pay/",u.MERCADO_EXECUTEPAYMENT="order/:ORDER/mercado/executePayment/",u.MERCADO_CREATEPAYMENT="order/:ORDER/mercado/createPayment/",u.OFFLINE_PAY="order/:ORDER/offline/pay/",E})();var D=r(77533);let a=(()=>{var u;class E{}return(u=E).\u0275fac=function(M){return new(M||u)},u.\u0275prov=D.Yz7({token:u,factory:function(M){let B=null;return B=M?new M:function p(u,E,T,M){return u.mockData?new h(E,T):new b(E,T,M)}(D.LFG(s.TUd),D.LFG(n.eN),D.LFG(s.pzk),D.LFG(s.Buc)),B},providedIn:"root"}),E})()},63737:(_e,R,r)=>{"use strict";r.d(R,{$c:()=>B,AI:()=>$e,B5:()=>tt,C5:()=>J,CE:()=>_,CG:()=>se,Cp:()=>ge,DK:()=>ct,EA:()=>D,H7:()=>lt,HY:()=>le,IT:()=>me,J0:()=>X,Jc:()=>St,K4:()=>st,MH:()=>ft,MK:()=>Me,N1:()=>O,Nv:()=>a,Ou:()=>F,Pi:()=>Q,Pp:()=>h,Pt:()=>We,Qy:()=>P,U6:()=>T,W$:()=>vt,XQ:()=>k,_N:()=>v,_e:()=>U,a7:()=>p,cA:()=>V,cf:()=>w,d8:()=>I,dN:()=>E,f1:()=>W,iK:()=>qe,iX:()=>M,jy:()=>ut,kw:()=>gt,lU:()=>At,lZ:()=>c,nR:()=>Pt,oj:()=>y,ps:()=>Fe,qe:()=>we,qg:()=>te,qm:()=>pe,qn:()=>b,qv:()=>ne,rS:()=>Ye,s5:()=>u,sP:()=>Te,sT:()=>m,tm:()=>ae,ul:()=>A,v7:()=>ee,wp:()=>Wt,y$:()=>s,yk:()=>Je});var n=r(31907);const s=(0,n.PH)("[COMMERCE PROFILE] Add Address",(0,n.Ky)()),c=(0,n.PH)("[AUTH API] Add Address Success",(0,n.Ky)()),h=(0,n.PH)("[COMMERCE PROFILE] Add Address Form Error",(0,n.Ky)()),v=(0,n.PH)("[COMMERCE PROFILE] Delete Address",(0,n.Ky)()),_=(0,n.PH)("[COMMERCE PROFILE] Select Shipping Address",(0,n.Ky)()),m=(0,n.PH)("[COMMERCE PROFILE] Open Address Form"),b=(0,n.PH)("[COMMERCE PROFILE] Close Address Form"),p=(0,n.PH)("[COMMERCE PROFILE] Load Cards"),D=(0,n.PH)("[AUTH API] Load Cards Success"),a=(0,n.PH)("[AUTH API] Load Cards Fail"),u=(0,n.PH)("[COMMERCE PROFILE] Reset Button Status"),E=(0,n.PH)("[COMMERCE PROFILE] Setup Future Payment",(0,n.Ky)()),T=(0,n.PH)("[COMMERCE PROFILE] Setup Future Payment Did Success",(0,n.Ky)()),M=(0,n.PH)("[COMMERCE PROFILE] Setup Future Payment Did Fail",(0,n.Ky)()),B=(0,n.PH)("[AUTH API] Create Setup Intent Did Fail",(0,n.Ky)()),W=((0,n.PH)("[COMMERCE PROFILE] Add Card Form Error",(0,n.Ky)()),(0,n.PH)("[COMMERCE PROFILE] Delete Card",(0,n.Ky)())),A=(0,n.PH)("[AUTH API] Delete Card Success"),X=(0,n.PH)("[AUTH API] Delete Card Fail"),U=(0,n.PH)("[COMMERCE PROFILE] Select Card",(0,n.Ky)()),O=(0,n.PH)("[COMMERCE PROFILE] Set Card Network",(0,n.Ky)()),k=(0,n.PH)("[AUTH API] Set Card Network Did Success"),I=(0,n.PH)("[AUTH API] Set Card Network Did Fail"),F=(0,n.PH)("[AUTH API] Select Card Auto",(0,n.Ky)()),P=(0,n.PH)("[AUTH API] Select Card Success",(0,n.Ky)()),J=((0,n.PH)("[COMMERCE PROFILE] Open Card Form"),(0,n.PH)("[COMMERCE PROFILE] Close Card Form"),(0,n.PH)("[COMMERCE PROFILE] Save Informations",(0,n.Ky)())),V=(0,n.PH)("[AUTH API] Save Informations Success",(0,n.Ky)()),le=(0,n.PH)("[AUTH API] Save Informations Fail",(0,n.Ky)()),ge=(0,n.PH)("[COMMERCE PROFILE] Change Password",(0,n.Ky)()),te=(0,n.PH)("[AUTH API] Change Password Success"),We=(0,n.PH)("[AUTH API] Change Password Fail",(0,n.Ky)()),Te=(0,n.PH)("[COMMERCE PROFILE] Load Orders"),ee=(0,n.PH)("[CHECKOUT API] Load Orders Success"),Q=(0,n.PH)("[CHECKOUT API] Load Orders Fail"),me=(0,n.PH)("[COMMERCE PROFILE] Load Order"),pe=(0,n.PH)("[CHECKOUT API] Load Order Fail"),se=(0,n.PH)("[COMMERCE PROFILE] Commerce Profile Error"),Me=(0,n.PH)("[COMMERCE PROFILE] Set Active Link",(0,n.Ky)()),ct=(0,n.PH)("[COMMERCE PROFILE PREVIEW] Show Empty Screen"),vt=(0,n.PH)("[COMMERCE PROFILE PREVIEW] Hide Empty Screen"),Pt=(0,n.PH)("[COMMERCE PROFILE] Load More"),lt=(0,n.PH)("[COMMERCE PROFILE] Load More Ended"),tt=(0,n.PH)("[COMMERCE PROFILE] Set Load More Url",(0,n.Ky)()),ut=(0,n.PH)("[COMMERCE PROFILE] Get Customer"),ne=(0,n.PH)("[AUTH API] Get Customer Did Success"),y=(0,n.PH)("[AUTH API] Get Customer Did Fail"),ae=(0,n.PH)("[COMMERCE PROFILE] Delete Account"),w=(0,n.PH)("[COMMERCE AUTH API] Delete Account Did Success"),Fe=(0,n.PH)("[COMMERCE AUTH API] Delete Account Did Fail"),Je=(0,n.PH)("[COMMERCE AUTH API] Get Loyalty Program Count"),St=(0,n.PH)("[COMMERCE AUTH API] Get Loyalty Program Count Did Success",(0,n.Ky)()),gt=(0,n.PH)("[COMMERCE AUTH API] Get Loyalty Program Count Did Fail",(0,n.Ky)()),Wt=(0,n.PH)("[COMMERCE PROFILE] Get Loyalty Program"),ft=(0,n.PH)("[COMMERCE LOYALTY API] Get Program Did Success",(0,n.Ky)()),st=((0,n.PH)("[COMMERCE LOYALTY API] Get Program Did Fail",(0,n.Ky)()),(0,n.PH)("[COMMERCE PROFILE] Get Rewards")),we=(0,n.PH)("[COMMERCE LOYALTY API] Get Rewards Did Success"),$e=(0,n.PH)("[COMMERCE LOYALTY API] Get Rewards Did Fail",(0,n.Ky)()),Ye=(0,n.PH)("[COMMERCE PROFILE] Get Reward"),At=(0,n.PH)("[COMMERCE LOYALTY API] Get Reward Did Fail"),qe=(0,n.PH)("[COMMERCE PROFILE] Load More Rewards")},6966:(_e,R,r)=>{"use strict";r.d(R,{yn:()=>D,Z7:()=>U,Hp:()=>$,xF:()=>u,vm:()=>P,jy:()=>p,CK:()=>k,Vc:()=>a,iu:()=>V,YC:()=>J,xR:()=>te,wp:()=>ge,AU:()=>T,rl:()=>Te,xN:()=>A,sB:()=>H,yR:()=>M,wW:()=>B,BV:()=>W,DU:()=>N,M4:()=>ee,IJ:()=>X,KB:()=>O,WG:()=>b,qW:()=>F,I6:()=>pe});var n=r(31907),s=r(63737),h=r(78342),v=r(24681),_=r(74137);const m=(0,n.P1)(_.y0,se=>se.profile),b=(0,n.P1)(h.n5,_.Rf,(se,Me)=>Me[se]),p=(0,n.P1)(b,_.OL,(se,Me)=>se?Me[se.customer]:null),D=(0,n.P1)(m,se=>se.activeLink),a=(0,n.P1)(m,se=>se.loading),u=(0,n.P1)(m,se=>se.cardActionLoading),E=(0,n.P1)(m,se=>se.displayEmptyScreensForPreview),T=(0,n.P1)(_.AU,_.eZ,E,(se,Me,ct)=>Me.map(vt=>se[vt]).filter(vt=>"ONGOING"!==vt.status&&!ct).sort(Q)),M=(0,n.P1)(v.x3,se=>se),B=(0,n.P1)(M,_.AU,(se,Me)=>Me[se]),N=(0,n.P1)(B,_.qy,(se,Me)=>se&&Me[se.shipping_method.id]||null),W=(0,n.P1)(B,se=>se&&se.order_num||null),A=(0,n.P1)(p,_.Sw,(se,Me)=>se&&se.default_billing_address&&Me.indexOf(se.default_billing_address.toString())>-1?se.default_billing_address:null),X=(0,n.P1)(p,_.Sw,(se,Me)=>se&&se.default_shipping_address&&Me.indexOf(se.default_shipping_address.toString())>-1?se.default_shipping_address:null),U=(0,n.P1)(_.ZK,_.Sw,E,A,(se,Me,ct,vt)=>Me.filter(()=>!ct).map(Pt=>se[Pt]).filter(Pt=>!Pt.is_shipping).sort((Pt,lt)=>vt&&Pt.id===vt?-1:1)),O=(0,n.P1)(_.ZK,_.Sw,E,X,(se,Me,ct,vt)=>Me.filter(()=>!ct).map(Pt=>se[Pt]).filter(Pt=>Pt.is_shipping).sort((Pt,lt)=>vt&&Pt.id===vt?-1:1)),k=(0,n.P1)(m,se=>se.formErrors),I=(0,n.P1)(p,se=>se&&se.phone||""),F=(0,n.P1)(I,se=>!se),P=(0,n.P1)(_.vm,_.AS,E,(se,Me,ct)=>Me.filter(()=>!ct).map(vt=>se[vt])),H=(0,n.P1)(m,se=>se.defaultSelectedId),$=(0,n.P1)(m,se=>se.buttonState),J=(0,n.P1)(m,se=>se.loadMoreUrl),V=(0,n.P1)(m,se=>se.loadMoreEnded),le=(0,n.P1)(m,se=>se.loyalty),ge=(0,n.P1)(m,se=>se.loyaltyProgram),te=(0,n.P1)(le,se=>se.points_count),Te=((0,n.P1)(le,se=>se.points_expiry_dt),(0,n.P1)(_.Ih,E,(se,Me)=>se.filter(()=>!Me))),ee=(0,n.P1)(M,_.ZX,(se,Me)=>Me[se]);function Q(se,Me){return se.id>Me.id?-1:1}const me=(0,n.Lq)({activeLink:null,cardActionLoading:!1,formError:null,formErrors:null,loading:!1,defaultSelectedId:"",buttonState:"default",displayEmptyScreensForPreview:!1,loadMoreEnded:!1,loadMoreUrl:null,loyalty:{points_count:void 0,points_expiry_dt:void 0},loyaltyProgram:void 0},(0,n.on)(s.y$,s.lZ,s.sT,s.qn,se=>({...se,formErrors:null})),(0,n.on)(s.Pp,(se,{errors:Me})=>({...se,formErrors:Me})),(0,n.on)(s.dN,se=>({...se,formErrors:null,loading:!0,buttonState:"loading"})),(0,n.on)(s.U6,se=>({...se,formErrors:null,loading:!1,buttonState:"success"})),(0,n.on)(s.$c,s.iX,se=>({...se,formError:!0,formErrors:null,loading:!1,buttonState:"error"})),(0,n.on)(s.s5,se=>({...se,formError:!1,formErrors:null,loading:!1,buttonState:"default"})),(0,n.on)(s.MK,(se,{link:Me})=>({...se,activeLink:Me})),(0,n.on)(s.sP,s.nR,s.a7,se=>({...se,loading:!0})),(0,n.on)(s.v7,s.qm,s.EA,s.Nv,se=>({...se,loading:!1})),(0,n.on)(s._e,s.f1,s.N1,se=>({...se,cardActionLoading:!0})),(0,n.on)(s.Qy,s.Ou,(se,{cardId:Me})=>({...se,cardActionLoading:!1,defaultSelectedId:Me})),(0,n.on)(s.ul,s.J0,s.CG,s.d8,s.XQ,se=>({...se,cardActionLoading:!1})),(0,n.on)(s.DK,se=>({...se,displayEmptyScreensForPreview:!0})),(0,n.on)(s.W$,se=>({...se,displayEmptyScreensForPreview:!1})),(0,n.on)(s.H7,se=>({...se,loadMoreEnded:!0,loading:!1})),(0,n.on)(s.B5,(se,{url:Me})=>({...se,loadMoreUrl:Me,loading:!1})),(0,n.on)(s.Jc,(se,{count:Me})=>({...se,loyalty:Me})),(0,n.on)(s.MH,(se,{loyaltyProgram:Me})=>({...se,loyaltyProgram:Me})));function pe(se,Me){return me(se,Me)}},96407:(_e,R,r)=>{"use strict";r.d(R,{AZ:()=>v,J:()=>_,Ms:()=>s,NN:()=>c,XY:()=>m});var n=r(99256);function s(p){if(p){const u={amex:"amex",mastercard:"mastercard",visa:"visa",cb:"cb",diners:"diners",discover:"discover",jcb:"jcb",union_pay:"unionpay",unknown:""}[b(p)];if(u)return(0,n.dW)(`assets/img/cards/svg/${u}.svg`)}return""}function c(p,D){let a;return a="ONE"===D?1:100,Math.round(p*a)}function v(p){return[...p].filter(D=>function h(p){switch(p){case"stripe":case"stripe_elements":case"sandbox":case"mercado":case"paypal":case"offline":case"one_click":return!0;default:return!1}}(D)).sort((D,a)=>"stripe"===D?-1:"sandbox"===D?1:"paypal"===D?"stripe"===a?1:-1:"mercado"===D?["stripe","paypal"].includes(a)?1:-1:"one_click"===D?["stripe","paypal","mercado"].includes(a)?1:-1:"stripe_elements"===D?["offline","sandbox"].includes(a)?-1:1:"offline"===D?"sandbox"===a?-1:1:0)}function _(p){return Array.isArray(p)?p.reduce((D,a)=>[...D,`${a.option.name.charAt(0).toUpperCase()+a.option.name.slice(1)}: ${a.label}`],[]).join(" / "):""}function m(p){return{amex:"American Express",mastercard:"Mastercard",visa:"Visa",cb:"Cartes Bancaires",diners:"Diners",discover:"Discover",jcb:"JCB",union_pay:"UnionPay",unknown:""}[b(p)]}function b(p){switch(p.toLowerCase()){case"amex":case"american_express":case"american express":return"amex";case"cartes_bancaires":return"cb";case"diners":case"diners_club":case"diners club":return"diners";case"discover":return"discover";case"jcb":return"jcb";case"union_pay":case"union pay":return"union_pay";case"visa":return"visa";case"mastercard":return"mastercard";default:return"unknown"}}},20567:(_e,R,r)=>{"use strict";r.d(R,{M3:()=>c.M3,e6:()=>v});var n=r(54716),s=r(6966),c=r(74137);const h={profile:s.I6,checkout:n.I6};function v(){return h}},74137:(_e,R,r)=>{"use strict";r.d(R,{AS:()=>O,AU:()=>k,Ih:()=>P,LZ:()=>p,M3:()=>b,OL:()=>W,PC:()=>h,Rf:()=>N,SF:()=>a,Sw:()=>X,Xp:()=>_,ZK:()=>A,ZX:()=>F,eZ:()=>I,qy:()=>M,vm:()=>U,y0:()=>c});var n=r(31907),s=r(54298);const c=(0,n.ZF)("commerce"),h=s.uc("commerce","variants"),_=s.uc("commerce","products"),b=H=>(0,n.P1)((H=>s.L7("commerce","variants",H))(H),_,($,J)=>J[$.product]),p=s.uc("commerce","medias"),a=s.uc("commerce","similars"),M=(s.uc("commerce","options"),s.uc("commerce","shippingMethods")),N=s.uc("commerce","user"),W=s.uc("commerce","customer"),A=s.uc("commerce","addresses"),X=s.s3("commerce","addresses"),U=s.uc("commerce","cards"),O=s.s3("commerce","cards"),k=s.uc("commerce","orders"),I=s.s3("commerce","orders"),F=s.uc("commerce","rewards"),P=s.Gn("commerce","rewards")},69947:(_e,R,r)=>{"use strict";r.d(R,{AW:()=>We,Sh:()=>$,L:()=>P,Ji:()=>M,U6:()=>N});var n=r(21796);const s=(0,n.IO)(":not(.no-anim):enter, :not(.no-anim):leave",(0,n.oB)({position:"{{ position }}",display:"block",top:0,left:0,width:"100vw",height:"100vh",overflow:"hidden",transform:"translate3d(0,0,0)",pointerEvents:"none",backgroundColor:"{{ backgroundColor }}",backgroundImage:"{{ backgroundImage }}"}),{optional:!0}),c=[s,(0,n.ru)([(0,n.IO)(":not(.no-anim):enter",[(0,n.oB)({transform:"translate3d(100%, 0, 0)",zIndex:"{{ zIndex }}"}),(0,n.jt)("{{ duration }} {{ enter_delay }} {{ enter_easing }}",(0,n.oB)({transform:"translate3d(0, 0, 0)"}))],{optional:!0}),(0,n.IO)(":not(.no-anim):leave",(0,n.jt)("{{ duration }} {{ leave_delay }} {{ leave_easing }}",(0,n.oB)({transform:"translate3d({{ leave_factor }}, 0, 0)"})),{optional:!0})])],v=(0,n.oQ)(c,{params:{position:"fixed",zIndex:1050,duration:"300ms",enter_delay:"0ms",enter_easing:"ease-out",leave_delay:"10ms",leave_easing:"ease-in",leave_factor:"-30%",backgroundColor:"",backgroundImage:""}}),m=(0,n.oQ)(c,{params:{position:"fixed",zIndex:1050,duration:"300ms",enter_delay:"0ms",enter_easing:"linear",leave_delay:"0ms",leave_easing:"linear",leave_factor:"-100%",backgroundColor:"",backgroundImage:""}}),b=[s,(0,n.ru)([(0,n.IO)(":not(.no-anim):leave",[(0,n.oB)({zIndex:"{{ zIndex }}"}),(0,n.jt)("{{ duration }} {{ leave_delay }} {{ leave_easing }}",(0,n.oB)({transform:"translate3d(100%, 0, 0)"}))],{optional:!0}),(0,n.IO)(":not(.no-anim):enter",[(0,n.oB)({transform:"translate3d({{ enter_factor }}, 0, 0)"}),(0,n.jt)("{{ duration }} {{ enter_delay }} {{ enter_easing }}",(0,n.oB)({transform:"translate3d(0, 0, 0)"}))],{optional:!0})])],D=(0,n.oQ)(b,{params:{position:"fixed",zIndex:1050,duration:"300ms",enter_delay:"10ms",enter_easing:"ease-out",leave_delay:"0ms",leave_easing:"ease-in",enter_factor:"-30%",backgroundColor:"",backgroundImage:""}}),u=(0,n.oQ)(b,{params:{position:"fixed",zIndex:1050,duration:"300ms",enter_delay:"0ms",enter_easing:"linear",leave_delay:"0ms",leave_easing:"linear",enter_factor:"-100%",backgroundColor:"",backgroundImage:""}}),E=[(0,n.oB)({opacity:"{{ from }}",pointerEvents:"none",display:"block",position:"absolute",zIndex:1050,top:0,right:0,bottom:0,left:0}),(0,n.jt)("{{ duration }} {{ easing }}",(0,n.oB)({opacity:"{{ to }}"}))],M=(0,n.oQ)(E,{params:{from:0,to:1,duration:"300ms",easing:"ease-out"}}),N=(0,n.oQ)(E,{params:{from:1,to:0,duration:"250ms",easing:"ease-in-out"}}),W=[(0,n.ru)([(0,n.IO)(":enter:not(.no-anim)",[(0,n.oB)({position:"fixed",zIndex:"{{ zIndex }}",overflowY:"hidden",top:"80%",left:0,width:"100vw",height:"100vh",backgroundColor:"{{ backgroundColor }}",backgroundImage:"{{ backgroundImage }}",pointerEvents:"none"}),(0,n.jt)("{{ duration }} {{ enter_delay }} {{ enter_easing }}",(0,n.oB)({top:0}))],{optional:!0}),(0,n.IO)(":leave:not(.no-anim)",[(0,n.oB)({position:"absolute",top:0,left:0,width:"100vw",height:"100vh",overflowX:"hidden",pointerEvents:"none"})],{optional:!0})])],A=[(0,n.IO)(":leave:not(.no-anim)",[(0,n.oB)({position:"fixed",transform:"translate3d(0, 0, 0)",zIndex:"{{ zIndex }}",overflowY:"hidden",top:0,left:0,width:"100vw",height:"100vh",backgroundColor:"{{ backgroundColor }}",backgroundImage:"{{ backgroundImage }}",pointerEvents:"none"}),(0,n.jt)("{{ duration }} {{ enter_delay }} {{ enter_easing }}",(0,n.oB)({transform:"translate3d(0, 100%, 0)"}))],{optional:!0}),(0,n.IO)(":enter:not(.no-anim)",[(0,n.oB)({position:"absolute",top:0,left:0,height:"100vh",width:"100vw",maxWidth:"100vw",overflowX:"hidden",pointerEvents:"none"})],{optional:!0})],X=[(0,n.IO)(":leave:not(.no-anim)",[(0,n.oB)({position:"fixed",transform:"*",zIndex:"{{ zIndex }}",overflowY:"hidden",bottom:0,left:0,width:"100vw",height:"100vh",backgroundColor:"{{ backgroundColor }}",backgroundImage:"{{ backgroundImage }}",pointerEvents:"none"}),(0,n.jt)("{{ duration }} {{ enter_delay }} {{ enter_easing }}",(0,n.oB)({transform:"translate3d(0, -100%, 0)"}))],{optional:!0}),(0,n.IO)(":enter:not(.no-anim)",[(0,n.oB)({position:"absolute",top:0,left:0,height:"100vh",width:"100vw",maxWidth:"100vw",overflowX:"hidden",pointerEvents:"none"})],{optional:!0})],U={params:{position:"absolute",duration:"300ms",zIndex:1050,enter_delay:"0ms",enter_easing:"cubic-bezier(0, 0.25, 0.25, 1)"}},O={params:{...U.params,duration:"600ms"}},k=(0,n.oQ)(W,U),I=(0,n.oQ)(A,O),F=(0,n.oQ)(X,O),P=(0,n.X$)("appRouteAnimation",[(0,n.eR)("* => forwardtablet, * => forwardmobile",(0,n._7)(v)),(0,n.eR)("* => forwarduptablet, * => forwardupmobile",(0,n._7)(k)),(0,n.eR)("* => backwardtablet, * => backwardmobile",(0,n._7)(D)),(0,n.eR)("* => backwardupmobile, * => backwarduptablet",(0,n._7)(F)),(0,n.eR)("* => backwarddownmobile, * => backwarddowntablet",(0,n._7)(I)),(0,n.eR)("* => flatprevtablet, * => flatprevmobile",(0,n._7)(u)),(0,n.eR)("* => flatnexttablet, * => flatnextmobile",(0,n._7)(m)),(0,n.eR)("* => flatzeromobile, * => flatzerotablet",[(0,n.IO)(":not(.no-anim):leave",(0,n._7)(N),{optional:!0})]),(0,n.eR)("* => loginmobile, * => logintablet, * => logindesktop",[(0,n.IO)(":leave",(0,n._7)(N),{optional:!0})]),(0,n.eR)((Te,ee)=>/^none/.test(ee),[]),(0,n.eR)("* => *",(0,n.IO)("@*",(0,n.pV)(),{optional:!0}))]);var H=r(77533);let $=(()=>{var Te;class ee{constructor(){this.detachedHandle=new Map}shouldDetach(me){const pe=this.getSnapshotDataProperty(me,"routerShouldDetach");return"function"==typeof pe?pe.call(this,me):pe}store(me,pe){me.routeConfig&&this.detachedHandle.set(this.getSnapshotId(me),pe)}shouldAttach(me){return this.detachedHandle.has(this.getSnapshotId(me))}retrieve(me){return this.detachedHandle.get(this.getSnapshotId(me))||null}shouldReuseRoute(me,pe){if(me.routeConfig===pe.routeConfig){const se=this.getSnapshotId(me)===this.getSnapshotId(pe);if(this.getSnapshotDataProperty(me,"section",null)===this.getSnapshotDataProperty(pe,"section",null)){const Me=this.getSnapshotDataProperty(pe,"routerShouldReuse",se,!0);return"function"==typeof Me?Me.call(this,pe,me):Me}}return!1}getSnapshotDataProperty(me,pe,se=!1,Me=!1){return!1===Me?me.data[pe]||se:me.routeConfig&&!me.routeConfig.loadChildren||!me.firstChild?this.getSnapshotDataProperty(me,pe,se):this.getSnapshotDataProperty(me.firstChild,pe,se,!0)}getSnapshotId(me){const pe=vt=>vt.map(Pt=>Pt.toString()||"*").join("/"),se=me.pathFromRoot.map(vt=>pe(vt.url)).join("/"),Me=[];let ct=me;for(;ct.firstChild;)ct=ct.firstChild,Me.push(pe(ct.url));return se+"~"+Me.join("/")}}return(Te=ee).\u0275fac=function(me){return new(me||Te)},Te.\u0275prov=H.Yz7({token:Te,factory:Te.\u0275fac}),ee})();var J=r(3050),V=r(21205),le=r(9793),ge=r(80697);const te={from:null,to:null,type:"none",direction:null,animInProgress:!1,scrollTop:0};let We=(()=>{var Te;class ee{get isFlat(){return"flat"===this.store.type}get isFromLogin(){return"/login"===this.store.from}get isFromDisabled(){return"disabled"===this.store.from}get isBack(){return"backward"===this.store.type}get isInProgress(){return this.store.animInProgress}get type(){return this.routeAnimationEnable?this.store.type:`__${this.store.type}`}get routeAnimationIsEnabled(){return this.routeAnimationEnable}constructor(me,pe,se,Me){this.platform=me,this.logger=pe,this.scroll=se,this.settingsManager=Me,this.params={},this.store=te,this.routeAnimationEnable=!1}animForward(me){this.store.to=me,this.store.type="forward",this.store.scrollTop=0}animBackward(me=0,pe=null){this.store.type="backward",this.store.direction=pe,this.store.scrollTop=me}animLoginEnter(){this.store.to="/login",this.store.type="login"}animFlatNext(){this.setFlatAnimation("next")}animFlatPrev(){this.setFlatAnimation("prev")}animFlat(){this.setFlatAnimation("zero")}disableComingAnimation(){this.store.from="disabled"}storeTransitionBackground(me){this.addAnimationParams(me)}addAnimationParams(me){this.params={...this.params,...me}}routerSubscription(me){const pe=me.url;if("/login"===pe)this.animLoginEnter();else if(this.isFromDisabled||this.store.animInProgress)this.goWithoutAnimation(pe);else if(this.isBack)this.store.to=pe;else if(this.isFlat)this.store.to=pe;else{const{node:se=le.Jq.None}=me.data;if(se===le.Jq.Detail){const vt=this.settingsManager.getSectionsDetailOpeningAnimation(me.data.section);this.setDirectionWithOpeningAnimationType(vt)}this.animForward(pe)}this.setAnimationState()}setAnimationState(){const pe=`${this.type}${this.store.direction?this.store.direction:""}${this.platform.deviceType}`;this.store.animInProgress=this.state!==pe,this.state=pe}onAnimationDone(me){this.logger.info("router animation done");const pe=this.store.scrollTop;/backward/.test(me.fromState)&&pe>0&&(this.scroll.scrollTop=pe),this.store.animInProgress=!1,null!==this.store.to&&(this.store.from=this.store.to,this.store.to=null),this.store.direction=null,this.store.type="none",this.setAnimationState()}onAnimationStart(me){this.routeAnimationEnable&&this.store.animInProgress&&(this.scroll.scrollTop=this.store.scrollTop)}setDirectionWithOpeningAnimationType(me){let pe=null;"cover"===me&&(pe="up"),this.store.direction=pe}setAnimationDirection(me){this.store.direction=me}setFlatAnimation(me){this.store.direction=me,this.store.type="flat",this.store.scrollTop=0}goWithoutAnimation(me){this.store.type="none",this.store.from=me}}return(Te=ee).\u0275fac=function(me){return new(me||Te)(H.LFG(J.m),H.LFG(ge.Y),H.LFG(V.a),H.LFG(le.pz))},Te.\u0275prov=H.Yz7({token:Te,factory:Te.\u0275fac,providedIn:"root"}),ee})()},54405:(_e,R,r)=>{"use strict";r.d(R,{Ny:()=>b,lQ:()=>X,r7:()=>B,ev:()=>m,oV:()=>A});var n=r(93634),s=r(54505),c=r(97478),h=r(57993),v=r(29838),_=r(69897);class m{}let b=(()=>{class O{constructor(I,F,P){this.http=I,this.settings=F,this.stats=P,this.baseUrl=O.BASEURL}getCardsList(I){const F=this.settings.getIdWebzine();return this.get(`${this.baseUrl}/${F}/user/${I}/sca/cardsList/`).pipe((0,c.U)(H=>{const $=H.data.default_source||null;return{defaultCardId:$&&H.data.cards.some(V=>V.id===$)?$:null,normalizedCards:(0,h.t9)(H.data.cards)}}))}selectDefaultCard(I,F){const P=this.settings.getIdWebzine();return this.post(`${this.baseUrl}/${P}/user/${I}/sca/setDefaultCard/`,{card_id:F},!0).pipe((0,c.U)(J=>J.invoice_settings.default_payment_method))}deleteCard(I,F){const P=this.settings.getIdWebzine();return this.delete(`${this.baseUrl}/${P}/user/${I}/sca/deleteCard/${F}`)}addAddress(I,F){const P=this.settings.getIdWebzine(),$={...F};return this.post(`${this.baseUrl}/${P}/user/${I}/address/`,$,!0).pipe((0,c.U)(J=>(0,v.f0)(J)))}deleteAddress(I,F){const P=this.settings.getIdWebzine();return this.delete(`${this.baseUrl}/${P}/user/${I}/address/${F.id}/`,!0)}selectShippingAddress(I,F){const P=this.settings.getIdWebzine();return this.patch(`${this.baseUrl}/${P}/user/${I}/customer`,{default_shipping_address:F}).pipe((0,c.U)(J=>(0,v.cn)(J)))}selectBillingAddress(I,F){const P=this.settings.getIdWebzine();return this.patch(`${this.baseUrl}/${P}/user/${I}/customer`,{default_billing_address:F}).pipe((0,c.U)(J=>(0,v.cn)(J)))}getCustomer(I){const F=this.settings.getIdWebzine();return this.get(`${this.baseUrl}/${F}/user/${I}/customer`).pipe((0,c.U)(v.cn))}getUser(I){const F=this.settings.getIdWebzine();return this.get(`${this.baseUrl}/${F}/user/${I}/`)}login(I,F){const P=this.settings.getIdWebzine();return this.post(`${this.baseUrl}/${P}/user/login`,{email:I,password:F})}loginAnonymous(){const F=`https://commerce.ww-api.com/commerceapi/v1.4/front/auth/${this.settings.getIdWebzine()}/recognize/`,P=this.stats.udid,H=(new n.WM).append("JWT-Uuid",P);return this.http.get(F,{headers:H})}register(I,F,P){const H=this.settings.getIdWebzine(),$=`${this.baseUrl}/${H}/user/customer/register`,J={email:I,password:F};return P&&(P.firstName&&(J.first_name=P.firstName),P.lastName&&(J.last_name=P.lastName),P.phone&&(J.phone=P.phone),P.billing&&(J.billing_address=P.billing),P.shipping&&(J.shipping_address=P.shipping),P.company&&(J.company=P.company),P.vatNumber&&(J.vat_number=P.vatNumber),P.acceptTerms&&(J.accept_terms=P.acceptTerms)),this.post($,J)}refreshToken(I){const F=this.settings.getIdWebzine(),P=`${this.baseUrl}/${F}/user/refresh`;let H={email:"",token:""};if(I)try{H={email:I.email,token:I.token}}catch{H={email:"",token:""}}return this.post(P,H)}saveInformations(I,F){const P=this.settings.getIdWebzine(),$={...F};return this.patch(`${this.baseUrl}/${P}/user/${I}/`,$).pipe((0,c.U)(J=>(0,v.Bx)(J)))}changePassword(I,F,P){const H=this.settings.getIdWebzine();return this.post(`${this.baseUrl}/${H}/user/${I}/pwdchange`,{oldpwd:F,newpwd:P},!0)}resetPassword(I){const P=`https://commerce.ww-api.com/commerceapi/v1.4/mail/${this.settings.getIdWebzine()}/mail/pwdreset/`;return this.post(P,{email:I})}setNewPassword(I,F,P){const H=this.settings.getIdWebzine(),$=`${this.baseUrl}/${H}/user/${F}/pwdreset`,J={newpwd:I};let V=new n.WM;return V=V.append("Content-Type","application/json"),V=V.append("JWT",P),V=V.append("JWT-User-Id",String(F)),this.http.post($,JSON.stringify(J),{headers:V})}userCommunicationCreate(I){const F=this.settings.getIdWebzine(),P=`${this.baseUrl}/${F}/user/${I}/communication/`,H={comtype:this.stats.completePushPlatform.toUpperCase(),value:this.stats.pushToken};return this.post(P,H,!0)}userCommunicationDelete(I){const F=this.settings.getIdWebzine();if(this.stats.pushToken){const P=`${this.baseUrl}/${F}/user/${I}/communication/`,H={comtype:this.stats.completePushPlatform.toUpperCase(),value:this.stats.pushToken};return this.delete(P,H)}return(0,s._)(()=>new Error("UserCommunicationError::NoPushTokenToDelete"))}resetCustomerDefaultAddresses(I){const F=this.settings.getIdWebzine(),P=`${this.baseUrl}/${F}/user/${String(I)}/customer`;return this.patch(P,{default_shipping_address:null,default_billing_address:null}).pipe((0,c.U)($=>(0,v.cn)($)))}createSetupIntent(I){const F=this.settings.getIdWebzine();return this.post(`${this.baseUrl}/${F}/user/${I}/cb/setup_intent/`,null,!0)}deleteUser(I){const F=this.settings.getIdWebzine();return this.delete(`${this.baseUrl}/${F}/user/${I}/`)}getLoyaltyProgramCount(I){const F=this.settings.getIdWebzine();return this.get(`${this.baseUrl}/front/loyalty/${F}/user/${I}/`)}updateNetwork(I,F,P){const H=this.settings.getIdWebzine();return this.post(`${this.baseUrl}/${H}/user/${I}/sca/updateNetwork/`,{payment_method_id:F,preferred_network:P},!0).pipe((0,c.U)(V=>({defaultCardId:void 0,normalizedCards:(0,h.t9)(V.data.cards)})))}get(I){const F=new n.WM({"Content-Type":"application/json"});return this.request("get",I,null,!0,F)}post(I,F,P=!1){let H=new n.WM;return H=H.append("Content-Type","application/json"),this.request("post",I,F,P,H)}patch(I,F){let P=new n.WM;return P=P.append("Content-Type","application/json"),this.request("patch",I,F,!0,P)}delete(I,F={}){let P=new n.WM;return P=P.append("Content-Type","application/json"),this.request("delete",I,F,!0,P)}request(I,F,P,H,$=new n.WM){let J;return H&&(J=(new n.qT).set(_.G,!0)),this.http.request(I,F,{body:JSON.stringify(P),headers:$,context:J})}}return O.BASEURL="https://userv2.ww-api.com/userapi/v2",O})();var p=r(12494);const D=U=>({id:1,email:U.getString("GBCOMMERCE_PREVIEW_USER_EMAIL"),custom:null,picture:null,social_user:null,customer:{id:1,first_name:U.getString("GBCOMMERCE_PREVIEW_USER_FIRST_NAME"),last_name:U.getString("GBCOMMERCE_PREVIEW_USER_LAST_NAME"),email:U.getString("GBCOMMERCE_PREVIEW_USER_EMAIL"),phone:"0123456789",bday:"1985-05-05",shipping_address:[{city:"New york",company:"",country:"US",extra:"",first_name:U.getString("GBCOMMERCE_PREVIEW_USER_FIRST_NAME"),id:1,is_shipping:!0,last_name:U.getString("GBCOMMERCE_PREVIEW_USER_LAST_NAME"),localized_address:U.getString("GBCOMMERCE_PREVIEW_USER_ADDRESS"),middle_name:"",prefix:"",state:"US-NY",street:"Sletters lane",suffix:"",vat_number:"",zipcode:"10013"},{city:"New york",company:"",country:"US",extra:"",first_name:U.getString("GBCOMMERCE_PREVIEW_USER_FIRST_NAME"),id:2,is_shipping:!0,last_name:U.getString("GBCOMMERCE_PREVIEW_USER_LAST_NAME"),localized_address:U.getString("GBCOMMERCE_PREVIEW_USER_ADDRESS_2"),middle_name:"",prefix:"",state:"US-NY",street:"Feathers hooves drive",suffix:"",vat_number:"",zipcode:"10011"}],billing_address:[{city:"New york",company:"",country:"US",extra:"",first_name:U.getString("GBCOMMERCE_PREVIEW_USER_FIRST_NAME"),id:1,is_shipping:!0,last_name:U.getString("GBCOMMERCE_PREVIEW_USER_LAST_NAME"),localized_address:U.getString("GBCOMMERCE_PREVIEW_USER_ADDRESS"),middle_name:"",prefix:"",state:"US-NY",street:"Sletters lane",suffix:"",vat_number:"",zipcode:"10013"},{city:"New york",company:"",country:"US",extra:"",first_name:U.getString("GBCOMMERCE_PREVIEW_USER_FIRST_NAME"),id:2,is_shipping:!0,last_name:U.getString("GBCOMMERCE_PREVIEW_USER_LAST_NAME"),localized_address:U.getString("GBCOMMERCE_PREVIEW_USER_ADDRESS_2"),middle_name:"",prefix:"",state:"US-NY",street:"Feathers hooves drive",suffix:"",vat_number:"",zipcode:"10011"}],default_shipping_address:1,default_billing_address:1},is_active:!0});class B{constructor(O){this.languages=O}getCardsList(O){return(0,p.of)({defaultCardId:"src_1CL9AbKwToE7pIv78qGzmuGh",normalizedCards:(0,v.t9)([{amount:null,card:{address_line1_check:null,address_zip_check:null,brand:"Visa",display_brand:"visa",networks:{available:["visa"],preferred:"visa"},card_automatically_updated:!1,country:"US",cvc_check:"pass",dynamic_last4:null,exp_month:12,exp_year:2034,fingerprint:"cTz6Nhgw5WbhFuti",funding:"credit",last4:"4242",three_d_secure:"optional",tokenization_method:null},client_secret:"src_client_secret_CkeTpHIP86Uux2toGIQf4AjY",created:1524745553,currency:null,customer:"cus_Ci2sf0kKFo0Nmg",flow:"none",id:"src_1CL9AbKwToE7pIv78qGzmuGh",livemode:!1,metadata:{},object:"source",owner:{address:null,email:null,name:"123",phone:null,verified_address:null,verified_email:null,verified_name:null,verified_phone:null},statement_descriptor:null,status:"chargeable",type:"card",usage:"reusable"},{amount:null,card:{address_line1_check:null,address_zip_check:null,brand:"Visa",display_brand:"visa",networks:{available:["visa"],preferred:"visa"},card_automatically_updated:!1,country:"US",cvc_check:"pass",dynamic_last4:null,exp_month:12,exp_year:2034,fingerprint:"cTz6Nhgw5WbhFuti",funding:"credit",last4:"4242",three_d_secure:"optional",tokenization_method:null},client_secret:"src_client_secret_CkbwAK9NkDO2DJ3oKS8ztQjz",created:1524736122,currency:null,customer:"cus_Ci2sf0kKFo0Nmg",flow:"none",id:"src_1CL6iUKwToE7pIv7fddFMV1Z",livemode:!1,metadata:{},object:"source",owner:{address:null,email:null,name:"Test",phone:null,verified_address:null,verified_email:null,verified_name:null,verified_phone:null},statement_descriptor:null,status:"chargeable",type:"card",usage:"reusable"}])})}selectDefaultCard(O,k){return this.throwUnsupportedError()}deleteCard(O,k){return this.throwUnsupportedError()}updateNetwork(O,k,I){return this.throwUnsupportedError()}addAddress(O,k){return this.throwUnsupportedError()}deleteAddress(O,k){return this.throwUnsupportedError()}selectShippingAddress(O,k){return(0,p.of)((0,v.cn)(((U,O)=>{const k=D(this.languages);return{...k,customer:{...k.customer,default_shipping_address:O}}})(0,k)))}selectBillingAddress(O,k){return(0,p.of)((0,v.cn)(((U,O)=>{const k=D(this.languages);return{...k,customer:{...k.customer,default_billing_address:O}}})(0,k)))}getCustomer(O){return this.throwUnsupportedError()}getUser(O){return(0,p.of)(D(this.languages))}login(O,k){const I={...D(this.languages),token:"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZCI6MSwiZXhwIjo5OTk5OTk5OTk5LCJlbWFpbCI6ImpvaG5AZG9lLmNvbSIsImN1c3RvbSI6bnVsbH0.DcyE6dJTqXtfjxLARRu_21gmaIqWVKGNINf_-ZwfqfA"};return(0,p.of)(I)}loginAnonymous(){return(0,p.of)({token:"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZCI6MSwiZXhwIjo5OTk5OTk5OTk5LCJlbWFpbCI6ImpvaG5AZG9lLmNvbSIsImN1c3RvbSI6bnVsbH0.DcyE6dJTqXtfjxLARRu_21gmaIqWVKGNINf_-ZwfqfA"})}register(O,k){return this.throwUnsupportedError()}refreshToken(O){return this.throwUnsupportedError()}saveInformations(O,k){return this.throwUnsupportedError()}changePassword(O,k,I){return this.throwUnsupportedError()}resetPassword(O){return this.throwUnsupportedError()}setNewPassword(O,k,I){return this.throwUnsupportedError()}userCommunicationCreate(O){return this.throwUnsupportedError()}userCommunicationDelete(O){return this.throwUnsupportedError()}resetCustomerDefaultAddresses(O){return this.throwUnsupportedError()}createSetupIntent(O){return this.throwUnsupportedError()}deleteUser(O){return this.throwUnsupportedError()}getLoyaltyProgramCount(O){return(0,p.of)({points_count:500,points_expiry_dt:(new Date).toString()})}throwUnsupportedError(){return(0,s._)(()=>new Error("Not supported in preview"))}}var N=r(28407),W=r(41005);class A{}let X=(()=>{class O{constructor(I,F,P){this.http=I,this.settings=F,this.stats=P,this.baseUrl=O.BASEURL}getUser(I){const F=this.settings.getIdWebzine();return this.get(`${this.baseUrl}/${F}/user/${I}/`).pipe((0,c.U)(H=>(0,N.TG)(H)))}updateUser(I,F){const P=this.settings.getIdWebzine(),$={...F};return this.patch(`${this.baseUrl}/${P}/user/${I}/`,$).pipe((0,c.U)(J=>(0,N.TG)(J)))}deleteUser(I){const F=this.settings.getIdWebzine();return this.delete(`${this.baseUrl}/${F}/user/${I}/`)}uploadPicture(I,F){const P=this.settings.getIdWebzine(),H=`${this.baseUrl}/${P}/user/${I}/picture/`,$=new FormData;return $.append("picture",F),this.request("post",H,$,!0).pipe((0,c.U)(J=>(0,N.BK)(J)))}deletePicture(I){const F=this.settings.getIdWebzine();return this.delete(`${this.baseUrl}/${F}/user/${I}/picture/`)}login(I,F){const P=this.settings.getIdWebzine();return this.post(`${this.baseUrl}/${P}/user/login/`,{email:I,password:F}).pipe((0,c.U)(J=>(0,N.TG)(J)))}logout(){const I=this.settings.getIdWebzine();return this.get(`${this.baseUrl}/${I}/user/logout/`)}register(I,F){const P=this.settings.getIdWebzine();return this.post(`${this.baseUrl}/${P}/user/register/`,{email:I,password:F,accept_terms:!0}).pipe((0,c.U)(J=>(0,N.TG)(J)))}refreshToken(I,F){const P=this.settings.getIdWebzine(),H=`${this.baseUrl}/${P}/user/refresh/`;return I||(I=(0,W.T)(F).id),this.post(H,{user_id:I,refresh_token:F}).pipe((0,c.U)(J=>(0,N.TG)(J)))}resetPassword(I){const F=this.settings.getIdWebzine();return this.post(`${this.baseUrl}/${F}/mail/pwd-reset/`,{email:I})}setNewPassword(I,F,P){const H=this.settings.getIdWebzine(),$=`${this.baseUrl}/${H}/user/${F}/reset-pwd/`,J={token:P,password:I};let V=new n.WM;return V=V.append("Content-Type","application/json"),V=V.append("JWT",P),V=V.append("JWT-User-Id",String(F)),this.http.post($,JSON.stringify(J),{headers:V})}changePassword(I,F,P){const H=this.settings.getIdWebzine();return this.post(`${this.baseUrl}/${H}/user/${I}/pwdchange/`,{old_password:F,new_password:P},!0)}userCommunicationCreate(I){const F=this.settings.getIdWebzine(),P=`${this.baseUrl}/${F}/user/${I}/communication/`,H={comtype:this.stats.completePushPlatform.toUpperCase(),value:this.stats.pushToken};return this.post(P,H,!0)}userCommunicationDelete(I){const F=this.settings.getIdWebzine();if(this.stats.pushToken){const P=`${this.baseUrl}/${F}/user/${I}/communication/`,H={comtype:this.stats.completePushPlatform.toUpperCase(),value:this.stats.pushToken};return this.delete(P,H)}return(0,s._)(()=>new Error("UserCommunicationError::NoPushTokenToDelete"))}get(I){const F=new n.WM({"Content-Type":"application/json"});return this.request("get",I,null,!0,F)}post(I,F,P=!1){let H=new n.WM;return H=H.append("Content-Type","application/json"),this.request("post",I,F,P,H)}patch(I,F){let P=new n.WM;return P=P.append("Content-Type","application/json"),this.request("patch",I,F,!0,P)}delete(I,F={}){let P=new n.WM;return P=P.append("Content-Type","application/json"),this.request("delete",I,F,!0,P)}request(I,F,P,H,$=new n.WM){let J;H&&(J=(new n.qT).set(_.G,!0));const V=P instanceof FormData?P:JSON.stringify(P);return this.http.request(I,F,{body:V,headers:$,context:J})}}return O.BASEURL="https://userclassic.ww-api.com/userapi/v3/front",O})()},7086:(_e,R,r)=>{"use strict";r.d(R,{jE:()=>W,yU:()=>T,is:()=>B,ce:()=>A,GU:()=>X.G,ev:()=>N.ev,oV:()=>N.oV});var n=r(31907),s=r(12494),c=r(36305),h=r(72514),v=r(28419),_=r(97478),m=r(49804),b=r(26682),p=r(3050),D=r(32266),a=r(78342),u=r(77533),E=r(55096);let T=(()=>{var U;class O{constructor(I,F,P){this.router=I,this.store=F,this.platform=P}canActivate(I,F){return this.platform.isPreviewApp&&this.store.dispatch(D.h9.setUserId({userId:1})),this.platform.isBrowser?this.store.pipe((0,n.Ys)(a.aZ),(0,c.h)(P=>P),(0,h.M)(this.store.pipe((0,n.Ys)(a.z3)),(P,H)=>H),(0,v.w)(P=>P&&P.email?this.store.pipe((0,n.Ys)(a.n5),(0,_.U)(H=>!!H),(0,m.q)(1),(0,b.K)(()=>(0,s.of)(!1))):this.rejectAndRedirectToLogin(F.url))):this.rejectAndRedirectToLogin(F.url)}rejectAndRedirectToLogin(I){return this.store.dispatch(D.h9.setRedirectionUrl({url:I})),this.router.navigateByUrl("/login",{skipLocationChange:!0}),(0,s.of)(!1)}}return(U=O).\u0275fac=function(I){return new(I||U)(u.LFG(E.F0),u.LFG(n.yh),u.LFG(p.m))},U.\u0275prov=u.Yz7({token:U,factory:U.\u0275fac,providedIn:"root"}),O})();var M=r(57495);let B=(()=>{var U;class O{constructor(I,F,P){this.router=I,this.store=F,this.platform=P}canActivate(I,F){return this.platform.isBrowser?this.store.pipe((0,n.Ys)(a.YO),(0,c.h)(P=>P),(0,h.M)(this.store.pipe((0,n.Ys)(a.L9)),(P,H)=>H),(0,v.w)(P=>P&&P.email?this.store.pipe((0,n.Ys)(a.Ln),(0,_.U)(H=>!!H),(0,M.P)(),(0,b.K)(()=>(0,s.of)(!1))):this.rejectAndRedirectToLogin(F.url))):this.rejectAndRedirectToLogin(F.url)}rejectAndRedirectToLogin(I){return this.store.dispatch(D.iD.setRedirectionUrl({url:I})),this.router.navigateByUrl("/login",{skipLocationChange:!0}),(0,s.of)(!1)}}return(U=O).\u0275fac=function(I){return new(I||U)(u.LFG(E.F0),u.LFG(n.yh),u.LFG(p.m))},U.\u0275prov=u.Yz7({token:U,factory:U.\u0275fac,providedIn:"root"}),O})();var N=r(54405);let W=(()=>{var U;class O{constructor(I,F){this.store=I,this.platform=F,this.isLogged$=this.store.pipe((0,n.Ys)(a.iH)),this.userEmail$=this.store.pipe((0,n.Ys)(a.gV)),this.userCustomerInfo$=this.store.pipe((0,n.Ys)(a.$C)),this.userId$=this.store.pipe((0,n.Ys)(a.n5)),this.token$=this.store.pipe((0,n.Ys)(a.LP)),this.error$=this.store.pipe((0,n.Ys)(a.$D)),this.authRegisterButtonStatus$=this.store.pipe((0,n.Ys)(a.$6))}login(I,F,P=!0){this.store.dispatch(D.h9.login({email:I,password:F,redirection:P}))}register(I,F,P){this.store.dispatch(D.h9.register({email:I,password:F,username:P}))}refreshUser(){this.store.dispatch(D.h9.refreshUser())}logout(I=!0){this.platform.isPreviewApp?this.platform.previewService.notAllowedInPreview():this.store.dispatch(D.h9.logout(I))}setRedirectionUrl(I){this.store.dispatch(D.h9.setRedirectionUrl({url:I}))}resetPassword(I){this.store.dispatch(D.h9.resetPassword({email:I}))}setNewPassword(I,F,P){this.store.dispatch(D.h9.setNewPassword({password:I,token:F,userId:P}))}}return(U=O).\u0275fac=function(I){return new(I||U)(u.LFG(n.yh),u.LFG(p.m))},U.\u0275prov=u.Yz7({token:U,factory:U.\u0275fac,providedIn:"root"}),O})(),A=(()=>{var U;class O{constructor(I){this.store=I,this.initialized$=this.store.pipe((0,n.Ys)(a.YO)),this.isLogged$=this.store.pipe((0,n.Ys)(a.IG)),this.userEmail$=this.store.pipe((0,n.Ys)(a.Em)),this.userId$=this.store.pipe((0,n.Ys)(a.Ln)),this.token$=this.store.pipe((0,n.Ys)(a.Sg)),this.user$=this.store.pipe((0,n.Ys)(a.Oi)),this.displayName$=this.store.pipe((0,n.Ys)(a.O2)),this.socialUser$=this.store.pipe((0,n.Ys)(a.Ou)),this.socialAccounts$=this.store.pipe((0,n.Ys)(a._j)),this.profilePicture$=this.store.pipe((0,n.Ys)(a.bq)),this.error$=this.store.pipe((0,n.Ys)(a.$D)),this.authRegisterButtonStatus$=this.store.pipe((0,n.Ys)(a.$6)),this.resetPasswordView$=this.store.pipe((0,n.Ys)(a.mO)),this.areAdsDisabledForSubscribers$=this.store.pipe((0,n.Ys)(a._O))}login(I,F,P=!0){this.store.dispatch(D.iD.login({email:I,password:F,redirection:P}))}register(I,F,P){this.store.dispatch(D.iD.register({email:I,password:F,username:P}))}refreshUser(){this.store.dispatch(D.iD.refreshUser())}logout(I=!0){this.store.dispatch(D.iD.logout(I))}setRedirectionUrl(I){this.store.dispatch(D.iD.setRedirectionUrl({url:I}))}resetPassword(I){this.store.dispatch(D.iD.resetPassword({email:I}))}setNewPassword(I,F,P){this.store.dispatch(D.iD.setNewPassword({password:I,token:F,userId:P}))}setLoginPageResetPasswordFormView(){this.store.dispatch(D.pC.setResetPasswordFormView())}}return(U=O).\u0275fac=function(I){return new(I||U)(u.LFG(n.yh))},U.\u0275prov=u.Yz7({token:U,factory:U.\u0275fac,providedIn:"root"}),O})();var X=r(69897)},69897:(_e,R,r)=>{"use strict";r.d(R,{G:()=>s});const s=new(r(93634).Xk)(()=>!1)},41005:(_e,R,r)=>{"use strict";function n(_){const m=Date.now();return 1e3*_.exp<m}function s(_){const m=_.split(".");if(3!==m.length)throw new Error("JWT must have 3 parts");const b=function c(_){let m=_.replace(/-/g,"+").replace(/_/g,"/");switch(m.length%4){case 0:break;case 2:m+="==";break;case 3:m+="=";break;default:throw new Error("Illegal base64url string!")}return function h(_){return decodeURIComponent(Array.prototype.map.call(function v(_){let b="";if((_=String(_).replace(/=+$/,"")).length%4==1)throw new Error('"atob" failed: The string to be decoded is not correctly encoded.');for(let D,a,p=0,u=0;a=_.charAt(u++);~a&&(D=p%4?64*D+a:a,p++%4)?b+=String.fromCharCode(255&D>>(-2*p&6)):0)a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(a);return b}(_),m=>"%"+("00"+m.charCodeAt(0).toString(16)).slice(-2)).join(""))}(m)}(m[1]);if(!b)throw new Error("Cannot decode the token");return{...JSON.parse(b),token:_}}r.d(R,{B:()=>n,T:()=>s})},32266:(_e,R,r)=>{"use strict";r.d(R,{iD:()=>n,h9:()=>s,pC:()=>c});var n={};r.r(n),r.d(n,{authenticationComplete:()=>ge,clearUser:()=>I,deleteUserCommunicationToken:()=>M,deleteUserCommunicationTokenFail:()=>B,deleteUserCommunicationTokenSuccess:()=>N,init:()=>v,login:()=>_,loginFail:()=>p,loginSuccess:()=>m,loginWithToken:()=>D,loginWithTokenDidSuccess:()=>a,logout:()=>u,logoutDidFail:()=>T,logoutDidSuccess:()=>E,noUserToRefresh:()=>ee,redirect:()=>X,refreshTokenDidSuccess:()=>k,refreshUser:()=>te,refreshUserFail:()=>Te,refreshUserSuccess:()=>We,register:()=>W,registerFail:()=>A,registerSuccess:()=>b,requestFailExpired:()=>U,requestFailInvalid:()=>O,resetPassword:()=>P,resetPasswordFail:()=>$,resetPasswordSuccess:()=>H,setNewPassword:()=>J,setNewPasswordFail:()=>le,setNewPasswordSuccess:()=>V,setRedirectionUrl:()=>F});var s={};r.r(s),r.d(s,{authenticationComplete:()=>it,clearUser:()=>ft,deleteUserCommunicationToken:()=>tt,deleteUserCommunicationTokenFail:()=>ut,deleteUserCommunicationTokenSuccess:()=>ne,init:()=>Q,login:()=>me,loginAnon:()=>ct,loginAnonFail:()=>vt,loginFail:()=>Me,loginSuccess:()=>pe,loginWithToken:()=>Pt,logout:()=>lt,noUserToRefresh:()=>Ke,redirect:()=>w,refreshUser:()=>Ut,refreshUserFail:()=>rn,refreshUserSuccess:()=>wt,register:()=>y,registerFail:()=>ae,registerSuccess:()=>se,requestFailExpired:()=>Fe,requestFailInvalid:()=>Je,resetPassword:()=>st,resetPasswordFail:()=>$e,resetPasswordSuccess:()=>we,setNewPassword:()=>Ye,setNewPasswordFail:()=>qe,setNewPasswordSuccess:()=>At,setRedirectionUrl:()=>ye,setUserId:()=>Kt,storeAnonUser:()=>Wt,storeToken:()=>St,storeUser:()=>gt});var c={};r.r(c),r.d(c,{resetRegisterButtonStatus:()=>pn,setResetPasswordFormView:()=>Rt});var h=r(31907);const v=(0,h.PH)("[CLASSIC AUTH] Init",(0,h.Ky)()),_=(0,h.PH)("[CLASSIC AUTH] Login",(0,h.Ky)()),m=(0,h.PH)("[CLASSIC AUTH] Login Success",(0,h.Ky)()),b=(0,h.PH)("[CLASSIC AUTH] Register Success"),p=(0,h.PH)("[CLASSIC AUTH] Login Fail",(0,h.Ky)()),D=(0,h.PH)("[CLASSIC AUTH] Login With Token",(0,h.Ky)()),a=(0,h.PH)("[CLASSIC AUTH API] Login With Token Did Success",(0,h.Ky)()),u=(0,h.PH)("[CLASSIC AUTH] Logout",(Xe=!0)=>({redirect:Xe})),E=(0,h.PH)("[CLASSIC AUTH API] Logout Did Success",(Xe=!0)=>({redirect:Xe})),T=(0,h.PH)("[CLASSIC AUTH API] Logout Did Fail",(Xe=!0)=>({redirect:Xe})),M=(0,h.PH)("[CLASSIC AUTH] Delete User Communication Token"),B=(0,h.PH)("[CLASSIC AUTH API] Delete User Communication Token Fail"),N=(0,h.PH)("[CLASSIC AUTH API] Delete User Communication Token Success"),W=(0,h.PH)("[CLASSIC AUTH] Register",(0,h.Ky)()),A=(0,h.PH)("[CLASSIC AUTH API] Register Fail",(0,h.Ky)()),X=(0,h.PH)("[CLASSIC AUTH] Redirect"),U=(0,h.PH)("[CLASSIC AUTH] Request Fail Expired",(0,h.Ky)()),O=(0,h.PH)("[CLASSIC AUTH] Request Fail Invalid"),k=(0,h.PH)("[CLASSIC AUTH API] Refresh Token Did Success",(0,h.Ky)()),I=(0,h.PH)("[CLASSIC AUTH] Clear User",(Xe=!0)=>({redirect:Xe})),F=(0,h.PH)("[CLASSIC AUTH] Set Redirection Url",(0,h.Ky)()),P=(0,h.PH)("[CLASSIC AUTH] Reset Password",(0,h.Ky)()),H=(0,h.PH)("[CLASSIC AUTH API] Reset Password Success"),$=(0,h.PH)("[CLASSIC AUTH API] Reset Password Fail"),J=(0,h.PH)("[CLASSIC AUTH] Set New Password",(0,h.Ky)()),V=(0,h.PH)("[CLASSIC AUTH API] Set New Password Success"),le=(0,h.PH)("[CLASSIC AUTH API] Set New Password Fail"),ge=(0,h.PH)("[CLASSIC AUTH] Authentication Complete"),te=(0,h.PH)("[CLASSIC AUTH] Refresh User"),We=(0,h.PH)("[CLASSIC AUTH] Refresh User Success",(0,h.Ky)()),Te=(0,h.PH)("[CLASSIC AUTH] Refresh User Fail"),ee=(0,h.PH)("[CLASSIC AUTH] No User To Refresh"),Q=(0,h.PH)("[COMMERCE AUTH] Init",(0,h.Ky)()),me=(0,h.PH)("[COMMERCE AUTH] Login",(0,h.Ky)()),pe=(0,h.PH)("[COMMERCE AUTH] Login Success",(0,h.Ky)()),se=(0,h.PH)("[COMMERCE AUTH] Register Success"),Me=(0,h.PH)("[COMMERCE AUTH] Login Fail",(0,h.Ky)()),ct=(0,h.PH)("[COMMERCE AUTH] Login Anon"),vt=(0,h.PH)("[COMMERCE AUTH] Login Anon Fail"),Pt=(0,h.PH)("[COMMERCE AUTH] Login With Token",(0,h.Ky)()),lt=(0,h.PH)("[COMMERCE AUTH] Logout",(Xe=!0)=>({redirect:Xe})),tt=(0,h.PH)("[COMMERCE AUTH] Delete User Communication Token",(0,h.Ky)()),ut=(0,h.PH)("[COMMERCE AUTH] Delete User Communication Token Fail"),ne=(0,h.PH)("[COMMERCE AUTH] Delete User Communication Token Success"),y=(0,h.PH)("[COMMERCE AUTH] Register",(0,h.Ky)()),ae=(0,h.PH)("[COMMERCE AUTH] Register Fail",(0,h.Ky)()),w=(0,h.PH)("[COMMERCE AUTH] Redirect"),Fe=(0,h.PH)("[COMMERCE AUTH] Request Fail Expired",({action:Xe}=null)=>({action:Xe})),Je=(0,h.PH)("[COMMERCE AUTH] Request Fail Invalid"),St=(0,h.PH)("[COMMERCE AUTH] Store Token",(0,h.Ky)()),gt=(0,h.PH)("[COMMERCE AUTH] Store User",(0,h.Ky)()),Wt=(0,h.PH)("[COMMERCE AUTH] Store Anon User",(0,h.Ky)()),ft=(0,h.PH)("[COMMERCE AUTH] Clear User",(Xe=!0)=>({redirect:Xe})),ye=(0,h.PH)("[COMMERCE AUTH] Set Redirection Url",(0,h.Ky)()),st=(0,h.PH)("[COMMERCE AUTH] Reset Password",(0,h.Ky)()),we=(0,h.PH)("[COMMERCE AUTH] Reset Password Success"),$e=(0,h.PH)("[COMMERCE AUTH] Reset Password Fail"),Ye=(0,h.PH)("[COMMERCE AUTH] Set New Password",(0,h.Ky)()),At=(0,h.PH)("[COMMERCE AUTH] Set New Password Success"),qe=(0,h.PH)("[COMMERCE AUTH] Set New Password Fail"),it=(0,h.PH)("[COMMERCE AUTH] Authentication Complete"),Kt=(0,h.PH)("[COMMERCE AUTH] Set User Id",(0,h.Ky)()),Ut=(0,h.PH)("[COMMERCE AUTH] Refresh User"),wt=(0,h.PH)("[COMMERCE AUTH] Refresh User Success",(0,h.Ky)()),rn=(0,h.PH)("[COMMERCE AUTH] Refresh User Fail"),Ke=(0,h.PH)("[COMMERCE AUTH] No User To Refresh"),pn=(0,h.PH)("[LOGIN PAGE] Reset Register Button Status"),Rt=(0,h.PH)("[LOGIN PAGE] Set Reset Password Form View")},78342:(_e,R,r)=>{"use strict";r.d(R,{_O:()=>st,YO:()=>y,hZ:()=>w,Bc:()=>ut,_j:()=>gt,Ou:()=>St,Sg:()=>lt,L9:()=>tt,Oi:()=>Je,O2:()=>Wt,Em:()=>ae,Ln:()=>ne,bq:()=>ft,aZ:()=>pe,$D:()=>$e,$6:()=>Ye,mO:()=>At,EL:()=>Me,LP:()=>ee,z3:()=>Q,$C:()=>vt,gV:()=>se,n5:()=>me,IG:()=>Fe,iH:()=>ct,ll:()=>te});var n=r(31907),s=r(49595),c=r(98819),h=r(82998),v=r(41005),_=r(32266);const m="classic",b={token:null,tokenPayload:null,refreshToken:null,user:null,redirectionUrl:"/"},D=(0,n.Lq)({token:void 0,tokenPayload:void 0,refreshToken:void 0,user:void 0,redirectionUrl:"/",initialized:!1},(0,n.on)(_.iD.init,(qe,{profileSectionUrl:it})=>({...qe,redirectionUrl:it})),(0,n.on)(_.iD.loginSuccess,_.iD.refreshTokenDidSuccess,(qe,{user:it})=>{const Kt=it.entities.user[it.result];try{const Ut=(0,v.T)(Kt.token);return{...qe,error:null,token:Kt.token,refreshToken:Kt.refresh_token,tokenPayload:Ut,user:Ut.id}}catch{return{...qe}}}),(0,n.on)(_.iD.loginWithToken,_.iD.loginWithTokenDidSuccess,(qe,{token:it})=>{try{const Kt=(0,v.T)(it);return{...qe,error:null,token:Kt.token,tokenPayload:Kt,user:Kt.id}}catch{return{...qe}}}),(0,n.on)(h.Tb,(qe,{token:it,refreshToken:Kt})=>{try{const Ut=(0,v.T)(it);return{...qe,error:null,token:Ut.token,tokenPayload:Ut,refreshToken:Kt,user:Ut.id}}catch{return{...qe}}}),(0,n.on)(_.iD.clearUser,h.cf,qe=>({...qe,...b})),(0,n.on)(_.iD.setRedirectionUrl,(qe,{url:it})=>({...qe,redirectionUrl:it})),(0,n.on)(_.iD.authenticationComplete,_.h9.authenticationComplete,qe=>({...qe,initialized:!0}))),N="commerce",W={token:null,tokenPayload:null,user:null,redirectionUrl:"/"},X=(0,n.Lq)({token:void 0,tokenPayload:void 0,user:void 0,redirectionUrl:"/",initialized:!1},(0,n.on)(_.h9.init,(qe,{profileSectionUrl:it})=>({...qe,redirectionUrl:it})),(0,n.on)(_.h9.storeUser,_.h9.storeToken,(qe,{token:it})=>{try{const Kt=(0,v.T)(it);return{...qe,error:null,token:it,tokenPayload:Kt,user:Kt.id}}catch{return{...qe}}}),(0,n.on)(_.h9.storeAnonUser,(qe,{token:it})=>({...qe,token:it})),(0,n.on)(_.h9.clearUser,qe=>({...qe,...W})),(0,n.on)(_.h9.setRedirectionUrl,(qe,{url:it})=>({...qe,redirectionUrl:it})),(0,n.on)(_.h9.setUserId,(qe,{userId:it})=>({...qe,user:it})),(0,n.on)(_.h9.authenticationComplete,_.iD.authenticationComplete,qe=>({...qe,initialized:!0}))),P="loginPage",H={error:void 0,registerButtonStatus:"default",resetPasswordView:"form"},$=(0,n.Lq)(H,(0,n.on)(_.h9.clearUser,_.iD.clearUser,qe=>({...qe,...H})),(0,n.on)(_.h9.register,_.iD.register,qe=>({...qe,registerButtonStatus:"loading"})),(0,n.on)(_.h9.loginFail,_.iD.loginFail,(qe,{errorMessage:it})=>({...qe,error:it})),(0,n.on)(_.h9.registerFail,_.iD.registerFail,(qe,{errorMessage:it})=>({...qe,error:it,registerButtonStatus:"error"})),(0,n.on)(_.pC.resetRegisterButtonStatus,qe=>({...qe,error:null,registerButtonStatus:"default"})),(0,n.on)(_.iD.resetPasswordSuccess,qe=>({...qe,resetPasswordView:"confirmation"})),(0,n.on)(_.pC.setResetPasswordFormView,qe=>({...qe,resetPasswordView:"form"})),(0,n.on)(_.h9.login,_.h9.register,_.iD.login,_.iD.register,qe=>({...qe,error:null})));function te(qe,it){return(0,n.UY)({[m]:D,[N]:X,[P]:$})(qe,it)}const We=(0,n.ZF)("auth"),Te=(0,n.P1)(We,qe=>qe[N]),ee=(0,n.P1)(Te,qe=>qe.token),Q=(0,n.P1)(Te,qe=>qe.tokenPayload),me=(0,n.P1)(Te,qe=>qe.user),pe=(0,n.P1)(Te,qe=>qe.initialized),se=(0,n.P1)(Q,qe=>qe&&qe.email||""),Me=(0,n.P1)(Te,qe=>qe.redirectionUrl),ct=(0,n.P1)(me,qe=>!!qe),vt=(0,n.P1)(me,c.uc("commerce","user"),c.uc("commerce","customer"),c.uc("commerce","addresses"),c.s3("commerce","addresses"),(qe,it,Kt,Ut,wt)=>{const rn=it[qe];return{user:rn,customer:rn&&Kt[rn.customer]||null,shippingAddresses:wt.map(Rt=>Ut[Rt]).filter(Rt=>Rt.is_shipping)}}),Pt=(0,n.P1)(We,qe=>qe[m]),lt=(0,n.P1)(Pt,qe=>qe.token),tt=(0,n.P1)(Pt,qe=>qe.tokenPayload),ut=(0,n.P1)(Pt,qe=>qe.refreshToken),ne=(0,n.P1)(Pt,qe=>qe.user),y=(0,n.P1)(Pt,qe=>qe.initialized),ae=(0,n.P1)(tt,qe=>qe&&qe.email||""),w=(0,n.P1)(Pt,qe=>qe.redirectionUrl),Fe=(0,n.P1)(ne,qe=>!!qe),Je=(0,n.P1)(ne,c.uc("classic","user"),(qe,it)=>it[qe]),St=(0,n.P1)(Je,c.uc("classic","socialUsers"),(qe,it)=>it&&qe&&it[qe.social_user]||null),gt=(0,n.P1)(St,c.uc("classic","socialAccounts"),(qe,it)=>qe&&qe.social_accounts&&qe.social_accounts.map(Kt=>it&&it[Kt]||null)),Wt=(0,n.P1)(Je,qe=>qe&&(qe.first_name||qe.last_name)?(qe.first_name+" "+qe.last_name).trim():null),ft=(0,n.P1)(Je,c.uc("classic","picture"),(qe,it)=>qe&&qe.picture&&it[qe.picture]&&it[qe.picture].picture?it[qe.picture]:null),ye=(0,n.P1)(Je,qe=>qe&&qe.access_levels&&qe.access_levels.length>0),st=(0,n.P1)(s.fQ,ye,(qe,it)=>qe&&!0===it),we=(0,n.P1)(We,qe=>qe.loginPage),$e=(0,n.P1)(we,qe=>qe.error),Ye=(0,n.P1)(we,qe=>qe.registerButtonStatus),At=(0,n.P1)(we,qe=>qe.resetPasswordView)},29582:(_e,R,r)=>{"use strict";r.d(R,{B:()=>n.B});var n=r(9223)},81099:(_e,R,r)=>{"use strict";r.d(R,{R:()=>c});var n=r(58516),s=r(77533);let c=(()=>{var v;class _ extends n.pzk{constructor(b,p){super(b,p)}getCookies(){return this._getObject(this._json,"cookies")}getCookieEnabled(){return this._getBoolean(this.getCookies(),"enabled",!1)}getCookieButtonBackgroundColor(){return this.getColor(this.getCookies(),"primaryColor","#009ed9","primary1Color")}getCookieGeneralLink(){return this.getNavigationLink(this.getCookies(),"link")}getCookieLogo(){return this._getObject(this.getCookies(),"logo")}getCookieLogoImage(){return this.getImage(this.getCookieLogo(),"image")}getCookieExternalServicesDefault(){return this._getBoolean(this.getCookies(),"externalServicesDefault",!1)}getCookieInternalServicesDefault(){return this._getBoolean(this.getCookies(),"internalServicesDefault",!1)}getConsent(){return this._getObject(this._json,"consent")}getConsentAppId(){return this._getString(this.getConsent(),"consentAppId","")}getConsentTcfEnabled(){return this._getBoolean(this.getConsent(),"tcFormEnabled",!1)}}return(v=_).\u0275fac=function(b){return new(b||v)(s.LFG(n.h8o),s.LFG(n.YdH))},v.\u0275prov=s.Yz7({token:v,factory:function(b){let p=null;return p=b?new b:function h(v,_,m){const b=new c(v,_);return b.settings=m.settings,b}(s.LFG(n.h8o),s.LFG(n.YdH),s.LFG(n.pzk)),p},providedIn:"root"}),_})()},57762:(_e,R,r)=>{"use strict";r.d(R,{E9:()=>T,MD:()=>c,NQ:()=>D,S1:()=>s,W6:()=>v,ZF:()=>h,ZN:()=>a,fw:()=>_,kH:()=>m,oi:()=>b,qD:()=>E,rC:()=>p});var n=r(31907);const s=(0,n.PH)("[CONSENT] Init",(0,n.Ky)()),c=(0,n.PH)("[CONSENT] Load TCF"),h=(0,n.PH)("[CONSENT] TCF Load Did Success"),v=(0,n.PH)("[CONSENT] TCF Load Did Fail"),_=(0,n.PH)("[CONSENT] Open Cookie Dialog"),m=(0,n.PH)("[CONSENT] Close Cookie Dialog"),b=(0,n.PH)("[CONSENT] Refuse Cookie Consent"),p=(0,n.PH)("[CONSENT] Save Cookie Consent Fast"),D=(0,n.PH)("[CONSENT] Save Cookie Consent Detail",(0,n.Ky)()),a=(0,n.PH)("[CONSENT] Retrieve Existing Cookie Consent",(0,n.Ky)()),E=((0,n.PH)("[CONSENT] Save Cookie consent in localStorage"),(0,n.PH)("[CONSENT] Update Consent")),T=(0,n.PH)("[CONSENT] Open TCF Dialog")},9223:(_e,R,r)=>{"use strict";r.d(R,{B:()=>v});var n=r(31907),s=r(57762),c=r(3744),h=r(77533);let v=(()=>{var _;class m{constructor(p){this.store=p,this.canUseInternal$=this.store.pipe((0,n.Ys)(c.rS)),this.canUseExternal$=this.store.pipe((0,n.Ys)(c.l9)),this.tcfLoaded$=this.store.pipe((0,n.Ys)(c.WK)),this.externalServiceEnabled$=this.store.pipe((0,n.Ys)(c.AE)),this.anyConsentEnabled$=this.store.pipe((0,n.Ys)(c.Fx))}init(p,D,a){this.store.dispatch(s.S1({cookieConsentEnabled:p,tcfEnabled:D,externalServiceEnabled:a}))}saveConsentFast(){this.store.dispatch(s.rC())}refuseConsent(){this.store.dispatch(s.oi())}saveConsentDetail(p){this.store.dispatch(s.NQ({gbCookie:p}))}updateConsent(){this.store.dispatch(s.qD())}}return(_=m).\u0275fac=function(p){return new(p||_)(h.LFG(n.yh))},_.\u0275prov=h.Yz7({token:_,factory:_.\u0275fac,providedIn:"root"}),m})()},3744:(_e,R,r)=>{"use strict";r.d(R,{AE:()=>_,Fx:()=>B,SA:()=>M,Uw:()=>v,VJ:()=>c,WK:()=>m,l9:()=>a,rS:()=>D,u2:()=>h});var n=r(31907);const s=(0,n.ZF)("cookieConsent"),c=(0,n.P1)(s,N=>N.gbCookie),h=(0,n.P1)(s,N=>N.cookieConsentEnabled),v=(0,n.P1)(s,N=>N.tcfEnabled),_=(0,n.P1)(s,N=>N.externalServiceEnabled),m=(0,n.P1)(s,N=>N.tcfLoaded),b=(0,n.P1)(c,N=>N&&N.internal),p=(0,n.P1)(c,N=>N&&N.external),D=(0,n.P1)(h,b,(N,W)=>!1===N||W),a=(0,n.P1)(h,p,v,m,(N,W,A,X)=>(!1===N||W)&&!1===A||X),u=(0,n.P1)(c,N=>N&&null!==N.internal),E=(0,n.P1)(c,N=>N&&null!==N.external),T=(0,n.P1)(E,_,(N,W)=>N||!W),M=(0,n.P1)(u,T,(N,W)=>N&&W),B=(0,n.P1)(h,m,(N,W)=>N||W)},60206:(_e,R,r)=>{"use strict";r.d(R,{pN:()=>te,WT:()=>ge,Vn:()=>V,vG:()=>le,id:()=>$,rh:()=>We,L3:()=>Te,ll:()=>F});var n=r(31907),s=r(78342),c=r(24681),h=r(14766),v=r(28806),_=r(45598),m=r(30517),b=r(93947),p=r(86472),D=r(90386),a=r(17380),u=r(32266),E=r(62947);const T="items",M={default:{article:null,video:null,sound:null,maps:null,event:null,photo:null}},B=(0,n.Lq)(M,(0,n.on)(h.d.loadArticlesDidSuccess,h.d.loadRestrictedArticlesDidSuccess,h.d.loadMoreArticlesDidSuccess,h.x.loadArticleDidSuccess,h.x.loadRestrictedArticleDidSuccess,a.X.loadVideosDidSuccess,a.X.loadMoreVideosDidSuccess,a.X.loadRestrictedVideosDidSuccess,a.I.loadVideoDidSuccess,a.I.loadRestrictedVideoDidSuccess,D.r.loadSoundsDidSuccess,D.r.loadRestrictedSoundsDidSuccess,D.r.loadMoreSoundsDidSuccess,D.y.loadSoundDidSuccess,D.y.loadRestrictedSoundDidSuccess,_.r.loadEventsDidSuccess,_.r.loadMoreEventsDidSuccess,_.r.loadRestrictedEventsDidSuccess,_.N.loadEventDidSuccess,_.N.loadRestrictedEventDidSuccess,b.WQ.loadPointsDidSuccess,b.WQ.loadRestrictedPointsDidSuccess,b.WQ.loadMorePointsDidSuccess,b.BA.loadPointDidSuccess,b.BA.loadRestrictedPointDidSuccess,p.s.performSearchDidSuccess,p.s.performSearchNoCacheDidSuccess,p.s.loadMoreSearchResultsDidSuccess,h.d.previewRefreshArticlesDidSuccess,a.X.previewRefreshVideosDidSuccess,D.r.previewRefreshSoundsDidSuccess,_.r.previewRefreshEventsDidSuccess,b.WQ.previewRefreshPointsDidSuccess,(Q,{response:me})=>{const se=(0,E.Xg)(me.items).entities.items,Me=se&&Object.values(se);if(!Array.isArray(Me)||0===Me.length)return Q;const ct=Me[0].type;return{...Q,default:{...Q.default,[ct]:{...Q.default[ct],...se}}}}),(0,n.on)(h.x.loadAggregatorRestrictedArticleDidSuccess,a.I.loadAggregatorRestrictedVideoDidSuccess,D.y.loadAggregatorRestrictedSoundDidSuccess,_.N.loadAggregatorRestrictedEventDidSuccess,b.BA.loadAggregatorRestrictedPointDidSuccess,m.g.loadWidgetAggregatorRestrictedItemsDidSuccess,p.s.loadSearchResultRestrictedItemsDidSuccess,(Q,{aboLevels:me,response:pe})=>{if(!me)return Q;let se={};for(const vt in pe)"object"==typeof pe[vt]&&(se=pe[vt]);const Me=Object.values(se);if(!Array.isArray(Me)||0===Me.length)return Q;const ct=Me[0].type;return me.reduce((vt,Pt)=>({...vt,[Pt]:{...vt[Pt],[ct]:{...vt[Pt]&&vt[Pt][ct],...se}}}),Q)}),(0,n.on)(m.g.loadAggregatorWidgetsItemsDidSuccess,(Q,{itemsMap:me})=>{let pe={...Q};return Object.values(me).forEach(se=>{se.forEach(Me=>{pe={...pe,default:{...pe.default,[Me.type]:{...pe.default[Me.type],[Me.id]:Me}}}})}),pe}),(0,n.on)(m.g.loadWidgetStandaloneItemsDidSuccess,m.g.loadWidgetStandaloneRestrictedItemsDidSuccess,(Q,{response:me})=>{const pe=(0,E.Xg)(me.items),se=pe.entities.items;if(0===pe.result.length)return Q;const Me=se[pe.result[0]].type;return{...Q,default:{...Q.default,[Me]:{...Q.default[Me],...se}}}}),(0,n.on)(v.F.loadBookmarksDidSuccess,(Q,{responses:me})=>{let pe={...Q};const se=me.filter(Me=>Me&&Me.items&&Me.items[0]);return se.length>0&&se.forEach(Me=>{const ct=(0,E.Xg)(Me.items),vt=ct.entities.items,Pt=vt[ct.result[0]].type;pe={...pe,default:{...pe.default,[Pt]:{...pe.default[Pt],...vt}}}}),pe}),(0,n.on)(u.iD.loginSuccess,u.iD.logout,Q=>({...M}))),W="section",A={};function X(Q){return"number"==typeof Q.subsectionIndex&&Q.subsectionIndex>-1?`${Q.sectionId}-${Q.subsectionIndex}`:Q.sectionId}function U(Q){return!!Q&&!1===/^(?:-|null|undefined)/.test(Q)}const k=(0,n.Lq)(A,(0,n.on)(h.d.loadArticlesDidSuccess,h.d.loadRestrictedArticlesDidSuccess,a.X.loadVideosDidSuccess,a.X.loadRestrictedVideosDidSuccess,D.r.loadSoundsDidSuccess,D.r.loadRestrictedSoundsDidSuccess,_.r.loadEventsDidSuccess,_.r.loadRestrictedEventsDidSuccess,b.WQ.loadPointsDidSuccess,b.WQ.loadRestrictedPointsDidSuccess,(Q,{requestParams:me,response:pe})=>{const se=function O(Q,me){const pe=X(me);return!1===U(pe)?Q:{...Q,[pe]:{ids:[],nextUrl:null}}}(Q,me),Me=X(me);if(!1===U(Me))return se;const ct=(0,E.Xg)(pe.items),Pt=Array.from(new Set((se[Me]&&se[Me].ids||[]).concat(ct.result)));return{...se,[Me]:{ids:Pt,nextUrl:Pt.length>0&&pe.next_page}}}),(0,n.on)(h.d.loadMoreArticlesDidSuccess,a.X.loadMoreVideosDidSuccess,D.r.loadMoreSoundsDidSuccess,_.r.loadMoreEventsDidSuccess,b.WQ.loadMorePointsDidSuccess,(Q,{requestParams:me,response:pe})=>{const se=X(me);if(!1===U(se))return Q;const Me=(0,E.Xg)(pe.items),vt=Array.from(new Set((Q[se]&&Q[se].ids||[]).concat(Me.result)));return{...Q,[se]:{ids:vt,nextUrl:vt.length>0&&pe.next_page}}}),(0,n.on)(h.d.previewRefreshArticlesDidSuccess,a.X.previewRefreshVideosDidSuccess,D.r.previewRefreshSoundsDidSuccess,_.r.previewRefreshEventsDidSuccess,b.WQ.previewRefreshPointsDidSuccess,(Q,{requestParams:me,response:pe})=>{const se=X(me);if(!1===U(se))return Q;const Me=(0,E.Xg)(pe.items);return{...Q,[se]:{ids:Me.result,nextUrl:Me.result.length>0&&pe.next_page}}}),(0,n.on)(u.iD.loginSuccess,u.iD.logout,Q=>({...A})));function F(Q,me){return(0,n.UY)({[W]:k,[T]:B})(Q,me)}const P=(0,n.ZF)("content"),H=(0,n.P1)(P,Q=>Q[W]),$=(0,n.P1)(H,c.YR,c.hW,(Q,me,pe)=>Q[X({sectionId:me,subsectionIndex:pe})]),J=(0,n.P1)(P,Q=>Q[T]),V=(0,n.P1)(J,Q=>Q.default),le=Q=>(0,n.P1)(V,me=>me&&me[Q]||null),ge=Q=>(0,n.P1)(J,s.Oi,(me,pe)=>{const se=pe&&pe.access_levels&&pe.access_levels[0];return se?me[se]&&me[se][Q]:null}),te=(0,n.P1)(J,s.Oi,(Q,me)=>{const pe=me&&me.access_levels&&me.access_levels[0];return pe?Q[pe]:null}),We=Q=>(0,n.P1)($,le(Q),ge(Q),(me,pe,se)=>me&&me.ids.map(Me=>se&&se[Me]||pe&&pe[Me]).filter(Me=>!!Me)),Te=Q=>(0,n.P1)(c.x3,le(Q),ge(Q),(me,pe,se)=>se&&se[me]||pe&&pe[me]||null)},62947:(_e,R,r)=>{"use strict";r.d(R,{Xg:()=>h});var n=r(83162);const s=new n.fK.Entity("items"),c=new n.fK.Array(s);function h(v){return(0,n.Fv)(v,c)}},39071:(_e,R,r)=>{"use strict";r.d(R,{C:()=>Ho});var n=r(8366),s=r(9294);function c(be,f){(0,s.Z)(2,arguments);var C=(0,n.Z)(be),L=(0,n.Z)(f);return C.getTime()<L.getTime()}function h(be,f){(0,s.Z)(2,arguments);var C=(0,n.Z)(be),L=(0,n.Z)(f);return C.getTime()>L.getTime()}var v=r(3286);function _(be){(0,s.Z)(1,arguments);var f=(0,n.Z)(be);return f.setHours(0,0,0,0),f}function m(be,f){(0,s.Z)(2,arguments);var C=_(be),L=_(f);return C.getTime()===L.getTime()}var p=r(45394),a=r(78402),T=r(71002);function B(be){if((0,s.Z)(1,arguments),!function M(be){return(0,s.Z)(1,arguments),be instanceof Date||"object"===(0,T.Z)(be)&&"[object Date]"===Object.prototype.toString.call(be)}(be)&&"number"!=typeof be)return!1;var f=(0,n.Z)(be);return!isNaN(Number(f))}Math.pow(10,8);var X=6e4,U=36e5,Te=r(37566);var Q={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},me=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,pe=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,se=/^([+-])(\d{2})(?::?(\d{2}))?$/;function Pt(be){return be?parseInt(be):1}function tt(be){return be&&parseFloat(be.replace(",","."))||0}var y=[31,null,31,30,31,30,31,31,30,31,30,31];function ae(be){return be%400==0||be%4==0&&be%100!=0}function Wt(be,f){(null==f||f>be.length)&&(f=be.length);for(var C=0,L=new Array(f);C<f;C++)L[C]=be[C];return L}function ye(be,f){var C=typeof Symbol<"u"&&be[Symbol.iterator]||be["@@iterator"];if(!C){if(Array.isArray(be)||(C=function ft(be,f){if(be){if("string"==typeof be)return Wt(be,f);var C=Object.prototype.toString.call(be).slice(8,-1);if("Object"===C&&be.constructor&&(C=be.constructor.name),"Map"===C||"Set"===C)return Array.from(be);if("Arguments"===C||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(C))return Wt(be,f)}}(be))||f&&be&&"number"==typeof be.length){C&&(be=C);var L=0,g=function(){};return{s:g,n:function(){return L>=be.length?{done:!0}:{done:!1,value:be[L++]}},e:function(zt){throw zt},f:g}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var nt,z=!0,K=!1;return{s:function(){C=C.call(be)},n:function(){var zt=C.next();return z=zt.done,zt},e:function(zt){K=!0,nt=zt},f:function(){try{!z&&null!=C.return&&C.return()}finally{if(K)throw nt}}}}var st={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function Ye(be){return function(){var f=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},C=f.width?String(f.width):be.defaultWidth;return be.formats[C]||be.formats[be.defaultWidth]}}var Kt={date:Ye({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:Ye({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:Ye({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},wt={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function pn(be){return function(f,C){var g;if("formatting"===(null!=C&&C.context?String(C.context):"standalone")&&be.formattingValues){var z=be.defaultFormattingWidth||be.defaultWidth,K=null!=C&&C.width?String(C.width):z;g=be.formattingValues[K]||be.formattingValues[z]}else{var nt=be.defaultWidth,yt=null!=C&&C.width?String(C.width):be.defaultWidth;g=be.values[yt]||be.values[nt]}return g[be.argumentCallback?be.argumentCallback(f):f]}}function Ge(be){return function(f){var C=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},L=C.width,z=f.match(L&&be.matchPatterns[L]||be.matchPatterns[be.defaultMatchWidth]);if(!z)return null;var zt,K=z[0],nt=L&&be.parsePatterns[L]||be.parsePatterns[be.defaultParseWidth],yt=Array.isArray(nt)?function Ue(be,f){for(var C=0;C<be.length;C++)if(f(be[C]))return C}(nt,function(yn){return yn.test(K)}):function Pe(be,f){for(var C in be)if(be.hasOwnProperty(C)&&f(be[C]))return C}(nt,function(yn){return yn.test(K)});return zt=be.valueCallback?be.valueCallback(yt):yt,{value:zt=C.valueCallback?C.valueCallback(zt):zt,rest:f.slice(K.length)}}}const Wn={code:"en-US",formatDistance:function(f,C,L){var g,z=st[f];return g="string"==typeof z?z:1===C?z.one:z.other.replace("{{count}}",C.toString()),null!=L&&L.addSuffix?L.comparison&&L.comparison>0?"in "+g:g+" ago":g},formatLong:Kt,formatRelative:function(f,C,L,g){return wt[f]},localize:{ordinalNumber:function(f,C){var L=Number(f),g=L%100;if(g>20||g<10)switch(g%10){case 1:return L+"st";case 2:return L+"nd";case 3:return L+"rd"}return L+"th"},era:pn({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:pn({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(f){return f-1}}),month:pn({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:pn({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:pn({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:function De(be){return function(f){var C=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},L=f.match(be.matchPattern);if(!L)return null;var g=L[0],z=f.match(be.parsePattern);if(!z)return null;var K=be.valueCallback?be.valueCallback(z[0]):z[0];return{value:K=C.valueCallback?C.valueCallback(K):K,rest:f.slice(g.length)}}}({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(f){return parseInt(f,10)}}),era:Ge({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:Ge({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(f){return f+1}}),month:Ge({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:Ge({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:Ge({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}},gn=Wn;var Fr=r(12886);function Ar(be,f){(0,s.Z)(2,arguments);var C=(0,Te.Z)(f);return(0,Fr.Z)(be,-C)}function Cr(be,f){if(null==be)throw new TypeError("assign requires that input parameter not be null or undefined");for(var C in f)Object.prototype.hasOwnProperty.call(f,C)&&(be[C]=f[C]);return be}var Sr=function(f,C){switch(f){case"P":return C.date({width:"short"});case"PP":return C.date({width:"medium"});case"PPP":return C.date({width:"long"});default:return C.date({width:"full"})}},Mn=function(f,C){switch(f){case"p":return C.time({width:"short"});case"pp":return C.time({width:"medium"});case"ppp":return C.time({width:"long"});default:return C.time({width:"full"})}};const et={p:Mn,P:function(f,C){var K,L=f.match(/(P+)(p+)?/)||[],g=L[1],z=L[2];if(!z)return Sr(f,C);switch(g){case"P":K=C.dateTime({width:"short"});break;case"PP":K=C.dateTime({width:"medium"});break;case"PPP":K=C.dateTime({width:"long"});break;default:K=C.dateTime({width:"full"})}return K.replace("{{date}}",Sr(g,C)).replace("{{time}}",Mn(z,C))}};function Mt(be){var f=new Date(Date.UTC(be.getFullYear(),be.getMonth(),be.getDate(),be.getHours(),be.getMinutes(),be.getSeconds(),be.getMilliseconds()));return f.setUTCFullYear(be.getFullYear()),be.getTime()-f.getTime()}var Ct=["D","DD"],Vt=["YY","YYYY"];function Bt(be){return-1!==Ct.indexOf(be)}function on(be){return-1!==Vt.indexOf(be)}function Qt(be,f,C){if("YYYY"===be)throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(f,"`) for formatting years to the input `").concat(C,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("YY"===be)throw new RangeError("Use `yy` instead of `YY` (in `".concat(f,"`) for formatting years to the input `").concat(C,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("D"===be)throw new RangeError("Use `d` instead of `D` (in `".concat(f,"`) for formatting days of the month to the input `").concat(C,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("DD"===be)throw new RangeError("Use `dd` instead of `DD` (in `".concat(f,"`) for formatting days of the month to the input `").concat(C,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}function Lt(be){if(void 0===be)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return be}function mn(be,f){return(mn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(L,g){return L.__proto__=g,L})(be,f)}function jt(be,f){if("function"!=typeof f&&null!==f)throw new TypeError("Super expression must either be null or a function");be.prototype=Object.create(f&&f.prototype,{constructor:{value:be,writable:!0,configurable:!0}}),Object.defineProperty(be,"prototype",{writable:!1}),f&&mn(be,f)}function Vn(be){return(Vn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(C){return C.__proto__||Object.getPrototypeOf(C)})(be)}function An(be){var f=function Rn(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var g,L=Vn(be);if(f){var z=Vn(this).constructor;g=Reflect.construct(L,arguments,z)}else g=L.apply(this,arguments);return function Ln(be,f){if(f&&("object"===(0,T.Z)(f)||"function"==typeof f))return f;if(void 0!==f)throw new TypeError("Derived constructors may only return object or undefined");return Lt(be)}(this,g)}}function bn(be,f){if(!(be instanceof f))throw new TypeError("Cannot call a class as a function")}function zn(be){var f=function _n(be,f){if("object"!==(0,T.Z)(be)||null===be)return be;var C=be[Symbol.toPrimitive];if(void 0!==C){var L=C.call(be,f||"default");if("object"!==(0,T.Z)(L))return L;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===f?String:Number)(be)}(be,"string");return"symbol"===(0,T.Z)(f)?f:String(f)}function dr(be,f){for(var C=0;C<f.length;C++){var L=f[C];L.enumerable=L.enumerable||!1,L.configurable=!0,"value"in L&&(L.writable=!0),Object.defineProperty(be,zn(L.key),L)}}function an(be,f,C){return f&&dr(be.prototype,f),C&&dr(be,C),Object.defineProperty(be,"prototype",{writable:!1}),be}function Yt(be,f,C){return(f=zn(f))in be?Object.defineProperty(be,f,{value:C,enumerable:!0,configurable:!0,writable:!0}):be[f]=C,be}var Mr=function(){function be(){bn(this,be),Yt(this,"priority",void 0),Yt(this,"subPriority",0)}return an(be,[{key:"validate",value:function(C,L){return!0}}]),be}(),It=function(be){jt(C,be);var f=An(C);function C(L,g,z,K,nt){var yt;return bn(this,C),(yt=f.call(this)).value=L,yt.validateValue=g,yt.setValue=z,yt.priority=K,nt&&(yt.subPriority=nt),yt}return an(C,[{key:"validate",value:function(g,z){return this.validateValue(g,this.value,z)}},{key:"set",value:function(g,z,K){return this.setValue(g,z,this.value,K)}}]),C}(Mr),ln=function(be){jt(C,be);var f=An(C);function C(){var L;bn(this,C);for(var g=arguments.length,z=new Array(g),K=0;K<g;K++)z[K]=arguments[K];return Yt(Lt(L=f.call.apply(f,[this].concat(z))),"priority",10),Yt(Lt(L),"subPriority",-1),L}return an(C,[{key:"set",value:function(g,z){if(z.timestampIsSet)return g;var K=new Date(0);return K.setFullYear(g.getUTCFullYear(),g.getUTCMonth(),g.getUTCDate()),K.setHours(g.getUTCHours(),g.getUTCMinutes(),g.getUTCSeconds(),g.getUTCMilliseconds()),K}}]),C}(Mr),Pn=function(){function be(){bn(this,be),Yt(this,"incompatibleTokens",void 0),Yt(this,"priority",void 0),Yt(this,"subPriority",void 0)}return an(be,[{key:"run",value:function(C,L,g,z){var K=this.parse(C,L,g,z);return K?{setter:new It(K.value,this.validate,this.set,this.priority,this.subPriority),rest:K.rest}:null}},{key:"validate",value:function(C,L,g){return!0}}]),be}(),pr=function(be){jt(C,be);var f=An(C);function C(){var L;bn(this,C);for(var g=arguments.length,z=new Array(g),K=0;K<g;K++)z[K]=arguments[K];return Yt(Lt(L=f.call.apply(f,[this].concat(z))),"priority",140),Yt(Lt(L),"incompatibleTokens",["R","u","t","T"]),L}return an(C,[{key:"parse",value:function(g,z,K){switch(z){case"G":case"GG":case"GGG":return K.era(g,{width:"abbreviated"})||K.era(g,{width:"narrow"});case"GGGGG":return K.era(g,{width:"narrow"});default:return K.era(g,{width:"wide"})||K.era(g,{width:"abbreviated"})||K.era(g,{width:"narrow"})}}},{key:"set",value:function(g,z,K){return z.era=K,g.setUTCFullYear(K,0,1),g.setUTCHours(0,0,0,0),g}}]),C}(Pn),cr_month=/^(1[0-2]|0?\d)/,cr_date=/^(3[0-1]|[0-2]?\d)/,cr_dayOfYear=/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,cr_week=/^(5[0-3]|[0-4]?\d)/,cr_hour23h=/^(2[0-3]|[0-1]?\d)/,cr_hour24h=/^(2[0-4]|[0-1]?\d)/,cr_hour11h=/^(1[0-1]|0?\d)/,cr_hour12h=/^(1[0-2]|0?\d)/,cr_minute=/^[0-5]?\d/,cr_second=/^[0-5]?\d/,cr_singleDigit=/^\d/,cr_twoDigits=/^\d{1,2}/,cr_threeDigits=/^\d{1,3}/,cr_fourDigits=/^\d{1,4}/,cr_anyDigitsSigned=/^-?\d+/,cr_singleDigitSigned=/^-?\d/,cr_twoDigitsSigned=/^-?\d{1,2}/,cr_threeDigitsSigned=/^-?\d{1,3}/,cr_fourDigitsSigned=/^-?\d{1,4}/,Ir_basicOptionalMinutes=/^([+-])(\d{2})(\d{2})?|Z/,Ir_basic=/^([+-])(\d{2})(\d{2})|Z/,Ir_basicOptionalSeconds=/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,Ir_extended=/^([+-])(\d{2}):(\d{2})|Z/,Ir_extendedOptionalSeconds=/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/;function Xn(be,f){return be&&{value:f(be.value),rest:be.rest}}function je(be,f){var C=f.match(be);return C?{value:parseInt(C[0],10),rest:f.slice(C[0].length)}:null}function bt(be,f){var C=f.match(be);if(!C)return null;if("Z"===C[0])return{value:0,rest:f.slice(1)};var L="+"===C[1]?1:-1,g=C[2]?parseInt(C[2],10):0,z=C[3]?parseInt(C[3],10):0,K=C[5]?parseInt(C[5],10):0;return{value:L*(g*U+z*X+1e3*K),rest:f.slice(C[0].length)}}function Ot(be){return je(cr_anyDigitsSigned,be)}function ht(be,f){switch(be){case 1:return je(cr_singleDigit,f);case 2:return je(cr_twoDigits,f);case 3:return je(cr_threeDigits,f);case 4:return je(cr_fourDigits,f);default:return je(new RegExp("^\\d{1,"+be+"}"),f)}}function Gt(be,f){switch(be){case 1:return je(cr_singleDigitSigned,f);case 2:return je(cr_twoDigitsSigned,f);case 3:return je(cr_threeDigitsSigned,f);case 4:return je(cr_fourDigitsSigned,f);default:return je(new RegExp("^-?\\d{1,"+be+"}"),f)}}function en(be){switch(be){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;default:return 0}}function Tn(be,f){var g,C=f>0,L=C?f:1-f;if(L<=50)g=be||100;else{var z=L+50;g=be+100*Math.floor(z/100)-(be>=z%100?100:0)}return C?g:1-g}function qn(be){return be%400==0||be%4==0&&be%100!=0}var Gn=function(be){jt(C,be);var f=An(C);function C(){var L;bn(this,C);for(var g=arguments.length,z=new Array(g),K=0;K<g;K++)z[K]=arguments[K];return Yt(Lt(L=f.call.apply(f,[this].concat(z))),"priority",130),Yt(Lt(L),"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"]),L}return an(C,[{key:"parse",value:function(g,z,K){var nt=function(zt){return{year:zt,isTwoDigitYear:"yy"===z}};switch(z){case"y":return Xn(ht(4,g),nt);case"yo":return Xn(K.ordinalNumber(g,{unit:"year"}),nt);default:return Xn(ht(z.length,g),nt)}}},{key:"validate",value:function(g,z){return z.isTwoDigitYear||z.year>0}},{key:"set",value:function(g,z,K){var nt=g.getUTCFullYear();if(K.isTwoDigitYear){var yt=Tn(K.year,nt);return g.setUTCFullYear(yt,0,1),g.setUTCHours(0,0,0,0),g}return g.setUTCFullYear("era"in z&&1!==z.era?1-K.year:K.year,0,1),g.setUTCHours(0,0,0,0),g}}]),C}(Pn),Ee={};function at(){return Ee}function vn(be,f){var C,L,g,z,K,nt,yt,zt;(0,s.Z)(1,arguments);var cn=at(),yn=(0,Te.Z)(null!==(C=null!==(L=null!==(g=null!==(z=f?.weekStartsOn)&&void 0!==z?z:null==f||null===(K=f.locale)||void 0===K||null===(nt=K.options)||void 0===nt?void 0:nt.weekStartsOn)&&void 0!==g?g:cn.weekStartsOn)&&void 0!==L?L:null===(yt=cn.locale)||void 0===yt||null===(zt=yt.options)||void 0===zt?void 0:zt.weekStartsOn)&&void 0!==C?C:0);if(!(yn>=0&&yn<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var Cn=(0,n.Z)(be),Sn=Cn.getUTCDay(),On=(Sn<yn?7:0)+Sn-yn;return Cn.setUTCDate(Cn.getUTCDate()-On),Cn.setUTCHours(0,0,0,0),Cn}function jn(be,f){var C,L,g,z,K,nt,yt,zt;(0,s.Z)(1,arguments);var cn=(0,n.Z)(be),yn=cn.getUTCFullYear(),Cn=at(),Sn=(0,Te.Z)(null!==(C=null!==(L=null!==(g=null!==(z=f?.firstWeekContainsDate)&&void 0!==z?z:null==f||null===(K=f.locale)||void 0===K||null===(nt=K.options)||void 0===nt?void 0:nt.firstWeekContainsDate)&&void 0!==g?g:Cn.firstWeekContainsDate)&&void 0!==L?L:null===(yt=Cn.locale)||void 0===yt||null===(zt=yt.options)||void 0===zt?void 0:zt.firstWeekContainsDate)&&void 0!==C?C:1);if(!(Sn>=1&&Sn<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var On=new Date(0);On.setUTCFullYear(yn+1,0,Sn),On.setUTCHours(0,0,0,0);var $n=vn(On,f),mr=new Date(0);mr.setUTCFullYear(yn,0,Sn),mr.setUTCHours(0,0,0,0);var yr=vn(mr,f);return cn.getTime()>=$n.getTime()?yn+1:cn.getTime()>=yr.getTime()?yn:yn-1}var In=function(be){jt(C,be);var f=An(C);function C(){var L;bn(this,C);for(var g=arguments.length,z=new Array(g),K=0;K<g;K++)z[K]=arguments[K];return Yt(Lt(L=f.call.apply(f,[this].concat(z))),"priority",130),Yt(Lt(L),"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"]),L}return an(C,[{key:"parse",value:function(g,z,K){var nt=function(zt){return{year:zt,isTwoDigitYear:"YY"===z}};switch(z){case"Y":return Xn(ht(4,g),nt);case"Yo":return Xn(K.ordinalNumber(g,{unit:"year"}),nt);default:return Xn(ht(z.length,g),nt)}}},{key:"validate",value:function(g,z){return z.isTwoDigitYear||z.year>0}},{key:"set",value:function(g,z,K,nt){var yt=jn(g,nt);if(K.isTwoDigitYear){var zt=Tn(K.year,yt);return g.setUTCFullYear(zt,0,nt.firstWeekContainsDate),g.setUTCHours(0,0,0,0),vn(g,nt)}return g.setUTCFullYear("era"in z&&1!==z.era?1-K.year:K.year,0,nt.firstWeekContainsDate),g.setUTCHours(0,0,0,0),vn(g,nt)}}]),C}(Pn);function Qn(be){(0,s.Z)(1,arguments);var C=(0,n.Z)(be),L=C.getUTCDay(),g=(L<1?7:0)+L-1;return C.setUTCDate(C.getUTCDate()-g),C.setUTCHours(0,0,0,0),C}var ni=function(be){jt(C,be);var f=An(C);function C(){var L;bn(this,C);for(var g=arguments.length,z=new Array(g),K=0;K<g;K++)z[K]=arguments[K];return Yt(Lt(L=f.call.apply(f,[this].concat(z))),"priority",130),Yt(Lt(L),"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]),L}return an(C,[{key:"parse",value:function(g,z){return Gt("R"===z?4:z.length,g)}},{key:"set",value:function(g,z,K){var nt=new Date(0);return nt.setUTCFullYear(K,0,4),nt.setUTCHours(0,0,0,0),Qn(nt)}}]),C}(Pn),jr=function(be){jt(C,be);var f=An(C);function C(){var L;bn(this,C);for(var g=arguments.length,z=new Array(g),K=0;K<g;K++)z[K]=arguments[K];return Yt(Lt(L=f.call.apply(f,[this].concat(z))),"priority",130),Yt(Lt(L),"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"]),L}return an(C,[{key:"parse",value:function(g,z){return Gt("u"===z?4:z.length,g)}},{key:"set",value:function(g,z,K){return g.setUTCFullYear(K,0,1),g.setUTCHours(0,0,0,0),g}}]),C}(Pn),no=function(be){jt(C,be);var f=An(C);function C(){var L;bn(this,C);for(var g=arguments.length,z=new Array(g),K=0;K<g;K++)z[K]=arguments[K];return Yt(Lt(L=f.call.apply(f,[this].concat(z))),"priority",120),Yt(Lt(L),"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]),L}return an(C,[{key:"parse",value:function(g,z,K){switch(z){case"Q":case"QQ":return ht(z.length,g);case"Qo":return K.ordinalNumber(g,{unit:"quarter"});case"QQQ":return K.quarter(g,{width:"abbreviated",context:"formatting"})||K.quarter(g,{width:"narrow",context:"formatting"});case"QQQQQ":return K.quarter(g,{width:"narrow",context:"formatting"});default:return K.quarter(g,{width:"wide",context:"formatting"})||K.quarter(g,{width:"abbreviated",context:"formatting"})||K.quarter(g,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(g,z){return z>=1&&z<=4}},{key:"set",value:function(g,z,K){return g.setUTCMonth(3*(K-1),1),g.setUTCHours(0,0,0,0),g}}]),C}(Pn),Kr=function(be){jt(C,be);var f=An(C);function C(){var L;bn(this,C);for(var g=arguments.length,z=new Array(g),K=0;K<g;K++)z[K]=arguments[K];return Yt(Lt(L=f.call.apply(f,[this].concat(z))),"priority",120),Yt(Lt(L),"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]),L}return an(C,[{key:"parse",value:function(g,z,K){switch(z){case"q":case"qq":return ht(z.length,g);case"qo":return K.ordinalNumber(g,{unit:"quarter"});case"qqq":return K.quarter(g,{width:"abbreviated",context:"standalone"})||K.quarter(g,{width:"narrow",context:"standalone"});case"qqqqq":return K.quarter(g,{width:"narrow",context:"standalone"});default:return K.quarter(g,{width:"wide",context:"standalone"})||K.quarter(g,{width:"abbreviated",context:"standalone"})||K.quarter(g,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(g,z){return z>=1&&z<=4}},{key:"set",value:function(g,z,K){return g.setUTCMonth(3*(K-1),1),g.setUTCHours(0,0,0,0),g}}]),C}(Pn),ki=function(be){jt(C,be);var f=An(C);function C(){var L;bn(this,C);for(var g=arguments.length,z=new Array(g),K=0;K<g;K++)z[K]=arguments[K];return Yt(Lt(L=f.call.apply(f,[this].concat(z))),"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]),Yt(Lt(L),"priority",110),L}return an(C,[{key:"parse",value:function(g,z,K){var nt=function(zt){return zt-1};switch(z){case"M":return Xn(je(cr_month,g),nt);case"MM":return Xn(ht(2,g),nt);case"Mo":return Xn(K.ordinalNumber(g,{unit:"month"}),nt);case"MMM":return K.month(g,{width:"abbreviated",context:"formatting"})||K.month(g,{width:"narrow",context:"formatting"});case"MMMMM":return K.month(g,{width:"narrow",context:"formatting"});default:return K.month(g,{width:"wide",context:"formatting"})||K.month(g,{width:"abbreviated",context:"formatting"})||K.month(g,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(g,z){return z>=0&&z<=11}},{key:"set",value:function(g,z,K){return g.setUTCMonth(K,1),g.setUTCHours(0,0,0,0),g}}]),C}(Pn),Pr=function(be){jt(C,be);var f=An(C);function C(){var L;bn(this,C);for(var g=arguments.length,z=new Array(g),K=0;K<g;K++)z[K]=arguments[K];return Yt(Lt(L=f.call.apply(f,[this].concat(z))),"priority",110),Yt(Lt(L),"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]),L}return an(C,[{key:"parse",value:function(g,z,K){var nt=function(zt){return zt-1};switch(z){case"L":return Xn(je(cr_month,g),nt);case"LL":return Xn(ht(2,g),nt);case"Lo":return Xn(K.ordinalNumber(g,{unit:"month"}),nt);case"LLL":return K.month(g,{width:"abbreviated",context:"standalone"})||K.month(g,{width:"narrow",context:"standalone"});case"LLLLL":return K.month(g,{width:"narrow",context:"standalone"});default:return K.month(g,{width:"wide",context:"standalone"})||K.month(g,{width:"abbreviated",context:"standalone"})||K.month(g,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(g,z){return z>=0&&z<=11}},{key:"set",value:function(g,z,K){return g.setUTCMonth(K,1),g.setUTCHours(0,0,0,0),g}}]),C}(Pn);function Hr(be,f){(0,s.Z)(1,arguments);var C=(0,n.Z)(be),L=vn(C,f).getTime()-function Xr(be,f){var C,L,g,z,K,nt,yt,zt;(0,s.Z)(1,arguments);var cn=at(),yn=(0,Te.Z)(null!==(C=null!==(L=null!==(g=null!==(z=f?.firstWeekContainsDate)&&void 0!==z?z:null==f||null===(K=f.locale)||void 0===K||null===(nt=K.options)||void 0===nt?void 0:nt.firstWeekContainsDate)&&void 0!==g?g:cn.firstWeekContainsDate)&&void 0!==L?L:null===(yt=cn.locale)||void 0===yt||null===(zt=yt.options)||void 0===zt?void 0:zt.firstWeekContainsDate)&&void 0!==C?C:1),Cn=jn(be,f),Sn=new Date(0);return Sn.setUTCFullYear(Cn,0,yn),Sn.setUTCHours(0,0,0,0),vn(Sn,f)}(C,f).getTime();return Math.round(L/6048e5)+1}var Ri=function(be){jt(C,be);var f=An(C);function C(){var L;bn(this,C);for(var g=arguments.length,z=new Array(g),K=0;K<g;K++)z[K]=arguments[K];return Yt(Lt(L=f.call.apply(f,[this].concat(z))),"priority",100),Yt(Lt(L),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"]),L}return an(C,[{key:"parse",value:function(g,z,K){switch(z){case"w":return je(cr_week,g);case"wo":return K.ordinalNumber(g,{unit:"week"});default:return ht(z.length,g)}}},{key:"validate",value:function(g,z){return z>=1&&z<=53}},{key:"set",value:function(g,z,K,nt){return vn(function Kn(be,f,C){(0,s.Z)(2,arguments);var L=(0,n.Z)(be),g=(0,Te.Z)(f),z=Hr(L,C)-g;return L.setUTCDate(L.getUTCDate()-7*z),L}(g,K,nt),nt)}}]),C}(Pn);function yi(be){(0,s.Z)(1,arguments);var f=(0,n.Z)(be),C=f.getUTCFullYear(),L=new Date(0);L.setUTCFullYear(C+1,0,4),L.setUTCHours(0,0,0,0);var g=Qn(L),z=new Date(0);z.setUTCFullYear(C,0,4),z.setUTCHours(0,0,0,0);var K=Qn(z);return f.getTime()>=g.getTime()?C+1:f.getTime()>=K.getTime()?C:C-1}function ci(be){(0,s.Z)(1,arguments);var f=(0,n.Z)(be),C=Qn(f).getTime()-function xi(be){(0,s.Z)(1,arguments);var f=yi(be),C=new Date(0);return C.setUTCFullYear(f,0,4),C.setUTCHours(0,0,0,0),Qn(C)}(f).getTime();return Math.round(C/6048e5)+1}var ho=function(be){jt(C,be);var f=An(C);function C(){var L;bn(this,C);for(var g=arguments.length,z=new Array(g),K=0;K<g;K++)z[K]=arguments[K];return Yt(Lt(L=f.call.apply(f,[this].concat(z))),"priority",100),Yt(Lt(L),"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]),L}return an(C,[{key:"parse",value:function(g,z,K){switch(z){case"I":return je(cr_week,g);case"Io":return K.ordinalNumber(g,{unit:"week"});default:return ht(z.length,g)}}},{key:"validate",value:function(g,z){return z>=1&&z<=53}},{key:"set",value:function(g,z,K){return Qn(function Gi(be,f){(0,s.Z)(2,arguments);var C=(0,n.Z)(be),L=(0,Te.Z)(f),g=ci(C)-L;return C.setUTCDate(C.getUTCDate()-7*g),C}(g,K))}}]),C}(Pn),Bo=[31,28,31,30,31,30,31,31,30,31,30,31],Wi=[31,29,31,30,31,30,31,31,30,31,30,31],Do=function(be){jt(C,be);var f=An(C);function C(){var L;bn(this,C);for(var g=arguments.length,z=new Array(g),K=0;K<g;K++)z[K]=arguments[K];return Yt(Lt(L=f.call.apply(f,[this].concat(z))),"priority",90),Yt(Lt(L),"subPriority",1),Yt(Lt(L),"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"]),L}return an(C,[{key:"parse",value:function(g,z,K){switch(z){case"d":return je(cr_date,g);case"do":return K.ordinalNumber(g,{unit:"date"});default:return ht(z.length,g)}}},{key:"validate",value:function(g,z){var nt=qn(g.getUTCFullYear()),yt=g.getUTCMonth();return nt?z>=1&&z<=Wi[yt]:z>=1&&z<=Bo[yt]}},{key:"set",value:function(g,z,K){return g.setUTCDate(K),g.setUTCHours(0,0,0,0),g}}]),C}(Pn),ro=function(be){jt(C,be);var f=An(C);function C(){var L;bn(this,C);for(var g=arguments.length,z=new Array(g),K=0;K<g;K++)z[K]=arguments[K];return Yt(Lt(L=f.call.apply(f,[this].concat(z))),"priority",90),Yt(Lt(L),"subpriority",1),Yt(Lt(L),"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]),L}return an(C,[{key:"parse",value:function(g,z,K){switch(z){case"D":case"DD":return je(cr_dayOfYear,g);case"Do":return K.ordinalNumber(g,{unit:"date"});default:return ht(z.length,g)}}},{key:"validate",value:function(g,z){return qn(g.getUTCFullYear())?z>=1&&z<=366:z>=1&&z<=365}},{key:"set",value:function(g,z,K){return g.setUTCMonth(0,K),g.setUTCHours(0,0,0,0),g}}]),C}(Pn);function Gr(be,f,C){var L,g,z,K,nt,yt,zt,cn;(0,s.Z)(2,arguments);var yn=at(),Cn=(0,Te.Z)(null!==(L=null!==(g=null!==(z=null!==(K=C?.weekStartsOn)&&void 0!==K?K:null==C||null===(nt=C.locale)||void 0===nt||null===(yt=nt.options)||void 0===yt?void 0:yt.weekStartsOn)&&void 0!==z?z:yn.weekStartsOn)&&void 0!==g?g:null===(zt=yn.locale)||void 0===zt||null===(cn=zt.options)||void 0===cn?void 0:cn.weekStartsOn)&&void 0!==L?L:0);if(!(Cn>=0&&Cn<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var Sn=(0,n.Z)(be),On=(0,Te.Z)(f),wr=((On%7+7)%7<Cn?7:0)+On-Sn.getUTCDay();return Sn.setUTCDate(Sn.getUTCDate()+wr),Sn}var ri=function(be){jt(C,be);var f=An(C);function C(){var L;bn(this,C);for(var g=arguments.length,z=new Array(g),K=0;K<g;K++)z[K]=arguments[K];return Yt(Lt(L=f.call.apply(f,[this].concat(z))),"priority",90),Yt(Lt(L),"incompatibleTokens",["D","i","e","c","t","T"]),L}return an(C,[{key:"parse",value:function(g,z,K){switch(z){case"E":case"EE":case"EEE":return K.day(g,{width:"abbreviated",context:"formatting"})||K.day(g,{width:"short",context:"formatting"})||K.day(g,{width:"narrow",context:"formatting"});case"EEEEE":return K.day(g,{width:"narrow",context:"formatting"});case"EEEEEE":return K.day(g,{width:"short",context:"formatting"})||K.day(g,{width:"narrow",context:"formatting"});default:return K.day(g,{width:"wide",context:"formatting"})||K.day(g,{width:"abbreviated",context:"formatting"})||K.day(g,{width:"short",context:"formatting"})||K.day(g,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(g,z){return z>=0&&z<=6}},{key:"set",value:function(g,z,K,nt){return(g=Gr(g,K,nt)).setUTCHours(0,0,0,0),g}}]),C}(Pn),ui=function(be){jt(C,be);var f=An(C);function C(){var L;bn(this,C);for(var g=arguments.length,z=new Array(g),K=0;K<g;K++)z[K]=arguments[K];return Yt(Lt(L=f.call.apply(f,[this].concat(z))),"priority",90),Yt(Lt(L),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]),L}return an(C,[{key:"parse",value:function(g,z,K,nt){var yt=function(cn){var yn=7*Math.floor((cn-1)/7);return(cn+nt.weekStartsOn+6)%7+yn};switch(z){case"e":case"ee":return Xn(ht(z.length,g),yt);case"eo":return Xn(K.ordinalNumber(g,{unit:"day"}),yt);case"eee":return K.day(g,{width:"abbreviated",context:"formatting"})||K.day(g,{width:"short",context:"formatting"})||K.day(g,{width:"narrow",context:"formatting"});case"eeeee":return K.day(g,{width:"narrow",context:"formatting"});case"eeeeee":return K.day(g,{width:"short",context:"formatting"})||K.day(g,{width:"narrow",context:"formatting"});default:return K.day(g,{width:"wide",context:"formatting"})||K.day(g,{width:"abbreviated",context:"formatting"})||K.day(g,{width:"short",context:"formatting"})||K.day(g,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(g,z){return z>=0&&z<=6}},{key:"set",value:function(g,z,K,nt){return(g=Gr(g,K,nt)).setUTCHours(0,0,0,0),g}}]),C}(Pn),bi=function(be){jt(C,be);var f=An(C);function C(){var L;bn(this,C);for(var g=arguments.length,z=new Array(g),K=0;K<g;K++)z[K]=arguments[K];return Yt(Lt(L=f.call.apply(f,[this].concat(z))),"priority",90),Yt(Lt(L),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]),L}return an(C,[{key:"parse",value:function(g,z,K,nt){var yt=function(cn){var yn=7*Math.floor((cn-1)/7);return(cn+nt.weekStartsOn+6)%7+yn};switch(z){case"c":case"cc":return Xn(ht(z.length,g),yt);case"co":return Xn(K.ordinalNumber(g,{unit:"day"}),yt);case"ccc":return K.day(g,{width:"abbreviated",context:"standalone"})||K.day(g,{width:"short",context:"standalone"})||K.day(g,{width:"narrow",context:"standalone"});case"ccccc":return K.day(g,{width:"narrow",context:"standalone"});case"cccccc":return K.day(g,{width:"short",context:"standalone"})||K.day(g,{width:"narrow",context:"standalone"});default:return K.day(g,{width:"wide",context:"standalone"})||K.day(g,{width:"abbreviated",context:"standalone"})||K.day(g,{width:"short",context:"standalone"})||K.day(g,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(g,z){return z>=0&&z<=6}},{key:"set",value:function(g,z,K,nt){return(g=Gr(g,K,nt)).setUTCHours(0,0,0,0),g}}]),C}(Pn),Vi=function(be){jt(C,be);var f=An(C);function C(){var L;bn(this,C);for(var g=arguments.length,z=new Array(g),K=0;K<g;K++)z[K]=arguments[K];return Yt(Lt(L=f.call.apply(f,[this].concat(z))),"priority",90),Yt(Lt(L),"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]),L}return an(C,[{key:"parse",value:function(g,z,K){var nt=function(zt){return 0===zt?7:zt};switch(z){case"i":case"ii":return ht(z.length,g);case"io":return K.ordinalNumber(g,{unit:"day"});case"iii":return Xn(K.day(g,{width:"abbreviated",context:"formatting"})||K.day(g,{width:"short",context:"formatting"})||K.day(g,{width:"narrow",context:"formatting"}),nt);case"iiiii":return Xn(K.day(g,{width:"narrow",context:"formatting"}),nt);case"iiiiii":return Xn(K.day(g,{width:"short",context:"formatting"})||K.day(g,{width:"narrow",context:"formatting"}),nt);default:return Xn(K.day(g,{width:"wide",context:"formatting"})||K.day(g,{width:"abbreviated",context:"formatting"})||K.day(g,{width:"short",context:"formatting"})||K.day(g,{width:"narrow",context:"formatting"}),nt)}}},{key:"validate",value:function(g,z){return z>=1&&z<=7}},{key:"set",value:function(g,z,K){return g=function Ur(be,f){(0,s.Z)(2,arguments);var C=(0,Te.Z)(f);C%7==0&&(C-=7);var g=(0,n.Z)(be),yt=((C%7+7)%7<1?7:0)+C-g.getUTCDay();return g.setUTCDate(g.getUTCDate()+yt),g}(g,K),g.setUTCHours(0,0,0,0),g}}]),C}(Pn),Ei=function(be){jt(C,be);var f=An(C);function C(){var L;bn(this,C);for(var g=arguments.length,z=new Array(g),K=0;K<g;K++)z[K]=arguments[K];return Yt(Lt(L=f.call.apply(f,[this].concat(z))),"priority",80),Yt(Lt(L),"incompatibleTokens",["b","B","H","k","t","T"]),L}return an(C,[{key:"parse",value:function(g,z,K){switch(z){case"a":case"aa":case"aaa":return K.dayPeriod(g,{width:"abbreviated",context:"formatting"})||K.dayPeriod(g,{width:"narrow",context:"formatting"});case"aaaaa":return K.dayPeriod(g,{width:"narrow",context:"formatting"});default:return K.dayPeriod(g,{width:"wide",context:"formatting"})||K.dayPeriod(g,{width:"abbreviated",context:"formatting"})||K.dayPeriod(g,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(g,z,K){return g.setUTCHours(en(K),0,0,0),g}}]),C}(Pn),fo=function(be){jt(C,be);var f=An(C);function C(){var L;bn(this,C);for(var g=arguments.length,z=new Array(g),K=0;K<g;K++)z[K]=arguments[K];return Yt(Lt(L=f.call.apply(f,[this].concat(z))),"priority",80),Yt(Lt(L),"incompatibleTokens",["a","B","H","k","t","T"]),L}return an(C,[{key:"parse",value:function(g,z,K){switch(z){case"b":case"bb":case"bbb":return K.dayPeriod(g,{width:"abbreviated",context:"formatting"})||K.dayPeriod(g,{width:"narrow",context:"formatting"});case"bbbbb":return K.dayPeriod(g,{width:"narrow",context:"formatting"});default:return K.dayPeriod(g,{width:"wide",context:"formatting"})||K.dayPeriod(g,{width:"abbreviated",context:"formatting"})||K.dayPeriod(g,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(g,z,K){return g.setUTCHours(en(K),0,0,0),g}}]),C}(Pn),di=function(be){jt(C,be);var f=An(C);function C(){var L;bn(this,C);for(var g=arguments.length,z=new Array(g),K=0;K<g;K++)z[K]=arguments[K];return Yt(Lt(L=f.call.apply(f,[this].concat(z))),"priority",80),Yt(Lt(L),"incompatibleTokens",["a","b","t","T"]),L}return an(C,[{key:"parse",value:function(g,z,K){switch(z){case"B":case"BB":case"BBB":return K.dayPeriod(g,{width:"abbreviated",context:"formatting"})||K.dayPeriod(g,{width:"narrow",context:"formatting"});case"BBBBB":return K.dayPeriod(g,{width:"narrow",context:"formatting"});default:return K.dayPeriod(g,{width:"wide",context:"formatting"})||K.dayPeriod(g,{width:"abbreviated",context:"formatting"})||K.dayPeriod(g,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(g,z,K){return g.setUTCHours(en(K),0,0,0),g}}]),C}(Pn),Fi=function(be){jt(C,be);var f=An(C);function C(){var L;bn(this,C);for(var g=arguments.length,z=new Array(g),K=0;K<g;K++)z[K]=arguments[K];return Yt(Lt(L=f.call.apply(f,[this].concat(z))),"priority",70),Yt(Lt(L),"incompatibleTokens",["H","K","k","t","T"]),L}return an(C,[{key:"parse",value:function(g,z,K){switch(z){case"h":return je(cr_hour12h,g);case"ho":return K.ordinalNumber(g,{unit:"hour"});default:return ht(z.length,g)}}},{key:"validate",value:function(g,z){return z>=1&&z<=12}},{key:"set",value:function(g,z,K){var nt=g.getUTCHours()>=12;return g.setUTCHours(nt&&K<12?K+12:nt||12!==K?K:0,0,0,0),g}}]),C}(Pn),Li=function(be){jt(C,be);var f=An(C);function C(){var L;bn(this,C);for(var g=arguments.length,z=new Array(g),K=0;K<g;K++)z[K]=arguments[K];return Yt(Lt(L=f.call.apply(f,[this].concat(z))),"priority",70),Yt(Lt(L),"incompatibleTokens",["a","b","h","K","k","t","T"]),L}return an(C,[{key:"parse",value:function(g,z,K){switch(z){case"H":return je(cr_hour23h,g);case"Ho":return K.ordinalNumber(g,{unit:"hour"});default:return ht(z.length,g)}}},{key:"validate",value:function(g,z){return z>=0&&z<=23}},{key:"set",value:function(g,z,K){return g.setUTCHours(K,0,0,0),g}}]),C}(Pn),Ci=function(be){jt(C,be);var f=An(C);function C(){var L;bn(this,C);for(var g=arguments.length,z=new Array(g),K=0;K<g;K++)z[K]=arguments[K];return Yt(Lt(L=f.call.apply(f,[this].concat(z))),"priority",70),Yt(Lt(L),"incompatibleTokens",["h","H","k","t","T"]),L}return an(C,[{key:"parse",value:function(g,z,K){switch(z){case"K":return je(cr_hour11h,g);case"Ko":return K.ordinalNumber(g,{unit:"hour"});default:return ht(z.length,g)}}},{key:"validate",value:function(g,z){return z>=0&&z<=11}},{key:"set",value:function(g,z,K){var nt=g.getUTCHours()>=12;return g.setUTCHours(nt&&K<12?K+12:K,0,0,0),g}}]),C}(Pn),go=function(be){jt(C,be);var f=An(C);function C(){var L;bn(this,C);for(var g=arguments.length,z=new Array(g),K=0;K<g;K++)z[K]=arguments[K];return Yt(Lt(L=f.call.apply(f,[this].concat(z))),"priority",70),Yt(Lt(L),"incompatibleTokens",["a","b","h","H","K","t","T"]),L}return an(C,[{key:"parse",value:function(g,z,K){switch(z){case"k":return je(cr_hour24h,g);case"ko":return K.ordinalNumber(g,{unit:"hour"});default:return ht(z.length,g)}}},{key:"validate",value:function(g,z){return z>=1&&z<=24}},{key:"set",value:function(g,z,K){return g.setUTCHours(K<=24?K%24:K,0,0,0),g}}]),C}(Pn),io=function(be){jt(C,be);var f=An(C);function C(){var L;bn(this,C);for(var g=arguments.length,z=new Array(g),K=0;K<g;K++)z[K]=arguments[K];return Yt(Lt(L=f.call.apply(f,[this].concat(z))),"priority",60),Yt(Lt(L),"incompatibleTokens",["t","T"]),L}return an(C,[{key:"parse",value:function(g,z,K){switch(z){case"m":return je(cr_minute,g);case"mo":return K.ordinalNumber(g,{unit:"minute"});default:return ht(z.length,g)}}},{key:"validate",value:function(g,z){return z>=0&&z<=59}},{key:"set",value:function(g,z,K){return g.setUTCMinutes(K,0,0),g}}]),C}(Pn),hi=function(be){jt(C,be);var f=An(C);function C(){var L;bn(this,C);for(var g=arguments.length,z=new Array(g),K=0;K<g;K++)z[K]=arguments[K];return Yt(Lt(L=f.call.apply(f,[this].concat(z))),"priority",50),Yt(Lt(L),"incompatibleTokens",["t","T"]),L}return an(C,[{key:"parse",value:function(g,z,K){switch(z){case"s":return je(cr_second,g);case"so":return K.ordinalNumber(g,{unit:"second"});default:return ht(z.length,g)}}},{key:"validate",value:function(g,z){return z>=0&&z<=59}},{key:"set",value:function(g,z,K){return g.setUTCSeconds(K,0),g}}]),C}(Pn),fi=function(be){jt(C,be);var f=An(C);function C(){var L;bn(this,C);for(var g=arguments.length,z=new Array(g),K=0;K<g;K++)z[K]=arguments[K];return Yt(Lt(L=f.call.apply(f,[this].concat(z))),"priority",30),Yt(Lt(L),"incompatibleTokens",["t","T"]),L}return an(C,[{key:"parse",value:function(g,z){return Xn(ht(z.length,g),function(yt){return Math.floor(yt*Math.pow(10,3-z.length))})}},{key:"set",value:function(g,z,K){return g.setUTCMilliseconds(K),g}}]),C}(Pn),oo=function(be){jt(C,be);var f=An(C);function C(){var L;bn(this,C);for(var g=arguments.length,z=new Array(g),K=0;K<g;K++)z[K]=arguments[K];return Yt(Lt(L=f.call.apply(f,[this].concat(z))),"priority",10),Yt(Lt(L),"incompatibleTokens",["t","T","x"]),L}return an(C,[{key:"parse",value:function(g,z){switch(z){case"X":return bt(Ir_basicOptionalMinutes,g);case"XX":return bt(Ir_basic,g);case"XXXX":return bt(Ir_basicOptionalSeconds,g);case"XXXXX":return bt(Ir_extendedOptionalSeconds,g);default:return bt(Ir_extended,g)}}},{key:"set",value:function(g,z,K){return z.timestampIsSet?g:new Date(g.getTime()-K)}}]),C}(Pn),Yi=function(be){jt(C,be);var f=An(C);function C(){var L;bn(this,C);for(var g=arguments.length,z=new Array(g),K=0;K<g;K++)z[K]=arguments[K];return Yt(Lt(L=f.call.apply(f,[this].concat(z))),"priority",10),Yt(Lt(L),"incompatibleTokens",["t","T","X"]),L}return an(C,[{key:"parse",value:function(g,z){switch(z){case"x":return bt(Ir_basicOptionalMinutes,g);case"xx":return bt(Ir_basic,g);case"xxxx":return bt(Ir_basicOptionalSeconds,g);case"xxxxx":return bt(Ir_extendedOptionalSeconds,g);default:return bt(Ir_extended,g)}}},{key:"set",value:function(g,z,K){return z.timestampIsSet?g:new Date(g.getTime()-K)}}]),C}(Pn),he=function(be){jt(C,be);var f=An(C);function C(){var L;bn(this,C);for(var g=arguments.length,z=new Array(g),K=0;K<g;K++)z[K]=arguments[K];return Yt(Lt(L=f.call.apply(f,[this].concat(z))),"priority",40),Yt(Lt(L),"incompatibleTokens","*"),L}return an(C,[{key:"parse",value:function(g){return Ot(g)}},{key:"set",value:function(g,z,K){return[new Date(1e3*K),{timestampIsSet:!0}]}}]),C}(Pn),Ae=function(be){jt(C,be);var f=An(C);function C(){var L;bn(this,C);for(var g=arguments.length,z=new Array(g),K=0;K<g;K++)z[K]=arguments[K];return Yt(Lt(L=f.call.apply(f,[this].concat(z))),"priority",20),Yt(Lt(L),"incompatibleTokens","*"),L}return an(C,[{key:"parse",value:function(g){return Ot(g)}},{key:"set",value:function(g,z,K){return[new Date(K),{timestampIsSet:!0}]}}]),C}(Pn),Qe={G:new pr,y:new Gn,Y:new In,R:new ni,u:new jr,Q:new no,q:new Kr,M:new ki,L:new Pr,w:new Ri,I:new ho,d:new Do,D:new ro,E:new ri,e:new ui,c:new bi,i:new Vi,a:new Ei,b:new fo,B:new di,h:new Fi,H:new Li,K:new Ci,k:new go,m:new io,s:new hi,S:new fi,X:new oo,x:new Yi,t:new he,T:new Ae},oe=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Ne=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,pt=/^'([^]*?)'?$/,Tt=/''/g,$t=/\S/,dn=/[a-zA-Z]/;function Bn(be,f,C,L){var g,z,K,nt,yt,zt,cn,yn,Cn,Sn,On,$n,mr,yr,wr,kr,ii,Jr;(0,s.Z)(3,arguments);var Tr=String(be),Vr=String(f),Ii=at(),so=null!==(g=null!==(z=L?.locale)&&void 0!==z?z:Ii.locale)&&void 0!==g?g:gn;if(!so.match)throw new RangeError("locale must contain match property");var $r=(0,Te.Z)(null!==(K=null!==(nt=null!==(yt=null!==(zt=L?.firstWeekContainsDate)&&void 0!==zt?zt:null==L||null===(cn=L.locale)||void 0===cn||null===(yn=cn.options)||void 0===yn?void 0:yn.firstWeekContainsDate)&&void 0!==yt?yt:Ii.firstWeekContainsDate)&&void 0!==nt?nt:null===(Cn=Ii.locale)||void 0===Cn||null===(Sn=Cn.options)||void 0===Sn?void 0:Sn.firstWeekContainsDate)&&void 0!==K?K:1);if(!($r>=1&&$r<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var Io=(0,Te.Z)(null!==(On=null!==($n=null!==(mr=null!==(yr=L?.weekStartsOn)&&void 0!==yr?yr:null==L||null===(wr=L.locale)||void 0===wr||null===(kr=wr.options)||void 0===kr?void 0:kr.weekStartsOn)&&void 0!==mr?mr:Ii.weekStartsOn)&&void 0!==$n?$n:null===(ii=Ii.locale)||void 0===ii||null===(Jr=ii.options)||void 0===Jr?void 0:Jr.weekStartsOn)&&void 0!==On?On:0);if(!(Io>=0&&Io<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(""===Vr)return""===Tr?(0,n.Z)(C):new Date(NaN);var bo,Yr={firstWeekContainsDate:$r,weekStartsOn:Io,locale:so},ur=[new ln],Go=Vr.match(Ne).map(function(zr){var br=zr[0];return br in et?(0,et[br])(zr,so.formatLong):zr}).join("").match(oe),Dr=[],gr=ye(Go);try{var To=function(){var br=bo.value;!(null!=L&&L.useAdditionalWeekYearTokens)&&on(br)&&Qt(br,Vr,be),(null==L||!L.useAdditionalDayOfYearTokens)&&Bt(br)&&Qt(br,Vr,be);var pi=br[0],ao=Qe[pi];if(ao){var Vo=ao.incompatibleTokens;if(Array.isArray(Vo)){var xn=Dr.find(function(wa){return Vo.includes(wa.token)||wa.token===pi});if(xn)throw new RangeError("The format string mustn't contain `".concat(xn.fullToken,"` and `").concat(br,"` at the same time"))}else if("*"===ao.incompatibleTokens&&Dr.length>0)throw new RangeError("The format string mustn't contain `".concat(br,"` and any other token at the same time"));Dr.push({token:pi,fullToken:br});var qo=ao.run(Tr,br,so.match,Yr);if(!qo)return{v:new Date(NaN)};ur.push(qo.setter),Tr=qo.rest}else{if(pi.match(dn))throw new RangeError("Format string contains an unescaped latin alphabet character `"+pi+"`");if("''"===br?br="'":"'"===pi&&(br=function Nn(be){return be.match(pt)[1].replace(Tt,"'")}(br)),0!==Tr.indexOf(br))return{v:new Date(NaN)};Tr=Tr.slice(br.length)}};for(gr.s();!(bo=gr.n()).done;){var Ao=To();if("object"===(0,T.Z)(Ao))return Ao.v}}catch(zr){gr.e(zr)}finally{gr.f()}if(Tr.length>0&&$t.test(Tr))return new Date(NaN);var Ti=ur.map(function(zr){return zr.priority}).sort(function(zr,br){return br-zr}).filter(function(zr,br,pi){return pi.indexOf(zr)===br}).map(function(zr){return ur.filter(function(br){return br.priority===zr}).sort(function(br,pi){return pi.subPriority-br.subPriority})}).map(function(zr){return zr[0]}),ps=(0,n.Z)(C);if(isNaN(ps.getTime()))return new Date(NaN);var Jo,Qi=Ar(ps,Mt(ps)),ms={},Ai=ye(Ti);try{for(Ai.s();!(Jo=Ai.n()).done;){var Ui=Jo.value;if(!Ui.validate(Qi,Yr))return new Date(NaN);var Wo=Ui.set(Qi,ms,Yr);Array.isArray(Wo)?(Qi=Wo[0],Cr(ms,Wo[1])):Qi=Wo}}catch(zr){Ai.e(zr)}finally{Ai.f()}return Qi}function Nt(be,f){return(0,s.Z)(2,arguments),(0,n.Z)(be).getTime()-(0,n.Z)(f).getTime()}function Xt(be){(0,s.Z)(1,arguments);var f=(0,n.Z)(be);return f.setMinutes(0,0,0),f}function ce(be){(0,s.Z)(1,arguments);var f=(0,n.Z)(be);return f.setSeconds(0,0),f}function Le(be){(0,s.Z)(1,arguments);var f=(0,n.Z)(be);return f.setHours(23,59,59,999),f}var Et=r(62467);const fn_y=function(f,C){var L=f.getUTCFullYear(),g=L>0?L:1-L;return(0,Et.Z)("yy"===C?g%100:g,C.length)},fn_M=function(f,C){var L=f.getUTCMonth();return"M"===C?String(L+1):(0,Et.Z)(L+1,2)},fn_d=function(f,C){return(0,Et.Z)(f.getUTCDate(),C.length)},fn_h=function(f,C){return(0,Et.Z)(f.getUTCHours()%12||12,C.length)},fn_H=function(f,C){return(0,Et.Z)(f.getUTCHours(),C.length)},fn_m=function(f,C){return(0,Et.Z)(f.getUTCMinutes(),C.length)},fn_s=function(f,C){return(0,Et.Z)(f.getUTCSeconds(),C.length)},fn_S=function(f,C){var L=C.length,g=f.getUTCMilliseconds(),z=Math.floor(g*Math.pow(10,L-3));return(0,Et.Z)(z,C.length)};function Or(be,f){var C=be>0?"-":"+",L=Math.abs(be),g=Math.floor(L/60),z=L%60;if(0===z)return C+String(g);var K=f||"";return C+String(g)+K+(0,Et.Z)(z,2)}function rr(be,f){return be%60==0?(be>0?"-":"+")+(0,Et.Z)(Math.abs(be)/60,2):Br(be,f)}function Br(be,f){var C=f||"",L=be>0?"-":"+",g=Math.abs(be);return L+(0,Et.Z)(Math.floor(g/60),2)+C+(0,Et.Z)(g%60,2)}const Zi={G:function(f,C,L){var g=f.getUTCFullYear()>0?1:0;switch(C){case"G":case"GG":case"GGG":return L.era(g,{width:"abbreviated"});case"GGGGG":return L.era(g,{width:"narrow"});default:return L.era(g,{width:"wide"})}},y:function(f,C,L){if("yo"===C){var g=f.getUTCFullYear();return L.ordinalNumber(g>0?g:1-g,{unit:"year"})}return fn_y(f,C)},Y:function(f,C,L,g){var z=jn(f,g),K=z>0?z:1-z;return"YY"===C?(0,Et.Z)(K%100,2):"Yo"===C?L.ordinalNumber(K,{unit:"year"}):(0,Et.Z)(K,C.length)},R:function(f,C){var L=yi(f);return(0,Et.Z)(L,C.length)},u:function(f,C){var L=f.getUTCFullYear();return(0,Et.Z)(L,C.length)},Q:function(f,C,L){var g=Math.ceil((f.getUTCMonth()+1)/3);switch(C){case"Q":return String(g);case"QQ":return(0,Et.Z)(g,2);case"Qo":return L.ordinalNumber(g,{unit:"quarter"});case"QQQ":return L.quarter(g,{width:"abbreviated",context:"formatting"});case"QQQQQ":return L.quarter(g,{width:"narrow",context:"formatting"});default:return L.quarter(g,{width:"wide",context:"formatting"})}},q:function(f,C,L){var g=Math.ceil((f.getUTCMonth()+1)/3);switch(C){case"q":return String(g);case"qq":return(0,Et.Z)(g,2);case"qo":return L.ordinalNumber(g,{unit:"quarter"});case"qqq":return L.quarter(g,{width:"abbreviated",context:"standalone"});case"qqqqq":return L.quarter(g,{width:"narrow",context:"standalone"});default:return L.quarter(g,{width:"wide",context:"standalone"})}},M:function(f,C,L){var g=f.getUTCMonth();switch(C){case"M":case"MM":return fn_M(f,C);case"Mo":return L.ordinalNumber(g+1,{unit:"month"});case"MMM":return L.month(g,{width:"abbreviated",context:"formatting"});case"MMMMM":return L.month(g,{width:"narrow",context:"formatting"});default:return L.month(g,{width:"wide",context:"formatting"})}},L:function(f,C,L){var g=f.getUTCMonth();switch(C){case"L":return String(g+1);case"LL":return(0,Et.Z)(g+1,2);case"Lo":return L.ordinalNumber(g+1,{unit:"month"});case"LLL":return L.month(g,{width:"abbreviated",context:"standalone"});case"LLLLL":return L.month(g,{width:"narrow",context:"standalone"});default:return L.month(g,{width:"wide",context:"standalone"})}},w:function(f,C,L,g){var z=Hr(f,g);return"wo"===C?L.ordinalNumber(z,{unit:"week"}):(0,Et.Z)(z,C.length)},I:function(f,C,L){var g=ci(f);return"Io"===C?L.ordinalNumber(g,{unit:"week"}):(0,Et.Z)(g,C.length)},d:function(f,C,L){return"do"===C?L.ordinalNumber(f.getUTCDate(),{unit:"date"}):fn_d(f,C)},D:function(f,C,L){var g=function Ie(be){(0,s.Z)(1,arguments);var f=(0,n.Z)(be),C=f.getTime();f.setUTCMonth(0,1),f.setUTCHours(0,0,0,0);var L=f.getTime();return Math.floor((C-L)/864e5)+1}(f);return"Do"===C?L.ordinalNumber(g,{unit:"dayOfYear"}):(0,Et.Z)(g,C.length)},E:function(f,C,L){var g=f.getUTCDay();switch(C){case"E":case"EE":case"EEE":return L.day(g,{width:"abbreviated",context:"formatting"});case"EEEEE":return L.day(g,{width:"narrow",context:"formatting"});case"EEEEEE":return L.day(g,{width:"short",context:"formatting"});default:return L.day(g,{width:"wide",context:"formatting"})}},e:function(f,C,L,g){var z=f.getUTCDay(),K=(z-g.weekStartsOn+8)%7||7;switch(C){case"e":return String(K);case"ee":return(0,Et.Z)(K,2);case"eo":return L.ordinalNumber(K,{unit:"day"});case"eee":return L.day(z,{width:"abbreviated",context:"formatting"});case"eeeee":return L.day(z,{width:"narrow",context:"formatting"});case"eeeeee":return L.day(z,{width:"short",context:"formatting"});default:return L.day(z,{width:"wide",context:"formatting"})}},c:function(f,C,L,g){var z=f.getUTCDay(),K=(z-g.weekStartsOn+8)%7||7;switch(C){case"c":return String(K);case"cc":return(0,Et.Z)(K,C.length);case"co":return L.ordinalNumber(K,{unit:"day"});case"ccc":return L.day(z,{width:"abbreviated",context:"standalone"});case"ccccc":return L.day(z,{width:"narrow",context:"standalone"});case"cccccc":return L.day(z,{width:"short",context:"standalone"});default:return L.day(z,{width:"wide",context:"standalone"})}},i:function(f,C,L){var g=f.getUTCDay(),z=0===g?7:g;switch(C){case"i":return String(z);case"ii":return(0,Et.Z)(z,C.length);case"io":return L.ordinalNumber(z,{unit:"day"});case"iii":return L.day(g,{width:"abbreviated",context:"formatting"});case"iiiii":return L.day(g,{width:"narrow",context:"formatting"});case"iiiiii":return L.day(g,{width:"short",context:"formatting"});default:return L.day(g,{width:"wide",context:"formatting"})}},a:function(f,C,L){var z=f.getUTCHours()/12>=1?"pm":"am";switch(C){case"a":case"aa":return L.dayPeriod(z,{width:"abbreviated",context:"formatting"});case"aaa":return L.dayPeriod(z,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return L.dayPeriod(z,{width:"narrow",context:"formatting"});default:return L.dayPeriod(z,{width:"wide",context:"formatting"})}},b:function(f,C,L){var z,g=f.getUTCHours();switch(z=12===g?"noon":0===g?"midnight":g/12>=1?"pm":"am",C){case"b":case"bb":return L.dayPeriod(z,{width:"abbreviated",context:"formatting"});case"bbb":return L.dayPeriod(z,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return L.dayPeriod(z,{width:"narrow",context:"formatting"});default:return L.dayPeriod(z,{width:"wide",context:"formatting"})}},B:function(f,C,L){var z,g=f.getUTCHours();switch(z=g>=17?"evening":g>=12?"afternoon":g>=4?"morning":"night",C){case"B":case"BB":case"BBB":return L.dayPeriod(z,{width:"abbreviated",context:"formatting"});case"BBBBB":return L.dayPeriod(z,{width:"narrow",context:"formatting"});default:return L.dayPeriod(z,{width:"wide",context:"formatting"})}},h:function(f,C,L){if("ho"===C){var g=f.getUTCHours()%12;return 0===g&&(g=12),L.ordinalNumber(g,{unit:"hour"})}return fn_h(f,C)},H:function(f,C,L){return"Ho"===C?L.ordinalNumber(f.getUTCHours(),{unit:"hour"}):fn_H(f,C)},K:function(f,C,L){var g=f.getUTCHours()%12;return"Ko"===C?L.ordinalNumber(g,{unit:"hour"}):(0,Et.Z)(g,C.length)},k:function(f,C,L){var g=f.getUTCHours();return 0===g&&(g=24),"ko"===C?L.ordinalNumber(g,{unit:"hour"}):(0,Et.Z)(g,C.length)},m:function(f,C,L){return"mo"===C?L.ordinalNumber(f.getUTCMinutes(),{unit:"minute"}):fn_m(f,C)},s:function(f,C,L){return"so"===C?L.ordinalNumber(f.getUTCSeconds(),{unit:"second"}):fn_s(f,C)},S:function(f,C){return fn_S(f,C)},X:function(f,C,L,g){var K=(g._originalDate||f).getTimezoneOffset();if(0===K)return"Z";switch(C){case"X":return rr(K);case"XXXX":case"XX":return Br(K);default:return Br(K,":")}},x:function(f,C,L,g){var K=(g._originalDate||f).getTimezoneOffset();switch(C){case"x":return rr(K);case"xxxx":case"xx":return Br(K);default:return Br(K,":")}},O:function(f,C,L,g){var K=(g._originalDate||f).getTimezoneOffset();switch(C){case"O":case"OO":case"OOO":return"GMT"+Or(K,":");default:return"GMT"+Br(K,":")}},z:function(f,C,L,g){var K=(g._originalDate||f).getTimezoneOffset();switch(C){case"z":case"zz":case"zzz":return"GMT"+Or(K,":");default:return"GMT"+Br(K,":")}},t:function(f,C,L,g){var K=Math.floor((g._originalDate||f).getTime()/1e3);return(0,Et.Z)(K,C.length)},T:function(f,C,L,g){var K=(g._originalDate||f).getTime();return(0,Et.Z)(K,C.length)}};var Qr=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,po=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,$o=/^'([^]*?)'?$/,_i=/''/g,mo=/[a-zA-Z]/;function Di(be,f,C){var L,g,z,K,nt,yt,zt,cn,yn,Cn,Sn,On,$n,mr,yr,wr,kr,ii;(0,s.Z)(2,arguments);var Jr=String(f),Tr=at(),Vr=null!==(L=null!==(g=C?.locale)&&void 0!==g?g:Tr.locale)&&void 0!==L?L:gn,Ii=(0,Te.Z)(null!==(z=null!==(K=null!==(nt=null!==(yt=C?.firstWeekContainsDate)&&void 0!==yt?yt:null==C||null===(zt=C.locale)||void 0===zt||null===(cn=zt.options)||void 0===cn?void 0:cn.firstWeekContainsDate)&&void 0!==nt?nt:Tr.firstWeekContainsDate)&&void 0!==K?K:null===(yn=Tr.locale)||void 0===yn||null===(Cn=yn.options)||void 0===Cn?void 0:Cn.firstWeekContainsDate)&&void 0!==z?z:1);if(!(Ii>=1&&Ii<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var so=(0,Te.Z)(null!==(Sn=null!==(On=null!==($n=null!==(mr=C?.weekStartsOn)&&void 0!==mr?mr:null==C||null===(yr=C.locale)||void 0===yr||null===(wr=yr.options)||void 0===wr?void 0:wr.weekStartsOn)&&void 0!==$n?$n:Tr.weekStartsOn)&&void 0!==On?On:null===(kr=Tr.locale)||void 0===kr||null===(ii=kr.options)||void 0===ii?void 0:ii.weekStartsOn)&&void 0!==Sn?Sn:0);if(!(so>=0&&so<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!Vr.localize)throw new RangeError("locale must contain localize property");if(!Vr.formatLong)throw new RangeError("locale must contain formatLong property");var $r=(0,n.Z)(be);if(!B($r))throw new RangeError("Invalid time value");var Yr=Ar($r,Mt($r)),ur={firstWeekContainsDate:Ii,weekStartsOn:so,locale:Vr,_originalDate:$r},Go=Jr.match(po).map(function(Dr){var gr=Dr[0];return"p"===gr||"P"===gr?(0,et[gr])(Dr,Vr.formatLong):Dr}).join("").match(Qr).map(function(Dr){if("''"===Dr)return"'";var gr=Dr[0];if("'"===gr)return function kn(be){var f=be.match($o);return f?f[1].replace(_i,"'"):be}(Dr);var bo=Zi[gr];if(bo)return!(null!=C&&C.useAdditionalWeekYearTokens)&&on(Dr)&&Qt(Dr,f,String(be)),!(null!=C&&C.useAdditionalDayOfYearTokens)&&Bt(Dr)&&Qt(Dr,f,String(be)),bo(Yr,Dr,Vr.localize,ur);if(gr.match(mo))throw new RangeError("Format string contains an unescaped latin alphabet character `"+gr+"`");return Dr}).join("");return Go}function Xi(be,f){(0,s.Z)(2,arguments);var C=(0,n.Z)(be),L=(0,n.Z)(f),g=C.getTime()-L.getTime();return g<0?-1:g>0?1:g}function _o(be,f){(0,s.Z)(2,arguments);var K,C=(0,n.Z)(be),L=(0,n.Z)(f),g=Xi(C,L),z=Math.abs(function vo(be,f){(0,s.Z)(2,arguments);var C=(0,n.Z)(be),L=(0,n.Z)(f);return 12*(C.getFullYear()-L.getFullYear())+(C.getMonth()-L.getMonth())}(C,L));if(z<1)K=0;else{1===C.getMonth()&&C.getDate()>27&&C.setDate(30),C.setMonth(C.getMonth()-g*z);var nt=Xi(C,L)===-g;(function No(be){(0,s.Z)(1,arguments);var f=(0,n.Z)(be);return Le(f).getTime()===function Mi(be){(0,s.Z)(1,arguments);var f=(0,n.Z)(be),C=f.getMonth();return f.setFullYear(f.getFullYear(),C+1,0),f.setHours(23,59,59,999),f}(f).getTime()})((0,n.Z)(be))&&1===z&&1===Xi(be,L)&&(nt=!1),K=g*(z-Number(nt))}return 0===K?0:K}var _r={ceil:Math.ceil,round:Math.round,floor:Math.floor,trunc:function(f){return f<0?Math.ceil(f):Math.floor(f)}},yo="trunc";function fs(be,f,C){var L,g;(0,s.Z)(2,arguments);var z=at(),K=null!==(L=null!==(g=C?.locale)&&void 0!==g?g:z.locale)&&void 0!==L?L:gn;if(!K.formatDistance)throw new RangeError("locale must contain formatDistance property");var nt=Xi(be,f);if(isNaN(nt))throw new RangeError("Invalid time value");var zt,cn,yt=Cr(function Yo(be){return Cr({},be)}(C),{addSuffix:!!C?.addSuffix,comparison:nt});nt>0?(zt=(0,n.Z)(f),cn=(0,n.Z)(be)):(zt=(0,n.Z)(be),cn=(0,n.Z)(f));var On,yn=function Nr(be,f,C){(0,s.Z)(2,arguments);var L=Nt(be,f)/1e3;return function Wr(be){return be?_r[be]:_r[yo]}(C?.roundingMethod)(L)}(cn,zt),Cn=(Mt(cn)-Mt(zt))/1e3,Sn=Math.round((yn-Cn)/60);if(Sn<2)return null!=C&&C.includeSeconds?yn<5?K.formatDistance("lessThanXSeconds",5,yt):yn<10?K.formatDistance("lessThanXSeconds",10,yt):yn<20?K.formatDistance("lessThanXSeconds",20,yt):yn<40?K.formatDistance("halfAMinute",0,yt):K.formatDistance(yn<60?"lessThanXMinutes":"xMinutes",1,yt):0===Sn?K.formatDistance("lessThanXMinutes",1,yt):K.formatDistance("xMinutes",Sn,yt);if(Sn<45)return K.formatDistance("xMinutes",Sn,yt);if(Sn<90)return K.formatDistance("aboutXHours",1,yt);if(Sn<1440){var $n=Math.round(Sn/60);return K.formatDistance("aboutXHours",$n,yt)}if(Sn<2520)return K.formatDistance("xDays",1,yt);if(Sn<43200){var mr=Math.round(Sn/1440);return K.formatDistance("xDays",mr,yt)}if(Sn<86400)return On=Math.round(Sn/43200),K.formatDistance("aboutXMonths",On,yt);if((On=_o(cn,zt))<12){var yr=Math.round(Sn/43200);return K.formatDistance("xMonths",yr,yt)}var wr=On%12,kr=Math.floor(On/12);return wr<3?K.formatDistance("aboutXYears",kr,yt):wr<9?K.formatDistance("overXYears",kr,yt):K.formatDistance("almostXYears",kr+1,yt)}var ko=r(97652),Oa=r(77533);let Ho=(()=>{var be;class f{constructor(){this.localeFileContent=Wn}setAppLocale(L){r(84452)(`./${this.getLocaleChunkIdentifier(L)}/index.js`).then(g=>{this.localeFileContent=g.default}).catch(()=>{})}setDefaultTimezone(L){this.timezone=L}getLocaleFirstDayOfWeek(){return this.localeFileContent&&this.localeFileContent.options&&this.localeFileContent.options.weekStartsOn||0}getLocaleDaysNames(L){let g="narrow";switch(L){case"short":g="abbreviated";break;case"long":g="wide";break;default:g="narrow"}return[0,1,2,3,4,5,6].map(z=>this.localeFileContent.localize&&this.localeFileContent.localize.day(z,{width:g})||z)}isBefore(L,g){return c(this.createDateWithIso(L),this.createDateWithIso(g))}isAfter(L,g){return h(this.createDateWithIso(L),this.createDateWithIso(g))}isNowAfterDate(L,g="full"){const z=new Date;return"day"===g?h((0,v.Z)(z,{hours:0,minutes:0,seconds:0,milliseconds:0}),(0,v.Z)(L,{hours:0,minutes:0,seconds:0,milliseconds:0})):h(z,L)}isNowBeforeDate(L){return c(new Date,L)}isDateTodayWithISO(L){return function b(be){return(0,s.Z)(1,arguments),m(be,Date.now())}(this.createDateWithIso(L))}isDateYesterdayWithISO(L){return function D(be){return(0,s.Z)(1,arguments),m(be,(0,p.Z)(Date.now(),1))}(this.createDateWithIso(L))}isDateTomorrowWithISO(L){return function u(be){return(0,s.Z)(1,arguments),m(be,(0,a.Z)(Date.now(),1))}(this.createDateWithIso(L))}isDateBetween(L,g,z){return function E(be,f){(0,s.Z)(2,arguments);var C=(0,n.Z)(be).getTime(),L=(0,n.Z)(f.start).getTime(),g=(0,n.Z)(f.end).getTime();if(!(L<=g))throw new RangeError("Invalid interval");return C>=L&&C<=g}(L,{start:g,end:z})}isDateValid(L){return B(L)}createDateWithIso(L){return function ee(be,f){var C;(0,s.Z)(1,arguments);var L=(0,Te.Z)(null!==(C=f?.additionalDigits)&&void 0!==C?C:2);if(2!==L&&1!==L&&0!==L)throw new RangeError("additionalDigits must be 0, 1 or 2");if("string"!=typeof be&&"[object String]"!==Object.prototype.toString.call(be))return new Date(NaN);var z,g=function Me(be){var L,f={},C=be.split(Q.dateTimeDelimiter);if(C.length>2)return f;if(/:/.test(C[0])?L=C[0]:(f.date=C[0],L=C[1],Q.timeZoneDelimiter.test(f.date)&&(f.date=be.split(Q.timeZoneDelimiter)[0],L=be.substr(f.date.length,be.length))),L){var g=Q.timezone.exec(L);g?(f.time=L.replace(g[1],""),f.timezone=g[1]):f.time=L}return f}(be);if(g.date){var K=function ct(be,f){var C=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+f)+"})|(\\d{2}|[+-]\\d{"+(2+f)+"})$)"),L=be.match(C);if(!L)return{year:NaN,restDateString:""};var g=L[1]?parseInt(L[1]):null,z=L[2]?parseInt(L[2]):null;return{year:null===z?g:100*z,restDateString:be.slice((L[1]||L[2]).length)}}(g.date,L);z=function vt(be,f){if(null===f)return new Date(NaN);var C=be.match(me);if(!C)return new Date(NaN);var L=!!C[4],g=Pt(C[1]),z=Pt(C[2])-1,K=Pt(C[3]),nt=Pt(C[4]),yt=Pt(C[5])-1;if(L)return function Je(be,f,C){return f>=1&&f<=53&&C>=0&&C<=6}(0,nt,yt)?function ne(be,f,C){var L=new Date(0);L.setUTCFullYear(be,0,4);var z=7*(f-1)+C+1-(L.getUTCDay()||7);return L.setUTCDate(L.getUTCDate()+z),L}(f,nt,yt):new Date(NaN);var zt=new Date(0);return function w(be,f,C){return f>=0&&f<=11&&C>=1&&C<=(y[f]||(ae(be)?29:28))}(f,z,K)&&function Fe(be,f){return f>=1&&f<=(ae(be)?366:365)}(f,g)?(zt.setUTCFullYear(f,z,Math.max(g,K)),zt):new Date(NaN)}(K.restDateString,K.year)}if(!z||isNaN(z.getTime()))return new Date(NaN);var zt,nt=z.getTime(),yt=0;if(g.time&&(yt=function lt(be){var f=be.match(pe);if(!f)return NaN;var C=tt(f[1]),L=tt(f[2]),g=tt(f[3]);return function St(be,f,C){return 24===be?0===f&&0===C:C>=0&&C<60&&f>=0&&f<60&&be>=0&&be<25}(C,L,g)?C*U+L*X+1e3*g:NaN}(g.time),isNaN(yt)))return new Date(NaN);if(!g.timezone){var cn=new Date(nt+yt),yn=new Date(0);return yn.setFullYear(cn.getUTCFullYear(),cn.getUTCMonth(),cn.getUTCDate()),yn.setHours(cn.getUTCHours(),cn.getUTCMinutes(),cn.getUTCSeconds(),cn.getUTCMilliseconds()),yn}return zt=function ut(be){if("Z"===be)return 0;var f=be.match(se);if(!f)return 0;var C="+"===f[1]?-1:1,L=parseInt(f[2]),g=f[3]&&parseInt(f[3])||0;return function gt(be,f){return f>=0&&f<=59}(0,g)?C*(L*U+g*X):NaN}(g.timezone),isNaN(zt)?new Date(NaN):new Date(nt+yt+zt)}(L)}createDateWithFormat(L,g){return Bn(L,g,new Date)}getDifferenceInMilisecondsWithISO(L,g){return Nt(this.createDateWithIso(L),this.createDateWithIso(g))}areDatesTheSameDayWithISO(L,g){return m(this.createDateWithIso(L),this.createDateWithIso(g))}areDatesTheSameDay(L,g){return m(L,g)}areDatesTheSameHour(L,g){return function wn(be,f){(0,s.Z)(2,arguments);var C=Xt(be),L=Xt(f);return C.getTime()===L.getTime()}(this.createDateWithIso(L),this.createDateWithIso(g))}areDatesTheSameMinute(L,g){return function ie(be,f){(0,s.Z)(2,arguments);var C=ce(be),L=ce(f);return C.getTime()===L.getTime()}(this.createDateWithIso(L),this.createDateWithIso(g))}getEndOfDay(L){return Le(this.createDateWithIso(L))}formatDateWithTemplate(L,g){return Di(L,this.convertGBDateTemplateToDateFnsTemplate(g),{locale:this.localeFileContent})}formatUTCWithTimezone(L,g,z){return(0,ko.format)((0,ko.utcToZonedTime)(L,z||this.timezone),this.convertGBDateTemplateToDateFnsTemplate(g),{locale:this.localeFileContent})}formatFromNowWithISO(L){return function Pa(be,f){return(0,s.Z)(1,arguments),fs(be,Date.now(),f)}(this.createDateWithIso(L),{locale:this.localeFileContent})}getUTCTimezoneOffset(){return Di(new Date,"XX")}addDaysToDate(L,g){return(0,a.Z)(L,g)}createDateWithFormatInZone(L,g,z){const K=this.createDateWithFormat(L,this.convertGBDateTemplateToDateFnsTemplate(g));return(0,ko.utcToZonedTime)(K,z||this.timezone)}createNowInZone(L){return(0,ko.utcToZonedTime)(new Date,L||this.timezone)}getDayOfWeek(L){return function Xo(be){return(0,s.Z)(1,arguments),(0,n.Z)(be).getDay()}(L)}getMonthOfYear(L){return function gs(be){return(0,s.Z)(1,arguments),(0,n.Z)(be).getMonth()}(L)}setToDate(L,g){return(0,v.Z)(L,g)}secondsToHms(L,g=!1,z=!1){if(!L||L<0)return g?"00:00"+(z?":00":""):"";{let K="HH:mm:ss";const nt=function Qo(be,f){if((0,s.Z)(2,arguments),!f||"object"!==(0,T.Z)(f))return new Date(NaN);var C=f.years?(0,Te.Z)(f.years):0,L=f.months?(0,Te.Z)(f.months):0,g=f.weeks?(0,Te.Z)(f.weeks):0,z=f.days?(0,Te.Z)(f.days):0,K=f.hours?(0,Te.Z)(f.hours):0,nt=f.minutes?(0,Te.Z)(f.minutes):0,yt=f.seconds?(0,Te.Z)(f.seconds):0,zt=(0,n.Z)(be),cn=L||C?function Rs(be,f){(0,s.Z)(2,arguments);var C=(0,n.Z)(be),L=(0,Te.Z)(f);if(isNaN(L))return new Date(NaN);if(!L)return C;var g=C.getDate(),z=new Date(C.getTime());return z.setMonth(C.getMonth()+L+1,0),g>=z.getDate()?z:(C.setFullYear(z.getFullYear(),z.getMonth(),g),C)}(zt,L+12*C):zt,yn=z||g?(0,a.Z)(cn,z+7*g):cn,On=1e3*(yt+60*(nt+60*K));return new Date(yn.getTime()+On)}(Bn("00:00:00","HH:mm:ss",new Date),{seconds:L});return!z&&L<3600&&(K="mm:ss"),this.formatDateWithTemplate(nt,K)}}convertGBDateTemplateToDateFnsTemplate(L){return"string"!=typeof L||""===L?"yyyy-MM-dd'T'HH:mm:ssxxxxx":L.replace(/'/g,"").replace(/\bYY\b/g,"yy").replace(/\bYYYY\b/g,"yyyy").replace(/\bD\b/g,"d").replace(/\bDD\b/g,"dd").replace(/\b(de)\b/g,"'$1'").replace(/\bdddd\b/g,"EEEE")}getLocaleChunkIdentifier(L){switch(L){case"no_NO":return"nb";case"pt_BR":case"zh_CN":case"zh_TW":case"fa_IR":case"en_US":return L.replace("_","-");default:return L.replace(/_[A-Z]+/,"")}}}return(be=f).\u0275fac=function(L){return new(L||be)},be.\u0275prov=Oa.Yz7({token:be,factory:be.\u0275fac,providedIn:"root"}),f})()},9239:(_e,R,r)=>{"use strict";r.d(R,{a:()=>h,K:()=>s});var n=r(77533);const s=new n.OlP("ComponentWithGesture");var c=r(45781);let h=(()=>{var v;class _ extends c.hm{buildHammer(b){const p={...Hammer.defaults.cssProps,touchCallout:"initial"};return new Hammer(b,{inputClass:Hammer.TouchMouseInput,touchAction:"manipulation",cssProps:p})}}return(v=_).\u0275fac=(()=>{let m;return function(p){return(m||(m=n.n5z(v)))(p||v)}})(),v.\u0275prov=n.Yz7({token:v,factory:v.\u0275fac}),_})()},43879:(_e,R,r)=>{"use strict";r.d(R,{V_:()=>v,a1:()=>p,t$:()=>D,o$:()=>M,mp:()=>u,gT:()=>E});var n=r(58516),s=r(21163),c=r(77533);const h=new Set;h.add("GBCommerceProductDetail"),h.add("GBModuleTypeAbout"),h.add("GBModuleTypeArticle"),h.add("GBModuleTypeAgenda"),h.add("GBModuleTypeMaps"),h.add("GBModuleTypeVideo"),h.add("GBModuleTypeSound");let v=(()=>{var B;class N{constructor(A,X,U,O){this.platform=A,this.settingsManager=X,this.appType=U,this.serverContext=O}canActivateChild(A,X){if(this.platform.isBrowser)return!0;let k,U=A.data&&A.data.section,O=A.parent;for(;O&&!U;)U=O.data&&O.data.section,O=O.parent;return U?k=this.settingsManager.getSectionsType(U):"designCommonType"in A.data&&(k=A.data.designCommonType),!!("amp"!==this.appType||k&&h.has(k)&&this.settingsManager.getAmpEnabled())||("amp"===this.appType&&this.serverContext&&this.serverContext.response.redirect(301,X.url),!1)}}return(B=N).\u0275fac=function(A){return new(A||B)(c.LFG(n.mix),c.LFG(n.pzk),c.LFG(n.IFQ),c.LFG(s.C9,8))},B.\u0275prov=c.Yz7({token:B,factory:B.\u0275fac,providedIn:"root"}),N})();var _=r(97478),m=r(60110),b=r(49804);let p=(()=>{var B;class N{constructor(A,X,U,O,k){this.authService=A,this.itemFactory=X,this.settingsManager=U,this.platform=O,this.serverContext=k}canActivate(A,X){return this.checkPermissions(A,X)}canActivateChild(A,X){return this.checkPermissions(A,X)}checkPermissions(A,X){const U=A.data.section?A.data.section:null;if(this.settingsManager.isLoginV3())return!0;if(this.platform.isPreviewApp||this.platform.isPortalApp){const O=n.qqQ,k=this.settingsManager.getProfileSectionId();return k&&(O.attribs.intern=this.getMockProfileFields(k)),this.authService.authenticatedUser=this.itemFactory.createUser(new n.sT0(O)),!0}return!this.settingsManager.getLogin()||this.authService.isRestrictedContent(U).pipe((0,_.U)(O=>!O),(0,m.b)(O=>{O||(this.platform.isAmpApp?this.serverContext.response.redirect(301,X.url):this.authService.redirectToLogin({skipEnabled:!0,redirectUrl:X.url,sectionId:U}))}),(0,b.q)(1))}getMockProfileFields(A){const X=this.settingsManager.getProfileFields(A),U={};for(const O in X){const k=this.settingsManager.getProfileFieldType(A,O),I=this.settingsManager.getProfileField(A,O),F=this.settingsManager.getProfileFieldId(A,O);if(0===k)I.value="Lorem ipsum dolor sit amet";else if(6===k)I.value="Lorem ipsum dolor sit amet, consectetur adipiscing elit";else if(1===k)I.value=52;else if(3===k){const P=this.settingsManager.getProfileFieldChoices(A,O);I.value=P&&P[0]||"First option"}else 4===k&&(I.value="+44 7700 900085");U[F]=I}return U}}return(B=N).\u0275fac=function(A){return new(A||B)(c.LFG(n.e80),c.LFG(n.HP0),c.LFG(n.pzk),c.LFG(n.mix),c.LFG(s.C9,8))},B.\u0275prov=c.Yz7({token:B,factory:B.\u0275fac,providedIn:"root"}),N})(),D=(()=>{var B;class N{constructor(A,X,U){this.navigation=A,this.settingsManager=X,this.linksBuilder=U}canLoad(A){return!!this.settingsManager.getLogin()||(this.navigation.navigateWithoutHistory(this.linksBuilder.getNotFoundRouterLink()),!1)}}return(B=N).\u0275fac=function(A){return new(A||B)(c.LFG(n.wwQ),c.LFG(n.pzk),c.LFG(n.Buc))},B.\u0275prov=c.Yz7({token:B,factory:B.\u0275fac,providedIn:"root"}),N})();var a=r(55096);let u=(()=>{var B;class N{constructor(A,X){this.authService=A,this.router=X}canActivate(A,X){return this.checkPermissions(A,X)}canActivateChild(A,X){return this.checkPermissions(A,X)}checkPermissions(A,X){const U=A.data.section?A.data.section:null;return this.authService.loggedIn.pipe((0,m.b)(O=>{O||this.authService.redirectToLogin({cancelUrl:this.router.url,isModal:!0,redirectUrl:X.url,sectionId:U})}),(0,b.q)(1))}}return(B=N).\u0275fac=function(A){return new(A||B)(c.LFG(n.e80),c.LFG(a.F0))},B.\u0275prov=c.Yz7({token:B,factory:B.\u0275fac,providedIn:"root"}),N})(),E=(()=>{var B;class N{constructor(A,X,U){this.navigationManager=A,this.settingsManager=X,this.linksBuilder=U}canActivate(A,X){return this.checkCategories(A,X)}canActivateChild(A,X){return this.checkCategories(A,X)}checkCategories(A,X){const U=A.data.section,O=A.paramMap.get("category"),k=A.paramMap.get("item_id"),I=this.settingsManager.getRootFirstSectionSectionId();if(this.settingsManager.getSectionsSubsectionsCount(U)>0){if(O){if(new RegExp("^/c/").exec(X.url)){if(k){const H=this.linksBuilder.getItemIdWithCategoryRouterLink(U,+O,k,A.params.item_name);this.navigationManager.navigate(H,{fragment:A.fragment})}else{const P=this.linksBuilder.getSectionCategoryRouterLink(U,+O);this.navigationManager.navigate(P,{fragment:A.fragment})}return!1}return!0}if(k){const P=this.linksBuilder.getItemIdWithCategoryRouterLink(U,0,k,A.params.item_name);this.navigationManager.navigate(P,{fragment:A.fragment})}else{const F=this.linksBuilder.getSectionCategoryRouterLink(U,0);this.navigationManager.navigate(F,{fragment:A.fragment},{resetHistory:this.navigationManager.resetHistory||U===I})}return!1}return this.checkItem(A,X)}checkItem(A,X){const U=A.data.section,O=A.paramMap.get("item_id");if(O&&new RegExp("^/i/").exec(X.url)){const F=this.linksBuilder.getItemSimpleRouterLink(U,O,A.params.item_name);return this.navigationManager.navigate(F,{fragment:A.fragment}),!1}return!0}}return(B=N).\u0275fac=function(A){return new(A||B)(c.LFG(n.wwQ),c.LFG(n.pzk),c.LFG(n.Buc))},B.\u0275prov=c.Yz7({token:B,factory:B.\u0275fac,providedIn:"root"}),N})();const T=new Set;T.add("GBModuleTypeLoyalty"),T.add("GBModuleTypeChat"),T.add("GBModuleTypeUserslist"),T.add("GBModuleTypeCouponing");let M=(()=>{var B;class N{constructor(A,X,U){this.navigation=A,this.settingsManager=X,this.linksBuilder=U}canLoad(A){const U=this.settingsManager.getSectionsType(A.data&&A.data.section);return!this.settingsManager.isLoginV3()||!T.has(U)||(this.navigation.navigate(this.linksBuilder.getNotFoundRouterLink()),!1)}}return(B=N).\u0275fac=function(A){return new(A||B)(c.LFG(n.wwQ),c.LFG(n.pzk),c.LFG(n.Buc))},B.\u0275prov=c.Yz7({token:B,factory:B.\u0275fac,providedIn:"root"}),N})()},6463:(_e,R,r)=>{"use strict";r.d(R,{lL:()=>s,qR:()=>h,tO:()=>c});var n=r(31907);const s=(0,n.PH)("[IMAGES] Load Images",(0,n.Ky)()),c=(0,n.PH)("[IMAGES API] Load Images Success",(0,n.Ky)()),h=(0,n.PH)("[IMAGES API] Load Images Fail",(0,n.Ky)())},29194:(_e,R,r)=>{"use strict";r.d(R,{rF:()=>h.rF,ik:()=>h.ik,f7:()=>h.f7,I6:()=>_});var n=r(31907),s=r(6463),h=r(35394);const v=(0,n.Lq)({ids:[],entities:{}},(0,n.on)(s.tO,(m,{apiResponse:b})=>({...m,ids:Array.from(new Set(m.ids.concat(b.result.map(String)))),entities:{...m.entities,...b.entities.images}})));function _(m,b){return v(m,b)}},35394:(_e,R,r)=>{"use strict";r.d(R,{f7:()=>v,ik:()=>_,rF:()=>a,yf:()=>m});var n=r(31907);const s=(0,n.ZF)("images"),c=(0,n.P1)(s,u=>u.entities),h=u=>(0,n.P1)(c,E=>E[u]),v=u=>(0,n.P1)(h(u),E=>E&&E.image_urls),_=u=>(0,n.P1)(h(u),E=>E&&E.focal_point_coords),m=u=>(0,n.P1)(c,E=>{const T=E&&E[u]||{},M={...T};return!T.source_url&&T.canonical_source_id&&(M.source_url=(E&&E[T.canonical_source_id]||{}).source_url||""),M}),b=u=>Object.values(u),a=(u,E)=>(0,n.P1)(((u,E)=>(0,n.P1)((u=>(0,n.P1)(c,E=>E[u]&&E[u].image_urls||{}))(u),T=>T&&T[E]||{}))(u,E),b)},47265:(_e,R,r)=>{"use strict";r.d(R,{AW:()=>v.AW,Sh:()=>v.Sh,jE:()=>m.jE,a1:()=>Te.a1,yU:()=>m.yU,is:()=>m.is,ce:()=>m.ce,Bm:()=>M.B,HS:()=>h.HS,N_:()=>h.N_,YF:()=>_.YF,Py:()=>I,Cv:()=>O.C,eH:()=>c.eH,nq:()=>c.nq,Jf:()=>Pt,mp:()=>Te.mp,ao:()=>me.a,ev:()=>T.ev,O$:()=>c.O$,$D:()=>H,ly:()=>Q,vL:()=>c.vL,r0:()=>c.r0,F0:()=>E,GU:()=>m.GU,y$:()=>We,n2:()=>h.n2,I$:()=>c.I$,qp:()=>s.q,PE:()=>$.P,KG:()=>me.K,MB:()=>T.MB,$T:()=>N,fT:()=>_.fT,Lw:()=>s.L,mK:()=>c.mK,gT:()=>Te.gT,XB:()=>U,ps:()=>h.ps,CN:()=>h.CN,g$:()=>c.g$,_1:()=>m.ev,oV:()=>m.oV,L:()=>v.L,Ji:()=>v.Ji,U6:()=>v.U6,BV:()=>n.B,Wc:()=>pe.W,j6:()=>_.j6,IB:()=>_.IB,Lc:()=>_.Lc,zB:()=>_.zB,Bx:()=>_.Bx,mg:()=>_.mg});var n=r(15266),s=r(28111),c=r(26079),h=r(63342),v=r(69947),_=r(98819),m=r(7086),b=r(31907),p=r(6463),D=r(29194),a=r(35394),u=r(77533);let E=(()=>{var lt;class tt{constructor(ne){this.store=ne}fetchImagesWithIds(ne){this.store.dispatch((0,p.lL)({ids:ne}))}getImageWithId(ne){return this.store.select((0,a.yf)(ne))}getImageUrlsWithId(ne){return this.store.pipe((0,b.Ys)(D.f7(ne)))}getImageFocalPointWithId(ne){return this.store.pipe((0,b.Ys)(D.ik(ne)))}getArrayOfImageUrlsWithIdAndRatio(ne,y){return this.store.pipe((0,b.Ys)(D.rF(ne,y)))}getArrayOfSquareImageUrlsWithId(ne){return this.getArrayOfImageUrlsWithIdAndRatio(ne,"square")}getArrayOfPortraitImageUrlsWithId(ne){return this.getArrayOfImageUrlsWithIdAndRatio(ne,"portrait")}getArrayOfLandscapeImageUrlsWithId(ne){return this.getArrayOfImageUrlsWithIdAndRatio(ne,"landscape")}}return(lt=tt).\u0275fac=function(ne){return new(ne||lt)(u.LFG(b.yh))},lt.\u0275prov=u.Yz7({token:lt,factory:lt.\u0275fac,providedIn:"root"}),tt})();var T=r(55612),M=r(29582),B=r(38205);let N=(()=>{var lt;class tt{constructor(ne){this.itemFactory=ne}isItemRestricted(ne,y){let ae;return ae=ne instanceof B.Mj?ne:this.itemFactory.createItem(ne),!(!ae.isRestrictedContent||y&&Array.isArray(y.access_levels)&&0!==y.access_levels.length&&ae.availableForSubscriptions.some(w=>y.access_levels.includes(w))&&ae.isFullVersion)}shouldAskForFullItemVersion(ne,y){if(!y||!this.isItemRestricted(ne,y))return!1;const ae=this.itemFactory.createItem(ne);return y&&y.access_levels&&y.access_levels.length>0&&ae.availableForSubscriptions.some(w=>y.access_levels.includes(w))}getDownloadableItemIdsFromContentResponse(ne,y){return ne&&Array.isArray(ne.items)?ne.items.reduce((ae,w)=>this.shouldAskForFullItemVersion(w,y)?[...ae,w.id]:ae,[]):null}getDownloadableItemIdsFromItemsMap(ne,y){if(!ne)return null;const ae=new Map;for(const w in ne){const Fe=ne[w].filter(Je=>this.shouldAskForFullItemVersion(Je,y)).map(Je=>Je.id);Fe.length>0&&ae.set(w,Fe)}return ae.size>0?ae:null}}return(lt=tt).\u0275fac=function(ne){return new(ne||lt)(u.LFG(B.HP))},lt.\u0275prov=u.Yz7({token:lt,factory:lt.\u0275fac,providedIn:"root"}),tt})();var W=r(12494),A=r(15973),X=r(32266);class U{constructor(tt){this.platform=tt}handleError(tt,ut,ne){return 401===ut.status?ut.error&&ut.error.error_code&&"3104"===ut.error.error_code?(0,W.of)(X.iD.requestFailExpired({action:tt})):(0,A.D)([X.iD.requestFailInvalid(),ne]):(0,W.of)(ne)}shouldForceDownloadNewContent(tt=!1){return this.platform.isPreviewApp||this.platform.isIOS&&this.platform.isStandaloneMode||tt}}var O=r(39071),k=r(55704);let I=(()=>{var lt;class tt extends k.LF{constructor(ne,y){super(ne),this.dateTimeService=y}setLocale(ne){const y=ne.replace("_","-");super.setLocale(y)}getDayOfWeekNames(ne){return this.dateTimeService.getLocaleDaysNames("short")}getFirstDayOfWeek(){return this.dateTimeService.getLocaleFirstDayOfWeek()}format(ne,y){return this.dateTimeService.formatDateWithTemplate(ne,y)}}return(lt=tt).\u0275fac=function(ne){u.$Z()},lt.\u0275prov=u.Yz7({token:lt,factory:function(ne){let y=null;return y=ne?new ne:function F(lt,tt){return new I(lt,tt)}(u.LFG(k.Ad),u.LFG(O.C)),y},providedIn:"root"}),tt})();r(14011);let H=(()=>{var lt;class tt{constructor(ne){this.dateTimeService=ne}parse(ne,y=!1){const ae=this.sanitizeTimeAsString(ne,y);if(ae){const[w,Fe]=ae.split(" "),[Je,St]=w.split(":");return{hours:Je,minutes:St,amPm:Fe}}return null}serialize(ne){return`${ne.hours}:${ne.minutes}${ne.amPm?" "+ne.amPm:""}`}isValid(ne){if(!ne)return!1;const y=Date.parse("2022-03-23 "+ne);return!isNaN(y)}applyHourFormat(ne,y=!1){const ae=this.serialize(ne);return this.parse(ae,y)}getCurrentTime(ne=!1){return this.parse(this.dateTimeService.formatDateWithTemplate(new Date,this.getHourFormatTemplate(ne)),ne)}sanitizeTimeAsString(ne,y=!1){if(!ne)return"";const ae=Date.parse("2022-03-23 "+ne);return isNaN(ae)?"":this.dateTimeService.formatDateWithTemplate(ae,this.getHourFormatTemplate(y))}getHourFormatTemplate(ne=!1){return ne?"KK:mm aa":"HH:mm"}}return(lt=tt).\u0275fac=function(ne){return new(ne||lt)(u.LFG(O.C))},lt.\u0275prov=u.Yz7({token:lt,factory:lt.\u0275fac}),tt})();var $=r(59322),J=r(58764),V=r(28419),le=r(14565),ge=r(99256);let te=(()=>{var lt;class tt{constructor(ne){this.doc=ne}load(){return(0,A.D)((0,ge.Bp)(this.doc,"blueimp-load-image","//cdnjs.cloudflare.com/ajax/libs/blueimp-load-image/5.16.0/load-image.all.min.js"))}}return(lt=tt).\u0275fac=function(ne){return new(ne||lt)(u.LFG(le.DOCUMENT))},lt.\u0275prov=u.Yz7({token:lt,factory:lt.\u0275fac,providedIn:"root"}),tt})(),We=(()=>{var lt;class tt{constructor(ne){this.loader=ne}loadImageAsObservable(ne,y={orientation:!0,canvas:!0}){return this.loader.load().pipe((0,V.w)(()=>this.loadImageFromFile(ne,y)))}loadImageFromFile(ne,y){return new J.y(ae=>{loadImage(ne,y).then(w=>{ae.next(w.image),ae.complete()}).catch(w=>ae.error(w))})}}return(lt=tt).\u0275fac=function(ne){return new(ne||lt)(u.LFG(te))},lt.\u0275prov=u.Yz7({token:lt,factory:lt.\u0275fac,providedIn:"root"}),tt})();var Te=r(43879),ee=r(55096);let Q=(()=>{var lt;class tt extends ee.sz{constructor(){super()}parse(ne){let y=0;const ae=ne.replace(/\?/g,w=>(y++,y>1?"&":w));return super.parse(ae)}serialize(ne){return super.serialize(ne)}}return(lt=tt).\u0275fac=function(ne){return new(ne||lt)},lt.\u0275prov=u.Yz7({token:lt,factory:lt.\u0275fac}),tt})();var me=r(9239),pe=r(68522),se=r(9793);const Me=r(24583),ct=["American Typewriter Condensed Bold","American Typewriter Medium","Amiri","Courier Bold","Droid Kufi","Droid","Futura","Gill Sans Bold","Gill Sans","Helvetica neue Condensed Bold","Helvetica neue Light","Helvetica neue Ultra Light","Helvetica neue Medium","Helvetica neue","Hoefler Bold Italic","Hoefler","Marathi Vakra","Noto Sans Hebrew","Roboto","Segoe"],vt=["Arial","Courier New","Georgia","Tahoma","Times New Roman","Trebucher MS","Verdana"];let Pt=(()=>{var lt;class tt{constructor(){this.document=(0,u.f3M)(le.DOCUMENT),this.settingsManager=(0,u.f3M)(se.pz),this.fonts=[],se.T7.FONT_ADDED.subscribe(ne=>this.addFont(ne)),this.initGoogleFonts()}addFont(ne){const y=ne.originalFontType,ae=!ne.urlFont||ne.urlFont.startsWith("/assets/googlefonts/");if("Roboto"!==y&&y&&""!==y&&-1===this.fonts.indexOf(y)){if(this.fonts.push(y),!ne.cssUrl&&-1===ct.indexOf(y)&&-1===vt.indexOf(y)&&ae)return void this.appendHTMLElement(`https://fonts.googleapis.com/css?family=${y}&display=swap`);ne.cssUrl?this.appendHTMLElement(ne.cssUrl):ne.urlFont?this.loadCustomFont(ne):-1===vt.indexOf(y)&&this.inlineFontFace(y,`https://back.ww-cdn.com/assets/fonts/${y}.woff2`)}}appendHTMLElement(ne){const y=`font-${Me(ne)}`;if(!ne.startsWith("http")||this.document.getElementById(y))return;const ae=this.document.createElement("link");ae.id=y,ae.href=ne,ae.rel="stylesheet",this.document.head.appendChild(ae)}inlineFontFace(ne,y){const ae="font-"+ne;if(this.document.getElementById(ae))return;const w=this.document.createElement("style");w.id=ae,w.textContent=`@font-face {font-family: ${ne};font-display: swap; src: url("${y}") }`,this.document.head.appendChild(w)}initGoogleFonts(){const ne=this.settingsManager.getGooglefonts();ne&&ne.length>0&&(ne.forEach(y=>this.fonts.push(y)),this.appendHTMLElement(`https://fonts.googleapis.com/css?family=${ne.join("|")}&display=swap`))}loadCustomFont(ne){const y=ne.urlFont.startsWith("/")?this.settingsManager.getCdnBaseUrl()+ne.urlFont:ne.urlFont;this.inlineFontFace(ne.fontType,y)}}return(lt=tt).\u0275fac=function(ne){return new(ne||lt)},lt.\u0275prov=u.Yz7({token:lt,factory:lt.\u0275fac,providedIn:"root"}),tt})()},54743:(_e,R,r)=>{"use strict";r.d(R,{KZ:()=>m,cu:()=>b,L0:()=>p});var n=r(12494),s=r(57495),c=r(58516),h=r(31907),v=r(49595),_=r(77533);let m=(()=>{var D;class a{constructor(E){this.store=E,this.name$=this.store.pipe((0,h.Ys)(v.e$)),this.contactMail$=this.store.pipe((0,h.Ys)(v.OJ)),this.instagramUrl$=this.store.pipe((0,h.Ys)(v.lr)),this.twitterUrl$=this.store.pipe((0,h.Ys)(v.XO)),this.facebookUrl$=this.store.pipe((0,h.Ys)(v.z8)),this.logo$=this.store.pipe((0,h.Ys)(v.tH)),this.phone$=this.store.pipe((0,h.Ys)(v.pj)),this.privacyPolicy$=this.store.pipe((0,h.Ys)(v.vW)),this.privacyPolicyTitle$=this.store.pipe((0,h.Ys)(v.kI)),this.termsOfServices$=this.store.pipe((0,h.Ys)(v.v0)),this.termsOfServicesTitle$=this.store.pipe((0,h.Ys)(v.O2)),this.dominantColor$=this.store.pipe((0,h.Ys)(v.t_)),this.iapProducts$=this.store.pipe((0,h.Ys)(v.Am)),this.iapEnabled$=this.store.pipe((0,h.Ys)(v.rp))}}return(D=a).\u0275fac=function(E){return new(E||D)(_.LFG(h.yh))},D.\u0275prov=_.Yz7({token:D,factory:D.\u0275fac,providedIn:"root"}),a})(),b=(()=>{var D;class a{constructor(E){this.store=E,this.contactEmail$=this.store.pipe((0,h.Ys)(v.K8)),this.paymentServices$=this.store.pipe((0,h.Ys)(v.wF)),this.sortedPaymentMethods$=this.store.pipe((0,h.Ys)(v.kC)),this.taxIncluded$=this.store.pipe((0,h.Ys)(v.aI)),this.taxOnShipping$=this.store.pipe((0,h.Ys)(v.Lh)),this.guestOrderEnabled$=this.store.pipe((0,h.Ys)(v.iP)),this.stripeCountryCode$=this.store.pipe((0,h.Ys)(v.kA)),this.shopCountryCode$=this.store.pipe((0,h.Ys)(v.kR)),this.stripeCurrencyCode$=this.store.pipe((0,h.Ys)(v.GE)),this.currencyMultiplier$=this.store.pipe((0,h.Ys)(v.lo)),this.discountsCodeAvailable$=this.store.pipe((0,h.Ys)(v.nO)),this.shopName$=this.store.pipe((0,h.Ys)(v.h1)),this.contentPrivacy$=this.store.pipe((0,h.Ys)(v.S$)),this.titlePrivacy$=this.store.pipe((0,h.Ys)(v.t9)),this.contentRefund$=this.store.pipe((0,h.Ys)(v.n4)),this.titleRefund$=this.store.pipe((0,h.Ys)(v.GT)),this.contentTermsOfServices$=this.store.pipe((0,h.Ys)(v.He)),this.titleTermsOfServices$=this.store.pipe((0,h.Ys)(v.xj)),this.vatNumberStatus$=this.store.pipe((0,h.Ys)(v.my)),this.companyFieldStatus$=this.store.pipe((0,h.Ys)(v.Ru)),this.phoneNumberStatus$=this.store.pipe((0,h.Ys)(v.Uw)),this.showCustomerNoteField$=this.store.pipe((0,h.Ys)(v.H_)),this.isCustomerNoteMandatory$=this.store.pipe((0,h.Ys)(v.uR)),this.isFastCheckoutEnabled$=this.store.pipe((0,h.Ys)(v.EK)),this.commerceGeocode$=this.store.pipe((0,h.Ys)(v.uo)),this.fullAddress$=this.store.pipe((0,h.Ys)(v.E_)),this.timezone$=this.store.pipe((0,h.Ys)(v.ms)),this.timeFormat$=this.store.pipe((0,h.Ys)(v.eG)),this.isDeliverySlotsEnabled$=this.store.pipe((0,h.Ys)(v.NC)),this.isLoyaltyProgramEnabled$=this.store.pipe((0,h.Ys)(v.vf)),this.currency$=this.store.pipe((0,h.Ys)(v.eL))}toCurrencyFormat(E){return this.store.pipe(v.t2(E))}toWeightFormat(E){return this.store.pipe(v.aA(E))}}return(D=a).\u0275fac=function(E){return new(E||D)(_.LFG(h.yh))},D.\u0275prov=_.Yz7({token:D,factory:D.\u0275fac,providedIn:"root"}),a})(),p=(()=>{var D;class a{constructor(E,T){this.settingsManager=E,this.infosFacade=T}resolve(E,T){return this.settingsManager.getCommerceBagSectionId()?this.infosFacade.timezone$.pipe((0,s.P)(M=>!!M)):(0,n.of)(null)}}return(D=a).\u0275fac=function(E){return new(E||D)(_.LFG(c.pzk),_.LFG(b))},D.\u0275prov=_.Yz7({token:D,factory:D.\u0275fac,providedIn:"root"}),a})()},23983:(_e,R,r)=>{"use strict";r.d(R,{W:()=>n,N:()=>s});var n={};r.r(n),r.d(n,{getIAPProducts:()=>m,getIAPProductsDidFail:()=>p,getIAPProductsDidSuccess:()=>b,getInfos:()=>h,getInfosDidFail:()=>v,getInfosSuccess:()=>_});var s={};r.r(s),r.d(s,{getInfos:()=>D,getInfosDidFail:()=>a,getInfosSuccess:()=>u,getPaymentServices:()=>E,getPaymentServicesFail:()=>M,getPaymentServicesSuccess:()=>T});var c=r(31907);const h=(0,c.PH)("[CLASSIC INFOS] Get Infos Classic"),v=(0,c.PH)("[CLASSIC INFOS API] Get Infos Classic Fail",(0,c.Ky)()),_=(0,c.PH)("[CLASSIC INFOS API] Get Infos Classic Success",(0,c.Ky)()),m=(0,c.PH)("[CLASSIC INFOS] Get IAP Products"),b=(0,c.PH)("[CLASSIC INFOS API] Get IAP Products Did Success",(0,c.Ky)()),p=(0,c.PH)("[CLASSIC INFOS API] Get IAP Products Did Fail",(0,c.Ky)()),D=(0,c.PH)("[COMMERCE INFOS API] Get Infos"),a=(0,c.PH)("[COMMERCE INFOS API] Get Infos Commerce Fail",(0,c.Ky)()),u=(0,c.PH)("[COMMERCE INFOS API] Get Infos Commerce Success",(0,c.Ky)()),E=(0,c.PH)("[PAYMENT API] Get Payment Services"),T=(0,c.PH)("[PAYMENT API] Get Payment Services Success",(0,c.Ky)()),M=(0,c.PH)("[PAYMENT API] Get Payment Services Fail")},49595:(_e,R,r)=>{"use strict";r.d(R,{Pv:()=>Ye,t2:()=>Vt,aA:()=>Bt,OJ:()=>mn,t_:()=>an,z8:()=>Rn,Am:()=>hr,fQ:()=>Mr,rp:()=>Yt,lr:()=>jt,tH:()=>Ln,e$:()=>Lt,pj:()=>An,vW:()=>bn,kI:()=>_n,v0:()=>zn,O2:()=>dr,XO:()=>Vn,Ru:()=>Zn,K8:()=>ot,eL:()=>Rt,lo:()=>Ce,E_:()=>Ze,uo:()=>et,EK:()=>_t,h1:()=>Ve,wF:()=>Ge,Uw:()=>er,S$:()=>He,t9:()=>xe,n4:()=>De,GT:()=>fe,kR:()=>En,kC:()=>Pe,kA:()=>Ue,GE:()=>Xe,aI:()=>tn,Lh:()=>sn,He:()=>rt,xj:()=>xt,eG:()=>Sr,ms:()=>Cr,my:()=>lr,uR:()=>Ar,H_:()=>Fr,NC:()=>Lr,vf:()=>on,Vt:()=>Ct,WA:()=>Jn,dn:()=>Ke,iP:()=>rn,MO:()=>Wn,tt:()=>or,nO:()=>Un,ll:()=>At});var n=r(31907),s=r(60008),c=r(97478),h=r(96407),v=r(99256),_=r(54298),m=r(23983);function b(It){return It&&It.replace(/(\\r\\n|\\r|\\n)/g,"<br/>").replace(/\\'/g,"'")||""}const p="classic",a=(0,n.Lq)({name:null,contactMail:null,instagramUrl:null,twitterUrl:null,facebookUrl:null,logo:null,phone:null,privacyPolicy:null,privacyPolicyTitle:null,termsOfServices:null,termsOfServicesTitle:null,dominantColor:null,inAppPurchaseEnabled:null,inAppPurchaseAdsDisabledForSubscribers:!1},(0,n.on)(m.W.getInfosSuccess,(It,{details:ln})=>({...It,name:ln.name,contactMail:ln.contact_mail,instagramUrl:ln.instagram_url,twitterUrl:ln.twitter_url,facebookUrl:ln.facebook_url,logo:ln.logo,phone:ln.phone,privacyPolicy:b(ln.privacy_policy),privacyPolicyTitle:ln.privacy_policy_title,termsOfServices:b(ln.terms_of_services),termsOfServicesTitle:ln.terms_of_services_title,dominantColor:ln.dominant_color,inAppPurchaseEnabled:ln.in_app_purchase_enabled,inAppPurchaseAdsDisabledForSubscribers:ln.iap_ads_global_disabled_for_subscribers}))),P="commerce";function J(It){return It?{latitude:Number(It.latitude),longitude:Number(It.longitude)}:null}const V=(0,n.Lq)({contactMail:null,currency:"EUR",localPickup:null,orderAsGuest:null,priceFormat:{currency_position:"RIGHT",currency_display:"SYMBOL",thousand_sep:" ",decimal_sep:".",decimal_precision:2},address:null,name:"",paymentServices:null,privacyPolicy:"",privacyPolicyTitle:"",refundPolicy:"",refundPolicyTitle:"",taxAdvancedSettings:null,taxIncluded:void 0,taxOnShippingRates:void 0,termsOfServices:"",termsOfServicesTitle:"",discountsCodeAvailable:!1,weightUnit:"",currencyDisplaySymbol:"\u20ac",currencyOneClickMultiplier:"HUNDRED",companyFieldStatus:"Optional",vatNumberStatus:"Optional",phoneNumberStatus:"Optional",customerNoteStatus:"Optional",isFastCheckoutEnabled:!1,geocode:null,timezone:null,timeFormat:null,deliverySlots:!1,oneClickBagEnabled:!0,loyaltyProgram:!1},(0,n.on)(m.N.getInfosSuccess,(It,{details:ln})=>({...It,contactMail:ln.contact_mail,currency:ln.currency||"EUR",localPickup:ln.local_pickup_enabled,orderAsGuest:ln.guest_order_enabled,priceFormat:ln.price_format||{currency_position:"RIGHT",currency_display:"SYMBOL",thousand_sep:" ",decimal_sep:".",decimal_precision:2},address:ln.commerce_address,name:ln.legal_name,privacyPolicy:b(ln.privacy_policy),privacyPolicyTitle:ln.privacy_policy_title,refundPolicy:b(ln.refund_policy),refundPolicyTitle:ln.refund_policy_title,taxAdvancedSettings:ln.tax_advanced_settings,taxIncluded:"INCL_TAXES"===ln.tax_mode,taxOnShippingRates:ln.tax_on_shipping_rates,termsOfServices:b(ln.terms_of_services),termsOfServicesTitle:ln.terms_of_services_title,discountsCodeAvailable:ln.discountsCodeAvailable,weightUnit:ln.weight_unit,currencyDisplaySymbol:ln.currency_display_symbol,currencyOneClickMultiplier:ln.currency_one_click_multiplier,vatNumberStatus:ln.vat_number_status,companyFieldStatus:ln.company_field_status,phoneNumberStatus:ln.phone_number_status,customerNoteStatus:ln.customer_note_status,isFastCheckoutEnabled:ln.is_fast_checkout_enabled,geocode:J(ln.commerce_geocode),timezone:ln.timezone,timeFormat:ln.time_format,deliverySlots:ln.delivery_slots,oneClickBagEnabled:ln.one_click_bag_enabled,loyaltyProgram:ln.loyalty_program})),(0,n.on)(m.N.getPaymentServicesSuccess,(It,{paymentServices:ln})=>({...It,paymentServices:ln}))),Ye="infos";function At(It,ln){return(0,n.UY)({[p]:a,[P]:V})(It,ln)}const qe=(0,n.ZF)(Ye),it=(0,n.P1)(qe,It=>It[P]),Kt=(0,n.P1)(it,It=>It.localPickup),wt=((0,n.P1)(Kt,It=>!0===It),(0,n.P1)(it,It=>It.orderAsGuest)),rn=(0,n.P1)(wt,It=>!0===It),Ke=(0,n.P1)(wt,It=>!1===It),pn=(0,n.P1)(it,It=>It.priceFormat),Rt=(0,n.P1)(it,It=>It.currency),Xe=(0,n.P1)(Rt,It=>It.toLowerCase()),ve=(0,n.P1)(it,It=>It.currencyDisplaySymbol),Ce=(0,n.P1)(it,It=>It.currencyOneClickMultiplier),Re=(0,n.P1)(pn,Rt,ve,(It,ln,Pn)=>({...It,currency:ln,displaySymbol:Pn})),ot=(0,n.P1)(it,It=>It.contactMail),Ve=(0,n.P1)(it,It=>It.name),Oe=(0,n.P1)(it,It=>It.address),Ze=(0,n.P1)(Oe,Ve,(It,ln)=>({...It,name:ln})),Ge=(0,n.P1)(it,It=>It.paymentServices),Pe=(0,n.P1)(Ge,It=>(0,h.AZ)(It.services)),Ue=(0,n.P1)(Ge,It=>It&&It.stripe_country||""),De=(0,n.P1)(it,It=>It.refundPolicy),fe=(0,n.P1)(it,It=>It.refundPolicyTitle),He=(0,n.P1)(it,It=>It.privacyPolicy),xe=(0,n.P1)(it,It=>It.privacyPolicyTitle),rt=(0,n.P1)(it,It=>It.termsOfServices),xt=(0,n.P1)(it,It=>It.termsOfServicesTitle),tn=(0,n.P1)(it,It=>It.taxIncluded),sn=(0,n.P1)(it,It=>It.taxOnShippingRates),En=(0,n.P1)(Oe,It=>It.country),Un=(0,n.P1)(it,It=>It.discountsCodeAvailable),nr=(0,n.P1)(it,It=>It.weightUnit),Zn=(0,n.P1)(it,It=>It.companyFieldStatus),lr=(0,n.P1)(it,It=>It.vatNumberStatus),Jn=(0,n.P1)(Zn,lr,(It,ln)=>"Mandatory"===It||"Mandatory"===ln),er=(0,n.P1)(it,It=>It.phoneNumberStatus),or=(0,n.P1)(er,It=>"Mandatory"===It),Wn=(0,n.P1)(er,It=>"Hidden"===It),gn=(0,n.P1)(it,It=>It.customerNoteStatus),Fr=(0,n.P1)(gn,It=>"Hidden"!==It),Ar=(0,n.P1)(gn,It=>"Mandatory"===It),Cr=(0,n.P1)(it,It=>It.timezone),Sr=(0,n.P1)(it,It=>It.timeFormat),Mn=(0,n.P1)(it,It=>It.deliverySlots),Lr=(0,n.P1)(Mn,It=>!0===It),_t=(0,n.P1)(it,It=>It.isFastCheckoutEnabled),et=(0,n.P1)(it,It=>It.geocode),Mt=(0,n.P1)(it,It=>It.oneClickBagEnabled),Ct=(0,n.P1)(Mt,It=>!0===It);function Vt(It){return(0,s.z)((0,n.Ys)(Re),(0,c.U)(ln=>{const Pn=(0,v.uf)(It,ln.decimal_precision,ln.decimal_sep,ln.thousand_sep),pr=ln.displaySymbol;return"LEFT"===ln.currency_position?`${pr} ${Pn}`:`${Pn} ${pr}`}))}function Bt(It){return(0,s.z)((0,n.Ys)(nr),(0,c.U)(ln=>`${It} ${ln.toLowerCase()}`))}const on=(0,n.P1)(it,It=>!0===It.loyaltyProgram),Qt=(0,n.P1)(qe,It=>It[p]),Lt=(0,n.P1)(Qt,It=>It.name),mn=(0,n.P1)(Qt,It=>It.contactMail),jt=(0,n.P1)(Qt,It=>It.instagramUrl),Vn=(0,n.P1)(Qt,It=>It.twitterUrl),Rn=(0,n.P1)(Qt,It=>It.facebookUrl),Ln=(0,n.P1)(Qt,It=>It.logo),An=(0,n.P1)(Qt,It=>It.phone),bn=(0,n.P1)(Qt,It=>It.privacyPolicy),_n=(0,n.P1)(Qt,It=>It.privacyPolicyTitle),zn=(0,n.P1)(Qt,It=>It.termsOfServices),dr=(0,n.P1)(Qt,It=>It.termsOfServicesTitle),an=(0,n.P1)(Qt,It=>It.dominantColor),Yt=(0,n.P1)(Qt,It=>It.inAppPurchaseEnabled),hr=(0,_.uc)("iap","products"),Mr=(0,n.P1)(Qt,It=>It.inAppPurchaseAdsDisabledForSubscribers)},68522:(_e,R,r)=>{"use strict";r.d(R,{W:()=>c});var n=r(15861),s=r(77533);function c(_,m){return h.apply(this,arguments)}function h(){return(h=(0,n.Z)(function*(_,m){return _.get(v).get(_,m)})).apply(this,arguments)}let v=(()=>{var _;class m{constructor(){this.overrides=new WeakMap}override(p,D){this.overrides.set(p,D)}get(p,D){var a=this;return(0,n.Z)(function*(){const u=yield D();if(a.overrides.has(u))return new(a.overrides.get(u));if(!(p instanceof s.lqb)){const E=p.get(s.ktI),T=p.get(s.lqb),M=(0,s.MMx)([u],T);E.onDestroy(()=>{M.destroy()}),p=M}return p.get(u)})()}}return(_=m).\u0275fac=function(p){return new(p||_)},_.\u0275prov=s.Yz7({token:_,factory:_.\u0275fac,providedIn:"root"}),m})()},59322:(_e,R,r)=>{"use strict";r.d(R,{P:()=>m});var n=r(77533),s=r(12494),c=r(54505),h=r(60110),v=r(26682),_=r(80697);let m=(()=>{var b;class p{constructor(a){this.logger=a,this.defaultLifeTime=3e5,this.cache=new Map,this.pending=new Map}has(a){return this.cache.has(a)}get(a,u,E=this.defaultLifeTime){return this.validDataAvailableFor(a)?(this.logger.info(`MemoryCache get ${a} data from cache`),(0,s.of)(this.cache.get(a).data)):this.pending.has(a)?this.pending.get(a).asObservable():u?(this.logger.info(`MemoryCache get ${a} data from external source`),this.pending.set(a,new n.vpe),u.pipe((0,h.b)(T=>this.set(a,T,E)),(0,v.K)(T=>this.fallbackFailed(a,T)))):(0,c._)(`NoMemoryCacheDataError ${a}`)}getSync(a,u,E=1/0){if(this.validDataAvailableFor(a))return this.logger.info(`MemoryCache get ${a} data from cache`),this.cache.get(a).data;{this.logger.info(`MemoryCache get ${a} data from sync factory`);const T=u();return this.set(a,T,E),T}}set(a,u,E){this.cache.delete(a),this.cache.set(a,{data:u,expiration:Date.now()+E}),this.notifyPendingObservers(a,u)}fallbackFailed(a,u){if(this.logger.error(`MemoryCache get ${a} from external source failed`),this.has(a)){const E=this.cache.get(a).data;return this.notifyPendingObservers(a,E),(0,s.of)(E)}return(0,c._)(u)}clear(a){this.cache.delete(a)}notifyPendingObservers(a,u){if(this.pending.has(a)){const E=this.pending.get(a),T=E.observers.length;T>0&&(this.logger.info(`MemoryCacheService notify ${T} for key ${a}`),E.emit(u)),E.complete(),this.pending.delete(a)}}validDataAvailableFor(a){return!(!this.has(a)||this.cache.get(a).expiration<Date.now())}}return(b=p).\u0275fac=function(a){return new(a||b)(n.LFG(_.Y))},b.\u0275prov=n.Yz7({token:b,factory:b.\u0275fac,providedIn:"root"}),p})()},55612:(_e,R,r)=>{"use strict";r.d(R,{ev:()=>m,Wm:()=>b,MB:()=>n.M});var n=r(12733),s=r(28459),c=r(3050),h=r(44036),v=r(77533),_=r(80697);let m=(()=>{var p;class D{constructor(u,E,T){this.platform=u,this.logger=E,this.appType=T,this.registration=new s.t(1),"customer"===this.appType&&this.platform.isBrowser&&"serviceWorker"in navigator&&navigator.serviceWorker.register("/service-worker.js").then(M=>this.registration.next(M)).catch(M=>{this.logger.info("No service worker available",M),this.registration.error(M)})}}return(p=D).\u0275fac=function(u){return new(u||p)(v.LFG(c.m),v.LFG(_.Y),v.LFG(h.IF))},p.\u0275prov=v.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"}),D})();var b=r(73895)},73895:(_e,R,r)=>{"use strict";r.r(R),r.d(R,{increaseActionsCount:()=>s,pausePrompts:()=>_,resumePrompts:()=>m,setCurrentPrompt:()=>h,setNotificationPermission:()=>v,setPromptThresholds:()=>c,syncUserPushToken:()=>b,syncUserPushTokenDidFail:()=>D,syncUserPushTokenDidSuccess:()=>p});var n=r(31907);const s=(0,n.PH)("[PWA] Increase Actions Count"),c=(0,n.PH)("[PWA] Set Prompt Thresholds",(0,n.Ky)()),h=(0,n.PH)("[PWA] Set Current Prompt",(0,n.Ky)()),v=(0,n.PH)("[PWA] Set Notification Permission",(0,n.Ky)()),_=(0,n.PH)("[PWA] Pause Prompts"),m=(0,n.PH)("[PWA] Resume Prompts"),b=(0,n.PH)("[PWA] Sync User Push Token"),p=(0,n.PH)("[PWA] Sync User Push Token Did Success"),D=(0,n.PH)("[PWA] Sync User Push Token Did Fail")},12733:(_e,R,r)=>{"use strict";r.d(R,{M:()=>v});var n=r(31907),s=r(73895),c=r(18239),h=r(77533);let v=(()=>{var _;class m{constructor(p){this.store=p,this.canPromptInstall$=this.store.pipe((0,n.Ys)(c.bx)),this.canPromptPush$=this.store.pipe((0,n.Ys)(c.Jw)),this.canPromptSms$=this.store.pipe((0,n.Ys)(c.oW)),this.isNotificationPermissionGranted$=this.store.pipe((0,n.Ys)(c.jh)),this.pausePrompts$=this.store.pipe((0,n.Ys)(c.R_))}increaseActionsCount(){this.store.dispatch(s.increaseActionsCount())}setCurrentPrompt(p){this.store.dispatch(s.setCurrentPrompt({promptType:p}))}setNotificationPermission(p){this.store.dispatch(s.setNotificationPermission({permission:p}))}pausePrompts(){this.store.dispatch(s.pausePrompts())}resumePrompts(){this.store.dispatch(s.resumePrompts())}syncUserPushToken(){this.store.dispatch(s.syncUserPushToken())}}return(_=m).\u0275fac=function(p){return new(p||_)(h.LFG(n.yh))},_.\u0275prov=h.Yz7({token:_,factory:_.\u0275fac,providedIn:"root"}),m})()},18239:(_e,R,r)=>{"use strict";r.d(R,{bx:()=>u,Jw:()=>E,oW:()=>T,R_:()=>a,jh:()=>B,I6:()=>W});var n=r(31907),s=r(82998),c=r(73895);const h={actionsCount:-1,theresholdToPromptInstall:1,theresholdToPromptPush:2,theresholdToPromptSms:3,currentPrompt:null,notificationPermission:"default",pausePrompts:!1},v=(0,n.ZF)("pwa"),_=(0,n.P1)(v,A=>A.actionsCount),m=(0,n.P1)(v,A=>A.theresholdToPromptInstall),b=(0,n.P1)(v,A=>A.theresholdToPromptPush),p=(0,n.P1)(v,A=>A.theresholdToPromptSms),D=(0,n.P1)(v,A=>A.currentPrompt),a=(0,n.P1)(v,A=>A.pausePrompts),u=(0,n.P1)(_,m,D,a,(A,X,U,O)=>A>=X&&!U&&!O),E=(0,n.P1)(_,b,D,a,(A,X,U,O)=>A>=X&&!U&&!O),T=(0,n.P1)(_,p,D,a,(A,X,U,O)=>A>=X&&!U&&!O),M=(0,n.P1)(v,A=>A.notificationPermission),B=(0,n.P1)(M,A=>A&&"granted"===A),N=(0,n.Lq)(h,(0,n.on)(c.increaseActionsCount,A=>({...A,actionsCount:A.actionsCount+1,currentPrompt:null})),(0,n.on)(c.setPromptThresholds,(A,{sms:X,push:U,install:O})=>({...A,theresholdToPromptInstall:O>0?O:h.theresholdToPromptInstall,theresholdToPromptPush:U>0?U:h.theresholdToPromptPush,theresholdToPromptSms:X>0?X:h.theresholdToPromptSms})),(0,n.on)(c.setCurrentPrompt,(A,{promptType:X})=>({...A,currentPrompt:X})),(0,n.on)(c.setNotificationPermission,(A,{permission:X})=>({...A,notificationPermission:X,currentPrompt:null})),(0,n.on)(s.$I,A=>({...A,currentPrompt:"Push"})),(0,n.on)(s.EN,A=>({...A,currentPrompt:null})),(0,n.on)(c.pausePrompts,A=>({...A,pausePrompts:!0})),(0,n.on)(c.resumePrompts,A=>({...A,pausePrompts:!1})));function W(A,X){return N(A,X)}},32971:(_e,R,r)=>{"use strict";r.d(R,{Y:()=>s});const n=["GBModuleTypeSearch","GBModuleTypeSubmit","GBModuleTypeUserslist"];function s(c){return n.includes(c)}},15266:(_e,R,r)=>{"use strict";function n(s,c,h){return s.map(v=>{const _=c[v.product.toString()],m=_.media?h[_.media.toString()]:null;return{variant:v,product:_,media:m}})}r.d(R,{B:()=>n})},28111:(_e,R,r)=>{"use strict";r.d(R,{q:()=>N,L:()=>E});var n=r(14565),s=r(77533),c=r(55096),h=r(36305),v=r(57495),_=r(97478),m=r(3050),b=r(9793),p=r(44036),D=r(99256),a=r(24257),u=r(45781);let E=(()=>{var W;class A{constructor(U,O,k,I,F,P,H,$){this.doc=U,this.router=O,this.title=k,this.meta=I,this.settingsManager=F,this.appType=P,this.platform=H,this.transferState=$,this.lastMetaLevel=null,this.dom=(0,n.\u0275getDOM)(),this.preconnectTags=new Set,this.preloadTags=new Set,this.router.events.pipe((0,h.h)(J=>J instanceof c.OD),(0,v.P)(J=>"/app-shell"!==J.url)).subscribe(()=>this.setGlobalMetas()),this.router.events.pipe((0,h.h)(J=>J instanceof c.OD)).subscribe(()=>this.resetLastMetaLevel()),this.router.events.pipe((0,h.h)(J=>J instanceof c.m2),(0,h.h)(J=>"/app-shell"!==J.urlAfterRedirects),(0,h.h)(()=>!!this.router.routerState.root.firstChild),(0,h.h)(()=>"item"!==this.lastMetaLevel),(0,_.U)(()=>this.router.routerState.root.firstChild.snapshot)).subscribe(J=>this.updateMetas(J)),this.facebookogActive=this.settingsManager.getGeneralMetaFacebookogActive(),this.twitterCardsAcive=this.settingsManager.getGeneralMetaTwitterCardsActive()}setGlobalMetas(){this.lastMetaLevel="non-item",this.globalNoIndex=this.settingsManager.getGeneralMetaNoIndex(),this.title.setTitle(this.settingsManager.getGeneralMetaTitle());let U=[{name:"keywords",content:this.settingsManager.getGeneralMetaKeywords()},{name:"theme-color",content:this.settingsManager.getGeneralNavBarBackgroundColor()}];if("amp"!==this.appType&&this.globalNoIndex&&U.push({name:"robots",content:"noindex"}),this.twitterCardsAcive&&(U=U.concat([{property:"twitter:card",content:"summary_large_image"}])),this.facebookogActive){let k;(0,a.dU)().facebookAppId&&(k=[{property:"fb:app_id",content:(0,a.dU)().facebookAppId.toString()}],U=U.concat(k))}this.updateMetaTags(...U),this.addGoogleSitemapVerification(),this.addAdvancedHeadTags(),this.addIOSMetaTags(),this.addHtmlLangAttribute(),this.addGstaticPreconnect();const O=this.settingsManager.getGeneralMetaCustomSchemaOrg();null!==O&&this.addRichResultsGlobalMetadatasCustom(O)}updateMetas(U){this.lastMetaLevel="non-item";const O=U.data.section;let k,I,F;if(U.firstChild&&U.firstChild.paramMap.has("category")){const V=U.firstChild.paramMap.get("category");V&&(k=this.settingsManager.getSectionsSubsectionsCanonicalUrl(O,+V))}k||(k=this.settingsManager.getSectionsCanonicalUrl(O)||this.makeAbsoluteUrl(this.router.url));const P=this.settingsManager.getGeneralMetaImagesLogo(),H=P&&P.imageUrl?P.imageUrl:this.makeAbsoluteUrl(this.settingsManager.getAppLogo());let $;O?(I=this.settingsManager.getSectionsMetaTitle(O),F=this.settingsManager.getSectionsMetaDescription(O),$=this.settingsManager.getSectionsType(O)):(I=this.settingsManager.getGeneralMetaTitle(),F=this.settingsManager.getGeneralMetaDescription()),this.title.setTitle(I);let J=[{name:"description",content:F}];this.twitterCardsAcive&&(J=J.concat([{property:"twitter:title",content:I},{property:"twitter:description",content:F},{property:"twitter:image",content:H}])),this.facebookogActive&&(J=J.concat([{property:"og:type",content:"website"},{property:"og:title",content:I},{property:"og:description",content:F},{property:"og:url",content:k},{property:"og:image",content:H}])),this.updateMetaTags(...J),this.addCanonicalUrl(k),"customer"===this.appType&&this.settingsManager.getAmpEnabled()&&$&&"GBModuleTypeAbout"===$&&this.addAmpUrl(this.router.url)}updateItemMetas(U,O){if(this.lastMetaLevel="item",U&&O){this.title.setTitle(O.metaTitle);let k=[{name:"description",content:O.metaDescription}];const I=O.url||this.makeAbsoluteUrl(this.router.url),F=this.settingsManager.getGeneralSharingImageQuality();if(this.twitterCardsAcive&&(k=k.concat([{property:"twitter:title",content:O.metaTitle},{property:"twitter:description",content:O.metaDescription},{property:"twitter:image",content:"low"===F?O.smallMetaImage:O.metaImage}])),this.facebookogActive){const P=[{property:"og:type",content:this.getOpenGraphObjectTypeBySection(U)},{property:"og:title",content:O.metaTitle},{property:"og:description",content:O.metaDescription},{property:"og:url",content:I},{property:"og:image",content:"low"===F?O.smallMetaImage:O.metaImage}];if("latitude"in O&&"longitude"in O){const H=O.latitude,$=O.longitude;(0,D.dn)(parseFloat(H),parseFloat($))&&(P.push({property:"place:location:latitude",content:H.toString()}),P.push({property:"place:location:longitude",content:$.toString()}))}k=k.concat(P)}if(O.author){const P=[{name:"author",lang:this.settingsManager.getLang(!0),content:O.author}];k=k.concat(P)}O&&O.linkedDataRepresentation&&this.addItemJsonLD(O.linkedDataRepresentation),this.updateMetaTags(...k),this.addCanonicalUrl(I),this.isSectionAMPReady(U)&&this.addAmpUrl(this.router.url)}}addItemJsonLD(U){const O=this.dom.createElement("script");O.type="application/ld+json",O.id="item-rich-results",O.textContent=JSON.stringify(U),this.doc.head.appendChild(O)}updateCommerceProductMetas(U,O,k,I){if(this.lastMetaLevel="item",O){const F=O.meta_title||O.title,P=O.meta_description||(0,D.ix)(O.summary,200,!0),H=this.router.url.replace(/\/?#(.*)$/,""),$=this.makeAbsoluteUrl(H),J=k&&k.thumbnails.square.xlarge;this.title.setTitle(F);let V=[{name:"description",content:P}];this.twitterCardsAcive&&(V=V.concat([{property:"twitter:title",content:F},{property:"twitter:description",content:P},{property:"twitter:image",content:J}])),this.facebookogActive&&(V=V.concat([{property:"og:type",content:"article"},{property:"og:title",content:F},{property:"og:description",content:P},{property:"og:url",content:$},{property:"og:image",content:J}])),this.updateMetaTags(...V),this.addCanonicalUrl($),"customer"===this.appType&&this.settingsManager.getAmpEnabled()&&this.addAmpUrl(H),this.addProductRichResults(U,O,k,I)}}addCanonicalUrl(U){let O=this.doc.head.querySelector('link[rel="canonical"]');O||(O=this.dom.createElement("link"),O.setAttribute("rel","canonical"),this.doc.head.appendChild(O)),O.setAttribute("href",U),this.canonicalUrl=U}addAmpUrl(U){let O=this.doc.head.querySelector('link[rel="amphtml"]');O||(O=this.dom.createElement("link"),O.setAttribute("rel","amphtml"),this.doc.head.appendChild(O)),O.setAttribute("href",this.makeAbsoluteUrl("/amp"+U))}addHtmlLangAttribute(){this.doc.querySelector("html").setAttribute("lang",this.settingsManager.getLang(!0))}addRichResultsGlobalMetadatas(U){if("/app-shell"===this.router.url||null!==this.settingsManager.getGeneralMetaCustomSchemaOrg())return;const k=this.dom.createElement("script");k.type="application/ld+json";let I={"@context":"https://schema.org","@type":"Organization",url:this.makeAbsoluteUrl(this.router.url)},F=!1;U.phone&&/^\+(?:[0-9]\s?){6,14}[0-9]$/.exec(U.phone)&&(F=!0,I={...I,contactPoint:[{"@type":"ContactPoint",telephone:U.phone,contactType:"customer support"}]},k.textContent=JSON.stringify(I),this.doc.head.appendChild(k)),U.logo&&(F=!0,I={...I,logo:U.logo},k.textContent=JSON.stringify(I),this.doc.head.appendChild(k)),(""!==U.instagram_url||""!==U.facebook_url||""!==U.twitter_url)&&(F=!0,I={...I,name:U.legal_name,sameAs:[U.twitter_url,U.facebook_url,U.instagram_url].filter(P=>P&&""!==P)}),F&&(k.textContent=JSON.stringify(I),this.doc.head.appendChild(k))}addRichResultsGlobalMetadatasCustom(U){const O=this.dom.createElement("div");O.innerHTML=U;const k=O.querySelectorAll("*");if(k&&k.length){let I=0;for(let F=0;F<k.length;F++){const P=k[F];this.platform.isBrowser?this.doc.head.append(P):(I++,this.appendInHeadOnce(`CustomSchema_${I}`,P))}}}addRobotsTag(U){this.globalNoIndex||this.meta.addTag({name:"robots",content:U})}preloadResponsiveImage(U,O,k){if(this.platform.isBrowser||!U||this.preloadTags.has(U))return;const I=this.dom.createElement("link");I.setAttribute("rel","preload"),I.setAttribute("as","image"),I.setAttribute("href",U),O&&I.setAttribute("imagesrcset",O),k&&I.setAttribute("imagesizes",k),I.setAttribute("fetchpriority","high"),this.appendInHeadOnce(U,I),this.preloadTags.add(U)}preconnectTo(U){if(this.platform.isBrowser)return;if(U===this.settingsManager.getMostAccurateBaseUrl(!0)||this.preconnectTags.has(U))return;const k=this.dom.createElement("link");k.rel="preconnect",k.href=U,this.appendInHeadOnce(U,k),this.preconnectTags.add(U)}updateMetaImageWithPhoto(U){if(!U.url)return;const O=[];this.facebookogActive&&O.push({property:"og:image",content:U.url}),this.twitterCardsAcive&&O.push({property:"twitter:image",content:U.url}),O.length>0&&this.updateMetaTags(...O)}updateMetaTags(...U){U.forEach(O=>{O.content||(O.content=""),O.name&&this.meta.updateTag(O,`name="${O.name}"`),O.property&&this.meta.updateTag(O,`property="${O.property}"`)})}resetLastMetaLevel(){this.lastMetaLevel=null,this.meta.removeTag('name="author"'),this.meta.removeTag('property="place:location:latitude"'),this.meta.removeTag('property="place:location:longitude"');const U=this.doc.head.querySelector("#product-rich-results");U&&this.doc.head.removeChild(U);const O=this.doc.head.querySelector("#item-rich-results");O&&this.doc.head.removeChild(O);const k=this.doc.head.querySelector('link[rel="amphtml"]');k&&this.doc.head.removeChild(k),this.globalNoIndex||this.meta.removeTag('name="robots"')}makeAbsoluteUrl(U){return U?(0,D.Do)(this.settingsManager.getMostAccurateBaseUrl(!0),U):""}getOpenGraphObjectTypeBySection(U){const O=this.settingsManager.getSectionsType(U);return"GBModuleTypeVideo"===O?"video.other":"GBModuleTypeMaps"===O?"place":"article"}addGoogleSitemapVerification(){if(this.settingsManager.getGeneralSitemapEnabled()){const U=this.settingsManager.getGeneralSitemapMeta();if(U){const O=this.dom.createElement("div");O.innerHTML=U;const k=O.querySelector("meta");k&&this.appendInHeadOnce("GoogleSiteVerificationMeta",k)}}}addAdvancedHeadTags(){if(!this.platform.isAmpApp){const U=this.settingsManager.getGeneralMetaHead();if(U){const O=this.dom.createElement("div");O.innerHTML=U;const k=O.querySelectorAll("*");if(k&&k.length){let I=0;for(let F=0;F<k.length;F++){const P=k[F];if(this.platform.isBrowser&&P instanceof HTMLScriptElement&&(P.src||P.textContent)){const H=this.doc.createElement("script");P.src&&(H.src=P.src),P.textContent&&(H.textContent=P.textContent),this.doc.head.appendChild(H)}else I++,this.appendInHeadOnce(`AdvancedMetaTag_${I}`,P)}}}}}addIOSMetaTags(){let U;switch(this.meta.addTags(this.settingsManager.getGeneralMetaSafariMeta()),this.settingsManager.getGeneralNavBarBackgroundColor().toLowerCase()){case"#ffffff":U="default";break;case"#000000":U="black";break;default:U="black-translucent"}this.meta.addTag({name:"apple-mobile-web-app-status-bar-style",content:U});const O=this.settingsManager.getGeneralMetaImagesTouchIcon();if(O&&O.imageUrl){const I=this.dom.createElement("link");I.rel="apple-touch-icon",I.href=O.imageUrl,this.appendInHeadOnce("iOSTouchIcon",I)}const k=this.settingsManager.getGeneralMetaImagesSplashScreen();if(k&&k.imageUrl){const I=this.dom.createElement("link");I.rel="apple-touch-startup-image",I.href=k.imageUrl,this.appendInHeadOnce("iOSTouchStartupImage",I)}}addProductRichResults(U,O,k,I){const F=this.dom.createElement("script");F.type="application/ld+json",F.id="product-rich-results";const P={"@context":"https://schema.org","@type":"Product",name:O.title,description:O.summary,sku:U.sku,image:[]};if(k&&(P.image=[k.thumbnails.square.medium,k.thumbnails.landscape.medium,k.thumbnails.portrait.medium]),U.mpn)P.mpn=U.mpn;else if(U.gtin&&"string"==typeof U.gtin)switch(U.gtin.length){case 8:P.gtin8=U.gtin;break;case 13:P.gtin13=U.gtin;break;case 14:P.gtin14=U.gtin}U.brand&&(P.brand={"@type":"Brand",name:U.brand});const H={"@type":"Offer",price:U.price,priceCurrency:I,availability:0===U.stock?"https://schema.org/OutOfStock":"https://schema.org/InStock",url:this.makeAbsoluteUrl(this.router.url)};P.offers=H,F.textContent=JSON.stringify(P),this.doc.head.appendChild(F)}isSectionAMPReady(U){const O=this.settingsManager.getSectionsType(U);if("customer"===this.appType&&this.settingsManager.getAmpEnabled())switch(O){case"GBModuleTypeArticle":case"GBModuleTypeAbout":case"GBModuleTypeAgenda":case"GBModuleTypeMaps":case"GBModuleTypeVideo":return!0;default:return!1}return!1}appendInHeadOnce(U,O){if("object"==typeof O)if(this.transferState){const k=(0,s.Cb6)(U);!1===this.transferState.hasKey(k)?(this.doc.head.appendChild(O),this.transferState.set(k,!0)):this.transferState.remove(k)}else this.doc.head.appendChild(O)}addGstaticPreconnect(){const U=this.settingsManager.getGooglefonts();if(U&&U.length>0){let O="fonts.googleapis.com",k=this.dom.createElement("link");k.href=O,k.rel="preconnect",this.appendInHeadOnce("GApisPreconnect",k),this.preconnectTags.add(O),O="https://fonts.gstatic.com",k=this.dom.createElement("link"),k.href=O,k.rel="preconnect",k.crossOrigin="",this.appendInHeadOnce("GstaticPreconnect",k),this.preconnectTags.add(O)}}}return(W=A).\u0275fac=function(U){return new(U||W)(s.LFG(n.DOCUMENT),s.LFG(c.F0),s.LFG(u.Dx),s.LFG(u.h_),s.LFG(b.pz),s.LFG(p.IF),s.LFG(m.m),s.LFG(s.kie,8))},W.\u0275prov=s.Yz7({token:W,factory:W.\u0275fac,providedIn:"root"}),A})();var T=r(28419),M=r(35594),B=r(21163);let N=(()=>{var W;class A{constructor(U,O,k,I,F,P,H,$){this.router=U,this.settingsManager=O,this.linksManager=k,this.linksBuilder=I,this.navigationManager=F,this.platform=P,this.location=H,this.serverContext=$;const J=this.router.events.pipe((0,h.h)(V=>V instanceof c.OD),(0,_.U)(V=>V.url.substring(1).replace(/[?#].*$/,"")),(0,h.h)(V=>""!==V),(0,_.U)(V=>this.settingsManager.getGeneralMainSlugsLink(V)),(0,h.h)(V=>!!V));this.platform.isBrowser?J.pipe((0,T.w)(V=>this.linksManager.handleNavigationLink(V,null,{skipLocationChange:!0}))).subscribe(V=>{V instanceof M.mF&&this.navigationManager.navigate(this.linksBuilder.getHomeRouterLink())}):this.serverContext&&J.subscribe(V=>{let le=V.url;le&&le.startsWith("/")&&(le=this.location.prepareExternalUrl(le)),this.serverContext.response.redirect(301,le)})}}return(W=A).\u0275fac=function(U){return new(U||W)(s.LFG(c.F0),s.LFG(b.pz),s.LFG(M.Vo),s.LFG(M.Bu),s.LFG(M.ww),s.LFG(m.m),s.LFG(n.LocationStrategy),s.LFG(B.C9,8))},W.\u0275prov=s.Yz7({token:W,factory:W.\u0275fac,providedIn:"root"}),A})()},26079:(_e,R,r)=>{"use strict";r.d(R,{eH:()=>I,nq:()=>F,O$:()=>W,vL:()=>Me,r0:()=>ct,I$:()=>tt,mK:()=>A,g$:()=>k});var n=r(93634),s=r(28459),c=r(84556),h=r(60110),v=r(77835),_=r(36305),m=r(49804),b=r(28419),p=r(24257),D=r(3050),a=r(9793),u=r(44036),E=r(99256),T=r(39071),M=r(63342),B=r(77533);const N=r(24583);let W=(()=>{var ut;class ne{get pushToken(){return this._pushToken}get pushPlatform(){return this._pushPlatform}get completePushPlatform(){return this._pushPlatform?`${this.platform}_${this._pushPlatform}`:this.platform}get pushTokenObservable(){return this._pushTokenObservable.asObservable()}get lastPingIsOld(){return!this.lastPingTime||this.dateTimeService.isNowAfterDate(this.dateTimeService.addDaysToDate(this.lastPingTime,1))}constructor(ae,w,Fe,Je,St,gt,Wt){this.settingsManager=ae,this.http=w,this.platformService=Fe,this.localStorage=Je,this.udid=St,this.zone=gt,this.dateTimeService=Wt,this.binaryVersion="10",this.platform="html5",this.fromStore="1",this.timezone=this.dateTimeService.getUTCTimezoneOffset(),this.pingType=0,this._pushTokenObservable=new s.t(1);const ft=(0,p.dU)();this.apiKey=ft.WMApiKey,this.apiSecret=ft.WMApiSecret,this.osVersion=this.platformService.browser.version,this.deviceName=this.platformService.browser.name,this.platformService.isBrowser&&(this.language=navigator.language||navigator.userLanguage||navigator.browserLanguage||navigator.systemLanguage||"en")}ping(ae="",w,Fe=!1){if(this._pushToken=ae,this._pushPlatform=w,this._pushTokenObservable.next(ae),this.apiKey&&this.apiSecret&&(this.lastPingIsOld||ae&&Fe)){const Je="https://api.goodbarber.net/statsapi/stats/v2/",St="goodbarber.ping",gt=new n.LE({encoder:new E.HK}).set("api_key",this.apiKey).set("api_sig",this.getApiSig(St)).set("method",St).set("webzine_id",this.settingsManager.getIdWebzine().toString()).set("udid",this.udid).set("token",ae).set("platform",this.completePushPlatform).set("binary_version",this.binaryVersion).set("json_version",this.settingsManager.timestamp.toString()).set("from_store",this.fromStore).set("os_version",this.osVersion).set("device_name",this.deviceName).set("language",this.language).set("timezone",this.timezone).set("ping_type",this.pingType.toString()).set("events",JSON.stringify(this.events));return this.http.post(Je,gt,{headers:new n.WM({"Content-Type":"application/x-www-form-urlencoded"})}).pipe((0,c.X)(1),(0,h.b)(()=>this.resetStats())).toPromise()}return Promise.resolve(null)}initialize(){this.retrieveStatsFromStorage();const ae=this.localStorage.getItem(ne.LAST_PING_KEY);ae&&(this.lastPingTime=parseInt(ae)),this.events.nb_launchs[0].value++,this.zone.runOutsideAngular(()=>{(0,v.F)(1e3).pipe((0,_.h)(()=>!document.hidden)).subscribe(()=>{this.events.session_time[0].value++,this.localStorage.setItem(ne.STATS_KEY,JSON.stringify(this.events))})})}trackPage(){this.events.page_views[0].value++,this.localStorage.setItem(ne.STATS_KEY,JSON.stringify(this.events))}updateUser(ae){this.pushTokenObservable.pipe((0,m.q)(1),(0,_.h)(w=>!!w),(0,b.w)(w=>{let Je=new n.LE({encoder:new E.HK});return Je=Je.set("webzine_id",this.settingsManager.getIdWebzine().toString()),Je=Je.set("user_id",ae),Je=Je.set("token",w),this.http.get("https://api.goodbarber.net/statsapi/update_user/",{params:Je}).pipe((0,c.X)(1))})).subscribe()}getApiSig(ae){return N(this.apiSecret+this.apiKey+ae)}resetStats(){const ae={nb_launchs:[{value:1}],page_views:[{value:1}],nb_sharings:[{value:0}],nb_comments:[{value:0}],session_time:[{value:0}]};this.localStorage.setItem(ne.STATS_KEY,JSON.stringify(ae)),this.events=ae,this.lastPingTime=Date.now(),this.localStorage.setItem(ne.LAST_PING_KEY,this.lastPingTime.toString())}retrieveStatsFromStorage(){const ae=this.localStorage.getItem(ne.STATS_KEY);let w;ae?w=JSON.parse(ae):(w={nb_launchs:[{value:1}],page_views:[{value:1}],nb_sharings:[{value:0}],nb_comments:[{value:0}],session_time:[{value:0}]},this.localStorage.setItem(ne.STATS_KEY,JSON.stringify(w))),this.events=w}}return(ut=ne).STATS_KEY="gbstats",ut.LAST_PING_KEY="gblastpt",ut.\u0275fac=function(ae){return new(ae||ut)(B.LFG(a.pz),B.LFG(n.eN),B.LFG(D.m),B.LFG(M.n2),B.LFG(u.hb),B.LFG(B.R0b),B.LFG(T.C))},ut.\u0275prov=B.Yz7({token:ut,factory:ut.\u0275fac,providedIn:"root"}),ne})();const A=new B.OlP("Stats services");var X=r(14565),U=r(91468);const O=["baidu","bing","duckduckgo","ecosia","exalead","gigablast","google","munax","qwant","soso","yahoo","yandex","youdao"];let k=(()=>{var ut;class ne{constructor(ae,w,Fe){if(this.doc=ae,this.localStorage=w,this.platform=Fe,Fe.isBrowser){const Je=this.getUtmParameters();this.saveUtmParameters(Je)}}getUtmParametersFromLocalStorage(){const ae=this.localStorage.getItem("gbutm");return ae?JSON.parse(ae):this.getUtmParameters()}getUtmParameters(ae){if(!this.platform.isBrowser||"payment_callback"===this.doc.location.pathname.substr(1))return null;let w;if(ae){if(!(/utm_/.exec(ae)&&ae.indexOf("?")>-1))return null;w=ae.split("?")[1]}else w=this.doc.location.search.substr(1);const Fe=this.doc.referrer,Je=this.getParamsFromUrlQueryString(w);let gt;return gt=Je.source||Je.medium||Je.campaign||Je.gclid?this.getFinalParamsWithUrlParams(Je,Fe):this.getFinalParamsWithReferrer(Fe),gt.date=(new Date).toISOString(),gt}getFinalParamsWithUrlParams(ae,w){const Fe={};if(ae.source)Fe.source=ae.source;else if(ae.gclid)Fe.source="google",Fe.medium="cpc";else if(w){const St=w.match(/:\/\/(.[^/]+)/)[1];Fe.source=St}else Fe.source="(not set)";return Fe.medium=Fe.medium||ae.medium||"(not set)",Fe.campaign=ae.campaign||"(not set)",ae.term&&(Fe.term=ae.term),ae.content&&(Fe.content=ae.content),ae.gclid&&(Fe.gclid=ae.gclid),w&&(Fe.referral_path=w),Fe}getFinalParamsWithReferrer(ae){const w={};if(ae){const Je=ae.match(/:\/\/(.[^/]+)(.*)/)[1],St=O.find(gt=>Je.indexOf(gt)>=0);St?(w.source=St,w.medium="organic"):(w.source=Je,w.medium="referral"),w.campaign="(not set)",w.referral_path=ae}else w.source="(direct)",w.medium="(none)",w.campaign="(none)";return w}saveUtmParameters(ae){this.localStorage.setItem("gbutm",JSON.stringify(ae))}mergeIntoUtmParameters(ae){const Fe={...this.getUtmParametersFromLocalStorage(),...ae};this.saveUtmParameters(Fe)}getParamsFromUrlQueryString(ae){const w=new n.LE({fromString:ae,encoder:new E.NC});return{source:w.get("utm_source"),medium:w.get("utm_medium"),campaign:w.get("utm_campaign"),term:w.get("utm_term"),content:w.get("utm_content"),gclid:w.get("gclid")}}}return(ut=ne).\u0275fac=function(ae){return new(ae||ut)(B.LFG(X.DOCUMENT),B.LFG(U.n),B.LFG(D.m))},ut.\u0275prov=B.Yz7({token:ut,factory:ut.\u0275fac,providedIn:"root"}),ne})();const I=new B.OlP("EventsTrackerProviders");let F=(()=>{var ut;class ne{constructor(ae){this.eventsTrackerProvider=ae}initialize(){this.eventsTrackerProvider.forEach(ae=>ae.initialize())}trackPage(ae){this.eventsTrackerProvider.forEach(w=>w.trackPage(ae))}trackLogin(ae){this.eventsTrackerProvider.forEach(w=>w.trackLogin(ae))}trackSignUp(ae){this.eventsTrackerProvider.forEach(w=>w.trackSignUp(ae))}trackShare(ae,w,Fe){this.eventsTrackerProvider.forEach(Je=>Je.trackShare(ae,w,Fe))}trackSearch(ae){this.eventsTrackerProvider.forEach(w=>w.trackSearch(ae))}trackViewSearchResults(ae){this.eventsTrackerProvider.forEach(w=>w.trackViewSearchResults(ae))}trackContentSelect(ae,w,Fe){this.eventsTrackerProvider.forEach(Je=>Je.trackContentSelect(ae,w,Fe))}trackItemView(ae){this.eventsTrackerProvider.forEach(w=>w.trackItemView(ae))}trackItemListView(ae){this.eventsTrackerProvider.forEach(w=>w.trackItemListView(ae))}trackAddToCart(ae,w,Fe){this.eventsTrackerProvider.forEach(Je=>Je.trackAddToCart(ae,w,Fe))}trackRemoveFromCart(ae,w,Fe){this.eventsTrackerProvider.forEach(Je=>Je.trackRemoveFromCart(ae,w,Fe))}trackBeginCheckout(ae,w,Fe){this.eventsTrackerProvider.forEach(Je=>Je.trackBeginCheckout(ae,w,Fe))}trackAddPaymentInfo(){this.eventsTrackerProvider.forEach(ae=>ae.trackAddPaymentInfo())}trackPurchase(ae,w,Fe,Je,St,gt,Wt,ft,ye){this.eventsTrackerProvider.forEach(st=>st.trackPurchase(ae,w,Fe,Je,St,gt,Wt,ft,ye))}trackAudioStart(ae){this.eventsTrackerProvider.forEach(w=>w.trackAudioStart(ae))}trackAudioProgress(ae){this.eventsTrackerProvider.forEach(w=>w.trackAudioProgress(ae))}trackAudioComplete(ae){this.eventsTrackerProvider.forEach(w=>w.trackAudioComplete(ae))}trackAudioPause(ae){this.eventsTrackerProvider.forEach(w=>w.trackAudioPause(ae))}trackAudioSeek(ae){this.eventsTrackerProvider.forEach(w=>w.trackAudioSeek(ae))}trackAudioNext(ae){this.eventsTrackerProvider.forEach(w=>w.trackAudioNext(ae))}trackAudioPrevious(ae){this.eventsTrackerProvider.forEach(w=>w.trackAudioPrevious(ae))}trackLiveStart(ae,w,Fe){this.eventsTrackerProvider.forEach(Je=>Je.trackLiveStart(ae,w,Fe))}trackLivePause(ae,w,Fe){this.eventsTrackerProvider.forEach(Je=>Je.trackLivePause(ae,w,Fe))}trackWalkthroughDisplayed(){this.eventsTrackerProvider.forEach(ae=>ae.trackWalkthroughDisplayed())}trackWalkthroughSkipped(){this.eventsTrackerProvider.forEach(ae=>ae.trackWalkthroughSkipped())}trackWalkthroughCompleted(){this.eventsTrackerProvider.forEach(ae=>ae.trackWalkthroughCompleted())}trackWalkthroughStep(ae){this.eventsTrackerProvider.forEach(w=>w.trackWalkthroughStep(ae))}}return(ut=ne).\u0275fac=function(ae){return new(ae||ut)(B.LFG(I))},ut.\u0275prov=B.Yz7({token:ut,factory:ut.\u0275fac,providedIn:"root"}),ne})();var P=r(96407),H=r(80697),$=r(29582);const le=/GTM-XXXX/gi;class ge{constructor(ne,y,ae){this.logger=ne,this.platform=y,this.settingsManager=ae,this.dom=(0,X.\u0275getDOM)(),this.initialized=!1}load(){if(this.gtmId=this.settingsManager.getGeneralGtmamp(),this.gtmId&&!this.initialized){const ne=this.dom.createElement("script");ne.setAttribute("async",""),ne.setAttribute("custom-element","amp-analytics"),ne.setAttribute("src","https://cdn.ampproject.org/v0/amp-analytics-0.1.js"),this.platform.doc.head.insertAdjacentElement("beforeend",ne);const y=this.dom.createElement("amp-analytics");y.setAttribute("config","https://www.googletagmanager.com/amp.json?id=GTM-XXXX&gtm.url=SOURCE_URL".replace(le,this.gtmId)),y.setAttribute("data-credentials","include"),this.platform.doc.body.insertAdjacentElement("afterbegin",y),this.initialized=!0,this.logger.debug("Google GTM handler created",{id:this.gtmId})}}}var te=r(57495);const ee=/GTM-XXXX/gi;class pe{constructor(ne,y,ae){this.settingsManager=ne,this.platform=y,this.consentFacade=ae,this.initialized=!1,this.dom=(0,X.\u0275getDOM)()}load(){this.consentFacade.canUseExternal$.pipe((0,te.P)(ne=>!!ne)).subscribe(ne=>{this.gtmId=this.settingsManager.getGeneralGtm(),this.gaId=this.settingsManager.getGeneralGoogleAnalytics();const y=this.settingsManager.getGoogleAnalyticsAnonymization();this.initialized||(this.gtmId&&this.loadGTMScripts(),this.gaId&&(this.loadGAScripts(),this.platform.windowRef.gtag("config",this.gaId,this.generateConfigObject(y))),this.initialized=!0)})}loadGTMScripts(){const ne=this.dom.createElement("script");ne.innerHTML="(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':\nnew Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],\nj=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=\n'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);\n})(window,document,'script','dataLayer','GTM-XXXX');".replace(ee,this.gtmId),this.platform.doc.head.insertAdjacentElement("beforeend",ne);const y=this.dom.createElement("noscript"),ae=this.dom.createElement("iframe");ae.src="https://www.googletagmanager.com/ns.html?id="+this.gtmId,ae.setAttribute("style","display:none;visibility:hidden;height:0;width:0"),y.appendChild(ae),this.platform.doc.body.insertAdjacentElement("afterbegin",y)}loadGAScripts(){const ne=this.dom.createElement("script");ne.async=!0,ne.src="https://www.googletagmanager.com/gtag/js?id="+this.gaId,this.platform.doc.body.appendChild(ne);const y=this.dom.createElement("script");y.textContent="window.dataLayer = window.dataLayer || [];function gtag() { dataLayer.push(arguments); }gtag('js', new Date());",this.platform.doc.body.appendChild(y)}generateConfigObject(ne){return ne?{anonymize_ip:!0,cookie_expires:1578e4,cookie_update:!1,send_page_view:!1,custom_map:{dimension1:"checkout_path",dimension2:"payment_method"}}:{send_page_view:!1,custom_map:{dimension1:"checkout_path",dimension2:"payment_method"}}}}let Me=(()=>{var ut;class ne{}return(ut=ne).\u0275fac=function(ae){return new(ae||ut)},ut.\u0275prov=B.Yz7({token:ut,factory:function(ae){let w=null;return w=ae?new ae:function se(ut,ne,y,ae){return ne.isAmpApp?new ge(ut,ne,y):new pe(y,ne,ae)}(B.LFG(H.Y),B.LFG(D.m),B.LFG(a.pz),B.LFG($.B)),w},providedIn:"root"}),ne})(),ct=(()=>{var ut;class ne{get isGTagReady(){return"gtag"in this.platform.windowRef}constructor(ae,w,Fe,Je){this.logger=ae,this.platform=w,this.settingsManager=Fe,this.loader=Je}initialize(){this.loader.load()}sendEvent(ae,w){this.isGTagReady&&(w?this.platform.windowRef.gtag("event",ae,w):this.platform.windowRef.gtag("event",ae),this.logger.info(`Google GTag Track ${ae}`))}trackPage(ae){this.sendEvent("page_view",{page_path:ae})}trackLogin(ae){this.sendEvent("login",{method:ae})}trackSignUp(ae){this.sendEvent("sign_up",{method:ae})}trackShare(ae,w,Fe){this.sendEvent("share",{method:Fe,content_id:ae,content_type:w})}trackSearch(ae){this.sendEvent("search",{search_term:ae})}trackViewSearchResults(ae){this.sendEvent("view_search_results",{search_term:ae})}trackContentSelect(ae,w,Fe){this.sendEvent("select_content",{content_type:w,content_id:Fe,items:ae})}trackItemView(ae){this.sendEvent("view_item",{items:ae})}trackItemListView(ae){this.sendEvent("view_item_list",{items:ae})}trackAddToCart(ae,w,Fe){const Je=this.formatItemsToSend(Fe);this.sendEvent("add_to_cart",{value:ae,currency:w,items:Je})}trackRemoveFromCart(ae,w,Fe){const Je=this.formatItemsToSend(Fe);this.sendEvent("remove_from_cart",{value:ae,currency:w,items:Je})}trackBeginCheckout(ae,w,Fe){this.sendEvent("begin_checkout",{value:ae,currency:w,items:this.formatItemsToSend(Fe)})}trackAddPaymentInfo(){this.sendEvent("add_payment_info")}trackPurchase(ae,w,Fe,Je,St,gt,Wt,ft,ye){const st=this.formatItemsToSend(gt),we="one_click"===ye?"1click":"regular",$e=this.settingsManager.getGoogleAnalyticsAnonymization();this.sendEvent("purchase",{transaction_id:$e?"0000":ae,value:w,currency:Fe,tax:Je,shipping:St,items:st,coupon:Wt,checkout_path:we,payment_method:this.getAnalyticsPaymentMethodDimensionFromPaymentDetails(ye,ft)})}trackAudioStart(ae){this.sendEvent("audio_start",this.formatSound(ae))}trackAudioProgress(ae){this.sendEvent("audio_progress",this.formatSound(ae))}trackAudioComplete(ae){this.sendEvent("audio_complete",this.formatSound(ae))}trackAudioPause(ae){this.sendEvent("audio_pause",this.formatSound(ae))}trackAudioSeek(ae){this.sendEvent("audio_seek",this.formatSound(ae))}formatSound(ae){return{media_title:ae.mediaTitle,media_id:ae.mediaId,media_url:ae.mediaUrl,media_current_time:ae.mediaCurrentTime,media_percent:ae.mediaPercent,media_duration:ae.mediaDuration}}trackAudioNext(ae){this.sendEvent("audio_next",this.formatSoundNavControls(ae))}trackAudioPrevious(ae){this.sendEvent("audio_previous",this.formatSoundNavControls(ae))}trackLiveStart(ae,w,Fe){this.sendEvent("live_start",{media_title:ae,media_id:w,media_url:Fe})}trackLivePause(ae,w,Fe){this.sendEvent("live_pause",{media_title:ae,media_id:w,media_url:Fe})}trackWalkthroughDisplayed(){this.sendEvent("walkthrough_displayed")}trackWalkthroughSkipped(){this.sendEvent("walkthrough_skipped")}trackWalkthroughCompleted(){this.sendEvent("walkthrough_completed")}trackWalkthroughStep(ae){this.sendEvent("walkthrough_step",{step_number:ae})}formatSoundNavControls(ae){return{media_source_title:ae.mediaSourceTitle,media_source_id:ae.mediaSourceId,media_source_url:ae.mediaSourceUrl,media_destination_title:ae.mediaDestinationTitle,media_destination_id:ae.mediaDestinationId,media_destination_url:ae.mediaDestinationUrl}}formatItemsToSend(ae){return ae.items.map(Fe=>{const Je=ae.variants[Fe.variant],St=ae.products[Je.product.toString()],gt=this.settingsManager.getCommerceTitleWithCollectionId(St.collections[0].toString());return{id:St.id.toString(),name:St.title,category:gt,list_name:gt,price:Je.price,quantity:ae.quantity||Fe.quantity,variant:(0,P.J)(Je.option_values)}})}getAnalyticsPaymentMethodDimensionFromPaymentDetails(ae,w){return"sandbox"===ae?"test_gateway":"paypal"===ae||"mercado"===ae?ae:"one_click"===ae?w.toLowerCase():"stripe"===ae?"credit_card":""}}return(ut=ne).\u0275fac=function(ae){return new(ae||ut)(B.LFG(H.Y),B.LFG(D.m),B.LFG(a.pz),B.LFG(Me))},ut.\u0275prov=B.Yz7({token:ut,factory:ut.\u0275fac}),ne})();let lt=(()=>{var ut;class ne{constructor(ae,w,Fe){this.settingsManager=ae,this.platform=w,this.consentFacade=Fe,this.initialized=!1,this.dom=(0,X.\u0275getDOM)()}load(){this.consentFacade.canUseExternal$.pipe((0,te.P)(ae=>!!ae)).subscribe(ae=>{this.mpId=this.settingsManager.getGeneralMetaPixelId(),this.mpIsEnabled=this.settingsManager.getGeneralMetaPixelEnabled(),this.initialized||(this.mpId&&this.mpIsEnabled&&this.loadPMScripts(),this.initialized=!0)})}loadPMScripts(){const ae=this.dom.createElement("script");ae.innerHTML="!function(f,b,e,v,n,t,s)\n{if(f.fbq)return;n=f.fbq=function(){n.callMethod?\nn.callMethod.apply(n,arguments):n.queue.push(arguments)};\nif(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';\nn.queue=[];t=b.createElement(e);t.async=!0;\nt.src=v;s=b.getElementsByTagName(e)[0];\ns.parentNode.insertBefore(t,s)}(window, document,'script',\n'https://connect.facebook.net/en_US/fbevents.js');\nfbq('init', '{your-pixel-id-goes-here}');\nfbq.disablePushState = true;".replace("{your-pixel-id-goes-here}",this.mpId),this.platform.doc.head.insertAdjacentElement("beforeend",ae)}}return(ut=ne).\u0275fac=function(ae){return new(ae||ut)(B.LFG(a.pz),B.LFG(D.m),B.LFG($.B))},ut.\u0275prov=B.Yz7({token:ut,factory:ut.\u0275fac,providedIn:"root"}),ne})(),tt=(()=>{var ut;class ne{get isReady(){return"fbq"in this.platform.windowRef}constructor(ae,w,Fe,Je){this.logger=ae,this.platform=w,this.settingsManager=Fe,this.loader=Je}initialize(){this.loader.load()}sendEvent(ae,w){this.isReady&&(w?this.platform.windowRef.fbq("track",ae,w):this.platform.windowRef.fbq("track",ae),this.logger.info(`Meta Pixel Track ${ae}`))}sendCustomEvent(ae,w){this.isReady&&(w?this.platform.windowRef.fbq("trackCustom",ae,w):this.platform.windowRef.fbq("trackCustom",ae),this.logger.info(`Meta Pixel Track ${ae}`))}trackPage(ae){this.sendEvent("PageView")}trackLogin(ae){this.sendCustomEvent("Login",{content_name:ae,status:!0})}trackSignUp(ae){this.sendEvent("SignUp",{content_name:ae,status:!0})}trackShare(ae,w,Fe){this.sendCustomEvent("Share",{method:Fe,content_ids:ae,type:w})}trackSearch(ae){this.sendEvent("Search",{search_string:ae})}trackViewSearchResults(ae){this.sendCustomEvent("ViewSearchResults",{search_string:ae})}trackContentSelect(ae,w,Fe){this.sendCustomEvent("SelectContent",{content_type:w,content_id:Fe,contents:ae})}trackItemView(ae){this.sendEvent("ViewContent",{contents:ae,content_type:"product"})}trackItemListView(ae){this.sendCustomEvent("ViewItemList",{contents:ae,content_type:"product_group"})}trackAddToCart(ae,w,Fe){const Je=this.formatItemsToSend(Fe);this.sendEvent("AddToCart",{value:ae,currency:w,content_type:"product",contents:Je})}trackRemoveFromCart(ae,w,Fe){const Je=this.formatItemsToSend(Fe);this.sendCustomEvent("RemoveFromCart",{value:ae,currency:w,content_type:"product",contents:Je})}trackBeginCheckout(ae,w,Fe){const Je=this.formatItemsToSend(Fe);this.sendEvent("InitiateCheckout",{value:ae,currency:w,contents:Je,num_items:this.calculateProductQuantities(Je)})}trackAddPaymentInfo(){this.sendEvent("AddPaymentInfo")}trackPurchase(ae,w,Fe,Je,St,gt,Wt,ft,ye){const st=this.formatItemsToSend(gt);this.sendEvent("Purchase",{value:w,currency:Fe,num_items:this.calculateProductQuantities(st),content_type:"product_group",contents:st})}trackAudioStart(ae){this.sendCustomEvent("audio_start",this.formatSound(ae))}trackAudioProgress(ae){this.sendCustomEvent("audio_progress",this.formatSound(ae))}trackAudioComplete(ae){this.sendCustomEvent("audio_complete",this.formatSound(ae))}trackAudioPause(ae){this.sendCustomEvent("audio_pause",this.formatSound(ae))}trackAudioSeek(ae){this.sendCustomEvent("audio_seek",this.formatSound(ae))}formatSound(ae){return{media_title:ae.mediaTitle,media_id:ae.mediaId,media_url:ae.mediaUrl,media_current_time:ae.mediaCurrentTime,media_percent:ae.mediaPercent,media_duration:ae.mediaDuration}}trackAudioNext(ae){this.sendEvent("audio_next",this.formatSoundNavControls(ae))}trackAudioPrevious(ae){this.sendEvent("audio_previous",this.formatSoundNavControls(ae))}trackLiveStart(ae,w,Fe){this.sendEvent("live_start",{media_title:ae,media_id:w,media_url:Fe})}trackLivePause(ae,w,Fe){this.sendEvent("live_pause",{media_title:ae,media_id:w,media_url:Fe})}trackWalkthroughDisplayed(){this.sendCustomEvent("walkthrough_displayed")}trackWalkthroughSkipped(){this.sendCustomEvent("walkthrough_skipped")}trackWalkthroughCompleted(){this.sendCustomEvent("walkthrough_completed")}trackWalkthroughStep(ae){this.sendCustomEvent("walkthrough_step",{step_number:ae})}formatSoundNavControls(ae){return{media_source_title:ae.mediaSourceTitle,media_source_id:ae.mediaSourceId,media_source_url:ae.mediaSourceUrl,media_destination_title:ae.mediaDestinationTitle,media_destination_id:ae.mediaDestinationId,media_destination_url:ae.mediaDestinationUrl}}formatItemsToSend(ae){return ae.items.map(Fe=>{const Je=ae.variants[Fe.variant],St=ae.products[Je.product.toString()],gt=this.settingsManager.getCommerceTitleWithCollectionId(St.collections[0].toString());return{id:St.id.toString(),name:St.title,category:gt,price:Je.price,list_name:gt,quantity:ae.quantity||Fe.quantity,variant:(0,P.J)(Je.option_values)}})}calculateProductQuantities(ae){let w=0;return ae.forEach(Fe=>{w+=Fe.quantity}),w}}return(ut=ne).\u0275fac=function(ae){return new(ae||ut)(B.LFG(H.Y),B.LFG(D.m),B.LFG(a.pz),B.LFG(lt))},ut.\u0275prov=B.Yz7({token:ut,factory:ut.\u0275fac}),ne})()},25100:(_e,R,r)=>{"use strict";r.d(R,{BN:()=>p,BP:()=>s,Ro:()=>_,Sy:()=>h,b0:()=>b,cn:()=>c,uG:()=>a,y$:()=>v,yJ:()=>D,yt:()=>u});var n=r(31907);const s=(0,n.PH)("[DATA] Add Catalog",(0,n.Ky)()),c=(0,n.PH)("[DATA] Add User",(0,n.Ky)()),h=(0,n.PH)("[DATA] Add Customer",(0,n.Ky)()),v=(0,n.PH)("[DATA] Add Address",(0,n.Ky)()),_=(0,n.PH)("[DATA] Remove Address",(0,n.Ky)()),b=((0,n.PH)("[DATA] Clear Shop User"),(0,n.PH)("[DATA] Add Orders",(0,n.Ky)())),p=(0,n.PH)("[DATA] Add Cards",(0,n.Ky)()),D=(0,n.PH)("[DATA] Remove Card",(0,n.Ky)()),a=(0,n.PH)("[DATA] Update Customer",(0,n.Ky)()),u=(0,n.PH)("[DATA] Add Rewards",(0,n.Ky)())},57993:(_e,R,r)=>{"use strict";r.d(R,{BN:()=>n.BN,BP:()=>n.BP,Bx:()=>s.Bx,IB:()=>s.IB,LZ:()=>h.LZ,Lc:()=>s.Lc,Ro:()=>n.Ro,Sy:()=>n.Sy,Xp:()=>h.Xp,b0:()=>n.b0,cn:()=>n.cn,dt:()=>h.dt,j6:()=>s.j6,mg:()=>s.mg,t9:()=>s.t9,uG:()=>n.uG,y$:()=>n.y$,yJ:()=>n.yJ,yt:()=>n.yt,zB:()=>s.zB});var n=r(25100),s=r(29838),h=(r(12664),r(4039))},29838:(_e,R,r)=>{"use strict";r.d(R,{Bx:()=>h,IB:()=>D,Lc:()=>m,cn:()=>v,f0:()=>_,j6:()=>c,mg:()=>a,t9:()=>p,zB:()=>u});var n=r(83162),s=r(12664);function c(E){return(0,n.Fv)(E,s.aG)}function h(E){return(0,n.Fv)(E,s.IK)}function v(E){return(0,n.Fv)(E,s.Lx)}function _(E){return(0,n.Fv)(E,s.Lk)}function m(E){return(0,n.Fv)(E,s.ZA)}function p(E){return(0,n.Fv)(E,s.YC)}function D(E){return(0,n.Fv)(E,s.$h)}function a(E){return(0,n.Fv)(E,s.h3)}function u(E){return(0,n.Fv)(E,s.Zg)}},12664:(_e,R,r)=>{"use strict";r.d(R,{$h:()=>X,IK:()=>a,Lk:()=>p,Lx:()=>D,YC:()=>E,ZA:()=>N,Zg:()=>k,aG:()=>m,h3:()=>U});var n=r(83162);const s=new n.fK.Entity("options"),c=new n.fK.Entity("medias"),h=new n.fK.Entity("similars"),v=new n.fK.Entity("products",{options:[s],slides:[c],similar_products:[h]}),_=new n.fK.Entity("variants",{product:v,media:c}),m=new n.fK.Array(_),b=new n.fK.Entity("card"),p=new n.fK.Entity("address"),D=new n.fK.Entity("customer",{shipping_address:[p],billing_address:[p]}),a=new n.fK.Entity("user",{customer:D}),E=[b],M=(new n.fK.Entity("items",{media:c}),new n.fK.Entity("available_shipping_methods")),B=new n.fK.Entity("orders",{available_shipping_methods:[M]}),N=new n.fK.Array(B),W=new n.fK.Entity("shippingMethods"),X={items:[new n.fK.Entity("items",{},{idAttribute:I=>I.variant})],available_shipping_methods:[W]},U=new n.fK.Values(m),O=new n.fK.Entity("rewards"),k=new n.fK.Array(O)},4039:(_e,R,r)=>{"use strict";r.d(R,{LZ:()=>b,Xp:()=>m,dt:()=>h,qy:()=>p});var n=r(31907),s=r(15266),c=r(54298);const h=c.uc("commerce","variants"),v=c.s3("commerce","variants"),_=(0,n.P1)(h,v,(a,u)=>u.map(E=>a[E])),m=c.uc("commerce","products"),b=c.uc("commerce","medias"),p=c.uc("commerce","shippingMethods");(0,n.P1)(_,m,b,s.B)},1653:(_e,R,r)=>{"use strict";r.d(R,{YF:()=>E,md:()=>m,BP:()=>p.BP,uc:()=>D.uc,s3:()=>D.s3,j6:()=>p.j6,IB:()=>p.IB,Lc:()=>p.Lc,zB:()=>p.zB,Bx:()=>p.Bx,mg:()=>p.mg});var n=r(27823),s=r(97478),c=r(32266),h=r(25100),v=r(29838),_=r(77533);let m=(()=>{var T;class M{constructor(N){this.actions$=N,this.addUserToStore$=(0,n.GW)(()=>this.actions$.pipe((0,n.l4)(c.h9.storeUser),(0,s.U)(W=>h.cn({user:(0,v.Bx)(W.user)}))))}}return(T=M).\u0275fac=function(N){return new(N||T)(_.LFG(n.eX))},T.\u0275prov=_.Yz7({token:T,factory:T.\u0275fac}),M})();r(13340);var p=r(57993),D=r(54298),a=r(31907),u=r(4039);let E=(()=>{var T;class M{constructor(N){this.store=N,this.commerceShippingMethods$=this.store.pipe((0,a.Ys)(u.qy))}addCommerceCatalog(N){this.store.dispatch(h.BP({catalog:N}))}}return(T=M).\u0275fac=function(N){return new(N||T)(_.LFG(a.yh))},T.\u0275prov=_.Yz7({token:T,factory:T.\u0275fac,providedIn:"root"}),M})()},28407:(_e,R,r)=>{"use strict";r.d(R,{TG:()=>p,yS:()=>a,BK:()=>D});var n=r(83162);const s=new n.fK.Entity("group"),c=new n.fK.Entity("social_account"),h=new n.fK.Entity("picture"),v=new n.fK.Entity("social_user",{social_accounts:[c]}),_=new n.fK.Entity("user",{social_user:v,groups:[s],picture:h}),m=new n.fK.Entity("products"),b=new n.fK.Array(m);function p(u){return(0,n.Fv)(u,_)}function D(u){return(0,n.Fv)(u,h)}function a(u){return(0,n.Fv)(u,b)}},54298:(_e,R,r)=>{"use strict";r.d(R,{Gn:()=>b,L7:()=>m,s3:()=>_,uc:()=>v});var n=r(31907);const s=p=>p.data,h=(p,D)=>(0,n.P1)((p=>(0,n.P1)(s,D=>D[p]||{}))(p),a=>a[D]||{}),v=(p,D)=>(0,n.P1)(h(p,D),a=>a.entities||{}),_=(p,D)=>(0,n.P1)(h(p,D),a=>a.ids||[]),m=(p,D,a)=>(0,n.P1)(v(p,D),u=>u[a.toString()]),b=(p,D)=>(0,n.P1)(_(p,D),v(p,D),(a,u)=>(a||[]).map(E=>u[E.toString()]))},13340:(_e,R,r)=>{"use strict";r.d(R,{Y:()=>n});const n={}},98819:(_e,R,r)=>{"use strict";r.d(R,{YF:()=>N.YF,md:()=>N.md,Wt:()=>A,fT:()=>O,lz:()=>B,uc:()=>N.uc,s3:()=>N.s3,j6:()=>N.j6,IB:()=>N.IB,Lc:()=>N.Lc,zB:()=>N.zB,Bx:()=>N.Bx,mg:()=>N.mg,qF:()=>U});var n=r(31907),s=r(24698),c=r(82998),h=r(32266),v=r(23983),_=r(57993),m=r(13340);function b(k,I,F,P,H=null){const $=(k[I]||{})[F]||{},J=$.ids||[],V=$.entities||{};if(H)for(const le in V)H.forEach(ge=>{V[le]&&P[le]&&ge in V[le]&&ge in P[le]&&Array.isArray(V[le][ge])&&Array.isArray(P[le][ge])&&(P={...P,[le]:{...P[le],[ge]:Array.from(new Set(V[le][ge].concat(P[le][ge])))}})});return{...k,[I]:{...k[I],[F]:{...$,ids:Array.from(new Set(J.concat(Object.keys(P)))),entities:{...$.entities,...P}}}}}function p(k,I,F,P){const H=(k[I]||{})[F]||{};return{...k,[I]:{...k[I],[F]:{...H,ids:Array.from(new Set(Object.keys(P))),entities:{...P}}}}}function D(k,I,F,P){const H=(k[I]||{})[F]||{},$=H.ids||[];return{...k,[I]:{...k[I],[F]:{...H,ids:$.filter(J=>J!==P),entities:Object.keys(H.entities).reduce((J,V)=>(V!==P&&(J[V]=H.entities[V]),J),{})}}}}function a(k,I,F){return{...k,[I]:{...k[I],[F]:{ids:[],entities:{}}}}}const u=(0,n.Lq)(m.Y,(0,n.on)(_.BP,(k,{catalog:I})=>{let F={...k};return F=b(F,"commerce","medias",I.entities.medias||{}),F=b(F,"commerce","options",I.entities.options||{},["values"]),F=b(F,"commerce","products",I.entities.products||{}),F=b(F,"commerce","similars",I.entities.similars||{}),F=b(F,"commerce","variants",I.entities.variants||{}),F}),(0,n.on)(_.cn,h.h9.refreshUserSuccess,(k,{user:I})=>{let F={...k};return F=p(F,"commerce","addresses",I.entities.address||{}),F=p(F,"commerce","customer",I.entities.customer||{}),F=p(F,"commerce","user",I.entities.user||{}),F}),(0,n.on)(_.Sy,_.uG,(k,{customer:I})=>{let F={...k};return F=p(F,"commerce","addresses",I.entities.address||{}),F=p(F,"commerce","customer",I.entities.customer||{}),F}),(0,n.on)(_.y$,(k,{addresses:I})=>b(k,"commerce","addresses",I.entities.address||{})),(0,n.on)(_.Ro,(k,{address:I})=>D(k,"commerce","addresses",I.id.toString())),(0,n.on)(_.BN,(k,{cards:I})=>p(k,"commerce","cards",I.entities.card||{})),(0,n.on)(_.yJ,(k,{cardId:I})=>D(k,"commerce","cards",I)),(0,n.on)(h.h9.logout,k=>{let I={...k};return I=a(I,"commerce","user"),I=a(I,"commerce","customer"),I=a(I,"commerce","addresses"),I=a(I,"commerce","orders"),I=a(I,"commerce","cards"),I=a(I,"commerce","rewards"),I}),(0,n.on)(_.b0,(k,{orders:I})=>{let F={...k};return F=b(F,"commerce","orders",I.entities.orders||{}),F=b(F,"commerce","shippingMethods",I.entities.available_shipping_methods||{}),F}),(0,n.on)(s.R2,s.VH,s.f$,s.J_,s.E5,s.lj,s.qs,s.mg,s.Bb,s.cy,s.L0,s.dn,s.re,s.MC,s.ER,s.vs,(k,I)=>{let F={...k};return F=b(F,"commerce","shippingMethods",I.response.entities.shippingMethods||{}),F}),(0,n.on)(h.iD.loginSuccess,h.iD.loginWithTokenDidSuccess,h.iD.refreshUserSuccess,c.cA,(k,{user:I})=>{let F={...k};return F=p(F,"classic","userGroups",I.entities.group||{}),F=p(F,"classic","socialUsers",I.entities.social_user||{}),F=p(F,"classic","user",I.entities.user||{}),F=p(F,"classic","socialAccounts",I.entities.social_account||{}),F=p(F,"classic","picture",I.entities.picture||{}),F}),(0,n.on)(c.lv,(k,{userId:I,picture:F})=>{let P={...k};const $={[I]:{...P.classic.user.entities[I],picture:F.result}};return P=b(P,"classic","picture",F.entities.picture||{}),P=p(P,"classic","user",$),P}),(0,n.on)(v.W.getIAPProductsDidSuccess,(k,{normalizeIapProducts:I})=>{let F={...k};return F=b(F,"iap","products",I.entities.products||{}),F}),(0,n.on)(_.yt,(k,{rewards:I})=>{let F={...k};return F=b(F,"commerce","rewards",I.entities.rewards||{}),F}));var T=r(24681);const M={data:function E(k=m.Y,I){return u(k,I)}};function B(){return{...M,...T.ll}}var N=r(1653),W=r(77533);const A=new W.OlP("@ngrx Effects Bootstrap");function X(...k){return k}function U(k){return[k,{provide:A,deps:k,useFactory:X,multi:!0}]}let O=(()=>{var k;class I{constructor(P){this.store=P,this.keyword$=this.store.pipe((0,n.Ys)(T.e8)),this.sectionId$=this.store.pipe((0,n.Ys)(T.YR)),this.categoryIndex$=this.store.pipe((0,n.Ys)(T.hW)),this.itemId$=this.store.pipe((0,n.Ys)(T.x3)),this.routerState$=this.store.pipe((0,n.Ys)(T.aQ)),this.data$=this.store.pipe((0,n.Ys)(T.Yu))}}return(k=I).\u0275fac=function(P){return new(P||k)(W.LFG(n.yh))},k.\u0275prov=W.Yz7({token:k,factory:k.\u0275fac,providedIn:"root"}),I})()},24681:(_e,R,r)=>{"use strict";r.d(R,{YR:()=>m,Yu:()=>_,aQ:()=>v,e8:()=>a,hW:()=>D,jo:()=>b,ll:()=>h,p$:()=>E,x3:()=>p});var n=r(84126),s=r(31907),c=r(77533);const h={route:n.mg},v=(0,s.ZF)("route"),_=(0,s.P1)(v,T=>T?.state?.data||{}),m=(0,s.P1)(v,T=>{if(T&&T.state)return T.state.data.section}),b=(0,s.P1)(v,T=>{if(T&&T.state)return T.state.data.node}),p=(0,s.P1)(v,T=>{if(T&&T.state)return T.state.params.item_id}),D=(0,s.P1)(v,T=>T&&T.state.params.category?parseInt(T.state.params.category):-1),a=(0,s.P1)(v,T=>{if(T&&T.state)return T.state.params.keyword});(0,s.P1)(v,T=>{if(T&&T.state)return T.state.params.variant_id});let E=(()=>{var T;class M{serialize(N){const W=N.url;let A=N.root,X={},U={};for(;A.firstChild;)A=A.firstChild,X={...X,...A.params},U={...U,...A.data};return{url:W,params:X,data:U}}}return(T=M).\u0275fac=function(N){return new(N||T)},T.\u0275prov=c.Yz7({token:T,factory:T.\u0275fac}),M})()},63342:(_e,R,r)=>{"use strict";r.d(R,{HS:()=>n,N_:()=>h,n2:()=>s.n,ps:()=>c,CN:()=>v.C});class n{}var s=r(91468);class c{}class h{}var v=r(891)},91468:(_e,R,r)=>{"use strict";r.d(R,{n:()=>n});class n{}},891:(_e,R,r)=>{"use strict";r.d(R,{C:()=>s});const s=new(r(93634).Xk)(()=>!1)},45598:(_e,R,r)=>{"use strict";r.d(R,{N:()=>n,r:()=>s});var n={};r.r(n),r.d(n,{getEvent:()=>h,loadAggregatorRestrictedEvent:()=>u,loadAggregatorRestrictedEventDidFail:()=>T,loadAggregatorRestrictedEventDidSuccess:()=>E,loadEvent:()=>v,loadEventDidFail:()=>m,loadEventDidSuccess:()=>_,loadEventFromCache:()=>B,loadRestrictedEvent:()=>p,loadRestrictedEventDidFail:()=>a,loadRestrictedEventDidSuccess:()=>D,previewUpdateEvent:()=>b,toggleEventInBookmark:()=>M});var s={};r.r(s),r.d(s,{getEvents:()=>N,loadEvents:()=>W,loadEventsDidFail:()=>X,loadEventsDidSuccess:()=>A,loadMoreEvents:()=>I,loadMoreEventsDidFail:()=>P,loadMoreEventsDidSuccess:()=>F,loadRestrictedEvents:()=>U,loadRestrictedEventsDidFail:()=>k,loadRestrictedEventsDidSuccess:()=>O,previewRefreshEvents:()=>H,previewRefreshEventsDidFail:()=>J,previewRefreshEventsDidSuccess:()=>$});var c=r(31907);const h=(0,c.PH)("[EVENT DETAIL] Get Event"),v=(0,c.PH)("[EVENT DETAIL] Load Event",(0,c.Ky)()),_=(0,c.PH)("[CONTENT API] Load Event Did Success",(0,c.Ky)()),m=(0,c.PH)("[CONTENT API] Load Event Did Fail",(0,c.Ky)()),b=(0,c.PH)("[EVENT DETAIL PREVIEW] Update Event",(0,c.Ky)()),p=(0,c.PH)("[EVENT DETAIL] Load Restricted Event",(0,c.Ky)()),D=(0,c.PH)("[CONTENT API] Load Restricted Event Did Success",(0,c.Ky)()),a=(0,c.PH)("[CONTENT API] Load Restricted Event Did Fail",(0,c.Ky)()),u=(0,c.PH)("[EVENT DETAIL] Load Aggregator Restricted Event",(0,c.Ky)()),E=(0,c.PH)("[CONTENT API] Load Aggregator Restricted Event Did Success",(0,c.Ky)()),T=(0,c.PH)("[CONTENT API] Load Aggregator Restricted Event Did Fail",(0,c.Ky)()),M=(0,c.PH)("[EVENT DETAIL] Toggle Event In Bookmark",(0,c.Ky)()),B=(0,c.PH)("[EVENT DETAIL] Load Event From Cache"),N=(0,c.PH)("[EVENT LIST] Get Events"),W=(0,c.PH)("[EVENT LIST] Load Events",(0,c.Ky)()),A=(0,c.PH)("[CONTENT API] Load Events Did Success",(0,c.Ky)()),X=(0,c.PH)("[CONTENT API] Load Events Did Fail",(0,c.Ky)()),U=(0,c.PH)("[EVENT LIST] Load Restricted Events",(0,c.Ky)()),O=(0,c.PH)("[CONTENT API] Load Restricted Events Did Success",(0,c.Ky)()),k=(0,c.PH)("[CONTENT API] Load Restricted Events Did Fail",(0,c.Ky)()),I=(0,c.PH)("[EVENT LIST] Load More Events"),F=(0,c.PH)("[CONTENT API] Load More Events Did Success",(0,c.Ky)()),P=(0,c.PH)("[CONTENT API] Load More Events Did Fail",(0,c.Ky)()),H=(0,c.PH)("[EVENT LIST PREVIEW] Refresh Events"),$=(0,c.PH)("[EVENT LIST PREVIEW] Refresh Events Did Success",(0,c.Ky)()),J=(0,c.PH)("[EVENT LIST PREVIEW] Refresh Events Did Fail",(0,c.Ky)())},54751:(_e,R,r)=>{"use strict";r.d(R,{j:()=>h});var n=r(47265),s=r(58516),c=r(77533);let h=(()=>{var v;class _{constructor(b,p){this.settingsManager=b,this.seoService=p}ngOnInit(){this.backgroundColor=this.settingsManager.getNotFoundBackgroundColor(),this.image=this.settingsManager.getDisabledImage(),this.seoService.addRobotsTag("noindex")}}return(v=_).\u0275fac=function(b){return new(b||v)(c.Y36(s.pzk),c.Y36(n.Lw))},v.\u0275cmp=c.Xpm({type:v,selectors:[["gb-gone-fishing"],["","gbAMPGoneFishing",""]],hostVars:2,hostBindings:function(b,p){2&b&&c.Udp("background-color",p.backgroundColor)},decls:2,vars:1,consts:[[1,"boxed"],["alt","Gone Fishing",3,"src"]],template:function(b,p){1&b&&(c.TgZ(0,"div",0),c._UZ(1,"img",1),c.qZA()),2&b&&(c.xp6(1),c.Q6J("src",null==p.image?null:p.image.imageUrl,c.LSH))},styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;flex:1;align-items:center;justify-content:center;width:100%;height:100%}.boxed[_ngcontent-%COMP%]{max-width:1000px;text-align:center}.boxed[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{margin:0 auto;max-width:100%}@media only screen and (orientation: portrait) and (min-width: 600px) and (max-width: 1024px),only screen and (orientation: landscape) and (min-width: 960px) and (max-width: 1279px){.boxed[_ngcontent-%COMP%]{min-width:initial;max-width:90%}}@media only screen and (orientation: portrait) and (max-width: 599px),only screen and (orientation: landscape) and (max-width: 959px){.boxed[_ngcontent-%COMP%]{min-width:initial;max-width:80%}}"]}),_})()},17105:(_e,R,r)=>{"use strict";r.d(R,{y:()=>s});var n=r(77533);let s=(()=>{var c;class h{}return(c=h).\u0275fac=function(_){return new(_||c)},c.\u0275mod=n.oAB({type:c}),c.\u0275inj=n.cJS({}),h})()},30517:(_e,R,r)=>{"use strict";r.d(R,{g:()=>n,s:()=>s});var n={};r.r(n),r.d(n,{aggregatorAlreadyCached:()=>p,aggregatorBypassed:()=>v,alterWidgetItemsWithNativeAds:()=>P,initArticleWidget:()=>D,initEventWidget:()=>a,initMapWidget:()=>u,initPhotoWidget:()=>E,initSoundWidget:()=>T,initVideoWidget:()=>M,initWidgets:()=>h,loadAggregatorWidgetsItems:()=>_,loadAggregatorWidgetsItemsDidFail:()=>b,loadAggregatorWidgetsItemsDidSuccess:()=>m,loadWidgetAggregatorRestrictedItemsDidFail:()=>F,loadWidgetAggregatorRestrictedItemsDidSuccess:()=>I,loadWidgetStandaloneItems:()=>B,loadWidgetStandaloneItemsDidFail:()=>U,loadWidgetStandaloneItemsDidSuccess:()=>X,loadWidgetStandaloneRestrictedItems:()=>W,loadWidgetStandaloneRestrictedItemsDidFail:()=>k,loadWidgetStandaloneRestrictedItemsDidSuccess:()=>O,loadWidgetStandaloneUsersDidFail:()=>$,loadWidgetStandaloneUsersDidSuccess:()=>H,loadWidgetStandloneItemsWithGeoloc:()=>N,loadWidgetStandloneRestrictedItemsWithGeoloc:()=>A});var s={};r.r(s),r.d(s,{aggregatorAlreadyCached:()=>te,aggregatorBypassed:()=>V,initQuickBuy:()=>pe,initWidgetProducts:()=>ge,initWidgets:()=>J,loadAggregatorWidgetsItems:()=>le,loadAggregatorWidgetsItemsDidFail:()=>Te,loadAggregatorWidgetsItemsDidSuccess:()=>We,loadWidgetStandaloneItems:()=>ee,loadWidgetStandaloneItemsDidFail:()=>me,loadWidgetStandaloneItemsDidSuccess:()=>Q,openQuickBuyBottomSheet:()=>se,openQuickBuyDialog:()=>ct,openQuickBuyLayer:()=>Me});var c=r(31907);const h=(0,c.PH)("[WIDGET] Init Widgets"),v=(0,c.PH)("[WIDGET] Aggregator Bypassed"),_=(0,c.PH)("[WIDGET] Load Aggregator Widgets Items"),m=(0,c.PH)("[CONTENT API] Load Aggregator Widgets Items Did Success",(0,c.Ky)()),b=(0,c.PH)("[CONTENT API] Load Aggregator Widgets Items Did Fail"),p=(0,c.PH)("[WIDGET] Aggregator Already Cached"),D=(0,c.PH)("[WIDGET ARTICLE] Init",(0,c.Ky)()),a=(0,c.PH)("[WIDGET EVENT] Init",(0,c.Ky)()),u=(0,c.PH)("[WIDGET MAP] Init",(0,c.Ky)()),E=(0,c.PH)("[WIDGET PHOTO] Init",(0,c.Ky)()),T=(0,c.PH)("[WIDGET SOUND] Init",(0,c.Ky)()),M=(0,c.PH)("[WIDGET VIDEO] Init",(0,c.Ky)()),B=(0,c.PH)("[WIDGET] Load Widget Standalone Items",(0,c.Ky)()),N=(0,c.PH)("[WIDGET] Load Widget Standalone Items With Geoloc",(0,c.Ky)()),W=(0,c.PH)("[WIDGET] Load Widget Standalone Restricted Items",(0,c.Ky)()),A=(0,c.PH)("[WIDGET] Load Widget Standalone Restricted Items With Geoloc",(0,c.Ky)()),X=(0,c.PH)("[CONTENT API] Load Widget Standalone Items Did Success",(0,c.Ky)()),U=(0,c.PH)("[CONTENT API] Load Widget Standalone Items Did Fail",(0,c.Ky)()),O=(0,c.PH)("[CONTENT API] Load Widget Standalone Restricted Items Did Success",(0,c.Ky)()),k=(0,c.PH)("[CONTENT API] Load Widget Standalone Restricted Items Did Fail",(0,c.Ky)()),I=(0,c.PH)("[CONTENT API] Load Widget Aggregator Restricted Items Did Success",(0,c.Ky)()),F=(0,c.PH)("[CONTENT API] Load Widget Aggregator Restricted Items Did Fail",(0,c.Ky)()),P=(0,c.PH)("[WIDGET] Alter Widget Items With Native Ads",(0,c.Ky)()),H=(0,c.PH)("[USER API] Load Widget Standalone Users Did Success",(0,c.Ky)()),$=(0,c.PH)("[USER API] Load Widget Standalone Users Did Fail",(0,c.Ky)()),J=(0,c.PH)("[WIDGET COMMERCE] Init Widgets"),V=(0,c.PH)("[WIDGET COMMERCE] Aggregator Bypassed"),le=(0,c.PH)("[WIDGET COMMERCE] Load Aggregator Widgets Items"),ge=(0,c.PH)("[WIDGET COMMERCE] Init Widget Products",(0,c.Ky)()),te=(0,c.PH)("[WIDGET COMMERCE] Aggregator Already Cached"),We=(0,c.PH)("[COMMERCE API] Load Aggregator Widgets Items Did Success",(0,c.Ky)()),Te=(0,c.PH)("[COMMERCE API] Load Aggregator Widgets Items Did Fail"),ee=(0,c.PH)("[WIDGET COMMERCE] Load Widget Standalone Items",(0,c.Ky)()),Q=(0,c.PH)("[COMMERCE API] Load Widget Standalone Items Did Success",(0,c.Ky)()),me=(0,c.PH)("[COMMERCE API] Load Widget Standalone Items Did Fail",(0,c.Ky)()),pe=(0,c.PH)("[WIDGET COMMERCE] Init Quick Buy",(0,c.Ky)()),se=(0,c.PH)("[WIDGET COMMERCE] Open Quick Buy Bottom Sheet",(0,c.Ky)()),Me=(0,c.PH)("[WIDGET COMMERCE] Open Quick Buy Layer",(0,c.Ky)()),ct=(0,c.PH)("[WIDGET COMMERCE] Open Quick Buy Dialog",(0,c.Ky)())},84574:(_e,R,r)=>{"use strict";r.d(R,{m:()=>v});var n=r(3050),s=r(9793),c=r(77533),h=r(45781);let v=(()=>{var p;class D{constructor(u,E,T){this.platform=u,this.stylesHost=E,this.settingsManager=T,this.displayedElements=new Set,this.currentMap={}}setTabbarAsHidden(){this.updateCustomVariable("--visible-tabbar-height","0px"),this.updateCustomVariable("--visible-safe-area-inset-bottom","env(safe-area-inset-bottom)"),this.removeFooterElement("tabbar")}setTabbarAsVisible(u=!1){this.updateCustomVariable("--visible-safe-area-inset-bottom","0px"),this.addFooterElement("tabbar"),this.updateCustomVariable("--visible-tabbar-height",u?"var(--floating-tabbar-height)":"var(--tabbar-height)")}setMiniPlayerAsHidden(){this.removeFooterElement("miniplayer"),this.updateCustomVariable("--visible-miniplayer-height","0px")}setMiniPlayerAsVisible(){this.addFooterElement("miniplayer"),this.updateCustomVariable("--visible-miniplayer-height","var(--miniplayer-height)")}setCategoriesPagerAsHidden(){this.removeFooterElement("categoriespager"),this.updateCustomVariable("--visible-categories-pager-height","0px")}setCategoriesPagerAsVisible(){this.addFooterElement("categoriespager"),this.updateCustomVariable("--visible-categories-pager-height",`var(--categories-pager-height${this.platform.isDesktopSize()?"":"-mobile"})`)}setToolbarDownAsHidden(){this.removeFooterElement("toolbardown"),this.updateCustomVariable("--visible-toolbar-down-height","0px")}setToolbarDownAsVisible(){this.addFooterElement("toolbardown"),this.updateCustomVariable("--visible-toolbar-down-height",`var(--toolbar-down-height${this.platform.isMobileSize()?"-mobile":""})`)}setDetailSwipePagerAsHidden(){this.removeFooterElement("swipepager"),this.updateCustomVariable("--visible-detail-swipe-pager-height","0px")}setDetailSwipePagerAsVisible(){this.addFooterElement("swipepager"),this.updateCustomVariable("--visible-detail-swipe-pager-height","var(--detail-swipe-pager-height)")}setAdBannerGapHeight(u){this.updateCustomVariable("--visible-ad-banner-height",u)}resetAdBannerGapHeight(){this.updateCustomVariable("--visible-ad-banner-height","0px")}setFooterFirstSlotAsVisible(u){this.addFooterElement("footer-first-slot"),this.updateCustomVariable("--visible-footer-first-slot",u)}setFooterFirstSlotAsHidden(){this.removeFooterElement("footer-first-slot"),this.updateCustomVariable("--visible-footer-first-slot","0px")}updateCustomVariable(u,E){if(this.platform.doc)if(this.platform.isBrowser)this.platform.doc.documentElement.style.setProperty(u,E),this.currentMap[u]=E;else{u=u.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();const T=function _(p){const D={},a=p.getAttribute("style");if(a){const u=a.split(/;+/g);for(let E=0;E<u.length;E++){const T=u[E].trim();if(T.length>0){const M=T.indexOf(":");if(-1===M)throw new Error(`Invalid CSS style: ${T}`);D[T.substr(0,M).trim()]=T.substr(M+1).trim()}}}return D}(this.platform.doc.documentElement);if(T[u]=E??"",this.platform.isAmpApp){const M=`html {${b(T)}}`;this.stylesHost.addStyles([M])}else!function m(p,D){const a=b(D);p.setAttribute("style",a)}(this.platform.doc.documentElement,T);this.currentMap=T}}addFooterElement(u){this.displayedElements.add(u),this.updateDisplayedElementsSpacing()}removeFooterElement(u){this.displayedElements.delete(u),this.updateDisplayedElementsSpacing()}updateDisplayedElementsSpacing(){"FloatingTabBar"===this.settingsManager.getRootType()&&this.updateCustomVariable("--visible-footer-elements-spacing",12*this.displayedElements.size+"px")}isMiniPlayerHidden(){return this.isVarZero("--visible-miniplayer-height")}isBannerAdHidden(){return this.isVarZero("--visible-ad-banner-height")}isVarZero(u){const E=this.currentMap[u];return!E||""===E||"0px"===E}}return(p=D).\u0275fac=function(u){return new(u||p)(c.LFG(n.m),c.LFG(h.yV),c.LFG(s.pz))},p.\u0275prov=c.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"}),D})();function b(p){let D="";for(const a in p)null!=p[a]&&(D+=a+":"+p[a]+";");return D}},93947:(_e,R,r)=>{"use strict";r.d(R,{BA:()=>n,WQ:()=>s,w5:()=>c});var n={};r.r(n),r.d(n,{getPoint:()=>v,loadAggregatorRestrictedPoint:()=>E,loadAggregatorRestrictedPointDidFail:()=>M,loadAggregatorRestrictedPointDidSuccess:()=>T,loadPoint:()=>_,loadPointDidFail:()=>b,loadPointDidSuccess:()=>m,loadPointFromCache:()=>N,loadRestrictedPoint:()=>p,loadRestrictedPointDidFail:()=>a,loadRestrictedPointDidSuccess:()=>D,previewUpdatePoint:()=>u,togglePointInBookmark:()=>B});var s={};r.r(s),r.d(s,{getPoints:()=>W,getPointsWithCoordinates:()=>le,loadMorePoints:()=>F,loadMorePointsDidFail:()=>H,loadMorePointsDidSuccess:()=>P,loadPoints:()=>A,loadPointsDidFail:()=>U,loadPointsDidSuccess:()=>X,loadRestrictedPoints:()=>O,loadRestrictedPointsDidFail:()=>I,loadRestrictedPointsDidSuccess:()=>k,previewRefreshPoints:()=>$,previewRefreshPointsDidFail:()=>V,previewRefreshPointsDidSuccess:()=>J});var c={};r.r(c),r.d(c,{closeComments:()=>Te,hideToolbar:()=>Q,openComments:()=>We,reset:()=>ct,setDetailContentFillerColor:()=>vt,setFirstListLoadedStatus:()=>pe,setListScrollRestorationPosition:()=>Me,setLoading:()=>me,setMobileMapVisibility:()=>se,showToolbar:()=>ee,toggleMobileMapVisibility:()=>ge,togglePanel:()=>te});var h=r(31907);const v=(0,h.PH)("[MAP DETAIL] Get Point"),_=(0,h.PH)("[MAP DETAIL] Load Point",(0,h.Ky)()),m=(0,h.PH)("[CONTENT API] Load Point Did Success",(0,h.Ky)()),b=(0,h.PH)("[CONTENT API] Load Point Did Fail",(0,h.Ky)()),p=(0,h.PH)("[MAP DETAIL] Load Restricted SouPointnd",(0,h.Ky)()),D=(0,h.PH)("[CONTENT API] Load Restricted Point Did Success",(0,h.Ky)()),a=(0,h.PH)("[CONTENT API] Load Restricted Point Did Fail",(0,h.Ky)()),u=(0,h.PH)("[MAP DETAIL PREVIEW] Update Point",(0,h.Ky)()),E=(0,h.PH)("[MAP DETAIL] Load Aggregator Restricted Point",(0,h.Ky)()),T=(0,h.PH)("[CONTENT API] Load Aggregator Restricted Point Did Success",(0,h.Ky)()),M=(0,h.PH)("[CONTENT API] Load Aggregator Restricted Point Did Fail",(0,h.Ky)()),B=(0,h.PH)("[MAP DETAIL] Toggle Point In Bookmark",(0,h.Ky)()),N=(0,h.PH)("[MAP DETAIL] Load Point From Cache"),W=(0,h.PH)("[MAP LIST] Get Points",({forceDownload:Pt}={forceDownload:!1})=>({forceDownload:Pt})),A=(0,h.PH)("[MAP LIST] Load Points",(0,h.Ky)()),X=(0,h.PH)("[CONTENT API] Load Points Did Success",(0,h.Ky)()),U=(0,h.PH)("[CONTENT API] Load Points Did Fail",(0,h.Ky)()),O=(0,h.PH)("[MAP LIST] Load Restricted Points",(0,h.Ky)()),k=(0,h.PH)("[CONTENT API] Load Restricted Points Did Success",(0,h.Ky)()),I=(0,h.PH)("[CONTENT API] Load Restricted Points Did Fail",(0,h.Ky)()),F=(0,h.PH)("[MAP LIST] Load More Points"),P=(0,h.PH)("[CONTENT API] Load More Points Did Success",(0,h.Ky)()),H=(0,h.PH)("[CONTENT API] Load More Points Did Fail",(0,h.Ky)()),$=(0,h.PH)("[MAP LIST PREVIEW] Refresh Points"),J=(0,h.PH)("[MAP LIST PREVIEW] Refresh Points Did Success",(0,h.Ky)()),V=(0,h.PH)("[MAP LIST PREVIEW] Refresh Points Did Fail",(0,h.Ky)()),le=(0,h.PH)("[MAP LIST] Get Points With Coordinates",(0,h.Ky)()),ge=(0,h.PH)("[MAP UI] Toggle Mobile Map Visibility"),te=(0,h.PH)("[MAP UI] Toggle Panel"),We=(0,h.PH)("[MAP UI] Open Comments"),Te=(0,h.PH)("[MAP UI] Close Comments"),ee=(0,h.PH)("[MAP UI] Show Toolbar"),Q=(0,h.PH)("[MAP UI] Hide Toolbar"),me=(0,h.PH)("[MAP UI] Set Loading",(0,h.Ky)()),pe=(0,h.PH)("[MAP UI] Set First List Loaded Status"),se=(0,h.PH)("[MAP UI] Set Mobile Map Visibility",(0,h.Ky)()),Me=(0,h.PH)("[MAP UI] Set List Scroll Restoration Position",(0,h.Ky)()),ct=(0,h.PH)("[MAP UI] Reset"),vt=(0,h.PH)("[MAP UI] Set Detail Filler Color",(0,h.Ky)())},17619:(_e,R,r)=>{"use strict";r.d(R,{Jh:()=>h.J,m8:()=>c,aE:()=>m});var n=r(77533),s=r(28459);class c{constructor(){this.routeAdded=new n.vpe,this.routeRenamed=new n.vpe,this.fontLevelUpdated=new s.t(1),this.fontLevels=new Map}}var h=r(14279),v=r(14565),_=r(45781);let m=(()=>{var b;class p extends _.yV{constructor(a,u,E,T={}){super(a,u,E,T),this._doc=a,this._hostNodes=new Set,this._styleNodes=new Set,this._dom=(0,v.\u0275getDOM)(),this._hostNodes.add(a.head)}onStylesAdded(a){this._hostNodes.forEach(u=>this._addStylesToHost(a,u))}ngOnDestroy(){this._styleNodes.forEach(a=>this._dom.remove(a))}addOrReplaceStyles(a,u){const E=this._doc.createElement("style");E.id=u,E.textContent="".concat(...a);const M=this._doc.querySelector(`#${u}`);this._styleNodes.add(M?this._doc.head.replaceChild(E,M):this._doc.head.appendChild(E))}_addStylesToHost(a,u){a.forEach(E=>{const T=this._doc.createElement("style");T.textContent=E,this._styleNodes.add(u.appendChild(T))})}}return(b=p).\u0275fac=function(a){return new(a||b)(n.LFG(v.DOCUMENT),n.LFG(n.AFp),n.LFG(n.Ojb,8),n.LFG(n.Lbi))},b.\u0275prov=n.Yz7({token:b,factory:b.\u0275fac,providedIn:"root"}),p})()},14279:(_e,R,r)=>{"use strict";r.d(R,{J:()=>h});var s,n=r(77533);class c{static initialize(){c.initialized=!0}static notifyBindingUpdated(_,m=!1){c.bindingStreams.has(_)&&(m?c.updateOrders.add(_):c.bindingStreams.get(_).emit(void 0))}static registerBindingsStream(_){c.bindingStreams.has(_)||c.bindingStreams.set(_,new n.vpe)}static registerBindingOnChange(_,m){if(c.bindingStreams.has(_)){c.subscriptions.has(_)||c.subscriptions.set(_,[]);const b=c.bindingStreams.get(_).subscribe(()=>m());return c.subscriptions.set(_,[...c.subscriptions.get(_),b]),b}return null}static commitUpdateOrders(){c.updateOrders.size>0&&c.updateOrders.forEach(_=>c.bindingStreams.get(_).emit(void 0)),c.updateOrders.clear()}}function h(v){return function(_,m,b){c.registerBindingsStream(v),Object.prototype.hasOwnProperty.call(_,"__pviewdestroy__")||Object.defineProperty(_,"__pviewdestroy__",{value:!1,writable:!0});const p=b.value;if(b.value=function(...D){if(Object.prototype.hasOwnProperty.call(this,"__previewListener__")||Object.defineProperty(this,"__previewListener__",{value:(new Map).set("subscriptions",new Map)}),!this.__previewListener__.get("subscriptions").get(m)){const a=c.registerBindingOnChange(v,()=>{p.apply(this,D)});this.__previewListener__.get("subscriptions").set(m,a)}p.apply(this,D)},!_.__pviewdestroy__){const D="ngOnDestroy"in _&&_.ngOnDestroy;_.ngOnDestroy=function(){D&&D.apply(this),this.__previewListener__&&this.__previewListener__.get("subscriptions")&&(this.__previewListener__.get("subscriptions").forEach(a=>a&&a.unsubscribe()),this.__previewListener__.get("subscriptions").clear())},_.__pviewdestroy__=!0}return b}}(s=c).initialized=!1,s.bindingStreams=new Map,s.subscriptions=new Map,s.updateOrders=new Set},82998:(_e,R,r)=>{"use strict";r.d(R,{$I:()=>X,C5:()=>_,Cp:()=>p,EN:()=>U,EU:()=>H,FP:()=>a,Fu:()=>le,G2:()=>O,HY:()=>b,ME:()=>ge,MK:()=>E,Pb:()=>te,Tb:()=>D,Te:()=>F,Ul:()=>J,WM:()=>u,X3:()=>k,XU:()=>Te,Yi:()=>I,_W:()=>Q,cA:()=>m,cf:()=>M,dD:()=>v,h0:()=>A,j7:()=>We,l8:()=>N,lv:()=>h,o0:()=>ee,ow:()=>c,p_:()=>P,ps:()=>B,s5:()=>s,tm:()=>T,uW:()=>$,ug:()=>W,wz:()=>V});var n=r(31907);const s=(0,n.PH)("[PROFILE ADVANCED] Reset Button Status"),c=(0,n.PH)("[PROFILE ADVANCED] Upload Profile Picture",(0,n.Ky)()),h=(0,n.PH)("[CLASSIC AUTH API] Upload Profile Picture Did Success",(0,n.Ky)()),v=(0,n.PH)("[CLASSIC AUTH API] Upload Profile Picture Did Fail",(0,n.Ky)()),_=(0,n.PH)("[PROFILE ADVANCED] Save Informations",(0,n.Ky)()),m=(0,n.PH)("[CLASSIC AUTH API] Save Informations Success",(0,n.Ky)()),b=(0,n.PH)("[CLASSIC AUTH API] Save Informations Fail",(0,n.Ky)()),p=(0,n.PH)("[PROFILE ADVANCED] Change Password",(0,n.Ky)()),D=(0,n.PH)("[CLASSIC AUTH API] Change Password Did Success",(0,n.Ky)()),a=(0,n.PH)("[CLASSIC AUTH API] Change Password Did Fail",(0,n.Ky)()),u=(0,n.PH)("[PROFILE ADVANCED] Profile Error"),E=(0,n.PH)("[PROFILE ADVANCED] Set Active Link",(0,n.Ky)()),T=(0,n.PH)("[PROFILE ADVANCED] Delete Account"),M=(0,n.PH)("[CLASSIC AUTH API] Delete Account Did Success",(me=!0)=>({redirect:me})),B=(0,n.PH)("[CLASSIC AUTH API] Delete Account Did Fail"),N=(0,n.PH)("[PROFILE ADVANCED] Load User Push Notifications History",(0,n.Ky)()),W=(0,n.PH)("[CLASSIC AUTH API] Load User Push Notifications History Did Success",(0,n.Ky)()),A=(0,n.PH)("[CLASSIC AUTH API] Load User Push Notifications History Did Fail",(0,n.Ky)()),X=(0,n.PH)("[PROFILE ADVANCED] Prompt Push Notifications Permission"),U=(0,n.PH)("[PROFILE ADVANCED] Prompt Push Notifications Not Supported"),O=(0,n.PH)("[PROFILE ADVANCED] Load User Push Notifications Subscriptions"),k=(0,n.PH)("[PUSH API] Load User Push Notifications Subscriptions Did Success",(0,n.Ky)()),I=(0,n.PH)("[PUSH API] Load User Push Notifications Subscriptions Did Fail",(0,n.Ky)()),F=(0,n.PH)("[PROFILE ADVANCED] Toggle User Push Notification Subscription",(0,n.Ky)()),P=(0,n.PH)("[PROFILE ADVANCED] Save User Push Notifications Subscriptions"),H=(0,n.PH)("[PROFILE ADVANCED] Save User Push Notifications Subscriptions Did Success"),$=(0,n.PH)("[PROFILE ADVANCED] Save User Push Notifications Subscriptions Did Fail",(0,n.Ky)()),J=(0,n.PH)("[PROFILE ADVANCED] Open User Push Notifications Subcriptions Dialog"),V=(0,n.PH)("[PROFILE ADVANCED] Close User Push Notifications Subcriptions Dialog"),le=(0,n.PH)("[PROFILE ADVANCED PREVIEW] Show Push Notifications Empty Screen"),ge=(0,n.PH)("[PROFILE ADVANCED] Open App Settings Dialog"),te=(0,n.PH)("[PROFILE ADVANCED] Close App Settings Dialog"),We=(0,n.PH)("[PROFILE ADVANCED SETTINGS DIALOG] Use Imperial Units"),Te=(0,n.PH)("[PROFILE ADVANCED SETTINGS DIALOG] Use Metric System"),ee=(0,n.PH)("[PROFILE ADVANCED SETTINGS DIALOG] Update Consent"),Q=(0,n.PH)("[PROFILE ADVANCED SETTINGS DIALOG] Clear Cache")},72145:(_e,R,r)=>{"use strict";r.d(R,{rF:()=>s,wY:()=>n,s9:()=>v});let n=(()=>{var _;class m{constructor(p){this.excludedAutopushes=p.getArray(m.EXCLUDED_AUTOPUSHES),this.id=p.getNumber(m.ID)}}return(_=m).ID="id",_.EXCLUDED_AUTOPUSHES="excluded_autopushes",m})(),s=(()=>{var _;class m{constructor(p){this.children=[],p&&(this.id=p.getNumber(m.ID),this.isActive=p.getBoolean(m.IS_ACTIVE),this.sectionId=p.getString(m.SECTION_ID),this.subsectionId=p.getNumber(m.SUB_SECTION_ID,null))}}return(_=m).ID="id",_.IS_ACTIVE="is_active",_.SECTION_ID="section_id",_.SUB_SECTION_ID="sub_section_id",m})();var c=r(58516);let h=(()=>{var _;class m{constructor(p){this.id=p.getNumber(m.ID),this.itemId=p.getString(m.ITEM_ID),this.message=p.getString(m.MESSAGE),this.pushedAtDate=p.getString(m.PUSHED_AT_DATE),this.sectionId=p.getString(m.SECTION_ID),this.url=p.getString(m.URL)}}return(_=m).ID="id",_.ITEM_ID="item_id",_.MESSAGE="message",_.PUSHED_AT_DATE="pushed_at_date",_.SECTION_ID="section_id",_.URL="url",m})(),v=(()=>{var _;class m{constructor(p){this.lastPageIndex=p.getNumber(m.LAST_PAGE_INDEX),this.list=p.getArray(m.RESULT).map(D=>new h(new c.sT0(D)))}}return(_=m).LAST_PAGE_INDEX="last_page_index",_.RESULT="result",m})()},46889:(_e,R,r)=>{"use strict";r.d(R,{yN:()=>X,ee:()=>D,tM:()=>a});var n=r(50257),s=r(45394),c=r(37566),h=r(78402),v=r(9294);function m(U,O){return(0,v.Z)(2,arguments),function _(U,O){(0,v.Z)(2,arguments);var k=(0,c.Z)(O);return(0,h.Z)(U,7*k)}(U,-(0,c.Z)(O))}var b=r(58516),p=r(72145);function D(){const U={last_page_index:1,result:[{id:0,message:"GB_TXT_PUSH_FAKE_1",pushed_at_date:(0,n.Z)(new Date),formattedDate:""},{id:1,message:"GB_TXT_PUSH_FAKE_2",pushed_at_date:(0,n.Z)((0,s.Z)(new Date,1)),formattedDate:""},{id:2,message:"GB_TXT_PUSH_FAKE_3",pushed_at_date:(0,n.Z)((0,s.Z)(new Date,2)),formattedDate:""},{id:3,message:"GB_TXT_PUSH_FAKE_4",pushed_at_date:(0,n.Z)(m(new Date,1)),formattedDate:""},{id:4,message:"GB_TXT_PUSH_FAKE_5",pushed_at_date:(0,n.Z)((0,s.Z)(new Date,10)),formattedDate:""}]};return new p.s9(new b.sT0(U))}function a(){const U=new p.rF;U.id=61,U.enabled=!0,U.title="GB_TXT_PUSH_FAKE_6";const O=new p.rF;O.id=71,O.enabled=!0,O.title="GB_TXT_PUSH_FAKE_7";const k=new p.rF;k.id=81,k.enabled=!1,k.title="GB_TXT_PUSH_FAKE_8";const I=new p.rF;I.id=91,I.enabled=!0,I.title="GB_TXT_PUSH_FAKE_9",U.children.push(O,k,I);const F=new p.rF;F.id=101,F.enabled=!0,F.title="GB_TXT_PUSH_FAKE_10";const P=new p.rF;P.id=111,P.enabled=!0,P.title="GB_TXT_PUSH_FAKE_11";const H=new p.rF;H.id=121,H.enabled=!1,H.title="GB_TXT_PUSH_FAKE_12",F.children.push(P,H);const $=new p.rF;return $.id=131,$.enabled=!1,$.title="GB_TXT_PUSH_FAKE_13",[U,F,$]}var u=r(12494),E=r(63673),T=r(97478),M=r(47265),B=r(93634),N=r(24257),W=r(77533);let A=(()=>{var U;class O{constructor(I,F){this.http=I,this.settingsManager=F;const P=(0,N.dU)();this.apiKey=P.WMApiKey,this.apiSecret=P.WMApiSecret}getHistory(I,F,P){const $=(new B.LE).set("user_id",F).set("token",I).set("page",P.toString());return this.request("https://api.goodbarber.net/pushapi/history/",$)}getCommerceUserHistory(I,F){const H=(new B.LE).set("user_id",I).set("date_limit",F);return this.request("https://api.goodbarber.net/pushapi/commerce/history/",H)}getListAutoPush(){return this.request("https://api.goodbarber.net/pushapi/listAutoPush/")}getAutoPushSubscriptions(I,F){const H=(new B.LE).set("user_id",F).set("token",I);return this.request("https://api.goodbarber.net/pushapi/optedOutAutoPush/",H)}subscribeAutoPush(I,F,P,H){const J=(new B.LE).set("user_id",F).set("token",I).set("subscribe_ids",`[${P.join(",")}]`).set("unsubscribe_ids",`[${H.join(",")}]`);return this.request("https://api.goodbarber.net/pushapi/subscribeAutoPush/",J)}ping(I,F){const H=(new B.LE).set("notification_id",I).set("platform",`html5_${F}`);this.request("https://api.goodbarber.net/pushapi/ping/",H).subscribe()}request(I,F){const P=(new B.WM).set("API-KEY",this.apiKey).set("API-SECRET",this.apiSecret);F||(F=new B.LE);const H=this.settingsManager.getIdWebzine();return F=F.set("webzine_id",H.toString()),this.http.get(I,{params:F,headers:P}).pipe((0,T.U)($=>new b.sT0($)))}}return(U=O).\u0275fac=function(I){return new(I||U)(W.LFG(B.eN),W.LFG(b.pzk))},U.\u0275prov=W.Yz7({token:U,factory:U.\u0275fac,providedIn:"root"}),O})(),X=(()=>{var U;class O{constructor(I,F,P,H,$,J){this.auth=I,this.language=F,this.pushApi=P,this.statsApi=H,this.settingsManager=$,this.dateTimeService=J}getPushHistory(I,F){return 0===I&&this.pushHistory?(0,u.of)(this.pushHistory):this.pushApi.getHistory(this.statsApi.pushToken,F||this.auth.authenticatedUser.unformattedId,I).pipe((0,T.U)($=>{const J=new p.s9($);return this.pushHistory?(this.pushHistory.list=this.pushHistory.list.concat(J.list),this.pushHistory.lastPageIndex=J.lastPageIndex):this.pushHistory=J,this.pushHistory.list.forEach(V=>{V.formattedDate=this.dateTimeService.formatFromNowWithISO(V.pushedAtDate)}),this.pushHistory}))}getCommercePushHistory(I,F){return this.pushApi.getCommerceUserHistory(I,F).pipe((0,T.U)(P=>{const H=new p.s9(P);return this.pushHistory=H,this.pushHistory.list.forEach($=>{$.formattedDate=this.dateTimeService.formatFromNowWithISO($.pushedAtDate)}),this.pushHistory}))}getFakePushHistory(){return(0,u.of)(D()).pipe((0,T.U)(I=>(I.list.forEach(F=>{F.formattedDate=this.dateTimeService.formatFromNowWithISO(F.pushedAtDate),F.message=this.language.getString(F.message)}),I)))}clearHistory(){this.pushHistory=null}getListAutoPush(){return this.pushApi.getListAutoPush().pipe((0,T.U)(I=>I.getArray(O.RESULT).map(P=>new p.rF(new b.sT0(P)))))}getAutoPushSubscriptions(I){return this.pushApi.getAutoPushSubscriptions(this.statsApi.pushToken,I||this.auth.authenticatedUser.unformattedId).pipe((0,T.U)(H=>{const $=H.getJsonObject(O.RESULT);return new p.wY($)}))}getAutoPushSettings(I){return(0,E.a)([this.getListAutoPush(),this.getAutoPushSubscriptions(I)]).pipe((0,T.U)(([F,P])=>(F.forEach(H=>{H.enabled=!P.excludedAutopushes.includes(H.id.toString())}),F.filter(H=>H.isActive))))}getSettingsTree(I){return(0,u.of)(I).pipe((0,T.U)(F=>{let P=new Array;const H=[];return F.filter($=>"number"==typeof $.subsectionId).forEach($=>{let J=F.find(V=>V.sectionId===$.sectionId&&null===V.subsectionId);!J&&!H.find(V=>V.sectionId===$.sectionId)&&(J=new p.rF(new b.sT0({id:$.id+Date.now(),is_active:!0,section_id:$.sectionId,sub_section_id:null})),H.push(J))}),(F=F.concat(H)).forEach($=>{if("number"==typeof $.subsectionId){$.title=this.settingsManager.getSectionsSubsectionsTitle($.sectionId,$.subsectionId)||"";const J=F.find(V=>V.sectionId===$.sectionId&&null===V.subsectionId);if(J)return J.children.push($),J.children=J.children.filter(V=>!!V.title),void J.children.sort((V,le)=>V.title.localeCompare(le.title))}else $.title=this.settingsManager.getSectionsTitle($.sectionId)||"";P.push($)}),P=P.filter($=>!!$.title),P.sort(($,J)=>$.title.localeCompare(J.title)),P}))}saveAutoPushSubscriptions(I,F,P){return this.pushApi.subscribeAutoPush(this.statsApi.pushToken,P||this.auth.authenticatedUser.unformattedId,I,F)}}return(U=O).RESULT="result",U.\u0275fac=function(I){return new(I||U)(W.LFG(b.e80),W.LFG(b.h8o),W.LFG(A,8),W.LFG(M.O$),W.LFG(b.pzk),W.LFG(M.Cv))},U.\u0275prov=W.Yz7({token:U,factory:U.\u0275fac,providedIn:"root"}),O})()},26917:(_e,R,r)=>{"use strict";r.d(R,{Pr:()=>h});var n=r(77533);r(72145),r(46889);let h=(()=>{var v;class _{}return(v=_).\u0275fac=function(b){return new(b||v)},v.\u0275prov=n.Yz7({token:v,factory:v.\u0275fac}),_})()},50852:(_e,R,r)=>{"use strict";r.d(R,{d:()=>s});const s=new(r(77533).OlP)("Push Configuration")},19330:(_e,R,r)=>{"use strict";r.d(R,{iK:()=>n.i,nW:()=>s.n});var n=r(91388),s=r(8604);r(87447)},91388:(_e,R,r)=>{"use strict";r.d(R,{i:()=>u});var n=r(77533),s=r(86711),c=r(49117),h=r(67728),v=r(63673),_=r(17601),m=r(97478),b=r(55612),p=r(84574),D=r(3050),a=r(9793);let u=(()=>{var E;class T{set rootIsOpen(B){this.rootStartOpen=!1,B?(this.pwaFacace.increaseActionsCount(),this.platform.isPreviewApp&&B!==this._rootIsOpen&&this.platform.previewService.notifyRootOpening(),this.rootOpenedOnce||(this.rootOpenedOnce=!0)):this.platform.isPreviewApp&&B!==this._rootIsOpen&&this.platform.previewService.notifyRootClosing(),this._rootIsOpen=B,B?this.rootOpened.emit():this.rootClosed.emit()}get rootIsOpen(){return this._rootIsOpen}get rootToggled(){return(0,s.x)([this.rootOpened,this.rootClosed],c.z).pipe((0,_.J)())}get rootIsTabBar(){return this.settingsManager.isRootTabBarLike()}get isTabbarAndHidden(){return!!this.rootIsTabBar&&!!this._tabbarHidden}get tabBarBottomIsVisible(){return!!this.rootIsTabBar&&!this._tabbarHidden&&!this.platform.isDesktopSize()}get tabBarTopIsVisible(){return!!this.rootIsTabBar&&!this._tabbarHidden&&this.platform.isDesktopSize()}constructor(B,N,W,A){this.platform=B,this.pwaFacace=N,this.settingsManager=W,this.footerElementsVisibility=A,this.rootClosed=new n.vpe,this.rootOpened=new n.vpe,this.rootOpenedOnce=!1,this.tabbarHidden=new h.X(!1),this._tabbarHidden=!1,this.rootIsTabBar||this.footerElementsVisibility.setTabbarAsHidden()}openRoot(){this.rootIsOpen=!0}closeRoot(){this.rootIsOpen=!1}toggleRoot(){this.rootIsOpen=!this.rootIsOpen}hideTabbar(){this.tabbarHidden.next(!0),this._tabbarHidden=!0}showTabbar(){this.tabbarHidden.next(!1),this._tabbarHidden=!1}shouldDisplayTabBar(B){return(0,v.a)([this.platform.deviceChanged,this.tabbarHidden.asObservable()]).pipe((0,m.U)(([N,W])=>this.tabBarIsVisible(this.rootIsTabBar,N,B,W)))}tabBarIsVisible(B,N,W,A){return"top"===W?!!B&&!A&&"desktop"===N:!!B&&!A&&"desktop"!==N}}return(E=T).\u0275fac=function(B){return new(B||E)(n.LFG(D.m),n.LFG(b.MB),n.LFG(a.pz),n.LFG(p.m))},E.\u0275prov=n.Yz7({token:E,factory:E.\u0275fac,providedIn:"root"}),T})()},87447:(_e,R,r)=>{"use strict";r.d(R,{d:()=>c});const c=new(r(77533).OlP)("TabbarMainBaseComponent")},8604:(_e,R,r)=>{"use strict";r.d(R,{n:()=>s});const s=new(r(77533).OlP)("Swipeable Root")},86472:(_e,R,r)=>{"use strict";r.d(R,{s:()=>n});var n={};r.r(n),r.d(n,{loadMore:()=>D,loadMoreEnded:()=>E,loadMoreSearchResultsDidFail:()=>a,loadMoreSearchResultsDidSuccess:()=>u,loadResultsForKeyword:()=>T,loadSearchResultRestrictedItemsDidFail:()=>N,loadSearchResultRestrictedItemsDidSuccess:()=>B,performSearch:()=>c,performSearchDidFail:()=>h,performSearchDidSuccess:()=>v,performSearchNoCache:()=>_,performSearchNoCacheDidFail:()=>b,performSearchNoCacheDidSuccess:()=>m,resetResults:()=>p,resultsForKeywordAndTabAlreadyFetched:()=>M});var s=r(31907);const c=(0,s.PH)("[SEARCH LIST] Perform Search",(0,s.Ky)()),h=(0,s.PH)("[CONTENT API] Perform Search Did Fail"),v=(0,s.PH)("[CONTENT API] Perform Search Did Success",(0,s.Ky)()),_=(0,s.PH)("[SEARCH LIST] Perform Search No Cache",(0,s.Ky)()),m=(0,s.PH)("[CONTENT API] Perform Search No Cache Did Success",(0,s.Ky)()),b=(0,s.PH)("[CONTENT API] Perform Search No Cache Did Fail"),p=(0,s.PH)("[SEARCH LIST] Reset Results"),D=(0,s.PH)("[SEARCH LIST] Load More",(0,s.Ky)()),a=(0,s.PH)("[CONTENT API] Load More Search Results Did Fail"),u=(0,s.PH)("[CONTENT API] Load More Search Results Did Success",(0,s.Ky)()),E=(0,s.PH)("[SEARCH LIST] Load More Ended"),T=(0,s.PH)("[SEARCH LIST] Load Results For Keyword",(0,s.Ky)()),M=(0,s.PH)("[SEARCH LIST] Results For Keyword And Tab Already Fetched"),B=(0,s.PH)("[CONTENT API] Load Search Result Restricted Items Did Success",(0,s.Ky)()),N=(0,s.PH)("[CONTENT API] Load Search Result Restricted Items Did Fail",(0,s.Ky)())},29600:(_e,R,r)=>{"use strict";r.d(R,{e:()=>O});var n=r(77533),s=r(55096),c=r(28459),h=r(26682),v=r(62340),_=r(12494),m=r(54505),b=r(63673),p=r(97478),D=r(60110),a=r(96839),u=r(26079),E=r(63342),T=r(38205),M=r(43017),B=r(3050),N=r(9793),W=r(99256),A=r(18270),X=r(22049),U=r(80697);let O=(()=>{var k;class I{get authenticatedUser(){return this.authUser}set authenticatedUser(P){this.hasSkipped=!1,P instanceof T.JC&&P.id?(this.authUser&&P.id===this.authUser.id&&(P.encryptedPassword=this.authUser.pwd),this.authUser=P,this.loggedIn.next(!0),!this.platform.isPreviewApp&&!this.platform.isPortalApp&&(this.setLastValidLogin(P.login),this.cacheUser(P),this.statsApi.updateUser(P.unformattedId)),this.successObservable&&this.successObservable.subscribe().unsubscribe(),this.preventNextRedirection?this.preventNextRedirection=!1:this.redirectUrlTree?(this.zone.run(()=>this.router.navigateByUrl(this.redirectUrlTree)),this.redirectUrlTree=null):!this.platform.isPreviewApp&&this.router.navigated&&this.router.navigateByUrl("")):(this.photoUpdated.emit(null),this.authUser=null,this.loggedIn.next(!1),this.resetCache())}set hasSkipped(P){this._hasSkipped.next(P),this.hasSkippedValue=P,!0===P&&this.redirectUrlTree&&(this.router.navigateByUrl(this.redirectUrlTree),this.redirectUrlTree=null)}constructor(P,H,$,J,V,le,ge,te,We,Te,ee,Q){this.settingsManager=P,this.userApi=H,this.itemFactory=$,this.logger=J,this.router=V,this.linksBuilder=le,this.platform=ge,this.localStorage=te,this.cookieServie=We,this.zone=Te,this.statsApi=ee,this.eventsTrackerService=Q,this.loggedIn=new c.t(1),this.photoUpdated=new n.vpe,this._hasSkipped=new c.t(1),this.gbNoSSRCookieName="gbnossr"}setAuthenticationUser(){if(this.platform.isPreviewApp||this.platform.isPortalApp)return void(this.authenticatedUser=this.itemFactory.createUser(new W.sT(A.q)));const P=this.retrieveUserFromCache();P?this.userApi.getUser(P).pipe((0,h.K)(H=>{const $=this.settingsManager.getLoginKeepLoggedInWithoutConnection();return H.status>=400&&H.status<500||!1===$?this.logout(P).pipe((0,v.b)(()=>this.router.navigate(this.linksBuilder.getHomeRouterLink()))):$?(this.refreshCache(),(0,_.of)(P)):(0,m._)(()=>H)})).subscribe({next:H=>{H instanceof T.JC&&(this.preventNextRedirection=!0,this.authenticatedUser=H)},error:H=>this.authenticatedUser=null}):this.authenticatedUser=null}forgotPassword(P){return this.userApi.forgotPassword(P)}isRestrictedContent(P){let H;return H=(0,b.a)(P?[this.requireLoginForSection(P),this.isUnauthorizedContent(P)]:[this.requireLoginForApp(),this.isUnauthorizedContent("root")]),H.pipe((0,p.U)($=>{const[J,V]=$;return!0===J||!0===V}))}isUnauthorizedContent(P){return(0,b.a)([this.loggedIn,this._hasSkipped]).pipe((0,p.U)(H=>{const[$,J]=H;return!0===$&&!J}),(0,p.U)(H=>H&&!this.canAccessToSection(P)))}logout(P){return P||this.authUser?this.userApi.logout(P||this.authUser).pipe((0,D.b)(H=>this.authenticatedUser=null)):(0,_.of)(!0)}login(P,H){return this.userApi.login(P,H).pipe((0,D.b)($=>this.authenticatedUser=$),(0,D.b)(()=>this.eventsTrackerService.trackLogin("standard")))}socialLogin(P,H=!1){let $;return $=H?this.userApi.socialLoginWithMandatoryFields(P).pipe((0,D.b)(()=>this.eventsTrackerService.trackLogin("facebook"))):this.userApi.socialLogin(P).pipe((0,D.b)(()=>this.eventsTrackerService.trackLogin("facebook"))),$.pipe((0,D.b)(J=>{J.needUpdate||(this.authenticatedUser=J)}))}appleLogin(P){this.authenticatedUser=P,this.eventsTrackerService.trackLogin("apple")}appleDelete(P){this.userApi.deleteUser(P).pipe((0,a.x)(()=>this.router.navigate(this.linksBuilder.getHomeRouterLink()))).subscribe()}updateCachedUser(){this.cacheUser(this.authUser)}requireLoginForApp(){const P=this.settingsManager.getGeneralIsRestricted();return(0,b.a)([this.loggedIn,this._hasSkipped]).pipe((0,p.U)(H=>{const[$,J]=H;return P&&!1===$&&!J}))}requireLoginForSection(P){const H=this.settingsManager.getSectionsType(P);if("GBModuleTypeProfile"===H||"GBModuleTypeChat"===H||"GBModuleTypeLoyalty"===H)return this.loggedIn.pipe((0,p.U)($=>!1===$));{const $=this.settingsManager.getSectionsIsRestricted(P);return(0,b.a)([this.loggedIn,this._hasSkipped]).pipe((0,p.U)(J=>{const[V,le]=J;return $&&!1===V&&!le}))}}redirectToLogin(P){this.cancelUrl=P.cancelUrl?P.cancelUrl:this.router.url,"/login"===this.cancelUrl&&(this.cancelUrl=""),this.contextSectionId=P.sectionId?P.sectionId:null,this.isModal=P.isModal?P.isModal:null,this.skipEnabled=P.skipEnabled?P.skipEnabled:null,this.successObservable=P.successObservable?P.successObservable:null,this.showSignup=P.signupFirst?P.signupFirst:null,this.showLogin=P.loginFirst?P.loginFirst:null;const H=P.redirectUrl?P.redirectUrl:"";return this.redirectUrlTree=H instanceof s.lo?H:this.router.parseUrl(H),this.router.navigate(this.linksBuilder.getLoginRouterLink(),{skipLocationChange:!0})}syncUserPushToken(){if(!this.authenticatedUser)throw new Error("AuthError::NoAuthenticatedUser");return this.userApi.syncUserPushToken(this.authenticatedUser)}setLastValidLogin(P){this.localStorage.setItem("lastValidLogin",P)}canAccessToSection(P){if(this.settingsManager.getGeneralUsergroupsDisabled()||!this.settingsManager.getSectionsIsRestricted(P))return!0;if(!this.authUser)return!1;{if(!this.authUser.hasAuthorizationForSection("root")||!this.authUser.hasAuthorizationForSection(P))return!1;const H=this.settingsManager.getParentSectionId(P);if(H)return!!this.authUser.hasAuthorizationForSection(H)&&this.canAccessToSection(H)}return!0}cacheUser(P){this.localStorage.setItem("user",JSON.stringify(P.jsonUser)),this.refreshCache()}retrieveUserFromCache(){try{const P=parseInt(this.localStorage.getItem("lastUserAction")),H=Date.now();if(P&&H-P<this.settingsManager.getLoginSessionTimeInMs()){const $=this.localStorage.getItem("user");if($){const J=JSON.parse($);return this.refreshCache(),this.itemFactory.createUser(new W.sT(J))}}return this.resetCache(),null}catch{return this.logger.error("Local Storage : Failed to retrieve user from cache"),null}}resetCache(){this.localStorage.removeItem("user"),this.localStorage.removeItem("lastUserAction")}refreshCache(){this.localStorage.setItem("lastUserAction",Date.now().toString()),this.cookieServie.setCookie(this.gbNoSSRCookieName,"1")}}return(k=I).\u0275fac=function(P){return new(P||k)(n.LFG(N.pz),n.LFG(X.V),n.LFG(T.HP),n.LFG(U.Y),n.LFG(s.F0),n.LFG(M.B),n.LFG(B.m),n.LFG(E.n2),n.LFG(E.N_),n.LFG(n.R0b),n.LFG(u.O$),n.LFG(u.nq))},k.\u0275prov=n.Yz7({token:k,factory:k.\u0275fac,providedIn:"root"}),I})()},18270:(_e,R,r)=>{"use strict";r.d(R,{q:()=>s});const s={name:"User Name",userId:123456789,displayName:"User Name",nbComments:0,age:30,urlProfil:"",nbShare:0,gender:"m",email:"email.address@user.com",lg:"fr",nbFacebook:0,etat:"",attribs:{location:"Ajaccio, Corsica",geoloc:"41.913452299999996, 8.7371147",displayName:"User Name",description:"Description entered by user",intern:{},socialAccountsUrl:{twitter:"https://x.com/",facebook:"https://facebook.com/",pinterest:"https://pinterest.com/",linkedin:"https://linkedin.com/",instagram:"https://instagram.com/",tiktok:"https://tiktok.com/",youtube:"https://youtube.com/",whatsapp:"https://wa.me/",snapchat:"https://snapchat.com/"}},hasPasswd:!0,nbTwitter:0,urlPhoto:(0,r(99256).dW)("assets/img/gbpreview/chatAvatarPlaceholder1.jpg"),date:"2017-04-02",platform:"angular",login:"johndoe@johndoe.com"}},22049:(_e,R,r)=>{"use strict";r.d(R,{V:()=>M});var n=r(93634),s=r(54505),c=r(97478),h=r(26682),v=r(26079),_=r(63342),m=r(38205),b=r(35319),p=r(98238),D=r(9793),a=r(99256),u=r(77533),E=r(80697);let T=(()=>{var B;class N{constructor(A,X,U,O,k,I,F){this.settingsManager=A,this.languageManager=X,this.http=U,this.logger=O,this.itemFactory=k,this.statsService=I,this.localStorage=F,this.baseUrl="https://api.goodbarber.net/userapi"}createUser(A,X,U,O,k){const I=`${this.baseUrl}/user/create`;let F=new n.LE({encoder:new a.HK});const P=new Map;P.set("displayName",U),P.set("lg",this.settingsManager.getLang());const H=this.getGeolocationParam(this.storedLastPosition);return H&&P.set("geoloc",H),k&&P.set("location",k),O&&P.set("intern",O),F=F.set("type","intern"),F=F.set("credentials",`${A}:${X}`),F=F.set("attribs",JSON.stringify(this.mapToObject(P))),this.request(I,F).pipe((0,c.U)($=>{const J=new a.sT($.body);if(this.logger.debug("Create user response :",{response:J}),J.getString("error")||"ok"!==J.getString("stat")){const{body:V,...le}=$;throw new n.UA(le)}{const V=this.itemFactory.createUser(J.getJsonObject("user"));V.pwd=X;const le=J.getString("loginToken");return V.loginToken=le,V}}),(0,h.K)($=>this.handleException($)))}deleteUser(A){const X=`${this.baseUrl}/user/deleteUser`,U=new n.LE({fromString:`userId=${A.unformattedId}`}),O=this.setAuthenticationHeaders(A);return this.request(X,U,O).pipe((0,c.U)(k=>{const I=new a.sT(k.body);if(this.logger.debug("Delete User response :",{response:I}),I.getString("error")||"ok"!==I.getString("stat")){const{body:F,...P}=k;throw new n.UA(P)}return!0}),(0,h.K)(k=>this.handleException(k,!0)))}forgotPassword(A){const X=`${this.baseUrl}/user/forgot`,U=new n.LE({fromString:`login=${A}`});return this.request(X,U).pipe((0,c.U)(O=>{const k=new a.sT(O.body);if(this.logger.debug("Forgot password response :",{response:k}),k.getString("error")||"ok"!==k.getString("stat")){const{body:I,...F}=O;throw new n.UA(F)}return!0}),(0,h.K)(O=>this.handleException(O)))}getUser(A){const X=`${this.baseUrl}/user/get`;this.logger.info(`Fetching user from ${X}`);let U=new n.LE,O=new n.WM;return A instanceof m.JC?(U=U.set("userId",A.unformattedId),O=this.setAuthenticationHeaders(A)):U=U.set("userId",A),this.request(X,U,O).pipe((0,c.U)(k=>{const I=new a.sT(k.body);if(this.logger.debug("Response received :",{response:I}),I.getString("error")||"ok"!==I.getString("stat")){const{body:F,...P}=k;throw new n.UA(P)}{const F=this.itemFactory.createUser(I.getJsonObject("user"));return A instanceof m.JC&&(F.pwd=A.pwd,F.loginToken=A.loginToken),F}}),(0,h.K)(k=>this.handleException(k,!0)))}login(A,X){const U=`${this.baseUrl}/user/login`;let O=new n.LE({encoder:new a.HK});const k=new Map;k.set("lg",this.settingsManager.getLang());const I=this.getGeolocationParam(this.storedLastPosition);return I&&k.set("geoloc",I),O=O.set("type","intern"),O=O.set("credentials",`${A}:${X}`),O=O.set("attribs",JSON.stringify(this.mapToObject(k))),this.request(U,O).pipe((0,c.U)(F=>{const P=new a.sT(F.body);if(this.logger.debug("Login response :",{response:P}),P.getString("error")||"ok"!==P.getString("stat")){const{body:H,...$}=F;throw new n.UA($)}{const H=this.itemFactory.createUser(P.getJsonObject("user"));H.pwd=X;const $=P.getString("loginToken");return H.loginToken=$,H}}),(0,h.K)(F=>this.handleException(F)))}loginIsAvailable(A){const X=`${this.baseUrl}/app/isAvailable/`;let U=new n.LE;return U=U.set("email",A),this.request(X,U).pipe((0,c.U)(O=>{const k=new a.sT(O.body);if(this.logger.debug("isAvailable response :",{response:k}),k.getString("error")||"ok"!==k.getString("stat"))throw new Error(this.languageManager.getString("GB_TXT_USER_2"));return!0}),(0,h.K)(O=>(0,s._)(this.languageManager.getString("GB_TXT_USER_2"))))}logout(A){const X=`${this.baseUrl}/user/logout`;let U=new n.LE;return U=U.set("userId",A.unformattedId),this.request(X,U).pipe((0,c.U)(O=>{const k=new a.sT(O.body);if(this.logger.debug("Logout response :",{response:k}),k.getString("error")||"ok"!==k.getString("stat")){const{body:I,...F}=O;throw new n.UA(F)}return!0}),(0,h.K)(O=>this.handleException(O)))}searchUser(A,X,U,O){if(!this.settingsManager.getIdWebzine())throw new Error("Missing Webzine Id");let I={},F=new n.LE({fromString:`keywords=${A}`});if(O&&O.length>0&&!O.includes("[ALL]")&&(I={groups:O}),U&&U.size>0){const H=new Array;for(const[$,J]of Array.from(U))if(null!=J){const V={};V[$]=J,H.push(V)}I=H.length>0?{arrayFields:H,...I}:{...I}}I&&(F=F.append("filters",JSON.stringify(I)));let P=this.getGeolocationParam(this.storedLastPosition);return P||(P=","),X=X.replace("[GEOLOC]",P),this.request(X,F).pipe((0,c.U)(H=>{const $=new a.sT(H.body);if(this.logger.debug("Response received :",{response:$}),$.getString("error")||"ok"!==$.getString("stat")){const{body:J,...V}=H;throw new n.UA(V)}{const J=new m.sy,V=new Array;return $.getArray("users").forEach(ge=>{const te=this.itemFactory.createUser(new a.sT(ge));V.push(te)}),J.items=V,J.nextPage=$.getString("next_page",null),J}}),(0,h.K)(H=>this.handleException(H)))}socialLogin(A,X=!1){let O,U=`${this.baseUrl}/user/socialLogin`;return X&&(U=`${this.baseUrl}/user/processSocialLoginWithMandatoryFields`),O=A instanceof b.GN?this.getFacebookParams(A):(new n.LE).set("type","apple"),this.request(U,O).pipe((0,c.U)(k=>{const I=new a.sT(k.body);if(this.logger.debug("SocialLogin response :",{response:I}),I.getString("error")||"ok"!==I.getString("stat")){const{body:F,...P}=k;throw new n.UA(P)}{const F=this.itemFactory.createUser(I.getJsonObject("user")),P=I.getString("loginToken");return F.loginToken=P,F}}),(0,h.K)(k=>this.handleException(k)))}socialLoginWithMandatoryFields(A){return this.socialLogin(A,!0)}socialLoginUpdateFields(A,X,U){const O=`${this.baseUrl}/user/processSocialLoginWithMandatoryFields`;let k=new n.LE({encoder:new a.HK});const I=new Map;I.set("displayName",A.displayName),I.set("lg",this.settingsManager.getLang()),I.set("intern",U);const F=this.getGeolocationParam(this.storedLastPosition);F&&I.set("geoloc",F),A.description&&I.set("description",A.description),A.location&&I.set("location",A.location),I.set("allowContact",A.allowContact?"1":"0"),k=k.set("credentials",A.login),k=k.set("type",X),k=k.set("attribs",JSON.stringify(this.mapToObject(I)));const P=this.setAuthenticationHeaders(A);return this.request(O,k,P).pipe((0,c.U)(H=>{const $=new a.sT(H.body);if(this.logger.debug("socialLoginUpdateFields response :",{response:$}),$.getString("error")||"ok"!==$.getString("stat")){const{body:J,...V}=H;throw new n.UA(V)}{const J=this.itemFactory.createUser($.getJsonObject("user"));return J.loginToken=A.loginToken,J}}),(0,h.K)(H=>this.handleException(H,!0)))}updateAllowContact(A,X){const U=`${this.baseUrl}/user/updateUser`;let O=new n.LE({fromString:`userId=${A.unformattedId}`,encoder:new a.HK});const k=new Map;k.set("allowContact",String(Number(X))),O=O.set("attribs",JSON.stringify(this.mapToObject(k)));const I=this.setAuthenticationHeaders(A);return this.request(U,O,I).pipe((0,c.U)(F=>{const P=new a.sT(F.body);if(this.logger.debug("Update user allowContact response :",{response:P}),P.getString("error")||"ok"!==P.getString("stat")){const{body:H,...$}=F;throw new n.UA($)}{const H=this.itemFactory.createUser(P.getJsonObject("user"));return H.loginToken=A.loginToken,H}}),(0,h.K)(F=>this.handleException(F,!0)))}updateLogin(A,X){const U=`${this.baseUrl}/user/updateLogin`;let O=new n.LE({fromString:`userId=${A.unformattedId}`});O=O.set("login",X);const k=this.setAuthenticationHeaders(A);return this.request(U,O,k).pipe((0,c.U)(I=>{const F=new a.sT(I.body);if(this.logger.debug("Update user login response :",{response:F}),F.getString("error")||"ok"!==F.getString("stat")){const{body:P,...H}=I;throw new n.UA(H)}{const P=this.itemFactory.createUser(F.getJsonObject("user"));return P.loginToken=A.loginToken,P}}),(0,h.K)(I=>this.handleException(I,!0)))}updatePassword(A,X,U){const O=`${this.baseUrl}/user/updatePassword`;let k=new n.LE({fromString:`userId=${A.unformattedId}`});k=k.set("newPassword",X),U&&(k=k.set("oldPassword",U));const I=this.setAuthenticationHeaders(A);return this.request(O,k,I).pipe((0,c.U)(F=>{const P=new a.sT(F.body);if(this.logger.debug("Update user password response :",{response:P}),P.getString("error")||"ok"!==P.getString("stat")){const{body:H,...$}=F;throw new n.UA($)}{const H=this.itemFactory.createUser(P.getJsonObject("user"));return H.loginToken=A.loginToken,H}}),(0,h.K)(F=>this.handleException(F,!0)))}updatePhoto(A,X){const U=`${this.baseUrl}/user/updatePhoto`;let O=new n.LE({fromString:`userId=${A.unformattedId}`,encoder:new a.HK});O=O.set("data",X);const k=this.setAuthenticationHeaders(A);return this.request(U,O,k).pipe((0,c.U)(I=>{const F=new a.sT(I.body);if(this.logger.debug("Update user photo response :",{response:F}),F.getString("error")||"ok"!==F.getString("stat")){const{body:P,...H}=I;throw new n.UA(H)}return F.getString("url")}),(0,h.K)(I=>this.handleException(I,!0)))}updateUser(A,X,U,O,k,I){const F=`${this.baseUrl}/user/updateUser`;let P=new n.LE({fromString:`userId=${A.unformattedId}`,encoder:new a.HK});const H=new Map;H.set("displayName",X),H.set("description",U),null!=O&&H.set("location",O),k&&H.set("intern",k),I&&H.set("socialAccountsUrl",I),P=P.set("attribs",JSON.stringify(this.mapToObject(H)));const $=this.setAuthenticationHeaders(A);return this.request(F,P,$).pipe((0,c.U)(J=>{const V=new a.sT(J.body);if(this.logger.debug("Update user response :",{response:V}),V.getString("error")||"ok"!==V.getString("stat")){const{body:le,...ge}=J;throw new n.UA(ge)}{const le=this.itemFactory.createUser(V.getJsonObject("user"));return le.loginToken=A.loginToken,le}}),(0,h.K)(J=>this.handleException(J,!0)))}loginWithState(A){const X=this.baseUrl+"/user/loginWithState",U=new n.LE({fromObject:{state:A}});return this.request(X,U).pipe((0,c.U)(O=>{const k=new a.sT(O.body);if(k.getString("error")||"ok"!==k.getString("stat")){const{body:I,...F}=O;return(0,s._)(()=>new n.UA(F)),null}{const I=this.itemFactory.createUser(k.getJsonObject("user")),F=k.getString("loginToken");return I.loginToken=F,I}}),(0,h.K)(O=>this.handleException(O)))}syncUserPushToken(A){return this.updateUser(A,A.displayName,A.description)}getErrorMessage(A){if(A){this.logger.error(`Error hidden message: ${A.getString("hiddenMessage","no Hidden message")}`);const X=A.getString("jsonCode");if(X===this.languageManager.getString("GB_TXT_USER_DO_NEEDED"))return X;let U=A.getString("defaultMessage",null);return U||(U=this.languageManager.getString("GB_TXT_USER_1")),this.languageManager.getString(X,U)}return this.languageManager.getString("GB_TXT_USER_1")}getFacebookParams(A){let X=new n.LE({encoder:new a.HK});const U=new Map;X=X.set("type","facebook"),X=X.set("credentials",`facebook_${A.id}`),X=X.set("identifier",A.id);const O=this.getGeolocationParam(this.storedLastPosition);O&&U.set("geoloc",O);const k=new Map;return k.set("name",A.name),k.set("profilePictureUrl",A.picture),k.set("profilePictureUrlBig",A.picture),k.set("profilePictureUrlOriginal",A.picture),k.set("gender",A.gender),k.set("birthdate",A.birthday),k.set("language",A.locale),k.set("localization",A.location),k.set("nbConnections",A.nbFriends.toString()),k.set("mail",A.email),U.set("facebook",this.mapToObject(k)),""!==A.link&&(k.clear(),k.set("facebook",A.link),U.set("socialAccountsUrl",this.mapToObject(k))),X=X.set("attribs",JSON.stringify(this.mapToObject(U))),X}getGeolocationParam(A){return A&&A.coords&&(0,a.dn)(A.coords.latitude,A.coords.longitude)?`${A.coords.latitude},${A.coords.longitude}`:null}handleException(A,X=!1){let U;if(A instanceof n.UA){if(X&&A.status>=400&&A.status<500)return(0,s._)(()=>A);const O=new a.sT(A.error);let k=null;(O.getString("error")||"ok"!==O.getString("stat"))&&(k=O.getJsonObject("error")),U=this.getErrorMessage(k)}else U=A;return(0,s._)(U)}mapToObject(A){const X={};return A.forEach((U,O)=>{X[O]=U}),X}request(A,X,U=new n.WM){const O=this.settingsManager.getIdWebzine();if(!O)throw new Error("Missing Webzine Id");return X=X.set("appId",O.toString()).set("platform","html5").set("pushToken",this.statsService.pushToken).set("pushPlatform",this.statsService.completePushPlatform),U=U.append("Content-Type","application/x-www-form-urlencoded"),this.http.post(A,X,{headers:U,observe:"response"})}get storedLastPosition(){return JSON.parse(this.localStorage.getItem("lastPosition"))}setAuthenticationHeaders(A){let X=new n.WM;return A&&A.loginToken&&(X=X.set("X-FrontendToken",A.loginToken)),X}}return(B=N).\u0275fac=function(A){return new(A||B)(u.LFG(D.pz),u.LFG(p.h),u.LFG(n.eN),u.LFG(E.Y),u.LFG(m.HP),u.LFG(v.O$),u.LFG(_.n2))},B.\u0275prov=u.Yz7({token:B,factory:B.\u0275fac,providedIn:"root"}),N})(),M=(()=>{var B;class N{}return(B=N).\u0275fac=function(A){return new(A||B)},B.\u0275prov=u.Yz7({token:B,factory:W=>T.\u0275fac(W),providedIn:"root"}),N})()},45003:(_e,R,r)=>{"use strict";r.d(R,{V:()=>v});var n=r(77533);function s(_,m){if(1&_&&n._UZ(0,"img",1),2&_){const b=n.oxw();n.Q6J("src",b.avatarUrl,n.LSH)("alt",b.name)}}function c(_,m){if(1&_&&n._uU(0),2&_){const b=n.oxw();n.hij(" ",b.avatarLetter," ")}}const h=["#E74C3C","#1ABC9C","#F39C12","#8E44AD","#C0392B","#2980B9","#2ECC71","#9B59B6","#E67E22","#3498DB"];let v=(()=>{var _;class m{constructor(){this.avatarLetter=""}ngOnChanges(p){this.showAvatar=!!this.avatarUrl,this.setAvatarColor(),this.showAvatar||this.setAvatarLetter()}setAvatarLetter(){const p=this.name.substring(0,1);this.avatarLetter=p.trim()}setAvatarColor(){this.fontSize=null;const p=this.name.substring(0,4);let D="";for(let E=0;E<p.length;E++)D+=p.charCodeAt(E).toString(16);const u=parseInt(D,16)%h.length;this.avatarColor=h[u],this.size&&this.size>0&&(this.fontSize=Math.round(this.size/1.6))}}return(_=m).\u0275fac=function(p){return new(p||_)},_.\u0275cmp=n.Xpm({type:_,selectors:[["gb-author-avatar"]],inputs:{avatarUrl:"avatarUrl",name:"name",size:"size"},features:[n.TTD],decls:3,vars:13,consts:[[1,"avatar"],["loading","lazy","onerror","this.style.display = 'none'",3,"src","alt"]],template:function(p,D){1&p&&(n.TgZ(0,"span",0),n.YNc(1,s,1,2,"img",1)(2,c,1,1),n.qZA()),2&p&&(n.Udp("background-color",D.avatarColor)("width",D.size,"px")("height",D.size,"px")("line-height",D.size,"px")("font-size",D.fontSize,"px"),n.ekj("avatar-color",!D.showAvatar),n.xp6(1),n.um2(1,D.showAvatar?1:2))},styles:["img[_ngcontent-%COMP%]{object-fit:cover;border-radius:inherit;width:100%;height:100%}"],changeDetection:0}),m})()},6147:(_e,R,r)=>{"use strict";r.d(R,{U:()=>p});var n=r(3050),s=r(77533);function c(D,a){if(1&D&&s._UZ(0,"img",5),2&D){const u=s.oxw();s.Q6J("alt",u.alt)("src",u.landscape,s.LSH)}}function h(D,a){if(1&D&&s._UZ(0,"img",6),2&D){const u=s.oxw();s.Q6J("alt",u.alt)("src",u.portrait,s.LSH)}}function v(D,a){if(1&D&&(s.TgZ(0,"div",7),s.ALo(1,"backgroundimage"),s.qZA()),2&D){const u=s.oxw();s.Udp("background-image",s.lcZ(1,2,u.landscape))}}function _(D,a){if(1&D&&(s.TgZ(0,"div",8),s.ALo(1,"backgroundimage"),s.qZA()),2&D){const u=s.oxw();s.Udp("background-image",s.lcZ(1,2,u.portrait))}}function m(D,a){if(1&D&&(s.TgZ(0,"div",9),s.ALo(1,"backgroundimage"),s.qZA()),2&D){const u=s.oxw();s.Udp("background-image",s.lcZ(1,2,u.mobile))}}let b=0,p=(()=>{var D;class a{constructor(E){this.id="gb-background-image-switcher-"+b++,this.lazyLoadingSupported=E.isNativeLazyLoadingSupported}}return(D=a).\u0275fac=function(E){return new(E||D)(s.Y36(n.m))},D.\u0275cmp=s.Xpm({type:D,selectors:[["gb-background-image-switcher"],["","gbAMPBackgroundImageSwitcher",""]],hostVars:1,hostBindings:function(E,T){2&E&&s.Ikx("id",T.id)},inputs:{mobile:"mobile",portrait:"portrait",landscape:"landscape",alt:"alt"},decls:5,vars:5,consts:[["class","bg-landscape-img","loading","lazy",3,"alt","src",4,"ngIf"],["class","bg-portrait-img","loading","lazy",3,"alt","src",4,"ngIf"],["class","bg-landscape",3,"background-image",4,"ngIf"],["class","bg-portrait",3,"background-image",4,"ngIf"],["class","bg-mobile",3,"background-image",4,"ngIf"],["loading","lazy",1,"bg-landscape-img",3,"alt","src"],["loading","lazy",1,"bg-portrait-img",3,"alt","src"],[1,"bg-landscape"],[1,"bg-portrait"],[1,"bg-mobile"]],template:function(E,T){1&E&&s.YNc(0,c,1,2,"img",0)(1,h,1,2,"img",1)(2,v,2,4,"div",2)(3,_,2,4,"div",3)(4,m,2,4,"div",4),2&E&&(s.Q6J("ngIf",T.landscape&&T.lazyLoadingSupported),s.xp6(1),s.Q6J("ngIf",T.portrait&&T.lazyLoadingSupported),s.xp6(1),s.Q6J("ngIf",T.landscape&&!T.lazyLoadingSupported),s.xp6(1),s.Q6J("ngIf",T.portrait&&!T.lazyLoadingSupported),s.xp6(1),s.Q6J("ngIf",T.mobile))},styles:["[_nghost-%COMP%]{inset:0;z-index:0;pointer-events:none;position:absolute;transform:translateZ(0)}.fixed[_nghost-%COMP%]{position:fixed}.fixed[_nghost-%COMP%]   .bg-landscape[_ngcontent-%COMP%], .fixed[_nghost-%COMP%]   .bg-portrait[_ngcontent-%COMP%], .fixed[_nghost-%COMP%]   .bg-mobile[_ngcontent-%COMP%]{position:fixed}.bg-landscape[_ngcontent-%COMP%], .bg-portrait[_ngcontent-%COMP%], .bg-mobile[_ngcontent-%COMP%]{background:transparent center center no-repeat;background-size:cover;inset:0;position:absolute;transform:translateZ(0)}.bg-landscape-img[_ngcontent-%COMP%], .bg-portrait-img[_ngcontent-%COMP%]{object-fit:cover;inset:0;height:100%;width:100%;position:absolute;transform:translateZ(0)}@media only screen and (orientation: portrait) and (min-width: 1025px),only screen and (orientation: landscape) and (min-width: 1280px){.bg-mobile[_ngcontent-%COMP%]{visibility:hidden}}@media only screen and (orientation: portrait) and (min-width: 1025px) and (orientation: landscape),only screen and (orientation: landscape) and (min-width: 1280px) and (orientation: landscape){.bg-portrait[_ngcontent-%COMP%], .bg-portrait-img[_ngcontent-%COMP%]{visibility:hidden}}@media only screen and (orientation: portrait) and (min-width: 1025px) and (orientation: portrait),only screen and (orientation: landscape) and (min-width: 1280px) and (orientation: portrait){.bg-landscape[_ngcontent-%COMP%], .bg-landscape-img[_ngcontent-%COMP%]{visibility:hidden}}@media only screen and (orientation: portrait) and (min-width: 600px) and (max-width: 1024px),only screen and (orientation: landscape) and (min-width: 960px) and (max-width: 1279px){.bg-mobile[_ngcontent-%COMP%]{visibility:hidden}}@media only screen and (orientation: portrait) and (min-width: 600px) and (max-width: 1024px) and (orientation: landscape),only screen and (orientation: landscape) and (min-width: 960px) and (max-width: 1279px) and (orientation: landscape){.bg-portrait[_ngcontent-%COMP%], .bg-portrait-img[_ngcontent-%COMP%]{visibility:hidden}}@media only screen and (orientation: portrait) and (min-width: 600px) and (max-width: 1024px) and (orientation: portrait),only screen and (orientation: landscape) and (min-width: 960px) and (max-width: 1279px) and (orientation: portrait){.bg-landscape[_ngcontent-%COMP%], .bg-landscape-img[_ngcontent-%COMP%]{visibility:hidden}}@media only screen and (orientation: portrait) and (max-width: 599px),only screen and (orientation: landscape) and (max-width: 959px){.bg-portrait[_ngcontent-%COMP%], .bg-landscape[_ngcontent-%COMP%], .bg-portrait-img[_ngcontent-%COMP%], .bg-landscape-img[_ngcontent-%COMP%]{visibility:hidden}}"],changeDetection:0}),a})()},55686:(_e,R,r)=>{"use strict";r.d(R,{l:()=>m});var n=r(99256),s=r(77533),c=r(14565);function h(b,p){if(1&b&&(s.TgZ(0,"div",6)(1,"div",7),s.Hsn(2,4),s.qZA()()),2&b){const D=s.oxw();s.ekj("thumb-right",D.isThumbAlignRight)("thumb-square",D.isThumbSquare)("thumb-circle",D.isThumbCircle)}}const v=[[["gb-premium-sticker"]],[["",8,"heading"]],[["",8,"sub-heading"]],[["",8,"content"]],[["",8,"thumb"],["gb-background-image"]]],_=["gb-premium-sticker",".heading",".sub-heading",".content",".thumb, gb-background-image"];let m=(()=>{var b;class p{constructor(){this.textsCentered=!1}ngOnChanges(a){this.separatorStyle=this.separatorColor&&"transparent"!==this.separatorColor?`1px ${(0,n.Rg)(this.separatorType)} ${this.separatorColor}`:"",this.isThumbSquare="square"===this.thumbFormat||"4-3"===this.thumbFormat,this.isThumbCircle="circle"===this.thumbFormat,this.isThumbAlignRight="right"===this.thumbPosition}}return(b=p).\u0275fac=function(a){return new(a||b)},b.\u0275cmp=s.Xpm({type:b,selectors:[["gb-classic-list-cell"]],inputs:{thumbEnabled:"thumbEnabled",thumbFormat:"thumbFormat",thumbPosition:"thumbPosition",separatorType:"separatorType",separatorColor:"separatorColor",textsCentered:"textsCentered"},features:[s.TTD],ngContentSelectors:_,decls:10,vars:5,consts:[[1,"classic-list-cell-container"],["class","cell-thumb",3,"thumb-right","thumb-square","thumb-circle",4,"ngIf"],[1,"cell-texts"],[1,"cell-heading"],[1,"cell-sub-heading"],[1,"cell-content"],[1,"cell-thumb"],[1,"cell-thumb-inner"]],template:function(a,u){1&a&&(s.F$t(v),s.TgZ(0,"div",0),s.YNc(1,h,3,6,"div",1),s.TgZ(2,"div",2)(3,"div",3),s.Hsn(4),s.Hsn(5,1),s.qZA(),s.TgZ(6,"div",4),s.Hsn(7,2),s.qZA(),s.TgZ(8,"div",5),s.Hsn(9,3),s.qZA()()()),2&a&&(s.Udp("border-top",u.separatorStyle),s.xp6(1),s.Q6J("ngIf",u.thumbEnabled),s.xp6(1),s.ekj("middle",u.textsCentered))},dependencies:[c.NgIf],styles:["[_nghost-%COMP%]{display:block}.classic-list-slideshow-padding[_nghost-%COMP%]   .classic-list-cell-container[_ngcontent-%COMP%]{padding-left:0;padding-right:0}.classic-list-cell-container[_ngcontent-%COMP%]{padding:10px;display:flex;flex-direction:row;min-height:100px}.cell-thumb[_ngcontent-%COMP%]{position:relative;flex:0 0 auto;width:47%;margin-right:10px}.cell-thumb[_ngcontent-%COMP%]   .cell-thumb-inner[_ngcontent-%COMP%]{position:relative;padding-bottom:69.95%}.cell-thumb.thumb-square[_ngcontent-%COMP%], .cell-thumb.thumb-circle[_ngcontent-%COMP%]{width:30%}.cell-thumb.thumb-square[_ngcontent-%COMP%]   .cell-thumb-inner[_ngcontent-%COMP%], .cell-thumb.thumb-circle[_ngcontent-%COMP%]   .cell-thumb-inner[_ngcontent-%COMP%]{position:relative;padding-bottom:100%}.cell-thumb.thumb-circle[_ngcontent-%COMP%]{border-radius:50%;clip-path:circle();overflow:auto}.cell-thumb.thumb-right[_ngcontent-%COMP%]{order:1;margin-left:10px;margin-right:0}.cell-thumb[_ngcontent-%COMP%]     .thumb, .cell-thumb[_ngcontent-%COMP%]     gb-background-image{margin:0;position:absolute;top:0;left:0;width:100%;height:100%;background-color:#f1f1f1}[dir=rtl][_nghost-%COMP%]   .cell-thumb[_ngcontent-%COMP%], [dir=rtl]   [_nghost-%COMP%]   .cell-thumb[_ngcontent-%COMP%]{margin-right:0;margin-left:10px}[dir=rtl][_nghost-%COMP%]   .cell-thumb.thumb-right[_ngcontent-%COMP%], [dir=rtl]   [_nghost-%COMP%]   .cell-thumb.thumb-right[_ngcontent-%COMP%]{margin-left:0;margin-right:10px}.cell-texts[_ngcontent-%COMP%]{display:flex;flex-direction:column;flex:1 1 auto;justify-content:flex-start;overflow:hidden}.cell-texts.middle[_ngcontent-%COMP%]{justify-content:center}.cell-texts[_ngcontent-%COMP%]     :last-child:not(.ps-logo):not(.ps-icon):not(gb-premium-sticker){margin:0}.cell-heading[_ngcontent-%COMP%]{position:relative}.cell-heading[_ngcontent-%COMP%], .cell-sub-heading[_ngcontent-%COMP%]{margin:0}.cell-heading[_ngcontent-%COMP%]:not(:empty), .cell-sub-heading[_ngcontent-%COMP%]:not(:empty){margin-bottom:.5em}gb-classic-list   .classic-list-container    > :first-child[_nghost-%COMP%]   .classic-list-cell-container[_ngcontent-%COMP%], gb-classic-list   .classic-list-container    > :first-child   [_nghost-%COMP%]   .classic-list-cell-container[_ngcontent-%COMP%]{border-top:none!important}"],changeDetection:0}),p})()},83353:(_e,R,r)=>{"use strict";r.d(R,{O:()=>a});var p,n=r(97582),s=r(17619),c=r(9793),h=r(77533),v=r(14565),_=r(98037),m=r(14842),b=r(68972);class a{constructor(E){this.settingsManager=E}ngOnInit(){this.isRtl=this.settingsManager.getSectionsIsRtl(this.sectionId),this.margin=this.customMargin||this.settingsManager.getSectionsMargin(this.sectionId),this.borderColor=this.settingsManager.getSectionsBorderColor(this.sectionId),this.hasVisibleBorder="transparent"!==this.borderColor,this.containerClasses={"with-border":this.hasVisibleBorder,"stick-to-top":0===this.margin.top,"stick-to-right":0===this.margin.right,"stick-to-bottom":0===this.margin.bottom,"stick-to-left":0===this.margin.left},this.containerStyle={margin:this.margin.toString(),"border-color":this.borderColor}}}(p=a).\u0275fac=function(E){return new(E||p)(h.Y36(c.pz))},p.\u0275cmp=h.Xpm({type:p,selectors:[["gb-classic-list"]],inputs:{sectionId:"sectionId",customMargin:"customMargin",listShape:"listShape",listShadow:"listShadow"},ngContentSelectors:["*"],decls:2,vars:5,consts:[[1,"classic-list-container",3,"gbDirRtl","ngClass","ngStyle","gbuiShape","gbuiShadow"]],template:function(E,T){1&E&&(h.F$t(),h.TgZ(0,"div",0),h.Hsn(1),h.qZA()),2&E&&h.Q6J("gbDirRtl",T.isRtl)("ngClass",T.containerClasses)("ngStyle",T.containerStyle)("gbuiShape",T.listShape)("gbuiShadow",T.listShadow)},dependencies:[v.NgClass,v.NgStyle,_.k,m.y,b.f],styles:["[_nghost-%COMP%]{display:block;overflow:hidden}.classic-list-container[_ngcontent-%COMP%]{border-width:0;overflow:hidden}.classic-list-container.with-border[_ngcontent-%COMP%]{border-width:1px;border-style:solid}.classic-list-container.with-border.stick-to-left[_ngcontent-%COMP%]{border-left-width:0}.classic-list-container.with-border.stick-to-right[_ngcontent-%COMP%]{border-right-width:0}.classic-list-container.with-border.stick-to-top[_ngcontent-%COMP%]{border-top-width:0}.classic-list-container.with-border.stick-to-bottom[_ngcontent-%COMP%]{border-bottom-width:0}"],changeDetection:0}),(0,n.gn)([(0,s.Jh)("sections"),(0,n.w6)("design:type",Function),(0,n.w6)("design:paramtypes",[]),(0,n.w6)("design:returntype",void 0)],a.prototype,"ngOnInit",null)},38205:(_e,R,r)=>{"use strict";r.d(R,{hm:()=>lt,$:()=>p,_R:()=>$,n$:()=>D,Mj:()=>b.M,sy:()=>n,HP:()=>ge,du:()=>m,lD:()=>E,ED:()=>te,Pt:()=>U,Xy:()=>N,Jz:()=>W,JC:()=>F,Bj:()=>P,M_:()=>tt,BX:()=>b.B,J9:()=>ut});class n{}var s=r(39071),c=r(98238),h=r(9793),v=r(99256),_=r(93634);let m=(()=>{var ne;class y{constructor(w,Fe,Je){this._id=w,this._url=Fe,this.otherImages=Je}set id(w){this._id=w}get id(){return this._id}set url(w){this._url=w}get url(){return this._url}getOtherImageUrl(w){return this.otherImages?this.otherImages.getString(w,this.url):this.url}toString(){return`Id ${this._id}, ${this._url}, ${this.otherImages}`}}return(ne=y).ID="id",ne.URL="url",ne.OTHER_IMAGES_URL="otherImagesUrl",y})();var b=r(96578);let p=(()=>{var ne;class y extends b.M{constructor(w,Fe,Je,St){super(w,Fe,Je,St),this._images=new Array,this._commentsEnabled=w.getBoolean(y.COMMENTSENABLED),this._commentsUrl=w.getString(y.COMMENTSURL,null),this._commentsPostUrl=w.getString(y.COMMENTSPOSTURL,null),this._content=w.getString(y.CONTENT,null),this._thumbnail=w.getString(y.THUMBNAIL,null),this.smallThumbnail=w.getString(y.SMALLTHUMBNAIL,""),this._largeThumbnail=w.getString(y.LARGETHUMBNAIL,""),this._xLargeThumbnail=w.getString(y.XLARGETHUMBNAIL,""),this._xxLargeThumbnail=w.getString(y.XXLARGETHUMBNAIL,""),this._originalThumbnail=w.getString(y.ORIGINALTHUMBNAIL,""),this._summary=w.getString(y.SUMMARY,null),null!=this._summary&&(this._summary=this._summary.replace(/\s+/g," ")),this._subtitle=w.getString(y.SUBTITLE),this._latitude=w.getString(y.LATITUDE,null),this._longitude=w.getString(y.LONGITUDE,null),this._leadin=w.getString(y.LEADIN),this._isFeatured=w.getString(y.ISFEATURED,null),this._contentTemplate=w.getString(y.CONTENTTEMPLATE,null),this._disqusUrl=w.getString(y.DISQUSURL),this._parentSectionId=w.getString(y.PARENT_SECTIONID,null);const gt=w.getArray(y.IMAGES);null!=gt&&gt.length>0&&gt.forEach((Wt,ft)=>{const ye=new v.sT(Wt),st=new m(ye.getString(m.ID),ye.getString(m.URL),ye.getJsonObject(m.OTHER_IMAGES_URL));this._images.push(st)}),this.rubrique=w.getObject(y.RUBRIQUE)}get isCommentsEnabled(){return this._commentsEnabled}get commentsUrl(){return this._commentsUrl}get commentsPostUrl(){return this._commentsPostUrl}get content(){return this._content}get thumbnail(){return this._thumbnail}get largeThumbnail(){return""!==this._largeThumbnail?this._largeThumbnail:this._thumbnail}get xLargeThumbnail(){return""!==this._xLargeThumbnail?this._xLargeThumbnail:this.largeThumbnail}get xxLargeThumbnail(){return""!==this._xxLargeThumbnail?this._xxLargeThumbnail:this.xLargeThumbnail}get originalThumbnail(){return""!==this._originalThumbnail?this._originalThumbnail:this.largeThumbnail}get thumbnails(){return[this.xxLargeThumbnail,this.xLargeThumbnail,this.largeThumbnail,this.thumbnail,this.smallThumbnail]}get summary(){return this._summary}get subtitle(){return this._subtitle}get latitude(){return this._latitude}get longitude(){return this._longitude}get leadin(){return this._leadin}get isFeatured(){return this._isFeatured}get contentTemplate(){return this._contentTemplate}set contentTemplate(w){this._contentTemplate=w}get images(){return this._images}get disqusPageUrl(){return this._disqusUrl||this.url}get metaImage(){return this.xxLargeThumbnail}get smallMetaImage(){return this.thumbnail}get metaDescription(){return this._metaDescription?this._metaDescription:this.summary?(0,v.ix)(this.summary,200):(0,v.ix)(this.content,200,!0)}get parentSectionId(){return this._parentSectionId}get linkedDataRepresentation(){return{"@context":"https://schema.org","@type":"Article",headline:this.title,image:[this.thumbnail,this.largeThumbnail,this.xxLargeThumbnail],datePublished:this.date,author:[{name:this.author}]}}getItemType(){return 0}getTitle(w=!1){return w?this.title.toUpperCase():this.title}replaceTagsInString(w){if(w=(w=(w=(w=w.replace(/\[CONTENT\]/g,super.encodeDollarAmperstandPattern(this.content))).replace(/\[SUBTITLE\]/g,this.subtitle)).replace(/\[(?:LEADIN|SUMMARYONLY)\]/g,this.leadin)).replace(/\[SUMMARY\]/g,super.encodeDollarAmperstandPattern(this.summary)),(0,v.dn)(parseFloat(this.latitude),parseFloat(this.longitude))){let Fe=new _.LE;Fe=Fe.append("center",`${this.latitude},${this.longitude}`),Fe=Fe.append("markers",`color:red%7C${this.latitude},${this.longitude}`),Fe=Fe.append("zoom","15"),Fe=Fe.append("size","600x300"),Fe=Fe.append("maptype","roadmap"),Fe=Fe.append("sensor","false");const St=`\n                <a href="${(0,v.D6)(this.latitude,this.longitude)}">\n                    <img src="https://maps.googleapis.com/maps/api/staticmap?${Fe.toString()}" alt="" />\n                </a>`;w=w.replace(/\[MAP\]/g,St)}else w=w.replace(/\[MAP\]/g,"");return w=w.replace(/\[CATEGORY\]/g,this.rubrique&&this.rubrique.label||""),super.replaceTagsInString(w)}formatSubtitle(w){return w=(w=w.replace(/\[AUTHOR_AVATAR\]/g,"")).replace(/\[CONTENT\]/g,""),this.replaceTagsInString(w)}commentsAvailable(){return this.isCommentsEnabled&&""!==this.commentsUrl}updateNbComments(w){this._nbComments=w}cloneRawInstance(){return new y(this.raw,this._settingsManager,this._languagesManager,this.dateTimeService)}}return(ne=y).COMMENTSENABLED="commentsEnabled",ne.COMMENTSURL="commentsUrl",ne.COMMENTSPOSTURL="commentsPostUrl",ne.CONTENT="content",ne.THUMBNAIL="thumbnail",ne.SMALLTHUMBNAIL="smallThumbnail",ne.LARGETHUMBNAIL="largeThumbnail",ne.XLARGETHUMBNAIL="xLargeThumbnail",ne.XXLARGETHUMBNAIL="xxLargeThumbnail",ne.ORIGINALTHUMBNAIL="originalThumbnail",ne.SUMMARY="summary",ne.IMAGES="images",ne.SUBTITLE="subtitle",ne.LATITUDE="latitude",ne.LONGITUDE="longitude",ne.LEADIN="leadin",ne.ISFEATURED="isFeatured",ne.CONTENTTEMPLATE="contentTemplate",ne.DISQUSURL="disqusUrl",ne.PARENT_SECTIONID="parentSectionId",ne.RUBRIQUE="rubrique",y})(),D=(()=>{var ne;class y extends b.M{constructor(w,Fe,Je,St){super(w,Fe,Je,St),this._images=new Array,this._address=w.getString(y.ADDRESS,null),this._allDay=w.getNumber(y.ALLDAY,null),this._content=w.getString(y.CONTENT,null),this._latitude=w.getString(y.LATITUDE,null),this._longitude=w.getString(y.LONGITUDE,null),this._thumbnail=w.getString(y.THUMBNAIL,""),this._largeThumbnail=w.getString(y.LARGETHUMBNAIL,""),this._xLargeThumbnail=w.getString(y.XLARGETHUMBNAIL,""),this._xxLargeThumbnail=w.getString(y.XXLARGETHUMBNAIL,""),this._originalThumbnail=w.getString(y.ORIGINALTHUMBNAIL,""),this._phoneNumber=w.getString(y.PHONENUMBER,null),this._urlEvent=w.getString(y.URLEVENT,null),this._sortDate=w.getString(y.SORTDATE,null),this._pinIconUrl=w.getString(y.PINICONURL,null),this._pinIconColor=w.getString(y.PINICONCOLOR,null),this._urlShop=w.getString(y.URLSHOP,null),this._email=w.getString(y.EMAIL,null),this._website=w.getString(y.WEBSITE,null),this._summary=w.getString(y.SUMMARY,null),this._commentsEnabled=w.getBoolean(y.COMMENTSENABLED),this._commentsUrl=w.getString(y.COMMENTSURL,null),this._commentsPostUrl=w.getString(y.COMMENTSPOSTURL,null),this._contentTemplate=w.getString(y.CONTENTTEMPLATE,null),this._isFeatured=w.getString(y.ISFEATURED,null),this._parentSectionId=w.getString(y.PARENT_SECTIONID,null),this.shortDate=this.shortenDate(this._date),this.shortEndDate=this.shortenDate(this._endDate),this.shortSortDate=this.shortenDate(this._sortDate)||this.shortDate;const gt=w.getArray(y.IMAGES);null!=gt&&gt.length>0&&gt.forEach((Wt,ft)=>{const ye=new v.sT(Wt),st=new m(ye.getString(m.ID),ye.getString(m.URL),ye.getJsonObject(m.OTHER_IMAGES_URL));this._images.push(st)})}get address(){return this._address}get allDay(){return!!this._allDay}get content(){return this._content}get latitude(){return this._latitude}get lat(){return parseFloat(this._latitude)}get longitude(){return this._longitude}get lng(){return parseFloat(this._longitude)}get thumbnail(){return this._thumbnail}get largeThumbnail(){return""!==this._largeThumbnail?this._largeThumbnail:this._thumbnail}get xLargeThumbnail(){return""!==this._xLargeThumbnail?this._xLargeThumbnail:this.largeThumbnail}get xxLargeThumbnail(){return""!==this._xxLargeThumbnail?this._xxLargeThumbnail:this.xLargeThumbnail}get originalThumbnail(){return""!==this._originalThumbnail?this._originalThumbnail:this.largeThumbnail}get thumbnails(){return[this.xxLargeThumbnail,this.xLargeThumbnail,this.largeThumbnail,this.thumbnail]}get phoneNumber(){return this._phoneNumber}get phoneNumberUrl(){return`tel:${this._phoneNumber.replace(/\\D/g,"")}`}get urlEvent(){return this.replaceDateTagsInString(this._urlEvent)}get sortDate(){return null!=this._sortDate?this._sortDate:this.date}get pinIconUrl(){return this._pinIconUrl}get pinIconColor(){return this._pinIconColor}get urlShop(){return this.replaceDateTagsInString(this._urlShop)}get email(){return this._email}get website(){return this._website}get summary(){return this._summary}get isCommentsEnabled(){return this._commentsEnabled}get commentsUrl(){return this._commentsUrl}get commentsPostUrl(){return this._commentsPostUrl}get contentTemplate(){return this._contentTemplate}set contentTemplate(w){this._contentTemplate=w}get images(){return this._images}get subtitle(){return this._allDay?this._address?this._languagesManager.getString("GB_TXT_19").replace("[ADDRESS]",this._address):"":this._address?this._languagesManager.getString("GB_TXT_8").replace("[ADDRESS]",this._address).replace("[HOUR]",this.formattedHourStart):this.formattedHourStart}get detailSubtitleDate(){if(!this._date)return"";let w=this._date,Fe=this._endDate;if(this._allDay&&(w=this.shortDate,Fe=this.shortEndDate),!this._detailSubtitleDate){let Je="";const St=Fe&&this.dateTimeService.areDatesTheSameDayWithISO(w,Fe);Je=this._languagesManager.getString(this._allDay?St?"GB_TXT_311":"GB_TXT_338":St?"GB_TXT_313":Fe?"GB_TXT_314":"GB_TXT_312"),this._detailSubtitleDate=this.replaceDateTagsInString(Je)}return this._detailSubtitleDate}get formattedDateStart(){const w=this._settingsManager.getDateFormatTxt1();return this.formatDateWithformat(this._allDay?this.shortDate:this._date,w)}get formattedHourStart(){const w=this._settingsManager.getDateFormatHour();return this.formatDateWithformat(this._allDay?this.shortDate:this._date,w)}get formattedDateEnd(){const w=this._settingsManager.getDateFormatTxt1();return this.formatDateWithformat(this._allDay?this.shortEndDate:this._endDate,w)}get formattedHourEnd(){const w=this._settingsManager.getDateFormatHour();return this.formatDateWithformat(this._allDay?this.shortEndDate:this._endDate,w)}get disqusPageUrl(){return this.url}get metaImage(){return this.xxLargeThumbnail}get smallMetaImage(){return this.thumbnail}get metaDescription(){return this._metaDescription?this._metaDescription:this.summary?(0,v.ix)(this.summary,200):(0,v.ix)(this.content,200,!0)}get parentSectionId(){return this._parentSectionId}get linkedDataRepresentation(){if(!this.address)return null;const w={"@context":"https://schema.org","@type":"Event",name:this.title,eventStatus:"https://schema.org/EventScheduled",eventAttendanceMode:"https://schema.org/OfflineEventAttendanceMode",location:{"@type":"Place",name:this.address,address:{"@type":"PostalAddress",name:this.address}},image:[this.thumbnail,this.largeThumbnail,this.xxLargeThumbnail],description:this.summary};return this.allDay?(w.startDate=this.shortDate,w.endDate=this.shortEndDate):(w.startDate=this.date,w.endDate=this.endDate),this.urlShop&&(w.offers={"@type":"Offer",url:this.urlShop}),w}commentsAvailable(){return this.isCommentsEnabled&&""!==this.commentsUrl}getItemType(){return 7}replaceTagsInString(w){return(w=(w=w.replace(/\[CONTENT\]/g,super.encodeDollarAmperstandPattern(this.content))).replace(/\[ADDRESS\]/g,this._address)).includes("[TIME]")&&(w=w.replace(/\[TIME\]/g,this.detailSubtitleDate)),w.includes("[DATE_")&&(w=this.replaceDateTagsInString(w)),super.replaceTagsInString(w)}replaceDateTagsInString(w){return w&&w.replace(/\[DATE_(START|END)([1-9]|HOUR|HEURE)?\]/g,(Fe,Je,St)=>{let gt;switch(St){case"HOUR":case"HEURE":gt=this._settingsManager.getDateFormatHour();break;case"1":gt=this._settingsManager.getDateFormatTxt1();break;case"3":gt=this._settingsManager.getDateFormatTxt3();break;case"4":gt=this._settingsManager.getDateFormatTxt4();break;case"5":gt=this._settingsManager.getDateFormatTxt5();break;case"6":gt=this._settingsManager.getDateFormatTxt6();break;case"7":gt=this._settingsManager.getDateFormatTxt7();break;case"8":gt=this._settingsManager.getDateFormatTxt8();break;case"9":gt=this._settingsManager.getDateFormatTxt9();break;default:gt=this._settingsManager.getDateFormatTxt2()}let Wt="START"===Je?this._date:this._endDate;return this._allDay&&(Wt="START"===Je?this.shortDate:this.shortEndDate),this.formatDateWithformat(Wt,gt)})}formatSubtitle(w){return w=(w=w.replace(/\[AUTHOR_AVATAR\]/g,"")).replace(/\[CONTENT\]/g,""),this.replaceTagsInString(w)}isPast(){return this._allDay?this.dateTimeService.isNowAfterDate(this.dateTimeService.getEndOfDay(this.shortEndDate)):this.dateTimeService.isNowAfterDate(this.dateTimeService.createDateWithIso(this._endDate),"day")}isOngoing(){return this._allDay?!this.isPast()&&this.dateTimeService.isNowAfterDate(this.dateTimeService.getEndOfDay(this.shortSortDate)):!this.isPast()&&this.dateTimeService.isNowAfterDate(this.dateTimeService.createDateWithIso(this.sortDate),"day")}formatDateWithformat(w,Fe){const Je=this.dateTimeService.createDateWithIso(w);return this.dateTimeService.isDateValid(Je)?this.dateTimeService.formatDateWithTemplate(Je,Fe):""}updateNbComments(w){this._nbComments=w}cloneRawInstance(){return new y(this.raw,this._settingsManager,this._languagesManager,this.dateTimeService)}shortenDate(w){return w?w.replace(/(?:T.+)?$/,"").trim():null}}return(ne=y).ADDRESS="address",ne.ALLDAY="allDay",ne.CONTENT="content",ne.LATITUDE="latitude",ne.LONGITUDE="longitude",ne.THUMBNAIL="thumbnail",ne.LARGETHUMBNAIL="largeThumbnail",ne.XLARGETHUMBNAIL="xLargeThumbnail",ne.XXLARGETHUMBNAIL="xxLargeThumbnail",ne.ORIGINALTHUMBNAIL="originalThumbnail",ne.PHONENUMBER="phoneNumber",ne.URLEVENT="urlEvent",ne.SORTDATE="sortDate",ne.PINICONURL="pinIconUrl",ne.PINICONCOLOR="pinIconColor",ne.URLSHOP="urlShop",ne.EMAIL="email",ne.IMAGES="images",ne.COMMENTSENABLED="commentsEnabled",ne.COMMENTSURL="commentsUrl",ne.COMMENTSPOSTURL="commentsPostUrl",ne.CONTENTTEMPLATE="contentTemplate",ne.WEBSITE="website",ne.ISFEATURED="isFeatured",ne.SUMMARY="summary",ne.PARENT_SECTIONID="parentSectionId",y})(),a=(()=>{class y extends b.M{constructor(w,Fe,Je,St){super(w,Fe,Je,St),this._sectionTitle=w.getString(y.SECTIONTITLE,null)}get sectionTitle(){return this._sectionTitle}get metaDescription(){return""}get metaImage(){return null}get smallMetaImage(){return null}get purchaseUrl(){return null}getItemType(){return 11}commentsAvailable(){return!1}updateNbComments(w){this._nbComments=w}cloneRawInstance(){return new y(this.raw,this._settingsManager,this._languagesManager,this.dateTimeService)}}return y.SECTIONTITLE="sectionTitle",y})(),u=(()=>{var ne;class y extends b.M{constructor(w,Fe,Je,St){super(w,Fe,Je,St),this._album=w.getString(y.ALBUM,null),this._duration=w.getNumber(y.DURATION,0),this._purchaseUrl=w.getString(y.PURCHASEURL,null),this._origin=w.getString(y.ORIGIN,null),this._sectionTitle=w.getString(y.SECTIONTITLE,null),this._images=w.getJsonObject(y.IMAGES),this.isAdvertisement=w.getBoolean(y.ISADVERTISEMENT,null)}get album(){return this._album}get duration(){return this._duration}get durationString(){const w=Math.floor(this._duration/60),Fe=this._duration%60;let Je=`${w}`,St=`${Fe}`;return Fe<10&&(St=`0${Fe}`),w<10&&(Je=`0${w}`),`${Je}:${St}`}get hasPurchaseUrl(){return null!==this._purchaseUrl&&""!==this._purchaseUrl}get purchaseUrl(){return this._purchaseUrl}get origin(){return this._origin}get coverUrl(){return this._cover600}set isAdvertisement(w){this._isAd=null===w?!this.title.trim()&&!this.author.trim():w}get isAdvertisement(){return this._isAd}get metaDescription(){return this._metaDescription?this._metaDescription:""}get metaImage(){return this.coverUrl}get smallMetaImage(){return this._cover200}get sectionTitle(){return this._sectionTitle}getItemType(){return 11}commentsAvailable(){return!1}updateNbComments(w){this._nbComments=w}cloneRawInstance(){return new y(this.raw,this._settingsManager,this._languagesManager,this.dateTimeService)}get _cover100(){return this._images.getString(y.IMAGES100KEY,null)}get _cover200(){return this._images.getString(y.IMAGES200KEY,this._cover100)}get _cover400(){return this._images.getString(y.IMAGES400KEY,this._cover200)}get _cover600(){return this._images.getString(y.IMAGES600KEY,this._cover400)}}return(ne=y).ALBUM="album",ne.DURATION="duration",ne.PURCHASEURL="purchaseUrl",ne.ORIGIN="origin",ne.SECTIONTITLE="sectionTitle",ne.IMAGES="images",ne.IMAGES100KEY="artworkUrl100",ne.IMAGES200KEY="artworkUrl200",ne.IMAGES400KEY="artworkUrl400",ne.IMAGES600KEY="artworkUrl600",ne.ISADVERTISEMENT="isAdvertisement",y})(),E=(()=>{var ne;class y extends b.M{constructor(w,Fe,Je,St){super(w,Fe,Je,St),this._images=new Array,this._address=w.getString(y.ADDRESS,""),this._phoneNumber=w.getString(y.PHONENUMBER,""),this._lat=w.getNumber(y.LATITUDE,0),this._lng=w.getNumber(y.LONGITUDE,0),this._categoryLabel=w.getString(y.CATEGORYLABEL,""),this._thumbnail=w.getString(y.THUMBNAIL,""),this._smallThumbnail=w.getString(y.SMALL_THUMBNAIL,""),this._largeThumbnail=w.getString(y.LARGETHUMBNAIL,""),this._xLargeThumbnail=w.getString(y.XLARGETHUMBNAIL,""),this._xxLargeThumbnail=w.getString(y.XXLARGETHUMBNAIL,""),this._originalThumbnail=w.getString(y.ORIGINAL_THUMBNAIL,""),this._content=w.getString(y.CONTENT,""),this._website=w.getString(y.WEBSITE,""),this._mail=w.getString(y.MAIL,""),this._pinIcon=w.getString(y.PINICON,""),this._pinIconColored=w.getString(y.PINICONCOLORED,""),this._pinIconColor=w.getString(y.PINICONCOLOR,""),this._summary=w.getString(y.SUMMARY,null),this._distance=w.getNumber(y.DISTANCE,0),this._isHeadline=w.getBoolean(y.ISHEADLINE,!1),this._bannerImage=w.getString(y.BANNERIMAGE,null),this._pinIconWidth=w.getNumber(y.PINICONWIDTH,null),this._pinIconHeight=w.getNumber(y.PINICONHEIGHT,null),this._contentTemplate=w.getString(y.CONTENTTEMPLATE,null),this._commentsEnabled=w.getBoolean(y.COMMENTSENABLED,!1),this._commentsUrl=w.getString(y.COMMENTSURL,null),this._commentsPostUrl=w.getString(y.COMMENTSPOSTURL,null),this._disqusUrl=w.getString(y.DISQUS_URL,null),this._parentSectionId=w.getString(y.PARENT_SECTIONID,null),this._useThumbAsPinIcon=1===w.getNumber(y.USE_THUMB_AS_PIN_ICON,0);const gt=w.getArray(y.IMAGES);null!=gt&&gt.length>0&&gt.forEach((Wt,ft)=>{const ye=new v.sT(Wt),st=new m(ye.getString(m.ID),ye.getString(m.URL));this._images.push(st)})}get address(){return this._address}get phoneNumber(){return this._phoneNumber}get phoneNumberUrl(){return`tel:${this._phoneNumber.replace(/\\D/g,"")}`}get latitude(){return this._lat}get latitudeString(){return this._lat.toString()}get longitude(){return this._lng}get longitudeString(){return this._lng.toString()}get categoryLabel(){return this._categoryLabel}get thumbnail(){return this._thumbnail}get largeThumbnail(){return""!==this._largeThumbnail?this._largeThumbnail:this._thumbnail}get smallThumbnail(){return""!==this._smallThumbnail?this._smallThumbnail:this._thumbnail}get xLargeThumbnail(){return""!==this._xLargeThumbnail?this._xLargeThumbnail:this.largeThumbnail}get xxLargeThumbnail(){return""!==this._xxLargeThumbnail?this._xxLargeThumbnail:this.xLargeThumbnail}get originalThumbnail(){return""!==this._originalThumbnail?this._originalThumbnail:this.xxLargeThumbnail}get thumbnails(){return[this.xxLargeThumbnail,this.xLargeThumbnail,this.largeThumbnail,this.thumbnail,this.smallThumbnail]}get content(){return this._content}get formattedContent(){return this._content.replace(/\n/g,"<br />")}get website(){const w=this._website.replace(/\[WEBSITE\]/g,"");return this.replaceTagsInString(w)}get mail(){return this._mail}get mailUrl(){return`mailto:${this._mail}`}get pinIcon(){return this._pinIcon}get pinIconColored(){return this._pinIconColored}get pinIconColor(){return this._pinIconColor}get pinIconWidth(){return this._pinIconWidth}set pinIconWidth(w){this._pinIconWidth=w}get pinIconHeight(){return this._pinIconHeight}set pinIconHeight(w){this._pinIconHeight=w}get summary(){return this._summary}get distance(){return this._distance}set distance(w){this._distance=w}get isHeadline(){return this._isHeadline}get bannerImage(){return this._bannerImage}get contentTemplate(){return this._contentTemplate}set contentTemplate(w){this._contentTemplate=w}get images(){return this._images}get distanceString(){return(0,v.$Q)(this._distance)}get commentsEnabled(){return this._commentsEnabled}get commentsUrl(){return this._commentsUrl}get commentsPostUrl(){return this._commentsPostUrl}get disqusUrl(){return this._disqusUrl}get disqusPageUrl(){return this._disqusUrl||this.url}get metaImage(){return this.xxLargeThumbnail}get smallMetaImage(){return this.thumbnail}get metaDescription(){return this._metaDescription?this._metaDescription:this.summary?(0,v.ix)(this.summary,200):(0,v.ix)(this.content,200,!0)}get parentSectionId(){return this._parentSectionId}get useThumbAsPinIcon(){return this._useThumbAsPinIcon}getItemType(){return 12}replaceTagsInString(w){w=super.replaceTagsInString(w),this._isHeadline&&(w=w.replace(/\[ISHEADLINE\]/g,"")),w=(w=(w=w.replace(/\[ADDRESS\]/g,this._address)).replace(/\[PHONE\]/g,this._phoneNumber)).replace(/\[MAIL\]/g,this._mail);const Fe=/\[WEBSITE\]/g;return Fe.test(w)&&(w=w.replace(Fe,this.website)),(w=(w=(w=(w=(w=w.replace(/\[LAT\]/g,this.latitudeString)).replace(/\[LONG\]/g,this.longitudeString)).replace(/\[CONTENT\]/g,super.encodeDollarAmperstandPattern(this.formattedContent))).replace(/\[DISTANCE\]/g,this.distanceString)).replace(/\[SUMMARY\]/g,super.encodeDollarAmperstandPattern(this._summary))).replace(/\[CATEGORY\]/g,this.categoryLabel)}formatSubtitle(w){return w=(w=w.replace(/\[AUTHOR_AVATAR\]/g,"")).replace(/\[CONTENT\]/g,""),this.replaceTagsInString(w)}commentsAvailable(){return this.commentsEnabled&&""!==this.commentsUrl}updateNbComments(w){this._nbComments=w}cloneRawInstance(){return new y(this.raw,this._settingsManager,this._languagesManager,this.dateTimeService)}hasValidCoordinates(){return(0,v.dn)(this.latitude,this.longitude)}}return(ne=y).ADDRESS="address",ne.PHONENUMBER="phoneNumber",ne.CATEGORYLABEL="categoryLabel",ne.THUMBNAIL="thumbnail",ne.LARGETHUMBNAIL="largeThumbnail",ne.XLARGETHUMBNAIL="xLargeThumbnail",ne.XXLARGETHUMBNAIL="xxLargeThumbnail",ne.SMALL_THUMBNAIL="smallThumbnail",ne.ORIGINAL_THUMBNAIL="originalThumbnail",ne.CONTENT="content",ne.WEBSITE="website",ne.MAIL="email",ne.PINICON="pinIconUrl",ne.PINICONCOLORED="pinIconColoredUrl",ne.PINICONCOLOR="pinIconColor",ne.PINICONWIDTH="pinIconWidth",ne.PINICONHEIGHT="pinIconHeight",ne.SUMMARY="summary",ne.BANNERIMAGE="isFeatured",ne.DISTANCE="distance",ne.LATITUDE="latitude",ne.LONGITUDE="longitude",ne.ISHEADLINE="isHeadline",ne.IMAGES="images",ne.CONTENTTEMPLATE="contentTemplate",ne.COMMENTSENABLED="commentsEnabled",ne.COMMENTSURL="commentsUrl",ne.COMMENTSPOSTURL="commentsPostUrl",ne.DISQUS_URL="disqusUrl",ne.PARENT_SECTIONID="parentSectionId",ne.USE_THUMB_AS_PIN_ICON="useThumbAsPinIcon",y})(),T=(()=>{var ne;class y{constructor(w){this.url=w.getString(y.URL,null),this.height=w.getNumber(y.HEIGHT,null),this.width=w.getNumber(y.WIDTH,null),this.ratio=this.height/this.width,this.percentRatio=100*this.ratio+"%"}}return(ne=y).URL="url",ne.HEIGHT="height",ne.WIDTH="width",y})();var M;class B extends b.M{constructor(y,ae,w,Fe){super(y,ae,w,Fe),this._tags=new Array,this._images=new Map,this._photoUrl=y.getString(B.PHOTOURL,null),this._content=y.getString(B.CONTENT,""),this._nbLikes=y.getNumber(B.NBLIKES),this._latitude=y.getString(B.LATITUDE,null),this._longitude=y.getString(B.LONGITUDE,null),this._commentsEnabled=y.getBoolean(B.COMMENTSENABLED),this._commentsUrl=y.getString(B.COMMENTSURL,null),this._commentsPostUrl=y.getString(B.COMMENTSPOSTURL,null),this._parentSectionId=y.getString(B.PARENT_SECTIONID,null);const Je=y.getArray(B.TAGS);Je?.forEach(gt=>{this._tags.push(gt)});const St=y.getJsonObject(B.IMAGES);if(null!=St)for(const gt of B.IMAGES_TYPES){const Wt=St.getJsonObject(gt);null!=Wt&&this._images.set(gt,new T(Wt))}}get photoUrl(){return this._photoUrl}get content(){return this._content}get nbLikes(){return this._nbLikes}get latitude(){return this._latitude}get longitude(){return this._longitude}get commentsEnabled(){return this._commentsEnabled}get commentsUrl(){return this._commentsUrl}get commentsPostUrl(){return this._commentsPostUrl}get tags(){return this._tags}get images(){return this._images}get originalPhotoImage(){return this._images.get(B.IMAGEORIGINAL)||this.veryLargePhotoImage}get veryLargePhotoImage(){return this._images.get(B.IMAGEVERYLARGE)||this.photoImage}get photoImage(){return this._images.get(B.IMAGELARGE)}get pinterestPhotoImage(){return this._images.get(B.IMAGEMEDIUM)}get smallPhotoImage(){return this._images.get(B.IMAGESMALL)}get largeSquarePhotoImage(){return this._images.get(B.IMAGELARGESQUARE)}get squarePhotoImage(){return this._images.get(B.IMAGESQUARE)}get disqusPageUrl(){return this._url}get metaImage(){return this.veryLargePhotoImage.url}get smallMetaImage(){return this.photoImage.url}get metaDescription(){return this._metaDescription?this._metaDescription:(0,v.ix)(this.content,200,!0)}get parentSectionId(){return this._parentSectionId}get srcSetDescriptor(){return Array.from(this.images).map(([y,ae])=>`${ae.url} ${ae.width}w`).join(", ")}commentsAvailable(){return this.commentsEnabled&&""!==this.commentsUrl}getItemType(){return 2}replaceTagsInString(y){return y=y.replace("[CONTENT]",this.content),super.replaceTagsInString(y)}updateNbComments(y){this._nbComments=y}cloneRawInstance(){return new B(this.raw,this._settingsManager,this._languagesManager,this.dateTimeService)}}(M=B).PHOTOURL="urlPhoto",M.CONTENT="content",M.NBLIKES="likes",M.LATITUDE="latitude",M.LONGITUDE="longitude",M.COMMENTSENABLED="commentsEnabled",M.COMMENTSURL="commentsUrl",M.COMMENTSPOSTURL="commentsPostUrl",M.TAGS="tags",M.IMAGES="images",M.IMAGESMALL="small",M.IMAGEMEDIUM="medium",M.IMAGELARGE="large",M.IMAGEVERYLARGE="veryLarge",M.IMAGEORIGINAL="original",M.IMAGESQUARE="square",M.IMAGELARGESQUARE="largesquare",M.PARENT_SECTIONID="parentSectionId",M.IMAGES_TYPES=[M.IMAGESMALL,M.IMAGEMEDIUM,M.IMAGELARGE,M.IMAGEVERYLARGE,M.IMAGEORIGINAL,M.IMAGESQUARE,M.IMAGELARGESQUARE];let N=(()=>{var ne;class y extends b.M{constructor(w,Fe,Je,St){super(w,Fe,Je,St),this._images=new Array,this._commentsEnabled=w.getBoolean(y.COMMENTSENABLED),this._commentsUrl=w.getString(y.COMMENTSURL,null),this._commentsPostUrl=w.getString(y.COMMENTSPOSTURL,null),this._content=w.getString(y.CONTENT,""),this._downloadUrl=w.getString(y.DOWNLOADURL,null),this._length=w.getNumber(y.LENGTH),this._nbFavoritings=w.getNumber(y.NBFAVORITINGS),this._purchaseUrl=w.getString(y.PURCHASEURL,null),this._purchaseUrlAndroid=w.getString(y.PURCHASEURLANDROID,null),this._streamUrl=w.getString(y.STREAMURL,null),this._thumbnail=w.getString(y.THUMBNAIL,""),this._largeThumbnail=w.getString(y.LARGETHUMBNAIL,""),this._xLargeThumbnail=w.getString(y.XLARGETHUMBNAIL,""),this._xxLargeThumbnail=w.getString(y.XXLARGETHUMBNAIL,""),this._originalThumbnail=w.getString(y.ORIGINALTHUMBNAIL,""),this._smallThumbnail=w.getString(y.SMALLTHUMBNAIL,""),this._summary=w.getString(y.SUMMARY,null),this._disqusUrl=w.getString(y.DISQUSURL),this._parentSectionId=w.getString(y.PARENT_SECTIONID,null);const gt=w.getArray(y.IMAGES);null!=gt&&gt.length>0&&gt.forEach((Wt,ft)=>{const ye=new v.sT(Wt),st=new m(ye.getString(m.ID),ye.getString(m.URL));this._images.push(st)})}get isCommentsEnabled(){return this._commentsEnabled}get commentsUrl(){return this._commentsUrl}get commentsPostUrl(){return this._commentsPostUrl}get content(){return this._content}get downloadUrl(){return this._downloadUrl}get length(){return this._length}get nbFavoritings(){return this._nbFavoritings}get purchaseUrl(){return this._purchaseUrl?this.replaceTagsInString(this._purchaseUrl):this._purchaseUrl}get streamUrl(){return this._streamUrl}get smallThumbnail(){return this._smallThumbnail}get thumbnail(){return this._thumbnail}get images(){return this._images}get largeThumbnail(){return""!==this._largeThumbnail?this._largeThumbnail:this._thumbnail}get xLargeThumbnail(){return""!==this._xLargeThumbnail?this._xLargeThumbnail:this._largeThumbnail}get xxLargeThumbnail(){return""!==this._xxLargeThumbnail?this._xxLargeThumbnail:this._xLargeThumbnail}get originalThumbnail(){return""!==this._originalThumbnail?this._originalThumbnail:this.xxLargeThumbnail}get thumbnails(){return[this.xxLargeThumbnail,this.xLargeThumbnail,this.largeThumbnail,this.thumbnail,this.smallThumbnail]}get summary(){return this._summary}get disqusPageUrl(){return this._disqusUrl||this.url}get duration(){return this.dateTimeService.secondsToHms(this._length)}get metaImage(){return this.xxLargeThumbnail}get smallMetaImage(){return this.thumbnail}get metaDescription(){return this._metaDescription?this._metaDescription:this.summary?(0,v.ix)(this.summary,200):(0,v.ix)(this.content,200,!0)}get parentSectionId(){return this._parentSectionId}getItemType(){return 3}replaceTagsInString(w){return w=(w=(w=w.replace(/\[CONTENT\]/g,super.encodeDollarAmperstandPattern(this.content))).replace(/\[SUMMARY\]/g,super.encodeDollarAmperstandPattern(this.summary))).replace(/\[DURATION\]/g,this.duration),super.replaceTagsInString(w)}formatSubtitle(w){return w=(w=w.replace(/\[AUTHOR_AVATAR\]/g,"")).replace(/\[CONTENT\]/g,""),this.replaceTagsInString(w)}commentsAvailable(){return this.isCommentsEnabled&&""!==this.commentsUrl}updateNbComments(w){this._nbComments=w}cloneRawInstance(){return new y(this.raw,this._settingsManager,this._languagesManager,this.dateTimeService)}}return(ne=y).COMMENTSENABLED="commentsEnabled",ne.COMMENTSURL="commentsUrl",ne.COMMENTSPOSTURL="commentsPostUrl",ne.CONTENT="content",ne.DOWNLOADURL="downloadUrl",ne.LENGTH="length",ne.NBFAVORITINGS="ngFavoritings",ne.PURCHASEURL="purchaseUrl",ne.PURCHASEURLANDROID="purchaseUrlAndroid",ne.STREAMURL="streamUrl",ne.THUMBNAIL="thumbnail",ne.LARGETHUMBNAIL="largeThumbnail",ne.XLARGETHUMBNAIL="xLargeThumbnail",ne.XXLARGETHUMBNAIL="xxLargeThumbnail",ne.ORIGINALTHUMBNAIL="originalThumbnail",ne.SMALLTHUMBNAIL="smallThumbnail",ne.SUMMARY="summary",ne.IMAGES="images",ne.DISQUSURL="disqusUrl",ne.PARENT_SECTIONID="parentSectionId",y})(),W=(()=>{var ne;class y extends b.M{constructor(w,Fe,Je,St){super(w,Fe,Je,St),this._commentsEnabled=w.getBoolean(y.COMMENTSENABLED),this._commentsUrl=w.getString(y.COMMENTSURL,null),this._commentsPostUrl=w.getString(y.COMMENTSPOSTURL,null),this._content=w.getString(y.CONTENT,""),this._nbFavoritings=w.getNumber(y.NBFAVORITINGS),this._purchaseUrl=w.getString(y.PURCHASEURL,null),this._streamUrl=w.getString(y.STREAMURL,null),this._thumbnail=w.getString(y.THUMBNAIL,""),this._largeThumbnail=w.getString(y.LARGETHUMBNAIL,""),this._xLargeThumbnail=w.getString(y.XLARGETHUMBNAIL,""),this._xxLargeThumbnail=w.getString(y.XXLARGETHUMBNAIL,""),this._smallThumbnail=w.getString(y.SMALLTHUMBNAIL,""),this._image=w.getString(y.IMAGE,null),this._cover100=w.getString(y.COVER100,null),this._cover300=w.getString(y.COVER300,null),this._cover500=w.getString(y.COVER500,null),this._coverOriginal=w.getString(y.COVERORIGINAL,null),this._duration=w.getNumber(y.DURATION),this._genre=w.getString(y.GENRE,null),this._label=w.getString(y.LABEL,null),this._playbackCount=w.getNumber(y.PLAYBACKCOUNT)}get isCommentsEnabled(){return this._commentsEnabled}get commentsUrl(){return this._commentsUrl}get commentsPostUrl(){return this._commentsPostUrl}get content(){return this._content}get nbFavoritings(){return this._nbFavoritings}get purchaseUrl(){return this._purchaseUrl}get streamUrl(){return this._streamUrl}get smallThumbnail(){return this._smallThumbnail}get thumbnail(){return this._thumbnail}get largeThumbnail(){return""!==this._largeThumbnail?this._largeThumbnail:this._thumbnail}get xLargeThumbnail(){return""!==this._xLargeThumbnail?this._xLargeThumbnail:this._largeThumbnail}get xxLargeThumbnail(){return""!==this._xxLargeThumbnail?this._xxLargeThumbnail:this._xLargeThumbnail}get thumbnails(){return[this.xxLargeThumbnail,this.xLargeThumbnail,this.largeThumbnail,this.thumbnail,this.smallThumbnail]}get image(){return this._image}get cover100(){return this._cover100}get cover300(){return this._cover300}get cover500(){return this._cover500}get coverOriginal(){return this._coverOriginal}get duration(){return this._duration}get genre(){return this._genre}get label(){return this._label}get playbackCount(){return this._playbackCount}get durationString(){return this.dateTimeService.secondsToHms(Math.floor(this._duration/1e3))}get disqusPageUrl(){return this._url}get metaImage(){return this.xxLargeThumbnail}get smallMetaImage(){return this.thumbnail}get metaDescription(){return this._metaDescription?this._metaDescription:(0,v.ix)(this.content,200,!0)}get length(){return 0}formatSubtitle(w){return w=(w=w.replace(/\[AUTHOR_AVATAR\]/g,"")).replace(/\[CONTENT\]/g,""),this.replaceTagsInString(w)}getItemType(){return 9}replaceTagsInString(w){return w=w.replace(/\[CONTENT\]/g,super.encodeDollarAmperstandPattern(this.content)),super.replaceTagsInString(w)}commentsAvailable(){return this.isCommentsEnabled&&""!==this.commentsUrl}updateNbComments(w){this._nbComments=w}cloneRawInstance(){return new y(this.raw,this._settingsManager,this._languagesManager,this.dateTimeService)}}return(ne=y).COMMENTSENABLED="commentsEnabled",ne.COMMENTSURL="commentsUrl",ne.COMMENTSPOSTURL="commentsPostUrl",ne.CONTENT="content",ne.NBFAVORITINGS="nbFavoritings",ne.PURCHASEURL="purchaseUrl",ne.STREAMURL="streamUrl",ne.THUMBNAIL="thumbnail",ne.LARGETHUMBNAIL="largeThumbnail",ne.XLARGETHUMBNAIL="xLargeThumbnail",ne.XXLARGETHUMBNAIL="xxLargeThumbnail",ne.SMALLTHUMBNAIL="smallThumbnail",ne.IMAGE="image",ne.COVER100="cover100",ne.COVER300="cover300",ne.COVER500="cover500",ne.COVERORIGINAL="coverOriginal",ne.DURATION="duration",ne.GENRE="genre",ne.LABEL="label",ne.PLAYBACKCOUNT="playbackCount",y})(),A=(()=>{var ne;class y{constructor(w){this.id=w.getString(y.ID),this.type=w.getString(y.TYPE),this.subtype=w.getString(y.SUBTYPE)}}return(ne=y).ID="id",ne.TYPE="type",ne.SUBTYPE="subtype",y})(),X=(()=>{var ne;class y extends A{constructor(w){super(w),this.title=w.getString(y.TITLE,null),this.url=w.getString(y.URL,null),this.author=w.getString(y.AUTHOR,null),this.content=w.getString(y.CONTENT,null),this.cover=w.getString(y.COVER,null),this.thumbnail=w.getString(y.THUMBNAIL,null),this.nbLikes=w.getNumber(y.NBLIKES),this.nbTracks=w.getNumber(y.NBTRACKS)}}return(ne=y).TITLE="title",ne.URL="url",ne.AUTHOR="author",ne.CONTENT="content",ne.COVER="cover",ne.NBLIKES="nbLikes",ne.NBTRACKS="nbTracks",ne.THUMBNAIL="thumbnail",y})();class U{constructor(y,ae,w){this._name=y,this._streamUrl=ae,w&&(this.songModel=w,this.songArtist=w.author,this._id=w.id||null,this._unformattedId=w.unformattedId||null,this._purchaseUrl=w.purchaseUrl||null,this.setImageUrl(),this.setShareUrl(),this.setCommentsUrl(),this.setCommentsPostUrl())}get id(){return this._id}get unformattedId(){return this._unformattedId}get name(){return this._name}get streamUrl(){return this._streamUrl}set songArtist(y){this._artist=null,this.songModel instanceof u&&(this._artist=y)}get artist(){return this._artist}get imageUrl(){return this._imageUrl}get purchaseUrl(){return this._purchaseUrl}get shareUrl(){return this._shareUrl}get commentsUrl(){return this._commentsUrl}get commentsPostUrl(){return this._commentsPostUrl}get isLiveAudio(){return!this.songModel}setImageUrl(){let y=null;y=this.songModel instanceof u?this.songModel.coverUrl:this.songModel.largeThumbnail,this._imageUrl=y}setCommentsUrl(){let y=null;this.songModel instanceof u||(y=this.songModel.commentsUrl),this._commentsUrl=y}setCommentsPostUrl(){let y=null;this.songModel instanceof u||(y=this.songModel.commentsUrl),this._commentsPostUrl=y}setShareUrl(){let y=null;this.songModel instanceof u||(y=this.songModel.url),this._shareUrl=y}}let O=(()=>{var ne;class y extends b.M{constructor(w,Fe,Je,St){super(w,Fe,Je,St),this._authorAccount=w.getString(y.AUTHORACCOUNT),this._content=w.getString(y.CONTENT),this._formattedDate=this.getAgoString(),this._linkEntites=w.getArray(y.LINKENTITES),this._photoMedia=w.getArray(y.PHOTOMEDIA),this._thumbnail=w.getString(y.THUMBNAIL),this._thumbnailLarge=w.getString(y.THUMBNAIL_LARGE),this.formattedContent=w.getString(y.CONTENT),this._videos=w.getArray(y.VIDEOMEDIA),this._gifs=w.getArray(y.GIFMEDIA)}getItemType(){return 5}commentsAvailable(){return!1}get authorAccount(){return this._authorAccount}get content(){return this._content}get formattedDate(){return this._formattedDate}set formattedContent(w){let Fe=w;Fe=Fe.replace(/(http[^ ]*)/gi,St=>{const gt=this.linkEntites.find(Wt=>Wt.shortUrl===St);return gt?`<a target="_blank" href="${gt.url}">${gt.beautyUrl}</a>`:`<a target="_blank" href="${St}">${St}</a>`}),Fe=Fe.replace(/@([a-z0-9-_]+)/gi,'<a target="_blank" href="https://twitter.com/$1">@$1</a>'),Fe=Fe.replace(/#([a-z0-9]+)/gi,'<a target="_blank" href="https://twitter.com/hashtag/$1">#$1</a>'),this._formattedContent=Fe}get formattedContent(){return this._formattedContent}get linkEntites(){return this._linkEntites}get photoUrl(){return this._photoMedia[0]}get thumbnail(){return this._thumbnail}get thumbnailLarge(){return this._thumbnailLarge}get url(){return this._url}get hasVideos(){return this._videos.length>0}get videos(){return this._videos}get hasGifs(){return this._gifs.length>0}get gifs(){return this._gifs}get hasMedia(){return this.hasVideos||this.hasGifs}get slug(){return this._slugTitle?this._slugTitle:v.fz.rewrite(null===this._content?"":this._content)}get metaImage(){return this.thumbnailLarge}get smallMetaImage(){return this.thumbnail}get metaDescription(){return this._metaDescription?this._metaDescription:(0,v.ix)(this.content,200,!0)}updateNbComments(w){}cloneRawInstance(){return new y(this.raw,this._settingsManager,this._languagesManager,this.dateTimeService)}}return(ne=y).AUTHORACCOUNT="authorAccount",ne.CONTENT="content",ne.LINKENTITES="linkEntites",ne.PHOTOMEDIA="photo_media",ne.THUMBNAIL="thumbnail",ne.THUMBNAIL_LARGE="thumbnailLarge",ne.VIDEOMEDIA="video_media",ne.GIFMEDIA="gif_media",y})(),k=(()=>{var ne;class y extends A{constructor(w){super(w),this.bannerImage=w.getString(y.BANNERIMAGE),this.bannerImageLarge=w.getString(y.BANNERIMAGE_LARGE),this.bannerImageSmall=w.getString(y.BANNERIMAGE_SMALL),this.bio=w.getString(y.BIO),this.fullName=w.getString(y.FULLNAME),this.nbFollowers=w.getNumber(y.NBFOLLOWERS),this.nbFollowings=w.getNumber(y.NBFOLLOWINGS),this.nbTweets=w.getNumber(y.NBTWEETS),this.screenName=w.getString(y.SCREENNAME),this.thumbnail=w.getString(y.THUMBNAIL),this.thumbnailLarge=w.getString(y.THUMBNAIL_LARGE)}get accountUrl(){return"https://twitter.com/"+this.screenName}}return(ne=y).BANNERIMAGE="bannerImage",ne.BANNERIMAGE_LARGE="bannerImageLarge",ne.BANNERIMAGE_SMALL="BannerImageSmall",ne.BIO="bio",ne.FULLNAME="fullname",ne.NBFOLLOWERS="nbFollowers",ne.NBFOLLOWINGS="nbFollowings",ne.NBTWEETS="nbTweets",ne.SCREENNAME="screen_name",ne.THUMBNAIL="thumbnail",ne.THUMBNAIL_LARGE="thumbnailLarge",y})();var I=r(24257);let F=(()=>{var ne;class y extends b.M{constructor(w,Fe,Je,St){super(w,Fe,Je,St),this._latitude=0,this._longitude=0,this._location="",this._authorization=new Map,this._groups=new Set,this._internAttribs=new Map,this._internAttribsAsObjectDictionary={},this._socialAccounts=new Map,this._socialAccountsAsDictionary={},this._jsonUser=w,this._type="user",this._unformattedId=w.getString(y.USERID),this._unformattedId&&(this._id=`${this._type}${this._unformattedId}`),this._age=w.getNumber(y.AGE),this._email=w.getString(y.EMAIL,null),this._etat=w.getString(y.ETAT),this._gender=w.getString(y.GENDER),this._hasPasswd=w.getBoolean(y.HASPASSWD,!1),this._language=w.getString(y.LANGUAGE,null),this._location=w.getString(y.LOCATION,null),this._login=w.getString(y.LOGIN,null),this._name=w.getString(y.NAME),this._nbFacebook=w.getNumber(y.NBFACEBOOK),this._nbShare=w.getNumber(y.NBSHARE),this._nbTwitter=w.getNumber(y.NBTWITTER),this._platform=w.getString(y.PLATFORM),this._udid=w.getString(y.UDID),this._urlPhoto=w.getString(y.URLPHOTO),this._urlProfil=w.getString(y.URLPROFIL,null),this.distance=w.getNumber(y.DISTANCE,-1),this._pwd=w.getString(y.PWD),this._loginToken=w.getString(y.LOGIN_TOKEN,null);const gt=w.getArray(y.GROUPS);gt&&gt.filter(ye=>null!=ye&&""!==ye).map(ye=>this._groups.add(ye));const Wt=w.getJsonObject(y.ATTRIBS);Wt&&(this._description=Wt.getString(y.DESCRIPTION)),this._retrieveAttribs(w.getJsonObject(y.ATTRIBS));const ft=w.getJsonObject(y.AUTHORIZATION);if(ft)for(const ye in ft.object)this._authorization.set(ye,ft.object[ye])}get age(){return this._age}get displayName(){return this._displayName}get description(){return this._description}get email(){return this._email}get etat(){return this._etat}get gender(){return this._gender}get latitude(){return this._latitude}get longitude(){return this._longitude}get hasPasswd(){return this._hasPasswd}get language(){return this._language}get location(){return this._location}get login(){return this._login}get name(){return this._name}get needUpdate(){return this._needUpdate}get nbShare(){return this._nbShare}get nbFacebook(){return this._nbFacebook}get nbTwitter(){return this._nbTwitter}get platform(){return this._platform}get udid(){return this._udid}get urlPhoto(){return this._urlPhoto}set urlPhoto(w){this._jsonUser.setString(y.URLPHOTO,w),this._urlPhoto=w}get urlProfil(){return this._urlProfil}get allowContact(){return this._allowContact}get socialAccounts(){return this._socialAccounts}get socialAccountsAsDictionary(){return this._socialAccountsAsDictionary}get internAttribs(){return this._internAttribs}get internAttribsAsObjectDictionary(){return this._internAttribsAsObjectDictionary}get groupsAsArray(){return Array.from(this._groups)}get distanceAsString(){if(this.distance>0){if((0,v.t)()){const w=(0,v.n1)(this.distance);return w<100?Math.round(10*w)/10+" miles":Math.round(w)+" miles"}return this.distance<1?Math.round(1e3*this.distance)+" m":this.distance<10?Math.round(10*this.distance)/10+" km":Math.round(this.distance)+" km"}return"0 "+((0,v.t)()?"miles":"m")}set pwd(w){typeof window<"u"&&r.e(2046).then(r.bind(r,2046)).then(Fe=>Fe.JSEncrypt).then(Fe=>new Fe).then(Fe=>{Fe.setPublicKey((0,I.dU)().passwordRsaPublicKey);const Je=Fe.encrypt(w);Je&&(this.encryptedPassword=Je)})}get pwd(){return this._pwd}set encryptedPassword(w){this._pwd=w,this._jsonUser.setString(y.PWD,this._pwd)}get jsonUser(){return this._jsonUser.object}get slug(){return v.fz.rewrite(this.name)}get metaImage(){return this.urlPhoto}get smallMetaImage(){return this.urlPhoto}get metaDescription(){return this._metaDescription?this._metaDescription:this.displayName}get isAppleLogin(){return/^apple_/.test(this._login)}get loginToken(){return this._loginToken}set loginToken(w){this._jsonUser.setString(y.LOGIN_TOKEN,w),this._loginToken=w}getItemType(){return 13}getInternAttribByKey(w){return this._internAttribs?this._internAttribs.get(w):null}hasAuthorizationForSection(w){if("GBModuleTypeProfile"===this._settingsManager.getSectionsType(w))return!0;if(this._authorization.size>0){const Fe=this._authorization.get(w);if(Fe&&"0"===Fe)return!1}return!0}replaceTagsInString(w){return w=(w=(w=(w=(w=(w=(w=w.replace(/\[LOCATION\]/g,this.location)).replace(/\[LOGIN\]/g,this.login)).replace(/\[MAIL\]/g,this.email)).replace(/\[DISPLAYNAME\]/g,this.displayName)).replace(/\[NAME\]/g,this.name)).replace(/\[DESCRIPTION\]/g,this.description)).replace(/\[LANG\]/g,this.language),super.replaceTagsInString(w)}commentsAvailable(){return!1}updateNbComments(w){}cloneRawInstance(){return new y(this.raw,this._settingsManager,this._languagesManager,this.dateTimeService)}toToolkitFormat(){return{id:this.unformattedId,api_version:1,login:this.login,email:this.email,username:this.displayName,picture_url:this.urlPhoto,description:this.description,location:this.location,coordinates:{latitude:this.latitude,longitude:this.longitude},social_accounts:this.socialAccountsAsDictionary,custom_attribs:this.internAttribsAsObjectDictionary,groups:this.groupsAsArray}}_retrieveAttribs(w){if(w){this._displayName=w.getString(y.DISPLAY_NAME),this._description=w.getString(y.DESCRIPTION),this._language=w.getString(y.LANGUAGE),this._location=w.getString(y.LOCATION,""),this._allowContact=!!Number(w.getString(y.ALLOW_CONTACT,"1")),this._needUpdate=w.getBoolean(y.NEED_UPDATE);const Fe=w.getString(y.GEOLOC);if(Fe&&""!==Fe){const Je=Fe.split(",");2===Je.length&&(this._latitude=parseFloat(Je[0]),this._longitude=parseFloat(Je[1]))}this._retrieveInternAttribs(w),this._retrieveSocialAccounts(w),this.setMissingValuesFromFacebookAttribs(w)}}setMissingValuesFromFacebookAttribs(w){const Fe=w.getJsonObject(y.ATTRIBS_FACEBOOK);Fe&&(this._email||(this._email=Fe.getString(y.EMAIL,null)))}_retrieveSocialAccounts(w){const Fe=w.getJsonObject(y.SOCIAL_ACCOUNTS_URL);if(Fe)for(const Je in Fe.object)this._socialAccounts.set(Je,Fe.object[Je]),Je&&Fe.object[Je]&&(this._socialAccountsAsDictionary[Je]=Fe.object[Je])}_retrieveInternAttribs(w){const Fe=w.getJsonObject(y.INTERN);if(Fe)for(const Je in Fe.object){const St=Fe.getJsonObject(Je);if(St){const gt=St.getString(y.VALUE),Wt=St.getString(y.NAME);null!=gt&&this._internAttribs.set(Je,St.getString(y.VALUE,"")),null!=gt&&null!=Wt&&(this._internAttribsAsObjectDictionary[Je]={name:Wt,value:gt})}}}}return(ne=y).AGE="age",ne.ATTRIBS="attribs",ne.EMAIL="email",ne.ETAT="etat",ne.GENDER="gender",ne.GROUPS="groups",ne.GEOLOC="geoloc",ne.HASPASSWD="hasPasswd",ne.LANGUAGE="lg",ne.LOGIN="login",ne.NAME="name",ne.NBFACEBOOK="nbFacebook",ne.NBSHARE="nbShare",ne.NBTWITTER="nbTwitter",ne.PLATFORM="platform",ne.UDID="udid",ne.URLPHOTO="urlPhoto",ne.URLPROFIL="urlProfil",ne.USERID="userId",ne.DISTANCE="distance",ne.ALLOW_CONTACT="allowContact",ne.AUTHORIZATION="authorization",ne.NEED_UPDATE="needUpdate",ne.PWD="pwd",ne.LOGIN_TOKEN="loginToken",ne.DESCRIPTION="description",ne.INTERN="intern",ne.DISPLAY_NAME="displayName",ne.LOCATION="location",ne.SOCIAL_ACCOUNTS_URL="socialAccountsUrl",ne.VALUE="value",ne.ATTRIBS_FACEBOOK="facebook",y})(),P=(()=>{var ne;class y extends b.M{constructor(w,Fe,Je,St){super(w,Fe,Je,St),this._images=new Array,this._commentsEnabled=w.getBoolean(y.COMMENTSENABLED),this._commentsUrl=w.getString(y.COMMENTSURL,null),this._commentsPostUrl=w.getString(y.COMMENTSPOSTURL,null),this._content=w.getString(y.CONTENT,""),this._length=w.getNumber(y.LENGTH),this._nbRatings=w.getNumber(y.NBRATINGS),this._nbViews=w.getNumber(y.NBVIEWS),this._nbLikes=w.getNumber(y.NBLIKES),this._rating=w.getNumber(y.RATING),this._thumbnail=w.getString(y.THUMBNAIL,""),this._largeThumbnail=w.getString(y.LARGETHUMBNAIL,""),this._smallThumbnail=w.getString(y.SMALLTHUMBNAIL,""),this._xLargeThumbnail=w.getString(y.XLARGETHUMBNAIL,""),this._xxLargeThumbnail=w.getString(y.XXLARGETHUMBNAIL,""),this._originalThumbnail=w.getString(y.ORIGINALTHUMBNAIL,""),this._image=w.getString(y.IMAGE,null),this._videoUrl=w.getString(y.VIDEOURL,null),this._downloadUrl=w.getString(y.DOWNLOADURL,null),this._disqusUrl=w.getString(y.DISQUSURL),this._contentTemplate=w.getString(y.CONTENTTEMPLATE,null),this._summary=w.getString(y.SUMMARY,""),""!==this._summary&&this._summary.replace(/\\s+/g," "),this._parentSectionId=w.getString(y.PARENT_SECTIONID,null);const gt=w.getJsonObject(y.VIDEOURLS);null!==gt&&(this._videoTag=gt.getString(y.VIDEO_TAG,null),this._videoUrlEmbed=gt.getString(y.VIDEOURLS_EMBED,null),this._videoUrlEmbedHtml=gt.getString(y.VIDEOURLS_EMBEDHTML,null),this._videoUrlMp4=gt.getString(y.VIDEOURLS_MP4,null),this._videoUrlM3u8=gt.getString(y.VIDEOURLS_M3U8,null));const Wt=w.getArray(y.IMAGES);null!==Wt&&Wt.length>0&&Wt.forEach((ft,ye)=>{const st=new v.sT(ft),we=new m(st.getString(m.ID),st.getString(m.URL));this._images.push(we)})}get commentsEnabled(){return this._commentsEnabled}get commentsUrl(){return this._commentsUrl}get commentsPostUrl(){return this._commentsPostUrl}get content(){return this._content.replace(/(?:\r\n|\r|\n)/g,"<br/>")}get length(){return this._length}get nbRatings(){return this._nbRatings}get nbLikes(){return this._nbLikes}get nbViews(){return this._nbViews}get rating(){return this._rating}get thumbnail(){return this._thumbnail}get largeThumbnail(){return""!==this._largeThumbnail?this._largeThumbnail:this.thumbnail}get xLargeThumbnail(){return""!==this._xLargeThumbnail?this._xLargeThumbnail:this.largeThumbnail}get xxLargeThumbnail(){return""!==this._xxLargeThumbnail?this._xxLargeThumbnail:this.xLargeThumbnail}get smallThumbnail(){return this._smallThumbnail}get originalThumbnail(){return""!==this._originalThumbnail?this._originalThumbnail:this.xxLargeThumbnail}get thumbnails(){return[this.xxLargeThumbnail,this.xLargeThumbnail,this.largeThumbnail,this.thumbnail,this._smallThumbnail]}get image(){return this._image}get images(){return this._images}get contentTemplate(){return this._contentTemplate}set contentTemplate(w){this._contentTemplate=w}get downloadUrl(){return this._downloadUrl}get videoUrl(){return this._videoUrl}get videoUrlEmbed(){return this._videoUrlEmbed}get videoUrlEmbedHtml(){return this._videoUrlEmbedHtml}get videoUrlMp4(){return this._videoUrlMp4}get videoUrlM3u8(){return this._videoUrlM3u8}get disqusUrl(){return this._disqusUrl}get disqusPageUrl(){return this.disqusUrl||this.url}get duration(){if(0===this._length)return"";{let w="";const Fe=Math.floor(this._length/3600),Je=this._length%3600,St=Math.floor(Je/60),gt=Je%60;let Wt=this._languagesManager.getString("DATE_HOURS");1===Fe&&(Wt=this._languagesManager.getString("DATE_HOUR")),Fe>=1&&(w+=`${Fe} ${Wt}`);let ft=this._languagesManager.getString("DATE_MINS");1===St&&(ft=this._languagesManager.getString("DATE_MIN")),St>=1&&(w+=` ${St} ${ft}`);let ye=this._languagesManager.getString("DATE_SECS");return 1===gt&&(ye=this._languagesManager.getString("DATE_SEC")),gt>=1&&(w+=` ${gt} ${ye}`),w.trim()}}get shortDuration(){return this.dateTimeService.secondsToHms(this._length)}get summary(){return this._summary}get viewsCount(){return this._nbViews>1?this._languagesManager.getString("GB_TXT_31").replace(/\[X\]/g,this._nbViews.toString()):1===this._nbViews?this._languagesManager.getString("GB_TXT_32").replace(/\[X\]/g,this._nbViews.toString()):""}get metaImage(){return this.xxLargeThumbnail}get smallMetaImage(){return this.thumbnail}get metaDescription(){return this._metaDescription?this._metaDescription:this.summary?(0,v.ix)(this.summary,200):(0,v.ix)(this.content,200,!0)}get parentSectionId(){return this._parentSectionId}get linkedDataRepresentation(){return{"@context":"https://schema.org","@type":"VideoObject",name:this.title,uploadDate:this.date,thumbnailUrl:this.largeThumbnail,description:this.summary,embedUrl:this.videoUrlEmbed,contentUrl:this.videoUrlMp4,duration:`PT${this._length}S`,interactionStatistic:{"@type":"InteractionCounter",interactionType:{"@type":"WatchAction"},userInteractionCount:this.nbViews}}}getTitle(w=!1){return w?this.title.toUpperCase():this.title}getItemType(){return 1}replaceTagsInString(w){return(w=(w=(w=(w=(w=(w=super.replaceTagsInString(w)).replace(/\[DURATION\]/g,this.shortDuration)).replace(/\[LONG_DURATION\]/g,this.duration)).replace(/\[VIEWS\]/g,this.viewsCount)).replace(/\[CONTENT\]/g,super.encodeDollarAmperstandPattern(this.content))).replace(/\[URL_ITEM\]/g,this.url)).replace(/\[SUMMARY\]/g,super.encodeDollarAmperstandPattern(this.summary))}formatVideoTags(w,Fe){w=this.replaceTagsInString(w);let Je="";return!this.isFullVersion&&this._largeThumbnail?Je=`\n                <div class="video-wrapper">\n                    <img class="poster" src="${this._largeThumbnail}" />\n                </div>\n\t\t\t`:Fe&&this._videoTag?Je=this._videoTag:this._videoUrlEmbedHtml?Je=this._videoUrlEmbedHtml:this._videoUrlMp4?Je=`\n\t\t\t<div class="video-wrapper">\n\t\t\t\t<video width="100%" height="auto" controls="controls" poster="${this._largeThumbnail}">\n\t\t\t\t\t<source src="${this._videoUrlMp4}" type="video/mp4" />\n\t\t\t\t</video>\n\t\t\t</div>\n\t\t\t`:this._videoUrlEmbed&&(Je=`\n\t\t\t<iframe class="wmvid" src="${this._videoUrlEmbed}" frameborder="0" allowFullScreen></iframe>\n\t\t\t`),w.replace(/\[EMBEDHTML\]/g,Je)}formatSubtitle(w){return w=(w=w.replace(/\[AUTHOR_AVATAR\]/g,"")).replace(/\[CONTENT\]/g,""),this.replaceTagsInString(w)}commentsAvailable(){return this.commentsEnabled&&""!==this.commentsUrl}updateNbComments(w){this._nbComments=w}cloneRawInstance(){return new y(this.raw,this._settingsManager,this._languagesManager,this.dateTimeService)}}return(ne=y).SUBTYPE="subType",ne.COMMENTSENABLED="commentsEnabled",ne.COMMENTSURL="commentsUrl",ne.COMMENTSPOSTURL="commentsPostUrl",ne.CONTENT="content",ne.LENGTH="length",ne.NBRATINGS="nbRatings",ne.NBVIEWS="nbViews",ne.NBLIKES="nbLikes",ne.RATING="rating",ne.THUMBNAIL="thumbnail",ne.LARGETHUMBNAIL="largeThumbnail",ne.XLARGETHUMBNAIL="xLargeThumbnail",ne.XXLARGETHUMBNAIL="xxLargeThumbnail",ne.SMALLTHUMBNAIL="smallThumbnail",ne.ORIGINALTHUMBNAIL="originalThumbnail",ne.IMAGE="image",ne.DOWNLOADURL="downloadUrl",ne.CONTENTTEMPLATE="contentTemplate",ne.IMAGES="images",ne.DISQUSURL="disqusUrl",ne.VIDEOURL="videoUrl",ne.VIDEOURLS="videoUrls",ne.VIDEOURLS_EMBED="embed",ne.VIDEOURLS_EMBEDHTML="embedHTML",ne.VIDEOURLS_MP4="mp4",ne.VIDEOURLS_M3U8="m3u8",ne.VIDEO_TAG="videoTag",ne.SUMMARY="summary",ne.PARENT_SECTIONID="parentSectionId",y})(),H=(()=>{class y extends b.M{constructor(w,Fe,Je,St){super(w,Fe,Je,St),this._setCommentSubtype(),this._content=w.getString(y.CONTENT,null)}get content(){return this._content}get commentSubtype(){return this._commentSubtype}get metaDescription(){return""}get metaImage(){return""}get smallMetaImage(){return""}getItemType(){return 6}commentsAvailable(){return!1}updateNbComments(w){}cloneRawInstance(){return new y(this.raw,this._settingsManager,this._languagesManager,this.dateTimeService)}_setCommentSubtype(){this._commentSubtype=this._settingsManager.getCommentTypeWithString(this._subtype)}}return y.CONTENT="content",y})();class ${constructor(y,ae){this.coupons=y,this.nextPage=ae}}let J=(()=>{var ne;class y{constructor(w,Fe,Je){this._settingsManager=Fe,this.dateTimeService=Je,this.address=w.getString("address"),this.categories=w.getArray("categories"),this.customersNbUses=w.getNumber("customer_nb_uses"),this.description=w.getString("description"),this.distance=w.getNumber("distance"),this.id=w.getNumber("id"),this.images=w.getArray("images"),this.lastRedeemDate=w.getString("last_redeem_date"),this.nbUses=w.getNumber("nb_uses"),this.photo=w.getString("photo"),this.promoCodeLabel=w.getString("promo_code_label"),this.redeemButton=w.getBoolean("redeem_button"),this.redeemButtonLabel=w.getString("redeem_button_label"),this.shopName=w.getString("shop_name"),this.state=w.getNumber("state"),this.subtitle=w.getString("subtitle"),this.thumbnail=w.getString("thumbnail"),this.title=w.getString("title"),this.setValidationProcessMode(w.getString("validation_processmode")),this.validityEnd=w.getString("validity_end"),this.validityStart=w.getString("validity_start"),this.useLocalTime=w.getBoolean("use_local_time"),this.slugTitle=w.getString("slug");const St=w.getJsonObject("location");St&&(this.latitude=St.getNumber("lat"),this.longitude=St.getNumber("lng"));const gt=w.getNumber("max_uses_by_user");this.maxUsesByUser=gt>0?gt:1/0;const Wt=w.getNumber("max_uses_global");this.maxUsesGlobal=Wt>0?Wt:1/0,this.setRemainingUsesByUser(),this.remainingUsesTotal=this.maxUsesGlobal-this.nbUses;const ft=w.getJsonObject("meta");ft&&(this._metaTitle=ft.getString("title",null),this._metaDescription=ft.getString("description",null)),this.setValidity()}get remainingUsesByUser(){return this._remainingUsesPerUser}get unformattedId(){return this.id.toString()}get validationProcessMode(){return this._validationProcessMode}get distanceString(){return(0,v.$Q)(this.distance/1e3)}get isAvailable(){return this.remainingUsesByUser>0}get slug(){return this.slugTitle?this.slugTitle:v.fz.rewrite(this.title)}get metaDescription(){return this._metaDescription?this._metaDescription:(0,v.ix)(this.description,200)}get metaTitle(){return this._metaTitle?this._metaTitle:this.title}get metaImage(){return this.thumbnail}get smallMetaImage(){return this.thumbnail}get isValid(){return this.valid}replaceTagsInString(w){const Fe=this._settingsManager.getDateFormatTxt2();let Je="",St="";Je=this.useLocalTime?this.dateTimeService.formatUTCWithTimezone(this.validityStart,Fe):this.dateTimeService.formatDateWithTemplate(this.dateTimeService.createDateWithIso(this.validityStart),Fe),w=(w=(w=(w=(w=(w=(w=(w=w.replace(y.TOKEN_TITLE,this.title)).replace(y.TOKEN_DATE_START,Je)).replace(y.TOKEN_ADDRESS,this.address)).replace(y.TOKEN_SUBTITLE,this.subtitle)).replace(y.TOKEN_PROMOCODE,this.promoCodeLabel)).replace(y.TOKEN_SHOPNAME,this.shopName)).replace(y.TOKEN_REDEEM,this.redeemButtonLabel)).replace(y.TOKEN_DISTANCE,this.distanceString),this.validityEnd?(St=this.useLocalTime?this.dateTimeService.formatUTCWithTimezone(this.validityEnd,Fe):this.dateTimeService.formatDateWithTemplate(this.dateTimeService.createDateWithIso(this.validityEnd),Fe),w=w.replace(y.TOKEN_DATE_END,St)):w=w.replace(y.TOKEN_DATE_END,""),Number.isFinite(this.remainingUsesTotal)?w=w.replace(y.TOKEN_NUM_OFFERS_TOTAL,this.remainingUsesTotal.toString()):y.TOKEN_NUM_OFFERS_TOTAL.exec(w)&&(w=""),Number.isFinite(this.remainingUsesByUser)?w=w.replace(y.TOKEN_NUM_OFFERS,this.remainingUsesByUser.toString()):y.TOKEN_NUM_OFFERS.exec(w)&&(w="");let gt="";return""!==this.lastRedeemDate&&(gt=this.dateTimeService.formatDateWithTemplate(this.dateTimeService.createDateWithIso(this.lastRedeemDate),Fe)),w.replace(y.TOKEN_DATE_REDEEM,gt)}replaceTitleForActionScreen(w){return w.replace(y.TOKEN_TITLE,`<br>${this.title}<br>`)}setValidationProcessMode(w){let Fe;switch(w){case"redeem":default:Fe=h.VM.Redeem;break;case"code":Fe=h.VM.Code}this._validationProcessMode=Fe}setRemainingUsesByUser(){if(this.validationProcessMode===h.VM.Code)return void(this._remainingUsesPerUser=1/0);let w=0;w=this.maxUsesByUser>0&&null!=this.customersNbUses?Math.min(this.maxUsesByUser-this.customersNbUses,this.maxUsesGlobal-this.nbUses):this.maxUsesGlobal-this.nbUses,this._remainingUsesPerUser=w}setValidity(){const w=this.dateTimeService.isNowBeforeDate(this.dateTimeService.createDateWithIso(this.validityStart)),Fe=this.dateTimeService.isNowAfterDate(this.dateTimeService.createDateWithIso(this.validityEnd));this.valid=!(this.validityStart&&w||this.validityEnd&&Fe)&&this._remainingUsesPerUser>0}}return(ne=y).TOKEN_TITLE=/\[TITLE\]/g,ne.TOKEN_DATE_START=/\[DATE_START\]/g,ne.TOKEN_DATE_END=/\[DATE_END\]/g,ne.TOKEN_NUM_OFFERS_TOTAL=/\[NUM_OFFERS_TOTAL\]/g,ne.TOKEN_NUM_OFFERS=/\[NUM_OFFERS\]/g,ne.TOKEN_DATE_REDEEM=/\[DATE_REDEEM\]/g,ne.TOKEN_ADDRESS=/\[ADDRESS\]/g,ne.TOKEN_SUBTITLE=/\[SUBTITLE\]/g,ne.TOKEN_PROMOCODE=/\[PROMOCODE\]/g,ne.TOKEN_SHOPNAME=/\[SHOPNAME\]/g,ne.TOKEN_DISTANCE=/\[DISTANCE\]/g,ne.TOKEN_REDEEM=/\[REDEEM\]/g,y})();var V=r(77533),le=r(80697);let ge=(()=>{var ne;class y{constructor(w,Fe,Je,St){this._settingsManager=w,this._languageManager=Fe,this._logger=Je,this.dateTimeService=St}createItem(w){w instanceof v.sT||(w=new v.sT(w));const Fe=w.getString("type"),Je=w.getString("subtype");let St=null;return"article"===Fe?St=new p(w,this._settingsManager,this._languageManager,this.dateTimeService):"photo"===Fe?St=new B(w,this._settingsManager,this._languageManager,this.dateTimeService):"video"===Fe?St=new P(w,this._settingsManager,this._languageManager,this.dateTimeService):"link"===Fe||"status"===Fe||("twitter"===Fe?St=new O(w,this._settingsManager,this._languageManager,this.dateTimeService):"event"===Fe?St=new D(w,this._settingsManager,this._languageManager,this.dateTimeService):"sound"===Fe?St="soundcloud"===Je?new W(w,this._settingsManager,this._languageManager,this.dateTimeService):new N(w,this._settingsManager,this._languageManager,this.dateTimeService):"comment"===Fe?St=new H(w,this._settingsManager,this._languageManager,this.dateTimeService):"live"===Fe?"liveplus"===Je&&(St=new u(w,this._settingsManager,this._languageManager,this.dateTimeService)):"maps"===Fe?St=new E(w,this._settingsManager,this._languageManager,this.dateTimeService):this._logger.warning(`createItem() : Item type not handled ${Fe}`)),St&&this._logger.debug(St.toString()),St}createUser(w){const Fe=new F(w,this._settingsManager,this._languageManager,this.dateTimeService);return Fe&&this._logger.debug(Fe.toString()),Fe}createCoupon(w){const Fe=new J(w,this._settingsManager,this.dateTimeService);return Fe&&this._logger.debug(Fe.toString()),Fe}createLiveClassic(w){return new a(new v.sT({type:"live",subtype:"classic",id:w,sectionTitle:this._settingsManager.getSectionsTitle(w)}),this._settingsManager,this._languageManager,this.dateTimeService)}}return(ne=y).\u0275fac=function(w){return new(w||ne)(V.LFG(h.pz),V.LFG(c.h),V.LFG(le.Y),V.LFG(s.C))},ne.\u0275prov=V.Yz7({token:ne,factory:ne.\u0275fac,providedIn:"root"}),y})(),te=(()=>{var ne;class y{constructor(w){this._logger=w}createItem(w){const Fe=w.getString("type");let Je=null;return"twitter"===Fe?Je=new k(w):"soundcloud_artist"===Fe?Je=new X(w):this._logger.warning(`createItem() : Page info not handled ${Fe}`),Je&&this._logger.debug(Je.toString()),Je}}return(ne=y).\u0275fac=function(w){return new(w||ne)(V.LFG(le.Y))},ne.\u0275prov=V.Yz7({token:ne,factory:ne.\u0275fac,providedIn:"root"}),y})();var Pt,We=r(67728),Te=r(9739),ee=r(12494),Q=r(54505),me=r(60110),pe=r(26682),se=r(96839),Me=r(54653),ct=r(63342),vt=r(3050);class lt{constructor(y,ae,w,Fe,Je){this.settingsApi=y,this.contentApi=ae,this.settingsManager=w,this.logger=Fe,this.platform=Je,this.itemUpdated$=new We.X(null),this.refreshWidget$=new Te.x}getSettings(){const y="settings.json",ae=this._getCachedData(y);return ae?(0,ee.of)(ae):this.settingsApi.getSettings().pipe((0,me.b)(Fe=>{this.logger.info("getSettings : Settings retrieved",Fe),this._setCachedData(y,Fe)}))}getLanguages(){const y="languages.json",ae=this._getCachedData(y);return ae?(0,ee.of)(ae):this.settingsApi.getLanguages(this.settingsManager.getLang()).pipe((0,me.b)(Fe=>{this.logger.info("getLanguages : Languages retrieved",Fe),this._setCachedData(y,Fe)}))}getItems(y){const ae=this.buildItemsUrlOrContentSource(y);return this.logger.info("getItems",y),this.getItemsByUrl(y.sectionId,ae)}getItemsV2(y){const ae=this.buildItemsUrlOrContentSource(y);return this.logger.info("getItems",y),this.getItemsByUrlV2(y.sectionId,ae,y&&!!y.authenticated)}getNextPageItems(y,ae){const w=this.buildItemsUrlOrContentSource(ae),Fe=w instanceof h.iz?w.toString():w;let Je=this.getItemsByUrl(ae.sectionId,y);const St=this._getCachedData(Fe);return St&&(Je=Je.pipe((0,me.b)(gt=>{const Wt=Object.assign({},St);St.nextPage!==gt.nextPage&&(Wt.nextPage=gt.nextPage,Wt.items.splice(St.items.length,0,...gt.items),Wt.pageinfo=gt.pageinfo),this._setCachedData(Fe,Wt)}))),Je}getItemsByUrl(y,ae,w=!0){if("string"==typeof ae&&""!==ae||ae instanceof h.iz&&ae.valid){const Fe=ae instanceof h.iz?ae.toString():ae,Je=this._getCachedData(Fe);return w&&Je?(0,ee.of)(Je):this.contentApi.getItems(ae).pipe((0,me.b)(gt=>{this.logger.info(`getItemsByUrl : Items retrieved from ${Fe}`,gt),this._setCachedData(Fe,gt),gt.items.forEach(Wt=>{this._setCachedData(`item-${y}-${Wt.unformattedId}`,Wt)})}),(0,pe.K)(gt=>(0,Q._)(gt)),(0,se.x)(()=>lt.PREVIEW_ONLY_CACHE_BACKEND_CALL=!1))}return this.logger.error("getItemsByUrl : Content Url not found",{sectionId:y,source:ae}),(0,Q._)(null)}getItemsByUrlV2(y,ae,w=!1){return"string"==typeof ae&&""!==ae||ae instanceof h.iz&&ae.valid?this.contentApi.getItemsV2(ae,w).pipe((0,se.x)(()=>lt.PREVIEW_ONLY_CACHE_BACKEND_CALL=!1)):(this.logger.error("getItemsByUrl : Content Url not found",{sectionId:y,source:ae}),(0,Q._)("Content Url not found"))}getItemById(y,ae){const w=`item-${y}-${ae}`,Fe=this._getCachedData(w);return Fe?(0,ee.of)(Fe):this.contentApi.getItem(y,ae).pipe((0,me.b)(St=>{this.logger.info("getSettings : Specific item retrieved",St),this._setCachedData(w,St)}),(0,pe.K)(St=>(this.logger.error("getItemById : No specific item retrieved from data source",{sectionId:y,itemId:ae,json:St}),(0,Q._)(St))))}getItemByIdV2(y,ae){return this.contentApi.getItemV2(y,ae)}getRestrictedItemById(y,ae){return this.contentApi.getRestrictedItem(y,ae)}getRestrictedItemsAggregation(y,ae){let w;return y instanceof Map?w=y:(w=new Map,w.set(y,ae)),this.contentApi.getRestrictedItemsAggregation(w)}getItemByUrl(y,ae){return this.contentApi.getItemByUrl(y,ae).pipe((0,me.b)(Fe=>{const Je=`item-${y}-${Fe.unformattedId}`;this.logger.info("getSettings : Specific item retrieved from url",Fe),this._setCachedData(Je,Fe)}),(0,pe.K)(Fe=>(this.logger.error("getItemById : No specific item retrieved from data source",{sectionId:y,url:ae,json:Fe}),(0,Q._)(Fe))))}getComments(y,ae,w=!0){return this.logger.info("getComments",{sectionId:y,url:ae}),this.getItemsByUrl(y,ae,!w)}flushCache(){lt.CACHE.clear()}searchItemsV2(y,ae,w){const Fe=this.buildItemsUrlOrContentSource({sectionId:y});return Fe&&(Fe.setParam("keyword",w.replace(/\s\s+/g," ").replace(/ /g,",")),Fe.setParam("sections",ae.join(","))),this.contentApi.getItemsV2(Fe).pipe((0,Me.V)(6e4))}_getCachedData(y){return lt.CACHE.has(y)?lt.CACHE.get(y):null}_setCachedData(y,ae){this.platform.isBrowser&&!this.platform.isPreviewApp&&(!this.platform.isIOS||!this.platform.isStandaloneMode)&&lt.CACHE.set(y,ae)}buildItemsUrlOrContentSource(y){const{sectionId:ae,location:w,perPage:Fe,contentSource:Je,tabId:St,refresh:gt,authenticated:Wt}=y,ft=typeof y.subsectionIndex<"u"?y.subsectionIndex:-1,ye=this.settingsManager.getSectionsSubsectionsIds(ae,ft);let st,we;if(Je instanceof h.iz?we=Je:this.settingsManager.getSectionsSubsectionsEnabled(ae)&&ft>-1?(we=Wt?this.settingsManager.getSectionsSubsectionsAuthenticatedContentSource(ae,ft,this.platform.isPreviewApp):this.settingsManager.getSectionsSubsectionsContentSource(ae,ft,this.platform.isPreviewApp),we||(st=this.settingsManager.getSectionsSubsectionsContentUrl(ae,ft),st&&(st=st.replace("[GROUP]",ye)))):(we=Wt?this.settingsManager.getSectionsAuthenticatedContentSource(ae,this.platform.isPreviewApp):this.settingsManager.getSectionsContentSource(ae,this.platform.isPreviewApp),we=this.settingsManager.getSectionsContentSource(ae,this.platform.isPreviewApp),we||(st=this.settingsManager.getSectionsContentUrl(ae))),we||st){if(we)return St&&we.setParam("sort",St),w&&we.setLocation(w),ye&&we.setParam("group",ye),Fe&&Fe>0&&we.setParam("per_page",Fe),this.platform.isPreviewApp&&we instanceof h.iz&&lt.PREVIEW_ONLY_CACHE_BACKEND_CALL&&we.setParam("cache_policy",2),gt&&this.platform.isPreviewApp&&we instanceof h.iz&&we.setParam("cache_policy",2),we;if(st)return st=this._replaceSortAndGeolocInUrl(st,St,w),st}return we||st}_replaceSortAndGeolocInUrl(y,ae,w){if(y.includes("[SORT]")&&(y=y.replace("[SORT]",ae)),w){const Fe=`${w.coords.latitude.toString()},${w.coords.longitude.toString()}`;y=y.replace("[GEOLOC]",Fe)}return y}}(Pt=lt).PREVIEW_ONLY_CACHE_BACKEND_CALL=!1,Pt.CACHE=new Map,Pt.\u0275fac=function(y){return new(y||Pt)(V.LFG(ct.ps),V.LFG(ct.HS),V.LFG(h.pz),V.LFG(le.Y),V.LFG(vt.m))},Pt.\u0275prov=V.Yz7({token:Pt,factory:Pt.\u0275fac,providedIn:"root"});const tt="isGoneFishing";function ut(ne){return ne instanceof v.sT&&!0===ne.getBoolean(tt)}},96578:(_e,R,r)=>{"use strict";r.d(R,{B:()=>s,M:()=>v});var n=r(99256);const s="PVIEW_NATIVE_AD",c=["[DATE]","[HOUR]","[HEURE]","[DATETXT1]","[DATETXT2]","[DATETXT3]","[DATETXT4]","[DATETXT5]","[DATETXT6]","[DATETXT7]","[DATETXT8]","[DATETXT9]","[DATE_END]","[DATE_END1]","[DATE_END2]","[DATE_END3]","[DATE_END4]","[DATE_END5]","[DATE_END6]","[DATE_END7]","[DATE_END8]","[DATE_END9]","[DATE_END_HOUR]"],h=new Map;let v=(()=>{var _;class m{constructor(p,D,a,u){this._settingsManager=D,this._languagesManager=a,this.dateTimeService=u,this.raw=p,this._unformattedId=p.getString(m.ID),this._id=`${p.getString(m.TYPE)}${p.getString(m.ID)}`,this._type=p.getString(m.TYPE),this._title=p.getString(m.TITLE,""),this._url=p.getString(m.URL,""),this._nbComments=p.getNumber(m.NBCOMMENTS),this._categories=p.getArray(m.CATEGORIES),this._date=p.getString(m.DATE,null),this._endDate=p.getString(m.END_DATE,null),this._author=p.getString(m.AUTHOR),this._authorAvatarUrl=p.getString(m.AUTHOR_AVATAR_URL),this._subtype=p.getString(m.SUBTYPE,null),this._extendedAttributes=p.getString(m.EXTENDEDATTRIBUTES),this._slugTitle=p.getString(m.SLUG_TITLE),this.isFullVersion=p.getBoolean(m.IS_FULL_VERSION,!0),this.availableForSubscriptions=p.getArray(m.AVAILABLE_FOR_SUBSCRIPTIONS)||[];const E=p.getJsonObject(m.META);E&&(this._metaTitle=E.getString(m.META_TITLE,null),this._metaDescription=E.getString(m.META_DESCRIPTION,null))}get id(){return this._id}get unformattedId(){return this._unformattedId}get type(){return this._type}get title(){return this._title}get url(){return this._url}get nbComments(){return this._nbComments}get categories(){return this._categories}get date(){return this._date}get endDate(){return this._endDate}get author(){return this._author}get authorAvatarUrl(){return this._authorAvatarUrl}get subtype(){return this._subtype}get extendedAttributes(){return this._extendedAttributes}get slugTitle(){return this._slugTitle}get slug(){return this._slugTitle||n.fz.rewrite(null===this._title?"":this._title)||this.unformattedId}get metaTitle(){return this._metaTitle?this._metaTitle:this.title}get isNotRestrictedContent(){return 0===this.availableForSubscriptions.length}get isRestrictedContent(){return!1===this.isNotRestrictedContent}get isNativeAdSlot(){return this._unformattedId===s}toString(){return`ID ${this._id}, TYPE ${this._type}, TITLE ${this._title}, URL ${this._url},\n\t\t\t\tCATEGORIES ${this._categories?this.categories.toString():""}, DATE ${this._date}, AUTHOR ${this._author},\n\t\t\t\tSUBTYPE ${this._subtype}`}replaceTagsInString(p){if((p=(p=(p=(p=(p=(p=(p=(p=p.replace(/\[ID\]/g,this._unformattedId)).replace(/\[COMMENTS\]/g,this._commentsTag)).replace(/\[NBCOMMENTS\]/g,this._nbComments.toString())).replace(/\[TITLE\]/g,null==this._title?"":this._title)).replace(/\[AUTHOR\]/g,this._author)).replace(/\[AUTEUR\]/g,this._author)).replace(/\[AUTHOR_AVATAR\]/g,'<span class="item-author-avatar"></span>')).replace(/\[URL(?:_ITEM)?\]/g,this._url)).indexOf("[AGO]")>-1||p.indexOf("[ILYA]")>-1){const a=this.getAgoString();p=(p=p.replace(/\[AGO\]/g,a)).replace(/\[ILYA\]/g,a)}const D=this._endDate?this._languagesManager.getString("GB_CONTENT_PUBLICATION_END"):"";return p=p.replace(/\[EXPIRATION_DATE\]/g,D),c.forEach(a=>{for(;-1!==p.indexOf(a);){const u=/_END/.test(a)?this._endDate:this._date;p=p.replace(a,this._getFormattedDateToken(a,u))}}),p}formatSubtitle(p){return p=p.replace(/\[AUTHOR_AVATAR\]/g,""),this.replaceTagsInString(p)}getAgoString(){const p=this._getDateObject();let D="",a=1;if(p){const E=Math.round(((new Date).getTime()-p.getTime())/1e3);return E<0?D=this._languagesManager.getString("CETAITQUAND_1"):E<60?D=this._languagesManager.getString("CETAITQUAND_2"):E<120?D=this._languagesManager.getString("CETAITQUAND_3"):E<3600?(D=this._languagesManager.getString("CETAITQUAND_4"),a=60):E<7200?D=this._languagesManager.getString("CETAITQUAND_5"):E<86400?(D=this._languagesManager.getString("CETAITQUAND_6"),a=3600):E<172800?D=this._languagesManager.getString("CETAITQUAND_7"):E<604800?D=this.dateTimeService.formatDateWithTemplate(E,"EEEE"):E<2678400?(D=this._languagesManager.getString("CETAITQUAND_11"),a=86400):E<5356800?D=this._languagesManager.getString("CETAITQUAND_12"):E<32140800?(D=this._languagesManager.getString("CETAITQUAND_8"),a=2678400):E<63072e3?D=this._languagesManager.getString("CETAITQUAND_9"):(D=this._languagesManager.getString("CETAITQUAND_10"),a=32140800),D.replace("[X]",Math.round(E/a).toString())}return""}encodeDollarAmperstandPattern(p){return p&&p.replace(/\$&/g,"&dollar;&")}_getDateObject(){const p=this.dateTimeService.createDateWithIso(this._date);return this.dateTimeService.isDateValid(p)?p:null}_getFormattedDateToken(p,D){if(D){const a=this._getDateFormatByToken(p),u=`${a}-${D}`;if(h.has(u))return h.get(u);const E=this.dateTimeService.createDateWithIso(D);if(this.dateTimeService.isDateValid(E)){let T=this.dateTimeService.formatDateWithTemplate(E,a);if("us"===this._settingsManager.getLang()&&T.match(/\[GBTH\]/)){let B;switch(parseInt(this.dateTimeService.formatDateWithTemplate(E,"d"))){case 1:case 21:case 31:B="st";break;case 2:case 22:B="nd";break;case 3:case 23:B="rd";break;default:B="th"}T=T.replace("[GBTH]",B)}return h.set(u,T),T}}return""}_getDateFormatByToken(p){let D;switch(p){case"[DATE]":case"[DATE_END]":case"[DATETXT4]":case"[DATE_END4]":default:D=this._settingsManager.getDateFormatTxt4();break;case"[HOUR]":case"[HEURE]":case"[DATE_END_HOUR]":D=this._settingsManager.getDateFormatHour();break;case"[DATETXT1]":case"[DATE_END1]":D=this._settingsManager.getDateFormatTxt1();break;case"[DATETXT2]":case"[DATE_END2]":D=this._settingsManager.getDateFormatTxt2();break;case"[DATETXT3]":case"[DATE_END3]":D=this._settingsManager.getDateFormatTxt3();break;case"[DATETXT5]":case"[DATE_END5]":D=this._settingsManager.getDateFormatTxt5();break;case"[DATETXT6]":case"[DATE_END6]":D=this._settingsManager.getDateFormatTxt6();break;case"[DATETXT7]":case"[DATE_END7]":D=this._settingsManager.getDateFormatTxt7();break;case"[DATETXT8]":case"[DATE_END8]":D=this._settingsManager.getDateFormatTxt8();break;case"[DATETXT9]":case"[DATE_END9]":D=this._settingsManager.getDateFormatTxt9()}return D}get _commentsTag(){return this._languagesManager.getString(1!==this._nbComments?"GB_TXT_65":"GB_TXT_66").replace("[X]",this._nbComments.toString())}}return(_=m).ID="id",_.TYPE="type",_.TITLE="title",_.URL="url",_.CATEGORIES="categories",_.DATE="date",_.END_DATE="endDate",_.AUTHOR="author",_.AUTHOR_AVATAR_URL="authorAvatarUrl",_.SUBTYPE="subtype",_.EXTENDEDATTRIBUTES="extendedAttributes",_.NBCOMMENTS="nbcomments",_.SLUG_TITLE="slug",_.META="meta",_.META_TITLE="title",_.META_DESCRIPTION="description",_.IS_FULL_VERSION="isFullVersion",_.AVAILABLE_FOR_SUBSCRIPTIONS="availableForSubscriptions",m})()},64210:(_e,R,r)=>{"use strict";r.d(R,{z:()=>v});var n=r(59181),s=r(98238),c=r(77533);function h(_,m){if(1&_&&(c.TgZ(0,"div",6),c._uU(1),c.qZA()),2&_){const b=c.oxw();c.Q6J("gbFontStyle",b.titleFont),c.xp6(1),c.Oqu(b.dialogTitle)}}let v=(()=>{var _;class m{constructor(p,D,a){this.dialogRef=p,this.languagesManager=D,this.data=a,this.titleVisible=!0}ngOnInit(){this.data&&(this.dialogTitle=this.data.title,this.dialogText=this.data.text),this.dialogCancel=this.data&&this.data.cancel||this.languagesManager.getString("ANNULER"),this.dialogConfirm=this.data&&this.data.confirm||this.languagesManager.getString("GB_TXT_110")}hideTitle(){this.titleVisible=!1}showTitle(){this.titleVisible=!0}}return(_=m).\u0275fac=function(p){return new(p||_)(c.Y36(n.so),c.Y36(s.h),c.Y36(n.WI))},_.\u0275cmp=c.Xpm({type:_,selectors:[["ng-component"]],decls:10,vars:5,consts:[["id","confirmation-dialog"],[1,"content"],["mat-dialog-title","","class","title",3,"gbFontStyle",4,"ngIf"],["mat-dialog-content","",1,"text",3,"gbFontStyle"],["mat-dialog-actions","","align","end",1,"buttons"],["mat-button","",3,"click"],["mat-dialog-title","",1,"title",3,"gbFontStyle"]],template:function(p,D){1&p&&(c.TgZ(0,"div",0)(1,"div",1),c.YNc(2,h,2,2,"div",2),c.TgZ(3,"div",3),c._uU(4),c.qZA()(),c.TgZ(5,"div",4)(6,"button",5),c.NdJ("click",function(){return D.dialogRef.close(!1)}),c._uU(7),c.qZA(),c.TgZ(8,"button",5),c.NdJ("click",function(){return D.dialogRef.close(!0)}),c._uU(9),c.qZA()()()),2&p&&(c.xp6(2),c.Q6J("ngIf",D.titleVisible),c.xp6(1),c.Q6J("gbFontStyle",D.textFont),c.xp6(1),c.Oqu(D.dialogText),c.xp6(3),c.Oqu(D.dialogCancel),c.xp6(2),c.Oqu(D.dialogConfirm))},styles:[".content[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]{font-size:26px}button[_ngcontent-%COMP%]{margin-left:12px;text-transform:uppercase}"]}),m})()},68103:(_e,R,r)=>{"use strict";r.d(R,{YD:()=>m,xA:()=>_});var n=r(64210),s=r(53098),c=r(77533),h=r(59181),v=r(50996);let _=(()=>{var b;class p{constructor(a,u){this.dialog=a,this.overlay=u}openDialog(a,u){return this.dialog.open(a,u)}openConfirmationDialog(a){return this.openDialog(n.z,{data:a,disableClose:!0,scrollStrategy:this.overlay.scrollStrategies.noop()})}openSharingDialog(a){return this.dialog.open(s.e,{width:"80%",panelClass:"gb-share",scrollStrategy:this.overlay.scrollStrategies.noop(),data:a})}}return(b=p).\u0275fac=function(a){return new(a||b)(c.LFG(h.uw),c.LFG(v.aV))},b.\u0275prov=c.Yz7({token:b,factory:b.\u0275fac,providedIn:"root"}),p})();const m=[n.z,s.e]},53098:(_e,R,r)=>{"use strict";r.d(R,{e:()=>u});var n=r(59181),s=r(26079),c=r(38205),h=r(35319),v=r(98238),_=r(9793),m=r(77533),b=r(67463),p=r(99966);const D=()=>({identifier:"contact-facebook",isColored:!1}),a=()=>({identifier:"icon-twitterx",isColored:!1});let u=(()=>{var E;class T{constructor(B,N,W,A,X,U,O){this.languageManager=B,this.facebookSharer=N,this.twitterService=W,this.dialogRef=A,this.data=X,this.statsService=U,this.settingsManager=O}ngOnInit(){this.title=this.languageManager.getString("GB_TXT_56"),this.setSettings()}setSettings(){this.closeIcon=this.settingsManager.getGBUIIcon("close_big")}onFacebook(){if(this.data.itemToShare){const B=this.data.itemToShare;B instanceof c.Mj?(this.data.tracking&&this.statsService.trackShare(B.id,B.type,"Facebook"),this.facebookSharer.openSharingDialog(B.url,B.title)):this.facebookSharer.openSharingDialog(B,this.data.shareTitle),this.dialogRef.close(!0)}}onTwitter(){if(this.data.itemToShare){const B=this.data.itemToShare;B instanceof c.Mj?(this.data.tracking&&this.statsService.trackShare(B.id,B.type,"Twitter"),this.twitterService.openSharingDialog(B.url,B.title)):this.twitterService.openSharingDialog(B,this.data.shareTitle),this.dialogRef.close(!0)}}}return(E=T).\u0275fac=function(B){return new(B||E)(m.Y36(v.h),m.Y36(h.Nv),m.Y36(b.X),m.Y36(n.so),m.Y36(n.WI),m.Y36(s.nq),m.Y36(_.pz))},E.\u0275cmp=m.Xpm({type:E,selectors:[["gb-sharing-dialog"]],decls:17,vars:8,consts:[[1,"header"],["mat-dialog-title",""],["mat-dialog-close","","tabindex","-1",1,"close"],[3,"gbuiIcon"],[1,"icon","share-button",3,"click"],[1,"social-icon","fb"],["size","18",3,"gbuiIcon","color"],[1,"label"],[1,"social-icon","tw"],["size","14",3,"gbuiIcon","color"]],template:function(B,N){1&B&&(m.TgZ(0,"div",0)(1,"h4",1),m._uU(2),m.qZA(),m.TgZ(3,"button",2),m._UZ(4,"span",3),m.qZA()(),m.TgZ(5,"mat-dialog-content")(6,"ul")(7,"button",4),m.NdJ("click",function(){return N.onFacebook()}),m.TgZ(8,"span",5),m._UZ(9,"span",6),m.qZA(),m.TgZ(10,"span",7),m._uU(11,"Facebook"),m.qZA()(),m.TgZ(12,"button",4),m.NdJ("click",function(){return N.onTwitter()}),m.TgZ(13,"span",8),m._UZ(14,"span",9),m.qZA(),m.TgZ(15,"span",7),m._uU(16,"X"),m.qZA()()()()),2&B&&(m.xp6(2),m.Oqu(N.title),m.xp6(2),m.Q6J("gbuiIcon",N.closeIcon),m.xp6(5),m.Q6J("gbuiIcon",m.DdM(6,D))("color","#ffffff"),m.xp6(5),m.Q6J("gbuiIcon",m.DdM(7,a))("color","#ffffff"))},dependencies:[n.ZT,n.uh,n.xY,p.k],styles:["[_nghost-%COMP%]{min-width:50%}.header[_ngcontent-%COMP%]{position:relative;display:flex;flex-direction:row;justify-content:space-between;align-items:center}.header[_ngcontent-%COMP%]   .close[_ngcontent-%COMP%]{margin-right:18px}ul[_ngcontent-%COMP%]{margin:0;padding:0;list-style:none}.share-button[_ngcontent-%COMP%]{padding:.5rem 0;display:flex;flex-direction:row;justify-content:flex-start;align-items:flex-start}.social-icon[_ngcontent-%COMP%]{width:25px;height:25px;position:relative;display:flex;flex-direction:column;flex:0 0 auto;justify-content:center;align-items:center;border-radius:4px}.social-icon.fb[_ngcontent-%COMP%]{background-color:#3b5999}.social-icon.fb[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{position:absolute;bottom:0;right:0}.social-icon.tw[_ngcontent-%COMP%]{background-color:#000}.label[_ngcontent-%COMP%]{margin-left:1rem;align-self:center}[mat-dialog-close][_ngcontent-%COMP%]{background:none;border:none;-webkit-appearance:none}"]}),T})()},75479:(_e,R,r)=>{"use strict";r.d(R,{h:()=>s});var n=r(77533);let s=(()=>{var c;class h{constructor(){this.borderWidth=1,this.style="solid",this.borderTop=!0,this.borderBottom=!0,this.borderLeft=!0,this.borderRight=!0,this.borderEnabled=!0}get borderTopWidth(){return this.borderEnabled&&this.borderTop&&"transparent"!==this.color?this.borderWidth:0}get borderBottomWidth(){return this.borderEnabled&&this.borderBottom&&"transparent"!==this.color?this.borderWidth:0}get borderLeftWidth(){return this.borderEnabled&&this.borderLeft&&"transparent"!==this.color?this.borderWidth:0}get borderRightWidth(){return this.borderEnabled&&this.borderRight&&"transparent"!==this.color?this.borderWidth:0}}return(c=h).\u0275fac=function(_){return new(_||c)},c.\u0275dir=n.lG2({type:c,selectors:[["","gbBorderColor",""]],hostVars:12,hostBindings:function(_,m){2&_&&n.Udp("border-color",m.color)("border-style",m.style)("border-top-width",m.borderTopWidth,"px")("border-bottom-width",m.borderBottomWidth,"px")("border-left-width",m.borderLeftWidth,"px")("border-right-width",m.borderRightWidth,"px")},inputs:{color:["gbBorderColor","color"],borderWidth:"borderWidth",style:"style",borderTop:"borderTop",borderBottom:"borderBottom",borderLeft:"borderLeft",borderRight:"borderRight",borderEnabled:"borderEnabled"}}),h})()},91325:(_e,R,r)=>{"use strict";r.d(R,{y:()=>b});var n=r(77533),s=r(69947),c=r(9239),h=r(35594),v=r(3050),_=r(9793),m=r(55096);let b=(()=>{var p;class D{constructor(u,E,T,M,B,N){this.settingsManger=u,this.router=E,this.linksBuilder=T,this.animationManager=M,this.platform=B,this.el=N,this.animationEnabled=!0,this.swipeEnabled=!0,this.gestureDisabled=!1,(0,n.T8G)(()=>{this.hammer||this.createHammerManager(this.getHammerDefaultOptions())},{phase:n.wFv.Read})}ngOnChanges(u){this.categories=this.settingsManger.getSectionsSubsections(this.sectionId)}onSwipeLeft(){!this.gestureDisabled&&this.currentIndex>-1&&this.swipeEnabled&&this.navigateTo(this.currentIndex+1)}onSwipeRight(){!this.gestureDisabled&&this.currentIndex>-1&&this.swipeEnabled&&this.navigateTo(this.currentIndex-1)}navigateTo(u){if(!this.categories||isNaN(u)||u<0)return;const E=Math.max(0,Math.min(u,this.categories.length-1));this.animationEnabled?this.animationManager.animFlat():this.animationManager.disableComingAnimation(),this.router.navigate(this.linksBuilder.getSectionCategoryRouterLink(this.sectionId,E))}disableGesture(u){this.gestureDisabled=u}enableTextSelection(){if(this.platform.isBrowser){const u={...this.getHammerDefaultOptions(),cssProps:{...this.getHammerDefaultOptions().cssProps,userSelect:"text"}};this.hammer&&this.hammer.destroy(),this.createHammerManager(u)}}ngOnDestroy(){this.hammer&&this.hammer.destroy()}createHammerManager(u){this.platform.isBrowser&&this.categories&&(this.hammer=new Hammer(this.el.nativeElement,u),this.hammer.on("swipeleft",this.onSwipeLeft.bind(this)),this.hammer.on("swiperight",this.onSwipeRight.bind(this)))}getHammerDefaultOptions(){return{inputClass:Hammer.TouchMouseInput,touchAction:"manipulation",cssProps:{...Hammer.defaults.cssProps,touchCallout:"initial"}}}}return(p=D).\u0275fac=function(u){return new(u||p)(n.Y36(_.pz),n.Y36(m.F0),n.Y36(h.Bu),n.Y36(s.AW),n.Y36(v.m),n.Y36(n.SBq))},p.\u0275dir=n.lG2({type:p,selectors:[["","gbCategoriesSwipe",""]],inputs:{currentIndex:["category","currentIndex"],sectionId:"sectionId",animationEnabled:"animationEnabled",swipeEnabled:"swipeEnabled"},features:[n._Bn([{provide:c.K,useExisting:p}]),n.TTD]}),D})()},98037:(_e,R,r)=>{"use strict";r.d(R,{k:()=>c});var n=r(83894),s=r(77533);let c=(()=>{var h;class v{constructor(){this._isRtl=!1,this._direction="ltr",this.change=new s.vpe}set isRtl(m){this._isRtl=m}get direction(){return this._direction}get value(){return this._direction}ngOnChanges(){this.setDirection(this._isRtl)}ngOnDestroy(){this.change.complete()}setDirection(m){const b=m?"rtl":"ltr";b!==this._direction&&(this._direction=b,this.change.emit(b))}}return(h=v).\u0275fac=function(m){return new(m||h)},h.\u0275dir=s.lG2({type:h,selectors:[["","gbDirRtl",""]],hostVars:1,hostBindings:function(m,b){2&m&&s.Ikx("dir",b.direction)},inputs:{isRtl:["gbDirRtl","isRtl"]},features:[s._Bn([{provide:n.Is,useExisting:h}]),s.TTD]}),v})()},99363:(_e,R,r)=>{"use strict";r.d(R,{o:()=>M}),r(75479),r(91325),r(98037),r(31370),r(32525),r(73),r(88039),r(63328),r(3290),r(23807),r(43034),r(86332);var E=r(77533);let M=(()=>{var B;class N{}return(B=N).\u0275fac=function(A){return new(A||B)},B.\u0275mod=E.oAB({type:B}),B.\u0275inj=E.cJS({}),N})()},31370:(_e,R,r)=>{"use strict";r.d(R,{P:()=>h});var n=r(77533),s=r(90368);r(9793);let h=(()=>{var v;class _{constructor(b,p){this.el=b,this.renderer=p,this.fontRendererFactory=(0,n.f3M)(s.jW),this.fontRenderer=this.fontRendererFactory.createFontRenderer(b,p)}ngOnChanges(b){this.fontRenderer.setFont(b?.font?.currentValue?.toGBUIKitModel()),b.gbFontStyleColor&&b.gbFontStyleColor.currentValue!==b.gbFontStyleColor.previousValue&&this.setStyle("color",this.gbFontStyleColor)}ngOnDestroy(){this.fontRenderer.dispose()}setStyle(b,p){this.renderer.setStyle(this.el.nativeElement,b,p)}}return(v=_).\u0275fac=function(b){return new(b||v)(n.Y36(n.SBq),n.Y36(n.Qsj))},v.\u0275dir=n.lG2({type:v,selectors:[["","gbFontStyle",""]],inputs:{font:["gbFontStyle","font"],gbFontStyleColor:"gbFontStyleColor"},features:[n.TTD]}),_})()},32525:(_e,R,r)=>{"use strict";r.d(R,{M:()=>m}),r(9793);var s=r(99256),c=r(77533),h=r(45781);let m=(()=>{var b;class p{constructor(a){this.sanitizer=a,this.opacity=1,this.textGradient=!1}ngOnChanges(a){this.setGradientStyle()}setGradientStyle(){if(this.imageUrl)this.gradientStyle=this.imageUrl,this.backgroundClip=null,this.textFillColor=null;else if(this.gradient&&this.gradient.enabled){const a=(0,s.t_)(this.gradient,this.opacity);this.gradientStyle=this.sanitizer.bypassSecurityTrustStyle(a),this.textGradient&&this.applyTextColorGradient()}else this.gradientStyle=null,this.backgroundClip=null,this.textFillColor=null}applyTextColorGradient(){this.textFillColor="transparent",this.backgroundClip="text"}}return(b=p).\u0275fac=function(a){return new(a||b)(c.Y36(h.H7))},b.\u0275dir=c.lG2({type:b,selectors:[["","gbGradient",""]],hostVars:6,hostBindings:function(a,u){2&a&&c.Udp("background-image",u.gradientStyle)("-webkit-background-clip",u.backgroundClip)("-webkit-text-fill-color",u.textFillColor)},inputs:{gradient:["gbGradient","gradient"],opacity:"opacity",textGradient:"textGradient",imageUrl:["style.background-image","imageUrl"]},features:[c.TTD]}),p})()},73:(_e,R,r)=>{"use strict";r.d(R,{b:()=>s});var n=r(77533);let s=(()=>{var c;class h{constructor(){this.hoverEnabled=!0}ngOnChanges(_){this.backgroundColor=this.defaultColor,this.color=this.defaultTextColor,this.borderColor=this.defaultBorderColor}onMouseEnter(){this.hoverEnabled&&(this.backgroundColor=this.hoverColor,this.color=this.hoverTextColor,this.borderColor=this.hoverBorderColor)}onMouseLeave(){this.backgroundColor=this.defaultColor,this.color=this.defaultTextColor,this.borderColor=this.defaultBorderColor}}return(c=h).\u0275fac=function(_){return new(_||c)},c.\u0275dir=n.lG2({type:c,selectors:[["","gbHoverColor",""]],hostVars:6,hostBindings:function(_,m){1&_&&n.NdJ("mouseenter",function(){return m.onMouseEnter()})("mouseleave",function(){return m.onMouseLeave()}),2&_&&n.Udp("background-color",m.backgroundColor)("color",m.color)("border-color",m.borderColor)},inputs:{defaultColor:"defaultColor",hoverColor:"hoverColor",hoverBorderColor:"hoverBorderColor",hoverTextColor:"hoverTextColor",defaultTextColor:"defaultTextColor",defaultBorderColor:"defaultBorderColor",hoverEnabled:"hoverEnabled"},features:[n.TTD]}),h})()},88039:(_e,R,r)=>{"use strict";r.d(R,{l:()=>E,t:()=>u});var a,n=r(97582),s=r(77533),c=r(14565),h=r(25167),v=r(17619),_=r(15202),m=r(9793),b=r(44036),p=r(99256),D=r(62424);class u{set font(M){this._font=M}constructor(M,B,N,W,A,X,U){this._icon=M,this._el=B,this._renderer=N,this._settingsManager=W,this.zone=A,this.focusMonitor=X,this.hoverEffectEnableFlag=U,this.destroy$=new s.vpe,this.hoverFontDisabled=!1===this.hoverEffectEnableFlag}get el(){return this._el.nativeElement}get icon(){return this._icon||this.linkedIcon}ngOnChanges(M){M.hoverFontDisabled&&this.hoverFontDisabled&&this.resetStyle(),(M.font||M.linkedIcon)&&(this._font&&this.initTextHoverFunctions(),this.icon&&this.initIconHoverFunctions())}ngAfterContentInit(){this.effect=this._settingsManager.getTextHoverEffect(),this.hoverEffectEnableFlag&&this._renderer.setStyle(this.el,"transition","color 300ms"),this._font&&this.initTextHoverFunctions(),this.icon&&this.initIconHoverFunctions(),this.zone.runOutsideAngular(()=>{this.disposeMouseEnter=(0,c.\u0275getDOM)().onAndCancel(this.el,"mouseenter",this.onMouseEnter.bind(this)),this.disposeMouseLeave=(0,c.\u0275getDOM)().onAndCancel(this.el,"mouseleave",this.onMouseLeave.bind(this)),this.focusMonitor.monitor(this.el).pipe((0,h.R)(this.destroy$)).subscribe(M=>{"keyboard"===M?this.onMouseEnter():this.onMouseLeave()})})}ngOnDestroy(){this.disposeMouseEnter&&this.disposeMouseEnter(),this.disposeMouseLeave&&this.disposeMouseLeave(),this.destroy$.emit(),this.destroy$.complete(),this.focusMonitor.stopMonitoring(this.el)}onMouseEnter(){this.hasTrigger||this.setTransformedStyle()}onMouseLeave(){this.hasTrigger||this.resetStyle()}setTransformedStyle(){this.hoverFontDisabled||(this._font&&this.textTransformFunction&&this.textTransformFunction(),this.icon&&this.iconTransformFunction&&this.iconTransformFunction())}resetStyle(){this._font&&this.textResetFunction&&this.textResetFunction(),this.icon&&this.iconResetFunction&&this.iconResetFunction()}initIconHoverFunctions(){switch(this.hoverEffectEnableFlag&&this._renderer.setStyle(this.icon.nativeElement,"transition","color 300ms, fill 300ms"),this.effect){case 3:this.iconTransformFunction=()=>{const M=(0,p.a7)(this.icon.color,.7);this._renderer.setStyle(this.icon.nativeElement,"color",M)},this.iconResetFunction=()=>{this._renderer.setStyle(this.icon.nativeElement,"color",this.icon.color)};break;case 4:{const M=(0,p.ST)(this.icon.color,-.3);this.iconTransformFunction=()=>{this._renderer.setStyle(this.icon.nativeElement,"color",M)},this.iconResetFunction=()=>{this._renderer.setStyle(this.icon.nativeElement,"color",this.icon.color)};break}default:this._font&&this._font.colorHover&&(this.iconTransformFunction=()=>{this._renderer.setStyle(this.icon.nativeElement,"color",this._font.colorHover)},this.iconResetFunction=()=>{this._renderer.setStyle(this.icon.nativeElement,"color",this._font.color)})}}initTextHoverFunctions(){let M;switch(this._font&&(M=this._font.hoverEffect),M||(M=this.effect),M){case 2:this.textTransformFunction=()=>{this._renderer.setStyle(this.el,"text-decoration","underline"),this._font.colorHover&&this._renderer.setStyle(this.el,"color",this._font.colorHover)},this.textResetFunction=()=>{this._renderer.setStyle(this.el,"text-decoration","none"),this._font.colorHover&&this._renderer.setStyle(this.el,"color",this._font.color)};break;case 3:{const B=(0,p.a7)(this._font.color,.7);this.textTransformFunction=()=>{this._renderer.setStyle(this.el,"color",B)},this.textResetFunction=()=>{this._renderer.setStyle(this.el,"color",this._font.color)};break}case 4:{const B=(0,p.ST)(this._font.color,-.3);this.textTransformFunction=()=>{this._renderer.setStyle(this.el,"color",B)},this.textResetFunction=()=>{this._renderer.setStyle(this.el,"color",this._font.color)};break}default:this.textTransformFunction=()=>{this._renderer.setStyle(this.el,"text-decoration","none"),this._font.colorHover&&this._renderer.setStyle(this.el,"color",this._font.colorHover)},this._font.colorHover&&(this.textResetFunction=()=>{this._renderer.setStyle(this.el,"color",this._font.color)})}}}(a=u).\u0275fac=function(M){return new(M||a)(s.Y36(_.ar,8),s.Y36(s.SBq),s.Y36(s.Qsj),s.Y36(m.pz),s.Y36(s.R0b),s.Y36(D.tE),s.Y36(b.Mm))},a.\u0275dir=s.lG2({type:a,selectors:[["","gbHoverFont",""]],inputs:{font:["gbHoverFont","font"],hoverFontDisabled:"hoverFontDisabled",linkedIcon:"linkedIcon"},features:[s.TTD]}),(0,n.gn)([(0,v.Jh)("gbsettings"),(0,n.w6)("design:type",Function),(0,n.w6)("design:paramtypes",[]),(0,n.w6)("design:returntype",void 0)],u.prototype,"ngAfterContentInit",null),(0,n.gn)([(0,v.Jh)("gbsettings"),(0,n.w6)("design:type",Function),(0,n.w6)("design:paramtypes",[]),(0,n.w6)("design:returntype",void 0)],u.prototype,"resetStyle",null);let E=(()=>{var T;class M{constructor(N,W,A){this.el=N,this.zone=W,this.focusMonitor=A,this.destroy$=new s.vpe}ngAfterContentInit(){this.targets.forEach(N=>N.hasTrigger=!0),this.zone.runOutsideAngular(()=>{this.disposeMouseEnter=(0,c.\u0275getDOM)().onAndCancel(this.el.nativeElement,"mouseenter",this.setTransformedStyles.bind(this)),this.disposeMouseLeave=(0,c.\u0275getDOM)().onAndCancel(this.el.nativeElement,"mouseleave",this.resetStyles.bind(this)),this.focusMonitor.monitor(this.el).pipe((0,h.R)(this.destroy$)).subscribe(N=>{"keyboard"===N?this.setTransformedStyles():this.resetStyles()})})}setTransformedStyles(){this.disabled||this.targets.forEach(N=>N.setTransformedStyle())}resetStyles(N=!1){this.disabled&&!N||this.targets.forEach(W=>W.resetStyle())}ngOnDestroy(){this.disposeMouseEnter&&this.disposeMouseEnter(),this.disposeMouseLeave&&this.disposeMouseLeave(),this.destroy$.emit(),this.destroy$.complete(),this.focusMonitor.stopMonitoring(this.el)}}return(T=M).\u0275fac=function(N){return new(N||T)(s.Y36(s.SBq),s.Y36(s.R0b),s.Y36(D.tE))},T.\u0275dir=s.lG2({type:T,selectors:[["","gbHoverFontTrigger",""]],contentQueries:function(N,W,A){if(1&N&&s.Suo(A,u,5),2&N){let X;s.iGM(X=s.CRH())&&(W.targets=X)}},inputs:{disabled:"disabled"}}),M})()},63328:(_e,R,r)=>{"use strict";r.d(R,{O:()=>_});var n=r(77533),s=r(25167),c=r(15202),h=r(99256),v=r(62424);let _=(()=>{var m;class b{set color(D){this._color=D}constructor(D,a,u,E){this._icon=D,this.el=a,this.renderer=u,this.focusMonitor=E,this.changeProperty="color",this.ratio=.1,this.destroy$=new n.vpe,this.focusMonitor.monitor(this.el).pipe((0,s.R)(this.destroy$)).subscribe(T=>{"keyboard"===T||"program"===T?this.setTransformedColor():this.resetColor()})}ngOnChanges(){this._color&&(this._transformedColor=(0,h.ST)(this._color,this.ratio))}ngOnDestroy(){this.focusMonitor.stopMonitoring(this.el)}setTransformedColor(){this.hoverDisabled||("color"===this.changeProperty&&this._icon?(this._icon.color=this._transformedColor,this._icon.ngOnChanges({})):this.renderer.setStyle(this.el.nativeElement,this.changeProperty,this._transformedColor))}resetColor(){this.hoverDisabled||("color"===this.changeProperty&&this._icon?(this._icon.color=this._color,this._icon.ngOnChanges({})):this.renderer.setStyle(this.el.nativeElement,this.changeProperty,this._color))}}return(m=b).\u0275fac=function(D){return new(D||m)(n.Y36(c.ar,8),n.Y36(n.SBq),n.Y36(n.Qsj),n.Y36(v.tE))},m.\u0275dir=n.lG2({type:m,selectors:[["","gbHoverPantonizedColor",""]],hostBindings:function(D,a){1&D&&n.NdJ("mouseenter",function(){return a.setTransformedColor()})("mouseleave",function(){return a.resetColor()})},inputs:{color:["gbHoverPantonizedColor","color"],changeProperty:"changeProperty",hoverDisabled:"hoverDisabled",ratio:"ratio"},features:[n.TTD]}),b})()},3290:(_e,R,r)=>{"use strict";r.d(R,{I:()=>c});var n=r(3050),s=r(77533);let c=(()=>{var h;class v{set linesToShow(m){this._linesToShow="string"==typeof m?parseInt(m):m}constructor(m,b,p){this.renderer=m,this.el=b,this.platform=p,this.fontSize=-1}ngOnInit(){this.subscription=this.platform.deviceChanged.subscribe(()=>this.applyStyles())}ngOnChanges(m){this.applyStyles()}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}applyStyles(){if(!this._linesToShow)return;let m={overflow:"hidden","text-overflow":"ellipsis","line-height":"normal"};m={...m,display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":this._linesToShow},this.setElementSyle(m)}setElementSyle(m){for(const b of Object.keys(m))this.renderer.setStyle(this.el.nativeElement,b,m[b])}}return(h=v).\u0275fac=function(m){return new(m||h)(s.Y36(s.Qsj),s.Y36(s.SBq),s.Y36(n.m))},h.\u0275dir=s.lG2({type:h,selectors:[["","gbLineClamp",""]],inputs:{linesToShow:["gbLineClamp","linesToShow"],fontSize:"fontSize"},features:[s.TTD]}),v})()},23807:(_e,R,r)=>{"use strict";r.d(R,{h:()=>D});var n=r(77533),s=r(4807),c=r(34477),h=r(60110),v=r(50999),_=r(36305),m=r(3050),b=r(21205);const p=["image"];let D=(()=>{var a;class u{constructor(T,M,B,N,W){this.platform=T,this.el=M,this.renderer=B,this.zone=N,this.scroll=W,this.factor=100}ngAfterViewInit(){if(!this.image)return;if(this.img=this.image.nativeElement,!this.img)return;if(this.renderer.setStyle(this.img,"transform","translate3d(-50%, 0, 0)"),!this.platform.isBrowser)return void this.renderer.setStyle(this.img,"height","100%");this.cell=this.el.nativeElement;const T=(0,s.R)(window,"resize"),M=this.platform.deviceChanged.pipe((0,c.g)(0),(0,h.b)(()=>{this.cellHeight=this.cell.offsetHeight,this.cellHalfHeight=this.cellHeight/2,this.imgHeight=this.img.offsetHeight;let B=1-this.cellHeight/this.imgHeight;B=Math.round(10*B)/10,this.minimalTranslatePosition=this.cellHeight*B}));this.subscription=this.zone.runOutsideAngular(()=>T.pipe((0,v.T)(this.scroll.scrolled()),(0,v.T)(M),(0,_.h)(this.inViewPort.bind(this))).subscribe(()=>{this.setThumbnailTranslation(this.scroll.scrollTop,this.scroll.offsetHeight)}))}inViewPort(){if(this.cell){const T=this.cell.getBoundingClientRect();return T.top>=-this.cellHalfHeight&&T.top<=this.scroll.offsetHeight}return!1}setThumbnailTranslation(T,M){let B;B=(this.cell.getBoundingClientRect().top+T-document.documentElement.clientTop+this.cellHalfHeight-T)*this.factor/M,B=Math.max(Math.min(B,this.minimalTranslatePosition),0),this.renderer.setStyle(this.img,"transform",`translate3d(-50%, -${B}px, 0)`)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}}return(a=u).\u0275fac=function(T){return new(T||a)(n.Y36(m.m),n.Y36(n.SBq),n.Y36(n.Qsj),n.Y36(n.R0b),n.Y36(b.a))},a.\u0275dir=n.lG2({type:a,selectors:[["","gbParallaxItem",""]],contentQueries:function(T,M,B){if(1&T&&n.Suo(B,p,5),2&T){let N;n.iGM(N=n.CRH())&&(M.image=N.first)}},inputs:{factor:["factor","factor",n.Cb_]},features:[n.Xq5]}),u})()},43034:(_e,R,r)=>{"use strict";r.d(R,{D:()=>c});var n=r(9793),s=r(77533);let c=(()=>{var h;class v{constructor(m,b){this.viewContainerRef=m,this.settingsManager=b}ngOnInit(){let m;switch(this.settingsManager.getRootType()){case"TabBar":m=Promise.all([r.e(5347),r.e(4135),r.e(8592),r.e(4109)]).then(r.bind(r,34109)).then(b=>b.TabBarModule.mainComponent);break;case"FloatingTabBar":m=Promise.all([r.e(5347),r.e(4135),r.e(8592),r.e(524)]).then(r.bind(r,60524)).then(b=>b.FloatingTabBarModule.mainComponent)}m&&this.loadTabbarMainComponent(m)}ngOnDestroy(){this.viewContainerRef.clear()}loadTabbarMainComponent(m){m.then(b=>{this.viewContainerRef.clear(),this.viewContainerRef.createComponent(b)})}}return(h=v).\u0275fac=function(m){return new(m||h)(s.Y36(s.s_b),s.Y36(n.pz))},h.\u0275dir=s.lG2({type:h,selectors:[["","gbTabbarMainHost",""]]}),v})()},86332:(_e,R,r)=>{"use strict";r.d(R,{T:()=>c});var n=r(77533),s=r(3050);let c=(()=>{var h;class v{constructor(m,b){this.el=m,this.platform=b,this.visibilityOptions={},this.visibilityObserverEnabled=!0,this.visibilityChanged=new n.vpe,this.visibilityEntryChanged=new n.vpe}ngAfterViewInit(){this.platform.isBrowser&&(this.observer=new IntersectionObserver(([m])=>{this.visibilityChanged.emit(m.intersectionRatio>0||m.isIntersecting),this.visibilityEntryChanged.emit(m)},{root:null,...this.visibilityOptions}),this.visibilityObserverEnabled&&setTimeout(()=>{this.observer.observe(this.el.nativeElement)},0))}ngOnChanges(){this.observer&&(this.visibilityObserverEnabled?this.observer.observe(this.el.nativeElement):this.observer.unobserve(this.el.nativeElement))}unobserve(){this.observer&&this.observer.unobserve(this.el.nativeElement)}ngOnDestroy(){this.observer&&this.observer.disconnect()}}return(h=v).\u0275fac=function(m){return new(m||h)(n.Y36(n.SBq),n.Y36(s.m))},h.\u0275dir=n.lG2({type:h,selectors:[["","visibilityChanged",""]],inputs:{visibilityOptions:"visibilityOptions",visibilityObserverEnabled:"visibilityObserverEnabled"},outputs:{visibilityChanged:"visibilityChanged",visibilityEntryChanged:"visibilityEntryChanged"},exportAs:["visibilityObserver"],features:[n.TTD]}),v})()},35319:(_e,R,r)=>{"use strict";r.d(R,{LG:()=>W,Nv:()=>O,GN:()=>E});var n=r(14565),s=r(77835),c=r(92769),h=r(58764),v=r(83950),_=r(28419),m=r(26682),b=r(24257),p=r(98238),D=r(3050),a=r(9793),u=r(99256);let E=(()=>{var k;class I{constructor(P){this._id=P.getString(I.ID,""),this._birthday=P.getString(I.BIRTHDAY,""),this._email=P.getString(I.EMAIL,""),this._gender=P.getString(I.GENDER,""),this._link=P.getString(I.LINK,""),this._locale=P.getString(I.LOCALE,""),this._name=P.getString(I.NAME,""),this._picture="";const H=P.getJsonObject(I.PICTURE);if(H){const V=H.getJsonObject(I.PICTURE_DATA);V&&(this._picture=V.getString(I.PICTURE_DATA_URL,""))}this._nbFriends=0,P.getJsonObject(I.FRIENDS)&&P.getJsonObject(I.FRIENDS_SUMMARY)&&(this._nbFriends=P.getNumber(I.FRIENDS_SUMMARY_TOTAL_COUNT,0)),this._location="",P.getJsonObject(I.LOCATION)&&(this._location=P.getString(I.LOCATION_NAME,""))}get id(){return this._id}get birthday(){return this._birthday}get email(){return this._email}get gender(){return this._gender}get link(){return this._link}get locale(){return this._locale}get location(){return this._location}get name(){return this._name}get nbFriends(){return this._nbFriends}get picture(){return this._picture}}return(k=I).ID="id",k.BIRTHDAY="birthday",k.EMAIL="email",k.FRIENDS="friends",k.FRIENDS_SUMMARY="summary",k.FRIENDS_SUMMARY_TOTAL_COUNT="total_count",k.GENDER="gender",k.LINK="link",k.LOCALE="locale",k.LOCATION="location",k.LOCATION_NAME="name",k.NAME="name",k.PICTURE="picture",k.PICTURE_DATA="data",k.PICTURE_DATA_URL="url",I})();var T=r(77533),M=r(55096);let W=(()=>{var k;class I{get redirectUri(){const P=this.platform.windowRef.location;return P.protocol+"//"+P.host+this.router.url}constructor(P,H,$,J,V){this.doc=P,this.languagesManager=H,this.platform=$,this.settingsManager=J,this.router=V,this.dom=(0,n.\u0275getDOM)(),this.signupStatePrefix="pwasignupredirect-",this.loginStatePrefix="pwaloginredirect-",this.initialize()}renderXfbmlElement(P){(0,s.F)(1e3).pipe((0,v.o)(()=>!("FB"in this.platform.windowRef))).subscribe({complete:()=>FB.XFBML.parse(P)})}getUserInfos(P="login"){if(!this.platform.isBrowser)return c.E;const H={fields:"picture.type(large),id,name,link,gender,locale,location,birthday,email,friends"};return this.getLoginStatus(P).pipe((0,_.w)(()=>new h.y($=>{FB.api("/me","get",H,J=>{const V=new u.sT(J),le=V.getJsonObject("error");le?$.error(le.getString("message")):($.next(new E(V)),$.complete())})})))}hasOAuth2LoginSuccess(){const P=this.router.parseUrl(this.router.url),H=P.queryParamMap.get("state");return H&&H===`${this.loginStatePrefix}${this.settingsManager.getIdWebzine()}`&&P.queryParamMap.has("code")}hasOAuth2SignupSuccess(){const P=this.router.parseUrl(this.router.url),H=P.queryParamMap.get("state");return H&&H===`${this.signupStatePrefix}${this.settingsManager.getIdWebzine()}`&&P.queryParamMap.has("code")}initialize(){if(!this.platform.isBrowser||(this.platform.windowRef.fbAsyncInit=()=>{FB.init({appId:`${(0,b.dU)().facebookAppId}`,version:"v11.0",status:!0})},"FB"in this.platform.windowRef))return;const P=this.dom.createElement("script");P.setAttribute("id","facebook-jssdk"),P.setAttribute("async","true"),P.setAttribute("defer","true"),P.src="//connect.facebook.net/en_US/sdk.js",this.doc.body.appendChild(P)}getLoginStatus(P){return new h.y(H=>{const $=()=>{FB.getLoginStatus(J=>{J.authResponse?(H.next(J),H.complete()):H.error(this.languagesManager.getString("GB_SETTINGS_8"))})};if("FB"in this.platform.windowRef)$();else{const J=this.platform.windowRef.fbAsyncInit;this.platform.windowRef.fbAsyncInit=()=>{"function"==typeof J&&J(),$()}}}).pipe((0,m.K)(()=>this.login(P)))}login(P){const H=I.PERMISSIONS.join(",");return this.platform.isIOS&&this.platform.windowRef.navigator.standalone&&this.platform.iOSVersion<12.2?(this.platform.windowRef.location=`https://www.facebook.com/dialog/oauth?\n                client_id=${(0,b.dU)().facebookAppId}&\n                redirect_uri=${this.redirectUri}&\n                state=${"signup"===P?this.signupStatePrefix:this.loginStatePrefix}${this.settingsManager.getIdWebzine()}&\n                scope=${H}`,c.E):new h.y($=>{FB.login(V=>{V.authResponse?($.next(V),$.complete()):$.error(this.languagesManager.getString("GB_SETTINGS_8"))},{scope:H})})}}return(k=I).PERMISSIONS=["email"],k.\u0275fac=function(P){return new(P||k)(T.LFG(n.DOCUMENT),T.LFG(p.h),T.LFG(D.m),T.LFG(a.pz),T.LFG(M.F0))},k.\u0275prov=T.Yz7({token:k,factory:k.\u0275fac,providedIn:"root"}),I})();var A=r(25200);let O=(()=>{var k;class I extends A.q{constructor(){super(550,420)}openSharingDialog(P,H){let $=`https://www.facebook.com/sharer.php?u=${P}`;return H&&($+=`&title=${encodeURIComponent(H)}`),this.openPopup($)}}return(k=I).\u0275fac=function(P){return new(P||k)},k.\u0275prov=T.Yz7({token:k,factory:k.\u0275fac,providedIn:"root"}),I})()},26435:(_e,R,r)=>{"use strict";r.d(R,{U:()=>n});class n{static passwordConfirm(c,h){return v=>c.value&&c.value!==h.value?(h.setErrors({isDifferent:!0}),{hasDifference:!0}):(h.value&&h.setErrors(null),null)}}},41200:(_e,R,r)=>{"use strict";r.d(R,{f:()=>M});var n=r(54505),s=r(12494),c=r(58764),h=r(57495),v=r(28419),_=r(55612),m=r(63342),b=r(3050),p=r(9793),D=r(77533),a=r(80697);const u=12e4;let M=(()=>{var B;class N{constructor(A,X,U,O,k){this.settingsManager=A,this.logger=X,this.localStorage=U,this.platform=O,this.pwaFacade=k}get lastPosition(){return this._lastPosition}isBetterPosition(A,X){return!X||A.timestamp-X.timestamp>3e5||!(A.coords.accuracy-X.coords.accuracy>200)}getCurrentPosition(){return this.settingsManager.getGeneralGeolocDisabled()||!this.platform.isBrowser||this.platform.isPortalApp?(0,n._)(()=>new Error("Geolocation disabled")):(this._lastPosition||(this._lastPosition=this.getLastPositionFromCache()),this._lastPosition&&(new Date).getTime()-this._lastPosition.timestamp<u?(0,s.of)(this._lastPosition):this.getNewPosition())}watchDevicePosition(){if(this.settingsManager.getGeneralGeolocDisabled()||!this.platform.isBrowser||this.platform.isPortalApp)return(0,n._)(()=>new Error("Geolocation disabled"));const A=new c.y(X=>{let U;return navigator&&navigator.geolocation?U=navigator.geolocation.watchPosition(I=>X.next(I),I=>X.error(I),{maximumAge:u,timeout:5e3,enableHighAccuracy:!0}):X.error(new Error("No Geolocation")),()=>{navigator&&navigator.geolocation&&U&&navigator.geolocation.clearWatch(U)}});return this.pwaFacade.pausePrompts$.pipe((0,h.P)(X=>!X),(0,v.w)(()=>A))}getNewPosition(){const A=new c.y(X=>{const U=k=>{this.isBetterPosition(k,this._lastPosition)?(X.next(k),X.complete(),this._lastPosition=k,this.setLastPositionInCache(k),this.logger.debug("Geolocation success",k)):(X.next(this._lastPosition),X.complete(),this.logger.debug("Geolocation success from cache",this._lastPosition))},O=k=>{this._lastPosition&&this._lastPosition.timestamp-(new Date).getTime()<6e5?(X.next(this._lastPosition),X.complete(),this.logger.debug("Geolocation failed, got value from cache",this._lastPosition)):(X.error(k),this.logger.warning("Geolocation failed",k))};if(navigator&&navigator.geolocation){const k=()=>{};setTimeout(()=>{navigator.geolocation.getCurrentPosition(k,k,{}),navigator.geolocation.getCurrentPosition(U,O,{maximumAge:u,timeout:5e3,enableHighAccuracy:!0})},1e3)}else X.error(new Error("No Geolocation"))});return this.pwaFacade.pausePrompts$.pipe((0,h.P)(X=>!X),(0,v.w)(()=>A))}updatePosition(A){}getLastPositionFromCache(){return JSON.parse(this.localStorage.getItem("lastPosition"))}setLastPositionInCache(A){this.localStorage.setItem("lastPosition",JSON.stringify({coords:{accuracy:A.coords.accuracy,latitude:A.coords.latitude,longitude:A.coords.longitude},timestamp:A.timestamp}))}}return(B=N).\u0275fac=function(A){return new(A||B)(D.LFG(p.pz),D.LFG(a.Y),D.LFG(m.n2),D.LFG(b.m),D.LFG(_.MB))},B.\u0275prov=D.Yz7({token:B,factory:B.\u0275fac,providedIn:"root"}),N})()},22817:(_e,R,r)=>{"use strict";r.d(R,{a:()=>s});var n=r(77533);let s=(()=>{var c;class h{}return(c=h).\u0275fac=function(_){return new(_||c)},c.\u0275dir=n.lG2({type:c,selectors:[["","gbHorizontalScrollCell",""]]}),h})()},73301:(_e,R,r)=>{"use strict";r.d(R,{f:()=>U});var n=r(77533),s=r(30018),c=r(34477),h=r(25167),v=r(36305),_=r(15202),m=r(3050),b=r(22817);const p=["scrollableList"],D=["arrowLeft"],a=["arrowRight"];function u(O,k){if(1&O){const I=n.EpF();n.TgZ(0,"button",7),n.NdJ("click",function(){n.CHM(I);const P=n.oxw(2);return n.KtG(P.prev())}),n._UZ(1,"i",8),n.qZA()}}function E(O,k){if(1&O&&(n.ynx(0),n.YNc(1,u,2,0,"button",6),n.BQk()),2&O){const I=n.oxw(),F=n.MAs(3);n.xp6(1),n.Q6J("ngIf",I.arrowsVisible&&F.scrollLeft>0)}}function T(O,k){if(1&O){const I=n.EpF();n.TgZ(0,"button",10),n.NdJ("click",function(){n.CHM(I);const P=n.oxw(2);return n.KtG(P.next())}),n._UZ(1,"i",8),n.qZA()}}function M(O,k){if(1&O&&(n.ynx(0),n.YNc(1,T,2,0,"button",9),n.BQk()),2&O){const I=n.oxw();n.xp6(1),n.Q6J("ngIf",I.arrowsVisible)}}function B(O,k){if(1&O){const I=n.EpF();n.TgZ(0,"span",12),n.NdJ("click",function(){n.CHM(I);const P=n.oxw(2);return n.KtG(P.prev())}),n._UZ(1,"i",13),n.qZA()}if(2&O){const I=n.oxw(2);n.xp6(1),n.Q6J("gbuiIcon",I.leftIcon)("size",I.outSideArrowsSize)("color",I.arrowColor)}}function N(O,k){if(1&O&&n.YNc(0,B,2,3,"span",11),2&O){const I=n.oxw();n.Q6J("ngIf",I.arrowsVisible)}}function W(O,k){if(1&O){const I=n.EpF();n.TgZ(0,"span",12),n.NdJ("click",function(){n.CHM(I);const P=n.oxw(2);return n.KtG(P.next())}),n._UZ(1,"i",14),n.qZA()}if(2&O){const I=n.oxw(2);n.xp6(1),n.Q6J("gbuiIcon",I.rightIcon)("size",I.outSideArrowsSize)("color",I.arrowColor)}}function A(O,k){if(1&O&&n.YNc(0,W,2,3,"span",11),2&O){const I=n.oxw();n.Q6J("ngIf",I.arrowsVisible)}}const X=["*"];let U=(()=>{var O;class k{get outSideArrowsSize(){return this.platform.isDesktopSize()?this.platform.bigScreen?84:64:54}constructor(F,P,H){this.platform=F,this.cdr=P,this.materialService=H,this.arrows=!1,this.arrowsOutside=!1,this.arrowColor="#ffffff",this.isRTL=!1,this.leftAlignmentLimit=1,this.listScroll=new n.vpe,this.destroyed$=new n.vpe,this.cellWidth=0,this.listWidth=0,this.nbCells=0,this.alignFlexCenter=!1,this.leftIcon=this.materialService.createGBUIIconWithId("976"),this.rightIcon=this.materialService.createGBUIIconWithId("977")}ngAfterContentInit(){this.cells.changes.pipe((0,s.O)(this.cells),(0,c.g)(10),(0,h.R)(this.destroyed$),(0,v.h)(F=>F.length>0)).subscribe(F=>{this.nbCells=F.length,this.cellWidth=F.first.nativeElement.offsetWidth,this.listWidth=this.cellWidth*this.nbCells,this.setArrowsVisibility()})}ngAfterViewInit(){this.platform.isBrowser&&setTimeout(()=>this.setArrowsVisibility(),10)}ngOnDestroy(){this.destroyed$.emit(),this.destroyed$.complete()}next(){this.list.nativeElement.scrollBy(this.isRTL?-this.cellWidth:this.cellWidth,0)}prev(){this.list.nativeElement.scrollBy(this.isRTL?this.cellWidth:-this.cellWidth,0)}setArrowsVisibility(){this.alignFlexCenter=this.list.nativeElement.scrollWidth<=this.list.nativeElement.offsetWidth,this.arrowsVisible=this.arrows&&this.list.nativeElement.offsetWidth<this.listWidth,this.cdr.markForCheck()}onScroll(F){this.listScroll.emit(F)}}return(O=k).\u0275fac=function(F){return new(F||O)(n.Y36(m.m),n.Y36(n.sBO),n.Y36(_.U0))},O.\u0275cmp=n.Xpm({type:O,selectors:[["gb-horizontal-scroll"],["","gbAMPHorizontalScroll",""]],contentQueries:function(F,P,H){if(1&F&&n.Suo(H,b.a,4,n.SBq),2&F){let $;n.iGM($=n.CRH())&&(P.cells=$)}},viewQuery:function(F,P){if(1&F&&(n.Gf(p,7),n.Gf(D,7),n.Gf(a,7)),2&F){let H;n.iGM(H=n.CRH())&&(P.list=H.first),n.iGM(H=n.CRH())&&(P.arrowLeft=H.first),n.iGM(H=n.CRH())&&(P.arrowRight=H.first)}},hostBindings:function(F,P){1&F&&n.NdJ("resize",function(){return P.setArrowsVisibility()},!1,n.Jf7)},inputs:{arrows:"arrows",arrowsOutside:"arrowsOutside",arrowColor:"arrowColor",isRTL:"isRTL",leftAlignmentLimit:"leftAlignmentLimit"},outputs:{listScroll:"listScroll"},ngContentSelectors:X,decls:10,vars:6,consts:[[1,"list-body"],[4,"ngIf"],[1,"list-body-content",3,"scroll"],["scrollableList",""],["arrowLeft",""],["arrowRight",""],["class","prev-arrow",3,"click",4,"ngIf"],[1,"prev-arrow",3,"click"],["gbIcon","","iconUrl","button-back-arrow6","color","#ffffff","size","20"],["class","next-arrow",3,"click",4,"ngIf"],[1,"next-arrow",3,"click"],["class","arrow-outside",3,"click",4,"ngIf"],[1,"arrow-outside",3,"click"],[1,"left-arrow",3,"gbuiIcon","size","color"],[1,"right-arrow",3,"gbuiIcon","size","color"]],template:function(F,P){1&F&&(n.F$t(),n.TgZ(0,"div",0),n.YNc(1,E,2,1,"ng-container",1),n.TgZ(2,"div",2,3),n.NdJ("scroll",function($){return P.onScroll($)}),n.Hsn(4),n.qZA(),n.YNc(5,M,2,1,"ng-container",1),n.qZA(),n.YNc(6,N,1,1,"ng-template",null,4,n.W1O)(8,A,1,1,"ng-template",null,5,n.W1O)),2&F&&(n.ekj("left-aligned",P.nbCells<=P.leftAlignmentLimit),n.xp6(1),n.Q6J("ngIf",!P.arrowsOutside),n.xp6(1),n.ekj("center-list",P.alignFlexCenter),n.xp6(3),n.Q6J("ngIf",!P.arrowsOutside))},styles:["[_nghost-%COMP%]{display:block;--hs-list-padding: 0px;--hs-list-gap: var(--hs-list-padding);--container-width: var(--hs-container-width, none)}.prev-arrow[_ngcontent-%COMP%], .next-arrow[_ngcontent-%COMP%]{border-radius:50%;background-color:#0006;border:none;width:55px;height:55px;outline:none;position:absolute;z-index:20;top:50%;transform:translateY(-50%);cursor:pointer}.prev-arrow[_ngcontent-%COMP%]   [gbIcon][_ngcontent-%COMP%], .next-arrow[_ngcontent-%COMP%]   [gbIcon][_ngcontent-%COMP%]{display:block}.prev-arrow[_ngcontent-%COMP%]{left:24px}.arrow-outside[_ngcontent-%COMP%]{display:flex;flex-shrink:0;margin:0 12px;cursor:pointer}.next-arrow[_ngcontent-%COMP%]{right:24px}.next-arrow[_ngcontent-%COMP%]   [gbIcon][_ngcontent-%COMP%]{transform:rotateY(180deg)}.list-body[_ngcontent-%COMP%]{position:relative;display:flex;align-items:center;margin:0 auto;max-width:var(--container-width)}.list-body[_ngcontent-%COMP%]:not(.left-aligned){justify-content:center}.list-body[_ngcontent-%COMP%]   .list-body-content[_ngcontent-%COMP%]{display:flex;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-behavior:smooth;justify-content:flex-start;flex-flow:row nowrap;width:100%;padding:var(--hs-list-padding);gap:var(--hs-list-gap)}.list-body[_ngcontent-%COMP%]   .list-body-content.center-list[_ngcontent-%COMP%]{justify-content:center}.list-body[_ngcontent-%COMP%]   .list-body-content[_ngcontent-%COMP%]    >[gbHorizontalScrollCell]{scroll-snap-align:center;flex-shrink:0;padding:0}@media only screen and (orientation: portrait) and (min-width: 600px) and (max-width: 1024px),only screen and (orientation: landscape) and (min-width: 960px) and (max-width: 1279px){.prev-arrow[_ngcontent-%COMP%], .next-arrow[_ngcontent-%COMP%], .arrow-outside[_ngcontent-%COMP%]{display:none}}@media only screen and (orientation: portrait) and (max-width: 599px),only screen and (orientation: landscape) and (max-width: 959px){.prev-arrow[_ngcontent-%COMP%], .next-arrow[_ngcontent-%COMP%], .arrow-outside[_ngcontent-%COMP%]{display:none}}"],changeDetection:0}),k})()},4630:(_e,R,r)=>{"use strict";r.d(R,{fH:()=>s.f,lh:()=>c});var n=r(22817),s=r(73301);const c=[s.f,n.a]},59372:(_e,R,r)=>{"use strict";r.d(R,{h:()=>v});var n=r(3050),s=r(9793),c=r(99256),h=r(77533);let v=(()=>{var _;class m{constructor(p,D){this.settingsManager=p,this.platform=D}createColorImageUrl(p,D,a=1,u){let E;/\.png/.exec(p)?(E=p,E.startsWith("//")&&(E="http:"+E)):E=(0,c.dW)(`assets/img/gbpreview/mask/${p}.png`);const T=this.settingsManager.timestamp,M=this.base64Encode(`${E},${D},${u},${a}`);return(0,c.Do)(this.settingsManager.getCdnBaseUrl(),`/apiv3/colorImage/?seek=${M}&v=${T}`)}base64Encode(p){return this.platform.isBrowser?btoa(p):Buffer.from(p).toString("base64")}}return(_=m).\u0275fac=function(p){return new(p||_)(h.LFG(s.pz),h.LFG(n.m))},_.\u0275prov=h.Yz7({token:_,factory:_.\u0275fac,providedIn:"root"}),m})()},30435:(_e,R,r)=>{"use strict";r.d(R,{a:()=>T});var n=r(14565),s=r(93634),c=r(77533),h=r(97478),v=r(63342),_=r(3050),m=r(9793),b=r(99256),p=r(59372),D=r(59322);const a="/assets/gbicon/img/v",E="/assets/gbicon/img/materialicons-";let T=(()=>{var M;class B{constructor(W,A,X,U,O,k,I,F){this.el=W,this.renderer=A,this.platform=X,this.settingsManager=U,this.colorImageManager=O,this.memoryCache=k,this.httpClient=I,this.doc=F,this.opacity=1,this.backgroundImageSize="cover",this.dom=(0,n.\u0275getDOM)()}ngOnChanges(W){if("string"!=typeof this.iconUrl)return;W.color&&W.color.isFirstChange()&&(this.initialColor=this.color);const A=W.iconUrl&&W.iconUrl.currentValue!==W.iconUrl.previousValue||!1;this.resetStyle(A),this.font instanceof m.T7&&(this.initializeFromFont(),this.subscription&&this.subscription.unsubscribe(),this.subscription=this.platform.deviceChanged.pipe((0,h.U)(X=>(0,b.ce)(this.font,X))).subscribe(X=>{this.size=X,this.renderIcon(A)})),this.renderIcon(A)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}get nativeElement(){return this.el.nativeElement}renderIcon(W){const A=this.iconUrlIsCustomImage();if(!1===this.isSvg()&&(this.isColored||this.texture||this.iconUrlIsExternalMask()||A||this.platform.isAmpApp)){const X=this.size?this.size:32;this.applyStyle("width",`${X}px`),this.applyStyle("height",`${X}px`),this.renderer.addClass(this.el.nativeElement,"image-icon"),this.isColored||A?this.renderAlreadyColoredIcon():this.renderApiColoredIcon()}else this.renderSvgIcon(W)}renderAlreadyColoredIcon(){this.applyStyle("background-image",`url("${this.iconUrl}?v=${this.settingsManager.timestamp}")`)}renderApiColoredIcon(){const W=this.colorImageManager.createColorImageUrl(this.iconUrl,this.color,this.opacity,this.texture);this.applyStyle("background-image",`url("${W}")`)}renderSvgIcon(W){let A="gbicongeneric",X=this.getIconId();const U=this.size?this.size:24;if(this.isGBCssIcon()){const O=this.iconUrl.split(a)[1][0];A=`gbiconv${O}`,X=`icon-gbiconv${O}-${X}`}else if(this.isPersoIcon())A="custom",X=`icon-perso-${X.split("-").shift()}`,this.loadCustomCssStylesheet();else if(this.isSvg()){A="svg";const O=()=>{this.applyStyle("width",`${U}px`),this.applyStyle("height",`${U}px`),this.applyStyle("fill",(0,b.a7)(this.color,this.opacity))};W?this.getSvg().subscribe(k=>{const I=this.renderer.createElement("template");I.innerHTML=k,this.replaceElementChildren(I.content),I.remove(),O()}):O()}else X=/^icon/g.test(X)?X.replace("icon-","icon-gbicongeneric-").toLowerCase():`icon-gbicongeneric-${X.toLowerCase()}`;this.activeFamilyClass=A,this.activeIconId=X,this.renderer.addClass(this.el.nativeElement,A),this.renderer.addClass(this.el.nativeElement,X),this.applyStyle("font-size",`${U}px`),this.applyStyle("color",(0,b.a7)(this.color,this.opacity)),this.colorGradient&&this.colorGradient.enabled&&(this.applyStyle("-webkit-background-clip","text"),this.applyStyle("-webkit-text-fill-color","transparent"),this.applyStyle("background-image",(0,b.t_)(this.colorGradient)))}isPersoIcon(){return/\/apiv3\/(release\/iphone\/[0-9]+\/)?icons\//g.test(this.iconUrl)}isGBCssIcon(){return this.iconUrl.indexOf(a)>-1}getIconId(){return this.iconUrl.split("/").pop().split(".").shift()}isSvg(){return this.iconUrl.indexOf(E)>-1||!1}getSvg(){const W=this.pngToSvgPath();return this.memoryCache.get(this.iconUrl,this.httpClient.get(W,{context:(new s.qT).set(v.CN,!0),responseType:"text"}),1/0)}initializeFromFont(){!this.initialColor&&this.font.color&&(this.color=this.font.color),this.size||(this.size=(0,b.ce)(this.font,this.platform.deviceType))}resetStyle(W){W&&this.replaceElementChildren(),this.applyStyle("background-size",this.backgroundImageSize),this.applyStyle("background-image",null),this.applyStyle("color",null),this.applyStyle("width",null),this.applyStyle("height",null),this.renderer.removeClass(this.el.nativeElement,"image-icon"),this.renderer.removeClass(this.el.nativeElement,"svg"),this.activeIconId&&this.renderer.removeClass(this.el.nativeElement,this.activeIconId),this.activeFamilyClass&&this.renderer.removeClass(this.el.nativeElement,this.activeFamilyClass)}applyStyle(W,A){this.renderer.setStyle(this.el.nativeElement,W,A)}loadCustomCssStylesheet(){if(this.doc.head.querySelector("#custom-icons"))return;const W=this.dom.createElement("link");W.setAttribute("rel","stylesheet"),W.setAttribute("id","custom-icons"),W.setAttribute("href",`${this.settingsManager.getCdnBaseUrl(!0)}/apiv3/icons/svg/custom.css?v=${this.settingsManager.timestamp}`),this.doc.head.appendChild(W)}iconUrlIsExternalMask(){return/\.png/.test(this.iconUrl)&&!this.isPersoIcon()&&!this.isGBCssIcon()&&-1===this.iconUrl.indexOf("/assets/gbicon/img/generic")&&(this.iconUrl.startsWith("//")||this.iconUrl.startsWith("http"))}iconUrlIsCustomImage(){return/\/apiv3\/icons\/color\/[0-9]+\.png(?:\?.*)?$/gi.test(this.iconUrl)}pngToSvgPath(){const W=new RegExp(`(${E}\\w+)\\/\\d+\\/(\\d+)\\.png$`);return this.iconUrl.replace(W,"$1/svg/$2.svg")}replaceElementChildren(W){Array.from(this.el.nativeElement.children).forEach(A=>{this.renderer.removeChild(this.el.nativeElement,A)}),W&&this.renderer.appendChild(this.el.nativeElement,W)}}return(M=B).\u0275fac=function(W){return new(W||M)(c.Y36(c.SBq),c.Y36(c.Qsj),c.Y36(_.m),c.Y36(m.pz),c.Y36(p.h),c.Y36(D.P),c.Y36(s.eN),c.Y36(n.DOCUMENT))},M.\u0275dir=c.lG2({type:M,selectors:[["","gbIcon",""]],inputs:{iconUrl:"iconUrl",color:"color",texture:"texture",opacity:"opacity",isColored:"isColored",size:["size","size",c.Cb_],font:"font",backgroundImageSize:"backgroundImageSize",colorGradient:"colorGradient"},exportAs:["gbIcon"],features:[c.Xq5,c.TTD]}),B})()},66215:(_e,R,r)=>{"use strict";r.d(R,{p:()=>s});var n=r(77533);let s=(()=>{var c;class h{}return(c=h).\u0275fac=function(_){return new(_||c)},c.\u0275mod=n.oAB({type:c}),c.\u0275inj=n.cJS({}),h})()},15202:(_e,R,r)=>{"use strict";r.d(R,{h0:()=>s.h,ar:()=>n.a,U0:()=>_});var n=r(30435),s=r(59372),c=r(9793),h=r(99256),v=r(77533);let _=(()=>{var m;class b{constructor(D){this.settingsManager=D}createGBUIIconWithId(D,a="sharp"){return{identifier:(0,h.LC)(this.settingsManager.getMostAccurateBaseUrl(),this.settingsManager.getCdnBaseUrl(),`/assets/gbicon/img/materialicons-${a}/260/${D}.png`),isColored:!1}}}return(m=b).\u0275fac=function(D){return new(D||m)(v.LFG(c.pz))},m.\u0275prov=v.Yz7({token:m,factory:m.\u0275fac,providedIn:"root"}),b})()},70328:(_e,R,r)=>{"use strict";r.d(R,{z:()=>_});var n=r(3050),s=r(77533);const c=["content"],h=[[["iframe"]]],v=["iframe"];let _=(()=>{var m;class b{constructor(D,a){this.platform=D,this.renderer=a,this.scrollEnabled=!0}ngAfterViewInit(){this.platform.isIOS&&this.content&&this.scrollEnabled&&setTimeout(()=>this.renderer.setStyle(this.content.nativeElement,"overflow","auto"),300)}}return(m=b).\u0275fac=function(D){return new(D||m)(s.Y36(n.m),s.Y36(s.Qsj))},m.\u0275cmp=s.Xpm({type:m,selectors:[["gb-iframe-container"]],viewQuery:function(D,a){if(1&D&&s.Gf(c,7),2&D){let u;s.iGM(u=s.CRH())&&(a.content=u.first)}},inputs:{scrollEnabled:"scrollEnabled"},ngContentSelectors:v,decls:3,vars:2,consts:[[1,"content"],["content",""]],template:function(D,a){1&D&&(s.F$t(h),s.TgZ(0,"div",0,1),s.Hsn(2),s.qZA()),2&D&&s.ekj("no-scroll",!a.scrollEnabled)},styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;flex:1;height:100%;position:relative;font-size:0;line-height:initial;border-radius:inherit;overflow:auto}.content[_ngcontent-%COMP%]{position:absolute;inset:0}.content.no-scroll[_ngcontent-%COMP%]{overflow:hidden}.content[_ngcontent-%COMP%]     iframe{overflow:hidden;height:100%;width:100%}"]}),b})()},4482:(_e,R,r)=>{"use strict";r.d(R,{S:()=>I});var M,n=r(97582),s=r(21796),c=r(77533),h=r(28111),v=r(17619),_=r(3050),m=r(9793),b=r(99256),p=r(21112),D=r(27017),a=r(27190),u=r(45781),E=r(62424),T=r(14565);const B=(F,P)=>P.srcset;function N(F,P){if(1&F&&c._UZ(0,"source",6),2&F){const H=P.$implicit;c.Q6J("media",H.media)("srcset",H.srcset)}}function W(F,P){if(1&F&&c._UZ(0,"source",7),2&F){const H=P.$implicit;c.Q6J("media",H.media)("srcset",H.srcset)}}function A(F,P){if(1&F&&c.SjG(0,W,1,2,"source",7,B),2&F){const H=c.oxw(2);c.wJu(H.webpArtDirectionSources)}}function X(F,P){if(1&F&&(c.SjG(0,N,1,2,"source",6,B),c.YNc(2,A,2,0)),2&F){const H=c.oxw();c.wJu(H.artDirectionSources),c.xp6(2),c.um2(2,H.webpArtDirectionSources?2:-1)}}function U(F,P){if(1&F&&c._UZ(0,"source",8),2&F){const H=c.oxw();c.Q6J("sizes",H.src&&H.adaptiveSizes||"")("srcset",H.src&&H.webpSrcSet)}}const k=(0,s.X$)("fadeIn",[(0,s.SB)("in",(0,s.oB)({opacity:"*"})),(0,s.eR)("* => in",[(0,s.oB)({opacity:0}),(0,s.jt)("200ms ease-out")])]);class I{get paddingTop(){if(this.shiftTop){let P;return P=this.responsiveSize?this.sanitizer.bypassSecurityTrustStyle(`calc(${this.responsiveSize}% + var(--visible-safe-header-inset-bottom))`):"var(--visible-safe-header-inset-bottom)",P}return this.responsiveSize?`${this.responsiveSize}%`:"initial"}get innerPaddingTop(){return this.shiftTop?"var(--visible-safe-header-inset-bottom)":"0px"}get responsiveSize(){return this._responsiveSize}set responsiveSize(P){isNaN(P)?this._responsiveSize=0:(this._responsiveSize=P,this.height="0")}constructor(P,H,$,J,V,le,ge,te){this.settingsManager=P,this.sanitizer=H,this.el=$,this.platform=J,this.focusMonitor=V,this.seo=ge,this.disableEffect=!1,this.imageOpacity=1,this.element=this.el.nativeElement,this.focusSubscription=this.focusMonitor.monitor(this.el,!0).subscribe();let We="eager"===le;We||te.limit&&(te.iterator++,We=te.iterator<=te.limit),this.lazyLoad=!We}ngOnChanges(P){if(this.initImageHoverEffect(),this.focalPoint){if("string"==typeof this.focalPoint){const H=this.focalPoint.match(/([0-9]+)x([0-9]+)/);this.backgroundPosition=`${H[1]}% ${H[2]}%`}Array.isArray(this.focalPoint)&&(this.backgroundPosition=`${this.focalPoint[0]}% ${this.focalPoint[1]}%`)}this.platform.isAmpApp&&(this.lazyLoad=!1),(!P.src||P.src.currentValue!==P.src.previousValue)&&(this.loaded=!1),this.defaultSrc||(this.defaultSrc=(0,b.QM)("front-assets/img/transparent.png")),(!this.src||!this.loaded)&&this.load()}initImageHoverEffect(){const P={"image-effect-opacity":!1,"image-effect-zoom":!1,"image-effect-dezoom":!1};if(!this.disableEffect){switch(this.settingsManager.getImageHoverEffect()){case 4:P["image-effect-opacity"]=!0;break;case 2:P["image-effect-zoom"]=!0;break;case 3:P["image-effect-dezoom"]=!0}P!=this.effectClass&&(this.effectClass=P)}}ngOnDestroy(){this.focusMonitor.stopMonitoring(this.el),this.focusSubscription.unsubscribe()}load(){this.effectClass={loaded:!0,...this.effectClass},this.enableWebpOnSrcSet(),this.addLazyloadStrategyLinkMeta(),this.enableWebpOnArtDirectionSources(),this.loaded=!0}addLazyloadStrategyLinkMeta(){if(this.lazyLoad)try{const P=new URL(this.webpSrc||this.src);this.seo.preconnectTo(P.origin),this.adaptiveSizes=`auto, ${this.adaptiveSizes}`}catch{}else this.seo.preloadResponsiveImage(this.webpSrc||this.src,this.webpSrcSet||this.adaptiveSrcSet,this.adaptiveSizes)}enableWebpOnSrcSet(){this.platform.webpEnabled&&(0,p.T)(this.src)?(this.webpSrc=(0,p.K)(this.src),this.webpSrcSet=(0,p.K)(this.adaptiveSrcSet||this.src)):(this.webpSrc=null,this.webpSrcSet=null)}enableWebpOnArtDirectionSources(){this.artDirectionSources&&this.artDirectionSources.length&&(this.webpArtDirectionSources=[],this.artDirectionSources.forEach(P=>{this.platform.webpEnabled&&(0,p.T)(P.srcset)&&this.webpArtDirectionSources.push({media:P.media,srcset:(0,p.K)(P.srcset)})}))}}(M=I).\u0275fac=function(P){return new(P||M)(c.Y36(m.pz),c.Y36(u.H7),c.Y36(c.SBq),c.Y36(_.m),c.Y36(E.tE),c.Y36(D.r),c.Y36(h.L),c.Y36(a.V$))},M.\u0275cmp=c.Xpm({type:M,selectors:[["gb-background-image"],["","gbAMPBackgroundImage",""]],inputs:{src:"src",adaptiveSrcSet:"adaptiveSrcSet",adaptiveSizes:"adaptiveSizes",defaultSrc:"defaultSrc",backgroundColor:"backgroundColor",height:"height",disableEffect:["disableEffect","disableEffect",c.VuI],imageOpacity:"imageOpacity",shiftTop:"shiftTop",lazyLoad:"lazyLoad",focalPoint:"focalPoint",alt:"alt",artDirectionSources:"artDirectionSources",responsiveSize:"responsiveSize"},features:[c.Xq5,c.TTD],ngContentSelectors:["*"],decls:9,vars:23,consts:[[1,"image-container"],[1,"image-host"],[1,"image",3,"ngClass"],["type","image/webp",3,"sizes","srcset",4,"ngIf"],[1,"lazy-image",3,"alt","srcset","sizes","src"],[1,"inner"],[3,"media","srcset"],["type","image/webp",3,"media","srcset"],["type","image/webp",3,"sizes","srcset"]],template:function(P,H){1&P&&(c.F$t(),c.TgZ(0,"div",0)(1,"div",1)(2,"div",2)(3,"picture"),c.YNc(4,X,3,1)(5,U,1,2,"source",3),c._UZ(6,"img",4),c.qZA()()(),c.TgZ(7,"div",5),c.Hsn(8),c.qZA()()),2&P&&(c.Udp("height",H.height)("padding-top",H.paddingTop),c.ekj("responsive",H.responsiveSize>0),c.xp6(2),c.Udp("opacity",H.imageOpacity),c.Q6J("ngClass",H.effectClass),c.xp6(2),c.um2(4,H.artDirectionSources?4:-1),c.xp6(1),c.Q6J("ngIf",H.webpSrcSet),c.xp6(1),c.Udp("object-position",H.backgroundPosition)("background-color",H.backgroundColor),c.Q6J("alt",H.alt||"")("srcset",H.src&&H.adaptiveSrcSet||"")("sizes",H.src&&H.adaptiveSizes||"")("src",H.src||H.defaultSrc,c.LSH),c.uIk("loading",H.lazyLoad?"lazy":"eager")("fetchpriority",H.lazyLoad?"low":"high"),c.xp6(1),c.Udp("padding-top",H.innerPaddingTop))},dependencies:[T.NgClass,T.NgIf],styles:['[_nghost-%COMP%]{display:block}.image-container[_ngcontent-%COMP%]{position:relative;width:100%;border-radius:inherit}.image-container.responsive[_ngcontent-%COMP%]{height:0}.image-container.responsive[_ngcontent-%COMP%]   .inner[_ngcontent-%COMP%]{position:absolute;top:0}.image-container[_ngcontent-%COMP%]   .image-host[_ngcontent-%COMP%]{overflow:hidden;position:absolute;border-radius:inherit;top:0;width:100%;height:100%;z-index:5}.image-container[_ngcontent-%COMP%]   .image[_ngcontent-%COMP%]{width:100%;height:100%;transition:transform .3s;will-change:transform,opacity}.image-container[_ngcontent-%COMP%]   .image.image-effect-dezoom[_ngcontent-%COMP%]{transform:scale(1.1)}.image-container[_ngcontent-%COMP%]   .image.image-effect-opacity[_ngcontent-%COMP%]:after{content:"";position:absolute;top:0;left:0;height:100%;width:100%;background-color:#0006;opacity:0;transition:opacity .3s}.image-container[_ngcontent-%COMP%]   .lazy-image[_ngcontent-%COMP%]{width:100%;height:100%;object-fit:cover;border-radius:inherit}.cdk-keyboard-focused[_nghost-%COMP%]   .image-container[_ngcontent-%COMP%]   .image.image-effect-zoom[_ngcontent-%COMP%]{transform:scale(1.1)}.cdk-keyboard-focused[_nghost-%COMP%]   .image-container[_ngcontent-%COMP%]   .image.image-effect-dezoom[_ngcontent-%COMP%]{transform:scale(1)}.cdk-keyboard-focused[_nghost-%COMP%]   .image-container[_ngcontent-%COMP%]   .image.image-effect-opacity[_ngcontent-%COMP%]:after{opacity:1}.inner[_ngcontent-%COMP%]{position:relative;z-index:7;width:100%;height:100%;border-radius:inherit}.inner[_ngcontent-%COMP%]:empty{display:none}@media (hover: hover){.image-container[_ngcontent-%COMP%]:hover   .image.image-effect-zoom[_ngcontent-%COMP%]{transform:scale(1.1)}.image-container[_ngcontent-%COMP%]:hover   .image.image-effect-dezoom[_ngcontent-%COMP%]{transform:scale(1)}.image-container[_ngcontent-%COMP%]:hover   .image.image-effect-opacity[_ngcontent-%COMP%]:after{opacity:1}}'],data:{animation:[k]},changeDetection:0}),(0,n.gn)([(0,v.Jh)("gbsettings"),(0,n.w6)("design:type",Function),(0,n.w6)("design:paramtypes",[]),(0,n.w6)("design:returntype",void 0)],I.prototype,"initImageHoverEffect",null)},21112:(_e,R,r)=>{"use strict";function n(c){const h=!!/back\.ww-cdn\.com\/superstatic\/(?:(?:\d+\/art)|version|photo)/.test(c),v=!!/(back|cmsphoto)\.ww-cdn\.com\/(?:resizeapi|superstatic)/.test(c),_=!!/shoppicture\.ww-api/.test(c),m=!!/fpmgmcdn\.ww-api/.test(c);return h||v||_||m}function s(c){if("string"!=typeof c)return null;const h=v=>v+(/\?/.test(v)?"&":"?")+"force_webp=1";if(/, /.test(c)){let v=c.split(", ");if(v=v.map(_=>{const[m,b]=_.split(" ");let p=m;return n(m)&&(p=h(m)),[p,b].join(" ")}),v&&v.length>0)return v.join(", ")}else if(n(c))return h(c);return c}r.d(R,{K:()=>s,T:()=>n})},16861:(_e,R,r)=>{"use strict";r.d(R,{$6:()=>u,xJ:()=>v,rn:()=>T.r,r$:()=>a,TR:()=>E.T,Ku:()=>E.K}),r(4482);var s=r(69947),c=r(3050),h=r(77533);let v=(()=>{var M;class B{constructor(W,A,X){this.zone=W,this.anim=X,this.targets=new Map,A.isBrowser&&(this.observer=W.runOutsideAngular(()=>new IntersectionObserver(U=>this.handleIntersection(U))))}register(W){this.targets.set(W.element,W),this.observer&&(this.anim.isInProgress?setTimeout(()=>this.observer.observe(W.element)):this.observer.observe(W.element))}deregister(W){this.targets.delete(W.element),this.observer&&this.observer.unobserve(W.element)}handleIntersection(W){W&&W.filter(A=>(A.isIntersecting||A.intersectionRatio>0)&&this.targets.has(A.target)).map(A=>this.targets.get(A.target)).filter(A=>!A.loaded).forEach(A=>{this.zone.runGuarded(()=>A.load()),this.deregister(A)})}}return(M=B).\u0275fac=function(W){return new(W||M)(h.LFG(h.R0b),h.LFG(c.m),h.LFG(s.AW))},M.\u0275prov=h.Yz7({token:M,factory:M.\u0275fac,providedIn:"root"}),B})();var _=r(93634),m=r(54505),b=r(97478),p=r(99256),D=r(59322);let a=(()=>{var M;class B{constructor(W,A){this.http=W,this.memoryCache=A}getImageOriginalDimensions(W){if("string"!=typeof W||!/shoppicture/.exec(W))return Promise.reject();const A=this.http.get(W,{params:new _.LE({fromString:"json=1"})}).pipe((0,b.U)(X=>new p.sT(X)),(0,b.U)(X=>{if("ok"===X.getString("stat")&&X.getString("pict")){const U=JSON.parse(X.getString("pict").replace(/'/g,'"')),[O,k]=U.input_size.split("x");return{width:parseInt(O),height:parseInt(k),ratio:X.getNumber("ratio")}}return(0,m._)("Failed to retrieve image"),null}));return this.memoryCache.get(W,A,18e4).toPromise()}}return(M=B).\u0275fac=function(W){return new(W||M)(h.LFG(_.eN),h.LFG(D.P))},M.\u0275prov=h.Yz7({token:M,factory:M.\u0275fac,providedIn:"root"}),B})(),u=(()=>{var M;class B{constructor(W){this.memoryCacheService=W}getSrcSetAttributeFromUrls(W){return this.createSrcSetFromUrlsWithFactory(W,this.srcSetEntryFactory.bind(this))}getSizesAttributeForMedia(W){if(!W)return"";const A=[];return W.mobile?A.push(`(orientation: portrait) and (max-width: 599px) ${W.mobile}`,`(orientation: landscape) and (max-width: 959px) ${W.mobile}`):(W.mobilePortrait&&A.push(`(orientation: portrait) and (max-width: 599px) ${W.mobilePortrait}`),W.mobileLandscape&&A.push(`(orientation: landscape) and (max-width: 959px) ${W.mobileLandscape}`)),W.tablet?A.push(`(orientation: portrait) and (min-width: 600px) and (max-width: 1024px) ${W.tablet}`,`(orientation: landscape) and (min-width: 960px) and (max-width: 1279px) ${W.tablet}`):(W.tabletPortrait&&A.push(`(orientation: portrait) and (min-width: 600px) and (max-width: 1024px) ${W.tabletPortrait}`),W.tabletLandscape&&A.push(`(orientation: landscape) and (min-width: 960px) and (max-width: 1279px) ${W.tabletLandscape}`)),W.desktop?A.push(`(orientation: portrait) and (min-width: 1025px) ${W.desktop}`,`(orientation: landscape) and (min-width: 1280px) ${W.desktop}`):(W.desktopPortrait&&A.push(`(orientation: portrait) and (min-width: 1025px) ${W.desktopPortrait}`),W.desktopLandscape&&A.push(`(orientation: landscape) and (min-width: 1280px) ${W.desktopLandscape}`)),W.bigScreen&&A.push(`(min-width: 1920px) ${W.bigScreen}`),A.push(W.fallback),A.join(", ").replace(/%(,)|%$/g,"vw$1")}createSrcSetFromUrlsWithFactory(W,A){return W&&Array.isArray(W)?W.reduce((X,U)=>{const O=A(U);return O&&X.indexOf(O)<0&&(X=X.concat(O)),X},new Array).join(", "):""}srcSetEntryFactory(W){return"string"!=typeof W||this.isNotFromSupportedApi(W)?"":this.memoryCacheService.getSync(`srcset__${W}`,()=>{let U="";const O=this.extractWidthDescriptorFromSupportedApi(W);return O&&O>-1&&(U=`${W} ${O}w`),U})}isNotFromSupportedApi(W){const A=!1===/cmsphoto\.ww-cdn\.com\/superstatic\/\d+\/art\/(?:imagette_16_9|large_16_9|large_x2_16_9)\//.test(W),X=!1===/cmsphoto\.ww-cdn\.com\/resizeapi/.test(W),U=!1===/shoppicture\.ww-api/.test(W),O=!1===/fpmgmcdn\.ww-api/.test(W),k=!1===/phalcon\/proximity\/resizer/.test(W);return A&&X&&U&&O&&k}extractWidthDescriptorFromSupportedApi(W){const F=new RegExp("(?:(?:cmsphoto\\.ww-cdn\\.com\\/superstatic\\/\\d+\\/art\\/)|(?:cmsphoto\\.ww-cdn\\.com\\/resizeapi\\/[^\\/]+\\/)|(?:shoppicture\\.ww-api\\.com\\/pretty_pict\\/v\\d\\/)|(?:fpmgmcdn\\.ww-api\\.com\\/focalpoint\\/image\\/v\\d\\/)|(?:phalcon\\/proximity\\/resizer\\/[a-f0-9]+\\/))(\\d+|imagette_16_9|large_16_9|large_x2_16_9)","i").exec(W);let P=-1;if(F){const H=F[1];switch(H){case"imagette_16_9":P=157;break;case"large_16_9":P=314;break;case"large_x2_16_9":P=750;break;default:P=parseInt(H,10)}}return P}}return(M=B).\u0275fac=function(W){return new(W||M)(h.LFG(D.P))},M.\u0275prov=h.Yz7({token:M,factory:M.\u0275fac,providedIn:"root"}),B})();var E=r(21112),T=r(27017)},27017:(_e,R,r)=>{"use strict";r.d(R,{r:()=>s});const s=new(r(77533).OlP)("LazyLoadingStrategy",{factory:()=>"lazy"})},27190:(_e,R,r)=>{"use strict";r.d(R,{V$:()=>c,rD:()=>h});var n=r(77533);const s=new n.OlP("LCP Limit",{factory:()=>{}});let c=(()=>{var v;class _{constructor(b){this.limit=b,this.iterator=0}ngOnDestroy(){this.iterator=0}}return(v=_).\u0275fac=function(b){return new(b||v)(n.LFG(s))},v.\u0275prov=n.Yz7({token:v,factory:v.\u0275fac,providedIn:"root"}),_})();function h(v){return[{provide:s,useValue:v},c]}},58516:(_e,R,r)=>{"use strict";r.d(R,{LDJ:()=>we.LD,lkD:()=>we.lk,IFQ:()=>we.IF,JXU:()=>gt.JX,$6V:()=>Te.$6,B6S:()=>gt.B6,$P5:()=>gt.$P,s55:()=>gt.s5,e80:()=>s.e,If6:()=>O.If,f2h:()=>T,VMC:()=>we.VM,TUd:()=>we.TU,HiW:()=>we.Hi,j0M:()=>we.j0,T4k:()=>gt.T4,D$5:()=>gt.D$,VnY:()=>gt.Vn,h0N:()=>We.h0,PPb:()=>gt.PP,moA:()=>gt.mo,Bdw:()=>gt.Bd,SsZ:()=>gt.Ss,KAy:()=>gt.KA,izS:()=>gt.iz,v40:()=>gt.v4,xOW:()=>gt.xO,VMt:()=>gt.VM,kgr:()=>rn,avX:()=>we.av,hmF:()=>B.hm,Nnh:()=>le,xAy:()=>N.xA,HiD:()=>$,rE4:()=>gt.rE,ITu:()=>pn,ynm:()=>gt.yn,mFb:()=>u.mF,qqQ:()=>M.q,LGQ:()=>X.LG,fSu:()=>I,clX:()=>k,UeM:()=>ge.U,$aY:()=>B.$,avB:()=>$e.a,T7s:()=>gt.T7,sy0:()=>B.sy,HP0:()=>B.HP,duk:()=>B.du,hpj:()=>gt.hp,EDh:()=>B.ED,PtY:()=>B.Pt,XyD:()=>B.Xy,Jzo:()=>B.Jz,HKf:()=>O.HK,fQP:()=>te.f,lSR:()=>W.l,M_R:()=>B.M_,arH:()=>We.ar,xJK:()=>Te.xJ,sT0:()=>O.sT,YD1:()=>O.YD,rn1:()=>Te.rn,qRm:()=>we.qR,h8o:()=>Me.h,Buc:()=>u.Bu,VoL:()=>u.Vo,qOJ:()=>gt.qO,w0g:()=>vt.w,bze:()=>ct.b,YdH:()=>Pt.Y,_pF:()=>gt._p,R4o:()=>gt.R4,gnE:()=>gt.gn,NDq:()=>gt.ND,EOf:()=>gt.EO,_vZ:()=>gt._v,o5R:()=>gt.o5,U0d:()=>We.U0,FFP:()=>gt.FF,JWh:()=>gt.JW,F6p:()=>gt.F6,Db1:()=>u.Db,wwQ:()=>u.ww,FU5:()=>u.FU,cJP:()=>gt.cJ,Jqs:()=>gt.Jq,BX4:()=>B.BX,IUv:()=>H,sXC:()=>gt.sX,mix:()=>Fe.m,nYj:()=>gt.nY,r$Z:()=>Te.r$,TQ2:()=>Ye.TQ,al2:()=>Je.a,KfT:()=>St.K,Jqe:()=>Je.J,pzk:()=>gt.pz,nV5:()=>st,EoJ:()=>lt,bOg:()=>tt,Qe5:()=>gt.Qe,idz:()=>gt.id,Z$7:()=>gt.Z$,qg3:()=>gt.qg,DY_:()=>A.D,nvn:()=>P,AGb:()=>gt.AG,p9t:()=>gt.p9,XGg:()=>ye.X,hbJ:()=>we.hb,fzz:()=>O.fz,VR5:()=>n.V,l0D:()=>gt.l0,pyZ:()=>gt.py,tIG:()=>gt.tI,m9D:()=>we.m9,LKP:()=>gt.LK,ssh:()=>gt.ss,lYm:()=>gt.lY,yR3:()=>gt.yR,dRe:()=>gt.dR,hI9:()=>gt.hI,l9N:()=>gt.l9,Rgq:()=>O.Rg,ix0:()=>O.ix,Wch:()=>O.Wc,Aal:()=>O.A,X4s:()=>O.X4,t_A:()=>O.t_,ufS:()=>O.uf,DoY:()=>O.Do,sNv:()=>se,dWQ:()=>O.dW,I7c:()=>O.I7,k78:()=>O.k7,SA8:()=>O.SA,eoT:()=>O.eo,Bbg:()=>O.Bb,rDm:()=>ut,lR0:()=>ne,gF3:()=>O.gF,D6q:()=>O.D6,QMs:()=>O.QM,LCT:()=>O.LC,coZ:()=>O.co,a7d:()=>O.a7,cg9:()=>O.cg,JhM:()=>O.Jh,dnv:()=>O.dn,xT2:()=>O.xT,TR3:()=>Te.TR,$SX:()=>O.$S,ST5:()=>O.ST,Bp3:()=>O.Bp,VUd:()=>O.VU,RL6:()=>O.RL,ZKB:()=>O.ZK,XkC:()=>O.Xk,hIY:()=>O.hI,M7T:()=>O.M7,HVp:()=>O.HV,taA:()=>O.t,Mhp:()=>O.Mh,X_L:()=>w,J9p:()=>B.J9,Ku:()=>Te.Ku});var n=r(22049),s=r(29600),c=r(93634),h=r(54505),v=r(49804),_=r(36305),m=r(28419),b=r(60110),p=r(26682),D=r(54653),a=r(26079),u=r(35594),E=r(77533);let T=(()=>{var Rt;class Xe{constructor(Ce,Re,ot,Ve,Oe){this.userApi=Ce,this.authService=Re,this.eventTracker=ot,this.navigation=Ve,this.linksBuilder=Oe}createUser(Ce,Re,ot,Ve,Oe){return this.authService.loggedIn.pipe((0,v.q)(1),(0,_.h)(Ze=>!1===Ze),(0,m.w)(()=>this.userApi.createUser(Ce,Re,ot,Ve,Oe)),(0,b.b)(Ze=>this.authService.authenticatedUser=Ze),(0,b.b)(()=>this.eventTracker.trackSignUp("standard")))}deleteUser(){return this.authService.loggedIn.pipe((0,_.h)(Ce=>!0===Ce),(0,m.w)(()=>this.userApi.deleteUser(this.authService.authenticatedUser)),(0,m.w)(()=>this.authService.logout()),(0,p.K)(Ce=>this.handleForbiddenRequests(Ce)))}loginIsAvailable(Ce){return this.userApi.loginIsAvailable(Ce)}socialLoginUpdateFields(Ce,Re,ot){return this.userApi.socialLoginUpdateFields(Ce,ot,Re).pipe((0,b.b)(Ve=>this.authService.authenticatedUser=Ve),(0,p.K)(Ve=>this.handleForbiddenRequests(Ve)))}updateAllowContact(Ce,Re){return this.userApi.updateAllowContact(Ce,Re).pipe((0,b.b)(ot=>{this.authService.authenticatedUser&&ot.unformattedId===this.authService.authenticatedUser.unformattedId&&(this.authService.preventNextRedirection=!0,this.authService.authenticatedUser=ot)}),(0,p.K)(ot=>this.handleForbiddenRequests(ot)))}updatePassword(Ce,Re,ot){return this.userApi.updatePassword(Ce,Re,ot).pipe((0,b.b)(Ve=>{this.authService.authenticatedUser&&Ve.unformattedId===this.authService.authenticatedUser.unformattedId&&(this.authService.preventNextRedirection=!0,this.authService.authenticatedUser=Ve)}),(0,p.K)(Ve=>this.handleForbiddenRequests(Ve)))}updateLogin(Ce,Re){return this.userApi.updateLogin(Ce,Re).pipe((0,b.b)(ot=>{this.authService.authenticatedUser&&ot.unformattedId===this.authService.authenticatedUser.unformattedId&&(this.authService.preventNextRedirection=!0,this.authService.authenticatedUser=ot)}),(0,p.K)(ot=>this.handleForbiddenRequests(ot)))}updatePhoto(Ce){return Ce=Ce?Ce.replace(/^data:image\/(png|jpg|jpeg);base64,/,""):"",this.authService.loggedIn.pipe((0,v.q)(1),(0,_.h)(Re=>!0===Re),(0,m.w)(()=>this.userApi.updatePhoto(this.authService.authenticatedUser,Ce)),(0,D.V)(2e4),(0,b.b)(Re=>this.authService.authenticatedUser.urlPhoto=Re),(0,b.b)(()=>this.authService.photoUpdated.emit(!0)),(0,b.b)(()=>this.authService.updateCachedUser()),(0,p.K)(Re=>this.handleForbiddenRequests(Re)))}updateUser(Ce,Re,ot,Ve,Oe,Ze){return this.userApi.updateUser(Ce,Re,ot,Ve,Oe,Ze).pipe((0,b.b)(Ge=>{this.authService.authenticatedUser&&(this.authService.preventNextRedirection=!0,this.authService.authenticatedUser=Ge)}),(0,p.K)(Ge=>this.handleForbiddenRequests(Ge)))}handleForbiddenRequests(Ce){return Ce instanceof c.UA&&Ce.status>=400&&Ce.status<500?(this.authService.logout().subscribe(()=>this.navigation.navigate(this.linksBuilder.getHomeRouterLink())),(0,h._)(null)):(0,h._)(Ce)}}return(Rt=Xe).\u0275fac=function(Ce){return new(Ce||Rt)(E.LFG(n.V),E.LFG(s.e),E.LFG(a.nq),E.LFG(u.ww),E.LFG(u.Bu))},Rt.\u0275prov=E.Yz7({token:Rt,factory:Rt.\u0275fac,providedIn:"root"}),Xe})();var M=r(18270),B=r(38205),N=r(68103),W=r(88039),A=r(43034),X=r(35319),U=r(34645),O=r(99256);class k{static mail(Xe){return ve=>!Xe&&(""===ve.value||null===ve.value)||(0,O.Jh)(ve.value)?null:{mail:!0}}static phone(Xe){return ve=>!Xe&&(""===ve.value||null===ve.value)||(0,O.xT)(ve.value)?null:{phone:!0}}static website(Xe){return ve=>Xe||""!==ve.value&&null!==ve.value?ve.value&&(0,O.$S)(ve.value)?null:{website:!0}:null}static number(Xe){return ve=>Xe||""!==ve.value&&null!==ve.value?""===ve.value||null===ve.value?{number:!0}:ve.value.toString().replace(",",".").match(/^(-|\+)?([0-9]+(\.[0-9]+)?|Infinity)$/)?null:{number:!0}:null}static price(Xe){return ve=>null!=k.number(Xe)(ve)?{price:!0}:null}static checkbox(Xe){return ve=>{const Ce=ve.value;if(!Xe||"object"!=typeof Ce)return null;let Re=!1;for(const ot in Ce)Ce[ot]&&(Re=!0);return Re?null:{checkbox:!0}}}static requiredNoSpaces(Xe){return ve=>Xe?null!=U.kI.required(ve)?{required:!0}:ve.value instanceof Date||ve.value.replace(/\s/g,"").length?null:{requiredNoSpaced:!0}:null}static differentThan(Xe){return ve=>ve.value&&ve.value.length>0&&ve.value===Xe.value?{isNotDifferent:!0}:null}static sameAs(Xe){return ve=>ve.value&&ve.value.length>0&&ve.value!==Xe.value?{isDifferent:!0}:null}}var I=function(Rt){return Rt[Rt.Text=0]="Text",Rt[Rt.Paragraph=1]="Paragraph",Rt[Rt.Dropdown=2]="Dropdown",Rt[Rt.Checkboxes=3]="Checkboxes",Rt[Rt.Radio=4]="Radio",Rt[Rt.Date=5]="Date",Rt}(I||{});class F{constructor(Xe){this.id=Xe.id||"",this.label=Xe.label||"",this.name=Xe.name||this.id,this.placeholder=Xe.placeholder||"",this.required=!!Xe.required,this.type=Xe.type||"",this.value=Xe.value,this.validators=Xe.validators||null}}class P extends F{constructor(Xe){super(Xe),this.fieldType=I.Text}}class H extends F{constructor(Xe){super(Xe),this.fieldType=I.Paragraph}}class $ extends F{constructor(Xe){super(Xe),this.fieldType=I.Dropdown,this.options=new Array,this.options=Xe.options,this.multiple=Xe.multiple}}class le extends F{constructor(Xe){super(Xe),this.fieldType=I.Date}}var ge=r(26435),te=r(41200),We=r(15202),Te=r(16861),ee=r(37311);function Q(Rt="en"){return Rt=Rt.substr(0,2),r(43113)(`./${Rt}.json`)}function se(Rt="en"){const Xe=(ve,Ce)=>ve.name.localeCompare(Ce.name);return function pe(Rt="en"){return function me(Rt){return Q(Rt).catch(()=>Q()).then(({default:Xe})=>((0,ee.registerLocale)(Xe),Xe))}(Rt).then(Xe=>(0,ee.getNames)(Xe.locale)).catch(()=>({}))}(Rt).then(ve=>Object.keys(ve).map(Ce=>({iso:Ce,name:ve[Ce]})).sort(Xe)).catch(()=>[])}var Me=r(98238),ct=r(48865),vt=r(53987),Pt=r(80697);class lt{isErrorState(Xe,ve){return ve&&ve.submitted&&Xe&&Xe.invalid}}let tt=(()=>{var Rt;class Xe{isErrorState(Ce,Re){return Ce&&Ce.invalid&&(Ce.dirty&&Ce.touched||Re&&Re.submitted)}}return(Rt=Xe).\u0275fac=function(Ce){return new(Ce||Rt)},Rt.\u0275prov=E.Yz7({token:Rt,factory:Rt.\u0275fac}),Xe})();function ut(Rt){const Xe=Rt.getDateFormatTxt2();return{parse:{dateInput:Xe},display:{dateInput:Xe,monthYearLabel:"MMMM yyyy",dateA11yLabel:"LL",monthYearA11yLabel:"MMMM yyyy"}}}function ne(Rt){const Xe=Rt.getDateFormatTxt4();return{parse:{dateInput:Xe},display:{dateInput:Xe,monthYearLabel:"MMMM yyyy",dateA11yLabel:"LL",monthYearA11yLabel:"MMMM yyyy"}}}var y=r(63673),ae=r(97478);function w(Rt,Xe){return ve=>{const Ce=Rt.pipe((0,_.h)(Re=>Xe(Re)),(0,v.q)(1));return(0,y.a)([ve,Ce]).pipe((0,ae.U)(([Re])=>Re))}}var Fe=r(3050),Je=r(21205),St=r(4917),gt=r(9793);class Wt extends Error{constructor(){super("The Web Share Api is not supported by the browser"),this.name="WebShareApi::UnsupportedError"}}let ft=(()=>{var Rt;class Xe{constructor(Ce){this.platform=Ce,this.available=Ce.isBrowser&&"share"in Ce.windowRef.navigator}share(Ce){return new Promise((Re,ot)=>{!1===this.available?ot({shared:!1,error:new Wt}):this.platform.windowRef.navigator.share({text:Ce.title,url:Ce.url}).then(()=>Re({shared:!0})).catch(Oe=>(0==(Oe instanceof DOMException&&"AbortError"===Oe.name)&&(this.available=!1),ot({shared:!1,error:Oe})))})}}return(Rt=Xe).\u0275fac=function(Ce){return new(Ce||Rt)(E.LFG(Fe.m))},Rt.\u0275prov=E.Yz7({token:Rt,factory:Rt.\u0275fac,providedIn:"root"}),Xe})();var ye=r(67463);let st=(()=>{var Rt;class Xe{constructor(Ce,Re,ot,Ve,Oe){this.facebookSharer=Ce,this.twitterService=Re,this.eventTrackerService=ot,this.webSharerService=Ve,this.dialogService=Oe}share(Ce){let Re="",ot="",Ve="",Oe="",Ze="";return Ce.itemToShare instanceof B.Mj?(Re=Ce.itemToShare.metaTitle||Ce.shareTitle,ot=Ce.itemToShare.metaDescription,Ve=Ce.itemToShare.url,Oe=Ce.itemToShare.id,Ze=Ce.itemToShare.type):(Re=Ce.shareTitle,Ve=Ce.itemToShare,Oe=Ce.id,Ze=Ce.type),this.webSharerService.share({title:Re,text:ot,url:Ve}).then(Ge=>(Ce.tracking&&this.eventTrackerService.trackShare(Oe,Ze,"Web Share Api"),Ge)).catch(Ge=>Ge.error&&Ge.error instanceof Wt?this.dialogService.openSharingDialog(Ce):Ge)}shareOnFacebook(Ce,Re="",ot=!0){return Ce instanceof B.Mj?(ot&&this.eventTrackerService.trackShare(Ce.id,Ce.type,"Facebook"),this.facebookSharer.openSharingDialog(Ce.url,Ce.title)):this.facebookSharer.openSharingDialog(Ce,Re)}shareOnTwitter(Ce,Re="",ot=!0){return Ce instanceof B.Mj?(ot&&this.eventTrackerService.trackShare(Ce.id,Ce.type,"Twitter"),this.twitterService.openSharingDialog(Ce.url,Ce.title)):this.twitterService.openSharingDialog(Ce,Re)}}return(Rt=Xe).\u0275fac=function(Ce){return new(Ce||Rt)(E.LFG(X.Nv),E.LFG(ye.X),E.LFG(a.nq),E.LFG(ft),E.LFG(N.xA))},Rt.\u0275prov=E.Yz7({token:Rt,factory:Rt.\u0275fac,providedIn:"root"}),Xe})();var we=r(44036),$e=r(58698),Ye=r(37672),At=r(97889),qe=r(86711),it=r(57231),Kt=r(30018),Ut=r(97974),wt=r(69947);let rn=(()=>{var Rt;class Xe{constructor(Ce,Re,ot,Ve){this.scroll=Ce,this.navigation=Re,this.platform=ot,this.animationManager=Ve}setGoBackPanGestureForElement(Ce,Re){if(!this.platform.isBrowser||!1===this.animationManager.routeAnimationIsEnabled)return new At.w0(()=>{});const ot=new Hammer(Ce.nativeElement,{recognizers:[[Hammer.Pan,{direction:Hammer.DIRECTION_VERTICAL}]],touchAction:"manipulation"}),Ve=this.scroll.scrolled(200).pipe((0,ae.U)(Ge=>0===Ge.scrollTop?"attachPanDown":Ge.scrollTop>=Ge.scrollHeight-Ge.offsetHeight?"attachPanUp":"OFF")),Oe=Ge=>{ot.stop(!0);const Pe="panup"===Ge.type?"up":"down";Re?Re.call(this,Pe):this.navigation.goBack(Pe)};return(0,qe.x)(Ve,it.Z).pipe((0,Kt.O)("attachPanDown"),(0,Ut.x)()).subscribe(Ge=>{switch(Ge){case"attachPanDown":this.scroll.disablePullToRefresh(),ot.on("pandown",Oe);break;case"attachPanUp":ot.on("panup",Oe);break;default:this.scroll.enablePullToRefresh(),ot.off("panup pandown",Oe)}})}}return(Rt=Xe).\u0275fac=function(Ce){return new(Ce||Rt)(E.LFG(Je.a),E.LFG(u.ww),E.LFG(Fe.m),E.LFG(wt.AW))},Rt.\u0275prov=E.Yz7({token:Rt,factory:Rt.\u0275fac,providedIn:"root"}),Xe})();var Ke=r(71111);let pn=(()=>{var Rt;class Xe{constructor(Ce){this.platform=Ce}getElementBoundingClientRect(Ce){return this.platform.isBrowser?new Promise((Re,ot)=>{const Ve=new IntersectionObserver(Oe=>{Re(Oe&&Oe[0].boundingClientRect),Ve.disconnect()});Ve.observe(Ce)}):Promise.resolve({top:0,bottom:0,right:0,left:0,height:0,width:0,x:0,y:0})}}return(Rt=Xe).\u0275fac=function(Ce){return new(Ce||Rt)(E.LFG(Ke.m))},Rt.\u0275prov=E.Yz7({token:Rt,factory:Rt.\u0275fac,providedIn:"root"}),Xe})()},70936:(_e,R,r)=>{"use strict";r.d(R,{u:()=>b}),r(96578);var s=r(2204),c=r(77533),h=r(14565),v=r(45003);function _(p,D){if(1&p&&c._UZ(0,"gb-author-avatar",1),2&p){const a=c.oxw();c.Q6J("avatarUrl",a.item.authorAvatarUrl)("name",a.item.author)("size",a.avatarSize)}}const m=["*"];let b=(()=>{var p;class D{constructor(u,E){this.settingsManager=u,this.cdr=E}ngOnChanges(u){null==this.avatarEnabled&&(this.avatarEnabled=this.settingsManager.getSectionsEnableAuthorAvatar(this.sectionId))}}return(p=D).\u0275fac=function(u){return new(u||p)(c.Y36(s.p),c.Y36(c.sBO))},p.\u0275cmp=c.Xpm({type:p,selectors:[["gb-item-author"]],inputs:{sectionId:"sectionId",item:"item",avatarEnabled:"avatarEnabled",avatarSize:"avatarSize"},features:[c.TTD],ngContentSelectors:m,decls:2,vars:1,consts:[[3,"avatarUrl","name","size",4,"ngIf"],[3,"avatarUrl","name","size"]],template:function(u,E){1&u&&(c.F$t(),c.YNc(0,_,1,3,"gb-author-avatar",0),c.Hsn(1)),2&u&&c.Q6J("ngIf",E.avatarEnabled)},dependencies:[h.NgIf,v.V],styles:["[_nghost-%COMP%]{display:flex;flex-flow:row nowrap;align-items:center;justify-content:center;flex-shrink:0;gap:8px}"],changeDetection:0}),D})()},98238:(_e,R,r)=>{"use strict";r.d(R,{h:()=>m});var n=r(15861),s=r(45657),c=r(99256),h=r(77533),v=r(80697),_=r(93634);let m=(()=>{var b;class p{set languages(a){try{this._languages=a,this.setDefault()}catch{this.logger.error("Unable to set languages object",{languages:a})}}get languages(){return this._languages}set currentLanguage(a){this._languages.hasOwnProperty(a)?this._currentLanguage=this._languages[a]:(this.logger.error("Unknown language",{language:a}),this._currentLanguage={})}constructor(a,u){this.logger=a,this.http=u,this._currentLanguage=null,this.defaultLanguages={}}getString(a,u){return this._getString(this._currentLanguage,a,u=u||this.defaultLanguages[a]||"")}getDefault(a){return this.defaultLanguages[a]||""}_getString(a,u,E){try{const T=a[u];return typeof T<"u"?T.toString():E}catch{return this.logger.info(`String ${u} impossible to get, defaultValue: ${E}`),E}}setDefault(){var a=this;return(0,n.Z)(function*(){try{const u=(0,c.QM)("front-assets/lg-default.json"),E=typeof window<"u"&&"fetch"in window?fetch(u).then(T=>T.json()):(0,s.z)(a.http.get(u));a.defaultLanguages=yield E}catch{a.defaultLanguages={}}})()}}return(b=p).\u0275fac=function(a){return new(a||b)(h.LFG(v.Y),h.LFG(_.eN))},b.\u0275prov=h.Yz7({token:b,factory:b.\u0275fac,providedIn:"root"}),p})()},53987:(_e,R,r)=>{"use strict";r.d(R,{k:()=>s.k,w:()=>n.w});var n=r(85280),s=r(55065)},55065:(_e,R,r)=>{"use strict";r.d(R,{k:()=>_});var n=r(97478),s=r(36305),c=r(21205),h=r(77533),v=r(85280);let _=(()=>{var m;class b{constructor(D,a,u){this.manager=D,this.scroll=a,this.scrollable=u,this.scrollDistance=2,this.direction="bottom"}ngAfterViewInit(){let D;const a=this.scrollable?this.scrollable.elementScrolled(200):this.scroll.scrolled(200);this.scroller=a.pipe((0,n.U)(u=>(D=u,"bottom"===this.direction?u.scrollHeight-u.scrollTop:u.scrollTop)),(0,s.h)(u=>u<=D.offsetHeight*this.scrollDistance)).subscribe(()=>this.manager.notify())}ngOnDestroy(){this.scroller&&this.scroller.unsubscribe()}}return(m=b).\u0275fac=function(D){return new(D||m)(h.Y36(v.w),h.Y36(c.a),h.Y36(c.J,8))},m.\u0275dir=h.lG2({type:m,selectors:[["","gbInfiniteScrollContentLoader",""]],inputs:{scrollDistance:"scrollDistance",direction:"direction"}}),b})()},85280:(_e,R,r)=>{"use strict";r.d(R,{w:()=>s});var n=r(77533);let s=(()=>{var c;class h{constructor(_){this.zone=_,this.notified=new n.vpe}notify(){this.zone.run(()=>this.notified.emit(null))}}return(c=h).\u0275fac=function(_){return new(_||c)(n.LFG(n.R0b))},c.\u0275prov=n.Yz7({token:c,factory:c.\u0275fac}),h})()},48865:(_e,R,r)=>{"use strict";r.d(R,{b:()=>_,g:()=>h.g});var n=r(50996),s=r(20860),c=r(3050),h=r(82368),v=r(77533);let _=(()=>{var m;class b{constructor(D,a){this.overlay=D,this.platform=a}showCircleLoadingOverlay(){if(this.platform.isBrowser){const a=this.showLoadingOverlay(h.g).instance;return a&&(a.size="large"),a}return null}hideLoadingOverlay(){this.overlayRef&&this.overlayRef.hasAttached()&&this.overlayRef.detach()}showLoadingOverlay(D){const a=new n.X_;a.hasBackdrop=!0,a.positionStrategy=this.overlay.position().global().centerHorizontally().centerVertically(),a.backdropClass="gb-loading-spinner-backdrop",this.overlayRef=this.overlay.create(a);const u=new s.C5(D);return this.overlayRef.attach(u)}}return(m=b).\u0275fac=function(D){return new(D||m)(v.LFG(n.aV),v.LFG(c.m))},m.\u0275prov=v.Yz7({token:m,factory:m.\u0275fac,providedIn:"root"}),b})()},82368:(_e,R,r)=>{"use strict";r.d(R,{g:()=>c});var n=r(77533),s=r(97673);let c=(()=>{var h;class v{constructor(){this.position="static",this.size="small"}get isFixed(){return"fixed"===this.position}get isSmall(){return"small"===this.size}get diameter(){return this.isSmall?50:100}}return(h=v).\u0275fac=function(m){return new(m||h)},h.\u0275cmp=n.Xpm({type:h,selectors:[["gb-loading-spinner"]],hostVars:2,hostBindings:function(m,b){2&m&&n.ekj("fixed",b.isFixed)},inputs:{position:"position",size:"size"},decls:1,vars:3,consts:[["id","loading-spinner",3,"diameter"]],template:function(m,b){1&m&&n._UZ(0,"mat-spinner",0),2&m&&(n.ekj("small",b.isSmall),n.Q6J("diameter",b.diameter))},dependencies:[s.Ou],styles:["gb-loading-spinner{display:flex;justify-content:center;padding:20px 0}gb-loading-spinner.fixed{position:fixed;width:100%;top:64px}gb-loading-spinner circle{animation-duration:4s!important;animation-timing-function:ease-in-out!important;animation-iteration-count:infinite!important}gb-loading-spinner mat-spinner.small circle{animation-name:colors,mat-progress-spinner-stroke-rotate-50!important}gb-loading-spinner mat-spinner:not(.small) circle{animation-name:colors,mat-progress-spinner-stroke-rotate-100!important}@keyframes colors{0%{stroke:#42a5f5}25%{stroke:#f44336}50%{stroke:#fdd835}75%{stroke:#4caf50}to{stroke:#42a5f5}}@media only screen and (orientation: portrait) and (max-width: 1024px),only screen and (orientation: landscape) and (max-width: 1279px){gb-loading-spinner.fixed{top:56px}}.gb-loading-spinner-backdrop{background-color:#fff}.gb-loading-spinner-backdrop.cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:.7}.gb-loading-spinner-backdrop~.cdk-overlay-pane gb-loading-spinner{position:fixed;top:0!important;bottom:0;left:0;right:0;display:flex;justify-content:center;align-items:center}\n"],encapsulation:2,changeDetection:0}),v})()},80697:(_e,R,r)=>{"use strict";r.d(R,{Y:()=>h});var n=r(14565),s=r(77533);let c=(()=>{var v;class _{constructor(b){this.platformId=b,this.logLevel=0}debug(b,p){this.logLevel>=2&&((0,n.isPlatformServer)(this.platformId)?console.log(`Debug: ${b}`,p?"\nDetails:":"",p||""):console.debug(`Debug: ${b}`,p?"\nDetails:":"",p||""))}info(b,p){this.logLevel>=3&&console.log(`Info: ${b}`,p?"\nDetails:":"",p||"")}error(b,p){this.logLevel>=0&&console.error(`Error: ${b}`,p?"\nDetails:":"",p||"")}warning(b,p){this.logLevel>=1&&console.warn(`Warning: ${b}`,p?"\nDetails:":"",p||"")}}return(v=_).\u0275fac=function(b){return new(b||v)(s.LFG(s.Lbi))},v.\u0275prov=s.Yz7({token:v,factory:v.\u0275fac,providedIn:"root"}),_})(),h=(()=>{var v;class _{}return(v=_).\u0275fac=function(b){return new(b||v)},v.\u0275prov=s.Yz7({token:v,factory:m=>c.\u0275fac(m),providedIn:"root"}),_})()},39063:(_e,R,r)=>{"use strict";r.d(R,{q:()=>a});var n=r(62424),s=r(20860),c=r(48706),h=r(85218),v=r(55704),_=r(59181),m=r(97673),b=r(56303),p=r(78289),D=r(77533);let a=(()=>{var u;class E{}return(u=E).\u0275fac=function(M){return new(M||u)},u.\u0275mod=D.oAB({type:u}),u.\u0275inj=D.cJS({imports:[n.rt,c._r,h.ot,_.Is,v.Dn,m.Cq,v.si,b.ZX,p.g0,s.eL]}),E})()},1244:(_e,R,r)=>{"use strict";r.d(R,{m:()=>n});class n{constructor(c,h="_blank"){this.url=c,this.target=h}}},35594:(_e,R,r)=>{"use strict";r.d(R,{Bu:()=>n.B,Db:()=>h.D,FU:()=>v.F,Vo:()=>s.V,mF:()=>_.m,ww:()=>c.w});var n=r(43017),s=r(57805),c=r(5980),h=r(79059),v=r(91104),_=r(1244)},43017:(_e,R,r)=>{"use strict";r.d(R,{B:()=>h});var n=r(9793),s=r(77533),c=r(55096);let h=(()=>{var v;class _{constructor(b,p){this.settingsManager=b,this.router=p}getHomeRouterLink(){return["/"]}getAbsoluteUrl(b){const p=this.router.createUrlTree(b);return`${this.settingsManager.getMostAccurateBaseUrl(!0)}${this.router.serializeUrl(p)}`}getSectionRouterLink(b){return this.isSectionFirstSection(b)?this.getHomeRouterLink():["/",this.getRewritedNameOrSectionId(b)]}getItemRouterLink(b,p,D){return typeof D<"u"&&D>-1?this.getItemWithCategoryRouterLink(b,D,p):["/",this.getRewritedNameOrSectionId(b),"i",p.unformattedId,p.slug]}getItemRouterLinkAsString(b,p,D){const a=this.router.createUrlTree(this.getItemRouterLink(b,p,D));return this.router.serializeUrl(a)}getItemCommentsUrl(b,p,D){let a=[];typeof D<"u"&&D>-1&&(a=this.getItemWithCategoryRouterLink(b,D,p)),a=["/",this.getRewritedNameOrSectionId(b),"i",p.unformattedId,p.slug];const u=this.router.createUrlTree(a,{fragment:"comments"});return this.settingsManager.getMostAccurateBaseUrl(!0)+this.router.serializeUrl(u)}getItemRouterLinkById(b,p,D=""){return["/",this.getRewritedNameOrSectionId(b),"i",p,D]}getItemSimpleRouterLink(b,p,D){return["/",this.getRewritedNameOrSectionId(b),"i",p,D]}getSectionCategoryRouterLink(b,p){return["/",this.getRewritedNameOrSectionId(b),"c",p]}getItemWithCategoryRouterLink(b,p,D){return["/",this.getRewritedNameOrSectionId(b),"c",p,"i",D.unformattedId,D.slug]}getItemIdWithCategoryRouterLink(b,p,D,a){return["/",this.getRewritedNameOrSectionId(b),"c",p,"i",D,a]}getItemFromDetailRelativeRouterLink(b){return["../../../","i",b.unformattedId,b.slug]}getLoginRouterLink(){return["/","login"]}getProfileEditRouterLink(b){return["/",this.getRewritedNameOrSectionId(b),"edit"]}getProfileSettingsRouterLink(b){return["/",this.getRewritedNameOrSectionId(b),"settings",{outlets:{panel:"settings"}}]}getProfilePushHistoryRouterLink(b){return["/",this.getRewritedNameOrSectionId(b),"push"]}getProfilePushSettingsRouterLink(b){return["/",this.getRewritedNameOrSectionId(b),"push",{outlets:{panel:"settings"}}]}getCouponingHistoryRouterLink(b){return["/",this.getRewritedNameOrSectionId(b),"history"]}getCouponingFavoritesRouterLink(b){return["/",this.getRewritedNameOrSectionId(b),"saved"]}getCouponingCouponRouterLink(b,p){return["/",this.getRewritedNameOrSectionId(b),"i",p.unformattedId,p.slug]}getCouponingSavedCouponRouterLink(b,p){return["/",this.getRewritedNameOrSectionId(b),"saved","i",p.unformattedId,p.slug]}getCouponingListRelativeRouterLink(){return["../../../"]}getLoyaltyRewardsRouterLink(b){return["/",this.getRewritedNameOrSectionId(b),"rewards"]}getLoyaltyHistoryRouterLink(b){return["/",this.getRewritedNameOrSectionId(b),"rewards","history"]}getSettingsCreditsRouterLink(b){return["/",this.getRewritedNameOrSectionId(b),"credits"]}getNotFoundRouterLink(){return["/","notfound"]}getSubmitPreviewRouterLink(b,p){return["/",this.getRewritedNameOrSectionId(b),p]}getBookmarkItemRouterLink(b,p,D){return this.settingsManager.getSectionsSubsectionsEnabled(p)?["/",this.getRewritedNameOrSectionId(p),{faves:b},"c",0,"i",D.unformattedId,D.slug]:["/",this.getRewritedNameOrSectionId(p),{faves:b},"i",D.unformattedId,D.slug]}getUsersSearchRouterLink(b,p){return typeof p>"u"?["/",this.getRewritedNameOrSectionId(b),"search"]:["/",this.getRewritedNameOrSectionId(b),"search",p]}getItemRouterRelativeLinkFromSearchResults(b){return["../../","i",b.unformattedId,b.slug]}isSectionFirstSection(b){return b===this.settingsManager.getRootFirstSectionSectionId()}getSearchListWithKeywordRouterLink(b,p){const D=["/",this.getRewritedNameOrSectionId(b)];return p&&D.push(p),D}getSearchItemRouterLink(b,p,D){return this.settingsManager.getSectionsSubsectionsEnabled(p)?["/",this.getRewritedNameOrSectionId(p),{search:b},"c",0,"i",D.unformattedId,D.slug]:["/",this.getRewritedNameOrSectionId(p),{search:b},"i",D.unformattedId,D.slug]}getCommerceBagRouterLink(){return this.getSectionRouterLink(this.settingsManager.getCommerceBagSectionId())}getCommerceProfileOrdersPage(b){return["/",this.getRewritedNameOrSectionId(b),"orders"]}getCommerceProfileOrderDetailPage(b,p){return["/",this.getRewritedNameOrSectionId(b),"orders","i",p]}getCommerceProfileCardsPage(b){return["/",this.getRewritedNameOrSectionId(b),"cards"]}getCommerceProfileAddressesPage(b){return["/",this.getRewritedNameOrSectionId(b),"addresses"]}getCommerceProfileInfosPage(b){return["/",this.getRewritedNameOrSectionId(b),"infos"]}getCommerceProfilePushPage(b){return["/",this.getRewritedNameOrSectionId(b),"push"]}getCommerceVariantRouterLinkBuilder(b,p,D){const a=["/","products",b],u={};D&&(u.queryParams=D);const E=this.router.createUrlTree(a,u);return p&&(E.fragment=p),this.router.serializeUrl(E)}getSimilarVariantItemRouterLink(b){return this.getCommerceVariantRouterLinkBuilder(b.slug,String(b.variant_id))}getCommerceVariantRouterLink(b,p){return this.getCommerceVariantRouterLinkBuilder(b.product.slug,String(b.variant.id),p)}getCommerceProductUrl(b){if(!b)return"";let p=[];return p=["products",b],this.getAbsoluteUrl(p)}getCommerceCheckoutLink(b){return["",this.getRewritedNameOrSectionId(b),"checkout"]}getCommerceCheckoutReturnUrl(b,p){const a=this.router.createUrlTree(["","payment_callback"],{queryParams:{paymentMethod:b,orderId:p}});return this.settingsManager.getMostAccurateBaseUrl(!0)+this.router.serializeUrl(a)}getCommerceCheckoutPaymentLoadingRelative(){return[this.getRewritedNameOrSectionId(this.settingsManager.getCommerceBagSectionId()),"checkout","loading"].join("/")}getCommerceCheckoutPaymentConfirmationUrl(b){return["",this.getRewritedNameOrSectionId(b),"checkout","confirmation"]}getCommerceCheckoutPaymentErrorScreenUrl(b){return["",this.getRewritedNameOrSectionId(b),"checkout","error"]}getCommerceProfileRewardsPage(b){return["",this.getRewritedNameOrSectionId(b),"rewards"]}getAppleAuthRedirectURI(){const p=this.router.createUrlTree(["","signinwithapple"]);return this.settingsManager.getMostAccurateBaseUrl(!0)+this.router.serializeUrl(p)+"/"}getProfileAdvancedRouterLink(){return["/",this.settingsManager.getProfileAdvancedSectionUrl()]}getProfileAdvancedAccountPage(b){return["/",this.getRewritedNameOrSectionId(b),"account"]}getProfileAdvancedPushPage(b){return["/",this.getRewritedNameOrSectionId(b),"push"]}getIAPSubscriptionRouterLink(){return["/","subscribe"]}serializeRouterLink(b){return this.router.serializeUrl(this.router.createUrlTree(b))}getCommerceRewardLink(b,p){return["/",this.getRewritedNameOrSectionId(b),"rewards","i",p]}getPluginSectionRouterLink(b){return["/",this.getRewritedNameOrSectionId(b)]}getRewritedNameOrSectionId(b){return this.settingsManager.getSectionsRewritedUrl(b)}}return(v=_).\u0275fac=function(b){return new(b||v)(s.LFG(n.pz),s.LFG(c.F0))},v.\u0275prov=s.Yz7({token:v,factory:v.\u0275fac,providedIn:"root"}),_})()},57805:(_e,R,r)=>{"use strict";r.d(R,{V:()=>P});var n=r(14565),s=r(93634),c=r(55096),h=r(92769),v=r(15973),_=r(58764),m=r(28419),b=r(26682),p=r(36305),D=r(97478),a=r(49804),u=r(32266),E=r(68522),T=r(26079),M=r(29600),B=r(38205),N=r(3050),W=r(9793),A=r(1244),X=r(43017),U=r(5980),O=r(77533),k=r(80697),I=r(45781),F=r(31907);let P=(()=>{var H;class ${constructor(V,le,ge,te,We,Te,ee,Q,me,pe,se,Me,ct){this.settingsManager=V,this.logger=le,this.dataManager=ge,this.linksBuilder=te,this.authService=We,this.navigation=Te,this.platform=ee,this.sanitizer=Q,this.router=me,this.store=pe,this.doc=se,this.utm=Me,this.injector=ct,this.urlSchemes=new Set,this.mCmsBaseUrls=new Set,this.performV3LegacyInitialNavigation()}handleNavigationLink(V,le,ge){if(this.logger.info("link :",V),!(V instanceof W.F6)||this.platform.isPortalApp&&("GBLinkTypeActionMail"===V.type||"GBLinkTypeActionCallUs"===V.type||"GBLinkTypeActionSMS"===V.type||"GBLinkTypeURL"===V.type))return h.E;if("GBLinkTypeActionMail"===V.type||"GBLinkTypeActionCallUs"===V.type||"GBLinkTypeActionSMS"===V.type)return this.handleDeviceAppScheme(V.url);if("GBLinkTypeActionLogout"===V.type)return this.logout();if("GBLinkTypeActionRestorePurchase"===V.type)return this.platform.isPreviewApp&&this.platform.previewService.notAllowedInPreview(),h.E;if("GBLinkTypeStores"===V.type){let Te=V.url;return V.urlAndroid&&this.platform.isAndroid&&(Te=V.urlAndroid),this.createBrowserRedirectionObservable(new A.m(Te))}if(!("GBLinkTypeURL"!==V.type||this.isInternalLink(V.url)&&this.isInternalNavigationAllowedForUrl(V.url)))return this.createBrowserRedirectionObservable(new A.m(V.url));if("GBLinkTypeScreenPushSettings"===V.type&&"GBModuleTypeProfileadvanced"===this.settingsManager.getSectionsType(V.sectionId)){const ee=this.linksBuilder.getProfileAdvancedPushPage(V.sectionId);return(0,v.D)(this.navigation.navigate(ee,{...ge,fragment:"settings"},le))}let te=V.url;if("GBLinkTypeSection"===V.type){const Te=this.settingsManager.getSectionsRewritedUrl(V.sectionId);Te&&(te=Te);const ee=this.settingsManager.getRootFirstSectionSectionId();ee&&V.sectionId===ee&&(te="/")}const We=this._getSectionIdByMcmsV3Url(te);return We?this.handleLink(te,We,le,ge):(this.updateUTMParameters(te),(0,v.D)(this.navigation.navigate(te,ge,le)))}handleLink(V,le,ge,te){if(this.logger.info(`url : ${V}`),""===le&&(le=null),!V||"string"!=typeof V||""===V)return h.E;if(this._initUrlSchemes(),this._isInternalLink(V)){if(this._isExternalAdLink(V)){this.logger.info("url is an Ad, open it directly",{url:V});const ee=new A.m(V);return this.createBrowserRedirectionObservable(ee)}if(this._isOpenExternalLink(V)){const ee=decodeURIComponent(V.split("?url=")[1]);this.logger.info("url Open External link, open it directly",{url:V,externalUrl:ee});const Q=new A.m(ee);return this.createBrowserRedirectionObservable(Q)}if(this._isGoToSectionLink(V)){V=V.replace(`${$.DEFAULT_SCHEME}gotosection?`,"");const ee=new s.LE({fromString:V});if(this.logger.info("url is Go To Section"),ee.has("id")){this.logger.info("V3 url has id prefix",{url:V});const Q=ee.get("id"),me=this.linksBuilder.getSectionRouterLink(Q);return(0,v.D)(this.navigation.navigate(me,te,ge))}}if(V===`${$.DEFAULT_SCHEME}root`){this.logger.info("url is Go To Root");const ee=this.linksBuilder.getHomeRouterLink();return(0,v.D)(this.navigation.navigate(ee,te,{...ge,animation:"backward"}))}if(this._isMcmsBaseUrl(V)){const ee=V;if(this.mCmsBaseUrls.forEach(Q=>{V.startsWith(Q,0)&&(V=V.replace(Q,""))}),V.startsWith("/")&&!V.startsWith("/#!"))return V.startsWith("/logout")?(this.logger.info("Logout link",{url:V}),this.logout()):V.startsWith("/login")?(this.logger.info("Login link",{url:V}),this.login()):(this.logger.info("Mcms link, direct navigation"),this.isInternalNavigationAllowedForUrl(V)?(this.updateUTMParameters(V),this.logger.info("Internal navigation with url",{url:V}),(0,v.D)(this.navigation.navigate(V,te,ge))):(this.logger.info("Internal navigation forbidden, open as external",{link:ee}),this.createBrowserRedirectionObservable(new A.m(ee))))}if(le){const ee=this.settingsManager.getSectionsBaseUrl(le);if(ee&&V.startsWith(ee))return this.updateUTMParameters(V),this.logger.info("Link belongs to current section, navigating to item by url",{url:V,sectionId:le}),this.goToItemBySectionIdAndUrl(V,le,ge,te)}let We;if(this.urlSchemes.forEach(ee=>{V.startsWith(ee,0)&&(We=ee)}),We&&V.startsWith(We)){const ee=this.settingsManager.getSections();for(const Q in ee)if(this.settingsManager.getSectionsBaseUrl(Q)===We)return this.updateUTMParameters(V),this.logger.info(`Looped over sections and found ${We}`,{url:V,sectionId:Q}),this.goToItemBySectionIdAndUrl(V,Q,ge,te)}const Te=this._getSectionIdByMcmsV3Url(V);if(V.startsWith("/")&&!Te)return V.startsWith("/logout")?(this.logger.info("Logout Relative link",{url:V}),this.logout()):V.startsWith("/login")?(this.logger.info("Login Relative link",{url:V}),this.login()):this.isInternalNavigationAllowedForUrl(V)?(this.updateUTMParameters(V),this.logger.info("Direct relative link, internal navigation",{url:V}),(0,v.D)(this.navigation.navigate(V,te,ge))):(this.logger.info("Direct relative link, but not allowed, open as external",{url:V}),this.createBrowserRedirectionObservable(new A.m(V)));if(Te){const ee=this._getItemIdByMcmsUrl(V);if(this.logger.info(`sectionId found : ${Te}`),ee)return this.logger.info(`itemId found : ${ee}, go to item page`),"GBModuleTypeCouponing"===this.settingsManager.getSectionsType(Te)?(0,v.D)((0,E.W)(this.injector,()=>Promise.all([r.e(5636),r.e(8592)]).then(r.bind(r,91494)).then(me=>me.CouponingDataManager))).pipe((0,m.w)(me=>me.getCouponById(+ee).pipe((0,m.w)(pe=>{const se=this.linksBuilder.getCouponingCouponRouterLink(Te,pe);return(0,v.D)(this.navigation.navigate(se,te,ge))})))):this.dataManager.getItemById(Te,ee).pipe((0,m.w)(Q=>{const me=this.linksBuilder.getItemRouterLink(Te,Q);return(0,v.D)(this.navigation.navigate(me,te,ge))}));{this.logger.info("itemId not found, go to section");const Q=this.linksBuilder.getSectionRouterLink(Te);return(0,v.D)(this.navigation.navigate(Q,te,ge))}}{let ee=this._getUrlByMcmsV3Url(V);if(this.logger.info("sectionId not found"),ee){if(this.logger.info("url parameter found"),this._isExternalMcmsV3Link(ee)||this.settingsManager.getSectionsOpenExternal(le)){this.logger.info("url parameter is external link");const Q=new A.m(ee);return this.createBrowserRedirectionObservable(Q)}}else{if(this._isRootMcmsV3Link(V))return this.logger.info("Go to home"),(0,v.D)(this.navigation.navigate(this.linksBuilder.getHomeRouterLink(),te,ge));ee=V}if(ee)return this.logger.info("url parameter found, Go to item page"),this.goToItemBySectionIdAndUrl(ee,le,ge,te)}}if(this.platform.isPortalApp)return this.logger.info("Portal build : no external protocols"),h.E;if(0===V.indexOf("sms")||0===V.indexOf("smsto"))return this.logger.info("sms number"),this.handleDeviceAppScheme(V);if(0===V.indexOf("tel:"))return this.logger.info("phone dial"),this.handleDeviceAppScheme(V);if(0===V.indexOf("mailto:"))return this.logger.info("mail url"),this.handleDeviceAppScheme(V);if(0===V.indexOf("#")){if(this.platform.isBrowser&&"#"!==V){const We=this.doc.querySelector(V);We&&We.scrollIntoView({behavior:"smooth"})}return h.E}this.logger.info("external url");try{const We=new URL(V);this.logger.info("external url redirection",We);const Te=new A.m(V);return this.createBrowserRedirectionObservable(Te)}catch(We){return this.logger.info("external url not valid",We),h.E}}sanitizeUrl(V){return new RegExp(`^${$.DEFAULT_SCHEME}`).exec(V)&&(V=V.replace($.DEFAULT_SCHEME,"")),this.sanitizer.bypassSecurityTrustUrl(V)}isInternalLink(V){return this._initUrlSchemes(),this._isInternalLink(V)}isInternalNavigationAllowedForUrl(V){return this.platform.routesService.slugWhitelist.some(le=>""!==le&&/[?/](.+)$/.test(V.slice(1))?V.startsWith(le,1):V.replace(/\//g,"")===le)}handleDeviceAppScheme(V){const le=new A.m(V,"_self");if(this.platform.isStandaloneMode){if(!(this.platform.isIOS&&this.platform.iOSVersion<12.2))return this.windowLocationObservable(le);le.target="_blank"}return this.createBrowserRedirectionObservable(le)}updateUTMParameters(V){if(/utm_/.exec(V)){const le=this.utm.getUtmParameters(V);this.utm.saveUtmParameters(le)}}_isInternalLink(V){let le=!1;return!!V.startsWith("/")||(this.urlSchemes.forEach(ge=>{V.startsWith(ge,0)&&(le=!0)}),le)}_isMcmsBaseUrl(V){let le=!1;return this.mCmsBaseUrls.forEach(ge=>{V.startsWith(ge,0)&&(le=!0)}),le}_isOpenExternalLink(V){return V.indexOf("openExternal?url=")>-1}_isExternalMcmsV3Link(V){const le=V.match(/external=([^&]+)/);return!(!le||1!==Number(le[1]))}_isRootMcmsV3Link(V){return V.indexOf("#!root")>-1}_isGoToSectionLink(V){return 0===(V=V.replace("http://","").replace("https://","")).indexOf(`${$.DEFAULT_SCHEME}gotosection`)}_isExternalAdLink(V){return V.indexOf("getAds")>-1}_initUrlSchemes(){if(this.urlSchemes.size>0)return;this.urlSchemes.add($.DEFAULT_SCHEME),this.urlSchemes.add(this.settingsManager.getBaseUrl()),this.urlSchemes.add(this.settingsManager.getMobileUrl()),this.urlSchemes.add(this.settingsManager.getWhiteLabelCDN()),this.urlSchemes.add(this.settingsManager.getUrlScheme()),this.mCmsBaseUrls.add(this.settingsManager.getBaseUrl()),this.mCmsBaseUrls.add(this.settingsManager.getMobileUrl()),this.mCmsBaseUrls.add(this.settingsManager.getWhiteLabelCDN());const V=this.settingsManager.getSections();if(V)for(const le in V)this.urlSchemes.add(this.settingsManager.getSectionsBaseUrl(le));this.logger.debug("schemes",this.urlSchemes)}_getSectionIdByMcmsV3Url(V){const le=V.match(/section=([^&]+)/);return le?le[1]:null}_getUrlByMcmsV3Url(V){const le=V.match(/url=([^&]+)/);return le?le[1]:null}_getItemIdByMcmsUrl(V){const le=V.match(/item=([^&]+)/);return le?le[1]:null}createBrowserRedirectionObservable(V){if(this.platform.isIOS&&this.platform.isStandaloneMode&&this.platform.iOSVersion>=12.2&&this.isInternalLink(V.url)&&!this.isInternalNavigationAllowedForUrl(V.url)){const le=/\.\w{3,4}($|\?)/.test(V.url),ge=/apiv3\/attachment/.test(V.url),te=/invoices\//.test(V.url);if(le||ge||te){let We=V.url;V.url.startsWith("/")&&(We=this.settingsManager.getMostAccurateBaseUrl(!0)+V.url),V.url=`https://docs.google.com/viewer?url=${encodeURIComponent(We)}`}}return new _.y(le=>(le.next(V),le.complete(),()=>{if(this.platform.isBrowser){const ge=document.createElement("a");ge.href=V.url,ge.target=V.target,ge.dispatchEvent(new MouseEvent("click",{view:window,bubbles:!1,cancelable:!0}))}}))}windowLocationObservable(V){return new _.y(le=>(le.next(V),le.complete(),()=>{this.platform.isBrowser&&(this.platform.windowRef.location.href=V.url)}))}goToItemBySectionIdAndUrl(V,le,ge,te){return this.dataManager.getItemByUrl(le,V).pipe((0,m.w)(We=>{const Te=this.linksBuilder.getItemRouterLink(le,We);return(0,v.D)(this.navigation.navigate(Te,te,ge))}),(0,b.K)(We=>this.createBrowserRedirectionObservable(new A.m(V,"_blank"))))}logout(){return this.settingsManager.getCommerceBagSectionId()?(this.platform.isPreviewApp||this.store.dispatch(u.h9.logout()),(0,v.D)(this.navigation.navigate(this.linksBuilder.getHomeRouterLink()))):this.settingsManager.isLoginV3()?(this.platform.isPreviewApp||this.store.dispatch(u.iD.logout()),(0,v.D)(this.navigation.navigate(this.linksBuilder.getHomeRouterLink()))):this.authService.logout().pipe((0,m.w)(()=>(this.logger.info("Logout page, Home redirection"),(0,v.D)(this.navigation.navigate(this.linksBuilder.getHomeRouterLink())))))}login(){return this.settingsManager.getCommerceBagSectionId()?(this.store.dispatch(u.h9.setRedirectionUrl({url:this.router.url})),(0,v.D)(this.navigation.navigate("/login",{skipLocationChange:!0}))):this.settingsManager.isLoginV3()?(this.store.dispatch(u.iD.setRedirectionUrl({url:this.router.url})),(0,v.D)(this.navigation.navigate("/login",{skipLocationChange:!0}))):(0,v.D)(this.authService.redirectToLogin({redirectUrl:this.router.url}))}performV3LegacyInitialNavigation(){this.router.events.pipe((0,p.h)(V=>V instanceof c.OD),(0,p.h)(()=>!this.router.navigated),(0,D.U)(V=>V.url),(0,a.q)(1),(0,p.h)(V=>!!/#!/.exec(V)),(0,m.w)(V=>this.handleLink(V))).subscribe()}}return(H=$).DEFAULT_SCHEME="goodbarber://",H.\u0275fac=function(V){return new(V||H)(O.LFG(W.pz),O.LFG(k.Y),O.LFG(B.hm),O.LFG(X.B),O.LFG(M.e),O.LFG(U.w),O.LFG(N.m),O.LFG(I.H7),O.LFG(c.F0),O.LFG(F.yh),O.LFG(n.DOCUMENT),O.LFG(T.g$),O.LFG(O.lqb))},H.\u0275prov=O.Yz7({token:H,factory:H.\u0275fac,providedIn:"root"}),$})()},85475:(_e,R,r)=>{"use strict";r.d(R,{f:()=>u});var n=r(55096),s=r(36305),c=r(57495),h=r(19330),v=r(29600),_=r(3050),m=r(9793),b=r(57805),p=r(5980),D=r(77533),a=r(14565);let u=(()=>{var E;class T{constructor(B,N,W,A,X,U,O,k){this.navigation=B,this.settingsManager=N,this.linksManager=W,this.rootService=A,this.router=X,this.platform=U,this.locationStrategy=O,this.authService=k,this.href="/",this.closeRoot=!0,this.subscription=X.events.pipe((0,s.h)(I=>I instanceof n.m2)).subscribe(()=>this.updateLink())}ngOnChanges(B){this.updateLink()}ngOnDestroy(){this.subscription.unsubscribe()}onClick(B,N,W){if(0!==B||N||W)return!0;const A={resetHistory:this.resetHistory,skipNavigationHistory:this.skipNavigationHistory,animationDirection:this.animationDirection};if(this.link instanceof m.F6){if(this.platform.isPortalApp&&("GBLinkTypeActionMail"===this.link.type||"GBLinkTypeActionCallUs"===this.link.type||"GBLinkTypeActionSMS"===this.link.type||"GBLinkTypeURL"===this.link.type))return!1;if("string"==typeof this.target&&"_self"!==this.target||"GBLinkTypeActionMail"===this.link.type||"GBLinkTypeActionCallUs"===this.link.type||"GBLinkTypeActionSMS"===this.link.type)return!0;this.linksManager.handleNavigationLink(this.link,A).subscribe(()=>{this.closeRoot&&this.rootService.closeRoot()})}else this.link&&this.navigation.navigate(this.link,{fragment:this.fragment},A).then(X=>{this.closeRoot&&this.rootService.closeRoot()});return!1}updateLink(){if(this.link instanceof m.F6){if(this.href=this.link.url.startsWith("/")?this.locationStrategy.prepareExternalUrl(this.link.url):this.linksManager.sanitizeUrl(this.link.url),"GBLinkTypeURL"===this.link.type&&!this.linksManager.isInternalNavigationAllowedForUrl(this.link.url)&&this.setExternalTargetAndRelAttributes(),"GBLinkTypeSection"===this.link.type){const B=this.settingsManager.getRootFirstSectionSectionId();B&&this.link.sectionId===B&&(this.href=this.locationStrategy.prepareExternalUrl("/"));const N=this.settingsManager.getSectionsType(this.link.sectionId);let W,A;if("GBModuleTypeClickto"===N){const X=this.settingsManager.getSectionsLink(this.link.sectionId);X&&("GBModuleTypeCustom"===this.settingsManager.getSectionsType(X.sectionId)&&(W=this.settingsManager.getCustomCustomUrl(this.link.sectionId),A=this.link.sectionId),X.type&&"GBLinkTypeURL"===X.type&&!this.linksManager.isInternalNavigationAllowedForUrl(X.url)&&(W=X.url))}("GBModuleTypeShop"===N||"GBModuleTypeCustom"===N)&&(W=this.settingsManager.getCustomCustomUrl(this.link.sectionId),A=this.link.sectionId),W&&!this.platform.isPreviewApp&&(A?this.authService.isRestrictedContent(A).pipe((0,c.P)(X=>!X)).subscribe(()=>{this.href=W,this.setExternalTargetAndRelAttributes()}):(this.href=this.linksManager.sanitizeUrl(W),this.setExternalTargetAndRelAttributes()))}"GBLinkTypeStores"===this.link.type&&(this.link.urlAndroid&&this.platform.isAndroid?(this.href=this.linksManager.sanitizeUrl(this.link.urlAndroid),this.setExternalTargetAndRelAttributes()):this.link.url&&this.setExternalTargetAndRelAttributes())}else Array.isArray(this.link)&&this.link.length&&(this.href=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.router.createUrlTree(this.link))))}setExternalTargetAndRelAttributes(){this.target="_blank",this.rel="noopener"}}return(E=T).\u0275fac=function(B){return new(B||E)(D.Y36(p.w),D.Y36(m.pz),D.Y36(b.V),D.Y36(h.iK),D.Y36(n.F0),D.Y36(_.m),D.Y36(a.LocationStrategy),D.Y36(v.e))},E.\u0275dir=D.lG2({type:E,selectors:[["a","gbNavigationLink",""]],hostVars:3,hostBindings:function(B,N){1&B&&D.NdJ("click",function(A){return N.onClick(A.button,A.ctrlKey,A.metaKey)}),2&B&&(D.Ikx("href",N.href,D.LSH),D.uIk("target",N.target)("rel",N.rel))},inputs:{link:["gbNavigationLink","link"],resetHistory:"resetHistory",skipNavigationHistory:"skipNavigationHistory",closeRoot:"closeRoot",fragment:"fragment",animationDirection:"animationDirection"},features:[D.TTD]}),T})()},79059:(_e,R,r)=>{"use strict";r.d(R,{D:()=>p});var n=r(55096),s=r(36305),c=r(19330),h=r(3050),v=r(9793),_=r(85475),m=r(5980),b=r(77533);let p=(()=>{var D;class a{set gbNavigationLinkActive(E){const T=Array.isArray(E)?E:E.split(" ");this.classes=T.filter(M=>!!M)}get isActive(){return this.active}constructor(E,T,M,B,N,W,A,X,U){this.cdr=E,this.router=T,this.renderer=M,this.el=B,this.settingsManager=N,this.linkWithHref=W,this.navigationManager=A,this.root=X,this.platform=U,this.isRootNavigationLink=!1,this.active=!1,this.classes=[],this.rootType=this.settingsManager.getRootType()}ngOnChanges(E){(!this.isRootNavigationLink||"Slate"!==this.rootType&&"OldGrid"!==this.rootType)&&(this.subscription=this.router.events.pipe((0,s.h)(T=>T instanceof n.m2)).subscribe(()=>this.update())),this.update()}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}update(){if(!this.linkWithHref||!this.router.navigated||this.isRootNavigationLink&&!this.active&&this.root.currentActivatedLink)return;const E=this.hasActiveLink();this.active!==E&&(this.classes.forEach(T=>(E?this.renderer.addClass:this.renderer.removeClass)(this.el.nativeElement,T)),Promise.resolve(E).then(T=>{this.active=T,this.cdr.markForCheck()}))}hasActiveLink(){return this.linkIsActive(this.linkWithHref)}linkIsActive(E){let T=!1;if(E){let B,M=!1;if(E.link instanceof v.F6&&!E.link.isAction&&(B=E.link.url,"GBLinkTypeSection"===E.link.type)){const N=this.settingsManager.getRootFirstSectionSectionId();N&&E.link.sectionId===N&&(B=this.navigationManager.firstSectionUrl,M=!0,this.platform.isPreviewApp&&/uistyle=1/.exec(this.router.url)&&(B+="?uistyle=1"),this.platform.isPortalApp&&/json=/.exec(this.router.url)&&(B="/",M=!1),this.platform.isStandaloneMode&&/standalone=1/.test(this.router.url)&&(B+="?standalone=1"))}Array.isArray(E.link)&&(B=this.router.createUrlTree(E.link).toString(),M=!1),B&&(T=this.router.isActive(B,M),T&&(this.root.currentActivatedLink=B))}return T}}return(D=a).\u0275fac=function(E){return new(E||D)(b.Y36(b.sBO),b.Y36(n.F0),b.Y36(b.Qsj),b.Y36(b.SBq),b.Y36(v.pz),b.Y36(_.f,10),b.Y36(m.w),b.Y36(c.iK),b.Y36(h.m))},D.\u0275dir=b.lG2({type:D,selectors:[["","gbNavigationLinkActive",""]],inputs:{gbNavigationLinkActive:"gbNavigationLinkActive",isRootNavigationLink:"isRootNavigationLink"},exportAs:["gbNavigationLinkActive"],features:[b.TTD]}),a})()},5980:(_e,R,r)=>{"use strict";r.d(R,{w:()=>U});var n=r(55096),s=r(31907),c=r(28459),h=r(36305),v=r(97478),_=r(49804),m=r(72514),b=r(58764),p=r(69947),D=r(32971),a=r(26079),u=r(24681),E=r(19330),T=r(29600),M=r(3050),B=r(21205),N=r(9793),W=r(1244),A=r(43017),X=r(77533);let U=(()=>{var O;class k{get previousPageUrl(){return this.history.length>1?this.history[this.history.length-1]:"/"}get navigatedMoreThanOnce(){return this.navigationCount>1}constructor(F,P,H,$,J,V,le,ge,te,We){this.settingsManager=F,this.rootService=P,this.router=H,this.statsServices=$,this.authService=J,this.scroll=V,this.animationManager=le,this.platform=ge,this.store=te,this.linksBuilder=We,this.resetHistory=!1,this.navigated=new c.t,this.navigationCount=0,this.lastScrollPosition=0,this.history=new Array,this.scrollHistory=new Array,this.skipNavigationInHistory=!1,this.navigationCleanUp=!1,this.replaceUrlInHistory=!1,this.historyToPrepend=null,this.rootOpenedHistory=new Array,this.animationHistory=new Array;const Te=this.router.events.pipe((0,h.h)(pe=>pe instanceof n.m2));this.router.events.pipe((0,h.h)(pe=>pe instanceof n.OD),(0,h.h)(()=>!this.router.navigated),(0,v.U)(pe=>pe.url),(0,_.q)(1)).subscribe(()=>{this.firstSectionUrl="/";const pe=this.settingsManager.getRootFirstSectionSectionId();pe&&(this.settingsManager.getSectionsSubsectionsCount(pe)>0&&(this.firstSectionUrl+=this.settingsManager.getSectionsRewritedUrl(pe)+"/c/0"),(0,D.Y)(this.settingsManager.getSectionsType(pe))&&(this.firstSectionUrl+=this.settingsManager.getSectionsRewritedUrl(pe)))}),this.router.events.pipe((0,h.h)(pe=>pe instanceof n.OD),(0,h.h)(()=>!this.router.navigated),(0,v.U)(pe=>pe.url),(0,_.q)(1),(0,h.h)(pe=>"/login"===pe)).subscribe(()=>{const pe=this.authService.redirectUrlTree;pe&&(this.pushUrlInHistory(pe.toString().replace(/#(.*)$/,"")),this.pushUrlInHistory(pe.toString().replace(/\/?#(.*)$/,"")))}),Te.pipe((0,v.U)(pe=>pe.urlAfterRedirects.replace(/\/?#(.*)$/,"")),(0,m.M)(this.store.pipe((0,s.Ys)(u.YR)),this.store.pipe((0,s.Ys)(u.jo)))).subscribe(([pe,se,Me])=>{let ct=!1;this.settingsManager.sectionIsInMainNavigation(se)?Me===N.Jq.List?(this.history=[pe],this.resetHistory=!1):ct=!0:ct=!(!this.canNavigateBack()&&Me===N.Jq.List),P.rootIsTabBar&&(ct?this.rootService.hideTabbar():this.rootService.showTabbar())}),Te.pipe((0,h.h)(()=>!!this.skipNavigationInHistory)).subscribe(()=>{this.skipNavigationInHistory=!1,this.navigationCleanUp=!0}),Te.pipe((0,h.h)(()=>!0===this.navigationCleanUp&&!1===this.skipNavigationInHistory)).subscribe(()=>this.navigationCleanUp=!1),Te.pipe((0,h.h)(()=>!0===this.replaceUrlInHistory)).subscribe(()=>this.replaceUrlInHistory=!1),Te.pipe((0,v.U)(pe=>pe.urlAfterRedirects.replace(/\/?#(.*)$/,"")),(0,h.h)(pe=>"/login"!==pe)).subscribe(pe=>{this.statsServices&&Array.isArray(this.statsServices)&&this.statsServices.forEach(se=>se.trackPage(pe)),this.currentUrl=pe,this.navigated.next(pe),this.navigationCount++}),this.router.events.pipe((0,h.h)(pe=>pe instanceof n.c9),(0,h.h)(pe=>pe.shouldActivate),(0,m.M)(this.store.pipe((0,s.Ys)(u.aQ)),(pe,se)=>se.state),pe=>pe.pipe((0,v.U)(se=>{let Me=decodeURIComponent(se.url);return se.data.keepFragmentInHistory||(Me=Me.replace(/\/?#(.*)$/,"")),se.data.keepQueryParamsInHistory||(Me=Me.replace(/\?(.*)$/,"")),Me||"/"})),(()=>pe=>pe.pipe((0,h.h)(se=>se!==this.history[this.history.length-1]),(0,h.h)(se=>"/login"!==se),(0,h.h)(se=>!1===this.navigationCleanUp&&!1===this.skipNavigationInHistory),(0,h.h)(se=>this.pathShouldBePushedInHistory(se))))()).subscribe(pe=>{this.lastScrollPosition=this.scroll.scrollTop,this.pushUrlInHistory(pe)}),this.router.events.pipe((0,h.h)(pe=>pe instanceof n.c9),(0,h.h)(pe=>pe.shouldActivate)).subscribe(()=>this.rootService.currentActivatedLink=null),this.router.events.pipe((0,h.h)(pe=>pe instanceof n.c9),(0,h.h)(pe=>pe.shouldActivate),(0,h.h)(()=>this.router.navigated),(0,m.M)(this.store.pipe((0,s.Ys)(u.aQ)),(pe,se)=>se.state)).subscribe(pe=>{this.animationManager.routerSubscription(pe),this.animationHistory.push(this.animationManager.state)})}canNavigateBack(){return this.router.url!==this.firstSectionUrl&&this.history.length>1}wasLastForwardAnimationGoingUp(){const F=this.animationHistory[this.animationHistory.length-1];if(!F)return!1;const P=F.match(/^forward(up)/);return P&&"up"===P[1]}goBack(F=null){if(this.canNavigateBack()){this.history.pop();const P=this.scrollHistory.pop(),H=this.rootOpenedHistory.pop(),$=F||(this.wasLastForwardAnimationGoingUp()?"down":null);this.animationManager.animBackward(P,$),this.animationHistory.pop();const J=this.history[this.history.length-1],V=/\/?#(.*)$/.test(J);let le=this.router.navigate([J],{replaceUrl:!0,preserveFragment:!1===V});return/\?|;(?:search|faves)=/.exec(J)&&(le=this.router.navigateByUrl(J,{replaceUrl:!0})),"Scratch"===this.settingsManager.getRootType()&&(le=le.then(ge=>(ge&&this.currentUrl===this.firstSectionUrl&&this.rootService.openRoot(),!0))),this.settingsManager.isRootTabBarLike()&&H&&(le=le.then(ge=>(ge&&this.rootService.openRoot(),!0))),le}return this.router.navigate(["/"],{replaceUrl:!0,preserveFragment:!0})}navigate(F,P,H){if(H){if(typeof H.skipNavigationHistory<"u"&&(this.skipNavigationInHistory=H.skipNavigationHistory),typeof H.resetHistory<"u"&&(this.resetHistory=H.resetHistory),typeof H.replaceUrlInHistory<"u"&&(this.replaceUrlInHistory=H.replaceUrlInHistory),typeof H.rewriteHistoryWith<"u"&&(this.historyToPrepend=H.rewriteHistoryWith),typeof H.animation<"u")switch(H.animation){case"backward":this.animationManager.animBackward();break;case"none":this.animationManager.disableComingAnimation()}typeof H.animationDirection<"u"&&this.animationManager.setAnimationDirection(H.animationDirection)}let $;return $="string"==typeof F?this.router.navigateByUrl(F,P):this.router.navigate(F,P),$.then(J=>(J||(this.replaceUrlInHistory=!1,this.rootService.closeRoot()),this.resetHistory=!1,this.historyToPrepend=null,J))}navigateWithoutHistory(F,P){return this.navigate(F,P,{skipNavigationHistory:!0})}navigateWithoutAnimation(F,P,H){return this.animationManager.disableComingAnimation(),this.navigate(F,P,H)}navigateToExternal(F,P="_self"){return this._createExternalRedirectionObservable(new W.m(F,P))}navigateToHome(){this.navigateWithoutAnimation(this.linksBuilder.getHomeRouterLink())}pushUrlInHistory(F){this.resetHistory||F===this.firstSectionUrl?(this.history=[F],this.resetHistory=!1):this.replaceUrlInHistory?(this.history[this.history.length-1]=F,this.scrollHistory[this.history.length-1]=this.lastScrollPosition,this.rootOpenedHistory[this.history.length-1]=this.rootService.rootIsOpen):this.historyToPrepend?this.history=[...this.historyToPrepend,F]:(this.history.push(F),this.scrollHistory.push(this.lastScrollPosition),this.rootOpenedHistory.push(this.rootService.rootIsOpen)),this.lastScrollPosition=0,this.scroll.resetScroll(),this.skipNavigationInHistory=!1,this.replaceUrlInHistory=!1}pathShouldBePushedInHistory(F){if(!F||"/login"===F)return!1;let P=!1;const H=this.history[this.history.length-1];if(/\/c\//.exec(F)&&/\/c\//.exec(H)){const J=/\/(.+)\/c\//.exec(H)[1];P=/\/(.+)\/c\//.exec(F)[1]===J}return this.resetHistory||!P||/\/i\//.exec(F)?!/\(/.exec(F):(this.history[this.history.length-1]=F,!1)}_createExternalRedirectionObservable(F){return new b.y(P=>(P.next(F),P.complete(),()=>{this.platform.isBrowser&&window.open(F.url,F.target)}))}}return(O=k).\u0275fac=function(F){return new(F||O)(X.LFG(N.pz),X.LFG(E.iK),X.LFG(n.F0),X.LFG(a.mK,8),X.LFG(T.e),X.LFG(B.a),X.LFG(p.AW),X.LFG(M.m),X.LFG(s.yh),X.LFG(A.B))},O.\u0275prov=X.Yz7({token:O,factory:O.\u0275fac,providedIn:"root"}),k})()},91104:(_e,R,r)=>{"use strict";r.d(R,{F:()=>c});var n=r(69947),s=r(77533);let c=(()=>{var h;class v{constructor(m){this.anim=m,this.enabled=!0}disableAnimationForNextRouterEvent(){this.enabled&&this.anim.disableComingAnimation()}}return(h=v).\u0275fac=function(m){return new(m||h)(s.Y36(n.AW))},h.\u0275dir=s.lG2({type:h,selectors:[["","gbNavigationWithoutAnimationLink",""]],hostBindings:function(m,b){1&m&&s.NdJ("click",function(){return b.disableAnimationForNextRouterEvent()})},inputs:{enabled:["gbNavigationWithoutAnimationLink","enabled"]}}),v})()},69135:(_e,R,r)=>{"use strict";r.d(R,{s:()=>s});var n=r(77533);let s=(()=>{var c;class h{constructor(){this.type="Simple"}set value(_){this._value=_,_>0&&(this.valueLabel="Badge"===this.type?_>99?"+99":_.toString():_>999?"+999":_.toString())}get value(){return this._value}}return(c=h).\u0275fac=function(_){return new(_||c)},c.\u0275cmp=n.Xpm({type:c,selectors:[["gb-numeric-badge"],["","gbAMPNumericBadge",""]],inputs:{type:"type",value:"value"},decls:2,vars:3,template:function(_,m){1&_&&(n.TgZ(0,"span"),n._uU(1),n.qZA()),2&_&&(n.ekj("hidden",m.value<=0),n.xp6(1),n.Oqu(m.valueLabel))},encapsulation:2,changeDetection:0}),h})()},74211:(_e,R,r)=>{"use strict";r.d(R,{q:()=>c});var n=r(99256),s=r(77533);let c=(()=>{var h;class v{transform(m,b,p){return"string"!=typeof m&&(m=""),"number"!=typeof b&&(b=1),/^rgba/.exec(m)&&p?(0,n.r0)(m,b):(0,n.a7)(m,b)}}return(h=v).\u0275fac=function(m){return new(m||h)},h.\u0275pipe=s.Yjl({name:"backgroundcolor",type:h,pure:!0}),v})()},36888:(_e,R,r)=>{"use strict";r.d(R,{_:()=>_});var n=r(16861),s=r(3050),c=r(99256),h=r(77533),v=r(45781);let _=(()=>{var m;class b{constructor(D,a){this.sanitizer=D,this.platform=a}transform(D,a){return this.platform.webpEnabled&&(D&&(0,n.TR)(D)&&(D=(0,n.Ku)(D)),a&&(0,n.TR)(a)&&(a=(0,n.Ku)(a))),D&&""!==D?this.platform.isAmpApp?`url(${D})`:this.sanitizer.bypassSecurityTrustStyle(`url(${D})`):a&&""!==a?this.platform.isAmpApp?`url(${a})`:this.sanitizer.bypassSecurityTrustStyle(`url(${a})`):`url(${(0,c.QM)("front-assets/img/transparent.png")})`}}return(m=b).\u0275fac=function(D){return new(D||m)(h.Y36(v.H7,16),h.Y36(s.m,16))},m.\u0275pipe=h.Yjl({name:"backgroundimage",type:m,pure:!0}),b})()},70250:(_e,R,r)=>{"use strict";r.d(R,{Y:()=>s});var n=r(77533);let s=(()=>{var c;class h{transform(_,m,b){return Math.min(Math.max(m,_),b)}}return(c=h).\u0275fac=function(_){return new(_||c)},c.\u0275pipe=n.Yjl({name:"boundaries",type:c,pure:!0}),h})()},37780:(_e,R,r)=>{"use strict";r.d(R,{f:()=>s});var n=r(77533);let s=(()=>{var c;class h{transform(_,m=0){return("number"!=typeof _||!_||_<0)&&(_=0),new Array(_).fill(m)}}return(c=h).\u0275fac=function(_){return new(_||c)},c.\u0275pipe=n.Yjl({name:"fill",type:c,pure:!0}),h})()},99712:(_e,R,r)=>{"use strict";r.d(R,{Y:()=>c});var n=r(98238),s=r(77533);let c=(()=>{var h;class v{constructor(m){this.languages=m}transform(m,b){const{companyMissing:p,vatNumberMissing:D}=b||{};let a=`${m.first_name} ${m.last_name}\n`;return m.company&&!p&&(a+=`${m.company}\n`),a+=m.localized_address,m.vat_number&&!D&&(a+=`\n\n(${this.languages.getString("GBCOMMERCE_COMMERCE_VAT")} : ${m.vat_number})`),a}}return(h=v).\u0275fac=function(m){return new(m||h)(s.Y36(n.h,16))},h.\u0275pipe=s.Yjl({name:"formataddress",type:h,pure:!0}),v})()},98672:(_e,R,r)=>{"use strict";r.d(R,{e:()=>c});var n=r(54743),s=r(77533);let c=(()=>{var h;class v{constructor(m){this.infosFacade=m}transform(m){return this.infosFacade.toCurrencyFormat(m)}}return(h=v).\u0275fac=function(m){return new(m||h)(s.Y36(n.cu,16))},h.\u0275pipe=s.Yjl({name:"gbcurrency",type:h,pure:!0}),v})()},92312:(_e,R,r)=>{"use strict";r.d(R,{u:()=>c});var n=r(35594),s=r(77533);let c=(()=>{var h;class v{constructor(m){this.linksManager=m}transform(m){return this.linksManager.sanitizeUrl(m)}}return(h=v).\u0275fac=function(m){return new(m||h)(s.Y36(n.Vo,16))},h.\u0275pipe=s.Yjl({name:"gbhref",type:h,pure:!0}),v})()},40317:(_e,R,r)=>{"use strict";r.d(R,{E:()=>c});var n=r(38205),s=r(77533);let c=(()=>{var h;class v{transform(m,b){return m&&m instanceof n.Mj?(b||(b=""),m.formatSubtitle(b)):""}}return(h=v).\u0275fac=function(m){return new(m||h)},h.\u0275pipe=s.Yjl({name:"itemsubtitle",type:h,pure:!0}),v})()},89633:(_e,R,r)=>{"use strict";r.d(R,{e:()=>h});var n=r(38205),s=r(99256),c=r(77533);let h=(()=>{var v;class _{constructor(b){this.itemFactory=b}transform(b){return Array.isArray(b)?b.map(p=>this.itemFactory.createItem(new s.sT(p))):this.itemFactory.createItem(new s.sT(b))}}return(v=_).\u0275fac=function(b){return new(b||v)(c.Y36(n.HP,16))},v.\u0275pipe=c.Yjl({name:"itemfactory",type:v,pure:!0}),_})()},92661:(_e,R,r)=>{"use strict";r.d(R,{K:()=>v});var n=r(35594),s=r(9793),c=r(77533),h=r(45781);let v=(()=>{var _;class m{constructor(p,D){this.sanitizer=p,this.settingsManager=D}transform(p,D="inherit"){const a=new RegExp(`((${n.Vo.DEFAULT_SCHEME}|${this.settingsManager.getUrlScheme()}|http(s)?://)[^\\s]+)`,"ig"),u=p.replace(a,`<a href="$1" style="color:${D}">$1</a>`);return this.sanitizer.bypassSecurityTrustHtml(u)}}return(_=m).\u0275fac=function(p){return new(p||_)(c.Y36(h.H7,16),c.Y36(s.pz,16))},_.\u0275pipe=c.Yjl({name:"linkify",type:_,pure:!0}),m})()},67286:(_e,R,r)=>{"use strict";r.d(R,{D:()=>B});var n=r(14565),T=(r(74211),r(36888),r(70250),r(37780),r(99712),r(98672),r(92312),r(40317),r(89633),r(92661),r(45367),r(98153),r(77533));let B=(()=>{var N;class W{}return(N=W).\u0275fac=function(X){return new(X||N)},N.\u0275mod=T.oAB({type:N}),N.\u0275inj=T.cJS({imports:[n.CommonModule]}),W})()},45367:(_e,R,r)=>{"use strict";r.d(R,{W:()=>h});var n=r(97478),s=r(3050),c=r(77533);let h=(()=>{var v;class _{constructor(b){this.platform=b}transform(b){return this.platform.deviceChanged.pipe((0,n.U)(()=>this.platform.isDesktopSize()?b.desktopSize:this.platform.isTabletSize()?b.tabletSize:b.size))}}return(v=_).\u0275fac=function(b){return new(b||v)(c.Y36(s.m,16))},v.\u0275pipe=c.Yjl({name:"responsivefontsize",type:v,pure:!0}),_})()},98153:(_e,R,r)=>{"use strict";r.d(R,{i:()=>c});var n=r(77533),s=r(45781);let c=(()=>{var h;class v{constructor(m){this.sanitizer=m}transform(m){return this.sanitizer.bypassSecurityTrustStyle(m)}}return(h=v).\u0275fac=function(m){return new(m||h)(n.Y36(s.H7,16))},h.\u0275pipe=n.Yjl({name:"safestyle",type:h,pure:!0}),v})()},3050:(_e,R,r)=>{"use strict";r.d(R,{m:()=>n.m});var n=r(71111)},71111:(_e,R,r)=>{"use strict";r.d(R,{m:()=>N});var n=r(14565),s=r(77533),c=r(63673),h=r(28459),v=r(97974),_=r(97478),m=r(36305),b=r(34477),p=r(42768),a=r(63342),u=r(21163),E=r(44036),T=r(55096),M=r(45208),B=r(45781);let N=(()=>{var W;class A{set deviceType(U){this._deviceType!==U&&(this.setDeviceTypeCookie(U),this.isPreviewApp&&this.doc.body.classList.add(U),this.setMobileDeviceViewportUnit()),this._deviceType=U,this.deviceSubject.next(this._deviceType)}get deviceType(){return this._deviceType}set orientation(U){this._orientation=U,this.setMobileDeviceViewportUnit(),this.orientationSubject.next(this._orientation)}get bigScreen(){return this.breakpointObserver.isMatched("(min-width: 1920px)")}get deviceChanged(){return this.deviceSubject.pipe((0,v.x)())}get orientationChanged(){return this.orientationSubject.pipe((0,v.x)())}get platformChanged(){return(0,c.a)([this.deviceChanged,this.orientationChanged,this.bigScreenChanged]).pipe((0,v.x)())}get isLandscape(){return"landscape"===this._orientation}get isPortrait(){return"portrait"===this._orientation}get isPreviewApp(){return this.isBrowser&&("preview"===this.appType||this.isPortalApp)}get isPortalApp(){return"portal"===this.appType}get isInteractivePreviewApp(){return this.isPreviewApp&&!1===this.isStaticPreview}get previewService(){return this._previewService}set previewService(U){this._previewService=U,this._previewService.routeAdded.subscribe(O=>{this.routesService.appendRoute(O),this.router.resetConfig(this.routesService.config)}),this._previewService.routeRenamed.subscribe(O=>{this.routesService.buildRoutes(),this.router.resetConfig(this.routesService.config)})}constructor(U,O,k,I,F,P,H,$,J,V){this.windowRef=U,this.doc=O,this.platformId=k,this.appType=I,this.router=F,this.cookieService=P,this.breakpointObserver=H,this.serverContext=$,this.meta=J,this.isStaticPreview=V,this.bigScreenChanged=this.breakpointObserver.observe("(min-width: 1920px)").pipe((0,_.U)(te=>te.matches)),this.isBrowser=(0,n.isPlatformBrowser)(this.platformId),this.isNativeLazyLoadingSupported=this.isBrowser&&"loading"in HTMLImageElement.prototype,this.iOSVersion=-1,this.orientationSubject=new h.t(1),this.deviceSubject=new h.t(1),this.deviceCookieName="gbdevice",this.initializeBreakpointsAndDeviceType();const le=new p.UAParser(this.windowRef.navigator.userAgent);this.browser=le.getBrowser();const ge=le.getOS();if(this.isNativeAndPWAPlanPreviewApp=this.isBrowser&&this.isPreviewApp&&location.search.indexOf("pwa")<0,this.isIpad=this.isBrowser&&U.navigator&&"Mac OS"===ge.name&&"Safari"===this.browser.name&&U.navigator.maxTouchPoints>1,this.isIOS=this.isBrowser&&("iOS"===ge.name||this.isIpad),this.isAndroid=this.isBrowser&&"Android"===ge.name,this.isAmpApp=!this.isBrowser&&"amp"===this.appType,this.isChromeAndroid="Chrome"===this.browser.name&&this.isAndroid,this.isIOS&&(this.doc.documentElement.classList.add("is-ios"),this.iOSVersion=this.parseIOSVersion()),this.isChromeAndroid&&this.doc.documentElement.classList.add("is-chrome-android"),this.isWindows=this.isBrowser&&!!/Windows/i.exec(this.windowRef.navigator.userAgent),this.isWindows&&this.doc.documentElement.classList.add("is-win"),this.isSafari=this.isBrowser&&("Safari"===this.browser.name||"Mobile Safari"===this.browser.name),this.isStandaloneMode=this.isBrowser&&(U.matchMedia("(display-mode: standalone)").matches||U.navigator.standalone),this.isStandaloneMode&&this.cookieService.setCookie("gbnossr","1"),this.isPortalApp&&this.doc.documentElement.classList.add("is-portal"),this.isBrowser){const te="Mac OS"===ge.name&&ge.version.split(".")[0];this.webpEnabled=!(this.isSafari&&"Mac OS"===ge.name&&+te<11)}else this.webpEnabled=!0}isTabletSize(U=!1){return this.matchesSize.call(this,"tablet",U)}isMobileSize(U=!1){return this.matchesSize.call(this,"mobile",U)}isDesktopSize(U=!1){return this.matchesSize.call(this,"desktop",U)}isMobileOrTablet(){return this.matchesSize.call(this,["mobile","tablet"],!0)}measureStandaloneIOSDeviceInnerHeight(){const U=Math.abs(this.windowRef.orientation),O=this.meta.getTag('name="apple-mobile-web-app-status-bar-style"'),k=O&&O.content;if(k&&"black-translucent"===k)return this.windowRef.innerHeight;if(!this.dimensions){let I=this.doc.createElement("div");I.style.setProperty("position","fixed"),I.style.setProperty("height","100%"),I.style.setProperty("width","0px"),I.style.setProperty("top","0px"),I.style.setProperty("margin","0px"),I.style.setProperty("padding","0px"),this.doc.documentElement.appendChild(I),this.dimensions={w:90===U?I.offsetHeight:this.windowRef.innerWidth,h:90===U?this.windowRef.innerWidth:I.offsetHeight},this.doc.documentElement.removeChild(I),I=null}return 90===U?this.dimensions.w:this.dimensions.h}setMobileDeviceViewportUnit(){(this.isIOS||this.isChromeAndroid)&&setTimeout(()=>{const U=this.isIOS&&this.isStandaloneMode?this.measureStandaloneIOSDeviceInnerHeight():this.windowRef.innerHeight;this.doc.documentElement.style.setProperty("--vh",.01*U+"px")},1e3)}getWindowHeight(){let U=this.windowRef.innerHeight;if(this.isIOS||this.isChromeAndroid){const O=this.doc.documentElement.style.getPropertyValue("--vh");O&&(U=Math.round(100*parseFloat(O.replace("px",""))))}return U}setDeviceTypeCookie(U){this.isPreviewApp?this.cookieService.deleteCookie(this.deviceCookieName):this.cookieService.setCookie(this.deviceCookieName,U,30)}parseIOSVersion(){const U=this.windowRef.navigator.appVersion.match(/OS (\d+)_(\d+)/);return U?parseInt(U[1],10)+.1*parseInt(U[2],10):-1}matchesSize(U,O=!1){const k=I=>U===I||Array.isArray(U)&&U.indexOf(I)>-1;return O?this.deviceChanged.pipe((0,_.U)(I=>k(I))):k(this._deviceType)}initializeBreakpointsAndDeviceType(){this.isBrowser?(this.breakpointObserver.observe(["(orientation: portrait) and (max-width: 599px), (orientation: landscape) and (max-width: 959px)","(orientation: portrait) and (min-width: 600px) and (max-width: 1024px), (orientation: landscape) and (min-width: 960px) and (max-width: 1279px)","(orientation: portrait) and (min-width: 1025px), (orientation: landscape) and (min-width: 1280px)"]).pipe((0,m.h)(U=>U.matches),(0,_.U)(U=>Object.entries(U.breakpoints).find(([O,k])=>!0===k)),(0,_.U)(([U])=>{const O=k=>k.split(", ").indexOf(U)>-1;return O("(orientation: portrait) and (max-width: 599px), (orientation: landscape) and (max-width: 959px)")?"mobile":O("(orientation: portrait) and (min-width: 600px) and (max-width: 1024px), (orientation: landscape) and (min-width: 960px) and (max-width: 1279px)")?"tablet":"desktop"}),(0,v.x)()).subscribe(U=>this.deviceType=U),this.breakpointObserver.observe("(orientation: portrait)").pipe((0,b.g)(0)).subscribe(U=>this.orientation=U.matches?"portrait":"landscape")):this.serverContext&&this.serverContext.platform?(this.deviceType=this.serverContext.platform,this.orientation="desktop"===this.deviceType?"landscape":"portrait"):(this.deviceType="desktop",this.orientation="landscape")}}return(W=A).\u0275fac=function(U){return new(U||W)(s.LFG(E.m9),s.LFG(n.DOCUMENT),s.LFG(s.Lbi),s.LFG(E.IF),s.LFG(T.F0),s.LFG(a.N_),s.LFG(M.Yg),s.LFG(u.C9,8),s.LFG(B.h_),s.LFG(E.CP))},W.\u0275prov=s.Yz7({token:W,factory:W.\u0275fac,providedIn:"root"}),A})()},25200:(_e,R,r)=>{"use strict";r.d(R,{q:()=>n});class n{constructor(c,h){this.width=c,this.height=h}openPopup(c){return window.open(c,"_blank",this.features)}get centeredPosition(){const c=void 0!==window.screenLeft?window.screenLeft:0,h=void 0!==window.screenTop?window.screenTop:0;return{top:window.innerHeight/2-this.height/2+h,left:window.innerWidth/2-this.width/2+c,width:this.width,height:this.height}}get features(){return Object.keys(this.centeredPosition).map(c=>[c,this.centeredPosition[c]].join("=")).join(",")}}},21205:(_e,R,r)=>{"use strict";r.d(R,{J:()=>s.J,a:()=>n.a});var n=r(40499),s=r(66641)},40499:(_e,R,r)=>{"use strict";r.d(R,{a:()=>a});var n=r(14565),s=r(9739),c=r(17343),h=r(4807),v=r(60110),_=r(38924),m=r(97478),b=r(3050),p=r(77533);let a=(()=>{var u;class E{constructor(M,B,N){this.platform=M,this.zone=B,this.doc=N,this._scrolled=new s.x,this.scrollableReferences=new Map,this.scrolledOnce=!1,this.scrollAttempt=1,M.isBrowser&&(B.runOutsideAngular(()=>{(0,c.T)((0,h.R)(M.windowRef,"scroll"),(0,h.R)(M.windowRef,"resize")).pipe((0,v.b)(W=>{this.eventTarget=W.target,this.scrolledOnce=!0})).subscribe(this._scrolled)}),this.iOSToggleBlockException=this.platform.isIOS&&(this.platform.iOSVersion<13||this.platform.isStandaloneMode))}blockScroll(M){this.platform.isBrowser&&!this.scrollBlocked&&(this.doc.body.classList.add("gb-global-scrollblock"),this.scrollBlocked=!0,this.iOSToggleBlockException&&this.zone.runOutsideAngular(()=>{this.scrollPosBeforeBlockScroll=typeof M<"u"?M:this.platform.windowRef.pageYOffset,this.doc.body.style.position="fixed",this.doc.body.style.top=`-${this.scrollPosBeforeBlockScroll}px`,this.doc.body.style.width="100%"}))}unblockScroll(){this.platform.isBrowser&&this.scrollBlocked&&(this.doc.body.classList.remove("gb-global-scrollblock"),this.scrollBlocked=!1,this.iOSToggleBlockException&&this.zone.runOutsideAngular(()=>{this.doc.body.style.removeProperty("position"),this.doc.body.style.removeProperty("top"),this.doc.body.style.removeProperty("width"),this.platform.windowRef.scrollTo(0,this.scrollPosBeforeBlockScroll)}))}resetScroll(){this.scrollTop=0}register(M){const B=M.elementScrolled().subscribe(this._scrolled);this.scrollableReferences.set(M,B)}deregister(M){this.scrollableReferences.has(M)&&(this.scrollableReferences.get(M).unsubscribe(),this.scrollableReferences.delete(M))}scrolled(M=0){return M>0?this._scrolled.pipe((0,_.e)(M),(0,m.U)(()=>this.scrollValues)):this._scrolled.pipe((0,m.U)(()=>this.scrollValues))}get offsetHeight(){return this.platform.isBrowser&&this.scrolledOnce?this.doc.body.offsetHeight||this.doc.documentElement.offsetHeight:0}get scrollHeight(){return this.platform.isBrowser&&this.scrolledOnce?this.doc.body.scrollHeight||this.doc.documentElement.scrollHeight:0}get scrollTop(){return this.platform.isBrowser&&this.scrolledOnce?this.eventTarget&&parseInt(this.eventTarget.scrollTop)||this.doc.body.scrollTop||this.doc.documentElement.scrollTop:0}set scrollTop(M){!this.platform.isBrowser||M===this.scrollTop||this.zone.runOutsideAngular(()=>this.tryToScrollTo(M))}get scrollValues(){return{offsetHeight:this.offsetHeight,scrollHeight:this.scrollHeight,scrollTop:this.scrollTop,scrollable:this.doc.body}}smoothScrollToSelector(M,B="start",N="nearest"){if(this.platform.isBrowser){const W=this.doc.querySelector(M);if(W)return this.zone.runOutsideAngular(()=>W.scrollIntoView({behavior:"smooth",block:B,inline:N})),!0}return!1}disablePullToRefresh(){this.platform.doc.body.style.overscrollBehavior="none",this.platform.doc.documentElement.style.overscrollBehavior="none"}enablePullToRefresh(){this.platform.doc.body.style.overscrollBehavior="initial",this.platform.doc.documentElement.style.overscrollBehavior="initial"}tryToScrollTo(M){if(clearTimeout(this.scrollHandlerTimeout),M=Math.floor(M),this.scrollAttempt>5)return void(this.scrollAttempt=1);const B=this.doc.body,N=this.doc.documentElement;Math.max(B.scrollHeight,B.offsetHeight,N.clientHeight,N.scrollHeight,N.offsetHeight)-this.platform.windowRef.innerHeight>=M?(this.scrollAttempt=1,setTimeout(()=>this.platform.windowRef.scrollTo(0,M),0)):this.scrollHandlerTimeout=setTimeout(()=>{this.scrollAttempt++,this.tryToScrollTo(M)},2^10*this.scrollAttempt)}}return(u=E).\u0275fac=function(M){return new(M||u)(p.LFG(b.m),p.LFG(p.R0b),p.LFG(n.DOCUMENT))},u.\u0275prov=p.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),E})()},66641:(_e,R,r)=>{"use strict";r.d(R,{J:()=>_});var n=r(77533),s=r(9739),c=r(38924),h=r(97478),v=r(40499);let _=(()=>{var m;class b{constructor(D,a,u,E){this.elementRef=D,this.scroll=a,this.ngZone=u,this.renderer=E,this.scrollUp=new n.vpe,this.scrollDown=new n.vpe,this._elementScrolled=new s.x,this.previousScroll=0}ngOnInit(){this.scrollListener=this.ngZone.runOutsideAngular(()=>this.renderer.listen(this.elementRef.nativeElement,"scroll",D=>{this.ngZone.runGuarded(()=>{this.elementRef.nativeElement.scrollTop>this.previousScroll?this.scrollDown.emit():this.scrollUp.emit(),this.previousScroll=this.elementRef.nativeElement.scrollTop}),this._elementScrolled.next(D)})),this.scroll.register(this)}ngOnDestroy(){this.scroll.deregister(this),this.scrollListener&&(this.scrollListener(),this.scrollListener=null)}elementScrolled(D=0){return this._elementScrolled.pipe((0,c.e)(D),(0,h.U)(()=>this.scrollValues))}get offsetHeight(){return this.elementRef.nativeElement.offsetHeight}get scrollHeight(){return this.elementRef.nativeElement.scrollHeight}get scrollTop(){return this.elementRef.nativeElement.scrollTop}set scrollTop(D){this.elementRef.nativeElement.scrollTop=D}get scrollValues(){return{offsetHeight:this.offsetHeight,scrollHeight:this.scrollHeight,scrollTop:this.scrollTop,scrollable:this.elementRef.nativeElement}}get nativeElement(){return this.elementRef.nativeElement}}return(m=b).\u0275fac=function(D){return new(D||m)(n.Y36(n.SBq),n.Y36(v.a),n.Y36(n.R0b),n.Y36(n.Qsj))},m.\u0275dir=n.lG2({type:m,selectors:[["","gbScrollable",""]],outputs:{scrollUp:"scrollUp",scrollDown:"scrollDown"},exportAs:["scrollable"]}),b})()},4917:(_e,R,r)=>{"use strict";r.d(R,{K:()=>n.K});var n=r(73651)},73651:(_e,R,r)=>{"use strict";r.d(R,{K:()=>h});var n=r(3050),s=r(77533);const c=["*"];let h=(()=>{var v;class _{get isServer(){return!this.platform.isBrowser}constructor(b){this.platform=b}}return(v=_).\u0275fac=function(b){return new(b||v)(s.Y36(n.m))},v.\u0275cmp=s.Xpm({type:v,selectors:[["gb-scrollable-content"]],hostVars:2,hostBindings:function(b,p){2&b&&s.ekj("no-scrollbar",p.isServer)},ngContentSelectors:c,decls:1,vars:0,template:function(b,p){1&b&&(s.F$t(),s.Hsn(0))},styles:["[_nghost-%COMP%]{display:block;height:100%;overflow-y:auto}.no-scrollbar[_nghost-%COMP%]::-webkit-scrollbar{width:0!important}"],changeDetection:0}),_})()},9793:(_e,R,r)=>{"use strict";r.d(R,{$P:()=>s.$P,AG:()=>s.AG,B6:()=>s.B6,Bd:()=>s.Bd,D$:()=>s.D$,EO:()=>s.EO,F6:()=>c.F6,FF:()=>s.FF,JW:()=>s.JW,JX:()=>s.JX,Jq:()=>s.Jq,KA:()=>s.KA,LK:()=>s.LK,ND:()=>s.ND,PP:()=>s.PP,Qe:()=>s.Qe,R4:()=>s.R4,Ss:()=>s.Ss,T4:()=>s.T4,T7:()=>c.T7,VM:()=>s.VM,Vn:()=>s.Vn,Z$:()=>s.Z$,_p:()=>s._p,_v:()=>s._v,cJ:()=>s.cJ,dR:()=>s.dR,gn:()=>s.gn,hI:()=>s.hI,hp:()=>s.hp,id:()=>s.id,iz:()=>c.iz,l0:()=>s.l0,l9:()=>s.l9,lY:()=>s.lY,mo:()=>s.mo,nY:()=>s.nY,o5:()=>s.o5,oq:()=>s.oq,p9:()=>s.p9,py:()=>s.py,pz:()=>n.p,qO:()=>s.qO,qg:()=>s.qg,rE:()=>s.rE,s5:()=>s.s5,sX:()=>s.sX,ss:()=>c.ss,tI:()=>s.tI,v4:()=>s.v4,xO:()=>s.xO,yR:()=>s.yR,yn:()=>s.yn});var n=r(2204),s=r(89035),c=r(56119)},56119:(_e,R,r)=>{"use strict";r.d(R,{ys:()=>c,iz:()=>N,T7:()=>M,JO:()=>b,Ee:()=>m,F6:()=>p,ss:()=>a});const n={x:"0",y:"0.5"},s={x:"1",y:"0.5"};let c=(()=>{var W;class A{get enabled(){return!!this.isEnabled}get colors(){return this.gradientColors&&Array.isArray(this.gradientColors)?this.gradientColors:[]}constructor(U){if(this.endPoint=s,this.startPoint=n,U){this.isEnabled=1===U.getNumber(A.ENABLED),this.name=U.getString(A.NAME,""),this.gradientColors=U.getArray(A.COLORS);const O=U.getObject(A.START_POINT);O&&(this.startPoint={...this.startPoint,...O});const k=U.getObject(A.END_POINT);if(k&&(this.endPoint={...this.endPoint,...k}),this.startPoint&&this.endPoint){const I="1"===this.endPoint.x.toString()?"right":"0"===this.endPoint.x.toString()?"left":"",F="1"===this.endPoint.y.toString()?"bottom":"0"===this.endPoint.y.toString()?"top":"";this.cssDirection=`${F} ${I}`.trim()}}}toGBUIKitModel(){return{colors:this.gradientColors,direction:`to ${this.cssDirection}`}}}return(W=A).NAME="name",W.ENABLED="enabled",W.COLORS="colors",W.START_POINT="startPoint",W.END_POINT="endPoint",A})();var h=r(99256);let v=(()=>{var W;class A{constructor(U,O,k){this.baseUrl=O,this.apiv3cdnBaseUrl=k,U&&(this._iphone6plus=U.getString(A.IPHONE6PLUS,null),this._tablet=U.getString(A.TABLET,null),this._web=U.getString(A.WEB,null))}get iphone6plus(){return(0,h.LC)(this.baseUrl,this.apiv3cdnBaseUrl,this._iphone6plus)}get tablet(){return(0,h.LC)(this.baseUrl,this.apiv3cdnBaseUrl,this._tablet)}get web(){return(0,h.LC)(this.baseUrl,this.apiv3cdnBaseUrl,this._web)}get biggestImage(){return null!=this._web?this.web:null!=this._tablet?this.tablet:this.iphone6plus}get accurateForTablet(){return null!=this._tablet?this.tablet:this.biggestImage}get accurateForMobile(){return null!=this._iphone6plus?this.iphone6plus:this.accurateForTablet}}return(W=A).IPHONE6PLUS="iphone6plus",W.TABLET="tablet",W.WEB="web",A})(),_=(()=>{var W;class A{get biggestSize(){return null!=this.webSize?this.webSize:null!=this.tabletSize?this.tabletSize:this.iphone6plusSize}get accurateForTablet(){return null!=this.tabletSize?this.tabletSize:this.biggestSize}get accurateForMobile(){return null!=this.iphone6plusSize?this.iphone6plusSize:this.accurateForTablet}constructor(U){U&&(this.imageSize=this.mapJsonToImageSize(U.getJsonObject(A.IMAGE_SIZE)),this.iphone6plusSize=this.mapJsonToImageSize(U.getJsonObject(A.IPHONE6PLUS_SIZE)),this.tabletSize=this.mapJsonToImageSize(U.getJsonObject(A.TABLET_SIZE)),this.webSize=this.mapJsonToImageSize(U.getJsonObject(A.WEB_SIZE)))}mapJsonToImageSize(U){return U?{width:U.getNumber("width"),height:U.getNumber("height")}:null}}return(W=A).IMAGE_SIZE="imageSize",W.IPHONE6PLUS_SIZE="iphone6plusSize",W.TABLET_SIZE="tabletSize",W.WEB_SIZE="webSize",A})(),m=(()=>{var W;class A{constructor(U,O,k){if(this.baseUrl=O,this.apiv3cdnBaseUrl=k,U){this._imageUrl=U.getString(A.IMAGE_URL,null),this.isColored=1===U.getNumber(A.IS_COLORED),this.imageId=U.getString(A.IMAGE_ID,null),this.otherImagesUrl=new v(U.getJsonObject(A.OTHER_IMAGES_URL),this.baseUrl,this.apiv3cdnBaseUrl);const I=U.getJsonObject(A.ANCHOR);I&&(this.anchor={x:100*I.getNumber("x"),y:100*I.getNumber("y")}),this.isGradient=!!A.GRADIENT_REGEX.exec(this._imageUrl),this.imagesSizes=new _(U.getJsonObject(A.IMAGES_SIZES))}}get imageUrl(){return this.otherImagesUrl&&this.otherImagesUrl.biggestImage?this.otherImagesUrl.biggestImage:this.standardImageUrl}get tabletImageUrl(){return this.otherImagesUrl&&this.otherImagesUrl.accurateForTablet?this.otherImagesUrl.accurateForTablet:this.standardImageUrl}get mobileImageUrl(){return this.otherImagesUrl&&this.otherImagesUrl.accurateForMobile?this.otherImagesUrl.accurateForMobile:this.standardImageUrl}get standardImageUrl(){return(0,h.LC)(this.baseUrl,this.apiv3cdnBaseUrl,this._imageUrl)}get imageSize(){return this.imagesSizes?this.imagesSizes.biggestSize||this.imagesSizes.imageSize:null}get tabletImageSize(){return this.imagesSizes?this.imagesSizes.accurateForTablet||this.imagesSizes.imageSize:null}get mobileImageSize(){return this.imagesSizes?this.imagesSizes.accurateForMobile||this.imagesSizes.imageSize:null}get standardImageSize(){return this.imagesSizes&&this.imagesSizes.imageSize||null}}return(W=A).IMAGE_URL="imageUrl",W.IMAGE_ID="imageId",W.IS_COLORED="isColored",W.OTHER_IMAGES_URL="otherImagesUrl",W.ANCHOR="anchor",W.GRADIENT_REGEX=/^\/assets\/img\/gradients\//,W.IMAGES_SIZES="imagesSizes",A})();class b{get iconUrl(){return this.image?this.image.imageUrl:null}get isColored(){return!!this.image&&this.image.isColored}get normalTextureUrl(){return this.normalTexture?this.normalTexture.imageUrl:null}constructor(A,X,U){A&&(this.image=new m(A.getJsonObject("image"),X,U),this.normalColor=A.getString("normalColor","transparent"),this.normalBackgroundImage=new m(A.getJsonObject("normalBackgroundImage"),X,U),this.normalTexture=new m(A.getJsonObject("normalTexture"),X,U),this.selectedColor=A.getString("selectedColor","transparent"),this.selectedBackgroundImage=new m(A.getJsonObject("selectedBackgroundImage"),X,U),this.selectedTexture=new m(A.getJsonObject("selectedTexture"),X,U),this.color=A.getString("color","#000000"))}}let p=(()=>{var W;class A{get type(){return this.getNavigationLinkType(this._type)}get isAction(){switch(this.type){case"GBLinkTypeActionLogout":case"GBLinkTypeActionCallUs":case"GBLinkTypeActionSMS":case"GBLinkTypeActionMail":case"GBLinkTypeActionRestorePurchase":return!0;default:return!1}}get isExternal(){return"GBLinkTypeURL"===this.type||"GBLinkTypeStores"===this.type}get isHomeLink(){return"/"===this.url||"/home"===this.url}constructor(U){this.url=U.getString(A.URL,""),this._type=U.getString(A.TYPE,""),this.urlAndroid=U.getString(A.URL_ANDROID,""),this.sectionId=U.getString(A.SECTION_ID,""),this.categoryIndex=U.getNumber(A.CATEGORY_INDEX,-1),this.itemId=U.getString(A.ITEM_ID,""),this.social=U.getString(A.SOCIAL,"unknown").toLowerCase()}getNavigationLinkType(U){switch(U){case"GBLinkTypeSection":return"GBLinkTypeSection";case"GBLinkTypeCategory":return"GBLinkTypeCategory";case"GBLinkTypeItem":return"GBLinkTypeItem";case"GBLinkTypeHome":return"GBLinkTypeHome";case"GBLinkTypeActionLogout":return"GBLinkTypeActionLogout";case"GBLinkTypeActionCallUs":return"GBLinkTypeActionCallUs";case"GBLinkTypeActionSMS":return"GBLinkTypeActionSMS";case"GBLinkTypeActionMail":return"GBLinkTypeActionMail";case"GBLinkTypeActionRestorePurchase":return"GBLinkTypeActionRestorePurchase";case"GBLinkTypeScreenMyOrders":return"GBLinkTypeScreenMyOrders";case"GBLinkTypeScreenMyInfos":return"GBLinkTypeScreenMyInfos";case"GBLinkTypeScreenMyAddresses":return"GBLinkTypeScreenMyAddresses";case"GBLinkTypeScreenMyCards":return"GBLinkTypeScreenMyCards";case"GBLinkTypeScreenMyPush":return"GBLinkTypeScreenMyPush";case"GBLinkTypeScreenPushHistory":return"GBLinkTypeScreenPushHistory";case"GBLinkTypeScreenPushSettings":return"GBLinkTypeScreenPushSettings";case"GBLinkTypeScreenChatMessages":return"GBLinkTypeScreenChatMessages";case"GBLinkTypeScreenChatNewMessage":return"GBLinkTypeScreenChatNewMessage";case"GBLinkTypeScreenSavedCoupons":return"GBLinkTypeScreenSavedCoupons";case"GBLinkTypeScreenCouponsHistory":return"GBLinkTypeScreenCouponsHistory";case"GBLinkTypeScreenMyGifts":return"GBLinkTypeScreenMyGifts";case"GBLinkTypeScreenGiftsHistory":return"GBLinkTypeScreenGiftsHistory";case"GBLinkTypeScreenClubCard":return"GBLinkTypeScreenClubCard";case"GBLinkTypeURL":return"GBLinkTypeURL";case"GBLinkTypeStores":return"GBLinkTypeStores";default:return"Unknown"}}}return(W=A).TYPE="type",W.URL="url",W.URL_ANDROID="urlAndroid",W.SECTION_ID="sectionId",W.CATEGORY_INDEX="categoryIndex",W.ITEM_ID="itemId",W.SOCIAL="social",A})();var D=r(89035);let a=(()=>{var W;class A{constructor(U){if(U){const O=U.getString(A.FORMAT);this.format="banner"===O?"banner":"rectangle",this.id=U.getString(A.ID);const k=U.getString(A.TYPE);this.type="internal"===k?"internal":"external",this.widgetAdType=this.getWidgetType()}}getWidgetType(){if("internal"===this.type)return D.lY.Internal;switch(this.id){case"adsense":return D.lY.Adsense;case"dfp":return D.lY.DFP;default:return D.lY.Unknown}}}return(W=A).FORMAT="format",W.ID="id",W.TYPE="type",A})();var u=r(77533);class E{constructor(A){this._color="transparent",this._localFont=null,this._orientationTop=0,this._orientationLeft=0,this._size=0,A&&(this.color=A.color,this.localFont=A.localFont,this.orientationTop=A.orientationTop,this.orientationLeft=A.orientationLeft,this.size=A.size)}set color(A){A&&(this._color=A)}get color(){return this._color}set localFont(A){A&&(this._localFont=A)}get localFont(){return this._localFont}set orientationTop(A){A&&(this._orientationTop=A)}get orientationTop(){return this._orientationTop}set orientationLeft(A){A&&(this._orientationLeft=A)}get orientationLeft(){return this._orientationLeft}set size(A){A&&(this._size=A)}get size(){return this._size}get css(){return`${this.color} ${this.orientationLeft}px ${this.orientationTop}px ${this.size}px`}}class M{get color(){return this._color||this.fallbackColor}set color(A){this._color=A}get colorHover(){return this._colorHover||this.fallbackColorHover}set colorHover(A){this._colorHover=A}get selectedColor(){return this._selectedColor||this.fallbackSelectedColor}set selectedColor(A){this._selectedColor=A}get hoverEffect(){return this._hoverEffect}get fontType(){return this._type||this.fallbackType}set fontType(A){if(/:[0-9]+/.exec(A)){const[X,U]=A.split(":");this._type=X,this._originalFontType=A;const O=/^([1-9]00)(italic|oblique)?/.exec(U);O?(this.weight=parseInt(O[1]),O[2]&&(this.style=O[2])):this.weight=parseInt(U)}else this._type=this._originalFontType=A;M.FONT_ADDED.emit(this)}get originalFontType(){return this._originalFontType}get size(){return this._size||this.fallbackSize}set size(A){this._size=A}get tabletSize(){return this._tabletSize||this.fallbackTabletSize||this.size}set tabletSize(A){this._tabletSize=A}get desktopSize(){return this._desktopSize||this.fallbackDesktopSize||this.tabletSize}set desktopSize(A){this._desktopSize=A}get weight(){return this._weight}set weight(A){"number"==typeof A&&(/[1-9]00/.test(A.toString())||(A="normal")),this._weight=A}get style(){return this._style}set style(A){this._style=A}get variant(){return this._variant}set variant(A){this._variant=A}get cssUrl(){return this._cssUrl||this.fallbackCssUrl}set cssUrl(A){this._cssUrl=A}get urlFont(){return this._urlFont||this.fallbackUrlFont}set urlFont(A){this._urlFont=A}get desktop(){return this.desktopSize?this.css.set("font-size",`${this.desktopSize}px`):this.css}get tablet(){return this.tabletSize?this.css.set("font-size",`${this.tabletSize}px`):this.css}get mobile(){return this.size?this.css.set("font-size",`${this.size}px`):this.css}get shadow(){return this._shadow||this.fallbackShadow}constructor(A,X){this.fallbackColorHover=null,this.fallbackColor="transparent",this.fallbackSelectedColor=null,this.fallbackType=null,this.fallbackSize=0,this.fallbackTabletSize=0,this.fallbackDesktopSize=0,this.fallbackShadow=new E,this.shadowDisabled=!0,this._style="normal",this._weight="normal",this._variant="normal",A&&(this.fontInterface=A,this.color=(0,h.G3)(A.color)?A.color:"transparent",this.colorHover=A.colorHover,this.cssUrl=A.cssUrl,this.selectedColor=A.selectedColor,this.urlFont=A.urlFont,this.fontType=A.fontType,this.size=A.size,this.tabletSize=A.tabletSize,this.desktopSize=A.desktopSize,A.hoverEffect&&this.setHoverEffect(A.hoverEffect),A.shadow&&this.setShadow(A.shadow),this.level=A.level),X&&(this.fallbackColor=(0,h.G3)(X.color)?X.color:"transparent",this.fallbackColorHover=X.colorHover,this.fallbackSelectedColor=X.selectedColor,this.fallbackSize=X.size,this.fallbackTabletSize=X.tabletSize,this.fallbackDesktopSize=X.desktopSize,this.fallbackCssUrl=X.cssUrl,this.fallbackUrlFont=X.urlFont,this.fallbackType=X.fontType,X.shadow&&this.setFallbackShadow(X.shadow))}setHoverEffect(A){switch(A){case"none":default:this._hoverEffect=1;break;case"underline":this._hoverEffect=2;break;case"lighter":this._hoverEffect=3;break;case"darker":this._hoverEffect=4}}setShadow(A){this._shadow=new E(A)}setFallbackShadow(A){this.fallbackShadow=new E(A)}updateFontSizes(A,X){this._desktopSize||(this.desktopSize=+this.size+A),this._tabletSize||(this.tabletSize=+this.size+X)}toString(){return Array.from(this.css).filter(A=>A&&!!A[1]).reduce((A,[X,U])=>A+`${X}: ${U};`,"")}reduceTextSize(A,X=12){this.size=Math.round(Math.max(X,this.size-A)),this.tabletSize=Math.round(Math.max(X,this.tabletSize-A)),this.desktopSize=Math.round(Math.max(X,this.desktopSize-A))}get css(){const A=new Map;return A.set("color",this.color),this.fontType&&A.set("font-family",`"${this.fontType}", 'Roboto'`),A.set("font-weight",this.weight.toString()),A.set("font-style",this.style),A.set("font-variant",this.variant),this.shadowDisabled||A.set("text-shadow",this.shadow.css),A}toGBUIKitModel(){return{color:this.color,family:this.fontType,size:this.size,tabletSize:this.tabletSize,desktopSize:this.desktopSize,style:this.style,variant:this.variant,weight:this.weight,previewLevel:this.level,lineHeight:"normal"}}}M.FONT_ADDED=new u.vpe;var B=r(93634);let N=(()=>{var W;class A{get url(){let U=this._url;if(U){if(U.includes("[SORT]")&&this.params.sort&&(U=U.replace("[SORT]",this.params.sort)),U.includes("[GEOLOC]")){const O=this.getLocationString();O&&(U=U.replace("[GEOLOC]",O))}if(U.includes("[GROUP]")&&this.params.group&&(U=U.replace("[GROUP]",this.params.group)),!this.isAbsoluteUrl&&!this.baseUrl)throw new Error("Content Source has a relative url with no baseUrl defined");return this.isAbsoluteUrl?U:`${this.baseUrl}${U}`}return U}set url(U){U&&(this._url=U)}get geolocEnabled(){return this.params&&"1"===this.params.geoloc||this._url&&this._url.includes("[GEOLOC]")}get valid(){return this._url&&""!==this._url&&null!=this._url&&(!!this.baseUrl||this.isAbsoluteUrl)}get isAbsoluteUrl(){return!this._url.startsWith("/")}constructor(U,O){if(this.baseUrl=O,this.params={},U){this.url=U.getString(A.URL,null);const k=Object.assign({},U.getObject(A.PARAMS));k&&(this.params=k)}}setParam(U,O){this.params[U]=O}getParam(U){return U in this.params?this.params[U]:null}setLocation(U){this.geolocEnabled&&(this.setParam("lat",U.coords.latitude.toString()),this.setParam("lon",U.coords.longitude.toString()))}getLocationString(){return this.params.lat&&this.params.lon?`${this.params.lat},${this.params.lon}`:null}toHttpParams(){let U=new B.LE;for(const O in this.params)"group"!==O&&(U=U.set(O,this.params[O]));return U}toString(){return`${this.url}?${this.toHttpParams().toString()}`}}return(W=A).URL="url",W.PARAMS="params",A})()},2204:(_e,R,r)=>{"use strict";r.d(R,{p:()=>m});var n=r(98238),s=r(99256),c=r(56119),h=r(89035),v=r(77533),_=r(80697);let m=(()=>{var b;class p{set settings(a){try{this._settings=a,this._json=this._settings.gbsettings}catch{this._logger.error("Unable to set Settings object",{settings:a})}}get settings(){return this._settings}constructor(a,u){this._languagesManager=a,this._logger=u,this.timestamp=0}_getObject(a,u){return a&&u in a?a[u]:(this._logger.info(`Json Node ${u} impossible to get`),null)}_getNumber(a,u,E){if(a&&u in a){const T=a[u];return typeof T<"u"?Number(T):E}return this._logger.info(`Number ${u} impossible to get, defaultValue: ${E}`),E}_getString(a,u,E,T=!1){if(a&&u in a){const M=a[u];return typeof M<"u"&&(T||""!==M)?M.toString():E}return this._logger.info(`String ${u} impossible to get, defaultValue: ${E}`),E}_getBoolean(a,u,E){if(a&&u in a){const T=a[u];return"boolean"==typeof T?T:"string"==typeof T?"1"===T:E}return this._logger.info(`Boolean ${u} impossible to get, defaultValue: ${E}`),E}_getGBMargin(a,u,E){if(null==E&&(E=new h.hp({top:0,left:0,right:0,bottom:0})),a&&u in a){const T=a[u];return T&&"object"==typeof T?new h.hp(T):E}return this._logger.info(`GBMargin Object ${u} impossible to get, defaultValue: ${E}`),E}getUiStyle(){return this._getObject(this._json,"uistyle")}getUiStyleButtons(){return this._getObject(this.getUiStyle(),"buttons")}getUiStyleButtonWithLevel(a){return this._getObject(this.getUiStyleButtons(),`level${a}`)}getUiStyleButtonBackgroundWithLevel(a){return this._getObject(this.getUiStyleButtonWithLevel(a),"background")}getUiStyleButtonTitleFontWithLevel(a){const u=this.getUiStyleButtonWithLevel(a);return u&&u.titleFont&&u.titleFont.color?this.getFont(u,"titleFont"):null}getUiStyleGeneric(){return this._getObject(this.getUiStyle(),"generic")}getUiStyleGenericButtons(){return this._getObject(this.getUiStyleGeneric(),"buttons")}getUiStyleGenericSorting(){return this._getObject(this.getUiStyleGeneric(),"sorting")}getColor(a,u,E,T){const M=this._getString(a,u,E);return"transparent"===M?M:this._getString(this.getUiStyle(),T,M)}getFont(a,u,E,T,M){try{const B=this._getObject(a,u),N=this.getColor(B,"color",void 0,T),W=this.getColor(B,"selectedColor",void 0,M||T);if(B){const A={...B};return A.color=N,A.selectedColor=W,new c.T7(A,E)}return E}catch{return this._logger.info(`GBFont Object ${u} impossible to get`),new c.T7(null,E)}}getGBUIFieldFont(a,u,E,T){try{const M=this._getObject(a,u),B=this.getColor(M,"color",void 0,T);return B&&(!("color"in M)||M.color!==B)&&(M.color=B),"color"in M||(M.color=E),new c.T7(M)}catch{this._logger.info(`GBFont Object ${u} impossible to get`)}}_getThumbFormat(a,u,E){let T;try{switch(T=this._getString(a,u,null),T){case"GBThumbFormat169":return"wide";case"GBThumbFormat43":return"4-3";case"GBThumbFormatSquare":return"square";case"GBThumbFormatPortrait":return"portrait";case"GBThumbFormatCircle":return"circle";default:return E}}catch{return this._logger.info(`Thumb format impossible to get (${T})`),E}}_getAuthenticatedContentSource(a,u){let E=this._getObject(a,"authenticatedContentSource");return E||(E=this._getObject(a,"contentSource")),E?new c.iz(new s.sT(E),this.getContentSourceBaseUrl(u)):null}getThumbPosition(a,u,E){let T;try{switch(T=this._getString(a,u,null),T){case"left":return"left";case"right":return"right";default:return E}}catch{return this._logger.info(`Thumb position impossible to get (${T})`),E}}_getContentSource(a,u){const E=this._getObject(a,"contentSource");return E?new c.iz(new s.sT(E),this.getContentSourceBaseUrl(u)):null}getIcon(a,u,E,T,M){const B=this._getObject(a,u);if(B&&"object"==typeof B){const N=this.getColor(B,"color",void 0,T),W=this.getColor(B,"normalColor",N,T),A=this.getColor(B,"selectedColor",void 0,M||T);return B.color=N,B.normalColor=W,B.selectedColor=A,new c.JO(new s.sT(B),this.getMostAccurateBaseUrl(),this.getCdnBaseUrl())}return E instanceof c.JO?E:null}getImage(a,u,E,T=!1){const M=this._getObject(a,u);return M?new c.Ee(new s.sT(M),this.getMostAccurateBaseUrl(T),this.getCdnBaseUrl(T)):E instanceof c.Ee?E:null}getIconImage(a,u,E,T=!1){const M=this._getObject(a,u);return M?new c.Ee(new s.sT(M),this.getMostAccurateBaseUrl(T),null):E instanceof c.Ee?E:null}getNavigationLink(a,u,E){const T=this._getObject(a,u);return T?new c.F6(new s.sT(T)):E instanceof c.F6?E:null}getButtonsBackground(a,u){const E=this._getObject(a,"background"),T=this._getString(E,"color","transparent"),M=this.getBackgroundColorGradient(E,"colorGradient");return{color:this._getString(this.getUiStyleButtonBackgroundWithLevel(u),"color",T),colorGradient:this.getBackgroundColorGradient(this.getUiStyleButtonBackgroundWithLevel(u),"colorGradient",M),selectedColor:this._getString(E,"selectedColor","transparent")}}getButtonsTitleFont(a,u){const E=this.getFont(a,"titleFont"),T=this.getUiStyleButtonTitleFontWithLevel(u);return T&&(E.color=T.color),E}getButtonsBorderColor(a,u){const E=this.getUiStyleButtonTitleFontWithLevel(u);return E&&2===u?E.color:this._getString(a,"borderColor","transparent")}getButton(a,u,E,T){const M=this._getObject(a,u);if(M){const B=this._getString(M,"style","squarerounded"),N={};return N.background=this.getButtonsBackground(M,T),N.borderColor=this.getButtonsBorderColor(M,T),N.selectedBorderColor=this._getString(M,"selectedBordedColor","transparent"),N.display=this._getBoolean(M,"display",!1),N.style=this._getString(this.getUiStyleGenericButtons(),"style",B),N.title=this._getString(M,"title",""),N.titleFont=this.getButtonsTitleFont(M,T),N.uppercase=this._getBoolean(M,"uppercase",!0),N}return E}getIdWebzine(){return this._getNumber(this._settings,"idWebzine",null)}getWhiteLabelCDN(){return this._getString(this._settings,"whiteLabelCDN",null)}getBaseUrl(){return this._getString(this._settings,"baseUrl",null)}getMobileUrl(){return this._getString(this._settings,"mobileUrl",null)}getUrlScheme(){return this._getString(this._settings,"urlScheme",null)}getGooglefonts(){const a=this._getObject(this._settings,"googlefonts");return a&&Array.isArray(a)?a:[]}getAppName(){return this._getString(this._settings,"appName","")}getAppLogo(){return this._getString(this._settings,"appIcon",null)}getHomescreenIcon(a=!1){const u=a?"iphone":"android";return this.getCdnBaseUrl(!0)+`/apiv3/photo/${u}/compilation_images_homeIcon@original.png?v=${+new Date}`}getLang(a=!1){const u=this._getString(this._settings,"lg","us"),E={br:"pt-br",dk:"da",jp:"ja",us:"en",zhcn:"zh-cn",zhtw:"zh-tw"};return a&&u in E?E[u]:u}getDisabledImage(){return this.getImage(this._settings,"disabledImage",null)}getEngineConfig(){return this._getObject(this._settings,"engineConfig")}getEngineConfigApiBaseUrl(){return this._getObject(this.getEngineConfig(),"apiBaseUrl")}getEngineConfigContentApiBaseUrl(a){return this._getString(this.getEngineConfigApiBaseUrl(),"contentApiBaseUrl",a)}getContentSource(){return this._getObject(this._settings,"contentSource")}getContentSourceBaseUrl(a){const u=this._getString(this.getContentSource(),"baseUrl",null);return a?u:this.getEngineConfigContentApiBaseUrl(u)}getEngineConfigCommerceApiBaseUrl(){return this._getString(this.getEngineConfigApiBaseUrl(),"commerceApiBaseUrl","https://commerce.ww-api.com")}getMostAccurateBaseUrl(a=!1){let u=this.getWhiteLabelCDN();return u||(u=this.getMobileUrl()),u||(u=this.getBaseUrl()),a?u:u.replace(/^http(s)?:/,"")}getCdnBaseUrl(a=!1){const u=this._getString(this.getCdn(),"baseUrl",this.getMostAccurateBaseUrl(a));return a?u:u.replace(/^http(s)?:/,"")}getCdn(){return this._getObject(this._settings,"cdn")}_getDateLocalisation(){return this._getObject(this._json,"dateLocalisation")}getDateLocale(){return this._getString(this._getDateLocalisation(),"locale",this._languagesManager.getString("GB_DATELOCALE"))}getDateFormatTxt1(){return this._getString(this._getDateLocalisation(),"formatTxt1",this._languagesManager.getString("GB_DATETXT1"))}getDateFormatTxt2(){return this._getString(this._getDateLocalisation(),"formatTxt2",this._languagesManager.getString("GB_DATETXT2"))}getDateFormatTxt3(){return this._getString(this._getDateLocalisation(),"formatTxt3",this._languagesManager.getString("GB_DATETXT3"))}getDateFormatTxt4(){return this._getString(this._getDateLocalisation(),"formatTxt4",this._languagesManager.getString("GB_DATETXT4"))}getDateFormatTxt5(){return this._getString(this._getDateLocalisation(),"formatTxt5",this._languagesManager.getString("GB_DATETXT5"))}getDateFormatTxt6(){return this._getString(this._getDateLocalisation(),"formatTxt6",this._languagesManager.getString("GB_DATETXT6"))}getDateFormatTxt7(){return this._getString(this._getDateLocalisation(),"formatTxt7",this._languagesManager.getString("GB_DATETXT7"))}getDateFormatTxt8(){return this._getString(this._getDateLocalisation(),"formatTxt8",this._languagesManager.getString("GB_DATETXT8"))}getDateFormatTxt9(){return this._getString(this._getDateLocalisation(),"formatTxt9",this._languagesManager.getString("GB_DATETXT9"))}getDateFormatHour(){return this._getString(this._getDateLocalisation(),"formatHour",this._languagesManager.getString("GB_DATEHOUR"))}getDebug(){return this._getBoolean(this._json,"debug",!1)}getErrorReportingEnabled(){return this._getBoolean(this._json,"errorReportingEnabled",!1)}getAmpEnabled(){return this._getBoolean(this._json,"ampEnabled",!0)}_getSeparatorType(a,u,E){let T;try{switch(T=this._getString(a,u,null),T){case"solid":return 0;case"dashed":return 1;case"dotted":return 2;default:return E}}catch{return this._logger.info(`Separator type impossible to get (${T}), defaultValue: ${E}`),E}}_getEffectImage(a,u,E){let T;try{switch(T=this._getString(a,u,null),T){case"none":return h.rE.None;case"gradient":return h.rE.Gradient;case"blur":return h.rE.Blur;case"opacity":return h.rE.Opacity;default:return E}}catch{return this._logger.info(`Effect Image impossible to get (${T}), defaultValue: ${E}`),E}}_getEventBulletDisplayType(a,u,E){let T;try{switch(T=this._getString(a,u,null),T){case"startDate":return 0;case"currentDate":return 1;case"nowMention":return 2;case"hour":return 3;default:return E}}catch{return this._logger.info(`Event bullet display impossible to get (${T})`),E}}getGeneralEffectBackgroundImage(){return this.getImage(this._json,"effectBackgroundImage")}getGeneralBackgroundImagePortrait(){return this.getImage(this._json,"backgroundImagePortrait")}getGeneralBackgroundImageLandscape(){return this.getImage(this._json,"backgroundImageLandscape")}getGeneralBackgroundColor(){return this.getColor(this._json,"backgroundColor","transparent","bodyBackgroundColor")}getGeneralSeparatorType(){return this._getSeparatorType(this._json,"separatorType",0)}getGeneralSeparatorColor(){return this.getColor(this._json,"separatorColor","transparent","separatorColor")}getGeneralIsRtl(){const a="ar"===this.getLang()||"he"===this.getLang()||"fa"===this.getLang();return this._getBoolean(this._json,"isRTL",a)}getGeneralMargin(){return this._getGBMargin(this._json,"margin",null)}getGeneralCustomCss(){return this._getString(this._json,"customCss",null)}getGeneralButtons(a){const u=this._getObject(this._json,"buttons");return this.getButton(u,`level${a}`)}getGeneralButtonLevelOneShape(){const a=this.getGeneralButtons(1);return a&&a.style}getGeneralMarginsWidget(){return this._getObject(this._json,"marginsWidget")}getGeneralMarginsWidgetMobile(){return this._getGBMargin(this.getGeneralMarginsWidget(),"mobile",new h.hp({top:0,right:0,bottom:0,left:0}))}getGeneralMarginsWidgetTablet(){return this._getGBMargin(this.getGeneralMarginsWidget(),"tablet",new h.hp({top:0,right:0,bottom:0,left:0}))}getGeneralMarginsWidgetDesktop(){return this._getGBMargin(this.getGeneralMarginsWidget(),"desktop",new h.hp({top:0,right:0,bottom:0,left:0}))}getGeneralUsergroupsDisabled(){return this._getBoolean(this._json,"usergroupsDisabled",!1)}getGeneralIsRestricted(){return!!this.getLogin()&&this._getBoolean(this._json,"isRestricted",!1)}getGeneralGoogleAnalytics(){return this._getString(this._json,"googleanalytics",null)}getGeneralGtm(){return this._getString(this._json,"gtm",null)}getGeneralGtmamp(){return this._getString(this._json,"gtmamp",null)}getGeneralMeta(){return this._getObject(this._json,"meta")}getGeneralMetaTitle(){return this._getString(this.getGeneralMeta(),"title",this.getAppName())}getGeneralMetaDescription(){return this._getString(this.getGeneralMeta(),"description","")}getGeneralMetaKeywords(){return this._getString(this.getGeneralMeta(),"keywords","")}getGeneralMetaFacebookogActive(){return this._getBoolean(this.getGeneralMeta(),"facebookogActive",!1)}getGeneralMetaTwitterCardsActive(){return this._getBoolean(this.getGeneralMeta(),"twitterCardsActive",!1)}getGeneralMetaNoIndex(){return this._getBoolean(this.getGeneralMeta(),"noindex",!1)}getGeneralMetaHead(){return this._getString(this.getGeneralMeta(),"head",null)}getGeneralMetaImages(){return this._getObject(this.getGeneralMeta(),"images")}getGeneralMetaImagesLogo(){return this.getImage(this.getGeneralMetaImages(),"logo",null,!0)}getGeneralMetaImagesTouchIcon(){return this.getImage(this.getGeneralMetaImages(),"touchIcon",null,!0)}getGeneralMetaImagesSplashScreen(){return this.getImage(this.getGeneralMetaImages(),"splashScreen")}getGeneralSitemap(){return this._getObject(this._json,"sitemap")}getGeneralSitemapEnabled(){return this._getBoolean(this.getGeneralSitemap(),"enabled",!1)}getGeneralSitemapMeta(){return this._getString(this.getGeneralSitemap(),"meta","")}getGeneralMainSlugs(a){return a?this._getObject(this.getGeneralMainSlugs(),a):this._getObject(this._json,"mainslugs")}getGeneralMainSlugsLink(a){return this.getNavigationLink(this.getGeneralMainSlugs(a),"link")}getGeneralMetaSafari(){return this._getObject(this.getGeneralMeta(),"safari")}getGeneralMetaSafariMeta(){const a=this._getObject(this.getGeneralMetaSafari(),"meta");return a&&Array.isArray(a)?a:[]}getGeneralPwaPermissionsPopup(){return this._getObject(this._json,"pwaPermissionsPopup")}getGeneralMetaCustomSchemaOrg(){return this._getString(this.getGeneralMeta(),"customSchemaOrg",null)}getGeneralPwaPermissionsPopupSms(){return this._getNumber(this.getGeneralPwaPermissionsPopup(),"sms",10)}getGeneralPwaPermissionsPopupPush(){return this._getNumber(this.getGeneralPwaPermissionsPopup(),"push",8)}getGeneralPwaPermissionsPopupInstall(){return this._getNumber(this.getGeneralPwaPermissionsPopup(),"install",4)}getDetailOpeningAnimation(a,u){return"cover"===this._getString(a,"detailOpeningAnimation",u)?"cover":"horizontal"}getGeneralDetailOpeningAnimation(){return this.getDetailOpeningAnimation(this._json,"horizontal")}getGeneralSharingImageQuality(){return this._getString(this._json,"sharingImageQuality","high")}_getGeneralNavBar(){return this._getObject(this._json,"navBar")}getGeneralNavBarBackgroundColor(){return this._getString(this._getGeneralNavBar(),"backgroundColor","transparent")}getGeneralNavBarBackgroundColorGradient(){return this.getBackgroundColorGradient(this._getGeneralNavBar(),"backgroundColorGradient",null,"navBarBackgroundColorGradient")}getGeneralNavBarBorderColor(){return this._getString(this._getGeneralNavBar(),"borderColor","transparent")}getGeneralNavBarButtonIconColor(){return this._getString(this._getGeneralNavBar(),"buttonIconColor","transparent")}getGeneralNavBarTitleFont(){return this.getFont(this._getGeneralNavBar(),"titleFont",new c.T7({size:0,fontType:null,color:"#FFFFFF"}))}_getGeneralCategories(){return this._getObject(this._json,"categories")}_getCategoriesTemplateType(a,u,E){let T;try{switch(T=this._getString(a,u,null),T){case"GBCategoriesTemplateTypeOverlay":return h.T4.Arrow;case"GBCategoriesTemplateTypeCircleBand":return h.T4.CircleBand;case"GBCategoriesTemplateTypeIconCircleBand":return h.T4.IconCircleBand;case"GBCategoriesTemplateTypeGhost":return h.T4.Ghost;case"GBCategoriesTemplateTypePager":return h.T4.Pager;case"GBCategoriesTemplateTypeDropdown":return h.T4.Dropdown;case"GBCategoriesTemplateTypeExpandable":return h.T4.Expandable;case"GBCategoriesTemplateTypeTags":return h.T4.Tags;case"GBCategoriesTemplateTypeLabels":return h.T4.Labels;case"GBCategoriesTemplateTypeGrenadineFilters":return h.T4.GrenadineFilters;default:return E}}catch{return this._logger.info(`Category type impossible to get (${T}), defaultValue: ${E}`),E}}_getCategoriesNavBarTitleType(a,u,E){let T;try{switch(T=this._getNumber(a,u,null),T){case 1:return 1;case 2:return 2;default:return 0}}catch{return this._logger.info(`Category Navbar title type impossible to get (${T}), defaultValue: ${E}`),E}}getGeneralCategoriesTemplateType(){return this._getCategoriesTemplateType(this._getGeneralCategories(),"template",h.T4.CircleBand)}getGeneralCategoriesNavBarTitleType(){return this._getCategoriesNavBarTitleType(this._getGeneralCategories(),"navBarTitle",0)}getGeneralButtonStyleShape(){return this.getButtonStyleShape(this._json,"buttonStyle","squarerounded")}getGeneralButtonStyleType(){return this.getButtonStyleType(this._json,"buttonStyle","normal")}getButtonStyleShape(a,u,E){let T;try{switch(T=this._getString(a,u,"").split("_")[0],T){case"square":return"square";case"rounded":return"rounded";case"squarerounded":return"squarerounded";default:return E}}catch{return this._logger.info(`Button style type impossible to get (${T}), defaultValue: ${E}`),E}}getButtonStyleType(a,u,E){let T;try{switch(T=this._getString(a,u,"").split("_")[1],T){case"normal":return"normal";case"light":return"light";default:return E}}catch{return this._logger.info(`Button style type impossible to get (${T}), defaultValue: ${E}`),E}}getGeneralAds(){return this._getObject(this._json,"ads")}getGeneralAdsStrategy(){const a=this._getObject(this.getGeneralAds(),"strategy");return a&&Array.isArray(a)?a:[]}hasAppAds(){return this.getGeneralAdsStrategy().length>0}getGeneralAdsExternalServices(){return this._getObject(this.getGeneralAds(),"external")||[]}getGeneralAdsExternalServicesAdsense(){return this._getObject(this.getGeneralAdsExternalServices(),"adsense")}getGeneralAdsExternalServicesDfp(){return this._getObject(this.getGeneralAdsExternalServices(),"dfp")}getGeneralAdRefreshTime(){return this._getNumber(this._json,"adRefreshTime",15)}getGeneralGeolocDisabled(){return this._getBoolean(this._json,"geolocDisabled",!1)}getGeneralLocalSortDisabled(){return this._getBoolean(this._json,"localSortDisabled",!1)}getGeneralDesignCommon(){return this._getObject(this._json,"designCommon")}getGeneralDesignCommonByType(a){return this._getObject(this.getGeneralDesignCommon(),a)}getGeneralRestrictedContent(){return this._getObject(this._json,"restrictedContent")}getGeneralDisableContextualMenu(){return this._getBoolean(this._json,"disableContextualMenu",!1)}getGeneralForceMapColorizeIcon(){return this._getBoolean(this._json,"forceMapColorizeIcon",!1)}getGeneralPWAAppearanceEffectEnabled(a=0){const u=this._getBoolean(this._json,"pwaAppearanceEffectEnabled",!1);return(0===a||a>1719996301)&&u}getGeneralTextSelectionEnabled(){return this._getBoolean(this._json,"textSelectionEnabled",!1)}getLogin(){return this._getObject(this._json,"login")}getLoginType(){return this._getString(this.getLogin(),"loginType","unknown")}isLoginV3(){return"classicv3"===this.getLoginType()}getLoginSessionTime(){return this._getNumber(this.getLogin(),"sessionTime",24)}getLoginSessionTimeInMs(){return 36e5*this.getLoginSessionTime()}getLoginKeepLoggedInWithoutConnection(){return this._getBoolean(this.getLogin(),"keepLoggedInWithoutConnection",!1)}getRootFirstSection(){return this._getObject(this.getRoot(),"firstSection")}getRoot(){return this._getObject(this._json,"root")}getRootType(){let a;try{switch(a=this._getString(this.getRoot(),"type",null),a){case"GBRootControllerTypeTabBar":return"TabBar";case"GBRootControllerTypeSwipe":return"Swipe";case"GBRootControllerTypeLittleSwipe":return"LittleSwipe";case"GBRootControllerTypeGrid":case"GBRootControllerTypeOldGrid":return"OldGrid";case"GBRootControllerTypeMosaic":return"Mosaic";case"GBRootControllerTypeSlate":return"Slate";case"GBRootControllerTypeScratch":return"Scratch";case"GBRootControllerTypeGhost":default:return"Ghost";case"GBRootControllerTypeFloatingTabBar":return"FloatingTabBar"}}catch{return this._logger.info(`Root type impossible to get (${a})`),"Ghost"}}getRootTypeObject(){let u;switch(this.getRootType()){case"TabBar":u="tabBar";break;case"FloatingTabBar":u="floatingTabBar";break;case"Swipe":default:u="swipe";break;case"LittleSwipe":u="littleSwipe";break;case"OldGrid":u="grid";break;case"Mosaic":u="mosaic";break;case"Slate":u="slate";break;case"Scratch":u="scratch"}return this._getObject(this.getRoot(),u)}getRootTargets(){return this._getObject(this.getRoot(),"targets")}getRootFirstSectionSectionId(){return this._getString(this.getRootFirstSection(),"sectionId",null)}getRootHeader(){return this._getObject(this.getRootTypeObject(),"header")}getRootBody(){return this._getObject(this.getRootTypeObject(),"body")}getRootFooter(){return this._getObject(this.getRootTypeObject(),"footer")}getRootOther(){return this._getObject(this.getRootTypeObject(),"other")}getRootZoneObject(a){switch(a){case"header":return this.getRootHeader();case"body":return this.getRootBody();case"footer":return this.getRootFooter();case"main":return this.getRootTypeObject();case"other":return this.getRootOther()}return null}isRootTabBarLike(){return"TabBar"===this.getRootType()||"FloatingTabBar"===this.getRootType()}getRootElements(a){return this._getObject(a,"elements")}getRootElement(a,u){return this._getObject(this.getRootElements(a),u)}getRootElementsOrder(){const a=this._getObject(this.getRootTypeObject(),"elementsOrder");return a&&Array.isArray(a)?a:[]}getRootElementType(a,u){let E;try{switch(E=this._getString(this.getRootElement(a,u),"type",null),E){case"GBMenuElementTypeLink":return h.FF.ClassicLink;case"GBMenuElementTypeCopyright":return h.FF.Copyright;case"GBMenuElementTypeLogin":return h.FF.Login;case"GBMenuElementTypeLogo":return h.FF.Logo;case"GBMenuElementTypeSeparator":return h.FF.Separator;case"GBMenuElementTypeShortcuts":return h.FF.Shortcuts;case"GBMenuElementTypeTitlebreak":return h.FF.TitleBreak;case"GBMenuElementTypeBag":return h.FF.Bag;default:return h.FF.Unknown}}catch{return this._logger.info(`Menu Element type impossible to get (${E})`),h.FF.Unknown}}getRootZoneElements(a){return this._getObject(a,"elements")}getRootZoneElementsOrder(a){const u=this._getObject(a,"elementsOrder");return u&&Array.isArray(u)?u:[]}getRootElementLink(a,u){return this.getNavigationLink(this.getRootElement(a,u),"link")}sectionIsInMainNavigation(a){const u=this.getRootType(),E=a===this.getRootFirstSectionSectionId(),T="Ghost"===u;let B=[];if(E&&(T||"Scratch"===u||this.isRootTabBarLike()))return!0;if(!E&&T)return!1;const N=(W,A)=>W.filter(X=>{const U=this.getRootElementType(A,X);return U===h.FF.ClassicLink||U===h.FF.Bag}).map(X=>this.getRootElementLink(A,X)).map(X=>X&&X.sectionId).filter(X=>!!X);if(this.isRootTabBarLike()){const W=this.getRootElementsOrder();let A;"TabBar"===u&&(A=W.length>5?4:W.length),"FloatingTabBar"===u&&(A=W.length>4?3:W.length),B=N(this.getRootElementsOrder().slice(0,A),this.getRootTypeObject())}else B=["body","footer","header"].map(A=>({zoneObject:this.getRootZoneObject(A),zone:A})).map(A=>{const X=this.getRootZoneElementsOrder(A.zoneObject);let U=N(X,A.zoneObject);if("body"===A.zone){const O=U.map((k,I,F)=>{let H=[];return this.isSectionCollectionSwipeExpandable(k)&&(H=this.exportSectionRecursiveTargets(k)),H}).reduce((k,I)=>[...I,...k],[]);U=[...U,...O]}return U}).reduce((A,X)=>[...X,...A],[]);return B.includes(a)}isSectionCollectionSwipeExpandable(a){return"GBModuleTypeCommercecollectionslist"===this.getSectionsType(a)&&this.getCommerceCollectionDesignListTemplateType(a)===h.Ss.Swipe}exportSectionRecursiveTargets(a){let u=[];const E=this.getNodeTargets(a);return E&&E.length>0&&(u=E.map(T=>this.exportSectionRecursiveTargets(T)).reduce((T,M)=>[...M,...T],E)),u}getRootLittleSwipeAlwaysOpened(){const a=this._getObject(this.getRoot(),"littleSwipe");return this._getBoolean(a,"alwaysOpen",!1)}getRootSwipeAlwaysOpened(){const a=this._getObject(this.getRoot(),"swipe");return this._getBoolean(a,"alwaysOpen",!1)}getSectionsDefaultThumb(a){return this.getImage(this.getSections(a),"defaultThumb")}getSectionsEffectBackgroundImage(a){return this.getImage(this.getSections(a),"effectBackgroundImage",this.getGeneralEffectBackgroundImage())}getSectionsBackgroundImagePortrait(a){return this.getImage(this.getSections(a),"backgroundImagePortrait",this.getGeneralBackgroundImagePortrait())}getSectionsBackgroundImageLandscape(a){return this.getImage(this.getSections(a),"backgroundImageLandscape",this.getGeneralBackgroundImageLandscape())}_getSectionsMinimal(a){return this._getObject(this.getSections(a),"minimal")}_getSectionsMinimalPager(a){return this._getObject(this._getSectionsMinimal(a),"pager")}_getSectionsMinimalTitleFont(a){return this._getObject(this._getSectionsMinimal(a),"titleFont")}_getSectionsMinimalSubtitleFont(a){return this._getObject(this._getSectionsMinimal(a),"subtitleFont")}_getSectionsMinimalInfosFont(a){return this._getObject(this._getSectionsMinimal(a),"infosFont")}_getSectionsMinimalAuthorFont(a){return this._getObject(this._getSectionsMinimal(a),"authorFont")}getSections(a){return a?this._getObject(this.getSections(),a):this._getObject(this._json,"sections")}getSectionsOtherThanHome(){return Object.keys(this.getSections()).filter(a=>"GBModuleTypeHome"!==this.getSectionsType(a))}getSectionsRewritedUrl(a){return this._getString(this.getSections(a),"rewritedUrl",a)}getSectionsType(a){let u;try{switch(u=this._getString(this.getSections(a),"type",null),u){case"GBModuleTypeAbout":return"GBModuleTypeAbout";case"GBModuleTypeArticle":return"GBModuleTypeArticle";case"GBModuleTypeBookmark":return"GBModuleTypeBookmark";case"GBModuleTypeChat":return"GBModuleTypeChat";case"GBModuleTypeClickto":return"GBModuleTypeClickto";case"GBModuleTypeContact":return"GBModuleTypeContact";case"GBModuleTypeCouponing":return"GBModuleTypeCouponing";case"GBModuleTypeCustom":return"GBModuleTypeCustom";case"GBModuleTypeAgenda":return"GBModuleTypeAgenda";case"GBModuleTypeFacebook":return"GBModuleTypeFacebook";case"GBModuleTypeForm":return"GBModuleTypeForm";case"GBModuleTypeHome":return"GBModuleTypeHome";case"GBModuleTypeLive":return"GBModuleTypeLive";case"GBModuleTypeLoyalty":return"GBModuleTypeLoyalty";case"GBModuleTypeMaps":case"GBModuleTypeMapdistant":return"GBModuleTypeMaps";case"GBModuleTypeNode":return"GBModuleTypeNode";case"GBModuleTypePhoto":return"GBModuleTypePhoto";case"GBModuleTypePlugin":return"GBModuleTypePlugin";case"GBModuleTypeProfile":return"GBModuleTypeProfile";case"GBModuleTypeQrcode":return"GBModuleTypeQrcode";case"GBModuleTypeSearch":return"GBModuleTypeSearch";case"GBModuleTypeSettings":return"GBModuleTypeSettings";case"GBModuleTypeShop":return"GBModuleTypeShop";case"GBModuleTypeSound":return"GBModuleTypeSound";case"GBModuleTypeSubmit":return"GBModuleTypeSubmit";case"GBModuleTypeTwitter":return"GBModuleTypeTwitter";case"GBModuleTypeUserslist":return"GBModuleTypeUserslist";case"GBModuleTypeVideo":return"GBModuleTypeVideo";case"GBModuleTypeCommerce":return"GBModuleTypeCommerce";case"GBModuleTypeCommerceprofile":return"GBModuleTypeCommerceprofile";case"GBModuleTypeCommercebag":return"GBModuleTypeCommercebag";case"GBModuleTypeCommercerefund":case"GBModuleTypeCommerceprivacy":case"GBModuleTypeCommercetos":return"GBModuleTypeCommercetos";case"GBModuleTypeCommercesearch":return"GBModuleTypeCommercesearch";case"GBModuleTypeCommercecollectionslist":return"GBModuleTypeCommercecollectionslist";case"GBModuleTypeTos":return"GBModuleTypeTos";case"GBModuleTypeProfileadvanced":return"GBModuleTypeProfileadvanced";default:return"Unknown"}}catch{return this._logger.info(`Section type impossible to get (${u})`),"Unknown"}}getSectionsBaseUrl(a){return this._getString(this.getSections(a),"baseUrl",null)}getSectionsMargin(a){return this._getGBMargin(this.getSections(a),"margin",this.getGeneralMargin())}getSectionsContentUrl(a){return this._getString(this.getSections(a),"contentUrl",null)}getSectionsContentSource(a,u){return this._getContentSource(this.getSections(a),u)}getSectionsAuthenticatedContentSource(a,u){return this._getAuthenticatedContentSource(this.getSections(a),u)}getSectionsService(a){return this._getString(this.getSections(a),"service",null)}getSectionsIsRestricted(a){if(this.getGeneralIsRestricted())return!0;const u=this.getSectionsType(a);if("GBModuleTypeProfile"===u||"GBModuleTypeChat"===u||"GBModuleTypeLoyalty"===u)return!0;const E=this.getParentSectionId(a);return!(!E||!this.getSectionsIsRestricted(E))||this._getBoolean(this.getSections(a),"isRestricted",!1)}getSectionsTitle(a){return this._getString(this.getSections(a),"title",null)}getSectionsDescription(a){return this._getString(this.getSections(a),"description",null)}getSectionsTitleFont(a,u="primary2Color"){return this.getFont(this.getSections(a),"titleFont",new c.T7({size:0,fontType:null,color:"#FFFFFFF"}),u)}getSectionsSubtitleFont(a,u="primary1Color"){return this.getFont(this.getSections(a),"subtitleFont",new c.T7({size:0,fontType:null,color:"#FFFFFF"}),u)}getSectionsInfosFont(a,u="primary3Color"){return this.getFont(this.getSections(a),"infosFont",new c.T7({size:0,fontType:null,color:"#FFFFFF"}),u)}getSectionsTextFont(a,u="primary3Color"){return this.getFont(this.getSections(a),"textFont",new c.T7({size:0,fontType:null,color:"#FFFFFF"}),u)}getSectionsAuthorFont(a,u="primary3Color"){return this.getFont(this.getSections(a),"authorFont",new c.T7({size:0,fontType:null,color:"#FFFFFF"}),u)}getSectionsDateFont(a,u="primary3Color"){return this.getFont(this.getSections(a),"dateFont",new c.T7({size:0,fontType:null,color:"#FFFFFF"}),u)}getSectionsDetailDateFont(a,u="primary3Color"){return this.getFont(this.getSectionsDetail(a),"dateFont",this.getSectionsDetailSubtitleFont(a),u)}getSectionsShowInfos(a){return this._getBoolean(this.getSections(a),"showInfos",!0)}getSectionsShowSummary(a){return this._getBoolean(this.getSections(a),"showSummary",!0)}getSectionsShowThumb(a){return this._getBoolean(this.getSections(a),"showThumb",!0)}getSectionsListBackgroundColor(a,u="primary4Color"){return this.getColor(this.getSections(a),"listBackgroundColor","transparent",u)}getSectionsListBackgroundOpacity(a){return this._getNumber(this.getSections(a),"listBackgroundOpacity",1)}getSectionsBackgroundColor(a){return this.getColor(this.getSections(a),"backgroundColor",this.getGeneralBackgroundColor(),"bodyBackgroundColor")}getSectionsThumbFormat(a){return this._getThumbFormat(this.getSections(a),"thumbFormat","wide")}getSectionsThumbPosition(a){return this.getSectionsShowThumb(a)?this.getThumbPosition(this.getSections(a),"thumbPosition","left"):"none"}getSectionsThumb(a){return this._getObject(this.getSections(a),"thumb")}getSectionsThumbBackground(a){return this.getGBUIBackground(this.getSectionsThumb(a),"background",{color:"#F1F1F1"})}getSectionsBorderColor(a,u="basic1Color"){return this.getColor(this.getSections(a),"borderColor","transparent",u)}getSectionsSeparatorType(a){return this._getSeparatorType(this.getSections(a),"separatorType",this.getGeneralSeparatorType())}getSectionsSeparatorColor(a,u="separatorColor"){return this.getColor(this.getSections(a),"separatorColor",this.getGeneralSeparatorColor(),u)}getSectionsIsRtl(a){return this._getBoolean(this.getSections(a),"isRTL",this.getGeneralIsRtl())}getSectionsInfosContentType(a,u=""){return this._getString(this.getSections(a),"infosContentType",u)}getSectionsInfosToken(a,u){return this.getSectionsShowInfos(a)?this.getSectionsInfosContentType(a,u):""}getSectionsUneFont(a,u="primary2Color"){return this.getFont(this.getSections(a),"uneFont",new c.T7({size:0,fontType:null,color:"#FFFFFF"}),u)}getSectionsUneSubtitleFont(a,u="primary1Color"){return this.getFont(this.getSections(a),"uneSubtitleFont",new c.T7({size:0,fontType:null,color:"#FFFFFF"}),u)}getSectionsUneTextFont(a){return this.getFont(this.getSections(a),"uneTextFont",new c.T7({size:0,fontType:null,color:"#FFFFFF"}))}getSectionsUneAuthorFont(a,u="primary3Color"){return this.getFont(this.getSections(a),"uneAuthorFont",new c.T7({size:0,fontType:null,color:"#FFFFFF"}),u)}getSectionsDisqusEnabled(a){return this._getBoolean(this.getSections(a),"disqusEnabled",!1)}getSectionsCustomCss(a){return this._getString(this.getSections(a),"customCss",this.getGeneralCustomCss())}getSectionsUneBackgroundColor(a){return this._getString(this.getSections(a),"uneBackgroundColor",this.getSectionsListBackgroundColor(a))}getSectionsUneOpacity(a){return this._getNumber(this.getSections(a),"uneOpacity",this.getSectionsListBackgroundOpacity(a))}getSectionsPager(a){return this._getObject(this.getSections(a),"pager")}getSectionsPagerColor(a){return this._getString(this.getSectionsPager(a),"onColor",this.getSectionsUneFont(a).color)}getSectionsPagerBackgroundColor(a){return this.getColor(this.getSectionsPager(a),"backgroundColor","transparent")}getSectionsPagerOpacity(a){return this._getNumber(this.getSectionsPager(a),"backgroundOpacity",1)}getSectionsCenterTitleAndInfos(a){return this._getBoolean(this.getSections(a),"centerTitleAndInfos",!1)}getSectionsTitleAndInfosAlign(a){return this._getString(this.getSections(a),"titleAndInfosAlign","left")}getSectionsTitleAlign(a){const u=this._getString(this.getSections(a),"titleAlign","left");if(this.getSectionsIsRtl(a)){if("left"===u)return"right";if("right"===u)return"left"}return u}getSectionsShowAuthor(a){return this._getBoolean(this.getSections(a),"showAuthor",!0)}getSectionsEffectImage(a){return this._getEffectImage(this.getSections(a),"effectImage",h.rE.None)}getSectionsOpenExternal(a){return this._getBoolean(this.getSections(a),"openExternal",!1)}getSectionsContentMaxWidth(a){return this._getNumber(this.getSections(a),"contentMaxWidth",1400)}getSectionsEnableAuthorAvatar(a){return this._getBoolean(this.getSections(a),"EnableAuthorAvatar",!0)}getSectionsLink(a){return this.getNavigationLink(this.getSections(a),"link")}getSectionsDefaultMapArea(a){return this._getObject(this.getSections(a),"defaultMapArea")}getSectionsDefaultMapAreaLat(a){return this._getNumber(this.getSectionsDefaultMapArea(a),"lat",0)}getSectionsDefaultMapAreaLon(a){return this._getNumber(this.getSectionsDefaultMapArea(a),"lon",0)}getSectionsDefaultMapAreaZoom(a){return this._getNumber(this.getSectionsDefaultMapArea(a),"zoom",0)}getSectionsDefaultMapAreaEnabled(a){const u=this.getSectionsDefaultMapArea(a);return typeof u<"u"&&"object"==typeof u&&null!==u}getSectionsMapButtonBackgroundColor(a){return this.getColor(this.getSections(a),"mapButtonBackgroundColor","#333333","buttonBackgroundColor")}getSectionsMapButtonBackgroundColorGradient(a){return this.getBackgroundColorGradient(this.getSections(a),"mapButtonBackgroundColorGradient",null,"buttonBackgroundColorGradient")}getSectionsMapButtonIconColor(a){return this.getColor(this.getSections(a),"mapButtonIconColor","#FFFFFF","buttonTextColor")}getSectionsPlaceholder(a){return this._getObject(this.getSections(a),"placeholder")}getSectionsPlaceholderImage(a){return this.getImage(this.getSectionsPlaceholder(a),"image")}getSectionsPlaceholderGBUIIconFromImage(a,u){const E=this.getIconImage(this.getSectionsPlaceholder(a),"image");return E&&E.imageUrl?{identifier:E.imageUrl,isColored:E.isColored}:u||null}getSectionsCellSelectedColor(a,u){return this.getColor(this.getSections(a),"cellSelectedColor",this.getSectionsListBackgroundColor(a),u)}getSectionsButtonBackgroundColor(a){return this.getColor(this.getSections(a),"buttonBackgroundColor","#000000","buttonBackgroundColor")}getSectionsButtonBackgroundColorGradient(a){return this.getBackgroundColorGradient(this.getSections(a),"buttonBackgroundColorGradient",null,"buttonBackgroundColorGradient")}getSectionsButtonColor(a){return this.getColor(this.getSections(a),"buttonColor","#000000","buttonTextColor")}getSectionsDateColor(a,u){return this.getColor(this.getSections(a),"dateColor","transparent",u)}getSectionsDateBackgroundColor(a,u){return this.getColor(this.getSections(a),"dateBackgroundColor","transparent",u)}getSectionsBuyButton(a,u=1){return this.getButton(this.getSections(a),"buyButton",null,u)}getSectionsDetailBuyButton(a,u=1){return this.getButton(this.getSectionsDetail(a),"buyButton",null,u)}getSectionsDisableDiaporama(a){return this._getBoolean(this.getSections(a),"disableDiaporama",!1)}getSectionsSlideshow(a){return this._getObject(this.getSections(a),"slideshow")}getSectionsShowToolbar(a){return this._getBoolean(this.getSections(a),"showToolbar",!0)}getSectionsInfosTop(a){return this._getObject(this.getSections(a),"infosTop")}getSectionsInfosTopEnabled(a){return this._getBoolean(this.getSectionsInfosTop(a),"enabled",!0)}getSectionsInfosTopTemplate(a){return this._getString(this.getSectionsInfosTop(a),"template","")}getSectionsInfosBottom(a){return this._getObject(this.getSections(a),"infosBottom")}getSectionsInfosBottomEnabled(a){return this._getBoolean(this.getSectionsInfosBottom(a),"enabled",!0)}getSectionsInfosBottomTemplate(a){return this._getString(this.getSectionsInfosBottom(a),"template","")}getSectionsInfosBottom2(a){return this._getObject(this.getSections(a),"infosBottom2")}getSectionsInfosBottom2Enabled(a){return this._getBoolean(this.getSectionsInfosBottom2(a),"enabled",!0)}getSectionsInfosBottom2Template(a){return this._getString(this.getSectionsInfosBottom2(a),"template","")}getSectionsSlideshowLimit(a){return this._getNumber(this.getSectionsSlideshow(a),"limit",0)}getSectionsDetailContentTop(a){return this._getObject(this.getSectionsDetail(a),"contentTop")}getSectionsDetailContentBottom(a){return this._getObject(this.getSectionsDetail(a),"contentBottom")}getSectionsDetailContentTopTemplate(a){return this._getString(this.getSectionsDetailContentTop(a),"template","")}getSectionsDetailContentBottomTemplate(a){return this._getString(this.getSectionsDetailContentBottom(a),"template","")}getSectionsUsersSearchUrl(a){const u="https://api.goodbarber.net",E=this._getString(this.getSections(a),"searchUrl",null);return E?E.startsWith("https://")?E:`${u}${E}`:`${u}/userapi/app/searchUsers/${this.getIdWebzine()}/[GEOLOC]/1/24/`}getSectionsTextSelectionEnabled(a){return this._getBoolean(this.getSections(a),"textSelectionEnabled",this.getGeneralTextSelectionEnabled())}getSectionsMinimalDisplayPager(a){return this._getBoolean(this._getSectionsMinimal(a),"showPager",!1)}getSectionsMinimalUppercaseTitle(a){return this._getBoolean(this._getSectionsMinimal(a),"showUppercase",!1)}getSectionsMinimalShowSubtitle(a){return this._getBoolean(this._getSectionsMinimal(a),"showInfos",!1)}getSectionsMinimalShowAuthor(a){return this._getBoolean(this._getSectionsMinimal(a),"showAuthor",!0)}getSectionsMinimalTitleFont(a){return this.getFont(this._getSectionsMinimal(a),"titleFont",this.getSectionsTitleFont(a))}getSectionsMinimalSubtitleFont(a){return this.getFont(this._getSectionsMinimal(a),"subtitleFont",this.getSectionsSubtitleFont(a))}getSectionsMinimalAuthorFont(a){return this.getFont(this._getSectionsMinimal(a),"authorFont",this.getSectionsMinimalSubtitleFont(a))}getSectionsMinimalInfosFont(a){return this.getFont(this._getSectionsMinimal(a),"infosFont",this.getSectionsMinimalSubtitleFont(a))}getSectionsMinimalPagerBackgroundColor(a,u="primary4Color"){return this.getColor(this._getSectionsMinimalPager(a),"backgroundColor","transparent",u)}getSectionsMinimalPagerOnColor(a,u="primary1Color"){return this.getColor(this._getSectionsMinimalPager(a),"onColor","#ffffff",u)}getSectionsMinimalPagerBackgroundOpacity(a){return this._getNumber(this._getSectionsMinimalPager(a),"backgroundOpacity",1)}getSectionsMinimalEffectImage(a){return this._getEffectImage(this._getSectionsMinimal(a),"effectImage",h.rE.None)}getSectionsMinimalContentHorizontalAlign(a){return this._getString(this._getSectionsMinimal(a),"contentAlign","center_center").split("_").pop()}getSectionsMinimalContentVerticalAlign(a){return this._getString(this._getSectionsMinimal(a),"contentAlign","center_center").split("_").shift()}getSectionsMinimalArticleParams(a,u){return typeof u>"u"||Number(u)<0?this._getObject(this._getSectionsMinimal(a),"articleParams"):this._getObject(this.getSectionsMinimalArticleParams(a),u)}getSectionsMinimalArticleParamsCount(a){try{return this.getSectionsMinimalArticleParams(a).length}catch{return this._logger.info(`Impossible to count minimal/articleParams array from section ${a}`),0}}getSectionsMinimalArticleParamsBackgroundColor(a,u){return this._getString(this.getSectionsMinimalArticleParams(a,u),"backgroundColor","#000000")}getSectionsMinimalArticleParamsTitleColor(a,u){return this._getString(this.getSectionsMinimalArticleParams(a,u),"titleColor","#FFFFFF")}getSectionsMinimalArticleParamsSubtitleColor(a,u){return this._getString(this.getSectionsMinimalArticleParams(a,u),"subtitleColor","#FFFFFF")}getSectionsMinimalArticleParamsAuthorColor(a,u){return this._getString(this.getSectionsMinimalArticleParams(a,u),"authorColor","#FFFFFF")}getSectionsMeta(a){return this._getObject(this.getSections(a),"meta")}getSectionsMetaTitle(a){return this._getString(this.getSectionsMeta(a),"title",this.getGeneralMetaTitle())}getSectionsMetaDescription(a){return this._getString(this.getSectionsMeta(a),"description",this.getGeneralMetaDescription())}getSectionsSubsections(a,u){return typeof u>"u"?this._getObject(this.getSections(a),"subsections"):this._getObject(this.getSectionsSubsections(a),u.toString())}getSectionsSubsectionsCount(a){const u=this.getSectionsSubsections(a);return u&&Array.isArray(u)?u.length:0}getSectionsSubsectionsEnabled(a){return this._getBoolean(this.getSections(a),"subsectionsEnabled",!1)}getSectionsSubsectionsCanonicalUrl(a,u){return this._getString(this.getSectionsSubsections(a,u),"canonicalUrl","")}getSectionsSubsectionsContentUrl(a,u){return this._getString(this.getSectionsSubsections(a,u),"contentUrl",null)}getSectionsSubsectionsAuthenticatedContentSource(a,u,E){let T=this._getAuthenticatedContentSource(this.getSectionsSubsections(a,u),E);if(!T||!T.valid){const M=this.getSectionsContentSource(a,E);T&&!T.valid&&M&&M.valid&&(T.url=M.url)}return T||(T=this.getSectionsSubsectionsContentSource(a,u,E)),T}getSectionsSubsectionsContentSource(a,u,E){const T=this._getContentSource(this.getSectionsSubsections(a,u),E);if(!T||!T.valid){const M=this.getSectionsContentSource(a,E);T&&!T.valid&&M&&M.valid&&(T.url=M.url)}return T}getSectionsSubsectionsTitle(a,u){return this._getString(this.getSectionsSubsections(a,u),"title",null)}getSectionsSubsectionsIds(a,u){return this._getString(this.getSectionsSubsections(a,u),"ids",null)}_getSectionsCategories(a){return this._getObject(this.getSections(a),"categories")}getSectionsCategoriesTemplateType(a){return this._getCategoriesTemplateType(this._getSectionsCategories(a),"template",this.getGeneralCategoriesTemplateType())}getSectionsCategoriesNavBarTitleType(a){return this._getCategoriesNavBarTitleType(this._getSectionsCategories(a),"navBarTitle",this.getGeneralCategoriesNavBarTitleType())}getSectionsLinkColor(a,u){return this.getColor(this.getSections(a),"linkColor",this.getSectionsSubtitleFont(a).color,u)}_getSectionsNavBar(a){return this._getObject(this.getSections(a),"navBar")||this._getGeneralNavBar()}getSectionsNavBarBackgroundColor(a){return this.getColor(this._getSectionsNavBar(a),"backgroundColor",this.getGeneralNavBarBackgroundColor(),"navBarBackgroundColor")}getSectionsNavBarBackgroundColorGradient(a){return this.getBackgroundColorGradient(this._getSectionsNavBar(a),"backgroundColorGradient",this.getGeneralNavBarBackgroundColorGradient(),"navBarBackgroundColorGradient")}getSectionsNavBarBorderColor(a){return this.getColor(this._getSectionsNavBar(a),"borderColor",this.getGeneralNavBarBorderColor(),"basic1Color")}getSectionsNavBarButtonIconColor(a){return this.getColor(this._getSectionsNavBar(a),"buttonIconColor",this.getGeneralNavBarButtonIconColor(),"navBarTitleColor")}getSectionsNavBarTitleFont(a){return this.getFont(this._getSectionsNavBar(a),"titleFont",this.getGeneralNavBarTitleFont(),"navBarTitleColor")}getSectionsDetailOpeningAnimation(a){return this.getDetailOpeningAnimation(this.getSections(a),this.getGeneralDetailOpeningAnimation())}getSectionsDetail(a){return this._getObject(this.getSections(a),"detail")}getSectionsDetailMargin(a){return this._getGBMargin(this.getSectionsDetail(a),"margin",this.getSectionsMargin(a))}getSectionsDetailTitleFont(a,u="primary2Color"){return this.getFont(this.getSectionsDetail(a),"titleFont",this.getSectionsTitleFont(a),u)}getSectionsDetailShareFont(a){return this.getFont(this.getSectionsDetail(a),"shareFont")}getSectionsDetailShareIconColor(a){return this._getString(this.getSectionsDetail(a),"sharingiconColor","black")}getSectionsDetailShareButton(a){return this.getButton(this.getSectionsDetail(a),"shareButton",null,3)}getSectionsDetailShareEnabled(a){return this._getBoolean(this.getSectionsDetail(a),"sharingEnabled",!1)}getSectionsDetailTitleFontAlign(a){return this.getSectionsDetailIsRtl(a)?"right":"left"}getSectionsDetailSubtitleFont(a,u="primary1Color"){return this.getFont(this.getSectionsDetail(a),"subtitleFont",this.getSectionsSubtitleFont(a),u)}getSectionsDetailSubtitleFontAlign(a){return this.getSectionsDetailIsRtl(a)?"right":"left"}getSectionsDetailLinkFont(a){return this.getFont(this.getSectionsDetail(a),"linkFont")}getSectionsDetailLinkFontAlign(a){return this.getSectionsDetailIsRtl(a)?"right":"left"}getSectionsDetailInfosFont(a,u){return this.getFont(this.getSectionsDetail(a),"infosFont",this.getSectionsSubtitleFont(a),u)}getSectionsDetailTextFont(a,u="primary2Color"){return this.getFont(this.getSectionsDetail(a),"textFont",this.getSectionsTextFont(a),u)}getSectionsDetailTextFontAlign(a){return this.getSectionsDetailIsRtl(a)?"right":"left"}getSectionsDetailSubheadingFont(a){return this.getFont(this.getSectionsDetail(a),"subheadingFont",this.getSectionsDetailSubtitleFont(a))}getSectionsDetailSubheadingFontAlign(a){return this.getSectionsDetailIsRtl(a)?"right":"left"}getSectionsDetailBackgroundColor(a){return this._getString(this.getSectionsDetail(a),"backgroundColor",this.getSectionsBackgroundColor(a))}getSectionsDetailListBackgroundColor(a,u="primary4Color"){return this.getColor(this.getSectionsDetail(a),"listBackgroundColor",this.getSectionsListBackgroundColor(a),u)}getSectionsDetailListBackgroundOpacity(a){return this._getNumber(this.getSectionsDetail(a),"listBackgroundOpacity",this.getSectionsListBackgroundOpacity(a))}getSectionsDetailEffectImage(a){return this._getEffectImage(this.getSectionsDetail(a),"effectImage",this.getSectionsEffectImage(a))}getSectionsDetailActionButton(a,u=1){return this.getButton(this.getSectionsDetail(a),"actionButton",null,u)}getSectionsDetailLinkColor(a,u="primary1Color"){return this.getColor(this.getSectionsDetail(a),"linkColor","transparent",u)}getSectionsDetailIsRtl(a){return this._getBoolean(this.getSectionsDetail(a),"isRTL",this.getSectionsIsRtl(a))}getSectionsDetailBorderColor(a,u="basic1Color"){return this.getColor(this.getSectionsDetail(a),"borderColor",this.getSectionsBorderColor(a),u)}getSectionsDetailHidePhotos(a){return this._getBoolean(this.getSectionsDetail(a),"hidePhotos",!1)}getSectionsDetailCustomCss(a){return this._getString(this.getSectionsDetail(a),"customCss",this.getSectionsCustomCss(a))}getSectionsDetailUseFirstArrayAsBanner(a){return this._getBoolean(this.getSectionsDetail(a),"useFirstArrayAsBanner",!1)}getSectionsDetailCenterTitleAndInfos(a){return this._getBoolean(this.getSectionsDetail(a),"centerTitleAndInfos",this.getSectionsCenterTitleAndInfos(a))}getSectionsDetailTitleAndInfosAlign(a){return this._getString(this.getSectionsDetail(a),"titleAndInfosAlign",this.getSectionsTitleAndInfosAlign(a))}getSectionsDetailDetailShareEnabled(a){return this._getBoolean(this.getSectionsDetail(a),"shareEnabled",!0)}getSectionsDetailShowInfos(a){return this._getBoolean(this.getSectionsDetail(a),"showInfos",!0)}_getSectionsDetailToolBar(a){return this._getObject(this.getSectionsDetail(a),"toolbar")}getSectionsDetailToolBarBackgroundImage(a){return this.getImage(this._getSectionsDetailToolBar(a),"backgroundImage")}_getSectionsDetailToolBarButtons(a){return this._getObject(this._getSectionsDetailToolBar(a),"buttons")}_getSectionsDetailToolBarButton(a,u){return this._getObject(this._getSectionsDetailToolBarButtons(a),u.toString())}_getSectionsDetailToolBarIcons(a){return this._getObject(this._getSectionsDetailToolBar(a),"icons")}getSectionsDetailToolBarNextItem(a){return this._getObject(this._getSectionsDetailToolBar(a),"nextItem")}getSectionsDetailToolBarButtonType(a,u){let E;try{switch(E=this._getString(this._getSectionsDetailToolBarButton(a,u),"type",null),E){case"iconComments":return 1;case"iconFavoris":return 5;case"iconShare":return 2;case"iconAdd":return 7;case"iconBuy":return 6;case"iconFontSize":return 8;default:return 0}}catch{return this._logger.info(`ToolBar Button Type impossible to get (${E})`),0}}getSectionDetailToolBarButtonsEnabledIndexes(a){const u=this._getSectionsDetailToolBarButtons(a);if(Array.isArray(u)){const E=[];return u.forEach((T,M)=>{this.getSectionsDetailToolBarButtonEnabled(a,M)&&(E[M]=T)}),E}return[]}getSectionDetailToolBarButtons(a){const u=this._getSectionsDetailToolBarButtons(a);return Array.isArray(u)?u:[]}getSectionsDetailToolBarFacebookButtonEnabled(a){return this._getBoolean(this._getSectionsDetailToolBar(a),"facebookEnabled",!0)}getSectionsDetailToolBarTwitterButtonEnabled(a){return this._getBoolean(this._getSectionsDetailToolBar(a),"twitterEnabled",!0)}getSectionsDetailToolBarBackgroundColor(a,u="basic2Color"){return this.getColor(this._getSectionsDetailToolBar(a),"backgroundColor","transparent",u)}getSectionsDetailToolBarBackgroundOpacity(a){return this._getNumber(this._getSectionsDetailToolBar(a),"backgroundOpacity",1)}getSectionsDetailToolBarOpacity(a){return this._getNumber(this._getSectionsDetailToolBar(a),"opacity",1)}getSectionsDetailToolBarButtonEnabled(a,u){return this._getBoolean(this._getSectionsDetailToolBarButton(a,u),"enabled",!1)}getSectionsDetailToolBarIconsNormalColor(a,u){let E;switch(u){case"GBModuleTypeSearch":case"GBModuleTypeArticle":case"GBModuleTypeVideo":E="primary3Color";break;case"GBModuleTypeMaps":case"GBModuleTypeBookmark":case"GBModuleTypeSound":case"GBModuleTypeAgenda":E="navBarTitleColor";break;case"GBModuleTypePhoto":E="buttonTextColor";break;case"GBModuleTypeCouponing":E="primary1Color";break;default:E=null}return this.getColor(this._getSectionsDetailToolBarIcons(a),"normalColor","transparent",E)}getSectionsDetailToolBarIconsSelectedColor(a,u){let E;switch(u){case"GBModuleTypeSearch":case"GBModuleTypeArticle":case"GBModuleTypeVideo":E="primary1Color";break;case"GBModuleTypeBookmark":case"GBModuleTypeSound":case"GBModuleTypeMaps":case"GBModuleTypeAgenda":E="navBarTitleColor";break;case"GBModuleTypePhoto":E="buttonTextColor";break;default:E=null}return this.getColor(this._getSectionsDetailToolBarIcons(a),"selectedColor","transparent",E)}getSectionsDetailToolbarIconsContentNormalColor(a,u){let E;switch(u){case"GBModuleTypeArticle":case"GBModuleTypeSound":case"GBModuleTypeAgenda":E="primary3Color";break;case"GBModuleTypeCouponing":E="primary1Color";break;default:E=null}return this.getColor(this._getSectionsDetailToolBarIcons(a),"contentNormalColor","#000000",E)}getSectionsDetailToolbarIconsContentSelectedColor(a,u){let E;switch(u){case"GBModuleTypeArticle":case"GBModuleTypeSound":case"GBModuleTypeAgenda":E="primary1Color";break;default:E=null}return this.getColor(this._getSectionsDetailToolBarIcons(a),"contentSelectedColor","#000000",E)}getSectionsDetailToolbarNavBarTitleToken(a,u){return this._getString(this._getSectionsDetailToolBar(a),"navBarTitleToken",u)}getSectionsDetailToolbarNextItemEnabled(a){return this._getBoolean(this.getSectionsDetailToolBarNextItem(a),"enabled",!1)}getSectionsDetailToolbarNextItemTitle(a){return this._getString(this.getSectionsDetailToolBarNextItem(a),"title",this._languagesManager.getString("GB_TXT_318"))}getSectionsDetailToolbarNextItemTitleFont(a){return this.getFont(this.getSectionsDetailToolBarNextItem(a),"titleFont",new c.T7({fontType:"Roboto",size:14,color:this.getSectionsDetailToolBarIconsNormalColor(a)}))}getSectionsDetailToolbarNextItemSubtitleFont(a){return this.getFont(this.getSectionsDetailToolBarNextItem(a),"subtitleFont",new c.T7({fontType:"Roboto",size:17,color:this.getSectionsDetailToolBarIconsNormalColor(a)}))}_getSectionsDetailToolBarPager(a){return this._getObject(this._getSectionsDetailToolBar(a),"pager")}getSectionsDetailToolBarPagerEnabled(a){return this._getBoolean(this._getSectionsDetailToolBar(a),"pagerEnabled",!1)}getSectionsDetailToolBarPagerBackgroundColor(a,u="primary4Color"){return this.getColor(this._getSectionsDetailToolBarPager(a),"backgroundColor","transparent",u)}getSectionsDetailToolBarPagerBackgroundOpacity(a,u="primary4Color"){return this._getNumber(this._getSectionsDetailToolBarPager(a),"backgroundOpacity",1)}getSectionsDetailToolBarPagerOnColor(a,u="primary1Color"){return this.getColor(this._getSectionsDetailToolBarPager(a),"onColor","transparent",u)}getDetailToolbarSocialItemFacebook(a=2){const u=this.getGeneralButtons(a)||{};return u.uppercase=!0,u.title=this._languagesManager.getString("GB_TXT_56"),u.borderColor=null,u.selectedBorderColor=null,u.titleFont=new c.T7({color:"#FFFFFF",fontType:void 0,size:16}),u.background={color:"#3B5999",colorGradient:null,selectedColor:null},u}getDetailToolbarSocialItemTwitter(a=2){const u=this.getGeneralButtons(a)||{};return u.uppercase=!0,u.title="post",u.borderColor=null,u.selectedBorderColor=null,u.titleFont=new c.T7({color:"#FFFFFF",fontType:void 0,size:16}),u.background={color:"#000000",colorGradient:null,selectedColor:null},u}getSectionsDetailDisableDiaporama(a){return this._getBoolean(this.getSectionsDetail(a),"disableDiaporama",this.getSectionsDisableDiaporama(a))}getSectionsDetailTextSelectionEnabled(a){return this._getBoolean(this.getSectionsDetail(a),"textSelectionEnabled",this.getSectionsTextSelectionEnabled(a))}_getSectionsSorting(a){return this._getObject(this.getSections(a),"sorting")}_getSectionsSortingTabs(a,u){return u?this._getObject(this._getSectionsSortingTabs(a),u):this._getObject(this._getSectionsSorting(a),"tabs")}getSectionsSortingTemplate(a){const u=this._getString(this._getSectionsSorting(a),"template",null);switch(this._getString(this.getUiStyleGenericSorting(),"template",u)){case"capsule":default:return h.oq.Capsule;case"block":return h.oq.Block;case"material":return h.oq.Material}}getSectionsSortingNormalBackgroundColor(a){return this.getColor(this._getSectionsSorting(a),"normalBackgroundColor","transparent","basic1Color")}getSectionsSortingSelectedBackgroundColor(a){return this.getColor(this._getSectionsSorting(a),"selectedBackgroundColor","transparent","basic2Color")}getSectionsSortingTitleFont(a){return this.getFont(this._getSectionsSorting(a),"titleFont",new c.T7({size:13,fontType:null,color:"#000000"}),"primary3Color")}getSectionsSortingTitleSelectedColor(a){return this.getColor(this._getSectionsSorting(a),"titleSelectedColor","#000000","primary1Color")}getSectionsSortingTabsTitle(a,u){return this._getString(this._getSectionsSortingTabs(a,u),"title",null)}getSectionsSortingTabsEnabled(a,u){return this._getBoolean(this._getSectionsSortingTabs(a,u),"enabled",!0)}getSectionsSortingTargets(a){return this._getObject(this._getSectionsSorting(a),"targets")}getSectionsSortingTargetsEnabled(a){const u=this.getSectionsSortingTargets(a);return u?u.filter(E=>this.getSectionsSortingTabsEnabled(a,E)):[]}getSectionsSortingDefaultTabIndex(a){return this._getNumber(this._getSectionsSorting(a),"defaultTabIndex",0)}getSectionsSortingShowUppercase(a){return this._getBoolean(this._getSectionsSorting(a),"showUppercase",!0)}getSectionsActionScreens(a){return this._getObject(this.getSections(a),"actionScreens")}getSectionsActionScreensConfirmation(a){return this._getObject(this.getSectionsActionScreens(a),"confirmation")}getSectionsActionScreensResult(a){return this._getObject(this.getSectionsActionScreens(a),"result")}getSectionsActionScreensConfirmationButton(a,u){return this.getButton(this.getSectionsActionScreensConfirmation(a),"confirmationButton",null,u)}getSectionsActionScreensConfirmationTextFont(a,u){return this.getFont(this.getSectionsActionScreensConfirmation(a),"textFont",null,u)}getSectionsActionScreensResultTextFont(a,u){return this.getFont(this.getSectionsActionScreensResult(a),"textFont",null,u)}getSectionsActionScreensResultIconColor(a,u){return this.getColor(this.getSectionsActionScreensResult(a),"iconColor",null,u)}getSectionsDetailBrowseWebsite(a){return this._getString(this.getSectionsDetail(a),"browseWebsite",this._languagesManager.getString("GB_TXT_99"))}getSectionsWebsiteButtonDisabled(a){return this._getBoolean(this.getSections(a),"websiteButtonDisabled",!1)}getSectionsDetailInfosTicketing(a){return this._getString(this.getSectionsDetail(a),"infosTicketing",this._languagesManager.getString("GB_TXT_212"))}getSectionsDetailInfosTrip(a){return this._getString(this.getSectionsDetail(a),"infosTrip",this._languagesManager.getString("GB_TXT_7"))}getSectionsDetailInfosMail(a){return this._getString(this.getSectionsDetail(a),"infosMail",this._languagesManager.getString("GB_TXT_163"))}getCommentTypeWithString(a){try{switch(a){case"facebook":case"GBCommentTypeFacebook":return 1;case"disqus":case"GBCommentTypeDisqus":return 2;default:return 0}}catch{return this._logger.info(`Impossible to get the comment type for ${a}, default value : default`),0}}getNodeTargets(a){const u=this._getObject(this.getSections(a),"targets");return u&&u.length>0?u.map(E=>String(E)):[]}getParentSectionId(a){let E;const T=this.getRootTargets().filter(M=>"GBModuleTypeNode"===this.getSectionsType(M));for(const M of T){const B=this.getNodeTargets(M);B&&(B.indexOf(a)>-1?E=M:B.filter(N=>"GBModuleTypeNode"===this.getSectionsType(N)).forEach(N=>{const W=this.getNodeTargets(N);W&&W.indexOf(a)>-1&&(E=N)}))}return E}getProfileSectionId(){const a=this.getSections();for(const u in a)if("GBModuleTypeProfile"===this.getSectionsType(u))return u;return null}getProfileSectionUrl(){const a=this.getSections();for(const u in a)if("GBModuleTypeProfile"===this.getSectionsType(u))return this.getSectionsRewritedUrl(u);return null}getCommerceProfileSectionId(){const a=this.getSections();for(const u in a)if("GBModuleTypeCommerceprofile"===this.getSectionsType(u))return u;return null}getCommerceTosSectionId(){const a=this.getSections();for(const u in a)if("GBModuleTypeCommercetos"===this.getSectionsType(u)&&"tos"===this.getCommerceTosServiceType(u))return u;return null}getCommercePrivacySectionId(){const a=this.getSections();for(const u in a)if("GBModuleTypeCommercetos"===this.getSectionsType(u)&&"privacy"===this.getCommerceTosServiceType(u))return u;return null}getCommerceProfileSectionUrl(){const a=this.getSections();for(const u in a)if("GBModuleTypeCommerceprofile"===this.getSectionsType(u))return this.getSectionsRewritedUrl(u);return null}getCommerceTosServiceType(a){try{switch(this.getSectionsService(a)){case"tos":default:return"tos";case"privacy":return"privacy";case"refund":return"refund"}}catch{return this._logger.warning(`Cannot instanciate Tos service for sections ${a}`),"tos"}}getProfileFields(a){return this._getObject(this.getSections(a),"fields")}getProfileField(a,u){return this._getObject(this.getProfileFields(a),u)}getProfileFieldId(a,u){return this._getString(this.getProfileField(a,u),"id",null)}getProfileFieldType(a,u){switch(this._getString(this.getProfileField(a,u),"type",null)){case"GBUserFieldText":default:return 0;case"GBUserFieldNumber":return 1;case"GBUserFieldPhone":return 4;case"GBUserFieldLocation":return 2;case"GBUserFieldDropdown":return 3;case"GBUserFieldDescription":return 5;case"GBUserFieldParagraph":return 6;case"GBUserFieldMail":return 7;case"GBUserFieldName":return 8;case"GBUserFieldDate":return 9;case"GBUserFieldLink":return 10}}getProfileFieldTypeString(a,u){return this._getString(this.getProfileField(a,u),"type","")}getProfileFieldName(a,u){const E=this._getString(this.getProfileField(a,u),"name",null);if(E)return E;switch(this.getProfileFieldType(a,u)){case 8:return this._languagesManager.getString("GB_TXT_181");case 5:return this._languagesManager.getString("GB_TXT_16");case 2:return this._languagesManager.getString("GB_TXT_204")}return null}getProfileFieldRequired(a,u){return this._getBoolean(this.getProfileField(a,u),"required",!1)}getProfileFieldState(a,u){switch(this._getString(this.getProfileField(a,u),"state",null)){case"public":default:return 0;case"private":return 1;case"hidden":return 2}}getProfileFieldChoices(a,u){return this._getObject(this.getProfileField(a,u),"choices")}getProfileFieldChoiceValue(a,u,E){return this._getString(this.getProfileFieldChoices(a,u),E,null)}getProfileAllowAvatar(a){return this._getBoolean(this.getSections(a),"allowAvatar",!1)}getChatSectionId(){const a=this.getSections();for(const u in a)if("GBModuleTypeChat"===this.getSectionsType(u))return u;return null}getSectionsLoyaltyClubCardEnabled(a){return this._getBoolean(this.getSections(a),"clubCardEnabled",!0)}getWidgets(a){return a?this._getObject(this.getWidgets(),a):this._getObject(this._json,"widgets")}getWidgetsNotValid(a){return this._getBoolean(this.getWidgets(a),"notValid",!1)}getWidgetsSectionId(a){return this._getString(this.getWidgets(a),"sectionId",null)}getWidgetsContentSource(a,u){const E=this.getWidgets(a);let T=this._getContentSource(E,u);if(!T||!T.valid){const M=this.getSectionsContentSource(this.getWidgetsSectionId(a),u);T||(T=new c.iz),M&&(T.url=M.url)}return T}getWidgetsCommerceSource(a){return this._getObject(this.getWidgets(a),"commerceSource")}getWidgetsCommerceSourceCollectionId(a){return this._getString(this.getWidgetsCommerceSource(a),"collectionId",null)}getWidgetsCommerceSourceSort(a){return this._getString(this.getWidgetsCommerceSource(a),"sort","last_added")}getWidgetsCommerceSourceTag(a){const u=this._getObject(this.getWidgetsCommerceSource(a),"tag");return u&&Array.isArray(u)?u:null}getWidgetsNotAggregate(a){return this._getBoolean(this.getWidgets(a),"notAggregate",!1)}getWidgetsNbItems(a){return this._getNumber(this.getWidgets(a),"nbItems",0)}getWidgetsNbLines(a){return this._getNumber(this.getWidgets(a),"nbLines",0)}getWidgetsType(a){let u;try{switch(u=this._getString(this.getWidgets(a),"type",null),u){case"GBWidgetTypeAbout":return h.l9.About;case"GBWidgetTypeAds":return h.l9.Ads;case"GBWidgetTypeArticle":return h.l9.Article;case"GBWidgetTypeCommercelegal":return h.l9.CommerceLegal;case"GBWidgetTypeCommerceproducts":return h.l9.CommerceProducts;case"GBWidgetTypeCommercepromo":return h.l9.CommercePromoBanner;case"GBWidgetTypeCommercecollectionslist":return h.l9.CommerceCollections;case"GBWidgetTypeCommercesearch":case"GBWidgetTypeSearch":return h.l9.Search;case"GBWidgetTypeCustompwa":case"GBWidgetTypeCustom":return h.l9.Custom;case"GBWidgetTypeVideo":return h.l9.Video;case"GBWidgetTypePhoto":return h.l9.Photo;case"GBWidgetTypeSound":return h.l9.Sound;case"GBWidgetTypeMap":return h.l9.Map;case"GBWidgetTypeUsers":return h.l9.Users;case"GBWidgetTypeEvent":return h.l9.Event;case"GBWidgetTypeNavigation":return h.l9.Navigation;case"GBWidgetTypeNewsletter":return h.l9.Newsletter;case"GBWidgetTypeLive":return h.l9.Live;case"GBWidgetTypeLegal":return h.l9.Legal;case"GBWidgetTypeSeparator":return h.l9.Separator;case"GBWidgetTypeSocial":return h.l9.Social;case"GBWidgetTypePromosubscription":return h.l9.InAppPurchasePromoBanner;default:return h.l9.Unknown}}catch{return this._logger.info(`Widget type impossible to get (${u})`),h.l9.Unknown}}getSectionsSoundMiniPlayerBackgroundColor(a){return this.getColor(this.getSectionsDetail(a),"miniPlayerBackgroundColor","#000000","basic2Color")}getSectionsIsPlayingIconColor(a){return this._getString(this.getSections(a),"isPlayingIconColor","#ffffff")}getSectionsIsPlayingIconBackgroundColor(a){return this._getString(this.getSections(a),"isPlayingIconBackgroundColor","#000000")}getSectionsSoundMiniPlayerTintColor(a){return this.getColor(this.getSectionsDetail(a),"playerTintColor","#5CC474","primary1Color")}getTextHoverEffect(){switch(this._getString(this._json,"textHoverEffect",null)){case"none":default:return 1;case"underline":return 2;case"lighter":return 3;case"darker":return 4}}getImageHoverEffect(){switch(this._getString(this._json,"imageHoverEffect",null)){case"none":default:return 1;case"zoom":return 2;case"dezoom":return 3;case"opacity":return 4}}getNotFound(){return this._getObject(this._json,"notFound")}getNotFoundBackgroundColor(){return this.getColor(this.getNotFound(),"backgroundColor","transparent","bodyBackgroundColor")}getNotFoundTitleColor(){return this.getColor(this.getNotFound(),"titleColor","transparent","primary1Color")}getNotFoundTextFont(){return this.getFont(this.getNotFound(),"textFont",null,"primary2Color")}getNotFoundText(){return this._getString(this.getNotFound(),"text",null)}getNotFoundShowImage(){return this._getBoolean(this.getNotFound(),"showImage404",!1)}getNotFoundImage(){return this.getImage(this.getNotFound(),"image404")}getNotFoundTitle(){return this._getString(this.getNotFound(),"title","404")}getNotFoundBaseline(){return this._getString(this.getNotFound(),"baseline",this._languagesManager.getString("GB_TXT_337"))}getSearchSectionIds(){const a=new Array,u=this.getSections();if(u)for(const E in u)("GBModuleTypeSearch"===this.getSectionsType(E)||"GBModuleTypeCommercesearch"===this.getSectionsType(E))&&a.push(E);return a}isThereBookmarkSection(){return this.isThereSectionType("GBModuleTypeBookmark")}isThereSectionType(a){const u=this.getSections();if(u)for(const E in u)if(this.getSectionsType(E)===a)return!0;return!1}getBackgroundColorGradient(a,u,E,T){const M=this._getObject(a,u),B=this._getObject(this.getUiStyle(),T);return B&&null!==this._getObject(B,"colors")?new c.ys(new s.sT(B)):M?new c.ys(new s.sT(M)):E||null}getGeneralBackgroundColorGradient(){return this.getBackgroundColorGradient(this._json,"backgroundColorGradient",null,"bodyBackgroundColorGradient")}getSectionsBackgroundColorGradient(a){return this.getBackgroundColorGradient(this.getSections(a),"backgroundColorGradient",this.getGeneralBackgroundColorGradient(),"bodyBackgroundColorGradient")}getSmsPushEnabled(){return this._getBoolean(this._json,"smsPushEnabled",!1)}getSmsPushDefaultIndicative(a){return this._getString(this._json,"smsPushDefaultIndicative",a)}getSectionsIdsByType(a){return Object.keys(this.getSections()).filter(u=>this.getSectionsType(u)===a)}getCommerceSectionIdByCategory(a){try{const u=this.getSectionsIdsByType("GBModuleTypeCommerce");if(u)return u.find(E=>this.getSectionsCommerceParentCategoryId(E)===a);throw new Error("Unable to find any commerce sections")}catch{return this._logger.info(`Unable to find commerce section id for product main category ${a}`),""}}getSectionsCommerceSource(a){return this._getObject(this.getSections(a),"commerceSource")}getSectionsCommerceParentCategoryId(a){return this._getString(this.getSectionsCommerceSource(a),"parentCategoryId","")}getSectionsCommerceSourceCollectionId(a){return this._getString(this.getSectionsCommerceSource(a),"collectionId","")}getSectionsCommerceSourceSort(a){return this._getString(this.getSectionsCommerceSource(a),"sort","last_added")}getSectionsDesignStrikePriceFont(a){return this.getFont(this.getSectionsDesign(a),"strikePriceFont",null,"primary3Color")}getSectionsDesignSalePriceFont(a){return this.getFont(this.getSectionsDesign(a),"salePriceFont",null,"primary1Color")}getSectionsDesignNoStockFont(a){return this.getFont(this.getSectionsDesign(a),"noStockFont",null)}getSectionsDesignHorizontalAlign(a){return this._getString(this.getSectionsDesign(a),"horizontalAlign","center_center").split("_").pop()}getSectionsDesignIsRtl(a){return this._getBoolean(this.getSectionsDesign(a),"isRTL",this.getGeneralIsRtl())}getCommerceBagSectionId(){const a=this.getSections();for(const u in a)if("GBModuleTypeCommercebag"===this.getSectionsType(u))return u;return null}getCommerceProductDesign(){return this.getGeneralDesignCommonByType("GBCommerceProductDetail")}getCommerceProductDesignBannerBackgroundColor(){return this.getColor(this.getCommerceProductDesign(),"bannerBackgroundColor","transparent","primary4Color")}getCustomListTemplateType(a){try{switch(this._getString(this.getSections(a),"template",null)){case"GBShopListTemplateTypeClassic":case"shopclassic":return 1;default:return 0}}catch{return this._logger.error(`Cannot instanciate list template for ${a}`),0}}getCustomListDefaultTemplateType(a){try{return"GBModuleTypeCustomUrl"===this._getString(this.getSections(a),"defaultTemplate",null)?1:0}catch{return this._logger.error(`Cannot instanciate list default template for custom ${a}`),0}}getCustomCustomHtmlUrl(a){let u=this._getString(this.getSections(a),"sectionUrl",null);if(u){let E="?";/\?/.test(u)&&(E="&"),E+="define_function=1",u+=E}return(0,s.Do)(this.getMostAccurateBaseUrl(),u)}getCustomCustomUrl(a){return this._getString(this.getSections(a),"url",null)}getMapConfig(a){return this._getObject(this._json,"mapConfig")||{provider:"google",googleAccessToken:a.mapsApiKey}}getGeneralMapStyleId(){return this._getString(this._json,"mapStyleId",void 0)}getSectionsMapStyleId(a){return this._getString(this.getSections(a),"mapStyleId",this.getGeneralMapStyleId())}getFirstSectionIdBySectionType(a){const u=this.getSections();for(const E in u)if(this.getSectionsType(E)===a)return E;return null}getSectionsDesign(a){const u=this.getSections(a);let E=this._getObject(u,"design");if(!E){const T=this.getSectionsType(a);"Unknown"!==T&&(E=this.getGeneralDesignCommonByType(T))}return E||(E=u),E}getSectionsDesignMargin(a){return this._getGBMargin(this.getSectionsDesign(a),"margin",this.getGeneralMargin())}getSectionsDesignShape(a){const u=this.getGBUIShape(this.getSectionsDesign(a),"shape",this.getGeneralShape());return this.getCustomShapeWithUIShape(u)}getSectionsDesignShadow(a){return this.getGBUIShadow(this.getSectionsDesign(a),"shadow",this.getGeneralShadow())}getSectionsDesignTitleFont(a,u="primary2Color"){return this.getFont(this.getSectionsDesign(a),"titleFont",new c.T7({size:0,fontType:null,color:"#FFFFFFF"}),u)}getSectionsDesignSubtitleFont(a,u="primary1Color"){return this.getFont(this.getSectionsDesign(a),"subtitleFont",new c.T7({size:0,fontType:null,color:"#FFFFFFF"}),u)}getSectionsDesignTextFont(a,u="primary3Color"){return this.getFont(this.getSectionsDesign(a),"textFont",new c.T7({size:0,fontType:null,color:"#FFFFFF"}),u)}getSectionsDesignListBackgroundColor(a,u="primary4Color"){return this.getColor(this.getSectionsDesign(a),"listBackgroundColor","transparent",u)}getSectionsDesignListBackgroundOpacity(a){return this._getNumber(this.getSectionsDesign(a),"listBackgroundOpacity",1)}getSectionsDesignTitleAlign(a){const u=this._getString(this.getSectionsDesign(a),"titleAlign","left");return"left"===u&&this.getSectionsIsRtl(a)?"right":u}getSectionsDesignLinkColor(a,u){return this.getColor(this.getSectionsDesign(a),"linkColor",this.getSectionsSubtitleFont(a).color,u)}getSectionsDesignSeparatorColor(a,u="basic1Color"){return this.getColor(this.getSectionsDesign(a),"separatorColor",this.getGeneralSeparatorColor(),u)}getSectionDesignBorderColor(a,u){return this.getColor(this.getSectionsDesign(a),"borderColor","transparent",u)}getSectionsDesignDefaultThumb(a){return this.getImage(this.getSectionsDesign(a),"defaultThumb")}getSectionsDesignThumbFormat(a){return this._getThumbFormat(this.getSectionsDesign(a),"thumbFormat","wide")}getSectionsDesignShowThumb(a){return this._getBoolean(this.getSectionsDesign(a),"showThumb",!1)}getSectionsDesignSeparatorType(a){return this._getSeparatorType(this.getSectionsDesign(a),"separatorType",this.getGeneralSeparatorType())}getSectionsDesignActionButtonColor(a,u="buttonTextColor"){return this.getColor(this.getSectionsDesign(a),"actionButtonColor","transparent",u)}getSectionsDesignActionButtonBackgroundColor(a,u="buttonBackgroundColor"){return this.getColor(this.getSectionsDesign(a),"actionButtonBackgroundColor","transparent",u)}getSectionsDesignActionButtonBackgroundColorGradient(a,u="buttonBackgroundColorGradient"){return this.getBackgroundColorGradient(this.getSectionsDesign(a),"actionButtonBackgroundColorGradient",null,u)}getSectionsDesignContentMaxWidth(a){return this._getNumber(this.getSectionsDesign(a),"contentMaxWidth",1400)}getSectionsDesignPagerNumeric(a){return this._getObject(this.getSectionsDesign(a),"pager")}getSectionsDesignPagerNumericBackgroundOnColor(a){return this._getString(this.getSectionsDesignPagerNumeric(a),"backgroundOnColor","transparent")}getSectionsDesignPagerNumericBackgroundOffColor(a){return this._getString(this.getSectionsDesignPagerNumeric(a),"backgroundOffColor","transparent")}getSectionsDesignPagerNumericOnColor(a){return this._getString(this.getSectionsDesignPagerNumeric(a),"onColor","black")}getSectionsDesignPagerNumericOffColor(a){return this._getString(this.getSectionsDesignPagerNumeric(a),"offColor","black")}getCommerceCollectionDesignListTemplateType(a){try{switch(this._getString(this.getSectionsDesign(a),"template",null)){case"GBCommercecollectionsListTemplateTypeClassic":default:return h.Ss.Classic;case"GBCommercecollectionsListTemplateTypeVisual":return h.Ss.Visual;case"GBCommercecollectionsListTemplateTypeSwipe":return h.Ss.Swipe}}catch{return this._logger.warning(`Cannot instanciate list template for section ${a}`),h.Ss.Classic}}getCommerceTitleWithCollectionId(a){const u=this.getSections();for(const E in u)if(this.getSectionsCommerceSourceCollectionId(E)===a)return this.getSectionsTitle(E);return""}getCommerceCollectionImage(a){return this._getObject(this.getSections(a),"collectionImage")}getCommerceCollectionImageId(a){return this._getString(this.getCommerceCollectionImage(a),"imageId",null)}getCommerceQuickBuyEnabled(){return this._getBoolean(this.getGeneralDesignCommonByType("GBModuleTypeCommerce"),"quickBuyEnabled",!1)}getCommerceQuickBuyButton(a=2){return this.getButton(this.getGeneralDesignCommonByType("GBModuleTypeCommerce"),"quickBuyButton",null,a)}getSectionsDesignQuickBuyButton(a,u=2){return this.getButton(this.getSectionsDesign(a),"quickBuyButton",this.getCommerceQuickBuyButton(u),u)}isHorizontalScrollEnabled(a){return this._getBoolean(this.getSections(a),"enableHorizontalScroll",!1)}getGBUIBackground(a,u,E,T){const M=this._getObject(a,u);if(M){const B=this.getBackgroundColorGradient(M,"colorGradient");return{color:this.getColor(M,"color","#FFFFFF",T),gradient:B&&B.enabled&&B.toGBUIKitModel()||null,imageUrl:this.getImage(M,"image")?.imageUrl,opacity:this._getNumber(M,"opacity",1),transparencyEffect:this._getString(M,"transparencyEffect","normal")}}return E}getGBUIBorder(a,u,E={color:"transparent",width:"0px",style:"solid"},T="basic1Color"){const M=this._getObject(a,u);return M?{color:this.getColor(M,"color","transparent",T),width:`${this._getNumber(M,"size",1)}px`,style:"solid"}:E}getGBUIShape(a,u,E){const T=this._getObject(a,u);if(T){const M=this._getNumber(T,"radius",0);return{type:this._getString(T,"type","rounded"),radius:{tl:M,tr:M,bl:M,br:M}}}return E}getGBUIShadow(a,u,E){const T=this._getObject(a,u);if(T){if(!this._getBoolean(T,"enabled",!1))return null;let B;const N=this._getString(T,"type","level1");return B="custom"===N?{type:N,position:this._getString(T,"position","external"),color:this.getColor(T,"color","transparent"),opacity:this._getNumber(T,"opacity",.2),blur:this._getNumber(T,"blur",6),offset:this._getObject(T,"offset")||{x:0,y:3}}:{type:N,position:this._getString(T,"position","external"),color:this.getColor(T,"color","transparent")},B}return E}getGBUIFieldIconStyle(a,u,E){const T=this._getObject(a,u);return T?{color:this.getColor(T,"color","transparent")}:E}getGBUIFieldHoverState(a,u,E){const T=this._getObject(a,u);return T?{fontColor:this.getColor(T,"fontColor","inherit"),backgroundColor:this.getColor(T,"backgroundColor","inherit")}:E}getGBUIFieldSelectedState(a,u,E){const T=this._getObject(a,u);return T?{fontColor:this.getColor(T,"fontColor","inherit"),border:this.getGBUIBorder(T,"border",this.getGBUIBorder(a,"border")),backgroundColor:this.getColor(T,"backgroundColor","inherit")}:E}getGBUIFieldState(a,u,E,T){const M=this._getObject(a,u);return M?{background:this.getGBUIBackground(M,"background",this.getGBUIBackground(a,"background")),border:this.getGBUIBorder(M,"border",this.getGBUIBorder(a,"border")),fontColor:this.getColor(M,"fontColor",this.getFont(a,"font")?.toGBUIKitModel().color,T?.fontColor),helperColor:this.getColor(M,"helperColor",this.getFont(a,"helperFont")?.toGBUIKitModel().color),titleColor:this.getColor(M,"titleColor",this.getFont(a,"titleFont")?.toGBUIKitModel().color),iconLeft:this.getGBUIFieldIconStyle(M,"iconLeft",this.getGBUIFieldIconStyle(a,"iconLeft")),iconRight:this.getGBUIFieldIconStyle(M,"iconRight",this.getGBUIFieldIconStyle(a,"iconRight")),shadow:this.getGBUIShadow(M,"shadow",this.getGBUIShadow(a,"shadow")),hover:this.getGBUIFieldHoverState(M,"hover"),selected:this.getGBUIFieldSelectedState(M,"selected")}:E}getGBUIField(a,u,E,T){const M=this._getObject(a,u);return M?{background:this.getGBUIBackground(M,"background"),border:this.getGBUIBorder(M,"border"),font:this.getGBUIFieldFont(M,"font","#888888")?.toGBUIKitModel(),helperFont:this.getGBUIFieldFont(M,"helperFont","#666666",T?.helperFont)?.toGBUIKitModel(),titleFont:this.getGBUIFieldFont(M,"titleFont","#666666",T?.titleFont)?.toGBUIKitModel(),iconLeft:this.getGBUIFieldIconStyle(M,"iconLeft"),iconRight:this.getGBUIFieldIconStyle(M,"iconRight"),shadow:this.getGBUIShadow(M,"shadow"),shape:this.getGBUIShape(M,"shape",{type:"rounded"}),size:this._getString(M,"size","small"),layout:this._getString(M,"layout","titleup"),errorColor:this.getColor(M,"errorColor","#ea3c2a"),focus:this.getGBUIFieldState(M,"focus",null,T?.focus),complete:this.getGBUIFieldState(M,"complete",null,T?.complete),disabled:this.getGBUIFieldState(M,"disabled",null)}:E}getGBUICheckbox(a,u,E,T){const M=this._getObject(a,u);return M?{textFont:this.getFont(M,"textFont",null,T?.textFont)?.toGBUIKitModel(),color:this.getColor(M,"color","#666666",T?.color),errorColor:this.getColor(M,"errorColor","#ea3c2a"),shape:this.getGBUIShape(M,"shape"),size:this._getString(M,"size","small"),fillStyle:this._getString(M,"fillStyle","filled"),selected:this.getGBUICheckboxSelectedState(M,"selected",null,T?.selected)}:E}getGBUICheckboxSelectedState(a,u,E,T){const M=this._getObject(a,u);return M?{textColor:this.getColor(M,"textColor",void 0,T?.textColor),color:this.getColor(M,"color",void 0,T?.color)}:E}getGBUIRadio(a,u,E,T){const M=this._getObject(a,u);return M?{textFont:this.getFont(M,"textFont",null,T?.textFont)?.toGBUIKitModel(),color:this.getColor(M,"color","#666666",T?.color),shape:this.getGBUIShape(M,"shape",{type:"rounded"}),errorColor:this.getColor(M,"errorColor","#ea3c2a"),size:this._getString(M,"size","medium"),fillStyle:this._getString(M,"fillStyle","filled"),selected:this.getGBUIRadioSelectedState(M,"selected",null,T?.selected)}:E}getGBUIRadioSelectedState(a,u,E,T){const M=this._getObject(a,u);return M?{textColor:this.getColor(M,"textColor",void 0,T?.textColor),color:this.getColor(M,"color",void 0,T?.color)}:E}getGeneralDesignComponents(){return this._getObject(this._json,"designComponents")}getGeneralDesignComponentsTextField(a){return this.getGBUIField(this.getGeneralDesignComponents(),"textField",null,a)}getGeneralDesignComponentsDropdown(a){return this.getGBUIField(this.getGeneralDesignComponents(),"dropdown",null,a)}getGeneralDesignComponentsDatepicker(a){return this.getGBUIField(this.getGeneralDesignComponents(),"datePicker",null,a)}getGeneralDesignComponentsCheckbox(a){return this.getGBUICheckbox(this.getGeneralDesignComponents(),"checkbox",null,a)}getGeneralDesignComponentsRadio(a){return this.getGBUIRadio(this.getGeneralDesignComponents(),"checkbox",null,a)}getGeneralShape(){return this.getGBUIShape(this._json,"shape")}getSectionsShape(a){const u=this.getGBUIShape(this.getSections(a),"shape",this.getGeneralShape());return this.getCustomShapeWithUIShape(u)}getSectionsUIShape(a){return this.getGBUIShape(this.getSections(a),"shape",this.getGeneralShape())}getCustomShapeWithUIShape(a){switch(a||(a={type:"sharp"}),a.type){case"custom":return a;case"rounded":return{type:"custom",radius:{tl:4,tr:4,bl:4,br:4}};case"round":return{type:"custom",radius:{tl:12,tr:12,bl:12,br:12}};default:return{type:"custom",radius:{tl:0,tr:0,bl:0,br:0}}}}getSectionsShadow(a){return this.getGBUIShadow(this.getSections(a),"shadow",this.getGeneralShadow())}getSectionsDetailShadow(a){return this.getGBUIShadow(this.getSectionsDetail(a),"shadow",this.getSectionsShadow(a))}getSectionsCanonicalUrl(a){return this._getString(this.getSections(a),"canonicalUrl","")}getGeneralIcons(){return this._getObject(this._json,"icons")}getGBUIIcon(a){const u=this._getObject(this.getGeneralIcons(),a);if(u)return{identifier:(0,s.Do)(this.getMostAccurateBaseUrl(),this._getString(u,"pngUrl",null)),isColored:this._getBoolean(u,"isColored",!1)}}getProfileAdvancedSectionUrl(){const a=this.getSections();for(const u in a)if("GBModuleTypeProfileadvanced"===this.getSectionsType(u))return this.getSectionsRewritedUrl(u);return null}getSettingsShowDistance(a){const u=this.isThereSectionType("GBModuleTypeMaps")||this.isThereSectionType("GBModuleTypeUserslist")||this.isThereSectionType("GBModuleTypeAgenda")||this.isThereSectionType("GBModuleTypeCouponing");return this._getBoolean(this.getSections(a),"showDistance",u)}getTosServiceType(a){try{switch(this.getSectionsService(a)){case"classictos":default:return"classictos";case"classicprivacy":return"classicprivacy"}}catch{return this._logger.warning(`Cannot instanciate Tos service for sections ${a}`),"classictos"}}getTosSectionId(){const a=this.getSections();for(const u in a)if("GBModuleTypeTos"===this.getSectionsType(u)&&"classictos"===this.getTosServiceType(u))return u;return null}getPrivacySectionId(){const a=this.getSections();for(const u in a)if("GBModuleTypeTos"===this.getSectionsType(u)&&"classicprivacy"===this.getTosServiceType(u))return u;return null}mockIcon(a){return new c.JO(new s.sT({image:{imageUrl:a}}),this.getMostAccurateBaseUrl(),this.getCdnBaseUrl())}getGeneralStats(){return this._getObject(this._json,"stats")}getGeneralGA(){return this._getObject(this.getGeneralStats(),"googleanalytics")}getGoogleAnalyticsAnonymization(){return this._getBoolean(this.getGeneralGA(),"anonymization",!1)}getGeneralMetaPixel(){return this._getObject(this.getGeneralStats(),"metaPixel")}getGeneralMetaPixelId(){return this._getString(this.getGeneralMetaPixel(),"metaPixelId",null)}getGeneralMetaPixelEnabled(){return this._getBoolean(this.getGeneralMetaPixel(),"enabled",!1)}getGeneralPlugins(){return this._getObject(this._json,"plugins")}getGeneralPluginsLibraryUrl(){let a=this._getString(this.getGeneralPlugins(),"libraryUrl",null);return a&&a.startsWith("/")&&(a=this.getMostAccurateBaseUrl()+a),a}getSectionsDisableContextualMenu(a){return this._getBoolean(this.getSections(a),"disableContextualMenu",this.getGeneralDisableContextualMenu())}getGeneralShadow(){return this.getGBUIShadow(this._json,"shadow")}getSectionsDistanceDisabled(a){return this._getBoolean(this.getSections(a),"distanceDisabled",!1)}getWalkthrough(){return this._getObject(this._json,"walkthrough")}getWalkthroughPwaEnabled(){return this._getBoolean(this.getWalkthrough(),"pwaEnabled",!0)}shouldLoadWalkthrough(){return this.getWalkthrough()&&this.getWalkthroughPwaEnabled()}}return(b=p).\u0275fac=function(a){return new(a||b)(v.LFG(n.h),v.LFG(_.Y))},b.\u0275prov=v.Yz7({token:b,factory:b.\u0275fac,providedIn:"root"}),p})()},89035:(_e,R,r)=>{"use strict";r.d(R,{$P:()=>v,AG:()=>D,B6:()=>_,Bd:()=>tt,D$:()=>pe,EO:()=>Pt,FF:()=>Me,JW:()=>c,JX:()=>a,Jq:()=>H,KA:()=>T,LK:()=>Q,ND:()=>vt,PP:()=>P,Qe:()=>U,R4:()=>ct,Ss:()=>ne,T4:()=>s,VM:()=>V,Vn:()=>me,Z$:()=>A,_p:()=>le,_v:()=>k,cJ:()=>E,dR:()=>We,gn:()=>lt,hI:()=>ee,hp:()=>n,id:()=>X,l0:()=>B,l9:()=>ge,lY:()=>Te,mo:()=>ut,nY:()=>I,o5:()=>O,oq:()=>M,p9:()=>W,py:()=>b,qO:()=>N,qg:()=>se,rE:()=>p,s5:()=>h,sX:()=>u,tI:()=>m,v4:()=>J,xO:()=>$,yR:()=>te,yn:()=>F});class n{static createZeroMargin(){return new n({top:0,left:0,right:0,bottom:0})}constructor(ae){this.top=ae.top?parseInt(ae.top.toString()):0,this.right=ae.right?parseInt(ae.right.toString()):0,this.bottom=ae.bottom?parseInt(ae.bottom.toString()):0,this.left=ae.left?parseInt(ae.left.toString()):0}isZeroMargin(){return 0===this.top&&0===this.right&&0===this.bottom&&0===this.left}hasHorizontalMargin(){return this.left>0||this.right>0}topString(){return`${this.top}px`}rightString(){return`${this.right}px`}bottomString(){return`${this.bottom}px`}leftString(){return`${this.left}px`}toString(){return`${this.top}px ${this.right}px ${this.bottom}px ${this.left}px`}}var s=function(y){return y[y.CircleBand=0]="CircleBand",y[y.Expandable=1]="Expandable",y[y.Ghost=2]="Ghost",y[y.Arrow=3]="Arrow",y[y.Pager=4]="Pager",y[y.IconCircleBand=5]="IconCircleBand",y[y.Dropdown=6]="Dropdown",y[y.Tags=7]="Tags",y[y.Labels=8]="Labels",y[y.GrenadineFilters=9]="GrenadineFilters",y}(s||{}),c=function(y){return y[y.Link=0]="Link",y[y.Login=1]="Login",y[y.Bag=2]="Bag",y}(c||{}),h=function(y){return y.Classic="GBArticleListTemplateTypeClassic",y.Grid="GBArticleListTemplateTypeGrid",y.UneGrid="GBArticleListTemplateTypeUneGrid",y.Visuels="GBArticleListTemplateTypeVisuels",y.SlideShow="GBArticleListTemplateTypeSlideShow",y.UneClassic="GBArticleListTemplateTypeClassicUne",y.Minimal="GBArticleListTemplateTypeMinimal",y.Checkerboard="GBArticleListTemplateTypeCheckerboard",y.Immersive="GBArticleListTemplateTypeImmersive",y.Enriched="GBArticleListTemplateTypeEnriched",y.Condensed="GBArticleListTemplateTypeCondensed",y}(h||{}),v=function(y){return y[y.Classic=0]="Classic",y[y.ToolBarUp=1]="ToolBarUp",y[y.ToolBarAndroid=2]="ToolBarAndroid",y[y.ToolBarSwipe=3]="ToolBarSwipe",y[y.ToolBarInsideUp=4]="ToolBarInsideUp",y}(v||{}),_=function(y){return y[y.Classic=0]="Classic",y[y.Banner=1]="Banner",y[y.NoNavBar=2]="NoNavBar",y[y.BannerInfos=3]="BannerInfos",y[y.Unknown=4]="Unknown",y}(_||{}),m=function(y){return y[y.Classic=0]="Classic",y[y.Grid=1]="Grid",y[y.UneGrid=2]="UneGrid",y[y.Visuels=3]="Visuels",y[y.SlideShow=4]="SlideShow",y[y.UneClassic=5]="UneClassic",y[y.Minimal=6]="Minimal",y}(m||{}),b=function(y){return y[y.Classic=0]="Classic",y[y.ToolBarUp=1]="ToolBarUp",y[y.ToolBarAndroid=2]="ToolBarAndroid",y[y.ToolBarSwipe=3]="ToolBarSwipe",y[y.ToolBarInsideUp=4]="ToolBarInsideUp",y}(b||{}),p=function(y){return y[y.None=0]="None",y[y.Opacity=1]="Opacity",y[y.Blur=2]="Blur",y[y.Gradient=3]="Gradient",y}(p||{}),D=function(y){return y.Comment="Comment",y.Share="Share",y.Facebook="Facebook",y.Twitter="Twitter",y.Favorite="Favorite",y.Purchase="Purchage",y.Add="Add",y.FontSizeIncrement="FontSizeIncrement",y.FontSizeDecrement="FontSizeDecrement",y}(D||{}),a=function(y){return y[y.Classic=0]="Classic",y[y.BannerImage=1]="BannerImage",y[y.BannerImageAndTitle=2]="BannerImageAndTitle",y}(a||{}),u=function(y){return y[y.Classic=0]="Classic",y[y.Instagram=1]="Instagram",y[y.Pinterest=2]="Pinterest",y[y.Square=3]="Square",y[y.Edgetoedge=4]="Edgetoedge",y}(u||{}),E=function(y){return y[y.Visuels=0]="Visuels",y[y.VisuelsColor=1]="VisuelsColor",y[y.UneGrid=2]="UneGrid",y[y.UneGridColor=3]="UneGridColor",y[y.Grid=4]="Grid",y[y.GridColor=5]="GridColor",y[y.List=6]="List",y[y.ListColor=7]="ListColor",y[y.Slideshow=8]="Slideshow",y[y.Scratch=9]="Scratch",y}(E||{}),T=function(y){return y[y.Classic=0]="Classic",y[y.Button=1]="Button",y}(T||{}),M=function(y){return y[y.Block=0]="Block",y[y.Capsule=1]="Capsule",y[y.Material=2]="Material",y}(M||{}),B=function(y){return y[y.Classic=0]="Classic",y[y.Grid=1]="Grid",y}(B||{}),N=function(y){return y[y.RadioClassic=0]="RadioClassic",y[y.VideoClassic=1]="VideoClassic",y[y.RadioPlus=2]="RadioPlus",y}(N||{}),W=function(y){return y[y.Classic=0]="Classic",y[y.Banner=1]="Banner",y[y.Profile=2]="Profile",y}(W||{}),A=function(y){return y[y.Classic=0]="Classic",y[y.SoundCloud=1]="SoundCloud",y[y.GrenadinePodcast=2]="GrenadinePodcast",y}(A||{}),X=function(y){return y[y.ToolBarUp=0]="ToolBarUp",y[y.ToolBarAndroid=1]="ToolBarAndroid",y[y.ToolBarSwipe=2]="ToolBarSwipe",y[y.ToolBarInsideUp=3]="ToolBarInsideUp",y[y.ToolBarUpBanner=4]="ToolBarUpBanner",y[y.ToolBarSlideGrenadine=5]="ToolBarSlideGrenadine",y}(X||{}),U=function(y){return y[y.Classic=0]="Classic",y[y.Banner=1]="Banner",y[y.Grenadine=2]="Grenadine",y}(U||{}),O=function(y){return y.Classic="GBMapsListTemplateTypeClassic",y.Visual="GBMapsListTemplateTypeVisual",y.SplitView="GBMapsListTemplateTypeSplitView",y}(O||{}),k=function(y){return y[y.Classic=0]="Classic",y[y.Banner=1]="Banner",y[y.Cover=2]="Cover",y[y.Grenadine=3]="Grenadine",y}(k||{}),I=function(y){return y[y.Classic=0]="Classic",y[y.Bannersplit=1]="Bannersplit",y[y.Fullbanner=2]="Fullbanner",y}(I||{}),F=function(y){return y[y.Classic=0]="Classic",y[y.Banner=1]="Banner",y[y.Cover=2]="Cover",y}(F||{}),P=function(y){return y[y.Classic=0]="Classic",y[y.Disqus=1]="Disqus",y}(P||{}),H=function(y){return y.General="General",y.List="List",y.Detail="Detail",y.None="None",y}(H||{}),$=function(y){return y[y.Visual=0]="Visual",y[y.Classic=1]="Classic",y[y.Minimal=2]="Minimal",y}($||{}),J=function(y){return y[y.Minimal=0]="Minimal",y[y.Banner=1]="Banner",y}(J||{}),V=function(y){return y[y.Redeem=0]="Redeem",y[y.Code=1]="Code",y}(V||{}),le=function(y){return y[y.Long=0]="Long",y[y.Short=1]="Short",y[y.Social=2]="Social",y}(le||{}),ge=function(y){return y[y.About=0]="About",y[y.Ads=1]="Ads",y[y.Article=2]="Article",y[y.CommerceCollections=3]="CommerceCollections",y[y.CommerceLegal=4]="CommerceLegal",y[y.CommerceProducts=5]="CommerceProducts",y[y.CommercePromoBanner=6]="CommercePromoBanner",y[y.Custom=7]="Custom",y[y.Event=8]="Event",y[y.InAppPurchasePromoBanner=9]="InAppPurchasePromoBanner",y[y.Legal=10]="Legal",y[y.Live=11]="Live",y[y.Map=12]="Map",y[y.Navigation=13]="Navigation",y[y.Newsletter=14]="Newsletter",y[y.Photo=15]="Photo",y[y.Search=16]="Search",y[y.Separator=17]="Separator",y[y.Social=18]="Social",y[y.Sound=19]="Sound",y[y.Users=20]="Users",y[y.Video=21]="Video",y[y.Unknown=22]="Unknown",y}(ge||{}),te=function(y){return y[y.AboutClassic=0]="AboutClassic",y[y.AboutClassicBanner=1]="AboutClassicBanner",y[y.AboutCoverBanner=2]="AboutCoverBanner",y[y.BannerClassic=3]="BannerClassic",y[y.BannerMinimal=4]="BannerMinimal",y[y.BannerPolaroid=5]="BannerPolaroid",y[y.BannerVisual=6]="BannerVisual",y[y.HighlightGrid=7]="HighlightGrid",y[y.HighlightUneGrid=8]="HighlightUneGrid",y[y.ListCard=9]="ListCard",y[y.ListClassic=10]="ListClassic",y[y.ListGrid=11]="ListGrid",y[y.ListEdgeToEdge=12]="ListEdgeToEdge",y[y.ListSplit=13]="ListSplit",y[y.ListUneClassic=14]="ListUneClassic",y[y.ListVisual=15]="ListVisual",y[y.ListMapView=16]="ListMapView",y[y.GrenadineVisual=17]="GrenadineVisual",y[y.CardGrenadine=18]="CardGrenadine",y[y.ListGrenadine=19]="ListGrenadine",y[y.ImmersiveCardGrenadine=20]="ImmersiveCardGrenadine",y[y.Unknown=21]="Unknown",y}(te||{}),We=function(y){return y[y.BannerBigCarousel=0]="BannerBigCarousel",y[y.BannerBigSlideshow=1]="BannerBigSlideshow",y[y.BannerSmallCarousel=2]="BannerSmallCarousel",y[y.BannerSmallSlideshow=3]="BannerSmallSlideshow",y[y.ListDropdown=4]="ListDropdown",y[y.ListGrid=5]="ListGrid",y[y.ListGridIcon=6]="ListGridIcon",y[y.ListList=7]="ListList",y[y.ListVisual=8]="ListVisual",y[y.ListVisualIcon=9]="ListVisualIcon",y[y.RemoteGrid=10]="RemoteGrid",y[y.Shortcuts=11]="Shortcuts",y[y.Unknown=12]="Unknown",y}(We||{}),Te=function(y){return y[y.Internal=0]="Internal",y[y.DFP=1]="DFP",y[y.Adsense=2]="Adsense",y[y.Unknown=3]="Unknown",y}(Te||{}),ee=function(y){return y[y.Classic=0]="Classic",y[y.Unknown=1]="Unknown",y}(ee||{}),Q=function(y){return y[y.Text=0]="Text",y}(Q||{}),me=function(y){return y[y.NoPhoto=0]="NoPhoto",y[y.Square=1]="Square",y[y.Rounded=2]="Rounded",y}(me||{}),pe=function(y){return y[y.NoPhoto=0]="NoPhoto",y[y.Square=1]="Square",y[y.Rounded=2]="Rounded",y}(pe||{}),se=function(y){return y[y.Classic=0]="Classic",y}(se||{}),Me=function(y){return y[y.ClassicLink=1]="ClassicLink",y[y.Copyright=2]="Copyright",y[y.Login=3]="Login",y[y.Logo=4]="Logo",y[y.Separator=5]="Separator",y[y.Shortcuts=6]="Shortcuts",y[y.TitleBreak=7]="TitleBreak",y[y.Bag=8]="Bag",y[y.Unknown=9]="Unknown",y}(Me||{}),ct=function(y){return y[y.Rounded=0]="Rounded",y[y.Square=1]="Square",y[y.Progress=2]="Progress",y[y.Unknown=3]="Unknown",y}(ct||{}),vt=function(y){return y[y.Numbers=0]="Numbers",y[y.Icon=1]="Icon",y[y.Image=2]="Image",y[y.Unknown=3]="Unknown",y}(vt||{}),Pt=function(y){return y[y.Classic=0]="Classic",y[y.Minimal=1]="Minimal",y[y.Unknown=2]="Unknown",y}(Pt||{}),lt=function(y){return y[y.Icon=0]="Icon",y[y.Image=1]="Image",y[y.Unknown=2]="Unknown",y}(lt||{}),tt=function(y){return y[y.Card=0]="Card",y[y.Grid=1]="Grid",y[y.GrenadineClassic=2]="GrenadineClassic",y}(tt||{}),ut=function(y){return y[y.Classic=0]="Classic",y}(ut||{}),ne=function(y){return y.Classic="GBCommercecollectionsListTemplateTypeClassic",y.Visual="GBCommercecollectionsListTemplateTypeVisual",y.Swipe="GBCommercecollectionsListTemplateTypeSwipe",y}(ne||{})},59699:(_e,R,r)=>{"use strict";r.d(R,{m:()=>Xe});var n=r(14565),s=r(34645),c=r(55096),h=r(62424),v=r(77533);let _=(()=>{var ve;class Ce{}return(ve=Ce).\u0275fac=function(ot){return new(ot||ve)},ve.\u0275mod=v.oAB({type:ve}),ve.\u0275inj=v.cJS({imports:[h.rt]}),Ce})(),m=(()=>{var ve;class Ce{}return(ve=Ce).\u0275fac=function(ot){return new(ot||ve)},ve.\u0275mod=v.oAB({type:ve}),ve.\u0275inj=v.cJS({}),Ce})();var b=r(90368);r(45003),r(38205),r(70936);var E=r(6147);r(55686);r(83353),r(68103);var W=r(99363),X=(r(4630),r(66215)),O=(r(70328),r(67286));let k=(()=>{var ve;class Ce{}return(ve=Ce).\u0275fac=function(ot){return new(ot||ve)},ve.\u0275mod=v.oAB({type:ve}),ve.\u0275inj=v.cJS({imports:[n.CommonModule,O.D]}),Ce})();r(53987),r(48865);var P=r(39063);r(85475),r(79059),r(91104);let le=(()=>{var ve;class Ce{}return(ve=Ce).\u0275fac=function(ot){return new(ot||ve)},ve.\u0275mod=v.oAB({type:ve}),ve.\u0275inj=v.cJS({}),Ce})();r(69135),r(21205),r(4917);var Te=r(67225),ee=r(89724);let Q=(()=>{var ve;class Ce{}return(ve=Ce).\u0275fac=function(ot){return new(ot||ve)},ve.\u0275mod=v.oAB({type:ve}),ve.\u0275inj=v.cJS({imports:[n.CommonModule,P.q]}),Ce})();var me=r(28304),pe=r(99256),se=r(55704);const Me=()=>({enterDuration:300});let ct=(()=>{var ve;class Ce{ngOnInit(){this.matRippleColor=(0,pe.a7)(this.selectedColor,.6)}}return(ve=Ce).\u0275fac=function(ot){return new(ot||ve)},ve.\u0275cmp=v.Xpm({type:ve,selectors:[["gb-radio-button"]],inputs:{color:"color",selected:"selected",selectedColor:"selectedColor",rippleTrigger:"rippleTrigger"},decls:2,vars:13,consts:[["matRipple","",1,"radio-button",3,"matRippleTrigger","matRippleColor","matRippleUnbounded","matRippleCentered","matRippleRadius","matRippleAnimation"],[1,"radio-button-inner-circle"]],template:function(ot,Ve){1&ot&&(v.TgZ(0,"div",0),v._UZ(1,"div",1),v.qZA()),2&ot&&(v.Udp("background-color",Ve.color),v.Q6J("matRippleTrigger",Ve.rippleTrigger)("matRippleColor",Ve.matRippleColor)("matRippleUnbounded",!0)("matRippleCentered",!0)("matRippleRadius",23)("matRippleAnimation",v.DdM(12,Me)),v.xp6(1),v.Udp("background-color",Ve.selectedColor),v.ekj("selected",Ve.selected))},dependencies:[se.wG],styles:["[_nghost-%COMP%]{position:relative}.radio-button[_ngcontent-%COMP%]{height:24px;width:24px;border-radius:50%;border:1px solid #DDDDDD;display:flex;justify-content:center;align-items:center}.radio-button-inner-circle[_ngcontent-%COMP%]{height:12px;width:12px;border-radius:50%;transition:transform ease .28s;transform:scale(.001)}.radio-button-inner-circle.selected[_ngcontent-%COMP%]{transform:scale(1)}"],changeDetection:0}),Ce})();var vt=r(14842);let Pt=(()=>{var ve;class Ce{}return(ve=Ce).\u0275fac=function(ot){return new(ot||ve)},ve.\u0275mod=v.oAB({type:ve}),ve.\u0275inj=v.cJS({imports:[n.CommonModule,P.q,Q,b.bx]}),Ce})();v.B6R(me.A,[n.NgIf,ct,vt.y],[]);let lt=(()=>{var ve;class Ce{}return(ve=Ce).\u0275fac=function(ot){return new(ot||ve)},ve.\u0275mod=v.oAB({type:ve}),ve.\u0275inj=v.cJS({imports:[n.CommonModule,X.p,P.q]}),Ce})(),tt=(()=>{var ve;class Ce{}return(ve=Ce).\u0275fac=function(ot){return new(ot||ve)},ve.\u0275mod=v.oAB({type:ve}),ve.\u0275inj=v.cJS({imports:[n.CommonModule,P.q]}),Ce})();var ut=r(940),ne=r(89939),y=r(32525),ae=r(31370),w=r(99966);let Fe=(()=>{var ve;class Ce{}return(ve=Ce).\u0275fac=function(ot){return new(ot||ve)},ve.\u0275mod=v.oAB({type:ve}),ve.\u0275inj=v.cJS({imports:[n.CommonModule,W.o,X.p,ut.$]}),Ce})();v.B6R(ne.U,[n.NgIf,n.NgTemplateOutlet,y.M,ae.P,w.k],[]);var Je=r(17675);let St=(()=>{var ve;class Ce{}return(ve=Ce).\u0275fac=function(ot){return new(ot||ve)},ve.\u0275mod=v.oAB({type:ve}),ve.\u0275inj=v.cJS({imports:[Je.j6,Je.j6]}),Ce})();var gt=r(81461),Wt=r(63328),ft=r(85218),ye=r(20860);let st=(()=>{var ve;class Ce{}return(ve=Ce).\u0275fac=function(ot){return new(ot||ve)},ve.\u0275mod=v.oAB({type:ve}),ve.\u0275inj=v.cJS({imports:[n.CommonModule,W.o,P.q,ut.$]}),Ce})();v.B6R(gt.o,[y.M,Wt.O,h.kH,ft.cs,ye.ig,w.k],[]);var we=r(5161);let $e=(()=>{var ve;class Ce{}return(ve=Ce).\u0275fac=function(ot){return new(ot||ve)},ve.\u0275mod=v.oAB({type:ve}),ve.\u0275inj=v.cJS({imports:[n.CommonModule,P.q,X.p,W.o,b.bx]}),Ce})();v.B6R(we.N,[n.NgClass,ae.P,w.k],[]);const Ye=[ee.h,Te.O,Pt,lt,Q,tt,St,Fe,st,$e];let At=(()=>{var ve;class Ce{}return(ve=Ce).\u0275fac=function(ot){return new(ot||ve)},ve.\u0275mod=v.oAB({type:ve}),ve.\u0275inj=v.cJS({imports:[Ye,ee.h,Te.O,Pt,lt,Q,tt,St,Fe,st,$e]}),Ce})();r(84478);var it=r(20642),Kt=r(64210),wt=(r(53098),r(73301)),rn=r(36888),Ke=r(59181),pn=r(30435);let Xe=(()=>{var ve;class Ce{}return(ve=Ce).\u0275fac=function(ot){return new(ot||ve)},ve.\u0275mod=v.oAB({type:ve}),ve.\u0275inj=v.cJS({imports:[n.CommonModule,s.UX,c.Bz,P.q,X.p,k,le,O.D,W.o,_,b.bx,m,s.UX,n.CommonModule,c.Bz,P.q,X.p,k,le,O.D,W.o,At,_,b.bx,m]}),Ce})();v.B6R(E.U,[n.NgIf],[rn._]),v.B6R(Kt.z,[n.NgIf,ft.lW,Ke.uh,Ke.H8,Ke.xY,ae.P],[]),v.B6R(wt.f,[n.NgIf,pn.a,w.k],[]),v.B6R(it.g,[pn.a],[])},44036:(_e,R,r)=>{"use strict";r.d(R,{CP:()=>M,Hi:()=>a,IF:()=>v,LD:()=>E,Mm:()=>T,TU:()=>p,VM:()=>_,av:()=>h,hb:()=>u,j0:()=>m,lk:()=>D,m9:()=>c,qR:()=>b});var n=r(77533),s=r(63342);const c=new n.OlP("WindowRef"),h=new n.OlP("DefaultApiBaseUrl"),v=new n.OlP("Application type"),_=new n.OlP("Chat module config"),m=new n.OlP("Couponing module config"),b=new n.OlP("Loyalty module config"),p=new n.OlP("Commerce module config"),D=new n.OlP("App ngrx reducers"),a=new n.OlP("Commerce feature ngrx reducers"),u=new n.OlP("Universal Unique Identifier"),E=new n.OlP("App Launch Status",{providedIn:"root",factory:()=>(0,n.f3M)(s.n2).getItem("gbident")?"existing":"initial"}),T=new n.OlP("HoverEffect Enable Flag",{providedIn:"root",factory:()=>!0}),M=new n.OlP("Static Preview",{providedIn:"root",factory:()=>!1})},67463:(_e,R,r)=>{"use strict";r.d(R,{X:()=>_});var n=r(93634),s=r(25200),c=r(77533);let _=(()=>{var m;class b extends s.q{constructor(){super(420,550)}openFollowDialog(D){let a=new n.LE;a=a.set("screen_name",D);const u=this.buildUrl("follow",a);return this.openPopup(u)}openRetweetDialog(D){let a=new n.LE;a=a.set("tweet_id",D);const u=this.buildUrl("retweet",a);return this.openPopup(u)}openReplyDialog(D){let a=new n.LE;a=a.set("in_reply_to",D);const u=this.buildUrl("tweet",a);return this.openPopup(u)}openSharingDialog(D,a){let u=new n.LE;u=u.set("url",D),a&&(u=u.set("text",a));const E=this.buildUrl("tweet",u);return this.openPopup(E)}buildUrl(D,a){return b.WEB_INTENT_BASE_URL+D+"?"+a.toString()}}return(m=b).WEB_INTENT_BASE_URL="https://twitter.com/intent/",m.\u0275fac=function(D){return new(D||m)},m.\u0275prov=c.Yz7({token:m,factory:m.\u0275fac,providedIn:"root"}),b})()},44349:(_e,R,r)=>{"use strict";r.d(R,{S:()=>We});var n=r(97582),s=r(77533),c=r(55704),h=r(25167),v=r(17619),_=r(90368),m=r(15202),b=r(3050),p=r(9793),D=r(99256),a=r(21796);const u=[(0,a.X$)("buttonState",[(0,a.eR)("default => loading",(0,a.jt)("80ms ease-out")),(0,a.eR)("loading => success",(0,a.jt)("80ms ease-in")),(0,a.eR)("success => default",[(0,a.IO)(".success",(0,a.oB)({opacity:1,transform:"translateY(-100%)"})),(0,a.IO)(".default",(0,a.oB)({opacity:0})),(0,a.IO)(".success",[(0,a.jt)("100ms ease-out",(0,a.oB)({opacity:0,transform:"translateY(-100%)"}))]),(0,a.IO)(".default",[(0,a.jt)("200ms ease-in",(0,a.oB)({opacity:1}))])])])];var M,E=r(45781),T=r(62424);const B=["customTpl"],N=["defaultTpl"],W=["loadingTpl"],A=["successTpl"],X=["errorTpl"];function O(Te,ee){}function k(Te,ee){1&Te&&(s.TgZ(0,"span",10),s.Hsn(1,1),s.qZA())}function I(Te,ee){if(1&Te&&(s.TgZ(0,"span",11),s._uU(1),s.qZA()),2&Te){const Q=s.oxw(2);s.ekj("upper",null==Q.buttonSettings?null:Q.buttonSettings.uppercase),s.Q6J("gbLineClamp",Q.titleClamp)("gbFontStyle",null==Q.buttonSettings?null:Q.buttonSettings.titleFont)("gbFontStyleColor",Q.color),s.xp6(1),s.Oqu(Q.title)}}function F(Te,ee){if(1&Te&&s._UZ(0,"div",12),2&Te){const Q=s.oxw(2);s.Udp("background-color",Q.overlayColor)}}function P(Te,ee){if(1&Te&&(s.TgZ(0,"div",6),s.YNc(1,k,2,0,"span",7)(2,I,2,6,"span",8),s.Hsn(3),s.YNc(4,F,1,2,"div",9),s.qZA()),2&Te){const Q=s.oxw();s.Udp("justify-content",Q.align),s.xp6(1),s.Q6J("ngIf",Q.icon||Q.uiIcon),s.xp6(1),s.Q6J("ngIf",Q.title),s.xp6(2),s.Q6J("ngIf",Q.platform.isDesktopSize())}}function H(Te,ee){if(1&Te&&(s.TgZ(0,"div",13),s._UZ(1,"mat-spinner",14),s.qZA()),2&Te){const Q=s.oxw();s.Udp("justify-content",Q.align),s.xp6(1),s.Udp("--mdc-circular-progress-active-indicator-color",Q.color)}}function $(Te,ee){if(1&Te&&s._UZ(0,"div",12),2&Te){const Q=s.oxw(2);s.Udp("background-color",Q.overlayColor)}}function J(Te,ee){if(1&Te&&(s.TgZ(0,"div",15)(1,"span",10),s._UZ(2,"div",16),s.qZA(),s.TgZ(3,"span",17),s._uU(4),s.qZA(),s.YNc(5,$,1,2,"div",9),s.qZA()),2&Te){const Q=s.oxw();s.Udp("justify-content",Q.align),s.xp6(2),s.Udp("border-color",Q.color),s.xp6(1),s.Q6J("gbFontStyle",null==Q.buttonSettings?null:Q.buttonSettings.titleFont)("gbFontStyleColor",Q.color),s.xp6(1),s.Oqu(Q.successText),s.xp6(1),s.Q6J("ngIf",Q.platform.isDesktopSize())}}function V(Te,ee){if(1&Te&&s._UZ(0,"div",12),2&Te){const Q=s.oxw(2);s.Udp("background-color",Q.overlayColor)}}function le(Te,ee){if(1&Te&&(s.TgZ(0,"div",18)(1,"span",10),s._UZ(2,"i",19),s.qZA(),s.TgZ(3,"span",20),s._uU(4),s.qZA(),s.YNc(5,V,1,2,"div",9),s.qZA()),2&Te){const Q=s.oxw();s.Udp("justify-content",Q.align),s.xp6(3),s.Q6J("gbFontStyle",null==Q.buttonSettings?null:Q.buttonSettings.titleFont)("gbFontStyleColor",Q.color),s.xp6(1),s.Oqu(Q.errorText),s.xp6(1),s.Q6J("ngIf",Q.platform.isDesktopSize())}}const ge=["*",[["","gbIcon",""],["","gbuiIcon",""]]];class We{set _level(ee){this.level=ee,this.contained=1===ee,this.outlined=2===ee,this.text=3===ee}get title(){return this._title||this.buttonSettings&&this.buttonSettings.title}get backgroundColor(){return this.selected?this.buttonSettings&&this.buttonSettings.background&&this.buttonSettings.background.selectedColor:this.buttonSettings&&this.buttonSettings.background&&this.buttonSettings.background.color}get color(){const ee=this.buttonSettings&&this.buttonSettings.titleFont&&this.buttonSettings.titleFont.selectedColor,Q=this.buttonSettings&&this.buttonSettings.titleFont&&this.buttonSettings.titleFont.color;return(this.selected||this.hovered&&this.platform.isDesktopSize())&&ee&&"transparent"!==ee?ee:Q}get borderColor(){const ee=this.buttonSettings&&this.buttonSettings.selectedBorderColor,Q=this.buttonSettings&&this.buttonSettings.borderColor,me=ee&&("transparent"!==ee||Q&&"transparent"===Q);return(this.selected||this.hovered&&this.platform.isDesktopSize())&&me?ee:Q}constructor(ee,Q,me,pe,se){this.sanitizer=ee,this.settingsManager=Q,this.platform=me,this.elementRef=pe,this.focusMonitor=se,this.state="default",this.destroyed$=new s.vpe}ngOnChanges(ee){this.initSettings(),this.displayTplRef=this.getTemplate(this.state)}ngAfterViewInit(){this.displayTplRef=this.defaultTplRef,this.focusMonitor.monitor(this.elementRef).pipe((0,h.R)(this.destroyed$)).subscribe(ee=>{"keyboard"===ee?this.rippleRef=this.ripple.launch({persistent:!0,centered:!0}):this.rippleRef&&this.rippleRef.fadeOut()})}ngOnDestroy(){this.destroyed$.emit(),this.destroyed$.complete(),this.focusMonitor.stopMonitoring(this.elementRef)}initSettings(){if(this.buttonSettings=this._buttonSettings||this.settingsManager.getGeneralButtons(this.level),this.buttonSettings){if(this.rippleColor=(0,D.a7)(this.buttonSettings.titleFont?this.color:"#000000",.1),this.overlayColor=this.buttonSettings.background.selectedColor&&"transparent"!==this.buttonSettings.background.selectedColor?this.buttonSettings.background.selectedColor:this.rippleColor,this.border=!this.borderColor||this.buttonSettings.background.colorGradient&&this.buttonSettings.background.colorGradient.enabled?"initial":this.sanitizer.bypassSecurityTrustStyle(`1px solid ${this.borderColor}`),this.shape)this.appliedShape={...this.shape};else switch(this.buttonSettings.style){case"square":this.appliedShape={type:"sharp"};break;case"rounded":this.appliedShape={type:"round"};break;default:this.appliedShape={type:"custom",radius:{tl:2,tr:2,br:2,bl:2}}}this.gradientBackgroundEnabled=this.buttonSettings.background&&this.buttonSettings.background.colorGradient&&this.buttonSettings.background.colorGradient.enabled}}toggleSelected(){this.hovered=!this.hovered,this.initSettings()}getTemplate(ee){switch(ee){case"default":default:return this.defaultTplRef;case"loading":return this.loadingTplRef;case"success":return this.successTplRef;case"error":return this.errorTplRef;case"custom":return this.customTplRef}}}(M=We).\u0275fac=function(ee){return new(ee||M)(s.Y36(E.H7),s.Y36(p.pz),s.Y36(b.m),s.Y36(s.SBq),s.Y36(T.tE))},M.\u0275cmp=s.Xpm({type:M,selectors:[["button","gbButtonV2",""],["a","gbButtonV2",""]],contentQueries:function(ee,Q,me){if(1&ee&&(s.Suo(me,m.ar,5),s.Suo(me,_.ko,5),s.Suo(me,B,5)),2&ee){let pe;s.iGM(pe=s.CRH())&&(Q.icon=pe.first),s.iGM(pe=s.CRH())&&(Q.uiIcon=pe.first),s.iGM(pe=s.CRH())&&(Q.customTplRef=pe.first)}},viewQuery:function(ee,Q){if(1&ee&&(s.Gf(N,7),s.Gf(W,7),s.Gf(A,7),s.Gf(X,7),s.Gf(c.wG,7)),2&ee){let me;s.iGM(me=s.CRH())&&(Q.defaultTplRef=me.first),s.iGM(me=s.CRH())&&(Q.loadingTplRef=me.first),s.iGM(me=s.CRH())&&(Q.successTplRef=me.first),s.iGM(me=s.CRH())&&(Q.errorTplRef=me.first),s.iGM(me=s.CRH())&&(Q.ripple=me.first)}},hostVars:8,hostBindings:function(ee,Q){1&ee&&s.NdJ("mouseenter",function(){return Q.toggleSelected()})("mouseleave",function(){return Q.toggleSelected()}),2&ee&&s.ekj("contained",Q.contained)("outlined",Q.outlined)("text",Q.text)("bottom-button",Q.isBottomButton)},inputs:{_buttonSettings:["buttonSettings","_buttonSettings"],_level:["buttonLevel","_level"],_title:["buttonTitle","_title"],state:["buttonState","state"],successText:["buttonSuccessText","successText"],errorText:["buttonErrorText","errorText"],selected:["buttonSelected","selected"],titleClamp:"titleClamp",shape:"shape",isBottomButton:"isBottomButton"},exportAs:["button"],features:[s.TTD],attrs:["gbButtonV2",""],ngContentSelectors:["*","[gbIcon], [gbuiIcon]"],decls:10,vars:15,consts:[["matRipple","",1,"button",3,"matRippleColor","gbuiShape","gbGradient"],[3,"ngTemplateOutlet"],["defaultTpl",""],["loadingTpl",""],["successTpl",""],["errorTpl",""],[1,"button-content","default"],["class","icon-wrapper",4,"ngIf"],["class","button-title",3,"gbLineClamp","gbFontStyle","gbFontStyleColor","upper",4,"ngIf"],["class","button-overlay",3,"background-color",4,"ngIf"],[1,"icon-wrapper"],[1,"button-title",3,"gbLineClamp","gbFontStyle","gbFontStyleColor"],[1,"button-overlay"],[1,"button-content","loading"],["diameter","25"],[1,"button-content","success"],[1,"checkmark"],[1,"success-text",3,"gbFontStyle","gbFontStyleColor"],[1,"button-content","error"],["gbIcon","","iconUrl","/assets/gbicon/img/v1/102"],[1,"error-text",3,"gbFontStyle","gbFontStyleColor"]],template:function(ee,Q){1&ee&&(s.F$t(ge),s.TgZ(0,"div",0),s.YNc(1,O,0,0,"ng-template",1),s.qZA(),s.YNc(2,P,5,5,"ng-template",null,2,s.W1O)(4,H,2,4,"ng-template",null,3,s.W1O)(6,J,6,8,"ng-template",null,4,s.W1O)(8,le,6,6,"ng-template",null,5,s.W1O)),2&ee&&(s.Udp("background-color",Q.backgroundColor)("border",Q.border)("color",Q.color),s.ekj("gradient-applied",Q.gradientBackgroundEnabled)("bottom-button",Q.isBottomButton),s.Q6J("matRippleColor",Q.rippleColor)("gbuiShape",Q.appliedShape)("gbGradient",null==Q.buttonSettings||null==Q.buttonSettings.background?null:Q.buttonSettings.background.colorGradient)("@buttonState",Q.state),s.xp6(1),s.Q6J("ngTemplateOutlet",Q.displayTplRef))},styles:['[_nghost-%COMP%]{display:inline-block;background:none;border:none;outline:none;padding:0;box-sizing:border-box;cursor:pointer}.contained[_nghost-%COMP%]{height:48px;min-width:180px}.contained[_nghost-%COMP%]   .button-title[_ngcontent-%COMP%], .contained[_nghost-%COMP%]   .success-text[_ngcontent-%COMP%], .contained[_nghost-%COMP%]   .error-text[_ngcontent-%COMP%]{color:#000;font-size:18px!important}.outlined[_nghost-%COMP%]{height:42px;min-width:88px}.outlined[_nghost-%COMP%]   .button-title[_ngcontent-%COMP%], .outlined[_nghost-%COMP%]   .success-text[_ngcontent-%COMP%], .outlined[_nghost-%COMP%]   .error-text[_ngcontent-%COMP%]{font-size:15px!important}.text[_nghost-%COMP%]{height:42px;min-width:88px}.text[_nghost-%COMP%]   .button-title[_ngcontent-%COMP%]{font-size:15px!important}.button-inline[_nghost-%COMP%]{width:initial;min-width:88px}.button[_ngcontent-%COMP%]{height:100%;width:100%;padding:var(--btn-vpadding, 0) 16px;position:relative;background-clip:border-box}.button.gradient-applied[_ngcontent-%COMP%]{background-clip:padding-box;background-size:cover}.button-content[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;height:100%}.button-title[_ngcontent-%COMP%]{font-weight:500;font-family:Roboto,sans-serif}.button-title.upper[_ngcontent-%COMP%]{text-transform:uppercase}.icon-wrapper[_ngcontent-%COMP%]{display:inline-flex;margin-right:8px;margin-left:-4px}.icon-wrapper[_ngcontent-%COMP%]     .gbui-icon{flex-shrink:0}.button-overlay[_ngcontent-%COMP%]{inset:0;position:absolute;pointer-events:none;border-radius:inherit;opacity:0;transition:opacity .2s ease-in-out}.outlined[_ngcontent-%COMP%]   .button-overlay[_ngcontent-%COMP%]{inset:-1px}[_nghost-%COMP%]:hover   .button-overlay[_ngcontent-%COMP%], [_nghost-%COMP%]:hover   [_ngcontent-%COMP%]:focus   .button-overlay[_ngcontent-%COMP%], [_nghost-%COMP%]:focus   .button-overlay[_ngcontent-%COMP%], [_nghost-%COMP%]:focus   [_ngcontent-%COMP%]:focus   .button-overlay[_ngcontent-%COMP%]{opacity:1}[_nghost-%COMP%]:hover   .button-title[_ngcontent-%COMP%], [_nghost-%COMP%]:focus   .button-title[_ngcontent-%COMP%]{z-index:5}.checkmark[_ngcontent-%COMP%]{border-radius:50%;border:2px solid;height:30px;width:30px;position:relative}.checkmark[_ngcontent-%COMP%]:after{animation-duration:.8s;animation-timing-function:ease;animation-name:_ngcontent-%COMP%_checkmark;transform:translate(-8px) scaleX(-1) rotate(135deg);opacity:1;height:16px;width:8px;transform-origin:left top;border-right:2px solid transparent;border-top:2px solid transparent;border-color:inherit;top:50%;left:50%;content:"";position:absolute}@keyframes _ngcontent-%COMP%_checkmark{0%{height:0;width:0;opacity:1}20%{height:0;width:8px;opacity:1}40%{height:16px;width:8px;opacity:1}to{height:16px;width:8px;opacity:1}}gb-map-item-detail[_nghost-%COMP%]   .buttons[_nghost-%COMP%], gb-map-item-detail   .buttons   [_nghost-%COMP%], gb-event-detail-content   .buttons[_nghost-%COMP%], gb-event-detail-content   .buttons   [_nghost-%COMP%]{min-width:auto}gb-map-item-detail[_nghost-%COMP%]   .buttons[_nghost-%COMP%]   .button-title[_ngcontent-%COMP%], gb-map-item-detail   .buttons   [_nghost-%COMP%]   .button-title[_ngcontent-%COMP%], gb-event-detail-content   .buttons[_nghost-%COMP%]   .button-title[_ngcontent-%COMP%], gb-event-detail-content   .buttons   [_nghost-%COMP%]   .button-title[_ngcontent-%COMP%]{font-size:14px!important}.font-size-level1[_nghost-%COMP%]   .button-title[_ngcontent-%COMP%]{font-size:18px!important}.font-size-level2[_nghost-%COMP%]   .button-title[_ngcontent-%COMP%]{font-size:15px!important}.font-size-level3[_nghost-%COMP%]   .button-title[_ngcontent-%COMP%]{font-size:15px!important}[dir=rtl][_nghost-%COMP%] -no-combinator[_nghost-%COMP%]   .icon-wrapper[_ngcontent-%COMP%], [dir=rtl]   [_nghost-%COMP%]   .icon-wrapper[_ngcontent-%COMP%], [dir=rtl][_nghost-%COMP%]   .icon-wrapper[_ngcontent-%COMP%]{margin-right:-4px;margin-left:8px}@media only screen and (orientation: portrait) and (max-width: 599px),only screen and (orientation: landscape) and (max-width: 959px){.bottom-button[_nghost-%COMP%]{height:calc(36px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom)}.bottom-button[_nghost-%COMP%]   .button[_ngcontent-%COMP%]{height:calc(100% + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom)}}'],data:{animation:[u]},changeDetection:0}),(0,n.gn)([(0,v.Jh)("gbsettings"),(0,n.w6)("design:type",Function),(0,n.w6)("design:paramtypes",[]),(0,n.w6)("design:returntype",void 0)],We.prototype,"initSettings",null)},67225:(_e,R,r)=>{"use strict";r.d(R,{O:()=>B});var n=r(14565),s=r(90368),c=r(99363),h=r(66215),v=r(39063),_=r(67286),m=r(44349),b=r(77533),p=r(32525),D=r(3290),a=r(31370),u=r(97673),E=r(55704),T=r(30435),M=r(14842);let B=(()=>{var N;class W{}return(N=W).\u0275fac=function(X){return new(X||N)},N.\u0275mod=b.oAB({type:N}),N.\u0275inj=b.cJS({imports:[n.CommonModule,c.o,v.q,h.p,_.D,s.bx]}),W})();b.B6R(m.S,[n.NgIf,n.NgTemplateOutlet,p.M,D.I,a.P,u.Ou,E.wG,T.a,M.y],[])},65764:(_e,R,r)=>{"use strict";r.d(R,{r:()=>I});var n=r(97582),s=r(77533),c=r(90368),h=r(17619),v=r(15202),_=r(9793),m=r(21796);const b=[(0,m.X$)("buttonState",[(0,m.eR)("default => loading",(0,m.jt)("80ms ease-out")),(0,m.eR)("loading => success",(0,m.jt)("80ms ease-in")),(0,m.eR)("success => default",[(0,m.IO)(".success",(0,m.oB)({opacity:1})),(0,m.IO)(".default",(0,m.oB)({opacity:0})),(0,m.IO)(".success",[(0,m.jt)("100ms ease-out",(0,m.oB)({opacity:0}))]),(0,m.IO)(".default",[(0,m.jt)("200ms ease-in",(0,m.oB)({opacity:1}))])])])];var D,p=r(45781);const a=["defaultTpl"],u=["loadingTpl"],E=["successTpl"],T=["errorTpl"];function B(F,P){}function N(F,P){1&F&&(s.TgZ(0,"span",9),s.Hsn(1,1),s.qZA())}function W(F,P){if(1&F&&(s.TgZ(0,"div",6),s.YNc(1,N,2,0,"span",7),s.Hsn(2),s._UZ(3,"div",8),s.qZA()),2&F){const H=s.oxw();s.Udp("justify-content",H.align),s.xp6(1),s.Q6J("ngIf",H.icon||H.uiIcon),s.xp6(2),s.ekj("light",H.isLight)}}function A(F,P){if(1&F&&(s.TgZ(0,"div",10),s._UZ(1,"mat-spinner",11),s.qZA()),2&F){const H=s.oxw();s.Udp("justify-content",H.align),s.xp6(1),s.Udp("--mdc-circular-progress-active-indicator-color",H.color)}}function X(F,P){if(1&F&&(s.TgZ(0,"div",12)(1,"span",9),s._UZ(2,"div",13),s.qZA(),s.TgZ(3,"span"),s._uU(4),s.qZA(),s._UZ(5,"div",8),s.qZA()),2&F){const H=s.oxw();s.Udp("justify-content",H.align),s.xp6(2),s.Udp("border-color",H.color),s.xp6(2),s.Oqu(H.successText),s.xp6(1),s.ekj("light",H.isLight)}}function U(F,P){if(1&F&&(s.TgZ(0,"div",14)(1,"span",9),s._UZ(2,"i",15),s.qZA(),s.TgZ(3,"span"),s._uU(4),s.qZA(),s._UZ(5,"div",8),s.qZA()),2&F){const H=s.oxw();s.Udp("justify-content",H.align),s.xp6(4),s.Oqu(H.errorText),s.xp6(1),s.ekj("light",H.isLight)}}const O=["*",[["","gbIcon",""],["","gbuiIcon",""]]];class I{set textAlign(P){this.align="start"===P?"flex-start":"center"}constructor(P,H){this.sanitizer=P,this.settingsManager=H,this.allowTransparentBackground=!0,this._state="default",this.state$=new s.vpe,this.initSettings()}ngOnChanges(P){this.initSettings(),this.changeState(this._state)}ngAfterViewInit(){this.displayTplRef=this.defaultTplRef}initSettings(){const P=this.shape=this.settingsManager.getGeneralButtonStyleShape();this.shape=this._shape||P;const H=this.type=this.settingsManager.getGeneralButtonStyleType();switch(this.type=this._type||H,this.isLight="light"===this.type,this.shape){case"square":this.radius="0px";break;case"rounded":this.radius="1000em";break;default:this.radius="2px"}this.isLight?(this.border=this.sanitizer.bypassSecurityTrustStyle(`2px solid ${this._backgroundColor}`),this.backgroundColor=this.allowTransparentBackground?"transparent":this._color,this.color=this._backgroundColor):(this.backgroundColor=this._backgroundColor,this.color=this._color,this.border="initial")}changeState(P){switch(P){case"default":this.displayTplRef=this.defaultTplRef;break;case"loading":this.displayTplRef=this.loadingTplRef;break;case"success":this.displayTplRef=this.successTplRef;break;case"error":this.displayTplRef=this.errorTplRef}this.state$.emit(P)}}(D=I).\u0275fac=function(P){return new(P||D)(s.Y36(p.H7),s.Y36(_.pz))},D.\u0275cmp=s.Xpm({type:D,selectors:[["button","gbButton",""],["a","gbButton",""]],contentQueries:function(P,H,$){if(1&P&&(s.Suo($,v.ar,5),s.Suo($,c.ko,5)),2&P){let J;s.iGM(J=s.CRH())&&(H.icon=J.first),s.iGM(J=s.CRH())&&(H.uiIcon=J.first)}},viewQuery:function(P,H){if(1&P&&(s.Gf(a,7),s.Gf(u,7),s.Gf(E,7),s.Gf(T,7)),2&P){let $;s.iGM($=s.CRH())&&(H.defaultTplRef=$.first),s.iGM($=s.CRH())&&(H.loadingTplRef=$.first),s.iGM($=s.CRH())&&(H.successTplRef=$.first),s.iGM($=s.CRH())&&(H.errorTplRef=$.first)}},hostVars:2,hostBindings:function(P,H){2&P&&s.ekj("bottom-button",H.isBottomButton)},inputs:{_backgroundColor:["backgroundColor","_backgroundColor"],_backgroundGradient:["backgroundGradient","_backgroundGradient"],backgroundOpacity:"backgroundOpacity",_color:["color","_color"],sidePadding:"sidePadding",textAlign:"textAlign",allowTransparentBackground:"allowTransparentBackground",_type:["buttonType","_type"],_shape:["buttonShape","_shape"],_state:["buttonState","_state"],successText:["buttonSuccessText","successText"],errorText:["buttonErrorText","errorText"],isBottomButton:"isBottomButton"},exportAs:["button"],features:[s.TTD],attrs:["gbButton",""],ngContentSelectors:["*","[gbIcon], [gbuiIcon]"],decls:12,vars:22,consts:[["matRipple","",1,"button",3,"gbGradient"],[3,"ngTemplateOutlet"],["defaultTpl",""],["loadingTpl",""],["successTpl",""],["errorTpl",""],[1,"button-content","default"],["class","icon-wrapper",4,"ngIf"],[1,"button-overlay"],[1,"icon-wrapper"],[1,"button-content","loading"],["diameter","25"],[1,"button-content","success"],[1,"checkmark"],[1,"button-content","error"],["gbIcon","","iconUrl","/assets/gbicon/img/v1/102"]],template:function(P,H){1&P&&(s.F$t(O),s.TgZ(0,"div",0),s.ALo(1,"backgroundcolor"),s.ALo(2,"async"),s.YNc(3,B,0,0,"ng-template",1),s.qZA(),s.YNc(4,W,4,5,"ng-template",null,2,s.W1O)(6,A,2,4,"ng-template",null,3,s.W1O)(8,X,6,7,"ng-template",null,4,s.W1O)(10,U,6,5,"ng-template",null,5,s.W1O)),2&P&&(s.Udp("background-color",s.xi3(1,17,H.backgroundColor,H.backgroundOpacity))("border",H.border)("border-radius",H.radius)("color",H.color)("padding-left",H.sidePadding,"px")("padding-right",H.sidePadding,"px"),s.ekj("bottom-button",H.isBottomButton),s.Q6J("gbGradient",H.isLight?null:H._backgroundGradient)("@buttonState",s.lcZ(2,20,H.state$)),s.xp6(3),s.Q6J("ngTemplateOutlet",H.displayTplRef))},styles:['[_nghost-%COMP%]{display:inline-block;background:none;border:none;outline:none;padding:0;height:36px;min-width:88px;box-sizing:border-box;cursor:pointer}.button[_ngcontent-%COMP%]{height:100%;width:100%;padding:0 16px;position:relative}.button-content[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;white-space:nowrap;height:100%}.success[_ngcontent-%COMP%], .error[_ngcontent-%COMP%]{position:absolute;top:0;left:0;right:0}.icon-wrapper[_ngcontent-%COMP%]{display:inline-flex;margin-right:12px}[dir=rtl][_nghost-%COMP%]   .icon-wrapper[_ngcontent-%COMP%], [dir=rtl]   [_nghost-%COMP%]   .icon-wrapper[_ngcontent-%COMP%]{margin-right:0;margin-left:12px}.button-overlay[_ngcontent-%COMP%]{inset:0;position:absolute;pointer-events:none;background-color:#0000001f;border-radius:inherit;opacity:0;transition:opacity .2s ease-in-out}.button-overlay.light[_ngcontent-%COMP%]{inset:-2px}[_nghost-%COMP%]:hover   .button-overlay[_ngcontent-%COMP%], [_nghost-%COMP%]:focus   .button-overlay[_ngcontent-%COMP%]{opacity:1}.checkmark[_ngcontent-%COMP%]{border-radius:50%;border:2px solid;height:30px;width:30px;position:relative}.checkmark[_ngcontent-%COMP%]:after{animation-duration:.8s;animation-timing-function:ease;animation-name:_ngcontent-%COMP%_checkmark;transform:translate(-8px) scaleX(-1) rotate(135deg);opacity:1;height:16px;width:8px;transform-origin:left top;border-right:2px solid transparent;border-top:2px solid transparent;border-color:inherit;top:50%;left:50%;content:"";position:absolute}@keyframes _ngcontent-%COMP%_checkmark{0%{height:0;width:0;opacity:1}20%{height:0;width:8px;opacity:1}40%{height:16px;width:8px;opacity:1}to{height:16px;width:8px;opacity:1}}@media only screen and (orientation: portrait) and (max-width: 599px),only screen and (orientation: landscape) and (max-width: 959px){.bottom-button[_nghost-%COMP%]{height:calc(36px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom)}.bottom-button[_nghost-%COMP%]   .button[_ngcontent-%COMP%]{height:calc(100% + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom)}}'],data:{animation:[b]},changeDetection:0}),(0,n.gn)([(0,h.Jh)("gbsettings"),(0,n.w6)("design:type",Function),(0,n.w6)("design:paramtypes",[]),(0,n.w6)("design:returntype",void 0)],I.prototype,"initSettings",null)},89724:(_e,R,r)=>{"use strict";r.d(R,{h:()=>E});var n=r(14565),s=r(99363),c=r(66215),h=r(39063),v=r(67286),_=r(65764),m=r(77533),b=r(32525),p=r(97673),D=r(55704),a=r(30435),u=r(74211);let E=(()=>{var T;class M{}return(T=M).\u0275fac=function(N){return new(N||T)},T.\u0275mod=m.oAB({type:T}),T.\u0275inj=m.cJS({imports:[n.CommonModule,s.o,h.q,c.p,v.D]}),M})();m.B6R(_.r,[n.NgIf,n.NgTemplateOutlet,b.M,p.Ou,D.wG,a.a],[n.AsyncPipe,u.q])},691:(_e,R,r)=>{"use strict";r.d(R,{f:()=>c});var n=r(77533);const s=["*"];let c=(()=>{var h;class v{}return(h=v).\u0275fac=function(m){return new(m||h)},h.\u0275cmp=n.Xpm({type:h,selectors:[["gb-card-expandable-content"]],ngContentSelectors:s,decls:1,vars:0,template:function(m,b){1&m&&(n.F$t(),n.Hsn(0))},encapsulation:2}),v})()},28304:(_e,R,r)=>{"use strict";r.d(R,{A:()=>b});var n=r(21796),s=r(77533),c=r(691);function h(p,D){if(1&p&&s._UZ(0,"gb-radio-button",4),2&p){const a=s.oxw();s.Udp("align-self",a.radioAlignSelf),s.Q6J("color",a.radioColor)("selectedColor",a.radioSelectedColor)("selected",a.selected)}}function v(p,D){1&p&&(s.TgZ(0,"div",5),s.Hsn(1,1),s.qZA()),2&p&&s.Q6J("@expand",void 0)}const _=[[["gb-card-content"]],[["gb-card-expandable-content"]]],m=["gb-card-content","gb-card-expandable-content"];let b=(()=>{var p;class D{constructor(){this.radioPosition="top",this.cardSelected=new s.vpe}ngOnChanges(u){this.backgroundColor=this.selected?this.selectedBackgroundColor:this.defaultBackgroundColor,this.radioAlignSelf="middle"===this.radioPosition?"center":"flex-start"}toggle(u){this.selectable&&!this.selected&&(u.preventDefault(),this.cardSelected.emit(u))}}return(p=D).\u0275fac=function(u){return new(u||p)},p.\u0275cmp=s.Xpm({type:p,selectors:[["gb-card"]],contentQueries:function(u,E,T){if(1&u&&s.Suo(T,c.f,5),2&u){let M;s.iGM(M=s.CRH())&&(E.expandableContent=M.first)}},hostBindings:function(u,E){1&u&&s.NdJ("click",function(M){return E.toggle(M)})("keydown.enter",function(M){return E.toggle(M)})},inputs:{borderColor:"borderColor",defaultBackgroundColor:["backgroundColor","defaultBackgroundColor"],radioColor:"radioColor",radioPosition:"radioPosition",radioSelectedColor:"radioSelectedColor",selectable:"selectable",selected:"selected",selectedBackgroundColor:"selectedBackgroundColor",shape:"shape"},outputs:{cardSelected:"cardSelected"},features:[s.TTD],ngContentSelectors:m,decls:5,vars:7,consts:[[1,"card",3,"gbuiShape"],[1,"card-content"],[3,"color","selectedColor","selected","align-self",4,"ngIf"],["class","expandable-content",4,"ngIf"],[3,"color","selectedColor","selected"],[1,"expandable-content"]],template:function(u,E){1&u&&(s.F$t(_),s.TgZ(0,"div",0)(1,"div",1),s.YNc(2,h,1,5,"gb-radio-button",2),s.Hsn(3),s.qZA(),s.YNc(4,v,2,1,"div",3),s.qZA()),2&u&&(s.Udp("background-color",E.backgroundColor)("border-color",E.borderColor),s.Q6J("gbuiShape",E.shape),s.xp6(2),s.Q6J("ngIf",E.selectable),s.xp6(2),s.Q6J("ngIf",E.expandableContent&&E.selected))},styles:["[_nghost-%COMP%]{display:block}.card[_ngcontent-%COMP%]{display:block;padding:12px;border:1px solid #DDDDDD;cursor:pointer;height:100%}.card-content[_ngcontent-%COMP%]{display:flex}.expandable-content[_ngcontent-%COMP%]{overflow:hidden}"],data:{animation:[(0,n.X$)("expand",[(0,n.eR)(":enter",[(0,n.oB)({height:0}),(0,n.jt)("300ms ease-in-out",(0,n.oB)({height:"*"}))]),(0,n.eR)(":leave",[(0,n.oB)({height:"*"}),(0,n.jt)("300ms ease-in-out",(0,n.oB)({height:0}))])])]},changeDetection:0}),D})()},37672:(_e,R,r)=>{"use strict";r.d(R,{TQ:()=>D});var n=r(14565),s=r(77533),c=r(25167),h=r(57495),v=r(3050),_=r(9793),m=r(59181);const b={width:"100%",height:"100%",panelClass:"overlay-panel-fullscreen-mobile"},p={width:"780px",height:"auto",panelClass:"overlay-panel-fullscreen-mobile"};let D=(()=>{var a;class u{constructor(T,M,B,N,W,A){this.dialog=T,this.document=M,this.platform=B,this.renderer=N,this.viewContainerRef=W,this.settingsManager=A,this.destroyed$=new s.vpe,this.platform.deviceChanged.pipe((0,c.R)(this.destroyed$)).subscribe(()=>this.update())}ngOnDestroy(){this.destroyed$.emit(),this.destroyed$.complete()}open(T,M,B){let W={...this.platform.isMobileSize()?b:p};B&&(W={...W,...B}),this.dialogRef=this.dialog.open(T,{...W,viewContainerRef:this.viewContainerRef}),this.dialogRef.componentInstance.closed.pipe((0,c.R)(this.destroyed$),(0,h.P)()).subscribe(()=>this.close()),this.applyBackgroundColor(M)}close(){this.dialogRef&&this.dialogRef.close()}update(){if(this.dialogRef){const T=this.platform.isMobileSize()?b:p;this.dialogRef.updateSize(T.width,T.height),this.dialogRef.updatePosition()}}applyBackgroundColor(T){if(T){let M=T;"transparent"===T&&(M=this.settingsManager.getGeneralBackgroundColor()),setTimeout(()=>{const N=this.document.querySelector(`#${this.dialogRef.id}`);N&&this.renderer.setStyle(N,"--gb-mdc-dialog-container-color",M,s.JOm.DashCase)})}}}return(a=u).\u0275fac=function(T){return new(T||a)(s.Y36(m.uw),s.Y36(n.DOCUMENT),s.Y36(v.m),s.Y36(s.Qsj),s.Y36(s.s_b),s.Y36(_.pz))},a.\u0275cmp=s.Xpm({type:a,selectors:[["gb-responsive-dialog"]],decls:0,vars:0,template:function(T,M){},styles:["@media only screen and (orientation: portrait) and (max-width: 599px),only screen and (orientation: landscape) and (max-width: 959px){.overlay-panel-fullscreen-mobile{max-width:100vw!important}.overlay-panel-fullscreen-mobile .mat-mdc-dialog-container{--mdc-dialog-container-shape: 0px}}\n"],encapsulation:2}),u})()},89939:(_e,R,r)=>{"use strict";r.d(R,{U:()=>u});var v,n=r(97582),s=r(77533),c=r(17619),h=r(9793);function _(E,T){1&E&&s.GkF(0)}function m(E,T){1&E&&s.GkF(0)}function b(E,T){if(1&E&&s._UZ(0,"span",7),2&E){const M=s.oxw().$implicit,B=s.oxw();s.Q6J("gbuiIcon",M.icon)("size",B.iconSize)("color",B.iconColor)}}function p(E,T){if(1&E&&(s.TgZ(0,"span"),s._uU(1),s.qZA()),2&E){const M=s.oxw().$implicit;s.Udp("color",M.textColor),s.xp6(1),s.Oqu(M.text)}}function D(E,T){if(1&E){const M=s.EpF();s.TgZ(0,"button",4),s.NdJ("click",function(){const W=s.CHM(M).$implicit;return s.KtG(W.clickHandler())})("keypress",function(){const W=s.CHM(M).$implicit;return s.KtG(W.clickHandler())}),s.YNc(1,b,1,3,"span",5)(2,p,2,3,"span",6),s.qZA()}if(2&E){const M=T.$implicit;s.xp6(1),s.Q6J("ngIf",M.displayIcon),s.xp6(1),s.Q6J("ngIf",M.displayText)}}const a=E=>({$implicit:E});class u{constructor(T){this.settingsManager=T,this.iconSize=24,this.clickLeft=new s.vpe,this.clickRight=new s.vpe}ngOnInit(){this.backgroundColor=this.settingsManager.getSectionsNavBarBackgroundColor(this.sectionId),this.backgroundColorGradient=this.settingsManager.getSectionsNavBarBackgroundColorGradient(this.sectionId),this.iconColor=this.settingsManager.getSectionsNavBarButtonIconColor(this.sectionId),this.titleFont=this.settingsManager.getSectionsNavBarTitleFont(this.sectionId);const T=this.settingsManager.getSectionsNavBarBorderColor(this.sectionId);this.borderStyle=T&&"transparent"!==T?`1px solid ${T}`:""}onClickLeft(){this.clickLeft.emit()}onClickRight(){this.clickRight.emit()}get leftActionOptions(){return{clickHandler:this.onClickLeft.bind(this),displayIcon:null!==this.leftIcon,displayText:""!==this.leftText,text:this.leftText,textColor:this.leftTextColor,icon:this.leftIcon}}get rightActionOptions(){return{clickHandler:this.onClickRight.bind(this),displayIcon:null!==this.rightIcon,icon:this.rightIcon,displayText:""!==this.rightText,text:this.rightText,textColor:this.rightTextColor||this.iconColor}}}(v=u).\u0275fac=function(T){return new(T||v)(s.Y36(h.pz))},v.\u0275cmp=s.Xpm({type:v,selectors:[["gb-sidenav-header"]],inputs:{leftIcon:"leftIcon",leftText:"leftText",leftTextColor:"leftTextColor",rightIcon:"rightIcon",rightText:"rightText",rightTextColor:"rightTextColor",iconSize:"iconSize",sectionId:"sectionId",title:"title"},outputs:{clickLeft:"clickLeft",clickRight:"clickRight"},decls:7,vars:15,consts:[[1,"header",3,"gbGradient"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"gbFontStyle"],["textOrIconButton",""],["tabindex","0",1,"sidenav-header-action",3,"click","keypress"],[3,"gbuiIcon","size","color",4,"ngIf"],[3,"color",4,"ngIf"],[3,"gbuiIcon","size","color"]],template:function(T,M){if(1&T&&(s.TgZ(0,"div",0),s.YNc(1,_,1,0,"ng-container",1),s.TgZ(2,"h1",2),s._uU(3),s.qZA(),s.YNc(4,m,1,0,"ng-container",1),s.qZA(),s.YNc(5,D,3,2,"ng-template",null,3,s.W1O)),2&T){const B=s.MAs(6);s.Udp("background-color",M.backgroundColor)("border-bottom",M.borderStyle),s.Q6J("gbGradient",M.backgroundColorGradient),s.xp6(1),s.Q6J("ngTemplateOutlet",B)("ngTemplateOutletContext",s.VKq(11,a,M.leftActionOptions)),s.xp6(1),s.Q6J("gbFontStyle",M.titleFont),s.xp6(1),s.Oqu(M.title),s.xp6(1),s.Q6J("ngTemplateOutlet",B)("ngTemplateOutletContext",s.VKq(13,a,M.rightActionOptions))}},styles:[".header[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;box-sizing:content-box}.header[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{flex:1;font-size:24px!important;margin:0;text-align:center}.sidenav-header-action[_ngcontent-%COMP%]{border:none;outline:none;background:transparent;padding:0 5px;line-height:1;cursor:pointer}@media only screen and (orientation: portrait) and (min-width: 1025px),only screen and (orientation: landscape) and (min-width: 1280px){.header[_ngcontent-%COMP%]{height:64px;padding:0 8px}}@media only screen and (orientation: portrait) and (max-width: 1024px),only screen and (orientation: landscape) and (max-width: 1279px){.header[_ngcontent-%COMP%]{height:56px;padding:0 4px;padding-top:env(safe-area-inset-top)}}"],changeDetection:0}),(0,n.gn)([(0,c.Jh)("navBar"),(0,n.w6)("design:type",Function),(0,n.w6)("design:paramtypes",[]),(0,n.w6)("design:returntype",void 0)],u.prototype,"ngOnInit",null)},58698:(_e,R,r)=>{"use strict";r.d(R,{a:()=>b});var n=r(77533),s=r(28459),c=r(17675),h=r(47017),v=r(90564);const _=[[["gb-drawer"]],"*"],m=["gb-drawer","*"];let b=(()=>{var p;class D{constructor(){this.position="start",this.noShadow=!1,this.drawerOpen=new n.vpe,this.drawerClose=new n.vpe,this.modeChange=new s.t(1),this._mode="over"}set mode(u){setTimeout(()=>{this._mode=u,this.modeChange.next(u)})}get mode(){return this._mode}get drawerWidth(){return this.width}set drawerWidth(u){this.width="number"==typeof u?`${u}px`:u}set opened(u){this.drawer.opened=u}get opened(){return this.drawer.opened}open(){this.drawer.open()}close(){this.drawer.close()}toggle(){this.drawer.toggle()}onDrawerOpen(){this.drawerOpen.emit()}onDrawerClose(){this.drawerClose.emit()}}return(p=D).\u0275fac=function(u){return new(u||p)},p.\u0275cmp=n.Xpm({type:p,selectors:[["gb-drawer-container"]],viewQuery:function(u,E){if(1&u&&(n.Gf(c.Ap,7),n.Gf(c.of,7)),2&u){let T;n.iGM(T=n.CRH())&&(E.drawer=T.first),n.iGM(T=n.CRH())&&(E.drawerContainer=T.first)}},hostVars:2,hostBindings:function(u,E){2&u&&n.ekj("open",E.opened)},inputs:{mode:"mode",drawerWidth:"drawerWidth",position:"position",showBackdrop:"showBackdrop",noShadow:"noShadow",opened:"opened"},outputs:{drawerOpen:"drawerOpen",drawerClose:"drawerClose"},ngContentSelectors:m,decls:4,vars:9,consts:[[3,"opened","mode","position","closed"]],template:function(u,E){1&u&&(n.F$t(_),n.TgZ(0,"gb-mat-drawer-container")(1,"gb-mat-drawer",0),n.NdJ("opened",function(){return E.onDrawerOpen()})("closed",function(){return E.onDrawerClose()}),n.Hsn(2),n.qZA(),n.Hsn(3,1),n.qZA()),2&u&&(n.ekj("hide-backdrop",!E.showBackdrop),n.xp6(1),n.Udp("width",E.drawerWidth),n.ekj("no-shadow",E.noShadow),n.Q6J("opened",E.opened)("mode",E.mode)("position",E.position))},dependencies:[h.Ap,v.o],styles:["gb-mat-drawer-container.hide-backdrop[_ngcontent-%COMP%]{background-color:initial}gb-mat-drawer-container.hide-backdrop[_ngcontent-%COMP%]    >.mat-drawer-backdrop{opacity:0}gb-mat-drawer-container[_ngcontent-%COMP%]    {height:100%;overflow:initial}.open[_nghost-%COMP%]   gb-mat-drawer-container[_ngcontent-%COMP%]    {z-index:1300}gb-mat-drawer-container[_ngcontent-%COMP%]     .mat-drawer-backdrop{position:fixed}gb-mat-drawer-container[_ngcontent-%COMP%]     gb-mat-drawer-content{overflow:initial}gb-mat-drawer[_ngcontent-%COMP%]{position:fixed;height:100%;width:400px;min-width:0}gb-mat-drawer.no-shadow[_ngcontent-%COMP%]{box-shadow:none}@media only screen and (orientation: portrait) and (min-width: 600px) and (max-width: 1024px),only screen and (orientation: landscape) and (min-width: 960px) and (max-width: 1279px){gb-mat-drawer[_ngcontent-%COMP%]{width:320px}}@media only screen and (orientation: portrait) and (max-width: 599px),only screen and (orientation: landscape) and (max-width: 959px){gb-mat-drawer[_ngcontent-%COMP%]{width:100%}}"]}),D})()},81461:(_e,R,r)=>{"use strict";r.d(R,{o:()=>E});var n=r(20860),s=r(36305),c=r(98238),h=r(9793),v=r(99256),_=r(21796);const m=[(0,_.X$)("speedDialAnimation",[(0,_.eR)("void => *",[(0,_.IO)("[mat-mini-fab]",(0,_.oB)({opacity:0,transform:"translateY(20px) scale(0.6)"})),(0,_.IO)("[mat-mini-fab]",(0,_.EY)("30ms",[(0,_.jt)("200ms ease-out",(0,_.oB)({opacity:1,transform:"scale(1)"}))]))]),(0,_.eR)("* => void",[(0,_.IO)("[mat-mini-fab]",(0,_.oB)({opacity:1})),(0,_.IO)("[mat-mini-fab]",[(0,_.jt)("160ms ease-in",(0,_.oB)({opacity:0}))])])])];var b=r(77533),p=r(50996);function D(T,M){if(1&T){const B=b.EpF();b.TgZ(0,"div",4),b.NdJ("cdkFocusChange",function(W){b.CHM(B);const A=b.oxw();return b.KtG(A.onCdkFocusChange(W))})("click",function(){b.CHM(B);const W=b.oxw();return b.KtG(W.closeSpeedDial())}),b.Hsn(1),b.qZA()}2&T&&b.Q6J("@speedDialAnimation",void 0)}const a=[[["","mat-mini-fab",""]]],u=["[mat-mini-fab]"];let E=(()=>{var T;class M{constructor(N,W,A,X){this.overlay=N,this.elementRef=W,this.settingsManager=X,this.dialIsOpen=!1,this.menuIcon=this.settingsManager.getGBUIIcon("list"),this.closeIcon=this.settingsManager.getGBUIIcon("close_big"),this.a11yFloatingMenuLabel=A.getString("GB_ACCESSIBILITY_FLOATING_OPEN_MENU_BUTTON")}ngOnDestroy(){this.closeSpeedDial()}openSpeedDial(){this.overlayRef&&this.overlayRef.hasAttached()?this.closeSpeedDial():(this.dialIsOpen=!0,this.createOverlay(),this.overlayRef.attach(this.buttonsPortal),this.subscribeToBackdrop())}closeSpeedDial(){this.dialIsOpen=!1,this.detachOverlay(),this.unsubscribeToBackdrop()}createOverlay(){if(!this.overlayRef){const N=this.overlay.position().flexibleConnectedTo(this.elementRef);N.withPositions([{originX:"center",originY:"top",overlayX:"center",overlayY:"bottom"}]);const W={positionStrategy:N,scrollStrategy:this.overlay.scrollStrategies.noop(),hasBackdrop:!0};this.overlayRef=this.overlay.create(W)}}detachOverlay(){this.overlayRef&&this.overlayRef.hasAttached()&&this.overlayRef.detach()}subscribeToBackdrop(){this.unsubscribeToBackdrop(),this.backdropSubscription=this.overlayRef.backdropClick().subscribe(()=>this.closeSpeedDial()),this.keydownSubscription=this.overlayRef.keydownEvents().pipe((0,s.h)(N=>2===new v.YD(N).key)).subscribe(()=>this.closeSpeedDial())}unsubscribeToBackdrop(){this.backdropSubscription&&this.backdropSubscription.unsubscribe(),this.keydownSubscription&&this.keydownSubscription.unsubscribe()}updateOverlayPosition(){this.overlayRef&&this.overlayRef.updatePosition()}onCdkFocusChange(N){null===N&&this.closeSpeedDial()}}return(T=M).\u0275fac=function(N){return new(N||T)(b.Y36(p.aV),b.Y36(b.SBq),b.Y36(c.h),b.Y36(h.pz))},T.\u0275cmp=b.Xpm({type:T,selectors:[["gb-speed-dial"]],viewQuery:function(N,W){if(1&N&&b.Gf(n.ig,7),2&N){let A;b.iGM(A=b.CRH())&&(W.buttonsPortal=A.first)}},hostBindings:function(N,W){1&N&&b.NdJ("resize",function(){return W.updateOverlayPosition()},!1,b.Jf7)},inputs:{backgroundColor:"backgroundColor",iconColor:"iconColor",backgroundColorGradient:"backgroundColorGradient"},ngContentSelectors:u,decls:4,vars:7,consts:[[1,"speed-dial-container"],["mat-fab","","tabindex","0","changeProperty","background-color",3,"gbHoverPantonizedColor","gbGradient","click"],[3,"gbuiIcon","color"],["cdkPortal",""],["cdkMonitorSubtreeFocus","",1,"speed-dial-buttons",3,"cdkFocusChange","click"]],template:function(N,W){1&N&&(b.F$t(a),b.TgZ(0,"div",0)(1,"button",1),b.NdJ("click",function(){return W.openSpeedDial()}),b._UZ(2,"i",2),b.qZA()(),b.YNc(3,D,2,1,"ng-template",3)),2&N&&(b.xp6(1),b.Udp("background-color",W.backgroundColor),b.Q6J("gbHoverPantonizedColor",W.backgroundColor)("gbGradient",W.backgroundColorGradient),b.uIk("aria-label",W.a11yFloatingMenuLabel),b.xp6(1),b.Q6J("gbuiIcon",W.dialIsOpen?W.closeIcon:W.menuIcon)("color",W.iconColor))},styles:["[_nghost-%COMP%]{position:fixed;bottom:calc(24px + var(--footer-height));right:24px;z-index:1050}.speed-dial-container[_ngcontent-%COMP%]{display:flex;flex-direction:column-reverse}.speed-dial-container[_ngcontent-%COMP%]   [mat-fab][_ngcontent-%COMP%]{transition:box-shadow .28s cubic-bezier(.4,0,.2,1)}.speed-dial-buttons[_ngcontent-%COMP%]{display:flex;flex-direction:column-reverse;align-items:center;justify-content:center;margin-bottom:8px;margin-bottom:calc(8px + env(safe-area-inset-bottom))}.speed-dial-buttons[_ngcontent-%COMP%]     [mat-mini-fab]{margin-bottom:12px;display:flex;justify-content:center;align-items:center}.speed-dial-buttons[_ngcontent-%COMP%]     [mat-mini-fab].disabled{background-color:#dfdfdf!important;box-shadow:none}.speed-dial-buttons[_ngcontent-%COMP%]     [mat-mini-fab].disabled i{color:#fff!important}.speed-dial-buttons[_ngcontent-%COMP%]     [mat-mini-fab].disabled i:has(svg){fill:#fff!important}@media only screen and (orientation: portrait) and (max-width: 1024px),only screen and (orientation: landscape) and (max-width: 1279px){[_nghost-%COMP%]{right:16px;bottom:calc(16px + var(--footer-height))}}"],data:{animation:m}}),M})()},5161:(_e,R,r)=>{"use strict";r.d(R,{N:()=>h});var n=r(15202),c=(r(9793),r(77533));let h=(()=>{var v;class _{constructor(b){this.materialService=b,this.text="Error",this.textColor="white",this.backgroundColor="red",this.displayBanner=!0}ngOnInit(){this.icon=this.materialService.createGBUIIconWithId(this.getIconKey(this.iconType))}ngOnChanges(){this.icon=this.materialService.createGBUIIconWithId(this.getIconKey(this.iconType))}getIconKey(b){switch(b){case"SUCCESS":return"1383";case"ERROR":return"1275";default:return"2176"}}}return(v=_).\u0275fac=function(b){return new(b||v)(c.Y36(n.U0))},v.\u0275cmp=c.Xpm({type:v,selectors:[["gb-top-bar"]],inputs:{text:"text",textColor:"textColor",textFont:"textFont",backgroundColor:"backgroundColor",iconType:"iconType",displayBanner:"displayBanner"},features:[c.TTD],decls:4,vars:8,consts:[[1,"content",3,"ngClass"],[3,"gbuiIcon","color"],[1,"text",3,"gbFontStyle","gbFontStyleColor"]],template:function(b,p){1&b&&(c.TgZ(0,"div",0),c._UZ(1,"i",1),c.TgZ(2,"div",2),c._uU(3),c.qZA()()),2&b&&(c.Udp("background-color",p.backgroundColor),c.Q6J("ngClass",p.contentVisibility),c.xp6(1),c.Q6J("gbuiIcon",p.icon)("color",p.textColor),c.xp6(1),c.Q6J("gbFontStyle",p.textFont)("gbFontStyleColor",p.textColor),c.xp6(1),c.Oqu(p.text))},styles:[".content[_ngcontent-%COMP%]{width:100%;display:flex;justify-content:center;align-items:center;padding:10px}.gbui-icon[_ngcontent-%COMP%]{margin-right:5px}.text[_ngcontent-%COMP%]{margin-left:7px;font-size:18px}@media only screen and (orientation: portrait) and (max-width: 599px),only screen and (orientation: landscape) and (max-width: 959px){.content[_ngcontent-%COMP%]{justify-content:flex-start}}"],changeDetection:0}),_})()},99256:(_e,R,r)=>{"use strict";r.d(R,{If:()=>y,HK:()=>ae,sT:()=>ut,YD:()=>Fe,fz:()=>Ke,NC:()=>w,Rg:()=>v,ix:()=>$,r0:()=>p,Wc:()=>O,A:()=>D,n1:()=>u,X4:()=>Xe,t_:()=>Rt,uf:()=>We,Do:()=>F,dW:()=>le,I7:()=>pe,k7:()=>ct,SA:()=>vt,$Q:()=>N,eo:()=>W,Bb:()=>I,gJ:()=>Te,gF:()=>se,D6:()=>Pt,QM:()=>V,LC:()=>tt,co:()=>m,a7:()=>_,cg:()=>Q,Jh:()=>T,dn:()=>lt,xT:()=>M,G3:()=>b,$S:()=>B,ST:()=>E,Bp:()=>ge,VU:()=>te,ce:()=>k,RL:()=>me,ZK:()=>Me,Xk:()=>X,hI:()=>A,M7:()=>P,HV:()=>pn,t:()=>a,Mh:()=>H});var n=r(15861),s=r(14565),c=r(58764),h=r(24257);function v(ve){switch(ve){case 1:return"dashed";case 2:return"dotted";default:return"solid"}}function _(ve,Ce=1){return"string"!=typeof ve?null:6!==(ve=ve.replace("#","")).length||isNaN(parseInt(ve,16))?ve:`rgba(${parseInt(ve.substring(0,2),16)}, ${parseInt(ve.substring(2,4),16)}, ${parseInt(ve.substring(4,6),16)}, ${Ce})`}function m(ve){return"string"!=typeof ve?null:6!==(ve=ve.replace("#","")).length||isNaN(parseInt(ve,16))?ve:`${parseInt(ve.substring(0,2),16)}, ${parseInt(ve.substring(2,4),16)}, ${parseInt(ve.substring(4,6),16)}`}function b(ve){return"string"==typeof ve&&(6===(ve=ve.replace("#","")).length&&!isNaN(parseInt(ve,16))||"transparent"===ve)}function p(ve,Ce=1){return"string"!=typeof ve?null:ve.replace(/([\d.]+)(?=\)$)/,Ce.toString())}function D(ve,Ce){if("string"!=typeof ve)return-1;ve=ve.replace("#","");let Re=parseInt(ve.substring(0,2),16),ot=parseInt(ve.substring(2,4),16),Ve=parseInt(ve.substring(4,6),16);if("string"!=typeof Ce)return 1;Ce=Ce.replace("#","");let Oe=parseInt(Ce.substring(0,2),16),Ze=parseInt(Ce.substring(2,4),16),Ge=parseInt(Ce.substring(4,6),16);Re*=256,ot*=256,Ve*=256,Oe*=256,Ze*=256,Ge*=256;const He=Re-Oe+(ot-Ze)+(Ve-Ge);return He>0?1:He<0?-1:0}function a(){if(typeof window>"u")return!1;let ve;try{ve=localStorage.getItem("imperialUnits")}catch{ve=void 0}if(null==ve){const Re=navigator.language||navigator.userLanguage||navigator.browserLanguage||navigator.systemLanguage||"en";if(/en/.test(Re))try{localStorage.setItem("imperialUnits","true")}catch{return!0}}return"true"===ve}function u(ve){return.621371192*ve}function E(ve,Ce=0){if("string"!=typeof ve)return null;if("transparent"===ve)return ve;(ve=String(ve).replace(/[^0-9a-f]/gi,"")).length<6&&(ve=ve[0]+ve[0]+ve[1]+ve[1]+ve[2]+ve[2]);let ot,Ve,Oe,Re="#";for(Ve=0;Ve<3;Ve++)ot=parseInt(ve.substr(2*Ve,2),16),Oe=Math.round(Math.min(Math.max(0,ot+ot*Ce),255)).toString(16),Re+=("00"+Oe).substr(Oe.length);return Re}function T(ve){return/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,10}$/i.test(ve)}function M(ve){return/^[0-9,. \-()+*#]+$/.test(ve)}function B(ve){return/^(http(s)?:\/\/(www\.)?)?[a-z0-9]+([-.]{1}[a-z0-9]+)*\.[a-z]{2,63}(:[0-9]{1,5})?(\/.*)?$/.test(ve)}function N(ve){let Ce="";if(ve>0)if(a()){const Re=u(ve);Ce=Re<100?Math.round(10*Re)/10+" miles":Math.round(Re)+" miles"}else Ce=ve<1?Math.round(1e3*ve)+" m":ve<10?Math.round(10*ve)/10+" km":Math.round(ve)+" km";return Ce}function W(ve){const Re=/<img([^>]+)>/.exec(ve);if(Re){const ot=Re.shift(),Ve=/(\S+)=["']([\s\w:/.;?&=-]+)["']/g;let Oe;const Ze=new Map;for(;null!==(Oe=Ve.exec(ot));)Ze.set(Oe[1],Oe[2]);return Ze}return null}function A(ve,Ce,Re){if(Re){const Ve=(new DOMParser).parseFromString(ve,"text/html");if(Ve){const Oe=Ve.getElementById(Ce);if(Oe){const Ze=Oe.closest(".photo");Ze?Ze.remove():Oe.remove()}return Ve.body.innerHTML}}return ve.replace(new RegExp(`<img[^>]*id="${Ce}"[^>]*>`),"")}function X(ve,Ce){if(Ce){const ot=(new DOMParser).parseFromString(ve,"text/html");if(ot){const Ve=ot.getElementsByTagName("img").item(0);if(Ve){const Oe=Ve.closest(".photo");Oe?Oe.remove():Ve.remove()}return ot.documentElement.innerHTML}}return ve.replace(new RegExp("<img[^>]*>"),"")}function O(ve){const Ce=/((?:<([a-zA-Z]+)[^/>]*>)?\[CONTENT\](?:<\/\2>)?)/;if(Ce.test(ve)){const Re=ve.split(Ce);return{before:Re[0],content:Re[1]+Re[3]}}return null}function k(ve,Ce){switch(Ce){case"mobile":return+ve.size;case"tablet":return+ve.tabletSize;default:return+ve.desktopSize}}function I(ve,Ce){return`@media only screen and (orientation: portrait) and (max-width: 599px),only screen and (orientation: landscape) and (max-width: 959px) {\n        ${ve} {font-size: ${Ce.size}px;}\n    }@media only screen and (orientation: portrait) and (min-width: 600px) and (max-width: 1024px),only screen and (orientation: landscape) and (min-width: 960px) and (max-width: 1279px) {\n        ${ve} {font-size: ${Ce.tabletSize}px;}\n    }@media only screen and (orientation: portrait) and (min-width: 1025px),only screen and (orientation: landscape) and (min-width: 1280px) {\n        ${ve} {font-size: ${Ce.desktopSize}px;}\n    }`}function F(ve,Ce){if("string"!=typeof Ce)return null;let Re=Ce;return"string"==typeof Re&&/^\/(?!\/)/.exec(Re)&&(Re=`${ve}${Re}`),""!==Re?Re:null}function P(ve,Ce){return"string"!=typeof ve?"":ve.replace(/(?:^(https?):\/\/)?([^:/?#]*)?(?::([0-9]+))?(\/[^?#]*)(\?[^#]*|)(#.*|)$/,(ot,Ve,Oe,Ze,Ge,Pe,Ue)=>Ce({protocol:Ve||null,host:Oe||null,port:Number.parseInt(Ze,10)||null,path:Ge||null,search:Pe||null,hash:Ue||null}))}function H(...ve){return ve.find(Ce=>Ce&&"transparent"!==Ce.toLowerCase())}function $(ve,Ce,Re=!1){return"string"!=typeof ve?"":(Re&&(ve=function J(ve){return"string"!=typeof ve?"":ve.replace(/<[^>]*>/g,"").replace(/\s+/g," ").trim()}(ve)),ve.length>Ce?ve.substring(0,Ce-1).concat("...").replace(/[\t\n\r]+/g," "):ve.replace(/[\t\n\r]+/g," "))}function V(ve){return`${(0,h.dU)().cdnBaseUrl}${ve}`}function le(ve){return`https://back.ww-cdn.com/${ve}`}function ge(ve,Ce,Re,ot){return new Promise((Ve,Oe)=>{if(ve.querySelector(`#${Ce}`))Ve(void 0);else{const Ze=(0,s.\u0275getDOM)().createElement("script");Ze.setAttribute("id",Ce),Ze.setAttribute("src",Re),Ze.setAttribute("async",""),ot&&Ze.setAttribute("crossorigin",ot),(0,s.\u0275getDOM)().onAndCancel(Ze,"error",Oe),(0,s.\u0275getDOM)().onAndCancel(Ze,"load",Ve),ve.head.appendChild(Ze)}})}function te(ve,Ce,Re){return new Promise((ot,Ve)=>{if(ve.querySelector(`#${Ce}`))ot(void 0);else{const Oe=(0,s.\u0275getDOM)().createElement("link",ve);Oe.setAttribute("id",Ce),Oe.setAttribute("rel","stylesheet"),Oe.setAttribute("href",Re),(0,s.\u0275getDOM)().onAndCancel(Oe,"error",Ve),(0,s.\u0275getDOM)().onAndCancel(Oe,"load",ot),ve.head.appendChild(Oe)}})}function We(ve,Ce,Re=".",ot=" "){const Oe=""===ot?"":ot||" ",Ze=Re||".",Ge=((Pe,Ue)=>{const De=Math.pow(10,Ue);return Math.round(Pe*De)/De})(ve,Ce).toString().split(".");return Ge[0].length>3&&(Ge[0]=Ge[0].replace(/\B(?=(?:\d{3})+(?!\d))/g,Oe)),(Ge[1]||"").length<Ce&&(Ge[1]=Ge[1]||"",Ge[1]+=new Array(Ce-Ge[1].length+1).join("0")),Ge.join(Ze)}function Te(ve){return ee.apply(this,arguments)}function ee(){return(ee=(0,n.Z)(function*(ve){return new Promise((Ce,Re)=>{const ot=new Image,Ve=()=>Ce(ot),Oe=Ze=>Re(Ze);return ot.addEventListener("load",Ve),ot.addEventListener("error",Oe),ot.src=ve,()=>{ot.removeEventListener("load",Ve),ot.removeEventListener("error",Oe)}})})).apply(this,arguments)}function Q(ve){return new c.y(Ce=>{if("string"!=typeof ve)return void Ce.error(new Error("ImageDownloadError::NoUrlError"));const Re=new Image,ot=()=>{Ce.next(Re),Ce.complete()},Ve=Oe=>Ce.error(Oe);return Re.addEventListener("load",ot),Re.addEventListener("error",Ve),Re.src=ve,()=>{Re.removeEventListener("load",ot),Re.removeEventListener("error",Ve)}})}function me(ve,Ce,Re){if(Re>=ve.length){let ot=Re-ve.length+1;for(;ot--;)ve.push(void 0)}return ve.splice(Re,0,ve.splice(Ce,1)[0]),ve}function pe(ve,Ce){let ot,Re=Ce.snapshot.root;for(;Re=Re.firstChild;)Re.data[ve]&&(ot=Re.data[ve]);return ot}function se(ve,Ce){let ot,Re=Ce.snapshot.root;for(;Re=Re.firstChild;)Re.params[ve]&&(ot=Re.params[ve]);return ot}function Me(ve){return new c.y(Ce=>{const Re=new FileReader,ot=Oe=>Ce.error(Oe),Ve=()=>{Ce.next(Re.result),Ce.complete()};return Re.addEventListener("abort",ot,!1),Re.addEventListener("error",ot,!1),Re.addEventListener("loadend",Ve,!1),Re.readAsDataURL(ve),()=>{Re.removeEventListener("abort",ot,!1),Re.removeEventListener("error",ot,!1),Re.removeEventListener("loadend",Ve,!1)}})}function ct(ve){return ve.match(/data:([a-zA-Z0-9]+\/[a-zA-Z0-9-.+]+).*,.*/)}function vt(ve,Ce){return`//maps.google.com/maps?daddr=${ve},${Ce}`}function Pt(ve,Ce,Re,ot=""){const Ve=`${ve},${Ce}`;return`${ot}//maps.google.com/maps?ll=${Ve}&q=${Re||Ve}`}function lt(ve,Ce){const Re="number"==typeof ve&&!isNaN(ve)&&0!==ve,ot="number"==typeof Ce&&!isNaN(Ce)&&0!==Ce;return Re&&ot}function tt(ve,Ce,Re){if(/\/assets\/(gbicon|img)\//.test(Re))return le(Re.replace(/^\//,""));if(Ce){if(Re&&Re.match(/\/apiv3\/release\/iphone\/([0-9]+)/))return F(Ce.replace("apiv3/cdn","superstatic/version"),Re.replace("/apiv3/release",""));if(Re&&Re.match(/\/apiv3\/photo\/iphone\//))return F(Ce.replace("apiv3/cdn","superstatic/photo"),Re.replace("/apiv3/photo",""));if(/\/apiv3\//.test(Re))return F(Ce,Re)}return F(ve,Re)}class ut{constructor(Ce){this._object=Ce}get object(){return this._object}getString(Ce,Re){return this._object&&this._object.hasOwnProperty(Ce)&&typeof this._object[Ce]<"u"&&null!=this._object[Ce]?this._object[Ce].toString():Re||null===Re?Re:""}getNumber(Ce,Re){return this._object&&this._object.hasOwnProperty(Ce)&&typeof this._object[Ce]<"u"&&null!=this._object[Ce]?Number(this._object[Ce]):Re||null===Re?Re:0}getBoolean(Ce,Re){return this._object&&this._object.hasOwnProperty(Ce)&&"boolean"==typeof this._object[Ce]?this._object[Ce]:!(!Re&&null!==Re)&&Re}getObject(Ce){return this._object&&this._object.hasOwnProperty(Ce)&&"object"==typeof this._object[Ce]&&this._object[Ce]instanceof Object?this._object[Ce]:null}getJsonObject(Ce){const Re=this.getObject(Ce);return Re?new ut(Re):null}getArray(Ce){return this._object&&this._object.hasOwnProperty(Ce)&&Array.isArray(this._object[Ce])?this._object[Ce]:null}setString(Ce,Re){this._object[Ce]=Re}setBoolean(Ce,Re){this._object[Ce]=Re}set(Ce,Re){this._object[Ce]=Re}}var ne=r(93634);class y extends ne.mL{encodeKey(Ce){return Ce}encodeValue(Ce){return Ce}}class ae extends ne.mL{encodeKey(Ce){return encodeURIComponent(Ce)}encodeValue(Ce){return encodeURIComponent(Ce)}}class w extends ne.mL{decodeValue(Ce){return decodeURIComponent(Ce).replace(/\+/g," ")}}class Fe{constructor(Ce){this.event=Ce,this.keyboardKey=this.handleKeyboardKey()}get key(){return this.keyboardKey}handleKeyboardKey(){if(this.event.key)switch(this.event.key){case"Tab":return 0;case"Enter":return 1;case"Escape":return 2;case"Backspace":return 3;case" ":case"Spacebar":return 4;case"ArrowUp":return 5;case"ArrowDown":return 8;case"ArrowLeft":return 6;case"ArrowRight":return 7;default:return 9}else if(this.event.keyCode)switch(this.event.keyCode){case 9:return 0;case 13:return 1;case 27:return 2;case 8:return 3;case 32:return 4;case 38:return 5;case 40:return 8;case 37:return 6;case 39:return 7;default:return 9}return 9}}const wt=[{\u00c0:"A",\u00c1:"A",\u00c2:"A",\u00c3:"A",\u00c4:"A",\u00c5:"A",\u00c6:"AE",\u00c7:"C",\u00c8:"E",\u00c9:"E",\u00ca:"E",\u00cb:"E",\u00cc:"I",\u00cd:"I",\u00ce:"I",\u00cf:"I",\u00d0:"D",\u00d1:"N",\u00d2:"O",\u00d3:"O",\u00d4:"O",\u00d5:"O",\u00d6:"O",\u0150:"O",\u00d8:"O",\u00d9:"U",\u00da:"U",\u00db:"U",\u00dc:"U",\u0170:"U",\u00dd:"Y",\u00de:"TH",\u0178:"Y",\u00df:"ss",\u00e0:"a",\u00e1:"a",\u00e2:"a",\u00e3:"a",\u00e4:"a",\u00e5:"a",\u00e6:"ae",\u00e7:"c",\u00e8:"e",\u00e9:"e",\u00ea:"e",\u00eb:"e",\u00ec:"i",\u00ed:"i",\u00ee:"i",\u00ef:"i",\u00f0:"d",\u00f1:"n",\u00f2:"o",\u00f3:"o",\u00f4:"o",\u00f5:"o",\u00f6:"o",\u0151:"o",\u00f8:"o",\u00f9:"u",\u00fa:"u",\u00fb:"u",\u00fc:"u",\u0171:"u",\u00fd:"y",\u00fe:"th",\u00ff:"y"},{"\xa9":"(c)"},{\u03b1:"a",\u03b2:"b",\u03b3:"g",\u03b4:"d",\u03b5:"e",\u03b6:"z",\u03b7:"h",\u03b8:"8",\u03b9:"i",\u03ba:"k",\u03bb:"l",\u03bc:"m",\u03bd:"n",\u03be:"3",\u03bf:"o",\u03c0:"p",\u03c1:"r",\u03c3:"s",\u03c4:"t",\u03c5:"y",\u03c6:"f",\u03c7:"x",\u03c8:"ps",\u03c9:"w",\u03ac:"a",\u03ad:"e",\u03af:"i",\u03cc:"o",\u03cd:"y",\u03ae:"h",\u03ce:"w",\u03c2:"s",\u03ca:"i",\u03b0:"y",\u03cb:"y",\u0390:"i",\u0391:"A",\u0392:"B",\u0393:"G",\u0394:"D",\u0395:"E",\u0396:"Z",\u0397:"H",\u0398:"8",\u0399:"I",\u039a:"K",\u039b:"L",\u039c:"M",\u039d:"N",\u039e:"3",\u039f:"O",\u03a0:"P",\u03a1:"R",\u03a3:"S",\u03a4:"T",\u03a5:"Y",\u03a6:"F",\u03a7:"X",\u03a8:"PS",\u03a9:"W",\u0386:"A",\u0388:"E",\u038a:"I",\u038c:"O",\u038e:"Y",\u0389:"H",\u038f:"W",\u03aa:"I",\u03ab:"Y"},{\u015f:"s",\u015e:"S",\u0131:"i",\u0130:"I",\u00e7:"c",\u00c7:"C",\u00fc:"u",\u00dc:"U",\u00f6:"o",\u00d6:"O",\u011f:"g",\u011e:"G"},{\u0103:"a",\u00ee:"i",\u0219:"s",\u021b:"t",\u00e2:"a",\u0102:"A",\u00ce:"I",\u0218:"S",\u021a:"T",\u00c2:"A"},{\u0430:"a",\u0431:"b",\u0432:"v",\u0433:"g",\u0434:"d",\u0435:"e",\u0451:"yo",\u0436:"zh",\u0437:"z",\u0438:"i",\u0439:"j",\u043a:"k",\u043b:"l",\u043c:"m",\u043d:"n",\u043e:"o",\u043f:"p",\u0440:"r",\u0441:"s",\u0442:"t",\u0443:"u",\u0444:"f",\u0445:"h",\u0446:"c",\u0447:"ch",\u0448:"sh",\u0449:"sh",\u044a:"",\u044b:"y",\u044c:"",\u044d:"e",\u044e:"yu",\u044f:"ya",\u0410:"A",\u0411:"B",\u0412:"V",\u0413:"G",\u0414:"D",\u0415:"E",\u0401:"Yo",\u0416:"Zh",\u0417:"Z",\u0418:"I",\u0419:"J",\u041a:"K",\u041b:"L",\u041c:"M",\u041d:"N",\u041e:"O",\u041f:"P",\u0420:"R",\u0421:"S",\u0422:"T",\u0423:"U",\u0424:"F",\u0425:"H",\u0426:"C",\u0427:"Ch",\u0428:"Sh",\u0429:"Sh",\u042a:"",\u042b:"Y",\u042c:"",\u042d:"E",\u042e:"Yu",\u042f:"Ya"},{\u0404:"Ye",\u0406:"I",\u0407:"Yi",\u0490:"G",\u0454:"ye",\u0456:"i",\u0457:"yi",\u0491:"g"},{\u010d:"c",\u010f:"d",\u011b:"e",\u0148:"n",\u0159:"r",\u0161:"s",\u0165:"t",\u016f:"u",\u017e:"z",\u010c:"C",\u010e:"D",\u011a:"E",\u0147:"N",\u0158:"R",\u0160:"S",\u0164:"T",\u016e:"U",\u017d:"Z"},{\u0105:"a",\u0107:"c",\u0119:"e",\u0142:"l",\u0144:"n",\u00f3:"o",\u015b:"s",\u017a:"z",\u017c:"z",\u0104:"A",\u0106:"C",\u0118:"E",\u0141:"L",\u0143:"N",\u00d3:"O",\u015a:"S",\u0179:"Z",\u017b:"Z"},{\u0101:"a",\u010d:"c",\u0113:"e",\u0123:"g",\u012b:"i",\u0137:"k",\u013c:"l",\u0146:"n",\u0161:"s",\u016b:"u",\u017e:"z",\u0100:"A",\u010c:"C",\u0112:"E",\u0122:"G",\u012a:"I",\u0136:"K",\u013b:"L",\u0145:"N",\u0160:"S",\u016a:"U",\u017d:"Z"},{\u0623:"a",\u0628:"b",\u062a:"t",\u062b:"th",\u062c:"g",\u062d:"h",\u062e:"kh",\u062f:"d",\u0630:"th",\u0631:"r",\u0632:"z",\u0633:"s",\u0634:"sh",\u0635:"s",\u0636:"d",\u0637:"t",\u0638:"th",\u0639:"aa",\u063a:"gh",\u0641:"f",\u0642:"k",\u0643:"k",\u0644:"l",\u0645:"m",\u0646:"n",\u0647:"h",\u0648:"o",\u064a:"y"},{\u0105:"a",\u010d:"c",\u0119:"e",\u0117:"e",\u012f:"i",\u0161:"s",\u0173:"u",\u016b:"u",\u017e:"z",\u0104:"A",\u010c:"C",\u0118:"E",\u0116:"E",\u012e:"I",\u0160:"S",\u0172:"U",\u016a:"U",\u017d:"Z"},{\u0452:"dj",\u0458:"j",\u0459:"lj",\u045a:"nj",\u045b:"c",\u045f:"dz",\u0111:"dj",\u0402:"Dj",\u0408:"j",\u0409:"Lj",\u040a:"Nj",\u040b:"C",\u040f:"Dz",\u0110:"Dj"},{\u00e7:"c",\u0259:"e",\u011f:"g",\u0131:"i",\u00f6:"o",\u015f:"s",\u00fc:"u",\u00c7:"C",\u018f:"E",\u011e:"G",\u0130:"I",\u00d6:"O",\u015e:"S",\u00dc:"U"},{\u10d0:"a",\u10d1:"b",\u10d2:"g",\u10d3:"d",\u10d4:"e",\u10d5:"v",\u10d6:"z",\u10d7:"t",\u10d8:"i",\u10d9:"k",\u10da:"l",\u10db:"m",\u10dc:"n",\u10dd:"o",\u10de:"p",\u10df:"j",\u10e0:"r",\u10e1:"s",\u10e2:"t",\u10e3:"u",\u10e4:"f",\u10e5:"q",\u10e6:"g",\u10e7:"y",\u10e8:"sh",\u10e9:"ch",\u10ea:"c",\u10eb:"dz",\u10ec:"w",\u10ed:"ch",\u10ee:"x",\u10ef:"j",\u10f0:"h"}];class rn{static init(){if(rn.map)return rn;rn.map={},rn.chars=[];for(const Ce of wt)for(const Re in Ce)Ce.hasOwnProperty(Re)&&(rn.map[Re]=Ce[Re]);for(const Ce in rn.map)rn.map.hasOwnProperty(Ce)&&rn.chars.push(Ce);return rn.regex=new RegExp(rn.chars.join("|"),"g"),rn}static downcode(Ce){return rn.init(),Ce.replace(rn.regex,Re=>rn.map[Re])}}class Ke{static rewrite(Ce,Re=150){Ce=rn.downcode(Ce);const Ve=new RegExp("\\b("+["a","an","as","at","before","but","by","for","from","is","in","into","like","of","off","on","onto","per","since","than","the","this","that","to","up","via","with"].join("|")+")\\b","gi");return(Ce=(Ce=(Ce=(Ce=(Ce=Ce.replace(Ve,"")).replace(/[^-\w\s]/g,"")).replace(/^\s+|\s+$/g,"")).replace(/[-\s]+/g,"-")).toLowerCase()).substring(0,Re)}}function pn(ve,Ce){return!!ve&&(!Ce||!Ce.imageUrl&&ve.enabled||Ce.isGradient)}function Rt(ve,Ce=1){const Re=ve.colors.map(ot=>_(ot.trim(),Ce)).join(", ");return`linear-gradient(to ${ve.cssDirection}, ${Re})`}function Xe(ve,Ce,Re,ot){if(Ce<1||Ce>ve.length+1||Re<0)return[...ve];let Ve=[];if(!Re)return Ve=[...ve],Ve.splice(Ce-1,0,ot),Ve;let Oe=0;for(let Ze=1;Ze<ve.length+1;Ze++)Ze>=Ce&&0==(Ze+Oe-Ce+Re)%Re&&(Oe++,Ve.push(ot)),Ve.push(ve[Ze-1]);return Ve}},20642:(_e,R,r)=>{"use strict";r.d(R,{g:()=>s});var n=r(77533);let s=(()=>{var c;class h{constructor(){this.circleSize=60,this.iconSize=26,this.iconUrl="play"}}return(c=h).\u0275fac=function(_){return new(_||c)},c.\u0275cmp=n.Xpm({type:c,selectors:[["gb-video-play"]],inputs:{circleSize:"circleSize",iconSize:"iconSize",iconUrl:"iconUrl"},decls:2,vars:6,consts:[["gbIcon","",3,"iconUrl","size"]],template:function(_,m){1&_&&(n.TgZ(0,"div"),n._UZ(1,"span",0),n.qZA()),2&_&&(n.Udp("height",m.circleSize,"px")("width",m.circleSize,"px"),n.xp6(1),n.Q6J("iconUrl",m.iconUrl)("size",m.iconSize))},styles:["div[_ngcontent-%COMP%]{border-radius:50%;text-align:center;display:flex;flex-direction:column;justify-content:center;line-height:1;border:2px solid white;color:#fff}"]}),h})()},84478:(_e,R,r)=>{"use strict";r.d(R,{t:()=>v}),r(38205);var s=r(77533),c=r(14565);function h(_,m){if(1&_&&(s.TgZ(0,"div",1)(1,"span"),s._uU(2),s.qZA()()),2&_){const b=s.oxw();s.ekj("bottom-right",b.stickToEdge),s.xp6(2),s.Oqu(b.video.shortDuration)}}let v=(()=>{var _;class m{constructor(){this.stickToEdge=!0}}return(_=m).\u0275fac=function(p){return new(p||_)},_.\u0275cmp=s.Xpm({type:_,selectors:[["gb-video-time"]],inputs:{video:"video",stickToEdge:"stickToEdge"},decls:1,vars:1,consts:[["video-duration","",3,"bottom-right",4,"ngIf"],["video-duration",""]],template:function(p,D){1&p&&s.YNc(0,h,3,3,"div",0),2&p&&s.Q6J("ngIf",null==D.video?null:D.video.length)},dependencies:[c.NgIf],styles:["[_nghost-%COMP%]{display:block;position:relative}[video-duration][_ngcontent-%COMP%]{font-size:14px;display:inline-block;padding:2px 6px;background-color:#00000080!important;color:#fff;border-radius:2px}[video-duration].bottom-right[_ngcontent-%COMP%]{position:absolute;right:10px;bottom:10px;z-index:5}[dir=rtl][_nghost-%COMP%]   [video-duration].bottom-right[_ngcontent-%COMP%], [dir=rtl]   [_nghost-%COMP%]   [video-duration].bottom-right[_ngcontent-%COMP%]{left:10px;right:unset}"]}),m})()},90386:(_e,R,r)=>{"use strict";r.d(R,{y:()=>n,r:()=>s});var n={};r.r(n),r.d(n,{getSound:()=>h,loadAggregatorRestrictedSound:()=>u,loadAggregatorRestrictedSoundDidFail:()=>T,loadAggregatorRestrictedSoundDidSuccess:()=>E,loadRestrictedSound:()=>b,loadRestrictedSoundDidFail:()=>D,loadRestrictedSoundDidSuccess:()=>p,loadSound:()=>v,loadSoundDidFail:()=>m,loadSoundDidSuccess:()=>_,loadSoundFromCache:()=>B,previewUpdateSound:()=>a,toggleSoundInBookmark:()=>M});var s={};r.r(s),r.d(s,{getSounds:()=>N,loadMoreSounds:()=>I,loadMoreSoundsDidFail:()=>P,loadMoreSoundsDidSuccess:()=>F,loadRestrictedSounds:()=>U,loadRestrictedSoundsDidFail:()=>k,loadRestrictedSoundsDidSuccess:()=>O,loadSounds:()=>W,loadSoundsDidFail:()=>X,loadSoundsDidSuccess:()=>A,previewRefreshSounds:()=>H,previewRefreshSoundsDidFail:()=>J,previewRefreshSoundsDidSuccess:()=>$});var c=r(31907);const h=(0,c.PH)("[SOUND DETAIL] Get Sound"),v=(0,c.PH)("[SOUND DETAIL] Load Sound",(0,c.Ky)()),_=(0,c.PH)("[CONTENT API] Load Sound Did Success",(0,c.Ky)()),m=(0,c.PH)("[CONTENT API] Load Sound Did Fail",(0,c.Ky)()),b=(0,c.PH)("[SOUND DETAIL] Load Restricted Sound",(0,c.Ky)()),p=(0,c.PH)("[CONTENT API] Load Restricted Sound Did Success",(0,c.Ky)()),D=(0,c.PH)("[CONTENT API] Load Restricted Sound Did Fail",(0,c.Ky)()),a=(0,c.PH)("[SOUND DETAIL PREVIEW] Update Sound",(0,c.Ky)()),u=(0,c.PH)("[SOUND DETAIL] Load Aggregator Restricted Sound",(0,c.Ky)()),E=(0,c.PH)("[CONTENT API] Load Aggregator Restricted Sound Did Success",(0,c.Ky)()),T=(0,c.PH)("[CONTENT API] Load Aggregator Restricted Sound Did Fail",(0,c.Ky)()),M=(0,c.PH)("[SOUND DETAIL] Toggle Sound In Bookmark",(0,c.Ky)()),B=(0,c.PH)("[SOUND DETAIL] Load Sound From Cache"),N=(0,c.PH)("[SOUND LIST] Get Sounds"),W=(0,c.PH)("[SOUND LIST] Load Sounds",(0,c.Ky)()),A=(0,c.PH)("[CONTENT API] Load Sounds Did Success",(0,c.Ky)()),X=(0,c.PH)("[CONTENT API] Load Sounds Did Fail",(0,c.Ky)()),U=(0,c.PH)("[SOUND LIST] Load Restricted Sounds",(0,c.Ky)()),O=(0,c.PH)("[CONTENT API] Load Restricted Sounds Did Success",(0,c.Ky)()),k=(0,c.PH)("[CONTENT API] Load Restricted Sounds Did Fail",(0,c.Ky)()),I=(0,c.PH)("[SOUND LIST] Load More Sounds"),F=(0,c.PH)("[CONTENT API] Load More Sounds Did Success",(0,c.Ky)()),P=(0,c.PH)("[CONTENT API] Load More Sounds Did Fail",(0,c.Ky)()),H=(0,c.PH)("[SOUND LIST PREVIEW] Refresh Sounds"),$=(0,c.PH)("[SOUND LIST PREVIEW] Refresh Sounds Did Success",(0,c.Ky)()),J=(0,c.PH)("[SOUND LIST PREVIEW] Refresh Sounds Did Fail",(0,c.Ky)())},17380:(_e,R,r)=>{"use strict";r.d(R,{I:()=>n,X:()=>s});var n={};r.r(n),r.d(n,{getVideo:()=>h,loadAggregatorRestrictedVideo:()=>u,loadAggregatorRestrictedVideoDidFail:()=>T,loadAggregatorRestrictedVideoDidSuccess:()=>E,loadRestrictedVideo:()=>p,loadRestrictedVideoDidFail:()=>a,loadRestrictedVideoDidSuccess:()=>D,loadVideo:()=>v,loadVideoDidFail:()=>m,loadVideoDidSuccess:()=>_,loadVideoFromCache:()=>B,previewUpdateVideo:()=>b,toggleVideoInBookmark:()=>M});var s={};r.r(s),r.d(s,{getVideos:()=>N,loadMoreVideos:()=>I,loadMoreVideosDidFail:()=>P,loadMoreVideosDidSuccess:()=>F,loadRestrictedVideos:()=>U,loadRestrictedVideosDidFail:()=>k,loadRestrictedVideosDidSuccess:()=>O,loadVideos:()=>W,loadVideosDidFail:()=>X,loadVideosDidSuccess:()=>A,previewRefreshVideos:()=>H,previewRefreshVideosDidFail:()=>J,previewRefreshVideosDidSuccess:()=>$});var c=r(31907);const h=(0,c.PH)("[VIDEO DETAIL] Get Video"),v=(0,c.PH)("[VIDEO DETAIL] Load Video",(0,c.Ky)()),_=(0,c.PH)("[CONTENT API] Load Video Did Success",(0,c.Ky)()),m=(0,c.PH)("[CONTENT API] Load Video Did Fail",(0,c.Ky)()),b=(0,c.PH)("[VIDEO DETAIL PREVIEW] Update Video",(0,c.Ky)()),p=(0,c.PH)("[VIDEO DETAIL] Load Restricted Video",(0,c.Ky)()),D=(0,c.PH)("[CONTENT API] Load Restricted Video Did Success",(0,c.Ky)()),a=(0,c.PH)("[CONTENT API] Load Restricted Video Did Fail",(0,c.Ky)()),u=(0,c.PH)("[VIDEO DETAIL] Load Aggregator Restricted Video",(0,c.Ky)()),E=(0,c.PH)("[CONTENT API] Load Aggregator Restricted Video Did Success",(0,c.Ky)()),T=(0,c.PH)("[CONTENT API] Load Aggregator Restricted Video Did Fail",(0,c.Ky)()),M=(0,c.PH)("[VIDEO DETAIL] Toggle Video In Bookmark",(0,c.Ky)()),B=(0,c.PH)("[VIDEO DETAIL] Load Video From Cache"),N=(0,c.PH)("[VIDEO LIST] Get Videos"),W=(0,c.PH)("[VIDEO LIST] Load Videos",(0,c.Ky)()),A=(0,c.PH)("[CONTENT API] Load Videos Did Success",(0,c.Ky)()),X=(0,c.PH)("[CONTENT API] Load Videos Did Fail",(0,c.Ky)()),U=(0,c.PH)("[VIDEO LIST] Load Restricted Videos",(0,c.Ky)()),O=(0,c.PH)("[CONTENT API] Load Restricted Videos Did Success",(0,c.Ky)()),k=(0,c.PH)("[CONTENT API] Load Restricted Videos Did Fail",(0,c.Ky)()),I=(0,c.PH)("[VIDEO LIST] Load More Videos"),F=(0,c.PH)("[CONTENT API] Load More Videos Did Success",(0,c.Ky)()),P=(0,c.PH)("[CONTENT API] Load More Videos Did Fail",(0,c.Ky)()),H=(0,c.PH)("[VIDEO LIST PREVIEW] Refresh Videos"),$=(0,c.PH)("[VIDEO LIST PREVIEW] Refresh Videos Did Success",(0,c.Ky)()),J=(0,c.PH)("[VIDEO LIST PREVIEW] Refresh Videos Did Fail",(0,c.Ky)())},40990:(_e,R,r)=>{"use strict";r.d(R,{h:()=>_});var n=r(50996),s=r(20860),c=r(57495),h=r(58516),v=r(77533);let _=(()=>{var m;class b{constructor(D,a,u,E,T){this.appLaunchStatus=D,this.overlay=a,this.settingsManager=u,this.scrollService=E,this.platform=T}loadWalkthroughIfNeeded(){return"initial"===this.appLaunchStatus&&this.settingsManager.shouldLoadWalkthrough()&&this.platform.isMobileSize()&&this.platform.isBrowser&&!this.platform.isStandaloneMode&&!this.platform.isPreviewApp?this.loadWalkthrough():Promise.resolve()}loadWalkthrough(){return this.ref&&this.ref.hasAttached()&&this.instance?Promise.resolve(this.instance):Promise.all([r.e(8258),r.e(4728)]).then(r.bind(r,24728)).then(D=>{const a=new n.X_;a.hasBackdrop=!0,a.backdropClass="gb-overlay-walkthrough-backdrop",a.positionStrategy=this.overlay.position().global().top("0").left("0").right("0").bottom("0"),a.height="100%",a.width="100%",a.scrollStrategy=this.overlay.scrollStrategies.block(),a.panelClass="gb-overlay-walkthrough",this.ref=this.overlay.create(a),this.scrollService.blockScroll();const u=new s.C5(D.WalkthroughComponent),E=this.ref.attach(u);return E.instance.closedOverlayContainer$.pipe((0,c.P)()).subscribe(()=>this.removeOverlayRef()),this.instance=E.instance,this.instance})}removeOverlayRef(){this.ref&&this.ref.hasAttached()&&(this.ref.detach(),this.instance=null),this.scrollService.unblockScroll()}}return(m=b).\u0275fac=function(D){return new(D||m)(v.LFG(h.LDJ),v.LFG(n.aV),v.LFG(h.pzk),v.LFG(h.al2),v.LFG(h.mix))},m.\u0275prov=v.Yz7({token:m,factory:m.\u0275fac,providedIn:"root"}),b})()},68021:(_e,R,r)=>{"use strict";var n=r(45781),s=r(77533),c=r(24257),h=r(14565);class _{constructor(Ae,Qe,oe,Ne,pt){this.doc=Ae,this.delegate=Qe,this.zone=oe,this.animationType=Ne,this.moduleImpl=pt,this._rendererFactoryPromise=null}loadImpl(){return(this.moduleImpl??r.e(9936).then(r.bind(r,49936))).catch(Qe=>{throw new s.vHH(5300,!1)}).then(({\u0275createEngine:Qe,\u0275AnimationRendererFactory:oe})=>{const Ne=Qe(this.animationType,this.doc),pt=new oe(this.delegate,Ne,this.zone);return this.delegate=pt,pt})}createRenderer(Ae,Qe){const oe=this.delegate.createRenderer(Ae,Qe);if(0===oe.\u0275type)return oe;"boolean"==typeof oe.throwOnSyntheticProps&&(oe.throwOnSyntheticProps=!1);const Ne=new m(oe);return Qe?.data?.animation&&!this._rendererFactoryPromise&&(this._rendererFactoryPromise=this.loadImpl()),this._rendererFactoryPromise?.then(pt=>{const Tt=pt.createRenderer(Ae,Qe);Ne.use(Tt)}).catch(pt=>{Ne.use(oe)}),Ne}begin(){this.delegate.begin?.()}end(){this.delegate.end?.()}whenRenderingDone(){return this.delegate.whenRenderingDone?.()??Promise.resolve()}}class m{constructor(Ae){this.delegate=Ae,this.replay=[],this.\u0275type=1}use(Ae){if(this.delegate=Ae,null!==this.replay){for(const Qe of this.replay)Qe(Ae);this.replay=null}}get data(){return this.delegate.data}destroy(){this.replay=null,this.delegate.destroy()}createElement(Ae,Qe){return this.delegate.createElement(Ae,Qe)}createComment(Ae){return this.delegate.createComment(Ae)}createText(Ae){return this.delegate.createText(Ae)}get destroyNode(){return this.delegate.destroyNode}appendChild(Ae,Qe){this.delegate.appendChild(Ae,Qe)}insertBefore(Ae,Qe,oe,Ne){this.delegate.insertBefore(Ae,Qe,oe,Ne)}removeChild(Ae,Qe,oe){this.delegate.removeChild(Ae,Qe,oe)}selectRootElement(Ae,Qe){return this.delegate.selectRootElement(Ae,Qe)}parentNode(Ae){return this.delegate.parentNode(Ae)}nextSibling(Ae){return this.delegate.nextSibling(Ae)}setAttribute(Ae,Qe,oe,Ne){this.delegate.setAttribute(Ae,Qe,oe,Ne)}removeAttribute(Ae,Qe,oe){this.delegate.removeAttribute(Ae,Qe,oe)}addClass(Ae,Qe){this.delegate.addClass(Ae,Qe)}removeClass(Ae,Qe){this.delegate.removeClass(Ae,Qe)}setStyle(Ae,Qe,oe,Ne){this.delegate.setStyle(Ae,Qe,oe,Ne)}removeStyle(Ae,Qe,oe){this.delegate.removeStyle(Ae,Qe,oe)}setProperty(Ae,Qe,oe){this.shouldReplay(Qe)&&this.replay.push(Ne=>Ne.setProperty(Ae,Qe,oe)),this.delegate.setProperty(Ae,Qe,oe)}setValue(Ae,Qe){this.delegate.setValue(Ae,Qe)}listen(Ae,Qe,oe){return this.shouldReplay(Qe)&&this.replay.push(Ne=>Ne.listen(Ae,Qe,oe)),this.delegate.listen(Ae,Qe,oe)}shouldReplay(Ae){return null!==this.replay&&Ae.startsWith("@")}}function b(he="animations"){return(0,s.MR2)([{provide:s.FYo,useFactory:(Ae,Qe,oe)=>new _(Ae,Qe,oe,he),deps:[h.DOCUMENT,n.se,s.R0b]},{provide:s.QbO,useValue:"noop"===he?"NoopAnimations":"BrowserAnimations"}])}var p=r(55096),D=r(47265),a=r(97582),u=r(31907),E=r(4807),T=r(72514),M=r(36305),B=r(69947),N=r(58516),W=r(43879),A=r(54743),X=r(32971);const U=new Map;U.set("GBModuleTypeAbout",()=>Promise.all([r.e(5347),r.e(2628),r.e(8258),r.e(17),r.e(3565),r.e(4527),r.e(6050)]).then(r.bind(r,16050)).then(he=>he.AboutModule)),U.set("GBModuleTypeArticle",()=>Promise.all([r.e(5347),r.e(2628),r.e(8258),r.e(17),r.e(3565),r.e(4527),r.e(8411),r.e(4334),r.e(5997),r.e(5759),r.e(4908),r.e(8592),r.e(9855)]).then(r.bind(r,89855)).then(he=>he.ArticleModule)),U.set("GBModuleTypeBookmark",()=>Promise.all([r.e(5347),r.e(2628),r.e(4769)]).then(r.bind(r,54769)).then(he=>he.BookmarkSectionModule)),U.set("GBModuleTypeContact",()=>Promise.all([r.e(5347),r.e(2628),r.e(5770)]).then(r.bind(r,95770))),U.set("GBModuleTypeChat",()=>Promise.all([r.e(5347),r.e(2628),r.e(8954),r.e(878),r.e(2241),r.e(5254)]).then(r.bind(r,95254)).then(he=>he.ChatModule)),U.set("GBModuleTypeClickto",()=>Promise.all([r.e(5347),r.e(2628),r.e(8551)]).then(r.bind(r,98551))),U.set("GBModuleTypeCustom",()=>Promise.all([r.e(5347),r.e(2628),r.e(17),r.e(5975)]).then(r.bind(r,85975)).then(he=>he.CustomModule)),U.set("GBModuleTypeShop",()=>Promise.all([r.e(5347),r.e(2628),r.e(17),r.e(5975)]).then(r.bind(r,85975)).then(he=>he.CustomModule)),U.set("GBModuleTypeCouponing",()=>Promise.all([r.e(5347),r.e(2628),r.e(17),r.e(8411),r.e(984),r.e(5636),r.e(8592),r.e(4698)]).then(r.bind(r,14698)).then(he=>he.CouponingModule)),U.set("GBModuleTypeAgenda",()=>Promise.all([r.e(5347),r.e(2628),r.e(8258),r.e(17),r.e(3565),r.e(4527),r.e(8411),r.e(8900),r.e(4334),r.e(4908),r.e(8592),r.e(9643)]).then(r.bind(r,29643)).then(he=>he.EventModule)),U.set("GBModuleTypeForm",()=>Promise.all([r.e(5347),r.e(2628),r.e(8258),r.e(17),r.e(3565),r.e(4527),r.e(5635),r.e(2192),r.e(8954),r.e(8900),r.e(8288),r.e(6002),r.e(8592),r.e(5027)]).then(r.bind(r,9171)).then(he=>he.FormModule)),U.set("GBModuleTypeHome",()=>Promise.all([r.e(5347),r.e(2628),r.e(8258),r.e(17),r.e(5635),r.e(2192),r.e(8954),r.e(8411),r.e(8420),r.e(7881),r.e(5266),r.e(5616),r.e(8486),r.e(5819),r.e(4207),r.e(1572),r.e(8592),r.e(1481)]).then(r.bind(r,91481))),U.set("GBModuleTypeLoyalty",()=>Promise.all([r.e(5347),r.e(2628),r.e(8258),r.e(984),r.e(7385),r.e(611),r.e(9077),r.e(5759),r.e(8592),r.e(5944)]).then(r.bind(r,95944)).then(he=>he.LoyaltyModule)),U.set("GBModuleTypeLive",()=>Promise.all([r.e(5347),r.e(2628),r.e(8258),r.e(17),r.e(3565),r.e(4527),r.e(5266),r.e(2674)]).then(r.bind(r,77616))),U.set("GBModuleTypeMaps",()=>Promise.all([r.e(5347),r.e(2628),r.e(8258),r.e(17),r.e(3565),r.e(4527),r.e(8411),r.e(8900),r.e(4334),r.e(8592),r.e(117)]).then(r.bind(r,40117)).then(he=>he.MapModule)),U.set("GBModuleTypeNode",()=>Promise.all([r.e(5347),r.e(2628),r.e(8258),r.e(17),r.e(785)]).then(r.bind(r,80785)).then(he=>he.NodeModule)),U.set("GBModuleTypePhoto",()=>Promise.all([r.e(5347),r.e(2628),r.e(8411),r.e(9955)]).then(r.bind(r,19955)).then(he=>he.PhotoModule)),U.set("GBModuleTypePlugin",()=>Promise.all([r.e(5347),r.e(2628),r.e(17),r.e(5811)]).then(r.bind(r,45811)).then(he=>he.PluginModule)),U.set("GBModuleTypeProfile",()=>Promise.all([r.e(5347),r.e(2628),r.e(5635),r.e(2192),r.e(8954),r.e(984),r.e(8288),r.e(7385),r.e(611),r.e(9689),r.e(9077),r.e(6002),r.e(5760),r.e(8592),r.e(5859)]).then(r.bind(r,25859)).then(he=>he.ProfileModule)),U.set("GBModuleTypeQrcode",()=>Promise.all([r.e(5347),r.e(2628),r.e(7385),r.e(8592),r.e(1786)]).then(r.bind(r,41786)).then(he=>he.QRCodeModule)),U.set("GBModuleTypeSearch",()=>Promise.all([r.e(5347),r.e(2628),r.e(8900),r.e(5266),r.e(611),r.e(5819),r.e(8592),r.e(177)]).then(r.bind(r,44235)).then(he=>he.SearchModule)),U.set("GBModuleTypeSettings",()=>Promise.all([r.e(5347),r.e(2628),r.e(984),r.e(7385),r.e(9077),r.e(5636),r.e(2241),r.e(8592),r.e(597)]).then(r.bind(r,80597)).then(he=>he.SettingsModule)),U.set("GBModuleTypeSound",()=>Promise.all([r.e(5347),r.e(2628),r.e(8258),r.e(17),r.e(3565),r.e(4527),r.e(8411),r.e(4334),r.e(5266),r.e(5997),r.e(1572),r.e(8592),r.e(4426)]).then(r.bind(r,26285)).then(he=>he.SoundModule)),U.set("GBModuleTypeTwitter",()=>Promise.all([r.e(5347),r.e(2628),r.e(8258),r.e(3565),r.e(2396)]).then(r.bind(r,32396)).then(he=>he.TwitterModule)),U.set("GBModuleTypeUserslist",()=>Promise.all([r.e(5347),r.e(2628),r.e(5635),r.e(8420),r.e(8900),r.e(984),r.e(611),r.e(5760),r.e(8592),r.e(6489)]).then(r.bind(r,46489)).then(he=>he.UsersModule)),U.set("GBModuleTypeVideo",()=>Promise.all([r.e(5347),r.e(2628),r.e(8258),r.e(17),r.e(3565),r.e(4527),r.e(8411),r.e(4334),r.e(5997),r.e(5759),r.e(8592),r.e(1692)]).then(r.bind(r,51692)).then(he=>he.VideoModule)),U.set("GBModuleTypeSubmit",()=>Promise.all([r.e(5347),r.e(2628),r.e(8954),r.e(8592),r.e(7831)]).then(r.bind(r,97831)).then(he=>he.SubmitModule)),U.set("GBModuleTypeCommerce",()=>Promise.all([r.e(5347),r.e(2628),r.e(5635),r.e(2192),r.e(8420),r.e(7881),r.e(5616),r.e(8592),r.e(7237)]).then(r.bind(r,37237)).then(he=>he.CatalogSectionModule)),U.set("GBModuleTypeCommercebag",()=>Promise.all([r.e(5347),r.e(2628),r.e(5635),r.e(2192),r.e(8420),r.e(7881),r.e(8903),r.e(8592),r.e(1536)]).then(r.bind(r,61536)).then(he=>he.BagModule)),U.set("GBModuleTypeCommerceprofile",()=>Promise.all([r.e(5347),r.e(2628),r.e(5635),r.e(2192),r.e(8420),r.e(7881),r.e(8288),r.e(9689),r.e(878),r.e(8903),r.e(910),r.e(8592),r.e(2584)]).then(r.bind(r,2584)).then(he=>he.CommerceProfileModule)),U.set("GBModuleTypeCommercetos",()=>Promise.all([r.e(5347),r.e(2628),r.e(8258),r.e(17),r.e(3565),r.e(4527),r.e(1526),r.e(9171)]).then(r.bind(r,39171))),U.set("GBModuleTypeCommercesearch",()=>Promise.all([r.e(5347),r.e(2628),r.e(5635),r.e(2192),r.e(8420),r.e(7881),r.e(5616),r.e(8592),r.e(1259)]).then(r.bind(r,1259)).then(he=>he.CommerceSearchModule)),U.set("GBModuleTypeCommercecollectionslist",()=>Promise.all([r.e(5347),r.e(2628),r.e(4894)]).then(r.bind(r,34894)).then(he=>he.CommerceCollectionModule)),U.set("GBModuleTypeProfileadvanced",()=>Promise.all([r.e(5347),r.e(2628),r.e(8954),r.e(9689),r.e(8592),r.e(6674)]).then(r.bind(r,76238)).then(he=>he.ProfileAdvancedModule)),U.set("GBModuleTypeTos",()=>Promise.all([r.e(5347),r.e(2628),r.e(8258),r.e(17),r.e(3565),r.e(4527),r.e(4446),r.e(7710)]).then(r.bind(r,67710)));const O=new Set;O.add("GBModuleTypeAbout"),O.add("GBModuleTypeArticle"),O.add("GBModuleTypeBookmark"),O.add("GBModuleTypeChat"),O.add("GBModuleTypeClickto"),O.add("GBModuleTypeContact"),O.add("GBModuleTypeCouponing"),O.add("GBModuleTypeCustom"),O.add("GBModuleTypeAgenda"),O.add("GBModuleTypeForm"),O.add("GBModuleTypeHome"),O.add("GBModuleTypeLoyalty"),O.add("GBModuleTypeLive"),O.add("GBModuleTypeMaps"),O.add("GBModuleTypeNode"),O.add("GBModuleTypePhoto"),O.add("GBModuleTypePlugin"),O.add("GBModuleTypeProfile"),O.add("GBModuleTypeQrcode"),O.add("GBModuleTypeSearch"),O.add("GBModuleTypeSettings"),O.add("GBModuleTypeShop"),O.add("GBModuleTypeSound"),O.add("GBModuleTypeSubmit"),O.add("GBModuleTypeTwitter"),O.add("GBModuleTypeVideo"),O.add("GBModuleTypeUserslist"),O.add("GBModuleTypeCommerce"),O.add("GBModuleTypeCommercebag"),O.add("GBModuleTypeCommerceprofile"),O.add("GBModuleTypeCommercetos"),O.add("GBModuleTypeCommercesearch"),O.add("GBModuleTypeCommercecollectionslist"),O.add("GBModuleTypeProfileadvanced"),O.add("GBModuleTypeTos");let k=(()=>{var he;class Ae{get config(){return this._config.length||this.buildRoutes(),this._config}get slugWhitelist(){return this.slugs.length||(this.slugs=this.config.map(oe=>oe.path)),this.slugs}constructor(oe,Ne,pt){this.settingsManager=oe,this.appType=Ne,this.linksBuilder=pt,this._config=new Array,this.slugs=new Array,this.isAmpApp="amp"===this.appType}buildFirstSectionRoute(oe){const Ne=this.settingsManager.getSectionsRewritedUrl(oe),pt=this.buildSectionRoute(oe);this._config.unshift(pt);const Tt=this.buildSectionRoute(oe);Tt.path="",Tt.pathMatch="full",Tt.children&&Tt.children.length>1&&Tt.children.splice(1),(0,X.Y)(this.settingsManager.getSectionsType(oe))?(Tt.pathMatch="full",Tt.loadChildren=null,Tt.redirectTo=Ne):this._config.unshift({path:Ne,pathMatch:"full",redirectTo:"/"}),this._config.unshift(Tt)}buildSectionRoute(oe){const Ne=this.settingsManager.getSectionsType(oe),pt=this.getRouteData(oe),Tt=this.settingsManager.getSectionsRewritedUrl(oe);if(!U.has(Ne))return null;let $t;return O.has(Ne)&&($t={path:Tt,data:pt,canActivateChild:[W.V_,W.a1],canLoad:[W.o$],loadChildren:U.get(Ne),resolve:{timezone:A.L0}}),$t}appendRoute(oe){const Ne=this.buildSectionRoute(oe);Ne&&this.config.splice(Math.max(0,this.config.length-2),0,Ne)}buildRoutes(){this._config=new Array,this.firstSectionId=this.settingsManager.getRootFirstSectionSectionId(),this.settingsManager.isLoginV3()?(this._config.push({path:"login",loadChildren:()=>Promise.all([r.e(5347),r.e(2628),r.e(8954),r.e(8592),r.e(381)]).then(r.bind(r,86285)).then(Ne=>Ne.LoginV3Module),canLoad:[W.t$]}),this._config.push({path:"subscribe",loadChildren:()=>Promise.all([r.e(5347),r.e(2628),r.e(6692)]).then(r.bind(r,16692)).then(Ne=>Ne.IAPSubscriptionModule)})):(this._config.push({path:"login",loadChildren:()=>Promise.all([r.e(5347),r.e(2628),r.e(5635),r.e(2192),r.e(8954),r.e(8288),r.e(6002),r.e(5760),r.e(8592),r.e(3269)]).then(r.bind(r,3269)).then(Ne=>Ne.LoginModule),canLoad:[W.t$],resolve:{timezone:A.L0}}),this._config.push({path:"signinwithapple/redirect",loadChildren:()=>Promise.all([r.e(5347),r.e(2628),r.e(5635),r.e(2192),r.e(8954),r.e(8288),r.e(6002),r.e(5760),r.e(8592),r.e(3269)]).then(r.bind(r,3269)).then(Ne=>Ne.LoginModule),canLoad:[W.t$],resolve:{timezone:A.L0}})),this._config.push({path:"notfound",loadChildren:()=>Promise.all([r.e(5347),r.e(2628),r.e(9108)]).then(r.bind(r,99108)).then(Ne=>Ne.NotfoundModule)}),this.settingsManager.getCommerceBagSectionId()&&(this.config.push({path:"payment_callback",pathMatch:"full",redirectTo:this.linksBuilder.getCommerceCheckoutPaymentLoadingRelative()}),this.config.push({path:"products",loadChildren:()=>Promise.all([r.e(5347),r.e(2628),r.e(8258),r.e(17),r.e(3565),r.e(4527),r.e(5635),r.e(2192),r.e(8420),r.e(7881),r.e(8592),r.e(3588)]).then(r.bind(r,33588)).then(Ne=>Ne.CommerceProductModule),canActivateChild:[W.V_],data:{designCommonType:"GBCommerceProductDetail"},resolve:{timezone:A.L0}}));const oe=this.settingsManager.getSections();if(oe)for(const Ne in oe)if(Ne===this.firstSectionId)this.buildFirstSectionRoute(Ne);else{const pt=this.buildSectionRoute(Ne);pt&&this._config.push(pt)}this._config.push({path:"app-shell",loadChildren:()=>Promise.all([r.e(5347),r.e(2628),r.e(6424)]).then(r.bind(r,36424)).then(Ne=>Ne.AppShellModule)}),this.settingsManager.isLoginV3()&&("preview"===this.appType||"portal"===this.appType)&&this._config.push({path:"iap-preview-nocontent",loadChildren:()=>Promise.all([r.e(5347),r.e(2628),r.e(8592),r.e(6734)]).then(r.bind(r,6734)).then(Ne=>Ne.PreviewNocontentModule)}),this._config.push({path:"index.html",redirectTo:""}),this._config.push({path:"**",redirectTo:"notfound"})}getRouteData(oe,Ne){const pt=this.buildRouteData("section",oe);return Object.assign(pt,Ne)}buildRouteData(oe,Ne){const pt={};return pt[oe]=Ne,pt}}return(he=Ae).\u0275fac=function(oe){return new(oe||he)(s.LFG(N.pzk),s.LFG(N.IFQ),s.LFG(N.Buc))},he.\u0275prov=s.Yz7({token:he,factory:he.\u0275fac,providedIn:"root"}),Ae})();var P,I=r(24681),F=r(17619);const H=["miniPlayerHost"];function $(he,Ae){if(1&he&&(s.ynx(0),s._UZ(1,"gb-background-image-switcher",2)(2,"gb-root"),s.BQk()),2&he){const Qe=s.oxw();s.xp6(1),s.Q6J("mobile",Qe.useGradient||null==Qe.effectBackgroundImage?null:Qe.effectBackgroundImage.imageUrl)("landscape",Qe.useGradient||null==Qe.backgroundImageLandscape?null:Qe.backgroundImageLandscape.imageUrl)("portrait",Qe.useGradient||null==Qe.backgroundImagePortrait?null:Qe.backgroundImagePortrait.imageUrl)("gbGradient",Qe.useGradient?Qe.backgroundColorGradient:null)}}function J(he,Ae){1&he&&s._UZ(0,"gb-gone-fishing")}class V{get platformBackgroundImage(){return this.platform.isMobileSize()?this.effectBackgroundImage:this.platform.isPortrait?this.backgroundImagePortrait:this.backgroundImageLandscape}get useGradient(){return(0,N.HVp)(this.backgroundColorGradient,this.platformBackgroundImage)}constructor(Ae,Qe,oe,Ne,pt,Tt,$t,dn){this.settingsManager=Ae,this.platform=Qe,this.renderer=pt,this.doc=Tt,this.anim=$t,this.store=dn,this.setBackgroundAndMetas(),this.isAppActive=this.settingsManager.appActive,this.platform.routesService=oe,this.serviceWorkerUrl="/service-worker.js"}ngAfterViewInit(){this.platform.setMobileDeviceViewportUnit(),this.contextualMenuSubscription()}setBackgroundAndMetas(){this.backgroundColor=this.settingsManager.getGeneralBackgroundColor(),this.effectBackgroundImage=this.settingsManager.getGeneralEffectBackgroundImage(),this.backgroundImageLandscape=this.settingsManager.getGeneralBackgroundImageLandscape(),this.backgroundImagePortrait=this.settingsManager.getGeneralBackgroundImagePortrait(),this.backgroundColorGradient=this.settingsManager.getGeneralBackgroundColorGradient(),this.platform.platformChanged.subscribe(()=>this.anim.storeTransitionBackground({backgroundColor:this.backgroundColor,backgroundImage:this.useGradient?(0,N.t_A)(this.backgroundColorGradient):this.getPlatfomBackgroundImageUrl()})),this.renderer.setStyle(this.doc.body,"background-color",this.backgroundColor)}getPlatfomBackgroundImageUrl(){let Ae;return Ae=this.platform.isMobileSize()?this.effectBackgroundImage&&this.effectBackgroundImage.imageUrl:this.platform.isLandscape?this.backgroundImageLandscape&&this.backgroundImageLandscape.imageUrl:this.backgroundImagePortrait&&this.backgroundImagePortrait.imageUrl,Ae||""}contextualMenuSubscription(){(0,E.R)(this.doc,"contextmenu").pipe((0,T.M)(this.store.pipe((0,u.Ys)(I.YR))),(0,M.h)(([Ae,Qe])=>!0===this.settingsManager.getSectionsDisableContextualMenu(Qe))).subscribe(([Ae])=>Ae.preventDefault())}}(P=V).\u0275fac=function(Ae){return new(Ae||P)(s.Y36(N.pzk),s.Y36(N.mix),s.Y36(k),s.Y36(F.m8,8),s.Y36(s.Qsj),s.Y36(h.DOCUMENT),s.Y36(B.AW),s.Y36(u.yh))},P.\u0275cmp=s.Xpm({type:P,selectors:[["gb-app"]],viewQuery:function(Ae,Qe){if(1&Ae&&s.Gf(H,7,s.s_b),2&Ae){let oe;s.iGM(oe=s.CRH())&&(Qe.miniPlayerHost=oe.first)}},hostVars:2,hostBindings:function(Ae,Qe){2&Ae&&s.Udp("background-color",Qe.backgroundColor)},decls:3,vars:2,consts:[[4,"ngIf"],["id","gb-miniplayer-host"],[1,"fixed",3,"mobile","landscape","portrait","gbGradient"]],template:function(Ae,Qe){1&Ae&&(s.YNc(0,$,3,4,"ng-container",0),s._UZ(1,"div",1),s.YNc(2,J,1,0,"gb-gone-fishing",0)),2&Ae&&(s.Q6J("ngIf",Qe.isAppActive),s.xp6(2),s.Q6J("ngIf",!1===Qe.isAppActive))},encapsulation:2}),(0,a.gn)([(0,F.Jh)("gbsettings"),(0,a.w6)("design:type",Function),(0,a.w6)("design:paramtypes",[]),(0,a.w6)("design:returntype",void 0)],V.prototype,"setBackgroundAndMetas",null);var le=r(45208),ge=r(93634),te=r(27823),We=r(84126);const Te=[];var ee=r(60110),Q=r(28419),me=r(98819);const pe=(0,u.PH)("[APP] Init");var se=r(40990);let Me=(()=>{var he;class Ae{constructor(oe){this.injector=oe}initializeSettings(){const oe=this.injector.get(N.pzk),Ne=this.injector.get(N.h8o),pt=this.injector.get(k),Tt=this.injector.get(p.F0),$t=this.injector.get(N.mix),dn=this.injector.get(N.e80),Bn=this.injector.get(N.hmF),Nn=this.injector.get(u.yh),Nt=this.injector.get(N.IFQ);this.injector.get(D.ev);const Xt=this.injector.get(D.Cv),wn=this.injector.get(se.h);return"e2e"===Nt&&($t.windowRef.gbStore=Nn,$t.windowRef.__REDUX_DEVTOOLS_EXTENSION__=$t.windowRef.parent.__REDUX_DEVTOOLS_EXTENSION__,$t.windowRef.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__=$t.windowRef.parent.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__),Bn.getSettings().pipe((0,ee.b)(ce=>{oe.settings=ce.appSettings,oe.appActive=ce.appActive,oe.timestamp=ce.timestamp}),(0,Q.w)(()=>Bn.getLanguages().pipe((0,ee.b)(ce=>{if(Ne.languages=ce,Ne.currentLanguage=oe.getLang(),this.initializeEffects(),"customer"===Nt&&$t.isBrowser&&(0,c.dU)().production){const ie=!!oe.getCommerceBagSectionId(),Le=oe.getErrorReportingEnabled();(ie||Le)&&r.e(355).then(r.bind(r,80355)).then(q=>q.init({dsn:"https://0ebef4627e7645528222dfd310fe4d71@sentry.goodbarber.net/23",integrations:[new q.Integrations.TryCatch({XMLHttpRequest:!1})]}))}if(Tt.resetConfig(pt.config),$t.isBrowser){const ie=this.injector.get(D.mK,null);ie&&Array.isArray(ie)&&ie.forEach(Le=>Le.initialize())}if($t.isAmpApp){const ie=this.injector.get(D.vL);ie&&ie.load()}if($t.isAmpApp){const ie=this.injector.get(D.vL);ie&&ie.load()}this.injector.get(D.qp)})))).toPromise().then(()=>dn.setAuthenticationUser()).then(()=>this.preloadBag(oe)).then(()=>this.preloadWalkThrough(wn)).then(()=>Xt.setAppLocale(oe.getDateLocale())).then(()=>Nn.dispatch(pe()))}initializeEffects(){let oe=this.injector.get(me.Wt,null);const Ne=this.injector.get(te.Ll);oe&&(oe=[].concat(...oe),oe.forEach(pt=>Ne.addEffects(pt)))}preloadBag(oe){return oe.getCommerceBagSectionId()?Promise.all([r.e(5347),r.e(2628),r.e(5635),r.e(2192),r.e(8420),r.e(7881),r.e(8903),r.e(8592),r.e(1536)]).then(r.bind(r,61536)).then(pt=>(0,s.Lck)(pt.BagModule,this.injector)):Promise.resolve()}preloadWalkThrough(oe){return oe.loadWalkthroughIfNeeded()}}return(he=Ae).\u0275fac=function(oe){return new(oe||he)(s.LFG(s.zs3))},he.\u0275prov=s.Yz7({token:he,factory:he.\u0275fac}),Ae})();var ct=r(20567);let vt=(()=>{var he;class Ae{}return(he=Ae).\u0275fac=function(oe){return new(oe||he)},he.\u0275mod=s.oAB({type:he}),he.\u0275inj=s.cJS({providers:[{provide:N.HiW,useFactory:ct.e6}],imports:[u.Aw.forFeature("commerce",N.HiW)]}),Ae})();var Pt=r(26079),lt=r(54405),tt=r(12494),ut=r(54505),ne=r(28407);const y=he=>({id:39,created_at:"2021-02-10T12:52:16.591090Z",updated_at:"2021-03-29T09:23:14.861524Z",email:he.getString("GBCOMMERCE_PREVIEW_USER_EMAIL"),first_name:he.getString("GBCOMMERCE_PREVIEW_USER_FIRST_NAME"),last_name:he.getString("GBCOMMERCE_PREVIEW_USER_EMAIL"),custom:null,picture:null,social_user:{id:38,created_at:"2021-02-10T12:52:16.725310Z",updated_at:"2021-02-10T12:52:16.763857Z",display_name:null,location:null,custom_fields:[],social_accounts:[],country:null,region:null,nearby_city:null},is_active:!0,accept_terms:!1,last_login:"2021-03-29T09:23:14.808378Z",groups:[{id:4,name:"Default group",authorization:{root:0},isDefaultGroup:!0,nb_users:2}],token:w().token,refresh_token:w().token,token_ttl:3600,refresh_token_ttl:25200,access_levels:["abo_level_1"]}),w=()=>({token:"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZCI6MzksImV4cCI6MTYxNzAxMzM5NCwiZW1haWwiOiJqbWF0aGlldUB3bWFrZXIubmV0IiwiY3VzdG9tIjpudWxsLCJ0eXBlIjoiYWNjZXNzIn0.yaQbAncDEEDpbYG1Bzbs5D4Y9AySJ2g9-emjgrjSWes"});class Fe{constructor(Ae){this.languages=Ae}getUser(Ae){return(0,tt.of)((0,ne.TG)(y(this.languages)))}updateUser(Ae,Qe){return(0,ut._)("Not supported in preview")}deleteUser(Ae){return(0,ut._)("Not supported in preview")}uploadPicture(Ae,Qe){return(0,ut._)("Not supported in preview")}deletePicture(Ae){return(0,ut._)("Not supported in preview")}login(Ae,Qe){const oe="notsubscribed"===Ae?{...y(this.languages),access_levels:[]}:y(this.languages);return(0,tt.of)((0,ne.TG)(oe))}logout(){return(0,ut._)("Not supported in preview")}register(Ae,Qe){return(0,ut._)("Not supported in preview")}refreshToken(Ae,Qe){return(0,ut._)("Not supported in preview")}resetPassword(Ae){return(0,ut._)("Not supported in preview")}setNewPassword(Ae,Qe,oe){return(0,ut._)("Not supported in preview")}changePassword(Ae,Qe,oe){return(0,ut._)("Not supported in preview")}userCommunicationCreate(Ae){return(0,ut._)("Not supported in preview")}userCommunicationDelete(Ae){return(0,ut._)("Not supported in preview")}}var Je=r(57495),St=r(62340),gt=r(69897),Wt=r(41005),ft=r(78342);let ye=(()=>{var he;class Ae{constructor(oe,Ne,pt){this.settingsManager=oe,this.statsService=Ne,this.store=pt}intercept(oe,Ne){return oe.context.get(gt.G)&&!this.settingsManager.isLoginV3()?this.store.pipe((0,u.Ys)(ft.LP),(0,Je.P)(Tt=>!!Tt),(0,St.b)(Tt=>{let $t=oe.headers;try{const dn=(0,Wt.T)(Tt);$t=$t.append("JWT",dn.token),$t=dn.email&&dn.id?$t.append("JWT-User-Id",String(dn.id)):$t.append("JWT-Uuid",this.statsService.udid)}catch{}return Ne.handle(oe.clone({headers:$t}))})):Ne.handle(oe)}}return(he=Ae).\u0275fac=function(oe){return new(oe||he)(s.LFG(N.pzk),s.LFG(Pt.O$),s.LFG(u.yh))},he.\u0275prov=s.Yz7({token:he,factory:he.\u0275fac}),Ae})(),st=(()=>{var he;class Ae{constructor(oe,Ne,pt){this.settingsManager=oe,this.statsService=Ne,this.store=pt}intercept(oe,Ne){return oe.context.get(gt.G)&&this.settingsManager.isLoginV3()?this.store.pipe((0,u.Ys)(ft.Sg),(0,Je.P)(),(0,St.b)(Tt=>{if(!Tt)return Ne.handle(oe);let $t=oe.headers;try{const dn=(0,Wt.T)(Tt);$t=$t.append("JWT",dn.token),$t=dn.email&&dn.id?$t.append("JWT-User-Id",String(dn.id)):$t.append("JWT-Uuid",this.statsService.udid)}catch{}return Ne.handle(oe.clone({headers:$t}))})):Ne.handle(oe)}}return(he=Ae).\u0275fac=function(oe){return new(oe||he)(s.LFG(N.pzk),s.LFG(Pt.O$),s.LFG(u.yh))},he.\u0275prov=s.Yz7({token:he,factory:he.\u0275fac}),Ae})();var we=r(70437),$e=r(92769),Ye=r(97478),At=r(83950),qe=r(99798),it=r(26682),Kt=r(34477),Ut=r(84556),wt=r(55612),rn=r(63342),Ke=r(32266),pn=r(56303);let Rt=(()=>{var he;class Ae{constructor(oe,Ne,pt,Tt,$t,dn,Bn,Nn,Nt,Xt,wn,ce,ie,Le){this.actions$=oe,this.api=Ne,this.languageManager=pt,this.linksBuilder=Tt,this.localStorage=$t,this.navigation=dn,this.snackBar=Bn,this.router=Nn,this.settingsManager=Nt,this.stats=Xt,this.store=wn,this.platform=ce,this.cookieService=ie,this.eventTrackerService=Le,this.appInit$=(0,te.GW)(()=>this.actions$.pipe((0,te.l4)(pe),(0,M.h)(()=>!!this.settingsManager.getCommerceBagSectionId()),(0,T.M)(this.store.pipe((0,u.Ys)(ft.LP))),(0,M.h)(([q,Ie])=>void 0===Ie),(0,Ye.U)(()=>this.settingsManager.getCommerceProfileSectionUrl()),(0,Ye.U)(q=>Ke.h9.init({profileSectionUrl:q})))),this.init$=(0,te.GW)(()=>this.actions$.pipe((0,te.l4)(Ke.h9.init),(0,At.o)(()=>!this.platform.isPreviewApp),(0,Ye.U)(()=>this.localStorage.getItem("gbAuthToken")),(0,T.M)(this.store.pipe((0,u.Ys)(ft.n5))),(0,M.h)(([q,Ie])=>!Ie),(0,qe.z)(([q,Ie])=>{if(!this.platform.isBrowser)return[Ke.h9.authenticationComplete()];if(!q)return[Ke.h9.loginAnon()];try{const Et=(0,Wt.T)(q);return null===Et.email?[Ke.h9.loginAnon()]:(0,Wt.B)(Et)?[Ke.h9.requestFailExpired()]:[Ke.h9.storeToken({token:q}),Ke.h9.loginWithToken({token:Et})]}catch{return[Ke.h9.loginAnon()]}}))),this.initPreview$=(0,te.GW)(()=>this.actions$.pipe((0,te.l4)(Ke.h9.init),(0,At.o)(()=>this.platform.isPreviewApp),(0,Ye.U)(()=>Ke.h9.login({email:"",password:"",redirection:!1})))),this.login$=(0,te.GW)(()=>this.actions$.pipe((0,te.l4)(Ke.h9.login),(0,Q.w)(q=>this.api.login(q.email,q.password).pipe((0,Ye.U)(Ie=>Ke.h9.loginSuccess({user:Ie,redirection:"boolean"!=typeof q.redirection||q.redirection})),(0,it.K)(Ie=>{const Et=this.languageManager.getString(Ie.error.error_language_var);return(0,tt.of)(Ke.h9.loginFail({errorMessage:Et}))}))))),this.loginWithToken$=(0,te.GW)(()=>this.actions$.pipe((0,te.l4)(Ke.h9.loginWithToken),(0,Q.w)(q=>this.api.getUser(q.token.id).pipe((0,Ye.U)(Ie=>Ke.h9.storeUser({user:Ie,token:q.token.token})),(0,it.K)(Ie=>this.handleError(q,Ie)))))),this.loginSuccess$=(0,te.GW)(()=>this.actions$.pipe((0,te.l4)(Ke.h9.loginSuccess),(0,ee.b)(()=>this.eventTrackerService.trackLogin("standard")),(0,qe.z)(q=>{const Ie=[Ke.h9.storeUser({user:q.user,token:q.user.token})];return q.redirection&&Ie.push(Ke.h9.redirect()),Ie}))),this.registerSuccess$=(0,te.GW)(()=>this.actions$.pipe((0,te.l4)(Ke.h9.registerSuccess),(0,ee.b)(()=>this.eventTrackerService.trackSignUp("standard"))),{dispatch:!1}),this.register$=(0,te.GW)(()=>this.actions$.pipe((0,te.l4)(Ke.h9.register),(0,Q.w)(q=>this.api.register(q.email,q.password,{acceptTerms:!0}).pipe((0,qe.z)(Ie=>[Ke.h9.loginSuccess({user:Ie,redirection:!0}),Ke.h9.registerSuccess()]),(0,it.K)(Ie=>{const Et=this.languageManager.getString(Ie.error.error_language_var);return(0,tt.of)(Ke.h9.registerFail({errorMessage:Et}))}))))),this.resetButtonStatus$=(0,te.GW)(()=>this.actions$.pipe((0,te.l4)(Ke.h9.registerFail),(0,Kt.g)(2500),(0,Ye.U)(()=>Ke.pC.resetRegisterButtonStatus()))),this.logout$=(0,te.GW)(()=>this.actions$.pipe((0,te.l4)(Ke.h9.logout),(0,T.M)(this.store.pipe((0,u.Ys)(ft.n5))),(0,St.b)(([q,Ie])=>[Ke.h9.deleteUserCommunicationToken({userId:String(Ie)}),Ke.h9.clearUser(q.redirect),Ke.h9.loginAnon()]))),this.deleteUserPushToken$=(0,te.GW)(()=>this.actions$.pipe((0,te.l4)(Ke.h9.deleteUserCommunicationToken),(0,Q.w)(q=>this.api.userCommunicationDelete(q.userId).pipe((0,Ye.U)(()=>Ke.h9.deleteUserCommunicationTokenSuccess()),(0,it.K)(Ie=>(0,tt.of)(Ke.h9.deleteUserCommunicationTokenFail())))))),this.clearUser$=(0,te.GW)(()=>this.actions$.pipe((0,te.l4)(Ke.h9.clearUser),(0,ee.b)(q=>{this.localStorage.removeItem("gbAuthToken"),this.cookieService.deleteCookie("gbnossr"),q.redirect&&this.router.navigateByUrl("/")})),{dispatch:!1}),this.refreshUser$=(0,te.GW)(()=>this.actions$.pipe((0,te.l4)(Ke.h9.refreshUser),(0,we.I)(()=>this.store.pipe((0,u.Ys)(ft.n5))),(0,Q.w)(([q,Ie])=>Ie?this.api.getUser(Ie).pipe((0,Ye.U)(Et=>Ke.h9.refreshUserSuccess({user:(0,D.Bx)(Et)})),(0,it.K)(Et=>(0,tt.of)(Ke.h9.refreshUserFail()))):(0,tt.of)(Ke.h9.noUserToRefresh())))),this.redirect$=(0,te.GW)(()=>this.actions$.pipe((0,te.l4)(Ke.h9.redirect),(0,T.M)(this.store.pipe((0,u.Ys)(ft.EL))),(0,Ye.U)(([q,Ie])=>this.router.navigateByUrl(Ie))),{dispatch:!1}),this.storeToken$=(0,te.GW)(()=>this.actions$.pipe((0,te.l4)(Ke.h9.storeAnonUser,Ke.h9.storeUser,Ke.h9.storeToken),(0,ee.b)(q=>{this.platform.isPreviewApp||this.localStorage.setItem("gbAuthToken",q.token)})),{dispatch:!1}),this.storeAnyKindOfUser$=(0,te.GW)(()=>this.actions$.pipe((0,te.l4)(Ke.h9.storeAnonUser,Ke.h9.storeUser),(0,Ye.U)(()=>Ke.h9.authenticationComplete()))),this.storeUser$=(0,te.GW)(()=>this.actions$.pipe((0,te.l4)(Ke.h9.storeUser),(0,M.h)(()=>!this.platform.isPreviewApp),(0,ee.b)(()=>this.cookieService.setCookie("gbnossr","1"))),{dispatch:!1}),this.requestFailExpired$=(0,te.GW)(()=>this.actions$.pipe((0,te.l4)(Ke.h9.requestFailExpired),(0,T.M)(this.store.pipe((0,u.Ys)(ft.z3))),(0,Q.w)(([q,Ie])=>this.api.refreshToken(Ie).pipe((0,qe.z)(Et=>{const hn=[Ke.h9.storeToken({token:Et.token})];return q.action&&hn.push(q.action),hn}),(0,it.K)(Et=>(0,tt.of)(Ke.h9.requestFailInvalid())))))),this.requestFailInvalid$=(0,te.GW)(()=>this.actions$.pipe((0,te.l4)(Ke.h9.requestFailInvalid),(0,M.h)(()=>!this.platform.isPreviewApp),(0,Ye.U)(()=>Ke.h9.logout()))),this.loginAnonymous$=(0,te.GW)(()=>this.actions$.pipe((0,te.l4)(Ke.h9.loginAnon),(0,Q.w)(()=>this.api.loginAnonymous().pipe((0,Ye.U)(q=>Ke.h9.storeAnonUser({token:q.token})),(0,it.K)(()=>(0,tt.of)(Ke.h9.loginAnonFail())))))),this.resetPassword$=(0,te.GW)(()=>this.actions$.pipe((0,te.l4)(Ke.h9.resetPassword),(0,Q.w)(q=>this.api.resetPassword(q.email).pipe((0,Ye.U)(()=>Ke.h9.resetPasswordSuccess()),(0,it.K)(()=>(0,tt.of)(Ke.h9.resetPasswordFail())))))),this.resetPasswordFail$=(0,te.GW)(()=>this.actions$.pipe((0,te.l4)(Ke.h9.resetPasswordFail),(0,Ye.U)(()=>this.languageManager.getString("GB_TXT_USER_4")),(0,ee.b)(q=>this.snackBar.open(q,null,{duration:3e3}))),{dispatch:!1}),this.setNewPassword$=(0,te.GW)(()=>this.actions$.pipe((0,te.l4)(Ke.h9.setNewPassword),(0,Q.w)(q=>this.api.setNewPassword(q.password,q.userId,q.token).pipe((0,Ye.U)(()=>Ke.h9.setNewPasswordSuccess()),(0,it.K)(()=>(0,tt.of)(Ke.h9.setNewPasswordFail())))))),this.setNewPasswordSuccess$=(0,te.GW)(()=>this.actions$.pipe((0,te.l4)(Ke.h9.setNewPasswordSuccess),(0,Ye.U)(()=>this.languageManager.getString("GBCOMMERCE_CHANGE_PASSWORD_SUCCESS")),(0,ee.b)(q=>this.snackBar.open(q,null,{duration:3e3})),(0,ee.b)(()=>this.navigation.navigateWithoutHistory(this.linksBuilder.getLoginRouterLink()))),{dispatch:!1}),this.setNewPasswordFail$=(0,te.GW)(()=>this.actions$.pipe((0,te.l4)(Ke.h9.setNewPasswordFail),(0,Ye.U)(()=>this.languageManager.getString("GBCOMMERCE_ERROR_RETRY")),(0,ee.b)(q=>this.snackBar.open(q,null,{duration:3e3}))),{dispatch:!1}),this.savePushToken$=(0,te.GW)(()=>this.actions$.pipe((0,te.l4)(Ke.h9.storeUser),(0,M.h)(()=>!this.platform.isPreviewApp),(0,T.M)(this.store.pipe((0,u.Ys)(ft.n5))),(0,N.X_L)(this.stats.pushTokenObservable,q=>!!q),(0,Q.w)(([q,Ie])=>this.api.userCommunicationCreate(String(Ie)).pipe((0,Ut.X)(1),(0,it.K)(()=>$e.E)))),{dispatch:!1}),this.syncUserPushToken$=(0,te.GW)(()=>this.actions$.pipe((0,te.l4)(wt.Wm.syncUserPushToken),(0,we.I)(()=>this.store.pipe((0,u.Ys)(ft.n5))),(0,Q.w)((q,Ie)=>Ie?this.api.userCommunicationCreate(String(Ie)).pipe((0,Ye.U)(()=>wt.Wm.syncUserPushTokenDidSuccess()),(0,it.K)(()=>(0,tt.of)(wt.Wm.syncUserPushTokenDidFail()))):(0,tt.of)(wt.Wm.syncUserPushTokenDidFail()))))}handleError(oe,Ne){return(0,tt.of)(Ne.error&&Ne.error.error_code&&"3104"===Ne.error.error_code?Ke.h9.requestFailExpired({action:oe}):Ke.h9.requestFailInvalid())}}return(he=Ae).\u0275fac=function(oe){return new(oe||he)(s.LFG(te.eX),s.LFG(lt.ev),s.LFG(N.h8o),s.LFG(N.Buc),s.LFG(rn.n2),s.LFG(N.wwQ),s.LFG(pn.ux),s.LFG(p.F0),s.LFG(N.pzk),s.LFG(Pt.O$),s.LFG(u.yh),s.LFG(N.mix),s.LFG(rn.N_),s.LFG(Pt.nq))},he.\u0275prov=s.Yz7({token:he,factory:he.\u0275fac}),Ae})();var Xe=r(82998);let ve=(()=>{var he;class Ae{constructor(oe,Ne,pt,Tt,$t,dn,Bn,Nn,Nt,Xt,wn,ce,ie,Le){this.actions$=oe,this.api=Ne,this.languageManager=pt,this.linksBuilder=Tt,this.localStorage=$t,this.navigation=dn,this.snackBar=Bn,this.router=Nn,this.settingsManager=Nt,this.stats=Xt,this.store=wn,this.platform=ce,this.cookieService=ie,this.eventTrackerService=Le,this.appInit$=(0,te.GW)(()=>this.actions$.pipe((0,te.l4)(pe),(0,M.h)(()=>!this.settingsManager.getCommerceBagSectionId()),(0,we.I)(()=>this.store.pipe((0,u.Ys)(ft.Sg))),(0,M.h)(([q,Ie])=>void 0===Ie),(0,Ye.U)(()=>this.settingsManager.getProfileAdvancedSectionUrl()),(0,Ye.U)(q=>Ke.iD.init({profileSectionUrl:q})))),this.init$=(0,te.GW)(()=>this.actions$.pipe((0,te.l4)(Ke.iD.init),(0,Ye.U)(()=>this.localStorage.getItem("gbAuthToken")),(0,we.I)(()=>this.store.pipe((0,u.Ys)(ft.Ln))),(0,M.h)(([q,Ie])=>!Ie),(0,Ye.U)(([q,Ie])=>{if(this.platform.isPreviewApp||!this.platform.isBrowser)return Ke.iD.authenticationComplete();if(!q)return Ke.iD.authenticationComplete();try{const Et=(0,Wt.T)(q);if(null===Et.email)return Ke.iD.authenticationComplete();const hn=this.localStorage.getItem("gbAuthRToken");return(0,Wt.B)(Et)&&hn?Ke.iD.requestFailExpired({action:null}):Ke.iD.loginWithToken({token:q})}catch{return Ke.iD.logout()}}))),this.login$=(0,te.GW)(()=>this.actions$.pipe((0,te.l4)(Ke.iD.login),(0,Q.w)(q=>this.api.login(q.email,q.password).pipe((0,Ye.U)(Ie=>Ke.iD.loginSuccess({user:Ie,redirection:"boolean"!=typeof q.redirection||q.redirection})),(0,it.K)(Ie=>{const Et=this.languageManager.getString(Ie.error.error_language_var);return(0,tt.of)(Ke.iD.loginFail({errorMessage:Et}))}))))),this.loginWithToken$=(0,te.GW)(()=>this.actions$.pipe((0,te.l4)(Ke.iD.loginWithToken),(0,we.I)(()=>this.store.pipe((0,u.Ys)(ft.Ln))),(0,Q.w)(([q,Ie])=>this.api.getUser(Ie).pipe((0,Ye.U)(Et=>Ke.iD.loginWithTokenDidSuccess({token:q.token,user:Et})),(0,it.K)(Et=>(0,tt.of)(Et.error&&Et.error.error_code&&"3104"===Et.error.error_code?Ke.iD.requestFailExpired({action:q}):Ke.iD.requestFailInvalid())))))),this.loginSuccess$=(0,te.GW)(()=>this.actions$.pipe((0,te.l4)(Ke.iD.loginSuccess),(0,ee.b)(()=>this.eventTrackerService.trackLogin("standard")),(0,M.h)(q=>!!q.redirection),(0,Ye.U)(()=>Ke.iD.redirect()))),this.loginOrRegisterFailDisplayMessage$=(0,te.GW)(()=>this.actions$.pipe((0,te.l4)(Ke.iD.loginFail,Ke.iD.registerFail),(0,we.I)(()=>this.store.pipe((0,u.Ys)(ft.$D))),(0,ee.b)(([q,Ie])=>this.snackBar.open(Ie,null,{duration:3e3}))),{dispatch:!1}),this.register$=(0,te.GW)(()=>this.actions$.pipe((0,te.l4)(Ke.iD.register),(0,Q.w)(q=>this.api.register(q.email,q.password).pipe((0,qe.z)(Ie=>[Ke.iD.loginSuccess({user:Ie,redirection:!0}),Ke.iD.registerSuccess()]),(0,it.K)(Ie=>{const Et=this.languageManager.getString(Ie.error.error_language_var);return(0,tt.of)(Ke.iD.registerFail({errorMessage:Et}))}))))),this.registerSuccess$=(0,te.GW)(()=>this.actions$.pipe((0,te.l4)(Ke.iD.registerSuccess),(0,ee.b)(()=>this.eventTrackerService.trackSignUp("standard"))),{dispatch:!1}),this.resetButtonStatus$=(0,te.GW)(()=>this.actions$.pipe((0,te.l4)(Ke.iD.registerFail),(0,Kt.g)(2500),(0,Ye.U)(()=>Ke.pC.resetRegisterButtonStatus()))),this.logout$=(0,te.GW)(()=>this.actions$.pipe((0,te.l4)(Ke.iD.logout),(0,Q.w)(q=>this.api.logout().pipe((0,Ye.U)(()=>Ke.iD.logoutDidSuccess(q.redirect)),(0,it.K)(Ie=>(0,tt.of)(Ke.iD.logoutDidFail(q.redirect))))))),this.logoutConclude$=(0,te.GW)(()=>this.actions$.pipe((0,te.l4)(Ke.iD.logoutDidSuccess,Ke.iD.logoutDidFail),(0,qe.z)(q=>[Ke.iD.deleteUserCommunicationToken(),Ke.iD.clearUser(q.redirect)]))),this.deleteUserPushToken$=(0,te.GW)(()=>this.actions$.pipe((0,te.l4)(Ke.iD.deleteUserCommunicationToken),(0,we.I)(()=>this.store.pipe((0,u.Ys)(ft.Ln))),(0,Q.w)(([q,Ie])=>this.api.userCommunicationDelete(String(Ie)).pipe((0,Ye.U)(()=>Ke.iD.deleteUserCommunicationTokenSuccess()),(0,it.K)(Et=>(0,tt.of)(Ke.iD.deleteUserCommunicationTokenFail())))))),this.clearUser$=(0,te.GW)(()=>this.actions$.pipe((0,te.l4)(Ke.iD.clearUser,Xe.cf),(0,ee.b)(q=>{this.localStorage.removeItem("gbAuthToken"),this.localStorage.removeItem("gbAuthRToken"),this.cookieService.deleteCookie("gbnossr"),q.redirect&&this.router.navigateByUrl("/")})),{dispatch:!1}),this.refreshUser$=(0,te.GW)(()=>this.actions$.pipe((0,te.l4)(Ke.iD.refreshUser),(0,we.I)(()=>this.store.pipe((0,u.Ys)(ft.Ln))),(0,Q.w)(([q,Ie])=>Ie?this.api.getUser(Ie).pipe((0,Ye.U)(Et=>Ke.iD.refreshUserSuccess({user:Et})),(0,it.K)(Et=>(0,tt.of)(Ke.iD.refreshUserFail()))):(0,tt.of)(Ke.iD.noUserToRefresh())))),this.redirect$=(0,te.GW)(()=>this.actions$.pipe((0,te.l4)(Ke.iD.redirect),(0,we.I)(()=>this.store.pipe((0,u.Ys)(ft.hZ))),(0,Ye.U)(([q,Ie])=>this.router.navigateByUrl(Ie))),{dispatch:!1}),this.storeToken$=(0,te.GW)(()=>this.actions$.pipe((0,te.l4)(Ke.iD.loginSuccess,Ke.iD.loginWithTokenDidSuccess,Ke.iD.refreshTokenDidSuccess,Xe.Tb),(0,we.I)(()=>this.store.pipe((0,u.Ys)(ft.Sg))),(0,ee.b)(([q,Ie])=>{this.platform.isPreviewApp||this.localStorage.setItem("gbAuthToken",Ie)})),{dispatch:!1}),this.loginUserAfterRefreshToken$=(0,te.GW)(()=>this.actions$.pipe((0,te.l4)(Ke.iD.refreshTokenDidSuccess),(0,we.I)(()=>this.store.pipe((0,u.Ys)(ft.Sg))),(0,Ye.U)(([q,Ie])=>Ke.iD.loginWithToken({token:Ie})))),this.storeRefreshToken$=(0,te.GW)(()=>this.actions$.pipe((0,te.l4)(Ke.iD.loginSuccess,Xe.Tb),(0,we.I)(()=>this.store.pipe((0,u.Ys)(ft.Bc))),(0,ee.b)(([q,Ie])=>{this.platform.isPreviewApp||this.localStorage.setItem("gbAuthRToken",Ie)})),{dispatch:!1}),this.authenticationComplete$=(0,te.GW)(()=>this.actions$.pipe((0,te.l4)(Ke.iD.loginSuccess,Ke.iD.loginWithTokenDidSuccess,Ke.iD.logout),(0,Ye.U)(()=>Ke.iD.authenticationComplete()))),this.disableSSR$=(0,te.GW)(()=>this.actions$.pipe((0,te.l4)(Ke.iD.loginSuccess),(0,M.h)(()=>!this.platform.isPreviewApp),(0,ee.b)(()=>this.cookieService.setCookie("gbnossr","1"))),{dispatch:!1}),this.requestFailExpired$=(0,te.GW)(()=>this.actions$.pipe((0,te.l4)(Ke.iD.requestFailExpired),(0,we.I)(()=>[this.store.pipe((0,u.Ys)(ft.Bc)),this.store.pipe((0,u.Ys)(ft.Ln))]),(0,Q.w)(([q,Ie,Et])=>{const hn=Ie||this.localStorage.getItem("gbAuthRToken");return this.api.refreshToken(Et,hn).pipe((0,qe.z)(fn=>{const fr=[Ke.iD.refreshTokenDidSuccess({user:fn})];return q.action&&fr.push(q.action),fr}),(0,it.K)(fn=>(0,tt.of)(Ke.iD.requestFailInvalid())))}))),this.requestFailInvalid$=(0,te.GW)(()=>this.actions$.pipe((0,te.l4)(Ke.iD.requestFailInvalid),(0,M.h)(()=>!this.platform.isPreviewApp),(0,Ye.U)(()=>Ke.iD.logout(!0)))),this.resetPassword$=(0,te.GW)(()=>this.actions$.pipe((0,te.l4)(Ke.iD.resetPassword),(0,Q.w)(q=>this.api.resetPassword(q.email).pipe((0,Ye.U)(()=>Ke.iD.resetPasswordSuccess()),(0,it.K)(()=>(0,tt.of)(Ke.iD.resetPasswordFail())))))),this.resetPasswordFail$=(0,te.GW)(()=>this.actions$.pipe((0,te.l4)(Ke.iD.resetPasswordFail),(0,Ye.U)(()=>this.languageManager.getString("GB_TXT_USER_4")),(0,ee.b)(q=>this.snackBar.open(q,null,{duration:3e3}))),{dispatch:!1}),this.setNewPassword$=(0,te.GW)(()=>this.actions$.pipe((0,te.l4)(Ke.iD.setNewPassword),(0,Q.w)(q=>this.api.setNewPassword(q.password,q.userId,q.token).pipe((0,Ye.U)(()=>Ke.iD.setNewPasswordSuccess()),(0,it.K)(()=>(0,tt.of)(Ke.iD.setNewPasswordFail())))))),this.setNewPasswordSuccess$=(0,te.GW)(()=>this.actions$.pipe((0,te.l4)(Ke.iD.setNewPasswordSuccess),(0,Ye.U)(()=>this.languageManager.getString("GBCOMMERCE_CHANGE_PASSWORD_SUCCESS")),(0,ee.b)(q=>this.snackBar.open(q,null,{duration:3e3})),(0,ee.b)(()=>this.navigation.navigateWithoutHistory(this.linksBuilder.getLoginRouterLink()))),{dispatch:!1}),this.setNewPasswordFail$=(0,te.GW)(()=>this.actions$.pipe((0,te.l4)(Ke.iD.setNewPasswordFail),(0,Ye.U)(()=>this.languageManager.getString("GBCOMMERCE_ERROR_RETRY")),(0,ee.b)(q=>this.snackBar.open(q,null,{duration:3e3}))),{dispatch:!1}),this.savePushToken$=(0,te.GW)(()=>this.actions$.pipe((0,te.l4)(Ke.iD.loginSuccess),(0,M.h)(()=>!this.platform.isPreviewApp),(0,we.I)(()=>this.store.pipe((0,u.Ys)(ft.Ln))),(0,N.X_L)(this.stats.pushTokenObservable,q=>!!q),(0,Q.w)(([q,Ie])=>this.api.userCommunicationCreate(String(Ie)).pipe((0,Ut.X)(1),(0,it.K)(()=>$e.E)))),{dispatch:!1}),this.syncUserPushToken$=(0,te.GW)(()=>this.actions$.pipe((0,te.l4)(wt.Wm.syncUserPushToken),(0,we.I)(()=>this.store.pipe((0,u.Ys)(ft.Ln))),(0,Q.w)((q,Ie)=>Ie?this.api.userCommunicationCreate(String(Ie)).pipe((0,Ye.U)(()=>wt.Wm.syncUserPushTokenDidSuccess()),(0,it.K)(()=>(0,tt.of)(wt.Wm.syncUserPushTokenDidFail()))):(0,tt.of)(wt.Wm.syncUserPushTokenDidFail()))))}}return(he=Ae).\u0275fac=function(oe){return new(oe||he)(s.LFG(te.eX),s.LFG(lt.oV),s.LFG(N.h8o),s.LFG(N.Buc),s.LFG(rn.n2),s.LFG(N.wwQ),s.LFG(pn.ux),s.LFG(p.F0),s.LFG(N.pzk),s.LFG(Pt.O$),s.LFG(u.yh),s.LFG(N.mix),s.LFG(rn.N_),s.LFG(Pt.nq))},he.\u0275prov=s.Yz7({token:he,factory:he.\u0275fac}),Ae})(),Ce=(()=>{var he;class Ae{}return(he=Ae).\u0275fac=function(oe){return new(oe||he)},he.\u0275mod=s.oAB({type:he}),he.\u0275inj=s.cJS({providers:[{provide:lt.ev,useFactory:Re,deps:[N.IFQ,ge.eN,N.pzk,Pt.O$,N.h8o]},{provide:lt.oV,useFactory:ot,deps:[N.IFQ,ge.eN,N.pzk,Pt.O$,N.h8o]},{provide:ge.TP,useClass:ye,multi:!0},{provide:ge.TP,useClass:st,multi:!0}],imports:[u.Aw.forFeature("auth",ft.ll),te.sQ.forFeature([ve,Rt])]}),Ae})();function Re(he,Ae,Qe,oe,Ne){return"preview"===he||"portal"===he?new lt.r7(Ne):new lt.Ny(Ae,Qe,oe)}function ot(he,Ae,Qe,oe,Ne){return"preview"===he||"portal"===he?new Fe(Ne):new lt.lQ(Ae,Qe,oe)}var Ve=r(81099);let Oe=(()=>{var he;class Ae{constructor(oe,Ne,pt){this.platform=oe,this.settingsManager=Ne,this.logger=pt,this.isLoad=!1}init(){if(this.platform.isBrowser){const oe=this.settingsManager.getConsentAppId().replace("<script>","").replace("<\/script>","");if(oe)this.load(oe);else{const Ne=this.settingsManager.getGeneralAdsStrategy();Ne&&Ne.forEach(pt=>{"dfp"===pt.type&&this.loadDfp(pt),"adsense"===pt.type&&this.loadAdsense(pt)})}}}load(oe){if(oe)try{const Ne=this.platform.doc.createElement("script");Ne.innerHTML=oe,this.platform.doc.head.insertAdjacentElement("beforeend",Ne),this.platform.windowRef.gtag_enable_tcf_support=!0,this.isLoad=!0}catch(Ne){this.logger.error(Ne)}}loadDfp(oe){(oe.homePublisherId||oe.listPublisherId||oe.splashscreenPublisherId)&&((0,N.Bp3)(this.platform.doc,"dfp-sdk","https://securepubads.g.doubleclick.net/tag/js/gpt.js"),this.platform.windowRef.gtag_enable_tcf_support=!0,this.isLoad=!0,window.googletag=window.googletag||{cmd:[]},googletag.cmd.push(function(){googletag.defineSlot(oe.homePublisherId||oe.listPublisherId||oe.splashscreenPublisherId,"fluid").addService(googletag.pubads())}))}loadAdsense(oe){(oe.adClient||oe.homeAdClient)&&((0,N.Bp3)(this.platform.doc,"adsense-sdk",`https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=${oe.adClient||oe.homeAdClient}`),this.platform.windowRef.gtag_enable_tcf_support=!0,this.isLoad=!0)}promptTCFDialog(){const oe=this.platform.windowRef.googlefc;oe&&oe.callbackQueue.push(oe.showRevocationMessage)}}return(he=Ae).\u0275fac=function(oe){return new(oe||he)(s.LFG(N.mix),s.LFG(Ve.R),s.LFG(N.YdH))},he.\u0275prov=s.Yz7({token:he,factory:he.\u0275fac,providedIn:"root"}),Ae})();var Ze=r(57762),Ge=r(3744),Pe=r(50996);const Ue="gbcookies";let De=(()=>{var he;class Ae{constructor(oe,Ne,pt,Tt,$t,dn,Bn,Nn,Nt){this.actions$=oe,this.store=Ne,this.settingsManager=pt,this.overlay=Tt,this.localStorage=$t,this.dialogService=dn,this.fundingChoices=Bn,this.overlayContainer=Nn,this.doc=Nt,this.dialogRef=null,this.cookieConsentInit$=(0,te.GW)(()=>this.actions$.pipe((0,te.l4)(Ze.S1),(0,M.h)(Xt=>Xt.cookieConsentEnabled||Xt.tcfEnabled),(0,Ye.U)(Xt=>{if(Xt.tcfEnabled)return Ze.MD();if(Xt.cookieConsentEnabled)try{const wn=this.localStorage.getItem(Ue);return Ze.ZN({gbCookie:JSON.parse(wn)})}catch{return Ze.fw()}}))),this.loadTCF$=(0,te.GW)(()=>this.actions$.pipe((0,te.l4)(Ze.MD),(0,Ye.U)(()=>(this.fundingChoices.init(),this.fundingChoices.isLoad?Ze.ZF():Ze.W6())))),this.checkIfUserReplied$=(0,te.GW)(()=>this.actions$.pipe((0,te.l4)(Ze.ZN),(0,T.M)(this.store.pipe((0,u.Ys)(Ge.SA))),(0,M.h)(([Xt,wn])=>!wn),(0,Ye.U)(()=>Ze.fw()))),this.openDialog$=(0,te.GW)(()=>this.actions$.pipe((0,te.l4)(Ze.fw),(0,ee.b)(()=>{const Xt=new URLSearchParams(this.doc.location.search);null===this.dialogRef&&!Xt.has("gbdisablecookie")&&Promise.all([r.e(8592),r.e(1413)]).then(r.bind(r,71413)).then(wn=>wn.CookieConsentComponent).then(wn=>{const ce={panelClass:"cookie-dialog-overlay",scrollStrategy:this.overlay.scrollStrategies.noop(),maxWidth:"90vw",maxHeight:"85vh",disableClose:!0,autoFocus:!1};this.overlayContainer.getContainerElement().classList.add("consent"),this.dialogRef=this.dialogService.openDialog(wn,ce)})})),{dispatch:!1}),this.closeDialog$=(0,te.GW)(()=>this.actions$.pipe((0,te.l4)(Ze.kH),(0,ee.b)(()=>{null!==this.dialogRef&&(this.overlayContainer.getContainerElement().classList.remove("consent"),this.dialogRef.close(),this.dialogRef=null)})),{dispatch:!1}),this.saveConsentInLocalStorage$=(0,te.GW)(()=>this.actions$.pipe((0,te.l4)(Ze.rC,Ze.oi,Ze.NQ),(0,T.M)(this.store.pipe((0,u.Ys)(Ge.VJ))),(0,Ye.U)(([Xt,wn])=>(this.localStorage.setItem(Ue,JSON.stringify(wn)),Ze.kH())))),this.routerNavigated$=(0,te.GW)(()=>this.actions$.pipe((0,te.l4)(We.CE),(0,T.M)(this.store.pipe((0,u.Ys)(I.YR)),this.store.pipe((0,u.Ys)(Ge.SA)),this.store.pipe((0,u.Ys)(Ge.u2)),this.store.pipe((0,u.Ys)(Ge.Uw))),(0,M.h)(([Xt,wn,ce,ie,Le])=>ie&&!Le),(0,M.h)(([Xt,wn,ce])=>!ce),(0,Ye.U)(([Xt,wn])=>{const ce=this.settingsManager.getCookieGeneralLink();return ce&&ce.sectionId===wn?Ze.kH():Ze.fw()}))),this.consentUpdated$=(0,te.GW)(()=>this.actions$.pipe((0,te.l4)(Ze.qD,Xe.o0),(0,we.I)(()=>this.store.pipe((0,u.Ys)(Ge.WK))),(0,Ye.U)(([Xt,wn])=>wn?Ze.E9():Ze.fw()))),this.promptTCFDialog$=(0,te.GW)(()=>this.actions$.pipe((0,te.l4)(Ze.E9),(0,ee.b)(()=>this.fundingChoices.promptTCFDialog())),{dispatch:!1})}}return(he=Ae).\u0275fac=function(oe){return new(oe||he)(s.LFG(te.eX),s.LFG(u.yh),s.LFG(Ve.R),s.LFG(Pe.aV),s.LFG(rn.n2),s.LFG(N.xAy),s.LFG(Oe),s.LFG(Pe.Xj),s.LFG(h.DOCUMENT))},he.\u0275prov=s.Yz7({token:he,factory:he.\u0275fac}),Ae})();var fe=r(9223);const xe=(0,u.Lq)({gbCookie:null,cookieConsentEnabled:null,tcfEnabled:null,tcfLoaded:!1,externalServiceEnabled:null},(0,u.on)(Ze.S1,(he,{cookieConsentEnabled:Ae,tcfEnabled:Qe,externalServiceEnabled:oe})=>({...he,cookieConsentEnabled:Ae,tcfEnabled:Qe,externalServiceEnabled:oe})),(0,u.on)(Ze.ZN,Ze.NQ,(he,{gbCookie:Ae})=>({...he,gbCookie:Ae})),(0,u.on)(Ze.rC,he=>({...he,gbCookie:{internal:!0,external:!0}})),(0,u.on)(Ze.oi,he=>({...he,gbCookie:{internal:!1,external:!1}})),(0,u.on)(Ze.ZF,he=>({...he,tcfLoaded:!0})));function rt(he,Ae){return xe(he,Ae)}let xt=(()=>{var he;class Ae{}return(he=Ae).\u0275fac=function(oe){return new(oe||he)},he.\u0275mod=s.oAB({type:he}),he.\u0275inj=s.cJS({providers:[{provide:s.tb,useFactory:tn,multi:!0,deps:[fe.B,Ve.R,N.mix]},(0,me.qF)([De])],imports:[u.Aw.forFeature("cookieConsent",rt)]}),Ae})();function tn(he,Ae,Qe){return()=>{he.init(Qe.isBrowser&&!Qe.isPreviewApp&&Ae.getCookieEnabled(),Qe.isBrowser&&!Qe.isPreviewApp&&Ae.getConsentTcfEnabled(),!(null===Ae.getGeneralGoogleAnalytics()&&null===Ae.getGeneralGtm()))}}var sn=r(60206);let En=(()=>{var he;class Ae{}return(he=Ae).\u0275fac=function(oe){return new(oe||he)},he.\u0275mod=s.oAB({type:he}),he.\u0275inj=s.cJS({imports:[u.Aw.forFeature("content",sn.ll)]}),Ae})();var Un=r(83162);const nr=new Un.fK.Entity("images"),Zn=new Un.fK.Array(nr);function lr(he){return(0,Un.Fv)(he,Zn)}let Jn=(()=>{var he;class Ae{constructor(oe,Ne){this.settingsManager=oe,this.http=Ne}fetchImageUrlsWithIds(oe){const Ne=Ae.imagesUrl.replace(":IMAGE_IDS",oe.join(","));return this.request(Ne).pipe((0,Ye.U)(lr))}request(oe){const Ne=this.settingsManager.getIdWebzine(),pt=(new ge.qT).set(rn.CN,!0),Tt=Ae.baseUrl+oe.replace(":WEBZINE_ID",String(Ne));return this.http.get(Tt,{context:pt})}}return(he=Ae).baseUrl="https://fpmgm.ww-api.com",he.imagesUrl="/focalpoint/image/v1/front/:WEBZINE_ID/images/:IMAGE_IDS/",he.\u0275fac=function(oe){return new(oe||he)(s.LFG(N.pzk),s.LFG(ge.eN))},he.\u0275prov=s.Yz7({token:he,factory:he.\u0275fac,providedIn:"root"}),Ae})();var er=r(59322);let Wn=(()=>{var he;class Ae{constructor(oe,Ne,pt){this.memory=oe,this.api=Ne,this.platform=pt}loadImagesByIds(oe){if(!oe||oe.length<1)return(0,ut._)(()=>new Error("FocalpointError::Cannot fetch images without ids"));const Ne=`fp-images-${oe.join(",")}`;return this.memory.get(Ne,this.api.fetchImageUrlsWithIds(oe),this.platform.isPreviewApp?0:1/0)}}return(he=Ae).\u0275fac=function(oe){return new(oe||he)(s.LFG(er.P),s.LFG(Jn),s.LFG(N.mix))},he.\u0275prov=s.Yz7({token:he,factory:he.\u0275fac,providedIn:"root"}),Ae})();var gn=r(6463);let Fr=(()=>{var he;class Ae{constructor(oe,Ne){this.actions$=oe,this.focalpointApi=Ne,this.loadImages$=(0,te.GW)(()=>this.actions$.pipe((0,te.l4)(gn.lL),(0,qe.z)(({ids:pt})=>this.focalpointApi.loadImagesByIds(pt).pipe((0,Ye.U)(Tt=>gn.tO({apiResponse:Tt})),(0,it.K)(Tt=>(0,tt.of)(gn.qR({error:Tt})))))))}}return(he=Ae).\u0275fac=function(oe){return new(oe||he)(s.LFG(te.eX),s.LFG(Wn))},he.\u0275prov=s.Yz7({token:he,factory:he.\u0275fac}),Ae})();var Ar=r(29194);let Cr=(()=>{var he;class Ae{}return(he=Ae).\u0275fac=function(oe){return new(oe||he)},he.\u0275mod=s.oAB({type:he}),he.\u0275inj=s.cJS({imports:[u.Aw.forFeature("images",Ar.I6),te.sQ.forFeature([Fr])]}),Ae})(),Sr=(()=>{var he;class Ae{constructor(oe,Ne){this.settingsManager=oe,this.http=Ne}getAppInfos(){return this.request(Ae.BASE_URL)}getIAPProducts(){return this.request(Ae.BASE_URL+"products").pipe((0,Ye.U)(Ne=>(0,ne.yS)(Ne)))}request(oe,Ne){const pt=this.settingsManager.getIdWebzine();oe=oe.replace(":WEBZINE_ID",String(pt));const Tt=new ge.WM({"Content-Type":"application/json",Accept:"application/json"}),$t=(new ge.qT).set(rn.CN,!0);return this.http.get(oe,{headers:Tt,params:Ne,context:$t}).pipe((0,it.K)(Bn=>(0,ut._)(()=>new N.sT0(Bn))))}}return(he=Ae).BASE_URL="https://classicappinfo.ww-api.com/v1/front/app/:WEBZINE_ID/",he.\u0275fac=function(oe){return new(oe||he)(s.LFG(N.pzk),s.LFG(ge.eN))},he.\u0275prov=s.Yz7({token:he,factory:he.\u0275fac,providedIn:"root"}),Ae})();var Mn=r(23983);let Lr=(()=>{var he;class Ae{constructor(oe,Ne,pt){this.actions$=oe,this.api=Ne,this.settingsManager=pt,this.infosInit$=(0,te.GW)(()=>this.actions$.pipe((0,te.l4)(pe),(0,M.h)(()=>null===this.settingsManager.getCommerceBagSectionId()),(0,Ye.U)(()=>Mn.W.getInfos()))),this.iapInit$=(0,te.GW)(()=>this.actions$.pipe((0,te.l4)(pe),(0,M.h)(()=>!!this.settingsManager.isLoginV3()),(0,Ye.U)(()=>Mn.W.getIAPProducts()))),this.classicInfosInit$=(0,te.GW)(()=>this.actions$.pipe((0,te.l4)(Mn.W.getInfos),(0,Q.w)(()=>this.api.getAppInfos().pipe((0,Ye.U)(Tt=>Mn.W.getInfosSuccess({details:Tt})),(0,it.K)(Tt=>(0,tt.of)(Mn.W.getInfosDidFail({err:Tt}))))))),this.iapProducts$=(0,te.GW)(()=>this.actions$.pipe((0,te.l4)(Mn.W.getIAPProducts),(0,Q.w)(()=>this.api.getIAPProducts().pipe((0,Ye.U)(Tt=>Mn.W.getIAPProductsDidSuccess({normalizeIapProducts:Tt})),(0,it.K)(Tt=>(0,tt.of)(Mn.W.getIAPProductsDidFail({err:Tt})))))))}}return(he=Ae).\u0275fac=function(oe){return new(oe||he)(s.LFG(te.eX),s.LFG(Sr),s.LFG(N.pzk))},he.\u0275prov=s.Yz7({token:he,factory:he.\u0275fac}),Ae})();var _t=r(25167),et=r(20436),Mt=r(28111);let Ct=(()=>{var he;class Ae{constructor(oe,Ne){this.settingsManager=oe,this.http=Ne}getShopInfos(){const oe=this.settingsManager.getEngineConfigCommerceApiBaseUrl()+Ae.SHOP_INFOS;return this.request(oe)}request(oe,Ne){const pt=this.settingsManager.getIdWebzine();oe=oe.replace(":WEBZINE_ID",String(pt));const Tt=new ge.WM({"Content-Type":"application/json",Accept:"application/json"}),$t=(new ge.qT).set(rn.CN,!0);return this.http.get(oe,{headers:Tt,params:Ne,context:$t}).pipe((0,it.K)(Bn=>(0,ut._)(()=>new N.sT0(Bn))))}}return(he=Ae).SHOP_INFOS="/commerceapi/v1.4/front/front_url/:WEBZINE_ID/",he.\u0275fac=function(oe){return new(oe||he)(s.LFG(N.pzk),s.LFG(ge.eN))},he.\u0275prov=s.Yz7({token:he,factory:he.\u0275fac,providedIn:"root"}),Ae})(),Vt=(()=>{var he;class Ae{constructor(oe,Ne,pt,Tt,$t,dn,Bn,Nn){this.actions$=oe,this.api=Ne,this.paymentService=pt,this.settingsManager=Tt,this.platform=$t,this.store=dn,this.seoService=Bn,this.dateTimeService=Nn,this.infosInit$=(0,te.GW)(()=>this.actions$.pipe((0,te.l4)(pe),(0,M.h)(()=>!!this.settingsManager.getCommerceBagSectionId()),(0,Q.w)(()=>this.api.getShopInfos().pipe((0,Ye.U)(Nt=>Mn.N.getInfosSuccess({details:Nt})),(0,it.K)(Nt=>(0,tt.of)(Mn.N.getInfosDidFail({err:Nt}))))))),this.getInfosSuccess$=(0,te.GW)(()=>this.actions$.pipe((0,te.l4)(Mn.N.getInfosSuccess),(0,ee.b)(Nt=>{this.seoService.addRichResultsGlobalMetadatas(Nt.details),Nt.details.timezone&&Nt.details.timezone.region&&this.dateTimeService.setDefaultTimezone(Nt.details.timezone.region)})),{dispatch:!1}),this.getPaymentServices$=(0,te.GW)(()=>this.actions$.pipe((0,te.l4)(Ke.h9.authenticationComplete,Mn.N.getPaymentServices),(0,_t.R)(this.actions$.pipe((0,te.l4)(Mn.N.getPaymentServicesSuccess))),(0,T.M)(this.store.pipe((0,u.Ys)(ft.LP))),(0,M.h)(([Nt,Xt])=>!!Xt),(0,M.h)(()=>!!this.settingsManager.getCommerceBagSectionId()&&this.platform.isBrowser),(0,Q.w)(()=>this.paymentService.getPaymentServices().pipe((0,Ye.U)(Nt=>Mn.N.getPaymentServicesSuccess({paymentServices:Nt})),(0,it.K)(Nt=>(0,tt.of)(Mn.N.getPaymentServicesFail())))))),this.retryGetPaymentServices$=(0,te.GW)(()=>this.actions$.pipe((0,te.l4)(Mn.N.getPaymentServicesFail),(0,_t.R)(this.actions$.pipe((0,te.l4)(Mn.N.getPaymentServicesSuccess))),(0,Kt.g)(5e3),(0,Ye.U)(()=>Mn.N.getPaymentServices())))}}return(he=Ae).\u0275fac=function(oe){return new(oe||he)(s.LFG(te.eX),s.LFG(Ct),s.LFG(et.s),s.LFG(N.pzk),s.LFG(N.mix),s.LFG(u.yh),s.LFG(Mt.L),s.LFG(D.Cv))},he.\u0275prov=s.Yz7({token:he,factory:he.\u0275fac}),Ae})();var Bt=r(49595);let on=(()=>{var he;class Ae{}return(he=Ae).\u0275fac=function(oe){return new(oe||he)},he.\u0275mod=s.oAB({type:he}),he.\u0275inj=s.cJS({providers:[(0,me.qF)([Lr,Vt])],imports:[u.Aw.forFeature(Bt.Pv,Bt.ll)]}),Ae})();var Qt=r(59699);function Lt(he,Ae){if(1&he&&s._UZ(0,"img",4),2&he){const Qe=s.oxw();s.Q6J("src",Qe.icon.imageUrl,s.LSH)("alt",Qe.appName)}}let mn=(()=>{var he;class Ae{constructor(oe,Ne){this.settingsManager=oe,this.languagesManager=Ne}ngOnInit(){this.title=this.languagesManager.getString("GB_INSTALL_IOS_PWA_TITLE"),this.description=this.languagesManager.getString("GB_INSTALL_IOS_PWA_DESCRIPTION");const[oe,Ne]=this.languagesManager.getString("GB_INSTALL_IOS_PWA_SUBLINE").split("[BUTTON]");this.sublinePrefix=oe,this.sublineSuffix=Ne,this.appName=this.settingsManager.getAppName(),this.icon=this.settingsManager.getGeneralMetaImagesTouchIcon()}}return(he=Ae).\u0275fac=function(oe){return new(oe||he)(s.Y36(N.pzk),s.Y36(N.h8o))},he.\u0275cmp=s.Xpm({type:he,selectors:[["ng-component"]],decls:10,vars:6,consts:[["class","icon",3,"src","alt",4,"ngIf"],["mat-dialog-title",""],[1,"action"],["gbIcon","","iconUrl","share2"],[1,"icon",3,"src","alt"]],template:function(oe,Ne){1&oe&&(s.TgZ(0,"mat-dialog-content"),s.YNc(1,Lt,1,2,"img",0),s.TgZ(2,"h2",1),s._uU(3),s.qZA(),s.TgZ(4,"p"),s._uU(5),s.qZA(),s.TgZ(6,"div",2),s._uU(7),s._UZ(8,"span",3),s._uU(9),s.qZA()()),2&oe&&(s.xp6(1),s.Q6J("ngIf",Ne.icon),s.xp6(2),s.AsE("",Ne.title," ",Ne.appName,""),s.xp6(2),s.Oqu(Ne.description),s.xp6(2),s.hij(" ",Ne.sublinePrefix," "),s.xp6(2),s.hij(" ",Ne.sublineSuffix," "))},styles:["[_nghost-%COMP%]{display:block;text-align:center}.icon[_ngcontent-%COMP%]{width:50px;height:50px}h2[_ngcontent-%COMP%]{font-size:28px}p[_ngcontent-%COMP%]{margin:24px auto;max-width:80%}.action[_ngcontent-%COMP%]{font-size:12px}.action[_ngcontent-%COMP%]   [gbIcon][_ngcontent-%COMP%]{color:#007aff;vertical-align:sub}"]}),Ae})();var jt=r(63673);let Vn=(()=>{var he;class Ae{constructor(oe,Ne,pt,Tt){this.doc=oe,this.platform=Ne,this.settingsApiService=pt,this.dataManager=Tt,this.platform.isIOS&&this.platform.windowRef.navigator.standalone&&this.periodicalRefresh()}periodicalRefresh(){(0,E.R)(this.doc,"visibilitychange").pipe((0,M.h)(()=>"visible"===this.doc.visibilityState),(0,Q.w)(()=>(0,jt.a)([this.settingsApiService.getSettings(),this.dataManager.getSettings()])),(0,Ye.U)(([oe,Ne])=>({new:oe.timestamp,cached:Ne.timestamp})),(0,M.h)(oe=>oe.new>oe.cached)).subscribe(()=>location.reload())}}return(he=Ae).\u0275fac=function(oe){return new(oe||he)(s.LFG(h.DOCUMENT),s.LFG(N.mix),s.LFG(rn.ps),s.LFG(N.hmF))},he.\u0275prov=s.Yz7({token:he,factory:he.\u0275fac,providedIn:"root"}),Ae})();var Rn=r(48706),Ln=r(85218),An=r(99966);function bn(he,Ae){if(1&he&&s._UZ(0,"img",5),2&he){const Qe=s.oxw();s.Q6J("src",Qe.icon.imageUrl,s.LSH)("alt",Qe.appName)}}let _n=(()=>{var he;class Ae{constructor(oe,Ne,pt,Tt){this.settingsManager=oe,this.languagesManager=Ne,this.sheetRef=pt,this.materialIconService=Tt,this.closeIcon=this.materialIconService.createGBUIIconWithId("1386"),this.closeIconColor="rgba(0, 0, 0, .6)"}ngOnInit(){this.appName=this.settingsManager.getAppName(),this.icon=this.settingsManager.getGeneralMetaImagesTouchIcon(),this.buttonTitle=this.languagesManager.getString("GB_INSTALL_PWA_BUTTON_TEXT")}promptInstall(){this.sheetRef.dismiss(!0)}dismiss(){this.sheetRef.dismiss()}}return(he=Ae).\u0275fac=function(oe){return new(oe||he)(s.Y36(N.pzk),s.Y36(N.h8o),s.Y36(Rn.oL),s.Y36(N.U0d))},he.\u0275cmp=s.Xpm({type:he,selectors:[["ng-component"]],decls:8,vars:5,consts:[[1,"app-identity"],[3,"src","alt",4,"ngIf"],[3,"gbuiIcon","color","click"],[1,"a2hs"],["mat-raised-button","","color","primary",3,"click"],[3,"src","alt"]],template:function(oe,Ne){1&oe&&(s.TgZ(0,"div",0),s.YNc(1,bn,1,2,"img",1),s.TgZ(2,"h5"),s._uU(3),s.qZA(),s.TgZ(4,"i",2),s.NdJ("click",function(){return Ne.dismiss()}),s.qZA()(),s.TgZ(5,"div",3)(6,"button",4),s.NdJ("click",function(){return Ne.promptInstall()}),s._uU(7),s.qZA()()),2&oe&&(s.xp6(1),s.Q6J("ngIf",Ne.icon),s.xp6(2),s.Oqu(Ne.appName),s.xp6(1),s.Q6J("gbuiIcon",Ne.closeIcon)("color",Ne.closeIconColor),s.xp6(3),s.Oqu(Ne.buttonTitle))},dependencies:[h.NgIf,Ln.lW,An.k],styles:["[_nghost-%COMP%]{display:block;padding:5px}.app-identity[_ngcontent-%COMP%]{display:flex;align-items:center;margin-bottom:30px}.app-identity[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:50px;height:50px;margin-right:10px}.app-identity[_ngcontent-%COMP%]   h5[_ngcontent-%COMP%]{flex:1 0 auto}.app-identity[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{cursor:pointer}.a2hs[_ngcontent-%COMP%]{text-align:right}.a2hs[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{background:#4285f4!important}"]}),Ae})();var zn=r(12733);const an="gbpwalastprompt";let Yt=(()=>{var he;class Ae{constructor(oe,Ne,pt,Tt,$t){this.platform=oe,this.bottomSheet=Ne,this.dialog=pt,this.localStorage=Tt,this.pwaFacade=$t,this.platform.isBrowser&&!this.platform.isPreviewApp&&(this.standaloneMode=this.platform.windowRef.matchMedia("(display-mode: standalone)").matches||this.platform.windowRef.navigator.standalone,!this.standaloneMode&&this.promptDelayExpired()&&(this.platform.isIOS?/(CriOS|FxiOS|EdgiOS)/i.exec(this.platform.windowRef.navigator.userAgent)||this.displayIOSDialogPrompt():this.displayPWABottomSheetPrompt()))}displayPWABottomSheetPrompt(){let oe;(0,E.R)(this.platform.windowRef,"beforeinstallprompt").pipe((0,M.h)(()=>!this.platform.isDesktopSize()),(0,Q.w)(Ne=>(oe=Ne,oe.preventDefault(),this.pwaFacade.canPromptInstall$)),(0,Je.P)(Ne=>!!Ne),(0,Q.w)(()=>this.bottomSheet.open(_n,{hasBackdrop:!1}).afterDismissed())).subscribe(Ne=>{this.persistLastPromptTimestamp(),this.pwaFacade.setCurrentPrompt("Install"),Ne&&oe.prompt()})}displayIOSDialogPrompt(){this.pwaFacade.canPromptInstall$.pipe((0,Je.P)(oe=>!!oe)).subscribe(()=>{this.persistLastPromptTimestamp(),this.dialog.openDialog(mn),this.pwaFacade.setCurrentPrompt("Install")})}promptDelayExpired(){const oe=this.localStorage.getItem(an);return!oe||Date.now()-parseInt(oe)>2592e6}persistLastPromptTimestamp(){this.localStorage.setItem(an,Date.now().toString())}}return(he=Ae).\u0275fac=function(oe){return new(oe||he)(s.LFG(N.mix),s.LFG(Rn.ch),s.LFG(N.xAy),s.LFG(rn.n2),s.LFG(zn.M))},he.\u0275prov=s.Yz7({token:he,factory:he.\u0275fac,providedIn:"root"}),Ae})();var hr=r(73895);let Mr=(()=>{var he;class Ae{constructor(oe,Ne,pt,Tt){this.actions$=oe,this.settingsManager=Ne,this.promptInstall=pt,this.authService=Tt,this.pwaInit$=(0,te.GW)(()=>this.actions$.pipe((0,te.l4)(pe),(0,Ye.U)(()=>hr.setPromptThresholds({sms:this.settingsManager.getGeneralPwaPermissionsPopupSms(),push:this.settingsManager.getGeneralPwaPermissionsPopupPush(),install:this.settingsManager.getGeneralPwaPermissionsPopupInstall()})))),this.routerNavigated$=(0,te.GW)(()=>this.actions$.pipe((0,te.l4)(We.CE),(0,Ye.U)(()=>hr.increaseActionsCount()))),this.userPushToken$=(0,te.GW)(()=>this.actions$.pipe((0,te.l4)(hr.syncUserPushToken),(0,Q.w)(()=>this.authService.syncUserPushToken().pipe((0,Ye.U)(()=>hr.syncUserPushTokenDidSuccess()),(0,it.K)(()=>(0,tt.of)(hr.syncUserPushTokenDidFail()))))))}}return(he=Ae).\u0275fac=function(oe){return new(oe||he)(s.LFG(te.eX),s.LFG(N.pzk),s.LFG(Yt),s.LFG(N.e80))},he.\u0275prov=s.Yz7({token:he,factory:he.\u0275fac}),Ae})();var It=r(18239),ln=r(59181),Pn=r(30435);let pr=(()=>{var he;class Ae{}return(he=Ae).\u0275fac=function(oe){return new(oe||he)},he.\u0275mod=s.oAB({type:he}),he.\u0275inj=s.cJS({providers:[{provide:s.tb,useFactory:cr,deps:[Vn],multi:!0}],imports:[Qt.m,u.Aw.forFeature("pwa",It.I6),te.sQ.forFeature([Mr])]}),Ae})();function cr(he){return()=>{}}s.B6R(mn,function(){return[h.NgIf,ln.uh,ln.xY,Pn.a]},[]);var Ir=r(90368);class Xn{constructor(Ae,Qe,oe,Ne){this.elementRef=Ae,this.renderer=Qe,this.platform=oe,this.differs=Ne,this.fontChanged=new s.vpe,this.differ=null,this.firstCheck=!0,this.subscription=this.platform.deviceChanged.pipe((0,M.h)(()=>!!this.appliedFont)).subscribe(pt=>this.setCorrectFontSize(pt))}setFont(Ae){(!this.appliedFont||this.appliedFont!==Ae)&&(this.appliedFont=Ae),this.firstCheck&&(this.differ=this.differs.find(this.appliedFont||{}).create()),this.firstCheck=!1,this.applyChanges()}dispose(){this.subscription&&this.subscription.unsubscribe()}applyChanges(){if(this.differ){const Ae=this.differ.diff(this.appliedFont);Ae&&(Ae.forEachRemovedItem(Qe=>this.setStyle(Qe.key,null)),Ae.forEachAddedItem(Qe=>this.setStyle(Qe.key,Qe.currentValue)),Ae.forEachChangedItem(Qe=>this.setStyle(Qe.key,Qe.currentValue)))}this.appliedFont&&this.setCorrectFontSize(this.platform.deviceType)}setStyle(Ae,Qe){let oe,Ne;switch(Ae){case"weight":case"style":case"family":case"variant":case"size":oe="font-"+Ae;break;case"lineHeight":oe="line-height";break;case"color":oe="color"}Ne="family"===Ae?`${Qe}, 'Roboto'`:Qe,oe&&(typeof Qe<"u"?this.renderer.setStyle(this.elementRef.nativeElement,oe,Qe):this.renderer.removeStyle(this.elementRef.nativeElement,oe))}setCorrectFontSize(Ae){let Qe;switch(Ae){case"desktop":Qe=this.appliedFont.desktopSize;break;case"tablet":Qe=this.appliedFont.tabletSize;break;case"mobile":Qe=this.appliedFont.size}this.renderer.setStyle(this.elementRef.nativeElement,"font-size",`${Qe}px`),this.fontChanged.emit(this.appliedFont)}}let je=(()=>{var he;class Ae{constructor(oe,Ne){this.platform=oe,this.differs=Ne}createFontRenderer(oe,Ne){return new Xn(oe,Ne,this.platform,this.differs)}}return(he=Ae).\u0275fac=function(oe){return new(oe||he)(s.LFG(N.mix),s.LFG(s.aQg))},he.\u0275prov=s.Yz7({token:he,factory:he.\u0275fac}),Ae})();const bt="/assets/gbicon/img/v",Gt="/assets/gbicon/img/materialicons-";let en=(()=>{var he;class Ae{constructor(oe,Ne,pt,Tt,$t,dn){this.platform=oe,this.settingsManager=Ne,this.colorImageManager=pt,this.memoryCache=Tt,this.httpClient=$t,this.doc=dn}loadIcons(){if(this.doc.head.querySelector("#gbicons"))return;const oe=this.doc.createElement("link");oe.rel="preload",oe.id="gbicons",oe.setAttribute("as","style"),oe.href="https://back.ww-cdn.com/assets/css/gbicons.min.css",oe.setAttribute("onload","this.onload=null;this.rel='stylesheet'"),this.doc.head.appendChild(oe)}loadCustomCssStylesheet(){if(this.doc.head.querySelector("#custom-icons"))return;const oe=this.doc.createElement("link");oe.setAttribute("rel","stylesheet"),oe.setAttribute("id","custom-icons"),oe.setAttribute("href",`${this.settingsManager.getCdnBaseUrl(!0)}/apiv3/icons/svg/custom.css?v=${this.settingsManager.timestamp}`),this.doc.head.appendChild(oe)}isCssGlyph(oe){const Ne=this.iconUrlIsCustomImage(oe.identifier),pt=this.isSvg(oe);return!(oe.isColored||pt||this.iconUrlIsExternalMask(oe.identifier)||Ne||this.platform.isAmpApp)}getCssGlyphClass(oe){this.loadIcons();let Ne="gbicongeneric",pt=this.getIconId(oe.identifier);if(!pt)return[];if(this.isGBCssIcon(oe.identifier)){const Tt=oe.identifier.split(bt)[1][0];Ne=`gbiconv${Tt}`,pt=`icon-gbiconv${Tt}-${pt}`}else this.isPersoIcon(oe.identifier)?(Ne="custom",pt=`icon-perso-${pt.split("-").shift()}`,this.loadCustomCssStylesheet()):pt=/^icon/g.test(oe.identifier)?pt.replace("icon-","icon-gbicongeneric-").toLowerCase():`icon-gbicongeneric-${pt.toLowerCase()}`;return[Ne,pt]}getImageIconUrl(oe,Ne){let pt="";const Tt=this.iconUrlIsCustomImage(oe.identifier);return pt=oe.isColored||Tt?`${oe.identifier}?v=${this.settingsManager.timestamp}`:this.colorImageManager.createColorImageUrl(oe.identifier,Ne),pt}isPersoIcon(oe){return/\/apiv3\/(release\/iphone\/[0-9]+\/)?icons\//g.test(oe)}isGBCssIcon(oe){return oe&&oe.indexOf(bt)>-1||!1}isPreviewPattern(oe){return oe&&oe.indexOf("/assets/img/gbpreview/iphone/")>-1||!1}isSvg(oe){return oe&&oe.identifier&&oe.identifier.indexOf(Gt)>-1||!1}getSvg(oe){const Ne=this.pngToSvgPath(oe.identifier);return this.memoryCache.get(oe.identifier,this.httpClient.get(Ne,{context:(new ge.qT).set(rn.CN,!0),responseType:"text"}),1/0)}getIconId(oe){return oe?oe.split("/").pop().split(".").shift():null}iconUrlIsExternalMask(oe){return/\.png/.test(oe)&&!this.isPersoIcon(oe)&&!this.isGBCssIcon(oe)&&!this.isPreviewPattern(oe)&&-1===oe.indexOf("/assets/gbicon/img/generic")&&(oe.startsWith("//")||oe.startsWith("http"))}iconUrlIsCustomImage(oe){return/\/apiv3\/icons\/color\/[0-9]+\.png(?:\?.*)?$/gi.test(oe)}pngToSvgPath(oe){const Ne=new RegExp(`(${Gt}\\w+)\\/\\d+\\/(\\d+)\\.png$`);return oe.replace(Ne,"$1/svg/$2.svg")}}return(he=Ae).\u0275fac=function(oe){return new(oe||he)(s.LFG(N.mix),s.LFG(N.pzk),s.LFG(N.h0N),s.LFG(er.P),s.LFG(ge.eN),s.LFG(h.DOCUMENT))},he.\u0275prov=s.Yz7({token:he,factory:he.\u0275fac,providedIn:"root"}),Ae})();class Tn{constructor(Ae,Qe,oe,Ne){this.elementRef=Ae,this.renderer=Qe,this.platform=oe,this.differs=Ne,this.fontChanged=new s.vpe,this.differ=null,this.firstCheck=!0,this.deviceSubscription=this.platform.deviceChanged.pipe((0,M.h)(()=>!!this.appliedFont)).subscribe(pt=>this.setCorrectFontSize(pt)),this.previewSubscription=this.platform.previewService.fontLevelUpdated.pipe((0,M.h)(pt=>"object"==typeof pt),(0,M.h)(pt=>this.appliedFont&&pt.level===this.appliedFont.previewLevel),(0,Ye.U)(()=>this.getUiStyleFont())).subscribe(pt=>this.setFont(pt))}setFont(Ae){(!this.appliedFont||this.appliedFont!==Ae)&&(this.appliedFont=Ae);const Qe=this.getUiStyleFont();Qe&&(this.appliedFont=Qe),this.firstCheck&&(this.differ=this.differs.find(this.appliedFont||{}).create()),this.firstCheck=!1,this.applyChanges()}dispose(){this.deviceSubscription&&this.deviceSubscription.unsubscribe(),this.previewSubscription&&this.previewSubscription.unsubscribe()}applyChanges(){if(this.differ){const Ae=this.differ.diff(this.appliedFont);Ae&&(Ae.forEachRemovedItem(Qe=>this.setStyle(Qe.key,null)),Ae.forEachAddedItem(Qe=>this.setStyle(Qe.key,Qe.currentValue)),Ae.forEachChangedItem(Qe=>this.setStyle(Qe.key,Qe.currentValue)))}this.appliedFont&&this.setCorrectFontSize(this.platform.deviceType)}setStyle(Ae,Qe){let oe,Ne;switch(Ae){case"weight":case"style":case"family":case"variant":case"size":oe="font-"+Ae;break;case"lineHeight":oe="line-height";break;case"color":oe="color"}Ne="family"===Ae?`${Qe}, 'Roboto'`:Qe,oe&&(typeof Qe<"u"?this.renderer.setStyle(this.elementRef.nativeElement,oe,Ne):this.renderer.removeStyle(this.elementRef.nativeElement,oe))}setCorrectFontSize(Ae){let Qe;switch(Ae){case"desktop":Qe=this.appliedFont.desktopSize;break;case"tablet":Qe=this.appliedFont.tabletSize;break;case"mobile":Qe=this.appliedFont.size}this.renderer.setStyle(this.elementRef.nativeElement,"font-size",`${Qe}px`),this.fontChanged.emit(this.appliedFont)}getUiStyleFont(){if(this.appliedFont&&this.appliedFont.previewLevel&&this.platform.previewService.fontLevels.size>0){const Ae=this.platform.previewService.fontLevels.get(this.appliedFont.previewLevel),oe=new N.T7s({color:this.appliedFont.color,fontType:this.appliedFont.family,size:+this.appliedFont.size,tabletSize:+this.appliedFont.tabletSize,desktopSize:+this.appliedFont.desktopSize,level:this.appliedFont.previewLevel,...Ae}).toGBUIKitModel();return{...this.appliedFont,...oe}}return null}}let qn=(()=>{var he;class Ae{constructor(oe,Ne){this.platform=oe,this.differs=Ne}createFontRenderer(oe,Ne){return new Tn(oe,Ne,this.platform,this.differs)}}return(he=Ae).\u0275fac=function(oe){return new(oe||he)(s.LFG(N.mix),s.LFG(s.aQg))},he.\u0275prov=s.Yz7({token:he,factory:he.\u0275fac}),Ae})(),Gn=(()=>{var he;class Ae{}return(he=Ae).\u0275fac=function(oe){return new(oe||he)},he.\u0275mod=s.oAB({type:he}),he.\u0275inj=s.cJS({providers:[{provide:Ir.jW,useFactory:Ee,deps:[N.IFQ,N.mix,s.aQg]},{provide:Ir.nW,useExisting:en}]}),Ae})();function Ee(he,Ae,Qe){return"preview"===he?new qn(Ae,Qe):new je(Ae,Qe)}var at=r(21163),nn=r(891);let vn=(()=>{var he;class Ae{constructor(oe,Ne,pt){this.transferState=oe,this.platform=Ne,this.serverContext=pt}intercept(oe,Ne){if(!oe.context.get(nn.C)||!this.transferState)return Ne.handle(oe);const Tt=(0,s.Cb6)(oe.urlWithParams+(oe.body?JSON.stringify(oe.body):""));if(this.transferState.hasKey(Tt)&&(!this.platform.isIOS||!this.platform.isStandaloneMode)){const $t=this.transferState.get(Tt,null);return this.transferState.remove(Tt),(0,tt.of)(new ge.Zn($t))}return Ne.handle(oe).pipe((0,ee.b)($t=>{$t instanceof ge.Zn&&!this.platform.isBrowser&&this.serverContext&&!this.serverContext.appShellRendering&&this.transferState.set(Tt,$t)}))}}return(he=Ae).\u0275fac=function(oe){return new(oe||he)(s.LFG(s.kie,8),s.LFG(N.mix),s.LFG(at.C9,8))},he.\u0275prov=s.Yz7({token:he,factory:he.\u0275fac}),Ae})(),jn=(()=>{var he;class Ae{}return(he=Ae).\u0275fac=function(oe){return new(oe||he)},he.\u0275mod=s.oAB({type:he}),he.\u0275inj=s.cJS({providers:[{provide:ge.TP,useClass:vn,multi:!0}]}),Ae})(),In=(()=>{var he;class Ae{constructor(oe){if(oe)throw new Error("CoreModule is already loaded. Import it in the AppModule only")}}return(he=Ae).\u0275fac=function(oe){return new(oe||he)(s.LFG(he,12))},he.\u0275mod=s.oAB({type:he}),he.\u0275inj=s.cJS({providers:[n.Dx],imports:[h.CommonModule,En,jn,Ce,pr,on,Cr,xt,Gn,jn]}),Ae})();var Qn=r(17105);let ni=(()=>{var he;class Ae{}return(he=Ae).\u0275fac=function(oe){return new(oe||he)},he.\u0275mod=s.oAB({type:he}),he.\u0275inj=s.cJS({}),Ae})();var Kr,jr=r(6147),no=r(32525);const ki=["lazyRootHost"];class Pr{constructor(Ae){this.settingsManager=Ae}ngOnInit(){switch(this.type=this.settingsManager.getRootType(),this.type){case"TabBar":Promise.all([r.e(5347),r.e(4135),r.e(8592),r.e(4109)]).then(r.bind(r,34109)).then(Ae=>Ae.TabBarModule.entryComponent).then(Ae=>this.injectComponent(Ae));break;case"LittleSwipe":Promise.all([r.e(5347),r.e(4135),r.e(8592),r.e(3636)]).then(r.bind(r,43636)).then(Ae=>Ae.LittleSwipeModule.entryComponent).then(Ae=>this.injectComponent(Ae));break;case"Swipe":Promise.all([r.e(5347),r.e(4135),r.e(8592),r.e(2969)]).then(r.bind(r,42969)).then(Ae=>Ae.SwipeModule.entryComponent).then(Ae=>this.injectComponent(Ae));break;case"Slate":Promise.all([r.e(5347),r.e(4135),r.e(8592),r.e(7318)]).then(r.bind(r,7318)).then(Ae=>Ae.SlateModule.entryComponent).then(Ae=>this.injectComponent(Ae));break;case"OldGrid":Promise.all([r.e(5347),r.e(8258),r.e(4135),r.e(4207),r.e(8592),r.e(6331)]).then(r.bind(r,6331)).then(Ae=>Ae.OldGridModule.entryComponent).then(Ae=>this.injectComponent(Ae));break;case"FloatingTabBar":Promise.all([r.e(5347),r.e(4135),r.e(8592),r.e(524)]).then(r.bind(r,60524)).then(Ae=>Ae.FloatingTabBarModule.entryComponent).then(Ae=>this.injectComponent(Ae));break;case"Scratch":Promise.all([r.e(5347),r.e(17),r.e(4135),r.e(1929)]).then(r.bind(r,11929)).then(Ae=>Ae.RootScratchComponent).then(Ae=>this.injectComponent(Ae));break;case"Ghost":Promise.all([r.e(5347),r.e(4135),r.e(851)]).then(r.bind(r,10851)).then(Ae=>Ae.RootGhostComponent).then(Ae=>this.injectComponent(Ae))}}injectComponent(Ae){const Qe=this.host;return Qe.clear(),Qe.createComponent(Ae).instance}}(Kr=Pr).\u0275fac=function(Ae){return new(Ae||Kr)(s.Y36(N.pzk))},Kr.\u0275cmp=s.Xpm({type:Kr,selectors:[["gb-root"]],viewQuery:function(Ae,Qe){if(1&Ae&&s.Gf(ki,7,s.s_b),2&Ae){let oe;s.iGM(oe=s.CRH())&&(Qe.host=oe.first)}},decls:2,vars:0,consts:[["lazyRootHost",""]],template:function(Ae,Qe){1&Ae&&s.GkF(0,null,0)},encapsulation:2}),(0,a.gn)([(0,F.Jh)("root-type"),(0,a.w6)("design:type",Function),(0,a.w6)("design:paramtypes",[]),(0,a.w6)("design:returntype",void 0)],Pr.prototype,"ngOnInit",null);var Xr=r(54751);const vi=r(24583);let Hr=(()=>{var he;class Ae{}return(he=Ae).\u0275fac=function(oe){return new(oe||he)},he.\u0275mod=s.oAB({type:he}),he.\u0275inj=s.cJS({providers:[Me,{provide:s.ip1,useFactory:Kn,deps:[Me],multi:!0},{provide:p.wN,useClass:D.Sh},{provide:N.hbJ,useFactory:Ri,deps:[D.n2,N.pzk,N.mix]},{provide:N.lkD,useFactory:me.lz},{provide:We.GC,useClass:I.p$}],imports:[ge.JF,In,Qt.m,ni,le.xu,u.Aw.forRoot(N.lkD,{runtimeChecks:{strictStateImmutability:!0,strictActionImmutability:!1}}),te.sQ.forRoot([me.md]),We.Qi.forRoot({serializer:We.lI}),vt,Qn.y,Te]}),Ae})();function Kn(he){return()=>he.initializeSettings()}function Ri(he,Ae,Qe){if(!Qe.isBrowser)return"";(0,s.f3M)(N.LDJ);const oe="gbident";let Ne=he.getItem(oe);return Ne||(Ne=vi(Ae.getIdWebzine()+performance.now()),he.setItem(oe,Ne)),Ne}s.B6R(V,function(){return[jr.U,h.NgIf,no.M,Pr,Xr.j]},[]);var yi=r(15861);class xi{requestPermissions(){throw new Error("NoOpPushServiceError::NotImplementedError")}pingTokenNoDelay(){return(0,ut._)(()=>new Error("NoOpPushServiceError::NotImplementedError"))}}var Hi=r(26917);let ci=(()=>{var he;class Ae{constructor(oe,Ne,pt){this.http=oe,this.settingsManager=Ne,this.statsService=pt;const Tt=(0,c.dU)();this.apiKey=Tt.WMApiKey,this.apiSecret=Tt.WMApiSecret}subscribe(oe,Ne){const pt=(new ge.WM).set("API-KEY",this.apiKey).set("API-SECRET",this.apiSecret),Tt=this.settingsManager.getIdWebzine(),$t=`${Ae.baseUrl}subscriber/${Tt}/`,dn=this.settingsManager.getLang(),Bn=this.statsService.udid,Nn=new ge.LE({encoder:new N.HKf}).set("webzine_id",Tt.toString()).set("language",dn).set("udid",Bn).set("phone_number",oe.toString()).set("phone_prefix",Ne);return this.http.post($t,Nn,{headers:pt,observe:"response"}).pipe((0,Ye.U)(Nt=>({code:Nt.status,json:new N.sT0(Nt.body)})),(0,it.K)(Nt=>(0,ut._)({code:Nt.status})))}}return(he=Ae).baseUrl="https://sms.ww-api.com/smsapi/v1/",he.\u0275fac=function(oe){return new(oe||he)(s.LFG(ge.eN),s.LFG(N.pzk),s.LFG(Pt.O$))},he.\u0275prov=s.Yz7({token:he,factory:he.\u0275fac,providedIn:"root"}),Ae})();const Gi="smsPushAuthorization";let Bo=(()=>{var he;class Ae{constructor(oe,Ne,pt,Tt,$t,dn){this.dialogService=oe,this.languages=Ne,this.localStorage=pt,this.settingsManager=Tt,this.smsApi=$t,this.snackBar=dn}openDialog(){Promise.all([r.e(5635),r.e(2192),r.e(3434)]).then(r.bind(r,33434)).then(oe=>oe.SmsDialogComponent).then(oe=>{this.dialogRef=this.dialogService.openDialog(oe,{disableClose:!0}),this.dialogRef.afterClosed().pipe((0,M.h)(Ne=>Ne.save)).subscribe(Ne=>this.saveToLocalStorage(Ne.data)),this.dialogRef.componentInstance.submit.subscribe(Ne=>this.subscribe(Ne.phoneNumber,Ne.prefix))})}subscribe(oe,Ne){this.smsApi.subscribe(oe,Ne).subscribe(pt=>{const Tt=pt.json?pt.json.getString("service_number"):"";this.handleSuccess(pt.code,Tt)},pt=>this.handleError(pt.code))}shouldDisplayDialog(){const oe=this.getFromLocalStorage();return!oe||!0!==oe.value&&Date.now()-oe.timestamp>6048e5}handleSuccess(oe,Ne){const pt=this.settingsManager.getAppName();let Tt;200===oe||201===oe?(Tt=this.languages.getString("GB_TXT_381"),Tt=Tt.replace("[APP_NAME]",pt),this.snackBar.open(Tt,null,{duration:4e3}),this.dialogRef.close({save:!0,data:!0})):202===oe&&(Tt=this.languages.getString("GB_TXT_384"),Tt=Tt.replace("[APP_NAME]",pt),Tt=Tt.replace("[NUMBER]",Ne),this.dialogRef&&this.dialogRef.componentInstance&&this.dialogRef.componentInstance.error.next(Tt))}handleError(oe){const Ne=this.languages.getString("GB_TXT_383");this.dialogRef&&this.dialogRef.componentInstance&&this.dialogRef.componentInstance.error.next(Ne)}getFromLocalStorage(){const oe=this.localStorage.getItem(Gi);return JSON.parse(oe)}saveToLocalStorage(oe){const Ne={timestamp:Date.now(),value:oe};this.localStorage.setItem(Gi,JSON.stringify(Ne))}}return(he=Ae).\u0275fac=function(oe){return new(oe||he)(s.LFG(N.xAy),s.LFG(N.h8o),s.LFG(D.n2),s.LFG(N.pzk),s.LFG(ci),s.LFG(pn.ux))},he.\u0275prov=s.Yz7({token:he,factory:he.\u0275fac,providedIn:"root"}),Ae})();var Wi=r(50852);let Do=(()=>{var he;class Ae{static forRoot(oe){return{ngModule:Ae,providers:[{provide:Wi.d,useValue:oe},{provide:s.tb,useFactory:ro,deps:[Bo,N.pzk,D.MB],multi:!0},{provide:Hi.Pr,useFactory:Gr,deps:[Wi.d,D.O$,D.ev,N.mix,s.zs3]},{provide:s.tb,useFactory:Ne=>()=>{},deps:[Hi.Pr],multi:!0}]}}constructor(oe){if(oe)throw new Error("PushModule is already loaded.")}}return(he=Ae).\u0275fac=function(oe){return new(oe||he)(s.LFG(he,12))},he.\u0275mod=s.oAB({type:he}),he.\u0275inj=s.cJS({}),Ae})();function ro(he,Ae,Qe){return()=>{Ae.getSmsPushEnabled()&&he.shouldDisplayDialog()&&Qe.canPromptSms$.pipe((0,Je.P)(oe=>!!oe)).subscribe(()=>he.openDialog())}}function Gr(he,Ae,Qe,oe,Ne){return ri.apply(this,arguments)}function ri(){return(ri=(0,yi.Z)(function*(he,Ae,Qe,oe,Ne){let pt;return"serviceWorker"in oe.windowRef.navigator&&he.firebaseConfig?pt=yield(0,D.Wc)(Ne,()=>r.e(1510).then(r.bind(r,11510)).then(Tt=>Tt.FCMService)):(pt=new xi,Ae.ping()),pt})).apply(this,arguments)}let ui=(()=>{var he;class Ae{constructor(oe,Ne,pt,Tt,$t){this.settingsManager=oe,this.http=Ne,this.logger=pt,this.itemFactory=Tt,this.pageInfoFactory=$t}getItemsAggregationV2(oe,Ne){const pt={};Ne.forEach((dn,Bn)=>pt[Bn]=dn.toString());let Tt=new ge.WM;Tt=Tt.set("X-Data",JSON.stringify(pt)),Tt=Tt.set("Content-Type","text/plain");const $t=(new ge.qT).set(D.CN,!0);return this.http.get(oe,{headers:Tt,context:$t}).pipe((0,Ye.U)(dn=>{const Bn=new N.sT0(dn);if("ok"===Bn.getString(Ae.STAT)){const Nn={};return Ne.forEach((Nt,Xt)=>{const wn=Bn.getArray(Xt);Nn[Xt]=wn.filter(ce=>!!ce)}),Nn}throw dn}))}getItems(oe){let Ne,pt;return oe instanceof N.izS?(Ne=oe.url,pt=oe.toHttpParams()):Ne=oe,this.logger.info(`Fetching Items from ${Ne}`,pt),this.request(Ne,pt).pipe((0,Ye.U)(Tt=>this.handleItemsResponse(Tt)))}getItemsV2(oe,Ne=!1){let pt,Tt;return oe instanceof N.izS?(pt=oe.url,Tt=oe.toHttpParams()):pt=oe,this.logger.info(`Fetching Items from ${pt}`,Tt),this.requestV2(pt,Tt,Ne)}getItem(oe,Ne){const $t=`${this.settingsManager.getContentSourceBaseUrl(!1)}/front/get_item/${this.settingsManager.getIdWebzine()}/${oe}/${Ne}/`;return this.logger.info(`Fetching Single Item By Id from ${$t}`),this.request($t).pipe((0,Ye.U)(dn=>this.handleSingleItemResponse(dn)))}getItemV2(oe,Ne){const $t=`${this.settingsManager.getContentSourceBaseUrl(!1)}/front/get_item/${this.settingsManager.getIdWebzine()}/${oe}/${Ne}/`;return this.logger.info(`Fetching Single Item By Id from ${$t}`),this.requestV2($t)}getItemByUrl(oe,Ne){const $t=`${this.settingsManager.getContentSourceBaseUrl(!1)}/front/get_item_by_url/${this.settingsManager.getIdWebzine()}/${oe}/`,dn=new ge.LE({fromString:`url=${Ne}`});return this.logger.info(`Fetching Single Item from ${$t}`,dn),this.request($t,dn).pipe((0,Ye.U)(Bn=>this.handleSingleItemResponse(Bn)))}getRestrictedItem(oe,Ne){const $t=`${this.settingsManager.getContentSourceBaseUrl(!1)}/front/restricted/get_item/${this.settingsManager.getIdWebzine()}/${oe}/${Ne}/`;return this.logger.info(`Fetching Single Restricted Item By Id from ${$t}`),this.requestV2($t,null,!0)}getRestrictedItemsAggregation(oe){const Tt=`${this.settingsManager.getContentSourceBaseUrl(!1)}/front/restricted/items_aggregate/${this.settingsManager.getIdWebzine()}/`;this.logger.info(`Fetching Aggreagation of Restricted Items from ${Tt}`);const $t=(new ge.qT).set(D.GU,!0);let dn=new ge.LE;return oe.forEach((Bn,Nn)=>dn=dn.set(Nn,Bn.join(","))),this.http.get(Tt,{params:dn,context:$t}).pipe((0,Ye.U)(Bn=>{if("ok"!==Bn.stat)throw Bn;return Bn}))}handleItemsResponse(oe){if("ok"===oe.getString(Ae.STAT)){let Ne=oe.getArray(Ae.ITEMS);const pt=new N.sy0;let Tt=!1;Ne||(Ne=oe.getArray(Ae.USERS),Tt=!0),Ne&&(pt.items=Ne.map(dn=>new N.sT0(dn)).map(dn=>Tt?this.itemFactory.createUser(dn):this.itemFactory.createItem(dn)).filter(dn=>!!dn));let $t=oe.getJsonObject(Ae.PAGE_INFO);return $t||($t=oe.getJsonObject(Ae.ACCOUNT_INFO)),$t&&(pt.pageinfo=this.pageInfoFactory.createItem($t)),pt.nextPage=oe.getString(Ae.NEXT_PAGE,null),pt.noCacheUrl=oe.getString(Ae.NO_CACHE_URL,null),pt}throw oe}handleSingleItemResponse(oe){if("ok"===oe.getString(Ae.STAT)){const Ne=oe.getArray(Ae.ITEMS);if(Ne.length)return this.itemFactory.createItem(new N.sT0(Ne[0]))}throw oe}request(oe,Ne){return this.http.get(oe,{params:Ne,context:(new ge.qT).set(D.CN,!0)}).pipe((0,Ye.U)(pt=>new N.sT0(pt)),(0,it.K)(pt=>{const Tt=new N.sT0(pt.error);return Tt.setBoolean(N.M_R,pt.status===Ae.GONE_FISHING_STATUS_CODE),(0,ut._)(Tt)}))}requestV2(oe,Ne,pt=!1){let Tt=(new ge.qT).set(D.CN,!0);return pt&&(Tt=Tt.set(D.GU,!0)),this.http.get(oe,{params:Ne,context:Tt}).pipe((0,Ye.U)($t=>{if("ok"!==$t.stat)throw $t;return $t}))}}return(he=Ae).ITEMS="items",he.STAT="stat",he.USERS="users",he.PAGE_INFO="page_info",he.ACCOUNT_INFO="account_info",he.NEXT_PAGE="next_page",he.NO_CACHE_URL="no_cache_url",he.GONE_FISHING_STATUS_CODE=410,he.\u0275fac=function(oe){return new(oe||he)(s.LFG(N.pzk),s.LFG(ge.eN),s.LFG(N.YdH),s.LFG(N.HP0),s.LFG(N.EDh))},he.\u0275prov=s.Yz7({token:he,factory:he.\u0275fac}),Ae})(),bi=(()=>{var he;class Ae extends ui{constructor(oe,Ne,pt,Tt,$t){super(oe,Ne,pt,Tt,$t)}getItems(oe){let Ne,pt;return oe instanceof N.izS?(Ne=oe.url,pt=oe.toHttpParams()):(Ne=oe,pt=new ge.LE({fromString:"local=1"})),this.logger.info(`Fetching Items from Local ${Ne}`,pt),this.request(Ne,pt).pipe((0,Ye.U)(Tt=>this.handleItemsResponse(Tt)))}getItemsV2(oe,Ne=!1){let pt,Tt;return oe instanceof N.izS?(pt=oe.url,Tt=oe.toHttpParams()):(pt=oe,Tt=new ge.LE({fromString:"local=1"})),this.logger.info(`Fetching Items from Local ${pt}`,Tt),this.requestV2(pt,Tt,Ne)}getItem(oe,Ne){const $t=`${this.settingsManager.getContentSourceBaseUrl(!0)}/front/get_item/${this.settingsManager.getIdWebzine()}/${oe}/${Ne}/`;this.logger.info(`Fetching Single Item By Id from ${$t}`);const dn=new ge.LE({fromString:"local=1"});return this.request($t,dn).pipe((0,Ye.U)(Bn=>this.handleSingleItemResponse(Bn)))}getItemV2(oe,Ne){const $t=`${this.settingsManager.getContentSourceBaseUrl(!1)}/front/get_item/${this.settingsManager.getIdWebzine()}/${oe}/${Ne}/`;this.logger.info(`Fetching Single Item By Id from ${$t}`);const dn=new ge.LE({fromString:"local=1"});return this.requestV2($t,dn)}getItemByUrl(oe,Ne){const $t=`${this.settingsManager.getContentSourceBaseUrl(!0)}/front/get_item_by_url/${this.settingsManager.getIdWebzine()}/${oe}/`,dn=new ge.LE({fromString:`url=${Ne}`}).set("local","1");return this.logger.info(`Fetching Single Item from ${$t}`,dn),this.request($t,dn).pipe((0,Ye.U)(Bn=>this.handleSingleItemResponse(Bn)))}getRestrictedItem(oe,Ne){const $t=`${this.settingsManager.getContentSourceBaseUrl(!1)}/front/restricted/get_item/${this.settingsManager.getIdWebzine()}/${oe}/${Ne}/`;this.logger.info(`Fetching Single Restricted Item By Id from ${$t}`);const dn=new ge.LE({fromString:"local=1"});return this.requestV2($t,dn,!0)}getRestrictedItemsAggregation(oe){const Tt=`${this.settingsManager.getContentSourceBaseUrl(!1)}/front/restricted/items_aggregate/${this.settingsManager.getIdWebzine()}/`;this.logger.info(`Fetching Aggreagation of Restricted Items from ${Tt}`);const $t=(new ge.qT).set(D.GU,!0);let dn=new ge.LE({fromString:"local=1"});return oe.forEach((Bn,Nn)=>dn=dn.set(Nn,Bn.join(","))),this.http.get(Tt,{params:dn,context:$t}).pipe((0,Ye.U)(Bn=>{if("ok"!==Bn.stat)throw Bn;return Bn}))}}return(he=Ae).\u0275fac=function(oe){return new(oe||he)(s.LFG(N.pzk),s.LFG(ge.eN),s.LFG(N.YdH),s.LFG(N.HP0),s.LFG(N.EDh))},he.\u0275prov=s.Yz7({token:he,factory:he.\u0275fac}),Ae})();var Ur=r(54653),Vi=r(15973);let Ei=(()=>{var he;class Ae{constructor(oe,Ne,pt){this.defaultBaseUrl=oe,this.http=Ne,this.logger=pt,this.setDefaultBaseUrl()}getSettings(){const oe=`${this.baseUrl}/apiv4/getSettings`,Ne=new ge.LE({fromString:"platform=webapp"});let pt;return this.logger.info(`Fetching Settings from ${oe}`),pt="fetch"in window?(0,Vi.D)(fetch(oe+"?"+Ne.toString()).then(Tt=>Tt.json().then($t=>({headers:Tt.headers,body:$t})))):this.http.get(oe,{params:Ne,observe:"response"}),pt.pipe((0,Ur.V)(2e4),(0,Ut.X)(1),(0,Ye.U)(Tt=>({appActive:!Tt.headers.has("X-GB-Active")||"YES"===Tt.headers.get("X-GB-Active"),appSettings:Tt.body,timestamp:this.getJsonTimestamp(Tt.headers.get("Last-Modified"))})))}getLanguages(oe){const Ne=`${this.baseUrl}/apiv3/getLanguage`;return this.logger.info(`Fetching Languages from ${Ne}`),"fetch"in window?(0,Vi.D)(fetch(Ne).then(pt=>pt.json())):this.http.get(Ne).pipe((0,Ur.V)(2e4),(0,Ut.X)(1))}setDefaultBaseUrl(){this.baseUrl=this.defaultBaseUrl,this.logger.info(`Settings Api Base Url: ${this.baseUrl}`)}getJsonTimestamp(oe){const Ne=new Date(oe);return Math.round(Ne.getTime()/1e3)}}return(he=Ae).\u0275fac=function(oe){return new(oe||he)(s.LFG(N.avX),s.LFG(ge.eN),s.LFG(N.YdH))},he.\u0275prov=s.Yz7({token:he,factory:he.\u0275fac}),Ae})(),fo=(()=>{var he;class Ae extends Ei{constructor(oe,Ne,pt,Tt){super(oe,Ne,pt),this.location=Tt}getSettings(){const oe=`${this.baseUrl}/apiv4/getLocalSettings`;let Ne;return Ne=this.location.search.startsWith("?")?new ge.LE({fromString:`${this.location.search.replace("?","")}&platform=webapp`}):new ge.LE({fromString:"platform=webapp"}),this.logger.info(`Fetching Settings from ${oe}`),this.http.get(oe,{params:Ne}).pipe((0,Ur.V)(2e4),(0,Ut.X)(1),(0,Ye.U)(pt=>({appActive:!0,appSettings:pt,timestamp:Math.round(Date.now()/1e3)})))}getLanguages(oe){const Ne=`${this.baseUrl}/apiv3/getLanguage`;this.logger.info(`Fetching Languages from ${Ne}`);const pt=new ge.LE({fromString:`lg=${oe}`}).set("v",Date.now().toString());return this.http.get(Ne,{params:pt}).pipe((0,Ur.V)(2e4),(0,Ut.X)(1))}}return(he=Ae).\u0275fac=function(oe){return new(oe||he)(s.LFG(N.avX),s.LFG(ge.eN),s.LFG(N.YdH),s.LFG(h.PlatformLocation))},he.\u0275prov=s.Yz7({token:he,factory:he.\u0275fac}),Ae})(),di=(()=>{var he;class Ae extends s.qLn{constructor(oe,Ne){super(),this.appType=oe,this.settingsManager=Ne,this.env=(0,c.dU)()}handleError(oe){const Ne=!!this.settingsManager.getCommerceBagSectionId(),pt=this.settingsManager.getDebug(),Tt=this.settingsManager.getErrorReportingEnabled();if("preview"===this.appType||this.env.production&&(Ne||Tt)){const $t=this.extractError(oe)||"Handled unknown error";r.e(355).then(r.bind(r,80355)).then(dn=>dn.captureException($t))}(pt||!this.env.production)&&super.handleError(oe)}extractError(oe){return oe&&oe.ngOriginalError&&(oe=oe.ngOriginalError),"string"==typeof oe||oe instanceof Error?oe:oe instanceof ge.UA?oe.error instanceof Error?oe.error:oe.error instanceof ErrorEvent?oe.error.message:"string"==typeof oe.error?`Server returned code ${oe.status} with body "${oe.error}"`:oe.message:null}}return(he=Ae).\u0275fac=function(oe){return new(oe||he)(s.LFG(N.IFQ),s.LFG(N.pzk))},he.\u0275prov=s.Yz7({token:he,factory:he.\u0275fac}),Ae})(),Fi=(()=>{var he;class Ae{constructor(oe){this.doc=oe,this.storedCookies=new Map,this.storeCookies()}getCookie(oe){return this.storedCookies.get(oe)}setCookie(oe,Ne,pt=1,Tt="",$t="/"){const dn=new Date;dn.setDate(dn.getDate()+pt);const Bn=[`${oe}=${Ne}`,`expires=${dn.toUTCString()}`,`path=${$t}`];Tt&&Bn.push(`domain=${Tt}`),this.doc.cookie=Bn.join(";"),this.storedCookies.set(oe,Ne)}deleteCookie(oe){this.setCookie(oe,"",-1),this.storedCookies.delete(oe)}storeCookies(){this.doc.cookie.split(";").map(oe=>oe.trim().split("=")).forEach(oe=>{const Ne=oe.shift();this.storedCookies.set(Ne,oe.join("="))})}}return(he=Ae).\u0275fac=function(oe){return new(oe||he)(s.LFG(h.DOCUMENT))},he.\u0275prov=s.Yz7({token:he,factory:he.\u0275fac}),Ae})();var Li=r(80697);let Ci=(()=>{var he;class Ae{constructor(oe){this.logger=oe}getItem(oe){try{return localStorage.getItem(oe)}catch{return this.logger.warning("Failed to retrieve storage item",{key:oe}),null}}setItem(oe,Ne){try{localStorage.setItem(oe,Ne)}catch{this.logger.warning("Failed to set item into storage",{key:oe,value:Ne})}}clear(){try{localStorage.clear()}catch{this.logger.warning("Failed to clear storage")}}key(oe){try{return localStorage.key(oe)}catch{return this.logger.warning("Failed to get a specific key in storage at index"+oe),null}}removeItem(oe){try{localStorage.removeItem(oe)}catch{this.logger.warning("Failed to remove item from storage",{key:oe})}}getAllKeys(oe=""){const Ne=[];try{for(const pt in localStorage)if(pt.startsWith(oe)){const Tt=pt.replace(oe,"");Ne.push(Tt)}}catch{this.logger.warning("Failed to retrieve all storage keys")}return Ne}}return(he=Ae).\u0275fac=function(oe){return new(oe||he)(s.LFG(Li.Y))},he.\u0275prov=s.Yz7({token:he,factory:he.\u0275fac}),Ae})(),go=(()=>{var he;class Ae{}return(he=Ae).\u0275fac=function(oe){return new(oe||he)},he.\u0275mod=s.oAB({type:he,bootstrap:[V]}),he.\u0275inj=s.cJS({providers:[b(),{provide:s.AFp,useValue:"gb-app"},(0,n.ly)((0,n.QL)()),{provide:s.qLn,useClass:di},{provide:N.avX,useFactory:fi,deps:[N.IFQ,N.m9D]},{provide:D.ps,useClass:(0,c.dU)().production?Ei:fo},{provide:D.HS,useClass:(0,c.dU)().production?ui:bi},{provide:D.n2,useClass:Ci},{provide:D.N_,useClass:Fi},{provide:N.m9D,useFactory:io},{provide:N.IFQ,useFactory:hi,deps:[N.m9D]},{provide:N.VMC,useValue:{mockData:!1}},{provide:N.TUd,useValue:{mockData:!1}},{provide:N.j0M,useValue:{mockData:!1}},{provide:N.qRm,useValue:{mockData:!1}},{provide:s.tb,useFactory:oo,deps:[D.Jf,N.pzk],multi:!0},{provide:s.tb,useFactory:Yi,deps:[D.g$],multi:!0},{provide:D.mK,useExisting:D.O$,multi:!0},{provide:D.mK,useExisting:D.nq,multi:!0},{provide:D.eH,useClass:D.r0,multi:!0},{provide:D.eH,useClass:D.I$,multi:!0},{provide:p.Hx,useClass:D.ly},{provide:n.ok,useClass:D.ao}],imports:[n.b2,p.Bz.forRoot([]),Do.forRoot({firebaseConfig:(0,c.dU)().firebaseConfig}),Hr,n.t6]}),Ae})();function io(){return window}function hi(he){return"Cypress"in he?"e2e":"customer"}function fi(he,Ae){if("e2e"===he)return Ae.localStorage.getItem("e2eApiBaseUrl");let Qe;return"localhost"===location.hostname&&(Qe=(0,c.dU)().defaultBaseUrl),(!Qe||""===Qe)&&(Qe=location.origin),Qe}function oo(he,Ae){return()=>{if(!document.getElementById("gbicons")){const Qe=document.createElement("link");Qe.rel="stylesheet",Qe.href="https://back.ww-cdn.com/assets/css/gbicons.min.css",Qe.id="gbicons",document.head.appendChild(Qe)}}}function Yi(he){return()=>{}}(0,c.dU)().production&&(0,s.G48)(),document.addEventListener("DOMContentLoaded",()=>{n.q6().bootstrapModule(go).then(he=>{if(!(0,c.dU)().production){const Qe=he.injector.get(s.z2F).components[0];(0,n.HJ)(Qe)}}).catch(he=>{(0,c.dU)().production||console.error(he)})})},21163:(_e,R,r)=>{"use strict";r.d(R,{C9:()=>s});const s=new(r(77533).OlP)("Server Initial Context")},17675:(_e,R,r)=>{"use strict";r.d(R,{Ap:()=>v.Ap,of:()=>h.o,B_:()=>_.B,uf:()=>h.u,j6:()=>b});var n=r(50980),s=r(14565),c=r(55704),h=r(90564),v=r(47017),_=r(49485),m=r(77533);let b=(()=>{var p;class D{}return(p=D).\u0275fac=function(u){return new(u||p)},p.\u0275mod=m.oAB({type:p}),p.\u0275inj=m.cJS({imports:[s.CommonModule,n.ZD,c.BQ,n.ZD,c.BQ]}),D})();m.B6R(h.o,[s.NgIf,v.h8],[]),m.B6R(h.u,[s.NgIf,_.H],[])},90564:(_e,R,r)=>{"use strict";r.d(R,{o:()=>k,u:()=>I});var n=r(85572),s=r(77533),c=r(9739),h=r(17343),v=r(25167),_=r(30018),m=r(19839),b=r(36305),p=r(49804),D=r(47017),a=r(49485),u=r(83894),E=r(50980);function T(F,P){if(1&F){const H=s.EpF();s.TgZ(0,"div",2),s.NdJ("click",function(){s.CHM(H);const J=s.oxw();return s.KtG(J._onBackdropClicked())}),s.qZA()}if(2&F){const H=s.oxw();s.ekj("mat-drawer-shown",H._isShowingBackdrop())}}function M(F,P){1&F&&(s.TgZ(0,"gb-mat-drawer-content"),s.Hsn(1,2),s.qZA())}const B=[[["gb-mat-drawer"]],[["gb-mat-drawer-content"]],"*"],N=["gb-mat-drawer","gb-mat-drawer-content","*"];function W(F,P){if(1&F){const H=s.EpF();s.TgZ(0,"div",2),s.NdJ("click",function(){s.CHM(H);const J=s.oxw();return s.KtG(J._onBackdropClicked())}),s.qZA()}if(2&F){const H=s.oxw();s.ekj("mat-drawer-shown",H._isShowingBackdrop())}}function A(F,P){1&F&&(s.TgZ(0,"gb-mat-sidenav-content"),s.Hsn(1,2),s.qZA())}const X=[[["gb-mat-sidenav"]],[["gb-mat-sidenav-content"]],"*"],U=["gb-mat-sidenav","gb-mat-sidenav-content","*"],O='.mat-drawer-container{position:relative;z-index:1;color:var(--mat-sidenav-content-text-color);background-color:var(--mat-sidenav-content-background-color);box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{inset:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{inset:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible;background-color:var(--mat-sidenav-scrim-color)}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:.4s;transition-timing-function:cubic-bezier(.25,.8,.25,1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:.4s;transition-timing-function:cubic-bezier(.25,.8,.25,1);transition-property:transform,margin-left,margin-right}.mat-drawer{box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f;position:relative;z-index:4;--mat-sidenav-container-shape: 0;color:var(--mat-sidenav-container-text-color);background-color:var(--mat-sidenav-container-background-color);border-top-right-radius:var(--mat-sidenav-container-shape);border-bottom-right-radius:var(--mat-sidenav-container-shape);display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%,0,0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%,0,0);border-top-left-radius:var(--mat-sidenav-container-shape);border-bottom-left-radius:var(--mat-sidenav-container-shape);border-top-right-radius:0;border-bottom-right-radius:0}[dir=rtl] .mat-drawer{border-top-left-radius:var(--mat-sidenav-container-shape);border-bottom-left-radius:var(--mat-sidenav-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;transform:translate3d(100%,0,0)}[dir=rtl] .mat-drawer.mat-drawer-end{border-top-right-radius:var(--mat-sidenav-container-shape);border-bottom-right-radius:var(--mat-sidenav-container-shape);border-top-left-radius:0;border-bottom-left-radius:0;left:0;right:auto;transform:translate3d(-100%,0,0)}.mat-drawer[style*="visibility: hidden"]{display:none}.mat-drawer-side{box-shadow:none;border-right-color:var(--mat-sidenav-container-divider-color);border-right-width:1px;border-right-style:solid}.mat-drawer-side.mat-drawer-end,[dir=rtl] .mat-drawer-side{border-left-color:var(--mat-sidenav-container-divider-color);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side.mat-drawer-end{border-right-color:var(--mat-sidenav-container-divider-color);border-right-width:1px;border-right-style:solid;border-left:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}\n';let k=(()=>{var F;class P{get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize($){this._autosize=(0,n.Ig)($)}get hasBackdrop(){return this._drawerHasBackdrop(this._start)||this._drawerHasBackdrop(this._end)}set hasBackdrop($){this._backdropOverride=null==$?null:(0,n.Ig)($)}get scrollable(){return this._userContent||this._content}constructor($,J,V,le,ge,te=!1,We){this._dir=$,this._element=J,this._ngZone=V,this._changeDetectorRef=le,this._animationMode=We,this._drawers=new s.n_E,this.backdropClick=new s.vpe,this._destroyed=new c.x,this._doCheckSubject=new c.x,this._contentMargins={left:null,right:null},this._contentMarginChanges=new c.x,$&&$.change.pipe((0,v.R)(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),ge.change().pipe((0,v.R)(this._destroyed)).subscribe(()=>this.updateContentMargins()),this._autosize=te}ngAfterContentInit(){this._allDrawers.changes.pipe((0,_.O)(this._allDrawers),(0,v.R)(this._destroyed)).subscribe($=>{this._drawers.reset($.filter(J=>!J._container||J._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe((0,_.O)(null)).subscribe(()=>{this._validateDrawers(),this._drawers.forEach($=>{this._watchDrawerToggle($),this._watchDrawerPosition($),this._watchDrawerMode($)}),(!this._drawers.length||this._isDrawerOpen(this._start)||this._isDrawerOpen(this._end))&&this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(()=>{this._doCheckSubject.pipe((0,m.b)(10),(0,v.R)(this._destroyed)).subscribe(()=>this.updateContentMargins())})}ngOnDestroy(){this._contentMarginChanges.complete(),this._doCheckSubject.complete(),this._drawers.destroy(),this._destroyed.next(),this._destroyed.complete()}open(){this._drawers.forEach($=>$.open())}close(){this._drawers.forEach($=>$.close())}updateContentMargins(){let $=0,J=0;if(this._left&&this._left.opened)if("side"==this._left.mode)$+=this._left._getWidth();else if("push"==this._left.mode){const V=this._left._getWidth();$+=V,J-=V}if(this._right&&this._right.opened)if("side"==this._right.mode)J+=this._right._getWidth();else if("push"==this._right.mode){const V=this._right._getWidth();J+=V,$-=V}$=$||null,J=J||null,($!==this._contentMargins.left||J!==this._contentMargins.right)&&(this._contentMargins={left:$,right:J},this._ngZone.run(()=>this._contentMarginChanges.next(this._contentMargins)))}ngDoCheck(){this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(()=>this._doCheckSubject.next())}_watchDrawerToggle($){$._animationStarted.pipe((0,b.h)(J=>J.fromState!==J.toState),(0,v.R)(this._drawers.changes)).subscribe(J=>{"open-instant"!==J.toState&&"NoopAnimations"!==this._animationMode&&this._element.nativeElement.classList.add("mat-drawer-transition"),this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),"side"!==$.mode&&$.openedChange.pipe((0,v.R)(this._drawers.changes)).subscribe(()=>this._setContainerClass($.opened))}_watchDrawerPosition($){$&&$.onPositionChanged.pipe((0,v.R)(this._drawers.changes)).subscribe(()=>{this._ngZone.onMicrotaskEmpty.pipe((0,p.q)(1)).subscribe(()=>{this._validateDrawers()})})}_watchDrawerMode($){$&&$._modeChanged.pipe((0,v.R)((0,h.T)(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass($){const J=this._element.nativeElement.classList,V="mat-drawer-container-has-open";$?J.add(V):J.remove(V)}_validateDrawers(){this._start=this._end=null,this._drawers.forEach($=>{"end"==$.position?this._end=$:this._start=$}),this._right=this._left=null,this._dir&&"rtl"===this._dir.value?(this._left=this._end,this._right=this._start):(this._left=this._start,this._right=this._end)}_isPushed(){return this._isDrawerOpen(this._start)&&"over"!=this._start.mode||this._isDrawerOpen(this._end)&&"over"!=this._end.mode}_onBackdropClicked(){this.backdropClick.emit(),this._closeModalDrawersViaBackdrop()}_closeModalDrawersViaBackdrop(){[this._start,this._end].filter($=>$&&!$.disableClose&&this._drawerHasBackdrop($)).forEach($=>$._closeViaBackdropClick())}_isShowingBackdrop(){return this._isDrawerOpen(this._start)&&this._drawerHasBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._drawerHasBackdrop(this._end)}_isDrawerOpen($){return null!=$&&$.opened}_drawerHasBackdrop($){return null==this._backdropOverride?!!$&&"side"!==$.mode:this._backdropOverride}}return(F=P).\u0275fac=function($){return new($||F)(s.Y36(u.Is,8),s.Y36(s.SBq),s.Y36(s.R0b),s.Y36(s.sBO),s.Y36(E.rL),s.Y36(D.Fc),s.Y36(s.QbO,8))},F.\u0275cmp=s.Xpm({type:F,selectors:[["gb-mat-drawer-container"]],contentQueries:function($,J,V){if(1&$&&(s.Suo(V,D.h8,5),s.Suo(V,D.Ap,5)),2&$){let le;s.iGM(le=s.CRH())&&(J._content=le.first),s.iGM(le=s.CRH())&&(J._allDrawers=le)}},viewQuery:function($,J){if(1&$&&s.Gf(D.h8,5),2&$){let V;s.iGM(V=s.CRH())&&(J._userContent=V.first)}},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function($,J){2&$&&s.ekj("mat-drawer-container-explicit-backdrop",J._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["gbmatDrawerContainer"],features:[s._Bn([{provide:D.qH,useExisting:F}])],ngContentSelectors:N,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],[4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"]],template:function($,J){1&$&&(s.F$t(B),s.YNc(0,T,1,2,"div",0),s.Hsn(1),s.Hsn(2,1),s.YNc(3,M,2,0,"gb-mat-drawer-content",1)),2&$&&(s.Q6J("ngIf",J.hasBackdrop),s.xp6(3),s.Q6J("ngIf",!J._content))},styles:[O],encapsulation:2,changeDetection:0}),P})(),I=(()=>{var F;class P extends k{constructor(){super(...arguments),this._allDrawers=void 0,this._content=void 0}}return(F=P).\u0275fac=(()=>{let H;return function(J){return(H||(H=s.n5z(F)))(J||F)}})(),F.\u0275cmp=s.Xpm({type:F,selectors:[["gb-mat-sidenav-container"]],contentQueries:function($,J,V){if(1&$&&(s.Suo(V,a.H,5),s.Suo(V,a.B,5)),2&$){let le;s.iGM(le=s.CRH())&&(J._content=le.first),s.iGM(le=s.CRH())&&(J._allDrawers=le)}},hostAttrs:[1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function($,J){2&$&&s.ekj("mat-drawer-container-explicit-backdrop",J._backdropOverride)},exportAs:["matSidenavContainer"],features:[s._Bn([{provide:D.qH,useExisting:F}]),s.qOj],ngContentSelectors:U,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],[4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"]],template:function($,J){1&$&&(s.F$t(X),s.YNc(0,W,1,2,"div",0),s.Hsn(1),s.Hsn(2,1),s.YNc(3,A,2,0,"gb-mat-sidenav-content",1)),2&$&&(s.Q6J("ngIf",J.hasBackdrop),s.xp6(3),s.Q6J("ngIf",!J._content))},styles:[O],encapsulation:2,changeDetection:0}),P})()},47017:(_e,R,r)=>{"use strict";r.d(R,{$i:()=>A,Ap:()=>I,Fc:()=>X,h8:()=>k,qH:()=>U});var n=r(85572),s=r(97835),c=r(50980),h=r(14565),v=r(77533),_=r(43406),m=r(9739),b=r(4807),p=r(36305),D=r(97478),a=r(25167),u=r(97974),E=r(49804),T=r(90564),M=r(62424),B=r(44798);const N=["*"],W=["content"];function A(F){throw Error(`A drawer was already declared for 'position="${F}"'`)}const X=new v.OlP("GB_MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function O(){return!1}}),U=new v.OlP("GB_MAT_DRAWER_CONTAINER");let k=(()=>{var F;class P extends c.PQ{constructor($,J,V,le,ge){super(V,le,ge),this._changeDetectorRef=$,this._container=J}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}}return(F=P).\u0275fac=function($){return new($||F)(v.Y36(v.sBO),v.Y36((0,v.Gpc)(()=>T.o)),v.Y36(v.SBq),v.Y36(c.mF),v.Y36(v.R0b))},F.\u0275cmp=v.Xpm({type:F,selectors:[["gb-mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:4,hostBindings:function($,J){2&$&&v.Udp("margin-left",J._container._contentMargins.left,"px")("margin-right",J._container._contentMargins.right,"px")},features:[v._Bn([{provide:c.PQ,useExisting:F}]),v.qOj],ngContentSelectors:N,decls:1,vars:0,template:function($,J){1&$&&(v.F$t(),v.Hsn(0))},encapsulation:2,changeDetection:0}),P})(),I=(()=>{var F;class P{get position(){return this._position}set position($){($="end"===$?"end":"start")!==this._position&&(this._isAttached&&this._updatePositionInParent($),this._position=$,this.onPositionChanged.emit())}get mode(){return this._mode}set mode($){this._mode=$,this._updateFocusTrapState(),this._modeChanged.next()}get disableClose(){return this._disableClose}set disableClose($){this._disableClose=(0,n.Ig)($)}get autoFocus(){return this._autoFocus??("side"===this.mode?"dialog":"first-tabbable")}set autoFocus($){("true"===$||"false"===$||null==$)&&($=(0,n.Ig)($)),this._autoFocus=$}get opened(){return this._opened}set opened($){this.toggle((0,n.Ig)($))}constructor($,J,V,le,ge,te,We,Te){this._elementRef=$,this._focusTrapFactory=J,this._focusMonitor=V,this._platform=le,this._ngZone=ge,this._interactivityChecker=te,this._doc=We,this._container=Te,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new m.x,this._animationEnd=new m.x,this._animationState="void",this.openedChange=new v.vpe(!0),this._openedStream=this.openedChange.pipe((0,p.h)(ee=>ee),(0,D.U)(()=>{})),this.openedStart=this._animationStarted.pipe((0,p.h)(ee=>ee.fromState!==ee.toState&&0===ee.toState.indexOf("open")),(0,D.U)(()=>{})),this._closedStream=this.openedChange.pipe((0,p.h)(ee=>!ee),(0,D.U)(()=>{})),this.closedStart=this._animationStarted.pipe((0,p.h)(ee=>ee.fromState!==ee.toState&&"void"===ee.toState),(0,D.U)(()=>{})),this._destroyed=new m.x,this.onPositionChanged=new v.vpe,this._modeChanged=new m.x,this.openedChange.subscribe(ee=>{ee?(this._doc&&(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement),this._takeFocus()):this._isFocusWithinDrawer()&&this._restoreFocus(this._openedVia||"program")}),this._ngZone.runOutsideAngular(()=>{(0,b.R)(this._elementRef.nativeElement,"keydown").pipe((0,p.h)(ee=>ee.keyCode===s.hY&&!this.disableClose&&!(0,s.Vb)(ee)),(0,a.R)(this._destroyed)).subscribe(ee=>this._ngZone.run(()=>{this.close(),ee.stopPropagation(),ee.preventDefault()}))}),this._animationEnd.pipe((0,u.x)((ee,Q)=>ee.fromState===Q.fromState&&ee.toState===Q.toState)).subscribe(ee=>{const{fromState:Q,toState:me}=ee;(0===me.indexOf("open")&&"void"===Q||"void"===me&&0===Q.indexOf("open"))&&this.openedChange.emit(this._opened)})}_forceFocus($,J){this._interactivityChecker.isFocusable($)||($.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const V=()=>{$.removeEventListener("blur",V),$.removeEventListener("mousedown",V),$.removeAttribute("tabindex")};$.addEventListener("blur",V),$.addEventListener("mousedown",V)})),$.focus(J)}_focusByCssSelector($,J){let V=this._elementRef.nativeElement.querySelector($);V&&this._forceFocus(V,J)}_takeFocus(){if(!this._focusTrap)return;const $=this._elementRef.nativeElement;switch(this.autoFocus){case!1:case"dialog":return;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(J=>{!J&&"function"==typeof this._elementRef.nativeElement.focus&&$.focus()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this.autoFocus)}}_restoreFocus($){"dialog"!==this.autoFocus&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,$):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null)}_isFocusWithinDrawer(){const $=this._doc.activeElement;return!!$&&this._elementRef.nativeElement.contains($)}ngAfterViewInit(){this._isAttached=!0,this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState(),"end"===this._position&&this._updatePositionInParent("end")}ngAfterContentChecked(){this._platform.isBrowser&&(this._enableAnimations=!0)}ngOnDestroy(){this._focusTrap&&this._focusTrap.destroy(),this._anchor?.remove(),this._anchor=null,this._animationStarted.complete(),this._animationEnd.complete(),this._modeChanged.complete(),this._destroyed.next(),this._destroyed.complete()}open($){return this.toggle(!0,$)}close(){return this.toggle(!1)}_closeViaBackdropClick(){return this._setOpen(!1,!0,"mouse")}toggle($=!this.opened,J){$&&J&&(this._openedVia=J);const V=this._setOpen($,!$&&this._isFocusWithinDrawer(),this._openedVia||"program");return $||(this._openedVia=null),V}_setOpen($,J,V){return this._opened=$,$?this._animationState=this._enableAnimations?"open":"open-instant":(this._animationState="void",J&&this._restoreFocus(V)),this._updateFocusTrapState(),new Promise(le=>{this.openedChange.pipe((0,E.q)(1)).subscribe(ge=>le(ge?"open":"close"))})}_getWidth(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}_updateFocusTrapState(){this._focusTrap&&(this._focusTrap.enabled=!!this._container?.hasBackdrop)}_updatePositionInParent($){if(!this._platform.isBrowser)return;const J=this._elementRef.nativeElement,V=J.parentNode;"end"===$?(this._anchor||(this._anchor=this._doc.createComment("mat-drawer-anchor"),V.insertBefore(this._anchor,J)),V.appendChild(J)):this._anchor&&this._anchor.parentNode.insertBefore(J,this._anchor)}}return(F=P).\u0275fac=function($){return new($||F)(v.Y36(v.SBq),v.Y36(M.qV),v.Y36(M.tE),v.Y36(B.t4),v.Y36(v.R0b),v.Y36(M.ic),v.Y36(h.DOCUMENT,8),v.Y36(U,8))},F.\u0275cmp=v.Xpm({type:F,selectors:[["gb-mat-drawer"]],viewQuery:function($,J){if(1&$&&v.Gf(W,5),2&$){let V;v.iGM(V=v.CRH())&&(J._content=V.first)}},hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function($,J){1&$&&v.WFA("@transform.start",function(le){return J._animationStarted.next(le)})("@transform.done",function(le){return J._animationEnd.next(le)}),2&$&&(v.uIk("align",null),v.d8E("@transform",J._animationState),v.ekj("mat-drawer-end","end"===J.position)("mat-drawer-over","over"===J.mode)("mat-drawer-push","push"===J.mode)("mat-drawer-side","side"===J.mode)("mat-drawer-opened",J.opened))},inputs:{position:"position",mode:"mode",disableClose:"disableClose",autoFocus:"autoFocus",opened:"opened"},outputs:{openedChange:"openedChange",_openedStream:"opened",openedStart:"openedStart",_closedStream:"closed",closedStart:"closedStart",onPositionChanged:"positionChanged"},exportAs:["gbmatDrawer"],ngContentSelectors:N,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function($,J){1&$&&(v.F$t(),v.TgZ(0,"div",0,1),v.Hsn(2),v.qZA())},dependencies:[c.PQ],encapsulation:2,data:{animation:[_.w$.transformDrawer]},changeDetection:0}),P})()},49485:(_e,R,r)=>{"use strict";r.d(R,{B:()=>p,H:()=>b});var n=r(85572),s=r(50980),c=r(77533),h=r(43406),v=r(90564),_=r(47017);const m=["*"];let b=(()=>{var D;class a extends _.h8{constructor(E,T,M,B,N){super(E,T,M,B,N)}}return(D=a).\u0275fac=function(E){return new(E||D)(c.Y36(c.sBO),c.Y36((0,c.Gpc)(()=>v.u)),c.Y36(c.SBq),c.Y36(s.mF),c.Y36(c.R0b))},D.\u0275cmp=c.Xpm({type:D,selectors:[["gb-mat-sidenav-content"]],hostAttrs:[1,"mat-drawer-content","mat-sidenav-content"],hostVars:4,hostBindings:function(E,T){2&E&&c.Udp("margin-left",T._container._contentMargins.left,"px")("margin-right",T._container._contentMargins.right,"px")},features:[c._Bn([{provide:s.PQ,useExisting:D}]),c.qOj],ngContentSelectors:m,decls:1,vars:0,template:function(E,T){1&E&&(c.F$t(),c.Hsn(0))},encapsulation:2,changeDetection:0}),a})(),p=(()=>{var D;class a extends _.Ap{constructor(){super(...arguments),this._fixedInViewport=!1,this._fixedTopGap=0,this._fixedBottomGap=0}get fixedInViewport(){return this._fixedInViewport}set fixedInViewport(E){this._fixedInViewport=(0,n.Ig)(E)}get fixedTopGap(){return this._fixedTopGap}set fixedTopGap(E){this._fixedTopGap=(0,n.su)(E)}get fixedBottomGap(){return this._fixedBottomGap}set fixedBottomGap(E){this._fixedBottomGap=(0,n.su)(E)}}return(D=a).\u0275fac=(()=>{let u;return function(T){return(u||(u=c.n5z(D)))(T||D)}})(),D.\u0275cmp=c.Xpm({type:D,selectors:[["gb-mat-sidenav"]],hostAttrs:["tabIndex","-1",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(E,T){2&E&&(c.uIk("align",null),c.Udp("top",T.fixedInViewport?T.fixedTopGap:null,"px")("bottom",T.fixedInViewport?T.fixedBottomGap:null,"px"),c.ekj("mat-drawer-end","end"===T.position)("mat-drawer-over","over"===T.mode)("mat-drawer-push","push"===T.mode)("mat-drawer-side","side"===T.mode)("mat-drawer-opened",T.opened)("mat-sidenav-fixed",T.fixedInViewport))},inputs:{fixedInViewport:"fixedInViewport",fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["gbmatSidenav"],features:[c.qOj],ngContentSelectors:m,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function(E,T){1&E&&(c.F$t(),c.TgZ(0,"div",0,1),c.Hsn(2),c.qZA())},dependencies:[s.PQ],encapsulation:2,data:{animation:[h.w$.transformDrawer]},changeDetection:0}),a})()},27977:(_e,R,r)=>{"use strict";function n(s,c=1){if("string"!=typeof s)return"";if(6!==(s=s.replace("#","")).length||isNaN(parseInt(s,16)))return s;{const h=parseInt(s.substring(0,2),16),v=parseInt(s.substring(2,4),16),_=parseInt(s.substring(4,6),16);return 1===c?`rgb(${h}, ${v}, ${_})`:`rgba(${h}, ${v}, ${_}, ${c})`}}r.d(R,{a:()=>n})},8313:(_e,R,r)=>{"use strict";r.d(R,{b:()=>a});var n=r(77533);let s=(()=>{var u;class E{}return(u=E).\u0275fac=function(M){return new(M||u)},u.\u0275mod=n.oAB({type:u}),u.\u0275inj=n.cJS({}),E})(),c=(()=>{var u;class E{}return(u=E).\u0275fac=function(M){return new(M||u)},u.\u0275mod=n.oAB({type:u}),u.\u0275inj=n.cJS({}),E})(),h=(()=>{var u;class E{}return(u=E).\u0275fac=function(M){return new(M||u)},u.\u0275mod=n.oAB({type:u}),u.\u0275inj=n.cJS({}),E})();var v=r(940);let _=(()=>{var u;class E{}return(u=E).\u0275fac=function(M){return new(M||u)},u.\u0275mod=n.oAB({type:u}),u.\u0275inj=n.cJS({}),E})();var m=r(90634);let b=(()=>{var u;class E{}return(u=E).\u0275fac=function(M){return new(M||u)},u.\u0275mod=n.oAB({type:u}),u.\u0275inj=n.cJS({}),E})(),p=(()=>{var u;class E{}return(u=E).\u0275fac=function(M){return new(M||u)},u.\u0275mod=n.oAB({type:u}),u.\u0275inj=n.cJS({}),E})();const D=[h,b,c,m.lM,s,_,v.$,p];let a=(()=>{var u;class E{}return(u=E).\u0275fac=function(M){return new(M||u)},u.\u0275mod=n.oAB({type:u}),u.\u0275inj=n.cJS({imports:[D,h,b,c,m.lM,s,_,v.$,p]}),E})()},56111:(_e,R,r)=>{"use strict";r.d(R,{j:()=>h});var n=r(77533);class s{constructor(_,m){this.elementRef=_,this.renderer=m,this.fontChanged=new n.vpe}setFont(_){_&&(this.renderer.setStyle(this.elementRef.nativeElement,"color",_.color??"inherit"),this.renderer.setStyle(this.elementRef.nativeElement,"font-weight",_.weight??"initial"),this.renderer.setStyle(this.elementRef.nativeElement,"font-style",_.style??"initial"),this.renderer.setStyle(this.elementRef.nativeElement,"font-variant",_.variant??"initial"),this.renderer.setStyle(this.elementRef.nativeElement,"font-stretch",_.stretch??"initial"),this.renderer.setStyle(this.elementRef.nativeElement,"line-height",_.lineHeight??"initial"),this.renderer.setStyle(this.elementRef.nativeElement,"font-size","string"==typeof _.size?_.size:`${_.size}px`),this.renderer.setStyle(this.elementRef.nativeElement,"font-family",_.family??"unset"),this.fontChanged.emit(_))}dispose(){}}class c{createFontRenderer(_,m){return new s(_,m)}}const h=new n.OlP("GBUIFontRendererFactory",{factory:()=>new c})},59397:(_e,R,r)=>{"use strict";r.d(R,{k:()=>c});var n=r(56111),s=r(77533);let c=(()=>{var h;class v{constructor(m,b,p){this.fontRenderer=p.createFontRenderer(m,b),this.fontChanged=this.fontRenderer.fontChanged}ngOnChanges(m){this.fontRenderer.setFont(m.font.currentValue)}ngOnDestroy(){this.fontRenderer.dispose()}}return(h=v).\u0275fac=function(m){return new(m||h)(s.Y36(s.SBq),s.Y36(s.Qsj),s.Y36(n.j))},h.\u0275dir=s.lG2({type:h,selectors:[["","gbuiFont",""]],inputs:{font:["gbuiFont","font"]},outputs:{fontChanged:"fontChanged"},features:[s.TTD]}),v})()},14613:(_e,R,r)=>{"use strict";r.d(R,{t:()=>s});var n=r(27977);function s(c,h=1){if(!Array.isArray(c.colors)||0===c.colors.length)return"";const v=c.colors.map(_=>(0,n.a)(_.trim(),h)).join(", ");return c.direction||(c.direction="to bottom"),`linear-gradient(${c.direction}, ${v})`}},99966:(_e,R,r)=>{"use strict";r.d(R,{L:()=>h,k:()=>v});var n=r(77533),s=r(58764),c=r(32302);const h=new n.OlP("GBUIIconDirective");let v=(()=>{var _;class m{set color(p){this._color=p,this.appliedColor!==this.color&&this.renderIcon(!1)}get color(){return this._color}get nativeElement(){return this.el.nativeElement}constructor(p,D,a){this.el=p,this.renderer=D,this.iconService=a,this.size=24,this.iconClass="gbui-icon",this.appliedClasses=[]}ngOnChanges(p){this.renderIcon(p?.icon?.currentValue?.identifier!==p?.icon?.previousValue?.identifier||!1)}renderIcon(p){this.resetStyle(p),this.icon&&(this.iconService.isCssGlyph(this.icon)?this.renderCssGlyph():this.iconService.isSvg(this.icon)?this.renderAsSvg(p):this.renderBackgroundIcon()),this.appliedColor=this.color}renderCssGlyph(){this.appliedClasses=this.iconService.getCssGlyphClass(this.icon),this.appliedClasses.push("gbui-icon--glyph"),this.appliedClasses.forEach(p=>this.renderer.addClass(this.el.nativeElement,p)),this.renderer.setStyle(this.el.nativeElement,"font-size",`${this.size}px`),this.renderer.setStyle(this.el.nativeElement,"color",this.color),this.renderer.setStyle(this.el.nativeElement,"width",`${this.size}px`),this.renderer.setStyle(this.el.nativeElement,"height",`${this.size}px`)}renderAsSvg(p){this.renderer.setStyle(this.el.nativeElement,"fill",this.color),this.renderer.setStyle(this.el.nativeElement,"width",`${this.size}px`),this.renderer.setStyle(this.el.nativeElement,"height",`${this.size}px`),this.renderer.addClass(this.el.nativeElement,"gbui-icon--svg"),this.renderer.setStyle(this.el.nativeElement,"width",`${this.size}px`),this.renderer.setStyle(this.el.nativeElement,"height",`${this.size}px`),this.renderer.setStyle(this.el.nativeElement,"font-size",`${this.size}px`),p&&this.iconService.getSvg(this.icon).subscribe(D=>{const a=this.renderer.createElement("template");a.innerHTML=D,this.replaceElementChildren(a.content),a.remove()})}renderBackgroundIcon(){const p=this.iconService.getImageIconUrl(this.icon,this.color);this.renderer.addClass(this.el.nativeElement,"gbui-icon--image"),typeof window<"u"?(this.backgroundSubscription&&this.backgroundSubscription.unsubscribe(),this.backgroundSubscription=this.loadIconImage(p).subscribe(D=>{const a=Math.ceil(this.size*D.naturalWidth/D.naturalHeight);this.renderer.setStyle(this.el.nativeElement,"background-image",`url("${p}")`),this.renderer.setStyle(this.el.nativeElement,"width",`${a}px`),this.renderer.setStyle(this.el.nativeElement,"height",`${this.size}px`)})):(this.renderer.setStyle(this.el.nativeElement,"background-image",`url("${p}")`),this.renderer.setStyle(this.el.nativeElement,"width",`${this.size}px`),this.renderer.setStyle(this.el.nativeElement,"height",`${this.size}px`))}resetStyle(p){p&&this.replaceElementChildren(),this.renderer.setStyle(this.el.nativeElement,"background-image",null),this.renderer.setStyle(this.el.nativeElement,"color",null),this.renderer.setStyle(this.el.nativeElement,"width",null),this.renderer.setStyle(this.el.nativeElement,"height",null),this.renderer.removeClass(this.el.nativeElement,"gbui-icon--image"),this.renderer.removeClass(this.el.nativeElement,"gbui-icon--svg"),this.appliedClasses.forEach(D=>this.renderer.removeClass(this.el.nativeElement,D))}loadIconImage(p){return new s.y(D=>{if("string"!=typeof p)return void D.error(new Error(`Could not load image because ${p} is not a valid url`));const a=new Image,u=()=>{D.next(a),D.complete()},E=T=>D.error(T);return a.addEventListener("load",u),a.addEventListener("error",E),a.src=p,()=>{a.removeEventListener("load",u),a.removeEventListener("error",E)}})}replaceElementChildren(p){Array.from(this.el.nativeElement.children).forEach(D=>{this.renderer.removeChild(this.el.nativeElement,D)}),p&&(p.querySelector("title")?.remove(),this.renderer.appendChild(this.el.nativeElement,p))}}return(_=m).\u0275fac=function(p){return new(p||_)(n.Y36(n.SBq),n.Y36(n.Qsj),n.Y36(c.n))},_.\u0275dir=n.lG2({type:_,selectors:[["","gbuiIcon",""]],hostVars:2,hostBindings:function(p,D){2&p&&n.Tol(D.iconClass)},inputs:{icon:["gbuiIcon","icon"],color:"color",size:["size","size",n.Cb_]},exportAs:["gbuiIcon"],features:[n._Bn([{provide:h,useExisting:_}]),n.Xq5,n.TTD]}),m})()},940:(_e,R,r)=>{"use strict";r.d(R,{$:()=>s});var n=r(77533);let s=(()=>{var c;class h{}return(c=h).\u0275fac=function(_){return new(_||c)},c.\u0275mod=n.oAB({type:c}),c.\u0275inj=n.cJS({}),h})()},32302:(_e,R,r)=>{"use strict";r.d(R,{n:()=>c});const c=new(r(77533).OlP)("GBUIIconProvider")},90368:(_e,R,r)=>{"use strict";r.d(R,{bx:()=>a.b,ko:()=>b.k,f8:()=>h.f8,ZH:()=>D.Z,jW:()=>s.j,LS:()=>b.L,nW:()=>m.n,Bm:()=>v.B,t_:()=>p.t,a7:()=>n.a});var n=r(27977),s=r(56111),h=(r(59397),r(90634)),v=r(70917),m=(r(14842),r(32302)),b=r(99966),p=r(14613),D=r(72774),a=r(8313)},90634:(_e,R,r)=>{"use strict";r.d(R,{f8:()=>c.f,lM:()=>s});var n=r(77533);let s=(()=>{var _;class m{}return(_=m).\u0275fac=function(p){return new(p||_)},_.\u0275mod=n.oAB({type:_}),_.\u0275inj=n.cJS({}),m})();var c=r(68972);r(28271),r(51337)},28271:(_e,R,r)=>{"use strict";r.d(R,{$:()=>c});var n=r(77533),s=r(51337);const c=new n.OlP("GBUIShadowPresetConfiguration",{factory:()=>s.O})},51337:(_e,R,r)=>{"use strict";r.d(R,{O:()=>n});const n={level0:{offset:{x:0,y:0},blur:0,opacity:0},level1:{offset:{x:0,y:1},blur:3,opacity:.2},level2:{offset:{x:0,y:3},blur:6,opacity:.2},level3:{offset:{x:0,y:6},blur:12,opacity:.2},level4:{offset:{x:0,y:20},blur:40,opacity:.3}}},68972:(_e,R,r)=>{"use strict";r.d(R,{f:()=>c});var n=r(77533),s=r(28271);let c=(()=>{var h;class v{constructor(m){this.shadowPreset=m,this.boxShadow=null,this.shadowChanges=new n.vpe}ngOnChanges(m){m.shadow&&m.shadow.currentValue?"custom"===this.shadow.type?this.applyShadow(this.shadow):this.initLevelTypeShadow():this.boxShadow=null,this.shadowChanges.emit(this.boxShadow)}initLevelTypeShadow(){let m;switch(this.shadow.type){case"level1":m=this.shadowPreset.level1;break;case"level2":m=this.shadowPreset.level2;break;case"level3":m=this.shadowPreset.level3;break;case"level4":m=this.shadowPreset.level4;break;default:m=null}this.applyShadow(m?{...this.shadow,...m}:null)}applyShadow(m){if(m){const{position:b,color:p,offset:D,blur:a,opacity:u}=m,E="internal"===b?"inset ":"",T=this.hexToRgba(p,u),M="object"==typeof D?D:{x:0,y:0};this.boxShadow=`${E}${M.x}px ${M.y}px ${a}px ${T}`}else this.boxShadow=null}hexToRgba(m,b=1){return"string"!=typeof m?"":6!==(m=m.replace("#","")).length||isNaN(parseInt(m,16))?m:`rgba(${parseInt(m.substring(0,2),16)}, ${parseInt(m.substring(2,4),16)}, ${parseInt(m.substring(4,6),16)}, ${b})`}}return(h=v).\u0275fac=function(m){return new(m||h)(n.Y36(s.$))},h.\u0275dir=n.lG2({type:h,selectors:[["","gbuiShadow",""]],hostVars:2,hostBindings:function(m,b){2&m&&n.Udp("box-shadow",b.boxShadow)},inputs:{shadow:["gbuiShadow","shadow"]},outputs:{shadowChanges:"shadowChanges"},features:[n.TTD]}),v})()},70917:(_e,R,r)=>{"use strict";r.d(R,{B:()=>c});const c=new(r(77533).OlP)("GBUIShapeMapping",{factory:function s(){return new Map([["sharp","0px"],["rounded","4px"],["round","1000em"]])}})},14842:(_e,R,r)=>{"use strict";r.d(R,{y:()=>c});var n=r(70917),s=r(77533);let c=(()=>{var h;class v{get borderRadiusWithShape(){return this.shape?"custom"===this.shape.type?`${this.shape.radius.tl}px ${this.shape.radius.tr}px ${this.shape.radius.br}px ${this.shape.radius.bl}px`:this.fixedShapeMapping.get(this.shape.type):null}constructor(m){this.fixedShapeMapping=m}}return(h=v).\u0275fac=function(m){return new(m||h)(s.Y36(n.B))},h.\u0275dir=s.lG2({type:h,selectors:[["","gbuiShape",""]],hostVars:2,hostBindings:function(m,b){2&m&&s.Udp("border-radius",b.borderRadiusWithShape)},inputs:{shape:["gbuiShape","shape"]}}),v})()},72774:(_e,R,r)=>{"use strict";r.d(R,{Z:()=>s});var n=r(77533);let s=(()=>{var c;class h{constructor(){this._ratio="4-3"}get ratio(){return this._ratio}set ratio(_){this._ratio="4-3"!==_&&"square"!==_?"4-3":_}}return(c=h).\u0275fac=function(_){return new(_||c)},c.\u0275dir=n.lG2({type:c,selectors:[["","gbuiThumb",""]],inputs:{ratio:"ratio"}}),h})()},14011:(_e,R,r)=>{"use strict";r.d(R,{FB:()=>s.F,i1:()=>p}),r(61523);var s=r(13602),c=r(62424),h=r(50996),v=r(14565),_=r(8313),m=r(77533);let b=(()=>{var D;class a{parse(E,T=!1){const M=this.sanitizeTimeAsString(E,T);if(M){const[B,N]=M.split(" "),[W,A]=B.split(":");return{hours:W,minutes:A,amPm:N}}return null}serialize(E){return`${E.hours}:${E.minutes}${E.amPm?" "+E.amPm:""}`}isValid(E){if(!E)return!1;const T=Date.parse("2022-03-23 "+E);return!isNaN(T)}applyHourFormat(E,T=!1){const M=this.serialize(E);return this.parse(M,T)}getCurrentTime(E=!1){return this.parse(new Intl.DateTimeFormat(void 0,{hour:"2-digit",minute:"2-digit",hourCycle:E?"h12":"h23"}).format(new Date),E)}sanitizeTimeAsString(E,T=!1){if(!E)return"";const M=Date.parse("2022-03-23 "+E);return isNaN(M)?"":new Intl.DateTimeFormat(void 0,{hour:"2-digit",minute:"2-digit",hourCycle:T?"h12":"h23"}).format(M)}}return(D=a).\u0275fac=function(E){return new(E||D)},D.\u0275prov=m.Yz7({token:D,factory:D.\u0275fac}),a})(),p=(()=>{var D;class a{}return(D=a).\u0275fac=function(E){return new(E||D)},D.\u0275mod=m.oAB({type:D}),D.\u0275inj=m.cJS({providers:[{provide:s.F,useClass:b}],imports:[c.rt,h.U8,v.CommonModule,_.b]}),a})()},13602:(_e,R,r)=>{"use strict";r.d(R,{F:()=>n});class n{}},61523:(_e,R,r)=>{"use strict";r.d(R,{m:()=>s});const s=new(r(77533).OlP)("GBUITimepicker Config",{providedIn:"root",factory:function c(){return{okButtonText:"Ok",cancelButtonText:"Cancel"}}})},24583:function(_e,R,r){var n;!function(s){"use strict";function c(O,k){var I=(65535&O)+(65535&k);return(O>>16)+(k>>16)+(I>>16)<<16|65535&I}function v(O,k,I,F,P,H){return c(function h(O,k){return O<<k|O>>>32-k}(c(c(k,O),c(F,H)),P),I)}function _(O,k,I,F,P,H,$){return v(k&I|~k&F,O,k,P,H,$)}function m(O,k,I,F,P,H,$){return v(k&F|I&~F,O,k,P,H,$)}function b(O,k,I,F,P,H,$){return v(k^I^F,O,k,P,H,$)}function p(O,k,I,F,P,H,$){return v(I^(k|~F),O,k,P,H,$)}function D(O,k){O[k>>5]|=128<<k%32,O[14+(k+64>>>9<<4)]=k;var I,F,P,H,$,J=1732584193,V=-271733879,le=-1732584194,ge=271733878;for(I=0;I<O.length;I+=16)F=J,P=V,H=le,$=ge,J=_(J,V,le,ge,O[I],7,-680876936),ge=_(ge,J,V,le,O[I+1],12,-389564586),le=_(le,ge,J,V,O[I+2],17,606105819),V=_(V,le,ge,J,O[I+3],22,-1044525330),J=_(J,V,le,ge,O[I+4],7,-176418897),ge=_(ge,J,V,le,O[I+5],12,1200080426),le=_(le,ge,J,V,O[I+6],17,-1473231341),V=_(V,le,ge,J,O[I+7],22,-45705983),J=_(J,V,le,ge,O[I+8],7,1770035416),ge=_(ge,J,V,le,O[I+9],12,-1958414417),le=_(le,ge,J,V,O[I+10],17,-42063),V=_(V,le,ge,J,O[I+11],22,-1990404162),J=_(J,V,le,ge,O[I+12],7,1804603682),ge=_(ge,J,V,le,O[I+13],12,-40341101),le=_(le,ge,J,V,O[I+14],17,-1502002290),J=m(J,V=_(V,le,ge,J,O[I+15],22,1236535329),le,ge,O[I+1],5,-165796510),ge=m(ge,J,V,le,O[I+6],9,-1069501632),le=m(le,ge,J,V,O[I+11],14,643717713),V=m(V,le,ge,J,O[I],20,-373897302),J=m(J,V,le,ge,O[I+5],5,-701558691),ge=m(ge,J,V,le,O[I+10],9,38016083),le=m(le,ge,J,V,O[I+15],14,-660478335),V=m(V,le,ge,J,O[I+4],20,-405537848),J=m(J,V,le,ge,O[I+9],5,568446438),ge=m(ge,J,V,le,O[I+14],9,-1019803690),le=m(le,ge,J,V,O[I+3],14,-187363961),V=m(V,le,ge,J,O[I+8],20,1163531501),J=m(J,V,le,ge,O[I+13],5,-1444681467),ge=m(ge,J,V,le,O[I+2],9,-51403784),le=m(le,ge,J,V,O[I+7],14,1735328473),J=b(J,V=m(V,le,ge,J,O[I+12],20,-1926607734),le,ge,O[I+5],4,-378558),ge=b(ge,J,V,le,O[I+8],11,-2022574463),le=b(le,ge,J,V,O[I+11],16,1839030562),V=b(V,le,ge,J,O[I+14],23,-35309556),J=b(J,V,le,ge,O[I+1],4,-1530992060),ge=b(ge,J,V,le,O[I+4],11,1272893353),le=b(le,ge,J,V,O[I+7],16,-155497632),V=b(V,le,ge,J,O[I+10],23,-1094730640),J=b(J,V,le,ge,O[I+13],4,681279174),ge=b(ge,J,V,le,O[I],11,-358537222),le=b(le,ge,J,V,O[I+3],16,-722521979),V=b(V,le,ge,J,O[I+6],23,76029189),J=b(J,V,le,ge,O[I+9],4,-640364487),ge=b(ge,J,V,le,O[I+12],11,-421815835),le=b(le,ge,J,V,O[I+15],16,530742520),J=p(J,V=b(V,le,ge,J,O[I+2],23,-995338651),le,ge,O[I],6,-198630844),ge=p(ge,J,V,le,O[I+7],10,1126891415),le=p(le,ge,J,V,O[I+14],15,-1416354905),V=p(V,le,ge,J,O[I+5],21,-57434055),J=p(J,V,le,ge,O[I+12],6,1700485571),ge=p(ge,J,V,le,O[I+3],10,-1894986606),le=p(le,ge,J,V,O[I+10],15,-1051523),V=p(V,le,ge,J,O[I+1],21,-2054922799),J=p(J,V,le,ge,O[I+8],6,1873313359),ge=p(ge,J,V,le,O[I+15],10,-30611744),le=p(le,ge,J,V,O[I+6],15,-1560198380),V=p(V,le,ge,J,O[I+13],21,1309151649),J=p(J,V,le,ge,O[I+4],6,-145523070),ge=p(ge,J,V,le,O[I+11],10,-1120210379),le=p(le,ge,J,V,O[I+2],15,718787259),V=p(V,le,ge,J,O[I+9],21,-343485551),J=c(J,F),V=c(V,P),le=c(le,H),ge=c(ge,$);return[J,V,le,ge]}function a(O){var k,I="",F=32*O.length;for(k=0;k<F;k+=8)I+=String.fromCharCode(O[k>>5]>>>k%32&255);return I}function u(O){var k,I=[];for(I[(O.length>>2)-1]=void 0,k=0;k<I.length;k+=1)I[k]=0;var F=8*O.length;for(k=0;k<F;k+=8)I[k>>5]|=(255&O.charCodeAt(k/8))<<k%32;return I}function M(O){var F,P,k="0123456789abcdef",I="";for(P=0;P<O.length;P+=1)F=O.charCodeAt(P),I+=k.charAt(F>>>4&15)+k.charAt(15&F);return I}function B(O){return unescape(encodeURIComponent(O))}function N(O){return function E(O){return a(D(u(O),8*O.length))}(B(O))}function A(O,k){return function T(O,k){var I,$,F=u(O),P=[],H=[];for(P[15]=H[15]=void 0,F.length>16&&(F=D(F,8*O.length)),I=0;I<16;I+=1)P[I]=909522486^F[I],H[I]=1549556828^F[I];return $=D(P.concat(u(k)),512+8*k.length),a(D(H.concat($),640))}(B(O),B(k))}function U(O,k,I){return k?I?A(k,O):function X(O,k){return M(A(O,k))}(k,O):I?N(O):function W(O){return M(N(O))}(O)}void 0!==(n=function(){return U}.call(R,r,R,_e))&&(_e.exports=n)}()},82252:(_e,R)=>{"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=function r(n,s){for(var c=n<0?"-":"",h=Math.abs(n).toString();h.length<s;)h="0"+h;return c+h},_e.exports=R.default},37585:(_e,R)=>{"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=function r(n,s){if(null==n)throw new TypeError("assign requires that input parameter not be null or undefined");for(var c in s)Object.prototype.hasOwnProperty.call(s,c)&&(n[c]=s[c]);return n},_e.exports=R.default},30770:(_e,R,r)=>{"use strict";var n=r(64836).default;Object.defineProperty(R,"__esModule",{value:!0}),R.default=function c(h){return(0,s.default)({},h)};var s=n(r(37585));_e.exports=R.default},17448:(_e,R,r)=>{"use strict";var n=r(64836).default;Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var s=n(r(22796));R.default=s.default,_e.exports=R.default},69628:(_e,R)=>{"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.getDefaultOptions=function n(){return r},R.setDefaultOptions=function s(c){r=c};var r={}},71519:(_e,R,r)=>{"use strict";var n=r(64836).default;Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var s=n(r(29659)),c=n(r(14824)),h=n(r(42743)),v=n(r(90097)),_=n(r(39141)),m=n(r(82252)),b=n(r(1210));function a(M,B){var N=M>0?"-":"+",W=Math.abs(M),A=Math.floor(W/60),X=W%60;if(0===X)return N+String(A);var U=B||"";return N+String(A)+U+(0,m.default)(X,2)}function u(M,B){return M%60==0?(M>0?"-":"+")+(0,m.default)(Math.abs(M)/60,2):E(M,B)}function E(M,B){var N=B||"",W=M>0?"-":"+",A=Math.abs(M);return W+(0,m.default)(Math.floor(A/60),2)+N+(0,m.default)(A%60,2)}R.default={G:function(B,N,W){var A=B.getUTCFullYear()>0?1:0;switch(N){case"G":case"GG":case"GGG":return W.era(A,{width:"abbreviated"});case"GGGGG":return W.era(A,{width:"narrow"});default:return W.era(A,{width:"wide"})}},y:function(B,N,W){if("yo"===N){var A=B.getUTCFullYear();return W.ordinalNumber(A>0?A:1-A,{unit:"year"})}return b.default.y(B,N)},Y:function(B,N,W,A){var X=(0,_.default)(B,A),U=X>0?X:1-X;return"YY"===N?(0,m.default)(U%100,2):"Yo"===N?W.ordinalNumber(U,{unit:"year"}):(0,m.default)(U,N.length)},R:function(B,N){var W=(0,h.default)(B);return(0,m.default)(W,N.length)},u:function(B,N){var W=B.getUTCFullYear();return(0,m.default)(W,N.length)},Q:function(B,N,W){var A=Math.ceil((B.getUTCMonth()+1)/3);switch(N){case"Q":return String(A);case"QQ":return(0,m.default)(A,2);case"Qo":return W.ordinalNumber(A,{unit:"quarter"});case"QQQ":return W.quarter(A,{width:"abbreviated",context:"formatting"});case"QQQQQ":return W.quarter(A,{width:"narrow",context:"formatting"});default:return W.quarter(A,{width:"wide",context:"formatting"})}},q:function(B,N,W){var A=Math.ceil((B.getUTCMonth()+1)/3);switch(N){case"q":return String(A);case"qq":return(0,m.default)(A,2);case"qo":return W.ordinalNumber(A,{unit:"quarter"});case"qqq":return W.quarter(A,{width:"abbreviated",context:"standalone"});case"qqqqq":return W.quarter(A,{width:"narrow",context:"standalone"});default:return W.quarter(A,{width:"wide",context:"standalone"})}},M:function(B,N,W){var A=B.getUTCMonth();switch(N){case"M":case"MM":return b.default.M(B,N);case"Mo":return W.ordinalNumber(A+1,{unit:"month"});case"MMM":return W.month(A,{width:"abbreviated",context:"formatting"});case"MMMMM":return W.month(A,{width:"narrow",context:"formatting"});default:return W.month(A,{width:"wide",context:"formatting"})}},L:function(B,N,W){var A=B.getUTCMonth();switch(N){case"L":return String(A+1);case"LL":return(0,m.default)(A+1,2);case"Lo":return W.ordinalNumber(A+1,{unit:"month"});case"LLL":return W.month(A,{width:"abbreviated",context:"standalone"});case"LLLLL":return W.month(A,{width:"narrow",context:"standalone"});default:return W.month(A,{width:"wide",context:"standalone"})}},w:function(B,N,W,A){var X=(0,v.default)(B,A);return"wo"===N?W.ordinalNumber(X,{unit:"week"}):(0,m.default)(X,N.length)},I:function(B,N,W){var A=(0,c.default)(B);return"Io"===N?W.ordinalNumber(A,{unit:"week"}):(0,m.default)(A,N.length)},d:function(B,N,W){return"do"===N?W.ordinalNumber(B.getUTCDate(),{unit:"date"}):b.default.d(B,N)},D:function(B,N,W){var A=(0,s.default)(B);return"Do"===N?W.ordinalNumber(A,{unit:"dayOfYear"}):(0,m.default)(A,N.length)},E:function(B,N,W){var A=B.getUTCDay();switch(N){case"E":case"EE":case"EEE":return W.day(A,{width:"abbreviated",context:"formatting"});case"EEEEE":return W.day(A,{width:"narrow",context:"formatting"});case"EEEEEE":return W.day(A,{width:"short",context:"formatting"});default:return W.day(A,{width:"wide",context:"formatting"})}},e:function(B,N,W,A){var X=B.getUTCDay(),U=(X-A.weekStartsOn+8)%7||7;switch(N){case"e":return String(U);case"ee":return(0,m.default)(U,2);case"eo":return W.ordinalNumber(U,{unit:"day"});case"eee":return W.day(X,{width:"abbreviated",context:"formatting"});case"eeeee":return W.day(X,{width:"narrow",context:"formatting"});case"eeeeee":return W.day(X,{width:"short",context:"formatting"});default:return W.day(X,{width:"wide",context:"formatting"})}},c:function(B,N,W,A){var X=B.getUTCDay(),U=(X-A.weekStartsOn+8)%7||7;switch(N){case"c":return String(U);case"cc":return(0,m.default)(U,N.length);case"co":return W.ordinalNumber(U,{unit:"day"});case"ccc":return W.day(X,{width:"abbreviated",context:"standalone"});case"ccccc":return W.day(X,{width:"narrow",context:"standalone"});case"cccccc":return W.day(X,{width:"short",context:"standalone"});default:return W.day(X,{width:"wide",context:"standalone"})}},i:function(B,N,W){var A=B.getUTCDay(),X=0===A?7:A;switch(N){case"i":return String(X);case"ii":return(0,m.default)(X,N.length);case"io":return W.ordinalNumber(X,{unit:"day"});case"iii":return W.day(A,{width:"abbreviated",context:"formatting"});case"iiiii":return W.day(A,{width:"narrow",context:"formatting"});case"iiiiii":return W.day(A,{width:"short",context:"formatting"});default:return W.day(A,{width:"wide",context:"formatting"})}},a:function(B,N,W){var X=B.getUTCHours()/12>=1?"pm":"am";switch(N){case"a":case"aa":return W.dayPeriod(X,{width:"abbreviated",context:"formatting"});case"aaa":return W.dayPeriod(X,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return W.dayPeriod(X,{width:"narrow",context:"formatting"});default:return W.dayPeriod(X,{width:"wide",context:"formatting"})}},b:function(B,N,W){var X,A=B.getUTCHours();switch(X=12===A?"noon":0===A?"midnight":A/12>=1?"pm":"am",N){case"b":case"bb":return W.dayPeriod(X,{width:"abbreviated",context:"formatting"});case"bbb":return W.dayPeriod(X,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return W.dayPeriod(X,{width:"narrow",context:"formatting"});default:return W.dayPeriod(X,{width:"wide",context:"formatting"})}},B:function(B,N,W){var X,A=B.getUTCHours();switch(X=A>=17?"evening":A>=12?"afternoon":A>=4?"morning":"night",N){case"B":case"BB":case"BBB":return W.dayPeriod(X,{width:"abbreviated",context:"formatting"});case"BBBBB":return W.dayPeriod(X,{width:"narrow",context:"formatting"});default:return W.dayPeriod(X,{width:"wide",context:"formatting"})}},h:function(B,N,W){if("ho"===N){var A=B.getUTCHours()%12;return 0===A&&(A=12),W.ordinalNumber(A,{unit:"hour"})}return b.default.h(B,N)},H:function(B,N,W){return"Ho"===N?W.ordinalNumber(B.getUTCHours(),{unit:"hour"}):b.default.H(B,N)},K:function(B,N,W){var A=B.getUTCHours()%12;return"Ko"===N?W.ordinalNumber(A,{unit:"hour"}):(0,m.default)(A,N.length)},k:function(B,N,W){var A=B.getUTCHours();return 0===A&&(A=24),"ko"===N?W.ordinalNumber(A,{unit:"hour"}):(0,m.default)(A,N.length)},m:function(B,N,W){return"mo"===N?W.ordinalNumber(B.getUTCMinutes(),{unit:"minute"}):b.default.m(B,N)},s:function(B,N,W){return"so"===N?W.ordinalNumber(B.getUTCSeconds(),{unit:"second"}):b.default.s(B,N)},S:function(B,N){return b.default.S(B,N)},X:function(B,N,W,A){var U=(A._originalDate||B).getTimezoneOffset();if(0===U)return"Z";switch(N){case"X":return u(U);case"XXXX":case"XX":return E(U);default:return E(U,":")}},x:function(B,N,W,A){var U=(A._originalDate||B).getTimezoneOffset();switch(N){case"x":return u(U);case"xxxx":case"xx":return E(U);default:return E(U,":")}},O:function(B,N,W,A){var U=(A._originalDate||B).getTimezoneOffset();switch(N){case"O":case"OO":case"OOO":return"GMT"+a(U,":");default:return"GMT"+E(U,":")}},z:function(B,N,W,A){var U=(A._originalDate||B).getTimezoneOffset();switch(N){case"z":case"zz":case"zzz":return"GMT"+a(U,":");default:return"GMT"+E(U,":")}},t:function(B,N,W,A){var U=Math.floor((A._originalDate||B).getTime()/1e3);return(0,m.default)(U,N.length)},T:function(B,N,W,A){var U=(A._originalDate||B).getTime();return(0,m.default)(U,N.length)}},_e.exports=R.default},1210:(_e,R,r)=>{"use strict";var n=r(64836).default;Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var s=n(r(82252));R.default={y:function(_,m){var b=_.getUTCFullYear(),p=b>0?b:1-b;return(0,s.default)("yy"===m?p%100:p,m.length)},M:function(_,m){var b=_.getUTCMonth();return"M"===m?String(b+1):(0,s.default)(b+1,2)},d:function(_,m){return(0,s.default)(_.getUTCDate(),m.length)},a:function(_,m){var b=_.getUTCHours()/12>=1?"pm":"am";switch(m){case"a":case"aa":return b.toUpperCase();case"aaa":return b;case"aaaaa":return b[0];default:return"am"===b?"a.m.":"p.m."}},h:function(_,m){return(0,s.default)(_.getUTCHours()%12||12,m.length)},H:function(_,m){return(0,s.default)(_.getUTCHours(),m.length)},m:function(_,m){return(0,s.default)(_.getUTCMinutes(),m.length)},s:function(_,m){return(0,s.default)(_.getUTCSeconds(),m.length)},S:function(_,m){var b=m.length,p=_.getUTCMilliseconds(),D=Math.floor(p*Math.pow(10,b-3));return(0,s.default)(D,m.length)}},_e.exports=R.default},10128:(_e,R)=>{"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var r=function(_,m){switch(_){case"P":return m.date({width:"short"});case"PP":return m.date({width:"medium"});case"PPP":return m.date({width:"long"});default:return m.date({width:"full"})}},n=function(_,m){switch(_){case"p":return m.time({width:"short"});case"pp":return m.time({width:"medium"});case"ppp":return m.time({width:"long"});default:return m.time({width:"full"})}};R.default={p:n,P:function(_,m){var a,b=_.match(/(P+)(p+)?/)||[],p=b[1],D=b[2];if(!D)return r(_,m);switch(p){case"P":a=m.dateTime({width:"short"});break;case"PP":a=m.dateTime({width:"medium"});break;case"PPP":a=m.dateTime({width:"long"});break;default:a=m.dateTime({width:"full"})}return a.replace("{{date}}",r(p,m)).replace("{{time}}",n(D,m))}},_e.exports=R.default},1850:(_e,R)=>{"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=function r(n){var s=new Date(Date.UTC(n.getFullYear(),n.getMonth(),n.getDate(),n.getHours(),n.getMinutes(),n.getSeconds(),n.getMilliseconds()));return s.setUTCFullYear(n.getFullYear()),n.getTime()-s.getTime()},_e.exports=R.default},29659:(_e,R,r)=>{"use strict";var n=r(64836).default;Object.defineProperty(R,"__esModule",{value:!0}),R.default=function v(_){(0,c.default)(1,arguments);var m=(0,s.default)(_),b=m.getTime();m.setUTCMonth(0,1),m.setUTCHours(0,0,0,0);var p=m.getTime();return Math.floor((b-p)/h)+1};var s=n(r(73393)),c=n(r(57674)),h=864e5;_e.exports=R.default},14824:(_e,R,r)=>{"use strict";var n=r(64836).default;Object.defineProperty(R,"__esModule",{value:!0}),R.default=function m(b){(0,v.default)(1,arguments);var p=(0,s.default)(b),D=(0,c.default)(p).getTime()-(0,h.default)(p).getTime();return Math.round(D/_)+1};var s=n(r(73393)),c=n(r(29231)),h=n(r(21805)),v=n(r(57674)),_=6048e5;_e.exports=R.default},42743:(_e,R,r)=>{"use strict";var n=r(64836).default;Object.defineProperty(R,"__esModule",{value:!0}),R.default=function v(_){(0,c.default)(1,arguments);var m=(0,s.default)(_),b=m.getUTCFullYear(),p=new Date(0);p.setUTCFullYear(b+1,0,4),p.setUTCHours(0,0,0,0);var D=(0,h.default)(p),a=new Date(0);a.setUTCFullYear(b,0,4),a.setUTCHours(0,0,0,0);var u=(0,h.default)(a);return m.getTime()>=D.getTime()?b+1:m.getTime()>=u.getTime()?b:b-1};var s=n(r(73393)),c=n(r(57674)),h=n(r(29231));_e.exports=R.default},90097:(_e,R,r)=>{"use strict";var n=r(64836).default;Object.defineProperty(R,"__esModule",{value:!0}),R.default=function m(b,p){(0,v.default)(1,arguments);var D=(0,s.default)(b),a=(0,c.default)(D,p).getTime()-(0,h.default)(D,p).getTime();return Math.round(a/_)+1};var s=n(r(73393)),c=n(r(98918)),h=n(r(3357)),v=n(r(57674)),_=6048e5;_e.exports=R.default},39141:(_e,R,r)=>{"use strict";var n=r(64836).default;Object.defineProperty(R,"__esModule",{value:!0}),R.default=function m(b,p){var D,a,u,E,T,M,B,N;(0,c.default)(1,arguments);var W=(0,s.default)(b),A=W.getUTCFullYear(),X=(0,_.getDefaultOptions)(),U=(0,v.default)(null!==(D=null!==(a=null!==(u=null!==(E=p?.firstWeekContainsDate)&&void 0!==E?E:null==p||null===(T=p.locale)||void 0===T||null===(M=T.options)||void 0===M?void 0:M.firstWeekContainsDate)&&void 0!==u?u:X.firstWeekContainsDate)&&void 0!==a?a:null===(B=X.locale)||void 0===B||null===(N=B.options)||void 0===N?void 0:N.firstWeekContainsDate)&&void 0!==D?D:1);if(!(U>=1&&U<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var O=new Date(0);O.setUTCFullYear(A+1,0,U),O.setUTCHours(0,0,0,0);var k=(0,h.default)(O,p),I=new Date(0);I.setUTCFullYear(A,0,U),I.setUTCHours(0,0,0,0);var F=(0,h.default)(I,p);return W.getTime()>=k.getTime()?A+1:W.getTime()>=F.getTime()?A:A-1};var s=n(r(73393)),c=n(r(57674)),h=n(r(98918)),v=n(r(2382)),_=r(69628);_e.exports=R.default},10392:(_e,R)=>{"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.isProtectedDayOfYearToken=function s(v){return-1!==r.indexOf(v)},R.isProtectedWeekYearToken=function c(v){return-1!==n.indexOf(v)},R.throwProtectedError=function h(v,_,m){if("YYYY"===v)throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(_,"`) for formatting years to the input `").concat(m,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("YY"===v)throw new RangeError("Use `yy` instead of `YY` (in `".concat(_,"`) for formatting years to the input `").concat(m,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("D"===v)throw new RangeError("Use `d` instead of `D` (in `".concat(_,"`) for formatting days of the month to the input `").concat(m,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("DD"===v)throw new RangeError("Use `dd` instead of `DD` (in `".concat(_,"`) for formatting days of the month to the input `").concat(m,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))};var r=["D","DD"],n=["YY","YYYY"]},57674:(_e,R)=>{"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=function r(n,s){if(s.length<n)throw new TypeError(n+" argument"+(n>1?"s":"")+" required, but only "+s.length+" present")},_e.exports=R.default},29231:(_e,R,r)=>{"use strict";var n=r(64836).default;Object.defineProperty(R,"__esModule",{value:!0}),R.default=function h(v){(0,c.default)(1,arguments);var m=(0,s.default)(v),b=m.getUTCDay(),p=(b<1?7:0)+b-1;return m.setUTCDate(m.getUTCDate()-p),m.setUTCHours(0,0,0,0),m};var s=n(r(73393)),c=n(r(57674));_e.exports=R.default},21805:(_e,R,r)=>{"use strict";var n=r(64836).default;Object.defineProperty(R,"__esModule",{value:!0}),R.default=function v(_){(0,h.default)(1,arguments);var m=(0,s.default)(_),b=new Date(0);return b.setUTCFullYear(m,0,4),b.setUTCHours(0,0,0,0),(0,c.default)(b)};var s=n(r(42743)),c=n(r(29231)),h=n(r(57674));_e.exports=R.default},98918:(_e,R,r)=>{"use strict";var n=r(64836).default;Object.defineProperty(R,"__esModule",{value:!0}),R.default=function _(m,b){var p,D,a,u,E,T,M,B;(0,c.default)(1,arguments);var N=(0,v.getDefaultOptions)(),W=(0,h.default)(null!==(p=null!==(D=null!==(a=null!==(u=b?.weekStartsOn)&&void 0!==u?u:null==b||null===(E=b.locale)||void 0===E||null===(T=E.options)||void 0===T?void 0:T.weekStartsOn)&&void 0!==a?a:N.weekStartsOn)&&void 0!==D?D:null===(M=N.locale)||void 0===M||null===(B=M.options)||void 0===B?void 0:B.weekStartsOn)&&void 0!==p?p:0);if(!(W>=0&&W<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var A=(0,s.default)(m),X=A.getUTCDay(),U=(X<W?7:0)+X-W;return A.setUTCDate(A.getUTCDate()-U),A.setUTCHours(0,0,0,0),A};var s=n(r(73393)),c=n(r(57674)),h=n(r(2382)),v=r(69628);_e.exports=R.default},3357:(_e,R,r)=>{"use strict";var n=r(64836).default;Object.defineProperty(R,"__esModule",{value:!0}),R.default=function m(b,p){var D,a,u,E,T,M,B,N;(0,c.default)(1,arguments);var W=(0,_.getDefaultOptions)(),A=(0,v.default)(null!==(D=null!==(a=null!==(u=null!==(E=p?.firstWeekContainsDate)&&void 0!==E?E:null==p||null===(T=p.locale)||void 0===T||null===(M=T.options)||void 0===M?void 0:M.firstWeekContainsDate)&&void 0!==u?u:W.firstWeekContainsDate)&&void 0!==a?a:null===(B=W.locale)||void 0===B||null===(N=B.options)||void 0===N?void 0:N.firstWeekContainsDate)&&void 0!==D?D:1),X=(0,s.default)(b,p),U=new Date(0);return U.setUTCFullYear(X,0,A),U.setUTCHours(0,0,0,0),(0,h.default)(U,p)};var s=n(r(39141)),c=n(r(57674)),h=n(r(98918)),v=n(r(2382)),_=r(69628);_e.exports=R.default},2382:(_e,R)=>{"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=function r(n){if(null===n||!0===n||!1===n)return NaN;var s=Number(n);return isNaN(s)?s:s<0?Math.ceil(s):Math.floor(s)},_e.exports=R.default},86476:(_e,R,r)=>{"use strict";var n=r(64836).default;Object.defineProperty(R,"__esModule",{value:!0}),R.default=function v(_,m){(0,h.default)(2,arguments);var b=(0,c.default)(_).getTime(),p=(0,s.default)(m);return new Date(b+p)};var s=n(r(2382)),c=n(r(73393)),h=n(r(57674));_e.exports=R.default},62467:(_e,R,r)=>{"use strict";function n(s,c){for(var h=s<0?"-":"",v=Math.abs(s).toString();v.length<c;)v="0"+v;return h+v}r.d(R,{Z:()=>n})},9294:(_e,R,r)=>{"use strict";function n(s,c){if(c.length<s)throw new TypeError(s+" argument"+(s>1?"s":"")+" required, but only "+c.length+" present")}r.d(R,{Z:()=>n})},37566:(_e,R,r)=>{"use strict";function n(s){if(null===s||!0===s||!1===s)return NaN;var c=Number(s);return isNaN(c)?c:c<0?Math.ceil(c):Math.floor(c)}r.d(R,{Z:()=>n})},78402:(_e,R,r)=>{"use strict";r.d(R,{Z:()=>h});var n=r(37566),s=r(8366),c=r(9294);function h(v,_){(0,c.Z)(2,arguments);var m=(0,s.Z)(v),b=(0,n.Z)(_);return isNaN(b)?new Date(NaN):(b&&m.setDate(m.getDate()+b),m)}},12886:(_e,R,r)=>{"use strict";r.d(R,{Z:()=>h});var n=r(37566),s=r(8366),c=r(9294);function h(v,_){(0,c.Z)(2,arguments);var m=(0,s.Z)(v).getTime(),b=(0,n.Z)(_);return new Date(m+b)}},50257:(_e,R,r)=>{"use strict";r.d(R,{Z:()=>h});var n=r(8366),s=r(62467),c=r(9294);function h(v,_){var m,b;(0,c.Z)(1,arguments);var p=(0,n.Z)(v);if(isNaN(p.getTime()))throw new RangeError("Invalid time value");var D=String(null!==(m=_?.format)&&void 0!==m?m:"extended"),a=String(null!==(b=_?.representation)&&void 0!==b?b:"complete");if("extended"!==D&&"basic"!==D)throw new RangeError("format must be 'extended' or 'basic'");if("date"!==a&&"time"!==a&&"complete"!==a)throw new RangeError("representation must be 'date', 'time', or 'complete'");var u="",E="",T="extended"===D?"-":"",M="extended"===D?":":"";if("time"!==a){var B=(0,s.Z)(p.getDate(),2),N=(0,s.Z)(p.getMonth()+1,2),W=(0,s.Z)(p.getFullYear(),4);u="".concat(W).concat(T).concat(N).concat(T).concat(B)}if("date"!==a){var A=p.getTimezoneOffset();if(0!==A){var X=Math.abs(A),U=(0,s.Z)(Math.floor(X/60),2),O=(0,s.Z)(X%60,2);E="".concat(A<0?"+":"-").concat(U,":").concat(O)}else E="Z";var H=""===u?"":"T",$=[(0,s.Z)(p.getHours(),2),(0,s.Z)(p.getMinutes(),2),(0,s.Z)(p.getSeconds(),2)].join(M);u="".concat(u).concat(H).concat($).concat(E)}return u}},3286:(_e,R,r)=>{"use strict";r.d(R,{Z:()=>m});var n=r(71002),s=r(8366),c=r(37566),h=r(9294);function m(b,p){if((0,h.Z)(2,arguments),"object"!==(0,n.Z)(p)||null===p)throw new RangeError("values parameter must be an object");var D=(0,s.Z)(b);return isNaN(D.getTime())?new Date(NaN):(null!=p.year&&D.setFullYear(p.year),null!=p.month&&(D=function _(b,p){(0,h.Z)(2,arguments);var D=(0,s.Z)(b),a=(0,c.Z)(p),u=D.getFullYear(),E=D.getDate(),T=new Date(0);T.setFullYear(u,a,15),T.setHours(0,0,0,0);var M=function v(b){(0,h.Z)(1,arguments);var p=(0,s.Z)(b),D=p.getFullYear(),a=p.getMonth(),u=new Date(0);return u.setFullYear(D,a+1,0),u.setHours(0,0,0,0),u.getDate()}(T);return D.setMonth(a,Math.min(E,M)),D}(D,p.month)),null!=p.date&&D.setDate((0,c.Z)(p.date)),null!=p.hours&&D.setHours((0,c.Z)(p.hours)),null!=p.minutes&&D.setMinutes((0,c.Z)(p.minutes)),null!=p.seconds&&D.setSeconds((0,c.Z)(p.seconds)),null!=p.milliseconds&&D.setMilliseconds((0,c.Z)(p.milliseconds)),D)}},45394:(_e,R,r)=>{"use strict";r.d(R,{Z:()=>h});var n=r(78402),s=r(9294),c=r(37566);function h(v,_){(0,s.Z)(2,arguments);var m=(0,c.Z)(_);return(0,n.Z)(v,-m)}},8366:(_e,R,r)=>{"use strict";r.d(R,{Z:()=>c});var n=r(71002),s=r(9294);function c(h){(0,s.Z)(1,arguments);var v=Object.prototype.toString.call(h);return h instanceof Date||"object"===(0,n.Z)(h)&&"[object Date]"===v?new Date(h.getTime()):"number"==typeof h||"[object Number]"===v?new Date(h):(("string"==typeof h||"[object String]"===v)&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn((new Error).stack)),new Date(NaN))}},82367:(_e,R,r)=>{"use strict";var n=r(64836).default;Object.defineProperty(R,"__esModule",{value:!0}),R.default=function W(X,U,O){var k,I,F,P,H,$,J,V,le,ge,te,We,Te,ee,Q,me,pe,se;(0,D.default)(2,arguments);var Me=String(U),ct=(0,a.getDefaultOptions)(),vt=null!==(k=null!==(I=O?.locale)&&void 0!==I?I:ct.locale)&&void 0!==k?k:u.default,Pt=(0,p.default)(null!==(F=null!==(P=null!==(H=null!==($=O?.firstWeekContainsDate)&&void 0!==$?$:null==O||null===(J=O.locale)||void 0===J||null===(V=J.options)||void 0===V?void 0:V.firstWeekContainsDate)&&void 0!==H?H:ct.firstWeekContainsDate)&&void 0!==P?P:null===(le=ct.locale)||void 0===le||null===(ge=le.options)||void 0===ge?void 0:ge.firstWeekContainsDate)&&void 0!==F?F:1);if(!(Pt>=1&&Pt<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var lt=(0,p.default)(null!==(te=null!==(We=null!==(Te=null!==(ee=O?.weekStartsOn)&&void 0!==ee?ee:null==O||null===(Q=O.locale)||void 0===Q||null===(me=Q.options)||void 0===me?void 0:me.weekStartsOn)&&void 0!==Te?Te:ct.weekStartsOn)&&void 0!==We?We:null===(pe=ct.locale)||void 0===pe||null===(se=pe.options)||void 0===se?void 0:se.weekStartsOn)&&void 0!==te?te:0);if(!(lt>=0&&lt<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!vt.localize)throw new RangeError("locale must contain localize property");if(!vt.formatLong)throw new RangeError("locale must contain formatLong property");var tt=(0,h.default)(X);if(!(0,s.default)(tt))throw new RangeError("Invalid time value");var ut=(0,m.default)(tt),ne=(0,c.default)(tt,ut),y={firstWeekContainsDate:Pt,weekStartsOn:lt,locale:vt,_originalDate:tt};return Me.match(T).map(function(w){var Fe=w[0];return"p"===Fe||"P"===Fe?(0,_.default[Fe])(w,vt.formatLong):w}).join("").match(E).map(function(w){if("''"===w)return"'";var Fe=w[0];if("'"===Fe)return function A(X){var U=X.match(M);return U?U[1].replace(B,"'"):X}(w);var Je=v.default[Fe];if(Je)return!(null!=O&&O.useAdditionalWeekYearTokens)&&(0,b.isProtectedWeekYearToken)(w)&&(0,b.throwProtectedError)(w,U,String(X)),!(null!=O&&O.useAdditionalDayOfYearTokens)&&(0,b.isProtectedDayOfYearToken)(w)&&(0,b.throwProtectedError)(w,U,String(X)),Je(ne,w,vt.localize,y);if(Fe.match(N))throw new RangeError("Format string contains an unescaped latin alphabet character `"+Fe+"`");return w}).join("")};var s=n(r(5340)),c=n(r(22196)),h=n(r(73393)),v=n(r(71519)),_=n(r(10128)),m=n(r(1850)),b=r(10392),p=n(r(2382)),D=n(r(57674)),a=r(69628),u=n(r(17448)),E=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,T=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,M=/^'([^]*?)'?$/,B=/''/g,N=/[a-zA-Z]/;_e.exports=R.default},56882:(_e,R,r)=>{"use strict";var n=r(64836).default;Object.defineProperty(R,"__esModule",{value:!0}),R.default=function h(v){return(0,c.default)(1,arguments),v instanceof Date||"object"===(0,s.default)(v)&&"[object Date]"===Object.prototype.toString.call(v)};var s=n(r(18698)),c=n(r(57674));_e.exports=R.default},5340:(_e,R,r)=>{"use strict";var n=r(64836).default;Object.defineProperty(R,"__esModule",{value:!0}),R.default=function v(_){if((0,h.default)(1,arguments),!(0,s.default)(_)&&"number"!=typeof _)return!1;var m=(0,c.default)(_);return!isNaN(Number(m))};var s=n(r(56882)),c=n(r(73393)),h=n(r(57674));_e.exports=R.default},90494:(_e,R)=>{"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=function r(n){return function(){var s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},c=s.width?String(s.width):n.defaultWidth;return n.formats[c]||n.formats[n.defaultWidth]}},_e.exports=R.default},22887:(_e,R)=>{"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=function r(n){return function(s,c){var v;if("formatting"===(null!=c&&c.context?String(c.context):"standalone")&&n.formattingValues){var _=n.defaultFormattingWidth||n.defaultWidth,m=null!=c&&c.width?String(c.width):_;v=n.formattingValues[m]||n.formattingValues[_]}else{var b=n.defaultWidth,p=null!=c&&c.width?String(c.width):n.defaultWidth;v=n.values[p]||n.values[b]}return v[n.argumentCallback?n.argumentCallback(s):s]}},_e.exports=R.default},36481:(_e,R)=>{"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=function r(c){return function(h){var v=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},_=v.width,b=h.match(_&&c.matchPatterns[_]||c.matchPatterns[c.defaultMatchWidth]);if(!b)return null;var u,p=b[0],D=_&&c.parsePatterns[_]||c.parsePatterns[c.defaultParseWidth],a=Array.isArray(D)?function s(c,h){for(var v=0;v<c.length;v++)if(h(c[v]))return v}(D,function(T){return T.test(p)}):function n(c,h){for(var v in c)if(c.hasOwnProperty(v)&&h(c[v]))return v}(D,function(T){return T.test(p)});return u=c.valueCallback?c.valueCallback(a):a,{value:u=v.valueCallback?v.valueCallback(u):u,rest:h.slice(p.length)}}},_e.exports=R.default},15583:(_e,R)=>{"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=function r(n){return function(s){var c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},h=s.match(n.matchPattern);if(!h)return null;var v=h[0],_=s.match(n.parsePattern);if(!_)return null;var m=n.valueCallback?n.valueCallback(_[0]):_[0];return{value:m=c.valueCallback?c.valueCallback(m):m,rest:s.slice(v.length)}}},_e.exports=R.default},7717:(_e,R)=>{"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var r={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};R.default=function(h,v,_){var m,b=r[h];return m="string"==typeof b?b:1===v?b.one:b.other.replace("{{count}}",v.toString()),null!=_&&_.addSuffix?_.comparison&&_.comparison>0?"in "+m:m+" ago":m},_e.exports=R.default},40821:(_e,R,r)=>{"use strict";var n=r(64836).default;Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var s=n(r(90494)),_={date:(0,s.default)({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:(0,s.default)({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:(0,s.default)({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})};R.default=_,_e.exports=R.default},1040:(_e,R)=>{"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var r={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};R.default=function(h,v,_,m){return r[h]},_e.exports=R.default},79843:(_e,R,r)=>{"use strict";var n=r(64836).default;Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var s=n(r(22887)),D={ordinalNumber:function(E,T){var M=Number(E),B=M%100;if(B>20||B<10)switch(B%10){case 1:return M+"st";case 2:return M+"nd";case 3:return M+"rd"}return M+"th"},era:(0,s.default)({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:(0,s.default)({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(E){return E-1}}),month:(0,s.default)({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:(0,s.default)({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:(0,s.default)({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})};R.default=D,_e.exports=R.default},18614:(_e,R,r)=>{"use strict";var n=r(64836).default;Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var s=n(r(36481)),B={ordinalNumber:(0,n(r(15583)).default)({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(A){return parseInt(A,10)}}),era:(0,s.default)({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:(0,s.default)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(A){return A+1}}),month:(0,s.default)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:(0,s.default)({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:(0,s.default)({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})};R.default=B,_e.exports=R.default},22796:(_e,R,r)=>{"use strict";var n=r(64836).default;Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var s=n(r(7717)),c=n(r(40821)),h=n(r(1040)),v=n(r(79843)),_=n(r(18614));R.default={code:"en-US",formatDistance:s.default,formatLong:c.default,formatRelative:h.default,localize:v.default,match:_.default,options:{weekStartsOn:0,firstWeekContainsDate:1}},_e.exports=R.default},22196:(_e,R,r)=>{"use strict";var n=r(64836).default;Object.defineProperty(R,"__esModule",{value:!0}),R.default=function v(_,m){(0,c.default)(2,arguments);var b=(0,h.default)(m);return(0,s.default)(_,-b)};var s=n(r(86476)),c=n(r(57674)),h=n(r(2382));_e.exports=R.default},73393:(_e,R,r)=>{"use strict";var n=r(64836).default;Object.defineProperty(R,"__esModule",{value:!0}),R.default=function h(v){(0,c.default)(1,arguments);var _=Object.prototype.toString.call(v);return v instanceof Date||"object"===(0,s.default)(v)&&"[object Date]"===_?new Date(v.getTime()):"number"==typeof v||"[object Number]"===_?new Date(v):(("string"==typeof v||"[object String]"===_)&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn((new Error).stack)),new Date(NaN))};var s=n(r(18698)),c=n(r(57674));_e.exports=R.default},68382:(_e,R)=>{R.Od=function _(m){return m.replace(/[^\u0000-\u007e]/g,function(b){return s[b]||b})};for(var n=[{base:" ",chars:"\xa0"},{base:"0",chars:"\u07c0"},{base:"A",chars:"\u24b6\uff21\xc0\xc1\xc2\u1ea6\u1ea4\u1eaa\u1ea8\xc3\u0100\u0102\u1eb0\u1eae\u1eb4\u1eb2\u0226\u01e0\xc4\u01de\u1ea2\xc5\u01fa\u01cd\u0200\u0202\u1ea0\u1eac\u1eb6\u1e00\u0104\u023a\u2c6f"},{base:"AA",chars:"\ua732"},{base:"AE",chars:"\xc6\u01fc\u01e2"},{base:"AO",chars:"\ua734"},{base:"AU",chars:"\ua736"},{base:"AV",chars:"\ua738\ua73a"},{base:"AY",chars:"\ua73c"},{base:"B",chars:"\u24b7\uff22\u1e02\u1e04\u1e06\u0243\u0181"},{base:"C",chars:"\u24b8\uff23\ua73e\u1e08\u0106C\u0108\u010a\u010c\xc7\u0187\u023b"},{base:"D",chars:"\u24b9\uff24\u1e0a\u010e\u1e0c\u1e10\u1e12\u1e0e\u0110\u018a\u0189\u1d05\ua779"},{base:"Dh",chars:"\xd0"},{base:"DZ",chars:"\u01f1\u01c4"},{base:"Dz",chars:"\u01f2\u01c5"},{base:"E",chars:"\u025b\u24ba\uff25\xc8\xc9\xca\u1ec0\u1ebe\u1ec4\u1ec2\u1ebc\u0112\u1e14\u1e16\u0114\u0116\xcb\u1eba\u011a\u0204\u0206\u1eb8\u1ec6\u0228\u1e1c\u0118\u1e18\u1e1a\u0190\u018e\u1d07"},{base:"F",chars:"\ua77c\u24bb\uff26\u1e1e\u0191\ua77b"},{base:"G",chars:"\u24bc\uff27\u01f4\u011c\u1e20\u011e\u0120\u01e6\u0122\u01e4\u0193\ua7a0\ua77d\ua77e\u0262"},{base:"H",chars:"\u24bd\uff28\u0124\u1e22\u1e26\u021e\u1e24\u1e28\u1e2a\u0126\u2c67\u2c75\ua78d"},{base:"I",chars:"\u24be\uff29\xcc\xcd\xce\u0128\u012a\u012c\u0130\xcf\u1e2e\u1ec8\u01cf\u0208\u020a\u1eca\u012e\u1e2c\u0197"},{base:"J",chars:"\u24bf\uff2a\u0134\u0248\u0237"},{base:"K",chars:"\u24c0\uff2b\u1e30\u01e8\u1e32\u0136\u1e34\u0198\u2c69\ua740\ua742\ua744\ua7a2"},{base:"L",chars:"\u24c1\uff2c\u013f\u0139\u013d\u1e36\u1e38\u013b\u1e3c\u1e3a\u0141\u023d\u2c62\u2c60\ua748\ua746\ua780"},{base:"LJ",chars:"\u01c7"},{base:"Lj",chars:"\u01c8"},{base:"M",chars:"\u24c2\uff2d\u1e3e\u1e40\u1e42\u2c6e\u019c\u03fb"},{base:"N",chars:"\ua7a4\u0220\u24c3\uff2e\u01f8\u0143\xd1\u1e44\u0147\u1e46\u0145\u1e4a\u1e48\u019d\ua790\u1d0e"},{base:"NJ",chars:"\u01ca"},{base:"Nj",chars:"\u01cb"},{base:"O",chars:"\u24c4\uff2f\xd2\xd3\xd4\u1ed2\u1ed0\u1ed6\u1ed4\xd5\u1e4c\u022c\u1e4e\u014c\u1e50\u1e52\u014e\u022e\u0230\xd6\u022a\u1ece\u0150\u01d1\u020c\u020e\u01a0\u1edc\u1eda\u1ee0\u1ede\u1ee2\u1ecc\u1ed8\u01ea\u01ec\xd8\u01fe\u0186\u019f\ua74a\ua74c"},{base:"OE",chars:"\u0152"},{base:"OI",chars:"\u01a2"},{base:"OO",chars:"\ua74e"},{base:"OU",chars:"\u0222"},{base:"P",chars:"\u24c5\uff30\u1e54\u1e56\u01a4\u2c63\ua750\ua752\ua754"},{base:"Q",chars:"\u24c6\uff31\ua756\ua758\u024a"},{base:"R",chars:"\u24c7\uff32\u0154\u1e58\u0158\u0210\u0212\u1e5a\u1e5c\u0156\u1e5e\u024c\u2c64\ua75a\ua7a6\ua782"},{base:"S",chars:"\u24c8\uff33\u1e9e\u015a\u1e64\u015c\u1e60\u0160\u1e66\u1e62\u1e68\u0218\u015e\u2c7e\ua7a8\ua784"},{base:"T",chars:"\u24c9\uff34\u1e6a\u0164\u1e6c\u021a\u0162\u1e70\u1e6e\u0166\u01ac\u01ae\u023e\ua786"},{base:"Th",chars:"\xde"},{base:"TZ",chars:"\ua728"},{base:"U",chars:"\u24ca\uff35\xd9\xda\xdb\u0168\u1e78\u016a\u1e7a\u016c\xdc\u01db\u01d7\u01d5\u01d9\u1ee6\u016e\u0170\u01d3\u0214\u0216\u01af\u1eea\u1ee8\u1eee\u1eec\u1ef0\u1ee4\u1e72\u0172\u1e76\u1e74\u0244"},{base:"V",chars:"\u24cb\uff36\u1e7c\u1e7e\u01b2\ua75e\u0245"},{base:"VY",chars:"\ua760"},{base:"W",chars:"\u24cc\uff37\u1e80\u1e82\u0174\u1e86\u1e84\u1e88\u2c72"},{base:"X",chars:"\u24cd\uff38\u1e8a\u1e8c"},{base:"Y",chars:"\u24ce\uff39\u1ef2\xdd\u0176\u1ef8\u0232\u1e8e\u0178\u1ef6\u1ef4\u01b3\u024e\u1efe"},{base:"Z",chars:"\u24cf\uff3a\u0179\u1e90\u017b\u017d\u1e92\u1e94\u01b5\u0224\u2c7f\u2c6b\ua762"},{base:"a",chars:"\u24d0\uff41\u1e9a\xe0\xe1\xe2\u1ea7\u1ea5\u1eab\u1ea9\xe3\u0101\u0103\u1eb1\u1eaf\u1eb5\u1eb3\u0227\u01e1\xe4\u01df\u1ea3\xe5\u01fb\u01ce\u0201\u0203\u1ea1\u1ead\u1eb7\u1e01\u0105\u2c65\u0250\u0251"},{base:"aa",chars:"\ua733"},{base:"ae",chars:"\xe6\u01fd\u01e3"},{base:"ao",chars:"\ua735"},{base:"au",chars:"\ua737"},{base:"av",chars:"\ua739\ua73b"},{base:"ay",chars:"\ua73d"},{base:"b",chars:"\u24d1\uff42\u1e03\u1e05\u1e07\u0180\u0183\u0253\u0182"},{base:"c",chars:"\uff43\u24d2\u0107\u0109\u010b\u010d\xe7\u1e09\u0188\u023c\ua73f\u2184"},{base:"d",chars:"\u24d3\uff44\u1e0b\u010f\u1e0d\u1e11\u1e13\u1e0f\u0111\u018c\u0256\u0257\u018b\u13e7\u0501\ua7aa"},{base:"dh",chars:"\xf0"},{base:"dz",chars:"\u01f3\u01c6"},{base:"e",chars:"\u24d4\uff45\xe8\xe9\xea\u1ec1\u1ebf\u1ec5\u1ec3\u1ebd\u0113\u1e15\u1e17\u0115\u0117\xeb\u1ebb\u011b\u0205\u0207\u1eb9\u1ec7\u0229\u1e1d\u0119\u1e19\u1e1b\u0247\u01dd"},{base:"f",chars:"\u24d5\uff46\u1e1f\u0192"},{base:"ff",chars:"\ufb00"},{base:"fi",chars:"\ufb01"},{base:"fl",chars:"\ufb02"},{base:"ffi",chars:"\ufb03"},{base:"ffl",chars:"\ufb04"},{base:"g",chars:"\u24d6\uff47\u01f5\u011d\u1e21\u011f\u0121\u01e7\u0123\u01e5\u0260\ua7a1\ua77f\u1d79"},{base:"h",chars:"\u24d7\uff48\u0125\u1e23\u1e27\u021f\u1e25\u1e29\u1e2b\u1e96\u0127\u2c68\u2c76\u0265"},{base:"hv",chars:"\u0195"},{base:"i",chars:"\u24d8\uff49\xec\xed\xee\u0129\u012b\u012d\xef\u1e2f\u1ec9\u01d0\u0209\u020b\u1ecb\u012f\u1e2d\u0268\u0131"},{base:"j",chars:"\u24d9\uff4a\u0135\u01f0\u0249"},{base:"k",chars:"\u24da\uff4b\u1e31\u01e9\u1e33\u0137\u1e35\u0199\u2c6a\ua741\ua743\ua745\ua7a3"},{base:"l",chars:"\u24db\uff4c\u0140\u013a\u013e\u1e37\u1e39\u013c\u1e3d\u1e3b\u017f\u0142\u019a\u026b\u2c61\ua749\ua781\ua747\u026d"},{base:"lj",chars:"\u01c9"},{base:"m",chars:"\u24dc\uff4d\u1e3f\u1e41\u1e43\u0271\u026f"},{base:"n",chars:"\u24dd\uff4e\u01f9\u0144\xf1\u1e45\u0148\u1e47\u0146\u1e4b\u1e49\u019e\u0272\u0149\ua791\ua7a5\u043b\u0509"},{base:"nj",chars:"\u01cc"},{base:"o",chars:"\u24de\uff4f\xf2\xf3\xf4\u1ed3\u1ed1\u1ed7\u1ed5\xf5\u1e4d\u022d\u1e4f\u014d\u1e51\u1e53\u014f\u022f\u0231\xf6\u022b\u1ecf\u0151\u01d2\u020d\u020f\u01a1\u1edd\u1edb\u1ee1\u1edf\u1ee3\u1ecd\u1ed9\u01eb\u01ed\xf8\u01ff\ua74b\ua74d\u0275\u0254\u1d11"},{base:"oe",chars:"\u0153"},{base:"oi",chars:"\u01a3"},{base:"oo",chars:"\ua74f"},{base:"ou",chars:"\u0223"},{base:"p",chars:"\u24df\uff50\u1e55\u1e57\u01a5\u1d7d\ua751\ua753\ua755\u03c1"},{base:"q",chars:"\u24e0\uff51\u024b\ua757\ua759"},{base:"r",chars:"\u24e1\uff52\u0155\u1e59\u0159\u0211\u0213\u1e5b\u1e5d\u0157\u1e5f\u024d\u027d\ua75b\ua7a7\ua783"},{base:"s",chars:"\u24e2\uff53\u015b\u1e65\u015d\u1e61\u0161\u1e67\u1e63\u1e69\u0219\u015f\u023f\ua7a9\ua785\u1e9b\u0282"},{base:"ss",chars:"\xdf"},{base:"t",chars:"\u24e3\uff54\u1e6b\u1e97\u0165\u1e6d\u021b\u0163\u1e71\u1e6f\u0167\u01ad\u0288\u2c66\ua787"},{base:"th",chars:"\xfe"},{base:"tz",chars:"\ua729"},{base:"u",chars:"\u24e4\uff55\xf9\xfa\xfb\u0169\u1e79\u016b\u1e7b\u016d\xfc\u01dc\u01d8\u01d6\u01da\u1ee7\u016f\u0171\u01d4\u0215\u0217\u01b0\u1eeb\u1ee9\u1eef\u1eed\u1ef1\u1ee5\u1e73\u0173\u1e77\u1e75\u0289"},{base:"v",chars:"\u24e5\uff56\u1e7d\u1e7f\u028b\ua75f\u028c"},{base:"vy",chars:"\ua761"},{base:"w",chars:"\u24e6\uff57\u1e81\u1e83\u0175\u1e87\u1e85\u1e98\u1e89\u2c73"},{base:"x",chars:"\u24e7\uff58\u1e8b\u1e8d"},{base:"y",chars:"\u24e8\uff59\u1ef3\xfd\u0177\u1ef9\u0233\u1e8f\xff\u1ef7\u1e99\u1ef5\u01b4\u024f\u1eff"},{base:"z",chars:"\u24e9\uff5a\u017a\u1e91\u017c\u017e\u1e93\u1e95\u01b6\u0225\u0240\u2c6c\ua763"}],s={},c=0;c<n.length;c+=1)for(var h=n[c].chars,v=0;v<h.length;v+=1)s[h[v]]=n[c].base},37311:(_e,R,r)=>{"use strict";const n=r(59498),s=r(68382).Od,c={},h={},v={},_={},m={};function b(X){return("000"+(X||"")).slice(-3)}function p(X,U){return Object.prototype.hasOwnProperty.call(X,U)}function a(X,U){switch(X){case"official":return Array.isArray(U)?U[0]:U;case"all":return"string"==typeof U?[U]:U;case"alias":return Array.isArray(U)?U[1]||U[0]:U;default:throw new TypeError("LocaleNameType must be one of these: all, official, alias!")}}function u(X){return v[X]}function E(X){return h[X]}function B(X){const U=b(X);return E(_[U])}function N(X){const U=b(X);return _[U]}function A(X){if("string"==typeof X){if(/^[0-9]*$/.test(X))return N(X);if(2===X.length)return X.toUpperCase();if(3===X.length)return u(X.toUpperCase())}if("number"==typeof X)return N(X)}n.forEach(function(X){const U=X;h[U[0]]=U[1],v[U[1]]=U[0],_[U[2]]=U[0],m[U[0]]=U[2]}),R.registerLocale=function(X){if(!X.locale)throw new TypeError("Missing localeData.locale");if(!X.countries)throw new TypeError("Missing localeData.countries");c[X.locale]=X.countries},R.alpha3ToAlpha2=u,R.alpha2ToAlpha3=E,R.alpha3ToNumeric=function T(X){return m[u(X)]},R.alpha2ToNumeric=function M(X){return m[X]},R.numericToAlpha3=B,R.numericToAlpha2=N,R.toAlpha3=function W(X){if("string"==typeof X){if(/^[0-9]*$/.test(X))return B(X);if(2===X.length)return E(X.toUpperCase());if(3===X.length)return X.toUpperCase()}if("number"==typeof X)return B(X)},R.toAlpha2=A,R.getName=function(X,U,O={}){"select"in O||(O.select="official");try{const I=c[U.toLowerCase()][A(X)];return a(O.select,I)}catch{return}},R.getNames=function(X,U={}){"select"in U||(U.select="official");const O=c[X.toLowerCase()];return void 0===O?{}:function D(X,U){return Object.keys(X).reduce(function(O,k){return O[k]=U(X[k],k),O},{})}(O,function(k){return a(U.select,k)})},R.getAlpha2Code=function(X,U){const O=I=>I.toLowerCase(),k=(I,F)=>O(I)===O(F);try{const I=c[U.toLowerCase()];for(const F in I)if(p(I,F)){if("string"==typeof I[F]&&k(I[F],X))return F;if(Array.isArray(I[F]))for(const P of I[F])if(k(P,X))return F}return}catch{return}},R.getSimpleAlpha2Code=function(X,U){const O=I=>s(I.toLowerCase()),k=(I,F)=>O(I)===O(F);try{const I=c[U.toLowerCase()];for(const F in I)if(p(I,F)){if("string"==typeof I[F]&&k(I[F],X))return F;if(Array.isArray(I[F]))for(const P of I[F])if(k(P,X))return F}return}catch{return}},R.getAlpha2Codes=function(){return h},R.getAlpha3Code=function(X,U){const O=R.getAlpha2Code(X,U);if(O)return R.toAlpha3(O)},R.getSimpleAlpha3Code=function(X,U){const O=R.getSimpleAlpha2Code(X,U);if(O)return R.toAlpha3(O)},R.getAlpha3Codes=function(){return v},R.getNumericCodes=function(){return _},R.langs=function(){return Object.keys(c)},R.isValid=function(X){if(!X)return!1;const U=X.toString().toUpperCase();return p(v,U)||p(h,U)||p(_,U)}},83162:(_e,R,r)=>{"use strict";function n($,J){for(var V=0;V<J.length;V++){var le=J[V];le.enumerable=le.enumerable||!1,le.configurable=!0,"value"in le&&(le.writable=!0),Object.defineProperty($,le.key,le)}}function s($,J,V){return J&&n($.prototype,J),V&&n($,V),$}function c(){return c=Object.assign||function($){for(var J=1;J<arguments.length;J++){var V=arguments[J];for(var le in V)Object.prototype.hasOwnProperty.call(V,le)&&($[le]=V[le])}return $},c.apply(this,arguments)}function h($,J){$.prototype=Object.create(J.prototype),$.prototype.constructor=$,$.__proto__=J}function v($){return!(!$||"function"!=typeof $.hasOwnProperty||!($.hasOwnProperty("__ownerID")||$._map&&$._map.hasOwnProperty("__ownerID")))}function _($,J,V){return Object.keys($).reduce(function(le,ge){var te=""+ge;return le.has(te)?le.set(te,V(le.get(te),$[te])):le},J)}r.d(R,{Fv:()=>k,fK:()=>O});var b=function(){function $(V,le,ge){if(void 0===le&&(le={}),void 0===ge&&(ge={}),!V||"string"!=typeof V)throw new Error("Expected a string key for Entity, but found "+V+".");var We=ge.idAttribute,Te=void 0===We?"id":We,ee=ge.mergeStrategy,Q=void 0===ee?function(ct,vt){return c({},ct,vt)}:ee,me=ge.processStrategy,pe=void 0===me?function(ct){return c({},ct)}:me,se=ge.fallbackStrategy,Me=void 0===se?function(ct,vt){}:se;this._key=V,this._getId="function"==typeof Te?Te:function(J){return function(V){return v(V)?V.get(J):V[J]}}(Te),this._idAttribute=Te,this._mergeStrategy=Q,this._processStrategy=pe,this._fallbackStrategy=Me,this.define(le)}var J=$.prototype;return J.define=function(le){this.schema=Object.keys(le).reduce(function(ge,te){var We;return c({},ge,((We={})[te]=le[te],We))},this.schema||{})},J.getId=function(le,ge,te){return this._getId(le,ge,te)},J.merge=function(le,ge){return this._mergeStrategy(le,ge)},J.fallback=function(le,ge){return this._fallbackStrategy(le,ge)},J.normalize=function(le,ge,te,We,Te,ee){var Q=this,me=this.getId(le,ge,te),pe=this.key;if(pe in ee||(ee[pe]={}),me in ee[pe]||(ee[pe][me]=[]),ee[pe][me].some(function(Me){return Me===le}))return me;ee[pe][me].push(le);var se=this._processStrategy(le,ge,te);return Object.keys(this.schema).forEach(function(Me){if(se.hasOwnProperty(Me)&&"object"==typeof se[Me]){var ct=Q.schema[Me],vt="function"==typeof ct?ct(le):ct;se[Me]=We(se[Me],se,Me,vt,Te,ee)}}),Te(this,se,le,ge,te),me},J.denormalize=function(le,ge){var te=this;return v(le)?_(this.schema,le,ge):(Object.keys(this.schema).forEach(function(We){le.hasOwnProperty(We)&&(le[We]=ge(le[We],te.schema[We]))}),le)},s($,[{key:"key",get:function(){return this._key}},{key:"idAttribute",get:function(){return this._idAttribute}}]),$}(),p=function(){function $(V,le){le&&(this._schemaAttribute="string"==typeof le?function(ge){return ge[le]}:le),this.define(V)}var J=$.prototype;return J.define=function(le){this.schema=le},J.getSchemaAttribute=function(le,ge,te){return!this.isSingleSchema&&this._schemaAttribute(le,ge,te)},J.inferSchema=function(le,ge,te){if(this.isSingleSchema)return this.schema;var We=this.getSchemaAttribute(le,ge,te);return this.schema[We]},J.normalizeValue=function(le,ge,te,We,Te,ee){var Q=this.inferSchema(le,ge,te);if(!Q)return le;var me=We(le,ge,te,Q,Te,ee);return this.isSingleSchema||null==me?me:{id:me,schema:this.getSchemaAttribute(le,ge,te)}},J.denormalizeValue=function(le,ge){var te=v(le)?le.get("schema"):le.schema;return this.isSingleSchema||te?ge((this.isSingleSchema?void 0:v(le)?le.get("id"):le.id)||le,this.isSingleSchema?this.schema:this.schema[te]):le},s($,[{key:"isSingleSchema",get:function(){return!this._schemaAttribute}}]),$}(),D=function($){function J(le,ge){if(!ge)throw new Error('Expected option "schemaAttribute" not found on UnionSchema.');return $.call(this,le,ge)||this}h(J,$);var V=J.prototype;return V.normalize=function(ge,te,We,Te,ee,Q){return this.normalizeValue(ge,te,We,Te,ee,Q)},V.denormalize=function(ge,te){return this.denormalizeValue(ge,te)},J}(p),a=function($){function J(){return $.apply(this,arguments)||this}h(J,$);var V=J.prototype;return V.normalize=function(ge,te,We,Te,ee,Q){var me=this;return Object.keys(ge).reduce(function(pe,se,Me){var ct,vt=ge[se];return null!=vt?c({},pe,((ct={})[se]=me.normalizeValue(vt,ge,se,Te,ee,Q),ct)):pe},{})},V.denormalize=function(ge,te){var We=this;return Object.keys(ge).reduce(function(Te,ee){var Q;return c({},Te,((Q={})[ee]=We.denormalizeValue(ge[ee],te),Q))},{})},J}(p),E=function(J){return Array.isArray(J)?J:Object.keys(J).map(function(V){return J[V]})},T=function(J,V,le,ge,te,We,Te){return J=function(J){if(Array.isArray(J)&&J.length>1)throw new Error("Expected schema definition to be a single schema, but found "+J.length+".");return J[0]}(J),E(V).map(function(Q,me){return te(Q,le,ge,J,We,Te)})},N=function(J,V,le,ge,te,We,Te){var ee=c({},V);return Object.keys(J).forEach(function(Q){var me=J[Q],pe="function"==typeof me?me(V):me,se=te(V[Q],V,Q,pe,We,Te);null==se?delete ee[Q]:ee[Q]=se}),ee},W=function(J,V,le){if(v(V))return _(J,V,le);var ge=c({},V);return Object.keys(J).forEach(function(te){null!=ge[te]&&(ge[te]=le(ge[te],J[te]))}),ge},X=function $(J,V,le,ge,te,We){return"object"==typeof J&&J?"object"!=typeof ge||ge.normalize&&"function"==typeof ge.normalize?ge.normalize(J,V,le,$,te,We):(Array.isArray(ge)?T:N)(ge,J,V,le,$,te,We):J},O={Array:function($){function J(){return $.apply(this,arguments)||this}h(J,$);var V=J.prototype;return V.normalize=function(ge,te,We,Te,ee,Q){var me=this;return E(ge).map(function(se,Me){return me.normalizeValue(se,te,We,Te,ee,Q)}).filter(function(se){return null!=se})},V.denormalize=function(ge,te){var We=this;return ge&&ge.map?ge.map(function(Te){return We.denormalizeValue(Te,te)}):ge},J}(p),Entity:b,Object:function(){function $(V){this.define(V)}var J=$.prototype;return J.define=function(le){this.schema=Object.keys(le).reduce(function(ge,te){var We;return c({},ge,((We={})[te]=le[te],We))},this.schema||{})},J.normalize=function(){for(var le=arguments.length,ge=new Array(le),te=0;te<le;te++)ge[te]=arguments[te];return N.apply(void 0,[this.schema].concat(ge))},J.denormalize=function(){for(var le=arguments.length,ge=new Array(le),te=0;te<le;te++)ge[te]=arguments[te];return W.apply(void 0,[this.schema].concat(ge))},$}(),Union:D,Values:a},k=function(J,V){if(!J||"object"!=typeof J)throw new Error('Unexpected input given to normalize. Expected type to be "object", found "'+(null===J?"null":typeof J)+'".');var le={},ge=function(J){return function(V,le,ge,te,We){var Te=V.key,ee=V.getId(ge,te,We);Te in J||(J[Te]={});var Q=J[Te][ee];J[Te][ee]=Q?V.merge(Q,le):le}}(le);return{entities:le,result:X(J,J,null,V,ge,{})}}},67728:(_e,R,r)=>{"use strict";r.d(R,{X:()=>s});var n=r(9739);class s extends n.x{constructor(h){super(),this._value=h}get value(){return this.getValue()}_subscribe(h){const v=super._subscribe(h);return!v.closed&&h.next(this._value),v}getValue(){const{hasError:h,thrownError:v,_value:_}=this;if(h)throw v;return this._throwIfClosed(),_}next(h){super.next(this._value=h)}}},58764:(_e,R,r)=>{"use strict";r.d(R,{y:()=>b});var n=r(502),s=r(97889),c=r(70642),h=r(60008),v=r(10630),_=r(20959),m=r(170);let b=(()=>{class u{constructor(T){T&&(this._subscribe=T)}lift(T){const M=new u;return M.source=this,M.operator=T,M}subscribe(T,M,B){const N=function a(u){return u&&u instanceof n.Lv||function D(u){return u&&(0,_.m)(u.next)&&(0,_.m)(u.error)&&(0,_.m)(u.complete)}(u)&&(0,s.Nn)(u)}(T)?T:new n.Hp(T,M,B);return(0,m.x)(()=>{const{operator:W,source:A}=this;N.add(W?W.call(N,A):A?this._subscribe(N):this._trySubscribe(N))}),N}_trySubscribe(T){try{return this._subscribe(T)}catch(M){T.error(M)}}forEach(T,M){return new(M=p(M))((B,N)=>{const W=new n.Hp({next:A=>{try{T(A)}catch(X){N(X),W.unsubscribe()}},error:N,complete:B});this.subscribe(W)})}_subscribe(T){var M;return null===(M=this.source)||void 0===M?void 0:M.subscribe(T)}[c.L](){return this}pipe(...T){return(0,h.U)(T)(this)}toPromise(T){return new(T=p(T))((M,B)=>{let N;this.subscribe(W=>N=W,W=>B(W),()=>M(N))})}}return u.create=E=>new u(E),u})();function p(u){var E;return null!==(E=u??v.config.Promise)&&void 0!==E?E:Promise}},28459:(_e,R,r)=>{"use strict";r.d(R,{t:()=>c});var n=r(9739),s=r(14133);class c extends n.x{constructor(v=1/0,_=1/0,m=s.l){super(),this._bufferSize=v,this._windowTime=_,this._timestampProvider=m,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=_===1/0,this._bufferSize=Math.max(1,v),this._windowTime=Math.max(1,_)}next(v){const{isStopped:_,_buffer:m,_infiniteTimeWindow:b,_timestampProvider:p,_windowTime:D}=this;_||(m.push(v),!b&&m.push(p.now()+D)),this._trimBuffer(),super.next(v)}_subscribe(v){this._throwIfClosed(),this._trimBuffer();const _=this._innerSubscribe(v),{_infiniteTimeWindow:m,_buffer:b}=this,p=b.slice();for(let D=0;D<p.length&&!v.closed;D+=m?1:2)v.next(p[D]);return this._checkFinalizedStatuses(v),_}_trimBuffer(){const{_bufferSize:v,_timestampProvider:_,_buffer:m,_infiniteTimeWindow:b}=this,p=(b?1:2)*v;if(v<1/0&&p<m.length&&m.splice(0,m.length-p),!b){const D=_.now();let a=0;for(let u=1;u<m.length&&m[u]<=D;u+=2)a=u;a&&m.splice(0,a+1)}}}},9739:(_e,R,r)=>{"use strict";r.d(R,{x:()=>m});var n=r(58764),s=r(97889);const h=(0,r(88594).d)(p=>function(){p(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var v=r(90457),_=r(170);let m=(()=>{class p extends n.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(a){const u=new b(this,this);return u.operator=a,u}_throwIfClosed(){if(this.closed)throw new h}next(a){(0,_.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const u of this.currentObservers)u.next(a)}})}error(a){(0,_.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=a;const{observers:u}=this;for(;u.length;)u.shift().error(a)}})}complete(){(0,_.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:a}=this;for(;a.length;)a.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var a;return(null===(a=this.observers)||void 0===a?void 0:a.length)>0}_trySubscribe(a){return this._throwIfClosed(),super._trySubscribe(a)}_subscribe(a){return this._throwIfClosed(),this._checkFinalizedStatuses(a),this._innerSubscribe(a)}_innerSubscribe(a){const{hasError:u,isStopped:E,observers:T}=this;return u||E?s.Lc:(this.currentObservers=null,T.push(a),new s.w0(()=>{this.currentObservers=null,(0,v.P)(T,a)}))}_checkFinalizedStatuses(a){const{hasError:u,thrownError:E,isStopped:T}=this;u?a.error(E):T&&a.complete()}asObservable(){const a=new n.y;return a.source=this,a}}return p.create=(D,a)=>new b(D,a),p})();class b extends m{constructor(D,a){super(),this.destination=D,this.source=a}next(D){var a,u;null===(u=null===(a=this.destination)||void 0===a?void 0:a.next)||void 0===u||u.call(a,D)}error(D){var a,u;null===(u=null===(a=this.destination)||void 0===a?void 0:a.error)||void 0===u||u.call(a,D)}complete(){var D,a;null===(a=null===(D=this.destination)||void 0===D?void 0:D.complete)||void 0===a||a.call(D)}_subscribe(D){var a,u;return null!==(u=null===(a=this.source)||void 0===a?void 0:a.subscribe(D))&&void 0!==u?u:s.Lc}}},502:(_e,R,r)=>{"use strict";r.d(R,{Hp:()=>B,Lv:()=>u});var n=r(20959),s=r(97889),c=r(10630),h=r(20523),v=r(34135);const _=p("C",void 0,void 0);function p(U,O,k){return{kind:U,value:O,error:k}}var D=r(36318),a=r(170);class u extends s.w0{constructor(O){super(),this.isStopped=!1,O?(this.destination=O,(0,s.Nn)(O)&&O.add(this)):this.destination=X}static create(O,k,I){return new B(O,k,I)}next(O){this.isStopped?A(function b(U){return p("N",U,void 0)}(O),this):this._next(O)}error(O){this.isStopped?A(function m(U){return p("E",void 0,U)}(O),this):(this.isStopped=!0,this._error(O))}complete(){this.isStopped?A(_,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(O){this.destination.next(O)}_error(O){try{this.destination.error(O)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const E=Function.prototype.bind;function T(U,O){return E.call(U,O)}class M{constructor(O){this.partialObserver=O}next(O){const{partialObserver:k}=this;if(k.next)try{k.next(O)}catch(I){N(I)}}error(O){const{partialObserver:k}=this;if(k.error)try{k.error(O)}catch(I){N(I)}else N(O)}complete(){const{partialObserver:O}=this;if(O.complete)try{O.complete()}catch(k){N(k)}}}class B extends u{constructor(O,k,I){let F;if(super(),(0,n.m)(O)||!O)F={next:O??void 0,error:k??void 0,complete:I??void 0};else{let P;this&&c.config.useDeprecatedNextContext?(P=Object.create(O),P.unsubscribe=()=>this.unsubscribe(),F={next:O.next&&T(O.next,P),error:O.error&&T(O.error,P),complete:O.complete&&T(O.complete,P)}):F=O}this.destination=new M(F)}}function N(U){c.config.useDeprecatedSynchronousErrorHandling?(0,a.O)(U):(0,h.h)(U)}function A(U,O){const{onStoppedNotification:k}=c.config;k&&D.z.setTimeout(()=>k(U,O))}const X={closed:!0,next:v.Z,error:function W(U){throw U},complete:v.Z}},97889:(_e,R,r)=>{"use strict";r.d(R,{Lc:()=>_,w0:()=>v,Nn:()=>m});var n=r(20959);const c=(0,r(88594).d)(p=>function(a){p(this),this.message=a?`${a.length} errors occurred during unsubscription:\n${a.map((u,E)=>`${E+1}) ${u.toString()}`).join("\n  ")}`:"",this.name="UnsubscriptionError",this.errors=a});var h=r(90457);class v{constructor(D){this.initialTeardown=D,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let D;if(!this.closed){this.closed=!0;const{_parentage:a}=this;if(a)if(this._parentage=null,Array.isArray(a))for(const T of a)T.remove(this);else a.remove(this);const{initialTeardown:u}=this;if((0,n.m)(u))try{u()}catch(T){D=T instanceof c?T.errors:[T]}const{_finalizers:E}=this;if(E){this._finalizers=null;for(const T of E)try{b(T)}catch(M){D=D??[],M instanceof c?D=[...D,...M.errors]:D.push(M)}}if(D)throw new c(D)}}add(D){var a;if(D&&D!==this)if(this.closed)b(D);else{if(D instanceof v){if(D.closed||D._hasParent(this))return;D._addParent(this)}(this._finalizers=null!==(a=this._finalizers)&&void 0!==a?a:[]).push(D)}}_hasParent(D){const{_parentage:a}=this;return a===D||Array.isArray(a)&&a.includes(D)}_addParent(D){const{_parentage:a}=this;this._parentage=Array.isArray(a)?(a.push(D),a):a?[a,D]:D}_removeParent(D){const{_parentage:a}=this;a===D?this._parentage=null:Array.isArray(a)&&(0,h.P)(a,D)}remove(D){const{_finalizers:a}=this;a&&(0,h.P)(a,D),D instanceof v&&D._removeParent(this)}}v.EMPTY=(()=>{const p=new v;return p.closed=!0,p})();const _=v.EMPTY;function m(p){return p instanceof v||p&&"closed"in p&&(0,n.m)(p.remove)&&(0,n.m)(p.add)&&(0,n.m)(p.unsubscribe)}function b(p){(0,n.m)(p)?p():p.unsubscribe()}},10630:(_e,R,r)=>{"use strict";r.d(R,{config:()=>n});const n={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},45657:(_e,R,r)=>{"use strict";r.d(R,{z:()=>c});var n=r(21297),s=r(502);function c(h,v){const _="object"==typeof v;return new Promise((m,b)=>{const p=new s.Hp({next:D=>{m(D),p.unsubscribe()},error:b,complete:()=>{_?m(v.defaultValue):b(new n.K)}});h.subscribe(p)})}},8910:(_e,R,r)=>{"use strict";r.d(R,{c:()=>_});var n=r(58764),s=r(97889),c=r(62776),h=r(83972),v=r(52938);class _ extends n.y{constructor(b,p){super(),this.source=b,this.subjectFactory=p,this._subject=null,this._refCount=0,this._connection=null,(0,v.A)(b)&&(this.lift=b.lift)}_subscribe(b){return this.getSubject().subscribe(b)}getSubject(){const b=this._subject;return(!b||b.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:b}=this;this._subject=this._connection=null,b?.unsubscribe()}connect(){let b=this._connection;if(!b){b=this._connection=new s.w0;const p=this.getSubject();b.add(this.source.subscribe((0,h.x)(p,void 0,()=>{this._teardown(),p.complete()},D=>{this._teardown(),p.error(D)},()=>this._teardown()))),b.closed&&(this._connection=null,b=s.w0.EMPTY)}return b}refCount(){return(0,c.x)()(this)}}},63673:(_e,R,r)=>{"use strict";r.d(R,{a:()=>D});var n=r(58764),s=r(12711),c=r(15973),h=r(86190),v=r(54590),_=r(28767),m=r(86683),b=r(83972),p=r(22001);function D(...E){const T=(0,_.yG)(E),M=(0,_.jO)(E),{args:B,keys:N}=(0,s.D)(E);if(0===B.length)return(0,c.D)([],T);const W=new n.y(function a(E,T,M=h.y){return B=>{u(T,()=>{const{length:N}=E,W=new Array(N);let A=N,X=N;for(let U=0;U<N;U++)u(T,()=>{const O=(0,c.D)(E[U],T);let k=!1;O.subscribe((0,b.x)(B,I=>{W[U]=I,k||(k=!0,X--),X||B.next(M(W.slice()))},()=>{--A||B.complete()}))},B)},B)}}(B,T,N?A=>(0,m.n)(N,A):h.y));return M?W.pipe((0,v.Z)(M)):W}function u(E,T,M){E?(0,p.f)(M,E,T):T()}},65517:(_e,R,r)=>{"use strict";r.d(R,{z:()=>v});var n=r(17601),c=r(28767),h=r(15973);function v(..._){return function s(){return(0,n.J)(1)}()((0,h.D)(_,(0,c.yG)(_)))}},68313:(_e,R,r)=>{"use strict";r.d(R,{P:()=>c});var n=r(58764),s=r(95749);function c(h){return new n.y(v=>{(0,s.Xf)(h()).subscribe(v)})}},92769:(_e,R,r)=>{"use strict";r.d(R,{E:()=>s});const s=new(r(58764).y)(v=>v.complete())},15973:(_e,R,r)=>{"use strict";r.d(R,{D:()=>c});var n=r(86711),s=r(95749);function c(h,v){return v?(0,n.x)(h,v):(0,s.Xf)(h)}},4807:(_e,R,r)=>{"use strict";r.d(R,{R:()=>D});var n=r(95749),s=r(58764),c=r(99798),h=r(5420),v=r(20959),_=r(54590);const m=["addListener","removeListener"],b=["addEventListener","removeEventListener"],p=["on","off"];function D(M,B,N,W){if((0,v.m)(N)&&(W=N,N=void 0),W)return D(M,B,N).pipe((0,_.Z)(W));const[A,X]=function T(M){return(0,v.m)(M.addEventListener)&&(0,v.m)(M.removeEventListener)}(M)?b.map(U=>O=>M[U](B,O,N)):function u(M){return(0,v.m)(M.addListener)&&(0,v.m)(M.removeListener)}(M)?m.map(a(M,B)):function E(M){return(0,v.m)(M.on)&&(0,v.m)(M.off)}(M)?p.map(a(M,B)):[];if(!A&&(0,h.z)(M))return(0,c.z)(U=>D(U,B,N))((0,n.Xf)(M));if(!A)throw new TypeError("Invalid event target");return new s.y(U=>{const O=(...k)=>U.next(1<k.length?k:k[0]);return A(O),()=>X(O)})}function a(M,B){return N=>W=>M[N](B,W)}},95749:(_e,R,r)=>{"use strict";r.d(R,{Xf:()=>E});var n=r(97582),s=r(5420),c=r(64264),h=r(58764),v=r(29934),_=r(41704),m=r(48443),b=r(64595),p=r(70935),D=r(20959),a=r(20523),u=r(70642);function E(U){if(U instanceof h.y)return U;if(null!=U){if((0,v.c)(U))return function T(U){return new h.y(O=>{const k=U[u.L]();if((0,D.m)(k.subscribe))return k.subscribe(O);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(U);if((0,s.z)(U))return function M(U){return new h.y(O=>{for(let k=0;k<U.length&&!O.closed;k++)O.next(U[k]);O.complete()})}(U);if((0,c.t)(U))return function B(U){return new h.y(O=>{U.then(k=>{O.closed||(O.next(k),O.complete())},k=>O.error(k)).then(null,a.h)})}(U);if((0,_.D)(U))return W(U);if((0,b.T)(U))return function N(U){return new h.y(O=>{for(const k of U)if(O.next(k),O.closed)return;O.complete()})}(U);if((0,p.L)(U))return function A(U){return W((0,p.Q)(U))}(U)}throw(0,m.z)(U)}function W(U){return new h.y(O=>{(function X(U,O){var k,I,F,P;return(0,n.mG)(this,void 0,void 0,function*(){try{for(k=(0,n.KL)(U);!(I=yield k.next()).done;)if(O.next(I.value),O.closed)return}catch(H){F={error:H}}finally{try{I&&!I.done&&(P=k.return)&&(yield P.call(k))}finally{if(F)throw F.error}}O.complete()})})(U,O).catch(k=>O.error(k))})}},77835:(_e,R,r)=>{"use strict";r.d(R,{F:()=>c});var n=r(49117),s=r(5943);function c(h=0,v=n.z){return h<0&&(h=0),(0,s.H)(h,h,v)}},17343:(_e,R,r)=>{"use strict";r.d(R,{T:()=>_});var n=r(17601),s=r(95749),c=r(92769),h=r(28767),v=r(15973);function _(...m){const b=(0,h.yG)(m),p=(0,h._6)(m,1/0),D=m;return D.length?1===D.length?(0,s.Xf)(D[0]):(0,n.J)(p)((0,v.D)(D,b)):c.E}},12494:(_e,R,r)=>{"use strict";r.d(R,{of:()=>c});var n=r(28767),s=r(15973);function c(...h){const v=(0,n.yG)(h);return(0,s.D)(h,v)}},54505:(_e,R,r)=>{"use strict";r.d(R,{_:()=>c});var n=r(58764),s=r(20959);function c(h,v){const _=(0,s.m)(h)?h:()=>h,m=b=>b.error(_());return new n.y(v?b=>v.schedule(m,0,b):m)}},5943:(_e,R,r)=>{"use strict";r.d(R,{H:()=>v});var n=r(58764),s=r(49117),c=r(19751),h=r(32842);function v(_=0,m,b=s.P){let p=-1;return null!=m&&((0,c.K)(m)?b=m:p=m),new n.y(D=>{let a=(0,h.q)(_)?+_-b.now():_;a<0&&(a=0);let u=0;return b.schedule(function(){D.closed||(D.next(u++),0<=p?this.schedule(void 0,p):D.complete())},a)})}},83972:(_e,R,r)=>{"use strict";r.d(R,{Q:()=>c,x:()=>s});var n=r(502);function s(h,v,_,m,b){return new c(h,v,_,m,b)}class c extends n.Lv{constructor(v,_,m,b,p,D){super(v),this.onFinalize=p,this.shouldUnsubscribe=D,this._next=_?function(a){try{_(a)}catch(u){v.error(u)}}:super._next,this._error=b?function(a){try{b(a)}catch(u){v.error(u)}finally{this.unsubscribe()}}:super._error,this._complete=m?function(){try{m()}catch(a){v.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var v;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:_}=this;super.unsubscribe(),!_&&(null===(v=this.onFinalize)||void 0===v||v.call(this))}}}},38924:(_e,R,r)=>{"use strict";r.d(R,{e:()=>m});var n=r(49117),s=r(52938),c=r(95749),h=r(83972),_=r(5943);function m(b,p=n.z){return function v(b){return(0,s.e)((p,D)=>{let a=!1,u=null,E=null,T=!1;const M=()=>{if(E?.unsubscribe(),E=null,a){a=!1;const N=u;u=null,D.next(N)}T&&D.complete()},B=()=>{E=null,T&&D.complete()};p.subscribe((0,h.x)(D,N=>{a=!0,u=N,E||(0,c.Xf)(b(N)).subscribe(E=(0,h.x)(D,M,B))},()=>{T=!0,(!a||!E||E.closed)&&D.complete()}))})}(()=>(0,_.H)(b,p))}},26682:(_e,R,r)=>{"use strict";r.d(R,{K:()=>h});var n=r(95749),s=r(83972),c=r(52938);function h(v){return(0,c.e)((_,m)=>{let D,b=null,p=!1;b=_.subscribe((0,s.x)(m,void 0,void 0,a=>{D=(0,n.Xf)(v(a,h(v)(_))),b?(b.unsubscribe(),b=null,D.subscribe(m)):p=!0})),p&&(b.unsubscribe(),b=null,D.subscribe(m))})}},62340:(_e,R,r)=>{"use strict";r.d(R,{b:()=>c});var n=r(99798),s=r(20959);function c(h,v){return(0,s.m)(v)?(0,n.z)(h,v,1):(0,n.z)(h,1)}},19839:(_e,R,r)=>{"use strict";r.d(R,{b:()=>h});var n=r(49117),s=r(52938),c=r(83972);function h(v,_=n.z){return(0,s.e)((m,b)=>{let p=null,D=null,a=null;const u=()=>{if(p){p.unsubscribe(),p=null;const T=D;D=null,b.next(T)}};function E(){const T=a+v,M=_.now();if(M<T)return p=this.schedule(void 0,T-M),void b.add(p);u()}m.subscribe((0,c.x)(b,T=>{D=T,a=_.now(),p||(p=_.schedule(E,v),b.add(p))},()=>{u(),b.complete()},void 0,()=>{D=p=null}))})}},16803:(_e,R,r)=>{"use strict";r.d(R,{d:()=>c});var n=r(52938),s=r(83972);function c(h){return(0,n.e)((v,_)=>{let m=!1;v.subscribe((0,s.x)(_,b=>{m=!0,_.next(b)},()=>{m||_.next(h),_.complete()}))})}},34477:(_e,R,r)=>{"use strict";r.d(R,{g:()=>D});var n=r(49117),s=r(65517),c=r(49804),h=r(1824),v=r(97560),_=r(99798),m=r(95749);function b(a,u){return u?E=>(0,s.z)(u.pipe((0,c.q)(1),(0,h.l)()),E.pipe(b(a))):(0,_.z)((E,T)=>(0,m.Xf)(a(E,T)).pipe((0,c.q)(1),(0,v.h)(E)))}var p=r(5943);function D(a,u=n.z){const E=(0,p.H)(a,u);return b(()=>E)}},97974:(_e,R,r)=>{"use strict";r.d(R,{x:()=>h});var n=r(86190),s=r(52938),c=r(83972);function h(_,m=n.y){return _=_??v,(0,s.e)((b,p)=>{let D,a=!0;b.subscribe((0,c.x)(p,u=>{const E=m(u);(a||!_(D,E))&&(a=!1,D=E,p.next(u))}))})}function v(_,m){return _===m}},36305:(_e,R,r)=>{"use strict";r.d(R,{h:()=>c});var n=r(52938),s=r(83972);function c(h,v){return(0,n.e)((_,m)=>{let b=0;_.subscribe((0,s.x)(m,p=>h.call(v,p,b++)&&m.next(p)))})}},96839:(_e,R,r)=>{"use strict";r.d(R,{x:()=>s});var n=r(52938);function s(c){return(0,n.e)((h,v)=>{try{h.subscribe(v)}finally{v.add(c)}})}},57495:(_e,R,r)=>{"use strict";r.d(R,{P:()=>m});var n=r(21297),s=r(36305),c=r(49804),h=r(16803),v=r(96601),_=r(86190);function m(b,p){const D=arguments.length>=2;return a=>a.pipe(b?(0,s.h)((u,E)=>b(u,E,a)):_.y,(0,c.q)(1),D?(0,h.d)(p):(0,v.T)(()=>new n.K))}},1824:(_e,R,r)=>{"use strict";r.d(R,{l:()=>h});var n=r(52938),s=r(83972),c=r(34135);function h(){return(0,n.e)((v,_)=>{v.subscribe((0,s.x)(_,c.Z))})}},97478:(_e,R,r)=>{"use strict";r.d(R,{U:()=>c});var n=r(52938),s=r(83972);function c(h,v){return(0,n.e)((_,m)=>{let b=0;_.subscribe((0,s.x)(m,p=>{m.next(h.call(v,p,b++))}))})}},97560:(_e,R,r)=>{"use strict";r.d(R,{h:()=>s});var n=r(97478);function s(c){return(0,n.U)(()=>c)}},50999:(_e,R,r)=>{"use strict";r.d(R,{T:()=>_});var n=r(52938),s=r(68621),c=r(17601),h=r(28767),v=r(15973);function _(...m){const b=(0,h.yG)(m),p=(0,h._6)(m,1/0);return m=(0,s.k)(m),(0,n.e)((D,a)=>{(0,c.J)(p)((0,v.D)([D,...m],b)).subscribe(a)})}},17601:(_e,R,r)=>{"use strict";r.d(R,{J:()=>c});var n=r(99798),s=r(86190);function c(h=1/0){return(0,n.z)(s.y,h)}},99798:(_e,R,r)=>{"use strict";r.d(R,{z:()=>b});var n=r(97478),s=r(95749),c=r(52938),h=r(22001),v=r(83972),m=r(20959);function b(p,D,a=1/0){return(0,m.m)(D)?b((u,E)=>(0,n.U)((T,M)=>D(u,T,E,M))((0,s.Xf)(p(u,E))),a):("number"==typeof D&&(a=D),(0,c.e)((u,E)=>function _(p,D,a,u,E,T,M,B){const N=[];let W=0,A=0,X=!1;const U=()=>{X&&!N.length&&!W&&D.complete()},O=I=>W<u?k(I):N.push(I),k=I=>{T&&D.next(I),W++;let F=!1;(0,s.Xf)(a(I,A++)).subscribe((0,v.x)(D,P=>{E?.(P),T?O(P):D.next(P)},()=>{F=!0},void 0,()=>{if(F)try{for(W--;N.length&&W<u;){const P=N.shift();M?(0,h.f)(D,M,()=>k(P)):k(P)}U()}catch(P){D.error(P)}}))};return p.subscribe((0,v.x)(D,O,()=>{X=!0,U()})),()=>{B?.()}}(u,E,p,a)))}},11932:(_e,R,r)=>{"use strict";r.d(R,{Q:()=>h});var n=r(22001),s=r(52938),c=r(83972);function h(v,_=0){return(0,s.e)((m,b)=>{m.subscribe((0,c.x)(b,p=>(0,n.f)(b,v,()=>b.next(p),_),()=>(0,n.f)(b,v,()=>b.complete(),_),p=>(0,n.f)(b,v,()=>b.error(p),_)))})}},62776:(_e,R,r)=>{"use strict";r.d(R,{x:()=>c});var n=r(52938),s=r(83972);function c(){return(0,n.e)((h,v)=>{let _=null;h._refCount++;const m=(0,s.x)(v,void 0,void 0,void 0,()=>{if(!h||h._refCount<=0||0<--h._refCount)return void(_=null);const b=h._connection,p=_;_=null,b&&(!p||b===p)&&b.unsubscribe(),v.unsubscribe()});h.subscribe(m),m.closed||(_=h.connect())})}},84556:(_e,R,r)=>{"use strict";r.d(R,{X:()=>_});var n=r(52938),s=r(83972),c=r(86190),h=r(5943),v=r(95749);function _(m=1/0){let b;b=m&&"object"==typeof m?m:{count:m};const{count:p=1/0,delay:D,resetOnSuccess:a=!1}=b;return p<=0?c.y:(0,n.e)((u,E)=>{let M,T=0;const B=()=>{let N=!1;M=u.subscribe((0,s.x)(E,W=>{a&&(T=0),E.next(W)},void 0,W=>{if(T++<p){const A=()=>{M?(M.unsubscribe(),M=null,B()):N=!0};if(null!=D){const X="number"==typeof D?(0,h.H)(D):(0,v.Xf)(D(W,T)),U=(0,s.x)(E,()=>{U.unsubscribe(),A()},()=>{E.complete()});X.subscribe(U)}else A()}else E.error(W)})),N&&(M.unsubscribe(),M=null,B())};B()})}},17878:(_e,R,r)=>{"use strict";r.d(R,{R:()=>c});var n=r(52938),s=r(35438);function c(h,v){return(0,n.e)((0,s.U)(h,v,arguments.length>=2,!0))}},35438:(_e,R,r)=>{"use strict";r.d(R,{U:()=>s});var n=r(83972);function s(c,h,v,_,m){return(b,p)=>{let D=v,a=h,u=0;b.subscribe((0,n.x)(p,E=>{const T=u++;a=D?c(a,E,T):(D=!0,E),_&&p.next(a)},m&&(()=>{D&&p.next(a),p.complete()})))}}},12975:(_e,R,r)=>{"use strict";r.d(R,{B:()=>v});var n=r(95749),s=r(9739),c=r(502),h=r(52938);function v(m={}){const{connector:b=(()=>new s.x),resetOnError:p=!0,resetOnComplete:D=!0,resetOnRefCountZero:a=!0}=m;return u=>{let E,T,M,B=0,N=!1,W=!1;const A=()=>{T?.unsubscribe(),T=void 0},X=()=>{A(),E=M=void 0,N=W=!1},U=()=>{const O=E;X(),O?.unsubscribe()};return(0,h.e)((O,k)=>{B++,!W&&!N&&A();const I=M=M??b();k.add(()=>{B--,0===B&&!W&&!N&&(T=_(U,a))}),I.subscribe(k),!E&&B>0&&(E=new c.Hp({next:F=>I.next(F),error:F=>{W=!0,A(),T=_(X,p,F),I.error(F)},complete:()=>{N=!0,A(),T=_(X,D),I.complete()}}),(0,n.Xf)(O).subscribe(E))})(u)}}function _(m,b,...p){if(!0===b)return void m();if(!1===b)return;const D=new c.Hp({next:()=>{D.unsubscribe(),m()}});return(0,n.Xf)(b(...p)).subscribe(D)}},92496:(_e,R,r)=>{"use strict";r.d(R,{T:()=>s});var n=r(36305);function s(c){return(0,n.h)((h,v)=>c<=v)}},30018:(_e,R,r)=>{"use strict";r.d(R,{O:()=>h});var n=r(65517),s=r(28767),c=r(52938);function h(...v){const _=(0,s.yG)(v);return(0,c.e)((m,b)=>{(_?(0,n.z)(v,m,_):(0,n.z)(v,m)).subscribe(b)})}},28419:(_e,R,r)=>{"use strict";r.d(R,{w:()=>h});var n=r(95749),s=r(52938),c=r(83972);function h(v,_){return(0,s.e)((m,b)=>{let p=null,D=0,a=!1;const u=()=>a&&!p&&b.complete();m.subscribe((0,c.x)(b,E=>{p?.unsubscribe();let T=0;const M=D++;(0,n.Xf)(v(E,M)).subscribe(p=(0,c.x)(b,B=>b.next(_?_(E,B,M,T++):B),()=>{p=null,u()}))},()=>{a=!0,u()}))})}},49804:(_e,R,r)=>{"use strict";r.d(R,{q:()=>h});var n=r(92769),s=r(52938),c=r(83972);function h(v){return v<=0?()=>n.E:(0,s.e)((_,m)=>{let b=0;_.subscribe((0,c.x)(m,p=>{++b<=v&&(m.next(p),v<=b&&m.complete())}))})}},25167:(_e,R,r)=>{"use strict";r.d(R,{R:()=>v});var n=r(52938),s=r(83972),c=r(95749),h=r(34135);function v(_){return(0,n.e)((m,b)=>{(0,c.Xf)(_).subscribe((0,s.x)(b,()=>b.complete(),h.Z)),!b.closed&&m.subscribe(b)})}},83950:(_e,R,r)=>{"use strict";r.d(R,{o:()=>c});var n=r(52938),s=r(83972);function c(h,v=!1){return(0,n.e)((_,m)=>{let b=0;_.subscribe((0,s.x)(m,p=>{const D=h(p,b++);(D||v)&&m.next(p),!D&&m.complete()}))})}},60110:(_e,R,r)=>{"use strict";r.d(R,{b:()=>v});var n=r(20959),s=r(52938),c=r(83972),h=r(86190);function v(_,m,b){const p=(0,n.m)(_)||m||b?{next:_,error:m,complete:b}:_;return p?(0,s.e)((D,a)=>{var u;null===(u=p.subscribe)||void 0===u||u.call(p);let E=!0;D.subscribe((0,c.x)(a,T=>{var M;null===(M=p.next)||void 0===M||M.call(p,T),a.next(T)},()=>{var T;E=!1,null===(T=p.complete)||void 0===T||T.call(p),a.complete()},T=>{var M;E=!1,null===(M=p.error)||void 0===M||M.call(p,T),a.error(T)},()=>{var T,M;E&&(null===(T=p.unsubscribe)||void 0===T||T.call(p)),null===(M=p.finalize)||void 0===M||M.call(p)}))}):h.y}},96601:(_e,R,r)=>{"use strict";r.d(R,{T:()=>h});var n=r(21297),s=r(52938),c=r(83972);function h(_=v){return(0,s.e)((m,b)=>{let p=!1;m.subscribe((0,c.x)(b,D=>{p=!0,b.next(D)},()=>p?b.complete():b.error(_())))})}function v(){return new n.K}},54653:(_e,R,r)=>{"use strict";r.d(R,{V:()=>p});var n=r(49117),s=r(32842),c=r(52938),h=r(95749),v=r(88594),_=r(83972),m=r(22001);const b=(0,v.d)(a=>function(E=null){a(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=E});function p(a,u){const{first:E,each:T,with:M=D,scheduler:B=u??n.z,meta:N=null}=(0,s.q)(a)?{first:a}:"number"==typeof a?{each:a}:a;if(null==E&&null==T)throw new TypeError("No timeout provided.");return(0,c.e)((W,A)=>{let X,U,O=null,k=0;const I=F=>{U=(0,m.f)(A,B,()=>{try{X.unsubscribe(),(0,h.Xf)(M({meta:N,lastValue:O,seen:k})).subscribe(A)}catch(P){A.error(P)}},F)};X=W.subscribe((0,_.x)(A,F=>{U?.unsubscribe(),k++,A.next(O=F),T>0&&I(T)},void 0,void 0,()=>{U?.closed||U?.unsubscribe(),O=null})),!k&&I(null!=E?"number"==typeof E?E:+E-B.now():T)})}function D(a){throw new b(a)}},72514:(_e,R,r)=>{"use strict";r.d(R,{M:()=>m});var n=r(52938),s=r(83972),c=r(95749),h=r(86190),v=r(34135),_=r(28767);function m(...b){const p=(0,_.jO)(b);return(0,n.e)((D,a)=>{const u=b.length,E=new Array(u);let T=b.map(()=>!1),M=!1;for(let B=0;B<u;B++)(0,c.Xf)(b[B]).subscribe((0,s.x)(a,N=>{E[B]=N,!M&&!T[B]&&(T[B]=!0,(M=T.every(h.y))&&(T=null))},v.Z));D.subscribe((0,s.x)(a,B=>{if(M){const N=[B,...E];a.next(p?p(...N):N)}}))})}},86711:(_e,R,r)=>{"use strict";r.d(R,{x:()=>O});var n=r(95749),s=r(11932),c=r(52938);function h(k,I=0){return(0,c.e)((F,P)=>{P.add(k.schedule(()=>F.subscribe(P),I))})}var m=r(58764),p=r(99150),D=r(20959),a=r(22001);function E(k,I){if(!k)throw new Error("Iterable cannot be null");return new m.y(F=>{(0,a.f)(F,I,()=>{const P=k[Symbol.asyncIterator]();(0,a.f)(F,I,()=>{P.next().then(H=>{H.done?F.complete():F.next(H.value)})},0,!0)})})}var T=r(29934),M=r(64264),B=r(5420),N=r(64595),W=r(41704),A=r(48443),X=r(70935);function O(k,I){if(null!=k){if((0,T.c)(k))return function v(k,I){return(0,n.Xf)(k).pipe(h(I),(0,s.Q)(I))}(k,I);if((0,B.z)(k))return function b(k,I){return new m.y(F=>{let P=0;return I.schedule(function(){P===k.length?F.complete():(F.next(k[P++]),F.closed||this.schedule())})})}(k,I);if((0,M.t)(k))return function _(k,I){return(0,n.Xf)(k).pipe(h(I),(0,s.Q)(I))}(k,I);if((0,W.D)(k))return E(k,I);if((0,N.T)(k))return function u(k,I){return new m.y(F=>{let P;return(0,a.f)(F,I,()=>{P=k[p.h](),(0,a.f)(F,I,()=>{let H,$;try{({value:H,done:$}=P.next())}catch(J){return void F.error(J)}$?F.complete():F.next(H)},0,!0)}),()=>(0,D.m)(P?.return)&&P.return()})}(k,I);if((0,X.L)(k))return function U(k,I){return E((0,X.Q)(k),I)}(k,I)}throw(0,A.z)(k)}},7941:(_e,R,r)=>{"use strict";r.d(R,{o:()=>v});var n=r(97889);class s extends n.w0{constructor(m,b){super()}schedule(m,b=0){return this}}const c={setInterval(_,m,...b){const{delegate:p}=c;return p?.setInterval?p.setInterval(_,m,...b):setInterval(_,m,...b)},clearInterval(_){const{delegate:m}=c;return(m?.clearInterval||clearInterval)(_)},delegate:void 0};var h=r(90457);class v extends s{constructor(m,b){super(m,b),this.scheduler=m,this.work=b,this.pending=!1}schedule(m,b=0){var p;if(this.closed)return this;this.state=m;const D=this.id,a=this.scheduler;return null!=D&&(this.id=this.recycleAsyncId(a,D,b)),this.pending=!0,this.delay=b,this.id=null!==(p=this.id)&&void 0!==p?p:this.requestAsyncId(a,this.id,b),this}requestAsyncId(m,b,p=0){return c.setInterval(m.flush.bind(m,this),p)}recycleAsyncId(m,b,p=0){if(null!=p&&this.delay===p&&!1===this.pending)return b;null!=b&&c.clearInterval(b)}execute(m,b){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const p=this._execute(m,b);if(p)return p;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(m,b){let D,p=!1;try{this.work(m)}catch(a){p=!0,D=a||new Error("Scheduled action threw falsy error")}if(p)return this.unsubscribe(),D}unsubscribe(){if(!this.closed){const{id:m,scheduler:b}=this,{actions:p}=b;this.work=this.state=this.scheduler=null,this.pending=!1,(0,h.P)(p,this),null!=m&&(this.id=this.recycleAsyncId(b,m,null)),this.delay=null,super.unsubscribe()}}}},79356:(_e,R,r)=>{"use strict";r.d(R,{v:()=>c});var n=r(14133);class s{constructor(v,_=s.now){this.schedulerActionCtor=v,this.now=_}schedule(v,_=0,m){return new this.schedulerActionCtor(this,v).schedule(m,_)}}s.now=n.l.now;class c extends s{constructor(v,_=s.now){super(v,_),this.actions=[],this._active=!1}flush(v){const{actions:_}=this;if(this._active)return void _.push(v);let m;this._active=!0;do{if(m=v.execute(v.state,v.delay))break}while(v=_.shift());if(this._active=!1,m){for(;v=_.shift();)v.unsubscribe();throw m}}}},57231:(_e,R,r)=>{"use strict";r.d(R,{Z:()=>m});var n=r(7941),s=r(97889);const c={schedule(p){let D=requestAnimationFrame,a=cancelAnimationFrame;const{delegate:u}=c;u&&(D=u.requestAnimationFrame,a=u.cancelAnimationFrame);const E=D(T=>{a=void 0,p(T)});return new s.w0(()=>a?.(E))},requestAnimationFrame(...p){const{delegate:D}=c;return(D?.requestAnimationFrame||requestAnimationFrame)(...p)},cancelAnimationFrame(...p){const{delegate:D}=c;return(D?.cancelAnimationFrame||cancelAnimationFrame)(...p)},delegate:void 0};var v=r(79356);const m=new class _ extends v.v{flush(D){this._active=!0;const a=this._scheduled;this._scheduled=void 0;const{actions:u}=this;let E;D=D||u.shift();do{if(E=D.execute(D.state,D.delay))break}while((D=u[0])&&D.id===a&&u.shift());if(this._active=!1,E){for(;(D=u[0])&&D.id===a&&u.shift();)D.unsubscribe();throw E}}}(class h extends n.o{constructor(D,a){super(D,a),this.scheduler=D,this.work=a}requestAsyncId(D,a,u=0){return null!==u&&u>0?super.requestAsyncId(D,a,u):(D.actions.push(this),D._scheduled||(D._scheduled=c.requestAnimationFrame(()=>D.flush(void 0))))}recycleAsyncId(D,a,u=0){var E;if(null!=u?u>0:this.delay>0)return super.recycleAsyncId(D,a,u);const{actions:T}=D;null!=a&&(null===(E=T[T.length-1])||void 0===E?void 0:E.id)!==a&&(c.cancelAnimationFrame(a),D._scheduled=void 0)}})},46932:(_e,R,r)=>{"use strict";r.d(R,{E:()=>T});var n=r(7941);let c,s=1;const h={};function v(B){return B in h&&(delete h[B],!0)}const _={setImmediate(B){const N=s++;return h[N]=!0,c||(c=Promise.resolve()),c.then(()=>v(N)&&B()),N},clearImmediate(B){v(B)}},{setImmediate:b,clearImmediate:p}=_,D={setImmediate(...B){const{delegate:N}=D;return(N?.setImmediate||b)(...B)},clearImmediate(B){const{delegate:N}=D;return(N?.clearImmediate||p)(B)},delegate:void 0};var u=r(79356);const T=new class E extends u.v{flush(N){this._active=!0;const W=this._scheduled;this._scheduled=void 0;const{actions:A}=this;let X;N=N||A.shift();do{if(X=N.execute(N.state,N.delay))break}while((N=A[0])&&N.id===W&&A.shift());if(this._active=!1,X){for(;(N=A[0])&&N.id===W&&A.shift();)N.unsubscribe();throw X}}}(class a extends n.o{constructor(N,W){super(N,W),this.scheduler=N,this.work=W}requestAsyncId(N,W,A=0){return null!==A&&A>0?super.requestAsyncId(N,W,A):(N.actions.push(this),N._scheduled||(N._scheduled=D.setImmediate(N.flush.bind(N,void 0))))}recycleAsyncId(N,W,A=0){var X;if(null!=A?A>0:this.delay>0)return super.recycleAsyncId(N,W,A);const{actions:U}=N;null!=W&&(null===(X=U[U.length-1])||void 0===X?void 0:X.id)!==W&&(D.clearImmediate(W),N._scheduled===W&&(N._scheduled=void 0))}})},49117:(_e,R,r)=>{"use strict";r.d(R,{P:()=>h,z:()=>c});var n=r(7941);const c=new(r(79356).v)(n.o),h=c},14133:(_e,R,r)=>{"use strict";r.d(R,{l:()=>n});const n={now:()=>(n.delegate||Date).now(),delegate:void 0}},36318:(_e,R,r)=>{"use strict";r.d(R,{z:()=>n});const n={setTimeout(s,c,...h){const{delegate:v}=n;return v?.setTimeout?v.setTimeout(s,c,...h):setTimeout(s,c,...h)},clearTimeout(s){const{delegate:c}=n;return(c?.clearTimeout||clearTimeout)(s)},delegate:void 0}},99150:(_e,R,r)=>{"use strict";r.d(R,{h:()=>s});const s=function n(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},70642:(_e,R,r)=>{"use strict";r.d(R,{L:()=>n});const n="function"==typeof Symbol&&Symbol.observable||"@@observable"},21297:(_e,R,r)=>{"use strict";r.d(R,{K:()=>s});const s=(0,r(88594).d)(c=>function(){c(this),this.name="EmptyError",this.message="no elements in sequence"})},28767:(_e,R,r)=>{"use strict";r.d(R,{_6:()=>_,jO:()=>h,yG:()=>v});var n=r(20959),s=r(19751);function c(m){return m[m.length-1]}function h(m){return(0,n.m)(c(m))?m.pop():void 0}function v(m){return(0,s.K)(c(m))?m.pop():void 0}function _(m,b){return"number"==typeof c(m)?m.pop():b}},12711:(_e,R,r)=>{"use strict";r.d(R,{D:()=>v});const{isArray:n}=Array,{getPrototypeOf:s,prototype:c,keys:h}=Object;function v(m){if(1===m.length){const b=m[0];if(n(b))return{args:b,keys:null};if(function _(m){return m&&"object"==typeof m&&s(m)===c}(b)){const p=h(b);return{args:p.map(D=>b[D]),keys:p}}}return{args:m,keys:null}}},68621:(_e,R,r)=>{"use strict";r.d(R,{k:()=>s});const{isArray:n}=Array;function s(c){return 1===c.length&&n(c[0])?c[0]:c}},90457:(_e,R,r)=>{"use strict";function n(s,c){if(s){const h=s.indexOf(c);0<=h&&s.splice(h,1)}}r.d(R,{P:()=>n})},88594:(_e,R,r)=>{"use strict";function n(s){const h=s(v=>{Error.call(v),v.stack=(new Error).stack});return h.prototype=Object.create(Error.prototype),h.prototype.constructor=h,h}r.d(R,{d:()=>n})},86683:(_e,R,r)=>{"use strict";function n(s,c){return s.reduce((h,v,_)=>(h[v]=c[_],h),{})}r.d(R,{n:()=>n})},170:(_e,R,r)=>{"use strict";r.d(R,{O:()=>h,x:()=>c});var n=r(10630);let s=null;function c(v){if(n.config.useDeprecatedSynchronousErrorHandling){const _=!s;if(_&&(s={errorThrown:!1,error:null}),v(),_){const{errorThrown:m,error:b}=s;if(s=null,m)throw b}}else v()}function h(v){n.config.useDeprecatedSynchronousErrorHandling&&s&&(s.errorThrown=!0,s.error=v)}},22001:(_e,R,r)=>{"use strict";function n(s,c,h,v=0,_=!1){const m=c.schedule(function(){h(),_?s.add(this.schedule(null,v)):this.unsubscribe()},v);if(s.add(m),!_)return m}r.d(R,{f:()=>n})},86190:(_e,R,r)=>{"use strict";function n(s){return s}r.d(R,{y:()=>n})},5420:(_e,R,r)=>{"use strict";r.d(R,{z:()=>n});const n=s=>s&&"number"==typeof s.length&&"function"!=typeof s},41704:(_e,R,r)=>{"use strict";r.d(R,{D:()=>s});var n=r(20959);function s(c){return Symbol.asyncIterator&&(0,n.m)(c?.[Symbol.asyncIterator])}},32842:(_e,R,r)=>{"use strict";function n(s){return s instanceof Date&&!isNaN(s)}r.d(R,{q:()=>n})},20959:(_e,R,r)=>{"use strict";function n(s){return"function"==typeof s}r.d(R,{m:()=>n})},29934:(_e,R,r)=>{"use strict";r.d(R,{c:()=>c});var n=r(70642),s=r(20959);function c(h){return(0,s.m)(h[n.L])}},64595:(_e,R,r)=>{"use strict";r.d(R,{T:()=>c});var n=r(99150),s=r(20959);function c(h){return(0,s.m)(h?.[n.h])}},47228:(_e,R,r)=>{"use strict";r.d(R,{b:()=>c});var n=r(58764),s=r(20959);function c(h){return!!h&&(h instanceof n.y||(0,s.m)(h.lift)&&(0,s.m)(h.subscribe))}},64264:(_e,R,r)=>{"use strict";r.d(R,{t:()=>s});var n=r(20959);function s(c){return(0,n.m)(c?.then)}},70935:(_e,R,r)=>{"use strict";r.d(R,{L:()=>h,Q:()=>c});var n=r(97582),s=r(20959);function c(v){return(0,n.FC)(this,arguments,function*(){const m=v.getReader();try{for(;;){const{value:b,done:p}=yield(0,n.qq)(m.read());if(p)return yield(0,n.qq)(void 0);yield yield(0,n.qq)(b)}}finally{m.releaseLock()}})}function h(v){return(0,s.m)(v?.getReader)}},19751:(_e,R,r)=>{"use strict";r.d(R,{K:()=>s});var n=r(20959);function s(c){return c&&(0,n.m)(c.schedule)}},52938:(_e,R,r)=>{"use strict";r.d(R,{A:()=>s,e:()=>c});var n=r(20959);function s(h){return(0,n.m)(h?.lift)}function c(h){return v=>{if(s(v))return v.lift(function(_){try{return h(_,this)}catch(m){this.error(m)}});throw new TypeError("Unable to lift unknown Observable type")}}},54590:(_e,R,r)=>{"use strict";r.d(R,{Z:()=>h});var n=r(97478);const{isArray:s}=Array;function h(v){return(0,n.U)(_=>function c(v,_){return s(_)?v(..._):v(_)}(v,_))}},34135:(_e,R,r)=>{"use strict";function n(){}r.d(R,{Z:()=>n})},60008:(_e,R,r)=>{"use strict";r.d(R,{U:()=>c,z:()=>s});var n=r(86190);function s(...h){return c(h)}function c(h){return 0===h.length?n.y:1===h.length?h[0]:function(_){return h.reduce((m,b)=>b(m),_)}}},20523:(_e,R,r)=>{"use strict";r.d(R,{h:()=>c});var n=r(10630),s=r(36318);function c(h){s.z.setTimeout(()=>{const{onUnhandledError:v}=n.config;if(!v)throw h;v(h)})}},48443:(_e,R,r)=>{"use strict";function n(s){return new TypeError(`You provided ${null!==s&&"object"==typeof s?"an invalid object":`'${s}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}r.d(R,{z:()=>n})},42768:function(_e,R,r){var n;!function(s,c){"use strict";var m="function",b="undefined",p="object",D="string",a="major",u="model",E="name",T="type",M="vendor",B="version",N="architecture",W="console",A="mobile",X="tablet",U="smarttv",O="wearable",k="embedded",F="Amazon",P="Apple",H="ASUS",$="BlackBerry",J="Browser",V="Chrome",ge="Firefox",te="Google",ee="Microsoft",Q="Motorola",me="Opera",pe="Samsung",Me="Sony",ct="Xiaomi",vt="Zebra",Pt="Facebook",lt="Chromium OS",ne=function($e){for(var Ye={},At=0;At<$e.length;At++)Ye[$e[At].toUpperCase()]=$e[At];return Ye},y=function($e,Ye){return typeof $e===D&&-1!==ae(Ye).indexOf(ae($e))},ae=function($e){return $e.toLowerCase()},Fe=function($e,Ye){if(typeof $e===D)return $e=$e.replace(/^\s\s*/,""),typeof Ye===b?$e:$e.substring(0,500)},Je=function($e,Ye){for(var qe,it,Kt,Ut,wt,rn,At=0;At<Ye.length&&!wt;){var Ke=Ye[At],pn=Ye[At+1];for(qe=it=0;qe<Ke.length&&!wt&&Ke[qe];)if(wt=Ke[qe++].exec($e))for(Kt=0;Kt<pn.length;Kt++)rn=wt[++it],typeof(Ut=pn[Kt])===p&&Ut.length>0?2===Ut.length?this[Ut[0]]=typeof Ut[1]==m?Ut[1].call(this,rn):Ut[1]:3===Ut.length?this[Ut[0]]=typeof Ut[1]!==m||Ut[1].exec&&Ut[1].test?rn?rn.replace(Ut[1],Ut[2]):c:rn?Ut[1].call(this,rn,Ut[2]):c:4===Ut.length&&(this[Ut[0]]=rn?Ut[3].call(this,rn.replace(Ut[1],Ut[2])):c):this[Ut]=rn||c;At+=2}},St=function($e,Ye){for(var At in Ye)if(typeof Ye[At]===p&&Ye[At].length>0){for(var qe=0;qe<Ye[At].length;qe++)if(y(Ye[At][qe],$e))return"?"===At?c:At}else if(y(Ye[At],$e))return"?"===At?c:At;return $e},Wt={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},ft={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[B,[E,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[B,[E,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[E,B],[/opios[\/ ]+([\w\.]+)/i],[B,[E,me+" Mini"]],[/\bopr\/([\w\.]+)/i],[B,[E,me]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[B,[E,"Baidu"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim)\s?(?:browser)?[\/ ]?([\w\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i,/(heytap|ovi)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[E,B],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[B,[E,"UC"+J]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[B,[E,"WeChat"]],[/konqueror\/([\w\.]+)/i],[B,[E,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[B,[E,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[B,[E,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[B,[E,"Smart Lenovo "+J]],[/(avast|avg)\/([\w\.]+)/i],[[E,/(.+)/,"$1 Secure "+J],B],[/\bfocus\/([\w\.]+)/i],[B,[E,ge+" Focus"]],[/\bopt\/([\w\.]+)/i],[B,[E,me+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[B,[E,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[B,[E,"Dolphin"]],[/coast\/([\w\.]+)/i],[B,[E,me+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[B,[E,"MIUI "+J]],[/fxios\/([-\w\.]+)/i],[B,[E,ge]],[/\bqihu|(qi?ho?o?|360)browser/i],[[E,"360 "+J]],[/(oculus|sailfish|huawei|vivo)browser\/([\w\.]+)/i],[[E,/(.+)/,"$1 "+J],B],[/samsungbrowser\/([\w\.]+)/i],[B,[E,pe+" Internet"]],[/(comodo_dragon)\/([\w\.]+)/i],[[E,/_/g," "],B],[/metasr[\/ ]?([\d\.]+)/i],[B,[E,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[E,"Sogou Mobile"],B],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345Explorer)[\/ ]?([\w\.]+)/i],[E,B],[/(lbbrowser)/i,/\[(linkedin)app\]/i],[E],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[E,Pt],B],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[E,B],[/\bgsa\/([\w\.]+) .*safari\//i],[B,[E,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[B,[E,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[B,[E,V+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[E,V+" WebView"],B],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[B,[E,"Android "+J]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[E,B],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[B,[E,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[B,E],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[E,[B,St,{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\/([\w\.]+)/i],[E,B],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[E,"Netscape"],B],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[B,[E,ge+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i,/panasonic;(viera)/i],[E,B],[/(cobalt)\/([\w\.]+)/i],[E,[B,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[N,"amd64"]],[/(ia32(?=;))/i],[[N,ae]],[/((?:i[346]|x)86)[;\)]/i],[[N,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[N,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[N,"armhf"]],[/windows (ce|mobile); ppc;/i],[[N,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[N,/ower/,"",ae]],[/(sun4\w)[;\)]/i],[[N,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[N,ae]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[u,[M,pe],[T,X]],[/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[u,[M,pe],[T,A]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[u,[M,P],[T,A]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[u,[M,P],[T,X]],[/(macintosh);/i],[u,[M,P]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[u,[M,"Sharp"],[T,A]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[u,[M,"Huawei"],[T,X]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[u,[M,"Huawei"],[T,A]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[u,/_/g," "],[M,ct],[T,A]],[/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[u,/_/g," "],[M,ct],[T,X]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[u,[M,"OPPO"],[T,A]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[u,[M,"Vivo"],[T,A]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[u,[M,"Realme"],[T,A]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[u,[M,Q],[T,A]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[u,[M,Q],[T,X]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[u,[M,"LG"],[T,X]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[u,[M,"LG"],[T,A]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[u,[M,"Lenovo"],[T,X]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[u,/_/g," "],[M,"Nokia"],[T,A]],[/(pixel c)\b/i],[u,[M,te],[T,X]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[u,[M,te],[T,A]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[u,[M,Me],[T,A]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[u,"Xperia Tablet"],[M,Me],[T,X]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[u,[M,"OnePlus"],[T,A]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[u,[M,F],[T,X]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[u,/(.+)/g,"Fire Phone $1"],[M,F],[T,A]],[/(playbook);[-\w\),; ]+(rim)/i],[u,M,[T,X]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[u,[M,$],[T,A]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[u,[M,H],[T,X]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[u,[M,H],[T,A]],[/(nexus 9)/i],[u,[M,"HTC"],[T,X]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[M,[u,/_/g," "],[T,A]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[u,[M,"Acer"],[T,X]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[u,[M,"Meizu"],[T,A]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[u,[M,"Ulefone"],[T,A]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[M,u,[T,A]],[/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[M,u,[T,X]],[/(surface duo)/i],[u,[M,ee],[T,X]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[u,[M,"Fairphone"],[T,A]],[/(u304aa)/i],[u,[M,"AT&T"],[T,A]],[/\bsie-(\w*)/i],[u,[M,"Siemens"],[T,A]],[/\b(rct\w+) b/i],[u,[M,"RCA"],[T,X]],[/\b(venue[\d ]{2,7}) b/i],[u,[M,"Dell"],[T,X]],[/\b(q(?:mv|ta)\w+) b/i],[u,[M,"Verizon"],[T,X]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[u,[M,"Barnes & Noble"],[T,X]],[/\b(tm\d{3}\w+) b/i],[u,[M,"NuVision"],[T,X]],[/\b(k88) b/i],[u,[M,"ZTE"],[T,X]],[/\b(nx\d{3}j) b/i],[u,[M,"ZTE"],[T,A]],[/\b(gen\d{3}) b.+49h/i],[u,[M,"Swiss"],[T,A]],[/\b(zur\d{3}) b/i],[u,[M,"Swiss"],[T,X]],[/\b((zeki)?tb.*\b) b/i],[u,[M,"Zeki"],[T,X]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[M,"Dragon Touch"],u,[T,X]],[/\b(ns-?\w{0,9}) b/i],[u,[M,"Insignia"],[T,X]],[/\b((nxa|next)-?\w{0,9}) b/i],[u,[M,"NextBook"],[T,X]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[M,"Voice"],u,[T,A]],[/\b(lvtel\-)?(v1[12]) b/i],[[M,"LvTel"],u,[T,A]],[/\b(ph-1) /i],[u,[M,"Essential"],[T,A]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[u,[M,"Envizen"],[T,X]],[/\b(trio[-\w\. ]+) b/i],[u,[M,"MachSpeed"],[T,X]],[/\btu_(1491) b/i],[u,[M,"Rotor"],[T,X]],[/(shield[\w ]+) b/i],[u,[M,"Nvidia"],[T,X]],[/(sprint) (\w+)/i],[M,u,[T,A]],[/(kin\.[onetw]{3})/i],[[u,/\./g," "],[M,ee],[T,A]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[u,[M,vt],[T,X]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[u,[M,vt],[T,A]],[/smart-tv.+(samsung)/i],[M,[T,U]],[/hbbtv.+maple;(\d+)/i],[[u,/^/,"SmartTV"],[M,pe],[T,U]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[M,"LG"],[T,U]],[/(apple) ?tv/i],[M,[u,P+" TV"],[T,U]],[/crkey/i],[[u,V+"cast"],[M,te],[T,U]],[/droid.+aft(\w+)( bui|\))/i],[u,[M,F],[T,U]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[u,[M,"Sharp"],[T,U]],[/(bravia[\w ]+)( bui|\))/i],[u,[M,Me],[T,U]],[/(mitv-\w{5}) bui/i],[u,[M,ct],[T,U]],[/Hbbtv.*(technisat) (.*);/i],[M,u,[T,U]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[M,Fe],[u,Fe],[T,U]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[T,U]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[M,u,[T,W]],[/droid.+; (shield) bui/i],[u,[M,"Nvidia"],[T,W]],[/(playstation [345portablevi]+)/i],[u,[M,Me],[T,W]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[u,[M,ee],[T,W]],[/((pebble))app/i],[M,u,[T,O]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[u,[M,P],[T,O]],[/droid.+; (glass) \d/i],[u,[M,te],[T,O]],[/droid.+; (wt63?0{2,3})\)/i],[u,[M,vt],[T,O]],[/(quest( 2| pro)?)/i],[u,[M,Pt],[T,O]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[M,[T,k]],[/(aeobc)\b/i],[u,[M,F],[T,k]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[u,[T,A]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[u,[T,X]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[T,X]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[T,A]],[/(android[-\w\. ]{0,9});.+buil/i],[u,[M,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[B,[E,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[B,[E,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[E,B],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[B,E]],os:[[/microsoft (windows) (vista|xp)/i],[E,B],[/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i],[E,[B,St,Wt]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[B,St,Wt],[E,"Windows"]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[B,/_/g,"."],[E,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[E,"Mac OS"],[B,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[B,E],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[E,B],[/\(bb(10);/i],[B,[E,$]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[B,[E,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[B,[E,ge+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[B,[E,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[B,[E,"watchOS"]],[/crkey\/([\d\.]+)/i],[B,[E,V+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[E,lt],B],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[E,B],[/(sunos) ?([\w\.\d]*)/i],[[E,"Solaris"],B],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[E,B]]},ye=function($e,Ye){if(typeof $e===p&&(Ye=$e,$e=c),!(this instanceof ye))return new ye($e,Ye).getResult();var At=typeof s!==b&&s.navigator?s.navigator:c,qe=$e||(At&&At.userAgent?At.userAgent:""),it=At&&At.userAgentData?At.userAgentData:c,Kt=Ye?function($e,Ye){var At={};for(var qe in $e)At[qe]=Ye[qe]&&Ye[qe].length%2==0?Ye[qe].concat($e[qe]):$e[qe];return At}(ft,Ye):ft,Ut=At&&At.userAgent==qe;return this.getBrowser=function(){var wt={};return wt[E]=c,wt[B]=c,Je.call(wt,qe,Kt.browser),wt[a]=function($e){return typeof $e===D?$e.replace(/[^\d\.]/g,"").split(".")[0]:c}(wt[B]),Ut&&At&&At.brave&&typeof At.brave.isBrave==m&&(wt[E]="Brave"),wt},this.getCPU=function(){var wt={};return wt[N]=c,Je.call(wt,qe,Kt.cpu),wt},this.getDevice=function(){var wt={};return wt[M]=c,wt[u]=c,wt[T]=c,Je.call(wt,qe,Kt.device),Ut&&!wt[T]&&it&&it.mobile&&(wt[T]=A),Ut&&"Macintosh"==wt[u]&&At&&typeof At.standalone!==b&&At.maxTouchPoints&&At.maxTouchPoints>2&&(wt[u]="iPad",wt[T]=X),wt},this.getEngine=function(){var wt={};return wt[E]=c,wt[B]=c,Je.call(wt,qe,Kt.engine),wt},this.getOS=function(){var wt={};return wt[E]=c,wt[B]=c,Je.call(wt,qe,Kt.os),Ut&&!wt[E]&&it&&"Unknown"!=it.platform&&(wt[E]=it.platform.replace(/chrome os/i,lt).replace(/macos/i,"Mac OS")),wt},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return qe},this.setUA=function(wt){return qe=typeof wt===D&&wt.length>500?Fe(wt,500):wt,this},this.setUA(qe),this};ye.VERSION="0.7.37",ye.BROWSER=ne([E,B,a]),ye.CPU=ne([N]),ye.DEVICE=ne([u,M,T,W,A,U,X,O,k]),ye.ENGINE=ye.OS=ne([E,B]),typeof R!==b?(_e.exports&&(R=_e.exports=ye),R.UAParser=ye):r.amdO?(n=function(){return ye}.call(R,r,R,_e))!==c&&(_e.exports=n):typeof s!==b&&(s.UAParser=ye);var st=typeof s!==b&&(s.jQuery||s.Zepto);if(st&&!st.ua){var we=new ye;st.ua=we.getResult(),st.ua.get=function(){return we.getUA()},st.ua.set=function($e){we.setUA($e);var Ye=we.getResult();for(var At in Ye)st.ua[At]=Ye[At]}}}("object"==typeof window?window:this)},84452:(_e,R,r)=>{var n={"./ar/index.js":[35716,9850],"./bg/index.js":[79969,8592,4389],"./ca/index.js":[29476,8481],"./da/index.js":[836,7227],"./de/index.js":[73039,8907],"./en-US/index.js":[22796],"./es/index.js":[65436,9416],"./eu/index.js":[84804,104],"./fa-IR/index.js":[14989,2069],"./fi/index.js":[28453,1966],"./fr/index.js":[38465,3194],"./he/index.js":[77618,5249],"./hr/index.js":[41453,4035],"./hu/index.js":[31389,4164],"./it/index.js":[51266,8592,2268],"./ja/index.js":[22714,8761],"./lt/index.js":[39230,5708],"./nb/index.js":[4372,9737],"./nl/index.js":[54865,2181],"./pl/index.js":[7063,8592,9005],"./pt-BR/index.js":[13906,529],"./pt/index.js":[91457,199],"./ro/index.js":[52716,6784],"./ru/index.js":[9259,8592,2568],"./sl/index.js":[21646,4657],"./sv/index.js":[14591,5302],"./tr/index.js":[14020,9718],"./zh-CN/index.js":[61151,8592,123],"./zh-TW/index.js":[88140,5581]};function s(c){if(!r.o(n,c))return Promise.resolve().then(()=>{var _=new Error("Cannot find module '"+c+"'");throw _.code="MODULE_NOT_FOUND",_});var h=n[c],v=h[0];return Promise.all(h.slice(1).map(r.e)).then(()=>r.t(v,23))}s.keys=()=>Object.keys(n),s.id=84452,_e.exports=s},43113:(_e,R,r)=>{var n={"./ar.json":[9661,8500],"./bg.json":[35798,9902],"./ca.json":[74602,4440],"./da.json":[5774,3654],"./de.json":[48491,5084],"./en.json":[41086,4585],"./es.json":[6655,8089],"./fa.json":[76560,8562],"./fi.json":[13772,9779],"./fr.json":[40924,5403],"./he.json":[91562,3321],"./hr.json":[12634,6485],"./hu.json":[30817,8321],"./it.json":[47384,9887],"./ja.json":[34910,8451],"./lt.json":[52416,6274],"./nl.json":[77613,6804],"./no.json":[51189,1500],"./pl.json":[16238,2023],"./pt.json":[39562,6310],"./ru.json":[71963,8683],"./sl.json":[66926,7579],"./sv.json":[62552,8493],"./tr.json":[73054,4735],"./zh.json":[66637,4288]};function s(c){if(!r.o(n,c))return Promise.resolve().then(()=>{var _=new Error("Cannot find module '"+c+"'");throw _.code="MODULE_NOT_FOUND",_});var h=n[c],v=h[0];return r.e(h[1]).then(()=>r.t(v,19))}s.keys=()=>Object.keys(n),s.id=43113,_e.exports=s},24257:(_e,R,r)=>{"use strict";r.d(R,{dU:()=>c});let s={production:!0,facebookAppId:null,passwordRsaPublicKey:"MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA01Bic05/GHa1mHWCOBO9lQQST+uW7NgAv5aVTa+LTWwcZpF47/PlZtQsgKhve4rxJpuHOeu1bS80JSKBXPlj9yZZ0ybVE+wJ/bvb64ETNRwMMVY2Zve4IWDcA1g0iHxu/BqeE4USaWbQohS+8pNM5znzwM/dgGC4KVdHAXcG+kkfSZcuOTheDmSKEp7ISqWE89DMdUJAEPpgh010i6hxmGLLVhm6f+A4v+h/QSFU0k+2Tny8ZY/3ki2BfOGw2cWeabSVNGYZNZq67HopI+vWwNPPuYgQbmJNTcd/hbatFMtfpsnTAQrgytTw911OQvviQ5PWG0B9sF0rnMfRNkHRuQIDAQAB",mapsApiKey:null,webzineId:3932865,lg:"es",defaultBaseUrl:"https://rovol125mex.goodbarber.app",cdnBaseUrl:"https://back.ww-cdn.com/superstatic/front-res/3932865/",firebaseApiKey:null,firebaseMessagingSenderId:null,firebaseConfig:null,WMApiKey:"0b2c43a18eea90dce3fda91294ba33900436df3c",WMApiSecret:"c95cac4e6430821e22fc97003a79a777a8c1d6df",appleAuthClientId:null};function c(){return s}},73248:(_e,R)=>{"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=function r(n,s,c,h,v,_,m){var b=new Date(0);return b.setUTCFullYear(n,s,c),b.setUTCHours(h,v,_,m),b},_e.exports=R.default},23107:(_e,R)=>{"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=function r(h,v,_){var m=function c(h,v,_){if(_&&!_.code)throw new Error("date-fns-tz error: Please set a language code on the locale object imported from date-fns, e.g. `locale.code = 'en-US'`");return new Intl.DateTimeFormat(_?[_.code,"en-US"]:void 0,{timeZone:v,timeZoneName:h})}(h,_.timeZone,_.locale);return m.formatToParts?function n(h,v){for(var _=h.formatToParts(v),m=_.length-1;m>=0;--m)if("timeZoneName"===_[m].type)return _[m].value}(m,v):function s(h,v){var _=h.format(v).replace(/\u200E/g,""),m=/ [\w-+ ]+$/.exec(_);return m?m[0].substr(1):""}(m,v)},_e.exports=R.default},56359:(_e,R,r)=>{"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=function m(T,M,B){var N,W,A;if(!T||(N=_.timezoneZ.exec(T)))return 0;if(N=_.timezoneHH.exec(T))return a(A=parseInt(N[1],10))?-A*h:NaN;if(N=_.timezoneHHMM.exec(T)){A=parseInt(N[1],10);var X=parseInt(N[2],10);return a(A,X)?(W=Math.abs(A)*h+X*v,A>0?-W:W):NaN}if(function E(T){if(u[T])return!0;try{return new Intl.DateTimeFormat(void 0,{timeZone:T}),u[T]=!0,!0}catch{return!1}}(T)){M=new Date(M||Date.now());var U=B?M:function b(T){return(0,s.default)(T.getFullYear(),T.getMonth(),T.getDate(),T.getHours(),T.getMinutes(),T.getSeconds(),T.getMilliseconds())}(M),O=p(U,T),k=B?O:function D(T,M,B){var W=T.getTime()-M,A=p(new Date(W),B);if(M===A)return M;W-=A-M;var X=p(new Date(W),B);return A===X?A:Math.max(A,X)}(M,O,T);return-k}return NaN};var n=c(r(58976)),s=c(r(73248));function c(T){return T&&T.__esModule?T:{default:T}}var h=36e5,v=6e4,_={timezone:/([Z+-].*)$/,timezoneZ:/^(Z)$/,timezoneHH:/^([+-]\d{2})$/,timezoneHHMM:/^([+-]\d{2}):?(\d{2})$/};function p(T,M){var B=(0,n.default)(T,M),N=(0,s.default)(B[0],B[1]-1,B[2],B[3]%24,B[4],B[5],0).getTime(),W=T.getTime(),A=W%1e3;return N-(W-(A>=0?A:1e3+A))}function a(T,M){return-23<=T&&T<=23&&(null==M||0<=M&&M<=59)}var u={};_e.exports=R.default},17587:(_e,R)=>{"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0,R.default=/(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/,_e.exports=R.default},58976:(_e,R)=>{"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=function r(_,m){var b=function v(_){if(!h[_]){var m=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:"America/New_York",year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}).format(new Date("2014-06-25T04:00:00.123Z"));h[_]="06/25/2014, 00:00:00"===m||"\u200e06\u200e/\u200e25\u200e/\u200e2014\u200e \u200e00\u200e:\u200e00\u200e:\u200e00"===m?new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:_,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}):new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:_,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"})}return h[_]}(m);return b.formatToParts?function s(_,m){try{for(var b=_.formatToParts(m),p=[],D=0;D<b.length;D++){var a=n[b[D].type];a>=0&&(p[a]=parseInt(b[D].value,10))}return p}catch(u){if(u instanceof RangeError)return[NaN];throw u}}(b,_):function c(_,m){var b=_.format(m).replace(/\u200E/g,""),p=/(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(b);return[p[3],p[1],p[2],p[4],p[5],p[6]]}(b,_)};var n={year:0,month:1,day:2,hour:3,minute:4,second:5},h={};_e.exports=R.default},47577:(_e,R,r)=>{"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var n=c(r(23107)),s=c(r(56359));function c(u){return u&&u.__esModule?u:{default:u}}function _(u,E){var T=u?(0,s.default)(u,E,!0)/6e4:E.getTimezoneOffset();if(Number.isNaN(T))throw new RangeError("Invalid time zone specified: "+u);return T}function m(u,E){for(var T=u<0?"-":"",M=Math.abs(u).toString();M.length<E;)M="0"+M;return T+M}function b(u,E){var T=E||"",M=u>0?"-":"+",B=Math.abs(u);return M+m(Math.floor(B/60),2)+T+m(Math.floor(B%60),2)}function p(u,E){return u%60==0?(u>0?"-":"+")+m(Math.abs(u)/60,2):b(u,E)}R.default={X:function(u,E,T,M){var B=_(M.timeZone,M._originalDate||u);if(0===B)return"Z";switch(E){case"X":return p(B);case"XXXX":case"XX":return b(B);default:return b(B,":")}},x:function(u,E,T,M){var B=_(M.timeZone,M._originalDate||u);switch(E){case"x":return p(B);case"xxxx":case"xx":return b(B);default:return b(B,":")}},O:function(u,E,T,M){var B=_(M.timeZone,M._originalDate||u);switch(E){case"O":case"OO":case"OOO":return"GMT"+function D(u,E){var T=u>0?"-":"+",M=Math.abs(u),B=Math.floor(M/60),N=M%60;if(0===N)return T+String(B);var W=E||"";return T+String(B)+W+m(N,2)}(B,":");default:return"GMT"+b(B,":")}},z:function(u,E,T,M){var B=M._originalDate||u;switch(E){case"z":case"zz":case"zzz":return(0,n.default)("short",B,M);default:return(0,n.default)("long",B,M)}}},_e.exports=R.default},1661:(_e,R,r)=>{"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=function _(m,b,p){var D=String(b),a=p||{},u=D.match(v);if(u){var E=(0,c.default)(m,a);D=u.reduce(function(T,M){if("'"===M[0])return T;var B=T.indexOf(M),N="'"===T[B-1],W=T.replace(M,"'"+s.default[M[0]](E,M,null,a)+"'");return N?W.substring(0,B-1)+W.substring(B+1):W},D)}return(0,n.default)(m,D,a)};var n=h(r(82367)),s=h(r(47577)),c=h(r(34985));function h(m){return m&&m.__esModule?m:{default:m}}var v=/([xXOz]+)|''|'(''|[^'])+('|$)/g;_e.exports=R.default},87193:(_e,R,r)=>{"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=function v(_,m,b,p){var D=(0,n.default)(p);return D.timeZone=m,(0,s.default)((0,c.default)(_,m),b,D)};var n=h(r(30770)),s=h(r(1661)),c=h(r(14646));function h(_){return _&&_.__esModule?_:{default:_}}_e.exports=R.default},76999:(_e,R,r)=>{"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=function c(h,v){return-(0,n.default)(h,v)};var n=function s(h){return h&&h.__esModule?h:{default:h}}(r(56359));_e.exports=R.default},97652:(_e,R,r)=>{"use strict";_e.exports={format:r(1661),formatInTimeZone:r(87193),getTimezoneOffset:r(76999),toDate:r(34985),utcToZonedTime:r(14646),zonedTimeToUtc:r(13852)}},34985:(_e,R,r)=>{"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=function D(k,I){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");if(null===k)return new Date(NaN);var F=I||{},P=null==F.additionalDigits?b:(0,n.default)(F.additionalDigits);if(2!==P&&1!==P&&0!==P)throw new RangeError("additionalDigits must be 0, 1 or 2");if(k instanceof Date||"object"==typeof k&&"[object Date]"===Object.prototype.toString.call(k))return new Date(k.getTime());if("number"==typeof k||"[object Number]"===Object.prototype.toString.call(k))return new Date(k);if("string"!=typeof k&&"[object String]"!==Object.prototype.toString.call(k))return new Date(NaN);var H=function a(k){var P,I={},F=p.dateTimePattern.exec(k);if(F?(I.date=F[1],P=F[3]):(F=p.datePattern.exec(k))?(I.date=F[1],P=F[2]):(I.date=null,P=k),P){var H=p.timeZone.exec(P);H?(I.time=P.replace(H[1],""),I.timeZone=H[1].trim()):I.time=P}return I}(k),$=function u(k,I){var H,F=p.YYY[I],P=p.YYYYY[I];if(H=p.YYYY.exec(k)||P.exec(k)){var $=H[1];return{year:parseInt($,10),restDateString:k.slice($.length)}}if(H=p.YY.exec(k)||F.exec(k)){var J=H[1];return{year:100*parseInt(J,10),restDateString:k.slice(J.length)}}return{year:null}}(H.date,P),le=function E(k,I){if(null===I)return null;var F,P,H,$;if(0===k.length)return(P=new Date(0)).setUTCFullYear(I),P;if(F=p.MM.exec(k))return P=new Date(0),A(I,H=parseInt(F[1],10)-1)?(P.setUTCFullYear(I,H),P):new Date(NaN);if(F=p.DDD.exec(k)){P=new Date(0);var J=parseInt(F[1],10);return function X(k,I){if(I<1)return!1;var F=W(k);return!(F&&I>366||!F&&I>365)}(I,J)?(P.setUTCFullYear(I,0,J),P):new Date(NaN)}if(F=p.MMDD.exec(k)){P=new Date(0),H=parseInt(F[1],10)-1;var V=parseInt(F[2],10);return A(I,H,V)?(P.setUTCFullYear(I,H,V),P):new Date(NaN)}if(F=p.Www.exec(k))return U(0,$=parseInt(F[1],10)-1)?M(I,$):new Date(NaN);if(F=p.WwwD.exec(k)){$=parseInt(F[1],10)-1;var le=parseInt(F[2],10)-1;return U(0,$,le)?M(I,$,le):new Date(NaN)}return null}($.restDateString,$.year);if(isNaN(le))return new Date(NaN);if(le){var We,ge=le.getTime(),te=0;if(H.time&&(te=function T(k){var I,F,P;if(I=p.HH.exec(k))return O(F=parseFloat(I[1].replace(",",".")))?F%24*_:NaN;if(I=p.HHMM.exec(k))return O(F=parseInt(I[1],10),P=parseFloat(I[2].replace(",",".")))?F%24*_+P*m:NaN;if(I=p.HHMMSS.exec(k)){F=parseInt(I[1],10),P=parseInt(I[2],10);var H=parseFloat(I[3].replace(",","."));return O(F,P,H)?F%24*_+P*m+1e3*H:NaN}return null}(H.time),isNaN(te)))return new Date(NaN);if(H.timeZone||F.timeZone){if(We=(0,c.default)(H.timeZone||F.timeZone,new Date(ge+te)),isNaN(We))return new Date(NaN)}else We=(0,s.default)(new Date(ge+te)),We=(0,s.default)(new Date(ge+te+We));return new Date(ge+te+We)}return new Date(NaN)};var n=v(r(2382)),s=v(r(1850)),c=v(r(56359)),h=v(r(17587));function v(k){return k&&k.__esModule?k:{default:k}}var _=36e5,m=6e4,b=2,p={dateTimePattern:/^([0-9W+-]+)(T| )(.*)/,datePattern:/^([0-9W+-]+)(.*)/,plainTime:/:/,YY:/^(\d{2})$/,YYY:[/^([+-]\d{2})$/,/^([+-]\d{3})$/,/^([+-]\d{4})$/],YYYY:/^(\d{4})/,YYYYY:[/^([+-]\d{4})/,/^([+-]\d{5})/,/^([+-]\d{6})/],MM:/^-(\d{2})$/,DDD:/^-?(\d{3})$/,MMDD:/^-?(\d{2})-?(\d{2})$/,Www:/^-?W(\d{2})$/,WwwD:/^-?W(\d{2})-?(\d{1})$/,HH:/^(\d{2}([.,]\d*)?)$/,HHMM:/^(\d{2}):?(\d{2}([.,]\d*)?)$/,HHMMSS:/^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/,timeZone:h.default};function M(k,I,F){I=I||0,F=F||0;var P=new Date(0);P.setUTCFullYear(k,0,4);var $=7*I+F+1-(P.getUTCDay()||7);return P.setUTCDate(P.getUTCDate()+$),P}var B=[31,28,31,30,31,30,31,31,30,31,30,31],N=[31,29,31,30,31,30,31,31,30,31,30,31];function W(k){return k%400==0||k%4==0&&k%100!=0}function A(k,I,F){if(I<0||I>11)return!1;if(null!=F){if(F<1)return!1;var P=W(k);if(P&&F>N[I]||!P&&F>B[I])return!1}return!0}function U(k,I,F){return!(I<0||I>52||null!=F&&(F<0||F>6))}function O(k,I,F){return!(null!=k&&(k<0||k>=25)||null!=I&&(I<0||I>=60)||null!=F&&(F<0||F>=60))}_e.exports=R.default},14646:(_e,R,r)=>{"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=function h(v,_,m){var b=(0,s.default)(v,m),p=(0,n.default)(_,b,!0),D=new Date(b.getTime()-p),a=new Date(0);return a.setFullYear(D.getUTCFullYear(),D.getUTCMonth(),D.getUTCDate()),a.setHours(D.getUTCHours(),D.getUTCMinutes(),D.getUTCSeconds(),D.getUTCMilliseconds()),a};var n=c(r(56359)),s=c(r(34985));function c(v){return v&&v.__esModule?v:{default:v}}_e.exports=R.default},13852:(_e,R,r)=>{"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=function m(b,p,D){if("string"==typeof b&&!b.match(c.default)){var a=(0,n.default)(D);return a.timeZone=p,(0,s.default)(b,a)}var u=(0,s.default)(b,D),E=(0,v.default)(u.getFullYear(),u.getMonth(),u.getDate(),u.getHours(),u.getMinutes(),u.getSeconds(),u.getMilliseconds()).getTime(),T=(0,h.default)(p,new Date(E));return new Date(E+T)};var n=_(r(30770)),s=_(r(34985)),c=_(r(17587)),h=_(r(56359)),v=_(r(73248));function _(b){return b&&b.__esModule?b:{default:b}}_e.exports=R.default},64836:_e=>{_e.exports=function R(r){return r&&r.__esModule?r:{default:r}},_e.exports.__esModule=!0,_e.exports.default=_e.exports},18698:_e=>{function R(r){return _e.exports=R="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},_e.exports.__esModule=!0,_e.exports.default=_e.exports,R(r)}_e.exports=R,_e.exports.__esModule=!0,_e.exports.default=_e.exports},21796:(_e,R,r)=>{"use strict";r.d(R,{EY:()=>T,F4:()=>b,IO:()=>E,SB:()=>m,X$:()=>s,ZE:()=>I,ZN:()=>k,_7:()=>u,eR:()=>p,jt:()=>c,k1:()=>F,l3:()=>n,oB:()=>_,oQ:()=>D,pV:()=>a,ru:()=>h,vP:()=>v});const n="*";function s(P,H){return{type:7,name:P,definitions:H,options:{}}}function c(P,H=null){return{type:4,styles:H,timings:P}}function h(P,H=null){return{type:3,steps:P,options:H}}function v(P,H=null){return{type:2,steps:P,options:H}}function _(P){return{type:6,styles:P,offset:null}}function m(P,H,$){return{type:0,name:P,styles:H,options:$}}function b(P){return{type:5,steps:P}}function p(P,H,$=null){return{type:1,expr:P,animation:H,options:$}}function D(P,H=null){return{type:8,animation:P,options:H}}function a(P=null){return{type:9,options:P}}function u(P,H=null){return{type:10,animation:P,options:H}}function E(P,H,$=null){return{type:11,selector:P,animation:H,options:$}}function T(P,H){return{type:12,timings:P,animation:H}}class k{constructor(H=0,$=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=H+$}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(H=>H()),this._onDoneFns=[])}onStart(H){this._originalOnStartFns.push(H),this._onStartFns.push(H)}onDone(H){this._originalOnDoneFns.push(H),this._onDoneFns.push(H)}onDestroy(H){this._onDestroyFns.push(H)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(H=>H()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(H=>H()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(H){this._position=this.totalTime?H*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(H){const $="start"==H?this._onStartFns:this._onDoneFns;$.forEach(J=>J()),$.length=0}}class I{constructor(H){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=H;let $=0,J=0,V=0;const le=this.players.length;0==le?queueMicrotask(()=>this._onFinish()):this.players.forEach(ge=>{ge.onDone(()=>{++$==le&&this._onFinish()}),ge.onDestroy(()=>{++J==le&&this._onDestroy()}),ge.onStart(()=>{++V==le&&this._onStart()})}),this.totalTime=this.players.reduce((ge,te)=>Math.max(ge,te.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(H=>H()),this._onDoneFns=[])}init(){this.players.forEach(H=>H.init())}onStart(H){this._onStartFns.push(H)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(H=>H()),this._onStartFns=[])}onDone(H){this._onDoneFns.push(H)}onDestroy(H){this._onDestroyFns.push(H)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(H=>H.play())}pause(){this.players.forEach(H=>H.pause())}restart(){this.players.forEach(H=>H.restart())}finish(){this._onFinish(),this.players.forEach(H=>H.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(H=>H.destroy()),this._onDestroyFns.forEach(H=>H()),this._onDestroyFns=[])}reset(){this.players.forEach(H=>H.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(H){const $=H*this.totalTime;this.players.forEach(J=>{const V=J.totalTime?Math.min(1,$/J.totalTime):1;J.setPosition(V)})}getPosition(){const H=this.players.reduce(($,J)=>null===$||J.totalTime>$.totalTime?J:$,null);return null!=H?H.getPosition():0}beforeDestroy(){this.players.forEach(H=>{H.beforeDestroy&&H.beforeDestroy()})}triggerCallback(H){const $="start"==H?this._onStartFns:this._onDoneFns;$.forEach(J=>J()),$.length=0}}const F="!"},62424:(_e,R,r)=>{"use strict";r.d(R,{$s:()=>$,Em:()=>te,Kd:()=>Ut,X6:()=>Wt,Zf:()=>U,iD:()=>O,ic:()=>Te,kH:()=>Rt,mK:()=>ae,qV:()=>y,qm:()=>Re,rt:()=>ot,s1:()=>ge,tE:()=>pn,yG:()=>ft});var n=r(14565),s=r(77533),c=r(44798),h=r(9739),v=r(97889),_=r(67728),m=r(12494),b=r(97835),p=r(60110),D=r(19839),a=r(36305),u=r(97478),E=r(49804),T=r(92496),M=r(97974),B=r(25167),N=r(47289),W=r(85572),A=r(45208);const X=" ";function U(Ve,Oe,Ze){const Ge=k(Ve,Oe);Ge.some(Pe=>Pe.trim()==Ze.trim())||(Ge.push(Ze.trim()),Ve.setAttribute(Oe,Ge.join(X)))}function O(Ve,Oe,Ze){const Pe=k(Ve,Oe).filter(Ue=>Ue!=Ze.trim());Pe.length?Ve.setAttribute(Oe,Pe.join(X)):Ve.removeAttribute(Oe)}function k(Ve,Oe){return(Ve.getAttribute(Oe)||"").match(/\S+/g)||[]}const F="cdk-describedby-message",P="cdk-describedby-host";let H=0,$=(()=>{var Ve;class Oe{constructor(Ge,Pe){this._platform=Pe,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+H++,this._document=Ge,this._id=(0,s.f3M)(s.AFp)+"-"+H++}describe(Ge,Pe,Ue){if(!this._canBeDescribed(Ge,Pe))return;const De=J(Pe,Ue);"string"!=typeof Pe?(V(Pe,this._id),this._messageRegistry.set(De,{messageElement:Pe,referenceCount:0})):this._messageRegistry.has(De)||this._createMessageElement(Pe,Ue),this._isElementDescribedByMessage(Ge,De)||this._addMessageReference(Ge,De)}removeDescription(Ge,Pe,Ue){if(!Pe||!this._isElementNode(Ge))return;const De=J(Pe,Ue);if(this._isElementDescribedByMessage(Ge,De)&&this._removeMessageReference(Ge,De),"string"==typeof Pe){const fe=this._messageRegistry.get(De);fe&&0===fe.referenceCount&&this._deleteMessageElement(De)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const Ge=this._document.querySelectorAll(`[${P}="${this._id}"]`);for(let Pe=0;Pe<Ge.length;Pe++)this._removeCdkDescribedByReferenceIds(Ge[Pe]),Ge[Pe].removeAttribute(P);this._messagesContainer?.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(Ge,Pe){const Ue=this._document.createElement("div");V(Ue,this._id),Ue.textContent=Ge,Pe&&Ue.setAttribute("role",Pe),this._createMessagesContainer(),this._messagesContainer.appendChild(Ue),this._messageRegistry.set(J(Ge,Pe),{messageElement:Ue,referenceCount:0})}_deleteMessageElement(Ge){this._messageRegistry.get(Ge)?.messageElement?.remove(),this._messageRegistry.delete(Ge)}_createMessagesContainer(){if(this._messagesContainer)return;const Ge="cdk-describedby-message-container",Pe=this._document.querySelectorAll(`.${Ge}[platform="server"]`);for(let De=0;De<Pe.length;De++)Pe[De].remove();const Ue=this._document.createElement("div");Ue.style.visibility="hidden",Ue.classList.add(Ge),Ue.classList.add("cdk-visually-hidden"),this._platform&&!this._platform.isBrowser&&Ue.setAttribute("platform","server"),this._document.body.appendChild(Ue),this._messagesContainer=Ue}_removeCdkDescribedByReferenceIds(Ge){const Pe=k(Ge,"aria-describedby").filter(Ue=>0!=Ue.indexOf(F));Ge.setAttribute("aria-describedby",Pe.join(" "))}_addMessageReference(Ge,Pe){const Ue=this._messageRegistry.get(Pe);U(Ge,"aria-describedby",Ue.messageElement.id),Ge.setAttribute(P,this._id),Ue.referenceCount++}_removeMessageReference(Ge,Pe){const Ue=this._messageRegistry.get(Pe);Ue.referenceCount--,O(Ge,"aria-describedby",Ue.messageElement.id),Ge.removeAttribute(P)}_isElementDescribedByMessage(Ge,Pe){const Ue=k(Ge,"aria-describedby"),De=this._messageRegistry.get(Pe),fe=De&&De.messageElement.id;return!!fe&&-1!=Ue.indexOf(fe)}_canBeDescribed(Ge,Pe){if(!this._isElementNode(Ge))return!1;if(Pe&&"object"==typeof Pe)return!0;const Ue=null==Pe?"":`${Pe}`.trim(),De=Ge.getAttribute("aria-label");return!(!Ue||De&&De.trim()===Ue)}_isElementNode(Ge){return Ge.nodeType===this._document.ELEMENT_NODE}}return(Ve=Oe).\u0275fac=function(Ge){return new(Ge||Ve)(s.LFG(n.DOCUMENT),s.LFG(c.t4))},Ve.\u0275prov=s.Yz7({token:Ve,factory:Ve.\u0275fac,providedIn:"root"}),Oe})();function J(Ve,Oe){return"string"==typeof Ve?`${Oe||""}/${Ve}`:Ve}function V(Ve,Oe){Ve.id||(Ve.id=`${F}-${Oe}-${H++}`)}class le{constructor(Oe){this._items=Oe,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new h.x,this._typeaheadSubscription=v.w0.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=Ze=>Ze.disabled,this._pressedLetters=[],this.tabOut=new h.x,this.change=new h.x,Oe instanceof s.n_E&&(this._itemChangesSubscription=Oe.changes.subscribe(Ze=>{if(this._activeItem){const Pe=Ze.toArray().indexOf(this._activeItem);Pe>-1&&Pe!==this._activeItemIndex&&(this._activeItemIndex=Pe)}}))}skipPredicate(Oe){return this._skipPredicateFn=Oe,this}withWrap(Oe=!0){return this._wrap=Oe,this}withVerticalOrientation(Oe=!0){return this._vertical=Oe,this}withHorizontalOrientation(Oe){return this._horizontal=Oe,this}withAllowedModifierKeys(Oe){return this._allowedModifierKeys=Oe,this}withTypeAhead(Oe=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,p.b)(Ze=>this._pressedLetters.push(Ze)),(0,D.b)(Oe),(0,a.h)(()=>this._pressedLetters.length>0),(0,u.U)(()=>this._pressedLetters.join(""))).subscribe(Ze=>{const Ge=this._getItemsArray();for(let Pe=1;Pe<Ge.length+1;Pe++){const Ue=(this._activeItemIndex+Pe)%Ge.length,De=Ge[Ue];if(!this._skipPredicateFn(De)&&0===De.getLabel().toUpperCase().trim().indexOf(Ze)){this.setActiveItem(Ue);break}}this._pressedLetters=[]}),this}cancelTypeahead(){return this._pressedLetters=[],this}withHomeAndEnd(Oe=!0){return this._homeAndEnd=Oe,this}withPageUpDown(Oe=!0,Ze=10){return this._pageUpAndDown={enabled:Oe,delta:Ze},this}setActiveItem(Oe){const Ze=this._activeItem;this.updateActiveItem(Oe),this._activeItem!==Ze&&this.change.next(this._activeItemIndex)}onKeydown(Oe){const Ze=Oe.keyCode,Pe=["altKey","ctrlKey","metaKey","shiftKey"].every(Ue=>!Oe[Ue]||this._allowedModifierKeys.indexOf(Ue)>-1);switch(Ze){case b.Mf:return void this.tabOut.next();case b.JH:if(this._vertical&&Pe){this.setNextItemActive();break}return;case b.LH:if(this._vertical&&Pe){this.setPreviousItemActive();break}return;case b.SV:if(this._horizontal&&Pe){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case b.oh:if(this._horizontal&&Pe){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case b.Sd:if(this._homeAndEnd&&Pe){this.setFirstItemActive();break}return;case b.uR:if(this._homeAndEnd&&Pe){this.setLastItemActive();break}return;case b.Ku:if(this._pageUpAndDown.enabled&&Pe){const Ue=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(Ue>0?Ue:0,1);break}return;case b.VM:if(this._pageUpAndDown.enabled&&Pe){const Ue=this._activeItemIndex+this._pageUpAndDown.delta,De=this._getItemsArray().length;this._setActiveItemByIndex(Ue<De?Ue:De-1,-1);break}return;default:return void((Pe||(0,b.Vb)(Oe,"shiftKey"))&&(Oe.key&&1===Oe.key.length?this._letterKeyStream.next(Oe.key.toLocaleUpperCase()):(Ze>=b.A&&Ze<=b.Z||Ze>=b.xE&&Ze<=b.aO)&&this._letterKeyStream.next(String.fromCharCode(Ze))))}this._pressedLetters=[],Oe.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(Oe){const Ze=this._getItemsArray(),Ge="number"==typeof Oe?Oe:Ze.indexOf(Oe);this._activeItem=Ze[Ge]??null,this._activeItemIndex=Ge}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(Oe){this._wrap?this._setActiveInWrapMode(Oe):this._setActiveInDefaultMode(Oe)}_setActiveInWrapMode(Oe){const Ze=this._getItemsArray();for(let Ge=1;Ge<=Ze.length;Ge++){const Pe=(this._activeItemIndex+Oe*Ge+Ze.length)%Ze.length;if(!this._skipPredicateFn(Ze[Pe]))return void this.setActiveItem(Pe)}}_setActiveInDefaultMode(Oe){this._setActiveItemByIndex(this._activeItemIndex+Oe,Oe)}_setActiveItemByIndex(Oe,Ze){const Ge=this._getItemsArray();if(Ge[Oe]){for(;this._skipPredicateFn(Ge[Oe]);)if(!Ge[Oe+=Ze])return;this.setActiveItem(Oe)}}_getItemsArray(){return this._items instanceof s.n_E?this._items.toArray():this._items}}class ge extends le{setActiveItem(Oe){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(Oe),this.activeItem&&this.activeItem.setActiveStyles()}}class te extends le{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(Oe){return this._origin=Oe,this}setActiveItem(Oe){super.setActiveItem(Oe),this.activeItem&&this.activeItem.focus(this._origin)}}let Te=(()=>{var Ve;class Oe{constructor(Ge){this._platform=Ge}isDisabled(Ge){return Ge.hasAttribute("disabled")}isVisible(Ge){return function Q(Ve){return!!(Ve.offsetWidth||Ve.offsetHeight||"function"==typeof Ve.getClientRects&&Ve.getClientRects().length)}(Ge)&&"visible"===getComputedStyle(Ge).visibility}isTabbable(Ge){if(!this._platform.isBrowser)return!1;const Pe=function ee(Ve){try{return Ve.frameElement}catch{return null}}(function ut(Ve){return Ve.ownerDocument&&Ve.ownerDocument.defaultView||window}(Ge));if(Pe&&(-1===Pt(Pe)||!this.isVisible(Pe)))return!1;let Ue=Ge.nodeName.toLowerCase(),De=Pt(Ge);return Ge.hasAttribute("contenteditable")?-1!==De:!("iframe"===Ue||"object"===Ue||this._platform.WEBKIT&&this._platform.IOS&&!function lt(Ve){let Oe=Ve.nodeName.toLowerCase(),Ze="input"===Oe&&Ve.type;return"text"===Ze||"password"===Ze||"select"===Oe||"textarea"===Oe}(Ge))&&("audio"===Ue?!!Ge.hasAttribute("controls")&&-1!==De:"video"===Ue?-1!==De&&(null!==De||this._platform.FIREFOX||Ge.hasAttribute("controls")):Ge.tabIndex>=0)}isFocusable(Ge,Pe){return function tt(Ve){return!function pe(Ve){return function Me(Ve){return"input"==Ve.nodeName.toLowerCase()}(Ve)&&"hidden"==Ve.type}(Ve)&&(function me(Ve){let Oe=Ve.nodeName.toLowerCase();return"input"===Oe||"select"===Oe||"button"===Oe||"textarea"===Oe}(Ve)||function se(Ve){return function ct(Ve){return"a"==Ve.nodeName.toLowerCase()}(Ve)&&Ve.hasAttribute("href")}(Ve)||Ve.hasAttribute("contenteditable")||vt(Ve))}(Ge)&&!this.isDisabled(Ge)&&(Pe?.ignoreVisibility||this.isVisible(Ge))}}return(Ve=Oe).\u0275fac=function(Ge){return new(Ge||Ve)(s.LFG(c.t4))},Ve.\u0275prov=s.Yz7({token:Ve,factory:Ve.\u0275fac,providedIn:"root"}),Oe})();function vt(Ve){if(!Ve.hasAttribute("tabindex")||void 0===Ve.tabIndex)return!1;let Oe=Ve.getAttribute("tabindex");return!(!Oe||isNaN(parseInt(Oe,10)))}function Pt(Ve){if(!vt(Ve))return null;const Oe=parseInt(Ve.getAttribute("tabindex")||"",10);return isNaN(Oe)?-1:Oe}class ne{get enabled(){return this._enabled}set enabled(Oe){this._enabled=Oe,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(Oe,this._startAnchor),this._toggleAnchorTabIndex(Oe,this._endAnchor))}constructor(Oe,Ze,Ge,Pe,Ue=!1){this._element=Oe,this._checker=Ze,this._ngZone=Ge,this._document=Pe,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,Ue||this.attachAnchors()}destroy(){const Oe=this._startAnchor,Ze=this._endAnchor;Oe&&(Oe.removeEventListener("focus",this.startAnchorListener),Oe.remove()),Ze&&(Ze.removeEventListener("focus",this.endAnchorListener),Ze.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(Oe){return new Promise(Ze=>{this._executeOnStable(()=>Ze(this.focusInitialElement(Oe)))})}focusFirstTabbableElementWhenReady(Oe){return new Promise(Ze=>{this._executeOnStable(()=>Ze(this.focusFirstTabbableElement(Oe)))})}focusLastTabbableElementWhenReady(Oe){return new Promise(Ze=>{this._executeOnStable(()=>Ze(this.focusLastTabbableElement(Oe)))})}_getRegionBoundary(Oe){const Ze=this._element.querySelectorAll(`[cdk-focus-region-${Oe}], [cdkFocusRegion${Oe}], [cdk-focus-${Oe}]`);return"start"==Oe?Ze.length?Ze[0]:this._getFirstTabbableElement(this._element):Ze.length?Ze[Ze.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(Oe){const Ze=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(Ze){if(!this._checker.isFocusable(Ze)){const Ge=this._getFirstTabbableElement(Ze);return Ge?.focus(Oe),!!Ge}return Ze.focus(Oe),!0}return this.focusFirstTabbableElement(Oe)}focusFirstTabbableElement(Oe){const Ze=this._getRegionBoundary("start");return Ze&&Ze.focus(Oe),!!Ze}focusLastTabbableElement(Oe){const Ze=this._getRegionBoundary("end");return Ze&&Ze.focus(Oe),!!Ze}hasAttached(){return this._hasAttached}_getFirstTabbableElement(Oe){if(this._checker.isFocusable(Oe)&&this._checker.isTabbable(Oe))return Oe;const Ze=Oe.children;for(let Ge=0;Ge<Ze.length;Ge++){const Pe=Ze[Ge].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(Ze[Ge]):null;if(Pe)return Pe}return null}_getLastTabbableElement(Oe){if(this._checker.isFocusable(Oe)&&this._checker.isTabbable(Oe))return Oe;const Ze=Oe.children;for(let Ge=Ze.length-1;Ge>=0;Ge--){const Pe=Ze[Ge].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(Ze[Ge]):null;if(Pe)return Pe}return null}_createAnchor(){const Oe=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,Oe),Oe.classList.add("cdk-visually-hidden"),Oe.classList.add("cdk-focus-trap-anchor"),Oe.setAttribute("aria-hidden","true"),Oe}_toggleAnchorTabIndex(Oe,Ze){Oe?Ze.setAttribute("tabindex","0"):Ze.removeAttribute("tabindex")}toggleAnchors(Oe){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(Oe,this._startAnchor),this._toggleAnchorTabIndex(Oe,this._endAnchor))}_executeOnStable(Oe){this._ngZone.isStable?Oe():this._ngZone.onStable.pipe((0,E.q)(1)).subscribe(Oe)}}let y=(()=>{var Ve;class Oe{constructor(Ge,Pe,Ue){this._checker=Ge,this._ngZone=Pe,this._document=Ue}create(Ge,Pe=!1){return new ne(Ge,this._checker,this._ngZone,this._document,Pe)}}return(Ve=Oe).\u0275fac=function(Ge){return new(Ge||Ve)(s.LFG(Te),s.LFG(s.R0b),s.LFG(n.DOCUMENT))},Ve.\u0275prov=s.Yz7({token:Ve,factory:Ve.\u0275fac,providedIn:"root"}),Oe})(),ae=(()=>{var Ve;class Oe{get enabled(){return this.focusTrap.enabled}set enabled(Ge){this.focusTrap.enabled=Ge}constructor(Ge,Pe,Ue){this._elementRef=Ge,this._focusTrapFactory=Pe,this._previouslyFocusedElement=null,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}ngOnDestroy(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap.hasAttached()||this.focusTrap.attachAnchors()}ngOnChanges(Ge){const Pe=Ge.autoCapture;Pe&&!Pe.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=(0,c.ht)(),this.focusTrap.focusInitialElementWhenReady()}}return(Ve=Oe).\u0275fac=function(Ge){return new(Ge||Ve)(s.Y36(s.SBq),s.Y36(y),s.Y36(n.DOCUMENT))},Ve.\u0275dir=s.lG2({type:Ve,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled",s.VuI],autoCapture:["cdkTrapFocusAutoCapture","autoCapture",s.VuI]},exportAs:["cdkTrapFocus"],features:[s.Xq5,s.TTD]}),Oe})();function Wt(Ve){return 0===Ve.buttons||0===Ve.detail}function ft(Ve){const Oe=Ve.touches&&Ve.touches[0]||Ve.changedTouches&&Ve.changedTouches[0];return!(!Oe||-1!==Oe.identifier||null!=Oe.radiusX&&1!==Oe.radiusX||null!=Oe.radiusY&&1!==Oe.radiusY)}const ye=new s.OlP("cdk-input-modality-detector-options"),st={ignoreKeys:[b.zL,b.jx,b.b2,b.MW,b.JU]},$e=(0,c.i$)({passive:!0,capture:!0});let Ye=(()=>{var Ve;class Oe{get mostRecentModality(){return this._modality.value}constructor(Ge,Pe,Ue,De){this._platform=Ge,this._mostRecentTarget=null,this._modality=new _.X(null),this._lastTouchMs=0,this._onKeydown=fe=>{this._options?.ignoreKeys?.some(He=>He===fe.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,c.sA)(fe))},this._onMousedown=fe=>{Date.now()-this._lastTouchMs<650||(this._modality.next(Wt(fe)?"keyboard":"mouse"),this._mostRecentTarget=(0,c.sA)(fe))},this._onTouchstart=fe=>{ft(fe)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,c.sA)(fe))},this._options={...st,...De},this.modalityDetected=this._modality.pipe((0,T.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,M.x)()),Ge.isBrowser&&Pe.runOutsideAngular(()=>{Ue.addEventListener("keydown",this._onKeydown,$e),Ue.addEventListener("mousedown",this._onMousedown,$e),Ue.addEventListener("touchstart",this._onTouchstart,$e)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,$e),document.removeEventListener("mousedown",this._onMousedown,$e),document.removeEventListener("touchstart",this._onTouchstart,$e))}}return(Ve=Oe).\u0275fac=function(Ge){return new(Ge||Ve)(s.LFG(c.t4),s.LFG(s.R0b),s.LFG(n.DOCUMENT),s.LFG(ye,8))},Ve.\u0275prov=s.Yz7({token:Ve,factory:Ve.\u0275fac,providedIn:"root"}),Oe})();const At=new s.OlP("liveAnnouncerElement",{providedIn:"root",factory:function qe(){return null}}),it=new s.OlP("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let Kt=0,Ut=(()=>{var Ve;class Oe{constructor(Ge,Pe,Ue,De){this._ngZone=Pe,this._defaultOptions=De,this._document=Ue,this._liveElement=Ge||this._createLiveElement()}announce(Ge,...Pe){const Ue=this._defaultOptions;let De,fe;return 1===Pe.length&&"number"==typeof Pe[0]?fe=Pe[0]:[De,fe]=Pe,this.clear(),clearTimeout(this._previousTimeout),De||(De=Ue&&Ue.politeness?Ue.politeness:"polite"),null==fe&&Ue&&(fe=Ue.duration),this._liveElement.setAttribute("aria-live",De),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(He=>this._currentResolve=He)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=Ge,"number"==typeof fe&&(this._previousTimeout=setTimeout(()=>this.clear(),fe)),this._currentResolve(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){const Ge="cdk-live-announcer-element",Pe=this._document.getElementsByClassName(Ge),Ue=this._document.createElement("div");for(let De=0;De<Pe.length;De++)Pe[De].remove();return Ue.classList.add(Ge),Ue.classList.add("cdk-visually-hidden"),Ue.setAttribute("aria-atomic","true"),Ue.setAttribute("aria-live","polite"),Ue.id="cdk-live-announcer-"+Kt++,this._document.body.appendChild(Ue),Ue}_exposeAnnouncerToModals(Ge){const Pe=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let Ue=0;Ue<Pe.length;Ue++){const De=Pe[Ue],fe=De.getAttribute("aria-owns");fe?-1===fe.indexOf(Ge)&&De.setAttribute("aria-owns",fe+" "+Ge):De.setAttribute("aria-owns",Ge)}}}return(Ve=Oe).\u0275fac=function(Ge){return new(Ge||Ve)(s.LFG(At,8),s.LFG(s.R0b),s.LFG(n.DOCUMENT),s.LFG(it,8))},Ve.\u0275prov=s.Yz7({token:Ve,factory:Ve.\u0275fac,providedIn:"root"}),Oe})();const rn=new s.OlP("cdk-focus-monitor-default-options"),Ke=(0,c.i$)({passive:!0,capture:!0});let pn=(()=>{var Ve;class Oe{constructor(Ge,Pe,Ue,De,fe){this._ngZone=Ge,this._platform=Pe,this._inputModalityDetector=Ue,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new h.x,this._rootNodeFocusAndBlurListener=He=>{for(let rt=(0,c.sA)(He);rt;rt=rt.parentElement)"focus"===He.type?this._onFocus(He,rt):this._onBlur(He,rt)},this._document=De,this._detectionMode=fe?.detectionMode||0}monitor(Ge,Pe=!1){const Ue=(0,W.fI)(Ge);if(!this._platform.isBrowser||1!==Ue.nodeType)return(0,m.of)();const De=(0,c.kV)(Ue)||this._getDocument(),fe=this._elementInfo.get(Ue);if(fe)return Pe&&(fe.checkChildren=!0),fe.subject;const He={checkChildren:Pe,subject:new h.x,rootNode:De};return this._elementInfo.set(Ue,He),this._registerGlobalListeners(He),He.subject}stopMonitoring(Ge){const Pe=(0,W.fI)(Ge),Ue=this._elementInfo.get(Pe);Ue&&(Ue.subject.complete(),this._setClasses(Pe),this._elementInfo.delete(Pe),this._removeGlobalListeners(Ue))}focusVia(Ge,Pe,Ue){const De=(0,W.fI)(Ge);De===this._getDocument().activeElement?this._getClosestElementsInfo(De).forEach(([He,xe])=>this._originChanged(He,Pe,xe)):(this._setOrigin(Pe),"function"==typeof De.focus&&De.focus(Ue))}ngOnDestroy(){this._elementInfo.forEach((Ge,Pe)=>this.stopMonitoring(Pe))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(Ge){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(Ge)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:Ge&&this._isLastInteractionFromInputLabel(Ge)?"mouse":"program"}_shouldBeAttributedToTouch(Ge){return 1===this._detectionMode||!!Ge?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(Ge,Pe){Ge.classList.toggle("cdk-focused",!!Pe),Ge.classList.toggle("cdk-touch-focused","touch"===Pe),Ge.classList.toggle("cdk-keyboard-focused","keyboard"===Pe),Ge.classList.toggle("cdk-mouse-focused","mouse"===Pe),Ge.classList.toggle("cdk-program-focused","program"===Pe)}_setOrigin(Ge,Pe=!1){this._ngZone.runOutsideAngular(()=>{this._origin=Ge,this._originFromTouchInteraction="touch"===Ge&&Pe,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(Ge,Pe){const Ue=this._elementInfo.get(Pe),De=(0,c.sA)(Ge);!Ue||!Ue.checkChildren&&Pe!==De||this._originChanged(Pe,this._getFocusOrigin(De),Ue)}_onBlur(Ge,Pe){const Ue=this._elementInfo.get(Pe);!Ue||Ue.checkChildren&&Ge.relatedTarget instanceof Node&&Pe.contains(Ge.relatedTarget)||(this._setClasses(Pe),this._emitOrigin(Ue,null))}_emitOrigin(Ge,Pe){Ge.subject.observers.length&&this._ngZone.run(()=>Ge.subject.next(Pe))}_registerGlobalListeners(Ge){if(!this._platform.isBrowser)return;const Pe=Ge.rootNode,Ue=this._rootNodeFocusListenerCount.get(Pe)||0;Ue||this._ngZone.runOutsideAngular(()=>{Pe.addEventListener("focus",this._rootNodeFocusAndBlurListener,Ke),Pe.addEventListener("blur",this._rootNodeFocusAndBlurListener,Ke)}),this._rootNodeFocusListenerCount.set(Pe,Ue+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,B.R)(this._stopInputModalityDetector)).subscribe(De=>{this._setOrigin(De,!0)}))}_removeGlobalListeners(Ge){const Pe=Ge.rootNode;if(this._rootNodeFocusListenerCount.has(Pe)){const Ue=this._rootNodeFocusListenerCount.get(Pe);Ue>1?this._rootNodeFocusListenerCount.set(Pe,Ue-1):(Pe.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Ke),Pe.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Ke),this._rootNodeFocusListenerCount.delete(Pe))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(Ge,Pe,Ue){this._setClasses(Ge,Pe),this._emitOrigin(Ue,Pe),this._lastFocusOrigin=Pe}_getClosestElementsInfo(Ge){const Pe=[];return this._elementInfo.forEach((Ue,De)=>{(De===Ge||Ue.checkChildren&&De.contains(Ge))&&Pe.push([De,Ue])}),Pe}_isLastInteractionFromInputLabel(Ge){const{_mostRecentTarget:Pe,mostRecentModality:Ue}=this._inputModalityDetector;if("mouse"!==Ue||!Pe||Pe===Ge||"INPUT"!==Ge.nodeName&&"TEXTAREA"!==Ge.nodeName||Ge.disabled)return!1;const De=Ge.labels;if(De)for(let fe=0;fe<De.length;fe++)if(De[fe].contains(Pe))return!0;return!1}}return(Ve=Oe).\u0275fac=function(Ge){return new(Ge||Ve)(s.LFG(s.R0b),s.LFG(c.t4),s.LFG(Ye),s.LFG(n.DOCUMENT,8),s.LFG(rn,8))},Ve.\u0275prov=s.Yz7({token:Ve,factory:Ve.\u0275fac,providedIn:"root"}),Oe})(),Rt=(()=>{var Ve;class Oe{constructor(Ge,Pe){this._elementRef=Ge,this._focusMonitor=Pe,this._focusOrigin=null,this.cdkFocusChange=new s.vpe}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){const Ge=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(Ge,1===Ge.nodeType&&Ge.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(Pe=>{this._focusOrigin=Pe,this.cdkFocusChange.emit(Pe)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}return(Ve=Oe).\u0275fac=function(Ge){return new(Ge||Ve)(s.Y36(s.SBq),s.Y36(pn))},Ve.\u0275dir=s.lG2({type:Ve,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]}),Oe})();const Xe="cdk-high-contrast-black-on-white",ve="cdk-high-contrast-white-on-black",Ce="cdk-high-contrast-active";let Re=(()=>{var Ve;class Oe{constructor(Ge,Pe){this._platform=Ge,this._document=Pe,this._breakpointSubscription=(0,s.f3M)(A.Yg).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const Ge=this._document.createElement("div");Ge.style.backgroundColor="rgb(1,2,3)",Ge.style.position="absolute",this._document.body.appendChild(Ge);const Pe=this._document.defaultView||window,Ue=Pe&&Pe.getComputedStyle?Pe.getComputedStyle(Ge):null,De=(Ue&&Ue.backgroundColor||"").replace(/ /g,"");switch(Ge.remove(),De){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return 2;case"rgb(255,255,255)":case"rgb(255,250,239)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const Ge=this._document.body.classList;Ge.remove(Ce,Xe,ve),this._hasCheckedHighContrastMode=!0;const Pe=this.getHighContrastMode();1===Pe?Ge.add(Ce,Xe):2===Pe&&Ge.add(Ce,ve)}}}return(Ve=Oe).\u0275fac=function(Ge){return new(Ge||Ve)(s.LFG(c.t4),s.LFG(n.DOCUMENT))},Ve.\u0275prov=s.Yz7({token:Ve,factory:Ve.\u0275fac,providedIn:"root"}),Oe})(),ot=(()=>{var Ve;class Oe{constructor(Ge){Ge._applyBodyHighContrastModeCssClasses()}}return(Ve=Oe).\u0275fac=function(Ge){return new(Ge||Ve)(s.LFG(Re))},Ve.\u0275mod=s.oAB({type:Ve}),Ve.\u0275inj=s.cJS({imports:[N.Q8]}),Oe})()},83894:(_e,R,r)=>{"use strict";r.d(R,{Is:()=>m,vT:()=>p});var n=r(77533),s=r(14565);const c=new n.OlP("cdk-dir-doc",{providedIn:"root",factory:function h(){return(0,n.f3M)(s.DOCUMENT)}}),v=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let m=(()=>{var D;class a{constructor(E){this.value="ltr",this.change=new n.vpe,E&&(this.value=function _(D){const a=D?.toLowerCase()||"";return"auto"===a&&typeof navigator<"u"&&navigator?.language?v.test(navigator.language)?"rtl":"ltr":"rtl"===a?"rtl":"ltr"}((E.body?E.body.dir:null)||(E.documentElement?E.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}}return(D=a).\u0275fac=function(E){return new(E||D)(n.LFG(c,8))},D.\u0275prov=n.Yz7({token:D,factory:D.\u0275fac,providedIn:"root"}),a})(),p=(()=>{var D;class a{}return(D=a).\u0275fac=function(E){return new(E||D)},D.\u0275mod=n.oAB({type:D}),D.\u0275inj=n.cJS({}),a})()},85572:(_e,R,r)=>{"use strict";r.d(R,{Eq:()=>v,HM:()=>_,Ig:()=>s,du:()=>b,fI:()=>m,su:()=>c});var n=r(77533);function s(p){return null!=p&&"false"!=`${p}`}function c(p,D=0){return function h(p){return!isNaN(parseFloat(p))&&!isNaN(Number(p))}(p)?Number(p):D}function v(p){return Array.isArray(p)?p:[p]}function _(p){return null==p?"":"string"==typeof p?p:`${p}px`}function m(p){return p instanceof n.SBq?p.nativeElement:p}function b(p,D=/\s+/){const a=[];if(null!=p){const u=Array.isArray(p)?p:`${p}`.split(D);for(const E of u){const T=`${E}`.trim();T&&a.push(T)}}return a}},83865:(_e,R,r)=>{"use strict";r.d(R,{LL:()=>B,Su:()=>P,Vq:()=>I,ib:()=>T});var n=r(62424),s=r(50996),c=r(44798),h=r(20860),v=r(14565),_=r(77533),m=r(97835),b=r(9739),p=r(68313),D=r(12494),a=r(83894),u=r(30018);function E(H,$){}class T{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0,this.closeOnDestroy=!0,this.closeOnOverlayDetachments=!0}}let B=(()=>{var H;class $ extends h.en{constructor(V,le,ge,te,We,Te,ee,Q){super(),this._elementRef=V,this._focusTrapFactory=le,this._config=te,this._interactivityChecker=We,this._ngZone=Te,this._overlayRef=ee,this._focusMonitor=Q,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this._ariaLabelledByQueue=[],this.attachDomPortal=me=>{this._portalOutlet.hasAttached();const pe=this._portalOutlet.attachDomPortal(me);return this._contentAttached(),pe},this._document=ge,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._restoreFocus()}attachComponentPortal(V){this._portalOutlet.hasAttached();const le=this._portalOutlet.attachComponentPortal(V);return this._contentAttached(),le}attachTemplatePortal(V){this._portalOutlet.hasAttached();const le=this._portalOutlet.attachTemplatePortal(V);return this._contentAttached(),le}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(V,le){this._interactivityChecker.isFocusable(V)||(V.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const ge=()=>{V.removeEventListener("blur",ge),V.removeEventListener("mousedown",ge),V.removeAttribute("tabindex")};V.addEventListener("blur",ge),V.addEventListener("mousedown",ge)})),V.focus(le)}_focusByCssSelector(V,le){let ge=this._elementRef.nativeElement.querySelector(V);ge&&this._forceFocus(ge,le)}_trapFocus(){const V=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||V.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(le=>{le||this._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus)}}_restoreFocus(){const V=this._config.restoreFocus;let le=null;if("string"==typeof V?le=this._document.querySelector(V):"boolean"==typeof V?le=V?this._elementFocusedBeforeDialogWasOpened:null:V&&(le=V),this._config.restoreFocus&&le&&"function"==typeof le.focus){const ge=(0,c.ht)(),te=this._elementRef.nativeElement;(!ge||ge===this._document.body||ge===te||te.contains(ge))&&(this._focusMonitor?(this._focusMonitor.focusVia(le,this._closeInteractionType),this._closeInteractionType=null):le.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const V=this._elementRef.nativeElement,le=(0,c.ht)();return V===le||V.contains(le)}_initializeFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=(0,c.ht)())}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}}return(H=$).\u0275fac=function(V){return new(V||H)(_.Y36(_.SBq),_.Y36(n.qV),_.Y36(v.DOCUMENT,8),_.Y36(T),_.Y36(n.ic),_.Y36(_.R0b),_.Y36(s.Iu),_.Y36(n.tE))},H.\u0275cmp=_.Xpm({type:H,selectors:[["cdk-dialog-container"]],viewQuery:function(V,le){if(1&V&&_.Gf(h.Pl,7),2&V){let ge;_.iGM(ge=_.CRH())&&(le._portalOutlet=ge.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(V,le){2&V&&_.uIk("id",le._config.id||null)("role",le._config.role)("aria-modal",le._config.ariaModal)("aria-labelledby",le._config.ariaLabel?null:le._ariaLabelledByQueue[0])("aria-label",le._config.ariaLabel)("aria-describedby",le._config.ariaDescribedBy||null)},standalone:!0,features:[_.qOj,_.jDz],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(V,le){1&V&&_.YNc(0,E,0,0,"ng-template",0)},dependencies:[h.eL,h.Pl],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2}),$})();class N{constructor($,J){this.overlayRef=$,this.config=J,this.closed=new b.x,this.disableClose=J.disableClose,this.backdropClick=$.backdropClick(),this.keydownEvents=$.keydownEvents(),this.outsidePointerEvents=$.outsidePointerEvents(),this.id=J.id,this.keydownEvents.subscribe(V=>{V.keyCode===m.hY&&!this.disableClose&&!(0,m.Vb)(V)&&(V.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})}),this._detachSubscription=$.detachments().subscribe(()=>{!1!==J.closeOnOverlayDetachments&&this.close()})}close($,J){if(this.containerInstance){const V=this.closed;this.containerInstance._closeInteractionType=J?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),V.next($),V.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize($="",J=""){return this.overlayRef.updateSize({width:$,height:J}),this}addPanelClass($){return this.overlayRef.addPanelClass($),this}removePanelClass($){return this.overlayRef.removePanelClass($),this}}const W=new _.OlP("DialogScrollStrategy",{providedIn:"root",factory:()=>{const H=(0,_.f3M)(s.aV);return()=>H.scrollStrategies.block()}}),A=new _.OlP("DialogData"),X=new _.OlP("DefaultDialogConfig");let k=0,I=(()=>{var H;class ${get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}constructor(V,le,ge,te,We,Te){this._overlay=V,this._injector=le,this._defaultOptions=ge,this._parentDialog=te,this._overlayContainer=We,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new b.x,this._afterOpenedAtThisLevel=new b.x,this._ariaHiddenElements=new Map,this.afterAllClosed=(0,p.P)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,u.O)(void 0))),this._scrollStrategy=Te}open(V,le){(le={...this._defaultOptions||new T,...le}).id=le.id||"cdk-dialog-"+k++,le.id&&this.getDialogById(le.id);const te=this._getOverlayConfig(le),We=this._overlay.create(te),Te=new N(We,le),ee=this._attachContainer(We,Te,le);return Te.containerInstance=ee,this._attachDialogContent(V,Te,ee,le),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(Te),Te.closed.subscribe(()=>this._removeOpenDialog(Te,!0)),this.afterOpened.next(Te),Te}closeAll(){F(this.openDialogs,V=>V.close())}getDialogById(V){return this.openDialogs.find(le=>le.id===V)}ngOnDestroy(){F(this._openDialogsAtThisLevel,V=>{!1===V.config.closeOnDestroy&&this._removeOpenDialog(V,!1)}),F(this._openDialogsAtThisLevel,V=>V.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(V){const le=new s.X_({positionStrategy:V.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:V.scrollStrategy||this._scrollStrategy(),panelClass:V.panelClass,hasBackdrop:V.hasBackdrop,direction:V.direction,minWidth:V.minWidth,minHeight:V.minHeight,maxWidth:V.maxWidth,maxHeight:V.maxHeight,width:V.width,height:V.height,disposeOnNavigation:V.closeOnNavigation});return V.backdropClass&&(le.backdropClass=V.backdropClass),le}_attachContainer(V,le,ge){const te=ge.injector||ge.viewContainerRef?.injector,We=[{provide:T,useValue:ge},{provide:N,useValue:le},{provide:s.Iu,useValue:V}];let Te;ge.container?"function"==typeof ge.container?Te=ge.container:(Te=ge.container.type,We.push(...ge.container.providers(ge))):Te=B;const ee=new h.C5(Te,ge.viewContainerRef,_.zs3.create({parent:te||this._injector,providers:We}),ge.componentFactoryResolver);return V.attach(ee).instance}_attachDialogContent(V,le,ge,te){if(V instanceof _.Rgc){const We=this._createInjector(te,le,ge,void 0);let Te={$implicit:te.data,dialogRef:le};te.templateContext&&(Te={...Te,..."function"==typeof te.templateContext?te.templateContext():te.templateContext}),ge.attachTemplatePortal(new h.UE(V,null,Te,We))}else{const We=this._createInjector(te,le,ge,this._injector),Te=ge.attachComponentPortal(new h.C5(V,te.viewContainerRef,We,te.componentFactoryResolver));le.componentRef=Te,le.componentInstance=Te.instance}}_createInjector(V,le,ge,te){const We=V.injector||V.viewContainerRef?.injector,Te=[{provide:A,useValue:V.data},{provide:N,useValue:le}];return V.providers&&("function"==typeof V.providers?Te.push(...V.providers(le,V,ge)):Te.push(...V.providers)),V.direction&&(!We||!We.get(a.Is,null,{optional:!0}))&&Te.push({provide:a.Is,useValue:{value:V.direction,change:(0,D.of)()}}),_.zs3.create({parent:We||te,providers:Te})}_removeOpenDialog(V,le){const ge=this.openDialogs.indexOf(V);ge>-1&&(this.openDialogs.splice(ge,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((te,We)=>{te?We.setAttribute("aria-hidden",te):We.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),le&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const V=this._overlayContainer.getContainerElement();if(V.parentElement){const le=V.parentElement.children;for(let ge=le.length-1;ge>-1;ge--){const te=le[ge];te!==V&&"SCRIPT"!==te.nodeName&&"STYLE"!==te.nodeName&&!te.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(te,te.getAttribute("aria-hidden")),te.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){const V=this._parentDialog;return V?V._getAfterAllClosed():this._afterAllClosedAtThisLevel}}return(H=$).\u0275fac=function(V){return new(V||H)(_.LFG(s.aV),_.LFG(_.zs3),_.LFG(X,8),_.LFG(H,12),_.LFG(s.Xj),_.LFG(W))},H.\u0275prov=_.Yz7({token:H,factory:H.\u0275fac,providedIn:"root"}),$})();function F(H,$){let J=H.length;for(;J--;)$(H[J])}let P=(()=>{var H;class ${}return(H=$).\u0275fac=function(V){return new(V||H)},H.\u0275mod=_.oAB({type:H}),H.\u0275inj=_.cJS({providers:[I],imports:[s.U8,h.eL,n.rt,B,h.eL]}),$})()},97835:(_e,R,r)=>{"use strict";r.d(R,{A:()=>pe,JH:()=>X,JU:()=>_,K5:()=>v,Ku:()=>E,LH:()=>W,L_:()=>u,MW:()=>it,Mf:()=>c,SV:()=>A,Sd:()=>B,VM:()=>T,Vb:()=>Rn,Z:()=>qe,aO:()=>We,b2:()=>Vn,hY:()=>a,jx:()=>m,oh:()=>N,uR:()=>M,xE:()=>F,zL:()=>b});const c=9,v=13,_=16,m=17,b=18,a=27,u=32,E=33,T=34,M=35,B=36,N=37,W=38,A=39,X=40,F=48,We=57,pe=65,qe=90,it=91,Vn=224;function Rn(Ln,...An){return An.length?An.some(bn=>Ln[bn]):Ln.altKey||Ln.shiftKey||Ln.ctrlKey||Ln.metaKey}},45208:(_e,R,r)=>{"use strict";r.d(R,{Yg:()=>X,u3:()=>O,xu:()=>T});var n=r(77533),s=r(85572),c=r(9739),h=r(63673),v=r(65517),_=r(58764),m=r(49804),b=r(92496),p=r(19839),D=r(97478),a=r(30018),u=r(25167),E=r(44798);let T=(()=>{var k;class I{}return(k=I).\u0275fac=function(P){return new(P||k)},k.\u0275mod=n.oAB({type:k}),k.\u0275inj=n.cJS({}),I})();const M=new Set;let B,N=(()=>{var k;class I{constructor(P,H){this._platform=P,this._nonce=H,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):A}matchMedia(P){return(this._platform.WEBKIT||this._platform.BLINK)&&function W(k,I){if(!M.has(k))try{B||(B=document.createElement("style"),I&&(B.nonce=I),B.setAttribute("type","text/css"),document.head.appendChild(B)),B.sheet&&(B.sheet.insertRule(`@media ${k} {body{ }}`,0),M.add(k))}catch(F){console.error(F)}}(P,this._nonce),this._matchMedia(P)}}return(k=I).\u0275fac=function(P){return new(P||k)(n.LFG(E.t4),n.LFG(n.Ojb,8))},k.\u0275prov=n.Yz7({token:k,factory:k.\u0275fac,providedIn:"root"}),I})();function A(k){return{matches:"all"===k||""===k,media:k,addListener:()=>{},removeListener:()=>{}}}let X=(()=>{var k;class I{constructor(P,H){this._mediaMatcher=P,this._zone=H,this._queries=new Map,this._destroySubject=new c.x}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(P){return U((0,s.Eq)(P)).some($=>this._registerQuery($).mql.matches)}observe(P){const $=U((0,s.Eq)(P)).map(V=>this._registerQuery(V).observable);let J=(0,h.a)($);return J=(0,v.z)(J.pipe((0,m.q)(1)),J.pipe((0,b.T)(1),(0,p.b)(0))),J.pipe((0,D.U)(V=>{const le={matches:!1,breakpoints:{}};return V.forEach(({matches:ge,query:te})=>{le.matches=le.matches||ge,le.breakpoints[te]=ge}),le}))}_registerQuery(P){if(this._queries.has(P))return this._queries.get(P);const H=this._mediaMatcher.matchMedia(P),J={observable:new _.y(V=>{const le=ge=>this._zone.run(()=>V.next(ge));return H.addListener(le),()=>{H.removeListener(le)}}).pipe((0,a.O)(H),(0,D.U)(({matches:V})=>({query:P,matches:V})),(0,u.R)(this._destroySubject)),mql:H};return this._queries.set(P,J),J}}return(k=I).\u0275fac=function(P){return new(P||k)(n.LFG(N),n.LFG(n.R0b))},k.\u0275prov=n.Yz7({token:k,factory:k.\u0275fac,providedIn:"root"}),I})();function U(k){return k.map(I=>I.split(",")).reduce((I,F)=>I.concat(F)).map(I=>I.trim())}const O={XSmall:"(max-width: 599.98px)",Small:"(min-width: 600px) and (max-width: 959.98px)",Medium:"(min-width: 960px) and (max-width: 1279.98px)",Large:"(min-width: 1280px) and (max-width: 1919.98px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.98px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"}},47289:(_e,R,r)=>{"use strict";r.d(R,{Q8:()=>b,yq:()=>_});var n=r(85572),s=r(77533),c=r(58764),h=r(9739);let v=(()=>{var p;class D{create(u){return typeof MutationObserver>"u"?null:new MutationObserver(u)}}return(p=D).\u0275fac=function(u){return new(u||p)},p.\u0275prov=s.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"}),D})(),_=(()=>{var p;class D{constructor(u){this._mutationObserverFactory=u,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((u,E)=>this._cleanupObserver(E))}observe(u){const E=(0,n.fI)(u);return new c.y(T=>{const B=this._observeElement(E).subscribe(T);return()=>{B.unsubscribe(),this._unobserveElement(E)}})}_observeElement(u){if(this._observedElements.has(u))this._observedElements.get(u).count++;else{const E=new h.x,T=this._mutationObserverFactory.create(M=>E.next(M));T&&T.observe(u,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(u,{observer:T,stream:E,count:1})}return this._observedElements.get(u).stream}_unobserveElement(u){this._observedElements.has(u)&&(this._observedElements.get(u).count--,this._observedElements.get(u).count||this._cleanupObserver(u))}_cleanupObserver(u){if(this._observedElements.has(u)){const{observer:E,stream:T}=this._observedElements.get(u);E&&E.disconnect(),T.complete(),this._observedElements.delete(u)}}}return(p=D).\u0275fac=function(u){return new(u||p)(s.LFG(v))},p.\u0275prov=s.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"}),D})(),b=(()=>{var p;class D{}return(p=D).\u0275fac=function(u){return new(u||p)},p.\u0275mod=s.oAB({type:p}),p.\u0275inj=s.cJS({providers:[v]}),D})()},50996:(_e,R,r)=>{"use strict";r.d(R,{Iu:()=>Te,U8:()=>gt,X_:()=>F,Xj:()=>We,_G:()=>me,aV:()=>ne,pI:()=>Fe,xu:()=>w});var n=r(50980),s=r(14565),c=r(77533),h=r(85572),v=r(44798),_=r(36305),m=r(49804),b=r(25167),p=r(83950),D=r(83894),a=r(20860),u=r(9739),E=r(97889),T=r(17343),M=r(97835);const B=(0,v.Mq)();class N{constructor(ye,st){this._viewportRuler=ye,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=st}attach(){}enable(){if(this._canBeEnabled()){const ye=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=ye.style.left||"",this._previousHTMLStyles.top=ye.style.top||"",ye.style.left=(0,h.HM)(-this._previousScrollPosition.left),ye.style.top=(0,h.HM)(-this._previousScrollPosition.top),ye.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const ye=this._document.documentElement,we=ye.style,$e=this._document.body.style,Ye=we.scrollBehavior||"",At=$e.scrollBehavior||"";this._isEnabled=!1,we.left=this._previousHTMLStyles.left,we.top=this._previousHTMLStyles.top,ye.classList.remove("cdk-global-scrollblock"),B&&(we.scrollBehavior=$e.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),B&&(we.scrollBehavior=Ye,$e.scrollBehavior=At)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const st=this._document.body,we=this._viewportRuler.getViewportSize();return st.scrollHeight>we.height||st.scrollWidth>we.width}}class A{constructor(ye,st,we,$e){this._scrollDispatcher=ye,this._ngZone=st,this._viewportRuler=we,this._config=$e,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(ye){this._overlayRef=ye}enable(){if(this._scrollSubscription)return;const ye=this._scrollDispatcher.scrolled(0).pipe((0,_.h)(st=>!st||!this._overlayRef.overlayElement.contains(st.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=ye.subscribe(()=>{const st=this._viewportRuler.getViewportScrollPosition().top;Math.abs(st-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=ye.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class X{enable(){}disable(){}attach(){}}function U(ft,ye){return ye.some(st=>ft.bottom<st.top||ft.top>st.bottom||ft.right<st.left||ft.left>st.right)}function O(ft,ye){return ye.some(st=>ft.top<st.top||ft.bottom>st.bottom||ft.left<st.left||ft.right>st.right)}class k{constructor(ye,st,we,$e){this._scrollDispatcher=ye,this._viewportRuler=st,this._ngZone=we,this._config=$e,this._scrollSubscription=null}attach(ye){this._overlayRef=ye}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const st=this._overlayRef.overlayElement.getBoundingClientRect(),{width:we,height:$e}=this._viewportRuler.getViewportSize();U(st,[{width:we,height:$e,bottom:$e,right:we,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let I=(()=>{var ft;class ye{constructor(we,$e,Ye,At){this._scrollDispatcher=we,this._viewportRuler=$e,this._ngZone=Ye,this.noop=()=>new X,this.close=qe=>new A(this._scrollDispatcher,this._ngZone,this._viewportRuler,qe),this.block=()=>new N(this._viewportRuler,this._document),this.reposition=qe=>new k(this._scrollDispatcher,this._viewportRuler,this._ngZone,qe),this._document=At}}return(ft=ye).\u0275fac=function(we){return new(we||ft)(c.LFG(n.mF),c.LFG(n.rL),c.LFG(c.R0b),c.LFG(s.DOCUMENT))},ft.\u0275prov=c.Yz7({token:ft,factory:ft.\u0275fac,providedIn:"root"}),ye})();class F{constructor(ye){if(this.scrollStrategy=new X,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,ye){const st=Object.keys(ye);for(const we of st)void 0!==ye[we]&&(this[we]=ye[we])}}}class ${constructor(ye,st){this.connectionPair=ye,this.scrollableViewProperties=st}}let le=(()=>{var ft;class ye{constructor(we){this._attachedOverlays=[],this._document=we}ngOnDestroy(){this.detach()}add(we){this.remove(we),this._attachedOverlays.push(we)}remove(we){const $e=this._attachedOverlays.indexOf(we);$e>-1&&this._attachedOverlays.splice($e,1),0===this._attachedOverlays.length&&this.detach()}}return(ft=ye).\u0275fac=function(we){return new(we||ft)(c.LFG(s.DOCUMENT))},ft.\u0275prov=c.Yz7({token:ft,factory:ft.\u0275fac,providedIn:"root"}),ye})(),ge=(()=>{var ft;class ye extends le{constructor(we,$e){super(we),this._ngZone=$e,this._keydownListener=Ye=>{const At=this._attachedOverlays;for(let qe=At.length-1;qe>-1;qe--)if(At[qe]._keydownEvents.observers.length>0){const it=At[qe]._keydownEvents;this._ngZone?this._ngZone.run(()=>it.next(Ye)):it.next(Ye);break}}}add(we){super.add(we),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return(ft=ye).\u0275fac=function(we){return new(we||ft)(c.LFG(s.DOCUMENT),c.LFG(c.R0b,8))},ft.\u0275prov=c.Yz7({token:ft,factory:ft.\u0275fac,providedIn:"root"}),ye})(),te=(()=>{var ft;class ye extends le{constructor(we,$e,Ye){super(we),this._platform=$e,this._ngZone=Ye,this._cursorStyleIsSet=!1,this._pointerDownListener=At=>{this._pointerDownEventTarget=(0,v.sA)(At)},this._clickListener=At=>{const qe=(0,v.sA)(At),it="click"===At.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:qe;this._pointerDownEventTarget=null;const Kt=this._attachedOverlays.slice();for(let Ut=Kt.length-1;Ut>-1;Ut--){const wt=Kt[Ut];if(wt._outsidePointerEvents.observers.length<1||!wt.hasAttached())continue;if(wt.overlayElement.contains(qe)||wt.overlayElement.contains(it))break;const rn=wt._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>rn.next(At)):rn.next(At)}}}add(we){if(super.add(we),!this._isAttached){const $e=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners($e)):this._addEventListeners($e),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=$e.style.cursor,$e.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const we=this._document.body;we.removeEventListener("pointerdown",this._pointerDownListener,!0),we.removeEventListener("click",this._clickListener,!0),we.removeEventListener("auxclick",this._clickListener,!0),we.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(we.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(we){we.addEventListener("pointerdown",this._pointerDownListener,!0),we.addEventListener("click",this._clickListener,!0),we.addEventListener("auxclick",this._clickListener,!0),we.addEventListener("contextmenu",this._clickListener,!0)}}return(ft=ye).\u0275fac=function(we){return new(we||ft)(c.LFG(s.DOCUMENT),c.LFG(v.t4),c.LFG(c.R0b,8))},ft.\u0275prov=c.Yz7({token:ft,factory:ft.\u0275fac,providedIn:"root"}),ye})(),We=(()=>{var ft;class ye{constructor(we,$e){this._platform=$e,this._document=we}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const we="cdk-overlay-container";if(this._platform.isBrowser||(0,v.Oy)()){const Ye=this._document.querySelectorAll(`.${we}[platform="server"], .${we}[platform="test"]`);for(let At=0;At<Ye.length;At++)Ye[At].remove()}const $e=this._document.createElement("div");$e.classList.add(we),(0,v.Oy)()?$e.setAttribute("platform","test"):this._platform.isBrowser||$e.setAttribute("platform","server"),this._document.body.appendChild($e),this._containerElement=$e}}return(ft=ye).\u0275fac=function(we){return new(we||ft)(c.LFG(s.DOCUMENT),c.LFG(v.t4))},ft.\u0275prov=c.Yz7({token:ft,factory:ft.\u0275fac,providedIn:"root"}),ye})();class Te{constructor(ye,st,we,$e,Ye,At,qe,it,Kt,Ut=!1){this._portalOutlet=ye,this._host=st,this._pane=we,this._config=$e,this._ngZone=Ye,this._keyboardDispatcher=At,this._document=qe,this._location=it,this._outsideClickDispatcher=Kt,this._animationsDisabled=Ut,this._backdropElement=null,this._backdropClick=new u.x,this._attachments=new u.x,this._detachments=new u.x,this._locationChanges=E.w0.EMPTY,this._backdropClickHandler=wt=>this._backdropClick.next(wt),this._backdropTransitionendHandler=wt=>{this._disposeBackdrop(wt.target)},this._keydownEvents=new u.x,this._outsidePointerEvents=new u.x,$e.scrollStrategy&&(this._scrollStrategy=$e.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=$e.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(ye){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const st=this._portalOutlet.attach(ye);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,m.q)(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof st?.onDestroy&&st.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),st}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const ye=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),ye}dispose(){const ye=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._previousHostParent=this._pane=this._host=null,ye&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(ye){ye!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=ye,this.hasAttached()&&(ye.attach(this),this.updatePosition()))}updateSize(ye){this._config={...this._config,...ye},this._updateElementSize()}setDirection(ye){this._config={...this._config,direction:ye},this._updateElementDirection()}addPanelClass(ye){this._pane&&this._toggleClasses(this._pane,ye,!0)}removePanelClass(ye){this._pane&&this._toggleClasses(this._pane,ye,!1)}getDirection(){const ye=this._config.direction;return ye?"string"==typeof ye?ye:ye.value:"ltr"}updateScrollStrategy(ye){ye!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=ye,this.hasAttached()&&(ye.attach(this),ye.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const ye=this._pane.style;ye.width=(0,h.HM)(this._config.width),ye.height=(0,h.HM)(this._config.height),ye.minWidth=(0,h.HM)(this._config.minWidth),ye.minHeight=(0,h.HM)(this._config.minHeight),ye.maxWidth=(0,h.HM)(this._config.maxWidth),ye.maxHeight=(0,h.HM)(this._config.maxHeight)}_togglePointerEvents(ye){this._pane.style.pointerEvents=ye?"":"none"}_attachBackdrop(){const ye="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(ye)})}):this._backdropElement.classList.add(ye)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const ye=this._backdropElement;if(ye){if(this._animationsDisabled)return void this._disposeBackdrop(ye);ye.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{ye.addEventListener("transitionend",this._backdropTransitionendHandler)}),ye.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(ye)},500))}}_toggleClasses(ye,st,we){const $e=(0,h.Eq)(st||[]).filter(Ye=>!!Ye);$e.length&&(we?ye.classList.add(...$e):ye.classList.remove(...$e))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const ye=this._ngZone.onStable.pipe((0,b.R)((0,T.T)(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),ye.unsubscribe())})})}_disposeScrollStrategy(){const ye=this._scrollStrategy;ye&&(ye.disable(),ye.detach&&ye.detach())}_disposeBackdrop(ye){ye&&(ye.removeEventListener("click",this._backdropClickHandler),ye.removeEventListener("transitionend",this._backdropTransitionendHandler),ye.remove(),this._backdropElement===ye&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const ee="cdk-overlay-connected-position-bounding-box",Q=/([A-Za-z%]+)$/;class me{get positions(){return this._preferredPositions}constructor(ye,st,we,$e,Ye){this._viewportRuler=st,this._document=we,this._platform=$e,this._overlayContainer=Ye,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new u.x,this._resizeSubscription=E.w0.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(ye)}attach(ye){this._validatePositions(),ye.hostElement.classList.add(ee),this._overlayRef=ye,this._boundingBox=ye.hostElement,this._pane=ye.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const ye=this._originRect,st=this._overlayRect,we=this._viewportRect,$e=this._containerRect,Ye=[];let At;for(let qe of this._preferredPositions){let it=this._getOriginPoint(ye,$e,qe),Kt=this._getOverlayPoint(it,st,qe),Ut=this._getOverlayFit(Kt,st,we,qe);if(Ut.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(qe,it);this._canFitWithFlexibleDimensions(Ut,Kt,we)?Ye.push({position:qe,origin:it,overlayRect:st,boundingBoxRect:this._calculateBoundingBoxRect(it,qe)}):(!At||At.overlayFit.visibleArea<Ut.visibleArea)&&(At={overlayFit:Ut,overlayPoint:Kt,originPoint:it,position:qe,overlayRect:st})}if(Ye.length){let qe=null,it=-1;for(const Kt of Ye){const Ut=Kt.boundingBoxRect.width*Kt.boundingBoxRect.height*(Kt.position.weight||1);Ut>it&&(it=Ut,qe=Kt)}return this._isPushed=!1,void this._applyPosition(qe.position,qe.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(At.position,At.originPoint);this._applyPosition(At.position,At.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&pe(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(ee),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const ye=this._lastPosition;if(ye){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const st=this._getOriginPoint(this._originRect,this._containerRect,ye);this._applyPosition(ye,st)}else this.apply()}withScrollableContainers(ye){return this._scrollables=ye,this}withPositions(ye){return this._preferredPositions=ye,-1===ye.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(ye){return this._viewportMargin=ye,this}withFlexibleDimensions(ye=!0){return this._hasFlexibleDimensions=ye,this}withGrowAfterOpen(ye=!0){return this._growAfterOpen=ye,this}withPush(ye=!0){return this._canPush=ye,this}withLockedPosition(ye=!0){return this._positionLocked=ye,this}setOrigin(ye){return this._origin=ye,this}withDefaultOffsetX(ye){return this._offsetX=ye,this}withDefaultOffsetY(ye){return this._offsetY=ye,this}withTransformOriginOn(ye){return this._transformOriginSelector=ye,this}_getOriginPoint(ye,st,we){let $e,Ye;if("center"==we.originX)$e=ye.left+ye.width/2;else{const At=this._isRtl()?ye.right:ye.left,qe=this._isRtl()?ye.left:ye.right;$e="start"==we.originX?At:qe}return st.left<0&&($e-=st.left),Ye="center"==we.originY?ye.top+ye.height/2:"top"==we.originY?ye.top:ye.bottom,st.top<0&&(Ye-=st.top),{x:$e,y:Ye}}_getOverlayPoint(ye,st,we){let $e,Ye;return $e="center"==we.overlayX?-st.width/2:"start"===we.overlayX?this._isRtl()?-st.width:0:this._isRtl()?0:-st.width,Ye="center"==we.overlayY?-st.height/2:"top"==we.overlayY?0:-st.height,{x:ye.x+$e,y:ye.y+Ye}}_getOverlayFit(ye,st,we,$e){const Ye=Me(st);let{x:At,y:qe}=ye,it=this._getOffset($e,"x"),Kt=this._getOffset($e,"y");it&&(At+=it),Kt&&(qe+=Kt);let rn=0-qe,Ke=qe+Ye.height-we.height,pn=this._subtractOverflows(Ye.width,0-At,At+Ye.width-we.width),Rt=this._subtractOverflows(Ye.height,rn,Ke),Xe=pn*Rt;return{visibleArea:Xe,isCompletelyWithinViewport:Ye.width*Ye.height===Xe,fitsInViewportVertically:Rt===Ye.height,fitsInViewportHorizontally:pn==Ye.width}}_canFitWithFlexibleDimensions(ye,st,we){if(this._hasFlexibleDimensions){const $e=we.bottom-st.y,Ye=we.right-st.x,At=se(this._overlayRef.getConfig().minHeight),qe=se(this._overlayRef.getConfig().minWidth);return(ye.fitsInViewportVertically||null!=At&&At<=$e)&&(ye.fitsInViewportHorizontally||null!=qe&&qe<=Ye)}return!1}_pushOverlayOnScreen(ye,st,we){if(this._previousPushAmount&&this._positionLocked)return{x:ye.x+this._previousPushAmount.x,y:ye.y+this._previousPushAmount.y};const $e=Me(st),Ye=this._viewportRect,At=Math.max(ye.x+$e.width-Ye.width,0),qe=Math.max(ye.y+$e.height-Ye.height,0),it=Math.max(Ye.top-we.top-ye.y,0),Kt=Math.max(Ye.left-we.left-ye.x,0);let Ut=0,wt=0;return Ut=$e.width<=Ye.width?Kt||-At:ye.x<this._viewportMargin?Ye.left-we.left-ye.x:0,wt=$e.height<=Ye.height?it||-qe:ye.y<this._viewportMargin?Ye.top-we.top-ye.y:0,this._previousPushAmount={x:Ut,y:wt},{x:ye.x+Ut,y:ye.y+wt}}_applyPosition(ye,st){if(this._setTransformOrigin(ye),this._setOverlayElementStyles(st,ye),this._setBoundingBoxStyles(st,ye),ye.panelClass&&this._addPanelClasses(ye.panelClass),this._lastPosition=ye,this._positionChanges.observers.length){const we=this._getScrollVisibility(),$e=new $(ye,we);this._positionChanges.next($e)}this._isInitialRender=!1}_setTransformOrigin(ye){if(!this._transformOriginSelector)return;const st=this._boundingBox.querySelectorAll(this._transformOriginSelector);let we,$e=ye.overlayY;we="center"===ye.overlayX?"center":this._isRtl()?"start"===ye.overlayX?"right":"left":"start"===ye.overlayX?"left":"right";for(let Ye=0;Ye<st.length;Ye++)st[Ye].style.transformOrigin=`${we} ${$e}`}_calculateBoundingBoxRect(ye,st){const we=this._viewportRect,$e=this._isRtl();let Ye,At,qe,Ut,wt,rn;if("top"===st.overlayY)At=ye.y,Ye=we.height-At+this._viewportMargin;else if("bottom"===st.overlayY)qe=we.height-ye.y+2*this._viewportMargin,Ye=we.height-qe+this._viewportMargin;else{const Ke=Math.min(we.bottom-ye.y+we.top,ye.y),pn=this._lastBoundingBoxSize.height;Ye=2*Ke,At=ye.y-Ke,Ye>pn&&!this._isInitialRender&&!this._growAfterOpen&&(At=ye.y-pn/2)}if("end"===st.overlayX&&!$e||"start"===st.overlayX&&$e)rn=we.width-ye.x+this._viewportMargin,Ut=ye.x-this._viewportMargin;else if("start"===st.overlayX&&!$e||"end"===st.overlayX&&$e)wt=ye.x,Ut=we.right-ye.x;else{const Ke=Math.min(we.right-ye.x+we.left,ye.x),pn=this._lastBoundingBoxSize.width;Ut=2*Ke,wt=ye.x-Ke,Ut>pn&&!this._isInitialRender&&!this._growAfterOpen&&(wt=ye.x-pn/2)}return{top:At,left:wt,bottom:qe,right:rn,width:Ut,height:Ye}}_setBoundingBoxStyles(ye,st){const we=this._calculateBoundingBoxRect(ye,st);!this._isInitialRender&&!this._growAfterOpen&&(we.height=Math.min(we.height,this._lastBoundingBoxSize.height),we.width=Math.min(we.width,this._lastBoundingBoxSize.width));const $e={};if(this._hasExactPosition())$e.top=$e.left="0",$e.bottom=$e.right=$e.maxHeight=$e.maxWidth="",$e.width=$e.height="100%";else{const Ye=this._overlayRef.getConfig().maxHeight,At=this._overlayRef.getConfig().maxWidth;$e.height=(0,h.HM)(we.height),$e.top=(0,h.HM)(we.top),$e.bottom=(0,h.HM)(we.bottom),$e.width=(0,h.HM)(we.width),$e.left=(0,h.HM)(we.left),$e.right=(0,h.HM)(we.right),$e.alignItems="center"===st.overlayX?"center":"end"===st.overlayX?"flex-end":"flex-start",$e.justifyContent="center"===st.overlayY?"center":"bottom"===st.overlayY?"flex-end":"flex-start",Ye&&($e.maxHeight=(0,h.HM)(Ye)),At&&($e.maxWidth=(0,h.HM)(At))}this._lastBoundingBoxSize=we,pe(this._boundingBox.style,$e)}_resetBoundingBoxStyles(){pe(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){pe(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(ye,st){const we={},$e=this._hasExactPosition(),Ye=this._hasFlexibleDimensions,At=this._overlayRef.getConfig();if($e){const Ut=this._viewportRuler.getViewportScrollPosition();pe(we,this._getExactOverlayY(st,ye,Ut)),pe(we,this._getExactOverlayX(st,ye,Ut))}else we.position="static";let qe="",it=this._getOffset(st,"x"),Kt=this._getOffset(st,"y");it&&(qe+=`translateX(${it}px) `),Kt&&(qe+=`translateY(${Kt}px)`),we.transform=qe.trim(),At.maxHeight&&($e?we.maxHeight=(0,h.HM)(At.maxHeight):Ye&&(we.maxHeight="")),At.maxWidth&&($e?we.maxWidth=(0,h.HM)(At.maxWidth):Ye&&(we.maxWidth="")),pe(this._pane.style,we)}_getExactOverlayY(ye,st,we){let $e={top:"",bottom:""},Ye=this._getOverlayPoint(st,this._overlayRect,ye);return this._isPushed&&(Ye=this._pushOverlayOnScreen(Ye,this._overlayRect,we)),"bottom"===ye.overlayY?$e.bottom=this._document.documentElement.clientHeight-(Ye.y+this._overlayRect.height)+"px":$e.top=(0,h.HM)(Ye.y),$e}_getExactOverlayX(ye,st,we){let At,$e={left:"",right:""},Ye=this._getOverlayPoint(st,this._overlayRect,ye);return this._isPushed&&(Ye=this._pushOverlayOnScreen(Ye,this._overlayRect,we)),At=this._isRtl()?"end"===ye.overlayX?"left":"right":"end"===ye.overlayX?"right":"left","right"===At?$e.right=this._document.documentElement.clientWidth-(Ye.x+this._overlayRect.width)+"px":$e.left=(0,h.HM)(Ye.x),$e}_getScrollVisibility(){const ye=this._getOriginRect(),st=this._pane.getBoundingClientRect(),we=this._scrollables.map($e=>$e.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:O(ye,we),isOriginOutsideView:U(ye,we),isOverlayClipped:O(st,we),isOverlayOutsideView:U(st,we)}}_subtractOverflows(ye,...st){return st.reduce((we,$e)=>we-Math.max($e,0),ye)}_getNarrowedViewportRect(){const ye=this._document.documentElement.clientWidth,st=this._document.documentElement.clientHeight,we=this._viewportRuler.getViewportScrollPosition();return{top:we.top+this._viewportMargin,left:we.left+this._viewportMargin,right:we.left+ye-this._viewportMargin,bottom:we.top+st-this._viewportMargin,width:ye-2*this._viewportMargin,height:st-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(ye,st){return"x"===st?null==ye.offsetX?this._offsetX:ye.offsetX:null==ye.offsetY?this._offsetY:ye.offsetY}_validatePositions(){}_addPanelClasses(ye){this._pane&&(0,h.Eq)(ye).forEach(st=>{""!==st&&-1===this._appliedPanelClasses.indexOf(st)&&(this._appliedPanelClasses.push(st),this._pane.classList.add(st))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(ye=>{this._pane.classList.remove(ye)}),this._appliedPanelClasses=[])}_getOriginRect(){const ye=this._origin;if(ye instanceof c.SBq)return ye.nativeElement.getBoundingClientRect();if(ye instanceof Element)return ye.getBoundingClientRect();const st=ye.width||0,we=ye.height||0;return{top:ye.y,bottom:ye.y+we,left:ye.x,right:ye.x+st,height:we,width:st}}}function pe(ft,ye){for(let st in ye)ye.hasOwnProperty(st)&&(ft[st]=ye[st]);return ft}function se(ft){if("number"!=typeof ft&&null!=ft){const[ye,st]=ft.split(Q);return st&&"px"!==st?null:parseFloat(ye)}return ft||null}function Me(ft){return{top:Math.floor(ft.top),right:Math.floor(ft.right),bottom:Math.floor(ft.bottom),left:Math.floor(ft.left),width:Math.floor(ft.width),height:Math.floor(ft.height)}}const Pt="cdk-global-overlay-wrapper";class lt{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(ye){const st=ye.getConfig();this._overlayRef=ye,this._width&&!st.width&&ye.updateSize({width:this._width}),this._height&&!st.height&&ye.updateSize({height:this._height}),ye.hostElement.classList.add(Pt),this._isDisposed=!1}top(ye=""){return this._bottomOffset="",this._topOffset=ye,this._alignItems="flex-start",this}left(ye=""){return this._xOffset=ye,this._xPosition="left",this}bottom(ye=""){return this._topOffset="",this._bottomOffset=ye,this._alignItems="flex-end",this}right(ye=""){return this._xOffset=ye,this._xPosition="right",this}start(ye=""){return this._xOffset=ye,this._xPosition="start",this}end(ye=""){return this._xOffset=ye,this._xPosition="end",this}width(ye=""){return this._overlayRef?this._overlayRef.updateSize({width:ye}):this._width=ye,this}height(ye=""){return this._overlayRef?this._overlayRef.updateSize({height:ye}):this._height=ye,this}centerHorizontally(ye=""){return this.left(ye),this._xPosition="center",this}centerVertically(ye=""){return this.top(ye),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const ye=this._overlayRef.overlayElement.style,st=this._overlayRef.hostElement.style,we=this._overlayRef.getConfig(),{width:$e,height:Ye,maxWidth:At,maxHeight:qe}=we,it=!("100%"!==$e&&"100vw"!==$e||At&&"100%"!==At&&"100vw"!==At),Kt=!("100%"!==Ye&&"100vh"!==Ye||qe&&"100%"!==qe&&"100vh"!==qe),Ut=this._xPosition,wt=this._xOffset,rn="rtl"===this._overlayRef.getConfig().direction;let Ke="",pn="",Rt="";it?Rt="flex-start":"center"===Ut?(Rt="center",rn?pn=wt:Ke=wt):rn?"left"===Ut||"end"===Ut?(Rt="flex-end",Ke=wt):("right"===Ut||"start"===Ut)&&(Rt="flex-start",pn=wt):"left"===Ut||"start"===Ut?(Rt="flex-start",Ke=wt):("right"===Ut||"end"===Ut)&&(Rt="flex-end",pn=wt),ye.position=this._cssPosition,ye.marginLeft=it?"0":Ke,ye.marginTop=Kt?"0":this._topOffset,ye.marginBottom=this._bottomOffset,ye.marginRight=it?"0":pn,st.justifyContent=Rt,st.alignItems=Kt?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const ye=this._overlayRef.overlayElement.style,st=this._overlayRef.hostElement,we=st.style;st.classList.remove(Pt),we.justifyContent=we.alignItems=ye.marginTop=ye.marginBottom=ye.marginLeft=ye.marginRight=ye.position="",this._overlayRef=null,this._isDisposed=!0}}let tt=(()=>{var ft;class ye{constructor(we,$e,Ye,At){this._viewportRuler=we,this._document=$e,this._platform=Ye,this._overlayContainer=At}global(){return new lt}flexibleConnectedTo(we){return new me(we,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return(ft=ye).\u0275fac=function(we){return new(we||ft)(c.LFG(n.rL),c.LFG(s.DOCUMENT),c.LFG(v.t4),c.LFG(We))},ft.\u0275prov=c.Yz7({token:ft,factory:ft.\u0275fac,providedIn:"root"}),ye})(),ut=0,ne=(()=>{var ft;class ye{constructor(we,$e,Ye,At,qe,it,Kt,Ut,wt,rn,Ke,pn){this.scrollStrategies=we,this._overlayContainer=$e,this._componentFactoryResolver=Ye,this._positionBuilder=At,this._keyboardDispatcher=qe,this._injector=it,this._ngZone=Kt,this._document=Ut,this._directionality=wt,this._location=rn,this._outsideClickDispatcher=Ke,this._animationsModuleType=pn}create(we){const $e=this._createHostElement(),Ye=this._createPaneElement($e),At=this._createPortalOutlet(Ye),qe=new F(we);return qe.direction=qe.direction||this._directionality.value,new Te(At,$e,Ye,qe,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(we){const $e=this._document.createElement("div");return $e.id="cdk-overlay-"+ut++,$e.classList.add("cdk-overlay-pane"),we.appendChild($e),$e}_createHostElement(){const we=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(we),we}_createPortalOutlet(we){return this._appRef||(this._appRef=this._injector.get(c.z2F)),new a.u0(we,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return(ft=ye).\u0275fac=function(we){return new(we||ft)(c.LFG(I),c.LFG(We),c.LFG(c._Vd),c.LFG(tt),c.LFG(ge),c.LFG(c.zs3),c.LFG(c.R0b),c.LFG(s.DOCUMENT),c.LFG(D.Is),c.LFG(s.Location),c.LFG(te),c.LFG(c.QbO,8))},ft.\u0275prov=c.Yz7({token:ft,factory:ft.\u0275fac,providedIn:"root"}),ye})();const y=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],ae=new c.OlP("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{const ft=(0,c.f3M)(ne);return()=>ft.scrollStrategies.reposition()}});let w=(()=>{var ft;class ye{constructor(we){this.elementRef=we}}return(ft=ye).\u0275fac=function(we){return new(we||ft)(c.Y36(c.SBq))},ft.\u0275dir=c.lG2({type:ft,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0}),ye})(),Fe=(()=>{var ft;class ye{get offsetX(){return this._offsetX}set offsetX(we){this._offsetX=we,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(we){this._offsetY=we,this._position&&this._updatePositionStrategy(this._position)}get disposeOnNavigation(){return this._disposeOnNavigation}set disposeOnNavigation(we){this._disposeOnNavigation=we}constructor(we,$e,Ye,At,qe){this._overlay=we,this._dir=qe,this._backdropSubscription=E.w0.EMPTY,this._attachSubscription=E.w0.EMPTY,this._detachSubscription=E.w0.EMPTY,this._positionSubscription=E.w0.EMPTY,this._disposeOnNavigation=!1,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.hasBackdrop=!1,this.lockPosition=!1,this.flexibleDimensions=!1,this.growAfterOpen=!1,this.push=!1,this.backdropClick=new c.vpe,this.positionChange=new c.vpe,this.attach=new c.vpe,this.detach=new c.vpe,this.overlayKeydown=new c.vpe,this.overlayOutsideClick=new c.vpe,this._templatePortal=new a.UE($e,Ye),this._scrollStrategyFactory=At,this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(we){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),we.origin&&this.open&&this._position.apply()),we.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=y);const we=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=we.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=we.detachments().subscribe(()=>this.detach.emit()),we.keydownEvents().subscribe($e=>{this.overlayKeydown.next($e),$e.keyCode===M.hY&&!this.disableClose&&!(0,M.Vb)($e)&&($e.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe($e=>{this.overlayOutsideClick.next($e)})}_buildConfig(){const we=this._position=this.positionStrategy||this._createPositionStrategy(),$e=new F({direction:this._dir,positionStrategy:we,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});return(this.width||0===this.width)&&($e.width=this.width),(this.height||0===this.height)&&($e.height=this.height),(this.minWidth||0===this.minWidth)&&($e.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&($e.minHeight=this.minHeight),this.backdropClass&&($e.backdropClass=this.backdropClass),this.panelClass&&($e.panelClass=this.panelClass),$e}_updatePositionStrategy(we){const $e=this.positions.map(Ye=>({originX:Ye.originX,originY:Ye.originY,overlayX:Ye.overlayX,overlayY:Ye.overlayY,offsetX:Ye.offsetX||this.offsetX,offsetY:Ye.offsetY||this.offsetY,panelClass:Ye.panelClass||void 0}));return we.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions($e).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const we=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(we),we}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof w?this.origin.elementRef:this.origin}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(we=>{this.backdropClick.emit(we)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe((0,p.o)(()=>this.positionChange.observers.length>0)).subscribe(we=>{this.positionChange.emit(we),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return(ft=ye).\u0275fac=function(we){return new(we||ft)(c.Y36(ne),c.Y36(c.Rgc),c.Y36(c.s_b),c.Y36(ae),c.Y36(D.Is,8))},ft.\u0275dir=c.lG2({type:ft,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:["cdkConnectedOverlayOrigin","origin"],positions:["cdkConnectedOverlayPositions","positions"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop",c.VuI],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition",c.VuI],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",c.VuI],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen",c.VuI],push:["cdkConnectedOverlayPush","push",c.VuI],disposeOnNavigation:["cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",c.VuI]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[c.Xq5,c.TTD]}),ye})();const St={provide:ae,deps:[ne],useFactory:function Je(ft){return()=>ft.scrollStrategies.reposition()}};let gt=(()=>{var ft;class ye{}return(ft=ye).\u0275fac=function(we){return new(we||ft)},ft.\u0275mod=c.oAB({type:ft}),ft.\u0275inj=c.cJS({providers:[ne,St],imports:[D.vT,a.eL,n.Cl,n.Cl]}),ye})()},44798:(_e,R,r)=>{"use strict";r.d(R,{Mq:()=>T,Oy:()=>U,_i:()=>M,ht:()=>A,i$:()=>a,kV:()=>W,qK:()=>b,sA:()=>X,t4:()=>h});var n=r(77533),s=r(14565);let c;try{c=typeof Intl<"u"&&Intl.v8BreakIterator}catch{c=!1}let _,h=(()=>{var O;class k{constructor(F){this._platformId=F,this.isBrowser=this._platformId?(0,s.isPlatformBrowser)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!c)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return(O=k).\u0275fac=function(F){return new(F||O)(n.LFG(n.Lbi))},O.\u0275prov=n.Yz7({token:O,factory:O.\u0275fac,providedIn:"root"}),k})();const m=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function b(){if(_)return _;if("object"!=typeof document||!document)return _=new Set(m),_;let O=document.createElement("input");return _=new Set(m.filter(k=>(O.setAttribute("type",k),O.type===k))),_}let p,u,E,B;function a(O){return function D(){if(null==p&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>p=!0}))}finally{p=p||!1}return p}()?O:!!O.capture}function T(){if(null==E){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return E=!1,E;if("scrollBehavior"in document.documentElement.style)E=!0;else{const O=Element.prototype.scrollTo;E=!!O&&!/\{\s*\[native code\]\s*\}/.test(O.toString())}}return E}function M(){if("object"!=typeof document||!document)return 0;if(null==u){const O=document.createElement("div"),k=O.style;O.dir="rtl",k.width="1px",k.overflow="auto",k.visibility="hidden",k.pointerEvents="none",k.position="absolute";const I=document.createElement("div"),F=I.style;F.width="2px",F.height="1px",O.appendChild(I),document.body.appendChild(O),u=0,0===O.scrollLeft&&(O.scrollLeft=1,u=0===O.scrollLeft?1:2),O.remove()}return u}function W(O){if(function N(){if(null==B){const O=typeof document<"u"?document.head:null;B=!(!O||!O.createShadowRoot&&!O.attachShadow)}return B}()){const k=O.getRootNode?O.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&k instanceof ShadowRoot)return k}return null}function A(){let O=typeof document<"u"&&document?document.activeElement:null;for(;O&&O.shadowRoot;){const k=O.shadowRoot.activeElement;if(k===O)break;O=k}return O}function X(O){return O.composedPath?O.composedPath()[0]:O.target}function U(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}},20860:(_e,R,r)=>{"use strict";r.d(R,{C5:()=>D,Pl:()=>A,UE:()=>a,eL:()=>U,en:()=>E,ig:()=>N,u0:()=>M});var n=r(77533),s=r(14565);class p{attach(I){return this._attachedHost=I,I.attach(this)}detach(){let I=this._attachedHost;null!=I&&(this._attachedHost=null,I.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(I){this._attachedHost=I}}class D extends p{constructor(I,F,P,H,$){super(),this.component=I,this.viewContainerRef=F,this.injector=P,this.componentFactoryResolver=H,this.projectableNodes=$}}class a extends p{constructor(I,F,P,H){super(),this.templateRef=I,this.viewContainerRef=F,this.context=P,this.injector=H}get origin(){return this.templateRef.elementRef}attach(I,F=this.context){return this.context=F,super.attach(I)}detach(){return this.context=void 0,super.detach()}}class u extends p{constructor(I){super(),this.element=I instanceof n.SBq?I.nativeElement:I}}class E{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(I){return I instanceof D?(this._attachedPortal=I,this.attachComponentPortal(I)):I instanceof a?(this._attachedPortal=I,this.attachTemplatePortal(I)):this.attachDomPortal&&I instanceof u?(this._attachedPortal=I,this.attachDomPortal(I)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(I){this._disposeFn=I}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class M extends E{constructor(I,F,P,H,$){super(),this.outletElement=I,this._componentFactoryResolver=F,this._appRef=P,this._defaultInjector=H,this.attachDomPortal=J=>{const V=J.element,le=this._document.createComment("dom-portal");V.parentNode.insertBefore(le,V),this.outletElement.appendChild(V),this._attachedPortal=J,super.setDisposeFn(()=>{le.parentNode&&le.parentNode.replaceChild(V,le)})},this._document=$}attachComponentPortal(I){const P=(I.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(I.component);let H;return I.viewContainerRef?(H=I.viewContainerRef.createComponent(P,I.viewContainerRef.length,I.injector||I.viewContainerRef.injector,I.projectableNodes||void 0),this.setDisposeFn(()=>H.destroy())):(H=P.create(I.injector||this._defaultInjector||n.zs3.NULL),this._appRef.attachView(H.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(H.hostView),H.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(H)),this._attachedPortal=I,H}attachTemplatePortal(I){let F=I.viewContainerRef,P=F.createEmbeddedView(I.templateRef,I.context,{injector:I.injector});return P.rootNodes.forEach(H=>this.outletElement.appendChild(H)),P.detectChanges(),this.setDisposeFn(()=>{let H=F.indexOf(P);-1!==H&&F.remove(H)}),this._attachedPortal=I,P}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(I){return I.hostView.rootNodes[0]}}let N=(()=>{var k;class I extends a{constructor(P,H){super(P,H)}}return(k=I).\u0275fac=function(P){return new(P||k)(n.Y36(n.Rgc),n.Y36(n.s_b))},k.\u0275dir=n.lG2({type:k,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[n.qOj]}),I})(),A=(()=>{var k;class I extends E{constructor(P,H,$){super(),this._componentFactoryResolver=P,this._viewContainerRef=H,this._isInitialized=!1,this.attached=new n.vpe,this.attachDomPortal=J=>{const V=J.element,le=this._document.createComment("dom-portal");J.setAttachedHost(this),V.parentNode.insertBefore(le,V),this._getRootNode().appendChild(V),this._attachedPortal=J,super.setDisposeFn(()=>{le.parentNode&&le.parentNode.replaceChild(V,le)})},this._document=$}get portal(){return this._attachedPortal}set portal(P){this.hasAttached()&&!P&&!this._isInitialized||(this.hasAttached()&&super.detach(),P&&super.attach(P),this._attachedPortal=P||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(P){P.setAttachedHost(this);const H=null!=P.viewContainerRef?P.viewContainerRef:this._viewContainerRef,J=(P.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(P.component),V=H.createComponent(J,H.length,P.injector||H.injector,P.projectableNodes||void 0);return H!==this._viewContainerRef&&this._getRootNode().appendChild(V.hostView.rootNodes[0]),super.setDisposeFn(()=>V.destroy()),this._attachedPortal=P,this._attachedRef=V,this.attached.emit(V),V}attachTemplatePortal(P){P.setAttachedHost(this);const H=this._viewContainerRef.createEmbeddedView(P.templateRef,P.context,{injector:P.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=P,this._attachedRef=H,this.attached.emit(H),H}_getRootNode(){const P=this._viewContainerRef.element.nativeElement;return P.nodeType===P.ELEMENT_NODE?P:P.parentNode}}return(k=I).\u0275fac=function(P){return new(P||k)(n.Y36(n._Vd),n.Y36(n.s_b),n.Y36(s.DOCUMENT))},k.\u0275dir=n.lG2({type:k,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[n.qOj]}),I})(),U=(()=>{var k;class I{}return(k=I).\u0275fac=function(P){return new(P||k)},k.\u0275mod=n.oAB({type:k}),k.\u0275inj=n.cJS({}),I})()},50980:(_e,R,r)=>{"use strict";r.d(R,{Cl:()=>ee,PQ:()=>k,ZD:()=>Te,mF:()=>O,rL:()=>F});var n=r(85572),s=r(77533),c=r(9739),h=r(12494),v=r(58764),_=r(4807),p=(r(57231),r(46932),r(38924)),D=r(36305),a=r(25167),u=r(44798),E=r(14565),T=r(83894);let O=(()=>{var Q;class me{constructor(se,Me,ct){this._ngZone=se,this._platform=Me,this._scrolled=new c.x,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=ct}register(se){this.scrollContainers.has(se)||this.scrollContainers.set(se,se.elementScrolled().subscribe(()=>this._scrolled.next(se)))}deregister(se){const Me=this.scrollContainers.get(se);Me&&(Me.unsubscribe(),this.scrollContainers.delete(se))}scrolled(se=20){return this._platform.isBrowser?new v.y(Me=>{this._globalSubscription||this._addGlobalListener();const ct=se>0?this._scrolled.pipe((0,p.e)(se)).subscribe(Me):this._scrolled.subscribe(Me);return this._scrolledCount++,()=>{ct.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,h.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((se,Me)=>this.deregister(Me)),this._scrolled.complete()}ancestorScrolled(se,Me){const ct=this.getAncestorScrollContainers(se);return this.scrolled(Me).pipe((0,D.h)(vt=>!vt||ct.indexOf(vt)>-1))}getAncestorScrollContainers(se){const Me=[];return this.scrollContainers.forEach((ct,vt)=>{this._scrollableContainsElement(vt,se)&&Me.push(vt)}),Me}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(se,Me){let ct=(0,n.fI)(Me),vt=se.getElementRef().nativeElement;do{if(ct==vt)return!0}while(ct=ct.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const se=this._getWindow();return(0,_.R)(se.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return(Q=me).\u0275fac=function(se){return new(se||Q)(s.LFG(s.R0b),s.LFG(u.t4),s.LFG(E.DOCUMENT,8))},Q.\u0275prov=s.Yz7({token:Q,factory:Q.\u0275fac,providedIn:"root"}),me})(),k=(()=>{var Q;class me{constructor(se,Me,ct,vt){this.elementRef=se,this.scrollDispatcher=Me,this.ngZone=ct,this.dir=vt,this._destroyed=new c.x,this._elementScrolled=new v.y(Pt=>this.ngZone.runOutsideAngular(()=>(0,_.R)(this.elementRef.nativeElement,"scroll").pipe((0,a.R)(this._destroyed)).subscribe(Pt)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(se){const Me=this.elementRef.nativeElement,ct=this.dir&&"rtl"==this.dir.value;null==se.left&&(se.left=ct?se.end:se.start),null==se.right&&(se.right=ct?se.start:se.end),null!=se.bottom&&(se.top=Me.scrollHeight-Me.clientHeight-se.bottom),ct&&0!=(0,u._i)()?(null!=se.left&&(se.right=Me.scrollWidth-Me.clientWidth-se.left),2==(0,u._i)()?se.left=se.right:1==(0,u._i)()&&(se.left=se.right?-se.right:se.right)):null!=se.right&&(se.left=Me.scrollWidth-Me.clientWidth-se.right),this._applyScrollToOptions(se)}_applyScrollToOptions(se){const Me=this.elementRef.nativeElement;(0,u.Mq)()?Me.scrollTo(se):(null!=se.top&&(Me.scrollTop=se.top),null!=se.left&&(Me.scrollLeft=se.left))}measureScrollOffset(se){const Me="left",vt=this.elementRef.nativeElement;if("top"==se)return vt.scrollTop;if("bottom"==se)return vt.scrollHeight-vt.clientHeight-vt.scrollTop;const Pt=this.dir&&"rtl"==this.dir.value;return"start"==se?se=Pt?"right":Me:"end"==se&&(se=Pt?Me:"right"),Pt&&2==(0,u._i)()?se==Me?vt.scrollWidth-vt.clientWidth-vt.scrollLeft:vt.scrollLeft:Pt&&1==(0,u._i)()?se==Me?vt.scrollLeft+vt.scrollWidth-vt.clientWidth:-vt.scrollLeft:se==Me?vt.scrollLeft:vt.scrollWidth-vt.clientWidth-vt.scrollLeft}}return(Q=me).\u0275fac=function(se){return new(se||Q)(s.Y36(s.SBq),s.Y36(O),s.Y36(s.R0b),s.Y36(T.Is,8))},Q.\u0275dir=s.lG2({type:Q,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]],standalone:!0}),me})(),F=(()=>{var Q;class me{constructor(se,Me,ct){this._platform=se,this._change=new c.x,this._changeListener=vt=>{this._change.next(vt)},this._document=ct,Me.runOutsideAngular(()=>{if(se.isBrowser){const vt=this._getWindow();vt.addEventListener("resize",this._changeListener),vt.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const se=this._getWindow();se.removeEventListener("resize",this._changeListener),se.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const se={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),se}getViewportRect(){const se=this.getViewportScrollPosition(),{width:Me,height:ct}=this.getViewportSize();return{top:se.top,left:se.left,bottom:se.top+ct,right:se.left+Me,height:ct,width:Me}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const se=this._document,Me=this._getWindow(),ct=se.documentElement,vt=ct.getBoundingClientRect();return{top:-vt.top||se.body.scrollTop||Me.scrollY||ct.scrollTop||0,left:-vt.left||se.body.scrollLeft||Me.scrollX||ct.scrollLeft||0}}change(se=20){return se>0?this._change.pipe((0,p.e)(se)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const se=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:se.innerWidth,height:se.innerHeight}:{width:0,height:0}}}return(Q=me).\u0275fac=function(se){return new(se||Q)(s.LFG(u.t4),s.LFG(s.R0b),s.LFG(E.DOCUMENT,8))},Q.\u0275prov=s.Yz7({token:Q,factory:Q.\u0275fac,providedIn:"root"}),me})(),Te=(()=>{var Q;class me{}return(Q=me).\u0275fac=function(se){return new(se||Q)},Q.\u0275mod=s.oAB({type:Q}),Q.\u0275inj=s.cJS({}),me})(),ee=(()=>{var Q;class me{}return(Q=me).\u0275fac=function(se){return new(se||Q)},Q.\u0275mod=s.oAB({type:Q}),Q.\u0275inj=s.cJS({imports:[T.vT,Te,T.vT,Te]}),me})()},14565:(_e,R,r)=>{"use strict";r.r(R),r.d(R,{APP_BASE_HREF:()=>T,AsyncPipe:()=>bt,BrowserPlatformLocation:()=>p,CommonModule:()=>Hr,CurrencyPipe:()=>Kr,DATE_PIPE_DEFAULT_OPTIONS:()=>Gn,DATE_PIPE_DEFAULT_TIMEZONE:()=>qn,DOCUMENT:()=>_,DatePipe:()=>Ee,DecimalPipe:()=>jr,FormStyle:()=>F,FormatWidth:()=>H,HashLocationStrategy:()=>B,I18nPluralPipe:()=>nn,I18nSelectPipe:()=>vn,IMAGE_CONFIG:()=>n.Z4K,IMAGE_LOADER:()=>Fi,JsonPipe:()=>jn,KeyValuePipe:()=>Qn,LOCATION_INITIALIZED:()=>b,Location:()=>N,LocationStrategy:()=>E,LowerCasePipe:()=>Ot,NgClass:()=>Vt,NgComponentOutlet:()=>Bt,NgFor:()=>Lt,NgForOf:()=>Lt,NgForOfContext:()=>Qt,NgIf:()=>Vn,NgIfContext:()=>Rn,NgLocaleLocalization:()=>Lr,NgLocalization:()=>Sr,NgOptimizedImage:()=>vo,NgPlural:()=>hr,NgPluralCase:()=>Mr,NgStyle:()=>It,NgSwitch:()=>_n,NgSwitchCase:()=>zn,NgSwitchDefault:()=>dr,NgTemplateOutlet:()=>ln,NumberFormatStyle:()=>k,NumberSymbol:()=>$,PRECONNECT_CHECK_BLOCKLIST:()=>Ie,PathLocationStrategy:()=>M,PercentPipe:()=>no,PlatformLocation:()=>m,Plural:()=>I,SlicePipe:()=>Xr,TitleCasePipe:()=>Gt,TranslationWidth:()=>P,UpperCasePipe:()=>en,VERSION:()=>Bo,ViewportScroller:()=>Wi,WeekDay:()=>J,XhrFactory:()=>ri,formatCurrency:()=>Jn,formatDate:()=>Ye,formatNumber:()=>or,formatPercent:()=>er,getCurrencySymbol:()=>Je,getLocaleCurrencyCode:()=>Pt,getLocaleCurrencyName:()=>vt,getLocaleCurrencySymbol:()=>ct,getLocaleDateFormat:()=>Q,getLocaleDateTimeFormat:()=>pe,getLocaleDayNames:()=>ge,getLocaleDayPeriods:()=>le,getLocaleDirection:()=>ae,getLocaleEraNames:()=>We,getLocaleExtraDayPeriodRules:()=>ne,getLocaleExtraDayPeriods:()=>y,getLocaleFirstDayOfWeek:()=>Te,getLocaleId:()=>V,getLocaleMonthNames:()=>te,getLocaleNumberFormat:()=>Me,getLocaleNumberSymbol:()=>se,getLocalePluralCase:()=>tt,getLocaleTimeFormat:()=>me,getLocaleWeekEndRange:()=>ee,getNumberOfCurrencyDigits:()=>gt,isPlatformBrowser:()=>Hi,isPlatformServer:()=>ci,isPlatformWorkerApp:()=>Gi,isPlatformWorkerUi:()=>ho,provideCloudflareLoader:()=>io,provideCloudinaryLoader:()=>he,provideImageKitLoader:()=>pt,provideImgixLoader:()=>Nn,registerLocaleData:()=>_t,\u0275DomAdapter:()=>v,\u0275NullViewportScroller:()=>Gr,\u0275PLATFORM_BROWSER_ID:()=>Kn,\u0275PLATFORM_SERVER_ID:()=>Ri,\u0275PLATFORM_WORKER_APP_ID:()=>yi,\u0275PLATFORM_WORKER_UI_ID:()=>xi,\u0275getDOM:()=>c,\u0275normalizeQueryParams:()=>u,\u0275parseCookieValue:()=>et,\u0275setRootDomAdapter:()=>h});var n=r(77533);let s=null;function c(){return s}function h(f){s||(s=f)}class v{}const _=new n.OlP("DocumentToken");let m=(()=>{var f;class C{historyGo(g){throw new Error("Not implemented")}}return(f=C).\u0275fac=function(g){return new(g||f)},f.\u0275prov=n.Yz7({token:f,factory:()=>(0,n.f3M)(p),providedIn:"platform"}),C})();const b=new n.OlP("Location Initialized");let p=(()=>{var f;class C extends m{constructor(){super(),this._doc=(0,n.f3M)(_),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return c().getBaseHref(this._doc)}onPopState(g){const z=c().getGlobalEventTarget(this._doc,"window");return z.addEventListener("popstate",g,!1),()=>z.removeEventListener("popstate",g)}onHashChange(g){const z=c().getGlobalEventTarget(this._doc,"window");return z.addEventListener("hashchange",g,!1),()=>z.removeEventListener("hashchange",g)}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(g){this._location.pathname=g}pushState(g,z,K){this._history.pushState(g,z,K)}replaceState(g,z,K){this._history.replaceState(g,z,K)}forward(){this._history.forward()}back(){this._history.back()}historyGo(g=0){this._history.go(g)}getState(){return this._history.state}}return(f=C).\u0275fac=function(g){return new(g||f)},f.\u0275prov=n.Yz7({token:f,factory:()=>new f,providedIn:"platform"}),C})();function D(f,C){if(0==f.length)return C;if(0==C.length)return f;let L=0;return f.endsWith("/")&&L++,C.startsWith("/")&&L++,2==L?f+C.substring(1):1==L?f+C:f+"/"+C}function a(f){const C=f.match(/#|\?|$/),L=C&&C.index||f.length;return f.slice(0,L-("/"===f[L-1]?1:0))+f.slice(L)}function u(f){return f&&"?"!==f[0]?"?"+f:f}let E=(()=>{var f;class C{historyGo(g){throw new Error("Not implemented")}}return(f=C).\u0275fac=function(g){return new(g||f)},f.\u0275prov=n.Yz7({token:f,factory:()=>(0,n.f3M)(M),providedIn:"root"}),C})();const T=new n.OlP("appBaseHref");let M=(()=>{var f;class C extends E{constructor(g,z){super(),this._platformLocation=g,this._removeListenerFns=[],this._baseHref=z??this._platformLocation.getBaseHrefFromDOM()??(0,n.f3M)(_).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(g){this._removeListenerFns.push(this._platformLocation.onPopState(g),this._platformLocation.onHashChange(g))}getBaseHref(){return this._baseHref}prepareExternalUrl(g){return D(this._baseHref,g)}path(g=!1){const z=this._platformLocation.pathname+u(this._platformLocation.search),K=this._platformLocation.hash;return K&&g?`${z}${K}`:z}pushState(g,z,K,nt){const yt=this.prepareExternalUrl(K+u(nt));this._platformLocation.pushState(g,z,yt)}replaceState(g,z,K,nt){const yt=this.prepareExternalUrl(K+u(nt));this._platformLocation.replaceState(g,z,yt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(g=0){this._platformLocation.historyGo?.(g)}}return(f=C).\u0275fac=function(g){return new(g||f)(n.LFG(m),n.LFG(T,8))},f.\u0275prov=n.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"}),C})(),B=(()=>{var f;class C extends E{constructor(g,z){super(),this._platformLocation=g,this._baseHref="",this._removeListenerFns=[],null!=z&&(this._baseHref=z)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(g){this._removeListenerFns.push(this._platformLocation.onPopState(g),this._platformLocation.onHashChange(g))}getBaseHref(){return this._baseHref}path(g=!1){let z=this._platformLocation.hash;return null==z&&(z="#"),z.length>0?z.substring(1):z}prepareExternalUrl(g){const z=D(this._baseHref,g);return z.length>0?"#"+z:z}pushState(g,z,K,nt){let yt=this.prepareExternalUrl(K+u(nt));0==yt.length&&(yt=this._platformLocation.pathname),this._platformLocation.pushState(g,z,yt)}replaceState(g,z,K,nt){let yt=this.prepareExternalUrl(K+u(nt));0==yt.length&&(yt=this._platformLocation.pathname),this._platformLocation.replaceState(g,z,yt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(g=0){this._platformLocation.historyGo?.(g)}}return(f=C).\u0275fac=function(g){return new(g||f)(n.LFG(m),n.LFG(T,8))},f.\u0275prov=n.Yz7({token:f,factory:f.\u0275fac}),C})(),N=(()=>{var f;class C{constructor(g){this._subject=new n.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=g;const z=this._locationStrategy.getBaseHref();this._basePath=function U(f){if(new RegExp("^(https?:)?//").test(f)){const[,L]=f.split(/\/\/[^\/]+/);return L}return f}(a(X(z))),this._locationStrategy.onPopState(K=>{this._subject.emit({url:this.path(!0),pop:!0,state:K.state,type:K.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(g=!1){return this.normalize(this._locationStrategy.path(g))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(g,z=""){return this.path()==this.normalize(g+u(z))}normalize(g){return C.stripTrailingSlash(function A(f,C){if(!f||!C.startsWith(f))return C;const L=C.substring(f.length);return""===L||["/",";","?","#"].includes(L[0])?L:C}(this._basePath,X(g)))}prepareExternalUrl(g){return g&&"/"!==g[0]&&(g="/"+g),this._locationStrategy.prepareExternalUrl(g)}go(g,z="",K=null){this._locationStrategy.pushState(K,"",g,z),this._notifyUrlChangeListeners(this.prepareExternalUrl(g+u(z)),K)}replaceState(g,z="",K=null){this._locationStrategy.replaceState(K,"",g,z),this._notifyUrlChangeListeners(this.prepareExternalUrl(g+u(z)),K)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(g=0){this._locationStrategy.historyGo?.(g)}onUrlChange(g){return this._urlChangeListeners.push(g),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(z=>{this._notifyUrlChangeListeners(z.url,z.state)})),()=>{const z=this._urlChangeListeners.indexOf(g);this._urlChangeListeners.splice(z,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(g="",z){this._urlChangeListeners.forEach(K=>K(g,z))}subscribe(g,z,K){return this._subject.subscribe({next:g,error:z,complete:K})}}return(f=C).normalizeQueryParams=u,f.joinWithSlash=D,f.stripTrailingSlash=a,f.\u0275fac=function(g){return new(g||f)(n.LFG(E))},f.\u0275prov=n.Yz7({token:f,factory:()=>function W(){return new N((0,n.LFG)(E))}(),providedIn:"root"}),C})();function X(f){return f.replace(/\/index.html$/,"")}const O={ADP:[void 0,void 0,0],AFN:[void 0,"\u060b",0],ALL:[void 0,void 0,0],AMD:[void 0,"\u058f",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"\u20bc"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09f3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,void 0,2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xa5","\xa5"],COP:[void 0,"$",2],CRC:[void 0,"\u20a1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010d",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xa3"],ESP:[void 0,"\u20a7",0],EUR:["\u20ac"],FJD:[void 0,"$"],FKP:[void 0,"\xa3"],GBP:["\xa3"],GEL:[void 0,"\u20be"],GHS:[void 0,"GH\u20b5"],GIP:[void 0,"\xa3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20aa"],INR:["\u20b9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xa5",void 0,0],KHR:[void 0,"\u17db"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20a9",0],KRW:["\u20a9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20b8"],LAK:[void 0,"\u20ad",0],LBP:[void 0,"L\xa3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20ae",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20a6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["\u20b1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20b2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20bd"],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xa3"],SLE:[void 0,void 0,2],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xa3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xa3",0],THB:[void 0,"\u0e3f"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20ba"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20b4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20ab",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["F\u202fCFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xa4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]};var k=function(f){return f[f.Decimal=0]="Decimal",f[f.Percent=1]="Percent",f[f.Currency=2]="Currency",f[f.Scientific=3]="Scientific",f}(k||{}),I=function(f){return f[f.Zero=0]="Zero",f[f.One=1]="One",f[f.Two=2]="Two",f[f.Few=3]="Few",f[f.Many=4]="Many",f[f.Other=5]="Other",f}(I||{}),F=function(f){return f[f.Format=0]="Format",f[f.Standalone=1]="Standalone",f}(F||{}),P=function(f){return f[f.Narrow=0]="Narrow",f[f.Abbreviated=1]="Abbreviated",f[f.Wide=2]="Wide",f[f.Short=3]="Short",f}(P||{}),H=function(f){return f[f.Short=0]="Short",f[f.Medium=1]="Medium",f[f.Long=2]="Long",f[f.Full=3]="Full",f}(H||{}),$=function(f){return f[f.Decimal=0]="Decimal",f[f.Group=1]="Group",f[f.List=2]="List",f[f.PercentSign=3]="PercentSign",f[f.PlusSign=4]="PlusSign",f[f.MinusSign=5]="MinusSign",f[f.Exponential=6]="Exponential",f[f.SuperscriptingExponent=7]="SuperscriptingExponent",f[f.PerMille=8]="PerMille",f[f.Infinity=9]="Infinity",f[f.NaN=10]="NaN",f[f.TimeSeparator=11]="TimeSeparator",f[f.CurrencyDecimal=12]="CurrencyDecimal",f[f.CurrencyGroup=13]="CurrencyGroup",f}($||{}),J=function(f){return f[f.Sunday=0]="Sunday",f[f.Monday=1]="Monday",f[f.Tuesday=2]="Tuesday",f[f.Wednesday=3]="Wednesday",f[f.Thursday=4]="Thursday",f[f.Friday=5]="Friday",f[f.Saturday=6]="Saturday",f}(J||{});function V(f){return(0,n.cg1)(f)[n.wAp.LocaleId]}function le(f,C,L){const g=(0,n.cg1)(f),K=w([g[n.wAp.DayPeriodsFormat],g[n.wAp.DayPeriodsStandalone]],C);return w(K,L)}function ge(f,C,L){const g=(0,n.cg1)(f),K=w([g[n.wAp.DaysFormat],g[n.wAp.DaysStandalone]],C);return w(K,L)}function te(f,C,L){const g=(0,n.cg1)(f),K=w([g[n.wAp.MonthsFormat],g[n.wAp.MonthsStandalone]],C);return w(K,L)}function We(f,C){return w((0,n.cg1)(f)[n.wAp.Eras],C)}function Te(f){return(0,n.cg1)(f)[n.wAp.FirstDayOfWeek]}function ee(f){return(0,n.cg1)(f)[n.wAp.WeekendRange]}function Q(f,C){return w((0,n.cg1)(f)[n.wAp.DateFormat],C)}function me(f,C){return w((0,n.cg1)(f)[n.wAp.TimeFormat],C)}function pe(f,C){return w((0,n.cg1)(f)[n.wAp.DateTimeFormat],C)}function se(f,C){const L=(0,n.cg1)(f),g=L[n.wAp.NumberSymbols][C];if(typeof g>"u"){if(C===$.CurrencyDecimal)return L[n.wAp.NumberSymbols][$.Decimal];if(C===$.CurrencyGroup)return L[n.wAp.NumberSymbols][$.Group]}return g}function Me(f,C){return(0,n.cg1)(f)[n.wAp.NumberFormats][C]}function ct(f){return(0,n.cg1)(f)[n.wAp.CurrencySymbol]||null}function vt(f){return(0,n.cg1)(f)[n.wAp.CurrencyName]||null}function Pt(f){return(0,n.kOj)(f)}const tt=n.kL8;function ut(f){if(!f[n.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${f[n.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function ne(f){const C=(0,n.cg1)(f);return ut(C),(C[n.wAp.ExtraData][2]||[]).map(g=>"string"==typeof g?Fe(g):[Fe(g[0]),Fe(g[1])])}function y(f,C,L){const g=(0,n.cg1)(f);ut(g);const K=w([g[n.wAp.ExtraData][0],g[n.wAp.ExtraData][1]],C)||[];return w(K,L)||[]}function ae(f){return(0,n.cg1)(f)[n.wAp.Directionality]}function w(f,C){for(let L=C;L>-1;L--)if(typeof f[L]<"u")return f[L];throw new Error("Locale data API: locale data undefined")}function Fe(f){const[C,L]=f.split(":");return{hours:+C,minutes:+L}}function Je(f,C,L="en"){const g=function lt(f){return(0,n.cg1)(f)[n.wAp.Currencies]}(L)[f]||O[f]||[],z=g[1];return"narrow"===C&&"string"==typeof z?z:g[0]||f}const St=2;function gt(f){let C;const L=O[f];return L&&(C=L[2]),"number"==typeof C?C:St}const Wt=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,ft={},ye=/((?:[^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 st=function(f){return f[f.Short=0]="Short",f[f.ShortGMT=1]="ShortGMT",f[f.Long=2]="Long",f[f.Extended=3]="Extended",f}(st||{}),we=function(f){return f[f.FullYear=0]="FullYear",f[f.Month=1]="Month",f[f.Date=2]="Date",f[f.Hours=3]="Hours",f[f.Minutes=4]="Minutes",f[f.Seconds=5]="Seconds",f[f.FractionalSeconds=6]="FractionalSeconds",f[f.Day=7]="Day",f}(we||{}),$e=function(f){return f[f.DayPeriods=0]="DayPeriods",f[f.Days=1]="Days",f[f.Months=2]="Months",f[f.Eras=3]="Eras",f}($e||{});function Ye(f,C,L,g){let z=function De(f){if(He(f))return f;if("number"==typeof f&&!isNaN(f))return new Date(f);if("string"==typeof f){if(f=f.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(f)){const[z,K=1,nt=1]=f.split("-").map(yt=>+yt);return At(z,K-1,nt)}const L=parseFloat(f);if(!isNaN(f-L))return new Date(L);let g;if(g=f.match(Wt))return function fe(f){const C=new Date(0);let L=0,g=0;const z=f[8]?C.setUTCFullYear:C.setFullYear,K=f[8]?C.setUTCHours:C.setHours;f[9]&&(L=Number(f[9]+f[10]),g=Number(f[9]+f[11])),z.call(C,Number(f[1]),Number(f[2])-1,Number(f[3]));const nt=Number(f[4]||0)-L,yt=Number(f[5]||0)-g,zt=Number(f[6]||0),cn=Math.floor(1e3*parseFloat("0."+(f[7]||0)));return K.call(C,nt,yt,zt,cn),C}(g)}const C=new Date(f);if(!He(C))throw new Error(`Unable to convert "${f}" into a date`);return C}(f);C=qe(L,C)||C;let yt,nt=[];for(;C;){if(yt=ye.exec(C),!yt){nt.push(C);break}{nt=nt.concat(yt.slice(1));const yn=nt.pop();if(!yn)break;C=yn}}let zt=z.getTimezoneOffset();g&&(zt=Ge(g,zt),z=function Ue(f,C,L){const g=L?-1:1,z=f.getTimezoneOffset();return function Pe(f,C){return(f=new Date(f.getTime())).setMinutes(f.getMinutes()+C),f}(f,g*(Ge(C,z)-z))}(z,g,!0));let cn="";return nt.forEach(yn=>{const Cn=function Ze(f){if(Oe[f])return Oe[f];let C;switch(f){case"G":case"GG":case"GGG":C=Ke($e.Eras,P.Abbreviated);break;case"GGGG":C=Ke($e.Eras,P.Wide);break;case"GGGGG":C=Ke($e.Eras,P.Narrow);break;case"y":C=wt(we.FullYear,1,0,!1,!0);break;case"yy":C=wt(we.FullYear,2,0,!0,!0);break;case"yyy":C=wt(we.FullYear,3,0,!1,!0);break;case"yyyy":C=wt(we.FullYear,4,0,!1,!0);break;case"Y":C=Ve(1);break;case"YY":C=Ve(2,!0);break;case"YYY":C=Ve(3);break;case"YYYY":C=Ve(4);break;case"M":case"L":C=wt(we.Month,1,1);break;case"MM":case"LL":C=wt(we.Month,2,1);break;case"MMM":C=Ke($e.Months,P.Abbreviated);break;case"MMMM":C=Ke($e.Months,P.Wide);break;case"MMMMM":C=Ke($e.Months,P.Narrow);break;case"LLL":C=Ke($e.Months,P.Abbreviated,F.Standalone);break;case"LLLL":C=Ke($e.Months,P.Wide,F.Standalone);break;case"LLLLL":C=Ke($e.Months,P.Narrow,F.Standalone);break;case"w":C=ot(1);break;case"ww":C=ot(2);break;case"W":C=ot(1,!0);break;case"d":C=wt(we.Date,1);break;case"dd":C=wt(we.Date,2);break;case"c":case"cc":C=wt(we.Day,1);break;case"ccc":C=Ke($e.Days,P.Abbreviated,F.Standalone);break;case"cccc":C=Ke($e.Days,P.Wide,F.Standalone);break;case"ccccc":C=Ke($e.Days,P.Narrow,F.Standalone);break;case"cccccc":C=Ke($e.Days,P.Short,F.Standalone);break;case"E":case"EE":case"EEE":C=Ke($e.Days,P.Abbreviated);break;case"EEEE":C=Ke($e.Days,P.Wide);break;case"EEEEE":C=Ke($e.Days,P.Narrow);break;case"EEEEEE":C=Ke($e.Days,P.Short);break;case"a":case"aa":case"aaa":C=Ke($e.DayPeriods,P.Abbreviated);break;case"aaaa":C=Ke($e.DayPeriods,P.Wide);break;case"aaaaa":C=Ke($e.DayPeriods,P.Narrow);break;case"b":case"bb":case"bbb":C=Ke($e.DayPeriods,P.Abbreviated,F.Standalone,!0);break;case"bbbb":C=Ke($e.DayPeriods,P.Wide,F.Standalone,!0);break;case"bbbbb":C=Ke($e.DayPeriods,P.Narrow,F.Standalone,!0);break;case"B":case"BB":case"BBB":C=Ke($e.DayPeriods,P.Abbreviated,F.Format,!0);break;case"BBBB":C=Ke($e.DayPeriods,P.Wide,F.Format,!0);break;case"BBBBB":C=Ke($e.DayPeriods,P.Narrow,F.Format,!0);break;case"h":C=wt(we.Hours,1,-12);break;case"hh":C=wt(we.Hours,2,-12);break;case"H":C=wt(we.Hours,1);break;case"HH":C=wt(we.Hours,2);break;case"m":C=wt(we.Minutes,1);break;case"mm":C=wt(we.Minutes,2);break;case"s":C=wt(we.Seconds,1);break;case"ss":C=wt(we.Seconds,2);break;case"S":C=wt(we.FractionalSeconds,1);break;case"SS":C=wt(we.FractionalSeconds,2);break;case"SSS":C=wt(we.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":C=Rt(st.Short);break;case"ZZZZZ":C=Rt(st.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":C=Rt(st.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":C=Rt(st.Long);break;default:return null}return Oe[f]=C,C}(yn);cn+=Cn?Cn(z,L,zt):"''"===yn?"'":yn.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),cn}function At(f,C,L){const g=new Date(0);return g.setFullYear(f,C,L),g.setHours(0,0,0),g}function qe(f,C){const L=V(f);if(ft[L]=ft[L]||{},ft[L][C])return ft[L][C];let g="";switch(C){case"shortDate":g=Q(f,H.Short);break;case"mediumDate":g=Q(f,H.Medium);break;case"longDate":g=Q(f,H.Long);break;case"fullDate":g=Q(f,H.Full);break;case"shortTime":g=me(f,H.Short);break;case"mediumTime":g=me(f,H.Medium);break;case"longTime":g=me(f,H.Long);break;case"fullTime":g=me(f,H.Full);break;case"short":const z=qe(f,"shortTime"),K=qe(f,"shortDate");g=it(pe(f,H.Short),[z,K]);break;case"medium":const nt=qe(f,"mediumTime"),yt=qe(f,"mediumDate");g=it(pe(f,H.Medium),[nt,yt]);break;case"long":const zt=qe(f,"longTime"),cn=qe(f,"longDate");g=it(pe(f,H.Long),[zt,cn]);break;case"full":const yn=qe(f,"fullTime"),Cn=qe(f,"fullDate");g=it(pe(f,H.Full),[yn,Cn])}return g&&(ft[L][C]=g),g}function it(f,C){return C&&(f=f.replace(/\{([^}]+)}/g,function(L,g){return null!=C&&g in C?C[g]:L})),f}function Kt(f,C,L="-",g,z){let K="";(f<0||z&&f<=0)&&(z?f=1-f:(f=-f,K=L));let nt=String(f);for(;nt.length<C;)nt="0"+nt;return g&&(nt=nt.slice(nt.length-C)),K+nt}function wt(f,C,L=0,g=!1,z=!1){return function(K,nt){let yt=function rn(f,C){switch(f){case we.FullYear:return C.getFullYear();case we.Month:return C.getMonth();case we.Date:return C.getDate();case we.Hours:return C.getHours();case we.Minutes:return C.getMinutes();case we.Seconds:return C.getSeconds();case we.FractionalSeconds:return C.getMilliseconds();case we.Day:return C.getDay();default:throw new Error(`Unknown DateType value "${f}".`)}}(f,K);if((L>0||yt>-L)&&(yt+=L),f===we.Hours)0===yt&&-12===L&&(yt=12);else if(f===we.FractionalSeconds)return function Ut(f,C){return Kt(f,3).substring(0,C)}(yt,C);const zt=se(nt,$.MinusSign);return Kt(yt,C,zt,g,z)}}function Ke(f,C,L=F.Format,g=!1){return function(z,K){return function pn(f,C,L,g,z,K){switch(L){case $e.Months:return te(C,z,g)[f.getMonth()];case $e.Days:return ge(C,z,g)[f.getDay()];case $e.DayPeriods:const nt=f.getHours(),yt=f.getMinutes();if(K){const cn=ne(C),yn=y(C,z,g),Cn=cn.findIndex(Sn=>{if(Array.isArray(Sn)){const[On,$n]=Sn,mr=nt>=On.hours&&yt>=On.minutes,yr=nt<$n.hours||nt===$n.hours&&yt<$n.minutes;if(On.hours<$n.hours){if(mr&&yr)return!0}else if(mr||yr)return!0}else if(Sn.hours===nt&&Sn.minutes===yt)return!0;return!1});if(-1!==Cn)return yn[Cn]}return le(C,z,g)[nt<12?0:1];case $e.Eras:return We(C,g)[f.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${L}`)}}(z,K,f,C,L,g)}}function Rt(f){return function(C,L,g){const z=-1*g,K=se(L,$.MinusSign),nt=z>0?Math.floor(z/60):Math.ceil(z/60);switch(f){case st.Short:return(z>=0?"+":"")+Kt(nt,2,K)+Kt(Math.abs(z%60),2,K);case st.ShortGMT:return"GMT"+(z>=0?"+":"")+Kt(nt,1,K);case st.Long:return"GMT"+(z>=0?"+":"")+Kt(nt,2,K)+":"+Kt(Math.abs(z%60),2,K);case st.Extended:return 0===g?"Z":(z>=0?"+":"")+Kt(nt,2,K)+":"+Kt(Math.abs(z%60),2,K);default:throw new Error(`Unknown zone width "${f}"`)}}}const Xe=0,ve=4;function Re(f){return At(f.getFullYear(),f.getMonth(),f.getDate()+(ve-f.getDay()))}function ot(f,C=!1){return function(L,g){let z;if(C){const K=new Date(L.getFullYear(),L.getMonth(),1).getDay()-1,nt=L.getDate();z=1+Math.floor((nt+K)/7)}else{const K=Re(L),nt=function Ce(f){const C=At(f,Xe,1).getDay();return At(f,0,1+(C<=ve?ve:ve+7)-C)}(K.getFullYear()),yt=K.getTime()-nt.getTime();z=1+Math.round(yt/6048e5)}return Kt(z,f,se(g,$.MinusSign))}}function Ve(f,C=!1){return function(L,g){return Kt(Re(L).getFullYear(),f,se(g,$.MinusSign),C)}}const Oe={};function Ge(f,C){f=f.replace(/:/g,"");const L=Date.parse("Jan 01, 1970 00:00:00 "+f)/6e4;return isNaN(L)?C:L}function He(f){return f instanceof Date&&!isNaN(f.valueOf())}const xe=/^(\d+)?\.((\d+)(-(\d+))?)?$/,rt=22,xt=".",tn="0",sn=";",En=",",Un="#",nr="\xa4",Zn="%";function lr(f,C,L,g,z,K,nt=!1){let yt="",zt=!1;if(isFinite(f)){let cn=function Fr(f){let g,z,K,nt,yt,C=Math.abs(f)+"",L=0;for((z=C.indexOf(xt))>-1&&(C=C.replace(xt,"")),(K=C.search(/e/i))>0?(z<0&&(z=K),z+=+C.slice(K+1),C=C.substring(0,K)):z<0&&(z=C.length),K=0;C.charAt(K)===tn;K++);if(K===(yt=C.length))g=[0],z=1;else{for(yt--;C.charAt(yt)===tn;)yt--;for(z-=K,g=[],nt=0;K<=yt;K++,nt++)g[nt]=Number(C.charAt(K))}return z>rt&&(g=g.splice(0,rt-1),L=z-1,z=1),{digits:g,exponent:L,integerLen:z}}(f);nt&&(cn=function gn(f){if(0===f.digits[0])return f;const C=f.digits.length-f.integerLen;return f.exponent?f.exponent+=2:(0===C?f.digits.push(0,0):1===C&&f.digits.push(0),f.integerLen+=2),f}(cn));let yn=C.minInt,Cn=C.minFrac,Sn=C.maxFrac;if(K){const kr=K.match(xe);if(null===kr)throw new Error(`${K} is not a valid digit info`);const ii=kr[1],Jr=kr[3],Tr=kr[5];null!=ii&&(yn=Cr(ii)),null!=Jr&&(Cn=Cr(Jr)),null!=Tr?Sn=Cr(Tr):null!=Jr&&Cn>Sn&&(Sn=Cn)}!function Ar(f,C,L){if(C>L)throw new Error(`The minimum number of digits after fraction (${C}) is higher than the maximum (${L}).`);let g=f.digits,z=g.length-f.integerLen;const K=Math.min(Math.max(C,z),L);let nt=K+f.integerLen,yt=g[nt];if(nt>0){g.splice(Math.max(f.integerLen,nt));for(let Cn=nt;Cn<g.length;Cn++)g[Cn]=0}else{z=Math.max(0,z),f.integerLen=1,g.length=Math.max(1,nt=K+1),g[0]=0;for(let Cn=1;Cn<nt;Cn++)g[Cn]=0}if(yt>=5)if(nt-1<0){for(let Cn=0;Cn>nt;Cn--)g.unshift(0),f.integerLen++;g.unshift(1),f.integerLen++}else g[nt-1]++;for(;z<Math.max(0,K);z++)g.push(0);let zt=0!==K;const cn=C+f.integerLen,yn=g.reduceRight(function(Cn,Sn,On,$n){return $n[On]=(Sn+=Cn)<10?Sn:Sn-10,zt&&(0===$n[On]&&On>=cn?$n.pop():zt=!1),Sn>=10?1:0},0);yn&&(g.unshift(yn),f.integerLen++)}(cn,Cn,Sn);let On=cn.digits,$n=cn.integerLen;const mr=cn.exponent;let yr=[];for(zt=On.every(kr=>!kr);$n<yn;$n++)On.unshift(0);for(;$n<0;$n++)On.unshift(0);$n>0?yr=On.splice($n,On.length):(yr=On,On=[0]);const wr=[];for(On.length>=C.lgSize&&wr.unshift(On.splice(-C.lgSize,On.length).join(""));On.length>C.gSize;)wr.unshift(On.splice(-C.gSize,On.length).join(""));On.length&&wr.unshift(On.join("")),yt=wr.join(se(L,g)),yr.length&&(yt+=se(L,z)+yr.join("")),mr&&(yt+=se(L,$.Exponential)+"+"+mr)}else yt=se(L,$.Infinity);return yt=f<0&&!zt?C.negPre+yt+C.negSuf:C.posPre+yt+C.posSuf,yt}function Jn(f,C,L,g,z){const nt=Wn(Me(C,k.Currency),se(C,$.MinusSign));return nt.minFrac=gt(g),nt.maxFrac=nt.minFrac,lr(f,nt,C,$.CurrencyGroup,$.CurrencyDecimal,z).replace(nr,L).replace(nr,"").trim()}function er(f,C,L){return lr(f,Wn(Me(C,k.Percent),se(C,$.MinusSign)),C,$.Group,$.Decimal,L,!0).replace(new RegExp(Zn,"g"),se(C,$.PercentSign))}function or(f,C,L){return lr(f,Wn(Me(C,k.Decimal),se(C,$.MinusSign)),C,$.Group,$.Decimal,L)}function Wn(f,C="-"){const L={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},g=f.split(sn),z=g[0],K=g[1],nt=-1!==z.indexOf(xt)?z.split(xt):[z.substring(0,z.lastIndexOf(tn)+1),z.substring(z.lastIndexOf(tn)+1)],yt=nt[0],zt=nt[1]||"";L.posPre=yt.substring(0,yt.indexOf(Un));for(let yn=0;yn<zt.length;yn++){const Cn=zt.charAt(yn);Cn===tn?L.minFrac=L.maxFrac=yn+1:Cn===Un?L.maxFrac=yn+1:L.posSuf+=Cn}const cn=yt.split(En);if(L.gSize=cn[1]?cn[1].length:0,L.lgSize=cn[2]||cn[1]?(cn[2]||cn[1]).length:0,K){const yn=z.length-L.posPre.length-L.posSuf.length,Cn=K.indexOf(Un);L.negPre=K.substring(0,Cn).replace(/'/g,""),L.negSuf=K.slice(Cn+yn).replace(/'/g,"")}else L.negPre=C+L.posPre,L.negSuf=L.posSuf;return L}function Cr(f){const C=parseInt(f);if(isNaN(C))throw new Error("Invalid integer literal when parsing "+f);return C}let Sr=(()=>{var f;class C{}return(f=C).\u0275fac=function(g){return new(g||f)},f.\u0275prov=n.Yz7({token:f,factory:function(g){let z=null;return g?z=new g:(K=n.LFG(n.soG),z=new Lr(K)),z;var K},providedIn:"root"}),C})();function Mn(f,C,L,g){let z=`=${f}`;if(C.indexOf(z)>-1||(z=L.getPluralCategory(f,g),C.indexOf(z)>-1))return z;if(C.indexOf("other")>-1)return"other";throw new Error(`No plural message found for value "${f}"`)}let Lr=(()=>{var f;class C extends Sr{constructor(g){super(),this.locale=g}getPluralCategory(g,z){switch(tt(z||this.locale)(g)){case I.Zero:return"zero";case I.One:return"one";case I.Two:return"two";case I.Few:return"few";case I.Many:return"many";default:return"other"}}}return(f=C).\u0275fac=function(g){return new(g||f)(n.LFG(n.soG))},f.\u0275prov=n.Yz7({token:f,factory:f.\u0275fac}),C})();function _t(f,C,L){return(0,n.dwT)(f,C,L)}function et(f,C){C=encodeURIComponent(C);for(const L of f.split(";")){const g=L.indexOf("="),[z,K]=-1==g?[L,""]:[L.slice(0,g),L.slice(g+1)];if(z.trim()===C)return decodeURIComponent(K)}return null}const Mt=/\s+/,Ct=[];let Vt=(()=>{var f;class C{constructor(g,z,K,nt){this._iterableDiffers=g,this._keyValueDiffers=z,this._ngEl=K,this._renderer=nt,this.initialClasses=Ct,this.stateMap=new Map}set klass(g){this.initialClasses=null!=g?g.trim().split(Mt):Ct}set ngClass(g){this.rawClass="string"==typeof g?g.trim().split(Mt):g}ngDoCheck(){for(const z of this.initialClasses)this._updateState(z,!0);const g=this.rawClass;if(Array.isArray(g)||g instanceof Set)for(const z of g)this._updateState(z,!0);else if(null!=g)for(const z of Object.keys(g))this._updateState(z,!!g[z]);this._applyStateDiff()}_updateState(g,z){const K=this.stateMap.get(g);void 0!==K?(K.enabled!==z&&(K.changed=!0,K.enabled=z),K.touched=!0):this.stateMap.set(g,{enabled:z,changed:!0,touched:!0})}_applyStateDiff(){for(const g of this.stateMap){const z=g[0],K=g[1];K.changed?(this._toggleClass(z,K.enabled),K.changed=!1):K.touched||(K.enabled&&this._toggleClass(z,!1),this.stateMap.delete(z)),K.touched=!1}}_toggleClass(g,z){(g=g.trim()).length>0&&g.split(Mt).forEach(K=>{z?this._renderer.addClass(this._ngEl.nativeElement,K):this._renderer.removeClass(this._ngEl.nativeElement,K)})}}return(f=C).\u0275fac=function(g){return new(g||f)(n.Y36(n.ZZ4),n.Y36(n.aQg),n.Y36(n.SBq),n.Y36(n.Qsj))},f.\u0275dir=n.lG2({type:f,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),C})(),Bt=(()=>{var f;class C{constructor(g){this._viewContainerRef=g,this.ngComponentOutlet=null,this._inputsUsed=new Map}_needToReCreateNgModuleInstance(g){return void 0!==g.ngComponentOutletNgModule||void 0!==g.ngComponentOutletNgModuleFactory}_needToReCreateComponentInstance(g){return void 0!==g.ngComponentOutlet||void 0!==g.ngComponentOutletContent||void 0!==g.ngComponentOutletInjector||this._needToReCreateNgModuleInstance(g)}ngOnChanges(g){if(this._needToReCreateComponentInstance(g)&&(this._viewContainerRef.clear(),this._inputsUsed.clear(),this._componentRef=void 0,this.ngComponentOutlet)){const z=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;this._needToReCreateNgModuleInstance(g)&&(this._moduleRef?.destroy(),this._moduleRef=this.ngComponentOutletNgModule?(0,n.Lck)(this.ngComponentOutletNgModule,on(z)):this.ngComponentOutletNgModuleFactory?this.ngComponentOutletNgModuleFactory.create(on(z)):void 0),this._componentRef=this._viewContainerRef.createComponent(this.ngComponentOutlet,{injector:z,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent})}}ngDoCheck(){if(this._componentRef){if(this.ngComponentOutletInputs)for(const g of Object.keys(this.ngComponentOutletInputs))this._inputsUsed.set(g,!0);this._applyInputStateDiff(this._componentRef)}}ngOnDestroy(){this._moduleRef?.destroy()}_applyInputStateDiff(g){for(const[z,K]of this._inputsUsed)K?(g.setInput(z,this.ngComponentOutletInputs[z]),this._inputsUsed.set(z,!1)):(g.setInput(z,void 0),this._inputsUsed.delete(z))}}return(f=C).\u0275fac=function(g){return new(g||f)(n.Y36(n.s_b))},f.\u0275dir=n.lG2({type:f,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInputs:"ngComponentOutletInputs",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},standalone:!0,features:[n.TTD]}),C})();function on(f){return f.get(n.h0i).injector}class Qt{constructor(C,L,g,z){this.$implicit=C,this.ngForOf=L,this.index=g,this.count=z}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 Lt=(()=>{var f;class C{set ngForOf(g){this._ngForOf=g,this._ngForOfDirty=!0}set ngForTrackBy(g){this._trackByFn=g}get ngForTrackBy(){return this._trackByFn}constructor(g,z,K){this._viewContainer=g,this._template=z,this._differs=K,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(g){g&&(this._template=g)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const g=this._ngForOf;!this._differ&&g&&(this._differ=this._differs.find(g).create(this.ngForTrackBy))}if(this._differ){const g=this._differ.diff(this._ngForOf);g&&this._applyChanges(g)}}_applyChanges(g){const z=this._viewContainer;g.forEachOperation((K,nt,yt)=>{if(null==K.previousIndex)z.createEmbeddedView(this._template,new Qt(K.item,this._ngForOf,-1,-1),null===yt?void 0:yt);else if(null==yt)z.remove(null===nt?void 0:nt);else if(null!==nt){const zt=z.get(nt);z.move(zt,yt),mn(zt,K)}});for(let K=0,nt=z.length;K<nt;K++){const zt=z.get(K).context;zt.index=K,zt.count=nt,zt.ngForOf=this._ngForOf}g.forEachIdentityChange(K=>{mn(z.get(K.currentIndex),K)})}static ngTemplateContextGuard(g,z){return!0}}return(f=C).\u0275fac=function(g){return new(g||f)(n.Y36(n.s_b),n.Y36(n.Rgc),n.Y36(n.ZZ4))},f.\u0275dir=n.lG2({type:f,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),C})();function mn(f,C){f.context.$implicit=C.item}let Vn=(()=>{var f;class C{constructor(g,z){this._viewContainer=g,this._context=new Rn,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=z}set ngIf(g){this._context.$implicit=this._context.ngIf=g,this._updateView()}set ngIfThen(g){Ln("ngIfThen",g),this._thenTemplateRef=g,this._thenViewRef=null,this._updateView()}set ngIfElse(g){Ln("ngIfElse",g),this._elseTemplateRef=g,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(g,z){return!0}}return(f=C).\u0275fac=function(g){return new(g||f)(n.Y36(n.s_b),n.Y36(n.Rgc))},f.\u0275dir=n.lG2({type:f,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),C})();class Rn{constructor(){this.$implicit=null,this.ngIf=null}}function Ln(f,C){if(C&&!C.createEmbeddedView)throw new Error(`${f} must be a TemplateRef, but received '${(0,n.AaK)(C)}'.`)}class bn{constructor(C,L){this._viewContainerRef=C,this._templateRef=L,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(C){C&&!this._created?this.create():!C&&this._created&&this.destroy()}}let _n=(()=>{var f;class C{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(g){this._ngSwitch=g,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(g){this._defaultViews.push(g)}_matchCase(g){const z=g===this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||z,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),z}_updateDefaultCases(g){if(this._defaultViews.length>0&&g!==this._defaultUsed){this._defaultUsed=g;for(const z of this._defaultViews)z.enforceState(g)}}}return(f=C).\u0275fac=function(g){return new(g||f)},f.\u0275dir=n.lG2({type:f,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0}),C})(),zn=(()=>{var f;class C{constructor(g,z,K){this.ngSwitch=K,K._addCase(),this._view=new bn(g,z)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return(f=C).\u0275fac=function(g){return new(g||f)(n.Y36(n.s_b),n.Y36(n.Rgc),n.Y36(_n,9))},f.\u0275dir=n.lG2({type:f,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0}),C})(),dr=(()=>{var f;class C{constructor(g,z,K){K._addDefault(new bn(g,z))}}return(f=C).\u0275fac=function(g){return new(g||f)(n.Y36(n.s_b),n.Y36(n.Rgc),n.Y36(_n,9))},f.\u0275dir=n.lG2({type:f,selectors:[["","ngSwitchDefault",""]],standalone:!0}),C})(),hr=(()=>{var f;class C{constructor(g){this._localization=g,this._caseViews={}}set ngPlural(g){this._updateView(g)}addCase(g,z){this._caseViews[g]=z}_updateView(g){this._clearViews();const K=Mn(g,Object.keys(this._caseViews),this._localization);this._activateView(this._caseViews[K])}_clearViews(){this._activeView&&this._activeView.destroy()}_activateView(g){g&&(this._activeView=g,this._activeView.create())}}return(f=C).\u0275fac=function(g){return new(g||f)(n.Y36(Sr))},f.\u0275dir=n.lG2({type:f,selectors:[["","ngPlural",""]],inputs:{ngPlural:"ngPlural"},standalone:!0}),C})(),Mr=(()=>{var f;class C{constructor(g,z,K,nt){this.value=g;const yt=!isNaN(Number(g));nt.addCase(yt?`=${g}`:g,new bn(K,z))}}return(f=C).\u0275fac=function(g){return new(g||f)(n.$8M("ngPluralCase"),n.Y36(n.Rgc),n.Y36(n.s_b),n.Y36(hr,1))},f.\u0275dir=n.lG2({type:f,selectors:[["","ngPluralCase",""]],standalone:!0}),C})(),It=(()=>{var f;class C{constructor(g,z,K){this._ngEl=g,this._differs=z,this._renderer=K,this._ngStyle=null,this._differ=null}set ngStyle(g){this._ngStyle=g,!this._differ&&g&&(this._differ=this._differs.find(g).create())}ngDoCheck(){if(this._differ){const g=this._differ.diff(this._ngStyle);g&&this._applyChanges(g)}}_setStyle(g,z){const[K,nt]=g.split("."),yt=-1===K.indexOf("-")?void 0:n.JOm.DashCase;null!=z?this._renderer.setStyle(this._ngEl.nativeElement,K,nt?`${z}${nt}`:z,yt):this._renderer.removeStyle(this._ngEl.nativeElement,K,yt)}_applyChanges(g){g.forEachRemovedItem(z=>this._setStyle(z.key,null)),g.forEachAddedItem(z=>this._setStyle(z.key,z.currentValue)),g.forEachChangedItem(z=>this._setStyle(z.key,z.currentValue))}}return(f=C).\u0275fac=function(g){return new(g||f)(n.Y36(n.SBq),n.Y36(n.aQg),n.Y36(n.Qsj))},f.\u0275dir=n.lG2({type:f,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0}),C})(),ln=(()=>{var f;class C{constructor(g){this._viewContainerRef=g,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(g){if(this._shouldRecreateView(g)){const z=this._viewContainerRef;if(this._viewRef&&z.remove(z.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const K=this._createContextForwardProxy();this._viewRef=z.createEmbeddedView(this.ngTemplateOutlet,K,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(g){return!!g.ngTemplateOutlet||!!g.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(g,z,K)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,z,K),get:(g,z,K)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,z,K)}})}}return(f=C).\u0275fac=function(g){return new(g||f)(n.Y36(n.s_b))},f.\u0275dir=n.lG2({type:f,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[n.TTD]}),C})();function pr(f,C){return new n.vHH(2100,!1)}class cr{createSubscription(C,L){return(0,n.rg0)(()=>C.subscribe({next:L,error:g=>{throw g}}))}dispose(C){(0,n.rg0)(()=>C.unsubscribe())}}class Ir{createSubscription(C,L){return C.then(L,g=>{throw g})}dispose(C){}}const Xn=new Ir,je=new cr;let bt=(()=>{var f;class C{constructor(g){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=g}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(g){return this._obj?g!==this._obj?(this._dispose(),this.transform(g)):this._latestValue:(g&&this._subscribe(g),this._latestValue)}_subscribe(g){this._obj=g,this._strategy=this._selectStrategy(g),this._subscription=this._strategy.createSubscription(g,z=>this._updateLatestValue(g,z))}_selectStrategy(g){if((0,n.QGY)(g))return Xn;if((0,n.F4k)(g))return je;throw pr()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(g,z){g===this._obj&&(this._latestValue=z,this._ref.markForCheck())}}return(f=C).\u0275fac=function(g){return new(g||f)(n.Y36(n.sBO,16))},f.\u0275pipe=n.Yjl({name:"async",type:f,pure:!1,standalone:!0}),C})(),Ot=(()=>{var f;class C{transform(g){if(null==g)return null;if("string"!=typeof g)throw pr();return g.toLowerCase()}}return(f=C).\u0275fac=function(g){return new(g||f)},f.\u0275pipe=n.Yjl({name:"lowercase",type:f,pure:!0,standalone:!0}),C})();const ht=/(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])\S*/g;let Gt=(()=>{var f;class C{transform(g){if(null==g)return null;if("string"!=typeof g)throw pr();return g.replace(ht,z=>z[0].toUpperCase()+z.slice(1).toLowerCase())}}return(f=C).\u0275fac=function(g){return new(g||f)},f.\u0275pipe=n.Yjl({name:"titlecase",type:f,pure:!0,standalone:!0}),C})(),en=(()=>{var f;class C{transform(g){if(null==g)return null;if("string"!=typeof g)throw pr();return g.toUpperCase()}}return(f=C).\u0275fac=function(g){return new(g||f)},f.\u0275pipe=n.Yjl({name:"uppercase",type:f,pure:!0,standalone:!0}),C})();const qn=new n.OlP("DATE_PIPE_DEFAULT_TIMEZONE"),Gn=new n.OlP("DATE_PIPE_DEFAULT_OPTIONS");let Ee=(()=>{var f;class C{constructor(g,z,K){this.locale=g,this.defaultTimezone=z,this.defaultOptions=K}transform(g,z,K,nt){if(null==g||""===g||g!=g)return null;try{return Ye(g,z??this.defaultOptions?.dateFormat??"mediumDate",nt||this.locale,K??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(yt){throw pr()}}}return(f=C).\u0275fac=function(g){return new(g||f)(n.Y36(n.soG,16),n.Y36(qn,24),n.Y36(Gn,24))},f.\u0275pipe=n.Yjl({name:"date",type:f,pure:!0,standalone:!0}),C})();const at=/#/g;let nn=(()=>{var f;class C{constructor(g){this._localization=g}transform(g,z,K){if(null==g)return"";if("object"!=typeof z||null===z)throw pr();return z[Mn(g,Object.keys(z),this._localization,K)].replace(at,g.toString())}}return(f=C).\u0275fac=function(g){return new(g||f)(n.Y36(Sr,16))},f.\u0275pipe=n.Yjl({name:"i18nPlural",type:f,pure:!0,standalone:!0}),C})(),vn=(()=>{var f;class C{transform(g,z){if(null==g)return"";if("object"!=typeof z||"string"!=typeof g)throw pr();return z.hasOwnProperty(g)?z[g]:z.hasOwnProperty("other")?z.other:""}}return(f=C).\u0275fac=function(g){return new(g||f)},f.\u0275pipe=n.Yjl({name:"i18nSelect",type:f,pure:!0,standalone:!0}),C})(),jn=(()=>{var f;class C{transform(g){return JSON.stringify(g,null,2)}}return(f=C).\u0275fac=function(g){return new(g||f)},f.\u0275pipe=n.Yjl({name:"json",type:f,pure:!1,standalone:!0}),C})(),Qn=(()=>{var f;class C{constructor(g){this.differs=g,this.keyValues=[],this.compareFn=ni}transform(g,z=ni){if(!g||!(g instanceof Map)&&"object"!=typeof g)return null;this.differ||(this.differ=this.differs.find(g).create());const K=this.differ.diff(g),nt=z!==this.compareFn;return K&&(this.keyValues=[],K.forEachItem(yt=>{this.keyValues.push(function In(f,C){return{key:f,value:C}}(yt.key,yt.currentValue))})),(K||nt)&&(this.keyValues.sort(z),this.compareFn=z),this.keyValues}}return(f=C).\u0275fac=function(g){return new(g||f)(n.Y36(n.aQg,16))},f.\u0275pipe=n.Yjl({name:"keyvalue",type:f,pure:!1,standalone:!0}),C})();function ni(f,C){const L=f.key,g=C.key;if(L===g)return 0;if(void 0===L)return 1;if(void 0===g)return-1;if(null===L)return 1;if(null===g)return-1;if("string"==typeof L&&"string"==typeof g)return L<g?-1:1;if("number"==typeof L&&"number"==typeof g)return L-g;if("boolean"==typeof L&&"boolean"==typeof g)return L<g?-1:1;const z=String(L),K=String(g);return z==K?0:z<K?-1:1}let jr=(()=>{var f;class C{constructor(g){this._locale=g}transform(g,z,K){if(!ki(g))return null;K=K||this._locale;try{return or(Pr(g),K,z)}catch(nt){throw pr()}}}return(f=C).\u0275fac=function(g){return new(g||f)(n.Y36(n.soG,16))},f.\u0275pipe=n.Yjl({name:"number",type:f,pure:!0,standalone:!0}),C})(),no=(()=>{var f;class C{constructor(g){this._locale=g}transform(g,z,K){if(!ki(g))return null;K=K||this._locale;try{return er(Pr(g),K,z)}catch(nt){throw pr()}}}return(f=C).\u0275fac=function(g){return new(g||f)(n.Y36(n.soG,16))},f.\u0275pipe=n.Yjl({name:"percent",type:f,pure:!0,standalone:!0}),C})(),Kr=(()=>{var f;class C{constructor(g,z="USD"){this._locale=g,this._defaultCurrencyCode=z}transform(g,z=this._defaultCurrencyCode,K="symbol",nt,yt){if(!ki(g))return null;yt=yt||this._locale,"boolean"==typeof K&&(K=K?"symbol":"code");let zt=z||this._defaultCurrencyCode;"code"!==K&&(zt="symbol"===K||"symbol-narrow"===K?Je(zt,"symbol"===K?"wide":"narrow",yt):K);try{return Jn(Pr(g),yt,zt,z,nt)}catch(cn){throw pr()}}}return(f=C).\u0275fac=function(g){return new(g||f)(n.Y36(n.soG,16),n.Y36(n.EJc,16))},f.\u0275pipe=n.Yjl({name:"currency",type:f,pure:!0,standalone:!0}),C})();function ki(f){return!(null==f||""===f||f!=f)}function Pr(f){if("string"==typeof f&&!isNaN(Number(f)-parseFloat(f)))return Number(f);if("number"!=typeof f)throw new Error(`${f} is not a number`);return f}let Xr=(()=>{var f;class C{transform(g,z,K){if(null==g)return null;if(!this.supports(g))throw pr();return g.slice(z,K)}supports(g){return"string"==typeof g||Array.isArray(g)}}return(f=C).\u0275fac=function(g){return new(g||f)},f.\u0275pipe=n.Yjl({name:"slice",type:f,pure:!1,standalone:!0}),C})(),Hr=(()=>{var f;class C{}return(f=C).\u0275fac=function(g){return new(g||f)},f.\u0275mod=n.oAB({type:f}),f.\u0275inj=n.cJS({}),C})();const Kn="browser",Ri="server",yi="browserWorkerApp",xi="browserWorkerUi";function Hi(f){return f===Kn}function ci(f){return f===Ri}function Gi(f){return f===yi}function ho(f){return f===xi}const Bo=new n.GfV("17.0.6");let Wi=(()=>{var f;class C{}return(f=C).\u0275prov=(0,n.Yz7)({token:f,providedIn:"root",factory:()=>new Do((0,n.LFG)(_),window)}),C})();class Do{constructor(C,L){this.document=C,this.window=L,this.offset=()=>[0,0]}setOffset(C){this.offset=Array.isArray(C)?()=>C:C}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(C){this.supportsScrolling()&&this.window.scrollTo(C[0],C[1])}scrollToAnchor(C){if(!this.supportsScrolling())return;const L=function ro(f,C){const L=f.getElementById(C)||f.getElementsByName(C)[0];if(L)return L;if("function"==typeof f.createTreeWalker&&f.body&&"function"==typeof f.body.attachShadow){const g=f.createTreeWalker(f.body,NodeFilter.SHOW_ELEMENT);let z=g.currentNode;for(;z;){const K=z.shadowRoot;if(K){const nt=K.getElementById(C)||K.querySelector(`[name="${C}"]`);if(nt)return nt}z=g.nextNode()}}return null}(this.document,C);L&&(this.scrollToElement(L),L.focus())}setHistoryScrollRestoration(C){this.supportsScrolling()&&(this.window.history.scrollRestoration=C)}scrollToElement(C){const L=C.getBoundingClientRect(),g=L.left+this.window.pageXOffset,z=L.top+this.window.pageYOffset,K=this.offset();this.window.scrollTo(g-K[0],z-K[1])}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}class Gr{setOffset(C){}getScrollPosition(){return[0,0]}scrollToPosition(C){}scrollToAnchor(C){}setHistoryScrollRestoration(C){}}class ri{}function fo(f){return f.startsWith("/")?f.slice(1):f}const di=f=>f.src,Fi=new n.OlP("ImageLoader",{providedIn:"root",factory:()=>di});function Li(f,C){return function(g){return function Vi(f){if("string"!=typeof f||""===f.trim())return!1;try{return new URL(f),!0}catch{return!1}}(g)||function Ci(f,C){throw new n.vHH(2959,!1)}(),g=function Ei(f){return f.endsWith("/")?f.slice(0,-1):f}(g),[{provide:Fi,useValue:nt=>(function bi(f){return/^https?:\/\//.test(f)}(nt.src)&&function go(f,C){throw new n.vHH(2959,!1)}(),f(g,{...nt,src:fo(nt.src)}))}]}}const io=Li(hi);function hi(f,C){let L="format=auto";return C.width&&(L+=`,width=${C.width}`),`${f}/cdn-cgi/image/${L}/${C.src}`}const he=Li(Ae);function Ae(f,C){let L="f_auto,q_auto";return C.width&&(L+=`,w_${C.width}`),`${f}/image/upload/${L}/${C.src}`}const pt=Li(Tt);function Tt(f,C){const{src:L,width:g}=C;let z;return z=g?[f,`tr:w-${g}`,L]:[f,L],z.join("/")}const Nn=Li(Nt);function Nt(f,C){const L=new URL(`${f}/${C.src}`);return L.searchParams.set("auto","format"),C.width&&L.searchParams.set("w",C.width.toString()),L.href}const Ie=new n.OlP("PRECONNECT_CHECK_BLOCKLIST"),fr=new n.OlP("NG_OPTIMIZED_PRELOADED_IMAGES",{providedIn:"root",factory:()=>new Set});let Si=(()=>{var f;class C{constructor(){this.preloadedImages=(0,n.f3M)(fr),this.document=(0,n.f3M)(_)}createPreloadLinkTag(g,z,K,nt){if(this.preloadedImages.has(z))return;this.preloadedImages.add(z);const yt=g.createElement("link");g.setAttribute(yt,"as","image"),g.setAttribute(yt,"href",z),g.setAttribute(yt,"rel","preload"),g.setAttribute(yt,"fetchpriority","high"),nt&&g.setAttribute(yt,"imageSizes",nt),K&&g.setAttribute(yt,"imageSrcset",K),g.appendChild(this.document.head,yt)}}return(f=C).\u0275fac=function(g){return new(g||f)},f.\u0275prov=n.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"}),C})();const rr=/^((\s*\d+w\s*(,|$)){1,})$/,po=[1,2];let vo=(()=>{var f;class C{constructor(){this.imageLoader=(0,n.f3M)(Fi),this.config=function Mi(f){let C={};return f.breakpoints&&(C.breakpoints=f.breakpoints.sort((L,g)=>L-g)),Object.assign({},n.TFw,f,C)}((0,n.f3M)(n.Z4K)),this.renderer=(0,n.f3M)(n.Qsj),this.imgElement=(0,n.f3M)(n.SBq).nativeElement,this.injector=(0,n.f3M)(n.zs3),this.isServer=ci((0,n.f3M)(n.Lbi)),this.preloadLinkCreator=(0,n.f3M)(Si),this.lcpObserver=null,this._renderedSrc=null,this.priority=!1,this.disableOptimizedSrcset=!1,this.fill=!1}ngOnInit(){(0,n.kO0)("NgOptimizedImage"),this.setHostAttributes()}setHostAttributes(){this.fill?this.sizes||(this.sizes="100vw"):(this.setHostAttribute("width",this.width.toString()),this.setHostAttribute("height",this.height.toString())),this.setHostAttribute("loading",this.getLoadingBehavior()),this.setHostAttribute("fetchpriority",this.getFetchPriority()),this.setHostAttribute("ng-img","true");const g=this.updateSrcAndSrcset();this.sizes&&this.setHostAttribute("sizes",this.sizes),this.isServer&&this.priority&&this.preloadLinkCreator.createPreloadLinkTag(this.renderer,this.getRewrittenSrc(),g,this.sizes)}ngOnChanges(g){if(g.ngSrc&&!g.ngSrc.isFirstChange()){const z=this._renderedSrc;this.updateSrcAndSrcset(!0);const K=this._renderedSrc;null!==this.lcpObserver&&z&&K&&z!==K&&this.injector.get(n.R0b).runOutsideAngular(()=>{this.lcpObserver?.updateImage(z,K)})}}callImageLoader(g){let z=g;return this.loaderParams&&(z.loaderParams=this.loaderParams),this.imageLoader(z)}getLoadingBehavior(){return this.priority||void 0===this.loading?this.priority?"eager":"lazy":this.loading}getFetchPriority(){return this.priority?"high":"auto"}getRewrittenSrc(){return this._renderedSrc||(this._renderedSrc=this.callImageLoader({src:this.ngSrc})),this._renderedSrc}getRewrittenSrcset(){const g=rr.test(this.ngSrcset);return this.ngSrcset.split(",").filter(K=>""!==K).map(K=>{K=K.trim();const nt=g?parseFloat(K):parseFloat(K)*this.width;return`${this.callImageLoader({src:this.ngSrc,width:nt})} ${K}`}).join(", ")}getAutomaticSrcset(){return this.sizes?this.getResponsiveSrcset():this.getFixedSrcset()}getResponsiveSrcset(){const{breakpoints:g}=this.config;let z=g;return"100vw"===this.sizes?.trim()&&(z=g.filter(nt=>nt>=640)),z.map(nt=>`${this.callImageLoader({src:this.ngSrc,width:nt})} ${nt}w`).join(", ")}updateSrcAndSrcset(g=!1){g&&(this._renderedSrc=null);const z=this.getRewrittenSrc();let K;return this.setHostAttribute("src",z),this.ngSrcset?K=this.getRewrittenSrcset():this.shouldGenerateAutomaticSrcset()&&(K=this.getAutomaticSrcset()),K&&this.setHostAttribute("srcset",K),K}getFixedSrcset(){return po.map(z=>`${this.callImageLoader({src:this.ngSrc,width:this.width*z})} ${z}x`).join(", ")}shouldGenerateAutomaticSrcset(){let g=!1;return this.sizes||(g=this.width>1920||this.height>1080),!this.disableOptimizedSrcset&&!this.srcset&&this.imageLoader!==di&&!g}ngOnDestroy(){}setHostAttribute(g,z){this.renderer.setAttribute(this.imgElement,g,z)}}return(f=C).\u0275fac=function(g){return new(g||f)},f.\u0275dir=n.lG2({type:f,selectors:[["img","ngSrc",""]],hostVars:8,hostBindings:function(g,z){2&g&&n.Udp("position",z.fill?"absolute":null)("width",z.fill?"100%":null)("height",z.fill?"100%":null)("inset",z.fill?"0px":null)},inputs:{ngSrc:["ngSrc","ngSrc",be],ngSrcset:"ngSrcset",sizes:"sizes",width:["width","width",n.Cb_],height:["height","height",n.Cb_],loading:"loading",priority:["priority","priority",n.VuI],loaderParams:"loaderParams",disableOptimizedSrcset:["disableOptimizedSrcset","disableOptimizedSrcset",n.VuI],fill:["fill","fill",n.VuI],src:"src",srcset:"srcset"},standalone:!0,features:[n.Xq5,n.TTD]}),C})();function be(f){return"string"==typeof f?f:(0,n.z3N)(f)}},93634:(_e,R,r)=>{"use strict";r.d(R,{JF:()=>En,LE:()=>k,TP:()=>y,UA:()=>ee,WM:()=>M,Xk:()=>I,Zn:()=>Te,dh:()=>Mn,eN:()=>me,mL:()=>N,qT:()=>F}),r(15861);var s=r(77533),c=r(12494),h=r(58764),v=r(15973),_=r(62340),m=r(36305),b=r(97478),p=r(96839),D=r(28419),a=r(60110),u=r(14565);class E{}class T{}class M{constructor(et){this.normalizedNames=new Map,this.lazyUpdate=null,et?"string"==typeof et?this.lazyInit=()=>{this.headers=new Map,et.split("\n").forEach(Mt=>{const Ct=Mt.indexOf(":");if(Ct>0){const Vt=Mt.slice(0,Ct),Bt=Vt.toLowerCase(),on=Mt.slice(Ct+1).trim();this.maybeSetNormalizedName(Vt,Bt),this.headers.has(Bt)?this.headers.get(Bt).push(on):this.headers.set(Bt,[on])}})}:typeof Headers<"u"&&et instanceof Headers?(this.headers=new Map,et.forEach((Mt,Ct)=>{this.setHeaderEntries(Ct,Mt)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(et).forEach(([Mt,Ct])=>{this.setHeaderEntries(Mt,Ct)})}:this.headers=new Map}has(et){return this.init(),this.headers.has(et.toLowerCase())}get(et){this.init();const Mt=this.headers.get(et.toLowerCase());return Mt&&Mt.length>0?Mt[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(et){return this.init(),this.headers.get(et.toLowerCase())||null}append(et,Mt){return this.clone({name:et,value:Mt,op:"a"})}set(et,Mt){return this.clone({name:et,value:Mt,op:"s"})}delete(et,Mt){return this.clone({name:et,value:Mt,op:"d"})}maybeSetNormalizedName(et,Mt){this.normalizedNames.has(Mt)||this.normalizedNames.set(Mt,et)}init(){this.lazyInit&&(this.lazyInit instanceof M?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(et=>this.applyUpdate(et)),this.lazyUpdate=null))}copyFrom(et){et.init(),Array.from(et.headers.keys()).forEach(Mt=>{this.headers.set(Mt,et.headers.get(Mt)),this.normalizedNames.set(Mt,et.normalizedNames.get(Mt))})}clone(et){const Mt=new M;return Mt.lazyInit=this.lazyInit&&this.lazyInit instanceof M?this.lazyInit:this,Mt.lazyUpdate=(this.lazyUpdate||[]).concat([et]),Mt}applyUpdate(et){const Mt=et.name.toLowerCase();switch(et.op){case"a":case"s":let Ct=et.value;if("string"==typeof Ct&&(Ct=[Ct]),0===Ct.length)return;this.maybeSetNormalizedName(et.name,Mt);const Vt=("a"===et.op?this.headers.get(Mt):void 0)||[];Vt.push(...Ct),this.headers.set(Mt,Vt);break;case"d":const Bt=et.value;if(Bt){let on=this.headers.get(Mt);if(!on)return;on=on.filter(Qt=>-1===Bt.indexOf(Qt)),0===on.length?(this.headers.delete(Mt),this.normalizedNames.delete(Mt)):this.headers.set(Mt,on)}else this.headers.delete(Mt),this.normalizedNames.delete(Mt)}}setHeaderEntries(et,Mt){const Ct=(Array.isArray(Mt)?Mt:[Mt]).map(Bt=>Bt.toString()),Vt=et.toLowerCase();this.headers.set(Vt,Ct),this.maybeSetNormalizedName(et,Vt)}forEach(et){this.init(),Array.from(this.normalizedNames.keys()).forEach(Mt=>et(this.normalizedNames.get(Mt),this.headers.get(Mt)))}}class N{encodeKey(et){return U(et)}encodeValue(et){return U(et)}decodeKey(et){return decodeURIComponent(et)}decodeValue(et){return decodeURIComponent(et)}}const A=/%(\d[a-f0-9])/gi,X={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function U(_t){return encodeURIComponent(_t).replace(A,(et,Mt)=>X[Mt]??et)}function O(_t){return`${_t}`}class k{constructor(et={}){if(this.updates=null,this.cloneFrom=null,this.encoder=et.encoder||new N,et.fromString){if(et.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function W(_t,et){const Mt=new Map;return _t.length>0&&_t.replace(/^\?/,"").split("&").forEach(Vt=>{const Bt=Vt.indexOf("="),[on,Qt]=-1==Bt?[et.decodeKey(Vt),""]:[et.decodeKey(Vt.slice(0,Bt)),et.decodeValue(Vt.slice(Bt+1))],Lt=Mt.get(on)||[];Lt.push(Qt),Mt.set(on,Lt)}),Mt}(et.fromString,this.encoder)}else et.fromObject?(this.map=new Map,Object.keys(et.fromObject).forEach(Mt=>{const Ct=et.fromObject[Mt],Vt=Array.isArray(Ct)?Ct.map(O):[O(Ct)];this.map.set(Mt,Vt)})):this.map=null}has(et){return this.init(),this.map.has(et)}get(et){this.init();const Mt=this.map.get(et);return Mt?Mt[0]:null}getAll(et){return this.init(),this.map.get(et)||null}keys(){return this.init(),Array.from(this.map.keys())}append(et,Mt){return this.clone({param:et,value:Mt,op:"a"})}appendAll(et){const Mt=[];return Object.keys(et).forEach(Ct=>{const Vt=et[Ct];Array.isArray(Vt)?Vt.forEach(Bt=>{Mt.push({param:Ct,value:Bt,op:"a"})}):Mt.push({param:Ct,value:Vt,op:"a"})}),this.clone(Mt)}set(et,Mt){return this.clone({param:et,value:Mt,op:"s"})}delete(et,Mt){return this.clone({param:et,value:Mt,op:"d"})}toString(){return this.init(),this.keys().map(et=>{const Mt=this.encoder.encodeKey(et);return this.map.get(et).map(Ct=>Mt+"="+this.encoder.encodeValue(Ct)).join("&")}).filter(et=>""!==et).join("&")}clone(et){const Mt=new k({encoder:this.encoder});return Mt.cloneFrom=this.cloneFrom||this,Mt.updates=(this.updates||[]).concat(et),Mt}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(et=>this.map.set(et,this.cloneFrom.map.get(et))),this.updates.forEach(et=>{switch(et.op){case"a":case"s":const Mt=("a"===et.op?this.map.get(et.param):void 0)||[];Mt.push(O(et.value)),this.map.set(et.param,Mt);break;case"d":if(void 0===et.value){this.map.delete(et.param);break}{let Ct=this.map.get(et.param)||[];const Vt=Ct.indexOf(O(et.value));-1!==Vt&&Ct.splice(Vt,1),Ct.length>0?this.map.set(et.param,Ct):this.map.delete(et.param)}}}),this.cloneFrom=this.updates=null)}}class I{constructor(et){this.defaultValue=et}}class F{constructor(){this.map=new Map}set(et,Mt){return this.map.set(et,Mt),this}get(et){return this.map.has(et)||this.map.set(et,et.defaultValue()),this.map.get(et)}delete(et){return this.map.delete(et),this}has(et){return this.map.has(et)}keys(){return this.map.keys()}}function H(_t){return typeof ArrayBuffer<"u"&&_t instanceof ArrayBuffer}function $(_t){return typeof Blob<"u"&&_t instanceof Blob}function J(_t){return typeof FormData<"u"&&_t instanceof FormData}class le{constructor(et,Mt,Ct,Vt){let Bt;if(this.url=Mt,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=et.toUpperCase(),function P(_t){switch(_t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||Vt?(this.body=void 0!==Ct?Ct:null,Bt=Vt):Bt=Ct,Bt&&(this.reportProgress=!!Bt.reportProgress,this.withCredentials=!!Bt.withCredentials,Bt.responseType&&(this.responseType=Bt.responseType),Bt.headers&&(this.headers=Bt.headers),Bt.context&&(this.context=Bt.context),Bt.params&&(this.params=Bt.params),this.transferCache=Bt.transferCache),this.headers||(this.headers=new M),this.context||(this.context=new F),this.params){const on=this.params.toString();if(0===on.length)this.urlWithParams=Mt;else{const Qt=Mt.indexOf("?");this.urlWithParams=Mt+(-1===Qt?"?":Qt<Mt.length-1?"&":"")+on}}else this.params=new k,this.urlWithParams=Mt}serializeBody(){return null===this.body?null:H(this.body)||$(this.body)||J(this.body)||function V(_t){return typeof URLSearchParams<"u"&&_t instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof k?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||J(this.body)?null:$(this.body)?this.body.type||null:H(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof k?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(et={}){const Mt=et.method||this.method,Ct=et.url||this.url,Vt=et.responseType||this.responseType,Bt=void 0!==et.body?et.body:this.body,on=void 0!==et.withCredentials?et.withCredentials:this.withCredentials,Qt=void 0!==et.reportProgress?et.reportProgress:this.reportProgress;let Lt=et.headers||this.headers,mn=et.params||this.params;const jt=et.context??this.context;return void 0!==et.setHeaders&&(Lt=Object.keys(et.setHeaders).reduce((Vn,Rn)=>Vn.set(Rn,et.setHeaders[Rn]),Lt)),et.setParams&&(mn=Object.keys(et.setParams).reduce((Vn,Rn)=>Vn.set(Rn,et.setParams[Rn]),mn)),new le(Mt,Ct,Bt,{params:mn,headers:Lt,context:jt,reportProgress:Qt,responseType:Vt,withCredentials:on})}}var ge=function(_t){return _t[_t.Sent=0]="Sent",_t[_t.UploadProgress=1]="UploadProgress",_t[_t.ResponseHeader=2]="ResponseHeader",_t[_t.DownloadProgress=3]="DownloadProgress",_t[_t.Response=4]="Response",_t[_t.User=5]="User",_t}(ge||{});class te{constructor(et,Mt=200,Ct="OK"){this.headers=et.headers||new M,this.status=void 0!==et.status?et.status:Mt,this.statusText=et.statusText||Ct,this.url=et.url||null,this.ok=this.status>=200&&this.status<300}}class We extends te{constructor(et={}){super(et),this.type=ge.ResponseHeader}clone(et={}){return new We({headers:et.headers||this.headers,status:void 0!==et.status?et.status:this.status,statusText:et.statusText||this.statusText,url:et.url||this.url||void 0})}}class Te extends te{constructor(et={}){super(et),this.type=ge.Response,this.body=void 0!==et.body?et.body:null}clone(et={}){return new Te({body:void 0!==et.body?et.body:this.body,headers:et.headers||this.headers,status:void 0!==et.status?et.status:this.status,statusText:et.statusText||this.statusText,url:et.url||this.url||void 0})}}class ee extends te{constructor(et){super(et,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${et.url||"(unknown url)"}`:`Http failure response for ${et.url||"(unknown url)"}: ${et.status} ${et.statusText}`,this.error=et.error||null}}function Q(_t,et){return{body:et,headers:_t.headers,context:_t.context,observe:_t.observe,params:_t.params,reportProgress:_t.reportProgress,responseType:_t.responseType,withCredentials:_t.withCredentials,transferCache:_t.transferCache}}let me=(()=>{var _t;class et{constructor(Ct){this.handler=Ct}request(Ct,Vt,Bt={}){let on;if(Ct instanceof le)on=Ct;else{let mn,jt;mn=Bt.headers instanceof M?Bt.headers:new M(Bt.headers),Bt.params&&(jt=Bt.params instanceof k?Bt.params:new k({fromObject:Bt.params})),on=new le(Ct,Vt,void 0!==Bt.body?Bt.body:null,{headers:mn,context:Bt.context,params:jt,reportProgress:Bt.reportProgress,responseType:Bt.responseType||"json",withCredentials:Bt.withCredentials,transferCache:Bt.transferCache})}const Qt=(0,c.of)(on).pipe((0,_.b)(mn=>this.handler.handle(mn)));if(Ct instanceof le||"events"===Bt.observe)return Qt;const Lt=Qt.pipe((0,m.h)(mn=>mn instanceof Te));switch(Bt.observe||"body"){case"body":switch(on.responseType){case"arraybuffer":return Lt.pipe((0,b.U)(mn=>{if(null!==mn.body&&!(mn.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return mn.body}));case"blob":return Lt.pipe((0,b.U)(mn=>{if(null!==mn.body&&!(mn.body instanceof Blob))throw new Error("Response is not a Blob.");return mn.body}));case"text":return Lt.pipe((0,b.U)(mn=>{if(null!==mn.body&&"string"!=typeof mn.body)throw new Error("Response is not a string.");return mn.body}));default:return Lt.pipe((0,b.U)(mn=>mn.body))}case"response":return Lt;default:throw new Error(`Unreachable: unhandled observe type ${Bt.observe}}`)}}delete(Ct,Vt={}){return this.request("DELETE",Ct,Vt)}get(Ct,Vt={}){return this.request("GET",Ct,Vt)}head(Ct,Vt={}){return this.request("HEAD",Ct,Vt)}jsonp(Ct,Vt){return this.request("JSONP",Ct,{params:(new k).append(Vt,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(Ct,Vt={}){return this.request("OPTIONS",Ct,Vt)}patch(Ct,Vt,Bt={}){return this.request("PATCH",Ct,Q(Bt,Vt))}post(Ct,Vt,Bt={}){return this.request("POST",Ct,Q(Bt,Vt))}put(Ct,Vt,Bt={}){return this.request("PUT",Ct,Q(Bt,Vt))}}return(_t=et).\u0275fac=function(Ct){return new(Ct||_t)(s.LFG(E))},_t.\u0275prov=s.Yz7({token:_t,factory:_t.\u0275fac}),et})();function tt(_t,et){return et(_t)}function ut(_t,et){return(Mt,Ct)=>et.intercept(Mt,{handle:Vt=>_t(Vt,Ct)})}const y=new s.OlP(""),ae=new s.OlP(""),w=new s.OlP(""),Fe=new s.OlP("");function Je(){let _t=null;return(et,Mt)=>{null===_t&&(_t=((0,s.f3M)(y,{optional:!0})??[]).reduceRight(ut,tt));const Ct=(0,s.f3M)(s.HDt),Vt=Ct.add();return _t(et,Mt).pipe((0,p.x)(()=>Ct.remove(Vt)))}}let Wt=(()=>{var _t;class et extends E{constructor(Ct,Vt){super(),this.backend=Ct,this.injector=Vt,this.chain=null,this.pendingTasks=(0,s.f3M)(s.HDt);const Bt=(0,s.f3M)(Fe,{optional:!0});this.backend=Bt??Ct}handle(Ct){if(null===this.chain){const Bt=Array.from(new Set([...this.injector.get(ae),...this.injector.get(w,[])]));this.chain=Bt.reduceRight((on,Qt)=>function ne(_t,et,Mt){return(Ct,Vt)=>(0,s.r_H)(Mt,()=>et(Ct,Bt=>_t(Bt,Vt)))}(on,Qt,this.injector),tt)}const Vt=this.pendingTasks.add();return this.chain(Ct,Bt=>this.backend.handle(Bt)).pipe((0,p.x)(()=>this.pendingTasks.remove(Vt)))}}return(_t=et).\u0275fac=function(Ct){return new(Ct||_t)(s.LFG(T),s.LFG(s.lqb))},_t.\u0275prov=s.Yz7({token:_t,factory:_t.\u0275fac}),et})();const wt=/^\)\]\}',?\n/;let Ke=(()=>{var _t;class et{constructor(Ct){this.xhrFactory=Ct}handle(Ct){if("JSONP"===Ct.method)throw new s.vHH(-2800,!1);const Vt=this.xhrFactory;return(Vt.\u0275loadImpl?(0,v.D)(Vt.\u0275loadImpl()):(0,c.of)(null)).pipe((0,D.w)(()=>new h.y(on=>{const Qt=Vt.build();if(Qt.open(Ct.method,Ct.urlWithParams),Ct.withCredentials&&(Qt.withCredentials=!0),Ct.headers.forEach((_n,zn)=>Qt.setRequestHeader(_n,zn.join(","))),Ct.headers.has("Accept")||Qt.setRequestHeader("Accept","application/json, text/plain, */*"),!Ct.headers.has("Content-Type")){const _n=Ct.detectContentTypeHeader();null!==_n&&Qt.setRequestHeader("Content-Type",_n)}if(Ct.responseType){const _n=Ct.responseType.toLowerCase();Qt.responseType="json"!==_n?_n:"text"}const Lt=Ct.serializeBody();let mn=null;const jt=()=>{if(null!==mn)return mn;const _n=Qt.statusText||"OK",zn=new M(Qt.getAllResponseHeaders()),dr=function rn(_t){return"responseURL"in _t&&_t.responseURL?_t.responseURL:/^X-Request-URL:/m.test(_t.getAllResponseHeaders())?_t.getResponseHeader("X-Request-URL"):null}(Qt)||Ct.url;return mn=new We({headers:zn,status:Qt.status,statusText:_n,url:dr}),mn},Vn=()=>{let{headers:_n,status:zn,statusText:dr,url:an}=jt(),Yt=null;204!==zn&&(Yt=typeof Qt.response>"u"?Qt.responseText:Qt.response),0===zn&&(zn=Yt?200:0);let hr=zn>=200&&zn<300;if("json"===Ct.responseType&&"string"==typeof Yt){const Mr=Yt;Yt=Yt.replace(wt,"");try{Yt=""!==Yt?JSON.parse(Yt):null}catch(It){Yt=Mr,hr&&(hr=!1,Yt={error:It,text:Yt})}}hr?(on.next(new Te({body:Yt,headers:_n,status:zn,statusText:dr,url:an||void 0})),on.complete()):on.error(new ee({error:Yt,headers:_n,status:zn,statusText:dr,url:an||void 0}))},Rn=_n=>{const{url:zn}=jt(),dr=new ee({error:_n,status:Qt.status||0,statusText:Qt.statusText||"Unknown Error",url:zn||void 0});on.error(dr)};let Ln=!1;const An=_n=>{Ln||(on.next(jt()),Ln=!0);let zn={type:ge.DownloadProgress,loaded:_n.loaded};_n.lengthComputable&&(zn.total=_n.total),"text"===Ct.responseType&&Qt.responseText&&(zn.partialText=Qt.responseText),on.next(zn)},bn=_n=>{let zn={type:ge.UploadProgress,loaded:_n.loaded};_n.lengthComputable&&(zn.total=_n.total),on.next(zn)};return Qt.addEventListener("load",Vn),Qt.addEventListener("error",Rn),Qt.addEventListener("timeout",Rn),Qt.addEventListener("abort",Rn),Ct.reportProgress&&(Qt.addEventListener("progress",An),null!==Lt&&Qt.upload&&Qt.upload.addEventListener("progress",bn)),Qt.send(Lt),on.next({type:ge.Sent}),()=>{Qt.removeEventListener("error",Rn),Qt.removeEventListener("abort",Rn),Qt.removeEventListener("load",Vn),Qt.removeEventListener("timeout",Rn),Ct.reportProgress&&(Qt.removeEventListener("progress",An),null!==Lt&&Qt.upload&&Qt.upload.removeEventListener("progress",bn)),Qt.readyState!==Qt.DONE&&Qt.abort()}})))}}return(_t=et).\u0275fac=function(Ct){return new(Ct||_t)(s.LFG(u.XhrFactory))},_t.\u0275prov=s.Yz7({token:_t,factory:_t.\u0275fac}),et})();const pn=new s.OlP("XSRF_ENABLED"),Xe=new s.OlP("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),Ce=new s.OlP("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class Re{}let ot=(()=>{var _t;class et{constructor(Ct,Vt,Bt){this.doc=Ct,this.platform=Vt,this.cookieName=Bt,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const Ct=this.doc.cookie||"";return Ct!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,u.\u0275parseCookieValue)(Ct,this.cookieName),this.lastCookieString=Ct),this.lastToken}}return(_t=et).\u0275fac=function(Ct){return new(Ct||_t)(s.LFG(u.DOCUMENT),s.LFG(s.Lbi),s.LFG(Xe))},_t.\u0275prov=s.Yz7({token:_t,factory:_t.\u0275fac}),et})();function Ve(_t,et){const Mt=_t.url.toLowerCase();if(!(0,s.f3M)(pn)||"GET"===_t.method||"HEAD"===_t.method||Mt.startsWith("http://")||Mt.startsWith("https://"))return et(_t);const Ct=(0,s.f3M)(Re).getToken(),Vt=(0,s.f3M)(Ce);return null!=Ct&&!_t.headers.has(Vt)&&(_t=_t.clone({headers:_t.headers.set(Vt,Ct)})),et(_t)}var Ze=function(_t){return _t[_t.Interceptors=0]="Interceptors",_t[_t.LegacyInterceptors=1]="LegacyInterceptors",_t[_t.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",_t[_t.NoXsrfProtection=3]="NoXsrfProtection",_t[_t.JsonpSupport=4]="JsonpSupport",_t[_t.RequestsMadeViaParent=5]="RequestsMadeViaParent",_t[_t.Fetch=6]="Fetch",_t}(Ze||{});function Ge(_t,et){return{\u0275kind:_t,\u0275providers:et}}function Pe(..._t){const et=[me,Ke,Wt,{provide:E,useExisting:Wt},{provide:T,useExisting:Ke},{provide:ae,useValue:Ve,multi:!0},{provide:pn,useValue:!0},{provide:Re,useClass:ot}];for(const Mt of _t)et.push(...Mt.\u0275providers);return(0,s.MR2)(et)}const De=new s.OlP("LEGACY_INTERCEPTOR_FN");let En=(()=>{var _t;class et{}return(_t=et).\u0275fac=function(Ct){return new(Ct||_t)},_t.\u0275mod=s.oAB({type:_t}),_t.\u0275inj=s.cJS({providers:[Pe(Ge(Ze.LegacyInterceptors,[{provide:De,useFactory:Je},{provide:ae,useExisting:De,multi:!0}]))]}),et})();const nr="b",Zn="h",lr="s",Jn="st",er="u",or="rt",Wn=new s.OlP(""),gn=["GET","HEAD"];function Fr(_t,et){const{isCacheActive:Mt,...Ct}=(0,s.f3M)(Wn),{transferCache:Vt,method:Bt}=_t;if(!Mt||"POST"===Bt&&!Ct.includePostRequests&&!Vt||"POST"!==Bt&&!gn.includes(Bt)||!1===Vt||!1===Ct.filter?.(_t))return et(_t);const on=(0,s.f3M)(s.kie),Qt=function Cr(_t){const{params:et,method:Mt,responseType:Ct,url:Vt}=_t,Bt=et.keys().sort().map(Lt=>`${Lt}=${et.getAll(Lt)}`).join("&"),Qt=function Sr(_t){let et=0;for(const Mt of _t)et=Math.imul(31,et)+Mt.charCodeAt(0)<<0;return et+=2147483648,et.toString()}(Mt+"."+Ct+"."+Vt+"?"+Bt);return(0,s.Cb6)(Qt)}(_t),Lt=on.get(Qt,null);let mn=Ct.includeHeaders;if("object"==typeof Vt&&Vt.includeHeaders&&(mn=Vt.includeHeaders),Lt){const{[nr]:jt,[or]:Vn,[Zn]:Rn,[lr]:Ln,[Jn]:An,[er]:bn}=Lt;let _n=jt;switch(Vn){case"arraybuffer":_n=(new TextEncoder).encode(jt).buffer;break;case"blob":_n=new Blob([jt])}let zn=new M(Rn);return(0,c.of)(new Te({body:_n,headers:zn,status:Ln,statusText:An,url:bn}))}return et(_t).pipe((0,a.b)(jt=>{jt instanceof Te&&on.set(Qt,{[nr]:jt.body,[Zn]:Ar(jt.headers,mn),[lr]:jt.status,[Jn]:jt.statusText,[er]:jt.url||"",[or]:_t.responseType})}))}function Ar(_t,et){if(!et)return{};const Mt={};for(const Ct of et){const Vt=_t.getAll(Ct);null!==Vt&&(Mt[Ct]=Vt)}return Mt}function Mn(_t){return[{provide:Wn,useFactory:()=>((0,s.kO0)("NgHttpTransferCache"),{isCacheActive:!0,..._t})},{provide:w,useValue:Fr,multi:!0,deps:[s.kie,Wn]},{provide:s.tb,multi:!0,useFactory:()=>{const et=(0,s.f3M)(s.z2F),Mt=(0,s.f3M)(Wn);return()=>{(0,s.SAR)(et).then(()=>{Mt.isCacheActive=!1})}}}]}},77533:(_e,R,r)=>{"use strict";function n(e,t){return Object.is(e,t)}r.d(R,{QbO:()=>Ib,tb:()=>Qh,AFp:()=>Qf,ip1:()=>R_,wFv:()=>cs,hGG:()=>HA,z2F:()=>Ta,Ojb:()=>Tb,sBO:()=>Up,Sil:()=>QT,_Vd:()=>qa,EJc:()=>jT,ktI:()=>ol,Xts:()=>js,SBq:()=>el,lqb:()=>Ro,qLn:()=>as,vpe:()=>Fo,tBr:()=>Lf,XFs:()=>jt,OlP:()=>an,zs3:()=>lo,ZZ4:()=>Dd,aQg:()=>Md,soG:()=>ru,YKP:()=>U0,h0i:()=>Ps,R0b:()=>qr,FiY:()=>Kl,Lbi:()=>Wu,g9A:()=>Jf,n_E:()=>eu,Qsj:()=>JE,FYo:()=>qg,JOm:()=>sc,q3G:()=>Ds,tp0:()=>$l,Rgc:()=>Ml,dDg:()=>CA,eoX:()=>W_,kie:()=>Xa,GfV:()=>ep,s_b:()=>Uc,ifc:()=>vi,T8G:()=>Kp,gHi:()=>ql,dUe:()=>oS,VuI:()=>cP,Flj:()=>nC,LMc:()=>hP,MMx:()=>N0,Lck:()=>KI,eFA:()=>K_,cEC:()=>Bp,G48:()=>FA,Gpc:()=>qe,f3M:()=>In,X6Q:()=>xA,$WT:()=>oe,MR2:()=>xu,Cb6:()=>BE,Cb_:()=>uP,_c5:()=>kA,qFp:()=>fP,r_H:()=>mb,tdS:()=>rC,rg0:()=>oC,c2e:()=>x_,Z4K:()=>eg,TFw:()=>qf,zSh:()=>Uu,HDt:()=>L_,wAp:()=>Sa,vHH:()=>Ke,lri:()=>H_,rWj:()=>G_,JZr:()=>rn,EiD:()=>jg,mCW:()=>pc,qzn:()=>Qs,JVY:()=>_E,pB0:()=>CE,eBb:()=>bE,L6k:()=>yE,LAX:()=>EE,cg1:()=>Ch,kuF:()=>pn,kOj:()=>xM,kL8:()=>Iv,dqk:()=>_n,Z0I:()=>Mt,eJc:()=>rs,QGY:()=>Mh,F4k:()=>qv,kO0:()=>ls,dwT:()=>RM,RDi:()=>Db,AaK:()=>we,WxS:()=>Ye,z3N:()=>zo,SAR:()=>ty,EGt:()=>aP,qOj:()=>Wd,Xq5:()=>tm,TTD:()=>yr,_Bn:()=>L0,jDz:()=>k0,xp6:()=>pp,uIk:()=>Vd,Tol:()=>_m,Gre:()=>Mm,MT6:()=>Im,ekj:()=>Xd,um2:()=>jm,Suo:()=>d_,EqZ:()=>hv,FN0:()=>gv,II9:()=>pv,BYR:()=>mv,cPc:()=>fv,Xpm:()=>Ci,lG2:()=>oo,Yz7:()=>Mn,cJS:()=>_t,oAB:()=>hi,Yjl:()=>Yi,Y36:()=>ta,_UZ:()=>_h,GkF:()=>yh,BQk:()=>jc,ynx:()=>zc,qZA:()=>Vc,TgZ:()=>Wc,EpF:()=>Mv,n5z:()=>Pf,Ikx:()=>bh,LFG:()=>vn,$8M:()=>Iu,$Z:()=>vp,NdJ:()=>Ih,CRH:()=>h_,kcU:()=>pf,O4$:()=>gf,oxw:()=>r0,ALo:()=>r_,lcZ:()=>i_,xi3:()=>o_,Dn7:()=>s_,Hsn:()=>s0,F$t:()=>o0,Q6J:()=>$d,MGl:()=>Xc,DdM:()=>Y0,VKq:()=>Z0,WLB:()=>X0,kEZ:()=>Q0,iGM:()=>c_,MAs:()=>m0,wJu:()=>Zm,SjG:()=>Ym,x6l:()=>$m,ikw:()=>Km,KtG:()=>xl,pYS:()=>Vu,evT:()=>ng,Jf7:()=>tg,CHM:()=>Rl,oJD:()=>Kg,uOi:()=>dd,LSH:()=>ud,P3R:()=>$g,B6R:()=>H0,Akn:()=>Eo,Udp:()=>Zd,WFA:()=>Th,d8E:()=>Eh,YNc:()=>pa,W1O:()=>m_,_uU:()=>I0,Oqu:()=>Ah,hij:()=>Qc,AsE:()=>Ph,lnq:()=>Oh,Gf:()=>u_});let s=null,c=!1,h=1;const v=Symbol("SIGNAL");function _(e){const t=s;return s=e,t}const D={version:0,lastCleanEpoch: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:()=>{},consumerOnSignalRead:()=>{}};function a(e){if(c)throw new Error("");if(null===s)return;s.consumerOnSignalRead(e);const t=s.nextProducerIndex++;I(s),t<s.producerNode.length&&s.producerNode[t]!==e&&k(s)&&O(s.producerNode[t],s.producerIndexOfThis[t]),s.producerNode[t]!==e&&(s.producerNode[t]=e,s.producerIndexOfThis[t]=k(s)?U(e,s,t):0),s.producerLastReadVersion[t]=e.version}function E(e){if((!k(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==h)){if(!e.producerMustRecompute(e)&&!A(e))return e.dirty=!1,void(e.lastCleanEpoch=h);e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=h}}function T(e){if(void 0===e.liveConsumerNode)return;const t=c;c=!0;try{for(const i of e.liveConsumerNode)i.dirty||B(i)}finally{c=t}}function M(){return!1!==s?.consumerAllowSignalWrites}function B(e){e.dirty=!0,T(e),e.consumerMarkedDirty?.(e)}function N(e){return e&&(e.nextProducerIndex=0),_(e)}function W(e,t){if(_(t),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(k(e))for(let i=e.nextProducerIndex;i<e.producerNode.length;i++)O(e.producerNode[i],e.producerIndexOfThis[i]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function A(e){I(e);for(let t=0;t<e.producerNode.length;t++){const i=e.producerNode[t],o=e.producerLastReadVersion[t];if(o!==i.version||(E(i),o!==i.version))return!0}return!1}function X(e){if(I(e),k(e))for(let t=0;t<e.producerNode.length;t++)O(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 U(e,t,i){if(F(e),I(e),0===e.liveConsumerNode.length)for(let o=0;o<e.producerNode.length;o++)e.producerIndexOfThis[o]=U(e.producerNode[o],e,o);return e.liveConsumerIndexOfThis.push(i),e.liveConsumerNode.push(t)-1}function O(e,t){if(F(e),I(e),1===e.liveConsumerNode.length)for(let o=0;o<e.producerNode.length;o++)O(e.producerNode[o],e.producerIndexOfThis[o]);const i=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[i],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[i],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){const o=e.liveConsumerIndexOfThis[t],l=e.liveConsumerNode[t];I(l),l.producerIndexOfThis[o]=t}}function k(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function I(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function F(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}const H=Symbol("UNSET"),$=Symbol("COMPUTING"),J=Symbol("ERRORED"),V=(()=>({...D,value:H,dirty:!0,error:null,equal:n,producerMustRecompute:e=>e.value===H||e.value===$,producerRecomputeValue(e){if(e.value===$)throw new Error("Detected cycle in computations.");const t=e.value;e.value=$;const i=N(e);let o;try{o=e.computation()}catch(l){o=J,e.error=l}finally{W(e,i)}t!==H&&t!==J&&o!==J&&e.equal(t,o)?e.value=t:(e.value=o,e.version++)}}))();let ge=function le(){throw new Error};function te(){ge()}let Te=null;function pe(e,t){M()||te();const i=e.value;Object.is(i,t)||e.equal(i,t)||(e.value=t,function vt(e){e.version++,function u(){h++}(),T(e),Te?.()}(e))}const ct=(()=>({...D,equal:n,value:void 0}))();const lt=()=>{},tt=(()=>({...D,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{null!==e.schedule&&e.schedule(e.ref)},hasRun:!1,cleanupFn:lt}))();var ne=r(9739),y=r(97889),ae=r(58764),w=r(17343),Fe=r(67728),Je=r(12494),St=r(12975),gt=r(28419),Wt=r(97974),ft=r(57495);function ye(e){for(let t in e)if(e[t]===ye)return t;throw Error("Could not find renamed property on target object.")}function st(e,t){for(const i in t)t.hasOwnProperty(i)&&!e.hasOwnProperty(i)&&(e[i]=t[i])}function we(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(we).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 i=t.indexOf("\n");return-1===i?t:t.substring(0,i)}function $e(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}function Ye(e,t=100){if(!e||t<1||e.length<=t)return e;if(1==t)return e.substring(0,1)+"...";const i=Math.round(t/2);return e.substring(0,i)+"..."+e.substring(e.length-i)}const At=ye({__forward_ref__:ye});function qe(e){return e.__forward_ref__=qe,e.toString=function(){return we(this())},e}function it(e){return Kt(e)?e():e}function Kt(e){return"function"==typeof e&&e.hasOwnProperty(At)&&e.__forward_ref__===qe}function Ut(e){return e&&!!e.\u0275providers}const rn="https://g.co/ng/security#xss";class Ke extends Error{constructor(t,i){super(pn(t,i)),this.code=t}}function pn(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}const Rt=ye({\u0275cmp:ye}),Xe=ye({\u0275dir:ye}),ve=ye({\u0275pipe:ye}),Ce=ye({\u0275mod:ye}),Re=ye({\u0275fac:ye}),ot=ye({__NG_ELEMENT_ID__:ye}),Ve=ye({__NG_ENV_ID__:ye});function Oe(e){return"string"==typeof e?e:null==e?"":String(e)}function He(e,t){throw new Ke(-201,!1)}function gn(e,t,i,o){throw new Error(`ASSERTION ERROR: ${e}`+(null==o?"":` [Expected=> ${i} ${o} ${t} <=Actual]`))}function Mn(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function _t(e){return{providers:e.providers||[],imports:e.imports||[]}}function et(e){return Ct(e,on)||Ct(e,Lt)}function Mt(e){return null!==et(e)}function Ct(e,t){return e.hasOwnProperty(t)?e[t]:null}function Bt(e){return e&&(e.hasOwnProperty(Qt)||e.hasOwnProperty(mn))?e[Qt]:null}const on=ye({\u0275prov:ye}),Qt=ye({\u0275inj:ye}),Lt=ye({ngInjectableDef:ye}),mn=ye({ngInjectorDef:ye});var jt=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}(jt||{});let Vn;function Rn(){return Vn}function Ln(e){const t=Vn;return Vn=e,t}function An(e,t,i){const o=et(e);return o&&"root"==o.providedIn?void 0===o.value?o.value=o.factory():o.value:i&jt.Optional?null:void 0!==t?t:void He(we(e))}const _n=globalThis;class an{constructor(t,i){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof i?this.__NG_ELEMENT_ID__=i:void 0!==i&&(this.\u0275prov=Mn({token:this,providedIn:i.providedIn||"root",factory:i.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const bt={},Ot="__NG_DI_FLAG__",ht="ngTempTokenPath",en=/\n/gm,qn="__source";let Gn;function at(e){const t=Gn;return Gn=e,t}function nn(e,t=jt.Default){if(void 0===Gn)throw new Ke(-203,!1);return null===Gn?An(e,void 0,t):Gn.get(e,t&jt.Optional?null:void 0,t)}function vn(e,t=jt.Default){return(Rn()||nn)(it(e),t)}function In(e,t=jt.Default){return vn(e,Qn(t))}function Qn(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function ni(e){const t=[];for(let i=0;i<e.length;i++){const o=it(e[i]);if(Array.isArray(o)){if(0===o.length)throw new Ke(900,!1);let l,d=jt.Default;for(let S=0;S<o.length;S++){const x=o[S],j=no(x);"number"==typeof j?-1===j?l=x.token:d|=j:l=x}t.push(vn(l,d))}else t.push(vn(o))}return t}function jr(e,t){return e[Ot]=t,e.prototype[Ot]=t,e}function no(e){return e[Ot]}function Pr(e){return{toString:e}.toString()}var Xr=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(Xr||{}),vi=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(vi||{});const Hr={},Kn=[];function Ri(e,t,i){let o=e.length;for(;;){const l=e.indexOf(t,i);if(-1===l)return l;if(0===l||e.charCodeAt(l-1)<=32){const d=t.length;if(l+d===o||e.charCodeAt(l+d)<=32)return l}i=l+1}}function yi(e,t,i){let o=0;for(;o<i.length;){const l=i[o];if("number"==typeof l){if(0!==l)break;o++;const d=i[o++],S=i[o++],x=i[o++];e.setAttribute(t,S,x,d)}else{const d=l,S=i[++o];Hi(d)?e.setProperty(t,d,S):e.setAttribute(t,d,S),o++}}return o}function xi(e){return 3===e||4===e||6===e}function Hi(e){return 64===e.charCodeAt(0)}function ci(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let i=-1;for(let o=0;o<t.length;o++){const l=t[o];"number"==typeof l?i=l:0===i||Gi(e,i,l,null,-1===i||2===i?t[++o]:null)}}return e}function Gi(e,t,i,o,l){let d=0,S=e.length;if(-1===t)S=-1;else for(;d<e.length;){const x=e[d++];if("number"==typeof x){if(x===t){S=-1;break}if(x>t){S=d-1;break}}}for(;d<e.length;){const x=e[d];if("number"==typeof x)break;if(x===i){if(null===o)return void(null!==l&&(e[d+1]=l));if(o===e[d+1])return void(e[d+2]=l)}d++,null!==o&&d++,null!==l&&d++}-1!==S&&(e.splice(S,0,t),d=S+1),e.splice(d++,0,i),null!==o&&e.splice(d++,0,o),null!==l&&e.splice(d++,0,l)}const ho="ng-template";function Bo(e,t,i){let o=0,l=!0;for(;o<e.length;){let d=e[o++];if("string"==typeof d&&l){const S=e[o++];if(i&&"class"===d&&-1!==Ri(S.toLowerCase(),t,0))return!0}else{if(1===d){for(;o<e.length&&"string"==typeof(d=e[o++]);)if(d.toLowerCase()===t)return!0;return!1}"number"==typeof d&&(l=!1)}}return!1}function Wi(e){return 4===e.type&&e.value!==ho}function Do(e,t,i){return t===(4!==e.type||i?e.value:ho)}function ro(e,t,i){let o=4;const l=e.attrs||[],d=function Ur(e){for(let t=0;t<e.length;t++)if(xi(e[t]))return t;return e.length}(l);let S=!1;for(let x=0;x<t.length;x++){const j=t[x];if("number"!=typeof j){if(!S)if(4&o){if(o=2|1&o,""!==j&&!Do(e,j,i)||""===j&&1===t.length){if(Gr(o))return!1;S=!0}}else{const de=8&o?j:t[++x];if(8&o&&null!==e.attrs){if(!Bo(e.attrs,de,i)){if(Gr(o))return!1;S=!0}continue}const ke=ri(8&o?"class":j,l,Wi(e),i);if(-1===ke){if(Gr(o))return!1;S=!0;continue}if(""!==de){let dt;dt=ke>d?"":l[ke+1].toLowerCase();const mt=8&o?dt:null;if(mt&&-1!==Ri(mt,de,0)||2&o&&de!==dt){if(Gr(o))return!1;S=!0}}}}else{if(!S&&!Gr(o)&&!Gr(j))return!1;if(S&&Gr(j))continue;S=!1,o=j|1&o}}return Gr(o)||S}function Gr(e){return 0==(1&e)}function ri(e,t,i,o){if(null===t)return-1;let l=0;if(o||!i){let d=!1;for(;l<t.length;){const S=t[l];if(S===e)return l;if(3===S||6===S)d=!0;else{if(1===S||2===S){let x=t[++l];for(;"string"==typeof x;)x=t[++l];continue}if(4===S)break;if(0===S){l+=4;continue}}l+=d?1:2}return-1}return function Vi(e,t){let i=e.indexOf(4);if(i>-1)for(i++;i<e.length;){const o=e[i];if("number"==typeof o)return-1;if(o===t)return i;i++}return-1}(t,e)}function ui(e,t,i=!1){for(let o=0;o<t.length;o++)if(ro(e,t[o],i))return!0;return!1}function Ei(e,t){e:for(let i=0;i<t.length;i++){const o=t[i];if(e.length===o.length){for(let l=0;l<e.length;l++)if(e[l]!==o[l])continue e;return!0}}return!1}function fo(e,t){return e?":not("+t.trim()+")":t}function di(e){let t=e[0],i=1,o=2,l="",d=!1;for(;i<e.length;){let S=e[i];if("string"==typeof S)if(2&o){const x=e[++i];l+="["+S+(x.length>0?'="'+x+'"':"")+"]"}else 8&o?l+="."+S:4&o&&(l+=" "+S);else""!==l&&!Gr(S)&&(t+=fo(d,l),l=""),o=S,d=d||!Gr(o);i++}return""!==l&&(t+=fo(d,l)),t}function Ci(e){return Pr(()=>{const t=pt(e),i={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Xr.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||vi.Emulated,styles:e.styles||Kn,_:null,schemas:e.schemas||null,tView:null,id:""};Tt(i);const o=e.dependencies;return i.directiveDefs=$t(o,!1),i.pipeDefs=$t(o,!0),i.id=function Bn(e){let t=0;const i=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const l of i)t=Math.imul(31,t)+l.charCodeAt(0)<<0;return t+=2147483648,"c"+t}(i),i})}function go(e){return he(e)||Ae(e)}function io(e){return null!==e}function hi(e){return Pr(()=>({type:e.type,bootstrap:e.bootstrap||Kn,declarations:e.declarations||Kn,imports:e.imports||Kn,exports:e.exports||Kn,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function fi(e,t){if(null==e)return Hr;const i={};for(const o in e)if(e.hasOwnProperty(o)){let l=e[o],d=l;Array.isArray(l)&&(d=l[1],l=l[0]),i[l]=o,t&&(t[l]=d)}return i}function oo(e){return Pr(()=>{const t=pt(e);return Tt(t),t})}function Yi(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 he(e){return e[Rt]||null}function Ae(e){return e[Xe]||null}function Qe(e){return e[ve]||null}function oe(e){const t=he(e)||Ae(e)||Qe(e);return null!==t&&t.standalone}function Ne(e,t){const i=e[Ce]||null;if(!i&&!0===t)throw new Error(`Type ${we(e)} does not have '\u0275mod' property.`);return i}function pt(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||Hr,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||Kn,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:fi(e.inputs,t),outputs:fi(e.outputs),debugInfo:null}}function Tt(e){e.features?.forEach(t=>t(e))}function $t(e,t){if(!e)return null;const i=t?Qe:go;return()=>("function"==typeof e?e():e).map(o=>i(o)).filter(io)}const Nn=0,Nt=1,Xt=2,wn=3,ce=4,ie=5,Le=6,q=7,Ie=8,Et=9,hn=10,fn=11,fr=12,Si=13,Or=14,rr=15,Br=16,Zi=17,Qr=18,po=19,$o=20,_i=21,mo=22,Di=23,kn=25,Xi=1,vo=6,Mi=7,_o=9,_r=10;var yo=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e[e.HasChildViewsToRefresh=4]="HasChildViewsToRefresh",e}(yo||{});function Wr(e){return Array.isArray(e)&&"object"==typeof e[Xi]}function Nr(e){return Array.isArray(e)&&!0===e[Xi]}function Yo(e){return 0!=(4&e.flags)}function zi(e){return e.componentOffset>-1}function Mo(e){return 1==(1&e.flags)}function gi(e){return!!e.template}function Zo(e){return 0!=(512&e[Xt])}function Xo(e){return 256==(256&e[Xt])}function $n(e,t){return e.hasOwnProperty(Re)?e[Re]:null}class mr{constructor(t,i,o){this.previousValue=t,this.currentValue=i,this.firstChange=o}isFirstChange(){return this.firstChange}}function yr(){return wr}function wr(e){return e.type.prototype.ngOnChanges&&(e.setInput=ii),kr}function kr(){const e=Tr(this),t=e?.current;if(t){const i=e.previous;if(i===Hr)e.previous=t;else for(let o in t)i[o]=t[o];e.current=null,this.ngOnChanges(t)}}function ii(e,t,i,o){const l=this.declaredInputs[i],d=Tr(e)||function Vr(e,t){return e[Jr]=t}(e,{previous:Hr,current:null}),S=d.current||(d.current={}),x=d.previous,j=x[l];S[l]=new mr(j&&j.currentValue,t,x===Hr),e[o]=t}yr.ngInherit=!0;const Jr="__ngSimpleChanges__";function Tr(e){return e[Jr]||null}const $r=function(e,t,i){},Io="svg";function ur(e){for(;Array.isArray(e);)e=e[Nn];return e}function Dr(e,t){return ur(t[e])}function gr(e,t){return ur(t[e.index])}function To(e,t){return e.data[t]}function Ao(e,t){return e[t]}function Ti(e,t){const i=t[e];return Wr(i)?i:i[Nn]}function Qi(e){return 128==(128&e[Xt])}function Ai(e,t){return null==t?null:e[t]}function Jo(e){e[Zi]=0}function Ui(e){1024&e[Xt]||(e[Xt]|=1024,Qi(e)&&pi(e))}function Wo(e,t){for(;e>0;)t=t[Or],e--;return t}function zr(e){return 9216&e[Xt]||e[Di]?.dirty}function br(e){zr(e)&&pi(e)}function pi(e){let t=e[wn];for(;null!==t&&!(Nr(t)&&t[Xt]&yo.HasChildViewsToRefresh||Wr(t)&&8192&t[Xt]);){if(Nr(t))t[Xt]|=yo.HasChildViewsToRefresh;else if(t[Xt]|=8192,!Qi(t))break;t=t[wn]}}function ao(e,t){if(256==(256&e[Xt]))throw new Ke(911,!1);null===e[_i]&&(e[_i]=[]),e[_i].push(t)}function Vo(e,t){if(null===e[_i])return;const i=e[_i].indexOf(t);-1!==i&&e[_i].splice(i,1)}const xn={lFrame:ts(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function pu(){return xn.bindingsEnabled}function vs(){return null!==xn.skipHydrationRootTNode}function kt(){return xn.lFrame.lView}function ir(){return xn.lFrame.tView}function Rl(e){return xn.lFrame.contextLView=e,e[Ie]}function xl(e){return xn.lFrame.contextLView=null,e}function Er(){let e=Fl();for(;null!==e&&64===e.type;)e=e.parent;return e}function Fl(){return xn.lFrame.currentTNode}function Ji(e,t){const i=xn.lFrame;i.currentTNode=e,i.isParent=t}function Ra(){return xn.lFrame.isParent}function Ll(){xn.lFrame.isParent=!1}function Pi(){const e=xn.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Po(){return xn.lFrame.bindingIndex}function Y(){return xn.lFrame.bindingIndex++}function re(e){const t=xn.lFrame,i=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,i}function Be(e,t){const i=xn.lFrame;i.bindingIndex=i.bindingRootIndex=e,Dt(t)}function Dt(e){xn.lFrame.currentDirectiveIndex=e}function Jt(e){const t=xn.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function Ht(){return xn.lFrame.currentQueryIndex}function Fn(e){xn.lFrame.currentQueryIndex=e}function sr(e){const t=e[Nt];return 2===t.type?t.declTNode:1===t.type?e[ie]:null}function tr(e,t,i){if(i&jt.SkipSelf){let l=t,d=e;for(;!(l=l.parent,null!==l||i&jt.Host||(l=sr(d),null===l||(d=d[Or],10&l.type))););if(null===l)return!1;t=l,e=d}const o=xn.lFrame=es();return o.currentTNode=t,o.lView=e,!0}function Rr(e){const t=es(),i=e[Nt];xn.lFrame=t,t.currentTNode=i.firstChild,t.lView=e,t.tView=i,t.contextLView=e,t.bindingIndex=i.bindingStartIndex,t.inI18n=!1}function es(){const e=xn.lFrame,t=null===e?null:e.child;return null===t?ts(e):t}function ts(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 xs(){const e=xn.lFrame;return xn.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Oo=xs;function xa(){const e=xs();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 Oi(){return xn.lFrame.selectedIndex}function ys(e){xn.lFrame.selectedIndex=e}function xr(){const e=xn.lFrame;return To(e.tView,e.selectedIndex)}function gf(){xn.lFrame.currentNamespace=Io}function pf(){!function Iy(){xn.lFrame.currentNamespace=null}()}function mf(){return xn.lFrame.currentNamespace}let vf=!0;function Ul(){return vf}function ns(e){vf=e}function Bl(e,t){for(let i=t.directiveStart,o=t.directiveEnd;i<o;i++){const d=e.data[i].type.prototype,{ngAfterContentInit:S,ngAfterContentChecked:x,ngAfterViewInit:j,ngAfterViewChecked:de,ngOnDestroy:Se}=d;S&&(e.contentHooks??=[]).push(-i,S),x&&((e.contentHooks??=[]).push(i,x),(e.contentCheckHooks??=[]).push(i,x)),j&&(e.viewHooks??=[]).push(-i,j),de&&((e.viewHooks??=[]).push(i,de),(e.viewCheckHooks??=[]).push(i,de)),null!=Se&&(e.destroyHooks??=[]).push(i,Se)}}function Nl(e,t,i){_f(e,t,3,i)}function kl(e,t,i,o){(3&e[Xt])===i&&_f(e,t,i,o)}function yu(e,t){let i=e[Xt];(3&i)===t&&(i&=16383,i+=1,e[Xt]=i)}function _f(e,t,i,o){const d=o??-1,S=t.length-1;let x=0;for(let j=void 0!==o?65535&e[Zi]:0;j<S;j++)if("number"==typeof t[j+1]){if(x=t[j],null!=o&&x>=o)break}else t[j]<0&&(e[Zi]+=65536),(x<d||-1==d)&&(Ay(e,i,t,j),e[Zi]=(4294901760&e[Zi])+j+2),j++}function yf(e,t){$r(4,e,t);const i=_(null);try{t.call(e)}finally{_(i),$r(5,e,t)}}function Ay(e,t,i,o){const l=i[o]<0,d=i[o+1],x=e[l?-i[o]:i[o]];l?e[Xt]>>14<e[Zi]>>16&&(3&e[Xt])===t&&(e[Xt]+=16384,yf(x,d)):yf(x,d)}const Fs=-1;class Fa{constructor(t,i,o){this.factory=t,this.resolving=!1,this.canSeeViewProviders=i,this.injectImpl=o}}function Eu(e){return e!==Fs}function La(e){return 32767&e}function Ua(e,t){let i=function xy(e){return e>>16}(e),o=t;for(;i>0;)o=o[Or],i--;return o}let Cu=!0;function Hl(e){const t=Cu;return Cu=e,t}const bf=255,Ef=5;let Fy=0;const wo={};function Gl(e,t){const i=Cf(e,t);if(-1!==i)return i;const o=t[Nt];o.firstCreatePass&&(e.injectorIndex=t.length,Su(o.data,e),Su(t,null),Su(o.blueprint,null));const l=Wl(e,t),d=e.injectorIndex;if(Eu(l)){const S=La(l),x=Ua(l,t),j=x[Nt].data;for(let de=0;de<8;de++)t[d+de]=x[S+de]|j[S+de]}return t[d+8]=l,d}function Su(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Cf(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Wl(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let i=0,o=null,l=t;for(;null!==l;){if(o=Of(l),null===o)return Fs;if(i++,l=l[Or],-1!==o.injectorIndex)return o.injectorIndex|i<<16}return Fs}function Du(e,t,i){!function Ly(e,t,i){let o;"string"==typeof i?o=i.charCodeAt(0)||0:i.hasOwnProperty(ot)&&(o=i[ot]),null==o&&(o=i[ot]=Fy++);const l=o&bf;t.data[e+(l>>Ef)]|=1<<l}(e,t,i)}function Sf(e,t,i){if(i&jt.Optional||void 0!==e)return e;He()}function Df(e,t,i,o){if(i&jt.Optional&&void 0===o&&(o=null),!(i&(jt.Self|jt.Host))){const l=e[Et],d=Ln(void 0);try{return l?l.get(t,o,i&jt.Optional):An(t,o,i&jt.Optional)}finally{Ln(d)}}return Sf(o,0,i)}function Mf(e,t,i,o=jt.Default,l){if(null!==e){if(2048&t[Xt]&&!(o&jt.Self)){const S=function Hy(e,t,i,o,l){let d=e,S=t;for(;null!==d&&null!==S&&2048&S[Xt]&&!(512&S[Xt]);){const x=If(d,S,i,o|jt.Self,wo);if(x!==wo)return x;let j=d.parent;if(!j){const de=S[$o];if(de){const Se=de.get(i,wo,o);if(Se!==wo)return Se}j=Of(S),S=S[Or]}d=j}return l}(e,t,i,o,wo);if(S!==wo)return S}const d=If(e,t,i,o,wo);if(d!==wo)return d}return Df(t,i,o,l)}function If(e,t,i,o,l){const d=function Ny(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(ot)?e[ot]:void 0;return"number"==typeof t?t>=0?t&bf:ky:t}(i);if("function"==typeof d){if(!tr(t,e,o))return o&jt.Host?Sf(l,0,o):Df(t,i,o,l);try{let S;if(S=d(o),null!=S||o&jt.Optional)return S;He()}finally{Oo()}}else if("number"==typeof d){let S=null,x=Cf(e,t),j=Fs,de=o&jt.Host?t[rr][ie]:null;for((-1===x||o&jt.SkipSelf)&&(j=-1===x?Wl(e,t):t[x+8],j!==Fs&&Af(o,!1)?(S=t[Nt],x=La(j),t=Ua(j,t)):x=-1);-1!==x;){const Se=t[Nt];if(Tf(d,x,Se.data)){const ke=By(x,t,i,S,o,de);if(ke!==wo)return ke}j=t[x+8],j!==Fs&&Af(o,t[Nt].data[x+8]===de)&&Tf(d,x,t)?(S=Se,x=La(j),t=Ua(j,t)):x=-1}}return l}function By(e,t,i,o,l,d){const S=t[Nt],x=S.data[e+8],Se=Vl(x,S,i,null==o?zi(x)&&Cu:o!=S&&0!=(3&x.type),l&jt.Host&&d===x);return null!==Se?bs(t,S,Se,x):wo}function Vl(e,t,i,o,l){const d=e.providerIndexes,S=t.data,x=1048575&d,j=e.directiveStart,Se=d>>20,dt=l?x+Se:e.directiveEnd;for(let mt=o?x:x+Se;mt<dt;mt++){const Ft=S[mt];if(mt<j&&i===Ft||mt>=j&&Ft.type===i)return mt}if(l){const mt=S[j];if(mt&&gi(mt)&&mt.type===i)return j}return null}function bs(e,t,i,o){let l=e[i];const d=t.data;if(function Py(e){return e instanceof Fa}(l)){const S=l;S.resolving&&function Ue(e,t){const i=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new Ke(-200,`Circular dependency in DI detected for ${e}${i}`)}(function Ze(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():Oe(e)}(d[i]));const x=Hl(S.canSeeViewProviders);S.resolving=!0;const de=S.injectImpl?Ln(S.injectImpl):null;tr(e,o,jt.Default);try{l=e[i]=S.factory(void 0,d,e,o),t.firstCreatePass&&i>=o.directiveStart&&function Ty(e,t,i){const{ngOnChanges:o,ngOnInit:l,ngDoCheck:d}=t.type.prototype;if(o){const S=wr(t);(i.preOrderHooks??=[]).push(e,S),(i.preOrderCheckHooks??=[]).push(e,S)}l&&(i.preOrderHooks??=[]).push(0-e,l),d&&((i.preOrderHooks??=[]).push(e,d),(i.preOrderCheckHooks??=[]).push(e,d))}(i,d[i],t)}finally{null!==de&&Ln(de),Hl(x),S.resolving=!1,Oo()}}return l}function Tf(e,t,i){return!!(i[t+(e>>Ef)]&1<<e)}function Af(e,t){return!(e&jt.Self||e&jt.Host&&t)}class oi{constructor(t,i){this._tNode=t,this._lView=i}get(t,i,o){return Mf(this._tNode,this._lView,t,Qn(o),i)}}function ky(){return new oi(Er(),kt())}function Pf(e){return Pr(()=>{const t=e.prototype.constructor,i=t[Re]||Mu(t),o=Object.prototype;let l=Object.getPrototypeOf(e.prototype).constructor;for(;l&&l!==o;){const d=l[Re]||Mu(l);if(d&&d!==i)return d;l=Object.getPrototypeOf(l)}return d=>new d})}function Mu(e){return Kt(e)?()=>{const t=Mu(it(e));return t&&t()}:$n(e)}function Of(e){const t=e[Nt],i=t.type;return 2===i?t.declTNode:1===i?e[ie]:null}function Iu(e){return function Uy(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const i=e.attrs;if(i){const o=i.length;let l=0;for(;l<o;){const d=i[l];if(xi(d))break;if(0===d)l+=2;else if("number"==typeof d)for(l++;l<o&&"string"==typeof i[l];)l++;else{if(d===t)return i[l+1];l+=2}}}return null}(Er(),e)}const Ns="__parameters__";function Hs(e,t,i){return Pr(()=>{const o=function Tu(e){return function(...i){if(e){const o=e(...i);for(const l in o)this[l]=o[l]}}}(t);function l(...d){if(this instanceof l)return o.apply(this,d),this;const S=new l(...d);return x.annotation=S,x;function x(j,de,Se){const ke=j.hasOwnProperty(Ns)?j[Ns]:Object.defineProperty(j,Ns,{value:[]})[Ns];for(;ke.length<=Se;)ke.push(null);return(ke[Se]=ke[Se]||[]).push(S),j}}return i&&(l.prototype=Object.create(i.prototype)),l.prototype.ngMetadataName=e,l.annotationCls=l,l})}function Ws(e,t){e.forEach(i=>Array.isArray(i)?Ws(i,t):t(i))}function Rf(e,t,i){t>=e.length?e.push(i):e.splice(t,0,i)}function zl(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Na(e,t){const i=[];for(let o=0;o<e;o++)i.push(t);return i}function qi(e,t,i){let o=Vs(e,t);return o>=0?e[1|o]=i:(o=~o,function xf(e,t,i,o){let l=e.length;if(l==t)e.push(i,o);else if(1===l)e.push(o,e[0]),e[0]=i;else{for(l--,e.push(e[l-1],e[l]);l>t;)e[l]=e[l-2],l--;e[t]=i,e[t+1]=o}}(e,o,t,i)),o}function Pu(e,t){const i=Vs(e,t);if(i>=0)return e[1|i]}function Vs(e,t){return function Ff(e,t,i){let o=0,l=e.length>>i;for(;l!==o;){const d=o+(l-o>>1),S=e[d<<i];if(t===S)return d<<i;S>t?l=d:o=d+1}return~(l<<i)}(e,t,1)}const Lf=jr(Hs("Inject",e=>({token:e})),-1),Kl=jr(Hs("Optional"),8),$l=jr(Hs("SkipSelf"),4),js=new an("ENVIRONMENT_INITIALIZER"),kf=new an("INJECTOR",-1),Ru=new an("INJECTOR_DEF_TYPES");class Zl{get(t,i=bt){if(i===bt){const o=new Error(`NullInjectorError: No provider for ${we(t)}!`);throw o.name="NullInjectorError",o}return i}}function xu(e){return{\u0275providers:e}}function ab(...e){return{\u0275providers:Hf(0,e),\u0275fromNgModule:!0}}function Hf(e,...t){const i=[],o=new Set;let l;const d=S=>{i.push(S)};return Ws(t,S=>{const x=S;Xl(x,d,[],o)&&(l||=[],l.push(x))}),void 0!==l&&Gf(l,d),i}function Gf(e,t){for(let i=0;i<e.length;i++){const{ngModule:o,providers:l}=e[i];Fu(l,d=>{t(d,o)})}}function Xl(e,t,i,o){if(!(e=it(e)))return!1;let l=null,d=Bt(e);const S=!d&&he(e);if(d||S){if(S&&!S.standalone)return!1;l=e}else{const j=e.ngModule;if(d=Bt(j),!d)return!1;l=j}const x=o.has(l);if(S){if(x)return!1;if(o.add(l),S.dependencies){const j="function"==typeof S.dependencies?S.dependencies():S.dependencies;for(const de of j)Xl(de,t,i,o)}}else{if(!d)return!1;{if(null!=d.imports&&!x){let de;o.add(l);try{Ws(d.imports,Se=>{Xl(Se,t,i,o)&&(de||=[],de.push(Se))})}finally{}void 0!==de&&Gf(de,t)}if(!x){const de=$n(l)||(()=>new l);t({provide:l,useFactory:de,deps:Kn},l),t({provide:Ru,useValue:l,multi:!0},l),t({provide:js,useValue:()=>vn(l),multi:!0},l)}const j=d.providers;if(null!=j&&!x){const de=e;Fu(j,Se=>{t(Se,de)})}}}return l!==e&&void 0!==e.providers}function Fu(e,t){for(let i of e)Ut(i)&&(i=i.\u0275providers),Array.isArray(i)?Fu(i,t):t(i)}const lb=ye({provide:String,useValue:ye});function Lu(e){return null!==e&&"object"==typeof e&&lb in e}function Es(e){return"function"==typeof e}const Uu=new an("Set Injector scope."),Ql={},ub={};let Bu;function Jl(){return void 0===Bu&&(Bu=new Zl),Bu}class Ro{}class Ks extends Ro{get destroyed(){return this._destroyed}constructor(t,i,o,l){super(),this.parent=i,this.source=o,this.scopes=l,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,ku(t,S=>this.processProvider(S)),this.records.set(kf,$s(void 0,this)),l.has("environment")&&this.records.set(Ro,$s(void 0,this));const d=this.records.get(Uu);null!=d&&"string"==typeof d.value&&this.scopes.add(d.value),this.injectorDefTypes=new Set(this.get(Ru,Kn,jt.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const i of this._ngOnDestroyHooks)i.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const i of t)i()}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 i=at(this),o=Ln(void 0);try{return t()}finally{at(i),Ln(o)}}get(t,i=bt,o=jt.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(Ve))return t[Ve](this);o=Qn(o);const d=at(this),S=Ln(void 0);try{if(!(o&jt.SkipSelf)){let j=this.records.get(t);if(void 0===j){const de=function pb(e){return"function"==typeof e||"object"==typeof e&&e instanceof an}(t)&&et(t);j=de&&this.injectableDefInScope(de)?$s(Nu(t),Ql):null,this.records.set(t,j)}if(null!=j)return this.hydrate(t,j)}return(o&jt.Self?Jl():this.parent).get(t,i=o&jt.Optional&&i===bt?null:i)}catch(x){if("NullInjectorError"===x.name){if((x[ht]=x[ht]||[]).unshift(we(t)),d)throw x;return function Kr(e,t,i,o){const l=e[ht];throw t[qn]&&l.unshift(t[qn]),e.message=function ki(e,t,i,o=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let l=we(t);if(Array.isArray(t))l=t.map(we).join(" -> ");else if("object"==typeof t){let d=[];for(let S in t)if(t.hasOwnProperty(S)){let x=t[S];d.push(S+":"+("string"==typeof x?JSON.stringify(x):we(x)))}l=`{${d.join(", ")}}`}return`${i}${o?"("+o+")":""}[${l}]: ${e.replace(en,"\n  ")}`}("\n"+e.message,l,i,o),e.ngTokenPath=l,e[ht]=null,e}(x,t,"R3InjectorError",this.source)}throw x}finally{Ln(S),at(d)}}resolveInjectorInitializers(){const t=at(this),i=Ln(void 0);try{const l=this.get(js,Kn,jt.Self);for(const d of l)d()}finally{at(t),Ln(i)}}toString(){const t=[],i=this.records;for(const o of i.keys())t.push(we(o));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Ke(205,!1)}processProvider(t){let i=Es(t=it(t))?t:it(t&&t.provide);const o=function hb(e){return Lu(e)?$s(void 0,e.useValue):$s(zf(e),Ql)}(t);if(Es(t)||!0!==t.multi)this.records.get(i);else{let l=this.records.get(i);l||(l=$s(void 0,Ql,!0),l.factory=()=>ni(l.multi),this.records.set(i,l)),i=t,l.multi.push(t)}this.records.set(i,o)}hydrate(t,i){return i.value===Ql&&(i.value=ub,i.value=i.factory()),"object"==typeof i.value&&i.value&&function gb(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(i.value)&&this._ngOnDestroyHooks.add(i.value),i.value}injectableDefInScope(t){if(!t.providedIn)return!1;const i=it(t.providedIn);return"string"==typeof i?"any"===i||this.scopes.has(i):this.injectorDefTypes.has(i)}removeOnDestroy(t){const i=this._onDestroyHooks.indexOf(t);-1!==i&&this._onDestroyHooks.splice(i,1)}}function Nu(e){const t=et(e),i=null!==t?t.factory:$n(e);if(null!==i)return i;if(e instanceof an)throw new Ke(204,!1);if(e instanceof Function)return function db(e){const t=e.length;if(t>0)throw Na(t,"?"),new Ke(204,!1);const i=function Vt(e){return e&&(e[on]||e[Lt])||null}(e);return null!==i?()=>i.factory(e):()=>new e}(e);throw new Ke(204,!1)}function zf(e,t,i){let o;if(Es(e)){const l=it(e);return $n(l)||Nu(l)}if(Lu(e))o=()=>it(e.useValue);else if(function Vf(e){return!(!e||!e.useFactory)}(e))o=()=>e.useFactory(...ni(e.deps||[]));else if(function Wf(e){return!(!e||!e.useExisting)}(e))o=()=>vn(it(e.useExisting));else{const l=it(e&&(e.useClass||e.provide));if(!function fb(e){return!!e.deps}(e))return $n(l)||Nu(l);o=()=>new l(...ni(e.deps))}return o}function $s(e,t,i=!1){return{factory:e,value:t,multi:i?[]:void 0}}function ku(e,t){for(const i of e)Array.isArray(i)?ku(i,t):i&&Ut(i)?ku(i.\u0275providers,t):t(i)}function mb(e,t){e instanceof Ks&&e.assertNotDestroyed();const o=at(e),l=Ln(void 0);try{return t()}finally{at(o),Ln(l)}}function ql(e){if(!Rn()&&!function Ee(){return Gn}())throw new Ke(-203,!1)}function Yf(e,t=null,i=null,o){const l=Zf(e,t,i,o);return l.resolveInjectorInitializers(),l}function Zf(e,t=null,i=null,o,l=new Set){const d=[i||Kn,ab(e)];return o=o||("object"==typeof e?void 0:we(e)),new Ks(d,t||Jl(),o||null,l)}let Gu,lo=(()=>{var e;class t{static create(o,l){if(Array.isArray(o))return Yf({name:""},l,o,"");{const d=o.name??"";return Yf({name:d},o.parent,o.providers,d)}}}return(e=t).THROW_IF_NOT_FOUND=bt,e.NULL=new Zl,e.\u0275prov=Mn({token:e,providedIn:"any",factory:()=>vn(kf)}),e.__NG_ELEMENT_ID__=-1,t})();function rs(e){return!!Ne(e)}function Db(e){Gu=e}function is(){if(void 0!==Gu)return Gu;if(typeof document<"u")return document;throw new Ke(210,!1)}const Qf=new an("AppId",{providedIn:"root",factory:()=>Mb}),Mb="ng",Jf=new an("Platform Initializer"),Wu=new an("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),Ib=new an("AnimationModuleType"),Tb=new an("CSP nonce",{providedIn:"root",factory:()=>is().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),qf={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},eg=new an("ImageConfig",{providedIn:"root",factory:()=>qf});function tg(e){return e.ownerDocument.defaultView}function ng(e){return e.ownerDocument}function Vu(e){return e.ownerDocument.body}function eo(e){return e instanceof Function?e():e}function os(e){return"browser"===(e??In(lo)).get(Wu)}function $u(e){gn("Must never be called in production mode");const i=function nc(e){gn("Must never be called in production mode");const i=e[rr][Ie];return i&&i.constructor?he(i.constructor):null}(e)?.type?.name;return i?` (used in the '${i}' component template)`:""}const Wa="ngSkipHydration",Rb="ngskiphydration";function cg(e){const t=e.mergedAttrs;if(null===t)return!1;for(let i=0;i<t.length;i+=2){const o=t[i];if("number"==typeof o)return!1;if("string"==typeof o&&o.toLowerCase()===Rb)return!0}return!1}function ug(e){return e.hasAttribute(Wa)}function ic(e){return 128==(128&e.flags)}var sc=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(sc||{});const xb=/^>|^->|<!--|-->|--!>|<!-$/g,Fb=/(<|>)/g,Lb="\u200b$1\u200b";const Yu=new Map;let Ub=0;const Xu="__ngContext__";function wi(e,t){Wr(t)?(e[Xu]=t[po],function Nb(e){Yu.set(e[po],e)}(t)):e[Xu]=t}let Qu;function Ju(e,t){return Qu(e,t)}function za(e){const t=e[wn];return Nr(t)?t[wn]:t}function yg(e){return Eg(e[fr])}function bg(e){return Eg(e[ce])}function Eg(e){for(;null!==e&&!Nr(e);)e=e[ce];return e}function Zs(e,t,i,o,l){if(null!=o){let d,S=!1;Nr(o)?d=o:Wr(o)&&(S=!0,o=o[Nn]);const x=ur(o);0===e&&null!==i?null==l?Mg(t,i,x):Cs(t,i,x,l||null,!0):1===e&&null!==i?Cs(t,i,x,l||null,!0):2===e?hc(t,x,S):3===e&&t.destroyNode(x),null!=d&&function sE(e,t,i,o,l){const d=i[Mi];d!==ur(i)&&Zs(t,e,o,d,l);for(let x=_r;x<i.length;x++){const j=i[x];$a(j[Nt],j,e,t,o,d)}}(t,e,d,i,l)}}function ac(e,t){return e.createText(t)}function qu(e,t){return e.createComment(function dg(e){return e.replace(xb,t=>t.replace(Fb,Lb))}(t))}function lc(e,t,i){return e.createElement(t,i)}function Sg(e,t){const i=e[_o],o=i.indexOf(t);i.splice(o,1)}function ja(e,t){if(e.length<=_r)return;const i=_r+t,o=e[i];if(o){const l=o[Br];null!==l&&l!==e&&Sg(l,o),t>0&&(e[i-1][ce]=o[ce]);const d=zl(e,_r+t);!function Zb(e,t){$a(e,t,t[fn],2,null,null),t[Nn]=null,t[ie]=null}(o[Nt],o);const S=d[Qr];null!==S&&S.detachView(d[Nt]),o[wn]=null,o[ce]=null,o[Xt]&=-129}return o}function cc(e,t){if(!(256&t[Xt])){const i=t[fn];i.destroyNode&&$a(e,t,i,3,null,null),function Jb(e){let t=e[fr];if(!t)return ed(e[Nt],e);for(;t;){let i=null;if(Wr(t))i=t[fr];else{const o=t[_r];o&&(i=o)}if(!i){for(;t&&!t[ce]&&t!==e;)Wr(t)&&ed(t[Nt],t),t=t[wn];null===t&&(t=e),Wr(t)&&ed(t[Nt],t),i=t&&t[ce]}t=i}}(t)}}function ed(e,t){if(!(256&t[Xt])){t[Xt]&=-129,t[Xt]|=256,t[Di]&&X(t[Di]),function nE(e,t){let i;if(null!=e&&null!=(i=e.destroyHooks))for(let o=0;o<i.length;o+=2){const l=t[i[o]];if(!(l instanceof Fa)){const d=i[o+1];if(Array.isArray(d))for(let S=0;S<d.length;S+=2){const x=l[d[S]],j=d[S+1];$r(4,x,j);try{j.call(x)}finally{$r(5,x,j)}}else{$r(4,l,d);try{d.call(l)}finally{$r(5,l,d)}}}}}(e,t),function tE(e,t){const i=e.cleanup,o=t[q];if(null!==i)for(let d=0;d<i.length-1;d+=2)if("string"==typeof i[d]){const S=i[d+3];S>=0?o[S]():o[-S].unsubscribe(),d+=2}else i[d].call(o[i[d+1]]);null!==o&&(t[q]=null);const l=t[_i];if(null!==l){t[_i]=null;for(let d=0;d<l.length;d++)(0,l[d])()}}(e,t),1===t[Nt].type&&t[fn].destroy();const i=t[Br];if(null!==i&&Nr(t[wn])){i!==t[wn]&&Sg(i,t);const o=t[Qr];null!==o&&o.detachView(e)}!function kb(e){Yu.delete(e[po])}(t)}}function td(e,t,i){return function Dg(e,t,i){let o=t;for(;null!==o&&40&o.type;)o=(t=o).parent;if(null===o)return i[Nn];{const{componentOffset:l}=o;if(l>-1){const{encapsulation:d}=e.data[o.directiveStart+l];if(d===vi.None||d===vi.Emulated)return null}return gr(o,i)}}(e,t.parent,i)}function Cs(e,t,i,o,l){e.insertBefore(t,i,o,l)}function Mg(e,t,i){e.appendChild(t,i)}function Ig(e,t,i,o,l){null!==o?Cs(e,t,i,o,l):Mg(e,t,i)}function uc(e,t){return e.parentNode(t)}function Tg(e,t,i){return Pg(e,t,i)}let nd,fc,gc,Pg=function Ag(e,t,i){return 40&e.type?gr(e,i):null};function dc(e,t,i,o){const l=td(e,o,t),d=t[fn],x=Tg(o.parent||t[ie],o,t);if(null!=l)if(Array.isArray(i))for(let j=0;j<i.length;j++)Ig(d,l,i[j],x,!1);else Ig(d,l,i,x,!1);void 0!==nd&&nd(d,o,t,i,l)}function Ka(e,t){if(null!==t){const i=t.type;if(3&i)return gr(t,e);if(4&i)return rd(-1,e[t.index]);if(8&i){const o=t.child;if(null!==o)return Ka(e,o);{const l=e[t.index];return Nr(l)?rd(-1,l):ur(l)}}if(32&i)return Ju(t,e)()||ur(e[t.index]);{const o=wg(e,t);return null!==o?Array.isArray(o)?o[0]:Ka(za(e[rr]),o):Ka(e,t.next)}}return null}function wg(e,t){return null!==t?e[rr][ie].projection[t.projection]:null}function rd(e,t){const i=_r+e+1;if(i<t.length){const o=t[i],l=o[Nt].firstChild;if(null!==l)return Ka(o,l)}return t[Mi]}function hc(e,t,i){const o=uc(e,t);o&&function rE(e,t,i,o){e.removeChild(t,i,o)}(e,o,t,i)}function Rg(e){e.textContent=""}function id(e,t,i,o,l,d,S){for(;null!=i;){const x=o[i.index],j=i.type;if(S&&0===t&&(x&&wi(ur(x),o),i.flags|=2),32!=(32&i.flags))if(8&j)id(e,t,i.child,o,l,d,!1),Zs(t,e,l,x,d);else if(32&j){const de=Ju(i,o);let Se;for(;Se=de();)Zs(t,e,l,Se,d);Zs(t,e,l,x,d)}else 16&j?xg(e,t,o,i,l,d):Zs(t,e,l,x,d);i=S?i.projectionNext:i.next}}function $a(e,t,i,o,l,d){id(i,o,e.firstChild,t,l,d,!1)}function xg(e,t,i,o,l,d){const S=i[rr],j=S[ie].projection[o.projection];if(Array.isArray(j))for(let de=0;de<j.length;de++)Zs(t,e,l,j[de],d);else{let de=j;const Se=S[wn];ic(o)&&(de.flags|=128),id(e,t,de,Se,l,d,!0)}}function Fg(e,t,i){""===i?e.removeAttribute(t,"class"):e.setAttribute(t,"class",i)}function Lg(e,t,i){const{mergedAttrs:o,classes:l,styles:d}=i;null!==o&&yi(e,t,o),null!==l&&Fg(e,t,l),null!==d&&function lE(e,t,i){e.setAttribute(t,"style",i)}(e,t,d)}function Xs(e){return function od(){if(void 0===fc&&(fc=null,_n.trustedTypes))try{fc=_n.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return fc}()?.createHTML(e)||e}function sd(){if(void 0===gc&&(gc=null,_n.trustedTypes))try{gc=_n.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return gc}function Ug(e){return sd()?.createHTML(e)||e}function Ng(e){return sd()?.createScriptURL(e)||e}class Ss{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${rn})`}}class hE extends Ss{getTypeName(){return"HTML"}}class fE extends Ss{getTypeName(){return"Style"}}class gE extends Ss{getTypeName(){return"Script"}}class pE extends Ss{getTypeName(){return"URL"}}class mE extends Ss{getTypeName(){return"ResourceURL"}}function zo(e){return e instanceof Ss?e.changingThisBreaksApplicationSecurity:e}function Qs(e,t){const i=function vE(e){return e instanceof Ss&&e.getTypeName()||null}(e);if(null!=i&&i!==t){if("ResourceURL"===i&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${i} (see ${rn})`)}return i===t}function _E(e){return new hE(e)}function yE(e){return new fE(e)}function bE(e){return new gE(e)}function EE(e){return new pE(e)}function CE(e){return new mE(e)}class SE{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const i=(new window.DOMParser).parseFromString(Xs(t),"text/html").body;return null===i?this.inertDocumentHelper.getInertBodyElement(t):(i.removeChild(i.firstChild),i)}catch{return null}}}class DE{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const i=this.inertDocument.createElement("template");return i.innerHTML=Xs(t),i}}const IE=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function pc(e){return(e=String(e)).match(IE)?e:"unsafe:"+e}function jo(e){const t={};for(const i of e.split(","))t[i]=!0;return t}function Ya(...e){const t={};for(const i of e)for(const o in i)i.hasOwnProperty(o)&&(t[o]=!0);return t}const Hg=jo("area,br,col,hr,img,wbr"),Gg=jo("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Wg=jo("rp,rt"),ad=Ya(Hg,Ya(Gg,jo("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")),Ya(Wg,jo("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")),Ya(Wg,Gg)),ld=jo("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Vg=Ya(ld,jo("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"),jo("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")),TE=jo("script,style,template");class AE{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let i=t.firstChild,o=!0;for(;i;)if(i.nodeType===Node.ELEMENT_NODE?o=this.startElement(i):i.nodeType===Node.TEXT_NODE?this.chars(i.nodeValue):this.sanitizedSomething=!0,o&&i.firstChild)i=i.firstChild;else for(;i;){i.nodeType===Node.ELEMENT_NODE&&this.endElement(i);let l=this.checkClobberedElement(i,i.nextSibling);if(l){i=l;break}i=this.checkClobberedElement(i,i.parentNode)}return this.buf.join("")}startElement(t){const i=t.nodeName.toLowerCase();if(!ad.hasOwnProperty(i))return this.sanitizedSomething=!0,!TE.hasOwnProperty(i);this.buf.push("<"),this.buf.push(i);const o=t.attributes;for(let l=0;l<o.length;l++){const d=o.item(l),S=d.name,x=S.toLowerCase();if(!Vg.hasOwnProperty(x)){this.sanitizedSomething=!0;continue}let j=d.value;ld[x]&&(j=pc(j)),this.buf.push(" ",S,'="',zg(j),'"')}return this.buf.push(">"),!0}endElement(t){const i=t.nodeName.toLowerCase();ad.hasOwnProperty(i)&&!Hg.hasOwnProperty(i)&&(this.buf.push("</"),this.buf.push(i),this.buf.push(">"))}chars(t){this.buf.push(zg(t))}checkClobberedElement(t,i){if(i&&(t.compareDocumentPosition(i)&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 i}}const PE=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,OE=/([^\#-~ |!])/g;function zg(e){return e.replace(/&/g,"&amp;").replace(PE,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(OE,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let mc;function jg(e,t){let i=null;try{mc=mc||function kg(e){const t=new DE(e);return function ME(){try{return!!(new window.DOMParser).parseFromString(Xs(""),"text/html")}catch{return!1}}()?new SE(t):t}(e);let o=t?String(t):"";i=mc.getInertBodyElement(o);let l=5,d=o;do{if(0===l)throw new Error("Failed to sanitize html because the input is unstable");l--,o=d,d=i.innerHTML,i=mc.getInertBodyElement(o)}while(o!==d);return Xs((new AE).sanitizeChildren(cd(i)||i))}finally{if(i){const o=cd(i)||i;for(;o.firstChild;)o.removeChild(o.firstChild)}}}function cd(e){return"content"in e&&function wE(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Ds=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}(Ds||{});function Kg(e){const t=Za();return t?Ug(t.sanitize(Ds.HTML,e)||""):Qs(e,"HTML")?Ug(zo(e)):jg(is(),Oe(e))}function ud(e){const t=Za();return t?t.sanitize(Ds.URL,e)||"":Qs(e,"URL")?zo(e):pc(Oe(e))}function dd(e){const t=Za();if(t)return Ng(t.sanitize(Ds.RESOURCE_URL,e)||"");if(Qs(e,"ResourceURL"))return Ng(zo(e));throw new Ke(904,!1)}function $g(e,t,i){return function UE(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?dd:ud}(t,i)(e)}function Za(){const e=kt();return e&&e[hn].sanitizer}function BE(e){return e}function NE(){const e=new Xa;return"browser"===In(Wu)&&(e.store=function kE(e,t){const i=e.getElementById(t+"-state");if(i?.textContent)try{return JSON.parse(i.textContent)}catch(o){console.warn("Exception while restoring TransferState for app "+t,o)}return{}}(is(),In(Qf))),e}let Xa=(()=>{var e;class t{constructor(){this.store={},this.onSerializeCallbacks={}}get(o,l){return void 0!==this.store[o]?this.store[o]:l}set(o,l){this.store[o]=l}remove(o){delete this.store[o]}hasKey(o){return this.store.hasOwnProperty(o)}get isEmpty(){return 0===Object.keys(this.store).length}onSerialize(o,l){this.onSerializeCallbacks[o]=l}toJson(){for(const o in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(o))try{this.store[o]=this.onSerializeCallbacks[o]()}catch(l){console.warn("Exception in onSerialize callback: ",l)}return JSON.stringify(this.store).replace(/</g,"\\u003C")}}return(e=t).\u0275prov=Mn({token:e,providedIn:"root",factory:NE}),t})();const hd="h",fd="b";var Js=function(e){return e.FirstChild="f",e.NextSibling="n",e}(Js||{});const gd="e",pd="t",Qa="c",vc="x",qs="r",md="i",vd="n",_c="d",_d="__nghData__",Ja="ngh",HE="nghm";let Yg=(e,t,i)=>null;function GE(e,t,i=!1){let o=e.getAttribute(Ja);if(null==o)return null;const[l,d]=o.split("|");if(o=i?d:l,!o)return null;const S=i?l:d?`|${d}`:"";let x={};if(""!==o){const de=t.get(Xa,null,{optional:!0});null!==de&&(x=de.get(_d,[])[Number(o)])}const j={data:x,firstChild:e.firstChild??null};return i&&(j.firstChild=e,yc(j,0,e.nextSibling)),S?e.setAttribute(Ja,S):e.removeAttribute(Ja),j}function yd(e,t,i=!1){return Yg(e,t,i)}function Zg(e){let t=e._lView;return 2===t[Nt].type?null:(Zo(t)&&(t=t[kn]),t)}function yc(e,t,i){e.segmentHeads??={},e.segmentHeads[t]=i}function bd(e,t){return e.segmentHeads?.[t]??null}function Xg(e,t){return e.data[Qa]?.[t]??null}function Ed(e,t){const i=Xg(e,t)??[];let o=0;for(let l of i)o+=l[qs]*(l[vc]??1);return o}function bc(e,t){if(typeof e.disconnectedNodes>"u"){const i=e.data[_c];e.disconnectedNodes=i?new Set(i):null}return!!e.disconnectedNodes?.has(t)}class $E{}class Qg{}class ZE{resolveComponentFactory(t){throw function YE(e){const t=Error(`No component factory found for ${we(e)}.`);return t.ngComponent=e,t}(t)}}let qa=(()=>{class t{}return t.NULL=new ZE,t})();function XE(){return ea(Er(),kt())}function ea(e,t){return new el(gr(e,t))}let el=(()=>{class t{constructor(o){this.nativeElement=o}}return t.__NG_ELEMENT_ID__=XE,t})();function QE(e){return e instanceof el?e.nativeElement:e}class qg{}let JE=(()=>{class t{constructor(){this.destroyNode=null}}return t.__NG_ELEMENT_ID__=()=>function qE(){const e=kt(),i=Ti(Er().index,e);return(Wr(i)?i:e)[fn]}(),t})(),eC=(()=>{var e;class t{}return(e=t).\u0275prov=Mn({token:e,providedIn:"root",factory:()=>null}),t})();class ep{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const tC=new ep("17.0.6"),Cd={};function nC(e,t){const i=function P(e){const t=Object.create(V);t.computation=e;const i=()=>{if(E(t),a(t),t.value===J)throw t.error;return t.value};return i[v]=t,i}(e);return t?.equal&&(i[v].equal=t.equal),i}function rC(e,t){const i=function ee(e){const t=Object.create(ct);t.value=e;const i=()=>(a(t),t.value);return i[v]=t,i}(e),o=i[v];return t?.equal&&(o.equal=t.equal),i.set=l=>pe(o,l),i.update=l=>function se(e,t){M()||te(),pe(e,t(e.value))}(o,l),i.asReadonly=iC.bind(i),i}function iC(){const e=this[v];if(void 0===e.readonlyFn){const t=()=>this();t[v]=e,e.readonlyFn=t}return e.readonlyFn}function oC(e){const t=_(null);try{return e()}finally{_(t)}}function Ec(e){return!!Sd(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function Sd(e){return null!==e&&("function"==typeof e||"object"==typeof e)}class tp{constructor(){}supports(t){return Ec(t)}create(t){return new cC(t)}}const lC=(e,t)=>t;class cC{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||lC}forEachItem(t){let i;for(i=this._itHead;null!==i;i=i._next)t(i)}forEachOperation(t){let i=this._itHead,o=this._removalsHead,l=0,d=null;for(;i||o;){const S=!o||i&&i.currentIndex<rp(o,l,d)?i:o,x=rp(S,l,d),j=S.currentIndex;if(S===o)l--,o=o._nextRemoved;else if(i=i._next,null==S.previousIndex)l++;else{d||(d=[]);const de=x-l,Se=j-l;if(de!=Se){for(let dt=0;dt<de;dt++){const mt=dt<d.length?d[dt]:d[dt]=0,Ft=mt+dt;Se<=Ft&&Ft<de&&(d[dt]=mt+1)}d[S.previousIndex]=Se-de}}x!==j&&t(S,x,j)}}forEachPreviousItem(t){let i;for(i=this._previousItHead;null!==i;i=i._nextPrevious)t(i)}forEachAddedItem(t){let i;for(i=this._additionsHead;null!==i;i=i._nextAdded)t(i)}forEachMovedItem(t){let i;for(i=this._movesHead;null!==i;i=i._nextMoved)t(i)}forEachRemovedItem(t){let i;for(i=this._removalsHead;null!==i;i=i._nextRemoved)t(i)}forEachIdentityChange(t){let i;for(i=this._identityChangesHead;null!==i;i=i._nextIdentityChange)t(i)}diff(t){if(null==t&&(t=[]),!Ec(t))throw new Ke(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let l,d,S,i=this._itHead,o=!1;if(Array.isArray(t)){this.length=t.length;for(let x=0;x<this.length;x++)d=t[x],S=this._trackByFn(x,d),null!==i&&Object.is(i.trackById,S)?(o&&(i=this._verifyReinsertion(i,d,S,x)),Object.is(i.item,d)||this._addIdentityChange(i,d)):(i=this._mismatch(i,d,S,x),o=!0),i=i._next}else l=0,function aC(e,t){if(Array.isArray(e))for(let i=0;i<e.length;i++)t(e[i]);else{const i=e[Symbol.iterator]();let o;for(;!(o=i.next()).done;)t(o.value)}}(t,x=>{S=this._trackByFn(l,x),null!==i&&Object.is(i.trackById,S)?(o&&(i=this._verifyReinsertion(i,x,S,l)),Object.is(i.item,x)||this._addIdentityChange(i,x)):(i=this._mismatch(i,x,S,l),o=!0),i=i._next,l++}),this.length=l;return this._truncate(i),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,i,o,l){let d;return null===t?d=this._itTail:(d=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(o,null))?(Object.is(t.item,i)||this._addIdentityChange(t,i),this._reinsertAfter(t,d,l)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(o,l))?(Object.is(t.item,i)||this._addIdentityChange(t,i),this._moveAfter(t,d,l)):t=this._addAfter(new uC(i,o),d,l),t}_verifyReinsertion(t,i,o,l){let d=null===this._unlinkedRecords?null:this._unlinkedRecords.get(o,null);return null!==d?t=this._reinsertAfter(d,t._prev,l):t.currentIndex!=l&&(t.currentIndex=l,this._addToMoves(t,l)),t}_truncate(t){for(;null!==t;){const i=t._next;this._addToRemovals(this._unlink(t)),t=i}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,i,o){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const l=t._prevRemoved,d=t._nextRemoved;return null===l?this._removalsHead=d:l._nextRemoved=d,null===d?this._removalsTail=l:d._prevRemoved=l,this._insertAfter(t,i,o),this._addToMoves(t,o),t}_moveAfter(t,i,o){return this._unlink(t),this._insertAfter(t,i,o),this._addToMoves(t,o),t}_addAfter(t,i,o){return this._insertAfter(t,i,o),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,i,o){const l=null===i?this._itHead:i._next;return t._next=l,t._prev=i,null===l?this._itTail=t:l._prev=t,null===i?this._itHead=t:i._next=t,null===this._linkedRecords&&(this._linkedRecords=new np),this._linkedRecords.put(t),t.currentIndex=o,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const i=t._prev,o=t._next;return null===i?this._itHead=o:i._next=o,null===o?this._itTail=i:o._prev=i,t}_addToMoves(t,i){return t.previousIndex===i||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new np),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,i){return t.item=i,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class uC{constructor(t,i){this.item=t,this.trackById=i,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class dC{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,i){let o;for(o=this._head;null!==o;o=o._nextDup)if((null===i||i<=o.currentIndex)&&Object.is(o.trackById,t))return o;return null}remove(t){const i=t._prevDup,o=t._nextDup;return null===i?this._head=o:i._nextDup=o,null===o?this._tail=i:o._prevDup=i,null===this._head}}class np{constructor(){this.map=new Map}put(t){const i=t.trackById;let o=this.map.get(i);o||(o=new dC,this.map.set(i,o)),o.add(t)}get(t,i){const l=this.map.get(t);return l?l.get(t,i):null}remove(t){const i=t.trackById;return this.map.get(i).remove(t)&&this.map.delete(i),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function rp(e,t,i){const o=e.previousIndex;if(null===o)return o;let l=0;return i&&o<i.length&&(l=i[o]),o+t+l}class ip{constructor(){}supports(t){return t instanceof Map||Sd(t)}create(){return new hC}}class hC{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 i;for(i=this._mapHead;null!==i;i=i._next)t(i)}forEachPreviousItem(t){let i;for(i=this._previousMapHead;null!==i;i=i._nextPrevious)t(i)}forEachChangedItem(t){let i;for(i=this._changesHead;null!==i;i=i._nextChanged)t(i)}forEachAddedItem(t){let i;for(i=this._additionsHead;null!==i;i=i._nextAdded)t(i)}forEachRemovedItem(t){let i;for(i=this._removalsHead;null!==i;i=i._nextRemoved)t(i)}diff(t){if(t){if(!(t instanceof Map||Sd(t)))throw new Ke(900,!1)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let i=this._mapHead;if(this._appendAfter=null,this._forEach(t,(o,l)=>{if(i&&i.key===l)this._maybeAddToChanges(i,o),this._appendAfter=i,i=i._next;else{const d=this._getOrCreateRecordForKey(l,o);i=this._insertBeforeOrAppend(i,d)}}),i){i._prev&&(i._prev._next=null),this._removalsHead=i;for(let o=i;null!==o;o=o._nextRemoved)o===this._mapHead&&(this._mapHead=null),this._records.delete(o.key),o._nextRemoved=o._next,o.previousValue=o.currentValue,o.currentValue=null,o._prev=null,o._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,i){if(t){const o=t._prev;return i._next=t,i._prev=o,t._prev=i,o&&(o._next=i),t===this._mapHead&&(this._mapHead=i),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=i,i._prev=this._appendAfter):this._mapHead=i,this._appendAfter=i,null}_getOrCreateRecordForKey(t,i){if(this._records.has(t)){const l=this._records.get(t);this._maybeAddToChanges(l,i);const d=l._prev,S=l._next;return d&&(d._next=S),S&&(S._prev=d),l._next=null,l._prev=null,l}const o=new fC(t);return this._records.set(t,o),o.currentValue=i,this._addToAdditions(o),o}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,i){Object.is(i,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=i,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,i){t instanceof Map?t.forEach(i):Object.keys(t).forEach(o=>i(t[o],o))}}class fC{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 op(){return new Dd([new tp])}let Dd=(()=>{var e;class t{constructor(o){this.factories=o}static create(o,l){if(null!=l){const d=l.factories.slice();o=o.concat(d)}return new t(o)}static extend(o){return{provide:t,useFactory:l=>t.create(o,l||op()),deps:[[t,new $l,new Kl]]}}find(o){const l=this.factories.find(d=>d.supports(o));if(null!=l)return l;throw new Ke(901,!1)}}return(e=t).\u0275prov=Mn({token:e,providedIn:"root",factory:op}),t})();function sp(){return new Md([new ip])}let Md=(()=>{var e;class t{constructor(o){this.factories=o}static create(o,l){if(l){const d=l.factories.slice();o=o.concat(d)}return new t(o)}static extend(o){return{provide:t,useFactory:l=>t.create(o,l||sp()),deps:[[t,new $l,new Kl]]}}find(o){const l=this.factories.find(d=>d.supports(o));if(l)return l;throw new Ke(901,!1)}}return(e=t).\u0275prov=Mn({token:e,providedIn:"root",factory:sp}),t})();function tl(e,t,i,o,l=!1){for(;null!==i;){const d=t[i.index];null!==d&&o.push(ur(d)),Nr(d)&&ap(d,o);const S=i.type;if(8&S)tl(e,t,i.child,o);else if(32&S){const x=Ju(i,t);let j;for(;j=x();)o.push(j)}else if(16&S){const x=wg(t,i);if(Array.isArray(x))o.push(...x);else{const j=za(t[rr]);tl(j[Nt],j,x,o,!0)}}i=l?i.projectionNext:i.next}return o}function ap(e,t){for(let i=_r;i<e.length;i++){const o=e[i],l=o[Nt].firstChild;null!==l&&tl(o[Nt],o,l,t)}e[Mi]!==e[Nn]&&t.push(e[Mi])}let lp=[];const _C={...D,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{pi(e.lView)},consumerOnSignalRead(){this.lView[Di]=this}};function Id(e){return e.ngOriginalError}class as{constructor(){this._console=console}handleError(t){const i=this._findOriginalError(t);this._console.error("ERROR",t),i&&this._console.error("ORIGINAL ERROR",i)}_findOriginalError(t){let i=t&&Id(t);for(;i&&Id(i);)i=Id(i);return i||null}}const Cc=new an(""),dp=new an("",{providedIn:"root",factory:()=>!1}),Yn={};function pp(e){mp(ir(),kt(),Oi()+e,!1)}function mp(e,t,i,o){if(!o)if(3==(3&t[Xt])){const d=e.preOrderCheckHooks;null!==d&&Nl(t,d,i)}else{const d=e.preOrderHooks;null!==d&&kl(t,d,0,i)}ys(i)}function ta(e,t=jt.Default){const i=kt();return null===i?vn(e,t):Mf(Er(),i,it(e),t)}function vp(){throw new Error("invalid")}function Sc(e,t,i,o,l,d,S,x,j,de,Se){const ke=t.blueprint.slice();return ke[Nn]=l,ke[Xt]=140|o,(null!==de||e&&2048&e[Xt])&&(ke[Xt]|=2048),Jo(ke),ke[wn]=ke[Or]=e,ke[Ie]=i,ke[hn]=S||e&&e[hn],ke[fn]=x||e&&e[fn],ke[Et]=j||e&&e[Et]||null,ke[ie]=d,ke[po]=function Bb(){return Ub++}(),ke[Le]=Se,ke[$o]=de,ke[rr]=2==t.type?e[rr]:ke,ke}function na(e,t,i,o,l){let d=e.data[t];if(null===d)d=function Td(e,t,i,o,l){const d=Fl(),S=Ra(),j=e.data[t]=function wC(e,t,i,o,l,d){let S=t?t.injectorIndex:-1,x=0;return vs()&&(x|=128),{type:i,index:o,insertBeforeIndex:null,injectorIndex:S,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:x,providerIndexes:0,value:l,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,S?d:d&&d.parent,i,t,o,l);return null===e.firstChild&&(e.firstChild=j),null!==d&&(S?null==d.child&&null!==j.parent&&(d.child=j):null===d.next&&(d.next=j,j.prev=d)),j}(e,t,i,o,l),function Z(){return xn.lFrame.inI18n}()&&(d.flags|=32);else if(64&d.type){d.type=i,d.value=o,d.attrs=l;const S=function _s(){const e=xn.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();d.injectorIndex=null===S?-1:S.injectorIndex}return Ji(d,!0),d}function nl(e,t,i,o){if(0===i)return-1;const l=t.length;for(let d=0;d<i;d++)t.push(o),e.blueprint.push(o),e.data.push(null);return l}function _p(e,t,i,o,l){const d=Oi(),S=2&o;try{ys(-1),S&&t.length>kn&&mp(e,t,kn,!1),$r(S?2:0,l),i(o,l)}finally{ys(d),$r(S?3:1,l)}}function Ad(e,t,i){if(Yo(t)){const o=_(null);try{const d=t.directiveEnd;for(let S=t.directiveStart;S<d;S++){const x=e.data[S];x.contentQueries&&x.contentQueries(1,i[S],S)}}finally{_(o)}}}function Pd(e,t,i){pu()&&(function NC(e,t,i,o){const l=i.directiveStart,d=i.directiveEnd;zi(i)&&function jC(e,t,i){const o=gr(t,e),l=yp(i);let S=16;i.signals?S=4096:i.onPush&&(S=64);const x=Dc(e,Sc(e,l,null,S,o,t,null,e[hn].rendererFactory.createRenderer(o,i),null,null,null));e[t.index]=x}(t,i,e.data[l+i.componentOffset]),e.firstCreatePass||Gl(i,t),wi(o,t);const S=i.initialInputs;for(let x=l;x<d;x++){const j=e.data[x],de=bs(t,e,x,i);wi(de,t),null!==S&&KC(0,x-l,de,j,0,S),gi(j)&&(Ti(i.index,t)[Ie]=bs(t,e,x,i))}}(e,t,i,gr(i,t)),64==(64&i.flags)&&Dp(e,t,i))}function Od(e,t,i=gr){const o=t.localNames;if(null!==o){let l=t.index+1;for(let d=0;d<o.length;d+=2){const S=o[d+1],x=-1===S?i(t,e):e[S];e[l++]=x}}}function yp(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=wd(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function wd(e,t,i,o,l,d,S,x,j,de,Se){const ke=kn+o,dt=ke+l,mt=function MC(e,t){const i=[];for(let o=0;o<t;o++)i.push(o<e?null:Yn);return i}(ke,dt),Ft="function"==typeof de?de():de;return mt[Nt]={type:e,blueprint:mt,template:i,queries:null,viewQuery:x,declTNode:t,data:mt.slice().fill(null,ke),bindingStartIndex:ke,expandoStartIndex:dt,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 S?S():S,firstChild:null,schemas:j,consts:Ft,incompleteFirstPass:!1,ssrId:Se}}let bp=e=>null;function AC(e){ug(e)?Rg(e):function zE(e){const t=is(),i=t.createNodeIterator(e,NodeFilter.SHOW_COMMENT,{acceptNode(d){const S=function VE(e){return e.textContent?.replace(/\s/gm,"")}(d);return"ngetn"===S||"ngtns"===S?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}});let o;const l=[];for(;o=i.nextNode();)l.push(o);for(const d of l)"ngetn"===d.textContent?d.replaceWith(t.createTextNode("")):d.remove()}(e)}function Ep(e,t,i,o){for(let l in e)if(e.hasOwnProperty(l)){i=null===i?{}:i;const d=e[l];null===o?Cp(i,t,l,d):o.hasOwnProperty(l)&&Cp(i,t,o[l],d)}return i}function Cp(e,t,i,o){e.hasOwnProperty(i)?e[i].push(t,o):e[i]=[t,o]}function to(e,t,i,o,l,d,S,x){const j=gr(t,i);let Se,de=t.inputs;!x&&null!=de&&(Se=de[o])?(Ud(e,i,Se,o,l),zi(t)&&function FC(e,t){const i=Ti(t,e);16&i[Xt]||(i[Xt]|=64)}(i,t.index)):3&t.type&&(o=function xC(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(o),l=null!=S?S(l,t.value||"",o):l,d.setProperty(j,o,l))}function Rd(e,t,i,o){if(pu()){const l=null===o?null:{"":-1},d=function HC(e,t){const i=e.directiveRegistry;let o=null,l=null;if(i)for(let d=0;d<i.length;d++){const S=i[d];if(ui(t,S.selectors,!1))if(o||(o=[]),gi(S))if(null!==S.findHostDirectiveDefs){const x=[];l=l||new Map,S.findHostDirectiveDefs(S,x,l),o.unshift(...x,S),xd(e,t,x.length)}else o.unshift(S),xd(e,t,0);else l=l||new Map,S.findHostDirectiveDefs?.(S,o,l),o.push(S)}return null===o?null:[o,l]}(e,i);let S,x;null===d?S=x=null:[S,x]=d,null!==S&&Sp(e,t,i,S,l,x),l&&function GC(e,t,i){if(t){const o=e.localNames=[];for(let l=0;l<t.length;l+=2){const d=i[t[l+1]];if(null==d)throw new Ke(-301,!1);o.push(t[l],d)}}}(i,o,l)}i.mergedAttrs=ci(i.mergedAttrs,i.attrs)}function Sp(e,t,i,o,l,d){for(let de=0;de<o.length;de++)Du(Gl(i,t),e,o[de].type);!function VC(e,t,i){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+i,e.providerIndexes=t}(i,e.data.length,o.length);for(let de=0;de<o.length;de++){const Se=o[de];Se.providersResolver&&Se.providersResolver(Se)}let S=!1,x=!1,j=nl(e,t,o.length,null);for(let de=0;de<o.length;de++){const Se=o[de];i.mergedAttrs=ci(i.mergedAttrs,Se.hostAttrs),zC(e,i,t,j,Se),WC(j,Se,l),null!==Se.contentQueries&&(i.flags|=4),(null!==Se.hostBindings||null!==Se.hostAttrs||0!==Se.hostVars)&&(i.flags|=64);const ke=Se.type.prototype;!S&&(ke.ngOnChanges||ke.ngOnInit||ke.ngDoCheck)&&((e.preOrderHooks??=[]).push(i.index),S=!0),!x&&(ke.ngOnChanges||ke.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(i.index),x=!0),j++}!function RC(e,t,i){const l=t.directiveEnd,d=e.data,S=t.attrs,x=[];let j=null,de=null;for(let Se=t.directiveStart;Se<l;Se++){const ke=d[Se],dt=i?i.get(ke):null,Ft=dt?dt.outputs:null;j=Ep(ke.inputs,Se,j,dt?dt.inputs:null),de=Ep(ke.outputs,Se,de,Ft);const qt=null===j||null===S||Wi(t)?null:$C(j,Se,S);x.push(qt)}null!==j&&(j.hasOwnProperty("class")&&(t.flags|=8),j.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=x,t.inputs=j,t.outputs=de}(e,i,d)}function Dp(e,t,i){const o=i.directiveStart,l=i.directiveEnd,d=i.index,S=function ze(){return xn.lFrame.currentDirectiveIndex}();try{ys(d);for(let x=o;x<l;x++){const j=e.data[x],de=t[x];Dt(x),(null!==j.hostBindings||0!==j.hostVars||null!==j.hostAttrs)&&kC(j,de)}}finally{ys(-1),Dt(S)}}function kC(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function xd(e,t,i){t.componentOffset=i,(e.components??=[]).push(t.index)}function WC(e,t,i){if(i){if(t.exportAs)for(let o=0;o<t.exportAs.length;o++)i[t.exportAs[o]]=e;gi(t)&&(i[""]=e)}}function zC(e,t,i,o,l){e.data[o]=l;const d=l.factory||(l.factory=$n(l.type)),S=new Fa(d,gi(l),ta);e.blueprint[o]=S,i[o]=S,function UC(e,t,i,o,l){const d=l.hostBindings;if(d){let S=e.hostBindingOpCodes;null===S&&(S=e.hostBindingOpCodes=[]);const x=~t.index;(function BC(e){let t=e.length;for(;t>0;){const i=e[--t];if("number"==typeof i&&i<0)return i}return 0})(S)!=x&&S.push(x),S.push(i,o,d)}}(e,t,o,nl(e,i,l.hostVars,Yn),l)}function xo(e,t,i,o,l,d){const S=gr(e,t);!function Fd(e,t,i,o,l,d,S){if(null==d)e.removeAttribute(t,l,i);else{const x=null==S?Oe(d):S(d,o||"",l);e.setAttribute(t,l,x,i)}}(t[fn],S,d,e.value,i,o,l)}function KC(e,t,i,o,l,d){const S=d[t];if(null!==S)for(let x=0;x<S.length;)Mp(o,i,S[x++],S[x++],S[x++])}function Mp(e,t,i,o,l){const d=_(null);try{const S=e.inputTransforms;null!==S&&S.hasOwnProperty(o)&&(l=S[o].call(t,l)),null!==e.setInput?e.setInput(t,l,i,o):t[o]=l}finally{_(d)}}function $C(e,t,i){let o=null,l=0;for(;l<i.length;){const d=i[l];if(0!==d)if(5!==d){if("number"==typeof d)break;if(e.hasOwnProperty(d)){null===o&&(o=[]);const S=e[d];for(let x=0;x<S.length;x+=2)if(S[x]===t){o.push(d,S[x+1],i[l+1]);break}}l+=2}else l+=2;else l+=4}return o}function Ip(e,t,i,o){return[e,!0,0,t,null,o,null,i,null,null]}function Tp(e,t){const i=e.contentQueries;if(null!==i){const o=_(null);try{for(let l=0;l<i.length;l+=2){const S=i[l+1];if(-1!==S){const x=e.data[S];Fn(i[l]),x.contentQueries(2,t[S],S)}}}finally{_(o)}}}function Dc(e,t){return e[fr]?e[Si][ce]=t:e[fr]=t,e[Si]=t,t}function Ld(e,t,i){Fn(0);const o=_(null);try{t(e,i)}finally{_(o)}}function Ap(e){return e[q]||(e[q]=[])}function Pp(e){return e.cleanup||(e.cleanup=[])}function Op(e,t,i){return(null===e||gi(e))&&(i=function Go(e){for(;Array.isArray(e);){if("object"==typeof e[Xi])return e;e=e[Nn]}return null}(i[t.index])),i[fn]}function Mc(e,t){const i=e[Et],o=i?i.get(as,null):null;o&&o.handleError(t)}function Ud(e,t,i,o,l){for(let d=0;d<i.length;){const S=i[d++],x=i[d++];Mp(e.data[S],t[S],o,x,l)}}function Ko(e,t,i){const o=Dr(t,e);!function Cg(e,t,i){e.setValue(t,i)}(e[fn],o,i)}function wp(e,t,i,o){const l=t[Xt];if(256==(256&l))return;t[hn].inlineEffectRunner?.flush(),Rr(t);let S=null,x=null;(function XC(e){return 2!==e.type})(e)&&(x=function pC(e){return e[Di]??function mC(e){const t=lp.pop()??Object.create(_C);return t.lView=e,t}(e)}(t),S=N(x));try{Jo(t),function G(e){return xn.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==i&&_p(e,t,i,2,o);const j=3==(3&l);if(j){const ke=e.preOrderCheckHooks;null!==ke&&Nl(t,ke,null)}else{const ke=e.preOrderHooks;null!==ke&&kl(t,ke,0,null),yu(t,0)}if(function QC(e){for(let t=yg(e);null!==t;t=bg(t)){if(!(t[Xt]&yo.HasTransplantedViews))continue;const i=t[_o];for(let o=0;o<i.length;o++){Ui(i[o])}}}(t),Rp(t,0),null!==e.contentQueries&&Tp(e,t),j){const ke=e.contentCheckHooks;null!==ke&&Nl(t,ke)}else{const ke=e.contentHooks;null!==ke&&kl(t,ke,1),yu(t,1)}!function DC(e,t){const i=e.hostBindingOpCodes;if(null!==i)try{for(let o=0;o<i.length;o++){const l=i[o];if(l<0)ys(~l);else{const d=l,S=i[++o],x=i[++o];Be(S,d),x(2,t[d])}}}finally{ys(-1)}}(e,t);const de=e.components;null!==de&&Lp(t,de,0);const Se=e.viewQuery;if(null!==Se&&Ld(2,Se,o),j){const ke=e.viewCheckHooks;null!==ke&&Nl(t,ke)}else{const ke=e.viewHooks;null!==ke&&kl(t,ke,2),yu(t,2)}if(!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[mo]){for(const ke of t[mo])ke();t[mo]=null}t[Xt]&=-73}catch(j){throw pi(t),j}finally{null!==x&&(W(x,S),function vC(e){e.lView[Di]!==e&&(e.lView=null,lp.push(e))}(x)),xa()}}function Rp(e,t){for(let i=yg(e);null!==i;i=bg(i)){i[Xt]&=~yo.HasChildViewsToRefresh;for(let o=_r;o<i.length;o++)xp(i[o],t)}}function JC(e,t,i){xp(Ti(t,e),i)}function xp(e,t){Qi(e)&&Fp(e,t)}function Fp(e,t){const o=e[Nt],l=e[Xt],d=e[Di];let S=!!(0===t&&16&l);if(S||=!!(64&l&&0===t),S||=!!(1024&l),S||=!(!d?.dirty||!A(d)),d&&(d.dirty=!1),e[Xt]&=-9217,S)wp(o,e,o.template,e[Ie]);else if(8192&l){Rp(e,1);const x=o.components;null!==x&&Lp(e,x,1)}}function Lp(e,t,i){for(let o=0;o<t.length;o++)JC(e,t[o],i)}function rl(e){for(;e;){e[Xt]|=64;const t=za(e);if(Zo(e)&&!t)return e;e=t}return null}class il{get rootNodes(){const t=this._lView,i=t[Nt];return tl(i,t,i.firstChild,[])}constructor(t,i,o=!0){this._lView=t,this._cdRefInjectingView=i,this.notifyErrorHandler=o,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[Ie]}set context(t){this._lView[Ie]=t}get destroyed(){return 256==(256&this._lView[Xt])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[wn];if(Nr(t)){const i=t[8],o=i?i.indexOf(this):-1;o>-1&&(ja(t,o),zl(i,o))}this._attachedToViewContainer=!1}cc(this._lView[Nt],this._lView)}onDestroy(t){ao(this._lView,t)}markForCheck(){rl(this._cdRefInjectingView||this._lView)}detach(){this._lView[Xt]&=-129}reattach(){br(this._lView),this._lView[Xt]|=128}detectChanges(){!function Bd(e,t=!0){const i=e[hn],o=i.rendererFactory,l=i.afterRenderEventManager;o.begin?.(),l?.begin();try{const S=e[Nt];wp(S,e,S.template,e[Ie]),function ZC(e){let t=0;for(;zr(e);){if(100===t)throw new Ke(103,!1);t++,Fp(e,1)}}(e)}catch(S){throw t&&Mc(e,S),S}finally{o.end?.(),i.inlineEffectRunner?.flush(),l?.end()}}(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Ke(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function Qb(e,t){$a(e,t,t[fn],2,null,null)}(this._lView[Nt],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Ke(902,!1);this._appRef=t}}let Up=(()=>{class t{}return t.__NG_ELEMENT_ID__=qC,t})();function qC(e){return function eS(e,t,i){if(zi(e)&&!i){const o=Ti(e.index,t);return new il(o,o)}return 47&e.type?new il(t[rr],t):null}(Er(),kt(),16==(16&e))}let ol=(()=>{var e;class t{}return(e=t).__NG_ELEMENT_ID__=iS,e.__NG_ENV_ID__=i=>i,t})();class rS extends ol{constructor(t){super(),this._lView=t}onDestroy(t){return ao(this._lView,t),()=>Vo(this._lView,t)}}function iS(){return new rS(kt())}function oS(e,t){if(null!==function m(){return s}())throw new Ke(-602,!1)}const sS=new an("",{providedIn:"root",factory:()=>In(aS)});let aS=(()=>{var e;class t{}return(e=t).\u0275prov=Mn({token:e,providedIn:"root",factory:()=>new cS}),t})(),lS=(()=>{var e;class t{constructor(){this.queuedEffectCount=0,this.queues=new Map}scheduleEffect(o){const l=o.creationZone;this.queues.has(l)||this.queues.set(l,new Set);const d=this.queues.get(l);d.has(o)||(this.queuedEffectCount++,d.add(o))}flush(){for(;this.queuedEffectCount>0;)for(const[o,l]of this.queues)null===o?this.flushQueue(l):o.run(()=>this.flushQueue(l))}flushQueue(o){for(const l of o)o.delete(l),this.queuedEffectCount--,l.run()}}return(e=t).\u0275prov=Mn({token:e,providedIn:"root",factory:()=>new e}),t})();class cS{constructor(){this.hasQueuedFlush=!1,this.delegate=new lS,this.flushTask=()=>{this.delegate.flush(),this.hasQueuedFlush=!1}}scheduleEffect(t){this.delegate.scheduleEffect(t),this.hasQueuedFlush||(queueMicrotask(this.flushTask),this.hasQueuedFlush=!0)}}class uS{constructor(t,i,o,l,d,S){this.scheduler=t,this.effectFn=i,this.creationZone=o,this.errorHandler=d,this.watcher=function Pt(e,t,i){const o=Object.create(tt);i&&(o.consumerAllowSignalWrites=!0),o.fn=e,o.schedule=t;const l=j=>{o.cleanupFn=j};return o.ref={notify:()=>B(o),run:()=>{if(null===o.fn)return;if(function b(){return c}())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(o.dirty=!1,o.hasRun&&!A(o))return;o.hasRun=!0;const j=N(o);try{o.cleanupFn(),o.cleanupFn=lt,o.fn(l)}finally{W(o,j)}},cleanup:()=>o.cleanupFn(),destroy:()=>function S(j){(function d(j){return null===j.fn&&null===j.schedule})(j)||(X(j),j.cleanupFn(),j.fn=null,j.schedule=null,j.cleanupFn=lt)}(o),[v]:o},o.ref}(x=>this.runEffect(x),()=>this.schedule(),S),this.unregisterOnDestroy=l?.onDestroy(()=>this.destroy())}runEffect(t){try{this.effectFn(t)}catch(i){this.errorHandler?.handleError(i)}}run(){this.watcher.run()}schedule(){this.scheduler.scheduleEffect(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}}function Bp(e,t){!t?.injector&&ql();const i=t?.injector??In(lo),o=i.get(as,null,{optional:!0}),l=!0!==t?.manualCleanup?i.get(ol):null,d=new uS(i.get(sS),e,typeof Zone>"u"?null:Zone.current,l,o,t?.allowSignalWrites??!1),S=i.get(Up,null,{optional:!0});return S&&8&S._lView[Xt]?(S._lView[mo]??=[]).push(d.watcher.notify):d.watcher.notify(),d}const Np=new Set;function ls(e){Np.has(e)||(Np.add(e),performance?.mark?.("mark_use_counter",{detail:{feature:e}}))}function Nd(e){return t=>{setTimeout(e,void 0,t)}}const Fo=class dS extends ne.x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,i,o){let l=t,d=i||(()=>null),S=o;if(t&&"object"==typeof t){const j=t;l=j.next?.bind(j),d=j.error?.bind(j),S=j.complete?.bind(j)}this.__isAsync&&(d=Nd(d),l&&(l=Nd(l)),S&&(S=Nd(S)));const x=super.subscribe({next:l,error:d,complete:S});return t instanceof y.w0&&t.add(x),x}};function kp(...e){}class qr{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:o=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Fo(!1),this.onMicrotaskEmpty=new Fo(!1),this.onStable=new Fo(!1),this.onError=new Fo(!1),typeof Zone>"u")throw new Ke(908,!1);Zone.assertZonePatched();const l=this;l._nesting=0,l._outer=l._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(l._inner=l._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(l._inner=l._inner.fork(Zone.longStackTraceZoneSpec)),l.shouldCoalesceEventChangeDetection=!o&&i,l.shouldCoalesceRunChangeDetection=o,l.lastRequestAnimationFrameId=-1,l.nativeRequestAnimationFrame=function hS(){const e="function"==typeof _n.requestAnimationFrame;let t=_n[e?"requestAnimationFrame":"setTimeout"],i=_n[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&i){const o=t[Zone.__symbol__("OriginalDelegate")];o&&(t=o);const l=i[Zone.__symbol__("OriginalDelegate")];l&&(i=l)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:i}}().nativeRequestAnimationFrame,function pS(e){const t=()=>{!function gS(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(_n,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Hd(e),e.isCheckStableRunning=!0,kd(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Hd(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(i,o,l,d,S,x)=>{if(function vS(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(x))return i.invokeTask(l,d,S,x);try{return Hp(e),i.invokeTask(l,d,S,x)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===d.type||e.shouldCoalesceRunChangeDetection)&&t(),Gp(e)}},onInvoke:(i,o,l,d,S,x,j)=>{try{return Hp(e),i.invoke(l,d,S,x,j)}finally{e.shouldCoalesceRunChangeDetection&&t(),Gp(e)}},onHasTask:(i,o,l,d)=>{i.hasTask(l,d),o===l&&("microTask"==d.change?(e._hasPendingMicrotasks=d.microTask,Hd(e),kd(e)):"macroTask"==d.change&&(e.hasPendingMacrotasks=d.macroTask))},onHandleError:(i,o,l,d)=>(i.handleError(l,d),e.runOutsideAngular(()=>e.onError.emit(d)),!1)})}(l)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!qr.isInAngularZone())throw new Ke(909,!1)}static assertNotInAngularZone(){if(qr.isInAngularZone())throw new Ke(909,!1)}run(t,i,o){return this._inner.run(t,i,o)}runTask(t,i,o,l){const d=this._inner,S=d.scheduleEventTask("NgZoneEvent: "+l,t,fS,kp,kp);try{return d.runTask(S,i,o)}finally{d.cancelTask(S)}}runGuarded(t,i,o){return this._inner.runGuarded(t,i,o)}runOutsideAngular(t){return this._outer.run(t)}}const fS={};function kd(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 Hd(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Hp(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Gp(e){e._nesting--,kd(e)}class mS{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Fo,this.onMicrotaskEmpty=new Fo,this.onStable=new Fo,this.onError=new Fo}run(t,i,o){return t.apply(i,o)}runGuarded(t,i,o){return t.apply(i,o)}runOutsideAngular(t){return t()}runTask(t,i,o,l){return t.apply(i,o)}}const Wp=new an("",{providedIn:"root",factory:Vp});function Vp(){const e=In(qr);let t=!0;const i=new ae.y(l=>{t=e.isStable&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks,e.runOutsideAngular(()=>{l.next(t),l.complete()})}),o=new ae.y(l=>{let d;e.runOutsideAngular(()=>{d=e.onStable.subscribe(()=>{qr.assertNotInAngularZone(),queueMicrotask(()=>{!t&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks&&(t=!0,l.next(!0))})})});const S=e.onUnstable.subscribe(()=>{qr.assertInAngularZone(),t&&(t=!1,e.runOutsideAngular(()=>{l.next(!1)}))});return()=>{d.unsubscribe(),S.unsubscribe()}});return(0,w.T)(i,o.pipe((0,St.B)()))}var cs=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(cs||{});const zp={destroy(){}};function jp(e,t){const i=t?.injector??In(lo);os(i)&&i.get(Ic).internalCallbacks.push(e)}function Kp(e,t){!t&&ql();const i=t?.injector??In(lo);if(!os(i))return zp;ls("NgAfterNextRender");const o=i.get(Ic),l=o.handler??=new Yp,d=t?.phase??cs.MixedReadWrite,S=()=>{l.unregister(j),x()},x=i.get(ol).onDestroy(S),j=new $p(i,d,()=>{S(),e()});return l.register(j),{destroy:S}}class $p{constructor(t,i,o){this.phase=i,this.callbackFn=o,this.zone=t.get(qr),this.errorHandler=t.get(as,null,{optional:!0})}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(t){this.errorHandler?.handleError(t)}}}class Yp{constructor(){this.executingCallbacks=!1,this.buckets={[cs.EarlyRead]:new Set,[cs.Write]:new Set,[cs.MixedReadWrite]:new Set,[cs.Read]:new Set},this.deferredCallbacks=new Set}validateBegin(){if(this.executingCallbacks)throw new Ke(102,!1)}register(t){(this.executingCallbacks?this.deferredCallbacks:this.buckets[t.phase]).add(t)}unregister(t){this.buckets[t.phase].delete(t),this.deferredCallbacks.delete(t)}execute(){this.executingCallbacks=!0;for(const t of Object.values(this.buckets))for(const i of t)i.invoke();this.executingCallbacks=!1;for(const t of this.deferredCallbacks)this.buckets[t.phase].add(t);this.deferredCallbacks.clear()}destroy(){for(const t of Object.values(this.buckets))t.clear();this.deferredCallbacks.clear()}}let Ic=(()=>{var e;class t{constructor(){this.renderDepth=0,this.handler=null,this.internalCallbacks=[]}begin(){this.handler?.validateBegin(),this.renderDepth++}end(){if(this.renderDepth--,0===this.renderDepth){for(const o of this.internalCallbacks)o();this.internalCallbacks.length=0,this.handler?.execute()}}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}}return(e=t).\u0275prov=Mn({token:e,providedIn:"root",factory:()=>new e}),t})();function yS(e,t){const i=Ti(t,e),o=i[Nt];!function bS(e,t){for(let i=t.length;i<e.blueprint.length;i++)t.push(e.blueprint[i])}(o,i);const l=i[Nn];null!==l&&null===i[Le]&&(i[Le]=yd(l,i[Et])),Gd(o,i,i[Ie])}function Gd(e,t,i){Rr(t);try{const o=e.viewQuery;null!==o&&Ld(1,o,i);const l=e.template;null!==l&&_p(e,t,l,1,i),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&Tp(e,t),e.staticViewQueries&&Ld(2,e.viewQuery,i);const d=e.components;null!==d&&function ES(e,t){for(let i=0;i<t.length;i++)yS(e,t[i])}(t,d)}catch(o){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),o}finally{t[Xt]&=-5,xa()}}function Tc(e,t,i){let o=i?e.styles:null,l=i?e.classes:null,d=0;if(null!==t)for(let S=0;S<t.length;S++){const x=t[S];"number"==typeof x?d=x:1==d?l=$e(l,x):2==d&&(o=$e(o,x+": "+t[++S]+";"))}i?e.styles=o:e.stylesWithoutHost=o,i?e.classes=l:e.classesWithoutHost=l}class Zp extends qa{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const i=he(t);return new sl(i,this.ngModule)}}function Xp(e){const t=[];for(let i in e)e.hasOwnProperty(i)&&t.push({propName:e[i],templateName:i});return t}class SS{constructor(t,i){this.injector=t,this.parentInjector=i}get(t,i,o){o=Qn(o);const l=this.injector.get(t,Cd,o);return l!==Cd||i===Cd?l:this.parentInjector.get(t,i,o)}}class sl extends Qg{get inputs(){const t=this.componentDef,i=t.inputTransforms,o=Xp(t.inputs);if(null!==i)for(const l of o)i.hasOwnProperty(l.propName)&&(l.transform=i[l.propName]);return o}get outputs(){return Xp(this.componentDef.outputs)}constructor(t,i){super(),this.componentDef=t,this.ngModule=i,this.componentType=t.type,this.selector=function Fi(e){return e.map(di).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!i}create(t,i,o,l){let d=(l=l||this.ngModule)instanceof Ro?l:l?.injector;d&&null!==this.componentDef.getStandaloneInjector&&(d=this.componentDef.getStandaloneInjector(d)||d);const S=d?new SS(t,d):t,x=S.get(qg,null);if(null===x)throw new Ke(407,!1);const Se={rendererFactory:x,sanitizer:S.get(eC,null),inlineEffectRunner:null,afterRenderEventManager:S.get(Ic,null)},ke=x.createRenderer(null,this.componentDef),dt=this.componentDef.selectors[0][0]||"div",mt=o?function IC(e,t,i,o){const d=o.get(dp,!1)||i===vi.ShadowDom,S=e.selectRootElement(t,d);return function TC(e){bp(e)}(S),S}(ke,o,this.componentDef.encapsulation,S):lc(ke,dt,function CS(e){const t=e.toLowerCase();return"svg"===t?Io:"math"===t?"math":null}(dt)),un=this.componentDef.signals?4608:this.componentDef.onPush?576:528;let Dn=null;null!==mt&&(Dn=yd(mt,S,!0));const Zt=wd(0,null,null,1,0,null,null,null,null,null,null),Hn=Sc(null,Zt,null,un,null,null,Se,ke,S,null,Dn);let ar,vr;Rr(Hn);try{const mi=this.componentDef;let ws,cf=null;mi.findHostDirectiveDefs?(ws=[],cf=new Map,mi.findHostDirectiveDefs(mi,ws,cf),ws.push(mi)):ws=[mi];const gP=function MS(e,t){const i=e[Nt],o=kn;return e[o]=t,na(i,o,2,"#host",null)}(Hn,mt),pP=function IS(e,t,i,o,l,d,S){const x=l[Nt];!function TS(e,t,i,o){for(const l of e)t.mergedAttrs=ci(t.mergedAttrs,l.hostAttrs);null!==t.mergedAttrs&&(Tc(t,t.mergedAttrs,!0),null!==i&&Lg(o,i,t))}(o,e,t,S);let j=null;null!==t&&(j=yd(t,l[Et]));const de=d.rendererFactory.createRenderer(t,i);let Se=16;i.signals?Se=4096:i.onPush&&(Se=64);const ke=Sc(l,yp(i),null,Se,l[e.index],e,d,de,null,null,j);return x.firstCreatePass&&xd(x,e,o.length-1),Dc(l,ke),l[e.index]=ke}(gP,mt,mi,ws,Hn,Se,ke);vr=To(Zt,kn),mt&&function PS(e,t,i,o){if(o)yi(e,i,["ng-version",tC.full]);else{const{attrs:l,classes:d}=function Li(e){const t=[],i=[];let o=1,l=2;for(;o<e.length;){let d=e[o];if("string"==typeof d)2===l?""!==d&&t.push(d,e[++o]):8===l&&i.push(d);else{if(!Gr(l))break;l=d}o++}return{attrs:t,classes:i}}(t.selectors[0]);l&&yi(e,i,l),d&&d.length>0&&Fg(e,i,d.join(" "))}}(ke,mi,mt,o),void 0!==i&&function OS(e,t,i){const o=e.projection=[];for(let l=0;l<t.length;l++){const d=i[l];o.push(null!=d?Array.from(d):null)}}(vr,this.ngContentSelectors,i),ar=function AS(e,t,i,o,l,d){const S=Er(),x=l[Nt],j=gr(S,l);Sp(x,l,S,i,null,o);for(let Se=0;Se<i.length;Se++)wi(bs(l,x,S.directiveStart+Se,S),l);Dp(x,l,S),j&&wi(j,l);const de=bs(l,x,S.directiveStart+S.componentOffset,S);if(e[Ie]=l[Ie]=de,null!==d)for(const Se of d)Se(de,t);return Ad(x,S,e),de}(pP,mi,ws,cf,Hn,[wS]),Gd(Zt,Hn,null)}finally{xa()}return new DS(this.componentType,ar,ea(vr,Hn),Hn,vr)}}class DS extends $E{constructor(t,i,o,l,d){super(),this.location=o,this._rootLView=l,this._tNode=d,this.previousInputValues=null,this.instance=i,this.hostView=this.changeDetectorRef=new il(l,void 0,!1),this.componentType=t}setInput(t,i){const o=this._tNode.inputs;let l;if(null!==o&&(l=o[t])){if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),i))return;const d=this._rootLView;Ud(d[Nt],d,l,t,i),this.previousInputValues.set(t,i),rl(Ti(this._tNode.index,d))}}get injector(){return new oi(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function wS(){const e=Er();Bl(kt()[Nt],e)}function Wd(e){let t=function Qp(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),i=!0;const o=[e];for(;t;){let l;if(gi(e))l=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new Ke(903,!1);l=t.\u0275dir}if(l){if(i){o.push(l);const S=e;S.inputs=Ac(e.inputs),S.inputTransforms=Ac(e.inputTransforms),S.declaredInputs=Ac(e.declaredInputs),S.outputs=Ac(e.outputs);const x=l.hostBindings;x&&LS(e,x);const j=l.viewQuery,de=l.contentQueries;if(j&&xS(e,j),de&&FS(e,de),st(e.inputs,l.inputs),st(e.declaredInputs,l.declaredInputs),st(e.outputs,l.outputs),null!==l.inputTransforms&&(null===S.inputTransforms&&(S.inputTransforms={}),st(S.inputTransforms,l.inputTransforms)),gi(l)&&l.data.animation){const Se=e.data;Se.animation=(Se.animation||[]).concat(l.data.animation)}}const d=l.features;if(d)for(let S=0;S<d.length;S++){const x=d[S];x&&x.ngInherit&&x(e),x===Wd&&(i=!1)}}t=Object.getPrototypeOf(t)}!function RS(e){let t=0,i=null;for(let o=e.length-1;o>=0;o--){const l=e[o];l.hostVars=t+=l.hostVars,l.hostAttrs=ci(l.hostAttrs,i=ci(i,l.hostAttrs))}}(o)}function Ac(e){return e===Hr?{}:e===Kn?[]:e}function xS(e,t){const i=e.viewQuery;e.viewQuery=i?(o,l)=>{t(o,l),i(o,l)}:t}function FS(e,t){const i=e.contentQueries;e.contentQueries=i?(o,l,d)=>{t(o,l,d),i(o,l,d)}:t}function LS(e,t){const i=e.hostBindings;e.hostBindings=i?(o,l)=>{t(o,l),i(o,l)}:t}function tm(e){const t=e.inputConfig,i={};for(const o in t)if(t.hasOwnProperty(o)){const l=t[o];Array.isArray(l)&&l[2]&&(i[o]=l[2])}e.inputTransforms=i}function Lo(e,t,i){return e[t]=i}function ei(e,t,i){return!Object.is(e[t],i)&&(e[t]=i,!0)}function Ms(e,t,i,o){const l=ei(e,t,i);return ei(e,t+1,o)||l}function Pc(e,t,i,o,l){const d=Ms(e,t,i,o);return ei(e,t+2,l)||d}function Vd(e,t,i,o){const l=kt();return ei(l,Y(),t)&&(ir(),xo(xr(),l,e,t,i,o)),Vd}function ia(e,t,i,o){return ei(e,Y(),i)?t+Oe(i)+o:Yn}function oa(e,t,i,o,l,d){const x=Ms(e,Po(),i,l);return re(2),x?t+Oe(i)+o+Oe(l)+d:Yn}function Oc(e,t){return e<<17|t<<2}function us(e){return e>>17&32767}function zd(e){return 2|e}function Is(e){return(131068&e)>>2}function jd(e,t){return-131069&e|t<<2}function Kd(e){return 1|e}function dm(e,t,i,o,l){const d=e[i+1],S=null===t;let x=o?us(d):Is(d),j=!1;for(;0!==x&&(!1===j||S);){const Se=e[x+1];KS(e[x],t)&&(j=!0,e[x+1]=o?Kd(Se):zd(Se)),x=o?us(Se):Is(Se)}j&&(e[i+1]=o?zd(d):Kd(d))}function KS(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Vs(e,t)>=0}const ai={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function hm(e){return e.substring(ai.key,ai.keyEnd)}function $S(e){return e.substring(ai.value,ai.valueEnd)}function fm(e,t){const i=ai.textEnd;return i===t?-1:(t=ai.keyEnd=function XS(e,t,i){for(;t<i&&e.charCodeAt(t)>32;)t++;return t}(e,ai.key=t,i),ha(e,t,i))}function gm(e,t){const i=ai.textEnd;let o=ai.key=ha(e,t,i);return i===o?-1:(o=ai.keyEnd=function QS(e,t,i){let o;for(;t<i&&(45===(o=e.charCodeAt(t))||95===o||(-33&o)>=65&&(-33&o)<=90||o>=48&&o<=57);)t++;return t}(e,o,i),o=mm(e,o,i),o=ai.value=ha(e,o,i),o=ai.valueEnd=function JS(e,t,i){let o=-1,l=-1,d=-1,S=t,x=S;for(;S<i;){const j=e.charCodeAt(S++);if(59===j)return x;34===j||39===j?x=S=vm(e,j,S,i):t===S-4&&85===d&&82===l&&76===o&&40===j?x=S=vm(e,41,S,i):j>32&&(x=S),d=l,l=o,o=-33&j}return x}(e,o,i),mm(e,o,i))}function pm(e){ai.key=0,ai.keyEnd=0,ai.value=0,ai.valueEnd=0,ai.textEnd=e.length}function ha(e,t,i){for(;t<i&&e.charCodeAt(t)<=32;)t++;return t}function mm(e,t,i,o){return(t=ha(e,t,i))<i&&t++,t}function vm(e,t,i,o){let l=-1,d=i;for(;d<o;){const S=e.charCodeAt(d++);if(S==t&&92!==l)return d;l=92==S&&92===l?0:S}throw new Error}function $d(e,t,i){const o=kt();return ei(o,Y(),t)&&to(ir(),xr(),o,e,t,o[fn],i,!1),$d}function Yd(e,t,i,o,l){const S=l?"class":"style";Ud(e,i,t.inputs[S],S,o)}function Zd(e,t,i){return Co(e,t,i,!1),Zd}function Xd(e,t){return Co(e,t,null,!0),Xd}function Eo(e){So(Em,qS,e,!1)}function qS(e,t){for(let i=function ZS(e){return pm(e),gm(e,ha(e,0,ai.textEnd))}(t);i>=0;i=gm(t,i))Em(e,hm(t),$S(t))}function _m(e){So(oD,Uo,e,!0)}function Uo(e,t){for(let i=function YS(e){return pm(e),fm(e,ha(e,0,ai.textEnd))}(t);i>=0;i=fm(t,i))qi(e,hm(t),!0)}function Co(e,t,i,o){const l=kt(),d=ir(),S=re(2);d.firstUpdatePass&&bm(d,e,S,o),t!==Yn&&ei(l,S,t)&&Cm(d,d.data[Oi()],l,l[fn],e,l[S+1]=function aD(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=we(zo(e)))),e}(t,i),o,S)}function So(e,t,i,o){const l=ir(),d=re(2);l.firstUpdatePass&&bm(l,null,d,o);const S=kt();if(i!==Yn&&ei(S,d,i)){const x=l.data[Oi()];if(Dm(x,o)&&!ym(l,d)){let j=o?x.classesWithoutHost:x.stylesWithoutHost;null!==j&&(i=$e(j,i||"")),Yd(l,x,S,i,o)}else!function sD(e,t,i,o,l,d,S,x){l===Yn&&(l=Kn);let j=0,de=0,Se=0<l.length?l[0]:null,ke=0<d.length?d[0]:null;for(;null!==Se||null!==ke;){const dt=j<l.length?l[j+1]:void 0,mt=de<d.length?d[de+1]:void 0;let qt,Ft=null;Se===ke?(j+=2,de+=2,dt!==mt&&(Ft=ke,qt=mt)):null===ke||null!==Se&&Se<ke?(j+=2,Ft=Se):(de+=2,Ft=ke,qt=mt),null!==Ft&&Cm(e,t,i,o,Ft,qt,S,x),Se=j<l.length?l[j]:null,ke=de<d.length?d[de]:null}}(l,x,S,S[fn],S[d+1],S[d+1]=function iD(e,t,i){if(null==i||""===i)return Kn;const o=[],l=zo(i);if(Array.isArray(l))for(let d=0;d<l.length;d++)e(o,l[d],!0);else if("object"==typeof l)for(const d in l)l.hasOwnProperty(d)&&e(o,d,l[d]);else"string"==typeof l&&t(o,l);return o}(e,t,i),o,d)}}function ym(e,t){return t>=e.expandoStartIndex}function bm(e,t,i,o){const l=e.data;if(null===l[i+1]){const d=l[Oi()],S=ym(e,i);Dm(d,o)&&null===t&&!S&&(t=!1),t=function eD(e,t,i,o){const l=Jt(e);let d=o?t.residualClasses:t.residualStyles;if(null===l)0===(o?t.classBindings:t.styleBindings)&&(i=ll(i=Qd(null,e,t,i,o),t.attrs,o),d=null);else{const S=t.directiveStylingLast;if(-1===S||e[S]!==l)if(i=Qd(l,e,t,i,o),null===d){let j=function tD(e,t,i){const o=i?t.classBindings:t.styleBindings;if(0!==Is(o))return e[us(o)]}(e,t,o);void 0!==j&&Array.isArray(j)&&(j=Qd(null,e,t,j[1],o),j=ll(j,t.attrs,o),function nD(e,t,i,o){e[us(i?t.classBindings:t.styleBindings)]=o}(e,t,o,j))}else d=function rD(e,t,i){let o;const l=t.directiveEnd;for(let d=1+t.directiveStylingLast;d<l;d++)o=ll(o,e[d].hostAttrs,i);return ll(o,t.attrs,i)}(e,t,o)}return void 0!==d&&(o?t.residualClasses=d:t.residualStyles=d),i}(l,d,t,o),function zS(e,t,i,o,l,d){let S=d?t.classBindings:t.styleBindings,x=us(S),j=Is(S);e[o]=i;let Se,de=!1;if(Array.isArray(i)?(Se=i[1],(null===Se||Vs(i,Se)>0)&&(de=!0)):Se=i,l)if(0!==j){const dt=us(e[x+1]);e[o+1]=Oc(dt,x),0!==dt&&(e[dt+1]=jd(e[dt+1],o)),e[x+1]=function WS(e,t){return 131071&e|t<<17}(e[x+1],o)}else e[o+1]=Oc(x,0),0!==x&&(e[x+1]=jd(e[x+1],o)),x=o;else e[o+1]=Oc(j,0),0===x?x=o:e[j+1]=jd(e[j+1],o),j=o;de&&(e[o+1]=zd(e[o+1])),dm(e,Se,o,!0),dm(e,Se,o,!1),function jS(e,t,i,o,l){const d=l?e.residualClasses:e.residualStyles;null!=d&&"string"==typeof t&&Vs(d,t)>=0&&(i[o+1]=Kd(i[o+1]))}(t,Se,e,o,d),S=Oc(x,j),d?t.classBindings=S:t.styleBindings=S}(l,d,t,i,S,o)}}function Qd(e,t,i,o,l){let d=null;const S=i.directiveEnd;let x=i.directiveStylingLast;for(-1===x?x=i.directiveStart:x++;x<S&&(d=t[x],o=ll(o,d.hostAttrs,l),d!==e);)x++;return null!==e&&(i.directiveStylingLast=x),o}function ll(e,t,i){const o=i?1:2;let l=-1;if(null!==t)for(let d=0;d<t.length;d++){const S=t[d];"number"==typeof S?l=S:l===o&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),qi(e,S,!!i||t[++d]))}return void 0===e?null:e}function Em(e,t,i){qi(e,t,zo(i))}function oD(e,t,i){const o=String(t);""!==o&&!o.includes(" ")&&qi(e,o,i)}function Cm(e,t,i,o,l,d,S,x){if(!(3&t.type))return;const j=e.data,de=j[x+1],Se=function VS(e){return 1==(1&e)}(de)?Sm(j,t,i,l,Is(de),S):void 0;wc(Se)||(wc(d)||function GS(e){return 2==(2&e)}(de)&&(d=Sm(j,null,i,l,x,S)),function aE(e,t,i,o,l){if(t)l?e.addClass(i,o):e.removeClass(i,o);else{let d=-1===o.indexOf("-")?void 0:sc.DashCase;null==l?e.removeStyle(i,o,d):("string"==typeof l&&l.endsWith("!important")&&(l=l.slice(0,-10),d|=sc.Important),e.setStyle(i,o,l,d))}}(o,S,Dr(Oi(),i),l,d))}function Sm(e,t,i,o,l,d){const S=null===t;let x;for(;l>0;){const j=e[l],de=Array.isArray(j),Se=de?j[1]:j,ke=null===Se;let dt=i[l+1];dt===Yn&&(dt=ke?Kn:void 0);let mt=ke?Pu(dt,o):Se===o?dt:void 0;if(de&&!wc(mt)&&(mt=Pu(j,o)),wc(mt)&&(x=mt,S))return x;const Ft=e[l+1];l=S?us(Ft):Is(Ft)}if(null!==t){let j=d?t.residualClasses:t.residualStyles;null!=j&&(x=Pu(j,o))}return x}function wc(e){return void 0!==e}function Dm(e,t){return 0!=(e.flags&(t?8:16))}function Mm(e,t,i){So(qi,Uo,ia(kt(),e,t,i),!0)}function Im(e,t,i,o,l){So(qi,Uo,oa(kt(),e,t,i,o,l),!0)}function Pm(e){const t=e[vo]??[],o=e[wn][fn];for(const l of t)DD(l,o);e[vo]=Kn}function DD(e,t){let i=0,o=e.firstChild;if(o){const l=e.data[qs];for(;i<l;){const d=o.nextSibling;hc(t,o,!1),o=d,i++}}}function Om(e){Pm(e);for(let t=_r;t<e.length;t++)xc(e[t])}function xc(e){const t=e[Nt];for(let i=kn;i<t.bindingStartIndex;i++)Nr(e[i])?Om(e[i]):Wr(e[i])&&xc(e[i])}const ID=new RegExp(`^(\\d+)*(${fd}|${hd})*(.*)`);function th(e){return e.index-kn}function Fc(e,t,i,o){let l=null;const d=th(o),S=e.data[vd];if(S?.[d])l=function wD(e,t){const[i,...o]=function AD(e){const t=e.match(ID),[i,o,l,d]=t,S=o?parseInt(o,10):l,x=[];for(const[j,de,Se]of d.matchAll(/(f|n)(\d*)/g)){const ke=parseInt(Se,10)||1;x.push(de,ke)}return[S,...x]}(e);let l;return l=i===hd?t[rr][Nn]:i===fd?Vu(t[rr][Nn]):ur(t[Number(i)+kn]),function OD(e,t){let i=e;for(let o=0;o<t.length;o+=2){const l=t[o],d=t[o+1];for(let S=0;S<d;S++)switch(l){case Js.FirstChild:i=i.firstChild;break;case Js.NextSibling:i=i.nextSibling}}return i}(l,o)}(S[d],i);else if(t.firstChild===o)l=e.firstChild;else{const x=null===o.prev,j=o.prev??o.parent;if(function PD(e){return!e.prev&&8===e.parent?.type}(o))l=bd(e,th(o.parent));else{let de=gr(j,i);if(x)l=de.firstChild;else{const Se=th(j),ke=bd(e,Se);l=2===j.type&&ke?Lc(Ed(e,Se)+1,ke):de.nextSibling}}}return l}function Lc(e,t){let i=t;for(let o=0;o<e;o++)i=i.nextSibling;return i}let Rm=(e,t)=>null;function LD(e,t){const i=e[vo];return t&&null!==i&&0!==i.length?i[0].data[md]===t?i.shift():(Pm(e),null):null}function fa(e,t){return Rm(e,t)}class BD{destroy(t){}updateValue(t,i){}swap(t,i){const o=Math.min(t,i),l=Math.max(t,i),d=this.detach(l);if(l-o>1){const S=this.detach(o);this.attach(o,d),this.attach(l,S)}else this.attach(o,d)}move(t,i){this.attach(i,this.detach(t))}}function rh(e,t,i,o,l){return e===i&&Object.is(t,o)?1:Object.is(l(e,t),l(i,o))?-1:0}function ih(e,t,i,o){return!(void 0===t||!t.has(o)||(e.attach(i,t.get(o)),t.delete(o),0))}function xm(e,t,i,o,l){if(ih(e,t,o,i(o,l)))e.updateValue(o,l);else{const d=e.create(o,l);e.attach(o,d)}}function Fm(e,t,i,o){const l=new Set;for(let d=t;d<=i;d++)l.add(o(d,e.at(d)));return l}class Lm{constructor(){this.map=new Map}has(t){const i=this.map.get(t);return void 0!==i&&i.length>0}delete(t){const i=this.map.get(t);return void 0!==i&&(i.shift(),!0)}get(t){const i=this.map.get(t);return void 0!==i&&i.length>0?i[0]:void 0}set(t,i){this.map.has(t)?this.map.get(t)?.push(i):this.map.set(t,[i])}forEach(t){for(const[i,o]of this.map)for(const l of o)t(l,i)}}function fl(e,t,i,o){const l=t.tView,x=Sc(e,l,i,4096&e[Xt]?4096:16,null,t,null,null,null,o?.injector??null,o?.dehydratedView??null);x[Br]=e[t.index];const de=e[Qr];return null!==de&&(x[Qr]=de.createEmbeddedView(l)),Gd(l,x,i),x}function Um(e,t){const i=_r+t;if(i<e.length)return e[i]}function ga(e,t){return!t||null===t.firstChild||ic(e)}function gl(e,t,i,o=!0){const l=t[Nt];if(function qb(e,t,i,o){const l=_r+o,d=i.length;o>0&&(i[l-1][ce]=t),o<d-_r?(t[ce]=i[l],Rf(i,_r+o,t)):(i.push(t),t[ce]=null),t[wn]=i;const S=t[Br];null!==S&&i!==S&&function eE(e,t){const i=e[_o];t[rr]!==t[wn][wn][rr]&&(e[Xt]|=yo.HasTransplantedViews),null===i?e[_o]=[t]:i.push(t)}(S,t);const x=t[Qr];null!==x&&x.insertView(e),br(t),t[Xt]|=128}(l,t,e,i),o){const S=rd(i,e),x=t[fn],j=uc(x,e[Mi]);null!==j&&function Xb(e,t,i,o,l,d){o[Nn]=l,o[ie]=t,$a(e,o,i,1,l,d)}(l,e[ie],x,t,j,S)}const d=t[Le];null!==d&&null!==d.firstChild&&(d.firstChild=null)}function oh(e,t){const i=ja(e,t);return void 0!==i&&cc(i[Nt],i),i}let Uc=(()=>{class t{}return t.__NG_ELEMENT_ID__=kD,t})();function kD(){return km(Er(),kt())}const HD=Uc,Bm=class extends HD{constructor(t,i,o){super(),this._lContainer=t,this._hostTNode=i,this._hostLView=o}get element(){return ea(this._hostTNode,this._hostLView)}get injector(){return new oi(this._hostTNode,this._hostLView)}get parentInjector(){const t=Wl(this._hostTNode,this._hostLView);if(Eu(t)){const i=Ua(t,this._hostLView),o=La(t);return new oi(i[Nt].data[o+8],i)}return new oi(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const i=Nm(this._lContainer);return null!==i&&i[t]||null}get length(){return this._lContainer.length-_r}createEmbeddedView(t,i,o){let l,d;"number"==typeof o?l=o:null!=o&&(l=o.index,d=o.injector);const S=fa(this._lContainer,t.ssrId),x=t.createEmbeddedViewImpl(i||{},d,S);return this.insertImpl(x,l,ga(this._hostTNode,S)),x}createComponent(t,i,o,l,d){const S=t&&!function Ba(e){return"function"==typeof e}(t);let x;if(S)x=i;else{const Ft=i||{};x=Ft.index,o=Ft.injector,l=Ft.projectableNodes,d=Ft.environmentInjector||Ft.ngModuleRef}const j=S?t:new sl(he(t)),de=o||this.parentInjector;if(!d&&null==j.ngModule){const qt=(S?de:this.parentInjector).get(Ro,null);qt&&(d=qt)}const Se=he(j.componentType??{}),ke=fa(this._lContainer,Se?.id??null),mt=j.create(de,l,ke?.firstChild??null,d);return this.insertImpl(mt.hostView,x,ga(this._hostTNode,ke)),mt}insert(t,i){return this.insertImpl(t,i,!0)}insertImpl(t,i,o){const l=t._lView;if(function ms(e){return Nr(e[wn])}(l)){const x=this.indexOf(t);if(-1!==x)this.detach(x);else{const j=l[wn],de=new Bm(j,j[ie],j[wn]);de.detach(de.indexOf(t))}}const d=this._adjustIndex(i),S=this._lContainer;return gl(S,l,d,o),t.attachToViewContainerRef(),Rf(sh(S),d,t),t}move(t,i){return this.insert(t,i)}indexOf(t){const i=Nm(this._lContainer);return null!==i?i.indexOf(t):-1}remove(t){const i=this._adjustIndex(t,-1),o=ja(this._lContainer,i);o&&(zl(sh(this._lContainer),i),cc(o[Nt],o))}detach(t){const i=this._adjustIndex(t,-1),o=ja(this._lContainer,i);return o&&null!=zl(sh(this._lContainer),i)?new il(o):null}_adjustIndex(t,i=0){return t??this.length+i}};function Nm(e){return e[8]}function sh(e){return e[8]||(e[8]=[])}function km(e,t){let i;const o=t[e.index];return Nr(o)?i=o:(i=Ip(o,t,null,e),t[e.index]=i,Dc(t,i)),Hm(i,t,e,o),new Bm(i,e,t)}let Hm=Wm,ah=(e,t,i)=>!1;function Gm(e,t,i){return ah(e,t,i)}function Wm(e,t,i,o){if(e[Mi])return;let l;l=8&i.type?ur(o):function GD(e,t){const i=e[fn],o=i.createComment(""),l=gr(t,e);return Cs(i,uc(i,l),o,function iE(e,t){return e.nextSibling(t)}(i,l),!1),o}(t,i),e[Mi]=l}function WD(e,t,i){if(e[Mi]&&e[vo])return!0;const o=i[Le],l=t.index-kn;if(!o||function oc(e){if(ic(e))return!0;let t=e.parent;for(;t;){if(ic(e)||cg(t))return!0;t=t.parent}return!1}(t)||bc(o,l))return!1;const S=bd(o,l),x=o.data[Qa]?.[l],[j,de]=function FD(e,t){const i=[];for(const o of t)for(let l=0;l<(o[vc]??1);l++){const d={data:o,firstChild:null};o[qs]>0&&(d.firstChild=e,e=Lc(o[qs],e)),i.push(d)}return[e,i]}(S,x);return e[Mi]=j,e[vo]=de,!0}function VD(e,t,i,o){ah(e,i,t)||Wm(e,t,i,o)}function pa(e,t,i,o,l,d,S,x){const j=kt(),de=ir(),Se=e+kn,ke=de.firstCreatePass?function jD(e,t,i,o,l,d,S,x,j){const de=t.consts,Se=na(t,e,4,S||null,Ai(de,x));Rd(t,i,Se,Ai(de,j)),Bl(t,Se);const ke=Se.tView=wd(2,Se,o,l,d,t.directiveRegistry,t.pipeRegistry,null,t.schemas,de,null);return null!==t.queries&&(t.queries.template(t,Se),ke.queries=t.queries.embeddedTView(Se)),Se}(Se,de,j,t,i,o,l,d,S):de.data[Se];Ji(ke,!1);const dt=Vm(de,j,ke,e);Ul()&&dc(de,j,dt,ke),wi(dt,j);const mt=Ip(dt,j,dt,ke);return j[Se]=mt,Dc(j,mt),Gm(mt,ke,j),Mo(ke)&&Pd(de,j,ke),null!=S&&Od(j,ke,x),pa}let Vm=zm;function zm(e,t,i,o){return ns(!0),t[fn].createComment("")}function KD(e,t,i,o){const l=t[Le],d=!l||vs()||bc(l,o);if(ns(d),d)return zm(0,t);const S=l.data[pd]?.[o]??null;null!==S&&null!==i.tView&&null===i.tView.ssrId&&(i.tView.ssrId=S);const x=Fc(l,e,t,i);return yc(l,o,x),Lc(Ed(l,o),x)}function jm(e,t,i){ls("NgControlFlow");const o=kt(),l=Y(),d=lh(o,kn+e);if(ei(o,l,t)){const x=_(null);try{if(oh(d,0),-1!==t){const j=ch(o[Nt],kn+t),de=fa(d,j.tView.ssrId);gl(d,fl(o,j,i,{dehydratedView:de}),0,ga(j,de))}}finally{_(x)}}else{const x=Um(d,0);void 0!==x&&(x[Ie]=i)}}class YD{constructor(t,i,o){this.lContainer=t,this.$implicit=i,this.$index=o}get $count(){return this.lContainer.length-_r}}function Km(e){return e}function $m(e,t){return t}class ZD{constructor(t,i,o){this.hasEmptyBlock=t,this.trackByFn=i,this.liveCollection=o}}function Ym(e,t,i,o,l,d,S,x,j,de,Se){ls("NgControlFlow");const ke=void 0!==j,dt=kt(),mt=x?S.bind(dt[rr][Ie]):S,Ft=new ZD(ke,mt);dt[kn+e]=Ft,pa(e+1,t,i,o,l,d),ke&&pa(e+2,j,de,Se)}class XD extends BD{constructor(t,i,o){super(),this.lContainer=t,this.hostLView=i,this.templateTNode=o,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-_r}at(t){return this.getLView(t)[Ie].$implicit}attach(t,i){const o=i[Le];this.needsIndexUpdate||=t!==this.length,gl(this.lContainer,i,t,ga(this.templateTNode,o))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,function QD(e,t){return ja(e,t)}(this.lContainer,t)}create(t,i){const o=fa(this.lContainer,this.templateTNode.tView.ssrId);return fl(this.hostLView,this.templateTNode,new YD(this.lContainer,i,t),{dehydratedView:o})}destroy(t){cc(t[Nt],t)}updateValue(t,i){this.getLView(t)[Ie].$implicit=i}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[Ie].$index=t}getLView(t){return function JD(e,t){return Um(e,t)}(this.lContainer,t)}}function Zm(e){const t=_(null),i=Oi();try{const o=kt(),l=o[Nt],d=o[i];if(void 0===d.liveCollection){const x=i+1,j=lh(o,x),de=ch(l,x);d.liveCollection=new XD(j,o,de)}else d.liveCollection.reset();const S=d.liveCollection;if(function ND(e,t,i){let o,l,d=0,S=e.length-1;if(Array.isArray(t)){let x=t.length-1;for(;d<=S&&d<=x;){const j=e.at(d),de=t[d],Se=rh(d,j,d,de,i);if(0!==Se){Se<0&&e.updateValue(d,de),d++;continue}const ke=e.at(S),dt=t[x],mt=rh(S,ke,x,dt,i);if(0!==mt){mt<0&&e.updateValue(S,dt),S--,x--;continue}const Ft=i(d,j),qt=i(S,ke),un=i(d,de);if(Object.is(un,qt)){const Dn=i(x,dt);Object.is(Dn,Ft)?(e.swap(d,S),e.updateValue(S,dt),x--,S--):e.move(S,d),e.updateValue(d,de),d++}else if(o??=new Lm,l??=Fm(e,d,S,i),ih(e,o,d,un))e.updateValue(d,de),d++,S++;else if(l.has(un))o.set(Ft,e.detach(d)),S--;else{const Dn=e.create(d,t[d]);e.attach(d,Dn),d++,S++}}for(;d<=x;)xm(e,o,i,d,t[d]),d++}else if(null!=t){const x=t[Symbol.iterator]();let j=x.next();for(;!j.done&&d<=S;){const de=e.at(d),Se=j.value,ke=rh(d,de,d,Se,i);if(0!==ke)ke<0&&e.updateValue(d,Se),d++,j=x.next();else{o??=new Lm,l??=Fm(e,d,S,i);const dt=i(d,Se);if(ih(e,o,d,dt))e.updateValue(d,Se),d++,S++,j=x.next();else if(l.has(dt)){const mt=i(d,de);o.set(mt,e.detach(d)),S--}else e.attach(d,e.create(d,Se)),d++,S++,j=x.next()}}for(;!j.done;)xm(e,o,i,e.length,j.value),j=x.next()}for(;d<=S;)e.destroy(e.detach(S--));o?.forEach(x=>{e.destroy(x)})}(S,e,d.trackByFn),S.updateIndexes(),d.hasEmptyBlock){const x=Y(),j=0===S.length;if(ei(o,x,j)){const de=i+2,Se=lh(o,de);if(j){const ke=ch(l,de),dt=fa(Se,ke.tView.ssrId);gl(Se,fl(o,ke,void 0,{dehydratedView:dt}),0,ga(ke,dt))}else oh(Se,0)}}}finally{_(t)}}function lh(e,t){return e[t]}function ch(e,t){return To(e,t)}var Zr=function(e){return e[e.NOT_STARTED=0]="NOT_STARTED",e[e.IN_PROGRESS=1]="IN_PROGRESS",e[e.COMPLETE=2]="COMPLETE",e[e.FAILED=3]="FAILED",e}(Zr||{});const Xm=0,qD=1;var ti=function(e){return e[e.Placeholder=0]="Placeholder",e[e.Loading=1]="Loading",e[e.Complete=2]="Complete",e[e.Error=3]="Error",e}(ti||{}),pl=function(e){return e[e.Initial=-1]="Initial",e}(pl||{});const ma=0,Bc=1,Qm=4,Jm=5;var qm=function(e){return e[e.Manual=0]="Manual",e[e.Playthrough=1]="Playthrough",e}(qm||{});function kc(e,t,i){const o=1===e?Jm:Qm;null===t[o]&&(t[o]=[]),t[o].push(i)}function uh(e,t){const i=1===e?Jm:Qm,o=t[i];if(null!==o){for(const l of o)l();t[i]=null}}function ev(e){uh(1,e),uh(0,e)}function Hc(e){return e+1}function Ts(e,t){return e[Hc(t.index)]}function uo(e,t){const i=Hc(t.index);return e.data[i]}function dh(e,t){return t===ti.Placeholder?e.placeholderBlockConfig?.[Xm]??null:t===ti.Loading?e.loadingBlockConfig?.[Xm]??null:null}function nv(e,t){if(!e||0===e.length)return t;const i=new Set(e);for(const o of t)i.add(o);return e.length===i.size?e:Array.from(i)}const va=new WeakMap;let _a=null,gh=0;class ph{constructor(){this.callbacks=new Set,this.listener=()=>{for(const t of this.callbacks)t()}}}function av(e,t,i){const o=i.get(qr);let l=va.get(e);return _a=_a||o.runOutsideAngular(()=>new IntersectionObserver(d=>{for(const S of d)S.isIntersecting&&va.has(S.target)&&o.run(va.get(S.target).listener)})),l||(l=new ph,o.runOutsideAngular(()=>_a.observe(e)),va.set(e,l),gh++),l.callbacks.add(t),()=>{va.has(e)&&(l.callbacks.delete(t),0===l.callbacks.size&&(_a?.unobserve(e),va.delete(e),gh--),0===gh&&(_a?.disconnect(),_a=null))}}function lv(e,t){const o=t[Et].get(cM);return o.add(e),()=>o.remove(e)}let cM=(()=>{var e;class t{constructor(){this.executingCallbacks=!1,this.idleId=null,this.current=new Set,this.deferred=new Set,this.ngZone=In(qr),this.requestIdleCallbackFn=(typeof requestIdleCallback<"u"?requestIdleCallback:setTimeout).bind(globalThis),this.cancelIdleCallbackFn=(typeof requestIdleCallback<"u"?cancelIdleCallback:clearTimeout).bind(globalThis)}add(o){(this.executingCallbacks?this.deferred:this.current).add(o),null===this.idleId&&this.scheduleIdleCallback()}remove(o){const{current:l,deferred:d}=this;l.delete(o),d.delete(o),0===l.size&&0===d.size&&this.cancelIdleCallback()}scheduleIdleCallback(){const o=()=>{this.cancelIdleCallback(),this.executingCallbacks=!0;for(const l of this.current)l();if(this.current.clear(),this.executingCallbacks=!1,this.deferred.size>0){for(const l of this.deferred)this.current.add(l);this.deferred.clear(),this.scheduleIdleCallback()}};this.idleId=this.requestIdleCallbackFn(()=>this.ngZone.run(o))}cancelIdleCallback(){null!==this.idleId&&(this.cancelIdleCallbackFn(this.idleId),this.idleId=null)}ngOnDestroy(){this.cancelIdleCallback(),this.current.clear(),this.deferred.clear()}}return(e=t).\u0275prov=Mn({token:e,providedIn:"root",factory:()=>new e}),t})();const dM=new an("");let mh=null;function hv(e,t,i,o,l,d,S,x,j){const de=kt(),Se=ir(),ke=e+kn;if(pa(e,null,0,0),Se.firstCreatePass){ls("NgDefer");const un={primaryTmplIndex:t,loadingTmplIndex:o??null,placeholderTmplIndex:l??null,errorTmplIndex:d??null,placeholderBlockConfig:null,loadingBlockConfig:null,dependencyResolverFn:i??null,loadingState:Zr.NOT_STARTED,loadingPromise:null};j?.(Se,un,x,S),function tM(e,t,i){const o=Hc(t);e.data[o]=i}(Se,ke,un)}const dt=Er();Gm(de[ke],dt,de);const Ft=[null,pl.Initial,null,null,null,null];!function eM(e,t,i){e[Hc(t)]=i}(de,ke,Ft);const qt=()=>ev(Ft);kc(0,Ft,()=>Vo(de,qt)),ao(de,qt)}function fv(e){const t=kt();if(ei(t,Y(),e)){const o=_(null);try{const l=!!e,d=xr(),x=Ts(t,d)[Bc];!1===l&&x===pl.Initial?ba(t,d):!0===l&&(x===pl.Initial||x===ti.Placeholder)&&Ea(t,d)}finally{_(o)}}}function gv(){!function vv(e){const t=kt(),i=Er();ba(t,i);const o=e(()=>Ea(t,i),t);kc(0,Ts(t,i),o)}(lv)}function pv(){const e=kt(),t=Er();null===uo(e[Nt],t).loadingTmplIndex&&ba(e,t),Ea(e,t)}function mv(e,t){const i=kt(),o=Er();ba(i,o),function ya(e,t,i,o,l,d,S){const x=e[Et];jp(function j(){if(Xo(e))return;const de=Ts(e,t),Se=de[Bc];if(Se!==pl.Initial&&Se!==ti.Placeholder)return;const ke=function oM(e,t,i){return null==i?e:i>=0?Wo(i,e):e[t.index][_r]??null}(e,t,o);if(!ke)return void jp(j,{injector:x});if(Xo(ke))return;const dt=function sM(e,t){return Dr(kn+t,e)}(ke,i),mt=l(dt,()=>{e!==ke&&Vo(ke,mt),d()},x);e!==ke&&ao(ke,mt),kc(S,de,mt)},{injector:x})}(i,o,e,t,av,()=>Ea(i,o),0)}function ds(e,t,i,o=!1){const l=i[wn],d=l[Nt];if(Xo(l))return;const S=Ts(l,t);if(Ev(S[Bc],e)&&Ev(S[ma]??-1,e)){const j=uo(d,t),Se=o||null===function tv(e){return e.loadingBlockConfig?.[qD]??null}(j)&&null===dh(j,ti.Loading)&&!dh(j,ti.Placeholder)?yv:mh;try{Se(e,S,i,t,l)}catch(ke){Mc(l,ke)}}}function yv(e,t,i,o,l){const d=function nM(e,t,i){const l=uo(t[Nt],i);switch(e){case ti.Complete:return l.primaryTmplIndex;case ti.Loading:return l.loadingTmplIndex;case ti.Error:return l.errorTmplIndex;case ti.Placeholder:return l.placeholderTmplIndex;default:return null}}(e,l,o);if(null!==d){t[Bc]=e;const j=To(l[Nt],d+kn),de=0;oh(i,de);const Se=fa(i,j.tView.ssrId),ke=fl(l,j,null,{dehydratedView:Se});gl(i,ke,de,ga(j,Se)),rl(ke)}}function Ev(e,t){return e<t}function ba(e,t){ds(ti.Placeholder,t,e[t.index])}function Cv(e,t,i){e.loadingPromise.then(()=>{e.loadingState===Zr.COMPLETE?ds(ti.Complete,t,i):e.loadingState===Zr.FAILED&&ds(ti.Error,t,i)})}function Ea(e,t){const i=e[Nt],o=e[t.index];if(!function dv(e){return e.get(dM,null,{optional:!0})?.behavior!==qm.Manual&&os(e)}(e[Et]))return;const d=Ts(e,t),S=uo(i,t);switch(ev(d),S.loadingState){case Zr.NOT_STARTED:ds(ti.Loading,t,o),function vh(e,t,i){const l=t[Nt];if(e.loadingState!==Zr.NOT_STARTED)return;const d=Ts(t,i),S=function rM(e,t){return To(e,t.primaryTmplIndex+kn)}(l,e);e.loadingState=Zr.IN_PROGRESS,uh(1,d);let x=e.dependencyResolverFn;e.loadingPromise=x?Promise.allSettled(x()).then(j=>{let de=!1;const Se=[],ke=[];for(const dt of j){if("fulfilled"!==dt.status){de=!0;break}{const mt=dt.value,Ft=he(mt)||Ae(mt);if(Ft)Se.push(Ft);else{const qt=Qe(mt);qt&&ke.push(qt)}}}if(e.loadingPromise=null,de){if(e.loadingState=Zr.FAILED,null===e.errorTmplIndex){$u(t);const mt=new Ke(750,!1);Mc(t,mt)}}else{e.loadingState=Zr.COMPLETE;const dt=S.tView;Se.length>0&&(dt.directiveRegistry=nv(dt.directiveRegistry,Se)),ke.length>0&&(dt.pipeRegistry=nv(dt.pipeRegistry,ke))}}):Promise.resolve().then(()=>{e.loadingPromise=null,e.loadingState=Zr.COMPLETE})}(S,e,t),S.loadingState===Zr.IN_PROGRESS&&Cv(S,t,o);break;case Zr.IN_PROGRESS:ds(ti.Loading,t,o),Cv(S,t,o);break;case Zr.COMPLETE:ds(ti.Complete,t,o);break;case Zr.FAILED:ds(ti.Error,t,o)}}function Wc(e,t,i,o){const l=kt(),d=ir(),S=kn+e,x=l[fn],j=d.firstCreatePass?function DM(e,t,i,o,l,d){const S=t.consts,j=na(t,e,2,o,Ai(S,l));return Rd(t,i,j,Ai(S,d)),null!==j.attrs&&Tc(j,j.attrs,!1),null!==j.mergedAttrs&&Tc(j,j.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,j),j}(S,d,l,t,i,o):d.data[S],de=Sv(d,l,j,x,t,e);l[S]=de;const Se=Mo(j);return Ji(j,!0),Lg(x,de,j),32!=(32&j.flags)&&Ul()&&dc(d,l,de,j),0===function uf(){return xn.lFrame.elementDepthCount}()&&wi(de,l),function Ol(){xn.lFrame.elementDepthCount++}(),Se&&(Pd(d,l,j),Ad(d,j,l)),null!==o&&Od(l,j),Wc}function Vc(){let e=Er();Ra()?Ll():(e=e.parent,Ji(e,!1));const t=e;(function df(e){return xn.skipHydrationRootTNode===e})(t)&&function wl(){xn.skipHydrationRootTNode=null}(),function gu(){xn.lFrame.elementDepthCount--}();const i=ir();return i.firstCreatePass&&(Bl(i,e),Yo(e)&&i.queries.elementEnd(e)),null!=t.classesWithoutHost&&function wy(e){return 0!=(8&e.flags)}(t)&&Yd(i,t,kt(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function Ry(e){return 0!=(16&e.flags)}(t)&&Yd(i,t,kt(),t.stylesWithoutHost,!1),Vc}function _h(e,t,i,o){return Wc(e,t,i,o),Vc(),_h}let Sv=(e,t,i,o,l,d)=>(ns(!0),lc(o,l,mf()));function MM(e,t,i,o,l,d){const S=t[Le],x=!S||vs()||bc(S,d);if(ns(x),x)return lc(o,l,mf());const j=Fc(S,e,t,i);return Xg(S,d)&&yc(S,d,j.nextSibling),S&&(cg(i)||ug(j))&&zi(i)&&(function vu(e){xn.skipHydrationRootTNode=e}(i),Rg(j)),j}function zc(e,t,i){const o=kt(),l=ir(),d=e+kn,S=l.firstCreatePass?function TM(e,t,i,o,l){const d=t.consts,S=Ai(d,o),x=na(t,e,8,"ng-container",S);return null!==S&&Tc(x,S,!0),Rd(t,i,x,Ai(d,l)),null!==t.queries&&t.queries.elementStart(t,x),x}(d,l,o,t,i):l.data[d];Ji(S,!0);const x=Dv(l,o,S,e);return o[d]=x,Ul()&&dc(l,o,x,S),wi(x,o),Mo(S)&&(Pd(l,o,S),Ad(l,S,o)),null!=i&&Od(o,S),zc}function jc(){let e=Er();const t=ir();return Ra()?Ll():(e=e.parent,Ji(e,!1)),t.firstCreatePass&&(Bl(t,e),Yo(e)&&t.queries.elementEnd(e)),jc}function yh(e,t,i){return zc(e,t,i),jc(),yh}let Dv=(e,t,i,o)=>(ns(!0),qu(t[fn],""));function AM(e,t,i,o){let l;const d=t[Le],S=!d||vs();if(ns(S),S)return qu(t[fn],"");const x=Fc(d,e,t,i),j=function KE(e,t){const i=e.data;let o=i[gd]?.[t]??null;return null===o&&i[Qa]?.[t]&&(o=Ed(e,t)),o}(d,o);return yc(d,o,x),l=Lc(j,x),l}function Mv(){return kt()}function bh(e,t,i){const o=kt();return ei(o,Y(),t)&&to(ir(),xr(),o,e,t,o[fn],i,!0),bh}function Eh(e,t,i){const o=kt();if(ei(o,Y(),t)){const d=ir(),S=xr();to(d,S,o,e,t,Op(Jt(d.data),S,o),i,!0)}return Eh}const As=void 0;var wM=["en",[["a","p"],["AM","PM"],As],[["AM","PM"],As,As],[["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"]],As,[["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"]],As,[["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}",As,"{1} 'at' {0}",As],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function OM(e){const i=Math.floor(Math.abs(e)),o=e.toString().replace(/^[^.]*\.?/,"").length;return 1===i&&0===o?1:5}];let Ca={};function RM(e,t,i){"string"!=typeof t&&(i=t,t=e[Sa.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),Ca[t]=e,i&&(Ca[t][Sa.ExtraData]=i)}function Ch(e){const t=function FM(e){return e.toLowerCase().replace(/_/g,"-")}(e);let i=Tv(t);if(i)return i;const o=t.split("-")[0];if(i=Tv(o),i)return i;if("en"===o)return wM;throw new Ke(701,!1)}function xM(e){return Ch(e)[Sa.CurrencyCode]||null}function Iv(e){return Ch(e)[Sa.PluralCase]}function Tv(e){return e in Ca||(Ca[e]=_n.ng&&_n.ng.common&&_n.ng.common.locales&&_n.ng.common.locales[e]),Ca[e]}var Sa=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}(Sa||{});const Da="en-US";let Av=Da;function Pv(e){(function Wn(e,t){null==e&&gn(t,e,null,"!=")})(e,"Expected localeId to be defined"),"string"==typeof e&&(Av=e.toLowerCase().replace(/_/g,"-"))}function Mh(e){return!!e&&"function"==typeof e.then}function qv(e){return!!e&&"function"==typeof e.subscribe}function Ih(e,t,i,o){const l=kt(),d=ir(),S=Er();return e0(d,l,l[fn],S,e,t,o),Ih}function Th(e,t){const i=Er(),o=kt(),l=ir();return e0(l,o,Op(Jt(l.data),i,o),i,e,t),Th}function e0(e,t,i,o,l,d,S){const x=Mo(o),de=e.firstCreatePass&&Pp(e),Se=t[Ie],ke=Ap(t);let dt=!0;if(3&o.type||S){const qt=gr(o,t),un=S?S(qt):qt,Dn=ke.length,Zt=S?ar=>S(ur(ar[o.index])):o.index;let Hn=null;if(!S&&x&&(Hn=function AI(e,t,i,o){const l=e.cleanup;if(null!=l)for(let d=0;d<l.length-1;d+=2){const S=l[d];if(S===i&&l[d+1]===o){const x=t[q],j=l[d+2];return x.length>j?x[j]:null}"string"==typeof S&&(d+=2)}return null}(e,t,l,o.index)),null!==Hn)(Hn.__ngLastListenerFn__||Hn).__ngNextListenerFn__=d,Hn.__ngLastListenerFn__=d,dt=!1;else{d=n0(o,t,Se,d,!1);const ar=i.listen(un,l,d);ke.push(d,ar),de&&de.push(l,Zt,Dn,Dn+1)}}else d=n0(o,t,Se,d,!1);const mt=o.outputs;let Ft;if(dt&&null!==mt&&(Ft=mt[l])){const qt=Ft.length;if(qt)for(let un=0;un<qt;un+=2){const vr=t[Ft[un]][Ft[un+1]].subscribe(d),mi=ke.length;ke.push(d,vr),de&&de.push(l,o.index,mi,-(mi+1))}}}function t0(e,t,i,o){try{return $r(6,t,i),!1!==i(o)}catch(l){return Mc(e,l),!1}finally{$r(7,t,i)}}function n0(e,t,i,o,l){return function d(S){if(S===Function)return o;rl(e.componentOffset>-1?Ti(e.index,t):t);let j=t0(t,i,o,S),de=d.__ngNextListenerFn__;for(;de;)j=t0(t,i,de,S)&&j,de=de.__ngNextListenerFn__;return l&&!1===j&&S.preventDefault(),j}}function r0(e=1){return function Dy(e){return(xn.lFrame.contextLView=Wo(e,xn.lFrame.contextLView))[Ie]}(e)}function PI(e,t){let i=null;const o=function bi(e){const t=e.attrs;if(null!=t){const i=t.indexOf(5);if(!(1&i))return t[i+1]}return null}(e);for(let l=0;l<t.length;l++){const d=t[l];if("*"!==d){if(null===o?ui(e,d,!0):Ei(o,d))return l}else i=l}return i}function o0(e){const t=kt()[rr][ie];if(!t.projection){const o=t.projection=Na(e?e.length:1,null),l=o.slice();let d=t.child;for(;null!==d;){const S=e?PI(d,e):0;null!==S&&(l[S]?l[S].projectionNext=d:o[S]=d,l[S]=d),d=d.next}}}function s0(e,t=0,i){const o=kt(),l=ir(),d=na(l,kn+e,16,null,i||null);null===d.projection&&(d.projection=t),Ll(),(!o[Le]||vs())&&32!=(32&d.flags)&&function oE(e,t,i){xg(t[fn],0,t,i,td(e,i,t),Tg(i.parent||t[ie],i,t))}(l,o,d)}function Xc(e,t,i,o,l){const d=kt(),S=ia(d,t,i,o);return S!==Yn&&to(ir(),xr(),d,e,S,d[fn],l,!1),Xc}function m0(e){return Ao(function ff(){return xn.lFrame.contextLView}(),kn+e)}function I0(e,t=""){const i=kt(),o=ir(),l=e+kn,d=o.firstCreatePass?na(o,l,1,t,null):o.data[l],S=T0(o,i,d,t,e);i[l]=S,Ul()&&dc(o,i,S,d),Ji(d,!1)}let T0=(e,t,i,o,l)=>(ns(!0),ac(t[fn],o));function HI(e,t,i,o,l){const d=t[Le],S=!d||vs()||bc(d,l);return ns(S),S?ac(t[fn],o):Fc(d,e,t,i)}function Ah(e){return Qc("",e,""),Ah}function Qc(e,t,i){const o=kt(),l=ia(o,e,t,i);return l!==Yn&&Ko(o,Oi(),l),Qc}function Ph(e,t,i,o,l){const d=kt(),S=oa(d,e,t,i,o,l);return S!==Yn&&Ko(d,Oi(),S),Ph}function Oh(e,t,i,o,l,d,S){const x=kt(),j=function sa(e,t,i,o,l,d,S,x){const de=Pc(e,Po(),i,l,S);return re(3),de?t+Oe(i)+o+Oe(l)+d+Oe(S)+x:Yn}(x,e,t,i,o,l,d,S);return j!==Yn&&Ko(x,Oi(),j),Oh}function wh(e,t,i,o,l){if(e=it(e),Array.isArray(e))for(let d=0;d<e.length;d++)wh(e[d],t,i,o,l);else{const d=ir(),S=kt(),x=Er();let j=Es(e)?e:it(e.provide);const de=zf(e),Se=1048575&x.providerIndexes,ke=x.directiveStart,dt=x.providerIndexes>>20;if(Es(e)||!e.multi){const mt=new Fa(de,l,ta),Ft=xh(j,t,l?Se:Se+dt,ke);-1===Ft?(Du(Gl(x,S),d,j),Rh(d,e,t.length),t.push(j),x.directiveStart++,x.directiveEnd++,l&&(x.providerIndexes+=1048576),i.push(mt),S.push(mt)):(i[Ft]=mt,S[Ft]=mt)}else{const mt=xh(j,t,Se+dt,ke),Ft=xh(j,t,Se,Se+dt),un=Ft>=0&&i[Ft];if(l&&!un||!l&&!(mt>=0&&i[mt])){Du(Gl(x,S),d,j);const Dn=function jI(e,t,i,o,l){const d=new Fa(e,i,ta);return d.multi=[],d.index=t,d.componentProviders=0,F0(d,l,o&&!i),d}(l?zI:VI,i.length,l,o,de);!l&&un&&(i[Ft].providerFactory=Dn),Rh(d,e,t.length,0),t.push(j),x.directiveStart++,x.directiveEnd++,l&&(x.providerIndexes+=1048576),i.push(Dn),S.push(Dn)}else Rh(d,e,mt>-1?mt:Ft,F0(i[l?Ft:mt],de,!l&&o));!l&&o&&un&&i[Ft].componentProviders++}}}function Rh(e,t,i,o){const l=Es(t),d=function cb(e){return!!e.useClass}(t);if(l||d){const j=(d?it(t.useClass):t).prototype.ngOnDestroy;if(j){const de=e.destroyHooks||(e.destroyHooks=[]);if(!l&&t.multi){const Se=de.indexOf(i);-1===Se?de.push(i,[o,j]):de[Se+1].push(o,j)}else de.push(i,j)}}}function F0(e,t,i){return i&&e.componentProviders++,e.multi.push(t)-1}function xh(e,t,i,o){for(let l=i;l<o;l++)if(t[l]===e)return l;return-1}function VI(e,t,i,o){return Fh(this.multi,[])}function zI(e,t,i,o){const l=this.multi;let d;if(this.providerFactory){const S=this.providerFactory.componentProviders,x=bs(i,i[Nt],this.providerFactory.index,o);d=x.slice(0,S),Fh(l,d);for(let j=S;j<x.length;j++)d.push(x[j])}else d=[],Fh(l,d);return d}function Fh(e,t){for(let i=0;i<e.length;i++)t.push((0,e[i])());return t}function L0(e,t=[]){return i=>{i.providersResolver=(o,l)=>function WI(e,t,i){const o=ir();if(o.firstCreatePass){const l=gi(e);wh(i,o.data,o.blueprint,l,!0),wh(t,o.data,o.blueprint,l,!1)}}(o,l?l(e):e,t)}}class Ps{}class U0{}function KI(e,t){return new Lh(e,t??null,[])}class Lh extends Ps{constructor(t,i,o){super(),this._parent=i,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Zp(this);const l=Ne(t);this._bootstrapComponents=eo(l.bootstrap),this._r3Injector=Zf(t,i,[{provide:Ps,useValue:this},{provide:qa,useValue:this.componentFactoryResolver},...o],we(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(i=>i()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Uh extends U0{constructor(t){super(),this.moduleType=t}create(t){return new Lh(this.moduleType,t,[])}}class B0 extends Ps{constructor(t){super(),this.componentFactoryResolver=new Zp(this),this.instance=null;const i=new Ks([...t.providers,{provide:Ps,useValue:this},{provide:qa,useValue:this.componentFactoryResolver}],t.parent||Jl(),t.debugName,new Set(["environment"]));this.injector=i,t.runEnvironmentInitializers&&i.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function N0(e,t,i=null){return new B0({providers:e,parent:t,debugName:i,runEnvironmentInitializers:!0}).injector}let YI=(()=>{var e;class t{constructor(o){this._injector=o,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(o){if(!o.standalone)return null;if(!this.cachedInjectors.has(o)){const l=Hf(0,o.type),d=l.length>0?N0([l],this._injector,`Standalone[${o.type.name}]`):null;this.cachedInjectors.set(o,d)}return this.cachedInjectors.get(o)}ngOnDestroy(){try{for(const o of this.cachedInjectors.values())null!==o&&o.destroy()}finally{this.cachedInjectors.clear()}}}return(e=t).\u0275prov=Mn({token:e,providedIn:"environment",factory:()=>new e(vn(Ro))}),t})();function k0(e){ls("NgStandalone"),e.getStandaloneInjector=t=>t.get(YI).getOrCreateStandaloneInjector(e)}function H0(e,t,i){const o=e.\u0275cmp;o.directiveDefs=$t(t,!1),o.pipeDefs=$t(i,!0)}function Y0(e,t,i){const o=Pi()+e,l=kt();return l[o]===Yn?Lo(l,o,i?t.call(i):t()):function al(e,t){return e[t]}(l,o)}function Z0(e,t,i,o){return J0(kt(),Pi(),e,t,i,o)}function X0(e,t,i,o,l){return q0(kt(),Pi(),e,t,i,o,l)}function Q0(e,t,i,o,l,d){return e_(kt(),Pi(),e,t,i,o,l,d)}function Sl(e,t){const i=e[t];return i===Yn?void 0:i}function J0(e,t,i,o,l,d){const S=t+i;return ei(e,S,l)?Lo(e,S+1,d?o.call(d,l):o(l)):Sl(e,S+1)}function q0(e,t,i,o,l,d,S){const x=t+i;return Ms(e,x,l,d)?Lo(e,x+2,S?o.call(S,l,d):o(l,d)):Sl(e,x+2)}function e_(e,t,i,o,l,d,S,x){const j=t+i;return Pc(e,j,l,d,S)?Lo(e,j+3,x?o.call(x,l,d,S):o(l,d,S)):Sl(e,j+3)}function r_(e,t){const i=ir();let o;const l=e+kn;i.firstCreatePass?(o=function uT(e,t){if(t)for(let i=t.length-1;i>=0;i--){const o=t[i];if(e===o.name)return o}}(t,i.pipeRegistry),i.data[l]=o,o.onDestroy&&(i.destroyHooks??=[]).push(l,o.onDestroy)):o=i.data[l];const d=o.factory||(o.factory=$n(o.type)),x=Ln(ta);try{const j=Hl(!1),de=d();return Hl(j),function OI(e,t,i,o){i>=e.data.length&&(e.data[i]=null,e.blueprint[i]=null),t[i]=o}(i,kt(),l,de),de}finally{Ln(x)}}function i_(e,t,i){const o=e+kn,l=kt(),d=Ao(l,o);return Dl(l,o)?J0(l,Pi(),t,d.transform,i,d):d.transform(i)}function o_(e,t,i,o){const l=e+kn,d=kt(),S=Ao(d,l);return Dl(d,l)?q0(d,Pi(),t,S.transform,i,o,S):S.transform(i,o)}function s_(e,t,i,o,l){const d=e+kn,S=kt(),x=Ao(S,d);return Dl(S,d)?e_(S,Pi(),t,x.transform,i,o,l,x):x.transform(i,o,l)}function Dl(e,t){return e[Nt].data[t].pure}function fT(){return this._results[Symbol.iterator]()}class eu{get changes(){return this._changes||(this._changes=new Fo)}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 i=eu.prototype;i[Symbol.iterator]||(i[Symbol.iterator]=fT)}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,i){return this._results.reduce(t,i)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,i){this.dirty=!1;const o=function ji(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function jy(e,t,i){if(e.length!==t.length)return!1;for(let o=0;o<e.length;o++){let l=e[o],d=t[o];if(i&&(l=i(l),d=i(d)),d!==l)return!1}return!0}(this._results,o,i))&&(this._results=o,this.length=o.length,this.last=o[this.length-1],this.first=o[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}let Ml=(()=>{class t{}return t.__NG_ELEMENT_ID__=mT,t})();const gT=Ml,pT=class extends gT{constructor(t,i,o){super(),this._declarationLView=t,this._declarationTContainer=i,this.elementRef=o}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,i){return this.createEmbeddedViewImpl(t,i)}createEmbeddedViewImpl(t,i,o){const l=fl(this._declarationLView,this._declarationTContainer,t,{injector:i,dehydratedView:o});return new il(l)}};function mT(){return tu(Er(),kt())}function tu(e,t){return 4&e.type?new pT(t,e,ea(e,t)):null}class Nh{constructor(t){this.queryList=t,this.matches=null}clone(){return new Nh(this.queryList)}setDirty(){this.queryList.setDirty()}}class kh{constructor(t=[]){this.queries=t}createEmbeddedView(t){const i=t.queries;if(null!==i){const o=null!==t.contentQueries?t.contentQueries[0]:i.length,l=[];for(let d=0;d<o;d++){const S=i.getByIndex(d);l.push(this.queries[S.indexInDeclarationView].clone())}return new kh(l)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let i=0;i<this.queries.length;i++)null!==p_(t,i).matches&&this.queries[i].setDirty()}}class a_{constructor(t,i,o=null){this.predicate=t,this.flags=i,this.read=o}}class Hh{constructor(t=[]){this.queries=t}elementStart(t,i){for(let o=0;o<this.queries.length;o++)this.queries[o].elementStart(t,i)}elementEnd(t){for(let i=0;i<this.queries.length;i++)this.queries[i].elementEnd(t)}embeddedTView(t){let i=null;for(let o=0;o<this.length;o++){const l=null!==i?i.length:0,d=this.getByIndex(o).embeddedTView(t,l);d&&(d.indexInDeclarationView=o,null!==i?i.push(d):i=[d])}return null!==i?new Hh(i):null}template(t,i){for(let o=0;o<this.queries.length;o++)this.queries[o].template(t,i)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class Gh{constructor(t,i=-1){this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=i}elementStart(t,i){this.isApplyingToNode(i)&&this.matchTNode(t,i)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,i){this.elementStart(t,i)}embeddedTView(t,i){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,i),new Gh(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const i=this._declarationNodeIndex;let o=t.parent;for(;null!==o&&8&o.type&&o.index!==i;)o=o.parent;return i===(null!==o?o.index:-1)}return this._appliesToNextNode}matchTNode(t,i){const o=this.metadata.predicate;if(Array.isArray(o))for(let l=0;l<o.length;l++){const d=o[l];this.matchTNodeWithReadOption(t,i,vT(i,d)),this.matchTNodeWithReadOption(t,i,Vl(i,t,d,!1,!1))}else o===Ml?4&i.type&&this.matchTNodeWithReadOption(t,i,-1):this.matchTNodeWithReadOption(t,i,Vl(i,t,o,!1,!1))}matchTNodeWithReadOption(t,i,o){if(null!==o){const l=this.metadata.read;if(null!==l)if(l===el||l===Uc||l===Ml&&4&i.type)this.addMatch(i.index,-2);else{const d=Vl(i,t,l,!1,!1);null!==d&&this.addMatch(i.index,d)}else this.addMatch(i.index,o)}}addMatch(t,i){null===this.matches?this.matches=[t,i]:this.matches.push(t,i)}}function vT(e,t){const i=e.localNames;if(null!==i)for(let o=0;o<i.length;o+=2)if(i[o]===t)return i[o+1];return null}function yT(e,t,i,o){return-1===i?function _T(e,t){return 11&e.type?ea(e,t):4&e.type?tu(e,t):null}(t,e):-2===i?function bT(e,t,i){return i===el?ea(t,e):i===Ml?tu(t,e):i===Uc?km(t,e):void 0}(e,t,o):bs(e,e[Nt],i,t)}function l_(e,t,i,o){const l=t[Qr].queries[o];if(null===l.matches){const d=e.data,S=i.matches,x=[];for(let j=0;j<S.length;j+=2){const de=S[j];x.push(de<0?null:yT(t,d[de],S[j+1],i.metadata.read))}l.matches=x}return l.matches}function Wh(e,t,i,o){const l=e.queries.getByIndex(i),d=l.matches;if(null!==d){const S=l_(e,t,l,i);for(let x=0;x<d.length;x+=2){const j=d[x];if(j>0)o.push(S[x/2]);else{const de=d[x+1],Se=t[-j];for(let ke=_r;ke<Se.length;ke++){const dt=Se[ke];dt[Br]===dt[wn]&&Wh(dt[Nt],dt,de,o)}if(null!==Se[_o]){const ke=Se[_o];for(let dt=0;dt<ke.length;dt++){const mt=ke[dt];Wh(mt[Nt],mt,de,o)}}}}}return o}function c_(e){const t=kt(),i=ir(),o=Ht();Fn(o+1);const l=p_(i,o);if(e.dirty&&function ps(e){return 4==(4&e[Xt])}(t)===(2==(2&l.metadata.flags))){if(null===l.matches)e.reset([]);else{const d=l.crossesNgTemplate?Wh(i,t,o,[]):l_(i,t,l,o);e.reset(d,QE),e.notifyOnChanges()}return!0}return!1}function u_(e,t,i){const o=ir();o.firstCreatePass&&(g_(o,new a_(e,t,i),-1),2==(2&t)&&(o.staticViewQueries=!0)),f_(o,kt(),t)}function d_(e,t,i,o){const l=ir();if(l.firstCreatePass){const d=Er();g_(l,new a_(t,i,o),d.index),function CT(e,t){const i=e.contentQueries||(e.contentQueries=[]);t!==(i.length?i[i.length-1]:-1)&&i.push(e.queries.length-1,t)}(l,e),2==(2&i)&&(l.staticContentQueries=!0)}f_(l,kt(),i)}function h_(){return function ET(e,t){return e[Qr].queries[t].queryList}(kt(),Ht())}function f_(e,t,i){const o=new eu(4==(4&i));(function OC(e,t,i,o){const l=Ap(t);l.push(i),e.firstCreatePass&&Pp(e).push(o,l.length-1)})(e,t,o,o.destroy),null===t[Qr]&&(t[Qr]=new kh),t[Qr].queries.push(new Nh(o))}function g_(e,t,i){null===e.queries&&(e.queries=new Hh),e.queries.track(new Gh(t,i))}function p_(e,t){return e.queries.getByIndex(t)}function m_(e,t){return tu(e,t)}const R_=new an("Application Initializer");let $h=(()=>{var e;class t{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((o,l)=>{this.resolve=o,this.reject=l}),this.appInits=In(R_,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const o=[];for(const d of this.appInits){const S=d();if(Mh(S))o.push(S);else if(qv(S)){const x=new Promise((j,de)=>{S.subscribe({complete:j,error:de})});o.push(x)}}const l=()=>{this.done=!0,this.resolve()};Promise.all(o).then(()=>{l()}).catch(d=>{this.reject(d)}),0===o.length&&l(),this.initialized=!0}}return(e=t).\u0275fac=function(o){return new(o||e)},e.\u0275prov=Mn({token:e,factory:e.\u0275fac,providedIn:"root"}),t})(),x_=(()=>{var e;class t{log(o){console.log(o)}warn(o){console.warn(o)}}return(e=t).\u0275fac=function(o){return new(o||e)},e.\u0275prov=Mn({token:e,factory:e.\u0275fac,providedIn:"platform"}),t})();const ru=new an("LocaleId",{providedIn:"root",factory:()=>In(ru,jt.Optional|jt.SkipSelf)||function zT(){return typeof $localize<"u"&&$localize.locale||Da}()}),jT=new an("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});let L_=(()=>{var e;class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Fe.X(!1)}add(){this.hasPendingTasks.next(!0);const o=this.taskId++;return this.pendingTasks.add(o),o}remove(o){this.pendingTasks.delete(o),0===this.pendingTasks.size&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}}return(e=t).\u0275fac=function(o){return new(o||e)},e.\u0275prov=Mn({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();class XT{constructor(t,i){this.ngModuleFactory=t,this.componentFactories=i}}let QT=(()=>{var e;class t{compileModuleSync(o){return new Uh(o)}compileModuleAsync(o){return Promise.resolve(this.compileModuleSync(o))}compileModuleAndAllComponentsSync(o){const l=this.compileModuleSync(o),S=eo(Ne(o).declarations).reduce((x,j)=>{const de=he(j);return de&&x.push(new sl(de)),x},[]);return new XT(l,S)}compileModuleAndAllComponentsAsync(o){return Promise.resolve(this.compileModuleAndAllComponentsSync(o))}clearCache(){}clearCacheFor(o){}getModuleId(o){}}return(e=t).\u0275fac=function(o){return new(o||e)},e.\u0275prov=Mn({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();const H_=new an(""),G_=new an("");let Zh,CA=(()=>{var e;class t{constructor(o,l,d){this._ngZone=o,this.registry=l,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Zh||(function SA(e){Zh=e}(d),d.addToWindow(l)),this._watchAngularEvents(),o.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:()=>{qr.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 o=this._callbacks.pop();clearTimeout(o.timeoutId),o.doneCb(this._didWork)}this._didWork=!1});else{let o=this.getPendingTasks();this._callbacks=this._callbacks.filter(l=>!l.updateCb||!l.updateCb(o)||(clearTimeout(l.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(o=>({source:o.source,creationLocation:o.creationLocation,data:o.data})):[]}addCallback(o,l,d){let S=-1;l&&l>0&&(S=setTimeout(()=>{this._callbacks=this._callbacks.filter(x=>x.timeoutId!==S),o(this._didWork,this.getPendingTasks())},l)),this._callbacks.push({doneCb:o,timeoutId:S,updateCb:d})}whenStable(o,l,d){if(d&&!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(o,l,d),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(o){this.registry.registerApplication(o,this)}unregisterApplication(o){this.registry.unregisterApplication(o)}findProviders(o,l,d){return[]}}return(e=t).\u0275fac=function(o){return new(o||e)(vn(qr),vn(W_),vn(G_))},e.\u0275prov=Mn({token:e,factory:e.\u0275fac}),t})(),W_=(()=>{var e;class t{constructor(){this._applications=new Map}registerApplication(o,l){this._applications.set(o,l)}unregisterApplication(o){this._applications.delete(o)}unregisterAllApplications(){this._applications.clear()}getTestability(o){return this._applications.get(o)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(o,l=!0){return Zh?.findTestabilityInTree(this,o,l)??null}}return(e=t).\u0275fac=function(o){return new(o||e)},e.\u0275prov=Mn({token:e,factory:e.\u0275fac,providedIn:"platform"}),t})(),hs=null;const V_=new an("AllowMultipleToken"),Xh=new an("PlatformDestroyListeners"),Qh=new an("appBootstrapListener");function K_(e,t,i=[]){const o=`Platform: ${t}`,l=new an(o);return(d=[])=>{let S=Jh();if(!S||S.injector.get(V_,!1)){const x=[...i,...d,{provide:l,useValue:!0}];e?e(x):function IA(e){if(hs&&!hs.get(V_,!1))throw new Ke(400,!1);(function z_(){!function We(e){ge=e}(()=>{throw new Ke(600,!1)})})(),hs=e;const t=e.get(Y_);(function j_(e){e.get(Jf,null)?.forEach(i=>i())})(e)}(function $_(e=[],t){return lo.create({name:t,providers:[{provide:Uu,useValue:"platform"},{provide:Xh,useValue:new Set([()=>hs=null])},...e]})}(x,o))}return function AA(e){const t=Jh();if(!t)throw new Ke(401,!1);return t}()}}function Jh(){return hs?.get(Y_)??null}let Y_=(()=>{var e;class t{constructor(o){this._injector=o,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(o,l){const d=function PA(e="zone.js",t){return"noop"===e?new mS:"zone.js"===e?new qr(t):e}(l?.ngZone,function Z_(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:l?.ngZoneEventCoalescing,runCoalescing:l?.ngZoneRunCoalescing}));return d.run(()=>{const S=function $I(e,t,i){return new Lh(e,t,i)}(o.moduleType,this.injector,function ey(e){return[{provide:qr,useFactory:e},{provide:js,multi:!0,useFactory:()=>{const t=In(wA,{optional:!0});return()=>t.initialize()}},{provide:q_,useFactory:OA},{provide:Wp,useFactory:Vp}]}(()=>d)),x=S.injector.get(as,null);return d.runOutsideAngular(()=>{const j=d.onError.subscribe({next:de=>{x.handleError(de)}});S.onDestroy(()=>{ou(this._modules,S),j.unsubscribe()})}),function X_(e,t,i){try{const o=i();return Mh(o)?o.catch(l=>{throw t.runOutsideAngular(()=>e.handleError(l)),l}):o}catch(o){throw t.runOutsideAngular(()=>e.handleError(o)),o}}(x,d,()=>{const j=S.injector.get($h);return j.runInitializers(),j.donePromise.then(()=>(Pv(S.injector.get(ru,Da)||Da),this._moduleDoBootstrap(S),S))})})}bootstrapModule(o,l=[]){const d=Q_({},l);return function DA(e,t,i){const o=new Uh(i);return Promise.resolve(o)}(0,0,o).then(S=>this.bootstrapModuleFactory(S,d))}_moduleDoBootstrap(o){const l=o.injector.get(Ta);if(o._bootstrapComponents.length>0)o._bootstrapComponents.forEach(d=>l.bootstrap(d));else{if(!o.instance.ngDoBootstrap)throw new Ke(-403,!1);o.instance.ngDoBootstrap(l)}this._modules.push(o)}onDestroy(o){this._destroyListeners.push(o)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Ke(404,!1);this._modules.slice().forEach(l=>l.destroy()),this._destroyListeners.forEach(l=>l());const o=this._injector.get(Xh,null);o&&(o.forEach(l=>l()),o.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return(e=t).\u0275fac=function(o){return new(o||e)(vn(lo))},e.\u0275prov=Mn({token:e,factory:e.\u0275fac,providedIn:"platform"}),t})();function Q_(e,t){return Array.isArray(t)?t.reduce(Q_,e):{...e,...t}}let Ta=(()=>{var e;class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=In(q_),this.zoneIsStable=In(Wp),this.componentTypes=[],this.components=[],this.isStable=In(L_).hasPendingTasks.pipe((0,gt.w)(o=>o?(0,Je.of)(!1):this.zoneIsStable),(0,Wt.x)(),(0,St.B)()),this._injector=In(Ro)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(o,l){const d=o instanceof Qg;if(!this._injector.get($h).done)throw!d&&oe(o),new Ke(405,!1);let x;x=d?o:this._injector.get(qa).resolveComponentFactory(o),this.componentTypes.push(x.componentType);const j=function MA(e){return e.isBoundToModule}(x)?void 0:this._injector.get(Ps),Se=x.create(lo.NULL,[],l||x.selector,j),ke=Se.location.nativeElement,dt=Se.injector.get(H_,null);return dt?.registerApplication(ke),Se.onDestroy(()=>{this.detachView(Se.hostView),ou(this.components,Se),dt?.unregisterApplication(ke)}),this._loadComponent(Se),Se}tick(){if(this._runningTick)throw new Ke(101,!1);try{this._runningTick=!0;for(let o of this._views)o.detectChanges()}catch(o){this.internalErrorHandler(o)}finally{this._runningTick=!1}}attachView(o){const l=o;this._views.push(l),l.attachToAppRef(this)}detachView(o){const l=o;ou(this._views,l),l.detachFromAppRef()}_loadComponent(o){this.attachView(o.hostView),this.tick(),this.components.push(o);const l=this._injector.get(Qh,[]);[...this._bootstrapListeners,...l].forEach(d=>d(o))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(o=>o()),this._views.slice().forEach(o=>o.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(o){return this._destroyListeners.push(o),()=>ou(this._destroyListeners,o)}destroy(){if(this._destroyed)throw new Ke(406,!1);const o=this._injector;o.destroy&&!o.destroyed&&o.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return(e=t).\u0275fac=function(o){return new(o||e)},e.\u0275prov=Mn({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();function ou(e,t){const i=e.indexOf(t);i>-1&&e.splice(i,1)}const q_=new an("",{providedIn:"root",factory:()=>In(as).handleError.bind(void 0)});function OA(){const e=In(qr),t=In(as);return i=>e.runOutsideAngular(()=>t.handleError(i))}let su,wA=(()=>{var e;class t{constructor(){this.zone=In(qr),this.applicationRef=In(Ta)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}}return(e=t).\u0275fac=function(o){return new(o||e)},e.\u0275prov=Mn({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();function ty(e){su??=new WeakMap;const t=su.get(e);if(t)return t;const i=e.isStable.pipe((0,ft.P)(o=>o)).toPromise().then(()=>{});return su.set(e,i),e.onDestroy(()=>su?.delete(e)),i}function xA(){return!1}function FA(){}const kA=K_(null,"core",[]);let HA=(()=>{var e;class t{constructor(o){}}return(e=t).\u0275fac=function(o){return new(o||e)(vn(Ta))},e.\u0275mod=hi({type:e}),e.\u0275inj=_t({}),t})(),Cy=!1;function aP(){return xu([{provide:Cc,useFactory:()=>{let e=!0;return os()&&(e=!!In(Xa,{optional:!0})?.get(_d,null)),e&&ls("NgHydration"),e}},{provide:js,useValue:()=>{os()&&In(Cc)&&(function lP(){const e=is();let t;for(const i of e.body.childNodes)if(i.nodeType===Node.COMMENT_NODE&&i.textContent?.trim()===HE){t=i;break}if(!t)throw new Ke(-507,!1)}(),function oP(){Cy||(Cy=!0,function WE(){Yg=GE}(),function IM(){Sv=MM}(),function GI(){T0=HI}(),function PM(){Dv=AM}(),function $D(){Vm=KD}(),function zD(){Hm=VD,ah=WD}(),function UD(){Rm=LD}(),function PC(){bp=AC}())}())},multi:!0},{provide:dp,useFactory:()=>os()&&In(Cc)},{provide:Qh,useFactory:()=>{if(os()&&In(Cc)){const e=In(Ta);return In(lo),()=>{(function sP(e,t){return ty(e)})(e).then(()=>{qr.assertInAngularZone(),function MD(e){const t=e._views;for(const i of t){const o=Zg(i);null!==o&&null!==o[Nn]&&(Wr(o)?xc(o):(xc(o[Nn]),Om(o)))}}(e)})}}return()=>{}},multi:!0}])}function cP(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function uP(e,t=NaN){return isNaN(parseFloat(e))||isNaN(Number(e))?t:Number(e)}function hP(e,t){const i=he(e),o=t.elementInjector||Jl();return new sl(i).create(o,t.projectableNodes,t.hostElement,t.environmentInjector)}function fP(e){const t=he(e);if(!t)return null;const i=new sl(t);return{get selector(){return i.selector},get type(){return i.componentType},get inputs(){return i.inputs},get outputs(){return i.outputs},get ngContentSelectors(){return i.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}},61006:(_e,R,r)=>{"use strict";r.d(R,{O4:()=>_,sL:()=>h});var n=r(77533),s=r(58764),c=r(25167);function h(m){m||((0,n.gHi)(h),m=(0,n.f3M)(n.ktI));const b=new s.y(p=>m.onDestroy(p.next.bind(p)));return p=>p.pipe((0,c.R)(b))}function _(m,b){const p=!b?.manualCleanup;p&&!b?.injector&&(0,n.gHi)(_);const D=p?b?.injector?.get(n.ktI)??(0,n.f3M)(n.ktI):null;let a;a=(0,n.tdS)(b?.requireSync?{kind:0}:{kind:1,value:b?.initialValue});const u=m.subscribe({next:E=>a.set({kind:1,value:E}),error:E=>{if(b?.rejectErrors)throw E;a.set({kind:2,error:E})}});return D?.onDestroy(u.unsubscribe.bind(u)),(0,n.Flj)(()=>{const E=a();switch(E.kind){case 1:return E.value;case 2:throw E.error;case 0:throw new n.vHH(601,"`toSignal()` called with `requireSync` but `Observable` did not emit synchronously.")}})}},34645:(_e,R,r)=>{"use strict";r.d(R,{Zs:()=>Fi,Fj:()=>U,oH:()=>Qn,u:()=>Hr,sg:()=>jr,u5:()=>Xt,nD:()=>fi,qQ:()=>Vi,Cf:()=>I,JU:()=>M,a5:()=>Wt,JJ:()=>we,JL:()=>$e,F:()=>zn,wV:()=>en,UX:()=>wn,Q7:()=>di,QS:()=>Nn,p4:()=>hr,nJ:()=>Un,kI:()=>H,_Y:()=>ht});var n=r(77533),s=r(14565),c=r(15973),h=r(58764),v=r(12711),_=r(95749),m=r(28767),b=r(83972),p=r(54590),D=r(86683),u=r(97478);let E=(()=>{var ce;class ie{constructor(q,Ie){this._renderer=q,this._elementRef=Ie,this.onChange=Et=>{},this.onTouched=()=>{}}setProperty(q,Ie){this._renderer.setProperty(this._elementRef.nativeElement,q,Ie)}registerOnTouched(q){this.onTouched=q}registerOnChange(q){this.onChange=q}setDisabledState(q){this.setProperty("disabled",q)}}return(ce=ie).\u0275fac=function(q){return new(q||ce)(n.Y36(n.Qsj),n.Y36(n.SBq))},ce.\u0275dir=n.lG2({type:ce}),ie})(),T=(()=>{var ce;class ie extends E{}return(ce=ie).\u0275fac=(()=>{let Le;return function(Ie){return(Le||(Le=n.n5z(ce)))(Ie||ce)}})(),ce.\u0275dir=n.lG2({type:ce,features:[n.qOj]}),ie})();const M=new n.OlP("NgValueAccessor"),W={provide:M,useExisting:(0,n.Gpc)(()=>U),multi:!0},X=new n.OlP("CompositionEventMode");let U=(()=>{var ce;class ie extends E{constructor(q,Ie,Et){super(q,Ie),this._compositionMode=Et,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function A(){const ce=(0,s.\u0275getDOM)()?(0,s.\u0275getDOM)().getUserAgent():"";return/android (\d+)/.test(ce.toLowerCase())}())}writeValue(q){this.setProperty("value",q??"")}_handleInput(q){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(q)}_compositionStart(){this._composing=!0}_compositionEnd(q){this._composing=!1,this._compositionMode&&this.onChange(q)}}return(ce=ie).\u0275fac=function(q){return new(q||ce)(n.Y36(n.Qsj),n.Y36(n.SBq),n.Y36(X,8))},ce.\u0275dir=n.lG2({type:ce,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(q,Ie){1&q&&n.NdJ("input",function(hn){return Ie._handleInput(hn.target.value)})("blur",function(){return Ie.onTouched()})("compositionstart",function(){return Ie._compositionStart()})("compositionend",function(hn){return Ie._compositionEnd(hn.target.value)})},features:[n._Bn([W]),n.qOj]}),ie})();function O(ce){return null==ce||("string"==typeof ce||Array.isArray(ce))&&0===ce.length}function k(ce){return null!=ce&&"number"==typeof ce.length}const I=new n.OlP("NgValidators"),F=new n.OlP("NgAsyncValidators"),P=/^(?=.{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 H{static min(ie){return $(ie)}static max(ie){return function J(ce){return ie=>{if(O(ie.value)||O(ce))return null;const Le=parseFloat(ie.value);return!isNaN(Le)&&Le>ce?{max:{max:ce,actual:ie.value}}:null}}(ie)}static required(ie){return V(ie)}static requiredTrue(ie){return le(ie)}static email(ie){return function ge(ce){return O(ce.value)||P.test(ce.value)?null:{email:!0}}(ie)}static minLength(ie){return function te(ce){return ie=>O(ie.value)||!k(ie.value)?null:ie.value.length<ce?{minlength:{requiredLength:ce,actualLength:ie.value.length}}:null}(ie)}static maxLength(ie){return We(ie)}static pattern(ie){return function Te(ce){if(!ce)return ee;let ie,Le;return"string"==typeof ce?(Le="","^"!==ce.charAt(0)&&(Le+="^"),Le+=ce,"$"!==ce.charAt(ce.length-1)&&(Le+="$"),ie=new RegExp(Le)):(Le=ce.toString(),ie=ce),q=>{if(O(q.value))return null;const Ie=q.value;return ie.test(Ie)?null:{pattern:{requiredPattern:Le,actualValue:Ie}}}}(ie)}static nullValidator(ie){return null}static compose(ie){return vt(ie)}static composeAsync(ie){return lt(ie)}}function $(ce){return ie=>{if(O(ie.value)||O(ce))return null;const Le=parseFloat(ie.value);return!isNaN(Le)&&Le<ce?{min:{min:ce,actual:ie.value}}:null}}function V(ce){return O(ce.value)?{required:!0}:null}function le(ce){return!0===ce.value?null:{required:!0}}function We(ce){return ie=>k(ie.value)&&ie.value.length>ce?{maxlength:{requiredLength:ce,actualLength:ie.value.length}}:null}function ee(ce){return null}function Q(ce){return null!=ce}function me(ce){return(0,n.QGY)(ce)?(0,c.D)(ce):ce}function pe(ce){let ie={};return ce.forEach(Le=>{ie=null!=Le?{...ie,...Le}:ie}),0===Object.keys(ie).length?null:ie}function se(ce,ie){return ie.map(Le=>Le(ce))}function ct(ce){return ce.map(ie=>function Me(ce){return!ce.validate}(ie)?ie:Le=>ie.validate(Le))}function vt(ce){if(!ce)return null;const ie=ce.filter(Q);return 0==ie.length?null:function(Le){return pe(se(Le,ie))}}function Pt(ce){return null!=ce?vt(ct(ce)):null}function lt(ce){if(!ce)return null;const ie=ce.filter(Q);return 0==ie.length?null:function(Le){return function a(...ce){const ie=(0,m.jO)(ce),{args:Le,keys:q}=(0,v.D)(ce),Ie=new h.y(Et=>{const{length:hn}=Le;if(!hn)return void Et.complete();const fn=new Array(hn);let fr=hn,Si=hn;for(let Or=0;Or<hn;Or++){let rr=!1;(0,_.Xf)(Le[Or]).subscribe((0,b.x)(Et,Br=>{rr||(rr=!0,Si--),fn[Or]=Br},()=>fr--,void 0,()=>{(!fr||!rr)&&(Si||Et.next(q?(0,D.n)(q,fn):fn),Et.complete())}))}});return ie?Ie.pipe((0,p.Z)(ie)):Ie}(se(Le,ie).map(me)).pipe((0,u.U)(pe))}}function tt(ce){return null!=ce?lt(ct(ce)):null}function ut(ce,ie){return null===ce?[ie]:Array.isArray(ce)?[...ce,ie]:[ce,ie]}function ne(ce){return ce._rawValidators}function y(ce){return ce._rawAsyncValidators}function ae(ce){return ce?Array.isArray(ce)?ce:[ce]:[]}function w(ce,ie){return Array.isArray(ce)?ce.includes(ie):ce===ie}function Fe(ce,ie){const Le=ae(ie);return ae(ce).forEach(Ie=>{w(Le,Ie)||Le.push(Ie)}),Le}function Je(ce,ie){return ae(ie).filter(Le=>!w(ce,Le))}class St{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(ie){this._rawValidators=ie||[],this._composedValidatorFn=Pt(this._rawValidators)}_setAsyncValidators(ie){this._rawAsyncValidators=ie||[],this._composedAsyncValidatorFn=tt(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(ie){this._onDestroyCallbacks.push(ie)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(ie=>ie()),this._onDestroyCallbacks=[]}reset(ie=void 0){this.control&&this.control.reset(ie)}hasError(ie,Le){return!!this.control&&this.control.hasError(ie,Le)}getError(ie,Le){return this.control?this.control.getError(ie,Le):null}}class gt extends St{get formDirective(){return null}get path(){return null}}class Wt extends St{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class ft{constructor(ie){this._cd=ie}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 we=(()=>{var ce;class ie extends ft{constructor(q){super(q)}}return(ce=ie).\u0275fac=function(q){return new(q||ce)(n.Y36(Wt,2))},ce.\u0275dir=n.lG2({type:ce,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(q,Ie){2&q&&n.ekj("ng-untouched",Ie.isUntouched)("ng-touched",Ie.isTouched)("ng-pristine",Ie.isPristine)("ng-dirty",Ie.isDirty)("ng-valid",Ie.isValid)("ng-invalid",Ie.isInvalid)("ng-pending",Ie.isPending)},features:[n.qOj]}),ie})(),$e=(()=>{var ce;class ie extends ft{constructor(q){super(q)}}return(ce=ie).\u0275fac=function(q){return new(q||ce)(n.Y36(gt,10))},ce.\u0275dir=n.lG2({type:ce,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(q,Ie){2&q&&n.ekj("ng-untouched",Ie.isUntouched)("ng-touched",Ie.isTouched)("ng-pristine",Ie.isPristine)("ng-dirty",Ie.isDirty)("ng-valid",Ie.isValid)("ng-invalid",Ie.isInvalid)("ng-pending",Ie.isPending)("ng-submitted",Ie.isSubmitted)},features:[n.qOj]}),ie})();const Oe="VALID",Ze="INVALID",Ge="PENDING",Pe="DISABLED";function Ue(ce){return(xe(ce)?ce.validators:ce)||null}function fe(ce,ie){return(xe(ie)?ie.asyncValidators:ce)||null}function xe(ce){return null!=ce&&!Array.isArray(ce)&&"object"==typeof ce}function rt(ce,ie,Le){const q=ce.controls;if(!(ie?Object.keys(q):q).length)throw new n.vHH(1e3,"");if(!q[Le])throw new n.vHH(1001,"")}function xt(ce,ie,Le){ce._forEachChild((q,Ie)=>{if(void 0===Le[Ie])throw new n.vHH(1002,"")})}class tn{constructor(ie,Le){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(ie),this._assignAsyncValidators(Le)}get validator(){return this._composedValidatorFn}set validator(ie){this._rawValidators=this._composedValidatorFn=ie}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(ie){this._rawAsyncValidators=this._composedAsyncValidatorFn=ie}get parent(){return this._parent}get valid(){return this.status===Oe}get invalid(){return this.status===Ze}get pending(){return this.status==Ge}get disabled(){return this.status===Pe}get enabled(){return this.status!==Pe}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(ie){this._assignValidators(ie)}setAsyncValidators(ie){this._assignAsyncValidators(ie)}addValidators(ie){this.setValidators(Fe(ie,this._rawValidators))}addAsyncValidators(ie){this.setAsyncValidators(Fe(ie,this._rawAsyncValidators))}removeValidators(ie){this.setValidators(Je(ie,this._rawValidators))}removeAsyncValidators(ie){this.setAsyncValidators(Je(ie,this._rawAsyncValidators))}hasValidator(ie){return w(this._rawValidators,ie)}hasAsyncValidator(ie){return w(this._rawAsyncValidators,ie)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(ie={}){this.touched=!0,this._parent&&!ie.onlySelf&&this._parent.markAsTouched(ie)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(ie=>ie.markAllAsTouched())}markAsUntouched(ie={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(Le=>{Le.markAsUntouched({onlySelf:!0})}),this._parent&&!ie.onlySelf&&this._parent._updateTouched(ie)}markAsDirty(ie={}){this.pristine=!1,this._parent&&!ie.onlySelf&&this._parent.markAsDirty(ie)}markAsPristine(ie={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(Le=>{Le.markAsPristine({onlySelf:!0})}),this._parent&&!ie.onlySelf&&this._parent._updatePristine(ie)}markAsPending(ie={}){this.status=Ge,!1!==ie.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!ie.onlySelf&&this._parent.markAsPending(ie)}disable(ie={}){const Le=this._parentMarkedDirty(ie.onlySelf);this.status=Pe,this.errors=null,this._forEachChild(q=>{q.disable({...ie,onlySelf:!0})}),this._updateValue(),!1!==ie.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...ie,skipPristineCheck:Le}),this._onDisabledChange.forEach(q=>q(!0))}enable(ie={}){const Le=this._parentMarkedDirty(ie.onlySelf);this.status=Oe,this._forEachChild(q=>{q.enable({...ie,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:ie.emitEvent}),this._updateAncestors({...ie,skipPristineCheck:Le}),this._onDisabledChange.forEach(q=>q(!1))}_updateAncestors(ie){this._parent&&!ie.onlySelf&&(this._parent.updateValueAndValidity(ie),ie.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(ie){this._parent=ie}getRawValue(){return this.value}updateValueAndValidity(ie={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Oe||this.status===Ge)&&this._runAsyncValidator(ie.emitEvent)),!1!==ie.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!ie.onlySelf&&this._parent.updateValueAndValidity(ie)}_updateTreeValidity(ie={emitEvent:!0}){this._forEachChild(Le=>Le._updateTreeValidity(ie)),this.updateValueAndValidity({onlySelf:!0,emitEvent:ie.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Pe:Oe}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(ie){if(this.asyncValidator){this.status=Ge,this._hasOwnPendingAsyncValidator=!0;const Le=me(this.asyncValidator(this));this._asyncValidationSubscription=Le.subscribe(q=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(q,{emitEvent:ie})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(ie,Le={}){this.errors=ie,this._updateControlsErrors(!1!==Le.emitEvent)}get(ie){let Le=ie;return null==Le||(Array.isArray(Le)||(Le=Le.split(".")),0===Le.length)?null:Le.reduce((q,Ie)=>q&&q._find(Ie),this)}getError(ie,Le){const q=Le?this.get(Le):this;return q&&q.errors?q.errors[ie]:null}hasError(ie,Le){return!!this.getError(ie,Le)}get root(){let ie=this;for(;ie._parent;)ie=ie._parent;return ie}_updateControlsErrors(ie){this.status=this._calculateStatus(),ie&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(ie)}_initObservables(){this.valueChanges=new n.vpe,this.statusChanges=new n.vpe}_calculateStatus(){return this._allControlsDisabled()?Pe:this.errors?Ze:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Ge)?Ge:this._anyControlsHaveStatus(Ze)?Ze:Oe}_anyControlsHaveStatus(ie){return this._anyControls(Le=>Le.status===ie)}_anyControlsDirty(){return this._anyControls(ie=>ie.dirty)}_anyControlsTouched(){return this._anyControls(ie=>ie.touched)}_updatePristine(ie={}){this.pristine=!this._anyControlsDirty(),this._parent&&!ie.onlySelf&&this._parent._updatePristine(ie)}_updateTouched(ie={}){this.touched=this._anyControlsTouched(),this._parent&&!ie.onlySelf&&this._parent._updateTouched(ie)}_registerOnCollectionChange(ie){this._onCollectionChange=ie}_setUpdateStrategy(ie){xe(ie)&&null!=ie.updateOn&&(this._updateOn=ie.updateOn)}_parentMarkedDirty(ie){return!ie&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(ie){return null}_assignValidators(ie){this._rawValidators=Array.isArray(ie)?ie.slice():ie,this._composedValidatorFn=function De(ce){return Array.isArray(ce)?Pt(ce):ce||null}(this._rawValidators)}_assignAsyncValidators(ie){this._rawAsyncValidators=Array.isArray(ie)?ie.slice():ie,this._composedAsyncValidatorFn=function He(ce){return Array.isArray(ce)?tt(ce):ce||null}(this._rawAsyncValidators)}}class sn extends tn{constructor(ie,Le,q){super(Ue(Le),fe(q,Le)),this.controls=ie,this._initObservables(),this._setUpdateStrategy(Le),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(ie,Le){return this.controls[ie]?this.controls[ie]:(this.controls[ie]=Le,Le.setParent(this),Le._registerOnCollectionChange(this._onCollectionChange),Le)}addControl(ie,Le,q={}){this.registerControl(ie,Le),this.updateValueAndValidity({emitEvent:q.emitEvent}),this._onCollectionChange()}removeControl(ie,Le={}){this.controls[ie]&&this.controls[ie]._registerOnCollectionChange(()=>{}),delete this.controls[ie],this.updateValueAndValidity({emitEvent:Le.emitEvent}),this._onCollectionChange()}setControl(ie,Le,q={}){this.controls[ie]&&this.controls[ie]._registerOnCollectionChange(()=>{}),delete this.controls[ie],Le&&this.registerControl(ie,Le),this.updateValueAndValidity({emitEvent:q.emitEvent}),this._onCollectionChange()}contains(ie){return this.controls.hasOwnProperty(ie)&&this.controls[ie].enabled}setValue(ie,Le={}){xt(this,0,ie),Object.keys(ie).forEach(q=>{rt(this,!0,q),this.controls[q].setValue(ie[q],{onlySelf:!0,emitEvent:Le.emitEvent})}),this.updateValueAndValidity(Le)}patchValue(ie,Le={}){null!=ie&&(Object.keys(ie).forEach(q=>{const Ie=this.controls[q];Ie&&Ie.patchValue(ie[q],{onlySelf:!0,emitEvent:Le.emitEvent})}),this.updateValueAndValidity(Le))}reset(ie={},Le={}){this._forEachChild((q,Ie)=>{q.reset(ie?ie[Ie]:null,{onlySelf:!0,emitEvent:Le.emitEvent})}),this._updatePristine(Le),this._updateTouched(Le),this.updateValueAndValidity(Le)}getRawValue(){return this._reduceChildren({},(ie,Le,q)=>(ie[q]=Le.getRawValue(),ie))}_syncPendingControls(){let ie=this._reduceChildren(!1,(Le,q)=>!!q._syncPendingControls()||Le);return ie&&this.updateValueAndValidity({onlySelf:!0}),ie}_forEachChild(ie){Object.keys(this.controls).forEach(Le=>{const q=this.controls[Le];q&&ie(q,Le)})}_setUpControls(){this._forEachChild(ie=>{ie.setParent(this),ie._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(ie){for(const[Le,q]of Object.entries(this.controls))if(this.contains(Le)&&ie(q))return!0;return!1}_reduceValue(){return this._reduceChildren({},(Le,q,Ie)=>((q.enabled||this.disabled)&&(Le[Ie]=q.value),Le))}_reduceChildren(ie,Le){let q=ie;return this._forEachChild((Ie,Et)=>{q=Le(q,Ie,Et)}),q}_allControlsDisabled(){for(const ie of Object.keys(this.controls))if(this.controls[ie].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(ie){return this.controls.hasOwnProperty(ie)?this.controls[ie]:null}}const Un=sn;class Zn extends sn{}const Jn=new n.OlP("CallSetDisabledState",{providedIn:"root",factory:()=>er}),er="always";function Wn(ce,ie,Le=er){Cr(ce,ie),ie.valueAccessor.writeValue(ce.value),(ce.disabled||"always"===Le)&&ie.valueAccessor.setDisabledState?.(ce.disabled),function Mn(ce,ie){ie.valueAccessor.registerOnChange(Le=>{ce._pendingValue=Le,ce._pendingChange=!0,ce._pendingDirty=!0,"change"===ce.updateOn&&_t(ce,ie)})}(ce,ie),function et(ce,ie){const Le=(q,Ie)=>{ie.valueAccessor.writeValue(q),Ie&&ie.viewToModelUpdate(q)};ce.registerOnChange(Le),ie._registerOnDestroy(()=>{ce._unregisterOnChange(Le)})}(ce,ie),function Lr(ce,ie){ie.valueAccessor.registerOnTouched(()=>{ce._pendingTouched=!0,"blur"===ce.updateOn&&ce._pendingChange&&_t(ce,ie),"submit"!==ce.updateOn&&ce.markAsTouched()})}(ce,ie),function Ar(ce,ie){if(ie.valueAccessor.setDisabledState){const Le=q=>{ie.valueAccessor.setDisabledState(q)};ce.registerOnDisabledChange(Le),ie._registerOnDestroy(()=>{ce._unregisterOnDisabledChange(Le)})}}(ce,ie)}function gn(ce,ie,Le=!0){const q=()=>{};ie.valueAccessor&&(ie.valueAccessor.registerOnChange(q),ie.valueAccessor.registerOnTouched(q)),Sr(ce,ie),ce&&(ie._invokeOnDestroyCallbacks(),ce._registerOnCollectionChange(()=>{}))}function Fr(ce,ie){ce.forEach(Le=>{Le.registerOnValidatorChange&&Le.registerOnValidatorChange(ie)})}function Cr(ce,ie){const Le=ne(ce);null!==ie.validator?ce.setValidators(ut(Le,ie.validator)):"function"==typeof Le&&ce.setValidators([Le]);const q=y(ce);null!==ie.asyncValidator?ce.setAsyncValidators(ut(q,ie.asyncValidator)):"function"==typeof q&&ce.setAsyncValidators([q]);const Ie=()=>ce.updateValueAndValidity();Fr(ie._rawValidators,Ie),Fr(ie._rawAsyncValidators,Ie)}function Sr(ce,ie){let Le=!1;if(null!==ce){if(null!==ie.validator){const Ie=ne(ce);if(Array.isArray(Ie)&&Ie.length>0){const Et=Ie.filter(hn=>hn!==ie.validator);Et.length!==Ie.length&&(Le=!0,ce.setValidators(Et))}}if(null!==ie.asyncValidator){const Ie=y(ce);if(Array.isArray(Ie)&&Ie.length>0){const Et=Ie.filter(hn=>hn!==ie.asyncValidator);Et.length!==Ie.length&&(Le=!0,ce.setAsyncValidators(Et))}}}const q=()=>{};return Fr(ie._rawValidators,q),Fr(ie._rawAsyncValidators,q),Le}function _t(ce,ie){ce._pendingDirty&&ce.markAsDirty(),ce.setValue(ce._pendingValue,{emitModelToViewChange:!1}),ie.viewToModelUpdate(ce._pendingValue),ce._pendingChange=!1}function Mt(ce,ie){Cr(ce,ie)}function mn(ce,ie){if(!ce.hasOwnProperty("model"))return!1;const Le=ce.model;return!!Le.isFirstChange()||!Object.is(ie,Le.currentValue)}function Vn(ce,ie){ce._syncPendingControls(),ie.forEach(Le=>{const q=Le.control;"submit"===q.updateOn&&q._pendingChange&&(Le.viewToModelUpdate(q._pendingValue),q._pendingChange=!1)})}function Rn(ce,ie){if(!ie)return null;let Le,q,Ie;return Array.isArray(ie),ie.forEach(Et=>{Et.constructor===U?Le=Et:function jt(ce){return Object.getPrototypeOf(ce.constructor)===T}(Et)?q=Et:Ie=Et}),Ie||q||Le||null}const bn={provide:gt,useExisting:(0,n.Gpc)(()=>zn)},_n=(()=>Promise.resolve())();let zn=(()=>{var ce;class ie extends gt{constructor(q,Ie,Et){super(),this.callSetDisabledState=Et,this.submitted=!1,this._directives=new Set,this.ngSubmit=new n.vpe,this.form=new sn({},Pt(q),tt(Ie))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(q){_n.then(()=>{const Ie=this._findContainer(q.path);q.control=Ie.registerControl(q.name,q.control),Wn(q.control,q,this.callSetDisabledState),q.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(q)})}getControl(q){return this.form.get(q.path)}removeControl(q){_n.then(()=>{const Ie=this._findContainer(q.path);Ie&&Ie.removeControl(q.name),this._directives.delete(q)})}addFormGroup(q){_n.then(()=>{const Ie=this._findContainer(q.path),Et=new sn({});Mt(Et,q),Ie.registerControl(q.name,Et),Et.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(q){_n.then(()=>{const Ie=this._findContainer(q.path);Ie&&Ie.removeControl(q.name)})}getFormGroup(q){return this.form.get(q.path)}updateModel(q,Ie){_n.then(()=>{this.form.get(q.path).setValue(Ie)})}setValue(q){this.control.setValue(q)}onSubmit(q){return this.submitted=!0,Vn(this.form,this._directives),this.ngSubmit.emit(q),"dialog"===q?.target?.method}onReset(){this.resetForm()}resetForm(q=void 0){this.form.reset(q),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(q){return q.pop(),q.length?this.form.get(q):this.form}}return(ce=ie).\u0275fac=function(q){return new(q||ce)(n.Y36(I,10),n.Y36(F,10),n.Y36(Jn,8))},ce.\u0275dir=n.lG2({type:ce,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(q,Ie){1&q&&n.NdJ("submit",function(hn){return Ie.onSubmit(hn)})("reset",function(){return Ie.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[n._Bn([bn]),n.qOj]}),ie})();function dr(ce,ie){const Le=ce.indexOf(ie);Le>-1&&ce.splice(Le,1)}function an(ce){return"object"==typeof ce&&null!==ce&&2===Object.keys(ce).length&&"value"in ce&&"disabled"in ce}const Yt=class extends tn{constructor(ie=null,Le,q){super(Ue(Le),fe(q,Le)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(ie),this._setUpdateStrategy(Le),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),xe(Le)&&(Le.nonNullable||Le.initialValueIsDefault)&&(this.defaultValue=an(ie)?ie.value:ie)}setValue(ie,Le={}){this.value=this._pendingValue=ie,this._onChange.length&&!1!==Le.emitModelToViewChange&&this._onChange.forEach(q=>q(this.value,!1!==Le.emitViewToModelChange)),this.updateValueAndValidity(Le)}patchValue(ie,Le={}){this.setValue(ie,Le)}reset(ie=this.defaultValue,Le={}){this._applyFormState(ie),this.markAsPristine(Le),this.markAsUntouched(Le),this.setValue(this.value,Le),this._pendingChange=!1}_updateValue(){}_anyControls(ie){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(ie){this._onChange.push(ie)}_unregisterOnChange(ie){dr(this._onChange,ie)}registerOnDisabledChange(ie){this._onDisabledChange.push(ie)}_unregisterOnDisabledChange(ie){dr(this._onDisabledChange,ie)}_forEachChild(ie){}_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(ie){an(ie)?(this.value=this._pendingValue=ie.value,ie.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=ie}},hr=Yt;let ht=(()=>{var ce;class ie{}return(ce=ie).\u0275fac=function(q){return new(q||ce)},ce.\u0275dir=n.lG2({type:ce,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),ie})();const Gt={provide:M,useExisting:(0,n.Gpc)(()=>en),multi:!0};let en=(()=>{var ce;class ie extends T{writeValue(q){this.setProperty("value",q??"")}registerOnChange(q){this.onChange=Ie=>{q(""==Ie?null:parseFloat(Ie))}}}return(ce=ie).\u0275fac=(()=>{let Le;return function(Ie){return(Le||(Le=n.n5z(ce)))(Ie||ce)}})(),ce.\u0275dir=n.lG2({type:ce,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(q,Ie){1&q&&n.NdJ("input",function(hn){return Ie.onChange(hn.target.value)})("blur",function(){return Ie.onTouched()})},features:[n._Bn([Gt]),n.qOj]}),ie})(),Gn=(()=>{var ce;class ie{}return(ce=ie).\u0275fac=function(q){return new(q||ce)},ce.\u0275mod=n.oAB({type:ce}),ce.\u0275inj=n.cJS({}),ie})();const jn=new n.OlP("NgModelWithFormControlWarning"),In={provide:Wt,useExisting:(0,n.Gpc)(()=>Qn)};let Qn=(()=>{var ce;class ie extends Wt{set isDisabled(q){}constructor(q,Ie,Et,hn,fn){super(),this._ngModelWarningConfig=hn,this.callSetDisabledState=fn,this.update=new n.vpe,this._ngModelWarningSent=!1,this._setValidators(q),this._setAsyncValidators(Ie),this.valueAccessor=Rn(0,Et)}ngOnChanges(q){if(this._isControlChanged(q)){const Ie=q.form.previousValue;Ie&&gn(Ie,this,!1),Wn(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}mn(q,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&gn(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(q){this.viewModel=q,this.update.emit(q)}_isControlChanged(q){return q.hasOwnProperty("form")}}return(ce=ie)._ngModelWarningSentOnce=!1,ce.\u0275fac=function(q){return new(q||ce)(n.Y36(I,10),n.Y36(F,10),n.Y36(M,10),n.Y36(jn,8),n.Y36(Jn,8))},ce.\u0275dir=n.lG2({type:ce,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[n._Bn([In]),n.qOj,n.TTD]}),ie})();const ni={provide:gt,useExisting:(0,n.Gpc)(()=>jr)};let jr=(()=>{var ce;class ie extends gt{constructor(q,Ie,Et){super(),this.callSetDisabledState=Et,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new n.vpe,this._setValidators(q),this._setAsyncValidators(Ie)}ngOnChanges(q){this._checkFormPresent(),q.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Sr(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(q){const Ie=this.form.get(q.path);return Wn(Ie,q,this.callSetDisabledState),Ie.updateValueAndValidity({emitEvent:!1}),this.directives.push(q),Ie}getControl(q){return this.form.get(q.path)}removeControl(q){gn(q.control||null,q,!1),function Ln(ce,ie){const Le=ce.indexOf(ie);Le>-1&&ce.splice(Le,1)}(this.directives,q)}addFormGroup(q){this._setUpFormContainer(q)}removeFormGroup(q){this._cleanUpFormContainer(q)}getFormGroup(q){return this.form.get(q.path)}addFormArray(q){this._setUpFormContainer(q)}removeFormArray(q){this._cleanUpFormContainer(q)}getFormArray(q){return this.form.get(q.path)}updateModel(q,Ie){this.form.get(q.path).setValue(Ie)}onSubmit(q){return this.submitted=!0,Vn(this.form,this.directives),this.ngSubmit.emit(q),"dialog"===q?.target?.method}onReset(){this.resetForm()}resetForm(q=void 0){this.form.reset(q),this.submitted=!1}_updateDomValue(){this.directives.forEach(q=>{const Ie=q.control,Et=this.form.get(q.path);Ie!==Et&&(gn(Ie||null,q),(ce=>ce instanceof Yt)(Et)&&(Wn(Et,q,this.callSetDisabledState),q.control=Et))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(q){const Ie=this.form.get(q.path);Mt(Ie,q),Ie.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(q){if(this.form){const Ie=this.form.get(q.path);Ie&&function Ct(ce,ie){return Sr(ce,ie)}(Ie,q)&&Ie.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Cr(this.form,this),this._oldForm&&Sr(this._oldForm,this)}_checkFormPresent(){}}return(ce=ie).\u0275fac=function(q){return new(q||ce)(n.Y36(I,10),n.Y36(F,10),n.Y36(Jn,8))},ce.\u0275dir=n.lG2({type:ce,selectors:[["","formGroup",""]],hostBindings:function(q,Ie){1&q&&n.NdJ("submit",function(hn){return Ie.onSubmit(hn)})("reset",function(){return Ie.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[n._Bn([ni]),n.qOj,n.TTD]}),ie})();const vi={provide:Wt,useExisting:(0,n.Gpc)(()=>Hr)};let Hr=(()=>{var ce;class ie extends Wt{set isDisabled(q){}constructor(q,Ie,Et,hn,fn){super(),this._ngModelWarningConfig=fn,this._added=!1,this.name=null,this.update=new n.vpe,this._ngModelWarningSent=!1,this._parent=q,this._setValidators(Ie),this._setAsyncValidators(Et),this.valueAccessor=Rn(0,hn)}ngOnChanges(q){this._added||this._setUpControl(),mn(q,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(q){this.viewModel=q,this.update.emit(q)}get path(){return function or(ce,ie){return[...ie.path,ce]}(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}}return(ce=ie)._ngModelWarningSentOnce=!1,ce.\u0275fac=function(q){return new(q||ce)(n.Y36(gt,13),n.Y36(I,10),n.Y36(F,10),n.Y36(M,10),n.Y36(jn,8))},ce.\u0275dir=n.lG2({type:ce,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[n._Bn([vi]),n.qOj,n.TTD]}),ie})();let ri=(()=>{var ce;class ie{constructor(){this._validator=ee}ngOnChanges(q){if(this.inputName in q){const Ie=this.normalizeInput(q[this.inputName].currentValue);this._enabled=this.enabled(Ie),this._validator=this._enabled?this.createValidator(Ie):ee,this._onChange&&this._onChange()}}validate(q){return this._validator(q)}registerOnValidatorChange(q){this._onChange=q}enabled(q){return null!=q}}return(ce=ie).\u0275fac=function(q){return new(q||ce)},ce.\u0275dir=n.lG2({type:ce,features:[n.TTD]}),ie})();const Ur={provide:I,useExisting:(0,n.Gpc)(()=>Vi),multi:!0};let Vi=(()=>{var ce;class ie extends ri{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=q=>function Gr(ce){return"number"==typeof ce?ce:parseFloat(ce)}(q),this.createValidator=q=>$(q)}}return(ce=ie).\u0275fac=(()=>{let Le;return function(Ie){return(Le||(Le=n.n5z(ce)))(Ie||ce)}})(),ce.\u0275dir=n.lG2({type:ce,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(q,Ie){2&q&&n.uIk("min",Ie._enabled?Ie.min:null)},inputs:{min:"min"},features:[n._Bn([Ur]),n.qOj]}),ie})();const Ei={provide:I,useExisting:(0,n.Gpc)(()=>di),multi:!0},fo={provide:I,useExisting:(0,n.Gpc)(()=>Fi),multi:!0};let di=(()=>{var ce;class ie extends ri{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=n.VuI,this.createValidator=q=>V}enabled(q){return q}}return(ce=ie).\u0275fac=(()=>{let Le;return function(Ie){return(Le||(Le=n.n5z(ce)))(Ie||ce)}})(),ce.\u0275dir=n.lG2({type:ce,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(q,Ie){2&q&&n.uIk("required",Ie._enabled?"":null)},inputs:{required:"required"},features:[n._Bn([Ei]),n.qOj]}),ie})(),Fi=(()=>{var ce;class ie extends di{constructor(){super(...arguments),this.createValidator=q=>le}}return(ce=ie).\u0275fac=(()=>{let Le;return function(Ie){return(Le||(Le=n.n5z(ce)))(Ie||ce)}})(),ce.\u0275dir=n.lG2({type:ce,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(q,Ie){2&q&&n.uIk("required",Ie._enabled?"":null)},features:[n._Bn([fo]),n.qOj]}),ie})();const hi={provide:I,useExisting:(0,n.Gpc)(()=>fi),multi:!0};let fi=(()=>{var ce;class ie extends ri{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=q=>function ro(ce){return"number"==typeof ce?ce:parseInt(ce,10)}(q),this.createValidator=q=>We(q)}}return(ce=ie).\u0275fac=(()=>{let Le;return function(Ie){return(Le||(Le=n.n5z(ce)))(Ie||ce)}})(),ce.\u0275dir=n.lG2({type:ce,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(q,Ie){2&q&&n.uIk("maxlength",Ie._enabled?Ie.maxlength:null)},inputs:{maxlength:"maxlength"},features:[n._Bn([hi]),n.qOj]}),ie})(),oe=(()=>{var ce;class ie{}return(ce=ie).\u0275fac=function(q){return new(q||ce)},ce.\u0275mod=n.oAB({type:ce}),ce.\u0275inj=n.cJS({imports:[Gn]}),ie})();class Ne extends tn{constructor(ie,Le,q){super(Ue(Le),fe(q,Le)),this.controls=ie,this._initObservables(),this._setUpdateStrategy(Le),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(ie){return this.controls[this._adjustIndex(ie)]}push(ie,Le={}){this.controls.push(ie),this._registerControl(ie),this.updateValueAndValidity({emitEvent:Le.emitEvent}),this._onCollectionChange()}insert(ie,Le,q={}){this.controls.splice(ie,0,Le),this._registerControl(Le),this.updateValueAndValidity({emitEvent:q.emitEvent})}removeAt(ie,Le={}){let q=this._adjustIndex(ie);q<0&&(q=0),this.controls[q]&&this.controls[q]._registerOnCollectionChange(()=>{}),this.controls.splice(q,1),this.updateValueAndValidity({emitEvent:Le.emitEvent})}setControl(ie,Le,q={}){let Ie=this._adjustIndex(ie);Ie<0&&(Ie=0),this.controls[Ie]&&this.controls[Ie]._registerOnCollectionChange(()=>{}),this.controls.splice(Ie,1),Le&&(this.controls.splice(Ie,0,Le),this._registerControl(Le)),this.updateValueAndValidity({emitEvent:q.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(ie,Le={}){xt(this,0,ie),ie.forEach((q,Ie)=>{rt(this,!1,Ie),this.at(Ie).setValue(q,{onlySelf:!0,emitEvent:Le.emitEvent})}),this.updateValueAndValidity(Le)}patchValue(ie,Le={}){null!=ie&&(ie.forEach((q,Ie)=>{this.at(Ie)&&this.at(Ie).patchValue(q,{onlySelf:!0,emitEvent:Le.emitEvent})}),this.updateValueAndValidity(Le))}reset(ie=[],Le={}){this._forEachChild((q,Ie)=>{q.reset(ie[Ie],{onlySelf:!0,emitEvent:Le.emitEvent})}),this._updatePristine(Le),this._updateTouched(Le),this.updateValueAndValidity(Le)}getRawValue(){return this.controls.map(ie=>ie.getRawValue())}clear(ie={}){this.controls.length<1||(this._forEachChild(Le=>Le._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:ie.emitEvent}))}_adjustIndex(ie){return ie<0?ie+this.length:ie}_syncPendingControls(){let ie=this.controls.reduce((Le,q)=>!!q._syncPendingControls()||Le,!1);return ie&&this.updateValueAndValidity({onlySelf:!0}),ie}_forEachChild(ie){this.controls.forEach((Le,q)=>{ie(Le,q)})}_updateValue(){this.value=this.controls.filter(ie=>ie.enabled||this.disabled).map(ie=>ie.value)}_anyControls(ie){return this.controls.some(Le=>Le.enabled&&ie(Le))}_setUpControls(){this._forEachChild(ie=>this._registerControl(ie))}_allControlsDisabled(){for(const ie of this.controls)if(ie.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(ie){ie.setParent(this),ie._registerOnCollectionChange(this._onCollectionChange)}_find(ie){return this.at(ie)??null}}function $t(ce){return!!ce&&(void 0!==ce.asyncValidators||void 0!==ce.validators||void 0!==ce.updateOn)}let dn=(()=>{var ce;class ie{constructor(){this.useNonNullable=!1}get nonNullable(){const q=new ie;return q.useNonNullable=!0,q}group(q,Ie=null){const Et=this._reduceControls(q);let hn={};return $t(Ie)?hn=Ie:null!==Ie&&(hn.validators=Ie.validator,hn.asyncValidators=Ie.asyncValidator),new sn(Et,hn)}record(q,Ie=null){const Et=this._reduceControls(q);return new Zn(Et,Ie)}control(q,Ie,Et){let hn={};return this.useNonNullable?($t(Ie)?hn=Ie:(hn.validators=Ie,hn.asyncValidators=Et),new Yt(q,{...hn,nonNullable:!0})):new Yt(q,Ie,Et)}array(q,Ie,Et){const hn=q.map(fn=>this._createControl(fn));return new Ne(hn,Ie,Et)}_reduceControls(q){const Ie={};return Object.keys(q).forEach(Et=>{Ie[Et]=this._createControl(q[Et])}),Ie}_createControl(q){return q instanceof Yt||q instanceof tn?q:Array.isArray(q)?this.control(q[0],q.length>1?q[1]:null,q.length>2?q[2]:null):this.control(q)}}return(ce=ie).\u0275fac=function(q){return new(q||ce)},ce.\u0275prov=n.Yz7({token:ce,factory:ce.\u0275fac,providedIn:"root"}),ie})(),Nn=(()=>{var ce;class ie extends dn{group(q,Ie=null){return super.group(q,Ie)}control(q,Ie,Et){return super.control(q,Ie,Et)}array(q,Ie,Et){return super.array(q,Ie,Et)}}return(ce=ie).\u0275fac=(()=>{let Le;return function(Ie){return(Le||(Le=n.n5z(ce)))(Ie||ce)}})(),ce.\u0275prov=n.Yz7({token:ce,factory:ce.\u0275fac,providedIn:"root"}),ie})(),Xt=(()=>{var ce;class ie{static withConfig(q){return{ngModule:ie,providers:[{provide:Jn,useValue:q.callSetDisabledState??er}]}}}return(ce=ie).\u0275fac=function(q){return new(q||ce)},ce.\u0275mod=n.oAB({type:ce}),ce.\u0275inj=n.cJS({imports:[oe]}),ie})(),wn=(()=>{var ce;class ie{static withConfig(q){return{ngModule:ie,providers:[{provide:jn,useValue:q.warnOnNgModelWithFormControl??"always"},{provide:Jn,useValue:q.callSetDisabledState??er}]}}}return(ce=ie).\u0275fac=function(q){return new(q||ce)},ce.\u0275mod=n.oAB({type:ce}),ce.\u0275inj=n.cJS({imports:[oe]}),ie})()},48706:(_e,R,r)=>{"use strict";r.d(R,{OG:()=>A,_r:()=>W,ch:()=>k,oL:()=>U});var n=r(83865),s=r(20860),c=r(77533),h=r(55704),v=r(62424),_=r(45208),m=r(50996),b=r(14565),p=r(21796),D=r(97835),a=r(9739),u=r(17343),E=r(36305),T=r(49804);function M(I,F){}const B={bottomSheetState:(0,p.X$)("state",[(0,p.SB)("void, hidden",(0,p.oB)({transform:"translateY(100%)"})),(0,p.SB)("visible",(0,p.oB)({transform:"translateY(0%)"})),(0,p.eR)("visible => void, visible => hidden",(0,p.ru)([(0,p.jt)(`${h.mZ.COMPLEX} ${h.yN.ACCELERATION_CURVE}`),(0,p.IO)("@*",(0,p.pV)(),{optional:!0})])),(0,p.eR)("void => visible",(0,p.ru)([(0,p.jt)(`${h.mZ.EXITING} ${h.yN.DECELERATION_CURVE}`),(0,p.IO)("@*",(0,p.pV)(),{optional:!0})]))])};let N=(()=>{var I;class F extends n.LL{constructor(H,$,J,V,le,ge,te,We,Te,ee){super(H,$,J,V,le,ge,te,ee),this._changeDetectorRef=Te,this._animationState="void",this._animationStateChanged=new c.vpe,this._breakpointSubscription=We.observe([_.u3.Medium,_.u3.Large,_.u3.XLarge]).subscribe(()=>{this._toggleClass("mat-bottom-sheet-container-medium",We.isMatched(_.u3.Medium)),this._toggleClass("mat-bottom-sheet-container-large",We.isMatched(_.u3.Large)),this._toggleClass("mat-bottom-sheet-container-xlarge",We.isMatched(_.u3.XLarge))})}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges())}exit(){this._destroyed||(this._animationState="hidden",this._changeDetectorRef.markForCheck())}ngOnDestroy(){super.ngOnDestroy(),this._breakpointSubscription.unsubscribe(),this._destroyed=!0}_onAnimationDone(H){"visible"===H.toState&&this._trapFocus(),this._animationStateChanged.emit(H)}_onAnimationStart(H){this._animationStateChanged.emit(H)}_captureInitialFocus(){}_toggleClass(H,$){this._elementRef.nativeElement.classList.toggle(H,$)}}return(I=F).\u0275fac=function(H){return new(H||I)(c.Y36(c.SBq),c.Y36(v.qV),c.Y36(b.DOCUMENT,8),c.Y36(n.ib),c.Y36(v.ic),c.Y36(c.R0b),c.Y36(m.Iu),c.Y36(_.Yg),c.Y36(c.sBO),c.Y36(v.tE))},I.\u0275cmp=c.Xpm({type:I,selectors:[["mat-bottom-sheet-container"]],hostAttrs:["tabindex","-1",1,"mat-bottom-sheet-container"],hostVars:4,hostBindings:function(H,$){1&H&&c.WFA("@state.start",function(V){return $._onAnimationStart(V)})("@state.done",function(V){return $._onAnimationDone(V)}),2&H&&(c.uIk("role",$._config.role)("aria-modal",$._config.ariaModal)("aria-label",$._config.ariaLabel),c.d8E("@state",$._animationState))},features:[c.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(H,$){1&H&&c.YNc(0,M,0,0,"ng-template",0)},dependencies:[s.Pl],styles:[".mat-bottom-sheet-container{box-shadow:0px 8px 10px -5px rgba(0, 0, 0, 0.2), 0px 16px 24px 2px rgba(0, 0, 0, 0.14), 0px 6px 30px 5px rgba(0, 0, 0, 0.12);padding:8px 16px;min-width:100vw;box-sizing:border-box;display:block;outline:0;max-height:80vh;overflow:auto;background:var(--mat-bottom-sheet-container-background-color);color:var(--mat-bottom-sheet-container-text-color);font-family:var(--mat-bottom-sheet-container-text-font);font-size:var(--mat-bottom-sheet-container-text-size);line-height:var(--mat-bottom-sheet-container-text-line-height);font-weight:var(--mat-bottom-sheet-container-text-weight);letter-spacing:var(--mat-bottom-sheet-container-text-tracking)}.cdk-high-contrast-active .mat-bottom-sheet-container{outline:1px solid}.mat-bottom-sheet-container-xlarge,.mat-bottom-sheet-container-large,.mat-bottom-sheet-container-medium{border-top-left-radius:var(--mat-bottom-sheet-container-shape);border-top-right-radius:var(--mat-bottom-sheet-container-shape)}.mat-bottom-sheet-container-medium{min-width:384px;max-width:calc(100vw - 128px)}.mat-bottom-sheet-container-large{min-width:512px;max-width:calc(100vw - 256px)}.mat-bottom-sheet-container-xlarge{min-width:576px;max-width:calc(100vw - 384px)}"],encapsulation:2,data:{animation:[B.bottomSheetState]}}),F})(),W=(()=>{var I;class F{}return(I=F).\u0275fac=function(H){return new(H||I)},I.\u0275mod=c.oAB({type:I}),I.\u0275inj=c.cJS({imports:[n.Su,h.BQ,s.eL,h.BQ]}),F})();const A=new c.OlP("MatBottomSheetData");class X{constructor(){this.data=null,this.hasBackdrop=!0,this.disableClose=!1,this.ariaLabel=null,this.ariaModal=!0,this.closeOnNavigation=!0,this.autoFocus="dialog",this.restoreFocus=!0}}class U{get instance(){return this._ref.componentInstance}get componentRef(){return this._ref.componentRef}constructor(F,P,H){this._ref=F,this._afterOpened=new a.x,this.containerInstance=H,this.disableClose=P.disableClose,H._animationStateChanged.pipe((0,E.h)($=>"done"===$.phaseName&&"visible"===$.toState),(0,T.q)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),H._animationStateChanged.pipe((0,E.h)($=>"done"===$.phaseName&&"hidden"===$.toState),(0,T.q)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._ref.close(this._result)}),F.overlayRef.detachments().subscribe(()=>{this._ref.close(this._result)}),(0,u.T)(this.backdropClick(),this.keydownEvents().pipe((0,E.h)($=>$.keyCode===D.hY))).subscribe($=>{!this.disableClose&&("keydown"!==$.type||!(0,D.Vb)($))&&($.preventDefault(),this.dismiss())})}dismiss(F){this.containerInstance&&(this.containerInstance._animationStateChanged.pipe((0,E.h)(P=>"start"===P.phaseName),(0,T.q)(1)).subscribe(P=>{this._closeFallbackTimeout=setTimeout(()=>{this._ref.close(this._result)},P.totalTime+100),this._ref.overlayRef.detachBackdrop()}),this._result=F,this.containerInstance.exit(),this.containerInstance=null)}afterDismissed(){return this._ref.closed}afterOpened(){return this._afterOpened}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}}const O=new c.OlP("mat-bottom-sheet-default-options");let k=(()=>{var I;class F{get _openedBottomSheetRef(){const H=this._parentBottomSheet;return H?H._openedBottomSheetRef:this._bottomSheetRefAtThisLevel}set _openedBottomSheetRef(H){this._parentBottomSheet?this._parentBottomSheet._openedBottomSheetRef=H:this._bottomSheetRefAtThisLevel=H}constructor(H,$,J,V){this._overlay=H,this._parentBottomSheet=J,this._defaultOptions=V,this._bottomSheetRefAtThisLevel=null,this._dialog=$.get(n.Vq)}open(H,$){const J={...this._defaultOptions||new X,...$};let V;return this._dialog.open(H,{...J,disableClose:!0,closeOnOverlayDetachments:!1,maxWidth:"100%",container:N,scrollStrategy:J.scrollStrategy||this._overlay.scrollStrategies.block(),positionStrategy:this._overlay.position().global().centerHorizontally().bottom("0"),templateContext:()=>({bottomSheetRef:V}),providers:(le,ge,te)=>(V=new U(le,J,te),[{provide:U,useValue:V},{provide:A,useValue:J.data}])}),V.afterDismissed().subscribe(()=>{this._openedBottomSheetRef===V&&(this._openedBottomSheetRef=null)}),this._openedBottomSheetRef?(this._openedBottomSheetRef.afterDismissed().subscribe(()=>V.containerInstance?.enter()),this._openedBottomSheetRef.dismiss()):V.containerInstance.enter(),this._openedBottomSheetRef=V,V}dismiss(H){this._openedBottomSheetRef&&this._openedBottomSheetRef.dismiss(H)}ngOnDestroy(){this._bottomSheetRefAtThisLevel&&this._bottomSheetRefAtThisLevel.dismiss()}}return(I=F).\u0275fac=function(H){return new(H||I)(c.LFG(m.aV),c.LFG(c.zs3),c.LFG(I,12),c.LFG(O,8))},I.\u0275prov=c.Yz7({token:I,factory:I.\u0275fac,providedIn:W}),F})()},85218:(_e,R,r)=>{"use strict";r.d(R,{EX:()=>$,RK:()=>V,Tq:()=>J,cs:()=>P,lW:()=>U,nh:()=>H,ot:()=>ge});var n=r(44798),s=r(77533),c=r(62424),h=r(55704);const v=["mat-button",""],_=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],m=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],p=".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}",D=["mat-fab",""],a=["mat-mini-fab",""],u='.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1);background-color:var(--mdc-elevation-overlay-color)}.mdc-fab{position:relative;display:inline-flex;position:relative;align-items:center;justify-content:center;box-sizing:border-box;width:56px;height:56px;padding:0;border:none;fill:currentColor;text-decoration:none;cursor:pointer;user-select:none;-moz-appearance:none;-webkit-appearance:none;overflow:visible;transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),opacity 15ms linear 30ms,transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-fab .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-fab[hidden]{display:none}.mdc-fab::-moz-focus-inner{padding:0;border:0}.mdc-fab:hover{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12)}.mdc-fab.mdc-ripple-upgraded--background-focused,.mdc-fab:not(.mdc-ripple-upgraded):focus{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12)}.mdc-fab .mdc-fab__focus-ring{position:absolute}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{border-color:CanvasText}}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{border-color:CanvasText}}.mdc-fab:active,.mdc-fab:focus:active{box-shadow:0px 7px 8px -4px rgba(0, 0, 0, 0.2), 0px 12px 17px 2px rgba(0, 0, 0, 0.14), 0px 5px 22px 4px rgba(0, 0, 0, 0.12)}.mdc-fab:active,.mdc-fab:focus{outline:none}.mdc-fab:hover{cursor:pointer}.mdc-fab>svg{width:100%}.mdc-fab--mini{width:40px;height:40px}.mdc-fab--extended{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-button-font-family);font-size:var(--mdc-typography-button-font-size);line-height:var(--mdc-typography-button-line-height);font-weight:var(--mdc-typography-button-font-weight);letter-spacing:var(--mdc-typography-button-letter-spacing);text-decoration:var(--mdc-typography-button-text-decoration);text-transform:var(--mdc-typography-button-text-transform);border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mdc-fab--extended .mdc-fab__ripple{border-radius:24px}.mdc-fab--extended .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mdc-fab--extended .mdc-fab__icon,.mdc-fab--extended .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mdc-fab--extended .mdc-fab__label+.mdc-fab__icon,.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mdc-fab--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-fab--touch .mdc-fab__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-fab::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-fab::before{border-color:CanvasText}}.mdc-fab__label{justify-content:flex-start;text-overflow:ellipsis;white-space:nowrap;overflow-x:hidden;overflow-y:visible}.mdc-fab__icon{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mdc-fab .mdc-fab__icon{display:inline-flex;align-items:center;justify-content:center}.mdc-fab--exited{transform:scale(0);opacity:0;transition:opacity 15ms linear 150ms,transform 180ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-fab--exited .mdc-fab__icon{transform:scale(0);transition:transform 135ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-fab,.mat-mdc-mini-fab{background-color:var(--mdc-fab-container-color)}.mat-mdc-fab .mdc-fab__icon,.mat-mdc-mini-fab .mdc-fab__icon{width:var(--mdc-fab-icon-size);height:var(--mdc-fab-icon-size);font-size:var(--mdc-fab-icon-size)}.mat-mdc-fab:not(.mdc-fab--extended),.mat-mdc-mini-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-container-shape)}.mat-mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple,.mat-mdc-mini-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-container-shape)}.mat-mdc-extended-fab{font-family:var(--mdc-extended-fab-label-text-font);font-size:var(--mdc-extended-fab-label-text-size);font-weight:var(--mdc-extended-fab-label-text-weight);letter-spacing:var(--mdc-extended-fab-label-text-tracking)}.mat-mdc-fab,.mat-mdc-mini-fab{-webkit-tap-highlight-color:rgba(0,0,0,0);box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);flex-shrink:0;color:var(--mat-fab-foreground-color, inherit)}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-fab .mdc-button__label,.mat-mdc-mini-fab .mdc-button__label{z-index:1}.mat-mdc-fab .mat-mdc-focus-indicator,.mat-mdc-mini-fab .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-fab:focus .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-fab .mat-mdc-button-touch-target,.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-fab .mat-ripple-element,.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-fab-ripple-color)}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-state-layer-color)}.mat-mdc-fab:hover .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-hover-state-layer-opacity)}.mat-mdc-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-focus-state-layer-opacity)}.mat-mdc-fab:active .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-pressed-state-layer-opacity)}.mat-mdc-fab._mat-animation-noopable,.mat-mdc-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab:hover,.mat-mdc-fab:focus,.mat-mdc-mini-fab:hover,.mat-mdc-mini-fab:focus{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12)}.mat-mdc-fab:active,.mat-mdc-fab:focus:active,.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:0px 7px 8px -4px rgba(0, 0, 0, 0.2), 0px 12px 17px 2px rgba(0, 0, 0, 0.14), 0px 5px 22px 4px rgba(0, 0, 0, 0.12)}.mat-mdc-fab[disabled],.mat-mdc-mini-fab[disabled]{cursor:default;pointer-events:none;box-shadow:0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12);color:var(--mat-fab-disabled-state-foreground-color);background-color:var(--mat-fab-disabled-state-container-color)}.mat-mdc-fab:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-mini-fab:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}.mat-mdc-fab .mat-icon,.mat-mdc-fab .material-icons,.mat-mdc-mini-fab .mat-icon,.mat-mdc-mini-fab .material-icons{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mat-mdc-fab .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-extended-fab>.mat-icon,.mat-mdc-extended-fab>.material-icons{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mat-mdc-extended-fab>.mat-icon,[dir=rtl] .mat-mdc-extended-fab>.material-icons,.mat-mdc-extended-fab>.mat-icon[dir=rtl],.mat-mdc-extended-fab>.material-icons[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mat-mdc-extended-fab .mdc-button__label+.mat-icon,.mat-mdc-extended-fab .mdc-button__label+.material-icons{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.material-icons,.mat-mdc-extended-fab .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-extended-fab .mdc-button__label+.material-icons[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}',E=["mat-icon-button",""],T=["*"],N=[{attribute:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{attribute:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{attribute:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{attribute:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{attribute:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab"]},{attribute:"mat-mini-fab",mdcClasses:["mdc-fab","mdc-fab--mini","mat-mdc-mini-fab"]},{attribute:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}];let W=(()=>{var te;class We{get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(ee){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,ee)}get disableRipple(){return this._disableRipple}set disableRipple(ee){this._disableRipple=ee,this._updateRippleDisabled()}get disabled(){return this._disabled}set disabled(ee){this._disabled=ee,this._updateRippleDisabled()}constructor(ee,Q,me,pe){this._elementRef=ee,this._platform=Q,this._ngZone=me,this._animationMode=pe,this._focusMonitor=(0,s.f3M)(c.tE),this._rippleLoader=(0,s.f3M)(h.Fq),this._isFab=!1,this._disableRipple=!1,this._disabled=!1,this._rippleLoader?.configureRipple(this._elementRef.nativeElement,{className:"mat-mdc-button-ripple"});const se=this._elementRef.nativeElement,Me=se.classList;for(const{attribute:ct,mdcClasses:vt}of N)se.hasAttribute(ct)&&Me.add(...vt)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(ee="program",Q){ee?this._focusMonitor.focusVia(this._elementRef.nativeElement,ee,Q):this._elementRef.nativeElement.focus(Q)}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}}return(te=We).\u0275fac=function(ee){s.$Z()},te.\u0275dir=s.lG2({type:te,inputs:{color:"color",disableRipple:["disableRipple","disableRipple",s.VuI],disabled:["disabled","disabled",s.VuI]},features:[s.Xq5]}),We})(),X=(()=>{var te;class We extends W{constructor(ee,Q,me,pe){super(ee,Q,me,pe),this._haltDisabledEvents=se=>{this.disabled&&(se.preventDefault(),se.stopImmediatePropagation())}}ngOnInit(){this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)})}ngOnDestroy(){super.ngOnDestroy(),this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)}}return(te=We).\u0275fac=function(ee){s.$Z()},te.\u0275dir=s.lG2({type:te,inputs:{tabIndex:["tabIndex","tabIndex",Te=>null==Te?void 0:(0,s.Cb_)(Te)]},features:[s.Xq5,s.qOj]}),We})(),U=(()=>{var te;class We extends W{constructor(ee,Q,me,pe){super(ee,Q,me,pe)}}return(te=We).\u0275fac=function(ee){return new(ee||te)(s.Y36(s.SBq),s.Y36(n.t4),s.Y36(s.R0b),s.Y36(s.QbO,8))},te.\u0275cmp=s.Xpm({type:te,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:9,hostBindings:function(ee,Q){2&ee&&(s.uIk("disabled",Q.disabled||null),s.Tol(Q.color?"mat-"+Q.color:""),s.ekj("_mat-animation-noopable","NoopAnimations"===Q._animationMode)("mat-unthemed",!Q.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],features:[s.qOj],attrs:v,ngContentSelectors:m,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(ee,Q){1&ee&&(s.F$t(_),s._UZ(0,"span",0),s.Hsn(1),s.TgZ(2,"span",1),s.Hsn(3,1),s.qZA(),s.Hsn(4,2),s._UZ(5,"span",2)(6,"span",3)),2&ee&&s.ekj("mdc-button__ripple",!Q._isFab)("mdc-fab__ripple",Q._isFab)},styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px);display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{font-family:var(--mdc-text-button-label-text-font);font-size:var(--mdc-text-button-label-text-size);letter-spacing:var(--mdc-text-button-label-text-tracking);font-weight:var(--mdc-text-button-label-text-weight);text-transform:var(--mdc-text-button-label-text-transform);height:var(--mdc-text-button-container-height);border-radius:var(--mdc-text-button-container-shape);--mdc-text-button-container-shape:4px;--mdc-text-button-container-height:36px;--mdc-text-button-keep-touch-target:false}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color)}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color)}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity)}.mat-mdc-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity)}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity)}.mat-mdc-button[disabled]{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-unelevated-button{font-family:var(--mdc-filled-button-label-text-font);font-size:var(--mdc-filled-button-label-text-size);letter-spacing:var(--mdc-filled-button-label-text-tracking);font-weight:var(--mdc-filled-button-label-text-weight);text-transform:var(--mdc-filled-button-label-text-transform);height:var(--mdc-filled-button-container-height);border-radius:var(--mdc-filled-button-container-shape);--mdc-filled-button-container-shape:4px;--mdc-filled-button-container-elevation:0;--mdc-filled-button-disabled-container-elevation:0;--mdc-filled-button-focus-container-elevation:0;--mdc-filled-button-hover-container-elevation:0;--mdc-filled-button-keep-touch-target:false;--mdc-filled-button-pressed-container-elevation:0}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color)}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color)}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color)}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity)}.mat-mdc-unelevated-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity)}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity)}.mat-mdc-unelevated-button[disabled]{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color);background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-raised-button{font-family:var(--mdc-protected-button-label-text-font);font-size:var(--mdc-protected-button-label-text-size);letter-spacing:var(--mdc-protected-button-label-text-tracking);font-weight:var(--mdc-protected-button-label-text-weight);text-transform:var(--mdc-protected-button-label-text-transform);height:var(--mdc-protected-button-container-height);border-radius:var(--mdc-protected-button-container-shape);--mdc-protected-button-container-shape:4px;--mdc-protected-button-keep-touch-target:false}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color)}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color)}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color)}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity)}.mat-mdc-raised-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity)}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity)}.mat-mdc-raised-button[disabled]{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color);background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button[disabled][disabled]{box-shadow:none}.mat-mdc-outlined-button{font-family:var(--mdc-outlined-button-label-text-font);font-size:var(--mdc-outlined-button-label-text-size);letter-spacing:var(--mdc-outlined-button-label-text-tracking);font-weight:var(--mdc-outlined-button-label-text-weight);text-transform:var(--mdc-outlined-button-label-text-transform);height:var(--mdc-outlined-button-container-height);border-radius:var(--mdc-outlined-button-container-shape);padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width);--mdc-outlined-button-keep-touch-target:false;--mdc-outlined-button-outline-width:1px;--mdc-outlined-button-container-shape:4px}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color)}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape)}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color)}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width))}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color)}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color)}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity)}.mat-mdc-outlined-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity)}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity)}.mat-mdc-outlined-button[disabled]{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color);border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-button-base{text-decoration:none}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button .mat-mdc-button-touch-target,.mat-mdc-unelevated-button .mat-mdc-button-touch-target,.mat-mdc-raised-button .mat-mdc-button-touch-target,.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}[dir=rtl] .mat-mdc-button>.mat-icon,.mat-mdc-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}.mat-mdc-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon,.mat-mdc-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem;margin-left:-4px;margin-right:8px}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:-4px}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon,.mat-mdc-raised-button .mdc-button__label+.mat-icon,.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:-4px}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon,.mat-mdc-unelevated-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-raised-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-outlined-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:-4px;margin-right:8px}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px)*-1)}',".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0}),We})(),O=(()=>{var te;class We extends X{constructor(ee,Q,me,pe){super(ee,Q,me,pe)}}return(te=We).\u0275fac=function(ee){return new(ee||te)(s.Y36(s.SBq),s.Y36(n.t4),s.Y36(s.R0b),s.Y36(s.QbO,8))},te.\u0275cmp=s.Xpm({type:te,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostVars:11,hostBindings:function(ee,Q){2&ee&&(s.uIk("disabled",Q.disabled||null)("tabindex",Q.disabled?-1:Q.tabIndex)("aria-disabled",Q.disabled.toString()),s.Tol(Q.color?"mat-"+Q.color:""),s.ekj("_mat-animation-noopable","NoopAnimations"===Q._animationMode)("mat-unthemed",!Q.color)("mat-mdc-button-base",!0))},exportAs:["matButton","matAnchor"],features:[s.qOj],attrs:v,ngContentSelectors:m,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(ee,Q){1&ee&&(s.F$t(_),s._UZ(0,"span",0),s.Hsn(1),s.TgZ(2,"span",1),s.Hsn(3,1),s.qZA(),s.Hsn(4,2),s._UZ(5,"span",2)(6,"span",3)),2&ee&&s.ekj("mdc-button__ripple",!Q._isFab)("mdc-fab__ripple",Q._isFab)},styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px);display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{font-family:var(--mdc-text-button-label-text-font);font-size:var(--mdc-text-button-label-text-size);letter-spacing:var(--mdc-text-button-label-text-tracking);font-weight:var(--mdc-text-button-label-text-weight);text-transform:var(--mdc-text-button-label-text-transform);height:var(--mdc-text-button-container-height);border-radius:var(--mdc-text-button-container-shape);--mdc-text-button-container-shape:4px;--mdc-text-button-container-height:36px;--mdc-text-button-keep-touch-target:false}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color)}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color)}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity)}.mat-mdc-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity)}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity)}.mat-mdc-button[disabled]{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-unelevated-button{font-family:var(--mdc-filled-button-label-text-font);font-size:var(--mdc-filled-button-label-text-size);letter-spacing:var(--mdc-filled-button-label-text-tracking);font-weight:var(--mdc-filled-button-label-text-weight);text-transform:var(--mdc-filled-button-label-text-transform);height:var(--mdc-filled-button-container-height);border-radius:var(--mdc-filled-button-container-shape);--mdc-filled-button-container-shape:4px;--mdc-filled-button-container-elevation:0;--mdc-filled-button-disabled-container-elevation:0;--mdc-filled-button-focus-container-elevation:0;--mdc-filled-button-hover-container-elevation:0;--mdc-filled-button-keep-touch-target:false;--mdc-filled-button-pressed-container-elevation:0}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color)}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color)}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color)}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity)}.mat-mdc-unelevated-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity)}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity)}.mat-mdc-unelevated-button[disabled]{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color);background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-raised-button{font-family:var(--mdc-protected-button-label-text-font);font-size:var(--mdc-protected-button-label-text-size);letter-spacing:var(--mdc-protected-button-label-text-tracking);font-weight:var(--mdc-protected-button-label-text-weight);text-transform:var(--mdc-protected-button-label-text-transform);height:var(--mdc-protected-button-container-height);border-radius:var(--mdc-protected-button-container-shape);--mdc-protected-button-container-shape:4px;--mdc-protected-button-keep-touch-target:false}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color)}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color)}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color)}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity)}.mat-mdc-raised-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity)}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity)}.mat-mdc-raised-button[disabled]{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color);background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button[disabled][disabled]{box-shadow:none}.mat-mdc-outlined-button{font-family:var(--mdc-outlined-button-label-text-font);font-size:var(--mdc-outlined-button-label-text-size);letter-spacing:var(--mdc-outlined-button-label-text-tracking);font-weight:var(--mdc-outlined-button-label-text-weight);text-transform:var(--mdc-outlined-button-label-text-transform);height:var(--mdc-outlined-button-container-height);border-radius:var(--mdc-outlined-button-container-shape);padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width);--mdc-outlined-button-keep-touch-target:false;--mdc-outlined-button-outline-width:1px;--mdc-outlined-button-container-shape:4px}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color)}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape)}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color)}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width))}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color)}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color)}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity)}.mat-mdc-outlined-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity)}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity)}.mat-mdc-outlined-button[disabled]{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color);border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-button-base{text-decoration:none}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button .mat-mdc-button-touch-target,.mat-mdc-unelevated-button .mat-mdc-button-touch-target,.mat-mdc-raised-button .mat-mdc-button-touch-target,.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}[dir=rtl] .mat-mdc-button>.mat-icon,.mat-mdc-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}.mat-mdc-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon,.mat-mdc-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem;margin-left:-4px;margin-right:8px}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:-4px}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon,.mat-mdc-raised-button .mdc-button__label+.mat-icon,.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:-4px}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon,.mat-mdc-unelevated-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-raised-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-outlined-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:-4px;margin-right:8px}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px)*-1)}',p],encapsulation:2,changeDetection:0}),We})();const k=new s.OlP("mat-mdc-fab-default-options",{providedIn:"root",factory:I});function I(){return{color:"accent"}}const F=I();let P=(()=>{var te;class We extends W{constructor(ee,Q,me,pe,se){super(ee,Q,me,pe),this._options=se,this._isFab=!0,this._options=this._options||F,this.color=this._options.color||F.color}}return(te=We).\u0275fac=function(ee){return new(ee||te)(s.Y36(s.SBq),s.Y36(n.t4),s.Y36(s.R0b),s.Y36(s.QbO,8),s.Y36(k,8))},te.\u0275cmp=s.Xpm({type:te,selectors:[["button","mat-fab",""]],hostVars:13,hostBindings:function(ee,Q){2&ee&&(s.uIk("disabled",Q.disabled||null),s.Tol(Q.color?"mat-"+Q.color:""),s.ekj("_mat-animation-noopable","NoopAnimations"===Q._animationMode)("mat-unthemed",!Q.color)("mat-mdc-button-base",!0)("mdc-fab--extended",Q.extended)("mat-mdc-extended-fab",Q.extended))},inputs:{extended:["extended","extended",s.VuI]},exportAs:["matButton"],features:[s.Xq5,s.qOj],attrs:D,ngContentSelectors:m,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(ee,Q){1&ee&&(s.F$t(_),s._UZ(0,"span",0),s.Hsn(1),s.TgZ(2,"span",1),s.Hsn(3,1),s.qZA(),s.Hsn(4,2),s._UZ(5,"span",2)(6,"span",3)),2&ee&&s.ekj("mdc-button__ripple",!Q._isFab)("mdc-fab__ripple",Q._isFab)},styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1);background-color:var(--mdc-elevation-overlay-color)}.mdc-fab{position:relative;display:inline-flex;position:relative;align-items:center;justify-content:center;box-sizing:border-box;width:56px;height:56px;padding:0;border:none;fill:currentColor;text-decoration:none;cursor:pointer;user-select:none;-moz-appearance:none;-webkit-appearance:none;overflow:visible;transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),opacity 15ms linear 30ms,transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-fab .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-fab[hidden]{display:none}.mdc-fab::-moz-focus-inner{padding:0;border:0}.mdc-fab:hover{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12)}.mdc-fab.mdc-ripple-upgraded--background-focused,.mdc-fab:not(.mdc-ripple-upgraded):focus{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12)}.mdc-fab .mdc-fab__focus-ring{position:absolute}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{border-color:CanvasText}}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{border-color:CanvasText}}.mdc-fab:active,.mdc-fab:focus:active{box-shadow:0px 7px 8px -4px rgba(0, 0, 0, 0.2), 0px 12px 17px 2px rgba(0, 0, 0, 0.14), 0px 5px 22px 4px rgba(0, 0, 0, 0.12)}.mdc-fab:active,.mdc-fab:focus{outline:none}.mdc-fab:hover{cursor:pointer}.mdc-fab>svg{width:100%}.mdc-fab--mini{width:40px;height:40px}.mdc-fab--extended{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-button-font-family);font-size:var(--mdc-typography-button-font-size);line-height:var(--mdc-typography-button-line-height);font-weight:var(--mdc-typography-button-font-weight);letter-spacing:var(--mdc-typography-button-letter-spacing);text-decoration:var(--mdc-typography-button-text-decoration);text-transform:var(--mdc-typography-button-text-transform);border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mdc-fab--extended .mdc-fab__ripple{border-radius:24px}.mdc-fab--extended .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mdc-fab--extended .mdc-fab__icon,.mdc-fab--extended .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mdc-fab--extended .mdc-fab__label+.mdc-fab__icon,.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mdc-fab--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-fab--touch .mdc-fab__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-fab::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-fab::before{border-color:CanvasText}}.mdc-fab__label{justify-content:flex-start;text-overflow:ellipsis;white-space:nowrap;overflow-x:hidden;overflow-y:visible}.mdc-fab__icon{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mdc-fab .mdc-fab__icon{display:inline-flex;align-items:center;justify-content:center}.mdc-fab--exited{transform:scale(0);opacity:0;transition:opacity 15ms linear 150ms,transform 180ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-fab--exited .mdc-fab__icon{transform:scale(0);transition:transform 135ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-fab,.mat-mdc-mini-fab{background-color:var(--mdc-fab-container-color)}.mat-mdc-fab .mdc-fab__icon,.mat-mdc-mini-fab .mdc-fab__icon{width:var(--mdc-fab-icon-size);height:var(--mdc-fab-icon-size);font-size:var(--mdc-fab-icon-size)}.mat-mdc-fab:not(.mdc-fab--extended),.mat-mdc-mini-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-container-shape)}.mat-mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple,.mat-mdc-mini-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-container-shape)}.mat-mdc-extended-fab{font-family:var(--mdc-extended-fab-label-text-font);font-size:var(--mdc-extended-fab-label-text-size);font-weight:var(--mdc-extended-fab-label-text-weight);letter-spacing:var(--mdc-extended-fab-label-text-tracking)}.mat-mdc-fab,.mat-mdc-mini-fab{-webkit-tap-highlight-color:rgba(0,0,0,0);box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);flex-shrink:0;color:var(--mat-fab-foreground-color, inherit)}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-fab .mdc-button__label,.mat-mdc-mini-fab .mdc-button__label{z-index:1}.mat-mdc-fab .mat-mdc-focus-indicator,.mat-mdc-mini-fab .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-fab:focus .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-fab .mat-mdc-button-touch-target,.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-fab .mat-ripple-element,.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-fab-ripple-color)}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-state-layer-color)}.mat-mdc-fab:hover .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-hover-state-layer-opacity)}.mat-mdc-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-focus-state-layer-opacity)}.mat-mdc-fab:active .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-pressed-state-layer-opacity)}.mat-mdc-fab._mat-animation-noopable,.mat-mdc-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab:hover,.mat-mdc-fab:focus,.mat-mdc-mini-fab:hover,.mat-mdc-mini-fab:focus{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12)}.mat-mdc-fab:active,.mat-mdc-fab:focus:active,.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:0px 7px 8px -4px rgba(0, 0, 0, 0.2), 0px 12px 17px 2px rgba(0, 0, 0, 0.14), 0px 5px 22px 4px rgba(0, 0, 0, 0.12)}.mat-mdc-fab[disabled],.mat-mdc-mini-fab[disabled]{cursor:default;pointer-events:none;box-shadow:0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12);color:var(--mat-fab-disabled-state-foreground-color);background-color:var(--mat-fab-disabled-state-container-color)}.mat-mdc-fab:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-mini-fab:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}.mat-mdc-fab .mat-icon,.mat-mdc-fab .material-icons,.mat-mdc-mini-fab .mat-icon,.mat-mdc-mini-fab .material-icons{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mat-mdc-fab .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-extended-fab>.mat-icon,.mat-mdc-extended-fab>.material-icons{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mat-mdc-extended-fab>.mat-icon,[dir=rtl] .mat-mdc-extended-fab>.material-icons,.mat-mdc-extended-fab>.mat-icon[dir=rtl],.mat-mdc-extended-fab>.material-icons[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mat-mdc-extended-fab .mdc-button__label+.mat-icon,.mat-mdc-extended-fab .mdc-button__label+.material-icons{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.material-icons,.mat-mdc-extended-fab .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-extended-fab .mdc-button__label+.material-icons[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}'],encapsulation:2,changeDetection:0}),We})(),H=(()=>{var te;class We extends W{constructor(ee,Q,me,pe,se){super(ee,Q,me,pe),this._options=se,this._isFab=!0,this._options=this._options||F,this.color=this._options.color||F.color}}return(te=We).\u0275fac=function(ee){return new(ee||te)(s.Y36(s.SBq),s.Y36(n.t4),s.Y36(s.R0b),s.Y36(s.QbO,8),s.Y36(k,8))},te.\u0275cmp=s.Xpm({type:te,selectors:[["button","mat-mini-fab",""]],hostVars:9,hostBindings:function(ee,Q){2&ee&&(s.uIk("disabled",Q.disabled||null),s.Tol(Q.color?"mat-"+Q.color:""),s.ekj("_mat-animation-noopable","NoopAnimations"===Q._animationMode)("mat-unthemed",!Q.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],features:[s.qOj],attrs:a,ngContentSelectors:m,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(ee,Q){1&ee&&(s.F$t(_),s._UZ(0,"span",0),s.Hsn(1),s.TgZ(2,"span",1),s.Hsn(3,1),s.qZA(),s.Hsn(4,2),s._UZ(5,"span",2)(6,"span",3)),2&ee&&s.ekj("mdc-button__ripple",!Q._isFab)("mdc-fab__ripple",Q._isFab)},styles:[u],encapsulation:2,changeDetection:0}),We})(),$=(()=>{var te;class We extends O{constructor(ee,Q,me,pe,se){super(ee,Q,me,pe),this._options=se,this._isFab=!0,this._options=this._options||F,this.color=this._options.color||F.color}}return(te=We).\u0275fac=function(ee){return new(ee||te)(s.Y36(s.SBq),s.Y36(n.t4),s.Y36(s.R0b),s.Y36(s.QbO,8),s.Y36(k,8))},te.\u0275cmp=s.Xpm({type:te,selectors:[["a","mat-fab",""]],hostVars:15,hostBindings:function(ee,Q){2&ee&&(s.uIk("disabled",Q.disabled||null)("tabindex",Q.disabled?-1:Q.tabIndex)("aria-disabled",Q.disabled.toString()),s.Tol(Q.color?"mat-"+Q.color:""),s.ekj("_mat-animation-noopable","NoopAnimations"===Q._animationMode)("mat-unthemed",!Q.color)("mat-mdc-button-base",!0)("mdc-fab--extended",Q.extended)("mat-mdc-extended-fab",Q.extended))},inputs:{extended:["extended","extended",s.VuI]},exportAs:["matButton","matAnchor"],features:[s.Xq5,s.qOj],attrs:D,ngContentSelectors:m,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(ee,Q){1&ee&&(s.F$t(_),s._UZ(0,"span",0),s.Hsn(1),s.TgZ(2,"span",1),s.Hsn(3,1),s.qZA(),s.Hsn(4,2),s._UZ(5,"span",2)(6,"span",3)),2&ee&&s.ekj("mdc-button__ripple",!Q._isFab)("mdc-fab__ripple",Q._isFab)},styles:[u],encapsulation:2,changeDetection:0}),We})(),J=(()=>{var te;class We extends O{constructor(ee,Q,me,pe,se){super(ee,Q,me,pe),this._options=se,this._isFab=!0,this._options=this._options||F,this.color=this._options.color||F.color}}return(te=We).\u0275fac=function(ee){return new(ee||te)(s.Y36(s.SBq),s.Y36(n.t4),s.Y36(s.R0b),s.Y36(s.QbO,8),s.Y36(k,8))},te.\u0275cmp=s.Xpm({type:te,selectors:[["a","mat-mini-fab",""]],hostVars:11,hostBindings:function(ee,Q){2&ee&&(s.uIk("disabled",Q.disabled||null)("tabindex",Q.disabled?-1:Q.tabIndex)("aria-disabled",Q.disabled.toString()),s.Tol(Q.color?"mat-"+Q.color:""),s.ekj("_mat-animation-noopable","NoopAnimations"===Q._animationMode)("mat-unthemed",!Q.color)("mat-mdc-button-base",!0))},exportAs:["matButton","matAnchor"],features:[s.qOj],attrs:a,ngContentSelectors:m,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(ee,Q){1&ee&&(s.F$t(_),s._UZ(0,"span",0),s.Hsn(1),s.TgZ(2,"span",1),s.Hsn(3,1),s.qZA(),s.Hsn(4,2),s._UZ(5,"span",2)(6,"span",3)),2&ee&&s.ekj("mdc-button__ripple",!Q._isFab)("mdc-fab__ripple",Q._isFab)},styles:[u],encapsulation:2,changeDetection:0}),We})(),V=(()=>{var te;class We extends W{constructor(ee,Q,me,pe){super(ee,Q,me,pe),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}}return(te=We).\u0275fac=function(ee){return new(ee||te)(s.Y36(s.SBq),s.Y36(n.t4),s.Y36(s.R0b),s.Y36(s.QbO,8))},te.\u0275cmp=s.Xpm({type:te,selectors:[["button","mat-icon-button",""]],hostVars:9,hostBindings:function(ee,Q){2&ee&&(s.uIk("disabled",Q.disabled||null),s.Tol(Q.color?"mat-"+Q.color:""),s.ekj("_mat-animation-noopable","NoopAnimations"===Q._animationMode)("mat-unthemed",!Q.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],features:[s.qOj],attrs:E,ngContentSelectors:T,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(ee,Q){1&ee&&(s.F$t(),s._UZ(0,"span",0),s.Hsn(1),s._UZ(2,"span",1)(3,"span",2))},styles:['.mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block}}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button[hidden]{display:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%;display:none}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring{border-color:CanvasText}}.mdc-icon-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mat-mdc-icon-button{height:var(--mdc-icon-button-state-layer-size);width:var(--mdc-icon-button-state-layer-size);color:var(--mdc-icon-button-icon-color);--mdc-icon-button-state-layer-size:48px;--mdc-icon-button-icon-size:24px}.mat-mdc-icon-button .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button svg,.mat-mdc-icon-button img{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button{padding:12px;border-radius:50%;flex-shrink:0;text-align:center;font-size:var(--mdc-icon-button-icon-size);-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button svg{vertical-align:baseline}.mat-mdc-icon-button[disabled]{cursor:default;pointer-events:none;color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-icon-button .mdc-button__label{z-index:1}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color)}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color)}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity)}.mat-mdc-icon-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity)}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity)}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',p],encapsulation:2,changeDetection:0}),We})(),ge=(()=>{var te;class We{}return(te=We).\u0275fac=function(ee){return new(ee||te)},te.\u0275mod=s.oAB({type:te}),te.\u0275inj=s.cJS({imports:[h.BQ,h.si,h.BQ]}),We})()},55704:(_e,R,r)=>{"use strict";r.d(R,{yN:()=>X,mZ:()=>U,_A:()=>ee,rD:()=>lt,sG:()=>Q,Ad:()=>We,K7:()=>Ut,HF:()=>it,Y2:()=>we,BQ:()=>I,uc:()=>y,ey:()=>pn,Ng:()=>ve,rN:()=>Ke,wG:()=>$e,Fq:()=>Ge,si:()=>Ye,LF:()=>se,Dn:()=>ct,CB:()=>Rt,jH:()=>Xe,pj:()=>J,Kr:()=>V,Id:()=>$,FD:()=>ge,sb:()=>le});var n=r(77533),s=r(62424),c=r(83894),v=r(14565),_=r(44798),m=r(85572),b=r(9739),p=r(97835);const E=["text"];function T(Pe,Ue){if(1&Pe&&n._UZ(0,"mat-pseudo-checkbox",6),2&Pe){const De=n.oxw();n.Q6J("disabled",De.disabled)("state",De.selected?"checked":"unchecked")}}function M(Pe,Ue){if(1&Pe&&n._UZ(0,"mat-pseudo-checkbox",7),2&Pe){const De=n.oxw();n.Q6J("disabled",De.disabled)}}function B(Pe,Ue){if(1&Pe&&(n.TgZ(0,"span",8),n._uU(1),n.qZA()),2&Pe){const De=n.oxw();n.xp6(1),n.hij("(",De.group.label,")")}}const N=[[["mat-icon"]],"*"],W=["mat-icon","*"];let X=(()=>{var Pe;class Ue{}return(Pe=Ue).STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",Pe.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",Pe.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",Pe.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)",Ue})(),U=(()=>{var Pe;class Ue{}return(Pe=Ue).COMPLEX="375ms",Pe.ENTERING="225ms",Pe.EXITING="195ms",Ue})();const k=new n.OlP("mat-sanity-checks",{providedIn:"root",factory:function O(){return!0}});let I=(()=>{var Pe;class Ue{constructor(fe,He,xe){this._sanityChecks=He,this._document=xe,this._hasDoneGlobalChecks=!1,fe._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(fe){return!(0,_.Oy)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[fe])}}return(Pe=Ue).\u0275fac=function(fe){return new(fe||Pe)(n.LFG(s.qm),n.LFG(k,8),n.LFG(v.DOCUMENT))},Pe.\u0275mod=n.oAB({type:Pe}),Pe.\u0275inj=n.cJS({imports:[c.vT,c.vT]}),Ue})();function $(Pe){return class extends Pe{get disabled(){return this._disabled}set disabled(Ue){this._disabled=(0,m.Ig)(Ue)}constructor(...Ue){super(...Ue),this._disabled=!1}}}function J(Pe,Ue){return class extends Pe{get color(){return this._color}set color(De){const fe=De||this.defaultColor;fe!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),fe&&this._elementRef.nativeElement.classList.add(`mat-${fe}`),this._color=fe)}constructor(...De){super(...De),this.defaultColor=Ue,this.color=Ue}}}function V(Pe){return class extends Pe{get disableRipple(){return this._disableRipple}set disableRipple(Ue){this._disableRipple=(0,m.Ig)(Ue)}constructor(...Ue){super(...Ue),this._disableRipple=!1}}}function le(Pe,Ue=0){return class extends Pe{get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(De){this._tabIndex=null!=De?(0,m.su)(De):this.defaultTabIndex}constructor(...De){super(...De),this._tabIndex=Ue,this.defaultTabIndex=Ue}}}function ge(Pe){return class extends Pe{updateErrorState(){const Ue=this.errorState,xe=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);xe!==Ue&&(this.errorState=xe,this.stateChanges.next())}constructor(...Ue){super(...Ue),this.errorState=!1}}}const We=new n.OlP("MAT_DATE_LOCALE",{providedIn:"root",factory:function Te(){return(0,n.f3M)(n.soG)}});class ee{constructor(){this._localeChanges=new b.x,this.localeChanges=this._localeChanges}getValidDateOrNull(Ue){return this.isDateInstance(Ue)&&this.isValid(Ue)?Ue:null}deserialize(Ue){return null==Ue||this.isDateInstance(Ue)&&this.isValid(Ue)?Ue:this.invalid()}setLocale(Ue){this.locale=Ue,this._localeChanges.next()}compareDate(Ue,De){return this.getYear(Ue)-this.getYear(De)||this.getMonth(Ue)-this.getMonth(De)||this.getDate(Ue)-this.getDate(De)}sameDate(Ue,De){if(Ue&&De){let fe=this.isValid(Ue),He=this.isValid(De);return fe&&He?!this.compareDate(Ue,De):fe==He}return Ue==De}clampDate(Ue,De,fe){return De&&this.compareDate(Ue,De)<0?De:fe&&this.compareDate(Ue,fe)>0?fe:Ue}}const Q=new n.OlP("mat-date-formats"),me=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function pe(Pe,Ue){const De=Array(Pe);for(let fe=0;fe<Pe;fe++)De[fe]=Ue(fe);return De}let se=(()=>{var Pe;class Ue extends ee{constructor(fe){super(),this.useUtcForDisplay=!1,this._matDateLocale=(0,n.f3M)(We,{optional:!0}),void 0!==fe&&(this._matDateLocale=fe),super.setLocale(this._matDateLocale)}getYear(fe){return fe.getFullYear()}getMonth(fe){return fe.getMonth()}getDate(fe){return fe.getDate()}getDayOfWeek(fe){return fe.getDay()}getMonthNames(fe){const He=new Intl.DateTimeFormat(this.locale,{month:fe,timeZone:"utc"});return pe(12,xe=>this._format(He,new Date(2017,xe,1)))}getDateNames(){const fe=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return pe(31,He=>this._format(fe,new Date(2017,0,He+1)))}getDayOfWeekNames(fe){const He=new Intl.DateTimeFormat(this.locale,{weekday:fe,timeZone:"utc"});return pe(7,xe=>this._format(He,new Date(2017,0,xe+1)))}getYearName(fe){const He=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(He,fe)}getFirstDayOfWeek(){return 0}getNumDaysInMonth(fe){return this.getDate(this._createDateWithOverflow(this.getYear(fe),this.getMonth(fe)+1,0))}clone(fe){return new Date(fe.getTime())}createDate(fe,He,xe){let rt=this._createDateWithOverflow(fe,He,xe);return rt.getMonth(),rt}today(){return new Date}parse(fe,He){return"number"==typeof fe?new Date(fe):fe?new Date(Date.parse(fe)):null}format(fe,He){if(!this.isValid(fe))throw Error("NativeDateAdapter: Cannot format invalid date.");const xe=new Intl.DateTimeFormat(this.locale,{...He,timeZone:"utc"});return this._format(xe,fe)}addCalendarYears(fe,He){return this.addCalendarMonths(fe,12*He)}addCalendarMonths(fe,He){let xe=this._createDateWithOverflow(this.getYear(fe),this.getMonth(fe)+He,this.getDate(fe));return this.getMonth(xe)!=((this.getMonth(fe)+He)%12+12)%12&&(xe=this._createDateWithOverflow(this.getYear(xe),this.getMonth(xe),0)),xe}addCalendarDays(fe,He){return this._createDateWithOverflow(this.getYear(fe),this.getMonth(fe),this.getDate(fe)+He)}toIso8601(fe){return[fe.getUTCFullYear(),this._2digit(fe.getUTCMonth()+1),this._2digit(fe.getUTCDate())].join("-")}deserialize(fe){if("string"==typeof fe){if(!fe)return null;if(me.test(fe)){let He=new Date(fe);if(this.isValid(He))return He}}return super.deserialize(fe)}isDateInstance(fe){return fe instanceof Date}isValid(fe){return!isNaN(fe.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(fe,He,xe){const rt=new Date;return rt.setFullYear(fe,He,xe),rt.setHours(0,0,0,0),rt}_2digit(fe){return("00"+fe).slice(-2)}_format(fe,He){const xe=new Date;return xe.setUTCFullYear(He.getFullYear(),He.getMonth(),He.getDate()),xe.setUTCHours(He.getHours(),He.getMinutes(),He.getSeconds(),He.getMilliseconds()),fe.format(xe)}}return(Pe=Ue).\u0275fac=function(fe){return new(fe||Pe)(n.LFG(We,8))},Pe.\u0275prov=n.Yz7({token:Pe,factory:Pe.\u0275fac}),Ue})(),ct=(()=>{var Pe;class Ue{}return(Pe=Ue).\u0275fac=function(fe){return new(fe||Pe)},Pe.\u0275mod=n.oAB({type:Pe}),Pe.\u0275inj=n.cJS({providers:[{provide:ee,useClass:se}]}),Ue})(),lt=(()=>{var Pe;class Ue{isErrorState(fe,He){return!!(fe&&fe.invalid&&(fe.touched||He&&He.submitted))}}return(Pe=Ue).\u0275fac=function(fe){return new(fe||Pe)},Pe.\u0275prov=n.Yz7({token:Pe,factory:Pe.\u0275fac,providedIn:"root"}),Ue})(),y=(()=>{var Pe;class Ue{}return(Pe=Ue).\u0275fac=function(fe){return new(fe||Pe)},Pe.\u0275mod=n.oAB({type:Pe}),Pe.\u0275inj=n.cJS({imports:[I,I]}),Ue})();class ae{constructor(Ue,De,fe,He=!1){this._renderer=Ue,this.element=De,this.config=fe,this._animationForciblyDisabledThroughCss=He,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const w=(0,_.i$)({passive:!0,capture:!0});class Fe{constructor(){this._events=new Map,this._delegateEventHandler=Ue=>{const De=(0,_.sA)(Ue);De&&this._events.get(Ue.type)?.forEach((fe,He)=>{(He===De||He.contains(De))&&fe.forEach(xe=>xe.handleEvent(Ue))})}}addHandler(Ue,De,fe,He){const xe=this._events.get(De);if(xe){const rt=xe.get(fe);rt?rt.add(He):xe.set(fe,new Set([He]))}else this._events.set(De,new Map([[fe,new Set([He])]])),Ue.runOutsideAngular(()=>{document.addEventListener(De,this._delegateEventHandler,w)})}removeHandler(Ue,De,fe){const He=this._events.get(Ue);if(!He)return;const xe=He.get(De);xe&&(xe.delete(fe),0===xe.size&&He.delete(De),0===He.size&&(this._events.delete(Ue),document.removeEventListener(Ue,this._delegateEventHandler,w)))}}const Je={enterDuration:225,exitDuration:150},gt=(0,_.i$)({passive:!0,capture:!0}),Wt=["mousedown","touchstart"],ft=["mouseup","mouseleave","touchend","touchcancel"];class ye{constructor(Ue,De,fe,He){this._target=Ue,this._ngZone=De,this._platform=He,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,He.isBrowser&&(this._containerElement=(0,m.fI)(fe))}fadeInRipple(Ue,De,fe={}){const He=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),xe={...Je,...fe.animation};fe.centered&&(Ue=He.left+He.width/2,De=He.top+He.height/2);const rt=fe.radius||function st(Pe,Ue,De){const fe=Math.max(Math.abs(Pe-De.left),Math.abs(Pe-De.right)),He=Math.max(Math.abs(Ue-De.top),Math.abs(Ue-De.bottom));return Math.sqrt(fe*fe+He*He)}(Ue,De,He),xt=Ue-He.left,tn=De-He.top,sn=xe.enterDuration,En=document.createElement("div");En.classList.add("mat-ripple-element"),En.style.left=xt-rt+"px",En.style.top=tn-rt+"px",En.style.height=2*rt+"px",En.style.width=2*rt+"px",null!=fe.color&&(En.style.backgroundColor=fe.color),En.style.transitionDuration=`${sn}ms`,this._containerElement.appendChild(En);const Un=window.getComputedStyle(En),Zn=Un.transitionDuration,lr="none"===Un.transitionProperty||"0s"===Zn||"0s, 0s"===Zn||0===He.width&&0===He.height,Jn=new ae(this,En,fe,lr);En.style.transform="scale3d(1, 1, 1)",Jn.state=0,fe.persistent||(this._mostRecentTransientRipple=Jn);let er=null;return!lr&&(sn||xe.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const or=()=>this._finishRippleTransition(Jn),Wn=()=>this._destroyRipple(Jn);En.addEventListener("transitionend",or),En.addEventListener("transitioncancel",Wn),er={onTransitionEnd:or,onTransitionCancel:Wn}}),this._activeRipples.set(Jn,er),(lr||!sn)&&this._finishRippleTransition(Jn),Jn}fadeOutRipple(Ue){if(2===Ue.state||3===Ue.state)return;const De=Ue.element,fe={...Je,...Ue.config.animation};De.style.transitionDuration=`${fe.exitDuration}ms`,De.style.opacity="0",Ue.state=2,(Ue._animationForciblyDisabledThroughCss||!fe.exitDuration)&&this._finishRippleTransition(Ue)}fadeOutAll(){this._getActiveRipples().forEach(Ue=>Ue.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(Ue=>{Ue.config.persistent||Ue.fadeOut()})}setupTriggerEvents(Ue){const De=(0,m.fI)(Ue);!this._platform.isBrowser||!De||De===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=De,Wt.forEach(fe=>{ye._eventManager.addHandler(this._ngZone,fe,De,this)}))}handleEvent(Ue){"mousedown"===Ue.type?this._onMousedown(Ue):"touchstart"===Ue.type?this._onTouchStart(Ue):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{ft.forEach(De=>{this._triggerElement.addEventListener(De,this,gt)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(Ue){0===Ue.state?this._startFadeOutTransition(Ue):2===Ue.state&&this._destroyRipple(Ue)}_startFadeOutTransition(Ue){const De=Ue===this._mostRecentTransientRipple,{persistent:fe}=Ue.config;Ue.state=1,!fe&&(!De||!this._isPointerDown)&&Ue.fadeOut()}_destroyRipple(Ue){const De=this._activeRipples.get(Ue)??null;this._activeRipples.delete(Ue),this._activeRipples.size||(this._containerRect=null),Ue===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),Ue.state=3,null!==De&&(Ue.element.removeEventListener("transitionend",De.onTransitionEnd),Ue.element.removeEventListener("transitioncancel",De.onTransitionCancel)),Ue.element.remove()}_onMousedown(Ue){const De=(0,s.X6)(Ue),fe=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!De&&!fe&&(this._isPointerDown=!0,this.fadeInRipple(Ue.clientX,Ue.clientY,this._target.rippleConfig))}_onTouchStart(Ue){if(!this._target.rippleDisabled&&!(0,s.yG)(Ue)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const De=Ue.changedTouches;if(De)for(let fe=0;fe<De.length;fe++)this.fadeInRipple(De[fe].clientX,De[fe].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(Ue=>{!Ue.config.persistent&&(1===Ue.state||Ue.config.terminateOnPointerUp&&0===Ue.state)&&Ue.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const Ue=this._triggerElement;Ue&&(Wt.forEach(De=>ye._eventManager.removeHandler(De,Ue,this)),this._pointerUpEventsRegistered&&ft.forEach(De=>Ue.removeEventListener(De,this,gt)))}}ye._eventManager=new Fe;const we=new n.OlP("mat-ripple-global-options");let $e=(()=>{var Pe;class Ue{get disabled(){return this._disabled}set disabled(fe){fe&&this.fadeOutAllNonPersistent(),this._disabled=fe,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(fe){this._trigger=fe,this._setupTriggerEventsIfEnabled()}constructor(fe,He,xe,rt,xt){this._elementRef=fe,this._animationMode=xt,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=rt||{},this._rippleRenderer=new ye(this,He,fe,xe)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:{...this._globalOptions.animation,..."NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{},...this.animation},terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(fe,He=0,xe){return"number"==typeof fe?this._rippleRenderer.fadeInRipple(fe,He,{...this.rippleConfig,...xe}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...fe})}}return(Pe=Ue).\u0275fac=function(fe){return new(fe||Pe)(n.Y36(n.SBq),n.Y36(n.R0b),n.Y36(_.t4),n.Y36(we,8),n.Y36(n.QbO,8))},Pe.\u0275dir=n.lG2({type:Pe,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(fe,He){2&fe&&n.ekj("mat-ripple-unbounded",He.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]}),Ue})(),Ye=(()=>{var Pe;class Ue{}return(Pe=Ue).\u0275fac=function(fe){return new(fe||Pe)},Pe.\u0275mod=n.oAB({type:Pe}),Pe.\u0275inj=n.cJS({imports:[I,I]}),Ue})(),At=(()=>{var Pe;class Ue{constructor(fe){this._animationMode=fe,this.state="unchecked",this.disabled=!1,this.appearance="full"}}return(Pe=Ue).\u0275fac=function(fe){return new(fe||Pe)(n.Y36(n.QbO,8))},Pe.\u0275cmp=n.Xpm({type:Pe,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(fe,He){2&fe&&n.ekj("mat-pseudo-checkbox-indeterminate","indeterminate"===He.state)("mat-pseudo-checkbox-checked","checked"===He.state)("mat-pseudo-checkbox-disabled",He.disabled)("mat-pseudo-checkbox-minimal","minimal"===He.appearance)("mat-pseudo-checkbox-full","full"===He.appearance)("_mat-animation-noopable","NoopAnimations"===He._animationMode)},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(fe,He){},styles:['.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-minimal-pseudo-checkbox-selected-checkmark-color)}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color)}.mat-pseudo-checkbox-full{border-color:var(--mat-full-pseudo-checkbox-unselected-icon-color);border-width:2px;border-style:solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled{border-color:var(--mat-full-pseudo-checkbox-disabled-unselected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{background-color:var(--mat-full-pseudo-checkbox-selected-icon-color);border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-full-pseudo-checkbox-selected-checkmark-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background-color:var(--mat-full-pseudo-checkbox-disabled-selected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-full-pseudo-checkbox-disabled-selected-checkmark-color)}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}'],encapsulation:2,changeDetection:0}),Ue})(),qe=(()=>{var Pe;class Ue{}return(Pe=Ue).\u0275fac=function(fe){return new(fe||Pe)},Pe.\u0275mod=n.oAB({type:Pe}),Pe.\u0275inj=n.cJS({imports:[I]}),Ue})();const it=new n.OlP("MAT_OPTION_PARENT_COMPONENT"),Ut=new n.OlP("MatOptgroup");let rn=0;class Ke{constructor(Ue,De=!1){this.source=Ue,this.isUserInput=De}}let pn=(()=>{var Pe;class Ue{get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(fe){this._disabled=fe}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!(!this._parent||!this._parent.hideSingleSelectionIndicator)}constructor(fe,He,xe,rt){this._element=fe,this._changeDetectorRef=He,this._parent=xe,this.group=rt,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+rn++,this.onSelectionChange=new n.vpe,this._stateChanges=new b.x}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(fe=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),fe&&this._emitSelectionChangeEvent())}deselect(fe=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),fe&&this._emitSelectionChangeEvent())}focus(fe,He){const xe=this._getHostElement();"function"==typeof xe.focus&&xe.focus(He)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(fe){(fe.keyCode===p.K5||fe.keyCode===p.L_)&&!(0,p.Vb)(fe)&&(this._selectViaInteraction(),fe.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const fe=this.viewValue;fe!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=fe)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(fe=!1){this.onSelectionChange.emit(new Ke(this,fe))}}return(Pe=Ue).\u0275fac=function(fe){return new(fe||Pe)(n.Y36(n.SBq),n.Y36(n.sBO),n.Y36(it,8),n.Y36(Ut,8))},Pe.\u0275cmp=n.Xpm({type:Pe,selectors:[["mat-option"]],viewQuery:function(fe,He){if(1&fe&&n.Gf(E,7),2&fe){let xe;n.iGM(xe=n.CRH())&&(He._text=xe.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(fe,He){1&fe&&n.NdJ("click",function(){return He._selectViaInteraction()})("keydown",function(rt){return He._handleKeydown(rt)}),2&fe&&(n.Ikx("id",He.id),n.uIk("aria-selected",He.selected)("aria-disabled",He.disabled.toString()),n.ekj("mdc-list-item--selected",He.selected)("mat-mdc-option-multiple",He.multiple)("mat-mdc-option-active",He.active)("mdc-list-item--disabled",He.disabled))},inputs:{value:"value",id:"id",disabled:["disabled","disabled",n.VuI]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],features:[n.Xq5],ngContentSelectors:W,decls:8,vars:5,consts:[["class","mat-mdc-option-pseudo-checkbox","aria-hidden","true",3,"disabled","state"],[1,"mdc-list-item__primary-text"],["text",""],["class","mat-mdc-option-pseudo-checkbox","state","checked","aria-hidden","true","appearance","minimal",3,"disabled"],["class","cdk-visually-hidden"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled"],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"]],template:function(fe,He){1&fe&&(n.F$t(N),n.YNc(0,T,1,2,"mat-pseudo-checkbox",0),n.Hsn(1),n.TgZ(2,"span",1,2),n.Hsn(4,1),n.qZA(),n.YNc(5,M,1,1,"mat-pseudo-checkbox",3)(6,B,2,1,"span",4),n._UZ(7,"div",5)),2&fe&&(n.um2(0,He.multiple?0:-1),n.xp6(5),n.um2(5,He.multiple||!He.selected||He.hideSingleSelectionIndicator?-1:5),n.xp6(1),n.um2(6,He.group&&He.group._inert?6:-1),n.xp6(1),n.Q6J("matRippleTrigger",He._getHostElement())("matRippleDisabled",He.disabled||He.disableRipple))},dependencies:[$e,At],styles:['.mat-mdc-option{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color);font-family:var(--mat-option-label-text-font);line-height:var(--mat-option-label-text-line-height);font-size:var(--mat-option-label-text-size);letter-spacing:var(--mat-option-label-text-tracking);font-weight:var(--mat-option-label-text-weight);min-height:48px}.mat-mdc-option:focus{outline:none}[dir=rtl] .mat-mdc-option,.mat-mdc-option[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color)}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:var(--mat-option-selected-state-layer-color)}.mat-mdc-option.mdc-list-item{align-items:center}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}.cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{right:auto;left:16px}.mat-mdc-option-active .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0}),Ue})();function Rt(Pe,Ue,De){if(De.length){let fe=Ue.toArray(),He=De.toArray(),xe=0;for(let rt=0;rt<Pe+1;rt++)fe[rt].group&&fe[rt].group===He[xe]&&xe++;return xe}return 0}function Xe(Pe,Ue,De,fe){return Pe<De?Pe:Pe+Ue>De+fe?Math.max(0,Pe-fe+Ue):De}let ve=(()=>{var Pe;class Ue{}return(Pe=Ue).\u0275fac=function(fe){return new(fe||Pe)},Pe.\u0275mod=n.oAB({type:Pe}),Pe.\u0275inj=n.cJS({imports:[Ye,I,qe]}),Ue})();const Ce={capture:!0},Re=["focus","click","mouseenter","touchstart"],ot="mat-ripple-loader-uninitialized",Ve="mat-ripple-loader-class-name",Oe="mat-ripple-loader-centered",Ze="mat-ripple-loader-disabled";let Ge=(()=>{var Pe;class Ue{constructor(){this._document=(0,n.f3M)(v.DOCUMENT,{optional:!0}),this._animationMode=(0,n.f3M)(n.QbO,{optional:!0}),this._globalRippleOptions=(0,n.f3M)(we,{optional:!0}),this._platform=(0,n.f3M)(_.t4),this._ngZone=(0,n.f3M)(n.R0b),this._hosts=new Map,this._onInteraction=fe=>{if(!(fe.target instanceof HTMLElement))return;const xe=fe.target.closest(`[${ot}]`);xe&&this._createRipple(xe)},this._ngZone.runOutsideAngular(()=>{for(const fe of Re)this._document?.addEventListener(fe,this._onInteraction,Ce)})}ngOnDestroy(){const fe=this._hosts.keys();for(const He of fe)this.destroyRipple(He);for(const He of Re)this._document?.removeEventListener(He,this._onInteraction,Ce)}configureRipple(fe,He){fe.setAttribute(ot,""),(He.className||!fe.hasAttribute(Ve))&&fe.setAttribute(Ve,He.className||""),He.centered&&fe.setAttribute(Oe,""),He.disabled&&fe.setAttribute(Ze,"")}getRipple(fe){return this._hosts.get(fe)||this._createRipple(fe)}setDisabled(fe,He){const xe=this._hosts.get(fe);xe?xe.disabled=He:He?fe.setAttribute(Ze,""):fe.removeAttribute(Ze)}_createRipple(fe){if(!this._document)return;const He=this._hosts.get(fe);if(He)return He;fe.querySelector(".mat-ripple")?.remove();const xe=this._document.createElement("span");xe.classList.add("mat-ripple",fe.getAttribute(Ve)),fe.append(xe);const rt=new $e(new n.SBq(xe),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return rt._isInitialized=!0,rt.trigger=fe,rt.centered=fe.hasAttribute(Oe),rt.disabled=fe.hasAttribute(Ze),this.attachRipple(fe,rt),rt}attachRipple(fe,He){fe.removeAttribute(ot),this._hosts.set(fe,He)}destroyRipple(fe){const He=this._hosts.get(fe);He&&(He.ngOnDestroy(),this._hosts.delete(fe))}}return(Pe=Ue).\u0275fac=function(fe){return new(fe||Pe)},Pe.\u0275prov=n.Yz7({token:Pe,factory:Pe.\u0275fac,providedIn:"root"}),Ue})()},59181:(_e,R,r)=>{"use strict";r.d(R,{H8:()=>se,Is:()=>vt,WI:()=>J,ZT:()=>Q,so:()=>H,uh:()=>me,uw:()=>Te,vA:()=>W,xY:()=>pe});var n=r(50996),s=r(14565),c=r(77533),h=r(62424),v=r(83865),_=r(85572),m=r(20860),b=r(9739),p=r(17343),D=r(68313),a=r(36305),u=r(49804),E=r(30018),T=r(97835),M=r(55704);function N(tt,ut){}r(21796);class W{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0}}const A="mdc-dialog--open",X="mdc-dialog--opening",U="mdc-dialog--closing";let I=(()=>{var tt;class ut extends v.LL{constructor(y,ae,w,Fe,Je,St,gt,Wt,ft){super(y,ae,w,Fe,Je,St,gt,ft),this._animationMode=Wt,this._animationStateChanged=new c.vpe,this._animationsEnabled="NoopAnimations"!==this._animationMode,this._hostElement=this._elementRef.nativeElement,this._enterAnimationDuration=this._animationsEnabled?P(this._config.enterAnimationDuration)??150:0,this._exitAnimationDuration=this._animationsEnabled?P(this._config.exitAnimationDuration)??75:0,this._animationTimer=null,this._finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration)},this._finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration})}}_contentAttached(){super._contentAttached(),this._startOpenAnimation()}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(F,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(X,A)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(A),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(A),this._animationsEnabled?(this._hostElement.style.setProperty(F,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(U)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_clearAnimationClasses(){this._hostElement.classList.remove(X,U)}_waitForAnimationToComplete(y,ae){null!==this._animationTimer&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(ae,y)}_requestAnimationFrame(y){this._ngZone.runOutsideAngular(()=>{"function"==typeof requestAnimationFrame?requestAnimationFrame(y):y()})}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(y){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:y})}ngOnDestroy(){super.ngOnDestroy(),null!==this._animationTimer&&clearTimeout(this._animationTimer)}attachComponentPortal(y){const ae=super.attachComponentPortal(y);return ae.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),ae}}return(tt=ut).\u0275fac=function(y){return new(y||tt)(c.Y36(c.SBq),c.Y36(h.qV),c.Y36(s.DOCUMENT,8),c.Y36(W),c.Y36(h.ic),c.Y36(c.R0b),c.Y36(n.Iu),c.Y36(c.QbO,8),c.Y36(h.tE))},tt.\u0275cmp=c.Xpm({type:tt,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:8,hostBindings:function(y,ae){2&y&&(c.Ikx("id",ae._config.id),c.uIk("aria-modal",ae._config.ariaModal)("role",ae._config.role)("aria-labelledby",ae._config.ariaLabel?null:ae._ariaLabelledByQueue[0])("aria-label",ae._config.ariaLabel)("aria-describedby",ae._config.ariaDescribedBy||null),c.ekj("_mat-animation-noopable",!ae._animationsEnabled))},standalone:!0,features:[c.qOj,c.jDz],decls:3,vars:0,consts:[[1,"mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(y,ae){1&y&&(c.TgZ(0,"div",0)(1,"div",1),c.YNc(2,N,0,0,"ng-template",2),c.qZA()())},dependencies:[m.eL,m.Pl],styles:['.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-dialog,.mdc-dialog__scrim{position:fixed;top:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:100%}.mdc-dialog{display:none;z-index:var(--mdc-dialog-z-index, 7)}.mdc-dialog .mdc-dialog__content{padding:20px 24px 20px 24px}.mdc-dialog .mdc-dialog__surface{min-width:280px}@media(max-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:calc(100vw - 32px)}}@media(min-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:560px}}.mdc-dialog .mdc-dialog__surface{max-height:calc(100% - 32px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-width:none}@media(max-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px;width:560px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 112px)}}@media(max-width: 720px)and (min-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:560px}}@media(max-width: 720px)and (max-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:calc(100vh - 160px)}}@media(max-width: 720px)and (min-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px}}@media(max-width: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-height: 400px),(max-width: 600px),(min-width: 720px)and (max-height: 400px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{height:100%;max-height:100vh;max-width:100vw;width:100vw;border-radius:0}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{order:-1;left:-12px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__header{padding:0 16px 9px;justify-content:flex-start}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__title{margin-left:calc(16px - 2 * 12px)}}@media(min-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 400px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}.mdc-dialog.mdc-dialog__scrim--hidden .mdc-dialog__scrim{opacity:0}.mdc-dialog__scrim{opacity:0;z-index:-1}.mdc-dialog__container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;transform:scale(0.8);opacity:0;pointer-events:none}.mdc-dialog__surface{position:relative;display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;max-width:100%;max-height:100%;pointer-events:auto;overflow-y:auto;outline:0}.mdc-dialog__surface .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}[dir=rtl] .mdc-dialog__surface,.mdc-dialog__surface[dir=rtl]{text-align:right}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-dialog__surface{outline:2px solid windowText}}.mdc-dialog__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-dialog__surface::before{border-color:CanvasText}}@media screen and (-ms-high-contrast: active),screen and (-ms-high-contrast: none){.mdc-dialog__surface::before{content:none}}.mdc-dialog__title{display:block;margin-top:0;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:0 24px 9px}.mdc-dialog__title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mdc-dialog__title,.mdc-dialog__title[dir=rtl]{text-align:right}.mdc-dialog--scrollable .mdc-dialog__title{margin-bottom:1px;padding-bottom:15px}.mdc-dialog--fullscreen .mdc-dialog__header{align-items:baseline;border-bottom:1px solid rgba(0,0,0,0);display:inline-flex;justify-content:space-between;padding:0 24px 9px;z-index:1}@media screen and (forced-colors: active){.mdc-dialog--fullscreen .mdc-dialog__header{border-bottom-color:CanvasText}}.mdc-dialog--fullscreen .mdc-dialog__header .mdc-dialog__close{right:-12px}.mdc-dialog--fullscreen .mdc-dialog__title{margin-bottom:0;padding:0;border-bottom:0}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__title{border-bottom:0;margin-bottom:0}.mdc-dialog--fullscreen .mdc-dialog__close{top:5px}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--fullscreen--titleless .mdc-dialog__close{margin-top:4px}.mdc-dialog--fullscreen--titleless.mdc-dialog--scrollable .mdc-dialog__close{margin-top:0}.mdc-dialog__content{flex-grow:1;box-sizing:border-box;margin:0;overflow:auto}.mdc-dialog__content>:first-child{margin-top:0}.mdc-dialog__content>:last-child{margin-bottom:0}.mdc-dialog__title+.mdc-dialog__content,.mdc-dialog__header+.mdc-dialog__content{padding-top:0}.mdc-dialog--scrollable .mdc-dialog__title+.mdc-dialog__content{padding-top:8px;padding-bottom:8px}.mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:6px 0 0}.mdc-dialog--scrollable .mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:0}.mdc-dialog__actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--stacked .mdc-dialog__actions{flex-direction:column;align-items:flex-end}.mdc-dialog__button{margin-left:8px;margin-right:0;max-width:100%;text-align:right}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{margin-left:0;margin-right:8px}.mdc-dialog__button:first-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button:first-child,.mdc-dialog__button:first-child[dir=rtl]{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{text-align:left}.mdc-dialog--stacked .mdc-dialog__button:not(:first-child){margin-top:12px}.mdc-dialog--open,.mdc-dialog--opening,.mdc-dialog--closing{display:flex}.mdc-dialog--opening .mdc-dialog__scrim{transition:opacity 150ms linear}.mdc-dialog--opening .mdc-dialog__container{transition:opacity 75ms linear,transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-dialog--closing .mdc-dialog__scrim,.mdc-dialog--closing .mdc-dialog__container{transition:opacity 75ms linear}.mdc-dialog--closing .mdc-dialog__container{transform:none}.mdc-dialog--open .mdc-dialog__scrim{opacity:1}.mdc-dialog--open .mdc-dialog__container{transform:none;opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim{opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{transition:opacity 75ms linear}.mdc-dialog--open.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim{transition:opacity 150ms linear}.mdc-dialog__surface-scrim{display:none;opacity:0;position:absolute;width:100%;height:100%;z-index:1}.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{display:block}.mdc-dialog-scroll-lock{overflow:hidden}.mdc-dialog--no-content-padding .mdc-dialog__content{padding:0}.mdc-dialog--sheet .mdc-dialog__container .mdc-dialog__close{right:12px;top:9px;position:absolute;z-index:1}.mdc-dialog__scrim--removed{pointer-events:none}.mdc-dialog__scrim--removed .mdc-dialog__scrim,.mdc-dialog__scrim--removed .mdc-dialog__surface-scrim{display:none}.mat-mdc-dialog-content{max-height:65vh}.mat-mdc-dialog-container{position:static;display:block}.mat-mdc-dialog-container,.mat-mdc-dialog-container .mdc-dialog__container,.mat-mdc-dialog-container .mdc-dialog__surface{max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mat-mdc-dialog-container .mdc-dialog__surface{width:100%;height:100%}.mat-mdc-dialog-component-host{display:contents}.mat-mdc-dialog-container{--mdc-dialog-container-elevation: var(--mdc-dialog-container-elevation-shadow);outline:0}.mat-mdc-dialog-container .mdc-dialog__surface{background-color:var(--mdc-dialog-container-color, white)}.mat-mdc-dialog-container .mdc-dialog__surface{box-shadow:var(--mdc-dialog-container-elevation, 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12))}.mat-mdc-dialog-container .mdc-dialog__surface{border-radius:var(--mdc-dialog-container-shape, 4px)}.mat-mdc-dialog-container .mdc-dialog__title{font-family:var(--mdc-dialog-subhead-font, Roboto, sans-serif);line-height:var(--mdc-dialog-subhead-line-height, 1.5rem);font-size:var(--mdc-dialog-subhead-size, 1rem);font-weight:var(--mdc-dialog-subhead-weight, 400);letter-spacing:var(--mdc-dialog-subhead-tracking, 0.03125em)}.mat-mdc-dialog-container .mdc-dialog__title{color:var(--mdc-dialog-subhead-color, rgba(0, 0, 0, 0.87))}.mat-mdc-dialog-container .mdc-dialog__content{font-family:var(--mdc-dialog-supporting-text-font, Roboto, sans-serif);line-height:var(--mdc-dialog-supporting-text-line-height, 1.5rem);font-size:var(--mdc-dialog-supporting-text-size, 1rem);font-weight:var(--mdc-dialog-supporting-text-weight, 400);letter-spacing:var(--mdc-dialog-supporting-text-tracking, 0.03125em)}.mat-mdc-dialog-container .mdc-dialog__content{color:var(--mdc-dialog-supporting-text-color, rgba(0, 0, 0, 0.6))}.mat-mdc-dialog-container .mdc-dialog__container{transition-duration:var(--mat-dialog-transition-duration, 0ms)}.mat-mdc-dialog-container._mat-animation-noopable .mdc-dialog__container{transition:none}.mat-mdc-dialog-content{display:block}.mat-mdc-dialog-actions{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}'],encapsulation:2}),ut})();const F="--mat-dialog-transition-duration";function P(tt){return null==tt?null:"number"==typeof tt?tt:tt.endsWith("ms")?(0,_.su)(tt.substring(0,tt.length-2)):tt.endsWith("s")?1e3*(0,_.su)(tt.substring(0,tt.length-1)):"0"===tt?0:null}class H{constructor(ut,ne,y){this._ref=ut,this._containerInstance=y,this._afterOpened=new b.x,this._beforeClosed=new b.x,this._state=0,this.disableClose=ne.disableClose,this.id=ut.id,y._animationStateChanged.pipe((0,a.h)(ae=>"opened"===ae.state),(0,u.q)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),y._animationStateChanged.pipe((0,a.h)(ae=>"closed"===ae.state),(0,u.q)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),ut.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),(0,p.T)(this.backdropClick(),this.keydownEvents().pipe((0,a.h)(ae=>ae.keyCode===T.hY&&!this.disableClose&&!(0,T.Vb)(ae)))).subscribe(ae=>{this.disableClose||(ae.preventDefault(),$(this,"keydown"===ae.type?"keyboard":"mouse"))})}close(ut){this._result=ut,this._containerInstance._animationStateChanged.pipe((0,a.h)(ne=>"closing"===ne.state),(0,u.q)(1)).subscribe(ne=>{this._beforeClosed.next(ut),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),ne.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(ut){let ne=this._ref.config.positionStrategy;return ut&&(ut.left||ut.right)?ut.left?ne.left(ut.left):ne.right(ut.right):ne.centerHorizontally(),ut&&(ut.top||ut.bottom)?ut.top?ne.top(ut.top):ne.bottom(ut.bottom):ne.centerVertically(),this._ref.updatePosition(),this}updateSize(ut="",ne=""){return this._ref.updateSize(ut,ne),this}addPanelClass(ut){return this._ref.addPanelClass(ut),this}removePanelClass(ut){return this._ref.removePanelClass(ut),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}}function $(tt,ut,ne){return tt._closeInteractionType=ut,tt.close(ne)}const J=new c.OlP("MatMdcDialogData"),V=new c.OlP("mat-mdc-dialog-default-options"),le=new c.OlP("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{const tt=(0,c.f3M)(n.aV);return()=>tt.scrollStrategies.block()}});let We=0,Te=(()=>{var tt;class ut{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const y=this._parentDialog;return y?y._getAfterAllClosed():this._afterAllClosedAtThisLevel}constructor(y,ae,w,Fe,Je,St,gt,Wt){this._overlay=y,this._defaultOptions=Fe,this._scrollStrategy=Je,this._parentDialog=St,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new b.x,this._afterOpenedAtThisLevel=new b.x,this.dialogConfigClass=W,this.afterAllClosed=(0,D.P)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,E.O)(void 0))),this._dialog=ae.get(v.Vq),this._dialogRefConstructor=H,this._dialogContainerType=I,this._dialogDataToken=J}open(y,ae){let w;(ae={...this._defaultOptions||new W,...ae}).id=ae.id||"mat-mdc-dialog-"+We++,ae.scrollStrategy=ae.scrollStrategy||this._scrollStrategy();const Fe=this._dialog.open(y,{...ae,positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:ae},{provide:v.ib,useValue:ae}]},templateContext:()=>({dialogRef:w}),providers:(Je,St,gt)=>(w=new this._dialogRefConstructor(Je,ae,gt),w.updatePosition(ae?.position),[{provide:this._dialogContainerType,useValue:gt},{provide:this._dialogDataToken,useValue:St.data},{provide:this._dialogRefConstructor,useValue:w}])});return w.componentRef=Fe.componentRef,w.componentInstance=Fe.componentInstance,this.openDialogs.push(w),this.afterOpened.next(w),w.afterClosed().subscribe(()=>{const Je=this.openDialogs.indexOf(w);Je>-1&&(this.openDialogs.splice(Je,1),this.openDialogs.length||this._getAfterAllClosed().next())}),w}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(y){return this.openDialogs.find(ae=>ae.id===y)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(y){let ae=y.length;for(;ae--;)y[ae].close()}}return(tt=ut).\u0275fac=function(y){return new(y||tt)(c.LFG(n.aV),c.LFG(c.zs3),c.LFG(s.Location,8),c.LFG(V,8),c.LFG(le),c.LFG(tt,12),c.LFG(n.Xj),c.LFG(c.QbO,8))},tt.\u0275prov=c.Yz7({token:tt,factory:tt.\u0275fac,providedIn:"root"}),ut})(),ee=0,Q=(()=>{var tt;class ut{constructor(y,ae,w){this.dialogRef=y,this._elementRef=ae,this._dialog=w,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=Me(this._elementRef,this._dialog.openDialogs))}ngOnChanges(y){const ae=y._matDialogClose||y._matDialogCloseResult;ae&&(this.dialogResult=ae.currentValue)}_onButtonClick(y){$(this.dialogRef,0===y.screenX&&0===y.screenY?"keyboard":"mouse",this.dialogResult)}}return(tt=ut).\u0275fac=function(y){return new(y||tt)(c.Y36(H,8),c.Y36(c.SBq),c.Y36(Te))},tt.\u0275dir=c.lG2({type:tt,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(y,ae){1&y&&c.NdJ("click",function(Fe){return ae._onButtonClick(Fe)}),2&y&&c.uIk("aria-label",ae.ariaLabel||null)("type",ae.type)},inputs:{ariaLabel:["aria-label","ariaLabel"],type:"type",dialogResult:["mat-dialog-close","dialogResult"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],standalone:!0,features:[c.TTD]}),ut})(),me=(()=>{var tt;class ut{constructor(y,ae,w){this._dialogRef=y,this._elementRef=ae,this._dialog=w,this.id="mat-mdc-dialog-title-"+ee++}ngOnInit(){this._dialogRef||(this._dialogRef=Me(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{this._dialogRef._containerInstance?._ariaLabelledByQueue?.push(this.id)})}ngOnDestroy(){const y=this._dialogRef?._containerInstance?._ariaLabelledByQueue;y&&Promise.resolve().then(()=>{const ae=y.indexOf(this.id);ae>-1&&y.splice(ae,1)})}}return(tt=ut).\u0275fac=function(y){return new(y||tt)(c.Y36(H,8),c.Y36(c.SBq),c.Y36(Te))},tt.\u0275dir=c.lG2({type:tt,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(y,ae){2&y&&c.Ikx("id",ae.id)},inputs:{id:"id"},exportAs:["matDialogTitle"],standalone:!0}),ut})(),pe=(()=>{var tt;class ut{}return(tt=ut).\u0275fac=function(y){return new(y||tt)},tt.\u0275dir=c.lG2({type:tt,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"],standalone:!0}),ut})(),se=(()=>{var tt;class ut{constructor(){this.align="start"}}return(tt=ut).\u0275fac=function(y){return new(y||tt)},tt.\u0275dir=c.lG2({type:tt,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:4,hostBindings:function(y,ae){2&y&&c.ekj("mat-mdc-dialog-actions-align-center","center"===ae.align)("mat-mdc-dialog-actions-align-end","end"===ae.align)},inputs:{align:"align"},standalone:!0}),ut})();function Me(tt,ut){let ne=tt.nativeElement.parentElement;for(;ne&&!ne.classList.contains("mat-mdc-dialog-container");)ne=ne.parentElement;return ne?ut.find(y=>y.id===ne.id):null}let vt=(()=>{var tt;class ut{}return(tt=ut).\u0275fac=function(y){return new(y||tt)},tt.\u0275mod=c.oAB({type:tt}),tt.\u0275inj=c.cJS({providers:[Te],imports:[v.Su,n.U8,m.eL,M.BQ,I,M.BQ]}),ut})()},97673:(_e,R,r)=>{"use strict";r.d(R,{Cq:()=>T,Ou:()=>u});var n=r(77533),s=r(55704),c=r(85572),h=r(14565);const v=["determinateSpinner"];function _(M,B){if(1&M&&(n.O4$(),n.TgZ(0,"svg",11),n._UZ(1,"circle",12),n.qZA()),2&M){const N=n.oxw();n.uIk("viewBox",N._viewBox()),n.xp6(1),n.Udp("stroke-dasharray",N._strokeCircumference(),"px")("stroke-dashoffset",N._strokeCircumference()/2,"px")("stroke-width",N._circleStrokeWidth(),"%"),n.uIk("r",N._circleRadius())}}const m=(0,s.pj)(class{constructor(M){this._elementRef=M}},"primary"),b=new n.OlP("mat-progress-spinner-default-options",{providedIn:"root",factory:function p(){return{diameter:D}}}),D=100;let u=(()=>{var M;class B extends m{constructor(W,A,X){super(W),this.mode="mat-spinner"===this._elementRef.nativeElement.nodeName.toLowerCase()?"indeterminate":"determinate",this._value=0,this._diameter=D,this._noopAnimations="NoopAnimations"===A&&!!X&&!X._forceAnimations,X&&(X.color&&(this.color=this.defaultColor=X.color),X.diameter&&(this.diameter=X.diameter),X.strokeWidth&&(this.strokeWidth=X.strokeWidth))}get value(){return"determinate"===this.mode?this._value:0}set value(W){this._value=Math.max(0,Math.min(100,(0,c.su)(W)))}get diameter(){return this._diameter}set diameter(W){this._diameter=(0,c.su)(W)}get strokeWidth(){return this._strokeWidth??this.diameter/10}set strokeWidth(W){this._strokeWidth=(0,c.su)(W)}_circleRadius(){return(this.diameter-10)/2}_viewBox(){const W=2*this._circleRadius()+this.strokeWidth;return`0 0 ${W} ${W}`}_strokeCircumference(){return 2*Math.PI*this._circleRadius()}_strokeDashOffset(){return"determinate"===this.mode?this._strokeCircumference()*(100-this._value)/100:null}_circleStrokeWidth(){return this.strokeWidth/this.diameter*100}}return(M=B).\u0275fac=function(W){return new(W||M)(n.Y36(n.SBq),n.Y36(n.QbO,8),n.Y36(b))},M.\u0275cmp=n.Xpm({type:M,selectors:[["mat-progress-spinner"],["mat-spinner"]],viewQuery:function(W,A){if(1&W&&n.Gf(v,5),2&W){let X;n.iGM(X=n.CRH())&&(A._determinateCircle=X.first)}},hostAttrs:["role","progressbar","tabindex","-1",1,"mat-mdc-progress-spinner","mdc-circular-progress"],hostVars:16,hostBindings:function(W,A){2&W&&(n.uIk("aria-valuemin",0)("aria-valuemax",100)("aria-valuenow","determinate"===A.mode?A.value:null)("mode",A.mode),n.Udp("width",A.diameter,"px")("height",A.diameter,"px")("--mdc-circular-progress-size",A.diameter+"px")("--mdc-circular-progress-active-indicator-width",A.diameter+"px"),n.ekj("_mat-animation-noopable",A._noopAnimations)("mdc-circular-progress--indeterminate","indeterminate"===A.mode))},inputs:{color:"color",mode:"mode",value:"value",diameter:"diameter",strokeWidth:"strokeWidth"},exportAs:["matProgressSpinner"],features:[n.qOj],decls:14,vars:11,consts:[["circle",""],["aria-hidden","true",1,"mdc-circular-progress__determinate-container"],["determinateSpinner",""],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__determinate-circle-graphic"],["cx","50%","cy","50%",1,"mdc-circular-progress__determinate-circle"],["aria-hidden","true",1,"mdc-circular-progress__indeterminate-container"],[1,"mdc-circular-progress__spinner-layer"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-left"],[3,"ngTemplateOutlet"],[1,"mdc-circular-progress__gap-patch"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-right"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__indeterminate-circle-graphic"],["cx","50%","cy","50%"]],template:function(W,A){if(1&W&&(n.YNc(0,_,2,8,"ng-template",null,0,n.W1O),n.TgZ(2,"div",1,2),n.O4$(),n.TgZ(4,"svg",3),n._UZ(5,"circle",4),n.qZA()(),n.kcU(),n.TgZ(6,"div",5)(7,"div",6)(8,"div",7),n.GkF(9,8),n.qZA(),n.TgZ(10,"div",9),n.GkF(11,8),n.qZA(),n.TgZ(12,"div",10),n.GkF(13,8),n.qZA()()()),2&W){const X=n.MAs(1);n.xp6(4),n.uIk("viewBox",A._viewBox()),n.xp6(1),n.Udp("stroke-dasharray",A._strokeCircumference(),"px")("stroke-dashoffset",A._strokeDashOffset(),"px")("stroke-width",A._circleStrokeWidth(),"%"),n.uIk("r",A._circleRadius()),n.xp6(4),n.Q6J("ngTemplateOutlet",X),n.xp6(2),n.Q6J("ngTemplateOutlet",X),n.xp6(2),n.Q6J("ngTemplateOutlet",X)}},dependencies:[h.NgTemplateOutlet],styles:["@keyframes mdc-circular-progress-container-rotate{to{transform:rotate(360deg)}}@keyframes mdc-circular-progress-spinner-layer-rotate{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}100%{transform:rotate(1080deg)}}@keyframes mdc-circular-progress-color-1-fade-in-out{from{opacity:.99}25%{opacity:.99}26%{opacity:0}89%{opacity:0}90%{opacity:.99}to{opacity:.99}}@keyframes mdc-circular-progress-color-2-fade-in-out{from{opacity:0}15%{opacity:0}25%{opacity:.99}50%{opacity:.99}51%{opacity:0}to{opacity:0}}@keyframes mdc-circular-progress-color-3-fade-in-out{from{opacity:0}40%{opacity:0}50%{opacity:.99}75%{opacity:.99}76%{opacity:0}to{opacity:0}}@keyframes mdc-circular-progress-color-4-fade-in-out{from{opacity:0}65%{opacity:0}75%{opacity:.99}90%{opacity:.99}to{opacity:0}}@keyframes mdc-circular-progress-left-spin{from{transform:rotate(265deg)}50%{transform:rotate(130deg)}to{transform:rotate(265deg)}}@keyframes mdc-circular-progress-right-spin{from{transform:rotate(-265deg)}50%{transform:rotate(-130deg)}to{transform:rotate(-265deg)}}.mdc-circular-progress{display:inline-flex;position:relative;direction:ltr;line-height:0;transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-circular-progress__determinate-container,.mdc-circular-progress__indeterminate-circle-graphic,.mdc-circular-progress__indeterminate-container,.mdc-circular-progress__spinner-layer{position:absolute;width:100%;height:100%}.mdc-circular-progress__determinate-container{transform:rotate(-90deg)}.mdc-circular-progress__indeterminate-container{font-size:0;letter-spacing:0;white-space:nowrap;opacity:0}.mdc-circular-progress__determinate-circle-graphic,.mdc-circular-progress__indeterminate-circle-graphic{fill:rgba(0,0,0,0)}.mdc-circular-progress__determinate-circle{transition:stroke-dashoffset 500ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-circular-progress__gap-patch{position:absolute;top:0;left:47.5%;box-sizing:border-box;width:5%;height:100%;overflow:hidden}.mdc-circular-progress__gap-patch .mdc-circular-progress__indeterminate-circle-graphic{left:-900%;width:2000%;transform:rotate(180deg)}.mdc-circular-progress__circle-clipper{display:inline-flex;position:relative;width:50%;height:100%;overflow:hidden}.mdc-circular-progress__circle-clipper .mdc-circular-progress__indeterminate-circle-graphic{width:200%}.mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{left:-100%}.mdc-circular-progress--indeterminate .mdc-circular-progress__determinate-container{opacity:0}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{opacity:1}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{animation:mdc-circular-progress-container-rotate 1568.2352941176ms linear infinite}.mdc-circular-progress--indeterminate .mdc-circular-progress__spinner-layer{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-1{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-1-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-2{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-2-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-3{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-3-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-4{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-4-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-left .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-left-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-right-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--closed{opacity:0}.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:var(--mdc-circular-progress-active-indicator-color)}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}.mat-mdc-progress-spinner circle{stroke-width:var(--mdc-circular-progress-active-indicator-width)}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-1 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-2 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-3 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-4 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}.mat-mdc-progress-spinner .mdc-circular-progress{width:var(--mdc-circular-progress-size) !important;height:var(--mdc-circular-progress-size) !important}.mat-mdc-progress-spinner{display:block;overflow:hidden;line-height:0}.mat-mdc-progress-spinner._mat-animation-noopable,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__determinate-circle{transition:none}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-circle-graphic,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__spinner-layer,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container{animation:none}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container circle{stroke-dasharray:0 !important}.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic,.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle{stroke:currentColor;stroke:CanvasText}"],encapsulation:2,changeDetection:0}),B})(),T=(()=>{var M;class B{}return(M=B).\u0275fac=function(W){return new(W||M)},M.\u0275mod=n.oAB({type:M}),M.\u0275inj=n.cJS({imports:[h.CommonModule,s.BQ]}),B})()},43406:(_e,R,r)=>{"use strict";r.d(R,{w$:()=>T}),r(77533);var s=r(21796);const T={transformDrawer:(0,s.X$)("transform",[(0,s.SB)("open, open-instant",(0,s.oB)({transform:"none",visibility:"visible"})),(0,s.SB)("void",(0,s.oB)({"box-shadow":"none",visibility:"hidden"})),(0,s.eR)("void => open-instant",(0,s.jt)("0ms")),(0,s.eR)("void <=> open, open-instant => void",(0,s.jt)("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])}},56303:(_e,R,r)=>{"use strict";r.d(R,{ZX:()=>ge,u_:()=>X,ux:()=>V});var n=r(77533),s=r(14565),c=r(85218),h=r(9739),v=r(21796),_=r(20860),m=r(44798),b=r(49804),p=r(25167),D=r(62424),a=r(45208),u=r(50996),E=r(55704);function T(te,We){if(1&te){const Te=n.EpF();n.TgZ(0,"div",1)(1,"button",2),n.NdJ("click",function(){n.CHM(Te);const Q=n.oxw();return n.KtG(Q.action())}),n._uU(2),n.qZA()()}if(2&te){const Te=n.oxw();n.xp6(2),n.hij(" ",Te.data.action," ")}}const M=["label"];function B(te,We){}const N=Math.pow(2,31)-1;class W{constructor(We,Te){this._overlayRef=Te,this._afterDismissed=new h.x,this._afterOpened=new h.x,this._onAction=new h.x,this._dismissedByAction=!1,this.containerInstance=We,We._onExit.subscribe(()=>this._finishDismiss())}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete(),this.dismiss()),clearTimeout(this._durationTimeoutId)}closeWithAction(){this.dismissWithAction()}_dismissAfter(We){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(We,N))}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction}}const A=new n.OlP("MatSnackBarData");class X{constructor(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}}let U=(()=>{var te;class We{}return(te=We).\u0275fac=function(ee){return new(ee||te)},te.\u0275dir=n.lG2({type:te,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"],standalone:!0}),We})(),O=(()=>{var te;class We{}return(te=We).\u0275fac=function(ee){return new(ee||te)},te.\u0275dir=n.lG2({type:te,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"],standalone:!0}),We})(),k=(()=>{var te;class We{}return(te=We).\u0275fac=function(ee){return new(ee||te)},te.\u0275dir=n.lG2({type:te,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"],standalone:!0}),We})(),I=(()=>{var te;class We{constructor(ee,Q){this.snackBarRef=ee,this.data=Q}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}}return(te=We).\u0275fac=function(ee){return new(ee||te)(n.Y36(W),n.Y36(A))},te.\u0275cmp=n.Xpm({type:te,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-mdc-simple-snack-bar"],exportAs:["matSnackBar"],standalone:!0,features:[n.jDz],decls:3,vars:2,consts:[["matSnackBarLabel",""],["matSnackBarActions",""],["mat-button","","matSnackBarAction","",3,"click"]],template:function(ee,Q){1&ee&&(n.TgZ(0,"div",0),n._uU(1),n.qZA(),n.YNc(2,T,3,1,"div",1)),2&ee&&(n.xp6(1),n.hij(" ",Q.data.message,"\n"),n.xp6(1),n.um2(2,Q.hasAction?2:-1))},dependencies:[c.ot,c.lW,U,O,k,s.CommonModule],styles:[".mat-mdc-simple-snack-bar{display:flex}"],encapsulation:2,changeDetection:0}),We})();const F={snackBarState:(0,v.X$)("state",[(0,v.SB)("void, hidden",(0,v.oB)({transform:"scale(0.8)",opacity:0})),(0,v.SB)("visible",(0,v.oB)({transform:"scale(1)",opacity:1})),(0,v.eR)("* => visible",(0,v.jt)("150ms cubic-bezier(0, 0, 0.2, 1)")),(0,v.eR)("* => void, * => hidden",(0,v.jt)("75ms cubic-bezier(0.4, 0.0, 1, 1)",(0,v.oB)({opacity:0})))])};let P=0,H=(()=>{var te;class We extends _.en{constructor(ee,Q,me,pe,se){super(),this._ngZone=ee,this._elementRef=Q,this._changeDetectorRef=me,this._platform=pe,this.snackBarConfig=se,this._document=(0,n.f3M)(s.DOCUMENT),this._trackedModals=new Set,this._announceDelay=150,this._destroyed=!1,this._onAnnounce=new h.x,this._onExit=new h.x,this._onEnter=new h.x,this._animationState="void",this._liveElementId="mat-snack-bar-container-live-"+P++,this.attachDomPortal=Me=>{this._assertNotAttached();const ct=this._portalOutlet.attachDomPortal(Me);return this._afterPortalAttached(),ct},this._live="assertive"!==se.politeness||se.announcementMessage?"off"===se.politeness?"off":"polite":"assertive",this._platform.FIREFOX&&("polite"===this._live&&(this._role="status"),"assertive"===this._live&&(this._role="alert"))}attachComponentPortal(ee){this._assertNotAttached();const Q=this._portalOutlet.attachComponentPortal(ee);return this._afterPortalAttached(),Q}attachTemplatePortal(ee){this._assertNotAttached();const Q=this._portalOutlet.attachTemplatePortal(ee);return this._afterPortalAttached(),Q}onAnimationEnd(ee){const{fromState:Q,toState:me}=ee;if(("void"===me&&"void"!==Q||"hidden"===me)&&this._completeExit(),"visible"===me){const pe=this._onEnter;this._ngZone.run(()=>{pe.next(),pe.complete()})}}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())}exit(){return this._ngZone.run(()=>{this._animationState="hidden",this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId)}),this._onExit}ngOnDestroy(){this._destroyed=!0,this._clearFromModals(),this._completeExit()}_completeExit(){this._ngZone.onMicrotaskEmpty.pipe((0,b.q)(1)).subscribe(()=>{this._ngZone.run(()=>{this._onExit.next(),this._onExit.complete()})})}_afterPortalAttached(){const ee=this._elementRef.nativeElement,Q=this.snackBarConfig.panelClass;Q&&(Array.isArray(Q)?Q.forEach(se=>ee.classList.add(se)):ee.classList.add(Q)),this._exposeToModals();const me=this._label.nativeElement,pe="mdc-snackbar__label";me.classList.toggle(pe,!me.querySelector(`.${pe}`))}_exposeToModals(){const ee=this._liveElementId,Q=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let me=0;me<Q.length;me++){const pe=Q[me],se=pe.getAttribute("aria-owns");this._trackedModals.add(pe),se?-1===se.indexOf(ee)&&pe.setAttribute("aria-owns",se+" "+ee):pe.setAttribute("aria-owns",ee)}}_clearFromModals(){this._trackedModals.forEach(ee=>{const Q=ee.getAttribute("aria-owns");if(Q){const me=Q.replace(this._liveElementId,"").trim();me.length>0?ee.setAttribute("aria-owns",me):ee.removeAttribute("aria-owns")}}),this._trackedModals.clear()}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{const ee=this._elementRef.nativeElement.querySelector("[aria-hidden]"),Q=this._elementRef.nativeElement.querySelector("[aria-live]");if(ee&&Q){let me=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&ee.contains(document.activeElement)&&(me=document.activeElement),ee.removeAttribute("aria-hidden"),Q.appendChild(ee),me?.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}}return(te=We).\u0275fac=function(ee){return new(ee||te)(n.Y36(n.R0b),n.Y36(n.SBq),n.Y36(n.sBO),n.Y36(m.t4),n.Y36(X))},te.\u0275cmp=n.Xpm({type:te,selectors:[["mat-snack-bar-container"]],viewQuery:function(ee,Q){if(1&ee&&(n.Gf(_.Pl,7),n.Gf(M,7)),2&ee){let me;n.iGM(me=n.CRH())&&(Q._portalOutlet=me.first),n.iGM(me=n.CRH())&&(Q._label=me.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container","mdc-snackbar--open"],hostVars:1,hostBindings:function(ee,Q){1&ee&&n.WFA("@state.done",function(pe){return Q.onAnimationEnd(pe)}),2&ee&&n.d8E("@state",Q._animationState)},standalone:!0,features:[n.qOj,n.jDz],decls:6,vars:3,consts:[[1,"mdc-snackbar__surface"],[1,"mat-mdc-snack-bar-label"],["label",""],["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(ee,Q){1&ee&&(n.TgZ(0,"div",0)(1,"div",1,2)(3,"div",3),n.YNc(4,B,0,0,"ng-template",4),n.qZA(),n._UZ(5,"div"),n.qZA()()),2&ee&&(n.xp6(5),n.uIk("aria-live",Q._live)("role",Q._role)("id",Q._liveElementId))},dependencies:[_.eL,_.Pl],styles:['.mdc-snackbar{display:none;position:fixed;right:0;bottom:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;pointer-events:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mdc-snackbar--opening,.mdc-snackbar--open,.mdc-snackbar--closing{display:flex}.mdc-snackbar--open .mdc-snackbar__label,.mdc-snackbar--open .mdc-snackbar__actions{visibility:visible}.mdc-snackbar__surface{padding-left:0;padding-right:8px;display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box;transform:scale(0.8);opacity:0}.mdc-snackbar__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-snackbar__surface::before{border-color:CanvasText}}[dir=rtl] .mdc-snackbar__surface,.mdc-snackbar__surface[dir=rtl]{padding-left:8px;padding-right:0}.mdc-snackbar--open .mdc-snackbar__surface{transform:scale(1);opacity:1;pointer-events:auto}.mdc-snackbar--closing .mdc-snackbar__surface{transform:scale(1)}.mdc-snackbar__label{padding-left:16px;padding-right:8px;width:100%;flex-grow:1;box-sizing:border-box;margin:0;visibility:hidden;padding-top:14px;padding-bottom:14px}[dir=rtl] .mdc-snackbar__label,.mdc-snackbar__label[dir=rtl]{padding-left:8px;padding-right:16px}.mdc-snackbar__label::before{display:inline;content:attr(data-mdc-snackbar-label-text)}.mdc-snackbar__actions{display:flex;flex-shrink:0;align-items:center;box-sizing:border-box;visibility:hidden}.mdc-snackbar__action+.mdc-snackbar__dismiss{margin-left:8px;margin-right:0}[dir=rtl] .mdc-snackbar__action+.mdc-snackbar__dismiss,.mdc-snackbar__action+.mdc-snackbar__dismiss[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-snack-bar-container{margin:8px;position:static}.mat-mdc-snack-bar-container .mdc-snackbar__surface{min-width:344px}@media(max-width: 480px),(max-width: 344px){.mat-mdc-snack-bar-container .mdc-snackbar__surface{min-width:100%}}@media(max-width: 480px),(max-width: 344px){.mat-mdc-snack-bar-container{width:100vw}}.mat-mdc-snack-bar-container .mdc-snackbar__surface{max-width:672px}.mat-mdc-snack-bar-container .mdc-snackbar__surface{box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12)}.mat-mdc-snack-bar-container .mdc-snackbar__surface{background-color:var(--mdc-snackbar-container-color)}.mat-mdc-snack-bar-container .mdc-snackbar__surface{border-radius:var(--mdc-snackbar-container-shape)}.mat-mdc-snack-bar-container .mdc-snackbar__label{color:var(--mdc-snackbar-supporting-text-color)}.mat-mdc-snack-bar-container .mdc-snackbar__label{font-size:var(--mdc-snackbar-supporting-text-size);font-family:var(--mdc-snackbar-supporting-text-font);font-weight:var(--mdc-snackbar-supporting-text-weight);line-height:var(--mdc-snackbar-supporting-text-line-height)}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled){color:var(--mat-snack-bar-button-color);--mat-text-button-state-layer-color:currentColor;--mat-text-button-ripple-color:currentColor}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) .mat-ripple-element{opacity:.1}.mat-mdc-snack-bar-container .mdc-snackbar__label::before{display:none}.mat-mdc-snack-bar-handset,.mat-mdc-snack-bar-container,.mat-mdc-snack-bar-label{flex:1 1 auto}.mat-mdc-snack-bar-handset .mdc-snackbar__surface{width:100%}'],encapsulation:2,data:{animation:[F.snackBarState]}}),We})();const J=new n.OlP("mat-snack-bar-default-options",{providedIn:"root",factory:function $(){return new X}});let V=(()=>{var te;class We{get _openedSnackBarRef(){const ee=this._parentSnackBar;return ee?ee._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(ee){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=ee:this._snackBarRefAtThisLevel=ee}constructor(ee,Q,me,pe,se,Me){this._overlay=ee,this._live=Q,this._injector=me,this._breakpointObserver=pe,this._parentSnackBar=se,this._defaultConfig=Me,this._snackBarRefAtThisLevel=null,this.simpleSnackBarComponent=I,this.snackBarContainerComponent=H,this.handsetCssClass="mat-mdc-snack-bar-handset"}openFromComponent(ee,Q){return this._attach(ee,Q)}openFromTemplate(ee,Q){return this._attach(ee,Q)}open(ee,Q="",me){const pe={...this._defaultConfig,...me};return pe.data={message:ee,action:Q},pe.announcementMessage===ee&&(pe.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,pe)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(ee,Q){const pe=n.zs3.create({parent:Q&&Q.viewContainerRef&&Q.viewContainerRef.injector||this._injector,providers:[{provide:X,useValue:Q}]}),se=new _.C5(this.snackBarContainerComponent,Q.viewContainerRef,pe),Me=ee.attach(se);return Me.instance.snackBarConfig=Q,Me.instance}_attach(ee,Q){const me={...new X,...this._defaultConfig,...Q},pe=this._createOverlay(me),se=this._attachSnackBarContainer(pe,me),Me=new W(se,pe);if(ee instanceof n.Rgc){const ct=new _.UE(ee,null,{$implicit:me.data,snackBarRef:Me});Me.instance=se.attachTemplatePortal(ct)}else{const ct=this._createInjector(me,Me),vt=new _.C5(ee,void 0,ct),Pt=se.attachComponentPortal(vt);Me.instance=Pt.instance}return this._breakpointObserver.observe(a.u3.HandsetPortrait).pipe((0,p.R)(pe.detachments())).subscribe(ct=>{pe.overlayElement.classList.toggle(this.handsetCssClass,ct.matches)}),me.announcementMessage&&se._onAnnounce.subscribe(()=>{this._live.announce(me.announcementMessage,me.politeness)}),this._animateSnackBar(Me,me),this._openedSnackBarRef=Me,this._openedSnackBarRef}_animateSnackBar(ee,Q){ee.afterDismissed().subscribe(()=>{this._openedSnackBarRef==ee&&(this._openedSnackBarRef=null),Q.announcementMessage&&this._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{ee.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):ee.containerInstance.enter(),Q.duration&&Q.duration>0&&ee.afterOpened().subscribe(()=>ee._dismissAfter(Q.duration))}_createOverlay(ee){const Q=new u.X_;Q.direction=ee.direction;let me=this._overlay.position().global();const pe="rtl"===ee.direction,se="left"===ee.horizontalPosition||"start"===ee.horizontalPosition&&!pe||"end"===ee.horizontalPosition&&pe,Me=!se&&"center"!==ee.horizontalPosition;return se?me.left("0"):Me?me.right("0"):me.centerHorizontally(),"top"===ee.verticalPosition?me.top("0"):me.bottom("0"),Q.positionStrategy=me,this._overlay.create(Q)}_createInjector(ee,Q){return n.zs3.create({parent:ee&&ee.viewContainerRef&&ee.viewContainerRef.injector||this._injector,providers:[{provide:W,useValue:Q},{provide:A,useValue:ee.data}]})}}return(te=We).\u0275fac=function(ee){return new(ee||te)(n.LFG(u.aV),n.LFG(D.Kd),n.LFG(n.zs3),n.LFG(a.Yg),n.LFG(te,12),n.LFG(J))},te.\u0275prov=n.Yz7({token:te,factory:te.\u0275fac,providedIn:"root"}),We})(),ge=(()=>{var te;class We{}return(te=We).\u0275fac=function(ee){return new(ee||te)},te.\u0275mod=n.oAB({type:te}),te.\u0275inj=n.cJS({providers:[V],imports:[u.U8,_.eL,c.ot,E.BQ,I,H,E.BQ]}),We})()},78289:(_e,R,r)=>{"use strict";r.d(R,{Ye:()=>p,g0:()=>a});var n=r(77533),s=r(55704),c=r(44798),h=r(14565);const v=["*",[["mat-toolbar-row"]]],_=["*","mat-toolbar-row"],m=(0,s.pj)(class{constructor(u){this._elementRef=u}});let b=(()=>{var u;class E{}return(u=E).\u0275fac=function(M){return new(M||u)},u.\u0275dir=n.lG2({type:u,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]}),E})(),p=(()=>{var u;class E extends m{constructor(M,B,N){super(M),this._platform=B,this._document=N}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){}}return(u=E).\u0275fac=function(M){return new(M||u)(n.Y36(n.SBq),n.Y36(c.t4),n.Y36(h.DOCUMENT))},u.\u0275cmp=n.Xpm({type:u,selectors:[["mat-toolbar"]],contentQueries:function(M,B,N){if(1&M&&n.Suo(N,b,5),2&M){let W;n.iGM(W=n.CRH())&&(B._toolbarRows=W)}},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(M,B){2&M&&n.ekj("mat-toolbar-multiple-rows",B._toolbarRows.length>0)("mat-toolbar-single-row",0===B._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[n.qOj],ngContentSelectors:_,decls:2,vars:0,template:function(M,B){1&M&&(n.F$t(v),n.Hsn(0),n.Hsn(1,1))},styles:[".mat-toolbar{background:var(--mat-toolbar-container-background-color);color:var(--mat-toolbar-container-text-color)}.mat-toolbar,.mat-toolbar h1,.mat-toolbar h2,.mat-toolbar h3,.mat-toolbar h4,.mat-toolbar h5,.mat-toolbar h6{font-family:var(--mat-toolbar-title-text-font);font-size:var(--mat-toolbar-title-text-size);line-height:var(--mat-toolbar-title-text-line-height);font-weight:var(--mat-toolbar-title-text-weight);letter-spacing:var(--mat-toolbar-title-text-tracking);margin:0}.cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar .mat-form-field-underline,.mat-toolbar .mat-form-field-ripple,.mat-toolbar .mat-focused .mat-form-field-ripple{background-color:currentColor}.mat-toolbar .mat-form-field-label,.mat-toolbar .mat-focused .mat-form-field-label,.mat-toolbar .mat-select-value,.mat-toolbar .mat-select-arrow,.mat-toolbar .mat-form-field.mat-focused .mat-select-arrow{color:inherit}.mat-toolbar .mat-input-element{caret-color:currentColor}.mat-toolbar .mat-mdc-button-base.mat-mdc-button-base.mat-unthemed{--mdc-text-button-label-text-color: inherit;--mdc-outlined-button-label-text-color: inherit}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap;height:var(--mat-toolbar-standard-height)}@media(max-width: 599px){.mat-toolbar-row,.mat-toolbar-single-row{height:var(--mat-toolbar-mobile-height)}}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%;min-height:var(--mat-toolbar-standard-height)}@media(max-width: 599px){.mat-toolbar-multiple-rows{min-height:var(--mat-toolbar-mobile-height)}}"],encapsulation:2,changeDetection:0}),E})(),a=(()=>{var u;class E{}return(u=E).\u0275fac=function(M){return new(M||u)},u.\u0275mod=n.oAB({type:u}),u.\u0275inj=n.cJS({imports:[s.BQ,s.BQ]}),E})()},45781:(_e,R,r)=>{"use strict";r.d(R,{Dx:()=>Wt,H7:()=>Xe,HJ:()=>At,QL:()=>ot,b2:()=>w,h_:()=>Je,hm:()=>Ke,ly:()=>Ze,ok:()=>wt,q6:()=>ut,se:()=>P,t6:()=>Rt,yV:()=>M});var n=r(77533),s=r(14565),c=r(93634);class h extends s.\u0275DomAdapter{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class v extends h{static makeCurrent(){(0,s.\u0275setRootDomAdapter)(new v)}onAndCancel(fe,He,xe){return fe.addEventListener(He,xe),()=>{fe.removeEventListener(He,xe)}}dispatchEvent(fe,He){fe.dispatchEvent(He)}remove(fe){fe.parentNode&&fe.parentNode.removeChild(fe)}createElement(fe,He){return(He=He||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,He){return"window"===He?window:"document"===He?fe:"body"===He?fe.body:null}getBaseHref(fe){const He=function m(){return _=_||document.querySelector("base"),_?_.getAttribute("href"):null}();return null==He?null:function b(De){return new URL(De,"http://a").pathname}(He)}resetBaseElement(){_=null}getUserAgent(){return window.navigator.userAgent}getCookie(fe){return(0,s.\u0275parseCookieValue)(document.cookie,fe)}}let _=null,D=(()=>{var De;class fe{build(){return new XMLHttpRequest}}return(De=fe).\u0275fac=function(xe){return new(xe||De)},De.\u0275prov=n.Yz7({token:De,factory:De.\u0275fac}),fe})();const a=new n.OlP("EventManagerPlugins");let u=(()=>{var De;class fe{constructor(xe,rt){this._zone=rt,this._eventNameToPlugin=new Map,xe.forEach(xt=>{xt.manager=this}),this._plugins=xe.slice().reverse()}addEventListener(xe,rt,xt){return this._findPluginFor(rt).addEventListener(xe,rt,xt)}getZone(){return this._zone}_findPluginFor(xe){let rt=this._eventNameToPlugin.get(xe);if(rt)return rt;if(rt=this._plugins.find(tn=>tn.supports(xe)),!rt)throw new n.vHH(5101,!1);return this._eventNameToPlugin.set(xe,rt),rt}}return(De=fe).\u0275fac=function(xe){return new(xe||De)(n.LFG(a),n.LFG(n.R0b))},De.\u0275prov=n.Yz7({token:De,factory:De.\u0275fac}),fe})();class E{constructor(fe){this._doc=fe}}const T="ng-app-id";let M=(()=>{var De;class fe{constructor(xe,rt,xt,tn={}){this.doc=xe,this.appId=rt,this.nonce=xt,this.platformId=tn,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,s.isPlatformServer)(tn),this.resetHostNodes()}addStyles(xe){for(const rt of xe)1===this.changeUsageCount(rt,1)&&this.onStyleAdded(rt)}removeStyles(xe){for(const rt of xe)this.changeUsageCount(rt,-1)<=0&&this.onStyleRemoved(rt)}ngOnDestroy(){const xe=this.styleNodesInDOM;xe&&(xe.forEach(rt=>rt.remove()),xe.clear());for(const rt of this.getAllStyles())this.onStyleRemoved(rt);this.resetHostNodes()}addHost(xe){this.hostNodes.add(xe);for(const rt of this.getAllStyles())this.addStyleToHost(xe,rt)}removeHost(xe){this.hostNodes.delete(xe)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(xe){for(const rt of this.hostNodes)this.addStyleToHost(rt,xe)}onStyleRemoved(xe){const rt=this.styleRef;rt.get(xe)?.elements?.forEach(xt=>xt.remove()),rt.delete(xe)}collectServerRenderedStyles(){const xe=this.doc.head?.querySelectorAll(`style[${T}="${this.appId}"]`);if(xe?.length){const rt=new Map;return xe.forEach(xt=>{null!=xt.textContent&&rt.set(xt.textContent,xt)}),rt}return null}changeUsageCount(xe,rt){const xt=this.styleRef;if(xt.has(xe)){const tn=xt.get(xe);return tn.usage+=rt,tn.usage}return xt.set(xe,{usage:rt,elements:[]}),rt}getStyleElement(xe,rt){const xt=this.styleNodesInDOM,tn=xt?.get(rt);if(tn?.parentNode===xe)return xt.delete(rt),tn.removeAttribute(T),tn;{const sn=this.doc.createElement("style");return this.nonce&&sn.setAttribute("nonce",this.nonce),sn.textContent=rt,this.platformIsServer&&sn.setAttribute(T,this.appId),xe.appendChild(sn),sn}}addStyleToHost(xe,rt){const xt=this.getStyleElement(xe,rt),tn=this.styleRef,sn=tn.get(rt)?.elements;sn?sn.push(xt):tn.set(rt,{elements:[xt],usage:1})}resetHostNodes(){const xe=this.hostNodes;xe.clear(),xe.add(this.doc.head)}}return(De=fe).\u0275fac=function(xe){return new(xe||De)(n.LFG(s.DOCUMENT),n.LFG(n.AFp),n.LFG(n.Ojb,8),n.LFG(n.Lbi))},De.\u0275prov=n.Yz7({token:De,factory:De.\u0275fac}),fe})();const B={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/"},N=/%COMP%/g,W="%COMP%",A=`_nghost-${W}`,X=`_ngcontent-${W}`,O=new n.OlP("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!0});function F(De,fe){return fe.map(He=>He.replace(N,De))}let P=(()=>{var De;class fe{constructor(xe,rt,xt,tn,sn,En,Un,nr=null){this.eventManager=xe,this.sharedStylesHost=rt,this.appId=xt,this.removeStylesOnCompDestroy=tn,this.doc=sn,this.platformId=En,this.ngZone=Un,this.nonce=nr,this.rendererByCompId=new Map,this.platformIsServer=(0,s.isPlatformServer)(En),this.defaultRenderer=new H(xe,sn,Un,this.platformIsServer)}createRenderer(xe,rt){if(!xe||!rt)return this.defaultRenderer;this.platformIsServer&&rt.encapsulation===n.ifc.ShadowDom&&(rt={...rt,encapsulation:n.ifc.Emulated});const xt=this.getOrCreateRenderer(xe,rt);return xt instanceof te?xt.applyToHost(xe):xt instanceof ge&&xt.applyStyles(),xt}getOrCreateRenderer(xe,rt){const xt=this.rendererByCompId;let tn=xt.get(rt.id);if(!tn){const sn=this.doc,En=this.ngZone,Un=this.eventManager,nr=this.sharedStylesHost,Zn=this.removeStylesOnCompDestroy,lr=this.platformIsServer;switch(rt.encapsulation){case n.ifc.Emulated:tn=new te(Un,nr,rt,this.appId,Zn,sn,En,lr);break;case n.ifc.ShadowDom:return new le(Un,nr,xe,rt,sn,En,this.nonce,lr);default:tn=new ge(Un,nr,rt,Zn,sn,En,lr)}xt.set(rt.id,tn)}return tn}ngOnDestroy(){this.rendererByCompId.clear()}}return(De=fe).\u0275fac=function(xe){return new(xe||De)(n.LFG(u),n.LFG(M),n.LFG(n.AFp),n.LFG(O),n.LFG(s.DOCUMENT),n.LFG(n.Lbi),n.LFG(n.R0b),n.LFG(n.Ojb))},De.\u0275prov=n.Yz7({token:De,factory:De.\u0275fac}),fe})();class H{constructor(fe,He,xe,rt){this.eventManager=fe,this.doc=He,this.ngZone=xe,this.platformIsServer=rt,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(fe,He){return He?this.doc.createElementNS(B[He]||He,fe):this.doc.createElement(fe)}createComment(fe){return this.doc.createComment(fe)}createText(fe){return this.doc.createTextNode(fe)}appendChild(fe,He){(V(fe)?fe.content:fe).appendChild(He)}insertBefore(fe,He,xe){fe&&(V(fe)?fe.content:fe).insertBefore(He,xe)}removeChild(fe,He){fe&&fe.removeChild(He)}selectRootElement(fe,He){let xe="string"==typeof fe?this.doc.querySelector(fe):fe;if(!xe)throw new n.vHH(-5104,!1);return He||(xe.textContent=""),xe}parentNode(fe){return fe.parentNode}nextSibling(fe){return fe.nextSibling}setAttribute(fe,He,xe,rt){if(rt){He=rt+":"+He;const xt=B[rt];xt?fe.setAttributeNS(xt,He,xe):fe.setAttribute(He,xe)}else fe.setAttribute(He,xe)}removeAttribute(fe,He,xe){if(xe){const rt=B[xe];rt?fe.removeAttributeNS(rt,He):fe.removeAttribute(`${xe}:${He}`)}else fe.removeAttribute(He)}addClass(fe,He){fe.classList.add(He)}removeClass(fe,He){fe.classList.remove(He)}setStyle(fe,He,xe,rt){rt&(n.JOm.DashCase|n.JOm.Important)?fe.style.setProperty(He,xe,rt&n.JOm.Important?"important":""):fe.style[He]=xe}removeStyle(fe,He,xe){xe&n.JOm.DashCase?fe.style.removeProperty(He):fe.style[He]=""}setProperty(fe,He,xe){null!=fe&&(fe[He]=xe)}setValue(fe,He){fe.nodeValue=He}listen(fe,He,xe){if("string"==typeof fe&&!(fe=(0,s.\u0275getDOM)().getGlobalEventTarget(this.doc,fe)))throw new Error(`Unsupported event target ${fe} for event ${He}`);return this.eventManager.addEventListener(fe,He,this.decoratePreventDefault(xe))}decoratePreventDefault(fe){return He=>{if("__ngUnwrap__"===He)return fe;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>fe(He)):fe(He))&&He.preventDefault()}}}function V(De){return"TEMPLATE"===De.tagName&&void 0!==De.content}class le extends H{constructor(fe,He,xe,rt,xt,tn,sn,En){super(fe,xt,tn,En),this.sharedStylesHost=He,this.hostEl=xe,this.shadowRoot=xe.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Un=F(rt.id,rt.styles);for(const nr of Un){const Zn=document.createElement("style");sn&&Zn.setAttribute("nonce",sn),Zn.textContent=nr,this.shadowRoot.appendChild(Zn)}}nodeOrShadowRoot(fe){return fe===this.hostEl?this.shadowRoot:fe}appendChild(fe,He){return super.appendChild(this.nodeOrShadowRoot(fe),He)}insertBefore(fe,He,xe){return super.insertBefore(this.nodeOrShadowRoot(fe),He,xe)}removeChild(fe,He){return super.removeChild(this.nodeOrShadowRoot(fe),He)}parentNode(fe){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(fe)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class ge extends H{constructor(fe,He,xe,rt,xt,tn,sn,En){super(fe,xt,tn,sn),this.sharedStylesHost=He,this.removeStylesOnCompDestroy=rt,this.styles=En?F(En,xe.styles):xe.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class te extends ge{constructor(fe,He,xe,rt,xt,tn,sn,En){const Un=rt+"-"+xe.id;super(fe,He,xe,xt,tn,sn,En,Un),this.contentAttr=function k(De){return X.replace(N,De)}(Un),this.hostAttr=function I(De){return A.replace(N,De)}(Un)}applyToHost(fe){this.applyStyles(),this.setAttribute(fe,this.hostAttr,"")}createElement(fe,He){const xe=super.createElement(fe,He);return super.setAttribute(xe,this.contentAttr,""),xe}}let We=(()=>{var De;class fe extends E{constructor(xe){super(xe)}supports(xe){return!0}addEventListener(xe,rt,xt){return xe.addEventListener(rt,xt,!1),()=>this.removeEventListener(xe,rt,xt)}removeEventListener(xe,rt,xt){return xe.removeEventListener(rt,xt)}}return(De=fe).\u0275fac=function(xe){return new(xe||De)(n.LFG(s.DOCUMENT))},De.\u0275prov=n.Yz7({token:De,factory:De.\u0275fac}),fe})();const Te=["alt","control","meta","shift"],ee={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Q={alt:De=>De.altKey,control:De=>De.ctrlKey,meta:De=>De.metaKey,shift:De=>De.shiftKey};let me=(()=>{var De;class fe extends E{constructor(xe){super(xe)}supports(xe){return null!=fe.parseEventName(xe)}addEventListener(xe,rt,xt){const tn=fe.parseEventName(rt),sn=fe.eventCallback(tn.fullKey,xt,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,s.\u0275getDOM)().onAndCancel(xe,tn.domEventName,sn))}static parseEventName(xe){const rt=xe.toLowerCase().split("."),xt=rt.shift();if(0===rt.length||"keydown"!==xt&&"keyup"!==xt)return null;const tn=fe._normalizeKey(rt.pop());let sn="",En=rt.indexOf("code");if(En>-1&&(rt.splice(En,1),sn="code."),Te.forEach(nr=>{const Zn=rt.indexOf(nr);Zn>-1&&(rt.splice(Zn,1),sn+=nr+".")}),sn+=tn,0!=rt.length||0===tn.length)return null;const Un={};return Un.domEventName=xt,Un.fullKey=sn,Un}static matchEventFullKeyCode(xe,rt){let xt=ee[xe.key]||xe.key,tn="";return rt.indexOf("code.")>-1&&(xt=xe.code,tn="code."),!(null==xt||!xt)&&(xt=xt.toLowerCase()," "===xt?xt="space":"."===xt&&(xt="dot"),Te.forEach(sn=>{sn!==xt&&(0,Q[sn])(xe)&&(tn+=sn+".")}),tn+=xt,tn===rt)}static eventCallback(xe,rt,xt){return tn=>{fe.matchEventFullKeyCode(tn,xe)&&xt.runGuarded(()=>rt(tn))}}static _normalizeKey(xe){return"esc"===xe?"escape":xe}}return(De=fe).\u0275fac=function(xe){return new(xe||De)(n.LFG(s.DOCUMENT))},De.\u0275prov=n.Yz7({token:De,factory:De.\u0275fac}),fe})();const ut=(0,n.eFA)(n._c5,"browser",[{provide:n.Lbi,useValue:s.\u0275PLATFORM_BROWSER_ID},{provide:n.g9A,useValue:function vt(){v.makeCurrent()},multi:!0},{provide:s.DOCUMENT,useFactory:function lt(){return(0,n.RDi)(document),document},deps:[]}]),ne=new n.OlP(""),y=[{provide:n.rWj,useClass:class p{addToWindow(fe){n.dqk.getAngularTestability=(xe,rt=!0)=>{const xt=fe.findTestabilityInTree(xe,rt);if(null==xt)throw new n.vHH(5103,!1);return xt},n.dqk.getAllAngularTestabilities=()=>fe.getAllTestabilities(),n.dqk.getAllAngularRootElements=()=>fe.getAllRootElements(),n.dqk.frameworkStabilizers||(n.dqk.frameworkStabilizers=[]),n.dqk.frameworkStabilizers.push(xe=>{const rt=n.dqk.getAllAngularTestabilities();let xt=rt.length,tn=!1;const sn=function(En){tn=tn||En,xt--,0==xt&&xe(tn)};rt.forEach(En=>{En.whenStable(sn)})})}findTestabilityInTree(fe,He,xe){return null==He?null:fe.getTestability(He)??(xe?(0,s.\u0275getDOM)().isShadowRoot(He)?this.findTestabilityInTree(fe,He.host,!0):this.findTestabilityInTree(fe,He.parentElement,!0):null)}},deps:[]},{provide:n.lri,useClass:n.dDg,deps:[n.R0b,n.eoX,n.rWj]},{provide:n.dDg,useClass:n.dDg,deps:[n.R0b,n.eoX,n.rWj]}],ae=[{provide:n.zSh,useValue:"root"},{provide:n.qLn,useFactory:function Pt(){return new n.qLn},deps:[]},{provide:a,useClass:We,multi:!0,deps:[s.DOCUMENT,n.R0b,n.Lbi]},{provide:a,useClass:me,multi:!0,deps:[s.DOCUMENT]},P,M,u,{provide:n.FYo,useExisting:P},{provide:s.XhrFactory,useClass:D,deps:[]},[]];let w=(()=>{var De;class fe{constructor(xe){}static withServerTransition(xe){return{ngModule:fe,providers:[{provide:n.AFp,useValue:xe.appId}]}}}return(De=fe).\u0275fac=function(xe){return new(xe||De)(n.LFG(ne,12))},De.\u0275mod=n.oAB({type:De}),De.\u0275inj=n.cJS({providers:[...ae,...y],imports:[s.CommonModule,n.hGG]}),fe})(),Je=(()=>{var De;class fe{constructor(xe){this._doc=xe,this._dom=(0,s.\u0275getDOM)()}addTag(xe,rt=!1){return xe?this._getOrCreateElement(xe,rt):null}addTags(xe,rt=!1){return xe?xe.reduce((xt,tn)=>(tn&&xt.push(this._getOrCreateElement(tn,rt)),xt),[]):[]}getTag(xe){return xe&&this._doc.querySelector(`meta[${xe}]`)||null}getTags(xe){if(!xe)return[];const rt=this._doc.querySelectorAll(`meta[${xe}]`);return rt?[].slice.call(rt):[]}updateTag(xe,rt){if(!xe)return null;rt=rt||this._parseSelector(xe);const xt=this.getTag(rt);return xt?this._setMetaElementAttributes(xe,xt):this._getOrCreateElement(xe,!0)}removeTag(xe){this.removeTagElement(this.getTag(xe))}removeTagElement(xe){xe&&this._dom.remove(xe)}_getOrCreateElement(xe,rt=!1){if(!rt){const sn=this._parseSelector(xe),En=this.getTags(sn).filter(Un=>this._containsAttributes(xe,Un))[0];if(void 0!==En)return En}const xt=this._dom.createElement("meta");return this._setMetaElementAttributes(xe,xt),this._doc.getElementsByTagName("head")[0].appendChild(xt),xt}_setMetaElementAttributes(xe,rt){return Object.keys(xe).forEach(xt=>rt.setAttribute(this._getMetaKeyMap(xt),xe[xt])),rt}_parseSelector(xe){const rt=xe.name?"name":"property";return`${rt}="${xe[rt]}"`}_containsAttributes(xe,rt){return Object.keys(xe).every(xt=>rt.getAttribute(this._getMetaKeyMap(xt))===xe[xt])}_getMetaKeyMap(xe){return St[xe]||xe}}return(De=fe).\u0275fac=function(xe){return new(xe||De)(n.LFG(s.DOCUMENT))},De.\u0275prov=n.Yz7({token:De,factory:function(xe){let rt=null;return rt=xe?new xe:function Fe(){return new Je((0,n.LFG)(s.DOCUMENT))}(),rt},providedIn:"root"}),fe})();const St={httpEquiv:"http-equiv"};let Wt=(()=>{var De;class fe{constructor(xe){this._doc=xe}getTitle(){return this._doc.title}setTitle(xe){this._doc.title=xe||""}}return(De=fe).\u0275fac=function(xe){return new(xe||De)(n.LFG(s.DOCUMENT))},De.\u0275prov=n.Yz7({token:De,factory:function(xe){let rt=null;return rt=xe?new xe:function gt(){return new Wt((0,n.LFG)(s.DOCUMENT))}(),rt},providedIn:"root"}),fe})();const ye=typeof window<"u"&&window||{};class st{constructor(fe,He){this.msPerTick=fe,this.numTicks=He}}class we{constructor(fe){this.appRef=fe.injector.get(n.z2F)}timeChangeDetection(fe){const He=fe&&fe.record,xe="Change Detection",rt=null!=ye.console.profile;He&&rt&&ye.console.profile(xe);const xt=$e();let tn=0;for(;tn<5||$e()-xt<500;)this.appRef.tick(),tn++;const sn=$e();He&&rt&&ye.console.profileEnd(xe);const En=(sn-xt)/tn;return ye.console.log(`ran ${tn} change detection cycles`),ye.console.log(`${En.toFixed(2)} ms per check`),new st(En,tn)}}function $e(){return ye.performance&&ye.performance.now?ye.performance.now():(new Date).getTime()}const Ye="profiler";function At(De){return function ft(De,fe){(typeof COMPILED>"u"||!COMPILED)&&((n.dqk.ng=n.dqk.ng||{})[De]=fe)}(Ye,new we(De)),De}const Ut={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0,doubletap:!0},wt=new n.OlP("HammerGestureConfig"),rn=new n.OlP("HammerLoader");let Ke=(()=>{var De;class fe{constructor(){this.events=[],this.overrides={}}buildHammer(xe){const rt=new Hammer(xe,this.options);rt.get("pinch").set({enable:!0}),rt.get("rotate").set({enable:!0});for(const xt in this.overrides)rt.get(xt).set(this.overrides[xt]);return rt}}return(De=fe).\u0275fac=function(xe){return new(xe||De)},De.\u0275prov=n.Yz7({token:De,factory:De.\u0275fac}),fe})(),pn=(()=>{var De;class fe extends E{constructor(xe,rt,xt,tn){super(xe),this._config=rt,this.console=xt,this.loader=tn,this._loaderPromise=null}supports(xe){return!(!Ut.hasOwnProperty(xe.toLowerCase())&&!this.isCustomEvent(xe)||!window.Hammer&&!this.loader)}addEventListener(xe,rt,xt){const tn=this.manager.getZone();if(rt=rt.toLowerCase(),!window.Hammer&&this.loader){this._loaderPromise=this._loaderPromise||tn.runOutsideAngular(()=>this.loader());let sn=!1,En=()=>{sn=!0};return tn.runOutsideAngular(()=>this._loaderPromise.then(()=>{window.Hammer?sn||(En=this.addEventListener(xe,rt,xt)):En=()=>{}}).catch(()=>{En=()=>{}})),()=>{En()}}return tn.runOutsideAngular(()=>{const sn=this._config.buildHammer(xe),En=function(Un){tn.runGuarded(function(){xt(Un)})};return sn.on(rt,En),()=>{sn.off(rt,En),"function"==typeof sn.destroy&&sn.destroy()}})}isCustomEvent(xe){return this._config.events.indexOf(xe)>-1}}return(De=fe).\u0275fac=function(xe){return new(xe||De)(n.LFG(s.DOCUMENT),n.LFG(wt),n.LFG(n.c2e),n.LFG(rn,8))},De.\u0275prov=n.Yz7({token:De,factory:De.\u0275fac}),fe})(),Rt=(()=>{var De;class fe{}return(De=fe).\u0275fac=function(xe){return new(xe||De)},De.\u0275mod=n.oAB({type:De}),De.\u0275inj=n.cJS({providers:[{provide:a,useClass:pn,multi:!0,deps:[s.DOCUMENT,wt,n.c2e,[new n.FiY,rn]]},{provide:wt,useClass:Ke,deps:[]}]}),fe})(),Xe=(()=>{var De;class fe{}return(De=fe).\u0275fac=function(xe){return new(xe||De)},De.\u0275prov=n.Yz7({token:De,factory:function(xe){let rt=null;return rt=xe?new(xe||De):n.LFG(Ce),rt},providedIn:"root"}),fe})(),Ce=(()=>{var De;class fe extends Xe{constructor(xe){super(),this._doc=xe}sanitize(xe,rt){if(null==rt)return null;switch(xe){case n.q3G.NONE:return rt;case n.q3G.HTML:return(0,n.qzn)(rt,"HTML")?(0,n.z3N)(rt):(0,n.EiD)(this._doc,String(rt)).toString();case n.q3G.STYLE:return(0,n.qzn)(rt,"Style")?(0,n.z3N)(rt):rt;case n.q3G.SCRIPT:if((0,n.qzn)(rt,"Script"))return(0,n.z3N)(rt);throw new n.vHH(5200,!1);case n.q3G.URL:return(0,n.qzn)(rt,"URL")?(0,n.z3N)(rt):(0,n.mCW)(String(rt));case n.q3G.RESOURCE_URL:if((0,n.qzn)(rt,"ResourceURL"))return(0,n.z3N)(rt);throw new n.vHH(5201,!1);default:throw new n.vHH(5202,!1)}}bypassSecurityTrustHtml(xe){return(0,n.JVY)(xe)}bypassSecurityTrustStyle(xe){return(0,n.L6k)(xe)}bypassSecurityTrustScript(xe){return(0,n.eBb)(xe)}bypassSecurityTrustUrl(xe){return(0,n.LAX)(xe)}bypassSecurityTrustResourceUrl(xe){return(0,n.pB0)(xe)}}return(De=fe).\u0275fac=function(xe){return new(xe||De)(n.LFG(s.DOCUMENT))},De.\u0275prov=n.Yz7({token:De,factory:function(xe){let rt=null;return rt=xe?new xe:function ve(De){return new Ce(De.get(s.DOCUMENT))}(n.LFG(n.zs3)),rt},providedIn:"root"}),fe})();function ot(){return function Re(De,fe=[],He={}){return{\u0275kind:De,\u0275providers:fe}}(0)}function Ze(...De){const fe=[],He=new Set,xe=He.has(1);for(const{\u0275providers:rt,\u0275kind:xt}of De)He.add(xt),rt.length&&fe.push(rt);return(0,n.MR2)([[],(0,n.EGt)(),He.has(0)||xe?[]:(0,c.dh)({}),fe])}},55096:(_e,R,r)=>{"use strict";r.d(R,{gz:()=>Gn,sz:()=>wt,c9:()=>bn,gk:()=>jt,m2:()=>mn,Q3:()=>Rn,OD:()=>Lt,wN:()=>wr,F0:()=>Yr,rH:()=>Dr,Od:()=>gr,Bz:()=>ir,lC:()=>jr,R9:()=>Ln,bq:()=>At,Hx:()=>Ut,lo:()=>$e});var n=r(77533),s=r(47228),c=r(15973),h=r(12494),v=r(67728),_=r(63673),m=r(21297),b=r(65517),p=r(68313),D=r(60008),a=r(54505),u=r(92769),E=r(8910),T=r(9739),M=r(97889),B=r(14565),N=r(97478),W=r(28419),A=r(49804),X=r(30018),U=r(36305),O=r(99798),k=r(57495),I=r(62340),F=r(60110),P=r(26682),H=r(17878),$=r(16803),J=r(52938),V=r(83972);function le(G){return G<=0?()=>u.E:(0,J.e)((Y,re)=>{let Z=[];Y.subscribe((0,V.x)(re,ue=>{Z.push(ue),G<Z.length&&Z.shift()},()=>{for(const ue of Z)re.next(ue);re.complete()},void 0,()=>{Z=null}))})}var ge=r(96601),te=r(86190),Te=r(97560),ee=r(96839),Q=r(62776),me=r(25167),pe=r(17601),se=r(45781);const Me="primary",ct=Symbol("RouteTitle");class vt{constructor(Y){this.params=Y||{}}has(Y){return Object.prototype.hasOwnProperty.call(this.params,Y)}get(Y){if(this.has(Y)){const re=this.params[Y];return Array.isArray(re)?re[0]:re}return null}getAll(Y){if(this.has(Y)){const re=this.params[Y];return Array.isArray(re)?re:[re]}return[]}get keys(){return Object.keys(this.params)}}function Pt(G){return new vt(G)}function lt(G,Y,re){const Z=re.path.split("/");if(Z.length>G.length||"full"===re.pathMatch&&(Y.hasChildren()||Z.length<G.length))return null;const ue={};for(let Be=0;Be<Z.length;Be++){const ze=Z[Be],Dt=G[Be];if(ze.startsWith(":"))ue[ze.substring(1)]=Dt;else if(ze!==Dt.path)return null}return{consumed:G.slice(0,Z.length),posParams:ue}}function ut(G,Y){const re=G?ne(G):void 0,Z=Y?ne(Y):void 0;if(!re||!Z||re.length!=Z.length)return!1;let ue;for(let Be=0;Be<re.length;Be++)if(ue=re[Be],!y(G[ue],Y[ue]))return!1;return!0}function ne(G){return[...Object.keys(G),...Object.getOwnPropertySymbols(G)]}function y(G,Y){if(Array.isArray(G)&&Array.isArray(Y)){if(G.length!==Y.length)return!1;const re=[...G].sort(),Z=[...Y].sort();return re.every((ue,Be)=>Z[Be]===ue)}return G===Y}function ae(G){return G.length>0?G[G.length-1]:null}function w(G){return(0,s.b)(G)?G:(0,n.QGY)(G)?(0,c.D)(Promise.resolve(G)):(0,h.of)(G)}const Fe={exact:function Wt(G,Y,re){if(!it(G.segments,Y.segments)||!we(G.segments,Y.segments,re)||G.numberOfChildren!==Y.numberOfChildren)return!1;for(const Z in Y.children)if(!G.children[Z]||!Wt(G.children[Z],Y.children[Z],re))return!1;return!0},subset:ye},Je={exact:function gt(G,Y){return ut(G,Y)},subset:function ft(G,Y){return Object.keys(Y).length<=Object.keys(G).length&&Object.keys(Y).every(re=>y(G[re],Y[re]))},ignored:()=>!0};function St(G,Y,re){return Fe[re.paths](G.root,Y.root,re.matrixParams)&&Je[re.queryParams](G.queryParams,Y.queryParams)&&!("exact"===re.fragment&&G.fragment!==Y.fragment)}function ye(G,Y,re){return st(G,Y,Y.segments,re)}function st(G,Y,re,Z){if(G.segments.length>re.length){const ue=G.segments.slice(0,re.length);return!(!it(ue,re)||Y.hasChildren()||!we(ue,re,Z))}if(G.segments.length===re.length){if(!it(G.segments,re)||!we(G.segments,re,Z))return!1;for(const ue in Y.children)if(!G.children[ue]||!ye(G.children[ue],Y.children[ue],Z))return!1;return!0}{const ue=re.slice(0,G.segments.length),Be=re.slice(G.segments.length);return!!(it(G.segments,ue)&&we(G.segments,ue,Z)&&G.children[Me])&&st(G.children[Me],Y,Be,Z)}}function we(G,Y,re){return Y.every((Z,ue)=>Je[re](G[ue].parameters,Z.parameters))}class $e{constructor(Y=new Ye([],{}),re={},Z=null){this.root=Y,this.queryParams=re,this.fragment=Z}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Pt(this.queryParams)),this._queryParamMap}toString(){return rn.serialize(this)}}class Ye{constructor(Y,re){this.segments=Y,this.children=re,this.parent=null,Object.values(re).forEach(Z=>Z.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Ke(this)}}class At{constructor(Y,re){this.path=Y,this.parameters=re}get parameterMap(){return this._parameterMap||(this._parameterMap=Pt(this.parameters)),this._parameterMap}toString(){return Ve(this)}}function it(G,Y){return G.length===Y.length&&G.every((re,Z)=>re.path===Y[Z].path)}let Ut=(()=>{var G;class Y{}return(G=Y).\u0275fac=function(Z){return new(Z||G)},G.\u0275prov=n.Yz7({token:G,factory:()=>new wt,providedIn:"root"}),Y})();class wt{parse(Y){const re=new xt(Y);return new $e(re.parseRootSegment(),re.parseQueryParams(),re.parseFragment())}serialize(Y){const re=`/${pn(Y.root,!0)}`,Z=function Ze(G){const Y=Object.keys(G).map(re=>{const Z=G[re];return Array.isArray(Z)?Z.map(ue=>`${Xe(re)}=${Xe(ue)}`).join("&"):`${Xe(re)}=${Xe(Z)}`}).filter(re=>!!re);return Y.length?`?${Y.join("&")}`:""}(Y.queryParams);return`${re}${Z}${"string"==typeof Y.fragment?`#${function ve(G){return encodeURI(G)}(Y.fragment)}`:""}`}}const rn=new wt;function Ke(G){return G.segments.map(Y=>Ve(Y)).join("/")}function pn(G,Y){if(!G.hasChildren())return Ke(G);if(Y){const re=G.children[Me]?pn(G.children[Me],!1):"",Z=[];return Object.entries(G.children).forEach(([ue,Be])=>{ue!==Me&&Z.push(`${ue}:${pn(Be,!1)}`)}),Z.length>0?`${re}(${Z.join("//")})`:re}{const re=function Kt(G,Y){let re=[];return Object.entries(G.children).forEach(([Z,ue])=>{Z===Me&&(re=re.concat(Y(ue,Z)))}),Object.entries(G.children).forEach(([Z,ue])=>{Z!==Me&&(re=re.concat(Y(ue,Z)))}),re}(G,(Z,ue)=>ue===Me?[pn(G.children[Me],!1)]:[`${ue}:${pn(Z,!1)}`]);return 1===Object.keys(G.children).length&&null!=G.children[Me]?`${Ke(G)}/${re[0]}`:`${Ke(G)}/(${re.join("//")})`}}function Rt(G){return encodeURIComponent(G).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Xe(G){return Rt(G).replace(/%3B/gi,";")}function Ce(G){return Rt(G).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Re(G){return decodeURIComponent(G)}function ot(G){return Re(G.replace(/\+/g,"%20"))}function Ve(G){return`${Ce(G.path)}${function Oe(G){return Object.keys(G).map(Y=>`;${Ce(Y)}=${Ce(G[Y])}`).join("")}(G.parameters)}`}const Ge=/^[^\/()?;#]+/;function Pe(G){const Y=G.match(Ge);return Y?Y[0]:""}const Ue=/^[^\/()?;=#]+/,fe=/^[^=?&#]+/,xe=/^[^&#]+/;class xt{constructor(Y){this.url=Y,this.remaining=Y}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Ye([],{}):new Ye([],this.parseChildren())}parseQueryParams(){const Y={};if(this.consumeOptional("?"))do{this.parseQueryParam(Y)}while(this.consumeOptional("&"));return Y}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const Y=[];for(this.peekStartsWith("(")||Y.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),Y.push(this.parseSegment());let re={};this.peekStartsWith("/(")&&(this.capture("/"),re=this.parseParens(!0));let Z={};return this.peekStartsWith("(")&&(Z=this.parseParens(!1)),(Y.length>0||Object.keys(re).length>0)&&(Z[Me]=new Ye(Y,re)),Z}parseSegment(){const Y=Pe(this.remaining);if(""===Y&&this.peekStartsWith(";"))throw new n.vHH(4009,!1);return this.capture(Y),new At(Re(Y),this.parseMatrixParams())}parseMatrixParams(){const Y={};for(;this.consumeOptional(";");)this.parseParam(Y);return Y}parseParam(Y){const re=function De(G){const Y=G.match(Ue);return Y?Y[0]:""}(this.remaining);if(!re)return;this.capture(re);let Z="";if(this.consumeOptional("=")){const ue=Pe(this.remaining);ue&&(Z=ue,this.capture(Z))}Y[Re(re)]=Re(Z)}parseQueryParam(Y){const re=function He(G){const Y=G.match(fe);return Y?Y[0]:""}(this.remaining);if(!re)return;this.capture(re);let Z="";if(this.consumeOptional("=")){const ze=function rt(G){const Y=G.match(xe);return Y?Y[0]:""}(this.remaining);ze&&(Z=ze,this.capture(Z))}const ue=ot(re),Be=ot(Z);if(Y.hasOwnProperty(ue)){let ze=Y[ue];Array.isArray(ze)||(ze=[ze],Y[ue]=ze),ze.push(Be)}else Y[ue]=Be}parseParens(Y){const re={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const Z=Pe(this.remaining),ue=this.remaining[Z.length];if("/"!==ue&&")"!==ue&&";"!==ue)throw new n.vHH(4010,!1);let Be;Z.indexOf(":")>-1?(Be=Z.slice(0,Z.indexOf(":")),this.capture(Be),this.capture(":")):Y&&(Be=Me);const ze=this.parseChildren();re[Be]=1===Object.keys(ze).length?ze[Me]:new Ye([],ze),this.consumeOptional("//")}return re}peekStartsWith(Y){return this.remaining.startsWith(Y)}consumeOptional(Y){return!!this.peekStartsWith(Y)&&(this.remaining=this.remaining.substring(Y.length),!0)}capture(Y){if(!this.consumeOptional(Y))throw new n.vHH(4011,!1)}}function tn(G){return G.segments.length>0?new Ye([],{[Me]:G}):G}function sn(G){const Y={};for(const Z of Object.keys(G.children)){const Be=sn(G.children[Z]);if(Z===Me&&0===Be.segments.length&&Be.hasChildren())for(const[ze,Dt]of Object.entries(Be.children))Y[ze]=Dt;else(Be.segments.length>0||Be.hasChildren())&&(Y[Z]=Be)}return function En(G){if(1===G.numberOfChildren&&G.children[Me]){const Y=G.children[Me];return new Ye(G.segments.concat(Y.segments),Y.children)}return G}(new Ye(G.segments,Y))}function Un(G){return G instanceof $e}function Zn(G){let Y;const ue=tn(function re(Be){const ze={};for(const Jt of Be.children){const Ht=re(Jt);ze[Jt.outlet]=Ht}const Dt=new Ye(Be.url,ze);return Be===G&&(Y=Dt),Dt}(G.root));return Y??ue}function lr(G,Y,re,Z){let ue=G;for(;ue.parent;)ue=ue.parent;if(0===Y.length)return or(ue,ue,ue,re,Z);const Be=function Fr(G){if("string"==typeof G[0]&&1===G.length&&"/"===G[0])return new gn(!0,0,G);let Y=0,re=!1;const Z=G.reduce((ue,Be,ze)=>{if("object"==typeof Be&&null!=Be){if(Be.outlets){const Dt={};return Object.entries(Be.outlets).forEach(([Jt,Ht])=>{Dt[Jt]="string"==typeof Ht?Ht.split("/"):Ht}),[...ue,{outlets:Dt}]}if(Be.segmentPath)return[...ue,Be.segmentPath]}return"string"!=typeof Be?[...ue,Be]:0===ze?(Be.split("/").forEach((Dt,Jt)=>{0==Jt&&"."===Dt||(0==Jt&&""===Dt?re=!0:".."===Dt?Y++:""!=Dt&&ue.push(Dt))}),ue):[...ue,Be]},[]);return new gn(re,Y,Z)}(Y);if(Be.toRoot())return or(ue,ue,new Ye([],{}),re,Z);const ze=function Cr(G,Y,re){if(G.isAbsolute)return new Ar(Y,!0,0);if(!re)return new Ar(Y,!1,NaN);if(null===re.parent)return new Ar(re,!0,0);const Z=Jn(G.commands[0])?0:1;return function Sr(G,Y,re){let Z=G,ue=Y,Be=re;for(;Be>ue;){if(Be-=ue,Z=Z.parent,!Z)throw new n.vHH(4005,!1);ue=Z.segments.length}return new Ar(Z,!1,ue-Be)}(re,re.segments.length-1+Z,G.numberOfDoubleDots)}(Be,ue,G),Dt=ze.processChildren?_t(ze.segmentGroup,ze.index,Be.commands):Lr(ze.segmentGroup,ze.index,Be.commands);return or(ue,ze.segmentGroup,Dt,re,Z)}function Jn(G){return"object"==typeof G&&null!=G&&!G.outlets&&!G.segmentPath}function er(G){return"object"==typeof G&&null!=G&&G.outlets}function or(G,Y,re,Z,ue){let ze,Be={};Z&&Object.entries(Z).forEach(([Jt,Ht])=>{Be[Jt]=Array.isArray(Ht)?Ht.map(Fn=>`${Fn}`):`${Ht}`}),ze=G===Y?re:Wn(G,Y,re);const Dt=tn(sn(ze));return new $e(Dt,Be,ue)}function Wn(G,Y,re){const Z={};return Object.entries(G.children).forEach(([ue,Be])=>{Z[ue]=Be===Y?re:Wn(Be,Y,re)}),new Ye(G.segments,Z)}class gn{constructor(Y,re,Z){if(this.isAbsolute=Y,this.numberOfDoubleDots=re,this.commands=Z,Y&&Z.length>0&&Jn(Z[0]))throw new n.vHH(4003,!1);const ue=Z.find(er);if(ue&&ue!==ae(Z))throw new n.vHH(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Ar{constructor(Y,re,Z){this.segmentGroup=Y,this.processChildren=re,this.index=Z}}function Lr(G,Y,re){if(G||(G=new Ye([],{})),0===G.segments.length&&G.hasChildren())return _t(G,Y,re);const Z=function et(G,Y,re){let Z=0,ue=Y;const Be={match:!1,pathIndex:0,commandIndex:0};for(;ue<G.segments.length;){if(Z>=re.length)return Be;const ze=G.segments[ue],Dt=re[Z];if(er(Dt))break;const Jt=`${Dt}`,Ht=Z<re.length-1?re[Z+1]:null;if(ue>0&&void 0===Jt)break;if(Jt&&Ht&&"object"==typeof Ht&&void 0===Ht.outlets){if(!Bt(Jt,Ht,ze))return Be;Z+=2}else{if(!Bt(Jt,{},ze))return Be;Z++}ue++}return{match:!0,pathIndex:ue,commandIndex:Z}}(G,Y,re),ue=re.slice(Z.commandIndex);if(Z.match&&Z.pathIndex<G.segments.length){const Be=new Ye(G.segments.slice(0,Z.pathIndex),{});return Be.children[Me]=new Ye(G.segments.slice(Z.pathIndex),G.children),_t(Be,0,ue)}return Z.match&&0===ue.length?new Ye(G.segments,{}):Z.match&&!G.hasChildren()?Mt(G,Y,re):Z.match?_t(G,0,ue):Mt(G,Y,re)}function _t(G,Y,re){if(0===re.length)return new Ye(G.segments,{});{const Z=function Mn(G){return er(G[0])?G[0].outlets:{[Me]:G}}(re),ue={};if(Object.keys(Z).some(Be=>Be!==Me)&&G.children[Me]&&1===G.numberOfChildren&&0===G.children[Me].segments.length){const Be=_t(G.children[Me],Y,re);return new Ye(G.segments,Be.children)}return Object.entries(Z).forEach(([Be,ze])=>{"string"==typeof ze&&(ze=[ze]),null!==ze&&(ue[Be]=Lr(G.children[Be],Y,ze))}),Object.entries(G.children).forEach(([Be,ze])=>{void 0===Z[Be]&&(ue[Be]=ze)}),new Ye(G.segments,ue)}}function Mt(G,Y,re){const Z=G.segments.slice(0,Y);let ue=0;for(;ue<re.length;){const Be=re[ue];if(er(Be)){const Jt=Ct(Be.outlets);return new Ye(Z,Jt)}if(0===ue&&Jn(re[0])){Z.push(new At(G.segments[Y].path,Vt(re[0]))),ue++;continue}const ze=er(Be)?Be.outlets[Me]:`${Be}`,Dt=ue<re.length-1?re[ue+1]:null;ze&&Dt&&Jn(Dt)?(Z.push(new At(ze,Vt(Dt))),ue+=2):(Z.push(new At(ze,{})),ue++)}return new Ye(Z,{})}function Ct(G){const Y={};return Object.entries(G).forEach(([re,Z])=>{"string"==typeof Z&&(Z=[Z]),null!==Z&&(Y[re]=Mt(new Ye([],{}),0,Z))}),Y}function Vt(G){const Y={};return Object.entries(G).forEach(([re,Z])=>Y[re]=`${Z}`),Y}function Bt(G,Y,re){return G==re.path&&ut(Y,re.parameters)}const on="imperative";class Qt{constructor(Y,re){this.id=Y,this.url=re}}class Lt extends Qt{constructor(Y,re,Z="imperative",ue=null){super(Y,re),this.type=0,this.navigationTrigger=Z,this.restoredState=ue}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class mn extends Qt{constructor(Y,re,Z){super(Y,re),this.urlAfterRedirects=Z,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class jt extends Qt{constructor(Y,re,Z,ue){super(Y,re),this.reason=Z,this.code=ue,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Vn extends Qt{constructor(Y,re,Z,ue){super(Y,re),this.reason=Z,this.code=ue,this.type=16}}class Rn extends Qt{constructor(Y,re,Z,ue){super(Y,re),this.error=Z,this.target=ue,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Ln extends Qt{constructor(Y,re,Z,ue){super(Y,re),this.urlAfterRedirects=Z,this.state=ue,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class An extends Qt{constructor(Y,re,Z,ue){super(Y,re),this.urlAfterRedirects=Z,this.state=ue,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class bn extends Qt{constructor(Y,re,Z,ue,Be){super(Y,re),this.urlAfterRedirects=Z,this.state=ue,this.shouldActivate=Be,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class _n extends Qt{constructor(Y,re,Z,ue){super(Y,re),this.urlAfterRedirects=Z,this.state=ue,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class zn extends Qt{constructor(Y,re,Z,ue){super(Y,re),this.urlAfterRedirects=Z,this.state=ue,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class dr{constructor(Y){this.route=Y,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class an{constructor(Y){this.route=Y,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Yt{constructor(Y){this.snapshot=Y,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class hr{constructor(Y){this.snapshot=Y,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Mr{constructor(Y){this.snapshot=Y,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class It{constructor(Y){this.snapshot=Y,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ln{constructor(Y,re,Z){this.routerEvent=Y,this.position=re,this.anchor=Z,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Pn{}class pr{constructor(Y){this.url=Y}}class Ir{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new Xn,this.attachRef=null}}let Xn=(()=>{var G;class Y{constructor(){this.contexts=new Map}onChildOutletCreated(Z,ue){const Be=this.getOrCreateContext(Z);Be.outlet=ue,this.contexts.set(Z,Be)}onChildOutletDestroyed(Z){const ue=this.getContext(Z);ue&&(ue.outlet=null,ue.attachRef=null)}onOutletDeactivated(){const Z=this.contexts;return this.contexts=new Map,Z}onOutletReAttached(Z){this.contexts=Z}getOrCreateContext(Z){let ue=this.getContext(Z);return ue||(ue=new Ir,this.contexts.set(Z,ue)),ue}getContext(Z){return this.contexts.get(Z)||null}}return(G=Y).\u0275fac=function(Z){return new(Z||G)},G.\u0275prov=n.Yz7({token:G,factory:G.\u0275fac,providedIn:"root"}),Y})();class je{constructor(Y){this._root=Y}get root(){return this._root.value}parent(Y){const re=this.pathFromRoot(Y);return re.length>1?re[re.length-2]:null}children(Y){const re=bt(Y,this._root);return re?re.children.map(Z=>Z.value):[]}firstChild(Y){const re=bt(Y,this._root);return re&&re.children.length>0?re.children[0].value:null}siblings(Y){const re=Ot(Y,this._root);return re.length<2?[]:re[re.length-2].children.map(ue=>ue.value).filter(ue=>ue!==Y)}pathFromRoot(Y){return Ot(Y,this._root).map(re=>re.value)}}function bt(G,Y){if(G===Y.value)return Y;for(const re of Y.children){const Z=bt(G,re);if(Z)return Z}return null}function Ot(G,Y){if(G===Y.value)return[Y];for(const re of Y.children){const Z=Ot(G,re);if(Z.length)return Z.unshift(Y),Z}return[]}class ht{constructor(Y,re){this.value=Y,this.children=re}toString(){return`TreeNode(${this.value})`}}function Gt(G){const Y={};return G&&G.children.forEach(re=>Y[re.value.outlet]=re),Y}class en extends je{constructor(Y,re){super(Y),this.snapshot=re,vn(this,Y)}toString(){return this.snapshot.toString()}}function Tn(G,Y){const re=function qn(G,Y){const ze=new at([],{},{},"",{},Me,Y,null,{});return new nn("",new ht(ze,[]))}(0,Y),Z=new v.X([new At("",{})]),ue=new v.X({}),Be=new v.X({}),ze=new v.X({}),Dt=new v.X(""),Jt=new Gn(Z,ue,ze,Dt,Be,Me,Y,re.root);return Jt.snapshot=re.root,new en(new ht(Jt,[]),re)}class Gn{constructor(Y,re,Z,ue,Be,ze,Dt,Jt){this.urlSubject=Y,this.paramsSubject=re,this.queryParamsSubject=Z,this.fragmentSubject=ue,this.dataSubject=Be,this.outlet=ze,this.component=Dt,this._futureSnapshot=Jt,this.title=this.dataSubject?.pipe((0,N.U)(Ht=>Ht[ct]))??(0,h.of)(void 0),this.url=Y,this.params=re,this.queryParams=Z,this.fragment=ue,this.data=Be}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,N.U)(Y=>Pt(Y)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,N.U)(Y=>Pt(Y)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Ee(G,Y,re="emptyOnly"){let Z;const{routeConfig:ue}=G;return Z=null===Y||"always"!==re&&""!==ue?.path&&(Y.component||Y.routeConfig?.loadComponent)?{params:G.params,data:G.data,resolve:{...G.data,...G._resolvedData??{}}}:{params:{...Y.params,...G.params},data:{...Y.data,...G.data},resolve:{...G.data,...Y.data,...ue?.data,...G._resolvedData}},ue&&ni(ue)&&(Z.resolve[ct]=ue.title),Z}class at{get title(){return this.data?.[ct]}constructor(Y,re,Z,ue,Be,ze,Dt,Jt,Ht){this.url=Y,this.params=re,this.queryParams=Z,this.fragment=ue,this.data=Be,this.outlet=ze,this.component=Dt,this.routeConfig=Jt,this._resolve=Ht}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=Pt(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Pt(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(Z=>Z.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class nn extends je{constructor(Y,re){super(re),this.url=Y,vn(this,re)}toString(){return jn(this._root)}}function vn(G,Y){Y.value._routerState=G,Y.children.forEach(re=>vn(G,re))}function jn(G){const Y=G.children.length>0?` { ${G.children.map(jn).join(", ")} } `:"";return`${G.value}${Y}`}function In(G){if(G.snapshot){const Y=G.snapshot,re=G._futureSnapshot;G.snapshot=re,ut(Y.queryParams,re.queryParams)||G.queryParamsSubject.next(re.queryParams),Y.fragment!==re.fragment&&G.fragmentSubject.next(re.fragment),ut(Y.params,re.params)||G.paramsSubject.next(re.params),function tt(G,Y){if(G.length!==Y.length)return!1;for(let re=0;re<G.length;++re)if(!ut(G[re],Y[re]))return!1;return!0}(Y.url,re.url)||G.urlSubject.next(re.url),ut(Y.data,re.data)||G.dataSubject.next(re.data)}else G.snapshot=G._futureSnapshot,G.dataSubject.next(G._futureSnapshot.data)}function Qn(G,Y){const re=ut(G.params,Y.params)&&function qe(G,Y){return it(G,Y)&&G.every((re,Z)=>ut(re.parameters,Y[Z].parameters))}(G.url,Y.url);return re&&!(!G.parent!=!Y.parent)&&(!G.parent||Qn(G.parent,Y.parent))}function ni(G){return"string"==typeof G.title||null===G.title}let jr=(()=>{var G;class Y{constructor(){this.activated=null,this._activatedRoute=null,this.name=Me,this.activateEvents=new n.vpe,this.deactivateEvents=new n.vpe,this.attachEvents=new n.vpe,this.detachEvents=new n.vpe,this.parentContexts=(0,n.f3M)(Xn),this.location=(0,n.f3M)(n.s_b),this.changeDetector=(0,n.f3M)(n.sBO),this.environmentInjector=(0,n.f3M)(n.lqb),this.inputBinder=(0,n.f3M)(Kr,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(Z){if(Z.name){const{firstChange:ue,previousValue:Be}=Z.name;if(ue)return;this.isTrackedInParentContexts(Be)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(Be)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(Z){return this.parentContexts.getContext(Z)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const Z=this.parentContexts.getContext(this.name);Z?.route&&(Z.attachRef?this.attach(Z.attachRef,Z.route):this.activateWith(Z.route,Z.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new n.vHH(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new n.vHH(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new n.vHH(4012,!1);this.location.detach();const Z=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(Z.instance),Z}attach(Z,ue){this.activated=Z,this._activatedRoute=ue,this.location.insert(Z.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(Z.instance)}deactivate(){if(this.activated){const Z=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(Z)}}activateWith(Z,ue){if(this.isActivated)throw new n.vHH(4013,!1);this._activatedRoute=Z;const Be=this.location,Dt=Z.snapshot.component,Jt=this.parentContexts.getOrCreateContext(this.name).children,Ht=new no(Z,Jt,Be.injector);this.activated=Be.createComponent(Dt,{index:Be.length,injector:Ht,environmentInjector:ue??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}}return(G=Y).\u0275fac=function(Z){return new(Z||G)},G.\u0275dir=n.lG2({type:G,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[n.TTD]}),Y})();class no{constructor(Y,re,Z){this.route=Y,this.childContexts=re,this.parent=Z}get(Y,re){return Y===Gn?this.route:Y===Xn?this.childContexts:this.parent.get(Y,re)}}const Kr=new n.OlP("");let ki=(()=>{var G;class Y{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(Z){this.unsubscribeFromRouteData(Z),this.subscribeToRouteData(Z)}unsubscribeFromRouteData(Z){this.outletDataSubscriptions.get(Z)?.unsubscribe(),this.outletDataSubscriptions.delete(Z)}subscribeToRouteData(Z){const{activatedRoute:ue}=Z,Be=(0,_.a)([ue.queryParams,ue.params,ue.data]).pipe((0,W.w)(([ze,Dt,Jt],Ht)=>(Jt={...ze,...Dt,...Jt},0===Ht?(0,h.of)(Jt):Promise.resolve(Jt)))).subscribe(ze=>{if(!Z.isActivated||!Z.activatedComponentRef||Z.activatedRoute!==ue||null===ue.component)return void this.unsubscribeFromRouteData(Z);const Dt=(0,n.qFp)(ue.component);if(Dt)for(const{templateName:Jt}of Dt.inputs)Z.activatedComponentRef.setInput(Jt,ze[Jt]);else this.unsubscribeFromRouteData(Z)});this.outletDataSubscriptions.set(Z,Be)}}return(G=Y).\u0275fac=function(Z){return new(Z||G)},G.\u0275prov=n.Yz7({token:G,factory:G.\u0275fac}),Y})();function Xr(G,Y,re){if(re&&G.shouldReuseRoute(Y.value,re.value.snapshot)){const Z=re.value;Z._futureSnapshot=Y.value;const ue=function vi(G,Y,re){return Y.children.map(Z=>{for(const ue of re.children)if(G.shouldReuseRoute(Z.value,ue.value.snapshot))return Xr(G,Z,ue);return Xr(G,Z)})}(G,Y,re);return new ht(Z,ue)}{if(G.shouldAttach(Y.value)){const Be=G.retrieve(Y.value);if(null!==Be){const ze=Be.route;return ze.value._futureSnapshot=Y.value,ze.children=Y.children.map(Dt=>Xr(G,Dt)),ze}}const Z=function Hr(G){return new Gn(new v.X(G.url),new v.X(G.params),new v.X(G.queryParams),new v.X(G.fragment),new v.X(G.data),G.outlet,G.component,G)}(Y.value),ue=Y.children.map(Be=>Xr(G,Be));return new ht(Z,ue)}}const Kn="ngNavigationCancelingError";function Ri(G,Y){const{redirectTo:re,navigationBehaviorOptions:Z}=Un(Y)?{redirectTo:Y,navigationBehaviorOptions:void 0}:Y,ue=yi(!1,0,Y);return ue.url=re,ue.navigationBehaviorOptions=Z,ue}function yi(G,Y,re){const Z=new Error("NavigationCancelingError: "+(G||""));return Z[Kn]=!0,Z.cancellationCode=Y,re&&(Z.url=re),Z}function Hi(G){return G&&G[Kn]}let ci=(()=>{var G;class Y{}return(G=Y).\u0275fac=function(Z){return new(Z||G)},G.\u0275cmp=n.Xpm({type:G,selectors:[["ng-component"]],standalone:!0,features:[n.jDz],decls:1,vars:0,template:function(Z,ue){1&Z&&n._UZ(0,"router-outlet")},dependencies:[jr],encapsulation:2}),Y})();function bi(G){const Y=G.children&&G.children.map(bi),re=Y?{...G,children:Y}:{...G};return!re.component&&!re.loadComponent&&(Y||re.loadChildren)&&re.outlet&&re.outlet!==Me&&(re.component=ci),re}function Ur(G){return G.outlet||Me}function Ei(G){if(!G)return null;if(G.routeConfig?._injector)return G.routeConfig._injector;for(let Y=G.parent;Y;Y=Y.parent){const re=Y.routeConfig;if(re?._loadedInjector)return re._loadedInjector;if(re?._injector)return re._injector}return null}class Fi{constructor(Y,re,Z,ue,Be){this.routeReuseStrategy=Y,this.futureState=re,this.currState=Z,this.forwardEvent=ue,this.inputBindingEnabled=Be}activate(Y){const re=this.futureState._root,Z=this.currState?this.currState._root:null;this.deactivateChildRoutes(re,Z,Y),In(this.futureState.root),this.activateChildRoutes(re,Z,Y)}deactivateChildRoutes(Y,re,Z){const ue=Gt(re);Y.children.forEach(Be=>{const ze=Be.value.outlet;this.deactivateRoutes(Be,ue[ze],Z),delete ue[ze]}),Object.values(ue).forEach(Be=>{this.deactivateRouteAndItsChildren(Be,Z)})}deactivateRoutes(Y,re,Z){const ue=Y.value,Be=re?re.value:null;if(ue===Be)if(ue.component){const ze=Z.getContext(ue.outlet);ze&&this.deactivateChildRoutes(Y,re,ze.children)}else this.deactivateChildRoutes(Y,re,Z);else Be&&this.deactivateRouteAndItsChildren(re,Z)}deactivateRouteAndItsChildren(Y,re){Y.value.component&&this.routeReuseStrategy.shouldDetach(Y.value.snapshot)?this.detachAndStoreRouteSubtree(Y,re):this.deactivateRouteAndOutlet(Y,re)}detachAndStoreRouteSubtree(Y,re){const Z=re.getContext(Y.value.outlet),ue=Z&&Y.value.component?Z.children:re,Be=Gt(Y);for(const ze of Object.keys(Be))this.deactivateRouteAndItsChildren(Be[ze],ue);if(Z&&Z.outlet){const ze=Z.outlet.detach(),Dt=Z.children.onOutletDeactivated();this.routeReuseStrategy.store(Y.value.snapshot,{componentRef:ze,route:Y,contexts:Dt})}}deactivateRouteAndOutlet(Y,re){const Z=re.getContext(Y.value.outlet),ue=Z&&Y.value.component?Z.children:re,Be=Gt(Y);for(const ze of Object.keys(Be))this.deactivateRouteAndItsChildren(Be[ze],ue);Z&&(Z.outlet&&(Z.outlet.deactivate(),Z.children.onOutletDeactivated()),Z.attachRef=null,Z.route=null)}activateChildRoutes(Y,re,Z){const ue=Gt(re);Y.children.forEach(Be=>{this.activateRoutes(Be,ue[Be.value.outlet],Z),this.forwardEvent(new It(Be.value.snapshot))}),Y.children.length&&this.forwardEvent(new hr(Y.value.snapshot))}activateRoutes(Y,re,Z){const ue=Y.value,Be=re?re.value:null;if(In(ue),ue===Be)if(ue.component){const ze=Z.getOrCreateContext(ue.outlet);this.activateChildRoutes(Y,re,ze.children)}else this.activateChildRoutes(Y,re,Z);else if(ue.component){const ze=Z.getOrCreateContext(ue.outlet);if(this.routeReuseStrategy.shouldAttach(ue.snapshot)){const Dt=this.routeReuseStrategy.retrieve(ue.snapshot);this.routeReuseStrategy.store(ue.snapshot,null),ze.children.onOutletReAttached(Dt.contexts),ze.attachRef=Dt.componentRef,ze.route=Dt.route.value,ze.outlet&&ze.outlet.attach(Dt.componentRef,Dt.route.value),In(Dt.route.value),this.activateChildRoutes(Y,null,ze.children)}else{const Dt=Ei(ue.snapshot);ze.attachRef=null,ze.route=ue,ze.injector=Dt,ze.outlet&&ze.outlet.activateWith(ue,ze.injector),this.activateChildRoutes(Y,null,ze.children)}}else this.activateChildRoutes(Y,null,Z)}}class Li{constructor(Y){this.path=Y,this.route=this.path[this.path.length-1]}}class Ci{constructor(Y,re){this.component=Y,this.route=re}}function go(G,Y,re){const Z=G._root;return fi(Z,Y?Y._root:null,re,[Z.value])}function hi(G,Y){const re=Symbol(),Z=Y.get(G,re);return Z===re?"function"!=typeof G||(0,n.Z0I)(G)?Y.get(G):G:Z}function fi(G,Y,re,Z,ue={canDeactivateChecks:[],canActivateChecks:[]}){const Be=Gt(Y);return G.children.forEach(ze=>{(function oo(G,Y,re,Z,ue={canDeactivateChecks:[],canActivateChecks:[]}){const Be=G.value,ze=Y?Y.value:null,Dt=re?re.getContext(G.value.outlet):null;if(ze&&Be.routeConfig===ze.routeConfig){const Jt=function Yi(G,Y,re){if("function"==typeof re)return re(G,Y);switch(re){case"pathParamsChange":return!it(G.url,Y.url);case"pathParamsOrQueryParamsChange":return!it(G.url,Y.url)||!ut(G.queryParams,Y.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Qn(G,Y)||!ut(G.queryParams,Y.queryParams);default:return!Qn(G,Y)}}(ze,Be,Be.routeConfig.runGuardsAndResolvers);Jt?ue.canActivateChecks.push(new Li(Z)):(Be.data=ze.data,Be._resolvedData=ze._resolvedData),fi(G,Y,Be.component?Dt?Dt.children:null:re,Z,ue),Jt&&Dt&&Dt.outlet&&Dt.outlet.isActivated&&ue.canDeactivateChecks.push(new Ci(Dt.outlet.component,ze))}else ze&&he(Y,Dt,ue),ue.canActivateChecks.push(new Li(Z)),fi(G,null,Be.component?Dt?Dt.children:null:re,Z,ue)})(ze,Be[ze.value.outlet],re,Z.concat([ze.value]),ue),delete Be[ze.value.outlet]}),Object.entries(Be).forEach(([ze,Dt])=>he(Dt,re.getContext(ze),ue)),ue}function he(G,Y,re){const Z=Gt(G),ue=G.value;Object.entries(Z).forEach(([Be,ze])=>{he(ze,ue.component?Y?Y.children.getContext(Be):null:Y,re)}),re.canDeactivateChecks.push(new Ci(ue.component&&Y&&Y.outlet&&Y.outlet.isActivated?Y.outlet.component:null,ue))}function Ae(G){return"function"==typeof G}function Nn(G){return G instanceof m.K||"EmptyError"===G?.name}const Nt=Symbol("INITIAL_VALUE");function Xt(){return(0,W.w)(G=>(0,_.a)(G.map(Y=>Y.pipe((0,A.q)(1),(0,X.O)(Nt)))).pipe((0,N.U)(Y=>{for(const re of Y)if(!0!==re){if(re===Nt)return Nt;if(!1===re||re instanceof $e)return re}return!0}),(0,U.h)(Y=>Y!==Nt),(0,A.q)(1)))}function fr(G){return(0,D.z)((0,F.b)(Y=>{if(Un(Y))throw Ri(0,Y)}),(0,N.U)(Y=>!0===Y))}class Or{constructor(Y){this.segmentGroup=Y||null}}class rr extends Error{constructor(Y){super(),this.urlTree=Y}}function Br(G){return(0,a._)(new Or(G))}class $o{constructor(Y,re){this.urlSerializer=Y,this.urlTree=re}noMatchError(Y){return new n.vHH(4002,!1)}lineralizeSegments(Y,re){let Z=[],ue=re.root;for(;;){if(Z=Z.concat(ue.segments),0===ue.numberOfChildren)return(0,h.of)(Z);if(ue.numberOfChildren>1||!ue.children[Me])return(0,a._)(new n.vHH(4e3,!1));ue=ue.children[Me]}}applyRedirectCommands(Y,re,Z){const ue=this.applyRedirectCreateUrlTree(re,this.urlSerializer.parse(re),Y,Z);if(re.startsWith("/"))throw new rr(ue);return ue}applyRedirectCreateUrlTree(Y,re,Z,ue){const Be=this.createSegmentGroup(Y,re.root,Z,ue);return new $e(Be,this.createQueryParams(re.queryParams,this.urlTree.queryParams),re.fragment)}createQueryParams(Y,re){const Z={};return Object.entries(Y).forEach(([ue,Be])=>{if("string"==typeof Be&&Be.startsWith(":")){const Dt=Be.substring(1);Z[ue]=re[Dt]}else Z[ue]=Be}),Z}createSegmentGroup(Y,re,Z,ue){const Be=this.createSegments(Y,re.segments,Z,ue);let ze={};return Object.entries(re.children).forEach(([Dt,Jt])=>{ze[Dt]=this.createSegmentGroup(Y,Jt,Z,ue)}),new Ye(Be,ze)}createSegments(Y,re,Z,ue){return re.map(Be=>Be.path.startsWith(":")?this.findPosParam(Y,Be,ue):this.findOrReturn(Be,Z))}findPosParam(Y,re,Z){const ue=Z[re.path.substring(1)];if(!ue)throw new n.vHH(4001,!1);return ue}findOrReturn(Y,re){let Z=0;for(const ue of re){if(ue.path===Y.path)return re.splice(Z),ue;Z++}return Y}}const _i={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function mo(G,Y,re,Z,ue){const Be=Di(G,Y,re);return Be.matched?(Z=function Gi(G,Y){return G.providers&&!G._injector&&(G._injector=(0,n.MMx)(G.providers,Y,`Route: ${G.path}`)),G._injector??Y}(Y,Z),function Si(G,Y,re,Z){const ue=Y.canMatch;if(!ue||0===ue.length)return(0,h.of)(!0);const Be=ue.map(ze=>{const Dt=hi(ze,G);return w(function $t(G){return G&&Ae(G.canMatch)}(Dt)?Dt.canMatch(Y,re):(0,n.r_H)(G,()=>Dt(Y,re)))});return(0,h.of)(Be).pipe(Xt(),fr())}(Z,Y,re).pipe((0,N.U)(ze=>!0===ze?Be:{..._i}))):(0,h.of)(Be)}function Di(G,Y,re){if("**"===Y.path)return function kn(G){return{matched:!0,parameters:G.length>0?ae(G).parameters:{},consumedSegments:G,remainingSegments:[],positionalParamSegments:{}}}(re);if(""===Y.path)return"full"===Y.pathMatch&&(G.hasChildren()||re.length>0)?{..._i}:{matched:!0,consumedSegments:[],remainingSegments:re,parameters:{},positionalParamSegments:{}};const ue=(Y.matcher||lt)(re,G,Y);if(!ue)return{..._i};const Be={};Object.entries(ue.posParams??{}).forEach(([Dt,Jt])=>{Be[Dt]=Jt.path});const ze=ue.consumed.length>0?{...Be,...ue.consumed[ue.consumed.length-1].parameters}:Be;return{matched:!0,consumedSegments:ue.consumed,remainingSegments:re.slice(ue.consumed.length),parameters:ze,positionalParamSegments:ue.posParams??{}}}function Xi(G,Y,re,Z){return re.length>0&&function No(G,Y,re){return re.some(Z=>_r(G,Y,Z)&&Ur(Z)!==Me)}(G,re,Z)?{segmentGroup:new Ye(Y,Mi(Z,new Ye(re,G.children))),slicedSegments:[]}:0===re.length&&function _o(G,Y,re){return re.some(Z=>_r(G,Y,Z))}(G,re,Z)?{segmentGroup:new Ye(G.segments,vo(G,0,re,Z,G.children)),slicedSegments:re}:{segmentGroup:new Ye(G.segments,G.children),slicedSegments:re}}function vo(G,Y,re,Z,ue){const Be={};for(const ze of Z)if(_r(G,re,ze)&&!ue[Ur(ze)]){const Dt=new Ye([],{});Be[Ur(ze)]=Dt}return{...ue,...Be}}function Mi(G,Y){const re={};re[Me]=Y;for(const Z of G)if(""===Z.path&&Ur(Z)!==Me){const ue=new Ye([],{});re[Ur(Z)]=ue}return re}function _r(G,Y,re){return(!(G.hasChildren()||Y.length>0)||"full"!==re.pathMatch)&&""===re.path}class Nr{}class Mo{constructor(Y,re,Z,ue,Be,ze,Dt){this.injector=Y,this.configLoader=re,this.rootComponentType=Z,this.config=ue,this.urlTree=Be,this.paramsInheritanceStrategy=ze,this.urlSerializer=Dt,this.applyRedirects=new $o(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(Y){return new n.vHH(4002,!1)}recognize(){const Y=Xi(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(Y).pipe((0,N.U)(re=>{const Z=new at([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},Me,this.rootComponentType,null,{}),ue=new ht(Z,re),Be=new nn("",ue),ze=function nr(G,Y,re=null,Z=null){return lr(Zn(G),Y,re,Z)}(Z,[],this.urlTree.queryParams,this.urlTree.fragment);return ze.queryParams=this.urlTree.queryParams,Be.url=this.urlSerializer.serialize(ze),this.inheritParamsAndData(Be._root,null),{state:Be,tree:ze}}))}match(Y){return this.processSegmentGroup(this.injector,this.config,Y,Me).pipe((0,P.K)(Z=>{if(Z instanceof rr)return this.urlTree=Z.urlTree,this.match(Z.urlTree.root);throw Z instanceof Or?this.noMatchError(Z):Z}))}inheritParamsAndData(Y,re){const Z=Y.value,ue=Ee(Z,re,this.paramsInheritanceStrategy);Z.params=Object.freeze(ue.params),Z.data=Object.freeze(ue.data),Y.children.forEach(Be=>this.inheritParamsAndData(Be,Z))}processSegmentGroup(Y,re,Z,ue){return 0===Z.segments.length&&Z.hasChildren()?this.processChildren(Y,re,Z):this.processSegment(Y,re,Z,Z.segments,ue,!0).pipe((0,N.U)(Be=>Be instanceof ht?[Be]:[]))}processChildren(Y,re,Z){const ue=[];for(const Be of Object.keys(Z.children))"primary"===Be?ue.unshift(Be):ue.push(Be);return(0,c.D)(ue).pipe((0,I.b)(Be=>{const ze=Z.children[Be],Dt=function Vi(G,Y){const re=G.filter(Z=>Ur(Z)===Y);return re.push(...G.filter(Z=>Ur(Z)!==Y)),re}(re,Be);return this.processSegmentGroup(Y,Dt,ze,Be)}),(0,H.R)((Be,ze)=>(Be.push(...ze),Be)),(0,$.d)(null),function We(G,Y){const re=arguments.length>=2;return Z=>Z.pipe(G?(0,U.h)((ue,Be)=>G(ue,Be,Z)):te.y,le(1),re?(0,$.d)(Y):(0,ge.T)(()=>new m.K))}(),(0,O.z)(Be=>{if(null===Be)return Br(Z);const ze=fs(Be);return function gi(G){G.sort((Y,re)=>Y.value.outlet===Me?-1:re.value.outlet===Me?1:Y.value.outlet.localeCompare(re.value.outlet))}(ze),(0,h.of)(ze)}))}processSegment(Y,re,Z,ue,Be,ze){return(0,c.D)(re).pipe((0,I.b)(Dt=>this.processSegmentAgainstRoute(Dt._injector??Y,re,Dt,Z,ue,Be,ze).pipe((0,P.K)(Jt=>{if(Jt instanceof Or)return(0,h.of)(null);throw Jt}))),(0,k.P)(Dt=>!!Dt),(0,P.K)(Dt=>{if(Nn(Dt))return function Wr(G,Y,re){return 0===Y.length&&!G.children[re]}(Z,ue,Be)?(0,h.of)(new Nr):Br(Z);throw Dt}))}processSegmentAgainstRoute(Y,re,Z,ue,Be,ze,Dt){return function yo(G,Y,re,Z){return!!(Ur(G)===Z||Z!==Me&&_r(Y,re,G))&&Di(Y,G,re).matched}(Z,ue,Be,ze)?void 0===Z.redirectTo?this.matchSegmentAgainstRoute(Y,ue,Z,Be,ze):this.allowRedirects&&Dt?this.expandSegmentAgainstRouteUsingRedirect(Y,ue,re,Z,Be,ze):Br(ue):Br(ue)}expandSegmentAgainstRouteUsingRedirect(Y,re,Z,ue,Be,ze){const{matched:Dt,consumedSegments:Jt,positionalParamSegments:Ht,remainingSegments:Fn}=Di(re,ue,Be);if(!Dt)return Br(re);ue.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const sr=this.applyRedirects.applyRedirectCommands(Jt,ue.redirectTo,Ht);return this.applyRedirects.lineralizeSegments(ue,sr).pipe((0,O.z)(tr=>this.processSegment(Y,Z,re,tr.concat(Fn),ze,!1)))}matchSegmentAgainstRoute(Y,re,Z,ue,Be){const ze=mo(re,Z,ue,Y);return"**"===Z.path&&(re.children={}),ze.pipe((0,W.w)(Dt=>Dt.matched?this.getChildConfig(Y=Z._injector??Y,Z,ue).pipe((0,W.w)(({routes:Jt})=>{const Ht=Z._loadedInjector??Y,{consumedSegments:Fn,remainingSegments:sr,parameters:tr}=Dt,Rr=new at(Fn,tr,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,function Xo(G){return G.data||{}}(Z),Ur(Z),Z.component??Z._loadedComponent??null,Z,function gs(G){return G.resolve||{}}(Z)),{segmentGroup:es,slicedSegments:ts}=Xi(re,Fn,sr,Jt);if(0===ts.length&&es.hasChildren())return this.processChildren(Ht,Jt,es).pipe((0,N.U)(Oo=>null===Oo?null:new ht(Rr,Oo)));if(0===Jt.length&&0===ts.length)return(0,h.of)(new ht(Rr,[]));const xs=Ur(Z)===Be;return this.processSegment(Ht,Jt,es,ts,xs?Me:Be,!0).pipe((0,N.U)(Oo=>new ht(Rr,Oo instanceof ht?[Oo]:[])))})):Br(re)))}getChildConfig(Y,re,Z){return re.children?(0,h.of)({routes:re.children,injector:Y}):re.loadChildren?void 0!==re._loadedRoutes?(0,h.of)({routes:re._loadedRoutes,injector:re._loadedInjector}):function fn(G,Y,re,Z){const ue=Y.canLoad;if(void 0===ue||0===ue.length)return(0,h.of)(!0);const Be=ue.map(ze=>{const Dt=hi(ze,G);return w(function oe(G){return G&&Ae(G.canLoad)}(Dt)?Dt.canLoad(Y,re):(0,n.r_H)(G,()=>Dt(Y,re)))});return(0,h.of)(Be).pipe(Xt(),fr())}(Y,re,Z).pipe((0,O.z)(ue=>ue?this.configLoader.loadChildren(Y,re).pipe((0,F.b)(Be=>{re._loadedRoutes=Be.routes,re._loadedInjector=Be.injector})):function po(G){return(0,a._)(yi(!1,3))}())):(0,h.of)({routes:[],injector:Y})}}function Zo(G){const Y=G.value.routeConfig;return Y&&""===Y.path}function fs(G){const Y=[],re=new Set;for(const Z of G){if(!Zo(Z)){Y.push(Z);continue}const ue=Y.find(Be=>Z.value.routeConfig===Be.value.routeConfig);void 0!==ue?(ue.children.push(...Z.children),re.add(ue)):Y.push(Z)}for(const Z of re){const ue=fs(Z.children);Y.push(new ht(Z.value,ue))}return Y.filter(Z=>!re.has(Z))}function ko(G){const Y=G.children.map(re=>ko(re)).flat();return[G,...Y]}function f(G){return(0,W.w)(Y=>{const re=G(Y);return re?(0,c.D)(re).pipe((0,N.U)(()=>Y)):(0,h.of)(Y)})}let C=(()=>{var G;class Y{buildTitle(Z){let ue,Be=Z.root;for(;void 0!==Be;)ue=this.getResolvedTitleForRoute(Be)??ue,Be=Be.children.find(ze=>ze.outlet===Me);return ue}getResolvedTitleForRoute(Z){return Z.data[ct]}}return(G=Y).\u0275fac=function(Z){return new(Z||G)},G.\u0275prov=n.Yz7({token:G,factory:()=>(0,n.f3M)(L),providedIn:"root"}),Y})(),L=(()=>{var G;class Y extends C{constructor(Z){super(),this.title=Z}updateTitle(Z){const ue=this.buildTitle(Z);void 0!==ue&&this.title.setTitle(ue)}}return(G=Y).\u0275fac=function(Z){return new(Z||G)(n.LFG(se.Dx))},G.\u0275prov=n.Yz7({token:G,factory:G.\u0275fac,providedIn:"root"}),Y})();const g=new n.OlP("",{providedIn:"root",factory:()=>({})}),z=new n.OlP("ROUTES");let K=(()=>{var G;class Y{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,n.f3M)(n.Sil)}loadComponent(Z){if(this.componentLoaders.get(Z))return this.componentLoaders.get(Z);if(Z._loadedComponent)return(0,h.of)(Z._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(Z);const ue=w(Z.loadComponent()).pipe((0,N.U)(zt),(0,F.b)(ze=>{this.onLoadEndListener&&this.onLoadEndListener(Z),Z._loadedComponent=ze}),(0,ee.x)(()=>{this.componentLoaders.delete(Z)})),Be=new E.c(ue,()=>new T.x).pipe((0,Q.x)());return this.componentLoaders.set(Z,Be),Be}loadChildren(Z,ue){if(this.childrenLoaders.get(ue))return this.childrenLoaders.get(ue);if(ue._loadedRoutes)return(0,h.of)({routes:ue._loadedRoutes,injector:ue._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(ue);const ze=function nt(G,Y,re,Z){return w(G.loadChildren()).pipe((0,N.U)(zt),(0,O.z)(ue=>ue instanceof n.YKP||Array.isArray(ue)?(0,h.of)(ue):(0,c.D)(Y.compileModuleAsync(ue))),(0,N.U)(ue=>{Z&&Z(G);let Be,ze,Dt=!1;return Array.isArray(ue)?(ze=ue,!0):(Be=ue.create(re).injector,ze=Be.get(z,[],{optional:!0,self:!0}).flat()),{routes:ze.map(bi),injector:Be}}))}(ue,this.compiler,Z,this.onLoadEndListener).pipe((0,ee.x)(()=>{this.childrenLoaders.delete(ue)})),Dt=new E.c(ze,()=>new T.x).pipe((0,Q.x)());return this.childrenLoaders.set(ue,Dt),Dt}}return(G=Y).\u0275fac=function(Z){return new(Z||G)},G.\u0275prov=n.Yz7({token:G,factory:G.\u0275fac,providedIn:"root"}),Y})();function zt(G){return function yt(G){return G&&"object"==typeof G&&"default"in G}(G)?G.default:G}let cn=(()=>{var G;class Y{}return(G=Y).\u0275fac=function(Z){return new(Z||G)},G.\u0275prov=n.Yz7({token:G,factory:()=>(0,n.f3M)(yn),providedIn:"root"}),Y})(),yn=(()=>{var G;class Y{shouldProcessUrl(Z){return!0}extract(Z){return Z}merge(Z,ue){return Z}}return(G=Y).\u0275fac=function(Z){return new(Z||G)},G.\u0275prov=n.Yz7({token:G,factory:G.\u0275fac,providedIn:"root"}),Y})();const Cn=new n.OlP(""),Sn=new n.OlP("");function On(G,Y,re){const Z=G.get(Sn),ue=G.get(B.DOCUMENT);return G.get(n.R0b).runOutsideAngular(()=>{if(!ue.startViewTransition||Z.skipNextTransition)return Z.skipNextTransition=!1,Promise.resolve();let Be;const ze=new Promise(Ht=>{Be=Ht}),Dt=ue.startViewTransition(()=>(Be(),function $n(G){return new Promise(Y=>{(0,n.T8G)(Y,{injector:G})})}(G))),{onViewTransitionCreated:Jt}=Z;return Jt&&(0,n.r_H)(G,()=>Jt({transition:Dt,from:Y,to:re})),ze})}let mr=(()=>{var G;class Y{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new T.x,this.transitionAbortSubject=new T.x,this.configLoader=(0,n.f3M)(K),this.environmentInjector=(0,n.f3M)(n.lqb),this.urlSerializer=(0,n.f3M)(Ut),this.rootContexts=(0,n.f3M)(Xn),this.location=(0,n.f3M)(B.Location),this.inputBindingEnabled=null!==(0,n.f3M)(Kr,{optional:!0}),this.titleStrategy=(0,n.f3M)(C),this.options=(0,n.f3M)(g,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=(0,n.f3M)(cn),this.createViewTransition=(0,n.f3M)(Cn,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,h.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=Be=>this.events.next(new an(Be)),this.configLoader.onLoadStartListener=Be=>this.events.next(new dr(Be))}complete(){this.transitions?.complete()}handleNavigationRequest(Z){const ue=++this.navigationId;this.transitions?.next({...this.transitions.value,...Z,id:ue})}setupNavigations(Z,ue,Be){return this.transitions=new v.X({id:0,currentUrlTree:ue,currentRawUrl:ue,extractedUrl:this.urlHandlingStrategy.extract(ue),urlAfterRedirects:this.urlHandlingStrategy.extract(ue),rawUrl:ue,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:on,restoredState:null,currentSnapshot:Be.snapshot,targetSnapshot:null,currentRouterState:Be,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,U.h)(ze=>0!==ze.id),(0,N.U)(ze=>({...ze,extractedUrl:this.urlHandlingStrategy.extract(ze.rawUrl)})),(0,W.w)(ze=>{this.currentTransition=ze;let Dt=!1,Jt=!1;return(0,h.of)(ze).pipe((0,F.b)(Ht=>{this.currentNavigation={id:Ht.id,initialUrl:Ht.rawUrl,extractedUrl:Ht.extractedUrl,trigger:Ht.source,extras:Ht.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,W.w)(Ht=>{const Fn=!Z.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!Fn&&"reload"!==(Ht.extras.onSameUrlNavigation??Z.onSameUrlNavigation)){const tr="";return this.events.next(new Vn(Ht.id,this.urlSerializer.serialize(Ht.rawUrl),tr,0)),Ht.resolve(null),u.E}if(this.urlHandlingStrategy.shouldProcessUrl(Ht.rawUrl))return(0,h.of)(Ht).pipe((0,W.w)(tr=>{const Rr=this.transitions?.getValue();return this.events.next(new Lt(tr.id,this.urlSerializer.serialize(tr.extractedUrl),tr.source,tr.restoredState)),Rr!==this.transitions?.getValue()?u.E:Promise.resolve(tr)}),function Rs(G,Y,re,Z,ue,Be){return(0,O.z)(ze=>function Yo(G,Y,re,Z,ue,Be,ze="emptyOnly"){return new Mo(G,Y,re,Z,ue,ze,Be).recognize()}(G,Y,re,Z,ze.extractedUrl,ue,Be).pipe((0,N.U)(({state:Dt,tree:Jt})=>({...ze,targetSnapshot:Dt,urlAfterRedirects:Jt}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,Z.config,this.urlSerializer,this.paramsInheritanceStrategy),(0,F.b)(tr=>{ze.targetSnapshot=tr.targetSnapshot,ze.urlAfterRedirects=tr.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:tr.urlAfterRedirects};const Rr=new Ln(tr.id,this.urlSerializer.serialize(tr.extractedUrl),this.urlSerializer.serialize(tr.urlAfterRedirects),tr.targetSnapshot);this.events.next(Rr)}));if(Fn&&this.urlHandlingStrategy.shouldProcessUrl(Ht.currentRawUrl)){const{id:tr,extractedUrl:Rr,source:es,restoredState:ts,extras:xs}=Ht,Oo=new Lt(tr,this.urlSerializer.serialize(Rr),es,ts);this.events.next(Oo);const xa=Tn(0,this.rootComponentType).snapshot;return this.currentTransition=ze={...Ht,targetSnapshot:xa,urlAfterRedirects:Rr,extras:{...xs,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=Rr,(0,h.of)(ze)}{const tr="";return this.events.next(new Vn(Ht.id,this.urlSerializer.serialize(Ht.extractedUrl),tr,1)),Ht.resolve(null),u.E}}),(0,F.b)(Ht=>{const Fn=new An(Ht.id,this.urlSerializer.serialize(Ht.extractedUrl),this.urlSerializer.serialize(Ht.urlAfterRedirects),Ht.targetSnapshot);this.events.next(Fn)}),(0,N.U)(Ht=>(this.currentTransition=ze={...Ht,guards:go(Ht.targetSnapshot,Ht.currentSnapshot,this.rootContexts)},ze)),function wn(G,Y){return(0,O.z)(re=>{const{targetSnapshot:Z,currentSnapshot:ue,guards:{canActivateChecks:Be,canDeactivateChecks:ze}}=re;return 0===ze.length&&0===Be.length?(0,h.of)({...re,guardsResult:!0}):function ce(G,Y,re,Z){return(0,c.D)(G).pipe((0,O.z)(ue=>function hn(G,Y,re,Z,ue){const Be=Y&&Y.routeConfig?Y.routeConfig.canDeactivate:null;if(!Be||0===Be.length)return(0,h.of)(!0);const ze=Be.map(Dt=>{const Jt=Ei(Y)??ue,Ht=hi(Dt,Jt);return w(function Tt(G){return G&&Ae(G.canDeactivate)}(Ht)?Ht.canDeactivate(G,Y,re,Z):(0,n.r_H)(Jt,()=>Ht(G,Y,re,Z))).pipe((0,k.P)())});return(0,h.of)(ze).pipe(Xt())}(ue.component,ue.route,re,Y,Z)),(0,k.P)(ue=>!0!==ue,!0))}(ze,Z,ue,G).pipe((0,O.z)(Dt=>Dt&&function Qe(G){return"boolean"==typeof G}(Dt)?function ie(G,Y,re,Z){return(0,c.D)(Y).pipe((0,I.b)(ue=>(0,b.z)(function q(G,Y){return null!==G&&Y&&Y(new Yt(G)),(0,h.of)(!0)}(ue.route.parent,Z),function Le(G,Y){return null!==G&&Y&&Y(new Mr(G)),(0,h.of)(!0)}(ue.route,Z),function Et(G,Y,re){const Z=Y[Y.length-1],Be=Y.slice(0,Y.length-1).reverse().map(ze=>function io(G){const Y=G.routeConfig?G.routeConfig.canActivateChild:null;return Y&&0!==Y.length?{node:G,guards:Y}:null}(ze)).filter(ze=>null!==ze).map(ze=>(0,p.P)(()=>{const Dt=ze.guards.map(Jt=>{const Ht=Ei(ze.node)??re,Fn=hi(Jt,Ht);return w(function pt(G){return G&&Ae(G.canActivateChild)}(Fn)?Fn.canActivateChild(Z,G):(0,n.r_H)(Ht,()=>Fn(Z,G))).pipe((0,k.P)())});return(0,h.of)(Dt).pipe(Xt())}));return(0,h.of)(Be).pipe(Xt())}(G,ue.path,re),function Ie(G,Y,re){const Z=Y.routeConfig?Y.routeConfig.canActivate:null;if(!Z||0===Z.length)return(0,h.of)(!0);const ue=Z.map(Be=>(0,p.P)(()=>{const ze=Ei(Y)??re,Dt=hi(Be,ze);return w(function Ne(G){return G&&Ae(G.canActivate)}(Dt)?Dt.canActivate(Y,G):(0,n.r_H)(ze,()=>Dt(Y,G))).pipe((0,k.P)())}));return(0,h.of)(ue).pipe(Xt())}(G,ue.route,re))),(0,k.P)(ue=>!0!==ue,!0))}(Z,Be,G,Y):(0,h.of)(Dt)),(0,N.U)(Dt=>({...re,guardsResult:Dt})))})}(this.environmentInjector,Ht=>this.events.next(Ht)),(0,F.b)(Ht=>{if(ze.guardsResult=Ht.guardsResult,Un(Ht.guardsResult))throw Ri(0,Ht.guardsResult);const Fn=new bn(Ht.id,this.urlSerializer.serialize(Ht.extractedUrl),this.urlSerializer.serialize(Ht.urlAfterRedirects),Ht.targetSnapshot,!!Ht.guardsResult);this.events.next(Fn)}),(0,U.h)(Ht=>!!Ht.guardsResult||(this.cancelNavigationTransition(Ht,"",3),!1)),f(Ht=>{if(Ht.guards.canActivateChecks.length)return(0,h.of)(Ht).pipe((0,F.b)(Fn=>{const sr=new _n(Fn.id,this.urlSerializer.serialize(Fn.extractedUrl),this.urlSerializer.serialize(Fn.urlAfterRedirects),Fn.targetSnapshot);this.events.next(sr)}),(0,W.w)(Fn=>{let sr=!1;return(0,h.of)(Fn).pipe(function Qo(G,Y){return(0,O.z)(re=>{const{targetSnapshot:Z,guards:{canActivateChecks:ue}}=re;if(!ue.length)return(0,h.of)(re);const Be=new Set(ue.map(Jt=>Jt.route)),ze=new Set;for(const Jt of Be)if(!ze.has(Jt))for(const Ht of ko(Jt))ze.add(Ht);let Dt=0;return(0,c.D)(ze).pipe((0,I.b)(Jt=>Be.has(Jt)?function Oa(G,Y,re,Z){const ue=G.routeConfig,Be=G._resolve;return void 0!==ue?.title&&!ni(ue)&&(Be[ct]=ue.title),function Ho(G,Y,re,Z){const ue=ne(G);if(0===ue.length)return(0,h.of)({});const Be={};return(0,c.D)(ue).pipe((0,O.z)(ze=>function be(G,Y,re,Z){const ue=Ei(Y)??Z,Be=hi(G,ue);return w(Be.resolve?Be.resolve(Y,re):(0,n.r_H)(ue,()=>Be(Y,re)))}(G[ze],Y,re,Z).pipe((0,k.P)(),(0,F.b)(Dt=>{Be[ze]=Dt}))),le(1),(0,Te.h)(Be),(0,P.K)(ze=>Nn(ze)?u.E:(0,a._)(ze)))}(Be,G,Y,Z).pipe((0,N.U)(ze=>(G._resolvedData=ze,G.data=Ee(G,G.parent,re).resolve,null)))}(Jt,Z,G,Y):(Jt.data=Ee(Jt,Jt.parent,G).resolve,(0,h.of)(void 0))),(0,F.b)(()=>Dt++),le(1),(0,O.z)(Jt=>Dt===ze.size?(0,h.of)(re):u.E))})}(this.paramsInheritanceStrategy,this.environmentInjector),(0,F.b)({next:()=>sr=!0,complete:()=>{sr||this.cancelNavigationTransition(Fn,"",2)}}))}),(0,F.b)(Fn=>{const sr=new zn(Fn.id,this.urlSerializer.serialize(Fn.extractedUrl),this.urlSerializer.serialize(Fn.urlAfterRedirects),Fn.targetSnapshot);this.events.next(sr)}))}),f(Ht=>{const Fn=sr=>{const tr=[];sr.routeConfig?.loadComponent&&!sr.routeConfig._loadedComponent&&tr.push(this.configLoader.loadComponent(sr.routeConfig).pipe((0,F.b)(Rr=>{sr.component=Rr}),(0,N.U)(()=>{})));for(const Rr of sr.children)tr.push(...Fn(Rr));return tr};return(0,_.a)(Fn(Ht.targetSnapshot.root)).pipe((0,$.d)(),(0,A.q)(1))}),f(()=>this.afterPreactivation()),(0,W.w)(()=>{const{currentSnapshot:Ht,targetSnapshot:Fn}=ze,sr=this.createViewTransition?.(this.environmentInjector,Ht.root,Fn.root);return sr?(0,c.D)(sr).pipe((0,N.U)(()=>ze)):(0,h.of)(ze)}),(0,N.U)(Ht=>{const Fn=function Pr(G,Y,re){const Z=Xr(G,Y._root,re?re._root:void 0);return new en(Z,Y)}(Z.routeReuseStrategy,Ht.targetSnapshot,Ht.currentRouterState);return this.currentTransition=ze={...Ht,targetRouterState:Fn},this.currentNavigation.targetRouterState=Fn,ze}),(0,F.b)(()=>{this.events.next(new Pn)}),((G,Y,re,Z)=>(0,N.U)(ue=>(new Fi(Y,ue.targetRouterState,ue.currentRouterState,re,Z).activate(G),ue)))(this.rootContexts,Z.routeReuseStrategy,Ht=>this.events.next(Ht),this.inputBindingEnabled),(0,A.q)(1),(0,F.b)({next:Ht=>{Dt=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new mn(Ht.id,this.urlSerializer.serialize(Ht.extractedUrl),this.urlSerializer.serialize(Ht.urlAfterRedirects))),this.titleStrategy?.updateTitle(Ht.targetRouterState.snapshot),Ht.resolve(!0)},complete:()=>{Dt=!0}}),(0,me.R)(this.transitionAbortSubject.pipe((0,F.b)(Ht=>{throw Ht}))),(0,ee.x)(()=>{Dt||Jt||this.cancelNavigationTransition(ze,"",1),this.currentNavigation?.id===ze.id&&(this.currentNavigation=null)}),(0,P.K)(Ht=>{if(Jt=!0,Hi(Ht))this.events.next(new jt(ze.id,this.urlSerializer.serialize(ze.extractedUrl),Ht.message,Ht.cancellationCode)),function xi(G){return Hi(G)&&Un(G.url)}(Ht)?this.events.next(new pr(Ht.url)):ze.resolve(!1);else{this.events.next(new Rn(ze.id,this.urlSerializer.serialize(ze.extractedUrl),Ht,ze.targetSnapshot??void 0));try{ze.resolve(Z.errorHandler(Ht))}catch(Fn){ze.reject(Fn)}}return u.E}))}))}cancelNavigationTransition(Z,ue,Be){const ze=new jt(Z.id,this.urlSerializer.serialize(Z.extractedUrl),ue,Be);this.events.next(ze),Z.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}}return(G=Y).\u0275fac=function(Z){return new(Z||G)},G.\u0275prov=n.Yz7({token:G,factory:G.\u0275fac,providedIn:"root"}),Y})();function yr(G){return G!==on}let wr=(()=>{var G;class Y{}return(G=Y).\u0275fac=function(Z){return new(Z||G)},G.\u0275prov=n.Yz7({token:G,factory:()=>(0,n.f3M)(ii),providedIn:"root"}),Y})();class kr{shouldDetach(Y){return!1}store(Y,re){}shouldAttach(Y){return!1}retrieve(Y){return null}shouldReuseRoute(Y,re){return Y.routeConfig===re.routeConfig}}let ii=(()=>{var G;class Y extends kr{}return(G=Y).\u0275fac=(()=>{let re;return function(ue){return(re||(re=n.n5z(G)))(ue||G)}})(),G.\u0275prov=n.Yz7({token:G,factory:G.\u0275fac,providedIn:"root"}),Y})(),Jr=(()=>{var G;class Y{}return(G=Y).\u0275fac=function(Z){return new(Z||G)},G.\u0275prov=n.Yz7({token:G,factory:()=>(0,n.f3M)(Tr),providedIn:"root"}),Y})(),Tr=(()=>{var G;class Y extends Jr{constructor(){super(...arguments),this.location=(0,n.f3M)(B.Location),this.urlSerializer=(0,n.f3M)(Ut),this.options=(0,n.f3M)(g,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=(0,n.f3M)(cn),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new $e,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=Tn(0,null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(Z){return this.location.subscribe(ue=>{"popstate"===ue.type&&Z(ue.url,ue.state)})}handleRouterEvent(Z,ue){if(Z instanceof Lt)this.stateMemento=this.createStateMemento();else if(Z instanceof Vn)this.rawUrlTree=ue.initialUrl;else if(Z instanceof Ln){if("eager"===this.urlUpdateStrategy&&!ue.extras.skipLocationChange){const Be=this.urlHandlingStrategy.merge(ue.finalUrl,ue.initialUrl);this.setBrowserUrl(Be,ue)}}else Z instanceof Pn?(this.currentUrlTree=ue.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(ue.finalUrl,ue.initialUrl),this.routerState=ue.targetRouterState,"deferred"===this.urlUpdateStrategy&&(ue.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,ue))):Z instanceof jt&&(3===Z.code||2===Z.code)?this.restoreHistory(ue):Z instanceof Rn?this.restoreHistory(ue,!0):Z instanceof mn&&(this.lastSuccessfulId=Z.id,this.currentPageId=this.browserPageId)}setBrowserUrl(Z,ue){const Be=this.urlSerializer.serialize(Z);if(this.location.isCurrentPathEqualTo(Be)||ue.extras.replaceUrl){const Dt={...ue.extras.state,...this.generateNgRouterState(ue.id,this.browserPageId)};this.location.replaceState(Be,"",Dt)}else{const ze={...ue.extras.state,...this.generateNgRouterState(ue.id,this.browserPageId+1)};this.location.go(Be,"",ze)}}restoreHistory(Z,ue=!1){if("computed"===this.canceledNavigationResolution){const ze=this.currentPageId-this.browserPageId;0!==ze?this.location.historyGo(ze):this.currentUrlTree===Z.finalUrl&&0===ze&&(this.resetState(Z),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(ue&&this.resetState(Z),this.resetUrlToCurrentUrlTree())}resetState(Z){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,Z.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(Z,ue){return"computed"===this.canceledNavigationResolution?{navigationId:Z,\u0275routerPageId:ue}:{navigationId:Z}}}return(G=Y).\u0275fac=(()=>{let re;return function(ue){return(re||(re=n.n5z(G)))(ue||G)}})(),G.\u0275prov=n.Yz7({token:G,factory:G.\u0275fac,providedIn:"root"}),Y})();var Vr=function(G){return G[G.COMPLETE=0]="COMPLETE",G[G.FAILED=1]="FAILED",G[G.REDIRECTING=2]="REDIRECTING",G}(Vr||{});function Ii(G,Y){G.events.pipe((0,U.h)(re=>re instanceof mn||re instanceof jt||re instanceof Rn||re instanceof Vn),(0,N.U)(re=>re instanceof mn||re instanceof Vn?Vr.COMPLETE:re instanceof jt&&(0===re.code||1===re.code)?Vr.REDIRECTING:Vr.FAILED),(0,U.h)(re=>re!==Vr.REDIRECTING),(0,A.q)(1)).subscribe(()=>{Y()})}function so(G){throw G}const $r={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Io={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Yr=(()=>{var G;class Y{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.isNgZoneEnabled=!1,this.console=(0,n.f3M)(n.c2e),this.stateManager=(0,n.f3M)(Jr),this.options=(0,n.f3M)(g,{optional:!0})||{},this.pendingTasks=(0,n.f3M)(n.HDt),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=(0,n.f3M)(mr),this.urlSerializer=(0,n.f3M)(Ut),this.location=(0,n.f3M)(B.Location),this.urlHandlingStrategy=(0,n.f3M)(cn),this._events=new T.x,this.errorHandler=this.options.errorHandler||so,this.navigated=!1,this.routeReuseStrategy=(0,n.f3M)(wr),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=(0,n.f3M)(z,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!(0,n.f3M)(Kr,{optional:!0}),this.eventsSubscription=new M.w0,this.isNgZoneEnabled=(0,n.f3M)(n.R0b)instanceof n.R0b&&n.R0b.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:Z=>{this.console.warn(Z)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const Z=this.navigationTransitions.events.subscribe(ue=>{try{const Be=this.navigationTransitions.currentTransition,ze=this.navigationTransitions.currentNavigation;if(null!==Be&&null!==ze)if(this.stateManager.handleRouterEvent(ue,ze),ue instanceof jt&&0!==ue.code&&1!==ue.code)this.navigated=!0;else if(ue instanceof mn)this.navigated=!0;else if(ue instanceof pr){const Dt=this.urlHandlingStrategy.merge(ue.url,Be.currentRawUrl),Jt={skipLocationChange:Be.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||yr(Be.source)};this.scheduleNavigation(Dt,on,null,Jt,{resolve:Be.resolve,reject:Be.reject,promise:Be.promise})}(function Go(G){return!(G instanceof Pn||G instanceof pr)})(ue)&&this._events.next(ue)}catch(Be){this.navigationTransitions.transitionAbortSubject.next(Be)}});this.eventsSubscription.add(Z)}resetRootComponentType(Z){this.routerState.root.component=Z,this.navigationTransitions.rootComponentType=Z}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),on,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription||(this.nonRouterCurrentEntryChangeSubscription=this.stateManager.registerNonRouterCurrentEntryChangeListener((Z,ue)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(Z,"popstate",ue)},0)}))}navigateToSyncWithBrowser(Z,ue,Be){const ze={replaceUrl:!0},Dt=Be?.navigationId?Be:null;if(Be){const Ht={...Be};delete Ht.navigationId,delete Ht.\u0275routerPageId,0!==Object.keys(Ht).length&&(ze.state=Ht)}const Jt=this.parseUrl(Z);this.scheduleNavigation(Jt,ue,Dt,ze)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(Z){this.config=Z.map(bi),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(Z,ue={}){const{relativeTo:Be,queryParams:ze,fragment:Dt,queryParamsHandling:Jt,preserveFragment:Ht}=ue,Fn=Ht?this.currentUrlTree.fragment:Dt;let tr,sr=null;switch(Jt){case"merge":sr={...this.currentUrlTree.queryParams,...ze};break;case"preserve":sr=this.currentUrlTree.queryParams;break;default:sr=ze||null}null!==sr&&(sr=this.removeEmptyProps(sr));try{tr=Zn(Be?Be.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof Z[0]||!Z[0].startsWith("/"))&&(Z=[]),tr=this.currentUrlTree.root}return lr(tr,Z,sr,Fn??null)}navigateByUrl(Z,ue={skipLocationChange:!1}){const Be=Un(Z)?Z:this.parseUrl(Z),ze=this.urlHandlingStrategy.merge(Be,this.rawUrlTree);return this.scheduleNavigation(ze,on,null,ue)}navigate(Z,ue={skipLocationChange:!1}){return function ur(G){for(let Y=0;Y<G.length;Y++)if(null==G[Y])throw new n.vHH(4008,!1)}(Z),this.navigateByUrl(this.createUrlTree(Z,ue),ue)}serializeUrl(Z){return this.urlSerializer.serialize(Z)}parseUrl(Z){try{return this.urlSerializer.parse(Z)}catch{return this.urlSerializer.parse("/")}}isActive(Z,ue){let Be;if(Be=!0===ue?{...$r}:!1===ue?{...Io}:ue,Un(Z))return St(this.currentUrlTree,Z,Be);const ze=this.parseUrl(Z);return St(this.currentUrlTree,ze,Be)}removeEmptyProps(Z){return Object.keys(Z).reduce((ue,Be)=>{const ze=Z[Be];return null!=ze&&(ue[Be]=ze),ue},{})}scheduleNavigation(Z,ue,Be,ze,Dt){if(this.disposed)return Promise.resolve(!1);let Jt,Ht,Fn;Dt?(Jt=Dt.resolve,Ht=Dt.reject,Fn=Dt.promise):Fn=new Promise((tr,Rr)=>{Jt=tr,Ht=Rr});const sr=this.pendingTasks.add();return Ii(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(sr))}),this.navigationTransitions.handleNavigationRequest({source:ue,restoredState:Be,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:Z,extras:ze,resolve:Jt,reject:Ht,promise:Fn,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Fn.catch(tr=>Promise.reject(tr))}}return(G=Y).\u0275fac=function(Z){return new(Z||G)},G.\u0275prov=n.Yz7({token:G,factory:G.\u0275fac,providedIn:"root"}),Y})(),Dr=(()=>{var G;class Y{constructor(Z,ue,Be,ze,Dt,Jt){this.router=Z,this.route=ue,this.tabIndexAttribute=Be,this.renderer=ze,this.el=Dt,this.locationStrategy=Jt,this.href=null,this.commands=null,this.onChanges=new T.x,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const Ht=Dt.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===Ht||"area"===Ht,this.isAnchorElement?this.subscription=Z.events.subscribe(Fn=>{Fn instanceof mn&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(Z){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",Z)}ngOnChanges(Z){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(Z){null!=Z?(this.commands=Array.isArray(Z)?Z:[Z],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(Z,ue,Be,ze,Dt){return!!(null===this.urlTree||this.isAnchorElement&&(0!==Z||ue||Be||ze||Dt||"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 Z=null===this.href?null:(0,n.P3R)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",Z)}applyAttributeValue(Z,ue){const Be=this.renderer,ze=this.el.nativeElement;null!==ue?Be.setAttribute(ze,Z,ue):Be.removeAttribute(ze,Z)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}return(G=Y).\u0275fac=function(Z){return new(Z||G)(n.Y36(Yr),n.Y36(Gn),n.$8M("tabindex"),n.Y36(n.Qsj),n.Y36(n.SBq),n.Y36(B.LocationStrategy))},G.\u0275dir=n.lG2({type:G,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(Z,ue){1&Z&&n.NdJ("click",function(ze){return ue.onClick(ze.button,ze.ctrlKey,ze.shiftKey,ze.altKey,ze.metaKey)}),2&Z&&n.uIk("target",ue.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:["preserveFragment","preserveFragment",n.VuI],skipLocationChange:["skipLocationChange","skipLocationChange",n.VuI],replaceUrl:["replaceUrl","replaceUrl",n.VuI],routerLink:"routerLink"},standalone:!0,features:[n.Xq5,n.TTD]}),Y})(),gr=(()=>{var G;class Y{get isActive(){return this._isActive}constructor(Z,ue,Be,ze,Dt){this.router=Z,this.element=ue,this.renderer=Be,this.cdr=ze,this.link=Dt,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new n.vpe,this.routerEventsSubscription=Z.events.subscribe(Jt=>{Jt instanceof mn&&this.update()})}ngAfterContentInit(){(0,h.of)(this.links.changes,(0,h.of)(null)).pipe((0,pe.J)()).subscribe(Z=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const Z=[...this.links.toArray(),this.link].filter(ue=>!!ue).map(ue=>ue.onChanges);this.linkInputChangesSubscription=(0,c.D)(Z).pipe((0,pe.J)()).subscribe(ue=>{this._isActive!==this.isLinkActive(this.router)(ue)&&this.update()})}set routerLinkActive(Z){const ue=Array.isArray(Z)?Z:Z.split(" ");this.classes=ue.filter(Be=>!!Be)}ngOnChanges(Z){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const Z=this.hasActiveLinks();this._isActive!==Z&&(this._isActive=Z,this.cdr.markForCheck(),this.classes.forEach(ue=>{Z?this.renderer.addClass(this.element.nativeElement,ue):this.renderer.removeClass(this.element.nativeElement,ue)}),Z&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this.isActiveChange.emit(Z))})}isLinkActive(Z){const ue=function bo(G){return!!G.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return Be=>!!Be.urlTree&&Z.isActive(Be.urlTree,ue)}hasActiveLinks(){const Z=this.isLinkActive(this.router);return this.link&&Z(this.link)||this.links.some(Z)}}return(G=Y).\u0275fac=function(Z){return new(Z||G)(n.Y36(Yr),n.Y36(n.SBq),n.Y36(n.Qsj),n.Y36(n.sBO),n.Y36(Dr,8))},G.\u0275dir=n.lG2({type:G,selectors:[["","routerLinkActive",""]],contentQueries:function(Z,ue,Be){if(1&Z&&n.Suo(Be,Dr,5),2&Z){let ze;n.iGM(ze=n.CRH())&&(ue.links=ze)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[n.TTD]}),Y})();class To{}let ps=(()=>{var G;class Y{constructor(Z,ue,Be,ze,Dt){this.router=Z,this.injector=Be,this.preloadingStrategy=ze,this.loader=Dt}setUpPreloading(){this.subscription=this.router.events.pipe((0,U.h)(Z=>Z instanceof mn),(0,I.b)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(Z,ue){const Be=[];for(const ze of ue){ze.providers&&!ze._injector&&(ze._injector=(0,n.MMx)(ze.providers,Z,`Route: ${ze.path}`));const Dt=ze._injector??Z,Jt=ze._loadedInjector??Dt;(ze.loadChildren&&!ze._loadedRoutes&&void 0===ze.canLoad||ze.loadComponent&&!ze._loadedComponent)&&Be.push(this.preloadConfig(Dt,ze)),(ze.children||ze._loadedRoutes)&&Be.push(this.processRoutes(Jt,ze.children??ze._loadedRoutes))}return(0,c.D)(Be).pipe((0,pe.J)())}preloadConfig(Z,ue){return this.preloadingStrategy.preload(ue,()=>{let Be;Be=ue.loadChildren&&void 0===ue.canLoad?this.loader.loadChildren(Z,ue):(0,h.of)(null);const ze=Be.pipe((0,O.z)(Dt=>null===Dt?(0,h.of)(void 0):(ue._loadedRoutes=Dt.routes,ue._loadedInjector=Dt.injector,this.processRoutes(Dt.injector??Z,Dt.routes))));if(ue.loadComponent&&!ue._loadedComponent){const Dt=this.loader.loadComponent(ue);return(0,c.D)([ze,Dt]).pipe((0,pe.J)())}return ze})}}return(G=Y).\u0275fac=function(Z){return new(Z||G)(n.LFG(Yr),n.LFG(n.Sil),n.LFG(n.lqb),n.LFG(To),n.LFG(K))},G.\u0275prov=n.Yz7({token:G,factory:G.\u0275fac,providedIn:"root"}),Y})();const Qi=new n.OlP("");let ms=(()=>{var G;class Y{constructor(Z,ue,Be,ze,Dt={}){this.urlSerializer=Z,this.transitions=ue,this.viewportScroller=Be,this.zone=ze,this.options=Dt,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},Dt.scrollPositionRestoration=Dt.scrollPositionRestoration||"disabled",Dt.anchorScrolling=Dt.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(Z=>{Z instanceof Lt?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=Z.navigationTrigger,this.restoredId=Z.restoredState?Z.restoredState.navigationId:0):Z instanceof mn?(this.lastId=Z.id,this.scheduleScrollEvent(Z,this.urlSerializer.parse(Z.urlAfterRedirects).fragment)):Z instanceof Vn&&0===Z.code&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(Z,this.urlSerializer.parse(Z.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(Z=>{Z instanceof ln&&(Z.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(Z.position):Z.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(Z.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(Z,ue){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new ln(Z,"popstate"===this.lastSource?this.store[this.restoredId]:null,ue))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}}return(G=Y).\u0275fac=function(Z){n.$Z()},G.\u0275prov=n.Yz7({token:G,factory:G.\u0275fac}),Y})();function Ui(G,Y){return{\u0275kind:G,\u0275providers:Y}}function ao(){const G=(0,n.f3M)(n.zs3);return Y=>{const re=G.get(n.z2F);if(Y!==re.components[0])return;const Z=G.get(Yr),ue=G.get(Vo);1===G.get(xn)&&Z.initialNavigation(),G.get(Ol,null,n.XFs.Optional)?.setUpPreloading(),G.get(Qi,null,n.XFs.Optional)?.init(),Z.resetRootComponentType(re.componentTypes[0]),ue.closed||(ue.next(),ue.complete(),ue.unsubscribe())}}const Vo=new n.OlP("",{factory:()=>new T.x}),xn=new n.OlP("",{providedIn:"root",factory:()=>1}),Ol=new n.OlP("");function gu(G){return Ui(0,[{provide:Ol,useExisting:ps},{provide:To,useExisting:G}])}function vu(G){return Ui(9,[{provide:Cn,useValue:On},{provide:Sn,useValue:{skipNextTransition:!!G?.skipInitialTransition,...G}}])}const wl=new n.OlP("ROUTER_FORROOT_GUARD"),kt=[B.Location,{provide:Ut,useClass:wt},Yr,Xn,{provide:Gn,useFactory:function Jo(G){return G.routerState.root},deps:[Yr]},K,[]];let ir=(()=>{var G;class Y{constructor(Z){}static forRoot(Z,ue){return{ngModule:Y,providers:[kt,[],{provide:z,multi:!0,useValue:Z},{provide:wl,useFactory:Fl,deps:[[Yr,new n.FiY,new n.tp0]]},{provide:g,useValue:ue||{}},ue?.useHash?{provide:B.LocationStrategy,useClass:B.HashLocationStrategy}:{provide:B.LocationStrategy,useClass:B.PathLocationStrategy},{provide:Qi,useFactory:()=>{const G=(0,n.f3M)(B.ViewportScroller),Y=(0,n.f3M)(n.R0b),re=(0,n.f3M)(g),Z=(0,n.f3M)(mr),ue=(0,n.f3M)(Ut);return re.scrollOffset&&G.setOffset(re.scrollOffset),new ms(ue,Z,G,Y,re)}},ue?.preloadingStrategy?gu(ue.preloadingStrategy).\u0275providers:[],ue?.initialNavigation?_s(ue):[],ue?.bindToComponentInputs?Ui(8,[ki,{provide:Kr,useExisting:ki}]).\u0275providers:[],ue?.enableViewTransitions?vu().\u0275providers:[],[{provide:Ji,useFactory:ao},{provide:n.tb,multi:!0,useExisting:Ji}]]}}static forChild(Z){return{ngModule:Y,providers:[{provide:z,multi:!0,useValue:Z}]}}}return(G=Y).\u0275fac=function(Z){return new(Z||G)(n.LFG(wl,8))},G.\u0275mod=n.oAB({type:G}),G.\u0275inj=n.cJS({}),Y})();function Fl(G){return"guarded"}function _s(G){return["disabled"===G.initialNavigation?Ui(3,[{provide:n.ip1,multi:!0,useFactory:()=>{const Y=(0,n.f3M)(Yr);return()=>{Y.setUpLocationChangeListener()}}},{provide:xn,useValue:2}]).\u0275providers:[],"enabledBlocking"===G.initialNavigation?Ui(2,[{provide:xn,useValue:0},{provide:n.ip1,multi:!0,deps:[n.zs3],useFactory:Y=>{const re=Y.get(B.LOCATION_INITIALIZED,Promise.resolve());return()=>re.then(()=>new Promise(Z=>{const ue=Y.get(Yr),Be=Y.get(Vo);Ii(ue,()=>{Z(!0)}),Y.get(mr).afterPreactivation=()=>(Z(!0),Be.closed?(0,h.of)(void 0):Be),ue.initialNavigation()}))}}]).\u0275providers:[]]}const Ji=new n.OlP("")},27823:(_e,R,r)=>{"use strict";r.d(R,{eX:()=>se,Ll:()=>Ye,sQ:()=>wt,GW:()=>$,l4:()=>Me});var n=r(17343),s=r(58764),c=r(9739),h=r(1824),v=r(92769),_=r(12494),m=r(54505),b=r(20959);class D{constructor(ve,Ce,Re){this.kind=ve,this.value=Ce,this.error=Re,this.hasValue="N"===ve}observe(ve){return a(this,ve)}do(ve,Ce,Re){const{kind:ot,value:Ve,error:Oe}=this;return"N"===ot?ve?.(Ve):"E"===ot?Ce?.(Oe):Re?.()}accept(ve,Ce,Re){var ot;return(0,b.m)(null===(ot=ve)||void 0===ot?void 0:ot.next)?this.observe(ve):this.do(ve,Ce,Re)}toObservable(){const{kind:ve,value:Ce,error:Re}=this,ot="N"===ve?(0,_.of)(Ce):"E"===ve?(0,m._)(()=>Re):"C"===ve?v.E:0;if(!ot)throw new TypeError(`Unexpected notification kind ${ve}`);return ot}static createNext(ve){return new D("N",ve)}static createError(ve){return new D("E",void 0,ve)}static createComplete(){return D.completeNotification}}function a(Xe,ve){var Ce,Re,ot;const{kind:Ve,value:Oe,error:Ze}=Xe;if("string"!=typeof Ve)throw new TypeError('Invalid notification, missing "kind"');"N"===Ve?null===(Ce=ve.next)||void 0===Ce||Ce.call(ve,Oe):"E"===Ve?null===(Re=ve.error)||void 0===Re||Re.call(ve,Ze):null===(ot=ve.complete)||void 0===ot||ot.call(ve)}D.completeNotification=new D("C");var u=r(52938),E=r(83972),M=r(97478),B=r(26682),N=r(36305),W=r(95749);function A(Xe,ve,Ce,Re){return(0,u.e)((ot,Ve)=>{let Oe;ve&&"function"!=typeof ve?({duration:Ce,element:Oe,connector:Re}=ve):Oe=ve;const Ze=new Map,Ge=xe=>{Ze.forEach(xe),xe(Ve)},Pe=xe=>Ge(rt=>rt.error(xe));let Ue=0,De=!1;const fe=new E.Q(Ve,xe=>{try{const rt=Xe(xe);let xt=Ze.get(rt);if(!xt){Ze.set(rt,xt=Re?Re():new c.x);const tn=function He(xe,rt){const xt=new s.y(tn=>{Ue++;const sn=rt.subscribe(tn);return()=>{sn.unsubscribe(),0==--Ue&&De&&fe.unsubscribe()}});return xt.key=xe,xt}(rt,xt);if(Ve.next(tn),Ce){const sn=(0,E.x)(xt,()=>{xt.complete(),sn?.unsubscribe()},void 0,void 0,()=>Ze.delete(rt));fe.add((0,W.Xf)(Ce(tn)).subscribe(sn))}}xt.next(Oe?Oe(xe):xe)}catch(rt){Pe(rt)}},()=>Ge(xe=>xe.complete()),Pe,()=>Ze.clear(),()=>(De=!0,0===Ue));ot.subscribe(fe)})}var X=r(99798);function U(Xe,ve){return ve?Ce=>Ce.pipe(U((Re,ot)=>(0,W.Xf)(Xe(Re,ot)).pipe((0,M.U)((Ve,Oe)=>ve(Re,Ve,ot,Oe))))):(0,u.e)((Ce,Re)=>{let ot=0,Ve=null,Oe=!1;Ce.subscribe((0,E.x)(Re,Ze=>{Ve||(Ve=(0,E.x)(Re,void 0,()=>{Ve=null,Oe&&Re.complete()}),(0,W.Xf)(Xe(Ze,ot++)).subscribe(Ve))},()=>{Oe=!0,!Ve&&Re.complete()}))})}var k=r(49804),I=r(77533),F=r(31907);const P={dispatch:!0,functional:!1,useEffectsErrorHandler:!0},H="__@ngrx/effects_create__";function $(Xe,ve={}){const Ce=ve.functional?Xe:Xe(),Re={...P,...ve};return Object.defineProperty(Ce,H,{value:Re}),Ce}function ge(Xe){return Object.getPrototypeOf(Xe)}function We(Xe){return"function"==typeof Xe}function Te(Xe){return Xe.filter(We)}function Q(Xe,ve,Ce){const Re=ge(Xe),Ve=Re&&"Object"!==Re.constructor.name?Re.constructor.name:null,Oe=function le(Xe){return function J(Xe){return Object.getOwnPropertyNames(Xe).filter(Re=>!(!Xe[Re]||!Xe[Re].hasOwnProperty(H))&&Xe[Re][H].hasOwnProperty("dispatch")).map(Re=>({propertyName:Re,...Xe[Re][H]}))}(Xe)}(Xe).map(({propertyName:Ze,dispatch:Ge,useEffectsErrorHandler:Pe})=>{const Ue="function"==typeof Xe[Ze]?Xe[Ze]():Xe[Ze],De=Pe?Ce(Ue,ve):Ue;return!1===Ge?De.pipe((0,h.l)()):De.pipe(function T(){return(0,u.e)((Xe,ve)=>{Xe.subscribe((0,E.x)(ve,Ce=>{ve.next(D.createNext(Ce))},()=>{ve.next(D.createComplete()),ve.complete()},Ce=>{ve.next(D.createError(Ce)),ve.complete()}))})}()).pipe((0,M.U)(He=>({effect:Xe[Ze],notification:He,propertyName:Ze,sourceName:Ve,sourceInstance:Xe})))});return(0,n.T)(...Oe)}function pe(Xe,ve,Ce=10){return Xe.pipe((0,B.K)(Re=>(ve&&ve.handleError(Re),Ce<=1?Xe:pe(Xe,ve,Ce-1))))}let se=(()=>{var Xe;class ve extends s.y{constructor(Re){super(),Re&&(this.source=Re)}lift(Re){const ot=new ve;return ot.source=this,ot.operator=Re,ot}}return(Xe=ve).\u0275fac=function(Re){return new(Re||Xe)(I.LFG(F.Y$))},Xe.\u0275prov=I.Yz7({token:Xe,factory:Xe.\u0275fac,providedIn:"root"}),ve})();function Me(...Xe){return(0,N.h)(ve=>Xe.some(Ce=>"string"==typeof Ce?Ce===ve.type:Ce.type===ve.type))}const ct=new I.OlP("@ngrx/effects Internal Root Guard"),vt=new I.OlP("@ngrx/effects User Provided Effects"),Pt=new I.OlP("@ngrx/effects Internal Root Effects"),lt=new I.OlP("@ngrx/effects Internal Root Effects Instances"),tt=new I.OlP("@ngrx/effects Internal Feature Effects"),ut=new I.OlP("@ngrx/effects Internal Feature Effects Instance Groups"),ne=new I.OlP("@ngrx/effects Effects Error Handler",{providedIn:"root",factory:()=>pe}),y="@ngrx/effects/init";(0,F.PH)(y);function we(Xe){return $e(Xe,"ngrxOnInitEffects")}function $e(Xe,ve){return Xe&&ve in Xe&&"function"==typeof Xe[ve]}let Ye=(()=>{var Xe;class ve extends c.x{constructor(Re,ot){super(),this.errorHandler=Re,this.effectsErrorHandler=ot}addEffects(Re){this.next(Re)}toActions(){return this.pipe(A(Re=>function te(Xe){return!!Xe.constructor&&"Object"!==Xe.constructor.name&&"Function"!==Xe.constructor.name}(Re)?ge(Re):Re),(0,X.z)(Re=>Re.pipe(A(At))),(0,X.z)(Re=>{const ot=Re.pipe(U(Oe=>function qe(Xe,ve){return Ce=>{const Re=Q(Ce,Xe,ve);return function ye(Xe){return $e(Xe,"ngrxOnRunEffects")}(Ce)?Ce.ngrxOnRunEffects(Re):Re}}(this.errorHandler,this.effectsErrorHandler)(Oe)),(0,M.U)(Oe=>(function w(Xe,ve){if("N"===Xe.notification.kind){const Ce=Xe.notification.value;!function Fe(Xe){return"function"!=typeof Xe&&Xe&&Xe.type&&"string"==typeof Xe.type}(Ce)&&ve.handleError(new Error(`Effect ${function Je({propertyName:Xe,sourceInstance:ve,sourceName:Ce}){const Re="function"==typeof ve[Xe];return Ce?`"${Ce}.${String(Xe)}${Re?"()":""}"`:`"${String(Xe)}()"`}(Xe)} dispatched an invalid action: ${function St(Xe){try{return JSON.stringify(Xe)}catch{return Xe}}(Ce)}`))}}(Oe,this.errorHandler),Oe.notification)),(0,N.h)(Oe=>"N"===Oe.kind&&null!=Oe.value),function O(){return(0,u.e)((Xe,ve)=>{Xe.subscribe((0,E.x)(ve,Ce=>a(Ce,ve)))})}()),Ve=Re.pipe((0,k.q)(1),(0,N.h)(we),(0,M.U)(Oe=>Oe.ngrxOnInitEffects()));return(0,n.T)(ot,Ve)}))}}return(Xe=ve).\u0275fac=function(Re){return new(Re||Xe)(I.LFG(I.qLn),I.LFG(ne))},Xe.\u0275prov=I.Yz7({token:Xe,factory:Xe.\u0275fac,providedIn:"root"}),ve})();function At(Xe){return function Wt(Xe){return $e(Xe,"ngrxOnIdentifyEffects")}(Xe)?Xe.ngrxOnIdentifyEffects():""}let it=(()=>{var Xe;class ve{get isStarted(){return!!this.effectsSubscription}constructor(Re,ot){this.effectSources=Re,this.store=ot,this.effectsSubscription=null}start(){this.effectsSubscription||(this.effectsSubscription=this.effectSources.toActions().subscribe(this.store))}ngOnDestroy(){this.effectsSubscription&&(this.effectsSubscription.unsubscribe(),this.effectsSubscription=null)}}return(Xe=ve).\u0275fac=function(Re){return new(Re||Xe)(I.LFG(Ye),I.LFG(F.yh))},Xe.\u0275prov=I.Yz7({token:Xe,factory:Xe.\u0275fac,providedIn:"root"}),ve})(),Kt=(()=>{var Xe;class ve{constructor(Re,ot,Ve,Oe,Ze,Ge,Pe){this.sources=Re,ot.start();for(const Ue of Oe)Re.addEffects(Ue);Ve.dispatch({type:y})}addEffects(Re){this.sources.addEffects(Re)}}return(Xe=ve).\u0275fac=function(Re){return new(Re||Xe)(I.LFG(Ye),I.LFG(it),I.LFG(F.yh),I.LFG(lt),I.LFG(F.cr,8),I.LFG(F.CK,8),I.LFG(ct,8))},Xe.\u0275mod=I.oAB({type:Xe}),Xe.\u0275inj=I.cJS({}),ve})(),Ut=(()=>{var Xe;class ve{constructor(Re,ot,Ve,Oe){const Ze=ot.flat();for(const Ge of Ze)Re.addEffects(Ge)}}return(Xe=ve).\u0275fac=function(Re){return new(Re||Xe)(I.LFG(Kt),I.LFG(ut),I.LFG(F.cr,8),I.LFG(F.CK,8))},Xe.\u0275mod=I.oAB({type:Xe}),Xe.\u0275inj=I.cJS({}),ve})(),wt=(()=>{var Xe;class ve{static forFeature(...Re){const ot=Re.flat(),Ve=Te(ot);return{ngModule:Ut,providers:[Ve,{provide:tt,multi:!0,useValue:ot},{provide:vt,multi:!0,useValue:[]},{provide:ut,multi:!0,useFactory:rn,deps:[tt,vt]}]}}static forRoot(...Re){const ot=Re.flat(),Ve=Te(ot);return{ngModule:Kt,providers:[Ve,{provide:Pt,useValue:[ot]},{provide:ct,useFactory:Ke},{provide:vt,multi:!0,useValue:[]},{provide:lt,useFactory:rn,deps:[Pt,vt]}]}}}return(Xe=ve).\u0275fac=function(Re){return new(Re||Xe)},Xe.\u0275mod=I.oAB({type:Xe}),Xe.\u0275inj=I.cJS({}),ve})();function rn(Xe,ve){const Ce=[];for(const Re of Xe)Ce.push(...Re);for(const Re of ve)Ce.push(...Re);return Ce.map(Re=>function ee(Xe){return Xe instanceof I.OlP||We(Xe)}(Re)?(0,I.f3M)(Re):Re)}function Ke(){const Xe=(0,I.f3M)(it,{optional:!0,skipSelf:!0}),ve=(0,I.f3M)(Pt,{self:!0});if((1!==ve.length||0!==ve[0].length)&&Xe)throw new TypeError("EffectsModule.forRoot() called twice. Feature modules should use EffectsModule.forFeature() instead.");return"guarded"}},70437:(_e,R,r)=>{"use strict";r.d(R,{I:()=>h});var n=r(12494),s=r(62340),c=r(72514);function h(_){return(0,s.b)(m=>{const b=_(m),p=Array.isArray(b)?b:[b];return(0,n.of)(m).pipe((0,c.M)(...p))})}},84126:(_e,R,r)=>{"use strict";r.d(R,{CE:()=>E,GC:()=>k,Qi:()=>J,lI:()=>O,mg:()=>M,tE:()=>m});var n=r(31907),s=r(77533),c=r(55096),h=r(72514);const v="@ngrx/router-store/request",m=((0,n.PH)(v,(0,n.Ky)()),"@ngrx/router-store/navigation"),p=((0,n.PH)(m,(0,n.Ky)()),"@ngrx/router-store/cancel"),a=((0,n.PH)(p,(0,n.Ky)()),"@ngrx/router-store/error"),E=((0,n.PH)(a,(0,n.Ky)()),"@ngrx/router-store/navigated");function M(ge,te){const We=te;switch(We.type){case m:case a:case p:return{state:We.payload.routerState,navigationId:We.payload.event.id};default:return ge}}(0,n.PH)(E,(0,n.Ky)());class B{serialize(te){return{root:this.serializeRoute(te.root),url:te.url}}serializeRoute(te){const We=te.children.map(Te=>this.serializeRoute(Te));return{params:te.params,data:te.data,url:te.url,outlet:te.outlet,title:te.title,routeConfig:te.routeConfig?{path:te.routeConfig.path,pathMatch:te.routeConfig.pathMatch,redirectTo:te.routeConfig.redirectTo,outlet:te.routeConfig.outlet,title:"string"==typeof te.routeConfig.title?te.routeConfig.title:void 0}:null,queryParams:te.queryParams,fragment:te.fragment,firstChild:We[0],children:We}}}var N=function(ge){return ge[ge.PreActivation=1]="PreActivation",ge[ge.PostActivation=2]="PostActivation",ge}(N||{});const W="router",A=new s.OlP("@ngrx/router-store Internal Configuration"),X=new s.OlP("@ngrx/router-store Configuration");function U(ge){return{stateKey:W,serializer:B,navigationActionTiming:N.PreActivation,...ge}}class O{serialize(te){return{root:this.serializeRoute(te.root),url:te.url}}serializeRoute(te){const We=te.children.map(Te=>this.serializeRoute(Te));return{params:te.params,paramMap:te.paramMap,data:te.data,url:te.url,outlet:te.outlet,title:te.title,routeConfig:te.routeConfig?{component:te.routeConfig.component,path:te.routeConfig.path,pathMatch:te.routeConfig.pathMatch,redirectTo:te.routeConfig.redirectTo,outlet:te.routeConfig.outlet,title:te.routeConfig.title}:null,queryParams:te.queryParams,queryParamMap:te.queryParamMap,fragment:te.fragment,component:te.routeConfig?te.routeConfig.component:void 0,root:void 0,parent:void 0,firstChild:We[0],pathFromRoot:void 0,children:We}}}class k{}var I=function(ge){return ge[ge.NONE=1]="NONE",ge[ge.ROUTER=2]="ROUTER",ge[ge.STORE=3]="STORE",ge}(I||{});let F=(()=>{var ge;class te{constructor(Te,ee,Q,me,pe,se){this.store=Te,this.router=ee,this.serializer=Q,this.errorHandler=me,this.config=pe,this.activeRuntimeChecks=se,this.lastEvent=null,this.routerState=null,this.trigger=I.NONE,this.stateKey=this.config.stateKey,!(0,n.rM)()&&(0,s.X6Q)()&&(se?.strictActionSerializability||se?.strictStateSerializability)&&this.serializer instanceof O&&console.warn("@ngrx/router-store: The serializability runtime checks cannot be enabled with the FullRouterStateSerializer. The FullRouterStateSerializer has an unserializable router state and actions that are not serializable. To use the serializability runtime checks either use the MinimalRouterStateSerializer or implement a custom router state serializer."),this.setUpStoreStateListener(),this.setUpRouterEventsListener()}setUpStoreStateListener(){this.store.pipe((0,n.Ys)(this.stateKey),(0,h.M)(this.store)).subscribe(([Te,ee])=>{this.navigateIfNeeded(Te,ee)})}navigateIfNeeded(Te,ee){if(!Te||!Te.state||this.trigger===I.ROUTER||this.lastEvent instanceof c.OD)return;const Q=Te.state.url;(function P(ge,te){return H(ge)===H(te)})(this.router.url,Q)||(this.storeState=ee,this.trigger=I.STORE,this.router.navigateByUrl(Q).catch(me=>{this.errorHandler.handleError(me)}))}setUpRouterEventsListener(){const Te=this.config.navigationActionTiming===N.PostActivation;let ee;this.router.events.pipe((0,h.M)(this.store)).subscribe(([Q,me])=>{this.lastEvent=Q,Q instanceof c.OD?(this.routerState=this.serializer.serialize(this.router.routerState.snapshot),this.trigger!==I.STORE&&(this.storeState=me,this.dispatchRouterRequest(Q))):Q instanceof c.R9?(ee=Q,!Te&&this.trigger!==I.STORE&&this.dispatchRouterNavigation(Q)):Q instanceof c.gk?(this.dispatchRouterCancel(Q),this.reset()):Q instanceof c.Q3?(this.dispatchRouterError(Q),this.reset()):Q instanceof c.m2&&(this.trigger!==I.STORE&&(Te&&this.dispatchRouterNavigation(ee),this.dispatchRouterNavigated(Q)),this.reset())})}dispatchRouterRequest(Te){this.dispatchRouterAction(v,{event:Te})}dispatchRouterNavigation(Te){const ee=this.serializer.serialize(Te.state);this.dispatchRouterAction(m,{routerState:ee,event:new c.R9(Te.id,Te.url,Te.urlAfterRedirects,ee)})}dispatchRouterCancel(Te){this.dispatchRouterAction(p,{storeState:this.storeState,event:Te})}dispatchRouterError(Te){this.dispatchRouterAction(a,{storeState:this.storeState,event:new c.Q3(Te.id,Te.url,`${Te}`)})}dispatchRouterNavigated(Te){const ee=this.serializer.serialize(this.router.routerState.snapshot);this.dispatchRouterAction(E,{event:Te,routerState:ee})}dispatchRouterAction(Te,ee){this.trigger=I.ROUTER;try{this.store.dispatch({type:Te,payload:{routerState:this.routerState,...ee,event:0===this.config.routerState?ee.event:{id:ee.event.id,url:ee.event.url,urlAfterRedirects:ee.event.urlAfterRedirects}}})}finally{this.trigger=I.NONE}}reset(){this.trigger=I.NONE,this.storeState=null,this.routerState=null}}return(ge=te).\u0275fac=function(Te){return new(Te||ge)(s.LFG(n.yh),s.LFG(c.F0),s.LFG(k),s.LFG(s.qLn),s.LFG(X),s.LFG(n.hg))},ge.\u0275prov=s.Yz7({token:ge,factory:ge.\u0275fac}),te})();function H(ge){return ge?.length>0&&"/"===ge[ge.length-1]?ge.substring(0,ge.length-1):ge}function $(ge={}){return(0,s.MR2)([{provide:A,useValue:ge},{provide:X,useFactory:U,deps:[A]},{provide:k,useClass:ge.serializer?ge.serializer:0===ge.routerState?O:B},{provide:s.Xts,multi:!0,useFactory:()=>()=>(0,s.f3M)(F)},F])}let J=(()=>{var ge;class te{static forRoot(Te={}){return{ngModule:te,providers:[$(Te)]}}}return(ge=te).\u0275fac=function(Te){return new(Te||ge)},ge.\u0275mod=s.oAB({type:ge}),ge.\u0275inj=s.cJS({}),te})()},31907:(_e,R,r)=>{"use strict";r.d(R,{hg:()=>Fe,Y$:()=>Kt,yh:()=>Rt,CK:()=>pr,Aw:()=>cr,cr:()=>Pn,UY:()=>Wt,PH:()=>X,ZF:()=>er,Lq:()=>Xn,P1:()=>Zn,rM:()=>tn,on:()=>Ir,Ky:()=>U,Ys:()=>ve,G0:()=>O});var n=r(77533),s=r(67728),c=r(58764),h=r(9739),v=r(7941),m=r(79356);const p=new class b extends m.v{}(class _ extends v.o{constructor(bt,Ot){super(bt,Ot),this.scheduler=bt,this.work=Ot}schedule(bt,Ot=0){return Ot>0?super.schedule(bt,Ot):(this.delay=Ot,this.state=bt,this.scheduler.flush(this),this)}execute(bt,Ot){return Ot>0||this.closed?super.execute(bt,Ot):this._execute(bt,Ot)}requestAsyncId(bt,Ot,ht=0){return null!=ht&&ht>0||null==ht&&this.delay>0?super.requestAsyncId(bt,Ot,ht):(bt.flush(this),0)}});var a=r(11932),u=r(72514),E=r(17878),T=r(97478),B=r(97974),N=r(61006);const W={};function X(je,bt){if(W[je]=(W[je]||0)+1,"function"==typeof bt)return k(je,(...ht)=>({...bt(...ht),type:je}));switch(bt?bt._as:"empty"){case"empty":return k(je,()=>({type:je}));case"props":return k(je,ht=>({...ht,type:je}));default:throw new Error("Unexpected config.")}}function U(){return{_as:"props",_p:void 0}}function O(je){}function k(je,bt){return Object.defineProperty(bt,"type",{value:je,writable:!1})}const V="@ngrx/store/init";let le=(()=>{var je;class bt extends s.X{constructor(){super({type:V})}next(ht){if("function"==typeof ht)throw new TypeError("\n        Dispatch expected an object, instead it received a function.\n        If you're using the createAction function, make sure to invoke the function\n        before dispatching the action. For example, someAction should be someAction().");if(typeof ht>"u")throw new TypeError("Actions must be objects");if(typeof ht.type>"u")throw new TypeError("Actions must have a type property");super.next(ht)}complete(){}ngOnDestroy(){super.complete()}}return(je=bt).\u0275fac=function(ht){return new(ht||je)},je.\u0275prov=n.Yz7({token:je,factory:je.\u0275fac}),bt})();const ge=[le],te=new n.OlP("@ngrx/store Internal Root Guard"),We=new n.OlP("@ngrx/store Internal Initial State"),Te=new n.OlP("@ngrx/store Initial State"),ee=new n.OlP("@ngrx/store Reducer Factory"),Q=new n.OlP("@ngrx/store Internal Reducer Factory Provider"),me=new n.OlP("@ngrx/store Initial Reducers"),pe=new n.OlP("@ngrx/store Internal Initial Reducers"),se=new n.OlP("@ngrx/store Store Features"),Me=new n.OlP("@ngrx/store Internal Store Reducers"),ct=new n.OlP("@ngrx/store Internal Feature Reducers"),vt=new n.OlP("@ngrx/store Internal Feature Configs"),Pt=new n.OlP("@ngrx/store Internal Store Features"),lt=new n.OlP("@ngrx/store Internal Feature Reducers Token"),tt=new n.OlP("@ngrx/store Feature Reducers"),ut=new n.OlP("@ngrx/store User Provided Meta Reducers"),ne=new n.OlP("@ngrx/store Meta Reducers"),y=new n.OlP("@ngrx/store Internal Resolved Meta Reducers"),ae=new n.OlP("@ngrx/store User Runtime Checks Config"),w=new n.OlP("@ngrx/store Internal User Runtime Checks Config"),Fe=new n.OlP("@ngrx/store Internal Runtime Checks"),Je=new n.OlP("@ngrx/store Check if Action types are unique");function Wt(je,bt={}){const Ot=Object.keys(je),ht={};for(let en=0;en<Ot.length;en++){const Tn=Ot[en];"function"==typeof je[Tn]&&(ht[Tn]=je[Tn])}const Gt=Object.keys(ht);return function(Tn,qn){Tn=void 0===Tn?bt:Tn;let Gn=!1;const Ee={};for(let at=0;at<Gt.length;at++){const nn=Gt[at],jn=Tn[nn],In=(0,ht[nn])(jn,qn);Ee[nn]=In,Gn=Gn||In!==jn}return Gn?Ee:Tn}}function ye(...je){return function(bt){if(0===je.length)return bt;const Ot=je[je.length-1];return je.slice(0,-1).reduceRight((Gt,en)=>en(Gt),Ot(bt))}}function st(je,bt){return Array.isArray(bt)&&bt.length>0&&(je=ye.apply(null,[...bt,je])),(Ot,ht)=>{const Gt=je(Ot);return(en,Tn)=>Gt(en=void 0===en?ht:en,Tn)}}new n.OlP("@ngrx/store Root Store Provider"),new n.OlP("@ngrx/store Feature State Provider");class $e extends c.y{}class Ye extends le{}let qe=(()=>{var je;class bt extends s.X{get currentReducers(){return this.reducers}constructor(ht,Gt,en,Tn){super(Tn(en,Gt)),this.dispatcher=ht,this.initialState=Gt,this.reducers=en,this.reducerFactory=Tn}addFeature(ht){this.addFeatures([ht])}addFeatures(ht){const Gt=ht.reduce((en,{reducers:Tn,reducerFactory:qn,metaReducers:Gn,initialState:Ee,key:at})=>{const nn="function"==typeof Tn?function we(je){const bt=Array.isArray(je)&&je.length>0?ye(...je):Ot=>Ot;return(Ot,ht)=>(Ot=bt(Ot),(Gt,en)=>Ot(Gt=void 0===Gt?ht:Gt,en))}(Gn)(Tn,Ee):st(qn,Gn)(Tn,Ee);return en[at]=nn,en},{});this.addReducers(Gt)}removeFeature(ht){this.removeFeatures([ht])}removeFeatures(ht){this.removeReducers(ht.map(Gt=>Gt.key))}addReducer(ht,Gt){this.addReducers({[ht]:Gt})}addReducers(ht){this.reducers={...this.reducers,...ht},this.updateReducers(Object.keys(ht))}removeReducer(ht){this.removeReducers([ht])}removeReducers(ht){ht.forEach(Gt=>{this.reducers=function ft(je,bt){return Object.keys(je).filter(Ot=>Ot!==bt).reduce((Ot,ht)=>Object.assign(Ot,{[ht]:je[ht]}),{})}(this.reducers,Gt)}),this.updateReducers(ht)}updateReducers(ht){this.next(this.reducerFactory(this.reducers,this.initialState)),this.dispatcher.next({type:"@ngrx/store/update-reducers",features:ht})}ngOnDestroy(){this.complete()}}return(je=bt).\u0275fac=function(ht){return new(ht||je)(n.LFG(Ye),n.LFG(Te),n.LFG(me),n.LFG(ee))},je.\u0275prov=n.Yz7({token:je,factory:je.\u0275fac}),bt})();const it=[qe,{provide:$e,useExisting:qe},{provide:Ye,useExisting:le}];let Kt=(()=>{var je;class bt extends h.x{ngOnDestroy(){this.complete()}}return(je=bt).\u0275fac=(()=>{let Ot;return function(Gt){return(Ot||(Ot=n.n5z(je)))(Gt||je)}})(),je.\u0275prov=n.Yz7({token:je,factory:je.\u0275fac}),bt})();const Ut=[Kt];class wt extends c.y{}let rn=(()=>{var je;class bt extends s.X{constructor(ht,Gt,en,Tn){super(Tn);const at=ht.pipe((0,a.Q)(p)).pipe((0,u.M)(Gt)).pipe((0,E.R)(Ke,{state:Tn}));this.stateSubscription=at.subscribe(({state:nn,action:vn})=>{this.next(nn),en.next(vn)}),this.state=(0,N.O4)(this,{manualCleanup:!0,requireSync:!0})}ngOnDestroy(){this.stateSubscription.unsubscribe(),this.complete()}}return(je=bt).INIT=V,je.\u0275fac=function(ht){return new(ht||je)(n.LFG(le),n.LFG($e),n.LFG(Kt),n.LFG(Te))},je.\u0275prov=n.Yz7({token:je,factory:je.\u0275fac}),bt})();function Ke(je={state:void 0},[bt,Ot]){const{state:ht}=je;return{state:Ot(ht,bt),action:bt}}const pn=[rn,{provide:wt,useExisting:rn}];let Rt=(()=>{var je;class bt extends c.y{constructor(ht,Gt,en){super(),this.actionsObserver=Gt,this.reducerManager=en,this.source=ht,this.state=ht.state}select(ht,...Gt){return ve.call(null,ht,...Gt)(this)}selectSignal(ht,Gt){return(0,n.Flj)(()=>ht(this.state()),Gt)}lift(ht){const Gt=new bt(this,this.actionsObserver,this.reducerManager);return Gt.operator=ht,Gt}dispatch(ht){this.actionsObserver.next(ht)}next(ht){this.actionsObserver.next(ht)}error(ht){this.actionsObserver.error(ht)}complete(){this.actionsObserver.complete()}addReducer(ht,Gt){this.reducerManager.addReducer(ht,Gt)}removeReducer(ht){this.reducerManager.removeReducer(ht)}}return(je=bt).\u0275fac=function(ht){return new(ht||je)(n.LFG(wt),n.LFG(le),n.LFG(qe))},je.\u0275prov=n.Yz7({token:je,factory:je.\u0275fac}),bt})();const Xe=[Rt];function ve(je,bt,...Ot){return function(Gt){let en;if("string"==typeof je){const Tn=[bt,...Ot].filter(Boolean);en=Gt.pipe(function M(...je){const bt=je.length;if(0===bt)throw new Error("list of properties cannot be empty.");return(0,T.U)(Ot=>{let ht=Ot;for(let Gt=0;Gt<bt;Gt++){const en=ht?.[je[Gt]];if(!(typeof en<"u"))return;ht=en}return ht})}(je,...Tn))}else{if("function"!=typeof je)throw new TypeError(`Unexpected type '${typeof je}' in select operator, expected 'string' or 'function'`);en=Gt.pipe((0,T.U)(Tn=>je(Tn,bt)))}return en.pipe((0,B.x)())}}const Ce="https://ngrx.io/guide/store/configuration/runtime-checks";function Re(je){return void 0===je}function ot(je){return null===je}function Ve(je){return Array.isArray(je)}function Pe(je){return"object"==typeof je&&null!==je}function fe(je){return"function"==typeof je}let rt=!1;function tn(){return rt}function sn(je,bt){return je===bt}function nr(je,bt=sn,Ot=sn){let en,ht=null,Gt=null;return{memoized:function Ee(){if(void 0!==en)return en.result;if(!ht)return Gt=je.apply(null,arguments),ht=arguments,Gt;if(!function En(je,bt,Ot){for(let ht=0;ht<je.length;ht++)if(!Ot(je[ht],bt[ht]))return!0;return!1}(arguments,ht,bt))return Gt;const at=je.apply(null,arguments);return ht=arguments,Ot(Gt,at)?Gt:(Gt=at,at)},reset:function Tn(){ht=null,Gt=null},setResult:function qn(at=void 0){en={result:at}},clearResult:function Gn(){en=void 0}}}function Zn(...je){return function Jn(je,bt={stateFn:lr}){return function(...Ot){let ht=Ot;if(Array.isArray(ht[0])){const[at,...nn]=ht;ht=[...at,...nn]}else 1===ht.length&&function or(je){return!!je&&"object"==typeof je&&Object.values(je).every(bt=>"function"==typeof bt)}(ht[0])&&(ht=function Wn(je){const bt=Object.values(je),Ot=Object.keys(je);return[...bt,(...Gt)=>Ot.reduce((en,Tn,qn)=>({...en,[Tn]:Gt[qn]}),{})]}(ht[0]));const Gt=ht.slice(0,ht.length-1),en=ht[ht.length-1],Tn=Gt.filter(at=>at.release&&"function"==typeof at.release),qn=je(function(...at){return en.apply(null,at)}),Gn=nr(function(at,nn){return bt.stateFn.apply(null,[at,Gt,nn,qn])});return Object.assign(Gn.memoized,{release:function Ee(){Gn.reset(),qn.reset(),Tn.forEach(at=>at.release())},projector:qn.memoized,setResult:Gn.setResult,clearResult:Gn.clearResult})}}(nr)(...je)}function lr(je,bt,Ot,ht){if(void 0===Ot){const en=bt.map(Tn=>Tn(je));return ht.memoized.apply(null,en)}const Gt=bt.map(en=>en(je,Ot));return ht.memoized.apply(null,[...Gt,Ot])}function er(je){return Zn(bt=>{const Ot=bt[je];return!tn()&&(0,n.X6Q)()&&!(je in bt)&&console.warn(`@ngrx/store: The feature name "${je}" does not exist in the state, therefore createFeatureSelector cannot access it.  Be sure it is imported in a loaded module using StoreModule.forRoot('${je}', ...) or StoreModule.forFeature('${je}', ...).  If the default state is intended to be undefined, as is the case with router state, this development-only warning message can be ignored.`),Ot},bt=>bt)}function Cr(je){return je instanceof n.OlP?(0,n.f3M)(je):je}function Sr(je,bt){return bt.map((Ot,ht)=>{if(je[ht]instanceof n.OlP){const Gt=(0,n.f3M)(je[ht]);return{key:Ot.key,reducerFactory:Gt.reducerFactory?Gt.reducerFactory:Wt,metaReducers:Gt.metaReducers?Gt.metaReducers:[],initialState:Gt.initialState}}return Ot})}function Mn(je){return je.map(bt=>bt instanceof n.OlP?(0,n.f3M)(bt):bt)}function Lr(je){return"function"==typeof je?je():je}function _t(je,bt){return je.concat(bt)}function et(){if((0,n.f3M)(Rt,{optional:!0,skipSelf:!0}))throw new TypeError("The root Store has been provided more than once. Feature modules should provide feature states instead.");return"guarded"}function Ct(je){Object.freeze(je);const bt=fe(je);return Object.getOwnPropertyNames(je).forEach(Ot=>{if(!Ot.startsWith("\u0275")&&function xe(je,bt){return Object.prototype.hasOwnProperty.call(je,bt)}(je,Ot)&&(!bt||"caller"!==Ot&&"callee"!==Ot&&"arguments"!==Ot)){const ht=je[Ot];(Pe(ht)||fe(ht))&&!Object.isFrozen(ht)&&Ct(ht)}}),je}function Bt(je,bt=[]){return(Re(je)||ot(je))&&0===bt.length?{path:["root"],value:je}:Object.keys(je).reduce((ht,Gt)=>{if(ht)return ht;const en=je[Gt];return function He(je){return fe(je)&&je.hasOwnProperty("\u0275cmp")}(en)?ht:!(Re(en)||ot(en)||function Ge(je){return"number"==typeof je}(en)||function Ze(je){return"boolean"==typeof je}(en)||function Oe(je){return"string"==typeof je}(en)||Ve(en))&&(function De(je){if(!function Ue(je){return Pe(je)&&!Ve(je)}(je))return!1;const bt=Object.getPrototypeOf(je);return bt===Object.prototype||null===bt}(en)?Bt(en,[...bt,Gt]):{path:[...bt,Gt],value:en})},!1)}function on(je,bt){if(!1===je)return;const Ot=je.path.join("."),ht=new Error(`Detected unserializable ${bt} at "${Ot}". ${Ce}#strict${bt}serializability`);throw ht.value=je.value,ht.unserializablePath=Ot,ht}function Lt(je){return(0,n.X6Q)()?{strictStateSerializability:!1,strictActionSerializability:!1,strictStateImmutability:!0,strictActionImmutability:!0,strictActionWithinNgZone:!1,strictActionTypeUniqueness:!1,...je}:{strictStateSerializability:!1,strictActionSerializability:!1,strictStateImmutability:!1,strictActionImmutability:!1,strictActionWithinNgZone:!1,strictActionTypeUniqueness:!1}}function mn({strictActionSerializability:je,strictStateSerializability:bt}){return Ot=>je||bt?function Vt(je,bt){return function(Ot,ht){bt.action(ht)&&on(Bt(ht),"action");const Gt=je(Ot,ht);return bt.state()&&on(Bt(Gt),"state"),Gt}}(Ot,{action:ht=>je&&!Vn(ht),state:()=>bt}):Ot}function jt({strictActionImmutability:je,strictStateImmutability:bt}){return Ot=>je||bt?function Mt(je,bt){return function(Ot,ht){const Gt=bt.action(ht)?Ct(ht):ht,en=je(Ot,Gt);return bt.state()?Ct(en):en}}(Ot,{action:ht=>je&&!Vn(ht),state:()=>bt}):Ot}function Vn(je){return je.type.startsWith("@ngrx")}function Rn({strictActionWithinNgZone:je}){return bt=>je?function Qt(je,bt){return function(Ot,ht){if(bt.action(ht)&&!n.R0b.isInAngularZone())throw new Error(`Action '${ht.type}' running outside NgZone. ${Ce}#strictactionwithinngzone`);return je(Ot,ht)}}(bt,{action:Ot=>je&&!Vn(Ot)}):bt}function Ln(je){return[{provide:w,useValue:je},{provide:ae,useFactory:bn,deps:[w]},{provide:Fe,deps:[ae],useFactory:Lt},{provide:ne,multi:!0,deps:[Fe],useFactory:jt},{provide:ne,multi:!0,deps:[Fe],useFactory:mn},{provide:ne,multi:!0,deps:[Fe],useFactory:Rn}]}function An(){return[{provide:Je,multi:!0,deps:[Fe],useFactory:_n}]}function bn(je){return je}function _n(je){if(!je.strictActionTypeUniqueness)return;const bt=Object.entries(W).filter(([,Ot])=>Ot>1).map(([Ot])=>Ot);if(bt.length)throw new Error(`Action types are registered more than once, ${bt.map(Ot=>`"${Ot}"`).join(", ")}. ${Ce}#strictactiontypeuniqueness`)}function dr(je={},bt={}){return[{provide:te,useFactory:et},{provide:We,useValue:bt.initialState},{provide:Te,useFactory:Lr,deps:[We]},{provide:pe,useValue:je},{provide:Me,useExisting:je instanceof n.OlP?je:pe},{provide:me,deps:[pe,[new n.tBr(Me)]],useFactory:Cr},{provide:ut,useValue:bt.metaReducers?bt.metaReducers:[]},{provide:y,deps:[ne,ut],useFactory:_t},{provide:Q,useValue:bt.reducerFactory?bt.reducerFactory:Wt},{provide:ee,deps:[Q,y],useFactory:st},ge,it,Ut,pn,Xe,Ln(bt.runtimeChecks),An()]}function ln(je,bt,Ot={}){return[{provide:vt,multi:!0,useValue:je instanceof Object?{}:Ot},{provide:se,multi:!0,useValue:{key:je instanceof Object?je.name:je,reducerFactory:Ot instanceof n.OlP||!Ot.reducerFactory?Wt:Ot.reducerFactory,metaReducers:Ot instanceof n.OlP||!Ot.metaReducers?[]:Ot.metaReducers,initialState:Ot instanceof n.OlP||!Ot.initialState?void 0:Ot.initialState}},{provide:Pt,deps:[vt,se],useFactory:Sr},{provide:ct,multi:!0,useValue:je instanceof Object?je.reducer:bt},{provide:lt,multi:!0,useExisting:bt instanceof n.OlP?bt:ct},{provide:tt,multi:!0,deps:[ct,[new n.tBr(lt)]],useFactory:Mn},An()]}let Pn=(()=>{var je;class bt{constructor(ht,Gt,en,Tn,qn,Gn){}}return(je=bt).\u0275fac=function(ht){return new(ht||je)(n.LFG(le),n.LFG($e),n.LFG(Kt),n.LFG(Rt),n.LFG(te,8),n.LFG(Je,8))},je.\u0275mod=n.oAB({type:je}),je.\u0275inj=n.cJS({}),bt})(),pr=(()=>{var je;class bt{constructor(ht,Gt,en,Tn,qn){this.features=ht,this.featureReducers=Gt,this.reducerManager=en;const Gn=ht.map((Ee,at)=>{const vn=Gt.shift()[at];return{...Ee,reducers:vn,initialState:Lr(Ee.initialState)}});en.addFeatures(Gn)}ngOnDestroy(){this.reducerManager.removeFeatures(this.features)}}return(je=bt).\u0275fac=function(ht){return new(ht||je)(n.LFG(Pt),n.LFG(tt),n.LFG(qe),n.LFG(Pn),n.LFG(Je,8))},je.\u0275mod=n.oAB({type:je}),je.\u0275inj=n.cJS({}),bt})(),cr=(()=>{var je;class bt{static forRoot(ht,Gt){return{ngModule:Pn,providers:[...dr(ht,Gt)]}}static forFeature(ht,Gt,en={}){return{ngModule:pr,providers:[...ln(ht,Gt,en)]}}}return(je=bt).\u0275fac=function(ht){return new(ht||je)},je.\u0275mod=n.oAB({type:je}),je.\u0275inj=n.cJS({}),bt})();function Ir(...je){return{reducer:je.pop(),types:je.map(ht=>ht.type)}}function Xn(je,...bt){const Ot=new Map;for(const ht of bt)for(const Gt of ht.types){const en=Ot.get(Gt);Ot.set(Gt,en?(qn,Gn)=>ht.reducer(en(qn,Gn),Gn):ht.reducer)}return function(ht=je,Gt){const en=Ot.get(Gt.type);return en?en(ht,Gt):ht}}},15861:(_e,R,r)=>{"use strict";function n(c,h,v,_,m,b,p){try{var D=c[b](p),a=D.value}catch(u){return void v(u)}D.done?h(a):Promise.resolve(a).then(_,m)}function s(c){return function(){var h=this,v=arguments;return new Promise(function(_,m){var b=c.apply(h,v);function p(a){n(b,_,m,p,D,"next",a)}function D(a){n(b,_,m,p,D,"throw",a)}p(void 0)})}}r.d(R,{Z:()=>s})},71002:(_e,R,r)=>{"use strict";function n(s){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(c){return typeof c}:function(c){return c&&"function"==typeof Symbol&&c.constructor===Symbol&&c!==Symbol.prototype?"symbol":typeof c})(s)}r.d(R,{Z:()=>n})},97582:(_e,R,r)=>{"use strict";function v(ee,Q,me,pe){var ct,se=arguments.length,Me=se<3?Q:null===pe?pe=Object.getOwnPropertyDescriptor(Q,me):pe;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)Me=Reflect.decorate(ee,Q,me,pe);else for(var vt=ee.length-1;vt>=0;vt--)(ct=ee[vt])&&(Me=(se<3?ct(Me):se>3?ct(Q,me,Me):ct(Q,me))||Me);return se>3&&Me&&Object.defineProperty(Q,me,Me),Me}function a(ee,Q){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(ee,Q)}function u(ee,Q,me,pe){return new(me||(me=Promise))(function(Me,ct){function vt(tt){try{lt(pe.next(tt))}catch(ut){ct(ut)}}function Pt(tt){try{lt(pe.throw(tt))}catch(ut){ct(ut)}}function lt(tt){tt.done?Me(tt.value):function se(Me){return Me instanceof me?Me:new me(function(ct){ct(Me)})}(tt.value).then(vt,Pt)}lt((pe=pe.apply(ee,Q||[])).next())})}function U(ee){return this instanceof U?(this.v=ee,this):new U(ee)}function O(ee,Q,me){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var se,pe=me.apply(ee,Q||[]),Me=[];return se={},ct("next"),ct("throw"),ct("return"),se[Symbol.asyncIterator]=function(){return this},se;function ct(ne){pe[ne]&&(se[ne]=function(y){return new Promise(function(ae,w){Me.push([ne,y,ae,w])>1||vt(ne,y)})})}function vt(ne,y){try{!function Pt(ne){ne.value instanceof U?Promise.resolve(ne.value.v).then(lt,tt):ut(Me[0][2],ne)}(pe[ne](y))}catch(ae){ut(Me[0][3],ae)}}function lt(ne){vt("next",ne)}function tt(ne){vt("throw",ne)}function ut(ne,y){ne(y),Me.shift(),Me.length&&vt(Me[0][0],Me[0][1])}}function I(ee){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var me,Q=ee[Symbol.asyncIterator];return Q?Q.call(ee):(ee=function B(ee){var Q="function"==typeof Symbol&&Symbol.iterator,me=Q&&ee[Q],pe=0;if(me)return me.call(ee);if(ee&&"number"==typeof ee.length)return{next:function(){return ee&&pe>=ee.length&&(ee=void 0),{value:ee&&ee[pe++],done:!ee}}};throw new TypeError(Q?"Object is not iterable.":"Symbol.iterator is not defined.")}(ee),me={},pe("next"),pe("throw"),pe("return"),me[Symbol.asyncIterator]=function(){return this},me);function pe(Me){me[Me]=ee[Me]&&function(ct){return new Promise(function(vt,Pt){!function se(Me,ct,vt,Pt){Promise.resolve(Pt).then(function(lt){Me({value:lt,done:vt})},ct)}(vt,Pt,(ct=ee[Me](ct)).done,ct.value)})}}}r.d(R,{FC:()=>O,KL:()=>I,gn:()=>v,mG:()=>u,qq:()=>U,w6:()=>a}),"function"==typeof SuppressedError&&SuppressedError},59498:_e=>{"use strict";_e.exports=JSON.parse('[["AF","AFG","004","ISO 3166-2:AF"],["AL","ALB","008","ISO 3166-2:AL"],["DZ","DZA","012","ISO 3166-2:DZ"],["AS","ASM","016","ISO 3166-2:AS"],["AD","AND","020","ISO 3166-2:AD"],["AO","AGO","024","ISO 3166-2:AO"],["AI","AIA","660","ISO 3166-2:AI"],["AQ","ATA","010","ISO 3166-2:AQ"],["AG","ATG","028","ISO 3166-2:AG"],["AR","ARG","032","ISO 3166-2:AR"],["AM","ARM","051","ISO 3166-2:AM"],["AW","ABW","533","ISO 3166-2:AW"],["AU","AUS","036","ISO 3166-2:AU"],["AT","AUT","040","ISO 3166-2:AT"],["AZ","AZE","031","ISO 3166-2:AZ"],["BS","BHS","044","ISO 3166-2:BS"],["BH","BHR","048","ISO 3166-2:BH"],["BD","BGD","050","ISO 3166-2:BD"],["BB","BRB","052","ISO 3166-2:BB"],["BY","BLR","112","ISO 3166-2:BY"],["BE","BEL","056","ISO 3166-2:BE"],["BZ","BLZ","084","ISO 3166-2:BZ"],["BJ","BEN","204","ISO 3166-2:BJ"],["BM","BMU","060","ISO 3166-2:BM"],["BT","BTN","064","ISO 3166-2:BT"],["BO","BOL","068","ISO 3166-2:BO"],["BA","BIH","070","ISO 3166-2:BA"],["BW","BWA","072","ISO 3166-2:BW"],["BV","BVT","074","ISO 3166-2:BV"],["BR","BRA","076","ISO 3166-2:BR"],["IO","IOT","086","ISO 3166-2:IO"],["BN","BRN","096","ISO 3166-2:BN"],["BG","BGR","100","ISO 3166-2:BG"],["BF","BFA","854","ISO 3166-2:BF"],["BI","BDI","108","ISO 3166-2:BI"],["KH","KHM","116","ISO 3166-2:KH"],["CM","CMR","120","ISO 3166-2:CM"],["CA","CAN","124","ISO 3166-2:CA"],["CV","CPV","132","ISO 3166-2:CV"],["KY","CYM","136","ISO 3166-2:KY"],["CF","CAF","140","ISO 3166-2:CF"],["TD","TCD","148","ISO 3166-2:TD"],["CL","CHL","152","ISO 3166-2:CL"],["CN","CHN","156","ISO 3166-2:CN"],["CX","CXR","162","ISO 3166-2:CX"],["CC","CCK","166","ISO 3166-2:CC"],["CO","COL","170","ISO 3166-2:CO"],["KM","COM","174","ISO 3166-2:KM"],["CG","COG","178","ISO 3166-2:CG"],["CD","COD","180","ISO 3166-2:CD"],["CK","COK","184","ISO 3166-2:CK"],["CR","CRI","188","ISO 3166-2:CR"],["CI","CIV","384","ISO 3166-2:CI"],["HR","HRV","191","ISO 3166-2:HR"],["CU","CUB","192","ISO 3166-2:CU"],["CY","CYP","196","ISO 3166-2:CY"],["CZ","CZE","203","ISO 3166-2:CZ"],["DK","DNK","208","ISO 3166-2:DK"],["DJ","DJI","262","ISO 3166-2:DJ"],["DM","DMA","212","ISO 3166-2:DM"],["DO","DOM","214","ISO 3166-2:DO"],["EC","ECU","218","ISO 3166-2:EC"],["EG","EGY","818","ISO 3166-2:EG"],["SV","SLV","222","ISO 3166-2:SV"],["GQ","GNQ","226","ISO 3166-2:GQ"],["ER","ERI","232","ISO 3166-2:ER"],["EE","EST","233","ISO 3166-2:EE"],["ET","ETH","231","ISO 3166-2:ET"],["FK","FLK","238","ISO 3166-2:FK"],["FO","FRO","234","ISO 3166-2:FO"],["FJ","FJI","242","ISO 3166-2:FJ"],["FI","FIN","246","ISO 3166-2:FI"],["FR","FRA","250","ISO 3166-2:FR"],["GF","GUF","254","ISO 3166-2:GF"],["PF","PYF","258","ISO 3166-2:PF"],["TF","ATF","260","ISO 3166-2:TF"],["GA","GAB","266","ISO 3166-2:GA"],["GM","GMB","270","ISO 3166-2:GM"],["GE","GEO","268","ISO 3166-2:GE"],["DE","DEU","276","ISO 3166-2:DE"],["GH","GHA","288","ISO 3166-2:GH"],["GI","GIB","292","ISO 3166-2:GI"],["GR","GRC","300","ISO 3166-2:GR"],["GL","GRL","304","ISO 3166-2:GL"],["GD","GRD","308","ISO 3166-2:GD"],["GP","GLP","312","ISO 3166-2:GP"],["GU","GUM","316","ISO 3166-2:GU"],["GT","GTM","320","ISO 3166-2:GT"],["GN","GIN","324","ISO 3166-2:GN"],["GW","GNB","624","ISO 3166-2:GW"],["GY","GUY","328","ISO 3166-2:GY"],["HT","HTI","332","ISO 3166-2:HT"],["HM","HMD","334","ISO 3166-2:HM"],["VA","VAT","336","ISO 3166-2:VA"],["HN","HND","340","ISO 3166-2:HN"],["HK","HKG","344","ISO 3166-2:HK"],["HU","HUN","348","ISO 3166-2:HU"],["IS","ISL","352","ISO 3166-2:IS"],["IN","IND","356","ISO 3166-2:IN"],["ID","IDN","360","ISO 3166-2:ID"],["IR","IRN","364","ISO 3166-2:IR"],["IQ","IRQ","368","ISO 3166-2:IQ"],["IE","IRL","372","ISO 3166-2:IE"],["IL","ISR","376","ISO 3166-2:IL"],["IT","ITA","380","ISO 3166-2:IT"],["JM","JAM","388","ISO 3166-2:JM"],["JP","JPN","392","ISO 3166-2:JP"],["JO","JOR","400","ISO 3166-2:JO"],["KZ","KAZ","398","ISO 3166-2:KZ"],["KE","KEN","404","ISO 3166-2:KE"],["KI","KIR","296","ISO 3166-2:KI"],["KP","PRK","408","ISO 3166-2:KP"],["KR","KOR","410","ISO 3166-2:KR"],["KW","KWT","414","ISO 3166-2:KW"],["KG","KGZ","417","ISO 3166-2:KG"],["LA","LAO","418","ISO 3166-2:LA"],["LV","LVA","428","ISO 3166-2:LV"],["LB","LBN","422","ISO 3166-2:LB"],["LS","LSO","426","ISO 3166-2:LS"],["LR","LBR","430","ISO 3166-2:LR"],["LY","LBY","434","ISO 3166-2:LY"],["LI","LIE","438","ISO 3166-2:LI"],["LT","LTU","440","ISO 3166-2:LT"],["LU","LUX","442","ISO 3166-2:LU"],["MO","MAC","446","ISO 3166-2:MO"],["MG","MDG","450","ISO 3166-2:MG"],["MW","MWI","454","ISO 3166-2:MW"],["MY","MYS","458","ISO 3166-2:MY"],["MV","MDV","462","ISO 3166-2:MV"],["ML","MLI","466","ISO 3166-2:ML"],["MT","MLT","470","ISO 3166-2:MT"],["MH","MHL","584","ISO 3166-2:MH"],["MQ","MTQ","474","ISO 3166-2:MQ"],["MR","MRT","478","ISO 3166-2:MR"],["MU","MUS","480","ISO 3166-2:MU"],["YT","MYT","175","ISO 3166-2:YT"],["MX","MEX","484","ISO 3166-2:MX"],["FM","FSM","583","ISO 3166-2:FM"],["MD","MDA","498","ISO 3166-2:MD"],["MC","MCO","492","ISO 3166-2:MC"],["MN","MNG","496","ISO 3166-2:MN"],["MS","MSR","500","ISO 3166-2:MS"],["MA","MAR","504","ISO 3166-2:MA"],["MZ","MOZ","508","ISO 3166-2:MZ"],["MM","MMR","104","ISO 3166-2:MM"],["NA","NAM","516","ISO 3166-2:NA"],["NR","NRU","520","ISO 3166-2:NR"],["NP","NPL","524","ISO 3166-2:NP"],["NL","NLD","528","ISO 3166-2:NL"],["NC","NCL","540","ISO 3166-2:NC"],["NZ","NZL","554","ISO 3166-2:NZ"],["NI","NIC","558","ISO 3166-2:NI"],["NE","NER","562","ISO 3166-2:NE"],["NG","NGA","566","ISO 3166-2:NG"],["NU","NIU","570","ISO 3166-2:NU"],["NF","NFK","574","ISO 3166-2:NF"],["MP","MNP","580","ISO 3166-2:MP"],["MK","MKD","807","ISO 3166-2:MK"],["NO","NOR","578","ISO 3166-2:NO"],["OM","OMN","512","ISO 3166-2:OM"],["PK","PAK","586","ISO 3166-2:PK"],["PW","PLW","585","ISO 3166-2:PW"],["PS","PSE","275","ISO 3166-2:PS"],["PA","PAN","591","ISO 3166-2:PA"],["PG","PNG","598","ISO 3166-2:PG"],["PY","PRY","600","ISO 3166-2:PY"],["PE","PER","604","ISO 3166-2:PE"],["PH","PHL","608","ISO 3166-2:PH"],["PN","PCN","612","ISO 3166-2:PN"],["PL","POL","616","ISO 3166-2:PL"],["PT","PRT","620","ISO 3166-2:PT"],["PR","PRI","630","ISO 3166-2:PR"],["QA","QAT","634","ISO 3166-2:QA"],["RE","REU","638","ISO 3166-2:RE"],["RO","ROU","642","ISO 3166-2:RO"],["RU","RUS","643","ISO 3166-2:RU"],["RW","RWA","646","ISO 3166-2:RW"],["SH","SHN","654","ISO 3166-2:SH"],["KN","KNA","659","ISO 3166-2:KN"],["LC","LCA","662","ISO 3166-2:LC"],["PM","SPM","666","ISO 3166-2:PM"],["VC","VCT","670","ISO 3166-2:VC"],["WS","WSM","882","ISO 3166-2:WS"],["SM","SMR","674","ISO 3166-2:SM"],["ST","STP","678","ISO 3166-2:ST"],["SA","SAU","682","ISO 3166-2:SA"],["SN","SEN","686","ISO 3166-2:SN"],["SC","SYC","690","ISO 3166-2:SC"],["SL","SLE","694","ISO 3166-2:SL"],["SG","SGP","702","ISO 3166-2:SG"],["SK","SVK","703","ISO 3166-2:SK"],["SI","SVN","705","ISO 3166-2:SI"],["SB","SLB","090","ISO 3166-2:SB"],["SO","SOM","706","ISO 3166-2:SO"],["ZA","ZAF","710","ISO 3166-2:ZA"],["GS","SGS","239","ISO 3166-2:GS"],["ES","ESP","724","ISO 3166-2:ES"],["LK","LKA","144","ISO 3166-2:LK"],["SD","SDN","729","ISO 3166-2:SD"],["SR","SUR","740","ISO 3166-2:SR"],["SJ","SJM","744","ISO 3166-2:SJ"],["SZ","SWZ","748","ISO 3166-2:SZ"],["SE","SWE","752","ISO 3166-2:SE"],["CH","CHE","756","ISO 3166-2:CH"],["SY","SYR","760","ISO 3166-2:SY"],["TW","TWN","158","ISO 3166-2:TW"],["TJ","TJK","762","ISO 3166-2:TJ"],["TZ","TZA","834","ISO 3166-2:TZ"],["TH","THA","764","ISO 3166-2:TH"],["TL","TLS","626","ISO 3166-2:TL"],["TG","TGO","768","ISO 3166-2:TG"],["TK","TKL","772","ISO 3166-2:TK"],["TO","TON","776","ISO 3166-2:TO"],["TT","TTO","780","ISO 3166-2:TT"],["TN","TUN","788","ISO 3166-2:TN"],["TR","TUR","792","ISO 3166-2:TR"],["TM","TKM","795","ISO 3166-2:TM"],["TC","TCA","796","ISO 3166-2:TC"],["TV","TUV","798","ISO 3166-2:TV"],["UG","UGA","800","ISO 3166-2:UG"],["UA","UKR","804","ISO 3166-2:UA"],["AE","ARE","784","ISO 3166-2:AE"],["GB","GBR","826","ISO 3166-2:GB"],["US","USA","840","ISO 3166-2:US"],["UM","UMI","581","ISO 3166-2:UM"],["UY","URY","858","ISO 3166-2:UY"],["UZ","UZB","860","ISO 3166-2:UZ"],["VU","VUT","548","ISO 3166-2:VU"],["VE","VEN","862","ISO 3166-2:VE"],["VN","VNM","704","ISO 3166-2:VN"],["VG","VGB","092","ISO 3166-2:VG"],["VI","VIR","850","ISO 3166-2:VI"],["WF","WLF","876","ISO 3166-2:WF"],["EH","ESH","732","ISO 3166-2:EH"],["YE","YEM","887","ISO 3166-2:YE"],["ZM","ZMB","894","ISO 3166-2:ZM"],["ZW","ZWE","716","ISO 3166-2:ZW"],["AX","ALA","248","ISO 3166-2:AX"],["BQ","BES","535","ISO 3166-2:BQ"],["CW","CUW","531","ISO 3166-2:CW"],["GG","GGY","831","ISO 3166-2:GG"],["IM","IMN","833","ISO 3166-2:IM"],["JE","JEY","832","ISO 3166-2:JE"],["ME","MNE","499","ISO 3166-2:ME"],["BL","BLM","652","ISO 3166-2:BL"],["MF","MAF","663","ISO 3166-2:MF"],["RS","SRB","688","ISO 3166-2:RS"],["SX","SXM","534","ISO 3166-2:SX"],["SS","SSD","728","ISO 3166-2:SS"],["XK","XKX","983","ISO 3166-2:XK"]]')}},_e=>{_e(_e.s=68021)}]);