1import{Fb as A,Id as X,N as q,fa as T,ga as V,oe as b,tc as h,uc as S}from"./chunk-X3UW4FV3.js";import{Ca as W,Kb as y,wb as K,za as Y}from"./chunk-QTYJNS4L.js";import{Cc as R,Ga as L,Gb as g,Ib as u,Kb as c,Te as J,Vb as N,Ve as Q,Wa as C,Xa as M,Xb as P,Yb as a,_b as z,bb as l,db as x,jb as _,nb as O,pb as E,rb as k,sd as U,wb as f,xb as n,xc as v,ya as m,yb as o,za as p,zb as B,zc as G}from"./chunk-NFWLLSTH.js";function ae(i,t){i&1&&a(0," \u{1F33C} You\u2019re a Group Sessions Host! ")}function ce(i,t){i&1&&a(0," \u{1F33C} New: Try Group Sessions! ")}function le(i,t){if(i&1){let s=g();n(0,"button",5),u("click",function(){m(s);let e=c(3);return p(e.onDismiss())}),a(1," \xD7 "),o()}}function me(i,t){if(i&1){let s=g();n(0,"div",2)(1,"button",3),u("click",function(){m(s);let e=c(2);return p(e.onClickGroupMeetings())}),E(2,ae,1,0)(3,ce,1,0),o(),E(4,le,2,0,"button",4),o()}if(i&2){let s=c(2);C(),P(s.showDismissButton()?"bp908:pl-2 bp908:pr-7":""),C(),k(s.isHost()?2:3),C(2),k(s.showDismissButton()?4:-1)}}function pe(i,t){if(i&1&&(n(0,"p-message",1),_(1,me,5,4,"ng-template",null,0,v),o()),i&2){let s=c();f("dt",s.pMessageScopedToken)}}var Z="groupMeetings:tryNewBannerDismissed",$="groupMeetings:tryNewBannerDesktopDismissed",Ae=(()=>{let t=class t{constructor(r,e,d,ne,oe,re,se){this.analyticsService=r,this.contentStackService=e,this.dialogService=d,this.featureCheckService=ne,this.localStorageService=oe,this.router=re,this.viewportService=se,this.openInDynamicPanel=R(!0),this.groupMeetingsCreateEnabled=R(),this.previewMode=R(!1),this.dismissedThisSession=L(!1),this.isHost=G(()=>this.groupMeetingsCreateEnabled()??this.featureCheckService.groupMeetingsCreateEnabledSig()),this.showDismissButton=G(()=>this.viewportService.isMobile()||!this.isHost()),this.isVisible=G(()=>this.dismissedThisSession()?!1:this.previewMode()?!0:this.viewportService.isMobile()?!this.storedMobileDismissed&&!this.storedDesktopDismissed:this.isHost()||!this.storedDesktopDismissed),this.pMessageScopedToken={root:{borderRadius:"16px"},content:{gap:"7px",padding:"1px"},colorScheme:{dark:{info:{background:"{blue.500}",borderColor:"{blue.400}",color:"{blue.50}",shadow:"0 4px 8px 0 rgba(2, 5, 10, 0.04)"}},light:{info:{background:"{blue.100}",borderColor:"{blue.200}",color:"{blue.600}",shadow:"{form.field.shadow}"}}}},this.storedMobileDismissed=this.localStorageService.getItem(Z)==="true",this.storedDesktopDismissed=this.localStorageService.getItem($)==="true"}get analyticsSource(){return this.openInDynamicPanel()?"groupMeetingsSidebar":"groupMeetingsMobileSidebar"}onClickGroupMeetings(){if(this.featureCheckService.groupMeetingsEnabledSig()){if(this.isHost()){this.analyticsService.logGroupMeetingClick("learnMoreAboutGroupMeetings",this.analyticsSource),this.dialogService.openGroupMeetingsHostBetaAnnouncementDialog();return}if(this.analyticsService.logGroupMeetingClick("openGroupMeetings",this.analyticsSource),this.openInDynamicPanel()){this.contentStackService.pushGroupMeetingsToDynamicPanel(!1);return}this.router.navigate(["/group-meetings"])}}onDismiss(){this.dismissedThisSession.set(!0),!this.previewMode()&&(this.analyticsService.logGroupMeetingClick("dismissTryGroupMeetingsBanner",this.analyticsSource,{isHost:this.isHost()}),this.localStorageService.setItem(this.viewportService.isMobile()?Z:$,"true","GroupMeetingsSidebar"))}};t.\u0275fac=function(e){return new(e||t)(l(y),l(X),l(b),l(q),l(W),l(U),l(Y))},t.\u0275cmp=x({type:t,selectors:[["fm-group-meetings-sidebar"]],hostAttrs:[1,"contents"],inputs:{openInDynamicPanel:[1,"openInDynamicPanel"],groupMeetingsCreateEnabled:[1,"groupMeetingsCreateEnabled"],previewMode:[1,"previewMode"]},decls:1,vars:1,consts:[["container",""],["severity","info","styleClass","!h-full !w-full overflow-hidden !rounded-none outline-offset-[-1px] bp908:!rounded-2xl",1,"block","h-8","w-full","max-w-full","text-center","bp908:mx-auto","bp908:w-64",3,"dt"],[1,"relative","h-full","w-full"],["type","button",1,"flex","h-full","w-full","cursor-pointer","items-center","justify-center","whitespace-nowrap","rounded-none","bg-[var(--p-blue-100)]","px-[10.5px]","py-[7px]","font-inter","text-[15px]","font-medium","leading-normal","text-[var(--p-blue-600)]","shadow-[0_4px_4px_rgba(2,5,10,0.04)]","transition-opacity","hover:opacity-90","focus-visible:outline","focus-visible:outline-2","focus-visible:outline-offset-[-2px]","focus-visible:outline-current","bp908:rounded-[15p
1x]","dark:bg-[var(--p-blue-500)]","dark:text-[var(--p-blue-50)]",3,"click"],["type","button","aria-label","Dismiss Group Sessions promotion",1,"absolute","right-2","top-1/2","flex","size-7","-translate-y-1/2","cursor-pointer","items-center","justify-center","rounded-full","border-0","bg-transparent","text-xl","leading-none","transition-opacity","hover:opacity-70","focus-visible:outline","focus-visible:outline-2","focus-visible:outline-offset-[-2px]","focus-visible:outline-current","bp908:right-1","bp908:size-6"],["type","button","aria-label","Dismiss Group Sessions promotion",1,"absolute","right-2","top-1/2","flex","size-7","-translate-y-1/2","cursor-pointer","items-center","justify-center","rounded-full","border-0","bg-transparent","text-xl","leading-none","transition-opacity","hover:opacity-70","focus-visible:outline","focus-visible:outline-2","focus-visible:outline-offset-[-2px]","focus-visible:outline-current","bp908:right-1","bp908:size-6",3,"click"]],template:function(e,d){e&1&&E(0,pe,3,1,"p-message",1),e&2&&k(d.isVisible()?0:-1)},dependencies:[S,h],encapsulation:2,changeDetection:0});let i=t;return i})();function ue(i,t){if(i&1){let s=g();n(0,"div",4),a(1," To get a partner or upgrade your plan, you must verify your email address."),n(2,"fa-icon",5),u("click",function(){m(s);let e=c(2);return p(e.openVerification.emit())}),o(),n(3,"a",6),u("click",function(e){m(s);let d=c(2);return p(d.onResendVerification(e))}),a(4,"Resend verification email."),o()()}if(i&2){let s=c(2);C(2),f("icon",s.faInfoCircle),C(),N("pointer-events-none",s.isResendDisabled)("opacity-60",s.isResendDisabled),f("text",!0),O("aria-disabled",s.isResendDisabled)("tabindex",s.isResendDisabled?-1:null)}}function de(i,t){i&1&&(n(0,"p-message",2),_(1,ue,5,8,"ng-template",4,0,v),o())}function fe(i,t){if(i&1){let s=g();n(0,"div",4),a(1),n(2,"fa-icon",5),u("click",function(){m(s);let e=c(2);return p(e.openVerification.emit())}),o()()}if(i&2){let s=c(2);C(),z(" We sent a verification email to ",s.email,". Please follow the instructions in it. "),C(),f("icon",s.faInfoCircle)}}function ge(i,t){i&1&&(n(0,"p-message",3),_(1,fe,3,2,"ng-template",4,0,v),o())}var Ke=(()=>{let t=class t{constructor(){this.email="",this.isSent=!1,this.isResendDisabled=!1,this.openVerification=new M,this.resendVerification=new M,this.faInfoCircle=A}onResendVerification(r){if(this.isResendDisabled){r.preventDefault();return}this.resendVerification.emit()}};t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=x({type:t,selectors:[["fm-email-verification-banner"]],inputs:{email:"email",isSent:"isSent",isResendDisabled:"isResendDisabled"},outputs:{openVerification:"openVerification",resendVerification:"resendVerification"},decls:3,vars:3,consts:[["container",""],[1,"w-full","z-50"],["severity","info","variant","text","styleClass","w-full text-center !rounded-none",1,"text-center"],["severity","success","variant","text","styleClass","w-full text-center !rounded-none",1,"text-center"],[1,"w-full","mx-auto"],[2,"cursor","pointer",3,"click","icon"],["pButton","","severity","info","size","small",3,"click","text"]],template:function(e,d){e&1&&(n(0,"div",1),E(1,de,3,0,"p-message",2)(2,ge,3,0,"p-message",3),o()),e&2&&(N("sent",d.isSent),C(),k(d.isSent?2:1))},dependencies:[Q,J,V,T,S,h],encapsulation:2,changeDetection:0});let i=t;return i})();function _e(i,t){if(i&1){let s=g();n(0,"div",2)(1,"div")(2,"span",3),a(3,"\u{1F33C} "),o(),a(4,"You\u2019re a "),n(5,"span",4),a(6,"Group Sessions Host!"),o(),n(7,"span",3),a(8," \xB7 "),o(),n(9,"button",5),u("click",function(){m(s);let e=c();return p(e.onClickLearnMore())}),a(10," Learn more "),o()(),n(11,"button",6),u("click",function(){m(s);let e=c();return p(e.onClickDismiss())}),B(12,"i",7),o()()}}var ve="Group Meeting: Host Beta Announcement",j="groupMeetingHostBetaBanner",et=(()=>{let t=class t{constructor(r,e){this.analyticsService=r,this.dialogService=e,this.dismissBanner=new M,this.pMessageScopedToken={content:{gap:"0.5rem",padding:"0rem 0.75rem"}}}ngOnInit(){this.analyticsService.logViewedBannerEvent(ve,{source:j})}onClickLearnMore(){this.analyticsService.logGroupMeetingClick("learnMoreAboutGroupMeetings",j),this.dialogService.openGroupMeetingsHostBetaAnnouncementDialog()}onClickDismiss(){this.analyticsService.logGroupMeetingClick("dismissGroupMeetingsHostBetaBanner",j),this.dismissBanner.emit()}};t.\u0275fac=function(e){return new(e||t)(l(y),l(b))},t.\u0275cmp=x({type:t,selectors:[["fm-group-meeting-host-beta-banner"]],outputs:{dismissBanner:"dismissBanner"},decls:3,vars:1,consts:[["container",""],["severity","info","variant","text","styleClass","w-full text-center !rounded-none !py-0",1,"text-center",3,"dt"],[1,"relative","flex","min-h-8","w-full","items-center","justify-center","px-11","text-sm","font-medium","leading-normal"],["aria-hidden","true"],[1,"font-semibold"],["type","button",1,"curs
1or-pointer","underline","underline-offset-2","hover:no-underline",3,"click"],["type","button","aria-label","Dismiss Group Sessions host announcement",1,"absolute","right-2","top-1/2","flex","size-8","-translate-y-1/2","items-center","justify-center","rounded-lg","transition-opacity","hover:opacity-70",3,"click"],[1,"pi","pi-times","text-sm","leading-none"]],template:function(e,d){e&1&&(n(0,"p-message",1),_(1,_e,13,0,"ng-template",null,0,v),o()),e&2&&f("dt",d.pMessageScopedToken)},dependencies:[S,h],encapsulation:2,changeDetection:0});let i=t;return i})();function xe(i,t){if(i&1){let s=g();n(0,"div",2)(1,"div")(2,"span",3),a(3,"\u{1F33C}\u{1F4E2} "),o(),n(4,"span",4),a(5,"Group Sessions are going live on Monday, Aug 10th!"),o(),n(6,"span",3),a(7," \xB7 "),o(),n(8,"button",5),u("click",function(){m(s);let e=c();return p(e.onClickLearnMore())}),a(9," Learn more "),o()()()}}var he="Group Meeting: Beta Launch Host Announcement",te="groupMeetingBetaLaunchHostAnnouncementBanner",nt=(()=>{let t=class t{constructor(r,e){this.analyticsService=r,this.dialogService=e,this.pMessageScopedToken={content:{gap:"0.5rem",padding:"0rem 0.5rem"},colorScheme:{dark:{warn:{color:"{surface.700}",shadow:"0 4px 8px 0 rgba(9, 7, 0, 0.04)",simple:{color:"{surface.700}"},outlined:{color:"{surface.700}",borderColor:"{surface.700}"},background:"color-mix(in srgb, {orange.200}, transparent 5%)",borderColor:"{yellow.200}",closeButton:{focusRing:{color:"{surface.700}",shadow:"0 0 0 0 #00000000"},hoverBackground:"{text.muted.color}"}}},light:{warn:{color:"{surface.700}",shadow:"0 4px 8px 0 rgba(9, 7, 0, 0.04)",simple:{color:"{surface.700}"},outlined:{color:"{surface.700}",borderColor:"{surface.700}"},background:"color-mix(in srgb, {orange.200}, transparent 5%)",borderColor:"{yellow.200}",closeButton:{focusRing:{color:"{surface.700}",shadow:"0 0 0 0 #00000000"},hoverBackground:"{text.muted.color}"}}}}}}ngOnInit(){this.analyticsService.logViewedBannerEvent(he,{source:te})}onClickLearnMore(){this.analyticsService.logGroupMeetingClick("learnMoreAboutGroupMeetings",te),this.dialogService.openGroupMeetingBetaLaunchHostAnnouncementDialog()}};t.\u0275fac=function(e){return new(e||t)(l(y),l(b))},t.\u0275cmp=x({type:t,selectors:[["fm-group-meeting-beta-launch-host-announcement-banner"]],decls:3,vars:1,consts:[["container",""],["severity","warn","variant","text","styleClass","w-full text-center !rounded-none !py-0",1,"text-center",3,"dt"],[1,"flex","min-h-8","w-full","items-center","justify-center","px-2","text-sm","font-medium","leading-normal"],["aria-hidden","true"],[1,"font-semibold"],["type","button",1,"cursor-pointer","underline","underline-offset-2","hover:no-underline",3,"click"]],template:function(e,d){e&1&&(n(0,"p-message",1),_(1,xe,10,0,"ng-template",null,0,v),o()),e&2&&f("dt",d.pMessageScopedToken)},dependencies:[S,h],encapsulation:2,changeDetection:0});let i=t;return i})();function Se(i,t){if(i&1){let s=g();n(0,"div",2)(1,"div")(2,"span",3),a(3,"\u{1F33C} "),o(),n(4,"span",4),a(5,"Group Sessions are now live!"),o(),n(6,"span",5),a(7," \xB7 "),o(),n(8,"button",6),u("click",function(){m(s);let e=c();return p(e.onClickLearnMore())}),a(9," Learn more "),o()()()}}var Ce="Group Meeting: Beta Live Host Announcement",ie="groupMeetingBetaLiveHostAnnouncementBanner",st=(()=>{let t=class t{constructor(r,e){this.analyticsService=r,this.dialogService=e,this.pMessageScopedToken={root:{borderRadius:"0",borderWidth:"0"},content:{gap:"0",padding:"0"},colorScheme:{dark:{info:{background:"{blue.200}",borderColor:"{blue.200}",color:"{surface.700}",shadow:"none"}},light:{info:{background:"{blue.200}",borderColor:"{blue.200}",color:"{surface.700}",shadow:"none"}}}}}ngOnInit(){this.analyticsService.logViewedBannerEvent(Ce,{source:ie})}onClickLearnMore(){this.analyticsService.logGroupMeetingClick("learnMoreAboutGroupMeetings",ie),this.dialogService.openGroupMeetingBetaLiveHostAnnouncementDialog()}};t.\u0275fac=function(e){return new(e||t)(l(y),l(b))},t.\u0275cmp=x({type:t,selectors:[["fm-group-meeting-beta-live-host-announcement-banner"]],decls:3,vars:1,consts:[["container",""],["severity","info","styleClass","w-full !rou
1nded-none",1,"text-center",3,"dt"],[1,"flex","min-h-8","w-full","items-center","justify-center","bg-[var(--p-blue-200)]","px-2","text-sm","font-medium","leading-normal","text-[var(--p-surface-700)]"],["aria-hidden","true",1,"font-bold"],[1,"font-semibold"],["aria-hidden","true"],["type","button",1,"cursor-pointer","underline","underline-offset-2","hover:no-underline",3,"click"]],template:function(e,d){e&1&&(n(0,"p-message",1),_(1,Se,10,0,"ng-template",null,0,v),o()),e&2&&f("dt",d.pMessageScopedToken)},dependencies:[S,h],encapsulation:2,changeDetection:0});let i=t;return i})();function be(i,t){if(i&1){let s=g();n(0,"div",2)(1,"div"),a(2," \u{1F33C} Want to "),n(3,"span",3),a(4,"Host Group Sessions"),o(),n(5,"span",4),a(6," on Focusmate? "),o(),n(7,"button",5),u("click",function(){m(s);let e=c();return p(e.openHostRecruitmentDialog())}),a(8," Learn more "),o()(),n(9,"button",6),u("click",function(){m(s);let e=c();return p(e.onDismissBanner())}),B(10,"i",7),o()()}}var ye="Group Meeting: Host Recruitment",F="groupMeetingHostRecruitmentBanner",dt=(()=>{let t=class t{constructor(r,e){this.analyticsService=r,this.dialogService=e,this.dismissBanner=new M,this.pMessageScopedToken={content:{gap:"0.5rem",padding:"0rem 0.75rem"}}}ngOnInit(){this.analyticsService.logViewedBannerEvent(ye,{source:F})}openHostRecruitmentDialog(){this.analyticsService.logGroupMeetingClick("learnMoreAboutHostRecruitment",F),this.dialogService.openGroupMeetingHostRecruitmentDialog()}onDismissBanner(){this.analyticsService.logGroupMeetingClick("dismissHostRecruitmentBanner",F),this.dismissBanner.emit()}};t.\u0275fac=function(e){return new(e||t)(l(y),l(b))},t.\u0275cmp=x({type:t,selectors:[["fm-host-recruitment-banner"]],outputs:{dismissBanner:"dismissBanner"},decls:3,vars:1,consts:[["container",""],["severity","info","variant","text","styleClass","w-full text-center !rounded-none !py-0",1,"text-center",3,"dt"],[1,"relative","flex","min-h-[32px]","w-full","items-center","justify-center","px-11","text-sm","font-medium","leading-normal"],[1,"font-semibold"],["aria-hidden","true"],["type","button",1,"cursor-pointer","underline","underline-offset-2","hover:no-underline",3,"click"],["type","button","aria-label","Dismiss host recruitment banner",1,"absolute","right-2","top-1/2","flex","size-8","-translate-y-1/2","items-center","justify-center","rounded-lg","transition-opacity","hover:opacity-70",3,"click"],[1,"pi","pi-times","text-sm","leading-none"]],template:function(e,d){e&1&&(n(0,"p-message",1),_(1,be,11,0,"ng-template",null,0,v),o()),e&2&&f("dt",d.pMessageScopedToken)},dependencies:[S,h],encapsulation:2,changeDetection:0});let i=t;return i})();function Me(i,t){if(i&1){let s=g();n(0,"div",2),a(1," Your account is suspended. "),n(2,"fa-icon",3),u("click",function(){m(s);let e=c();return p(e.openSuspension.emit())}),o()()}if(i&2){let s=c();C(2),f("icon",s.faInfoCircle)}}var bt=(()=>{let t=class t{constructor(){this.openSuspension=new M,this.faInfoCircle=A}};t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=x({type:t,selectors:[["fm-suspended-banner"]],outputs:{openSuspension:"openSuspension"},decls:3,vars:0,consts:[["container",""],["severity","error","variant","text","styleClass","w-full text-center !rounded-none",1,"text-center"],[1,"w-full","mx-auto"],[2,"cursor","pointer",3,"click","icon"]],template:function(e,d){e&1&&(n(0,"p-message",1),_(1,Me,3,1,"ng-template",2,0,v),o())},dependencies:[V,T,S,h],encapsulation:2,changeDetection:0});let i=t;return i})();function we(i,t){if(i&1){let s=g();n(0,"div",2),u("click",function(){m(s);let e=c();return p(e.timeSyncInfo())}),n(1,"div")(2,"span",3),a(3," WARNING:"),o(),a(4," Your system time may be out of sync "),o(),n(5,"div",4),B(6,"fa-icon",5),o()()}if(i&2){let s=c();C(6),f("icon",s.faCircleInfo)}}var Et=(()=>{let t=class t{constructor(r){this.dialogService=r,this.faCircleInfo=K}ngOnInit(){}timeSyncInfo(){this.dialogService.openTimeSyncInfoDialog()}};t.\u0275fac=function(e){return new(e||t)(l(b))},t.\u0275cmp=x({type:t,selectors:[["fm-time-sync-banner"]],decls:3,vars:0,consts:[["container",""],["severity","contrast","variant","text","closeable","","styleClass","w-full text-center !rounded-none",1,"text-center"],[1,"w-full","flex","items-center","justify-center",3,"click"],[1,"font-semibold"],[1,"ml-1","mt-0.5"],[1,"curs
1or-pointer",3,"icon"]],template:function(e,d){e&1&&(n(0,"p-message",1),_(1,we,7,1,"ng-template",null,0,v),o())},dependencies:[V,T,S,h],encapsulation:2,changeDetection:0});let i=t;return i})();export{Ae as a,Ke as b,et as c,nt as d,st as e,dt as f,bt as g,Et as h}; 2//# sourceMappingURL=chunk-LICTWRBF.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.