PageSourceSearch

https://futuresummit.ai/assets/SpeakerIntake-usLDvEjs.js

js futuresummit.ai collected 2026-10-05 11:59:48 UTC 32,467 bytes, 6 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/SpeakerStudio-QfP6Sx7K.js","assets/index-Cb0uFkxi.js","assets/index-BBFbRtrb.css","assets/client-3Rgyq3FX.js","assets/tslib.es6-CmEaCU22.js","assets/ResponsiveImage-D5MpvFHD.js","assets/circle-check-uJwwcGRG.js","assets/Footer-17KnCj-2.js","assets/button-BXT4L8KI.js","assets/siteNavigation-xQOaOE9I.js","assets/index-DSefd6az.js","assets/chevron-down-CNHxCdIc.js","assets/sheet-CL-fb0Ux.js","assets/index-DAxeAWUx.js","assets/input-CyLPhXcX.js","assets/SpeakerCard-DPLMpqLA.js","assets/slug-DGhkVI3i.js","assets/speakerProfile-D9KA5aXA.js","assets/user-swbnXxv0.js","assets/loader-circle-DoSMiK1s.js","assets/circle-alert-YAiWaoHE.js"])))=>i.map(i=>d[i]);
2import{j as e,z as Se,r as x,_ as Ce}from"./index-Cb0uFkxi.js";import{s as K}from"./client-3Rgyq3FX.js";import{H as X,F as J}from"./Footer-17KnCj-2.js";import{S as Re}from"./SpeakerCard-DPLMpqLA.js";import{a as Ae,v as $}from"./speakerProfile-D9KA5aXA.js";import{R as ce}from"./ResponsiveImage-D5MpvFHD.js";import{L as de}from"./loader-circle-DoSMiK1s.js";import{C as Te}from"./circle-alert-YAiWaoHE.js";import{C as Pe}from"./circle-check-uJwwcGRG.js";const Ee={changes_requested:{title:"Changes requested",detail:"The Future Summit team has asked for updates before reviewing your profile again.",tone:"border-amber-400/40 bg-amber-400/10 text-amber-100"},submitted:{title:"Submitted",detail:"The team is reviewing your profile. You can still edit and resubmit it.",tone
2:"border-sky-400/40 bg-sky-400/10 text-sky-100"},staff_approved:{title:"Approved",detail:"Further edits will be sent to staff for re-approval before anything public changes.",tone:"border-emerald-400/40 bg-emerald-400/10 text-emerald-100"}};function Ie({status:l,changeRequestMessage:r}){const m=Ee[l];return m?e.jsxs("section",{className:`mb-6 rounded-md border px-4 py-3 text-sm ${m.tone}`,"aria-live":"polite",children:[e.jsx("p",{className:"font-medium",children:m.title}),e.jsx("p",{className:"mt-1 leading-relaxed opacity-90",children:m.detail}),l==="changes_requested"&&r&&e.jsx("p",{className:"mt-2 border-t border-current/20 pt-2 leading-relaxed",children:r})]}):null}function Be({draft:l,speakerId:r,existingHeadshotUrl:m}){const o=Ae({...l,headshot_url:l.headshot_url||m||null}),N=j=>typeof j=="string"?j.trim():"",v=N(o.bio_short)||N(o.bio_long),i=N(o.talk_abstract),C=N(o.marketing_quote),a={id:r,display_order:null,full_name:o.full_name??null,company:o.company??null,title:o.title??null,headshot_url:o.headshot_url??null,company_logo_url:o.company_logo_url??null,talk_title:o.talk_title??null,talk_format:o.talk_format??null,bio_short:o.bio_short??null,bio_long:o.bio_long??null,talk_abstract:o.talk_abstract??null,marketing_quote:o.marketing_quote??null,linkedin_url:o.linkedin_url??null,x_url:o.x_url??null,website_url:o.website_url??null,pronouns:o.pronouns??null};return e.jsxs("section",{className:"mt-10 border-t border-white/10 pt-6",children:[e.jsx("h2",{className:"text-xs uppercase tracking-widest text-[#d9be81]",children:"How you'll appear on futuresummit.ai"}),e.jsx("div",{className:"mt-4 max-w-xs",children:e.jsx(Re,{speaker:a})}),e.jsxs("div",{className:"mt-4 max-w-prose space-y-3 text-sm text-[#D8D2CB]",children:[v?e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs uppercase tracking-widest text-[#6B6560]",children:"Biography"}),e.jsx("p",{className:"mt-1 whitespace-pre-wrap",children:v})]}):null,i?e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs uppercase tracking-widest text-[#6B6560]",children:"Session abstract"}),e.jsx("p",{className:"mt-1 whitespace-pre-wrap",children:i})]}):null,C?e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs uppercase tracking-widest text-[#6B6560]",children:"Quote"}),e.jsxs("p",{className:"mt-1 whitespace-pre-wrap",children:["“",C,"”"]})]}):null]}),e.jsx("p",{className:"mt-4 text-xs leading-relaxed text-[#6B6560]",children:"Not public: dietary and accessibility needs, travel plans, phone and email, AV needs, t-shirt size, and plus-one details."})]})}const Fe={full_name:"Full name",bio_short:"Short biography",headshot_url:"Headshot",linkedin_url:"LinkedIn URL",x_url:"X / Twitter URL",website_url:"Website URL",plus_one_email:"Plus-one email",talk_format:"Talk format",tshirt_size:"T-shirt size",arrival_date:"Arrival date",departure_date:"Departure date"};function Me({draft:l,hasExistingHeadshot:r,hasNewHeadshot:m,fieldErrors:o={}}){const N=$({...l,headshot_url:l.headshot_url||(r||m?"selected":"")}),v={...N,...o},i=[["Full name",!v.full_name],["Short biography (600 characters or fewer)",!v.bio_short],["Headshot on file or newly selected",!v.headshot_url]],C=Object.keys(N).length===0,a=Object.keys(v).length>0;return e.jsxs("section",{className:"mb-5 rounded-md border border-white/10 bg-white/[0.03] px-4 py-3","aria-live":"polite",children:[e.jsx("p",{className:"text-xs uppercase tracking-widest text-[#d9be81]",children:"Ready to submit"}),e.jsx("ul",{className:"mt-2 space-y-1 text-xs text-[#9A9590]",children:i.map(([j,E])=>e.jsxs("li",{className:E?"text-emerald-300":"text-red-300",children:[E?"✓":"•"," ",j]},j))}),a&&e.jsx("ul",{className:"mt-2 space-y-1 text-xs text-red-300",children:Object.entries(v).map(([j,E])=>e.jsxs("li",{children:["• ",Fe[j]??j.replace(/_/g," "),": ",E]},j))}),!C&&e.jsx("p",{className:"mt-2 text-xs text-[#9A9590]",children:"Complete the required items above to enable submission."})]})}const he=15e3,pe=3e4,Le=["Who should come meet you at Future Summit?","Why should they connect with you?","What will you be discussing?"],Oe=75*1024*1024,qe=["video/mp4;codecs=h264,aac","video/mp4","video/webm;codecs=vp9,opus","video/webm;codecs=vp8,opus","video/webm"];function lt(l,r=qe){return r.find(m=>l(m))??null}function it(l,r=pe){return l>=r}function rt(l,r=he){return l>=r}const ue=160;function ze(l){const r=l==null?void 0:l.trim();if(!r)return"";const m=(r.split(new RegExp("(?<=[.!?])\\s+"))[0]??r).replace(/[.!?]+$/,"");if(m.length<=ue)return m;const o=m.slice(0,ue);return`${o.slice(0,Math.max(o.lastIndexOf(" "),1))}…`}function De(l){var i,C,a;const r=l.name.trim()||"a Future Summit speaker",m=((i=l.eventName)==null?void 0:i.trim())||"Future Summit",o=[(C=l.title)==null?void 0:C.trim(),(a=l.company)==null?void 0:a.trim()].filter(
2Boolean).join(" at "),N=o?`Hi, I'm ${r}, ${o}`:`Hi, I'm ${r}`,v=ze(l.talkAbstract)||"what we're building";return`${N}. At ${m}, I'll be discussing ${v}. If you're working on [who should come meet you], come find me — [why they should connect with you].`}function ot(l){return`${De(l)}
3
4Need inspiration? Answer one of these:
5${Le.map(r=>`• ${r}`).join(`
6`)}`}function ct(l){const r=[];return l.durationMs<he&&r.push("clip_too_short"),l.durationMs>pe&&r.push("clip_too_long"),l.sizeBytes<=0&&r.push("clip_empty"),l.sizeBytes>Oe&&r.push("clip_too_large"),l.mimeType.toLowerCase().startsWith("video/")||r.push("unsupported_mime_type"),{valid:r.length===0,errors:r}}function Ue(l){return(l==null?void 0:l.trim().toLowerCase())==="true"}const He=()=>Ue("true"),$e=x.lazy(()=>Ce(()=>import("./SpeakerStudio-QfP6Sx7K.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20]))),me=()=>({full_name:"",company:"",title:"",phone:"",coordinator_email:"",pronouns:"",bio_short:"",bio_long:"",linkedin_url:"",x_url:"",website_url:"",headshot_base64:"",headshot_filename:"",headshot_mime_type:"",company_logo_base64:"",company_logo_filename:"",company_logo_mime_type:"",talk_title:"",talk_abstract:"",talk_format:"",dietary_restrictions:"",accessibility_needs:"",av_needs:"",tshirt_size:"",travel_needed:!1,arrival_date:"",departure_date:"",marketing_quote:"",quote_attribution_preference:"",supporting_links:"",plus_one_attending:!1,plus_one_name:"",plus_one_email:"",plus_one_dietary:""}),p="w-full bg-[#111] border border-white/10 rounded-md px-3 py-2.5 text-sm text-white placeholder-[#4a4a4a] focus:outline-none focus:border-[#d9be81]/50 transition-colors",u="block text-xs uppercase tracking-widest text-[#6B6560] mb-1.5",P="text-xs uppercase tracking-widest text-[#d9be81] mb-4 mt-8 border-b border-white/5 pb-2",f=({message:l})=>l?e.jsx("p",{className:"mt-1 text-xs text-red-400",children:l}):null,We=[{id:"keynote",label:"Opening Keynote"},{id:"fireside",label:"Fireside Conversation"},{id:"panel",label:"Panel"},{id:"roundtable",label:"Round Table"},{id:"moderator",label:"Moderator"},{id:"mc",label:"MC"}],Ge=[{id:"full",label:"Full name + title + company"},{id:"first_name",label:"First name only"},{id:"company",label:"Company only"},{id:"anonymous",label:"Anonymous"}],Ke=["XS","S","M","L","XL","XXL"],Xe=1500,Je=()=>{var ae,ne,le,ie,re;const[l]=Se(),r=l.get("token")??"",[m,o]=x.useState("loading"),[N,v]=x.useState(""),[i,C]=x.useState(null),[a,j]=x.useState(me()),[E,U]=x.useState(""),[V,B]=x.useState(""),[g,R]=x.useState({}),[F,y]=x.useState("idle"),[_e,Y]=x.useState(0),[xe,W]=x.useState(!1),A=x.useRef(!1),M=x.useRef(a),H=x.useRef(0),L=x.useRef(0),I=x.useRef(null),O=x.useRef(null);x.useEffect(()=>{M.current=a},[a]);const q=t=>{typeof t=="number"&&(H.current=t,Y(t))};x.useEffect(()=>{if(!r){v("missing"),o("invalid");return}(async()=>{const{data:c,error:_}=await K.functions.invoke("validate-speaker-intake-token",{body:{token:r}});if(_||!(c!=null&&c.valid)){v((c==null?void 0:c.error)??"unknown"),o("invalid");return}const n=c;C(n);const s=n.existing_intake,d=n.source_defaults;j({...me(),full_name:(s==null?void 0:s.full_name)??n.full_name??"",company:(s==null?void 0:s.company)??n.company??"",title:(s==null?void 0:s.title)??n.title??"",phone:(s==null?void 0:s.phone)??n.phone??(d==null?void 0:d.phone)??"",coordinator_email:(s==null?void 0:s.coordinator_email)??"",pronouns:(s==null?void 0:s.pronouns)??"",bio_short:(s==null?void 0:s.bio_short)??"",bio_long:(s==null?void 0:s.bio_long)??"",linkedin_url:(s==null?void 0:s.linkedin_url)??"",x_url:(s==null?void 0:s.x_url)??"",website_url:(s==null?void 0:s.website_url)??"",talk_title:(s==null?void 0:s.talk_title)??(d==null?void 0:d.talk_title)??"",talk_abstract:(s==null?void 0:s.talk_abstract)??(d==null?void 0:d.talk_abstract)??"",talk_format:(s==null?void 0:s.talk_format)??(d==null?void 0:d.talk_format)??"",dietary_restrictions:(s==null?void 0:s.dietary_restrictions)??"",accessibility_needs:(s==null?void 0:s.accessibility_needs)??"",av_needs:(s==null?void 0:s.av_needs)??"",tshirt_size:(s==null?void 0:s.tshirt_size)??"",travel_needed:!!(s!=null&&s.travel_needed),arrival_date:(s==null?void 0:s.arrival_date)??"",departure_date:(s==null?void 0:s.departure_date)??"",marketing_quote:(s==null?void 0:s.marketing_quote)??"",quote_attribution_preference:(s==null?void 0:s.quote_attribution_preference)??"",supporting_links:(s==null?void 0:s.supporting_links)??"",plus_one_attending:!!(s!=null&&s.plus_one_attending),plus_one_name:(s==null?void 0:s.plus_one_name)??"",plus_one_email:(s==null?void 0:s.plus_one_email)??"",plus_one_dietary:(s==null?void 0:s.plus_one_dietary)??""});const w=s==null?void 0:s.revision,S=typeof w=="number"?w:0;H.current=S,Y(S),A.current=!1,y("idle"),o("form")})()},[r]);const h=(t,c)=>{A.current=!0,L.current+=1,y("unsaved"),j(_=>({..._,[t]:c})),R(_=>{const n={..._};return delete n[t],n})},Q=t=>
6t.trim().split(/\s+/).filter(Boolean).length,Z=(t,c)=>({full_name:t.full_name,company:t.company,title:t.title,phone:t.phone,coordinator_email:t.coordinator_email||null,pronouns:t.pronouns,bio_short:t.bio_short,bio_long:t.bio_long,linkedin_url:t.linkedin_url,x_url:t.x_url,website_url:t.website_url,talk_title:t.talk_title,talk_abstract:t.talk_abstract,talk_format:t.talk_format||null,dietary_restrictions:t.dietary_restrictions,accessibility_needs:t.accessibility_needs,av_needs:t.av_needs,tshirt_size:t.tshirt_size,arrival_date:t.arrival_date||null,departure_date:t.departure_date||null,travel_needed:t.travel_needed,marketing_quote:t.marketing_quote,quote_attribution_preference:t.quote_attribution_preference,supporting_links:t.supporting_links,plus_one_attending:t.plus_one_attending,plus_one_name:t.plus_one_name,plus_one_email:t.plus_one_email,plus_one_dietary:t.plus_one_dietary,...c?{headshot_base64:t.headshot_base64||null,headshot_filename:t.headshot_filename||null,headshot_mime_type:t.headshot_mime_type||null,company_logo_base64:t.company_logo_base64||null,company_logo_filename:t.company_logo_filename||null,company_logo_mime_type:t.company_logo_mime_type||null}:{}});x.useEffect(()=>{if(m!=="form"||!A.current||!r)return;y("saving");const t=setTimeout(()=>{const _=(async()=>{const n=O.current;n&&await n;const s=L.current,d=M.current,{data:w,error:S}=await K.functions.invoke("submit-speaker-intake",{body:{token:r,revision:H.current,autosave:!0,...Z(d,!1)}});let b=w;if(S&&"context"in S&&S.context)try{b=JSON.parse(await S.context.clone().text())}catch{}const z=b==null?void 0:b.error;z==="conflict"?(q(b==null?void 0:b.revision),W(!0),y("error")):z==="validation_failed"?(R((b==null?void 0:b.errors)??{}),y("error")):S||!(b!=null&&b.ok)?y("error"):(q(b.revision),L.current===s?(A.current=!1,y("saved")):(A.current=!0,y("unsaved")))})();O.current=_,_.finally(()=>{O.current===_&&(O.current=null)})},Xe);return I.current=t,()=>{clearTimeout(t),I.current===t&&(I.current=null)}},[a,m,r,_e]);const ee=["image/png","image/jpeg","image/webp"],ge=t=>new Promise(c=>{const _=new Image;_.onload=()=>c({w:_.naturalWidth,h:_.naturalHeight}),_.onerror=()=>c(null),_.src=t}),be=async t=>{if(U(""),t.size>10*1024*1024){U("File is over 10MB — please compress and try again.");return}if(!ee.includes(t.type)){U("Use PNG, JPG, or WebP only.");return}const c=new FileReader;c.onload=async()=>{const _=String(c.result??""),n=await ge(_);if(n){const s=n.w<800||n.h<800,d=Math.abs(n.w-n.h)/Math.max(n.w,n.h)>.05;(s||d)&&U(`Heads up — recommended is ≥800×800 square. Yours is ${n.w}×${n.h}. We'll accept it, but it may render unevenly on the speakers page.`)}j(s=>({...s,headshot_base64:_,headshot_filename:t.name,headshot_mime_type:t.type})),A.current=!0,L.current+=1,R(s=>{const d={...s};return delete d.headshot_url,d}),y("unsaved")},c.readAsDataURL(t)},fe=async t=>{if(t.size>10*1024*1024){B("Company logo is over 10MB — please compress and try again.");return}if(!ee.includes(t.type)){B("Logo must be PNG, JPG, or WebP.");return}B("");const c=new FileReader;c.onload=()=>{const _=String(c.result??"");j(n=>({...n,company_logo_base64:_,company_logo_filename:t.name,company_logo_mime_type:t.type})),A.current=!0,L.current+=1,R(n=>{const s={...n};return delete s.company_logo_url,s}),y("unsaved")},c.readAsDataURL(t)},je=async()=>{B("");const t=$({...M.current,headshot_url:T||M.current.headshot_base64?"selected":""});if(R(t),Object.keys(t).length)return;I.current&&(clearTimeout(I.current),I.current=null),o("submitting"),await O.current;const c=M.current,_=$({...c,headshot_url:T||c.headshot_base64?"selected":""});if(R(_),Object.keys(_).length){o("form");return}const{data:n,error:s}=await K.functions.invoke("submit-speaker-intake",{body:{token:r,revision:H.current,...Z(c,!0)}});if(s||!(n!=null&&n.ok)){let d=(n==null?void 0:n.error)??"submit_failed",w=(n==null?void 0:n.field)??"",S=(n==null?void 0:n.errors)??{};if(s&&"context"in s&&s.context)try{const D=await s.context.clone().text(),k=JSON.parse(D);k!=null&&k.error&&(d=k.error),k!=null&&k.field&&(w=k.field),k!=null&&k.errors&&(S=k.errors)}catch{}if(d==="conflict"){if(q(n==null?void 0:n.revision),s&&"context"in s&&s.context)try{const D=JSON.parse(await s.context.clone().text());q(D.revision)}catch{}W(!0),o("form");return}d==="validation_failed"&&R(S);const b=w==="company_logo"?"company logo":w||"image",z=d==="invalid_mime"?`Your ${b} must be PNG, JPG, or WebP. Please re-upload.`:d==="decode_failed"?`We couldn't read your ${b}. Please re-upload the file.`:d==="upload_failed"?`Uploading your ${b} failed. Please try again in a moment.`:d==="expired"?"This link has expired. Please contact us for a new one.":"Something went wrong. Please try again or c
6ontact [email protected].",oe=w==="headshot"?"headshot_url":w==="company_logo"?"company_logo_url":w;oe&&R(D=>({...D,[oe]:z})),B(z),o("form");return}A.current=!1,q(n.revision),y("idle"),o("success")};if(m==="loading")return e.jsx("div",{className:"min-h-screen bg-[#0a0a0a] flex items-center justify-center",children:e.jsx(de,{className:"h-6 w-6 text-[#d9be81] animate-spin"})});if(m==="invalid"){const t={missing:"No intake token found in this link.",not_found:"This link isn't valid.",expired:"This link has expired. Contact us below and we'll send a fresh one.",revoked:"This link was deactivated — contact the Future Summit team.",speaker_not_found:"Speaker record not found. Please contact us.",unknown:"Something went wrong with this link."};return e.jsxs(e.Fragment,{children:[e.jsx(X,{}),e.jsx("main",{className:"min-h-screen bg-[#0a0a0a] flex items-center justify-center px-4 sm:px-6",children:e.jsxs("div",{className:"max-w-md w-full text-center py-20",children:[e.jsx(Te,{className:"h-10 w-10 text-red-400 mx-auto mb-4"}),e.jsx("p",{className:"text-xs uppercase tracking-widest text-[#6B6560] mb-3",children:"Speaker Intake"}),e.jsx("h2",{className:"text-xl font-light text-white mb-4",children:"Link unavailable"}),e.jsx("p",{className:"text-[#9A9590] text-sm leading-relaxed mb-6",children:t[N]??t.unknown}),e.jsx("a",{href:"mailto:[email protected]",className:"text-[#d9be81] text-sm underline underline-offset-4",children:"[email protected]"})]})}),e.jsx(J,{})]})}if(m==="success")return e.jsxs(e.Fragment,{children:[e.jsx(X,{}),e.jsx("main",{className:"min-h-screen bg-[#0a0a0a] flex items-center justify-center px-4 sm:px-6",children:e.jsxs("div",{className:"max-w-md w-full text-center py-20",children:[e.jsx(Pe,{className:"h-10 w-10 text-[#d9be81] mx-auto mb-4"}),e.jsx("p",{className:"text-xs uppercase tracking-widest text-[#6B6560] mb-3",children:"Future Summit · Speaker"}),e.jsx("h2",{className:"text-2xl font-light text-white mb-4",children:"Speaker intake saved."}),e.jsxs("p",{className:"text-[#9A9590] text-sm leading-relaxed mb-6",children:["Thanks, ",((ae=i==null?void 0:i.full_name)==null?void 0:ae.split(" ")[0])??"there"," — we have your bio, headshot, and logistics. Need to change something later? Reopen this same link anytime, or use the button below."]}),e.jsx("button",{onClick:()=>{y("idle"),o("form")},className:"px-6 py-2.5 border border-[#d9be81]/40 text-[#d9be81] text-sm rounded-md hover:bg-[#d9be81]/10 transition-colors mb-6",children:"Make more edits"}),e.jsxs("p",{className:"text-[#6B6560] text-xs",children:["Questions?"," ",e.jsx("a",{href:"mailto:[email protected]",className:"text-[#d9be81]",children:"[email protected]"})]})]})}),e.jsx(J,{})]});const G=m==="submitting",ve=Q(a.bio_short),ye=Q(a.bio_long),T=((ne=i==null?void 0:i.existing_intake)==null?void 0:ne.headshot_url)??"",te=((le=i==null?void 0:i.existing_intake)==null?void 0:le.company_logo_url)??"",ke=$({...a,headshot_url:T||a.headshot_base64?"selected":""}),Ne=Object.keys(ke).length===0,se=F==="unsaved"?"Unsaved changes":F==="saving"?"Saving…":F==="saved"?"All changes saved":F==="error"?"Couldn't autosave — your entries are still here; Submit will save them.":"",we=F==="error"?"text-yellow-400":"text-[#6B6560]";return e.jsxs(e.Fragment,{children:[e.jsx(X,{}),e.jsx("main",{className:"min-h-screen bg-[#0a0a0a] py-10 sm:py-16 px-4 sm:px-6",children:e.jsxs("div",{className:"max-w-2xl mx-auto",children:[e.jsx("p",{className:"text-xs uppercase tracking-widest text-[#d9be81] mb-3",children:"FUTURE SUMMIT · SPEAKER INTAKE"}),e.jsx("h1",{className:"text-2xl sm:text-3xl font-light text-white mb-2",children:i!=null&&i.full_name?`Welcome, ${i.full_name.split(" ")[0]}.`:"Speaker Intake"}),e.jsx("p",{className:"text-[#9A9590] text-sm leading-relaxed mb-2",children:"Future Summit has prefilled your profile. Review, correct, and complete it. Text changes autosave as you go, and you can return to this same link anytime."}),e.jsx("div",{className:"h-4 mb-6",children:se&&e.jsx("p",{className:`text-xs ${we}`,children:se})}),e.jsx(Ie,{status:(i==null?void 0:i.intake_status)??"speaker_review",changeRequestMessage:i==null?void 0:i.change_request_message}),e.jsx("h2",{className:P,children:"Identity"}),e.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-3",children:[e.jsxs("div",{children:[e.jsx("label",{className:u,children:"Full name"}),e.jsx("input",{className:p,value:a.full_name,onChange:t=>h("full_name",t.target.value)}),e.jsx(f,{message:g.full_name})]}),e.jsxs("div",{children:[e.jsx("label",{className:u,children:"Email"}),e.jsx("input",{className:p,value:(i==null?void 0:i.email)??"",disabled:!0}),e.jsx("p",{className:"mt-1 text-xs text-[#6B6560]",children:"Contact us to change your email address."}),e.jsx(f,{message:g.email})]}),e.jsxs("div",{children:[e.jsx("label",{className:u,children:"Company"}),e.jsx("input",{className:p,value:a.company,onChange:t=>h("company",t.target.value)}),e.jsx(f,{message:g.company})]}),e.jsxs("div",{children:[e.jsx("label",{className:u,children:"Title"}),e.jsx("input",{className:p,value:a.title,onChange:t=>h("title",t.target.value)}),e.jsx(f,{message:g.title})]}),e.jsxs("div",{children:[e.jsx("label",{className:u,children:"Phone (day-of contact)"}
6),e.jsx("input",{className:p,value:a.phone,onChange:t=>h("phone",t.target.value)})]}),e.jsxs("div",{children:[e.jsx("label",{className:u,children:"Team contact (optional) — CC'd on confirmations"}),e.jsx("input",{type:"email",className:p,value:a.coordinator_email,onChange:t=>h("coordinator_email",t.target.value)})]}),e.jsxs("div",{children:[e.jsx("label",{className:u,children:"Pronouns"}),e.jsx("input",{className:p,placeholder:"e.g. she/her",value:a.pronouns,onChange:t=>h("pronouns",t.target.value)}),e.jsx(f,{message:g.pronouns})]})]}),e.jsx("h2",{className:P,children:"Bio"}),e.jsxs("div",{className:"space-y-3",children:[e.jsxs("div",{children:[e.jsxs("label",{className:u,children:["Short bio · ~80 words ",e.jsxs("span",{className:"text-[#4a4a4a]",children:["(",ve," words)"]})]}),e.jsx("textarea",{rows:4,className:p+" resize-y",placeholder:"One paragraph for the /speakers card.",value:a.bio_short,onChange:t=>h("bio_short",t.target.value)}),e.jsx(f,{message:g.bio_short})]}),e.jsxs("div",{children:[e.jsxs("label",{className:u,children:["Long bio · ~250 words ",e.jsxs("span",{className:"text-[#4a4a4a]",children:["(",ye," words)"]})]}),e.jsx("textarea",{rows:8,className:p+" resize-y",placeholder:"Used in the program and any session brief.",value:a.bio_long,onChange:t=>h("bio_long",t.target.value)}),e.jsx(f,{message:g.bio_long})]}),e.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-3 gap-3",children:[e.jsxs("div",{children:[e.jsx("label",{className:u,children:"LinkedIn"}),e.jsx("input",{className:p,placeholder:"https://linkedin.com/in/…",value:a.linkedin_url,onChange:t=>h("linkedin_url",t.target.value)}),e.jsx(f,{message:g.linkedin_url})]}),e.jsxs("div",{children:[e.jsx("label",{className:u,children:"X / Twitter"}),e.jsx("input",{className:p,placeholder:"https://x.com/…",value:a.x_url,onChange:t=>h("x_url",t.target.value)}),e.jsx(f,{message:g.x_url})]}),e.jsxs("div",{children:[e.jsx("label",{className:u,children:"Website"}),e.jsx("input",{className:p,placeholder:"https://…",value:a.website_url,onChange:t=>h("website_url",t.target.value)}),e.jsx(f,{message:g.website_url})]})]})]}),e.jsx("h2",{className:P,children:"Headshot & Logo"}),e.jsx("p",{className:"text-xs text-[#6B6560] mb-3 -mt-2",children:"Images upload when you hit Submit (they aren't part of autosave)."}),e.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4",children:[e.jsxs("div",{children:[e.jsx("label",{className:u,children:"Headshot (≥800×800 square recommended)"}),T&&!a.headshot_filename&&e.jsxs("div",{className:"flex items-center gap-2 mb-2",children:[e.jsx(ce,{src:T,alt:"Current headshot",width:800,height:800,className:"h-12 w-12 rounded object-cover border border-white/10"}),e.jsx("span",{className:"text-xs text-[#6B6560]",children:"On file — upload a new one to replace it."})]}),e.jsx("input",{type:"file",accept:"image/png,image/jpeg,image/webp",onChange:t=>{var c;return((c=t.target.files)==null?void 0:c[0])&&be(t.target.files[0])},className:"text-xs text-[#9A9590] file:mr-3 file:py-1.5 file:px-3 file:rounded file:border-0 file:bg-[#d9be81]/10 file:text-[#d9be81] file:text-xs"}),a.headshot_filename&&e.jsxs("p",{className:"text-xs text-[#6B6560] mt-1.5",children:["Ready to upload: ",a.headshot_filename]}),E&&e.jsx("p",{className:"text-xs text-yellow-400 mt-1.5",children:E}),e.jsx(f,{message:g.headshot_url})]}),e.jsxs("div",{children:[e.jsx("label",{className:u,children:"Company logo (PNG/JPG/WebP, max 10MB)"}),te&&!a.company_logo_filename&&e.jsxs("div",{className:"flex items-center gap-2 mb-2",children:[e.jsx(ce,{src:te,alt:"Current logo",width:320,height:320,className:"h-12 w-12 rounded object-contain bg-white/5 border border-white/10 p-1"}),e.jsx("span",{className:"text-xs text-[#6B6560]",children:"On file — upload a new one to replace it."})]}),e.jsx("input",{type:"file",accept:"image/png,image/jpeg,image/webp",onChange:t=>{var c;return((c=t.target.files)==null?void 0:c[0])&&fe(t.target.files[0])},className:"text-xs text-[#9A9590] file:mr-3 file:py-1.5 file:px-3 file:rounded file:border-0 file:bg-[#d9be81]/10 file:text-[#d9be81] file:text-xs"}),a.company_logo_filename&&e.jsxs("p",{className:"text-xs text-[#6B6560] mt-1.5",children:["Ready to upload: ",a.company_logo_filename]}),e.jsx(f,{message:g.company_logo_url})]})]}),e.jsx("h2",{className:P,children:"Talk"}),e.jsxs("div",{className:"space-y-3",children:[e.jsxs("div",{children:[e.jsx("label",{className:u,children:"Title"}),e.jsx("input",{className:p,value:a.talk_title,onChange:t=>h("talk_title",t.target.value)}),e.jsx(f,{message:g.talk_title})]}),e.jsxs("div",{children:[e.jsx("label",{className:u,children:"Abstract"}),e.jsx("textarea",{rows:5,className:p+" resize-y",value:a.talk_abstract,onChange:t=>h("talk_abstract",t.target.value)}),e.jsx(f,{message:g.talk_abstract})]}),e.jsxs("div",{children:[e.jsx("label",{className:u,children:"Format"}),e.jsxs("select",{className:p,value:a.talk_format,onChange:t=>h("talk_format",t.target.value),children:[e.jsx("option",{value:"",children:"—"}),We.map(t=>e.jsx("option",{value:t.id,children:t.label},t.id))]}),e.jsx(f,{message:g.talk_format})]})]}),e.jsx("h2",{className:P,children:"Logistics"}),e.jsxs("div",{className:"space-y-3",children:[e.jsxs("div",{children:[e.jsx("label",{className:u,children:"Dietary restrictions / allergies"}),e.jsx("textarea",{rows:2,className:p+" resize-y",value:a.dietary_restrictions,onChange:t=>h("dietary_restrictions",t.target.value)})]}),e.jsxs("div",{children:[e.jsx("label",{className:u,children:"Accessibility requirements"}),e.jsx("textarea",{rows:2,className:p+" resize-y",value:a.accessibility_needs,onChange:t=>h("accessibility_needs",t.target.value)})]}),e.jsxs("div",{children:[e.jsx("label",{className:u,children:"AV needs"}),e.jsx("textarea",{rows:2,className:p+" resize-y",placeholder:"Slides, mic preference, video, demos…",value:a.av_needs,onChange:t=>h("av_needs",t.target.value)})]}),e.jsxs("div",{children:[e.jsx("label",{className:u,children:"Complimentary t-shirt / hoodie size"}),e.jsxs("select",{className:p,value:a.tshirt_size,onChange:t=>h("tshirt_size",t.target.value),children:[e.jsx("option",{value:"",children:"—"}),Ke.map(t=>e.jsx("option",{value:t,children:t},t))]}),e.jsx(f,{message:g.tshirt_size})]})]}),e.jsx("h2",{className:P,children:"Marketing"}),e.jsxs("div",{className:"space-y-3",children:[e.jsxs("div",{children:[e.jsx("label",{className:u,children:"Marketing quote (used in promo / social)"}),e.jsx("textarea",{rows:3,className:p+" resize-y",value:a.marketing_quote,onChange:t=>h("marketing_quote",t.target.value)})]}),e.jsxs("div",{children:[e.jsx("label",{className:u,children:"Quote attribution preference"}),e.jsxs("select",{className:p,value:a.quote_attribution_preference,onChange:t=>h("quote_attribution_preference",t.target.value),children:[e.jsx("option",{value:"",children:"—"}),Ge.map(t=>e.jsx("option",{value:t.id,children:t.label},t.id))]})]}),e.jsxs("div",{children:[e.jsx("label",{className:u,children:"Supporting links (one per line)"}),e.jsx("textarea",{rows:3,className:p+" resize-y",placeholder:"Past talks, articles, publications…",value:a.supporting_links,onChange:t=>h("supporting_links",t.target.value)})]})]}),e.jsx("h2",{className:P,children:"Plus one"}),e.jsxs("div",{className:"space-y-3",children:[e.jsxs("label",{className:"flex items-center gap-2 text-sm text-[#9A9590]",children:[e.jsx("input",{type:"checkbox",checked:a.plus_one_attending,onChange:t=>h("plus_one_attending",t.target.checked),className:"accent-[#d9be81]"}),"Bringing a plus-one guest"]}),a.plus_one_attending&&e.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-3",children:[e.jsxs("div",{children:[e.jsx("label",{className:u,children:"Plus-one full name"}),e.jsx("input",{className:p,value:a.plus_one_name,onChange:t=>h("plus_one_name",t.target.value)})]}),e.jsxs("div",{children:[e.jsx("label",{className:u,children:"Plus-one email"}),e.jsx("input",{className:p,type:"email",value:a.plus_one_email,onChange:t=>h("plus_one_email",t.target.value)}),e.jsx(f,{message:g.plus_one_email})]}),e.jsxs("div",{className:"sm:col-span-2",children:[e.jsx("label",{className:u,children:"Plus-one dietary restrictions"}),e.jsx("input",{className:p,value:a.plus_one_dietary,onChange:t=>h("plus_one_dietary",t.target.value)})]})]})]}),He()&&i&&(m==="form"||m==="submitting")&&e.jsxs("section",{className:"mt-8 rounded-md border border-white/10 bg-white/[0.02] p-4","aria-labelledby":"speaker-studio-heading",children:[e.jsx("h2",{id:"speaker-studio-heading",className:P+" mt-0",children:"Speaker introduction"}),e.jsx(x.Suspense,{fallback:e.jsx("p",{className:"text-sm text-[#9A9590]",role:"status",children:"Loading recording studio…"}),children:e.jsx($e,{token:r,fullName:a.full_name||i.full_name||"",title:a.title||i.title,company:a.company||i.company,sessionTitle:a.talk_title||((ie=i.source_defaults)==null?void 0:ie.talk_title),talkAbstract:a.talk_abstract||((re=i.source_defaults)==null?void 0:re.talk_abstract)})})]}),e.jsxs("div",{className:"mt-10 pt-6 border-t border-white/10",children:[e.jsx(Me,{draft:a,hasExistingHeadsh
6ot:!!T,hasNewHeadshot:!!a.headshot_base64,fieldErrors:g}),V&&e.jsx("p",{className:"text-sm text-red-400 mb-4",children:V}),e.jsxs("button",{onClick:je,disabled:G||!Ne,className:"w-full sm:w-auto px-8 py-3 bg-[#d9be81] text-[#0f0f0f] text-sm font-bold tracking-wider uppercase rounded-md hover:bg-[#d9be81]/90 transition-colors disabled:opacity-50 flex items-center justify-center gap-2",children:[G&&e.jsx(de,{className:"h-4 w-4 animate-spin"}),G?"Submitting…":["submitted","changes_requested","staff_approved"].includes((i==null?void 0:i.intake_status)??"")?"Update speaker intake":"Submit speaker intake"]}),e.jsxs("p",{className:"text-xs text-[#6B6560] mt-3",children:["Text changes autosave. Hit Submit to finalize and to upload any new headshot or logo — you can reopen this same link anytime to update. Questions?"," ",e.jsx("a",{href:"mailto:[email protected]",className:"text-[#d9be81]",children:"[email protected]"}),"."]})]}),i&&e.jsx(Be,{draft:{...a,headshot_url:a.headshot_base64||T},speakerId:i.speaker_id,existingHeadshotUrl:T})]})}),xe&&e.jsx("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-black/70 px-4",role:"dialog","aria-modal":"true","aria-labelledby":"speaker-conflict-title",children:e.jsxs("div",{className:"w-full max-w-md rounded-lg border border-white/15 bg-[#111] p-6 shadow-xl",children:[e.jsx("h2",{id:"speaker-conflict-title",className:"text-lg font-light text-white",children:"Profile updated elsewhere"}),e.jsx("p",{className:"mt-2 text-sm leading-relaxed text-[#9A9590]",children:"Someone else updated this profile — reload to continue. Your current entries have not been overwritten in this browser."}),e.jsxs("div",{className:"mt-5 flex justify-end gap-3",children:[e.jsx("button",{onClick:()=>W(!1),className:"px-3 py-2 text-sm text-[#9A9590]",children:"Keep editing"}),e.jsx("button",{onClick:()=>window.location.reload(),className:"rounded-md bg-[#d9be81] px-3 py-2 text-sm font-medium text-[#111]",children:"Reload"})]})]})}),e.jsx(J,{})]})},dt=Object.freeze(Object.defineProperty({__proto__:null,default:Je},Symbol.toStringTag,{value:"Module"}));export{qe as R,pe as S,lt as a,ot as b,he as c,rt as d,dt as e,it as s,ct as v};

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.