PageSourceSearch

https://tradeintelx.com/assets/MentorMenteeSwitcher-BaqMqfXN.js

js tradeintelx.com collected 2026-09-24 14:56:26 UTC 2,474 bytes, 1 lines download raw bytes

1import{o as d}from"./rolldown-runtime-ChpBd9eV.js";import{La as p,Ta as c}from"./chat-page-evUfHQgD.js";import{po as u}from"./market-core-DitXLvJ-.js";var h=d(p(),1),e=c(),j=()=>{const{inMentorMode:a=!1,activeMenteeId:r=null,mentees:s=[],exitMentorMode:n=()=>{},setActiveMentee:o=()=>{}}=u()||{};if(!a)return null;const i=s.find(t=>t.menteeId===r);return(0,e.jsxs)("div",{className:"mb-4 flex items-center justify-between rounded-lg border border-purple-500/40 bg-purple-900/20 px-4 py-3 shadow-lg",children:[(0,e.jsxs)("div",{className:"flex items-center gap-3",children:[(0,e.jsx)("div",{className:"flex h-10 w-10 items-center justify-center rounded-full bg-purple-600 text-white",children:(0,e.jsxs)("svg",{className:"h-5 w-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:[(0,e.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M15 12a3 3 0 11-6 0 3 3 0 016 0z"}),(0,e.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M2.458 12C3.732 7.943 7.523 5 12 5c4.478 0 8.268 2.943 9.542 7-1.274 4.057-5.064 7-9.542 7-4.477 0-8.268-2.943-9.542-7z"})]})}),(0,e.jsxs)("div",{children:[(0,e.jsxs)("div",{className:"flex items-center gap-2",children:[(0,e.jsx)("span",{className:"text-sm font-medium text-purple-300",children:"Mentor Mode"}),(0,e.jsx)("span",{className:"rounded-full bg-purple-700 px-2 py-0.5 text-xs font-semibold text-purple-100",children:"READ-ONLY"})]}),(0,e.jsxs)("div",{className:"text-xs text-purple-200",children:["Viewing: ",(0,e.jsx)("span",{className:"font-semibold",children:i?.menteeDisplayName||i?.displayName||r||"Select mentee"})]})]})]}),(0,e.jsxs)("div",{className:"flex items-center gap-2",children:[(0,e.jsxs)("select",{className:"rounded-md border border-purple-600 bg-purple-800/50 px-3 py-1.5 text-sm text-purple-100 transition-colors hover:bg-purple-800/70 focus:border-purple-400 focus:outline-none focus:ring-2 focus:ring-purple-500/50",value:r||"",onChange:t=>{const l=t.target.value;l&&o&&o(l)},children:[(0,e.jsx)("option",{value:"",disabled:!0,children:"Select mentee"}),s.map(t=>(0,e.jsx)("option",{value:t.menteeId,children:t.menteeDisplayName||t.displayName||t.menteeId},t.menteeId))]}),(0,e.jsx)("button",{className:"rounded-md bg-purple-700 px-3 py-1.5 text-sm font-medium text-purple-100 transition-colors hover:bg-purple-600 focus:outline-none focus:ring-2 focus:ring-purple-500/50",onClick:()=>n&&n(),children:"Exit Mentor Mode"})]})]})};export{j 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.