PageSourceSearch

https://youb.app/_nuxt/z3fcU1xg.js

js youb.app collected 2026-10-02 00:43:52 UTC 4,691 bytes, 1 lines download raw bytes

1import B from"./Cr7RKj7e.js";import{d as C,v as D,u as I,I as T,a as k,r as d,c as i,f as e,t as a,g as t,m as q,C as z,D as x,E as V,J as _,K as E,l as v,h as U,y as j,b as n}from"./BsBnSsv8.js";import{_ as P}from"./DlAUqK2U.js";const R={class:"feedback-page bg-black min-h-screen pt-32 md:pt-42 pb-24 px-4 overflow-hidden relative"},$={class:"max-w-4xl mx-auto relative z-10"},A={class:"text-center mb-12 md:mb-16"},H={class:"text-4xl md:text-6xl font-bold tracking-tighter text-white mb-6 animate-fade-in"},J={class:"text-white/40 text-lg md:text-xl max-w-2xl mx-auto leading-relaxed"},K={class:"max-w-2xl mx-auto"},O={class:"bg-white/[0.02] border border-white/10 backdrop-blur-3xl p-8 md:p-10 rounded-[2.5rem] shadow-2xl relative overflow-hidden"},F={key:0,class:"text-center py-10 animate-in fade-in duration-500"},G={class:"mb-6 inline-flex items-center justify-center w-20 h-20 rounded-full bg-white/10 text-white"},L={class:"text-2xl font-bold text-white mb-4"},Q={class:"text-white/60 leading-relaxed"},W={class:"space-y-2"},X=["placeholder"],Y={key:0,class:"flex items-start gap-3 cursor-pointer select-none"},Z={class:"text-sm text-white/50 leading-relaxed"},ee=["disabled"],te={class:"relative z-10 flex items-center justify-center gap-2"},se={key:0},oe={key:1,class:"flex items-center gap-2"},ae={key:1,class:"text-red-400 text-sm text-center animate-in fade-in duration-300"},ne=C({__name:"feedback",setup(ie){const{t:s}=D(),l=I(),{$posthog:S}=T();k({title:()=>s("feedback.title")}),k({meta:[{name:"robots",content:"noindex, nofollow"},{property:"og:title",content:()=>s("feedback.title")},{name:"description",content:()=>s("feedback.subtitle")},{property:"og:description",content:()=>s("feedback.subtitle")}]});const g=typeof l.query.utm_campaign=="string"?l.query.utm_campaign:void 0,w=typeof l.query.uid=="string"?l.query.uid:void 0,M=typeof l.query.sig=="string"?l.query.sig:void 0,c=d(""),r=d(!1),m=d(""),u=d(!1),y=d(!1),f=d(""),N=async()=>{u.value=!0,f.value="";try{await $fetch("/api/feedback",{method:"POST",body:{message:c.value,campaign:g,uid:r.value?void 0:w,sig:r.value?void 0:M,website:m.value}}),S?.capture?.("feedback_submitted",{campaign:g,anonymous:r.value}),y.value=!0,c.value=""}catch(b){console.error("Submission Error:",b);const o=b;f.value=o.data?.statusMessage||"Something went wrong. Please try again."}finally{u.value=!1}};return(b,o)=>{const h=B;return n(),i("div",R,[o[3]||(o[3]=e("div",{class:"absolute top-0 left-1/2 -translate-x-1/2 w-full max-w-7xl h-full pointer-events-none opacity-20"},[e("div",{class:"absolute top-0 left-1/4 w-96 h-96 bg-white/10 rounded-full blur-[120px]"}),e("div",{class:"absolute bottom-1/4 right-1/4 w-96 h-96 bg-white/5 rounded-full blur-[100px]"})],-1)),e("div",$,[e("div",A,[e("h1",H,a(t(s)("feedback.title")),1),e("p",J,a(t(s)("feedback.subtitle")),1)]),e("div",K,[e("div",O,[t(y)?(n(),i("div",F,[e("div",G,[q(h,{name:"ph:check-bold",class:"w-10 h-10"})]),e("h3",L,a(t(s)("feedback.form.successTitle")),1),e("p",Q,a(t(s)("feedback.form.successMessage")),1)])):(n(),i("form",{key:1,class:"space-y-6",onSubmit:z(N,["prevent"])},[e("div",W,[x(e("textarea",{"onUpdate:modelValue":o[0]||(o[0]=p=>_(c)?c.value=p:null),placeholder:t(s)("feedback.form.message"),required:"",rows:"7",class:"w-full px-6 py-4 rounded-2xl bg-white/5 border border-white/10 text-white placeholder:text-white/20 focus:outline-none focus:border-white/30 transition-all duration-300 resize-none"},null,8,X),[[V,t(c)]])]),x(e("input",{"onUpdate:modelValue":o[1]||(o[1]=p=>_(m)?m.value=p:null),type:"text",name:"website",tabindex:"-1",autocomplete:"off","aria-hidden":"true",class:"absolute -left-[9999px] top-0 h-0 w-0 opacity-0"},null,512),[[V,t(m)]]),t(w)?(n(),i("label",Y,[x(e("input",{"onUpdate:modelValue":o[2]||(o[2]=p=>_(r)?r.value=p:null),type:"checkbox",class:"mt-1 w-4 h-4 accent-white cursor-pointer"},null,512),[[E,t(r)]]),e("span",Z,a(t(s)("feedback.form.anonymous")),1)])):v("",!0),e("button",{type:"submit",disabled:t(u),class:"w-full group relative px-8 py-5 rounded-2xl bg-white text-black font-semibold text-lg hover:bg-white/90 active:scale-[0.98] transition-all duration-300 disabled:opacity-50 overflow-hidden cursor-pointer"},[e("div",te,[t(u)?(n(),i("span",oe,[q(h,{name:"ph:circle-notch-bold",class:"w-5 h-5 animate-spin"}),U(" "+a(t(s)("feedback.form.sending")),1)])):(n(),i("span",se,a(t(s)("feedback.form.submit")),1)),t(u)?v("",!0):(n(),j(h,{key:2,name:"ph:paper-plane-tilt-bold",class:"w-5 h-5 group-hover:translate-x-1 group-hover:-translate-y-1 transition-transform duration-300"}))])],8,ee),t(f)?(n(),i("p",ae,a(t(f)),1)):v("",!0)],32))])])])])}}}),ce=P(ne,[["__scopeId","data-v-822e0fff"]]);export{ce 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.