1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2245,6575],{7345:function(e,t,r){var n={"./feedback.json":[89708,9708],"./ghibliAi.json":[98790,8790],"./tool.json":[88850,8850]};function a(e){if(!r.o(n,e))return Promise.resolve().then(function(){var t=Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t});var t=n[e],a=t[0];return r.e(t[1]).then(function(){return r.t(a,19)})}a.keys=function(){return Object.keys(n)},a.id=7345,e.exports=a},92661:function(e,t,r){var n={"./ar/feedback.json":[82881,2881],"./ar/ghibliAi.json":[3555,3555],"./ar/tool.json":[69021,9021],"./de/feedback.json":[69527,9527],"./de/ghibliAi.json":[64882,4882],"./de/tool.json":[64843,4843],"./en/feedback.json":[89708,9708],"./en/ghibliAi.json":[98790,8790],"./en/tool.json":[88850,8850],"./es/feedback.json":[91130,1130],"./es/ghibliAi.json":[22470,2470],"./es/tool.json":[91973,1973],"./fa/feedback.json":[35928,5928],"./fa/ghibliAi.json":[49531,9531],"./fa/tool.json":[95329,5329],"./fr/feedback.json":[69677,9677],"./fr/ghibliAi.json":[8366,8366],"./fr/tool.json":[42789,2789],"./hi/feedback.json":[91242,1242],"./hi/ghibliAi.json":[57275,7275],"./hi/tool.json":[88688,8688],"./id/feedback.json":[87529,7529],"./id/ghibliAi.json":[6488,6488],"./id/tool.json":[7971,7971],"./it/feedback.json":[9221,9221],"./it/ghibliAi.json":[43397,3397],"./it/tool.json":[65469,5469],"./ja/feedback.json":[77633,7633],"./ja/ghibliAi.json":[25699,5699],"./ja/tool.json":[81496,1496],"./ko/feedback.json":[46285,6285],"./ko/ghibliAi.json":[33475,3475],"./ko/tool.json":[27592,7592],"./nl/feedback.json":[41875,1875],"./nl/ghibliAi.json":[10953,953],"./nl/tool.json":[90774,774],"./pt/feedback.json":[35630,5630],"./pt/ghibliAi.json":[64262,4262],"./pt/tool.json":[77353,7353],"./ru/feedback.json":[65278,5278],"./ru/ghibliAi.json":[7553,7553],"./ru/tool.json":[32328,2328],"./tr/feedback.json":[71366,1366],"./tr/ghibliAi.json":[95413,5413],"./tr/tool.json":[74371,4371],"./vi/feedback.json":[76298,6298],"./vi/ghibliAi.json":[44558,4558],"./vi/tool.json":[49145,9145],"./zh-CN/feedback.json":[13584,3584],"./zh-CN/ghibliAi.json":[41590,1590],"./zh-CN/tool.json":[79960,9960]};function a(e){if(!r.o(n,e))return Promise.resolve().then(function(){var t=Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t});var t=n[e],a=t[0];return r.e(t[1]).then(function(){return r.t(a,19)})}a.keys=function(){return Object.keys(n)},a.id=92661,e.exports=a},26837:function(e){var t;t=function(){"use strict";var e="millisecond",t="second",r="minute",n="hour",a="week",i="month",s="quarter",o="year",l="date",c="Invalid Date",d=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,u=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,h=function(e,t,r){var n=String(e);return!n||n.length>=t?e:""+Array(t+1-n.length).join(r)+e},f="en",m={};m[f]={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],r=e%100;return"["+e+(t[(r-20)%10]||t[r]||"th")+"]"}};var x="$isDayjsObject",v=function(e){return e instanceof j||!(!e||!e[x])},g=function e(t,r,n){var a;if(!t)return f;if("string"==typeof t){var i=t.toLowerCase();m[i]&&(a=i),r&&(m[i]=r,a=i);var s=t.split("-");if(!a&&s.length>1)return e(s[0])}else{var o=t.name;m[o]=t,a=o}return!n&&a&&(f=a),a||!n&&f},b=function(e,t){if(v(e))return e.clone();var r="object"==typeof t?t:{};return r.date=e,r.args=arguments,new j(r)},p={s:h,z:function(e){var t=-e.utcOffset(),r=Math.abs(t);return(t<=0?"+":"-")+h(Math.floor(r/60),2,"0")+":"+h(r%60,2,"0")},m:function e(t,r){if(t.date()<r.date())return-e(r,t);var n=12*(r.year()-t.year())+(r.month()-t.month()),a=t.clone().add(n,i),s=r-a<0,o=t.clone().add(n+(s?-1:1),i);return+(-(n+(r-a)/(s?a-o:o-a))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(c){return({M:i,y:o,w:a,d:"day",D:l,h:n,m:r,s:t,ms:e,Q:s})[c]||String(c||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}};p.l=g,p.i=v,p.w=function(e,t){return b(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var j=function(){function h(e){this.$L=g(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[x]=!0}var f=h.prototype;return f.parse=function(e){this.$d=function(e){var t=e.date,r=e.utc;if(null===t)return new Date(NaN);if(p.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var n=t.match(d);if(n){var a=n[2]-1||0,i=(n[7]||"0").substring(0,3);return r?new Date(Date.UTC(n[1],a,n[3]||1,n[4]||0,n[5]||0,n[6]||0,i)):new Date(n[1],a,n[3]||1,n[4]||0,n[5]||0,n[6]||0,i)}}return new Date(t)}(e),this.init()},f.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},f.$utils=function(){return p},f.isValid=function(){return this.$d.toString()!==c},f.isSame=function(e,t){var r=b(e);return this.startOf(t)<=r&&r<=this.endOf(t)},f.isAfter=function(e,t){return b(e)<this.startOf(t)},f.isBefore=function(e,t){return this.endOf(t)<b(e)},f.$g=function(e,t,r){return p.u(e)?this[t]:this.set(r,e)},f.unix=function(){return Math.floor(this.valueOf()/1e3)},f.valueOf=function(){return this.$d.getTime()},f.startOf=function(e,s){var c=this,d=!!p.u(s)||s,u=p.p(e),h=function(e,t){var r=p.w(c.$u?Date.UTC(c.$y,t,e):new Date(c.$y,t,e),c);return d?r:r.endOf("day")},f=function(e,t){return p.w(c.toDate()[e].apply(c.toDate("s"),(d?[0,0,0,0]:[23,59,59,999]).slice(t)),c
1)},m=this.$W,x=this.$M,v=this.$D,g="set"+(this.$u?"UTC":"");switch(u){case o:return d?h(1,0):h(31,11);case i:return d?h(1,x):h(0,x+1);case a:var b=this.$locale().weekStart||0,j=(m<b?m+7:m)-b;return h(d?v-j:v+(6-j),x);case"day":case l:return f(g+"Hours",0);case n:return f(g+"Minutes",1);case r:return f(g+"Seconds",2);case t:return f(g+"Milliseconds",3);default:return this.clone()}},f.endOf=function(e){return this.startOf(e,!1)},f.$set=function(a,s){var c,d=p.p(a),u="set"+(this.$u?"UTC":""),h=((c={}).day=u+"Date",c[l]=u+"Date",c[i]=u+"Month",c[o]=u+"FullYear",c[n]=u+"Hours",c[r]=u+"Minutes",c[t]=u+"Seconds",c[e]=u+"Milliseconds",c)[d],f="day"===d?this.$D+(s-this.$W):s;if(d===i||d===o){var m=this.clone().set(l,1);m.$d[h](f),m.init(),this.$d=m.set(l,Math.min(this.$D,m.daysInMonth())).$d}else h&&this.$d[h](f);return this.init(),this},f.set=function(e,t){return this.clone().$set(e,t)},f.get=function(e){return this[p.p(e)]()},f.add=function(e,s){var l,c=this;e=Number(e);var d=p.p(s),u=function(t){var r=b(c);return p.w(r.date(r.date()+Math.round(t*e)),c)};if(d===i)return this.set(i,this.$M+e);if(d===o)return this.set(o,this.$y+e);if("day"===d)return u(1);if(d===a)return u(7);var h=((l={})[r]=6e4,l[n]=36e5,l[t]=1e3,l)[d]||1,f=this.$d.getTime()+e*h;return p.w(f,this)},f.subtract=function(e,t){return this.add(-1*e,t)},f.format=function(e){var t=this,r=this.$locale();if(!this.isValid())return r.invalidDate||c;var n=e||"YYYY-MM-DDTHH:mm:ssZ",a=p.z(this),i=this.$H,s=this.$m,o=this.$M,l=r.weekdays,d=r.months,h=r.meridiem,f=function(e,r,a,i){return e&&(e[r]||e(t,n))||a[r].slice(0,i)},m=function(e){return p.s(i%12||12,e,"0")},x=h||function(e,t,r){var n=e<12?"AM":"PM";return r?n.toLowerCase():n};return n.replace(u,function(e,n){return n||function(e){switch(e){case"YY":return String(t.$y).slice(-2);case"YYYY":return p.s(t.$y,4,"0");case"M":return o+1;case"MM":return p.s(o+1,2,"0");case"MMM":return f(r.monthsShort,o,d,3);case"MMMM":return f(d,o);case"D":return t.$D;case"DD":return p.s(t.$D,2,"0");case"d":return String(t.$W);case"dd":return f(r.weekdaysMin,t.$W,l,2);case"ddd":return f(r.weekdaysShort,t.$W,l,3);case"dddd":return l[t.$W];case"H":return String(i);case"HH":return p.s(i,2,"0");case"h":return m(1);case"hh":return m(2);case"a":return x(i,s,!0);case"A":return x(i,s,!1);case"m":return String(s);case"mm":return p.s(s,2,"0");case"s":return String(t.$s);case"ss":return p.s(t.$s,2,"0");case"SSS":return p.s(t.$ms,3,"0");case"Z":return a}return null}(e)||a.replace(":","")})},f.utcOffset=function(){return-(15*Math.round(this.$d.getTimezoneOffset()/15))},f.diff=function(e,l,c){var d,u=this,h=p.p(l),f=b(e),m=(f.utcOffset()-this.utcOffset())*6e4,x=this-f,v=function(){return p.m(u,f)};switch(h){case o:d=v()/12;break;case i:d=v();break;case s:d=v()/3;break;case a:d=(x-m)/6048e5;break;case"day":d=(x-m)/864e5;break;case n:d=x/36e5;break;case r:d=x/6e4;break;case t:d=x/1e3;break;default:d=x}return c?d:p.a(d)},f.daysInMonth=function(){return this.endOf(i).$D},f.$locale=function(){return m[this.$L]},f.locale=function(e,t){if(!e)return this.$L;var r=this.clone(),n=g(e,t,!0);return n&&(r.$L=n),r},f.clone=function(){return p.w(this.$d,this)},f.toDate=function(){return new Date(this.valueOf())},f.toJSON=function(){return this.isValid()?this.toISOString():null},f.toISOString=function(){return this.$d.toISOString()},f.toString=function(){return this.$d.toUTCString()},h}(),w=j.prototype;return b.prototype=w,[["$ms",e],["$s",t],["$m",r],["$H",n],["$W","day"],["$M",i],["$y",o],["$D",l]].forEach(function(e){w[e[1]]=function(t){return this.$g(t,e[0],e[1])}}),b.extend=function(e,t){return e.$i||(e(t,j,b),e.$i=!0),b},b.locale=g,b.isDayjs=v,b.unix=function(e){return b(1e3*e)},b.en=m[f],b.Ls=m,b.p={},b},e.exports=t()},49333:function(e,t,r){"use strict";r(19609)},7510:function(e,t,r){"use strict";r.d(t,{Z:function(){return x}});var n=r(39696),a=r(90170),i=r(48044),s=r(47524),o=r(84140),l=r(54644),c=r.n(l),d=r(36380),u=r.n(d),h=r(56156);let f=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.map(e=>({label:e.title,href:"/".concat(e.path)}))},m=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.map(e=>({label:e.title,href:e.path}))};function x(e){let{carouselSecondaryPageList:t,listCarouselCommon:r}=e,{t:l}=(0,h.Z)("common"),{theme:d,setTheme:x}=(0,s.F)(),[v,g]=(0,a.useState)(!1),b=l("footer.list",{},{returnObjects:!0}),p=Array.isArray(b)?b:[],j=(0,a.useMemo)(()=>f(t),[t]),w=(0,a.useMemo)(()=>m(r),[r]);return((0,a.useEffect)(()=>{g(!0)},[]),v)?(0,n.jsx)("footer",{className:"relative w-full overflow-hidden text-default-700",children:(0,n.jsxs)("div",{className:"mx-auto flex w-full max-w-7xl flex-col px-6 py-16 sm:px-8 lg:px-12",children:[(0,n.jsxs)("div",{className:"flex flex-col gap-12 lg:flex-row lg:gap-[60px]",children:[(0,n.jsx)("div",{className:"w-full max-w-sm flex-none",children:(0,n.jsxs)(c(),{href:"/",className:"inline-flex items-center gap-3","aria-label":"EMIX API home",children:[(0,n.jsx)(u(),{src:"/logo.png",alt:"EMIX API",width:50,height:50,unoptimized:!0,className:"size-[34px]"}),(0,n.jsx)("span",{className:"text-lg font-extrabold tracking-[0.06em]",children:"EMIX API"})]})}),(0,n.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,n.jsxs)("div",{className:"flex flex-col gap-10 md:flex-row md:flex-wrap lg:gap-12",children:[p.map(e=>(0,n.jsxs)("div",{className:"flex-none",children:[(0,n.jsx)("h2",{className:"mb-4 text-[13px] font-bold uppercase tracking-[0.05em]",children:e.title}),(0,n.jsx)("div",{className:"grid grid-cols-1",children:e.child.map(t=>(0,n.jsx)(c(),{href:t.hrefUrl,target:t.target,title:t.label,className:"py-1.5 text-sm font-normal text-zinc-600 transition hover:text-violet-600 dar
1k:text-[#eceaf4]/55 dark:hover:text-violet-200",children:t.label},"".concat(e.title,"-").concat(t.label)))})]},e.title)),(0,n.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,n.jsx)("h2",{className:"mb-4 text-[13px] font-bold uppercase tracking-[0.05em]",children:"RESOURCES"}),(0,n.jsx)("div",{className:"grid grid-cols-1 gap-x-10 sm:grid-cols-2 lg:grid-flow-col lg:[grid-template-rows:repeat(6,auto)]",children:j.map(e=>(0,n.jsx)(c(),{href:e.href,title:e.label,className:"truncate py-1.5 text-[13px] font-normal text-zinc-500 transition hover:text-violet-600 dark:text-[#eceaf4]/50 dark:hover:text-violet-200",children:e.label},e.href))})]})]}),w.length>0&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("h2",{className:"mb-3.5 mt-8 text-[13px] font-bold uppercase tracking-[0.05em]",children:"Market"}),(0,n.jsx)("div",{className:"flex flex-wrap gap-2.5",children:w.map(e=>(0,n.jsx)(c(),{href:e.href,title:e.label,className:"inline-flex items-center rounded-full border border-violet-200/80 bg-white/80 px-3.5 py-2 text-[13px] text-zinc-600 shadow-sm shadow-violet-950/[0.03] transition hover:border-violet-300 hover:bg-violet-50 hover:text-violet-700 dark:border-white/10 dark:bg-white/[0.05] dark:text-[#eceaf4]/70 dark:shadow-none dark:hover:border-violet-300/60 dark:hover:bg-violet-500/15 dark:hover:text-white",children:e.label},e.href))})]})]})]}),(0,n.jsxs)("div",{className:"mt-8 flex flex-col gap-4 border-t border-zinc-200 pt-5 dark:border-white/[0.08] md:flex-row md:items-center md:justify-between",children:[(0,n.jsx)("p",{className:"font-mono text-xs text-zinc-500 dark:text-[#eceaf4]/40",children:"\xa9 2026 emix.ai Inc. All rights reserved."}),(0,n.jsxs)("div",{className:"flex items-center gap-3",children:[(0,n.jsxs)("span",{className:"inline-flex items-center gap-2 text-[12.5px] text-zinc-600 dark:text-[#eceaf4]/55",children:[(0,n.jsx)("span",{className:"size-2 rounded-full bg-green-500","aria-hidden":!0}),"All systems operational"]}),(0,n.jsx)(i.A,{isIconOnly:!0,radius:"full",variant:"light",className:"text-zinc-600 hover:text-violet-700 dark:text-[#eceaf4]/70 dark:hover:text-white",onPress:()=>{x("light"===d?"dark":"light")},"aria-label":"Toggle theme",children:(0,n.jsx)(o.JO,{icon:"light"===d?"solar:moon-linear":"solar:sun-linear",width:22,"aria-hidden":!0})})]})]})]})}):null}},6924:function(e,t,r){"use strict";r.d(t,{Hb:function(){return i},TT:function(){return s},t5:function(){return a}});var n=r(39696);let a=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=t;if(r){let r=null==e?void 0:e.locale;"en"!==r&&(a="/".concat(r).concat(t))}return(0,n.jsx)("link",{rel:"canonical",href:"".concat("https://emix.ai").concat(a||"/")})},i=(e,t,r)=>{var a;let i="/"===t?"":t;return null==e?void 0:null===(a=e.locales)||void 0===a?void 0:a.map(e=>{if(r&&!r.includes(e))return null;let t=("en"===e?"":"/".concat(e))+i;return(0,n.jsx)("link",{rel:"alternate",hrefLang:e,href:"https://emix.ai"+(t||"/")},e)})},s=(e,t)=>{let r=t;return"en"!==e&&(r="/".concat(e).concat(t)),(0,n.jsx)("link",{rel:"canonical",href:"".concat("https://emix.ai").concat(r||"/")})}},17941:function(e,t,r){"use strict";var n=r(39696),a=r(90170),i=r(1805),s=r(23814),o=r(81472),l=r(67724),c=r(89010),d=r(75841),u=r(21492),h=r(55546),f=r(94535),m=r(46607),x=r(23431),v=r(62430),g=r(48044),b=r(85598),p=r(42370),j=r(84140),w=r(47524),k=r(68237),y=r(56156),$=r(36380),N=r.n($),M=r(76260),O=r(51763),D=r(27220),S=r(82950),A=r(82135),_=r(42022),E=r(29613),C=r(68702);let z=e=>e.split("-")[0].slice(0,2).toUpperCase();t.Z=(0,A.Pi)(function(e){var t;let{supportedLanguages:r,navigationData:$,hideGetStarted:A}=e,{t:L}=(0,y.Z)("common"),{t:I}=(0,y.Z)("dashboard"),{t:T}=(0,y.Z)("get-started"),{userStore:P}=(0,D.o)(),{theme:U,setTheme:H}=(0,w.F)(),[W,F]=(0,a.useState)(!1),[Y,Z]=(0,a.useState)(!1),[R,J]=(0,a.useState)(!1),V=(0,k.useRouter)(),{lang:X}=(0,y.Z)("common"),[B,q]=(0,a.useState)(!0),G=(0,a.useRef)(null);(0,a.useEffect)(()=>{if(!V.isReady)return;let e=new URLSearchParams(window.location.search),t=Array.from(e.keys());if(e.has("ref")&&1===t.length){let t=e.get("ref");P.setRefCode(t),J(!0),V.replace(V.asPath.split("?")[0])}},[V]),(0,a.useEffect)(()=>{P.loadUserInfo().then(()=>{let e=V.asPath;(e.startsWith("/login")||e.startsWith("/signup"))&&V.push("/market")}),P.getIpAddress()},[]),(0,a.useEffect)(()=>{F(!0)},[]),(0,a.useEffect)(()=>
1{if(!W)return;let e=G.current;if(!e)return;let t=()=>{document.documentElement.style.setProperty("--app-header-height","".concat(e.offsetHeight,"px"))};if(t(),"undefined"==typeof ResizeObserver)return window.addEventListener("resize",t),()=>window.removeEventListener("resize",t);let r=new ResizeObserver(t);return r.observe(e),()=>r.disconnect()},[W]);let Q=e=>{(0,C.oT)({locale:e,asPath:V.asPath,defaultLocale:V.defaultLocale,locales:V.locales}),Z(!1)};if((0,a.useEffect)(()=>{let e=e=>{Y&&!e.target.closest("#lang-menu-container")&&Z(!1)};return document.addEventListener("click",e),()=>document.removeEventListener("click",e)},[Y]),!W)return null;V.asPath.includes("/suno-api");let K=M.F.filter(e=>!r||r.includes(e.code)),ee=K.find(e=>e.code===X);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{ref:G,className:"fixed left-0 top-0 z-40 w-full px-3 pt-3 sm:px-4 sm:pt-4",children:(0,n.jsxs)(f.R,{isBlurred:!1,classNames:{base:(0,o.cn)("static mx-auto w-auto max-w-7xl rounded-2xl","border border-white/45 bg-[linear-gradient(100deg,rgba(255,255,255,0.82)_0%,rgba(245,245,248,0.7)_48%,rgba(237,233,254,0.72)_100%)] shadow-lg shadow-violet-950/[0.05] backdrop-blur-2xl backdrop-saturate-150","dark:border-white/10 dark:bg-[linear-gradient(100deg,rgba(91,49,174,0.78)_0%,rgba(70,29,92,0.62)_48%,rgba(17,14,28,0.86)_100%)] dark:shadow-black/25"),item:"data-[active=true]:text-primary",wrapper:"px-4 sm:px-6 max-w-full"},height:"60px",children:[(0,n.jsx)(m.H,{children:(0,n.jsx)("div",{className:"flex items-center",children:(0,n.jsxs)(h.O,{href:"/",className:"text-lg font-bold text-foreground",children:[(0,n.jsx)(N(),{src:"/logo.png",alt:"emix.ai",width:50,height:50,unoptimized:!0,className:"mr-2 h-auto w-8"}),(0,n.jsx)("p",{className:"hidden font-bold text-inherit md:inline-block",children:"EMIX API"})]})})}),(null==$?void 0:null===(t=$.navigationList)||void 0===t?void 0:t.length)>0&&(0,n.jsx)(x.U,{className:"ml-4 hidden h-12 w-full max-w-fit gap-6 rounded-full bg-default-100/60 px-4 text-sm dark:bg-default-200/40 sm:flex",justify:"start",children:(0,n.jsx)(_.YA,{navigationData:$,titleClassName:"w-max flex gap-2 text-[15px] text-default-700 text-inherit transition duration-500 hover:opacity-80"})}),(0,n.jsxs)(x.U,{className:"ml-auto flex h-12 max-w-fit items-center gap-1.5",justify:"end",children:[(0,n.jsx)(v.k,{className:"inline-flex",children:(0,n.jsx)(g.A,{isIconOnly:!0,radius:"full",variant:"light",onPress:()=>{H("light"===U?"dark":"light")},className:"h-10 w-10 min-w-10 border border-transparent bg-transparent text-default-500 transition-all duration-200 hover:border-violet-400 hover:bg-violet-500/20 hover:text-violet-600 hover:shadow-sm hover:shadow-violet-500/20 dark:text-white/55 dark:hover:border-violet-500/45 dark:hover:bg-violet-500/15 dark:hover:text-violet-300",children:(0,n.jsx)(j.JO,{icon:"light"===U?"solar:moon-linear":"solar:sun-linear",width:21})})}),!(r&&0===r.length)&&(0,n.jsx)(v.k,{className:"inline-flex",children:(0,n.jsxs)("div",{className:"relative",id:"lang-menu-container",children:[(0,n.jsx)(g.A,{isIconOnly:!0,radius:"full",variant:"light",onPress:()=>{Z(!Y)},className:(0,o.cn)("h-10 w-10 min-w-10 border transition-all duration-200 hover:border-violet-400 hover:bg-violet-500/20 hover:text-violet-600 hover:shadow-sm hover:shadow-violet-500/20 dark:hover:border-violet-500/45 dark:hover:bg-violet-500/15 dark:hover:text-violet-300",Y?"border-violet-300 bg-violet-100 text-violet-600 shadow-sm shadow-violet-500/20 dark:border-violet-500/45 dark:bg-violet-500/15 dark:text-violet-300":"border-transparent bg-transparent text-default-500 dark:text-white/55"),children:(0,n.jsx)(j.JO,{icon:"iconoir:language",width:21})}),Y&&(0,n.jsxs)("div",{className:"fixed left-4 right-4 top-24 z-[999999] w-auto overflow-hidden rounded-xl border border-default-200/80 bg-white/95 p-3 shadow-2xl shadow-violet-950/10 backdrop-blur-xl dark:border-white/10 dark:bg-[#17151d]/95 dark:shadow-black/40 sm:absolute sm:left-auto sm:right-[-3.5rem] sm:top-12 sm:w-[18rem]",style:{pointerEvents:"auto"},dir:"ltr",children:[(0,n.jsxs)("div",{className:"flex items-center justify-between border-b border-default-200/80 px-1 pb-3 dark:border-white/10",children:[(0,n.jsx)("p",{className:"text-xs uppercase tracking-[0.12em] text-default-400",children:"Current language"}),(0,n.jsx)("span",{className:"rounded-lg bg-violet-100 px-2.5 py-1 text-xs font-semibold lowercase text-violet-600 dar
1k:bg-violet-500/20 dark:text-violet-300",children:(null==ee?void 0:ee.code)||X})]}),(0,n.jsx)("div",{className:"scrollbar-thin scrollbar-track-transparent scrollbar-thumb-default-300 dark:scrollbar-thumb-white/20 mt-3 max-h-[min(60vh,26rem)] space-y-1 overflow-y-auto pr-1",children:K.map(e=>{let t=e.code===X;return(0,n.jsxs)("button",{type:"button",onClick:()=>Q(e.code),className:(0,o.cn)("flex w-full items-center gap-2 rounded-2xl px-3 py-2 text-left transition","hover:bg-violet-500/10 hover:text-violet-600 dark:hover:bg-violet-500/15 dark:hover:text-violet-300",t?"border border-violet-300 bg-violet-100/80 text-violet-600 dark:border-violet-500/50 dark:bg-violet-500/15 dark:text-violet-300":"border border-transparent text-default-700 dark:text-white/90"),children:[(0,n.jsx)("span",{className:(0,o.cn)("flex w-8 shrink-0 items-center justify-center rounded-lg px-1 py-1 text-xs font-bold uppercase",t?"bg-violet-200 text-violet-600 dark:bg-violet-500/25 dark:text-violet-200":"bg-default-100 text-default-500 dark:bg-white/[0.08] dark:text-white/50"),children:z(e.code)}),(0,n.jsx)("span",{className:"min-w-0 flex-1 truncate text-left text-sm font-semibold",dir:"ltr",children:e.name}),t&&(0,n.jsx)(j.JO,{icon:"mdi:check",width:22,className:"shrink-0 text-violet-600 dark:text-violet-300"})]},e.code)})})]})]})}),!A&&(0,n.jsx)(v.k,{className:"inline-flex",children:P.user?(0,n.jsx)(e=>{var t,r,a,f;let{isMobile:m}=e;return(0,n.jsxs)(i.F,{placement:"bottom-end",children:[(0,n.jsx)(s.S,{children:(0,n.jsx)("button",{className:(0,o.cn)("mb-3 outline-none transition-transform",m?"h-8 w-8":"mt-1 h-8 w-8"),children:(0,n.jsx)(l.O,{color:"success",content:"",placement:"bottom-right",shape:"circle",children:(0,n.jsx)(c.h,{size:"sm",src:(null===(t=P.user)||void 0===t?void 0:t.avatar)||"/images/svg/default-avatar.svg"})})})}),(0,n.jsxs)(d.a,{"aria-label":"Profile Actions",variant:"flat",className:"w-64 p-1.5",children:[(0,n.jsx)(u.W,{isReadOnly:!0,textValue:"profile",className:"cursor-default rounded-xl bg-default-100/60 opacity-100 data-[hover=true]:bg-default-100/60 dark:bg-white/5",children:(0,n.jsxs)("div",{className:"flex items-center gap-3 py-1",children:[(0,n.jsx)(c.h,{size:"sm",src:(null===(r=P.user)||void 0===r?void 0:r.avatar)||"/images/svg/default-avatar.svg"}),(0,n.jsxs)("div",{className:"min-w-0",children:[(0,n.jsx)("p",{className:"truncate text-sm font-semibold text-foreground",children:null===(a=P.user)||void 0===a?void 0:a.nickname}),(0,n.jsx)("p",{className:"truncate text-xs text-default-500",children:null===(f=P.user)||void 0===f?void 0:f.email})]})]})},"profile"),(0,n.jsx)(u.W,{as:h.O,href:"/market",showDivider:!0,className:"mt-1 rounded-lg",startContent:(0,n.jsx)(j.JO,{icon:"solar:shop-2-bold",width:18,className:"text-default-500"}),children:(0,n.jsx)("span",{className:"text-default-700",children:"Market"})},"dashboard"),(0,n.jsx)(u.W,{color:"danger",className:"rounded-lg text-danger",startContent:(0,n.jsx)(j.JO,{icon:"solar:logout-2-bold",width:18}),onPress:()=>{P.logout().then(()=>{V.reload()})},children:(0,n.jsxs)("span",{className:"inline-flex items-center gap-2",children:[I("logout.title"),(0,n.jsx)(S.Z,{size:6,loading:P.logoutLoading,color:"#ef4444"})]})},"logout")]})]})},{isMobile:!1}):(0,n.jsx)(g.A,{radius:"full",onPress:()=>J(!0),endContent:(0,n.jsx)(j.JO,{icon:"solar:alt-arrow-right-linear",width:15}),className:"ml-1 bg-gradient-to-r from-violet-600 to-fuchsia-500 px-4 font-semibold text-white shadow-md shadow-violet-500/30 transition-all hover:shadow-lg hover:shadow-violet-500/40",children:T("nav.getStarted")})}),(0,n.jsx)(b.L,{className:"ml-2 text-[var(--akr-color-text-primary)] md:hidden"})]}),(0,n.jsx)(p.$,{className:"bg-white pt-6",children:$&&(0,n.jsx)(_.gS,{navigationData:$})})]})}),P.openGoogleOneTapLogin&&(0,n.jsx)(O.Z,{}),(0,n.jsx)(E.Z,{isOpen:R,onClose:()=>J(!1),onLoginSuccess:()=>{P.loadUserInfo()}})]})})},76260:function(e,t,r){"use strict";r.d(t,{F:function(){return n}});let n=[{name:"English",code:"en"},{name:"ç®ä½ä¸æ",code:"zh-CN"},{name:"Espa\xf1ol",code:"es"},{name:"Fran\xe7ais",code:"fr"},{name:"Deutsch",code:"de"},{name:"Ð ÑÑÑкий",code:"ru"},{name:"æ¥æ¬èª",code:"ja"},{name:"Ø§ÙØ¹Ø±Ø¨ÙØ©",code:"ar"},{name:"Portugu\xeas",code:"pt"},{name:"Italiano",code:"it"},{name:"Bahasa Indonesia",code:"id"},{name:"Nederlands",code:"nl"},{name:"Tiếng Viá»t",code:"vi"},{name:"T\xfcrk\xe7e",code:"tr"},{name:"íêµì´",code:"ko"},{name:"ÙØ§Ø±Ø³Û",code:"fa"},{name:"हिनà¥à¤¦à¥",code:"hi"}]},10929:function(e,t,r){"use strict";r.d(t,{cn:function(){return i}});var n=r(65117),a=r(82598);function i(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return(0,a.m6)((0,n.W)(t))}r(26837)},68702:function(e,t,r){"use strict";function n(){let{locale:e,asPath:t="/",defaultLocale:r="en",locales:n=[]}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e&&(!(n.length>0)||n.includes(e))&&("undefined"!=typeof document&&e&&(document.cookie="".concat("NEXT_LOCALE","=").concat(encodeURIComponent(e),"; path=/; max-age=").concat(31536e3,"; samesite=lax")),window.location.assign(function(){let{asPath:e="/",locale:t,defaultLocale:r="en",locales:n=[]}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!t)return e||"/";let{pathname:a,query:i,hash:s}=function(e){let t="string"==typeof e&&e?e:"/",r=t.indexOf("#"),n=r>=0?t.slice(r):"",a=r>=0?t.slice(0,r):t,i=a.indexOf("?"),s=i>=0?a.slice(i):"";return{pathname:(i>=0?a.slice(0,i):a)||"/",query:s,hash:n}}(e),o=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(!e||"/"===e)return"/";let r=e.split("/"),n=t.includes(r[1])?r.slice(2):r.slice(1),a="/".concat(n.join("/")).replace(/\/+$/,"")||"/";return"/index"===a?"/":a}(a,n),l=t===r?"":"/".concat(t);
1return"/"===o?"".concat(l||"/").concat(i).concat(s):"".concat(l).concat(o).concat(i).concat(s)}({asPath:t,locale:e,defaultLocale:r,locales:n})))}r.d(t,{oT:function(){return n}})},24863:function(){},82963:function(){}}]);
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.