PageSourceSearch

https://kiveo.org/_next/static/chunks/643790a96dae418c.js

js kiveo.org collected 2026-10-01 23:44:06 UTC 72,591 bytes, 5 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,75696,e=>{"use strict";var t=e.i(61745),r=e.i(43476);function a({locale:e,...a}){if(!e)throw Error(void 0);return(0,r.jsx)(t.IntlProvider,{locale:e,...a})}e.s(["default",()=>a])},37215,e=>{"use strict";var t=e.i(43476),r=e.i(71645),a=e.i(47780);let s=[{id:"light",name:"Light",icon:"☀️"},{id:"default",name:"Midnight",icon:"🌙"},{id:"ocean",name:"Ocean",icon:"🌊"},{id:"sunset",name:"Sunset",icon:"🌇"},{id:"forest",name:"Forest",icon:"🌲"},{id:"cyberpunk",name:"Cyberpunk",icon:"⚡"}];function o(){let[e,o]=(0,r.useState)("default"),[l,n]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{let e=localStorage.getItem("theme")||"default";o(e),document.documentElement.setAttribute("data-theme",e),"light"===e?document.documentElement.classList.remove("dark"):document.documentElement.classList.add("dark")},[]),(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)("button",{onClick:()=>n(!l),className:"h-9 w-9 flex items-center justify-center rounded-full bg-theme-card border border-theme-border text-theme-text hover:bg-theme-accent transition-all shadow-lg",title:"Change Theme",children:(0,t.jsx)(a.Palette,{size:18})}),l&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"fixed inset-0 z-40",onClick:()=>n(!1)}),(0,t.jsx)("div",{className:"absolute right-0 mt-2 w-48 bg-theme-card border border-theme-border rounded-2xl shadow-2xl z-50 overflow-hidden backdrop-blur-2xl animate-in fade-in slide-in-from-top-4 duration-300",children:(0,t.jsxs)("div",{className:"py-2",children:[(0,t.jsx)("div",{className:"px-4 py-2 text-[10px] font-black uppercase tracking-widest text-theme-text-secondary opacity-50",children:"Select Theme"}),s.map(r=>(0,t.jsxs)("button",{onClick:()=>{var e;o(e=r.id),document.documentElement.setAttribute("data-theme",e),"light"===e?document.documentElement.classList.remove("dark"):document.documentElement.classList.add("dark"),localStorage.setItem("theme",e),n(!1)},className:`w-full px-4 py-3 text-left text-sm flex items-center gap-3 transition-all ${e===r.id?"bg-theme-accent/20 text-theme-accent font-bold":"text-theme-text hover:bg-theme-text/5"}`,children:[(0,t.jsx)("span",{className:"text-lg",children:r.icon}),r.name,e===r.id&&(0,t.jsx)("div",{className:"ml-auto w-1.5 h-1.5 rounded-full bg-theme-accent shadow-[0_0_8px_var(--accent-primary)]"})]},r.id))]})})]})]})}e.s(["default",()=>o])},92247,e=>{"use strict";var t=e.i(43476),r=e.i(48148),a=e.i(22016),s=e.i(18566);let o=e.i(95310).routing.locales,l={en:"English",zh:"中文",hi:"हिन्दी",es:"Español",fr:"Français",ar:"العربية",bn:"বাংলা",pt:"Português",ru:"Русский",ur:"اردو",ja:"日本語",ko:"한국어",de:"Deutsch",id:"Bahasa Indonesia",vi:"Tiếng Việt"};function n(){let e=(0,s.useRouter)(),r=(0,s.usePathname)(),a=(0,s.useParams)().locale||"en";return(0,t.jsxs)("div",{className:"relative group",children:[(0,t.jsxs)("button",{className:"flex items-center gap-1 sm:gap-2 h-9 px-2 sm:px-3 rounded-full bg-theme-card border border-theme-border text-theme-text hover:bg-theme-accent hover:text-white transition-all shadow-md",children:[(0,t.jsx)("svg",{className:"w-4 h-4 sm:w-5 sm:h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M3 5h12M9 3v2m1.048 9.5A18.022 18.022 0 016.412 9m6.088 9h7M11 21l5-10 5 10M12.751 5C11.783 10.77 8.07 15.61 3 18.129"})}),(0,t.jsx)("span",{className:"text-[10px] sm:text-xs font-semibold uppercase",children:l[a]})]}),(0,t.jsx)("div",{className:"absolute right-0 mt-0 pt-2 w-32 sm:w-40 bg-transparent opacity-0 invisible group-hover:opacity-100 group-hover:visible transition-all z-[100]",children:(0,t.jsx)("div",{className:"bg-theme-card backdrop-blur-xl border border-theme-border rounded-xl shadow-2xl overflow-hidden animate-in fade-in slide-in-from-top-2 duration-200",children:(0,t.jsxs)("div",{className:"py-1 max-h-[70vh] overflow-y-auto scrollbar-thin scrollbar-thumb-theme-border scrollbar-track-transparent",children:[(0,t.jsx)("div",{className:"px-3 py-1.5 text-[10px] font-black uppercase tracking-widest text-theme-text-secondary opacity-50",children:"Select Language"}),o.map(s=>(0,t.jsx)("button",{onClick:()=>{let t,a;return(t=r.split("/"))[1]=s,a=t.join("/"),void e.push(a)},className:`block w-full text-left px-4 py-2 text-xs font-semibold transition-all hover:bg-theme-accent/10 hover:text-theme-accent ${s===a?"text-theme-accent bg-theme-accent/5":"text-theme-text"}`,children:l[s]},s))]})})})]})}var i=e.i(71645),d=e.i(1112),c=e.i(54727),m=e.i(18148),h=e.i(36803),u=e.i(75254);let x=(0,u.default)("log-in",[["path",{d:"m10 17 5-5-5-5",key:"1bsop3"}],["path",{d:"M15 12H3",key:"6jk70r"}
1],["path",{d:"M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4",key:"u53s6r"}]]);var p=e.i(84614);let g=(0,u.default)("log-out",[["path",{d:"m16 17 5-5-5-5",key:"1bji2h"}],["path",{d:"M21 12H9",key:"dn1m92"}],["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}]]);var f=e.i(78716),b=e.i(75822),v=e.i(64659),y=e.i(86311);let w=(0,u.default)("circle-user",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}],["path",{d:"M7 20.662V19a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v1.662",key:"154egf"}]]);var j=e.i(73708);let k=(0,u.default)("layout-grid",[["rect",{width:"7",height:"7",x:"3",y:"3",rx:"1",key:"1g98yp"}],["rect",{width:"7",height:"7",x:"14",y:"3",rx:"1",key:"6d4xhi"}],["rect",{width:"7",height:"7",x:"14",y:"14",rx:"1",key:"nxv5o0"}],["rect",{width:"7",height:"7",x:"3",y:"14",rx:"1",key:"1bb6yr"}]]);var N=e.i(83086);let C=(0,u.default)("cpu",[["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M17 20v2",key:"1rnc9c"}],["path",{d:"M17 2v2",key:"11trls"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M2 17h2",key:"7oei6x"}],["path",{d:"M2 7h2",key:"asdhe0"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"M20 17h2",key:"1fpfkl"}],["path",{d:"M20 7h2",key:"1o8tra"}],["path",{d:"M7 20v2",key:"4gnj0m"}],["path",{d:"M7 2v2",key:"1i4yhu"}],["rect",{x:"4",y:"4",width:"16",height:"16",rx:"2",key:"1vbyd7"}],["rect",{x:"8",y:"8",width:"8",height:"8",rx:"1",key:"z9xiuo"}]]);var S=e.i(61659);function z({themeSelector:e,siteName:o}){let l=(0,r.useTranslations)("Common"),u=(0,r.useTranslations)("prompts.hero"),z=(0,r.useTranslations)("nanobanana-pro-prompts.hero"),M=(0,s.useParams)().locale,[$,P]=(0,i.useState)(!1),[I,E]=(0,i.useState)(!1),[_,T]=(0,i.useState)(!1),[L,B]=(0,i.useState)(!1),[F,A]=(0,i.useState)(!1),{user:G,setUser:O}=(0,m.useAuth)(),[R,q]=(0,i.useState)(null),U=()=>{localStorage.removeItem("loggedInUser"),O(null),B(!1),window.dispatchEvent(new Event("userStatusChanged"))};return(0,i.useEffect)(()=>{let e=()=>{let e=localStorage.getItem("loggedInUser");e?O(JSON.parse(e)):O(null)};return window.addEventListener("userStatusChanged",e),()=>window.removeEventListener("userStatusChanged",e)},[O]),(0,i.useEffect)(()=>{(async()=>{if(L&&G?.id)try{let{credits:e}=await (0,h.getUserCredits)(G.id);q(e)}catch(e){console.error("Failed to fetch credits:",e),q(0)}})()},[L,G?.id]),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("header",{className:"sticky top-0 z-50 bg-theme-nav/90 backdrop-blur-xl border-b border-theme-border shadow-lg shadow-theme-text/5",children:(0,t.jsxs)("nav",{className:"w-full px-4 sm:px-6 lg:px-8",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between h-16",children:[(0,t.jsxs)(a.default,{href:`/${M}`,className:"flex items-center gap-2 group",children:[(0,t.jsx)("div",{className:"relative w-10 h-10 rounded-xl flex items-center justify-center shadow-lg group-hover:shadow-xl transition-all group-hover:scale-110 group-hover:rotate-3",children:(0,t.jsx)("img",{src:"/logo.svg",alt:o,className:"w-10 h-10 rounded-xl",width:40,height:40})}),(0,t.jsx)("span",{className:"text-xl font-bold gradient-text",children:o})]}),(0,t.jsxs)("div",{className:"hidden md:flex items-center gap-6",children:[(0,t.jsxs)(a.default,{href:`/${M}/my-generations`,className:"relative text-theme-text-secondary hover:text-theme-accent transition-colors font-medium group flex items-center gap-1",children:[(0,t.jsx)(f.Video,{className:"w-4 h-4"}),l("myGenerations")]}),(0,t.jsxs)(a.default,{href:`/${M}/ai-avatar`,className:"relative text-theme-text-secondary hover:text-theme-accent transition-colors font-medium group flex items-center gap-1",children:[(0,t.jsx)(w,{className:"w-4 h-4"}),l("aiAvatar")]}),(0,t.jsxs)(a.default,{href:`/${M}/ai-text`,className:"relative text-theme-text-secondary hover:text-theme-accent transition-colors font-medium group flex items-center gap-1",children:[(0,t.jsx)(y.MessageSquare,{className:"w-4 h-4"}),l("aiText")]}),(0,t.jsxs)(a.default,{href:`/${M}/ai-image`,className:"relative text-theme-text-secondary hover:text-theme-accent transition-colors font-medium group flex items-center gap-1",children:[(0,t.jsx)(j.Image,{className:"w-4 h-4"}),l("aiImage")||"AI Image"]}),(0,t.jsxs)(a.default,{href:`/${M}/ai-models`,className:"relative text-theme-text-secondary hover:text-theme-accent transition-colors font-medium group flex items-center gap-1",children:[(0,t.jsx)(C,{className:"w-4 h-4"}),l("aiModels")||"AI Models"]}),(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsxs)("button",{onClick:()=>A(!F),className:"relative text-theme-text-secondary hover:text-theme-accent transition-colors font-medium group flex items-center gap-1",children:[(0,t.jsx)(k,{className:"w-4 h-4"}),l("gallery")||"Gallery",(0,t.jsx)(v.ChevronDown,{className:`w-3 h-3 transition-transform ${F?"rotate-180":""}`})]}),F&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"fixed inset-0 z-40",onClick:()=>A(!1)}),(0,t.jsx)("div",{className:"absolute left-1/2 -translate-x-1/2 mt-2 w-[600px] bg-theme-card rounded-xl shadow-2xl border border-theme-border z-50 overflow-hidden",children:(0,t.jsxs)("div",{className:"p-4 grid grid-cols-2 gap-4",children:[(0,t.jsxs)(a.default,{href:`/${M}/prompts`,onClick:()=>A(!1),className:"flex flex-col gap-2 p-4 rounded-lg hover:bg-theme-bg
1-secondary transition-all group/item",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2 text-theme-accent",children:[(0,t.jsx)(k,{className:"w-5 h-5 group-hover/item:scale-110 transition-transform"}),(0,t.jsx)("span",{className:"font-semibold",children:u("title")})]}),(0,t.jsx)("p",{className:"text-sm text-theme-text-secondary line-clamp-2",children:u("subtitle")})]}),(0,t.jsxs)(a.default,{href:`/${M}/nanobanana-pro-prompts`,onClick:()=>A(!1),className:"flex flex-col gap-2 p-4 rounded-lg hover:bg-theme-bg-secondary transition-all group/item",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2 text-theme-accent",children:[(0,t.jsx)(N.Sparkles,{className:"w-5 h-5 group-hover/item:scale-110 transition-transform"}),(0,t.jsx)("span",{className:"font-semibold",children:z("title")})]}),(0,t.jsx)("p",{className:"text-sm text-theme-text-secondary line-clamp-2",children:z("subtitle")})]})]})})]})]}),(0,t.jsx)(a.default,{href:`/${M}/pricing`,className:"relative text-theme-text-secondary hover:text-theme-accent transition-colors font-medium group",children:l("pricing")})]}),(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[e,(0,t.jsx)(n,{}),(0,t.jsx)("div",{className:"hidden md:block",children:G?(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsxs)("button",{onClick:()=>B(!L),className:"flex items-center gap-2 px-4 py-2 bg-gradient-to-r from-primary-500 to-purple-500 text-white rounded-lg hover:from-primary-600 hover:to-purple-600 transition-all font-medium shadow-md hover:shadow-lg transform hover:scale-105 active:scale-95",children:[(0,t.jsx)(p.User,{className:"w-4 h-4"}),(0,t.jsx)("span",{children:G.nickname||G.email}),(0,t.jsx)(v.ChevronDown,{className:`w-4 h-4 transition-transform ${L?"rotate-180":""}`})]}),L&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"fixed inset-0 z-40",onClick:()=>B(!1)}),(0,t.jsxs)("div",{className:"absolute right-0 mt-2 w-48 bg-theme-card rounded-lg shadow-xl border border-theme-border z-50",children:[(0,t.jsx)("div",{className:"p-3 border-b border-theme-border",children:(0,t.jsx)("p",{className:"text-sm font-medium text-theme-text truncate",children:G.email})}),(0,t.jsxs)("div",{className:"py-1",children:[(0,t.jsxs)("button",{onClick:()=>{B(!1),window.location.href=`/${M}/profile`},className:"w-full flex items-center gap-2 px-4 py-2 text-left text-sm text-theme-text-secondary hover:bg-theme-bg-secondary transition-colors",children:[(0,t.jsx)(p.User,{className:"w-4 h-4"}),l("profile")]}),(0,t.jsxs)("button",{onClick:()=>{B(!1),window.location.href=`/${M}/my-credits`},className:"w-full flex items-center justify-between px-4 py-2 text-left text-sm text-theme-text-secondary hover:bg-theme-bg-secondary transition-colors",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)(b.Coins,{className:"w-4 h-4 text-yellow-500"}),l("myPoints")]}),(0,t.jsx)("span",{className:"font-mono font-bold text-purple-600 bg-purple-100 dark:bg-purple-900/30 px-2 py-0.5 rounded-full text-xs",children:null!==R?R.toLocaleString():"-"})]}),(0,t.jsxs)("button",{onClick:()=>{B(!1),window.location.href=`/${M}/my-payments`},className:"w-full flex items-center gap-2 px-4 py-2 text-left text-sm text-theme-text-secondary hover:bg-theme-bg-secondary transition-colors",children:[(0,t.jsx)(S.CreditCard,{className:"w-4 h-4"}),l("myPayments")]}),(0,t.jsxs)("button",{onClick:U,className:"w-full flex items-center gap-2 px-4 py-2 text-left text-sm text-red-600 hover:bg-red-50 dark:hover:bg-red-900/20 transition-colors",children:[(0,t.jsx)(g,{className:"w-4 h-4"}),l("logout")]})]})]})]})]}):(0,t.jsxs)("button",{onClick:()=>T(!0),className:"flex items-center gap-2 px-4 py-2 bg-gradient-to-r from-primary-500 to-purple-500 text-white rounded-lg hover:from-primary-600 hover:to-purple-600 transition-all font-medium shadow-md hover:shadow-lg transform hover:scale-105 active:scale-95",children:[(0,t.jsx)(x,{className:"w-4 h-4"}),(0,t.jsx)("span",{children:l("login")})]})}),(0,t.jsx)("button",{onClick:()=>P(!$),className:"md:hidden p-2.5 rounded-lg bg-gray-100 dark:bg-gray-800 hover:bg-gray-200 dark:hover:bg-gray-700 text-gray-700 dark:text-gray-300 transition-all hover:scale-105 active:scale-95","aria-label":"Toggle menu",children:(0,t.jsx)("svg",{className:"w-6 h-6",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:$?(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"}):(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M4 6h16M4 12h16M4 18h16"})})})]})]}),$&&(0,t.jsx)("div",{className:"md:hidden py-4 border-t border-gray-200/50 dark:border-gray-700/50 bg-gradient-to-b from-gray-50/50 to-white/50 dark:from-gray-800/50 dark:to-gray-900/50 backdrop-blur-lg",children:(0,t.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,t.jsx)(a.default,{href:`/${M}#features`,className:"px-4 py-3 text-gray-700 dark:text-gray-300 blue:text-blue-900 purple:text-purple-900 green:text-green-900 orange:text-orange-900 hover:text-primary-600 dark:hover:text-primary-400 hover:bg-primary-50 dark:hover:bg-primary-900/20 rounded-lg transition-all font-medium",onClick:()=>P(!1),children:l("features")}),(0,t.jsxs)(a.default,{href:`/${M}/my-generations`,className:"px-4 py-3 text-gray-700 dark:text-gray-300 blue:text-blue-900 purple:text-purple-900 green:text-green-900 orange:text-orange-900 hover:text-primary-600 dark:hover:text-primary-400 hover:bg-primary-50 dark:hover:bg-primary-900/20 rounded-lg transition-all font-medium flex items-center gap-2",onClick:()=>P(!1),children:[(0,t.jsx)(f.Video,{className:"w-5 h-5"}),l("myGenerations")]}),(0,t.jsxs)(a.default,{href:`/${M}/ai-avatar`,className:"px-4 py-3 text-gray-700 dark:text-gray-300 blue:text-blue-900 purple:text-purple-900 green:text-green-900 orange:text-orange-900 hover:text-primary-600 dark:hover:text-primary-400 hover:bg-primary-50 dark:hover:bg-primary-900/20 rounded-lg transition-all font-medium flex items-center gap-2",onClick:()=>P(!1),children:[(0,t.jsx)(w,{className:"w-5 h-5"}),l("aiAvatar")]}),(0,t.jsxs)(a.default,{href:`/${M}/ai-text`,className:"px-4 py-3 text-gray-700 dark:text-gray-300 blue:text-blue-900 purple:text-purple-900 green:text-green-900 orange:text-orange-900 hover:text-primary-600 dark:hover:text-primary-400 hover:bg-primary-50 dark:hover:bg-primary-900/20 rounded-lg transition-all font-medium flex items-center gap-2",onClick:()=>P(!1),children:[(0,t.jsx)(y.MessageSquare,{className:"w-5 h-5"}),l("aiText")]}),(0,t.jsxs)(a.default,{href:`/${M}/ai-image`,className:"px-4 py-3 text-gray-700 dark:text-gray-300 blue:text-blue-900 purple:text-purple-900 green:text-green-900 orange:text-orange-900 hover:text-primary-600 dark:hover:text-primary-400 hover:bg-primary-50 dark:hover:bg-primary-900/20 rounded-lg transition-all font-medium flex items-center gap-2",onClick:()=>P(!1),children:[(0,t.jsx)(j.Image,{className:"w-5 h-5"}),l("aiImage")||"AI Image"]}),(0,t.jsxs)(a.default,{href:`/${M}/ai-models`,className:"px-4 py-3 text-gray-700 dark:text-gray-300 blue:text-blue-900 purple:text-purple-900 green:text-green-900 orange:text-orange-900 hover:text-primary-600 dark:hover:text-primary-400 hover:bg-primary-50 dark:hover:bg-primary-900/20 rounded-lg transition-all font-medium flex items-center gap-2",onClick:()=>P(!1),children:[(0,t.jsx)(C,{className:"w-5 h-5"}),l("aiModels")||"AI Models"]}),(0,t.jsxs)("div",{className:"px-4 py-2",children:[(0,t.jsx)("div",{className:"text-sm font-semibold text-gray-500 dark:text-gray-400 mb-2 px-2",children:l("gallery")||"Gallery"}),(0,t.jsxs)(a.default,{href:`/${M}/prompts`,className:"flex items-center gap-2 px-2 py-2 text-gray-700 dark:text-gray-300 hover:text-primary-600 dark:hover:text-primary-400 rounded-lg transition-all font-medium",onClick:()=>P(!1),children:[(0,t.jsx)(k,{className:"w-4 h-4"}),u("title")]}),(0,t.jsxs)(a.default,{href:`/${M}/nanobanana-pro-prompts`,className:"flex items-center gap-2 px-2 py-2 text-gray-700 dark:text-gray-300 hover:text-purple-600 dar
1k:hover:text-purple-400 rounded-lg transition-all font-medium",onClick:()=>P(!1),children:[(0,t.jsx)(N.Sparkles,{className:"w-4 h-4"}),z("title")]})]}),(0,t.jsx)(a.default,{href:`/${M}#how-it-works`,className:"px-4 py-3 text-gray-700 dark:text-gray-300 blue:text-blue-900 purple:text-purple-900 green:text-green-900 orange:text-orange-900 hover:text-primary-600 dark:hover:text-primary-400 hover:bg-primary-50 dark:hover:bg-primary-900/20 rounded-lg transition-all font-medium",onClick:()=>P(!1),children:l("howItWorks")}),(0,t.jsx)(a.default,{href:`/${M}/pricing`,onClick:()=>P(!1),className:"w-full text-left px-4 py-3 text-gray-700 dark:text-gray-300 blue:text-blue-900 purple:text-purple-900 green:text-green-900 orange:text-orange-900 hover:text-primary-600 dark:hover:text-primary-400 hover:bg-primary-50 dark:hover:bg-primary-900/20 rounded-lg transition-all font-medium",children:l("pricing")}),(0,t.jsx)(a.default,{href:`/${M}#faq`,className:"px-4 py-3 text-gray-700 dark:text-gray-300 blue:text-blue-900 purple:text-purple-900 green:text-green-900 orange:text-orange-900 hover:text-primary-600 dark:hover:text-primary-400 hover:bg-primary-50 dark:hover:bg-primary-900/20 rounded-lg transition-all font-medium",onClick:()=>P(!1),children:l("faq")}),G?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"px-4 py-3 border-t border-gray-200/50 dark:border-gray-700/50",children:(0,t.jsx)("p",{className:"text-sm font-medium text-gray-900 dark:text-white mb-2 truncate",children:G.email})}),(0,t.jsxs)("button",{onClick:()=>{P(!1),window.location.href=`/${M}/profile`},className:"w-full flex items-center gap-2 px-4 py-3 text-gray-700 dark:text-gray-200 hover:bg-primary-50 dark:hover:bg-primary-900/20 rounded-lg transition-all font-medium",children:[(0,t.jsx)(p.User,{className:"w-5 h-5"}),l("profile")]}),(0,t.jsxs)("button",{onClick:()=>{P(!1),window.location.href=`/${M}/my-credits`},className:"w-full flex items-center justify-between px-4 py-3 text-gray-700 dark:text-gray-200 hover:bg-primary-50 dark:hover:bg-primary-900/20 rounded-lg transition-all font-medium",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)(b.Coins,{className:"w-5 h-5 text-yellow-500"}),l("myPoints")]}),(0,t.jsx)("span",{className:"font-mono font-bold text-purple-600 bg-purple-100 dark:bg-purple-900/30 px-2 py-0.5 rounded-full text-xs",children:null!==R?R.toLocaleString():"-"})]}),(0,t.jsxs)("button",{onClick:()=>{P(!1),window.location.href=`/${M}/my-payments`},className:"w-full flex items-center gap-2 px-4 py-3 text-gray-700 dark:text-gray-200 hover:bg-primary-50 dark:hover:bg-primary-900/20 rounded-lg transition-all font-medium",children:[(0,t.jsx)(S.CreditCard,{className:"w-5 h-5"}),l("myPayments")]}),(0,t.jsxs)("button",{onClick:()=>{U(),P(!1)},className:"w-full flex items-center gap-2 px-4 py-3 text-red-600 hover:bg-red-50 dark:hover:bg-red-900/20 rounded-lg transition-all font-medium",children:[(0,t.jsx)(g,{className:"w-5 h-5"}),l("logout")]})]}):(0,t.jsxs)("button",{onClick:()=>{P(!1),T(!0)},className:"mx-4 mt-2 flex items-center justify-center gap-2 px-4 py-3 bg-gradient-to-r from-primary-500 to-purple-500 text-white text-center rounded-lg hover:from-primary-600 hover:to-purple-600 transition-all font-semibold shadow-md",children:[(0,t.jsx)(x,{className:"w-5 h-5"}),l("login")]})]})})]})}),(0,t.jsx)(d.default,{isOpen:I,onClose:()=>E(!1)}),(0,t.jsx)(c.default,{isOpen:_,onClose:()=>T(!1)})]})}e.s(["default",()=>z],92247)},56691,e=>{"use strict";var t=e.i(43476),r=e.i(48148),a=e.i(22016),s=e.i(18566),o=e.i(18986);function l(){let e=(0,r.useTranslations)("footer"),l=(0,r.useTranslations)("Common"),n=(0,s.useParams)().locale;return(0,t.jsx)("footer",{className:"bg-theme-bg-secondary border-t border-theme-border text-theme-text-secondary transition-colors duration-300",children:(0,t.jsxs)("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8 py-12",children:[(0,t.jsxs)("div",{className:"grid grid-cols-4 gap-8 mb-8",children:[(0,t.jsxs)("div",{className:"col-span-1",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2 mb-4",children:[(0,t.jsx)("div",{className:"w-8 h-8 bg-theme-accent rounded-lg flex items-center justify-center",children:(0,t.jsx)("div",{className:"text-white text-2xl",children:"🎮"})}),(0,t.jsx)("span",{className:"text-xl font-bold text-theme-text",children:o.WEBSITE_CONFIG.name})]}),(0,t.jsx)("p",{className:"text-theme-text-secondary mb-4 max-w-md",children:e("description")}),(0,t.jsx)("p",{className:"text-theme-text-secondary text-sm mb-4 max-w-md",children:e("disclaimer")}),(0,t.jsxs)("div",{className:"flex items-center gap-2 text-sm",children:[(0,t.jsx)("svg",{className:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M3 8l7.89 5.26a2 2 0 002.22 0L21 8M5 19h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z"})}),(0,t.jsx)("a",{href:"mailto:[email protected]",className:"hover:text-theme-accent transition-colors",children:"[email protected]"})]})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"text-theme-text font-semibold mb-4",children:e("product")}),(0,t.jsxs)("ul",{className:"space-y-2",children:[(0,t.jsx)("li",{children:(0,t.jsx)(a.default,{href:`/${n}#features`,className:"hover:text-theme-accent transition-colors",children:l("features")})}),(0,t.jsx)("li",{children:(0,t.jsx)(a.default,{href:`/${n}#how-it-works`,className:"hover:text-theme-accent transition-colors",children:l("howItWorks")})}),(0,t.jsx)("li",{children:(0,t.jsx)(a.default,{href:`/${n}#testimonials`,className:"hover:text-theme-accent transition-colors",children:l("testimonials")})}),(0,t.jsx)("li",{children:(0,t.jsx)(a.default,{href:`/${n}/pricing`,className:"hover:text-theme-accent transition-colors",children:l("pricing")})})]})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"text-theme-text font-semibold mb-4",children:l("more")}),(0,t.jsxs)("ul",{className:"space-y-2",children:[(0,t.jsx)("li",{children:(0,t.jsx)(a.default,{href:`/${n}/blog`,className:"hover:text-theme-accent transition-colors",children:l("blog")})}),(0,t.jsx)("li",{children:(0,t.jsx)(a.default,{href:`/${n}/changelog`,className:"hover:text-theme-accent transition-colors",children:l("changelog")})}),(0,t.jsx)("li",{children:(0,t.jsx)(a.default,{href:`/${n}/contact`,className:"hover:text-theme-accent transition-colors",children:l("contact")})})]})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"text-theme-text font-semibold mb-4",children:e("support")}),(0,t.jsxs)("ul",{className:"space-y-2",children:[(0,t.jsx)("li",{children:(0,t.jsx)(a.default,{href:`/${n}/privacy`,className:"hover:text-theme-accent transition-colors",children:e("privacy")})}),(0,t.jsx)("li",{children:(0,t.jsx)(a.default,{href:`/${n}/terms`,className:"hover:text-theme-accent transition-colors",children:e("terms")})})]})]})]}),(0,t.jsx)("div",{className:"border-t border-theme-border pt-8",children:(0,t.jsx)("p",{className:"text-center text-theme-text-secondary text-sm",children:e("copyright")})})]})})}e.s(["default",()=>l])},60333,e=>{"use strict";var t=e.i(43476),r=e.i(71645),a=e.i(37727);let s=(0,e.i(75254).default)("gift",[["rect",{x:"3",y:"8",width:"18",height:"4",rx:"1",key:"bkv52"}],["path",{d:"M12 8v13",key:"1c76mn"}],["path",{d:"M19 12v7a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-7",key:"6wjy6b"}],["path",{d:"M7.5 8a2.5 2.5 0 0 1 0-5A4.8 8 0 0 1 12 8a4.8 8 0 0 1 4.5-5 2.5 2.5 0 0 1 0 5",key:"1ihvrl"}]]);var o=e.i(83086);function l({lang:e="en"}){let[l,n]=(0,r.useState)(!0);if(!l)return null;
1let i={zh:{title:"🎁 新用户注册送50积分!",description:"立即注册即可获得50积分,可用于网站所有付费功能",registerButton:"立即注册",loginButton:"已有账号?登录"},en:{title:"🎁 New Users Get 50 Credits!",description:"Register now and get 50 credits to use for all paid features on the website",registerButton:"Register Now",loginButton:"Have an account? Login"},es:{title:"🎁 ¡Nuevos usuarios reciben 50 créditos!",description:"Regístrate ahora y obtén 50 créditos para usar en todas las funciones de pago del sitio web",registerButton:"Registrarse ahora",loginButton:"¿Ya tienes cuenta? Iniciar sesión"},pt:{title:"🎁 Novos usuários ganham 50 créditos!",description:"Registre-se agora e ganhe 50 créditos para usar em todos os recursos pagos do site",registerButton:"Registrar agora",loginButton:"Já tem conta? Entrar"},fr:{title:"🎁 Les nouveaux utilisateurs reçoivent 50 crédits !",description:"Inscrivez-vous maintenant et obtenez 50 crédits à utiliser pour toutes les fonctionnalités payantes du site",registerButton:"S'inscrire maintenant",loginButton:"Vous avez un compte ? Se connecter"},de:{title:"🎁 Neue Benutzer erhalten 50 Credits!",description:"Registrieren Sie sich jetzt und erhalten Sie 50 Credits für alle kostenpflichtigen Funktionen der Website",registerButton:"Jetzt registrieren",loginButton:"Haben Sie ein Konto? Anmelden"},ru:{title:"🎁 Новые пользователи получают 50 кредитов!",description:"Зарегистрируйтесь сейчас и получите 50 кредитов для использования всех платных функций сайта",registerButton:"Зарегистрироваться",loginButton:"Уже есть аккаунт? Войти"},ar:{title:"🎁 المستخدمون الجدد يحصلون على 50 رصيد!",description:"سجل الآن واحصل على 50 رصيد لاستخدامها في جميع الميزات المدفوعة على الموقع",registerButton:"سجل الآن",loginButton:"لديك حساب؟ تسجيل الدخول"}},d=i[e]||i.en;return(0,t.jsxs)("div",{className:"relative bg-gradient-to-r from-purple-600 via-pink-600 to-red-500 text-white",children:[(0,t.jsx)("div",{className:"absolute inset-0 bg-black/10",children:(0,t.jsx)("div",{className:"absolute inset-0 opacity-20",children:(0,t.jsx)("div",{className:"w-full h-full bg-gradient-to-br from-white/5 to-transparent"})})}),(0,t.jsx)("div",{className:"relative container mx-auto px-3 sm:px-4 py-1.5 sm:py-2",children:(0,t.jsxs)("div",{className:"flex flex-col sm:flex-row sm:items-center sm:justify-between gap-2",children:[(0,t.jsx)("div",{className:"flex items-center gap-2 sm:gap-4 flex-1 min-w-0",children:(0,t.jsxs)("div",{className:"flex items-center gap-2 sm:gap-3",children:[(0,t.jsxs)("div",{className:"relative flex-shrink-0",children:[(0,t.jsx)(s,{className:"w-5 h-5 sm:w-6 sm:h-6 text-yellow-300"}),(0,t.jsx)(o.Sparkles,{className:"w-2.5 h-2.5 sm:w-3 sm:h-3 text-yellow-200 absolute -top-0.5 -right-0.5 animate-pulse"})]}),(0,t.jsx)("div",{className:"flex-1 min-w-0",children:(0,t.jsx)("h3",{className:"text-xs sm:text-base font-bold line-clamp-1",children:d.title})})]})}),(0,t.jsxs)("div",{className:"flex items-center gap-2 sm:gap-3 flex-shrink-0",children:[(0,t.jsx)("a",{href:"/auth?action=register",className:"bg-white text-purple-600 px-3 sm:px-4 py-1 sm:py-1.5 rounded-full text-xs sm:text-sm font-semibold hover:bg-gray-100 transition-colors duration-200 shadow-lg hover:shadow-xl transform hover:scale-105 whitespace-nowrap",rel:"nofollow noopener noreferrer","data-no-prefetch":"true",children:d.registerButton}),(0,t.jsx)("a",{href:"/auth?action=login",className:"hidden sm:inline-block text-white border border-white/30 px-2 sm:px-3 py-1 sm:py-1.5 rounded-full text-xs sm:text-sm font-medium hover:bg-white/10 transition-colors duration-200 whitespace-nowrap",rel:"nofollow noopener noreferrer","data-no-prefetch":"true",children:d.loginButton}),(0,t.jsx)("button",{onClick:()=>n(!1),className:"text-white/70 hover:text-white p-1 rounded-full hover:bg-white/10 transition-colors duration-200 flex-shrink-0","aria-label":"Close banner",children:(0,t.jsx)(a.X,{className:"w-3.5 h-3.5 sm:w-4 sm:h-4"})})]})]})}),(0,t.jsx)("div",{className:"absolute top-2 left-1/4 w-2 h-2 bg-yellow-300 rounded-full animate-ping"}),(0,t.jsx)("div",{className:"absolute bottom-2 right-1/3 w-1 h-1 bg-white rounded-full animate-bounce"}),(0,t.jsx)("div",{className:"absolute top-1/2 left-1/6 w-1.5 h-1.5 bg-pink-200 rounded-full animate-pulse"})]})}e.s(["default",()=>l],60333)},98007,e=>{"use strict";var t=e.i(43476),r=e.i(21373),a=e.i(71645),s=e.i(86311),o=e.i(37727),l=e.i(69074),n=e.i(14764),i=e.i(57688),d=e.i(48148),c=e.i(18986
1);function m(){let e=(0,d.useTranslations)("feedback"),[m,h]=(0,a.useState)(null),[u,x]=(0,a.useState)(!1),[p,g]=(0,a.useState)(!1),[f,b]=(0,a.useState)("idle"),[v,y]=(0,a.useState)({name:"",email:"",message:""}),[w,j]=(0,a.useState)(null),[k,N]=(0,a.useState)(null),C=(0,a.useRef)(null);(0,a.useEffect)(()=>{let e=localStorage.getItem("loggedInUser");if(e)try{let t=JSON.parse(e);h(t),y({name:t.nickname||t.email?.split("@")[0]||"",email:t.email||"",message:""})}catch(e){console.error("Error parsing user data:",e)}},[]);let S=e=>{y({...v,[e.target.name]:e.target.value})},z=()=>{j(null),N(null),C.current&&(C.current.value="")},M=async e=>{e.preventDefault(),g(!0),b("idle");try{let e=new FormData;e.append("name",v.name),e.append("email",v.email),e.append("message",v.message),e.append("product_name",c.WEBSITE_CONFIG.productName),m?.id&&e.append("uid",m.id),w&&e.append("image",w),(await fetch(`${(0,c.getLjsApiDomain)()}/api/feedback`,{method:"POST",body:e})).ok?(b("success"),y({name:m?.nickname||m?.email?.split("@")[0]||"",email:m?.email||"",message:""}),z(),setTimeout(()=>{x(!1),b("idle")},2e3)):b("error")}catch(e){console.error("Error submitting feedback:",e),b("error")}finally{g(!1)}};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"jsx-52471104f44f25f6 fixed right-6 bottom-6 z-50",children:[(0,t.jsxs)("button",{onClick:()=>x(!0),"aria-label":e("tooltip"),className:"jsx-52471104f44f25f6 bg-gradient-to-r from-green-500 to-blue-600 dark:from-green-600 dark:to-blue-700 text-white p-4 rounded-full shadow-2xl hover:shadow-3xl transition-all duration-300 hover:scale-110 group animate-pulse hover:animate-none",children:[(0,t.jsx)(s.MessageSquare,{className:"w-6 h-6 group-hover:rotate-12 transition-transform duration-300"}),(0,t.jsx)("div",{className:"jsx-52471104f44f25f6 absolute inset-0 rounded-full bg-green-400 dark:bg-green-500 opacity-30 animate-ping"}),(0,t.jsx)("div",{className:"jsx-52471104f44f25f6 absolute inset-0 rounded-full bg-blue-400 dark:bg-blue-500 opacity-20 animate-ping animation-delay-300"})]}),(0,t.jsxs)("div",{className:"jsx-52471104f44f25f6 absolute right-full mr-3 top-1/2 transform -translate-y-1/2 bg-gray-800 dark:bg-gray-700 text-white px-3 py-2 rounded-lg text-sm whitespace-nowrap opacity-0 group-hover:opacity-100 transition-opacity duration-300 pointer-events-none",children:[e("tooltip"),(0,t.jsx)("div",{className:"jsx-52471104f44f25f6 absolute left-full top-1/2 transform -translate-y-1/2 w-0 h-0 border-l-4 border-l-gray-800 dark:border-l-gray-700 border-y-4 border-y-transparent"})]})]}),u&&(0,t.jsx)("div",{onClick:()=>x(!1),className:"jsx-52471104f44f25f6 fixed inset-0 z-50 flex items-center justify-center bg-black/50 backdrop-blur-sm",children:(0,t.jsxs)("div",{onClick:e=>e.stopPropagation(),className:"jsx-52471104f44f25f6 bg-[var(--bg-primary)] border border-[var(--border-color)] rounded-2xl p-8 max-w-2xl w-full mx-4 shadow-2xl transform transition-all duration-300 scale-100 max-h-[90vh] overflow-y-auto",children:[(0,t.jsxs)("div",{className:"jsx-52471104f44f25f6 flex items-center justify-between mb-6",children:[(0,t.jsxs)("div",{className:"jsx-52471104f44f25f6",children:[(0,t.jsx)("h3",{className:"jsx-52471104f44f25f6 text-2xl font-bold text-[var(--text-primary)]",children:e("title")}),(0,t.jsx)("p",{className:"jsx-52471104f44f25f6 text-[var(--text-secondary)] mt-1",children:e("subtitle")}),(0,t.jsx)("p",{className:"jsx-52471104f44f25f6 text-sm text-green-600 dark:text-green-400 mt-2 font-medium",children:e("rewardHint")})]}),(0,t.jsx)("button",{onClick:()=>x(!1),className:"jsx-52471104f44f25f6 text-[var(--text-secondary)] hover:text-[var(--text-primary)] p-2 hover:bg-[var(--bg-secondary)] rounded-full transition-colors duration-200",children:(0,t.jsx)(o.X,{className:"w-5 h-5"})})]}),"success"===f&&(0,t.jsx)("div",{className:"jsx-52471104f44f25f6 mb-6 p-4 bg-green-50 dark:bg-green-900/30 border border-green-200 dark:border-green-700 rounded-lg text-green-800 dark:text-green-200",children:(0,t.jsxs)("div",{className:"jsx-52471104f44f25f6 flex items-center space-x-2",children:[(0,t.jsx)("div",{className:"jsx-52471104f44f25f6 w-5 h-5 bg-green-500 dark:bg-green-600 rounded-full flex items-center justify-center",children:(0,t.jsx)("div",{className:"jsx-52471104f44f25f6 w-2 h-2 bg-white rounded-full"})}),(0,t.jsx)("span",{className:"jsx-52471104f44f25f6",children:e("success")})]})}),"error"===f&&(0,t.jsx)("div",{className:"jsx-52471104f44f25f6 mb-6 p-4 bg-red-50 dark:bg-red-900/30 border border-red-200 dark:border-red-700 rounded-lg text-red-800 dark:text-red-200",children:(0,t.jsxs)("div",{className:"jsx-52471104f44f25f6 flex items-center space-x-2",children:[(0,t.jsx)("div",{className:"jsx-52471104f44f25f6 w-5 h-5 bg-red-500 dark:bg-red-600 rounded-full flex items-center justify-center",children:(0,t.jsx)("div",{className:"jsx-52471104f44f25f6 w-2 h-2 bg-white rounded-full"})}),(0,t.jsx)("span",{className:"jsx-52471104f44f25f6",children:e("error")})]})}),(0,t.jsxs)("form",{onSubmit:M,className:"jsx-52471104f44f25f6 space-y-6",children:[(0,t.jsxs)("div",{className:"jsx-52471104f44f25f6",children:[(0,t.jsxs)("label",{htmlFor:"name",className:"jsx-52471104f44f25f6 block text-sm font-medium text-[var(--text-secondary)] mb-2",children:[e("name")," *"]}),(0,t.jsx)("input",{type:"text",id:"name",name:"name",value:v.name,onChange:S,required:!0,placeholder:e("namePlaceholder"),className:"jsx-52471104f44f25f6 w-full px-4 py-3 border border-[var(--border-color)] bg-[var(--bg-secondary)] text-[var(--text-primary)] rounded-lg focus:ring-2 focus:ring-green-500 focus:border-green-500 transition-colors"})]}),(0,t.jsxs)("div",{className:"jsx-52471104f44f25f6",children:[(0,t.jsxs)("label",{htmlFor:"email",className:"jsx-52471104f44f25f6 block text-sm font-medium text-[var(--text-secondary)] mb-2",children:[e("email")," *"]}),(0,t.jsx)("input",{type:"email",id:"email",name:"email",value:v.email,onChange:S,required:!0,placeholder:e("emailPlaceholder"),className:"jsx-52471104f44f25f6 w-full px-4 py-3 border border-[var(--border-color)] bg-[var(--bg-secondary)] text-[var(--text-primary)] rounded-lg focus:ring-2 focus:ring-green-500 focus:border-green-500 transition-colors"})]}),(0,t.jsxs)("div",{className:"jsx-52471104f44f25f6",children:[(0,t.jsxs)("label",{htmlFor:"message",className:"jsx-52471104f44f25f6 block text-sm font-medium text-[var(--text-secondary)] mb-2",children:[e("message")," *"]}),(0,t.jsx)("textarea",{id:"message",name:"message",rows:4,value:v.message,onChange:S,required:!0,placeholder:e("messagePlaceholder"),className:"jsx-52471104f44f25f6 w-full px-4 py-3 border border-[var(--border-color)] bg-[var(--bg-secondary)] text-[var(--text-primary)] rounded-lg focus:ring-2 focus:ring-green-500 focus:border-green-500 transition-colors resize-none"})]}),(0,t.jsxs)("div",{className:"jsx-52471104f44f25f6",children:[(0,t.jsx)("label",{htmlFor:"image",className:"jsx-52471104f44f25f6 block text-sm font-medium text-[var(--text-secondary)] mb-2",children:e("image")}),(0,t.jsxs)("div",{className:"jsx-52471104f44f25f6 space-y-3",children:[(0,t.jsx)("input",{ref:C,type:"file",id:"image",accept:"image/*",onChange:e=>{let t=e.target.files?.[0];if(t){j(t);let e=new FileReader;e.onload=e=>{N(e.target?.result)}
1,e.readAsDataURL(t)}},className:"jsx-52471104f44f25f6 hidden"}),(0,t.jsxs)("button",{type:"button",onClick:()=>C.current?.click(),className:"jsx-52471104f44f25f6 w-full px-4 py-3 border-2 border-dashed border-[var(--border-color)] rounded-lg hover:border-green-500 hover:bg-[var(--bg-secondary)] transition-colors flex items-center justify-center space-x-2 text-[var(--text-secondary)]",children:[(0,t.jsx)(l.Upload,{className:"w-5 h-5"}),(0,t.jsx)("span",{className:"jsx-52471104f44f25f6",children:e("imagePlaceholder")})]}),k&&(0,t.jsxs)("div",{className:"jsx-52471104f44f25f6 relative",children:[(0,t.jsx)("div",{className:"jsx-52471104f44f25f6 w-full h-48 bg-[var(--bg-secondary)] rounded-lg overflow-hidden",children:(0,t.jsx)(i.default,{src:k,alt:"Preview",width:400,height:200,className:"w-full h-full object-cover"})}),(0,t.jsx)("button",{type:"button",onClick:z,className:"jsx-52471104f44f25f6 absolute top-2 right-2 bg-red-500 text-white p-1 rounded-full hover:bg-red-600 transition-colors",children:(0,t.jsx)(o.X,{className:"w-4 h-4"})})]})]})]}),(0,t.jsx)("button",{type:"submit",disabled:p,className:"jsx-52471104f44f25f6 w-full bg-gradient-to-r from-green-500 to-blue-600 dark:from-green-600 dark:to-blue-700 text-white py-3 px-6 rounded-lg font-semibold hover:from-green-600 hover:to-blue-700 dark:hover:from-green-700 dark:hover:to-blue-800 disabled:opacity-50 disabled:cursor-not-allowed flex items-center justify-center space-x-2 transition-all duration-200",children:p?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"jsx-52471104f44f25f6 w-5 h-5 border-2 border-white border-t-transparent rounded-full animate-spin"}),(0,t.jsx)("span",{className:"jsx-52471104f44f25f6",children:e("submitting")})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.Send,{className:"w-5 h-5"}),(0,t.jsx)("span",{className:"jsx-52471104f44f25f6",children:e("submit")})]})})]})]})}),(0,t.jsx)(r.default,{id:"52471104f44f25f6",children:".animation-delay-300.jsx-52471104f44f25f6{animation-delay:.3s}"})]})}e.s(["default",()=>m])},14981,e=>{"use strict";var t=e.i(43476),r=e.i(71645),a=e.i(48148),s=e.i(86311),o=e.i(75254);let l=(0,o.default)("minus",[["path",{d:"M5 12h14",key:"1ays0h"}]]);var n=e.i(14764);let i=(0,o.default)("thumbs-up",[["path",{d:"M15 5.88 14 10h5.83a2 2 0 0 1 1.92 2.56l-2.33 8A2 2 0 0 1 17.5 22H4a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2h2.76a2 2 0 0 0 1.79-1.11L12 2a3.13 3.13 0 0 1 3 3.88Z",key:"emmmcr"}],["path",{d:"M7 10v12",key:"1qc93n"}]]),d=(0,o.default)("thumbs-down",[["path",{d:"M9 18.12 10 14H4.17a2 2 0 0 1-1.92-2.56l2.33-8A2 2 0 0 1 6.5 2H20a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-2.76a2 2 0 0 0-1.79 1.11L12 22a3.13 3.13 0 0 1-3-3.88Z",key:"m61m77"}],["path",{d:"M17 14V2",key:"8ymqnk"}]]);var c=e.i(69074),m=e.i(37727),h=e.i(57688);let u=(e,t)=>{if(0===e.length)return t.classGroupId;let r=e[0],a=t.nextPart.get(r),s=a?u(e.slice(1),a):void 0;if(s)return s;if(0===t.validators.length)return;let o=e.join("-");return t.validators.find(({validator:e})=>e(o))?.classGroupId},x=/^\[(.+)\]$/,p=(e,t,r,a)=>{e.forEach(e=>{if("string"==typeof e){(""===e?t:g(t,e)).classGroupId=r;return}"function"==typeof e?f(e)?p(e(a),t,r,a):t.validators.push({validator:e,classGroupId:r}):Object.entries(e).forEach(([e,s])=>{p(s,g(t,e),r,a)})})},g=(e,t)=>{let r=e;return t.split("-").forEach(e=>{r.nextPart.has(e)||r.nextPart.set(e,{nextPart:new Map,validators:[]}),r=r.nextPart.get(e)}),r},f=e=>e.isThemeGetter,b=(e,t)=>t?e.map(([e,r])=>[e,r.map(e=>"string"==typeof e?t+e:"object"==typeof e?Object.fromEntries(Object.entries(e).map(([e,r])=>[t+e,r])):e)]):e,v=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(e=>{"["===e[0]?(t.push(...r.sort(),e),r=[]):r.push(e)}),t.push(...r.sort()),t},y=/\s+/;function w(){let e,t,r=0,a="";for(;r<arguments.length;)(e=arguments[r++])&&(t=j(e))&&(a&&(a+=" "),a+=t);return a}let j=e=>{let t;if("string"==typeof e)return e;let r="";for(let a=0;a<e.length;a++)e[a]&&(t=j(e[a]))&&(r&&(r+=" "),r+=t);return r},k=e=>{let t=t=>t[e]||[];return t.isThemeGetter=!0,t},N=/^\[(?:([a-z-]+):)?(.+)\]$/i,C=/^\d+\/\d+$/,S=new Set(["px","full","screen"]),z=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,M=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,$=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,P=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,I=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,E=e=>T(e)||S.has(e)||C.test(e),_=e=>V(e,"length",J),T=e=>!!e&&!Number.isNaN(Number(e)),L=e=>V(e,"number",T),B=e=>!!e&&Number.isInteger(Number(e)),F=e=>e.endsWith("%")&&T(e.slice(0,-1)),A=e=>N.test(e),G=e=>z.test(e),O=new Set(["length","size","percentage"]),R=e=>V(e,O,X),q=e=>V(e,"position",X),U=new Set(["image","url"]),W=e=>V(e,U,K),D=e=>V(e,"",Y),H=()=>!0,V=(e,t,r)=>{let a=N.exec(e);return!!a&&(a[1]?"string"==typeof t?a[1]===t:t.has(a[1]):r(a[2]))},J=e=>M.test(e)&&!$.test(e),X=()=>!1,Y=e=>P.test(e),K=e=>I.test(e),Z=function(e,...t){let r,a,s,o=function(n){let i;return a=(r={cache:(e=>{if(e<1)return{get:()=>void 0,set:()=>{}};let t=0,r=new Map,a=new Map,s=(s,o)=>{r.set(s,o),++t>e&&(t=0,a=r,r=new Map)};return{get(e){let t=r.get(e);return void 0!==t?t:void 0!==(t=a.get(e))?(s(e,t),t):void 0},set(e,t){r.has(e)?r.set(e,t):s(e,t)}}})((i=t.reduce((e,t)=>
1t(e),e())).cacheSize),parseClassName:(e=>{let{separator:t,experimentalParseClassName:r}=e,a=1===t.length,s=t[0],o=t.length,l=e=>{let r,l=[],n=0,i=0;for(let d=0;d<e.length;d++){let c=e[d];if(0===n){if(c===s&&(a||e.slice(d,d+o)===t)){l.push(e.slice(i,d)),i=d+o;continue}if("/"===c){r=d;continue}}"["===c?n++:"]"===c&&n--}let d=0===l.length?e:e.substring(i),c=d.startsWith("!"),m=c?d.substring(1):d;return{modifiers:l,hasImportantModifier:c,baseClassName:m,maybePostfixModifierPosition:r&&r>i?r-i:void 0}};return r?e=>r({className:e,parseClassName:l}):l})(i),...(e=>{let t=(e=>{let{theme:t,prefix:r}=e,a={nextPart:new Map,validators:[]};return b(Object.entries(e.classGroups),r).forEach(([e,r])=>{p(r,a,e,t)}),a})(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:a}=e;return{getClassGroupId:e=>{let r=e.split("-");return""===r[0]&&1!==r.length&&r.shift(),u(r,t)||(e=>{if(x.test(e)){let t=x.exec(e)[1],r=t?.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}})(e)},getConflictingClassGroupIds:(e,t)=>{let s=r[e]||[];return t&&a[e]?[...s,...a[e]]:s}}})(i)}).cache.get,s=r.cache.set,o=l,l(n)};function l(e){let t=a(e);if(t)return t;let o=((e,t)=>{let{parseClassName:r,getClassGroupId:a,getConflictingClassGroupIds:s}=t,o=[],l=e.trim().split(y),n="";for(let e=l.length-1;e>=0;e-=1){let t=l[e],{modifiers:i,hasImportantModifier:d,baseClassName:c,maybePostfixModifierPosition:m}=r(t),h=!!m,u=a(h?c.substring(0,m):c);if(!u){if(!h||!(u=a(c))){n=t+(n.length>0?" "+n:n);continue}h=!1}let x=v(i).join(":"),p=d?x+"!":x,g=p+u;if(o.includes(g))continue;o.push(g);let f=s(u,h);for(let e=0;e<f.length;++e){let t=f[e];o.push(p+t)}n=t+(n.length>0?" "+n:n)}return n})(e,r);return s(e,o),o}return function(){return o(w.apply(null,arguments))}}(()=>{let e=k("colors"),t=k("spacing"),r=k("blur"),a=k("brightness"),s=k("borderColor"),o=k("borderRadius"),l=k("borderSpacing"),n=k("borderWidth"),i=k("contrast"),d=k("grayscale"),c=k("hueRotate"),m=k("invert"),h=k("gap"),u=k("gradientColorStops"),x=k("gradientColorStopPositions"),p=k("inset"),g=k("margin"),f=k("opacity"),b=k("padding"),v=k("saturate"),y=k("scale"),w=k("sepia"),j=k("skew"),N=k("space"),C=k("translate"),S=()=>["auto","contain","none"],z=()=>["auto","hidden","clip","visible","scroll"],M=()=>["auto",A,t],$=()=>[A,t],P=()=>["",E,_],I=()=>["auto",T,A],O=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],U=()=>["solid","dashed","dotted","double","none"],V=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],J=()=>["start","end","center","between","around","evenly","stretch"],X=()=>["","0",A],Y=()=>["auto","avoid","all","avoid-page","page","left","right","column"],K=()=>[T,A];return{cacheSize:500,separator:":",theme:{colors:[H],spacing:[E,_],blur:["none","",G,A],brightness:K(),borderColor:[e],borderRadius:["none","","full",G,A],borderSpacing:$(),borderWidth:P(),contrast:K(),grayscale:X(),hueRotate:K(),invert:X(),gap:$(),gradientColorStops:[e],gradientColorStopPositions:[F,_],inset:M(),margin:M(),opacity:K(),padding:$(),saturate:K(),scale:K(),sepia:X(),skew:K(),space:$(),translate:$()},classGroups:{aspect:[{aspect:["auto","square","video",A]}],container:["container"],columns:[{columns:[G]}],"break-after":[{"break-after":Y()}],"break-before":[{"break-before":Y()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...O(),A]}],overflow:[{overflow:z()}],"overflow-x":[{"overflow-x":z()}],"overflow-y":[{"overflow-y":z()}],overscroll:[{overscroll:S()}],"overscroll-x":[{"overscroll-x":S()}],"overscroll-y":[{"overscroll-y":S()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[p]}],"inset-x":[{"inset-x":[p]}],"inset-y":[{"inset-y":[p]}],start:[{start:[p]}],end:[{end:[p]}],top:[{top:[p]}
vendor: 9,885 bytes, line 1
1],right:[{right:[p]}],bottom:[{bottom:[p]}],left:[{left:[p]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",B,A]}],basis:[{basis:M()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",A]}],grow:[{grow:X()}],shrink:[{shrink:X()}],order:[{order:["first","last","none",B,A]}],"grid-cols":[{"grid-cols":[H]}],"col-start-end":[{col:["auto",{span:["full",B,A]},A]}],"col-start":[{"col-start":I()}],"col-end":[{"col-end":I()}],"grid-rows":[{"grid-rows":[H]}],"row-start-end":[{row:["auto",{span:[B,A]},A]}],"row-start":[{"row-start":I()}],"row-end":[{"row-end":I()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",A]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",A]}],gap:[{gap:[h]}],"gap-x":[{"gap-x":[h]}],"gap-y":[{"gap-y":[h]}],"justify-content":[{justify:["normal",...J()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...J(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...J(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[b]}],px:[{px:[b]}],py:[{py:[b]}],ps:[{ps:[b]}],pe:[{pe:[b]}],pt:[{pt:[b]}],pr:[{pr:[b]}],pb:[{pb:[b]}],pl:[{pl:[b]}],m:[{m:[g]}],mx:[{mx:[g]}],my:[{my:[g]}],ms:[{ms:[g]}],me:[{me:[g]}],mt:[{mt:[g]}],mr:[{mr:[g]}],mb:[{mb:[g]}],ml:[{ml:[g]}],"space-x":[{"space-x":[N]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[N]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",A,t]}],"min-w":[{"min-w":[A,t,"min","max","fit"]}],"max-w":[{"max-w":[A,t,"none","full","min","max","fit","prose",{screen:[G]},G]}],h:[{h:[A,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[A,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[A,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[A,t,"auto","min","max","fit"]}],"font-size":[{text:["base",G,_]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",L]}],"font-family":[{font:[H]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",A]}],"line-clamp":[{"line-clamp":["none",T,L]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",E,A]}],"list-image":[{"list-image":["none",A]}],"list-style-type":[{list:["none","disc","decimal",A]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[f]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[f]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...U(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",E,_]}],"underline-offset":[{"underline-offset":["auto",E,A]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:$()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",A]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",A]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[f]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...O(),q]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",R]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},W]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[x]}],"gradient-via-pos":[{via:[x]}],"gradient-to-pos":[{to:[x]}],"gradient-from":[{from:[u]}],"gradient-via":[{via:[u]}],"gradient-to":[{to:[u]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[n]}],"border-w-x":[{"border-x":[n]}],"border-w-y":[{"border-y":[n]}],"border-w-s":[{"border-s":[n]}],"border-w-e":[{"border-e":[n]}],"border-w-t":[{"border-t":[n]}],"border-w-r":[{"border-r":[n]}],"border-w-b":[{"border-b":[n]}],"border-w-l":[{"border-l":[n]}],"border-opacity":[{"border-opacity":[f]}],"border-style":[{border:[...U(),"hidden"]}],"divide-x":[{"divide-x":[n]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[n]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[f]}],"divide-style":[{divide:U()}],"border-color":[{border:[s]}],"border-color-x":[{"border-x":[s]}],"border-color-y":[{"border-y":[s]}],"border-color-s":[{"border-s":[s]}],"border-color-e":[{"border-e":[s]}],"border-color-t":[{"border-t":[s]}],"border-color-r":[{"border-r":[s]}],"border-color-b":[{"border-b":[s]}],"border-color-l":[{"border-l":[s]}],"divide-color":[{divide:[s]}],"outline-style":[{outline:["",...U()]}],"outline-offset":[{"outline-offset":[E,A]}],"outline-w":[{outline:[E,_]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:P()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[f]}],"ring-offset-w":[{"ring-offset":[E,_]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",G,D]}],"shadow-color":[{shadow:[H]}],opacity:[{opacity:[f]}],"mix-blend":[{"mix-blend":[...V(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":V()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[a]}],contrast:[{contrast:[i]}],"drop-shadow":[{"drop-shadow":["","none",G,A]}],grayscale:[{grayscale:[d]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[m]}],saturate:[{saturate:[v]}],sepia:[{sepia:[w]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[a]}],"backdrop-contrast":[{"backdrop-contrast":[i]}],"backdrop-grayscale":[{"backdrop-grayscale":[d]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[c]}],"backdrop-invert":[{"backdrop-invert":[m]}],"backdrop-opacity":[{"backdrop-opacity":[f]}],"backdrop-saturate":[{"backdrop-saturate":[v]}],"backdrop-sepia":[{"backdrop-sepia":[w]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[l]}],"border-spacing-x":[{"border-spacing-x":[l]}],"border-spacing-y":[{"border-spacing-y":[l]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",A]}],duration:[{duration:K()}],ease:[{ease:["linear","in","out","in-out",A]}],delay:[{delay:K()}],animate:[{animate:["none","spin","ping","pulse","bounce",A]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[y]}],"scale-x":[{"scale-x":[y]}],"scale-y":[{"scale-y":[y]}],rotate:[{rotate:[B,A]}],"translate-x":[{"translate-x":[C]}],"translate-y":[{"translate-y":[C]}],"skew-x":[{"skew-x":[j]}],"skew-y":[{"skew-y":[j]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",A]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",A]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":$()}],"scroll-mx":[{"scroll-mx":$()}],"scroll-my":[{"scroll-my":$()}],"scroll-ms":[{"scroll-ms":$()}],"scroll-me":[{"scroll-me":$()}],"scroll-mt":[{"scroll-mt":$()}],"scroll-mr":[{"scroll-mr":$()}],"scroll-mb":[{"scroll-mb":$()}],"scroll-ml":[{"scroll-ml":$()}],"scroll-p":[{"scroll-p":$()}],"scroll-px":[{"scroll-px":$()}],"scroll-py":[{"scroll-py":$()}],"scroll-ps":[{"scroll-ps":$()}],"scroll-pe":[{"scroll-pe":$()}],"scroll-pt":[{"scroll-pt":$()}],"scroll-pr":[{"scroll-pr":$()}],"scroll-pb":[{"scroll-pb":$()}],"scroll-pl":[{"scroll-pl":$()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}
1],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",A]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[E,_,L]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}});var Q=e.i(18986);function ee(...e){return Z(function(){for(var e,t,r=0,a="",s=arguments.length;r<s;r++)(e=arguments[r])&&(t=function e(t){var r,a,s="";if("string"==typeof t||"number"==typeof t)s+=t;else if("object"==typeof t)if(Array.isArray(t)){var o=t.length;for(r=0;r<o;r++)t[r]&&(a=e(t[r]))&&(s&&(s+=" "),s+=a)}else for(a in t)t[a]&&(s&&(s+=" "),s+=a);return s}(e))&&(a&&(a+=" "),a+=t);return a}(e))}function et(){let e=(0,a.useTranslations)("feedbackWidget"),[o,u]=(0,r.useState)(!1),[x,p]=(0,r.useState)(null),[g,f]=(0,r.useState)(""),[b,v]=(0,r.useState)(!1),[y,w]=(0,r.useState)(!1),[j,k]=(0,r.useState)(null),[N,C]=(0,r.useState)(null),S=(0,r.useRef)(null),[z,M]=(0,r.useState)(null),[$,P]=(0,r.useState)(""),[I,E]=(0,r.useState)("");(0,r.useEffect)(()=>{let e=localStorage.getItem("loggedInUser");if(e)try{let t=JSON.parse(e);M(t)}catch(e){console.error("Error parsing user data:",e)}},[]);let _=()=>{k(null),C(null),S.current&&(S.current.value="")},T=async e=>{if(e.preventDefault(),x){v(!0);try{let e=new FormData,t=`${"satisfied"===x?"[Satisfied]":"[Dissatisfied]"} ${g}`;e.append("name",$||z?.nickname||"Guest"),e.append("email",I||z?.email||"[email protected]"),e.append("message",t),e.append("product_name",Q.WEBSITE_CONFIG.productName||"gamehub"),z?.id&&e.append("uid",z.id),j&&e.append("image",j),(await fetch(`${(0,Q.getLjsApiDomain)()}/api/feedback`,{method:"POST",body:e})).ok?(w(!0),setTimeout(()=>{u(!1),w(!1),p(null),f(""),P(""),E(""),_()},2e3)):console.error("Feedback submission failed")}catch(e){console.error("Error submitting feedback:",e)}finally{v(!1)}}};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("button",{onClick:()=>u(!0),className:ee("fixed right-0 top-1/2 -translate-y-1/2 z-[90] bg-indigo-600/90 hover:bg-indigo-500 backdrop-blur-sm text-white p-3 rounded-l-xl shadow-[0_0_15px_rgba(79,70,229,0.5)] border-y border-l border-white/10 transition-all duration-500 group flex items-center gap-2",o?"translate-x-full opacity-0 pointer-events-none":"translate-x-0 opacity-100"),"aria-label":e("maximize"),title:e("maximize"),children:[(0,t.jsx)(s.MessageSquare,{className:"w-5 h-5 drop-shadow-md"}),(0,t.jsx)("span",{className:"max-w-0 overflow-hidden group-hover:max-w-xs transition-all duration-500 font-medium whitespace-nowrap opacity-0 group-hover:opacity-100",children:e("maximize")})]}),(0,t.jsxs)("div",{className:ee("fixed right-6 top-1/2 -translate-y-1/2 z-[100] w-80 rounded-2xl overflow-hidden flex flex-col items-center p-6 transition-all duration-500 cubic-bezier(0.4, 0, 0.2, 1) max-h-[90vh] overflow-y-auto custom-scrollbar","bg-[#1a1a40]/95 backdrop-blur-xl border border-white/10 shadow-[0_0_30px_rgba(0,0,0,0.5)]",o?"translate-x-0 opacity-100":"translate-x-[120%] opacity-0 pointer-events-none"),children:[(0,t.jsxs)("div",{className:"w-full flex justify-between items-center mb-6",children:[(0,t.jsxs)("h3",{className:"text-lg font-bold text-white flex items-center gap-2 drop-shadow-md",children:[(0,t.jsx)(s.MessageSquare,{className:"w-5 h-5 text-indigo-400"}),e("title")]}),(0,t.jsx)("button",{onClick:()=>u(!1),className:"p-1.5 rounded-lg hover:bg-white/10 text-white/60 hover:text-white transition-colors",title:e("minimize"),children:(0,t.jsx)(l,{className:"w-5 h-5"})})]}),y?(0,t.jsxs)("div",{className:"flex flex-col items-center justify-center py-8 text-center transition-all duration-300 animate-pulse",children:[(0,t.jsx)("div",{className:"w-16 h-16 bg-green-500/20 rounded-full flex items-center justify-center mb-4 text-green-400 shadow-[0_0_20px_rgba(74,222,128,0.3)] border border-green-500/30",children:(0,t.jsx)(n.Send,{className:"w-8 h-8"})}),(0,t.jsx)("p",{className:"text-lg font-bold text-white mb-1 drop-shadow-sm",children:e("thankYou")}),(0,t.jsx)("p",{className:"text-sm text-white/60",children:e("success")})]}):(0,t.jsxs)("form",{onSubmit:T,className:"w-full space-y-5",children:[(0,t.jsxs)("div",{className:"grid grid-cols-2 gap-4",children:[(0,t.jsxs)("button",{type:"button",onClick:()=>p("satisfied"),className:ee("group relative flex flex-col items-center justify-center p-4 rounded-xl border-2 transition-all duration-300","satisfied"===x?"border-green-500 bg-green-500/20 shadow-[0_0_20px_rgba(34,197,94,0.3)] scale-[1.02]":"border-white/10 bg-white/5 hover:bg-white/10 hover:border-green-500/50 hover:shadow-[0_0_15px_rgba(34,197,94,0.2)]"),children:[(0,t.jsx)("div",{className:ee("p-3 rounded-full mb-2 transition-all duration-300","satisfied"===x?"bg-green-500 text-white":"bg-white/10 text-white/70 group-hover:bg-green-500 group-hover:text-white"),children:(0,t.jsx)(i,{className:"w-6 h-6"})}),(0,t.jsx)("span",{className:ee("text-sm font-bold transition-colors","satisfied"===x?"text-green-400":"text-white/70 group-hover:text-green-400"),children:e("satisfied")})]}),(0,t.jsxs)("button",{type:"button",onClick:()=>p("dissatisfied"),className:ee("group relative flex flex-col items-center justify-center p-4 rounded-xl border-2 transition-all duration-300","dissatisfied"===x?"border-orange-500 bg-orange-500/20 shadow-[0_0_20px_rgba(249,115,22,0.3)] scale-[1.02]":"border-white/10 bg-white/5 hover:bg-white/10 hover:border-orange-500/50 hover:shadow-[0_0_15px_rgba(249,115,22,0.2)]"),children:[(0,t.jsx)("div",{className:ee("p-3 rounded-full mb-2 transition-all duration-300","dissatisfied"===x?"bg-orange-500 text-white":"bg-white/10 text-white/70 group-hover:bg-orange-500 group-hover:text-white"),children:(0,t.jsx)(d,{className:ee("w-6 h-6","dissatisfied"===x&&"fill-current")})}),(0,t.jsx)("span",{className:ee("text-sm font-bold transition-colors","dissatisfied"===x?"text-orange-400":"text-white/70 group-hover:text-orange-400"),children:e("dissatisfied")})]})]}),(0,t.jsxs)("div",{className:`h-6 text-center transition-all duration-300 ${x?"opacity-100 transform translate-y-0":"opacity-0 transform translate-y-2"}`,children:["satisfied"===x&&(0,t.jsx)("span",{className:"text-xs font-bold px-3 py-1 bg-green-500/20 text-green-300 rounded-full inline-block border border-green-500/20",children:"✨ Glad you like it!"}),"dissatisfied"===x&&(0,t.jsx)("span",{className:"text-xs font-bold px-3 py-1 bg-orange-500/20 text-orange-300 rounded-full inline-block border border-orange-500/20",children:"👂 We are listening"})]}),(0,t.jsx)("div",{className:"relative group",children:(0,t.jsx)("textarea",{value:g,onChange:e=>f(e.target.value),placeholder:e("reasonPlaceholder"),className:"w-full p-4 rounded-xl border border-white/10 bg-black/20 text-white text-sm focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:bg-black/40 transition-all resize-none h-24 placeholder:text-white/30 group-hover:border-white/20"})}),(0,t.jsxs)("div",{className:"w-full",children:[(0,t.jsx)("input",{ref:S,type:"file",id:"image",accept:"image/*",onChange:e=>{let t=e.target.files?.[0];if(t){k(t);let e=new FileReader;e.onload=e=>{C(e.target?.result)}
1,e.readAsDataURL(t)}},className:"hidden"}),N?(0,t.jsxs)("div",{className:"relative w-full rounded-lg overflow-hidden bg-black/30 border border-white/10",children:[(0,t.jsx)("div",{className:"relative h-32 w-full",children:(0,t.jsx)(h.default,{src:N,alt:"Preview",fill:!0,className:"object-cover",unoptimized:!0})}),(0,t.jsx)("button",{type:"button",onClick:_,className:"absolute top-2 right-2 p-1.5 bg-red-500/80 hover:bg-red-500 rounded-full text-white transition-colors backdrop-blur-sm shadow-sm",children:(0,t.jsx)(m.X,{className:"w-3 h-3"})})]}):(0,t.jsxs)("button",{type:"button",onClick:()=>S.current?.click(),className:"w-full py-2 border-2 border-dashed border-white/10 hover:border-indigo-500/50 bg-white/5 hover:bg-white/10 rounded-lg text-white/50 hover:text-white transition-all duration-200 flex items-center justify-center gap-2 text-sm group",children:[(0,t.jsx)(c.Upload,{className:"w-4 h-4 group-hover:text-indigo-400 transition-colors"}),(0,t.jsx)("span",{children:"Upload Image (Optional)"})]})]}),(0,t.jsxs)("div",{className:"w-full space-y-3",children:[(0,t.jsx)("div",{className:"relative group",children:(0,t.jsx)("input",{type:"text",value:$,onChange:e=>P(e.target.value),placeholder:e("namePlaceholder")||"Your Name (Optional)",className:"w-full p-3 rounded-xl border border-white/10 bg-black/20 text-white text-sm focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:bg-black/40 transition-all placeholder:text-white/30 group-hover:border-white/20"})}),(0,t.jsx)("div",{className:"relative group",children:(0,t.jsx)("input",{type:"email",value:I,onChange:e=>E(e.target.value),placeholder:e("emailPlaceholder")||"Your Email (Optional)",className:"w-full p-3 rounded-xl border border-white/10 bg-black/20 text-white text-sm focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:bg-black/40 transition-all placeholder:text-white/30 group-hover:border-white/20"})})]}),(0,t.jsx)("button",{type:"submit",disabled:!x||b,className:ee("w-full py-3 rounded-xl font-bold text-white shadow-lg transition-all duration-200 flex items-center justify-center gap-2",x?"bg-gradient-to-r from-indigo-600 to-purple-600 hover:from-indigo-500 hover:to-purple-500 hover:shadow-[0_0_20px_rgba(99,102,241,0.4)] hover:-translate-y-0.5 active:translate-y-0 active:scale-95":"bg-white/10 cursor-not-allowed text-white/30"),children:b?(0,t.jsx)("div",{className:"w-5 h-5 border-2 border-white/30 border-t-white rounded-full animate-spin"}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{children:e("submit")}),(0,t.jsx)(n.Send,{className:"w-4 h-4"})]})})]})]})]})}e.s(["default",()=>et],14981)},43075,e=>{"use strict";var t=e.i(43476),r=e.i(18566);function a({children:e}){let a=(0,r.usePathname)(),s=(0,r.useParams)().locale;return a!==`/${s}`&&a!==`/${s}/`?null:(0,t.jsx)(t.Fragment,{children:e})}e.s(["default",()=>a])},36441,e=>{"use strict";var t=e.i(43476),r=e.i(71645),a=e.i(46932),s=e.i(88653),o=e.i(37727),l=e.i(69638),n=e.i(63209),i=e.i(75254);let d=(0,i.default)("info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]),c=(0,i.default)("triangle-alert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]),m=({toast:e,onClose:s})=>{(0,r.useEffect)(()=>{let t=setTimeout(()=>{s(e.id)},e.duration||3e3);return()=>clearTimeout(t)},[e.id,e.duration,s]);let i={success:(0,t.jsx)(l.CheckCircle,{className:"w-5 h-5"}),error:(0,t.jsx)(n.AlertCircle,{className:"w-5 h-5"}),info:(0,t.jsx)(d,{className:"w-5 h-5"}),warning:(0,t.jsx)(c,{className:"w-5 h-5"})};return(0,t.jsxs)(a.motion.div,{initial:{opacity:0,y:-20,scale:.95},animate:{opacity:1,y:0,scale:1},exit:{opacity:0,x:100,scale:.95},transition:{duration:.2},className:`
2        flex items-center gap-3 px-4 py-3 rounded-lg shadow-lg
3        backdrop-blur-sm min-w-[300px] max-w-[500px]
4        ${{success:"bg-green-500/90 dark:bg-green-600/90 text-white",error:"bg-red-500/90 dark:bg-red-600/90 text-white",info:"bg-blue-500/90 dark:bg-blue-600/90 text-white",warning:"bg-yellow-500/90 dark:bg-yellow-600/90 text-white"}[e.type]}
5      `,children:[(0,t.jsx)("div",{className:"flex-shrink-0",children:i[e.type]}),(0,t.jsx)("div",{className:"flex-1 text-sm font-medium",children:e.message}),(0,t.jsx)("button",{onClick:()=>s(e.id),className:"flex-shrink-0 hover:opacity-70 transition-opacity","aria-label":"Close",children:(0,t.jsx)(o.X,{className:"w-4 h-4"})})]})},h=({toasts:e,onClose:r})=>(0,t.jsx)("div",{className:"fixed top-4 right-4 z-[9999] flex flex-col gap-2",children:(0,t.jsx)(s.AnimatePresence,{mode:"popLayout",children:e.map(e=>(0,t.jsx)(m,{toast:e,onClose:r},e.id))})}),u=(0,r.createContext)(void 0);e.s(["ToastProvider",0,({children:e})=>{let[a,s]=(0,r.useState)([]),o=(0,r.useCallback)((e,t="info",r=3e3)=>{let a={id:Math.random().toString(36).substring(2,9),message:e,type:t,duration:r};s(e=>[...e,a])},[]),l=(0,r.useCallback)((e,t=3e3)=>{o(e,"success",t)},[o]),n=(0,r.useCallback)((e,t=3e3)=>{o(e,"error",t)},[o]),i=(0,r.useCallback)((e,t=3e3)=>{o(e,"info",t)},[o]),d=(0,r.useCallback)((e,t=3e3)=>{o(e,"warning",t)},[o]),c=(0,r.useCallback)(e=>{s(t=>t.filter(t=>t.id!==e))},[]);return(0,t.jsxs)(u.Provider,{value:{showToast:o,success:l,error:n,info:i,warning:d},children:[e,(0,t.jsx)(h,{toasts:a,onClose:c})]})},"useToast",0,()=>{let e=(0,r.useContext)(u);if(!e)throw Error("useToast must be used within a ToastProvider");return e}],36441)}]);

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.