PageSourceSearch

https://eromantic.ai/static/js/3687.5d04c4af.chunk.js

js eromantic.ai collected 2026-10-05 12:00:18 UTC 33,067 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkeromantic_ai=self.webpackChunkeromantic_ai||[]).push([[3687],{28533:(e,t,a)=>{a.d(t,{HX:()=>m,Y3:()=>d,jz:()=>c,lj:()=>h,wG:()=>l});new Set([402]);const s=new Set(["queued","generating"]),r=new Set(["succeeded","ready","completed","complete","success"]),i=new Set(["failed","error","errored","canceled","cancelled"]),l="/assets/img/chatbot.jpg",n=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e.imgname||e.img_url||e.Image||e.image||e.image_url||e.url||""},o=function(){const e=String((arguments.length>0&&void 0!==arguments[0]?arguments[0]:"")||"").toLowerCase();return!e||e.includes("placeholder")||e.includes("generating")},d=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l;const a="string"===typeof e?e:n(e);return o(a)?t:a},c=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=String(e.image_status||e.imageStatus||e.generation_status||e.status||"").trim().toLowerCase();return s.has(t)?t:r.has(t)?"succeeded":i.has(t)?"failed":o(n(e))?"generating":"succeeded"},m=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=c(e);return"failed"!==t&&(s.has(t)||o(n(e)))},h=function(){const e=c(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{});return"queued"===e?{title:"Portrait queued",body:"Your companion is ready to chat. The portrait is queued and will appear here automatically."}:"generating"===e?{title:"Portrait generating",body:"Your companion is ready to chat. The portrait is still generating and will appear here automatically."}:"failed"===e?{title:"Portrait failed",body:"We could not finish this portrait. You can regenerate it where regeneration is available."}:{title:"Portrait ready",body:""}}},45570:(e,t,a)=>{a.d(t,{Fv:()=>u,dV:()=>l,dm:()=>b,fi:()=>p,mw:()=>m,wW:()=>n,xh:()=>h});var s=a(50351);const r={Female:["RealisticGirl","AnimeGirl"],Male:["RealisticBoy","AnimeBoy"],Trans:["TransGirl","AnimeTransGirl"]},i=[...r.Female,...r.Male,...r.Trans],l=["All","Realistic","Anime"],n=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return String(e).startsWith("Anime")?"Anime":String(e).startsWith("Realistic")?"Realistic":""}(e.catalog_group);if(t)return t;const a=c(e.style).toLowerCase().replace(/[\s_-]+/g,"");return a.includes("anime")||a.includes("illustration")?"Anime":a.includes("realistic")||a.includes("photoreal")?"Realistic":""},o=new Set(["2458","2461","2463"]),d=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return/^(seed_static_catalog:|reviewed_cohort:)/.test(String(e.prompt_id||""))||o.has(String(e.id||""))},c=e=>String(e||"").trim(),m=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return i.reduce(((t,a)=>{return{...t,[a]:(s=e[a],r=a,(s||[]).map((e=>{const t=e.character||{};return{...t,assistant_id:e.assistant||t.assistant,thread_id:e.thread_id||t.thread_id,Image:t.img_url,img_url:t.img_url,vid_url:t.vid_url,Personality:t.personality||t.Personality||"",Occupation:t.occupation||t.Occupation||"",Summary:t.summary||t.Summary||"",Ethnicity:t.ethnicity||t.Ethnicity||"",name:t.name||"",age:t.age||"",style:t.style||"",catalog_group:r}})))};var s,r}),{})},h=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];const t=new Map;
1return(Array.isArray(e)?e:[]).forEach((e=>{var a,s;const r=c((null===e||void 0===e||null===(a=e.companion)||void 0===a?void 0:a.assistant_id)||(null===e||void 0===e||null===(s=e.companion)||void 0===s?void 0:s.assistant)),i=c(null===e||void 0===e?void 0:e.asset_url),l=c(null===e||void 0===e?void 0:e.asset_kind).toLowerCase(),n=null===e||void 0===e?void 0:e.id;if(!r||!n||!i||!["image","video"].includes(l)||t.has(r))return;const o=c((null===e||void 0===e?void 0:e.poster_url)||(null===e||void 0===e?void 0:e.image_url));t.set(r,{releaseId:n,assetUrl:i,isVideo:"video"===l,imageUrl:"video"===l?o:c((null===e||void 0===e?void 0:e.image_url)||i),caption:c(null===e||void 0===e?void 0:e.caption)})})),t}(arguments.length>1&&void 0!==arguments[1]?arguments[1]:[]);return t.size?i.reduce(((a,s)=>{const r=(Array.isArray(e[s])?e[s]:[]).map((e=>{const a=t.get(c(e.assistant_id));if(!a||!d(e))return e;const s=a.imageUrl||e.img_url;return{...e,Image:s,img_url:s,...a.isVideo?{vid_url:a.assetUrl}:{},content_release_id:a.releaseId,content_release_caption:a.caption}})),i=r.filter((e=>t.has(c(e.assistant_id)))),l=r.filter((e=>!t.has(c(e.assistant_id))));return{...a,[s]:[...i,...l]}}),{}):e},x=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return r.Trans.some((t=>(e[t]||[]).length>0))},u=function(){return["All","Female","Male",...x(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{})?["Trans"]:[]]},p=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(r[arguments.length>1&&void 0!==arguments[1]?arguments[1]:"All"]||i).flatMap((t=>e[t]||[]))},b=function(){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const t=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{activeCategory:t="All",activeStyle:a="All",activeTag:r="All",searchQuery:i=""}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},l=p(e,t);if("All"!==a&&(l=l.filter((e=>n(e)===a))),"All"!==r){const e=r.toLowerCase();l=l.filter((t=>{const a=[t.tags,t.Personality,t.personality,t.ethnicity,t.Ethnicity,t.Summary,t.name,t.Occupation].map((e=>(0,s.xT)(e,""))).filter(Boolean).join(" ").toLowerCase();return({ebony:["ebony","african"],arab:["arab","arabic"]}[e]||[e]).some((e=>a.includes(e)))}))}if(i.trim()){const e=i.toLowerCase();l=l.filter((t=>[t.name,t.Personality,t.personality,t.Summary,t.Ethnicity,t.ethnicity,t.Occupation,t.style].map((e=>(0,s.xT)(e,""))).filter(Boolean).join(" ").toLowerCase().includes(e)))}return l}(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e).filter(d);return"All"===(e.activeStyle||"All")?function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];const t=[],a=[],s=[];
1(Array.isArray(e)?e:[]).forEach((e=>{const r=n(e);"Realistic"===r?t.push(e):"Anime"===r?a.push(e):s.push(e)}));const r=[];let i=0,l=0;for(;i<t.length||l<a.length;)r.push(...t.slice(i,i+2)),i+=2,r.push(...a.slice(l,l+1)),l+=1;return[...r,...s]}(t):t}},73628:(e,t,a)=>{a.d(t,{A:()=>o});a(9950);var s=a(76927),r=a(42074),i=a(44414);const l="block py-1 text-sm text-white/60 hover:text-brand-500 transition-colors duration-200 cursor-pointer",n="text-xs font-semibold tracking-wider uppercase text-white/50 mb-3",o=()=>{const e=[s.Kd7,s.pfo,s.wTB,s.DvP,s.K92,s.DQ1,s.Ksd];return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("hr",{className:"bg-[#818181] dark:bg-[#7e7e7e] h-[1px] border-none"}),(0,i.jsxs)("div",{className:"px-4 md:px-16 py-10 bg-[#0a0a0a] text-neutral-300 mb-20 md:mb-0",children:[(0,i.jsxs)("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-8",children:[(0,i.jsxs)("div",{className:"col-span-2 md:col-span-1",children:[(0,i.jsx)("img",{loading:"lazy",src:s.guG,alt:"Eromantic",className:"w-32 brightness-0 invert"}),(0,i.jsx)("p",{className:"mt-3 text-sm text-white/60",children:"Your AI companion awaits."}),(0,i.jsxs)("div",{className:"flex items-center gap-4 mt-5",children:[(0,i.jsx)(r.k2,{to:"https://x.com/eromanticai",target:"_blank",rel:"noopener noreferrer","aria-label":"Twitter",children:(0,i.jsx)("img",{loading:"lazy",src:s.KKS,alt:"Twitter",className:"w-6 opacity-70 hover:opacity-100 transition"})}),(0,i.jsx)(r.k2,{to:"https://www.instagram.com/eromantic.ai/",target:"_blank",rel:"noopener noreferrer","aria-label":"Instagram",children:(0,i.jsx)("img",{loading:"lazy",src:s.pds,alt:"Instagram",className:"w-6 opacity-70 hover:opacity-100 transition"})})]})]}),(0,i.jsxs)("div",{children:[(0,i.jsx)("h3",{className:n,children:"Generate"}),(0,i.jsx)(r.N_,{to:"/ai-porn-image-generator",className:l,children:"Image & Video Studio"}),(0,i.jsx)(r.N_,{to:"/ai-girlfriend-generator",className:l,children:"AI Character"}),(0,i.jsx)(r.N_,{to:"/chat",className:l,children:"AI Chat"})]}),(0,i.jsxs)("div",{children:[(0,i.jsx)("h3",{className:n,children:"Company"}),(0,i.jsx)(r.N_,{to:"/subscription-plan",className:l,children:"Pricing"}),(0,i.jsx)(r.N_,{to:"/dashboard/become-an-affiliate",className:l,children:"Affiliates"}),(0,i.jsx)(r.N_,{to:"/blogs",className:l,children:"Blog"}),(0,i.jsx)(r.N_,{to:"/dashboard/support",className:l,children:"Support"})]}),(0,i.jsxs)("div",{children:[(0,i.jsx)("h3",{className:n,children:"Legal"}),(0,i.jsx)(r.N_,{to:"/terms-of-service",className:l,children:"Terms"}),(0,i.jsx)(r.N_,{to:"/privacy-policy",className:l,children:"Privacy"}),(0,i.jsx)(r.N_,{to:"/cookie-policy",className:l,children:"Cookies"}),(0,i.jsx)("span",{className:l,children:"Sitemap"})]})]}),(0,i.jsxs)("div",{className:"mt-10 pt-6 border-t border-white/10 flex flex-col md:flex-row md:items-center md:justify-between gap-4 flex-wrap",children:[(0,i.jsxs)("div",{className:"flex items-center gap-3 flex-wrap",children:[(0,i.jsx)("span",{className:"text-xs text-white/40",children:"We accept"}),(0,i.jsx)("div",{className:"flex items-center gap-2 flex-wrap",children:e.map(((e,t)=>(0,i.jsx)("img",{loading:"lazy",src:e,alt:"payment method",className:"w-7 opacity-70"},t)))})]}),(0,i.jsxs)("p",{className:"text-xs text-white/40",children:["\xa9 ",(new Date).getFullYear()," EROMANTIC.AI \xb7 All rights reserved"]})]}),(0,i.jsx)("p",{className:"text-xs text-white/40 leading-relaxed max-w-2xl mx-auto md:mx-0 mt-6",children:"The content on this website is generated by AI for entertainment purposes only and does not portray real individuals or events. Visitors are advised to use their own discretion, and neither the website nor its operators are liable for any consequences resulting from the use of this content."})]})]})}},93687:(e,t,a)=>{a.r(t),a.d(t,{default:()=>_,greetingName:()=>y,planLabel:()=>N});var s=a(9950),r=a(10300),i=a(28429),l=a(13801),n=a(45264),o=a(5857),d=a(29246),c=a(28664),m=a(95292),h=a(73628),x=a(70922),u=a(50351),p=a(28533),b=a(98951),g=a(44414);const f=e=>{let{drop:t,onOpenChat:a,onPreviewStart:r,onUnlock:i}=e;const l=(0,s.useRef)(null),n=(0,s.useRef)(!1),o=Boolean(t&&!t.blurred&&t.video_url);if((0,s.useEffect)((()=>{n.current=!1}),[null===t||void 0===t?void 0:t.release_id]),(0,s.useEffect)((()=>
1{if(!o||null===t||void 0===t||!t.release_id||!l.current)return;const e=()=>{n.current||(n.current=!0,null===r||void 0===r||r(t))};if("undefined"===typeof IntersectionObserver)return void e();const a=new IntersectionObserver((t=>{let[a]=t;a.isIntersecting&&a.intersectionRatio>=.6&&e()}),{threshold:[0,.6,1]});return a.observe(l.current),()=>a.disconnect()}),[t,o,r]),!t)return null;const d=(0,p.Y3)(t),c=t.cta_text||`Chat with ${t.name}`;return(0,g.jsxs)("section",{ref:l,"aria-label":"Today's Drop",children:[(0,g.jsxs)("div",{className:"flex items-center justify-between mb-3",children:[(0,g.jsxs)("h2",{className:"text-lg md:text-xl font-semibold",children:[(0,g.jsx)("i",{className:"fa-solid fa-gift text-yellow-400 mr-2 text-base","aria-hidden":"true"}),"Today's Drop"]}),(0,g.jsx)("span",{className:"text-xs text-neutral-500",children:"Resets every 24h"})]}),(0,g.jsx)("div",{className:"relative overflow-hidden rounded-xl border border-white/10 bg-[#111] group",children:(0,g.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-[200px_1fr]",children:[(0,g.jsxs)("div",{className:"relative aspect-square overflow-hidden bg-black sm:aspect-auto sm:h-full",children:[(0,g.jsx)("img",{src:d,alt:t.name,loading:"lazy",className:"h-full w-full object-cover object-top transition-transform duration-500 group-hover:scale-105 "+(t.blurred?"blur-2xl scale-110":"")}),o&&(0,g.jsx)("video",{"aria-label":`Motion preview of ${t.name}`,className:"absolute inset-0 h-full w-full object-cover object-top transition-transform duration-500 group-hover:scale-105",src:t.video_url,poster:d,muted:!0,loop:!0,playsInline:!0,autoPlay:!0,preload:"metadata",onError:e=>{e.currentTarget.style.display="none"}}),t.blurred&&(0,g.jsx)("div",{className:"absolute inset-0 flex items-center justify-center bg-black/40",children:(0,g.jsx)("i",{className:"fa-solid fa-lock text-3xl text-white/70","aria-hidden":"true"})})]}),(0,g.jsxs)("div",{className:"flex flex-col justify-between gap-3 p-4 md:p-6",children:[(0,g.jsxs)("div",{children:[(0,g.jsx)("p",{className:"mb-1 text-xs font-semibold uppercase tracking-wide text-yellow-400",children:t.release_id?"Fresh companion drop":"Featured today"}),(0,g.jsx)("h3",{className:"mb-1 text-xl font-bold md:text-2xl",children:t.name}),t.caption&&(0,g.jsx)("p",{className:"mb-2 text-sm font-medium leading-6 text-[#ffd4da]",children:t.caption}),t.summary&&(0,g.jsx)("p",{className:"line-clamp-3 text-sm text-neutral-300",children:t.summary})]}),t.blurred?(0,g.jsxs)("button",{type:"button",onClick:i,className:"min-h-[44px] self-start rounded-full bg-gradient-to-r from-brand-500 to-brand-900 px-4 py-2 text-sm font-semibold text-white transition-colors hover:from-[#ff6b82] hover:to-[#b30017]",children:[(0,g.jsx)("i",{className:"fa-solid fa-crown mr-2","aria-hidden":"true"}),"Unlock with Premium"]}):(0,g.jsxs)("button",{type:"button",onClick:()=>null===a||void 0===a?void 0:a(t),className:"min-h-[44px] self-start rounded-full bg-brand-900 px-4 py-2 text-sm font-semibold text-white transition-colors hover:bg-[#b30017]",children:[(0,g.jsx)("i",{className:"fa-solid fa-comments mr-2","aria-hidden":"true"}),c]})]})]})})]})};var v=a(45570);const j=e=>{let{className:t}=e;return(0,g.jsx)("div",{className:`animate-pulse bg-white/5 rounded-xl ${t}`})},w=e=>{let{children:t,delay:a=0,className:s=""}=e;return(0,g.jsx)(l.P.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5,delay:a},className:s,children:t})},y=e=>{const t=String((null===e||void 0===e?void 0:e.first_name)||"").trim();if(t)return t;const a=String((null===e||void 0===e?void 0:e.username)||(null===e||void 0===e?void 0:e.email)||"").trim();return a?a.includes("@")?a.split("@")[0]:a:"there"},N=e=>{const t=String(e||"").trim();return t&&t.split(/[_\s]+/).filter((e=>e&&"subscription"!==e.toLowerCase())).map((e=>e.charAt(0).toUpperCase()+e.slice(1).toLowerCase())).join(" ")||"Free"},_=()=>{var e,t;const a=(0,r.d4)((e=>e.user)),_=a.isAuthenticated,A=a.user,C=(0,i.Zp)(),{openAuthModal:k}=(0,c.Xi)(),[S,I]=(0,s.useState)(null),[P,T]=(0,s.useState)([]),[E,R]=(0,s.useState)([]),[z,L]=(0,s.use
1State)(null),[G,O]=(0,s.useState)([]),[B,V]=(0,s.useState)(!0),[$,F]=(0,s.useState)(!0),[M,W]=(0,s.useState)(!0),[Y,H]=(0,s.useState)(null),[D,U]=(0,s.useState)(!0),[q,K]=(0,s.useState)("All"),[Q,X]=(0,s.useState)("All"),[Z,J]=(0,s.useState)("All"),[ee,te]=(0,s.useState)(""),[ae,se]=(0,s.useState)(null),re=(0,s.useRef)(null),ie=(0,s.useRef)(null),le=(e,t)=>{(e=>{let{apiClient:t,event:a,releaseId:s}=e;!!s&&Promise.resolve(t.post(`assistant_api/content-releases/${s}/events/`,{event:a},!0,!0,!1)).catch((()=>{}))})({apiClient:n.A,event:t,releaseId:null===e||void 0===e?void 0:e.release_id})};(0,s.useEffect)((()=>{_?n.A.get("api/v1/get_token/",{},!0,!0,!1).then((e=>{e.success&&I(e.data)})).finally((()=>V(!1))):V(!1)}),[_]),(0,s.useEffect)((()=>{if(_){const e=localStorage.getItem("token");d.A.get(`${o.lq}assistant_api/bot_fetch/`,{headers:{Authorization:`Bearer ${e}`}}).then((e=>{var t;200===e.status&&null!==(t=e.data)&&void 0!==t&&t.data&&T(e.data.data)})).catch((e=>{console.error("Failed to load companions:",e)})).finally((()=>F(!1)))}else F(!1)}),[_]),(0,s.useEffect)((()=>{if(!_)return void H(null);let e=!1;return(async()=>{try{var t;const a=await n.A.get("assistant_api/daily-drop/",{},!0,!0,!1);!e&&null!==a&&void 0!==a&&a.success&&null!==a&&void 0!==a&&null!==(t=a.data)&&void 0!==t&&t.drop&&(H(a.data.drop),(0,x.u)("daily_drop_shown",{character_id:a.data.drop.character_id,blurred:!!a.data.drop.blurred}))}catch{}})(),()=>{e=!0}}),[_]),(0,s.useEffect)((()=>{const e=n.A.get("assistant_api/all_static_data/",{},!1,!0,!1),t=n.A.get("assistant_api/content-releases/?placement=card_preview",{},!1,!0,!1).catch((()=>null));Promise.all([e,t]).then((e=>{var t;let[a,s]=e;if(a.success&&null!==(t=a.data)&&void 0!==t&&t.static_data){var r;const e=a.data.static_data,t=(0,v.mw)(e),i=null!==s&&void 0!==s&&s.success&&Array.isArray(null===(r=s.data)||void 0===r?void 0:r.releases)?s.data.releases:[],l=(0,v.xh)(t,i);L(l),R((0,v.dm)(l))}})).finally((()=>W(!1)))}),[]);const ne=z?(0,v.dm)(z,{activeCategory:q,activeStyle:Z,activeTag:Q,searchQuery:ee}):E,oe=(0,v.Fv)(z||{}),de=v.dV.reduce(((e,t)=>{const a=(0,v.fi)(z||{},q);return e[t]="All"===t?a.length:a.filter((e=>(0,v.wW)(e)===t)).length,e}),{});(0,s.useEffect)((()=>{_?n.A.get("api/v1/get_allGenerated_image/?page_size=6&order_by=-created_at&status=completed",{},!0,!0,!1).then((e=>{var t;e.success&&null!==(t=e.data)&&void 0!==t&&t.results&&O(e.data.results)})).finally((()=>U(!1))):U(!1)}),[_]);const ce=e=>{_?C(e):k("signin")},me=e=>{_?C(`/chat/${e}`):k("signin")};return(0,g.jsx)(m.A,{title:"Eromantic AI - Dashboard",description:"Your personalized AI companion dashboard",keywords:"AI Girlfriend, AI Boyfriend, AI Chat, Image Generation",children:(0,g.jsxs)("div",{className:"min-h-screen bg-[#0a0a0a] text-white pb-20 overflow-x-hidden max-w-full",children:[(0,g.jsx)(w,{children:(0,g.jsxs)("div",{className:"relative overflow-hidden mb-6 mt-2 rounded-xl mx-3 md:mx-6",children:[(0,g.jsx)("div",{className:"absolute inset-0 bg-gradient-to-r from-[#0a0a0a] via-[#2a0a15] to-brand-900/60"}),(0,g.jsx)("div",{className:"absolute inset-0 bg-gradient-to-br from-transparent via-transparent to-brand-900/20"}),(0,g.jsxs)("div",{className:"relative z-10 px-4 md:px-8 py-5 md:py-10",children:[(0,g.jsx)("h1",{className:"text-lg md:text-3xl font-bold mb-2",children:_?`Welcome back, ${y(A)}`:"Welcome to Eromantic"}),_&&S&&(0,g.jsxs)("div",{className:"flex items-center gap-2 mb-4 text-sm text-neutral-400",children:[(0,g.jsx)("i",{className:"fa-solid fa-coins text-yellow-500"}),(0,g.jsxs)("span",{children:[Math.round(null!==(e=null!==(t=S.token)&&void 0!==t?t:S.token_balance)&&void 0!==e?e:0).toLocaleString()," tokens"]}),(0,g.jsx)("span",{className:"text-neutral-600 mx-1",children:"|"}),(0,g.jsxs)("span",{children:[N(S.subscription_type)," plan"]})]}),!_&&(0,g.jsx)("p",{className:"text-neutral-400 text-sm mb-4",children:"Create AI companions, generate images, and chat \u2014 all powered by AI."}),(0,g.jsxs)("div",{className:"flex flex-wrap gap-2 md:gap-3 mt-2",children:[(0,g.jsxs)("button",{onClick:()=>ce("/ai-girlfriend-generator"),className:"px-4 py-2.5 min-h-[44px] bg-brand-900 hover:bg-[#b30017] text-white text-sm font-medium rounded-full transition-colors duration-200",children:[(0,g.jsx)("i",{className:"fa-solid fa-wand-magic-sparkles mr-2"}),"New Companion"]}),(0,g.jsxs)("button",{onClick:()=>ce("/dashboard/studio"),className:"px-4 py-2.5 min-h-[44px] bg-white/10 hover:bg-white/15 text-white text-sm font-medium rounded-full transition-colors duration-200 border border-white/10",children:[(0,g.jsx)("i",{className:"fa-solid fa-camera mr-2"}),"Open the Studio"]}),(0,g.jsxs)("button",{onClick:()=>ce("/chat"),className:"px-4 py-2.5 min-h-[44px] bg-white/10 hover:bg-white/15 text-white text-sm font-medium rounded-full transition-colors duration-200 border border-white/10",children:[(0,g.jsx)("i",{className:"fa-solid fa-comments mr-2"}),"Start Chat"]})]})]})]})}),_&&(0,g.jsx)(w,{delay:.05,children:(0,g.jsx)("div",{className:"mx-3 md:mx-6 mb-8",children:(0,g.jsx)(b.A,{variant:"card"})})}),_&&Y&&(0,g.jsx)(w,{delay:.1,children:(0,g.jsx)("div",{className:"mx-3 md:mx-6 mb-8",children:(0,g.jsx)(f,{drop:Y,onPreviewStart:e=>le(e,"preview_start"),onUnlock:()=>{(0,x.u)("daily_drop_upsell_clicked",{character_id:Y.character_id,release_id:Y.release_id||null}),C("/subscription-plan")},onOpenChat:e=>{if(!e.chat_path)return;le(e,"chat_open"),(0,x.u)("daily_drop_clicked",{character_id:e.character_id,release_id:e.release_id||null});
1const t=e.release_id?{releaseId:e.release_id,companionName:e.name,caption:e.caption||""}:null;C(e.chat_path,t?{state:{contentReleaseStarter:t}}:void 0)}})})}),_&&(0,g.jsx)(w,{delay:.1,children:(0,g.jsxs)("div",{className:"mx-3 md:mx-6 mb-10 pb-8 border-b border-white/5",children:[(0,g.jsxs)("div",{className:"flex items-center justify-between mb-4",children:[(0,g.jsxs)("h2",{className:"text-lg md:text-xl font-semibold",children:[(0,g.jsx)("i",{className:"fa-solid fa-heart text-brand-500 mr-2 text-base"}),"Your Companions"]}),(0,g.jsxs)("button",{onClick:()=>C("/dashboard/companions"),className:"text-sm text-brand-500 hover:text-[#ff6b82] transition-colors min-h-[44px] flex items-center",children:["View All ",(0,g.jsx)("i",{className:"fa-solid fa-arrow-right ml-1"})]})]}),$?(0,g.jsx)("div",{className:"flex gap-4 overflow-hidden",children:[...Array(4)].map(((e,t)=>(0,g.jsx)(j,{className:"min-w-[140px] h-[180px] flex-shrink-0"},t)))}):P.length>0?(0,g.jsx)("div",{ref:re,className:"flex gap-4 overflow-x-auto pb-2 scrollbar-hide",style:{scrollbarWidth:"none",msOverflowStyle:"none"},children:P.map(((e,t)=>(0,g.jsxs)(l.P.div,{whileHover:{scale:1.03},whileTap:{scale:.98},onClick:()=>C(`/chat/${e.assistant_id}`),className:"min-w-[140px] max-w-[140px] flex-shrink-0 bg-white/5 rounded-xl p-3 cursor-pointer hover:bg-white/10 transition-colors border border-white/5",children:[(0,g.jsx)("div",{className:"w-20 h-20 mx-auto mb-2 rounded-full overflow-hidden bg-white/5",children:(0,g.jsx)("img",{src:(0,p.Y3)(e),alt:e.name||"Companion",className:"w-full h-full object-cover object-top",loading:"lazy",onError:e=>{e.target.src="/assets/img/chatbot.jpg"}})}),(0,g.jsx)("p",{className:"text-sm font-medium text-center truncate",children:e.name||"Companion"}),(0,g.jsx)("p",{className:"text-xs text-neutral-500 text-center truncate mt-1",children:(0,u.xT)(e.Personality)||(0,u.xT)(e.style)||"Chat now"})]},e.assistant_id||t)))}):(0,g.jsxs)(l.P.div,{whileHover:{scale:1.02},onClick:()=>C("/ai-girlfriend-generator"),className:"flex items-center gap-4 p-6 bg-white/5 rounded-xl cursor-pointer hover:bg-white/8 transition-colors border border-dashed border-white/10",children:[(0,g.jsx)("div",{className:"w-14 h-14 rounded-full bg-brand-900/20 flex items-center justify-center flex-shrink-0",children:(0,g.jsx)("i",{className:"fa-solid fa-plus text-brand-500 text-xl"})}),(0,g.jsxs)("div",{children:[(0,g.jsx)("p",{className:"font-medium",children:"Create your first companion"}),(0,g.jsx)("p",{className:"text-sm text-neutral-500",children:"Design an AI companion to chat with"})]})]})]})}),(0,g.jsx)(w,{delay:.2,children:(0,g.jsxs)("div",{className:"mx-3 md:mx-6 mb-8",children:[(0,g.jsxs)("div",{className:"flex items-center justify-between mb-4",children:[(0,g.jsxs)("h2",{className:"text-lg md:text-xl font-semibold",children:[(0,g.jsx)("i",{className:"fa-solid fa-compass text-brand-500 mr-2 text-base"}),"Explore Companions"]}),(0,g.jsxs)("button",{onClick:()=>ce("/dashboard/allmodels"),className:"text-sm text-brand-500 hover:text-[#ff6b82] transition-colors min-h-[44px] flex items-center",children:["View All ",(0,g.jsx)("i",{className:"fa-solid fa-arrow-right ml-1"})]})]}),(0,g.jsxs)("div",{className:"mb-4 space-y-3",children:[(0,g.jsxs)("div",{className:"relative w-full md:max-w-xs",children:[(0,g.jsx)("i",{className:"fa-solid fa-search absolute left-3 top-1/2 -translate-y-1/2 text-neutral-500 text-sm"}),(0,g.jsx)("input",{type:"text",placeholder:"Search companions...",value:ee,onChange:e=>te(e.target.value),className:"w-full pl-9 pr-4 py-2.5 min-h-[44px] bg-white/5 border border-white/10 rounded-full text-base sm:text-sm text-white placeholder-neutral-500 focus:outline-none focus:border-brand-500/50"})]}),(0,g.jsx)("div",{className:"flex gap-2 flex-wrap",children:oe.map((e=>(0,g.jsx)("button",{onClick:()=>K(e),className:"px-4 py-2 min-h-[44px] rounded-full text-sm font-medium transition-colors "+(q===e?"bg-brand-900 text-white":"bg-white/5 text-neutral-400 hover:text-white hover:bg-white/10 border border-white/10"),children:e},e)))}),(0,g.jsx)("div",{className:"flex gap-2 flex-wrap",children:v.dV.map((e=>(0,g.jsxs)("button",{onClick:()=>J(e),"aria-pressed":Z===e,"aria-label":`${e} companions (${de[e]||0})`,className:"px-4 py-2 min-h-[44px] rounded-full text-sm font-medium transition-colors "+(Z===e?"bg-brand-500/20 text-brand-500 border border-brand-500/30":"bg-white/5 text-neutral-500 hover:text-neutral-300 border border-white/5"),children:[e," ",(0,g.jsx)("span",{className:"text-white/55",children:de[e]||0})]},e)))}),(0,g.jsx)("div",{className:"flex gap-2 overflow-x-auto pb-1 scrollbar-hide",style:{scrollbarWidth:"none"},children:["All","Caucasian","Latina","Asian","Blonde","Brunette","Redhead","Arab","Ebony"].map((e=>(0,g.jsx)("button",{onClick:()=>X(e),className:"px-4 py-2 min-h-[44px] rounded-full text-sm font-medium whitespace-nowrap transition-colors "+(Q===e?"bg-brand-500/20 text-brand-500 border border-brand-500/30":"bg-white/5 text-neutral-500 hover:text-neutral-300 border border-white/5"),children:e},e)))})]}),M?(0,g.jsx)("div",{className:"grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-4 gap-3 md:gap-4",children:[...Array(8)].map(((e,t)=>(0,g.jsx)(j,{className:"aspect-[3/4]"},t)))}):ne.length>0?(0,g.jsx)("div",{className:"grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-4 gap-3 md:gap-4",children:ne.map(((e,t)=>(0,g.jsxs)(l.P.div,{whileHover:{scale:1.03},whileTap:{scale:.97},className:"group relative overflow-hidden rounded-xl bg-white/5 border border-white/5 hover:border-brand-500/20 cursor-pointer transition-all duration-300",style:{boxShadow:ae===(e.assistant_id||t)?"0 0 20px rgba(255, 77, 106, 0.15)":"none"},onClick:()=>{e.assistant_id?me(e.assistant_id):C("/dashboard/discover")},onMouseEnter:()=>se(e.assistant_id||t),onMouseLeave:()=>se(null),children:[(0,g.jsxs)("div",{className:"aspect-[3/4] overflow-hidden relative",children:[(0,g.jsx)("img",{src:(0,p.Y3)(e),alt:e.name||"Companion",className:"w-full h-full object-cover object-top transition-transform duration-500 group-hover:scale-110",loading:"lazy",onError:e=>{e.target.src="/assets/img/chatbot.jpg"}}),e.vid_url&&ae===(e.assistant_id||t)&&(0,g.jsx)("video",{src:e.vid_url,className:"absolute inset-0 w-full h-full object-cover object-top",muted:!0,autoPlay:!0,loop:!0,playsInl
1ine:!0})]}),(0,g.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-black/80 via-transparent to-transparent"}),(0,g.jsxs)("div",{className:"absolute bottom-0 left-0 right-0 p-2.5 md:p-3",children:[(0,g.jsxs)("p",{className:"text-sm font-semibold truncate",children:[e.name||"Companion",e.age&&(0,g.jsx)("span",{className:"text-neutral-400 font-normal ml-1",children:e.age})]}),(0,g.jsx)("p",{className:"text-xs text-neutral-300 line-clamp-1 md:line-clamp-2 mt-0.5",children:(0,u.sx)(e.Summary||e.Personality||e.Occupation,80)}),(0,g.jsxs)("button",{onClick:t=>{t.stopPropagation(),e.assistant_id?me(e.assistant_id):C("/dashboard/discover")},className:"mt-2 px-3 py-2 min-h-[44px] bg-brand-900 hover:bg-[#b30017] text-white text-sm rounded-full transition-colors w-full flex items-center justify-center",children:[(0,g.jsx)("i",{className:"fa-solid fa-comments mr-1"})," Chat"]})]})]},e.assistant_id||t)))}):(0,g.jsxs)("div",{className:"text-center py-12 text-neutral-500",children:[(0,g.jsx)("i",{className:"fa-solid fa-users-slash text-3xl mb-3 block"}),(0,g.jsx)("p",{children:"No companions match your filters"})]})]})}),_&&(0,g.jsx)(w,{delay:.3,children:(0,g.jsxs)("div",{className:"mx-3 md:mx-6 mb-8",children:[(0,g.jsxs)("div",{className:"flex items-center justify-between mb-4",children:[(0,g.jsx)("h2",{className:"text-lg md:text-xl font-semibold",children:"Recent Creations"}),(0,g.jsxs)("button",{onClick:()=>C("/dashboard/my-gallery"),className:"text-sm text-brand-500 hover:text-[#ff6b82] transition-colors min-h-[44px] flex items-center",children:["View All ",(0,g.jsx)("i",{className:"fa-solid fa-arrow-right ml-1"})]})]}),D?(0,g.jsx)("div",{className:"flex gap-4 overflow-hidden",children:[...Array(6)].map(((e,t)=>(0,g.jsx)(j,{className:"min-w-[160px] h-[200px] flex-shrink-0"},t)))}):G.length>0?(0,g.jsx)("div",{ref:ie,className:"flex gap-4 overflow-x-auto pb-2 scrollbar-hide",style:{scrollbarWidth:"none",msOverflowStyle:"none"},children:G.map(((e,t)=>(0,g.jsx)(l.P.div,{whileHover:{scale:1.05},whileTap:{scale:.97},onClick:()=>C(`/dashboard/generatedImage/${e.generation_id||e.id}`),className:"min-w-[160px] max-w-[160px] flex-shrink-0 rounded-xl overflow-hidden cursor-pointer bg-white/5 border border-white/5",children:(0,g.jsx)("div",{className:"aspect-[3/4] overflow-hidden",children:(0,g.jsx)("img",{src:Array.isArray(e.image_file_name)?e.image_file_name[0]:e.image_url||e.image||e.url,alt:"Generated",className:"w-full h-full object-cover transition-transform duration-300 hover:scale-110",loading:"lazy",onError:e=>{e.target.src="/assets/img/chatbot.jpg"}})})},e.id||t)))}):(0,g.jsxs)(l.P.div,{whileHover:{scale:1.02},onClick:()=>C("/dashboard/studio"),className:"flex items-center gap-4 p-6 bg-white/5 rounded-xl cursor-pointer hover:bg-white/8 transition-colors border border-dashed border-white/10",children:[(0,g.jsx)("div",{className:"w-14 h-14 rounded-full bg-brand-900/20 flex items-center justify-center flex-shrink-0",children:(0,g.jsx)("i",{className:"fa-solid fa-image text-brand-500 text-xl"})}),(0,g.jsxs)("div",{children:[(0,g.jsx)("p",{className:"font-medium",children:"Generate your first image"}),(0,g.jsx)("p",{className:"text-sm text-neutral-500",children:"Create stunning AI-generated images"})]})]})]})}),(0,g.jsx)(w,{delay:_?.4:.2,children:(0,g.jsx)("div",{className:"mx-3 md:mx-6 mb-8",children:(0,g.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-3 gap-3 md:gap-4",children:[(0,g.jsxs)(l.P.div,{whileHover:{scale:1.03,y:-3},whileTap:{scale:.97},onClick:()=>ce("/chat"),className:"p-4 md:p-6 bg-gradient-to-br from-white/5 to-white/[0.02] rounded-xl border border-white/5 hover:border-brand-500/30 transition-all cursor-pointer group min-h-[44px]",children:[(0,g.jsx)("div",{className:"w-11 h-11 md:w-12 md:h-12 rounded-xl bg-brand-900/20 flex items-center justify-center mb-3 md:mb-4 group-hover:bg-brand-900/40 transition-colors",children:(0,g.jsx)("i",{className:"fa-solid fa-comments text-brand-500 text-lg md:text-xl"})}),(0,g.jsx)("h3",{className:"font-semibold text-base md:text-lg mb-1.5 md:mb-2",children:"AI Chat"}),(0,g.jsx)("p",{className:"text-sm text-neutral-400 mb-3 md:mb-4",children:"Unlimited conversations with your AI companions. Deep, personalized dialogue that adapts to you."}),(0,g.jsxs)("span",{className:"text-brand-500 text-sm font-medium group-hover:translate-x-1 transition-transform inline-block",children:["Start chatting ",(0,g.jsx)("i",{className:"fa-solid fa-arrow-right ml-1"})]})]}),(0,g.jsxs)(l.P.div,{whileHover:{scale:1.03,y:-3},whileTap:{scale:.97},onClick:()=>ce("/dashboard/studio"),className:"p-4 md:p-6 bg-gradient-to-br from-white/5 to-white/[0.02] rounded-xl border border-white/5 hover:border-brand-500/30 transition-all cursor-pointer group min-h-[44px]",children:[(0,g.jsx)("div",{className:"w-11 h-11 md:w-12 md:h-12 rounded-xl bg-brand-900/20 flex items-center justify-center mb-3 md:mb-4 group-hover:bg-brand-900/40 transition-colors",children:(0,g.jsx)("i",{className:"fa-solid fa-image text-brand-500 text-lg md:text-xl"})}),(0,g.jsx)("h3",{className:"font-semibold text-base md:text-lg mb-1.5 md:mb-2",children:"Image Generation"}),(0,g.jsx)("p",{className:"text-sm text-neutral-400 mb-3 md:mb-4",children:"Create high-quality AI images in multiple styles \u2014 realistic, HD, and anime."}),(0,g.jsxs)("span",{className:"text-brand-500 text-sm font-medium group-hover:translate-x-1 transition-transform inline-block",children:["Generate now ",(0,g.jsx)("i",{className:"fa-solid fa-arrow-right ml-1"})]})]}),(0,g.jsxs)(l.P.div,{whileHover:{scale:1.03,y:-3},whileTap:{scale:.97},onClick:()=>ce("/dashboard/my-gallery?view=Videos"),className:"p-4 md:p-6 bg-gradient-to-br from-white/5 to-white/[0.02] rounded-xl border border-white/5 hover:border-brand-500/30 transition-all cursor-pointer group min-h-[44px]",children:[(0,g.jsx)("div",{className:"w-11 h-11 md:w-12 md:h-12 rounded-xl bg-brand-900/20 flex items-center justify-center mb-3 md:mb-4 group-hover:bg-brand-900/40 transition-colors",children:(0,g.jsx)("i",{className:"fa-solid fa-video text-brand-500 text-lg md:text-xl"})}),(0,g.jsx)("h3",{className:"font-semibold text-base md:text-lg mb-1.5 md:mb-2",children:"Video Creation"}),(0,g.jsx)("p",{className:"text-sm text-neutral-400 mb-3 md:mb-4",children:"Bring your AI companions to life with stunning AI-generated video content."}),(0,g.jsxs)("span",{className:"text-brand-500 text-sm font-medium group-hover:translate-x-1 transition-transform inline-block",children:["Create videos ",(0,g.jsx)("i",{className:"fa-solid fa-arrow-right ml-1"})]})]})]})})}),(0,g.jsx)(h.A,{})]})})}}}]);

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.