PageSourceSearch

https://www.lotionai.fun/_next/static/chunks/app/page-12ce3db60ce24855.js?dpl=dpl_2QfE2TSiABBN7iNesWqvSGMtxxJR

js lotionai.fun collected 2026-10-08 12:43:32 UTC 11,961 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[974],{2084:(e,s,l)=>{Promise.resolve().then(l.bind(l,2711)),Promise.resolve().then(l.bind(l,5010)),Promise.resolve().then(l.bind(l,4056)),Promise.resolve().then(l.bind(l,327)),Promise.resolve().then(l.bind(l,612)),Promise.resolve().then(l.bind(l,8100))},6078:(e,s,l)=>{"use strict";l.d(s,{A:()=>d});var t=l(5155),r=l(3312),a=l(9749),i=l(583),n=l(2162),o=l(5564),c=l(6046),u=l(2115);let d=()=>{(0,n.Y)();let e=(0,c.useRouter)(),{toast:s}=(0,o.dj)(),[l,d]=u.useState(!1);return(0,n.H)(e=>e.user.isAuth),(0,t.jsxs)(a.Zp,{className:" rounded-[32px] cursor-pointer flex flex-col gap-4 justify-center items-center min-h-48 border-dashed",onClick:()=>{e.push("/create-agent")},children:[(0,t.jsx)(r.$,{className:"!w-10 !h-10 !p-0 !rounded-full  !text-secondary-foreground ",children:(0,t.jsx)("p",{children:"+"})}),(0,t.jsx)(i.Typography,{grey:!0,variant:"p",children:"Add Agent"})]})}},5569:(e,s,l)=>{"use strict";l.d(s,{A:()=>n});var t=l(5155),r=l(9749),a=l(7081),i=l(6046);l(2115);let n=()=>{let e=(0,i.useRouter)();return(0,t.jsxs)(r.Zp,{className:" rounded-[32px] cursor-pointer flex flex-col gap-4 justify-start items-start min-h-48 border-dashed p-4",onClick:()=>e.push("/create-agent"),children:[(0,t.jsx)(a.E,{className:"rounded-full w-3/6 h-2/6"}),(0,t.jsx)(a.E,{className:"rounded-full w-5/6 h-1/6"}),(0,t.jsx)(a.E,{className:"rounded-full w-5/6 h-1/6"}),(0,t.jsx)(a.E,{className:"rounded-full w-5/6 h-1/6"})]})}},5010:(e,s,l)=>{"use strict";l.d(s,{default:()=>d});var t=l(5155),r=l(386),a=l(6078),i=l(5569),n=l(2115),o=l(583),c=l(5434),u=l(2162);let d=()=>{let e=(0,u.Y)(),[s,l]=n.useState(!0),d=(0,u.H)(e=>e.user.allAgents);async function x(){l(!0),await e(c.mK()),l(!1)}return(0,n.useEffect)(()=>{d?l(!1):x()},[d]),(0,t.jsxs)("div",{className:"w-full flex flex-col",children:[(0,t.jsx)(o.Typography,{variant:"h6",grey:!0,children:"All Agents"}),(0,t.jsxs)("div",{className:"grid grid-cols-1 sm-up:grid-cols-2 md:grid-cols-3 lg:grid-cols-2 xl:grid-cols-3 gap-4 2xl:grid-cols-5 mt-6",children:[null==d?void 0:d.map((e,s)=>(0,t.jsx)(r.A,{index:s,data:e,hideStock:!0},s)),Array.from({length:15-((null==d?void 0:d.length)||0)}).map((e,l)=>s?(0,t.jsx)(i.A,{},l):(0,t.jsx)(a.A,{},l))]})]})}},4056:(e,s,l)=>{"use strict";l.d(s,{default:()=>f});var t=l(5155),r=l(386),a=l(6078),i=l(2162),n=l(8568),o=l(7321),c=l(2115),u=l(9749),d=l(4478),x=l(583);let f=()=>{let[e,s]=c.useState(),[l,f]=c.useState(!1),[m,h]=c.useState(!1),p=(0,i.H)(e=>e.user.allAgents);return c.useEffect(()=>{if(!e)return;let s=()=>{f(e.canScrollPrev()),h(e.canScrollNext())};return s(),e.on("select",s),e.on("reInit",s),()=>{e.off("select",s),e.off("reInit",s)}},[e]),(0,t.jsxs)(u.Zp,{className:"w-full h-fit rounded-2xl flex flex-col p-4",children:[(0,t.jsxs)("div",{className:"flex justify-between items-center mb-4",children:[(0,t.jsx)(x.Typography,{variant:"h6",grey:!0,children:"Daily Movers"}),(0,t.jsxs)("div",{className:"flex items-center justify-center gap-4",children:[(0,t.jsx)(n.A,{onClick:()=>{l&&(null==e||e.scrollPrev())},className:"".concat(l?"cursor-pointer":"opacity-50 cursor-not-allowed")}),(0,t.jsx)(o.A,{onClick:()=>{m&&(null==e||e.scrollNext())},className:"".concat(m?"cursor-pointer":"opacity-50 cursor-not-allowed")})]})]}),(0,t.jsx)(d.FN,{opts:{align:"start"},className:"w-full mb-4",setApi:s,children:(0,t.jsxs)(d.Wk,{children:[null==p?void 0:p.map((e,s)=>(0,t.jsx)(d.A7,{className:"sm:basis-1/2 sm-up:basis-1/2 md:basis-1/3 lg:basis-full 2xl:basis-1/2",children:(0,t.jsx)(r.A,{data:e,hideStock:!0,index:s})},s)),Array.from({length:6-((null==p?void 0:p.length)||0)}).map((e,s)=>(0,t.jsx)(d.A7,{className:"sm:basis-1/2 sm-up:basis-1/2 md:basis-1/3 lg:basis-full 2xl:basis-1/2",children:(0,t.jsx)(a.A,{})},s))]})})]})}},327:(e,s,l)=>{"use strict";l.d(s,{default:()=>x});var t=l(5155),r=l(386),a=l(6078),i=l(2162),n=l(8568),o=l(7321),c=l(2115),u=l(4478),d=l(583);let x=()=>{let[e,s]=c.useState(),[l,x]=c.useState(!1),[f,m]=c.useState(!1),h=(0,i.H)(e=>e.user.allAgents);return c.useEffect(()=>{if(!e)return;let s=()=>{x(e.canScrollPrev()),m(e.canScrollNext())};
1return s(),e.on("select",s),e.on("reInit",s),()=>{e.off("select",s),e.off("reInit",s)}},[e]),(0,t.jsxs)("div",{className:"w-full flex flex-col ",children:[(0,t.jsxs)("div",{className:"flex justify-between items-center mb-4",children:[(0,t.jsx)(d.Typography,{variant:"h6",grey:!0,children:"Featured Agents"}),(0,t.jsxs)("div",{className:"flex items-center justify-center gap-4",children:[(0,t.jsx)(n.A,{onClick:()=>{l&&(null==e||e.scrollPrev())},className:"".concat(l?"":"opacity-50 cursor-not-allowed")}),(0,t.jsx)(o.A,{onClick:()=>{f&&(null==e||e.scrollNext())},className:"".concat(f?"":"opacity-50 cursor-not-allowed")})]})]}),(0,t.jsx)(u.FN,{opts:{align:"start"},className:"w-full mb-4",setApi:s,children:(0,t.jsxs)(u.Wk,{children:[null==h?void 0:h.map((e,s)=>(0,t.jsx)(u.A7,{className:"sm:basis-1/2 sm-up:basis-1/2 md:basis-1/3 lg:basis-1/2 xl:basis-1/3 2xl:basis-1/5",children:(0,t.jsx)(r.A,{data:e,hideStar:!0,hideStock:!0,index:s})},s)),Array.from({length:6-((null==h?void 0:h.length)||0)}).map((e,s)=>(0,t.jsx)(u.A7,{className:"sm:basis-1/2 sm-up:basis-1/2 md:basis-1/3 lg:basis-1/2 xl:basis-1/3 2xl:basis-1/5",children:(0,t.jsx)(a.A,{})},s))]})})]})}},8100:(e,s,l)=>{"use strict";l.d(s,{default:()=>f});var t=l(5155),r=l(386),a=l(6078),i=l(2162),n=l(8568),o=l(7321),c=l(2115),u=l(9749),d=l(4478),x=l(583);let f=()=>{let[e,s]=c.useState(),[l,f]=c.useState(!1),[m,h]=c.useState(!1),p=(0,i.H)(e=>e.user.allAgents);return c.useEffect(()=>{if(!e)return;let s=()=>{f(e.canScrollPrev()),h(e.canScrollNext())};return s(),e.on("select",s),e.on("reInit",s),()=>{e.off("select",s),e.off("reInit",s)}},[e]),(0,t.jsxs)(u.Zp,{className:"w-full h-fit rounded-2xl flex flex-col p-4",children:[(0,t.jsxs)("div",{className:"flex justify-between items-center mb-4",children:[(0,t.jsx)(x.Typography,{variant:"h6",grey:!0,children:"Weekly Movers"}),(0,t.jsxs)("div",{className:"flex items-center justify-center gap-4",children:[(0,t.jsx)(n.A,{onClick:()=>{l&&(null==e||e.scrollPrev())},className:"".concat(l?"cursor-pointer":"opacity-50 cursor-not-allowed")}),(0,t.jsx)(o.A,{onClick:()=>{m&&(null==e||e.scrollNext())},className:"".concat(m?"cursor-pointer":"opacity-50 cursor-not-allowed")})]})]}),(0,t.jsx)(d.FN,{opts:{align:"start"},className:"w-full mb-4",setApi:s,children:(0,t.jsxs)(d.Wk,{children:[null==p?void 0:p.map((e,s)=>(0,t.jsx)(d.A7,{className:"sm:basis-1/2 sm-up:basis-1/2 md:basis-1/3 lg:basis-full 2xl:basis-1/2",children:(0,t.jsx)(r.A,{data:e,hideStock:!0,index:s})},s)),Array.from({length:6-((null==p?void 0:p.length)||0)}).map((e,s)=>(0,t.jsx)(d.A7,{className:"sm:basis-1/2 sm-up:basis-1/2 md:basis-1/3 lg:basis-full 2xl:basis-1/2",children:(0,t.jsx)(a.A,{})},s))]})})]})}},612:(e,s,l)=>{"use strict";l.d(s,{default:()=>d});var t=l(5155),r=l(7701),a=l(8568),i=l(7321),n=l(2115),o=l(9749),c=l(4478),u=l(583);let d=e=>{let{small:s}=e,[l,d]=n.useState(),[x,f]=n.useState(!1),[m,h]=n.useState(!1);n.useEffect(()=>{if(!l)return;let e=()=>{f(l.canScrollPrev()),h(l.canScrollNext())};return e(),l.on("select",e),l.on("reInit",e),()=>{l.off("select",e),l.off("reInit",e)}},[l]);let p=[{text:"Buy Lotion To Get Started",image:r.k.buyLotion,link:"https://lotionai.gitbook.io/lotionai/how-to/buy-lotion"},{text:"Create Your First Agent",image:r.k.createAgent,link:"https://lotionai.gitbook.io/lotionai/how-to/create-an-agent"},{text:"Follow our Socials",image:r.k.features,link:"https://x.com/thelotionai"},{text:"What are Plugins",image:r.k.plugins,link:"https://lotionai.gitbook.io/lotionai/lotionai/features#plugin-shop-coming-soon"}];return(0,t.jsxs)("div",{className:"w-full flex flex-col ",children:[(0,t.jsxs)("div",{className:"flex justify-between items-center mb-4",children:[(0,t.jsx)(u.Typography,{variant:"h6",grey:!0,children:"Get Started"}),(0,t.jsxs)("div",{className:"flex items-center justify-center gap-4",children:[(0,t.jsx)(a.A,{onClick:()=>{x&&(null==l||l.scrollPrev())},className:"".concat(x?"cursor-pointer":"opacity-50 cursor-not-allowed")}),(0,t.jsx)(i.A,{onClick:()=>{m&&(null==l||l.scrollNext())},className:"".concat(m?"cursor-pointer":"opacity-50 cursor-not-allowed")})]})]}),(0,t.jsx)("div",{className:"w-full",children:(0,t.jsx)(c.FN,{opts:{align:"start"},className:" mb-4",setApi:d,children:(0,t.jsx)(c.Wk,{children:p.map((e,l)=>(0,t.jsx)(c.A7,{className:"basis-full ".concat(s?"basis-full":"sm:basis-1/2 md:basis-1/2 lg:basis-1/2 xl:basis-1/2 2xl:basis-1/3"," h-full"),children:(0,t.jsxs)(o.Zp,{onClick:()=>
1window.open(e.link),className:" rounded-[32px] cursor-pointer p-6 h-full",children:[(0,t.jsx)("div",{className:"w-full  flex justify-end items-center",children:(0,t.jsx)("img",{src:e.image})}),(0,t.jsx)("div",{className:"flex justify-start items-center mt-4 flex-wrap",children:(0,t.jsx)(u.Typography,{variant:"h5",className:" md:flex",children:e.text})})]})},l))})})})]})}},4478:(e,s,l)=>{"use strict";l.d(s,{A7:()=>m,FN:()=>x,Wk:()=>f});var t=l(5155),r=l(2115),a=l(2576),i=l(1598),n=l(2884),o=l(1567),c=l(3312);let u=r.createContext(null);function d(){let e=r.useContext(u);if(!e)throw Error("useCarousel must be used within a <Carousel />");return e}let x=r.forwardRef((e,s)=>{let{orientation:l="horizontal",opts:i,setApi:n,plugins:c,className:d,children:x,...f}=e,[m,h]=(0,a.A)({...i,axis:"horizontal"===l?"x":"y"},c),[p,j]=r.useState(!1),[N,g]=r.useState(!1),v=()=>null==h?void 0:h.scrollPrev(),b=()=>null==h?void 0:h.scrollNext();return r.useEffect(()=>{if(!h)return;n&&n(h);let e=()=>{j(h.canScrollPrev()),g(h.canScrollNext())};return e(),h.on("select",e),h.on("reInit",e),()=>{h.off("select",e),h.off("reInit",e)}},[h,n]),(0,t.jsx)(u.Provider,{value:{carouselRef:m,api:h,opts:i,orientation:l||((null==i?void 0:i.axis)==="y"?"vertical":"horizontal"),scrollPrev:v,scrollNext:b,canScrollPrev:p,canScrollNext:N},children:(0,t.jsx)("div",{ref:s,onKeyDownCapture:e=>{"ArrowLeft"===e.key?(e.preventDefault(),v()):"ArrowRight"===e.key&&(e.preventDefault(),b())},className:(0,o.cn)("relative",d),role:"region","aria-roledescription":"carousel",...f,children:x})})});x.displayName="Carousel";let f=r.forwardRef((e,s)=>{let{className:l,...r}=e,{carouselRef:a,orientation:i}=d();return(0,t.jsx)("div",{ref:a,className:"overflow-hidden",children:(0,t.jsx)("div",{ref:s,className:(0,o.cn)("flex","horizontal"===i?"-ml-4":"-mt-4 flex-col",l),...r})})});f.displayName="CarouselContent";let m=r.forwardRef((e,s)=>{let{className:l,...r}=e,{orientation:a}=d();return(0,t.jsx)("div",{ref:s,role:"group","aria-roledescription":"slide",className:(0,o.cn)("min-w-0 shrink-0 grow-0 basis-full","horizontal"===a?"pl-4":"pt-4",l),...r})});m.displayName="CarouselItem",r.forwardRef((e,s)=>{let{className:l,...r}=e,{orientation:a,scrollPrev:n,canScrollPrev:u}=d();return(0,t.jsxs)(c.$,{ref:s,variant:"secondary",className:(0,o.cn)("absolute h-8 w-8 rounded-full","horizontal"===a?"-left-12 top-1/2 -translate-y-1/2":"-top-12 left-1/2 -translate-x-1/2 rotate-90",l),disabled:!u,onClick:n,...r,children:[(0,t.jsx)(i.A,{className:"h-4 w-4"}),(0,t.jsx)("span",{className:"sr-only",children:"Previous slide"})]})}).displayName="CarouselPrevious",r.forwardRef((e,s)=>{let{className:l,...r}=e,{orientation:a,scrollNext:i,canScrollNext:u}=d();return(0,t.jsxs)(c.$,{ref:s,variant:"secondary",className:(0,o.cn)("absolute h-8 w-8 rounded-full","horizontal"===a?"-right-12 top-1/2 -translate-y-1/2":"-bottom-12 left-1/2 -translate-x-1/2 rotate-90",l),disabled:!u,onClick:i,...r,children:[(0,t.jsx)(n.A,{className:"h-4 w-4"}),(0,t.jsx)("span",{className:"sr-only",children:"Next slide"})]})}).displayName="CarouselNext"},7081:(e,s,l)=>{"use strict";l.d(s,{E:()=>a});var t=l(5155),r=l(1567);function a(e){let{className:s,...l}=e;return(0,t.jsx)("div",{className:(0,r.cn)("animate-pulse rounded-md bg-neutral-900/10 dark:bg-neutral-50/10",s),...l})}}},e=>{var s=s=>e(e.s=s);e.O(0,[956,586,825,305,235,89,928,48,441,517,358],()=>s(2084)),_N_E=e.O()}]);

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.