PageSourceSearch

https://www.fusiform.ai/_next/static/chunks/app/(company)/page-f615fe7f4c2c6d43.js

js fusiform.ai collected 2026-10-05 12:58:43 UTC 34,847 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="fb002a2b-ebbb-42ef-be6f-954491376e13",e._sentryDebugIdIdentifier="sentry-dbid-fb002a2b-ebbb-42ef-be6f-954491376e13")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2049],{5720:function(e,t,n){Promise.resolve().then(n.bind(n,10219))},48736:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});let l=(0,n(79205).Z)("FileText",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]])},14924:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});let l=(0,n(79205).Z)("Folder",[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]])},29090:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});let l=(0,n(79205).Z)("LogIn",[["path",{d:"M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4",key:"u53s6r"}],["polyline",{points:"10 17 15 12 10 7",key:"1ail0h"}],["line",{x1:"15",x2:"3",y1:"12",y2:"12",key:"v6grx8"}]])},11:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});let l=(0,n(79205).Z)("MessageSquare",[["path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z",key:"1lielz"}]])},48662:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});let l=(0,n(79205).Z)("Mic",[["path",{d:"M12 2a3 3 0 0 0-3 3v7a3 3 0 0 0 6 0V5a3 3 0 0 0-3-3Z",key:"131961"}],["path",{d:"M19 10v2a7 7 0 0 1-14 0v-2",key:"1vc78b"}],["line",{x1:"12",x2:"12",y1:"19",y2:"22",key:"x3vr5v"}]])},82023:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});let l=(0,n(79205).Z)("Sparkles",[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]])},37806:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});let l=(0,n(79205).Z)("UserPlus",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["line",{x1:"19",x2:"19",y1:"8",y2:"14",key:"1bvyxn"}],["line",{x1:"22",x2:"16",y1:"11",y2:"11",key:"1shjgl"}]])},95805:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});let l=(0,n(79205).Z)("Users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]])},32489:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});let l=(0,n(79205).Z)("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},33145:function(e,t,n){"use strict";n.d(t,{default:function(){return a.a}});var l=n(48461),a=n.n(l)},48461:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return o},getImageProps:function(){return r}});let l=n(47043),a=n(55346),i=n(65878),s=l._(n(5084));function r(e){let{props:t}=(0,a.getImgProps)(e,{defaultLoader:s.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,n]of Object.entries(t))void 0===n&&delete t[e];return{props:t}}let o=i.Image},10219:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return z}});var l=n(57437),a=n(2265),i=n(33145),s=n(66103),r=n(45129),o=n(49224),c=n(99376),d=n(74291),u=n(58382),m=n(49322),x=n(94170);function f(e){let{open:t,onOpenChange:n,title:a}=e;return(0,l.jsx)(d.Vq,{open:t,onOpenChange:n,modal:!0,children:(0,l.jsxs)(d.cZ,{className:"max-w-[calc(100vw-2rem)] sm:max-w-sm bg-[#FEF9ED] border-[#F5EEE0] rounded-2xl",children:[(0,l.jsx)(d.fK,{children:(0,l.jsx)(d.$N,{className:"font-mono text-[#5D524B] text-base sm:text-lg",children:a})}),(0,l.jsxs)(d.cN,{className:"flex flex-col-reverse sm:flex-row gap-2 sm:gap-3 mt-4",children:[(0,l.jsx)("button",{onClick:()=>n(!1),className:"w-full sm:w-auto px-4 py-2.5 sm:px-6 sm:py-3 min-h-[44px] rounded-full font-mono text-sm sm:text-base text-[#5D524B] border border-[#5D524B]/20 hover:bg-[#F5EEE0] transition-all duration-300",children:"Cancel"}),(0,l.jsx)("a",{href:"/sign-in-cognito?redirect=/prism",className:"w-full sm:w-auto px-4 py-2.5 sm:px-6 sm:py-3 min-h-[44px] rounded-full font-mono text-sm sm:text-base bg-[#F6E5B8] text-[#5D524B] transition-all duration-300 inline-flex items-center justify-center gap-2",children:"Sign in →"})]})]})})}function p(e){let{placeholder:t="Ask Prism to help with session notes...",placeholders:n,className:i=""}=e,[s,r]=(0,a.useState)(""),[o,d]=(0,a.useState)(!1),[p,h]=(0,a.useState)(!1),[g,y]=(0,a.useState)(!1),{text:v}=function(e){let[t,n]=(0,a.useState)(0),[l,i]=(0,a.useState)(""),[s,r]=(0,a.useState)("typing"),[o,c]=(0,a.useState)(!1),d=(0,a.useRef)(!1);return d.current=o,(0,a.useEffect)(()=>{var a;let o;if(0===e.length)return;let c=null!==(a=e[t])&&void 0!==a?a:"";return"typing"===s?o=l.length<c.length?setTimeout(()=>{d.current||i(c.slice(0,l.length+1))},55):setTimeout(()=>r("pausing"),55):"pausing"===s?o=setTimeout(()=>r("deleting"),2200):"deleting"===s?o=l.length>0?setTimeout(()=>{i(e=>e.slice(0,-1))},28):setTimeout(()=>r("waiting"),28):"waiting"===s&&(o=setTimeout(()=>{n(t=>(t+1)%e.length),r("typing")},400)),()=>clearTimeout(o)},[l,s,t,e]),{text:l,phase:s,pause:(0,a.useCallback)(()=>c(!0),[]),resume:(0,a.useCallback)(()=>c(!1),[])}}(null!=n?n:[t]),b=(0,a.useRef)(null),{isSignedIn:j}=(0,m.u)(),w=(0,c.useRouter)(),N=()=>
1{if(s.trim()){if(j){sessionStorage.setItem(x.u,s.trim()),w.push("/prism");return}sessionStorage.setItem(x.u,s.trim()),y(!0)}};return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(u.g,{open:g,onOpenChange:y}),(0,l.jsxs)("div",{className:"w-full max-w-3xl mx-auto ".concat(i),children:[(0,l.jsxs)("div",{className:"bg-[#FEF9ED] rounded-3xl shadow-[0_4px_60px_rgba(93,82,75,0.18)] border border-[#F5EEE0] overflow-hidden transition-all duration-300 hover:shadow-[0_8px_80px_rgba(93,82,75,0.25)]",children:[(0,l.jsxs)("div",{className:"px-6 pt-5 pb-3 relative",children:[""===s&&(0,l.jsx)("span",{className:"absolute top-0 left-6 right-6 pt-5 text-left text-[#5D524B]/70 text-base leading-relaxed font-mono pointer-events-none select-none","aria-hidden":!0,children:v}),(0,l.jsx)("textarea",{ref:b,value:s,onChange:e=>r(e.target.value),onKeyDown:e=>{"Enter"===e.key&&!e.shiftKey&&s.trim()&&(e.preventDefault(),N())},rows:2,className:"w-full bg-transparent text-left text-black text-base resize-none outline-none leading-relaxed font-mono"})]}),(0,l.jsxs)("div",{className:"px-4 pb-4 flex items-center justify-between",children:[(0,l.jsxs)("div",{className:"flex items-center gap-1",children:[(0,l.jsxs)("button",{type:"button",onClick:()=>j?w.push("/prism"):d(!0),className:"h-9 px-2 sm:px-3 flex items-center gap-2 rounded-lg text-[#5D524B] hover:text-[#8B5E3C] hover:bg-[#F5EEE0] transition-colors text-sm font-mono","aria-label":"Attach files",children:[(0,l.jsx)("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,l.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M15.172 7l-6.586 6.586a2 2 0 102.828 2.828l6.414-6.586a4 4 0 00-5.656-5.656l-6.415 6.585a6 6 0 108.486 8.486L20.5 13"})}),(0,l.jsx)("span",{className:"hidden sm:inline",children:"Attach"})]}),(0,l.jsxs)("button",{type:"button",onClick:()=>j?w.push("/prism"):h(!0),className:"h-9 px-2 sm:px-3 flex items-center gap-1 sm:gap-2 rounded-lg text-[#5D524B] hover:text-[#8B5E3C] hover:bg-[#F5EEE0] transition-colors text-xs sm:text-sm font-mono","aria-label":"Select Client",children:[(0,l.jsx)("svg",{className:"w-3.5 h-3.5 sm:w-4 sm:h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,l.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M16 7a4 4 0 11-8 0 4 4 0 018 0zM12 14a7 7 0 00-7 7h14a7 7 0 00-7-7z"})}),(0,l.jsx)("span",{children:"Select Client"}),(0,l.jsx)("svg",{className:"w-2.5 h-2.5 sm:w-3 sm:h-3",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,l.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 9l-7 7-7-7"})})]})]}),(0,l.jsx)("div",{className:"flex items-center gap-1",children:(0,l.jsx)("button",{type:"button",onClick:N,disabled:!s.trim(),className:"w-8 h-8 flex items-center justify-center bg-[#A67C52] rounded-full text-[#FEF9ED] transition-all duration-300 enabled:hover:bg-[#8B5E3C] enabled:hover:scale-105 disabled:opacity-40 disabled:cursor-not-allowed ml-1","aria-label":"Send message",children:(0,l.jsx)("svg",{className:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,l.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M5 10l7-7m0 0l7 7m-7-7v18"})})})})]})]}),(0,l.jsx)(f,{open:o,onOpenChange:d,title:"Sign in to upload files"}),(0,l.jsx)(f,{open:p,onOpenChange:h,title:"Sign in to ask client specific questions"})]})]})}let h=[{name:"CBT",bgColor:"#C9A87C",textColor:"#5D524B"},null,{name:"DBT",bgColor:"#A67C52",textColor:"#FEF9ED"},null,{name:"EMDR",bgColor:"#D4B896",textColor:"#5D524B"},null,{name:"ACT",bgColor:"#8B6F47",textColor:"#FEF9ED"},null,{name:"Motivational",bgColor:"#BFA280",textColor:"#5D524B"},null,{name:"Family/Couples",bgColor:"#9C7A54",textColor:"#FEF9ED"},null,{name:"Humanistic",bgColor:"#C9A87C",textColor:"#5D524B"},null,{name:"IFS",bgColor:"#A67C52",textColor:"#FEF9ED"},null,{name:"MBCT",bgColor:"#D4B896",textColor:"#5D524B"},null];function g(){let[e,t]=(0,a.useState)(0);(0,a.useEffect)(()=>{let e;let n=()=>{t(e=>e+.18),e=requestAnimationFrame(n)};return e=requestAnimationFrame(n),()=>cancelAnimationFrame(e)},[]);let n=33*h.length;return(0,l.jsxs)("div",{className:"relative w-full h-full overflow-hidden flex items-center justify-center bg-[#F7ECD9] rounded-lg",children:[(0,l.jsx)("div",{className:"absolute top-0 left-0 right-0 h-16 bg-gradient-to-b from-[#F7ECD9] to-transparent z-10 pointer-events-none"}),(0,l.jsx)("div",{className:"absolute bottom-0 left-0 right-0 h-16 bg-gradient-to-t from-[#F7ECD9] to-transparent z-10 pointer-events-none"}),(0,l.jsx)("div",{className:"relative h-full flex items-center -ml-24",children:[...h,...h].map((t,a)=>{let i=((33*a-e)%n+n)%n-n/2;return t?(0,l.jsx)("div",{className:"absolute left-0",style:{transform:"translateY(".concat(i,"px)")},children:(0,l.jsx)("div",{className:"rounded-lg px-5 py-3",style:{backgroundColor:t.bgColor,boxShadow:"0 1px 2px rgba(0, 0, 0, 0.05)"},children:(0,l.jsx)("span",{className:"text-sm font-bold font-mono whitespace-nowrap",style:{color:t.textColor},children:t.name})})},"".concat(t.name,"-").concat(a)):null})})]})}var y=n(48736),v=n(14924);let b=[{name:"Sarah",color:"text-[#C9A87C]",count:0},{name:"Michael",color:"text-[#A67C52]",count:0},{name:"Emily",color:"text-[#8B6F47]",count:0}],j=[{id:1,name:"Session_Notes_Jan_15.pdf",type:"pdf",client:"Sarah",x:15,y:12,rotation:-12,organized:!1},{id:2,name:"Treatment_Plan.docx",type:"docx",client:"Michael",x:75,y:8,rotation:18,organized:!1},{id:3,name:"SOAP.pdf",type:"pdf",client:"Emily",x:45,y:15,rotation:-5,organized:!1},{id:4,name:"GAD7.pdf",type:"pdf",client:"Sarah",x:80,y:20,rotation:10,organized:!1},{id:5,name:"Goal Worksheet.docx",type:"docx",client:"Michael",x:25,y:25,rotation:-15,organized:!1},{id:6,name:"Intake Form.pdf",type:"pdf",client:"Emily",x:60,y:10,rotation:8,organized:!1},{id:7,name:"Note_Jan.pdf",type:"pdf",client:"Sarah",x:10,y:35,rotation:-20,organized:!1},{id:8,name:"Crisis Plan.docx",type:"docx",client:"Michael",x:85,y:32,rotation:15,organized:!1},{id:9,name:"Insurance Info.pdf",type:"pdf",client:"Emily",x:35,y:8,rotation:-8,organized:!1},{id:10,name:"Safety Plan.docx",type:"docx",client:"Sarah",x:50,y:30,rotation:12,organized:!1},{id:11,name:"Medication Log.pdf",type:"pdf",client:"Michael",x:20,y:18,rotation:-10,organized:!1},{id:12,name:"Progress Notes.pdf",type:"pdf",client:"Sarah",x:70,y:28,rotation:6,organized:!1},{id:13,name:"Discharge.docx",type:"docx",client:"Sarah",x:40,y:22,rotation:-18,organized:!1}];function w(){let[e,t]=(0,a.useState)(j),[n,i]=(0,a.useState)(b),[s,r]=(0,a.useState)("scattered"),[o,c]=(0,a.useState)(0),[d,u]=(0,a.useState)(new Set),[m,x]=(0,a.useState)(null),f=(0,a.useCallback)(()=>{t(j),i(b),r("scattered"),c(0),u(new Set),x(null)},[]);(0,a.useEffect)(()=>
1{if("scattered"===s){let e=setTimeout(()=>r("organizing"),800);return()=>clearTimeout(e)}},[s]),(0,a.useEffect)(()=>{if("organizing"===s&&o<b.length){let n=setTimeout(()=>{var n;let l=null===(n=b[o])||void 0===n?void 0:n.name;if(!l)return;let a=e.filter(e=>e.client===l&&!e.organized);u(new Set(a.map(e=>e.id))),x(l),setTimeout(()=>{t(e=>e.map(e=>e.client===l?{...e,organized:!0}:e)),i(e=>e.map(e=>e.name===l?{...e,count:a.length}:e)),u(new Set),x(null),c(e=>e+1)},800)},300);return()=>clearTimeout(n)}"organizing"===s&&o>=b.length&&setTimeout(()=>r("complete"),500)},[s,o,e]),(0,a.useEffect)(()=>{if("complete"===s){let e=setTimeout(f,1500);return()=>clearTimeout(e)}},[s,f]);let p=e=>({x:100/3*n.findIndex(t=>t.name===e)+100/3/2,y:75});return(0,l.jsxs)("div",{className:"relative w-full h-full bg-[#F7ECD9] rounded-lg overflow-hidden",children:[e.map(e=>{let t=d.has(e.id),n=p(e.client);return(0,l.jsx)("div",{className:"absolute",style:{left:t?"".concat(n.x,"%"):"".concat(e.x,"%"),top:t?"".concat(n.y,"%"):"".concat(e.y,"%"),transform:"translate(-50%, -50%) scale(".concat(e.organized?0:t?.5:1,") rotate(").concat(t?0:e.rotation,"deg)"),opacity:e.organized?0:1,transition:t?"all 800ms cubic-bezier(0.25, 0.46, 0.45, 0.94)":"all 100ms ease-out",zIndex:t?50:10},children:(0,l.jsx)("div",{className:"w-32 sm:w-36 bg-white/80 backdrop-blur-sm rounded-lg border border-[#C9A87C]/30 p-2.5 transition-all ".concat(t?"border-[#A67C52]/50 scale-90":""),children:(0,l.jsxs)("div",{className:"flex items-center gap-2",children:[(0,l.jsx)(y.Z,{className:"w-4 h-4 flex-shrink-0 ".concat("pdf"===e.type?"text-[#C9A87C]":"text-[#A67C52]")}),(0,l.jsx)("span",{className:"text-[10px] font-medium text-[#5D524B] truncate",children:e.name})]})})},e.id)}),(0,l.jsx)("div",{className:"absolute bottom-[12%] left-4 right-4 flex justify-between gap-2",style:{zIndex:20},children:n.map(e=>(0,l.jsxs)("div",{className:"flex-1 flex flex-col items-center transition-transform duration-200 ".concat(m===e.name?"scale-110":""),children:[(0,l.jsxs)("div",{className:"relative",children:[(0,l.jsx)(v.Z,{className:"w-10 h-10 sm:w-12 sm:h-12 ".concat(e.color)}),e.count>0&&(0,l.jsx)("span",{className:"absolute -top-1 -right-1 w-6 h-6 bg-[#5D524B] text-[#FEF9ED] rounded-full text-xs font-bold font-mono flex items-center justify-center leading-none",children:e.count})]}),(0,l.jsx)("span",{className:"text-xs sm:text-sm text-[#5D524B] font-mono mt-1 text-center leading-tight",children:e.name})]},e.name))})]})}var N=n(22871),k=n(48662);let C=["SOAP","DAP","BIRP"];function E(){let[e,t]=(0,a.useState)([]),[n,i]=(0,a.useState)([]),[s,r]=(0,a.useState)(0),[o,c]=(0,a.useState)(1),d=(0,a.useRef)(null),u=(0,a.useRef)(0);return(0,a.useEffect)(()=>{t(Array.from({length:24},()=>.5*Math.random()+.2)),i(Array.from({length:5},()=>({width:0,opacity:0})));let e=()=>{u.current+=.02,t(e=>e.map((e,t)=>Math.max(.1,Math.min(1,.3+.4*Math.sin(1.5*u.current+.3*t)))));let n=u.current%8;n>7.5&&n<7.7?c(1-(n-7.5)/.2):n>=7.7&&n<7.75?(r(e=>(e+1)%C.length),c(0)):n>=7.75&&n<7.95?c((n-7.75)/.2):n<7.5&&c(1),i(e=>e.map((e,t)=>{var l;let a=(n-.15*t+8)%8,i=0;return i=a<4?Math.min(1,a/2):Math.max(0,1-(a-4)/2),{width:(null!==(l=[.85,.95,.7,.9,.6][t])&&void 0!==l?l:.8)*i,opacity:i}})),d.current=requestAnimationFrame(e)};return d.current=requestAnimationFrame(e),()=>{d.current&&cancelAnimationFrame(d.current)}},[]),(0,l.jsxs)("div",{className:"relative w-full h-full flex flex-col items-center justify-between py-8 px-4",children:[(0,l.jsx)("div",{className:"flex items-center justify-center mb-2",children:(0,l.jsx)(k.Z,{className:"w-6 h-6 text-[#A67C52]"})}),(0,l.jsx)("div",{className:"relative flex-1 max-h-24 w-full flex items-center justify-center gap-0.5",children:e.map((e,t)=>(0,l.jsx)("div",{className:"w-1 sm:w-1.5 rounded-full bg-gradient-to-t from-[#A67C52] to-[#C9A87C] transition-all duration-75",style:{height:"".concat(100*e,"%"),minHeight:"4px"}},t))}),(0,l.jsx)("div",{className:"relative py-4 flex items-center justify-center",children:(0,l.jsx)("div",{className:"text-[#A67C52]/60",children:(0,l.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:(0,l.jsx)("path",{d:"M12 5v14M5 12l7 7 7-7"})})})}),(0,l.jsxs)("div",{className:"relative w-[80%] max-w-48 bg-[#FEF9ED] rounded-lg border border-[#D4B896] shadow-md p-5 flex flex-col gap-2.5",children:[(0,l.jsxs)("div",{className:"flex items-center gap-2 mb-2",children:[(0,l.jsx)(y.Z,{className:"w-4 h-4 text-[#A67C52] flex-shrink-0"}),(0,l.jsx)("span",{className:"text-base font-bold font-mono text-[#5D524B] transition-opacity duration-75",style:{opacity:o},children:C[s]})]}),n.map((e,t)=>(0,l.jsx)("div",{className:"h-2 rounded-full bg-[#D4B896]/30 overflow-hidden",children:(0,l.jsx)("div",{className:"h-full rounded-full bg-gradient-to-r from-[#A67C52] to-[#C9A87C] transition-all duration-150",style:{width:"".concat(100*e.width,"%"),opacity:e.opacity}})},t))]})]})}var S=n(22549);function D(){let e=(0,a.useRef)(null);return(0,a.useEffect)(()=>{let t=e.current;t&&(t.muted=!0,t.play().catch(()=>{}))},[]),(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(i.default,{src:"/videos/clouds_poster.jpg",alt:"",fill:!0,priority:!0,className:"object-cover md:hidden"}),(0,l.jsx)("video",{ref:e,autoPlay:!0,muted:!0,loop:!0,playsInl
1ine:!0,poster:"/videos/clouds_poster.jpg",className:"absolute inset-0 w-full h-full object-cover hidden md:block",children:(0,l.jsx)("source",{src:"/videos/clouds_remix.mp4",type:"video/mp4"})})]})}function A(){return(0,l.jsxs)("section",{className:"relative h-dvh w-full flex items-center justify-center text-[#f7f7f7] overflow-hidden","data-bg-fade":"#FEF9ED",children:[(0,l.jsx)(D,{}),(0,l.jsxs)("div",{className:"relative z-10 text-center px-4 pt-24 lg:pt-12 w-full max-w-7xl mx-auto",children:[(0,l.jsx)("h1",{className:"text-4xl md:text-5xl lg:text-6xl font-bold mb-6 leading-tight font-serif",children:(0,l.jsx)("span",{className:"italic",children:"The therapist's second brain."})}),(0,l.jsx)("p",{className:"text-xl md:text-2xl lg:text-2xl font-medium font-serif slide-up mb-10",children:"Write notes and get clinical insights by talking to AI."}),(0,l.jsx)(p,{placeholders:["Plan my next session with a resistant client...","Write a SOAP note for today's session...","My client won't go deeper. What should I try?","Alternatives to trauma exposure for an avoidant client...","I feel stuck with this case..."],className:"fade-in-delay"})]})]})}function F(){let e=[{id:"auto-draft",title:"Auto-Draft Session Notes",description:"Generate SOAP, DAP, and BIRP session notes in seconds.",animation:(0,l.jsx)(E,{})},{id:"approach-match",title:"Matches Your Approach",description:"Suggestions tailored to your approach. Works with CBT, ACT, DBT, and more.",animation:(0,l.jsx)(g,{})},{id:"client-records",title:"Organized Client Records",description:"Turn document chaos into insights. Find any client detail instantly.",animation:(0,l.jsx)(w,{})},{id:"hipaa",title:"HIPAA Compliant",description:"Fully HIPAA compliant from end to end. Your clients' data is secure.",animation:(0,l.jsx)(N.T,{})}];return(0,l.jsx)("section",{className:"py-32 px-4","data-bg-fade":"#FEF9ED",children:(0,l.jsxs)("div",{className:"max-w-7xl mx-auto",children:[(0,l.jsxs)("div",{className:"text-center mb-16",children:[(0,l.jsx)("h2",{className:"text-4xl md:text-5xl lg:text-6xl mb-6 slide-up",children:"Everything you need for your practice"}),(0,l.jsx)("p",{className:"text-lg md:text-xl text-[#5D524B] max-w-3xl mx-auto slide-up",style:{animationDelay:"0.1s"},children:"Built for easier documentation and deeper care."})]}),(0,l.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-y-16 gap-x-8 md:gap-8",children:e.map((e,t)=>(0,l.jsxs)("article",{className:"group slide-up",style:{animationDelay:"".concat(.1*t,"s")},children:[(0,l.jsx)("div",{className:"relative aspect-[3/4] rounded-lg overflow-hidden mb-4 bg-[#F7ECD9] flex items-center justify-center",children:e.animation}),(0,l.jsx)("h3",{className:"text-xl md:text-2xl mb-3",children:e.title}),(0,l.jsx)("p",{className:"text-sm text-[#5D524B]",children:e.description})]},e.id))})]})})}function B(){let e=[{id:"unstuck",title:"Get unstuck",description:"Work through difficult cases, weigh treatment options, and explore new approaches.",image:"/webpage/Get_Unstuck.jpg"},{id:"review",title:"Review faster",description:"Analyze intake forms, progress notes, and session histories instantly. Get up to speed on any client in seconds.",image:"/webpage/Review_faster.jpg"},{id:"memorize",title:"Never miss a detail",description:"Never forget key client details. Fusiform highlights patterns, tracks goals, and surfaces insights.",image:"/webpage/detail.jpg"}],[t,n]=(0,a.useState)("unstuck");return(0,l.jsx)("section",{className:"py-32 px-4","data-bg-fade":"#FBF4E5",children:(0,l.jsx)("div",{className:"max-w-7xl mx-auto",children:(0,l.jsx)("div",{className:"bg-[#F5EBD8] p-10 lg:p-16",children:(0,l.jsxs)("div",{className:"flex flex-col lg:flex-row gap-12 lg:gap-20",children:[(0,l.jsx)("div",{className:"lg:w-[60%] relative",children:(0,l.jsx)("div",{className:"relative w-full aspect-[4/3] overflow-hidden bg-[#E8E0D5]",children:e.map(e=>(0,l.jsx)("div",{className:"absolute inset-0 transition-opacity duration-500 ease-in-out ".concat(t===e.id?"opacity-100":"opacity-0"),children:(0,l.jsx)(i.default,{src:e.image,alt:e.title,fill:!0,className:"object-cover",sizes:"(max-width: 1024px) 100vw, 60vw"})},e.id))})}),(0,l.jsxs)("div",{className:"lg:w-[40%] flex flex-col justify-between",children:[(0,l.jsxs)("div",{className:"mb-8 lg:mb-0",children:[(0,l.jsx)("span",{className:"text-sm tracking-wider up
1percase text-[#A67C52] mb-4 block",children:"FUSIFORM ASSISTANT"}),(0,l.jsx)("h2",{className:"text-2xl lg:text-4xl font-medium leading-tight",children:"AI built for therapists"})]}),(0,l.jsxs)(S.UQ,{type:"single",value:t,onValueChange:e=>e&&n(e),className:"mt-8 lg:mt-auto",children:[e.map(e=>(0,l.jsxs)(S.Qd,{value:e.id,className:"border-b-0 border-t border-[#5D524B]/20",children:[(0,l.jsx)(S.o4,{className:"py-5 hover:no-underline text-lg font-medium transition-colors ".concat(t===e.id?"text-[#1A1612]":"text-[#5D524B]"),children:e.title}),(0,l.jsx)(S.vF,{className:"text-sm text-[#5D524B] pr-8 leading-relaxed",children:e.description})]},e.id)),(0,l.jsx)("div",{className:"border-t border-[#5D524B]/20"})]})]})]})})})})}function M(){return(0,l.jsx)("section",{className:"py-32 px-4","data-bg-fade":"#FEF9ED",children:(0,l.jsxs)("div",{className:"max-w-4xl mx-auto text-center",children:[(0,l.jsx)("h2",{className:"text-4xl md:text-5xl lg:text-6xl mb-6 slide-up",children:"Ready to transform your practice?"}),(0,l.jsx)("p",{className:"text-lg md:text-xl text-[#5D524B] mb-12 slide-up",style:{animationDelay:"0.1s"},children:"See how we can save your time and help you focus on what matters most."}),(0,l.jsx)("div",{className:"flex flex-col sm:flex-row gap-4 justify-center items-center slide-up",style:{animationDelay:"0.2s"},children:(0,l.jsx)(o.Z,{href:"https://cal.com/insubkim/30min",bgColor:"#A67C52",textColor:"#FEF9ED",children:"Book a demo"})})]})})}function z(){return(0,l.jsx)(s.V,{children:(0,l.jsxs)("main",{className:"relative",children:[(0,l.jsx)(r.Z,{}),(0,l.jsxs)("div",{className:"relative z-[1]",children:[(0,l.jsx)(A,{}),(0,l.jsx)(F,{}),(0,l.jsx)(B,{}),(0,l.jsx)(M,{})]})]})})}},94170:function(e,t,n){"use strict";n.d(t,{d:function(){return p},u:function(){return f}});var l=n(57437),a=n(2265),i=n(32489),s=n(82023),r=n(11),o=n(95805),c=n(48736),d=n(37806),u=n(29090),m=n(58382),x=n(60235);let f="prism_pending_prompt";function p(e){let{isOpen:t,onClose:n}=e,f=(0,a.useRef)(null),p=(0,a.useRef)(null),[h,g]=(0,a.useState)(!1),[y,v]=(0,a.useState)(!1);return(0,a.useEffect)(()=>{var e;if(!t)return;p.current=document.activeElement,null===(e=f.current)||void 0===e||e.focus();let l=e=>{if("Escape"===e.key){n();return}if("Tab"===e.key&&f.current){let t=f.current.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])');if(0===t.length)return;let n=t[0],l=t[t.length-1];e.shiftKey&&document.activeElement===n?(e.preventDefault(),l.focus()):e.shiftKey||document.activeElement!==l||(e.preventDefault(),n.focus())}};return document.addEventListener("keydown",l),document.body.style.overflow="hidden",()=>{var e;document.removeEventListener("keydown",l),document.body.style.overflow="",null===(e=p.current)||void 0===e||e.focus()}},[t,n]),(0,l.jsxs)(l.Fragment,{children:[t&&(0,l.jsxs)("div",{className:"fixed inset-0 z-50 flex items-center justify-center",role:"dialog","aria-modal":"true","aria-label":"Sign in to Prism",children:[(0,l.jsx)("div",{className:"absolute inset-0 bg-black/40 backdrop-blur-sm",onClick:n,"aria-hidden":"true"}),(0,l.jsxs)("div",{ref:f,tabIndex:-1,className:"relative w-full max-w-md mx-4 rounded-[20px] outline-none overflow-hidden",style:{background:"linear-gradient(145deg, #f5f3ef 0%, #e8e4dc 100%)",border:"0.5px solid #d4cfc7",boxShadow:"0 25px 50px -12px rgba(0, 0, 0, 0.25)"},children:[(0,l.jsx)("button",{onClick:n,className:"absolute top-4 right-4 p-2 rounded-lg hover:opacity-70 transition-opacity z-10",style:{background:"#e8e4dc",border:"0.5px solid #d4cfc7"},"aria-label":"Close",children:(0,l.jsx)(i.Z,{className:"w-4 h-4 text-[#374151]"})}),(0,l.jsxs)("div",{className:"pt-8 pb-6 px-8 text-center",children:[(0,l.jsx)("div",{className:"flex justify-center mb-5",children:(0,l.jsx)("div",{className:"w-16 h-16 rounded-full flex items-center justify-center",style:{background:"linear-gradient(135deg, #d4cfc7 0%, #c4bfb7 100%)",boxShadow:"0 4px 14px rgba(0, 0, 0, 0.1)"},children:(0,l.jsx)(s.Z,{className:"h-7 w-7 text-[#374151]"})})}),(0,l.jsx)("h2",{className:"text-2xl font-inria font-light text-[#374151] mb-2",children:"Sign in to use Fusiform"})]}),(0,l.jsx)("div",{className:"px-8 pb-6",children:(0,l.jsxs)("div",{className:"rounded-xl p-4 space-y-3",style:{background:"rgba(255, 255, 255, 0.5)",border:"0.5px solid rgba(212, 207, 199, 0.5)"},children:[(0,l.jsxs)("div",{className:"flex items-center gap-3",children:[(0,l.jsx)("div",{className:"w-8 h-8 rounded-lg flex items-center justify-center flex-shrink-0",style:{background:"#e8e4dc"},children:(0,l.jsx)(r.Z,{className:"w-4 h-4 text-[#374151]"})}),(0,l.jsx)("span",{className:"text-sm font-inria font-light text-[#374151]",children:"Save and revisit your research conversations"})]}),(0,l.jsxs)("div",{className:"flex items-center gap-3",children:[(0,l.jsx)("div",{className:"w-8 h-8 rounded-lg flex items-center justify-center flex-shrink-0",style:{background:"#e8e4dc"},children:(0,l.jsx)(o.Z,{className:"w-4 h-4 text-[#374151]"})}),(0,l.jsx)("span",{className:"text-sm font-inria font-light text-[#374151]",children:"Create and manage client profiles"})]}),(0,l.jsxs)("div",{className:"flex items-center gap-3",children:[(0,l.jsx)("div",{className:"w-8 h-8 rounded-lg flex items-center justify-center flex-shrink-0",style:{background:"#e8e4dc"},children:(0,l.jsx)(c.Z,{className:"w-4 h-4 text-[#374151]"})}),(0,l.jsx)("span",{className:"text-sm font-inria font-light text-[#374151]",children:"Generate clinical documents and worksheets"})]})]})}),(0,l.jsxs)("div",{className:"px-8 pb-6 space-y-3",children:[(0,l.jsxs)("button",{onClick:()=>{n(),v(!0)}
1,className:"w-full py-3 px-4 rounded-xl font-inria font-light text-white flex items-center justify-center gap-2 transition-all hover:opacity-90",style:{background:"linear-gradient(135deg, #374151 0%, #4b5563 100%)",boxShadow:"0 4px 14px rgba(55, 65, 81, 0.3)"},children:[(0,l.jsx)(d.Z,{className:"w-4 h-4"}),"Create Account"]}),(0,l.jsxs)("button",{onClick:()=>{n(),g(!0)},className:"w-full py-3 px-4 rounded-xl font-inria font-light text-[#374151] flex items-center justify-center gap-2 transition-all hover:opacity-80",style:{background:"rgba(255, 255, 255, 0.6)",border:"0.5px solid #d4cfc7"},children:[(0,l.jsx)(u.Z,{className:"w-4 h-4"}),"Sign In"]})]}),(0,l.jsx)("div",{className:"px-8 py-4 text-center",style:{background:"rgba(212, 207, 199, 0.3)",borderTop:"0.5px solid rgba(212, 207, 199, 0.5)"}})]})]}),(0,l.jsx)(m.g,{open:h,onOpenChange:g,onSignUpClick:()=>{g(!1),v(!0)}}),(0,l.jsx)(x.o,{open:y,onOpenChange:v,onSwitchToSignIn:()=>{v(!1),g(!0)}})]})}},49322:function(e,t,n){"use strict";n.d(t,{u:function(){return w}});var l=n(2265),a=n(24810),i=n(20389),s=n(85871);async function r(e,t){let n=null;for(let l=0;l<3;l++)try{return await e()}catch(s){n=s instanceof Error?s:Error(String(s));let e=s instanceof Error?s.name:"",a=n.message.toLowerCase();if("UserNotFoundException"===e||"NotAuthorizedException"===e||"UserNotConfirmedException"===e||"UserUnAuthenticatedException"===e||a.includes("authenticated")||a.includes("not signed in"))throw s;if(2===l)break;let i=1e3*Math.pow(2,l);console.warn("[Auth] ".concat(t," attempt ").concat(l+1," failed, retrying in ").concat(i,"ms:"),n.message),await new Promise(e=>setTimeout(e,i))}throw n}let o={isSignedIn:!1,isLoaded:!1,userId:null,email:null,name:null,role:null,onboardingComplete:null},c={...o},d=null,u=0,m=!1,x=!1,f=!1,p=null,h=new Set;function g(){return c}function y(e){for(let t of(c=e,h))t()}function v(e){return h.add(e),()=>{h.delete(e)}}async function b(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(x){e&&(f=!0);return}x=!0;let n=f;f=!1,e=e||n;try{var l,s,o,c,m;let n=await r(()=>(0,a.t)(),"getCurrentUser"),x=Date.now(),f=!e&&x-u<3e4,p=e&&!f&&!t,h=await r(()=>(0,i.y)({forceRefresh:p}),"fetchAuthSession"),g=null===(s=h.tokens)||void 0===s?void 0:null===(l=s.idToken)||void 0===l?void 0:l.payload,v=(null==g?void 0:g.provider_user_id)||(null==g?void 0:g["custom:provider_user_id"])||((null==g?void 0:g.sub)?String(g.sub):void 0)||n.username,j=(null==g?void 0:g.email)||null,w=(null==g?void 0:g.name)||(null==g?void 0:g.given_name)||null,N=(null==g?void 0:g["custom:role"])||(null==g?void 0:g.role)||null,k=null!==(c=null!==(o=null==g?void 0:g["custom:onboarding_complete"])&&void 0!==o?o:null==g?void 0:g.onboarding_complete)&&void 0!==c?c:null==g?void 0:g.onboardingComplete;if(y({isSignedIn:!0,isLoaded:!0,userId:v,email:j,name:w,role:N,onboardingComplete:null==k?null:"true"===k||!0===k}),!f&&(u=x,null===(m=h.tokens)||void 0===m?void 0:m.idToken)){let e=null==g?void 0:g.exp;if(e){let t=Math.max(1e3*e-Date.now()-3e5,3e4);d&&clearTimeout(d),d=setTimeout(()=>{b(!0,!1)},t)}}}catch(e){y({isSignedIn:!1,isLoaded:!0,userId:null,email:null,name:null,role:null,onboardingComplete:null})}finally{x=!1}}m||(m=!0,b(!1,!1),document.addEventListener("visibilitychange",()=>{"visible"===document.visibilityState&&(p&&clearTimeout(p),p=setTimeout(()=>{p=null,b(!0,!1)},500))}),s.Xb.listen("auth",e=>{let{payload:t}=e;switch(t.event){case"signedIn":b(!0,!1);break;case"tokenRefresh":b(!1,!0);break;case"signedOut":d&&(clearTimeout(d),d=null),y({isSignedIn:!1,isLoaded:!0,userId:null,email:null,name:null,role:null,onboardingComplete:null})}}));let j=()=>o;function w(){return(0,l.useSyncExternalStore)(v,g,j)}},20389:function(e,t,n){"use strict";n.d(t,{y:function(){return i}});var l=n(29676);let a=(e,t)=>e.Auth.fetchAuthSession(t),i=e=>a(l.d,e)},37053:function(e,t,n){"use strict";n.d(t,{Z8:function(){return d},g7:function(){return u}});var l,a=n(2265),i=n(98575),s=n(57437),r=Symbol.for("react.lazy"),o=(l||(l=n.t(a,2)))[" use ".trim().toString()];function c(e){var t;return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===r&&"_payload"in e&&"object"==typeof(t=e._payload)&&null!==t&&"then"in t}function d(e){let t=function(e){let t=a.forwardRef((e,t)=>
1{let{children:n,...l}=e;if(c(n)&&"function"==typeof o&&(n=o(n._payload)),a.isValidElement(n)){var s;let e,r;let o=(s=n,(e=Object.getOwnPropertyDescriptor(s.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?s.ref:(e=Object.getOwnPropertyDescriptor(s,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?s.props.ref:s.props.ref||s.ref),c=function(e,t){let n={...t};for(let l in t){let a=e[l],i=t[l];/^on[A-Z]/.test(l)?a&&i?n[l]=(...e)=>{let t=i(...e);return a(...e),t}:a&&(n[l]=a):"style"===l?n[l]={...a,...i}:"className"===l&&(n[l]=[a,i].filter(Boolean).join(" "))}return{...e,...n}}(l,n.props);return n.type!==a.Fragment&&(c.ref=t?(0,i.F)(t,o):o),a.cloneElement(n,c)}return a.Children.count(n)>1?a.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}(e),n=a.forwardRef((e,n)=>{let{children:l,...i}=e;c(l)&&"function"==typeof o&&(l=o(l._payload));let r=a.Children.toArray(l),d=r.find(x);if(d){let e=d.props.children,l=r.map(t=>t!==d?t:a.Children.count(e)>1?a.Children.only(null):a.isValidElement(e)?e.props.children:null);return(0,s.jsx)(t,{...i,ref:n,children:a.isValidElement(e)?a.cloneElement(e,void 0,l):null})}return(0,s.jsx)(t,{...i,ref:n,children:l})});return n.displayName=`${e}.Slot`,n}var u=d("Slot"),m=Symbol("radix.slottable");function x(e){return a.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===m}},53732:function(e,t,n){"use strict";n.d(t,{fC:function(){return c}});var l=n(2265);n(54887);var a=n(37053),i=n(57437),s=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let n=(0,a.Z8)(`Primitive.${t}`),s=l.forwardRef((e,l)=>{let{asChild:a,...s}=e,r=a?n:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,i.jsx)(r,{...s,ref:l})});return s.displayName=`Primitive.${t}`,{...e,[t]:s}},{}),r=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),o=l.forwardRef((e,t)=>(0,i.jsx)(s.span,{...e,ref:t,style:{...r,...e.style}}));o.displayName="VisuallyHidden";var c=o}},function(e){e.O(0,[6137,2972,5061,600,1,2498,3213,9291,5274,1919,9806,638,8519,8382,235,7440,991,2971,2983,1744],function(){return e(e.s=5720)}),_N_E=e.O()}]);

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.