1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2670],{839:e=>{e.exports={parallaxTrack:"styles_parallaxTrack__zikO3",parallaxItem:"styles_parallaxItem__W5PC3",outer:"styles_outer__S2ykL",wrapper:"styles_wrapper__EpzfM",visual:"styles_visual__hlBX4",visual_0:"styles_visual_0__ydWzD",visual_1:"styles_visual_1__qY3HE",visual_2:"styles_visual_2__aInhe",visual_3:"styles_visual_3__QDYr3",table__scroll:"styles_table__scroll__dbYC7",table:"styles_table__t_Zh2",reordered:"styles_reordered__abqEF"}},865:(e,t,s)=>{"use strict";s.d(t,{As:()=>a.As});var a=s(93567)},4935:(e,t,s)=>{"use strict";s.d(t,{DC:()=>c.SetlistGenerating,Fg:()=>a.AuthCheck,ff:()=>n.Screen,kE:()=>r.AuthRequired,v0:()=>o.ViberGeneratingSplit,vc:()=>i.SetlistFetching,xx:()=>l.LoadingScreen});var a=s(65436),r=s(32691),l=s(92539),n=s(94033),i=s(44632),c=s(7428),o=s(27063)},14426:(e,t,s)=>{Promise.resolve().then(s.bind(s,97181))},49213:(e,t,s)=>{"use strict";s.d(t,{AP:()=>r,XM:()=>i});var a=s(94607);let r=function(){var e,t;let s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",r=(null==a||null==a.env?void 0:"https://www.vibeset.ai/")&&""!=="https://www.vibeset.ai/".trim()?"https://www.vibeset.ai/":(null==a||null==a.env?void 0:"vibeset-supa-next-e024lploz-vibeset.vercel.app")&&""!=="vibeset-supa-next-e024lploz-vibeset.vercel.app".trim()?"vibeset-supa-next-e024lploz-vibeset.vercel.app":"http://localhost:3000/";r=(r=r.replace(/\/+$/,"")).includes("http")?r:"https://".concat(r);let l=s.replace(/^\/+/,"");return l?"".concat(r,"/").concat(l):r},l={status:["status","status_description"],error:["error","error_description"]},n=function(e,t,s){let a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4],n=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"",[i,c]=l[t],o="".concat(e,"?").concat(i,"=").concat(encodeURIComponent(s));return a&&(o+="&".concat(c,"=").concat(encodeURIComponent(a))),r&&(o+="&disable_button=true"),n&&(o+="&".concat(n)),o},i=function(e,t){let s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",a=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"";return n(e,"error",t,s,a,r)}},58811:(e,t,s)=>{"use strict";s.d(t,{P:()=>u});var a=s(4673),r=s(49413),l=s(70718),n=s(96042),i=s(97734);let c=(e,t,s)=>t===s?+(e<=s):Math.max(0,Math.min(1,(t-e)/(t-s))),o=(e,t)=>{let{isParallaxActive:s,scrollStartThreshold:a,scrollEndThreshold:l}=e,{outerRef:n}=t,i=(0,r.useRef)(!1),o=(0,r.useRef)(null),[d,u]=r.useState({progress:0,state:"inactive",direction:"none",topEdgeInView:!1,bottomEdgeInView:!1}),h=(0,r.useCallback)(()=>{if(!i.current||!n.current){o.current&&cancelAnimationFrame(o.current),o.current=null;return}let e=n.current.getBoundingClientRect(),t=window.innerHeight,r=e.top>=0&&e.top<=t,d=e.bottom>=0&&e.bottom<=t;if(!s){u(e=>({...e,progress:0,state:"inactive",direction:"none",topEdgeInView:r,bottomEdgeInView:d})),o.current&&cancelAnimationFrame(o.current),o.current=null;return}let h=c(e.top,a,l),m=h>0&&h<1?"active":"inactive";u(e=>{let t=h-e.progress,s=e.direction;return t>1e-4?s="down":t<-1e-4?s="up":"inactive"===m&&(0===h||1===h)&&(s="none"),{progress:h,state:m,direction:s,topEdgeInView:r,bottomEdgeInView:d}}),o.current=null},[n,s,a,l]),m=(0,r.useCallback)(()=>{!o.current&&i.current&&(o.current=requestAnimationFrame(h))},[h]);return(0,r.useLayoutEffect)(()=>(i.current=!0,h(),window.addEventListener("scroll",m,{passive:!0}),window.addEventListener("resize",h),()=>{i.current=!1,window.removeEventListener("scroll",m),window.removeEventListener("resize",h),o.current&&(cancelAnimationFrame(o.current),o.current=null)}),[m,h]),d},d=function(e,t){let s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[0,0],[r,l]=a;if(!(s>0&&e>0&&t>0))return{outerStyle:{height:"".concat(e,"px")},stickyStyle:{top:"".concat(r,"px")},scrollStartThreshold:r,scrollEndThreshold:r,bufferTop:r,bufferBottom:l,isParallaxActive:!1};let n=e+s*t,i=r,c=t-r-l;return i=e<c?r+(c-e)/2:r,{outerStyle:{height:"".concat(n,"px")}
1,stickyStyle:{top:"".concat(i,"px")},scrollStartThreshold:r,scrollEndThreshold:t-n+l,bufferTop:r,bufferBottom:l,isParallaxActive:!0}},u=(0,r.forwardRef)((e,t)=>{let{children:s,onProgressChange:c,className:u,parallaxStrength:h=1,bufferSize:m=[0,0],ariaLabel:x}=e,{height:p}=(0,l.A)(),[g,{height:f}]=(0,n.A)(),v=(0,r.useRef)(null),y=(0,r.useRef)(null),b=(0,r.useMemo)(()=>d(f,p,h,m),[f,p,h,m]),j=(0,r.useCallback)(e=>{null==c||c(e)},[c]),w=o(b,{outerRef:v});return(0,r.useEffect)(()=>{v.current&&(v.current.setAttribute("data-progress",w.progress.toFixed(4)),v.current.setAttribute("data-state",w.state),v.current.setAttribute("data-direction",w.direction),v.current.setAttribute("data-top-inview",String(w.topEdgeInView)),v.current.setAttribute("data-bottom-inview",String(w.bottomEdgeInView)))},[w]),(0,r.useEffect)(()=>{j(w.progress)},[w.progress,j]),r.useImperativeHandle(t,()=>v.current,[]),(0,a.jsx)("div",{className:"grid w-full items-start",ref:v,style:b.outerStyle,role:"region","aria-label":x||"Parallax section",children:(0,a.jsx)("div",{ref:y,className:(0,i.cn)("transform-style-preserve-3d backface-visibility-hidden w-full",u),style:{...b.stickyStyle,position:"sticky"},children:(0,a.jsx)("div",{ref:g,className:"w-full min-w-full",children:s})})})});u.displayName="ParallaxSection"},65133:()=>{},74418:(e,t,s)=>{"use strict";s.d(t,{g:()=>o});var a=s(4673),r=s(61556),l=s(81895),n=s(7049),i=s(49413),c=s(70718);let o=e=>{let{children:t,videoSrc:s}=e,[o,d]=(0,i.useState)(!1),{width:u}=(0,c.A)(),[h,m]=(0,i.useState)(!1);return(0,i.useEffect)(()=>{m(u<768)},[u]),(0,a.jsxs)(l.bL,{open:o,onOpenChange:d,children:[(0,a.jsx)(l.l9,{asChild:!0,children:t}),(0,a.jsxs)(l.ZL,{children:[(0,a.jsx)(l.hJ,{className:"fixed inset-0 z-50 bg-black/80 backdrop-blur-sm data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0"}),(0,a.jsxs)(l.UC,{"aria-describedby":void 0,className:"fixed left-1/2 top-1/2 z-50 grid w-full max-w-screen-xl -translate-x-1/2 -translate-y-1/2 gap-4 rounded-4 border border-off-white/20 bg-hard-700 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%]",children:[(0,a.jsx)(n.bL,{children:(0,a.jsx)(l.hE,{children:"Video Player"})}),(0,a.jsx)("div",{className:"overflow-clip rounded-4 shadow-xl",children:(0,a.jsx)("video",{className:"w-full border-none object-cover",style:{aspectRatio:h?"4/5":"16/9"},src:s,autoPlay:!0,controls:!0,loop:!0,onLoadStart:()=>{let e=document.querySelector("video");e&&(e.volume=.2)}})}
1),(0,a.jsxs)(l.bm,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-red-500 transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-[var(--body-background)] data-[state=open]:text-[var(--body-text-color)]",children:[(0,a.jsx)(r.X,{size:24,className:"text-off-white"}),(0,a.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})]})}},78674:(e,t,s)=>{"use strict";s.d(t,{f:()=>n});var a=s(927);let r=null,l=(e,t)=>{},n=e=>{var t;let s=null!=(t=null==e?void 0:e.debug)&&t;if(r)return r;let n="https://ndsgebezliwvivfysyhg.supabase.co",i="eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6Im5kc2dlYmV6bGl3dml2ZnlzeWhnIiwicm9sZSI6ImFub24iLCJpYXQiOjE3Mjg1MDE3MzEsImV4cCI6MjA0NDA3NzczMX0.yqIGnUkbpdxBYu_L9EOXyl1_hPhEGZf24bDYx13Zlgw";if(!n)throw Error("NEXT_PUBLIC_SUPABASE_URL is not defined in environment variables");if(!i)throw Error("NEXT_PUBLIC_SUPABASE_ANON_KEY is not defined in environment variables");try{return r=(0,a.createBrowserClient)(n,i,{auth:{persistSession:!0,autoRefreshToken:!0,detectSessionInUrl:!0}}),s&&l("Client created successfully, with persistent session config"),r}catch(t){let e=t instanceof Error?t.message:"Unknown error";throw l("Failed to create client",t),Error("Failed to initialize Supabase client: ".concat(e))}}},83493:(e,t,s)=>{"use strict";s.d(t,{z:()=>a});let a={base:["auth"],user:["auth","user"],userDetails:e=>["auth","user-details",e],subscription:e=>["auth","subscription",e]}},83643:(e,t,s)=>{"use strict";s.d(t,{u:()=>l,x:()=>r});var a=s(4673);let r=e=>{let{variant:t="single-color",fill:s="rgb(var(--tw-hard))",...r}=e;return"original-color"===t?(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",viewBox:"0 0 361 361",width:"1em",height:"1em",...r,children:[(0,a.jsxs)("linearGradient",{id:"a",x1:180,x2:180,y1:358.605,y2:7.759,gradientUnits:"userSpaceOnUse",children:[(0,a.jsx)("stop",{offset:0,style:{stopColor:"#fa233b"}}),(0,a.jsx)("stop",{offset:1,style:{stopColor:"#fb5c74"}})]}),(0,a.jsx)("path",{d:"M360 112.61c0-4.3 0-8.6-.02-12.9-.02-3.62-.06-7.24-.16-10.86-.21-7.89-.68-15.84-2.08-23.64-1.42-7.92-3.75-15.29-7.41-22.49a75.633 75.633 0 0 0-33.06-33.05c-7.19-3.66-14.56-5.98-22.47-7.41C287 .86 279.04.39 271.15.18c-3.62-.1-7.24-.14-10.86-.16-4.3-.02-8.6-.02-12.9-.02H112.61c-4.3 0-8.6 0-12.9.02-3.62.02-7.24.06-10.86.16C80.96.4 73 .86 65.2 2.27c-7.92 1.42-15.28 3.75-22.47 7.41A75.633 75.633 0 0 0 9.67 42.73c-3.66 7.2-5.99 14.57-7.41 22.49C.86 73.02.39 80.98.18 88.86.08 92.48.04 96.1.02 99.72 0 104.01 0 108.31 0 112.61v134.77c0 4.3 0 8.6.02 12.9.02 3.62.06 7.24.16 10.86.21 7.89.68 15.84 2.08 23.64 1.42 7.92 3.75 15.29 7.41 22.49a75.633 75.633 0 0 0 33.06 33.05c7.19 3.66 14.56 5.98 22.47 7.41 7.8 1.4 15.76 1.87 23.65 2.08 3.62.1 7.24.14 10.86.16 4.3.03 8.6.02 12.9.02h134.77c4.3 0 8.6 0 12.9-.02 3.62-.02 7.24-.06 10.86-.16 7.89-.21 15.85-.68 23.65-2.08 7.92-1.42 15.28-3.75 22.47-7.41a75.633 75.633 0 0 0 33.06-33.05c3.66-7.2 5.99-14.57 7.41-22.49 1.4-7.8 1.87-15.76 2.08-23.64.1-3.62.14-7.24.16-10.86.03-4.3.02-8.6.02-12.9V112.61z",style:{fillRule:"evenodd",clipRule:"evenodd",fill:"url(#a)"}}),(0,a.jsx)("path",{d:"M254.5 55c-.87.08-8.6 1.45-9.53 1.64l-107 21.59-.04.01c-2.79.59-4.98 1.58-6.67 3-2.04 1.71-3.17 4.13-3.6 6.95-.09.6-.24 1.82-.24 3.62v133.92c0 3.13-.25 6.17-2.37 8.76s-4.74 3.37-7.81 3.99l-6.99 1.41c-8.84 1.78-14.59 2.99-19.8 5.01-4.98 1.93-8.71 4.39-11.68 7.51-5.89 6.17-8.28 14.54-7.46 22.38.7 6.69 3.71 13.09 8.88 17.82 3.49 3.2 7.85 5.63 12.99 6.66 5.33 1.07 11.01.7 19.31-.98 4.42-.89 8.56-2.28 12.5-4.61 3.9-2.3 7.24-5.37 9.85-9.11 2.62-3.75 4.31-7.92 5.24-12.35.96-4.57 1.19-8.7 1.19-13.26V142.81c0-6.22 1.76-7.86 6.78-9.08 0 0 88.94-17.94 93.09-18.75 5.79-1.11 8.52.54 8.52 6.61v79.29c0 3.14-.03 6.32-2.17 8.92-2.12 2.59-4.74 3.37-7.81 3.99l-6.99 1.41c-8.84 1.78-14.59 2.99-19.8 5.01-4.98 1.93-8.71 4.39-11.68 7.51-5.89 6.17-8.49 14.54-7.67 22.38.7 6.69 3.92 13.09 9.09 17.82 3.49 3.2 7.85 5.56 12.99 6.6 5.33 1.07 11.01.69 19.31-.98 4.42-.89 8.56-2.22 12.5-4.55 3.9-2.3 7.24-5.37 9.85-9.11 2.62-3.75 4.31-7.92 5.24-12.35.96-4.57 1-8.7 1-13.26V64.46c.02-6.
116-3.23-9.96-9.02-9.46z",style:{fillRule:"evenodd",clipRule:"evenodd",fill:"#fff"}})]}):(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",viewBox:"0 0 361 361",width:"1em",height:"1em",...r,children:(0,a.jsx)("path",{d:"M359.98,99.71c-0.02-3.62-0.06-7.24-0.16-10.86c-0.21-7.89-0.68-15.84-2.08-23.64c-1.42-7.92-3.75-15.29-7.41-22.49c-3.6-7.07-8.3-13.53-13.91-19.14c-5.61-5.61-12.08-10.31-19.15-13.91c-7.19-3.66-14.56-5.98-22.47-7.41c-7.8-1.4-15.76-1.87-23.65-2.08c-3.62-0.1-7.24-0.14-10.86-0.16C255.99,0,251.69,0,247.39,0H112.61c-4.3,0-8.6,0-12.9,0.02c-3.62,0.02-7.24,0.06-10.86,0.16C80.96,0.4,73,0.86,65.2,2.27c-7.92,1.42-15.28,3.75-22.47,7.41c-7.07,3.6-13.54,8.3-19.15,13.91c-5.61,5.61-10.31,12.07-13.91,19.14c-3.66,7.2-5.99,14.57-7.41,22.49c-1.4,7.8-1.87,15.76-2.08,23.64c-0.1,3.62-0.14,7.24-0.16,10.86C0,104.01,0,108.31,0,112.61v134.77c0,4.3,0,8.6,0.02,12.9c0.02,3.62,0.06,7.24,0.16,10.86c0.21,7.89,0.68,15.84,2.08,23.64c1.42,7.92,3.75,15.29,7.41,22.49c3.6,7.07,8.3,13.53,13.91,19.14c5.61,5.61,12.08,10.31,19.15,13.91c7.19,3.66,14.56,5.98,22.47,7.41c7.8,1.4,15.76,1.87,23.65,2.08c3.62,0.1,7.24,0.14,10.86,0.16c4.3,0.03,8.6,0.02,12.9,0.02h134.77c4.3,0,8.6,0,12.9-0.02c3.62-0.02,7.24-0.06,10.86-0.16c7.89-0.21,15.85-0.68,23.65-2.08c7.92-1.42,15.28-3.74,22.47-7.41c7.07-3.6,13.54-8.3,19.15-13.91c5.61-5.61,10.31-12.07,13.91-19.14c3.66-7.2,5.99-14.57,7.41-22.49c1.4-7.8,1.87-15.76,2.08-23.64c0.1-3.62,0.14-7.24,0.16-10.86c0.03-4.3,0.02-8.6,0.02-12.9V112.61C360,108.31,360,104.01,359.98,99.71z M263.54,234.26c0,4.56-0.04,8.7-1,13.26c-0.93,4.43-2.63,8.6-5.24,12.35c-2.61,3.74-5.95,6.81-9.85,9.11c-3.95,2.33-8.08,3.66-12.5,4.55c-8.3,1.67-13.97,2.05-19.31,0.98c-5.14-1.03-9.5-3.4-12.99-6.6c-5.17-4.74-8.39-11.14-9.09-17.82c-0.82-7.84,1.79-16.21,7.67-22.38c2.97-3.11,6.7-5.57,11.68-7.51c5.21-2.02,10.96-3.23,19.8-5.01c2.33-0.47,4.66-0.94,6.99-1.41c3.06-0.62,5.69-1.4,7.81-3.99c2.13-2.61,2.17-5.78,2.17-8.92l0-79.29c0-6.07-2.72-7.72-8.52-6.61c-4.14,0.81-93.09,18.75-93.09,18.75c-5.02,1.21-6.78,2.85-6.78,9.08l0,116.15c0,4.56-0.24,8.7-1.19,13.26c-0.93,4.43-2.63,8.6-5.24,12.35c-2.61,3.74-5.95,6.81-9.85,9.11c-3.95,2.33-8.08,3.72-12.5,4.61c-8.3,1.67-13.97,2.05-19.31,0.98c-5.14-1.03-9.5-3.47-12.99-6.66c-5.17-4.74-8.17-11.14-8.88-17.82c-0.82-7.84,1.57-16.21,7.46-22.38c2.97-3.11,6.7-5.57,11.68-7.51c5.21-2.02,10.96-3.23,19.8-5.01c2.33-0.47,4.66-0.94,6.99-1.41c3.06-0.62,5.69-1.4,7.81-3.99c2.12-2.59,2.37-5.64,2.37-8.76c0-24.6,0-133.92,0-133.92c0-1.8,0.15-3.02,0.24-3.62c0.43-2.82,1.56-5.24,3.6-6.95c1.7-1.42,3.88-2.41,6.67-3l0.04-0.01l107-21.59c0.93-0.19,8.66-1.56,9.53-1.64c5.78-0.5,9.03,3.3,9.03,9.46V234.26z",style:{fillRule:"evenodd",clipRule:"evenodd",fill:s}})})},l=e=>{let{colorFill:t="#000000",...s}=e;return(0,a.jsx)("svg",{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 84.3 20.7",...s,children:(0,a.jsx)("path",{fill:t,d:"M35.4,20.1V6.6h-0.1l-5.4,13.5h-2.1L22.4,6.6h-0.1v13.5h-2.5V1.8H23l5.8,14.6h0.1l5.8-14.6H38v18.3L35.4,20.1L35.4,20.1z M52.1,20.1h-2.6v-2.3h-0.1c-0.7,1.6-2.1,2.5-4.1,2.5c-2.9,0-4.6-1.9-4.6-5V6.7h2.7v8.1c0,2,1,3.1,2.8,3.1c2,0,3.1-1.4,3.1-3.5V6.7 h2.7L52.1,20.1L52.1,20.1z M59.5,6.5c3.1,0,5,1.7,5.1,4.2h-2.5c-0.2-1.3-1.1-2.1-2.6-2.1C58,8.6,57,9.3,57,10.4c0,0.8,0.6,1.4,2,1.7 l2.1,0.5c2.7,0.6,3.7,1.7,3.7,3.6c0,2.4-2.2,4.1-5.3,4.1c-3.3,0-5.3-1.6-5.5-4.2h2.7c0.2,1.4,1.2,2.1,2.8,2.1c1.6,0,2.6-0.7,2.6-1.8 c0-0.9-0.5-1.4-1.9-1.7l-2.1-0.5c-2.5-0.6-3.7-1.8-3.7-3.8C54.4,8.1,56.4,6.5,59.5,6.5z M66.8,3.2c0-0.9,0.7-1.6,1.6-1.6 c0.9,0,1.6,0.7,1.6,1.6c0,0.9-0.7,1.6-1.6,1.6C67.5,4.8,66.8,4.1,66.8,3.2L66.8,3.2z M67,6.7h2.7v13.4H67V6.7z M81.1,11.3 c-0.3-1.4-1.3-2.6-3.1-2.6c-2.1,0-3.5,1.8-3.5,4.6c0,2.9,1.4,4.6,3.5,4.6c1.7,0,2.7-0.9,3.1-2.5h2.6c-0.3,2.8-2.5,4.8-5.7,4.8 c-3.8,0-6.2-2.6-6.2-6.9c0-4.2,2.4-6.9,6.2-6.9c3.4,0,5.4,2.2,5.7,4.8L81.1,11.3L81.1,11.3z M11.5,3.6C10.8,4.4,9.7,5.1,8.6,5 C8.4,3.8,9,2.6,9.6,1.9c0.7-0.9,1.9-1.5,2.9-1.5C12.6,1.5,12.2,2.7,11.5,3.6L11.5,3.6z M12.5,5.2c0.6,0,2.4,0.2,3.6,2 c-0.1,0.1-2.1,1.3-2.1,3.8c0,3,2.6,4,2.6,4c0,0.1-0.4,1.4-1.3,2.8c-0.8,1.2-1.7,2.4-3,2.4c-1.3,0-1.7-0.8-3.2-0.8 c-1.5,0-2,0.8-3.2,0.8c-1.3,0-2.3-1.3-3.1-2.5c-1.7-2.5-3-7-1.2-10c0.8-1.5,2.4-2.5,4-2.5c1.3,0,2.5,0.9,3.2,0.9 C9.5,6.1,10.9,5.1,12.5,5.2L12.5,5.2z"})})}},93567:(e,t,s)=>{"use strict";s.d(t,{As:()=>p,sW:()=>x});var a=s(48554),r=s(77802),l=s(59445),n=s(49413),i=s(49213),c=s(66099);let o=(0,c.createServerReference)("009756b393a33859933da876c0cc0aa57bd83e4156",c.callServer,void 0,c.findSourceMapURL,"signOutUser"),d=(0,c.createServerReference)("40cdf6c7702c96c4a3f7c65cd7d223cda7dde36a82",c.callServer,void 0,c.findSourceMapURL,"handleSignInWithPassword"),u=(0,c.createServerReference)("406cbf72ed3e5e47b7ff74bd8a1147b314273efff1",c.callServer,void 0,c.findSourceMapURL,"handleSignUp");var h=s(78674),m=s(83493);function x(){let e=(0,h.f)();return(0,l.n)({mutationFn:async t=>{let s=(0,i.AP)("/auth/callback?next=".concat(encodeURIComponent("/setlist/type-it"))),{error:a}=await e.auth.signInWithOAuth({provider:t,options:{redirectTo:s}});if(a)throw a}})}function p(){var e,t,s;let i=(0,r.jE)(),c=function(){let e=(0,h.f)();return(0,a.I)({queryKey:m.z.user,queryFn:async()=>{let{data:t,error:s}=await e.auth.getUser();if(s){var a;if((null==(a=s.message)?void 0:a.toLowerCase().includes("auth session missing"))||"AuthSessionMissing"===s.code)return null;throw s}return t.user},staleTime:3e5,retry:!1})}(),x=null==(e=c.data)?void 0:e.id,p=function(e){let t=(0,h.f)();return(0,a.I)({queryKey:m.z.userDetails(e),queryFn:async()=>{let{data:s,error:a}=await t.from("users").select("*").eq("id",e).single();if(a)throw a;return s},enabled:!!e,staleTime:3e5})}(x),g=function(e){let t=(0,h.f)();return(0,a.I)({queryKey:m.z.subscription(e),queryFn:async()=>{let{data:s,error:a}=await t.from("subscriptions").select("\n *,\n prices (\n *,\n products (*)\n )\n ").eq("user_id",e).in("status",["trialing","active"]).maybeSingle();if(a)throw a;return s},enabled:!!e,staleTime:6e5})}(x),f=function(){let e=(0,h.f)(),t=(0,r.jE)();return(0,l.n)({mutationFn:async t=>{let{data:{user:s}}=await e.auth.getUser();if(!s)throw Error("Not authenticated");let{data:a,error:r}=await e.from("users").update(t).eq("id",s.id).select().single();if(r)throw r;return a},onSuccess:e=>{t.setQueryData(m.z.userDetails(e.id),e)}})}(),v=function(){let e=(0,r.jE)();return(0,l.n)({mutationFn:async()=>{let e=await o();if(!e.success&&e.error)throw Error(e.error)},onSuccess:()=>{e.removeQueries({queryKey:m.z.base})}})}(),y=function(){let e=(0,r.jE)();return(0,l.n)({mutationFn:async e=>{let t=await d(e);if(!t.success)throw Error(t.error);return t.redirectUrl},onSuccess:()=>
1{e.invalidateQueries({queryKey:m.z.base})}})}(),b=function(){let e=(0,r.jE)();return(0,l.n)({mutationFn:async e=>{let t=await u(e);if(!t.success)throw Error(t.error);return t.redirectUrl},onSuccess:()=>{e.invalidateQueries({queryKey:m.z.base})}})}(),j=(0,n.useCallback)(()=>{i.invalidateQueries({queryKey:m.z.base})},[i]);(0,n.useEffect)(()=>{let e=()=>{document.hidden||j()};return document.addEventListener("visibilitychange",e),()=>{document.removeEventListener("visibilitychange",e)}},[j]);let w=g.data,N=null==w||null==(s=w.prices)||null==(t=s.products)?void 0:t.name,C=(null==w?void 0:w.current_period_end)?new Date(w.current_period_end).toLocaleDateString("en-US",{month:"long",day:"numeric",year:"numeric"}):null;return{user:c.data,userDetails:p.data,subscription:g.data,updateUserProfile:f.mutateAsync,signOut:v.mutateAsync,signIn:y.mutateAsync,signUp:b.mutateAsync,refreshData:j,isLoading:c.isLoading||x&&p.isLoading||x&&g.isLoading||y.isPending||b.isPending,error:c.error||p.error||g.error||y.error||b.error,isAuthenticated:!!x,isSubscribed:!!g.data,subscriptionName:N,subscriptionEndDate:C,isBasic:"Basic Access"===N,isPremium:"Premium Access"===N}}},94137:e=>{e.exports={customSlider:"faux-player_customSlider__yy62i"}},97181:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>eC});var a=s(4673),r=s(94346),l=s(25204),n=s(14172),i=s.n(n),c=s(44689),o=s(49413),d=s(30083),u=s(83643);let h=e=>{let{colorFill:t="#1ED760",...s}=e;return(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",height:"168px",width:"559px",version:"1.1",viewBox:"0 0 559 168",...s,children:(0,a.jsx)("path",{fill:t,d:"m83.996 0.277c-46.249 0-83.743 37.493-83.743 83.742 0 46.251 37.494 83.741 83.743 83.741 46.254 0 83.744-37.49 83.744-83.741 0-46.246-37.49-83.738-83.745-83.738l0.001-0.004zm38.404 120.78c-1.5 2.46-4.72 3.24-7.18 1.73-19.662-12.01-44.414-14.73-73.564-8.07-2.809 0.64-5.609-1.12-6.249-3.93-0.643-2.81 1.11-5.61 3.926-6.25 31.9-7.288 59.263-4.15 81.337 9.34 2.46 1.51 3.24 4.72 1.73 7.18zm10.25-22.802c-1.89 3.072-5.91 4.042-8.98 2.152-22.51-13.836-56.823-17.843-83.448-9.761-3.453 1.043-7.1-0.903-8.148-4.35-1.04-3.453 0.907-7.093 4.354-8.143 30.413-9.228 68.222-4.758 94.072 11.127 3.07 1.89 4.04 5.91 2.15 8.976v-0.001zm0.88-23.744c-26.99-16.031-71.52-17.505-97.289-9.684-4.138 1.255-8.514-1.081-9.768-5.219-1.254-4.14 1.08-8.513 5.221-9.771 29.581-8.98 78.756-7.245 109.83 11.202 3.73 2.209 4.95 7.016 2.74 10.733-2.2 3.722-7.02 4.949-10.73 2.739zm94.56 3.072c-14.46-3.448-17.03-5.868-17.03-10.953 0-4.804 4.52-8.037 11.25-8.037 6.52 0 12.98 2.455 19.76 7.509 0.2 0.153 0.46 0.214 0.71 0.174 0.26-0.038 0.48-0.177 0.63-0.386l7.06-9.952c0.29-0.41 0.21-0.975-0.18-1.288-8.07-6.473-17.15-9.62-27.77-9.62-15.61 0-26.52 9.369-26.52 22.774 0 14.375 9.41 19.465 25.67 23.394 13.83 3.187 16.17 5.857 16.17 10.629 0 5.29-4.72 8.58-12.32 8.58-8.44 0-15.33-2.85-23.03-9.51-0.19-0.17-0.45-0.24-0.69-0.23-0.26 0.02-0.49 0.14-0.65 0.33l-7.92 9.42c-0.33 0.4-0.29 0.98 0.09 1.32 8.96 8 19.98 12.22 31.88 12.22 16.82 0 27.69-9.19 27.69-23.42 0.03-12.007-7.16-18.657-24.77-22.941l-0.03-0.013zm62.86-14.26c-7.29 0-13.27 2.872-18.21 8.757v-6.624c0-0.523-0.42-0.949-0.94-0.949h-12.95c-0.52 0-0.94 0.426-0.94 0.949v73.601c0 0.52 0.42 0.95 0.94 0.95h12.95c0.52 0 0.94-0.43 0.94-0.95v-23.23c4.94 5.53 10.92 8.24 18.21 8.24 13.55 0 27.27-10.43 27.27-30.369 0.02-19.943-13.7-30.376-27.26-30.376l-0.01 0.001zm12.21 30.375c0 10.149-6.25 17.239-15.21 17.239-8.85 0-15.53-7.41-15.53-17.239 0-9.83 6.68-17.238 15.53-17.238 8.81-0.001 15.21 7.247 15.21 17.237v0.001zm50.21-30.375c-17.45 0-31.12 13.436-31.12 30.592 0 16.972 13.58 30.262 30.91 30.262 17.51 0 31.22-13.39 31.22-30.479 0-17.031-13.62-30.373-31.01-30.373v-0.002zm0 47.714c-9.28 0-16.28-7.46-16.28-17.344 0-9.929 6.76-17.134 16.07-17.134 9.34 0 16.38 7.457 16.38 17.351 0 9.927-6.8 17.127-16.17 17.127zm68.27-46.53h-14.25v-14.566c0-0.522-0.42-0.948-0.94-0.948h-12.95c-0.52 0-0.95 0.426-0.95 0.948v14.566h-6.22c-0.52 0-0.94 0.426-0.94 0.949v11.127c0 0.522 0.42 0.949 0.94 0.949h6.22v28.795c0 11.63 5.79 17.53 17.22 17.53 4.64 0 8.49-0.96 12.12-3.02 0.3-0.16 0.48-0.48 0.48-0.82v-10.6c0-0.32-0.17-0.63-0.45-0.8-0.28-0.18-0.63-0.19-0.92-0.04-2.49 1.25-4.9 1.83-7.6 1.83-4.15 0-6.01-1.89-6.01-6.11v-26.76h14.25c0.52 0 0.94-0.426 0.94-0.949v-11.126c0.02-0.523-0.4-0.949-0.93-0.949l-0.01-0.006zm49.64 0.057v-1.789c0-5.263 2.02-7.61 6.54-7.61 2.7 0 4.87 0.536 7.3 1.346 0.3 0.094 0.61 0.047 0.85-0.132 0.25-0.179 0.39-0.466 0.39-0.77v-10.91c0-0.417-0.26-0.786-0.67-0.909-2.56-0.763-5.84-1.546-10.76-1.546-11.95 0-18.28 6.734-18.28 19.467v2.74h-6.22c-0.52 0-0.95 0.426-0.95 0.948v11.184c0 0.522 0.43 0.949 0.95 0.949h6.22v44.405c0 0.53 0.43 0.95 0.95 0.95h12.94c0.53 0 0.95-0.42 0.95-0.95v-44.402h12.09l18.52 44.402c-2.1 4.66-4.17 5.59-6.99 5.59-2.28 0-4.69-0.68-7.14-2.03-0.23-0.12-0.51-0.14-0.75-0.07-0.25 0.09-0.46 0.27-0.56 0.51l-4.39 9.63c-0.21 0.46-0.03 0.99 0.41 1.23 4.58 2.48 8.71 3.54 13.82 3.54 9.56 0 14.85-4.46 19.5-16.44l22.46-58.037c0.12-0.292 0.08-0.622-0.1-0.881-0.17-0.257-0.46-0.412-0.77-0.412h-13.48c-0.41 0-0.77 0.257-0.9 0.636l-13.81 39.434-15.12-39.46c-0.14-0.367-0.49-0.61-0.88-0.61h-22.12v-0.003zm-28.78-0.057h-12.95c-0.52 0-0.95 0.426-0.95 0.949v56.481c0 0.53 0.43 0.95 0.95 0.95h12.95c0.52 0 0.95-0.42 0.95-0.95v-56.477c0-0.523-0.42-0.949-0.95-0.949v-0.004zm-6.4-25.719c-5.13 0-9.29 4.152-9.29 9.281 0 5.132 4.16 9.289 9.29 9.289s9.28-4.157 9.28-9.289c0-5.128-4.16-9.281-9.28-9.281zm113.42 43.88c-5.12 0-9.11-4.115-9.11-9.112s4.04-9.159 9.16-9.159 9.11 4.114 9.11 9.107c0 4.997-4.04 9.164-9.16 9.164zm0.05-17.365c-4.67 0-8.2 3.71-8.2 8.253 0 4.541 3.51 8.201 8.15 8.201 4.67 0 8.2-3.707 8.2-8.253 0-4.541-3.51-8.201-8.15-8.201zm2.02 9.138l2.58 3.608h-2.18l-2.32-3.31h-1.99v3.31h-1.82v-9.564h4.26c2.23 0 3.69 1.137 3.69 3.051 0.01 1.568-0.9 2.526-2.21 2.905h-0.01zm-1.54-4.315h-2.37v3.025h2.37c1.18 0 1.89-0.579 1.89-1.514 0-0.984-0.71-1.511-1.89-1.511z"})})},m=e=>{let{colorFill:t="#ffffff",...s}=e;return(0,a.jsx)("svg",{width:"800",height:"390",viewBox:"0 0 800 390",fill:"none",xmlns:"http://www.w3.org/2000/svg",...s,children:(0,a.jsx)("path",{fill:t,d:"M328.589 0.369141H329.03C332.389 4.22324 336.187 7.63686 339.766 11.3258L364.102 35.6616V36.1021C352.32 47.8296 340.592 59.6671 328.809 71.3946C316.972 59.6121 305.189 47.7745 293.352 35.992C293.958 34.8358 295.114 34.0649 295.994 33.1289C306.841 22.1723 317.853 11.3808 328.589 0.369141ZM399.615 0.369141H400.055C400.386 0.864667 400.716 1.30514 401.156 1.7456C412.553 13.0326 423.786 24.4848 435.292 35.7167C435.017 36.3774 434.412 36.8179 433.916 37.3134C422.52 48.6554 411.177 60.0526 399.78 71.3946C387.887 59.6671 376.215 47.7195 3
164.267 36.047C375.829 23.9892 387.997 12.3719 399.615 0.369141ZM470.64 0.369141H471.08C473.283 3.01195 475.871 5.26935 478.238 7.74698C487.158 16.6665 496.023 25.5309 504.941 34.4504C505.383 34.9459 506.099 35.3863 506.263 36.1021C494.315 47.7194 482.753 59.7773 470.75 71.3946L436.889 37.5336C436.339 36.928 435.623 36.4875 435.348 35.7167C441.349 29.8805 447.185 23.8791 453.131 17.9879C458.968 12.0966 464.914 6.37052 470.64 0.369141ZM364.763 106.357C376.38 94.7394 388.052 83.1221 399.67 71.4497L400.164 71.6699C411.836 83.3974 423.509 95.1248 435.291 106.742C434.907 107.623 434.081 108.119 433.474 108.834C424.997 117.258 416.516 125.792 408.037 134.216C405.285 136.859 402.642 139.832 399.835 142.31C395.816 138.676 392.127 134.602 388.216 130.858C380.289 122.929 372.416 115.001 364.432 107.128C364.542 106.907 364.652 106.577 364.763 106.357ZM0 259.089H105.933C105.988 267.567 105.988 276.047 105.933 284.471H67.777V384.677C67.722 386.329 67.8871 387.981 67.5568 389.633H38.1005C38.2106 354.56 38.1555 319.543 38.1555 284.471H0V259.089ZM194.301 259.089C204.212 259.089 214.122 259.089 224.033 259.144C223.978 302.64 224.143 346.137 223.923 389.633H194.356C194.191 378.07 194.301 366.508 194.246 354.946C194.301 323.012 194.246 291.078 194.301 259.089ZM718.513 259.089C728.424 259.089 738.334 259.089 748.245 259.144V363.425C765.478 363.534 782.767 363.48 800 363.48V389.633H718.568C718.403 346.137 718.568 302.64 718.513 259.089ZM439.036 302.861C436.063 292.619 430.282 283.315 422.244 276.322C411.617 266.907 397.743 261.787 383.813 259.97C375.939 258.814 367.956 259.144 360.029 259.089H324.846C324.186 259.089 323.47 259.144 322.809 259.254C322.974 302.365 322.809 345.476 322.919 388.586C322.864 388.861 322.809 389.356 322.754 389.632H373.627C378.198 388.806 382.878 388.861 387.392 387.87C402.808 385.062 417.619 377.409 427.694 365.241C435.127 356.431 439.697 345.363 441.184 333.967C442.505 323.563 441.955 312.881 439.036 302.861ZM405.506 346.192C401.817 352.083 396.366 356.763 390.034 359.626C384.308 362.269 377.977 363.48 371.699 363.645C365.092 363.701 358.485 363.645 351.878 363.701C351.547 356.377 351.823 349.055 351.713 341.733C351.713 322.628 351.713 303.577 351.769 284.472H372.195C382.436 284.692 392.842 288.216 400.275 295.484C406.937 301.926 410.681 311.01 411.287 320.205C411.893 329.178 410.241 338.483 405.506 346.192ZM626.896 358.91C614.453 328.683 602.065 298.401 589.512 268.229C588.355 265.201 587.144 262.117 585.768 259.199C575.526 259.034 565.287 259.034 555.045 259.199C537.536 301.319 520.028 343.439 502.52 385.503C501.969 386.88 501.309 388.201 501.033 389.633H532.692C535.83 380.933 539.189 372.344 542.327 363.645C560.276 363.37 578.28 363.59 596.285 363.535C597.221 363.26 597.496 364.252 597.716 364.911C600.744 373.17 603.829 381.374 606.801 389.633H639.452C635.485 379.282 631.08 369.151 626.896 358.91ZM550.695 340.465C550.53 339.308 551.246 338.318 551.576 337.272C557.577 321.58 563.745 305.889 569.69 290.197C569.8 290.141 570.021 290.087 570.131 290.087C576.352 306.605 582.684 323.066 588.961 339.583C588.961 339.804 589.016 340.244 589.016 340.465C576.242 340.355 563.469 340.355 550.695 340.465Z"})})};var x=s(4935),p=s(26061),g=s(865);s(39318),s(46366);var f=s(65473),v=s(48269),y=s(12250),b=s(12093);s(65133);var j=s(97734);let w=e=>"bubble-".concat(e.toLowerCase().replace(/\s+/g,"-")),N=(0,o.memo)(e=>{let{bubble:t,index:s,onClick:r}=e,l=w(t.label),n=(0,o.useCallback)(()=>{r(s)},[r,s]),i=(0,o.useCallback)(e=>{("Enter"===e.key||" "===e.key)&&(e.preventDefault(),r(s))},[r,s]);return(0,a.jsx)("div",{className:"bubble absolute grid w-min -translate-x-1/2 -translate-y-1/2 select-none place-content-center rounded-full",style:{left:"".concat(t.x,"px"),top:"".concat(t.y,"px")},children:(0,a.jsx)("div",{id:l,role:"button","aria-pressed":t.active,onClick:n,onKeyDown:i,tabIndex:0,className:(0,j.cn)("flex aspect-square cursor-pointer items-center justify-center rounded-full border-2 border-[color:var(--bubble-tint)] transition-all",t.active?"bg-[var(--bubble-tint)] p-8 font-semibold text-[var(--active-color)]":"bg-transparent p-4 font-medium text-[var(--bubble-tint)] hover:p-6"),children:(0,a.jsx)("span",{className:"grid place-content-center whitespace-normal text-balance text-center font-mono uppercase leading-[1em] tracking-tighter transition-transform duration-300",style:{transform:"rotate(".concat(t.active?t.rotation:-t.rotation,"deg)")},children:t.label})})})});N.displayName="Bubble";
1var C=s(30071),z=s(27780),k=s(76233);let E={COLLISION_PADDING:.01,VELOCITY_DECAY:.1,GRAVITY:.5,BOUNCE:0,ALPHA_DECAY:.2,ALPHA_MIN:.05,COLLISION_STRENGTH:.75,COLLISION_ITERATIONS:8,REPULSION_STRENGTH:5},S=(e,t)=>{let{width:s}=t;return e.map(e=>({label:e,x:.5*s+.6*s*(Math.random()-.5),y:-50-50*Math.random(),size:0,active:!1,vx:(Math.random()-.5)*1.2,vy:0,rotation:(.5>Math.random()?-1:1)*(5+7.5*Math.random())}))},M=e=>{let t=[];function s(){for(let a of t){var s;a.vy=(null!=(s=a.vy)?s:0)+e}}return s.initialize=function(e){t=e},s},_=(e,t)=>{let[s,a]=(0,o.useState)([]),[r,l]=(0,o.useState)(!1),n=(0,o.useRef)(null),i=(0,o.useRef)(null),c=(0,o.useRef)([]),d=(0,o.useCallback)((e,t)=>e.map((e,s)=>{let a=t.children[s];if(!a)return e;let r=a.querySelector('[role="button"]');if(!r)return e;let{width:l,height:n}=r.getBoundingClientRect(),i=Math.max(l,n),c=e.size>0&&e.size!==i;return{...e,size:i,_needsReheat:c}}),[]),u=(0,o.useCallback)((e,t,s)=>{var a,r,l,n;let{BOUNCE:i}=E,c=null!=(a=e.vy)?a:0,o=null!=(r=e.vx)?r:0,d=e.size/2;e.y+d>s&&(e.y=s-d,c>0&&(e.vy=-(c*i),e.vx=.97*o)),e.x-d<0?(e.x=d,o<0&&(e.vx=-(o*i))):e.x+d>t&&(e.x=t-d,o>0&&(e.vx=-(o*i))),e.vx=(null!=(l=e.vx)?l:0)*.99,e.vy=(null!=(n=e.vy)?n:0)*.99},[]),h=(0,o.useCallback)(()=>{n.current&&(n.current.stop(),n.current=null),i.current&&(cancelAnimationFrame(i.current),i.current=null),l(!1)},[]),m=(0,o.useCallback)(()=>{if(!s.length||!t.current)return;h();let{width:e,height:r}=t.current.getBoundingClientRect(),{COLLISION_PADDING:c,VELOCITY_DECAY:o,ALPHA_DECAY:d,ALPHA_MIN:m,GRAVITY:x,COLLISION_ITERATIONS:p,REPULSION_STRENGTH:g}=E,f=Array.from(t.current.children),v=M(x);n.current=C.A().nodes(s).force("collision",z.A().radius(e=>e.size/2+c).strength(1).iterations(p)).force("gravity",v).force("charge",k.A().strength(g)).velocityDecay(o).alphaDecay(d).alphaMin(m).on("tick",()=>{var t,l;let c=null!=(l=null==(t=n.current)?void 0:t.nodes())?l:[];c.forEach((t,s)=>{if(u(t,e,r),s<f.length){let e=f[s];e.style.left="".concat(t.x,"px"),e.style.top="".concat(t.y,"px");let a=e.querySelector("span");if(a&&t.rotation){let e=t.active?t.rotation:-t.rotation;a.style.transform="rotate(".concat(e,"deg)")}}}),i.current=requestAnimationFrame(()=>{c.some((e,t)=>{var a;return e.active!==(null==(a=s[t])?void 0:a.active)})&&a([...c])})}).on("end",()=>{i.current&&(cancelAnimationFrame(i.current),i.current=null),a(e=>{var t,s;let a=null!=(s=null==(t=n.current)?void 0:t.nodes())?s:[];return a.length>0?[...a]:e}),l(!1)}),l(!0)},[s,u,t,h]),x=(0,o.useCallback)(e=>{a(t=>{let s=t.map((t,s)=>s===e?{...t,active:!t.active}:t);return n.current?n.current.alpha(.8).restart():requestAnimationFrame(()=>m()),s})},[m]);return(0,o.useEffect)(()=>{if(t.current)return a(S(e,t.current.getBoundingClientRect())),()=>{n.current&&(n.current.stop(),n.current=null),i.current&&(cancelAnimationFrame(i.current),i.current=null)}},[e,t]),(0,o.useEffect)(()=>{if(s.length&&t.current)return(c.current=s,s.some(e=>0===e.size))?void a(d(s,t.current)):(s.some(e=>e._needsReheat)&&n.current?(n.current.alpha(.5).restart(),a(e=>e.map(e=>({...e,_needsReheat:!1})))):n.current||m(),()=>h())},[s,d,t,m,h]),(0,o.useEffect)(()=>{let e=t.current;if(!e||!s.length)return;let r=new ResizeObserver(()=>{requestAnimationFrame(()=>{let t=c.current;if(!t.length)return;let s=e.getBoundingClientRect();a(d(t,e).map(e=>{let t=e.size/2;return{...e,x:Math.max(t,Math.min(s.width-t,e.x)),y:Math.max(t,Math.min(s.height-t,e.y)),_needsReheat:!0}})),n.current?n.current.alpha(.8).restart():m()})});return r.observe(e),()=>r.disconnect()},[s.length,d,m,t]),{bubbles:s,isSimulationActive:r,handleBubbleClick:x,startSimulation:m}},L=o.memo(e=>{let{bubblesArray:t,className:s,onSelectionChange:r=()=>{}}=e,l=(0,o.useRef)(null),{bubbles:n,isSimulationActive:i,handleBubbleClick:c,startSimulation:d}=_(t,l);(0,o.useEffect)(()=>{n.length>0&&r(n.filter(e=>e.active).map(e=>e.label))},[n,r]);let u=(0,o.useCallback)(e=>{let t=n.findIndex(t=>t.label===e);-1!==t&&c(t)},[n,c]),h=(0,o.useCallback)(()=>{i||d()},[i,d]);return(0,a.jsx)("div",{ref:l,className:(0,j.cn)("relative top-[-100%] grid h-[200%] w-full overflow-hidden overflow-x-hidden overflow-y-visible p-6",s),onMouseEnter:h,onTouchStart:h,children:n.map(e=>(0,a.jsx)(N,{bubble:e,index:e.label,onClick:u},e.label))})});var A=s(58811),R=s(41683);let I=[{name:"chill",min:75,max:95,label:"CHILL / RELAXED",shortLabel:"CHILL"},{name:"focus",min:90,max:110,label:"WORK / FOCUS",shortLabel:"FOCUS"},{name:"dance",min:105,max:145,label:"DANCE / EVENT",shortLabel:"DANCE"},{name:"club",min:130,max:170,label:"CLUB / GYM / FESTIVAL",shortLabel:"CLUB"}],F=function(e){let{onChange:t,initialThumbValues:s=[85,165]}=e,[r,l]=(0,o.useState)(s),n=(e,t)=>{let[s,a]=t;return e.min<=a&&e.max>=s},i=(0,o.useCallback)(e=>{l(e),t&&t(e)},[t]),c=(0,o.useCallback)(e=>{let t=(e.min-65)/120*100,s=(e.max-65)/120*100;return{left:"".concat(t,"%"),width:"".concat(s-t,"%")}},[]);return(0,a.jsx)("div",{className:"relative flex size-full flex-col",children:(0,a.jsxs)("div",{className:"relative size-full",children:[(0,a.jsx)("div",{className:"absolute inset-0 z-[1] flex h-full items-center",children:(0,a.jsxs)("div",{className:"size-full",children:[(0,a.jsx)("div",{className:"absolute right-1/2 hidden h-full w-[calc(100%+26px)] translate-x-1/2 justify-between pt-[8
1%] sm:flex md:pt-[7%] lg:pt-[8%]",children:Array.from({length:Math.floor(24)+1},(e,t)=>{let s=65+5*t;return s>185?null:(0,a.jsxs)("div",{className:"flex flex-col items-center gap-2",children:[(0,a.jsx)("div",{className:(0,j.cn)("h-[84%] w-[2px]",s<r[0]||s>r[1]?"bg-hard opacity-0":"bg-chill opacity-0")}),t%2==0&&(0,a.jsx)("span",{className:(0,j.cn)("w-[26px] text-center font-mono text-sm font-medium",s<r[0]||s>r[1]?"text-hard opacity-50":"text-chill opacity-80"),children:s})]},s)})}),(0,a.jsx)("div",{className:"absolute right-1/2 flex h-full w-[calc(100%+24px)] translate-x-1/2 justify-between pt-[14%] sm:hidden",children:Array.from({length:Math.floor(12)+1},(e,t)=>{let s=65+10*t;return s>185?null:(0,a.jsxs)("div",{className:"flex flex-col items-center gap-2",children:[(0,a.jsx)("div",{className:(0,j.cn)("h-[80%] w-[2px]",s<r[0]||s>r[1]?"bg-hard opacity-0":"bg-chill opacity-0")}),t%2==0&&(0,a.jsx)("span",{className:(0,j.cn)("w-[24px] text-center font-mono text-xs font-medium",s<r[0]||s>r[1]?"text-hard opacity-50":"text-chill opacity-80"),children:s})]},s)})})]})}),(0,a.jsx)("div",{className:"absolute inset-0 z-10 flex items-center",children:(0,a.jsx)("div",{className:"relative flex h-[70%] w-full items-center justify-center lg:h-[72%]",children:I.map(e=>{let t=n(e,r);return(0,a.jsxs)("div",{className:(0,j.cn)("duration-250 absolute rounded-xl transition-all ease-out","font-regular flex flex-col items-start justify-start p-3 text-center sm:p-4","h-[70%] text-xs sm:h-[80%] sm:text-sm lg:text-base","chill"===e.name&&"#bg-gaudi-400/80 bg-valence-400/80 text-off-white-900","focus"===e.name&&"#bg-valence-600/80 bg-gaudi-300/80 text-off-white","dance"===e.name&&"bg-dance-400/80 text-off-white","club"===e.name&&"bg-NRG/80 text-off-white-900",t?"z-10 scale-105 shadow-xl [text-shadow:0px_0px_2px_rgba(0,0,0,0.0)]":"z-0 scale-100 bg-hard-200/50"),style:c(e),children:[(0,a.jsx)("span",{className:(0,j.cn)("text-left font-mono transition-all duration-300",t?"opacity-100":"opacity-50"),children:e.label}),(0,a.jsxs)("span",{className:(0,j.cn)("font-mono transition-all duration-300",t?"opacity-100":"opacity-60"),children:[e.min,"-",e.max]})]},e.name)})})}),(0,a.jsx)("div",{className:"absolute inset-0 z-20 flex items-center",children:(0,a.jsx)("div",{className:"w-full",children:(0,a.jsx)(R.Range,{draggableTrack:!0,values:r,step:1,min:65,max:185,rtl:!1,onChange:i,renderTrack:e=>{let{props:t,children:s}=e;return(0,a.jsx)("div",{onMouseDown:t.onMouseDown,onTouchStart:t.onTouchStart,style:{...t.style},className:(0,j.cn)("z-[20] flex h-[70px] w-full"),children:(0,a.jsx)("div",{ref:t.ref,style:{...t.style,background:(0,R.getTrackBackground)({values:r,colors:["rgb(var(--tw-hard))","rgb(var(--tw-chill))","rgb(var(--tw-hard))"],min:65,max:185,rtl:!1})},className:(0,j.cn)("h-[6px] w-full self-center sm:h-[8px]"),children:s})})},renderThumb:e=>{let{index:t,props:s,isDragged:a}=e;return(0,o.createElement)("div",{...s,style:{...s.style},key:s.key,className:(0,j.cn)("flex items-center justify-center rounded-full bg-hard text-NRG","px-3 py-2 sm:px-4 sm:py-2","font-regular font-mono text-lg sm:text-xl md:text-2xl lg:text-3xl",a?"ring-4 ring-chill":"","z-[20]")},r[t])}})})})]})})};var T=s(28258),P=s(27592),H=s(61556),D=s(62570),V=s(37985),B=s(36841),U=s(87050),G=s(67643),q=s(94137),O=s.n(q);let Y=e=>{let[t,s]=(0,o.useState)(!1),[a,r]=(0,o.useState)(0),[l,n]=(0,o.useState)(!1),[i,c]=(0,G.l)(),d=(0,o.useRef)(null),u=(0,o.useCallback)(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a;s(!0),n(!1);d.current=c(i.current,{width:"100%"},{duration:(100-t)/100*e,ease:"linear"})},[a,c,i,e,s,n]),h=(0,o.useCallback)(()=>{s(!1),d.current&&(d.current.stop(),d.current=null)},[]),m=(0,o.useCallback)(()=>{h(),r(0),n(!1),c(i.current,{width:"0%"},{duration:0}),setTimeout(()=>u(0),0)},[h,c,i,u]),x=(0,o.useCallback)(()=>{if(i.current){let e=parseFloat(i.current.style.width);r(e),e>=100&&(n(!0),s(!1),d.current=null)}},[i,r,n,s]);return(0,o.useEffect)(()=>{let e=setInterval(x,5);return()=>{clearInterval(e)}},[x]),{isPlaying:t,progress:a,isFinished:l,progressRef:i,animate:c,startProgress:u,stopProgress:h,restartProgress:m,setProgress:r,setIsPlaying:s,setIsFinished:n}},Z=function(e){let{className:t}=e,{isPlaying:s,progress:r,isFinished:l,progressRef:n,animate:i,startProgress:c,stopProgress:d,restartProgress:u,setProgress:h,setIsPlaying:m,setIsFinished:x}=Y(4),p=()=>{l?u():s?d():c()};return(0,o.useEffect)(()=>{c(0)},[]),(0,a.jsxs)("div",{className:(0,j.cn)("flex w-full items-center justify-between pt-1 md:pt-2 xl:pt-3",t),children:[(0,a.jsxs)("div",{className:"relative flex h-fit w-full items-center justify-center",children:[(0,a.jsx)("div",{ref:n,className:"absolute left-0 top-0 h-2 w-full",style:{width:"0%"}}),(0,a.jsx)("input",{type:"range",min:"0",max:"100",value:r,onChange:e=>{let t=Number(e.target.value);h(t),m(!1),x(t>=100),n.current&&i(n.current,{width:"".concat(t,"%")},{duration:0})},className:(0,j.cn)(O().customSlider,"h-1 w-full min-w-60 sm:min-w-64")})]}),(0,a.jsx)("button",{className:"ml-2 cursor-pointer leading-none sm:ml-4",onClick:e=>{e.stopPropagation(),p()},type:"button","aria-label":l?"Restart":s?"Pause":"Play",children:l?(0,a.jsx)(V.j,{weight:"bold",className:"size-3.5 sm:size-4"}):s?(0,a.jsx)(B.E,{weight:"fill",className:"size-3.5 sm:size-4"}):(0,a.jsx)(U.u,{weight:"fill",className:"size-3.5 sm:size-4"})})]})},K={player:{backgroundColor:"#1e2330",color:"#D2E823",borderRadius:"0.75rem"},active:{backgroundColor:"#1e2330",color:"#D2E823",borderRadius:"0.75rem"},inactive:{backgroundColor:"#D2E823",color:"#061492",borderRadius:"0.75rem"}},X={inactive:{backgroundColor:"#E8F391"}},J=function(e){let{item:t,state:s,setState:r,onPlayerStateChange:l}=e,n=(0,o.useCallback)(()=>{"player"!==s&&(r("player"),l())},[s,r,l]),i=(0,o.useCallback)(e=>{e.stopPropagation(),r("active"===s?"inactive":"active")},[s,r]);return(0,a.jsxs)(D.P.div,{layout:!0,className:(0,j.cn)("relative flex cursor-pointer flex-col","font-mono text-xs font-medium uppercase sm:text-sm md:text-base lg:text-xl xl:text-2xl","px-2 py-1.5 xs:px-2 xs:py-2 sm:px-3 sm:py-4 lg:px-4","player"===s&&"cursor-default ring-1 ring-NRG"),onClick:n,variants:K,initial:"inactive",whileHover:"inactive"===s?X.inactive:{},whileFocus:"inactive"===s?X.inactive:{},animate:s,transition:{type:"tween",duration:.3,ease:"easeOut",backgroundColor:{duration:.3,ease:"easeOut"}},children:[(0,a.jsxs)("div",{className:(0,j.cn)("flex leading-tight tracking-tight"),children:[(0,a.jsx)("div",{className:"active"===s?"mr-4 lg:mr-4":"",children:(0,a.jsx)("span",{children:t.artist})}),(0,a.jsx)("div",{className:"",children:"player"===s?(0,a.jsxs)("div",{className:"flex flex-nowrap",children:[(0,a.jsx)("span",{className:"mx-1",children:"-"}),(0,a.jsx)("span",{className:"mr-4 lg:mr-8",children:t.song})]}):(0,a.jsx)("span",{})})]}),(0,a.jsx)("div",{className:"absolute right-2 top-2",children:"inactive"!==s?(0,a.jsx)("button",{className:"ml-4 cursor-pointer leading-none",onClick:i,type:"button","aria-label":"Toggle song state",children:(0,a.jsx)(H.u,{weight:"bold",className:"size-3.5 transition-all duration-200 ease-out hocus:rounded-full hocus:ring-1 hocus:ring-NRG/50 sm:size-5"})}):""}),(0,a.jsx)("div",{className:"",children:"player"===s?(0,a.jsx)(Z,{}):(0,a.jsx)("span",{})})]})},W=[{artist:"john summit",song:"where you are"},{artist:"gessaffelstein",song:"hard dreams"},{artist:"mindchatter",song:"cash"},{artist:"fred again...",song:"places to be"},{artist:"post malone",song:"circles"}
1,{artist:"disclosure",song:"you & me"},{artist:"jamie xx",song:"life"},{artist:"dom dolla",song:"girl$"},{artist:"purple disco machine",song:"heartbreaker"},{artist:"sofi tukker",song:"purple hat"},{artist:"noizu",song:"push to start"}],Q=function(e){let{className:t}=e,[s,r]=(0,o.useState)(W.map(()=>"inactive")),l=(0,o.useCallback)((e,t)=>{r(s=>s.map((s,a)=>a===e?t:"player"===t&&"player"===s?"active":s))},[]),n=(0,o.useCallback)(()=>{},[]);return(0,a.jsx)("div",{className:(0,j.cn)("grid size-full",t),children:(0,a.jsx)(T.x,{as:"div",axis:"y",values:W,onReorder:n,className:(0,j.cn)("flex size-full flex-wrap content-center items-center gap-1.5","pt-1 xs:pt-2 sm:gap-3 sm:pt-3 lg:gap-4 lg:pt-4"),transition:{duration:.3},children:W.map((e,t)=>(0,a.jsx)(P.N,{value:e,as:"div",dragListener:!1,transition:{duration:.3},children:(0,a.jsx)(J,{item:e,state:s[t],setState:e=>l(t,e),onPlayerStateChange:()=>l(t,"player")})},e.id||t))})})},$=["Pop","Hyper Pop","Indie Pop","Synth-pop","K-pop","Rap","Hip Hop","Trap","Reggaeton","House","Tech House","Bass House","Electro House","Future House","Melodic House","Afro House","Techno","Trance","Hard Style","Dubstep","Drum and Bass","Mainstage"];function ee(e){let{title:t,stepNumber:s,bgColor:r,className:l="",textColor:n=""}=e;return(0,a.jsxs)("div",{className:(0,j.cn)("pointer-events-none z-[1] mb-auto ml-4 mr-auto mt-4 flex select-none gap-2 font-semibold uppercase sm:font-bold","text-sm sm:text-base lg:text-lg xl:text-xl",n,l),children:[(0,a.jsx)("span",{className:(0,j.cn)("rounded-full px-4 py-3 leading-none",r),children:t}),(0,a.jsx)("span",{className:(0,j.cn)("rounded-full px-4 py-3 leading-none",r),children:s})]})}function et(){let e=(0,o.useRef)(null),t=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:640,[t,s]=(0,o.useState)(!1);return(0,o.useEffect)(()=>{let t=window.matchMedia("(max-width: ".concat(e-1,"px)")),a=()=>{s(window.innerWidth<e)};return t.addEventListener("change",a),s(window.innerWidth<e),()=>t.removeEventListener("change",a)},[e]),!!t}();return(0,a.jsx)(A.P,{onProgressChange:s=>{var a;if(!t&&(null==(a=e.current)?void 0:a.swiper)){let t=Math.round(3*s);e.current.swiper.slideTo(t,350)}},parallaxStrength:1.5*!t,bufferSize:[64,16],className:"",children:(0,a.jsxs)("div",{className:"flex max-h-[calc(90vh-5rem)] min-h-[80vh] flex-col overflow-clip rounded-8 bg-hard lg:min-h-[70vh] lg:flex-row lg:rounded-12 ",children:[(0,a.jsxs)("div",{className:"flex flex-col justify-between gap-2 p-8 sm:gap-4 lg:flex-[30%]",children:[(0,a.jsxs)("div",{className:"flex flex-col gap-2 xl:gap-4",children:[(0,a.jsx)(p.hE,{size:1,className:"font-mono text-lg font-normal uppercase lg:text-xl",asChild:!0,children:(0,a.jsx)("span",{children:"01. Choose the vibe"})}),(0,a.jsx)(p.hE,{size:4,className:"relative z-[1] text-3xl",asChild:!0,children:(0,a.jsxs)("h3",{children:[(0,a.jsx)(p.fH,{className:"bg-acid-jazz [--sizer:0.25em]",children:"Build sets"})," ","in a quick & easy way"]})})]}),(0,a.jsx)(p.hj,{size:1,className:"text-base sm:text-xl",children:"Interactive modules for a seamless builder experience"})]}),(0,a.jsxs)("div",{className:"relative grid min-w-0 grow overflow-hidden lg:flex-[70%]",children:[(0,a.jsxs)(b.RC,{ref:e,className:(0,j.cn)("size-full"),allowTouchMove:!1,speed:t?500:1e3,modules:[y.Vx],navigation:!!t&&{prevEl:".swiper-button-prev-custom",nextEl:".swiper-button-next-custom"},children:[(0,a.jsx)(b.qr,{className:"size-full",children:(0,a.jsxs)("div",{className:"grid-stack size-full overflow-hidden bg-gradient-to-tr from-dnb-blue to-dance",children:[(0,a.jsx)(ee,{title:"Select genres",stepNumber:"01",bgColor:"bg-valence",textColor:"text-hard"}),(0,a.jsx)("div",{className:"px-4",children:(0,a.jsx)(L,{bubblesArray:$,className:"text-xs xs:text-sm sm:text-lg md:text-xl lg:text-2xl xl:text-3xl"})})]})}),(0,a.jsx)(b.qr,{children:(0,a.jsxs)("div",{className:"grid-stack size-full bg-gradient-to-br from-[rgb(var(--tw-dance))] to-[rgb(var(--tw-valence))]",children:[(0,a.jsx)(ee,{title:"select songs and artists",stepNumber:"02",bgColor:"bg-acid-jazz"}),(0,a.jsx)("div",{className:"px-8 pb-4 pt-14 sm:px-4 xl:pt-16",children:(0,a.jsx)(Q,{})})]})}),(0,a.jsx)(b.qr,{children:(0,a.jsxs)("div",{className:"grid-stack size-full bg-gradient-to-tr from-valence/85 to-electric/85",children:[(0,a.jsx)(ee,{title:"Set your BPM Range",stepNumber:"03",bgColor:"bg-dance"}),(0,a.jsx)("div",{className:(0,j.cn)("flex items-center justify-center overflow-hidden px-14 pt-0 sm:p-10 sm:pt-14 lg:p-14 lg:pt-14"),children:(0,a.jsx)(F,{})})]})})]}),t&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("button",{className:"swiper-button-prev-custom absolute left-2 top-1/2 z-10 flex size-10 -translate-y-1/2 items-center justify-center rounded-full bg-hard/60 text-off-white shadow-lg backdrop-blur-sm transition-all hocus:scale-105 hocus:bg-hard/90 sm:hidden","aria-label":"Previous slide",children:(0,a.jsx)(f.e,{className:"size-5"})}),(0,a.jsx)("button",{className:"swiper-button-next-custom absolute right-2 top-1/2 z-10 flex size-10 -translate-y-1/2 items-center justify-center rounded-full bg-hard/60 text-off-white shadow-lg backdrop-blur-sm transition-all hocus:scale-105 hocus:bg-hard/90 sm:hidden","aria-label":"Next slide",children:(0,a.jsx)(v.J,{className:"size-5"})})]}),t&&(0,a.jsx)("div",{className:"absolute bottom-4 left-1/2 z-10 flex -translate-x-1/2 gap-2 sm:hidden",children:Array.from({length:3},(t,s)=>
1(0,a.jsx)("button",{className:"size-2 rounded-full bg-off-white/50 transition-all hocus:bg-off-white",onClick:()=>{var t;return null==(t=e.current)?void 0:t.swiper.slideTo(s)},"aria-label":"Go to slide ".concat(s+1)},s))})]})]})})}let es=e=>{let{text:t,progress:s}=e,{tags:a,parts:r}=(0,o.useMemo)(()=>{let e=/<[^>]*>/g;return{parts:t.split(e),tags:t.match(e)||[]}},[t]),l=Math.min(1,Math.max(0,s)),n=Math.floor(r.join("").length*l),i=(0,o.useMemo)(()=>a.map(e=>e.replace("<","</").replace(/\s.*?>/,">")),[a]);return(0,o.useMemo)(()=>{let e="",t=n;for(let s=0;s<r.length&&t>0;s++){let l=r[s];s>0&&a[s-1]&&(e+=a[s-1]);let n=l.slice(0,t);e+=n,t-=n.length,s>0&&a[s-1]&&l.length>0&&(e+=i[s-1])}return e},[r,a,i,n])},ea=o.memo(e=>{let{text:t,progress:s,className:r,tag:l="div"}=e,n=es({text:t,progress:s}),i=(0,o.useMemo)(()=>(0,j.cn)(r,"invisible"),[r]);return(0,a.jsxs)("div",{className:"grid-stack",children:[(0,a.jsx)(l,{className:r,dangerouslySetInnerHTML:{__html:n}}),(0,a.jsx)("span",{role:"presentation",className:i,dangerouslySetInnerHTML:{__html:t}})]})});ea.displayName="TypingText";let er=()=>{let e=(0,o.useRef)(null),[t,s]=(0,o.useState)(0),[r,l]=(0,o.useState)(!1),n=(0,o.useRef)(void 0);return(0,o.useEffect)(()=>{let t=e.current;if(!t)return;let s=()=>{t.pause(),t.currentTime=0,l(!0)};return t.addEventListener("loadedmetadata",s),t.readyState>=2&&s(),()=>{n.current&&cancelAnimationFrame(n.current),t.removeEventListener("loadedmetadata",s)}},[]),(0,a.jsx)(A.P,{onProgressChange:t=>{s(t),n.current&&cancelAnimationFrame(n.current),n.current=requestAnimationFrame(()=>{let s=e.current;if(!s||!r)return;let a=s.duration*t;isFinite(a)&&a>=0&&a<=s.duration&&(s.currentTime=a)})},bufferSize:[108,16],children:(0,a.jsxs)("div",{className:"overflow-clip rounded-8 border-2 lg:rounded-10",children:[(0,a.jsxs)("hgroup",{className:"px-8 pt-8 lg:px-10 lg:pt-10",children:[(0,a.jsx)(p.hE,{size:1,className:"font-mono font-normal uppercase",asChild:!0,children:(0,a.jsx)("span",{children:"02. Natural Prompting"})}),(0,a.jsx)(p.hE,{size:4,asChild:!0,children:(0,a.jsx)("h2",{children:(0,a.jsx)(ea,{text:'"I want a set that sounds like <b class="text-NRG">James Hype</b> mixed with <b class="text-dance">Kaytranada</b> with <b class="text-electric">high intensity</b>"',progress:t,className:"mb-6 mt-2 text-wrap font-normal"})})})]}),(0,a.jsxs)("video",{ref:e,width:"1892",height:"1060",preload:"auto",playsInline:!0,muted:!0,className:"aspect-[16/9] h-auto w-full border-t-1 border-dnb-blue-200 object-cover xl:aspect-[19/9]",children:[(0,a.jsx)("source",{src:"https://utfs.io/f/YsLG4ybaTME9QAZ7MfLyfhDLNbgCjR4zcSHY1MAv3B80raXF",type:"video/mp4"}),"Your browser does not support the video tag."]})]})})};var el=s(74418);let en=()=>(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("hgroup",{className:"mb-8 space-y-8",children:[(0,a.jsxs)(p.hE,{size:5,children:["Music curation for"," ",(0,a.jsx)(p.fH,{className:"bg-dance [--sizer:0.25em]",children:"anyone"})," to become a DJ"]}),(0,a.jsx)(p.hj,{size:2,children:"Create a set like your favorite artist in seconds "})]}),(0,a.jsxs)("div",{className:"flex flex-col gap-4 text-lg sm:flex-row",children:[(0,a.jsx)(d.$,{variant:"electric",className:"grid-stack group w-fit hocus:rounded-8",asChild:!0,children:(0,a.jsxs)(i(),{href:"/user/signup",children:[(0,a.jsxs)("span",{className:"flex translate-y-0 items-center gap-1 transition-opacity group-hocus:translate-y-[-90%] group-hocus:opacity-0",style:{transition:"transform 250ms ease-out, opacity 50ms ease-out"},children:["Launch Web App",(0,a.jsx)(r.f,{weight:"regular",className:"size-[1.5em]"})]}),(0,a.jsx)("span",{className:"translate-y-[90%] items-center text-center opacity-0 group-hocus:translate-y-0 group-hocus:opacity-100",style:{transition:"transform 250ms ease-out, opacity 50ms ease-out"},children:"Sign-up required"})]})}),(0,a.jsx)(el.g,{videoSrc:"https://5lill41gqp.ufs.sh/f/YsLG4ybaTME9yV86wKcHmc1lG2xsaFX6N83AorPkgJjiyDeO",children:(0,a.jsxs)(d.$,{variant:"ghost",className:"grid-stack group rounded-full",children:[(0,a.jsxs)("span",{className:"flex translate-y-0 items-center gap-1 transition-opacity group-hocus:translate-y-[-90%] group-hocus:opacity-0",style:{transition:"transform 250m
1s ease-out, opacity 50ms ease-out"},children:["Watch the video",(0,a.jsx)(U.u,{weight:"fill",className:"size-[1.25em]"})]}),(0,a.jsxs)("span",{className:"mx-auto flex translate-y-[90%] items-center gap-1 opacity-0 group-hocus:translate-y-0 group-hocus:opacity-100",style:{transition:"transform 250ms ease-out, opacity 50ms ease-out"},children:["See the magic",(0,a.jsx)(r.f,{weight:"regular",className:"size-[1.5em]"})]})]})})]})]});var ei=s(2242),ec=s(25278),eo=s(50994),ed=s(42067);let eu=[{id:0,song:"i had some help (ft. morgan wallen)",artist:"post malone, morgan wallen",tempo:128,energy:"high",mood:"Happy, Uplifting",key:"G Major"},{id:1,song:"not like us",artist:"kendrick lamar",tempo:101,energy:"mid",mood:"confrontational",key:"C# Major"},{id:2,song:"one of wun",artist:"gunna",tempo:140,energy:"high",mood:"energetic",key:"B flat minor"},{id:3,song:"boa",artist:"megan thee stallion",tempo:147,energy:"high",mood:"stylish",key:"C Major"},{id:4,song:"gimmie a light",artist:"ice spice",tempo:156,energy:"high",mood:"party",key:"C# Major"},{id:5,song:"fortnight (feat. post malone) - blond:ish remix",artist:"taylor swift, post malone, blond:ish",tempo:127,energy:"mid",mood:"mellow dance",key:"B Major"},{id:6,song:"baddy on the floor",artist:"jamie xx",tempo:124,energy:"high",mood:"upbeat",key:"F# Minor"},{id:7,song:"toro",artist:"remi wolf",tempo:109,energy:"low",mood:"upbeat",key:"C# Major"},{id:8,song:"love you forever",artist:"g-eazy",tempo:170,energy:"high",mood:"upbeat",key:"E Major"},{id:9,song:"sad girl",artist:"tep no",tempo:120,energy:"mid",mood:"stylish",key:"F Minor"}];var eh=s(839),em=s.n(eh);let ex=o.memo(e=>{let{song:t,songToMove:s,progress:r}=e,l=t.id===eu[s].id,n=(0,ed.G)(r,[0,.05,.95,1],[1,l?1.1:1,l?1.1:1,1]),i=(0,ed.G)(r,[0,.05,.95,1],["#1E2330",l?"#1ae8ce":"#1E2330",l?"#1ae8ce":"#1E2330","#1E2330"]),c=(0,ed.G)(r,[0,.05,.95,1],["#FFF",l?"#1E2330":"#FFF",l?"#1E2330":"#FFF","#FFF"]);return(0,a.jsxs)(P.N,{value:t,as:"tr",style:{scale:n,backgroundColor:i,
1color:c},whileInView:{opacity:1},initial:!1,animate:{transition:{duration:.3}},layout:!0,transition:{duration:.3,ease:[.25,.1,.25,1]},className:l?em().reordered:"",children:[(0,a.jsx)("td",{children:(0,a.jsx)(eo.H,{weight:"bold"})}),(0,a.jsx)("td",{children:t.song}),(0,a.jsx)("td",{children:t.artist}),(0,a.jsx)("td",{children:t.tempo}),(0,a.jsx)("td",{children:t.energy}),(0,a.jsx)("td",{children:t.mood}),(0,a.jsx)("td",{children:t.key})]})});ex.displayName="SetlistRow";let ep=e=>{let{items:t,setItems:s,songToMove:r,progress:l}=e;return(0,a.jsx)("div",{className:"".concat(em().table__scroll),children:(0,a.jsxs)("table",{className:"".concat(em().table),children:[(0,a.jsx)("thead",{children:(0,a.jsxs)("tr",{children:[(0,a.jsx)("th",{"aria-label":"Drag handle"}),(0,a.jsx)("th",{children:"Song"}),(0,a.jsx)("th",{children:"Artist"}),(0,a.jsx)("th",{children:"Tempo"}),(0,a.jsx)("th",{children:"Energy"}),(0,a.jsx)("th",{children:"Mood"}),(0,a.jsx)("th",{children:"Key"})]})}),(0,a.jsx)(T.x,{axis:"y",values:t,onReorder:s,as:"tbody",layoutScroll:!0,layout:!0,children:(0,a.jsx)(ec.N,{initial:!1,children:t.map(e=>(0,a.jsx)(ex,{song:e,songToMove:r,progress:l},e.id))})})]})})},eg=(0,s(56873).v)(e=>({songs:eu,setSongs:t=>e({songs:t})})),ef=[{src:"https://utfs.io/f/YsLG4ybaTME9max5hzniutEZvzD4HrOYT37lwoC8XPBdgSkp",alt:"BPM Visualization"},{src:"https://utfs.io/f/YsLG4ybaTME9KzzpK9Q5WapLyvelhzfbkUw9ZtTi648g7JBC",alt:"Danceability Visualization"},{src:"https://utfs.io/f/YsLG4ybaTME9NsduukZVysixb0nu5kN8vhAw4X3DdZYEpQ7K",alt:"Key Visualization"},{src:"https://utfs.io/f/YsLG4ybaTME94hrb1mGakt0bV9XDlmc5O18RS4FxsnPf7KL2",alt:"Mood Visualization"}],ev=o.memo(e=>{let{image:t,index:s,progress:r}=e,n=.2*s,i=n+.2,c=(0,ed.G)(r,[n,i],[0,1]),o=(0,ed.G)(r,[n,i],[-72.5,0]),d=(0,ed.G)(r,[n,i],[.4,1]);return(0,a.jsx)(D.P.div,{className:"".concat(em().visual," ").concat(em()["visual_".concat(s)]),style:{opacity:c,y:o,scale:d,position:"relative"},transition:{duration:.15,ease:"linear"},children:(0,a.jsx)("div",{className:"relative size-full",children:(0,a.jsx)(l.default,{src:t.src,alt:t.alt,fill:!0,sizes:"(max-width: 768px) 100vw, 50vw",className:"object-contain",priority:0===s})})})});ev.displayName="VisualImage";let ey=o.memo(e=>{let{progress:t}=e;return(0,a.jsx)(a.Fragment,{children:ef.map((e,s)=>(0,a.jsx)(ev,{image:e,index:s,progress:t},"visual-".concat(s)))})});ey.displayName="VisualImages";let eb=eu.length-1,ej=e=>Math.max(0,Math.min(Math.round(e*eb),eb)),ew=e=>{let{progress:t,className:s=""}=e,{songs:r,setSongs:l}=eg(),n=(0,ei.d)(t),i=(0,o.useCallback)(e=>{l(e)},[l]);(0,o.useEffect)(()=>{requestAnimationFrame(()=>{n.set(t);let e=ej(t),s=eu[1].id;if(r.findIndex(e=>e.id===s)!==e){let t=[...eu],[s]=t.splice(1,1);t.splice(e,0,s),l(t)}})},[t,n,r,l]);let c=(0,o.useMemo)(()=>(0,a.jsx)(ep,{items:r,setItems:i,songToMove:1,progress:n}),[r,i,n]),d=(0,o.useMemo)(()=>(0,a.jsx)(ey,{progress:n}),[n]);return(0,a.jsxs)("div",{className:"".concat(em().wrapper," ").concat(s),children:[d,c]})},eN=()=>{let[e,t]=(0,o.useState)(0);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("hgroup",{className:"mx-auto max-w-screen-xl space-y-8 px-4 text-center",children:[(0,a.jsxs)(p.hE,{size:5,children:[(0,a.jsx)(p.fH,{className:"bg-dance [--sizer:0.25em]",children:"Visualize"})," your set and move with it"]}),(0,a.jsx)(p.hj,{size:2,children:"Music intelligence at your fingertips for changing, reordering, and seeing the vibe change in real time"})]}),(0,a.jsx)(A.P,{onProgressChange:e=>{t(e)},bufferSize:[108,16],children:(0,a.jsx)("div",{children:(0,a.jsx)(ew,{progress:e})})}),(0,a.jsxs)("div",{className:"grid gap-6 px-4 text-xl lg:grid-cols-2 lg:text-3xl xl:text-4xl 2xl:text-5xl",children:[(0,a.jsx)(d.$,{variant:"valence",className:"grid-stack group w-full items-stretch justify-normal rounded-4 px-[2em] leading-snug hover:rounded-28 focus:rounded-28 lg:col-span-2",asChild:!0,children:(0,a.jsxs)(i(),{href:"/",children:[(0,a.jsx)("span",{className:"mx-auto flex min-w-0 items-center justify-between gap-2 transition-opacity duration-200 group-hocus:opacity-0",children:"Partnerships available"}),(0,a.jsxs)("span",{className:"flex w-full items-center justify-between gap-2 opacity-0 transition-opacity duration-200 group-hocus:opacity-100",children:[(0,a.jsx)("span",{className:"text-start",children:(0,a.jsx)("small",{className:"",children:"Reimagine the music listening experience"})}),(0,a.jsx)(r.f,{weight:"bold",className:"size-[1.5em] shrink-0"})]})]})}),(0,a.jsx)(d.$,{variant:"ghost",className:"grid-stack group w-full items-stretch justify-normal rounded-4 px-[2em] leading-snug r
1ing-off-white hover:rounded-28 hover:bg-off-white hover:text-hard focus:rounded-28 focus:bg-off-white focus:text-hard",asChild:!0,children:(0,a.jsxs)(i(),{href:"/user/signup",children:[(0,a.jsx)("span",{className:"mx-auto flex min-w-0 items-center justify-between gap-2 transition-opacity duration-200 group-hover:opacity-0 group-focus:opacity-0",children:(0,a.jsx)("span",{className:"",children:"Launch web app"})}),(0,a.jsxs)("span",{className:"flex w-full items-center justify-between gap-2 opacity-0 transition-opacity duration-200 group-hover:opacity-100 group-focus:opacity-100",children:[(0,a.jsx)("span",{className:"text-start",children:(0,a.jsx)("small",{className:"",children:"Create and build DJ setlists"})}),(0,a.jsx)(r.f,{weight:"bold",className:"size-[1.5em] shrink-0"})]})]})}),(0,a.jsx)(d.$,{variant:"dance",className:"grid-stack group w-full items-stretch justify-normal rounded-4 px-[2em] leading-snug hover:rounded-28 focus:rounded-28",asChild:!0,children:(0,a.jsxs)(i(),{href:"/pricing",children:[(0,a.jsx)("span",{className:"mx-auto flex min-w-0 items-center justify-between gap-2 transition-opacity duration-200 group-hover:opacity-0 group-focus:opacity-0",children:(0,a.jsx)("span",{className:"block truncate",children:"Free 2-week trial"})}),(0,a.jsxs)("span",{className:"flex w-full items-center justify-between gap-2 opacity-0 transition-opacity duration-200 group-hover:opacity-100 group-focus:opacity-100",children:[(0,a.jsx)("span",{className:"text-start",children:(0,a.jsx)("small",{className:"block truncate",children:"Pricing Plans"})}),(0,a.jsx)(r.f,{weight:"bold",className:"size-[1.5em] shrink-0"})]})]})})]})]})};function eC(){let{isAuthenticated:e,isLoading:t}=(0,g.As)(),s=(0,c.useRouter)();return((0,o.useEffect)(()=>{!t&&e&&s.replace("/setlist/type-it")},[e,t,s]),t)?(0,a.jsx)(x.ff,{title:"Authenticating...",description:"Please wait while we check your details."}):e?null:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("section",{"aria-label":"Hero",children:(0,a.jsx)("div",{className:"container py-12 md:py-16 xl:py-20",children:(0,a.jsx)(en,{})})}),(0,a.jsx)("section",{"aria-label":"Benefits",children:(0,a.jsx)("div",{className:"container py-12 md:py-16 xl:py-20",children:(0,a.jsxs)("div",{className:"space-y-8 rounded-12 bg-hard p-12 md:p-16",children:[(0,a.jsx)(p.hE,{size:5,className:"relative z-[1]",asChild:!0,children:(0,a.jsxs)("h2",{children:["Find your sound with"," ",(0,a.jsx)(p.fH,{className:"bg-dance [--sizer:0.25em]",children:"game-changing"})," ","music intelligence tools"]})}),(0,a.jsxs)("div",{className:"grid grid-cols-1 gap-6 lg:grid-cols-3",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)(p.hE,{size:3,className:"uppercase text-electric",asChild:!0,children:(0,a.jsx)("h3",{children:"Ideate"})}),(0,a.jsx)(p.hj,{size:0,children:"You bring your ideas, then Vibeset builds upon them"})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)(p.hE,{size:3,className:"uppercase text-NRG",asChild:!0,children:(0,a.jsx)("h3",{children:"Curate"})}),(0,a.jsx)(p.hj,{size:0,children:"You control the vibe, and Vibeset guides the curation"})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)(p.hE,{size:3,className:"uppercase text-valence",asChild:!0,children:(0,a.jsx)("h3",{children:"Play"})}),(0,a.jsx)(p.hj,{size:0,children:"You are the creator and the DJ, Vibeset shows you how to mix"})]})]})]})})}),(0,a.jsx)("section",{"aria-label":"Call to action",children:(0,a.jsx)("div",{className:"container py-12 md:py-16 xl:py-20",children:(0,a.jsxs)("div",{className:"mx-auto max-w-screen-lg space-y-8 text-center",children:[(0,a.jsx)(p.hE,{size:5,asChild:!0,children:(0,a.jsxs)("h2",{children:["Your 1 hour set list, made in"," ",(0,a.jsx)(p.fH,{className:"bg-chill [--sizer:0.25em]",children:"seconds"})]})}),(0,a.jsxs)("div",{className:"flex justify-center gap-4 text-lg",children:[(0,a.jsx)(d.$,{variant:"dance",className:"grid-stack group hocus:rounded-8",asChild:!0,children:(0,a.jsxs)(i(),{href:"/pricing",children:[(0,a.jsx)("span",{className:"flex translate-y-0 items-center gap-1 transition-opacity group-hocus:translate-y-[-90%] group-hocus:opacity-0",style:{transition:"transform 250m
1s ease-out, opacity 50ms ease-out"},children:"Free 2-week trial"}),(0,a.jsx)("span",{className:"translate-y-[90%] items-center text-center opacity-0 group-hocus:translate-y-0 group-hocus:opacity-100",style:{transition:"transform 250ms ease-out, opacity 50ms ease-out"},children:"Pricing Plans"})]})}),(0,a.jsx)(d.$,{variant:"ghost",className:"grid-stack group hocus:rounded-8",asChild:!0,children:(0,a.jsxs)(i(),{href:"/user/signup",children:[(0,a.jsxs)("span",{className:"flex translate-y-0 items-center gap-1 transition-opacity group-hocus:translate-y-[-90%] group-hocus:opacity-0",style:{transition:"transform 250ms ease-out, opacity 50ms ease-out"},children:["Launch Web App",(0,a.jsx)(r.f,{weight:"regular",className:"size-[1.5em]"})]}),(0,a.jsx)("span",{className:"translate-y-[90%] items-center text-center opacity-0 group-hocus:translate-y-0 group-hocus:opacity-100",style:{transition:"transform 250ms ease-out, opacity 50ms ease-out"},children:"Let's vibe"})]})})]})]})})}),(0,a.jsx)("section",{"aria-label":"Logos",children:(0,a.jsx)("div",{className:"container py-12 md:py-16 xl:py-20",children:(0,a.jsxs)("div",{className:"flex flex-wrap items-center justify-center gap-8 gap-y-6 sm:gap-14 sm:gap-y-12",children:[(0,a.jsx)(u.u,{className:"h-[48px] sm:h-[56px]",colorFill:"#ffffff"}),(0,a.jsx)(h,{className:"h-[60px] w-fit sm:h-[68px]",colorFill:"#ffffff"}),(0,a.jsx)(m,{className:"h-[64px] w-fit sm:h-[76px]",colorFill:"#ffffff"}),(0,a.jsx)(l.default,{src:"/logo_Djay.png",alt:"Djay logo",height:80,width:180,className:"h-[56px] object-contain sm:h-[64px]",style:{width:"auto"}}),(0,a.jsx)("div",{className:"flex h-[60px] w-[260px] items-center justify-center overflow-hidden sm:w-[320px]",children:(0,a.jsx)(l.default,{src:"/logo_Rekordbox.png",alt:"Rekordbox logo",height:80,width:324,className:"h-[70px] object-cover object-center sm:h-[90px]",style:{width:"auto"}})}),(0,a.jsx)("div",{className:"flex h-[60px] w-[210px] items-center justify-center overflow-hidden sm:w-[280px]",children:(0,a.jsx)(l.default,{src:"/logo_Serato.png",alt:"Serato logo",height:80,width:357,className:"h-[46px] object-cover pb-[3%] sm:h-[60px]",style:{width:"auto"}})}),(0,a.jsx)("div",{className:"flex h-[60px] w-[260px] items-center justify-center overflow-hidden sm:w-[300px]",children:(0,a.jsx)(l.default,{src:"/logo_Traktor.png",alt:"Traktor logo",height:80,width:319,className:"h-[60px] object-cover sm:h-[80px]",style:{width:"auto",height:"auto"}})})]})})}),(0,a.jsx)("section",{"aria-label":"Choose your path",children:(0,a.jsxs)("div",{className:"container space-y-12 py-12 md:space-y-16 md:py-16 xl:space-y-20 xl:py-20",children:[(0,a.jsxs)("hgroup",{className:"mx-auto max-w-screen-lg space-y-8 text-center",children:[(0,a.jsx)(p.hE,{size:5,className:"relative z-[1]",asChild:!0,children:(0,a.jsxs)("h2",{children:["Music"," ",(0,a.jsx)(p.fH,{className:"bg-acid-jazz [--sizer:0.25em]",children:"curation"})," ","never felt this good"]})}),(0,a.jsx)(p.hj,{size:2,children:"Let the creativity of music storytelling begin"})]}),(0,a.jsx)(et,{}),(0,a.jsx)(er,{})]})}),(0,a.jsx)("section",{"aria-label":"Setlist example",className:"",children:(0,a.jsx)("div",{className:"container px-0 py-12 md:py-16 xl:py-20",children:(0,a.jsx)(eN,{})})})]})}}},e=>{var t=t=>e(e.s=t);e.O(0,[9995,2630,4172,5988,6265,6943,3910,9741,3184,8970,635,2250,6926,2734,5196,2728,9278,7358],()=>t(14426)),_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.