PageSourceSearch

https://www.instagem.ai/assets/WelcomeOnboarding-BsdRYYUm.js

js instagem.ai collected 2026-10-05 12:04:42 UTC 5,224 bytes, 1 lines download raw bytes

1import{a as x,b as g,u,G as h,r as d,j as a,Z as f,c as b,A as w}from"./main-DX7XzkoU.js";import{F as y}from"./Loading-EXr7BTFZ.js";import{m as s}from"./proxy-BFtvzxWL.js";import{W as v}from"./wand-sparkles-CwRAYUwy.js";import{C as j}from"./calendar-clock-DB9Oxi4W.js";import{C as N}from"./chart-column-Dsbf4ZZ1.js";import{L as _}from"./link-D6mXMmG7.js";const k=[{id:"content",icon:v,iconBg:"bg-gradient-to-br from-purple-600 to-pink-600",iconShadow:"shadow-[0_0_15px_rgba(168,85,247,0.5)]",spanClass:"sm:col-span-2 lg:col-span-2"},{id:"scheduling",icon:j,iconBg:"bg-orange-600",iconShadow:"shadow-[0_0_15px_rgba(249,115,22,0.5)]"},{id:"automations",icon:f,iconBg:"bg-yellow-600",iconShadow:"shadow-[0_0_15px_rgba(234,179,8,0.5)]"},{id:"insights",icon:N,iconBg:"bg-blue-600",iconShadow:"shadow-[0_0_15px_rgba(59,130,246,0.5)]"},{id:"bio",icon:_,iconBg:"bg-cyan-600",iconShadow:"shadow-[0_0_15px_rgba(6,182,212,0.5)]"}],z=()=>{const o=x(),{t:i}=g(),{user:r,isLoading:n}=u(),{selectedProfile:e,profilesLoading:l}=h();d.useEffect(()=>{!n&&!r&&o("/login",{replace:!0})},[r,n,o]),d.useEffect(()=>{!l&&!e&&o("/instagram-setup",{replace:!0})},[e,l,o]);const c=()=>{o("/first-post",{replace:!0})};return n||l?a.jsx(y,{}):a.jsxs("div",{className:"min-h-[100dvh] bg-gradient-background flex flex-col items-center justify-start md:justify-center px-4 py-6 md:p-8 relative overflow-hidden",children:[a.jsxs("div",{className:"absolute top-0 left-0 w-full h-full overflow-hidden pointer-events-none z-0",children:[a.jsx("div",{className:"absolute -top-40 -right-40 w-72 h-72 md:w-96 md:h-96 bg-purple-500/10 rounded-full blur-3xl op
1acity-50 animate-pulse"}),a.jsx("div",{className:"absolute top-1/2 -left-40 w-64 h-64 md:w-80 md:h-80 bg-blue-500/10 rounded-full blur-3xl opacity-50"}),a.jsx("div",{className:"absolute -bottom-40 right-1/2 transform translate-x-1/2 w-72 h-72 md:w-96 md:h-96 bg-pink-500/10 rounded-full blur-3xl opacity-50"})]}),a.jsx("div",{className:"w-full max-w-5xl relative z-10",children:a.jsxs(s.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.4},className:"space-y-6 md:space-y-12",children:[a.jsxs("div",{className:"flex flex-col items-center text-center space-y-3 md:space-y-5",children:[a.jsxs(s.div,{initial:{opacity:0,scale:.8},animate:{opacity:1,scale:1},transition:{delay:.1},className:"flex flex-col items-center gap-2",children:[a.jsxs("div",{className:"relative w-16 h-16 md:w-20 md:h-20",children:[a.jsx("div",{className:"absolute inset-0 bg-gradient-to-tr from-yellow-400 via-pink-500 to-purple-600 rounded-full blur-[3px] opacity-80"}),a.jsx("img",{src:(e==null?void 0:e.profile_pic_url)||"/placeholder.svg",alt:(e==null?void 0:e.username)||"",className:"relative w-full h-full rounded-full object-cover border-[3px] border-background"})]}),(e==null?void 0:e.username)&&a.jsxs("span",{className:"text-sm md:text-base font-semibold text-foreground",children:["@",e.username]})]}),a.jsxs(s.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},transition:{delay:.2},className:"space-y-2 md:space-y-3",children:[a.jsx("h1",{className:"text-2xl md:text-4xl font-bold bg-gradient-to-r from-purple-600 via-pink-600 to-orange-500 bg-clip-text text-transparent leading-tight",children:i("welcomeOnboarding.title")}),a.jsx("p",{className:"text-muted-foreground text-sm md:text-lg max-w-2xl mx-auto leading-relaxed",children:i("welcomeOnboarding.subtitle")})]})]}),a.jsx(s.div,{initial:{opacity:0,scaleX:0},animate:{opacity:1,scaleX:1},transition:{delay:.25,duration:.4},className:"h-px w-full max-w-md mx-auto bg-gradient-to-r from-transparent via-border/60 to-transparent"}),a.jsx(s.div,{initial:{opacity:0}
1,animate:{opacity:1},transition:{delay:.3},className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-3 md:gap-4",children:k.map((t,m)=>{const p=t.icon;return a.jsx(s.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.3+m*.05},className:t.spanClass,children:a.jsxs("div",{className:"h-full flex flex-row sm:flex-col items-start gap-3 p-1 md:p-2",children:[a.jsx("div",{className:`shrink-0 w-10 h-10 md:w-12 md:h-12 rounded-xl ${t.iconBg} ${t.iconShadow} flex items-center justify-center`,children:a.jsx(p,{className:"w-5 h-5 md:w-6 md:h-6 text-white"})}),a.jsxs("div",{className:"flex-1 space-y-0.5 md:space-y-1",children:[a.jsx("h3",{className:"font-semibold text-sm md:text-base text-foreground leading-tight",children:i(`welcomeOnboarding.features.${t.id}.title`)}),a.jsx("p",{className:"text-xs md:text-sm text-muted-foreground leading-snug",children:i(`welcomeOnboarding.features.${t.id}.description`)})]})]})},t.id)})}),a.jsxs(s.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},transition:{delay:.7},className:"flex flex-col items-center gap-3 pt-2",children:[a.jsxs(b,{onClick:c,size:"lg",className:"w-full sm:w-auto bg-gradient-to-r from-purple-600 via-pink-600 to-orange-500 hover:opacity-90 text-white font-semibold px-8 py-6 text-base shadow-lg group",children:[i("welcomeOnboarding.continue"),a.jsx(w,{className:"w-5 h-5 ml-2 group-hover:translate-x-1 transition-transform"})]}),a.jsx("p",{className:"text-xs text-muted-foreground text-center max-w-xs px-4",children:i("welcomeOnboarding.hint")})]})]})})]})};export{z as default};

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.