PageSourceSearch

https://cdn.wisgate.ai/wisgate/_nuxt/DJX5_u0H.js

js wisgate.ai collected 2026-10-04 13:26:02 UTC 15,015 bytes, 1 lines download raw bytes

1import{d as G,r as p,a as $,j as o,o as a,l as e,p as s,m as v,k as c,n as R,Q as S,Y as T,E as j,F as y,x as k,q as b,s as V,bK as D,T as N,u as B,c as M,bL as U}from"./DZ7mik94.js";import{a as h,g as W}from"./CdjtT49R.js";const E={class:"grid gap-5 lg:grid-cols-[minmax(0,0.95fr)_minmax(320px,1.05fr)]"},F={class:"rounded-lg border border-slate-200 bg-white p-4 sm:p-5"},L={class:"mb-5 flex items-start justify-between gap-4"},O={class:"text-2xl font-semibold tracking-tight text-slate-950"},q={class:"mt-2 text-sm leading-6 text-slate-500"},K={class:"hidden size-11 shrink-0 items-center justify-center rounded-lg bg-slate-100 text-slate-700 sm:flex"},Q={class:"space-y-5"},Y={class:"block"},H={class:"mb-2 block text-sm font-medium text-slate-700"},J=["placeholder"],X={class:"mb-2 block text-sm font-medium text-slate-700"},Z={class:"grid gap-2 sm:grid-cols-3"},ee=["onClick"],te={class:"grid gap-5 sm:grid-cols-2"},se={class:"mb-2 block text-sm font-medium text-slate-700"},le={class:"flex flex-wrap gap-2"},ae=["onClick"],oe={class:"mb-2 block text-sm font-medium text-slate-700"},ne={class:"flex flex-wrap gap-2"},ie=["onClick"],re=["disabled"],de={class:"relative min-h-[520px] overflow-hidden rounded-lg border border-slate-200 bg-[#0d1117]"},ce={class:"relative flex h-full min-h-[520px] flex-col p-4 sm:p-5"},ue={class:"mb-4 flex items-center justify-between gap-3 text-white"},me={class:"text-xs font-semibold uppercase tracking-[0.18em] text-white/45"},pe={class:"mt-1 text-sm text-white/55"},be={class:"relative flex-1 overflow-hidden rounded-lg border border-white/10 bg-black/35"},he={key:0,class:"absolute inset-0 flex items-center justify-center p-8 text-center"},xe={class:"max-w-xs rounded-lg border border-white/10 bg-white/[0.08] p-5 text-white shadow-xl backdrop-blur-xl"},ge={class:"text-sm font-semibold"},ve={class:"mt-2 text-xs leading-5 text-white/60"},fe={class:"mt-4 rounded-lg border border-white/10 bg-white/[0.07] p-4 text-white backdrop-blur-xl"},we={class:"mb-2 flex items-center justify-between gap-3"},_e={class:"rounded-md bg-white/10 px-2 py-1 text-[10px] font-semibold text-white/60"},ye={class:"line-clamp-3 text-xs leading-5 text-white/70"},ke=G({__name:"AppImageGeneratorPlaceholder",props:{app:{},locale:{}},setup(t){const r=t,d=p(""),u=p(r.app.generator.models[0]),x=p(0),f=p(r.app.generator.aspectRatios[0]),g=p(!1),w=$(()=>r.app.generator.styles.map(P=>h(P,r.locale))),C=$(()=>r.locale==="zh"?"一台带有 WisGate 标识的高端 AI 创作设备,放置在深色岩板上,金属、陶瓷和柔光细节清晰,商业产品摄影,真实质感。":"A premium AI creation device with subtle WisGate branding on dark slate, crisp metal and ceramic textures, soft studio light, commercial product photography.");function A(){d.value=C.value}function I(){g.value=!0}return(P,m)=>{const i=R,_=D;return a(),o("div",E,[e("div",F,[e("div",L,[e("div",null,[e("h2",O,s(v(h)(t.app.generator.title,t.locale)),1),e("p",q,s(v(h)(t.app.generator.description,t.locale)),1)]),e("div",K,[c(i,{name:"lucide:image",class:"size-5"})])]),e("div",Q,[e("label",Y,[e("span",H,s(t.locale==="zh"?"提示词":"Prompt"),1),S(e("textarea",{"onUpdate:modelValue":m[0]||(m[0]=n=>d.value=n),rows:"7",placeholder:v(h)(t.app.generator.promptPlaceholder,t.locale),class:"min-h-44 w-full resize-none rounded-lg border border-slate-200 bg-slate-50 px-4 py-3 text-sm leading-6 text-slate-800 outline-none transition focus:border-slate-400 focus:bg-white focus:ring-4 focus:ring-slate-200/70"},null,8,J),[[T,d.value]])]),e("button",{type:"button",class:"inline-flex items-center gap-2 rounded-lg border border-slate-200 bg-white px-3 py-2 text-xs font-semibold text-slate-600 transition hover:border-slate-300 hover:bg-slate-50",onClick:A},[c(i,{name:"lucide:sparkles",class:"size-3.5"}),j(" "+s(t.locale==="zh"?"填入示例提示词":"Use sample prompt"),1)]),e("div",null,[e("span",X,s(t.locale==="zh"?"模型":"Model"),1),e("div",Z,[(a(!0),o(y,null,k(t.app.generator.models,n=>(a(),o("button",{key:n,type:"button",class:b(["rounded-lg border px-3 py-3 text-left text-sm font-medium transition",u.value===n?"border-slate-950 bg-slate-950 text-white shadow-sm":"border-slate-200 bg-white text-slate-600 hover:border-slate-300 hover:bg-slate-50"]),onClick:l=>u.value=n},s(n),11,ee))),128))])]),e("div",te,[e("div",null,[e("span",se,s(t.locale==="zh"?"风格":"Style"),1),e("div",le,[(a(!0),o(y,null,k(w.value,(n,l)=>(a(),o("button",{key:n,type:"button",class:b(["rounded-md border px-3 py-1.5 text-xs font-semibold transition",x.value===l?"border-emerald-700 bg-emerald-50 text-emerald-800":"border-slate-200 bg-white text-slate-500 hover:border-slate-300"]),onClick:z=>x.value=l},s(n),11,ae))),128))])]),e("div",null,[e("span",oe,s(t.locale==="zh"?"画幅":"Aspect ratio"),1),e("div",ne,[(a(!0),o(y,null,k(t.app.generator.aspectRatios,n=>(a(),o("button",{key:n,type:"button",class:b(["rounded-md border px-3 py-1.5 text-xs font-semibold transition",f.value===n?"border-cyan-700 bg-cyan-50 text-cyan-800":"border-slate-200 bg-white text-slate-500 hover:border-slate-300"]),onClick:l=>f.value=n},s(n),11,ie))),128))])])]),e("button",{type:"button",class:"flex w-full items-center justify-center gap-2 rounded-lg bg-slate-950 px-5 py-3 text-sm font-semibold text-white shadow-sm transition hover:bg-slate-800 disabled:cursor-not-allowed disabled:bg-slate-300",disabled:!d.value.trim(),onClick:I},[c(i,{name:"lucide:sparkles",class:"size-4"}),j(" "+s(t.locale==="zh"?"生成占位预览":"Generate placeholder preview"),1)],8,re)])]),e("div",de,[m[3]||(m[3]=e("div",{class:"absolute inset-0 opacity-[0.08] [background-image:linear-gradient(90deg,#fff_1px,transparent_1px),linear-gradient(#fff_1px,transparent_1px)] [background-size:40px_40px]"},null,-1)),e("div",ce,[e("div",ue,[e("div",null,[e("p",me,s(t.locale==="zh"?"预览":"Preview"),1),e("p",pe,s(u.value)+" · "+s(w.value[x.value])+" · "+s(f.value),1)]),c(i,{name:"lucide:sparkles",class:"size-4 text-white/45"})]),e("div",be,[c(_,{src:"/prompts/nano_banana_2.webp",alt:v(h)(t.app.heroAlt,t.locale),class:b(["h-full w-full object-cover transition duration-700",g.value?"opacity-100 scale-100":"opacity-70 scale-105 grayscale-[25%]"]),width:"900",height:"900"},null,8,["alt","class"]),m[1]||(m[1]=e("div",{class:"absolute inset-0 bg-gradient-to-t from-slate-950 via-trans
1parent to-transparent"},null,-1)),g.value?V("",!0):(a(),o("div",he,[e("div",xe,[c(i,{name:"lucide:image",class:"mx-auto mb-3 size-8 text-white/65"}),e("p",ge,s(t.locale==="zh"?"等待生成参数":"Awaiting generation settings"),1),e("p",ve,s(t.locale==="zh"?"当前为占位组件,后续可接入真实生成任务。":"This placeholder is ready for the real generation task API."),1)])]))]),e("div",fe,[e("div",we,[m[2]||(m[2]=e("span",{class:"text-xs font-semibold uppercase tracking-[0.18em] text-white/40"},"Prompt",-1)),e("span",_e,s(g.value?t.locale==="zh"?"已生成":"Rendered":t.locale==="zh"?"草稿":"Draft"),1)]),e("p",ye,s(d.value||C.value),1)])])])])}}}),ze=Object.assign(ke,{__name:"AppsAppImageGeneratorPlaceholder"}),$e={class:"grid gap-5 lg:grid-cols-[minmax(0,0.95fr)_minmax(320px,1.05fr)]"},Ce={class:"rounded-lg border border-slate-200 bg-white p-4 sm:p-5"},Ae={class:"mb-5 flex items-start justify-between gap-4"},Pe={class:"text-2xl font-semibold tracking-tight text-slate-950"},je={class:"mt-2 text-sm leading-6 text-slate-500"},Ie={class:"hidden size-11 shrink-0 items-center justify-center rounded-lg bg-slate-100 text-slate-700 sm:flex"},Ge={class:"space-y-5"},Ve={class:"block"},Re={class:"mb-2 block text-sm font-medium text-slate-700"},Se=["placeholder"],Te={class:"mb-2 block text-sm font-medium text-slate-700"},De={class:"grid gap-2 sm:grid-cols-3"},Ne=["onClick"],Be={class:"grid gap-5 sm:grid-cols-3"},Me={class:"mb-2 block text-sm font-medium text-slate-700"},Ue={class:"flex flex-wrap gap-2"},We=["onClick"],Ee={class:"mb-2 block text-sm font-medium text-slate-700"},Fe={class:"flex flex-wrap gap-2"},Le=["onClick"],Oe={class:"mb-2 block text-sm font-medium text-slate-700"},qe={class:"flex flex-wrap gap-2"},Ke=["onClick"],Qe=["disabled"],Ye={class:"relative min-h-[520px] overflow-hidden rounded-lg border border-slate-200 bg-[#080b12]"},He={class:"relative flex h-full min-h-[520px] flex-col p-4 sm:p-5"},Je={class:"mb-4 flex items-center justify-between gap-3 text-white"},Xe={class:"text-xs font-semibold uppercase tracking-[0.18em] text-white/45"},Ze={class:"mt-1 text-sm text-white/55"},et={class:"relative flex-1 overflow-hidden rounded-lg border border-white/10 bg-black/35"},tt={class:"absolute inset-x-6 top-6 h-1.5 overflow-hidden rounded-full bg-white/10"},st={key:0,class:"absolute inset-0 flex items-center justify-center p-8 text-center"},lt={class:"max-w-xs rounded-lg border border-white/10 bg-white/[0.08] p-5 text-white shadow-xl backdrop-blur-xl"},at={class:"text-sm font-semibold"},ot={class:"mt-2 text-xs leading-5 text-white/60"},nt={class:"mt-4 rounded-lg border border-white/10 bg-white/[0.07] p-4 text-white backdrop-blur-xl"},it={class:"mb-2 flex items-center justify-between gap-3"},rt={class:"rounded-md bg-white/10 px-2 py-1 text-[10px] font-semibold text-white/60"},dt={class:"line-clamp-3 text-xs leading-5 text-white/70"},ct=G({__name:"AppVideoGeneratorPlaceholder",props:{app:{},locale:{}},setup(t){const r=t,d=p(""),u=p(r.app.generator.models[0]),x=p(0),f=p(r.app.generator.aspectRatios[0]),g=p("5s"),w=p(!1),C=$(()=>r.app.generator.styles.map(m=>h(m,r.locale))),A=$(()=>r.locale==="zh"?"一段高端 AI 产品发布短片,WisGate 品牌设备在暗色工作台上启动,柔光扫过金属边缘,镜头缓慢推进,电影感商业广告。":"A premium AI product launch clip, a WisGate-branded device powering on over a dark workstation, soft light passing over metal edges, slow push-in camera, cinematic commercial.");function I(){d.value=A.value}function P(){w.value=!0}return(m,i)=>{const _=R,n=D;return a(),o("div",$e,[e("div",Ce,[e("div",Ae,[e("div",null,[e("h2",Pe,s(v(h)(t.app.generator.title,t.locale)),1),e("p",je,s(v(h)(t.app.generator.description,t.locale)),1)]),e("div",Ie,[c(_,{name:"lucide:video",class:"size-5"})])]),e("div",Ge,[e("label",Ve,[e("span",Re,s(t.locale==="zh"?"视频提示词":"Video prompt"),1),S(e("textarea",{"onUpdate:modelValue":i[0]||(i[0]=l=>d.value=l),rows:"7",placeholder:v(h)(t.app.generator.promptPlaceholder,t.locale),class:"min-h-44 w-full resize-none rounded-lg border border-slate-200 bg-slate-50 px-4 py-3 text-sm leading-6 text-slate-800 outline-none transition focus:border-slate-400 focus:bg-white focus:ring-4 focus:ring-slate-200/70"},null,8,Se),[[T,d.value]])]),e("button",{type:"button",class:"inline-flex items-center gap-2 rounded-lg border border-slate-200 bg-white px-3 py-2 text-xs font-semibold text-slate-600 transition hover:border-slate-300 hover:bg-slate-50",onClick:I},[c(_,{name:"lucide:sparkles",class:"size-3.5"}),j(" "+s(t.locale==="zh"?"填入示例提示词":"Use sample prompt"),1)]),e("div",null,[e("span",Te,s(t.locale==="zh"?"视频模型":"Video model"),1),e("div",De,[(a(!0),o(y,null,k(t.app.generator.models,l=>(a(),o("button",{key:l,type:"button",class:b(["rounded-lg border px-3 py-3 text-left text-sm font-medium transition",u.value===l?"border-slate-950 bg-slate-950 text-white shadow-sm":"border-slate-200 bg-white text-slate-600 hover:border-slate-300 hover:bg-slate-50"]),onClick:z=>u.value=l},s(l),11,Ne))),128))])]),e("div",Be,[e("div",null,[e("span",Me,s(t.locale==="zh"?"风格":"Style"),1),e("div",Ue,[(a(!0),o(y,null,k(C.value,(l,z)=>(a(),o("button",{key:l,type:"button",class:b(["rounded-md border px-3 py-1.5 text-xs font-semibold transition",x.value===z?"border-rose-700 bg-rose-50 text-rose-800":"border-slate-200 bg-white text-slate-500 hover:border-slate-300"]),onClick:mt=>x.value=z},s(l),11,We))),128))])]),e("div",null,[e("span",Ee,s(t.locale==="zh"?"画幅":"Aspect ratio"),1),e("div",Fe,[(a(!0),o(y,null,k(t.app.generator.aspectRatios,l=>(a(),o("button",{key:l,type:"button",class:b(["rounded-md border px-3 py-1.5 text-xs font-semibold transition",f.value===l?"border-cyan-700 bg-cyan-50 text-cyan-800":"border-slate-200 bg-white text-slate-500 hover:border-slate-300"]),onClick:z=>f.value=l},s(l),11,Le))),128))])]),e("div",null,[e("span",Oe,s(t.locale==="zh"?"时长":"Duration"),1),e("div",qe,[(a(),o(y,null,k(["5s","10s"],l=>e("button",{key:l,type:"button",class:b(["rounded-md border px-3 py-1.5 text-xs font-semibold transition",g.value===l?"border-amber-700 bg-amber-50 text-amber-800":"border-slate-200 bg-white text-slate-500 hover:border-slate-300"]),onClick:z=>g.value=l},s(l),11,Ke)),64))])])]),e("button",{type:"button",class:"flex w-full items-center justify-center gap-2 rounded-lg bg-slate-950 px-5 py-3 text-sm font-semibold text-white shadow-sm transition hover:bg-slate-800 disabled:cursor-not-allowed disabled:bg-slate-300",disabled:!d.value.trim(),onClick:P},[c(_,{name:"lucide:video",class:"size-4"}),j(" "+s(t.locale==="zh"?"生成占位视频预览":"Generate placeholder video preview"),1)],8,Qe)])]),e("div",Ye,[i[3]||(i[3]=e("div",{class:"absolute inset-0 opacity-[0.1] [background-image:linear-gradient(90deg,#fff_1px,transparent_1px),linear-gradient(#fff_1px,transparent_1px)] [background-size:48px_48px]"},null,-1)),e("div",He,[e("div",Je,[e("div",null,[e("p",Xe,s(t.locale==="zh"?"视频预览":"Video preview"),1),e("p",Ze,s(u.value)+" · "+s(C.value[x.value])+" · "+s(f.value)+" · "+s(g.value),1)]),c(_,{name:"lucide:video",class:"size-4 text-white/45"})]),e("div",et,[c(n,{src:t.app.heroImage,alt:v(h)(t.app.heroAlt,t.locale),class:b(["h-full w-full object-cover transition duration-700",w.value?"opacity-100 scale-100":"opacity-70 scale-105 grayscale-[20%]"]),width:"900",height:"900"},null,8,["src","alt","class"]),i[1]||(i[1]=e("div",{class:"absolute inset-0 bg-gradient-to-t from-slate-950 via-trans
1parent to-transparent"},null,-1)),e("div",tt,[e("div",{class:b(["h-full rounded-full bg-white/65 transition-all duration-700",w.value?"w-2/3":"w-1/4"])},null,2)]),w.value?V("",!0):(a(),o("div",st,[e("div",lt,[c(_,{name:"lucide:video",class:"mx-auto mb-3 size-8 text-white/65"}),e("p",at,s(t.locale==="zh"?"等待视频参数":"Awaiting video settings"),1),e("p",ot,s(t.locale==="zh"?"当前为视频生成占位组件,可按 slug 接入真实视频任务。":"This video placeholder is ready for a real task API by slug."),1)])]))]),e("div",nt,[e("div",it,[i[2]||(i[2]=e("span",{class:"text-xs font-semibold uppercase tracking-[0.18em] text-white/40"},"Prompt",-1)),e("span",rt,s(w.value?t.locale==="zh"?"已生成":"Rendered":t.locale==="zh"?"草稿":"Draft"),1)]),e("p",dt,s(d.value||A.value),1)])])])])}}}),ut=Object.assign(ct,{__name:"AppsAppVideoGeneratorPlaceholder"}),ht=G({__name:"index",setup(t){const r=N(),{locale:d}=B(),u=$(()=>W(r.params.slug)),x=$(()=>u.value?.generatorType==="video-generator"?ut:ze);return(f,g)=>u.value?(a(),M(U(x.value),{key:0,app:u.value,locale:v(d)},null,8,["app","locale"])):V("",!0)}});export{ht 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.