PageSourceSearch

https://softera.ai/assets/AIAgent-DU6u72Fq.js

js softera.ai collected 2026-10-05 15:08:03 UTC 19,033 bytes, 1 lines download raw bytes

1import{c as q,j as e,u as Q,r as u,m as P,a as N,A as K,b as R}from"./index-CLXOTad6.js";import{M as X,a as G}from"./mic-NWAT5BD1.js";import{S as Z,M as T}from"./send-CELuvK7U.js";import{C as L}from"./calendar-BBlIdlN_.js";const ee=[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"m21 3-7 7",key:"1l2asr"}],["path",{d:"m3 21 7-7",key:"tjx5ai"}],["path",{d:"M9 21H3v-6",key:"wtvkvv"}]],te=q("maximize-2",ee);const ae=[["path",{d:"m14 10 7-7",key:"oa77jy"}],["path",{d:"M20 10h-6V4",key:"mjg0md"}],["path",{d:"m3 21 7-7",key:"tjx5ai"}],["path",{d:"M4 14h6v6",key:"rmj7iw"}]],se=q("minimize-2",ae);const re=[["path",{d:"M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384",key:"9njp5v"}]],ne=q("phone",re);const oe=[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]],ie=q("user",oe);function le(s){const t=[];let r=s;for(;r.length>0;){const n=r.match(/^\[([^\]]+)\]\(([^)]+)\)/);if(n){const x=n[1],l=n[2].trim();l.startsWith("http://")||l.startsWith("https://")?t.push({type:"link",content:x,href:l}):t.push({type:"text",content:n[0]}),r=r.slice(n[0].length);continue}const d=r.match(/^(https?:\/\/[^\s)\]]+)/);if(d){const x=d[1];let l="Click here";x.includes("cal.com")?l="Schedule a call":x.includes("softera.ai")&&(l="Visit our site"),t.push({type:"link",content:l,href:x}),r=r.slice(d[0].length);continue}const i=r.match(/^\*\*([^*]+)\*\*/);if(i){t.push({type:"bold",content:i[1]}),r=r.slice(i[0].length);continue}const c=r.match(/^[_*]([^_*]+)[_*]/);if(c&&!r.startsWith("**")){t.push({type:"italic",content:c[1]}),r=r.slice(c[0].length);continue}const y=r[0];t.length>0&&t[t.length-1].type==="text"?t[t.length-1].content+=y:t.push({type:"text",content:y}),r=r.slice(1)}return t}function C(s){return s.replace(/\*{1,2}/g,"").replace(/_/g,"")}function ce(s){const t=s.replace(/\*\*([^*]*)\*/g,"**$1**").replace(/\*([^*]*)\*\*/g,"*$1*").replace(/\s_([^_]+)_\s/g," $1 ").replace(new RegExp("(?<!\\])\\(https?:\\/\\/[^)]+\\)(?!\\))","g"),"").replace(/\[[^\]]*$/g,"").replace(/\*{3,}/g,"**");return le(t).map((n,d)=>{switch(n.type){case"bold":return e.jsx("strong",{className:"font-semibold text-foreground",children:C(n.content)},d);case"italic":return e.jsx("em",{className:"italic",children:C(n.content)},d);case"link":return e.jsx("a",{href:n.href,target:"_blank",rel:"noopener noreferrer",className:"underline decoration-2 underline-offset-2 text-primary hover:text-primary/80 transition-colors font-medium cursor-pointer","data-testid":`link-${n.content.toLowerCase().replace(/\s+/g,"-")}`,children:C(n.content)},d);case"text":default:return e.jsx("span",{children:C(n.content)},d)}})}const H="data:image/webp;base64,UklGRroCAABXRUJQVlA4IK4CAAAQEgCdASqAAGYAPlEmkUWjoiGTeqxEOAUEsYBrqAvVD+D4fE4vYVju9VO268y37Aeu30gH9p/wHWLegB5a3sgftl6QGaX9gTdB4AVQc76PACry4qD/V6qhl+oFyUQJUHLIekq+pyby/JwfoxK67/40lXaa63r2ZzhBH1VvHjhEiwSz4hfXZ1vWIB6WWdA/evPTmjYACry7AAAA/vzsP1rWS8SwABVev2cwL/r/P+x6u2Hx1w3kxOy5+/HS4tiHLA44//80X+rn446yqgUk+rTEMMQ9jhUEWPVeanK+xHLdp0knZAmmE7tNRM+tJ96I1QO2rX/yspwftrlfVnWT6uOTxt7W6bpBjN9WP1ObsvsB3vJYVYmwf+JuiMdmwjib9PM69C/e8/3Y0yrQLfBnQRjYUm8hPiOH+d61UQ4rRNfcHfe7GXoCttwH//7AMUmDdwF+U3zBJdcS2rdf1kOR4fcyojSL93cxs1hVAgEIQWwbwxYm6lH8sjnsBMWIoH8clF9ok/3wcDbyFuf76C9Ar7vISIrJ/cqRqrlRWLcxH2EvWkgFaocANRqZdZHcjRcs/DwfHjHj77zw3qg+59jg9LSK8U+6L+cFj0ZYNPwllYnC9CqPUPLgT9QSB0mqryVLcvdPCUIJWsY8iPnkBRimP5fsAzguIP7yWIG+wOouNNIAVzyyJEZ3dkAOgkugdjUXIpWNNldWo43pSZXPF/2P7uJyTzDCKANRQw+ltHD6zW7Kgn4+XjjsNsCDD+t8luB+//kGSeHrLYYKaKvdDojK/vBCsWyU6YYprf4wn3W52v0LJmV2iIHTNk18+7NFtIFIwOcMQF/j4pcTeA30VMpx7Zi7bVqA8EJlj+2JR9iX4uIulpORRblSQw+6LXpOL2xpAjMjDd3GFgV3QAAAAAAAAA==";let w=null;const D=()=>{try{w||(w=new(window.AudioContext||window.webkitAudioContext)),w.state==="suspended"&&w.resume();const s=(r,n,d)=>{const i=w.createOscillator(),c=w.createGain();i.connect(c),c.connect(w.destination),i.frequency.value=r,i.type="sine",c.gain.setValueAtTime(0,n),c.gain.linearRampToValueAtTime(.08,n+.01),c.gain.exponentialRampToValueAtTime(.01,n+d),i.start(n),i.stop(n+d)},t=w.currentTime;s(600,t,.1),s(800,t+.1,.15)}catch{}},O="softera_chat_history",_="softera_conversation_id",de=s=>{try{const r=localStorage.getItem(O);if(r)return JSON.parse(r).map(d=>({...d,timestamp:new Date(d.timestamp)}))}catch(r){console.error("Failed to load conversation from localStorage:",r)}const t=[{id:"1",content:s,sender:"agent",timestamp:new Date}];try{localStorage.setItem(O,JSON.stringify(t))}catch(r){console.error("Failed to save default conversation to localStorage:",r)}return t},ue=()=>{try{return localStorage.getItem(_)||""}catch(s){return console.error("Failed to load conversation ID from localStorage:",s),""}},$=s=>{try{localStorage.setItem(O,JSON.stringify(s))}catch(t){console.error("Failed to save conversation to localStorage:",t)}},ge=s=>{try{localStorage.setItem(_,s)}catch(t){console.error("Failed to save conversation ID to localStorage:",t)}};function we({isRTL:s=!1}){const{t,i18n:r}=Q("common"),n=r.language||"en",d=t("sofia.welcomeMessage"),[i,c]=u.useState(()=>
1de(d)),[y,x]=u.useState(""),[l,S]=u.useState(!1),[he,fe]=u.useState(!1),[b,v]=u.useState(!1),[g,j]=u.useState(!1);u.useEffect(()=>{const a=()=>{[".cal-floating-button","[data-cal-namespace]","[data-cal-floating]",'iframe[src*="cal.com"]','iframe[src*="app.cal"]'].forEach(f=>{document.querySelectorAll(f).forEach(p=>{p.style.setProperty("display","none","important")})})},o=()=>{[".cal-floating-button","[data-cal-namespace]","[data-cal-floating]",'iframe[src*="cal.com"]','iframe[src*="app.cal"]'].forEach(f=>{document.querySelectorAll(f).forEach(p=>{p.style.removeProperty("display")})})};if(g){document.body.setAttribute("data-chat-fullscreen","true"),a();const h=setInterval(a,300);return()=>{clearInterval(h),document.body.removeAttribute("data-chat-fullscreen"),o()}}else document.body.removeAttribute("data-chat-fullscreen"),o()},[g]);const[A,F]=u.useState(ue()),E=u.useRef(null),B=u.useRef(null),m=u.useRef(null),U=()=>{requestAnimationFrame(()=>{E.current&&(E.current.scrollTop=E.current.scrollHeight)})};u.useEffect(()=>{U()},[i,l]),u.useEffect(()=>{$(i)},[i]),u.useEffect(()=>{A&&ge(A)},[A]),u.useEffect(()=>{if(i.length===1&&i[0].sender==="agent"){const a=t("sofia.welcomeMessage");if(i[0].content!==a){const o=[{...i[0],content:a}];c(o),$(o)}}},[n,t]),u.useEffect(()=>{if("webkitSpeechRecognition"in window||"SpeechRecognition"in window){const a=window.SpeechRecognition||window.webkitSpeechRecognition;m.current=new a,m.current.continuous=!1,m.current.interimResults=!1,m.current.lang=n,m.current.onresult=o=>{const h=o.results[0][0].transcript;x(f=>(f?f+" "+h:h).trim()),v(!1)},m.current.onerror=o=>{console.error("Speech recognition error:",o.error),v(!1)},m.current.onend=()=>{v(!1)}}return()=>{m.current&&m.current.stop()}},[n]);const J=()=>{if(!m.current){alert(t("sofia.voiceNotSupported"));return}if(b){try{m.current.stop()}catch(a){console.error("Error stopping recognition:",a)}v(!1)}else try{const a={en:"en-US",ar:"ar-SA",es:"es-ES",fr:"fr-FR",de:"de-DE",zh:"zh-CN",ja:"ja-JP",hi:"hi-IN",pt:"pt-BR",ru:"ru-RU",it:"it-IT",ko:"ko-KR",tr:"tr-TR",nl:"nl-NL",pl:"pl-PL"};m.current.lang=a[n]||n||"en-US",m.current.start(),v(!0)}catch(a){console.error("Error starting recognition:",a),alert(t("sofia.voiceFailed")),v(!1)}},V=async()=>{if(!y.trim())return;const a={id:Date.now().toString(),content:y,sender:"user",timestamp:new Date};c(o=>[...o,a]),x(""),S(!0);try{const o=i.slice(1).map(k=>({role:k.sender==="user"?"user":"assistant",content:k.content})),f=await(await fetch("/api/ai-chat",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({message:y,language:n,conversationHistory:o,conversationId:A})})).json();f.conversationId&&F(f.conversationId);const p={id:(Date.now()+1).toString(),content:f.reply||t("sofia.fallbackReply"),sender:"agent",timestamp:new Date};c(k=>[...k,p]),D()}catch(o){console.error("Error sending message:",o);const h={id:(Date.now()+1).toString(),content:t("sofia.connectionError"),sender:"agent",timestamp:new Date};c(f=>[...f,h]),D()}finally{S(!1)}},z=a=>{a.key==="Enter"&&!a.shiftKey&&(a.preventDefault(),V())},I=async a=>{if(!a.trim()||l)return;const o={id:Date.now().toString(),content:a,sender:"user",timestamp:new Date};c(h=>[...h,o]),S(!0);try{const h=i.slice(1).map(M=>({role:M.sender==="user"?"user":"assistant",content:M.content})),p=await(await fetch("/api/ai-chat",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({message:a,language:n,conversationHistory:h,conversationId:A})})).json();p.conversationId&&F(p.conversationId);const k={id:(Date.now()+1).toString(),content:p.reply||t("sofia.fallbackReply"),sender:"agent",timestamp:new Date};c(M=>[...M,k]),D()}catch(h){console.error("Error sending message:",h);const f={id:(Date.now()+1).toString(),content:t("sofia.connectionError"),sender:"agent",timestamp:new Date};c(p=>[...p,f]),D()}finally{S(!1)}},Y=[t("sofia.quickActions.aiSolutions"),t("sofia.quickActions.helpAutomation"),t("sofia.quickActions.scheduleDemo"),t("sofia.quickActions.pricing"),t("sofia.quickActions.integration")],W=e.jsxs("div",{dir:"ltr",className:N("w-full flex flex-col",g?"h-full overflow-hidden":"max-w-2xl mx-auto"),children:[e.jsx(P.div,{className:N("bg-white dark:bg-gray-800 shadow-lg p-4",g?"":"rounded-t-2xl"),initial:{opacity:0,y:20}
1,animate:{opacity:1,y:0},transition:{type:"tween",duration:.3,ease:"easeOut"},style:{isolation:"isolate"},children:e.jsxs("div",{className:`flex items-center gap-3 ${s?"flex-row-reverse":""}`,children:[e.jsxs("div",{className:"relative flex-shrink-0",children:[e.jsx("div",{className:"w-10 h-10 bg-white rounded-full flex items-center justify-center shadow-md overflow-hidden",children:e.jsx("img",{src:H,alt:"Sofia",width:32,height:32,loading:"eager",decoding:"async",className:"w-8 h-8 object-cover rounded-full"})}),e.jsx("div",{className:`absolute -bottom-1 ${s?"-left-1":"-right-1"} w-4 h-4 bg-green-500 rounded-full border-2 border-white dark:border-gray-800`})]}),e.jsxs("div",{className:`flex-1 ${s?"text-right":"text-left"}`,children:[e.jsx("h3",{className:"font-semibold text-gray-900 dark:text-white",children:t("sofia.name")}),e.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-400",children:t("sofia.role")})]}),e.jsx("button",{onClick:()=>j(!g),"aria-label":g?"Exit fullscreen":"Open fullscreen chat",title:g?"Exit fullscreen":"Fullscreen",className:"w-8 h-8 flex items-center justify-center rounded-full hover:bg-gray-100 dark:hover:bg-gray-700 text-gray-500 dark:text-gray-400 transition-colors flex-shrink-0",children:g?e.jsx(se,{className:"w-4 h-4"}):e.jsx(te,{className:"w-4 h-4"})})]})}),e.jsxs("div",{ref:E,className:N("bg-gray-50 dark:bg-gray-900 shadow-lg overflow-y-auto p-4 space-y-4 overscroll-contain",g?"flex-1":"h-80"),onWheel:a=>{a.stopPropagation()},onTouchMove:a=>{a.stopPropagation()},children:[e.jsx(K,{mode:"popLayout",initial:!1,children:i.map(a=>e.jsx(P.div,{layout:"position",initial:{opacity:0,y:10},animate:{opacity:1,y:0},exit:{opacity:0},transition:{type:"tween",duration:.2,ease:"easeOut"},style:{willChange:"auto",isolation:"isolate"},className:`flex ${a.sender==="user"?"justify-end":"justify-start"}`,children:e.jsxs("div",{className:`flex items-start gap-2 w-full sm:max-w-[85%] md:max-w-[80%] ${a.sender==="user"?"flex-row-reverse":"flex-row"}`,children:[a.sender==="agent"&&e.jsx("div",{className:"w-8 h-8 bg-white rounded-full flex items-center justify-center flex-shrink-0 shadow-sm overflow-hidden",children:e.jsx("img",{src:H,alt:"Sofia",width:24,height:24,loading:"lazy",decoding:"async",className:"w-6 h-6 object-cover rounded-full"})}),a.sender==="user"&&e.jsx("div",{className:"w-8 h-8 bg-gray-300 dark:bg-gray-600 rounded-full flex items-center justify-center flex-shrink-0",children:e.jsx(ie,{className:"w-4 h-4 text-gray-600 dark:text-gray-300"})}),e.jsxs("div",{className:N("px-4 py-2 rounded-2xl flex-1 min-w-0",a.sender==="user"?"bg-[#E01E5A] text-white shadow-md":"bg-white dark:bg-gray-800 text-gray-900 dark:text-white shadow-md"),"data-testid":`message-${a.id}`,children:[e.jsx("div",{className:"text-sm leading-relaxed break-words overflow-wrap-anywhere",dir:s?"rtl":"ltr",style:{textAlign:s?"right":"left",direction:s?"rtl":"ltr"},children:a.sender==="agent"?ce(a.content):a.content}),e.jsx("span",{className:"text-xs opacity-60 mt-1 block",style:{textAlign:s?"right":"left"},children:a.timestamp.toLocaleTimeString([],{hour:"2-digit",minute:"2-digit"})})]})]})},a.id))}),l&&e.jsx(P.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},transition:{type:"tween",duration:.2,ease:"easeOut"},style:{isolation:"isolate"},className:"flex justify-start",children:e.jsxs("div",{className:"flex items-start gap-2 flex-row",children:[e.jsx("div",{className:"w-8 h-8 bg-white rounded-full flex items-center justify-center shadow-sm overflow-hidden",children:e.jsx("img",{src:H,alt:"Sofia",width:24,height:24,loading:"lazy",decoding:"async",className:"w-6 h-6 object-cover rounded-full"})}),e.jsxs("div",{className:"bg-white dark:bg-gray-800 px-4 py-3 rounded-2xl shadow-md flex items-center gap-2",children:[e.jsxs("div",{className:"flex gap-1",children:[e.jsx("div",{className:"w-2 h-2 bg-primary rounded-full animate-bounce",style:{animationDelay:"0ms"}}),e.jsx("div",{className:"w-2 h-2 bg-primary rounded-full animate-bounce",style:{animationDelay:"150ms"}}),e.jsx("div",{className:"w-2 h-2 bg-primary rounded-full animate-bounce",style:{animationDelay:"300ms"}})]}),e.jsx("span",{className:"text-sm text-gray-600 dark:text-gray-400 font-medium",children:t("sofia.thinking")})]})]})}),e.jsx("div",{ref:B})]}),i.length<=2&&e.jsxs("div",{className:"bg-white dark:bg-gray-800 shadow-lg p-4",children:[e.jsx("p",{className:`text-sm text-gray-600 dark:text-gray-400 mb-3 ${s?"text-right":"text-left"}`,dir:s?"rtl":"ltr",children:t("sofia.quickSuggestions")}),e.jsx("div",{className:`flex flex-wrap gap-2 ${s?"justify-end":"justify-start"}`,children:Y.map((a,o)=>e.jsx("button",{onClick:()=>{g||j(!0),I(a)},disabled:l,"data-testid":`quick-action-${o}`,"aria-label":a,className:"px-3 py-1 text-sm bg-[#E01E5A]/10 dark:bg-[#E01E5A]/20 text-rose-700 dark:text-[#FF6B9D] rounded-full hover:bg-[#
1E01E5A]/20 dark:hover:bg-[#E01E5A]/30 transition-colors disabled:opacity-50 disabled:cursor-not-allowed",children:a},o))})]}),e.jsxs("div",{className:"bg-white dark:bg-gray-800 rounded-b-2xl shadow-lg p-4",children:[e.jsxs("div",{className:"relative",children:[e.jsx("textarea",{id:"sofia-message",name:"message",value:y,onChange:a=>{x(a.target.value);const o=a.target;requestAnimationFrame(()=>{o.style.height="auto",o.style.height=Math.min(o.scrollHeight,120)+"px"})},onKeyPress:z,onFocus:a=>{g||j(!0),a.currentTarget.scrollIntoView({behavior:"smooth",block:"nearest"})},placeholder:t("sofia.inputPlaceholder"),disabled:l,"data-testid":"chat-input",dir:s?"rtl":"ltr",className:`w-full px-4 py-3 ${s?"pl-24 pr-4":"pr-24 pl-4"} rounded-full resize-none bg-gray-100 dark:bg-gray-700 text-gray-900 dark:text-white placeholder-gray-500 dark:placeholder-gray-400 focus:outline-none focus:ring-2 focus:ring-[#E01E5A] shadow-sm hover:shadow-md transition-shadow disabled:opacity-50 disabled:cursor-not-allowed`,rows:1,style:{minHeight:"46px",maxHeight:"120px",textAlign:s?"right":"left",direction:s?"rtl":"ltr"}}),e.jsxs("div",{className:`absolute ${s?"left-2":"right-2"} top-1/2 transform -translate-y-1/2 flex items-center gap-1`,children:[e.jsx("button",{onClick:J,disabled:l,"data-testid":"voice-input-button","aria-label":t(b?"sofia.stopRecording":"sofia.startSpeaking"),"aria-pressed":b,className:N("w-8 h-8 rounded-full hover:scale-105 disabled:cursor-not-allowed disabled:hover:scale-100 transition-all flex items-center justify-center",b?"bg-red-500 text-white animate-pulse":"bg-gray-200 dark:bg-gray-600 text-gray-700 dark:text-gray-300 hover:bg-gray-300 dark:hover:bg-gray-500"),title:t(b?"sofia.stopRecording":"sofia.startSpeaking"),children:b?e.jsx(X,{className:"w-4 h-4"}):e.jsx(G,{className:"w-4 h-4"})}),e.jsx("button",{onClick:V,disabled:!y.trim()||l,"data-testid":"send-message-button","aria-label":t("sofia.sendMessage"),className:"w-8 h-8 bg-[#E01E5A] text-white rounded-full hover:bg-[#E01E5A]/90 hover:scale-105 disabled:bg-gray-300 dark:disabled:bg-gray-600 disabled:cursor-not-allowed disabled:hover:scale-100 transition-all flex items-center justify-center",title:t("sofia.sendMessage"),children:e.jsx(Z,{className:"w-4 h-4"})})]})]}),e.jsxs("div",{className:`flex flex-wrap gap-2 mt-3 ${s?"justify-end":"justify-start"}`,children:[e.jsxs("button",{onClick:()=>{g||j(!0),I(s?"أريد جدولة اجتماع لمناقشة الحلول":"I would like to schedule a meeting to discuss solutions")},disabled:l,"data-testid":"action-schedule-meeting","aria-label":s?"جدولة اجتماع لمناقشة الحلول":"Schedule a meeting to discuss solutions",className:`flex items-center gap-1 px-3 py-1 text-xs bg-blue-50 dark:bg-blue-900/20 text-blue-600 dark:text-blue-400 rounded-full hover:bg-blue-100 dark:hover:bg-blue-900/40 transition-colors disabled:opacity-50 disabled:cursor-not-allowed ${s?"flex-row-reverse":""}`,children:[e.jsx(L,{className:"w-3 h-3"}),s?"جدولة اجتماع":"Schedule Meeting"]}),e.jsxs("button",{onClick:()=>{g||j(!0),I(s?"أود طلب مكالمة من فريق المبيعات":"I would like to request a call from the sales team")},disabled:l,"data-testid":"action-request-call","aria-label":s?"طلب مكالمة من فريق المبيعات":"Request a call from sales team",className:`flex items-center gap-1 px-3 py-1 text-xs bg-green-50 dark:bg-green-900/20 text-green-700 dark:text-green-400 rounded-full hover:bg-green-100 dark:hover:bg-green-900/40 transition-colors disabled:opacity-50 disabled:cursor-not-allowed ${s?"flex-row-reverse":""}`,children:[e.jsx(ne,{className:"w-3 h-3"}),s?"طلب مكالمة":"Request Call"]}),e.jsxs("button",{onClick:()=>{g||j(!0),I(s?"أرسل لي المزيد من المعلومات عبر البريد الإلكتروني":"Send me more information via email")},disabled:l,"aria-label":s?"طلب المزيد من المعلومات عبر البريد الإلكتروني":"Request more information via email","data-testid":"action-email-info",className:`flex items-center gap-1 px-3 py-1 text-xs bg-[#E01E5A]/10 dark:bg-[#E01E5A]/20 text-rose-700 dark:text-[#FF6B9D] rounded-full hover:bg-[#
1E01E5A]/20 dark:hover:bg-[#E01E5A]/30 transition-colors disabled:opacity-50 disabled:cursor-not-allowed ${s?"flex-row-reverse":""}`,children:[e.jsx(T,{className:"w-3 h-3"}),s?"معلومات البريد الإلكتروني":"Email Info"]})]})]})]});return g?R.createPortal(e.jsx("div",{className:"fixed flex flex-col bg-white dark:bg-gray-900",style:{inset:0,width:"100vw",height:"100vh",zIndex:999999,top:0,left:0,right:0,bottom:0},children:W}),document.body):W}export{we 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.