PageSourceSearch

https://trueth.lovable.app/assets/FoundingModels-CV6aNAJX.js

js trueth.lovable.app collected 2026-10-03 03:50:44 UTC 35,491 bytes, 1 lines download raw bytes

1import{j as e,u as Re,d as Ye,r as d,s as R,B as Y,e as p,L as ye,X as qe,l as Z,f as Le,t as Ue,g as We}from"./index-nKGv0UZe.js";import{h as Oe}from"./heic2any-CR0lOZbS.js";import{R as _e}from"./recaptcha-wrapper-CZdI0D_T.js";import{I as q}from"./input-65yosF0F.js";import{T as le}from"./textarea-DDyfX6ar.js";import{C as $e}from"./checkbox-CUvbAVIH.js";import{A as Ge,a as He,b as ze,c as Be}from"./accordion-DhTBs5Fh.js";import{S as L,a as U,b as W,c as O,d as i}from"./select-H8Mchz3D.js";import{u as Ve,E as Je}from"./use-error-handler-Clhs-bAV.js";import{u as Xe}from"./usePublicTalents-Cc_guMM3.js";import{g as Ke}from"./image-utils-C26VKEJ0.js";import{m as ve}from"./proxy-rp7noPBi.js";import{U as Ze}from"./upload-Cj44gRLa.js";import{I as Qe}from"./image-CAJtyY8F.js";import{L as et}from"./loader-circle-B3xNK53j.js";import"./index-CGnjSzoA.js";import"./check-F6qeKBbB.js";import"./index-4dWG5HNm.js";import"./index-DOf1kvvy.js";import"./chevron-down-u6f15DYh.js";import"./index-BdQq_4o_.js";import"./chevron-up-m59VvkOd.js";import"./useQuery-B1iDl6A8.js";const tt=({image:Q,name:c,city:_})=>e.jsxs("div",{className:"relative overflow-hidden rounded-[20px] w-[340px] aspect-square group cursor-pointer shadow-lg",children:[e.jsx("img",{src:Q,alt:c,className:"w-full h-full object-cover"}),e.jsx("div",{className:"absolute top-3 right-3 bg-brand-green text-white text-[10px] font-body font-semibold tracking-wider uppercase px-2.5 py-1 rounded-full",children:"Founding Talent"}),e.jsxs("div",{className:"absolute bottom-0 left-0 right-0 bg-gradient-to-t from-black/60 via-black/25 to-transparent py-5 px-5",children:[e.jsx("p",{className:"text-white text-base font-body font-medium",children:c}),_&&e.jsx("p",{className:"text-white/70 text-xs font-body mt-0.5",children:_})]})]}),It=()=>{const Q=Re(),{toast:c}=Ye(),{handleError:_}=Ve({defaultMessage:Je.APPLICATION_FAILED}),[a,T]=d.useState({firstName:"",lastName:"",email:"",phone:"",birthday:"",gender:"",race:"",country:"",state:"",experience:"",portfolio:"",motivation:"",referralSource:"",excludedIndustries:{religion:!1,politics:!1,alcohol:!1},terms:!1}),[ee,$]=d.useState(null),[G,te]=d.useState(null),[f,ce]=d.useState([]),[de,me]=d.useState(!1),[H,z]=d.useState(null),[j,k]=d.use
1State(null),P=d.useRef(null),B=d.useRef(null),ae=d.useRef(!1),[at,je]=d.useState(!0),[rt,Ne]=d.useState(!0);d.useEffect(()=>{R.functions.invoke("check-talent-cap").then(({data:t,error:r})=>{!r&&t&&je(t.open),Ne(!1)})},[]);const[we,F]=d.useState(0),{talents:ue}=Xe(),u=d.useMemo(()=>ue.map(r=>{let n=r.profile_image_url;if(!n){const o=r.sample_image_urls||[];if(o.length===0)return null;const m=r.id.charCodeAt(0)+r.id.charCodeAt(r.id.length-1);n=o[m%o.length]}return{src:Ke(n,400,70)||n,name:r.display_name||r.name.split(" ")[0],city:r.location||""}}).filter(r=>r!==null).slice(0,10),[ue]);d.useEffect(()=>{F(t=>u.length===0||t>=u.length?0:t)},[u.length]);const w=d.useRef(null),V=d.useCallback(()=>{u.length<2||F(t=>(t+1)%u.length)},[u.length]);d.useEffect(()=>{if(w.current&&clearInterval(w.current),!(u.length<2))return w.current=setInterval(V,5e3),()=>{w.current&&clearInterval(w.current)}},[V,u.length]);const re=d.useCallback(()=>{u.length<2||(w.current&&clearInterval(w.current),w.current=setInterval(V,5e3))},[V,u.length]);d.useMemo(()=>{const t=new Date,r=new Date(t.getFullYear(),11,31);return Math.ceil((r.getTime()-t.getTime())/(1e3*3600*24))},[]);const C=t=>{T({...a,[t.target.name]:t.target.value})},A=(t,r)=>{T({...a,[t]:r}),(t==="country"||t==="state")&&$(null),t==="country"&&r!=="United States"?$("We're not accepting applications from outside the United States yet. We'll expand internationally soon!"):t==="state"&&r==="Illinois"?$("We're not accepting applications from Illinois yet. We'll be expanding to your state soon!"):t==="country"&&r==="United States"&&a.state!=="Illinois"&&$(null)},he=t=>{const n=t.replace(/[^\d\/]/g,"").split("/");if(n.length!==3)return null;const s=parseInt(n[0],10)-1,o=parseInt(n[1],10),m=parseInt(n[2],10);if(s<0||s>11||o<1||o>31||m<1900||m>new Date().getFullYear())return null;const b=new Date(m,s,o);return b.getDate()!==o||b.getMonth()!==s||b.getFullYear()!==m?null:b},ke=t=>{const n=t.target.value.replace(/\D/g,"");let s="";if(n.length>0&&(s=n.substring(0,2),n.length>=3&&(s+="/"+n.substring(2,4)),n.length>=5&&(s+="/"+n.substring(4,8))),T({...a,birthday:s}),te(null),s.length===10){const o=he(s);if(!o){te("Please enter a valid date in MM/DD/YYYY format");return}const m=new Date,b=m.getFullYear()-o.getFullYear(),x=m.getMonth()-o.getMonth(),N=m.getDate()-o.getDate();(x<0||x===0&&N<0?b-1:b)<18&&te("You must be at least 18 years old to apply. We'll be here when you're ready!")}},Ce=t=>{const n=t.target.value.replace(/\D/g,"");let s="";n.length>0&&(s="("+n.substring(0,3),n.length>=4&&(s+=") "+n.substring(3,6)),n.length>=7&&(s+="-"+n.substring(6,10))),T({...a,phone:s})},Se=(t,r)=>{T({...a,[t]:r})},Ie=t=>{const r=t.target.files;if(r){const n=Array.from(r),s=["image/jpeg","image/png","image/webp","image/heic","image/heif"],o=10*1024*1024,m=12,b=n.filter(x=>s.includes(x.type)?x.size>o?(c({title:"File too large",description:`${x.name} exceeds the 10MB limit. Please compress or choose a smaller image.`,variant:"destructive"}),!1):!0:(c({title:"Invalid file type",description:`${x.name} is not an allowed image format. Please upload JPG, PNG, WEBP, or HEIC/HEIF files only.`,variant:"destructive"}),!1));ce(x=>{const N=[...x,...b];return N.length>m?(c({title:"Too many images",description:`Maximum ${m} images allowed. Only the first ${m} will be kept.`,variant:"destructive"}),N.slice(0,m)):N})}t.target.value=""},Te=t=>{ce(r=>r.filter((n,s)=>s!==t))},Pe=async t=>{var ge,pe,fe,be;if(t.preventDefault(),!a.terms){c({title:"Terms Required",description:"Please agree to terms to continue.",variant:"destructive"});return}if(!a.birthday||a.birthday.trim()===""){c({title:"Date of Birth Required",description:"Please enter your date of birth.",variant:"destructive"});return}const r=he(a.birthday);if(!r){c({title:"Invalid Date",description:"Please enter a valid date of birth in MM/DD/YYYY format (e.g., 03/15/2000).",variant:"destructive"});return}const n=new Date,s=n.getFullYear()-r.getFullYear(),o=n.getMonth()-r.getMonth(),m=n.getDate()-r.getDate(),b=o<0||o===0&&m<0?s-1:s;if(b<18){c({title:"Age Requirement",description:"You must be at least 18 years old to apply. We'll be here when you're ready!",variant:"destructive"});return}if(a.country!=="United States"){c({title:"Location Not Available",description:"We're not accepting applications from outside the United States yet. We'll expand internationally s
1oon!",variant:"destructive"});return}if(a.state==="Illinois"){c({title:"State Not Available",description:"We're not accepting applications from Illinois yet. We'll be expanding to your state soon!",variant:"destructive"});return}if(!a.country||!a.state){c({title:"Location Required",description:"Please select both your country and state.",variant:"destructive"});return}if(!a.gender){c({title:"Gender Required",description:"Please select your gender.",variant:"destructive"});return}if(!a.race){c({title:"Race Required",description:"Please select your race/ethnicity.",variant:"destructive"});return}if(!a.motivation||a.motivation.trim()===""){c({title:"Motivation Required",description:"Please tell us why you want to be Trueth Talent.",variant:"destructive"});return}if(f.length<5){c({title:"More Images Required",description:"Please upload at least 5 images to complete your application.",variant:"destructive"});return}if(f.length>12){c({title:"Too Many Images",description:`Please upload no more than 12 images. You currently have ${f.length} images selected.`,variant:"destructive"});return}me(!0),k({current:0,total:f.length,fileName:"",stage:"uploading"});const x=[];P.current=new AbortController;const N=Math.max(3*60*1e3,f.length*45*1e3),J=60*1e3,X=setTimeout(()=>{var g;(g=P.current)==null||g.abort()},N),ne=async(g,E,M)=>{const se=R.storage.from("founding-talent-images").uploadToSignedUrl(E,M,g,{contentType:g.type}),ie=new Promise((v,h)=>{setTimeout(()=>h(new Error(`Upload timed out for ${g.name}. Please check your connection and try again.`)),J)}),oe=await Promise.race([se,ie]);if(oe.error)throw new Error(`Failed to upload ${g.name}: ${oe.error.message}`)};try{if(!H)throw new Error("Please complete the reCAPTCHA verification before submitting.");if((ge=P.current)!=null&&ge.signal.aborted)throw new Error("Submission timed out. Please try again.");const g=[];if(f.length>0){k({current:0,total:f.length,fileName:"Converting images...",stage:"uploading"});const h=[];for(const l of f)if(l.type==="image/heic"||l.type==="image/heif"||l.name.toLowerCase().endsWith(".heic")||l.name.toLowerCase().endsWith(".heif"))try{const S=await Oe({blob:l,toType:"image/jpeg",quality:.9}),I=l.name.replace(/\.heic$/i,".jpg").replace(/\.heif$/i,".jpg");h.push(new File([S],I,{type:"image/jpeg"}))}catch(S){Z("HEIC conversion failed, skipping file",{fileName:l.name,error:S}),c({title:"Conversion failed",description:`Could not convert ${l.name}. Please re-save it as JPG or PNG and try again.`,variant:"destructive"})}else h.push(l);if(h.length!==f.length)throw new Error("Some images could not be processed. Please remove any HEIC photos, re-save them as JPG or PNG, and try again.");if(h.length<5)throw new Error("At least 5 usable images are required. Please add more photos as JPG or PNG and try again.");k({current:0,total:h.length,fileName:"Preparing secure upload...",stage:"uploading"});const D=h.map(l=>l.type),{data:y,error:K}=await R.functions.invoke("get-upload-urls",{body:{email:a.email,fileCount:h.length,fileTypes:D,recaptchaToken:H}});if(K){const l=(pe=K==null?void 0:K.context)==null?void 0:pe.body;throw new Error((l==null?void 0:l.message)||(l==null?void 0:l.error)||"Failed to prepare secure upload. Please try again.")}if(!(y!=null&&y.uploadUrls))throw new Error("No upload URLs received. Please try again.");for(let l=0;l<h.length;l++){if((fe=P.current)!=null&&fe.signal.aborted)throw new Error("Submission was cancelled.");const S=h[l],I=y.uploadUrls[l];k({current:l+1,total:h.length,fileName:S.name,stage:"uploading"}),await ne(S,I.path,I.token),g.push(I.path),x.push(I.path)}}k({current:f.length,total:f.length,fileName:"Submitting application...",stage:"submitting"});const E=r.toISOString().split("T")[0],M=a.state&&a.country==="United States"?`${a.state}, ${a.country}`:a.country,se=a.firstName.trim(),ie=a.lastName.trim(),{data:oe,error:v}
1=await R.functions.invoke("founding-talent-signup",{body:{firstName:se,lastName:ie,email:a.email,phone:a.phone||null,birthday:E,age:b,gender:a.gender||null,race:a.race||null,location:M,experience:a.experience,portfolioUrl:a.portfolio||null,interests:a.motivation||null,excludeReligion:a.excludedIndustries.religion,excludePolitics:a.excludedIndustries.politics,excludeAlcohol:a.excludedIndustries.alcohol,referralSource:a.referralSource||null,uploadedFilesCount:g.length,imagePaths:g,recaptchaToken:H}});if(clearTimeout(X),v){Z("founding-talent-signup error",v);let h="Failed to submit application. Please try again.";try{const D=v==null?void 0:v.context;if(D&&typeof D.json=="function"){const y=await D.json();h=(y==null?void 0:y.message)||(y==null?void 0:y.error)||h}else v!=null&&v.message&&(h=v.message)}catch{}throw new Error(h)}Le("Founding talent application submitted",{email:a.email}),Ue("founding-talent-signup"),We("Lead",{value:0,currency:"USD"}),Q("/thank-you?type=founding-model")}catch(g){if(clearTimeout(X),x.length>0){Z("Cleaning up uploaded files after error",{count:x.length});try{await R.storage.from("founding-talent-images").remove(x)}catch(M){Z("Failed to cleanup uploaded files",M)}}const E=(g instanceof Error?g.message:null)||"Failed to submit your application. Please try again.";_(g,E),(be=B.current)==null||be.reset(),z(null)}finally{me(!1),k(null),P.current=null}},xe=()=>{var t;(t=document.getElementById("application-form"))==null||t.scrollIntoView({behavior:"smooth"})},Fe=()=>{var t;(t=document.getElementById("faq-section"))==null||t.scrollIntoView({behavior:"smooth"})},Ae=()=>{u.length!==0&&(F(t=>(t+1)%u.length),re())},Ee=()=>{u.length!==0&&(F(t=>(t-1+u.length)%u.length),re())},Me=(t,r)=>{const n=r.offset.x+r.velocity.x*.2;n<-80?Ae():n>80&&Ee()},De=["Alabama","Alaska","Arizona","Arkansas","California","Colorado","Connecticut","Delaware","Florida","Georgia","Hawaii","Idaho","Illinois","Indiana","Iowa","Kansas","Kentucky","Louisiana","Maine","Maryland","Massachusetts","Michigan","Minnesota","Mississippi","Missouri","Montana","Nebraska","Nevada","New Hampshire","New Jersey","New Mexico","New York","North Carolina","North Dakota","Ohio","Oklahoma","Oregon","Pennsylvania","Rhode Island","South Carolina","South Dakota","Tennessee","Texas","Utah","Vermont","Virginia","Washington","West Virginia","Wisconsin","Wyoming"];return e.jsxs("div",{className:"min-h-screen font-body",children:[e.jsx("div",{className:"bg-brand-charcoal text-center py-3 px-4 cursor-pointer",onClick:xe,children:e.jsxs("p",{className:"text-sm text-brand-cream/80 font-body",children:["Founding Talent ",e.jsx("span",{className:"text-brand-orange font-bold",children:"spots limited"})," — Lock in your 50% royalty rate before it's gone."]})}),e.jsxs("section",{className:"relative bg-[#f2f0ec] overflow-hidden",children:[e.jsxs("div",{className:"max-w-4xl mx-auto px-4 sm:px-8 md:px-12 lg:px-16 pt-12 sm:pt-16 md:pt-20 pb-8 text-center",children:[e.jsxs("h1",{className:"font-heading text-[28px] sm:text-[34px] md:text-[40px] font-normal text-brand-text mb-6 sm:mb-8 leading-tight",children:["Your face is your ",e.jsx("span",{className:"accent-italic",children:"IP."})," Earn a ",e.jsx("span",{className:"accent-italic",children:"50%"})," royalty."]}),e.jsx("div",{className:"max-w-3xl mx-auto mb-8 sm:mb-10",children:e.jsxs("p",{className:"text-sm sm:text-base md:text-lg text-[#2a241f] leading-relaxed font-body font-normal",children:["The era of the digital double is here. Trueth turns your likeness into licensed IP, letting brands book your look for digital campaigns while you earn a royalty on every image. We are building our Founding Talent cohort now. ",e.jsx("span",{className:"font-bold",children:"The first to join receive 50%, the highest rate we will ever offer."})]})}),e.jsxs("div",{className:"flex flex-col sm:flex-row justify-center gap-4",children:[e.jsx(Y,{size:"lg",className:"bg-brand-green hover:bg-brand-green/90 text-white font-heading font-normal px-10 py-6 text-lg rounded-[12.1px]",onClick:xe,children:"Apply as Founding Talent"}),e.jsx(Y,{size:"lg",variant:"outline",className:"border border-brand-text/20 text-brand-text/70 hover:bg-brand-text/5 hover:text-brand-text font-heading font-normal px-10 py-6 text-lg rounded-[12.1px] bg-transparent",onClick:Fe,children:"Learn more"})]})]}),e.jsx("div",{className:"pb-8 px-4",children:e.jsxs("div",{className:"relative flex items-center justify-center cursor-grab active:cursor-grabbing select-none",style:{height:480},children:[e.jsx(ve.div,{className:"absolute inset-0",drag:"x",dragConstraints:{left:0,right:0},dragElastic:.15,onDragEnd:Me,style:{zIndex:0}}),u.map((t,r)=>{let n=r-we;const s=u.length;n>s/2&&(n-=s),n<-s/2&&(n+=s);const o=n===0;if(!(o||n===-1||n===1))return null;const N=o?0:n*380,J=o?1:.82,X=o?1:.6,ne=o?10:5;return e.jsx(ve.div,{className:"absolute inset-0 flex items-center justify-center",animate:{x:N,scale:J,opacity:X},transition:{type:"spring",stiffness:160,damping:22,mass:1.2},style:{zIndex:ne},onClick:()=>{o||(F(r),re())},children:e.jsx(tt,{image:t.src,name:t.name,city:t.city})},`${t.name}-${r}`)})]})})]}),e.jsx("div",{className:"bg-brand-charcoal",children:e.jsx("div",{className:"max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 py-5",children:e.jsxs("div",{className:"flex flex-col sm:flex-row items-start sm:items-center justify-center gap-3 sm:gap-10",children:[e.jsxs("span",{className:"flex items-center gap-2.5 text-sm text-brand-cream/90 font-body",children:[e.jsx("span",{className:"flex items-center justify-center w-6 h-6 rounded-full bg-brand-orange text-white text-xs font-bold",children:"✓"}),"5 natural selfies"]}),e.jsx("span",{className:"hidden sm:block w-px h-5 bg-brand-cream/20"}),e.jsxs("span",{className:"flex items-center gap-2.5 text-sm text-brand-cream/90 font-body",children:[e.jsx("span",{className:"flex items-center justify-center w-6 h-6 rounded-full bg-brand-orange text-white text-xs font-bold",children:"✓"}),"2 minutes to apply"]}),e.jsx("span",{className:"hidden sm:block w-px h-5 bg-brand-cream/20"}),e.jsxs("span",{className:"flex items-center gap-2.5 text-sm text-brand-cream/90 font-body",children:[e.jsx("span",{className:"flex items-center justify-center w-6 h-6 rounded-full bg-brand-orange text-white text-xs font-bold",children:"✓"}),"No professional photos required"]})]})})}),e.jsx("section",{id:"application-form",className:"scroll-mt-24 py-16 bg-brand-green",children:e.jsx("div",{className:"max-w-3xl mx-auto px-3 sm:px-6 lg:px-8",children:e.jsxs("div",{className:"bg-brand-cream rounded-2xl p-4 sm:p-8 md:p-12 shadow-lg",children:[e.jsxs("div",{className:"text-center mb-10",children:[e.jsxs("h2",{className:"font-heading text-3xl font-bold text-brand-text mb-4",children:["Apply to Join the ",e.jsx("span",{className:"accent-italic",children:"Founding Talent Cohort"})]}),e.jsx("p",{className:"text-brand-text/70 font-body max-w-2xl mx-auto",children:"We're reopening applications for the Founding Talent Cohort. Our team reviews every submission personally. If you're approved, you'll get an email with your login details and join as Founding Talent at our highest royalty tier."})]}),e.jsxs("form",{onSubmit:Pe,className:"space-y-6",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(p,{htmlFor:"firstName",className:"text-xs font-semibold uppercase tracking-wider text-brand-text/70 font-body",children:"First Name *"}),e.jsx(q,{id:"firstName",name:"firstName",required:!0,value:a.firstName,onChange:C,className:"bg-white border-brand-text/10 font-body"})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(p,{htmlFor:"lastName",className:"text-xs font-semibold uppercase tracking-wider text-brand-text/70 font-body",children:"Last Name *"}),e.jsx(q,{id:"lastName",name:"lastName",required:!0,value:a.lastName,onChange:C,className:"bg-white border-brand-text/10 font-body"})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(p,{htmlFor:"email",className:"text-xs font-semibold uppercase tracking-wider text-brand-text/70 font-body",children:"Email Address *"}),e.jsx(q,{id:"email",name:"email",type:"email",required:!0,value:a.email,onChange:C,className:"bg-white border-brand-text/10 font-body",placeholder:"you@email"})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(p,{htmlFor:"phone",className:"text-xs font-semibold uppercase tracking-wider text-brand-text/70 font-body",children:"Phone Number"}),e.jsx(q,{id:"phone",name:"phone",type:"tel",placeholder:"+1 (000) 000-0000",value:a.p
1hone,onChange:Ce,className:"bg-white border-brand-text/10 font-body"})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(p,{htmlFor:"country",className:"text-xs font-semibold uppercase tracking-wider text-brand-text/70 font-body",children:"Country *"}),e.jsxs(L,{name:"country",value:a.country,onValueChange:t=>A("country",t),required:!0,children:[e.jsx(U,{id:"country",className:"bg-white border-brand-text/10 font-body",children:e.jsx(W,{placeholder:"Select country"})}),e.jsxs(O,{children:[e.jsx(i,{value:"United States",children:"United States"}),e.jsx(i,{value:"Canada",children:"Canada"}),e.jsx(i,{value:"United Kingdom",children:"United Kingdom"}),e.jsx(i,{value:"Australia",children:"Australia"}),e.jsx(i,{value:"Other",children:"Other"})]})]})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(p,{htmlFor:"birthday",className:"text-xs font-semibold uppercase tracking-wider text-brand-text/70 font-body",children:"Date of Birth *"}),e.jsx(q,{id:"birthday",name:"birthday",type:"text",placeholder:"MM/DD/YYYY",required:!0,value:a.birthday,onChange:ke,maxLength:10,className:`bg-white border-brand-text/10 font-body ${G?"border-destructive":""}`}),e.jsx("p",{className:"text-xs text-brand-text/40 font-body",children:"Must be 18+ to apply."}),G&&e.jsx("p",{className:"text-sm text-destructive mt-1 font-body",children:G})]})]}),a.country==="United States"&&e.jsx(e.Fragment,{children:e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:e.jsxs("div",{className:"space-y-2",children:[e.jsx(p,{htmlFor:"state",className:"text-xs font-semibold uppercase tracking-wider text-brand-text/70 font-body",children:"State *"}),e.jsxs(L,{name:"state",value:a.state,onValueChange:t=>A("state",t),required:!0,children:[e.jsx(U,{id:"state",className:"bg-white border-brand-text/10 font-body",children:e.jsx(W,{placeholder:"Select state"})}),e.jsx(O,{className:"max-h-[300px]",children:De.map(t=>e.jsx(i,{value:t,children:t},t))})]})]})})}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(p,{htmlFor:"gender",className:"text-xs font-semibold uppercase tracking-wider text-brand-text/70 font-body",children:"Gender *"}),e.jsxs(L,{name:"gender",value:a.gender,onValueChange:t=>A("gender",t),children:[e.jsx(U,{id:"gender",className:"bg-white border-brand-text/10 font-body",children:e.jsx(W,{placeholder:"Select gender"})}),e.jsxs(O,{children:[e.jsx(i,{value:"female",children:"Female"}),e.jsx(i,{value:"male",children:"Male"}),e.jsx(i,{value:"non-binary",children:"Non-binary"}),e.jsx(i,{value:"prefer-not-to-say",children:"Prefer not to say"})]})]})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(p,{htmlFor:"race",className:"text-xs font-semibold uppercase tracking-wider text-brand-text/70 font-body",children:"Race / Ethnicity *"}),e.jsxs(L,{name:"race",value:a.race,onValueChange:t=>A("race",t),children:[e.jsx(U,{id:"race",className:"bg-white border-brand-text/10 font-body",children:e.jsx(W,{placeholder:"Select race/ethnicity"})}),e.jsxs(O,{children:[e.jsx(i,{value:"asian",children:"Asian"}),e.jsx(i,{value:"black",children:"Black or African American"}),e.jsx(i,{value:"hispanic",children:"Hispanic or Latino"}),e.jsx(i,{value:"middle-eastern",children:"Middle Eastern or North African"}),e.jsx(i,{value:"native-american",children:"Native American or Alaska Native"}),e.jsx(i,{value:"pacific-islander",children:"Native Hawaiian or Pacific Islander"}),e.jsx(i,{value:"white",children:"White"}),e.jsx(i,{value:"multiracial",children:"Multiracial / Two or more"}),e.jsx(i,{value:"other",children:"Other"}),e.jsx(i,{value:"prefer-not-to-say",children:"Prefer not to say"})]})]})]})]}),ee&&e.jsx("div",{className:"bg-yellow-50 border-l-4 border-yellow-400 p-4 rounded",children:e.jsxs("div",{className:"flex",children:[e.jsx("div",{className:"flex-shrink-0",children:e.jsx("svg",{className:"h-5 w-5 text-yellow-400",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:e.jsx("path",{fillRule:"evenodd",d:"M8.257 3.099c.765-1.36 2.722-1.36 3.486 0l5.58 9.92c.75 1.334-.213 2.98-1.742 2.98H4.42c-1.53 0-2.493-1.646-1.743-2.98l5.58-9.92zM11 13a1 1 0 11-2 0 1 1 0 012 0zm-1-8a1 1 0 00-1 1v3a1 1 0 002 0V6a1 1 0 00-1-1z",clipRule:"evenodd"})})}),e.jsx("div",{className:"ml-3",children:e.jsx("p",{className:"text-sm text-yellow-700 font-body",children:ee})})]})}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(p,{htmlFor:"experience",className:"text-xs font-semibold uppercase tracking-wider text-brand-text/70 font-body",children:"Tell us about yourself *"}),e.jsx(le,{id:"experience",name:"experience",required:!0,placeholder:"Share a bit about yourself, your interests, and what draws you to ethical AI...",value:a.experience,onChange:C,className:"min-h-[100px] bg-white border-brand-text/10 font-body"})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs(p,{htmlFor:"training-data",className:"text-xs font-semibold uppercase tracking-wider text-brand-text/70 font-body",children:["Upload 5 - 12 photos *",e.jsxs("span",{className:"block text-xs text-brand-text/40 font-normal mt-1 normal-case tracking-normal",children:[e.jsx("strong",{children:"Minimum: 5 selfies"})," with different angles and expressions. ",e.jsx("strong",{children:"Recommended: 10-12 photos"})," with variety. Check our ",e.jsx(ye,{to:"/training-image-best-practices",className:"text-brand-orange hover:text-brand-orange/80 underline font-medium",children:"best-practice guide"}),"."]})]}),e.jsxs("div",{className:"border-2 border-dashed border-brand-text/15 rounded-xl p-8 text-center cursor-pointer hover:border-brand-orange/40 transition-all duration-200 bg-white",onClick:()=>{var t;return(t=document.getElementById("training-data"))==null?void 0:t.click()},children:[e.jsx(Ze,{className:"h-10 w-10 text-brand-text/30 mx-auto mb-3"}),e.jsx("p",{className:"text-brand-text/50 font-body mb-1 text-sm",children:"Drag and drop your photos here"}),e.jsx("p",{className:"text-xs text-brand-text/30 font-body",children:"JPG or PNG"}),e.jsx("input",{type:"file",id:"training-data",multiple:!0,accept:".jpg,.jpeg,.png,.webp,.heic,.heif",onChange:Ie,className:"hidden"}),e.jsx(Y,{type:"button",variant:"outline",className:"mt-4 pointer-events-none border-brand-text/15 text-brand-text/50 font-body",onClick:t=>t.stopPropagation(),children:"Browse files"})]}),f.length>0&&e.jsxs("div",{className:"space-y-2 mt-4",children:[e.jsxs("p",{className:"text-sm font-medium font-body text-brand-text",children:["Uploaded Files (",f.length,"):"]}),e.jsx("div",{className:"grid grid-cols-2 md:grid-cols-3 gap-2",children:f.map((t,r)=>e.jsx("div",{className:"relative bg-white rounded-lg p-2 text-xs border border-brand-text/10",children:e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(Qe,{className:"w-4 h-4 text-brand-text/40"}),e.jsx("span",{className:"truncate flex-1 font-body text-brand-text/70",children:t.name}),e.jsx(Y,{type:"button",variant:"ghost",size:"icon",className:"h-4 w-4 hover:bg-destructive hover:text-destructive-foreground",onClick:()=>Te(r),children:e.jsx(qe,{className:"w-3 h-3"})})]})},r))})]})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(p,{htmlFor:"portfolio",className:"text-xs font-semibold uppercase tracking-wider text-brand-text/70 font-body",children:"Social Links"}),e.jsx(le,{id:"portfolio",name:"portfolio",placeholder:"Share links to your portfolio, social media, or previous work...",value:a.portfolio,onChange:C,className:"min-h-[80px] bg-white border-brand-text/10 font-body"})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(p,{htmlFor:"motivation",className:"text-xs font-semibold uppercase tracking-wider text-brand-text/70 font-body",children:"Why do you want to be Trueth Talent *"}),e.jsx(le,{id:"motivation",name:"motivation",required:!0,placeholder:"Tell us about your interest in ethical AI and what being a Trueth Talent means to you...",value:a.motivation,onChange:C,className:"min-h-[120px] bg-white border-brand-text/10 font-body"})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(p,{htmlFor:"referralSource",className:"text-xs font-semibold uppercase tracking-wider text-brand-text/70 font-body",children:"How did you hear about us?"}),e.jsxs(L,{value:a.referralSource,onValueChange:t=>A("referralSource",t),children:[e.jsx(U,{className:"bg-white border-brand-text/10 font-body",children:e.jsx(W,{placeholder:"Select an option"})}),e.jsxs(O,{children:[e.jsx(i,{value:"social_media",children:"Social Media (Instagram, TikTok, etc.)"}),e.jsx(i,{value:"friend_referral",children:"Friend or Referral"}),e.jsx(i,{value:"google_search",children:"Google Search"}),e.jsx(i,{value:"reddit",children:"Reddit"}),e.jsx(i,{value:"youtube",children:"YouTube"}),e.jsx(i,{value:"news_blog",children:"News Article or Blog"}),e.jsx(i,{value:"podcast",children:"Podcast"}),e.jsx(i,{value:"other",children:"Other"})]})]})]}),e.jsx("div",{className:"space-y-4 pt-6 border-t border-brand-text/10",children:e.jsxs("div",{className:"flex items-start space-x-3",children:[e.jsx($e,{id:"terms",checked:a.terms,onCheckedChange:t=>Se("terms",t),className:"mt-1"}),e.jsxs(p,{htmlFor:"terms",className:"text-sm font-normal cursor-pointer leading-relaxed font-body text-brand-text/70",children:["I agree to Trueth's ",e.jsx("a",{href:"/terms",target:"_blank",rel:"noopener noreferrer",className:"text-brand-orange hover:underline",children:"Terms of Service"})," and ",e.jsx("a",{href:"/privacy-policy",target:"_blank",rel:"noopener noreferrer",className:"text-brand-orange hover:underline",children:"Privacy Policy"})," *"]})]})}),e.jsx("div",{className:"flex justify-center",children:e.jsx(_e,{ref:B,sitekey:"6LfXLRwsAAAAAPmsZp31855OX8LdaJLwb0IiezGo",size:"normal",onChange:t=>z(t),onExpired:()=>{var t;
1z(null),(t=B.current)==null||t.reset(),c({title:"Verification Expired",description:"Please check the reCAPTCHA box again to continue.",variant:"destructive"})},onErrored:()=>{ae.current||(ae.current=!0,z(null),setTimeout(()=>{var t;(t=B.current)==null||t.reset(),ae.current=!1},3e3),c({title:"Connection Issue",description:"There was a network issue. Please check your internet connection and try the verification again."}))}})}),e.jsx(Y,{type:"submit",disabled:de||!H||!!ee||!!G,className:"w-full bg-brand-orange hover:bg-brand-orange/90 text-white font-semibold py-6 text-lg font-body disabled:opacity-50 rounded-xl",children:de?e.jsxs(e.Fragment,{children:[e.jsx(et,{className:"mr-2 h-5 w-5 animate-spin"}),(j==null?void 0:j.stage)==="uploading"?`Uploading ${j.current}/${j.total}...`:"Submitting..."]}):"Submit Application"}),j&&e.jsxs("div",{className:"text-center text-sm text-brand-text/50 space-y-2 font-body",children:[e.jsx("div",{className:"w-full bg-brand-text/10 rounded-full h-2",children:e.jsx("div",{className:"bg-brand-orange h-2 rounded-full transition-all duration-300",style:{width:`${j.current/j.total*100}%`}})}),e.jsx("p",{className:"truncate max-w-md mx-auto",children:j.fileName}),e.jsx("p",{className:"text-xs text-brand-text/30",children:"Please don't navigate away during submission."})]}),e.jsxs("p",{className:"text-xs text-brand-text/40 text-center mt-3 font-body",children:["This site is protected by reCAPTCHA and the Google"," ",e.jsx("a",{href:"https://policies.google.com/privacy",target:"_blank",rel:"noopener noreferrer",className:"underline hover:text-brand-text",children:"Privacy Policy"})," and"," ",e.jsx("a",{href:"https://policies.google.com/terms",target:"_blank",rel:"noopener noreferrer",className:"underline hover:text-brand-text",children:"Terms of Service"})," apply."]})]})]})})}),e.jsx("section",{className:"py-16 md:py-20 bg-brand-cream",children:e.jsxs("div",{className:"max-w-6xl mx-auto px-4 sm:px-6 lg:px-8",children:[e.jsxs("h2",{className:"font-heading text-3xl lg:text-4xl font-bold text-brand-text text-center mb-4",children:["How it works ",e.jsx("span",{className:"accent-italic",children:"(it's simple)"})]}),e.jsx("p",{className:"text-center text-brand-text/50 font-body mb-12",children:"No exclusivity. No lock-ins. You can opt out at any time."}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6",children:[{num:"01",title:"Apply in under 2 minutes",desc:e.jsxs(e.Fragment,{children:["Upload 5 - 12 clear selfies and answer a few short questions. Check our ",e.jsx(ye,{to:"/training-image-best-practices",className:"text-brand-orange hover:text-brand-orange/80 underline font-medium",children:"best practices guide"})," for tips."]})},{num:"02",title:"We create your digital likeness",desc:"Your images are used to create a secure, high-quality Trueth Talent profile — never scraped, never trained without consent."},{num:"03",title:"Your face gets picked. You get paid.",desc:"When a brand uses your likeness to create content, you earn a royalty — it's that simple."},{num:"04",title:"Founding Talent earn more — forever",desc:"Year One Talent lock in a 50% royalty for life."}].map(t=>e.jsxs("div",{className:"bg-white rounded-2xl p-6 md:p-8",children:[e.jsx("span",{className:"font-heading text-5xl font-bold text-brand-orange",children:t.num}),e.jsx("h3",{className:"text-base font-bold text-brand-text mt-4 mb-3 uppercase tracking-wide font-body",children:t.title}),e.jsx("p",{className:"text-brand-text/60 leading-relaxed text-sm font-body",children:t.desc})]},t.num))})]})}),e.jsx("section",{id:"faq-section",className:"py-20 bg-brand-charcoal",children:e.jsxs("div",{className:"max-w-6xl mx-auto px-4 sm:px-6 lg:px-8",children:[e.jsxs("h2",{className:"font-heading text-3xl lg:text-4xl font-bold mb-12 text-center text-white",children:["Questions ",e.jsx("span",{className:"accent-italic",children:"answered."})]}),e.jsx(Ge,{type:"single",collapsible:!0,className:"space-y-3",children:[{id:"item-1",q:'What does "royalty" mean?',a:["A royalty is your share of the money generated when your likeness is selected and used.","Every time a brand uses your face to generate content, a royalty is created — and you earn a percentage of it.","<strong>Founding Talent earn 50% of royalties for life.</strong>"]},{id:"item-2",q:"Why is the Founding Talent royalty so high?",a:["Because we believe early contributors should benefit the most.","Founding Talent help shape Trueth from the beginning, so we've reserved our highest possible royalty tier for the cohort only. Once the founding window closes, future talent will enter at lower tiers."]},{id:"item-3",q:"How do royalty tiers work?",a:["Royalties on Trueth are tiered — meaning the more your likeness is used, the higher your royalty rate becomes.","Every time a brand presses Create using your face, it c
1ounts toward your lifetime generation total and moves you through tiers automatically."]},{id:"item-4",q:"Who can apply?",a:["People of all backgrounds, ages (18+), body types, and identities.","You don't need modeling experience — just clear photos and comfort licensing your likeness with consent."]},{id:"item-5",q:"What are the photo requirements?",a:["<strong>Simple: 5 quality selfies.</strong>","We don't require professional photos, agency representation, or prior experience. If you submit 5 clear, well-lit images that meet our training data guidelines, you're in."]},{id:"item-6",q:"Is my data safe?",a:["<strong>Yes. Always.</strong>","Your images are never scraped, sold, or used outside of Trueth.","You can remove your likeness at any time."]},{id:"item-7",q:"Is this exclusive?",a:["<strong>No.</strong>","You retain full ownership of your likeness and can work elsewhere freely.","Trueth licenses your digital likeness with permission — not ownership."]},{id:"item-8",q:"What happens if I want to leave?",a:["<strong>You can leave at any time.</strong>","If you remove your profile, your likeness will no longer be available for future use.","No penalties. No lock-ins."]}].map(t=>e.jsxs(He,{value:t.id,className:"bg-brand-cream rounded-xl px-6 shadow-sm border-0",children:[e.jsx(ze,{className:"text-left font-semibold text-base hover:no-underline py-5 font-body text-brand-text",children:t.q}),e.jsx(Be,{className:"text-brand-text/60 leading-relaxed pb-5 space-y-3 font-body text-sm",children:t.a.map((r,n)=>e.jsx("p",{dangerouslySetInnerHTML:{__html:r}},n))})]},t.id))})]})})]})};export{It as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.