PageSourceSearch

https://kunya.jp/_next/static/chunks/6262faddf4cc57ca.js

js kunya.jp collected 2026-10-08 22:16:58 UTC 34,006 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,139130,e=>{"use strict";let a=(0,e.i(274420).default)("ShoppingBag",[["path",{d:"M6 2 3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4Z",key:"hou9p0"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M16 10a4 4 0 0 1-8 0",key:"1ltviw"}]]);e.s(["ShoppingBag",()=>a],139130)},681204,e=>{"use strict";var a=e.i(766217),t=e.i(121795),s=e.i(737015),r=e.i(985902),l=e.i(435748),o=e.i(301014),n=e.i(67540),i=e.i(505346),c=e.i(272848),d=e.i(836584),x=e.i(621313),h=e.i(385195),m=e.i(409093),u=e.i(248326),g=e.i(336564),b=e.i(109642),p=e.i(179928),f=e.i(634598),v=e.i(845273),y=e.i(710771),j=e.i(139130);e.i(663165);var w=e.i(307191),N=e.i(987134),F=e.i(833912),k=e.i(484484);let A="kunya.gpt6AstraPromo.dismissed";function C({isLoggedIn:e=!1,variant:r="dark"}){let{t:l}=(0,w.useTranslation)(),[n,i]=(0,t.useState)(!1);if((0,t.useEffect)(()=>{try{if("1"===localStorage.getItem(A))return}catch{}i(!0)},[]),!n)return null;let c="light"===r,d=c?"text-gray-600":"text-gray-300";return(0,a.jsx)("div",{className:`relative z-[60] border-b ${c?"border-[#10A37F]/25 bg-gradient-to-r from-[#10A37F]/12 via-white to-[#34D399]/10":"border-[#10A37F]/20 bg-gradient-to-r from-[#10A37F]/10 via-[#1e1e1e] to-[#34D399]/10"}`,role:"status","aria-live":"polite","aria-label":l("gpt6AstraPromo.ariaLabel"),children:(0,a.jsxs)("div",{className:"container mx-auto px-4 py-2.5",children:[(0,a.jsxs)("div",{className:"flex items-center gap-3 md:gap-4",children:[(0,a.jsx)("div",{className:`hidden sm:flex p-1.5 rounded-full shrink-0 ${c?"bg-[#10A37F]/15":"bg-[#10A37F]/20"}`,children:(0,a.jsx)("img",{src:"/KunyaLogo.png",alt:"Kunya",className:"h-5 w-5"})}),(0,a.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,a.jsxs)("div",{className:"flex flex-wrap items-center gap-x-2 gap-y-1",children:[(0,a.jsx)("span",{className:`inline-flex px-2 py-0.5 rounded-full text-[10px] font-semibold uppercase tracking-wide ${c?"bg-[#10A37F]/15 text-[#047857]":"bg-[#10A37F]/20 text-[#6EE7B7]"}`,children:l("gpt6AstraPromo.badge")}),(0,a.jsx)("p",{className:`text-xs md:text-sm font-medium ${c?"text-gray-900":"text-white"}`,children:l("gpt6AstraPromo.message")})]}),(0,a.jsx)("p",{className:`hidden md:block text-xs mt-0.5 ${d}`,children:l("gpt6AstraPromo.subtitle")})]}),(0,a.jsxs)(s.default,{href:e?"/dashboard/chat?model=gpt-6-astra":"/pricing",className:"inline-flex items-center gap-1.5 shrink-0 rounded-md bg-[#10A37F] hover:bg-[#0D8C6C] text-white text-xs md:text-sm font-semibold px-3 py-1.5 transition-colors",children:[l(e?"gpt6AstraPromo.cta":"gpt6AstraPromo.ctaGuest"),(0,a.jsx)(k.ArrowRight,{className:"h-3.5 w-3.5"})]}),(0,a.jsx)("button",{type:"button",onClick:()=>{i(!1);try{localStorage.setItem(A,"1")}catch{}},"aria-label":l("gpt6AstraPromo.dismiss"),className:`shrink-0 p-1.5 rounded-md transition-colors ${c?"text-gray-500 hover:text-gray-900 hover:bg-black/5":"text-gray-400 hover:text-white hover:bg-white/10"}`,children:(0,a.jsx)(o.X,{className:"h-4 w-4"})})]}),(0,a.jsx)("p",{className:`md:hidden text-xs mt-2 ${d}`,children:l("gpt6AstraPromo.subtitle")})]})})}e.i(843216);var $=e.i(249312);let P="kunya.hy3Promo.dismissed";function B({value:e,label:t,valueClass:s,labelClass:r}){return(0,a.jsxs)("div",{className:"flex flex-col items-center min-w-[2.25rem]",children:[(0,a.jsx)("span",{className:`text-sm md:text-base font-semibold tabular-nums ${s}`,children:String(e).padStart(2,"0")}),(0,a.jsx)("span",{className:`text-[9px] uppercase tracking-wider ${r}`,children:t})]})}function S({isLoggedIn:e=!1,variant:r="dark"}){let{t:l}=(0,w.useTranslation)(),[n,i]=(0,t.useState)(!1),[c,d]=(0,t.useState)(()=>(0,$.getHy3PromoCountdown)());if((0,t.useEffect)(()=>{if((0,$.isHy3PromoActive)()){try{if("1"===localStorage.getItem(P))return}catch{}i(!0)}},[]),(0,t.useEffect)(()=>{if(!n)return;let e=()=>{let e=(0,$.getHy3PromoCountdown)();d(e),e.totalMs<=0&&i(!1)};e();let a=window.setInterval(e,1e3);return()=>window.clearInterval(a)},[n]),!n||!(0,$.isHy3PromoActive)()||c.totalMs<=0)return null;let x=e?`/dashboard/chat?model=${$.HY3_MODEL_ID}`:"/auth/register",h="light"===r,m=h?"bg-black/[0.04] border-black/10":"bg-white/[0.04] border-white/10",u=h?"text-gray-900":"text-white",g=h?"text-gray-500":"text-white/50";return(0,a.jsx)("div",{className:`relative z-[60] border-b ${h?"border-[#FF9B7A]/25 bg-gradient-to-r from-[#FF9B7A]/12 via-white to-[#FFD166]/10":"border-[#FF9B7A]/20 bg-gradient-to-r from-[#FF9B7A]/10 via-[#1e1e1e] to-[#FFD166]/10"}`,role:"status","aria-live":"polite","aria-label":l("hy3Promo.ariaLabel"),children:(0,a.jsxs)("div",{className:"container mx-auto px-4 py-2.5",children:[(0,a.jsxs)("div",{className:"flex items-center gap-3 md:gap-4",children:[(0,a.jsx)("div",{className:`hidden sm:flex p-1.5 rounded-full shrink-0 ${h?"bg-[#FF9B7A]/15":"bg-[#FF9B7A]/20"}`,children:(0,a.jsx)("img",{src:"/KunyaLogo.png",alt:"Kunya",className:"h-5 w-5"})}),(0,a.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,a.jsxs)("div",{className:"flex flex-wrap items-center gap-x-2 gap-y-1",children:[(0,a.jsx)("span",{className:`inline-flex px-2 py-0.5 rounded-full text-[10px] font-semibold uppercase tracking-wide ${h?"bg-[#FF9B7A]/15 text-[#c45f3a]":"bg-[#FF9B7A]/20 text-[#FF9B7A]"}`,children:l("hy3Promo.badge")}),(0,a.jsx)("p",{className:`text-xs md:text-sm font-medium ${h?"text-gray-900":"text-white"}`,children:l("hy3Promo.message")})]}),(0,a.jsx)("p",{className:`hidden md:block text-xs mt-0.5 ${h?"text-gray-600":"text-gray-300"}`,children:l("hy3Promo.subtitle")})]}),(0,a.jsxs)("div",{className:`hidden lg:flex items-center gap-2 px-3 py-1.5 rounded-lg border shrink-0 ${m}`,"aria-label":l("hy3Promo.countdownLabel"),children:[(0,a.jsx)(B,{value:c.days,label:l("hy3Promo.days"),valueClass:u,labelClass:g}),(0,a.jsx)("span",{className:`text-xs ${g}`,children:":"}),(0,a.jsx)(B,{value:c.hours,label:l("hy3Promo.hours"),valueClass:u,labelClass:g}),(0,a.jsx)("span",{className:`text-xs ${g}`,children:":"}),(0,a.jsx)(B,{value:c.minutes,label:l("hy3Promo.minutes"),valueClass:u,labelClass:g}),(0,a.jsx)("span",{className:`text-xs ${g}`,children:":"}),(0,a.jsx)(B,{value:c.seconds,label:l("hy3Promo.seconds"),valueClass:u,labelClass:g})]}),(0,a.jsxs)(s.default,{href:x,className:"inline-flex items-center gap-1.5 shrink-0 rounded-md bg-[#FF9B7A] hover:bg-[#FF8A66] text-black text-xs md:text-sm font-semibold px-3 py-1.5 transition-colors",children:[l("hy3Promo.cta"),(0,a.jsx)(k.ArrowRight,{className:"h-3.5 w-3.5"})]}),(0,a.jsx)("button",{type:"button",onClick:()=>{i(!1);try{localStorage.setItem(P,"1")}catch{}},"aria-label":l("hy3Promo.dismiss"),className:`shrink-0 p-1.5 rounded-md transition-colors ${h?"text-gray-500 hover:text-gray-900 hover:bg-black/5":"text-gray-400 hover:text-white hover:bg-white/10"}`,children:(0,a.jsx)(o.X,{className:"h-4 w-4"})})]}),(0,a.jsxs)("div",{className:`flex lg:hidden items-center justify-center gap-2 mt-2 px-3 py-1.5 rounded-lg border ${m}`,children:[(0,a.jsx)(B,{value:c.days,label:l("hy3Promo.days"),valueClass:u,labelClass:g}),(0,a.jsx)("span",{className:`text-xs ${g}`,children:":"}),(0,a.jsx)(B,{value:c.hours,label:l("hy3Promo.hours"),valueClass:u,labelClass:g}),(0,a.jsx)("span",{className:`text-xs ${g}`,children:":"}),(0,a.jsx)(B,{value:c.minutes,label:l("hy3Promo.minutes"),valueClass:u,labelClass:g}),(0,a.jsx)("span",{className:`text-xs ${g}`,children:":"}),(0,a.jsx)(B,{value:c.seconds,label:l("hy3Promo.seconds"),valueClass:u,labelClass:g})]})]})})}let L="kunya.lagunaPromo.dismissed";function E({value:e,label:t,valueClass:s,labelClass:r}){return(0,a.jsxs)("div",{className:"flex flex-col items-center min-w-[2.25rem]",children:[(0,a.jsx)("span",{className:`text-sm md:text-base font-semibold tabular-nums ${s}`,children:String(e).padStart(2,"0")}),(0,a.jsx)("span",{className:`text-[9px] uppercase tracking-wider ${r}`,children:t})]})}function K({isLoggedIn:e=!1,variant:r="dark"}){let{t:l}=(0,w.useTranslation)(),[n,i]=(0,t.useState)(!1),[c,d]=(0,t.useState)(()=>(0,$.getLagunaPromoCountdown)());if((0,t.useEffect)(()=>
1{if((0,$.isLagunaPromoActive)()){try{if("1"===localStorage.getItem(L))return}catch{}i(!0)}},[]),(0,t.useEffect)(()=>{if(!n)return;let e=()=>{let e=(0,$.getLagunaPromoCountdown)();d(e),e.totalMs<=0&&i(!1)};e();let a=window.setInterval(e,1e3);return()=>window.clearInterval(a)},[n]),!n||!(0,$.isLagunaPromoActive)()||c.totalMs<=0)return null;let x=e?`/dashboard/chat?model=${$.LAGUNA_MODEL_ID}`:"/auth/register",h="light"===r,m=h?"bg-black/[0.04] border-black/10":"bg-white/[0.04] border-white/10",u=h?"text-gray-900":"text-white",g=h?"text-gray-500":"text-white/50";return(0,a.jsx)("div",{className:`relative z-[60] border-b ${h?"border-[#5B9FD4]/25 bg-gradient-to-r from-[#5B9FD4]/12 via-white to-[#7EC8E3]/10":"border-[#5B9FD4]/20 bg-gradient-to-r from-[#5B9FD4]/10 via-[#1e1e1e] to-[#7EC8E3]/10"}`,role:"status","aria-live":"polite","aria-label":l("lagunaPromo.ariaLabel"),children:(0,a.jsxs)("div",{className:"container mx-auto px-4 py-2.5",children:[(0,a.jsxs)("div",{className:"flex items-center gap-3 md:gap-4",children:[(0,a.jsx)("div",{className:`hidden sm:flex p-1.5 rounded-full shrink-0 ${h?"bg-[#5B9FD4]/15":"bg-[#5B9FD4]/20"}`,children:(0,a.jsx)("img",{src:"/KunyaLogo.png",alt:"Kunya",className:"h-5 w-5"})}),(0,a.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,a.jsxs)("div",{className:"flex flex-wrap items-center gap-x-2 gap-y-1",children:[(0,a.jsx)("span",{className:`inline-flex px-2 py-0.5 rounded-full text-[10px] font-semibold uppercase tracking-wide ${h?"bg-[#5B9FD4]/15 text-[#2d6a9f]":"bg-[#5B9FD4]/20 text-[#7EC8E3]"}`,children:l("lagunaPromo.badge")}),(0,a.jsx)("p",{className:`text-xs md:text-sm font-medium ${h?"text-gray-900":"text-white"}`,children:l("lagunaPromo.message")})]}),(0,a.jsx)("p",{className:`hidden md:block text-xs mt-0.5 ${h?"text-gray-600":"text-gray-300"}`,children:l("lagunaPromo.subtitle")})]}),(0,a.jsxs)("div",{className:`hidden lg:flex items-center gap-2 px-3 py-1.5 rounded-lg border shrink-0 ${m}`,"aria-label":l("lagunaPromo.countdownLabel"),children:[(0,a.jsx)(E,{value:c.days,label:l("lagunaPromo.days"),valueClass:u,labelClass:g}),(0,a.jsx)("span",{className:`text-xs ${g}`,children:":"}),(0,a.jsx)(E,{value:c.hours,label:l("lagunaPromo.hours"),valueClass:u,labelClass:g}),(0,a.jsx)("span",{className:`text-xs ${g}`,children:":"}),(0,a.jsx)(E,{value:c.minutes,label:l("lagunaPromo.minutes"),valueClass:u,labelClass:g}),(0,a.jsx)("span",{className:`text-xs ${g}`,children:":"}),(0,a.jsx)(E,{value:c.seconds,label:l("lagunaPromo.seconds"),valueClass:u,labelClass:g})]}),(0,a.jsxs)(s.default,{href:x,className:"inline-flex items-center gap-1.5 shrink-0 rounded-md bg-[#5B9FD4] hover:bg-[#4a8fc4] text-white text-xs md:text-sm font-semibold px-3 py-1.5 transition-colors",children:[l("lagunaPromo.cta"),(0,a.jsx)(k.ArrowRight,{className:"h-3.5 w-3.5"})]}),(0,a.jsx)("button",{type:"button",onClick:()=>{i(!1);try{localStorage.setItem(L,"1")}catch{}},"aria-label":l("lagunaPromo.dismiss"),className:`shrink-0 p-1.5 rounded-md transition-colors ${h?"text-gray-500 hover:text-gray-900 hover:bg-black/5":"text-gray-400 hover:text-white hover:bg-white/10"}`,children:(0,a.jsx)(o.X,{className:"h-4 w-4"})})]}),(0,a.jsxs)("div",{className:`flex lg:hidden items-center justify-center gap-2 mt-2 px-3 py-1.5 rounded-lg border ${m}`,children:[(0,a.jsx)(E,{value:c.days,label:l("lagunaPromo.days"),valueClass:u,labelClass:g}),(0,a.jsx)("span",{className:`text-xs ${g}`,children:":"}),(0,a.jsx)(E,{value:c.hours,label:l("lagunaPromo.hours"),valueClass:u,labelClass:g}),(0,a.jsx)("span",{className:`text-xs ${g}`,children:":"}),(0,a.jsx)(E,{value:c.minutes,label:l("lagunaPromo.minutes"),valueClass:u,labelClass:g}),(0,a.jsx)("span",{className:`text-xs ${g}`,children:":"}),(0,a.jsx)(E,{value:c.seconds,label:l("lagunaPromo.seconds"),valueClass:u,labelClass:g})]})]})})}let M="kunya.oxAlphaPromo.dismissed";function I({value:e,label:t,valueClass:s,labelClass:r}){return(0,a.jsxs)("div",{className:"flex flex-col items-center min-w-[2.25rem]",children:[(0,a.jsx)("span",{className:`text-sm md:text-base font-semibold tabular-nums ${s}`,children:String(e).padStart(2,"0")}),(0,a.jsx)("span",{className:`text-[9px] uppercase tracking-wider ${r}`,children:t})]})}function D({isLoggedIn:e=!1,variant:r="dark"}){let{t:l}=(0,w.useTranslation)(),[n,i]=(0,t.useState)(!1),[c,d]=(0,t.useState)(()=>(0,$.getOxAlphaPromoCountdown)());if((0,t.useEffect)(()=>
1{if((0,$.isOxAlphaPromoActive)()){try{if("1"===localStorage.getItem(M))return}catch{}i(!0)}},[]),(0,t.useEffect)(()=>{if(!n)return;let e=()=>{let e=(0,$.getOxAlphaPromoCountdown)();d(e),e.totalMs<=0&&i(!1)};e();let a=window.setInterval(e,1e3);return()=>window.clearInterval(a)},[n]),!n||!(0,$.isOxAlphaPromoActive)()||c.totalMs<=0)return null;let x=e?`/dashboard/chat?model=${$.OX_ALPHA_MODEL_ID}`:"/auth/register",h="light"===r,m=h?"bg-black/[0.04] border-black/10":"bg-white/[0.04] border-white/10",u=h?"text-gray-900":"text-white",g=h?"text-gray-500":"text-white/50";return(0,a.jsx)("div",{className:`relative z-[60] border-b ${h?"border-[#A78BFA]/25 bg-gradient-to-r from-[#A78BFA]/12 via-white to-[#C4B5FD]/10":"border-[#A78BFA]/20 bg-gradient-to-r from-[#A78BFA]/10 via-[#1e1e1e] to-[#C4B5FD]/10"}`,role:"status","aria-live":"polite","aria-label":l("oxAlphaPromo.ariaLabel"),children:(0,a.jsxs)("div",{className:"container mx-auto px-4 py-2.5",children:[(0,a.jsxs)("div",{className:"flex items-center gap-3 md:gap-4",children:[(0,a.jsx)("div",{className:`hidden sm:flex p-1.5 rounded-full shrink-0 ${h?"bg-[#A78BFA]/15":"bg-[#A78BFA]/20"}`,children:(0,a.jsx)("img",{src:"/KunyaLogo.png",alt:"Kunya",className:"h-5 w-5"})}),(0,a.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,a.jsxs)("div",{className:"flex flex-wrap items-center gap-x-2 gap-y-1",children:[(0,a.jsx)("span",{className:`inline-flex px-2 py-0.5 rounded-full text-[10px] font-semibold uppercase tracking-wide ${h?"bg-[#A78BFA]/15 text-[#6d28d9]":"bg-[#A78BFA]/20 text-[#C4B5FD]"}`,children:l("oxAlphaPromo.badge")}),(0,a.jsx)("p",{className:`text-xs md:text-sm font-medium ${h?"text-gray-900":"text-white"}`,children:l("oxAlphaPromo.message")})]}),(0,a.jsx)("p",{className:`hidden md:block text-xs mt-0.5 ${h?"text-gray-600":"text-gray-300"}`,children:l("oxAlphaPromo.subtitle")})]}),(0,a.jsxs)("div",{className:`hidden lg:flex items-center gap-2 px-3 py-1.5 rounded-lg border shrink-0 ${m}`,"aria-label":l("oxAlphaPromo.countdownLabel"),children:[(0,a.jsx)(I,{value:c.days,label:l("oxAlphaPromo.days"),valueClass:u,labelClass:g}),(0,a.jsx)("span",{className:`text-xs ${g}`,children:":"}),(0,a.jsx)(I,{value:c.hours,label:l("oxAlphaPromo.hours"),valueClass:u,labelClass:g}),(0,a.jsx)("span",{className:`text-xs ${g}`,children:":"}),(0,a.jsx)(I,{value:c.minutes,label:l("oxAlphaPromo.minutes"),valueClass:u,labelClass:g}),(0,a.jsx)("span",{className:`text-xs ${g}`,children:":"}),(0,a.jsx)(I,{value:c.seconds,label:l("oxAlphaPromo.seconds"),valueClass:u,labelClass:g})]}),(0,a.jsxs)(s.default,{href:x,className:"inline-flex items-center gap-1.5 shrink-0 rounded-md bg-[#8B5CF6] hover:bg-[#7C3AED] text-white text-xs md:text-sm font-semibold px-3 py-1.5 transition-colors",children:[l("oxAlphaPromo.cta"),(0,a.jsx)(k.ArrowRight,{className:"h-3.5 w-3.5"})]}),(0,a.jsx)("button",{type:"button",onClick:()=>{i(!1);try{localStorage.setItem(M,"1")}catch{}},"aria-label":l("oxAlphaPromo.dismiss"),className:`shrink-0 p-1.5 rounded-md transition-colors ${h?"text-gray-500 hover:text-gray-900 hover:bg-black/5":"text-gray-400 hover:text-white hover:bg-white/10"}`,children:(0,a.jsx)(o.X,{className:"h-4 w-4"})})]}),(0,a.jsxs)("div",{className:`flex lg:hidden items-center justify-center gap-2 mt-2 px-3 py-1.5 rounded-lg border ${m}`,children:[(0,a.jsx)(I,{value:c.days,label:l("oxAlphaPromo.days"),valueClass:u,labelClass:g}),(0,a.jsx)("span",{className:`text-xs ${g}`,children:":"}),(0,a.jsx)(I,{value:c.hours,label:l("oxAlphaPromo.hours"),valueClass:u,labelClass:g}),(0,a.jsx)("span",{className:`text-xs ${g}`,children:":"}),(0,a.jsx)(I,{value:c.minutes,label:l("oxAlphaPromo.minutes"),valueClass:u,labelClass:g}),(0,a.jsx)("span",{className:`text-xs ${g}`,children:":"}),(0,a.jsx)(I,{value:c.seconds,label:l("oxAlphaPromo.seconds"),valueClass:u,labelClass:g})]})]})})}var T=e.i(943236),R=e.i(325998);let O="kunya.mobileAppPromo.dismissed";function z({variant:e="dark"}){let{t:r}=(0,w.useTranslation)(),[l,n]=(0,t.useState)(!1),[i,c]=(0,t.useState)(!1);if((0,t.useEffect)(()=>{let e=!1;return(async()=>{try{if("1"===localStorage.getItem(O))return}catch{}try{let a=await fetch("/api/mobile-app-promo");if(!a.ok||e)return;(await a.json()).bannerEnabled&&(n(!0),c(!0))}catch{}})(),()=>{e=!0}},[]),!l||!i)return null;let d="light"===e;return(0,a.jsxs)("div",{className:`relative border-b px-4 py-2.5 ${d?"border-[#FF9B7A]/25 bg-gradient-to-r from-[#FF9B7A]/10 via-white to-[#FFD166]/8":"border-[#FF9B7A]/20 bg-gradient-to-r from-[#FF9B7A]/10 via-[#1e1e1e] to-[#FFD166]/10"}
1`,role:"region","aria-label":r("mobileApps.promo.ariaLabel"),children:[(0,a.jsxs)("div",{className:"container mx-auto flex items-center justify-center gap-3 pr-8",children:[(0,a.jsx)("div",{className:`hidden sm:flex h-8 w-8 shrink-0 items-center justify-center rounded-lg bg-[#FF9B7A]/20 ${d?"text-[#c45f3a]":"text-[#FF9B7A]"}`,children:(0,a.jsx)(T.Smartphone,{className:"h-4 w-4"})}),(0,a.jsxs)("div",{className:"min-w-0 text-center sm:text-left",children:[(0,a.jsx)("p",{className:`text-sm font-medium ${d?"text-gray-900":"text-white"}`,children:R.MOBILE_APPS.tagline}),(0,a.jsx)("p",{className:`hidden text-xs sm:block ${d?"text-gray-600":"text-gray-300"}`,children:r("mobileApps.promo.message")})]}),(0,a.jsxs)(s.default,{href:"/download",className:"ml-1 inline-flex shrink-0 items-center gap-1 rounded-lg bg-[#FF9B7A] px-3 py-1.5 text-xs font-semibold text-black transition-opacity hover:opacity-90 sm:text-sm",children:[r("mobileApps.promo.cta"),(0,a.jsx)(k.ArrowRight,{className:"h-3.5 w-3.5"})]})]}),(0,a.jsx)("button",{type:"button",onClick:()=>{c(!1);try{localStorage.setItem(O,"1")}catch{}},className:`absolute right-3 top-1/2 -translate-y-1/2 rounded-md p-1 transition-colors ${d?"text-gray-500 hover:bg-black/5 hover:text-gray-800":"text-gray-400 hover:bg-white/10 hover:text-white"}`,"aria-label":r("mobileApps.promo.dismiss"),children:(0,a.jsx)(o.X,{className:"h-4 w-4"})})]})}let G=[{href:"/features/image-generation",icon:c.Image,labelKey:"nav.features.imageGeneration",fallback:"Image Generation",desc:"FLUX, DALL-E, Stable Diffusion & more"},{href:"/features/video-generation",icon:d.Video,labelKey:"nav.features.videoGeneration",fallback:"Video Generation",desc:"Veo, Kling, Seedance, MiniMax"},{href:"/features/video-analysis",icon:g.Eye,labelKey:"nav.features.videoAnalysis",fallback:"Video Analysis",desc:"Upload & analyze any video with AI"},{href:"/features/music",icon:x.Music,labelKey:"nav.features.music",fallback:"Music Generation",desc:"Lyria, MiniMax Music, Suno"},{href:"/features/workspaces",icon:h.Layers,labelKey:"nav.features.workspaces",fallback:"AI Workspaces",desc:"Docs, databases & whiteboards with AI"},{href:"/features/chat",icon:m.MessageSquare,labelKey:"nav.features.chat",fallback:"AI Chat",desc:"100+ models from every major lab",descFunctionFirst:"Research, draft, and build in one thread"},{href:"/features/notes",icon:b.Mic,labelKey:"nav.features.notes",fallback:"AI Notes",desc:"Record, transcribe & analyze any meeting"},{href:"/features/api",icon:u.Code2,labelKey:"nav.features.api",fallback:"API Platform",desc:"One key, 100+ models, every AI domain",descFunctionFirst:"Ship chat, images, video, and agents in your app"}],X=[{href:"/solutions/real-estate-marketing",icon:p.Briefcase,labelKey:"nav.solutions.realEstateMarketing",labelFallback:"Real Estate Marketing",descKey:"nav.solutions.realEstateMarketing.desc",descFallback:"Listing copy, visuals, and outreach"},{href:"/solutions/seo-content-pipeline",icon:f.Sparkles,labelKey:"nav.solutions.seoContentPipeline",labelFallback:"SEO Content Pipeline",descKey:"nav.solutions.seoContentPipeline.desc",descFallback:"Research to published articles"},{href:"/solutions/enterprise-ai-platform",icon:h.Layers,labelKey:"nav.solutions.enterpriseAiPlatform",labelFallback:"Enterprise AI Platform",descKey:"nav.solutions.enterpriseAiPlatform.desc",descFallback:"SSO, governance, and failover"},{href:"/solutions/blog-cms-seo",icon:v.Newspaper,labelKey:"nav.solutions.blogCmsSeo",labelFallback:"Blog CMS & SEO",descKey:"nav.solutions.blogCmsSeo.desc",descFallback:"Editorial workflows, GSC, and bulk generation"},{href:"/solutions/saas-marketing-teams",icon:y.TrendingUp,labelKey:"nav.solutions.saasMarketingTeams",labelFallback:"SaaS Marketing",descKey:"nav.solutions.saasMarketingTeams.desc",descFallback:"Content, CRM, and competitive intel for software teams"},{href:"/solutions/ecommerce-product-content",icon:j.ShoppingBag,labelKey:"nav.solutions.ecommerceProductContent",labelFallback:"Ecommerce Product Content",descKey:"nav.solutions.ecommerceProductContent.desc",descFallback:"Product descriptions, lifestyle images, and feed copy"}];function _({variant:e="dark",marketingVariant:c="default"}){let[d,x]=(0,t.useState)(!1),[h,m]=(0,t.useState)(!1),[u,g]=(0,t.useState)(!1),[b,p]=(0,t.useState)(!1),[f,v]=(0,t.useState)(!1),[y,j]=(0,t.useState)(!1),[k,A]=(0,t.useState)(!1),{t:$}=(0,w.useTranslation)(),P=(0,t.useRef)(null),B=(0,t.useRef)(null),L=(0,t.useRef)(void 0),E="light"===e;(0,t.useEffect)(()=>{fetch("/api/auth/me",{credentials:"include"}).then(e=>e.json()).then(e=>{e?.user?.id&&(j(!0),A((0,F.isAdminRole)(e.user.role)))}).catch(()=>{})},[]),(0,t.useEffect)(()=>{function e(e){P.current&&!P.current.contains(e.target)&&m(!1),B.current&&!B.current.contains(e.target)&&g(!1)}return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[]);let M=y?"/dashboard/tools":"/tools",I="functionFirst"===c;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(C,{isLoggedIn:y,variant:e}),(0,a.jsx)(z,{variant:e}),(0,a.jsx)(S,{isLoggedIn:y,variant:e}),(0,a.jsx)(K,{isLoggedIn:y,variant:e}),(0,a.jsx)(D,{isLoggedIn:y,variant:e}),(0,a.jsxs)("nav",{className:`sticky top-0 z-50 border-b backdrop-blur-sm ${E?"border-gray-200/60 bg-white/80":"border-white/10 bg-[#1e1e1e]/80"}`,children:[(0,a.jsxs)("div",{className:"container mx-auto px-4 py-4 flex items-center justify-between",children:[(0,a.jsxs)(s.default,{href:"/",className:"flex items-center gap-2 group cursor-pointer",children:[(0,a.jsx)("img",{src:"/KunyaLogo.png",alt:"Kunya",className:"h-8 w-8 transition-transform group-hover:scale-110 duration-300"}),(0,a.jsx)("span",{className:`text-2xl font-bold ${E?"text-gray-900":"text-white"}`,children:"Kunya"})]}),(0,a.jsxs)("div",{className:"hidden md:flex items-center gap-4",children:[(0,a.jsxs)("div",{ref:P,className:"relative",onMouseEnter:()=>{clearTimeout(L.current),m(!0),g(!1)},onMouseLeave:()=>{L.current=setTimeout(()=>m(!1),150)},children:[(0,a.jsxs)("button",{className:`flex items-center gap-1 text-sm transition-colors ${E?"text-gray-500 hover:text-gray-900":"text-gray-400 hover:text-white"}`,onClick:()=>m(!h),children:[$("nav.features","Features"),(0,a.jsx)(i.ChevronDown,{className:`h-3.5 w-3.5 transition-transform duration-200 ${h?"rotate-180":""}`})]}),h&&(0,a.jsx)("div",{className:"absolute top-full left-1/2 -translate-x-1/2 pt-3 z-50",children:(0,a.jsxs)("div",{className:`w-[520px] rounded-xl border backdrop-blur-xl shadow-2xl p-3 ${E?"border-gray-200 bg-white/95 shadow-gray-200/50":"border-white/10 bg-[#1e1e1e]/95 shadow-black/40"}`,children:[(0,a.jsx)("div",{className:"grid grid-cols-2 gap-1",children:G.map(e=>{let t=e.icon;return(0,a.jsxs)(s.default,{href:e.href,onClick:()=>m(!1),className:`group flex items-start gap-3 rounded-lg px-3 py-2.5 transition-colors ${E?"hover:bg-gray-50":"hover:bg-white/[0.06]"}`,children:[(0,a.jsx)("div",{className:"mt-0.5 flex h-8 w-8 shrink-0 items-center justify-center rounded-lg bg-[#FF9B7A]/10 group-hover:bg-[#FF9B7A]/20 transition-colors",children:(0,a.jsx)(t,{className:"h-4 w-4 text-[#FF9B7A]"})}),(0,a.jsxs)("div",{className:"min-w-0",children:[(0,a.jsx)("div",{className:`text-sm font-medium group-hover:text-[#FF9B7A] transition-colors ${E?"text-gray-900":"text-white"}`,children:$(e.labelKey,e.fallback)}),(0,a.jsx)("div",{className:"text-xs text-gray-500 mt-0.5 leading-snug",children:"functionFirst"===c&&"descFunctionFirst"in e&&e.descFunctionFirst?e.descFunctionFirst:e.desc})]})]},e.href)})}),(0,a.jsxs)("div",{className:`mt-2 flex flex-wrap items-center gap-x-4 gap-y-1 border-t pt-2 px-3 ${E?"border-gray-100":"border-white/[0.06]"}`,children:[I&&(0,a.jsx)(s.default,{href:"/models",onClick:()=>m(!1),className:"text-xs text-gray-500 hover:text-[#FF9B7A] transition-colors",children:$("landingTemp.nav.modelsAndPricing","Models & pricing per model →")}),(0,a.jsx)(s.default,{href:"/blog",onClick:()=>m(!1),className:"text-xs text-gray-500 hover:text-[#FF9B7A] transition-colors",children:$("nav.readBlog","Read the blog →")})]})]})})]}),(0,a.jsxs)("div",{ref:B,className:"relative",onMouseEnter:()=>{clearTimeout(L.current),g(!0),m(!1)},onMouseLeave:()=>{L.current=setTimeout(()=>g(!1),150)},children:[(0,a.jsxs)("button",{className:`flex items-center gap-1 text-sm transition-colors ${E?"text-gray-500 hover:text-gray-900":"text-gray-400 hover:text-white"}`,onClick:()=>g(!u),children:[$("nav.solutions","Solutions"),(0,a.jsx)(i.ChevronDown,{className:`h-3.5 w-3.5 transition-transform duration-200 ${u?"rotate-180":""}`})]}),u&&(0,a.jsx)("div",{className:"absolute top-full left-1/2 -translate-x-1/2 pt-3 z-50",children:(0,a.jsxs)("div",{className:`w-[420px] rounded-xl border backdrop-blur-xl shadow-2xl p-3 ${E?"border-gray-200 bg-white/95 shadow-gray-200/50":"border-white/10 bg-[#1e1e1e]/95 shadow-black/40"}`,children:[(0,a.jsx)("div",{className:"space-y-1",children:X.map(e=>{let t=e.icon;return(0,a.jsxs)(s.default,{href:e.href,onClick:()=>g(!1),className:`group flex items-start gap-3 rounded-lg px-3 py-2.5 transition-colors ${E?"hover:bg-gray-50":"hover:bg-white/[0.06]"}`,children:[(0,a.jsx)("div",{className:"mt-0.5 flex h-8 w-8 shrink-0 items-center justify-center rounded-lg bg-[#FF9B7A]/10 group-hover:bg-[#FF9B7A]/20 transition-colors",children:(0,a.jsx)(t,{className:"h-4 w-4 text-[#FF9B7A]"})}),(0,a.jsxs)("div",{className:"min-w-0",children:[(0,a.jsx)("div",{className:`text-sm font-medium group-hover:text-[#FF9B7A] transition-colors ${E?"text-gray-900":"text-white"}`,children:$(e.labelKey,e.labelFallback)}),(0,a.jsx)("div",{className:"text-xs text-gray-500 mt-0.5 leading-snug",children:$(e.descKey,e.descFallback)})]})]},e.href)})}),(0,a.jsx)("div",{className:`mt-2 border-t pt-2 px-3 ${E?"border-gray-100":"border-white/[0.06]"}`,children:(0,a.jsx)(s.default,{href:"/solutions",onClick:()=>g(!1),className:"text-xs text-gray-500 hover:text-[#FF9B7A] transition-colors",children:$("nav.allSolutions","Browse all 65 solutions →")})})]})})]}),!I&&(0,a.jsx)(s.default,{href:"/models",className:`text-sm transition-colors ${E?"text-gray-500 hover:text-gray-900":"text-gray-400 hover:text-white"}`,children:$("nav.models","Models")}),(0,a.jsx)(s.default,{href:"/blog",className:`text-sm transition-colors ${E?"text-gray-500 hover:text-gray-900":"text-gray-400 hover:text-white"}`,children:$("nav.blog")}),(0,a.jsxs)(s.default,{href:M,className:`flex items-center gap-1.5 text-sm transition-colors ${E?"text-gray-500 hover:text-gray-900":"text-gray-400 hover:text-white"}`,children:[$("nav.tools","Tools"),(0,a.jsx)("span",{className:"rounded-full border border-emerald-500/40 bg-emerald-500/15 px-1.5 py-0.5 text-[10px] font-semibold uppercase tracking-wide text-emerald-400",children:$("nav.toolsBadge","Free")})]}),(0,a.jsx)(s.default,{href:"/enterprise",className:`text-sm transition-colors ${E?"text-gray-500 hover:text-gray-900":"text-gray-400 hover:text-white"}`,children:$("nav.enterprise","Enterprise")}),(0,a.jsx)(s.default,{href:"/careers",className:`text-sm transition-colors ${E?"text-gray-500 hover:text-gray-900":"text-gray-400 hover:text-white"}`,children:$("nav.careers","Careers")}),(0,a.jsx)(N.LanguageSwitcher,{variant:E?"light":"dark",compact:!0}),y?(0,a.jsx)(s.default,{href:"/dashboard",children:(0,a.jsxs)(r.Button,{className:"bg-[#FF9B7A] hover:bg-[#FF8A66] text-white font-semibold transition-all duration-300 hover:scale-105 hover:shadow-lg hover:shadow-[#FF9B7A]/30 flex items-center gap-2",children:[(0,a.jsx)(n.LayoutDashboard,{className:"h-4 w-4"}),$("nav.dashboard")]})}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(s.default,{href:"/auth/login",children:(0,a.jsx)(r.Button,{variant:"ghost",className:`transition-all duration-300 ${E?"text-gray-700 hover:bg-gray-100":"text-white hover:bg-white/10"}`,children:$("nav.signIn")})}),(0,a.jsx)(s.default,{href:"/auth/register",children:(0,a.jsx)(r.Button,{className:"bg-[#FF9B7A] hover:bg-[#FF8A66] text-white font-semibold transition-all duration-300 hover:scale-105 hover:shadow-lg hover:shadow-[#FF9B7A]/30",children:$("nav.getStarted")})})]})]}),(0,a.jsx)("button",{className:`md:hidden p-2 rounded-md transition-colors ${E?"text-gray-700 hover:bg-gray-100":"text-white hover:bg-white/10"}`,onClick:()=>x(!d),children:d?(0,a.jsx)(o.X,{className:"h-5 w-5"}):(0,a.jsx)(l.Menu,{className:"h-5 w-5"})})]}),d&&(0,a.jsxs)("div",{className:`md:hidden border-t backdrop-blur-sm px-4 py-4 space-y-2 max-h-[80vh] overflow-y-auto ${E?"border-gray-200/60 bg-white/95":"border-white/10 bg-[#1e1e1e]/95"}`,children:[(0,a.jsxs)("button",{onClick:()=>p(!b),className:`flex items-center justify-center gap-1 w-full py-2 text-sm rounded-md transition-colors ${E?"text-gray-900 hover:bg-gray-100":"text-white hover:bg-white/10"}`,children:[$("nav.features","Features"),(0,a.jsx)(i.ChevronDown,{className:`h-3.5 w-3.5 transition-transform duration-200 ${b?"rotate-180":""}`})]}),b&&(0,a.jsx)("div",{className:"space-y-1 pb-2",children:G.map(e=>{let t=e.icon;return(0,a.jsxs)(s.default,{href:e.href,onClick:()=>{x(!1),p(!1)},className:`flex items-center gap-3 px-4 py-2 rounded-md transition-colors ${E?"hover:bg-gray-50":"hover:bg-white/[0.06]"}`,children:[(0,a.jsx)(t,{className:"h-4 w-4 text-[#FF9B7A]"}),(0,a.jsx)("span",{className:`text-sm ${E?"text-gray-600":"text-gray-300"}`,children:$(e.labelKey,e.fallback)})]},e.href)})}),(0,a.jsxs)("button",{onClick:()=>v(!f),className:`flex items-center justify-center gap-1 w-full py-2 text-sm rounded-md transition-colors ${E?"text-gray-900 hover:bg-gray-100":"text-white hover:bg-white/10"}`,children:[$("nav.solutions","Solutions"),(0,a.jsx)(i.ChevronDown,{className:`h-3.5 w-3.5 transition-transform duration-200 ${f?"rotate-180":""}`})]}),f&&(0,a.jsxs)("div",{className:"space-y-1 pb-2",children:[X.map(e=>{let t=e.icon;return(0,a.jsxs)(s.default,{href:e.href,onClick:()=>{x(!1),v(!1)},className:`flex items-center gap-3 px-4 py-2 rounded-md transition-colors ${E?"hover:bg-gray-50":"hover:bg-white/[0.06]"}`,children:[(0,a.jsx)(t,{className:"h-4 w-4 text-[#FF9B7A]"}),(0,a.jsx)("span",{className:`text-sm ${E?"text-gray-600":"text-gray-300"}`,children:$(e.labelKey,e.labelFallback)})]},e.href)}),(0,a.jsx)(s.default,{href:"/solutions",onClick:()=>{x(!1),v(!1)},className:`block px-4 py-2 text-sm ${E?"text-gray-500":"text-gray-400"}`,children:$("nav.allSolutions","Browse all solutions →")})]}),I?(0,a.jsx)(s.default,{href:"/models",onClick:()=>{x(!1),p(!1)},children:(0,a.jsx)(r.Button,{variant:"ghost",className:`w-full justify-center ${E?"text-gray-900 hover:bg-gray-100":"text-white hover:bg-white/10"}`,children:$("landingTemp.nav.modelsAndPricing","Models & pricing per model")})}):(0,a.jsx)(s.default,{href:"/models",onClick:()=>x(!1),children:(0,a.jsx)(r.Button,{variant:"ghost",className:`w-full justify-center ${E?"text-gray-900 hover:bg-gray-100":"text-white hover:bg-white/10"}`,children:$("nav.models","Models")})}),(0,a.jsx)(s.default,{href:"/blog",onClick:()=>x(!1),children:(0,a.jsx)(r.Button,{variant:"ghost",className:`w-full justify-center ${E?"text-gray-900 hover:bg-gray-100":"text-white hover:bg-white/10"}`,children:$("nav.blog")})}),(0,a.jsx)(s.default,{href:M,onClick:()=>x(!1),children:(0,a.jsxs)(r.Button,{variant:"ghost",className:`w-full justify-center gap-1.5 ${E?"text-gray-900 hover:bg-gray-100":"text-white hover:bg-white/10"}`,children:[$("nav.tools","Tools"),(0,a.jsx)("span",{className:"rounded-full border border-emerald-500/40 bg-emerald-500/15 px-1.5 py-0.5 text-[10px] font-semibold uppercase tracking-wide text-emerald-400",children:$("nav.toolsBadge","Free")})]})}),(0,a.jsx)(s.default,{href:"/enterprise",onClick:()=>x(!1),children:(0,a.jsx)(r.Button,{variant:"ghost",className:`w-full justify-center ${E?"text-gray-900 hover:bg-gray-100":"text-white hover:bg-white/10"}`,children:$("nav.enterprise","Enterprise")})}),(0,a.jsx)(s.default,{href:"/careers",onClick:()=>x(!1),children:(0,a.jsx)(r.Button,{variant:"ghost",className:`w-full justify-center ${E?"text-gray-900 hover:bg-gray-100":"text-white hover:bg-white/10"}`,children:$("nav.careers","Careers")})}),(0,a.jsx)("div",{className:"flex justify-center py-1",children:(0,a.jsx)(N.LanguageSwitcher,{variant:E?"light":"dark"})}),y?(0,a.jsx)(s.default,{href:"/dashboard",onClick:()=>x(!1),children:(0,a.jsxs)(r.Button,{className:"w-full bg-[#FF9B7A] hover:bg-[#FF8A66] text-white font-semibold flex items-center justify
1-center gap-2",children:[(0,a.jsx)(n.LayoutDashboard,{className:"h-4 w-4"}),$("nav.dashboard")]})}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(s.default,{href:"/auth/login",onClick:()=>x(!1),children:(0,a.jsx)(r.Button,{variant:"ghost",className:`w-full justify-center ${E?"text-gray-900 hover:bg-gray-100":"text-white hover:bg-white/10"}`,children:$("nav.signIn")})}),(0,a.jsx)(s.default,{href:"/auth/register",onClick:()=>x(!1),children:(0,a.jsx)(r.Button,{className:"w-full bg-[#FF9B7A] hover:bg-[#FF8A66] text-white font-semibold",children:$("nav.getStarted")})})]})]})]})]})}e.s(["Navbar",()=>_],681204)}]);

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.