import{r as i,j as s}from"./vendor-react-Dp9pL_Wn.js";import{r as e}from"./c62933a29-BojHUSii.js";import{f as o,B as t,P as r}from"./c6eedc03a-CsEFTfjy.js";import{u as n,C as a,B as m}from"./vendor-ant-cds-bBedrtIN.js";import{m as d}from"./vendor-motion-EDlUw66k.js";import"./caf7c7e06-DJYXCm3T.js";import"./vendor-zod-0xcuG3aM.js";import"./c60f5ad19-R8w-svgU.js";import"./vendor-base-5_f7mmWg.js";import"./c32c0d97f-BRKlKuDE.js";import"./ca4e68303-2GEI1XEE.js";import"./ce5824dc6-DCrxq2nV.js";import"./c393cb7f5-B9bpbpka.js";import"./c41323917-D2qX4YRv.js";import"./vendor-intl-D2wGIp4M.js";import"./c57c2877c-CDK50aMX.js";import"./cd78d010c-Dyg6Wpc_.js";import"./c5f3f4681-re2ND0pU.js";import"./vendor-base-ui-DNypCIlh.js";import"./vendor-radix-Ch96tRrt.js";import"./vendor-zustand-BeF8W8xk.js";import"./vendor-icons-CokWnmlw.js";import"./vendor-lodash-BvMLws5K.js";import"./vendor-router-qG5OCEmI.js";import"./vendor-query-BwvgHhJ1.js";import"./vendor-zod-v3-CZy0YPWu.js";import"./vendor-luxon-CZxT8ieM.js";import"./vendor-growthbook-C66YtMMX.js";import"./vendor-infra-DayZK7Ds.js";import"./vendor-virtual-DRz8lJfQ.js";const c=i.memo(({content:i,isResume:o,onCtaClick:c,onDismiss:j})=>{const p=n(50),l=o?i.resumeTitle:i.title,v=o?i.resumeMessage:i.message,u=o?i.resumeButtonText:i.buttonText,x=`/interviewer/${i.interviewType}`,f=e(i.pictogramName);return s.jsx(d.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},exit:{opacity:0,y:10},transition:{duration:.3},className:"fixed bottom-10 right-10",style:{zIndex:p},children:s.jsx(a,{children:s.jsx("div",{style:{maxWidth:580},children:s.jsx(t,{variant:"neutral",icon:f?s.jsx(r,{asset:f,size:"sm"}):null,action:s.jsx(m,{variant:"primary",href:x,target:"_blank",onClick:c,children:u}),onDismiss:j,children:s.jsxs("div",{children:[s.jsx("div",{className:"font-medium",children:l}),s.jsx("div",{children:v})]})})})})})});c.displayName="ClintInterviewV1Content";const j=i.memo(({content:e,enabled:t,onDismiss:r,onAction:n})=>{const a=e,{data:m,isLoading:d}=o(a.interviewType),j=i.useCallback(()=>{n()},[n]),p=i.useCallback(()=>{r()},[r]),l="in_progress"===m?.status;return d?null:t?s.jsx(c,{content:a,isResume:l,onCtaClick:j,onDismiss:p}):null});j.displayName="ClintInterviewV1";export{j as ClintInterviewV1,c as ClintInterviewV1Content};
