(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[931],{193:function(e,t,r){Promise.resolve().then(r.bind(r,9635))},9635:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return x}});var s=r(7437),l=r(2265),n=r(9582),a=r(1204),i=r(4635),o=()=>(0,s.jsxs)(i.E.div,{animate:{opacity:1,y:0},transition:{duration:.5,delay:1},initial:{opacity:0,y:20},className:"arrow mb-5",children:[(0,s.jsx)("span",{}),(0,s.jsx)("span",{}),(0,s.jsx)("span",{})]}),c=r(9313),u=r(9899),f=r(2503),d=()=>(0,s.jsxs)("div",{className:"absolute bottom-8 left-1/2 transform -translate-x-1/2 text-lg font-semibold text-purple-500 flex flex-row w-full justify-around items-center",children:[(0,s.jsx)(c.Z,{}),(0,s.jsx)(u.Z,{}),(0,s.jsx)(f.Z,{}),(0,s.jsx)(u.Z,{}),(0,s.jsx)(c.Z,{})]});n.ZP.registerPlugin(a.i);let p=[(0,l.lazy)(()=>Promise.all([r.e(643),r.e(956),r.e(994),r.e(715),r.e(14)]).then(r.bind(r,7014))),(0,l.lazy)(()=>Promise.all([r.e(161),r.e(689)]).then(r.bind(r,689))),(0,l.lazy)(()=>Promise.all([r.e(957),r.e(522),r.e(212),r.e(715),r.e(603),r.e(173)]).then(r.bind(r,2173)))];function x(){let e=(0,l.useRef)(null),t=(0,l.useRef)(null),r=(0,l.useRef)([]),i=(0,l.useRef)([]),[c,u]=(0,l.useState)(0),[f,x]=(0,l.useState)(!1),h=(0,l.useCallback)(e=>{u(e),i.current.forEach((t,r)=>{t&&(r===e?t.setAttribute("class","dot fill-purple-400 stroke-yellow-600 stroke-[2px] "):t.setAttribute("class","dot stroke-black stroke-[2px]  fill-white"))})},[]),m=(0,l.useCallback)(e=>{if(f||!t.current)return;x(!0);let s=r.current.map(e=>e?-e.offsetTop:0);n.ZP.to(t.current,{duration:.6,y:s[e],ease:"power2.inOut",onComplete:()=>{h(e),x(!1)}})},[f,h]);return(0,l.useEffect)(()=>{let e=e=>{if(e.preventDefault(),f)return;let t=e.deltaY>0?1:-1,s=Math.max(0,Math.min(r.current.length-1,c+t));s!==c&&m(s)};return window.addEventListener("wheel",e,{passive:!1}),()=>{window.removeEventListener("wheel",e),a.i.getAll().forEach(e=>e.kill())}},[c,f,m]),(0,l.useEffect)(()=>{r.current.forEach((e,t)=>{e&&a.i.create({trigger:e,start:"top center",end:"bottom center",onEnter:()=>h(t),onEnterBack:()=>h(t)})})},[h]),(0,s.jsxs)("div",{id:"masterWrap",ref:e,children:[(0,s.jsx)("div",{className:"paperOverlay"}),(0,s.jsx)("div",{id:"panelWrap",ref:t,children:p.map((e,t)=>(0,s.jsxs)("section",{ref:e=>{r.current[t]=e},className:"relative h-screen",children:[(0,s.jsx)(e,{}),t===p.length-1?(0,s.jsx)(d,{}):(0,s.jsx)(o,{})]},t))}),(0,s.jsx)("div",{className:"dots",children:p.map((e,t)=>(0,s.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",className:"dot ".concat(t===c?"fill-purple-400 stroke-yellow-600 stroke-[2px] ":"stroke-black stroke-[2px]  fill-white"),ref:e=>{i.current[t]=e},children:(0,s.jsx)("circle",{cx:"8",cy:"8",r:"6"})},t))})]})}}},function(e){e.O(0,[922,5,971,23,744],function(){return e(e.s=193)}),_N_E=e.O()}]);