1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4324],{2273:(e,t,r)=>{r.d(t,{A:()=>o});var a=r(5155),s=r(2619),n=r.n(s),i=r(7115),l=r(3664);function o(){let{dict:e}=(0,i.x)();return(0,a.jsx)("footer",{className:"bg-background border-t border-border pt-16 pb-8 px-4 lg:px-10",children:(0,a.jsxs)("div",{className:"mx-auto max-w-[1440px]",children:[(0,a.jsxs)("div",{className:"flex flex-col md:flex-row justify-between gap-12 mb-12",children:[(0,a.jsxs)("div",{className:"max-w-sm",children:[(0,a.jsxs)(n(),{href:"/".concat("en"===e.lang?"":e.lang),className:"flex items-center gap-2 text-primary mb-4",children:[(0,a.jsx)("img",{className:"w-8 h-8",src:"/icon.svg",alt:"Hentai AI"}),(0,a.jsx)("span",{className:"text-xl font-bold text-white",children:"Hentai AI"})]}),(0,a.jsx)("p",{className:"text-secondary mb-4",children:e.footer.desc}),(0,a.jsx)("div",{className:"flex flex-col gap-2",children:(0,a.jsxs)("a",{href:"mailto:[email protected]",className:"text-sm text-secondary hover:text-primary flex items-center",children:[(0,a.jsx)(l.A,{className:"w-4 h-4 mr-2"}),"[email protected]"]})})]}),(0,a.jsx)("div",{className:"flex flex-wrap gap-12 sm:gap-24",children:(0,a.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,a.jsx)("h3",{className:"font-bold text-white",children:e.footer.information}),(0,a.jsx)(n(),{href:"/privacy-policy",target:"_blank",className:"text-sm text-secondary hover:text-primary",children:e.footer.privacyPolicy}),(0,a.jsx)(n(),{href:"/terms-of-service",target:"_blank",className:"text-sm text-secondary hover:text-primary",children:e.footer.termsOfService}),(0,a.jsx)(n(),{href:"".concat("en"==e.lang?"":"/"+e.lang,"/rewards"),className:"text-sm text-secondary hover:text-primary",children:e.affiliate.title}),(0,a.jsx)(n(),{href:"/about-us",target:"_blank",className:"text-sm text-secondary hover:text-primary",children:e.footer.aboutUs}),(0,a.jsx)(n(),{href:"/contact-us",target:"_blank",className:"text-sm text-secondary hover:text-primary",children:e.footer.contactUs}),(0,a.jsx)(n(),{href:"/content-guidelines",target:"_blank",className:"text-sm text-secondary hover:text-primary",children:e.footer.contentGuidelines}),(0,a.jsx)(n(),{href:"/disclaimer",target:"_blank",className:"text-sm text-secondary hover:text-primary",children:e.footer.disclaimer}),(0,a.jsx)(n(),{href:"/responsible-ai",target:"_blank",className:"text-sm text-secondary hover:text-primary",children:e.footer.responsibleAI}),(0,a.jsx)(n(),{href:"/content-ownership",target:"_blank",className:"text-sm text-secondary hover:text-primary",children:e.footer.contentOwnership})]})})]}),(0,a.jsx)("div",{className:"flex flex-col md:flex-row justify-center items-center border-t border-border pt-8 gap-4",children:(0,a.jsxs)("p",{className:"text-sm text-secondary",children:["\xa9 ",new Date().getFullYear()," Uncensoredhentai.AI. All rights reserved."]})})]})})}r(3632)},2452:(e,t,r)=>{r.d(t,{N:()=>l,U:()=>i});var a=r(5155),s=r(2115);let n=(0,s.createContext)();function i(e){let{children:t,dict:r}=e,[i,l]=(0,s.useState)([0,0]),[o,d]=(0,s.useState)(!1),[c,x]=(0,s.useState)("Network Error!");return(0,s.useEffect)(()=>{let e=()=>{l([window.innerWidth,window.innerHeight])};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]),(0,a.jsx)(n.Provider,{value:{innerSize:i},children:t})}function l(){return(0,s.useContext)(n)}},3931:(e,t,r)=>{r.d(t,{cn:()=>n});var a=r(2821),s=r(5889);function n(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return(0,s.QP)((0,a.$)(t))}},4128:(e,t,r)=>{r.d(t,{Cf:()=>c,L3:()=>m,c7:()=>x,lG:()=>l,rr:()=>u});var a=r(5155);r(2115);var s=r(8860),n=r(5229),i=r(3931);function l(e){let{...t}=e;return(0,a.jsx)(s.bL,{"data-slot":"dialog",...t})}function o(e){let{...t}=e;return(0,a.jsx)(s.ZL,{"data-slot":"dialog-portal",...t})}function d(e){let{className:t,...r}=e;return(0,a.jsx)(s.hJ,{"data-slot":"dialog-overlay",className:(0,i.cn)("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",t),...r})}function c(e){let{className:t,children:r,showCloseButton:l=!0,...c}=e;return(0,a.jsxs)(o,{"data-slot":"dialog-portal",children:[(0,a.jsx)(d,{}),(0,a.jsxs)(s.UC,{"data-slot":"dialog-content",className:(0,i.cn)("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 roun
1ded-lg border p-6 shadow-lg duration-200 sm:max-w-lg",t),...c,children:[r,l&&(0,a.jsxs)(s.bm,{"data-slot":"dialog-close",className:"ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",children:[(0,a.jsx)(n.A,{}),(0,a.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})}function x(e){let{className:t,...r}=e;return(0,a.jsx)("div",{"data-slot":"dialog-header",className:(0,i.cn)("flex flex-col gap-2 text-center sm:text-left",t),...r})}function m(e){let{className:t,...r}=e;return(0,a.jsx)(s.hE,{"data-slot":"dialog-title",className:(0,i.cn)("text-lg leading-none font-semibold",t),...r})}function u(e){let{className:t,...r}=e;return(0,a.jsx)(s.VY,{"data-slot":"dialog-description",className:(0,i.cn)("text-muted-foreground text-sm",t),...r})}},4516:(e,t,r)=>{r.d(t,{p:()=>n});var a=r(5155);r(2115);var s=r(3931);function n(e){let{className:t,type:r,...n}=e;return(0,a.jsx)("input",{type:r,"data-slot":"input",className:(0,s.cn)("file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input flex h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm","focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]","aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",t),...n})}},5068:(e,t,r)=>{r.d(t,{A:()=>i});var a=r(5155),s=r(7356),n=r(3632);function i(e){let{className:t,isLoading:r,loadingText:i,variant:l="default",onClick:o=()=>{},size:d="default",disabled:c=!1,children:x}=e;return(0,a.jsx)(s.$,{className:t,disabled:r||c,variant:l,size:d,onClick:o,children:r?(0,a.jsxs)("span",{className:"flex items-center",children:[(0,n.qs)("w-5 h-5 ".concat(""===i?"":"mr-2")),i]}):x})}},7356:(e,t,r)=>{r.d(t,{$:()=>o});var a=r(5155);r(2115);var s=r(2467),n=r(3101),i=r(3931);let l=(0,n.F)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",destructive:"bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9"}},defaultVariants:{variant:"default",size:"default"}});function o(e){let{className:t,variant:r,size:n,asChild:o=!1,...d}=e,c=o?s.DX:"button";return(0,a.jsx)(c,{"data-slot":"button",className:(0,i.cn)(l({variant:r,size:n,className:t})),...d})}},9537:(e,t,r)=>{r.d(t,{A:()=>A});var a=r(5155),s=r(2115),n=r(6591),i=r(3931);function l(e){let{className:t,...r}=e;return(0,a.jsx)(n.bL,{"data-slot":"avatar",className:(0,i.cn)("relative flex size-8 shrink-0 overflow-hidden rounded-full",t),...r})}function o(e){let{className:t,...r}=e;return(0,a.jsx)(n._V,{"data-slot":"avatar-image",className:(0,i.cn)("aspect-square size-full",t),...r})}function d(e){let{className:t,...r}=e;return(0,a.jsx)(n.H4,{"data-slot":"avatar-fallback",className:(0,i.cn)("bg-muted flex size-full items-center justify-center rounded-full",t),...r})}var c=r(3632),x=r(7115),m=r(2619),u=r.n(m),f=r(7356),h=r(9265);r(63);var g=r(7650),p=r(4128),v=r(5068),b=r(4516),j=r(9957),y=r(8720);function N(e){let{isDialogOpen:t,onOpenChange:r}=e,{setUserData:n,userData:i,dict:l}
1=(0,x.x)(),[o,d]=(0,s.useState)(""),[c,m]=(0,s.useState)(!1);return(0,a.jsx)(p.lG,{open:t,onOpenChange:r,children:(0,a.jsxs)(p.Cf,{className:"rounded-2xl border-0 bg-gradient-to-br from-gray-900 via-gray-800 to-gray-900 shadow-2xl max-w-md w-[95vw] sm:w-full max-h-[90vh] flex flex-col items-center justify-center",children:[(0,a.jsx)("div",{className:"absolute inset-0 bg-gradient-to-br from-pink-500/10 via-purple-500/10 to-blue-500/10 rounded-2xl pointer-events-none"}),(0,a.jsx)(p.c7,{className:"text-center space-y-1 sm:space-y-2 pb-2",children:(0,a.jsx)(p.L3,{className:"text-xl sm:text-2xl font-bold bg-gradient-to-r from-pink-400 via-purple-400 to-blue-400 bg-clip-text text-transparent",children:l.nav.redeemCodeTitle})}),(0,a.jsxs)("div",{className:"w-60 flex flex-col items-center justify-center",children:[(0,a.jsx)(b.p,{id:"redeem_code",placeholder:l.nav.redeemCodeTitle,required:!0,onChange:e=>{d(e.target.value)},value:o}),(0,a.jsx)(v.A,{className:"mt-4 bg-primary",onClick:()=>{if(6!==o.length)return void y.oR.error(l.nav.redeemCodeTitle);m(!0),(0,j.o4)(o,e=>{y.oR.success("+"+e.add_credits+" "+l.home.credits);let t=i.credits+e.add_credits;n(e=>({...e,credits:t})),m(!1),d("")},e=>{y.oR.error(e.toString()),m(!1)})},isLoading:c,loadingText:l.payResult.loading,children:l.nav.redeem})]})]})})}var w=r(3),k=r(4926),z=r(1360);let _=()=>{var e,t;let{userData:r,dict:n,setIsLogout:i,setIsDeleteConfirmOpen:c,setIsUserMenuOpen:m}=(0,x.x)(),[f,p]=(0,s.useState)(!1),[v,b]=(0,s.useState)(!1);(0,s.useEffect)(()=>{b(!0);let e=e=>{"Escape"===e.key&&m(!1)};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[m]);let j=(null==r?void 0:r.email)||(null==r?void 0:r.user_email)||(null==r?void 0:r.account)||"--",y=(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"fixed inset-0 z-[9999]",onClick:()=>m(!1),children:(0,a.jsxs)("div",{className:"absolute right-6 top-16 w-[260px] rounded-xl border border-border/60 bg-background/95 shadow-xl backdrop-blur-md",onClick:e=>e.stopPropagation(),children:[(0,a.jsxs)("div",{className:"flex items-center gap-3 border-b border-border/60 px-4 py-3",children:[(0,a.jsxs)(l,{className:"size-10",children:[(0,a.jsx)(o,{src:null==r?void 0:r.avatar}),(0,a.jsx)(d,{children:(0,a.jsx)(h.A,{className:"size-5"})})]}),(0,a.jsx)("div",{className:"min-w-0",children:(0,a.jsx)("div",{className:"text-sm font-semibold text-white truncate",children:j})})]}),(0,a.jsxs)("div",{className:"px-2 py-2 text-sm",children:[(0,a.jsxs)(u(),{href:"/".concat((null==n?void 0:n.lang)=="en"?"":(null==n?void 0:n.lang)+"/","orders"),className:"flex w-full items-center gap-2 rounded-lg px-3 py-2 text-gray-200 hover:bg-white/5",children:[(0,a.jsx)(w.A,{className:"size-4"}),(0,a.jsx)("span",{children:n.nav.myOrders})]}),(0,a.jsxs)("button",{className:"flex w-full items-center gap-2 rounded-lg px-3 py-2 text-gray-200 hover:bg-white/5",onClick:()=>{i(!0),m(!1)},children:[(0,a.jsx)(k.A,{className:"size-4"}),(0,a.jsx)("span",{children:null==n||null==(e=n.nav)?void 0:e.signOut})]}),(0,a.jsxs)("button",{className:"mt-1 flex w-full items-center gap-2 rounded-lg px-3 py-2 text-red-400 hover:bg-red-500/10",onClick:()=>{c(!0),m(!1)},children:[(0,a.jsx)(z.A,{className:"size-4"}),(0,a.jsx)("span",{children:null==n||null==(t=n.nav)?void 0:t.deleteAccount})]})]})]})}),(0,a.jsx)(N,{isDialogOpen:f,onOpenChange:p})]});return v&&"undefined"!=typeof document?(0,g.createPortal)(y,document.body):null},C=(0,r(7909).default)(()=>Promise.all([r.e(6163),r.e(9938),r.e(598)]).then(r.bind(r,598)),{loadableGenerated:{webpack:()=>[598]},ssr:!1}),A=e=>{let{lang:t}=e,{userData:r,isLoginOpen:s,setIsLoginOpen:n,dict:i,isUserMenuOpen:m,setIsUserMenuOpen:g}=(0,x.x)();return(0,a.jsxs)("header",{className:"fixed top-0 z-50 w-full border-b border-border bg-background/95 backdrop-blur-md",children:[(0,a.jsxs)("div",{className:"mx-auto flex h-16 max-w-[1440px] items-center justify-between px-6 lg:px-10",children:[(0,a.jsx)("a",{href:"/".concat("en"==t?"":t),children:(0,a.jsxs)("div",{className:"flex items-center gap-1",children:[(0,a.jsx)("img",{className:"size-8",src:"/icon.svg",alt:"Hentai AI"}),(0,a.jsx)("h2",{className:"text-xl font-bold tracking-tight",children:"Hentai AI"})]})}),(0,a.jsx)("nav",{className:"hidden md:flex items-center gap-8",children:[{title:"home",href:"/".concat("en"==t?"":t+"/")},{title:"pricing",href:"/".concat("en"==t?"":t+"/","pricing")},{title:"rewards",href:"/".concat("en"==t?"":t+"/","rewards")}].map(e=>(0,a.jsx)("a",{className:"text-sm hover:text-primary transition-colors",href:e.href,children:i.nav[e.title]},e.title))}),(0,a.jsx)("div",{children:r&&1==r.account_type?(0,a.jsxs)("div",{className:"flex items-center gap-3",children:[(0,a.jsx)(u(),{href:"".concat("en"==t?"":"/"+t,"/pricing"),className:"block",children:(0,a.jsxs)("div",{className:"flex flex-row items-center cursor-pointer gap-1",children:[(0,c.G$)("size-6 inline"),(0,a.jsx)("div",{className:"text-white font-bold md:text-base",children:r.credits})]})}),(0,a.jsxs)(l,{className:"w-8 h-8 cursor-pointer",onClick:()=>g(!0),children:[(0,a.jsx)(o,{src:r.avatar}),(0,a.jsx)(d,{children:(0,a.jsx)(h.A,{className:"w-6 h-6"})})]})]}):(0,a.jsx)(f.$,{className:"font-bold text-background",onClick:()=>n(!0),children:i.home.tryForFree})})]}),m&&(0,a.jsx)(_,{}),(r||s)&&(0,a.jsx)(C,{isDialogOpen:s,onOpenChange:n})]})}}}]);
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.