1import{a as G,b as L}from"./chunk-5OW7JVFZ.js";import"./chunk-DVY24MG7.js";import{_c as j,dd as I,oe as q}from"./chunk-X3UW4FV3.js";import"./chunk-3KUWIZFM.js";import{oa as U,za as D}from"./chunk-QTYJNS4L.js";import{Gb as x,Ib as s,Kb as R,Ra as P,Ue as M,Ve as B,Wa as d,Xc as E,Yb as m,_b as T,bb as b,db as V,jb as h,jd as H,kc as _,kd as g,pb as y,qd as A,rb as C,sd as z,wb as f,wd as F,xb as e,xc as w,ya as r,yb as t,za as l,zb as S}from"./chunk-NFWLLSTH.js";var v=()=>({autofocus:!1});function Q(n,c){if(n&1){let k=x();e(0,"p-button",23),s("click",function(){r(k);let p=R();return l(p.goBack())}),t()}n&2&&f("buttonProps",_(2,v))("outlined",!0)}function W(n,c){n&1&&(e(0,"div",24)(1,"div",25),m(2,"Common Questions"),t(),S(3,"div",26),t())}function J(n,c){n&1&&(e(0,"div",24)(1,"div",25),m(2,"Community Guidelines"),t(),S(3,"div",26),t())}function K(n,c){n&1&&(e(0,"div",25),m(1,"Watch a quick demo video"),t())}function O(n,c){n&1&&(e(0,"div",25),m(1,"Report a recent partner"),t())}function X(n,c){if(n&1){let k=x();e(0,"p-button",27),s("click",function(){r(k);let p=R();return l(p.openThemeShowcase())}),t()}n&2&&f("buttonProps",_(1,v))}var fe=(()=>{let c=class c{constructor(i,p,o,a,u,N){this.utilsService=i,this.sanitizer=p,this.router=o,this.route=a,this.dialogService=u,this.viewPortService=N,this.buildNumber=g.applicationVersion,this.isProduction=!1,this.currentUser=this.route.snapshot.data.currentUser,g.marketingHomeUrlShort==="focusmate.com"&&(this.isProduction=!0)}get isMobile(){return this.viewPortService.isMobile()}get watchDemoLabel(){let i=this.viewPortService.width();return i>=908&&i<1100?"Watch":"Watch Demo"}get viewPartnersLabel(){let i=this.viewPortService.width();return i>=908&&i<1100?"Partners":"View recent partners"}goBack(){this.router.navigate(["/dashboard"])}onCommonQuestionsClick(){this.router.navigate(["/help/faq"])}onCommunityGuidelinesClick(){this.router.navigate(["/help/guidelines"])}openTerms(){window.open(g.marketingHomeUrl+"/terms","_blank")}openPrivacy(){window.open(g.marketingHomeUrl+"/privacy","_blank")}openGettingStarted(){window.open("https://support.focusmate.com/en/articles/9110188-getting-started","_blank")}openHelpCenter(){window.open("https://support.focusmate.com/en/","_blank")}openTroubleshooting(){window.open("https://support.focusmate.com/en/collections/2347673-troubleshooting","_blank")}openReportBug(){let i=this.utilsService.createReportBugFormLink(this.currentUser),p=this.sanitizer.sanitize(P.URL,i);p&&window.open(p,"_blank")}openContactUs(){window.location.href="mailto:[email protected]"}openAdminConsole(){this.router.navigate(["/admin"])}openThemeShowcase(){this.router.navigate(["/theme"])}openDemoVideo(){this.dialogService.openDemoVideoDialog()}openReportRecentPartners(){this.dialogService.openReportRecentPartnersDialog().onClose.subscribe(i=>{i&&this.dialogService.openReportProfile(i.userId,i.photoUrl,i.firstName,i.displayName,"recent-partners-help")})}};c.\u0275fac=function(p){return new(p||c)(b(U),b(H),b(z),b(A),b(q),b(D))},c.\u0275cmp=V({type:c,selectors:[["fm-help"]],decls:43,vars:17,consts:[["header",""],[1,"flex","flex-col","h-full","bg-p-content-background","bp908:rounded-2xl","overflow-hidden","shadow-fm","font-inter","animation-fade-in"],[1,"w-full","h-full","p-[24px]","pb-0","overflow-y-auto","flex","flex-col","gap-[24px]","font-inter"],[1,"text-[24px]","font-semibold","text-color","flex","items-center","gap-4"],["severity","secondary","icon","pi pi-arrow-left","aspect","square",3,"buttonProps","outlined"],[1,"flex","flex-col","bp908:flex-row","gap-[16px]"],["styleClass","hover:bg-p-content-hover-background transition-colors duration-200 cursor-pointer",1,"flex-1","cursor-pointer",3,"click"],[1,"font-normal","text-muted-color"],[1,"font-normal","text-muted-color","mb-[12px]"],[1,"flex","flex-col","gap-[16px]"],[1,"text-[16px]","font-semibold","text-color"],[1,"flex","flex-col","bp908:flex-row","bp908:flex-wrap","items-start","gap-[8px]"],["severity","secondary","outlined","","size","small","label","Getting Started","icon","pi pi-arrow-right",1,"w-auto",3,"click","buttonProps"],["severity","secondary","outlined","","size","small","label","Help Center","icon","pi pi-book",1,"w-auto",3,"click","buttonProps"],["severity","secondary","outlined","","size","small","label","Troubleshooting","icon","pi pi-wrench",1,"w-auto",3,"click","buttonProps"],["severity","secondary","outlined","","size","small","label","Report a Bug","icon","pi pi-flag",1,"w-auto",3,"click","buttonProps"],["severity","secondary","outlined","","size","small","label","Contact Us","icon","pi pi-envelope",1,"w-auto",3,"click","buttonProps"],["severity","secondary","outlined","","size","small","label","Theme showcase","icon","pi pi-palette",1,"w-auto",3,"buttonProps"],[1,"mt-auto","pt-[24px]","pb-[16px]","flex","flex-col","gap-[16px]"],[1,"text-[12.25px]","font-normal","text-muted-color"],[1,"flex","gap-[8px]"],["severity","secondary","variant","text","size","small","label","Terms",3,"click","buttonProps"],["severity","secondary","variant","text","size","small","label","Privacy",3,"click","buttonProps"],["severity","secondary","icon","pi pi-arrow-left","aspect","square",3,"click","buttonProps","outlined"],[1,"flex","justify-between","items-center","w-full"],[1,"font-medium"],[1,"pi","pi-chevron-right",2,"font-size","12.25px"],["severity","secondary","outlined","","size","small","label","Theme showcase","icon","pi pi-palette",1,"w-auto",3,"click","buttonProps"]],template:function(p,o){if(p&1){let a=x();e(0,"div",1)(1,"div",2)(2,"div",3),y(3,Q,1,3,"p-button",4),m(4," Help and Resources"),t(),e(5,"div",5)(6,"p-panel",6),s("click",function(){return r(a),l(o.onCommonQuestionsClick())}),h(7,W,4,0,"ng-template",null,0,w),e(9,"div",7),m(10," Get quick answers to frequently asked questions about sessions, scheduling, tech setup, and more to help you get the most out of Focusmate. "),t()(),e(11,"p-panel",6),s("click",function(){return r(a),l(o.onCommunityGuidelinesClick())}),h(12,J,4,0,"ng-template",null,0,w),e(14,"div",7),m(15," Learn how to show up respectfully, stay accountable, and create a supportive, distraction-free experience for everyone in the Focusmate community. "),t()()(),e(16,"div",5)(17,"p-panel",6),s("click",function(){return r(a),l(o.openDemoVideo())}
1),h(18,K,2,0,"ng-template",null,0,w),e(20,"div",8),m(21," Learn the basics of scheduling sessions, joining calls, and making the most of your Focusmate experience. "),t()(),e(22,"p-panel",6),s("click",function(){return r(a),l(o.openReportRecentPartners())}),h(23,O,2,0,"ng-template",null,0,w),e(25,"div",7),m(26," Report a recent partner, even if your session together was canceled. "),t()()(),e(27,"div",9)(28,"div",10),m(29,"Helpful Links"),t(),e(30,"div",11)(31,"p-button",12),s("click",function(){return r(a),l(o.openGettingStarted())}),t(),e(32,"p-button",13),s("click",function(){return r(a),l(o.openHelpCenter())}),t(),e(33,"p-button",14),s("click",function(){return r(a),l(o.openTroubleshooting())}),t(),e(34,"p-button",15),s("click",function(){return r(a),l(o.openReportBug())}),t(),e(35,"p-button",16),s("click",function(){return r(a),l(o.openContactUs())}),t(),y(36,X,1,2,"p-button",17),t()(),e(37,"div",18)(38,"div",19),m(39),t(),e(40,"div",20)(41,"p-button",21),s("click",function(){return r(a),l(o.openTerms())}),t(),e(42,"p-button",22),s("click",function(){return r(a),l(o.openPrivacy())}),t()()()()()}p&2&&(d(3),C(o.isMobile?3:-1),d(28),f("buttonProps",_(10,v)),d(),f("buttonProps",_(11,v)),d(),f("buttonProps",_(12,v)),d(),f("buttonProps",_(13,v)),d(),f("buttonProps",_(14,v)),d(),C(o.isProduction?-1:36),d(3),T("Build: ",o.buildNumber),d(2),f("buttonProps",_(15,v)),d(),f("buttonProps",_(16,v)))},dependencies:[E,F,I,j,L,G,B,M],encapsulation:2});let n=c;return n})();export{fe as HelpAndResourcesComponent}; 2//# sourceMappingURL=chunk-AWIZLPXS.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.