"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6962],{36962:function(a,b,c){c.r(b),c.d(b,{default:function(){return q}});var d=c(828),e=c(85893),f=c(42532),g=c(86010),h=c(67294),i=c(44515),j=c(99327),k=c(15723),l=c(18190),m=c(12178),n=function(){var a=(0,l.E)().optionsData;return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(m.gJ,{className:(0,g.Z)("w-full mb-10"),icon:"Md/MdHvac",items:a.car.items,title:a.car.title}),(0,e.jsx)(m.gJ,{className:(0,g.Z)("w-full mb-10"),icon:"Md/MdHvac",items:a.cryptoBank.items,title:a.cryptoBank.title}),(0,e.jsx)(m.gJ,{className:(0,g.Z)("w-full mb-10"),icon:"Md/MdHvac",items:a.coin.items,title:a.coin.title}),(0,e.jsx)(m.gJ,{className:(0,g.Z)("w-full mb-10"),icon:"Md/MdHvac",items:a.backAccount.items,title:a.backAccount.title}),(0,e.jsx)(m.gJ,{className:(0,g.Z)("w-full mb-10"),icon:"Md/MdHvac",items:a.crypto.items,title:a.crypto.title}),(0,e.jsx)(m.gJ,{className:(0,g.Z)("w-full mb-10"),icon:"Md/MdHvac",items:a.property.items,title:a.property.title}),(0,e.jsx)(m.gJ,{className:(0,g.Z)("w-full mb-10"),icon:"Md/MdHvac",items:a.stock.items,title:a.stock.title})]})},o=function(){var a=(0,l.E)().optionsData;return(0,e.jsx)("div",{className:"w-full h-full mx-auto ",children:(0,e.jsx)("div",{className:(0,g.Z)("w-full mb-10 relative mx-auto shadow-xl"),children:(0,e.jsx)(m.gJ,{className:"w-full min-w-[285px] mx-auto relative rounded-none",icon:"Md/MdHvac",items:a.funds.items,title:a.funds.title,titleClassName:"bg-m-green-00"})})})},p=function(a){var b=a.shouldShowGradientTiles,c=(0,l.E)().optionsData,d="relative after:absolute after:inset-0 after:z-10  after:w-full after:h-full transition-all duration-700",f="after:bg-lightGray--transparent-to-right",h="after:bg-lightGray--transparent-to-left",i=b?"opacity-100":"opacity-0";return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsxs)("div",{className:"flex items-center justify-center mb-3 gap-x-3",children:[(0,e.jsx)(m.gJ,{className:(0,g.Z)("w-auto",d,f,i)}),(0,e.jsx)(m.gJ,{icon:"Md/MdHvac",title:c.coin.title}),(0,e.jsx)(m.gJ,{icon:"Md/MdHvac",title:c.stock.title}),(0,e.jsx)(m.gJ,{className:(0,g.Z)(" w-auto",d,h,i)})]}),(0,e.jsxs)("div",{className:"flex items-center justify-center mb-3 gap-x-3",children:[(0,e.jsx)(m.gJ,{className:(0,g.Z)(" ",d,f,i)}),(0,e.jsx)(m.gJ,{icon:"Md/MdHvac",title:c.funds.title}),(0,e.jsx)(m.gJ,{className:(0,g.Z)(" ",d,h,i)})]}),(0,e.jsxs)("div",{className:"flex items-center justify-center mb-3 gap-x-3",children:[(0,e.jsx)(m.gJ,{className:(0,g.Z)(" ",d,f,i)}),(0,e.jsx)(m.gJ,{icon:"Md/MdHvac",title:c.cryptoBank.title}),(0,e.jsx)(m.gJ,{icon:"Md/MdHvac",title:c.crypto.title}),(0,e.jsx)(m.gJ,{className:(0,g.Z)(" ",d,h,i)})]}),(0,e.jsxs)("div",{className:"flex items-center justify-center mb-3 gap-x-3",children:[(0,e.jsx)(m.gJ,{className:(0,g.Z)("",d,f,i)}),(0,e.jsx)(m.gJ,{icon:"Md/MdHvac",title:c.backAccount.title}),(0,e.jsx)(m.gJ,{icon:"Md/MdHvac",title:c.car.title}),(0,e.jsx)(m.gJ,{className:(0,g.Z)(" ",d,h,i)})]}),(0,e.jsxs)("div",{className:"flex items-center justify-center mb-3 gap-x-3",children:[(0,e.jsx)(m.gJ,{className:(0,g.Z)("",d,f,i)}),(0,e.jsx)(m.gJ,{icon:"Md/MdHvac",title:c.property.title}),(0,e.jsx)(m.gJ,{className:(0,g.Z)(" ",d,h,i)})]})]})},q=function(a){var b,c=a.handelBgColor,m=(0,k.Z)(),q=(0,h.useRef)(null),r=(0,h.useRef)(null),s=(0,h.useRef)(null),t=(0,j.C7)(),u=(0,l.E)().optionsData,v=(0,h.useState)(0),w=v[0],x=v[1],y=(0,h.useState)(0),z=y[0],A=y[1],B=(0,h.useState)(!0),C=B[0],D=B[1],E=(0,h.useState)(!0),F=E[0],G=E[1],H=(0,d.Z)((0,f.Z)(function(){return q.current}),1),I=H[0],J=(0,d.Z)((0,f.Z)(function(){return r.current}),1),K=J[0];return(0,h.useEffect)(function(){0===z&&q.current&&A(q.current.getBoundingClientRect().height),q.current&&x(q.current.offsetTop)},[I]),(0,h.useEffect)(function(){I&&m>w-500?(D(!1),c("overlay")):I&&m<w&&D(!0)},[m]),(0,h.useEffect)(function(){var a=r.current&&r.current.getBoundingClientRect().height;a&&0!==a&&m>w+a+500?(G(!1),c("default")):m>w&&(G(!0),c("overlay")),K&&a&&0!==a&&"up"===t&&m>w+a+200&&(G(!0),c("overlay"))},[m]),(0,e.jsxs)(e.Fragment,{children:[(0,e.jsxs)(i.Section,{className:"",children:[(0,e.jsx)(i.Typography,{className:"mx-auto mb-20 text-m-neutral-110",variant:"h3",weight:"semibold",children:u.title}),(0,e.jsx)("div",{className:"overflow-hidden",ref:q,children:(0,e.jsx)(p,{shouldShowGradientTiles:C})})]}),(0,e.jsx)(i.StickySection,{className:"w-full",stickStartAt:null===(b=s.current)|| void 0===b?void 0:b.offsetTop,children:(0,e.jsx)("div",{ref:s,className:(0,g.Z)("transition-all duration-700 z-10  ",!F&&"-translate-y-full"),children:(0,e.jsx)(o,{})})}),(0,e.jsx)(i.Section,{className:"!mt-0",ref:r,children:(0,e.jsx)(n,{})})]})}}}])