PageSourceSearch

https://app.apexreplicant.com/static/js/1622.e56aa340.chunk.js

js apexreplicant.com collected 2026-10-09 22:55:30 UTC 6,861 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([[1622],{41622(e,s,t){t.r(s),t.d(s,{default:()=>p});var a=t(65043),r=t(45847),l=t(49367),n=t(91832),i=t(15250),d=t(73700),c=t(70579);const o=()=>(0,c.jsxs)("div",{className:"h-full bg-ds-raised border border-ds-rule rounded-xl p-6 flex flex-col gap-4 animate-pulse",children:[(0,c.jsxs)("div",{className:"flex items-center gap-4",children:[(0,c.jsx)("div",{className:"w-16 h-16 rounded-full bg-ds-sunk flex-shrink-0"}),(0,c.jsxs)("div",{className:"flex-1 space-y-2",children:[(0,c.jsx)("div",{className:"h-4 bg-ds-sunk rounded w-3/4"}),(0,c.jsx)("div",{className:"h-3 bg-ds-sunk rounded w-1/2"})]})]}),(0,c.jsxs)("div",{className:"space-y-2 flex-grow",children:[(0,c.jsx)("div",{className:"h-3 bg-ds-sunk rounded w-full"}),(0,c.jsx)("div",{className:"h-3 bg-ds-sunk rounded w-5/6"}),(0,c.jsx)("div",{className:"h-3 bg-ds-sunk rounded w-4/6"})]}),(0,c.jsx)("div",{className:"h-3 bg-ds-sunk rounded w-1/3"})]}),x=e=>{var s,t;let{expert:a}=e;const r=(null===a||void 0===a?void 0:a.ai_card_title)||(null===a||void 0===a||null===(s=a.areas_of_expertise)||void 0===s?void 0:s[0])||null,l=function(e){let s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:128;return e?e.includes("supabase.co/storage")?"".concat(e,"?width=").concat(s,"&height=").concat(s,"&resize=cover"):e:null}(null===a||void 0===a?void 0:a.profile_picture_url,128);return(0,c.jsxs)("div",{className:"flex items-center gap-4",children:[l?(0,c.jsx)("img",{src:l,alt:null===a||void 0===a?void 0:a.name,width:64,height:64,className:"w-16 h-16 rounded-full object-cover flex-shrink-0 border-2 border-ds-gold-deep",onError:e=>{e.target.style.display="none"}}):(0,c.jsx)("div",{className:"w-16 h-16 rounded-full flex items-center justify-center flex-shrink-0 text-xl font-bold bg-ds-sunk text-ds-gold border-2 border-ds-gold-deep",children:(null===a||void 0===a||null===(t=a.name)||void 0===t?void 0:t.charAt(0))||"?"}),(0,c.jsxs)("div",{children:[(0,c.jsx)("h3",{className:"text-lg font-bold text-ds-ink leading-tight",children:null===a||void 0===a?void 0:a.name}),r&&(0,c.jsx)("p",{className:"text-sm text-ds-ink-3 mt-0.5",children:r})]})]})},p=()=>{const[e,s]=(0,a.useState)([]),[t,p]=(0,a.useState)(!0),[m,h]=(0,a.useState)(null);(0,a.useEffect)((()=>{g()}),[]);const u=(0,c.jsxs)(l.mg,{children:[(0,c.jsx)("title",{children:"Expert Marketplace | Apex Replicant"}),(0,c.jsx)("meta",{name:"description",content:"Find an expert in the Expert Marketplace and talk with their Digital Prot\xe9g\xe9, in their voice, any hour."}),(0,c.jsx)("meta",{property:"og:title",content:"Expert Marketplace | Apex Replicant"}),(0,c.jsx)("meta",{property:"og:description",content:"Find an expert in the Expert Marketplace and talk with their Digital Prot\xe9g\xe9, in their voice, any hour."}),(0,c.jsx)("meta",{property:"og:url",content:"https://app.apexreplicant.com/experts"}),(0,c.jsx)("meta",{property:"og:type",content:"website"}),(0,c.jsx)("link",{rel:"canonical",href:"https://app.apexreplicant.com/experts"})]}),g=async()=>{try{const e=await fetch("".concat(n.A.backendProxy,"/public-expert
1s"));if(e.ok){const t=await e.json(),a=(t.experts||[]).filter((e=>{var s;const t=null===(s=e.stage)||void 0===s?void 0:s.toLowerCase();return"active"===t||"ready"===t||"available"===t}));s(a)}else h("Failed to load experts")}catch(e){h("Network error loading experts"),console.error("Error fetching experts:",e)}finally{p(!1)}};return t?(0,c.jsxs)(d.Ay,{className:"min-h-screen px-4 py-12 sm:py-16",children:[u,(0,c.jsxs)("div",{className:"max-w-5xl mx-auto",children:[(0,c.jsxs)("div",{className:"text-center mb-14",children:[(0,c.jsx)("p",{className:"text-ds-small font-bold uppercase tracking-widest text-ds-gold mb-4",children:"Expert Marketplace"}),(0,c.jsxs)("h1",{className:"text-4xl sm:text-5xl font-black tracking-tight text-ds-ink mb-5",children:["Ask the expert.",(0,c.jsx)("br",{className:"hidden sm:block"})," Not a chatbot."]}),(0,c.jsx)("p",{className:"text-lg text-ds-ink-2 max-w-xl mx-auto leading-relaxed",children:"Every advisor has a Digital Prot\xe9g\xe9, trained on their real work. Your first conversation is FREE."})]}),(0,c.jsx)("div",{className:"grid md:grid-cols-2 gap-6",children:[...Array(6)].map(((e,s)=>(0,c.jsx)(o,{},s)))})]})]}):m?(0,c.jsxs)(d.Ay,{className:"min-h-screen flex items-center justify-center",children:[u,(0,c.jsx)("p",{className:"text-ds-error text-xl",children:m})]}):(0,c.jsxs)(d.Ay,{className:"min-h-screen px-4 py-12 sm:py-16",children:[u,(0,c.jsxs)("div",{className:"max-w-5xl mx-auto",children:[(0,c.jsxs)("div",{className:"text-center mb-14",children:[(0,c.jsx)("p",{className:"text-ds-small font-bold uppercase tracking-widest text-ds-gold mb-4",children:"Expert Marketplace"}),(0,c.jsxs)("h1",{className:"text-4xl sm:text-5xl font-black tracking-tight text-ds-ink mb-5",children:["Ask the expert.",(0,c.jsx)("br",{className:"hidden sm:block"})," Not a chatbot."]}),(0,c.jsx)("p",{className:"text-lg text-ds-ink-2 max-w-xl mx-auto leading-relaxed",children:"Every advisor has a Digital Prot\xe9g\xe9, trained on their real work. Pick one and start a free conversation."})]}),e.length>0?(0,c.jsx)("div",{className:"grid md:grid-cols-2 gap-6",children:e.map((e=>{const s=(0,i.O4)(e.name,"the Expert"),t=(e=>{const s=e.ai_card_sections;if(Array.isArray(s)){const e=s.find((e=>"Best For"===e.title));if(null!==e&&void 0!==e&&e.body)return e.body}return e.ai_card_quote||function(e){let s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:150;if(!e)return"";let t=e.replace(/^#{1,6}\s+/gm,"").replace(/(\*\*|__)(.*?)\1/g,"$2").replace(/(\*|_)(.*?)\1/g,"$2").replace(/\[([^\]]+)\]\([^\)]+\)/g,"$1").replace(/`([^`]+)`/g,"$1").replace(/~~(.*?)~~/g,"$1").replace(/^[\s]*[-*+]\s+/gm,"").replace(/^[\s]*\d+\.\s+/gm,"").replace(/\n+/g," ").replace(/\s+/g," ").trim();return t.length>s?t.substring(0,s).trim()+"...":t}(e.professional_bio,130)})(e);return(0,c.jsx)(r.N_,{to:"/expert/".concat(e.url_slug),className:"block",children:(0,c.jsxs)("div",{className:"h-full bg-ds-raised border border-ds-rule rounded-xl p-5 shadow-ds-1 hover:shadow-ds-3 hover:border-ds-gold-deep hover:-translate-y-0.5 transition-all duration-300 flex flex-col gap-4",children:[(0,c.jsx)(x,{expert:e}),t&&(0,c.jsx)("p",{className:"text-ds-ink-2 text-sm leading-relaxed flex-grow",children:t}),(0,c.jsxs)("div",{className:"flex items-center justify-between mt-1",children:[(0,c.jsxs)("span",{className:"text-sm font-semibold text-ds-gold",children:["Talk to ",s," \u2192"]}),(0,c.jsx)("span",{className:"text-ds-small text-ds-success font-semibold",children:"First session FREE"})]})]})},e.id)}))}):(0,c.jsx)("div",{className:"text-center py-16",children:(0,c.jsx)("p",{className:"text-ds-ink-3 text-lg",children:"No experts available at the moment."})})]})]})}}}]);
2//# sourceMappingURL=1622.e56aa340.chunk.js.map

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.