PageSourceSearch

https://slive.ai/_next/static/chunks/22187-554d4a432fc4c548.js

js slive.ai collected 2026-10-05 12:39:53 UTC 8,683 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[22187],{35001:(e,a,t)=>{t.d(a,{A:()=>n});var s=t(95155),l=t(6296),r=t(50910),i=t(72366),o=t(68189);let n=({open:e,onOpenChange:a,onConfirm:t,busy:n=!1})=>{let d=(0,r.c)("LOGIN");return(0,s.jsx)(i.Lt,{open:e,onOpenChange:a,children:(0,s.jsxs)(i.EO,{children:[(0,s.jsxs)(i.wd,{children:[(0,s.jsx)(i.r7,{children:d("SESSION_OPEN_TITLE")}),(0,s.jsx)(i.$v,{children:d("SESSION_OPEN_DESCRIPTION")})]}),(0,s.jsxs)(i.ck,{children:[(0,s.jsx)(i.Zr,{disabled:n,children:d("SESSION_OPEN_CANCEL")}),(0,s.jsx)(o.Button,{variant:"destructive",disabled:n,onClick:t,children:n?(0,s.jsx)(l.A,{className:"h-[18px] w-[18px] animate-spin"}):d("SESSION_OPEN_CONFIRM")})]})]})})}},57657:(e,a,t)=>{t.d(a,{Dialog:()=>n,DialogClose:()=>m,DialogContent:()=>u,DialogDescription:()=>g,DialogFooter:()=>x,DialogHeader:()=>p,DialogTitle:()=>N,DialogTrigger:()=>d,L:()=>f,Z:()=>c});var s=t(95155),l=t(12115),r=t(19725),i=t(33210),o=t(86190);let n=r.bL,d=r.l9,c=r.ZL,m=r.bm,f=l.forwardRef(({className:e,...a},t)=>(0,s.jsx)(r.hJ,{ref:t,className:(0,o.cn)("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...a}));f.displayName=r.hJ.displayName;let u=l.forwardRef(({className:e,children:a,hideCloseButton:t=!1,closeLabel:l="Close",...n},d)=>(0,s.jsxs)(c,{children:[(0,s.jsx)(f,{}),(0,s.jsxs)(r.UC,{ref:d,className:(0,o.cn)("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 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 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",e),...n,children:[a,!t&&(0,s.jsxs)(r.bm,{className:"absolute right-4 top-4 roun
1ded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[(0,s.jsx)(i.A,{className:"h-4 w-4"}),(0,s.jsx)("span",{className:"sr-only",children:l})]})]})]}));u.displayName=r.UC.displayName;let p=({className:e,...a})=>(0,s.jsx)("div",{className:(0,o.cn)("flex flex-col space-y-1.5 text-center sm:text-left",e),...a});p.displayName="DialogHeader";let x=({className:e,...a})=>(0,s.jsx)("div",{className:(0,o.cn)("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...a});x.displayName="DialogFooter";let N=l.forwardRef(({className:e,...a},t)=>(0,s.jsx)(r.hE,{ref:t,className:(0,o.cn)("text-lg font-semibold leading-none tracking-tight",e),...a}));N.displayName=r.hE.displayName;let g=l.forwardRef(({className:e,...a},t)=>(0,s.jsx)(r.VY,{ref:t,className:(0,o.cn)("text-sm text-muted-foreground",e),...a}));g.displayName=r.VY.displayName},72366:(e,a,t)=>{t.d(a,{$v:()=>N,EO:()=>f,Lt:()=>n,Rx:()=>g,Zr:()=>h,ck:()=>p,r7:()=>x,tv:()=>d,wd:()=>u});var s=t(95155),l=t(12115),r=t(284),i=t(86190),o=t(68189);let n=r.bL,d=r.l9,c=r.ZL,m=l.forwardRef(({className:e,...a},t)=>(0,s.jsx)(r.hJ,{className:(0,i.cn)("fixed inset-0 z-50 bg-black/60  data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...a,ref:t}));m.displayName=r.hJ.displayName;let f=l.forwardRef(({className:e,...a},t)=>(0,s.jsxs)(c,{children:[(0,s.jsx)(m,{}),(0,s.jsx)(r.UC,{ref:t,className:(0,i.cn)("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 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 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",e),...a})]}));f.displayName=r.UC.displayName;let u=({className:e,...a})=>(0,s.jsx)("div",{className:(0,i.cn)("flex flex-col space-y-2 text-center sm:text-left",e),...a});u.displayName="AlertDialogHeader";let p=({className:e,...a})=>(0,s.jsx)("div",{className:(0,i.cn)("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...a});p.displayName="AlertDialogFooter";let x=l.forwardRef(({className:e,...a},t)=>(0,s.jsx)(r.hE,{ref:t,className:(0,i.cn)("text-lg font-semibold",e),...a}));x.displayName=r.hE.displayName;let N=l.forwardRef(({className:e,...a},t)=>(0,s.jsx)(r.VY,{ref:t,className:(0,i.cn)("text-sm text-muted-foreground",e),...a}));N.displayName=r.VY.displayName;let g=l.forwardRef(({className:e,...a},t)=>(0,s.jsx)(r.rc,{ref:t,className:(0,i.cn)((0,o.buttonVariants)(),e),...a}));g.displayName=r.rc.displayName;let h=l.forwardRef(({className:e,...a},t)=>(0,s.jsx)(r.ZD,{ref:t,className:(0,i.cn)((0,o.buttonVariants)({variant:"outline"}),"mt-2 sm:mt-0",e),...a}));h.displayName=r.ZD.displayName},72384:(e,a,t)=>{t.d(a,{W2:()=>l,rH:()=>s});let s="0138";function l(e){let a,t="string"==typeof e&&e?e:null;if(!t)return{code:null,messages:null,text:null};try{a=JSON.parse(t)}catch{return{code:null,messages:null,text:t}}return!a||"object"!=typeof a||Array.isArray(a)?{code:null,messages:null,text:t}:{code:"string"==typeof a.code?a.code:null,messages:a,text:t}}},85734:(e,a,t)=>{t.d(a,{default:()=>n});var s=t(95155),l=t(57657),r=t(68189);t(5772);var i=t(73321),o=t(12115);let n=({isOpen:e=!1,header:a,subheader:t,body:n,options:d=[]})=>{let[c,m]=(0,o.useState)(e),[f,u]=(0,o.useState)(!1),p=(0,i.useRouter)();return((0,o.useEffect)(()=>{u(!0)},[]),f)?(0,s.jsx)(l.Dialog,{open:c,onOpenChange:m,children:(0,s.jsxs)(l.DialogContent,{className:"sm:max-w-md font-sans space-y-1",children:[(0,s.jsxs)(l.DialogHeader,{className:"justify-center space-y-2 items-center",children:[(0,s.jsx)("div",{className:"relative bg-primary-100 mb-2 text-primary rounded-full border-4 border-primary w-48 h-48 p-2 flex justify-center text-center items-center",children:(0,s.jsx)("img",{className:"object-contain object-center rounded-full",src:"/Images/new_product_illustration2.jpg",fill:!0})}),(0,s.jsx)(l.DialogTitle,{className:"text-center font-semibold",children:a}),(0,s.jsx)(l.DialogTitle,{className:"text-center",children:t})]}),(0,s.jsx)("div",{children:(0,s.jsx)("p",{className:"text-center text-sm",children:n})}),(0,s.jsx)(l.DialogFooter,{className:"flex-col sm:flex-col sm:space-y-2",children:d.length>0?d.map((e,a)=>(0,s.jsx)(r.Button,{variant:e.variant,onClick:e.url?()=>{p.push(e.url),m(!1)}:()=>m(!1),children:e.label},a)):(0,s.jsx)(r.Button,{size:"sm",variant:"default",onClick:()=>m(!1),children:"Close"})})]})}):null}},92627:(e,a,t)=>{t.d(a,{A:()=>g});var s=t(95155),l=t(12115),r=t(67192),i=t(2614),o=t(6296),n=t(9339);let d=(0,n.createServerReference)("4056363044e5149fdad6ac5f2fcb34f8946b16a189",n.callServer,void 0,n.findSourceMapURL,"validateUser");var c=t(50910),m=t(11697),f=t(73321),u=t(68189),p=t(99653),x=t(27809),N=t(88260);let g=({email:e,onEmailChange:a,onConfirmed:t,registerUrl:n})=>{let g=(0,c.c)("LOGIN"),h=(0,f.useRouter)(),j=(0,m.Ym)(),[y,b]=(0,l.useState)(""),[E,v]=(0,l.useState)(!1),C=async a=>{if(a.preventDefault(),e.trim()&&!E){v(!0);try{b("");let a=await d(e);if(!a.Error)return void t(a.Data);if(a.Data){h.push(`/register/verifyUser?${new URLSearchParams({email:e,UId:a.Data}).toString()}`),i.toast.info(a.Message[j]);return}b("CONNECTION_ERROR"===a.Code?g("CONNECTION_ERROR"):a.Message?.[j]??a.Message?.en??g("CONNECTION_ERROR"))}catch(e){console.error("[login] validateUser threw:",e),b(g("CONNECTION_ERROR"))}finally{v(!1)}}};return(0,s.jsxs)(r.P.div,{className:"flex w-full flex-col gap-[22px] md:gap-6",initial:{opacity:0}
1,animate:{opacity:1},transition:{duration:.3},children:[(0,s.jsx)(x.tf,{title:g("WELCOME_BACK"),subtitle:g("WELCOME_BACK_SUBTITLE")}),(0,s.jsx)(N.A,{variant:"auth"}),(0,s.jsx)(x.YZ,{label:g("OR_WITH_EMAIL")}),(0,s.jsxs)("form",{className:"flex flex-col gap-[22px] md:gap-6",onSubmit:C,noValidate:!0,children:[(0,s.jsx)(p.A,{id:"login-email",type:"email",name:"aEmail",label:g("EMAIL"),autoComplete:"email",inputMode:"email",autoFocus:!0,required:!0,placeholder:g("EMAIL_EXAMPLE"),value:e,onChange:e=>{a(e.target.value),y&&b("")},error:y}),(0,s.jsx)(u.Button,{type:"submit",variant:"auth",size:"auth",disabled:!e.trim()||E,children:E?(0,s.jsx)(o.A,{className:"h-[18px] w-[18px] animate-spin"}):g("CONTINUE")})]})]})}}}]);

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.