vendor: 66,666 bytes, line 1
1import{a as Re,b as yo}from"./chunk-E7K554HB.js";import{a as $e,b as Tl,c as Ml}from"./chunk-HVTX4QCH.js";import{a as Eo,b as El,c as Bl,d as Il,e as Al,f as Dl,g as Rl,h as Fl}from"./chunk-7PVJM42H.js";import{a as xl}from"./chunk-PZLM7DL7.js";import{a as Sl}from"./chunk-UPFJAHA6.js";import{b as kl}from"./chunk-UB5Q7HX4.js";import{a as wl}from"./chunk-SBYIURU5.js";import{a as hn,b as gn}from"./chunk-MW2L3MDM.js";import{a as Yi,b as yl}from"./chunk-34ST3DWD.js";import{a as ia}from"./chunk-DPNIXA7N.js";import{$b as tn,A as ta,Ac as el,Ad as dl,Bd as mn,C as St,Cb as za,Cd as ul,D as it,Db as Ha,Dd as ml,Eb as ja,Ed as Go,Fb as Wa,Fd as pl,G as oa,Ga as Ca,Gb as Ga,Gd as pn,H as L,Ha as ya,Hb as qa,Hd as fl,Ia as Sa,Ib as Zi,Ja as ka,Jb as Ge,La as wa,Ma as xa,Mb as Qa,Mc as ln,Na as Ta,Nb as Ya,O as Fe,Pa as Ma,Q as ca,Qa as Ea,R as da,Sa as Gt,Sd as hl,Ta as $i,Tb as $a,Tc as tl,Td as Mo,U as Wi,Ua as Ba,Ub as Xi,V as ua,Va as Ia,W as ma,X as pa,Zb as Ji,Zc as ol,Zd as gl,_ as Rt,_b as en,_d as fn,b as hs,bb as Aa,bd as xt,ca as G,cb as Da,cc as Ka,da as z,db as xo,e as bo,ea as fa,ed as il,f as gs,fa as ha,fc as Za,ga as Z,gb as Ra,gd as nl,ge as bl,h as bs,ha as Ve,hb as Fa,hd as rl,he as vl,ib as Pa,id as sl,ie as _l,j as vo,ja as ga,je as Cl,k as vs,ka as ba,kb as To,kc as Xa,kd as al,lb as Na,ma as va,mb as La,nb as Va,nd as ll,ne as fe,oc as on,pa as Qi,pb as Ki,pc as nn,qc as rn,rb as Ua,rc as sn,s as We,sc as an,t as Bi,u as ks,wa as _a,wc as Ja,wd as cn,x as jt,xd as cl,y as Ui,yd as dn,z as Co,zd as un}from"./chunk-BPMIFNOR.js";import{c as Gi,d as qi}from"./chunk-QNI5GR7H.js";import{$ as Bs,$b as kt,Aa as Rs,Ca as Fs,Fa as Ps,Ga as Ns,Hb as De,Ib as Xs,Ja as Ls,Pa as Os,Qa as Vs,Ra as Us,Sa as zs,U as ir,Ub as Js,V as ws,Va as Pi,Wb as ea,X as xs,Xa as Hs,Xb as Oi,Y as Ts,Yb as Vi,Z as Ms,_ as Es,_a as js,aa as Is,ac as Oa,ba as Di,cb as Ws,da as Ri,eb as Gs,gb as _o,ha as Fi,kb as qs,la as Se,lb as Qs,ma as As,mb as Ys,nb as $s,q as Ai,rb as Ks,vb as Zs,wa as ke,wb as Ni,xa as Ds,xb as Li,ya as nr,za as ot}from"./chunk-3SOHUSEO.js";import{$ as mi,$a as Je,$b as _t,$c as go,Ab as Ci,Ba as es,Bb as yi,Cb as et,D as qr,Da as be,Db as x,E as Zt,Ea as uo,Eb as fo,Ec as as,Fa as ts,Fb as _,Fc as ho,G as Qr,Ga as He,H as co,Ha as hi,Hb as u,Hc as tt,He as Hi,Ib as rs,Ic as eo,Id as rr,Ie as sa,J as Yr,Ja as gi,Jb as ss,Jd as ra,Je as ji,K as $r,Ka as lt,Kb as Si,Ke as Wo,L as zo,La as Jn,Lb as Oe,M as ci,Mb as J,Me as aa,Nb as ee,Nc as W,Ne as la,O as Kr,Oa as er,Oc as wi,Pc as ls,Q as zt,Qa as bi,Qc as xi,Ra as vi,Rb as oe,Re as wt,S as di,Sc as Ti,T as Zr,Ta as c,Tb as ki,Tc as yt,Td as sr,Ub as Xt,Ue as wo,Vb as ue,Vc as cs,W as ge,Wa as os,Wb as S,Xb as je,Xc as O,Ya as f,Yb as me,Z as Xn,Zb as Ht,Zc as ds,_ as ui,_a as T,_b as vt,_c as us,a as he,ac as Ct,af as ne,b as ao,bf as re,cb as _i,cd as or,da as Xr,db as ct,dd as ms,e as Gr,eb as U,fa as pi,fd as Mi,g as Zn,ga as N,gb as is,gc as Ho,gd as Ei,hd as ps,i as Kt,ia as Jr,ib as Y,ic as M,id as fs,jc as $,k as lo,kc as Ae,kd as Ce,la as Q,lc as jo,ld as Ii,m as X,mb as b,md as _s,oa as te,ob as v,oe as So,pa as Xe,pb as ns,pe as Wt,qa as fi,qd as Cs,ra as K,rb as mo,rc as ae,rd as ys,sa as de,sb as po,sc as Ee,sd as pe,tb as m,tc as Jt,td as ie,te as zi,ub as a,ud as ye,vb as d,vc as ve,vd as Ss,wa as C,wb as h,wd as j,xa as y,xb as dt,xc as _e,xd as na,xe as ko,ya as ze,yb as ut,yc as tr,ye as Dt,zb as At,zc as mt}from"./chunk-XG6YRYXO.js";var V=(function(o){return o[o.State=0]="State",o[o.Transition=1]="Transition",o[o.Sequence=2]="Sequence",o[o.Group=3]="Group",o[o.Animate=4]="Animate",o[o.Keyframes=5]="Keyframes",o[o.Style=6]="Style",o[o.Trigger=7]="Trigger",o[o.Reference=8]="Reference",o[o.AnimateChild=9]="AnimateChild",o[o.AnimateRef=10]="AnimateRef",o[o.Query=11]="Query",o[o.Stagger=12]="Stagger",o})(V||{}),pt="*";function Pl(o,t=null){return{type:V.Sequence,steps:o,options:t}}function ar(o){return{type:V.Style,styles:o,offset:null}}var Ft=class{_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_originalOnDoneFns=[];_originalOnStartFns=[];_started=!1;_destroyed=!1;_finished=!1;_position=0;parentPlayer=null;totalTime;constructor(t=0,e=0){this.totalTime=t+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(t){this._position=this.totalTime?t*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(t){let e=t=="start"?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}},Bo=class{_onDoneFns=[];_onStartFns=[];_finished=!1;_started=!1;_destroyed=!1;_onDestroyFns=[];parentPlayer=null;totalTime=0;players;constructor(t){this.players=t;let e=0,i=0,n=0,r=this.players.length;r==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++e==r&&this._onFinish()}),s.onDestroy(()=>{++i==r&&this._onDestroy()}),s.onStart(()=>{++n==r&&this._onStart()})}),this.totalTime=this.players.reduce((s,l)=>Math.max(s,l.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this.players.forEach(t=>t.init())}onStart(t){this._onStartFns.push(t)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(t=>t()),this._onStartFns=[])}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(t=>t.play())}pause(){this.players.forEach(t=>t.pause())}restart(){this.players.forEach(t=>t.restart())}finish(){this._onFinish(),this.players.forEach(t=>t.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(t=>t.destroy()),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this.players.forEach(t=>t.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(t){let e=t*this.totalTime;this.players.forEach(i=>{let n=i.totalTime?Math.min(1,e/i.totalTime):1;i.setPosition(n)})}getPosition(){let t=this.players.reduce((e,i)=>e===null||i.totalTime>e.totalTime?i:e,null);return t!=null?t.getPosition():0}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy()})}triggerCallback(t){let e=t=="start"?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}},qo="!";function Nl(o){return new Q(3e3,!1)}function xm(){return new Q(3100,!1)}function Tm(){return new Q(3101,!1)}function Mm(o){return new Q(3001,!1)}function Em(o){return new Q(3003,!1)}function Bm(o){return new Q(3004,!1)}function Ol(o,t){return new Q(3005,!1)}function Vl(){return new Q(3006,!1)}function Ul(){return new Q(3007,!1)}function zl(o,t){return new Q(3008,!1)}function Hl(o){return new Q(3002,!1)}function jl(o,t,e,i,n){return new Q(3010,!1)}function Wl(){return new Q(3011,!1)}function Gl(){return new Q(3012,!1)}function ql(){return new Q(3200,!1)}function Ql(){return new Q(3202,!1)}function Yl(){return new Q(3013,!1)}function $l(o){return new Q(3014,!1)}function Kl(o){return new Q(3015,!1)}function Zl(o){return new Q(3016,!1)}function Xl(o,t){return new Q(3404,!1)}function Im(o){return new Q(3502,!1)}function Jl(o){return new Q(3503,!1)}function ec(){return new Q(3300,!1)}function tc(o){return new Q(3504,!1)}function oc(o){return new Q(3301,!1)}function ic(o,t){return new Q(3302,!1)}function nc(o){return new Q(3303,!1)}function rc(o,t){return new Q(3400,!1)}function sc(o){return new Q(3401,!1)}function ac(o){return new Q(3402,!1)}function lc(o,t){return new Q(3505,!1)}function Pt(o){switch(o.length){case 0:return new Ft;case 1:return o[0];default:return new Bo(o)}}function ur(o,t,e=new Map,i=new Map){let n=[],r=[],s=-1,l=null;if(t.forEach(p=>{let g=p.get("offset"),k=g==s,w=k&&l||new Map;p.forEach((F,I)=>{let E=I,A=F;if(I!=="offset")switch(E=o.normalizePropertyName(E,n),A){case qo:A=e.get(I);break;case pt:A=i.get(I);break;default:A=o.normalizeStyleValue(I,E,A,n);break}w.set(E,A)}),k||r.push(w),l=w,s=g}),n.length)throw Im(n);return r}function bn(o,t,e,i){switch(t){case"start":o.onStart(()=>i(e&&lr(e,"start",o)));break;case"done":o.onDone(()=>i(e&&lr(e,"done",o)));break;case"destroy":o.onDestroy(()=>i(e&&lr(e,"destroy",o)));break}}function lr(o,t,e){let i=e.totalTime,n=!!e.disabled,r=vn(o.element,o.triggerName,o.fromState,o.toState,t||o.phaseName,i??o.totalTime,n),s=o._data;return s!=null&&(r._data=s),r}function vn(o,t,e,i,n="",r=0,s){return{element:o,triggerName:t,fromState:e,toState:i,phaseName:n,totalTime:r,disabled:!!s}}function qe(o,t,e){let i=o.get(t);return i||o.set(t,i=e),i}function mr(o){let t=o.indexOf(":"),e=o.substring(1,t),i=o.slice(t+1);return[e,i]}var Am=typeof document>"u"?null:document.documentElement;function _n(o){let t=o.parentNode||o.host||null;return t===Am?null:t}function Dm(o){return o.substring(1,6)=="ebkit"}var to=null,Ll=!1;function cc(o){to||(to=Rm()||{},Ll=to.style?"WebkitAppearance"in to.style:!1);let t=!0;return to.style&&!Dm(o)&&(t=o in to.style,!t&&Ll&&(t="Webkit"+o.charAt(0).toUpperCase()+o.slice(1)in to.style)),t}function Rm(){return typeof document<"u"?document.body:null}function pr(o,t){for(;t;){if(t===o)return!0;t=_n(t)}return!1}function fr(o,t,e){if(e)return Array.from(o.querySelectorAll(t));let i=o.querySelector(t);return i?[i]:[]}var Fm=1e3,hr="{{",Pm="}}",gr="ng-enter",Cn="ng-leave",Qo="ng-trigger",Yo=".ng-trigger",br="ng-animating",yn=".ng-animating";function Tt(o){if(typeof o=="number")return o;let t=o.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:cr(parseFloat(t[1]),t[2])}function cr(o,t){return t==="s"?o*Fm:o}function $o(o,t,e){return o.hasOwnProperty("duration")?o:Lm(o,t,e)}var Nm=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i;function Lm(o,t,e){let i,n=0,r="";if(typeof o=="string"){let s=o.match(Nm);if(s===null)return t.push(Nl(o)),{duration:0,delay:0,easing:""};i=cr(parseFloat(s[1]),s[2]);let l=s[3];l!=null&&(n=cr(parseFloat(l),s[4]));let p=s[5];p&&(r=p)}else i=o;if(!e){let s=!1,l=t.length;i<0&&(t.push(xm()),s=!0),n<0&&(t.push(Tm()),s=!0),s&&t.splice(l,0,Nl(o))}return{duration:i,delay:n,easing:r}}function dc(o){return o.length?o[0]instanceof Map?o:o.map(t=>new Map(Object.entries(t))):[]}function ft(o,t,e){t.forEach((i,n)=>{let r=Sn(n);e&&!e.has(n)&&e.set(n,o.style[r]),o.style[r]=i})}function qt(o,t){t.forEach((e,i)=>{let n=Sn(i);o.style[n]=""})}function Io(o){return Array.isArray(o)?o.length==1?o[0]:Pl(o):o}function uc(o,t,e){let i=t.params||{},n=vr(o);n.length&&n.forEach(r=>{i.hasOwnProperty(r)||e.push(Mm(r))})}var dr=new RegExp(`${hr}\\s*(.+?)\\s*${Pm}`,"g");function vr(o){let t=[];if(typeof o=="string"){let e;for(;e=dr.exec(o);)t.push(e[1]);dr.lastIndex=0}return t}function Ao(o,t,e){let i=`${o}`,n=i.replace(dr,(r,s)=>{let l=t[s];return l==null&&(e.push(Em(s)),l=""),l.toString()});return n==i?o:n}var Om=/-+([a-z0-9])/g;function Sn(o){return o.replace(Om,(...t)=>t[1].toUpperCase())}function mc(o,t){return o===0||t===0}function pc(o,t,e){if(e.size&&t.length){let i=t[0],n=[];if(e.forEach((r,s)=>{i.has(s)||n.push(s),i.set(s,r)}),n.length)for(let r=1;r<t.length;r++){let s=t[r];n.forEach(l=>s.set(l,kn(o,l)))}}return t}function Qe(o,t,e){switch(t.type){case V.Trigger:return o.visitTrigger(t,e);case V.State:return o.visitState(t,e);case V.Transition:return o.visitTransition(t,e);case V.Sequence:return o.visitSequence(t,e);case V.Group:return o.visitGroup(t,e);case V.Animate:return o.visitAnimate(t,e);case V.Keyframes:return o.visitKeyframes(t,e);case V.Style:return o.visitStyle(t,e);case V.Reference:return o.visitReference(t,e);case V.AnimateChild:return o.visitAnimateChild(t,e);case V.AnimateRef:return o.visitAnimateRef(t,e);case V.Query:return o.visitQuery(t,e);case V.Stagger:return o.visitStagger(t,e);default:throw Bm(t.type)}}function kn(o,t){return window.getComputedStyle(o)[t]}var Pr=(()=>{class o{validateStyleProperty(e){return cc(e)}containsElement(e,i){return pr(e,i)}getParentElement(e){return _n(e)}query(e,i,n){return fr(e,i,n)}computeStyle(e,i,n){return n||""}animate(e,i,n,r,s,l=[],p){return new Ft(n,r)}static \u0275fac=function(i){return new(i||o)};static \u0275prov=te({token:o,factory:o.\u0275fac})}return o})(),io=class{static NOOP=new Pr},no=class{};var Vm=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]),En=class extends no{normalizePropertyName(t,e){return Sn(t)}normalizeStyleValue(t,e,i,n){let r="",s=i.toString().trim();if(Vm.has(e)&&i!==0&&i!=="0")if(typeof i=="number")r="px";else{let l=i.match(/^[+-]?[\d\.]+([a-z]*)$/);l&&l[1].length==0&&n.push(Ol(t,i))}return s+r}};var Bn="*";function Um(o,t){let e=[];return typeof o=="string"?o.split(/\s*,\s*/).forEach(i=>zm(i,e,t)):e.push(o),e}function zm(o,t,e){if(o[0]==":"){let p=Hm(o,e);if(typeof p=="function"){t.push(p);return}o=p}let i=o.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(i==null||i.length<4)return e.push(Kl(o)),t;let n=i[1],r=i[2],s=i[3];t.push(fc(n,s));let l=n==Bn&&s==Bn;r[0]=="<"&&!l&&t.push(fc(s,n))}function Hm(o,t){switch(o){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,i)=>parseFloat(i)>parseFloat(e);case":decrement":return(e,i)=>parseFloat(i)<parseFloat(e);default:return t.push(Zl(o)),"* => *"}}var wn=new Set(["true","1"]),xn=new Set(["false","0"]);function fc(o,t){let e=wn.has(o)||xn.has(o),i=wn.has(t)||xn.has(t);return(n,r)=>{let s=o==Bn||o==n,l=t==Bn||t==r;return!s&&e&&typeof n=="boolean"&&(s=n?wn.has(o):xn.has(o)),!l&&i&&typeof r=="boolean"&&(l=r?wn.has(t):xn.has(t)),s&&l}}var wc=":self",jm=new RegExp(`s*${wc}s*,?`,"g");function xc(o,t,e,i){return new wr(o).build(t,e,i)}var hc="",wr=class{_driver;constructor(t){this._driver=t}build(t,e,i){let n=new xr(e);return this._resetContextStyleTimingState(n),Qe(this,Io(t),n)}_resetContextStyleTimingState(t){t.currentQuerySelector=hc,t.collectedStyles=new Map,t.collectedStyles.set(hc,new Map),t.currentTime=0}visitTrigger(t,e){let i=e.queryCount=0,n=e.depCount=0,r=[],s=[];return t.name.charAt(0)=="@"&&e.errors.push(Vl()),t.definitions.forEach(l=>{if(this._resetContextStyleTimingState(e),l.type==V.State){let p=l,g=p.name;g.toString().split(/\s*,\s*/).forEach(k=>{p.name=k,r.push(this.visitState(p,e))}),p.name=g}else if(l.type==V.Transition){let p=this.visitTransition(l,e);i+=p.queryCount,n+=p.depCount,s.push(p)}else e.errors.push(Ul())}),{type:V.Trigger,name:t.name,states:r,transitions:s,queryCount:i,depCount:n,options:null}}visitState(t,e){let i=this.visitStyle(t.styles,e),n=t.options&&t.options.params||null;if(i.containsDynamicStyles){let r=new Set,s=n||{};i.styles.forEach(l=>{l instanceof Map&&l.forEach(p=>{vr(p).forEach(g=>{s.hasOwnProperty(g)||r.add(g)})})}),r.size&&e.errors.push(zl(t.name,[...r.values()]))}return{type:V.State,name:t.name,style:i,options:n?{params:n}:null}}visitTransition(t,e){e.queryCount=0,e.depCount=0;let i=Qe(this,Io(t.animation),e),n=Um(t.expr,e.errors);return{type:V.Transition,matchers:n,animation:i,queryCount:e.queryCount,depCount:e.depCount,options:oo(t.options)}}visitSequence(t,e){return{type:V.Sequence,steps:t.steps.map(i=>Qe(this,i,e)),options:oo(t.options)}}visitGroup(t,e){let i=e.currentTime,n=0,r=t.steps.map(s=>{e.currentTime=i;let l=Qe(this,s,e);return n=Math.max(n,e.currentTime),l});return e.currentTime=n,{type:V.Group,steps:r,options:oo(t.options)}}visitAnimate(t,e){let i=Qm(t.timings,e.errors);e.currentAnimateTimings=i;let n,r=t.styles?t.styles:ar({});if(r.type==V.Keyframes)n=this.visitKeyframes(r,e);else{let s=t.styles,l=!1;if(!s){l=!0;let g={};i.easing&&(g.easing=i.easing),s=ar(g)}e.currentTime+=i.duration+i.delay;let p=this.visitStyle(s,e);p.isEmptyStep=l,n=p}return e.currentAnimateTimings=null,{type:V.Animate,timings:i,style:n,options:null}}visitStyle(t,e){let i=this._makeStyleAst(t,e);return this._validateStyleAst(i,e),i}_makeStyleAst(t,e){let i=[],n=Array.isArray(t.styles)?t.styles:[t.styles];for(let l of n)typeof l=="string"?l===pt?i.push(l):e.errors.push(Hl(l)):i.push(new Map(Object.entries(l)));let r=!1,s=null;return i.forEach(l=>{if(l instanceof Map&&(l.has("easing")&&(s=l.get("easing"),l.delete("easing")),!r)){for(let p of l.values())if(p.toString().indexOf(hr)>=0){r=!0;break}}}),{type:V.Style,styles:i,easing:s,offset:t.offset,containsDynamicStyles:r,options:null}}_validateStyleAst(t,e){let i=e.currentAnimateTimings,n=e.currentTime,r=e.currentTime;i&&r>0&&(r-=i.duration+i.delay),t.styles.forEach(s=>{typeof s!="string"&&s.forEach((l,p)=>{let g=e.collectedStyles.get(e.currentQuerySelector),k=g.get(p),w=!0;k&&(r!=n&&r>=k.startTime&&n<=k.endTime&&(e.errors.push(jl(p,k.startTime,k.endTime,r,n)),w=!1),r=k.startTime),w&&g.set(p,{startTime:r,endTime:n}),e.options&&uc(l,e.options,e.errors)})})}visitKeyframes(t,e){let i={type:V.Keyframes,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push(Wl()),i;let n=1,r=0,s=[],l=!1,p=!1,g=0,k=t.steps.map(se=>{let le=this._makeStyleAst(se,e),Te=le.offset!=null?le.offset:qm(le.styles),Me=0;return Te!=null&&(r++,Me=le.offset=Te),p=p||Me<0||Me>1,l=l||Me<g,g=Me,s.push(Me),le});p&&e.errors.push(Gl()),l&&e.errors.push(ql());let w=t.steps.length,F=0;r>0&&r<w?e.errors.push(Ql()):r==0&&(F=n/(w-1));let I=w-1,E=e.currentTime,A=e.currentAnimateTimings,H=A.duration;return k.forEach((se,le)=>{let Te=F>0?le==I?1:F*le:s[le],Me=Te*H;e.currentTime=E+A.delay+Me,A.duration=Me,this._validateStyleAst(se,e),se.offset=Te,i.styles.push(se)}),i}visitReference(t,e){return{type:V.Reference,animation:Qe(this,Io(t.animation),e),options:oo(t.options)}}visitAnimateChild(t,e){return e.depCount++,{type:V.AnimateChild,options:oo(t.options)}}visitAnimateRef(t,e){return{type:V.AnimateRef,animation:this.visitReference(t.animation,e),options:oo(t.options)}}visitQuery(t,e){let i=e.currentQuerySelector,n=t.options||{};e.queryCount++,e.currentQuery=t;let[r,s]=Wm(t.selector);e.currentQuerySelector=i.length?i+" "+r:r,qe(e.collectedStyles,e.currentQuerySelector,new Map);let l=Qe(this,Io(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=i,{type:V.Query,selector:r,limit:n.limit||0,optional:!!n.optional,includeSelf:s,animation:l,originalSelector:t.selector,options:oo(t.options)}}visitStagger(t,e){e.currentQuery||e.errors.push(Yl());let i=t.timings==="full"?{duration:0,delay:0,easing:"full"}:$o(t.timings,e.errors,!0);return{type:V.Stagger,animation:Qe(this,Io(t.animation),e),timings:i,options:null}}};function Wm(o){let t=!!o.split(/\s*,\s*/).find(e=>e==wc);return t&&(o=o.replace(jm,"")),o=o.replace(/@\*/g,Yo).replace(/@\w+/g,e=>Yo+"-"+e.slice(1)).replace(/:animating/g,yn),[o,t]}function Gm(o){return o?he({},o):null}var xr=class{errors;queryCount=0;depCount=0;currentTransition=null;currentQuery=null;currentQuerySelector=null;currentAnimateTimings=null;currentTime=0;collectedStyles=new Map;options=null;unsupportedCSSPropertiesFound=new Set;constructor(t){this.errors=t}};function qm(o){if(typeof o=="string")return null;let t=null;if(Array.isArray(o))o.forEach(e=>{if(e instanceof Map&&e.has("offset")){let i=e;t=parseFloat(i.get("offset")),i.delete("offset")}});else if(o instanceof Map&&o.has("offset")){let e=o;t=parseFloat(e.get("offset")),e.delete("offset")}return t}function Qm(o,t){if(o.hasOwnProperty("duration"))return o;if(typeof o=="number"){let r=$o(o,t).duration;return _r(r,0,"")}let e=o;if(e.split(/\s+/).some(r=>r.charAt(0)=="{"&&r.charAt(1)=="{")){let r=_r(0,0,"");return r.dynamic=!0,r.strValue=e,r}let n=$o(e,t);return _r(n.duration,n.delay,n.easing)}function oo(o){return o?(o=he({},o),o.params&&(o.params=Gm(o.params))):o={},o}function _r(o,t,e){return{duration:o,delay:t,easing:e}}function Nr(o,t,e,i,n,r,s=null,l=!1){return{type:1,element:o,keyframes:t,preStyleProps:e,postStyleProps:i,duration:n,delay:r,totalTime:n+r,easing:s,subTimeline:l}}var Zo=class{_map=new Map;get(t){return this._map.get(t)||[]}append(t,e){let i=this._map.get(t);i||this._map.set(t,i=[]),i.push(...e)}has(t){return this._map.has(t)}clear(){this._map.clear()}},Ym=1,$m=":enter",Km=new RegExp($m,"g"),Zm=":leave",Xm=new RegExp(Zm,"g");function Tc(o,t,e,i,n,r=new Map,s=new Map,l,p,g=[]){return new Tr().buildKeyframes(o,t,e,i,n,r,s,l,p,g)}var Tr=class{buildKeyframes(t,e,i,n,r,s,l,p,g,k=[]){g=g||new Zo;let w=new Mr(t,e,g,n,r,k,[]);w.options=p;let F=p.delay?Tt(p.delay):0;w.currentTimeline.delayNextStep(F),w.currentTimeline.setStyles([s],null,w.errors,p),Qe(this,i,w);let I=w.timelines.filter(E=>E.containsAnimation());if(I.length&&l.size){let E;for(let A=I.length-1;A>=0;A--){let H=I[A];if(H.element===e){E=H;break}}E&&!E.allowOnlyTimelineStyles()&&E.setStyles([l],null,w.errors,p)}return I.length?I.map(E=>E.buildKeyframes()):[Nr(e,[],[],[],0,F,"",!1)]}visitTrigger(t,e){}visitState(t,e){}visitTransition(t,e){}visitAnimateChild(t,e){let i=e.subInstructions.get(e.element);if(i){let n=e.createSubContext(t.options),r=e.currentTimeline.currentTime,s=this._visitSubInstructions(i,n,n.options);r!=s&&e.transformIntoNewTimeline(s)}e.previousNode=t}visitAnimateRef(t,e){let i=e.createSubContext(t.options);i.transformIntoNewTimeline(),this._applyAnimationRefDelays([t.options,t.animation.options],e,i),this.visitReference(t.animation,i),e.transformIntoNewTimeline(i.currentTimeline.currentTime),e.previousNode=t}_applyAnimationRefDelays(t,e,i){for(let n of t){let r=n?.delay;if(r){let s=typeof r=="number"?r:Tt(Ao(r,n?.params??{},e.errors));i.delayNextStep(s)}}}_visitSubInstructions(t,e,i){let r=e.currentTimeline.currentTime,s=i.duration!=null?Tt(i.duration):null,l=i.delay!=null?Tt(i.delay):null;return s!==0&&t.forEach(p=>{let g=e.appendInstructionToTimeline(p,s,l);r=Math.max(r,g.duration+g.delay)}),r}visitReference(t,e){e.updateOptions(t.options,!0),Qe(this,t.animation,e),e.previousNode=t}visitSequence(t,e){let i=e.subContextCount,n=e,r=t.options;if(r&&(r.params||r.delay)&&(n=e.createSubContext(r),n.transformIntoNewTimeline(),r.delay!=null)){n.previousNode.type==V.Style&&(n.currentTimeline.snapshotCurrentStyles(),n.previousNode=In);let s=Tt(r.delay);n.delayNextStep(s)}t.steps.length&&(t.steps.forEach(s=>Qe(this,s,n)),n.currentTimeline.applyStylesToKeyframe(),n.subContextCount>i&&n.transformIntoNewTimeline()),e.previousNode=t}visitGroup(t,e){let i=[],n=e.currentTimeline.currentTime,r=t.options&&t.options.delay?Tt(t.options.delay):0;t.steps.forEach(s=>{let l=e.createSubContext(t.options);r&&l.delayNextStep(r),Qe(this,s,l),n=Math.max(n,l.currentTimeline.currentTime),i.push(l.currentTimeline)}),i.forEach(s=>e.currentTimeline.mergeTimelineCollectedStyles(s)),e.transformIntoNewTimeline(n),e.previousNode=t}_visitTiming(t,e){if(t.dynamic){let i=t.strValue,n=e.params?Ao(i,e.params,e.errors):i;return $o(n,e.errors)}else return{duration:t.duration,delay:t.delay,easing:t.easing}}visitAnimate(t,e){let i=e.currentAnimateTimings=this._visitTiming(t.timings,e),n=e.currentTimeline;i.delay&&(e.incrementTime(i.delay),n.snapshotCurrentStyles());let r=t.style;r.type==V.Keyframes?this.visitKeyframes(r,e):(e.incrementTime(i.duration),this.visitStyle(r,e),n.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}visitStyle(t,e){let i=e.currentTimeline,n=e.currentAnimateTimings;!n&&i.hasCurrentStyleProperties()&&i.forwardFrame();let r=n&&n.easing||t.easing;t.isEmptyStep?i.applyEmptyStep(r):i.setStyles(t.styles,r,e.errors,e.options),e.previousNode=t}visitKeyframes(t,e){let i=e.currentAnimateTimings,n=e.currentTimeline.duration,r=i.duration,l=e.createSubContext().currentTimeline;l.easing=i.easing,t.styles.forEach(p=>{let g=p.offset||0;l.forwardTime(g*r),l.setStyles(p.styles,p.easing,e.errors,e.options),l.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(l),e.transformIntoNewTimeline(n+r),e.previousNode=t}visitQuery(t,e){let i=e.currentTimeline.currentTime,n=t.options||{},r=n.delay?Tt(n.delay):0;r&&(e.previousNode.type===V.Style||i==0&&e.currentTimeline.hasCurrentStyleProperties())&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=In);let s=i,l=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!n.optional,e.errors);e.currentQueryTotal=l.length;let p=null;l.forEach((g,k)=>{e.currentQueryIndex=k;let w=e.createSubContext(t.options,g);r&&w.delayNextStep(r),g===e.element&&(p=w.currentTimeline),Qe(this,t.animation,w),w.currentTimeline.applyStylesToKeyframe();let F=w.currentTimeline.currentTime;s=Math.max(s,F)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(s),p&&(e.currentTimeline.mergeTimelineCollectedStyles(p),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t}visitStagger(t,e){let i=e.parentContext,n=e.currentTimeline,r=t.timings,s=Math.abs(r.duration),l=s*(e.currentQueryTotal-1),p=s*e.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":p=l-p;break;case"full":p=i.currentStaggerTime;break}let k=e.currentTimeline;p&&k.delayNextStep(p);let w=k.currentTime;Qe(this,t.animation,e),e.previousNode=t,i.currentStaggerTime=n.currentTime-w+(n.startTime-i.currentTimeline.startTime)}},In={},Mr=class o{_driver;element;subInstructions;_enterClassName;_leaveClassName;errors;timelines;parentContext=null;currentTimeline;currentAnimateTimings=null;previousNode=In;subContextCount=0;options={};currentQueryIndex=0;currentQueryTotal=0;currentStaggerTime=0;constructor(t,e,i,n,r,s,l,p){this._driver=t,this.element=e,this.subInstructions=i,this._enterClassName=n,this._leaveClassName=r,this.errors=s,this.timelines=l,this.currentTimeline=p||new An(this._driver,e,0),l.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,e){if(!t)return;let i=t,n=this.options;i.duration!=null&&(n.duration=Tt(i.duration)),i.delay!=null&&(n.delay=Tt(i.delay));let r=i.params;if(r){let s=n.params;s||(s=this.options.params={}),Object.keys(r).forEach(l=>{(!e||!s.hasOwnProperty(l))&&(s[l]=Ao(r[l],s,this.errors))})}}_copyOptions(){let t={};if(this.options){let e=this.options.params;if(e){let i=t.params={};Object.keys(e).forEach(n=>{i[n]=e[n]})}}return t}createSubContext(t=null,e,i){let n=e||this.element,r=new o(this._driver,n,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(n,i||0));return r.previousNode=this.previousNode,r.currentAnimateTimings=this.currentAnimateTimings,r.options=this._copyOptions(),r.updateOptions(t),r.currentQueryIndex=this.currentQueryIndex,r.currentQueryTotal=this.currentQueryTotal,r.parentContext=this,this.subContextCount++,r}transformIntoNewTimeline(t){return this.previousNode=In,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,e,i){let n={duration:e??t.duration,delay:this.currentTimeline.currentTime+(i??0)+t.delay,easing:""},r=new Er(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,n,t.stretchStartingKeyframe);return this.timelines.push(r),n}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,e,i,n,r,s){let l=[];if(n&&l.push(this.element),t.length>0){t=t.replace(Km,"."+this._enterClassName),t=t.replace(Xm,"."+this._leaveClassName);let p=i!=1,g=this._driver.query(this.element,t,p);i!==0&&(g=i<0?g.slice(g.length+i,g.length):g.slice(0,i)),l.push(...g)}return!r&&l.length==0&&s.push($l(e)),l}},An=class o{_driver;element;startTime;_elementTimelineStylesLookup;duration=0;easing=null;_previousKeyframe=new Map;_currentKeyframe=new Map;_keyframes=new Map;_styleSummary=new Map;_localTimelineStyles=new Map;_globalTimelineStyles;_pendingStyles=new Map;_backFill=new Map;_currentEmptyStepKeyframe=null;constructor(t,e,i,n){this._driver=t,this.element=e,this.startTime=i,this._elementTimelineStylesLookup=n,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(t){let e=this._keyframes.size===1&&this._pendingStyles.size;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,e){return this.applyStylesToKeyframe(),new o(this._driver,t,e||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=Ym,this._loadKeyframe()}forwardTime(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}_updateStyle(t,e){this._localTimelineStyles.set(t,e),this._globalTimelineStyles.set(t,e),this._styleSummary.set(t,{time:this.currentTime,value:e})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&this._previousKeyframe.set("easing",t);for(let[e,i]of this._globalTimelineStyles)this._backFill.set(e,i||pt),this._currentKeyframe.set(e,pt);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,e,i,n){e&&this._previousKeyframe.set("easing",e);let r=n&&n.params||{},s=Jm(t,this._globalTimelineStyles);for(let[l,p]of s){let g=Ao(p,r,i);this._pendingStyles.set(l,g),this._localTimelineStyles.has(l)||this._backFill.set(l,this._globalTimelineStyles.get(l)??pt),this._updateStyle(l,g)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((t,e)=>{this._currentKeyframe.set(e,t)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((t,e)=>{this._currentKeyframe.has(e)||this._currentKeyframe.set(e,t)}))}snapshotCurrentStyles(){for(let[t,e]of this._localTimelineStyles)this._pendingStyles.set(t,e),this._updateStyle(t,e)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let t=[];for(let e in this._currentKeyframe)t.push(e);return t}mergeTimelineCollectedStyles(t){t._styleSummary.forEach((e,i)=>{let n=this._styleSummary.get(i);(!n||e.time>n.time)&&this._updateStyle(i,e.value)})}buildKeyframes(){this.applyStylesToKeyframe();let t=new Set,e=new Set,i=this._keyframes.size===1&&this.duration===0,n=[];this._keyframes.forEach((l,p)=>{let g=new Map([...this._backFill,...l]);g.forEach((k,w)=>{k===qo?t.add(w):k===pt&&e.add(w)}),i||g.set("offset",p/this.duration),n.push(g)});let r=[...t.values()],s=[...e.values()];if(i){let l=n[0],p=new Map(l);l.set("offset",0),p.set("offset",1),n=[l,p]}return Nr(this.element,n,r,s,this.duration,this.startTime,this.easing,!1)}},Er=class extends An{keyframes;preStyleProps;postStyleProps;_stretchStartingKeyframe;timings;constructor(t,e,i,n,r,s,l=!1){super(t,e,s.delay),this.keyframes=i,this.preStyleProps=n,this.postStyleProps=r,this._stretchStartingKeyframe=l,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let t=this.keyframes,{delay:e,duration:i,easing:n}=this.timings;if(this._stretchStartingKeyframe&&e){let r=[],s=i+e,l=e/s,p=new Map(t[0]);p.set("offset",0),r.push(p);let g=new Map(t[0]);g.set("offset",gc(l)),r.push(g);let k=t.length-1;for(let w=1;w<=k;w++){let F=new Map(t[w]),I=F.get("offset"),E=e+I*i;F.set("offset",gc(E/s)),r.push(F)}i=s,e=0,n="",t=r}return Nr(this.element,t,this.preStyleProps,this.postStyleProps,i,e,n,!0)}};function gc(o,t=3){let e=Math.pow(10,t-1);return Math.round(o*e)/e}function Jm(o,t){let e=new Map,i;return o.forEach(n=>{if(n==="*"){i??=t.keys();for(let r of i)e.set(r,pt)}else for(let[r,s]of n)e.set(r,s)}),e}function bc(o,t,e,i,n,r,s,l,p,g,k,w,F){return{type:0,element:o,triggerName:t,isRemovalTransition:n,fromState:e,fromStyles:r,toState:i,toStyles:s,timelines:l,queriedElements:p,preStyleProps:g,postStyleProps:k,totalTime:w,errors:F}}var Cr={},Dn=class{_triggerName;ast;_stateStyles;constructor(t,e,i){this._triggerName=t,this.ast=e,this._stateStyles=i}match(t,e,i,n){return ep(this.ast.matchers,t,e,i,n)}buildStyles(t,e,i){let n=this._stateStyles.get("*");return t!==void 0&&(n=this._stateStyles.get(t?.toString())||n),n?n.buildStyles(e,i):new Map}build(t,e,i,n,r,s,l,p,g,k){let w=[],F=this.ast.options&&this.ast.options.params||Cr,I=l&&l.params||Cr,E=this.buildStyles(i,I,w),A=p&&p.params||Cr,H=this.buildStyles(n,A,w),se=new Set,le=new Map,Te=new Map,Me=n==="void",Ot={params:Mc(A,F),delay:this.ast.options?.delay},Ke=k?[]:Tc(t,e,this.ast.animation,r,s,E,H,Ot,g,w),Pe=0;return Ke.forEach(Ne=>{Pe=Math.max(Ne.duration+Ne.delay,Pe)}),w.length?bc(e,this._triggerName,i,n,Me,E,H,[],[],le,Te,Pe,w):(Ke.forEach(Ne=>{let Bt=Ne.element,Vt=qe(le,Bt,new Set);Ne.preStyleProps.forEach(It=>Vt.add(It));let ri=qe(Te,Bt,new Set);Ne.postStyleProps.forEach(It=>ri.add(It)),Bt!==e&&se.add(Bt)}),bc(e,this._triggerName,i,n,Me,E,H,Ke,[...se.values()],le,Te,Pe))}};function ep(o,t,e,i,n){return o.some(r=>r(t,e,i,n))}function Mc(o,t){let e=he({},t);return Object.entries(o).forEach(([i,n])=>{n!=null&&(e[i]=n)}),e}var Br=class{styles;defaultParams;normalizer;constructor(t,e,i){this.styles=t,this.defaultParams=e,this.normalizer=i}buildStyles(t,e){let i=new Map,n=Mc(t,this.defaultParams);return this.styles.styles.forEach(r=>{typeof r!="string"&&r.forEach((s,l)=>{s&&(s=Ao(s,n,e));let p=this.normalizer.normalizePropertyName(l,e);s=this.normalizer.normalizeStyleValue(l,p,s,e),i.set(l,s)})}),i}};function tp(o,t,e){return new Ir(o,t,e)}var Ir=class{name;ast;_normalizer;transitionFactories=[];fallbackTransition;states=new Map;constructor(t,e,i){this.name=t,this.ast=e,this._normalizer=i,e.states.forEach(n=>{let r=n.options&&n.options.params||{};this.states.set(n.name,new Br(n.style,r,i))}),vc(this.states,"true","1"),vc(this.states,"false","0"),e.transitions.forEach(n=>{this.transitionFactories.push(new Dn(t,n,this.states))}),this.fallbackTransition=op(t,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(t,e,i,n){return this.transitionFactories.find(s=>s.match(t,e,i,n))||null}matchStyles(t,e,i){return this.fallbackTransition.buildStyles(t,e,i)}};function op(o,t,e){let i=[(s,l)=>!0],n={type:V.Sequence,steps:[],options:null},r={type:V.Transition,animation:n,matchers:i,options:null,queryCount:0,depCount:0};return new Dn(o,r,t)}function vc(o,t,e){o.has(t)?o.has(e)||o.set(e,o.get(t)):o.has(e)&&o.set(t,o.get(e))}var ip=new Zo,Ar=class{bodyNode;_driver;_normalizer;_animations=new Map;_playersById=new Map;players=[];constructor(t,e,i){this.bodyNode=t,this._driver=e,this._normalizer=i}register(t,e){let i=[],n=[],r=xc(this._driver,e,i,n);if(i.length)throw Jl(i);this._animations.set(t,r)}_buildPlayer(t,e,i){let n=t.element,r=ur(this._normalizer,t.keyframes,e,i);return this._driver.animate(n,r,t.duration,t.delay,t.easing,[],!0)}create(t,e,i={}){let n=[],r=this._animations.get(t),s,l=new Map;if(r?(s=Tc(this._driver,e,r,gr,Cn,new Map,new Map,i,ip,n),s.forEach(k=>{let w=qe(l,k.element,new Map);k.postStyleProps.forEach(F=>w.set(F,null))})):(n.push(ec()),s=[]),n.length)throw tc(n);l.forEach((k,w)=>{k.forEach((F,I)=>{k.set(I,this._driver.computeStyle(w,I,pt))})});let p=s.map(k=>{let w=l.get(k.element);return this._buildPlayer(k,new Map,w)}),g=Pt(p);return this._playersById.set(t,g),g.onDestroy(()=>this.destroy(t)),this.players.push(g),g}destroy(t){let e=this._getPlayer(t);e.destroy(),this._playersById.delete(t);let i=this.players.indexOf(e);i>=0&&this.players.splice(i,1)}_getPlayer(t){let e=this._playersById.get(t);if(!e)throw oc(t);return e}listen(t,e,i,n){let r=vn(e,"","","");return bn(this._getPlayer(t),i,r,n),()=>{}}command(t,e,i,n){if(i=="register"){this.register(t,n[0]);return}if(i=="create"){let s=n[0]||{};this.create(t,e,s);return}let r=this._getPlayer(t);switch(i){case"play":r.play();break;case"pause":r.pause();break;case"reset":r.reset();break;case"restart":r.restart();break;case"finish":r.finish();break;case"init":r.init();break;case"setPosition":r.setPosition(parseFloat(n[0]));break;case"destroy":this.destroy(t);break}}},_c="ng-animate-queued",np=".ng-animate-queued",yr="ng-animate-disabled",rp=".ng-animate-disabled",sp="ng-star-inserted",ap=".ng-star-inserted",lp=[],Ec={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},cp={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},ht="__ng_removed",Xo=class{namespaceId;value;options;get params(){return this.options.params}constructor(t,e=""){this.namespaceId=e;let i=t&&t.hasOwnProperty("value"),n=i?t.value:t;if(this.value=up(n),i){let r=t,{value:s}=r,l=Gr(r,["value"]);this.options=l}else this.options={};this.options.params||(this.options.params={})}absorbOptions(t){let e=t.params;if(e){let i=this.options.params;Object.keys(e).forEach(n=>{i[n]==null&&(i[n]=e[n])})}}},Ko="void",Sr=new Xo(Ko),Dr=class{id;hostElement;_engine;players=[];_triggers=new Map;_queue=[];_elementListeners=new Map;_hostClassName;constructor(t,e,i){this.id=t,this.hostElement=e,this._engine=i,this._hostClassName="ng-tns-"+t,nt(e,this._hostClassName)}listen(t,e,i,n){if(!this._triggers.has(e))throw ic(i,e);if(i==null||i.length==0)throw nc(e);if(!mp(i))throw rc(i,e);let r=qe(this._elementListeners,t,[]),s={name:e,phase:i,callback:n};r.push(s);let l=qe(this._engine.statesByElement,t,new Map);return l.has(e)||(nt(t,Qo),nt(t,Qo+"-"+e),l.set(e,Sr)),()=>{this._engine.afterFlush(()=>{let p=r.indexOf(s);p>=0&&r.splice(p,1),this._triggers.has(e)||l.delete(e)})}}register(t,e){return this._triggers.has(t)?!1:(this._triggers.set(t,e),!0)}_getTrigger(t){let e=this._triggers.get(t);if(!e)throw sc(t);return e}trigger(t,e,i,n=!0){let r=this._getTrigger(e),s=new Jo(this.id,e,t),l=this._engine.statesByElement.get(t);l||(nt(t,Qo),nt(t,Qo+"-"+e),this._engine.statesByElement.set(t,l=new Map));let p=l.get(e),g=new Xo(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&p&&g.absorbOptions(p.options),l.set(e,g),p||(p=Sr),!(g.value===Ko)&&p.value===g.value){if(!hp(p.params,g.params)){let A=[],H=r.matchStyles(p.value,p.params,A),se=r.matchStyles(g.value,g.params,A);A.length?this._engine.reportError(A):this._engine.afterFlush(()=>{qt(t,H),ft(t,se)})}return}let F=qe(this._engine.playersByElement,t,[]);F.forEach(A=>{A.namespaceId==this.id&&A.triggerName==e&&A.queued&&A.destroy()});let I=r.matchTransition(p.value,g.value,t,g.params),E=!1;if(!I){if(!n)return;I=r.fallbackTransition,E=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:I,fromState:p,toState:g,player:s,isFallbackTransition:E}),E||(nt(t,_c),s.onStart(()=>{Do(t,_c)})),s.onDone(()=>{let A=this.players.indexOf(s);A>=0&&this.players.splice(A,1);let H=this._engine.playersByElement.get(t);if(H){let se=H.indexOf(s);se>=0&&H.splice(se,1)}}),this.players.push(s),F.push(s),s}deregister(t){this._triggers.delete(t),this._engine.statesByElement.forEach(e=>e.delete(t)),this._elementListeners.forEach((e,i)=>{this._elementListeners.set(i,e.filter(n=>n.name!=t))})}clearElementCache(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);let e=this._engine.playersByElement.get(t);e&&(e.forEach(i=>i.destroy()),this._engine.playersByElement.delete(t))}_signalRemovalForInnerTriggers(t,e){let i=this._engine.driver.query(t,Yo,!0);i.forEach(n=>{if(n[ht])return;let r=this._engine.fetchNamespacesByElement(n);r.size?r.forEach(s=>s.triggerLeaveAnimation(n,e,!1,!0)):this.clearElementCache(n)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(n=>this.clearElementCache(n)))}triggerLeaveAnimation(t,e,i,n){let r=this._engine.statesByElement.get(t),s=new Map;if(r){let l=[];if(r.forEach((p,g)=>{if(s.set(g,p.value),this._triggers.has(g)){let k=this.trigger(t,g,Ko,n);k&&l.push(k)}}),l.length)return this._engine.markElementAsRemoved(this.id,t,!0,e,s),i&&Pt(l).onDone(()=>this._engine.processLeaveNode(t)),!0}return!1}prepareLeaveAnimationListeners(t){let e=this._elementListeners.get(t),i=this._engine.statesByElement.get(t);if(e&&i){let n=new Set;e.forEach(r=>{let s=r.name;if(n.has(s))return;n.add(s);let p=this._triggers.get(s).fallbackTransition,g=i.get(s)||Sr,k=new Xo(Ko),w=new Jo(this.id,s,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:s,transition:p,fromState:g,toState:k,player:w,isFallbackTransition:!0})})}}removeNode(t,e){let i=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e),this.triggerLeaveAnimation(t,e,!0))return;let n=!1;if(i.totalAnimations){let r=i.players.length?i.playersByQueriedElement.get(t):[];if(r&&r.length)n=!0;else{let s=t;for(;s=s.parentNode;)if(i.statesByElement.get(s)){n=!0;break}}}if(this.prepareLeaveAnimationListeners(t),n)i.markElementAsRemoved(this.id,t,!1,e);else{let r=t[ht];(!r||r===Ec)&&(i.afterFlush(()=>this.clearElementCache(t)),i.destroyInnerAnimations(t),i._onRemovalComplete(t,e))}}insertNode(t,e){nt(t,this._hostClassName)}drainQueuedTransitions(t){let e=[];return this._queue.forEach(i=>{let n=i.player;if(n.destroyed)return;let r=i.element,s=this._elementListeners.get(r);s&&s.forEach(l=>{if(l.name==i.triggerName){let p=vn(r,i.triggerName,i.fromState.value,i.toState.value);p._data=t,bn(i.player,l.phase,p,l.callback)}}),n.markedForDestroy?this._engine.afterFlush(()=>{n.destroy()}):e.push(i)}),this._queue=[],e.sort((i,n)=>{let r=i.transition.ast.depCount,s=n.transition.ast.depCount;return r==0||s==0?r-s:this._engine.driver.containsElement(i.element,n.element)?1:-1})}destroy(t){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,t)}},Rr=class{bodyNode;driver;_normalizer;players=[];newHostElements=new Map;playersByElement=new Map;playersByQueriedElement=new Map;statesByElement=new Map;disabledNodes=new Set;totalAnimations=0;totalQueuedPlayers=0;_namespaceLookup={};_namespaceList=[];_flushFns=[];_whenQuietFns=[];namespacesByHostElement=new Map;collectedEnterElements=[];collectedLeaveElements=[];onRemovalComplete=(t,e)=>{};_onRemovalComplete(t,e){this.onRemovalComplete(t,e)}constructor(t,e,i){this.bodyNode=t,this.driver=e,this._normalizer=i}get queuedPlayers(){let t=[];return this._namespaceList.forEach(e=>{e.players.forEach(i=>{i.queued&&t.push(i)})}),t}createNamespace(t,e){let i=new Dr(t,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(i,e):(this.newHostElements.set(e,i),this.collectEnterElement(e)),this._namespaceLookup[t]=i}_balanceNamespaceList(t,e){let i=this._namespaceList,n=this.namespacesByHostElement;if(i.length-1>=0){let s=!1,l=this.driver.getParentElement(e);for(;l;){let p=n.get(l);if(p){let g=i.indexOf(p);i.splice(g+1,0,t),s=!0;break}l=this.driver.getParentElement(l)}s||i.unshift(t)}else i.push(t);return n.set(e,t),t}register(t,e){let i=this._namespaceLookup[t];return i||(i=this.createNamespace(t,e)),i}registerTrigger(t,e,i){let n=this._namespaceLookup[t];n&&n.register(e,i)&&this.totalAnimations++}destroy(t,e){t&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let i=this._fetchNamespace(t);this.namespacesByHostElement.delete(i.hostElement);let n=this._namespaceList.indexOf(i);n>=0&&this._namespaceList.splice(n,1),i.destroy(e),delete this._namespaceLookup[t]}))}_fetchNamespace(t){return this._namespaceLookup[t]}fetchNamespacesByElement(t){let e=new Set,i=this.statesByElement.get(t);if(i){for(let n of i.values())if(n.namespaceId){let r=this._fetchNamespace(n.namespaceId);r&&e.add(r)}}return e}trigger(t,e,i,n){if(Tn(e)){let r=this._fetchNamespace(t);if(r)return r.trigger(e,i,n),!0}return!1}insertNode(t,e,i,n){if(!Tn(e))return;let r=e[ht];if(r&&r.setForRemoval){r.setForRemoval=!1,r.setForMove=!0;let s=this.collectedLeaveElements.indexOf(e);s>=0&&this.collectedLeaveElements.splice(s,1)}if(t){let s=this._fetchNamespace(t);s&&s.insertNode(e,i)}n&&this.collectEnterElement(e)}collectEnterElement(t){this.collectedEnterElements.push(t)}markElementAsDisabled(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),nt(t,yr)):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),Do(t,yr))}removeNode(t,e,i){if(Tn(e)){let n=t?this._fetchNamespace(t):null;n?n.removeNode(e,i):this.markElementAsRemoved(t,e,!1,i);let r=this.namespacesByHostElement.get(e);r&&r.id!==t&&r.removeNode(e,i)}else this._onRemovalComplete(e,i)}markElementAsRemoved(t,e,i,n,r){this.collectedLeaveElements.push(e),e[ht]={namespaceId:t,setForRemoval:n,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:r}}listen(t,e,i,n,r){return Tn(e)?this._fetchNamespace(t).listen(e,i,n,r):()=>{}}_buildInstruction(t,e,i,n,r){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,i,n,t.fromState.options,t.toState.options,e,r)}destroyInnerAnimations(t){let e=this.driver.query(t,Yo,!0);e.forEach(i=>this.destroyActiveAnimationsForElement(i)),this.playersByQueriedElement.size!=0&&(e=this.driver.query(t,yn,!0),e.forEach(i=>this.finishActiveQueriedAnimationOnElement(i)))}destroyActiveAnimationsForElement(t){let e=this.playersByElement.get(t);e&&e.forEach(i=>{i.queued?i.markedForDestroy=!0:i.destroy()})}finishActiveQueriedAnimationOnElement(t){let e=this.playersByQueriedElement.get(t);e&&e.forEach(i=>i.finish())}whenRenderingDone(){return new Promise(t=>{if(this.players.length)return Pt(this.players).onDone(()=>t());t()})}processLeaveNode(t){let e=t[ht];if(e&&e.setForRemoval){if(t[ht]=Ec,e.namespaceId){this.destroyInnerAnimations(t);let i=this._fetchNamespace(e.namespaceId);i&&i.clearElementCache(t)}this._onRemovalComplete(t,e.setForRemoval)}t.classList?.contains(yr)&&this.markElementAsDisabled(t,!1),this.driver.query(t,rp,!0).forEach(i=>{this.markElementAsDisabled(i,!1)})}flush(t=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((i,n)=>this._balanceNamespaceList(i,n)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let i=0;i<this.collectedEnterElements.length;i++){let n=this.collectedEnterElements[i];nt(n,sp)}if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){let i=[];try{e=this._flushAnimations(i,t)}finally{for(let n=0;n<i.length;n++)i[n]()}}else for(let i=0;i<this.collectedLeaveElements.length;i++){let n=this.collectedLeaveElements[i];this.processLeaveNode(n)}if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(i=>i()),this._flushFns=[],this._whenQuietFns.length){let i=this._whenQuietFns;this._whenQuietFns=[],e.length?Pt(e).onDone(()=>{i.forEach(n=>n())}):i.forEach(n=>n())}}reportError(t){throw ac(t)}_flushAnimations(t,e){let i=new Zo,n=[],r=new Map,s=[],l=new Map,p=new Map,g=new Map,k=new Set;this.disabledNodes.forEach(B=>{k.add(B);let D=this.driver.query(B,np,!0);for(let P=0;P<D.length;P++)k.add(D[P])});let w=this.bodyNode,F=Array.from(this.statesByElement.keys()),I=Sc(F,this.collectedEnterElements),E=new Map,A=0;I.forEach((B,D)=>{let P=gr+A++;E.set(D,P),B.forEach(q=>nt(q,P))});let H=[],se=new Set,le=new Set;for(let B=0;B<this.collectedLeaveElements.length;B++){let D=this.collectedLeaveElements[B],P=D[ht];P&&P.setForRemoval&&(H.push(D),se.add(D),P.hasAnimation?this.driver.query(D,ap,!0).forEach(q=>se.add(q)):le.add(D))}let Te=new Map,Me=Sc(F,Array.from(se));Me.forEach((B,D)=>{let P=Cn+A++;Te.set(D,P),B.forEach(q=>nt(q,P))}),t.push(()=>{I.forEach((B,D)=>{let P=E.get(D);B.forEach(q=>Do(q,P))}),Me.forEach((B,D)=>{let P=Te.get(D);B.forEach(q=>Do(q,P))}),H.forEach(B=>{this.processLeaveNode(B)})});let Ot=[],Ke=[];for(let B=this._namespaceList.length-1;B>=0;B--)this._namespaceList[B].drainQueuedTransitions(e).forEach(P=>{let q=P.player,Ie=P.element;if(Ot.push(q),this.collectedEnterElements.length){let Le=Ie[ht];if(Le&&Le.setForMove){if(Le.previousTriggersValues&&Le.previousTriggersValues.has(P.triggerName)){let $t=Le.previousTriggersValues.get(P.triggerName),Ze=this.statesByElement.get(P.element);if(Ze&&Ze.has(P.triggerName)){let li=Ze.get(P.triggerName);li.value=$t,Ze.set(P.triggerName,li)}}q.destroy();return}}let bt=!w||!this.driver.containsElement(w,Ie),Ye=Te.get(Ie),Ut=E.get(Ie),ce=this._buildInstruction(P,i,Ut,Ye,bt);if(ce.errors&&ce.errors.length){Ke.push(ce);return}if(bt){q.onStart(()=>qt(Ie,ce.fromStyles)),q.onDestroy(()=>ft(Ie,ce.toStyles)),n.push(q);return}if(P.isFallbackTransition){q.onStart(()=>qt(Ie,ce.fromStyles)),q.onDestroy(()=>ft(Ie,ce.toStyles)),n.push(q);return}let Wr=[];ce.timelines.forEach(Le=>{Le.stretchStartingKeyframe=!0,this.disabledNodes.has(Le.element)||Wr.push(Le)}),ce.timelines=Wr,i.append(Ie,ce.timelines);let wm={instruction:ce,player:q,element:Ie};s.push(wm),ce.queriedElements.forEach(Le=>qe(l,Le,[]).push(q)),ce.preStyleProps.forEach((Le,$t)=>{if(Le.size){let Ze=p.get($t);Ze||p.set($t,Ze=new Set),Le.forEach((li,Kn)=>Ze.add(Kn))}}),ce.postStyleProps.forEach((Le,$t)=>{let Ze=g.get($t);Ze||g.set($t,Ze=new Set),Le.forEach((li,Kn)=>Ze.add(Kn))})});if(Ke.length){let B=[];Ke.forEach(D=>{B.push(lc(D.triggerName,D.errors))}),Ot.forEach(D=>D.destroy()),this.reportError(B)}let Pe=new Map,Ne=new Map;s.forEach(B=>{let D=B.element;i.has(D)&&(Ne.set(D,D),this._beforeAnimationBuild(B.player.namespaceId,B.instruction,Pe))}),n.forEach(B=>{let D=B.element;this._getPreviousPlayers(D,!1,B.namespaceId,B.triggerName,null).forEach(q=>{qe(Pe,D,[]).push(q),q.destroy()})});let Bt=H.filter(B=>kc(B,p,g)),Vt=new Map;yc(Vt,this.driver,le,g,pt).forEach(B=>{kc(B,p,g)&&Bt.push(B)});let It=new Map;I.forEach((B,D)=>{yc(It,this.driver,new Set(B),p,qo)}),Bt.forEach(B=>{let D=Vt.get(B),P=It.get(B);Vt.set(B,new Map([...D?.entries()??[],...P?.entries()??[]]))});let Uo=[],si=[],ai={};s.forEach(B=>{let{element:D,player:P,instruction:q}=B;if(i.has(D)){if(k.has(D)){P.onDestroy(()=>ft(D,q.toStyles)),P.disabled=!0,P.overrideTotalTime(q.totalTime),n.push(P);return}let Ie=ai;if(Ne.size>1){let Ye=D,Ut=[];for(;Ye=Ye.parentNode;){let ce=Ne.get(Ye);if(ce){Ie=ce;break}Ut.push(Ye)}Ut.forEach(ce=>Ne.set(ce,Ie))}let bt=this._buildAnimation(P.namespaceId,q,Pe,r,It,Vt);if(P.setRealPlayer(bt),Ie===ai)Uo.push(P);else{let Ye=this.playersByElement.get(Ie);Ye&&Ye.length&&(P.parentPlayer=Pt(Ye)),n.push(P)}}else qt(D,q.fromStyles),P.onDestroy(()=>ft(D,q.toStyles)),si.push(P),k.has(D)&&n.push(P)}),si.forEach(B=>{let D=r.get(B.element);if(D&&D.length){let P=Pt(D);B.setRealPlayer(P)}}),n.forEach(B=>{B.parentPlayer?B.syncPlayerEvents(B.parentPlayer):B.destroy()});for(let B=0;B<H.length;B++){let D=H[B],P=D[ht];if(Do(D,Cn),P&&P.hasAnimation)continue;let q=[];if(l.size){let bt=l.get(D);bt&&bt.length&&q.push(...bt);let Ye=this.driver.query(D,yn,!0);for(let Ut=0;Ut<Ye.length;Ut++){let ce=l.get(Ye[Ut]);ce&&ce.length&&q.push(...ce)}}let Ie=q.filter(bt=>!bt.destroyed);Ie.length?pp(this,D,Ie):this.processLeaveNode(D)}return H.length=0,Uo.forEach(B=>{this.players.push(B),B.onDone(()=>{B.destroy();let D=this.players.indexOf(B);this.players.splice(D,1)}),B.play()}),Uo}afterFlush(t){this._flushFns.push(t)}afterFlushAnimationsDone(t){this._whenQuietFns.push(t)}_getPreviousPlayers(t,e,i,n,r){let s=[];if(e){let l=this.playersByQueriedElement.get(t);l&&(s=l)}else{let l=this.playersByElement.get(t);if(l){let p=!r||r==Ko;l.forEach(g=>{g.queued||!p&&g.triggerName!=n||s.push(g)})}}return(i||n)&&(s=s.filter(l=>!(i&&i!=l.namespaceId||n&&n!=l.triggerName))),s}_beforeAnimationBuild(t,e,i){let n=e.triggerName,r=e.element,s=e.isRemovalTransition?void 0:t,l=e.isRemovalTransition?void 0:n;for(let p of e.timelines){let g=p.element,k=g!==r,w=qe(i,g,[]);this._getPreviousPlayers(g,k,s,l,e.toState).forEach(I=>{let E=I.getRealPlayer();E.beforeDestroy&&E.beforeDestroy(),I.destroy(),w.push(I)})}qt(r,e.fromStyles)}_buildAnimation(t,e,i,n,r,s){let l=e.triggerName,p=e.element,g=[],k=new Set,w=new Set,F=e.timelines.map(E=>{let A=E.element;k.add(A);let H=A[ht];if(H&&H.removedBeforeQueried)return new Ft(E.duration,E.delay);let se=A!==p,le=fp((i.get(A)||lp).map(Pe=>Pe.getRealPlayer())).filter(Pe=>{let Ne=Pe;return Ne.element?Ne.element===A:!1}),Te=r.get(A),Me=s.get(A),Ot=ur(this._normalizer,E.keyframes,Te,Me),Ke=this._buildPlayer(E,Ot,le);if(E.subTimeline&&n&&w.add(A),se){let Pe=new Jo(t,l,A);Pe.setRealPlayer(Ke),g.push(Pe)}return Ke});g.forEach(E=>{qe(this.playersByQueriedElement,E.element,[]).push(E),E.onDone(()=>dp(this.playersByQueriedElement,E.element,E))}),k.forEach(E=>nt(E,br));let I=Pt(F);return I.onDestroy(()=>{k.forEach(E=>Do(E,br)),ft(p,e.toStyles)}),w.forEach(E=>{qe(n,E,[]).push(I)}),I}_buildPlayer(t,e,i){return e.length>0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,i):new Ft(t.duration,t.delay)}},Jo=class{namespaceId;triggerName;element;_player=new Ft;_containsRealPlayer=!1;_queuedCallbacks=new Map;destroyed=!1;parentPlayer=null;markedForDestroy=!1;disabled=!1;queued=!0;totalTime=0;constructor(t,e,i){this.namespaceId=t,this.triggerName=e,this.element=i}setRealPlayer(t){this._containsRealPlayer||(this._player=t,this._queuedCallbacks.forEach((e,i)=>{e.forEach(n=>bn(t,i,void 0,n))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(t){this.totalTime=t}syncPlayerEvents(t){let e=this._player;e.triggerCallback&&t.onStart(()=>e.triggerCallback("start")),t.onDone(()=>this.finish()),t.onDestroy(()=>this.destroy())}_queueEvent(t,e){qe(this._queuedCallbacks,t,[]).push(e)}onDone(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)}onStart(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)}onDestroy(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)}init(){this._player.init()}hasStarted(){return this.queued?!1:this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(t){this.queued||this._player.setPosition(t)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(t){let e=this._player;e.triggerCallback&&e.triggerCallback(t)}};function dp(o,t,e){let i=o.get(t);if(i){if(i.length){let n=i.indexOf(e);i.splice(n,1)}i.length==0&&o.delete(t)}return i}function up(o){return o??null}function Tn(o){return o&&o.nodeType===1}function mp(o){return o=="start"||o=="done"}function Cc(o,t){let e=o.style.display;return o.style.display=t??"none",e}function yc(o,t,e,i,n){let r=[];e.forEach(p=>r.push(Cc(p)));let s=[];i.forEach((p,g)=>{let k=new Map;p.forEach(w=>{let F=t.computeStyle(g,w,n);k.set(w,F),(!F||F.length==0)&&(g[ht]=cp,s.push(g))}),o.set(g,k)});let l=0;return e.forEach(p=>Cc(p,r[l++])),s}function Sc(o,t){let e=new Map;if(o.forEach(l=>e.set(l,[])),t.length==0)return e;let i=1,n=new Set(t),r=new Map;function s(l){if(!l)return i;let p=r.get(l);if(p)return p;let g=l.parentNode;return e.has(g)?p=g:n.has(g)?p=i:p=s(g),r.set(l,p),p}return t.forEach(l=>{let p=s(l);p!==i&&e.get(p).push(l)}),e}function nt(o,t){o.classList?.add(t)}function Do(o,t){o.classList?.remove(t)}function pp(o,t,e){Pt(e).onDone(()=>o.processLeaveNode(t))}function fp(o){let t=[];return Bc(o,t),t}function Bc(o,t){for(let e=0;e<o.length;e++){let i=o[e];i instanceof Bo?Bc(i.players,t):t.push(i)}}function hp(o,t){let e=Object.keys(o),i=Object.keys(t);if(e.length!=i.length)return!1;for(let n=0;n<e.length;n++){let r=e[n];if(!t.hasOwnProperty(r)||o[r]!==t[r])return!1}return!0}function kc(o,t,e){let i=e.get(o);if(!i)return!1;let n=t.get(o);return n?i.forEach(r=>n.add(r)):t.set(o,i),e.delete(o),!0}var Ro=class{_driver;_normalizer;_transitionEngine;_timelineEngine;_triggerCache={};onRemovalComplete=(t,e)=>{};constructor(t,e,i){this._driver=e,this._normalizer=i,this._transitionEngine=new Rr(t.body,e,i),this._timelineEngine=new Ar(t.body,e,i),this._transitionEngine.onRemovalComplete=(n,r)=>this.onRemovalComplete(n,r)}registerTrigger(t,e,i,n,r){let s=t+"-"+n,l=this._triggerCache[s];if(!l){let p=[],g=[],k=xc(this._driver,r,p,g);if(p.length)throw Xl(n,p);l=tp(n,k,this._normalizer),this._triggerCache[s]=l}this._transitionEngine.registerTrigger(e,n,l)}register(t,e){this._transitionEngine.register(t,e)}destroy(t,e){this._transitionEngine.destroy(t,e)}onInsert(t,e,i,n){this._transitionEngine.insertNode(t,e,i,n)}onRemove(t,e,i){this._transitionEngine.removeNode(t,e,i)}disableAnimations(t,e){this._transitionEngine.markElementAsDisabled(t,e)}process(t,e,i,n){if(i.charAt(0)=="@"){let[r,s]=mr(i),l=n;this._timelineEngine.command(r,e,s,l)}else this._transitionEngine.trigger(t,e,i,n)}listen(t,e,i,n,r){if(i.charAt(0)=="@"){let[s,l]=mr(i);return this._timelineEngine.listen(s,e,l,r)}return this._transitionEngine.listen(t,e,i,n,r)}flush(t=-1){this._transitionEngine.flush(t)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(t){this._transitionEngine.afterFlushAnimationsDone(t)}};function gp(o,t){let e=null,i=null;return Array.isArray(t)&&t.length?(e=kr(t[0]),t.length>1&&(i=kr(t[t.length-1]))):t instanceof Map&&(e=kr(t)),e||i?new bp(o,e,i):null}var bp=(()=>{class o{_element;_startStyles;_endStyles;static initialStylesByElement=new WeakMap;_state=0;_initialStyles;constructor(e,i,n){this._element=e,this._startStyles=i,this._endStyles=n;let r=o.initialStylesByElement.get(e);r||o.initialStylesByElement.set(e,r=new Map),this._initialStyles=r}start(){this._state<1&&(this._startStyles&&ft(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(ft(this._element,this._initialStyles),this._endStyles&&(ft(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(o.initialStylesByElement.delete(this._element),this._startStyles&&(qt(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(qt(this._element,this._endStyles),this._endStyles=null),ft(this._element,this._initialStyles),this._state=3)}}return o})();function kr(o){let t=null;return o.forEach((e,i)=>{vp(i)&&(t=t||new Map,t.set(i,e))}),t}function vp(o){return o==="display"||o==="position"}var Rn=class{element;keyframes;options;_specialStyles;_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_duration;_delay;_initialized=!1;_finished=!1;_started=!1;_destroyed=!1;_finalKeyframe;_originalOnDoneFns=[];_originalOnStartFns=[];domPlayer=null;time=0;parentPlayer=null;currentSnapshot=new Map;constructor(t,e,i,n){this.element=t,this.keyframes=e,this.options=i,this._specialStyles=n,this._duration=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this._buildPlayer()&&this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return this.domPlayer;this._initialized=!0;let t=this.keyframes,e=this._triggerWebAnimation(this.element,t,this.options);if(!e)return this._onFinish(),null;this.domPlayer=e,this._finalKeyframe=t.length?t[t.length-1]:new Map;let i=()=>this._onFinish();return e.addEventListener("finish",i),this.onDestroy(()=>{e.removeEventListener("finish",i)}),e}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer?.pause()}_convertKeyframesToObject(t){let e=[];return t.forEach(i=>{e.push(Object.fromEntries(i))}),e}_triggerWebAnimation(t,e,i){let n=this._convertKeyframesToObject(e);try{return t.animate(n,i)}catch(r){return null}}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}play(){let t=this._buildPlayer();t&&(this.hasStarted()||(this._onStartFns.forEach(e=>e()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),t.play())}pause(){this.init(),this.domPlayer?.pause()}finish(){this.init(),this.domPlayer&&(this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish())}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer?.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}setPosition(t){this.domPlayer||this.init(),this.domPlayer&&(this.domPlayer.currentTime=t*this.time)}getPosition(){return this.domPlayer?+(this.domPlayer.currentTime??0)/this.time:this._initialized?1:0}get totalTime(){return this._delay+this._duration}beforeDestroy(){let t=new Map;this.hasStarted()&&this._finalKeyframe.forEach((i,n)=>{n!=="offset"&&t.set(n,this._finished?i:kn(this.element,n))}),this.currentSnapshot=t}triggerCallback(t){let e=t==="start"?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}},Fn=class{validateStyleProperty(t){return!0}validateAnimatableStyleProperty(t){return!0}containsElement(t,e){return pr(t,e)}getParentElement(t){return _n(t)}query(t,e,i){return fr(t,e,i)}computeStyle(t,e,i){return kn(t,e)}animate(t,e,i,n,r,s=[]){let l=n==0?"both":"forwards",p={duration:i,delay:n,fill:l};r&&(p.easing=r);let g=new Map,k=s.filter(I=>I instanceof Rn);mc(i,n)&&k.forEach(I=>{I.currentSnapshot.forEach((E,A)=>g.set(A,E))});let w=dc(e).map(I=>new Map(I));w=pc(t,w,g);let F=gp(t,w);return new Rn(t,w,p,F)}};var Mn="@",Ic="@.disabled",Pn=class{namespaceId;delegate;engine;_onDestroy;\u0275type=0;constructor(t,e,i,n){this.namespaceId=t,this.delegate=e,this.engine=i,this._onDestroy=n}get data(){return this.delegate.data}destroyNode(t){this.delegate.destroyNode?.(t)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(t,e){return this.delegate.createElement(t,e)}createComment(t){return this.delegate.createComment(t)}createText(t){return this.delegate.createText(t)}appendChild(t,e){this.delegate.appendChild(t,e),this.engine.onInsert(this.namespaceId,e,t,!1)}insertBefore(t,e,i,n=!0){this.delegate.insertBefore(t,e,i),this.engine.onInsert(this.namespaceId,e,t,n)}removeChild(t,e,i,n){if(n){this.delegate.removeChild(t,e,i,n);return}this.parentNode(e)&&this.engine.onRemove(this.namespaceId,e,this.delegate)}selectRootElement(t,e){return this.delegate.selectRootElement(t,e)}parentNode(t){return this.delegate.parentNode(t)}nextSibling(t){return this.delegate.nextSibling(t)}setAttribute(t,e,i,n){this.delegate.setAttribute(t,e,i,n)}removeAttribute(t,e,i){this.delegate.removeAttribute(t,e,i)}addClass(t,e){this.delegate.addClass(t,e)}removeClass(t,e){this.delegate.removeClass(t,e)}setStyle(t,e,i,n){this.delegate.setStyle(t,e,i,n)}removeStyle(t,e,i){this.delegate.removeStyle(t,e,i)}setProperty(t,e,i){e.charAt(0)==Mn&&e==Ic?this.disableAnimations(t,!!i):this.delegate.setProperty(t,e,i)}setValue(t,e){this.delegate.setValue(t,e)}listen(t,e,i,n){return this.delegate.listen(t,e,i,n)}disableAnimations(t,e){this.engine.disableAnimations(t,e)}},Fr=class extends Pn{factory;constructor(t,e,i,n,r){super(e,i,n,r),this.factory=t,this.namespaceId=e}setProperty(t,e,i){e.charAt(0)==Mn?e.charAt(1)=="."&&e==Ic?(i=i===void 0?!0:!!i,this.disableAnimations(t,i)):this.engine.process(this.namespaceId,t,e.slice(1),i):this.delegate.setProperty(t,e,i)}listen(t,e,i,n){if(e.charAt(0)==Mn){let r=_p(t),s=e.slice(1),l="";return s.charAt(0)!=Mn&&([s,l]=Cp(s)),this.engine.listen(this.namespaceId,r,s,l,p=>{let g=p._data||-1;this.factory.scheduleListenerCallback(g,i,p)})}return this.delegate.listen(t,e,i,n)}};function _p(o){switch(o){case"body":return document.body;case"document":return document;case"window":return window;default:return o}}function Cp(o){let t=o.indexOf("."),e=o.substring(0,t),i=o.slice(t+1);return[e,i]}var Nn=class{delegate;engine;_zone;_currentId=0;_microtaskId=1;_animationCallbacksBuffer=[];_rendererCache=new Map;_cdRecurDepth=0;constructor(t,e,i){this.delegate=t,this.engine=e,this._zone=i,e.onRemovalComplete=(n,r)=>{r?.removeChild(null,n)}}createRenderer(t,e){let n=this.delegate.createRenderer(t,e);if(!t||!e?.data?.animation){let g=this._rendererCache,k=g.get(n);if(!k){let w=()=>g.delete(n);k=new Pn("",n,this.engine,w),g.set(n,k)}return k}let r=e.id,s=e.id+"-"+this._currentId;this._currentId++,this.engine.register(s,t);let l=g=>{Array.isArray(g)?g.forEach(l):this.engine.registerTrigger(r,s,t,g.name,g)};return e.data.animation.forEach(l),new Fr(this,s,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(t,e,i){if(t>=0&&t<this._microtaskId){this._zone.run(()=>e(i));return}let n=this._animationCallbacksBuffer;n.length==0&&queueMicrotask(()=>{this._zone.run(()=>{n.forEach(r=>{let[s,l]=r;s(l)}),this._animationCallbacksBuffer=[]})}),n.push([e,i])}end(){this._cdRecurDepth--,this._cdRecurDepth==0&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}componentReplaced(t){this.engine.flush(),this.delegate.componentReplaced?.(t)}};var Sp=(()=>{class o extends Ro{constructor(e,i,n){super(e,i,n)}ngOnDestroy(){this.flush()}static \u0275fac=function(i){return new(i||o)(K(es),K(io),K(no))};static \u0275prov=te({token:o,factory:o.\u0275fac})}return o}
1)();function kp(){return new En}function wp(){return new Nn(de(ds),de(Ro),de(uo))}var Dc=[{provide:no,useFactory:kp},{provide:Ro,useClass:Sp},{provide:os,useFactory:wp}],xp=[{provide:io,useClass:Pr},{provide:er,useValue:"NoopAnimations"},...Dc],Ac=[{provide:io,useFactory:()=>new Fn},{provide:er,useFactory:()=>"BrowserAnimations"},...Dc],Ln=(()=>{class o{static withConfig(e){return{ngModule:o,providers:e.disableAnimations?xp:Ac}}static \u0275fac=function(i){return new(i||o)};static \u0275mod=Je({type:o});static \u0275inj=Xe({providers:Ac,imports:[go]})}return o})();var Rc=(()=>{let t=class t{constructor(i,n){this.router=i,this.userService=n}canActivate(i,n){return new lo(r=>{i.params.provider||(console.error("Missing provider"),this.router.navigate(["/login"]),r.next(!1)),this.userService.isAuthenticated.pipe(mi()).subscribe(s=>{s?r.next(!0):(this.router.navigate(["/login"]),r.next(!1))})})}};t.\u0275fac=function(n){return new(n||t)(K(pe),K(L))},t.\u0275prov=te({token:t,factory:t.\u0275fac,providedIn:"root"});let o=t;return o})();var Fc=(o,t)=>Ce.marketingHomeUrlShort!=="focusmate.com";var Or=(()=>{let t=class t{constructor(i,n,r){this.router=i,this.userService=n,this.storeRedirectOnLoginService=r}canActivate(i,n){return lo.create(r=>{this.userService.isAuthenticated.pipe(ge(1)).subscribe(s=>{s?this.userService.currentUser.pipe(ge(1)).subscribe(l=>{l.fmAd||l.fmSupport?r.next(!0):(this.router.navigate(["profile"]),r.next(!1))}):(this.storeRedirectOnLoginService.setUrlToRedirectToOnLogin(n.url),this.router.navigate(["/login"]),r.next(!1))})})}};t.\u0275fac=function(n){return new(n||t)(K(pe),K(L),K(jt))},t.\u0275prov=te({token:t,factory:t.\u0275fac,providedIn:"root"});let o=t;return o})();var Pc=(()=>{let t=class t{constructor(i,n,r){this.router=i,this.userService=n,this.storeRedirectOnLoginService=r}canActivate(i,n){return lo.create(r=>{this.userService.isAuthenticated.pipe(ge(1)).subscribe(s=>{s?this.userService.currentUser.pipe(ge(1)).subscribe(l=>{l.onboard?r.next(!0):(this.router.navigate(["signup/profile"]),r.next(!1))}):(this.storeRedirectOnLoginService.setUrlToRedirectToOnLogin(n.url),this.router.navigate(["/login"]),r.next(!1))})})}};t.\u0275fac=function(n){return new(n||t)(K(pe),K(L),K(jt))},t.\u0275prov=te({token:t,factory:t.\u0275fac,providedIn:"root"});let o=t;return o})();var Nc=(()=>{let t=class t{constructor(i,n,r,s){this.router=i,this.userService=n,this.featureCheckService=r,this.storeRedirectOnLoginService=s}canActivate(i,n){return this.userService.isAuthenticated.pipe(ge(1),pi(r=>r?this.userService.currentUser.pipe(zt(s=>!!s?.userId),ge(1),co(s=>this.featureCheckService.isGroupMeetingsEnabled(s)?!0:this.router.createUrlTree(["/dashboard"]))):(this.storeRedirectOnLoginService.setUrlToRedirectToOnLogin(n.url),qr(this.router.createUrlTree(["/login"])))))}};t.\u0275fac=function(n){return new(n||t)(K(pe),K(L),K(Fe),K(jt))},t.\u0275prov=te({token:t,factory:t.\u0275fac,providedIn:"root"});let o=t;return o})();var Tp="User Profile",Mp="Admin - User Profile",Ep="User Availability",Bp="My Profile",Ip="Group Management",Ap="Admin Console",Dp=[{path:"dashboard",loadComponent:()=>import("./chunk-QK2RF7VS.js").then(o=>o.DashboardComponent),canActivate:[Re],data:{robots:"noindex, nofollow",pageName:"Calendar",threeColumnLayout:!0}},{path:"profile",loadComponent:()=>import("./chunk-GGYVEWHA.js").then(o=>o.MyProfileContainerComponent),canActivate:[yo],data:{robots:"noindex, nofollow",pageName:Bp,threeColumnLayout:!0,hideBookingHubOnMobile:!0}},{path:"user/:id",loadComponent:()=>import("./chunk-PCTKETQG.js").then(o=>o.UserProfileRouteWrapperComponent),canActivate:[yo],data:{robots:"noindex, nofollow",pageName:Tp,threeColumnLayout:!0,hideBookingHubOnMobile:!0}},{path:"user/:id/availability",loadComponent:()=>import("./chunk-C5NVKXYF.js").then(o=>o.UserAvailabilityListComponent),canActivate:[yo],data:{robots:"noindex, nofollow",pageName:Ep,threeColumnLayout:!0,hideBookingHubOnMobile:!0}},{path:"admin/profile/:id",loadComponent:()=>import("./chunk-PCTKETQG.js").then(o=>o.UserProfileRouteWrapperComponent),canActivate:[Or],data:{robots:"noindex, nofollow",pageName:Mp,threeColumnLayout:!0,hideBookingHubOnMobile:!0}},{path:"admin",loadComponent:()=>import("./chunk-UCZFTBQK.js").then(o=>o.AdminConsoleComponent),canActivate:[Or],data:{robots:"noindex, nofollow",pageName:Ap,threeColumnLayout:!0,hideBookingHubOnMobile:!0}},{path:"group-management",loadComponent:()=>import("./chunk-WCT7VPHF.js").then(o=>o.GroupManagementComponent),canActivate:[Pc],data:{robots:"noindex, nofollow",pageName:Ip,threeColumnLayout:!0,hideBookingHubOnMobile:!0}},{path:"account",loadChildren:()=>import("./chunk-Z2CW4EOJ.js").then(o=>o.AccountModule)},{path:"launch/:id",redirectTo:"session/:id",pathMatch:"full"},{path:"session/:id",loadComponent:()=>import("./chunk-MM3GPXKF.js").then(o=>o.LaunchContainerComponent),canActivate:[Re],resolve:{currentUser:$e},data:{robots:"noindex, nofollow"}},{path:"session/g/:id",loadComponent:()=>import("./chunk-NCGWTR75.js").then(o=>o.GroupSessionLaunchContainerComponent),canActivate:[Re],resolve:{currentUser:$e},data:{robots:"noindex, nofollow"}},{path:"login",loadChildren:()=>import("./chunk-BYRQQC4U.js").then(o=>o.LoginModule)},{path:"signup",loadChildren:()=>import("./chunk-5GPSJ5PB.js").then(o=>o.SignupModule)},{path:"oauth/authorize",loadChildren:()=>import("./chunk-6ZJPJGF5.js").then(o=>o.OAuthModule)},{path:"oauthcallback/:provider",loadComponent:()=>import("./chunk-YZIVUDUD.js").then(o=>o.OauthCallbackComponent),canActivate:[Rc],data:{threeColumnLayout:!0}},{path:"sessions",loadComponent:()=>import("./chunk-74QKHNYJ.js").then(o=>o.SessionsComponent),canActivate:[Re],data:{robots:"noindex, nofollow",pageName:"My Sessions",threeColumnLayout:!0,hideBookingHubOnMobile:!0}},{path:"blocked",loadComponent:()=>import("./chunk-YV2HHCJO.js").then(o=>o.BlockedComponent),canActivate:[Re],data:{robots:"noindex, nofollow",pageName:"Blocked List",threeColumnLayout:!0,hideBookingHubOnMobile:!0}},{path:"group-meetings",loadComponent:()=>import("./chunk-CWAINQVG.js").then(o=>o.GroupMeetingsComponent),canActivate:[Nc],data:{robots:"noindex, nofollow",pageName:"Group Meetings",threeColumnLayout:!0,hideBookingHubOnMobile:!0}},{path:"people",loadComponent:()=>import("./chunk-2CQTHOFR.js").then(o=>o.PeopleListComponent),resolve:{currentUser:$e},canActivate:[Re],data:{robots:"noindex, nofollow",pageName:"People List",threeColumnLayout:!0,hideBookingHubOnMobile:!0}},{path:"invite",loadComponent:()=>import("./chunk-EEQT5AJB.js").then(o=>o.InviteComponent),data:{pageName:"Invite",threeColumnLayout:!0,hideBookingHubOnMobile:!0},resolve:{currentUser:$e},canActivate:[Re]},{path:"refer",loadComponent:()=>import("./chunk-7G7OFHL2.js").then(o=>o.RewardsReferralsComponent),data:{pageName:"Refer",threeColumnLayout:!0,hideBookingHubOnMobile:!0},resolve:{currentUser:$e},canActivate:[Re]},{path:"settings",loadComponent:()=>import("./chunk-TKAS4AXK.js").then(o=>o.SettingsComponent),data:{robots:"noindex, nofollow",pageName:"Settings",threeColumnLayout:!0,hideBookingHubOnMobile:!0},resolve:{currentUser:$e},canActivate:[Re]},{path:"profile/edit-p",redirectTo:"settings",pathMatch:"full"},{path:"profile/edit-q",redirectTo:"profile",pathMatch:"full"},{path:"help",loadComponent:()=>import("./chunk-5JNSCPNC.js").then(o=>o.HelpAndResourcesComponent),data:{robots:"noindex, nofollow",pageName:"Help & Resources",threeColumnLayout:!0,hideBookingHubOnMobile:!0},resolve:{currentUser:$e},canActivate:[Re]},{path:"help/faq",loadComponent:()=>import("./chunk-R4YEWPCV.js").then(o=>o.FaqComponent),data:{robots:"noindex, nofollow",pageName:"Common Questions",threeColumnLayout:!0,hideBookingHubOnMobile:!0},resolve:{currentUser:$e},canActivate:[Re]},{path:"help/guidelines",loadComponent:()=>import("./chunk-KNI6CWFX.js").then(o=>o.GuidelinesComponent),data:{robots:"noindex, nofollow",pageName:"Community Guidelines",threeColumnLayout:!0,hideBookingHubOnMobile:!0},resolve:{currentUser:$e},canActivate:[Re]},{path:"i/:hash",loadChildren:()=>import("./chunk-D5A5DYJM.js").then(o=>o.UserAvailabilityModule)},{path:"availability/favorites",loadComponent:()=>import("./chunk-RYYGXCZ6.js").then(o=>o.FavoritesListComponent),data:{robots:"noindex, nofollow",pageName:"Availability: Favorites",threeColumnLayout:!0,hideBookingHubOnMobile:!0},resolve:{currentUser:$e},canActivate:[Re]},{path:"tasks/completed",loadComponent:()=>import("./chunk-VE6CCNR7.js").then(o=>o.TaskManagerCompletedPageComponent),data:{robots:"noindex, nofollow",pageName:"Completed Tasks",threeColumnLayout:!0,hideBookingHubOnMobile:!0},resolve:{currentUser:$e},canActivate:[Re]},{path:"tasks",loadComponent:()=>import("./chunk-UXFHQLLT.js").then(o=>o.TaskManagerMasterListComponent),data:{robots:"noindex, nofollow",pageName:"Task Manager",threeColumnLayout:!0,hideBookingHubOnMobile:!0},resolve:{currentUser:$e},canActivate:[Re]},{path:"upgrade",loadChildren:()=>import("./chunk-CMOKMKR4.js").then(o=>o.UPGRADE_ROUTES)},{path:"theme",loadChildren:()=>import("./chunk-BBESS47X.js").then(o=>
1o.THEME_ROUTES),canActivate:[Fc],data:{robots:"noindex, nofollow",pageName:"Theme",threeColumnLayout:!0,hideBookingHubOnMobile:!0}},{path:"**",redirectTo:"dashboard"}],Lc=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=Je({type:t}),t.\u0275inj=Xe({imports:[j.forRoot(Dp,{preloadingStrategy:Ss,enableTracing:!1,anchorScrolling:"enabled",onSameUrlNavigation:"reload",scrollPositionRestoration:"enabled",paramsInheritanceStrategy:"always"}),j]});let o=t;return o})();var Rp=["data-p-icon","exclamation-triangle"],Oc=(()=>{class o extends wo{pathId;onInit(){this.pathId="url(#"+Wt()+")"}static \u0275fac=(()=>{let e;return function(n){return(e||(e=lt(o)))(n||o)}})();static \u0275cmp=T({type:o,selectors:[["","data-p-icon","exclamation-triangle"]],features:[ct],attrs:Rp,decls:7,vars:2,consts:[["d","M13.4018 13.1893H0.598161C0.49329 13.189 0.390283 13.1615 0.299143 13.1097C0.208003 13.0578 0.131826 12.9832 0.0780112 12.8932C0.0268539 12.8015 0 12.6982 0 12.5931C0 12.4881 0.0268539 12.3848 0.0780112 12.293L6.47985 1.08982C6.53679 1.00399 6.61408 0.933574 6.70484 0.884867C6.7956 0.836159 6.897 0.810669 7 0.810669C7.103 0.810669 7.2044 0.836159 7.29516 0.884867C7.38592 0.933574 7.46321 1.00399 7.52015 1.08982L13.922 12.293C13.9731 12.3848 14 12.4881 14 12.5931C14 12.6982 13.9731 12.8015 13.922 12.8932C13.8682 12.9832 13.792 13.0578 13.7009 13.1097C13.6097 13.1615 13.5067 13.189 13.4018 13.1893ZM1.63046 11.989H12.3695L7 2.59425L1.63046 11.989Z","fill","currentColor"],["d","M6.99996 8.78801C6.84143 8.78594 6.68997 8.72204 6.57787 8.60993C6.46576 8.49782 6.40186 8.34637 6.39979 8.18784V5.38703C6.39979 5.22786 6.46302 5.0752 6.57557 4.96265C6.68813 4.85009 6.84078 4.78686 6.99996 4.78686C7.15914 4.78686 7.31179 4.85009 7.42435 4.96265C7.5369 5.0752 7.60013 5.22786 7.60013 5.38703V8.18784C7.59806 8.34637 7.53416 8.49782 7.42205 8.60993C7.30995 8.72204 7.15849 8.78594 6.99996 8.78801Z","fill","currentColor"],["d","M6.99996 11.1887C6.84143 11.1866 6.68997 11.1227 6.57787 11.0106C6.46576 10.8985 6.40186 10.7471 6.39979 10.5885V10.1884C6.39979 10.0292 6.46302 9.87658 6.57557 9.76403C6.68813 9.65147 6.84078 9.58824 6.99996 9.58824C7.15914 9.58824 7.31179 9.65147 7.42435 9.76403C7.5369 9.87658 7.60013 10.0292 7.60013 10.1884V10.5885C7.59806 10.7471 7.53416 10.8985 7.42205 11.0106C7.30995 11.1227 7.15849 11.1866 6.99996 11.1887Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(i,n){i&1&&(ze(),dt(0,"g"),At(1,"path",0)(2,"path",1)(3,"path",2),ut(),dt(4,"defs")(5,"clipPath",3),At(6,"rect",4),ut()()),i&2&&(Y("clip-path",n.pathId),c(5),fo("id",n.pathId))},encapsulation:2})}return o})();var Fp=["data-p-icon","info-circle"],Vc=(()=>{class o extends wo{pathId;onInit(){this.pathId="url(#"+Wt()+")"}static \u0275fac=(()=>{let e;return function(n){return(e||(e=lt(o)))(n||o)}})();static \u0275cmp=T({type:o,selectors:[["","data-p-icon","info-circle"]],features:[ct],attrs:Fp,decls:5,vars:2,consts:[["fill-rule","evenodd","clip-rule","evenodd","d","M3.11101 12.8203C4.26215 13.5895 5.61553 14 7 14C8.85652 14 10.637 13.2625 11.9497 11.9497C13.2625 10.637 14 8.85652 14 7C14 5.61553 13.5895 4.26215 12.8203 3.11101C12.0511 1.95987 10.9579 1.06266 9.67879 0.532846C8.3997 0.00303296 6.99224 -0.13559 5.63437 0.134506C4.2765 0.404603 3.02922 1.07129 2.05026 2.05026C1.07129 3.02922 0.404603 4.2765 0.134506 5.63437C-0.13559 6.99224 0.00303296 8.3997 0.532846 9.67879C1.06266 10.9579 1.95987 12.0511 3.11101 12.8203ZM3.75918 2.14976C4.71846 1.50879 5.84628 1.16667 7 1.16667C8.5471 1.16667 10.0308 1.78125 11.1248 2.87521C12.2188 3.96918 12.8333 5.45291 12.8333 7C12.8333 8.15373 12.4912 9.28154 11.8502 10.2408C11.2093 11.2001 10.2982 11.9478 9.23232 12.3893C8.16642 12.8308 6.99353 12.9463 5.86198 12.7212C4.73042 12.4962 3.69102 11.9406 2.87521 11.1248C2.05941 10.309 1.50384 9.26958 1.27876 8.13803C1.05367 7.00647 1.16919 5.83358 1.61071 4.76768C2.05222 3.70178 2.79989 2.79074 3.75918 2.14976ZM7.00002 4.8611C6.84594 4.85908 6.69873 4.79698 6.58977 4.68801C6.48081 4.57905 6.4187 4.43185 6.41669 4.27776V3.88888C6.41669 3.73417 6.47815 3.58579 6.58754 3.4764C6.69694 3.367 6.84531 3.30554 7.00002 3.30554C7.15473 3.30554 7.3031 3.367 7.4125 3.4764C7.52189 3.58579 7.58335 3.73417 7.58335 3.88888V4.27776C7.58134 4.43185 7.51923 4.57905 7.41027 4.68801C7.30131 4.79698 7.1541 4.85908 7.00002 4.8611ZM7.00002 10.6945C6.84594 10.6925 6.69873 10.6304 6.58977 10.5214C6.48081 10.4124 6.4187 10.2652 6.41669 10.1111V6.22225C6.41669 6.06754 6.47815 5.91917 6.58754 5.80977C6.69694 5.70037 6.84531 5.63892 7.00002 5.63892C7.15473 5.63892 7.3031 5.70037 7.4125 5.80977C7.52189 5.91917 7.58335 6.06754 7.58335 6.22225V10.1111C7.58134 10.2652 7.51923 10.4124 7.41027 10.5214C7.30131 10.6304 7.1541 10.6925 7.00002 10.6945Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(i,n){i&1&&(ze(),dt(0,"g"),At(1,"path",0),ut(),dt(2,"defs")(3,"clipPath",1),At(4,"rect",2),ut()()),i&2&&(Y("clip-path",n.pathId),c(3),fo("id",n.pathId))},encapsulation:2})}return o}
1)();var Pp=["data-p-icon","times-circle"],Uc=(()=>{class o extends wo{pathId;onInit(){this.pathId="url(#"+Wt()+")"}static \u0275fac=(()=>{let e;return function(n){return(e||(e=lt(o)))(n||o)}})();static \u0275cmp=T({type:o,selectors:[["","data-p-icon","times-circle"]],features:[ct],attrs:Pp,decls:5,vars:2,consts:[["fill-rule","evenodd","clip-rule","evenodd","d","M7 14C5.61553 14 4.26215 13.5895 3.11101 12.8203C1.95987 12.0511 1.06266 10.9579 0.532846 9.67879C0.00303296 8.3997 -0.13559 6.99224 0.134506 5.63437C0.404603 4.2765 1.07129 3.02922 2.05026 2.05026C3.02922 1.07129 4.2765 0.404603 5.63437 0.134506C6.99224 -0.13559 8.3997 0.00303296 9.67879 0.532846C10.9579 1.06266 12.0511 1.95987 12.8203 3.11101C13.5895 4.26215 14 5.61553 14 7C14 8.85652 13.2625 10.637 11.9497 11.9497C10.637 13.2625 8.85652 14 7 14ZM7 1.16667C5.84628 1.16667 4.71846 1.50879 3.75918 2.14976C2.79989 2.79074 2.05222 3.70178 1.61071 4.76768C1.16919 5.83358 1.05367 7.00647 1.27876 8.13803C1.50384 9.26958 2.05941 10.309 2.87521 11.1248C3.69102 11.9406 4.73042 12.4962 5.86198 12.7212C6.99353 12.9463 8.16642 12.8308 9.23232 12.3893C10.2982 11.9478 11.2093 11.2001 11.8502 10.2408C12.4912 9.28154 12.8333 8.15373 12.8333 7C12.8333 5.45291 12.2188 3.96918 11.1248 2.87521C10.0308 1.78125 8.5471 1.16667 7 1.16667ZM4.66662 9.91668C4.58998 9.91704 4.51404 9.90209 4.44325 9.87271C4.37246 9.84333 4.30826 9.8001 4.2544 9.74557C4.14516 9.6362 4.0838 9.48793 4.0838 9.33335C4.0838 9.17876 4.14516 9.0305 4.2544 8.92113L6.17553 7L4.25443 5.07891C4.15139 4.96832 4.09529 4.82207 4.09796 4.67094C4.10063 4.51982 4.16185 4.37563 4.26872 4.26876C4.3756 4.16188 4.51979 4.10066 4.67091 4.09799C4.82204 4.09532 4.96829 4.15142 5.07887 4.25446L6.99997 6.17556L8.92106 4.25446C9.03164 4.15142 9.1779 4.09532 9.32903 4.09799C9.48015 4.10066 9.62434 4.16188 9.73121 4.26876C9.83809 4.37563 9.89931 4.51982 9.90198 4.67094C9.90464 4.82207 9.84855 4.96832 9.74551 5.07891L7.82441 7L9.74554 8.92113C9.85478 9.0305 9.91614 9.17876 9.91614 9.33335C9.91614 9.48793 9.85478 9.6362 9.74554 9.74557C9.69168 9.8001 9.62748 9.84333 9.55669 9.87271C9.4859 9.90209 9.40996 9.91704 9.33332 9.91668C9.25668 9.91704 9.18073 9.90209 9.10995 9.87271C9.03916 9.84333 8.97495 9.8001 8.9211 9.74557L6.99997 7.82444L5.07884 9.74557C5.02499 9.8001 4.96078 9.84333 4.88999 9.87271C4.81921 9.90209 4.74326 9.91704 4.66662 9.91668Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(i,n){i&1&&(ze(),dt(0,"g"),At(1,"path",0),ut(),dt(2,"defs")(3,"clipPath",1),At(4,"rect",2),ut()()),i&2&&(Y("clip-path",n.pathId),c(3),fo("id",n.pathId))},encapsulation:2})}return o})();var zc=(()=>{let t=class t{constructor(i,n,r){this.swUpdate=i,this.dialogService=n,this.userService=r,this.swUpdate.isEnabled&&(this.registerUpateEvents(),this.swUpdate.checkForUpdate())}shouldForceUpdate(i){let n=+Ce.applicationVersion.split(".")[0],{minRequiredVersion:r,deprecatedVersions:s}=i;return r&&n<r?(console.log(`MANDATORY: Current version (${n}) is below minimum required (${r}).`),!0):s&&s.length>0&&s.includes(n)?(console.log(`MANDATORY: Current version (${n}) is on the deprecated list.`),!0):!1}registerUpateEvents(){this.swUpdate.versionUpdates.pipe(zt(i=>i.type==="VERSION_READY")).subscribe(i=>{let n=i.latestVersion.appData;if(!n||!n.applicationVersion){console.error("Service Worker manifest is missing application version data.");return}let r=this.shouldForceUpdate(n);this.userService.isAuthenticated.pipe(mi()).subscribe(s=>{s&&(r?this.dialogService.openSWUpdateNotification(r):n.promptUser&&this.dialogService.openSWUpdateNotification(r))})}),this.swUpdate.unrecoverable.subscribe(i=>{ws(n=>{n.setExtras({reason:i.reason,type:i.type}),xs("Service Worker Unrecoverable State")})})}checkForUpdate(){this.swUpdate.isEnabled&&this.swUpdate.checkForUpdate().then(()=>{})}};t.\u0275fac=function(n){return new(n||t)(K(_l),K(fe),K(L))},t.\u0275prov=te({token:t,factory:t.\u0275fac,providedIn:"root"});let o=t;return o})();var No=(()=>{let t=class t{constructor(i,n){this.welcomeChecklistService=i,this.analyticsService=n,this.faCircleChevronDown=qs,this.steps=this.welcomeChecklistService.welcomeChecklistSteps,this.activeStep=this.welcomeChecklistService.activeStep}checklistClick(){this.analyticsService.logClickedEvent("Welcome Checklist","Welcome Checklist Sidebar"),this.welcomeChecklistService.openWelcomeChecklistModal()}};t.\u0275fac=function(n){return new(n||t)(f(Ge),f(De))},t.\u0275cmp=T({type:t,selectors:[["fm-new-welcome-checklist-sidebar"]],decls:7,vars:3,consts:[[1,"relative","flex","flex-row","items-center","justify-between","p-[12px]","w-full","bg-yellow-100","rounded-none","bp908:rounded-2xl","cursor-pointer","shadow-p-form-field-shadow","overflow-hidden",3,"click"],["src","/assets/images/hand_waving_emoji.png",1,"z-0","absolute","translate-y-0","left-[-7px]","size-[65px]","object-cover"],[1,"z-[1]","w-full","text-left","text-primary","font-semibold","text-[12px]","leading-5"],[1,"z-[1]","flex","flex-row","items-center","justify-center","gap-[20px]"],[1,"text-[13px]",3,"steps","activeStep"],[1,"hidden","text-[20px]","text-primary",3,"icon"]],template:function(n,r){n&1&&(a(0,"div",0),_("click",function(){return r.checklistClick()}),h(1,"img",1),a(2,"div",2),S(3,"WELCOME CHECKLIST"),d(),a(4,"div",3),h(5,"fm-new-welcome-checklist-progress-indicator",4)(6,"fa-icon",5),d()()),n&2&&(c(5),m("steps",r.steps)("activeStep",r.activeStep),c(),m("icon",r.faCircleChevronDown))},dependencies:[xt,Z,Ua],encapsulation:2});let o=t;return o}
1)();var Op=o=>({"animation-elastic-z-entry animation-delay-1":o}),Vp=(o,t)=>({"bg-[length:50%] bg-repeat":o,"bg-cover bg-no-repeat":t});function Up(o,t){if(o&1){let e=x();a(0,"fa-icon",6),_("click",function(n){C(e);let r=u(2);return y(r.onDismiss(n))}),d()}if(o&2){let e=u(2);m("icon",e.faTimes)}}function zp(o,t){if(o&1){let e=x();a(0,"div",1),_("click",function(){C(e);let n=u();return y(n.onClickYearInFocus())}),a(1,"div",2),h(2,"img",3),d(),a(3,"div",4),S(4,"Year in Focus"),d(),b(5,Up,1,1,"fa-icon",5),d()}if(o&2){let e=u();m("ngClass",$(3,Op,!e.viewportService.isMobile())),c(),m("ngClass",Ae(5,Vp,e.viewportService.isMobile(),!e.viewportService.isMobile())),c(4),v(e.viewportService.isMobile()?5:-1)}}var Lo=(()=>{let t=class t{constructor(i,n,r,s,l,p,g){this.welcomeChecklistService=i,this.dialogService=n,this.analyticsService=r,this.localStorageService=s,this.cdr=l,this.viewportService=p,this.userService=g,this.faTimes=Ws,this.isWelcomeChecklistActive=this.welcomeChecklistService.isWelcomeChecklistActive,this.isDismissed=He(!1),this.hasYearlyReview=He(!1),this.ngUnsubscribe=new X,this.shouldShow=_e(()=>this.hasYearlyReview()?this.viewportService.isMobile()?!this.isWelcomeChecklistActive()&&!this.isDismissed():!this.isWelcomeChecklistActive():!1);let k=this.localStorageService.getItem("yearInFocusSidebarDismissed");this.isDismissed.set(k==="true")}ngOnInit(){this.userService.currentUser.pipe(N(this.ngUnsubscribe)).subscribe(i=>{this.hasYearlyReview.set(!!i?.yearlyReview),this.cdr.markForCheck()})}ngOnDestroy(){this.ngUnsubscribe.next(null),this.ngUnsubscribe.complete()}onClickYearInFocus(){this.analyticsService.logClickedEvent("Year in Focus","Calendar"),this.dialogService.openYearInReviewModal()}onDismiss(i){i.stopPropagation(),this.analyticsService.logClickedEvent("Dismiss Year in Focus","Calendar"),this.isDismissed.set(!0),this.localStorageService.setItem("yearInFocusSidebarDismissed","true","YearInFocusSidebar"),this.cdr.markForCheck()}};t.\u0275fac=function(n){return new(n||t)(f(Ge),f(fe),f(De),f(ot),f(ho),f(ke),f(L))},t.\u0275cmp=T({type:t,selectors:[["fm-year-in-focus-sidebar"]],hostAttrs:[1,"contents"],decls:1,vars:1,consts:[[1,"relative","flex","flex-row","items-center","justify-center","p-[12px]","w-full","bg-[#F8E2E2]","rounded-none","bp908:rounded-[16px]","cursor-pointer","shadow-p-form-field-shadow","overflow-hidden","border-[2px]","border-blurple-2",3,"ngClass"],[1,"relative","flex","flex-row","items-center","justify-center","p-[12px]","w-full","bg-[#F8E2E2]","rounded-none","bp908:rounded-[16px]","cursor-pointer","shadow-p-form-field-shadow","overflow-hidden","border-[2px]","border-blurple-2",3,"click","ngClass"],[1,"absolute","bg-confetti-blue-pattern","bg-center","w-full","h-full",3,"ngClass"],["src","/assets/images/year-in-review/computer.webp",1,"absolute","left-0","h-[150%]","translate-y-[-25%]"],[1,"z-[1]","w-full","text-center","text-primary","font-semibold","text-lg","leading-5"],[1,"absolute","top-2","right-2","text-[14px]","text-primary","z-[2]","cursor-pointer","hover:opacity-80","transition-opacity",3,"icon"],[1,"absolute","top-2","right-2","text-[14px]","text-primary","z-[2]","cursor-pointer","hover:opacity-80","transition-opacity",3,"click","icon"]],template:function(n,r){n&1&&b(0,zp,6,8,"div",0),n&2&&v(r.shouldShow()?0:-1)},dependencies:[xt,Z,O,W,Ve],styles:["/*# sourceMappingURL=year-in-focus-sidebar.component-JOXLFZ6Y.css.map */"]});let o=t;return o})();var Ur=Zn(ir());var Yt=(()=>{let t=class t{constructor(i){this.utilsService=i,this.visible=He(!1)}setMobileUpcomingSessionVisible(){this.visible.set(!0)}clearMobileUpcomingSessionVisible(){this.visible.set(!1)}getSessionToDisplay(i){let n=this.utilsService.getCurrentTimestamp(),r=i.findIndex(l=>!this.utilsService.hasSessionEnded(l.sessionTime,l.duration,n));if(r===-1)return null;let s=i[r];if(!this.utilsService.shouldDisplaySession(s.sessionType,s.sessionTime,s.state,!!s.partnerId))if(r++,i.length>=r+1){if(s=i[r],!s||!this.utilsService.shouldDisplaySession(s.sessionType,s.sessionTime,s.state,!!s.partnerId))return null}else return null;return s}};t.\u0275fac=function(n){return new(n||t)(K(Se))},t.\u0275prov=te({token:t,factory:t.\u0275fac,providedIn:"root"});let o=t;return o}
1)();var Gp=o=>({format:"dddd, MMMM D",timezone:o,useTodayTomorrow:!0}),Hc=()=>({autofocus:!1}),qp=(o,t)=>({format:o,timezone:t,useTodayTomorrow:!0});function Qp(o,t){o&1&&S(0," Upcoming ")}function Yp(o,t){o&1&&S(0," Ongoing ")}function $p(o,t){o&1&&(a(0,"div",3)(1,"div",5),S(2," No upcoming sessions "),d()())}function Kp(o,t){if(o&1&&h(0,"app-fm-timer",6),o&2){let e=u(4);m("sessionTime",e.getSessionTime(e.sessionToShow))("sessionType",e.getSessionType(e.sessionToShow))("sessionDuration",e.getSessionDuration(e.sessionToShow))("isInSessionTimer",!1)("isValidSession",!0)("isTestSession",!1)}}function Zp(o,t){if(o&1&&(a(0,"div",7),S(1),ae(2,"epochToTime"),d()),o&2){let e=u(4);c(),me(" ",Jt(2,1,e.getSessionTime(e.sessionToShow),$(4,Gp,e.timeZone))," ")}}function Xp(o,t){o&1&&(a(0,"span",13),S(1,"Your partner is a Guide! "),a(2,"span",15),S(3,"Learn\xA0more"),d()())}function Jp(o,t){o&1&&(a(0,"span",13),S(1,"Your partner is new!"),d(),h(2,"i",16))}function ef(o,t){if(o&1){let e=x();a(0,"div",11),_("click",function(){C(e);let n=u(4);return y(n.onClickAmbassadorMatchInfo())}),a(1,"div",12),b(2,Xp,4,0,"span",13)(3,Jp,3,0),d(),a(4,"div",14),S(5,"\u{1F44B}"),d()()}if(o&2){let e=u(4);c(2),v(e.isNewUserForAmbassadorProgram?2:3)}}function tf(o,t){if(o&1&&h(0,"fm-group-meeting-tile",9),o&2){let e=u(4);m("groupMeetingInfo",e.sessionToShow)("timezone",e.timeZone)("doNotAnimateIn",!0)("timeFormat",e.profileInfo.settings.timeFormat)}}function of(o,t){if(o&1&&h(0,"fm-booked-session-tile",10),o&2){let e=u(4);m("sessionInfo",e.sessionToShow)("partnerInfo",e.getSessionPartnerInfo(e.sessionToShow))("timezone",e.timeZone)("doNotAnimateIn",!0)("timeFormat",e.profileInfo.settings.timeFormat)("alwaysShowJoinSession",!0)}}function nf(o,t){if(o&1&&(a(0,"div",4)(1,"div",3),b(2,Kp,1,6,"app-fm-timer",6)(3,Zp,3,6,"div",7),b(4,ef,6,1,"div",8),b(5,tf,1,4,"fm-group-meeting-tile",9)(6,of,1,6,"fm-booked-session-tile",10),d()()),o&2){let e=u(3);c(2),v(e.showTimer?2:3),c(2),v(e.getAmbassadorMatch(e.sessionToShow)?4:-1),c(),v(e.isGroupMeeting(e.sessionToShow)?5:6)}}function rf(o,t){if(o&1&&(a(0,"section",0)(1,"div",1)(2,"div",2),b(3,Qp,1,0)(4,Yp,1,0),d()(),b(5,$p,3,0,"div",3)(6,nf,7,3,"div",4),d()),o&2){let e=u(2);c(3),v(e.isSessionOngoing?4:3),c(2),v(e.sessionToShow?6:5)}}function sf(o,t){o&1&&S(0," Group session at ")}function af(o,t){o&1&&S(0," Session at ")}function lf(o,t){o&1&&S(0," \u{1F44B} Your partner is a Focusmate Guide! ")}function cf(o,t){o&1&&S(0," \u{1F44B} Your partner is new to Focusmate! ")}function df(o,t){if(o&1){let e=x();a(0,"section",21)(1,"p-button",22),_("click",function(){C(e);let n=u(4);return y(n.onClickAmbassadorMatchInfo())}),a(2,"div",23),b(3,lf,1,0)(4,cf,1,0),d()()()}if(o&2){let e=u(4);c(),m("buttonProps",M(2,Hc)),c(2),v(e.isNewUserForAmbassadorProgram?3:4)}}function uf(o,t){if(o&1){let e=x();a(0,"section",17)(1,"p-button",18),_("click",function(){C(e);let n=u(3);return y(n.onClickSessionBanner())}),a(2,"div",19)(3,"div",13),b(4,sf,1,0)(5,af,1,0),S(6),ae(7,"epochToTime"),d(),a(8,"span"),S(9,"\xA0\xB7\xA0"),d(),h(10,"app-fm-timer",20),d()()(),b(11,df,5,3,"section",21)}if(o&2){let e=u(3);c(),m("buttonProps",M(13,Hc)),c(3),v(e.isGroupMeeting(e.sessionToShow)?4:5),c(2),me(" ",Jt(7,10,e.getSessionTime(e.sessionToShow),Ae(14,qp,e.profileInfo.settings.timeFormat=="12hr"?"h:mma":"H:mm",e.timeZone))," "),c(4),m("sessionTime",e.getSessionTime(e.sessionToShow))("sessionType",e.getSessionType(e.sessionToShow))("sessionDuration",e.getSessionDuration(e.sessionToShow))("isInSessionTimer",!1)("isValidSession",!0)("isTestSession",!1),c(),v(e.getAmbassadorMatch(e.sessionToShow)?11:-1)}}function mf(o,t){if(o&1&&b(0,uf,12,17),o&2){let e=u(2);v(e.mobileShowUpcomingSession?0:-1)}}function pf(o,t){if(o&1&&b(0,rf,7,2,"section",0)(1,mf,1,1),o&2){let e=u();v(e.viewportService.isMobile()?1:0)}}var Oo=(()=>{let t=class t{constructor(i,n,r,s,l,p,g,k,w,F,I){this.viewportService=i,this.calendarViewSerivce=n,this.router=r,this.userService=s,this.utilsService=l,this.meetingsService=p,this.upcomingSessionsService=g,this.timeUtils=k,this.analyticsService=w,this.dialogService=F,this.featureCheckService=I,this.ngUnsubscribe=new X,this.group=[],this.faPlus=za,this.meetingsBookingsMeetings=[],this.meetingsParticipants={},this.SessionTileSource=Ni,this.sessionToShow=null,this.showTimer=!1,this.sessionDateStr=null,this.isSessionOngoing=!1,this.mobileShowUpcomingSession=!1,this.isNewUserForAmbassadorProgram=!1,this.hasRegisteredForSessionUpdates=!1}ngOnInit(){this.userService.currentUser.pipe(N(this.ngUnsubscribe)).subscribe(i=>{this.profileInfo=he({},i),this.timeZone=i.timeZone,this.isNewUserForAmbassadorProgram=this.featureCheckService.isNewUserForAmbassadorProgram(i),this.hasRegisteredForSessionUpdates||(this.hasRegisteredForSessionUpdates=!0,this.registerForSessionUpdates())}),this.timeUtils.onMinuteStart().pipe(N(this.ngUnsubscribe)).subscribe(()=>{this.processSessions()})}resetUpcomingSessionInfo(){this.sessionToShow=null,this.showTimer=!1,this.sessionDateStr=null,this.isSessionOngoing=!1,this.mobileShowUpcomingSession=!1}updateMobileUpcomingSessionBanner(){let i=this.utilsService.isTenMinsToSessionStart(this.getSessionTime(this.sessionToShow),this.currentTime),n=!this.utilsService.hasSessionEnded(this.getSessionTime(this.sessionToShow),this.get
1SessionDuration(this.sessionToShow),this.currentTime);this.mobileShowUpcomingSession=n&&i,this.mobileShowUpcomingSession?this.upcomingSessionsService.setMobileUpcomingSessionVisible():this.upcomingSessionsService.clearMobileUpcomingSessionVisible()}processSessions(){this.processBookings()}processBookings(){if(!this.timeZone)return;this.resetUpcomingSessionInfo();let i=this.getBookingSessionToDisplay(this.meetingsBookingsMeetings);i&&(this.sessionToShow=i.meetingType==="group_meeting"?this.hydrateGroupMeetingParticipants(i):i,this.currentTime=this.utilsService.getCurrentTimestamp(),this.updateMobileUpcomingSessionBanner(),i.meetingType==="paired"?i.partnerId&&this.utilsService.isTenMinsToSessionStart(i.startMs,this.currentTime)?this.showTimer=!0:(this.showTimer=!1,this.utilsService.isSessionToday(i.startMs,this.timeZone)?this.sessionDateStr="Today":this.sessionDateStr=(0,Ur.default)(i.startMs).tz(this.timeZone).format("dddd, MMM D")):this.utilsService.isTenMinsToSessionStart(i.startMs,this.currentTime)?this.showTimer=!0:(this.showTimer=!1,this.utilsService.isSessionToday(i.startMs,this.timeZone)?this.sessionDateStr="Today":this.sessionDateStr=(0,Ur.default)(i.startMs).tz(this.timeZone).format("dddd, MMM D")),this.utilsService.ongoingSession(i.startMs,i.durationMs,this.currentTime)?this.isSessionOngoing=!0:this.isSessionOngoing=!1)}registerForSessionUpdates(){this.meetingsService.meetingsBookingsSubject.pipe(N(this.ngUnsubscribe)).subscribe(i=>{this.meetingsBookingsMeetings=i.meetings,this.meetingsParticipants=i.participants??{},this.processBookings()})}getBookingSessionToDisplay(i){let n=this.utilsService.getCurrentTimestamp(),r=i.findIndex(s=>!this.utilsService.hasSessionEnded(s.startMs,s.durationMs,n));if(r===-1)return null;for(let s=r;s<i.length;s++){let l=i[s];if(l.meetingType==="group_meeting"||this.utilsService.shouldDisplaySession(l.sessionType??"standard",l.startMs,l.state??0,!!l.partnerId))return l}return null}hydrateGroupMeetingParticipants(i){let n=Array.isArray(i.participantConfigs)?i.participantConfigs:[];return ao(he({},i),{participantConfigs:n,participants:n.map(r=>this.resolveParticipantInfo(r.id))})}resolveParticipantInfo(i){return this.meetingsParticipants?.[i]??this.buildFallbackParticipantInfo(i)}buildFallbackParticipantInfo(i){return{id:i,displayName:null,profileUrl:null,photo:null,saved:!1,status:0,timezone:null,group:null,completedSessions:null,snoozed:!1,snoozeExpiresAt:null,sharedAvailability:!1}}isPairedMeeting(i){return i.meetingType==="paired"}isGroupMeeting(i){return i.meetingType==="group_meeting"}getSessionTime(i){return this.isPairedMeeting(i)||this.isGroupMeeting(i)?i.startMs:i.sessionTime}getSessionDuration(i){return this.isPairedMeeting(i)||this.isGroupMeeting(i)?i.durationMs:i.duration}getSessionType(i){return this.isPairedMeeting(i)?i.sessionType??"standard":this.isGroupMeeting(i)?"standard":i.sessionType}getPartnerDisplayName(i){return this.isPairedMeeting(i)?this.meetingsParticipants?.[i.partnerId??""]?.displayName??"":this.isGroupMeeting(i)?"":i.partnerDisplayName??""}getSessionPartnerInfo(i){return!this.isPairedMeeting(i)||!i.partnerId?null:this.meetingsParticipants?.[i.partnerId]??null}getAmbassadorMatch(i){return this.isPairedMeeting(i)?i.ambassadorMatch??!1:this.isGroupMeeting(i)?!1:i.ambassadorMatch}onClickSessionBanner(){this.router.url&&this.router.url.includes("dashboard")?this.calendarViewSerivce.triggerTodaySelected():this.router.navigate(["/dashboard"])}onClickAmbassadorMatchInfo(){this.analyticsService.logClickedEvent("Learn more","Upcoming Session Panel: Ambassador Match Info"),this.dialogService.openAmbassadorMatchInfoDialog(this.isNewUserForAmbassadorProgram,this.getPartnerDisplayName(this.sessionToShow))}ngOnDestroy(){this.upcomingSessionsService.clearMobileUpcomingSessionVisible(),this.ngUnsubscribe.next(null),this.ngUnsubscribe.complete()}};t.\u0275fac=function(n){return new(n||t)(f(ke),f(Yi),f(pe),f(L),f(Se),f(it),f(Yt),f(Zs),f(De),f(fe),f(Fe))},t.\u0275cmp=T({type:t,selectors:[["fm-upcoming-session-panel"]],decls:1,vars:1,consts:[["role","region","aria-label","Upcoming session",1,"w-full","h-auto","bg-p-content-background","bp908:rounded-2xl","p-4","pt-2","bp908:shadow-
1p-form-field-shadow","font-inter","border","border-p-content-border-color"],[1,"w-full","flex","flex-row","justify-start","items-center"],[1,"text-muted-color","font-medium","text-14","leading-[normal]"],[1,"flex","flex-col","justify-center","items-center","w-full"],[1,"w-full","flex","flex-col","justify-start","items-center"],[1,"text-muted-color","font-inter","font-medium","text-[12px]","p-[8px]","leading-normal","w-full","text-center","rounded-lg","bg-blurple-4"],[1,"w-full","text-[#F97316]","font-meidum","text-left","text-12","leading-[normal]","mb-2","mt-4",3,"sessionTime","sessionType","sessionDuration","isInSessionTimer","isValidSession","isTestSession"],[1,"w-full","font-meidum","text-left","text-12","leading-[normal]","text-muted-color","mb-2","mt-4"],[1,"animation-elastic-z-entry","relative","w-full","pr-[4px]","mb-2","mt-2","cursor-pointer"],["height","114","source","upcomingSessions",1,"w-full",3,"groupMeetingInfo","timezone","doNotAnimateIn","timeFormat"],["height","92","source","upcomingSessions",1,"w-full",3,"sessionInfo","partnerInfo","timezone","doNotAnimateIn","timeFormat","alwaysShowJoinSession"],[1,"animation-elastic-z-entry","relative","w-full","pr-[4px]","mb-2","mt-2","cursor-pointer",3,"click"],[1,"effect-shine","w-full","flex","flex-row","items-center","gap-2","p-[8px]","rounded-lg","bg-yellow-100","border","border-[#FFE9A9]","text-primary","text-sm"],[1,"font-medium"],[1,"absolute","top-[-8px]","left-[-8px]","text-[20px]"],[1,"underline","font-normal"],[1,"pi","pi-info-circle"],["aria-label","Upcoming session",1,"flex","flex-col","gap-0","justify-center","items-center","w-full","py-[2px]","bg-orange-100","border-t","border-orange-200"],["variant","text","severity","warn","styleClass","w-full !h-[unset]",1,"w-full",3,"click","buttonProps"],[1,"flex","justify-center","items-center","w-full","underline","py-[2px]"],[1,"text-warn-color","dark:text-orange-400","font-medium",3,"sessionTime","sessionType","sessionDuration","isInSessionTimer","isValidSession","isTestSession"],["aria-label","Upcoming session",1,"flex","flex-col","gap-0","justify-center","items-center","w-full","py-[2px]","bg-yellow-100","border-t","border-yellow-300"],["variant","text","severity","warn","styleClass","w-full !h-[unset] py-[2px]",1,"w-full",3,"click","buttonProps"],[1,"flex","justify-center","items-center","w-full","underline","text-primary"]],template:function(n,r){n&1&&b(0,pf,2,1),n&2&&v(r.sessionToShow?0:-1)},dependencies:[al,ll,xt,el,re,ne,rn],encapsulation:2});let o=t;return o})();var jc=` 2 .p-drawer { 3 display: flex; 4 flex-direction: column; 5 transform: translate3d(0px, 0px, 0px); 6 position: relative; 7 transition: transform 0.3s; 8 background: dt('drawer.background'); 9 color: dt('drawer.color'); 10 border-style: solid; 11 border-color: dt('drawer.border.color'); 12 box-shadow: dt('drawer.shadow'); 13 } 14 15 .p-drawer-content { 16 overflow-y: auto; 17 flex-grow: 1; 18 padding: dt('drawer.content.padding'); 19 } 20 21 .p-drawer-header { 22 display: flex; 23 align-items: center; 24 justify-content: space-between; 25 flex-shrink: 0; 26 padding: dt('drawer.header.padding'); 27 } 28 29 .p-drawer-footer { 30 padding: dt('drawer.footer.padding'); 31 } 32 33 .p-drawer-title { 34 font-weight: dt('drawer.title.font.weight'); 35 font-size: dt('drawer.title.font.size'); 36 } 37 38 .p-drawer-full .p-drawer { 39 transition: none; 40 transform: none; 41 width: 100vw !important; 42 height: 100vh !important; 43 max-height: 100%; 44 top: 0px !important; 45 left: 0px !important; 46 border-width: 1px; 47 } 48 49 .p-drawer-left .p-drawer-enter-active { 50 animation: p-animate-drawer-enter-left 0.5s cubic-bezier(0.32, 0.72, 0, 1); 51 } 52 .p-drawer-left .p-drawer-leave-active { 53 animation: p-animate-drawer-leave-left 0.5s cubic-bezier(0.32, 0.72, 0, 1); 54 } 55 56 .p-drawer-right .p-drawer-enter-active { 57 animation: p-animate-drawer-enter-right 0.5s cubic-bezier(0.32, 0.72, 0, 1); 58 } 59 .p-drawer-right .p-drawer-leave-active { 60 animation: p-animate-drawer-leave-right 0.5s cubic-bezier(0.32, 0.72, 0, 1); 61 } 62 63 .p-drawer-top .p-drawer-enter-active { 64 animation: p-animate-drawer-enter-top 0.5s cubic-bezier(0.32, 0.72, 0, 1); 65 } 66 .p-drawer-top .p-drawer-leave-active { 67 animation: p-animate-drawer-leave-top 0.5s cubic-bezier(0.32, 0.72, 0, 1); 68 } 69 70 .p-drawer-bottom .p-drawer-enter-active { 71 animation: p-animate-drawer-enter-bottom 0.5s cubic-bezier(0.32, 0.72, 0, 1); 72 } 73 .p-drawer-bottom .p-drawer-leave-active { 74 animation: p-animate-drawer-leave-bottom 0.5s cubic-bezier(0.32, 0.72, 0, 1); 75 } 76 77 .p-drawer-full .p-drawer-enter-active { 78 animation: p-animate-drawer-enter-full 0.5s cubic-bezier(0.32, 0.72, 0, 1); 79 } 80 .p-drawer-full .p-drawer-leave-active { 81 animation: p-animate-drawer-leave-full 0.5s cubic-bezier(0.32, 0.72, 0, 1); 82 } 83 84 .p-drawer-left .p-drawer { 85 width: 20rem; 86 height: 100%; 87 border-inline-end-width: 1px; 88 } 89 90 .p-drawer-right .p-drawer { 91 width: 20rem; 92 height: 100%; 93 border-inline-start-width: 1px; 94 } 95 96 .p-drawer-top .p-drawer { 97 height: 10rem; 98 width: 100%; 99 border-block-end-width: 1px; 100 } 101 102 .p-drawer-bottom .p-drawer { 103 height: 10rem; 104 width: 100%; 105 border-block-start-width: 1px; 106 } 107 108 .p-drawer-left .p-drawer-content, 109 .p-drawer-right .p-drawer-content, 110 .p-drawer-top .p-drawer-content, 111 .p-drawer-bottom .p-drawer-content { 112 width: 100%; 113 height: 100%; 114 } 115 116 .p-drawer-open { 117 display: flex; 118 } 119 120 .p-drawer-mask:dir(rtl) { 121 flex-direction: row-reverse; 122 } 123
124 @keyframes p-animate-drawer-enter-left { 125 from { 126 transform: translate3d(-100%, 0px, 0px); 127 } 128 } 129 130 @keyframes p-animate-drawer-leave-left { 131 to { 132 transform: translate3d(-100%, 0px, 0px); 133 } 134 } 135 136 @keyframes p-animate-drawer-enter-right { 137 from { 138 transform: translate3d(100%, 0px, 0px); 139 } 140 } 141 142 @keyframes p-animate-drawer-leave-right { 143 to { 144 transform: translate3d(100%, 0px, 0px); 145 } 146 } 147 148 @keyframes p-animate-drawer-enter-top { 149 from { 150 transform: translate3d(0px, -100%, 0px); 151 } 152 } 153 154 @keyframes p-animate-drawer-leave-top { 155 to { 156 transform: translate3d(0px, -100%, 0px); 157 } 158 } 159 160 @keyframes p-animate-drawer-enter-bottom { 161 from { 162 transform: translate3d(0px, 100%, 0px); 163 } 164 } 165 166 @keyframes p-animate-drawer-leave-bottom { 167 to { 168 transform: translate3d(0px, 100%, 0px); 169 } 170 } 171 172 @keyframes p-animate-drawer-enter-full { 173 from { 174 opacity: 0; 175 transform: scale(0.93); 176 } 177 } 178 179 @keyframes p-animate-drawer-leave-full { 180 to { 181 opacity: 0; 182 transform: scale(0.93); 183 } 184 } 185`;var bf=["header"],vf=["footer"],_f=["content"],Cf=["closeicon"],yf=["headless"],Sf=["container"],kf=["closeButton"],wf=["*"];function xf(o,t){o&1&&et(0)}function Tf(o,t){if(o&1&&U(0,xf,1,0,"ng-container",4),o&2){let e=u(2);m("ngTemplateOutlet",e.headlessTemplate||e._headlessTemplate)}}function Mf(o,t){o&1&&et(0)}function Ef(o,t){if(o&1&&(a(0,"div",9),S(1),d()),o&2){let e=u(3);ue(e.cx("title")),m("pBind",e.ptm("title")),c(),je(e.header)}}function Bf(o,t){o&1&&(ze(),h(0,"svg",12)),o&2&&Y("data-pc-section","closeicon")}function If(o,t){}function Af(o,t){o&1&&U(0,If,0,0,"ng-template")}function Df(o,t){if(o&1&&U(0,Bf,1,1,"svg",11)(1,Af,1,0,null,4),o&2){let e=u(4);m("ngIf",!e.closeIconTemplate&&!e._closeIconTemplate),c(),m("ngTemplateOutlet",e.closeIconTemplate||e._closeIconTemplate)}}function Rf(o,t){if(o&1){let e=x();a(0,"p-button",10),_("onClick",function(n){C(e);let r=u(3);return y(r.close(n))})("keydown.enter",function(n){C(e);let r=u(3);return y(r.close(n))}),U(1,Df,2,2,"ng-template",null,1,ve),d()}if(o&2){let e=u(3);m("pt",e.ptm("pcCloseButton"))("ngClass",e.cx("pcCloseButton"))("buttonProps",e.closeButtonProps)("ariaLabel",e.ariaCloseLabel)("unstyled",e.unstyled()),Y("data-pc-group-section","iconcontainer")}}function Ff(o,t){o&1&&et(0)}function Pf(o,t){o&1&&et(0)}function Nf(o,t){if(o&1&&(Ci(0),a(1,"div",5),U(2,Pf,1,0,"ng-container",4),d(),yi()),o&2){let e=u(3);c(),m("pBind",e.ptm("footer"))("ngClass",e.cx("footer")),Y("data-pc-section","footer"),c(),m("ngTemplateOutlet",e.footerTemplate||e._footerTemplate)}}function Lf(o,t){if(o&1&&(a(0,"div",5),U(1,Mf,1,0,"ng-container",4)(2,Ef,2,4,"div",6)(3,Rf,3,6,"p-button",7),d(),a(4,"div",5),ss(5),U(6,Ff,1,0,"ng-container",4),d(),U(7,Nf,3,4,"ng-container",8)),o&2){let e=u(2);m("pBind",e.ptm("header"))("ngClass",e.cx("header")),Y("data-pc-section","header"),c(),m("ngTemplateOutlet",e.headerTemplate||e._headerTemplate),c(),m("ngIf",e.header),c(),m("ngIf",e.showCloseIcon&&e.closable),c(),m("pBind",e.ptm("content"))("ngClass",e.cx("content")),Y("data-pc-section","content"),c(2),m("ngTemplateOutlet",e.contentTemplate||e._contentTemplate),c(),m("ngIf",e.footerTemplate||e._footerTemplate)}}function Of(o,t){if(o&1){let e=x();a(0,"div",3,0),_("pMotionOnBeforeEnter",function(n){C(e);let r=u();return y(r.onBeforeEnter(n))})("pMotionOnAfterLeave",function(n){C(e);let r=u();return y(r.onAfterLeave(n))})("keydown",function(n){C(e);let r=u();return y(r.onKeyDown(n))}),b(2,Tf,1,1,"ng-container")(3,Lf,8,11),d()}if(o&2){let e=u();Xt(e.style),ue(e.cn(e.cx("root"),e.styleClass)),m("pBind",e.ptm("root"))("pMotion",e.visible)("pMotionAppear",!0)("pMotionEnterActiveClass",e.$enterAnimation())("pMotionLeaveActiveClass",e.$leaveAnimation())("pMotionOptions",e.computedMotionOptions()),Y("data-p",e.dataP)("data-p-open",e.visible),c(2),v(e.headlessTemplate||e._headlessTemplate?2:3)}}var Vf=` 186${jc} 187 188/** For PrimeNG **/ 189.p-drawer { 190 position: fixed; 191} 192 193.p-drawer-left { 194 top: 0; 195 left: 0; 196 width: 20rem; 197 height: 100%; 198 border-inline-end-width: 1px; 199} 200 201.p-drawer-right { 202 top: 0; 203 right: 0; 204 width: 20rem; 205 height: 100%; 206 border-inline-start-width: 1px; 207} 208 209.p-drawer-top { 210 top: 0; 211 left: 0; 212 width: 100%; 213 height: 10rem; 214 border-block-end-width: 1px; 215} 216 217.p-drawer-bottom { 218 bottom: 0; 219 left: 0; 220 width: 100%; 221 height: 10rem; 222 border-block-start-width: 1px; 223} 224 225.p-drawer-full { 226 width: 100%; 227 height: 100%; 228 top: 0; 229 left: 0; 230 -webkit-transition: none; 231 transition: none; 232} 233 234/* Animations */ 235.p-drawer-enter-left { 236 animation: p-animate-drawer-enter-left 0.5s cubic-bezier(0.32, 0.72, 0, 1); 237} 238 239.p-drawer-leave-left { 240 animation: p-animate-drawer-leave-left 0.5s cubic-bezier(0.32, 0.72, 0, 1); 241} 242 243.p-drawer-enter-right { 244 animation: p-animate-drawer-enter-right 0.5s cubic-bezier(0.32, 0.72, 0, 1); 245} 246 247.p-drawer-leave-right { 248 animation: p-animate-drawer-leave-right 0.5s cubic-bezier(0.32, 0.72, 0, 1); 249} 250 251.p-drawer-enter-top { 252 animation: p-animate-drawer-enter-top 0.5s cubic-bezier(0.32, 0.72, 0, 1); 253} 254 255.p-drawer-leave-top { 256 animation: p-animate-drawer-leave-top 0.5s cubic-bezier(0.32, 0.72, 0, 1); 257} 258 259.p-drawer-enter-bottom { 260 animation: p-animate-drawer-enter-bottom 0.5s cubic-bezier(0.32, 0.72, 0, 1); 261} 262 263.p-drawer-leave-bottom { 264 animation: p-animate-drawer-leave-bottom 0.5s cubic-bezier(0.32, 0.72, 0, 1); 265} 266 267.p-drawer-enter-full { 268 animation: p-animate-drawer-enter-full 0.5s cubic-bezier(0.32, 0.72, 0, 1); 269} 270 271.p-drawer-leave-full { 272 animation: p-animate-drawer-leave-full 0.5s cubic-bezier(0.32, 0.72, 0, 1); 273} 274`,Uf={mask:({instance:o})=>["p-drawer-mask",{"p-overlay-mask p-overlay-mask-enter-active":o.modal},{"p-drawer-full":o.fullScreen()}],root:({instance:o})=>["p-drawer p-component",{"p-drawer-full":o.fullScreen(),"p-drawer-open":o.visible},`p-drawer-${o.position()}`],header:"p-drawer-header",title:"p-drawer-title",pcCloseButton:"p-drawer-close-button",content:"p-drawer-content",footer:"p-drawer-footer"},Wc=(()=>{class o extends Hi{name="drawer";style=Vf;classes=Uf;static \u0275fac=(()=>{let e;return function(n){return(e||(e=lt(o)))(n||o)}})();static \u0275prov=te({token:o,factory:o.\u0275fac})}return o}
vendor: 7,481 bytes, line 274
274)();var Gc=new fi("DRAWER_INSTANCE"),ti=(()=>{class o extends Wo{componentName="Drawer";$pcDrawer=de(Gc,{optional:!0,skipSelf:!0})??void 0;bindDirectiveInstance=de(wt,{self:!0});onAfterViewChecked(){this.bindDirectiveInstance.setAttrs(this.ptm("host"))}appendTo=mt(void 0);motionOptions=mt(void 0);computedMotionOptions=_e(()=>he(he({},this.ptm("motion")),this.motionOptions()));blockScroll=!1;style;styleClass;ariaCloseLabel;autoZIndex=!0;baseZIndex=0;modal=!0;closeButtonProps={severity:"secondary",text:!0,rounded:!0};dismissible=!0;showCloseIcon=!0;closeOnEscape=!0;transitionOptions="150ms cubic-bezier(0, 0, 0.2, 1)";get visible(){return this._visible??!1}set visible(e){this._visible=e,this._visible&&!this.modalVisible&&(this.modalVisible=!0)}position=mt("left");fullScreen=mt(!1);$enterAnimation=_e(()=>this.fullScreen()?"p-drawer-enter-full":`p-drawer-enter-${this.position()}`);$leaveAnimation=_e(()=>this.fullScreen()?"p-drawer-leave-full":`p-drawer-leave-${this.position()}`);header;maskStyle;closable=!0;onShow=new be;onHide=new be;visibleChange=new be;containerViewChild;closeButtonViewChild;initialized;_visible;_position="left";_fullScreen=!1;modalVisible=!1;container;mask;maskClickListener;documentEscapeListener;animationEndListener;_componentStyle=de(Wc);onAfterViewInit(){this.initialized=!0}headerTemplate;footerTemplate;contentTemplate;closeIconTemplate;headlessTemplate;$appendTo=_e(()=>this.appendTo()||this.config.overlayAppendTo());_headerTemplate;_footerTemplate;_contentTemplate;_closeIconTemplate;_headlessTemplate;templates;onAfterContentInit(){this.templates?.forEach(e=>{switch(e.getType()){case"content":this._contentTemplate=e.template;break;case"header":this._headerTemplate=e.template;break;case"footer":this._footerTemplate=e.template;break;case"closeicon":this._closeIconTemplate=e.template;break;case"headless":this._headlessTemplate=e.template;break;default:this._contentTemplate=e.template;break}})}onKeyDown(e){e.code==="Escape"&&this.hide(!1)}show(){this.container?.setAttribute(this.$attrSelector,""),this.autoZIndex&&Rt.set("modal",this.container,this.baseZIndex||this.config.zIndex.modal),this.modal&&this.enableModality(),this.onShow.emit({}),this.visibleChange.emit(!0)}hide(e=!0){e&&this.onHide.emit({}),this.modal&&this.disableModality()}close(e){this.hide(),this.visibleChange.emit(!1),this.cd.markForCheck(),e.preventDefault()}enableModality(){let e=this.document.querySelectorAll('[data-p-open="true"]'),i=e.length,n=i==1?String(parseInt(this.container.style.zIndex)-1):String(parseInt(e[i-1].style.zIndex)-1);if(!this.mask){if(this.mask=this.renderer.createElement("div"),this.mask){let r=`z-index: ${n};${this.getMaskStyle()}`;So(this.mask,"style",r),So(this.mask,"data-p",this.dataP),rr(this.mask,this.cx("mask"))}this.dismissible&&(this.maskClickListener=this.renderer.listen(this.mask,"click",r=>{this.dismissible&&this.close(r)})),this.renderer.appendChild(this.document.body,this.mask),this.blockScroll&&aa()}}getMaskStyle(){return this.maskStyle?Object.entries(this.maskStyle).map(([e,i])=>`${e}: ${i}`).join("; "):""}disableModality(){this.mask&&(!this.$unstyled()&&ra(this.mask,"p-overlay-mask-enter-active"),!this.$unstyled()&&rr(this.mask,"p-overlay-mask-leave-active"),this.animationEndListener=this.renderer.listen(this.mask,"animationend",this.destroyModal.bind(this)))}destroyModal(){this.unbindMaskClickListener(),this.mask&&this.renderer.removeChild(this.document.body,this.mask),this.blockScroll&&la(),this.unbindAnimationEndListener(),this.mask=null}onBeforeEnter(e){this.container=e.element,this.appendContainer(),this.show(),this.closeOnEscape&&this.bindDocumentEscapeListener()}onAfterLeave(){this.hide(!1),Rt.clear(this.container),this.unbindGlobalListeners(),this.modalVisible=!1,this.container=null}appendContainer(){this.$appendTo()&&this.$appendTo()!=="self"&&(this.$appendTo()==="body"?sr(this.document.body,this.container):sr(this.$appendTo(),this.container))}bindDocumentEscapeListener(){let e=this.el?this.el.nativeElement.ownerDocument:this.document;this.documentEscapeListener=this.renderer.listen(e,"keydown",i=>{i.which==27&&parseInt(this.container?.style.zIndex)===Rt.get(this.container)&&this.close(i)})}unbindDocumentEscapeListener(){this.documentEscapeListener&&(this.documentEscapeListener(),this.documentEscapeListener=null)}unbindMaskClickListener(){this.maskClickListener&&(this.maskClickListener(),this.maskClickListener=null)}unbindGlobalListeners(){this.unbindMaskClickListener(),this.unbindDocumentEscapeListener()}unbindAnimationEndListener(){this.animationEndListener&&this.mask&&(this.animationEndListener(),this.animationEndListener=null)}onDestroy(){this.initialized=!1,this.visible&&this.modal&&this.destroyModal(),this.$appendTo()&&this.container&&this.renderer.appendChild(this.el.nativeElement,this.container),this.container&&this.autoZIndex&&Rt.clear(this.container),this.container=null,this.unbindGlobalListeners(),this.unbindAnimationEndListener()}get dataP(){return this.cn({"full-screen":this.position()==="full",[this.position()]:this.position(),open:this.visible,modal:this.modal})}static \u0275fac=(()=>{let e;return function(n){return(e||(e=lt(o)))(n||o)}})();static \u0275cmp=T({type:o,selectors:[["p-drawer"]],contentQueries:function(i,n,r){if(i&1&&Si(r,bf,4)(r,vf,4)(r,_f,4)(r,Cf,4)(r,yf,4)(r,ko,4),i&2){let s;J(s=ee())&&(n.headerTemplate=s.first),J(s=ee())&&(n.footerTemplate=s.first),J(s=ee())&&(n.contentTemplate=s.first),J(s=ee())&&(n.closeIconTemplate=s.first),J(s=ee())&&(n.headlessTemplate=s.first),J(s=ee())&&(n.templates=s)}},viewQuery:function(i,n){if(i&1&&Oe(Sf,5)(kf,5),i&2){let r;J(r=ee())&&(n.containerViewChild=r.first),J(r=ee())&&(n.closeButtonViewChild=r.first)}},inputs:{appendTo:[1,"appendTo"],motionOptions:[1,"motionOptions"],blockScroll:[2,"blockScroll","blockScroll",tt],style:"style",styleClass:"styleClass",ariaCloseLabel:"ariaCloseLabel",autoZIndex:[2,"autoZIndex","autoZIndex",tt],baseZIndex:[2,"baseZIndex","baseZIndex",eo],modal:[2,"modal","modal",tt],closeButtonProps:"closeButtonProps",dismissible:[2,"dismissible","dismissible",tt],showCloseIcon:[2,"showCloseIcon","showCloseIcon",tt],closeOnEscape:[2,"closeOnEscape","closeOnEscape",tt],transitionOptions:"transitionOptions",visible:"visible",position:[1,"position"],fullScreen:[1,"fullScreen"],header:"header",maskStyle:"maskStyle",closable:[2,"closable","closable",tt]},outputs:{onShow:"onShow",onHide:"onHide",visibleChange:"visibleChange"},features:[Ho([Wc,{provide:Gc,useExisting:o},{provide:ji,useExisting:o}]),_i([wt]),ct],ngContentSelectors:wf,decls:1,vars:1,consts:[["container",""],["icon",""],["role","complementary","pFocusTrap","",3,"pBind","pMotion","pMotionAppear","pMotionEnterActiveClass","pMotionLeaveActiveClass","pMotionOptions","class","style"],["role","complementary","pFocusTrap","",3,"pMotionOnBeforeEnter","pMotionOnAfterLeave","keydown","pBind","pMotion","pMotionAppear","pMotionEnterActiveClass","pMotionLeaveActiveClass","pMotionOptions"],[4,"ngTemplateOutlet"],[3,"pBind","ngClass"],[3,"pBind","class",4,"ngIf"],[3,"pt","ngClass","buttonProps","ariaLabel","unstyled","onClick","keydown.enter",4,"ngIf"],[4,"ngIf"],[3,"pBind"],[3,"onClick","keydown.enter","pt","ngClass","buttonProps","ariaLabel","unstyled"],["data-p-icon","times",4,"ngIf"],["data-p-icon","times"]],template:function(i,n){i&1&&(rs(),b(0,Of,4,13,"div",2)),i&2&&v(n.modalVisible?0:-1)},dependencies:[O,W,xi,Ti,ne,Wi,Dt,wt,ka,Sa,qi,Gi],encapsulation:2,changeDetection:0})}return o}
274)(),Un=(()=>{class o{static \u0275fac=function(i){return new(i||o)};static \u0275mod=Je({type:o});static \u0275inj=Xe({imports:[ti,Dt,Dt]})}return o})();var Et=(()=>{let t=class t{constructor(){this.visible=He(!1)}open(){this.visible.set(!0)}close(){this.visible.set(!1)}toggle(){this.visible.update(i=>!i)}};t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=te({token:t,factory:t.\u0275fac,providedIn:"root"});let o=t;return o})();var zf=["mobileDrawerRef"],Hf=o=>({"mb-[20px]":o}),jf=()=>({autofocus:!1});function Wf(o,t){if(o&1){let e=x();a(0,"div",9),_("touchstart",function(n){C(e);let r=u(2);return y(r.onTouchStart(n))})("touchmove",function(n){C(e);let r=u(2);return y(r.onTouchMove(n))})("touchend",function(n){C(e);let r=u(2);return y(r.onTouchEnd(n))})("touchcancel",function(n){C(e);let r=u(2);return y(r.onTouchEnd(n))}),a(1,"p-button",10),_("click",function(n){C(e);let r=u(2);return y(r.clickBackButton(n))}),d()()}if(o&2){let e=u(2);c(),m("buttonProps",M(3,jf))("ariaLabel",e.backButtonLabel)("outlined",!1)}}function Gf(o,t){o&1&&et(0)}function qf(o,t){if(o&1&&U(0,Gf,1,0,"ng-container",11),o&2){let e=u(2);m("ngComponentOutlet",e.currentContent.component)("ngComponentOutletInputs",e.currentContent.context)}}function Qf(o,t){o&1&&h(0,"div",7)}function Yf(o,t){if(o&1){let e=x();a(0,"div",3),_("touchstart",function(n){C(e);let r=u();return y(r.onTouchStart(n))})("touchmove",function(n){C(e);let r=u();return y(r.onTouchMove(n))})("touchend",function(n){C(e);let r=u();return y(r.onTouchEnd(n))})("touchcancel",function(n){C(e);let r=u();return y(r.onTouchEnd(n))})("click",function(n){C(e);let r=u();return y(r.clickDrawerHandle(n))}),h(1,"div",4),d(),b(2,Wf,2,4,"div",5),a(3,"div",6),_("touchstart",function(n){C(e);let r=u();return y(r.onTouchStart(n))})("touchmove",function(n){C(e);let r=u();return y(r.onTouchMove(n))})("touchend",function(n){C(e);let r=u();return y(r.onTouchEnd(n))})("touchcancel",function(n){C(e);let r=u();return y(r.onTouchEnd(n))}),b(4,qf,1,2,"ng-container"),d(),b(5,Qf,1,0,"div",7),h(6,"div",8)}if(o&2){let e=u();m("ngClass",$(4,Hf,!e.showBackButton)),c(2),v(e.showBackButton?2:-1),c(2),v(e.currentContent?4:-1),c(),v(e.upcomingSessionsService.visible()?5:-1)}}var zn=(()=>{let t=class t{constructor(i,n,r,s,l,p){this.router=i,this.calendarViewService=n,this.upcomingSessionsService=r,this.contentStackService=s,this.cdr=l,this.menuDrawerState=p,this.startY=0,this.currentY=0,this.startX=0,this.currentX=0,this.dragging=!1,this.CLOSE_THRESHOLD=100,this.ngUnsubscribe=new X,hi(()=>{p.visible()&&(this.resetDrawer(),this.contentStackService.clearContent(),this.cdr.markForCheck())})}resetDrawer(){this.startY=0,this.currentY=0,this.dragging=!1,this.panelEl=null}updateBackButtonStatus(){this.contentStackSize>1&&this.currentContent?this.currentContent.component===Ja?(this.showBackButton=!0,this.backButtonLabel="User profile"):this.currentContent.component===Xa?(this.showBackButton=!0,this.backButtonLabel="User availability"):this.currentContent.component===hl?(this.showBackButton=!0,this.backButtonLabel="Group session details"):(this.showBackButton=!1,this.backButtonLabel=null):(this.showBackButton=!1,this.backButtonLabel=null)}ngOnInit(){this.contentStackService.contentStackChanged$.pipe(N(this.ngUnsubscribe)).subscribe(i=>{this.resetDrawer(),this.currentContent=i.currentContent,this.updateBackButtonStatus(),this.cdr.markForCheck()}),this.contentStackService.contentContextUpdated$.pipe(N(this.ngUnsubscribe)).subscribe(i=>{this.currentContent?.contentId===i&&this.cdr.markForCheck()}),this.contentStackService.currentConstentStackSize$.pipe(N(this.ngUnsubscribe)).subscribe(i=>{this.contentStackSize=i,this.updateBackButtonStatus(),this.cdr.markForCheck()}),this.router.events.pipe(N(this.ngUnsubscribe)).subscribe(i=>{i instanceof Ii&&(this.resetDrawer(),this.contentStackService.clearContent(),this.updateBackButtonStatus(),this.cdr.markForCheck())}),this.calendarViewService.triggerTodaySelected$.pipe(N(this.ngUnsubscribe)).subscribe(()=>{this.resetDrawer(),this.contentStackService.clearContent(),this.cdr.markForCheck()})}ngAfterViewInit(){this.drawerRef.onShow.pipe(ge(1)).subscribe(()=>{this.panelEl=this.drawerRef.container}),this.drawerRef.onHide.subscribe(i=>{this.resetDrawer(),this.contentStackService.popContent()})}clickDrawerHandle(i){this.contentStackService.clearContent(),this.drawerRef.close(i)}clickBackButton(i){this.contentStackService.popContent()}onTouchStart(i){if(i.touches.length!==1||!this.panelEl&&(this.panelEl=this.resolvePanel(i),!this.panelEl))return;let n=i.target;this.isInScrollableElement(n)||(this.dragging=!0,this.startY=i.touches[0].clientY,this.startX=i.touches[0].clientX,this.currentY=0,this.currentX=0)}onTouchMove(i){if(!this.dragging||!this.panel||i.touches.length!==1)return;this.currentY=i.touches[0].clientY-this.startY,this.currentX=i.touches[0].clientX-this.startX;let n=Math.abs(this.currentY)>Math.abs(this.currentX);if(this.currentY>0&&n){let r=this.currentY;this.panel.style.transform=`translate3d(0, ${r}px, 0)`,i.preventDefault()}}onTouchEnd(i){if(!this.dragging||!this.panel)return;this.dragging=!1;let n=this.currentY>=this.CLOSE_THRESHOLD&&this.currentY>0;this.panel.style.transition="transform 180ms ease-out",this.panel.style.transform=n?"translate3d(0, 100%, 0)":"translate3d(0, 0, 0)",setTimeout(()=>{n&&(this.contentStackService.clearContent(),this.drawerRef.close(i)),this.panel&&(this.panel.style.transition="")},180),this.currentY=0}get panel(){return this.panelEl}resolvePanel(i){return i.target.closest(".p-drawer")}isInScrollableElement(i){let n=i;for(;n&&n!==this.panelEl;){let s=window.getComputedStyle(n).overflowY,l=n.scrollHeight,p=n.clientHeight;if((s==="scroll"||s==="auto")&&l>p&&n.scrollTop>0)return!0;n=n.parentElement}return!1}ngOnDestroy(){this.ngUnsubscribe.next(),this.ngUnsubscribe.complete()}};t.\u0275fac=function(n){return new(n||t)(f(pe),f(Yi),f(Yt),f(Mo),f(ho),f(Et))},t.\u0275cmp=T({type:t,selectors:[["fm-mobile-drawer"]],viewQuery:function(n,r){if(n&1&&Oe(zf,5),n&2){let s;J(s=ee())&&(r.drawerRef=s.first)}},inputs:{navRef:"navRef"},decls:4,vars:5,consts:[["mobileDrawerRef",""],["headless",""],["maskStyle","background-color:transparent !important","position","bottom","styleClass","!shadow-none !shadow-top-lift rounded-t-2xl z-[900]",2,"height","95% !important","max-height","95% !important","justify-content","flex-start",3,"modal","dismissible","visible","autoZIndex","appendTo"],[1,"w-full","h-[25px]","flex","justify-center","items-end","cursor-grab","touch-none",3,"touchstart","touchmove","touchend","touchcancel","click","ngClass"],[1,"w-10","h-1","bg-[#8B8888]","rounded"],[1,"ml-4","mb-2"],[1,"flex","flex-col","rounded-t-2xl","overflow-auto","h-full","w-full",3,"touchstart","touchmove","touchend","touchcancel"],[1,"h-12","min-h-12"],[1,"h-[53px]","min-h-[53px]"],[1,"ml-4","mb-2",3,"touchstart","touchmove","touchend","touchcancel"],["size","small","severity","secondary","icon","pi pi-arrow-left",3,"click","buttonProps","ariaLabel","outlined"],[4,"ngComponentOutlet","ngComponentOutletInputs"]],template:function(n,r){n&1&&(a(0,"p-drawer",2,0),U(2,Yf,7,6,"ng-template",null,1,ve),d()),n&2&&m("modal",!0)("dismissible",!0)("visible",r.currentContent!=null)("autoZIndex",!1)("appendTo",r.navRef)},dependencies:[O,W,wi,Un,ti,re,ne],encapsulation:2});let o=t;return o}
274)();var Yc=` 275 .p-toast { 276 width: dt('toast.width'); 277 white-space: pre-line; 278 word-break: break-word; 279 } 280 281 .p-toast-message { 282 margin: 0 0 1rem 0; 283 display: grid; 284 grid-template-rows: 1fr; 285 } 286 287 .p-toast-message-icon { 288 flex-shrink: 0; 289 font-size: dt('toast.icon.size'); 290 width: dt('toast.icon.size'); 291 height: dt('toast.icon.size'); 292 } 293 294 .p-toast-message-content { 295 display: flex; 296 align-items: flex-start; 297 padding: dt('toast.content.padding'); 298 gap: dt('toast.content.gap'); 299 min-height: 0; 300 overflow: hidden; 301 transition: padding 250ms ease-in; 302 } 303 304 .p-toast-message-text { 305 flex: 1 1 auto; 306 display: flex; 307 flex-direction: column; 308 gap: dt('toast.text.gap'); 309 } 310 311 .p-toast-summary { 312 font-weight: dt('toast.summary.font.weight'); 313 font-size: dt('toast.summary.font.size'); 314 } 315 316 .p-toast-detail { 317 font-weight: dt('toast.detail.font.weight'); 318 font-size: dt('toast.detail.font.size'); 319 } 320 321 .p-toast-close-button { 322 display: flex; 323 align-items: center; 324 justify-content: center; 325 overflow: hidden; 326 position: relative; 327 cursor: pointer; 328 background: transparent; 329 transition: 330 background dt('toast.transition.duration'), 331 color dt('toast.transition.duration'), 332 outline-color dt('toast.transition.duration'), 333 box-shadow dt('toast.transition.duration'); 334 outline-color: transparent; 335 color: inherit; 336 width: dt('toast.close.button.width'); 337 height: dt('toast.close.button.height'); 338 border-radius: dt('toast.close.button.border.radius'); 339 margin: -25% 0 0 0; 340 right: -25%; 341 padding: 0; 342 border: none; 343 user-select: none; 344 } 345 346 .p-toast-close-button:dir(rtl) { 347 margin: -25% 0 0 auto; 348 left: -25%; 349 right: auto; 350 } 351 352 .p-toast-message-info, 353 .p-toast-message-success, 354 .p-toast-message-warn, 355 .p-toast-message-error, 356 .p-toast-message-secondary, 357 .p-toast-message-contrast { 358 border-width: dt('toast.border.width'); 359 border-style: solid; 360 backdrop-filter: blur(dt('toast.blur')); 361 border-radius: dt('toast.border.radius'); 362 } 363 364 .p-toast-close-icon { 365 font-size: dt('toast.close.icon.size'); 366 width: dt('toast.close.icon.size'); 367 height: dt('toast.close.icon.size'); 368 } 369 370 .p-toast-close-button:focus-visible { 371 outline-width: dt('focus.ring.width'); 372 outline-style: dt('focus.ring.style'); 373 outline-offset: dt('focus.ring.offset'); 374 } 375 376 .p-toast-message-info { 377 background: dt('toast.info.background'); 378 border-color: dt('toast.info.border.color'); 379 color: dt('toast.info.color'); 380 box-shadow: dt('toast.info.shadow'); 381 } 382 383 .p-toast-message-info .p-toast-detail { 384 color: dt('toast.info.detail.color'); 385 } 386 387 .p-toast-message-info .p-toast-close-button:focus-visible { 388 outline-color: dt('toast.info.close.button.focus.ring.color'); 389 box-shadow: dt('toast.info.close.button.focus.ring.shadow'); 390 } 391 392 .p-toast-message-info .p-toast-close-button:hover { 393 background: dt('toast.info.close.button.hover.background'); 394 } 395 396 .p-toast-message-success { 397 background: dt('toast.success.background'); 398 border-color: dt('toast.success.border.color'); 399 color: dt('toast.success.color'); 400 box-shadow: dt('toast.success.shadow'); 401 } 402 403 .p-toast-message-success .p-toast-detail { 404 color: dt('toast.success.detail.color'); 405 } 406 407 .p-toast-message-success .p-toast-close-button:focus-visible { 408 outline-color: dt('toast.success.close.button.focus.ring.color'); 409 box-shadow: dt('toast.success.close.button.focus.ring.shadow'); 410 } 411 412 .p-toast-message-success .p-toast-close-button:hover { 413 background: dt('toast.success.close.button.hover.background'); 414 } 415 416 .p-toast-message-warn { 417 background: dt('toast.warn.background'); 418 border-color: dt('toast.warn.border.color'); 419 color: dt('toast.warn.color'); 420 box-shadow: dt('toast.warn.shadow'); 421 } 422 423 .p-toast-message-warn .p-toast-detail { 424 color: dt('toast.warn.detail.color'); 425 } 426 427 .p-toast-message-warn .p-toast-close-button:focus-visible { 428 outline-color: dt('toast.warn.close.button.focus.ring.color'); 429 box-shadow: dt('toast.warn.close.button.focus.ring.shadow'); 430 } 431 432 .p-toast-message-warn .p-toast-close-button:hover { 433 background: dt('toast.warn.close.button.hover.background'); 434 } 435 436 .p-toast-message-error { 437 background: dt('toast.error.background'); 438 border-color: dt('toast.error.border.color'); 439 color: dt('toast.error.color'); 440 box-shadow: dt('toast.error.shadow'); 441 } 442 443 .p-toast-message-error .p-toast-detail { 444 color: dt('toast.error.detail.color'); 445 } 446 447 .p-toast-message-error .p-toast-close-button:focus-visible { 448 outline-color: dt('toast.error.close.button.focus.ring.color'); 449 box-shadow: dt('toast.error.close.button.focus.ring.shadow'); 450 } 451 452 .p-toast-message-error .p-toast-close-button:hover { 453 background: dt('toast.error.close.button.hover.background'); 454 } 455 456 .p-toast-message-secondary { 457 background: dt('toast.secondary.background'); 458 border-color: dt('toast.secondary.border.color');
459 color: dt('toast.secondary.color'); 460 box-shadow: dt('toast.secondary.shadow'); 461 } 462 463 .p-toast-message-secondary .p-toast-detail { 464 color: dt('toast.secondary.detail.color'); 465 } 466 467 .p-toast-message-secondary .p-toast-close-button:focus-visible { 468 outline-color: dt('toast.secondary.close.button.focus.ring.color'); 469 box-shadow: dt('toast.secondary.close.button.focus.ring.shadow'); 470 } 471 472 .p-toast-message-secondary .p-toast-close-button:hover { 473 background: dt('toast.secondary.close.button.hover.background'); 474 } 475 476 .p-toast-message-contrast { 477 background: dt('toast.contrast.background'); 478 border-color: dt('toast.contrast.border.color'); 479 color: dt('toast.contrast.color'); 480 box-shadow: dt('toast.contrast.shadow'); 481 } 482 483 .p-toast-message-contrast .p-toast-detail { 484 color: dt('toast.contrast.detail.color'); 485 } 486 487 .p-toast-message-contrast .p-toast-close-button:focus-visible { 488 outline-color: dt('toast.contrast.close.button.focus.ring.color'); 489 box-shadow: dt('toast.contrast.close.button.focus.ring.shadow'); 490 } 491 492 .p-toast-message-contrast .p-toast-close-button:hover { 493 background: dt('toast.contrast.close.button.hover.background'); 494 } 495 496 .p-toast-top-center { 497 transform: translateX(-50%); 498 } 499 500 .p-toast-bottom-center { 501 transform: translateX(-50%); 502 } 503 504 .p-toast-center { 505 min-width: 20vw; 506 transform: translate(-50%, -50%); 507 } 508 509 .p-toast-message-enter-active { 510 animation: p-animate-toast-enter 300ms ease-out; 511 } 512 513 .p-toast-message-leave-active { 514 animation: p-animate-toast-leave 250ms ease-in; 515 } 516 517 .p-toast-message-leave-to .p-toast-message-content { 518 padding-top: 0; 519 padding-bottom: 0; 520 } 521 522 @keyframes p-animate-toast-enter { 523 from { 524 opacity: 0; 525 transform: scale(0.6); 526 } 527 to { 528 opacity: 1; 529 grid-template-rows: 1fr; 530 } 531 } 532 533 @keyframes p-animate-toast-leave { 534 from { 535 opacity: 1; 536 } 537 to { 538 opacity: 0; 539 margin-bottom: 0; 540 grid-template-rows: 0fr; 541 transform: translateY(-100%) scale(0.6); 542 } 543 } 544`;var Kf=(o,t)=>({$implicit:o,closeFn:t}),Zf=o=>({$implicit:o});function Xf(o,t){o&1&&et(0)}function Jf(o,t){if(o&1&&U(0,Xf,1,0,"ng-container",3),o&2){let e=u();m("ngTemplateOutlet",e.headlessTemplate)("ngTemplateOutletContext",Ae(2,Kf,e.message,e.onCloseIconClick))}}function e0(o,t){if(o&1&&h(0,"span",4),o&2){let e=u(3);ue(e.cn(e.cx("messageIcon"),e.message==null?null:e.message.icon)),m("pBind",e.ptm("messageIcon"))}}function t0(o,t){if(o&1&&(ze(),h(0,"svg",11)),o&2){let e=u(4);ue(e.cx("messageIcon")),m("pBind",e.ptm("messageIcon")),Y("aria-hidden",!0)}}function o0(o,t){if(o&1&&(ze(),h(0,"svg",12)),o&2){let e=u(4);ue(e.cx("messageIcon")),m("pBind",e.ptm("messageIcon")),Y("aria-hidden",!0)}}function i0(o,t){if(o&1&&(ze(),h(0,"svg",13)),o&2){let e=u(4);ue(e.cx("messageIcon")),m("pBind",e.ptm("messageIcon")),Y("aria-hidden",!0)}}function n0(o,t){if(o&1&&(ze(),h(0,"svg",14)),o&2){let e=u(4);ue(e.cx("messageIcon")),m("pBind",e.ptm("messageIcon")),Y("aria-hidden",!0)}}function r0(o,t){if(o&1&&(ze(),h(0,"svg",12)),o&2){let e=u(4);ue(e.cx("messageIcon")),m("pBind",e.ptm("messageIcon")),Y("aria-hidden",!0)}}function s0(o,t){if(o&1&&b(0,t0,1,4,":svg:svg",7)(1,o0,1,4,":svg:svg",8)(2,i0,1,4,":svg:svg",9)(3,n0,1,4,":svg:svg",10)(4,r0,1,4,":svg:svg",8),o&2){let e,i=u(3);v((e=i.message.severity)==="success"?0:e==="info"?1:e==="error"?2:e==="warn"?3:4)}}function a0(o,t){if(o&1&&(Ci(0),b(1,e0,1,3,"span",2)(2,s0,5,1),a(3,"div",6)(4,"div",6),S(5),d(),a(6,"div",6),S(7),d()(),yi()),o&2){let e=u(2);c(),v(e.message.icon?1:2),c(2),m("pBind",e.ptm("messageText"))("ngClass",e.cx("messageText")),Y("data-p",e.dataP),c(),m("pBind",e.ptm("summary"))("ngClass",e.cx("summary")),Y("data-p",e.dataP),c(),me(" ",e.message.summary," "),c(),m("pBind",e.ptm("detail"))("ngClass",e.cx("detail")),Y("data-p",e.dataP),c(),je(e.message.detail)}}function l0(o,t){o&1&&et(0)}function c0(o,t){if(o&1&&h(0,"span",4),o&2){let e=u(4);ue(e.cn(e.cx("closeIcon"),e.message==null?null:e.message.closeIcon)),m("pBind",e.ptm("closeIcon"))}}function d0(o,t){if(o&1&&U(0,c0,1,3,"span",17),o&2){let e=u(3);m("ngIf",e.message.closeIcon)}}function u0(o,t){if(o&1&&(ze(),h(0,"svg",18)),o&2){let e=u(3);ue(e.cx("closeIcon")),m("pBind",e.ptm("closeIcon")),Y("aria-hidden",!0)}}function m0(o,t){if(o&1){let e=x();a(0,"div")(1,"button",15),_("click",function(n){C(e);let r=u(2);return y(r.onCloseIconClick(n))})("keydown.enter",function(n){C(e);let r=u(2);return y(r.onCloseIconClick(n))}),b(2,d0,1,1,"span",2)(3,u0,1,4,":svg:svg",16),d()()}if(o&2){let e=u(2);c(),m("pBind",e.ptm("closeButton")),Y("class",e.cx("closeButton"))("aria-label",e.closeAriaLabel)("data-p",e.dataP),c(),v(e.message.closeIcon?2:3)}}function p0(o,t){if(o&1&&(a(0,"div",4),U(1,a0,8,12,"ng-container",5)(2,l0,1,0,"ng-container",3),b(3,m0,4,5,"div"),d()),o&2){let e=u();ue(e.cn(e.cx("messageContent"),e.message==null?null:e.message.contentStyleClass)),m("pBind",e.ptm("messageContent")),c(),m("ngIf",!e.template),c(),m("ngTemplateOutlet",e.template)("ngTemplateOutletContext",$(7,Zf,e.message)),c(),v((e.message==null?null:e.message.closable)!==!1?3:-1)}}var f0=["message"],h0=["headless"];function g0(o,t){if(o&1){let e=x();a(0,"p-toastItem",1),_("onClose",function(n){C(e);let r=u();return y(r.onMessageClose(n))})("onAnimationEnd",function(){C(e);let n=u();return y(n.onAnimationEnd())})("onAnimationStart",function(){C(e);let n=u();return y(n.onAnimationStart())}),d()}if(o&2){let e=t.$implicit,i=t.index,n=u();m("message",e)("index",i)("life",n.life)("clearAll",n.clearAllTrigger())("template",n.template||n._template)("headlessTemplate",n.headlessTemplate||n._headlessTemplate)("pt",n.pt)("unstyled",n.unstyled())("motionOptions",n.computedMotionOptions())}}var b0={root:({instance:o})=>{let{_position:t}=o;return{position:"fixed",top:t==="top-right"||t==="top-left"||t==="top-center"?"20px":t==="center"?"50%":null,right:(t==="top-right"||t==="bottom-right")&&"20px",bottom:(t==="bottom-left"||t==="bottom-right"||t==="bottom-center")&&"20px",left:t==="top-left"||t==="bottom-left"?"20px":t==="center"||t==="top-center"||t==="bottom-center"?"50%":null}}},v0={root:({instance:o})=>["p-toast p-component",`p-toast-${o._position}`],message:({instance:o})=>({"p-toast-message":!0,"p-toast-message-info":o.message.severity==="info"||o.message.severity===void 0,"p-toast-message-warn":o.message.severity==="warn","p-toast-message-error":o.message.severity==="error","p-toast-message-success":o.message.severity==="success","p-toast-message-secondary":o.message.severity==="secondary","p-toast-message-contrast":o.message.severity==="contrast"}),messageContent:"p-toast-message-content",messageIcon:({instance:o})=>({"p-toast-message-icon":!0,[`pi ${o.message.icon}`]:!!o.message.icon}),messageText:"p-toast-message-text",summary:"p-toast-summary",detail
vendor: 9,303 bytes, lines 544-550
544:"p-toast-detail",closeButton:"p-toast-close-button",closeIcon:({instance:o})=>({"p-toast-close-icon":!0,[`pi ${o.message.closeIcon}`]:!!o.message.closeIcon})},Hn=(()=>{class o extends Hi{name="toast";style=Yc;classes=v0;inlineStyles=b0;static \u0275fac=(()=>{let e;return function(n){return(e||(e=lt(o)))(n||o)}})();static \u0275prov=te({token:o,factory:o.\u0275fac})}return o})();var $c=new fi("TOAST_INSTANCE"),_0=(()=>{class o extends Wo{zone;message;index;life;template;headlessTemplate;showTransformOptions;hideTransformOptions;showTransitionOptions;hideTransitionOptions;motionOptions=mt();clearAll=mt(null);onAnimationStart=tr();onAnimationEnd=tr();onBeforeEnter(e){this.onAnimationStart.emit(e.element)}onAfterLeave(e){!this.visible()&&!this.isDestroyed&&(this.onClose.emit({index:this.index,message:this.message}),this.isDestroyed||this.onAnimationEnd.emit(e.element))}onClose=new be;_componentStyle=de(Hn);timeout;visible=He(void 0);isDestroyed=!1;isClosing=!1;constructor(e){super(),this.zone=e,hi(()=>{this.clearAll()&&this.visible.set(!1)})}onAfterViewInit(){this.message?.sticky&&this.visible.set(!0),this.initTimeout()}initTimeout(){this.message?.sticky||(this.clearTimeout(),this.zone.runOutsideAngular(()=>{this.visible.set(!0),this.timeout=setTimeout(()=>{this.visible.set(!1)},this.message?.life||this.life||3e3)}))}clearTimeout(){this.timeout&&(clearTimeout(this.timeout),this.timeout=null)}onMouseEnter(){this.clearTimeout()}onMouseLeave(){this.isClosing||this.initTimeout()}onCloseIconClick=e=>{this.isClosing=!0,this.clearTimeout(),this.visible.set(!1),e.preventDefault()};get closeAriaLabel(){return this.config.translation.aria?this.config.translation.aria.close:void 0}onDestroy(){this.isDestroyed=!0,this.clearTimeout(),this.visible.set(!1)}get dataP(){return this.cn({[this.message?.severity]:this.message?.severity})}static \u0275fac=function(i){return new(i||o)(f(uo))};static \u0275cmp=T({type:o,selectors:[["p-toastItem"]],inputs:{message:"message",index:[2,"index","index",eo],life:[2,"life","life",eo],template:"template",headlessTemplate:"headlessTemplate",showTransformOptions:"showTransformOptions",hideTransformOptions:"hideTransformOptions",showTransitionOptions:"showTransitionOptions",hideTransitionOptions:"hideTransitionOptions",motionOptions:[1,"motionOptions"],clearAll:[1,"clearAll"]},outputs:{onAnimationStart:"onAnimationStart",onAnimationEnd:"onAnimationEnd",onClose:"onClose"},features:[Ho([Hn]),ct],decls:4,vars:10,consts:[["container",""],["role","alert","aria-live","assertive","aria-atomic","true",3,"pMotionOnBeforeEnter","pMotionOnAfterLeave","mouseenter","mouseleave","pMotion","pMotionAppear","pMotionName","pMotionOptions","pBind"],[3,"pBind","class"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"pBind"],[4,"ngIf"],[3,"pBind","ngClass"],["data-p-icon","check",3,"pBind","class"],["data-p-icon","info-circle",3,"pBind","class"],["data-p-icon","times-circle",3,"pBind","class"],["data-p-icon","exclamation-triangle",3,"pBind","class"],["data-p-icon","check",3,"pBind"],["data-p-icon","info-circle",3,"pBind"],["data-p-icon","times-circle",3,"pBind"],["data-p-icon","exclamation-triangle",3,"pBind"],["type","button","autofocus","",3,"click","keydown.enter","pBind"],["data-p-icon","times",3,"pBind","class"],[3,"pBind","class",4,"ngIf"],["data-p-icon","times",3,"pBind"]],template:function(i,n){i&1&&(a(0,"div",1,0),_("pMotionOnBeforeEnter",function(s){return n.onBeforeEnter(s)})("pMotionOnAfterLeave",function(s){return n.onAfterLeave(s)})("mouseenter",function(){return n.onMouseEnter()})("mouseleave",function(){return n.onMouseLeave()}),b(2,Jf,1,5,"ng-container")(3,p0,4,9,"div",2),d()),i&2&&(ue(n.cn(n.cx("message"),n.message==null?null:n.message.styleClass)),m("pMotion",n.visible())("pMotionAppear",!0)("pMotionName","p-toast-message")("pMotionOptions",n.motionOptions())("pBind",n.ptm("message")),Y("id",n.message==null?null:n.message.id)("data-p",n.dataP),c(2),v(n.headlessTemplate?2:3))},dependencies:[O,W,xi,Ti,da,Oc,Vc,Wi,Uc,Dt,wt,qi,Gi],encapsulation:2,changeDetection:0})}return o})(),zr=(()=>{class o extends Wo{componentName="Toast";$pcToast=de($c,{optional:!0,skipSelf:!0})??void 0;bindDirectiveInstance=de(wt,{self:!0});onAfterViewChecked(){this.bindDirectiveInstance.setAttrs(this.ptms(["host","root"]))}key;autoZIndex=!0;baseZIndex=0;life=3e3;styleClass;get position(){return this._position}set position(e){this._position=e,this.cd.markForCheck()}preventOpenDuplicates=!1;preventDuplicates=!1;showTransformOptions="translateY(100%)";hideTransformOptions="translateY(-100%)";showTransitionOptions="300ms ease-out";hideTransitionOptions="250ms ease-in";motionOptions=mt(void 0);computedMotionOptions=_e(()=>he(he({},this.ptm("motion")),this.motionOptions()));breakpoints;onClose=new be;template;headlessTemplate;messageSubscription;clearSubscription;messages;messagesArchieve;_position="top-right";messageService=de(zi);_componentStyle=de(Hn);styleElement;id=Wt("pn_id_");templates;clearAllTrigger=He(null);constructor(){super()}onInit(){this.messageSubscription=this.messageService.messageObserver.subscribe(e=>{if(e)if(Array.isArray(e)){let i=e.filter(n=>this.canAdd(n));this.add(i)}else this.canAdd(e)&&this.add([e])}),this.clearSubscription=this.messageService.clearObserver.subscribe(e=>{e?this.key===e&&this.clearAll():this.clearAll(),this.cd.markForCheck()})}clearAll(){this.clearAllTrigger.set({})}_template;_headlessTemplate;onAfterContentInit(){this.templates?.forEach(e=>{switch(e.getType()){case"message":this._template=e.template;break;case"headless":this._headlessTemplate=e.template;break;default:this._template=e.template;break}})}onAfterViewInit(){this.breakpoints&&this.createStyle()}add(e){this.messages=this.messages?[...this.messages,...e]:[...e],this.preventDuplicates&&(this.messagesArchieve=this.messagesArchieve?[...this.messagesArchieve,...e]:[...e]),this.cd.markForCheck()}canAdd(e){let i=this.key===e.key;return i&&this.preventOpenDuplicates&&(i=!this.containsMessage(this.messages,e)),i&&this.preventDuplicates&&(i=!this.containsMessage(this.messagesArchieve,e)),i}containsMessage(e,i){return e?e.find(n=>n.summary===i.summary&&n.detail==i.detail&&n.severity===i.severity)!=null:!1}onMessageClose(e){this.messages?.splice(e.index,1),this.onClose.emit({message:e.message}),this.onAnimationEnd(),this.cd.detectChanges()}onAnimationStart(){this.renderer.setAttribute(this.el?.nativeElement,this.id,""),this.autoZIndex&&this.el?.nativeElement.style.zIndex===""&&Rt.set("modal",this.el?.nativeElement,this.baseZIndex||this.config.zIndex.modal)}onAnimationEnd(){this.autoZIndex&&na(this.messages)&&Rt.clear(this.el?.nativeElement)}createStyle(){if(!this.styleElement){this.styleElement=this.renderer.createElement("style"),this.styleElement.type="text/css",So(this.styleElement,"nonce",this.config?.csp()?.nonce),this.renderer.appendChild(this.document.head,this.styleElement);let e="";for(let i in this.breakpoints){let n="";for(let r in this.breakpoints[i])n+=r+":"+this.breakpoints[i][r]+" !important;";e+=` 545 @media screen and (max-width: ${i}) { 546 .p-toast[${this.id}] { 547 ${n} 548 } 549 } 550 `}this.renderer.setProperty(this.styleElement,"innerHTML",e),So(this.styleElement,"nonce",this.config?.csp()?.nonce)}}destroyStyle(){this.styleElement&&(this.renderer.removeChild(this.document.head,this.styleElement),this.styleElement=null)}onDestroy(){this.messageSubscription&&this.messageSubscription.unsubscribe(),this.el&&this.autoZIndex&&Rt.clear(this.el.nativeElement),this.clearSubscription&&this.clearSubscription.unsubscribe(),this.destroyStyle()}get dataP(){return this.cn({[this.position]:this.position})}static \u0275fac=function(i){return new(i||o)};static \u0275cmp=T({type:o,selectors:[["p-toast"]],contentQueries:function(i,n,r){if(i&1&&Si(r,f0,5)(r,h0,5)(r,ko,4),i&2){let s;J(s=ee())&&(n.template=s.first),J(s=ee())&&(n.headlessTemplate=s.first),J(s=ee())&&(n.templates=s)}},hostVars:5,hostBindings:function(i,n){i&2&&(Y("data-p",n.dataP),Xt(n.sx("root")),ue(n.cn(n.cx("root"),n.styleClass)))},inputs:{key:"key",autoZIndex:[2,"autoZIndex","autoZIndex",tt],baseZIndex:[2,"baseZIndex","baseZIndex",eo],life:[2,"life","life",eo],styleClass:"styleClass",position:"position",preventOpenDuplicates:[2,"preventOpenDuplicates","preventOpenDuplicates",tt],preventDuplicates:[2,"preventDuplicates","preventDuplicates",tt],showTransformOptions:"showTransformOptions",hideTransformOptions:"hideTransformOptions",showTransitionOptions:"showTransitionOptions",hideTransitionOptions:"hideTransitionOptions",motionOptions:[1,"motionOptions"],breakpoints:"breakpoints"},outputs:{onClose:"onClose"},features:[Ho([Hn,{provide:$c,useExisting:o},{provide:ji,useExisting:o}]),_i([wt]),ct],decls:1,vars:1,consts:[[3,"message","index","life","clearAll","template","headlessTemplate","pt","unstyled","motionOptions","onClose","onAnimationEnd","onAnimationStart",4,"ngFor","ngForOf"],[3,"onClose","onAnimationEnd","onAnimationStart","message","index","life","clearAll","template","headlessTemplate","pt","unstyled","motionOptions"]],template:function(i,n){i&1&&U(0,g0,1,9,"p-toastItem",0),i&2&&m("ngForOf",n.messages)},dependencies:[O,ls,_0,Dt],encapsulation:2,changeDetection:0})}return o}
550)(),Kc=(()=>{class o{static \u0275fac=function(i){return new(i||o)};static \u0275mod=Je({type:o});static \u0275inj=Xe({imports:[zr,Dt,Dt]})}return o})();var y0=()=>["/settings"],S0=()=>({type:"preferences",focus:"quietModeMatch"});function k0(o,t){if(o&1){let e=x();a(0,"div",0)(1,"div",1)(2,"p",2),S(3," You may match with people in Quiet Mode. You can change this in your "),a(4,"a",3),S(5,"Settings"),d(),S(6,". "),d(),a(7,"button",4),_("click",function(){C(e);let n=u();return y(n.dismiss())}),h(8,"i",5),d()()()}o&2&&(c(4),m("routerLink",M(2,y0))("queryParams",M(3,S0)))}var Zc="bookingHub:quietModeMatchHintDismissed",Xc=(()=>{let t=class t{constructor(){this.quietMode=mt(!1),this.userService=de(L),this.localStorageAccessService=de(ot),this.dismissed=He(!1),this.visible=_e(()=>this.dismissed()||this.quietMode()?!1:(this.userService.currentUserSig()?.settings?.quietModeMatchAllowed??!0)===!0);let i=this.localStorageAccessService.getItem(Zc);this.dismissed.set(i==="true")}dismiss(){this.localStorageAccessService.setItem(Zc,"true","bookingHub"),this.dismissed.set(!0)}};t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=T({type:t,selectors:[["fm-booking-hub-quiet-mode-match-hint"]],inputs:{quietMode:[1,"quietMode"]},decls:1,vars:1,consts:[[1,"mt-2","w-full","rounded-lg","border","border-solid","border-[#bfdbfe]","shadow-[0_4px_8px_rgba(2,5,10,0.04)]","bp908:max-w-[222px]"],[1,"flex","items-start","gap-[7px]","rounded-[7px]","bg-[#dbeafe]","px-[10.5px]","py-[7px]","shadow-[0_4px_4px_rgba(2,5,10,0.04)]"],[1,"m-0","min-w-0","flex-1","font-inter","text-[14px]","font-medium","leading-normal","text-[#2563eb]"],[1,"font-medium","underline","decoration-solid","underline-offset-2","hover:opacity-90",3,"routerLink","queryParams"],["type","button","aria-label","Dismiss quiet mode message",1,"flex","size-[24.5px]","shrink-0","cursor-pointer","items-center","justify-center","rounded-[12.25px]","border-0","bg-transparent","text-[#2563eb]",3,"click"],[1,"pi","pi-times","block","text-[14px]","leading-none"]],template:function(n,r){n&1&&b(0,k0,9,4,"div",0),n&2&&v(r.visible()?0:-1)},dependencies:[ie],encapsulation:2});let o=t;return o})();var M0=["container"],ro=()=>({autofocus:!1}),Jc=(o,t,e)=>({"transition-all duration-200 ease-out":o,"translate-y-0 opacity-100":t,"-translate-y-full opacity-0":e}),ed=(o,t,e)=>({"transition-all duration-200 ease-out":o,"translate-y-full opacity-0":t,"translate-y-0 opacity-100":e});function E0(o,t){if(o&1&&(a(0,"div",21)(1,"div",22),S(2),d(),a(3,"div",23),S(4,"min"),d()()),o&2){let e=t.$implicit;c(2),je(e.label)}}function B0(o,t){if(o&1&&(a(0,"div",24),h(1,"fa-icon",25),a(2,"div",26),S(3),d()()),o&2){let e=t.$implicit;c(),m("icon",e.icon),c(2),je(e.label)}}function I0(o,t){if(o&1){let e=x();a(0,"div",3)(1,"div",4)(2,"div",5)(3,"div",6),S(4,"Session Settings"),d(),a(5,"p-button",7),_("click",function(){C(e);let n=u();return y(n.onClickInfoCircle())}),a(6,"span",8),S(7,"Learn more about session settings"),d()()(),a(8,"p-button",9),_("click",function(){C(e);let n=u();return y(n.onClickToggleSessionSettingsPanel())}),a(9,"span",8),S(10,"Close session settings panel"),d()()(),a(11,"label",10),S(12,"Duration"),d(),a(13,"div",11)(14,"p-select-button",12),_("onChange",function(n){C(e);let r=u();return y(r.onSelectedDuration(n))}),U(15,E0,5,1,"ng-template",null,1,ve),d()(),a(17,"label",13),S(18,"My Task"),d(),a(19,"div",11)(20,"p-select-button",14),_("onChange",function(n){C(e);let r=u();return y(r.onSelectedActivity(n))}),U(21,B0,4,2,"ng-template",null,1,ve),d()(),a(23,"div",15)(24,"label",16),S(25,"Quiet Mode"),d(),a(26,"p-toggleSwitch",17),_("onChange",function(n){C(e);let r=u();return y(r.onToggleQuietMode(n))}),Ct("ngModelChange",function(n){C(e);let r=u();return _t(r.quietMode,n)||(r.quietMode=n),y(n)}),d()(),h(27,"fm-booking-hub-quiet-mode-match-hint",18),a(28,"div",15)(29,"label",19),S(30,"Prefer Favorites"),d(),a(31,"p-toggleSwitch",20),_("onChange",function(n){C(e);let r=u();return y(r.onTogglePreferFavorites(n))}),d()()()}if(o&2){let e=u();c(5),m("buttonProps",M(14,ro))("outlined",!0),c(3),m("buttonProps",M(15,ro))("outlined",!0)("icon",e.viewportService.isMobile()?"pi pi-angle-double-down":"pi pi-chevron-up"),c(6),m("options",e.durationOptions)("ngModel",e.currentDuration==null?null:e.currentDuration.value)("allowEmpty",!1),c(6),m("options",e.activityOptions)("ngModel",e.currentActivity==null?null:e.currentActivity.value)("allowEmpty",!1),c(6),vt("ngModel",e.quietMode),c(),m("quietMode",e.quietMode),c(4),m("ngModel",e.preferFavorites())}}function A0(o,t){if(o&1){let e=x();a(0,"div",28)(1,"p-button",36),_("click",function(){C(e);let n=u(2);return y(n.disableQuietMode())}),a(2,"div",37),h(3,"fa-icon",38),a(4,"span",39),h(5,"i",40),d()(),a(6,"span",8),S(7,"Disable quiet mode"),d()()()}if(o&2){let e=u(2);c(),m("buttonProps",M(3,ro))("outlined",!1),c(2),m("icon",e.faMicrophoneSlash)}}function D0(o,t){if(o&1){let e=x();a(0,"div",28)(1,"p-button",41),_("click",function(){C(e);let n=u(2);return y(n.disableFavoritesPreference())}),a(2,"div",42),h(3,"fa-icon",38),a(4,"span",39),h(5,"i",40),d()(),a(6,"span",8),S(7,"Disable favorites preference"),d()()()}if(o&2){let e=u(2);c(),m("buttonProps",M(3,ro))("outlined",!1),c(2),m("icon",e.faStar)}}function R0(o,t){if(o&1){let e=x();a(0,"div",27)(1,"div",28)(2,"p-button",29),_("click",function(){C(e);let n=u();return y(n.toggleDuration())}),a(3,"span",8),S(4,"Toggle duration"),d(),a(5,"div",30)(6,"div",31),S(7),d(),a(8,"div",31),S(9),d()()()(),a(10,"div",28)(11,"p-button",29),_("click",function(){C(e);let n=u();return y(n.toggleActivity())}),a(12,"span",8),S(13,"Toggle activity type"),d(),a(14,"div",32)(15,"div",33),h(16,"fa-icon",34),d(),a(17,"div",33),h(18,"fa-icon",34),d()()()(),b(19,A0,8,4,"div",28),b(20,D0,8,4,"div",28),d(),a(21,"p-button",35),_("click",function(){C(e);let n=u();return y(n.onClickToggleSessionSettingsPanel())}),a(22,"span",8),S(23,"Open session settings panel"),d()()}if(o&2){let e=u();c(2),m("buttonProps",M(23,ro))("pTooltip",e.currentDuration.tooltip)("outlined",!1),c(4),m("ngClass",jo(24,Jc,e.animatingDurationLabel,!e.animatingDurationLabel,e.animatingDurationLabel)),Y("aria-hidden",e.animatingDurationLabel),c(),me(" ",e.currentDuration==null?null:e.currentDuration.label,"m "),c(),m("ngClass",jo(28,ed,e.animatingDurationLabel,!e.animatingDurationLabel,e.animatingDurationLabel)),Y("aria-hidden",!e.animatingDurationLabel),c(),me(" ",e.nextDuration==null?null:e.nextDuration.label,"m "),c(2),m("buttonProps",M(32,ro))("pTooltip",e.currentActivity.tooltip)("outlined",!1),c(4),m("ngClass",jo(33,Jc,e.animatingActivityLabel,!e.animatingActivityLabel,e.animatingActivityLabel)),Y("aria-hidden",e.animatingActivityLabel),c(),m("icon",e.currentActivity==null?null:e.currentActivity.icon),c(),m("ngClass",jo(37,ed,e.animatingActivityLabel,!e.animatingActivityLabel,e.animatingActivityLabel)),Y("aria-hidden",!e.animatingActivityLabel),c(),m("icon",e.nextActivity==null?null:e.nextActivity.icon),c(),v(e.quietMode?19:-1),c(),v(e.preferFavorites()?20:-1),c(),m("buttonProps",M(41,ro))("outlined",!0)("icon",e.viewportService.isMobile()?"pi pi-angle-double-up":"pi pi-chevron-down")}}var F0=[{icon:Ps,tooltip:"My Task: Desk",label:"Desk",value:200,next:1},{icon:js,tooltip:"My Task: Moving",label:"Moving",value:400,next:2},{icon:Qs,tooltip:"My Task: Anything",label:"Anything",value:100,next:0}],P0=[{label:"25",tooltip:"Duration: 25 mins",value:15e5,next:1},{label:"50",tooltip:"Duration: 50 mins",value:3e6,next:2},{label:"75",tooltip:"Duration: 75 mins",value:45e5,next:0}],id=(()=>{let t=class t{constructor(i,n,r,s,l){this.viewportService=i,this.localStorageAccessService=n,this.sessionSettingsService=r,this.utilsService=s,this.dialogService=l,this.settingsExpanded=new be,this.expandSettingsPanel=!1,this.activityOptions=F0,this.animatingActivityLabel=!1,this.durationOptions=P0,this.animatingDurationLabel=!1,this.preferFavorites=_e(()=>this.sessionSettingsService.preferFavoritesSetting()==="preferred"),this.faMicrophoneSlash=Fs,this.faStar=_o,this.quietMode=this.sessionSettingsService.quietModeEnabled()}ngOnInit(){let i=this.sessionSettingsService.sessionDurationSetting();this.currentDuration=this.durationOptions.find(s=>s.value===i),this.nextDuration=this.durationOptions[this.currentDuration.next];let n=this.sessionSettingsService.getSessionSettingActivityType();this.currentActivity=this.activityOptions.find(s=>s.value===n),this.nextActivity=this.activityOptions[this.currentActivity.next];let r=this.localStorageAccessService.getItem("sessionSettingsPanel:expanded");this.expandSettingsPanel=r==="true"||r==null,this.settingsExpanded.emit(this.expandSettingsPanel)}onClickToggleSessionSettingsPanel(){this.utilsService.animateHeightChange(this.container.nativeElement,()=>this.expandSettingsPanel=!this.expandSettingsPanel),this.localStorageAccessService.setItem("sessionSettingsPanel:expanded",this.expandSettingsPanel.toString()),this.settingsExpanded.emit(this.expandSettingsPanel)}toggleDuration(){this.animatingDurationLabel||(this.animatingDurationLabel=!0,setTimeout(()=>{this.currentDuration=this.nextDuration,this.nextDuration=this.durationOptions[this.nextDuration.next],this.animatingDurationLabel=!1,this.sessionSettingsService.setSessionDurationSetting(this.currentDuration.value)},200))}onSelectedDuration(i){this.currentDuration=this.durationOptions.find(n=>n.value==i.value),this.sessionSettingsService.setSessionDurationSetting(this.currentDuration.value)}toggleActivity(){this.animatingActivityLabel||(this.animatingActivityLabel=!0,setTimeout(()=>{this.currentActivity=this.nextActivity,this.nextActivity=this.activityOptions[this.nextActivity.next],this.animatingActivityLabel=!1,this.sessionSettingsService.setSessionSettingActivityType(this.currentActivity.value)},200))}onSelectedActivity(i){let n=this.activityOptions.find(r=>r.value==i.value);n&&(this.currentActivity=n,this.sessionSettingsService.setSessionSettingActivityType(this.currentActivity.value))}disableQuietMode(){this.sessionSettingsService.setSessionSettingQuietMode(!1),this.quietMode=!1}disableFavoritesPreference(){this.sessionSettingsService.setSessionSettingFavoritesPreference("noPreference")}
550onToggleQuietMode(i){this.sessionSettingsService.setSessionSettingQuietMode(i.checked)}onTogglePreferFavorites(i){i.checked?this.sessionSettingsService.setSessionSettingFavoritesPreference("preferred"):this.sessionSettingsService.setSessionSettingFavoritesPreference("noPreference")}onClickInfoCircle(){this.dialogService.openSessionPreferencesInfoModal()}};t.\u0275fac=function(n){return new(n||t)(f(ke),f(ot),f(xo),f(Se),f(fe))},t.\u0275cmp=T({type:t,selectors:[["fm-booking-hub-session-settings"]],viewQuery:function(n,r){if(n&1&&Oe(M0,5),n&2){let s;J(s=ee())&&(r.container=s.first)}},outputs:{settingsExpanded:"settingsExpanded"},decls:4,vars:1,consts:[["container",""],["item",""],[1,"w-full","flex","flex-row","justify-between","items-center","gap-1","animate-height-snappy"],[1,"flex","flex-col","justify-start","items-center","w-full","opacity-0","animation-fade-in"],[1,"flex","flex-row","justify-between","items-center","w-full"],[1,"flex","flex-row","justify-start","items-center","gap-1"],[1,"text-[13px]","text-color","font-medium","leadning-[normal]","font-inter"],["size","small","severity","secondary","icon","pi pi-info-circle",1,"fm-button-xsmall",3,"click","buttonProps","outlined"],[1,"sr-only"],["size","large","severity","secondary","styleClass","bp908:!w-6 bp908:!px-0",3,"click","buttonProps","outlined","icon"],["for","duration",1,"w-full","text-left","text-[12px]","text-color","font-medium","leadning-[normal]","font-inter","mt-2"],[1,"w-full","flex","items-center","gap-1","mt-1"],["styleClass","w-full","optionLabel","label","optionValue","value",1,"w-full","h-10",3,"onChange","options","ngModel","allowEmpty"],["for","activity",1,"w-full","text-left","text-[12px]","text-color","font-medium","leadning-[normal]","font-inter","mt-2"],["styleClass","w-full !px-0","optionLabel","label","optionValue","value",1,"w-full","h-10",3,"onChange","options","ngModel","allowEmpty"],[1,"flex","flex-row","justify-between","items-center","w-full","mt-4"],["id","quietModeLabel","for","quietMode",1,"text-left","text-[12px]","text-color","font-medium","leading-[normal]","font-inter"],["aria-labelledby","quietModeLabel",1,"flex",3,"onChange","ngModelChange","ngModel"],[3,"quietMode"],["id","favoritesPreferenceModeLabel","for","quietMode",1,"text-left","text-[12px]","text-color","font-medium","leading-[normal]","font-inter"],["aria-labelledby","favoritesPreferenceModeLabel",1,"flex",3,"onChange","ngModel"],[1,"flex","flex-col","justify-center","items-center","font-inter","-gap-0.5"],[1,"font-semibold","text-12","leading-[normal]"],[1,"font-medium","text-11n"],[1,"flex","flex-col","justify-center","items-center","leading-snug","font-medium"],[1,"text-[10px]",3,"icon"],[1,"text-[12px]"],[1,"flex","w-full","gap-1","opacity-0","animation-fade-in"],[1,"flex-1"],["tooltipPosition","top","size","large","severity","secondary","styleClass","!px-0 w-full",1,"w-full","flex",3,"click","buttonProps","pTooltip","outlined"],[1,"w-full","h-[30px]","flex","flex-col","justify-center","items-center","text-13","relative","overflow-hidden","text-center","font-inter","font-semibold"],[1,"absolute","left-0","right-0","flex","flex-col","justify-center","items-center",3,"ngClass"],[1,"w-full","!h-[30px]","relative","overflow-hidden","font-inter","flex","items-center","justify-center"],[1,"absolute","left-0","right-0","flex","flex-col","items-center","justify-center",3,"ngClass"],[1,"text-13","block",3,"icon"],["size","large","severity","secondary","styleClass","bp908:!w-6 !p-0",3,"click","buttonProps","outlined","icon"],["pTooltip","Quiet Mode","tooltipPosition","top","size","large","severity","secondary","styleClass","!px-0 w-full",1,"w-full","flex",3,"click","buttonProps","outlined"],["aria-hidden","true",1,"flex","flex-col","h-[30px]","w-full","justify-center","items-center","font-inter","-gap-0.5","relative","group"],[1,"text-13","group-hover:opacity-20","transition-opacity",3,"icon"],[1,"absolute","inset-0","flex","items-center","justify-center","pointer-events-none","h-full","w-full"],[1,"pi","pi-times","text-2xl","text-color","opacity-0","group-hover:opacity-100","transition-opacity"],["pTooltip","Prefer Favorites","tooltipPosition","top","size","large","severity","secondary","styleClass","!h-10 !px-0 w-full",1,"w-full","flex",3,"click","buttonProps","outlined"],["aria-hidden","true",1,"flex","flex-col","h-full","w-full","justify-center","items-center","font-inter","-gap-0.5","relative","group"]],template:function(n,r){n&1&&(a(0,"div",2,0),b(2,I0,32,16,"div",3)(3,R0,24,42),d()),n&2&&(c(2),v(r.expandSettingsPanel?2:3))},dependencies:[O,W,re,ne,Ga,Wa,Zi,qa,We,bo,vo,Ve,Z,z,G,Xc],encapsulation:2});let o=t;return o}
550)();var gt=Zn(ir());var N0=()=>({autofocus:!1}),L0=()=>[];function O0(o,t){if(o&1){let e=x();a(0,"p-button",4),_("click",function(){C(e);let n=u();return y(n.onToggleCreateForm())}),d()}if(o&2){let e=u();m("buttonProps",M(4,N0))("outlined",!0)("disabled",!e.canAddMoreTasks)("pTooltip",e.canAddMoreTasks?"":"Maximum of 20 tasks allowed")}}function V0(o,t){if(o&1){let e=x();a(0,"fm-task-form",5),_("titleChange",function(n){C(e);let r=u();return y(r.newTaskTitle=n)})("descriptionChange",function(n){C(e);let r=u();return y(r.newTaskDescription=n)})("submit",function(){C(e);let n=u();return y(n.onCreateTask())})("cancel",function(){C(e);let n=u();return y(n.cancelCreate())}),d()}if(o&2){let e=u();m("autoFocusTitle",!0)("taskTitle",e.newTaskTitle)("taskDescription",e.newTaskDescription)("hideAttachmentAction",!0)("submitButtonDisabled",!e.newTaskTitle.trim())}}function U0(o,t){if(o&1){let e=x();a(0,"fm-task-form",8),_("titleChange",function(n){C(e);let r=u(3);return y(r.editingTaskTitle=n)})("descriptionChange",function(n){C(e);let r=u(3);return y(r.editingTaskDescription=n)})("submit",function(){C(e);let n=u(3);return y(n.onSaveEdit())})("cancel",function(){C(e);let n=u(3);return y(n.cancelEdit())})("overflowDelete",function(){C(e);let n=u(3);return y(n.onOverflowDeleteWhileEditing())}),d()}if(o&2){let e=u(3);m("autoFocusTitle",!0)("taskTitle",e.editingTaskTitle)("taskDescription",e.editingTaskDescription)("hideAttachmentAction",!0)("submitButtonDisabled",!e.editingTaskTitle.trim())}}function z0(o,t){if(o&1){let e=x();a(0,"fm-task-item",9),_("taskClick",function(n){C(e);let r=u(3);return y(r.onTaskClick(n))})("checkboxChange",function(n){C(e);let r=u(3);return y(r.onCheckboxChange(n))})("deleteTask",function(n){C(e);let r=u(3);return y(r.onDeleteTaskFromItem(n))}),d()}if(o&2){let e=u(),i=e.$implicit,n=e.$index,r=u(2);m("task",r.queuedTaskToUserTask(i,n))("taskIndex",n)("isEditing",!1)("showSessionInfo",!1)("hideAttachmentAction",!0)("groupedSessions",M(6,L0))}}function H0(o,t){if(o&1&&b(0,U0,1,5,"fm-task-form",6)(1,z0,1,7,"fm-task-item",7),o&2){let e=t.$index,i=u(2);v(i.editingIndex===e?0:1)}}function j0(o,t){if(o&1&&(a(0,"div",3),mo(1,H0,2,1,null,null,ns),d()),o&2){let e=u();c(),po(e.tasks)}}var nd=20,rd=(()=>{let t=class t{constructor(){this.tasks=[],this.tasksChange=new be,this.showCreateForm=!1,this.editingIndex=null,this.newTaskTitle="",this.newTaskDescription="",this.editingTaskTitle="",this.editingTaskDescription=""}onToggleCreateForm(){this.showCreateForm?this.cancelCreate():(this.showCreateForm=!0,this.editingIndex=null,this.newTaskTitle="",this.newTaskDescription="")}onCreateTask(){let i=this.newTaskTitle.replace(/\n/g," ").trim();if(!i||i.length===0||i.length>500||this.tasks.length>=nd)return;let n={title:i,description:this.newTaskDescription.trim()||void 0};this.tasks=[...this.tasks,n],this.tasksChange.emit(this.tasks),this.cancelCreate()}get canAddMoreTasks(){return this.tasks.length<nd}cancelCreate(){this.showCreateForm=!1,this.newTaskTitle="",this.newTaskDescription=""}onStartEdit(i){this.editingIndex=i,this.editingTaskTitle=this.tasks[i].title,this.editingTaskDescription=this.tasks[i].description||"",this.showCreateForm=!1}onSaveEdit(){if(this.editingIndex===null)return;let i=this.editingTaskTitle.replace(/\n/g," ").trim();if(!i||i.length===0||i.length>500)return;let n=[...this.tasks];n[this.editingIndex]={title:i,description:this.editingTaskDescription.trim()||void 0},this.tasks=n,this.tasksChange.emit(this.tasks),this.cancelEdit()}cancelEdit(){this.editingIndex=null,this.editingTaskTitle="",this.editingTaskDescription=""}onDeleteTask(i){let n=this.tasks.filter((r,s)=>s!==i);this.tasks=n,this.tasksChange.emit(this.tasks)}queuedTaskToUserTask(i,n){return{id:`queued-${n}`,title:i.title,description:i.description||null,createdAt:new Date().toISOString(),completedAt:null,attachments:[]}}onTaskClick(i){let n=parseInt(i.id.replace("queued-",""),10);isNaN(n)||this.onStartEdit(n)}onCheckboxChange(i){}onDeleteTaskFromItem(i){let n=parseInt(i.id.replace("queued-",""),10);isNaN(n)||this.onDeleteTask(n)}onOverflowDeleteWhileEditing(){if(this.editingIndex===null)return;let i=this.editingIndex;this.cancelEdit(),this.onDeleteTask(i)}};t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=T({type:t,selectors:[["fm-booking-hub-task-form"]],inputs:{tasks:"tasks"},outputs:{tasksChange:"tasksChange"},decls:4,vars:2,consts:[[1,"w-full","flex","flex-col","gap-2"],["label","Add task...","icon","pi pi-plus","severity","secondary","size","small","styleClass","w-full !justify-start","tooltipPosition","top",3,"buttonProps","outlined","disabled","pTooltip"],["mode","create","submitButtonLabel","Create task",3,"autoFocusTitle","taskTitle","taskDescription","hideAttachmentAction","submitButtonDisabled"],[1,"flex","flex-col","gap-1.5"],["label","Add task...","icon","pi pi-plus","severity","secondary","size","small","styleClass","w-full !justify-start","tooltipPosition","top",3,"click","buttonProps","outlined","disabled","pTooltip"],["mode","create","submitButtonLabel","Create task",3,"titleChange","descriptionChange","submit","cancel","autoF
550ocusTitle","taskTitle","taskDescription","hideAttachmentAction","submitButtonDisabled"],["mode","edit","submitButtonLabel","Save",3,"autoFocusTitle","taskTitle","taskDescription","hideAttachmentAction","submitButtonDisabled"],[3,"task","taskIndex","isEditing","showSessionInfo","hideAttachmentAction","groupedSessions"],["mode","edit","submitButtonLabel","Save",3,"titleChange","descriptionChange","submit","cancel","overflowDelete","autoFocusTitle","taskTitle","taskDescription","hideAttachmentAction","submitButtonDisabled"],[3,"taskClick","checkboxChange","deleteTask","task","taskIndex","isEditing","showSessionInfo","hideAttachmentAction","groupedSessions"]],template:function(n,r){n&1&&(a(0,"div",0),b(1,O0,1,5,"p-button",1)(2,V0,1,5,"fm-task-form",2),b(3,j0,3,0,"div",3),d()),n&2&&(c(),v(r.showCreateForm?2:1),c(2),v(r.tasks.length>0?3:-1))},dependencies:[We,re,ne,z,G,il,nl],encapsulation:2});let o=t;return o})();var G0=["container"],q0=["expandedContentContainer"],Q0=o=>({"ng-dirty ng-invalid":o}),Y0=()=>({baseZIndex:5e3}),sd=()=>({autofocus:!1}),$0=o=>({"mt-4":o});function K0(o,t){if(o&1){let e=x();a(0,"i",12),_("click",function(n){let r=C(e).clickCallBack;return y(r(n))}),d()}}function Z0(o,t){if(o&1){let e=x();a(0,"fm-booking-hub-task-form",13),_("tasksChange",function(n){C(e);let r=u();return y(r.queuedTasks=n)}),d()}if(o&2){let e=u();m("tasks",e.queuedTasks)}}function X0(o,t){if(o&1){let e=x();a(0,"p-select",17),Ct("ngModelChange",function(n){C(e);let r=u(2);return _t(r.formModel.recurrenceFrequency,n)||(r.formModel.recurrenceFrequency=n),y(n)}),d()}if(o&2){let e=u(2);m("options",e.recurTimes),vt("ngModel",e.formModel.recurrenceFrequency)}}function J0(o,t){if(o&1){let e=x();a(0,"div",10,3)(2,"p-select",14),Ct("ngModelChange",function(n){C(e);let r=u();return _t(r.formModel.recurrenceType,n)||(r.formModel.recurrenceType=n),y(n)}),_("onChange",function(n){C(e);let r=u();return y(r.selectedRecurrenceType(n))}),d(),b(3,X0,1,2,"p-select",15),a(4,"input",16),Ct("ngModelChange",function(n){C(e);let r=u();return _t(r.formModel.title,n)||(r.formModel.title=n),y(n)}),d()()}if(o&2){let e=u();c(2),m("options",e.recurType),vt("ngModel",e.formModel.recurrenceType),c(),v(e.formModel.recurrenceType!==1?3:-1),c(),vt("ngModel",e.formModel.title)}}var eh=5,ad=300*1e3,ld=(()=>{let t=class t{constructor(i,n,r,s,l,p,g,k,w,F,I,E,A){this.userService=i,this.dialogService=n,this.bs=r,this.errorHandlerService=s,this.bookLimitCheckService=l,this.sessionSettingsService=p,this.welcomeChecklistService=g,this.rewardsReferralService=k,this.confirmedSessionsService=w,this.meetingsService=F,this.dateFormat=I,this.utilsService=E,this.featureCheckService=A,this.minimumWaitBeforeDefaultTimeslot=0,this.onBookingCompleted=new be,this.ngUnsubscribe=new X,this.isWelcomeChecklistActive=this.welcomeChecklistService.isWelcomeChecklistActive,this.expandSchedulePanel=!1,this.expandMoreOptions=!1,this.timeSlotValues=[],this.faChevronUp=ba,this.faChevronDown=_a,this.recurType=[{value:1,viewValue:"Does Not Repeat",name:"Do not repeat",icon:"pi pi-circle"},{value:3,viewValue:"Repeat Weekly",name:" Repeat weekly",icon:"pi pi-refresh"},{value:2,viewValue:"Repeat Daily",name:" Repeat daily",icon:"pi pi-sun"}],this.recurTimes=[{value:1,viewValue:"1 Time",name:"1 Time"},{value:2,viewValue:"2 Times",name:"2 Times"},{value:3,viewValue:"3 Times",name:"3 Times"},{value:4,viewValue:"4 Times",name:"4 Times"},{value:5,viewValue:"5 Times",name:"5 Times"},{value:6,viewValue:"6 Times",name:"6 Times"},{value:7,viewValue:"7 Times",name:"7 Times"},{value:8,viewValue:"8 Times",name:"8 Times"},{value:9,viewValue:"9 Times",name:"9 Times"},{value:10,viewValue:"10 Times",name:"10 Times"}],this.formModel={title:null,date:null,selectedTimeValue:null,recurrenceType:1,recurrenceFrequency:1,favoritesPreference:this.sessionSettingsService.getSessionSettingFavoritesPreference()},this.limitRemaining=0,this.initialized=!1,this.selectionInvalid=!1,this.booking=!1,this.busyTimeIntervals=[],this.queuedTasks=[];for(let H=0;H<1e3*60*60*24;H+=1e3*60*15){let se=this.dateFormat.format(H,"h:mma","UTC"),le=this.dateFormat.format(H,"h:mm a","UTC","12hr");this.timeSlotValues.push({value:le,name:se,disabled:!1})}}ngOnInit(){this.userService.currentUser.pipe(Zr(this.sessionSettingsService.sessionDurationSetting$,this.meetingsService.meetingsBookingsSubject),zt(([i,n])=>i?.timeZone!=null&&n!=null),N(this.ngUnsubscribe)).subscribe(([i,n,r])=>{this.user=i,this.selectedSessionDuration=n,this.startOfWeekDay=this.user.settings.startOfWeekDay;let s=[];for(let l of r.meetings)s.push({sessionTime:l.startMs,duration:l.durationMs,sessionEndWithCooldown:l.startMs+l.durationMs+this.getCooldownForSession(l.durationMs)});this.busyTimeIntervals=[...s].sort((l,p)=>l.sessionTime-p.sessionTime),this.initialized?(this.timeSlotValues=[...this.updateTimeOptionsDisabled(this.selectedSessionDuration)],this.selectionInvalid=!this.isSelectedTimeValid()):(this.initialized=!0,this.determineFirstAvailableTimeSlot(),this.timeSlotValues=[...this.updateTimeOptionsDisabled(this.selectedSessionDuration)])}),this.bookLimitCheckService.currentRemaining.pipe(N(this.ngUnsubscribe)).subscribe(i=>{this.limitRemaining=i})}onClickShowMoreOptions(){this.utilsService.animateHeightChange(this.container.nativeElement,()=>{this.expandMoreOptions=!this.expandMoreOptions})}determineFirstAvailableTimeSlot(){let i=this.featureCheckService.canUseNowSessions(this.user),n=gt.default.tz(this.user.timeZone).valueOf(),r=gt.default.tz(this.user.timeZone).seconds(0).milliseconds(0);r.add(this.minimumWaitBeforeDefaultTimeslot,"minutes"),r=this.roundUpToNextQuarterHour(r,i);let s=r.valueOf();if(!i&&s<n){let w=gt.default.tz(this.user.timeZone).seconds(0).milliseconds(0),F=w.minutes(),I=Math.ceil(F/15)*15;I>=60?s=w.add(1,"hour").minutes(0).seconds(0).milliseconds(0).valueOf():s=w.minutes(I).seconds(0).milliseconds(0).valueOf()}for(let w of this.busyTimeIntervals)for(;this.hasOverlap(s,w.sessionTime,w.duration);)s=this.getNextQuarterAfterSession(w.sessionTime,w.duration);this.formModel.selectedTimeValue=this.dateFormat.format(s,"h:mm a",this.user.timeZone,"12hr"),this.bookCtaTimeStr
550ing=this.timeSlotValues.find(w=>w.value===this.formModel.selectedTimeValue)?.name||"";let l=(0,gt.default)(s).tz(this.user.timeZone),p=l.year(),g=l.month(),k=l.date();this.formModel.date=new Date(p,g,k,12,0,0),this.minDate=new Date(p,g,k,11,0,0),this.dateDisplayString=(0,gt.default)(s).tz(this.user.timeZone).format("DD - MMM")}roundUpToNextQuarterHour(i,n=!1){let r=n?eh:0,s=i.minutes(),l=[0,15,30,45,60];for(let p of l)if(s<p+r)return i.minutes(p).seconds(0).milliseconds(0);return i.add(1,"hour").minutes(0).seconds(0).milliseconds(0)}hasOverlap(i,n,r){let s=i+this.selectedSessionDuration,l=n+r;return i<l&&s>n}getCooldownForSession(i){return i===15e5?Fi:i===3e6?2*Fi:i===45e5?3*Fi:0}getNextQuarterAfterSession(i,n){let r=this.getCooldownForSession(n);return i+n+r}updateTimeOptionsDisabled(i){let r=this.featureCheckService.canUseNowSessions(this.user),s=[...this.timeSlotValues];if(!this.formModel.date||!this.user?.timeZone)return s;let p=gt.default.tz(this.formModel.date,this.user.timeZone).startOf("day").valueOf(),g=gt.default.tz(this.user.timeZone).valueOf(),k=0;return s.map((w,F)=>{let I=p+F*9e5,E=I+i;for(;k<this.busyTimeIntervals.length&&this.busyTimeIntervals[k].sessionEndWithCooldown<=I;)k++;let A=!1;for(let H=k;H<this.busyTimeIntervals.length;H++){let se=this.busyTimeIntervals[H],le=se.sessionTime,Te=se.sessionEndWithCooldown;if(I<Te&&E>le){A=!0;break}if(le>=E)break}return I<g-ad?A=!0:I<g&&(r||(A=!0)),ao(he({},w),{disabled:A})})}isSelectedTimeValid(){if(!this.formModel.date||!this.formModel.selectedTimeValue||!this.user?.timeZone)return!1;let i=this.buildSessionTime(),n=(0,gt.default)().tz(this.user.timeZone).valueOf(),r=n-ad;if(i<n&&!this.featureCheckService.canUseNowSessions(this.user))return!1;let l=i>=r,p=this.timeSlotValues.find(k=>k.value===this.formModel.selectedTimeValue),g=p!=null&&!p.disabled;return l&&g}getHoursFromString(i){let n;return i[1].slice(-2)==="pm"?(n=+i[0],n!==12&&(n+=12)):(n=+i[0],n===12&&(n=0)),n}getMinutesFromString(i){return+i[1].slice(0,-2)}buildSessionTime(){if(!this.formModel.date||!this.formModel.selectedTimeValue||!this.user?.timeZone)return Number.NaN;let i=this.formModel.selectedTimeValue.split(/:/),n=this.getHoursFromString(i),r=this.getMinutesFromString(i);return gt.default.utc(this.formModel.date).tz(this.user.timeZone).hours(n).minutes(r).valueOf()}onSubmit(i){if(this.booking||this.selectionInvalid||!this.formModel.date||!this.formModel.selectedTimeValue)return;this.booking=!0;let n=this.formModel.recurrenceFrequency,r=this.buildSessionTime();if(!Number.isFinite(r)){this.booking=!1;return}let s=this.busyTimeIntervals.map(l=>l.sessionTime);this.bs.bookRecurringSessions(r,this.formModel.recurrenceType,n,this.user.timeZone,this.formModel.title,s,this.selectedSessionDuration,this.formModel.favoritesPreference,this.sessionSettingsService.getSessionSettingActivityType(),this.sessionSettingsService.quietModeEnabled(),Li.BookingHubScheduler).pipe(ge(1)).subscribe(l=>{this.booking=!1;let p=this.bs.parseBookResponse(l),g="";p.numSuccess>0&&(g="Booking saved!",p.numSuccess>1&&(g="Bookings saved!")),this.onBookingCompleted.emit(),this.user.emailVerified===!1?this.dialogService.openEmailVerificationDialog(Ta,()=>{this.processParsedResult(p)}):this.processParsedResult(p)},l=>{this.booking=!1,this.errorHandlerService.handleErrorResponse(l)})}processParsedResult(i){i.planLimitReached===!0?this.dialogService.openPlanLimitReachedDialog():!this.isWelcomeChecklistActive()&&!this.user.properties.viewedSegmentationSurveyModal&&this.user.compSessions>=3?this.dialogService.openSegmentationSurveyModal():!this.isWelcomeChecklistActive()&&this.rewardsReferralService.shouldSeeReferralPrompt(this.user)&&this.dialogService.openReferralPromptModal()}selectedTimeSlot(i){this.selectionInvalid=!this.isSelectedTimeValid(),this.bookCtaTimeString=this.timeSlotValues.find(n=>n.value===this.formModel.selectedTimeValue)?.name||""}selectedRecurrenceType(i){i!=1?this.limitRemaining<=10?this.formModel.recurrenceFrequency=this.limitRemaining:this.formModel.recurrenceFrequency=10:this.formModel.recurrenceFrequency=1}onDateSelected(i){this.dateDisplayString=gt.default.utc(i).tz(this.user.timeZone).format("DD - MMM"),this.timeSlotValues=[...this.updateTimeOptionsDisabled(this.selectedSessionDuration)],this.selectionInvalid=!this.isSelectedTimeValid()}ngOnDestroy(){this.ngUnsubscribe.next(null),this.ngUnsubscribe.complete()}};t.\u0275fac=function(n){return new(n||t)(f(L),f(fe),f(Gt),f(Ki),f(Ui),f(xo),f(Ge),f(kt),f(St),f(it),f(Fa),f(Se),f(Fe))},t.\u0275cmp=T({type:t,selectors:[["fm-booking-hub-schedule-form"]],viewQuery:function(n,r){if(n&1&&Oe(G0,5)(q0,5),n&2){let s;J(s=ee())&&(r.container=s.first),J(s=ee())&&(r.expandedContentContainer=s.first)}},inputs:{minimumWaitBeforeDefaultTimeslot:"minimumWaitBeforeDefaultTimeslot"},outputs:{onBookingCompleted:"onBookingCompleted"},decls:12,vars:28,consts:[["createSessionForm","ngForm"],["inputicon",""],["container",""],["expandedContentContainer",""],["novalidate","",1,"w-full","flex","flex-col","justify-start","items-center","gap-2","animation-fade-in",3,"ngSubmit"],["appendTo","body","styleClass","w-full","inputStyleClass","w-full","size","large","name","date","dateFormat","MM d","inputId","templatedisplay",1,"w-full",3,"ngModelChange","onSelect","minDate","ngModel","readonlyInput","iconDisplay","showIcon","firstDayOfWeek","selectOtherMonths"],["size","large","appendTo","body","name","selectedTimeOption","optionLabel","name","optionValue","value","o
550ptionDisabled","disabled",1,"w-full",3,"ngModelChange","onChange","ngClass","options","ngModel","overlayOptions"],[1,"w-full",3,"tasks"],["size","small","severity","secondary","styleClass","!text-12",3,"click","buttonProps","text","label"],[1,"animate-height-snappy","w-full"],[1,"flex","flex-col","w-full","gap-2","opacity-0","animation-fade-in"],["type","submit","severity","primary","size","large","styleClass","w-full",1,"w-full",3,"buttonProps","disabled","loading","label","ngClass"],[1,"pi","pi-chevron-down",3,"click"],[1,"w-full",3,"tasksChange","tasks"],["size","large","appendTo","body","name","recurType","optionLabel","name","optionValue","value",1,"w-full",3,"ngModelChange","onChange","options","ngModel"],["size","large","appendTo","body","name","recurTime","aria-label","Recurrence frequency","optionLabel","name","optionValue","value",1,"w-full",3,"options","ngModel"],["type","text","name","title","pInputText","","pSize","large","placeholder","Your session title",1,"w-full",3,"ngModelChange","ngModel"],["size","large","appendTo","body","name","recurTime","aria-label","Recurrence frequency","optionLabel","name","optionValue","value",1,"w-full",3,"ngModelChange","options","ngModel"]],template:function(n,r){if(n&1){let s=x();a(0,"form",4,0),_("ngSubmit",function(){C(s);let p=oe(1);return y(r.onSubmit(p))}),a(2,"p-datepicker",5),Ct("ngModelChange",function(p){return C(s),_t(r.formModel.date,p)||(r.formModel.date=p),y(p)}),_("onSelect",function(p){return r.onDateSelected(p)}),U(3,K0,1,0,"ng-template",null,1,ve),d(),a(5,"p-select",6),Ct("ngModelChange",function(p){return C(s),_t(r.formModel.selectedTimeValue,p)||(r.formModel.selectedTimeValue=p),y(p)}),_("onChange",function(p){return r.selectedTimeSlot(p)}),d(),b(6,Z0,1,1,"fm-booking-hub-task-form",7),a(7,"p-button",8),_("click",function(){return r.onClickShowMoreOptions()}),d(),a(8,"div",9,2),b(10,J0,5,4,"div",10),d(),h(11,"p-button",11),d()}n&2&&(c(2),m("minDate",r.minDate),vt("ngModel",r.formModel.date),m("readonlyInput",!0)("iconDisplay","input")("showIcon",!0)("firstDayOfWeek",r.startOfWeekDay)("selectOtherMonths",!0),c(3),m("ngClass",$(21,Q0,r.selectionInvalid))("options",r.timeSlotValues),vt("ngModel",r.formModel.selectedTimeValue),m("overlayOptions",M(23,Y0)),c(),v(-1),c(),m("buttonProps",M(24,sd))("text",!0)("label",r.expandMoreOptions?"Hide more options":"Show more options"),c(3),v(r.expandMoreOptions?10:-1),c(),m("buttonProps",M(25,sd))("disabled",r.selectionInvalid)("loading",r.booking)("label",r.booking?"":"Schedule "+r.bookCtaTimeString)("ngClass",$(26,$0,r.expandMoreOptions)))},dependencies:[ua,ca,O,W,pa,ma,ya,Ca,We,vs,hs,bo,gs,vo,bs,re,ne,Ve,Zi,ha,fa,rd],encapsulation:2});let o=t;return o})();var nh=["startSessionButton"],rh=()=>({autofocus:!1});function sh(o,t){o&1&&S(0," Start session now? ")}function ah(o,t){o&1&&S(0," Searching for a partner... ")}function lh(o,t){o&1&&S(0," You have an ongoing session. ")}function ch(o,t){o&1&&S(0," We'll match you with the first available partner. You can start your session right away. ")}function dh(o,t){o&1&&S(0," Join your session to get matched. ")}function uh(o,t){o&1&&S(0," Happy focusing! ")}function mh(o,t){if(o&1&&S(0),o&2){let e=u(2);me(" ",e.buttonText()," ")}}function ph(o,t){o&1&&(S(0," Starting... "),h(1,"div",7))}function fh(o,t){if(o&1){let e=x();a(0,"p-button",6,0),_("click",function(){C(e);let n=u();return y(n.onClickStartSessionButton())}),b(2,mh,1,1)(3,ph,2,0),d()}if(o&2){let e=u();ki("bg-grey",e.bookingSession),m("buttonProps",M(5,rh))("disabled",e.bookingSession),c(2),v(e.bookingSession?3:2)}}var cd="hasTriedNowSessions",dd=(()=>{let t=class t{constructor(i,n,r,s,l,p,g,k,w,F,I){this.sessionSettingsService=i,this.bookSessionsService=n,this.cancelSessionService=r,this.userService=s,this.dialogService=l,this.analyticsService=p,this.playToneService=g,this.deviceDetectionService=k,this.errorHandlerService=w,this.meetingsService=F,this.utilsService=I,this.ngUnsubscribe=new X,this.onBookingCompleted=new be,this.firstTimeViewing=!1,this.bookingSession=!1,this.activeSessionState="none",this.activeSession=null,this.hasRegisteredForSessionUpdates=!1,this.sessionLengthStr=_e(()=>{let E=3e6;return E===15e5?"25":E===3e6?"50":"75"}),this.buttonText=_e(()=>`Start ${this.sessionLengthStr()} min session`)}ngOnInit(){this.userService.currentUser.pipe(N(this.ngUnsubscribe)).subscribe(i=>{this.user=i,this.user.userId&&!this.hasRegisteredForSessionUpdates&&(this.hasRegisteredForSessionUpdates=!0,this.registerForBookingsUpdates())}),this.bookSessionsService.bookNowSessionClickedSubject.pipe(N(this.ngUnsubscribe)).subscribe(()=>{this.onClickStartSessionButton()})}onClickStartSessionButton(){return Kt(this,null,function*(){if(this.analyticsService.logClickedEvent(this.buttonText(),"Now Sessions Sidebar"),this.playToneService.playEndSessionToneMuted(),!this.deviceDetectionService.isSupportedBrowserDaily()){this.dialogService.openSafariWarning();return}if(this.user.properties[cd])(yield this.bookSessionWrapper())&&this.onBookingCompleted.emit();else{this.dialogService.openNowSessionsFirstTimeUseModal(i=>Kt(this,null,function*(){if(this.user.properties[cd]=!0,this.userService.update(this.user).subscribe(),!i)return;(yield this.bookSessionWrapper())&&this.onBookingCompleted.emit()}));return}})}bookSessionWrapper(){return Kt(this,null,function*(){this.bookingSession=!0;try{return yield this.bookAndJoinSession()}finally{this.bookingSession=!1}})}bookAndJoinSession(){return Kt(this,null,function*(){let i=3e6,n=this.sessionSettingsService.getSessionSettingFavoritesPreference(),r=this.sessionSettingsService.quietModeEnabled(),s=this.sessionSettingsService.getSessionSettingActivityType(),p={sessionTime:-1,title:null,duration:i,preferences:{favorites:{value:n},quietMode:{value:r}},activityType:s,userAvailabilityCode:null,userId:null};try{let g=yield Qr(this.bookSessionsService.bookSessions([p],this.user.timeZone,Li.NowSessionsSidebar)),k=this.bookSessionsService.parseBookResponse(g);
550return k.numSuccess===1?(this.bookSessionsService.joinSession(g[0].sessionTime),!0):(this.handleBookFailure(g,k),!1)}catch(g){return this.errorHandlerService.handleErrorResponse(g),!1}})}handleBookFailure(i,n){if(n.planLimitReached){this.dialogService.openPlanLimitReachedDialog();return}if(n.sessionConflict){let s=n.conflicts.map(l=>l.sessionTime);this.dialogService.openSessionConflictWithCancel(s,this.user.timeZone,l=>{if(l?.action==="cancelAndBook"){this.bookingSession=!0;let p=n.conflicts.map(g=>this.cancelSessionService.cancelSession(g.externalId,Ni.NowSessionsSidebar));$r(p).pipe(ui(()=>this.bookingSession=!1)).subscribe({next:()=>this.bookAndJoinSession(),error:g=>{this.errorHandlerService.handleErrorResponse(g)}})}});return}if(n.inviterNoLongerAvailable){this.dialogService.openInviterMeetingNoLongerAvailable();return}let r=i[0]?.error;if(r?.error_code===38){this.dialogService.openFeatureNotAvailableModal();return}if(r?.error_code===41){this.errorHandlerService.showErrorToast("You have not unlocked this feature yet.");return}this.errorHandlerService.logUnhandledError(r??i,{source:"now-sessions-sidebar.book"})}registerForBookingsUpdates(){this.meetingsService.meetingsBookingsSubject.pipe(N(this.ngUnsubscribe)).subscribe(i=>{this.activeSession=null,this.activeSessionState="none";for(let n of i.meetings){if(n.meetingType!=="paired")continue;let r=n,s=this.utilsService.getCurrentTimestamp();if(r.state===As){this.activeSession=r,this.activeSessionState="searching";break}else r.sessionType==="now"&&!this.utilsService.hasSessionEnded(r.startMs,r.durationMs,s)&&r.meetingRoom?(this.activeSession=r,this.activeSessionState="matched"):r.sessionType==="standard"&&r.meetingRoom&&this.utilsService.ongoingSession(r.startMs,r.durationMs,s)&&(this.activeSession=r,this.activeSessionState="matched")}})}ngOnDestroy(){this.ngUnsubscribe.next(null),this.ngUnsubscribe.complete()}};t.\u0275fac=function(n){return new(n||t)(f(xo),f(Gt),f($i),f(L),f(fe),f(De),f(Ma),f(Ri),f(Ki),f(it),f(Se))},t.\u0275cmp=T({type:t,selectors:[["fm-now-sessions-sidebar"]],viewQuery:function(n,r){if(n&1&&Oe(nh,5),n&2){let s;J(s=ee())&&(r.startSessionButton=s.first)}},outputs:{onBookingCompleted:"onBookingCompleted"},decls:11,vars:3,consts:[["startSessionButton",""],[1,"p-[16px]","flex","flex-col","gap-[16px]","bg-p-content-hover-background","border-solid","border-[1px]","border-p-content-border-color","rounded-lg","font-inter","text-color"],[1,"flex","flex-col","gap-[8px]"],[1,"text-xs","font-semibold"],[1,"text-xs","font-medium"],["severity","primary","size","large","styleClass","w-full",1,"w-full",3,"buttonProps","disabled","bg-grey"],["severity","primary","size","large","styleClass","w-full",1,"w-full",3,"click","buttonProps","disabled"],[1,"spin","ml-[10px]","w-[15px]","h-[15px]","border-solid","border-[2px]","border-white","border-t-[4px]","border-t-grey","rounded-full"]],template:function(n,r){n&1&&(a(0,"div",1)(1,"div",2)(2,"div",3),b(3,sh,1,0)(4,ah,1,0)(5,lh,1,0),d(),a(6,"div",4),b(7,ch,1,0)(8,dh,1,0)(9,uh,1,0),d()(),b(10,fh,4,6,"p-button",5),d()),n&2&&(c(3),v(r.activeSessionState=="none"?3:r.activeSessionState=="searching"?4:5),c(4),v(r.activeSessionState=="none"?7:r.activeSessionState=="searching"?8:9),c(3),v(r.activeSessionState==="none"?10:-1))},dependencies:[re,ne],styles:[`.spin[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_spin 1s linear infinite}@keyframes _ngcontent-%COMP%_spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.effect-shine[_ngcontent-%COMP%]{-webkit-mask-position:150%;mask-position:150%;-webkit-mask-image:linear-gradient(-75deg,#000 30%,#0000004d,#000 70%);mask-image:linear-gradient(-75deg,#000 30%,#0000004d,#000 70%);-webkit-mask-size:200%;mask-size:200%;animation:_ngcontent-%COMP%_shine 2.5s ease-in-out 3;animation-delay:1s}@keyframes _ngcontent-%COMP%_shine{0%{-webkit-mask-position:150%;mask-position:150%}66%{-webkit-mask-position:-50%;mask-position:-50%}to{-webkit-mask-position:-50%;mask-position:-50%}} 551/*# sourceMappingURL=now-sessions-sidebar.component-B6KGW2EI.css.map */`]});let o=t;return o})();
551var hh=["container"],gh=["focusNowButton"],bh=["scheduleButton"],ni=()=>({autofocus:!1});function vh(o,t){o&1&&h(0,"div",16)}function _h(o,t){if(o&1){let e=x();a(0,"div",6)(1,"div",13)(2,"div",14),S(3,"Focus now"),d(),a(4,"p-button",15),_("click",function(){C(e);let n=u();return y(n.onClickCloseFocusNowForm())}),d()(),b(5,vh,1,0,"div",16),d()}if(o&2){let e=u();c(4),m("buttonProps",M(3,ni))("outlined",!0),c(),v(e.viewportService.isMobile()?5:-1)}}function Ch(o,t){o&1&&h(0,"div",16)}function yh(o,t){if(o&1){let e=x();a(0,"div",6)(1,"div",13)(2,"div",14),S(3,"Book session"),d(),a(4,"p-button",17),_("click",function(){C(e);let n=u();return y(n.onClickCloseScheduleForm())}),d()(),b(5,Ch,1,0,"div",16),d()}if(o&2){let e=u();c(4),m("buttonProps",M(3,ni))("outlined",!0),c(),v(e.viewportService.isMobile()?5:-1)}}function Sh(o,t){o&1&&h(0,"div",16)}function kh(o,t){if(o&1&&h(0,"fa-icon",22),o&2){let e=u(3);m("icon",e.faClock)}}function wh(o,t){if(o&1&&h(0,"fa-icon",22),o&2){let e=u(3);m("icon",e.faBolt)}}function xh(o,t){if(o&1){let e=x();a(0,"p-button",20,1),_("click",function(){C(e);let n=u(2);return y(n.onClickShowScheduleForm())}),U(2,kh,1,1,"ng-template",null,2,ve),d(),a(4,"p-button",21,3),_("click",function(){C(e);let n=u(2);return y(n.onClickShowFocusNowForm())}),U(6,wh,1,1,"ng-template",null,2,ve),d()}o&2&&(m("buttonProps",M(2,ni)),c(4),m("buttonProps",M(3,ni)))}function Th(o,t){if(o&1){let e=x();a(0,"p-button",23,3),_("click",function(){C(e);let n=u(2);return y(n.onClickShowScheduleForm())}),d()}o&2&&m("buttonProps",M(1,ni))}function Mh(o,t){if(o&1&&(a(0,"div",7),b(1,Sh,1,0,"div",16),a(2,"div",18),b(3,xh,8,4)(4,Th,2,2,"p-button",19),d()()),o&2){let e=u();c(),v(e.viewportService.isMobile()?1:-1),c(2),v(e.nowSessionsAvailable?3:4)}}function Eh(o,t){o&1&&h(0,"div",8)}function Bh(o,t){if(o&1){let e=x();a(0,"div",10)(1,"fm-booking-hub-session-settings",24),_("settingsExpanded",function(n){C(e);let r=u();return y(r.onSettingsExpandedToggle(n))}),d()()}}function Ih(o,t){if(o&1){let e=x();a(0,"div",11)(1,"fm-booking-hub-schedule-form",25),_("onBookingCompleted",function(){C(e);let n=u();return y(n.onClickCloseScheduleForm())}),d()()}}function Ah(o,t){if(o&1){let e=x();a(0,"div",12)(1,"fm-now-sessions-sidebar",25),_("onBookingCompleted",function(){C(e);let n=u();return y(n.onClickCloseFocusNowForm())}),d()()}}var ud=(()=>{let t=class t{constructor(i,n,r,s,l){this.userService=i,this.welcomeChecklistService=n,this.viewportService=r,this.utilsService=s,this.featureCheckService=l,this.faBolt=Ys,this.faClock=Ls,this.showScheduleForm=!1,this.showFocusNowForm=!1,this.nowSessionsAvailable=!1,this.ngUnsubscribe=new X,this.isWelcomeChecklistActive=this.welcomeChecklistService.isWelcomeChecklistActive}ngOnInit(){this.userService.currentUser.pipe(N(this.ngUnsubscribe)).subscribe(i=>{this.nowSessionsAvailable=this.featureCheckService.canUseNowSessions(i),this.resetScheduleFormIfNeeded(i)})}resetScheduleFormIfNeeded(i){this.timeFormat&&this.timezone&&(this.timeFormat!==i.settings.timeFormat||this.timezone!==i.timeZone)&&this.onClickCloseScheduleForm(),this.timezone=i.timeZone,this.timeFormat=i.settings.timeFormat}onClickShowFocusNowForm(){this.utilsService.animateHeightChange(this.container.nativeElement,()=>{this.showFocusNowForm=!0,this.showScheduleForm=!1})}onClickShowScheduleForm(){this.utilsService.animateHeightChange(this.container.nativeElement,()=>{this.showScheduleForm=!0,this.showFocusNowForm=!1})}onClickCloseFocusNowForm(){this.utilsService.animateHeightChange(this.container.nativeElement,()=>{this.showFocusNowForm=!1})}onClickCloseScheduleForm(){this.utilsService.animateHeightChange(this.container.nativeElement,()=>{this.showScheduleForm=!1})}onSettingsExpandedToggle(i){setTimeout(()=>{this.settingsExpanded=i})}ngOnDestroy(){this.ngUnsubscribe.next(null),this.ngUnsubscribe.complete()}};t.\u0275fac=function(n){return new(n||t)(f(L),f(Ge),f(ke),f(Se),f(Fe))},t.\u0275cmp=T({type:t,selectors:[["fm-booking-hub"]],viewQuery:function(n,r){if(n&1&&Oe(hh,5)(gh,5,Jn)(bh,5,Jn),n&2){let s;J(s=ee())&&(r.container=s.first),J(s=ee())&&(r.focusNowButton=s.first),J(s=ee())&&(r.scheduleButton=s.first)}},decls:11,vars:6,consts:[["container",""],["focusNowButton",""],["icon",""],["scheduleButton",""],["role","regi
551on","aria-label","Booking hub",1,"w-full","h-full","bp908:h-auto","bg-p-content-background","rounded-t-2xl","bp908:rounded-2xl","p-4","bp908:shadow-p-form-field-shadow","bp908:border","bp908:border-p-content-border-color"],[1,"max-h-full","min-h-0","w-full","flex","flex-col","gap-4"],[1,"w-full","flex","flex-col","justify-start","items-start","order-2","gap-4"],[1,"flex","flex-col","items-center","justify-center","w-full","gap-4","order-4","bp908:order-3"],[1,"w-[calc(100%+32px)]","h-[1px]","border-b","order-4","bp908:order-3","border-p-content-border-color","ml-[-16px]"],[1,"w-full","order-3","bp908:order-5","animate-height-snappy","bp908:self-end"],[1,"w-full","animation-fade-in"],[1,"w-full","mt-3","animation-fade-in"],[1,"w-full","mt-2","animation-fade-in"],[1,"h-12","w-full","flex","items-center","justify-between"],[1,"mr-auto","text-color","text-16","font-semibold","font-inter","animation-slide-left-and-fade-in-quick"],["severity","secondary","icon","pi pi-times","styleClass","aspect-square","size","small",3,"click","buttonProps","outlined"],[1,"w-full","h-[1px]","border-b","border-p-content-border-color"],["severity","secondary","icon","pi pi-times","styleClass","aspect-square","size","small","aria-label","Close schedule form",3,"click","buttonProps","outlined"],[1,"flex","flex-row","items-center","justify-center","w-full","gap-[1px]"],["severity","primary","size","large","label","Book session","styleClass","w-full",1,"fm-button-xlarge","w-full","animation-slide-right-and-fade-in-quick",3,"buttonProps"],["severity","primary","size","large","label","Book","styleClass","w-full !rounded-r-none",1,"fm-button-xlarge","flex-1","animation-slide-right-and-fade-in-quick",3,"click","buttonProps"],["pTooltip","Instant 50-min session","showDelay","1000","tooltipPosition","right","severity","primary","size","large","label","Now","styleClass","w-full !rounded-l-none",1,"fm-button-xlarge","flex-1","animation-slide-right-and-fade-in-quick",3,"click","buttonProps"],[3,"icon"],["severity","primary","size","large","label","Book session","styleClass","w-full",1,"fm-button-xlarge","w-full","animation-slide-right-and-fade-in-quick",3,"click","buttonProps"],[3,"settingsExpanded"],[3,"onBookingCompleted"]],template:function(n,r){n&1&&(a(0,"section",4)(1,"div",5),b(2,_h,6,4,"div",6)(3,yh,6,4,"div",6),b(4,Mh,5,2,"div",7),b(5,Eh,1,0,"div",8),a(6,"div",9,0),b(8,Bh,2,0,"div",10),b(9,Ih,2,0,"div",11),b(10,Ah,2,0,"div",12),d()()()),n&2&&(c(2),v(r.showFocusNowForm?2:r.showScheduleForm?3:-1),c(2),v(!r.showScheduleForm&&!r.showFocusNowForm&&!(r.viewportService.isMobile()&&!r.settingsExpanded)?4:-1),c(),v(r.viewportService.isMobile()?-1:5),c(3),v(r.showFocusNowForm?-1:8),c(),v(r.showScheduleForm?9:-1),c(),v(r.showFocusNowForm?10:-1))},dependencies:[Ve,Z,z,G,re,ne,Xi,ld,id,dd],encapsulation:2});let o=t;return o})();var Dh=o=>({format:"dddd, MMMM D",timezone:o}),md=(o,t)=>({format:o,timezone:t}),Rh=()=>({autofocus:!1}),pd=(()=>{let t=class t{constructor(i){this.selectedSessionService=i}ngOnInit(){this.setTimeDisplayStringFormat()}ngOnChanges(i){this.setTimeDisplayStringFormat()}setTimeDisplayStringFormat(){(this.user.settings?.timeFormat??"12hr")=="12hr"?this.displayTimeFormat="h:mma":this.displayTimeFormat="HH:mm"}onClickRemoveSession(){this.selectedSessionService.deleteSelectedSession(this.sessionInfo.sessionTime)}ngOnDestroy(){}};t.\u0275fac=function(n){return new(n||t)(f(Co))},t.\u0275cmp=T({type:t,selectors:[["fm-selected-sessions-list-item"]],inputs:{sessionInfo:"sessionInfo",user:"user"},features:[gi],decls:16,vars:28,consts:[[1,"flex","flex-col","justify-between","items-center","rounded-tr-lg","rounded-br-lg","absolute","session-skin","p-1","relative","overflow-hidden"],[1,"h-full","min-w-1","bg-primary","absolute","top-0","left-0"],[1,"absolute","right-2","top-0",3,"isQuietMode","activityType","showActivityType","isLockedIn","sessionDuration"],[1,"flex","justify-start","items-start","w-full","ml-1","max-w-full","pr-2"],[1,"h-full","flex","flex-col","justify-between","items-start","ml-1","mt-0.5","max-w-full","flex-grow","w-[calc(100%_-_50px)]"],[1,"text-12-16","leadning-normal","text-color","font-medium","text-left","font-inter"],[1,"text-12-16","leadning-normal","text-color","font-medium","text-left","font-inter","truncate","whitespace-nowrap","overflow-hidden","text-ellipsis","max-w-full"],[1,"flex","flex-row","justify-end","items-center","w-full","gap-1"],["severity","secondary","size","small","icon","pi pi-times",1,"fm-button-xsmall",3,"click","buttonProps"]],template:function(n,r){n&1&&(a(0,"div",0),h(1,"div",1)(2,"fm-session-indicator-icons",2),a(3,"div",3)(4,"div",4)(5,"div",5),S(6),ae(7,"epochToTime"),d(),a(8,"div",5),S(9),ae(10,"epochToTime"),ae(11,"epochToTime"),d(),a(12,"div",6),S(13),d()()(),a(14,"div",7)(1
5515,"p-button",8),_("click",function(){return r.onClickRemoveSession()}),d()()()),n&2&&(c(2),m("isQuietMode",r.sessionInfo.quietMode)("activityType",r.sessionInfo.activityType)("showActivityType",!0)("isLockedIn",!1)("sessionDuration",r.sessionInfo.sessionDuration),c(4),me("",Jt(7,10,r.sessionInfo.sessionTime,$(19,Dh,r.user.timeZone))," "),c(3),Ht(" ",Jt(10,13,r.sessionInfo.sessionTime,Ae(21,md,r.displayTimeFormat,r.user.timeZone))," - ",Jt(11,16,r.sessionInfo.sessionTime+r.sessionInfo.sessionDuration,Ae(24,md,r.displayTimeFormat,r.user.timeZone))," "),c(4),je(r.partnerNameOrStatusString),c(2),m("buttonProps",M(27,Rh)))},dependencies:[rl,re,ne,rn],encapsulation:2,changeDetection:0});let o=t;return o})();var Fh=(o,t)=>t.sessionTime;function Ph(o,t){if(o&1&&(h(0,"fm-selected-sessions-list-item",3),ae(1,"async")),o&2){let e=t.$implicit,i=u();m("sessionInfo",e)("user",Ee(1,2,i.userService.currentUser))}}var fd=(()=>{let t=class t{constructor(i){this.userService=i,this.selectedSessions=[]}};t.\u0275fac=function(n){return new(n||t)(f(L))},t.\u0275cmp=T({type:t,selectors:[["fm-selected-sessions-list"]],inputs:{selectedSessions:"selectedSessions"},decls:6,vars:2,consts:[[1,"flex","flex-col","gap-4"],[1,"text-14","leading-[normal]","text-muted-color","font-inter"],[1,"flex","flex-col","gap-2"],[3,"sessionInfo","user"]],template:function(n,r){n&1&&(a(0,"div",0)(1,"div",1),S(2),d(),a(3,"div",2),mo(4,Ph,2,4,"fm-selected-sessions-list-item",3,Fh),d()()),n&2&&(c(2),Ht("",r.selectedSessions.length," ",r.selectedSessions.length===1?"Session":"Sessions"," Selected"),c(2),po(r.selectedSessions))},dependencies:[O,pd,yt],encapsulation:2,changeDetection:0});let o=t;return o})();var Nh=["container"],Lh=()=>({autofocus:!1}),Oh=(o,t)=>t.groupInfo.groupId;function Vh(o,t){if(o&1){let e=x();a(0,"div",6)(1,"p-checkbox",7),Ct("ngModelChange",function(n){let r=C(e).$implicit;return _t(r.show,n)||(r.show=n),y(n)}),_("onChange",function(n){C(e);let r=u(2);return y(r.onCheckboxChanged(n))}),d(),a(2,"label",8),S(3),d()()}if(o&2){let e=t.$implicit;c(),m("value",e.groupInfo.groupId),vt("ngModel",e.show),m("binary",!0)("inputId",e.groupInfo.groupId),c(),m("for",e.groupInfo.groupId),c(),je(e.groupInfo.groupName)}}function Uh(o,t){if(o&1&&(a(0,"div",5),mo(1,Vh,4,6,"div",6,Oh),d()),o&2){let e=u();c(),po(e.groupFilters)}}var hd=(()=>{let t=class t{constructor(i,n,r,s){this.groupFilterService=i,this.userService=n,this.localStorageAccessService=r,this.utilsService=s,this.ngUnsubscribe=new X,this.groupFilters=[]}ngOnInit(){let i=this.localStorageAccessService.getItem("groupSidebar:openPanel");this.groupPanelExpanded=i==="true",this.groupPanelExpanded=!1,this.userService.currentUser.pipe(N(this.ngUnsubscribe)).subscribe(n=>{this.groupFilters.length=0,this.groupFilters=this.groupFilterService.initGroupFilters(n.group)})}onClickTogglePanel(){this.utilsService.animateHeightChange(this.container.nativeElement,()=>{this.groupPanelExpanded=!this.groupPanelExpanded}),this.localStorageAccessService.setItem("groupSidebar:openPanel",this.groupPanelExpanded.toString())}onCheckboxChanged(i){this.groupFilters.forEach(n=>{this.groupFilterService.updateFilter(n.groupInfo.groupId,n.show)})}ngOnDestroy(){this.ngUnsubscribe.next(null),this.ngUnsubscribe.complete()}};t.\u0275fac=function(n){return new(n||t)(f(Da),f(L),f(ot),f(Se))},t.\u0275cmp=T({type:t,selectors:[["fm-group-filter"]],viewQuery:function(n,r){if(n&1&&Oe(Nh,5),n&2){let s;J(s=ee())&&(r.container=s.first)}},decls:7,vars:5,consts:[["container",""],[1,"w-full","h-auto","bg-p-content-background","bp908:rounded-2xl","p-4","bp908:shadow-p-form-field-shadow","font-inter","animate-height-snappy","bp908:border","bp908:border-p-content-border-color"],[1,"w-full","flex","flex-row","justify-between","items-center","cursor-pointer",3,"click"],[1,"text-muted-color","font-medium","text-14","leading-[normal]"],["size","small","styleClass","!w-6 aspect-square","severity","secondary",1,"!w-6","aspect-square",3,"buttonProps","outlined","icon"],[1,"w-full","flex","flex-col","justify-start","items-start","gap-1","animation-fade-in"],[1,"w-full","flex","justify-start","items-center"],["size","small",3,"ngModelChange","onChange","value","ngModel","binary","inputId"],[1,"w-full","ml-2","text-14","leadning-[normal]","text-color","font-light","block","truncate",3,"for"]],template:function(n,r){n&1&&(a(0,"div",1,0)(2,"div",2),_("click",function(){return r.onClickTogglePanel()}),a(3,"div",3),S(4," Groups "),d(),h(5,"p-button",4),d(),b(6,Uh,3,0,"div",5),d()),n&2&&(c(5),m("buttonProps",M(4,Lh))("outlined",!0)("icon",r.groupPanelExpanded?"pi pi-chevron-up":"pi pi-chevron-down"),c(),v(r.groupPanelExpanded?6:-1))},dependencies:[re,ne,Ya,Qa,We,bo,vo],encapsulation:2,changeDetection:0});let o=t;return o}
551)();var gd=()=>({width:"100%",height:"100%"});function zh(o,t){o&1&&(a(0,"p-scrollpanel",2)(1,"div",3),h(2,"fm-booking-hub",4),d()()),o&2&&Xt(M(2,gd))}function Hh(o,t){if(o&1&&b(0,zh,3,3,"p-scrollpanel",1),o&2){let e=u();v(e.hideBookingHubOnMobile?-1:0)}}function jh(o,t){o&1&&h(0,"fm-new-welcome-checklist-sidebar",8)}function Wh(o,t){o&1&&h(0,"fm-group-meetings-sidebar",8)}function Gh(o,t){o&1&&h(0,"fm-year-in-focus-sidebar",8)}function qh(o,t){o&1&&h(0,"fm-upcoming-session-panel",10)}function Qh(o,t){if(o&1&&(a(0,"div",11),h(1,"fm-selected-sessions-list",12),d()),o&2){let e=u(2);c(),m("selectedSessions",e.selectedSessions)}}function Yh(o,t){o&1&&h(0,"fm-group-filter")}function $h(o,t){if(o&1&&(a(0,"p-scrollpanel",5),h(1,"div",6),a(2,"div",7),b(3,jh,1,0,"fm-new-welcome-checklist-sidebar",8)(4,Wh,1,0,"fm-group-meetings-sidebar",8)(5,Gh,1,0,"fm-year-in-focus-sidebar",8),h(6,"fm-booking-hub",9),b(7,qh,1,0,"fm-upcoming-session-panel",10),b(8,Qh,2,1,"div",11),b(9,Yh,1,0,"fm-group-filter"),ae(10,"async"),ae(11,"async"),d(),h(12,"div",6),d()),o&2){let e=u();Xt(M(10,gd)),c(3),v(e.isWelcomeChecklistActive()?3:e.isGroupMeetingsBetaEnabled()?4:5),c(4),v(e.showUpcomingSessions?7:-1),c(),v(e.selectedSessions.length>0?8:-1),c(),v(Ee(10,6,e.userService.currentUser).userId&&Ee(11,8,e.userService.currentUser).group.length>0?9:-1)}}var Wn=(()=>{let t=class t{constructor(i,n,r,s,l,p,g,k,w){this.viewportService=i,this.userService=n,this.selectedSessionService=r,this.welcomeChecklistService=s,this.meetingsService=l,this.confirmedSessionsService=p,this.featureCheckService=g,this.upcomingSessionsService=k,this.utilsService=w,this.hideBookingHubOnMobile=!1,this.ngUnsubscribe=new X,this.enableScrollbar=!1,this.selectedSessions=[],this.showUpcomingSessions=!1,this.isWelcomeChecklistActive=this.welcomeChecklistService.isWelcomeChecklistActive,this.isGroupMeetingsBetaEnabled=this.featureCheckService.groupMeetingsBetaEnabledSig}ngOnInit(){this.selectedSessionService.selectedSessions$.pipe(N(this.ngUnsubscribe)).subscribe(i=>{this.selectedSessions=[...i]}),this.meetingsService.meetingsBookingsSubject.pipe(N(this.ngUnsubscribe)).subscribe(i=>{this.showUpcomingSessions=this.hasUpcomingBooking(i.meetings)})}ngAfterViewInit(){}ngOnDestroy(){this.ngUnsubscribe.next(null),this.ngUnsubscribe.complete()}hasUpcomingBooking(i){let n=this.utilsService.getCurrentTimestamp();for(let r of i)if(!this.utilsService.hasSessionEnded(r.startMs,r.durationMs,n)&&(r.meetingType==="group_meeting"||this.utilsService.shouldDisplaySession(r.sessionType??"standard",r.startMs,r.state??0,!!r.partnerId)))return!0;return!1}};t.\u0275fac=function(n){return new(n||t)(f(ke),f(L),f(Co),f(Ge),f(it),f(St),f(Fe),f(Yt),f(Se))},t.\u0275cmp=T({type:t,selectors:[["fm-left-panel"]],inputs:{hideBookingHubOnMobile:"hideBookingHubOnMobile"},decls:2,vars:1,consts:[["styleClass","w-full",1,"booking-hub-scroll-panel","rounded-t-2xl",3,"style"],["styleClass","w-full rounded-t-2xl",1,"booking-hub-scroll-panel","rounded-t-2xl",3,"style"],["styleClass","w-full rounded-t-2xl",1,"booking-hub-scroll-panel","rounded-t-2xl"],[1,"h-auto","max-h-full","flex","flex-col","justify-end"],[1,"h-full"],["styleClass","w-full",1,"booking-hub-scroll-panel","rounded-t-2xl"],[1,"h-1","w-full"],[1,"h-auto","bp908:px-1","flex","flex-col","bp908:gap-1","justify-end","bp908:justify-start"],[1,"w-full"],[1,"h-full","bp908:h-auto"],[1,"hidden","bp908:block"],[1,"bp908:block","w-full","h-auto","bg-p-content-background","p-4","bp908:rounded-2xl","bp908:shadow-p-form-field-shadow","bp908:border","bp908:border-p-content-border-color"],[1,"h-full",3,"selectedSessions"]],template:function(n,r){n&1&&b(0,Hh,1,1)(1,$h,13,11,"p-scrollpanel",0),n&2&&v(r.viewportService.isMobile()?0:1)},dependencies:[hd,Oo,fd,ud,O,Xi,$a,No,Eo,Lo,yt],encapsulation:2});let o=t;return o})();var Gn=(()=>{let t=class t{constructor(){this.greeting=""}ngOnInit(){this.updateGreetingAndScheduleNext(),this.visibilitySub=zo(document,"visibilitychange").subscribe(()=>{document.visibilityState==="visible"&&this.updateGreetingAndScheduleNext()})}updateGreetingAndScheduleNext(){let i=new Date,n=i.getHours();n<12?this.greeting="Good Morning":n<17?this.greeting="Good Afternoon":this.greeting="Good Evening";let s=this.getNextTransitionTime(i).getTime()-i.getTime();this.timerSub?.unsubscribe(),this.timerSub=ci(s).subscribe(()=>{this.updateGreetingAndScheduleNext()})}getNextTransitionTime(i){let n=new Date(i);return i.getHours()<12?n.setHours(12,0,0,0):i.getHours()<17?n.setHours(17,0,0,0):(n.setDate(n.getDate()+1),n.setHours(0,0,0,0)),n}ngOnDestroy(){this.timerSub?.unsubscribe(),this.visibilitySub?.unsubscribe()}};t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=T({type:t,selectors:[["fm-home-welcome-message"]],decls:2,vars:1,template:function(n,r){n&1&&(dt(0,"span"),S(1),ut()),n&2&&(c(),je(r.greeting))},encapsulation:2});let o=t;return o}
551)();var st=()=>({autofocus:!1}),Jh=()=>({source:"dynamicPanelHome"});function eg(o,t){if(o&1&&(a(0,"div"),S(1),ae(2,"number"),d()),o&2){let e=t;c(),Ht(" ",Ee(2,2,e)," ",e===1?"session":"sessions"," ")}}function tg(o,t){if(o&1&&h(0,"fm-ambassador-sessions-badge",30),o&2){let e=u(4);m("ambassadorSessionsAttended",e.currentUser.ambassadorSessionsAttended)}}function og(o,t){if(o&1&&(a(0,"div",27),b(1,tg,1,1,"fm-ambassador-sessions-badge",30),h(2,"fm-host-badge",31),d()),o&2){let e=u(3);c(),v(e.currentUser.ambassadorSessionsAttended>0?1:-1),c(),m("isHost",!!e.currentUser.isHost)("groupSessionsHosted",e.currentUser.groupSessionsHosted??0)("viewingSelf",!0)}}function ig(o,t){if(o&1&&(a(0,"div",32),S(1),d()),o&2){let e=u(4);c(),me(" ",e.trialDaysRemaining," days left in trial ")}}function ng(o,t){o&1&&(a(0,"p-message",28),U(1,ig,2,1,"ng-template",null,0,ve),d())}function rg(o,t){if(o&1){let e=x();a(0,"p-button",33),_("click",function(){C(e);let n=u(3);return y(n.onClickUpgrade())}),d()}o&2&&m("buttonProps",M(2,st))("state",M(3,Jh))}function sg(o,t){if(o&1){let e=x();a(0,"div",10)(1,"div",20)(2,"fm-avatar",21),_("click",function(){C(e);let n=u(2);return y(n.onClickAvatar())}),d(),a(3,"p-button",22),_("click",function(){C(e);let n=u(2);return y(n.onClickProfileButton())}),a(4,"span",23),S(5,"See my profile"),d()()(),a(6,"div",24)(7,"div",25),h(8,"fm-home-welcome-message"),S(9,","),h(10,"br"),S(11),d(),a(12,"div",26),b(13,eg,3,4,"div"),ae(14,"async"),d(),b(15,og,3,4,"div",27),a(16,"div",26),S(17),d(),b(18,ng,3,0,"p-message",28),d(),b(19,rg,1,4,"p-button",29),d()}if(o&2){let e,i=u(2);c(2),m("sizePx",48)("avatarLocation",i.currentUser.photo),c(),m("buttonProps",M(12,st))("outlined",!0),c(8),me("",i.currentUser.firstName,"!"),c(2),v((e=Ee(14,10,i.meetingsService.completedSessionCountSubject))?13:-1,e),c(2),v(i.currentUser.ambassadorSessionsAttended>0||i.currentUser.isHost&&i.featureCheckService.groupMeetingsEnabledSig()?15:-1),c(2),me(" ",i.planNameString," "),c(),v(i.trialDaysRemaining&&i.trialDaysRemaining>0?18:-1),c(),v(i.showUpgradeButton?19:-1)}}function ag(o,t){if(o&1){let e=x();a(0,"p-button",12),_("click",function(){C(e);let n=u(2);return y(n.onClickGroupSessions())}),a(1,"div",13)(2,"div",34),h(3,"fm-icon",35),a(4,"span",36),S(5,"Group Sessions"),d()(),a(6,"div",37),h(7,"p-tag",38)(8,"i",17),d()()()}o&2&&m("buttonProps",M(2,st))("outlined",!0)}function lg(o,t){if(o&1){let e=x();a(0,"p-button",12),_("click",function(){C(e);let n=u(2);return y(n.onClickTaskManager())}),a(1,"div",13)(2,"div",34),h(3,"i",39),a(4,"span",36),S(5,"Task Manager"),d()(),a(6,"div",37),h(7,"p-tag",38)(8,"i",17),d()()()}o&2&&m("buttonProps",M(2,st))("outlined",!0)}function cg(o,t){if(o&1){let e=x();b(0,sg,20,13,"div",10),a(1,"div",11)(2,"p-button",12),_("click",function(){C(e);let n=u();return y(n.onClickYourSchedule())}),a(3,"div",13)(4,"div"),h(5,"i",14),a(6,"span",15),S(7,"My Schedule"),d()(),a(8,"div",16),h(9,"i",17),d()()(),a(10,"p-button",12),_("click",function(){C(e);let n=u();return y(n.onClickFavoritesSchedule())}),a(11,"div",13)(12,"div"),h(13,"i",18),a(14,"span",15),S(15,"Favorites Schedule"),d()(),a(16,"div",16),h(17,"i",17),d()()(),b(18,ag,9,3,"p-button",19),b(19,lg,9,3,"p-button",19),d()}if(o&2){let e=u();v(e.currentUser.userId?0:-1),c(2),m("buttonProps",M(7,st))("outlined",!0),c(8),m("buttonProps",M(8,st))("outlined",!0),c(8),v(e.featureCheckService.groupMeetingsEnabledSig()?18:-1),c(),v(e.isTaskManagerEnabled()?19:-1)}}function dg(o,t){o&1&&h(0,"fm-icon",35)}function ug(o,t){if(o&1){let e=x();a(0,"p-button",44),_("click",function(){C(e);let n=u(2);return y(n.onClickGroupSessions())}),U(1,dg,1,0,"ng-template",null,1,ve),a(3,"span",23),S(4,"Group Sessions"),d()()}o&2&&m("buttonProps",M(2,st))("outlined",!0)}function mg(o,t){if(o&1){let e=x();a(0,"p-button",45),_("click",function(){C(e);let n=u(2);return y(n.onClickTaskManager())}),a(1,"span",23),S(2,"Task Manager"),d()()}o&2&&m("buttonProps",M(2,st))("outlined",!0)}function pg(o,t){if(o&1){let e=x();a(0,"div",6)(1,"p-button",40),_("click",function(){C(e);let n=u();return y(n.onClickYourSchedule())}),a(2,"span",23),S(3,"My Schedule"),d()(),a(4,"p-button",41),_("click",function(){C(e);let n=u();return y(n.onClickFavoritesSchedule())}),a(5,"span",23),S(6,"Favorites Schedule"),d()(),b(7,ug,5,3,"p-button",42),b(8,mg,3,3,"p-button",43),d()}if(o&2){let e=u();c(),m("buttonProps",M(6,st))("outlined",!0),c(3),m("buttonProps",M(7,st))("outlined",!0),c(3),v(e.featureCheckService.groupMeetingsEnabledSig()?7:-1),c(),v(e.isTaskManagerEnabled()?8:-1)}}function fg(o,t){if(o&1){let e=x();a(0,"p-button",46),_("click",function(){C(e);let n=u();return y(n.onClickTestAutioAndVideo())}),a(1,"div",47)(2,"div"),h(3,"i",48),a(4,"span",15),S(5,"Test audio and video"),d()()()()}if(o&2){let e=u();
551m("buttonProps",M(3,st))("routerLink","/session/"+e.currentUser.userId)("outlined",!0)}}function hg(o,t){if(o&1){let e=x();a(0,"p-button",49),_("click",function(){C(e);let n=u();return y(n.onClickTestAutioAndVideo())}),a(1,"span",23),S(2,"Test audio and video"),d()()}if(o&2){let e=u();m("buttonProps",M(3,st))("routerLink","/session/"+e.currentUser.userId)("outlined",!0)}}var bd=(()=>{let t=class t{constructor(i,n,r,s,l,p,g,k){this.contentStackService=i,this.userService=n,this.rewardsReferralService=r,this.analyticsService=s,this.confirmedSessionsService=l,this.router=p,this.featureCheckService=g,this.meetingsService=k,this.panelOpen=!0,this.faCalendar=Pi,this.faStar=_o,this.faVideo=va,this.faMessage=ga,this.ngUnsubscribe=new X,this.currentUser=new Ai,this.planNameString="",this.trialDaysRemaining=null}ngOnInit(){this.userService.currentUser.pipe(N(this.ngUnsubscribe)).subscribe(i=>{this.currentUser=he({},i),this.setPlanNameSInfo()})}setPlanNameSInfo(){this.trialDaysRemaining=this.rewardsReferralService.getTrialDaysRemaining(this.currentUser),this.currentUser.planInfo.productAccess=="Focusmate Free"?(this.showUpgradeButton=!0,this.trialDaysRemaining&&this.trialDaysRemaining>0?this.planNameString="Focusmate Plus Trial":this.planNameString="Free Plan \xB7 3 sessions per week"):(this.showUpgradeButton=!1,this.planNameString=this.currentUser.planInfo.productAccess)}getSource(){return this.panelOpen?"dynamicPanelHomePanelOpen":"dynamicPanelHomePanelClosed"}onClickAvatar(){this.analyticsService.logClickedEvent("My Profile - Image",this.getSource()),this.router.navigate(["/profile"])}onClickProfileButton(){this.analyticsService.logClickedEvent("My Profile - Button",this.getSource())}onClickYourSchedule(){this.analyticsService.logClickedEvent("My Schedule",this.getSource()),this.contentStackService.pushMyScheduleToDynamicPanel(!0)}onClickGroupSessions(){this.featureCheckService.groupMeetingsEnabledSig()&&(this.analyticsService.logGroupMeetingClick("openGroupMeetings",this.getSource()),this.contentStackService.pushGroupMeetingsToDynamicPanel(!0))}onClickUpgrade(){this.analyticsService.logClickedEvent("Upgrade to Plus",this.getSource())}onClickFavoritesSchedule(){this.analyticsService.logClickedEvent("Favorites Schedule",this.getSource()),this.contentStackService.pushFavoritesAvailabilityListToDynamicPanel(!0)}onClickTestAutioAndVideo(){this.analyticsService.logClickedEvent("Test audio and video",this.getSource())}onClickTaskManager(){this.analyticsService.logClickedEvent("Task Manager",this.getSource()),this.contentStackService.pushTaskManagerToDynamicPanel(!0)}isTaskManagerEnabled(){return this.featureCheckService.isTaskManagerEnabled(this.currentUser)}};t.\u0275fac=function(n){return new(n||t)(f(Mo),f(L),f(kt),f(De),f(St),f(pe),f(Fe),f(it))},t.\u0275cmp=T({type:t,selectors:[["fm-rp-home"]],inputs:{panelOpen:"panelOpen"},decls:9,vars:2,consts:[["container",""],["icon",""],[1,"font-inter","w-full","h-full","bg-[linear-gradient(359deg,_var(--p-content-background)_83.33%,_var(--p-content-hover-background)_99.08%)]"],[1,"w-full","h-full","p-4"],[1,"flex","flex-col","items-center","justify-between","h-full"],[1,"flex","flex-col","items-center","justify-start","gap-4","w-full"],[1,"flex","flex-col","gap-2"],[1,"flex","flex-col","items-center","justify-start","gap-2","w-full"],["severity","secondary","styleClass","w-full",1,"w-full",3,"buttonProps","routerLink","outlined"],["size","small","severity","secondary","pTooltip","Test Audio and Video","styleClass","aspect-square","icon","pi pi-video",3,"buttonProps","routerLink","outlined"],[1,"flex","flex-col","items-start","justify-start","w-full","gap-2"],[1,"flex","flex-col","gap-2","w-full"],["severity","secondary","styleClass","w-full",1,"w-full",3,"click","buttonProps","outlined"],[1,"w-full","flex","items-center","justify-between"],[1,"pi","pi-calendar",2,"font-size","14px"],[1,"ml-1","font-semibold"],[1,"flex","items-center","justify-center"],[1,"pi","pi-chevron-right",2,"font-size","14px"],[1,"pi","pi-star-fill",2,"font-size","14px"],["severity","secondary","styleClass","w-full",1,"w-full",3,"buttonProps","outlined"],[1,"w-full","flex","flex-row","justify-between","items-start"],[1,"curs
551or-pointer",3,"click","sizePx","avatarLocation"],["pTooltip","My Profile","routerLink","/profile","size","small","severity","secondary","styleClass","aspect-square","icon","pi pi-id-card",1,"flex",3,"click","buttonProps","outlined"],[1,"sr-only"],[1,"flex","flex-col","items-start","justify-start","w-full","gap-1"],[1,"w-full","text-left","text-base","leading-normal","font-semibold","text-color"],[1,"text-12","leading-[normal]","text-muted-color","font-light"],[1,"flex","flex-row","items-center","gap-2"],["severity","warn","variant","text","styleClass","w-full !rounded-lg"],["routerLink","/upgrade","severity","primary","label","Upgrade to Plus","size","small",3,"buttonProps","state"],["size","small",3,"ambassadorSessionsAttended"],["size","small",3,"isHost","groupSessionsHosted","viewingSelf"],[1,"w-full","flex","items-center","justify-center","font-semibold","text-12"],["routerLink","/upgrade","severity","primary","label","Upgrade to Plus","size","small",3,"click","buttonProps","state"],[1,"flex","items-center","gap-1.5"],["name","flower","size","14px"],[1,"font-semibold"],[1,"flex","items-center","justify-end","gap-2"],["styleClass","!text-10 !leading-[normal] !rounded-md !font-medium !px-1.5 !py-0.5","severity","info","value","Labs"],[1,"pi","pi-check-square",2,"font-size","14px"],["size","small","severity","secondary","pTooltip","My Schedule","styleClass","aspect-square","icon","pi pi-calendar",3,"click","buttonProps","outlined"],["size","small","severity","secondary","pTooltip","Favorites Schedule","styleClass","aspect-square","icon","pi pi-star-fill",3,"click","buttonProps","outlined"],["size","small","styleClass","aspect-square","severity","secondary","pTooltip","Group Sessions",3,"buttonProps","outlined"],["size","small","styleClass","aspect-square","severity","secondary","pTooltip","Task Manager","icon","pi pi-check-square",3,"buttonProps","outlined"],["size","small","styleClass","aspect-square","severity","secondary","pTooltip","Group Sessions",3,"click","buttonProps","outlined"],["size","small","styleClass","aspect-square","severity","secondary","pTooltip","Task Manager","icon","pi pi-check-square",3,"click","buttonProps","outlined"],["severity","secondary","styleClass","w-full",1,"w-full",3,"click","buttonProps","routerLink","outlined"],[1,"w-full","flex","items-center","justify-start"],[1,"pi","pi-video",2,"font-size","14px"],["size","small","severity","secondary","pTooltip","Test Audio and Video","styleClass","aspect-square","icon","pi pi-video",3,"click","buttonProps","routerLink","outlined"]],template:function(n,r){n&1&&(a(0,"div",2)(1,"div",3)(2,"div",4)(3,"div",5),b(4,cg,20,9)(5,pg,9,8,"div",6),d(),a(6,"div",7),b(7,fg,6,4,"p-button",8)(8,hg,3,4,"p-button",9),d()()()()),n&2&&(c(4),v(r.panelOpen?4:5),c(3),v(r.panelOpen?7:8))},dependencies:[z,G,O,re,ne,Ve,j,ie,Ji,ln,Gn,on,nn,an,sn,tn,en,yt,cs],encapsulation:2});let o=t;return o})();var qn=()=>({autofocus:!1});function gg(o,t){if(o&1){let e=x();a(0,"p-button",7),_("click",function(){C(e);let n=u();return y(n.onBack())}),a(1,"span",6),S(2,"Go back"),d()()}o&2&&m("buttonProps",M(2,qn))("outlined",!0)}function bg(o,t){if(o&1){let e=x();a(0,"p-button",8),_("click",function(){C(e);let n=u();return y(n.onClickSendToMainPanel())}),a(1,"span",6),S(2,"Send to main panel"),d()()}o&2&&m("buttonProps",M(2,qn))("outlined",!0)}function vg(o,t){if(o&1){let e=x();a(0,"p-button",9),_("debounceClick",function(){C(e);let n=u();return y(n.onClickRefresh())}),a(1,"span",6),S(2,"Refresh"),d()()}o&2&&m("buttonProps",M(2,qn))("outlined",!0)}var vd=(()=>{let t=class t{constructor(i,n){this.router=i,this.analyticsService=n,this.showBackButton=!1,this.showReloadButton=!1,this.panelOpen=!0,this.sendToMainPanelUrl=null,this.back=new be,this.togglePanel=new be,this.refreshSelected=new be}onBack(){this.back.emit()}onClickRefresh(){this.refreshSelected.emit()}onTogglePanel(){this.togglePanel.emit()}onClickSendToMainPanel(){this.analyticsService.logSendTOMainPanelClick(this.sendToMainPanelUrl),this.router.navigate([this.sendToMainPanelUrl]),this.back.emit()}};t.\u0275fac=function(n){return new(n||t)(f(pe),f(De))},t.\u0275cmp=T({type:t,selectors:[["fm-right-panel-header"]],inputs:{showBackButton:"showBackButton",showReloadButton:"showReloadButton",panelOpen:"panelOpen",sendToMainPanelUrl:"sendToMainPanelUrl"},outputs:{back:"back",togglePanel:"togglePanel",refreshSelected:"refreshSelected"},decls:8,vars:8,consts:[[1,"flex","w-full","p-4","border-b","border-b-p-content-border-color"],[1,"flex","flex-row","items-center","justify-start","gap-2"],["severity","secondary","size","small","styleClass","aspect-square","pTooltip","Back","tooltipPosition","bottom","icon","pi pi-arrow-left",1,"mr-auto",3,"buttonProps","outlined"],["severity","secondary","size","small","styleClass","aspect-square","pTooltip","View in center panel","tooltipPosition","bottom","icon","pi pi-expand",1,"mr-auto",3,"buttonProps","outlined"],["appFmDebounceClick","","severity","secondary","size","small","styleClass","aspect-square","pTooltip","Refresh","tooltipPosition","bottom","icon","pi pi-sync",1,"mr-auto",3,"buttonProps","outlined"],["severity","secondary","size","small","styleClass","aspect-square",1,"ml-auto",3,"click","buttonProps","pTooltip","outlined","icon"],[1,"sr-only"],["severity","secondary","size","small","styleClass","aspect-square","pTooltip","Back","tooltipPosition","bottom","icon","pi pi-arrow-left",1,"mr-auto",3,"click","buttonProps","outlined"],["severity","secondary","size","small","styleClass","aspect-square","pTooltip","View in center panel","tooltipPosition","bottom","icon","pi pi-expand",1,"mr-auto",3,"click","buttonProps","outlined"],["appFmDebounceClick","","severity","secondary","size","small","styleClass","aspect-square","pTooltip","Refresh","tooltipPosition","bottom","icon","pi pi-sync",1,"mr-auto",3,"debounceClick","buttonProps","outlined"]],template:function(n,r){n&1&&(a(0,"div",0)(1,"div",1),b(2,gg,3,3,"p-button",2),b(3,bg,3,3,"p-button",3),b(4,vg,3,3,"p-button",4),d(),a(5,"p-button",5),_("click",function(){return r.onTogglePanel()}),a(6,"span",6),S(7,"Toggle right-hand panel"),d()()()),n&2&&(c(2),v(r.showBackButton&&r.panelOpen?2:-1),c(),v(r.sendToMainPanelUrl&&r.panelOpen?3:-1),c(),v(r.showReloadButton&&r.panelOpen?4:-1),c(),m("buttonProps",M(7,qn))("pTooltip",r.panelOpen?"Minimize Panel":"Expand Panel")("outlined",!0)("icon",r.panelOpen?"pi pi-angle-double-right":"pi pi-angle-double-left"))},dependencies:[re,ne,j,Ka,z,G],styles:["/*# sourceMappingURL=right-panel-header.component-7AAX3SXZ.css.map */"]});let o=t;return o}
551)();var _d=(o,t)=>({"bp908:w-[248px]":o,"w-16":t}),Cd=()=>({autofocus:!1});function _g(o,t){o&1&&et(0)}function Cg(o,t){if(o&1&&U(0,_g,1,0,"ng-container",11),o&2){let e=u(2);m("ngComponentOutlet",e.currentContent.component)("ngComponentOutletInputs",e.currentContent.context)}}function yg(o,t){o&1&&h(0,"fm-rp-home",10),o&2&&m("panelOpen",!0)}function Sg(o,t){if(o&1&&(a(0,"div",9),b(1,Cg,1,2,"ng-container")(2,yg,1,1,"fm-rp-home",10),d()),o&2){let e=u();ue(e.contentAnimationClass),c(),v(e.currentContent?1:2)}}function kg(o,t){o&1&&(a(0,"div",5),h(1,"fm-rp-home",10),d()),o&2&&(c(),m("panelOpen",!1))}function wg(o,t){if(o&1){let e=x();a(0,"p-button",12),_("click",function(){C(e);let n=u();return y(n.openHelpFeedbackModal())}),a(1,"div",13),h(2,"fa-icon",14),a(3,"span",15),S(4,"Help and Feedback"),d()()()}if(o&2){let e=u();m("buttonProps",M(3,Cd))("outlined",!0),c(2),m("icon",e.faHandWave)}}function xg(o,t){if(o&1&&h(0,"fa-icon",14),o&2){let e=u(2);m("icon",e.faHandWave)}}function Tg(o,t){if(o&1){let e=x();a(0,"p-button",16),_("click",function(){C(e);let n=u();return y(n.openHelpFeedbackModal())}),U(1,xg,1,1,"ng-template",null,0,ve),a(3,"span",17),S(4,"Help and Feedback"),d()()}o&2&&m("buttonProps",M(2,Cd))("outlined",!0)}var Qn=(()=>{let t=class t{constructor(i,n,r,s,l){this.localStorageAccessService=i,this.contentStackService=n,this.analyticsService=r,this.cdr=s,this.dialogService=l,this.faHandWave=Qi,this.ngUnsubscribe=new X,this.contentAnimationClass="animation-fade-in";let p=this.localStorageAccessService.getItem("dynamicPanel:expanded");this.panelOpen=p==="true"||p==null}ngOnInit(){this.contentStackService.contentStackChanged$.pipe(N(this.ngUnsubscribe)).subscribe(i=>{if(this.currentContent=i.currentContent,this.currentContent&&!this.panelOpen)this.contentAnimationClass="animation-fade-in",this.onPanelToggled(!0);else{this.contentAnimationClass="";let n;i.transition==="push"?n="animation-slide-left-and-fade-in":i.transition==="pop"?n="animation-slide-right-and-fade-in":i.transition==="same"?n="animation-z-bounce":n="animation-fade-in",requestAnimationFrame(()=>{this.contentAnimationClass="",this.cdr.detectChanges(),requestAnimationFrame(()=>{this.contentAnimationClass=n,this.cdr.detectChanges()})})}})}onRefreshSelected(){this.contentStackService.refreshSelected()}onPanelToggled(i=!1){this.panelOpen=!this.panelOpen,this.localStorageAccessService.setItem("dynamicPanel:expanded",this.panelOpen.toString()),this.contentStackService.panelToggled(),this.analyticsService.logDynamicPanelStateChange({state:this.panelOpen?"open":"closed",trigger:i?"contentPush":"user"})}openHelpFeedbackModal(){this.analyticsService.logClickedEvent("Help and Feedback",this.panelOpen?"dynamicPanelHomePanelOpen":"dynamicPanelHomePanelClosed"),this.dialogService.openHelpFeedbackModal()}ngOnDestroy(){this.ngUnsubscribe.next(null),this.ngUnsubscribe.complete()}};t.\u0275fac=function(n){return new(n||t)(f(ot),f(Mo),f(De),f(ho),f(fe))},t.\u0275cmp=T({type:t,selectors:[["fm-right-panel"]],decls:9,vars:17,consts:[["icon",""],[1,"flex","flex-col","h-full","animate-width-snappy","overflow-hidden","bg-p-content-background","rounded-2xl","shadow-p-form-field-shadow","ml-auto","border","border-p-content-border-color",3,"ngClass"],[3,"back","refreshSelected","togglePanel","showBackButton","showReloadButton","sendToMainPanelUrl","panelOpen"],[1,"flex-1","flex","flex-col","w-full",3,"ngClass"],[1,"w-full","basis-0","grow","overflow-hidden","opacity-0",3,"class"],[1,"w-full","flex-1","overflow-hidden","animation-fade-in"],[1,"w-full","p-4","border-t","border-p-content-border-color","flex","justify-center","items-center"],["severity","secondary","styleClass","w-full",1,"w-full",3,"buttonProps","outlined"],["pTooltip","Help and Feedback","tooltipPosition","left","size","small","styleClass","w-8 aspect-square !px-0","severity","secondary",3,"buttonProps","outlined"],[1,"w-full","basis-0","grow","overflow-hidden","opacity-0"],[3,"panelOpen"],[4,"ngComponentOutlet","ngComponentOutletInputs"],["severity","secondary","styleClass","w-full",1,"w-full",3,"click","buttonProps","outlined"],[1,"w-full","flex","items-center","justify-start"],[2,"font-size","14px",3,"icon"],[1,"ml-1","font-semibold"],["pTooltip","Help and Feedback","tooltipPosition","left","size","small","styleClass","w-8 aspect-square !px-0","severity","secondary",3,"click","buttonProps","outlined"],[1,"sr-only"]],template:function(n,r){n&1&&(a(0,"div",1)(1,"fm-right-panel-header",2),ae(2,"async"),_("back",function(){return r.contentStackService.popContent()})("refreshSelected",function(){return r.onRefreshSelected()})("togglePanel",function(){return r.onPanelToggled()}),d(),a(3,"div",3),b(4,Sg,3,3,"div",4)(5,kg,2,1,"div",5),d(),a(6,"div",6),b(7,wg,5,4,"p-button",7)(8,Tg,5,3,"p-button",8),d()()),n&2&&(m("ngClass",Ae(11,_d,r.panelOpen,!r.panelOpen)),Y("aria-expanded",r.panelOpen),c(),m("showBackButton",Ee(2,9,r.contentStackService.currentConstentStackSize$)>0)("showReloadButton",r.currentContent==null?null:r.currentContent.showRefreshButton)("sendToMainPanelUrl",r.currentContent==null?null:r.currentContent.sendToMainPanelUrl)("panelOpen",r.panelOpen),c(2),m("ngClass",Ae(14,_d,r.panelOpen,!r.panelOpen)),c(),v(r.panelOpen?4:5),c(3),v(r.panelOpen?7:8))},dependencies:[O,W,wi,bd,vd,re,ne,z,G,Ve,Z,yt],encapsulation:2});let o=t;return o}
551)();var Eg=o=>({"!border-[3px] !border-blurple-dark":o}),Bg="assets/images/blank_profile.png",yd=(()=>{let t=class t{constructor(i){this.userService=i,this.ngUnsubscribe=new X}onProfileImageFailedToLoad(){this.userAvatar=Bg}ngOnInit(){this.userService.currentUser.pipe(N(this.ngUnsubscribe)).subscribe(i=>{this.userAvatar=i.photo})}ngOnDestroy(){this.ngUnsubscribe.next(null),this.ngUnsubscribe.complete()}};t.\u0275fac=function(n){return new(n||t)(f(L))},t.\u0275cmp=T({type:t,selectors:[["fm-profile-link"]],decls:3,vars:4,consts:[["link","routerLinkActive"],["routerLink","/profile","routerLinkActive","","pTooltip","My Profile","tooltipPosition","right",1,"relative","w-8","h-8","rounded-lg","overflow-hidden"],["alt","Profile Picture",1,"w-full","h-full","rounded-lg","object-cover","border-2","border-transparent","hover:border-blurple",3,"error","src","ngClass"]],template:function(n,r){if(n&1&&(a(0,"a",1,0)(2,"img",2),_("error",function(){return r.onProfileImageFailedToLoad()}),d()()),n&2){let s=oe(1);c(2),m("src",r.userAvatar,bi)("ngClass",$(2,Eg,s.isActive))}},dependencies:[O,W,j,ie,ye,z,G],encapsulation:2});let o=t;return o})();var Sd=o=>({hidden:o}),kd=(()=>{let t=class t{constructor(){this.faCircleQuestion=dl,this.faCircleQuestionSolid=Us,this.isHovered=!1}};t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=T({type:t,selectors:[["fm-help-link"]],decls:4,vars:8,consts:[["link","routerLinkActive"],["routerLink","/help","routerLinkActive","!bg-blurple-dark","pTooltip","Help and Resources","tooltipPosition","right",1,"w-full","flex","flex-col","items-center","justify-center","hover:bg-blurple","rounded-lg",3,"mouseenter","mouseleave"],[1,"text-18","text-white",3,"icon","ngClass"]],template:function(n,r){if(n&1&&(a(0,"a",1,0),_("mouseenter",function(){return r.isHovered=!0})("mouseleave",function(){return r.isHovered=!1}),h(2,"fa-icon",2)(3,"fa-icon",2),d()),n&2){let s=oe(1);c(2),m("icon",r.faCircleQuestion)("ngClass",$(4,Sd,r.isHovered||s.isActive)),c(),m("icon",r.faCircleQuestionSolid)("ngClass",$(6,Sd,!r.isHovered&&!s.isActive))}},dependencies:[Z,j,ie,ye,O,W,z,G],encapsulation:2});let o=t;return o})();var Ig=["referIcon"],wd=o=>({hidden:o}),xd=(()=>{let t=class t{constructor(i){this.confettiService=i,this.emphasizeAnimation=!1,this.faGift=cn,this.faGiftSolid=Ns,this.isHovered=!1}ngOnChanges(){this.emphasizeAnimation&&this.confettiService.leakyConfetti(this.referIcon)}};t.\u0275fac=function(n){return new(n||t)(f(Oa))},t.\u0275cmp=T({type:t,selectors:[["fm-refer-link"]],viewQuery:function(n,r){if(n&1&&Oe(Ig,5),n&2){let s;J(s=ee())&&(r.referIcon=s.first)}},inputs:{emphasizeAnimation:"emphasizeAnimation"},features:[gi],decls:5,vars:10,consts:[["referIcon","","link","routerLinkActive"],["routerLink","/refer","routerLinkActive","!bg-blurple-dark","pTooltip","Refer","tooltipPosition","right",1,"w-full","flex","flex-col","items-center","justify-center","hover:bg-blurple","rounded-lg",3,"mouseenter","mouseleave"],[1,"text-18","text-white",3,"icon","ngClass"]],template:function(n,r){if(n&1&&(a(0,"a",1,0),_("mouseenter",function(){return r.isHovered=!0})("mouseleave",function(){return r.isHovered=!1}),h(3,"fa-icon",2)(4,"fa-icon",2),d()),n&2){let s=oe(2);ki("animation-hi-there",r.emphasizeAnimation),c(3),m("icon",r.faGift)("ngClass",$(6,wd,r.isHovered||s.isActive)),c(),m("icon",r.faGiftSolid)("ngClass",$(8,wd,!r.isHovered&&!s.isActive))}},dependencies:[Z,O,W,j,ie,ye,z,G],encapsulation:2});let o=t;return o})();var Td=o=>({hidden:o}),Md=(()=>{let t=class t{constructor(){this.faGear=un,this.faGearSolid=Vs,this.isHovered=!1}};t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=T({type:t,selectors:[["fm-settings-link"]],decls:4,vars:8,consts:[["link","routerLinkActive"],["routerLink","/settings","routerLinkActive","!bg-blurple-dark","pTooltip","Settings","tooltipPosition","right",1,"w-full","flex","flex-col","items-center","justify-center","hover:bg-blurple","rounded-lg",3,"mouseenter","mouseleave"],[1,"text-18","text-white",3,"icon","ngClass"]],template:function(n,r){if(n&1&&(a(0,"a",1,0),_("mouseenter",function(){return r.isHovered=!0})("mouseleave",function(){return r.isHovered=!1}),h(2,"fa-icon",2)(3,"fa-icon",2),d()),n&2){let s=oe(1);c(2),m("icon",r.faGear)("ngClass",$(4,Td,r.isHovered||s.isActive)),c(),m("icon",r.faGearSolid)("ngClass",$(6,Td,!r.isHovered&&!s.isActive))}},dependencies:[Z,O,W,j,ie,ye,z,G],encapsulation:2});let o=t;return o}
551)();var Ed=o=>({hidden:o}),Bd=(()=>{let t=class t{constructor(){this.faUserGroup=mn,this.faUserGroupSolid=zs,this.isHovered=!1}};t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=T({type:t,selectors:[["fm-people-link"]],decls:4,vars:8,consts:[["link","routerLinkActive"],["routerLink","/people","routerLinkActive","bp908:!bg-blurple-dark",1,"w-full","flex","flex-col","items-center","justify-center","bp908:hover:bg-blurple","rounded-lg","cursor",3,"mouseenter","mouseleave"],[1,"text-18","bp908:text-white","text-color",3,"icon","ngClass"],[1,"text-18","bp908:text-white","text-blurple",3,"icon","ngClass"]],template:function(n,r){if(n&1&&(a(0,"a",1,0),_("mouseenter",function(){return r.isHovered=!0})("mouseleave",function(){return r.isHovered=!1}),h(2,"fa-icon",2)(3,"fa-icon",3),d()),n&2){let s=oe(1);c(2),m("icon",r.faUserGroup)("ngClass",$(4,Ed,r.isHovered||s.isActive)),c(),m("icon",r.faUserGroupSolid)("ngClass",$(6,Ed,!r.isHovered&&!s.isActive))}},dependencies:[Z,j,ie,ye,O,W,z],encapsulation:2});let o=t;return o})();var Id=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=T({type:t,selectors:[["fm-logo-link"]],decls:2,vars:1,consts:[["routerLink","/dashboard",1,"relative","w-8","h-8","rounded-lg","p-1.5","overflow-hidden","bg-blurple-dark"],["alt","Focusmate Logo",1,"w-full","h-full",3,"src"]],template:function(n,r){n&1&&(a(0,"a",0),h(1,"img",1),d()),n&2&&(c(),m("src","../../../../assets/images/logo.svg",bi))},dependencies:[j,ie],encapsulation:2});let o=t;return o})();var Ag=(o,t)=>({"bg-p-content-background":o,"!bg-primary-50 dark:!bg-primary":t}),Dg=o=>({"bp908:!bg-blurple-dark":o}),Ad=o=>({"!text-white":o});function Rg(o,t){if(o&1&&h(0,"fa-icon",4),o&2){let e=u(2);m("icon",e.faHome)}}function Fg(o,t){if(o&1&&h(0,"fa-icon",5),o&2){let e=u(2);m("icon",e.faHomeSolid)}}function Pg(o,t){if(o&1){let e=x();a(0,"a",3,0),_("mouseenter",function(){C(e);let n=u();return y(n.onMouseEnter())})("mouseleave",function(){C(e);let n=u();return y(n.onMouseLeave())})("click",function(){C(e);let n=u();return y(n.menuDrawerStateService.close())}),b(2,Rg,1,1,"fa-icon",4)(3,Fg,1,1,"fa-icon",5),d()}if(o&2){let e=oe(1),i=u();m("ngClass",Ae(3,Ag,i.menuDrawerStateService.visible(),e.isActive&&!i.menuDrawerStateService.visible()))("tooltipPosition","top"),c(2),v(i.menuDrawerStateService.visible()||!e.isActive?2:3)}}function Ng(o,t){if(o&1&&h(0,"fa-icon",7),o&2){u();let e=oe(1),i=u();m("icon",i.faHome)("ngClass",$(2,Ad,e.isActive))}}function Lg(o,t){if(o&1&&h(0,"fa-icon",7),o&2){u();let e=oe(1),i=u();m("icon",i.faHomeSolid)("ngClass",$(2,Ad,e.isActive))}}function Og(o,t){if(o&1){let e=x();a(0,"a",6,0),_("mouseenter",function(){C(e);let n=u();return y(n.onMouseEnter())})("mouseleave",function(){C(e);let n=u();return y(n.onMouseLeave())}),b(2,Ng,1,4,"fa-icon",7)(3,Lg,1,4,"fa-icon",7),d()}if(o&2){let e=oe(1),i=u();m("ngClass",$(3,Dg,e.isActive))("tooltipPosition","right"),c(2),v(!i.isHovered&&!e.isActive?2:3)}}var Dd=(()=>{let t=class t{constructor(i,n){this.menuDrawerStateService=i,this.viewportService=n,this.faHome=ml,this.faHomeSolid=Hs,this.isHovered=!1}onMouseEnter(){"ontouchstart"in window||(this.isHovered=!0)}onMouseLeave(){"ontouchstart"in window||(this.isHovered=!1)}};t.\u0275fac=function(n){return new(n||t)(f(Et),f(ke))},t.\u0275cmp=T({type:t,selectors:[["fm-home-link"]],decls:2,vars:1,consts:[["link","routerLinkActive"],["routerLink","/dashboard","routerLinkActive","","pTooltip","Home",1,"w-full","flex","flex-col","items-center","justify-center","rounded-lg","cursor-pointer","hover:bg-p-content-hover-background",3,"ngClass","tooltipPosition"],["routerLink","/dashboard","routerLinkActive","","pTooltip","Home",1,"w-full","flex","flex-col","items-center","justify-center","rounded-lg","cursor-pointer","hover:bg-p-content-hover-background","bp908:hover:bg-blurple",3,"ngClass","tooltipPosition"],["routerLink","/dashboard","routerLinkActive","","pTooltip","Home",1,"w-full","flex","flex-col","items-center","justify-center","rounded-lg","cursor-pointer","hover:bg-p-content-hover-background",3,"mouseenter","mouseleave","click","ngClass","tooltipPosition"],[1,"text-[20px]","text-color",3,"icon"],[1,"text-[20px]","text-primary","dark:text-white",3,"icon"],["routerLink","/dashboard","routerLinkActive","","pTooltip","Home",1,"w-full","flex","flex-col","items-center","justify-center","rounded-lg","cursor-pointer","hover:bg-p-content-hover-background","bp908:hover:bg-blurple",3,"mouseenter","mouseleave","ngClass","tooltipPosition"],[1,"text-18","text-color","bp908:text-white",3,"icon","ngClass"]],template:function(n,r){n&1&&b(0,Pg,4,6,"a",1)(1,Og,4,5,"a",2),n&2&&v(r.viewportService.isMobile()?0:1)},dependencies:[Z,j,ie,ye,O,W,z,G],encapsulation:2});let o=t;return o}
551)();var at=()=>({autofocus:!1}),Vg=()=>({source:"mobileMenu"}),Ug=()=>({"bg-[length:250px] bg-repeat":!0});function zg(o,t){if(o&1&&h(0,"fm-ambassador-sessions-badge",34),o&2){let e=u(3);m("ambassadorSessionsAttended",e.currentUser.ambassadorSessionsAttended)}}function Hg(o,t){if(o&1&&(a(0,"div",30),b(1,zg,1,1,"fm-ambassador-sessions-badge",34),h(2,"fm-host-badge",35),d()),o&2){let e=u(2);c(),v(e.currentUser.ambassadorSessionsAttended>0?1:-1),c(),m("isHost",!!e.currentUser.isHost)("groupSessionsHosted",e.currentUser.groupSessionsHosted??0)("viewingSelf",!0)}}function jg(o,t){if(o&1&&(a(0,"div",36),S(1),d()),o&2){let e=u(3);c(),me(" ",e.trialDaysRemaining," days left in trial ")}}function Wg(o,t){o&1&&(a(0,"p-message",32),U(1,jg,2,1,"ng-template",null,0,ve),d())}function Gg(o,t){if(o&1){let e=x();a(0,"p-button",37),_("click",function(){C(e);let n=u(2);return y(n.onClickMenuItem())}),d()}o&2&&m("state",M(2,Vg))("buttonProps",M(3,at))}function qg(o,t){if(o&1){let e=x();a(0,"div",3)(1,"div",24),h(2,"fm-avatar",25),a(3,"p-button",26),_("click",function(){C(e);let n=u();return y(n.onClickMenuItem())}),d()(),a(4,"div",27)(5,"div",28),h(6,"fm-home-welcome-message"),S(7,","),h(8,"br"),S(9),d(),a(10,"div",29),S(11),d(),b(12,Hg,3,4,"div",30),a(13,"div",31),S(14),d(),b(15,Wg,3,0,"p-message",32),d(),b(16,Gg,1,4,"p-button",33),d()}if(o&2){let e=u();c(2),m("sizePx",48)("avatarLocation",e.currentUser.photo),c(),m("buttonProps",M(10,at)),c(6),me("",e.currentUser.firstName,"!"),c(2),Ht(" ",e.currentUser.compSessions.toLocaleString("en-US")," ",e.currentUser.compSessions>1||e.currentUser.compSessions==0?"sessions":"session"," "),c(),v(e.currentUser.ambassadorSessionsAttended>0||e.currentUser.isHost&&e.featureCheckService.groupMeetingsEnabledSig()?12:-1),c(2),me(" ",e.planNameString," "),c(),v(e.trialDaysRemaining&&e.trialDaysRemaining>0?15:-1),c(),v(e.showUpgradeButton?16:-1)}}function Qg(o,t){if(o&1){let e=x();a(0,"div",38),_("click",function(){C(e);let n=u();return y(n.onClickYearInFocus())}),a(1,"div",39),h(2,"img",40),d(),a(3,"div",41),S(4,"Year in Focus"),d()()}o&2&&(c(),m("ngClass",M(1,Ug)))}function Yg(o,t){if(o&1){let e=x();a(0,"p-button",42),_("click",function(){C(e);let n=u();return y(n.onClickMenuItem())}),a(1,"div",10)(2,"div",43),h(3,"i",44),a(4,"span",45),S(5,"Task Manager"),d(),h(6,"p-tag",46),d(),a(7,"div",13),h(8,"i",14),d()()()}o&2&&m("buttonProps",M(1,at))}function $g(o,t){if(o&1){let e=x();a(0,"p-button",16),_("click",function(){C(e);let n=u();return y(n.onClickGroupSessions())}),a(1,"div",10)(2,"div",43),h(3,"fm-icon",47),a(4,"span",45),S(5,"Group Sessions"),d(),h(6,"p-tag",46),d(),a(7,"div",13),h(8,"i",14),d()()()}o&2&&m("buttonProps",M(1,at))}function Kg(o,t){if(o&1){let e=x();a(0,"p-button",48),_("click",function(){C(e);let n=u();return y(n.onClickMenuItem())}),a(1,"div",10)(2,"div"),h(3,"fa-icon",11),a(4,"span",12),S(5,"Group Management"),d()()(),a(6,"div",13),h(7,"i",14),d()()}if(o&2){let e=u();m("buttonProps",M(2,at)),c(3),m("icon",e.faUsersMedical)}}function Zg(o,t){if(o&1){let e=x();a(0,"p-button",49),_("click",function(){C(e);let n=u();return y(n.onClickMenuItem())}),a(1,"div",10)(2,"div"),h(3,"fa-icon",11),a(4,"span",12),S(5,"Admin Console"),d()()(),a(6,"div",13),h(7,"i",14),d()()}if(o&2){let e=u();m("buttonProps",M(2,at)),c(3),m("icon",e.faAdminIcon)}}function Xg(o,t){o&1&&h(0,"div",22)}var Rd=(()=>{let t=class t{constructor(i,n,r,s,l,p,g,k,w){this.analyticsService=i,this.authService=n,this.userService=r,this.dialogService=s,this.router=l,this.upcomingSessionsService=p,this.rewardsReferralService=g,this.welcomeChecklistService=k,this.featureCheckService=w,this.menuItemClicked=new be,this.currentUser=new Ai,this.planNameString="",this.trialDaysRemaining=null,this.hasYearlyReview=!1,this.faHandWave=Qi,this.faUserGroup=mn,this.faGear=un,this.faGift=cn,this.faVideo=cl,this.faUsersMedical=pn,this.faAdminIcon=Go,this.ngUnsubscribe=new X}ngOnInit(){this.userService.currentUser.pipe(N(this.ngUnsubscribe)).subscribe(i=>{this.currentUser=he({},i),this.hasYearlyReview=!!this.currentUser?.yearlyReview,this.currentUser.genderSelection&2?this.faAdminIcon=dn:this.faAdminIcon=Go,this.setPlanNameSInfo(),this.isFmAdmin=this.currentUser.fmAd,this.isGroupAdmin=this.currentUser.group.some(n=>n.groupAdmin===!0)})}setPlanNameSInfo(){this.currentUser.planInfo.productAccess=="Focusmate Free"?(this.showUpgradeButton=!0,this.planNameString="Free Plan \xB7 3 sessions per week"):(this.showUpgradeButton=!1,this.planNameString=this.currentUser.planInfo.productAccess),this.trialDaysRemaining=this.rewardsReferralService.getTr
551ialDaysRemaining(this.currentUser)}onClickLogOut(){this.analyticsService.logClickedEvent("Sign Out","mobileMenu"),this.authService.signOut("mobileMenu")}onClickMenuItem(){this.menuItemClicked.emit()}onClickYearInFocus(){this.analyticsService.logClickedEvent("Year in Focus","Mobile Menu"),this.dialogService.openYearInReviewModal()}onClickGroupSessions(){this.isGroupMeetingsEnabled()&&(this.analyticsService.logGroupMeetingClick("openGroupMeetings","mobileMenu"),this.router.navigate(["/group-meetings"]),this.onClickMenuItem())}isGroupMeetingsEnabled(){return this.featureCheckService.isGroupMeetingsEnabled(this.currentUser)}isTaskManagerEnabled(){return this.featureCheckService.isTaskManagerEnabled(this.currentUser)}openHelpFeedbackModal(){this.analyticsService.logClickedEvent("Help and Feedback","mobileMenu"),this.dialogService.openHelpFeedbackModal(),this.onClickMenuItem()}};t.\u0275fac=function(n){return new(n||t)(f(De),f(To),f(L),f(fe),f(pe),f(Yt),f(kt),f(Ge),f(Fe))},t.\u0275cmp=T({type:t,selectors:[["fm-mobile-menu"]],outputs:{menuItemClicked:"menuItemClicked"},decls:53,vars:25,consts:[["container",""],[1,"!z-[900]","flex","flex-col","h-dvh","font-inter","bg-p-content-background","px-4","pt-4","pb-2"],[1,"flex","items-center","justify-between","p-4","pt-0","shrink-0"],[1,"flex","flex-col","items-start","justify-start","w-full","gap-2"],[1,"w-full","border-b","border-latte","my-4"],[1,"relative","flex","flex-row","items-center","justify-center","p-[12px]","w-full","bg-[#F8E2E2]","rounded-2xl","cursor-pointer","shadow-p-form-field-shadow","overflow-hidden","border-[2px]","border-blurple-2","mb-4"],[1,"w-full","flex","flex-col","overflow-y-auto","gap-4"],["severity","secondary","routerLink","/tasks","styleClass","w-full",1,"w-full",3,"buttonProps"],["severity","secondary","styleClass","w-full",1,"w-full",3,"buttonProps"],["routerLink","/people","severity","secondary","styleClass","w-full",1,"w-full",3,"click","buttonProps"],[1,"w-full","flex","items-center","justify-between"],[2,"font-size","14px",3,"icon"],[1,"ml-2","font-medium"],[1,"flex","items-center","justify-center"],[1,"pi","pi-chevron-right",2,"font-size","14px"],["routerLink","/settings","severity","secondary","styleClass","w-full",1,"w-full",3,"click","buttonProps"],["severity","secondary","styleClass","w-full",1,"w-full",3,"click","buttonProps"],["routerLink","/refer","severity","secondary","styleClass","w-full",1,"w-full",3,"click","buttonProps"],["routerLink","/group-management","severity","secondary","styleClass","w-full",1,"w-full",3,"buttonProps"],["routerLink","/admin","severity","secondary","styleClass","w-full",1,"w-full",3,"buttonProps"],["severity","secondary","styleClass","w-full",1,"w-full",3,"click","buttonProps","routerLink"],["styleClass","w-full !justify-start","severity","secondary","label","Sign out","icon","pi pi-sign-out",1,"w-full",3,"click","buttonProps"],[1,"h-12","min-h-12"],[1,"h-[53px]","min-h-[53px]"],[1,"w-full","flex","flex-row","justify-between","items-start"],[3,"sizePx","avatarLocation"],["routerLink","/profile","size","small","severity","secondary","styleClass","aspect-square","icon","pi pi-id-card",1,"flex",3,"click","buttonProps"],[1,"flex","flex-col","items-start","justify-start","w-full","gap-1"],[1,"w-full","text-left","text-base","leading-normal","font-semibold","text-color","wrap-double-line-el"],[1,"text-12","leading-[normal]","text-muted-color","font-light","max-h-[18px]"],[1,"flex","flex-row","items-center","gap-2"],[1,"text-12","leading-[normal]","text-muted-color","font-light"],["severity","warn","variant","text","styleClass","w-full !rounded-lg"],["routerLink","/upgrade","severity","primary","label","Upgrade to Plus","size","small",3,"state","buttonProps"],["size","small",3,"ambassadorSessionsAttended"],["size","small",3,"isHost","groupSessionsHosted","viewingSelf"],[1,"w-full","flex","items-center","justify-center","font-semibold","text-[12px]"],["routerLink","/upgrade","severity","primary","label","Upgrade to Plus","size","small",3,"click","state","buttonProps"],[1,"relative","flex","flex-row","items-center","justify-center","p-[12px]","w-full","bg-[#F8E2E2]","rounded-2xl","cursor-pointer","shadow-p-form-field-shadow","overflow-hidden","border-[2px]","border-blurple-2","mb-4",3,"click"],[1,"absolute","bg-confetti-blue-pattern","bg-center","w-full","h-full",3,"ngClass"],["src","/assets/images/year-in-review/computer.webp",1,"absolute","left-0","h-[150%]","translate-y-[-25%]"],[1,"z-[1]","w-full","text-center","text-primary","font-semibold","text-lg","leading-5"],["severity","secondary","routerLink","/tasks","styleClass","w-full",1,"w-full",3,"click","buttonProps"],[1,"flex","items-center","gap-1.5"],[1,"pi","pi-check-square",2,"font-size","14px"],[1,"font-medium"],["styleClass","!text-10 !leading-[normal] !rounded-md !font-medium !px-1.5 !py-0.5","severity","info","value","Labs"],["name","flower","size","14px"],["routerLink","/group-management","severity","secondary","styleClass","w-full",1,"w-full",3,"click","buttonProps"],["routerLink","/admin","severity","secondary","styleClass","w-full",1,"w-full",3,"click","buttonProps"]],template:function(n,r){n&1&&(a(0,"div",1)(1,"div",2),b(2,qg,17,11,"div",3),d(),h(3,"div",4),b(4,Qg,5,2,"div",5),a(5,"div",6),b(6,Yg,9,2,"p-button",7),b(7,$g,9,2,"p-button",8),a(8,"p-button",9),_("click",function(){return r.onClickMenuItem()}),a(9,"div",10)(10,"div"),h(11,"fa-icon",11),a(12,"span",12),S(13,"People"),d()()(),a(14,"div",13),h(15,"i",14),d()(),a(16,"p-button",15),_("click",function(){return r.onClickMenuItem()}),a(17,"div",10)(18,"div"),h(19,"fa-icon",11),a(20,"span",12),S(21,"Settings"),d()()(),a(22,"div",13),h(23,"i",14),d()(),a(24,"p-button",16),_("click",function(){return r.openHelpFeedbackModal()}),a(25,"div",10)(26,"div"),h(27,"fa-icon",11),a(28,"span",12),S(29,"Help and Feedback"),d()()(),a(30,"div",13),h(31,"i",14),d()(),a(32,"p-button",17),_("click",function(){return r.onClickMenuItem()}),a(33,"div",10)(34,"div"),h(35,"fa-icon",11),a(36,"span",12),S(37,"Refer"),d()()(),a(38,"div",13),h(39,"i",14),d()(),b(40,Kg,8,3,"p-button",18),b(41,Zg,8,3,"p-button",19),a(42,"p-button",20),_("click",function(){return r.onClickMenuItem()}),a(43,"div",10)(44,"div"),h(45,"fa-icon",11),a(46,"span",12),S(47,"Test Audio and Video"),d()()(),a(48,"div",13),h(49,"i",14),d()(),a(50,"p-button",21),_("click",function(){return r.onClickMenuItem()})("click",function(){return r.onClickLogOut()}),d(),b(51,Xg,1,0,"div",22),h(52,"div",23),d()()),n&2&&(c(2),v(r.currentUser.userId?2:-1),c(2),v(!r.welcomeChecklistService.isWelcomeChecklistActive()&&r.hasYearlyReview?4:-1),c(2),v(r.isTaskManagerEnabled()?6:-1),c(),v(r.isGroupMeetingsEnabled()?7:-1),c(),m("buttonProps",M(19,at)),c(3),m("icon",r.faUserGroup),c(5),m("buttonProps",M(20,at)),c(3),m("icon",r.faGear),c(5),m("buttonProps",M(21,at)),c(3),m("icon",r.faHandWave),c(5),m("buttonProps",M(22,at)),c(3),m("icon",r.faGift),c(5),v(r.isFmAdmin||r.isGroupAdmin?40:-1),c(),v(r.isFmAdmin?41:-1),c(),m("buttonProps",M(23,at))("routerLink","/se
551ssion/"+r.currentUser.userId),c(3),m("icon",r.faVideo),c(5),m("buttonProps",M(24,at)),c(),v(r.upcomingSessionsService.visible()?51:-1))},dependencies:[O,W,Ve,Z,j,ie,Ji,Gn,re,ne,tn,en,an,sn,on,nn,ln],encapsulation:2,changeDetection:0});let o=t;return o})();var Jg=o=>({"!bg-primary-50 dark:!bg-primary":o});function eb(o,t){if(o&1&&h(0,"fa-icon",2),o&2){let e=u();m("icon",e.faBarsSolid)}}function tb(o,t){if(o&1&&h(0,"fa-icon",3),o&2){let e=u();m("icon",e.faBars)}}function ob(o,t){if(o&1){let e=x();a(0,"fm-mobile-menu",5),_("menuItemClicked",function(){C(e);let n=u();return y(n.onMenuItemClicked())}),d()}}var Fd=(()=>{let t=class t{constructor(i,n,r){this.menuDrawerStateService=i,this.userService=n,this.viewportService=r,this.faBars=fl,this.faBarsSolid=Ks,this.isHovered=!1}ngOnInit(){}onMenuItemClicked(){this.menuDrawerStateService.close()}onClickToggleMenu(){this.menuDrawerStateService.toggle()}onMouseEnter(){"ontouchstart"in window||(this.isHovered=!0)}onMouseLeave(){"ontouchstart"in window||(this.isHovered=!1)}ngOnDestroy(){}};t.\u0275fac=function(n){return new(n||t)(f(Et),f(L),f(ke))},t.\u0275cmp=T({type:t,selectors:[["fm-menu-link"]],decls:6,vars:8,consts:[["headless",""],["pTooltip","Menu","tooltipPosition","top",1,"!z-[950]","w-full","flex","flex-col","items-center","justify-center","rounded-lg","cursor-pointer","hover:bg-p-content-hover-background",3,"click","mouseenter","mouseleave","ngClass"],[1,"text-[20px]","text-primary","dark:text-white",3,"icon"],[1,"text-[20px]","text-color",3,"icon"],["position","full","maskStyle","background-color:transparent !important","styleClass","!z-[900]",1,"h-full","!z-[900]",3,"visible","modal","dismissible","autoZIndex"],[1,"!z-[900]",3,"menuItemClicked"]],template:function(n,r){n&1&&(a(0,"a",1),_("click",function(){return r.onClickToggleMenu()})("mouseenter",function(){return r.onMouseEnter()})("mouseleave",function(){return r.onMouseLeave()}),b(1,eb,1,1,"fa-icon",2)(2,tb,1,1,"fa-icon",3),d(),a(3,"p-drawer",4),U(4,ob,1,0,"ng-template",null,0,ve),d()),n&2&&(m("ngClass",$(6,Jg,r.menuDrawerStateService.visible())),c(),v(r.menuDrawerStateService.visible()?1:2),c(2),m("visible",r.menuDrawerStateService.visible())("modal",!0)("dismissible",!0)("autoZIndex",!1))},dependencies:[Rd,j,O,W,z,G,re,Ve,Z,Un,ti],encapsulation:2});let o=t;return o})();var ib=(o,t)=>({"bg-p-content-background":o,"!bg-primary-50 dark:!bg-primary ":t});function nb(o,t){if(o&1&&h(0,"fa-icon",2),o&2){let e=u();m("icon",e.faStar)}}function rb(o,t){if(o&1&&h(0,"fa-icon",3),o&2){let e=u();m("icon",e.faStarSolid)}}var Pd=(()=>{let t=class t{constructor(i,n){this.menuDrawerStateService=i,this.viewportService=n,this.faStar=pl,this.faStarSolid=_o,this.isHovered=!1}onMouseEnter(){"ontouchstart"in window||(this.isHovered=!0)}onMouseLeave(){"ontouchstart"in window||(this.isHovered=!1)}};t.\u0275fac=function(n){return new(n||t)(f(Et),f(ke))},t.\u0275cmp=T({type:t,selectors:[["fm-favorites-link"]],decls:4,vars:6,consts:[["link","routerLinkActive"],["routerLink","/availability/favorites","routerLinkActive","","pTooltip","Favorites Schedule",1,"w-full","flex","flex-col","items-center","justify-center","rounded-lg","cursor","hover:bg-p-content-hover-background",3,"mouseenter","mouseleave","click","ngClass","tooltipPosition"],[1,"text-[20px]","text-color",3,"icon"],[1,"text-[20px]","text-primary","dark:text-white",3,"icon"]],template:function(n,r){if(n&1&&(a(0,"a",1,0),_("mouseenter",function(){return r.onMouseEnter()})("mouseleave",function(){return r.onMouseLeave()})("click",function(){return r.menuDrawerStateService.close()}),b(2,nb,1,1,"fa-icon",2)(3,rb,1,1,"fa-icon",3),d()),n&2){let s=oe(1);m("ngClass",Ae(3,ib,r.menuDrawerStateService.visible(),s.isActive&&!r.menuDrawerStateService.visible()))("tooltipPosition",r.viewportService.isMobile()?"top":"right"),c(2),v(r.menuDrawerStateService.visible()||!s.isActive?2:3)}},dependencies:[Z,O,W,j,ie,ye,z,G],encapsulation:2});let o=t;return o})();var sb=(o,t)=>({"bg-p-content-background":o,"!bg-primary-50 dark:!bg-primary":t});function ab(o,t){if(o&1&&h(0,"fa-icon",2),o&2){let e=u();m("icon",e.faCalendar)}}function lb(o,t){if(o&1&&h(0,"fa-icon",3),o&2){let e=u();m("icon",e.faCalendarSolid)}}var Nd=(()=>{let t=class t{constructor(i){this.menuDrawerStateService=i,this.faCalendar=ul,this.faCalendarSolid=Pi,this.isHovered=!1}onMouseEnter(){"ontouchstart"in window||(this.isHovered=!0)}onMouseLeave(){"ontouchstart"in window||(this.isHovered=!1)}};t.\u0275fac=function(n){return new(n||t)(f(Et))},t.\u0275cmp=T({type:t,selectors:[["fm-schedule-link"]],decls:4,vars:5,consts:[["link","routerLinkActive"],["routerLink","/se
551ssions","routerLinkActive","","pTooltip","My Schedule","tooltipPosition","top",1,"w-full","flex","flex-col","items-center","justify-center","rounded-lg","cursor","hover:bg-p-content-hover-background",3,"mouseenter","mouseleave","click","ngClass"],[1,"text-[20px]","text-color",3,"icon"],[1,"text-[20px]","text-primary","dark:text-white",3,"icon"]],template:function(n,r){if(n&1&&(a(0,"a",1,0),_("mouseenter",function(){return r.onMouseEnter()})("mouseleave",function(){return r.onMouseLeave()})("click",function(){return r.menuDrawerStateService.close()}),b(2,ab,1,1,"fa-icon",2)(3,lb,1,1,"fa-icon",3),d()),n&2){let s=oe(1);m("ngClass",Ae(2,sb,r.menuDrawerStateService.visible(),s.isActive&&!r.menuDrawerStateService.visible())),c(2),v(r.menuDrawerStateService.visible()||!s.isActive?2:3)}},dependencies:[Z,O,W,j,ie,ye,z,G],encapsulation:2,changeDetection:0});let o=t;return o})();function cb(o,t){if(o&1&&h(0,"fa-icon",2),o&2){let e=u();m("icon",e.faUsersMedical)}}function db(o,t){if(o&1&&h(0,"fa-icon",3),o&2){let e=u();m("icon",e.faUsersMedicalSolid)}}var Ld=(()=>{let t=class t{constructor(){this.faUsersMedical=pn,this.faUsersMedicalSolid=$s,this.isHovered=!1}};t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=T({type:t,selectors:[["fm-groups-link"]],decls:4,vars:1,consts:[["link","routerLinkActive"],["routerLink","/group-management","routerLinkActive","bg-primary-50 bp908:!bg-blurple-dark","pTooltip","Group Management","tooltipPosition","right",1,"w-full","flex","flex-col","items-center","justify-center","rounded-lg","cursor","bp908:hover:bg-blurple","active:bg-[#F9F5F0]","bp908:active:bg-blurple",3,"mouseenter","mouseleave"],[1,"text-18","bp908:text-white","text-color",3,"icon"],[1,"text-18","bp908:text-white","text-blurple",3,"icon"]],template:function(n,r){if(n&1&&(a(0,"a",1,0),_("mouseenter",function(){return r.isHovered=!0})("mouseleave",function(){return r.isHovered=!1}),b(2,cb,1,1,"fa-icon",2)(3,db,1,1,"fa-icon",3),d()),n&2){let s=oe(1);c(2),v(!r.isHovered&&!s.isActive?2:3)}},dependencies:[Z,j,ie,ye,z,G],encapsulation:2});let o=t;return o})();function ub(o,t){if(o&1&&h(0,"fa-icon",2),o&2){let e=u();m("icon",e.groupIcon)}}function mb(o,t){if(o&1&&h(0,"fa-icon",3),o&2){let e=u();m("icon",e.groupIconSolid)}}var Od=(()=>{let t=class t{constructor(){this.groupIcon=Go,this.groupIconSolid=Gs,this.isHovered=!1}ngOnInit(){this.gender&2&&(this.groupIcon=dn,this.groupIconSolid=Os)}};t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=T({type:t,selectors:[["fm-admin-link"]],inputs:{gender:"gender"},decls:4,vars:1,consts:[["link","routerLinkActive"],["routerLink","/admin","routerLinkActive","bg-primary-50 bp908:!bg-blurple-dark","pTooltip","Admin Console","tooltipPosition","right",1,"w-full","flex","flex-col","items-center","justify-center","rounded-lg","cursor","bp908:hover:bg-blurple","active:bg-[#F9F5F0]","bp908:active:bg-blurple",3,"mouseenter","mouseleave"],[1,"text-18","bp908:text-white","text-color",3,"icon"],[1,"text-18","bp908:text-white","text-blurple",3,"icon"]],template:function(n,r){if(n&1&&(a(0,"a",1,0),_("mouseenter",function(){return r.isHovered=!0})("mouseleave",function(){return r.isHovered=!1}),b(2,ub,1,1,"fa-icon",2)(3,mb,1,1,"fa-icon",3),d()),n&2){let s=oe(1);c(2),v(!r.isHovered&&!s.isActive?2:3)}},dependencies:[Z,j,ie,ye,z,G],encapsulation:2});let o=t;return o})();function pb(o,t){o&1&&h(0,"fm-groups-link",5)}function fb(o,t){if(o&1&&h(0,"fm-admin-link",8),o&2){let e=u(2);m("gender",e.gender)}}function hb(o,t){if(o&1&&(a(0,"div",2),h(1,"fm-logo-link",3),d(),a(2,"div",4),h(3,"fm-home-link",5)(4,"fm-people-link",6)(5,"fm-refer-link",7)(6,"fm-settings-link",5)(7,"fm-help-link",5),b(8,pb,1,0,"fm-groups-link",5),b(9,fb,1,1,"fm-admin-link",8),h(10,"fm-profile-link",5),d()),o&2){let e=u();c(5),m("emphasizeAnimation",e.emphasizeReferIcon),c(3),v(e.isFmAdmin||e.isGroupAdmin?8:-1),c(),v(e.isFmAdmin?9:-1)}}function gb(o,t){o&1&&(a(0,"div",1),h(1,"fm-home-link",9)(2,"fm-schedule-link",9)(3,"fm-favorites-link",9)(4,"fm-menu-link",9),d())}var Yn=(()=>{let t=class t{constructor(i,n,r){this.viewportService=i,this.userService=n,this.rewardsReferralService=r,this.ngUnsubscribe=new X,this.emphasizeReferIcon=!1}ngOnInit(){this.userService.currentUser.pipe(N(this.ngUnsubscribe)).subscribe(i=>{this.isFmAdmin=i.fmAd,this.isGroupAdmin=i.group.some(n=>
551n.groupAdmin===!0),this.gender=i.genderSelection}),this.rewardsReferralService.emphasizeReferIconSubject.pipe(N(this.ngUnsubscribe)).subscribe(i=>{i&&(this.emphasizeReferIcon=!0)})}ngOnDestroy(){this.ngUnsubscribe.next(null),this.ngUnsubscribe.complete()}};t.\u0275fac=function(n){return new(n||t)(f(ke),f(L),f(kt))},t.\u0275cmp=T({type:t,selectors:[["fm-navigation"]],decls:3,vars:1,consts:[[1,"!z-[950]","h-[53px]","border-t","border-p-content-border-color","bp908:border-t-0","bp908:h-full","w-full","flex","flex-row","bp908:flex-col","items-center","justify-between","bp908:px-3","px-4","bp908:pt-4","bp908:pb-6","bp908:bg-primary","bg-p-content-background","touch-none"],[1,"flex","flex-row","items-center","justify-around","w-full","gap-1","!z-[950]"],[1,"hidden","bp908:flex","flex-col","items-center","justify-center"],[1,"hidden","bp908:flex","flex","w-8","h-8"],[1,"hidden","bp908:flex","flex-col","items-center","justify-end","gap-3"],[1,"flex","w-8","h-8"],["pTooltip","People","tooltipPosition","right",1,"flex","w-8","h-8"],[1,"flex","w-8","h-8",3,"emphasizeAnimation"],[1,"flex","w-8","h-8",3,"gender"],[1,"flex","flex-1","h-9","!z-[950]"]],template:function(n,r){n&1&&(a(0,"div",0),b(1,hb,11,3)(2,gb,5,0,"div",1),d()),n&2&&(c(),v(r.viewportService.isMobile()?2:1))},dependencies:[Od,Ld,Nd,Pd,We,ja,Fd,Dd,z,G,Id,yd,Bd,kd,xd,Md],encapsulation:2});let o=t;return o})();var Vo=Zn(ir());function Cb(o,t){o&1&&h(0,"fm-update-address-banner",0)}function yb(o,t){o&1&&h(0,"fm-maintenance-banner",1)}function Sb(o,t){o&1&&h(0,"fm-group-meeting-beta-launch-host-announcement-banner")}function kb(o,t){o&1&&h(0,"fm-group-meeting-beta-live-host-announcement-banner")}function wb(o,t){if(o&1){let e=x();a(0,"fm-group-meeting-host-beta-banner",4),_("dismissBanner",function(){C(e);let n=u();return y(n.dismissGroupMeetingsHostBetaBanner())}),d()}}function xb(o,t){if(o&1){let e=x();a(0,"fm-host-recruitment-banner",4),_("dismissBanner",function(){C(e);let n=u();return y(n.dismissHostRecruitmentBanner())}),d()}}function Tb(o,t){if(o&1&&(h(0,"fm-system-banner",2),ae(1,"async")),o&2){let e=u();m("banner",Ee(1,1,e.systemBannerService.bannerSubject))}}function Mb(o,t){o&1&&h(0,"fm-time-sync-banner")}function Eb(o,t){if(o&1){let e=x();a(0,"fm-email-verification-banner",5),ae(1,"async"),ae(2,"async"),_("openVerification",function(){C(e);let n=u();return y(n.launchVerify())})("resendVerification",function(){C(e);let n=u();return y(n.sendEmailVerification())}),d()}if(o&2){let e=u();m("email",Ee(1,2,e.userService.currentUser).email)("isSent",Ee(2,4,e.userService.sentEmailVerification))}}function Bb(o,t){if(o&1){let e=x();a(0,"fm-suspended-banner",6),_("openSuspension",function(){C(e);let n=u();return y(n.launchSuspended())}),d()}}var Vd=[2026,7,10,9],Ud="Europe/Berlin",Ib=[2026,7,14],$n=(()=>{let t=class t{constructor(i,n,r,s,l,p){this.serverTimeService=i,this.dialogService=n,this.featureCheckService=r,this.localStorageAccessService=s,this.systemBannerService=l,this.userService=p,this.showMaintenanceBanner=!1,this.hostRecruitmentBannerDismissed=He(this.localStorageAccessService.getItem(nr)==="true"),this.hostRecruitmentModalViewed=this.localStorageAccessService.getItem(Ds)==="true",this.groupMeetingsHostBetaBannerDismissed=He(!1),this.groupMeetingsBetaAnnouncementCurrentTimeMs=ks(Kr(zo(window,"focus"),zo(document,"visibilitychange").pipe(zt(()=>document.visibilityState==="visible"))).pipe(co(()=>Date.now())),{initialValue:Date.now()}),this.showHostRecruitmentBanner=_e(()=>{let g=this.userService.currentUserSig();return!!g?.userId&&this.featureCheckService.isHostRecruitmentEnabled(g)&&!this.featureCheckService.groupMeetingsCreateEnabledSig()&&this.hostRecruitmentModalViewed&&!this.hostRecruitmentBannerDismissed()}),this.showGroupMeetingsHostBetaBanner=_e(()=>{let g=this.userService.currentUserSig();return!!g?.userId&&this.featureCheckService.groupMeetingsCreateEnabledSig()&&this.featureCheckService.hasViewedGroupMeetingsHostBetaModal(g)&&!this.featureCheckService.hasDismissedGroupMeetingsHostBetaBanner(g)&&!this.groupMeetingsHostBetaBannerDismissed()}),this.showGroupMeetingsBetaLaunchHostAnnouncementBanner=_e(()=>{let k=this.userService.currentUserSig()?.timeZone;if(!this.featureCheckService.groupMeetingsCreateEnabledSig()||!k||!Vo.default.tz.zone(k))return!1;let w=Vo.default.tz(Vd,Ud).valueOf();return this.groupMeetingsBetaAnnouncementCurrentTimeMs()<w}),this.showGroupMeetingsBetaLiveHostAnnouncementBanner=_e(()=>{let k=this.userService.currentUserSig()?.timeZone;if(!this.featureCheckService.groupMeetingsCreateEnabledSig()||!k||!Vo.default.tz.zone(k))return!1;let w=this.groupMeetingsBetaAnnouncementCurrentTimeMs(),F=Vo.default.tz(Vd,Ud).valueOf(),I=Vo.default.tz(Ib,k).valueOf();return w>=F&&w<I})}launchVerify(){this.dialogService.openEmailVerificationDialog(xa)}launchSuspended(){this.dialogService.openSuspendedDialog()}sendEmailVerification(){this.userService.sentEmailVerification.next(!0),this.userService.recheckEmailVerified().then(i=>{i||this.userService.sendEmailVerification().then(n=>{})})}dismissHostRecruitmentBanner(){this.localStorageAccessService.setItem(nr,"true"),this.hostRecruitmentBannerDismissed.set(!0)}dismissGroupMeetingsHostBetaBanner(){let i=this.userService.currentUserSig();i?.userId&&(this.groupMeetingsHostBetaBannerDismissed.set(!0),this.featureCheckService.setHasDismissedGroupMeetingsHostBetaBanner(i))}};t.\u0275fac=function(n){return new(n||t)(f(fn),f(fe),f(Fe),f(ot),f(hn),f(L))},t.\u0275cmp=T({type:t,selectors:[["fm-banners"]],inputs:{showMaintenanceBanner:"showMaintenanceBanner"},decls:15,vars:18,consts:[[1,"w-full","z-40"],[1,"w-full","z-50"],[3,"banner"],[3,"email","isSent"],[3,"dismissBanner"],[3,"openVerification","resendVerification","email","isSent"],[3,"openSuspension"]],template:function(n,r){n&1&&(b(0,Cb,1,0,"fm-update-ad
551dress-banner",0),ae(1,"async"),b(2,yb,1,0,"fm-maintenance-banner",1),b(3,Sb,1,0,"fm-group-meeting-beta-launch-host-announcement-banner")(4,kb,1,0,"fm-group-meeting-beta-live-host-announcement-banner")(5,wb,1,0,"fm-group-meeting-host-beta-banner"),b(6,xb,1,0,"fm-host-recruitment-banner"),b(7,Tb,2,3,"fm-system-banner",2),ae(8,"async"),b(9,Mb,1,0,"fm-time-sync-banner"),b(10,Eb,3,6,"fm-email-verification-banner",3),ae(11,"async"),ae(12,"async"),b(13,Bb,1,0,"fm-suspended-banner"),ae(14,"async")),n&2&&(v(Ee(1,8,r.userService.currentUser).planInfo.addressUpdateNeeded?0:-1),c(2),v(r.showMaintenanceBanner?2:-1),c(),v(r.showGroupMeetingsBetaLaunchHostAnnouncementBanner()?3:r.showGroupMeetingsBetaLiveHostAnnouncementBanner()?4:r.showGroupMeetingsHostBetaBanner()?5:-1),c(3),v(r.showHostRecruitmentBanner()?6:-1),c(),v(Ee(8,10,r.systemBannerService.bannerSubject)?7:-1),c(2),v(r.serverTimeService.systemTimeOutOfSync()?9:-1),c(),v(Ee(11,12,r.userService.isAuthenticated)&&!Ee(12,14,r.userService.isEmailVerified)?10:-1),c(3),v(Ee(14,16,r.userService.currentUser).suspended?13:-1))},dependencies:[O,Fl,xt,tl,ol,gn,Dl,Bl,Il,Al,El,Rl,yt],encapsulation:2,changeDetection:0});let o=t;return o})();function Rb(o,t){if(o&1){let e=x();a(0,"button",7),_("click",function(){C(e);let n=u().$implicit;return y(n.data.onUndo())}),S(1),d()}if(o&2){let e=u().$implicit;c(),me(" ",e.data.undoLabel," ")}}function Fb(o,t){if(o&1&&(a(0,"div",5)(1,"span"),S(2),d(),b(3,Rb,2,1,"button",6),d()),o&2){let e=t.$implicit;c(2),je(e.summary),c(),v(e.data!=null&&e.data.onUndo?3:-1)}}function Pb(o,t){o&1&&h(0,"fm-upcoming-session-panel",11)}function Nb(o,t){o&1&&h(0,"fm-new-welcome-checklist-sidebar",15)}function Lb(o,t){o&1&&h(0,"fm-group-meetings-sidebar",16),o&2&&m("openInDynamicPanel",!1)}function Ob(o,t){o&1&&h(0,"fm-year-in-focus-sidebar",15)}function Vb(o,t){if(o&1&&h(0,"fm-mobile-drawer",18),o&2){u();let e=oe(4);m("navRef",e)}}function Ub(o,t){if(o&1&&(a(0,"aside",20),h(1,"fm-right-panel"),d()),o&2){let e=u(2);ue(e.rightPanelAnimationClass)}}function zb(o,t){if(o&1&&(a(0,"div",4),h(1,"fm-banners",8),a(2,"div",9)(3,"nav",10,0),b(5,Pb,1,0,"fm-upcoming-session-panel",11),h(6,"fm-navigation",11),d(),a(7,"main",12)(8,"div",13),h(9,"fm-left-panel",14),d(),b(10,Nb,1,0,"fm-new-welcome-checklist-sidebar",15)(11,Lb,1,1,"fm-group-meetings-sidebar",16)(12,Ob,1,0,"fm-year-in-focus-sidebar",15),a(13,"div",17),h(14,"router-outlet"),d()(),b(15,Vb,1,1,"fm-mobile-drawer",18)(16,Ub,2,2,"aside",19),d()()),o&2){let e=u();c(),m("showMaintenanceBanner",e.showMaintenanceBanner),c(2),ue(e.viewportService.isMobile()?"":e.leftPanelAnimationClass),c(2),v(e.viewportService.isMobile()?5:-1),c(3),ue(e.viewportService.isMobile()?"":e.leftPanelAnimationClass),c(),m("hideBookingHubOnMobile",e.hideBookingHubOnMobile),c(),v(e.welcomeChecklistService.isWelcomeChecklistActive()&&e.viewportService.isMobile()?10:e.viewportService.isMobile()&&e.isGroupMeetingsBetaEnabled()?11:e.viewportService.isMobile()?12:-1),c(3),ue(e.viewportService.isMobile()?"":e.middleContentAnimationClass),c(2),v(e.viewportService.isMobile()?15:16)}}function Hb(o,t){if(o&1&&h(0,"fm-mobile-drawer",18),o&2){u();let e=oe(1);m("navRef",e)}}function jb(o,t){if(o&1&&(a(0,"div",4,1),h(2,"router-outlet"),d(),b(3,Hb,1,1,"fm-mobile-drawer",18)),o&2){let e=u();c(3),v(e.viewportService.isMobile()?3:-1)}}var zd=(()=>{let t=class t{constructor(i,n,r,s,l,p,g,k,w,F,I,E,A,H,se,le,Te,Me,Ot,Ke,Pe,Ne,Bt,Vt,ri,It,Uo,si,ai){this.analyticsService=i,this.serverTimeService=n,this.userService=r,this.router=s,this.authService=l,this.metaService=p,this.activatedRoute=g,this.storeRedirectOnLoginService=k,this.dialogService=w,this.utilsService=F,this.titleService=I,this.confirmedSessionsService=E,this.meetingsService=A,this.browserNotificationsService=H,this.deviceDetectionService=se,this.ngZone=le,this.autoCancelStatusService=Te,this.softwareUpdateService=Me,this.rewardsReferralService=Ot,this.viewportService=Ke,this.welcomeChecklistService=Pe,this.systemBannerService=Ne,this.featureCheckService=Bt,this.bookSessionsService=Vt,this.userRelationshipService=ri,this.taskService=It,this.posthogMarketingFunnelService=Uo,this.realtimeService=si,this.groupMeetingCancellationNoticeService=ai,this.ngUnsubscribe=new X,this.ngUserUnsubscribe=new X,this.ngWebWorkerUnsubscribe=new X,this.currentUrl="",this.showMaintenanceBanner=!1,this.isBannerSticky=!1,this.termsCreated=!1,this.systemBanner=null,this.threeColumnLayout=!1,this.hideBookingHubOnMobile=!1,this.isGroupMeetingsBetaEnabled=this.featureCheckService.groupMeetingsBetaEnabledSig,this.timedOut=!1,this.blurred=!1,this.realtimeUserId=null,this.leftPanelAnimationClass="animation-sli
551de-right-and-fade-in-far-snappy",this.middleContentAnimationClass="animation-slide-up-and-fade-in-far-snappy",this.rightPanelAnimationClass="animation-slide-left-and-fade-in-far-snappy",this.faInfoCircle=Ha}onFocus(i){this.blurred=!1,this.timedOut===!0&&(this.timedOut=!1,this.queryConfirmedSessions())}onBlur(i){this.blurred=!0}onMouseMove(i){this.blurred===!0&&this.timedOut===!0&&(this.timedOut=!1,this.queryConfirmedSessions(!0))}getChild(i){return i.firstChild?this.getChild(i.firstChild):i}updateMaintenanceBannerState(){this.showMaintenanceBanner=this.utilsService.inMaintenanceWindow(this.currentUrl),this.userService.currentUser.pipe(ge(1)).subscribe(i=>{(i.planInfo.addressUpdateNeeded||this.showMaintenanceBanner)&&(this.isBannerSticky=this.utilsService.isMaintenanceBannerSticky())})}showUpdatedTermsModalIfNeeded(){this.userService.currentUser.pipe(ge(1)).subscribe(i=>{i.onboard&&this.currentUrl.startsWith("/session/")})}showSuspendedDialogIfNeeded(){this.userService.currentUser.pipe(ge(1)).subscribe(i=>{i.suspended&&this.dialogService.openSuspendedDialog()})}queryConfirmedSessions(i=!1){(this.blurred===!1||i)&&(this.meetingsService.getMeetingsBookings().subscribe(),this.taskService.fetchIncompleteTasks().subscribe())}trackFacebookPageView(){let i=window.fbq;if(typeof i=="function")try{i("track","PageView")}catch(n){console.error("Facebook Pixel page view tracking failed",n)}}updateIntercomVisibility(){let i=window.Intercom;if(typeof i=="function")try{i("update",{hide_default_launcher:!0})}catch(n){console.error("Intercom update failed",n)}}ngOnInit(){this.router.events.pipe(N(this.ngUnsubscribe)).subscribe(i=>{if(i instanceof _s){this.titleService.setTitle(this.utilsService.getPageTitleFromRoute(i.url));let n=this.getChild(this.activatedRoute).snapshot.data;Ce.sentryEnv!=="production"?this.metaService.updateTag({name:"robots",content:"nofollow,noindex"}):n.robots?this.metaService.updateTag({name:"robots",content:n.robots}):this.metaService.updateTag({name:"robots",content:"follow,index"}),this.threeColumnLayout=n?.threeColumnLayout??!1,this.hideBookingHubOnMobile=n?.hideBookingHubOnMobile??!1,this.analyticsService.trackPageView(i.urlAfterRedirects,n),this.posthogMarketingFunnelService.trackPreAuthPageViewIfEligible(i.urlAfterRedirects),this.trackFacebookPageView(),this.updateIntercomVisibility(),this.currentUrl=i.urlAfterRedirects,setTimeout(()=>{this.updateMaintenanceBannerState()}),this.softwareUpdateService.checkForUpdate(),this.showUpdatedTermsModalIfNeeded(),this.showSuspendedDialogIfNeeded()}i instanceof Ii&&(this.userService.setSignUpLoginViaSocialInviteeFlow(i.url),this.storeRedirectOnLoginService.resetUrlToRedirectToOnLogin(i.url),this.currentUrl=i.url)}),this.authService.getFirebaseUser().then(i=>{i&&this.currentUrl==="/"&&this.router.navigate(["/dashboard"])}),this.authService.authState$.pipe(N(this.ngUnsubscribe)).subscribe(i=>{!i&&this.isAuthenticated&&this.analyticsService.logUserSignedOut("nullFirebaseUser"),this.userService.populate(i)}),this.autoCancelStatusService.autocancelStatus.pipe(Xn(),N(this.ngUnsubscribe)).subscribe(i=>{i&&this.dialogService.openNoShowAcknowledgeDialog(this.autoCancelStatusService.triggerSession)}),this.userService.isAuthenticated.pipe(Xn(),N(this.ngUnsubscribe)).subscribe(i=>{this.isAuthenticated=i,i?(this.rewardsReferralService.clearRewardsReferralCode(),this.userService.currentUser.pipe(ge(1)).subscribe(n=>{this.serverTimeService.checkDeviceTime(),this.setupSessionReminders(),this.groupMeetingCancellationNoticeService.start(),this.startConfirmedSessionQueries(),this.connectRealtimeIfEnabled(n)})):(this.groupMeetingCancellationNoticeService.stop(),this.disconnectRealtime("signed_out"),this.destroyWebWorker(),this.stopConfirmedSessionQueries())}),this.systemBannerService.bannerSubject.subscribe(i=>{this.systemBanner=i}),this.bookSessionsService.joiningSession$.pipe(N(this.ngUnsubscribe)).subscribe(i=>{i?(this.leftPanelAnimationClass="animation-slide-left-and-fade-out-far-snappy",this.middleContentAnimationClass="animation-slide-down-and-fade-out-far-snappy",this.rightPanelAnimationClass="animation-sli
551de-right-and-fade-out-far-snappy"):(this.leftPanelAnimationClass="animation-slide-right-and-fade-in-far-snappy",this.middleContentAnimationClass="animation-slide-up-and-fade-in-far-snappy",this.rightPanelAnimationClass="animation-slide-left-and-fade-in-far-snappy")})}startConfirmedSessionQueries(){this.ngZone.runOutsideAngular(()=>{this.confirmedSessionPollingSub=ci(0,12e4).pipe(N(this.ngUnsubscribe)).subscribe(()=>{this.ngZone.run(()=>{this.queryConfirmedSessions(),this.blurred&&(this.timedOut=!0)})})}),this.userRelationshipService.userRelationUpdated.pipe(N(this.ngUnsubscribe)).subscribe(i=>{(i.action==="block"||i.action==="unblock"||i.action==="bulk-unblock"||i.action==="snooze"||i.action==="unsnooze"||i.action==="blocks-to-snoozes")&&setTimeout(()=>{this.queryConfirmedSessions(!0)},3e3)})}stopConfirmedSessionQueries(){this.confirmedSessionPollingSub?.unsubscribe(),this.confirmedSessionPollingSub=void 0}setupSessionReminders(){return Kt(this,null,function*(){(yield this.deviceDetectionService.isMobileAccurate())||typeof Worker>"u"||(yield this.browserNotificationsService.requestNotificationPermissions(),this.browserNotificationsService.notificationsPermissionState.pipe(N(this.ngUnsubscribe)).subscribe(()=>this.toggleWebWorkerIfNeeded()),this.userService.currentUser.pipe(N(this.ngUnsubscribe)).subscribe(()=>this.toggleWebWorkerIfNeeded()))})}toggleWebWorkerIfNeeded(){let i=this.browserNotificationsService.getCurrentNotificationsPermissionsState();this.userService.currentUser.pipe(ge(1)).subscribe(n=>{i==="granted"&&n.settings.sessionRemindersEnabled?this.initializeWebWorker(n):this.destroyWebWorker()})}initializeWebWorker(i){this.destroyWebWorker(),this.webWorker=new Worker(new URL("worker-ZLPDM63B.js",import.meta.url),{type:"module"}),this.meetingsService.meetingsBookingsSubject.pipe(N(this.ngWebWorkerUnsubscribe)).subscribe(n=>{this.webWorker.postMessage({type:"sessionsDataUpdated",data:{meetings:n.meetings}})}),this.userService.currentUser.pipe(N(this.ngWebWorkerUnsubscribe)).subscribe(n=>{this.webWorker.postMessage({type:"userSettingsChanged",data:{notificationOffset:n.settings.sessionReminderNotificationOffset,timeFormat:n.settings.timeFormat}})}),this.webWorker.onmessage=({data:n})=>{n.action&&(n.action==="updateNextSessionTimestamp"?this.confirmedSessionsService.queryForNextSessionTime().subscribe(r=>{this.webWorker.postMessage({type:"updateNextSessionTimestampResponse",data:r})}):n.action==="notify"?this.browserNotificationsService.notify(n.title,n.options):n.action==="setLocalStorage"?localStorage.setItem(n.key,n.value):n.action==="getLocalStorage"&&this.webWorker.postMessage({type:"getLocalStorageResponse",data:localStorage.getItem(n.key)}))}}destroyWebWorker(){this.webWorker&&(this.webWorker.terminate(),this.webWorker=null),this.ngWebWorkerUnsubscribe.next(null)}ngOnDestroy(){this.groupMeetingCancellationNoticeService.stop(),this.disconnectRealtime("app_destroyed"),this.ngUnsubscribe.next(null),this.ngUnsubscribe.complete(),this.ngUserUnsubscribe.next(null),this.ngUserUnsubscribe.complete(),this.ngWebWorkerUnsubscribe.next(null),this.ngWebWorkerUnsubscribe.complete()}connectRealtimeIfEnabled(i){let n=i?.userId||null;if(!n||!this.featureCheckService.isRealtimeEnabled(i)){this.disconnectRealtime(n?"realtime_disabled":"missing_user");return}this.realtimeUserId&&this.realtimeUserId!==n&&this.realtimeService.disconnect("user_changed"),this.realtimeUserId=n,this.realtimeService.connect()}disconnectRealtime(i="client_disconnect"){this.realtimeUserId=null,this.realtimeService.disconnect(i)}};t.\u0275fac=function(n){return new(n||t)(f(De),f(fn),f(L),f(pe),f(To),f(ps),f(Cs),f(jt),f(fe),f(Se),f(fs),f(St),f(it),f(xl),f(Ri),f(uo),f(ta),f(zc),f(kt),f(ke),f(Ge),f(hn),f(Fe),f(Gt),f(Ra),f(Va),f(oa),f(Pa),f(wl))},t.\u0275cmp=T({type:t,selectors:[["app-root"]],hostBindings:function(n,r){n&1&&_("focus",function(l){return r.onFocus(l)},vi)("blur",function(l){return r.onBlur(l)},vi)("mousemove",function(l){return r.onMouseMove(l)},vi)},standalone:!1,decls:4,vars:1,consts:[["navigation",""],["singleColumnRoot",""],["position","bottom-center"],["pTemplate","message"],[1,"h-dvh","flex","flex-col"],[1,"flex","items-center","justify-between","gap-2","w-full"],["type","button",1,"font-semibold","underline","hover:no-underline","ml-2","shrink-0"],["type","button",1,"font-semibold","underline","hover:no-underline","ml-2","shrink-0",3,"click"],[3,"showMaintenanceBanner"],[1,"flex","flex-col","bp908:flex-row","flex-grow","min-h-0","bp908:bg-p-content-hover-background","dark:bg-p-content-hover-background"],[1,"!z-[950]","w-full","bp908:w-12","bp908:min-w-12","order-2","bp908:order-1"],[1,"!z-[950]","bp908:z-auto","relative"],[1,"flex","flex-col","bp908:flex-row","flex-grow","min-h-0","w-full","order-1","bp908:order-2","min-w-0"],[1,"w-full","order-2","bp908:order-1","bp908:w-[264px]","bp908:min-w-[264px]","shadow-top-lift","bp908:shadow-none","rounded-t-2xl"],[3,"hideBookingHubOnMobile"],[1,"w-full"],[1,"w-full",3,"openInDynamicPanel"],[1,"flex-1","min-w-0","overflow-auto","bp908:overflow-hidden","order-1","bp908:order-2","bp908:my-1","bp908:mr-1","bg-p-content-background","bp908:shadow-
551p-form-field-shadow","bp908:rounded-2xl","bp908:border","bp908:border-p-content-border-color"],[3,"navRef"],["role","complementary","aria-label","Dynamic panel for profile info, session settings, and more",1,"order-4","my-1","mr-1","flex",3,"class"],["role","complementary","aria-label","Dynamic panel for profile info, session settings, and more",1,"order-4","my-1","mr-1","flex"]],template:function(n,r){n&1&&(a(0,"p-toast",2),U(1,Fb,4,2,"ng-template",3),d(),b(2,zb,17,11,"div",4)(3,jb,4,1)),n&2&&(c(2),v(r.threeColumnLayout?2:3))},dependencies:[No,Eo,Lo,Oo,zn,zr,ko,Wn,Qn,Yn,ys,$n],encapsulation:2});let o=t;return o})();var Hd=(()=>{let t=class t{constructor(i){this.apiService=i}getpmins(){return this.apiService.get(Ce.api_url+"pmins/")}};t.\u0275fac=function(n){return new(n||t)(K(Vi))},t.\u0275prov=te({token:t,factory:t.\u0275fac});let o=t;return o})();var jd=(()=>{let t=class t{constructor(i){this.firebaseTokenService=i,this.tokenRefresh$=null}addToken(i){return i.clone({setHeaders:{Authorization:this.firebaseTokenService.getToken()}})}addAnonymous(i){return i.clone({setHeaders:{Authorization:""}})}intercept(i,n){return i.headers.get("Anonymous")===""?n.handle(this.addAnonymous(i)).pipe(di(r=>r instanceof or?r.status===401?this.firebaseTokenService.checkTokenExpiredError(r)===!0?this.handle401Error(i,n):Zt(r):Zt(r):Zt(r))):n.handle(this.addToken(i)).pipe(di(r=>r instanceof or?r.status===401?this.firebaseTokenService.checkTokenExpiredError(r)===!0?this.handle401Error(i,n):Zt(r):Zt(r):Zt(r)))}handle401Error(i,n){if(!this.tokenRefresh$){let r=Yr(()=>this.firebaseTokenService.refreshToken()).pipe(ge(1),co(s=>{if(!s)throw new Xs("auth/no-current-user","Please sign in again.");return s}),Jr(s=>this.firebaseTokenService.setToken(s)),di(s=>this.firebaseTokenService.handleRefreshFailure(s)),ui(()=>{this.tokenRefresh$===r&&(this.tokenRefresh$=null)}),Xr({bufferSize:1,refCount:!1}));this.tokenRefresh$=r}return this.tokenRefresh$.pipe(pi(()=>n.handle(this.addToken(i))))}};t.\u0275fac=function(n){return new(n||t)(K(Oi))},t.\u0275prov=te({token:t,factory:t.\u0275fac,providedIn:"root"});let o=t;return o})();var Wd=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=Je({type:t}),t.\u0275inj=Xe({providers:[Re,yo,Tl,Ml,Ea,Co,Gt,St,$i,Se,Ba,Ia,Za,To,Oi,La,gl,bl,Na,Hd,kl,fe,Aa,L,Vi,Sl,Ui,vl,ia,sl,[{provide:ms,useClass:jd,multi:!0}],Mi(Ei())],imports:[go,j,Ln,We,Bi]});let o=t;return o})();var Gd=(()=>{let t=class t{constructor(){this.firebaseAuthState=de(ea)}resolve(i,n){return this.firebaseAuthState.user$}};t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=te({token:t,factory:t.\u0275fac,providedIn:"root"});let o=t;return o})();var qd={primitive:{red:{50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d",950:"#450a0a"},sky:{50:"#f0f9ff",100:"#e0f2fe",200:"#bae6fd",300:"#7dd3fc",400:"#38bdf8",500:"#0ea5e9",600:"#0284c7",700:"#0369a1",800:"#075985",900:"#0c4a6e",950:"#082f49"},blue:{50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a",950:"#172554"},cyan:{50:"#ecfeff",100:"#cffafe",200:"#a5f3fc",300:"#67e8f9",400:"#22d3ee",500:"#06b6d4",600:"#0891b2",700:"#0e7490",800:"#155e75",900:"#164e63",950:"#083344"},gray:{50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827",950:"#030712"},lime:{50:"#f7fee7",100:"#ecfccb",200:"#d9f99d",300:"#bef264",400:"#a3e635",500:"#84cc16",600:"#65a30d",700:"#4d7c0f",800:"#3f6212",900:"#365314",950:"#1a2e05"},pink:{50:"#fdf2f8",100:"#fce7f3",200:"#fbcfe8",300:"#f9a8d4",400:"#f472b6",500:"#ec4899",600:"#db2777",700:"#be185d",800:"#9d174d",900:"#831843",950:"#500724"},rose:{50:"#fff1f2",100:"#ffe4e6",200:"#fecdd3",300:"#fda4af",400:"#fb7185",500:"#f43f5e",600:"#e11d48",700:"#be123c",800:"#9f1239",900:"#881337",950:"#4c0519"},teal:{50:"#f0fdfa",100:"#ccfbf1",200:"#99f6e4",300:"#5eead4",400:"#2dd4bf",500:"#14b8a6",600:"#0d9488",700:"#0f766e",800:"#115e59",900:"#134e4a",950:"#042f2e"},zinc:{50:"#fafafa",100:"#f4f4f5",200:"#e4e4e7",300:"#d4d4d8",400:"#a1a1aa",500:"#71717a",600:"#52525b",700:"#3f3f46",800:"#27272a",900:"#18181b",950:"#09090b"},amber:{50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f",950:"#451a03"},green:{50:"#f0fdf4",100:"#dcfce7",200:"#bbf7d0",300:"#86efac",400:"#4ade80",500:"#22c55e",600:"#16a34a",700:"#15803d",800:"#166534",900:"#14532d",950:"#052e16"},slate:{50:"#f8fafc",100:"#f1f5f9",200:"#e2e8f0",300:"#cbd5e1",400:"#94a3b8",500:"#64748b",600:"#475569",700:"#334155",800:"#1e293b",900:"#0f172a",950:"#020617"},stone:{50:"#fafaf9",100:"#f5f5f4",200:"#e7e5e4",300:"#d6d3d1",400:"#a8a29e",500:"#78716c",600:"#57534e",700:"#44403c",800:"#292524",900:"#1c1917",950:"#0c0a09"},indigo:{50:"#eef2ff",100:"#e0e7ff",200:"#c7d2fe",300:"#a5b4fc",400:"#818cf8",500:"#5A5CF2",600:"#4f46e5",700:"#4338ca",800:"#3730a3",900:"#312e81",950:"#1e1b4b"},orange:{50:"#fff7ed",100:"#ffedd5",200:"#fed7aa",300:"#fdba74",400:"#fb923c",500:"#f97316",600:"#ea580c",700:"#c2410c",800:"#9a3412",900:"#7c2d12",950:"#431407"},purple:{50:"#faf5ff",100:"#f3e8ff",200:"#e9d5ff",300:"#d8b4fe",400:"#c084fc",500:"#a855f7",600:"#9333ea",700:"#7e22ce",800:"#6b21a8",900:"#581c87",950:"#3b0764"},violet:{50:"#f5f3ff",100:"#ede9fe",200:"#ddd6fe",300:"#c4b5fd",400:"#a78bfa",500:"#8b5cf6",600:"#7c3aed",700:"#6d28d9",800:"#5b21b6",900:"#4c1d95",950:"#2e1065"},yellow:{50:"#fefce8",100:"#fef9c3",200:"#fef08a",300:"#fde047",400:"#facc15",500:"#eab308",600:"#ca8a04",700:"#a16207",800:"#854d0e",900:"#713f12",950:"#422006"},emerald:{50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b",950:"#022c22"},fuchsia:{50:"#fdf4ff",100:"#fae8ff",200:"#f5d0fe",300:"#f0abfc",400:"#e879f9",500:"#d946ef",600:"#c026d3",700:"#a21caf",800:"#86198f",900:"#701a75",950:"#4a044e"},neutral:{50:"#fafafa",100:"#f5f5f5",200:"#e5e5e5",300:"#d4d4d4",400:"#a3a3a3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717",950:"#0a0a0a"},borderRadius:{lg:"12px",md:"8px",sm:"4px",xl:"16px",xs:"2px",none:"0"}},semantic:{list:{gap:"0.25rem 0.25rem",header:{padding:"0.5rem 0.75rem 0.25rem 0.75rem"}
551,option:{padding:"0.5rem 0.75rem",borderRadius:"{border.radius.sm}"},padding:"0.25rem 0.25rem",optionGroup:{padding:"0.5rem 0.75rem",fontWeight:"600"}},mask:{transitionDuration:"0.2s"},content:{borderRadius:"{border.radius.md}"},overlay:{modal:{shadow:"0 20px 25px -5px rgba(0, 0, 0, 0.1),0 8px 10px -6px rgba(0, 0, 0, 0.1)",padding:"1.5rem",borderRadius:"{border.radius.xl}"},select:{shadow:"0 4px 6px -1px rgba(0, 0, 0, 0.1),0 2px 4px -2px rgba(0, 0, 0, 0.1)",borderRadius:"{border.radius.md}"},popover:{shadow:"0 4px 6px -1px rgba(0, 0, 0, 0.1),0 2px 4px -2px rgba(0, 0, 0, 0.1)",padding:"0.75rem",borderRadius:"{border.radius.md}"},navigation:{shadow:"0 4px 6px -1px rgba(0, 0, 0, 0.1),0 2px 4px -2px rgba(0, 0, 0, 0.1)"}},primary:{50:"{indigo.50}",100:"{indigo.100}",200:"{indigo.200}",300:"{indigo.300}",400:"{indigo.400}",500:"{indigo.500}",600:"{indigo.600}",700:"{indigo.700}",800:"{indigo.800}",900:"{indigo.900}",950:"{indigo.950}"},iconSize:"1rem",focusRing:{color:"{primary.color}",style:"solid",width:"1px",offset:"2px",shadow:"0 0 0 0 rgba(0, 0, 0, 0)"},formField:{lg:{fontSize:"0.875rem",paddingX:"0.875rem",paddingY:"0.657rem"},sm:{fontSize:"0.875rem",paddingX:"0.625rem",paddingY:"0.413rem"},paddingX:"0.75rem",paddingY:"0.463rem",focusRing:{color:"transparent",style:"none",width:"0",offset:"0",shadow:"0 0 0 0 rgba(0, 0, 0, 0)"},borderRadius:"{border.radius.md}",transitionDuration:"{transition.duration}"},navigation:{item:{gap:"0.5rem",padding:"0.5rem 0.75rem",borderRadius:"{border.radius.sm}"},list:{gap:"2px",padding:"0.25rem 0.25rem"},submenuIcon:{size:"0.875rem"},submenuLabel:{padding:"0.5rem 0.75rem",fontWeight:"600"}},colorScheme:{dark:{list:{option:{icon:{color:"{surface.500}",focusColor:"{surface.400}"},color:"{text.color}",focusColor:"{text.hover.color}",selectedColor:"{highlight.color}",focusBackground:"{surface.800}",selectedBackground:"{highlight.background}",selectedFocusColor:"{highlight.focus.color}",selectedFocusBackground:"{highlight.focus.background}"},optionGroup:{color:"{text.muted.color}",background:"transparent"}},mask:{color:"{surface.200}",background:"rgba(0,0,0,0.6)"},text:{color:"{surface.0}",hoverColor:"{surface.0}",mutedColor:"{surface.400}",hoverMutedColor:"{surface.300}"},content:{color:"{text.color}",background:"{surface.900}",hoverColor:"{text.hover.color}",borderColor:"{surface.700}",hoverBackground:"{surface.800}"},overlay:{modal:{color:"{text.color}",background:"{surface.900}",borderColor:"{surface.700}"},select:{color:"{text.color}",background:"{surface.900}",borderColor:"{surface.700}"},popover:{color:"{text.color}",background:"{surface.900}",borderColor:"{surface.700}"}},primary:{color:"{primary.400}",hoverColor:"{primary.300}",activeColor:"{primary.200}",contrastColor:"{surface.900}"},surface:{0:"#ffffff",50:"{zinc.50}",100:"{zinc.100}",200:"{zinc.200}",300:"{zinc.300}",400:"{zinc.400}",500:"{zinc.500}",600:"{zinc.600}",700:"{zinc.700}",800:"{zinc.800}",900:"{zinc.900}",950:"{zinc.950}"},formField:{color:"{surface.0}",shadow:"0 1px 2px 0 rgba(18, 18, 23, 0.05)",iconColor:"{surface.400}",background:"{surface.950}",borderColor:"{surface.600}",disabledColor:"{surface.400}",floatLabelColor:"{surface.400}",filledBackground:"{surface.800}",focusBorderColor:"{primary.color}",hoverBorderColor:"{surface.500}",placeholderColor:"{surface.400}",disabledBackground:"{surface.700}",invalidBorderColor:"{red.300}",floatLabelFocusColor:"{surface.400}",filledFocusBackground:"{surface.800}",filledHoverBackground:"{surface.800}",floatLabelActiveColor:"{surface.400}",floatLabelInvalidColor:"{form.field.invalid.placeholder.color}",invalidPlaceholderColor:"{red.400}"},highlight:{color:"rgba(255,255,255,.87)",background:"color-mix(in srgb, {primary.400}, transparent 84%)",focusColor:"rgba(255,255,255,.87)",focusBackground:"color-mix(in srgb, {primary.400}, transparent 76%)"},navigation:{item:{icon:{color:"{surface.500}",focusColor:"{surface.400}",activeColor:"{surface.400}"},color:"{text.color}",focusColor:"{text.hover.color}",activeColor:"{text.hover.color}",focusBackground:"{surface.800}",activeBackground:"{surface.800}"},submenuIcon:{color:"{surface.500}",focusColor:"{surface.400}",activeColor:"{surface.400}"},submenuLabel:{color:"{text.muted.color}",background:"transparent"}}},light:{list:{option:{icon:{color:"{surface.400}",focusColor:"{surface.500}"},color:"{text.color}",focusColor:"{text.hover.color}",selectedColor:"{highlight.color}
551",focusBackground:"{surface.100}",selectedBackground:"{highlight.background}",selectedFocusColor:"{highlight.focus.color}",selectedFocusBackground:"{highlight.focus.background}"},optionGroup:{color:"{text.muted.color}",background:"transparent"}},mask:{color:"{surface.200}",background:"rgba(0,0,0,0.4)"},text:{color:"{surface.700}",hoverColor:"{surface.800}",mutedColor:"{surface.500}",hoverMutedColor:"{surface.600}"},content:{color:"{text.color}",background:"{surface.0}",hoverColor:"{text.hover.color}",borderColor:"{surface.200}",hoverBackground:"{surface.100}"},overlay:{modal:{color:"{text.color}",background:"{surface.0}",borderColor:"{surface.200}"},select:{color:"{text.color}",background:"{surface.0}",borderColor:"{surface.200}"},popover:{color:"{text.color}",background:"{surface.0}",borderColor:"{surface.200}"}},primary:{color:"{primary.500}",hoverColor:"{primary.600}",activeColor:"{primary.700}",contrastColor:"#ffffff"},surface:{0:"#ffffff",50:"{slate.50}",100:"{slate.100}",200:"{slate.200}",300:"{slate.300}",400:"{slate.400}",500:"{slate.500}",600:"{slate.600}",700:"{slate.700}",800:"{slate.800}",900:"{slate.900}",950:"{slate.950}"},formField:{color:"{surface.700}",shadow:"0 1px 2px 0 rgba(18, 18, 23, 0.05)",iconColor:"{surface.400}",background:"{surface.0}",borderColor:"{surface.300}",disabledColor:"{surface.500}",floatLabelColor:"{surface.500}",filledBackground:"{surface.50}",focusBorderColor:"{primary.color}",hoverBorderColor:"{surface.400}",placeholderColor:"{surface.500}",disabledBackground:"{surface.200}",invalidBorderColor:"{red.400}",floatLabelFocusColor:"{surface.500}",filledFocusBackground:"{surface.50}",filledHoverBackground:"{surface.50}",floatLabelActiveColor:"{surface.500}",floatLabelInvalidColor:"{form.field.invalid.placeholder.color}",invalidPlaceholderColor:"{red.600}"},highlight:{color:"{primary.700}
551",background:"{primary.50}",focusColor:"{primary.800}",focusBackground:"{primary.100}"},navigation:{item:{icon:{color:"{surface.400}",focusColor:"{surface.500}",activeColor:"{surface.500}"},color:"{text.color}",focusColor:"{text.hover.color}",activeColor:"{text.hover.color}",focusBackground:"{surface.100}",activeBackground:"{surface.100}"},submenuIcon:{color:"{surface.400}",focusColor:"{surface.500}",activeColor:"{surface.500}"},submenuLabel:{color:"{text.muted.color}",background:"transparent"}}}},anchorGutter:"2px",disabledOpacity:"0.6",transitionDuration:"0.2s"}};var Qd={icon:{size:"0.75rem"},root:{gap:"0.25rem",padding:"0.25rem 0.5rem",fontSize:"0.875rem",fontWeight:"700",borderRadius:"{content.border.radius}",roundedBorderRadius:"{border.radius.xl}"},colorScheme:{dark:{info:{color:"{sky.300}",background:"color-mix(in srgb, {sky.500}, transparent 84%)"},warn:{color:"{orange.300}",background:"color-mix(in srgb, {orange.500}, transparent 84%)"},danger:{color:"{red.300}",background:"color-mix(in srgb, {red.500}, transparent 84%)"},primary:{color:"{primary.300}",background:"color-mix(in srgb, {primary.500}, transparent 84%)"},success:{color:"{green.300}",background:"color-mix(in srgb, {green.500}, transparent 84%)"},contrast:{color:"{surface.950}",background:"{surface.0}"},secondary:{color:"{surface.300}",background:"{surface.800}"}},light:{info:{color:"{sky.700}",background:"{sky.100}"},warn:{color:"{orange.700}",background:"{orange.100}"},danger:{color:"{red.700}",background:"{red.100}"},primary:{color:"{primary.700}
551",background:"{primary.100}"},success:{color:"{green.700}",background:"{green.100}"},contrast:{color:"{surface.0}",background:"{surface.950}"},secondary:{color:"{surface.600}",background:"{surface.100}"}}}};var Yd={body:{gap:"0.5rem",padding:"1.25rem"},root:{color:"{content.color}",shadow:"0 1px 3px 0 rgba(0, 0, 0, 0.1),0 1px 2px -1px rgba(0, 0, 0, 0.1)",background:"{content.background}",borderRadius:"{border.radius.xl}"},title:{fontSize:"1.25rem",fontWeight:"500"},caption:{gap:"0.5rem"},subtitle:{color:"{text.muted.color}"}};var $d={icon:{size:"1rem"},root:{gap:"0.5rem",paddingX:"0.75rem",paddingY:"0.5rem",borderRadius:"16px",transitionDuration:"{transition.duration}"},image:{width:"2rem",height:"2rem"},removeIcon:{size:"1rem",focusRing:{color:"{focus.ring.color}",style:"{focus.ring.style}",width:"{focus.ring.width}",offset:"{focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"}},colorScheme:{dark:{icon:{color:"{surface.0}"},root:{color:"{surface.0}",background:"{surface.800}"},removeIcon:{color:"{surface.0}"}},light:{icon:{color:"{surface.800}"},root:{color:"{surface.800}",background:"{surface.100}"},removeIcon:{color:"{surface.800}"}}}};var Kd={item:{size:"3rem",padding:"0.5rem",focusRing:{color:"{focus.ring.color}",style:"{focus.ring.style}",width:"{focus.ring.width}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},borderRadius:"{content.border.radius}"},root:{padding:"0.5rem",background:"rgba(255, 255, 255, 0.1)",borderColor:"rgba(255, 255, 255, 0.2)",borderRadius:"{border.radius.xl}"}};var Zd={root:{focusRing:{color:"{focus.ring.color}",style:"{focus.ring.style}",width:"{focus.ring.width}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},transitionDuration:"{transition.duration}"},text:{color:"{text.muted.color}"},range:{background:"{content.border.color}"},value:{background:"{primary.color}"}};var Xd={item:{gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}"},color:"{navigation.item.color}",padding:"{navigation.item.padding}",focusColor:"{navigation.item.focus.color}",borderRadius:"{navigation.item.border.radius}",focusBackground:"{navigation.item.focus.background}"},list:{gap:"{navigation.list.gap}",padding:"{navigation.list.padding}"},root:{color:"{content.color}",shadow:"{overlay.navigation.shadow}",background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",transitionDuration:"{transition.duration}"},separator:{borderColor:"{content.border.color}"},submenuLabel:{color:"{navigation.submenu.label.color}",padding:"{navigation.submenu.label.padding}",background:"{navigation.submenu.label.background}",fontWeight:"{navigation.submenu.label.font.weight}"}};var Jd={tab:{gap:"0.5rem",color:"{text.muted.color}",margin:"0 0 -1px 0",padding:"1rem .5rem",focusRing:{color:"{focus.ring.color}",style:"{focus.ring.style}",width:"{focus.ring.width}",offset:"-1px",shadow:"{focus.ring.shadow}"},background:"transparent",fontWeight:"600",hoverColor:"{text.color}",activeColor:"{primary.color}",borderColor:"{content.border.color}",borderWidth:"0 0 1px 0",hoverBackground:"transparent",activeBackground:"transparent",hoverBorderColor:"{content.border.color}",activeBorderColor:"{primary.color}"},root:{transitionDuration:"{transition.duration}"},tablist:{background:"{content.background}",borderColor:"{content.border.color}",borderWidth:"0 0 1px 0"},tabpanel:{color:"{content.color}",padding:"0.875rem 1.125rem 1.125rem 1.125rem",focusRing:{color:"{focus.ring.color}",style:"{focus.ring.style}",width:"{focus.ring.width}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},background:"{content.background}"},activeBar:{bottom:"-1px",height:"1px",background:"{primary.color}"},navButton:{color:"{text.muted.color}",width:"2.5rem",focusRing:{color:"{focus.ring.color}",style:"{focus.ring.style}",width:"{focus.ring.width}",offset:"-1px",shadow:"{focus.ring.shadow}"},background:"{content.background}",hoverColor:"{text.color}"},colorScheme:{dark:{navButton:{shadow:"0 0 10px 50px #0F172A80"}},light:{navButton:{shadow:"0 0 10px 50px rgba(255, 255, 255, 0.6)"}}}};var eu={node:{gap:"0.25rem",color:"{text.color}",padding:"0.25rem 0.5rem",focusRing:{color:"{focus.ring.color}",style:"{focus.ring.style}",width:"{focus.ring.width}",offset:"-1px",shadow:"{focus.ring.shadow}"},hoverColor:"{text.hover.color}
551",borderRadius:"{content.border.radius}",selectedColor:"{highlight.color}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}"},root:{gap:"2px",color:"{content.color}",indent:"1rem",padding:"1rem",background:"{content.background}",transitionDuration:"{transition.duration}"},filter:{margin:"0.5rem"},nodeIcon:{color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",selectedColor:"{highlight.color}"},loadingIcon:{size:"2rem"},nodeToggleButton:{size:"1.75rem",color:"{text.muted.color}",focusRing:{color:"{focus.ring.color}",style:"{focus.ring.style}",width:"{focus.ring.width}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},hoverColor:"{text.hover.muted.color}",borderRadius:"50%",hoverBackground:"{content.hover.background}",selectedHoverColor:"{primary.color}",selectedHoverBackground:"{content.background}"}};var tu={lg:{height:"1.75rem",fontSize:"0.875rem",minWidth:"1.75rem"},sm:{height:"1.25rem",fontSize:"0.625rem",minWidth:"1.25rem"},xl:{height:"2rem",fontSize:"1rem",minWidth:"2rem"},dot:{size:"0.5rem"},root:{height:"1.5rem",padding:"0 0.5rem",fontSize:"0.75rem",minWidth:"1.5rem",fontWeight:"700",borderRadius:"{border.radius.md}"},colorScheme:{dark:{info:{color:"{sky.950}",background:"{sky.400}"},warn:{color:"{orange.950}",background:"{orange.400}"},danger:{color:"{red.950}",background:"{red.400}"},primary:{color:"{primary.contrast.color}",background:"{primary.color}"},success:{color:"{green.950}",background:"{green.400}"},contrast:{color:"{surface.950}",background:"{surface.0}"},secondary:{color:"{surface.300}",background:"{surface.800}"}},light:{info:{color:"{surface.0}",background:"{sky.500}"},warn:{color:"{surface.0}",background:"{orange.500}"},danger:{color:"{surface.0}",background:"{red.500}"},primary:{color:"{primary.contrast.color}",background:"{primary.color}"},success:{color:"{surface.0}",background:"{green.500}"},contrast:{color:"{surface.0}",background:"{surface.950}"},secondary:{color:"{surface.600}",background:"{surface.100}"}}}};var ou={root:{transitionDuration:"{transition.duration}"},action:{size:"3rem",color:"{surface.50}",iconSize:"1.5rem",focusRing:{color:"{focus.ring.color}",style:"{focus.ring.style}",width:"{focus.ring.width}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},hoverColor:"{surface.0}",borderRadius:"50%",hoverBackground:"rgba(255, 255, 255, 0.1)"},preview:{icon:{size:"1.5rem"},mask:{color:"{mask.color}",background:"{mask.background}"}},toolbar:{gap:"0.5rem",blur:"8px",padding:"0.5rem",position:{top:"1rem",left:"auto",right:"1rem",bottom:"auto"},background:"rgba(255, 255, 255, 0.1)",borderColor:"rgba(255, 255, 255, 0.2)",borderWidth:"1px",borderRadius:"30px"}};var iu={root:{color:"{content.color}",background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}"},title:{fontWeight:"600"},footer:{padding:"0 1.125rem 1.125rem 1.125rem"},header:{color:"{text.color}",padding:"1.125rem",background:"transparent",borderColor:"{content.border.color}",borderWidth:"0",borderRadius:"0"},content:{padding:"0 1.125rem 1.125rem 1.125rem"},toggleableHeader:{padding:"0.375rem 1.125rem"}};var nu={icon:{size:"1.125rem"},root:{width:"25rem",borderWidth:"1px",borderRadius:"{content.border.radius}",transitionDuration:"{transition.duration}"},text:{gap:"0.5rem"},detail:{fontSize:"0.875rem",fontWeight:"500"},content:{gap:"0.5rem",padding:"{overlay.popover.padding}"},summary:{fontSize:"1rem",fontWeight:"500"},closeIcon:{size:"1rem"},closeButton:{width:"1.75rem",height:"1.75rem",focusRing:{style:"{focus.ring.style}",width:"{focus.ring.width}",offset:"{focus.ring.offset}"},borderRadius:"50%"},colorScheme:{dark:{info:{color:"{blue.500}",shadow:"0 4px 8px 0 rgba(2, 5, 10, 0.04)",background:"color-mix(in srgb, {blue.500}, transparent 84%)",borderColor:"color-mix(in srgb, {blue.700}, transparent 64%)",closeButton:{focusRing:{color:"{blue.500}",shadow:"none"},hoverBackground:"rgba(255, 255, 255, 0.05)"},detailColor:"{surface.0}"},root:{blur:"10px"},warn:{color:"{yellow.500}",shadow:"0 4px 8px 0 rgba(9, 7, 0, 0.04)",background:"color-mix(in srgb, {yellow.500}, transparent 84%)",borderColor:"color-mix(in srgb, {yellow.700}, transparent 64%)",closeButton:{focusRing:{color:"{yellow.500}",shadow:"none"}
551,hoverBackground:"rgba(255, 255, 255, 0.05)"},detailColor:"{surface.0}"},error:{color:"{red.500}",shadow:"0 4px 8px 0 rgba(10, 3, 3, 0.04)",background:"color-mix(in srgb, {red.500}, transparent 84%)",borderColor:"color-mix(in srgb, {red.700}, transparent 64%)",closeButton:{focusRing:{color:"{red.500}",shadow:"none"},hoverBackground:"rgba(255, 255, 255, 0.05)"},detailColor:"{surface.0}"},success:{color:"{green.500}",shadow:"0 4px 8px 0 rgba(1, 8, 4, 0.04)",background:"color-mix(in srgb, {green.500}, transparent 84%)",borderColor:"color-mix(in srgb, {green.700}, transparent 64%)",closeButton:{focusRing:{color:"{green.500}",shadow:"none"},hoverBackground:"rgba(255, 255, 255, 0.05)"},detailColor:"{surface.0}"},contrast:{color:"{surface.950}",shadow:"0 4px 8px 0 rgba(0, 0, 1, 0.04)",background:"{surface.0}",borderColor:"{surface.100}",closeButton:{focusRing:{color:"{surface.950}",shadow:"none"},hoverBackground:"{surface.100}"},detailColor:"{surface.950}"},secondary:{color:"{surface.300}",shadow:"0 4px 8px 0 rgba(4, 5, 6, 0.04)",background:"{surface.800}",borderColor:"{surface.700}",closeButton:{focusRing:{color:"{surface.300}",shadow:"none"},hoverBackground:"{surface.700}"},detailColor:"{surface.0}"}},light:{info:{color:"{blue.600}",shadow:"0 4px 8px 0 rgba(2, 5, 10, 0.04)",background:"color-mix(in srgb, {blue.50}, transparent 5%)",borderColor:"{blue.200}",closeButton:{focusRing:{color:"{blue.600}",shadow:"0 0 0 0 #00000000"},hoverBackground:"{blue.100}"},detailColor:"{surface.700}"},root:{blur:"1.5px"},warn:{color:"{yellow.600}",shadow:"0 4px 8px 0 rgba(9, 7, 0, 0.04)",background:"color-mix(in srgb, {yellow.50}, transparent 5%)",borderColor:"{yellow.200}",closeButton:{focusRing:{color:"{yellow.600}",shadow:"0 0 0 0 #00000000"},hoverBackground:"{yellow.100}"},detailColor:"{surface.700}"},error:{color:"{red.600}",shadow:"0 4px 8px 0 rgba(10, 3, 3, 0.04)",background:"color-mix(in srgb, {red.50}, transparent 5%)",borderColor:"{red.200}",closeButton:{focusRing:{color:"{red.600}",shadow:"0 0 0 0 #00000000"},hoverBackground:"{red.100}"},detailColor:"{surface.700}"},success:{color:"{green.600}",shadow:"0 4px 8px 0 rgba(1, 8, 4, 0.04)",background:"color-mix(in srgb, {green.50}, transparent 5%)",borderColor:"{green.200}",closeButton:{focusRing:{color:"{green.600}",shadow:"0 0 0 0 #00000000"},hoverBackground:"{green.100}"},detailColor:"{surface.700}"},contrast:{color:"{surface.50}",shadow:"0 4px 8px 0 rgba(0, 0, 1, 0.04)",background:"{surface.900}",borderColor:"{surface.950}",closeButton:{focusRing:{color:"{surface.50}",shadow:"0 0 0 0 #00000000"},hoverBackground:"{surface.800}"},detailColor:"{surface.0}"},secondary:{color:"{surface.600}",shadow:"0 4px 8px 0 rgba(4, 5, 6, 0.04)",background:"{surface.100}",borderColor:"{surface.200}",closeButton:{focusRing:{color:"{surface.600}",shadow:"0 0 0 0 #00000000"},hoverBackground:"{surface.200}"},detailColor:"{surface.700}"}}}};var ru={lg:{icon:{size:"1.5rem"},group:{offset:"-1rem"},width:"3rem",height:"3rem",fontSize:"1.5rem"},xl:{icon:{size:"2rem"},group:{offset:"-1.5rem"},width:"4rem",height:"4rem",fontSize:"2rem"},icon:{size:"1rem"},root:{color:"{content.color}",width:"2rem",height:"2rem",fontSize:"1rem",background:"{content.border.color}",borderRadius:"{content.border.radius}"},group:{offset:"-0.75rem",borderColor:"{content.background}"}};var su={root:{lg:{fontSize:"1rem",paddingX:"0.875rem",paddingY:"0.579rem",iconOnlyWidth:"2.5rem"},sm:{fontSize:"0.875rem",paddingX:"0.625rem",paddingY:"0.413rem",iconOnlyWidth:"2rem"},gap:"0.5rem",label:{fontWeight:"500"},paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",badgeSize:"1rem",focusRing:{style:"{focus.ring.style}",width:"{focus.ring.width}",offset:"{focus.ring.offset}"},borderRadius:"{form.field.border.radius}",raisedShadow:"0 3px 1px -2px rgba(0, 0, 0, 0.2),0 2px 2px 0 rgba(0, 0, 0, 0.14),0 1px 5px 0 rgba(0, 0, 0, 0.12)",iconOnlyWidth:"2.25rem",transitionDuration:"{form.field.transition.duration}",roundedBorderRadius:"2rem"},colorScheme:{dark:{link:{color:"{primary.color}",hoverColor:"{primary.color}",activeColor:"{primary.color}"},root:{help:{color:"{purple.950}",focusRing:{color:"{purple.400}",shadow:"0 0 0 0 #00000000"},background:"{purple.400}",hoverColor:"{purple.950}",activeColor:"{purple.950}",borderColor:"{purple.400}
551",hoverBackground:"{purple.300}",activeBackground:"{purple.200}",hoverBorderColor:"{purple.300}",activeBorderColor:"{purple.200}"},info:{color:"{sky.950}",focusRing:{color:"{sky.400}",shadow:"0 0 0 0 #00000000"},background:"{sky.400}",hoverColor:"{sky.950}",activeColor:"{sky.950}",borderColor:"{sky.400}",hoverBackground:"{sky.300}",activeBackground:"{sky.200}",hoverBorderColor:"{sky.300}",activeBorderColor:"{sky.200}"},warn:{color:"{orange.950}",focusRing:{color:"{orange.400}",shadow:"0 0 0 0 #00000000"},background:"{orange.400}",hoverColor:"{orange.950}",activeColor:"{orange.950}",borderColor:"{orange.400}",hoverBackground:"{orange.300}",activeBackground:"{orange.200}",hoverBorderColor:"{orange.300}",activeBorderColor:"{orange.200}"},danger:{color:"{red.950}",focusRing:{color:"{red.400}",shadow:"0 0 0 0 #00000000"},background:"{red.400}",hoverColor:"{red.950}",activeColor:"{red.950}",borderColor:"{red.400}",hoverBackground:"{red.300}",activeBackground:"{red.200}",hoverBorderColor:"{red.300}",activeBorderColor:"{red.200}"},primary:{color:"{primary.contrast.color}",focusRing:{color:"{primary.color}",shadow:"0 0 0 0 #00000000"},background:"{primary.color}",hoverColor:"{primary.contrast.color}",activeColor:"{primary.contrast.color}",borderColor:"{primary.color}",hoverBackground:"{primary.hover.color}",activeBackground:"{primary.active.color}",hoverBorderColor:"{primary.hover.color}",activeBorderColor:"{primary.active.color}"},success:{color:"{green.950}",focusRing:{color:"{green.400}",shadow:"0 0 0 0 #00000000"},background:"{green.400}",hoverColor:"{green.950}",activeColor:"{green.950}",borderColor:"{green.400}",hoverBackground:"{green.300}",activeBackground:"{green.200}",hoverBorderColor:"{green.300}",activeBorderColor:"{green.200}"},contrast:{color:"{surface.950}",focusRing:{color:"{surface.0}",shadow:"0 0 0 0 #00000000"},background:"{surface.0}",hoverColor:"{surface.950}",activeColor:"{surface.950}",borderColor:"{surface.0}",hoverBackground:"{surface.100}",activeBackground:"{surface.200}",hoverBorderColor:"{surface.100}",activeBorderColor:"{surface.200}"},secondary:{color:"{surface.300}",focusRing:{color:"{surface.300}",shadow:"0 0 0 0 #00000000"},background:"{surface.800}",hoverColor:"{surface.200}",activeColor:"{surface.100}",borderColor:"{surface.800}",hoverBackground:"{surface.700}",activeBackground:"{surface.600}",hoverBorderColor:"{surface.700}",activeBorderColor:"{surface.600}"}},text:{help:{color:"{purple.400}",hoverBackground:"color-mix(in srgb, {purple.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {purple.400}, transparent 84%)"},info:{color:"{sky.400}",hoverBackground:"color-mix(in srgb, {sky.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {sky.400}, transparent 84%)"},warn:{color:"{orange.400}",hoverBackground:"color-mix(in srgb, {orange.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {orange.400}, transparent 84%)"},plain:{color:"{surface.0}",hoverBackground:"{surface.800}",activeBackground:"{surface.700}"},danger:{color:"{red.400}",hoverBackground:"color-mix(in srgb, {red.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {red.400}, transparent 84%)"},primary:{color:"{primary.color}",hoverBackground:"color-mix(in srgb, {primary.color}, transparent 96%)",activeBackground:"color-mix(in srgb, {primary.color}, transparent 84%)"},success:{color:"{green.400}",hoverBackground:"color-mix(in srgb, {green.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {green.400}, transparent 84%)"},contrast:{color:"{surface.0}",hoverBackground:"{surface.800}",activeBackground:"{surface.700}"},secondary:{color:"{surface.400}",hoverBackground:"{surface.800}",activeBackground:"{surface.700}"}},outlined:{help:{color:"{purple.400}",borderColor:"{purple.700}",hoverBackground:"color-mix(in srgb, {purple.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {purple.400}, transparent 84%)"},info:{color:"{sky.400}",borderColor:"{sky.700}",hoverBackground:"color-mix(in srgb, {sky.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {sky.400}, transparent 84%)"},warn:{color:"{orange.400}",borderColor:"{orange.700}
551",hoverBackground:"color-mix(in srgb, {orange.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {orange.400}, transparent 84%)"},plain:{color:"{surface.0}",borderColor:"{surface.600}",hoverBackground:"{surface.800}",activeBackground:"{surface.700}"},danger:{color:"{red.400}",borderColor:"{red.700}",hoverBackground:"color-mix(in srgb, {red.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {red.400}, transparent 84%)"},primary:{color:"{primary.color}",borderColor:"{primary.700}",hoverBackground:"color-mix(in srgb, {primary.color}, transparent 96%)",activeBackground:"color-mix(in srgb, {primary.color}, transparent 84%)"},success:{color:"{green.400}",borderColor:"{green.700}",hoverBackground:"color-mix(in srgb, {green.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {green.400}, transparent 84%)"},contrast:{color:"{surface.0}",borderColor:"{surface.500}",hoverBackground:"{surface.800}",activeBackground:"{surface.700}"},secondary:{color:"{surface.400}",borderColor:"{surface.700}",hoverBackground:"rgba(255, 255, 255, 0.04)",activeBackground:"rgba(255, 255, 255, 0.16)"}}},light:{link:{color:"{primary.color}",hoverColor:"{primary.color}",activeColor:"{primary.color}"},root:{help:{color:"#ffffff",focusRing:{color:"{purple.500}",shadow:"0 0 0 0 #00000000"},background:"{purple.500}",hoverColor:"#ffffff",activeColor:"#ffffff",borderColor:"{purple.500}",hoverBackground:"{purple.600}",activeBackground:"{purple.700}",hoverBorderColor:"{purple.600}",activeBorderColor:"{purple.700}"},info:{color:"#ffffff",focusRing:{color:"{sky.500}",shadow:"0 0 0 0 #00000000"},background:"{sky.500}",hoverColor:"#ffffff",activeColor:"#ffffff",borderColor:"{sky.500}",hoverBackground:"{sky.600}",activeBackground:"{sky.700}",hoverBorderColor:"{sky.600}",activeBorderColor:"{sky.700}"},warn:{color:"#ffffff",focusRing:{color:"{orange.500}",shadow:"0 0 0 0 #00000000"},background:"{orange.500}",hoverColor:"#ffffff",activeColor:"#ffffff",borderColor:"{orange.500}",hoverBackground:"{orange.600}",activeBackground:"{orange.700}",hoverBorderColor:"{orange.600}",activeBorderColor:"{orange.700}"},danger:{color:"#ffffff",focusRing:{color:"{red.500}",shadow:"0 0 0 0 #00000000"},background:"{red.500}",hoverColor:"#ffffff",activeColor:"#ffffff",borderColor:"{red.500}",hoverBackground:"{red.600}",activeBackground:"{red.700}",hoverBorderColor:"{red.600}",activeBorderColor:"{red.700}"},primary:{color:"{primary.contrast.color}",focusRing:{color:"{primary.color}",shadow:"0 0 0 0 #00000000"},background:"{primary.color}",hoverColor:"{primary.contrast.color}",activeColor:"{primary.contrast.color}",borderColor:"{primary.color}",hoverBackground:"{primary.hover.color}",activeBackground:"{primary.active.color}",hoverBorderColor:"{primary.hover.color}",activeBorderColor:"{primary.active.color}"},success:{color:"#ffffff",focusRing:{color:"{green.500}",shadow:"0 0 0 0 #00000000"},background:"{green.500}",hoverColor:"#ffffff",activeColor:"#ffffff",borderColor:"{green.500}",hoverBackground:"{green.600}",activeBackground:"{green.700}",hoverBorderColor:"{green.600}",activeBorderColor:"{green.700}"},contrast:{color:"{surface.0}",focusRing:{color:"{surface.950}",shadow:"0 0 0 0 #00000000"},background:"{surface.950}",hoverColor:"{surface.0}",activeColor:"{surface.0}",borderColor:"{surface.950}",hoverBackground:"{surface.900}",activeBackground:"{surface.800}",hoverBorderColor:"{surface.900}",activeBorderColor:"{surface.800}"},secondary:{color:"{surface.600}",focusRing:{color:"{surface.600}",shadow:"0 0 0 0 #00000000"},background:"{surface.100}",hoverColor:"{surface.700}",activeColor:"{surface.800}",borderColor:"{surface.100}",hoverBackground:"{surface.200}",activeBackground:"{surface.300}",hoverBorderColor:"{surface.200}",activeBorderColor:"{surface.300}"}},text:{help:{color:"{purple.500}",hoverBackground:"{purple.50}",activeBackground:"{purple.100}"},info:{color:"{sky.500}",hoverBackground:"{sky.50}",activeBackground:"{sky.100}"},warn:{color:"{orange.500}",hoverBackground:"{orange.50}",activeBackground:"{orange.100}"},plain:{color:"{surface.700}
551",hoverBackground:"{surface.50}",activeBackground:"{surface.100}"},danger:{color:"{red.500}",hoverBackground:"{red.50}",activeBackground:"{red.100}"},primary:{color:"{primary.color}",hoverBackground:"{primary.50}",activeBackground:"{primary.100}"},success:{color:"{green.500}",hoverBackground:"{green.50}",activeBackground:"{green.100}"},contrast:{color:"{surface.950}",hoverBackground:"{surface.50}",activeBackground:"{surface.100}"},secondary:{color:"{surface.500}",hoverBackground:"{surface.50}",activeBackground:"{surface.100}"}},outlined:{help:{color:"{purple.500}",borderColor:"{purple.200}",hoverBackground:"{purple.50}",activeBackground:"{purple.100}"},info:{color:"{sky.500}",borderColor:"{sky.200}",hoverBackground:"{sky.50}",activeBackground:"{sky.100}"},warn:{color:"{orange.500}",borderColor:"{orange.200}",hoverBackground:"{orange.50}",activeBackground:"{orange.100}"},plain:{color:"{surface.700}",borderColor:"{surface.200}",hoverBackground:"{surface.50}",activeBackground:"{surface.100}"},danger:{color:"{red.500}",borderColor:"{red.200}",hoverBackground:"{red.50}",activeBackground:"{red.100}"},primary:{color:"{primary.color}",borderColor:"{primary.200}",hoverBackground:"{primary.50}",activeBackground:"{primary.100}"},success:{color:"{green.500}",borderColor:"{green.200}",hoverBackground:"{green.50}",activeBackground:"{green.100}"},contrast:{color:"{surface.950}",borderColor:"{surface.700}",hoverBackground:"{surface.50}",activeBackground:"{surface.100}"},secondary:{color:"{surface.500}",borderColor:"{surface.200}",hoverBackground:"{surface.50}",activeBackground:"{surface.100}"}}}}};var au={root:{color:"{overlay.modal.color}",shadow:"{overlay.modal.shadow}",background:"{overlay.modal.background}",borderColor:"{overlay.modal.border.color}",borderRadius:"{overlay.modal.border.radius}"},title:{fontSize:"1.25rem",fontWeight:"600"},footer:{gap:"0.5rem",padding:"0 {overlay.modal.padding} {overlay.modal.padding} {overlay.modal.padding}"},header:{gap:"0.5rem",padding:"{overlay.modal.padding}"},content:{padding:"0 {overlay.modal.padding} {overlay.modal.padding} {overlay.modal.padding}"}};var lu={root:{color:"{overlay.modal.color}",shadow:"{overlay.modal.shadow}",background:"{overlay.modal.background}",borderColor:"{overlay.modal.border.color}"},title:{fontSize:"1.5rem",fontWeight:"600"},footer:{padding:"{overlay.modal.padding}"},header:{padding:"{overlay.modal.padding}"},content:{padding:"0 {overlay.modal.padding} {overlay.modal.padding} {overlay.modal.padding}"}};var cu={content:{color:"{content.color}",background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}"},overlay:{color:"{overlay.select.color}",shadow:"{overlay.select.shadow}",padding:"{list.padding}",background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}"},toolbar:{background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}"},toolbarItem:{color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{primary.color}"},overlayOption:{color:"{list.option.color}",padding:"{list.option.padding}",focusColor:"{list.option.focus.color}",borderRadius:"{list.option.border.radius}",focusBackground:"{list.option.focus.background}"}};var du={icon:{size:"1rem",color:"{text.muted.color}",hoverColor:"{primary.color}",activeColor:"{primary.color}"},root:{gap:"0.25rem",focusRing:{color:"{focus.ring.color}",style:"{focus.ring.style}",width:"{focus.ring.width}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},transitionDuration:"{transition.duration}"}};var uu={colorScheme:{dark:{root:{background:"rgba(255,255,255,0.3)"}},light:{root:{background:"rgba(0,0,0,0.1)"}}}};var mu={list:{gap:"{list.gap}",header:{padding:"{list.header.padding}"},padding:"{list.padding}"},root:{lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"},sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},color:"{form.field.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",focusRing:{color:"{form.field.focus.ring.color}",style:"{form.field.focus.ring.style}",width:"{form.field.focus.ring.width}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},background:"{form.field.background}",borderColor:"{form.field.border.color}
551",borderRadius:"{form.field.border.radius}",disabledColor:"{form.field.disabled.color}",filledBackground:"{form.field.filled.background}",focusBorderColor:"{form.field.focus.border.color}",hoverBorderColor:"{form.field.hover.border.color}",placeholderColor:"{form.field.placeholder.color}",disabledBackground:"{form.field.disabled.background}",invalidBorderColor:"{form.field.invalid.border.color}",transitionDuration:"{form.field.transition.duration}",filledFocusBackground:"{form.field.filled.focus.background}",filledHoverBackground:"{form.field.filled.hover.background}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}"},option:{color:"{list.option.color}",padding:"{list.option.padding}",focusColor:"{list.option.focus.color}",borderRadius:"{list.option.border.radius}",selectedColor:"{list.option.selected.color}",focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusColor:"{list.option.selected.focus.color}",selectedFocusBackground:"{list.option.selected.focus.background}"},overlay:{color:"{overlay.select.color}",shadow:"{overlay.select.shadow}",background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}"},dropdown:{color:"{form.field.icon.color}",width:"2.5rem"},checkmark:{color:"{list.option.color}",gutterEnd:"0.375rem",gutterStart:"-0.375rem"},clearIcon:{color:"{form.field.icon.color}"},optionGroup:{color:"{list.option.group.color}",padding:"{list.option.group.padding}",background:"{list.option.group.background}",fontWeight:"{list.option.group.font.weight}"},emptyMessage:{padding:"{list.option.padding}"}};var pu={root:{transitionDuration:"{transition.duration}"},range:{background:"{primary.color}"},track:{size:"3px",background:"{content.border.color}",borderRadius:"{content.border.radius}"},handle:{width:"20px",height:"20px",content:{width:"16px",height:"16px",shadow:"0 0.5px 0 0 rgba(0, 0, 0, 0.08),0 1px 1px 0 rgba(0, 0, 0, 0.14)",borderRadius:"50%",hoverBackground:"{content.background}"},focusRing:{color:"{focus.ring.color}",style:"{focus.ring.style}",width:"{focus.ring.width}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},background:"{content.border.color}",borderRadius:"50%",hoverBackground:"{content.border.color}"},colorScheme:{dark:{handle:{content:{background:"{surface.950}"}}},light:{handle:{content:{background:"{surface.0}"}}}}};var fu={root:{borderRadius:"{content.border.radius}"}};var hu={root:{borderColor:"{content.border.color}"},content:{color:"{text.color}",background:"{content.background}"},vertical:{margin:"0 1rem",content:{padding:"0.15rem 0"},padding:"0"},horizontal:{margin:"1rem 0",content:{padding:"0 0.5rem"},padding:"0"}};var gu={root:{padding:"{form.field.padding.y} {form.field.padding.x}",focusRing:{color:"{focus.ring.color}",style:"{focus.ring.style}",width:"{focus.ring.width}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},borderRadius:"{content.border.radius}",transitionDuration:"{transition.duration}"},display:{hoverColor:"{content.hover.color}",hoverBackground:"{content.hover.background}"}};var bu={list:{gap:"{list.gap}",header:{padding:"{list.header.padding}"},padding:"{list.padding}"},root:{color:"{form.field.color}",shadow:"{form.field.shadow}",background:"{form.field.background}",borderColor:"{form.field.border.color}",borderRadius:"{form.field.border.radius}",disabledColor:"{form.field.disabled.color}",disabledBackground:"{form.field.disabled.background}",invalidBorderColor:"{form.field.invalid.border.color}",transitionDuration:"{form.field.transition.duration}"},option:{color:"{list.option.color}",padding:"{list.option.padding}",focusColor:"{list.option.focus.color}",borderRadius:"{list.option.border.radius}",selectedColor:"{list.option.selected.color}",focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusColor:"{list.option.selected.focus.color}",selectedFocusBackground:"{list.option.selected.focus.background}"},checkmark:{color:"{list.option.color}",gutterEnd:"0.375rem",gutterStart:"-0.375rem"}
551,colorScheme:{dark:{option:{stripedBackground:"{surface.900}"}},light:{option:{stripedBackground:"{surface.50}"}}},optionGroup:{color:"{list.option.group.color}",padding:"{list.option.group.padding}",background:"{list.option.group.background}",fontWeight:"{list.option.group.font.weight}"},emptyMessage:{padding:"{list.option.padding}"}};var vu={item:{gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}",activeColor:"{navigation.item.icon.active.color}"},color:"{navigation.item.color}",padding:"{navigation.item.padding}",focusColor:"{navigation.item.focus.color}",activeColor:"{navigation.item.active.color}",borderRadius:"{navigation.item.border.radius}",focusBackground:"{navigation.item.focus.background}",activeBackground:"{navigation.item.active.background}"},root:{gap:"0.5rem",color:"{content.color}",padding:"0.5rem 0.75rem",background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",transitionDuration:"{transition.duration}"},submenu:{gap:"{navigation.list.gap}",icon:{size:"{navigation.submenu.icon.size}",color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}",activeColor:"{navigation.submenu.icon.active.color}"},shadow:"{overlay.navigation.shadow}",padding:"{navigation.list.padding}",background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",mobileIndent:"1rem"},baseItem:{padding:"{navigation.item.padding}",borderRadius:"{content.border.radius}"},separator:{borderColor:"{content.border.color}"},mobileButton:{size:"1.75rem",color:"{text.muted.color}",focusRing:{color:"{focus.ring.color}",style:"{focus.ring.style}",width:"{focus.ring.width}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},hoverColor:"{text.hover.muted.color}",borderRadius:"50%",hoverBackground:"{content.hover.background}"}};var _u={icon:{lg:{size:"1.25rem"},sm:{size:"1rem"},size:"1.125rem"},root:{borderWidth:"1px",borderRadius:"{content.border.radius}",transitionDuration:"{transition.duration}"},text:{lg:{fontSize:"1.125rem"},sm:{fontSize:"0.875rem"},fontSize:"1rem",fontWeight:"500"},simple:{content:{padding:"0"}},content:{lg:{padding:"0.625rem 0.875rem"},sm:{padding:"0.375rem 0.625rem"},gap:"0.5rem",padding:"0.5rem 0.75rem"},outlined:{root:{borderWidth:"1px"}},closeIcon:{lg:{size:"1.125rem"},sm:{size:"0.875rem"},size:"1rem"},closeButton:{width:"1.75rem",height:"1.75rem",focusRing:{style:"{focus.ring.style}",width:"{focus.ring.width}",offset:"{focus.ring.offset}"},borderRadius:"50%"},colorScheme:{dark:{info:{color:"{blue.500}",shadow:"0 4px 8px 0 rgba(2, 5, 10, 0.04)",simple:{color:"{blue.500}"},outlined:{color:"{blue.500}",borderColor:"{blue.500}"},background:"color-mix(in srgb, {blue.500}, transparent 84%)",borderColor:"color-mix(in srgb, {blue.700}, transparent 64%)",closeButton:{focusRing:{color:"{blue.500}",shadow:"none"},hoverBackground:"rgba(255, 255, 255, 0.05)"}},warn:{color:"{yellow.500}",shadow:"0 4px 8px 0 rgba(9, 7, 0, 0.04)",simple:{color:"{yellow.500}"},outlined:{color:"{yellow.500}",borderColor:"{yellow.500}"},background:"color-mix(in srgb, {yellow.500}, transparent 84%)",borderColor:"color-mix(in srgb, {yellow.700}, transparent 64%)",closeButton:{focusRing:{color:"{yellow.500}",shadow:"none"},hoverBackground:"rgba(255, 255, 255, 0.05)"}},error:{color:"{red.500}",shadow:"0 4px 8px 0 rgba(10, 3, 3, 0.04)",simple:{color:"{red.500}"},outlined:{color:"{red.500}",borderColor:"{red.500}"},background:"color-mix(in srgb, {red.500}, transparent 84%)",borderColor:"color-mix(in srgb, {red.700}, transparent 64%)",closeButton:{focusRing:{color:"{red.500}",shadow:"none"},hoverBackground:"rgba(255, 255, 255, 0.05)"}},success:{color:"{green.500}",shadow:"0 4px 8px 0 rgba(1, 8, 4, 0.04)",simple:{color:"{green.500}"},outlined:{color:"{green.500}",borderColor:"{green.500}"},background:"color-mix(in srgb, {green.500}, transparent 84%)",borderColor:"color-mix(in srgb, {green.700}, transparent 64%)",closeButton:{focusRing:{color:"{green.500}",shadow:"none"}
551,hoverBackground:"rgba(255, 255, 255, 0.05)"}},contrast:{color:"{surface.950}",shadow:"0 4px 8px 0 rgba(0, 0, 1, 0.04)",simple:{color:"{surface.0}"},outlined:{color:"{surface.0}",borderColor:"{surface.0}"},background:"{surface.0}",borderColor:"{surface.100}",closeButton:{focusRing:{color:"{surface.950}",shadow:"none"},hoverBackground:"{surface.100}"}},secondary:{color:"{surface.300}",shadow:"0 4px 8px 0 rgba(4, 5, 6, 0.04)",simple:{color:"{surface.400}"},outlined:{color:"{surface.400}",borderColor:"{surface.400}"},background:"{surface.800}",borderColor:"{surface.700}",closeButton:{focusRing:{color:"{surface.300}",shadow:"none"},hoverBackground:"{surface.700}"}}},light:{info:{color:"{blue.600}",shadow:"0 4px 8px 0 rgba(2, 5, 10, 0.04)",simple:{color:"{blue.600}"},outlined:{color:"{blue.600}",borderColor:"{blue.600}"},background:"color-mix(in srgb, {blue.50}, transparent 5%)",borderColor:"{blue.200}",closeButton:{focusRing:{color:"{blue.600}",shadow:"0 0 0 0 #00000000"},hoverBackground:"{blue.100}"}},warn:{color:"{yellow.600}",shadow:"0 4px 8px 0 rgba(9, 7, 0, 0.04)",simple:{color:"{yellow.600}"},outlined:{color:"{yellow.600}",borderColor:"{yellow.600}"},background:"color-mix(in srgb, {yellow.50}, transparent 5%)",borderColor:"{yellow.200}",closeButton:{focusRing:{color:"{yellow.600}",shadow:"0 0 0 0 #00000000"},hoverBackground:"{yellow.100}"}},error:{color:"{red.600}",shadow:"0 4px 8px 0 rgba(10, 3, 3, 0.04)",simple:{color:"{red.600}"},outlined:{color:"{red.600}",borderColor:"{red.600}"},background:"color-mix(in srgb, {red.50}, transparent 5%)",borderColor:"{red.200}",closeButton:{focusRing:{color:"{red.600}",shadow:"0 0 0 0 #00000000"},hoverBackground:"{red.100}"}},success:{color:"{green.600}",shadow:"0 4px 8px 0 rgba(1, 8, 4, 0.04)",simple:{color:"{green.600}"},outlined:{color:"{green.600}",borderColor:"{green.600}"},background:"color-mix(in srgb, {green.50}, transparent 5%)",borderColor:"{green.200}",closeButton:{focusRing:{color:"{green.600}",shadow:"0 0 0 0 #00000000"},hoverBackground:"{green.100}"}},contrast:{color:"{surface.50}",shadow:"0 4px 8px 0 rgba(0, 0, 1, 0.04)",simple:{color:"{surface.950}"},outlined:{color:"{surface.950}",borderColor:"{surface.950}"},background:"{surface.900}",borderColor:"{surface.950}",closeButton:{focusRing:{color:"{surface.50}",shadow:"0 0 0 0 #00000000"},hoverBackground:"{surface.800}"}},secondary:{color:"{surface.600}",shadow:"0 4px 8px 0 rgba(4, 5, 6, 0.04)",simple:{color:"{surface.500}"},outlined:{color:"{surface.500}",borderColor:"{surface.500}"},background:"{surface.100}",borderColor:"{surface.200}",closeButton:{focusRing:{color:"{surface.600}",shadow:"0 0 0 0 #00000000"},hoverBackground:"{surface.200}"}}}}};var Cu={root:{color:"{overlay.popover.color}",gutter:"10px",shadow:"{overlay.popover.shadow}",background:"{overlay.popover.background}",arrowOffset:"1.25rem",borderColor:"{overlay.popover.border.color}",borderRadius:"{overlay.popover.border.radius}"},content:{padding:"{overlay.popover.padding}"}};var yu={root:{transitionDuration:"{transition.duration}"},step:{gap:"1rem",padding:"0.5rem"},separator:{size:"2px",margin:"0 0 0 1rem",background:"{content.border.color}",activeBackground:"{primary.color}"},stepTitle:{color:"{text.muted.color}",fontWeight:"500",activeColor:"{primary.color}"},steppanel:{color:"{content.color}",indent:"1rem",padding:"0",background:"{content.background}"},stepHeader:{gap:"0.5rem",padding:"0",focusRing:{color:"{focus.ring.color}",style:"{focus.ring.style}",width:"{focus.ring.width}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},borderRadius:"{content.border.radius}"},stepNumber:{size:"2rem",color:"{text.muted.color}",shadow:"0 0.5px 0 0 rgba(0, 0, 0, 0.06),0 1px 1px 0 rgba(0, 0, 0, 0.12)",fontSize:"1.143rem",background:"{content.background}",fontWeight:"500",activeColor:"{primary.color}",borderColor:"{content.border.color}",borderRadius:"50%",activeBackground:"{content.background}",activeBorderColor:"{content.border.color}"},steppanels:{padding:"0.875rem 0.5rem 1.125rem 0.5rem"}};var Su={root:{gap:"0.5rem",color:"{content.color}",padding:"0.75rem",background:"{content.background}",borderColor:"{content.border.color}
551",borderRadius:"{content.border.radius}"}};var ku={root:{gutter:"0.25rem",shadow:"{overlay.popover.shadow}",padding:"0.5rem 0.75rem",maxWidth:"12.5rem",borderRadius:"{overlay.popover.border.radius}"},colorScheme:{dark:{root:{color:"{surface.0}",background:"{surface.700}"}},light:{root:{color:"{surface.0}",background:"{surface.700}"}}}};var wu={root:{transitionDuration:"{transition.duration}"},content:{gap:"0.25rem"},indicator:{width:"2rem",height:"0.5rem",focusRing:{color:"{focus.ring.color}",style:"{focus.ring.style}",width:"{focus.ring.width}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},borderRadius:"{content.border.radius}"},colorScheme:{dark:{indicator:{background:"{surface.700}",hoverBackground:"{surface.600}",activeBackground:"{primary.color}"}},light:{indicator:{background:"{surface.200}",hoverBackground:"{surface.300}",activeBackground:"{primary.color}"}}},indicatorList:{gap:"0.5rem",padding:"1rem"}};var xu={icon:{lg:{size:"1rem"},sm:{size:"0.75rem"},size:"0.875rem",color:"{form.field.color}",checkedColor:"{primary.contrast.color}",disabledColor:"{form.field.disabled.color}",checkedHoverColor:"{primary.contrast.color}"},root:{lg:{width:"1.5rem",height:"1.5rem"}
551,sm:{width:"1rem",height:"1rem"},width:"1.25rem",height:"1.25rem",shadow:"{form.field.shadow}",focusRing:{color:"{focus.ring.color}",style:"{focus.ring.style}",width:"{focus.ring.width}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},background:"{form.field.background}",borderColor:"{form.field.border.color}",borderRadius:"{border.radius.sm}",filledBackground:"{form.field.filled.background}",focusBorderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",checkedBackground:"{primary.color}",checkedBorderColor:"{primary.color}",disabledBackground:"{form.field.disabled.background}",invalidBorderColor:"{form.field.invalid.border.color}",transitionDuration:"{form.field.transition.duration}",checkedHoverBackground:"{primary.hover.color}",checkedFocusBorderColor:"{primary.color}",checkedHoverBorderColor:"{primary.hover.color}",checkedDisabledBorderColor:"{form.field.border.color}"}};var Tu={root:{padding:"0",borderColor:"transparent",borderWidth:"0",borderRadius:"0"},footer:{color:"{content.color}",padding:"0.75rem 1rem",background:"{content.background}",borderColor:"{content.border.color}",borderWidth:"1px",borderRadius:"0"},header:{color:"{content.color}",padding:"0.75rem 1rem",background:"{content.background}",borderColor:"{content.border.color}",borderWidth:"1px",borderRadius:"0"},content:{color:"{content.color}",padding:"0",background:"{content.background}",borderColor:"transparent",borderWidth:"0",borderRadius:"0"},paginatorTop:{borderColor:"{content.border.color}",borderWidth:"1px"},paginatorBottom:{borderColor:"{content.border.color}",borderWidth:"1px"}};var Mu={root:{color:"{content.color}",padding:"1.125rem 1.125rem 1.125rem 1.125rem",background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",transitionDuration:"{transition.duration}"},legend:{gap:"0.5rem",color:"{content.color}",padding:"0.5rem 0.75rem",focusRing:{color:"{focus.ring.color}",style:"{focus.ring.style}",width:"{focus.ring.width}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},background:"{content.background}",fontWeight:"600",hoverColor:"{content.hover.color}",borderColor:"transparent",borderWidth:"1px",borderRadius:"{content.border.radius}",hoverBackground:"{content.hover.background}"},content:{padding:"0"},toggleIcon:{color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}"}};var Eu={root:{borderColor:"{content.border.color}",borderWidth:"1px",borderRadius:"{content.border.radius}",transitionDuration:"{transition.duration}"},caption:{color:"{surface.100}",padding:"1rem",background:"rgba(0, 0, 0, 0.5)"},navIcon:{size:"1.5rem"},navButton:{next:{borderRadius:"50%"},prev:{borderRadius:"50%"},size:"3rem",color:"{surface.100}",gutter:"0.5rem",focusRing:{color:"{focus.ring.color}",style:"{focus.ring.style}",width:"{focus.ring.width}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},background:"rgba(255, 255, 255, 0.1)",hoverColor:"{surface.0}",hoverBackground:"rgba(255, 255, 255, 0.2)"},closeButton:{size:"3rem",color:"{surface.50}",gutter:"0.5rem",focusRing:{color:"{focus.ring.color}",style:"{focus.ring.style}",width:"{focus.ring.width}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},background:"rgba(255, 255, 255, 0.1)",hoverColor:"{surface.0}",borderRadius:"50%",hoverBackground:"rgba(255, 255, 255, 0.2)"},colorScheme:{dark:{indicatorButton:{background:"{surface.700}",hoverBackground:"{surface.600}"},thumbnailNavButton:{color:"{surface.400}",hoverColor:"{surface.0}",hoverBackground:"{surface.700}"}},light:{indicatorButton:{background:"{surface.200}",hoverBackground:"{surface.300}"},thumbnailNavButton:{color:"{surface.600}",hoverColor:"{surface.700}",hoverBackground:"{surface.100}"}}},indicatorList:{gap:"0.5rem",padding:"1rem"},closeButtonIcon:{size:"1.5rem"}
551,indicatorButton:{width:"1rem",height:"1rem",focusRing:{color:"{focus.ring.color}",style:"{focus.ring.style}",width:"{focus.ring.width}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},borderRadius:"50%",activeBackground:"{primary.color}"},thumbnailsContent:{padding:"1rem 0.25rem",background:"{content.background}"},insetIndicatorList:{background:"rgba(0, 0, 0, 0.5)"},thumbnailNavButton:{size:"2rem",gutter:"0.5rem",focusRing:{color:"{focus.ring.color}",style:"{focus.ring.style}",width:"{focus.ring.width}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},borderRadius:"{content.border.radius}"},insetIndicatorButton:{background:"rgba(255, 255, 255, 0.4)",hoverBackground:"rgba(255, 255, 255, 0.6)",activeBackground:"rgba(255, 255, 255, 0.9)"},thumbnailNavButtonIcon:{size:"1rem"}};var Bu={root:{gap:"0.5rem"},input:{lg:{width:"3rem"},sm:{width:"2rem"},width:"2.5rem"}};var Iu={item:{gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}",activeColor:"{navigation.item.icon.active.color}"},color:"{navigation.item.color}",padding:"{navigation.item.padding}",focusColor:"{navigation.item.focus.color}",activeColor:"{navigation.item.active.color}",borderRadius:"{navigation.item.border.radius}",focusBackground:"{navigation.item.focus.background}",activeBackground:"{navigation.item.active.background}"},root:{gap:"0.5rem",color:"{content.color}",background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",transitionDuration:"{transition.duration}",verticalOrientation:{gap:"{navigation.list.gap}",padding:"{navigation.list.padding}"},horizontalOrientation:{gap:"0.5rem",padding:"0.5rem 0.75rem"}},overlay:{gap:"0.5rem",color:"{content.color}",shadow:"{overlay.navigation.shadow}",padding:"0",background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}"},submenu:{gap:"{navigation.list.gap}",padding:"{navigation.list.padding}"},baseItem:{padding:"{navigation.item.padding}",borderRadius:"{content.border.radius}"},separator:{borderColor:"{content.border.color}"},submenuIcon:{size:"{navigation.submenu.icon.size}",color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}",activeColor:"{navigation.submenu.icon.active.color}"},mobileButton:{size:"1.75rem",color:"{text.muted.color}",focusRing:{color:"{focus.ring.color}",style:"{focus.ring.style}",width:"{focus.ring.width}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},hoverColor:"{text.hover.muted.color}",borderRadius:"50%",hoverBackground:"{content.hover.background}"},submenuLabel:{color:"{navigation.submenu.label.color}",padding:"{navigation.submenu.label.padding}",background:"{navigation.submenu.label.background}",fontWeight:"{navigation.submenu.label.font.weight}"}};var Au={icon:{color:"{form.field.icon.color}"},meter:{height:"0.75rem",background:"{content.border.color}",borderRadius:"{content.border.radius}"},content:{gap:"0.5rem"},overlay:{color:"{overlay.popover.color}",shadow:"{overlay.popover.shadow}",padding:"{overlay.popover.padding}",background:"{overlay.popover.background}",borderColor:"{overlay.popover.border.color}",borderRadius:"{overlay.popover.border.radius}"},colorScheme:{dark:{strength:{mediumBackground:"{amber.400}",strongBackground:"{green.400}"}},light:{strength:{weakBackground:"{red.500}",mediumBackground:"{amber.500}",strongBackground:"{green.500}"}}}};var Du={root:{gap:"1.125rem"},controls:{gap:"0.5rem"}};var Ru={root:{borderRadius:"{content.border.radius}"},colorScheme:{dark:{root:{background:"rgba(255, 255, 255, 0.06)",animationBackground:"rgba(255, 255, 255, 0.04)"}},light:{root:{background:"{surface.200}",animationBackground:"rgba(255,255,255,0.4)"}}}};var Fu={root:{color:"{content.color}",background:"{content.background}",borderColor:"{content.border.color}",transitionDuration:"{transition.duration}"},gutter:{background:"{content.border.color}"},handle:{size:"24px",focusRing:{color:"{focus.ring.color}",style:"{focus.ring.style}",width:"{focus.ring.width}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}
551,background:"transparent",borderRadius:"{content.border.radius}"}};var Pu={root:{color:"{form.field.color}",height:"18rem",padding:"{form.field.padding.y} {form.field.padding.x}",background:"{form.field.background}",borderColor:"{form.field.border.color}",borderRadius:"{form.field.border.radius}"},prompt:{gap:"0.25rem"},commandResponse:{margin:"2px 0"}};var Nu={root:{lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"},sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},color:"{form.field.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",focusRing:{color:"{form.field.focus.ring.color}",style:"{form.field.focus.ring.style}",width:"{form.field.focus.ring.width}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},background:"{form.field.background}",borderColor:"{form.field.border.color}",borderRadius:"{form.field.border.radius}",disabledColor:"{form.field.disabled.color}",filledBackground:"{form.field.filled.background}",focusBorderColor:"{form.field.focus.border.color}",hoverBorderColor:"{form.field.hover.border.color}",placeholderColor:"{form.field.placeholder.color}",disabledBackground:"{form.field.disabled.background}",invalidBorderColor:"{form.field.invalid.border.color}",transitionDuration:"{form.field.transition.duration}",filledFocusBackground:"{form.field.filled.focus.background}",filledHoverBackground:"{form.field.filled.hover.background}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}"}};var Lu={event:{minHeight:"5rem"},vertical:{eventContent:{padding:"0 1rem"}},horizontal:{eventContent:{padding:"1rem 0"}},eventMarker:{size:"1.125rem",content:{size:"0.375rem",background:"{primary.color}",insetShadow:"0 0.5px 0 0 rgba(0, 0, 0, 0.06),0 1px 1px 0 rgba(0, 0, 0, 0.12)",borderRadius:"50%"},background:"{content.background}",borderColor:"{content.border.color}",borderWidth:"2px",borderRadius:"50%"},eventConnector:{size:"2px",color:"{content.border.color}"}};var Ou={root:{transitionDuration:"{transition.duration}"},panel:{borderColor:"{content.border.color}",borderWidth:"1px"},header:{last:{bottomBorderRadius:"{content.border.radius}",activeBottomBorderRadius:"0"},color:"{text.muted.color}",first:{borderWidth:"0",topBorderRadius:"{content.border.radius}"},padding:"1.125rem",focusRing:{color:"{focus.ring.color}",style:"{focus.ring.style}",width:"{focus.ring.width}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},background:"{content.background}",fontWeight:"600",hoverColor:"{text.color}",toggleIcon:{color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{text.color}",activeHoverColor:"{text.color}"},activeColor:"{text.color}",borderColor:"{content.border.color}",borderWidth:"0",borderRadius:"0",hoverBackground:"{content.background}",activeBackground:"{content.background}",activeHoverBackground:"{content.background}"},content:{color:"{text.color}",padding:"0 1.125rem 1.125rem 1.125rem",background:"{content.background}",borderColor:"{content.border.color}",borderWidth:"0"}};var Vu={row:{color:"{content.color}",focusRing:{color:"{focus.ring.color}",style:"{focus.ring.style}",width:"{focus.ring.width}",offset:"-1px",shadow:"{focus.ring.shadow}"},background:"{content.background}",hoverColor:"{content.hover.color}",selectedColor:"{highlight.color}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}"},root:{transitionDuration:"{transition.duration}"},filter:{rule:{borderColor:"{content.border.color}"},inlineGap:"0.5rem",constraint:{color:"{list.option.color}",padding:"{list.option.padding}",separator:{borderColor:"{content.border.color}"},focusColor:"{list.option.focus.color}",borderRadius:"{list.option.border.radius}",selectedColor:"{list.option.selected.color}",focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusColor:"{list.option.selected.focus.color}
551",selectedFocusBackground:"{list.option.selected.focus.background}"},overlaySelect:{color:"{overlay.select.color}",shadow:"{overlay.select.shadow}",background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}"},constraintList:{gap:"{list.gap}",padding:"{list.padding}"},overlayPopover:{gap:"0.5rem",color:"{overlay.popover.color}",shadow:"{overlay.popover.shadow}",padding:"{overlay.popover.padding}",background:"{overlay.popover.background}",borderColor:"{overlay.popover.border.color}",borderRadius:"{overlay.popover.border.radius}"}},footer:{lg:{padding:"1rem 1.25rem"},sm:{padding:"0.375rem 0.5rem"},color:"{content.color}",padding:"0.75rem 1rem",background:"{content.background}",borderColor:"{datatable.border.color}",borderWidth:"1px"},header:{lg:{padding:"1rem 1.25rem"},sm:{padding:"0.375rem 0.5rem"},color:"{content.color}",padding:"0.75rem 1rem",background:"{content.background}",borderColor:"{datatable.border.color}",borderWidth:"1px"},bodyCell:{lg:{padding:"1rem 1.25rem"},sm:{padding:"0.375rem 0.5rem"},padding:"0.75rem 1rem",borderColor:"{datatable.border.color}"},sortIcon:{size:"0.875rem",color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}"},dropPoint:{color:"{primary.color}"},footerCell:{lg:{padding:"1rem 1.25rem"},sm:{padding:"0.375rem 0.5rem"},color:"{content.color}",padding:"0.75rem 1rem",background:"{content.background}",borderColor:"{datatable.border.color}"},headerCell:{lg:{padding:"1rem 1.25rem"},sm:{padding:"0.375rem 0.5rem"},gap:"0.5rem",color:"{content.color}",padding:"0.75rem 1rem",focusRing:{color:"{focus.ring.color}",style:"{focus.ring.style}",width:"{focus.ring.width}",offset:"-1px",shadow:"{focus.ring.shadow}"},background:"{content.background}",hoverColor:"{content.hover.color}",borderColor:"{datatable.border.color}",selectedColor:"{highlight.color}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}"},colorScheme:{dark:{row:{stripedBackground:"{surface.950}"},root:{borderColor:"{surface.800}"},bodyCell:{selectedBorderColor:"{primary.900}"}},light:{row:{stripedBackground:"{surface.50}"},root:{borderColor:"{content.border.color}"},bodyCell:{selectedBorderColor:"{primary.100}"}}},columnTitle:{fontWeight:"600"},loadingIcon:{size:"2rem"},columnFooter:{fontWeight:"600"},paginatorTop:{borderColor:"{datatable.border.color}",borderWidth:"1px"},columnResizer:{width:"0.5rem"},paginatorBottom:{borderColor:"{datatable.border.color}",borderWidth:"1px"},resizeIndicator:{color:"{primary.color}",width:"1px"},rowToggleButton:{size:"1.75rem",color:"{text.muted.color}",focusRing:{color:"{focus.ring.color}",style:"{focus.ring.style}",width:"{focus.ring.width}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},hoverColor:"{text.color}",borderRadius:"50%",hoverBackground:"{content.hover.background}",selectedHoverColor:"{primary.color}",selectedHoverBackground:"{content.background}"}};var Uu={icon:{color:"{form.field.icon.color}"}};var zu={root:{top:"{form.field.padding.y}",color:"{form.field.float.label.color}",fontSize:"0.75rem",positionX:"{form.field.padding.x}",focusColor:"{form.field.float.label.focus.color}",fontWeight:"400",invalidColor:"{form.field.float.label.invalid.color}",transitionDuration:"0.2s"},input:{paddingTop:"1.5rem",paddingBottom:"{form.field.padding.y}"}};var Hu={root:{lg:{fontSize:"0.875rem",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"},sm:{fontSize:"0.875rem",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},color:"{form.field.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",focusRing:{color:"{form.field.focus.ring.color}",style:"{form.field.focus.ring.style}",width:"{form.field.focus.ring.width}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},background:"{form.field.background}",borderColor:"{form.field.border.color}",borderRadius:"{form.field.border.radius}",disabledColor:"{form.field.disabled.color}",filledBackground:"{form.field.filled.background}",focusBorderColor:"{form.field.focus.border.color}",hoverBorderColor:"{form.field.hover.border.color}",placeholderColor:"{form.field.placeholder.color}
551",disabledBackground:"{form.field.disabled.background}",invalidBorderColor:"{form.field.invalid.border.color}",transitionDuration:"{form.field.transition.duration}",filledFocusBackground:"{form.field.filled.focus.background}",filledHoverBackground:"{form.field.filled.hover.background}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}"}};var ju={root:{gap:"1.125rem"},controls:{gap:"0.5rem"}};var Wu={root:{gap:"0.25rem",color:"{content.color}",padding:"0.5rem 1rem",background:"{content.background}",borderRadius:"{content.border.radius}",transitionDuration:"{transition.duration}"},navButton:{color:"{text.muted.color}",width:"2.5rem",height:"2.5rem",focusRing:{color:"{focus.ring.color}",style:"{focus.ring.style}",width:"{focus.ring.width}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},background:"transparent",hoverColor:"{text.hover.muted.color}",borderRadius:"50%",selectedColor:"{highlight.color}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}"},jumpToPageInput:{maxWidth:"2.5rem"},currentPageReport:{color:"{text.muted.color}"}};var Gu={item:{gap:"0.5rem",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}"},color:"{navigation.item.color}",padding:"{navigation.item.padding}",focusColor:"{navigation.item.focus.color}",borderRadius:"{content.border.radius}",focusBackground:"{navigation.item.focus.background}"},root:{gap:"0.5rem",transitionDuration:"{transition.duration}"},panel:{last:{borderWidth:"1px",bottomBorderRadius:"{content.border.radius}"},color:"{content.color}",first:{borderWidth:"1px",topBorderRadius:"{content.border.radius}"},padding:"0.25rem 0.25rem",background:"{content.background}",borderColor:"{content.border.color}",borderWidth:"1px",borderRadius:"{content.border.radius}"},submenu:{indent:"1rem"},submenuIcon:{color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}"}};var qu={root:{gap:"0.5rem",transitionDuration:"{transition.duration}"}};var Qu={row:{color:"{content.color}",focusRing:{color:"{focus.ring.color}",style:"{focus.ring.style}",width:"{focus.ring.width}",offset:"-1px",shadow:"{focus.ring.shadow}"},background:"{content.background}",hoverColor:"{content.hover.color}",selectedColor:"{highlight.color}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}"},root:{transitionDuration:"{transition.duration}"},footer:{color:"{content.color}",padding:"0.75rem 1rem",background:"{content.background}",borderColor:"{treetable.border.color}",borderWidth:"1px"},header:{color:"{content.color}",padding:"0.75rem 1rem",background:"{content.background}",borderColor:"{treetable.border.color}",borderWidth:"1px"},bodyCell:{gap:"0.5rem",padding:"0.75rem 1rem",borderColor:"{treetable.border.color}"},sortIcon:{size:"0.875rem",color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}"},footerCell:{color:"{content.color}",padding:"0.75rem 1rem",background:"{content.background}",borderColor:"{treetable.border.color}"},headerCell:{gap:"0.5rem",color:"{content.color}",padding:"0.75rem 1rem",focusRing:{color:"{focus.ring.color}",style:"{focus.ring.style}",width:"{focus.ring.width}",offset:"-1px",shadow:"{focus.ring.shadow}"},background:"{content.background}",hoverColor:"{content.hover.color}",borderColor:"{treetable.border.color}",selectedColor:"{highlight.color}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}"},colorScheme:{dark:{root:{borderColor:"{surface.800}"},bodyCell:{selectedBorderColor:"{primary.900}"}},light:{root:{borderColor:"{content.border.color}"},bodyCell:{selectedBorderColor:"{primary.100}"}}},columnTitle:{fontWeight:"600"},loadingIcon:{size:"2rem"},columnFooter:{fontWeight:"600"},paginatorTop:{borderColor:"{content.border.color}",borderWidth:"1px"},columnResizer:{width:"0.5rem"},paginatorBottom:{borderColor:"{content.border.color}",borderWidth:"1px"},resizeIndicator:{color:"{primary.color}",width:"1px"},nodeToggleButton:{size:"1.75rem",color:"{text.muted.color}",focusRing:{color:"{focus.ring.color}",style:"{focus.ring.style}",width:"{focus.ring.width}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},hoverColor:"{text.color}
551",borderRadius:"50%",hoverBackground:"{content.hover.background}",selectedHoverColor:"{primary.color}",selectedHoverBackground:"{content.background}"}};var Yu={item:{gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",hoverColor:"{navigation.item.icon.focus.color}"},color:"{text.muted.color}",focusRing:{color:"{focus.ring.color}",style:"{focus.ring.style}",width:"{focus.ring.width}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},hoverColor:"{text.color}",borderRadius:"{content.border.radius}"},root:{gap:"0.5rem",padding:"1rem",background:"{content.background}",transitionDuration:"{transition.duration}"},separator:{color:"{navigation.item.icon.color}"}};var $u={date:{color:"{content.color}",width:"2rem",height:"2rem",padding:"0.25rem",focusRing:{color:"{focus.ring.color}",style:"{focus.ring.style}",width:"{focus.ring.width}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},hoverColor:"{content.hover.color}",borderRadius:"50%",selectedColor:"{primary.contrast.color}",hoverBackground:"{content.hover.background}",rangeSelectedColor:"{highlight.color}",selectedBackground:"{primary.color}",rangeSelectedBackground:"{highlight.background}"},root:{transitionDuration:"{transition.duration}"},year:{padding:"0.375rem",borderRadius:"{content.border.radius}"},group:{gap:"{overlay.popover.padding}",borderColor:"{content.border.color}"},month:{padding:"0.375rem",borderRadius:"{content.border.radius}"},panel:{color:"{content.color}",shadow:"{overlay.popover.shadow}",padding:"{overlay.popover.padding}",background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}"},title:{gap:"0.5rem",fontWeight:"500"},header:{color:"{content.color}",padding:"0 0 0.5rem 0",background:"{content.background}",borderColor:"{content.border.color}"},dayView:{margin:"0.5rem 0 0 0"},weekDay:{color:"{content.color}",padding:"0.25rem",fontWeight:"500"},dropdown:{lg:{width:"3rem"},sm:{width:"2rem"},width:"2.5rem",focusRing:{color:"{focus.ring.color}",style:"{focus.ring.style}",width:"{focus.ring.width}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},borderColor:"{form.field.border.color}",borderRadius:"{form.field.border.radius}",hoverBorderColor:"{form.field.border.color}",activeBorderColor:"{form.field.border.color}"},yearView:{margin:"0.5rem 0 0 0"},buttonbar:{padding:"0.5rem 0 0 0",borderColor:"{content.border.color}"},inputIcon:{color:"{form.field.icon.color}"},monthView:{margin:"0.5rem 0 0 0"},selectYear:{color:"{content.color}",padding:"0.25rem 0.5rem",hoverColor:"{content.hover.color}",borderRadius:"{content.border.radius}",hoverBackground:"{content.hover.background}"},timePicker:{gap:"0.5rem",padding:"0.5rem 0 0 0",buttonGap:"0.25rem",borderColor:"{content.border.color}"},colorScheme:{dark:{today:{color:"{surface.0}",background:"{surface.700}"},dropdown:{color:"{surface.300}",background:"{surface.800}",hoverColor:"{surface.200}",activeColor:"{surface.100}",hoverBackground:"{surface.700}",activeBackground:"{surface.600}"}},light:{today:{color:"{surface.900}",background:"{surface.200}"},dropdown:{color:"{surface.600}",background:"{surface.100}",hoverColor:"{surface.700}",activeColor:"{surface.800}",hoverBackground:"{surface.200}",activeBackground:"{surface.300}"}}},selectMonth:{color:"{content.color}",padding:"0.25rem 0.5rem",hoverColor:"{content.hover.color}",borderRadius:"{content.border.radius}",hoverBackground:"{content.hover.background}"}};var Ku={file:{gap:"1rem",info:{gap:"0.5rem"},padding:"1rem",borderColor:"{content.border.color}"},root:{color:"{content.color}",background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",transitionDuration:"{transition.duration}"},basic:{gap:"0.5rem"},header:{gap:"0.5rem",color:"{text.color}",padding:"1.125rem",background:"transparent",borderColor:"#00000000",borderWidth:"0",borderRadius:"0"},content:{gap:"1rem",padding:"0 1.125rem 1.125rem 1.125rem",highlightBorderColor:"{primary.color}"},fileList:{gap:"0.5rem"},progressbar:{height:"0.25rem"}};var Zu={in:{input:{paddingTop:"2.5rem",paddingBottom:"{form.field.padding.y}"}
551,active:{top:"{form.field.padding.y}"}},on:{active:{padding:"0 0.125rem",background:"{form.field.background}"},borderRadius:"{border.radius.xs}"},over:{active:{top:"-1.25rem"}},root:{color:"{form.field.float.label.color}",active:{fontSize:"0.75rem",fontWeight:"400"},positionX:"{form.field.padding.x}",positionY:"{form.field.padding.y}",focusColor:"{form.field.float.label.focus.color}",fontWeight:"500",activeColor:"{form.field.float.label.active.color}",invalidColor:"{form.field.float.label.invalid.color}",transitionDuration:"0.2s"}};var Xu={addon:{color:"{form.field.icon.color}",padding:"0.5rem",minWidth:"2.5rem",background:"{form.field.background}",borderColor:"{form.field.border.color}",borderRadius:"{form.field.border.radius}"}};var Ju={root:{gap:"1rem",borderRadius:"{content.border.radius}"},label:{gap:"0.5rem"},meters:{size:"0.5rem",background:"{content.border.color}"},labelIcon:{size:"1rem"},labelList:{verticalGap:"0.5rem",horizontalGap:"1rem"},labelMarker:{size:"0.5rem"}};var em={item:{gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}",activeColor:"{navigation.item.icon.active.color}"},color:"{navigation.item.color}",padding:"{navigation.item.padding}",focusColor:"{navigation.item.focus.color}",activeColor:"{navigation.item.active.color}",borderRadius:"{navigation.item.border.radius}",focusBackground:"{navigation.item.focus.background}",activeBackground:"{navigation.item.active.background}"},list:{gap:"{navigation.list.gap}",padding:"{navigation.list.padding}"},root:{color:"{content.color}",shadow:"{overlay.navigation.shadow}",background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",transitionDuration:"{transition.duration}"},submenu:{mobileIndent:"1rem"},separator:{borderColor:"{content.border.color}"},submenuIcon:{size:"{navigation.submenu.icon.size}",color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}",activeColor:"{navigation.submenu.icon.active.color}"}};var tm={chip:{borderRadius:"{border.radius.sm}"},root:{lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"},sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},color:"{form.field.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",focusRing:{color:"{form.field.focus.ring.color}",style:"{form.field.focus.ring.style}",width:"{form.field.focus.ring.width}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},background:"{form.field.background}",borderColor:"{form.field.border.color}",borderRadius:"{form.field.border.radius}",disabledColor:"{form.field.disabled.color}",filledBackground:"{form.field.filled.background}",focusBorderColor:"{form.field.focus.border.color}",hoverBorderColor:"{form.field.hover.border.color}",placeholderColor:"{form.field.placeholder.color}",disabledBackground:"{form.field.disabled.background}",invalidBorderColor:"{form.field.invalid.border.color}",transitionDuration:"{form.field.transition.duration}",filledFocusBackground:"{form.field.filled.focus.background}",filledHoverBackground:"{form.field.filled.hover.background}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}"},tree:{padding:"{list.padding}"},overlay:{color:"{overlay.select.color}",shadow:"{overlay.select.shadow}",background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}"},dropdown:{color:"{form.field.icon.color}",width:"2.5rem"},clearIcon:{color:"{form.field.icon.color}"},emptyMessage:{padding:"{list.option.padding}"}};var om={item:{gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}",activeColor:"{navigation.item.icon.active.color}"},color:"{navigation.item.color}",padding:"{navigation.item.padding}",focusColor:"{navigation.item.focus.color}",activeColor:"{navigation.item.active.color}
551",borderRadius:"{navigation.item.border.radius}",focusBackground:"{navigation.item.focus.background}",activeBackground:"{navigation.item.active.background}"},list:{gap:"{navigation.list.gap}",padding:"{navigation.list.padding}"},root:{color:"{content.color}",shadow:"{overlay.navigation.shadow}",background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",transitionDuration:"{transition.duration}"},submenu:{mobileIndent:"1rem"},separator:{borderColor:"{content.border.color}"},submenuIcon:{size:"{navigation.submenu.icon.size}",color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}",activeColor:"{navigation.submenu.icon.active.color}"}};var im={root:{transitionDuration:"{transition.duration}"},button:{width:"2.5rem",borderRadius:"{form.field.border.radius}",verticalPadding:"{form.field.padding.y}"},colorScheme:{dark:{button:{color:"{surface.400}",background:"transparent",hoverColor:"{surface.300}",activeColor:"{surface.200}",borderColor:"{form.field.border.color}",hoverBackground:"{surface.800}",activeBackground:"{surface.700}",hoverBorderColor:"{form.field.border.color}",activeBorderColor:"{form.field.border.color}"}},light:{button:{color:"{surface.400}",background:"transparent",hoverColor:"{surface.500}",activeColor:"{surface.600}",borderColor:"{form.field.border.color}",hoverBackground:"{surface.100}",activeBackground:"{surface.200}",hoverBorderColor:"{form.field.border.color}",activeBorderColor:"{form.field.border.color}"}}}};var nm={chip:{borderRadius:"{border.radius.sm}"},list:{gap:"{list.gap}",header:{padding:"{list.header.padding}"},padding:"{list.padding}"},root:{lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"},sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},color:"{form.field.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",focusRing:{color:"{form.field.focus.ring.color}",style:"{form.field.focus.ring.style}",width:"{form.field.focus.ring.width}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},background:"{form.field.background}",borderColor:"{form.field.border.color}",borderRadius:"{form.field.border.radius}",disabledColor:"{form.field.disabled.color}",filledBackground:"{form.field.filled.background}",focusBorderColor:"{form.field.focus.border.color}",hoverBorderColor:"{form.field.hover.border.color}",placeholderColor:"{form.field.placeholder.color}",disabledBackground:"{form.field.disabled.background}",invalidBorderColor:"{form.field.invalid.border.color}",transitionDuration:"{form.field.transition.duration}",filledFocusBackground:"{form.field.filled.focus.background}",filledHoverBackground:"{form.field.filled.hover.background}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}"},option:{gap:"0.5rem",color:"{list.option.color}",padding:"{list.option.padding}",focusColor:"{list.option.focus.color}",borderRadius:"{list.option.border.radius}",selectedColor:"{list.option.selected.color}",focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusColor:"{list.option.selected.focus.color}",selectedFocusBackground:"{list.option.selected.focus.background}"},overlay:{color:"{overlay.select.color}",shadow:"{overlay.select.shadow}",background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}"},dropdown:{color:"{form.field.icon.color}",width:"2.5rem"},clearIcon:{color:"{form.field.icon.color}"},optionGroup:{color:"{list.option.group.color}",padding:"{list.option.group.padding}",background:"{list.option.group.background}",fontWeight:"{list.option.group.font.weight}"},emptyMessage:{padding:"{list.option.padding}"}};var rm={root:{height:"1.25rem",background:"{content.border.color}",borderRadius:"{content.border.radius}"},label:{color:"{primary.contrast.color}",fontSize:"0.75rem",fontWeight:"600"},value:{background:"{primary.color}"}};var sm={icon:{lg:{size:"1rem"},sm:{size:"0.5rem"},size:"0.75rem",checkedColor:"{primary.contrast.color}",disabledColor:"{form.field.disabled.color}",checkedHoverColor:"{primary.contrast.color}"},root:{lg:{width:"1.5rem",height:"1.5rem"}
551,sm:{width:"1rem",height:"1rem"},width:"1.25rem",height:"1.25rem",shadow:"{form.field.shadow}",focusRing:{color:"{focus.ring.color}",style:"{focus.ring.style}",width:"{focus.ring.width}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},background:"{form.field.background}",borderColor:"{form.field.border.color}",filledBackground:"{form.field.filled.background}",focusBorderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",checkedBackground:"{primary.color}",checkedBorderColor:"{primary.color}",disabledBackground:"{form.field.disabled.background}",invalidBorderColor:"{form.field.invalid.border.color}",transitionDuration:"{form.field.transition.duration}",checkedHoverBackground:"{primary.hover.color}",checkedFocusBorderColor:"{primary.color}",checkedHoverBorderColor:"{primary.hover.color}",checkedDisabledBorderColor:"{form.field.border.color}"}};var am={bar:{size:"9px",focusRing:{color:"{focus.ring.color}",style:"{focus.ring.style}",width:"{focus.ring.width}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},borderRadius:"{border.radius.sm}"},root:{transitionDuration:"{transition.duration}"},colorScheme:{dark:{bar:{background:"{surface.800}"}},light:{bar:{background:"{surface.100}"}}}};var lm={root:{borderRadius:"{form.field.border.radius}",raisedShadow:"0 3px 1px -2px rgba(0, 0, 0, 0.2),0 2px 2px 0 rgba(0, 0, 0, 0.14),0 1px 5px 0 rgba(0, 0, 0, 0.12)",roundedBorderRadius:"2rem"}};var cm={chip:{borderRadius:"{border.radius.sm}"},list:{gap:"{list.gap}",padding:"{list.padding}"},root:{color:"{form.field.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",focusRing:{color:"{form.field.focus.ring.color}",style:"{form.field.focus.ring.style}",width:"{form.field.focus.ring.width}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},background:"{form.field.background}",borderColor:"{form.field.border.color}",borderRadius:"{form.field.border.radius}",disabledColor:"{form.field.disabled.color}",filledBackground:"{form.field.filled.background}",focusBorderColor:"{form.field.focus.border.color}",hoverBorderColor:"{form.field.hover.border.color}",placeholderColor:"{form.field.placeholder.color}",disabledBackground:"{form.field.disabled.background}",invalidBorderColor:"{form.field.invalid.border.color}",transitionDuration:"{transition.duration}",filledFocusBackground:"{form.field.filled.focus.background}",filledHoverBackground:"{form.field.filled.hover.background}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}"},option:{color:"{list.option.color}",padding:"{list.option.padding}",focusColor:"{list.option.focus.color}",borderRadius:"{list.option.border.radius}",selectedColor:"{list.option.selected.color}",focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusColor:"{list.option.selected.focus.color}",selectedFocusBackground:"{list.option.selected.focus.background}"},overlay:{color:"{overlay.select.color}",shadow:"{overlay.select.shadow}",background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}"},dropdown:{lg:{width:"3rem"},sm:{width:"2rem"},width:"2.5rem",focusRing:{color:"{focus.ring.color}",style:"{focus.ring.style}",width:"{focus.ring.width}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},borderColor:"{form.field.border.color}",borderRadius:"{form.field.border.radius}",hoverBorderColor:"{form.field.border.color}",activeBorderColor:"{form.field.border.color}"},colorScheme:{dark:{chip:{focusColor:"{surface.0}",focusBackground:"{surface.700}"},dropdown:{color:"{surface.300}",background:"{surface.800}",hoverColor:"{surface.200}",activeColor:"{surface.100}",hoverBackground:"{surface.700}",activeBackground:"{surface.600}"}},light:{chip:{focusColor:"{surface.800}",focusBackground:"{surface.200}"},dropdown:{color:"{surface.600}",background:"{surface.100}",hoverColor:"{surface.700}",activeColor:"{surface.800}",hoverBackground:"{surface.200}
551",activeBackground:"{surface.300}"}}},optionGroup:{color:"{list.option.group.color}",padding:"{list.option.group.padding}",background:"{list.option.group.background}",fontWeight:"{list.option.group.font.weight}"},emptyMessage:{padding:"{list.option.padding}"}};var dm={icon:{size:"1.5rem",color:"{overlay.popover.color}"},root:{color:"{overlay.popover.color}",gutter:"10px",shadow:"{overlay.popover.shadow}",background:"{overlay.popover.background}",arrowOffset:"1.25rem",borderColor:"{overlay.popover.border.color}",borderRadius:"{overlay.popover.border.radius}"},footer:{gap:"0.5rem",padding:"0 {overlay.popover.padding} {overlay.popover.padding} {overlay.popover.padding}"},content:{gap:"1rem",padding:"{overlay.popover.padding}"}};var um={handle:{size:"15px",focusRing:{color:"rgba(255, 255, 255, 0.3)",style:"{focus.ring.style}",width:"{focus.ring.width}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},hoverSize:"30px",background:"rgba(255, 255, 255, 0.3)",borderColor:"transparent",borderWidth:"0",borderRadius:"50%",hoverBackground:"rgba(255, 255, 255, 0.3)",hoverBorderColor:"transparent",transitionDuration:"{transition.duration}"}};var mm={root:{outline:{color:"{content.background}",width:"2px"}}};var pm={root:{borderRadius:"{form.field.border.radius}"},colorScheme:{dark:{root:{invalidBorderColor:"{form.field.invalid.border.color}"}},light:{root:{invalidBorderColor:"{form.field.invalid.border.color}"}}}};var fm={icon:{disabledColor:"{form.field.disabled.color}"},root:{lg:{padding:"0.25rem",fontSize:"{form.field.lg.font.size}"},sm:{padding:"0.25rem",fontSize:"{form.field.sm.font.size}"},gap:"0.5rem",padding:"0.213rem",focusRing:{color:"{focus.ring.color}",style:"{focus.ring.style}",width:"{focus.ring.width}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},fontWeight:"500",borderRadius:"{content.border.radius}",disabledColor:"{form.field.disabled.color}",disabledBackground:"{form.field.disabled.background}",invalidBorderColor:"{form.field.invalid.border.color}",transitionDuration:"{form.field.transition.duration}",disabledBorderColor:"{form.field.disabled.background}"},content:{lg:{padding:"0.25rem 0.75rem"},sm:{padding:"0.25rem 0.75rem"},padding:"0.25rem 0.75rem",borderRadius:"{content.border.radius}",checkedShadow:"0 0 0 0 rgba(0, 0, 0, 0.02),0 0 0 0 rgba(0, 0, 0, 0.04)"},colorScheme:{dark:{icon:{color:"{surface.400}",hoverColor:"{surface.300}",checkedColor:"{surface.0}"},root:{color:"{surface.400}",background:"{surface.950}",hoverColor:"{surface.300}",borderColor:"{surface.700}",checkedColor:"{surface.0}",hoverBackground:"{surface.900}",checkedBackground:"{surface.800}",checkedBorderColor:"{surface.700}"},content:{checkedBackground:"{surface.800}"}},light:{icon:{color:"{surface.500}",hoverColor:"{surface.700}",checkedColor:"{surface.900}"},root:{color:"{surface.500}",background:"{surface.0}",hoverColor:"{surface.500}",borderColor:"{surface.200}",checkedColor:"{surface.800}",hoverBackground:"{surface.50}",checkedBackground:"{surface.100}",checkedBorderColor:"{surface.200}"},content:{checkedBackground:"{surface.100}"}}}};var hm={root:{gap:"0.25rem",width:"2.5rem",height:"1.5rem",shadow:"{form.field.shadow}",focusRing:{color:"{focus.ring.color}",style:"{focus.ring.style}",width:"{focus.ring.width}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},borderColor:"transparent",borderWidth:"1px",borderRadius:"30px",slideDuration:"0.2s",hoverBorderColor:"transparent",checkedBorderColor:"transparent",invalidBorderColor:"{form.field.invalid.border.color}",transitionDuration:"{form.field.transition.duration}",checkedHoverBorderColor:"transparent"},handle:{size:"1rem",borderRadius:"50%"},colorScheme:{dark:{root:{background:"{surface.700}",hoverBackground:"{surface.600}",checkedBackground:"{primary.color}",disabledBackground:"{surface.600}",checkedHoverBackground:"{primary.hover.color}"},handle:{color:"{surface.900}",background:"{surface.400}",hoverColor:"{surface.800}",checkedColor:"{primary.color}",hoverBackground:"{surface.300}",checkedBackground:"{surface.900}",checkedHoverColor:"{primary.hover.color}
551",disabledBackground:"{surface.900}",checkedHoverBackground:"{surface.900}"}},light:{root:{background:"{surface.300}",hoverBackground:"{surface.400}",checkedBackground:"{primary.color}",disabledBackground:"{form.field.disabled.background}",checkedHoverBackground:"{primary.hover.color}"},handle:{color:"{text.muted.color}",background:"{surface.0}",hoverColor:"{text.color}",checkedColor:"{primary.color}",hoverBackground:"{surface.0}",checkedBackground:"{surface.0}",checkedHoverColor:"{primary.hover.color}",disabledBackground:"{form.field.disabled.color}",checkedHoverBackground:"{surface.0}"}}}};var gm={list:{gap:"{list.gap}",padding:"{list.padding}",mobileIndent:"1rem"},root:{lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"},sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},color:"{form.field.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",focusRing:{color:"{form.field.focus.ring.color}",style:"{form.field.focus.ring.style}",width:"{form.field.focus.ring.width}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},background:"{form.field.background}",borderColor:"{form.field.border.color}",borderRadius:"{form.field.border.radius}",disabledColor:"{form.field.disabled.color}",filledBackground:"{form.field.filled.background}",focusBorderColor:"{form.field.focus.border.color}",hoverBorderColor:"{form.field.hover.border.color}",placeholderColor:"{form.field.placeholder.color}",disabledBackground:"{form.field.disabled.background}",invalidBorderColor:"{form.field.invalid.border.color}",transitionDuration:"{form.field.transition.duration}",filledFocusBackground:"{form.field.filled.focus.background}",filledHoverBackground:"{form.field.filled.hover.background}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}"},option:{icon:{size:"0.875rem",color:"{list.option.icon.color}",focusColor:"{list.option.icon.focus.color}"},color:"{list.option.color}",padding:"{list.option.padding}",focusColor:"{list.option.focus.color}",borderRadius:"{list.option.border.radius}",selectedColor:"{list.option.selected.color}",focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusColor:"{list.option.selected.focus.color}",selectedFocusBackground:"{list.option.selected.focus.background}"},overlay:{color:"{overlay.select.color}",shadow:"{overlay.select.shadow}",background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}"},dropdown:{color:"{form.field.icon.color}",width:"2.5rem"},clearIcon:{color:"{form.field.icon.color}"}};var bm={icon:{size:"2rem",color:"{overlay.modal.color}"},content:{gap:"1rem"}};var vm={colorScheme:{dark:{root:{colorOne:"{red.400}",colorTwo:"{blue.400}",colorFour:"{yellow.400}",colorThree:"{green.400}"}},light:{root:{colorOne:"{red.500}",colorTwo:"{blue.500}",colorFour:"{yellow.500}",colorThree:"{green.500}"}}}};var _m={loader:{icon:{size:"2rem"},mask:{color:"{text.muted.color}",background:"{content.background}"}}};var Cm={node:{color:"{content.color}",padding:"0.75rem 1rem",background:"{content.background}",hoverColor:"{content.hover.color}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",selectedColor:"{highlight.color}",hoverBackground:"{content.hover.background}",toggleablePadding:"0.75rem 1rem 1.25rem 1rem",selectedBackground:"{highlight.background}"},root:{gutter:"0.75rem",transitionDuration:"{transition.duration}"},connector:{color:"{content.border.color}",height:"24px",borderRadius:"{content.border.radius}"},nodeToggleButton:{size:"1.5rem",color:"{text.muted.color}",focusRing:{color:"{focus.ring.color}",style:"{focus.ring.style}",width:"{focus.ring.width}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},background:"{content.background}",hoverColor:"{text.color}",borderColor:"{content.border.color}",borderRadius:"50%",hoverBackground:"{content.hover.background}"}};var ym={};var Sm=ao(he({},qd),{components:{tag:Qd,card:Yd,chip:$d,dock:Kd,knob:Zd,menu:Xd,tabs:Jd,tree:eu,badge:tu,image:ou,panel:iu,toast:nu,avatar:ru,button:su,dialog:au,drawer:lu,editor:cu,rating:du,ripple:uu,select:mu,slider:pu,blockui:fu,divider:hu,inplace:gu,listbox:bu,menubar:vu,message:_u,popover:Cu,stepper:yu,toolbar:Su,tooltip:ku,carousel:wu,checkbox:xu,dataview:Tu,fieldset:Mu,galleria:Eu,inputotp:Bu,megamenu:Iu,password:Au,picklist:Du,skeleton:Ru,splitter:Fu,terminal:Pu,textarea:Nu,timeline:Lu,accordion:Ou,datatable:Vu,iconfield:Uu,iftalabel:zu,inputtext:Hu,orderlist:ju,paginator:Wu,panelmenu:Gu,speeddial:qu,treetable:Qu,breadcrumb:Yu,datepicker:$u,fileupload:Ku,floatlabel:Zu,inputgroup:Xu,metergroup:Ju,tieredmenu:em,treeselect:tm,contextmenu:om,inputnumber:im,multiselect:nm,progressbar:rm,radiobutton:sm,scrollpanel:am,splitbutton:lm,autocomplete:cm,confirmpopup:dm,imagecompare:um,overlaybadge:mm,selectbutton:pm,togglebutton:fm,toggleswitch:hm,cascadeselect:gm,confirmdialog:bm,progressspinner:vm,virtualscroller:_m,organizationchart:Cm},extend:ym});var km=(()=>{let t=class t{constructor(i){}};t.\u0275fac=function(n){return new(n||t)(K(Di))},t.\u0275mod=Je({type:t,bootstrap:[zd]}),t.\u0275inj=Xe({providers:[is(()=>{de(Js),de(Rs).init()}),sa({theme:{preset:Sm,options:{darkModeSelector:".fm-dark"}}}),Gd,{provide:ts,useValue:Bs({showDialog:Ce.sentryShowDialog})},{provide:Di,deps:[pe]},Mi(Ei()),wa,zi],imports:[No,Eo,Lo,gn,Oo,zn,Kc,yl,Wn,Qn,Yn,go,Ln,We,Wd,xt,Bi,Lc,Cl.register("ngsw-worker.js",{enabled:Ce.production,registrationStrategy:"registerWhenStable:30000"}),$n,We]});let o=t;return o}
551)();Es({dsn:Ce.sentryDsn,integrations:[Is(),Ms(),Ts({levels:["error"]})],tracesSampleRate:Ce.sentryTracesSampleRate,tracePropagationTargets:Ce.sentryTracePropagationTargets,replaysSessionSampleRate:Ce.sentryReplaysSessionSampleRate,replaysOnErrorSampleRate:Ce.sentryReplaysOnErrorSampleRate,release:Ce.applicationVersion,environment:Ce.sentryEnv});Ce.production&&void 0;us().bootstrapModule(km,{applicationProviders:[as()]}); 552//# sourceMappingURL=main-XJGCQ6QU.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.