1import"./chunk-VWPVF6CK.js";import{a as Ha,b as Ga,c as Ya,d as qa,e as Qa,f as Gt}from"./chunk-RUVW55AN.js";import{a as ir}from"./chunk-SDVAJZMP.js";import{b as Kt}from"./chunk-PD35XRMX.js";import{a as Wa,b as nn,c as Ka,d as Za,e as Ja,f as on,g as an,h as Xa,i as er,j as tr,k as nr}from"./chunk-GVQ5SWNQ.js";import"./chunk-XS2ETUV4.js";import{a as it,b as en,c as tn}from"./chunk-T3KW7YZR.js";import{c as Ua,h as ja,k as xn}from"./chunk-BXSQ4V33.js";import{a as rt,c as Va}from"./chunk-WY5ZDBWL.js";import{a as na}from"./chunk-GH3DMUNP.js";import{a as $a}from"./chunk-Y2FCZRPJ.js";import{b as ea}from"./chunk-SSO4XX4N.js";import"./chunk-U2GGDDJG.js";import{a as Ba}from"./chunk-JERMYYSX.js";import{a as Fa}from"./chunk-6T3Q6ZLZ.js";import"./chunk-OUZYBCLG.js";import{o as za}from"./chunk-YV2SWT2W.js";import"./chunk-IMK3C7A3.js";import{a as ua,b as Vi}from"./chunk-CQOKHVJM.js";import"./chunk-7OPAEV4Z.js";import{C as xa,D as Ma,E as Sa,F as wa,G as Ia,H as Oa,I as Hi,J as Gi,K as Yi,P as le,Q as qi,c as _a,d as Ca,da as Ea,e as ba,f as va,g as ya,h as ji,ma as Wi,na as Ki,v as Pa}from"./chunk-PMB2SKZH.js";import"./chunk-S3CGDH26.js";import{a as Jr,c as Xr,nc as Ui}from"./chunk-UNCDZ7XE.js";import{c as fa,e as ga}from"./chunk-ZY6IUVVM.js";import{a as pa}from"./chunk-RFINB25Q.js";import{c as tt,d as Qi}from"./chunk-5JRXYN6B.js";import{a as aa,b as ra,c as sa,d as Ut}from"./chunk-RB4JEJLR.js";import{a as Wt}from"./chunk-S75SA3MG.js";import{a as yo,b as Po,d as ta,e as ia}from"./chunk-ETQCR43R.js";import"./chunk-7Q7ANX2H.js";import"./chunk-TJP6NKOQ.js";import{a as La,b as Zi,c as Na}from"./chunk-DGFQXWK4.js";import"./chunk-RCDOL3FE.js";import"./chunk-WIRCYXEM.js";import{a as Ht}from"./chunk-HGLWTT4Q.js";import{a as Fi,b as $i,c as da}from"./chunk-GDXOZ5F4.js";import"./chunk-3N6JE2CB.js";import{b as ka,c as Da,d as Ra}from"./chunk-MGSBMQ6S.js";import{a as Ta}from"./chunk-BSZLYF3D.js";import"./chunk-WUJCOGM5.js";import{a as oa,b as Vt}from"./chunk-4KSCAR5L.js";import{b as Pt}from"./chunk-YCFNK3WL.js";import"./chunk-JCPQ5UP7.js";import"./chunk-HW6XIYWH.js";import"./chunk-6YLKZUWL.js";import"./chunk-FUNB67OG.js";import{a as Ji,b as Xi}from"./chunk-BFZK65YX.js";import"./chunk-DSHWJW7U.js";import"./chunk-QJMEXJCH.js";import"./chunk-TNRAUKLX.js";import"./chunk-JFCDCI4I.js";import{e as ha}from"./chunk-VSK4EUWS.js";import{a as Aa}from"./chunk-DU2UMBQR.js";import"./chunk-XTKLQFS2.js";import{A as Ho,B as Di,C as se,I as Xo,c as Ot,o as Pn,s as Bo,u as Fo,v as $o,z as jo}from"./chunk-AP4F4UOU.js";import{b as mo,c as De,d as hi,e as Ei,f as Et,g as kt,h as Dt,i as Rt,j as zt,k as Lt,l as Nt,m as Bt,n as Ft,o as $t,p as ki,q as Go}from"./chunk-GBLCG7LN.js";import{A as Yo,J as qo,O as Ri,k as Io,l as Oo,n as wi,o as Ii,p as Oi,q as To,r as $e,s as Ti,t as Ao,y as Vo}from"./chunk-GL2E2SEG.js";import{a as Xe,c as It,d as et}from"./chunk-JWN7NGLR.js";import{a as _o,c as yi,d as Pi,e as Co}from"./chunk-FM4LUY2V.js";import{c as jt}from"./chunk-KUK5RU2J.js";import{b as zi,c as Li,t as Bi}from"./chunk-HF25SWPZ.js";import{c as Uo}from"./chunk-7NKX2MQX.js";import{k as ne,l as vt,q as yt,s as vi}from"./chunk-VWZODPF7.js";import{$a as ma,A as co,Aa as No,B as gi,E as xo,Ga as Qo,H as Si,I as wo,Ka as Wo,La as Ko,Oa as Zo,Ua as Jo,Y as Eo,Ya as la,Z as ko,Za as Ni,_ as Do,_a as ca,e as ao,fa as Ai,i as ro,ia as Ro,n as so,na as zo,o as ut,p as fi,w as lo,xa as Lo}from"./chunk-76PWVHJ2.js";import{e as ho,f as bt,g as uo}from"./chunk-V2OTIJ4B.js";import{b as ve,c as Tt}from"./chunk-KABOUG3F.js";import{f as xi,g as Mi}from"./chunk-2BLNBIGV.js";import"./chunk-DX76IH4A.js";import{b as me,c as At}from"./chunk-OZW5P3MD.js";import{P as Be,Q as Fe,R as wt}from"./chunk-T6NM5V27.js";import{a as xt,c as bo,e as yn,f as vo}from"./chunk-E47RR5SP.js";import{s as Ze}from"./chunk-P2XURMRA.js";import"./chunk-5KMEBLPN.js";import{b as ze,c as Le,e as Mo,f as Je,j as Mt,k as ge,l as St,m as X,o as B,p as So,r as j,s as Ne}from"./chunk-UD3VBVJG.js";import"./chunk-VVSGW4HJ.js";import"./chunk-HPZFXBYG.js";import"./chunk-KM2MMTZS.js";import{D as re}from"./chunk-GKRFDWZ3.js";import"./chunk-PK45FGVY.js";import"./chunk-ZLON2Z7W.js";import{A as oo,E as ci,F as mi,G as pi,H as di,c as io,e as Q,h as be,i as Te,j as bn,m as G,q as Ae,t as no,u as Ee,x as ke}from"./chunk-77REXB4S.js";import{c as vn}from"./chunk-3VGKZTQQ.js";import{c as We,g as Ct}from"./chunk-ZGENTENG.js";import"./chunk-PY4W6ZYL.js";import{G as Ke,Qa as bi,_ as po,ba as fo,ca as _i,ya as _t}from"./chunk-TSPGHNTX.js";import{a as ui,d as Re,p as go,s as Ci}from"./chunk-3K43ZZFC.js";import{$b as z,$d as ce,Ab as I,Ac as Y,Bc as A,C as $,Cb as O,Cc as Ge,Db as Bn,Dc as ai,Dd as _e,Ec as Kn,Fb as gt,Fd as si,Ga as ie,Gb as ht,Hb as l,Ib as o,Jb as r,Jc as x,Ka as oi,Kb as g,Kc as k,L as un,Lc as N,Mc as Zn,N as ae,Na as kn,Nb as Fn,Ob as C,Oc as Ie,Pb as b,Q as Qt,Qa as Dn,Rb as y,Rc as Ye,T as ii,Ub as h,Wa as Rn,Wb as m,Wd as to,Xc as Jn,Yc as Xn,Zd as Ce,_b as R,_d as li,ab as a,ac as L,ae as Qe,bb as He,ca as fe,cc as $n,ce as at,da as ni,dc as Vn,e as F,ea as _n,ec as Z,f as oe,fa as V,gc as Cn,ha as v,hb as zn,ia as An,ib as f,ic as Un,j as On,ja as ot,jc as c,k as we,kc as S,la as En,lc as P,ld as ue,mb as w,mc as H,nb as ft,nd as qe,ob as Ln,od as U,pa as je,pb as Nn,pc as jn,qa as dt,qc as Hn,r as T,rb as d,rc as Gn,s as pt,sa as he,ud as Oe,vc as Yn,vd as ri,w as Tn,wc as qn,wd as eo,xa as u,xc as Qn,ya as _,yc as Wn,zb as q}from"./chunk-LFUJLOLB.js";import"./chunk-UCFJC2RQ.js";import"./chunk-U72J75UF.js";
1import"./chunk-EQKOF2KP.js";import"./chunk-653QNZOA.js";import"./chunk-HW2FH25V.js";import"./chunk-TPMTEZSM.js";import"./chunk-HMFS42I2.js";import{a as te,b as xe,h as In}from"./chunk-BIO6JXCF.js";var es=(t,s,e)=>({info:t,warning:s,error:e}),or=(()=>{class t{constructor(){this.priority="info"}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=w({type:t,selectors:[["inline-notification"]],inputs:{title:"title",body:"body",priority:"priority"},standalone:!1,decls:5,vars:7,consts:[[1,"container",3,"ngClass"],[1,"iris-body-bold"],[1,"iris-body"]],template:function(i,n){i&1&&(o(0,"div",0)(1,"h4",1),c(2),r(),o(3,"p",2),c(4),r()()),i&2&&(l("ngClass",ai(3,es,n.priority==="info",n.priority==="warning",n.priority==="error")),a(2),S(n.title),a(2),S(n.body))},dependencies:[ue],styles:[`@import"https://p.typekit.net/p.css?s=1&k=bnw6lfh&ht=tk&f=139.175.25136.2005.2006.2007.2008.2009.2010.2028.2030&a=82606318&app=typekit&e=css";@font-face{font-family:proxima-nova;src:url(https://use.typekit.net/af/949f99/00000000000000003b9b3068/27/l?primer=388f68b35a7cbf1ee3543172445c23e26935269fadd3b392a13ac7b2903677eb&fvd=n7&v=3) format("woff2"),url(https://use.typekit.net/af/949f99/00000000000000003b9b3068/27/d?primer=388f68b35a7cbf1ee3543172445c23e26935269fadd3b392a13ac7b2903677eb&fvd=n7&v=3) format("woff"),url(https://use.typekit.net/af/949f99/00000000000000003b9b3068/27/a?primer=388f68b35a7cbf1ee3543172445c23e26935269fadd3b392a13ac7b2903677eb&fvd=n7&v=3) format("opentype");font-display:auto;font-style:normal;font-weight:700;font-stretch:normal}@font-face{font-family:proxima-nova;src:url(https://use.typekit.net/af/705e94/00000000000000003b9b3062/27/l?primer=388f68b35a7cbf1ee3543172445c23e26935269fadd3b392a13ac7b2903677eb&fvd=n4&v=3) format("woff2"),url(https://use.typekit.net/af/705e94/00000000000000003b9b3062/27/d?primer=388f68b35a7cbf1ee3543172445c23e26935269fadd3b392a13ac7b2903677eb&fvd=n4&v=3) format("woff"),url(https://use.typekit.net/af/705e94/00000000000000003b9b3062/27/a?primer=388f68b35a7cbf1ee3543172445c23e26935269fadd3b392a13ac7b2903677eb&fvd=n4&v=3) format("opentype");font-display:auto;font-style:normal;font-weight:400;font-stretch:normal}@font-face{font-family:proxima-nova;src:url(https://use.typekit.net/af/6e816b/00000000000000003b9b3064/27/l?primer=388f68b35a7cbf1ee3543172445c23e26935269fadd3b392a13ac7b2903677eb&fvd=n5&v=3) format("woff2"),url(https://use.typekit.net/af/6e816b/00000000000000003b9b3064/27/d?primer=388f68b35a7cbf1ee3543172445c23e26935269fadd3b392a13ac7b2903677eb&fvd=n5&v=3) format("woff"),url(https://use.typekit.net/af/6e816b/00000000000000003b9b3064/27/a?primer=388f68b35a7cbf1ee3543172445c23e26935269fadd3b392a13ac7b2903677eb&fvd=n5&v=3) format("opentype");font-display:auto;font-style:normal;font-weight:500;font-stretch:normal}@font-face{font-family:museo-sans;src:url(https://use.typekit.net/af/620bf8/00000000000000000000e7fe/27/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n3&v=3) format("woff2"),url(https://use.typekit.net/af/620bf8/00000000000000000000e7fe/27/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n3&v=3) format("woff"),url(https://use.typekit.net/af/620bf8/00000000000000000000e7fe/27/a?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n3&v=3) format("opentype");font-display:auto;font-style:normal;font-weight:300;font-stretch:normal}@font-face{font-family:museo-sans;src:url(https://use.typekit.net/af/5cca6d/00000000000000000000e802/27/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=i3&v=3) format("woff2"),url(https://use.typekit.net/af/5cca6d/00000000000000000000e802/27/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=i3&v=3) format("woff"),url(https://use.typekit.net/af/5cca6d/00000000000000000000e802/27/a?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=i3&v=3) format("opentype");font-display:auto;font-style:italic;font-weight:300;font-stretch:normal}@font-face{font-family:museo-sans;src:url(https://use.typekit.net/af/a28b50/00000000000000000000e803/27/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n5&v=3) format("woff2"),url(https://use.typekit.net/af/a28b50/00000000000000000000e803/27/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n5&v=3) format("woff"),url(https://use.typekit.net/af/a28b50/00000000000000000000e803/27/a?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n5&v=3) format("opentype");font-display:auto;font-style:normal;font-weight:500;font-stretch:normal}@font-face{font-family:museo-sans;src:url(https://use.typekit.net/af/c2d3de/00000000000000000000e804/27/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=i5&v=3) format("woff2"),url(https://use.typekit.net/af/c2d3de/00000000000000000000e804/27/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=i5&v=3) format("woff"),url(https://use.typekit.net/af/c2d3de/00000000000000000000e804/27/a?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=i5&v=3) format("opentype");font-display:auto;font-style:italic;font-weight:500;font-stretch:normal}@font-face{font-family:museo-sans;src:url(https://use.typekit.net/af/e3ca36/00000000000000000000e805/27/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n7&v=3) format("woff2"),url(https://use.typekit.net/af/e3ca36/00000000000000000000e805/27/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n7&v=3) format("woff"),url(https://use.typekit.net/af/e3ca36/00000000000000000000e805/27/a?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n7&v=3) format("opentype");font-display:auto;font-style:normal;font-weight:700;font-stretch:normal}@font-face{font-family:museo-sans;src:url(https://use.typekit.net/af/2841b6/00000000000000000000e806/27/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=i7&v=3) format("woff2"),url(https://use.typekit.net/af/2841b6/00000000000000000000e806/27/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=i7&v=3) format("woff"),url(https://use.typekit.net/af/2841b6/00000000000000000000e806/27/a?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=i7&v=3) format("opentype");font-display:auto;font-style:italic;font-weight:700;font-stretch:normal}@font-face{font-family:museo-slab;src:url(https://use.typekit.net/af/53dec0/0000000000000000000100fe/27/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n3&v=3) format("woff2"),url(https://use.typekit.net/af/53dec0/0000000000000000000100fe/27/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n3&v=3) format("woff"),url(https://use.typekit.net/af/53dec0/0000000000000000000100fe/27/a?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n3&v=3) format("opentype");font-display:auto;font-style:normal;font-weight:300;font-stretch:normal}@font-face{font-family:museo-slab;src:url(https://use.typekit.net/af/aa4f4e/000000000000000000012043/27/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n5&v=3) format("woff2"),url(https://use.typekit.net/af/aa4f4e/000000000000000000012043/27/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n5&v=3) format("woff"),url(https://use.typekit.net/af/aa4f4e/000000000000000000012043/27/a?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n5&v=3) format("opentype");font-display:auto;font-style:normal;font-weight:500;font-stretch:normal}.tk-proxima-nova[_ngcontent-%COMP%]{font-family:proxima-nova,sans-serif}.tk-museo-sans[_ngcontent-%COMP%]{font-family:museo-sans,sans-serif}.tk-museo-slab[_ngcontent-%COMP%]{font-family:museo-slab,serif}[_nghost-%COMP%] sondermind-profile-picture.initials{font-size:60px}.pac-container.pac-logo[_ngcontent-%COMP%]:after{display:none}.pac-container[_ngcontent-%COMP%] .pac-item[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;position:relative;cursor:pointer;outline:0;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:transparent}.pac-container[_ngcontent-%COMP%] .pac-item[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:last-child{overflow:hidden;text-overflow:ellipsis}.pac-container[_ngcontent-%COMP%] .pac-item[disabled][_ngcontent-%COMP%]{cursor:default}.pac-container[_ngcontent-%COMP%] [dir=rtl][_ngcontent-%COMP%] .pac-item[_ngcontent-%COMP%]{text-align:right}.pac-container[_ngcontent-%COMP%] .pac-item[_ngcontent-%COMP%] .pac-icon[_ngcontent-%COMP%]{margin-right:5px;vertical-align:middle;margin-top:0;width:20px}@media(max-width:640px){.pac-container[_ngcontent-%COMP%] .pac-item[_ngcontent-%COMP%] .pac-icon[_ngcontent-%COMP%]{display:none}}.pac-container[_ngcontent-%COMP%] .pac-item[_ngcontent-%COMP%] .pac-icon[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{vertical-align:top}.pac-container[_ngcontent-%COMP%] [dir=rtl][_ngcontent-%COMP%] .pac-item[_ngcontent-%COMP%] .pac-icon[_ngcontent-%COMP%]{margin-left:16px;margin-right:0}.pac-container[_ngcontent-%COMP%] .pac-item[aria-disabled=true][_ngcontent-%COMP%]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}@media screen and (-ms-high-contrast:active){.pac-container[_ngcontent-%COMP%] .pac-item[_ngcontent-%COMP%]{margin:0 1px}.pac-container[_ngcontent-%COMP%] .pac-item.mat-active[_ngcontent-%COMP%]{border:solid 1px currentColor;margin:0}}html[_ngcontent-%COMP%]{line-height:1.15;-webkit-text-size-adjust:100%}body[_ngcontent-%COMP%]{margin:0}h1[_ngcontent-%COMP%]{font-size:2em;margin:.67em 0}hr[_ngcontent-%COMP%]{box-sizing:content-box;height:0;overflow:visible}main[_ngcontent-%COMP%]{display:block}pre[_ngcontent-%COMP%]{font-family:monospace,monospace;font-size:1em}a[_ngcontent-%COMP%]{background-color:transparent}abbr[title][_ngcontent-%COMP%]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b[_ngcontent-%COMP%], strong[_ngcontent-%COMP%]{font-weight:bolder}code[_ngcontent-%COMP%], kbd[_ngcontent-%COMP%], samp[_ngcontent-%COMP%]{font-family:monospace,monospace;font-size:1em}small[_ngcontent-%COMP%]{font-size:80%}sub[_ngcontent-%COMP%], sup[_ngcontent-%COMP%]{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub[_ngcontent-%COMP%]{bottom:-.25em}sup[_ngcontent-%COMP%]{top:-.5em}img[_ngcontent-%COMP%]{border-style:none}button[_ngcontent-%COMP%], input[_ngcontent-%COMP%], optgroup[_ngcontent-%COMP%], select[_ngcontent-%COMP%], textarea[_ngcontent-%COMP%]{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button[_ngcontent-%COMP%]{overflow:visible}button[_ngcontent-%COMP%], select[_ngcontent-%COMP%]{text-transform:none}button[_ngcontent-%COMP%], [type=button][_ngcontent-%COMP%], [type=reset][_ngcontent-%COMP%], [type=submit][_ngcontent-%COMP%]{-webkit-appearance:button}button[_ngcontent-%COMP%]::-moz-focus-inner, [type=button][_ngcontent-%COMP%]::-moz-focus-inner, [type=reset][_ngcontent-%COMP%]::-moz-focus-inner, [type=submit][_ngcontent-%COMP%]::-moz-focus-inner{border-style:none;padding:0}button[_ngcontent-%COMP%]:-moz-focusring, [type=button][_ngcontent-%COMP%]:-moz-focusring, [type=reset][_ngcontent-%COMP%]:-moz-focusring, [type=submit][_ngcontent-%COMP%]:-moz-focusring{outline:1px dotted ButtonText}input[_ngcontent-%COMP%]{overflow:visible}
1[type=checkbox][_ngcontent-%COMP%], [type=radio][_ngcontent-%COMP%]{box-sizing:border-box;padding:0}[type=number][_ngcontent-%COMP%]::-webkit-inner-spin-button, [type=number][_ngcontent-%COMP%]::-webkit-outer-spin-button{height:auto}[type=search][_ngcontent-%COMP%]{-webkit-appearance:textfield;outline-offset:-2px}[type=search][_ngcontent-%COMP%]::-webkit-search-decoration{-webkit-appearance:none}[_ngcontent-%COMP%]::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}fieldset[_ngcontent-%COMP%]{padding:.35em .75em .625em}legend[_ngcontent-%COMP%]{box-sizing:border-box;display:table;max-width:100%;padding:0;color:inherit;white-space:normal}progress[_ngcontent-%COMP%]{vertical-align:baseline}textarea[_ngcontent-%COMP%]{overflow:auto}details[_ngcontent-%COMP%]{display:block}summary[_ngcontent-%COMP%]{display:list-item}template[_ngcontent-%COMP%]{display:none}[hidden][_ngcontent-%COMP%]{display:none}.iris-h1-desktop[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:600;font-size:clamp(1.5rem,calc(1.5rem + 1.75 * ((100vw - 23.4375rem) / 96.5625)),3.25rem);line-height:1.2;letter-spacing:normal;margin-bottom:0}.iris-h2-desktop[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:600;font-size:clamp(1.375rem,calc(1.375rem + 1.125 * ((100vw - 23.4375rem) / 96.5625)),2.5rem);line-height:1.2;letter-spacing:normal;margin-bottom:0}.iris-h3-desktop[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:600;font-size:clamp(1.25rem,calc(1.25rem + .5 * ((100vw - 23.4375rem) / 96.5625)),1.75rem);line-height:1.2;letter-spacing:normal;margin-bottom:0}.iris-h4-desktop[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:600;font-size:calc(1.125rem + .25rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal}.iris-subheading-sm-desktop[_ngcontent-%COMP%]{font-family:Lora,Arial,sans-serif;color:#001219;font-weight:300;font-style:normal;font-size:clamp(1.375rem,calc(1.375rem + 1.125 * ((100vw - 23.4375rem) / 96.5625)),2.5rem);line-height:1.4;letter-spacing:normal;margin-bottom:0}.iris-subheading-md-desktop[_ngcontent-%COMP%]{font-family:Lora,Arial,sans-serif;color:#001219;font-weight:300;font-style:normal;font-size:clamp(1.5rem,calc(1.5rem + 1.75 * ((100vw - 23.4375rem) / 96.5625)),3.25rem);line-height:1.4;letter-spacing:normal;margin-bottom:0}.iris-body[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:inherit;font-weight:400;font-size:calc(1rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal}.iris-body-bold[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:700;font-size:calc(1rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal}.iris-legal[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:600;font-size:calc(.75rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.4;letter-spacing:.01em}.iris-button-text[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:600;font-size:calc(1rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal;letter-spacing:.0125em}.iris-h1-responsive[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:600;font-size:clamp(1.5rem,calc(1.5rem + 1.75 * ((100vw - 23.4375rem) / 96.5625)),3.25rem);line-height:1.2;letter-spacing:normal;margin-bottom:0}.iris-h2-responsive[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:600;font-size:clamp(1.375rem,calc(1.375rem + 1.125 * ((100vw - 23.4375rem) / 96.5625)),2.5rem);line-height:1.2;letter-spacing:normal;margin-bottom:0}.iris-h3-responsive[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:600;font-size:clamp(1.25rem,calc(1.25rem + .5 * ((100vw - 23.4375rem) / 96.5625)),1.75rem);line-height:1.2;letter-spacing:normal;margin-bottom:0}.iris-h4-responsive[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:600;font-size:calc(1.125rem + .25rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal}.iris-subheading-sm-responsive[_ngcontent-%COMP%]{font-family:Lora,Arial,sans-serif;color:#001219;font-weight:300;font-style:normal;font-size:clamp(1.375rem,calc(1.375rem + 1.125 * ((100vw - 23.4375rem) / 96.5625)),2.5rem);line-height:1.4;letter-spacing:normal;margin-bottom:0}.iris-subheading-md-responsive[_ngcontent-%COMP%]{font-family:Lora,Arial,sans-serif;color:#001219;font-weight:300;font-style:normal;font-size:clamp(1.5rem,calc(1.5rem + 1.75 * ((100vw - 23.4375rem) / 96.5625)),3.25rem);line-height:1.4;letter-spacing:normal;margin-bottom:0}.iris-body-responsive[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:400;font-size:calc(1rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal}.iris-body-bold-responsive[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:700;font-size:calc(1rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal}.iris-legal-responsive[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:600;font-size:calc(.75rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.4;letter-spacing:.01em}.iris-button-text-responsive[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:600;font-size:calc(1rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal;letter-spacing:.0125em}.iris-modal-h1-responsive[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:600;font-size:clamp(1.375rem,calc(1.375rem + 1.125 * ((100vw - 23.4375rem) / 96.5625)),2.5rem);line-height:1.2;letter-spacing:normal;margin-bottom:0}.iris-modal-h2-responsive[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:600;font-size:clamp(1.25rem,calc(1.25rem + .5 * ((100vw - 23.4375rem) / 96.5625)),1.75rem);line-height:1.2;letter-spacing:normal;margin-bottom:0}.iris-modal-h3-responsive[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:600;font-size:calc(1.125rem + .25rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal}.iris-display-xl[_ngcontent-%COMP%]{font-family:Lora,Arial,sans-serif;color:inherit;font-weight:400;font-style:normal;
1font-size:clamp(2rem,calc(2rem + 1.75 * ((100vw - 23.4375rem) / 96.5625)),3.75rem);line-height:1.4;letter-spacing:normal;margin-bottom:0}.iris-display-lg[_ngcontent-%COMP%]{font-family:Lora,Arial,sans-serif;color:inherit;font-weight:400;font-style:normal;font-size:clamp(1.75rem,calc(1.75rem + 2.25 * ((100vw - 23.4375rem) / 96.5625)),4rem);line-height:1.4;letter-spacing:normal;margin-bottom:0}.iris-display-md[_ngcontent-%COMP%]{font-family:Lora,Arial,sans-serif;color:inherit;font-weight:400;font-style:normal;font-size:clamp(1.5rem,calc(1.5rem + 1.75 * ((100vw - 23.4375rem) / 96.5625)),3.25rem);line-height:1.4;letter-spacing:normal;margin-bottom:0}.iris-display-sm[_ngcontent-%COMP%]{font-family:Lora,Arial,sans-serif;color:inherit;font-weight:400;font-style:normal;font-size:clamp(1.375rem,calc(1.375rem + 1.125 * ((100vw - 23.4375rem) / 96.5625)),2.5rem);line-height:1.4;letter-spacing:normal;margin-bottom:0}.iris-display-xs[_ngcontent-%COMP%]{font-family:Lora,Arial,sans-serif;color:inherit;font-weight:400;font-style:normal;font-size:clamp(1.25rem,calc(1.25rem + .5 * ((100vw - 23.4375rem) / 96.5625)),1.75rem);line-height:1.4;letter-spacing:normal;margin-bottom:0}.iris-headline-xl[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:inherit;font-weight:600;font-size:clamp(2rem,calc(2rem + 3.5 * ((100vw - 23.4375rem) / 96.5625)),5.5rem);line-height:1.2;letter-spacing:normal;margin-bottom:0}.iris-headline-lg[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:inherit;font-weight:600;font-size:clamp(1.75rem,calc(1.75rem + 2.25 * ((100vw - 23.4375rem) / 96.5625)),4rem);line-height:1.2;letter-spacing:normal;margin-bottom:0}.iris-headline-md[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:inherit;font-weight:600;font-size:clamp(1.5rem,calc(1.5rem + 1.75 * ((100vw - 23.4375rem) / 96.5625)),3.25rem);line-height:1.2;letter-spacing:normal;margin-bottom:0}.iris-headline-sm[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:inherit;font-weight:600;font-size:clamp(1.375rem,calc(1.375rem + 1.125 * ((100vw - 23.4375rem) / 96.5625)),2.5rem);line-height:1.2;letter-spacing:normal;margin-bottom:0}.iris-headline-xs[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:inherit;font-weight:600;font-size:clamp(1.25rem,calc(1.25rem + .5 * ((100vw - 23.4375rem) / 96.5625)),1.75rem);line-height:1.2;letter-spacing:normal;margin-bottom:0}.iris-body-lg[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:inherit;font-weight:400;font-size:calc(1.125rem + .25rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal}.iris-body-sm[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:inherit;font-weight:400;font-size:calc(.875rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal}.iris-caption[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:inherit;font-weight:400;font-size:calc(.75rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.4;letter-spacing:.01em}.ufd-h1-display[_ngcontent-%COMP%]{font-family:Lora,Arial,sans-serif;color:#001219;font-weight:400;font-style:normal;font-size:clamp(1.75rem,calc(1.75rem + 2.25 * ((100vw - 23.4375rem) / 96.5625)),4rem);line-height:1.4;letter-spacing:normal;margin-bottom:0}.ufd-h2-display[_ngcontent-%COMP%]{font-family:Lora,Arial,sans-serif;color:#001219;font-weight:400;font-style:normal;font-size:clamp(1.5rem,calc(1.5rem + 1.75 * ((100vw - 23.4375rem) / 96.5625)),3.25rem);line-height:1.4;letter-spacing:normal;margin-bottom:0}.ufd-h3-display[_ngcontent-%COMP%]{font-family:Lora,Arial,sans-serif;color:#001219;font-weight:400;font-style:normal;font-size:clamp(1.375rem,calc(1.375rem + 1.125 * ((100vw - 23.4375rem) / 96.5625)),2.5rem);line-height:1.4;letter-spacing:normal;margin-bottom:0}.ufd-h4-display[_ngcontent-%COMP%]{font-family:Lora,Arial,sans-serif;color:#001219;font-weight:400;font-style:normal;font-size:clamp(1.25rem,calc(1.25rem + .5 * ((100vw - 23.4375rem) / 96.5625)),1.75rem);line-height:1.4;letter-spacing:normal;margin-bottom:0}.ufd-h1[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:400;font-size:clamp(1.5rem,calc(1.5rem + 1.75 * ((100vw - 23.4375rem) / 96.5625)),3.25rem);line-height:1.2;letter-spacing:normal;margin-bottom:0}.ufd-h2[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:400;font-size:clamp(1.375rem,calc(1.375rem + 1.125 * ((100vw - 23.4375rem) / 96.5625)),2.5rem);line-height:1.2;letter-spacing:normal;margin-bottom:0}.ufd-h3[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:400;font-size:clamp(1.25rem,calc(1.25rem + .5 * ((100vw - 23.4375rem) / 96.5625)),1.75rem);line-height:1.2;letter-spacing:normal;margin-bottom:0}.ufd-h4[_ngcontent-%COMP%], .ufd-p1-sb[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:500;font-size:calc(1.125rem + .25rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal}.ufd-p1[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:400;font-size:calc(1.125rem + .25rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal}.ufd-p2-sb[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:500;font-size:calc(1rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal}.ufd-p2[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:400;font-size:calc(1rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal}.ufd-p3-sb[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:500;font-size:calc(.875rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal}.ufd-p3[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:400;font-size:calc(.875rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal}.ufd-legal[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:400;font-size:calc(.75rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.4;letter-spacing:.01em;line-height:1.3}.container[_ngcontent-%COMP%]{display:block;width:100%;border-radius:.25rem;padding:0px 1rem}.info[_ngcontent-%COMP%]{background-color:#f9fafd;border:1px solid #2696C5}.warning[_ngcontent-%COMP%]{background-color:#fffdf9;border:1px solid #e2b027}.error[_ngcontent-%COMP%]{background-color:#fef9f9;border:1px solid #fceded}h4[_ngcontent-%COMP%]{font-size:1rem;margin-bottom:.25rem} 2 3 4/*# sourceMappingURL=inline-notification.component-ELWMRUUN.css.map */`]})}}return t})();function is(t,s){t&1&&(o(0,"p",3),c(1," Client registration is not complete. "),r())}var ar=(()=>{class t{constructor(e,i,n,p){this.prescriptionsService=e,this.notifStore=i,this.prescriptionModalService=n,this.clientDetailPageService=p,this.IrisButtonTypes=B,this.IrisButtonTypeAttributeOptions=Je,this.IrisButtonContainerAlignment=ze,this.isEligible=!1,this.destroyedSubj=new F,this.destroyed$=this.destroyedSubj.asObservable()}ngOnInit(){this.clientDetailPageService.patient.subscribe(e=>{this.patient=e,this.isEligible=!!e.personaClientId})}ngOnDestroy(){this.destroyedSubj.next(),this.destroyedSubj.complete()}openRcopiaModal(){this.prescriptionModalService.openRcopiaModalForPatient$(this.patient.id,this.patient.personaClientId).pipe(v(this.destroyed$),$(e=>e==="closed"),V(()=>
4this.prescriptionsService.notifyPrescriptionChange$(this.patient.id)),V(()=>this.notifStore.getNotificationCounts$(!0))).subscribe()}static{this.\u0275fac=function(i){return new(i||t)(f(yo),f(Po),f(ia),f(le))}}static{this.\u0275cmp=w({type:t,selectors:[["member-client-detail-prescriptions-info"]],standalone:!1,decls:5,vars:3,consts:[["data-dd-privacy","allow",1,"card-header"],["ariaLabel","Open Rcopia Modal","data-test","btn-open-rcopia-prescriptions",3,"click","disabled","type"],["data-test","msg-not-eligible",4,"ngIf"],["data-test","msg-not-eligible"]],template:function(i,n){i&1&&(o(0,"iris-card")(1,"div",0)(2,"iris-button",1),h("click",function(){return n.openRcopiaModal()}),c(3," Write/Manage prescriptions "),r(),d(4,is,2,0,"p",2),r()()),i&2&&(a(2),l("disabled",!n.isEligible)("type",n.IrisButtonTypes.PRIMARY),a(2),l("ngIf",!n.isEligible))},dependencies:[U,j,ve],styles:[`.card-header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;flex-direction:column;height:200px}.card-header[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-top:1rem;font-size:1rem;color:#b93646} 5/*# sourceMappingURL=client-detail-prescriptions-info.component-ZNSOO2O7.css.map */`]})}}return t})();var rr=(()=>{class t{constructor(e,i,n){this.router=e,this.routeData=i,this.activatedRoute=n}ngOnInit(){this.checkRouteRedirect()}
5checkRouteRedirect(){let e=this.routeData.getPreviousUrl(),i=e&&e.includes("matches");this.router.navigate(["smart_notes"],{relativeTo:this.activatedRoute.parent.parent,queryParams:{matchList:i}})}static{this.\u0275fac=function(i){return new(i||t)(f(ce),f(_i),f(Ce))}}static{this.\u0275cmp=w({type:t,selectors:[["app-client-notes-container"]],standalone:!1,decls:0,vars:0,template:function(i,n){},encapsulation:2})}}return t})();var lr=(()=>{class t{constructor(e,i){this.personaProviderStore=e,this.appService=i,this.modalOpen=!1,this.modalOpenChange=new He(!1),this.irisButtonTypes=B,this.irisButtonContainerAlignments=ze,this.destroyedSubj=new F,this.destroyed$=this.destroyedSubj.asObservable()}ngOnInit(){this.personaProviderStore.getPersonaProviderProfile$().pipe(v(this.destroyed$)).subscribe(e=>{this.personaProviderId=e.id})}stopMatching(){this.personaProviderStore.toggleSavingAvailability(!0),this.personaProviderStore.updateAvailability$(!1,this.personaProviderId).subscribe(()=>{this.closeModal()})}closeModal(){this.modalOpen=!1,this.close()}close(){this.modalOpenChange.emit(this.modalOpen)}ngOnDestroy(){this.destroyedSubj.next(),this.destroyedSubj.complete()}static{this.\u0275fac=function(i){return new(i||t)(f(jt),f(re))}}static{this.\u0275cmp=w({type:t,selectors:[["provider-not-accepting-clients-modal"]],inputs:{modalOpen:"modalOpen"},outputs:{modalOpenChange:"modalOpenChange"},standalone:!1,decls:12,vars:3,consts:[["data-test","not-enough-capacity-modal",1,"sondermind-design-system","not-accepting",3,"sonderModalClosed","sonderModalOpen"],["data-dd-privacy","allow",1,"not-accepting-wrapper"],[1,"not-accepting-content"],["aria-label","Stop receiving matches","data-test","stop-receiving-header",1,"not-accepting-header"],[1,"not-accepting-body"],[3,"alignment"],["aria-label","Close and keep new accepting clients","data-test","keep-accepting-clients",3,"click","buttonType"],["aria-label","Close and stop accepting new clients","data-test","stop-accepting-clients",3,"click"]],template:function(i,n){i&1&&(o(0,"sonder-modal",0),h("sonderModalClosed",function(){return n.close()}),o(1,"div",1)(2,"div",2)(3,"h4",3),c(4," Stop receiving new client matches? "),r(),o(5,"p",4),c(6,"You mentioned you don't have capacity right now. Would you like to no longer receive new matches?"),r()(),o(7,"iris-button-container",5)(8,"iris-button",6),h("click",function(){return n.closeModal()}),c(9," Continue matching "),r(),o(10,"iris-button",7),h("click",function(){return n.stopMatching()}),c(11," Stop matching "),r()()()()),i&2&&(l("sonderModalOpen",n.modalOpen),a(7),l("alignment",n.irisButtonContainerAlignments.END),a(),l("buttonType",n.irisButtonTypes.SECONDARY))},dependencies:[zi,j,Le],styles:[`.not-accepting[_ngcontent-%COMP%] .not-accepting-header[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:600;font-size:calc(1.125rem + .25rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal}.not-accepting[_ngcontent-%COMP%] .not-accepting-body[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:400;font-size:calc(1rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal}.not-accepting[_ngcontent-%COMP%] .not-accepting-content[_ngcontent-%COMP%]{margin-bottom:1rem}.not-accepting[_ngcontent-%COMP%] .sondermind-button-row[_ngcontent-%COMP%]{display:flex;justify-content:flex-end}@media(max-width:768px){.not-accepting[_ngcontent-%COMP%] .sondermind-button-row[_ngcontent-%COMP%]{align-items:center;display:flex;flex-direction:column-reverse}.not-accepting[_ngcontent-%COMP%] .sondermind-button-row[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:100%;margin:12px 0;max-width:100%}} 6/*# sourceMappingURL=provider-not-accepting-clients-modal.component-VWBXLLPQ.css.map */`]})}}return t})();var gs=["newPatientModal"],hs=["bulkUploadModal"],us=(t,s)=>({"iris-h1-desktop":t,"iris-h1-mobile":s}),_s=(t,s)=>({"ascending-arrow":t,"descending-arrow":s}),Cs=()=>[15,30,50],dr=t=>({"sorted-header":t}),bs=t=>["/scheduling","events",t],vs=()=>({month:"short",day:"numeric"}),fr=()=>["/scheduling","events","new"],gr=t=>({patientId:t}),ys=()=>({month:"2-digit",day:"numeric"}),Ps=(t,s)=>({"sorted-header":t,"hidden-column-mobile":s}),Sn=t=>({"hidden-column-mobile":t}),xs=()=>["/general_availability"];function Ms(t,s){if(t&1){let e=y();o(0,"iris-button",40),h("click",function(){u(e);let n=m();return _(n.handleBulkUploadClick())}),c(1,"Upload clients "),r()}if(t&2){let e=m();l("buttonType",e.IrisButtonTypes.SECONDARY)}}function Ss(t,s){if(t&1){let e=y();C(0),o(1,"div",41)(2,"div",42),g(3,"client-search-bar",43),r(),o(4,"div",44)(5,"h4",45),c(6,"Sort by"),r(),o(7,"form",46)(8,"iris-form-field",47),g(9,"iris-dropdown",48),r()()()(),o(10,"div",49)(11,"form",50)(12,"iris-form-field",47),g(13,"iris-dropdown",51),r(),o(14,"iris-form-field",47),g(15,"iris-dropdown",52),r()(),o(16,"iris-button",53),h("click",function(){u(e);let n=m();return _(n.clearFilters())}),c(17," Clear filters "),r()(),g(18,"hr",54),b()}if(t&2){let e=m();a(3),l("filters",e.filterOptions.filter),a(4),l("formGroup",e.sortForm),a(),l("showOptionalTag",!1),a(),l("options",e.sortOptions),a(2),l("formGroup",e.sortForm),a(),l("showOptionalTag",!1),a(),l("options",e.sessionOptions),a(),l("showOptionalTag",!1),a(),l("options",e.clientStatusOptions),a(),l("buttonType",e.IrisButtonTypes.TERTIARY)}}function ws(t,s){if(t&1&&(o(0,"mat-header-cell",55),c(1," Name "),r()),t&2){let e=m();l("ngClass",A(1,dr,e.tableState.sortBy==="last_name"))}}function Is(t,s){if(t&1&&(o(0,"div",64)(1,"sonder-tooltip",65)(2,"div",66),c(3),x(4,"titlecase"),r()()()),t&2){let e=m().$implicit;l("ngClass",e.statusClass),a(3),S(k(4,2,e.clientStatus))}}function Os(t,s){if(t&1&&(o(0,"div",67)(1,"sonder-tooltip",68),g(2,"iris-icon",69),r()()),t&2){let e=m().$implicit,i=m();a(),l("desktopTooltipText",(e.patient?e.patient.displayName:e.displayName)+" has payments due and cannot be scheduled until they pay their bills."),a(),l("usage",i.IconUsageTypes.DECORATIVE)("size",i.IconSizes.MD)("color",i.IconColors.DANGER)}}function Ts(t,s){if(t&1&&(o(0,"div",64)(1,"sonder-tooltip",70)(2,"div",66),c(3,"Invited"),r()()()),t&2){let e=m().$implicit;l("ngClass",e.statusClass)}}function As(t,s){t&1&&(o(0,"div",71)(1,"sonder-tooltip",72)(2,"div",66),g(3,"img",73),r()()())}function Es(t,s){t&1&&(o(0,"div",74)(1,"sonder-tooltip",75)(2,"div",66),g(3,"img",76),r()()())}function ks(t,s){if(t&1){let e=y();o(0,"mat-cell",56),h("click",function(){let n=u(e).$implicit,p=m();return _(p.viewClient(n))}),o(1,"div",57)(2,"div",58)(3,"span",59),c(4),r()(),d(5,Is,5,4,"div",60)(6,Os,3,4,"div",61)(7,Ts,4,1,"div",60)(8,As,4,0,"div",62)(9,Es,4,0,"div",63),r()()}if(t&2){let e=s.$implicit;a(3),q("data-dd-action-name","client #"+e.patientId),a(),P(" ",e.displayName," "),a(),l("ngIf",e.inactiveClient),a(),l("ngIf",!e.allowScheduling),a(),l("ngIf",e.invitedClient),a(),l("ngIf",e.clientUnderage),a(),l("ngIf",!e.accountComplete)}}function Ds(t,s){if(t&1&&(o(0,"mat-header-cell",77),c(1," Upcoming session "),r()),t&2){let e=m();l("ngClass",A(1,dr,e.tableState.sortBy==="next_session_datetime"))}}function Rs(t,s){t&1&&(o(0,"span"),c(1,","),r())}function zs(t,s){t&1&&g(0,"br")}
6function Ls(t,s){if(t&1&&(o(0,"a",83),c(1),x(2,"localizedDate"),x(3,"localizedDate"),d(4,Rs,2,0,"span",18)(5,zs,1,0,"br",18),c(6),x(7,"localizedDate"),x(8,"lowercase"),x(9,"localizedDate"),x(10,"lowercase"),r()),t&2){let e=m(2).$implicit,i=m();l("routerLink",A(23,bs,e.nextSessionId)),a(),H(" ",N(2,7,e.nextSessionDateTime,"weekday"),", ",N(3,10,e.nextSessionDateTime,Y(25,vs))," "),a(3),l("ngIf",!i.breakPoint.isMobile),a(),l("ngIf",i.breakPoint.isMobile),a(),H(" ",k(8,16,N(7,13,e.nextSessionDateTime,"shortTime"))," - ",k(10,21,N(9,18,e.nextSessionEndTime,"shortTime"))," ")}}function Ns(t,s){if(t&1&&(o(0,"a",84),c(1," Schedule "),r()),t&2){let e=m(2).$implicit;l("routerLink",Y(2,fr))("queryParams",A(3,gr,e.isPatientRecord?e.id:null))}}function Bs(t,s){if(t&1&&(o(0,"span",86)(1,"sonder-tooltip",68),x(2,"localizedDate"),g(3,"iris-icon",87),r()()),t&2){let e=m(3).$implicit,i=m();a(),l("desktopTooltipText","Repeats until "+N(2,4,e.recurringUntil,Y(7,ys))),a(2),l("usage",i.IconUsageTypes.STAND_ALONE)("color",i.IconColors.BRAND1)("size",i.IconSizes.SM)}}function Fs(t,s){if(t&1&&(C(0),d(1,Bs,4,8,"span",85),b()),t&2){let e=m(2).$implicit;
6a(),l("ngIf",e.recurringUntil)}}function $s(t,s){if(t&1&&(C(0),d(1,Ls,11,26,"a",80)(2,Ns,2,5,"a",81)(3,Fs,2,1,"ng-container",82),b()),t&2){let e=m().$implicit,i=m();a(),l("ngIf",e.nextSessionDateTime),a(),l("ngIf",!e.nextSessionDateTime&&i.breakPoint.isMobile),a(),l("sondermindFeatureFlag","providerRecurringIconClientList")}}function Vs(t,s){if(t&1){let e=y();o(0,"mat-cell",78),h("click",function(){let n=u(e).$implicit,p=m();return _(p.viewClient(n))}),o(1,"div",79),d(2,$s,4,3,"ng-container",18),r()()}if(t&2){let e=s.$implicit;a(2),l("ngIf",e.lastSessionDateTime||e.nextSessionDateTime)}}function Us(t,s){if(t&1&&(o(0,"mat-header-cell",88),c(1," Days since last session "),r()),t&2){let e=m();l("ngClass",Ge(1,Ps,e.tableState.sortBy==="days_since_last_session",e.breakPoint.isMobile))}}function js(t,s){if(t&1){let e=y();o(0,"mat-cell",89),h("click",function(){let n=u(e).$implicit,p=m();return _(p.viewClient(n))}),o(1,"div",90)(2,"div",91),c(3),r()()()}if(t&2){let e=s.$implicit,i=m();l("ngClass",A(2,Sn,i.breakPoint.isMobile)),a(3),S(i.displayDaysSinceLastSession(e.daysSinceLastSession))}}function Hs(t,s){if(t&1&&(o(0,"mat-header-cell",92),c(1," Actions "),r()),t&2){let e=m();l("ngClass",A(1,Sn,e.breakPoint.isMobile))}}function Gs(t,s){if(t&1&&(o(0,"div",96)(1,"a",97),c(2," Schedule "),r()()),t&2){let e=m().$implicit;a(),l("routerLink",Y(2,fr))("queryParams",A(3,gr,e.isPatientRecord?e.id:null))}}function Ys(t,s){if(t&1){let e=y();o(0,"div",96)(1,"a",98),h("click",function(){u(e);let n=m().$implicit,p=m();return _(p.openChat(n))}),c(2," Message "),r()()}}function qs(t,s){if(t&1&&(o(0,"mat-cell",93)(1,"div",94),d(2,Gs,3,5,"div",95)(3,Ys,3,0,"div",95),r()()),t&2){let e=s.$implicit,i=m();l("ngClass",A(4,Sn,i.breakPoint.isMobile)),a(),q("aria-label","Actions for "+e.displayName),a(),l("ngIf",(e.nonSpnPatient||e.accountComplete)&&e.allowScheduling),a(),l("ngIf",i.showChatLink(e))}}function Qs(t,s){t&1&&g(0,"mat-header-row")}function Ws(t,s){if(t&1&&g(0,"mat-row",99),t&2){let e=s.$implicit,i=s.index;l("ngClass",e.statusClass),q("data-test","current-client-list-row-"+i)}}function Ks(t,s){if(t&1&&(o(0,"div"),g(1,"iris-icon",102),c(2),r()),t&2){let e=m(2);a(),l("size",e.iconSizes.SM),a(),P(" ",e.loadingData," ")}}function Zs(t,s){if(t&1&&(o(0,"div",100),d(1,Ks,3,2,"div",101),r()),t&2){let e=m(),i=Z(37);a(),l("ngIf",e.loadingData.length)("ngIfElse",i)}}function Js(t,s){t&1&&(o(0,"p"),c(1,"Once you've had your first session, you'll find your client's record here."),r())}function Xs(t,s){if(t&1){let e=y();C(0),g(1,"img",105),o(2,"h3"),c(3,"No clients yet"),r(),d(4,Js,2,0,"p",18),o(5,"p"),c(6,'Add clients outside of SonderMind to your caseload with "Invite client."'),r(),o(7,"iris-button",106),h("click",function(){u(e);let n=m(3);return _(n.handleNewPatientClick())}),c(8,"Add client "),r(),b()}if(t&2){let e=m(3);a(4),l("ngIf",!e.hideAvailability),a(3),l("buttonType",e.IrisButtonTypes.SECONDARY)}}function el(t,s){t&1&&(C(0),g(1,"img",107),o(2,"h3"),c(3,"Update your availability to get matches"),r(),o(4,"p"),c(5,'Add clients outside of SonderMind to your caseload with "Invite client."'),r(),o(6,"iris-button",108),c(7," Update Availability "),r(),b()),t&2&&(a(6),l("routerLink",Y(1,xs)))}function tl(t,s){if(t&1&&(o(0,"div",104),d(1,Xs,9,2,"ng-container",18)(2,el,8,2,"ng-container",18),r()),t&2){let e=m(2);a(),l("ngIf",e.user.acceptingClients||e.hideAvailability),a(),l("ngIf",!e.user.acceptingClients&&!e.hideAvailability)}}function il(t,s){if(t&1){let e=y();o(0,"div",109),g(1,"img",110),o(2,"h3"),c(3),r(),o(4,"p"),c(5,"Try clearing your filters to see more clients."),r(),o(6,"iris-button",111),h("click",function(){u(e);let n=m(2);return _(n.clearFilters())}),c(7,"Clear all filters "),r()()}if(t&2){let e=m(2);a(3),P("No ",e.currentClientStore.filterApplied?e.currentClientStore.activeFilter+" ":"","clients found"),a(3),l("buttonType",e.IrisButtonTypes.PRIMARY)}}function nl(t,s){if(t&1&&d(0,tl,3,2,"div",103)(1,il,8,2,"ng-template",null,7,Ie),t&2){let e=Z(2),i=m();l("ngIf",!i.currentClientStore.filterApplied)("ngIfElse",e)}}var cr=`${ne.NOT_INVITED}, ${ne.INVITED}, ${ne.CLIENT}`,ol=`${ne.NOT_INVITED}, ${ne.INVITED}, ${ne.CLIENT}, ${ne.INACTIVE}`,hr=(()=>{class t{constructor(e,i,n,p,M,E,W,K,de,Pe,Se,Ue){this.appService=e,this.route=i,this.router=n,this.currentClientStore=p,this.breakPoint=M,this.snackBar=E,this.featureFlagService=W,this.featureFlags=K,this.chatStore=de,this.formBuilder=Pe,this.segmentService=Se,this.logger=Ue,this.iconSizes=ge,this.IrisButtonTypes=B,this.clients=[],this.loadingData="Loading please wait ....",this.paginationData={total:0,filtered:0,pages:0,number:1,size:15},this.resultsLength=0,this.dataSource=new Go,this.displayedColumns=["last_name","next_session_datetime","days_since_last_session","actions"],this.timezone="",this.emptyClientStatusFilter=!1,this.sortedByMenu=!1,this.includeInactiveClients=!0,this.currentClientType=vt.existing,this.ClientStatus=ne,this.hideAvailability=!1,this.tableState={page:1,pageIndex:0,pageSize:15,sortBy:"last_name",sortAscending:!0,sortDirection:"asc"},this.filterSessionTimes={day:"Today's clients",week:"This week's clients",month:"This month's clients",[Pi]:"All time clients"},this.buttonType=B.PRIMARY,this.addButtonText="Add client",this.showBulkUploadButton=!1,this.filterOptions={filter:[{key:"client_type",value:this.currentClientType},{key:"status",value:cr}],page:{size:this.tableState.pageSize,number:1},sort:{key:this.tableState.sortBy,asc:this.tableState.sortAscending}},this.IconUsageTypes=St,this.IconSizes=ge,this.IconColors=Mt,this.sortOptions=[{name:"Default (name, A-Z)",value:"nameAsc"},{name:"Name, Z-A",value:"nameDesc"},{name:"Upcoming session, soonest to latest",value:"soonestToLatest"},{name:"Upcoming session, latest to soonest",value:"latestToSoonest"},{name:"Newest clients to oldest",value:"newestToOldest"},{name:"Oldest to newest",value:"oldestToNewest"},{name:"Days since last session, few to many",value:"fewToMany"},{name:"Days since last session, many to few",value:"manyToFew"}],this.sessionOptions=[{name:"Today's clients",value:"day"},{name:"This week's clients",value:"week"},{name:"This month's clients",value:"month"},{name:"All time clients",value:"all"}],this.clientStatusOptions=[{name:"Active clients",value:"active"},{name:"Inactive clients",value:"inactive"},{name:"Both active and inactive",value:"all"}],this.destroyedSubj=new F,this.destroyed$=this.destroyedSubj.asObservable()}ngOnInit(){this.sortForm=this.formBuilder.group({sortFormControl:["nameAsc",Q.required],sessionFormControl:["all",Q.required],clientStatusFormControl:["active",Q.required]}),this.sortForm.get("sortFormControl")?.valueChanges.pipe(v(this.destroyed$)).subscribe(e=>{this.sortClients(e)}),this.sortForm.get("sessionFormControl")?.valueChanges.pipe(v(this.destroyed$)).subscribe(e=>{this.filterSessionTime(e)}),this.sortForm.get("clientStatusFormControl")?.valueChanges.pipe(v(this.destroyed$)).subscribe(e=>{this.filterActiveClients(e)}),this.setupSubscriptions(),this.includeInactiveClients=this.currentClientStore.includeInactiveClients,this.setFilterOptions(),this.setSortFromStore(),this.currentClientStore.filters||(this.currentClientStore.filters=this.filterOptions),this.currentClientStore.loadClients(),this.dataSource.paginator=this.paginator,this.dataSource.sort=this.sort}ngAfterViewInit(){this.tableState.pageSize=this.paginator?.pageSize,this.sort.sortChange.subscribe(e=>{e.active==="last_name"&&(this.currentClientStore.selectedSort=e.direction==="asc"?"nameAsc":"nameDesc"),e.active==="next_session_datetime"&&(this.currentClientStore.selectedSort=e.direction==="asc"?"soonestToLatest":"latestToSoonest"),e.active==="days_since_last_session"&&(this.currentClientStore.selectedSort=e.direction==="asc"?"fewToMany":"manyToFew"),this.tableState.sortBy!==e.active&&!this.sortedByMenu?(this.tableState.sortDirection="asc",this.tableState.sortAscending=!0):this.tableState.sortDirection===e.direction?(this.tableState.sortDirection=this.tableState.sortDirection==="asc"?"desc":"asc",this.tableState.sortAscending=this.tableState.sortDirection==="asc"):(this.tableState.sortDirection=e.direction,this.tableState.sortAscending=this.tableState.sortDirection==="asc"),this.tableState.sortBy=e.active,this.sortedByMenu=!1,this.currentClientStore.updateTableState(this.tableState),this.resetPaginationAndReload()})}ngOnDestroy(){this.destroyedSubj.next(),this.destroyedSubj.complete()}setupSubscriptions(){this.userSub=this.appService.currentUser$.pipe(v(this.destroyed$)).subscribe(e=>{this.user=e,this.timezone=e.timeZone}),this.routeSub=this.route.data.pipe(v(this.destroyed$)).subscribe(e=>{e.statuses&&this.reloadData()}),this.featureFlags.check$("hideAvailabilityAndMatches").pipe(v(this.destroyed$)).subscribe(e=>{this.hideAvailability=e}),this.clientDataSub=this.currentClientStore.clientData$.pipe(v(this.destroyed$)).subscribe(e=>{e?.data&&(this.paginationData=te(te({},e.meta.counts),e.meta.page),this.clients=e.data,this.sort&&(this.sort.direction=this.tableState.sortAscending?"asc":"desc"),this.loading=!1,this.loadingData="",this.emptyClientStatusFilter=!1,this.currentClientStore.initialLoadComplete=!0)}),this.tableStateSub=this.currentClientStore.tableState$.pipe(v(this.destroyed$)).subscribe(e=>{this.tableState=e}),this.featureFlagService.isEnabled$("allow-bulk-upload-clients").pipe(v(this.destroyed$)).subscribe(e=>{this.showBulkUploadButton=e||!1})}sortClients(e){switch(this.sortedByMenu=!0,this.currentClientStore.selectedSort=e,e){case"nameAsc":this.sort.sortChange.emit({active:"last_name",direction:"asc"});break;case"nameDesc":this.sort.sortChange.emit({active:"last_name",direction:"desc"});break;case"soonestToLatest":this.sort.sortChange.emit({active:"next_session_datetime",direction:"asc"});break;case"latestToSoonest":this.sort.sortChange.emit({active:"next_session_datetime",direction:"desc"});break;case"newestToOldest":this.sort.sortChange.emit({active:"created_at",direction:"desc"});break;case"oldestToNewest":this.sort.sortChange.emit({active:"created_at",direction:"asc"});break;case"fewToMany":this.sort.sortChange.emit({active:"days_since_last_session",direction:"asc"});break;case"manyToFew":this.sort.sortChange.emit({active:"days_since_last_session",direction:"desc"});break}}handleNewPatientClick(){this.trackInviteInitiated("single"),this.newPatientModal.open(new vi).subscribe(e=>{e&&this.patientAdded(e)})}handleBulkUploadClick(){this.trackInviteInitiated("bulk"),this.bulkUploadModal.open().subscribe(e=>{e&&e.length>0&&this.bulkUploadCompleted(e)})}patientAdded(e){this.snackBar.open("New client created successfully!","Dismiss"),this.router.navigate(["clients",e.id,"client_notes"])}bulkUploadCompleted(e){let i=e.filter(p=>p.success).length,n=e.filter(p=>!p.success).length;n===0?this.snackBar.open(`${i} client${i===1?"":"s"} uploaded successfully!`,"Dismiss",{duration:5e3}):this.snackBar.open(`Upload complete: ${i} succeeded, ${n} failed`,"Dismiss",{duration:5e3}),this.currentClientStore.loadClients()}trackInviteInitiated(e){let i=this.user?.personaProviderId;i&&On(this.segmentService.track(We.ProviderInvitedClientsInitiated,{personaProviderId:i,inviteType:e,entryPoint:jo.CURRENT_CLIENTS_LIST})).subscribe({error:n=>this.logger.warn("Segment tracking failed for Provider Invited Clients Initiated",{err:n})})}onPaginate(e){this.tableState.page=e.pageIndex+1,this.tableState.pageIndex=e.pageIndex,this.tableState.pageSize=e.pageSize,this.clients=[],this.currentClientStore.updateTableState(this.tableState),this.reloadData()}
6reloadData(){this.loadingData="Loading please wait ....",this.loading=!0,this.filterOptions={filter:[{key:"client_type",value:this.currentClientType}],page:{size:this.tableState.pageSize,number:this.tableState.page},sort:{key:this.tableState.sortBy,asc:this.tableState.sortAscending}},this.setFilterOptions(),this.currentClientStore.filters=this.filterOptions,this.currentClientStore.loadClients()}displayDaysSinceLastSession(e){return e===0?"< 1":e>31?"Last seen 1+ month ago":e?.toString()}viewClient(e){this.router.navigate(["clients",e.id,"smart_notes"])}showChatLink(e){return!!e.patient?.chatProfileUuid}openChat(e){this.chatStore.openChatRoomByPlatformIdentity$(e.clientPlatformIdentity).pipe(ae(1)).subscribe()}filterActiveClients(e){this.currentClientStore.activeFilter=e,this.currentClientStore.setFilterStatus(),this.resetPaginationAndReload()}filterSessionTime(e){this.currentClientStore.sessionFilter=e,this.currentClientStore.setFilterStatus(),this.resetPaginationAndReload()}unsortedSessionTime(){return 0}clearFilters(){this.sortForm.patchValue({sortFormControl:"nameAsc",sessionFormControl:"all",clientStatusFormControl:"active"}),this.currentClientStore.resetFilters(),this.resetPaginationAndReload()}setFilterOptions(){this.setStatusFilter(),this.setSessionBetweenFilter()}setStatusFilter(){let e=this.currentClientStore.activeFilter,i;e===Pi?i=ol:e==="active"?i=cr:i=ne.INACTIVE,this.filterOptions.filter.push({key:"status",value:i})}setSessionBetweenFilter(){let e=this.currentClientStore.sessionFilter;if(!Object.keys(this.filterSessionTimes).includes(e)||e===Pi)return;let n=bi.now(),p=n.startOf(e).toUTC(),M=n.endOf(e).toUTC();this.filterOptions.filter.push({key:"session_between",value:`${p},${M}`})}setSortFromStore(){switch(this.currentClientStore.selectedSort){case"nameAsc":this.tableState.sortBy="last_name",this.tableState.sortAscending=!0;break;case"nameDesc":this.tableState.sortBy="last_name",this.tableState.sortAscending=!1;break;case"soonestToLatest":this.tableState.sortBy="next_session_datetime",this.tableState.sortAscending=!0;break;case"latestToSoonest":this.tableState.sortBy="next_session_datetime",this.tableState.sortAscending=!1;break;case"newestToOldest":this.tableState.sortBy="created_at",this.tableState.sortAscending=!1;break;case"oldestToNewest":this.tableState.sortBy="created_at",this.tableState.sortAscending=!0;break;case"fewToMany":this.tableState.sortBy="days_since_last_session",this.tableState.sortAscending=!0;break;case"manyToFew":this.tableState.sortBy="days_since_last_session",this.tableState.sortAscending=!1;break}this.currentClientStore.updateTableState(this.tableState)}resetPaginationAndReload(){this.tableState.page=1,this.paginator.pageIndex=0,this.reloadData()}static{this.\u0275fac=function(i){return new(i||t)(f(re),f(Ce),f(ce),f(Co),f(Ke),f(De),f(xt),f(fo),f(Pt),f(ci),f(Ct),f(Re))}}static{this.\u0275cmp=w({type:t,selectors:[["member-page-current-clients-list"]],viewQuery:function(i,n){if(i&1&&(R(tt,5),R(it,5),R(gs,5),R(hs,5)),i&2){let p;z(p=L())&&(n.paginator=p.first),z(p=L())&&(n.sort=p.first),z(p=L())&&(n.newPatientModal=p.first),z(p=L())&&(n.bulkUploadModal=p.first)}},standalone:!1,decls:46,vars:29,consts:[["table",""],["paginator",""],["noCurrentClients",""],["deleteConfirmation",""],["alertMessage",""],["newPatientModal",""],["bulkUploadModal",""],["filterEmptyState",""],[1,"centerMatCardTitle"],["data-test","title-current-clients","tabindex","0","data-dd-privacy","allow",1,"title-heading",3,"ngClass"],["data-dd-privacy","allow",1,"sondermind-design-system","header-actions"],[1,"button-group"],["data-test","clients-invite-client",3,"click","buttonType"],["data-test","clients-bulk-upload",3,"buttonType","click",4,"ngIf"],[1,"client-invite-mobile",3,"click"],[1,"client-invite-mobile-link"],["mat-fab","",1,"client-invite-mobile-button"],["name","plus",3,"size"],[4,"ngIf"],[1,"client-list",3,"ngClass"],[3,"hidden"],["matSort","","data-test","current-clients-table","data-dd-privacy","allow",3,"dataSource","matSortActive","matSortStart"],["matColumnDef","last_name"],["class","pad3 client-list-header","mat-sort-header","","disableClear","true","data-test","current-clients-name-sort",3,"ngClass",4,"matHeaderCellDef"],["class","pad3 client-list-detail","data-test","current-client-name",3,"click",4,"matCellDef"],["matColumnDef","next_session_datetime"],["class","client-list-header","mat-sort-header","","disableClear","true","data-test","current-client-next-session-sort",3,"ngClass",4,"matHeaderCellDef"],["class","pad2 client-list-detail","data-test","current-client-next-appointment",3,"click",4,"matCellDef"],["matColumnDef","days_since_last_session"],["class","pad3 client-list-header","mat-sort-header","","disableClear","true","data-test","current-clients-last-session-sort",3,"ngClass",4,"matHeaderCellDef"],["class","pad3 client-list-detail","data-test","current-client-days-since-last-session",3,"ngClass","click",4,"matCellDef"],["matColumnDef","actions"],["class","pad3 client-list-header","disableClear","true","data-test","current-clients-last-actions","tabindex","0",3,"ngClass",4,"matHeaderCellDef"],["class","pad3 client-list-detail","data-test","current-clients-last-action","role","cell",3,"ngClass",4,"matCellDef"],[4,"matHeaderRowDef"],["class","client-list-row",3,"ngClass",4,"matRowDef","matRowDefColumns"],["data-test","current-clients-pagination",3,"page","length","pageSize","pageIndex","pageSizeOptions"],["class","client-list-empty-state","data-dd-privacy","allow",4,"ngIf"],["data-dd-privacy","allow"],[3,"user"],["data-test","clients-bulk-upload",3,"click","buttonType"],[1,"client-search"],["data-dd-privacy","mask",1,"client-search-container"],[3,"filters"],[1,"client-sort-container"],[1,"client-search-header"],[3,"formGroup"],[3,"showOptionalTag"],["formControlName","sortFormControl",3,"options"],[1,"filters"],[1,"sort-form",3,"formGroup"],["formControlName","sessionFormControl","data-test","session-time-filter-select",3,"options"],["formControlName","clientStatusFormControl","data-test","current-client-filter-select",3,"options"],["aria-label","Clear filters","data-test","clear-clients-filters","role","menuitem",3,"click","buttonType"],[1,"after-filters"],["mat-sort-header","","disableClear","true","data-test","current-clients-name-sort",1,"pad3","client-list-header",3,"ngClass"],["data-test","current-client-name",1,"pad3","client-list-detail",3,"click"],[1,"name-row"],["tabindex","0",1,"name-container"],["data-dd-privacy","mask"],["class","client-status-flags","tabindex","0",3,"ngClass",4,"ngIf"],["class","client-status-flags","data-test","suspended-account-icon","tabindex","0",4,"ngIf"],["class","client-status-flags","tabindex","0",4,"ngIf"],["class","client-status-flags","data-test","incomplete-account-icon","tabindex","0",4,"ngIf"],["tabindex","0",1,"client-status-flags",3,"ngClass"],["desktopTooltipText","Inactive"],["displayText",""],["data-test","suspended-account-icon","tabindex","0",1,"client-status-flags"],[3,"de
6sktopTooltipText"],["displayText","","name","warning",3,"usage","size","color"],["desktopTooltipText","Invited"],["tabindex","0",1,"client-status-flags"],["desktopTooltipText","Minor"],["alt","Minor","src","/assets/images/clients-list/minor-tag.svg"],["data-test","incomplete-account-icon","tabindex","0",1,"client-status-flags"],["desktopTooltipText","Incomplete Account"],["alt","Incomplete Account","src","/assets/images/clients-list/incomplete-account-tag.svg"],["mat-sort-header","","disableClear","true","data-test","current-client-next-session-sort",1,"client-list-header",3,"ngClass"],["data-test","current-client-next-appointment",1,"pad2","client-list-detail",3,"click"],[1,"session-row"],["aria-label","Upcoming session","data-test","upcoming-appointment-link","class","upcoming-appointment-link",3,"routerLink",4,"ngIf"],["gtagCtaEvent","","aria-label","Schedule","class","upcoming-appointment-link","data-test","schedule-session-mobile",3,"routerLink","queryParams",4,"ngIf"],[4,"sondermindFeatureFlag"],["aria-label","Upcoming session","data-test","upcoming-appointment-link",1,"upcoming-appointment-link",3,"routerLink"],["gtagCtaEvent","","aria-label","Schedule","data-test","schedule-session-mobile",1,"upcoming-appointment-link",3,"routerLink","queryParams"],["class","recurring-until-icon",4,"ngIf"],[1,"recurring-until-icon"],["displayText","","name","calendar_recurring",3,"usage","color","size"],["mat-sort-header","","disableClear","true","data-test","current-clients-last-session-sort",1,"pad3","client-list-header",3,"ngClass"],["data-test","current-client-days-since-last-session",1,"pad3","client-list-detail",3,"click","ngClass"],[1,"days-since-column"],["id","daysSinceLast","tabindex","0",1,"days-since-content"],["disableClear","true","data-test","current-clients-last-actions","tabindex","0",1,"pad3","client-list-header",3,"ngClass"],["data-test","current-clients-last-action","role","cell",1,"pad3","client-list-detail",3,"ngClass"],["tabindex","0",1,"actions-container"],["class","row-action",4,"ngIf"],[1,"row-action"],["gtagCtaEvent","","data-test","schedule-session","tabindex","0",3,"routerLink","queryParams"],["gtagCtaEvent","","data-test","non-clinical-chat-link","tabindex","0",3,"click"],[1,"client-list-row",3,"ngClass"],["data-dd-privacy","allow",1,"client-list-empty-state"],[4,"ngIf","ngIfElse"],["name","info","colorToken","$color-dec-indigo-60",3,"size"],["class","client-list-empty-state-no-clients",4,"ngIf","ngIfElse"],[1,"client-list-empty-state-no-clients"],["src","/assets/images/clients-list/no-matches.svg","alt",""],["data-test","current-clients-invite-client",3,"click","buttonType"],["src","/assets/images/clients-list/no-matches-gray.svg","alt",""],["label","Update Availability","aria-label","Availability settings","data-test","availability-settings",3,"routerLink"],["data-dd-privacy","allow",1,"client-list-empty-state-no-clients"],["src","/assets/images/clients-list/no-search-results-2.svg","alt",""],["aria-label","Clear filters","data-test","clear-all-filters",3,"click","buttonType"]],template:function(i,n){if(i&1){let p=y();o(0,"div",8)(1,"h1",9),c(2," Clients "),r(),o(3,"div",10)(4,"div",11)(5,"iris-button",12),h("click",function(){return u(p),_(n.handleNewPatientClick())}),c(6),r(),d(7,Ms,2,1,"iris-button",13),r(),o(8,"div",14),h("click",function(){return u(p),_(n.handleNewPatientClick())}),o(9,"a",15),c(10),r(),o(11,"button",16),g(12,"iris-icon",17),r()()()(),d(13,Ss,19,10,"ng-container",18),o(14,"section",19)(15,"div",20)(16,"mat-table",21,0),C(18,22),d(19,ws,2,3,"mat-header-cell",23)(20,ks,10,7,"mat-cell",24),b(),C(21,25),d(22,Ds,2,3,"mat-header-cell",26)(23,Vs,3,1,"mat-cell",27),b(),C(24,28),d(25,Us,2,4,"mat-header-cell",29)(26,js,4,4,"mat-cell",30),b(),C(27,31),d(28,Hs,2,3,"mat-header-cell",32)(29,qs,4,6,"mat-cell",33),b(),c(30,` 7! `),d(31,Qs,1,0,"mat-header-row",34)(32,Ws,1,2,"mat-row",35),r(),o(33,"mat-paginator",36,1),h("page",function(E){return u(p),_(n.onPaginate(E))}),r()()(),d(35,Zs,2,2,"div",37)(36,nl,3,2,"ng-template",38,2,Ie),g(38,"sondermind-confirmation-modal",null,3)(40,"sondermind-alert-modal",null,4)(42,"embedded-client-creator-dialog",39,5)(44,"calendar-bulk-client-upload-dialog",39,6)}i&2&&(a(),l("ngClass",Ge(22,us,!n.breakPoint.isMobile,n.breakPoint.isMobile)),a(4),l("buttonType",n.buttonType),a(),P("",n.addButtonText," "),a(),l("ngIf",n.showBulkUploadButton),a(3),P(" ",n.addButtonText," "),a(2),l("size",n.iconSizes.MD),a(),l("ngIf",n.paginationData.total>0),a(),l("ngClass",Ge(25,_s,n.tableState.sortAscending,!n.tableState.sortAscending)),a(),l("hidden",n.clients.length===0),a(),l("@.disabled",!0)("dataSource",n.clients)("matSortActive",n.tableState.sortBy)("matSortStart","asc"),a(15),l("matHeaderRowDef",n.displayedColumns),a(),l("matRowDefColumns",n.displayedColumns),a(),l("length",n.paginationData==null?null:n.paginationData.filtered)("pageSize",n.tableState==null?null:n.tableState.pageSize)("pageIndex",n.tableState==null?null:n.tableState.pageIndex)("pageSizeOptions",Y(28,Cs)),a(2),l("ngIf",n.clients.length===0),a(7),l("user",n.user),a(2),l("user",n.user))},dependencies:[ue,U,Qe,Ae,be,Te,co,Ee,ke,j,$e,X,Si,tt,Et,Dt,Nt,Rt,kt,Bt,zt,Lt,Ft,$t,it,en,Ot,se,Ho,Qo,Ji,Ut,Di,ri,eo,Ze],styles:[`@import"https://p.typekit.net/p.css?s=1&k=bnw6lfh&ht=tk&f=139.175.25136.2005.2006.2007.2008.2009.2010.2028.2030&a=82606318&app=typekit&e=css";@font-face{font-family:proxima-nova;src:url(https://use.typekit.net/af/949f99/00000000000000003b9b3068/27/l?primer=388f68b35a7cbf1ee3543172445c23e26935269fadd3b392a13ac7b2903677eb&fvd=n7&v=3) format("woff2"),url(https://use.typekit.net/af/949f99/00000000000000003b9b3068/27/d?primer=388f68b35a7cbf1ee3543172445c23e26935269fadd3b392a13ac7b2903677eb&fvd=n7&v=3) format("woff"),url(https://use.typekit.net/af/949f99/00000000000000003b9b3068/27/a?primer=388f68b35a7cbf1ee3543172445c23e26935269fadd3b392a13ac7b2903677eb&fvd=n7&v=3) format("opentype");font-display:auto;font-style:normal;font-weight:700;font-stretch:normal}@font-face{font-family:proxima-nova;src:url(https://use.typekit.net/af/705e94/00000000000000003b9b3062/27/l?primer=388f68b35a7cbf1ee3543172445c23e26935269fadd3b392a13ac7b2903677eb&fvd=n4&v=3) format("woff2"),url(https://use.typekit.net/af/705e94/00000000000000003b9b3062/27/d?primer=388f68b35a7cbf1ee3543172445c23e26935269fadd3b392a13ac7b2903677eb&fvd=n4&v=3) format("woff"),url(https://use.typekit.net/af/705e94/00000000000000003b9b3062/27/a?primer=388f68b35a7cbf1ee3543172445c23e26935269fadd3b392a13ac7b2903677eb&fvd=n4&v=3) format("opentype");font-display:auto;font-style:normal;font-weight:400;font-stretch:normal}@font-face{font-family:proxima-nova;src:url(https://use.typekit.net/af/6e816b/00000000000000003b9b3064/27/l?primer=388f68b35a7cbf1ee3543172445c23e26935269fadd3b392a13ac7b2903677eb&fvd=n5&v=3) format("woff2"),url(https://use.typekit.net/af/6e816b/00000000000000003b9b3064/27/d?primer=388f68b35a7cbf1ee3543172445c23e26935269fadd3b392a13ac7b2903677eb&fvd=n5&v=3) format("woff"),url(https://use.typekit.net/af/6e816b/00000000000000003b9b3064/27/a?primer=388f68b35a7cbf1ee3543172445c23e26935269fadd3b392a13ac7b2903677eb&fvd=n5&v=3) format("opentype");font-display:auto;font-style:normal;font-weight:500;font-stretch:normal}@font-face{font-family:museo-sans;src:url(https://use.typekit.net/af/620bf8/00000000000000000000e7fe/27/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n3&v=3) format("woff2"),url(https://use.typekit.net/af/620bf8/00000000000000000000e7fe/27/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n3&v=3) format("woff"),url(https://use.typekit.net/af/620bf8/00000000000000000000e7fe/27/a?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n3&v=3) format("opentype");font-display:auto;font-style:normal;font-weight:300;font-stretch:normal}@font-face{font-family:museo-sans;src:url(https://use.typekit.net/af/5cca6d/00000000000000000000e802/27/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=i3&v=3) format("woff2"),url(https://use.typekit.net/af/5cca6d/00000000000000000000e802/27/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=i3&v=3) format("woff"),url(https://use.typekit.net/af/5cca6d/00000000000000000000e802/27/a?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=i3&v=3) format("opentype");font-display:auto;font-style:italic;font-weight:300;font-stretch:normal}@font-face{font-family:museo-sans;src:url(https://use.typekit.net/af/a28b50/00000000000000000000e803/27/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n5&v=3) format("woff2"),url(https://use.typekit.net/af/a28b50/00000000000000000000e803/27/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n5&v=3) format("woff"),url(https://use.typekit.net/af/a28b50/00000000000000000000e803/27/a?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n5&v=3) format("opentype");font-display:auto;font-style:normal;font-weight:500;font-stretch:normal}@font-face{font-family:museo-sans;src:url(https://use.typekit.net/af/c2d3de/00000000000000000000e804/27/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=i5&v=3) format("woff2"),url(https://use.typekit.net/af/c2d3de/00000000000000000000e804/27/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=i5&v=3) format("woff"),url(https://use.typekit.net/af/c2d3de/00000000000000000000e804/27/a?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=i5&v=3) format("opentype");font-display:auto;font-style:italic;font-weight:500;font-stretch:normal}@font-face{font-family:museo-sans;src:url(https://use.typekit.net/af/e3ca36/00000000000000000000e805/27/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n7&v=3) format("woff2"),url(https://use.typekit.net/af/e3ca36/00000000000000000000e805/27/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n7&v=3) format("woff"),url(https://use.typekit.net/af/e3ca36/00000000000000000000e805/27/a?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n7&v=3) format("opentype");font-display:auto;font-style:normal;font-weight:700;font-stretch:normal}@font-face{font-family:museo-sans;src:url(https://use.typekit.net/af/2841b6/00000000000000000000e806/27/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=i7&v=3) format("woff2"),url(https://use.typekit.net/af/2841b6/00000000000000000000e806/27/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=i7&v=3) format("woff"),url(https://use.typekit.net/af/2841b6/00000000000000000000e806/27/a?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=i7&v=3) format("opentype");font-display:auto;font-style:italic;font-weight:700;font-stretch:normal}@font-face{font-family:museo-slab;src:url(https://use.typekit.net/af/53dec0/0000000000000000000100fe/27/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n3&v=3) format("woff2"),url(https://use.typekit.net/af/53dec0/0000000000000000000100fe/27/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n3&v=3) format("woff"),url(https://use.typekit.net/af/53dec0/0000000000000000000100fe/27/a?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n3&v=3) format("opentype");font-display:auto;font-style:normal;font-weight:300;font-stretch:normal}@font-face{font-family:museo-slab;src:url(https://use.typekit.net/af/aa4f4e/000000000000000000012043/27/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n5&v=3) format("woff2"),url(https://use.typekit.net/af/aa4f4e/000000000000000000012043/27/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n5&v=3) format("woff"),url(https://use.typekit.net/af/aa4f4e/000000000000000000012043/27/a?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n5&v=3) format("opentype");font-display:auto;font-style:normal;font-weight:500;font-stretch:normal}.tk-proxima-nova[_ngcontent-%COMP%]{font-family:proxima-nova,sans-serif}.tk-museo-sans[_ngcontent-%COMP%]{font-family:museo-sans,sans-serif}.tk-museo-slab[_ngcontent-%COMP%]{font-family:museo-slab,serif}[_nghost-%COMP%] sondermind-profile-picture.initials{font-size:60px}.pac-container.pac-logo[_ngcontent-%COMP%]:after{display:none}.pac-container[_ngcontent-%COMP%] .pac-item[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;position:relative;cursor:pointer;outline:0;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:transparent}.pac-container[_ngcontent-%COMP%] .pac-item[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:last-child{overflow:hidden;text-overflow:ellipsis}.pac-container[_ngcontent-%COMP%] .pac-item[disabled][_ngcontent-%COMP%]{cursor:default}.pac-container[_ngcontent-%COMP%] [dir=rtl][_ngcontent-%COMP%] .pac-item[_ngcontent-%COMP%]{text-align:right}.pac-container[_ngcontent-%COMP%] .pac-item[_ngcontent-%COMP%] .pac-icon[_ngcontent-%COMP%]{margin-right:5px;vertical-align:middle;margin-top:0;width:20px}@media(max-width:640px){.pac-container[_ngcontent-%COMP%] .pac-item[_ngcontent-%COMP%] .pac-icon[_ngcontent-%COMP%]{display:none}}.pac-container[_ngcontent-%COMP%] .pac-item[_ngcontent-%COMP%] .pac-icon[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{vertical-align:top}.pac-container[_ngcontent-%COMP%] [dir=rtl][_ngcontent-%COMP%] .pac-item[_ngcontent-%COMP%] .pac-icon[_ngcontent-%COMP%]{margin-left:16px;margin-right:0}.pac-container[_ngcontent-%COMP%] .pac-item[aria-disabled=true][_ngcontent-%COMP%]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}@media screen and (-ms-high-contrast:active){.pac-container[_ngcontent-%COMP%] .pac-item[_ngcontent-%COMP%]{margin:0 1px}.pac-container[_ngcontent-%COMP%] .pac-item.mat-active[_ngcontent-%COMP%]{border:solid 1px currentColor;margin:0}}html[_ngcontent-%COMP%]{line-height:1.15;-webkit-text-size-adjust:100%}body[_ngcontent-%COMP%]{margin:0}h1[_ngcontent-%COMP%]{font-size:2em;margin:.67em 0}hr[_ngcontent-%COMP%]{box-sizing:content-box;height:0;overflow:visible}main[_ngcontent-%COMP%]{display:block}pre[_ngcontent-%COMP%]{font-family:monospace,monospace;font-size:1em}a[_ngcontent-%COMP%]{background-color:transparent}abbr[title][_ngcontent-%COMP%]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b[_ngcontent-%COMP%], strong[_ngcontent-%COMP%]{font-weight:bolder}code[_ngcontent-%COMP%], kbd[_ngcontent-%COMP%], samp[_ngcontent-%COMP%]{font-family:monospace,monospace;font-size:1em}small[_ngcontent-%COMP%]{font-size:80%}sub[_ngcontent-%COMP%], sup[_ngcontent-%COMP%]{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub[_ngcontent-%COMP%]{bottom:-.25em}sup[_ngcontent-%COMP%]{top:-.5em}img[_ngcontent-%COMP%]{border-style:none}button[_ngcontent-%COMP%], input[_ngcontent-%COMP%], optgroup[_ngcontent-%COMP%], select[_ngcontent-%COMP%], textarea[_ngcontent-%COMP%]{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button[_ngcontent-%COMP%]{overflow:visible}button[_ngcontent-%COMP%], select[_ngcontent-%COMP%]{text-transform:none}button[_ngcontent-%COMP%], [type=button][_ngcontent-%COMP%], [type=reset][_ngcontent-%COMP%], [type=submit][_ngcontent-%COMP%]{-webkit-appearance:button}button[_ngcontent-%COMP%]::-moz-focus-inner, [type=button][_ngcontent-%COMP%]::-moz-focus-inner, [type=reset][_ngcontent-%COMP%]::-moz-focus-inner, [type=submit][_ngcontent-%COMP%]::-moz-focus-inner{border-style:none;padding:0}button[_ngcontent-%COMP%]:-moz-focusring, [type=button][_ngcontent-%COMP%]:-moz-focusring, [type=reset][_ngcontent-%COMP%]:-moz-focusring, [type=submit][_ngcontent-%COMP%]:-moz-focusring{outline:1px dotted ButtonText}input[_ngcontent-%COMP%]{overflow:visible}
7[type=checkbox][_ngcontent-%COMP%], [type=radio][_ngcontent-%COMP%]{box-sizing:border-box;padding:0}[type=number][_ngcontent-%COMP%]::-webkit-inner-spin-button, [type=number][_ngcontent-%COMP%]::-webkit-outer-spin-button{height:auto}[type=search][_ngcontent-%COMP%]{-webkit-appearance:textfield;outline-offset:-2px}[type=search][_ngcontent-%COMP%]::-webkit-search-decoration{-webkit-appearance:none}[_ngcontent-%COMP%]::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}fieldset[_ngcontent-%COMP%]{padding:.35em .75em .625em}legend[_ngcontent-%COMP%]{box-sizing:border-box;display:table;max-width:100%;padding:0;color:inherit;white-space:normal}progress[_ngcontent-%COMP%]{vertical-align:baseline}textarea[_ngcontent-%COMP%]{overflow:auto}details[_ngcontent-%COMP%]{display:block}summary[_ngcontent-%COMP%]{display:list-item}template[_ngcontent-%COMP%]{display:none}[hidden][_ngcontent-%COMP%]{display:none}.iris-h1-desktop[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:600;font-size:clamp(1.5rem,calc(1.5rem + 1.75 * ((100vw - 23.4375rem) / 96.5625)),3.25rem);line-height:1.2;letter-spacing:normal;margin-bottom:0}.iris-h2-desktop[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:600;font-size:clamp(1.375rem,calc(1.375rem + 1.125 * ((100vw - 23.4375rem) / 96.5625)),2.5rem);line-height:1.2;letter-spacing:normal;margin-bottom:0}.iris-h3-desktop[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:600;font-size:clamp(1.25rem,calc(1.25rem + .5 * ((100vw - 23.4375rem) / 96.5625)),1.75rem);line-height:1.2;letter-spacing:normal;margin-bottom:0}.iris-h4-desktop[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:600;font-size:calc(1.125rem + .25rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal}.iris-subheading-sm-desktop[_ngcontent-%COMP%]{font-family:Lora,Arial,sans-serif;color:#001219;font-weight:300;font-style:normal;font-size:clamp(1.375rem,calc(1.375rem + 1.125 * ((100vw - 23.4375rem) / 96.5625)),2.5rem);line-height:1.4;letter-spacing:normal;margin-bottom:0}.iris-subheading-md-desktop[_ngcontent-%COMP%]{font-family:Lora,Arial,sans-serif;color:#001219;font-weight:300;font-style:normal;font-size:clamp(1.5rem,calc(1.5rem + 1.75 * ((100vw - 23.4375rem) / 96.5625)),3.25rem);line-height:1.4;letter-spacing:normal;margin-bottom:0}.iris-body[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:inherit;font-weight:400;font-size:calc(1rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal}.iris-body-bold[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:700;font-size:calc(1rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal}.iris-legal[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:600;font-size:calc(.75rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.4;letter-spacing:.01em}.iris-button-text[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:600;font-size:calc(1rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal;letter-spacing:.0125em}.iris-h1-responsive[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:600;font-size:clamp(1.5rem,calc(1.5rem + 1.75 * ((100vw - 23.4375rem) / 96.5625)),3.25rem);line-height:1.2;letter-spacing:normal;margin-bottom:0}.iris-h2-responsive[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:600;font-size:clamp(1.375rem,calc(1.375rem + 1.125 * ((100vw - 23.4375rem) / 96.5625)),2.5rem);line-height:1.2;letter-spacing:normal;margin-bottom:0}.iris-h3-responsive[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:600;font-size:clamp(1.25rem,calc(1.25rem + .5 * ((100vw - 23.4375rem) / 96.5625)),1.75rem);line-height:1.2;letter-spacing:normal;margin-bottom:0}.iris-h4-responsive[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:600;font-size:calc(1.125rem + .25rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal}.iris-subheading-sm-responsive[_ngcontent-%COMP%]{font-family:Lora,Arial,sans-serif;color:#001219;font-weight:300;font-style:normal;font-size:clamp(1.375rem,calc(1.375rem + 1.125 * ((100vw - 23.4375rem) / 96.5625)),2.5rem);line-height:1.4;letter-spacing:normal;margin-bottom:0}.iris-subheading-md-responsive[_ngcontent-%COMP%]{font-family:Lora,Arial,sans-serif;color:#001219;font-weight:300;font-style:normal;font-size:clamp(1.5rem,calc(1.5rem + 1.75 * ((100vw - 23.4375rem) / 96.5625)),3.25rem);line-height:1.4;letter-spacing:normal;margin-bottom:0}.iris-body-responsive[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:400;font-size:calc(1rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal}.iris-body-bold-responsive[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:700;font-size:calc(1rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal}.iris-legal-responsive[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:600;font-size:calc(.75rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.4;letter-spacing:.01em}.iris-button-text-responsive[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:600;font-size:calc(1rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal;letter-spacing:.0125em}.iris-modal-h1-responsive[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:600;font-size:clamp(1.375rem,calc(1.375rem + 1.125 * ((100vw - 23.4375rem) / 96.5625)),2.5rem);line-height:1.2;letter-spacing:normal;margin-bottom:0}.iris-modal-h2-responsive[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:600;font-size:clamp(1.25rem,calc(1.25rem + .5 * ((100vw - 23.4375rem) / 96.5625)),1.75rem);line-height:1.2;letter-spacing:normal;margin-bottom:0}.iris-modal-h3-responsive[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:600;font-size:calc(1.125rem + .25rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal}.iris-display-xl[_ngcontent-%COMP%]{font-family:Lora,Arial,sans-serif;color:inherit;font-weight:400;font-style:normal;
7font-size:clamp(2rem,calc(2rem + 1.75 * ((100vw - 23.4375rem) / 96.5625)),3.75rem);line-height:1.4;letter-spacing:normal;margin-bottom:0}.iris-display-lg[_ngcontent-%COMP%]{font-family:Lora,Arial,sans-serif;color:inherit;font-weight:400;font-style:normal;font-size:clamp(1.75rem,calc(1.75rem + 2.25 * ((100vw - 23.4375rem) / 96.5625)),4rem);line-height:1.4;letter-spacing:normal;margin-bottom:0}.iris-display-md[_ngcontent-%COMP%]{font-family:Lora,Arial,sans-serif;color:inherit;font-weight:400;font-style:normal;font-size:clamp(1.5rem,calc(1.5rem + 1.75 * ((100vw - 23.4375rem) / 96.5625)),3.25rem);line-height:1.4;letter-spacing:normal;margin-bottom:0}.iris-display-sm[_ngcontent-%COMP%]{font-family:Lora,Arial,sans-serif;color:inherit;font-weight:400;font-style:normal;font-size:clamp(1.375rem,calc(1.375rem + 1.125 * ((100vw - 23.4375rem) / 96.5625)),2.5rem);line-height:1.4;letter-spacing:normal;margin-bottom:0}.iris-display-xs[_ngcontent-%COMP%]{font-family:Lora,Arial,sans-serif;color:inherit;font-weight:400;font-style:normal;font-size:clamp(1.25rem,calc(1.25rem + .5 * ((100vw - 23.4375rem) / 96.5625)),1.75rem);line-height:1.4;letter-spacing:normal;margin-bottom:0}.iris-headline-xl[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:inherit;font-weight:600;font-size:clamp(2rem,calc(2rem + 3.5 * ((100vw - 23.4375rem) / 96.5625)),5.5rem);line-height:1.2;letter-spacing:normal;margin-bottom:0}.iris-headline-lg[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:inherit;font-weight:600;font-size:clamp(1.75rem,calc(1.75rem + 2.25 * ((100vw - 23.4375rem) / 96.5625)),4rem);line-height:1.2;letter-spacing:normal;margin-bottom:0}.iris-headline-md[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:inherit;font-weight:600;font-size:clamp(1.5rem,calc(1.5rem + 1.75 * ((100vw - 23.4375rem) / 96.5625)),3.25rem);line-height:1.2;letter-spacing:normal;margin-bottom:0}.iris-headline-sm[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:inherit;font-weight:600;font-size:clamp(1.375rem,calc(1.375rem + 1.125 * ((100vw - 23.4375rem) / 96.5625)),2.5rem);line-height:1.2;letter-spacing:normal;margin-bottom:0}.iris-headline-xs[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:inherit;font-weight:600;font-size:clamp(1.25rem,calc(1.25rem + .5 * ((100vw - 23.4375rem) / 96.5625)),1.75rem);line-height:1.2;letter-spacing:normal;margin-bottom:0}.iris-body-lg[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:inherit;font-weight:400;font-size:calc(1.125rem + .25rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal}.iris-body-sm[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:inherit;font-weight:400;font-size:calc(.875rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal}.iris-caption[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:inherit;font-weight:400;font-size:calc(.75rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.4;letter-spacing:.01em}.ufd-h1-display[_ngcontent-%COMP%]{font-family:Lora,Arial,sans-serif;color:#001219;font-weight:400;font-style:normal;font-size:clamp(1.75rem,calc(1.75rem + 2.25 * ((100vw - 23.4375rem) / 96.5625)),4rem);line-height:1.4;letter-spacing:normal;margin-bottom:0}.ufd-h2-display[_ngcontent-%COMP%]{font-family:Lora,Arial,sans-serif;color:#001219;font-weight:400;font-style:normal;font-size:clamp(1.5rem,calc(1.5rem + 1.75 * ((100vw - 23.4375rem) / 96.5625)),3.25rem);line-height:1.4;letter-spacing:normal;margin-bottom:0}.ufd-h3-display[_ngcontent-%COMP%]{font-family:Lora,Arial,sans-serif;color:#001219;font-weight:400;font-style:normal;font-size:clamp(1.375rem,calc(1.375rem + 1.125 * ((100vw - 23.4375rem) / 96.5625)),2.5rem);line-height:1.4;letter-spacing:normal;margin-bottom:0}.ufd-h4-display[_ngcontent-%COMP%]{font-family:Lora,Arial,sans-serif;color:#001219;font-weight:400;font-style:normal;font-size:clamp(1.25rem,calc(1.25rem + .5 * ((100vw - 23.4375rem) / 96.5625)),1.75rem);line-height:1.4;letter-spacing:normal;margin-bottom:0}.ufd-h1[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:400;font-size:clamp(1.5rem,calc(1.5rem + 1.75 * ((100vw - 23.4375rem) / 96.5625)),3.25rem);line-height:1.2;letter-spacing:normal;margin-bottom:0}.ufd-h2[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:400;font-size:clamp(1.375rem,calc(1.375rem + 1.125 * ((100vw - 23.4375rem) / 96.5625)),2.5rem);line-height:1.2;letter-spacing:normal;margin-bottom:0}.ufd-h3[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:400;font-size:clamp(1.25rem,calc(1.25rem + .5 * ((100vw - 23.4375rem) / 96.5625)),1.75rem);line-height:1.2;letter-spacing:normal;margin-bottom:0}.ufd-h4[_ngcontent-%COMP%], .ufd-p1-sb[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:500;font-size:calc(1.125rem + .25rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal}.ufd-p1[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:400;font-size:calc(1.125rem + .25rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal}.ufd-p2-sb[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:500;font-size:calc(1rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal}.ufd-p2[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:400;font-size:calc(1rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal}.ufd-p3-sb[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:500;font-size:calc(.875rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal}.ufd-p3[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:400;font-size:calc(.875rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal}.ufd-legal[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:400;font-size:calc(.75rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.4;letter-spacing:.01em;line-height:1.3}[_nghost-%COMP%] .centerMatCardTitle[_ngcontent-%COMP%]{display:flex;flex-direction:row}[_nghost-%COMP%] .centerMatCardTitle[_ngcontent-%COMP%] .title-heading[_ngcontent-%COMP%]{flex:0 1 70%;display:flex;justify-content:flex-start;align-items:flex-start}[_nghost-%COMP%] .centerMatCardTitle[_ngcontent-%COMP%] .header-actions[_ngcontent-%COMP%]{flex:0 1 30%;display:flex;justify-content:flex-end;align-items:center}@media(max-width:599px){[_nghost-%COMP%] .centerMatCardTitle[_ngcontent-%COMP%] .header-actions[_ngcontent-%COMP%]{flex:0 1 40%}}[_nghost-%COMP%] .centerMatCardTitle[_ngcontent-%COMP%] .button-group[_ngcontent-%COMP%]{display:flex;flex-direction:row;gap:12px}[_nghost-%COMP%] .name-row[_ngcontent-%COMP%]{display:flex;flex-direction:row}[_nghost-%COMP%] .name-row[_ngcontent-%COMP%] .name-container[_ngcontent-%COMP%]{display:flex;justify-content:flex-start;align-items:center}[_nghost-%COMP%] .session-row[_ngcontent-%COMP%]{display:flex;flex-direction:row}[_nghost-%COMP%] .days-since-column[_ngcontent-%COMP%]{display:flex;flex-direction:column}[_nghost-%COMP%] .days-since-column[_ngcontent-%COMP%] .days-since-content[_ngcontent-%COMP%]{display:flex;justify-content:flex-start;align-items:center}[_nghost-%COMP%] .actions-container[_ngcontent-%COMP%]{display:flex;flex-direction:row}[_nghost-%COMP%] hr{margin-top:0}[_nghost-%COMP%] h1{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:600;font-size:clamp(1.5rem,calc(1.5rem + 1.75 * ((100vw - 23.4375rem) / 96.5625)),3.25rem);line-height:1.2;letter-spacing:normal;margin-bottom:0}[_nghost-%COMP%] mat-list-option{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:400;font-size:calc(1rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal;line-height:1.25rem}[_nghost-%COMP%] mat-list-option .mat-list-item-content{padding-left:0!important}[_nghost-%COMP%] mat-list-option .mat-header-row{padding-right:16px!important}@media(max-width:599px){.client-invite[_ngcontent-%COMP%]{display:none}}.client-invite[_ngcontent-%COMP%] .mat-button-wrapper{color:#002532}.client-invite-mobile[_ngcontent-%COMP%]{display:none}.client-status-indicator[_ngcontent-%COMP%]{margin-left:.5rem}
7.client-status-flags[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:600;font-size:calc(.75rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.4;letter-spacing:.01em;margin-left:.5rem}@media(max-width:768px){.client-status-flags[_ngcontent-%COMP%]{display:none!important}}.client-status-flags.inactive[_ngcontent-%COMP%]{color:#2f3a40}.client-status-flags.invited[_ngcontent-%COMP%]{background-color:#fff;border:1px solid #d8d8d8;border-radius:3px;color:#2f3a40;padding:2px .25rem;height:fit-content;margin-top:2px}.client-list[_ngcontent-%COMP%] .mat-sort-header-arrow[style]{opacity:1!important;transform:translateY(0)!important}.client-list[_ngcontent-%COMP%] .mat-sort-header-arrow[style] .mat-sort-header-stem{display:none}.client-list[_ngcontent-%COMP%] .mat-sort-header-arrow[style] .mat-sort-header-indicator{opacity:1;color:#045;font-weight:700}.client-list[_ngcontent-%COMP%] .mat-sort-header-arrow[style] .mat-sort-header-indicator .mat-sort-header-pointer-left, .client-list[_ngcontent-%COMP%] .mat-sort-header-arrow[style] .mat-sort-header-indicator .mat-sort-header-pointer-right, .client-list[_ngcontent-%COMP%] .mat-sort-header-arrow[style] .mat-sort-header-indicator .mat-sort-header-pointer-middle{display:none}.client-list[_ngcontent-%COMP%] .mat-sort-header-arrow .mat-sort-header-indicator{margin-top:.375rem;margin-left:12px;transform:none!important}.client-list[_ngcontent-%COMP%] .mat-sort-header-arrow .mat-sort-header-indicator:before{font: 1rem/1 FontAwesome;content:"\\f0dc";transform:none!important}.client-list.ascending-arrow[_ngcontent-%COMP%] mat-header-cell.sorted-header[_ngcontent-%COMP%] .mat-sort-header-arrow .mat-sort-header-indicator:before{font: 1rem/1 FontAwesome;content:"\\f0d8";position:absolute}.client-list.descending-arrow[_ngcontent-%COMP%] mat-header-cell.sorted-header[_ngcontent-%COMP%] .mat-sort-header-arrow .mat-sort-header-indicator:before{font: 1rem/1 FontAwesome;content:"\\f0d7";position:absolute}.client-list-header[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:600;font-size:calc(1.125rem + .25rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal}.client-list-detail[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:400;font-size:calc(1rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal;cursor:pointer}.client-list-detail[_ngcontent-%COMP%] .upcoming-appointment-link[_ngcontent-%COMP%]{color:#001219}.client-list-detail[_ngcontent-%COMP%] .recurring-until-icon[_ngcontent-%COMP%]{padding:0px .5rem;display:flex;align-items:center}.client-list-row[_ngcontent-%COMP%] .row-action[_ngcontent-%COMP%]{visibility:hidden;margin-right:1rem}.client-list-row[_ngcontent-%COMP%] .row-action[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover, .client-list-row[_ngcontent-%COMP%] .row-action[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:focus{font-weight:700}.client-list-row[_ngcontent-%COMP%]:hover, .client-list-row[_ngcontent-%COMP%]:focus-within{background-color:#f2f2f2}.client-list-row[_ngcontent-%COMP%]:hover .row-action[_ngcontent-%COMP%], .client-list-row[_ngcontent-%COMP%]:focus-within .row-action[_ngcontent-%COMP%]{visibility:visible}.client-list-row[_ngcontent-%COMP%] .actions-container[_ngcontent-%COMP%]:focus .row-action[_ngcontent-%COMP%], .client-list-row[_ngcontent-%COMP%] .actions-container[_ngcontent-%COMP%]:focus-within .row-action[_ngcontent-%COMP%]{visibility:visible}.client-list-row[_ngcontent-%COMP%]:active{background-color:#f2f2f2}.client-list-row[_ngcontent-%COMP%]:focus{background-color:#f2f2f2;border:1px solid #f67748}.client-list-row.inactive[_ngcontent-%COMP%]{background-color:#f6f7f7}.client-list-schedule[_ngcontent-%COMP%]{border:none;justify-content:flex-end}.client-list-schedule[_ngcontent-%COMP%] .mat-mdc-ripple{display:none}.client-list-schedule[_ngcontent-%COMP%]:hover, .client-list-schedule[_ngcontent-%COMP%]:active{background:none!important}.client-list-session-requested[_ngcontent-%COMP%]{color:#b93646}.client-search[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:baseline;width:95%;font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:400;font-size:calc(1rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal;gap:1rem}.client-search[_ngcontent-%COMP%] .client-search-container[_ngcontent-%COMP%]{min-width:80%}@media(max-width:599px){.client-search[_ngcontent-%COMP%] .client-search-container[_ngcontent-%COMP%]{width:100%}}@media(min-width:600px)and (max-width:1279px){.client-search[_ngcontent-%COMP%] .client-search-container[_ngcontent-%COMP%]{min-width:70%}}.client-search[_ngcontent-%COMP%] .client-sort-container[_ngcontent-%COMP%]{min-width:20%}@media(max-width:599px){.client-search[_ngcontent-%COMP%] .client-sort-container[_ngcontent-%COMP%]{display:none}}.client-search[_ngcontent-%COMP%] .client-sort-container[_ngcontent-%COMP%] .client-search-header[_ngcontent-%COMP%]{font-weight:700;font-size:1rem}
7.client-search[_ngcontent-%COMP%] .client-sort-container[_ngcontent-%COMP%] sonder-form-field[_ngcontent-%COMP%] .sonder-form-field-label{display:none!important}.client-search[_ngcontent-%COMP%] .client-sort-container[_ngcontent-%COMP%] sonder-form-field[_ngcontent-%COMP%] .mat-mdc-select-value{color:#001219}.client-search[_ngcontent-%COMP%] .client-sort-container[_ngcontent-%COMP%] sonder-form-field[_ngcontent-%COMP%] .client-sort{width:100%;background-color:#f2f5f6;border-radius:.25rem;padding:13px;font-family:Inclusive Sans,Arial,sans-serif;color:inherit;font-weight:400;font-size:calc(1rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal}.client-search[_ngcontent-%COMP%] iris-form-field[_ngcontent-%COMP%]{margin-top:-7px}.filters[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1.5rem;margin:.5rem 0px 1.5rem}@media(min-width:600px){.filters[_ngcontent-%COMP%]{display:flex;flex-direction:row;margin:.5rem 0px;align-items:center;justify-content:space-between}}.filters[_ngcontent-%COMP%] sonder-form-field[_ngcontent-%COMP%] {width:100%;margin-bottom:1rem}@media(min-width:600px){.filters[_ngcontent-%COMP%] sonder-form-field[_ngcontent-%COMP%] {width:245px}}@media(min-width:600px){.filters[_ngcontent-%COMP%] sonder-form-field[_ngcontent-%COMP%] .sonder-form-field{padding-right:1rem}}.filters[_ngcontent-%COMP%] sonder-form-field[_ngcontent-%COMP%] .sonder-form-field-label, .filters[_ngcontent-%COMP%] sonder-form-field[_ngcontent-%COMP%] .sonder-form-errors{display:none!important}.filters[_ngcontent-%COMP%] sonder-form-field[_ngcontent-%COMP%] .mat-mdc-select-value{color:#001219}.filters[_ngcontent-%COMP%] sonder-form-field[_ngcontent-%COMP%] .clients-filter{width:100%;background-color:#f2f5f6;border-radius:.25rem;padding:13px;font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:400;font-size:calc(1rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal}.filters[_ngcontent-%COMP%] iris-button[_ngcontent-%COMP%]{margin-top:2px}.filters[_ngcontent-%COMP%] .sort-form[_ngcontent-%COMP%]{display:flex;margin-top:-.5rem}hr.after-filters[_ngcontent-%COMP%]{border-top:1px #d8d8d8 solid}.client-list-empty-state[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:center;align-items:center;margin-top:3.5rem;text-align:center;font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:400;font-size:calc(1rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal}.client-list-empty-state[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:600;font-size:clamp(1.25rem,calc(1.25rem + .5 * ((100vw - 23.4375rem) / 96.5625)),1.75rem);line-height:1.2;letter-spacing:normal;margin-bottom:0}.client-list-empty-state[_ngcontent-%COMP%] iris-button[_ngcontent-%COMP%] .iris-button{margin-top:1rem;font-weight:700;font-size:.875rem;line-height:1.5rem}.client-list-empty-state[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{max-width:390px}.hidden-column-mobile[_ngcontent-%COMP%]{display:none} .clients-sort-select, .clients-filter-session-select, .clients-filter-status-select{border-top:.25rem solid #004455} .clients-sort-select mat-option .mat-mdc-option-text, .clients-filter-session-select mat-option .mat-mdc-option-text, .clients-filter-status-select mat-option .mat-mdc-option-text{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:400;font-size:calc(1rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal} .mat-mdc-select-panel-above div.mat-mdc-select-panel{background:#f2f2f2} .mdc-text-field--outlined .mdc-notched-outline{display:none} .mat-mdc-option.mat-mdc-option-active.mdc-list-item{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:400;font-size:calc(1rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal;color:#0d6a97!important} .mat-mdc-paginator-outer-container{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:400;font-size:calc(1rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal} .cdk-overlay-pane:not(.mat-mdc-select-panel-above) div.mat-mdc-select-panel{background:#fff}sonder-tooltip[_ngcontent-%COMP%], sonder-tooltip[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{border:none!important}iris-form-field[_ngcontent-%COMP%]{margin-right:1rem}@media(min-width:600px){iris-form-field[_ngcontent-%COMP%] iris-dropdown[_ngcontent-%COMP%] .iris-dropdown-container{width:250px}}iris-form-field[_ngcontent-%COMP%] iris-dropdown[_ngcontent-%COMP%] .iris-dropdown-container .iris-dropdown{border:none!important;min-height:51px!important;border-radius:.25rem;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important} 8 9 10/*# sourceMappingURL=current-clients-list.component-AU4P2HCU.css.map */`]})}}return t})();var al=["tabs"],rl=(t,s)=>({"ascending-arrow":t,"descending-arrow":s}),sl=t=>({"sorted-header":t}),ll=t=>({"name-cell-mobile":t}),cl=(t,s)=>({"hide-column":t,"sorted-header":s}),Ve=t=>({"hide-column":t}),_r=()=>({month:"short",day:"numeric"}),ml=(t,s,e)=>({"hide-column":t,"show-column":s,"sorted-header":e}),pl=t=>
10["/scheduling","events",t],dl=(t,s)=>({"hide-column":t,"show-column":s}),fl=()=>[15,30,50],gl=()=>["/general_availability"];function hl(t,s){if(t&1&&(o(0,"mat-header-cell",32),c(1," Name "),r()),t&2){let e=m();l("ngClass",A(1,sl,e.tableState.sortBy==="last_name"))}}function ul(t,s){t&1&&(o(0,"sonder-tooltip",41),g(1,"img",42),r())}function _l(t,s){t&1&&(o(0,"sonder-tooltip",43),g(1,"img",44),r())}function Cl(t,s){t&1&&(C(0),o(1,"sonder-tooltip",45),g(2,"img",46),r(),b())}function bl(t,s){if(t&1){let e=y();o(0,"mat-cell",33),h("click",function(){let n=u(e).$implicit,p=m();return _(p.viewClient(n))}),o(1,"div",34)(2,"div",35)(3,"span",36),c(4),r()()(),o(5,"div",37),d(6,ul,2,0,"sonder-tooltip",38)(7,_l,2,0,"sonder-tooltip",39)(8,Cl,3,0,"ng-container",40),r()()}if(t&2){let e=s.$implicit,i=m();a(2),l("ngClass",A(7,ll,i.breakPoint.isMobile)),a(),q("data-dd-action-name","client #"+e.patientId)("data-test","client-name-"+e.displayName),a(),P(" ",e.displayName," "),a(2),l("ngIf",e.urgent),a(),l("ngIf",e.clientUnderage),a(),l("ngIf",!e.accountComplete)}}function vl(t,s){if(t&1&&(o(0,"mat-header-cell",47),c(1," Date Matched "),r()),t&2){let e=m();l("ngClass",Ge(1,cl,e.breakPoint.isMobile,e.tableState.sortBy==="matched_at"))}}function yl(t,s){if(t&1){let e=y();o(0,"mat-cell",48),h("click",function(){let n=u(e).$implicit,p=m();return _(p.viewClient(n))}),o(1,"div",49)(2,"div",50),c(3),x(4,"localizedDate"),r()()()}if(t&2){let e=s.$implicit,i=m();l("ngClass",A(5,Ve,i.breakPoint.isMobile)),a(3),P(" ",N(4,2,e.matchedAt,Y(7,_r))," ")}}function Pl(t,s){if(t&1&&(o(0,"mat-header-cell",51),c(1," Source "),r()),t&2){let e=m();l("ngClass",A(1,Ve,e.breakPoint.isMobile))}}function xl(t,s){if(t&1){let e=y();o(0,"mat-cell",52),h("click",function(){let n=u(e).$implicit,p=m();return _(p.viewClient(n))}),o(1,"div",49)(2,"div",50)(3,"span"),c(4),x(5,"referralSource"),r()()()()}if(t&2){let e=s.$implicit,i=m();l("ngClass",A(6,Ve,i.breakPoint.isMobile)),a(4),P(" ",Zn(5,2,e.referralSource,e.referralAasmState,e.memberAasmState))}}function Ml(t,s){if(t&1&&(o(0,"mat-header-cell",53),c(1," Format preference "),r()),t&2){let e=m();l("ngClass",A(1,Ve,e.breakPoint.isMobile||e.matchClientStore.status==="client"))}}function Sl(t,s){t&1&&(o(0,"span"),c(1,"Video"),r())}function wl(t,s){t&1&&(o(0,"span"),c(1,",\xA0"),r())}function Il(t,s){t&1&&(o(0,"span"),c(1,"In-office"),r())}function Ol(t,s){if(t&1){let e=y();o(0,"mat-cell",54),h("click",function(){let n=u(e).$implicit,p=m();return _(p.viewClient(n))}),o(1,"div",49)(2,"div",50),d(3,Sl,2,0,"span",40)(4,wl,2,0,"span",40)(5,Il,2,0,"span",40),r()()()}if(t&2){let e=s.$implicit,i=m();l("ngClass",A(4,Ve,i.breakPoint.isMobile||i.matchClientStore.status==="client")),a(3),l("ngIf",e.sessionPreference=="noPreference"||e.sessionPreference=="video"),a(),l("ngIf",e.sessionPreference=="noPreference"),a(),l("ngIf",e.sessionPreference=="noPreference"||e.sessionPreference=="inPerson")}}function Tl(t,s){if(t&1&&(o(0,"mat-header-cell",55),c(1," Therapy topics "),r()),t&2){let e=m();l("ngClass",A(1,Ve,e.breakPoint.isMobile))}}function Al(t,s){if(t&1&&(C(0),o(1,"span"),c(2),r(),b()),t&2){let e=s.$implicit,i=s.last;a(2),H("",e,"",i?"":",\xA0")}}function El(t,s){if(t&1){let e=y();o(0,"mat-cell",56),h("click",function(){let n=u(e).$implicit,p=m();return _(p.viewClient(n))}),o(1,"div",49)(2,"div",57),d(3,Al,3,2,"ng-container",58),r()()()}if(t&2){let e=s.$implicit,i=m();l("ngClass",A(2,Ve,i.breakPoint.isMobile)),a(3),l("ngForOf",e.therapyTopics)}}function kl(t,s){if(t&1&&(o(0,"mat-header-cell",59),c(1," Requested session "),r()),t&2){let e=m();l("ngClass",A(1,Ve,e.matchClientStore.status==="client"))}}function Dl(t,s){if(t&1&&(C(0),o(1,"span"),c(2),r(),b()),t&2){let e=s.$implicit,i=s.last;a(2),H("",e,"",i?"":",\xA0")}}function Rl(t,s){if(t&1){let e=y();o(0,"span",62),h("click",function(n){u(e);let p=m().$implicit,M=m();return _(M.goToCalendarSession(n,p.timeProposalId))}),c(1),x(2,"formatRequestedTimeSlot"),r()}if(t&2){let e=m().$implicit,i=m();a(),P(" ",N(2,1,e.timeProposalStartTime,i.timezone)," ")}}function zl(t,s){if(t&1&&(o(0,"span"),c(1),x(2,"formatRequestedTimeSlot"),r()),t&2){let e=m().$implicit,i=m();
10a(),P(" ",N(2,1,e.timeProposalStartTime,i.timezone)," ")}}function Ll(t,s){if(t&1){let e=y();o(0,"mat-cell",60),h("click",function(){let n=u(e).$implicit,p=m();return _(p.viewClient(n))}),o(1,"div",49)(2,"div",57),C(3),d(4,Dl,3,2,"ng-container",58),b(),d(5,Rl,3,4,"span",61)(6,zl,3,4,"span",40),r()()()}if(t&2){let e=s.$implicit,i=m();l("ngClass",A(4,Ve,i.matchClientStore.status==="client")),a(4),l("ngForOf",e.sessionRequestedDays),a(),l("ngIf",i.matchClientStore.status===i.clientStatus.ACCEPTED),a(),l("ngIf",i.matchClientStore.status===i.clientStatus.NEW_MATCH)}}function Nl(t,s){if(t&1&&(o(0,"mat-header-cell",63),c(1," Session "),r()),t&2){let e=m();l("ngClass",ai(1,ml,e.matchClientStore.status!=="client",e.matchClientStore.status==="client",e.tableState.sortBy==="next_session_datetime"))}}function Bl(t,s){t&1&&(o(0,"span"),c(1,","),r())}function Fl(t,s){t&1&&g(0,"br")}function $l(t,s){if(t&1&&(o(0,"mat-cell",64)(1,"div",49)(2,"div"),c(3),x(4,"localizedDate"),x(5,"localizedDate"),d(6,Bl,2,0,"span",40)(7,Fl,1,0,"br",40),c(8),x(9,"localizedDate"),x(10,"lowercase"),x(11,"localizedDate"),x(12,"lowercase"),r()()()),t&2){let e=s.$implicit,i=m();l("routerLink",A(24,pl,e.nextSessionId))("ngClass",Ge(26,dl,i.matchClientStore.status!=="client",i.matchClientStore.status==="client")),a(3),H(" ",N(4,8,e.nextSessionDateTime,"weekday"),", ",N(5,11,e.nextSessionDateTime,Y(29,_r))," "),a(3),l("ngIf",!i.breakPoint.isMobile),a(),l("ngIf",i.breakPoint.isMobile),a(),H(" ",k(10,17,N(9,14,e.nextSessionDateTime,"shortTime"))," - ",k(12,22,N(11,19,e.nextSessionEndTime,"shortTime"))," ")}}function Vl(t,s){t&1&&g(0,"mat-header-row")}function Ul(t,s){if(t&1){let e=y();o(0,"mat-row",65),h("click",function(){let n=u(e).$implicit,p=m();return _(p.viewClient(n))})("keydown.enter",function(){let n=u(e).$implicit,p=m();return _(p.viewClient(n))}),r()}if(t&2){let e=s.index;q("data-test","match-client-list-row-"+e)}}function jl(t,s){if(t&1){let e=y();o(0,"mat-paginator",66,1),h("page",function(n){u(e);let p=m();return _(p.onPaginate(n))}),r()}if(t&2){let e=m();l("length",e.paginationData==null?null:e.paginationData.filtered)("pageSize",e.tableState.pageSize)("pageIndex",e.tableState==null?null:e.tableState.pageIndex)("pageSizeOptions",Y(4,fl))}}function Hl(t,s){if(t&1&&(o(0,"div",69),g(1,"iris-icon",70),c(2),r()),t&2){let e=m(2);a(),l("size",e.irisIconSizes.MD),a(),P(" ",e.loadingData," ")}}function Gl(t,s){t&1&&(o(0,"div")(1,"h2",75),c(2,"Update your availability to get matches"),r(),o(3,"div",76)(4,"iris-button",77),c(5," Update availability "),r()()()),t&2&&(a(4),l("routerLink",Y(1,gl)))}function Yl(t,s){t&1&&(g(0,"img",78),o(1,"h2"),c(2,"We're still finding you matches"),r())}function ql(t,s){if(t&1&&(o(0,"div",73),d(1,Gl,6,2,"div",74),x(2,"async"),d(3,Yl,3,0,"ng-template",null,3,Ie),r()),t&2){let e,i=Z(4),n=m(3);a(),l("ngIf",n.showAvailabilityErrorState&&((e=k(2,2,n.personaProviderProfile$))==null?null:e.acceptingClients)===!1)("ngIfElse",i)}}function Ql(t,s){t&1&&(o(0,"div",79)(1,"h2",75),c(2,"No recently accepted matches"),r(),o(3,"div",80),c(4,"If you're looking for a match that was made more than 30 days ago, change your settings to see matches older than 30 days."),r()())}function Wl(t,s){t&1&&(o(0,"div")(1,"h2",75),c(2,"No scheduled matches"),r(),o(3,"div",80),c(4,"When a match schedules, you'll see them here."),r()())}function Kl(t,s){if(t&1&&d(0,ql,5,4,"div",71)(1,Ql,5,0,"div",72)(2,Wl,5,0,"div",40),t&2){let e=m(2);l("ngIf",e.status===e.clientStatus.NEW_MATCH),a(),l("ngIf",e.status===e.clientStatus.ACCEPTED),a(),l("ngIf",e.status===e.clientStatus.CLIENT)}}function Zl(t,s){if(t&1&&(o(0,"div",67),d(1,Hl,3,2,"div",68)(2,Kl,3,3,"ng-template",null,2,Ie),r()),t&2){let e=Z(3),i=m();a(),l("ngIf",i.loadingData.length)("ngIfElse",e)}}var pn=(()=>{class t{constructor(e,i,n,p,M){this.route=e,this.router=i,this.matchClientStore=n,this.breakPoint=p,this.providerStore=M,this.referralSource=uo,this.aasmState=ho,this.clients=ie([]),this.loadingData="Loading please wait ....",this.paginationData={total:0,filtered:0,pages:0,number:1,size:15},this.displayedColumns=["last_name","matched_at","source","preference","topics","requested_session","next_session_datetime"],this.showSessionDate=!1,this.emptyClientStatusFilter=!1,this.tableState={page:1,pageIndex:0,pageSize:15,sortBy:"matched_at",sortAscending:!1,sortDirection:"desc",includeClientsRetainedMoreThan30Days:!0},this.matchClientType=vt.match,this.clientStatus=ne,this.filterOptions={filter:[{key:"client_type",value:this.matchClientType}],page:{size:this.tableState.pageSize,number:1},sort:{key:this.tableState.sortBy,asc:this.tableState.sortAscending}},this.irisIconSizes=ge,this.destroyedSubj=new F,this.destroyed$=this.destroyedSubj.asObservable()}ngOnChanges(e){this.status===this.matchClientStore.status&&(this.clientStatus.CLIENT&&(this.showSessionDate=!0),this.clientDataSub&&!e.status?.firstChange&&e.reload&&e.reload.currentValue===this.status&&this.loadData(),this.clientDataSub||(this.filterOptions.filter.push({key:"status",value:this.matchClientStore.status}),this.matchClientStore.filters=this.filterOptions,this.initializeTable()),this.matchClientStore.status===this.clientStatus.ACCEPTED&&e.showOlder&&(this.tableState.includeClientsRetainedMoreThan30Days=this.showOlder,this.loadData(),this.matchClientStore.loadMatchClientAnalytics())),this.personaProviderProfile$=this.providerStore.getPersonaProviderProfile$()}ngAfterViewInit(){this.sort.sortChange.pipe(v(this.destroyed$)).subscribe(e=>{this.tableState.sortDirection=e.direction,this.tableState.sortAscending=e.direction==="asc",this.tableState.sortBy=e.active,this.paginator&&(this.paginator.pageIndex=0),this.tableState.page=1,this.tableState.pageIndex=0,this.matchClientStore.updateTableState(this.tableState),this.loadData()})}ngOnDestroy(){this.destroyedSubj.next(),this.destroyedSubj.complete()}initializeTable(){this.matchClientStore.tableState$.pipe(v(this.destroyed$)).subscribe(e=>{e&&e[this.status]!==this.tableState&&this.status===this.matchClientStore.status&&(this.tableState=e[this.status],this.sort&&(this.sort.direction=this.tableState.sortAscending?"asc":"desc"),this.loadData())}),this.route.data.pipe(v(this.destroyed$)).subscribe(e=>{e.statuses&&this.loadData()}),this.clientDataSub=this.matchClientStore.clientData$.pipe(v(this.destroyed$)).subscribe(e=>{e.data&&(this.paginationData=te(te({},e.meta?.counts),e.meta?.page),this.clients.set(e.data||[]),this.loading=!1,this.loadingData="",this.emptyClientStatusFilter=!1,this.matchClientStore.initialLoadComplete=!0)})}onPaginate(e){this.tableState.page=e.pageIndex+1,this.tableState.pageIndex=e.pageIndex,this.tableState.pageSize=e.pageSize,this.matchClientStore.updateTableState(this.tableState),this.clients.set([]),this.loadData()}loadData(){if(this.loadingData="Loading, please wait ...",this.loading=!0,this.filterOptions={filter:[{key:"client_type",value:this.matchClientType},{key:"status",value:this.matchClientStore.status}],page:{size:this.tableState.pageSize,number:this.tableState.page},sort:{key:this.tableState.sortBy,asc:this.tableState.sortAscending}},this.status===this.clientStatus.ACCEPTED)if(!this.tableState.includeClientsRetainedMoreThan30Days)this.filterOptions.filter.push({key:"clients_newer_than_days",value:"30"});else{let e=this.filterOptions.filter.indexOf(this.filterOptions.filter.find(i=>i.key==="clients_newer_than_days"));e!==-1&&this.filterOptions.filter.splice(e,1)}this.status===this.clientStatus.CLIENT&&this.filterOptions.filter.push({key:"exclude_inactive_members",value:"true"}),this.matchClientStore.filters=this.filterOptions,this.matchClientStore.loadClients()}viewClient(e){(e.status===this.clientStatus.CLIENT?"match":e.status===this.clientStatus.ACCEPTED?"accepted":"new_match")==="match"?this.router.navigate(["clients",e.id],{state:{type:"match"}}):e.status===this.clientStatus.ACCEPTED?this.router.navigate(["referrals",e.id],{state:{type:"accepted"}}):this.router.navigate(["referrals",e.id],{state:{type:"new_match"}})}goToCalendarSession(e,i){e.stopPropagation(),this.router.navigate(["scheduling","events",i])}static{this.\u0275fac=function(i){return new(i||t)(f(Ce),f(ce),f(Gt),f(Ke),f(jt))}}static{this.\u0275cmp=w({type:t,selectors:[["member-match-clients-table"]],viewQuery:function(i,n){if(i&1&&(R(tt,5),R(it,5),R(al,5)),i&2){let p;z(p=L())&&(n.paginator=p.first),z(p=L())&&(n.sort=p.first),z(p=L())&&(n.tabs=p.first)}},inputs:{status:"status",reload:"reload",showOlder:"showOlder",timezone:"timezone",showAvailabilityErrorState:"showAvailabilityErrorState"},features:[oi],decls:29,vars:12,consts:[["table",""],["paginator",""],["empty",""],["noMatchesGeneral",""],["data-dd-privacy","allow",1,"client-list",3,"ngClass"],[3,"hidden"],["matSort","","matSortStart","asc","data-test","match-clients-table",3,"dataSource","matSortActive"],["matColumnDef","last_name"],["class","pad2 client-list-header name-cell","mat-sort-header","","disableClear","true","data-test","name-sort","aria-label","Name column","tabindex","0",3,"ngClass",4,"matHeaderCellDef"],["class","pad2 client-list-detail name-cell","data-test","match-client-name","tabindex","0",3,"click",4,"matCellDef"],["matColumnDef","matched_at"],["mat-sort-header","","class","pad3 client-list-header","disableClear","true","data-test","match-client-date-matched","aria-label","Date matched column","tabindex","0",3,"ngClass",4,"matHeaderCellDef"],["class","pad3 client-list-detail","data-test","match-client-status","tabindex","0",3,"ngClass","click",4,"matCellDef"],["matColumnDef","source"],["class","pad2 client-list-header","disableClear","true","data-test","match-client-source","aria-label","Source column","tabindex","0",3,"ngClass",4,"matHeaderCellDef"],["class","pad2 client-list-detail","data-test","match-client-source","tabindex","0",3,"ngClass","click",4,"matCellDef"],["matColumnDef","preference"],["class","pad2 client-list-header","disableClear","true","data-test","match-client-format-preference","aria-label","Format preference column","tabindex","0",3,"ngClass",4,"matHeaderCellDef"],["class","pad2 client-list-detail","data-test","match-client-preference","tabindex","0",3,"ngClass","click",4,"matCellDef"],["matColumnDef","topics"],["class","pad2 client-list-header","disableClear","true","data-test","match-client-therapy-topics","aria-label","Therapy topics column","tabindex","0",3,"ngClass",4,"matHeaderCellDef"],["class","pad2 client-list-detail","data-test","match-client-therapy-topics","tabindex","0",3,"ngClass","click",4,"matCellDef"],["matColumnDef","requested_session"],["class","pad2 client-list-header","disableClear","true","data-test","match-client-requested-session","aria-label","Requested session column","tabindex","0",3,"ngClass",4,"matHeaderCellDef"],["class","pad2 client-list-detail","data-test","match-client-requested-session","tabindex","0",3,"ngClass","click",4,"matCellDef"],["matColumnDef","next_session_datetime"],["class","pad2 client-list-header hide-xs","mat-sort-header","","disableClear","true","data-test","name-sort","aria-label","Schedule column","tabindex","0",3,"ngClass",4,"matHeaderCellDef"],["class","pad2 client-list-detail hide-xs",3,"routerLink","ngClass",4,"matCellDef"],[4,"matHeaderRowDef"],["class","client-list-row","tabindex","0",3,"click","keydown.enter",4,"matRowDef","matRowDefColumns"],["data-test","match-clients-pagination",3,"length","pageSize","pageIndex","pageSizeOptions"],["class","client-list-empty-state",4,"ngIf"],["mat-sort-header","","disableClear","true","data-test","name-sort","aria-label","Name column","tabindex","0",1,"pad2","client-list-header","name-cell",3,"ngClass"],["data-test","match-client-name","tabindex","0",1,"pad2","client-list-detail","name-cell",3,"click"],[1,"client-name"],[3,"ngClass"],["data-dd-privacy","mask"],[1,"client-status-flags"],["class","client-status-indicator","desktopTooltipText","Urgent","tabindex","0",4,"ngIf"],["class","client-status-indicator","desktopTooltipText","Minor","tabindex","0","data-test","minor-tag",4,"ngIf"],[4,"ngIf"],["desktopTooltipText","Urgent","tabindex","0",1,"client-status-indicator"],["alt","Urgent","displayText","","src","/assets/images/clients-list/urgent-tag.svg"],["desktopTooltipText","Minor","tabindex","0","data-test","minor-tag",1,"client-status-indicator"],["alt","Minor","displayText","","src","/assets/images/clients-list/minor-tag.svg"],["desktopTooltipText","Incomplete Account","data-test","incomplete-account-icon","tabindex","0",1,"client-status-indicator"],["displayText","","alt","Incomplete Account","src","/assets/images/clients-list/incomplete-account-tag.svg"],["mat-sort-header","","disableClear","true","data-test","match-client-date-matched","aria-label","Date matched column","tabindex","0",1,"pad3","client-list-header",3,"ngClass"],["data-test","match-client-status","tabindex","0",1,"pad3","client-list-detail",3,"click","ngClass"],[1,"table-column"],[1,"table-cell-content"],["disableClear","true","data-test","match-client-source","aria-label","Source column","tabindex","0",1,"pad2","client-list-header",3,"ngClass"],["data-test","match-client-source","tabindex","0",1,"pad2","client-list-detail",3,"click","ngClass"],["disableClear","true","data-test","match-client-format-preference","aria-label","Format preference column","tabindex","0",1,"pad2","client-list-header",3,"ngClass"],["data-test","match-client-preference","tabindex","0",1,"pad2","client-list-detail",3,"click","ngClass"],["disableClear","true","data-test","match-client-therapy-topics","aria-label","Therapy topics column","tabindex","0",1,"pad2","client-list-header",3,"ngClass"],["data-test","match-client-therapy-topics","tabindex","0",1,"pad2","client-list-detail",3,"click","ngClass"],[1,"cell-detail-list"],[4,"ngFor","ngForOf"],["disableClear","true","data-test","match-client-requested-session","aria-label","Requested session column","tabindex","0",1,"pad2","client-list-header",3,"ngClass"],["data-test","match-client-requested-session","tabindex","0",1,"pad2","client-list-detail",3,"click","ngClass"],["class","cell-link",3,"click",4,"ngIf"],[1,"cell-link",3,"click"],["mat-sort-header","","disableClear","true","data-test","name-sort","aria-label","Schedule column","tabindex","0",1,"pad2","client-list-header","hide-xs",3,"ngClass"],[1,"pad2","client-list-detail","hide-xs",3,"routerLink","ngClass"],["tabindex","0",1,"client-list-row",3,"click","keydown.enter"],["data-test","match-clients-pagination",3,"page","length","pageSize","pageIndex","pageSizeOptions"],[1,"client-list-empty-state"],["class","loading-data",4,"ngIf","ngIfElse"],[1,"loading-data"],["name","info",3,"size"],["class","client-list-empty-state-no-client-list","data-dd-privacy","allow",4,"ngIf"],["class","client-list-empty-state-no-client-list",4,"ngIf"],["data-dd-privacy","allow",1,"client-list-empty-state-no-client-list"],[4,"ngIf","ngIfElse"],[1,"iris-h2-responsive"],[1,"update-availability-button"],["aria-label","Update availability","data-test","update-availability",3,"routerLink"],["src","/assets/images/clients-list/no-matches.svg","alt",""],[1,"client-list-empty-state-no-client-list"],[1,"iris-body-responsive"]],template:function(i,n){i&1&&(o(0,"section",4)(1,"div",5)(2,"mat-table",6,0),C(4,7),d(5,hl,2,3,"mat-header-cell",8)(6,bl,9,9,"mat-cell",9),b(),C(7,10),d(8,vl,2,4,"mat-header-cell",11)(9,yl,5,8,"mat-cell",12),b(),C(10,13),d(11,Pl,2,3,"mat-header-cell",14)(12,xl,6,8,"mat-cell",15),b(),C(13,16),d(14,Ml,2,3,"mat-header-cell",17)(15,Ol,6,6,"mat-cell",18),b(),C(16,19),d(17,Tl,2,3,"mat-header-cell",20)(18,El,4,4,"mat-cell",21),b(),C(19,22),d(20,kl,2,3,"mat-header-cell",23)(21,Ll,7,6,"mat-cell",24),b(),C(22,25),d(23,Nl,2,5,"mat-header-cell",26)(24,$l,13,30,"mat-cell",27),b(),d(25,Vl,1,0,"mat-header-row",28)(26,Ul,1,1,"mat-row",29),r()(),I(27,jl,2,5,"mat-paginator",30),r(),d(28,Zl,4,2,"div",31)),i&2&&(l("ngClass",Ge(9,rl,n.tableState.sortAscending,!n.tableState.sortAscending)),a(),l("hidden",n.clients().length===0),a(),l("@.disabled",!0)("dataSource",n.clients())("matSortActive",n.tableState.sortBy),a(23),l("matHeaderRowDef",n.displayedColumns),a(),l("matRowDefColumns",n.displayedColumns),a(),O(n.clients().length?27:-1),a(),l("ngIf",n.clients().length===0))},dependencies:[_e,ue,qe,U,at,Qe,Xi,Ji,ki,Et,Dt,Nt,Rt,kt,Bt,zt,Lt,Ft,$t,Qi,tt,tn,it,en,Ne,j,X,Oe,ri,Jo,Ha,Ze],styles:[`h2[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;f
10ont-weight:600;font-size:clamp(1.375rem,calc(1.375rem + 1.125 * ((100vw - 23.4375rem) / 96.5625)),2.5rem);line-height:1.2;letter-spacing:normal;margin-bottom:0}h3[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:600;font-size:clamp(1.25rem,calc(1.25rem + .5 * ((100vw - 23.4375rem) / 96.5625)),1.75rem);line-height:1.2;letter-spacing:normal;margin-bottom:0}.client-name[_ngcontent-%COMP%], .table-column[_ngcontent-%COMP%]{display:flex;flex-direction:column}.table-cell-content[_ngcontent-%COMP%]{display:flex;justify-content:flex-start;align-items:center}@media(max-width:599px){.hide-xs[_ngcontent-%COMP%]{display:none!important}}@media(min-width:600px){.hide-xs[_ngcontent-%COMP%]{display:flex!important}}[_nghost-%COMP%] .mat-header-row{margin-top:-12px}@media(max-width:598px){[_nghost-%COMP%] .mat-header-row{padding-right:.25rem!important}}@media(max-width:598px){[_nghost-%COMP%] .mat-row{padding-right:.25rem!important}}[_nghost-%COMP%] mat-list-option{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:400;font-size:calc(1rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal}[_nghost-%COMP%] mat-list-option .mat-list-item-content{padding-left:0!important}[_nghost-%COMP%] mat-list-option .mat-list-item-content .mat-pseudo-checkbox-checked{background:#045}[_nghost-%COMP%] button.mat-menu-item{width:unset;justify-content:flex-end}[_nghost-%COMP%] .mat-menu-item .mat-icon{margin-right:0}@media(min-width:959px){[_nghost-%COMP%] .client-list-row .client-list-detail .client-name{max-width:55%}}.client-status[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:600;font-size:calc(.75rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.4;letter-spacing:.01em;padding:3px 5px;text-transform:uppercase;border-radius:4px;letter-spacing:.07em;white-space:nowrap;margin-right:0}@media(min-width:600px){.client-status[_ngcontent-%COMP%]{margin-right:.5rem}}.client-status-flags[_ngcontent-%COMP%]{display:flex;align-items:center}@media(max-width:1280px){.client-status-flags[_ngcontent-%COMP%]{display:none}}.client-status-flags[_ngcontent-%COMP%] .client-status-indicator[_ngcontent-%COMP%]{margin-left:.5rem}.client-status-flags[_ngcontent-%COMP%] .client-status-indicator[_ngcontent-%COMP%] iris-chip.in-progress[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:600;font-size:calc(.75rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.4;letter-spacing:.01em;display:flex;flex-direction:row;background-color:#fff;border:1px solid #255564;border-radius:3px;color:#255564!important;height:fit-content;margin-top:2px;font-weight:400!important;min-width:72px}.client-status.client[_ngcontent-%COMP%]{background-color:#255564;color:#fff}.client-status.inactive[_ngcontent-%COMP%]{background-color:#d8d8d8;color:#fff}.client-status.invited[_ngcontent-%COMP%]{background-color:#fff;border:1px solid #d8d8d8;color:#2f3a40}.client-status.not-invited[_ngcontent-%COMP%]{background-color:#f2f2f2;color:#5e666b;border:1px solid #d8d8d8}.client-status.new-match[_ngcontent-%COMP%]{background-color:#048106;color:#fff}.client-status.accepted[_ngcontent-%COMP%]{background-color:#fcbf38;color:#001219}.client-status-wrapper[_ngcontent-%COMP%]{display:flex;align-items:center}.client-list[_ngcontent-%COMP%] .mat-sort-header-arrow[style]{opacity:1!important;transform:translateY(0)!important}.client-list[_ngcontent-%COMP%] .mat-sort-header-arrow[style] .mat-sort-header-stem{display:none}.client-list[_ngcontent-%COMP%] .mat-sort-header-arrow[style] .mat-sort-header-indicator{opacity:1;color:#045;font-weight:700}.client-list[_ngcontent-%COMP%] .mat-sort-header-arrow[style] .mat-sort-header-indicator .mat-sort-header-pointer-left, .client-list[_ngcontent-%COMP%] .mat-sort-header-arrow[style] .mat-sort-header-indicator .mat-sort-header-pointer-right, .client-list[_ngcontent-%COMP%] .mat-sort-header-arrow[style] .mat-sort-header-indicator .mat-sort-header-pointer-middle{display:none}.client-list[_ngcontent-%COMP%] .mat-sort-header-arrow .mat-sort-header-indicator{margin-top:.25rem;margin-left:12px;transform:none!important}.client-list[_ngcontent-%COMP%] .mat-sort-header-arrow .mat-sort-header-indicator:before{font: 1rem/1 FontAwesome;content:"\\f0dc";transform:none!important}.client-list.ascending-arrow[_ngcontent-%COMP%] mat-header-cell.sorted-header[_ngcontent-%COMP%] .mat-sort-header-arrow .mat-sort-header-indicator:before{font: 1rem/1 FontAwesome;content:"\\f0d8";position:absolute}.client-list.descending-arrow[_ngcontent-%COMP%] mat-header-cell.sorted-header[_ngcontent-%COMP%] .mat-sort-header-arrow .mat-sort-header-indicator:before{font: 1rem/1 FontAwesome;content:"\\f0d7";position:absolute}.client-list-header[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:600;font-size:calc(1.125rem + .25rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal;color:#013240}.client-list-header.name-cell[_ngcontent-%COMP%]{min-width:23%}.client-list-detail[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:400;font-size:calc(1rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal;cursor:pointer}.client-list-detail.name-cell[_ngcontent-%COMP%]{min-width:23%}.client-list-row[_ngcontent-%COMP%]:hover, .client-list-row[_ngcontent-%COMP%]:active{background-color:#f2f2f2}.client-list-session-requested[_ngcontent-%COMP%]{color:#b93646}.client-list-empty-state[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:center;align-items:center;margin-top:75px;text-align:center}.client-list-empty-state[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:400;font-size:calc(1rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal}.client-list-empty-state[_ngcontent-%COMP%] .loading-data[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:400;font-size:calc(1rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal;display:flex;gap:.25rem;align-items:center}.client-list-empty-state[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{max-width:365px}.disabled-button[_ngcontent-%COMP%]{color:#d8d8d8!important;pointer-events:none}.status-on-mobile[_ngcontent-%COMP%]{justify-content:flex-end;margin-right:-1rem}.cell-detail-list[_ngcontent-%COMP%]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;max-width:178px;display:unset}.cell-detail-list[_ngcontent-%COMP%] .cell-link[_ngcontent-%COMP%]{color:#0d6a97;text-decoration:underline}.hide-column[_ngcontent-%COMP%]{display:none}.show-column[_ngcontent-%COMP%]{display:flex!important}.name-cell-mobile[_ngcontent-%COMP%]{max-width:145px}.update-availability-button[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-items:center;padding:10px 16px} 11/*# sourceMappingURL=match-clients-table.component-BWSOT5OC.css.map */`]})}}return t})();var pe={online:{id:"video",title:"Video",tag:"video"},inPerson:{id:"in_person",title:"In-person",tag:"in_person"},both:{id:"both",title:"Both",tag:"both"}},Gf=[{label:pe.online.title,title:pe.online.title,tag:pe.online.tag},{label:pe.inPerson.title,title:pe.inPerson.title,tag:pe.inPerson.tag},{label:pe.both.title,title:pe.both.title,tag:pe.both.tag}],Yf=[{title:pe.online.title,tag:pe.online.tag},{title:pe.inPerson.title,tag:pe.inPerson.tag}];var Xl={title:"Woman",tag:"F"},ec={title:"Non-binary",tag:"U"},tc={title:"Man",tag:"M"},Cr=[Xl,ec,tc];var br=(()=>{class t{constructor(e,i){this.configurationService=e,this.http=i}listGenders$(e={}){let i=this.http.generateListParams(e);return this.http.get(this.fetchUrlGenders,i).pipe(T(n=>xe(te({},n),{data:n.data.map(p=>_t(p))})),this.http.handleHttpErrorStrict())}listSpecialties$(e={}){let i=this.http.generateListParams(e);return this.http.get(this.fetchUrlSpecialties,i).pipe(T(n=>xe(te({},n),{data:n.data.map(p=>_t(p))})),this.http.handleHttpErrorStrict())}listModalities$(e={}){let i=this.http.generateListParams(e);return this.http.get(this.fetchUrlModalities,i).pipe(T(n=>xe(te({},n),{data:n.data.map(p=>_t(p))})),this.http.handleHttpErrorStrict())}listTreatmentPreferences$(e={}){let i=this.http.generateListParams(e);return this.http.get(this.fetchUrlTreatmentPreferences,i).pipe(T(n=>xe(te({},n),{data:n.data.map(p=>_t(p))})),this.http.handleHttpErrorStrict())}listAges$(e={}){let i=this.http.generateListParams(e);return this.http.get(this.fetchUrlAges,i).pipe(T(n=>xe(te({},n),{data:n.data.map(p=>_t(p))})),this.http.handleHttpErrorStrict())}get fetchUrlGenders(){return`${this.configurationService.env.enginelessBase}/reference_datum/genders`}get fetchUrlProviderNetworkCompanies(){return`${this.configurationService.env.svcBase}/flows/provider_network_companies`}get fetchUrlSpecialties(){return`${this.configurationService.env.enginelessBase}/reference_datum/specialties`}get fetchUrlModalities(){return`${this.configurationService.env.enginelessBase}/reference_datum/modalities`}get fetchUrlStates(){return`${this.configurationService.env.svcBase}
11/billing/provider_network_company_states`}get fetchUrlTreatmentPreferences(){return`${this.configurationService.env.enginelessBase}/reference_datum/treatment_preferences`}get fetchUrlAges(){return`${this.configurationService.env.enginelessBase}/reference_datum/ages`}static{this.\u0275fac=function(i){return new(i||t)(he(ui),he(Ci))}}static{this.\u0275prov=je({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var yr=(()=>{class t{constructor(e,i,n,p){if(this.filtersHttpService=e,this.localStorageService=i,this.insuranceStore=n,this.platformId=p,this.genderMap={},this.transformedGenderMap={},this.genderTransformMap={man:"Male",woman:"Female"},this.currentStateSubject=new oe(null),this.currentIsPsychiatristSubject=new oe(!1),this.isLoadedSubject=new oe(!1),this.isStateLoadedSubject=new oe(null),this.localStorageKey="filter-options-current-state",this.lastFetchedProviderNetworkState="",si(this.platformId)){let M=i.get(this.localStorageKey);M?(this.currentStateSubject.next(M),this.isStateLoadedSubject.next(!0)):this.isStateLoadedSubject.next(!1)}}setCurrentState(e){e&&e==="all"||e&&!na(e)||(this.currentStateSubject.next(e),e!==null?(si(this.platformId)&&this.localStorageService.set(this.localStorageKey,e),this.isStateLoadedSubject.next(!0)):(si(this.platformId)&&this.localStorageService.removeItem(this.localStorageKey),this.isStateLoadedSubject.next(!1)))}getCurrentState(){return this.currentStateSubject.value}setCurrentIsPsychiatrist(e){this.currentIsPsychiatristSubject.next(e)}getCurrentIsPsychiatrist(){return this.currentIsPsychiatristSubject.value}setIsLoaded(e){this.isLoadedSubject.next(e)}isLoaded$(){return this.isLoadedSubject.asObservable()}isStateLoaded$(){return this.isStateLoadedSubject.asObservable()}currentState$(){return this.currentStateSubject.asObservable()}genderList$(){return this.genders$||(this.genders$=we(Cr).pipe(ot(e=>{e.forEach(({title:i})=>{this.genderMap[i]=i,this.transformedGenderMap[i]=this.genderTransformMap[i.toLowerCase()]||i})}),fe({bufferSize:1,refCount:!0}))),this.genders$}insuranceList$(){return this.currentStateSubject.pipe(Qt(),V(e=>{e&&(!this.insurances$||this.lastFetchedProviderNetworkState!==e)&&(this.lastFetchedProviderNetworkState=e,this.insurances$=this.insuranceStore.getInsuranceOptionsByState$({state:e}));let i=this.getCurrentIsPsychiatrist();return this.insurances$.pipe(T(n=>i?n.filter(p=>p.includesPsych):n))}))}specialtyList$(){return this.specialties$||(this.specialties$=this.filtersHttpService.listSpecialties$({page:"disabled"}).pipe(T(e=>e.data),fe({bufferSize:1,refCount:!0}))),this.specialties$}modalityList$(){return this.modalities$||(this.modalities$=this.filtersHttpService.listModalities$().pipe(T(e=>e.data),fe({bufferSize:1,refCount:!0}))),this.modalities$}treatmentPreferenceList$(){return this.treatmentPreferences$||(this.treatmentPreferences$=this.filtersHttpService.listTreatmentPreferences$({page:"disabled"}).pipe(T(e=>e.data),fe({bufferSize:1,refCount:!0}))),this.treatmentPreferences$}ageList$(){return this.ages$||(this.ages$=this.filtersHttpService.listAges$({page:"disabled"}).pipe(T(e=>e.data),fe({bufferSize:1,refCount:!0}))),this.ages$}static{this.\u0275fac=function(i){return new(i||t)(he(br),he(po),he(on),he(Dn))}}static{this.\u0275prov=je({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var pc=["diagnosisInput"],dc=["specialtiesInput"];function fc(t,s){t&1&&(o(0,"mat-spinner",9),c(1,"Saving"),r())}function gc(t,s){t&1&&(o(0,"div",17),c(1," We\u2019ll match this client to psychiatric providers that fit their needs using the information you give us. They will remain your active therapy client. "),r())}function hc(t,s){t&1&&(o(0,"div",17),c(1," We\u2019ll match this client to therapy providers that fit their needs using the information you give us. They will remain your active psychiatry client. "),r())}function uc(t,s){if(t&1){let e=y();o(0,"mat-chip-row",36),h("removed",function(){let n=u(e).$implicit,p=m(5);return _(p.removeSpecialty(n))}),c(1),g(2,"iris-icon",37),r()}if(t&2){let e=s.$implicit,i=m(5);l("removable",!0),a(),P(" ",e.title," "),a(),l("size",i.iconSizes.SM)}}
11function _c(t,s){if(t&1&&(C(0),o(1,"mat-option",38),c(2),r(),b()),t&2){let e=s.$implicit;a(),l("value",e),a(),S(e.title)}}function Cc(t,s){if(t&1){let e=y();o(0,"div",33)(1,"div",34),c(2,"Therapy topic *"),r(),o(3,"sonder-form-field",24)(4,"mat-chip-grid",null,1),d(6,uc,3,3,"mat-chip-row",25),g(7,"input",35,4),r(),o(9,"mat-autocomplete",27,5),h("optionSelected",function(n){u(e);let p=m(4);return _(p.specialtiesSelected(n.option.value))}),d(11,_c,3,2,"ng-container",28),r()()()}if(t&2){let e=Z(5),i=Z(10),n=m(4);a(6),l("ngForOf",n.selectedSpecialties),a(),l("matAutocomplete",i)("matChipInputFor",e)("matChipInputSeparatorKeyCodes",n.separatorKeysCodes)("matChipInputAddOnBlur",!1),a(4),l("ngForOf",n.specialtiesData)}}function bc(t,s){if(t&1){let e=y();o(0,"mat-chip-row",36),h("removed",function(){let n=u(e).$implicit,p=m(4);return _(p.removeDiagnosis(n))}),c(1),g(2,"iris-icon",37),r()}if(t&2){let e=s.$implicit,i=m(4);l("removable",!0),a(),H(" ",e.tag,"-",e.title," "),a(),l("size",i.iconSizes.SM)}}function vc(t,s){if(t&1&&(C(0),o(1,"mat-option",38),c(2),r(),b()),t&2){let e=s.$implicit;a(),l("value",e),a(),H("",e.tag,"-",e.title)}}function yc(t,s){if(t&1){let e=y();o(0,"form",18),d(1,Cc,12,6,"div",19),o(2,"iris-form-field",20),g(3,"iris-text-area",21),r(),o(4,"div",22),c(5,"Diagnosis"),r(),o(6,"div",23),c(7,"Select all that apply. To search type the first three letters of the diagnosis or its code."),r(),o(8,"sonder-form-field",24)(9,"mat-chip-grid",null,1),d(11,bc,3,4,"mat-chip-row",25),g(12,"input",26,2),r(),o(14,"mat-autocomplete",27,3),h("optionSelected",function(n){u(e);let p=m(3);return _(p.diagnosisSelected(n))}),d(16,vc,3,3,"ng-container",28),x(17,"async"),r()(),o(18,"iris-form-field",29),g(19,"iris-text-area",30),r(),o(20,"iris-button-container",31)(21,"iris-button",32),h("click",function(){u(e);let n=m(3);return _(n.changeStep(2))}),c(22," Next "),r()()()}if(t&2){let e=Z(10),i=Z(15),n=m(3);l("formGroup",n.referralFormGroup),a(),l("ngIf",n.eligibilityData==null?null:n.eligibilityData.psychReferral),a(2),l("autoResizeEnabled",!0),a(8),l("ngForOf",n.selectedDiagnosis),a(),l("matAutocomplete",i)("matChipInputFor",e)("matChipInputSeparatorKeyCodes",n.separatorKeysCodes)("matChipInputAddOnBlur",!1),a(4),l("ngForOf",k(17,17,n.filterOptions$)),a(2),l("label",qn("Does ",n.patient.firstName," have any preferences for their new provider you'd like to include?"))("showOptionalTag",!1),a(),l("autoResizeEnabled",!0),a(),l("alignment",n.IrisButtonContainerAlignments.END),a(),l("buttonType",n.IrisButtonTypes.PRIMARY)("typeAttribute",n.IrisButtonTypeAttributeOptions.SUBMIT)("disabled",n.referralFormGroup.invalid)}}function Pc(t,s){if(t&1&&(C(0),o(1,"h1",12),c(2," Referral details "),d(3,gc,2,0,"div",13)(4,hc,2,0,"div",13),r(),o(5,"div",14),c(6," Provider type you\u2019re referring to "),r(),o(7,"div",15),c(8),r(),d(9,yc,23,19,"form",16),b()),t&2){let e=m(2);a(3),l("ngIf",!e.eligibilityData.psychReferral),a(),l("ngIf",e.eligibilityData.psychReferral),a(4),P(" ",e.eligibilityData.psychReferral?"Therapy":"Psychiatry"," "),a(),l("ngIf",e.referralFormGroup)}}function xc(t,s){if(t&1){let e=y();C(0),o(1,"form",18)(2,"h1",12),c(3," Confirmation "),r(),o(4,"div",17),c(5," We\u2019ll share your contact info, referral reason, and diagnoses with the new provider matches. They\u2019ll also have access to this client\u2019s CQ scores. "),r(),o(6,"h4",39),c(7," Please click to confirm the following "),r(),o(8,"iris-checkbox",40),c(9),o(10,"div",41),c(11),r()(),o(12,"iris-checkbox",42),c(13," I, "),o(14,"span",43),c(15),r(),c(16,", declare this information to be accurate and complete. "),r()(),o(17,"iris-button-container",31)(18,"iris-button",44),h("click",function(){u(e);let n=m(2);return _(n.submit())}),c(19," Submit "),r()(),b()}if(t&2){let e=m(2);a(),l("formGroup",e.confirmationFormGroup),a(8),H(" I, ",e.provider.fullName,", declare that I have spoken to ",e.patient.firstName," about this referral. "),a(2),P("We\u2019ll match clients to ",e.eligibilityData.psychReferral?"therapist":"psychiatrist","(s) who should be reaching out to them once this form is completed, so it\u2019s important that the client is expecting this communication."),a(4),S(e.provider.fullName),a(2),l("alignment",e.IrisButtonContainerAlignments.END),a(),l("buttonType",e.IrisButtonTypes.PRIMARY)("typeAttribute",e.IrisButtonTypeAttributeOptions.SUBMIT)("disabled",e.confirmationFormGroup.invalid)}}function Mc(t,s){if(t&1){let e=y();C(0),o(1,"div",45),g(2,"img",46),o(3,"h3",47),c(4,"Referral submitted!"),r(),o(5,"div",17),c(6),r(),o(7,"iris-button",48),h("click",function(){u(e);let n=m(2);return _(n.close())}),c(8," Close "),r()(),b()}if(t&2){let e=m(2);a(6),P(" We\u2019ll reach out to ",e.patient.firstName," shortly with next steps. "),a(),l("buttonType",e.IrisButtonTypes.PRIMARY)("typeAttribute",e.IrisButtonTypeAttributeOptions.SUBMIT)}}function Sc(t,s){if(t&1&&(o(0,"div",10),d(1,Pc,10,4,"ng-container",11)(2,xc,20,9,"ng-container",11)(3,Mc,9,3,"ng-container",11),r()),t&2){let e=m();a(),l("ngIf",e.currentStep===1),a(),l("ngIf",e.currentStep===2),a(),l("ngIf",e.currentStep===3)}}var Mr=(()=>{class t{constructor(e,i,n,p,M,E,W){this.breakpointService=e,this.irisModalRef=i,this.refDataService=n,this.internalReferralService=p,this.segmentService=M,this.snackbar=E,this.filtersStore=W,this.iconSizes=ge,this.saving=!1,this.progressBarValue=50,this.currentStep=1,this.selectedDiagnosis=[],this.separatorKeysCodes=[13,188],this.referralFormGroup=new bn({reasonForReferral:new G("",Q.required),diagnosis:new G(void 0),specialty:new G(void 0),preferences:new G("")}),this.confirmationFormGroup=new bn({spoken:new G(!1,Q.requiredTrue),accurate:new G(!1,Q.requiredTrue)}),this.IrisButtonContainerAlignments=ze,this.IrisButtonTypes=B,this.IrisButtonTypeAttributeOptions=Je,this.specialtiesData=[],this.filteredSpecialtiesData=[],this.selectedSpecialties=[],this.headerTitle="Refer client to psychiatry",this.destroy$=new F,this.filterOptions$=this.referralFormGroup.controls.diagnosis.valueChanges.pipe(_n(""),un(400),Qt(),V(K=>this.search(K||""))),this.referralFormGroup.controls.specialty.valueChanges.pipe(_n(""),Qt(),un(400)).subscribe(K=>{this.searchTherapyTopic(K)})}ngOnInit(){this.patient=this.irisModalRef.config?.data?.patient||null,this.provider=this.irisModalRef.config?.data?.provider||null,this.breakpointService.toggleModal(!0),this.get
11Specialties(),this.eligibilityData=this.irisModalRef.config?.data?.eligibilityData,this.eligibilityData.psychReferral?(this.headerTitle="Refer client to therapy",this.referralFormGroup.get("specialty").setValidators(Q.required),this.referralType=bt.THERAPY):(this.referralFormGroup.get("specialty").clearValidators(),this.referralType=bt.PSYCHIATRY)}ngOnDestroy(){this.breakpointService.toggleModal(!1),this.destroy$.next(),this.destroy$.complete()}search(e){return this.refDataService.list(Fi.idc_codes,{page:"disabled",filter:[{key:"search",value:e},{key:"hidden",value:"false"}],sort:[{key:"tag",asc:!0}]}).pipe(T(i=>i.data))}changeStep(e){this.currentStep=e,this.progressBarValue=this.currentStep*50,this.progressBarValue>100&&(this.progressBarValue=100)}removeDiagnosis(e){let i=this.selectedDiagnosis.indexOf(e);i>=0&&this.selectedDiagnosis.splice(i,1)}removeSpecialty(e){let i=this.selectedSpecialties.indexOf(e);i>=0&&this.selectedSpecialties.splice(i,1),this.selectedSpecialties.length||this.referralFormGroup.controls.specialty.setValue(null)}diagnosisSelected(e){this.selectedDiagnosis.push(e.option.value),this.diagnosisInput.nativeElement.value="",this.referralFormGroup.controls.diagnosis.setValue(null)}specialtiesSelected(e){this.selectedSpecialties.push(e),this.specialtiesInput.nativeElement.value="",this.specialtiesData=this.filteredSpecialtiesData}close(){this.irisModalRef.close(!1)}submit(){this.saving=!0;let e={providerId:this.provider.personaProviderId,providerName:this.provider.fullName,providerEmail:this.provider.email,referralName:this.patient.fullName,referralPersonaClientId:this.patient.personaClientId,referralEmail:this.patient.email,referringType:this.referralType,dateViewed:new Date().toISOString()};this.internalReferralService.submitReferral({internal_referral:{persona_client_id:this.patient.personaClientId,referring_type:this.referralType,referring_reason:this.referralFormGroup.controls.reasonForReferral.value,preferences:this.referralFormGroup.controls.preferences.value,reference_data_ids:this.selectedDiagnosis.map(i=>i.id),reasons_ids:this.selectedSpecialties.map(i=>i.id)}}).subscribe({next:i=>{if(this.saving=!1,!i.data){this.snackbar.open("Failed to submit referral. Try again later."),this.segmentService.track(We.InternalReferralFailed,e),this.close();return}this.segmentService.track(We.InternalReferralSubmitted,e),this.changeStep(3)},error:i=>{this.snackbar.open("Failed to submit referral. Try again later."),this.segmentService.track(We.InternalReferralFailed,e),this.close()}})}getSpecialties(){this.filtersStore.specialtyList$().pipe(v(this.destroy$)).subscribe(e=>{this.specialtiesData=e,this.filteredSpecialtiesData=e})}searchTherapyTopic(e){if(e?.id)return;let i=e.toLowerCase();this.specialtiesData=this.filteredSpecialtiesData.filter(n=>n?.title?.toLowerCase()?.includes(i))}static{this.\u0275fac=function(i){return new(i||t)(f(Ke),f(It),f($i),f(yi),f(Ct),f(De),f(yr))}}static{this.\u0275cmp=w({type:t,selectors:[["psychiatry-modal"]],viewQuery:function(i,n){if(i&1&&(R(pc,5),R(dc,5)),i&2){let p;z(p=L())&&(n.diagnosisInput=p.first),z(p=L())&&(n.specialtiesInput=p.first)}},standalone:!1,decls:5,vars:7,consts:[["spinner",""],["chipGrid",""],["diagnosisInput",""],["auto","matAutocomplete"],["specialtiesInput",""],["specialty","matAutocomplete"],[3,"activatePreviousStep","exitModal","hideBackButton","showProfileImage","progressSheetTitle","progressSheetSubtitle","showCloseButton"],[3,"percentComplete"],["class","content-container",4,"ngIf","ngIfElse"],["diameter","40",1,"spinner"],[1,"content-container"],[4,"ngIf"],[1,"iris-h1-responsive"],["class","iris-body-responsive",4,"ngIf"],[1,"iris-body-bold"],[1,"iris-body-responsive","iris-mb-05"],[3,"formGroup",4,"ngIf"],[1,"iris-body-responsive"],[3,"formGroup"],["class","iris-mb-05",4,"ngIf"],["label","Reason for referral"],["formControlName","reasonForReferral","data-test","reason-for-referral",1,"textarea",3,"autoResizeEnabled"],[1,"iris-body-bold","iris-mt-05"],[1,"iris-legal-responsive","iris-mb-02","subtext"],[1,"diagnosis"],[3,"removable","removed",4,"ngFor","ngForOf"],["type","text","placeholder","To search type the first three letters of a diagnosis","formControlName","diagnosis","data-test","diagnosis",3,"matAutocomplete","matChipInputFor","matChipInputSeparatorKeyCodes","matChipInputAddOnBlur"],[3,"optionSelected"],[4,"ngFor","ngForOf"],["helperText","e.g. a woman provider, someone who speaks Spanish, etc",1,"iris-mt-05","preference",3,"label","showOptionalTag"],["formControlName","preferences","data-test","preferences",1,"textarea",3,"autoResizeEnabled"],[1,"iris-mt-05",3,"alignment"],["data-test","next",3,"click","buttonType","typeAttribute","disabled"],[1,"iris-mb-05"],[1,"iris-body-bold","iris-mb-02"],["type","text","placeholder","\xA0\xA0 To search, type the first three letters of a therapy topic","formControlName","specialty","data-test","therapy-topic",3,"matAutocomplete","matChipInputFor","matChipInputSeparatorKeyCodes","matChipInputAddOnBlur"],[3,"removed","removable"],["name","cancel","matChipRemove","",3,"size"],[3,"value"],[1,"iris-h4-responsive"],["formControlName","spoken","data-test","confirmation-box-1",1,"confirmation-box"],[1,"checkbox-subtitle"],["formControlName","accurate","data-test","confirmation-box-2",1,"confirmation-box"],["data-dd-privacy","mask"],["data-test","submit",3,"click","buttonType","typeAttribute","disabled"],[1,"success-container"],["src","/assets/images/success.svg","alt","",1,"image"],[1,"iris-h3-responsive"],[1,"iris-mt-05",3,"click","buttonType","typeAttribute"]],template:function(i,n){if(i&1){let p=y();o(0,"modal-header",6),h("activatePreviousStep",function(){return u(p),_(n.changeStep(1))})("exitModal",function(){return u(p),_(n.close())}),r(),g(1,"iris-progress-bar",7),d(2,fc,2,0,"ng-template",null,0,Ie)(4,Sc,4,3,"div",8)}if(i&2){let p=Z(3);l("hideBackButton",n.currentStep!==2)("progressSheetTitle",n.headerTitle)("progressSheetSubtitle",n.currentStep!==3?"Step "+n.currentStep+" of 2":"Referral submitted")("showCloseButton",!0),a(),l("percentComplete",n.progressBarValue),a(3),l("ngIf",!n.saving)("ngIfElse",p)}},dependencies:[qe,U,Ae,io,be,Te,ut,zo,Ee,ke,$e,wi,j,Le,xi,X,Yo,aa,ra,va,ya,_a,ba,ua,Vo,Oe],styles:[`.iris-margin-auto[_ngcontent-%COMP%]{margin:auto!important}.iris-mt-00[_ngcontent-%COMP%]{margin-top:0!important}.iris-mr-00[_ngcontent-%COMP%]{margin-right:0!important}.iris-mb-00[_ngcontent-%COMP%]{margin-bottom:0!important}.iris-ml-00[_ngcontent-%COMP%]{margin-left:0!important}.iris-mx-00[_ngcontent-%COMP%]{margin-left:0!important;margin-right:0!important}.iris-my-00[_ngcontent-%COMP%]{margin-top:0!important;margin-bottom:0!important}.iris-pt-00[_ngcontent-%COMP%]{padding-top:0!important}.iris-pr-00[_ngcontent-%COMP%]{padding-right:0!important}.iris-pb-00[_ngcontent-%COMP%]{padding-bottom:0!important}.iris-pl-00[_ngcontent-%COMP%]{padding-left:0!important}.iris-px-00[_ngcontent-%COMP%]{padding-left:0!important;padding-right:0!important}.iris-py-00[_ngcontent-%COMP%]{padding-top:0!important;padding-bottom:0!important}.iris-mt-01[_ngcontent-%COMP%]{margin-top:.25rem!important}.iris-mr-01[_ngcontent-%COMP%]{margin-right:.25rem!important}.iris-mb-01[_ngcontent-%COMP%]{margin-bottom:.25rem!important}.iris-ml-01[_ngcontent-%COMP%]{margin-left:.25rem!important}.iris-mx-01[_ngcontent-%COMP%]{margin-left:.25rem!important;margin-right:.25rem!important}.iris-my-01[_ngcontent-%COMP%]{margin-top:.25rem!important;margin-bottom:.25rem!important}.iris-pt-01[_ngcontent-%COMP%]{padding-top:.25rem!important}.iris-pr-01[_ngcontent-%COMP%]{padding-right:.25rem!important}.iris-pb-01[_ngcontent-%COMP%]{padding-bottom:.25rem!important}.iris-pl-01[_ngcontent-%COMP%]{padding-left:.25rem!important}.iris-px-01[_ngcontent-%COMP%]{padding-left:.25rem!important;padding-right:.25rem!important}.iris-py-01[_ngcontent-%COMP%]{padding-top:.25rem!important;padding-bottom:.25rem!important}.iris-mt-02[_ngcontent-%COMP%]{margin-top:.5rem!important}.iris-mr-02[_ngcontent-%COMP%]{margin-right:.5rem!important}.iris-mb-02[_ngcontent-%COMP%]{margin-bottom:.5rem!important}.iris-ml-02[_ngcontent-%COMP%]{margin-left:.5rem!important}.iris-mx-02[_ngcontent-%COMP%]{margin-left:.5rem!important;margin-right:.5rem!important}.iris-my-02[_ngcontent-%COMP%]{margin-top:.5rem!important;margin-bottom:.5rem!important}.iris-pt-02[_ngcontent-%COMP%]{padding-top:.5rem!important}.iris-pr-02[_ngcontent-%COMP%]{padding-right:.5rem!important}.iris-pb-02[_ngcontent-%COMP%]{padding-bottom:.5rem!important}.iris-pl-02[_ngcontent-%COMP%]{padding-left:.5rem!important}.iris-px-02[_ngcontent-%COMP%]{padding-left:.5rem!important;padding-right:.5rem!important}.iris-py-02[_ngcontent-%COMP%]{padding-top:.5rem!important;padding-bottom:.5rem!important}.iris-mt-03[_ngcontent-%COMP%]{margin-top:1rem!important}.iris-mr-03[_ngcontent-%COMP%]{margin-right:1rem!important}.iris-mb-03[_ngcontent-%COMP%]{margin-bottom:1rem!important}.iris-ml-03[_ngcontent-%COMP%]{margin-left:1rem!important}.iris-mx-03[_ngcontent-%COMP%]{margin-left:1rem!important;margin-right:1rem!important}.iris-my-03[_ngcontent-%COMP%]{margin-top:1rem!important;margin-bottom:1rem!important}.iris-pt-03[_ngcontent-%COMP%]{padding-top:1rem!important}.iris-pr-03[_ngcontent-%COMP%]{padding-right:1rem!important}.iris-pb-03[_ngcontent-%COMP%]{padding-bottom:1rem!important}.iris-pl-03[_ngcontent-%COMP%]{padding-left:1rem!important}.iris-px-03[_ngcontent-%COMP%]{padding-left:1rem!important;padding-right:1rem!important}.iris-py-03[_ngcontent-%COMP%]{padding-top:1rem!important;padding-bottom:1rem!important}
11.iris-mt-04[_ngcontent-%COMP%]{margin-top:1.5rem!important}.iris-mr-04[_ngcontent-%COMP%]{margin-right:1.5rem!important}.iris-mb-04[_ngcontent-%COMP%]{margin-bottom:1.5rem!important}.iris-ml-04[_ngcontent-%COMP%]{margin-left:1.5rem!important}.iris-mx-04[_ngcontent-%COMP%]{margin-left:1.5rem!important;margin-right:1.5rem!important}.iris-my-04[_ngcontent-%COMP%]{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.iris-pt-04[_ngcontent-%COMP%]{padding-top:1.5rem!important}.iris-pr-04[_ngcontent-%COMP%]{padding-right:1.5rem!important}.iris-pb-04[_ngcontent-%COMP%]{padding-bottom:1.5rem!important}.iris-pl-04[_ngcontent-%COMP%]{padding-left:1.5rem!important}.iris-px-04[_ngcontent-%COMP%]{padding-left:1.5rem!important;padding-right:1.5rem!important}.iris-py-04[_ngcontent-%COMP%]{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.iris-mt-05[_ngcontent-%COMP%]{margin-top:2rem!important}.iris-mr-05[_ngcontent-%COMP%]{margin-right:2rem!important}.iris-mb-05[_ngcontent-%COMP%]{margin-bottom:2rem!important}.iris-ml-05[_ngcontent-%COMP%]{margin-left:2rem!important}.iris-mx-05[_ngcontent-%COMP%]{margin-left:2rem!important;margin-right:2rem!important}.iris-my-05[_ngcontent-%COMP%]{margin-top:2rem!important;margin-bottom:2rem!important}.iris-pt-05[_ngcontent-%COMP%]{padding-top:2rem!important}.iris-pr-05[_ngcontent-%COMP%]{padding-right:2rem!important}.iris-pb-05[_ngcontent-%COMP%]{padding-bottom:2rem!important}.iris-pl-05[_ngcontent-%COMP%]{padding-left:2rem!important}.iris-px-05[_ngcontent-%COMP%]{padding-left:2rem!important;padding-right:2rem!important}.iris-py-05[_ngcontent-%COMP%]{padding-top:2rem!important;padding-bottom:2rem!important}.iris-mt-06[_ngcontent-%COMP%]{margin-top:2.5rem!important}.iris-mr-06[_ngcontent-%COMP%]{margin-right:2.5rem!important}.iris-mb-06[_ngcontent-%COMP%]{margin-bottom:2.5rem!important}.iris-ml-06[_ngcontent-%COMP%]{margin-left:2.5rem!important}.iris-mx-06[_ngcontent-%COMP%]{margin-left:2.5rem!important;margin-right:2.5rem!important}.iris-my-06[_ngcontent-%COMP%]{margin-top:2.5rem!important;margin-bottom:2.5rem!important}.iris-pt-06[_ngcontent-%COMP%]{padding-top:2.5rem!important}.iris-pr-06[_ngcontent-%COMP%]{padding-right:2.5rem!important}.iris-pb-06[_ngcontent-%COMP%]{padding-bottom:2.5rem!important}.iris-pl-06[_ngcontent-%COMP%]{padding-left:2.5rem!important}.iris-px-06[_ngcontent-%COMP%]{padding-left:2.5rem!important;padding-right:2.5rem!important}.iris-py-06[_ngcontent-%COMP%]{padding-top:2.5rem!important;padding-bottom:2.5rem!important}.iris-mt-07[_ngcontent-%COMP%]{margin-top:3rem!important}.iris-mr-07[_ngcontent-%COMP%]{margin-right:3rem!important}.iris-mb-07[_ngcontent-%COMP%]{margin-bottom:3rem!important}.iris-ml-07[_ngcontent-%COMP%]{margin-left:3rem!important}.iris-mx-07[_ngcontent-%COMP%]{margin-left:3rem!important;margin-right:3rem!important}.iris-my-07[_ngcontent-%COMP%]{margin-top:3rem!important;margin-bottom:3rem!important}.iris-pt-07[_ngcontent-%COMP%]{padding-top:3rem!important}.iris-pr-07[_ngcontent-%COMP%]{padding-right:3rem!important}.iris-pb-07[_ngcontent-%COMP%]{padding-bottom:3rem!important}.iris-pl-07[_ngcontent-%COMP%]{padding-left:3rem!important}.iris-px-07[_ngcontent-%COMP%]{padding-left:3rem!important;padding-right:3rem!important}.iris-py-07[_ngcontent-%COMP%]{padding-top:3rem!important;padding-bottom:3rem!important}.iris-mt-08[_ngcontent-%COMP%]{margin-top:3.5rem!important}.iris-mr-08[_ngcontent-%COMP%]{margin-right:3.5rem!important}.iris-mb-08[_ngcontent-%COMP%]{margin-bottom:3.5rem!important}.iris-ml-08[_ngcontent-%COMP%]{margin-left:3.5rem!important}.iris-mx-08[_ngcontent-%COMP%]{margin-left:3.5rem!important;margin-right:3.5rem!important}.iris-my-08[_ngcontent-%COMP%]{margin-top:3.5rem!important;margin-bottom:3.5rem!important}.iris-pt-08[_ngcontent-%COMP%]{padding-top:3.5rem!important}.iris-pr-08[_ngcontent-%COMP%]{padding-right:3.5rem!important}.iris-pb-08[_ngcontent-%COMP%]{padding-bottom:3.5rem!important}.iris-pl-08[_ngcontent-%COMP%]{padding-left:3.5rem!important}.iris-px-08[_ngcontent-%COMP%]{padding-left:3.5rem!important;padding-right:3.5rem!important}.iris-py-08[_ngcontent-%COMP%]{padding-top:3.5rem!important;padding-bottom:3.5rem!important}.iris-mt-auto[_ngcontent-%COMP%]{margin-top:auto!important}.iris-mr-auto[_ngcontent-%COMP%]{margin-right:auto!important}.iris-mb-auto[_ngcontent-%COMP%]{margin-bottom:auto!important}.iris-ml-auto[_ngcontent-%COMP%]{margin-left:auto!important}.iris-mx-auto[_ngcontent-%COMP%]{margin-left:auto!important;margin-right:auto!important}.iris-my-auto[_ngcontent-%COMP%]{margin-top:auto!important;margin-bottom:auto!important}.iris-h1-desktop[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:600;font-size:clamp(1.5rem,calc(1.5rem + 1.75 * ((100vw - 23.4375rem) / 96.5625)),3.25rem);line-height:1.2;letter-spacing:normal;margin-bottom:0}.iris-h2-desktop[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:600;font-size:clamp(1.375rem,calc(1.375rem + 1.125 * ((100vw - 23.4375rem) / 96.5625)),2.5rem);line-height:1.2;letter-spacing:normal;margin-bottom:0}.iris-h3-desktop[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:600;font-size:clamp(1.25rem,calc(1.25rem + .5 * ((100vw - 23.4375rem) / 96.5625)),1.75rem);line-height:1.2;letter-spacing:normal;margin-bottom:0}.iris-h4-desktop[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:600;font-size:calc(1.125rem + .25rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal}.iris-subheading-sm-desktop[_ngcontent-%COMP%]{font-family:Lora,Arial,sans-serif;color:#001219;font-weight:300;font-style:normal;font-size:clamp(1.375rem,calc(1.375rem + 1.125 * ((100vw - 23.4375rem) / 96.5625)),2.5rem);line-height:1.4;letter-spacing:normal;margin-bottom:0}.iris-subheading-md-desktop[_ngcontent-%COMP%]{font-family:Lora,Arial,sans-serif;color:#001219;font-weight:300;font-style:normal;font-size:clamp(1.5rem,calc(1.5rem + 1.75 * ((100vw - 23.4375rem) / 96.5625)),3.25rem);line-height:1.4;letter-spacing:normal;margin-bottom:0}.iris-body[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:inherit;font-weight:400;font-size:calc(1rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal}.iris-body-bold[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:700;font-size:calc(1rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal}.iris-legal[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:600;font-size:calc(.75rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.4;letter-spacing:.01em}.iris-button-text[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:600;font-size:calc(1rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal;letter-spacing:.0125em}.iris-h1-responsive[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:600;font-size:clamp(1.5rem,calc(1.5rem + 1.75 * ((100vw - 23.4375rem) / 96.5625)),3.25rem);line-height:1.2;letter-spacing:normal;margin-bottom:0}.iris-h2-responsive[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:600;font-size:clamp(1.375rem,calc(1.375rem + 1.125 * ((100vw - 23.4375rem) / 96.5625)),2.5rem);line-height:1.2;letter-spacing:normal;margin-bottom:0}.iris-h3-responsive[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:600;font-size:clamp(1.25rem,calc(1.25rem + .5 * ((100vw - 23.4375rem) / 96.5625)),1.75rem);line-height:1.2;letter-spacing:normal;margin-bottom:0}.iris-h4-responsive[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:600;font-size:calc(1.125rem + .25rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal}.iris-subheading-sm-responsive[_ngcontent-%COMP%]{font-family:Lora,Arial,sans-serif;color:#001219;font-weight:300;font-style:normal;font-size:clamp(1.375rem,calc(1.375rem + 1.125 * ((100vw - 23.4375rem) / 96.5625)),2.5rem);line-height:1.4;letter-spacing:normal;margin-bottom:0}.iris-subheading-md-responsive[_ngcontent-%COMP%]{font-family:Lora,Arial,sans-serif;color:#001219;font-weight:300;font-style:normal;font-size:clamp(1.5rem,calc(1.5rem + 1.75 * ((100vw - 23.4375rem) / 96.5625)),3.25rem);line-height:1.4;letter-spacing:normal;margin-bottom:0}.iris-body-responsive[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:400;font-size:calc(1rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal}.iris-body-bold-responsive[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:700;font-size:calc(1rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal}.iris-legal-responsive[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:600;font-size:calc(.75rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.4;letter-spacing:.01em}.iris-button-text-responsive[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:600;font-size:calc(1rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal;letter-spacing:.0125em}.iris-modal-h1-responsive[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:600;font-size:clamp(1.375rem,calc(1.375rem + 1.125 * ((100vw - 23.4375rem) / 96.5625)),2.5rem);line-height:1.2;letter-spacing:normal;margin-bottom:0}.iris-modal-h2-responsive[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:600;font-size:clamp(1.25rem,calc(1.25rem + .5 * ((100vw - 23.4375rem) / 96.5625)),1.75rem);line-height:1.2;letter-spacing:normal;margin-bottom:0}.iris-modal-h3-responsive[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:600;font-size:calc(1.125rem + .25rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal}.iris-display-xl[_ngcontent-%COMP%]{font-family:Lora,Arial,sans-serif;color:inherit;font-weight:400;font-style:normal;
11font-size:clamp(2rem,calc(2rem + 1.75 * ((100vw - 23.4375rem) / 96.5625)),3.75rem);line-height:1.4;letter-spacing:normal;margin-bottom:0}.iris-display-lg[_ngcontent-%COMP%]{font-family:Lora,Arial,sans-serif;color:inherit;font-weight:400;font-style:normal;font-size:clamp(1.75rem,calc(1.75rem + 2.25 * ((100vw - 23.4375rem) / 96.5625)),4rem);line-height:1.4;letter-spacing:normal;margin-bottom:0}.iris-display-md[_ngcontent-%COMP%]{font-family:Lora,Arial,sans-serif;color:inherit;font-weight:400;font-style:normal;font-size:clamp(1.5rem,calc(1.5rem + 1.75 * ((100vw - 23.4375rem) / 96.5625)),3.25rem);line-height:1.4;letter-spacing:normal;margin-bottom:0}.iris-display-sm[_ngcontent-%COMP%]{font-family:Lora,Arial,sans-serif;color:inherit;font-weight:400;font-style:normal;font-size:clamp(1.375rem,calc(1.375rem + 1.125 * ((100vw - 23.4375rem) / 96.5625)),2.5rem);line-height:1.4;letter-spacing:normal;margin-bottom:0}.iris-display-xs[_ngcontent-%COMP%]{font-family:Lora,Arial,sans-serif;color:inherit;font-weight:400;font-style:normal;font-size:clamp(1.25rem,calc(1.25rem + .5 * ((100vw - 23.4375rem) / 96.5625)),1.75rem);line-height:1.4;letter-spacing:normal;margin-bottom:0}.iris-headline-xl[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:inherit;font-weight:600;font-size:clamp(2rem,calc(2rem + 3.5 * ((100vw - 23.4375rem) / 96.5625)),5.5rem);line-height:1.2;letter-spacing:normal;margin-bottom:0}.iris-headline-lg[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:inherit;font-weight:600;font-size:clamp(1.75rem,calc(1.75rem + 2.25 * ((100vw - 23.4375rem) / 96.5625)),4rem);line-height:1.2;letter-spacing:normal;margin-bottom:0}.iris-headline-md[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:inherit;font-weight:600;font-size:clamp(1.5rem,calc(1.5rem + 1.75 * ((100vw - 23.4375rem) / 96.5625)),3.25rem);line-height:1.2;letter-spacing:normal;margin-bottom:0}.iris-headline-sm[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:inherit;font-weight:600;font-size:clamp(1.375rem,calc(1.375rem + 1.125 * ((100vw - 23.4375rem) / 96.5625)),2.5rem);line-height:1.2;letter-spacing:normal;margin-bottom:0}.iris-headline-xs[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:inherit;font-weight:600;font-size:clamp(1.25rem,calc(1.25rem + .5 * ((100vw - 23.4375rem) / 96.5625)),1.75rem);line-height:1.2;letter-spacing:normal;margin-bottom:0}.iris-body-lg[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:inherit;font-weight:400;font-size:calc(1.125rem + .25rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal}.iris-body-sm[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:inherit;font-weight:400;font-size:calc(.875rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal}.iris-caption[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:inherit;font-weight:400;font-size:calc(.75rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.4;letter-spacing:.01em}.ufd-h1-display[_ngcontent-%COMP%]{font-family:Lora,Arial,sans-serif;color:#001219;font-weight:400;font-style:normal;font-size:clamp(1.75rem,calc(1.75rem + 2.25 * ((100vw - 23.4375rem) / 96.5625)),4rem);line-height:1.4;letter-spacing:normal;margin-bottom:0}.ufd-h2-display[_ngcontent-%COMP%]{font-family:Lora,Arial,sans-serif;color:#001219;font-weight:400;font-style:normal;font-size:clamp(1.5rem,calc(1.5rem + 1.75 * ((100vw - 23.4375rem) / 96.5625)),3.25rem);line-height:1.4;letter-spacing:normal;margin-bottom:0}.ufd-h3-display[_ngcontent-%COMP%]{font-family:Lora,Arial,sans-serif;color:#001219;font-weight:400;font-style:normal;font-size:clamp(1.375rem,calc(1.375rem + 1.125 * ((100vw - 23.4375rem) / 96.5625)),2.5rem);line-height:1.4;letter-spacing:normal;margin-bottom:0}.ufd-h4-display[_ngcontent-%COMP%]{font-family:Lora,Arial,sans-serif;color:#001219;font-weight:400;font-style:normal;font-size:clamp(1.25rem,calc(1.25rem + .5 * ((100vw - 23.4375rem) / 96.5625)),1.75rem);line-height:1.4;letter-spacing:normal;margin-bottom:0}.ufd-h1[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:400;font-size:clamp(1.5rem,calc(1.5rem + 1.75 * ((100vw - 23.4375rem) / 96.5625)),3.25rem);line-height:1.2;letter-spacing:normal;margin-bottom:0}.ufd-h2[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:400;font-size:clamp(1.375rem,calc(1.375rem + 1.125 * ((100vw - 23.4375rem) / 96.5625)),2.5rem);line-height:1.2;letter-spacing:normal;margin-bottom:0}.ufd-h3[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:400;font-size:clamp(1.25rem,calc(1.25rem + .5 * ((100vw - 23.4375rem) / 96.5625)),1.75rem);line-height:1.2;letter-spacing:normal;margin-bottom:0}.ufd-h4[_ngcontent-%COMP%], .ufd-p1-sb[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:500;font-size:calc(1.125rem + .25rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal}.ufd-p1[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:400;font-size:calc(1.125rem + .25rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal}.ufd-p2-sb[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:500;font-size:calc(1rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal}.ufd-p2[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:400;font-size:calc(1rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal}.ufd-p3-sb[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:500;font-size:calc(.875rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal}.ufd-p3[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:400;font-size:calc(.875rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal}.ufd-legal[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:400;font-size:calc(.75rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.4;letter-spacing:.01em;line-height:1.3}.iris-button[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:600;font-size:calc(1rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal;letter-spacing:.0125em;align-items:center;display:inline-flex;justify-content:center;background-color:transparent;border:1px solid transparent;border-radius:1.5rem;cursor:pointer;height:3rem;outline-offset:.25rem;padding:.5rem 1rem;transition:background-color .2s ease,color .2s ease,border-color .2s ease,color .2s ease;white-space:nowrap;width:100%;box-sizing:border-box}@media(min-width:600px){.iris-button[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:600;font-size:calc(1rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal;letter-spacing:.0125em;height:2.75rem;min-width:88px;width:initial}}
11.iris-button--primary[_ngcontent-%COMP%]{background-color:#045;border-color:#045;color:#fff}.iris-button--primary[_ngcontent-%COMP%]:hover{background-color:#255564;border-color:#255564}.iris-button--primary[_ngcontent-%COMP%]:active{background-color:#003242;border-color:#003242}.iris-button--primary[_ngcontent-%COMP%]:disabled, .iris-button--primary.link-disabled[_ngcontent-%COMP%]{background-color:#b2b2b2;border-color:#b2b2b2;color:#2f3a40}.iris-button--secondary[_ngcontent-%COMP%]{border-color:#045;color:#045}.iris-button--secondary[_ngcontent-%COMP%]:hover{background-color:#f2f5f6;border-color:#045}.iris-button--secondary[_ngcontent-%COMP%]:active{background-color:#f2f5f6;border-color:#003242;color:#003242}.iris-button--secondary[_ngcontent-%COMP%]:disabled, .iris-button--secondary.link-disabled[_ngcontent-%COMP%]{background-color:transparent;border-color:#b2b2b2;color:#b2b2b2}.iris-button--tertiary[_ngcontent-%COMP%]{color:#045}.iris-button--tertiary[_ngcontent-%COMP%]:hover{background-color:#f2f5f6;border-color:#f2f5f6;color:#255564}.iris-button--tertiary[_ngcontent-%COMP%]:active{color:#003242}.iris-button--tertiary[_ngcontent-%COMP%]:disabled, .iris-button--tertiary.link-disabled[_ngcontent-%COMP%]{background-color:transparent;border-color:transparent;color:#b2b2b2}.iris-button--danger[_ngcontent-%COMP%]{background-color:#b93646;border-color:#b93646;color:#fff}.iris-button--danger[_ngcontent-%COMP%]:hover{background-color:#fceded;border-color:#fceded}.iris-button--danger-secondary[_ngcontent-%COMP%]{background-color:transparent;border-color:#b93646;color:#b93646}.iris-button--danger-secondary[_ngcontent-%COMP%]:hover{background-color:#fceded}.iris-button[_ngcontent-%COMP%]:disabled, .iris-button.link-disabled[_ngcontent-%COMP%]{cursor:not-allowed}.iris-button--small[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:600;font-weight:400;font-size:calc(.875rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal;height:2rem;padding:.25rem .5rem}@media(min-width:600px){.iris-button--small[_ngcontent-%COMP%]{height:2rem;min-width:unset}}a.iris-button[_ngcontent-%COMP%]{text-decoration:none;padding:.5rem 1rem}@media(min-width:600px){a.iris-button[_ngcontent-%COMP%]{height:2.75rem;padding:.5rem 1rem}}iris-button.iris-button--full-width[_ngcontent-%COMP%]{display:block;width:100%}iris-button.iris-button--full-width[_ngcontent-%COMP%] .iris-button[_ngcontent-%COMP%]{width:100%}@media(min-width:600px){iris-button.iris-button--full-width[_ngcontent-%COMP%] .iris-button[_ngcontent-%COMP%]{min-width:0;width:100%}} .mat-mdc-progress-spinner circle, .mat-mdc-spinner[_ngcontent-%COMP%] circle[_ngcontent-%COMP%]{stroke:#045!important}.spinner[_ngcontent-%COMP%]{margin:9.375rem auto auto}.content-container[_ngcontent-%COMP%]{display:flex;justify-content:center;flex-direction:column;margin:auto;width:90%}@media(min-width:960px){.content-container[_ngcontent-%COMP%]{max-width:600px;margin:auto}}.content-container[_ngcontent-%COMP%] .subtext[_ngcontent-%COMP%]{color:#5e666b}.content-container[_ngcontent-%COMP%] .diagnosis[_ngcontent-%COMP%]{width:100%;background-color:#f6f7f7}.content-container[_ngcontent-%COMP%] .diagnosis[_ngcontent-%COMP%] .mat-form-field-wrapper{margin-bottom:-1.25em}.content-container[_ngcontent-%COMP%] .diagnosis[_ngcontent-%COMP%] mat-chip-grid{width:100%}.content-container[_ngcontent-%COMP%] .diagnosis[_ngcontent-%COMP%] mat-chip-grid mat-chip-row.mat-mdc-chip.mat-mdc-standard-chip{--mat-chip-container-height: auto}.content-container[_ngcontent-%COMP%] .diagnosis[_ngcontent-%COMP%] mat-chip-grid input{box-sizing:border-box;width:100%!important;flex:1 1 100%;padding-top:.5rem;padding-left:1rem}.content-container[_ngcontent-%COMP%] .preference[_ngcontent-%COMP%] .iris-form-field-label{margin-bottom:0;padding-bottom:0}.content-container[_ngcontent-%COMP%] .confirmation-box[_ngcontent-%COMP%]{background-color:#f6f7f7;padding:.875rem}.content-container[_ngcontent-%COMP%] .success-container[_ngcontent-%COMP%]{display:flex;justify-content:center;flex-direction:column;align-items:center;margin-top:2.5rem;text-align:center}.content-container[_ngcontent-%COMP%] .success-container[_ngcontent-%COMP%] .image[_ngcontent-%COMP%]{width:100px;height:100px}.content-container[_ngcontent-%COMP%] .checkbox-subtitle[_ngcontent-%COMP%]{font-size:.75rem;font-style:normal;font-weight:600;line-height:1rem;margin-top:.5rem}.content-container[_ngcontent-%COMP%] sonder-form-field[_ngcontent-%COMP%] .sonder-form-field{border-bottom:1px solid}.content-container[_ngcontent-%COMP%] sonder-form-field[_ngcontent-%COMP%] .sonder-form-field input.mat-input-element{outline:none;min-width:100%!important;width:100%!important;border:none;background:none}[_nghost-%COMP%] .mat-chip-list-wrapper .mat-standard-chip{height:auto!important} .mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{white-space:normal!important;word-break:break-word!important} .mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:#d8d8d8!important;font-size:.875rem!important;padding:.25rem!important} mat-chip-grid input{width:100%!important} .mat-mdc-chip-grid .mdc-evolution-chip-set__chips{width:100%} 12/*# sourceMappingURL=psychiatry-modal.component-CPH6IXJI.css.map */`]})}}return t})();var Sr=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=ft({type:t})}
12static{this.\u0275inj=dt({imports:[_e,Bi,pi,di,Ti,Ii,Ne,Mi,X,qo,Li,gi,fi,Ai,sa,ji,hi,Vi,Ri]})}}return t})();var lt=(function(t){return t.ACTIVE="ACTIVE",t.INACTIVE="INACTIVE",t})(lt||{}),qt=(()=>{class t{constructor(){this.selectedPatientId=new oe(null),this.clientTerminationReasonsModalEvent=new oe({visibility:!1})}setSelectedPatientId(e){this.selectedPatientId.next(e)}getSelectedPatientId(){return this.selectedPatientId.asObservable()}toggleModal(e=!this.clientTerminationReasonsModalEvent.value.visibility,i){this.clientTerminationReasonsModalEvent.next({visibility:e,clientActivation:i})}subscribeToModalEvents(){return this.clientTerminationReasonsModalEvent.asObservable()}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=je({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var wr=(()=>{class t{constructor(e,i,n){this.referenceDataHttpService=e,this.httpService=i,this.configurationService=n,this.terminationReasons$=this.referenceDataHttpService.list(Fi.termination_reasons,{sort:[{key:"order_number",asc:!0}]}).pipe(T(p=>p.data))}updateClientTerminationReason(e){return this.httpService.post(this.indexUrl,{patient_termination_reason:e}).pipe(this.httpService.handleHttpError())}get indexUrl(){return`${this.configurationService.env.svcBase}/clinical/patient_termination_reasons`}static{this.\u0275fac=function(i){return new(i||t)(he($i),he(Ci),he(ui))}}static{this.\u0275prov=je({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Ic=t=>({hidden:t});function Oc(t,s){if(t&1&&(o(0,"iris-form-field",11),g(1,"iris-radio-group",12),r()),t&2){let e=m();a(),l("options",e.radioOptions)}}var dn=(()=>{class t{constructor(e,i,n){this.clientTerminationReasonsModalService=e,this.clientTerminationReasonsHttpService=i,this.formBuilder=n,this.displayName="client",this.modalVisible=!1,this.submitting=!1,this.isOtherSelected=!1,this.IrisButtonContainerAlignments=ze,this.destroyed$=new F,this.IrisButtonTypes=B,this.IrisButtonTypeAttributeOptions=Je}ngOnInit(){this.clientTerminationReasonsModalService.subscribeToModalEvents().pipe(v(this.destroyed$)).subscribe(e=>{this.modalVisible=e.visibility}),this.clientTerminationReasonsForm=this.initializeClientTerminationReasonsForm(),this.clientTerminationReasonsHttpService.terminationReasons$.pipe(ae(1)).subscribe(e=>{this.clientTerminationReasons=e,this.radioOptions=e.map(i=>({name:i.description,value:i.id})),this.setClientTerminationFormValidators()}),this.clientTerminationReasonsModalService.getSelectedPatientId().pipe(v(this.destroyed$)).subscribe(e=>{e!==null&&this.clientTerminationReasonsForm.get("patient_id").setValue(e)})}ngOnDestroy(){this.destroyed$.next(),this.destroyed$.complete()}refIdCheck(e){return this.clientTerminationReasons.find(i=>i.id===e)}onSubmitClientTerminationReasonsForm(){this.submitting=!0;let e=this.clientTerminationReasonsForm.value;this.clientTerminationReasonsHttpService.updateClientTerminationReason(e).subscribe({next:()=>{this.submitting=!1,this.handleCloseModal(!0)},error:i=>{this.submitting=!1}})}handleCloseModal(e=!1){this.clientTerminationReasonsModalService.toggleModal(!1,e?lt.INACTIVE:null)}initializeClientTerminationReasonsForm(){return this.formBuilder.group({reference_data_id:this.formBuilder.control(null,Q.required),termination_info:this.formBuilder.control(null),patient_id:this.formBuilder.control(null)})}setClientTerminationFormValidators(){let e=this.clientTerminationReasonsForm.get("reference_data_id"),i=this.clientTerminationReasonsForm.get("termination_info");e.valueChanges.pipe(v(this.destroyed$)).subscribe(n=>{let p=this.refIdCheck(n);p&&p.tag!==null?(i.setValidators([Q.required]),this.isOtherSelected=!0):(i.setValidators(null),this.isOtherSelected=!1),i.updateValueAndValidity(),this.clientTerminationReasonsForm.updateValueAndValidity()})}static{this.\u0275fac=function(i){return new(i||t)(f(qt),f(wr),f(mi))}}static{this.\u0275cmp=w({type:t,selectors:[["client-termination-reasons-modal"]],inputs:{displayName:"displayName"},standalone:!1,decls:16,vars:14,consts:[["data-test","mark-inactive-modal",1,"ctr-modal",3,"sonderModalClosed","sonderModalOpen","sonderModalCloseable"],["aria-labelledby","client-termination-reason-form-label","data-test","client-termination-form",1,"ctr-modal-form",3,"ngSubmit","formGroup"],["id","client-termination-reason-form-label",1,"iris-h2-responsive"],[1,"iris-body-responsive"],["label","Why are you marking this client inactive?",4,"ngIf"],[1,"other-selected-textarea",3,"ngClass"],[1,"textarea-label"],["formControlName","termination_info","placeholder","Add a different reason for marking client inactive",3,"required"],["data-dd-privacy","allow",3,"alignment"],[3,"click","disabled","buttonType","typeAttribute"],["gtagCtaEvent","","label","Marked client inactive",3,"disabled"],["label","Why are you marking this client inactive?"],["formControlName","reference_data_id","aria-label","Select client inactive reason",3,"options"]],template:function(i,n){i&1&&(o(0,"sonder-modal",0),h("sonderModalClosed",function(){return n.handleCloseModal()}),o(1,"form",1),h("ngSubmit",function(){return n.onSubmitClientTerminationReasonsForm()}),o(2,"h2",2),c(3),r(),o(4,"p",3),c(5,"A response is required."),r(),d(6,Oc,2,1,"iris-form-field",4),o(7,"div",5)(8,"label",6),c(9,"Please explain:"),r(),g(10,"iris-text-area",7),r(),o(11,"iris-button-container",8)(12,"iris-button",9),h("click",function(){return n.handleCloseModal()}),c(13," Cancel "),r(),o(14,"iris-button",10),c(15," Mark inactive "),r()()()()),i&2&&(l("sonderModalOpen",n.modalVisible)("sonderModalCloseable",!n.submitting),a(),l("formGroup",n.clientTerminationReasonsForm),a(2),P("Mark ",n.displayName," inactive"),a(3),l("ngIf",n.radioOptions),a(),l("ngClass",A(12,Ic,!n.isOtherSelected)),a(3),l("required",n.isOtherSelected),a(),l("alignment",n.IrisButtonContainerAlignments.END),a(),l("disabled",n.submitting)("buttonType",n.IrisButtonTypes.SECONDARY)("typeAttribute",n.IrisButtonTypeAttributeOptions.BUTTON),a(2),l("disabled",n.clientTerminationReasonsForm.invali
12d||n.submitting))},dependencies:[ue,U,Ae,be,Te,oo,zi,Ee,ke,j,Le,$e,Io,wi],styles:[`html[_ngcontent-%COMP%]{line-height:1.15;-webkit-text-size-adjust:100%}body[_ngcontent-%COMP%]{margin:0}h1[_ngcontent-%COMP%]{font-size:2em;margin:.67em 0}hr[_ngcontent-%COMP%]{box-sizing:content-box;height:0;overflow:visible}main[_ngcontent-%COMP%]{display:block}pre[_ngcontent-%COMP%]{font-family:monospace,monospace;font-size:1em}a[_ngcontent-%COMP%]{background-color:transparent}abbr[title][_ngcontent-%COMP%]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b[_ngcontent-%COMP%], strong[_ngcontent-%COMP%]{font-weight:bolder}code[_ngcontent-%COMP%], kbd[_ngcontent-%COMP%], samp[_ngcontent-%COMP%]{font-family:monospace,monospace;font-size:1em}small[_ngcontent-%COMP%]{font-size:80%}sub[_ngcontent-%COMP%], sup[_ngcontent-%COMP%]{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub[_ngcontent-%COMP%]{bottom:-.25em}sup[_ngcontent-%COMP%]{top:-.5em}img[_ngcontent-%COMP%]{border-style:none}button[_ngcontent-%COMP%], input[_ngcontent-%COMP%], optgroup[_ngcontent-%COMP%], select[_ngcontent-%COMP%], textarea[_ngcontent-%COMP%]{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button[_ngcontent-%COMP%]{overflow:visible}button[_ngcontent-%COMP%], select[_ngcontent-%COMP%]{text-transform:none}button[_ngcontent-%COMP%], [type=button][_ngcontent-%COMP%], [type=reset][_ngcontent-%COMP%], [type=submit][_ngcontent-%COMP%]{-webkit-appearance:button}button[_ngcontent-%COMP%]::-moz-focus-inner, [type=button][_ngcontent-%COMP%]::-moz-focus-inner, [type=reset][_ngcontent-%COMP%]::-moz-focus-inner, [type=submit][_ngcontent-%COMP%]::-moz-focus-inner{border-style:none;padding:0}button[_ngcontent-%COMP%]:-moz-focusring, [type=button][_ngcontent-%COMP%]:-moz-focusring, [type=reset][_ngcontent-%COMP%]:-moz-focusring, [type=submit][_ngcontent-%COMP%]:-moz-focusring{outline:1px dotted ButtonText}input[_ngcontent-%COMP%]{overflow:visible}[type=checkbox][_ngcontent-%COMP%], [type=radio][_ngcontent-%COMP%]{box-sizing:border-box;padding:0}[type=number][_ngcontent-%COMP%]::-webkit-inner-spin-button, [type=number][_ngcontent-%COMP%]::-webkit-outer-spin-button{height:auto}[type=search][_ngcontent-%COMP%]{-webkit-appearance:textfield;outline-offset:-2px}[type=search][_ngcontent-%COMP%]::-webkit-search-decoration{-webkit-appearance:none}[_ngcontent-%COMP%]::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}fieldset[_ngcontent-%COMP%]{padding:.35em .75em .625em}legend[_ngcontent-%COMP%]{box-sizing:border-box;display:table;max-width:100%;padding:0;color:inherit;white-space:normal}progress[_ngcontent-%COMP%]{vertical-align:baseline}textarea[_ngcontent-%COMP%]{overflow:auto}details[_ngcontent-%COMP%]{display:block}summary[_ngcontent-%COMP%]{display:list-item}template[_ngcontent-%COMP%]{display:none}[hidden][_ngcontent-%COMP%]{display:none}.iris-h1-desktop[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:600;font-size:clamp(1.5rem,calc(1.5rem + 1.75 * ((100vw - 23.4375rem) / 96.5625)),3.25rem);line-height:1.2;letter-spacing:normal;margin-bottom:0}.iris-h2-desktop[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:600;font-size:clamp(1.375rem,calc(1.375rem + 1.125 * ((100vw - 23.4375rem) / 96.5625)),2.5rem);line-height:1.2;letter-spacing:normal;margin-bottom:0}.iris-h3-desktop[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:600;font-size:clamp(1.25rem,calc(1.25rem + .5 * ((100vw - 23.4375rem) / 96.5625)),1.75rem);line-height:1.2;letter-spacing:normal;margin-bottom:0}.iris-h4-desktop[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:600;font-size:calc(1.125rem + .25rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal}.iris-subheading-sm-desktop[_ngcontent-%COMP%]{font-family:Lora,Arial,sans-serif;color:#001219;font-weight:300;font-style:normal;font-size:clamp(1.375rem,calc(1.375rem + 1.125 * ((100vw - 23.4375rem) / 96.5625)),2.5rem);line-height:1.4;letter-spacing:normal;margin-bottom:0}.iris-subheading-md-desktop[_ngcontent-%COMP%]{font-family:Lora,Arial,sans-serif;color:#001219;font-weight:300;font-style:normal;font-size:clamp(1.5rem,calc(1.5rem + 1.75 * ((100vw - 23.4375rem) / 96.5625)),3.25rem);line-height:1.4;letter-spacing:normal;margin-bottom:0}.iris-body[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:inherit;font-weight:400;font-size:calc(1rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal}.iris-body-bold[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:700;font-size:calc(1rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal}.iris-legal[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:600;font-size:calc(.75rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.4;letter-spacing:.01em}.iris-button-text[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:600;font-size:calc(1rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal;letter-spacing:.0125em}.iris-h1-responsive[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:600;font-size:clamp(1.5rem,calc(1.5rem + 1.75 * ((100vw - 23.4375rem) / 96.5625)),3.25rem);line-height:1.2;letter-spacing:normal;margin-bottom:0}.iris-h2-responsive[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:600;font-size:clamp(1.375rem,calc(1.375rem + 1.125 * ((100vw - 23.4375rem) / 96.5625)),2.5rem);line-height:1.2;letter-spacing:normal;margin-bottom:0}.iris-h3-responsive[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:600;font-size:clamp(1.25rem,calc(1.25rem + .5 * ((100vw - 23.4375rem) / 96.5625)),1.75rem);line-height:1.2;letter-spacing:normal;margin-bottom:0}.iris-h4-responsive[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:600;font-size:calc(1.125rem + .25rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal}.iris-subheading-sm-responsive[_ngcontent-%COMP%]{font-family:Lora,Arial,sans-serif;color:#001219;font-weight:300;font-style:normal;font-size:clamp(1.375rem,calc(1.375rem + 1.125 * ((100vw - 23.4375rem) / 96.5625)),2.5rem);line-height:1.4;letter-spacing:normal;margin-bottom:0}.iris-subheading-md-responsive[_ngcontent-%COMP%]{font-family:Lora,Arial,sans-serif;color:#001219;font-weight:300;font-style:normal;font-size:clamp(1.5rem,calc(1.5rem + 1.75 * ((100vw - 23.4375rem) / 96.5625)),3.25rem);line-height:1.4;letter-spacing:normal;margin-bottom:0}.iris-body-responsive[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:400;font-size:calc(1rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal}.iris-body-bold-responsive[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:700;font-size:calc(1rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal}.iris-legal-responsive[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:600;font-size:calc(.75rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.4;letter-spacing:.01em}.iris-button-text-responsive[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:600;font-size:calc(1rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal;letter-spacing:.0125em}.iris-modal-h1-responsive[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:600;font-size:clamp(1.375rem,calc(1.375rem + 1.125 * ((100vw - 23.4375rem) / 96.5625)),2.5rem);line-height:1.2;letter-spacing:normal;margin-bottom:0}.iris-modal-h2-responsive[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:600;font-size:clamp(1.25rem,calc(1.25rem + .5 * ((100vw - 23.4375rem) / 96.5625)),1.75rem);line-height:1.2;letter-spacing:normal;margin-bottom:0}.iris-modal-h3-responsive[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:600;font-size:calc(1.125rem + .25rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal}.iris-display-xl[_ngcontent-%COMP%]{font-family:Lora,Arial,sans-serif;color:inherit;font-weight:400;font-style:normal;
12font-size:clamp(2rem,calc(2rem + 1.75 * ((100vw - 23.4375rem) / 96.5625)),3.75rem);line-height:1.4;letter-spacing:normal;margin-bottom:0}.iris-display-lg[_ngcontent-%COMP%]{font-family:Lora,Arial,sans-serif;color:inherit;font-weight:400;font-style:normal;font-size:clamp(1.75rem,calc(1.75rem + 2.25 * ((100vw - 23.4375rem) / 96.5625)),4rem);line-height:1.4;letter-spacing:normal;margin-bottom:0}.iris-display-md[_ngcontent-%COMP%]{font-family:Lora,Arial,sans-serif;color:inherit;font-weight:400;font-style:normal;font-size:clamp(1.5rem,calc(1.5rem + 1.75 * ((100vw - 23.4375rem) / 96.5625)),3.25rem);line-height:1.4;letter-spacing:normal;margin-bottom:0}.iris-display-sm[_ngcontent-%COMP%]{font-family:Lora,Arial,sans-serif;color:inherit;font-weight:400;font-style:normal;font-size:clamp(1.375rem,calc(1.375rem + 1.125 * ((100vw - 23.4375rem) / 96.5625)),2.5rem);line-height:1.4;letter-spacing:normal;margin-bottom:0}.iris-display-xs[_ngcontent-%COMP%]{font-family:Lora,Arial,sans-serif;color:inherit;font-weight:400;font-style:normal;font-size:clamp(1.25rem,calc(1.25rem + .5 * ((100vw - 23.4375rem) / 96.5625)),1.75rem);line-height:1.4;letter-spacing:normal;margin-bottom:0}.iris-headline-xl[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:inherit;font-weight:600;font-size:clamp(2rem,calc(2rem + 3.5 * ((100vw - 23.4375rem) / 96.5625)),5.5rem);line-height:1.2;letter-spacing:normal;margin-bottom:0}.iris-headline-lg[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:inherit;font-weight:600;font-size:clamp(1.75rem,calc(1.75rem + 2.25 * ((100vw - 23.4375rem) / 96.5625)),4rem);line-height:1.2;letter-spacing:normal;margin-bottom:0}.iris-headline-md[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:inherit;font-weight:600;font-size:clamp(1.5rem,calc(1.5rem + 1.75 * ((100vw - 23.4375rem) / 96.5625)),3.25rem);line-height:1.2;letter-spacing:normal;margin-bottom:0}.iris-headline-sm[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:inherit;font-weight:600;font-size:clamp(1.375rem,calc(1.375rem + 1.125 * ((100vw - 23.4375rem) / 96.5625)),2.5rem);line-height:1.2;letter-spacing:normal;margin-bottom:0}.iris-headline-xs[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:inherit;font-weight:600;font-size:clamp(1.25rem,calc(1.25rem + .5 * ((100vw - 23.4375rem) / 96.5625)),1.75rem);line-height:1.2;letter-spacing:normal;margin-bottom:0}.iris-body-lg[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:inherit;font-weight:400;font-size:calc(1.125rem + .25rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal}.iris-body-sm[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:inherit;font-weight:400;font-size:calc(.875rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal}.iris-caption[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:inherit;font-weight:400;font-size:calc(.75rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.4;letter-spacing:.01em}.ufd-h1-display[_ngcontent-%COMP%]{font-family:Lora,Arial,sans-serif;color:#001219;font-weight:400;font-style:normal;font-size:clamp(1.75rem,calc(1.75rem + 2.25 * ((100vw - 23.4375rem) / 96.5625)),4rem);line-height:1.4;letter-spacing:normal;margin-bottom:0}.ufd-h2-display[_ngcontent-%COMP%]{font-family:Lora,Arial,sans-serif;color:#001219;font-weight:400;font-style:normal;font-size:clamp(1.5rem,calc(1.5rem + 1.75 * ((100vw - 23.4375rem) / 96.5625)),3.25rem);line-height:1.4;letter-spacing:normal;margin-bottom:0}.ufd-h3-display[_ngcontent-%COMP%]{font-family:Lora,Arial,sans-serif;color:#001219;font-weight:400;font-style:normal;font-size:clamp(1.375rem,calc(1.375rem + 1.125 * ((100vw - 23.4375rem) / 96.5625)),2.5rem);line-height:1.4;letter-spacing:normal;margin-bottom:0}.ufd-h4-display[_ngcontent-%COMP%]{font-family:Lora,Arial,sans-serif;color:#001219;font-weight:400;font-style:normal;font-size:clamp(1.25rem,calc(1.25rem + .5 * ((100vw - 23.4375rem) / 96.5625)),1.75rem);line-height:1.4;letter-spacing:normal;margin-bottom:0}.ufd-h1[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:400;font-size:clamp(1.5rem,calc(1.5rem + 1.75 * ((100vw - 23.4375rem) / 96.5625)),3.25rem);line-height:1.2;letter-spacing:normal;margin-bottom:0}.ufd-h2[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:400;font-size:clamp(1.375rem,calc(1.375rem + 1.125 * ((100vw - 23.4375rem) / 96.5625)),2.5rem);line-height:1.2;letter-spacing:normal;margin-bottom:0}.ufd-h3[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:400;font-size:clamp(1.25rem,calc(1.25rem + .5 * ((100vw - 23.4375rem) / 96.5625)),1.75rem);line-height:1.2;letter-spacing:normal;margin-bottom:0}.ufd-h4[_ngcontent-%COMP%], .ufd-p1-sb[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:500;font-size:calc(1.125rem + .25rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal}.ufd-p1[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:400;font-size:calc(1.125rem + .25rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal}.ufd-p2-sb[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:500;font-size:calc(1rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal}.ufd-p2[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:400;font-size:calc(1rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal}.ufd-p3-sb[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:500;font-size:calc(.875rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal}.ufd-p3[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:400;font-size:calc(.875rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal}.ufd-legal[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:400;font-size:calc(.75rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.4;letter-spacing:.01em;line-height:1.3}.ctr-modal[_ngcontent-%COMP%]{color:#000}.ctr-modal[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{margin-bottom:1.5rem}.ctr-modal[_ngcontent-%COMP%] .ctr-modal-form[_ngcontent-%COMP%]{display:flex;flex-direction:column}.ctr-modal[_ngcontent-%COMP%] .ctr-modal-form[_ngcontent-%COMP%] iris-form-field[_ngcontent-%COMP%]{margin-bottom:1rem}.ctr-modal[_ngcontent-%COMP%] .other-selected-textarea[_ngcontent-%COMP%]{margin-bottom:1.5rem}.ctr-modal[_ngcontent-%COMP%] .hidden[_ngcontent-%COMP%]{display:none} 13 14 15/*# sourceMappingURL=client-termination-reasons-modal.component-B2E6IZQB.css.map */`]})}}return t})();function Ec(t,s){t&1&&(C(0),c(1," You are not configured to offer complimentary sessions - please contact support. "),b())}function kc(t,s){t&1&&(C(0),c(1," Error adding complimentary sessions, please try again in a moment. "),b())}function Dc(t,s){if(t&1&&(o(0,"div",7),d(1,Ec,2,0,"ng-container",8)(2,kc,2,0,"ng-container",8),r()),t&2){let e=m();a(),l("ngIf",e.errors.persona_provider==null?null:e.errors.persona_provider.no_network),a(),l("ngIf",e.errors.base==null?null:e.errors.base.server_error)}}var Or=(()=>{class t{constructor(e,i,n,p){this.clientInsuranceHttp=e,this.builder=i,this.snackBar=n,this.irisModalRef=p,this.saving=!1,this.loaded=!1,this.errors=null,this.IrisButtonTypes=B,this.IrisButtonTypeAttributeOptions=Je,this.IrisButtonContainerAlignments=ze}ngOnInit(){this.form=this.builder.group({maxRedemptions:this.builder.control(this.currentCount,[Q.required,Q.min(this.currentCount)])})}get patientId(){return this.irisModalRef?.config?.data?.patientId}get currentCount(){return this.irisModalRef?.config?.data?.currentCount}get formValue(){return this.form.value}submit(){if(!this.form.valid)return;let i=this.formValue.maxRedemptions-this.currentCount;if(i===0){this.irisModalRef.close(null);return}this.saving=!0,this.errors=null,this.clientInsuranceHttp.addProBono(this.patientId,i,{error:{rawErrors:!0}}).subscribe({next:n=>{this.saving=!1,this.irisModalRef.close(n)},error:n=>{this.saving=!1,n.status===400?this.errors=go(n.fields??n):(this.errors={base:{serverError:!0}},this.snackBar.open("Error while gifting sessions, please try again.")),console.error(n)}})}static{this.\u0275fac=function(i){return new(i||t)(f(Ui),f(mi),f(De),f(It))}}static{this.\u0275cmp=w({type:t,selectors:[["member-client-add-pro-bono-modal"]],standalone:!1,decls:14,vars:8,consts:[[1,"form",3,"submit","formGroup"],["label","Complimentary Sessions",1,"large-field","full-width",3,"showOptionalTag"],["type","number","formControlName","maxRedemptions"],["class","error-list alert alert-danger",4,"ngIf"],[1,"button-container",3,"alignment"],[3,"buttonType"],[3,"buttonType","typeAttribute"],[1,"error-list","alert","alert-danger"],[4,"ngIf"]],template:function(i,n){i&1&&(o(0,"form",0),h("submit",function(){return n.submit()}),o(1,"h2"),c(2,"Complimentary Therapy Sessions"),r(),o(3,"div")(4,"p"),c(5,"Would you like to offer Complimentary Therapy Sessions?"),r(),o(6,"iris-form-field",1),g(7,"iris-text-input",2),r(),d(8,Dc,3,2,"div",3),r(),o(9,"iris-button-container",4)(10,"iris-button",5),c(11,"Cancel"),r(),o(12,"iris-button",6),c(13,"Confirm"),r()()()),i&2&&(l("formGroup",n.form),a(6),l("showOptionalTag",!1),a(),q("min",
15n.currentCount),a(),l("ngIf",n.errors),a(),l("alignment",n.IrisButtonContainerAlignments.END),a(),l("buttonType",n.IrisButtonTypes.TERTIARY),a(2),l("buttonType",n.IrisButtonTypes.PRIMARY)("typeAttribute",n.IrisButtonTypeAttributeOptions.SUBMIT))},dependencies:[U,Ae,be,Te,Ee,ke,j,Le,$e,Oi],styles:[`.full-width[_ngcontent-%COMP%]{width:100%}.button-container[_ngcontent-%COMP%]{margin-top:0} 16/*# sourceMappingURL=pro-bono-modal.component-2VNSNKZH.css.map */`]})}}return t})();var Tr=In(Jr()),Ar=In(Xr());var Rc=["treatmentPlanContainer"];var ti=(()=>{class t{constructor(e,i,n,p,M,E,W,K,de){this.router=e,this.route=i,this.templateStore=n,this.clientDetailPageService=p,this.microSharedService=M,this.logger=E,this.featureFlagService=W,this.chatService=K,this.sideNavService=de,this.destroyed$=new F}ngAfterViewInit(){this.root=(0,Ar.createRoot)(this.containerRef.nativeElement);try{pt([this.route.params,this.route.queryParams,this.clientDetailPageService.patient,this.templateStore.noteTemplates,this.featureFlagService.isEnabled$("use-treatment-plan-sharing"),this.featureFlagService.isEnabled$("use-pubnub-service-messaging")]).pipe(v(this.destroyed$),$(([e])=>e!==null)).subscribe(([e,i,n,p,M,E])=>{this.patient!==n&&(this.patient=n),e.note_id?this.sideNavService.setCompact(!0):this.sideNavService.setCompact(!1),this.root?.render(Tr.createElement(za,{client:n,sharedService:this.microSharedService,templates:p,openMessageDialog:this.openMessageDialog.bind(this),sharingEnabled:M??!1,handleGoTo:this.handleGoTo.bind(this),forNoteId:i.forNoteId??"",noteId:e.note_id??"",handleGoToPlan:this.handleGoToPlan.bind(this),usePubnubMessaging:E??!1}))})}catch(e){this.logger.error("Error in ngAfterViewInit of ClientDetailTreatmentplanComponent",{error:e.message||e,component:"ClientDetailTreatmentplanComponent",method:"ngAfterViewInit"})}}openMessageDialog(){this.chatService.openChatRoomByPlatformIdentity$(this.patient.platformIdentity).pipe(v(this.destroyed$)).subscribe()}handleGoTo(e,i){this.router.navigate([e],{queryParams:i,queryParamsHandling:"replace"}).catch(n=>{this.logger.error("Error navigating to route",{route:e,params:i,error:n.message||n,component:"ClientDetailTreatmentplanComponent",method:"handleGoTo"})})}handleGoToPlan(e,i){this.router.navigate(["/client",this.patient.id,"treatment_plan",e],{queryParams:{forNoteId:i},queryParamsHandling:"merge"}).catch(n=>{this.logger.error("Error navigating to treatment plan",{planId:e,error:n.message||n,component:"ClientDetailTreatmentplanComponent",method:"handleGoToPlan"})})}ngOnDestroy(){this.root.unmount(),this.destroyed$.next()}static{this.\u0275fac=function(i){return new(i||t)(f(ce),f(Ce),f(Pa),f(le),f(nr),f(Re),f(xt),f(Pt),f(pa))}}static{this.\u0275cmp=w({type:t,selectors:[["member-client-detail-treatmentplan"]],viewQuery:function(i,n){if(i&1&&R(Rc,5),i&2){let p;z(p=L())&&(n.containerRef=p.first)}},decls:2,vars:0,consts:[["treatmentPlanContainer",""],[1,"center-children"]],template:function(i,n){i&1&&Fn(0,"div",1,0)},dependencies:[_e],styles:[`.center-children{display:flex;flex-direction:column;align-items:center} 17/*# sourceMappingURL=client-detail-treatmentplan-component-VQ7S4FTA.css.map */ 18`],encapsulation:2})}}return t})();var Fc=["actionListMenu"],$c=t=>({"client-tab-content-wrapper":t}),Er=t=>({patientId:t}),Vc=()=>({exact:!1}),Uc=()=>({month:"short",day:"numeric"}),jc=t=>["/scheduling/events",t],Hc=()=>({month:"short",day:"numeric",hour:"numeric",minute:"2-digit"});function Gc(t,s){if(t&1&&g(0,"client-termination-reasons-modal",8),t&2){let e=m(2);l("displayName",e.patientName)}}function Yc(t,s){if(t&1){let e=y();o(0,"div",39)(1,"span",40),h("click",function(){u(e);let n=m(3);return _(n.goBackToList())}),c(2),r(),o(3,"span"),c(4,"/"),r(),o(5,"span"),c(6),r()()}if(t&2){let e=m(3);q("data-dd-action-name",e.breadcrumb+"/#"+(e.patient==null?null:e.patient.id)),a(2),P(" ",e.breadcrumb," "),a(4),S(e.patient==null?null:e.patient.displayName)}}function qc(t,s){if(t&1){let e=y();o(0,"iris-tooltip",13)(1,"iris-icon-button",41),h("click",function(){u(e);let n=m(3);return _(n.handleReferToAction())}),r()()}if(t&2){let e=m(3);l("tooltipText",e.referToLabel)("position",e.IrisTooltipPosition.BOTTOM),a(),l("icon",e.referToIcon)("type",e.IrisIconButtonTypes.ACTION)("ariaLabel",e.referToLabel)("iconSize",e.IconSizes.MD)}}function Qc(t,s){if(t&1){let e=y();o(0,"iris-icon-button",42),h("click",function(){u(e);let n=m(3);return _(n.openChat())}),r()}if(t&2){let e=m(3);l("type",e.IrisIconButtonTypes.ACTION)("iconSize",e.IconSizes.MD)}}function Wc(t,s){if(t&1){let e=y();o(0,"iris-tooltip",18)(1,"iris-icon-button",43),h("click",function(){u(e);let n=m(3);return _(n.markClientInactive(n.patient))}),r()()}if(t&2){let e=m(3);l("position",e.IrisTooltipPosition.BOTTOM),a(),l("type",e.IrisIconButtonTypes.DANGER)("iconSize",e.IconSizes.MD)}}function Kc(t,s){if(t&1){let e=y();o(0,"iris-tooltip",19)(1,"iris-icon-button",44),h("click",function(){u(e);let n=m(3);return _(n.markClientActive(n.patient))}),r()()}if(t&2){let e=m(3);l("position",e.IrisTooltipPosition.BOTTOM),a(),l("type",e.IrisIconButtonTypes.ACTION)("iconSize",e.IconSizes.MD)}}function Zc(t,s){if(t&1&&g(0,"iris-icon",45),t&2){let e=m(3);l("color",e.IconColors.DANGER)("usage",e.IconUsageTypes.DECORATIVE)("size",e.IconSizes.SM)}}
18function Jc(t,s){if(t&1&&(o(0,"p"),c(1," Location: "),o(2,"span",27),c(3),r()()),t&2){let e=m(3);a(3),S(e.patientLocation)}}function Xc(t,s){t&1&&(o(0,"iris-chip",48),c(1," 18 "),r())}function em(t,s){if(t&1&&(o(0,"p",46),d(1,Xc,2,0,"iris-chip",47),c(2),r()),t&2){let e=m(3);a(),l("ngIf",e.patientUnderAge),a(),P(" ",e.underageWarningText," ")}}function tm(t,s){t&1&&(o(0,"iris-chip",49),c(1,"Not Invited"),r())}function im(t,s){t&1&&(o(0,"iris-chip",50),c(1,"Inactive"),r())}function nm(t,s){t&1&&(o(0,"iris-chip",51),c(1,"Invited"),r())}function om(t,s){t&1&&(o(0,"iris-chip",52),c(1," Incomplete Account "),r())}function am(t,s){if(t&1&&(o(0,"a",55),c(1),x(2,"localizedDate"),r()),t&2){let e=m().ngIf;l("routerLink",A(5,jc,e.next.id)),a(),P(" ",N(2,2,e.next.startTime,Y(7,Hc))," ")}}function rm(t,s){t&1&&(o(0,"b"),c(1,"None"),r())}function sm(t,s){if(t&1&&(o(0,"div",53)(1,"p"),c(2," Number of sessions: "),o(3,"b"),c(4),r()(),o(5,"p"),c(6,"\u2022"),r(),o(7,"p"),c(8," Last: "),o(9,"span",27),c(10),x(11,"localizedDate"),r()(),o(12,"p"),c(13,"\u2022"),r(),o(14,"p"),c(15," Upcoming: "),d(16,am,3,8,"a",54)(17,rm,2,0,"ng-template",null,1,Ie),r()()),t&2){let e=s.ngIf,i=Z(18);a(4),S(e.totalCount),a(6),S(N(11,4,e.prev==null?null:e.prev.startTime,Y(7,Uc))??"None"),a(6),l("ngIf",e.next==null?null:e.next.startTime)("ngIfElse",i)}}function lm(t,s){if(t&1){let e=y();C(0),d(1,Yc,7,3,"div",9),o(2,"div",10)(3,"h1",11),c(4),r(),o(5,"div",12),I(6,qc,2,6,"iris-tooltip",13),x(7,"async"),o(8,"iris-tooltip",14),d(9,Qc,1,2,"iris-icon-button",15),r(),o(10,"iris-button",16),x(11,"async"),g(12,"iris-icon",17),c(13," Schedule "),r(),I(14,Wc,2,3,"iris-tooltip",18),I(15,Kc,2,3,"iris-tooltip",19),r(),o(16,"div",20)(17,"iris-tooltip",21),g(18,"iris-icon-button",22),x(19,"async"),r(),o(20,"iris-menu",23,0),h("menuOpened",function(){u(e);let n=m(2);return _(n.setMenuItems())}),r()()(),o(22,"div",24)(23,"div",25)(24,"div",26)(25,"p"),c(26," Legal Name: "),o(27,"span",27),c(28),r()(),o(29,"p"),c(30,"\u2022"),r(),o(31,"p",28),d(32,Zc,1,3,"iris-icon",29),c(33," Age: "),o(34,"span",27),c(35),r()(),o(36,"p"),c(37,"\u2022"),r(),d(38,Jc,4,1,"p",2),r(),d(39,em,3,2,"p",30),o(40,"div",26)(41,"div",31),d(42,tm,2,0,"iris-chip",32)(43,im,2,0,"iris-chip",33)(44,nm,2,0,"iris-chip",34),r(),d(45,om,2,0,"iris-chip",35),r(),d(46,sm,19,8,"div",36),x(47,"async"),r()(),o(48,"div",37),g(49,"iris-tab",38),r(),b()}if(t&2){let e=m(2);a(),l("ngIf",e.breadcrumb),a(2),q("data-dd-action-name","client #"+(e.patient==null?null:e.patient.id)),a(),P(" ",e.patientName," "),a(2),O(k(7,33,e.displayReferButton$)?6:-1),a(2),l("position",e.IrisTooltipPosition.BOTTOM),a(),l("ngIf",e.enableChatIcon),a(),l("buttonType",e.IrisButtonTypes.PRIMARY)("queryParams",A(41,Er,k(11,35,e.clientId)))("disabled",!e.allowScheduling)("iconPosition",e.IrisButtonIconPositions.LEFT),a(4),O(e.patientActive?14:-1),a(),O(e.patientActive?-1:15),a(2),l("position",e.IrisTooltipPosition.BOTTOM),a(),l("iconSize",e.IconSizes.MD)("type",e.IrisIconButtonTypes.ACTION)("queryParams",A(43,Er,k(19,37,e.clientId)))("disabled",!e.allowScheduling),a(2),l("menuItemList",e.menuItems())("closeAllOtherMenus",!0)("kebabIconType",e.IrisIconButtonTypes.NAVIGATION)("kebabIconSize",e.IconSizes.MD),a(8),S(e.patientLegalName),a(4),l("ngIf",e.patientUnderAge),a(3),S(e.patientAge),a(3),l("ngIf",e.patientLocation),a(),l("ngIf",e.patientUnderAge),a(3),l("ngIf",e.status=="not invited"),a(),l("ngIf",e.status=="inactive"),a(),l("ngIf",e.status=="invited"),a(),l("ngIf",e.accountIncomplete),a(),l("ngIf",k(47,39,e.sessionInfo$)),a(3),l("routerLinkActiveOptions",Y(45,Vc))("tabItems",e.tabItems)}}function cm(t,s){if(t&1){let e=y();o(0,"div"),d(1,Gc,1,1,"client-termination-reasons-modal",4),g(2,"member-chart-risk-flag-banner",5),d(3,lm,50,46,"ng-container",2),o(4,"div",6)(5,"router-outlet",7),h("activate",function(n){u(e);let p=m();return _(p.onOutletAttached(n))}),r()(),g(6,"sondermind-confirmation-modal"),r()}if(t&2){let e=m();a(),l("ngIf",e.modalVisible),a(),l("personaClientId",e.patient==null?null:e.patient.personaClientId)("patientId",e.patient==null?null:e.patient.id),a(),l("ngIf",e.showClientHeader),a(),l("ngClass",A(5,$c,e.showClientHeader))}}function mm(t,s){t&1&&(o(0,"div",56),g(1,"iris-spinner",57),r())}var kr="You may need to obtain consent from a parent or legal guardian.",pm="You must obtain consent from a parent or legal guardian.",Rr=(()=>{class t{constructor(e,i,n,p,M,E,W,K,de,Pe,Se,Ue,ct,ee,mt,Wr,Kr){this.activatedRoute=e,this.appService=i,this.calendarEventService=n,this.clientDetailPageService=p,this.clientTerminationReasonsModalService=M,this.monolithAssessmentsHttp=E,this.matchClientStore=W,this._patientService=K,this.router=de,this.routeData=Pe,this.notificationService=Se,this.upcomingSessionService=Ue,this.chatStore=ct,this.irisModalService=ee,this.internalReferralService=mt,this.segmentService=Wr,this.logger=Kr,this.actionListMenu=Xn("actionListMenu"),this.destroyed$=new He,this.modalVisible=!1,this.loadingStatus="Loading please wait ....",this.clients=[],this.assessmentLinkLocations=yn,this.underageWarningText=kr,this.accountIncomplete=!1,this.allowScheduling=!1,this.isLoading=!1,this.displayReferButton$=new oe(!1),this.IconColors=Mt,this.IconUsageTypes=St,this.IconSizes=ge,this.IrisButtonTypes=B,this.IrisIconButtonTypes=Be,this.IrisButtonIconPositions=So,this.IrisTooltipPosition=oa,this.tfaFormLink=Wt.REFER_TO_PSYCHIATRY,this.manageClientLabel="Refer to psychiatry / Manage client",this.usePrescriptions=!1,this.tabItems=[{title:"Session notes",icon:"chair",iconActive:"chair_filled",dataTest:"tab-session-notes",route:"./smart_notes"},{title:"Client journey",icon:"client_journey_tab",iconActive:"client_journey_tab",dataTest:"tab-client-journey",route:"./client_journey"},{title:"Assessments",icon:"quiz",iconActive:"quiz_filled",dataTest:"tab-assessments",route:"./assessments",queryParams:{link_tracking:!0,link_location:yn.CLIENT_LIST}},{title:"Documents",icon:"folder_open_outline",iconActive:"folder_open_filled",dataTest:"tab-documents",route:"./documents"},{title:"Payment",icon:"credit_card",iconActive:"credit_card_filled",dataTest:"tab-payment-info",route:"./payment_info"},{title:"Contact",icon:"contact_phone_outline",iconActive:"contact_phone_filled",dataTest:"tab-contact-info",route:"./contact_info"}],this.isEligibleForPsychiatry=!1,this.modalOpen=!1,this.showClientHeader=!0,this.menuItems=ie([]),this.routeComingFrom="",this.activatedRoute.queryParams.pipe(v(this.destroyed$)).subscribe(Zr=>{this.isMatchList=Zr?.matchList==="true",this.isMatchList?this.breadcrumb="Scheduled referrals":this.breadcrumb="Active clients "})}
18ngOnInit(){this.routeComingFrom=this.routeData.getPreviousUrl(),this.userSub=this.appService.currentUser$.pipe(v(this.destroyed$)).subscribe(e=>{this.user=e,e.psychiatrist&&e.ePrescriptionEnabled&&(this.usePrescriptions=!0,this.usePrescriptions&&this.tabItems.push({title:"Prescriptions",dataTest:"tab-prescriptions-info",route:"./prescriptions_info",icon:"prescription",iconActive:"prescription_filled"}))}),this.routeSub=this.activatedRoute.params.pipe(v(this.destroyed$)).subscribe(e=>{this.clientDetailPageService.loadPatient(e.id)}),this.setPatient(),this.patientSub=this.clientDetailPageService.patient.pipe(T(e=>e&&e.dateOfBirth),v(this.destroyed$)).subscribe(e=>{e&&(this.patientAge=this.patient.age(this.appService.currentUser.timeZone),this.patientUnderAge=this.patientAge<18,this.updateUnderageWarningText(),this.timezone=this.appService.currentUser.timeZone,this.zoneAbbr=this.appService.zoneAbbr)}),this.activeSub=this.clientDetailPageService.patient.pipe(T(e=>e&&e.active),v(this.destroyed$)).subscribe(e=>{e&&(this.patientActive=e)}),this.initializeSessionInfo(),this.appService.currentUser.psychiatrist||this.enableTreatmentPlanTab()}updateUnderageWarningText(){this.underageWarningText=this.appService.currentUser.psychiatrist?pm:kr}enableTreatmentPlanTab(){if(!this.tabItems.some(i=>i.title==="Treatment plan")){let i=this.tabItems.findIndex(p=>p.title==="Assessments"),n=i>=0?i+1:2;this.tabItems.splice(n,0,{title:"Treatment plan",icon:"psychiatry",iconActive:"psychiatry_filled",dataTest:"tab-treatment-plan",route:"./treatment_plan"})}}initializeSessionInfo(){let e=i=>{let n=this.upcomingSessionService.nextUpcomingSession$(i.id),p=this.calendarEventService.index({filter:[{key:"for_patient",value:i.id.toString()},{key:"not_canceled",value:"true"},{key:"occurs_before",value:new Date().toISOString()}],page:{number:1,size:1},sort:[{key:"start_time",asc:!1}]}).pipe(T(E=>E.data?.[0]),fe({refCount:!0,bufferSize:1})),M=this.monolithAssessmentsHttp.getTotalSessions$(i.personaClientId).pipe(T(E=>E?.[0]?.totalSessions??0));return[n,p,M]};this.sessionInfo$=this.clientDetailPageService.patient.pipe($(i=>!!i&&!!i.id&&!!i.personaClientId),V(i=>pt(e(i)).pipe(T(([n,p,M])=>({next:n,prev:p,totalCount:M})))),fe({refCount:!0,bufferSize:1}))}ngOnDestroy(){this.destroyed$.next(),this.destroyed$.complete()}setPatient(){this.isLoading=!0,this.clientDetailPageService.patient.pipe(ni(1),v(this.destroyed$)).subscribe(e=>{this.patient=e,this.patientName=e.displayName,this.patientLegalName=`${e.firstName} ${e.lastName}`,this.allowScheduling=this.canSchedule(e),e.city!==null&&e.state!==null&&(this.patientLocation=`${this.patient.city}, ${this.patient.state}`),this.patient.personaClientId==null&&this.patient.accountInviteSentAt==="Invalid Date"&&this.patient.active?this.status="not invited":this.patient.personaClientId==null&&this.patient?.accountInviteSentAt==="Invalid Date"&&!this.patient?.active?this.status="inactive":this.patient.personaClientId==null?this.status="invited":this.patient.active?this.status="client":this.patient.active||(this.status="inactive"),this.checkEligibilityForRefer()})}canSchedule(e){return e.nonSpnPatient?e.allowScheduling:e.personaClientId&&e.allowScheduling&&!e.accountPending}patientAdded(e){this.notificationService.showNotificationToast({message:"New client created successfully!",type:me.SUCCESS,duration:5e3}),this.router.navigate(["clients",e.id])}get showPatientDocuments(){return this.appService.patientDocumentsFeatureGate}get haveClientRecord(){return this.clientDetailPageService.patient.pipe(T(e=>e&&e.haveClientRecord&&!e.accountPending))}get enableChatIcon(){return!!this.patient?.chatProfileUuid}get clientId(){return this.clientDetailPageService.patient.pipe(T(e=>e&&e.id))}openChat(){this.actionListMenu()&&this.actionListMenu().isOpen&&this.actionListMenu().toggleMenu(),this.enableChatIcon&&this.chatStore.openChatRoomByPlatformIdentity$(this.patient.platformIdentity).pipe(ae(1)).subscribe()}markClientActive(e){this.actionListMenu()&&this.actionListMenu().isOpen&&this.actionListMenu().toggleMenu(),this.confirmModal.openThen("Confirm Activation","Are you sure you want to make this client active?","Active").pi
18pe($(i=>!!i),V(()=>this._patientService.activeInactive(e.userId,e.id,!0))).subscribe(i=>{this.redirectToClients()})}markClientInactive(e){if(this.actionListMenu()&&this.actionListMenu().isOpen&&this.actionListMenu().toggleMenu(),e.canInactivate)this.modalVisible=!0;else{this.notificationService.showNotificationToast({message:"Please submit your client's claim before deactivating the client.",type:me.INFO,showCloseButton:!0,autoClose:!1});return}this.clientTerminationReasonsModalService.setSelectedPatientId(e.id),this.handleClientTerminationModal(),this.clientTerminationReasonsModalService.subscribeToModalEvents().pipe(ae(2)).subscribe(i=>{i.clientActivation&&i.clientActivation===lt.INACTIVE&&this._patientService.activeInactive(e.userId,e.id,!1).subscribe(()=>{this.redirectToClients(),this.modalVisible=!1})})}redirectToClients(){this.router.navigateByUrl("/clients/current")}handleClientTerminationModal(){this.actionListMenu()&&this.actionListMenu().isOpen&&this.actionListMenu().toggleMenu(),this.clientTerminationReasonsModalService.toggleModal()}goBackToList(){let e=this.isMatchList?"/clients/matches":"/clients/current";this.isMatchList&&(this.matchClientStore.selectedTab=3),this.router.navigate([e])}goBack(){if(this.routeComingFrom){this.router.navigate([this.routeComingFrom]);return}this.goBackToList()}goToCalendarEvent(){this.router.navigate(["/scheduling","events",this.patient?.nextCalendarEventId])}openPsychiatryComponentModal(){if(this.modalOpen)return;this.modalOpen=!0,this.irisModalService.openUnstyledFullScreenOverlay(Mr,{patient:this.patient,provider:this.user,eligibilityData:this.eligibilityData}).afterClosed$().pipe(ae(1)).subscribe(i=>{this.modalOpen=!1,this.checkEligibilityForRefer()})}redirectToTfaForm(){this.trackVaRedirect(),window.open(this.tfaFormLink,"_blank")}trackVaRedirect(){let e=this.eligibilityData.psychReferral?bt.THERAPY:bt.PSYCHIATRY;this.segmentService.track(We.VaInternalReferralRedirectToTfaForms,{providerId:this.user.personaProviderId,providerName:this.user.fullName,providerEmail:this.user.email,referralName:this.patient.fullName,referralEmail:this.patient.email,referralPersonaClientId:this.patient.personaClientId,referringType:e,dateViewed:new Date().toISOString()}),this.logger.info("VA Internal Referral Redirect to TFA Forms",{type:"create_internal_referral",event:"internal_referral_redirect",persona_provider_id:this.user.personaProviderId,persona_client_id:this.patient.personaClientId,referring_type:e})}handleReferToAction(){if(this.actionListMenu()&&this.actionListMenu().isOpen&&this.actionListMenu().toggleMenu(),this.eligibilityData?.hasActiveReferral){this.notificationService.showNotificationToast({message:"This client has already been referred.",type:me.INFO,showCloseButton:!0,autoClose:!1});return}if(this.eligibilityData?.isNotEligibleForRefer){this.notificationService.showNotificationToast({message:"This client is not eligible for referral.",type:me.INFO,showCloseButton:!0,autoClose:!1});return}this.eligibilityData?.vaReferral?this.redirectToTfaForm():this.openPsychiatryComponentModal()}checkEligibilityForRefer(){this.internalReferralService.getEligibleForReferral(this.patient.personaClientId).pipe(v(this.destroyed$)).subscribe(e=>{this.isLoading=!1,this.eligibilityData=e,e?.validState?this.displayReferButton$.next(!0):this.displayReferButton$.next(!1),e?.psychReferral&&(this.tfaFormLink=Wt.REFER_TO_THERAPY),this.referToLabel=e?.psychReferral?"Refer to therapy":"Refer to psychiatrist",this.referToIcon=e?.psychReferral?"chair":"admin_meds_outline"})}onOutletAttached(e){(e instanceof Kt||e instanceof ti)&&e.route?e.route.params.subscribe(i=>{this.showClientHeader=!i.note_id}):this.showClientHeader=!0}setMenuItems(){let e=[];this.displayReferButton$.pipe(ae(1)).subscribe(i=>{i&&e.push({action:()=>this.handleReferToAction(),dataTest:"refer-to-psychiatry-menu-item",label:this.referToLabel,icon:this.referToIcon})}),this.enableChatIcon&&e.push({label:"Message client",action:()=>this.openChat(),dataTest:"message-client-menu-item",icon:"chat_bubble_outline"}),this.patientActive?e.push({label:"Mark as inactive",action:()=>this.markClientInactive(this.patient),dataTest:"mark-inactive-menu-item",icon:"person_off",destructive:!0}):e.push({label:"Mark as active",action:()=>this.markClientActive(this.patient),dataTest:"mark-active-menu-item",icon:"person_check"}),this.menuItems.set(e)}static{this.\u0275fac=function(i){return new(i||t)(f(Ce),f(re),f(fa),f(le),f(qt),f(Ma),f(Gt),f(Ei),f(ce),f(_i),f(At),f(ga),f(Pt),f(et),f(yi),f(Ct),f(Re))}}static{this.\u0275cmp=w({type:t,selectors:[["member-page-client-detail"]],viewQuery:function(i,n){if(i&1&&($n(n.actionListMenu,Fc,5),R(se,5)),i&2){Vn();let p;z(p=L())&&(n.confirmModal=p.first)}},standalone:!1,features:[Wn([le,Ea])],decls:2,vars:2,consts:[["actionListMenu",""],["noneText",""],[4,"ngIf"],["class","loading-container",4,"ngIf"],[3,"displayName",4,"ngIf"],[3,"personaClientId","patientId"],[3,"ngClass"],[3,"activate"],[3,"displayName"],["class","header-breadcrumb-row","aria-label","return to client list","data-test","clients-breadcrumb",4,"ngIf"],[1,"header-name-actions-row"],["data-test","client-name"],[1,"header-right","show-desktop"],[3,"tooltipText","position"],["tooltipText","Message client",3,"position"],["gtagCtaEvent","","label","NCC clicked from client profile page","ariaLabel","Non Clinical Chat","data-test","non-clinical-chat","icon","chat_bubble_outline",3,"type","iconSize","click",4,"ngIf"],["gtagCtaEvent","","label","Schedule client clicked from client profile page","routerLink","/scheduling/events/new","data-test","schedule-session",3,"buttonType","queryParams","disabled","iconPosition"],["name","calendar_add","colorToken","$color-neutral-white"],["tooltipText","Mark as inactive",3,"position"],["tooltipText","Mark as active",3,"position"],[1,"header-right","show-mobile"],["tooltipText","Schedule session",3,"position"],["gtagCtaEvent","","icon","calendar_add","label","Schedule client clicked from client profile page","routerLink","/scheduling/events/new","data-test","schedule-session-menu-item",3,"iconSize","type","queryParams","disabled"],["dataTest","client-actions-menu","kebabIconName","more_horiz",3,"menuOpened","menuItemList","closeAllOtherMe
18nus","kebabIconType","kebabIconSize"],[1,"header-client-info-row"],[1,"client"],[1,"client-info-wrapper"],[1,"span-value"],["data-test","client-dob"],["name","warning",3,"color","usage","size",4,"ngIf"],["class","iris-body-responsive client-underage-warning",4,"ngIf"],["data-dd-privacy","allow",1,"client-status-wrapper"],["class","client-status not-invited","data-test","status-not-invited",4,"ngIf"],["class","client-status inactive","data-test","status-inactive",4,"ngIf"],["class","client-status invited","data-test","status-invited",4,"ngIf"],["class","client-status incomplete-account","data-dd-privacy","allow",4,"ngIf"],["class","client-info-wrapper","data-dd-privacy","allow",4,"ngIf"],["id","client-page-tabs",1,"tabs"],[3,"routerLinkActiveOptions","tabItems"],["aria-label","return to client list","data-test","clients-breadcrumb",1,"header-breadcrumb-row"],["data-test","breadcrumb-link",1,"breadcrumb-link",3,"click"],["data-test","referral-button",3,"click","icon","type","ariaLabel","iconSize"],["gtagCtaEvent","","label","NCC clicked from client profile page","ariaLabel","Non Clinical Chat","data-test","non-clinical-chat","icon","chat_bubble_outline",3,"click","type","iconSize"],["icon","person_off","data-test","mark-inactive","ariaLabel","Mark client as inactive",1,"destructive",3,"click","type","iconSize"],["icon","person_check","data-test","mark-active","ariaLabel","Mark client as active",3,"click","type","iconSize"],["name","warning",3,"color","usage","size"],[1,"iris-body-responsive","client-underage-warning"],["size","large","class","client-status minor","data-test","status-minor",4,"ngIf"],["size","large","data-test","status-minor",1,"client-status","minor"],["data-test","status-not-invited",1,"client-status","not-invited"],["data-test","status-inactive",1,"client-status","inactive"],["data-test","status-invited",1,"client-status","invited"],["data-dd-privacy","allow",1,"client-status","incomplete-account"],["data-dd-privacy","allow",1,"client-info-wrapper"],["class","iris-link-quiet-responsive",3,"routerLink",4,"ngIf","ngIfElse"],[1,"iris-link-quiet-responsive",3,"routerLink"],[1,"loading-container"],["size","lg"]],template:function(i,n){i&1&&d(0,cm,7,7,"div",2)(1,mm,2,0,"div",3),i&2&&(l("ngIf",!n.isLoading),a(),l("ngIf",n.isLoading))},dependencies:[ue,U,li,Qe,j,X,Fe,Zi,Ni,qa,Ht,Vt,se,Ki,dn,Oe,Ze],styles:[`.iris-h1-desktop[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:600;font-size:clamp(1.5rem,calc(1.5rem + 1.75 * ((100vw - 23.4375rem) / 96.5625)),3.25rem);line-height:1.2;letter-spacing:normal;margin-bottom:0}.iris-h2-desktop[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:600;font-size:clamp(1.375rem,calc(1.375rem + 1.125 * ((100vw - 23.4375rem) / 96.5625)),2.5rem);line-height:1.2;letter-spacing:normal;margin-bottom:0}.iris-h3-desktop[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:600;font-size:clamp(1.25rem,calc(1.25rem + .5 * ((100vw - 23.4375rem) / 96.5625)),1.75rem);line-height:1.2;letter-spacing:normal;margin-bottom:0}.iris-h4-desktop[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:600;font-size:calc(1.125rem + .25rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal}.iris-subheading-sm-desktop[_ngcontent-%COMP%]{font-family:Lora,Arial,sans-serif;color:#001219;font-weight:300;font-style:normal;font-size:clamp(1.375rem,calc(1.375rem + 1.125 * ((100vw - 23.4375rem) / 96.5625)),2.5rem);line-height:1.4;letter-spacing:normal;margin-bottom:0}.iris-subheading-md-desktop[_ngcontent-%COMP%]{font-family:Lora,Arial,sans-serif;color:#001219;font-weight:300;font-style:normal;font-size:clamp(1.5rem,calc(1.5rem + 1.75 * ((100vw - 23.4375rem) / 96.5625)),3.25rem);line-height:1.4;letter-spacing:normal;margin-bottom:0}.iris-body[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:inherit;font-weight:400;font-size:calc(1rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal}.iris-body-bold[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:700;font-size:calc(1rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal}.iris-legal[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:600;font-size:calc(.75rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.4;letter-spacing:.01em}.iris-button-text[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:600;font-size:calc(1rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal;letter-spacing:.0125em}.iris-h1-responsive[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:600;font-size:clamp(1.5rem,calc(1.5rem + 1.75 * ((100vw - 23.4375rem) / 96.5625)),3.25rem);line-height:1.2;letter-spacing:normal;margin-bottom:0}.iris-h2-responsive[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:600;font-size:clamp(1.375rem,calc(1.375rem + 1.125 * ((100vw - 23.4375rem) / 96.5625)),2.5rem);line-height:1.2;letter-spacing:normal;margin-bottom:0}.iris-h3-responsive[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:600;font-size:clamp(1.25rem,calc(1.25rem + .5 * ((100vw - 23.4375rem) / 96.5625)),1.75rem);line-height:1.2;letter-spacing:normal;margin-bottom:0}.iris-h4-responsive[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:600;font-size:calc(1.125rem + .25rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal}.iris-subheading-sm-responsive[_ngcontent-%COMP%]{font-family:Lora,Arial,sans-serif;color:#001219;font-weight:300;font-style:normal;font-size:clamp(1.375rem,calc(1.375rem + 1.125 * ((100vw - 23.4375rem) / 96.5625)),2.5rem);line-height:1.4;letter-spacing:normal;margin-bottom:0}.iris-subheading-md-responsive[_ngcontent-%COMP%]{font-family:Lora,Arial,sans-serif;color:#001219;font-weight:300;font-style:normal;font-size:clamp(1.5rem,calc(1.5rem + 1.75 * ((100vw - 23.4375rem) / 96.5625)),3.25rem);line-height:1.4;letter-spacing:normal;margin-bottom:0}.iris-body-responsive[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:400;font-size:calc(1rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal}.iris-body-bold-responsive[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:700;font-size:calc(1rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal}.iris-legal-responsive[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:600;font-size:calc(.75rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.4;letter-spacing:.01em}.iris-button-text-responsive[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:600;font-size:calc(1rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal;letter-spacing:.0125em}.iris-modal-h1-responsive[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:600;font-size:clamp(1.375rem,calc(1.375rem + 1.125 * ((100vw - 23.4375rem) / 96.5625)),2.5rem);line-height:1.2;letter-spacing:normal;margin-bottom:0}.iris-modal-h2-responsive[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:600;font-size:clamp(1.25rem,calc(1.25rem + .5 * ((100vw - 23.4375rem) / 96.5625)),1.75rem);line-height:1.2;letter-spacing:normal;margin-bottom:0}.iris-modal-h3-responsive[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:600;font-size:calc(1.125rem + .25rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal}.iris-display-xl[_ngcontent-%COMP%]{font-family:Lora,Arial,sans-serif;color:inherit;font-weight:400;font-style:normal;
18font-size:clamp(2rem,calc(2rem + 1.75 * ((100vw - 23.4375rem) / 96.5625)),3.75rem);line-height:1.4;letter-spacing:normal;margin-bottom:0}.iris-display-lg[_ngcontent-%COMP%]{font-family:Lora,Arial,sans-serif;color:inherit;font-weight:400;font-style:normal;font-size:clamp(1.75rem,calc(1.75rem + 2.25 * ((100vw - 23.4375rem) / 96.5625)),4rem);line-height:1.4;letter-spacing:normal;margin-bottom:0}.iris-display-md[_ngcontent-%COMP%]{font-family:Lora,Arial,sans-serif;color:inherit;font-weight:400;font-style:normal;font-size:clamp(1.5rem,calc(1.5rem + 1.75 * ((100vw - 23.4375rem) / 96.5625)),3.25rem);line-height:1.4;letter-spacing:normal;margin-bottom:0}.iris-display-sm[_ngcontent-%COMP%]{font-family:Lora,Arial,sans-serif;color:inherit;font-weight:400;font-style:normal;font-size:clamp(1.375rem,calc(1.375rem + 1.125 * ((100vw - 23.4375rem) / 96.5625)),2.5rem);line-height:1.4;letter-spacing:normal;margin-bottom:0}.iris-display-xs[_ngcontent-%COMP%]{font-family:Lora,Arial,sans-serif;color:inherit;font-weight:400;font-style:normal;font-size:clamp(1.25rem,calc(1.25rem + .5 * ((100vw - 23.4375rem) / 96.5625)),1.75rem);line-height:1.4;letter-spacing:normal;margin-bottom:0}.iris-headline-xl[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:inherit;font-weight:600;font-size:clamp(2rem,calc(2rem + 3.5 * ((100vw - 23.4375rem) / 96.5625)),5.5rem);line-height:1.2;letter-spacing:normal;margin-bottom:0}.iris-headline-lg[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:inherit;font-weight:600;font-size:clamp(1.75rem,calc(1.75rem + 2.25 * ((100vw - 23.4375rem) / 96.5625)),4rem);line-height:1.2;letter-spacing:normal;margin-bottom:0}.iris-headline-md[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:inherit;font-weight:600;font-size:clamp(1.5rem,calc(1.5rem + 1.75 * ((100vw - 23.4375rem) / 96.5625)),3.25rem);line-height:1.2;letter-spacing:normal;margin-bottom:0}.iris-headline-sm[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:inherit;font-weight:600;font-size:clamp(1.375rem,calc(1.375rem + 1.125 * ((100vw - 23.4375rem) / 96.5625)),2.5rem);line-height:1.2;letter-spacing:normal;margin-bottom:0}.iris-headline-xs[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:inherit;font-weight:600;font-size:clamp(1.25rem,calc(1.25rem + .5 * ((100vw - 23.4375rem) / 96.5625)),1.75rem);line-height:1.2;letter-spacing:normal;margin-bottom:0}.iris-body-lg[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:inherit;font-weight:400;font-size:calc(1.125rem + .25rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal}.iris-body-sm[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:inherit;font-weight:400;font-size:calc(.875rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal}.iris-caption[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:inherit;font-weight:400;font-size:calc(.75rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.4;letter-spacing:.01em}.ufd-h1-display[_ngcontent-%COMP%]{font-family:Lora,Arial,sans-serif;color:#001219;font-weight:400;font-style:normal;font-size:clamp(1.75rem,calc(1.75rem + 2.25 * ((100vw - 23.4375rem) / 96.5625)),4rem);line-height:1.4;letter-spacing:normal;margin-bottom:0}.ufd-h2-display[_ngcontent-%COMP%]{font-family:Lora,Arial,sans-serif;color:#001219;font-weight:400;font-style:normal;font-size:clamp(1.5rem,calc(1.5rem + 1.75 * ((100vw - 23.4375rem) / 96.5625)),3.25rem);line-height:1.4;letter-spacing:normal;margin-bottom:0}.ufd-h3-display[_ngcontent-%COMP%]{font-family:Lora,Arial,sans-serif;color:#001219;font-weight:400;font-style:normal;font-size:clamp(1.375rem,calc(1.375rem + 1.125 * ((100vw - 23.4375rem) / 96.5625)),2.5rem);line-height:1.4;letter-spacing:normal;margin-bottom:0}.ufd-h4-display[_ngcontent-%COMP%]{font-family:Lora,Arial,sans-serif;color:#001219;font-weight:400;font-style:normal;font-size:clamp(1.25rem,calc(1.25rem + .5 * ((100vw - 23.4375rem) / 96.5625)),1.75rem);line-height:1.4;letter-spacing:normal;margin-bottom:0}.ufd-h1[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:400;font-size:clamp(1.5rem,calc(1.5rem + 1.75 * ((100vw - 23.4375rem) / 96.5625)),3.25rem);line-height:1.2;letter-spacing:normal;margin-bottom:0}.ufd-h2[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:400;font-size:clamp(1.375rem,calc(1.375rem + 1.125 * ((100vw - 23.4375rem) / 96.5625)),2.5rem);line-height:1.2;letter-spacing:normal;margin-bottom:0}.ufd-h3[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:400;font-size:clamp(1.25rem,calc(1.25rem + .5 * ((100vw - 23.4375rem) / 96.5625)),1.75rem);line-height:1.2;letter-spacing:normal;margin-bottom:0}.ufd-h4[_ngcontent-%COMP%], .ufd-p1-sb[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:500;font-size:calc(1.125rem + .25rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal}.ufd-p1[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:400;font-size:calc(1.125rem + .25rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal}.ufd-p2-sb[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:500;font-size:calc(1rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal}.ufd-p2[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:400;font-size:calc(1rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal}.ufd-p3-sb[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:500;font-size:calc(.875rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal}.ufd-p3[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:400;font-size:calc(.875rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal}.ufd-legal[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:400;font-size:calc(.75rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.4;letter-spacing:.01em;line-height:1.3}.iris-link-primary-desktop[_ngcontent-%COMP%]{text-decoration:none;font-family:Inclusive Sans,Arial,sans-serif;color:inherit;font-weight:400;font-size:calc(1rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal;text-decoration-line:underline;color:#0d6a97}.iris-link-primary-desktop[_ngcontent-%COMP%]:hover{color:#2696c5;text-decoration-line:none;cursor:pointer}.iris-link-primary-desktop[_ngcontent-%COMP%]:focus{outline-color:#009ea8}.iris-link-primary-desktop[_ngcontent-%COMP%]:active{color:#0a4e6f}.iris-link-primary-mobile[_ngcontent-%COMP%]{text-decoration:none;font-family:Inclusive Sans,Arial,sans-serif;color:inherit;font-weight:400;font-size:calc(1rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal;text-decoration-line:underline;color:#0d6a97}.iris-link-primary-mobile[_ngcontent-%COMP%]:hover{color:#2696c5;text-decoration-line:none;cursor:pointer}.iris-link-primary-mobile[_ngcontent-%COMP%]:focus{outline-color:#009ea8}.iris-link-primary-mobile[_ngcontent-%COMP%]:active{color:#0a4e6f}.iris-link-quiet-desktop[_ngcontent-%COMP%]{text-decoration:none;font-family:Inclusive Sans,Arial,sans-serif;color:inherit;font-weight:400;font-size:calc(1rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal;color:#0d6a97}.iris-link-quiet-desktop[_ngcontent-%COMP%]:hover{color:#2696c5;text-decoration-line:none;cursor:pointer}.iris-link-quiet-desktop[_ngcontent-%COMP%]:focus{outline-color:#009ea8}.iris-link-quiet-desktop[_ngcontent-%COMP%]:active{color:#0a4e6f}.iris-link-quiet-mobile[_ngcontent-%COMP%]{text-decoration:none;font-family:Inclusive Sans,Arial,sans-serif;color:inherit;font-weight:400;font-size:calc(1rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal;color:#0d6a97}.iris-link-quiet-mobile[_ngcontent-%COMP%]:hover{color:#2696c5;text-decoration-line:none;cursor:pointer}.iris-link-quiet-mobile[_ngcontent-%COMP%]:focus{outline-color:#009ea8}.iris-link-quiet-mobile[_ngcontent-%COMP%]:active{color:#0a4e6f}.iris-link-primary-responsive[_ngcontent-%COMP%]{text-decoration:none;font-family:Inclusive Sans,Arial,sans-serif;color:inherit;font-weight:400;font-size:calc(1rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal;text-decoration-line:underline;color:#0d6a97}.iris-link-primary-responsive[_ngcontent-%COMP%]:hover{color:#2696c5;text-decoration-line:none;cursor:pointer}.iris-link-primary-responsive[_ngcontent-%COMP%]:focus{outline-color:#009ea8}.iris-link-primary-responsive[_ngcontent-%COMP%]:active{color:#0a4e6f}@media(min-width:600px){.iris-link-primary-responsive[_ngcontent-%COMP%]{text-decoration:none;font-family:Inclusive Sans,Arial,sans-serif;color:inherit;font-weight:400;font-size:calc(1rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal;text-decoration-line:underline;color:#0d6a97}.iris-link-primary-responsive[_ngcontent-%COMP%]:hover{color:#2696c5;text-decoration-line:none;cursor:pointer}.iris-link-primary-responsive[_ngcontent-%COMP%]:focus{outline-color:#009ea8}.iris-link-primary-responsive[_ngcontent-%COMP%]:active{color:#0a4e6f}}.iris-link-quiet-responsive[_ngcontent-%COMP%]{text-decoration:none;font-family:Inclusive Sans,Arial,sans-serif;color:inherit;font-weight:400;font-size:calc(1rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal;color:#0d6a97}.iris-link-quiet-responsive[_ngcontent-%COMP%]:hover{color:#2696c5;text-decoration-line:none;cursor:pointer}.iris-link-quiet-responsive[_ngcontent-%COMP%]:focus{outline-color:#009ea8}.iris-link-quiet-responsive[_ngcontent-%COMP%]:active{color:#0a4e6f}@media(min-width:600px){.iris-link-quiet-responsive[_ngcontent-%COMP%]{text-decoration:none;font-family:Inclusive Sans,Arial,sans-serif;color:inherit;font-weight:400;font-size:calc(1rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal;color:#0d6a97}.iris-link-quiet-responsive[_ngcontent-%COMP%]:hover{color:#2696c5;text-decoration-line:none;cursor:pointer}.iris-link-quiet-responsive[_ngcontent-%COMP%]:focus{outline-color:#009ea8}.iris-link-quiet-responsive[_ngcontent-%COMP%]:active{color:#0a4e6f}}div.mat-mdc-select-panel[_ngcontent-%COMP%]{background-color:#fff!important;padding:0!important}.mat-mdc-option[_ngcontent-%COMP%]{background-color:#fff}.mat-mdc-option[_ngcontent-%COMP%]:hover:not(.mdc-list-item--disabled){background-color:#0000000a!important}.mat-mdc-option[_ngcontent-%COMP%]:focus:not(.mat-mdc-option-disabled){background-color:#0000001f!important}.mat-mdc-option.mdc-list-item--selected[_ngcontent-%COMP%]:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:#0000000a!important}.cdk-overlay-pane[_ngcontent-%COMP%]:has(.mat-mdc-select-panel){transform:translate(-20px) translateY(-33px)}.cdk-overlay-pane.mat-mdc-select-panel-above[_ngcontent-%COMP%], .cdk-overlay-pane.mat-mdc-select-panel-below[_ngcontent-%COMP%]{transform:translate(-20px) translateY(40px)}.cdk-overlay-pane[_ngcontent-%COMP%] .mat-mdc-select-panel[_ngcontent-%COMP%]{min-width:100%;max-width:100%}.cdk-overlay-pane[_ngcontent-%COMP%] .mat-mdc-option[_ngcontent-%COMP%]{color:#002532!important;font:400 14px inclusive sans!important}.cdk-overlay-pane[_ngcontent-%COMP%] .mat-mdc-option[_ngcontent-%COMP%] .mat-mdc-option-active[_ngcontent-%COMP%] .mdc-list-item[_ngcontent-%COMP%]{color:#002532!important}.mat-mdc-autocomplete-panel[_ngcontent-%COMP%]{background-color:#fff!important}.mat-mdc-option.mat-mdc-option-active.mdc-list-item[_ngcontent-%COMP%]{background-color:#0000000a!important}.mat-pseudo-checkbox-minimal[_ngcontent-%COMP%]{display:none!important}.ufd-p1-link-sb[_ngcontent-%COMP%]{text-decoration:none;font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:500;font-size:calc(1.125rem + .25rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal;text-decoration-line:underline;color:#0d6a97}.ufd-p1-link-sb[_ngcontent-%COMP%]:hover{color:#2696c5;text-decoration-line:none;cursor:pointer}.ufd-p1-link-sb[_ngcontent-%COMP%]:focus{outline-color:#009ea8}.ufd-p1-link-sb[_ngcontent-%COMP%]:active{color:#0a4e6f}.ufd-p2-link-sb[_ngcontent-%COMP%]{text-decoration:none;font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:500;font-size:calc(1rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal;text-decoration-line:underline;color:#0d6a97}.ufd-p2-link-sb[_ngcontent-%COMP%]:hover{color:#2696c5;text-decoration-line:none;cursor:pointer}.ufd-p2-link-sb[_ngcontent-%COMP%]:focus{outline-color:#009ea8}.ufd-p2-link-sb[_ngcontent-%COMP%]:active{color:#0a4e6f}.ufd-p3-link-sb[_ngcontent-%COMP%]{text-decoration:none;font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:500;font-size:calc(.875rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal;text-decoration-line:underline;color:#0d6a97}.ufd-p3-link-sb[_ngcontent-%COMP%]:hover{color:#2696c5;text-decoration-line:none;cursor:pointer}.ufd-p3-link-sb[_ngcontent-%COMP%]:focus{outline-color:#009ea8}.ufd-p3-link-sb[_ngcontent-%COMP%]:active{color:#0a4e6f}[_nghost-%COMP%] sonder-modal .sonder-modal.mobile#sonder-modal{height:calc(100% + -0px);margin-top:0}[_nghost-%COMP%] sonder-modal .sonder-modal.mobile#sonder-modal.in-native-app{height:100%;margin-top:0}[_nghost-%COMP%] sonder-modal.full-screen-on-mobile .sonder-modal.mobile#sonder-modal{height:100%;margin-top:0}[_nghost-%COMP%] client-termination-reasons-modal sonder-modal .sonder-modal.mobile#sonder-modal{height:calc(100% + -0px);margin-top:0}[_nghost-%COMP%] client-termination-reasons-modal sonder-modal .sonder-modal.mobile#sonder-modal.in-native-app{height:100%;margin-top:0}[_nghost-%COMP%] client-termination-reasons-modal sonder-modal.full-screen-on-mobile .sonder-modal.mobile#sonder-modal{height:100%;margin-top:0} .page-container{padding:0!important;background-color:#f3eee9!important;display:flex;flex-direction:column;height:100%} .page-container .client-tab-content-wrapper{margin:1.5rem auto;max-width:1280px;padding:0 1rem;min-height:100dvh}@media(min-width:600px){ .page-container .client-tab-content-wrapper{padding:0 1.5rem}}@media(min-width:960px){ .page-container .client-tab-content-wrapper{padding:0 2rem}}@media(min-width:1598px){ .page-container .client-tab-content-wrapper{width:1280px;padding:0}} .page-container .client-tab-content-wrapper:has(member-client-journey-shell){max-width:none;width:auto;padding:0;margin:0} .page-container .client-tab-content-wrapper section.header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem;flex-flow:column;gap:1rem}@media(min-width:600px){ .page-container .client-tab-content-wrapper section.header{flex-flow:row;gap:unset}} .page-container .client-tab-content-wrapper section.header .header-left{display:flex;align-items:center;gap:.5rem;flex:1} .page-container .client-tab-content-wrapper section.header .header-left h2{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:600;font-size:clamp(1.375rem,calc(1.375rem + 1.125 * ((100vw - 23.4375rem) / 96.5625)),2.5rem);line-height:1.2;letter-spacing:normal;margin-bottom:0;margin:0!important;font-weight:400!important} .page-container .client-tab-content-wrapper section.header .header-right{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:.5rem} .page-container .helper-text{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:400;font-size:calc(1rem +
18 .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal;display:flex;align-items:flex-start;gap:.5rem}@media(max-width:767px){ .page-content-min-height{overflow-y:unset!important}}a[_ngcontent-%COMP%]{color:#0a4e6f}member-chart-risk-flag-banner[_ngcontent-%COMP%] .member-risk-flag-banner-inner{max-width:none;margin:0;padding:.5rem 1rem}@media(min-width:600px){member-chart-risk-flag-banner[_ngcontent-%COMP%] .member-risk-flag-banner-inner{padding:.5rem 1.5rem}}@media(min-width:1440px){member-chart-risk-flag-banner[_ngcontent-%COMP%] .member-risk-flag-banner-inner{padding:.5rem 2rem}}.header-breadcrumb-row[_ngcontent-%COMP%]{background-color:#fdfbf7;padding:.5rem 1rem 0;display:flex;align-items:center;gap:.5rem;line-height:1}@media(min-width:600px){.header-breadcrumb-row[_ngcontent-%COMP%]{padding:.5rem 1.5rem 0}}@media(min-width:1440px){.header-breadcrumb-row[_ngcontent-%COMP%]{padding:.5rem 2rem 0}}.header-breadcrumb-row[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:.75rem;font-weight:500;color:#5e666b}.header-breadcrumb-row[_ngcontent-%COMP%] span.breadcrumb-link[_ngcontent-%COMP%]{cursor:pointer;font-weight:400}.header-breadcrumb-row[_ngcontent-%COMP%] span.breadcrumb-link[_ngcontent-%COMP%]:hover{text-decoration:underline}.header-name-actions-row[_ngcontent-%COMP%]{position:sticky;top:0;z-index:11;display:flex;flex:1;align-items:flex-start;justify-content:space-between;min-width:0;background-color:#fdfbf7;padding:1rem 1rem .5rem}@media(min-width:600px){.header-name-actions-row[_ngcontent-%COMP%]{padding:1rem 1.5rem .5rem}}@media(min-width:1440px){.header-name-actions-row[_ngcontent-%COMP%]{padding:1rem 2rem .5rem}}.header-name-actions-row[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-family:Lora,Arial,sans-serif;color:#001219;font-weight:400;font-style:normal;font-size:clamp(1.375rem,calc(1.375rem + 1.125 * ((100vw - 23.4375rem) / 96.5625)),2.5rem);line-height:1.4;letter-spacing:normal;margin:0;margin-right:1rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.header-name-actions-row[_ngcontent-%COMP%] .header-right[_ngcontent-%COMP%]{display:flex;align-items:center;gap:1rem}.header-name-actions-row[_ngcontent-%COMP%] .header-right[_ngcontent-%COMP%] .iris-icon-button{max-width:2.35rem;max-height:2.35rem}@media(min-width:600px){.header-name-actions-row[_ngcontent-%COMP%] .header-right[_ngcontent-%COMP%] .iris-icon-button{max-width:2.75rem;max-height:2.75rem}}.header-name-actions-row[_ngcontent-%COMP%] .header-right.show-desktop[_ngcontent-%COMP%]{display:none!important}.header-name-actions-row[_ngcontent-%COMP%] .header-right.show-mobile[_ngcontent-%COMP%]{display:flex!important}@media(min-width:960px){.header-name-actions-row[_ngcontent-%COMP%] .header-right.show-mobile[_ngcontent-%COMP%]{display:none!important}.header-name-actions-row[_ngcontent-%COMP%] .header-right.show-desktop[_ngcontent-%COMP%]{display:flex!important;gap:1.5rem}}.header-client-info-row[_ngcontent-%COMP%]{background-color:#fdfbf7;padding:.5rem 1rem 0}@media(min-width:600px){.header-client-info-row[_ngcontent-%COMP%]{padding:.5rem 1.5rem 0}}@media(min-width:1440px){.header-client-info-row[_ngcontent-%COMP%]{padding:.5rem 2rem 0}}.header-client-info-row[_ngcontent-%COMP%] .client[_ngcontent-%COMP%]{display:flex;flex-direction:column}.header-client-info-row[_ngcontent-%COMP%] .client-info-wrapper[_ngcontent-%COMP%]{display:flex;align-items:center;flex-wrap:wrap}.header-client-info-row[_ngcontent-%COMP%] .client-info-wrapper[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#5e666b;font-weight:400;font-size:calc(.75rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.4;letter-spacing:.01em;margin-right:.5rem;margin-bottom:.5rem}.header-client-info-row[_ngcontent-%COMP%] .client-info-wrapper[_ngcontent-%COMP%] p[_ngcontent-%COMP%] b[_ngcontent-%COMP%]{font-weight:500}.header-client-info-row[_ngcontent-%COMP%] .client-info-wrapper[_ngcontent-%COMP%] p[_ngcontent-%COMP%]:first-child{margin-left:0}.header-client-info-row[_ngcontent-%COMP%] .client-info-wrapper[_ngcontent-%COMP%] p[_ngcontent-%COMP%]:last-child{margin-right:0}.header-client-info-row[_ngcontent-%COMP%] .client-info-wrapper[_ngcontent-%COMP%] .span-value[_ngcontent-%COMP%]{color:#001219}.header-client-info-row[_ngcontent-%COMP%] .client-info-wrapper[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none;font-family:Inclusive Sans,Arial,sans-serif;color:inherit;font-weight:400;font-size:calc(.75rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.4;letter-spacing:.01em;color:#0d6a97}.header-client-info-row[_ngcontent-%COMP%] .client-info-wrapper[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{color:#2696c5;text-decoration-line:none;cursor:pointer}.header-client-info-row[_ngcontent-%COMP%] .client-info-wrapper[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:focus{outline-color:#009ea8}.header-client-info-row[_ngcontent-%COMP%] .client-info-wrapper[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:active{color:#0a4e6f}.header-client-info-row[_ngcontent-%COMP%] .client-dob-warning[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center}.header-client-info-row[_ngcontent-%COMP%] .client-dob-warning[_ngcontent-%COMP%] iris-icon[_ngcontent-%COMP%]{margin-right:.25rem}.header-client-info-row[_ngcontent-%COMP%] .client-underage-warning[_ngcontent-%COMP%]{color:#b93646}.header-client-info-row[_ngcontent-%COMP%] .client-status[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-size:calc(.75rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.4;letter-spacing:.01em;border-radius:.125rem;font-weight:600;line-height:.875rem;text-transform:uppercase;letter-spacing:.08em;margin-right:.5rem}.header-client-info-row[_ngcontent-%COMP%] .client-status.inactive[_ngcontent-%COMP%]{background-color:#d8d8d8;color:#fff}.header-client-info-row[_ngcontent-%COMP%] .client-status.minor[_ngcontent-%COMP%]{text-align:center;padding:.25rem .5rem;text-transform:uppercase;color:#001219;font-weight:600;font-size:.875rem;background-color:#f2f2f2;display:inline-flex;justify-content:center;align-items:center;border-radius:50%;position:relative}.header-client-info-row[_ngcontent-%COMP%] .client-status.minor[_ngcontent-%COMP%]:after{content:"";position:absolute;border-top:1px solid black;width:"1.5rem";transform:rotate(-45deg);transform-origin:center}.header-client-info-row[_ngcontent-%COMP%] .client-status.invited[_ngcontent-%COMP%]{background-color:#fff;border:1px solid #d8d8d8;color:#2f3a40}.header-client-info-row[_ngcontent-%COMP%] .client-status.not-invited[_ngcontent-%COMP%]{background-color:#f2f2f2;color:#5e666b;border:1px solid #d8d8d8}.header-client-info-row[_ngcontent-%COMP%] .client-status.incomplete-account[_ngcontent-%COMP%]{display:inline-block;background-color:#fff!important;color:#255564;border:.5px dashed #255564;border-radius:.25rem!important}@media(max-width:599px){.header-client-info-row[_ngcontent-%COMP%] .client-status.incomplete-account[_ngcontent-%COMP%]{display:flex}}.header-client-info-row[_ngcontent-%COMP%] .client-status-wrapper[_ngcontent-%COMP%]{display:inline-block}@media(max-width:599px){.header-client-info-row[_ngcontent-%COMP%] .client-status-wrapper[_ngcontent-%COMP%]{margin-right:1rem}}.header-client-info-row[_ngcontent-%COMP%] .client-status-wrapper[_ngcontent-%COMP%] iris-chip[_ngcontent-%COMP%]{padding-right:1rem;padding-left:1rem}.tabs[_ngcontent-%COMP%]{display:flex;position:sticky;top:48px;z-index:5;background-color:#fdfbf7;max-width:100vw;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin;border-bottom:1px solid #d8d8d8;box-shadow:0 4px 6px -4px #0000001a}.tabs[_ngcontent-%COMP%] {padding:1.5rem 0 0}@media(min-width:960px){.tabs[_ngcontent-%COMP%] {padding:1.5rem 1rem 0}}@media(min-width:1440px){.tabs[_ngcontent-%COMP%] {padding:1.5rem 1.5rem 0}}@media(min-width:1920px){.tabs[_ngcontent-%COMP%] {padding:1.5rem 2rem 0}}.tabs[_ngcontent-%COMP%] iris-tab .tab-wrapper .tab-item{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:400;font-size:calc(.875rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal;border-top-left-radius:.5rem;border-top-right-radius:.5rem;flex-direction:column;gap:0}@media(min-width:1440px){.tabs[_ngcontent-%COMP%] iris-tab .tab-wrapper .tab-item{gap:.5rem;flex-direction:row;height:2.25rem;padding:1.5rem 1rem}}@media(min-width:1920px){.tabs[_ngcontent-%COMP%] iris-tab .tab-wrapper .tab-item{padding:1.5rem}}.tabs[_ngcontent-%COMP%] iris-tab .tab-wrapper .tab-item svg{fill:#045}.tabs[_ngcontent-%COMP%] iris-tab .tab-wrapper .tab-item:hover{background-color:#f3eee9}.tabs[_ngcontent-%COMP%] iris-tab .tab-wrapper .tab-item.active{background-color:transparent}.loading-container[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;position:absolute;width:100%;min-height:90%}.loading-container[_ngcontent-%COMP%] mat-spinner circle{stroke:#045} 19/*# sourceMappingURL=client-detail.component-UPSSQ3FX.css.map */`]})}}return t})();function dm(t,s){if(t&1&&(C(0),g(1,"member-clinical-questionnaire-summary",4)(2,"member-clinical-questionnaires-overview",5),b()),t&2){let e=m();a(),l("analyticSummary",e.data.analytics)("totalSessions",e.data.totalSessions),a(),l("recentAssessments",e.data.assessments)("initialAssessment",e.data.initialAssessment)("totalAssessments",e.data.totalAssessments||0)}}var zr=(()=>{class t{constructor(e,i,n){this.activatedRoute=e,this.clientDetailPageService=i,this.assessmentTypeService=n,this.clinicalAssessmentTypes=bo,this.destroyed$=new F}ngOnInit(){this.assessmentType=this.activatedRoute.snapshot.paramMap.get("type"),this.displayTitle=vo(this.assessmentType),this.clientDetailPageService.patient.pipe($(e=>e!==null),ae(1),V(e=>this.assessmentTypeService.getAssessmentAnalytics$(this.assessmentType,e.personaClientId,e.patientPlatformUuid)),v(this.destroyed$)).subscribe(e=>{this.data=xe(te({},e),{assessments:this.sortAssessmentsByMostRecentAction(e.assessments)})})}ngOnDestroy(){this.destroyed$.next(),this.destroyed$.complete()}sortAssessmentsByMostRecentAction(e){return e.sort((i,n)=>{let p=i.completedAt?i.completedAt:i.clinicallyRelevantAt;return(n.completedAt?n.completedAt:n.clinicallyRelevantAt).getTime()-p.getTime()})}static{this.\u0275fac=function(i){return new(i||t)(f(Ce),f(le),f(Sa))}}static{this.\u0275cmp=w({type:t,selectors:[["member-client-detail-assessment-type"]],standalone:!1,decls:5,vars:3,consts:[[1,"client-detail-assessment-type"],["data-test","assessment-type-header","data-dd-privacy","allow"],[4,"ngIf"],[3,"assessmentType"],[3,"analyticSummary","totalSessions"],[3,"re
19centAssessments","initialAssessment","totalAssessments"]],template:function(i,n){i&1&&(o(0,"iris-card",0)(1,"h2",1),c(2),r(),d(3,dm,3,5,"ng-container",2),g(4,"member-clinical-questionnaire-scoring",3),r()),i&2&&(a(2),P(" ",n.displayTitle," "),a(),l("ngIf",n.data),a(),l("assessmentType",n.assessmentType))},dependencies:[U,ve,Hi,Gi,Yi],styles:[`.client-detail-assessment-type[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:600;font-size:clamp(1.375rem,calc(1.375rem + 1.125 * ((100vw - 23.4375rem) / 96.5625)),2.5rem);line-height:1.2;letter-spacing:normal;margin-bottom:0;margin-top:0!important;font-weight:400!important}member-clinical-questionnaire-summary[_ngcontent-%COMP%]{display:block;margin-bottom:2.5rem}member-clinical-questionnaires-overview[_ngcontent-%COMP%]{display:block;margin-bottom:2.5rem} 20/*# sourceMappingURL=client-detail-assessment-type.component-PWW6DYRZ.css.map */`]})}}return t})();var fm=()=>({dateFormat:"Dates must be in correct format of MM/DD/YYYY Month/Day/Year."});function gm(t,s){t&1&&g(0,"client-termination-reasons-modal")}function hm(t,s){t&1&&g(0,"mat-spinner",8),t&2&&l("diameter",100)}function um(t,s){t&1&&(o(0,"div",41),c(1," A first or last name is required! "),r())}function _m(t,s){if(t&1){let e=y();o(0,"iris-button",39),h("click",function(){u(e);let n=m(3);return _(n.billViaSondermind())}),c(1,"Bill via Sondermind"),r()}if(t&2){let e=m(3);l("buttonType",e.irisButtonTypes.PRIMARY)}}function Cm(t,s){if(t&1){let e=y();o(0,"iris-button",39),h("click",function(){u(e);let n=m(3);return _(n.accountRequired())}),c(1,"Resend invite"),r()}if(t&2){let e=m(3);l("buttonType",e.irisButtonTypes.PRIMARY)}}function bm(t,s){if(t&1){let e=y();o(0,"iris-button",39),h("click",function(){u(e);let n=m(3);return _(n.accountPending())}),c(1,"Account pending for claim, send reminder"),r()}if(t&2){let e=m(3);l("buttonType",e.irisButtonTypes.PRIMARY)}}function vm(t,s){if(t&1&&(o(0,"iris-button-container"),d(1,_m,2,1,"iris-button",42)(2,Cm,2,1,"iris-button",42)(3,bm,2,1,"iris-button",42),r()),t&2){let e=m(2);a(),l("ngIf",e.patient.nonSpnPatient),a(),l("ngIf",e.patient.accountRequired),a(),l("ngIf",e.patient.accountPending)}}function ym(t,s){if(t&1){let e=y();o(0,"iris-button",39),h("click",function(){u(e);let n=m(2);return _(n.handleCancel())}),c(1,"Reset changes"),r()}if(t&2){let e=m(2);l("buttonType",e.irisButtonTypes.TERTIARY)}}function Pm(t,s){if(t&1){let e=y();o(0,"form",9)(1,"iris-card")(2,"h3"),c(3,"Client Info"),r(),o(4,"div",10)(5,"iris-form-field",11),g(6,"iris-text-input",12),r(),o(7,"iris-form-field",13),g(8,"iris-text-input",14),r(),o(9,"iris-form-field",15),g(10,"iris-dropdown",16),r(),o(11,"iris-form-field",17),g(12,"iris-text-input",18),r(),o(13,"iris-form-field",19),g(14,"iris-text-input",20),r(),o(15,"iris-form-field",21),g(16,"iris-text-input",22),r(),o(17,"iris-form-field",23),g(18,"iris-text-input",24),r(),d(19,um,2,0,"div",25),r(),g(20,"br")(21,"mat-divider")(22,"br"),o(23,"h3"),c(24,"Home Address"),r(),o(25,"div",26)(26,"iris-form-field",27),g(27,"iris-text-input",28),r(),o(28,"iris-form-field",29),g(29,"iris-text-input",30),r(),o(30,"iris-form-field",31),g(31,"iris-text-input",32),r(),o(32,"iris-form-field",33),g(33,"iris-dropdown",34),r(),o(34,"iris-form-field",35),g(35,"iris-text-input",36),r()(),o(36,"div",37),d(37,vm,4,3,"iris-button-container",0),o(38,"iris-button-container"),I(39,ym,2,1,"iris-button",38),o(40,"iris-button",39),h("click",function(){u(e);let n=m();return _(n.patient.active?n.handleInactiveClick(n.patient):n.handleActiveClick(n.patient))}),c(41),r(),o(42,"save-button-material",40),h("buttonClicked",function(n){u(e);let p=m();return _(p.handleSave(n))}),r()()()()()}if(t&2){let e=m();l("formGroup",e.form),a(5),l("showOptionalTag",!1),a(2),l("showOptionalTag",!1),a(2),l("showOptionalTag",!1)("customErrorMessages",e.form.get("genderId")),a(),l("options",e.genderOptions),a(),l("customErrorMessages",Y(28,fm))("showOptionalTag",!1),a(),l("dropSpecialCharacters",!1),a(),l("showOptionalTag",!1),a(2),l("showOptionalTag",!1),a(),l("mask",e._maskingService.ngxMaskPhoneNumber),a(),l("showOptionalTag",!1),a(),l("mask",e._maskingService.ngxMaskPhoneNumber),a(),l("ngIf",(e.form.errors==null?null:e.form.errors.nameMissing)&&e.form.touched),a(7),l("showOptionalTag",!1),a(2),l("showOptionalTag",!1),a(2),l("showOptionalTag",!1),a(2),l("showOptionalTag",!1)("customErrorMessages",e.form.get("state")),a(),l("options",e.usStateNamesOptions),a(),l("showOptionalTag",!1),a(3),l("ngIf",e.patient.nonSpnPatient||e.patient.accountRequired||e.patient.accountPending),a(2),O(e.saving?-1:39),a(),l("buttonType",e.patient.active?e.irisButtonTypes.DANGER:e.irisButtonTypes.PRIMARY),a(),P(" ",e.patient.active?"Mark as inactive":"Reactivate"," "),a(),l("saving",e.saving)("disabled",e.saving||!e.form.valid)}}function xm(t,s){if(t&1){let e=y();o(0,"iris-card")(1,"h3",43)(2,"div"),c(3," Contacts "),r(),o(4,"div")(5,"iris-icon-button",44),h("click",function(n){u(e);let p=m();return _(p.handleCreateContact(n))}),r()()(),o(6,"div")(7,"clients-contact-list",45),h("patientContactsChanged",function(){u(e);let n=m();return _(n.reloadContacts())}),r(),g(8,"clients-contact-modal",46),r()()}if(t&2){let e=m();a(5),l("type",e.irisIconButtonTypes.TERTIARY),a(2),l("patient",e.patient)("patientContacts",e.patientContacts)("loading",e.loading),a(),l("patient",e.patient)}
20}var Lr=(()=>{class t{constructor(e,i,n,p,M,E,W,K,de,Pe){this.appService=e,this.patientService=i,this.patientContactService=n,this.snackBar=p,this.clientDetailPageService=M,this.clientTerminationReasonsModalService=E,this.referenceDataStore=W,this.builder=K,this._maskingService=de,this.irisModalService=Pe,this.destroyed$=new He,this.patientContacts=[],this.saving=!1,this.loading=!0,this.modalVisible=!1,this.genderOptions=[],this.usStateNamesOptions=[],this.irisButtonTypes=B,this.irisIconButtonTypes=Be,this.form=this.builder.group({firstName:new G(null),lastName:new G(null),dateOfBirth:new G(null,Q.compose([$o.format()])),genderId:new G(null),email:new G(null,Q.compose([Fo.format])),cellPhone:new G(null,Q.compose([Pn.format])),homePhone:new G(null,Q.compose([Pn.format])),addressLine1:new G(null),addressLine2:new G(null),city:new G(null),state:new G(null),postalCode:new G(null)},{validators:Se=>{let Ue=Se.get("firstName")?.value,ct=Se.get("lastName")?.value;return Ue&&Ue.trim().length>=1||ct&&ct.trim().length>=1?null:{nameMissing:!0,firstName:"A first or last name is required!"}}})}initializeReferenceData(){this.genders$=this.referenceDataStore.getGenders$(),this.usStateNames$=this.referenceDataStore.getUsStateNames$(),this.genders$.pipe($(e=>!!e?.length),v(this.destroyed$)).subscribe(e=>{this.genderOptions=[...e.map(i=>({name:i.title,value:i.id}))]}),this.usStateNames$.pipe($(e=>!!e?.length),v(this.destroyed$)).subscribe(e=>{this.usStateNamesOptions=[...e.map(i=>({name:i.title,value:i.tag}))]})}ngOnInit(){this.initializeReferenceData(),this.patientSub=this.clientDetailPageService.patient.pipe($(e=>e!==null),V(e=>Tn([we(e),this.patientContactService.list({filter:this.filterParams(e)})]))).subscribe(([e,i])=>{this.patient!==e&&(this.patient=e,this.resetForm()),this.patientContacts=i.data,this.loading=!1})}ngOnDestroy(){this.patientSub&&this.patientSub.unsubscribe(),this.destroyed$.next()}handleCreateContact(e){this.contactModal.openForCreate().subscribe(i=>{i!==null&&this.reloadContacts()})}handleActiveClick(e){let i=this.confirmModal.openThen("Confirm Activation","Are you sure you want to make this client active?","Activate");this.doActivate(i,!0)}handleInactiveClick(e){if(!this.patient.canInactivate){this.snackBar.open("Please submit your client's Claim(s) before inactivating the client.","Dismiss");return}this.modalVisible=!0,this.clientTerminationReasonsModalService.setSelectedPatientId(this.patient.id),this.clientTerminationReasonsModalService.toggleModal(),this.clientTerminationReasonsModalService.subscribeToModalEvents().pipe(An(()=>this.modalVisible)).subscribe(i=>{this.modalVisible=i.visibility,i.clientActivation&&i.clientActivation===lt.INACTIVE&&this.handleClientActivation(!1).subscribe()})}handleCancel(){this.form.reset(this.formReset.value)}handleSave(e){if(this.form.invalid){this.form.markAsTouched();return}this.saving=!0;let i=new vi,n=this.form.value;i.id=this.patient.id,i.firstName=n.firstName,i.lastName=n.lastName,i.email=n.email,i.cellPhone=n.cellPhone,i.homePhone=n.homePhone,i.addressLine1=n.addressLine1,i.addressLine2=n.addressLine2,i.city=n.city,i.state=n.state,i.postalCode=n.postalCode,i.genderId=typeof n.genderId=="number"?n.genderId.toString():n.genderId,i.dateOfBirth=n.dateOfBirth instanceof Date?n.dateOfBirth.toISOString():n.dateOfBirth,this.patientService.update(this.patient.userId,i).pipe(V(()=>this.patientService.load(this.patient.id))).subscribe(p=>{this.saving=!1,this.patient=p.value,this.clientDetailPageService.patientUpdated(this.patient),this.resetForm()})}reloadContacts(){this.loading=!0,this.patientContactService.list({filter:this.filterParams(this.patient)}).subscribe({next:e=>{this.patientContacts=e.data,this.loading=!1},error:e=>{this.loading=!1,console.error(e)}})}billViaSondermind(){if(!this.patient.nonSpnPatient){this.snackBar.open("Bill via Sondermind is already enabled!","Dismiss");return}this.patientService.toggleNonSpnPatient(this.patient.userId,this.patient).subscribe(e=>{this.patient=e.value,this.snackBar.open("Bill via Sondermind is enabled","Dismiss"),this.clientDetailPageService.patientUpdated(this.patient)}
20)}accountRequired(){if(!this.patient.accountRequired){this.snackBar.open("Account is already there or not required for this client!","Dismiss");return}this.irisModalService.open(Ja,{data:{patient:this.patient},size:Xe.MD}).afterClosed$().subscribe(i=>{i&&(this.patient=i,this.clientDetailPageService.patientUpdated(this.patient))})}accountPending(){if(!this.patient.accountPending){this.snackBar.open("Account is not pending a client account","Dismiss");return}this.irisModalService.open(Za,{data:{patient:this.patient},size:Xe.MD}).afterClosed$().subscribe(i=>{i&&(this.patient=i,this.clientDetailPageService.patientUpdated(this.patient))})}doActivate(e,i){e.pipe($(n=>!!n),V(()=>this.handleClientActivation(i))).subscribe()}resetForm(){this.form.setValue({firstName:this.patient.firstName,lastName:this.patient.lastName,dateOfBirth:this.patient.dateOfBirth,genderId:this.patient.genderId,email:this.patient.email,cellPhone:this.patient.cellPhone,homePhone:this.patient.homePhone,addressLine1:this.patient.addressLine1,addressLine2:this.patient.addressLine2,city:this.patient.city,state:this.patient.state,postalCode:this.patient.postalCode}),this.formReset=this.form,this.patient.haveClientRecord&&this.form.get("email")?.disable()}filterParams(e){return e.haveClientRecord?{key:"persona_client_id",value:`${e.personaClientId}`}:{key:"patient_id",value:`${e.id}`}}handleClientActivation(e){return this.patientService.activeInactive(this.patient.userId,this.patient.id,e).pipe(ot(i=>{this.patient=i.value,this.clientDetailPageService.patientUpdated(this.patient)}))}static{this.\u0275fac=function(i){return new(i||t)(f(re),f(Ei),f(Wa),f(De),f(le),f(qt),f(da),f(ci),f(Ao),f(et))}}static{this.\u0275cmp=w({type:t,selectors:[["member-client-detail-contact-info"]],viewQuery:function(i,n){if(i&1&&(R(se,5),R(Ot,5),R(nn,5)),i&2){let p;z(p=L())&&(n.confirmModal=p.first),z(p=L())&&(n.alertModal=p.first),z(p=L())&&(n.contactModal=p.first)}},standalone:!1,decls:13,vars:4,consts:[[4,"ngIf"],["class","inline-material-spinner",3,"diameter",4,"ngIf"],["data-dd-privacy","allow",1,"header"],[1,"header-left"],[1,"helper-text"],["name","info_outline"],[1,"header-right"],["class","form",3,"formGroup",4,"ngIf"],[1,"inline-material-spinner",3,"diameter"],[1,"form",3,"formGroup"],[1,"client-info-container"],["label","Legal First Name",1,"first-name",3,"showOptionalTag"],["type","text","formControlName","firstName","placeholder","Legal First Name"],["label","Legal Last Name",1,"last-name",3,"showOptionalTag"],["type","text","formControlName","lastName","placeholder","Legal Last Name"],["label","Gender",1,"gender",3,"showOptionalTag","customErrorMessages"],["formControlName","genderId","placeholder","Select gender",3,"options"],["label","Date of birth","data-test","date-of-birth-label",1,"date-of-birth",3,"customErrorMessages","showOptionalTag"],["formControlName","dateOfBirth","type","date","data-test","date-of-birth",3,"dropSpecialCharacters"],["label","Email",1,"email",3,"showOptionalTag"],["type","text","placeholder","Email","formControlName","email"],["label","Cell Phone",1,"cell-phone",3,"showOptionalTag"],["type","text","placeholder","Cell Phone","formControlName","cellPhone",3,"mask"],["label","Home Phone",1,"home-phone",3,"showOptionalTag"],["type","text","placeholder","Home Phone","formControlName","homePhone",3,"mask"],["class","error-list alert alert-danger",4,"ngIf"],[1,"client-address-container"],["label","Address Line 1",1,"address-1",3,"showOptionalTag"],["type","text","placeholder","Address Line 1","formControlName","addressLine1"],["label","Address Line 2",1,"address-2",3,"showOptionalTag"],["type","text","placeholder","Address Line 2","formControlName","addressLine2"],["label","City",1,"city",3,"showOptionalTag"],["type","text","formControlName","city","placeholder","City"],["label","State",1,"state",3,"showOptionalTag","customErrorMessages"],["formControlName","state","placeholder","Select state",3,"options"],["label","Postal Code",1,"postal",3,"showOptionalTag"],["type","text","formControlName","postalCode","placeholder","Postal Code"],[1,"client-actions-container"],[3,"buttonType"],[3,"click","buttonType"],[3,"buttonClicked","saving","disabled"],[1,"error-list","alert","alert-danger"],[3,"buttonType","click",4,"ngIf"],[1,"contacts-header"],["icon","plus_circle","ariaLabel","Add Contact","data-test","add-contact-button",1,"add-contact-button",3,"click","type"],[3,"patientContactsChanged","patient","patientContacts","loading"],[3,"patient"]],template:function(i,n){i&1&&(d(0,gm,1,0,"client-termination-reasons-modal",0)(1,hm,1,1,"mat-spinner",1),o(2,"section",2)(3,"div",3)(4,"p",4),g(5,"iris-icon",5),c(6," Clients will see changes you make to their contact information. "),r()(),g(7,"div",6),r(),d(8,Pm,43,29,"form",7),g(9,"br"),d(10,xm,9,5,"iris-card",0),g(11,"sondermind-alert-modal")(12,"sondermind-confirmation-modal")),i&2&&(l("ngIf",n.modalVisible),a(),l("ngIf",n.loading),a(7),l("ngIf",!n.loading),a(2),l("ngIf",!n.loading))},dependencies:[U,Ae,be,Te,ko,ut,Ee,ke,j,Le,ve,$e,X,Fe,Si,Oi,Ot,se,Bo,Ka,nn,dn],styles:[`h3[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:400;font-size:clamp(1.25rem,calc(1.25rem + .5 * ((100vw - 23.4375rem) / 96.5625)),1.75rem);line-height:1.2;letter-spacing:normal;margin-bottom:1rem;margin-top:0}iris-card[_ngcontent-%COMP%]{margin:1rem 0px}.client-info-container[_ngcontent-%COMP%], .client-address-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1.5rem;margin-bottom:1rem}@media(min-width:600px){.client-info-container[_ngcontent-%COMP%]{display:grid;grid-auto-flow:row;grid-gap:1.5rem;grid-template-columns:1fr 1fr;grid-template-rows:auto;grid-template-areas:"first last" "gender dob" "homephone cellphone" "email email"}}@media(min-width:960px){.client-info-container[_ngcontent-%COMP%]{grid-template-columns:1fr 1fr 1fr;grid-template-rows:auto;grid-template-areas:"first last ." "gender dob email" "cellphone homephone ."}}@media(min-width:600px){.client-address-container[_ngcontent-%COMP%]{display:grid;grid-auto-flow:row;grid-gap:1.5rem;grid-template-columns:1fr 1fr;grid-template-rows:auto;grid-template-areas:"address1 address2" "city state" "postal ."}}@media(min-width:960px){.client-address-container[_ngcontent-%COMP%]{grid-template-columns:1fr 1fr 1fr;grid-template-rows:auto;grid-template-areas:"address1 address2 ." "city state postal"}}.client-actions-container[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;margin-top:2rem}.client-actions-container[_ngcontent-%COMP%] iris-button-container[_ngcontent-%COMP%]{align-items:baseline}.client-actions-container[_ngcontent-%COMP%] save-button-material[_ngcontent-%COMP%]{margin:0} .iris-dropdown-listbox, .iris-dropdown-listbox.drop-up{margin-bottom:-4rem!important}.contacts-header[_ngcontent-%COMP%]{display:flex;justify-content:space-between}.inline-material-spinner[_ngcontent-%COMP%]{display:flex;margin:8rem auto 0;justify-content:center;align-items:center;min-height:300px}.inline-material-spinner[_ngcontent-%COMP%] circle{stroke:#045!important}
20.first-name[_ngcontent-%COMP%]{grid-area:first}.last-name[_ngcontent-%COMP%]{grid-area:last}.gender[_ngcontent-%COMP%]{grid-area:gender}.date-of-birth[_ngcontent-%COMP%]{grid-area:dob}.email[_ngcontent-%COMP%]{grid-area:email}.home-phone[_ngcontent-%COMP%]{grid-area:homephone}.cell-phone[_ngcontent-%COMP%]{grid-area:cellphone}.address-1[_ngcontent-%COMP%]{grid-area:address1}.address-2[_ngcontent-%COMP%]{grid-area:address2}.city[_ngcontent-%COMP%]{grid-area:city}.state[_ngcontent-%COMP%]{grid-area:state}.postal[_ngcontent-%COMP%]{grid-area:postal} 21/*# sourceMappingURL=client-detail-contact-info.component-LDJ43VAU.css.map */`]})}}return t})();function Mm(t,s){if(t&1){let e=y();o(0,"iris-button",10),h("click",function(){u(e);let n=m(2).ngIf,p=m();return _(p.goToPage(n.firstPageInfo.page))}),c(1),r()}if(t&2){let e=m(2).ngIf;l("type",e.firstPageInfo.buttonType),q("aria-current",e.firstPageInfo.ariaCurrent)("aria-label",e.firstPageInfo.ariaLabel)("data-test","pagination-page-"+e.firstPageInfo.page),a(),P(" ",e.firstPageInfo.page," ")}}function Sm(t,s){t&1&&(o(0,"span",11),c(1," ... "),r())}function wm(t,s){if(t&1){let e=y();o(0,"iris-button",10),h("click",function(){let n=u(e).$implicit,p=m(3);return _(p.goToPage(n.page))}),c(1),r()}if(t&2){let e=s.$implicit;l("type",e.buttonType),q("aria-current",e.ariaCurrent)("aria-label",e.ariaLabel)("data-test","pagination-page-"+e.page),a(),P(" ",e.page," ")}}function Im(t,s){t&1&&(o(0,"span",11),c(1," ... "),r())}function Om(t,s){if(t&1){let e=y();o(0,"iris-button",10),h("click",function(){u(e);let n=m(2).ngIf,p=m();return _(p.goToPage(n.totalPagesInfo.page))}),c(1),r()}if(t&2){let e=m(2).ngIf;l("type",e.totalPagesInfo.buttonType),q("aria-current",e.totalPagesInfo.ariaCurrent)("aria-label",e.totalPagesInfo.ariaLabel)("data-test","pagination-page-"+e.totalPagesInfo.page),a(),P(" ",e.totalPagesInfo.page," ")}}function Tm(t,s){if(t&1){let e=y();o(0,"nav",2)(1,"div",3)(2,"iris-icon-button",4),h("click",function(){u(e);let n=m(2);return _(n.previousPage())}),r(),o(3,"div",5),d(4,Mm,2,5,"iris-button",6)(5,Sm,2,0,"span",7)(6,wm,2,5,"iris-button",8)(7,Im,2,0,"span",7)(8,Om,2,5,"iris-button",6),r(),o(9,"iris-icon-button",9),h("click",function(){u(e);let n=m(2);return _(n.nextPage())}),r()()()}if(t&2){let e=m().ngIf,i=m();a(2),Cn("disabled",e.isFirstPage),l("type",i.irisIconButtonTypes.TERTIARY)("disabled",e.isFirstPage),q("data-test","pagination-previous"),a(2),l("ngIf",e.shouldShowFirstPage),a(),l("ngIf",e.showStartEllipsis),a(),l("ngForOf",e.visiblePagesInfo)("ngForTrackBy",i.trackByPageInfo),a(),l("ngIf",e.showEndEllipsis),a(),l("ngIf",e.shouldShowLastPage),a(),Cn("disabled",e.isLastPage),l("type",i.irisIconButtonTypes.TERTIARY)("disabled",e.isLastPage),q("data-test","pagination-next")}}function Am(t,s){if(t&1&&(C(0),d(1,Tm,10,16,"nav",1),b()),t&2){let e=s.ngIf;a(),l("ngIf",e.shouldShowPagination)}}var J={totalItems:0,itemsPerPage:8,currentPage:1,visiblePages:6,maxMiddlePages:4,minItemsPerPage:1,minPageNumber:1,startEdgeThreshold:4,endEdgeThreshold:3},Nr=(()=>{class t{constructor(){this.totalItems=J.totalItems,this.itemsPerPage=J.itemsPerPage,this.currentPage=J.currentPage,this.pageChanged=new He,this.irisButtonTypes=B,this.irisIconButtonTypes=Be,this.totalPages$=new oe(J.totalItems),this.currentPage$=new oe(J.currentPage),this.visiblePages$=new oe([]),this.destroy$=new F,this.totalVisiblePages=J.visiblePages,this.viewModel$=pt([this.totalPages$,this.currentPage$,this.visiblePages$]).pipe(v(this.destroy$),T(([e,i,n])=>{let p=n[0],M=n[n.length-1],E=e>this.totalVisiblePages&&p>J.minPageNumber,W=e>this.totalVisiblePages&&M<e,K=E&&p>J.minPageNumber+1,de=W&&M<e-1;return{shouldShowPagination:e>J.minPageNumber,isFirstPage:i===J.minPageNumber,isLastPage:i===e,showStartEllipsis:K,showEndEllipsis:de,shouldShowFirstPage:E,shouldShowLastPage:W,visiblePagesInfo:n.map(Pe=>this.createPageInfo(Pe,i)),firstPageInfo:this.createPageInfo(J.minPageNumber,i),totalPagesInfo:this.createPageInfo(e,i)}}))}createPageInfo(e,i){let n=e===i;return{page:e,buttonType:n?B.PRIMARY:B.TERTIARY,ariaCurrent:n?"page":null,ariaLabel:n?`Current page, page ${e}`:`Go to page ${e}`}}ngOnChanges(e){e.totalItems&&(this.totalItems=Math.max(0,this.totalItems)),e.itemsPerPage&&(this.itemsPerPage=Math.max(J.minItemsPerPage,this.itemsPerPage)),e.currentPage&&(this.currentPage=Math.max(J.minPageNumber,this.currentPage)),(e.totalItems||e.itemsPerPage||e.currentPage)&&this.calculatePagination()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete(),this.totalPages$.complete(),this.currentPage$.complete(),this.visiblePages$.complete()}trackByPageInfo(e,i){return`${i.page}-${i.buttonType}`}calculatePagination(){if(this.totalItems<=J.totalItems){this.totalPages$.next(J.totalItems),this.visiblePages$.next([]);return}let e=Math.max(J.minPageNumber,Math.ceil(this.totalItems/this.itemsPerPage)),i=Math.max(J.minPageNumber,Math.min(this.currentPage,e));this.totalPages$.next(e),this.currentPage$.next(i),this.visiblePages$.next(this.calculateVisiblePages(e,i))}calculateVisiblePages(e,i){let{minPageNumber:n,visiblePages:p,startEdgeThreshold:M,endEdgeThreshold:E}=J;return e<=p?Array.from({length:e},(W,K)=>K+n):i<=M?[1,2,3,4,5]:i>=e-E?[e-4,e-3,e-2,e-1,e]:[i-1,i,i+1,i+2]}goToPage(e){let{minPageNumber:i}=J,n=this.currentPage$.value,p=this.totalPages$.value;e===n||e<i||e>p||!Number.isInteger(e)||(this.currentPage=e,this.calculatePagination(),this.pageChanged.emit(e))}previousPage(){this.goToPage(this.currentPage$.value-1)}nextPage(){this.goToPage(this.currentPage$.value+1)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=w({type:t,selectors:[["sondermind-pagination"]],inputs:{totalItems:"totalItems",itemsPerPage:"itemsPerPage",currentPage:"currentPage"},outputs:{pageChanged:"pageChanged"},features:[oi],decls:2,vars:3,consts:[[4,"ngIf"],["class","pagination-container","role","navigation","aria-label","Pagination Navigation",4,"ngIf"],["role","navigation","aria-label","Pagination Navigation",1,"pagination-container"],[1,"pagination-controls"],["ariaLabel","Go to previous page","icon","arrow_back",1,"pagination-arrow","pagination-arrow--previous",3,"click","type","disabled"],[1,"pagination-pages"],["class","pagination-page-button",3,"type","click",4,"ngIf"],["class","pagination-ellipsis","aria-hidden","true",4,"ngIf"],["class","pagination-page-button",3,"type","click",4,"ngFor","ngForOf","ngForTrackBy"],["ariaLabel","Go to
21next page","icon","arrow_forward",1,"pagination-arrow","pagination-arrow--next",3,"click","type","disabled"],[1,"pagination-page-button",3,"click","type"],["aria-hidden","true",1,"pagination-ellipsis"]],template:function(i,n){i&1&&(d(0,Am,2,1,"ng-container",0),x(1,"async")),i&2&&l("ngIf",k(1,1,n.viewModel$))},dependencies:[_e,qe,U,Ne,j,wt,Fe,Oe],styles:[`[_nghost-%COMP%]{display:block;width:100%}[_nghost-%COMP%] .pagination-container[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;width:100%;padding:.5rem .25rem;overflow-x:auto}@media(min-width:960px){[_nghost-%COMP%] .pagination-container[_ngcontent-%COMP%]{padding:1rem .5rem;overflow-x:visible}}@media(min-width:1440px){[_nghost-%COMP%] .pagination-container[_ngcontent-%COMP%]{padding:1.5rem .5rem}}[_nghost-%COMP%] .pagination-container[_ngcontent-%COMP%] .pagination-controls[_ngcontent-%COMP%]{display:flex;align-items:center;gap:2.5rem}[_nghost-%COMP%] .pagination-container[_ngcontent-%COMP%] .pagination-controls[_ngcontent-%COMP%] .pagination-arrow[_ngcontent-%COMP%] iris-icon{max-height:1rem;max-width:1rem}[_nghost-%COMP%] .pagination-container[_ngcontent-%COMP%] .pagination-controls[_ngcontent-%COMP%] .pagination-arrow[_ngcontent-%COMP%] iris-icon svg{height:1rem;width:1rem}[_nghost-%COMP%] .pagination-container[_ngcontent-%COMP%] .pagination-controls[_ngcontent-%COMP%] .pagination-arrow[_ngcontent-%COMP%] .iris-icon-button:hover:not(:disabled){background-color:#d7e9eb!important;border-radius:50%!important}[_nghost-%COMP%] .pagination-container[_ngcontent-%COMP%] .pagination-controls[_ngcontent-%COMP%] .pagination-arrow.disabled[_ngcontent-%COMP%]{opacity:.4;cursor:not-allowed}[_nghost-%COMP%] .pagination-container[_ngcontent-%COMP%] .pagination-controls[_ngcontent-%COMP%] .pagination-arrow.disabled[_ngcontent-%COMP%] .iris-icon-button:hover{background-color:transparent!important}[_nghost-%COMP%] .pagination-container[_ngcontent-%COMP%] .pagination-controls[_ngcontent-%COMP%] .pagination-arrow[_ngcontent-%COMP%]:focus-visible{outline:2px solid #004455;outline-offset:2px}[_nghost-%COMP%] .pagination-container[_ngcontent-%COMP%] .pagination-controls[_ngcontent-%COMP%] .pagination-pages[_ngcontent-%COMP%]{display:flex;align-items:center;gap:1rem}[_nghost-%COMP%] .pagination-container[_ngcontent-%COMP%] .pagination-controls[_ngcontent-%COMP%] .pagination-pages[_ngcontent-%COMP%] .pagination-ellipsis[_ngcontent-%COMP%]{color:#001219;font-family:Inclusive Sans;font-weight:400;font-size:.625rem;display:none;align-items:center;justify-content:center;text-align:center;height:1.5rem;padding:0}@media(min-width:960px){[_nghost-%COMP%] .pagination-container[_ngcontent-%COMP%] .pagination-controls[_ngcontent-%COMP%] .pagination-pages[_ngcontent-%COMP%] .pagination-ellipsis[_ngcontent-%COMP%]{display:flex;font-size:.75rem;height:1.75rem;padding:0 .25rem}}@media(min-width:1440px){[_nghost-%COMP%] .pagination-container[_ngcontent-%COMP%] .pagination-controls[_ngcontent-%COMP%] .pagination-pages[_ngcontent-%COMP%] .pagination-ellipsis[_ngcontent-%COMP%]{font-size:.875rem;height:2rem}}[_nghost-%COMP%] .pagination-container[_ngcontent-%COMP%] .pagination-controls[_ngcontent-%COMP%] .pagination-pages[_ngcontent-%COMP%] .pagination-page-button[_ngcontent-%COMP%] .iris-button{min-width:1.25rem!important;width:auto;height:1.375rem;padding:0!important;border-radius:.25rem!important;font-size:1rem!important;font-weight:600!important;line-height:1!important;display:flex!important;align-items:center!important;justify-content:center!important}[_nghost-%COMP%] .pagination-container[_ngcontent-%COMP%] .pagination-controls[_ngcontent-%COMP%] .pagination-pages[_ngcontent-%COMP%] .pagination-page-button[_ngcontent-%COMP%] .iris-button--primary{background-color:#6ba8ad!important;color:#fff!important;border-color:#6ba8ad!important}[_nghost-%COMP%] .pagination-container[_ngcontent-%COMP%] .pagination-controls[_ngcontent-%COMP%] .pagination-pages[_ngcontent-%COMP%] .pagination-page-button[_ngcontent-%COMP%] .iris-button--tertiary:hover{background-color:#d7e9eb!important;color:#045!important;border-color:#d7e9eb!important}[_nghost-%COMP%] .pagination-container[_ngcontent-%COMP%] .pagination-controls[_ngcontent-%COMP%] .pagination-pages[_ngcontent-%COMP%] .pagination-page-button[_ngcontent-%COMP%]:focus-visible{outline:2px solid #004455;outline-offset:2px} 22/*# sourceMappingURL=pagination.component-YOPFH4L2.css.map */`],changeDetection:0})}}return t})();var Em=(t,s)=>s.title,km=(t,s)=>s.uuid,Dm=(t,s)=>s.id;function Rm(t,s){if(t&1){let e=y();o(0,"div",4)(1,"iris-button",5),h("click",function(){u(e);let n=m(2);return _(n.sendDocs())}),c(2," Send documents "),r()()}}
22function zm(t,s){if(t&1&&(o(0,"span",15),c(1),r()),t&2){let e=m().$implicit;a(),S(e.title)}}function Lm(t,s){if(t&1&&(o(0,"span"),c(1),x(2,"localizedDate"),r()),t&2){let e=m().$implicit;a(),S(N(2,1,e.sentDate,"short"))}}function Nm(t,s){if(t&1&&(g(0,"iris-icon",17),c(1),x(2,"localizedDate")),t&2){let e=m(2).$implicit;a(),H(" ",e.statusCopy," - ",N(2,2,e.completedDate,"short")," ")}}function Bm(t,s){if(t&1&&c(0),t&2){let e=m(2).$implicit;P(" ",e.statusCopy," ")}}function Fm(t,s){if(t&1&&(o(0,"span"),I(1,Nm,3,5)(2,Bm,1,1),r()),t&2){let e=m().$implicit,i=m(4);a(),O(e.status===i.documentStatus.COMPLETED?1:2)}}function $m(t,s){if(t&1&&g(0,"iris-icon-button",18),t&2){let e=m(2).$implicit,i=m(4);l("linkHref",e.downloadUrl)("target",i.irisButtonTarget.BLANK)("type",i.irisIconButtonTypes.TERTIARY)}}function Vm(t,s){if(t&1&&g(0,"iris-icon-button",19),t&2){let e=m(6);l("disabled",!0)("type",e.irisIconButtonTypes.TERTIARY)}}function Um(t,s){if(t&1&&I(0,$m,1,3,"iris-icon-button",18)(1,Vm,1,2,"iris-icon-button",19),t&2){let e=m().$implicit;O(e.downloadUrl?0:1)}}function jm(t,s){if(t&1&&(o(0,"tr",13)(1,"td",14),I(2,zm,2,1,"span",15),r(),o(3,"td",10),I(4,Lm,3,4,"span"),r(),o(5,"td",16),I(6,Fm,3,1,"span"),r(),o(7,"td",12),I(8,Um,2,1),r()()),t&2){let e=s.$implicit;a(2),O(e.title?2:-1),a(2),O(e.sentDate?4:-1),a(2),O(e.status?6:-1),a(2),O(e.status?8:-1)}}function Hm(t,s){if(t&1&&(o(0,"div",6)(1,"table",8)(2,"thead")(3,"tr")(4,"th",9),c(5,"Document name"),r(),o(6,"th",10),c(7,"Date sent"),r(),o(8,"th",11),c(9,"Status"),r(),o(10,"th",12),c(11,"Download"),r()()(),o(12,"tbody"),gt(13,jm,9,4,"tr",13,Em),r()()()),t&2){let e=m();a(13),ht(e)}}function Gm(t,s){t&1&&(o(0,"p",23),c(1," Make sure all clients complete the required documents. Any documents you send to them will appear here. "),r())}function Ym(t,s){if(t&1&&(o(0,"p",23),c(1," Make sure all clients complete the required documents\u2014either through SonderMind, or on your own. Send your first document or "),o(2,"a",24),c(3," learn more about required documents for your state. "),r()()),t&2){let e=m(5);a(2),l("href",Yn(e.docDisclosureInfo),Rn)}}function qm(t,s){if(t&1&&(g(0,"img",20),o(1,"h2",21),c(2,"No documents sent through SonderMind"),r(),o(3,"div",22),I(4,Gm,2,0,"p",23)(5,Ym,4,2,"p",23),r()),t&2){let e=m(4);a(4),O(e.isSaasEnabled()?4:5)}}function Qm(t,s){if(t&1&&(o(0,"section",7),I(1,qm,6,1),r()),t&2){let e=m(3);a(),O(e.loading()?-1:1)}}function Wm(t,s){t&1&&I(0,Hm,15,0,"div",6)(1,Qm,2,1,"section",7),t&2&&O(s.length>0?0:1)}function Km(t,s){t&1&&(o(0,"div",26),g(1,"iris-spinner",27),r())}function Zm(t,s){t&1&&g(0,"iris-spinner",32)}function Jm(t,s){if(t&1){let e=y();o(0,"tr",28)(1,"td",30)(2,"span",15),c(3),r()(),o(4,"td",10)(5,"span"),c(6),x(7,"localizedDate"),r()(),o(8,"td",11)(9,"iris-icon-button",31),h("click",function(){let n=u(e).$implicit,p=m(4);return _(p.openHideConfirmationModal(n))}),r(),I(10,Zm,1,0,"iris-spinner",32),r(),o(11,"td",12)(12,"iris-icon-button",33),h("click",function(){let n=u(e).$implicit,p=m(4);return _(p.downloadSharedFile(n))}),r()()()}if(t&2){let e=s.$implicit,i=m(4);a(3),S(e.name),a(3),S(N(7,10,e.createdAt,"short")),a(3),l("icon",e.hidden?"visibility_off":"visibility")("ariaLabel",e.hidden?"Show file":"Hide file")("disabled",i.togglingFileUuid()===e.uuid)("type",i.irisIconButtonTypes.TERTIARY),a(),O(i.togglingFileUuid()===e.uuid?10:-1),a(2),l("ariaLabel",e.hidden?"Download unavailable":"Download document")("disabled",e.hidden||i.togglingFileUuid()===e.uuid)("type",i.irisIconButtonTypes.TERTIARY)}}function Xm(t,s){if(t&1){let e=y();o(0,"sondermind-pagination",34),h("pageChanged",function(n){u(e);let p=m(4);return _(p.onSharedFilesPageChange(n))}),r()}if(t&2){let e=m(4);l("totalItems",e.sharedFilesState().totalCount)("itemsPerPage",e.sharedFilesState().pageSize)("currentPage",e.sharedFilesState().currentPage)}}function ep(t,s){if(t&1&&(o(0,"div",6)(1,"table",8)(2,"thead")(3,"tr")(4,"th",9),c(5,"Document name"),r(),o(6,"th",10),c(7,"Date sent"),r(),o(8,"th",11),c(9,"Hidden"),r(),o(10,"th",12),c(11,"Download"),r()()(),o(12,"tbody"),gt(13,Jm,13,13,"tr",28,km),r()()(),I(15,Xm,1,3,"sondermind-pagination",29)),t&2){let e=m(3);a(13),ht(e.sharedFilesState().files),a(2),O(e.sharedFilesState().totalPages>1?15:-1)}}function tp(t,s){t&1&&(o(0,"section",7)(1,"p",23),c(2,"No files uploaded yet."),r()())}function ip(t,s){if(t&1&&(o(0,"iris-card")(1,"section",1)(2,"div",2)(3,"h2",25),c(4,"Shared via chat"),r(),o(5,"p",3),c(6,"These are the documents you've uploaded and shared with your client"),r()()(),I(7,Km,2,0,"div",26)(8,ep,16,1)(9,tp,3,0,"section",7),r()),t&2){let e=m(2);a(7),O(e.sharedFilesState().loading?7:e.sharedFilesState().files.length>0?8:e.sharedFilesState().totalCount===0?9:-1)}}function np(t,s){if(t&1&&(o(0,"iris-card")(1,"section",1)(2,"div",2)(3,"h2"),c(4,"From SonderMind"),r(),o(5,"div")(6,"p",3),c(7),r()()(),I(8,Rm,3,0,"div",4),r(),I(9,Wm,2,1),r(),I(10,ip,10,1,"iris-card")),t&2){let e,i=m();a(7),P(" ",i.sendDocsText()," "),a(),O(i.isSaasEnabled()?-1:8),a(),O((e=i.docs())?9:-1,e),a(),O(i.displayFileUploadHistory()?10:-1)}}function op(t,s){if(t&1&&(o(0,"section",35)(1,"div",2)(2,"h2"),c(3,"CLIENT DOCUMENTS"),r(),o(4,"div",36),g(5,"iris-icon",37),o(6,"p",38),c(7),r()()()()),t&2){let e=m(2);a(5),l("color",e.iconColors.WARNING)("size",e.iconSizes.SM)("usage",e.iconUsageTypes.DECORATIVE),a(2),P(" ",e.noAccountInfoText()," ")}}function ap(t,s){if(t&1&&I(0,op,8,4,"section",35),t&2){let e=m();O(e.loading()?-1:0)}}function rp(t,s){t&1&&(o(0,"div",26),g(1,"iris-spinner",27),r())}function sp(t,s){if(t&1&&(o(0,"section",40)(1,"p",23),c(2),r()()),t&2){let e=m(2);a(2),S(e.rfsCopy.listError)}}function lp(t,s){if(t&1&&(o(0,"iris-tooltip",44,0)(2,"span",49),c(3),r()()),t&2){let e=Z(1),i=m().$implicit,n=m(3);l("tooltipText",n.rfsCopy.submittedToVaTooltip)("duration",0),a(2),q("aria-describedby",e.tooltipId),a(),S(i.statusLabel)}}
22function cp(t,s){if(t&1&&(o(0,"span",45),c(1),r()),t&2){let e=m().$implicit;a(),S(e.statusLabel)}}function mp(t,s){if(t&1&&(o(0,"span"),c(1),x(2,"localizedDate"),r()),t&2){let e=m().$implicit;a(),S(N(2,1,e.submittedAt,"short"))}}function pp(t,s){t&1&&(o(0,"span",46),c(1,"\u2014"),r())}function dp(t,s){if(t&1){let e=y();o(0,"iris-button",50),h("click",function(){u(e);let n=m().$implicit,p=m(3);return _(p.onResumeRfs(n))}),c(1),r()}if(t&2){let e=m(4);l("buttonType",e.rfsResumeButtonType),a(),P(" ",e.rfsCopy.listActionResume," ")}}function fp(t,s){if(t&1){let e=y();o(0,"iris-button",51),h("click",function(){u(e);let n=m().$implicit,p=m(3);return _(p.onRetryRfs(n))}),c(1),r()}if(t&2){let e=m(4);l("buttonType",e.rfsResumeButtonType),a(),P(" ",e.rfsCopy.listActionRetry," ")}}function gp(t,s){t&1&&g(0,"iris-spinner",52),t&2&&l("removeTopMargin",!0)}function hp(t,s){if(t&1){let e=y();o(0,"iris-icon-button",54),h("click",function(){u(e);let n=m(2).$implicit,p=m(3);return _(p.onDownloadRfs(n))}),r()}if(t&2){let e=m(5);l("type",e.irisIconButtonTypes.TERTIARY)}}function up(t,s){if(t&1&&I(0,gp,1,1,"iris-spinner",52)(1,hp,1,1,"iris-icon-button",53),t&2){let e=m().$implicit,i=m(3);O(i.isDownloadingRfs(e)?0:1)}}function _p(t,s){if(t&1&&(o(0,"tr",41)(1,"td",9)(2,"span",42),c(3),r(),o(4,"span",43),c(5),r()(),o(6,"td",11),I(7,lp,4,4,"iris-tooltip",44)(8,cp,2,1,"span",45),r(),o(9,"td",10),I(10,mp,3,4,"span")(11,pp,2,0,"span",46),r(),o(12,"td",12),I(13,dp,2,2,"iris-button",47)(14,fp,2,2,"iris-button",48)(15,up,2,1),r()()),t&2){let e=s.$implicit,i=m(3);a(3),S(i.rfsCopy.listDocumentName),a(2),S(e.authSubline),a(2),O(e.hasStatusTooltip?7:8),a(3),O(e.submittedAt?10:11),a(3),O(e.canResume?13:e.canRetry?14:e.canDownload?15:-1)}}function Cp(t,s){if(t&1&&(o(0,"div",6)(1,"table",8)(2,"thead")(3,"tr")(4,"th",9),c(5),r(),o(6,"th",11),c(7),r(),o(8,"th",10),c(9),r(),g(10,"th",12),r()(),o(11,"tbody"),gt(12,_p,16,5,"tr",41,Dm),r()()()),t&2){let e=m(2);a(5),S(e.rfsCopy.listColDocument),a(2),S(e.rfsCopy.listColStatus),a(2),S(e.rfsCopy.listColDate),a(3),ht(e.rfsRows())}}function bp(t,s){if(t&1&&(o(0,"section",7)(1,"p",23),c(2),r()()),t&2){let e=m(2);a(2),S(e.rfsCopy.listEmpty)}}function vp(t,s){if(t&1&&(o(0,"iris-card")(1,"section",1)(2,"div",2)(3,"h2",39),c(4),r(),o(5,"p",3),c(6),r()()(),I(7,rp,2,0,"div",26)(8,sp,3,1,"section",40)(9,Cp,14,3,"div",6)(10,bp,3,1,"section",7),r()),t&2){let e=m();a(4),S(e.rfsCopy.listSectionHeader),a(2),S(e.rfsCopy.listSectionSubtext),a(),O(e.rfsLoading()?7:e.rfsLoadError()?8:e.rfsRows().length>0?9:10)}}var gn=(()=>{class t{constructor(e,i,n,p,M,E,W,K,de,Pe,Se,Ue,ct){this.appService=e,this.clientDetailPageService=i,this.patientDocumentsStore=n,this.docSendModalService=p,this.combinedClientHttpService=M,this.sharedFileStore=E,this.toastService=W,this.logger=K,this.irisModalService=de,this.fileUploadEventService=Pe,this.featureFlagService=Se,this.rfsHttp=Ue,this.router=ct,this.loading=ie(!0),this.destroyed$=new F,this.currentClientId=null,this.patient$=this.clientDetailPageService.patient.pipe(ot(()=>this.loading.set(!1)),fe({bufferSize:1,refCount:!0})),this.docs$=this.clientDetailPageService.getPatientId$().pipe(V(ee=>this.patientDocumentsStore.getPatientDocuments$(ee))),this.patient=vn(this.patient$),this.docs=vn(this.docs$),this.hasClientRecord=Ye(()=>{let ee=this.patient();return ee?ee.haveClientRecord&&!ee.accountPending:!1}),this.displayedColumns=["title","sentDate","status","download"],this.documentStatus=Ta,this.irisButtonTarget=Mo,this.irisIconButtonTypes=Be,this.rfsResumeButtonType=B.PRIMARY,this.iconColors=Mt,this.iconSizes=ge,this.iconUsageTypes=St,this.docDisclosureInfo=Wt.DOC_DISCLOSURES,this.isAutomatedConsentDocsEnabled=ie(!1),this.displayFileUploadHistory=ie(!1),this.isSaasEnabled=ie(!1),this.sendDocsText=Ye(()=>this.isSaasEnabled()?"Send documents to your client via SonderMind chat messages by clicking the Message button above and adding them as a file attachment.":this.isAutomatedConsentDocsEnabled()?"SonderMind automatically sends the initial documents, and you can send them manually here too.":"Send documents for your client to complete through their portal\u2014they'll be notified via email."),this.noAccountInfoText=Ye(()=>this.isAutomatedConsentDocsEnabled()?"Consent documents will be sent automatically once the client finishes creating their account.":"You'll be able to send documents once this client has finished creating their account."),this.sharedFilesState=this.sharedFileStore.state,this.togglingFileUuid=ie(null),this.vaRfsEnabled=ie(!1),this.personaClientId=Ye(()=>this.patient()?.personaClientId??null),this.rfsCopy=ja,this.rfsLoading=ie(!0),this.rfsLoadError=ie(!1),this.rfsSubmissions=ie([]),this.downloadingRfsId=ie(null),this.rfsRows=Ye(()=>this.rfsSubmissions().map(ee=>{let mt=this.isRfsExpired(ee);return xe(te({},ee),{statusLabel:mt?xn.expired:xn[ee.status],isExpired:mt,authSubline:this.rfsAuthSubline(ee),canResume:ee.status===rt.DRAFT&&!mt,canRetry:ee.status===rt.FAILED&&
22!mt,canDownload:this.isTerminalRfs(ee.status)&&ee.pdfAvailable,hasStatusTooltip:ee.status===rt.SUBMITTED_TO_VA})}))}ngOnInit(){this.isSaasEnabled.set(this.appService.isSaasProvider()),this.featureFlagService.isEnabled$("automated-consent-docs").pipe(v(this.destroyed$)).subscribe(e=>{this.isAutomatedConsentDocsEnabled.set(e)}),this.featureFlagService.evaluate$("display-file-upload-history",{displayInClientPortal:!1,displayInProviderPortal:!1}).pipe(v(this.destroyed$),ot(e=>{this.displayFileUploadHistory.set(e?.payload?.displayInProviderPortal??!1)}),$(e=>e?.payload?.displayInProviderPortal??!1),V(()=>this.clientDetailPageService.patient)).subscribe(e=>{this.currentClientId=e.personaClientId,this.sharedFileStore.invalidateCache(),this.sharedFileStore.goToPage(e.personaClientId,1)}),this.fileUploadEventService.fileUploaded$.pipe(v(this.destroyed$),En(this.clientDetailPageService.patient.pipe(T(e=>e?.personaClientId),$(e=>e!=null))),$(([e,i])=>e.personaClientId===i)).subscribe(([e])=>{this.currentClientId&&(this.sharedFileStore.invalidateCache(),this.sharedFileStore.goToPage(this.currentClientId,this.sharedFilesState().currentPage))}),this.featureFlagService.isEnabled$("va-rfs-enabled").pipe(v(this.destroyed$)).subscribe(e=>{this.vaRfsEnabled.set(e),e&&this.loadRfsSubmissions()}),this.loading.set(!1)}loadRfsSubmissions(){this.patient$.pipe($(e=>!!e),ae(1),V(({personaClientId:e})=>e==null?we([]):this.rfsHttp.listSubmissionsForClient(e.toString())),v(this.destroyed$)).subscribe({next:e=>{this.rfsSubmissions.set(e??[]),this.rfsLoading.set(!1)},error:e=>{this.logger.error("ClientDetailDocumentsPage: failed to load RFS submissions",{err:e}),this.rfsLoadError.set(!0),this.rfsLoading.set(!1)}})}isRfsExpired(e){return this.isTerminalRfs(e.status)?!1:e.status===rt.EXPIRED?!0:e.expiresAt?new Date(e.expiresAt).getTime()<Date.now():!1}isTerminalRfs(e){return e===rt.COMPLETED||e===rt.SUBMITTED_TO_VA}rfsAuthSubline(e){let i=e.authorizationNumber??e.referralAuthorizationId??"",n=Ua(e.expiresAt),p=n?`(Exp ${n})`:"";return`For auth #${i}${p}`}onResumeRfs(e){this.openRfsReviewPage(e)}onRetryRfs(e){this.openRfsReviewPage(e)}openRfsReviewPage(e){e.referralAuthorizationId!=null&&this.router.navigate(["/account","rfs",e.referralAuthorizationId,"review"])}isDownloadingRfs(e){return e.referralAuthorizationId!=null&&this.downloadingRfsId()===e.referralAuthorizationId}onDownloadRfs(e){e.referralAuthorizationId==null||this.isDownloadingRfs(e)||(this.downloadingRfsId.set(e.referralAuthorizationId),this.rfsHttp.downloadPdf(e.referralAuthorizationId.toString()).pipe(v(this.destroyed$)).subscribe({next:i=>{this.downloadingRfsId.set(null),i&&this.triggerBrowserDownload(i,`${this.rfsCopy.listDocumentName}.pdf`)},error:i=>{this.downloadingRfsId.set(null),this.toastService.showNotificationToast({type:me.ERROR,message:this.rfsCopy.pdfDownloadError,duration:5e3}),this.logger.error("Error downloading RFS PDF",{error:i,authId:e.referralAuthorizationId})}}))}reloadData(){this.loading.set(!0),this.patient$.pipe(V(e=>this.patientDocumentsStore.getPatientDocuments$(e.id)),ii(()=>this.loading.set(!1))).subscribe()}sendDocs(){this.patient$.pipe(V(e=>this.docSendModalService.openDocSendModal$(e,null,this.getClientReferralSource$(e.platformIdentity),!1))).subscribe(e=>{e&&this.reloadData()})}onSharedFilesPageChange(e){this.currentClientId&&this.sharedFileStore.goToPage(this.currentClientId,e)}downloadSharedFile(e){e.uuid&&this.sharedFileStore.downloadSharedFile$(e.uuid).pipe(v(this.destroyed$)).subscribe({next:i=>{i&&this.triggerBrowserDownload(i,this.decodeFileName(e.name))},error:i=>{this.toastService.showNotificationToast({type:me.ERROR,message:"Error downloading file",duration:5e3}),this.logger.error("Error downloading shared file",{error:i,fileUuid:e.uuid,fileName:e.name})}})}triggerBrowserDownload(e,i){let n=URL.createObjectURL(e),p=document.createElement("a");p.href=n,p.download=i||"download",p.style.display="none",document.body.appendChild(p),p.click(),document.body.removeChild(p),setTimeout(()=>URL.revokeObjectURL(n),1e3)}decodeFileName(e){try{return decodeURIComponent(e)}catch{return e}}openHideConfirmationModal(e){let n=`Are you sure you would like to ${e.hidden?"unhide":"hide"} this file?`,p=e.hidden?"This file will become visible and downloadable again.":"This file will be hidden and no longer available for download.",M=e.hidden?"Unhide":"Hide";this.irisModalService.open(se,{data:{titleText:n,bodyText:p,confirmBtnText:M,isOpened:!0},size:Xe.MD}).afterClosed$().pipe(v(this.destroyed$)).subscribe(W=>{W&&this.toggleFileVisibility(e)})}toggleFileVisibility(e){this.togglingFileUuid.set(e.uuid),this.sharedFileStore.updateFileVisibility$(e.uuid,!e.hidden).pipe(v(this.destroyed$)).subscribe({next:()=>{this.currentClientId&&this.sharedFileStore.goToPage(this.currentClientId,this.sharedFilesState().currentPage),this.togglingFileUuid.set(null)},error:i=>{this.toastService.showNotificationToast({type:me.ERROR,message:"Failed to update file visibility",duration:5e3}),this.logger.error("Error updating file visibility",{error:i,fileUuid:e.uuid}),this.togglingFileUuid.set(null)}})}ngOnDestroy(){this.destroyed$.next(),this.destroyed$.complete()}getClientReferralSource$(e){return this.combinedClientHttpService.getCombinedClientByPlatformIdentity(e).pipe(T(i=>i.referralSource))}static{this.\u0275fac=function(i){return new(i||t)(f(re),f(le),f(Da),f(Ya),f(_o),f(Ra),f(At),f(Re),f(et),f(ka),f(xt),f(Va),f(ce))}}static{this.\u0275cmp=w({type:t,selectors:[["client-detail-documents"]],decls:3,vars:2,consts:[["statusTooltip",""],["data-dd-privacy","allow",1,"docs-view-header"],[1,"docs-info-wrapper"],[1,"send-docs-text"],[1,"send-docs-wrapper"],["data-test","button-send-docs",1,"send-docs-button",3,"click"],[1,"docs-table-wrapper"],[1,"no-docs-section"],[1,"docs-table"],[1,"col-title"],[1,"col-sent-date"],[1,"col-status"],[1,"col-download"],["data-test","client-doc-row"],["data-test","client-doc-item",1,"col-title"],[1,"title-row"],["data-test","client-doc-row-status",1,"col-status"],["name","check",1,"check-icon"],["icon","download","ariaLabel","Download document","data-test","docs-item-download",3,"linkHref","target","type"],["icon","download","ariaLabel","Download unavailable","data-test","docs-item-download-disabled",3,"disabled","type"],["src","/assets/documents/docs-stack.svg","alt",""],[1,"iris-h2-responsive"],[1,"no-docs-instructions"],[1,"iris-body-responsive"],["target","_blank","data-test","doc-disclosures-info",3,"href"],["data-test","shared-via-chat-title"],[1,"shared-files-loading"],["size","md"],["data-test","shared-file-row"],["data-test","shared-files-paginator",3,"totalItems","itemsPerPage","currentPage"],["data-test","shared-file-name",1,"col-title"],["data-test","toggle-file-visibility",3,"click","icon","ariaLabel","disabled","type"],["size","sm"],["icon","download","data-test","shared-file-download",3,"click","ariaLabel","disabled","type"],["data-test","shared-files-paginator",3,"pageChanged","totalItems","itemsPerPage","currentPage"],[1,"docs-view-header"],[1,"no-account-info-container"],["name","info",3,"color","size","usage"],[1,"no-account-info-text"],["data-test","rfs-submissions-title"],["role","alert",1,"no-docs-section"],["data-test","rfs-submission-row"],[1,"title-row","rfs-doc-name"],[1,"rfs-doc-sub"],["data-test","rfs-status-tooltip",1,"rfs-status-tooltip",3,"tooltipText","duration"],["data-test","rfs-status"],[1,"rfs-dash"],["data-test","rfs-resume",1,"rfs-resume-button",3,"buttonType"],["data-test","rfs-retry",1,"rfs-resume-button",3,"buttonType"],["data-test","rfs-status","tabindex","0",1,"rfs-status-with-tooltip"],["data-test","rfs-resume",1,"rfs-resume-button",3,"click","buttonType"],["data-test","rfs-retry",1,"rfs-resume-button",3,"click","buttonType"],["size","sm","data-test","rfs-download-loading",3,"removeTopMargin"],["icon","download","ariaLabel","Download form","data-test","rfs-download",3,"type"],["icon","download","ariaLabel","Download form","data-test","rfs-download",3,"click","type"]],template:function(i,n){i&1&&(I(0,np,11,4)(1,ap,1,1),I(2,vp,11,3,"iris-card")),i&2&&(O(n.hasCl
22ientRecord()?0:1),a(2),O(n.vaRfsEnabled()?2:-1))},dependencies:[_e,Ne,j,Tt,ve,X,wt,Fe,Ht,Vt,Nr,Ze],styles:[`iris-card[_ngcontent-%COMP%]{margin-bottom:1rem}.docs-view-header[_ngcontent-%COMP%]{align-items:center;display:flex;flex-direction:column;padding-bottom:1rem}.docs-view-header[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:600;font-size:calc(1.125rem + .25rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal;margin-top:0;margin-bottom:.5rem}.docs-view-header[_ngcontent-%COMP%] p.send-docs-text[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:600;font-size:calc(.75rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.4;letter-spacing:.01em}.no-account-info-container[_ngcontent-%COMP%]{display:flex;padding:1.5rem;border-radius:1rem;border:1px solid #d8d8d8;background-color:#fff;margin-top:1.5rem}.no-account-info-container[_ngcontent-%COMP%] p.no-account-info-text[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:400;font-size:calc(1rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal}.no-docs-section[_ngcontent-%COMP%]{text-align:center;width:516px;margin:0 auto;padding:1.5rem;border-radius:1rem;border:1px solid #d8d8d8;background-color:#fff;margin-top:1.5rem}.no-docs-section[_ngcontent-%COMP%] h2.iris-h2-responsive[_ngcontent-%COMP%]{margin-top:1rem}.no-docs-section[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:90px;height:auto;margin:3.5rem 0px 1.5rem}.docs-table-wrapper[_ngcontent-%COMP%]{overflow:scroll}.docs-table[_ngcontent-%COMP%]{table-layout:fixed;width:100%}.docs-table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{border-bottom:1px solid #f2f2f2}.docs-table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:700;font-size:calc(1rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal;padding:0px .5rem .5rem 0px}.docs-table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] .col-download[_ngcontent-%COMP%]{padding:0px .5rem .5rem 0px}.docs-table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{border-bottom:1px solid #f2f2f2}.docs-table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:not(.col-download){font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:400;font-size:calc(1rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal;padding:.5rem .5rem .5rem 0px}.docs-table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] .col-download[_ngcontent-%COMP%]{padding:.5rem .5rem .5rem 0px}.docs-table[_ngcontent-%COMP%] .col-title[_ngcontent-%COMP%]{width:40%}.docs-table[_ngcontent-%COMP%] .col-sent-date[_ngcontent-%COMP%]{width:30%}@media(min-width:600px){.docs-table[_ngcontent-%COMP%] .col-sent-date[_ngcontent-%COMP%]{width:20%}}.docs-table[_ngcontent-%COMP%] .col-status[_ngcontent-%COMP%]{width:25%}.docs-table[_ngcontent-%COMP%] .col-download[_ngcontent-%COMP%]{width:15%;text-align:center}.docs-table[_ngcontent-%COMP%] .col-download[_ngcontent-%COMP%] th[_ngcontent-%COMP%], .docs-table[_ngcontent-%COMP%] .col-download[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding-right:.5rem}.docs-table[_ngcontent-%COMP%] .col-sent-date[_ngcontent-%COMP%]{white-space:nowrap}.docs-table[_ngcontent-%COMP%] .col-status[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:flex;align-items:center}.docs-table[_ngcontent-%COMP%] .check-icon[_ngcontent-%COMP%]{color:#048106;position:relative;margin-right:.25rem;bottom:2px}.docs-table[_ngcontent-%COMP%] .rfs-doc-name[_ngcontent-%COMP%]{display:block}.docs-table[_ngcontent-%COMP%] .rfs-doc-sub[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:inherit;font-weight:400;font-size:calc(.75rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.4;letter-spacing:.01em;display:block;color:#5e666b}.docs-table[_ngcontent-%COMP%] .rfs-dash[_ngcontent-%COMP%]{color:#5e666b}.docs-table[_ngcontent-%COMP%] .rfs-status-with-tooltip[_ngcontent-%COMP%]{cursor:help}.docs-table[_ngcontent-%COMP%] .rfs-status-tooltip[_ngcontent-%COMP%] .iris-tooltip{white-space:normal}.docs-table[_ngcontent-%COMP%] .rfs-resume-button[_ngcontent-%COMP%]{white-space:nowrap}@media(max-width:599px){.title-row[_ngcontent-%COMP%]{padding-right:.25rem}.send-docs-button[_ngcontent-%COMP%]{margin-top:.5rem}.no-docs-section[_ngcontent-%COMP%]{width:66%}}@media(min-width:600px)and (max-width:959px){.docs-view-header[_ngcontent-%COMP%]{align-items:flex-start}.send-docs-button[_ngcontent-%COMP%]{margin-top:.5rem}}@media(min-width:960px){.docs-view-header[_ngcontent-%COMP%]{flex-direction:row;justify-content:space-between}.docs-view-header[_ngcontent-%COMP%] .docs-info-wrapper[_ngcontent-%COMP%]{padding-right:1.5rem}.docs-view-header[_ngcontent-%COMP%] .send-docs-wrapper[_ngcontent-%COMP%]{flex-wrap:nowrap}} 23/*# sourceMappingURL=client-detail-documents.component-6PE5QBWB.css.map */`]})}}return t})();var yp="MM/dd/yy",Pp="\u2014",Br={[yt.Active]:{badgeClass:"status-active",label:"Active"},[yt.Expired]:{badgeClass:"status-expired",label:"Expired"},[yt.Canceled]:{badgeClass:"status-canceled",label:"Cancelled"}
23,[yt.NotStarted]:{badgeClass:"status-not-started",label:"Not started"}};function Fr(t){let s=bi.fromISO(t??"");return s.isValid?s.toFormat(yp):Pp}function xp(t,s){return`${Fr(t)} - ${Fr(s)}`}function Mp(t){let s=(t??"").replace(/_/g," ").trim();return s?s.charAt(0).toUpperCase()+s.slice(1):"Unknown"}function Sp(t){return Br[t]??{badgeClass:Br[yt.NotStarted].badgeClass,label:Mp(t)}}function $r(t){let s=Sp(t.status);return{authNumber:t.authNumber,careType:t.therapyType,dateRange:xp(t.startDate,t.expirationDate),statusLabel:s.label,badgeClass:s.badgeClass}}function wp(t,s){if(t&1&&(o(0,"tr",4)(1,"td"),c(2),r(),o(3,"td"),c(4),r(),o(5,"td"),c(6),r(),o(7,"td")(8,"span",5),c(9),r()()()),t&2){let e=s.$implicit;a(2),S(e.authNumber),a(2),S(e.careType),a(2),S(e.dateRange),a(2),Un(e.badgeClass),a(),P(" ",e.statusLabel," ")}}function Ip(t,s){if(t&1&&(o(0,"iris-card")(1,"div",0)(2,"h2",1),c(3,"VA Authorizations"),r()(),o(4,"table",2)(5,"thead")(6,"tr")(7,"th",3),c(8,"Authorization Number"),r(),o(9,"th",3),c(10,"Care Type"),r(),o(11,"th",3),c(12,"Start & End Date"),r(),o(13,"th",3),c(14,"Status"),r()()(),o(15,"tbody"),gt(16,wp,10,6,"tr",4,Bn),r()()()),t&2){let e=m();a(16),ht(e.rows())}}var hn=(()=>{class t{constructor(){this.authorizations=Jn([]),this.rows=Ye(()=>(this.authorizations()??[]).map($r))}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=w({type:t,selectors:[["member-va-authorizations-card"]],inputs:{authorizations:[1,"authorizations"]},decls:1,vars:1,consts:[["data-dd-privacy","allow",1,"card-header"],["id","va-auth-heading","data-test","va-authorizations",1,"card-heading"],["aria-labelledby","va-auth-heading",1,"va-auth-table"],["scope","col"],["data-test","va-auth-row"],["data-test","va-auth-status",1,"status-badge"]],template:function(i,n){i&1&&I(0,Ip,18,0,"iris-card"),i&2&&O(n.rows().length?0:-1)},dependencies:[Tt,ve],styles:[`[_nghost-%COMP%] .card-header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between}[_nghost-%COMP%] .card-header[_ngcontent-%COMP%] .card-heading[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:400;font-size:clamp(1.25rem,calc(1.25rem + .5 * ((100vw - 23.4375rem) / 96.5625)),1.75rem);line-height:1.2;letter-spacing:normal;margin-bottom:1rem;margin-top:0}[_nghost-%COMP%] .va-auth-table[_ngcontent-%COMP%]{width:100%;border-collapse:collapse}[_nghost-%COMP%] .va-auth-table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], [_nghost-%COMP%] .va-auth-table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:400;font-size:calc(1rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal;text-align:left;padding:1rem .5rem;vertical-align:middle}[_nghost-%COMP%] .va-auth-table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{color:#001219;font-weight:700}[_nghost-%COMP%] .va-auth-table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{border-bottom:1px solid #d8d8d8}[_nghost-%COMP%] .va-auth-table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:last-child{border-bottom:none}[_nghost-%COMP%] .status-badge[_ngcontent-%COMP%]{display:inline-flex;align-items:center;padding:.25rem .5rem;border-radius:1rem;font-size:.75rem;font-weight:700;line-height:1;white-space:nowrap}[_nghost-%COMP%] .status-badge.status-active[_ngcontent-%COMP%]{color:#00664b;background-color:#d8ece7}[_nghost-%COMP%] .status-badge.status-expired[_ngcontent-%COMP%], [_nghost-%COMP%] .status-badge.status-canceled[_ngcontent-%COMP%]{color:#982c0e;background-color:#f5e0dc}[_nghost-%COMP%] .status-badge.status-not-started[_ngcontent-%COMP%]{color:#2f3a40;background-color:#d8d8d8} 24/*# sourceMappingURL=va-authorizations-card.component-N5ZGIEDQ.css.map */`],changeDetection:0})}}return t})();var Vr=(()=>{class t{transform(e,i){if(!e||!i)return"";let n=i[e],p=n?.externalTitle;return(p&&p.trim()!==""?p:n?.name)||""}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275pipe=Nn({name:"providerNetworkName",type:t,pure:!0})}}return t})();var Ap=(t,s,e,i)=>({patientInfo:t,patientCreditCards:s,canUseProBonoNpc:e,isLoading:i});function Ep(t,s){if(t&1){let e=y();o(0,"iris-card")(1,"div",10)(2,"h2",35),c(3,"Complimentary therapy sessions"),r(),o(4,"iris-icon-button",36),h("click",function(){u(e);let n=m(2);return _(n.addProBono())}),r()(),o(5,"section",37)(6,"header",38),c(7,"Complimentary Sessions"),r(),o(8,"main",39),c(9),r()()()}if(t&2){let e=m(2);a(4),l("type",e.IrisIconButtonTypes.TERTIARY),a(5),H("",e.usedProBono," Used, ",e.remainingProBono," Remaining")}}function kp(t,s){t&1&&g(0,"br")}
24function Dp(t,s){t&1&&(o(0,"mat-header-cell",40),c(1,"Billing Contact"),r())}function Rp(t,s){if(t&1&&(o(0,"mat-cell",41),c(1),r()),t&2){let e=s.$implicit;a(),P(" ",e.billingContact," ")}}function zp(t,s){t&1&&(o(0,"mat-header-cell",40),c(1,"Card Type"),r())}function Lp(t,s){if(t&1&&(o(0,"mat-cell",42),c(1),r()),t&2){let e=s.$implicit;a(),P(" ",e.brand," ")}}function Np(t,s){t&1&&(o(0,"mat-header-cell",40),c(1,"Last 4 Digits"),r())}function Bp(t,s){if(t&1&&(o(0,"mat-cell",42),c(1),r()),t&2){let e=s.$implicit;a(),P(" ",e.last4," ")}}function Fp(t,s){t&1&&(o(0,"mat-header-cell",40),c(1,"Exp Date"),r())}function $p(t,s){if(t&1&&(o(0,"mat-cell",42),c(1),r()),t&2){let e=s.$implicit;a(),H(" ",e.expMonth,"/",e.expYear," ")}}function Vp(t,s){t&1&&(o(0,"mat-header-cell",40),c(1,"Last Charged"),r())}function Up(t,s){t&1&&(o(0,"mat-cell",42),c(1," \xA0 "),r())}function jp(t,s){t&1&&(o(0,"mat-header-cell",40),c(1,"Nickname"),r())}function Hp(t,s){if(t&1&&(o(0,"mat-cell",42),c(1),r()),t&2){let e=s.$implicit;a(),P(" ",e.nickname," ")}}function Gp(t,s){t&1&&(o(0,"mat-header-cell",40),c(1,"\xA0"),r())}function Yp(t,s){if(t&1&&(C(0),g(1,"iris-menu",44),b()),t&2){let e=s.ngIf,i=m(2).$implicit;a(),l("menuItemList",e.get(i.id))}}function qp(t,s){if(t&1&&(C(0),o(1,"button",45),g(2,"iris-icon",46),r(),b()),t&2){let e=m(4);a(2),l("size",e.iconSizes.SM)}}function Qp(t,s){if(t&1&&(C(0),d(1,Yp,2,1,"ng-container",9),x(2,"async"),d(3,qp,3,1,"ng-container",9),b()),t&2){let e=m().$implicit,i=m(2);a(),l("ngIf",k(2,2,e.active==!1&&i.creditCardMenuItemsMap$)),a(2),l("ngIf",e.active==!0)}}function Wp(t,s){t&1&&(C(0),g(1,"mat-spinner",47),b()),t&2&&(a(),l("diameter",30))}function Kp(t,s){if(t&1&&(o(0,"mat-cell",43),d(1,Qp,4,4,"ng-container",9)(2,Wp,2,1,"ng-container",9),r()),t&2){let e=s.$implicit,i=m(2);a(),l("ngIf",i.clientCreditCardService.processingFor!=e.id),a(),l("ngIf",i.clientCreditCardService.processingFor==e.id)}}function Zp(t,s){t&1&&g(0,"mat-header-row")}function Jp(t,s){t&1&&g(0,"mat-row",48)}function Xp(t,s){t&1&&(o(0,"mat-header-cell",40),c(1,"Card Type"),r())}function e0(t,s){if(t&1&&(o(0,"mat-cell",42),c(1),r()),t&2){let e=s.$implicit;a(),P(" ",e.brand," ")}}function t0(t,s){t&1&&(o(0,"mat-header-cell",40),c(1,"Last 4 Digits"),r())}function i0(t,s){if(t&1&&(o(0,"mat-cell",42),c(1),r()),t&2){let e=s.$implicit;a(),P(" ",e.last4," ")}}function n0(t,s){t&1&&(o(0,"mat-header-cell",40),c(1,"Exp Date"),r())}function o0(t,s){if(t&1&&(o(0,"mat-cell",42),c(1),r()),t&2){let e=s.$implicit;a(),H(" ",e.expMonth,"/",e.expYear," ")}}function a0(t,s){t&1&&(o(0,"mat-header-cell",40),c(1,"Nickname"),r())}function r0(t,s){if(t&1&&(o(0,"mat-cell",42),c(1),r()),t&2){let e=s.$implicit;a(),P(" ",e.nickname," ")}}function s0(t,s){t&1&&(o(0,"mat-header-cell",40),c(1,"\xA0"),r())}function l0(t,s){if(t&1&&(o(0,"mat-cell",49),g(1,"iris-menu",44),x(2,"async"),r()),t&2){let e,i=s.$implicit,n=m(2);a(),l("menuItemList",(e=k(2,1,n.creditCardMenuItemsMapForMobile$))==null?null:e.get(i.id))}}function c0(t,s){t&1&&g(0,"mat-header-row")}function m0(t,s){t&1&&g(0,"mat-row")}function p0(t,s){if(t&1&&(o(0,"div",50),g(1,"iris-icon",51),c(2,"No records found ! "),r()),t&2){let e=m(2);a(),l("size",e.iconSizes.SM)}}function d0(t,s){if(t&1){let e=y();o(0,"iris-icon-button",62),h("click",function(){u(e);let n=m(3);return _(n.addInsurance())}),r()}if(t&2){let e=m(3);l("type",e.IrisIconButtonTypes.TERTIARY)}}function f0(t,s){t&1&&(o(0,"p"),c(1,"Invite your patient to Client Portal to see their insurance information."),r())}function g0(t,s){t&1&&(o(0,"mat-header-cell",40),c(1,"Insurance"),r())}function h0(t,s){t&1&&(o(0,"mat-basic-chip",64),c(1,"Inactive"),r())}function u0(t,s){if(t&1&&(o(0,"mat-cell",42),c(1),x(2,"async"),x(3,"providerNetworkName"),d(4,h0,2,0,"mat-basic-chip",63),r()),t&2){let e=s.$implicit,i=m(3);a(),P(" ",N(3,4,e.providerNetworkCompany.id,k(2,2,i.pncLookup$))," "),a(3),l("ngIf",e.deleted)}}function _0(t,s){t&1&&(o(0,"mat-header-cell",40),c(1,"Policy Holder"),r())}function C0(t,s){if(t&1&&(o(0,"mat-cell",42),c(1),r()),t&2){let e=s.$implicit;a(),H(" ",e.insuranceInformation.firstName," ",e.insuranceInformation.lastName," ")}}function b0(t,s){t&1&&(o(0,"mat-header-cell",40),c(1,"Group Number"),r())}
24function v0(t,s){if(t&1&&(o(0,"mat-cell",42),c(1),r()),t&2){let e=s.$implicit;a(),P(" ",e.insuranceInformation.groupNumber," ")}}function y0(t,s){t&1&&(o(0,"mat-header-cell",40),c(1,"Member Number"),r())}function P0(t,s){if(t&1&&(o(0,"mat-cell",42),c(1),r()),t&2){let e=s.$implicit;a(),P(" ",e.insuranceInformation.policyNumber," ")}}function x0(t,s){t&1&&(o(0,"mat-header-cell",40),c(1,"Complimentary Sessions"),r())}function M0(t,s){if(t&1&&(C(0),c(1),b()),t&2){let e=m().$implicit;a(),H(" ",e.usedRedemptions," Used, ",e.remainingRedemptions," Remaining ")}}function S0(t,s){if(t&1&&(o(0,"mat-cell",42),d(1,M0,2,2,"ng-container",9),r()),t&2){let e=s.$implicit;a(),l("ngIf",e.providerNetworkCompany.redemption)}}function w0(t,s){t&1&&(o(0,"mat-header-cell",40),c(1,"\xA0"),r())}function I0(t,s){if(t&1&&(C(0),g(1,"iris-menu",65),x(2,"async"),b()),t&2){let e,i=m().$implicit,n=m(3);a(),l("menuItemList",(e=k(2,1,n.insuranceMenuItemsMap$))==null?null:e.get(i.id))}}function O0(t,s){if(t&1&&(o(0,"mat-cell",49),d(1,I0,3,3,"ng-container",9),r()),t&2){let e=s.$implicit;a(),l("ngIf",!e.isUsageBased)}}function T0(t,s){t&1&&g(0,"mat-header-row")}function A0(t,s){t&1&&g(0,"mat-row",66)}function E0(t,s){t&1&&(o(0,"mat-header-cell",40),c(1,"Insurance"),r())}function k0(t,s){t&1&&(o(0,"mat-basic-chip",69),c(1,"Inactive"),r())}function D0(t,s){if(t&1&&(o(0,"mat-cell",42)(1,"div",67)(2,"div"),c(3),x(4,"async"),x(5,"providerNetworkName"),r(),o(6,"div"),d(7,k0,2,0,"mat-basic-chip",68),r()()()),t&2){let e=s.$implicit,i=m(3);a(3),S(N(5,4,e.providerNetworkCompany.id,k(4,2,i.pncLookup$))),a(4),l("ngIf",e.deleted)}}function R0(t,s){t&1&&(o(0,"mat-header-cell",40),c(1,"Policy Holder"),r())}function z0(t,s){if(t&1&&(o(0,"mat-cell",42),c(1),r()),t&2){let e=s.$implicit;a(),H(" ",e.insuranceInformation.firstName," ",e.insuranceInformation.lastName," ")}}function L0(t,s){t&1&&(o(0,"mat-header-cell",40),c(1,"Member Number"),r())}function N0(t,s){if(t&1&&(o(0,"mat-cell",42),c(1),r()),t&2){let e=s.$implicit;a(),P(" ",e.insuranceInformation.policyNumber," ")}}function B0(t,s){t&1&&(o(0,"mat-header-cell",40),c(1,"Complimentary Sessions"),r())}function F0(t,s){if(t&1&&(C(0),c(1),b()),t&2){let e=m().$implicit;a(),H(" ",e.usedRedemptions," Used, ",e.remainingRedemptions," Remaining ")}}function $0(t,s){if(t&1&&(o(0,"mat-cell",42),d(1,F0,2,2,"ng-container",9),r()),t&2){let e=s.$implicit;a(),l("ngIf",e.providerNetworkCompany.redemption)}}function V0(t,s){t&1&&(o(0,"mat-header-cell",40),c(1,"\xA0"),r())}function U0(t,s){if(t&1&&(C(0),g(1,"iris-menu",44),x(2,"async"),b()),t&2){let e,i=m().$implicit,n=m(3);a(),l("menuItemList",(e=k(2,1,n.insuranceMenuItemsMap$))==null?null:e.get(i.id))}}function j0(t,s){if(t&1&&(o(0,"mat-cell",49),d(1,U0,3,3,"ng-container",9),r()),t&2){let e=s.$implicit;a(),l("ngIf",!e.isUsageBased)}}function H0(t,s){t&1&&g(0,"mat-header-row")}function G0(t,s){t&1&&g(0,"mat-row")}function Y0(t,s){if(t&1&&(o(0,"div",50),g(1,"iris-icon",70),c(2,"No records found ! "),r()),t&2){let e=m(3);a(),l("size",e.iconSizes.SM)}}function q0(t,s){if(t&1&&(o(0,"iris-card")(1,"div",52)(2,"h2",53),c(3,"Insurance providers"),r(),d(4,d0,1,1,"iris-icon-button",54)(5,f0,2,0,"p",9),r(),o(6,"div",13)(7,"div",14)(8,"mat-table",55,1),C(10,56),d(11,g0,2,0,"mat-header-cell",17)(12,u0,5,7,"mat-cell",20),b(),C(13,57),d(14,_0,2,0,"mat-header-cell",17)(15,C0,2,2,"mat-cell",20),b(),C(16,58),d(17,b0,2,0,"mat-header-cell",17)(18,v0,2,1,"mat-cell",20),b(),C(19,59),d(20,y0,2,0,"mat-header-cell",17)(21,P0,2,1,"mat-cell",20),b(),C(22,60),d(23,x0,2,0,"mat-header-cell",17)(24,S0,2,1,"mat-cell",20),b(),C(25,25),d(26,w0,2,0,"mat-header-cell",17)(27,O0,2,1,"mat-cell",31),b(),d(28,T0,1,0,"mat-header-row",27)(29,A0,1,0,"mat-row",61),r()(),o(30,"div",29)(31,"mat-table",30,1),C(33,56),d(34,E0,2,0,"mat-header-cell",17)(35,D0,8,7,"mat-cell",20),b(),C(36,57),d(37,R0,2,0,"mat-header-cell",17)(38,z0,2,2,"mat-cell",20),b(),C(39,59),d(40,L0,2,0,"mat-header-cell",17)(41,N0,2,1,"mat-cell",20),b(),C(42,60),d(43,B0,2,0,"mat-header-cell",17)(44,$0,2,1,"mat-cell",20),b(),C(45,25),d(46,V0,2,0,"mat-header-cell",17)(47,j0,2,1,"mat-cell",31),b(),d(48,H0,1,0,"mat-header-row",27)(49,G0,1,0,"mat-row",32),r()()(),d(50,Y0,3,1,"div",33),r()),t&2){m();let e=Z(1),i=m();a(4),l("ngIf",!e.isLoading&&(i.patient==null?null:i.patient.personaClientId)),a(),l("ngIf",!e.isLoading&&!(i.patient!=null&&i.patient.personaClientId)),a(),l("hidden",!(i.patientInsurances!=null&&i.patientInsurances.length)),a(2),l("dataSource",i.patientInsurances),a(20),l("matHeaderRowDef",i.insuranceColumns),a(),l("matRowDefColumns",i.insuranceColumns),a(2),l("dataSource",i.patientInsurances),a(17),l("matHeaderRowDef",i.insuranceMobileColumns),a(),l("matRowDefColumns",i.insuranceMobileColumns),a(),l("ngIf",!e.isLoading&&!(i.patientInsurances!=null&&i.patientInsurances.length))}}function Q0(t,s){if(t&1){let e=y();C(0,4,0),x(2,"async"),x(3,"async"),x(4,"async"),x(5,"async"),o(6,"section",5)(7,"div",6)(8,"p",7),g(9,"iris-icon",8),c(10," Clients will see changes you make to their payment information. "),r()()(),d(11,Ep,10,3,"iris-card",9)(12,kp,1,0,"br",9),o(13,"iris-card")(14,"div",10)(15,"h2",11),c(16,"Credit cards"),r(),o(17,"iris-icon-button",12),h("click",function(){u(e);let n=m();return _(n.addCard())}),r()(),o(18,"div",13)(19,"div",14)(20,"mat-table",15,1),C(22,16),d(23,Dp,2,0,"mat-header-cell",17)(24,Rp,2,1,"mat-cell",18),b(),C(25,19),d(26,zp,2,0,"mat-header-cell",17)(27,Lp,2,1,"mat-cell",20),b(),C(28,21),d(29,Np,2,0,"mat-header-cell",17)(30,Bp,2,1,"mat-cell",20),b(),C(31,22),d(32,Fp,2,0,"mat-header-cell",17)(33,$p,2,2,"mat-cell",20),b(),C(34,23),d(35,Vp,2,0,"mat-header-cell",17)(36,Up,2,0,"mat-cell",20),b(),C(37,24),d(38,jp,2,0,"mat-header-cell",17)(39,Hp,2,1,"mat-cell",20),b(),C(40,25),d(41,Gp,2,0,"mat-header-cell",17)(42,Kp,3,2,"mat-cell",26),b(),d(43,Zp,1,0,"mat-header-row",27)(44,Jp,1,0,"mat-row",28),r()(),o(45,"div",29)(46,"mat-table",30,1),C(48,19),d(49,Xp,2,0,"mat-header-cell",17)(50,e0,2,1,"mat-cell",20),b(),C(51,21),d(52,t0,2,0,"mat-header-cell",17)(53,i0,2,1,"mat-cell",20),b(),C(54,22),d(55,n0,2,0,"mat-header-cell",17)(56,o0,2,2,"mat-cell",20),b(),C(57,24),d(58,a0,2,0,"mat-header-cell",17)(59,r0,2,1,"mat-cell",20),b(),C(60,25),d(61,s0,2,0,"mat-header-cell",17)(62,l0,3,3,"mat-cell",31),b(),d(63,c0,1,0,"mat-header-row",27)(64,m0,1,0,"mat-row",32),r()()(),d(65,p0,3,1,"div",33),r(),g(66,"br"),I(67,q0,51,10,"iris-card"),g(68,"br")(69,"member-va-authorizations-card",34),b()}if(t&2){let e=Z(1),i=m();l("templateStore",Kn(22,Ap,k(2,14,i.patient$),k(3,16,i.patientCreditCards$),k(4,18,i.canUseProBonoNpc$),k(5,20,i.isLoading$))),a(11),l("ngIf",(e.patientInfo==null?null:e.patientInfo.haveClientRecord)&&e.canUseProBonoNpc),a(),l("ngIf",(e.patientInfo==null?null:e.patientInfo.haveClientRecord)&&e.canUseProBonoNpc),a(5),l("type",i.IrisIconButtonTypes.TERTIARY),a(),l("hidden",!(e.patientCreditCards!=null&&e.patientCreditCards.length)),a(2),l("dataSource",e.patientCreditCards),a(23),l("matHeaderRowDef",i.creditCardColumns),a(),l("matRowDefColumns",i.creditCardColumns),a(2),l("dataSource",e.patientCreditCards),a(17),l("matHeaderRowDef",i.creditCardMobileColumns),a(),l("matRowDefColumns",i.creditCardMobileColumns),a(),l("ngIf",!e.isLoading&&!(e.patientCreditCards!=null&&e.patientCreditCards.length)),a(2),O(i.isSaasEnabled()?-1:67),a(2),l("authorizations",e.patientInfo==null?null:e.patientInfo.referralAuthorizations)}}var Ur="Patient insurance information saved successfully!",jr=(()=>{class t{constructor(e,i,n,p,M,E,W,K,de){this.appService=e,this.clientCreditCardService=i,this.clientInsuranceHttp=n,this.clientDetailPageService=p,this.pncStore=M,this.snackBar=E,this.irisModalService=W,this.logger=K,this.toastService=de,this.isLoading$=new oe(!0),this.patientInsurances=[],this.usedProBono=0,this.maxProBono=0,this.remainingProBono=0,this.defaulting=!1,this.creditCardColumns=["billing_contact","brand","last4","exp_date","last_charged","nickname","action"],this.creditCardMobileColumns=["brand","last4","exp_date","nickname","action"],this.insuranceColumns=["provider_network","policy_holder","group_number","member_number","complimentary_sessions","action"],this.insuranceMobileColumns=["provider_network","policy_holder","member_number","complimentary_sessions","action"],this.canUseProBonoNpc$=this.pncStore.getAll$().pipe(T(Pe=>Pe.some(Se=>Se.isProBono))),this.isSaasEnabled=ie(!1),this.IrisIconButtonTypes=Be,this.iconSizes=ge,this.destroyedSubj=new F,this.destroyed$=this.destroyedSubj.asObservable()}ngOnInit(){this.isSaasEnabled.set(this.appService.isSaasProvider()),this.patient$=this.clientDetailPageService.patient.pipe($(e=>!!e),T(e=>(this.patient=e,this.loadCreditCards(),this.patient.personaClientId&&this.loadInsurances(),e))),this.pncLookup$=this.pncStore.getLookup$()}ngOnDestroy(){this.destroyedSubj.next(),this.destroyedSubj.complete()}addProBono(){this.irisModalService.open(Or,{data:{patientId:this.patient.id,currentCount:this.maxProBono},size:Xe.MD,title:"Benefits verification outage information"}).afterClosed$().pipe(ae(1),v(this.destroyed$)).subscribe(i=>{i&&this.loadInsurances()})}addCard(){this.irisModalService.open(er,{size:Xe.LG,title:"Add credit card",data:{patient:this.patient},customStyles:{backgroundColor:ha}}).afterClosed$().pipe(ae(1)).subscribe(i=>{i&&(this.snackBar.open("Credit card added successfully!","Dismiss"),this.loadCreditCards())})}archiveCard(e){this.confirmModal.openThen("Confirm Delete","Do you want to permanently delete this credit card?","Yes, Delete","warn").pipe($(n=>!!n),V(()=>this.clientCreditCardService.delete(e.id)),v(this.destroyed$)).subscribe({next:()=>{this.snackBar.open("Credit card deleted successfully!","Dismiss"),this.loadCreditCards()},error:n=>{let p=n.system_errors??n.fields?.system_errors;this.snackBar.open(p?.[0],"Dismiss")}})}setAsActive(e){this.defaulting=!0,this.clientCreditCardService.processingFor=e.id,this.clientCreditCardService.setActive(e.id).pipe(v(this.destroyed$)).subscribe({next:()=>{this.loadCreditCards();let{last4:i}=e;this.snackBar.open(`Set as Default: xxxxxxxxxx${i}`,"Dismiss",{duration:4e3}),this.defaulting=!1,this.clientCreditCardService.processingFor=null},error:i=>{let n=i.system_errors??i.fields?.system_errors;this.snackBar.open(`Error: ${n?.[0]}`,"Dismiss",{duration:5e3}),this.defaulting=!1,this.clientCreditCardService.processingFor=null}})}addInsurance(){this.insModal.openForCreate().subscribe(e=>{e&&(this.toastService.showNotificationToast({type:me.SUCCESS,message:Ur}),this.loadInsurances())})}editInsurance(e){this.clientInsuranceHttp.fetch$(e.id,{view:"with_insurance_information"}).pipe(v(this.destroyed$)).subscribe({next:i=>{if(!i?.insuranceInformation){this.toastService.showNotificationToast({type:me.ERROR,message:"Unable to load insurance details"}),this.logger.error("Insurance fetch returned incomplete data",{insuranceId:e.id,hasInsuranceInformation:!!i?.insuranceInformation});return}this.insModal.openForViewEdit(i).subscribe(n=>{n&&(this.toastService.showNotificationToast({type:me.SUCCESS,message:Ur}),this.loadInsurances())})},error:i=>{this.toastService.showNotificationToast({type:me.ERROR,message:"Failed to load insurance details"}),this.logger.error("Failed to fetch insurance for edit",{err:i,insuranceId:e.id})}})}get canSubmitSuperBills(){return this.appService.currentUser.canSubmitSuperbill}loadCreditCards(){this.isLoading$.next(!0);let e={};this.patient.personaClientId?e={filter:[{key:"persona_client_id",value:this.patient.personaClientId.toString()}]}:e={filter:[{key:"patient_id",value:this.patient.id.toString()}]},this.patientCreditCards$=this.clientCreditCardService.list(e).pi
24pe(T(i=>(this.isLoading$.next(!1),i))),this.createCreditCardItemMenu()}loadInsurances(){this.isLoading$.next(!0),this.clientInsuranceHttp.list$({filter:{key:"persona_client_id",value:this.patient.personaClientId.toString()},view:"with_provider_network_detail"}).pipe(ii(()=>this.isLoading$.next(!1)),v(this.destroyed$)).subscribe({next:e=>{this.patientInsurances=e.filter(n=>!n.providerNetworkCompany.isProBono);let i=e.filter(n=>n.providerNetworkCompany.isProBono);this.maxProBono=i.reduce((n,p)=>n+p.maxRedemptions,0),this.usedProBono=i.reduce((n,p)=>n+p.usedRedemptions,0),this.remainingProBono=i.reduce((n,p)=>n+p.remainingRedemptions,0),this.createMenuitemForInsurance()},error:()=>{this.patientInsurances=[]}})}createCreditCardItemMenu(){this.patientCreditCards$.pipe(fe(1)).subscribe(e=>{let i=new Map(e.map(p=>[p.id,[{label:"Set Default",action:()=>this.setAsActive(p),dataTest:"favorite",icon:"care"},{label:"Delete",action:()=>this.archiveCard(p),dataTest:"delete",icon:"cancel"}]])),n=new Map(e.map(p=>[p.id,[{label:"Delete",action:()=>this.archiveCard(p),dataTest:"delete",icon:"cancel"}]]));this.creditCardMenuItemsMap$=we(i),this.creditCardMenuItemsMapForMobile$=we(n)})}createMenuitemForInsurance(){let e=new Map;this.patientInsurances.forEach(i=>{e.set(i.id,[{label:i.canEdit?"Edit":"View",action:()=>this.editInsurance(i),dataTest:"edit",icon:i.canEdit?"edit":"access_time"}])}),this.insuranceMenuItemsMap$=we(e)}static{this.\u0275fac=function(i){return new(i||t)(f(re),f(Xa),f(Ui),f(le),f(on),f(De),f(et),f(Re),f(At))}}static{this.\u0275cmp=w({type:t,selectors:[["member-client-detail-payment-info"]],viewQuery:function(i,n){if(i&1&&(R(an,5),R(se,5)),i&2){let p;z(p=L())&&(n.insModal=p.first),z(p=L())&&(n.confirmModal=p.first)}},standalone:!1,decls:4,vars:4,consts:[["clientStore","templateStore"],["table",""],[3,"templateStore",4,"ngIf"],[3,"patient"],[3,"templateStore"],["data-dd-privacy","allow",1,"header"],[1,"header-left"],[1,"helper-text"],["name","info_outline"],[4,"ngIf"],["data-dd-privacy","allow",1,"card-header"],["data-test","credit-cards",1,"card-heading"],["ariaLabel","Add credit card","icon","plus","data-test","add-credit-card-button",3,"click","type"],[3,"hidden"],[1,"hide-mobile"],["data-test","credit-cards-table",3,"dataSource"],["matColumnDef","billing_contact"],["class","pad2","disableClear","true",4,"matHeaderCellDef"],["class","pad2","data-dd-action-name","contact name","data-dd-privacy","mask",4,"matCellDef"],["matColumnDef","brand"],["class","pad2",4,"matCellDef"],["matColumnDef","last4"],["matColumnDef","exp_date"],["matColumnDef","last_charged"],["matColumnDef","nickname"],["matColumnDef","action"],["class","pad2 text-right action-wrapper",4,"matCellDef"],[4,"matHeaderRowDef"],["data-test","credit-card",4,"matRowDef","matRowDefColumns"],[1,"show-mobile"],[3,"dataSource"],["class","pad2 text-right block action-wrapper",4,"matCellDef"],[4,"matRowDef","matRowDefColumns"],["class","empty-state",4,"ngIf"],[3,"authorizations"],["data-test","pro-bonos",1,"card-heading"],["ariaLabel","Gift complimentary sessions","icon","plus",3,"click","type"],[1,"pro-bono-container"],["data-dd-privacy","allow"],[1,"credits"],["disableClear","true",1,"pad2"],["data-dd-action-name","contact name","data-dd-privacy","mask",1,"pad2"],[1,"pad2"],[1,"pad2","text-right","action-wrapper"],["data-test","menu",3,"menuItemList"],["mat-icon-button",""],["name","favorite","colorToken","$color-dec-indigo-60",3,"size"],["mat-icon-button","",3,"diameter"],["data-test","credit-card"],[1,"pad2","text-right","block","action-wrapper"],[1,"empty-state"],["name","info",3,"size"],[1,"card-header"],["data-test","insurance-providers",1,"card-heading"],["ariaLabel","Add insurance provider","icon","plus","data-test","add-insurance-button",3,"type","click",4,"ngIf"],["data-test","insurances-table",3,"dataSource"],["matColumnDef","provider_network"],["matColumnDef","policy_holder"],["matColumnDef","group_number"],["matColumnDef","member_number"],["matColumnDef","complimentary_sessions"],["data-test","insurance",4,"matRowDef","matRowDefColumns"],["ariaLabel","Add insurance provider","icon","plus","data-test","add-insurance-button",3,"click","type"],["class","mat-basic-chip-label mat-red-back marginLeft5","selectable","false",4,"ngIf"],["selectable","false",1,"mat-basic-chip-label","mat-red-back","marginLeft5"],["data-test","edit",3,"menuItemList"],["data-test","insurance"],[1,"insurance-column"],["class","mat-basic-chip-label mat-red-back","selectable","false",4,"ngIf"],["selectable","false",1,"mat-basic-chip-label","mat-red-back"],["name","info","colorToken","$color-dec-indigo-60",3,"size"]],template:function(i,n){i&1&&(d(0,Q0,70,27,"ng-container",2),x(1,"async"),g(2,"client-patient-insurance-modal",3)(3,"sondermind-confirmation-modal")),i&2&&(l("ngIf",n.canSubmitSuperBills&&k(1,2,n.patient$)),a(2),l("patient",n.patient))},dependencies:[U,lo,ut,ve,X,Fe,Ni,Ca,Et,Dt,Nt,Rt,kt,Bt,zt,Lt,Ft,$t,se,Wo,an,hn,Oe,Vr],styles:[`.card-header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between}.card-header[_ngcontent-%COMP%] .card-heading[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:400;font-size:clamp(1.25rem,calc(1.25rem + .5 * ((100vw - 23.4375rem) / 96.5625)),1.75rem);line-height:1.2;letter-spacing:normal;margin-bottom:1rem;margin-top:0}.pro-bono-container[_ngcontent-%COMP%] header[_ngcontent-%COMP%]{margin-bottom:1rem;margin-top:0;color:#5e666b;padding-bottom:.5rem;font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:400;font-size:clamp(1.25rem,calc(1.25rem + .5 * ((100vw - 23.4375rem) / 96.5625)),1.75rem);line-height:1.2;letter-spacing:normal;margin-bottom:0}.pro-bono-container[_ngcontent-%COMP%] .credits[_ngcontent-%COMP%]{font-size:.875rem}.block[_ngcontent-%COMP%]{display:block;width:100%}.mat-basic-chip-label[_ngcontent-%COMP%]{display:inline-flex;color:#fff;padding:3px 6px;border-radius:10px;line-height:1;text-align:center;white-space:nowrap;vertical-align:baseline;font-size:75%!important;font-weight:700!important}.mat-red-back[_ngcontent-%COMP%]{background-color:#da4848!important}.marginLeft5[_ngcontent-%COMP%]{margin-left:5px!important}p[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:400;font-size:calc(1rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal}.action-wrapper[_ngcontent-%COMP%]{overflow:visible;display:flex;align-items:center;justify-content:flex-end}.hide-mobile[_ngcontent-%COMP%]{display:none}@media(min-width:600px){.hide-mobile[_ngcontent-%COMP%]{display:block}}.show-mobile[_ngcontent-%COMP%]{display:block}@media(min-width:600px){.show-mobile[_ngcontent-%COMP%]{display:none}}.empty-state[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:center;align-items:center;gap:.5rem}.insurance-column[_ngcontent-%COMP%]{display:flex;flex-direction:column} 25/*# sourceMappingURL=client-detail-payment-info.component-ZNUV6P25.css.map */`]})}}return t})();var Hr=(()=>{class t{constructor(e,i){this.el=e,this.renderer=i}ngAfterViewInit(){setTimeout(()=>{this.activateFirstTab()})}activateFirstTab(){try{let e=this.el.nativeElement.querySelector(".tab-container");if(!e)return;let i=e.querySelector("a.tab-item");if(!i)return;this.renderer.addClass(i,"active")}catch(e){console.error("Error activating first tab:",e)}}static{this.\u0275fac=function(i){return new(i||t)(f(kn),f(zn))}}static{this.\u0275dir=Ln({type:t,selectors:[["","activeFirstTab",""]],standalone:!1})}}return t})();var K0=["tabs"],Z0=t=>({"hide-checkbox":t}),Gr=()=>["/scheduling/general_availability"];function J0(t,s){if(t&1&&g(0,"inline-notification",11),t&2){let e=m(2);l("title",e.matchLimitTitle)("body",e.matchLimitBody)("priority","info")}}function X0(t,s){if(t&1){let e=y();o(0,"iris-tab-content",12),h("selectedTab",function(n){u(e);let p=m(2);return _(p.reload(n))}),o(1,"div",13)(2,"iris-checkbox",14),c(3," Show accepted matches older than 30 days "),r()(),g(4,"member-match-clients-table",15),r()}if(t&2){let e=s.$implicit,i=m(2);l("label",Qn("",e.title,"",e.clientsCount)),a(),l("ngClass",A(10,Z0,i.matchClientStore.status!==i.clientStatus.ACCEPTED)),a(),l("formControl",i.showOlderFormControl),a(2),l("status",e.status)("showOlder",i.showOlderFormControl.value)("timezone",i.timezone)("reload",i.matchClientStore.status)("showAvailabilityErrorState",i.showAvailabilityErrorState)}}function ed(t,s){if(t&1){let e=y();C(0),d(1,J0,1,3,"inline-notification",5),o(2,"div",6)(3,"div",7),g(4,"client-search-bar",8),r()(),o(5,"iris-tab",9,0),h("tabGroupSelected",function(n){u(e);let p=m();return _(p.reload(n))}),d(7,X0,5,12,"iris-tab-content",10),r(),b()}if(t&2){let e=m();a(),l("ngIf",e.matchLimitReached),a(3),l("filters",e.filterOptions.filter),a(),l("hasTabGroup",!0),a(2),l("ngForOf",e.tabsList)}}function td(t,s){if(t&1&&(o(0,"section"),g(1,"img",20),o(2,"h2"),c(3,"No new matches yet"),r(),o(4,"p"),c(5,"We'll let you know
25when you match with someone."),r(),o(6,"p"),c(7,"Not interested in receiving matches? Update your availability."),g(8,"br")(9,"br"),o(10,"iris-button",21),c(11," Update availability "),r()()()),t&2){let e=m(3);a(10),l("buttonType",e.IrisButtonTypes.PRIMARY)("routerLink",Y(2,Gr))}}function id(t,s){if(t&1&&(o(0,"section",22),g(1,"img",23),o(2,"h3"),c(3,"Update your availability to get "),g(4,"br"),c(5,"matches"),r(),o(6,"iris-button",21),c(7," Update Availability "),r()()),t&2){let e=m(3);a(6),l("buttonType",e.IrisButtonTypes.PRIMARY)("routerLink",Y(2,Gr))}}function nd(t,s){if(t&1&&(o(0,"div",18),d(1,td,12,3,"section",2)(2,id,8,3,"section",19),r()),t&2){let e=m(2);a(),l("ngIf",e.user.acceptingClients),a(),l("ngIf",!e.user.acceptingClients)}}function od(t,s){if(t&1&&(C(0,16),d(1,nd,3,2,"div",17),b()),t&2){let e=m();a(),l("ngIf",e.clients.length===0)}}function ad(t,s){if(t&1){let e=y();o(0,"provider-not-accepting-clients-modal",24),Gn("modalOpenChange",function(n){u(e);let p=m();return Hn(p.notAcceptingClientsModalOpen,n)||(p.notAcceptingClientsModalOpen=n),_(n)}),h("modalOpenChange",function(){u(e);let n=m();return _(n.closeNotAcceptingClientsModal())}),r()}if(t&2){let e=m();jn("modalOpen",e.notAcceptingClientsModalOpen)}}var Yr=(()=>{class t{constructor(e,i,n,p,M,E){this.appService=e,this.router=i,this.matchClientStore=n,this.breakPoint=p,this.clientReferralMemberStore=M,this.providerStore=E,this.notAcceptingClientsModalOpen=!1,this.clients=[],this.showOlderFormControl=new G(!1),this.matchesState="",this.sortData={active:"matched_at",direction:"desc"},this.matchClientType=vt.match,this.clientStatus=ne,this.matchLimitReached=!1,this.matchLimitTitle="You're at the New Match Limit",this.matchLimitBody='To receive more matches, please accept or rematch your current list of "New" matches.',this.tabsList=[{title:"New",status:this.clientStatus.NEW_MATCH,clientsCount:""},{title:"Accepted",status:this.clientStatus.ACCEPTED,clientsCount:""},{title:"Scheduled",status:this.clientStatus.CLIENT,clientsCount:""}],this.filterOptions={filter:[{key:"client_type",value:"potential"}],page:{size:15,number:1},sort:{key:"name",asc:"asc"}},this.IrisButtonTypes=B,this.destroyedSubj=new F,this.destroyed$=this.destroyedSubj.asObservable()}ngOnInit(){this.matchClientStore.status=this.clientStatus.NEW_MATCH,this.loadAnalytics(),this.initializeSubs()}ngOnDestroy(){this.destroyedSubj.next(),this.destroyedSubj.complete()}initializeSubs(){this.matchClientStore.tableState$.pipe(v(this.destroyed$)).subscribe(e=>{e&&this.showOlderFormControl.setValue(e[this.clientStatus.ACCEPTED].includeClientsRetainedMoreThan30Days)}),this.appService.currentUser$.pipe(v(this.destroyed$)).subscribe(e=>{this.user=e,this.timezone=e.timeZone}),this.user.acceptingClients&&this.clientReferralMemberStore.declineReasonId$.pipe(v(this.destroyed$)).subscribe(e=>{e&&(this.notAcceptingClientsModalOpen=!0)}),this.providerStore.getPersonaProviderProfile$().pipe(v(this.destroyed$)).subscribe(e=>{this.matchLimitReached=e.reachedNotifiedLimit}),this.router.events.pipe(v(this.destroyed$),$(e=>e instanceof to)).subscribe(e=>{let i=this.router.getCurrentNavigation().extras?.state?.type,n=e.url.includes("matches");i&&n&&this.setTabFromRoute(i)})}reload(e){e&&"label"in e&&(this.matchClientStore.status=this.tabsList.find(i=>e.label.startsWith(i.title))?.status)}setTabFromRoute(e){let i={page:1,pageIndex:0,pageSize:15,sortBy:"matched_at",sortAscending:!1,sortDirection:"desc",includeClientsRetainedMoreThan30Days:!0};this.matchClientStore.selectedTab=e==="accepted"?1:0,this.matchClientStore.status=e==="accepted"?"accepted":"new_match",i.includeClientsRetainedMoreThan30Days=e!=="accepted",this.matchClientStore.updateTableState(i)}closeNotAcceptingClientsModal(){this.notAcceptingClientsModalOpen=!1,this.clientReferralMemberStore.declineReasonIdSubj.next(!1)}loadAnalytics(){this.matchClientStore.loadMatchClientAnalytics(),this.matchClientAnalyticsSub=this.matchClientStore.matchClientAnalytics$.pipe(v(this.destroyed$),ni(1)).subscribe(e=>{this.tabsList.forEach((i,n,p)=>{i.status===ne.NEW_MATCH?p[n].clientsCount=e.newMatchCountLabel:i.status===ne.ACCEPTED?p[n].clientsCount=e.acceptedCountLabel:i.status===ne.CLIENT&&(p[n].clientsCount=e.scheduledCountLabel)}),this.showAvailabilityErrorState=e.newMatch===0&&(e.accepted>0||e.scheduled>0),this.matchesState=this.tabsList.some(i=>i.clientsCount)?"matches":"noMatches"})}static{this.\u0275fac=function(i){return new(i||t)(f(re),f(ce),f(Gt),f(Ke),f(Uo),f(jt))}}static{this.\u0275cmp=w({type:t,selectors:[["member-page-match-clients-list"]],viewQuery:function(i,n){if(i&1&&R(K0,5),i&2){let p;z(p=L())&&(n.tabs=p.first)}},standalone:!1,decls:5,vars:3,consts:[["tabs",""],["data-test","title-matches","tabindex","0","data-dd-privacy","allow",1,"iris-h1-responsive"],[4,"ngIf"],["data-dd-privacy","allow",4,"ngIf"],[3,"modalOpen","modalOpenChange",4,"ngIf"],[3,"title","body","priority",4,"ngIf"],[1,"client-search"],[1,"client-search-container"],["searchLabel","Search","noSearchResultMessage","No matches found.",3,"filters"],["activeFirstTab","",3,"tabGroupSelected","hasTabGroup"],[3,"label","selectedTab",4,"ngFor","ngForOf"],[3,"title","body","priority"],[3,"selectedTab","label"],[1,"older-client-search",3,"ngClass"],["data-test","show-clients-older-than-30-dayscheckbox",3,"formControl"],[3,"status","showOlder","timezone","reload","showAvailabilityErrorState"],["data-dd-privacy","allow"],["class","client-list-empty-state",4,"ngIf"],[1,"client-list-empty-state"],["class","not-accepting",4,"ngIf"],["src","/assets/images/clients-list/no-matches.svg","alt",""],["aria-label","Update availability","data-test","match-client-list-update-availability-button",3,"buttonType","routerLink"],[1,"n
25ot-accepting"],["src","/assets/images/clients-list/no-matches-not-accepting.svg","alt",""],[3,"modalOpenChange","modalOpen"]],template:function(i,n){i&1&&(o(0,"h1",1),c(1,` Referrals 26`),r(),d(2,ed,8,4,"ng-container",2)(3,od,2,1,"ng-container",3)(4,ad,1,1,"provider-not-accepting-clients-modal",4)),i&2&&(a(2),l("ngIf",n.matchesState==="matches"),a(),l("ngIf",n.matchesState==="noMatches"),a(),l("ngIf",n.notAcceptingClientsModalOpen))},dependencies:[ue,qe,U,Qe,be,no,j,xi,Zi,La,Ut,pn,lr,or,Hr],styles:[`[_nghost-%COMP%] .mat-tab-label-container{margin-bottom:.5rem!important;display:block!important}@media(min-width:600px){[_nghost-%COMP%] .mat-tab-label-container{display:flex}}[_nghost-%COMP%] .mat-tab-labels{display:flex;margin-left:.5rem;border-bottom:1px solid #d8d8d8}@media(min-width:600px){[_nghost-%COMP%] .mat-tab-labels{margin-left:unset}}[_nghost-%COMP%] .mat-tab-label{color:#2f3a40;font-family:Inclusive Sans,Arial,sans-serif;color:inherit;font-weight:400;font-size:calc(1rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal;opacity:1;padding:2px 1.5rem 0px}[_nghost-%COMP%] .mat-tab-label-active{color:#045;font-weight:700}[_nghost-%COMP%] .mat-tab-label:hover{text-decoration:underline}[_nghost-%COMP%] .mat-ink-bar{background-color:#045!important;height:2px!important}[_nghost-%COMP%] .mat-tab-header{border-bottom:unset;margin-top:1.5rem}[_nghost-%COMP%] mat-list-option{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:400;font-size:calc(1rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal}[_nghost-%COMP%] mat-list-option .mat-list-item-content{padding-left:0!important}[_nghost-%COMP%] mat-list-option .mat-list-item-content .mat-pseudo-checkbox-checked{background:#003242!important}[_nghost-%COMP%] button.mat-menu-item{width:unset;justify-content:flex-end}[_nghost-%COMP%] .mat-menu-item .mat-icon{margin-right:0}.client-search[_ngcontent-%COMP%]{display:block;flex-direction:row;margin-top:14px;width:100%;font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:400;font-size:calc(1rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal}@media(min-width:600px){.client-search[_ngcontent-%COMP%]{display:flex}}.client-search[_ngcontent-%COMP%] .client-search-container[_ngcontent-%COMP%]{width:100%}@media(max-width:599px){.client-search[_ngcontent-%COMP%] .client-search-container[_ngcontent-%COMP%]{width:100%}}@media(min-width:600px)and (max-width:1279px){.client-search[_ngcontent-%COMP%] .client-search-container[_ngcontent-%COMP%]{min-width:78%}}.client-search[_ngcontent-%COMP%] .client-sort-container[_ngcontent-%COMP%]{min-width:20%;margin-left:20px;margin-left:unset}.client-search[_ngcontent-%COMP%] .client-sort-container[_ngcontent-%COMP%] .client-search-header[_ngcontent-%COMP%]{font-weight:700;font-size:1rem}.client-search[_ngcontent-%COMP%] .client-sort-container[_ngcontent-%COMP%] sonder-form-field[_ngcontent-%COMP%] .sonder-form-field-label{display:none!important}.client-search[_ngcontent-%COMP%] .client-sort-container[_ngcontent-%COMP%] sonder-form-field[_ngcontent-%COMP%] .mat-mdc-select-value{color:#001219}.client-search[_ngcontent-%COMP%] .client-sort-container[_ngcontent-%COMP%] sonder-form-field[_ngcontent-%COMP%] .client-sort{width:100%;background-color:#f2f5f6;border-radius:.25rem;padding:13px;font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:400;font-size:calc(1rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal}.older-client-search[_ngcontent-%COMP%]{display:flex;flex-direction:row;width:100%;padding:1.5rem 0px .25rem}.client-list-empty-state[_ngcontent-%COMP%]{margin-top:3.125rem;text-align:center;display:flex;flex-direction:row;justify-content:center;align-items:center}.client-list-empty-state[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:400;font-size:calc(1rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal}.client-list-empty-state[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:600;font-size:clamp(1.375rem,calc(1.375rem + 1.125 * ((100vw - 23.4375rem) / 96.5625)),2.5rem);line-height:1.2;letter-spacing:normal;margin-bottom:0}.not-accepting[_ngcontent-%COMP%] .iris-button{margin-top:2rem}.hide-checkbox[_ngcontent-%COMP%]{visibility:hidden;padding:0} .mat-mdc-select-panel-above div.mat-mdc-select-panel{background:#f2f2f2} .mdc-text-field--outlined .mdc-notched-outline{display:none} .mat-mdc-option.mat-mdc-option-active.mdc-list-item{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:400;font-size:calc(1rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal;color:#0d6a97!important} .mat-mdc-paginator-outer-container{font-family:Inclusive Sans,Arial,sans-serif;color:#001219;font-weight:400;font-size:calc(1rem + .125rem*clamp(0,(100vw - 23.4375rem) / (959px - 23.4375rem),1));line-height:1.5;letter-spacing:normal} .cdk-overlay-pane:not(.mat-mdc-select-panel-above) div.mat-mdc-select-panel{background:#fff} 27/*# sourceMappingURL=match-clients-list.component-2REMLKCY.css.map */`]})}}return t})();var qr=(()=>{class t{constructor(e){this.appService=e}ngOnInit(){}ngAfterViewInit(){this.appService.pageLoaded=!0}static{this.\u0275fac=function(i){return new(i||t)(f(re))}}static{this.\u0275cmp=w({type:t,selectors:[["member-clients-app"]],standalone:!1,decls:2,vars:0,consts:[[1,"page-container"]],template:function(i,n){i&1&&(o(0,"div",0),g(1,"router-outlet"),r())},dependencies:[li],encapsulation:2})}}return t})();var rd=[{path:"",component:qr,children:[{path:"",redirectTo:"current",pathMatch:"full"},{path:"current",component:hr},{path:"matches",component:Yr},{path:"new",redirectTo:"matches",pathMatch:"full"},{path:":id",component:Rr,children:[{path:"",pathMatch:"full",redirectTo:"client_notes"},{path:"client_journey",component:Wi},{path:"client_notes",data:{},children:[{path:"",component:rr}]},{path:"smart_notes",data:{},children:[{path:"",component:Kt},{path:":note_id",component:Kt}]},{path:"payment_info",component:jr},{path:"contact_info",component:Lr},{path:"treatment_plan",data:{},children:[{path:"",component:ti},{path:":note_id",component:ti}]},{path:"assessments",component:qi},{path:"documents",component:gn},{path:"prescriptions_info",component:ar},{path:"assessments/:type",component:zr},{path:"chat",redirectTo:"/dashboard?openChat=true",outlet:"nonClinicalChatModal"}]}]}],Qr=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=ft({type:t})}
27static{this.\u0275inj=dt({imports:[at.forChild(rd),at]})}}return t})();var iv=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=ft({type:t})}static{this.\u0275inj=dt({providers:[{provide:mo,useFactory:Fa},{provide:ro,useValue:{}},{provide:It,useValue:{}},xo()],imports:[_e,at,Bi,pi,di,Ne,Tt,ir,Ti,X,wt,Oo,Mi,Na,wo,To,Ii,ca,Qa,Ht,Vt,Eo,No,Do,ao,Ba,gi,so,ji,Ai,Ro,la,Qi,fi,hi,Lo,ki,tn,Aa,Li,Xo,ma,ea,tr,Qr,$a,Ko,Ri,Zo,Vi,Sr,Xi,ta,qi,Wi,Ki,xa,Ut,wa,Ia,Hi,Oa,Gi,Yi,Ga,pn,gn,Di,hn]})}}return t})();export{iv as ClientsModule}; 28//# sourceMappingURL=chunk-M7XQEDB4.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.