PageSourceSearch

https://www.delphi.ai/_next/static/chunks/232fganbfr83k.js?dpl=dpl_C5e4sgeG5aijLBQVBsjQhVF4yUUx

js delphi.ai collected 2026-09-24 17:43:15 UTC 101,680 bytes, 7 lines download raw bytes

1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="da31d3a8-c79e-813d-cab7-ae020d95b2c1")}catch(e){}}();
2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,402949,e=>{"use strict";var t=e.i(107762),n=e.i(121730),r=e.i(457907),a=e.i(891089);e.s(["pickSearchKindOf",0,function(e){return"name"===e.plannerIntent?"name":e.searchKind},"queryOriginOf",0,function(e){switch(e){case"typed":return"typed_enter";case"autocomplete":return"search_autocomplete";case"suggestion":return"search_suggestion";default:return e}},"querySourceForClient",0,function(e){switch(e){case"typed_enter":return"typed";case"search_autocomplete":case"search_suggestion":case"situation_card":case"perspective_card":case"person_card":return"suggestion";case"catalog_card":return"catalog";case"deep_link":return"deep_link";default:return e}},"searchQueryMetaOf",0,function(e){var t;let n=e.searchEngine??"matching";return{searchId:e.searchId??crypto.randomUUID(),searchEngine:n,searchKind:"perspective_card"===(t={searchEngine:n,origin:e.origin,questionId:e.questionId,categoryId:e.categoryId}).origin?"perspective":t.categoryId&&!t.questionId?"topic":"problem",questionId:e.questionId,categoryId:e.categoryId,queryText:e.text,querySource:function(e){switch(e){case"typed_enter":return"typed";case"search_autocomplete":return"autocomplete";case"search_suggestion":return"suggestion";case"catalog_card":case"situation_card":case"perspective_card":case"person_card":return"catalog_card";case"deep_link":return"deep_link";default:return e}}(e.origin)}},"trackSearchQuerySubmit",0,function(e){(0,n.recordLandingInteraction)("search"),(0,a.track)("search:query_submit",{...(0,n.discoverContext)(e.searchEngine),search_id:e.searchId,search_kind:e.searchKind,query_source:e.querySource,query_text:e.queryText,query_length:e.queryText.length,question_id:e.questionId,category_id:e.categoryId})},"trackSearchRefine",0,function(e){(0,n.recordLandingInteraction)("search"),(0,a.track)("search:refine_click",{...(0,n.discoverContext)(e.searchEngine??"matching"),search_id:e.searchId,action:e.action,follow_up_id:e.followUpId??null,option_id:e.optionId??null})},"trackSearchResultClick",0,function(e){let s={...(0,n.discoverContext)(e.searchEngine??"matching"),...(0,n.landingPick)({viaSearch:!0}),search_id:e.searchId,search_kind:e.searchKind,result_mode:e.resultMode,match_rank:e.matchRank,is_refined:e.isRefined,query_source:e.querySource};if("person"===e.resultKind){(0,r.recordPick)(e.targetUsername,(0,r.searchResultPick)({searchId:e.searchId,searchKind:e.searchKind,querySource:e.querySource})),(0,t.writeChatReferrer)({surface:"search",question_id:e.originQuestionId,search_kind:e.searchKind,message_source:e.messageSource,target_username:e.targetUsername}),(0,a.track)("search:result_click",{...s,result_kind:"person",click_target:e.clickTarget,owner_user_id:e.ownerUserId,target_username:e.targetUsername,question_id:null,category_id:null,message_source:e.messageSource});return}(0,a.track)("search:result_click",{...s,result_kind:e.resultKind,click_target:"search",owner_user_id:null,target_username:null,question_id:e.questionId,category_id:e.categoryId,message_source:"none"}),(0,n.recordLandingInteraction)("search")},"trackSearchResultsView",0,function(e){(0,a.track)("search:results_view",{...(0,n.discoverContext)(e.searchEngine??"matching"),search_id:e.searchId,search_kind:e.searchKind,result_mode:e.resultMode,outcome:e.failed?"error":e.resultCount>0?"results":"empty",result_count:e.resultCount,person_result_count:e.personResultCount,duration_ms:e.durationMs,search_intent:e.searchIntent})}])},19311,e=>{"use strict";var t=e.i(121730),n=e.i(457907),r=e.i(891089);e.s(["trackMindClick",0,function(e){(0,n.recordPick)(e.mind.slug,(0,n.landingMindPick)()),(0,r.track)("discover:mind_click",{...(0,t.discoverContext)(null),...(0,t.landingPick)({viaSearch:!1}),mind_id:e.mind.id,mind_slug:e.mind.slug,owner_user_id:e.mind.ownerUserId??null,click_source:e.source,click_target:e.target,list_position:e.position,topic_slug:e.topicSlug??null,question_text:e.questionText??null})},"trackSearchClick",0,function(){(0,t.recordLandingInteraction)("browse"),(0,r.track)("discover:search_click",{...(0,t.discoverContext)(null)})}])},673701,865515,766587,681513,858468,e=>{"use strict";var t=e.i(45113),n=e.i(413701),r=e.i(17772),a=e.i(779882),s=e.i(591401),i=e.i(288136),l=e.i(992763),o=e.i(636273),c=e.i(403773),u=e.i(12412),d=e.i(632137),h=e.i(280855);let m={autoComplete:"off",autoCorrect:"off",autoCapitalize:"off",spellCheck:!1,inputMode:"search",enterKeyHint:"search"};var p=e.i(119302);function f(e){let r,a,s,i,l,o,u=(0,n.c)(14),{status:h}=e,m="idle"===h?"opacity-100":"opacity-0";u[0]!==m?(r=(0,d.cn)(g,"text-fg-low",m),u[0]=m,u[1]=r):r=u[1],u[2]!==r?(a=(0,t.jsx)(c.MagnifyingGlassIcon,{"aria-hidden":!0,
2className:r}),u[2]=r,u[3]=a):a=u[3];let f="typing"===h;u[4]!==f?(s=(0,t.jsx)(x,{active:f}),u[4]=f,u[5]=s):s=u[5];let y="searching"===h?"opacity-100":"opacity-0";return u[6]!==y?(i=(0,d.cn)(g,"text-fg-mid",y),u[6]=y,u[7]=i):i=u[7],u[8]!==i?(l=(0,t.jsx)(p.Spinner,{className:i}),u[8]=i,u[9]=l):l=u[9],u[10]!==a||u[11]!==s||u[12]!==l?(o=(0,t.jsxs)("span",{className:"pointer-events-none absolute left-4 top-[19px] grid size-[18px] place-items-center",children:[a,s,l]}),u[10]=a,u[11]=s,u[12]=l,u[13]=o):o=u[13],o}let g="col-start-1 row-start-1 size-full transition-opacity duration-150 ease-[cubic-bezier(0.2,0,0,1)] motion-reduce:transition-none";function x(e){let r,a,s,i,l=(0,n.c)(8),{active:o}=e,c=o?"opacity-100":"opacity-0";return l[0]!==c?(r=(0,d.cn)(g,"flex items-center justify-center gap-[2.5px]",c),l[0]=c,l[1]=r):r=l[1],l[2]===Symbol.for("react.memo_cache_sentinel")?(a=[0,1,2],l[2]=a):a=l[2],l[3]!==o?(s=a.map(e=>(0,t.jsx)("span",{style:{animationDelay:`${140*e}ms`},className:(0,d.cn)("size-[3px] rounded-full bg-fg-low",o&&"motion-safe:animate-pulse")},e)),l[3]=o,l[4]=s):s=l[4],l[5]!==r||l[6]!==s?(i=(0,t.jsx)("span",{"aria-hidden":!0,className:r,children:s}),l[5]=r,l[6]=s,l[7]=i):i=l[7],i}let y=["Lenny Rachitsky","Executive coach","I keep waking up at 3am","I want to raise a Series A"],w="text-[16px] leading-6 font-normal",b="pointer-events-none invisible absolute inset-x-0 top-0 block whitespace-pre-wrap wrap-break-word py-4 pl-12",v={top:(0,u.createProgressiveSurfaceFade)("top"),bottom:(0,u.createProgressiveSurfaceFade)("bottom")};function S(e,t){let a,s,i,l,o=(0,n.c)(8),[c,u]=(0,r.useState)(56);return o[0]!==e?(a=()=>{let t=e.current;t&&u(t.getBoundingClientRect().height)},o[0]=e,o[1]=a):a=o[1],o[2]!==t||o[3]!==e?(s=[e,t],o[2]=t,o[3]=e,o[4]=s):s=o[4],(0,r.useLayoutEffect)(a,s),o[5]!==e?(i=()=>{let t=e.current;if(!t)return;let n=new ResizeObserver(()=>u(t.getBoundingClientRect().height));return n.observe(t),()=>n.disconnect()},l=[e],o[5]=e,o[6]=i,o[7]=l):(i=o[6],l=o[7]),(0,r.useLayoutEffect)(i,l),c}function k(e){return e.preventDefault()}function j(e){return(e+1)%y.length}e.s(["SearchField",0,function(e){let u,p,g,x,_,I,N,C,R,q,E,z,M,$,T,U,A,L,D,P,F,O,K,Q,B,H,V,W,J,Y,G,X,Z,ee,et,en=(0,n.c)(108),{value:er,onChange:ea,onOpen:es,onKeyDown:ei,onClear:el,inputRef:eo,status:ec,expanded:eu,listboxId:ed,activeId:eh,trailing:em,footer:ep,frameless:ef}=e,eg=void 0!==ef&&ef,ex=(0,i.useReducedMotion)(),[ey,ew]=(0,r.useState)(!1),eb=(0,r.useRef)(null),[ev,eS]=(0,r.useState)(0);en[0]===Symbol.for("react.memo_cache_sentinel")?(u=()=>{let e=eb.current;if(!e)return;let t=()=>eS(e.getBoundingClientRect().width);t();let n=new ResizeObserver(t);return n.observe(e),()=>n.disconnect()},p=[],en[0]=u,en[1]=p):(u=en[0],p=en[1]),(0,r.useLayoutEffect)(u,p);let ek=em?ev+36*!!er+24:void 0,ej=(0,r.useRef)(null),e_=(0,r.useRef)(null),eI=S(ej,`${ek}|${er}`),eN=S(e_,er),eC=(em?eI:eN)>56,eR=!!ep||eC&&!!em,eq=eR?8:16,eE=eC||eR?eN-(16-eq):56,ez=224-(16-eq),eM=eE>ez,e$=Math.min(eE,ez),eT=e$+40*!!eR+2*!eg,eU=(0,r.useRef)(null);en[2]!==eo?(g=()=>{let e=eU.current,t=eo.current;e&&t&&document.activeElement===t&&t.selectionStart===t.value.length&&(e.scrollTop=e.scrollHeight)},en[2]=eo,en[3]=g):g=en[3],en[4]!==eo||en[5]!==eE||en[6]!==er?(x=[eo,er,eE],en[4]=eo,en[5]=eE,en[6]=er,en[7]=x):x=en[7],(0,r.useLayoutEffect)(g,x),en[8]!==ei||en[9]!==er.length||en[10]!==eC?(_=e=>{let{selectionStart:t,selectionEnd:n}=e.currentTarget;eC&&function(e,t,n){switch(e){case"ArrowUp":return t.end>0;case"ArrowDown":return t.start<n;case"Home":case"End":return!0;default:return!1}}(e.key,{start:t,end:n},er.length)||ei(e)},en[8]=ei,en[9]=er.length,en[10]=eC,en[11]=_):_=en[11];let eA=_,[eL,eD]=(0,r.useState)(!1),[eP,eF]=(0,r.useState)(0),eO=0===er.length,eK=ey||eL||ex;en[12]!==eO||en[13]!==eK?(I=()=>{if(!eO||eK)return;let e=window.setInterval(()=>eF(j),3e3);return()=>window.clearInterval(e)},N=[eO,eK],en[12]=eO,en[13]=eK,en[14]=I,en[15]=N):(I=en[14],N=en[15]),(0,r.useEffect)(I,N);let eQ=y[eP%y.length];en[16]!==eT?(C={height:eT},en[16]=eT,en[17]=C):C=en[17],en[18]!==eg?(R=(0,d.cn)("group/field relative w-full overflow-hidden rounded-[28px] bg-surface-primary","transition-[height,border-color,box-shadow] duration-200 ease-[
2cubic-bezier(0.23,1,0.32,1)] motion-reduce:transition-none",eg?null:(0,d.cn)("border border-loud",h.shadow.subtle,"has-[:focus-visible]:border-focus has-[:focus-visible]:ring-1 has-[:focus-visible]:ring-focus")),en[18]=eg,en[19]=R):R=en[19],en[20]===Symbol.for("react.memo_cache_sentinel")?(q=()=>eD(!0),E=()=>eD(!1),en[20]=q,en[21]=E):(q=en[20],E=en[21]),en[22]!==ec?(z=(0,t.jsx)(f,{status:ec}),en[22]=ec,en[23]=z):z=en[23],en[24]!==eO||en[25]!==eQ||en[26]!==eR||en[27]!==ek||en[28]!==ex||en[29]!==em?(M=eO?(0,t.jsx)("span",{"aria-hidden":!0,style:{right:eR?void 0:ek},className:(0,d.cn)("pointer-events-none absolute left-12 top-0 flex h-14 items-center overflow-hidden",(eR||!em)&&"right-12"),children:ex?(0,t.jsx)("span",{className:"truncate text-[16px] leading-6 text-fg-low",children:y[0]}):(0,t.jsx)(a.AnimatePresence,{mode:"wait",initial:!1,children:(0,t.jsx)(s.motion.span,{initial:{opacity:0,y:6},animate:{opacity:1,y:0},exit:{opacity:0,y:-6},transition:{duration:.32,ease:[.23,1,.32,1]},className:"truncate text-[16px] leading-6 text-fg-low",children:eQ},eQ)})}):null,en[24]=eO,en[25]=eQ,en[26]=eR,en[27]=ek,en[28]=ex,en[29]=em,en[30]=M):M=en[30],en[31]!==ek||en[32]!==em||en[33]!==er?($=em?(0,t.jsxs)("span",{ref:ej,"aria-hidden":!0,style:{paddingRight:ek},className:(0,d.cn)(b,w),children:[er,"​"]}):null,en[31]=ek,en[32]=em,en[33]=er,en[34]=$):$=en[34],en[35]===Symbol.for("react.memo_cache_sentinel")?(T=(0,d.cn)(b,w,"pr-12"),en[35]=T):T=en[35],en[36]!==er?(U=(0,t.jsxs)("span",{ref:e_,"aria-hidden":!0,className:T,children:[er,"​"]}),en[36]=er,en[37]=U):U=en[37],en[38]!==e$?(A={height:e$},en[38]=e$,en[39]=A):A=en[39];let eB=eR?"scroll-pb-2":"scroll-pb-4";en[40]!==eB?(L=(0,d.cn)("scroll-pt-4",eB),en[40]=eB,en[41]=L):L=en[41],en[42]!==ea?(D=e=>ea(e.target.value),en[42]=ea,en[43]=D):D=en[43],en[44]!==es?(P=()=>{ew(!0),es()},en[44]=es,en[45]=P):P=en[45],en[46]===Symbol.for("react.memo_cache_sentinel")?(F=()=>ew(!1),en[46]=F):F=en[46];let eH=eR?void 0:ek;en[47]!==eH||en[48]!==eE?(O={paddingRight:eH,height:eE},en[47]=eH,en[48]=eE,en[49]=O):O=en[49];let eV=eR?"pb-2":"pb-4",eW=(eR||!em)&&"pr-12";return en[50]!==eV||en[51]!==eW?(K=(0,d.cn)("block w-full field-sizing-fixed overflow-hidden rounded-none pt-4 pl-12 text-fg-high md:text-[16px]",w,eV,eW,"autofill:[transition:background-color_9999s_ease-in-out_0s] autofill:[-webkit-text-fill-color:currentColor]"),en[50]=eV,en[51]=eW,en[52]=K):K=en[52],en[53]!==eh||en[54]!==eu||en[55]!==eA||en[56]!==eo||en[57]!==ed||en[58]!==es||en[59]!==D||en[60]!==P||en[61]!==O||en[62]!==K||en[63]!==er?(Q=(0,t.jsx)(o.Textarea,{ref:eo,...m,variant:"unstyled",rows:1,value:er,onChange:D,onFocus:P,onClick:es,onBlur:F,onKeyDown:eA,placeholder:"","aria-label":"Search Delphi",role:"combobox","aria-expanded":eu,"aria-controls":ed,"aria-activedescendant":eh,"aria-autocomplete":"list",style:O,className:K}),en[53]=eh,en[54]=eu,en[55]=eA,en[56]=eo,en[57]=ed,en[58]=es,en[59]=D,en[60]=P,en[61]=O,en[62]=K,en[63]=er,en[64]=Q):Q=en[64],en[65]!==L||en[66]!==Q?(B=(0,t.jsx)(l.ScrollAreaViewport,{ref:eU,className:L,children:Q}),en[65]=L,en[66]=Q,en[67]=B):B=en[67],en[68]!==eM||en[69]!==eq?(H=eM?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{"aria-hidden":!0,className:"pointer-events-none absolute inset-x-0 top-0",style:{height:16,backgroundImage:v.top}}),(0,t.jsx)("div",{"aria-hidden":!0,className:"pointer-events-none absolute inset-x-0 bottom-0",style:{height:eq,backgroundImage:v.bottom}})]}):null,en[68]=eM,en[69]=eq,en[70]=H):H=en[70],en[71]!==eq?(V={top:16,bottom:eq,right:4},en[71]=eq,en[72]=V):V=en[72],en[73]===Symbol.for("react.memo_cache_sentinel")?(W=(0,d.cn)("z-10 data-vertical:h-auto","opacity-0 transition-opacity duration-150 ease-out group-hover/field:opacity-100 group-focus-within/field:opacity-100 motion-reduce:transition-none"),en[73]=W):W=en[73],en[74]!==V?(J=(0,t.jsx)(l.ScrollBar,{style:V,className:W}),en[74]=V,en[75]=J):J=en[75],en[76]!==A||en[77]!==B||en[78]!==H||en[79]!==J?(Y=(0,t.jsxs)(l.ScrollAreaRoot,{type:"auto",style:A,className:"w-full",children:[B,H,J]}),en[76]=A,en[77]=B,en[78]=H,en[79]=J,en[80]=Y):Y=en[80],en[81]!==ev||en[82]!==eR||en[83]!==el||en[84]!==ex||en[85]!==em||en[86]!==er?(G=er?(0,t.jsx)(s.motion.button,{type:"button",onPointerDown:k,onClick:el,initial:{opacity:0,scale:.8}
2,animate:{opacity:1,scale:1},exit:{opacity:0,scale:.8,transition:{duration:.1}},transition:{duration:.15*!ex,ease:[.23,1,.32,1]},style:{right:em&&!eR?ev+16:12},className:(0,d.cn)("absolute top-3 flex size-8 items-center justify-center","rounded-full text-fg-low hover:text-fg-high","transition-[right,color] duration-200 ease-[cubic-bezier(0.23,1,0.32,1)] motion-reduce:transition-none","after:absolute after:left-1/2 after:top-1/2 after:size-11 after:-translate-x-1/2 after:-translate-y-1/2 after:content-['']"),"aria-label":"Clear search",children:(0,t.jsx)(c.XmarkIcon,{className:"size-4","aria-hidden":!0})},"clear"):null,en[81]=ev,en[82]=eR,en[83]=el,en[84]=ex,en[85]=em,en[86]=er,en[87]=G):G=en[87],en[88]!==G?(X=(0,t.jsx)(a.AnimatePresence,{initial:!1,children:G}),en[88]=G,en[89]=X):X=en[89],en[90]!==ev||en[91]!==ep||en[92]!==em?(Z=ep?(0,t.jsx)("div",{className:"pointer-events-none absolute bottom-2 left-12 flex h-8 items-center",style:{right:em?ev+24:12},children:ep}):null,en[90]=ev,en[91]=ep,en[92]=em,en[93]=Z):Z=en[93],en[94]!==eR||en[95]!==em?(ee=em?(0,t.jsx)("div",{ref:eb,className:(0,d.cn)("absolute right-3 flex h-8 items-center","transition-[bottom] duration-200 ease-[cubic-bezier(0.23,1,0.32,1)] motion-reduce:transition-none",eR?"bottom-2":"bottom-3"),children:em}):null,en[94]=eR,en[95]=em,en[96]=ee):ee=en[96],en[97]!==R||en[98]!==z||en[99]!==M||en[100]!==$||en[101]!==U||en[102]!==Y||en[103]!==X||en[104]!==Z||en[105]!==ee||en[106]!==C?(et=(0,t.jsxs)("div",{style:C,className:R,onPointerEnter:q,onPointerLeave:E,children:[z,M,$,U,Y,X,Z,ee]}),en[97]=R,en[98]=z,en[99]=M,en[100]=$,en[101]=U,en[102]=Y,en[103]=X,en[104]=Z,en[105]=ee,en[106]=C,en[107]=et):et=en[107],et}],673701);var _=e.i(432245),I=e.i(734840);function N(e){switch(e.visibleMatch.kind){case"name":return{secondLine:e.visibleMatch.secondLine,matchLine:"name"};case"headline":case"current_role":return{secondLine:e.visibleMatch.secondLine,matchLine:"second_line"};default:return e.visibleMatch}}function C(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function R(e,t){let n=(t.normalize("NFKD").replace(/\p{M}/gu,"").toLowerCase().match(/[\p{L}\p{N}]+/gu)??[]).filter(e=>e.length>=2);if(0===e.length||0===n.length)return[{text:e,marked:!1}];let r=function(e){let t="",n=[],r=[],a=0;for(let s of e){let e=a+s.length,i=s.normalize("NFKD").replace(/\p{M}/gu,"").toLowerCase();for(let s of(0===i.length&&r.length>0&&(r[r.length-1]=e),i))t+=s,n.push(a),r.push(e);a=e}return{text:t,starts:n,ends:r}}(e),a=[];for(let e of new Set(n)){let t=RegExp(`(?:^|[^\\p{L}\\p{N}])(${C(e)})`,"gu");for(let e of r.text.matchAll(t)){let t=e[1];if(!t)continue;let n=e.index+e[0].length-t.length,s=n+t.length-1,i=r.starts[n],l=r.ends[s];void 0!==i&&void 0!==l&&a.push({start:i,end:l})}}a.sort((e,t)=>e.start-t.start||e.end-t.end);let s=[],i=0;for(let t of a)t.start<i||(t.start>i&&s.push({text:e.slice(i,t.start),marked:!1}),s.push({text:e.slice(t.start,t.end),marked:!0}),i=t.end);return i<e.length&&s.push({text:e.slice(i),marked:!1}),s.length>0?s:[{text:e,marked:!1}]}e.s(["escapeRegExp",0,C,"markQuery",0,R,"personRowPresentation",0,N],865515);let q="motion-safe:animate-in motion-safe:fade-in-0 motion-safe:slide-in-from-top-1 motion-safe:fill-mode-both motion-safe:duration-200 motion-safe:ease-[cubic-bezier(0.23,1,0.32,1)]";function E(e){let r,a,s,i,l,o,c,u,h,m,p,f,g,x=(0,n.c)(41),{id:y,person:w,query:b,active:v,onActivate:S,onDeactivate:k,onSelect:j,index:C}=e,R=w.name||w.slug;x[0]!==w?(r=N(w),x[0]=w,x[1]=r):r=x[1];let E=r,M=v?void 0:S,$=`${30*C}ms`;x[2]!==$?(a={animationDelay:$},x[2]=$,x[3]=a):a=x[3];let T=v?"bg-sand-9/10":"hover:bg-sand-9/6";x[4]!==T?(s=(0,d.cn)(q,"flex cursor-pointer items-center gap-3 rounded-xl px-2.5 py-2 transition-colors duration-150","active:bg-sand-9/16",T),x[4]=T,x[5]=s):s=x[5],x[6]!==w.imageUrl?(i=w.imageUrl?(0,t.jsx)(_.AvatarImage,{src:w.imageUrl,alt:""}):null,x[6]=w.imageUrl,x[7]=i):i=x[7],x[8]!==R?(l=R.split(/\s+/).slice(0,2).map(e=>e.charAt(0).toUpperCase()).join(""),x[8]=R,x[9]=l):l=x[9],x[10]!==l?(o=(0,t.jsx)(_.AvatarFallback,{children:l}),x[10]=l,x[11]=o):o=x[11],x[12]!==i||x[13]!==o?(c=(0,t.jsxs)(_.Avatar,{size:"3xl",children:[i,o]}),x[12]=i,x[13]=o,x[14]=c):c=x[14],x[15]!==w.verified?(u=w.verified?(0,t.jsx)(I.VerifiedBadge,{size:"sm",className:"absolute -right-1 -top-1 rounded-full ring-2 ring-surface-primary"}):null,x[15]=w.verified,x[16]=u):u=x[16],x[17]!==c||x[18]!==u?(h=(0,t.jsxs)("span",{className:"relative shrink-0",children:[c,u]}),x[17]=c,x[18]=u,x[19]=h):h=x[19];let U="name"===E.matchLine;return x[20]!==R||x[21]!==b||x[22]!==U?(m=(0,t.jsx)(z,{text:R,query:b,matched:U,className:"truncate text-[14px] leading-tight",quiet:"text-fg-high",dimmed:"text-fg-low",loud:"font-medium text-fg-high"}),x[20]=R,x[21]=b,x[22]=U,x[23]=m):m=x[23],x[24]!==E.matchLine||x[25]!==E.secondLine||x[26]!==b?(p=E.secondLine?(0,t.jsx)(z,{text:E.secondLine,query:b,matched:"second_line"===E.matchLine,className:"mt-0.5 truncate text-[12px] leading-tight",quiet:"text-fg-mid",dimmed:"text-fg-low",loud:"font-medium text-fg-high"}):null,x[24]=E.matchLine,x[25]=E.secondLine,x[26]=b,x[27]=p):p=x[27],x[28]!==m||x[29]!==p?(f=(0,t.jsxs)("span",{className:"flex min-w-0 flex-1 flex-col",children:[m,p]}),x[28]=m,x[29]=p,x[30]=f):f=x[30],x[31]!==v||x[32]!==y||x[33]!==k||x[34]!==j||x[35]!==h||x[36]!==f||x[37]!==M||x[38]!==a||x[39]!==s?(g=(0,t.jsxs)("div",{id:y,role:"option","aria-selected":v,onPointerMove:M,onPointerLeave:k,onClick:j,style:a,className:s,children:[h,f]}),x[31]=v,x[32]=y,x[33]=k,x[34]=j,x[35]=h,x[36]=f,x[37]=M,x[38]=a,x[39]=s,x[40]=g):g=x[40],g}function z(e){let r,a,s,i=(0,n.c)(17),{text:l,query:o,matched:c,className:u,quiet:h,dimmed:m,loud:p}=e;if(i[0]!==u||i[1]!==m||i[2]!==p||i[3]!==c||i[4]!==o||i[5]!==h||i[6]!==l){let e,n=c?R(l,o):[{text:l,marked:!1}],s=n.some(M)?m:h;i[9]!==u||i[10]!==s?(r=(0,d.cn)(u,s),i[9]=u,i[10]=s,i[11]=r):r=i[11],i[12]!==p?(e=(e,n)=>(0,t.jsx)("span",{className:e.marked?p:void 0,children:e.text},n),i[12]=p,i[13]=e):e=i[13],a=n.map(e),i[0]=u,i[1]=m,i[2]=p,i[3]=c,i[4]=o,i[5]=h,i[6]=l,i[7]=r,i[8]=a}else r=i[7],a=i[8];return i[14]!==r||i[15]!==a?(s=(0,t.jsx)("span",{className:r,children:a}),i[14]=r,i[15]=a,i[16]=s):s=i[16],s}function M(e){return e.marked}function $(e){let r,a,s,i,l=(0,n.c)(11),{id:o,active:u,onActivate:h,onDeactivate:m,onSelect:p}=e,f=u?void 0:h,g=u?"bg-sand-9/10":"hover:bg-sand-9/6";return l[0]!==g?(r=(0,d.cn)("flex cursor-pointer items-center gap-2.5 rounded-xl px-2.5 py-2 transition-colors duration-150","active:bg-sand-9/16",g),l[0]=g,l[1]=r):r=l[1],l[2]===Symbol.for("react.memo_cache_sentinel")?(a=(0,t.jsx)(c.ArrowRightIcon,{className:"size-4 shrink-0 text-fg-low","aria-hidden":!0}),s=(0,t.jsx)("span",{className:"min-w-0 flex-1 truncate text-[14px] font-medium leading-snug text-fg-high",children:"Search all minds"}),l[2]=a,l[3]=s):(a=l[2],s=l[3]),l[4]!==u||l[5]!==o||l[6]!==m||l[7]!==
2p||l[8]!==f||l[9]!==r?(i=(0,t.jsxs)("div",{id:o,role:"option","aria-selected":u,onPointerMove:f,onPointerLeave:m,onClick:p,className:r,children:[a,s]}),l[4]=u,l[5]=o,l[6]=m,l[7]=p,l[8]=f,l[9]=r,l[10]=i):i=l[10],i}function T(e){let r,a,s,i,l,o=(0,n.c)(17),{id:u,suggestion:h,active:m,index:p,onActivate:f,onDeactivate:g,onSelect:x}=e,y=m?void 0:f,w=`${30*p}ms`;o[0]!==w?(r={animationDelay:w},o[0]=w,o[1]=r):r=o[1];let b=m?"bg-sand-9/10":"hover:bg-sand-9/6";return o[2]!==b?(a=(0,d.cn)(q,"flex cursor-pointer items-center gap-2.5 rounded-xl px-2.5 py-2 transition-colors duration-150","active:bg-sand-9/16",b),o[2]=b,o[3]=a):a=o[3],o[4]===Symbol.for("react.memo_cache_sentinel")?(s=(0,t.jsx)(c.MagnifyingGlassIcon,{className:"size-4 shrink-0 text-fg-low","aria-hidden":!0}),o[4]=s):s=o[4],o[5]!==h.term||o[6]!==h.text?(i=(0,t.jsx)("span",{className:"min-w-0 flex-1 truncate text-[14px] leading-snug text-fg-mid",children:(0,t.jsx)(U,{text:h.text,term:h.term})}),o[5]=h.term,o[6]=h.text,o[7]=i):i=o[7],o[8]!==m||o[9]!==u||o[10]!==g||o[11]!==x||o[12]!==y||o[13]!==r||o[14]!==a||o[15]!==i?(l=(0,t.jsxs)("div",{id:u,role:"option","aria-selected":m,onPointerMove:y,onPointerLeave:g,onClick:x,style:r,className:a,children:[s,i]}),o[8]=m,o[9]=u,o[10]=g,o[11]=x,o[12]=y,o[13]=r,o[14]=a,o[15]=i,o[16]=l):l=o[16],l}function U(e){let r,a,s,i=(0,n.c)(8),{text:l,term:o}=e;if(i[0]!==o||i[1]!==l){a=Symbol.for("react.early_return_sentinel");e:{let e=o.trim();if(0===e.length){let e;i[4]!==l?(e=(0,t.jsx)(t.Fragment,{children:l}),i[4]=l,i[5]=e):e=i[5],a=e;break e}r=l.split(RegExp(`(${C(e)})`,"iu")).map((n,r)=>n.toLowerCase()===e.toLowerCase()?(0,t.jsx)("span",{className:"font-medium text-fg-high underline decoration-tangerine-9 decoration-[1.5px] underline-offset-[3px]",children:n},r):(0,t.jsx)("span",{children:n},r))}i[0]=o,i[1]=l,i[2]=r,i[3]=a}else r=i[2],a=i[3];return a!==Symbol.for("react.early_return_sentinel")?a:(i[6]!==r?(s=(0,t.jsx)(t.Fragment,{children:r}),i[6]=r,i[7]=s):s=i[7],s)}function A(e){let r,a,s=(0,n.c)(6),{children:i,className:l,id:o}=e;return s[0]!==l?(r=(0,d.cn)("text-xs font-medium text-fg-low",l),s[0]=l,s[1]=r):r=s[1],s[2]!==i||s[3]!==o||s[4]!==r?(a=(0,t.jsx)("p",{id:o,className:r,children:i}),s[2]=i,s[3]=o,s[4]=r,s[5]=a):a=s[5],a}e.s(["EASE_OUT",0,[.19,1,.22,1],"ROW_ENTER",0,q],766587),e.s(["SearchPanel",0,function(e){let a,l,o,c,u,m,p,f,g,x,y,w,b,v,S,k,j,_,I,N,C=(0,n.c)(68),{shape:R,resultsQuery:q,people:z,suggestions:M,listboxId:U,activeKey:L,onActivate:D,onDeactivate:P,onPerson:F,onSuggestion:O,onSearchAll:K}=e,Q=(0,i.useReducedMotion)();C[0]!==L||C[1]!==U?(a=()=>{L&&document.getElementById(`${U}-${L}`)?.scrollIntoView({block:"nearest"})},l=[L,U],C[0]=L,C[1]=U,C[2]=a,C[3]=l):(a=C[2],l=C[3]),(0,r.useEffect)(a,l),C[4]===Symbol.for("react.memo_cache_sentinel")?(o={transformOrigin:"top center"},C[4]=o):o=C[4],C[5]!==Q?(c=Q?{opacity:0}:{opacity:0,y:-6,scale:.98,filter:"blur(2px)"},u=Q?{opacity:1}:{opacity:1,y:0,scale:1,filter:"blur(0px)"},m=Q?{opacity:0,transition:{duration:.12}}:{opacity:0,filter:"blur(2px)",transition:{duration:.13}},C[5]=Q,C[6]=c,C[7]=u,C[8]=m):(c=C[6],u=C[7],m=C[8]),C[9]===Symbol.for("react.memo_cache_sentinel")?(p={duration:.22,ease:[.32,.72,0,1]},C[9]=p):p=C[9],C[10]===Symbol.for("react.memo_cache_sentinel")?(f={duration:.22,ease:[.32,.72,0,1]},C[10]=f):f=C[10],C[11]===Symbol.for("react.memo_cache_sentinel")?(g={duration:.14,ease:[.23,1,.32,1]},C[11]=g):g=C[11],C[12]===Symbol.for("react.memo_cache_sentinel")?(x={y:p,scale:f,opacity:g,filter:{duration:.18,ease:[.23,1,.32,1]}},y=(0,d.cn)("absolute left-0 right-0 top-[calc(100%+8px)] z-20 flex max-h-[min(70svh,32rem)] flex-col overflow-hidden","rounded-[20px] bg-surface-primary",h.shadow.max),C[12]=x,C[13]=y):(x=C[12],y=C[13]),C[14]!==L||C[15]!==U||C[16]!==D||C[17]!==P||C[18]!==F||C[19]!==z||C[20]!==q||C[21]!==R.results?(w=R.results?(0,t.jsxs)("div",{role:"group","aria-labelledby":`${U}-people-label`,children:[(0,t.jsx)("div",{className:"px-4 pb-1 pt-3",children:(0,t.jsx)(A,{id:`${U}-people-label`,children:"People"})}),(0,t.jsx)("div",{className:"flex flex-col px-2",children:z.map((e,n)=>(0,t.jsx)(E,{id:`${U}-p:${e.slug}`,person:e,index:n,query:q,active:L===`p:${e.slug}`,onActivate:()=>D(`p:${e.slug}`),onDeactivate:()=>P(`p:${e.slug}`),onSelect:()=>F(e)},e.slug))})]}):null,C[14]=L,C[15]=U,C[16]=D,C[17]=P,C[18]=F,C[19]=z,C[20]=q,C[21]=R.results,C[22]=w):w=C[22];let B=R.helpLabel?`${U}-help-label`:void 0,H=R.helpLabel?void 0:"Suggested searches";C[23]!==U||C[24]!==R.helpLabel?(b=R.helpLabel?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"mx-4 mt-2 h-px bg-subtle"}),(0,t.jsx)(A,{id:`${U}-help-label`,className:"px-4 pb-1 pt-2.5",children:"Get Perspectives on"})]}):null,C[23]=U,C[24]=R.helpLabel,C[25]=b):b=C[25];let V=R.help&&"py-2";if(C[26]!==V?(v=(0,d.cn)("flex flex-col px-2",V),C[26]=V,C[27]=v):v=C[27],C[28]!==L||C[29]!==U||C[30]!==D||C[31]!==P||C[32]!==O||C[33]!==M){let e;C[35]!==L||C[36]!==U||C[37]!==D||C[38]!==P||C[39]!==O?(e=(e,n)=>(0,t.jsx)(T,{id:`${U}-q:${e.questionId}`,suggestion:e,index:n,active:L===`q:${e.questionId}`,onActivate:()=>D(`q:${e.questionId}`),onDeactivate:()=>P(`q:${e.questionId}`),onSelect:()=>O(e)},e.questionId),C[35]=L,C[36]=U,C[37]=D,C[38]=P,C[39]=O,C[40]=e):e=C[40],S=M.map(e),C[28]=L,C[29]=U,C[30]=D,C[31]=P,C[32]=O,C[33]=M,C[34]=S}else S=C[34];return C[41]!==v||C[42]!==S?(k=(0,t.jsx)("div",{className:v,children:S}),C[41]=v,C[42]=S,C[43]=k):k=C[43],C[44]!==B||C[45]!==H||C[46]!==b||C[47]!==k?(j=(0,t.jsxs)("div",{role:"group","aria-labelledby":B,"aria-label":H,children:[b,k]}),C[44]=B,C[45]=H,C[46]=b,C[47]=k,C[48]=j):j=C[48],C[49]!==L||C[50]!==U||C[51]!==D||C[52]!==P||C[53]!==K||C[54]!==R.help||C[55]!==R.results||C[56]!==R.searchAll?(_=R.searchAll?(0,t.jsxs)("div",{className:(0,d.cn)("px-2",R.results||R.help?"pb-2 pt-1":"py-1"),children:[R.results||R.help?(0,t.jsx)("div",{className:"mx-2 mb-1.5 h-px bg-subtle"}):null,(0,t.jsx)($,{id:`${U}-all`,active:"all"===L,onActivate:()=>D("all"),onDeactivate:()=>P("all"),onSelect:K})]}):null,C[49]=L,C[50]=U,C[51]=D,C[52]=P,C[53]=K,C[54]=R.help,C[55]=R.results,C[56]=R.searchAll,C[57]=_):_=C[57],C[58]!==U||C[59]!==w||C[60]!==j||C[61]!==_?(I=(0,t.jsxs)("div",{id:U,role:"listbox","aria-label":"Search results and suggestions",className:"flex min-h-0 flex-auto flex-col overflow-y-auto overscroll-contain",children:[w,j,_]}),C[58]=U,C[59]=w,C[60]=j,C[61]=_,C[62]=I):I=C[62],C[63]!==I||C[64]!==c||C[65]!==u||C[66]!==m?(N=(0,t.jsx)(s.motion.div,{style:o,initial:c,animate:u,exit:m,transition:x,className:y,children:I}),C[63]=I,C[64]=c,C[65]=u,C[66]=m,C[67]=N):N=C[67],N}],681513);var L=e.i(402949);e.s(["useTrackQuickResultsView",0,function(e){let t,a,s,i,l,o,c,u,d,h,m,p=(0,n.c)(21),{settledQuery:f,autocompleteResultCount:g,peopleResultCount:x,isRefining:y,peopleReady:w,autocompleteReady:b,searchDurationMs:v,searchRequestState:S}=e;p[0]===Symbol.for("react.memo_cache_sentinel")?(t=new Set,p[0]=t):t=p[0];let k=(0,r.useRef)(t);p[1]===Symbol.for("react.memo_cache_sentinel")?(a=new Map,p[1]=a):a=p[1];let j=(0,r.useRef)(a),_=(0,r.useRef)(null);p[2]===Symbol.for("react.memo_cache_sentinel")?(s=e=>{let t=e.trim().toLowerCase(),n=j.current.get(t);if(n)return n;let r=crypto.randomUUID();return j.current.set(t,r),r},p[2]=s):s=p[2];let I=s;p[3]===Symbol.for("react.memo_cache_sentinel")?(i=()=>{let e=_.current;if(e&&(_.current=null,!k.current.has(e.key))){var t;k.current.add(e.key),(0,L.trackSearchResultsView)({searchId:(t=e.view).searchId,searchKind:"name",searchIntent:null,resultMode:"quick",failed:"error"===t.searchRequestState,resultCount:t.autocompleteResultCount+t.peopleResultCount,personResultCount:t.peopleResultCount,durationMs:t.searchDurationMs})}},p[3]=i):i=p[3];let N=i,C=(0,r.useRef)(N);p[4]===Symbol.for("react.memo_cache_sentinel")?(l=()=>{C.current=N},p[4]=l):l=p[4],(0,r.useEffect)(l),p[5]!==f?(o=()=>(C.current(),I(f??"")),p[5]=f,p[6]=o):o=p[6];let R=o;return p[7]!==b||p[8]!==g||p[9]!==y||p[10]!==w||p[11]!==x||p[12]!==v||p[13]!==S||p[14]!==f?(c=()=>{var e,t;let n=null===(t={settledQuery:f,isRefining:y,peopleReady:w,autocompleteReady:b}).settledQuery?t.isRefining?"discard":t.autocompleteReady?"flush":"hold":t.peopleReady&&t.autocompleteReady?"arm":"hold";if("discard"===n){_.current=null;return}let r=f??_.current?.view.settledQuery??null,a=_.current&&null!==r?(e={pendingKey:_.current.key,key:r.toLowerCase()}).pendingKey===e.key?"keep":""===e.key?"flush":"discard":"keep";if(_.current&&null!==r&&"keep"===a&&(_.current={key:_.current.key,view:{searchId:I(r),settledQuery:r,autocompleteResultCount:g,peopleResultCount:x,searchDurationMs:v,searchRequestState:S}}),("flush"===n||"flush"===a)&&C.current(),"flush"===n||null===f)return;let s=f.toLowerCase();if("discard"===a&&(_.current=null),k.current.has(s)||(_.current={key:s,view:{searchId:I(f),settledQuery:f,autocompleteResultCount:g,peopleResultCount:x,searchDurationMs:v,searchRequestState:S}},"hold"===n))return;let i=setTimeout(()=>C.current(),1e3);return()=>clearTimeout(i)},u=[f,g,x,y,w,b,v,S,I],p[7]=b,p[8]=g,p[9]=y,p[10]=w,p[11]=x,p[12]=v,p[13]=S,p[14]=f,p[15]=c,p[16]=u):(c=p[15],u=p[16]),(0,r.useEffect)(c,u),p[17]===Symbol.for("react.memo_cache_sentinel")?(h=()=>()=>C.current(),d=[],p[17]=d,p[18]=h):(d=p[17],h=p[18]),(0,r.useEffect)(h,d),p[19]!==R?(m={searchIdForClick:R},p[19]=R,p[20]=m):m=p[20],m}],858468)},889054,608984,e=>{"use strict";let t={answered:[],skipped:[]};function n(e,t,n){let r=new Set(n),a=[];for(let n of e){if(!function(e,t){return!t.skipped.includes(e.id)&&!t.answered.some(t=>t.followUpId===e.id)}(n,t))continue;let e=function(e,t){return e.options.filter(e=>e.keep.some(e=>t.has(e)))}(n,r);e.length<2||a.push({...n,options:e})}return a}function r(e){let t=e.prompt?.trim()??"",n=e.chip?.trim()||e.label?.trim()||"";return t&&n?`${t} ${n}`:n||t}function a(e){return!!(e.whyTalk?.trim()||e.whyMatched?.trim())}e.s(["EMPTY_FUNNEL",0,t,"answeredChips",0,function(e){return e.answered.map(e=>({followUpId:e.followUpId,prompt:e.prompt,chip:e.chip}))},"funnelForRanking",0,function(e,n){if(0===n.length)return 0===e.answered.length&&0===e.skipped.length?e:t;let r=new Set(n.map(e=>e.id)),a=e.answered.filter(e=>r.has(e.followUpId)),s=e.skipped.filter(e=>r.has(e));return a.length===e.answered.length&&s.length===e.skipped.length?e:{answered:a,skipped:s}},"narrowMatches",0,function(e,t,n){let r=[...e];for(let e of n.answered){let n=t.find(t=>
2t.id===e.followUpId)?.options.find(t=>t.id===e.optionId);if(!n)continue;let a=new Set(n.keep);r=r.filter(e=>a.has(e.slug))}return r},"narrowingAnswerLine",0,r,"nextStep",0,function(e,t,r){return n(e,t,r)[0]??null},"remainingSteps",0,function(e,t,r){return n(e,t,r).length}],608984),e.s(["RESULT_CARD_COUNT",0,5,"firstPassExplainSettled",0,function(e){return!!e.alreadySettled||!e.rewrite&&(!!e.reasonsFetched||void 0!==e.phase&&"pool"!==e.phase&&!e.reasonsEnabled)},"foldAsk",0,function(e,t){let n=t.map(r).filter(e=>e.length>0);return(0===n.length?e.trim():`${e.trim()} ${n.join(" ")}`).slice(0,2e3)},"hasReason",0,a,"reasonSlotPending",0,function(e,t){return!a(e)&&(t.explaining||t.streaming)},"reasonsQueryRetention",0,{staleTime:1/0,gcTime:0,retry:!1},"reasonsStreamReady",0,function(e){return 0!==e.slugCount&&void 0!==e.phase&&"pool"!==e.phase&&(!!e.rewrite||"complete"===e.phase||!0===e.topSettled)},"rememberRefined",0,function(e,t){return e||t>0},"slugsToExplain",0,function(e,t,n=5){return t?e.slice(0,n).map(e=>e.slug):function(e,t=5){return e.slice(0,t).filter(e=>!a(e)).map(e=>e.slug)}(e,n)},"topCardsSettled",0,function(e,t,n=5){let r=new Set(t);return e.slice(0,n).every(e=>a(e)||r.has(e.slug))}],889054)},847728,636954,607046,539339,383347,868950,155408,323396,563810,e=>{"use strict";var t=e.i(45113),n=e.i(413701),r=e.i(413830),a=e.i(17772),s=e.i(968467),i=e.i(779882),l=e.i(591401),o=e.i(632137),c=e.i(673701),u=e.i(681513),d=e.i(858468),h=e.i(19311),m=e.i(402949),p=e.i(753015),f=e.i(286954),g=e.i(468435),x=e.i(593854);e.i(735134);var y=e.i(693184),w=e.i(164319);class b extends Error{requestDurationMs;constructor(e,t){super("People search failed",{cause:e}),this.requestDurationMs=t}}async function v({queryKey:e,signal:t}){let n=e[2],r=performance.now();try{let{data:e}=await (0,y.postSearchPeople)({body:{query:n,limit:25},signal:t,throwOnError:!0});return{query:n,people:e.data,requestDurationMs:Math.max(0,Math.round(performance.now()-r))}}catch(e){if(t.aborted)throw e;throw new b(e,Math.max(0,Math.round(performance.now()-r)))}}async function S(e,t,n){let r=await e({body:{prefix:t},signal:n,throwOnError:!0});return{prefix:t,suggestions:r.data.data.suggestions}}function k(e,t){let r,s,i,l=(0,n.c)(6);l[0]!==e?(r=e.trim(),l[0]=e,l[1]=r):r=l[1];let o=r,[c,u]=(0,a.useState)(o);return 0===o.length&&""!==c&&u(""),l[2]!==t||l[3]!==o?(s=()=>{if(0===o.length)return;let e=setTimeout(()=>u(o),t);return()=>clearTimeout(e)},i=[o,t],l[2]=t,l[3]=o,l[4]=s,l[5]=i):(s=l[4],i=l[5]),(0,a.useEffect)(s,i),0===o.length?"":c}var j=e.i(865515);let _=["Executive coach","Sequoia Capital"];function I(e){return e.categories.map(e=>e.questions.map(t=>({questionId:t.id,categoryId:e.id,text:t.text,faces:t.faces,matchCount:t.matchCount})))}function N(e,t){let n=t.toLowerCase(),r=n.split(/\s+/).filter(Boolean),a=e.filter(e=>e.text.toLowerCase()!==n&&r.every(t=>{var n;let r;return n=e.text,!!(r=n.toLowerCase()).startsWith(t)||RegExp(`(?:^|[^\\p{L}\\p{N}])${(0,j.escapeRegExp)(t)}`,"u").test(r)}));return[...a.filter(e=>e.text.toLowerCase().startsWith(n)),...a.filter(e=>!e.text.toLowerCase().startsWith(n))]}var C=e.i(374941);e.s(["SearchBar",0,function(e){var j;let R,q,E,z,M,$,T,U,A,L,D,P,F,O,K,Q,B,H,V,W,J,Y,G,X,Z=(0,n.c)(69),{initialQuery:ee,query:et,onSearch:en,onClear:er,onQueryChange:ea,trailing:es,footer:ei,frameless:el,dim:eo}=e,ec=void 0===eo?"dark":eo,eu=(0,s.useRouter)(),ed=(0,a.useId)(),eh=(0,a.useRef)(null),em=(0,a.useRef)(null),[ep,ef]=(0,a.useState)(void 0===ee?"":ee),eg=et??ep;Z[0]!==ea?(R=e=>{ef(e),ea?.(e)},Z[0]=ea,Z[1]=R):R=Z[1];let ex=R,[ey,ew]=(0,a.useState)(!1),[eb,ev]=(0,a.useState)(void 0),eS=(0,a.useRef)(!1);Z[2]===Symbol.for("react.memo_cache_sentinel")?(q=()=>{eS.current||(eS.current=!0,(0,h.trackSearchClick)(),ew(!0))},Z[2]=q):q=Z[2];let ek=q;Z[3]===Symbol.for("react.memo_cache_sentinel")?(E=()=>{eS.current=!1,ew(!1),ev(void 0)},Z[3]=E):E=Z[3];let ej=E,e_=k(eg,400),{people:eI,resultsQuery:eN,settled:eC,inFlight:eR,requestDurationMs:eq,requestState:eE}=function(e){let t,r=(0,n.c)(8),a=e.trim().slice(0,200),s=(0,w.isQuestionQuery)(a),i=a.length>=2&&!s,l=(0,x.useQuery)({...(0,g.queryOptions)({queryKey:["search","people",a],enabled:i,staleTime:3e5,queryFn:v}),placeholderData:f.keepPreviousData}),{data:o,isFetching:c}=l,u=i&&c;if(!i)return{people:[],resultsQuery:"",settled:s,inFlight:!1,requestDurationMs:null,requestState:"complete",isStaleResult:!1};let d=function({typed:e,answered:t}){let n=e.trim();return t?t.query===n?{rows:t.people,settled:!0}:{rows:n.startsWith(t.query)?t.people:[],settled:!1}:{rows:[],settled:!1}}({typed:a,answered:o}),h=o?.query===a,m=l.error instanceof b?l.error:null,p=d.rows.length>0?o?.query??"":a,y=l.isError?m?.requestDurationMs??null:h?o.requestDurationMs:null,S=l.isError?"error":h?"complete":"in_flight",k=!h&&d.rows.length>0;return r[0]!==u||r[1]!==d.rows||r[2]!==d.settled||r[3]!==p||r[4]!==y||r[5]!==S||r[6]!==k?(t={people:d.rows,resultsQuery:p,settled:d.settled,inFlight:u,requestDurationMs:y,requestState:S,isStaleResult:k},r[0]=u,r[1]=d.rows,r[2]=d.settled,r[3]=p,r[4]=y,r[5]=S,r[6]=k,r[7]=t):t=r[7],t}(e_),{suggestions:ez,inFlight:eM,ready:e$}=function(e){let t,r,a,s,i,l=(0,n.c)(20);l[0]!==e?(t=e.trim().replace(/\s+/g," ").slice(0,120),l[0]=e,l[1]=t):t=l[1];let o=t,c=k(o,180),u=o===c&&c.length>=2;if(l[2]!==u||l[3]!==o){let e;l[5]!==o?(e=e=>{let{signal:t}=e;return S(y.postSearchAutocomplete,o,t)},l[5]=o,l[6]=e):e=l[6],r=(0,g.queryOptions)({queryKey:["search","question-autocomplete",o],enabled:u,staleTime:36e5,retry:!1,queryFn:e}),l[2]=u,l[3]=o,l[4]=r}else r=l[4];l[7]!==r?(a={...r},l[7]=r,l[8]=a):a=l[8];let{data:d,isFetching:h}=(0,x.useQuery)(a);if(l[9]!==d||5!==l[10]||l[11]!==c||l[12]!==o){let e,t=function({typed:e,settled:t,answered:n}){let r=e.trim();return r!==t||n?.prefix!==r?[]:n.suggestions}({typed:o,settled:c,answered:d});l[14]!==o?(e=(e,t)=>({questionId:`autocomplete:${t}`,categoryId:"",text:e,term:o,faces:[],matchCount:0}),l[14]=o,l[15]=e):e=l[15],s=t.slice(0,5).map(e),l[9]=d,l[10]=5,l[11]=c,l[12]=o,l[13]=s}else s=l[13];let m=u&&h,p=o.length<2||o===c&&!h;return l[16]!==s||l[17]!==m||l[18]!==p?(i={suggestions:s,inFlight:m,ready:p},l[16]=s,l[17]=m,l[18]=p,l[19]=i):i=l[19],i}(eg),eT=eI.slice(0,4),eU=eg.trim(),eA=function(){let e,t=(0,n.c)(4),{catalog:r}=(0,C.useAdviceCatalog)();return t[0]!==r||5!==t[1]||""!==t[2]?(e=r?function(e){let t="".trim();if(0===t.length)return function(e,t){let n=_.map(e=>({questionId:`starter:${e}`,categoryId:"",text:e,term:"",faces:[],matchCount:0})),r=I(e),a=[],s=Math.max(0,...r.map(e=>e.length));for(let e=0;e<s&&a.length<t;e+=1)for(let n of r){let r=n[e];r&&a.length<t&&a.push({...r,term:""})}return[...n,...a].slice(0,t)}(e,5);let n=I(e).flat(),r=N(n,t);if(r.length>0)return r.slice(0,5).map(e=>({...e,term:t}));
2let a=function(e,t){let n=t.split(/\s+/).filter(Boolean);for(let t=n.length-1;t>=1;t-=1)for(let r of[n.slice(n.length-t).join(" "),n.slice(0,t).join(" ")]){let t=N(e,r);if(t.length>0)return{phrase:r,hits:t}}return null}(n,t);return a?a.hits.slice(0,5).map(e=>({...e,term:a.phrase})):[]}(r):[],t[0]=r,t[1]=5,t[2]="",t[3]=e):e=t[3],e}(),eL=0===eU.length?eA:ez,eD=eU.length>0&&(eU!==e_||eR||eM)?eU!==e_?"typing":"searching":"idle",eP=()=>{0!==eU.length&&(ej(),en(eU.slice(0,2e3),"typed"))},eF=()=>{(0,m.trackSearchResultClick)({searchId:eG(),searchKind:"name",resultMode:"quick",resultKind:"search_all",matchRank:eJ.length,querySource:null,isRefined:!1,questionId:null,categoryId:null}),eP()},eO=e=>{let t=e.categoryId?e.questionId:null,n=e.categoryId||null;(0,m.trackSearchResultClick)({searchId:eG(),searchKind:"name",resultMode:"quick",resultKind:"question",matchRank:eT.length+eL.indexOf(e)+1,querySource:null,isRefined:!1,questionId:t,categoryId:n}),ej(),en(e.text,0===eU.length?"suggestion":"autocomplete",{questionId:t,categoryId:n})},eK=e=>{(0,m.trackSearchResultClick)({searchId:eG(),searchKind:"name",resultMode:"quick",resultKind:"person",clickTarget:"profile",matchRank:eT.findIndex(t=>t.slug===e.slug)+1,querySource:null,isRefined:!1,targetUsername:e.slug,ownerUserId:null,messageSource:"none",originQuestionId:null}),ej(),(0,p.storeSearchReturn)(e.slug),eu.push((0,r.referralNavigation)(`/${encodeURIComponent(e.slug)}`))},eQ=(J=(j={opened:ey,typed:eU,peopleCount:eT.length,suggestionCount:eL.length}).typed.trim().length>0,Y=j.peopleCount>0,G=j.suggestionCount>0,{open:X=j.opened&&(Y||G||J),results:X&&Y,help:X&&G,helpLabel:X&&Y&&G,searchAll:X&&J}),eB=eQ.open,[eH,eV]=(0,a.useState)(!1),eW=eB||eH,eJ=[...eT.map(e=>({key:`p:${e.slug}`,run:()=>eK(e)})),...eL.map(e=>{var t;return{key:(t=e.questionId,`q:${t}`),run:()=>eO(e)}}),...eQ.searchAll?[{key:"all",run:eF}]:[]],{searchIdForClick:eY}=(0,d.useTrackQuickResultsView)({settledQuery:eB?e_:null,autocompleteResultCount:eL.length,peopleResultCount:eT.length,isRefining:eU!==e_,peopleReady:e_.length<2||eC||"error"===eE,autocompleteReady:e$,searchDurationMs:eq,searchRequestState:eE}),eG=eY;Z[4]!==ey?(z=()=>{if(!ey)return;let e=e=>{em.current?.contains(e.target)||ej()};return document.addEventListener("pointerdown",e),()=>document.removeEventListener("pointerdown",e)},M=[ey,ej],Z[4]=ey,Z[5]=z,Z[6]=M):(z=Z[5],M=Z[6]),(0,a.useEffect)(z,M),Z[7]===Symbol.for("react.memo_cache_sentinel")?(T=()=>{let e=e=>{!(e.metaKey||e.ctrlKey)||"k"!==e.key.toLowerCase()||e.defaultPrevented||e.repeat||(e.preventDefault(),eh.current?.focus(),ek())};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},$=[ek],Z[7]=$,Z[8]=T):($=Z[7],T=Z[8]),(0,a.useEffect)(T,$),Z[9]!==eb||Z[10]!==eJ?(U=e=>{if(0===eJ.length)return;let t=eb?eJ.findIndex(e=>e.key===eb):-1;if(t<0)return void ev(e>0?eJ[0]?.key:eJ.at(-1)?.key);let n=t+e;if(n<0)return ev(void 0);ev(eJ[Math.min(n,eJ.length-1)]?.key)},Z[9]=eb,Z[10]=eJ,Z[11]=U):U=Z[11];let eX=U;Z[12]!==eb||Z[13]!==eX||Z[14]!==er||Z[15]!==eJ||Z[16]!==eP||Z[17]!==ex||Z[18]!==eB?(A=e=>{switch(e.key){case"ArrowDown":return e.preventDefault(),ek(),eX(1);case"ArrowUp":return e.preventDefault(),ek(),eX(-1);case"Home":if(!eB)return;return e.preventDefault(),ev(eJ[0]?.key);case"End":if(!eB)return;return e.preventDefault(),ev(eJ.at(-1)?.key);case"Enter":{if(e.nativeEvent.isComposing||e.shiftKey)return;e.preventDefault();let t=eJ.find(e=>e.key===eb);return t?t.run():eP()}case"Escape":if(e.preventDefault(),eB)return void ej();ex(""),er?.();return;default:return}},Z[12]=eb,Z[13]=eX,Z[14]=er,Z[15]=eJ,Z[16]=eP,Z[17]=ex,Z[18]=eB,Z[19]=A):A=Z[19];let eZ=A,e0=eW&&"z-[45]";Z[20]!==e0?(L=(0,o.cn)("relative isolate w-full",e0),Z[20]=e0,Z[21]=L):L=Z[21],Z[22]!==eV?(D=()=>eV(!1),Z[22]=eV,Z[23]=D):D=Z[23],Z[24]!==ec||Z[25]!==eV||Z[26]!==eB?(P=eB&&"none"!==ec?(0,t.jsx)(l.motion.div,{"aria-hidden":!0,onPointerDown:ej,onAnimationStart:()=>eV(!0),initial:{opacity:0}
2,animate:{opacity:1},exit:{opacity:0,transition:{duration:.15}},transition:{duration:.2,ease:[.23,1,.32,1]},className:(0,o.cn)("fixed inset-0","light"===ec?"bg-sand-1/70":"bg-black/30")}):null,Z[24]=ec,Z[25]=eV,Z[26]=eB,Z[27]=P):P=Z[27],Z[28]!==D||Z[29]!==P?(F=(0,t.jsx)(i.AnimatePresence,{onExitComplete:D,children:P}),Z[28]=D,Z[29]=P,Z[30]=F):F=Z[30],Z[31]!==ex?(O=e=>{ex(e),ev(void 0),ek()},Z[31]=ex,Z[32]=O):O=Z[32],Z[33]!==er||Z[34]!==ex?(K=()=>{ex(""),ev(void 0),er?.(),eh.current?.focus()},Z[33]=er,Z[34]=ex,Z[35]=K):K=Z[35];let e1=eb?`${ed}-${eb}`:void 0;Z[36]!==ei||Z[37]!==el||Z[38]!==ed||Z[39]!==eZ||Z[40]!==eg||Z[41]!==eB||Z[42]!==eD||Z[43]!==O||Z[44]!==K||Z[45]!==e1||Z[46]!==es?(Q=(0,t.jsx)("div",{className:"relative z-10",children:(0,t.jsx)(c.SearchField,{value:eg,onChange:O,onOpen:ek,onKeyDown:eZ,onClear:K,trailing:es,footer:ei,frameless:el,inputRef:eh,status:eD,expanded:eB,listboxId:ed,activeId:e1})}),Z[36]=ei,Z[37]=el,Z[38]=ed,Z[39]=eZ,Z[40]=eg,Z[41]=eB,Z[42]=eD,Z[43]=O,Z[44]=K,Z[45]=e1,Z[46]=es,Z[47]=Q):Q=Z[47];let e2=eB&&eC&&eN.length>0?`${eT.length} ${1===eT.length?"person":"people"} for ${eN}`:"";return Z[48]!==e2?(B=(0,t.jsx)("span",{role:"status","aria-live":"polite",className:"sr-only",children:e2}),Z[48]=e2,Z[49]=B):B=Z[49],Z[50]!==eb||Z[51]!==ed||Z[52]!==eK||Z[53]!==eN||Z[54]!==eF||Z[55]!==eO||Z[56]!==eQ||Z[57]!==eB||Z[58]!==eT||Z[59]!==eL?(H=eB?(0,t.jsx)(u.SearchPanel,{shape:eQ,resultsQuery:eN,people:eT,suggestions:eL,listboxId:ed,activeKey:eb,onActivate:ev,onDeactivate:e=>ev(t=>t===e?void 0:t),onPerson:eK,onSuggestion:eO,onSearchAll:eF}):null,Z[50]=eb,Z[51]=ed,Z[52]=eK,Z[53]=eN,Z[54]=eF,Z[55]=eO,Z[56]=eQ,Z[57]=eB,Z[58]=eT,Z[59]=eL,Z[60]=H):H=Z[60],Z[61]!==H?(V=(0,t.jsx)(i.AnimatePresence,{children:H}),Z[61]=H,Z[62]=V):V=Z[62],Z[63]!==L||Z[64]!==F||Z[65]!==Q||Z[66]!==B||Z[67]!==V?(W=(0,t.jsxs)("div",{ref:em,className:L,children:[F,Q,B,V]}),Z[63]=L,Z[64]=F,Z[65]=Q,Z[66]=B,Z[67]=V,Z[68]=W):W=Z[68],W}],636954);var R=e.i(288136);let q={shown:!1,pass:0,long:!1};function E(e){return{...e,long:!0}}function z(e){return{...e,shown:!0}}var M=e.i(723142);function $(e){let t=e.question?.id??null;return{catalogId:null!=e.question&&e.text===e.question.text?t:null,originQuestionId:t??e.originQuestionId??null}}function T(e){return{matchesKey:["search","matches",e.catalogId,e.text,e.originQuestionId],funnelKey:["search","funnel",e.catalogId,e.text,e.originQuestionId],askKey:`${e.catalogId??""}\0${e.text}\0${e.originQuestionId??""}`}}var U=e.i(608984);function A(){return U.EMPTY_FUNNEL}var L=e.i(178918),D=e.i(454643);async function P(e){let t=e.response.body;if(!t)throw Error(e.missingBodyMessage);let n=t.getReader(),r=new TextDecoder,a="",s=async t=>{t.trim()&&(e.onEvent(e.parse(t)),await new Promise(e=>{let t=globalThis.requestAnimationFrame;t?t(()=>e()):setTimeout(e,0)}))};try{for(;;){let{done:e,value:t}=await n.read();if(e)break;let i=(a+=r.decode(t,{stream:!0})).split("\n");for(let e of(a=i.pop()??"",i))await s(e)}await s(a)}finally{n.releaseLock()}}function F(e){return e.reason instanceof Error?e.reason:new DOMException("The operation was aborted.","AbortError")}var O=e.i(817422);let K=O.z.enum(["name","role","situation","situation_role","mixed"]),Q=O.z.enum(["none","no_valid_indices","error","name_short_circuit","empty_pool"]),B=O.z.string().min(1).max(32),H=O.z.discriminatedUnion("type",[O.z.object({type:O.z.literal("pool"),people:O.z.array(D.zSearchMatchPerson),searchId:B.optional()}),O.z.object({type:O.z.literal("ranked"),people:O.z.array(D.zSearchMatchPerson),searchId:B.optional(),intent:K.optional(),rewriteId:O.z.uuid().optional(),rankFallback:Q.optional()}),O.z.object({type:O.z.literal("reason"),slug:O.z.string(),whyTalk:O.z.string().nullable(),whyMatched:O.z.string().nullable(),topics:O.z.array(O.z.string()).optional()}),O.z.object({type:O.z.literal("headline"),slug:O.z.string(),headline:O.z.string()}),O.z.object({type:O.z.literal("followUps"),followUps:O.z.array(D.zSearchFollowUp)}),O.z.object({type:O.z.literal("complete"),count:O.z.number().int(),searchId:B.optional(),intent:K.optional(),rewriteId:O.z.uuid().optional(),rank
2Fallback:Q.optional()}),O.z.object({type:O.z.literal("error"),message:O.z.string()})]);function V(e){return H.parse(JSON.parse(e))}let W={people:[],followUps:[],followUpsSettled:!1,ranked:!1,complete:!1,intent:null,rewriteId:null,searchId:null,explainedSlugs:[],rankFallback:null};async function J(e,t={}){let{response:n}=await L.client.post({url:"/search/matches/stream",body:e,headers:{"Content-Type":"application/json"},parseAs:"stream",signal:t.signal});if(!n.ok)throw Error(`Could not search matches (${n.status})`);let r=W;if(await P({response:n,missingBodyMessage:"Search matches stream returned no body",parse:V,onEvent:e=>{if("error"===e.type)throw Error(e.message);r=function(e,t){switch(t.type){case"pool":if(e.ranked)return e;return{...e,people:t.people,searchId:t.searchId??e.searchId};case"ranked":return{...e,people:t.people,ranked:!0,intent:t.intent??e.intent,rewriteId:t.rewriteId??e.rewriteId,searchId:t.searchId??e.searchId,explainedSlugs:[],rankFallback:t.rankFallback??e.rankFallback};case"reason":{let n=e.people.some(e=>e.slug===t.slug);return{...e,people:e.people.map(e=>e.slug===t.slug?{...e,whyTalk:t.whyTalk,whyMatched:t.whyMatched,topics:t.topics??e.topics}:e),explainedSlugs:n&&!e.explainedSlugs.includes(t.slug)?[...e.explainedSlugs,t.slug]:e.explainedSlugs}}case"headline":return{...e,people:e.people.map(e=>e.slug===t.slug&&null===e.headline?{...e,headline:t.headline}:e)};case"followUps":return{...e,followUps:t.followUps,followUpsSettled:!0};case"complete":return{...e,complete:!0,followUpsSettled:!0,intent:t.intent??e.intent,rewriteId:t.rewriteId??e.rewriteId,searchId:t.searchId??e.searchId,rankFallback:t.rankFallback??e.rankFallback};case"error":return e;default:return t}}(r,e),t.onSnapshot?.(r)}}),!r.complete&&!t.signal?.aborted)throw Error("Search matches stream ended before completion");return r}async function Y(e){let{response:t}=await L.client.post({url:"/search/narrow",body:e,headers:{"Content-Type":"application/json"}});if(!t.ok)throw Error(`Could not record narrowed ranking (${t.status})`)}let G=O.z.discriminatedUnion("type",[O.z.object({type:O.z.literal("reason"),slug:O.z.string(),whyTalk:O.z.string().nullable(),whyMatched:O.z.string().nullable(),topics:O.z.array(O.z.string()).optional()}),O.z.object({type:O.z.literal("complete"),count:O.z.number().int()}),O.z.object({type:O.z.literal("error"),message:O.z.string()})]);function X(e){return G.parse(JSON.parse(e))}async function Z(e,t={}){let{response:n}=await L.client.post({url:"/search/reasons/stream",body:e,headers:{"Content-Type":"application/json"},parseAs:"stream",signal:t.signal});if(!n.ok)throw Error(`Could not explain search matches (${n.status})`);let r=null;await P({response:n,missingBodyMessage:"Search reasons stream returned no body",parse:X,onEvent:e=>{if(!t.signal?.aborted){if("error"===e.type)throw Error(e.message);"reason"===e.type&&t.onReason?.(e),"complete"===e.type&&(r={count:e.count})}}});var a=r,s=t.signal;if(s?.aborted)throw F(s);if(!a)throw Error("Search reasons stream ended before completion");return a}var ee=e.i(85114),et=e.i(889054);function en(e,t){if(!t)return e;let n=new Map(t.people.map(e=>[e.slug,e])),r=null!==t.explainingRunId;return{...e,explainingSlugs:t.explainingSlugs,explainingRunId:t.explainingRunId,people:e.people.map(e=>{let t=n.get(e.slug);return!t||(0,et.hasReason)(e)&&!(r&&(0,et.hasReason)(t))||!(0,et.hasReason)(t)?e:{...e,whyTalk:t.whyTalk,whyMatched:t.whyMatched,topics:t.topics??e.topics}})}}class er extends Error{clientDurationMs;phase;constructor(e,t,n){super((0,ee.errorMessage)(e,"Search failed"),{cause:e}),this.clientDurationMs=t,this.phase=n}}let ea=[],es=[],ei=[];function el(e,t){return{count:e.people.length,people:e.people,followUps:e.followUps,phase:e.complete?"complete":e.ranked?"ranked":"pool",clientDurationMs:t,plannerIntent:e.intent,explainingSlugs:[],explainingRunId:null,rewriteId:e.rewriteId??void 0,searchId:e.searchId??void 0,explainedSlugs:e.explainedSlugs,rankFallback:e.rankFallback}}async function eo(e){let t=performance.now(),n=void 0===e.client.getQueryData(e.queryKey),r=null;try{let a=await J(e.body,{signal:e.signal,...n?{onSnapshot:n=>{let a=el(n,Math.max(0,Math.round(performance.now()-t)));r=a.phase,e.client.setQueryData(e.queryKey,e=>en(a,e))}}:void 0}),s=el(a,Math.max(0,Math.round(performance.now()-t)));return en(s,e.client.getQueryData(e.queryKey))}catch(n){if(e.signal.aborted)throw n;throw new er(n,Math.max(0,Math.round(performance.now()-t)),r)}}var ec=e.i(650561),eu=e.i(670102),ed=e.i(119302),eh=e.i(766587);let em=["Finding people who've been here","Reading what each of them did","Putting the closest ones first"];function ep(e){let r,a,s,o,c,u,d=(0,n.c)(13),{pass:h,long:m}=e,p=(0,R.useReducedMotion)(),f=m?"Still looking — this one is less common":`${em[Math.min(h,em.length-1)]}…`;d[0]===Symbol.for("react.memo_cache_sentinel")?(r=(0,t.jsx)(ed.Spinner,{className:"size-3.5 shrink-0 text-fg-mid"}),d[0]=r):r=d[0],d[1]!==p?(a=p?{opacity:0}
2:{opacity:0,y:4},d[1]=p,d[2]=a):a=d[2],d[3]===Symbol.for("react.memo_cache_sentinel")?(s={opacity:1,y:0},d[3]=s):s=d[3],d[4]!==p?(o=p?{opacity:0}:{opacity:0,y:-4,transition:{duration:.14}},d[4]=p,d[5]=o):o=d[5];let g=p?.15:.28;return d[6]!==g?(c={duration:g,ease:eh.EASE_OUT},d[6]=g,d[7]=c):c=d[7],d[8]!==a||d[9]!==o||d[10]!==c||d[11]!==f?(u=(0,t.jsxs)("div",{className:"flex h-[26px] min-w-0 items-center gap-2","aria-live":"polite",children:[r,(0,t.jsx)("div",{className:"relative min-w-0 flex-1",children:(0,t.jsx)(i.AnimatePresence,{mode:"popLayout",initial:!1,children:(0,t.jsx)(l.motion.p,{initial:a,animate:s,exit:o,transition:c,className:"truncate text-[13.5px] leading-5 text-fg-mid",children:f},f)})})]}),d[8]=a,d[9]=o,d[10]=c,d[11]=f,d[12]=u):u=d[12],u}function ef(){let e,r,a,s,i=(0,n.c)(4);return i[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)(eu.Skeleton,{className:"size-14 shrink-0 rounded-2xl"}),i[0]=e):e=i[0],i[1]===Symbol.for("react.memo_cache_sentinel")?(r=(0,t.jsxs)("div",{className:"flex min-w-0 items-center gap-4",children:[e,(0,t.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,t.jsx)(eu.Skeleton,{className:"h-6 w-44 rounded-md"}),(0,t.jsx)(eu.Skeleton,{className:"mt-2 h-4 w-56 max-w-[80%] rounded-md"})]}),(0,t.jsx)(eu.Skeleton,{className:"h-9 w-16 shrink-0 rounded-full"})]}),i[1]=r):r=i[1],i[2]===Symbol.for("react.memo_cache_sentinel")?(a=(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)(eu.Skeleton,{className:"h-5 w-28 rounded-[6px]"}),(0,t.jsx)(eu.Skeleton,{className:"h-5 w-36 rounded-[6px]"})]}),i[2]=a):a=i[2],i[3]===Symbol.for("react.memo_cache_sentinel")?(s=(0,t.jsx)(ec.Card,{children:(0,t.jsxs)(ec.CardContent,{className:"flex flex-col gap-4",children:[r,a,(0,t.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,t.jsx)(eu.Skeleton,{className:"h-3.5 w-full rounded-md"}),(0,t.jsx)(eu.Skeleton,{className:"h-3.5 w-3/4 rounded-md"})]})]})}),i[3]=s):s=i[3],s}function eg(e){let r,a,s,i,o,c,u,d=(0,n.c)(12),{pass:h,long:m}=e,p=(0,R.useReducedMotion)();return d[0]!==p?(r=!p&&{opacity:0},d[0]=p,d[1]=r):r=d[1],d[2]===Symbol.for("react.memo_cache_sentinel")?(a={opacity:1},s={duration:.25,ease:eh.EASE_OUT},d[2]=a,d[3]=s):(a=d[2],s=d[3]),d[4]!==m||d[5]!==h?(i=(0,t.jsx)(ep,{pass:h,long:m}),d[4]=m,d[5]=h,d[6]=i):i=d[6],d[7]===Symbol.for("react.memo_cache_sentinel")?(o=(0,t.jsx)("div",{className:"mt-5 flex h-8 items-center",children:(0,t.jsx)("h3",{className:"text-lg font-medium text-fg-mid",children:"Top matches"})}),d[7]=o):o=d[7],d[8]===Symbol.for("react.memo_cache_sentinel")?(c=(0,t.jsx)("ul",{className:"mt-3 flex flex-col gap-3","aria-hidden":"true",children:Array.from({length:3},ex)}),d[8]=c):c=d[8],d[9]!==r||d[10]!==i?(u=(0,t.jsxs)(l.motion.div,{role:"status","aria-label":"Finding the right people for you",initial:r,animate:a,transition:s,className:"mx-auto w-full max-w-md lg:max-w-[42rem]",children:[i,o,c]}),d[9]=r,d[10]=i,d[11]=u):u=d[11],u}function ex(e,n){return(0,t.jsx)("li",{style:{opacity:1-.18*n},children:(0,t.jsx)(ef,{})},n)}var ey=e.i(8651);e.i(668431);var ew=e.i(981831),eb=e.i(403773),ev=e.i(563740),eS=e.i(679893),ek=e.i(432245),ej=e.i(211547),e_=e.i(734840);function eI(e){let r,s,i,l,c,u,d,h,m=(0,n.c)(23),{lead:p,label:f,unit:g,className:x,style:y}=e,w=(0,a.useRef)(null),b=(0,a.useRef)(null),[v,S]=(0,a.useState)(null),k=null!=p&&""!==p;m[0]!==k?(r=()=>{let e=w.current,t=b.current;if(!k||!e||!t)return;let n=()=>S({width:e.offsetWidth,notch:t.offsetWidth+10});n();let r=new ResizeObserver(n);return r.observe(e),r.observe(t),()=>r.disconnect()},s=[k],m[0]=k,m[1]=r,m[2]=s):(r=m[1],s=m[2]),(0,a.useLayoutEffect)(r,s);let j=k?"brand-tag-split":"brand-tag-single";if(m[3]!==x||m[4]!==j?(i=(0,o.cn)("brand-tag",j,x),m[3]=x,m[4]=j,m[5]=i):i=m[5],m[6]!==v||m[7]!==k){var _,I;let e,n,r,a;l=k&&v?(0,t.jsx)("svg",{className:"brand-tag-shape",width:v.width,height:24,viewBox:`0 0 ${v.width} 24`,"aria-hidden":"true",children:(0,t.jsx)("path",{d:(_=v.width,I=v.notch,n=[I-(e=Math.sqrt(86.25))+2/9.5*e,2-2/9.5*2],r=[I+e-2/9.5*e,2-2/9.5*2],a=(e,t)=>`${e.toFixed(2)} ${t.toFixed(2)}`,`M ${a(6,0)} L ${a(I-e,0)} A 2 2 0 0 1 ${a(n[0],n[1])} A 7.5 7.5 0 0 0 ${a(r[0],r[1])} A 2 2 0 0 1 ${a(I+e,0)} L ${a(_-6,0)} A 6 6 0 0 1 ${a(_,6)} L ${a(_,18)} A 6 6 0 0 1 ${a(_-6,24)} L ${a(I+e,24)} A 2 2 0 0 1 ${a(r[0],24-r[1])} A 7.5 7.5 0 0 0 ${a(n[0],24-n[1])} A 2 2 0 0 1 ${a(I-e,24)} L ${a(6,24)} A 6 6 0 0 1 ${a(0,18)} L ${a(0,6)} A 6 6 0 0 1 ${a(6,0)} Z`),fill:"currentColor"})}):null,m[6]=v,m[7]=k,m[8]=l}else l=m[8];return m[9]!==p||m[10]!==k?(c=k?(0,t.jsx)("span",{ref:b,className:"brand-tag-lead",children:p}):null,m[9]=p,m[10]=k,m[11]=c):c=m[11],m[12]!==g?(u=g?(0,t.jsx)("span",{className:"brand-tag-unit",children:g}):null,m[12]=g,m[13]=u):u=m[13],m[14]!==f||m[15]!==u?(d=(0,t.jsxs)("span",{className:"brand-tag-label",children:[f,u]}
2),m[14]=f,m[15]=u,m[16]=d):d=m[16],m[17]!==y||m[18]!==i||m[19]!==l||m[20]!==c||m[21]!==d?(h=(0,t.jsxs)("span",{ref:w,className:i,style:y,children:[l,c,d]}),m[17]=y,m[18]=i,m[19]=l,m[20]=c,m[21]=d,m[22]=h):h=m[22],h}e.s(["BrandTag",0,eI],607046);let eN=O.z.discriminatedUnion("type",[O.z.object({type:O.z.literal("delta"),text:O.z.string()}),O.z.object({type:O.z.literal("complete"),perspective:O.z.string().min(1)}),O.z.object({type:O.z.literal("unavailable")}),O.z.object({type:O.z.literal("error"),message:O.z.string()})]);function eC(e){return eN.parse(JSON.parse(e))}let eR={text:"",result:null};async function eq(e,t={}){let{response:n}=await L.client.post({url:"/perspective/stream",body:e,headers:{"Content-Type":"application/json"},parseAs:"stream",signal:t.signal});if(!n.ok)throw Error(`Could not fetch perspective (${n.status})`);let r=eR;await P({response:n,missingBodyMessage:"Perspective stream returned no body",parse:eC,onEvent:e=>{if(!t.signal?.aborted){if("error"===e.type)throw Error(e.message);r=function(e,t){switch(t.type){case"delta":return e.result?e:{...e,text:e.text+t.text};case"complete":return{text:t.perspective,result:{status:"complete",perspective:t.perspective}};case"unavailable":return{text:"",result:{status:"unavailable"}};default:return t}}(r,e),t.onText?.(r.text)}}});var a=r,s=t.signal;if(s?.aborted)throw F(s);if(!a.result)throw Error("Perspective stream ended before completion");return a.result}let eE={status:"loading"},ez={status:"hidden"};function eM(e){if(!e)return"";let t=(e.facts??[]).map(e=>e.trim()).filter(Boolean),n=e.source??"";return n||0!==t.length?JSON.stringify({source:n,facts:t}):""}let e$=function(e=eq){let t=new Map;function n(e){let t=eM(e.context);return t?`${e.username}
3${e.question.trim()}
4${t}`:`${e.username}
5${e.question.trim()}`}function r(e,t,n=!1){e.state=t,e.failed=n;for(let t of e.listeners)t()}function a(e){return t.get(n(e))?.state??eE}return{get:a,subscribe(a,s){let i,l,o=n(a),c=t.get(o)??(i={state:eE,failed:!1,listeners:new Set},t.set(o,i),e((l=a.question.trim(),!a.context||!eM(a.context)?{username:a.username,question:l}:{username:a.username,question:l,context:a.context}),{onText:e=>{"complete"===i.state.status||"hidden"===i.state.status||0!==e.length&&r(i,{status:"streaming",text:e})}}).then(e=>{r(i,"complete"===e.status?{status:"complete",perspective:e.perspective}:ez)}).catch(()=>{r(i,ez,!0)}),i);return c.listeners.add(s),c.state!==eE&&s(),()=>{c.listeners.delete(s),0===c.listeners.size&&c.failed&&t.delete(o)}},completed(e){let t=a(e);return"complete"===t.status?t.perspective:null}}}(),eT={status:"hidden"};var eU=e.i(45174);let eA="focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-brand-accent",eL=/\b(single|married|divorced|dating|widowed|engaged|boyfriend|girlfriend|spouse|partnered)\b/i,eD=/\b(founded|sold|raised|author|book|patent|award|prize|medal|laureate|fellow(?:ship)?|bestsell\w*|board of|invested|featured|(?:semi)?finalist|never missed|phd|survivor|nobel|pulitzer|yc|y combinator|nyt|harvard|stanford|mit|series [a-c]|ipo|acquired)\b/i,eP=/\b(helping|passionate|empowering|dedicated|mission|i help|we help|making the|building a better|on a journey|thought leader|striving|inspired|here to)\b/i;function eF(e){return e.toLowerCase().replace(/[^a-z0-9]+/g," ").trim()}function eO(e){return eF(e).replace(/\b(?:at|of)\b/g," ").replace(/\s+/g," ").trim()}function eK(e,t){if(e.split(/\s+/).filter(Boolean).length<2)return!0;let n=eF(e);if(/^\d{4}(?:\s+\d{2,4})?$/.test(n))return!0;let r="\\d+\\s+(?:ways|reasons|tips|steps|things|secrets|lessons|habits|rules|signs|mistakes|myths|keys|hacks|ideas|strategies|principles)";if(RegExp(`^${r}(?:\\s+and\\s+${r})*$`).test(n))return!0;if(!t)return!1;let a=eF(e),s=eF(t);if(!a||!s)return!1;if(a===s||s.startsWith(`${a} `))return!0;let i=eO(e),l=eO(t);return!!(i&&l&&(i===l||l.startsWith(`${i} `)))}function eQ(e){var t,n;let r;return{primary:(t=e.whyTalk,n=e.headline?.trim(),!(r=t?.trim()??"")||eK(r,n)?"":r)}}function eB(e){let t=e.headline?.trim(),n=new Set,r=[];for(let s of[e.whyMatched,...e.topics]){var a;let i=s?.trim()??"";if(!i||(a=e.name,!(!(eK(i,t)||function(e,t){let n=eF(e),r=eF(t);if(!n||!r)return!1;if(n===r)return!0;let a=r.split(" ")[0];return!!(a&&a.length>=3&&n===a)}(i,a)||eL.test(i)||/^(being|recently)\b/i.test(i)||/\b(followers?|subscribers?|likes|impressions|engagement)\b/i.test(i))&&!(i.split(/\s+/).filter(
5Boolean).length>10)&&(/\d/.test(i)||eD.test(i)||!eP.test(i)))))continue;let l=eF(i);if(!n.has(l)&&(n.add(l),r.push(i),3===r.length))break}return r}var eH=e.i(871089),eV=e.i(730684),eW=e.i(184055),eJ=e.i(992763),eY=e.i(765918),eG=e.i(760044);e.i(552132);var eX=e.i(810578),eZ=e.i(326903),e0=e.i(10243);function e1(e){let a,s,i,l=(0,n.c)(12),{match:c,onProfileOpen:u,decorative:d,className:h,children:m,"aria-label":p}=e,f=void 0!==d&&d;l[0]!==c.slug?(a=(0,eZ.profilePath)(c.slug),l[0]=c.slug,l[1]=a):a=l[1];let g=f?void 0:p,x=f||void 0,y=f?-1:void 0;return l[2]!==h?(s=(0,o.cn)("group/identity rounded-lg",eA,h),l[2]=h,l[3]=s):s=l[3],l[4]!==m||l[5]!==u||l[6]!==a||l[7]!==g||l[8]!==x||l[9]!==y||l[10]!==s?(i=(0,t.jsx)(r.AttributionLink,{href:a,prefetch:!1,onClick:u,"aria-label":g,"aria-hidden":x,tabIndex:y,className:s,children:m}),l[4]=m,l[5]=u,l[6]=a,l[7]=g,l[8]=x,l[9]=y,l[10]=s,l[11]=i):i=l[11],i}let e2="underline-offset-2 decoration-fg-low group-hover/identity:underline",e3={preset:"brisk",contentMove:!1};function e4(e){return{...(0,eV.getUsersByUsernameOptions)({path:{username:e}}),staleTime:3e5}}function e5(e){let r,s,i,l,c,u,d=(0,n.c)(22),{match:h,onProfileOpen:m,className:p,children:f}=e,g=(0,eX.useSilkBreakpoint)("(max-width: 649px), (hover: none)");if((0,a.useSyncExternalStore)(e7,e8,e6)&&g){let e;return d[0]!==f||d[1]!==p||d[2]!==h||d[3]!==m?(e=(0,t.jsx)(te,{match:h,onProfileOpen:m,className:p,children:f}),d[0]=f,d[1]=p,d[2]=h,d[3]=m,d[4]=e):e=d[4],e}d[5]!==p?(r=(0,o.cn)("flex",p),d[5]=p,d[6]=r):r=d[6],d[7]!==f||d[8]!==h||d[9]!==m?(s=(0,t.jsx)(e1,{match:h,onProfileOpen:m,decorative:!0,children:f}),d[7]=f,d[8]=h,d[9]=m,d[10]=s):s=d[10],d[11]!==r||d[12]!==s?(i=(0,t.jsx)(eW.HoverCardTrigger,{asChild:!0,children:(0,t.jsx)("span",{className:r,children:s})}),d[11]=r,d[12]=s,d[13]=i):i=d[13];let x=`About ${h.name}`;return d[14]!==h?(l=(0,t.jsx)(tt,{match:h}),d[14]=h,d[15]=l):l=d[15],d[16]!==x||d[17]!==l?(c=(0,t.jsx)(eW.HoverCardContent,{side:"left",align:"start",sideOffset:12,"aria-label":x,children:l}),d[16]=x,d[17]=l,d[18]=c):c=d[18],d[19]!==i||d[20]!==c?(u=(0,t.jsxs)(eW.HoverCard,{openDelay:200,closeDelay:150,children:[i,c]}),d[19]=i,d[20]=c,d[21]=u):u=d[21],u}function e6(){return!1}function e8(){return!0}function e7(){return e9}function e9(){}function te(e){let s,i,l,o,c,u,d,h,m,p,f,g=(0,n.c)(30),{match:x,onProfileOpen:y,className:w,children:b}=e,v=(0,M.useQueryClient)(),S=(0,eX.useSilkBreakpoint)("(prefers-reduced-motion: reduce)");g[0]!==S?(s={...e3,skip:S},g[0]=S,g[1]=s):s=g[1];let k=s;g[2]!==x.slug||g[3]!==v?(i=()=>{v.prefetchQuery(e4(x.slug))},g[2]=x.slug,g[3]=v,g[4]=i):i=g[4];let j=i,_=`About ${x.name}`;return g[5]!==b||g[6]!==w||g[7]!==j||g[8]!==_?(l=(0,t.jsx)(eG.DetachedSheet.Trigger,{asChild:!0,children:(0,t.jsx)(ew.Button,{type:"button",variant:"ghost",size:"none",shape:"none","aria-label":_,className:w,onPointerDown:j,onFocus:j,children:b})}),g[5]=b,g[6]=w,g[7]=j,g[8]=_,g[9]=l):l=g[9],g[10]===Symbol.for("react.memo_cache_sentinel")?(o=(0,t.jsx)(eG.DetachedSheet.Backdrop,{}),g[10]=o):o=g[10],g[11]!==x.name?(c=(0,t.jsxs)(eG.DetachedSheet.Title,{className:"sr-only",children:["About ",x.name]}),g[11]=x.name,g[12]=c):c=g[12],g[13]!==x?(u=(0,t.jsx)("div",{className:"px-6 pt-2 pb-2",children:(0,t.jsx)(tt,{match:x,BioContainer:a.Fragment})}),g[13]=x,g[14]=u):u=g[14],g[15]!==x.slug?(d=(0,eZ.profilePath)(x.slug),g[15]=x.slug,g[16]=d):d=g[16],g[17]!==y||g[18]!==d?(h=(0,t.jsx)(eG.DetachedSheet.Footer,{className:"sticky bottom-0 bg-surface-primary",children:(0,t.jsx)(ew.Button,{variant:"solid",size:"xl",className:"w-full",asChild:!0,children:(0,t.jsx)(r.AttributionLink,{href:d,prefetch:!1,onClick:y,children:"View Profile"})})}),g[17]=y,g[18]=d,g[19]=h):h=g[19],g[20]!==c||g[21]!==u||g[22]!==h?(m=(0,t.jsxs)(eG.DetachedSheet.Content,{className:"person-preview-sheet",children:[c,u,h]}),g[20]=c,g[21]=u,g[22]=h,g[23]=m):m=g[23],g[24]!==k||g[25]!==m?(p=(0,t.jsx)(eG.DetachedSheet.Portal,{children:(0,t.jsxs)(eG.DetachedSheet.View,{enteringAnimationSettings:k,exitingAnimationSettings:k,children:[o,m]})}
5),g[24]=k,g[25]=m,g[26]=p):p=g[26],g[27]!==p||g[28]!==l?(f=(0,t.jsxs)(eG.DetachedSheet.Root,{children:[l,p]}),g[27]=p,g[28]=l,g[29]=f):f=g[29],f}function tt(e){let r,a,s,i,l,o,c,u,d,h,m,p,f,g,y,w,b=(0,n.c)(42),{match:v,BioContainer:S}=e,k=void 0===S?ti:S,j=eB(v);b[0]!==v.slug?(r=e4(v.slug),b[0]=v.slug,b[1]=r):r=b[1],b[2]!==r?(a={...r,select:ta},b[2]=r,b[3]=a):a=b[3];let _=(0,x.useQuery)(a);b[4]!==_.data?.organizations?(s=_.data?.organizations??[],b[4]=_.data?.organizations,b[5]=s):s=b[5];let I=s;b[6]!==v.imageUrl?(i=v.imageUrl?(0,t.jsx)(ek.AvatarImage,{src:v.imageUrl,alt:""}):null,b[6]=v.imageUrl,b[7]=i):i=b[7],b[8]!==v.name||b[9]!==v.slug?(l=(0,eU.profileInitials)(v.name,v.slug),b[8]=v.name,b[9]=v.slug,b[10]=l):l=b[10],b[11]!==l?(o=(0,t.jsx)(ek.AvatarFallback,{className:"rounded-xl text-[12px]",children:l}),b[11]=l,b[12]=o):o=b[12],b[13]!==i||b[14]!==o?(c=(0,t.jsxs)(ek.Avatar,{className:"size-10 shrink-0 rounded-xl",children:[i,o]}),b[13]=i,b[14]=o,b[15]=c):c=b[15],b[16]!==v.name?(u=(0,t.jsx)("span",{className:"truncate text-fg-high",children:v.name}),b[16]=v.name,b[17]=u):u=b[17],b[18]!==v.verified?(d=v.verified?(0,t.jsx)(e_.VerifiedBadge,{size:"sm"}):null,b[18]=v.verified,b[19]=d):d=b[19],b[20]!==u||b[21]!==d?(h=(0,t.jsxs)("span",{className:"flex min-w-0 items-center gap-1.5 text-[14px] leading-5 font-semibold",children:[u,d]}),b[20]=u,b[21]=d,b[22]=h):h=b[22],b[23]!==v.headline?(m=v.headline?(0,t.jsx)("span",{className:"block min-w-0 truncate text-[13px] leading-[18px] text-fg-mid",children:v.headline}):null,b[23]=v.headline,b[24]=m):m=b[24],b[25]!==h||b[26]!==m?(p=(0,t.jsxs)("span",{className:"block min-w-0 flex-1",children:[h,m]}),b[25]=h,b[26]=m,b[27]=p):p=b[27],b[28]!==p||b[29]!==c?(f=(0,t.jsxs)("div",{className:"flex min-w-0 items-center gap-2.5",children:[c,p]}),b[28]=p,b[29]=c,b[30]=f):f=b[30];let N=j.length>0?(0,t.jsx)("p",{className:"text-[13px] leading-[18px] text-fg-high [overflow-wrap:anywhere]",children:j.map(tr)}):null;return b[31]!==k||b[32]!==_.data||b[33]!==_.isPending?(g=_.isPending?(0,t.jsxs)("div",{className:"flex flex-col gap-1.5 py-0.5","aria-busy":"true",children:[(0,t.jsx)(eu.Skeleton,{className:"h-3 rounded-md motion-reduce:animate-none"}),(0,t.jsx)(eu.Skeleton,{className:"h-3 w-4/5 rounded-md motion-reduce:animate-none"})]}):_.data?.bio?(0,t.jsx)(k,{children:(0,t.jsx)(e0.ProfileBioParagraphs,{bio:_.data.bio,className:"flex flex-col gap-2 py-0.5 pr-2 text-[13px] leading-[18px] text-fg-mid",paragraphClassName:"whitespace-pre-wrap [overflow-wrap:anywhere]"})}):null,b[31]=k,b[32]=_.data,b[33]=_.isPending,b[34]=g):g=b[34],b[35]!==I?(y=I.length>0?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(eY.Separator,{}),(0,t.jsx)("ul",{className:"flex flex-wrap items-center gap-x-3 gap-y-1.5 text-[12px] leading-4 text-fg-mid",children:I.map(tn)})]}):null,b[35]=I,b[36]=y):y=b[36],b[37]!==f||b[38]!==N||b[39]!==g||b[40]!==y?(w=(0,t.jsxs)("div",{className:"flex flex-col gap-3 tracking-normal",children:[f,N,g,y]}),b[37]=f,b[38]=N,b[39]=g,b[40]=y,b[41]=w):w=b[41],w}function tn(e){return(0,t.jsxs)("li",{className:"flex min-w-0 max-w-full items-center gap-1.5",children:[(0,t.jsx)(ts,{organization:e}),(0,t.jsx)("span",{className:"truncate",children:e.name})]},e.name)}function tr(e,n){return(0,t.jsxs)("span",{children:[n>0?" · ":null,e]},e)}function ta(e){return{bio:e.data.profile?.bio?.trim()||null,organizations:function(e){let t=[];for(let n=e.length-1;n>=0;n--){let r=e[n],a=r?.name.trim();if(r&&a&&(t.push({name:a,image:r.image}),4===t.length))break}return t}(e.data.profile?.organizations??[])}}function ts(e){let r,s=(0,n.c)(4),{organization:i}=e,[l,o]=(0,a.useState)(!1);if(i.image&&!l){let e,n;return s[0]===Symbol.for("react.memo_cache_sentinel")?(e=()=>o(!0),s[0]=e):e=s[0],s[1]!==i.image?(n=(0,t.jsx)(eH.default,{src:i.image,alt:"",width:18,height:18,className:"size-[18px] shrink-0 rounded-[4px] object-contain",onError:e}),s[1]=i.image,s[2]=n):n=s[2],n}return s[3]===Symbol.for("react.memo_cache_sentinel")?(r=(0,t.jsx)("span",{"aria-hidden":"true",className:"grid size-[18px] shrink-0 place-items-center rounded-[4px] bg-sand-9/10 text-fg-low",children:(0,t.jsx)(eb.BuildingsIcon,{className:"size-3"})}),s[3]=r):r=s[3],r}function ti(e){let r,s,i,l,o,c,u=(0,n.c)(9),{children:d}=e,h=(0,a.useRef)(null);u[0]===Symbol.for("react.memo_cache_sentinel")?(r={top:!1,bottom:!1},u[0]=r):r=u[0];let[m,p]=(0,a.useState)(r);u[1]===Symbol.for("react.memo_cache_sentinel")?(s=e=>{let t={top:e.scrollTop>2,bottom:e.scrollTop+e.clientHeight<e.scrollHeight-2};p(e=>e.top===t.top&&e.bottom===t.bottom?e:t)},u[1]=s):s=u[1];let f=s;u[2]===Symbol.for("react.memo_cache_sentinel")?(i=()=>{let e=h.current?.querySelector("[data-slot=scroll-area-viewport]");if(!e)return;f(e);let t=new ResizeObserver(()=>f(e));return t.observe(e),()=>t.disconnect()},l=[f],u[2]=i,u[3]=l):(i=u[2],l=u[3]),(0,a.useLayoutEffect)(i,l);let g=m.top||void 0,x=m.bottom||void 0;return u[4]===Symbol.for("react.memo_cache_sentinel")?(o=e=>f(e.target),u[4]=o):o=u[4],u[5]!==d||u[6]!==g||u[7]!==x?(c=(0,t.jsx)(eJ.ScrollArea,{ref:h,className:"person-preview-scroll","data-fade-top":g,"data-fade-bottom":x,onScrollCapture:o,children:d}),u[5]=d,u[6]=g,u[7]=x,u[8]=c):c=u[8],c}function tl(e){let r,a,s,i=(0,n.c)(6),{match:l,limit:o}=e;if(i[0]!==o||i[1]!==l){a=Symbol.for("react.early_return_sentinel");e:{let e=eB(l).slice(0,o),t=e.every(tc)?e:e.slice(0,1);if(0===t.length){a=null;break e}r=t.map(to)}i[0]=o,i[1]=l,i[2]=r,i[3]=a}else r=i[2],a=i[3];return a!==Symbol.for("react.early_return_sentinel")?a:(i[4]!==r?(s=(0,t.jsx)(t.Fragment,{children:r}),i[4]=r,i[5]=s):s=i[5],s)}function to(e){return(0,t.jsx)(eI,{label:e,className:"brand-tag-compact"},e)}function tc(e){return e.length<=28}function tu(e){let r,a,s,o,c,u,d=(0,n.c)(15),{text:h,delay:m,rethinking:p}=e,f=(0,R.useReducedMotion)();d[0]===Symbol.for("react.memo_cache_sentinel")?(r=(0,t.jsx)("span",{className:"mr-2.5 font-medium",children:"Why them"}),d[0]=r):r=d[0];let g=r;if(p){let e;return d[1]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsxs)("div",{className:"text-[14px] leading-5 text-fg-mid","aria-busy":"true",children:[g,(0,t.jsxs)("div",{className:"mt-2 flex min-h-8 flex-col gap-2",children:[(0,t.jsx)(eu.Skeleton,{className:"h-3.5 rounded-md motion-reduce:animate-none"}),(0,t.jsx)(eu.Skeleton,{className:"h-3.5 w-4/5 rounded-md motion-reduce:animate-none"})]})]}),d[1]=e):e=d[1],e}return d[2]!==f?(a=f?{opacity:0}
5:{opacity:0,y:6,filter:"blur(4px)"},d[2]=f,d[3]=a):a=d[3],d[4]===Symbol.for("react.memo_cache_sentinel")?(s={opacity:1,y:0,filter:"blur(0px)"},d[4]=s):s=d[4],d[5]!==f?(o=f?{opacity:0}:{opacity:0,y:-6,filter:"blur(4px)"},d[5]=f,d[6]=o):o=d[6],d[7]!==m||d[8]!==f?(c=f?{duration:.15}:{type:"spring",duration:.3,bounce:0,delay:m},d[7]=m,d[8]=f,d[9]=c):c=d[9],d[10]!==a||d[11]!==o||d[12]!==c||d[13]!==h?(u=(0,t.jsx)("div",{className:"relative",children:(0,t.jsx)(i.AnimatePresence,{mode:"popLayout",initial:!1,children:(0,t.jsxs)(l.motion.p,{initial:a,animate:s,exit:o,transition:c,className:"text-[14px] leading-5 text-fg-mid",children:[g,h]},h)})}),d[10]=a,d[11]=o,d[12]=c,d[13]=h,d[14]=u):u=d[14],u}function td(e){let r,a,s,i=(0,n.c)(7),{state:l}=e;return"hidden"===l.status?null:(i[0]!==l.perspective||i[1]!==l.status||i[2]!==l.text?(r="loading"===l.status?(0,t.jsxs)("div",{className:"flex w-64 max-w-full flex-col gap-1.5 py-0.5","aria-busy":"true",children:[(0,t.jsx)(eu.Skeleton,{className:"h-3 rounded-md motion-reduce:animate-none"}),(0,t.jsx)(eu.Skeleton,{className:"h-3 w-3/5 rounded-md motion-reduce:animate-none"})]}):(0,t.jsxs)("p",{className:"text-base","aria-busy":"streaming"===l.status||void 0,children:[(0,t.jsx)("span",{"aria-hidden":"true",className:"mr-0.5 text-fg-low",children:"“"}),"complete"===l.status?l.perspective:l.text,(0,t.jsx)("span",{"aria-hidden":"true",className:"text-fg-low",children:"”"})]}),i[0]=l.perspective,i[1]=l.status,i[2]=l.text,i[3]=r):r=i[3],i[4]===Symbol.for("react.memo_cache_sentinel")?(a=(0,t.jsx)("span",{"aria-hidden":"true",className:"absolute -bottom-3 left-0 flex size-7 items-center justify-center text-fg-mid",children:(0,t.jsx)(ej.Logo,{className:"size-5"})}),i[4]=a):a=i[4],i[5]!==r?(s=(0,t.jsxs)("blockquote",{className:"perspective-bubble relative mt-0.5 mb-1.5 px-4 pt-3.5 pb-5 text-fg-high",children:[r,a]}),i[5]=r,i[6]=s):s=i[6],s)}function th(e){let r,a,s,i,l=(0,n.c)(10),{match:o}=e;return l[0]!==o.imageUrl?(r=o.imageUrl?(0,t.jsx)(ek.AvatarImage,{src:o.imageUrl,alt:""}):null,l[0]=o.imageUrl,l[1]=r):r=l[1],l[2]!==o.name||l[3]!==o.slug?(a=(0,eU.profileInitials)(o.name,o.slug),l[2]=o.name,l[3]=o.slug,l[4]=a):a=l[4],l[5]!==a?(s=(0,t.jsx)(ek.AvatarFallback,{className:"rounded-2xl text-[16px]",children:a}),l[5]=a,l[6]=s):s=l[6],l[7]!==r||l[8]!==s?(i=(0,t.jsxs)(ek.Avatar,{className:"size-14 rounded-2xl",children:[r,s]}),l[7]=r,l[8]=s,l[9]=i):i=l[9],i}function tm(e){let r,a,s=(0,n.c)(4),{headline:o}=e;return s[0]!==o?(r=o?(0,t.jsx)(l.motion.span,{initial:{opacity:0}
5,animate:{opacity:1},transition:{duration:.2,ease:"easeOut"},className:"block min-w-0 truncate text-[14px] leading-5 text-fg-mid",children:o},"subtitle"):null,s[0]=o,s[1]=r):r=s[1],s[2]!==r?(a=(0,t.jsx)(i.AnimatePresence,{initial:!1,children:r}),s[2]=r,s[3]=a):a=s[3],a}function tp(e){let r,a,s,i,l,c=(0,n.c)(11),{match:u,className:d}=e;return c[0]!==d?(r=(0,o.cn)("flex min-w-0 items-center gap-1.5",d),c[0]=d,c[1]=r):r=c[1],c[2]===Symbol.for("react.memo_cache_sentinel")?(a=(0,o.cn)("-my-1 truncate py-1 text-fg-high",e2),c[2]=a):a=c[2],c[3]!==u.name?(s=(0,t.jsx)("span",{className:a,children:u.name}),c[3]=u.name,c[4]=s):s=c[4],c[5]!==u.verified?(i=u.verified?(0,t.jsx)(e_.VerifiedBadge,{size:"sm"}):null,c[5]=u.verified,c[6]=i):i=c[6],c[7]!==r||c[8]!==s||c[9]!==i?(l=(0,t.jsxs)("span",{className:r,children:[s,i]}),c[7]=r,c[8]=s,c[9]=i,c[10]=l):l=c[10],l}function tf(e){let a,s,i,l,c,u=(0,n.c)(14),{match:d,href:h,onChatStart:m,className:p}=e;u[0]!==p?(a=(0,o.cn)("shrink-0",p),u[0]=p,u[1]=a):a=u[1],u[2]!==h||u[3]!==d?(s=h(d),u[2]=h,u[3]=d,u[4]=s):s=u[4],u[5]!==m?(i=m?(0,ev.chatLinkHandlers)(m):null,u[5]=m,u[6]=i):i=u[6];let f=`Chat with ${d.name}`;return u[7]!==s||u[8]!==i||u[9]!==f?(l=(0,t.jsx)(r.AttributionLink,{href:s,prefetch:!1,...i,"aria-label":f,children:"Chat"}),u[7]=s,u[8]=i,u[9]=f,u[10]=l):l=u[10],u[11]!==a||u[12]!==l?(c=(0,t.jsx)(ew.Button,{variant:"ghost",className:a,asChild:!0,children:l}),u[11]=a,u[12]=l,u[13]=c):c=u[13],c}function tg(e){let s,i,l,o,c,u,d,h,m,p,f,g,x,y,w,b,v,S,k,j=(0,n.c)(58),{match:_,href:I,onChatStart:N,onProfileOpen:C,topicPills:R,rank:q,rethinking:E,question:z}=e;j[0]!==_?(s=eQ(_),j[0]=_,j[1]=s):s=j[1];let M=s;j[2]!==_.slug||j[3]!==z?(i=z?{username:_.slug,question:z,context:{source:"search"}}:null,j[2]=_.slug,j[3]=z,j[4]=i):i=j[4];let $=function(e){let t,r,s,i,l,o=(0,n.c)(12),c=e?.username??null;if(o[0]!==e||o[1]!==c){let n=e?.question.trim()??"";r=(t=null!==c&&n.length>0)?JSON.stringify(e?.context?{username:c,question:n,context:e.context}:{username:c,question:n}):"",o[0]=e,o[1]=c,o[2]=t,o[3]=r}else t=o[2],r=o[3];let u=r;o[4]!==t||o[5]!==u?(s=e=>t&&u?e$.subscribe(JSON.parse(u),e):()=>{},o[4]=t,o[5]=u,o[6]=s):s=o[6];let d=s;o[7]!==t||o[8]!==u?(i=()=>t&&u?e$.get(JSON.parse(u)):eT,o[7]=t,o[8]=u,o[9]=i):i=o[9];let h=i;return o[10]!==t?(l=()=>t?eE:eT,o[10]=t,o[11]=l):l=o[11],(0,a.useSyncExternalStore)(d,h,l)}(i);j[5]!==N||j[6]!==$.perspective||j[7]!==$.status?(l=e=>N?.({perspective:"complete"===$.status?$.perspective:null,open:e}),j[5]=N,j[6]=$.perspective,j[7]=$.status,j[8]=l):l=j[8];let T=l;return j[9]!==I||j[10]!==_?(o=I(_),j[9]=I,j[10]=_,j[11]=o):o=j[11],j[12]!==T?(c=(0,ev.chatLinkHandlers)(T),j[12]=T,j[13]=c):c=j[13],j[14]!==o||j[15]!==c?(u=(0,t.jsx)(r.AttributionLink,{href:o,prefetch:!1,...c,"aria-hidden":"true",tabIndex:-1,className:"absolute inset-0 z-0 rounded-4xl"}),j[14]=o,j[15]=c,j[16]=u):u=j[16],j[17]!==_?(d=(0,t.jsx)(th,{match:_}),j[17]=_,j[18]=d):d=j[18],j[19]!==_||j[20]!==C||j[21]!==d?(h=(0,t.jsx)(e5,{match:_,onProfileOpen:C,className:"pointer-events-auto shrink-0",children:d}),j[19]=_,j[20]=C,j[21]=d,j[22]=h):h=j[22],j[23]!==_?(m=(0,t.jsx)(tp,{match:_,className:"font-heading text-[24px] leading-7 font-semibold tracking-[-0.025em]"}),j[23]=_,j[24]=m):m=j[24],j[25]!==_||j[26]!==C||j[27]!==m?(p=(0,t.jsx)(e1,{match:_,onProfileOpen:C,className:"pointer-events-auto inline-flex max-w-full",children:m}),j[25]=_,j[26]=C,j[27]=m,j[28]=p):p=j[28],j[29]!==_.headline?(f=(0,t.jsx)(tm,{headline:_.headline}),j[29]=_.headline,j[30]=f):f=j[30],j[31]!==p||j[32]!==f?(g=(0,t.jsxs)("span",{className:"block min-w-0 flex-1",children:[p,f]}),j[31]=p,j[32]=f,j[33]=g):g=j[33],j[34]!==I||j[35]!==_||j[36]!==T?(x=(0,t.jsx)(tf,{match:_,href:I,onChatStart:T,className:"pointer-events-auto"}),j[34]=I,j[35]=_,j[36]=T,j[37]=x):x=j[37],j[38]!==g||j[39]!==x||j[40]!==h?(y=(0,t.jsxs)("div",{className:"flex min-w-0 items-center gap-4",children:[h,g,x]}),j[38]=g,j[39]=x,j[40]=h,j[41]=y):y=j[41],j[42]!==R?(w=R?(0,t.jsx)("div",{className:"flex min-w-0 flex-wrap items-center gap-2",children:R}):null,j[42]=R,j[43]=w):w=j[43],j[44]!==q||j[45]!==M.primary||j[46]!==E?(b=M.primary||E?(0,t.jsx)(tu,{text:M.primary,delay:.12+([0,.07,.12][q-1]??.12),rethinking:E}):null,j[44]=q,j[45]=M.primary,j[46]=E,j[47]=b):b=j[47],j[48]!==$?(v="hidden"!==$.status?(0,t.jsx)(td,{state:$}):null,j[48]=$,j[49]=v):v=j[49],j[50]!==y||j[51]!==w||j[52]!==b||j[53]!==v?(S=(0,t.jsxs)(ec.CardContent,{className:"pointer-events-none relative flex flex-col gap-4",children:[y,w,b,v]}),j[50]=y,j[51]=w,j[52]=b,j[53]=v,j[54]=S):S=j[54],j[55]!==S||j[56]!==u?(k=(0,t.jsxs)(ec.Card,{className:"person-card relative",children:[u,S]}),j[55]=S,j[56]=u,j[57]=k):k=j[57],k}function tx(e){let a,s,i,l,c,u,d,h,m,p,f,g,x,y,w,b,v,S,k,j,_=(0,n.c)(52),{match:I,href:N,onChatStart:C,onProfileOpen:R,topicPills:q}=e;_[0]!==I?(a=eQ(I).primary||I.headline?.trim()||"",_[0]=I,_[1]=a):a=_[1];let E=a;_[2]!==N||_[3]!==I?(s=N(I),_[2]=N,_[3]=I,_[4]=s):s=_[4],_[5]!==C?(i=C?(0,ev.chatLinkHandlers)(C):null,_[5]=C,_[6]=i):i=_[6];let z=`Talk to ${I.name}`;_[7]===Symbol.for("react.memo_cache_sentinel")?(l=(0,o.cn)("absolute inset-0 z-0 cursor-pointer rounded-xl",eA),_[7]=l):l=_[7],_[8]!==s||_[9]!==i||_[10]!==z?(c=(0,t.jsx)(r.AttributionLink,{href:s,prefetch:!1,...i,"aria-label":z,className:l}
5),_[8]=s,_[9]=i,_[10]=z,_[11]=c):c=_[11],_[12]!==I.imageUrl?(u=I.imageUrl?(0,t.jsx)(ek.AvatarImage,{src:I.imageUrl,alt:""}):null,_[12]=I.imageUrl,_[13]=u):u=_[13],_[14]!==I.name||_[15]!==I.slug?(d=(0,eU.profileInitials)(I.name,I.slug),_[14]=I.name,_[15]=I.slug,_[16]=d):d=_[16],_[17]!==d?(h=(0,t.jsx)(ek.AvatarFallback,{className:"rounded-xl text-[12px]",children:d}),_[17]=d,_[18]=h):h=_[18],_[19]!==u||_[20]!==h?(m=(0,t.jsxs)(ek.Avatar,{className:"size-10 rounded-xl",children:[u,h]}),_[19]=u,_[20]=h,_[21]=m):m=_[21],_[22]!==I||_[23]!==R||_[24]!==m?(p=(0,t.jsx)(e5,{match:I,onProfileOpen:R,className:"relative shrink-0",children:m}),_[22]=I,_[23]=R,_[24]=m,_[25]=p):p=_[25];let M=`${I.name}'s profile`;return _[26]===Symbol.for("react.memo_cache_sentinel")?(f=(0,o.cn)("truncate text-sm font-medium text-fg-high",e2),_[26]=f):f=_[26],_[27]!==I.name?(g=(0,t.jsx)("span",{className:f,children:I.name}),_[27]=I.name,_[28]=g):g=_[28],_[29]!==I.verified?(x=I.verified?(0,t.jsx)(e_.VerifiedBadge,{size:"sm"}):null,_[29]=I.verified,_[30]=x):x=_[30],_[31]!==I||_[32]!==R||_[33]!==M||_[34]!==g||_[35]!==x?(y=(0,t.jsxs)(e1,{match:I,onProfileOpen:R,"aria-label":M,className:"pointer-events-auto flex min-w-0 items-center gap-1.5",children:[g,x]}),_[31]=I,_[32]=R,_[33]=M,_[34]=g,_[35]=x,_[36]=y):y=_[36],_[37]!==q?(w=q?(0,t.jsx)("span",{className:"flex min-w-0 max-w-[9rem] shrink-0 sm:max-w-[14rem]",children:q}):null,_[37]=q,_[38]=w):w=_[38],_[39]!==y||_[40]!==w?(b=(0,t.jsxs)("span",{className:"flex min-w-0 items-center gap-2",children:[y,w]}),_[39]=y,_[40]=w,_[41]=b):b=_[41],_[42]!==E?(v=E?(0,t.jsx)("span",{className:"mt-0.5 line-clamp-2 block text-[13px] leading-snug text-fg-mid",children:E}):null,_[42]=E,_[43]=v):v=_[43],_[44]!==b||_[45]!==v?(S=(0,t.jsxs)("span",{className:"pointer-events-none relative min-w-0 flex-1",children:[b,v]}),_[44]=b,_[45]=v,_[46]=S):S=_[46],_[47]===Symbol.for("react.memo_cache_sentinel")?(k=(0,t.jsx)(ew.Button,{variant:"solid",size:"sm",asChild:!0,children:(0,t.jsx)("span",{"aria-hidden":"true",className:"row-chat pointer-events-none relative shrink-0",children:"Chat"})}),_[47]=k):k=_[47],_[48]!==p||_[49]!==S||_[50]!==c?(j=(0,t.jsxs)("div",{className:"person-row relative -mx-2.5 flex w-[calc(100%+1.25rem)] items-center gap-3 rounded-xl px-2.5 py-2.5 text-left transition-colors duration-150 hover:bg-sand-9/10 focus-within:bg-sand-9/10",children:[c,p,S,k]}),_[48]=p,_[49]=S,_[50]=c,_[51]=j):j=_[51],j}function ty(e){let r,a,s,o=(0,n.c)(9),{label:c,outcome:u}=e,d=(0,R.useReducedMotion)();return o[0]!==c?(r=(0,t.jsx)("h3",{className:"sr-only",children:c}),o[0]=c,o[1]=r):r=o[1],o[2]!==c||o[3]!==u||o[4]!==d?(a=(0,t.jsx)(i.AnimatePresence,{mode:"wait",initial:!1,children:u?(0,t.jsxs)(l.motion.p,{role:"status","aria-live":"polite",initial:d?{opacity:0}:{opacity:0,y:4},animate:{opacity:1,y:0},exit:{opacity:0,transition:{duration:.12}},transition:{duration:d?.15:.24,ease:eh.EASE_OUT},className:"flex min-w-0 items-center gap-2 text-[13px]",children:[(0,t.jsx)(eb.CheckIcon,{className:"size-3.5 shrink-0 text-fg-success"}),(0,t.jsx)("span",{className:"truncate font-medium text-fg-high",children:u})]},"outcome"):(0,t.jsx)(l.motion.span,{"aria-hidden":!0,initial:d?{opacity:0}:{opacity:0,y:4},animate:{opacity:1,y:0},exit:{opacity:0,transition:{duration:.12}},transition:{duration:d?.15:.24,ease:eh.EASE_OUT},className:"text-lg font-medium text-fg-mid",children:c},"label")}),o[2]=c,o[3]=u,o[4]=d,o[5]=a):a=o[5],o[6]!==r||o[7]!==a?(s=(0,t.jsxs)("div",{className:"mt-6 flex h-8 items-center",children:[r,a]}),o[6]=r,o[7]=a,o[8]=s):s=o[8],s}let tw="mt-1 flex flex-col gap-0.5",tb="text-lg font-medium text-fg-mid",tv="ml-2 text-sm font-medium text-fg-low",tS="(min-width: 1024px)";function tk(e){let t=window.matchMedia(tS);return t.addEventListener("change",e),()=>t.removeEventListener("change",e)}let tj=()=>window.matchMedia(tS).matches,t_=()=>!1;function tI(e){let r,s,c,u,d,h,f,g,x,y,b=(0,n.c)(44),{followUps:v,funnel:S,onFunnelChange:k,matches:j,baseline:_,status:I,streaming:N,explainingSlugs:C,onRetry:q,mode:E,onMode:z,queryMeta:M,plannerIntent:$,searchId:T}=e,A=(0,R.useReducedMotion)(),{answered:L,skipped:D}
5=S,{outcome:P,flash:F}=function(){let e,t,r,s,i=(0,n.c)(6),[l,o]=(0,a.useState)(null);i[0]!==l?(e=()=>{if(null===l)return;let e=setTimeout(()=>o(null),1300);return()=>clearTimeout(e)},t=[l],i[0]=l,i[1]=e,i[2]=t):(e=i[1],t=i[2]),(0,a.useEffect)(e,t);let c=l?.text??null;return i[3]===Symbol.for("react.memo_cache_sentinel")?(r=e=>o(t=>({text:e,nonce:(t?.nonce??0)+1})),i[3]=r):r=i[3],i[4]!==c?(s={outcome:c,flash:r},i[4]=c,i[5]=s):s=i[5],s}(),O=(0,U.answeredChips)(S),K=L.length,Q=j.length,B=j.map(tz);Q>=6&&(0,U.nextStep)(v,S,B),Q>=6&&(0,U.remainingSteps)(v,S,B);let H=j.slice(0,et.RESULT_CARD_COUNT),V=K>0?j.slice(et.RESULT_CARD_COUNT):[];b[0]!==j?(r=new Set(j.map(tE)),b[0]=j,b[1]=r):r=b[1];let W=r,J=K>0?_.filter(e=>!W.has(e.slug)):j.slice(et.RESULT_CARD_COUNT+V.length),[G,X]=(0,a.useState)(8),[Z,ee]=(0,a.useState)(12),en=V.length<=15?V.length:Z,er=(0,a.useSyncExternalStore)(tk,tj,t_),[ea,es]=(0,a.useState)(er),ei=(0,a.useRef)(null);b[2]!==z||b[3]!==M.searchId||b[4]!==A?(s=()=>{(0,m.trackSearchRefine)({searchId:M.searchId,action:"open"}),z("narrow"),es(!0),requestAnimationFrame(()=>ei.current?.scrollIntoView({block:"start",behavior:A?"auto":"smooth"}))},b[2]=z,b[3]=M.searchId,b[4]=A,b[5]=s):s=b[5],b[6]!==_||b[7]!==F||b[8]!==v||b[9]!==S||b[10]!==j||b[11]!==k||b[12]!==T?(c=e=>{var t;let n=(0,U.narrowMatches)(_,v,e);e.answered!==S.answered&&F(function(e,t){let n=e.slice(0,et.RESULT_CARD_COUNT).map(e=>e.slug),r=t.slice(0,et.RESULT_CARD_COUNT),a=r[0];if(!a)return"Nobody left — try changing an answer";if(a.slug!==n[0])return`${a.name} is now your closest match`;let s=r.find(e=>!n.includes(e.slug));if(s)return`${s.name} joined your top five`;let i=r[1];if(r.length<n.length)return i?2===r.length?`Down to ${a.name} and ${i.name}`:`Down to ${a.name} and ${r.length-1} others`:`Only ${a.name} is left`;let l=e.length-t.length;return l>0?`Still your five — ${l} ${1===l?"person":"people"} ruled out below`:l<0?`${-l} ${-1===l?"person":"people"} back in`:"Still your five"}(j,n)),k(e),T&&(t={searchId:T,previous:S,next:e}).searchId&&t.next.answered!==t.previous.answered&&t.next.answered.length>0&&Y({searchId:T,remainingSlugs:n.map(tq),answerDepth:e.answered.length}).catch(()=>void 0);let r=n.map(tR);(n.length<6||!(0,U.nextStep)(v,e,r))&&es(!1)},b[6]=_,b[7]=F,b[8]=v,b[9]=S,b[10]=j,b[11]=k,b[12]=T,b[13]=c):c=b[13];let el=J.length>0,eo=(K>0||D.length,.3*!A),ec=tC,eu=(0,m.pickSearchKindOf)({plannerIntent:$??null,searchKind:M.searchKind}),ed=(e,t,n)=>{(0,m.trackSearchResultClick)({searchId:M.searchId,searchKind:eu,resultMode:"full",resultKind:"person",clickTarget:t,matchRank:n,querySource:M.querySource,isRefined:S.answered.length>0,targetUsername:e.slug,ownerUserId:e.ownerUserId,messageSource:"none",originQuestionId:M.questionId})},em=(0,w.resolveOpenerIntent)({plannerIntent:$,query:M.queryText}),ep="intro"===(0,w.searchArrivalShape)(em)?M.queryText:null;b[14]!==M.searchId?(u=e=>(0,ev.searchChatHref)(e.slug,M.searchId),b[14]=M.searchId,b[15]=u):u=b[15];let ef=u,eg=(e,t,n,r)=>{let a={query:M.queryText,answers:O.map(U.narrowingAnswerLine),whyTalk:e.whyTalk??null,perspective:void 0===r?null:r,intent:em};(0,ev.handOffSearchChat)(M.searchId,e.slug,{context:a,shell:{name:e.name,imageUrl:e.imageUrl??null}},n),"menu"!==n&&("here"===n&&"question"===(0,w.searchArrivalShape)(em)&&(0,eS.startOpenerRequest)(e.slug,a),ed(e,"chat",t))},ex=(e,t)=>{(0,p.storeSearchReturn)(e.slug),ed(e,"profile",t)};if("error"===I){let e,n,r;return b[16]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)("p",{className:"text-[15px] font-medium text-fg-high",children:"We couldn't finish that search"}),n=(0,t.jsx)("p",{className:"mt-1 text-[13.5px] text-fg-mid",children:"The people are there — the search didn't come back. Try it again."}),b[16]=e,b[17]=n):(e=b[16],n=b[17]),b[18]!==q||b[19]!==M.searchId?(r=(0,t.jsxs)("div",{className:"mx-auto w-full max-w-md py-10 text-center lg:max-w-[42rem]",children:[e,n,(0,t.jsx)(ew.Button,{variant:"subtle",size:"sm",className:"mt-4",onClick:()=>{(0,m.trackSearchRefine)({searchId:M.searchId,action:"retry"}),q()},children:"Try again"})]}),b[18]=q,b[19]=M.searchId,b[20]=r):r=b[20],r}let ek=K>0?"Your matches":"Top matches";b[21]!==P||b[22]!==ek?(d=(0,t.jsx)(ty,{label:ek,outcome:P}),b[21]=P,b[22]=ek,b[23]=d):d=b[23],null!==b[24]||b[25]!==d?(h=(0,t.jsxs)("div",{children:[null,d]}),b[24]=null,b[25]=d,b[26]=h):h=b[26],b[27]!==eo||b[28]!==h?(f=(0,t.jsx)(ey.AnimateHeightContent,{isVisible:!0,duration:eo,children:h}),b[27]=eo,b[28]=h,b[29]=f):f=b[29];
5let ej=ey.AnimateHeightContent,e_="browse"===E,eI="browse"!==E||void 0,eN=J.slice(0,G).map((e,n)=>(0,t.jsxs)(a.Fragment,{children:[(0,t.jsx)("li",{children:(0,t.jsx)(tx,{match:e,href:ef,onChatStart:t=>eg(e,null,t),onProfileOpen:()=>ex(e,null),topicPills:ec(e,1)})}),(3===n&&J.length>12,null)]},e.slug));return b[30]!==tw||b[31]!==eN?(g=(0,t.jsx)("ul",{className:tw,children:eN}),b[30]=tw,b[31]=eN,b[32]=g):g=b[32],b[33]!==J.length||b[34]!==X||b[35]!==G?(x=J.length>G?(0,t.jsxs)(ew.Button,{variant:"subtle",className:"mt-2 w-full",onClick:()=>X(tN),children:["Show ",Math.min(12,J.length-G)," More"]}):null,b[33]=J.length,b[34]=X,b[35]=G,b[36]=x):x=b[36],b[37]!==ej||b[38]!==eo||b[39]!==e_||b[40]!==eI||b[41]!==g||b[42]!==x?(y=(0,t.jsxs)(ej,{isVisible:e_,duration:eo,inert:eI,children:[g,x]}),b[37]=ej,b[38]=eo,b[39]=e_,b[40]=eI,b[41]=g,b[42]=x,b[43]=y):y=b[43],(0,t.jsxs)("div",{ref:ei,className:"mx-auto w-full max-w-md scroll-mt-3 lg:max-w-[42rem]",children:[f,(0,t.jsx)("ul",{className:"relative mt-3 flex flex-col gap-3",children:(0,t.jsx)(i.AnimatePresence,{initial:!1,mode:"popLayout",children:H.map((e,n)=>(0,t.jsx)(l.motion.li,{layout:!A&&"position",initial:A?{opacity:0}:{opacity:0,y:6},animate:{opacity:1,y:0},exit:{opacity:0,transition:{duration:.12}},transition:{layout:{type:"spring",duration:.32,bounce:0},duration:A?.15:.28,ease:eh.EASE_OUT,delay:A?0:[0,.07,.12,.16,.19][n]??.19},children:(0,t.jsx)(tg,{match:e,href:ef,rank:n+1,question:ep,onChatStart:t=>{let{perspective:r,open:a}=t;return eg(e,n+1,a,r)},onProfileOpen:()=>ex(e,n+1),topicPills:ec(e,2),rethinking:(0,et.reasonSlotPending)(e,{explaining:C.includes(e.slug),streaming:N})})},e.slug))})}),0===H.length?(0,t.jsx)("p",{className:"py-10 text-center text-[13.5px] text-fg-mid",children:K>0?"Nobody left after those answers — change one to widen it again.":"Nobody on Delphi has covered this one yet."}):null,(0,t.jsxs)(ey.AnimateHeightContent,{isVisible:V.length>0,duration:eo,inert:0===V.length||void 0,children:[(0,t.jsx)("div",{className:"mt-8 flex h-8 items-center",children:(0,t.jsxs)("h3",{className:tb,children:["More matches",(0,t.jsx)("span",{className:tv,children:V.length})]})}),(0,t.jsx)("ul",{className:tw,children:V.slice(0,en).map((e,n)=>(0,t.jsx)("li",{children:(0,t.jsx)(tx,{match:e,href:ef,onChatStart:t=>eg(e,n+et.RESULT_CARD_COUNT+1,t),onProfileOpen:()=>ex(e,n+et.RESULT_CARD_COUNT+1),topicPills:ec(e,1)})},e.slug))}),V.length>en?(0,t.jsxs)(ew.Button,{variant:"ghost",size:"sm",className:"w-full text-fg-mid",onClick:()=>ee(V.length),children:["Show ",V.length-en," more",(0,t.jsx)(eb.ChevronDownIcon,{"data-icon":"inline-end"})]}):null]}),el?(0,t.jsxs)(ew.Button,{variant:"ghost",size:"none",shape:"none",onClick:()=>z("browse"===E?"narrow":"browse"),"aria-expanded":"browse"===E,className:"section-door mt-3 -mx-3 flex h-10 w-[calc(100%+1.5rem)] items-center justify-between rounded-2xl px-3",children:[(0,t.jsxs)("span",{className:tb,children:[K>0?"Ruled out by your answers":"Everyone else",(0,t.jsx)("span",{className:tv,children:J.length})]}),(0,t.jsx)(eb.ChevronDownIcon,{className:(0,o.cn)("size-4 shrink-0 text-fg-mid transition-transform duration-200 motion-reduce:transition-none","browse"===E&&"rotate-180")})]}):null,y]})}function tN(e){return e+12}function tC(e,n){return 0===eB(e).length?null:(0,t.jsx)(tl,{match:e,limit:n})}function tR(e){return e.slug}function tq(e){return e.slug}function tE(e){return e.slug}function tz(e){return e.slug}function tM(e){var r;let s,i,l,o,c,u,d,h,p,f,y,w,b,v,S=(0,n.c)(32),{ask:k,queryMeta:j,presentation:_}=e,[I,N]=(0,a.useState)("narrowing"===_.kind?"narrow":"browse"),{funnel:C,setFunnel:R}=function(e){let t,r,a=(0,n.c)(8),{catalogId:s,originQuestionId:i}=e?$(e):{catalogId:null,originQuestionId:null},l=e?.text??"",{funnelKey:o}=T({catalogId:s,text:l,originQuestionId:i}),c=(0,M.useQueryClient)(),{data:u}=(0,x.useQuery)((0,g.queryOptions)({queryKey:o,queryFn:A,staleTime:1/0,enabled:null!==e,initialData:U.EMPTY_FUNNEL}));a[0]!==s||a[1]!==c||a[2]!==i||a[3]!==l?(t=e=>{c.setQueryData(T({catalogId:s,text:l,originQuestionId:i}).funnelKey,e)},a[0]=s,a[1]=c,a[2]=i,a[3]=l,a[4]=t):t=a[4];let d=t,h=u??U.EMPTY_FUNNEL;return a[5]!==d||a[6]!==h?(r={funnel:h,setFunnel:d},a[5]=d,a[6]=h,a[7]=r):r=a[7],r}(k);S[0]===Symbol.for("react.memo_cache_sentinel")?(s=[],S[0]=s):s=S[0],(0,a.useEffect)(t$,s);let L=function(e,t){let{catalogId:n,originQuestionId:r}=e?$(e):{catalogId:null,originQuestionId:null},s=e?.text??"",i=e?.querySource??null,{matchesKey:l,askKey:o}=T({catalogId:n,text:s,originQuestionId:r}),c=(0,x.useQuery)((0,g.queryOptions)({queryKey:l,enabled:null!==e,staleTime:1/0,queryFn:({client:e,queryKey:t,signal:a})=>{var l;return eo({client:e,queryKey:t,body:{questionText:(l={questionText:s,questionId:n,originQuestionId:r,querySource:i}).questionText,...l.questionId?{questionId:l.questionId}:void 0,...l.originQuestionId?{originQuestionId:l.originQuestionId}:void 0,...l.querySource?{querySource:l.querySource}:void 0},signal:a})}})),u=c.data,d=c.error instanceof er?c.error:null,h=u?.people??ea,m=u?.followUps??es,p=(0,U.funnelForRanking)(t,m),[f,y]=(0,a.useState)({askKey:o,hasEverRefined:!1,firstPassExplainDone:!1}),w=(0,et.rememberRefined)(f.askKey===o&&f.hasEverRefined,p.answered.length),b=(0,et.foldAsk)(s,p.answered),v=p.answered,S=v.map(U.narrowingAnswerLine).filter(e=>e.length>
50),k=(0,U.narrowMatches)(h,m,p),j=(0,et.slugsToExplain)(k,w),_=null!==e&&(0,et.reasonsStreamReady)({phase:u?.phase,rewrite:w,slugCount:j.length,topSettled:(0,et.topCardsSettled)(k,u?.explainedSlugs??[])}),I=(0,x.useQuery)((0,g.queryOptions)({queryKey:["search","reasons",l,v,s,b,S,w,u?.rewriteId],enabled:_,...et.reasonsQueryRetention,queryFn:async({client:e,signal:t})=>{let n=e.getQueryData(l),r=n?.people??[],a=(0,et.slugsToExplain)((0,U.narrowMatches)(r,n?.followUps??[],{answered:v,skipped:[]}),w);if(0===a.length)return{slugs:a};let i=crypto.randomUUID();e.setQueryData(l,e=>e?{...e,explainingSlugs:[...a],explainingRunId:i}:e);try{await Z({questionText:b,askText:s,slugs:a,...S.length>0?{answers:S}:void 0,...n?.rewriteId?{rewriteId:n.rewriteId}:void 0,...n?.plannerIntent?{intent:n.plannerIntent}:void 0},{signal:t,onReason:n=>{t.aborted||e.setQueryData(l,e=>e&&e.explainingRunId===i?{...e,people:e.people.map(e=>e.slug===n.slug?{...e,whyTalk:n.whyTalk,whyMatched:n.whyMatched,topics:n.topics??e.topics}:e)}:e)}})}finally{e.setQueryData(l,e=>e&&e.explainingRunId===i?{...e,explainingSlugs:[],explainingRunId:null}:e)}return{slugs:a}}})),N=(0,et.firstPassExplainSettled)({phase:u?.phase,rewrite:w,reasonsFetched:I.isFetched,reasonsEnabled:_,alreadySettled:f.askKey===o&&f.firstPassExplainDone});return(f.askKey!==o||f.hasEverRefined!==w||f.firstPassExplainDone!==N)&&y({askKey:o,hasEverRefined:w,firstPassExplainDone:N}),{matches:k,followUps:m,baseline:h,status:void 0===u||"complete"!==u.phase&&c.isError?c.isError?"error":"loading":"ready",ranked:void 0!==u&&"pool"!==u.phase,isStreaming:void 0!==u&&"complete"!==u.phase&&!c.isError,clientDurationMs:u?.clientDurationMs??d?.clientDurationMs??null,resultPhase:u?.phase??d?.phase??null,rankFallback:u?.rankFallback??null,retry:()=>void c.refetch(),plannerIntent:u?.plannerIntent??null,explainingSlugs:u?.explainingSlugs??ei,explainPending:!N,searchId:u?.searchId??null}}(k,C);S[1]!==C||S[2]!==L.followUps?(i=(0,U.funnelForRanking)(C,L.followUps),S[1]=C,S[2]=L.followUps,S[3]=i):i=S[3];let D=i;S[4]!==L?(l="loading"===L.status||"ready"===L.status&&!L.ranked,S[4]=L,S[5]=l):l=S[5];let P=l,F=L.plannerIntent??null;S[6]!==L.clientDurationMs||S[7]!==L.matches.length||S[8]!==L.ranked||S[9]!==L.status||S[10]!==j.searchId||S[11]!==j.searchKind||S[12]!==F?(o={searchId:j.searchId,searchKind:j.searchKind,searchIntent:F,status:L.status,ranked:L.ranked,matchCount:L.matches.length,searchDurationMs:L.clientDurationMs},S[6]=L.clientDurationMs,S[7]=L.matches.length,S[8]=L.ranked,S[9]=L.status,S[10]=j.searchId,S[11]=j.searchKind,S[12]=F,S[13]=o):o=S[13],r=o,y=(0,n.c)(12),w=(0,a.useRef)(null),b=(0,a.useRef)(null),y[0]===Symbol.for("react.memo_cache_sentinel")?(u=(e,t)=>{w.current!==e&&(w.current=e,(0,m.trackSearchResultsView)(t))},y[0]=u):u=y[0],v=u,y[1]!==r.matchCount||y[2]!==r.ranked||y[3]!==r.searchDurationMs||y[4]!==r.searchId||y[5]!==r.
5searchIntent||y[6]!==r.searchKind||y[7]!==r.status?(d=()=>{if("loading"===r.status)return;let e=`${r.searchId}|${r.status}`,t={searchId:r.searchId,searchKind:r.searchKind,searchIntent:r.searchIntent,resultMode:"full",failed:"error"===r.status,resultCount:r.matchCount,personResultCount:r.matchCount,durationMs:r.searchDurationMs};if("ready"===r.status&&!r.ranked){b.current={key:e,view:t};return}b.current=null,v(e,t)},h=[r.searchId,r.searchKind,r.searchIntent,r.status,r.ranked,r.matchCount,r.searchDurationMs,v],y[1]=r.matchCount,y[2]=r.ranked,y[3]=r.searchDurationMs,y[4]=r.searchId,y[5]=r.searchIntent,y[6]=r.searchKind,y[7]=r.status,y[8]=d,y[9]=h):(d=y[8],h=y[9]),(0,a.useEffect)(d,h),y[10]===Symbol.for("react.memo_cache_sentinel")?(p=()=>()=>{let e=b.current;b.current=null,e&&v(e.key,e.view)},f=[v],y[10]=p,y[11]=f):(p=y[10],f=y[11]),(0,a.useEffect)(p,f);let O=function(e,t){let r,s,i,l=(0,n.c)(8),[o,c]=(0,a.useState)(q);l[0]!==e||l[1]!==t?(r={active:e,key:t},l[0]=e,l[1]=t,l[2]=r):r=l[2];let[u,d]=(0,a.useState)(r);return(e!==u.active||t!==u.key)&&(d({active:e,key:t}),c(q)),l[3]!==e?(s=()=>{if(!e)return;let t=[setTimeout(()=>c(z),220),...Array.from({length:3},(e,t)=>setTimeout(()=>c(e=>({...e,pass:t+1})),1100*(t+1))),setTimeout(()=>c(E),6e3)];return()=>t.forEach(clearTimeout)},l[3]=e,l[4]=s):s=l[4],l[5]!==e||l[6]!==t?(i=[e,t],l[5]=e,l[6]=t,l[7]=i):i=l[7],(0,a.useEffect)(s,i),e?o:q}(P,`${k.question?.id??""}|${k.text}`);if(P){let e;return S[14]!==O.long||S[15]!==O.pass||S[16]!==O.shown?(e=O.shown?(0,t.jsx)(eg,{pass:O.pass,long:O.long}):null,S[14]=O.long,S[15]=O.pass,S[16]=O.shown,S[17]=e):e=S[17],e}return S[18]!==D||S[19]!==L.baseline||S[20]!==L.explainingSlugs||S[21]!==L.followUps||S[22]!==L.isStreaming||S[23]!==L.matches||S[24]!==L.plannerIntent||S[25]!==L.retry||S[26]!==L.searchId||S[27]!==L.status||S[28]!==I||S[29]!==j||S[30]!==R?(c=(0,t.jsx)(tI,{followUps:L.followUps,funnel:D,onFunnelChange:R,matches:L.matches,baseline:L.baseline,status:L.status,streaming:L.isStreaming,explainingSlugs:L.explainingSlugs,onRetry:L.retry,mode:I,onMode:N,queryMeta:j,plannerIntent:L.plannerIntent,searchId:L.searchId}),S[18]=D,S[19]=L.baseline,S[20]=L.explainingSlugs,S[21]=L.followUps,S[22]=L.isStreaming,S[23]=L.matches,S[24]=L.plannerIntent,S[25]=L.retry,S[26]=L.searchId,S[27]=L.status,S[28]=I,S[29]=j,S[30]=R,S[31]=c):c=S[31],c}function t$(){return(0,p.clearSearchReturn)()}function tT(e){let r,s,i,l,o,c,u,d,h=(0,n.c)(20),{query:p,source:f,questionId:g,categoryId:x}=e,y=void 0===f?"deep_link":f,w=void 0===g?null:g,b=void 0===x?null:x;h[0]!==y?(r=(0,m.querySourceForClient)(y),h[0]=y,h[1]=r):r=h[1],h[2]!==p||h[3]!==w||h[4]!==r?(s={question:null,category:null,text:p,originQuestionId:w,querySource:r},h[2]=p,h[3]=w,h[4]=r,h[5]=s):s=h[5];let v=s;h[6]!==b||h[7]!==p||h[8]!==w||h[9]!==y?(i=(0,m.searchQueryMetaOf)({questionId:w,categoryId:b,text:p,origin:y}),h[6]=b,h[7]=p,h[8]=w,h[9]=y,h[10]=i):i=h[10];let S=i;h[11]===Symbol.for("react.memo_cache_sentinel")?(l=[],h[11]=l):l=h[11],(0,a.useEffect)(tU,l);let k=(0,a.useRef)(null);return h[12]!==S?(o=()=>{k.current!==S.searchId&&(k.current=S.searchId,(0,m.trackSearchQuerySubmit)(S))},c=[S],h[12]=S,h[13]=o,h[14]=c):(o=h[13],c=h[14]),(0,a.useEffect)(o,c),h[15]===Symbol.for("react.memo_cache_sentinel")?(u={kind:"browse"},h[15]=u):u=h[15],h[16]!==v||h[17]!==p||h[18]!==S?(d=(0,t.jsx)(tM,{ask:v,queryMeta:S,presentation:u},p),h[16]=v,h[17]=p,h[18]=S,h[19]=d):d=h[19],d}function tU(){return(0,p.clearSearchReturn)()}e.s(["SearchJourney",0,tM],539339);let tA=[.23,1,.32,1];function tL(e,t){return""===e&&""!==t?"push":"replace"}function tD(e,t){"push"===t?window.history.pushState(null,"",e):window.history.replaceState(null,"",e)}function tP(e){return{query:e,source:"deep_link",questionId:null,categoryId:null}}function tF(){return null==globalThis.window?"":(new URLSearchParams(window.location.search).get("q")??"").trim()}e.s(["SearchAnswer",0,function(e){let r,a,s,i,o,c=(0,n.c)(16),{query:u,source:d,questionId:h,categoryId:m,children:p}=e,f=(0,R.useReducedMotion)(),g=u||"browse";c[0]!==f?(r=f?{opacity:0}:{opacity:0,y:6},c[0]=f,c[1]=r):r=c[1],c[2]===Symbol.for("react.memo_cache_sentinel")?(a={opacity:1,y:0},c[2]=a):a=c[2];let x=f?.15:.28;return c[3]!==x?(s={duration:x,ease:tA}
5,c[3]=x,c[4]=s):s=c[4],c[5]!==m||c[6]!==p||c[7]!==u||c[8]!==h||c[9]!==d?(i=u?(0,t.jsx)(tT,{query:u,source:d,questionId:h,categoryId:m}):p,c[5]=m,c[6]=p,c[7]=u,c[8]=h,c[9]=d,c[10]=i):i=c[10],c[11]!==g||c[12]!==r||c[13]!==s||c[14]!==i?(o=(0,t.jsx)(l.motion.div,{initial:r,animate:a,transition:s,className:"flex min-w-0 flex-col",children:i},g),c[11]=g,c[12]=r,c[13]=s,c[14]=i,c[15]=o):o=c[15],o}],383347),e.s(["historyWriteForCommittedSearch",0,tL,"writeHistoryUrl",0,tD],868950),e.s(["useCommittedSearch",0,function(){let e,t,r,i,l,o,c,u=(0,n.c)(9),d=(0,s.useSearchParams)();u[0]!==d?(e=()=>tP((d.get("q")??"").trim()),u[0]=d,u[1]=e):e=u[1];let[h,m]=(0,a.useState)(e);u[2]===Symbol.for("react.memo_cache_sentinel")?(t=()=>{let e=()=>m(tP(tF()));return window.addEventListener("popstate",e),()=>window.removeEventListener("popstate",e)},r=[],u[2]=t,u[3]=r):(t=u[2],r=u[3]),(0,a.useEffect)(t,r),u[4]===Symbol.for("react.memo_cache_sentinel")?(i=e=>{let t=new URL(window.location.href);e.query?t.searchParams.set("q",e.query):t.searchParams.delete("q"),tD(`${t.pathname}${t.search}`,tL(tF(),e.query)),m(e)},u[4]=i):i=u[4];let p=i;return u[5]===Symbol.for("react.memo_cache_sentinel")?(l=e=>p({...e,query:e.query.trim()}),u[5]=l):l=u[5],u[6]===Symbol.for("react.memo_cache_sentinel")?(o=()=>p(tP("")),u[6]=o):o=u[6],u[7]!==h?(c={search:h,commit:l,clear:o},u[7]=h,u[8]=c):c=u[8],c}],155408),e.s([],847728);let tO=" • Delphi",tK=" • ";e.s(["useSearchPageTitle",0,function(e,t){let n=null===e?null:function(e,t){let n=t?.replace(/\s+/g," ").trim()??"";if(!n)return e;let r=Math.max(20,60-tO.length-tK.length-e.length-2);return`“${function(e,t){if(e.length<=t)return e;let n=e.slice(0,t-1),r=n.lastIndexOf(" "),a=r>=t/2?n.slice(0,r):n;return`${a.replace(/[\s,.;:!?–—-]+$/,"")}…`}(n,r)}”${tK}${e}`}(e,t)+tO,r=(0,a.useRef)(n),s=(0,a.useRef)(null);(0,a.useEffect)(()=>{if(null===n||null===s.current&&n===r.current)return;s.current??=document.title,document.title=n;let e=s.current;return()=>{document.title===n&&(document.title=e)}},[n])}],323396);var tQ=e.i(121730);function tB(){(0,tQ.startDiscoverLanding)()}e.s(["useDiscoverLanding",0,function(){let e,t=(0,n.c)(1);t[0]===Symbol.for("react.memo_cache_sentinel")?(e=[],t[0]=e):e=t[0],(0,a.useEffect)(tB,e)}],563810)}]);
6
7//# debugId=da31d3a8-c79e-813d-cab7-ae020d95b2c1

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.