1import{r as t,j as e}from"./react-vendor-KcpGDhDO.js";import{e as S,B as i,aD as h,D as k,h as u,n as B}from"./index-WFq09cu9.js";import{T as E}from"./textarea-BUNzb6oZ.js";import{a as R}from"./integrationsService-C7XYio51.js";import{E as L}from"./EventRoom-nkpE5tnO.js";import{C as A}from"./circle-check-big-B-PemlPR.js";import{C as $}from"./copy-D3q0MUkt.js";import{V as I}from"./video-Fq9eoEGr.js";import"./supabase-vendor-DqO-ystM.js";import"./ui-vendor-IRxhZ7TT.js";import"./animation-vendor-9EcIC_Dc.js";import"./scroll-area-BYha6nr7.js";import"./RoomUi-DItNTKJd.js";import"./message-square-49R3KflO.js";import"./send-fX-ZcCvT.js";import"./trash-2-Bs0HJa24.js";import"./image-plus-Ds-_YPHL.js";import"./palette-C_uQDUlw.js";import"./monitor-CnSqVts-.js";import"./video-off-DwNkHfI9.js";import"./mic-Be_sfG84.js";import"./radio-CybYtBCx.js";const M="drushim-demo",b=[{value:"recruiter",label:"××××ס/ת"},{value:"expert",label:"×××¢×¥/ת קר××ר×"},{value:"candidate",label:"×××¢××/ת"},{value:"general",label:"××××"}];function re(){const{user:o}=S(),[a,f]=t.useState("recruiter"),[r,j]=t.useState(""),[n,N]=t.useState(""),[m,c]=t.useState(!1),[v,d]=t.useState(!1),[g,x]=t.useState(!1),p=`${window.location.origin}/demo`,w=async()=>{c(!0);try{const l=`××ª× ×¢××ר ×××××× ×©× ×¤××פ×ר×ת ×ר×ש××-×¢××××ת ××××× ×ª×¡×¨×× ××××× ×§×¦×¨. 2×××§×× ×××: ${b.find(T=>T.value===a)?.label||a}. 3${r?`פר××× × ×ספ××: ${r}`:""} 4 5××× 6-7 × ×§×××ת ××××ר קצר×ת ××עש××ת ×××××ת ××ער×ת ×××§×× ××. 6×ת××§× ××¢×¨× ××××©× ×©××ער×ת × ××ª× ×ª ×ס×× ××§×× ××. 7×× × ×§××× - ××©×¤× ××× ×§×¦×¨ ××××ש×. ××× ××תר×ת, ××× ×ספר×× - רק × ×§×××ת (â¢).`,C=await R(l);N(C||"")}catch{u("ש×××× ×××× ×ª ×תסר××")}finally{c(!1)}},y=async()=>{try{await navigator.clipboard.writeText(p),x(!0),setTimeout(()=>x(!1),2500),B("×§×ש×ר ××××× × ××עתק")}catch{u("ש×××× ××עתק×")}};return v?e.jsx(L,{roomName:M,participantName:o?.user_metadata?.full_name||"Admin",participantIdentity:o?.id,canPublish:!0,isOwner:!0,onClose:()=>d(!1)}):e.jsx("div",{className:"min-h-screen bg-slate-950 text-white p-6",dir:"rtl",children:e.jsxs("div",{className:"max-w-2xl mx-auto space-y-8",children:[e.jsxs("div",{children:[e.jsx("h1",{className:"text-2xl font-bold",children:"××ר ××× - ××××ת ×ער×ת"}),e.jsx("p",{className:"text-slate-400 mt-1 text-sm",children:"××× ×ª×¡×¨××, ש×× ×§×ש×ר ×××§×× ××× ×¡ ×××ר."})]}),e.jsxs("div",{className:"rounded-2xl border border-white/10 bg-white/5 p-5 space-y-3",children:[e.jsx("p",{className:"text-sm font-semibold",children:"×§×ש×ר ×××× × ×××§××"}),e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("code",{className:"flex-1 rounded-xl bg-slate-900 px-4 py-2 text-sm text-blue-300 truncate",children:p}),e.jsx(i,{size:"sm",variant:"outline",className:"border-white/20 shrink-0",onClick:y,children:g?e.jsx(A,{className:"h-4 w-4 text-emerald-400"}):e.jsx($,{className:"h-4 w-4"})})]}),e.jsx("p",{className:"text-xs text-slate-500",children:"×××§×× ××§××× ×ת ש×× ×× ×× ×¡ - ××× ×רש××."})]}),e.jsxs("div",{className:"rounded-2xl border border-white/10 bg-white/5 p-5 space-y-4",children:[e.jsxs("p",{className:"text-sm font-semibold flex items-center gap-2",children:[e.jsx(h,{className:"h-4 w-4 text-amber-400"}),"××× ×ª תסר×× ××× ×¢× AI"]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx("p",{className:"text-xs text-slate-400",children:"ס×× ××§××"}),e.jsx("div",{className:"flex flex-wrap gap-2",children:b.map(s=>e.jsx("button",{type:"button",onClick:()=>f(s.value),className:`rounded-xl px-4 py-1.5 text-sm font-medium transition ${a===s.value?"bg-blue-600 text-white":"bg-white/5 text-slate-300 hover:bg-white/10"}`,children:s.label},s.value))})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx("p",{className:"text-xs text-slate-400",children:"פר××× × ×ספ×× ×¢× ×××§×× (××פצ××× ××)"}),e.jsx(E,{value:r,onChange:s=>j(s.target.value),placeholder:"××××××: ×××¨× ××××× ×ת××× ××××××§, ××××סת 20 ×¢××××× ××××ש...",className:"bg-slate-900 border-white/10 text-white placeholder:text-slate-600 resize-none",rows:2})]}),e.jsx(i,{onClick:w,disabled:m,className:"bg-amber-600 hover:bg-amber-700",children:m?e.jsxs(e.Fragment,{children:[e.jsx(k,{className:"me-2 h-4 w-4 animate-spin"}),"×××× ×ª×¡×¨××..."]}):e.jsxs(e.Fragment,{children:[e.jsx(h,{className:"me-2 h-4 w-4"}),"××× ×ª×¡×¨××"]})}),n&&e.jsx("div",{className:"rounded-xl bg-slate-900 p-4 space-y-1",children:n.split(` 8`).filter(s=>s.trim()).map((s,l)=>e.jsx("p",{className:"text-sm text-slate-200 leading-relaxed",children:s},l))})]}),e.jsxs(i,{className:"w-full bg-blue-600 hover:bg-blue-700 text-base py-6",onClick:()=>d(!0),children:[e.jsx(I,{className:"me-2 h-5 w-5"}),"×× ×¡ ×××ר ××××"]})]})})}export{re as default};
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.