PageSourceSearch

https://tesana.com/assets/scenes-D-OxP8-v.js

js tesana.com collected 2026-10-09 22:42:20 UTC 16,674 bytes, 1 lines download raw bytes

1import{j as e,b as N,c as v,d as k,m as i,u as d}from"./vendor-motion-hRg_q8lq.js";import{d as c,P as f}from"./index-BKzE8EQ8.js";import{du as o}from"./vendor-fa-Bn2dnpnC.js";import{r as S}from"./vendor-react-E98sgxjj.js";import{L as b}from"./LazyVideo-1GeND61g.js";const _=new Set(["tried_before","game_developer","vibe_coder","game_studio"]),D=[{kind:"question",id:"usage_intent",layout:"grid",clip:"pilgrim-dragon-6s",options:[{id:"personal",icon:["far","user"],hasDescription:!0},{id:"business",icon:["far","briefcase"],hasDescription:!0}]},{kind:"question",id:"acquisition_source",layout:"chips",clip:"wyrmwood-web-6s",options:[]},{kind:"question",id:"persona",layout:"grid",clip:"empires-of-dawn-6s",options:[{id:"beginner",icon:["far","seedling"],hasDescription:!1},{id:"tried_before",icon:["far","gamepad-modern"],hasDescription:!1},{id:"game_developer",icon:["far","code"],hasDescription:!1},{id:"vibe_coder",icon:["far","wand-magic-sparkles"],hasDescription:!1},{id:"game_studio",icon:["far","buildings"],hasDescription:!1},{id:"content_creator",icon:["far","video"],hasDescription:!1}]},{kind:"question",id:"frustration",layout:"grid",clip:"lumenfall-1-6s",when:a=>_.has(a.persona??""),options:[{id:"ai_cost",icon:["far","dollar-sign"]}
1,{id:"visual_assets",icon:["far","image"]},{id:"time_to_build",icon:["far","stopwatch"]},{id:"publishing",icon:["far","cloud-arrow-up"]},{id:"prompting",icon:["far","comments"]},{id:"new_to_ai",icon:["far","sparkles"]}]},{kind:"question",id:"goal",layout:"grid",clip:"racing-night-6s",options:[{id:"make_a_game",icon:["far","lightbulb"]},{id:"publish_stores",icon:["far","store"]},{id:"monetize",icon:["far","coins"]},{id:"community",icon:["far","user-group"]},{id:"assets",icon:["far","shapes"]},{id:"exploring",icon:["far","compass"]}]},{kind:"username",id:"username",clip:"willowmere-beach-6s"}],W={make_a_game:"vision",publish_stores:"publish",monetize:"monetize",community:"community",assets:"assets"},X=380,U="/landing-games/",A=new Set(["acquisition_source","username"]);function J(a,s="full"){return D.filter(t=>s==="short"&&!A.has(t.id)?!1:t.kind!=="question"||!t.when||t.when(a))}function K({total:a,current:s,className:t}){return e.jsx("div",{className:c("flex items-center gap-1.5",t),role:"progressbar","aria-valuemin":1,"aria-valuemax":a,"aria-valuenow":s+1,children:Array.from({length:a},(n,l)=>e.jsx("span",{className:c("h-1 rounded-full transition-all duration-300",l<=s?"w-5 bg-success":"w-3 bg-foreground
1/15")},l))})}function Q({icon:a,title:s,description:t,selected:n,onSelect:l,disabled:p}){return e.jsxs("button",{type:"button",onClick:l,disabled:p,role:"radio","aria-checked":n,className:c("group relative flex min-h-[104px] w-full flex-col justify-between rounded-xl border p-4 text-left transition-all duration-200 cursor-pointer","bg-card border-border/70 hover:border-border-hover hover:bg-foreground/[0.03]",n&&"border-success/60 bg-success/[0.08] hover:border-success/60 hover:bg-success/[0.08]","disabled:cursor-default","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-success/60"),children:[e.jsxs("div",{className:"flex items-start justify-between",children:[e.jsx("span",{className:c("flex h-6 w-6 items-center justify-center text-[15px] transition-colors",n?"text-success":"text-muted-foreground group-hover:text-foreground"),children:e.jsx(o,{icon:a})}),e.jsx("span",{className:c("flex h-5 w-5 items-center justify-center rounded-full border transition-all duration-200",n?"border-success bg-success text-background scale-100":"border-border-hover scale-90 group-hover:border-foreground
1/40"),"aria-hidden":!0,children:n&&e.jsx(o,{icon:["far","check"],className:"text-[10px]"})})]}),e.jsxs("div",{className:"mt-4",children:[e.jsx("span",{className:"block text-sm font-medium leading-snug text-foreground",children:s}),t&&e.jsx("span",{className:"mt-1 block text-xs leading-snug text-muted-foreground",children:t})]})]})}function Z({lead:a,tail:s,subtitle:t}){return e.jsxs("div",{className:"mb-8 text-center",children:[e.jsxs("h1",{className:"text-[26px] font-medium leading-[1.15] tracking-tight text-foreground md:text-[30px]",children:[a,s&&e.jsxs(e.Fragment,{children:[e.jsx("br",{}),e.jsx("span",{className:"text-muted-foreground",children:s})]})]}),t&&e.jsx("p",{className:"mt-3 text-sm text-muted-foreground",children:t})]})}const g=7;function r(a,s=.5){return{delay:a,duration:s,ease:[.16,1,.3,1],repeat:1/0,repeatDelay:Math.max(0,g-s)}}function x({children:a,className:s}){return e.jsx("div",{className:c("relative h-[260px] w-full overflow-hidden","bg-[radial-gradient(circle,rgba(255,255,255,0.07)_1px,transparent_1px)] bg-[size:14px_14px]","[mask-image:linear-gradient(to_bottom,black_55%,transparent_100%)]",s),children:e.jsx("div",{className:"max-w-[420px] h-[260px] relative mx-auto",children:a})})}function C({title:a,children:s,className:t}){return e.jsxs("div",{className:c("overflow-hidden rounded-xl border border-white/10 bg-[#1D1C1B] shadow-2xl shadow-black/40",t),children:[e.jsxs("div",{className:"flex items-center gap-2 border-b border-white/[0.06] px-3 py-2",children:[e.jsxs("span",{className:"flex gap-1.5",children:[e.jsx("i",{className:"h-2 w-2 rounded-full bg-[#FF5F57]"}),e.jsx("i",{className:"h-2 w-2 rounded-full bg-[#FEBC2E]"}),e.jsx("i",{className:"h-2 w-2 rounded-full bg-[#28C840]"})]}),e.jsx("span",{className:"ml-1 truncate text-[11px] text-white/80",children:a})]}),e.jsx("div",{className:"p-3",children:s})]})}function j({to:a,format:s,duration:t=2.2,delay:n=.4}){const l=N(0),p=v(l,m=>s(m));return S.useEffect(()=>{const m=k(l,a,{delay:n,duration:t,ease:[.16,1,.3,1],repeat:1/0,repeatDelay:Math.max(0,g-t),repeatType:"loop"});return()=>m.stop()},[l,a,t,n]),e.jsx(i.span,{children:p})}function w({className:a}){return e.jsx("span",{className:c("inline-flex h-4 w-4 items-center justify-center rounded-full bg-success text-background",a),"aria-hidden":!0,children:e.jsx("svg",{width:"8",height:"8",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"3.5",strokeLinecap:"round",strokeLinejoin:"round",children:e.jsx("polyline",{points:"20 6 9 17 4 12"})})})}const y=a=>`/game-screenshots-community/${a}_game.png`,E=[{kind:"image",id:263,label:"Terrain",x:14,y:22,w:88,r:-6,at:.4},{kind:"image",id:260,label:"Character",x:50,y:40,w:108,r:2,at:.8},{kind:"image",id:190,label:"Props",x:84,y:20,w:82,r:5,at:1.2},{kind:"icon",icon:["far","person-running"],label:"Animation",x:20,y:70,w:74,r:4,at:1.6},{kind:"image",id:200,label:"Skybox",x:82,y:66,w:90,r:-4,at:2},{kind:"icon",icon:["far","music"],label:"Music & SFX",x:52,y:86,w:74,r:-2,at:2.4}];function T(){const a=d();return e.jsx(x,{children:E.map(s=>e.jsxs(i.div,{className:"absolute overflow-hidden rounded-lg border border-white/10 bg-[#1D1C1B] shadow-2xl shadow-black/50",style:{left:`${s.x}%`,top:`${s.y}%`,width:s.w,translateX:"-50%",translateY:"-50%"},initial:a?{rotate:s.r}:{opacity:0,scale:.7,y:18,rotate:s.r+8},animate:{opacity:1,scale:1,y:0,rotate:s.r},transition:r(s.at,.6),children:[s.kind==="image"?e.jsx(f,{src:y(s.id),alt:"",className:"aspect-[4/3] w-full object-cover"}):e.jsx("div",{className:"flex aspect-[4/3] w-full items-center justify-center bg-gradient-to-br from-white/[0.08] to-transparent text-[18px] text-white/70",children:e.jsx(o,{icon:s.icon})}),e.jsx("span",{className:"absolute bottom-1 left-1 rounded bg-black/70 px-1.5 py-0.5 text-[9px] font-medium text-white",children:s.label})]},s.label))})}const O=a=>`https://cdn.tesana.ai/one-tap/assets/avatar_${a}.webp`,I=[[12,22,112,1.3],[86,18,127,1.7],[8,68,139,2.1],[90,64,118,2.5],[22,90,145,2.9],[78,92,131,3.3]],L=[{x:36,at:3.6},{x:50,at:4.1},{x:62,at:4.5}];function R(){const a=d();return e.jsxs(x,{children:[e.jsxs("div",{className:"absolute left-1/2 top-1/2 w-[196px] -translate-x-1/2 -translate-y-[56%] overflow-hidden rounded-xl border border-white/10 bg-[#1D1C1B] shadow-2xl shadow-black/50",children:[e.jsx("div",{className:"aspect-[16/9] w-full object-cover relative",children:e.jsx(b,{src:"/assets/gameplay-videos/dust-strike.mp4",placeholder:"/assets/gameplay-videos/placeholder/dust-strike.png",poster:"/assets/gameplay-videos/poster/dust-strike.png",className:"",aspectClass:"aspect-[16/9]"})}),e.jsxs("div",{className:"p-2.5",children:[e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx("div",{className:"h-2 w-20 rounded bg-white/30"}),e.jsxs("span",{className:"inline-flex items-center gap-1 text-[10px] tabular-nums text-white/70",children:[e.jsx(o,{icon:["far","play"],className:"text-[8px]"}),a?"1,284":e.jsx(j,{to:1284,format:s=>
1Math.round(s).toLocaleString(),delay:1.2,duration:3})]})]}),e.jsxs(i.div,{className:"mt-2 flex h-7 items-center gap-1.5 rounded-md bg-white/[0.06] px-2 text-[10px] text-white/70",initial:a?!1:{opacity:0,y:4},animate:{opacity:1,y:0},transition:r(.5,.4),children:[e.jsx(o,{icon:["far","link"],className:"text-[9px] text-white/40"}),e.jsx("span",{className:"flex-1 truncate",children:"tesana.ai/g/skyfarm"}),e.jsx(i.span,{className:"rounded bg-success/20 px-1.5 py-0.5 text-[9px] font-medium text-success",initial:a?!1:{opacity:0,scale:.8},animate:{opacity:1,scale:1},transition:r(.9,.3),children:"Copied"})]})]})]}),I.map(([s,t,n,l])=>e.jsx(i.img,{src:O(n),alt:"","aria-hidden":!0,className:"absolute h-8 w-8 rounded-full border-2 border-[#171615] object-cover shadow-lg shadow-black/40",style:{left:`${s}%`,top:`${t}%`,translateX:"-50%",translateY:"-50%"},initial:a?!1:{opacity:0,scale:.4},animate:{opacity:1,scale:1},transition:r(l,.45)},n)),!a&&L.map(s=>e.jsx(i.span,{className:"absolute top-[26%] text-[13px] text-[#FF4D6D]",style:{left:`${s.x}%`},initial:{opacity:0,y:0,scale:.6},animate:{opacity:[0,1,1,0],y:-46,scale:1},transition:{...r(s.at,1.6),times:[0,.2,.7,1]},children:e.jsx(o,{icon:["fas","heart"]})},s.x))]})}const $=[{icon:["far","gem"],label:"Pack",amount:"+$4.99",at:1.2},{icon:["far","gun"],label:"Skins",amount:"+$9.99",at:2.3},{icon:["far","bullhorn"],label:"Ads",amount:"+$0.42",at:3.4},{icon:["far","gem"],label:"Gems",amount:"+$1.99",at:4.5}],B=[22,34,28,46,52,64,58,78,92];function P(){const a=d();return e.jsxs(x,{children:[e.jsxs("div",{className:"absolute left-7 top-12 w-[176px] rounded-xl border border-white/10 bg-[#1D1C1B] p-3.5 shadow-2xl shadow-black/40",children:[e.jsxs("div",{className:"flex items-center justify-between text-[10px] uppercase tracking-wider text-white/45",children:[e.jsx("span",{children:"Earnings"}),e.jsx("span",{className:"text-success",children:"Live"})]}),e.jsx("div",{className:"mt-1.5 text-[24px] font-medium tabular-nums leading-none text-white",children:a?"$1,284":e.jsx(j,{to:1284,format:s=>`$${Math.round(s).toLocaleString()}`})}),e.jsx("div",{className:"mt-3 flex h-10 items-end gap-1",children:B.map((s,t)=>e.jsx(i.i,{className:"flex-1 rounded-sm bg-success/80",style:{height:`${s}%`,originY:1},initial:a?!1:{scaleY:0},animate:{scaleY:1},transition:r(.5+t*.12,.45)},t))})]}),e.jsx("ul",{className:"absolute right-6 top-6 flex w-[150px] flex-col gap-2",children:$.map((s,t)=>e.jsxs(i.li,{className:"flex h-[38px] items-center gap-2.5 rounded-lg border border-white/10 bg-[#1D1C1B] px-2.5 shadow-lg shadow-black/30",initial:a?!1:{opacity:0,x:28},animate:{opacity:1,x:0},transition:r(s.at,.5),children:[e.jsx("span",{className:"flex h-6 w-6 items-center justify-center rounded-md bg-white/[0.06] text-[11px] text-white/70",children:e.jsx(o,{icon:s.icon})}),e.jsx("span",{className:"flex-1 truncate text-[11px] text-white/80",children:s.label}),e.jsx("span",{className:"text-[11px] font-medium tabular-nums text-success",children:s.amount})]},`${s.label}-${t}`))})]})}const u=[{icon:["fab","steam"],label:"Steam",at:1.4},{icon:["fab","app-store-ios"],label:"App Store",at:2},{icon:["far","globe"],label:"Web",at:2.6}];function F(){const a=d();return e.jsxs(x,{children:[e.jsxs("div",{className:"absolute inset-x-0 top-8 flex items-center justify-center gap-3",children:[e.jsxs("div",{className:"w-[140px] overflow-hidden rounded-xl border border-white/10 bg-[#1D1C1B] shadow-2xl shadow-black/40",children:[e.jsx("div",{className:"aspect-[4/3] w-full object-cover relative",children:e.jsx(b,{src:"/assets/gameplay-videos/island-breeze-fight.mp4",placeholder:"/assets/gameplay-videos/placeholder/island-breeze-fight.png",poster:"/assets/gameplay-videos/poster/island-breeze-fight.png",className:"",aspectClass:"aspect-[4/3]"})}),e.jsxs("div",{className:"px-2.5 py-2",children:[e.jsx("div",{className:"h-2 w-16 rounded bg-white/25"}),e.jsx("div",{className:"mt-1.5 h-1.5 w-10 rounded bg-white/10"})]})]}),e.jsx("div",{className:"relative h-[110px] w-8",children:e.jsx("svg",{className:"absolute inset-0 h-full w-full",viewBox:"0 0 32 110",fill:"none",children:[18,55,92].map((s,t)=>e.jsx(i.path,{d:`M0 55 C 14 55, 14 ${s}, 32 ${s}`,stroke:"rgba(48,209,88,0.7)",strokeWidth:"1.5",initial:a?!1:{pathLength:0,opacity:0}
1,animate:{pathLength:1,opacity:1},transition:r(u[t].at-.35,.45)},s))})}),e.jsx("ul",{className:"flex w-[130px] flex-col gap-2",children:u.map(s=>e.jsxs(i.li,{className:"flex h-[30px] items-center gap-2 rounded-lg border border-white/10 bg-[#1D1C1B] px-2.5 text-[11px] text-white/85 shadow-lg shadow-black/30",initial:a?!1:{opacity:.35,x:10},animate:{opacity:1,x:0},transition:r(s.at,.4),children:[e.jsx(o,{icon:s.icon,className:"w-3.5 text-[12px]"}),e.jsx("span",{className:"flex-1 truncate",children:s.label}),e.jsx(i.span,{initial:a?!1:{scale:0,opacity:0},animate:{scale:1,opacity:1},transition:r(s.at+.3,.25),children:e.jsx(w,{})})]},s.label))})]}),e.jsx("div",{className:"absolute inset-x-0 bottom-6 flex justify-center",children:e.jsxs(i.div,{className:"relative h-9 w-[150px] overflow-hidden rounded-full bg-[#202020] text-[12px] font-medium text-[#F4F3F2] shadow-xl shadow-black/40",animate:a?void 0:{scale:[1,.96,1]},transition:{delay:.8,duration:.3,repeat:1/0,repeatDelay:6.7},children:[e.jsxs(i.span,{className:"absolute inset-0 flex items-center justify-center gap-2",initial:{opacity:0}
1,animate:{opacity:[1,1,0,0,1]},transition:{duration:7,times:[0,.47,.5,.96,1],repeat:1/0,ease:"linear"},children:[e.jsx(o,{icon:["far","cloud-arrow-up"],className:"text-[11px]"}),"Publish"]}),e.jsxs(i.span,{className:"absolute inset-0 flex items-center justify-center gap-2",initial:{opacity:0},animate:{opacity:[0,0,1,1,0]},transition:{duration:7,times:[0,.47,.5,.96,1],repeat:1/0,ease:"linear"},children:[e.jsx(i.i,{className:"h-2 w-2 rounded-full bg-success",animate:a?void 0:{opacity:[1,.4,1]},transition:{duration:1.2,repeat:1/0}}),"Live on 3 stores"]})]})})]})}const h="A cozy farming sim on a floating island",M=[{icon:"list-check",label:"Planning the game"},{icon:"globe",label:"Building the world"},{icon:"code",label:"Writing the systems"},{icon:"gamepad-modern",label:"Making it playable"}];function z(){const a=d(),s=h.split("");return e.jsxs(x,{children:[e.jsx("div",{className:"absolute left-1/2 top-6 w-[300px] -translate-x-1/2",children:e.jsxs(C,{title:e.jsxs("span",{children:["Tesana is ",e.jsx("span",{className:"text-success",children:"building"})]}),children:[e.jsxs("div",{className:"rounded-lg bg-white/[0.05] px-3 py-2 text-[12px] leading-snug text-white/90",children:[a?h:s.map((t,n)=>e.jsx(i.span,{initial:{opacity:0}
1,animate:{opacity:1},transition:r(.3+n*.035,.05),children:t},n)),!a&&e.jsx(i.span,{className:"ml-0.5 inline-block h-3 w-[1.5px] translate-y-[2px] bg-white/70",animate:{opacity:[1,0,1]},transition:{duration:.9,repeat:1/0}})]}),e.jsx("ul",{className:"mt-2.5 space-y-1.5",children:M.map((t,n)=>{const l=1.9+n*.55;return e.jsxs(i.li,{className:"flex items-center gap-2 text-[11px] text-white/60",initial:a?!1:{opacity:0,x:-6},animate:{opacity:1,x:0},transition:r(l,.35),children:[e.jsx(o,{icon:["far",t.icon],className:"w-3 text-[10px] text-white/40"}),e.jsx("span",{className:"flex-1",children:t.label}),e.jsx(i.span,{initial:a?!1:{scale:0,opacity:0},animate:{scale:1,opacity:1},transition:r(l+.45,.25),children:e.jsx(w,{})})]},t.label)})})]})}),e.jsxs(i.div,{className:"absolute bottom-3 right-8 w-[150px] overflow-hidden rounded-lg border border-white/10 shadow-2xl shadow-black/50",initial:a?!1:{y:90,opacity:0,rotate:4},animate:{y:0,opacity:1,rotate:-3},transition:r(4.4,.7),children:[e.jsx(f,{src:y(546),alt:"",className:"aspect-[16/10] w-full object-cover"}),e.jsxs("span",{className:"absolute left-2 top-2 inline-flex items-center gap-1 rounded-full bg-black/70 px-2 py-0.5 text-[10px] font-medium text-white",children:[e.jsx("i",{className:"h-1.5 w-1.5 rounded-full bg-success"}),"Playable"]})]})]})}const ee={vision:z,publish:F,monetize:P,community:R,assets:T},se=["vision","assets","publish","monetize","community"];export{W as G,U as O,K as S,Z as a,Q as b,ee as c,X as d,se as e,J 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.