"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6260],{36207:function(e,A){A.Z={src:"/_next/static/media/icon.63ebf5d8.png",height:350,width:350,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAAOVBMVEXsTgD0hiv4nlP0m1D3lURMaXH6mUj2jjr3hyv2mk3vbQb4vIvxeRn/uHXyexr6y6T8r2r70rD/unmVBwGHAAAADXRSTlMsquLb6AD+/q7z+v75uRtKygAAAAlwSFlzAAALEwAACxMBAJqcGAAAADxJREFUeJxFyjESgDAIAMHDhAAqCfH/j3XGxm6LRfEIR6GnjezgedZ1pxA21552/PCytaME+jO+rEhrgr5J/QH4MbhcvAAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:8}},35122:function(e,A){A.Z={src:"/_next/static/media/bonus.e92d92e4.svg",height:20,width:20,blurWidth:0,blurHeight:0}},42513:function(e,A){A.Z={src:"/_next/static/media/extract.4b6dcc44.svg",height:20,width:20,blurWidth:0,blurHeight:0}},18576:function(e,A){A.Z={src:"/_next/static/media/receive.61c07ed4.svg",height:20,width:20,blurWidth:0,blurHeight:0}},92198:function(e,A){A.Z={src:"/_next/static/media/send.8992ea01.svg",height:20,width:20,blurWidth:0,blurHeight:0}},56111:function(e,A,s){var i=s(85893),t=s(25675),r=s.n(t),a=s(36207);A.Z=e=>(0,i.jsxs)("div",{className:"flex items-center gap-1",children:[(0,i.jsx)(r(),{alt:"",src:a.Z,width:40,height:40}),(0,i.jsx)("p",{className:e.textClassName,children:"ribus"})]})},79486:function(e,A,s){s.d(A,{Z:function(){return u}});var i=s(85893),t=s(41664),r=s.n(t),a={src:"/_next/static/media/wallet.e28f6717.svg",height:24,width:25,blurWidth:0,blurHeight:0},l={src:"/_next/static/media/properties.97b12935.svg",height:24,width:25,blurWidth:0,blurHeight:0},o={src:"/_next/static/media/keys.3c1c9b3b.svg",height:22,width:23,blurWidth:0,blurHeight:0},n=s(33299),c=s(25675),d=s.n(c),h=s(11163),x=s(90512),m=s(67294),p=s(78773),u=e=>{var A,s;let{data:t}=(0,n.useSession)(),c=(0,h.useRouter)(),u=(0,m.useMemo)(()=>{var e,A;return null==t?void 0:null===(A=t.userData)||void 0===A?void 0:null===(e=A.user_media)||void 0===e?void 0:e.profile_image_url},[null==t?void 0:null===(s=t.userData)||void 0===s?void 0:null===(A=s.user_media)||void 0===A?void 0:A.profile_image_url]),g=e=>{let A=c.pathname===e.path;return(0,i.jsx)("div",{className:"w-full",children:(0,i.jsx)(r(),{href:e.path,passHref:!0,children:(0,i.jsxs)("div",{className:"flex flex-col items-center",children:[(0,i.jsxs)("div",{className:(0,x.Z)("p-2 rounded-[8px]",A&&"bg-[#FF7B2E]"),children:[!e.src&&e.iconSrc,e.src&&(0,i.jsx)("img",{src:e.src,alt:"",className:"rounded-[100%] border-[#FF7B2E] border-1 w-[30px] h-[30px] cursor-pointer"}),e.icon&&(0,i.jsx)(d(),{alt:"",src:e.icon,className:"w-[30px] h-[30px]"})]}),(0,i.jsx)("div",{children:(0,i.jsx)("p",{className:"text-[12px]",children:e.title})})]})})})};return(0,i.jsx)("div",{className:"min-h-[100px] z-50 relative",children:(0,i.jsxs)("div",{className:"hidden max-sm:flex bg-white w-full py-2 fixed shadow-md bottom-0 border-t-2",children:[(0,i.jsx)(g,{title:"Carteira",path:"/wallet/receive-ribus",icon:a}),(0,i.jsx)(g,{title:"Keys",icon:o,path:"/keys"}),(0,i.jsx)(e=>(0,i.jsx)("div",{className:"w-full",children:(0,i.jsxs)("div",{className:"flex flex-col items-center",onClick:e.onClick,children:[(0,i.jsxs)("div",{className:(0,x.Z)("p-2 rounded-[8px]"),children:[!e.src&&e.iconSrc,e.src&&(0,i.jsx)("img",{src:e.src,alt:"",className:"rounded-[100%] border-[#FF7B2E] border-1 w-[30px] h-[30px] cursor-pointer"}),e.icon&&(0,i.jsx)(d(),{alt:"",src:e.icon,className:"w-[30px] h-[30px]"})]}),(0,i.jsx)("div",{children:(0,i.jsx)("p",{className:"text-[12px]",children:e.title})})]})}),{title:"Shares",onClick:e.onOpenModalCommingSoon,icon:l}),(0,i.jsx)(g,{title:"Perfil",path:"/profile",src:u,iconSrc:(0,i.jsx)(p.Xws,{className:"cursor-pointer",size:24})})]})})}},96260:function(e,A,s){s.d(A,{Z:function(){return Y}});var i=s(85893),t=s(67294),r=s(56111),a=s(69562),l=s(79479),o=s(45336),n=s(87362),c=s(78773),d=s(25675),h=s.n(d),x=s(11828),m=s(33299),p=s(11163),u=s(41664),g=s.n(u),b=s(90512),w=s(18644);let j=[{path:"/profile/person-info",name:"Informa\xe7\xf5es pessoais"},{path:"/profile/password-change",name:"Alterar senha"},{path:"/profile/security",name:"Seguran\xe7a"},{path:"/profile/financial-data",name:"Dados financeiros"}];var v=s(84295),f=s(92198),E={src:"/_next/static/media/enviar ribus-laranja-focus.84c3b3e7.svg",height:20,width:20,blurWidth:0,blurHeight:0},C=s(18576),N={src:"/_next/static/media/receive_focused.ab5e63b0.svg",height:20,width:20,blurWidth:0,blurHeight:0},B=s(42513),k={src:"/_next/static/media/extrato-laranja-focus.2159bbec.svg",height:20,width:20,blurWidth:0,blurHeight:0},D=s(35122),R={src:"/_next/static/media/bonifica\xe7\xe3o-laranja-focus.b5c3f8df.svg",height:20,width:20,blurWidth:0,blurHeight:0},z={src:"/_next/static/media/buy.66b31461.svg",height:18,width:18,blurWidth:0,blurHeight:0};let Q=e=>(0,i.jsx)("div",{className:e.className,children:(0,i.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,i.jsx)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M6.66662 17.5001V17.5001C7.58995 17.5001 8.33912 16.7518 8.33995 15.8285L8.34328 12.4585C9.14662 12.1068 9.87245 11.5185 10.3525 10.5968C11.1141 9.13514 10.9683 7.29847 9.93245 6.01681C8.24078 3.92431 5.07578 3.92931 3.39162 6.03181C2.36078 7.31764 2.21995 9.15514 2.98912 10.6126C3.47078 11.526 4.19495 12.1126 4.99662 12.4618L4.99328 15.8243C4.99245 16.7493 5.74162 17.5001 6.66662 17.5001V17.5001Z",stroke:e.color,"stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}),(0,i.jsx)("path",{d:"M6.89409 8.62182C6.89409 8.48598 6.78409 8.37682 6.64909 8.37682C6.51326 8.37765 6.40409 8.48765 6.40409 8.62265C6.40409 8.75848 6.51409 8.86765 6.64909 8.86765C6.78409 8.86765 6.89409 8.75765 6.89409 8.62182",stroke:e.color,"stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}),(0,i.jsx)("path",{d:"M11.0528 4.69333C11.0528 3.48167 10.0712 2.5 8.85949 2.5V2.5C7.64866 2.5 6.66699 3.48167 6.66699 4.69333V8.37667",stroke:e.color,"stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}),(0,i.jsx)("path",{d:"M9.49805 5.55502L9.87305 5.18002C10.5239 4.52919 11.5789 4.52919 12.2297 5.18002L17.0105 9.96085C17.6614 10.6117 17.6614 11.6667 17.0105 12.3175L14.8047 14.5234C14.1539 15.1742 13.0989 15.1742 12.448 14.5234L9.57055 11.6459",stroke:e.color,"stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})]})}),H=e=>(0,i.jsx)("div",{className:e.className,children:(0,i.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,i.jsxs)("g",{"clip-path":"url(#clip0_8104_40484)",children:[(0,i.jsx)("path",{d:"M1.66699 3.33317C1.66699 2.4127 2.41318 1.6665 3.33366 1.6665H6.66699C7.58747 1.6665 8.33366 2.4127 8.33366 3.33317V6.6665C8.33366 7.58698 7.58747 8.33317 6.66699 8.33317H3.33366C2.41318 8.33317 1.66699 7.58698 1.66699 6.6665V3.33317Z",stroke:e.color,"stroke-width":"1.5","stroke-linejoin":"round"}),(0,i.jsx)("path",{d:"M11.667 3.33317C11.667 2.4127 12.4132 1.6665 13.3337 1.6665H16.667C17.5875 1.6665 18.3337 2.4127 18.3337 3.33317V6.6665C18.3337 7.58698 17.5875 8.33317 16.667 8.33317H13.3337C12.4132 8.33317 11.667 7.58698 11.667 6.6665V3.33317Z",stroke:e.color,"stroke-width":"1.5","stroke-linejoin":"round"}),(0,i.jsx)("path",{d:"M1.66699 13.3332C1.66699 12.4127 2.41318 11.6665 3.33366 11.6665H6.66699C7.58747 11.6665 8.33366 12.4127 8.33366 13.3332V16.6665C8.33366 17.587 7.58747 18.3332 6.66699 18.3332H3.33366C2.41318 18.3332 1.66699 17.587 1.66699 16.6665V13.3332Z",stroke:e.color,"stroke-width":"1.5","stroke-linejoin":"round"}),(0,i.jsx)("path",{d:"M11.667 13.3332C11.667 12.4127 12.4132 11.6665 13.3337 11.6665H16.667C17.5875 11.6665 18.3337 12.4127 18.3337 13.3332V16.6665C18.3337 17.587 17.5875 18.3332 16.667 18.3332H13.3337C12.4132 18.3332 11.667 17.587 11.667 16.6665V13.3332Z",stroke:e.color,"stroke-width":"1.5","stroke-linejoin":"round"})]}),(0,i.jsx)("defs",{children:(0,i.jsx)("clipPath",{id:"clip0_8104_40484",children:(0,i.jsx)("rect",{width:"20",height:"20",fill:"white"})})})]})});var M=s(19006),O=e=>{var A,s,d;let u=(0,p.useRouter)(),{data:O}=(0,m.useSession)(),[I,F]=(0,t.useState)(!1),S=(0,t.useCallback)(()=>{let e=j.find(e=>e.path===u.basePath);return e?e.name:u.basePath},[u.basePath]);return(0,i.jsxs)(a.R,{maxWidth:"xl",className:(0,b.Z)("bg-[#19191B] rounded-[12px] min-h-[70px] shadow-lg sticky max-sm:hidden z-[30]"),children:[(0,i.jsxs)(l.U,{className:"basis-1/5 w-full sm:basis-full px-4 max-sm:px-0",justify:"start",children:[(0,i.jsxs)(o.H,{className:"max-w-fit",children:[(0,i.jsx)("div",{className:"cursor-pointer max-sm:hidden",onClick:()=>u.push("/wallet/receive-ribus"),children:(0,i.jsx)(r.Z,{textClassName:"text-white text-[24px] medium max-sm:text-black"})}),(0,i.jsxs)("div",{className:"cursor-pointer hidden max-sm:flex",onClick:()=>u.back(),children:[(0,i.jsx)(v.Wuc,{}),(0,i.jsx)("span",{className:"hidden max-sm:flex text-[#1F2026] bold text-[18px]",children:S()})]})]}),(0,i.jsxs)("div",{className:"group cursor-pointer ml-2 text-white max-sm:hidden",children:[(0,i.jsxs)("div",{className:"flex items-center gap-1",children:[(0,i.jsx)("p",{className:"text-neutral-dark-11 hover:text-white",children:"Carteira"}),(0,i.jsx)(M.RiH,{size:14,className:"group-hover:hidden font-normal"}),(0,i.jsx)(M.gbK,{size:14,className:"hidden group-hover:block font-normal"})]}),(0,i.jsxs)("div",{className:"hidden group-hover:block absolute bg-[#111111] rounded-[12px] shadow-md",children:[(0,i.jsxs)("div",{className:"flex",children:[(0,i.jsx)(g(),{href:"/wallet/receive-ribus",className:"flex flex-grow w-[160px]",children:(0,i.jsxs)("div",{className:"flex gap-2 p-4 flex-grow cursor-pointer hover:bg-[#303032] hover:rounded-tl-[12px] group/item",children:[(0,i.jsx)(h(),{alt:"",src:C.Z,className:"block group-hover/item:hidden"}),(0,i.jsx)(h(),{alt:"",src:N,className:"hidden group-hover/item:block"}),(0,i.jsx)("p",{className:"text-neutral-dark-11 group-hover/item:text-white text-[14px]",children:"Receber ribus"})]})}),(0,i.jsx)(g(),{href:"/wallet/send-ribus",className:"flex flex-grow w-[160px]",children:(0,i.jsxs)("div",{className:"flex gap-2 p-4 flex-grow group cursor-pointer hover:bg-[#303032] hover:rounded-tr-[12px] group/item",children:[(0,i.jsx)(h(),{alt:"",src:f.Z,className:"block group-hover/item:hidden"}),(0,i.jsx)(h(),{alt:"",src:E,className:"hidden group-hover/item:block"}),(0,i.jsx)("p",{className:"text-neutral-dark-11 group-hover/item:text-white text-[14px] ",children:"Enviar ribus"})]})})]}),(0,i.jsxs)("div",{className:"flex",children:[(0,i.jsx)(g(),{href:"/wallet/extract",className:"flex flex-grow w-[160px]",children:(0,i.jsxs)("div",{className:"flex gap-2 p-4 flex-grow cursor-pointer hover:bg-[#303032] rounded-bl-[12px] group/item",children:[(0,i.jsx)(h(),{alt:"",src:B.Z,className:"block group-hover/item:hidden"}),(0,i.jsx)(h(),{alt:"",src:k,className:"hidden group-hover/item:block"}),(0,i.jsx)("p",{className:"text-neutral-dark-11 group-hover/item:text-white text-[14px]",children:"Extrato"})]})}),(0,i.jsx)(g(),{href:"/wallet/bonus",className:"flex-grow flex w-[160px]",children:(0,i.jsxs)("div",{className:"flex gap-2 p-4 flex-grow cursor-pointer hover:bg-[#303032] rounded-br-[12px] group/item",children:[(0,i.jsx)(h(),{alt:"",src:D.Z,className:"block group-hover/item:hidden"}),(0,i.jsx)(h(),{alt:"",src:R,className:"hidden group-hover/item:block"}),(0,i.jsx)("p",{className:"text-neutral-dark-11 group-hover/item:text-white text-[14px]",children:"Bonifica\xe7\xe3o"})]})})]})]})]}),(0,i.jsxs)("div",{className:"text-white flex gap-2 max-sm:hidden",children:[(0,i.jsxs)("div",{className:"group cursor-pointer mx-2 text-white max-sm:hidden",children:[(0,i.jsxs)("div",{className:"flex items-center gap-1",children:[(0,i.jsx)("p",{className:"text-neutral-dark-11 hover:text-white",children:"Keys"}),(0,i.jsx)(M.RiH,{size:14,className:"group-hover:hidden font-normal"}),(0,i.jsx)(M.gbK,{size:14,className:"hidden group-hover:block font-normal"})]}),(0,i.jsxs)("div",{className:"hidden group-hover:block absolute bg-[#111111] rounded-[12px] shadow-md z-10",children:[(0,i.jsxs)("div",{className:"flex",children:[(0,i.jsx)(g(),{href:"/keys",className:"flex flex-grow w-[180px]",children:(0,i.jsxs)("div",{className:"flex gap-2 p-4 flex-grow cursor-pointer hover:bg-[#303032] hover:rounded-tl-[12px] group/item",children:[(0,i.jsx)(Q,{color:"#F37B36",className:"hidden group-hover/item:block"}),(0,i.jsx)(Q,{color:"#CDD0D9",className:"block group-hover/item:hidden"}),(0,i.jsx)("p",{className:"text-neutral-dark-11 group-hover/item:text-white text-[14px]",children:"Minhas keys"})]})}),(0,i.jsx)(g(),{href:"/keys?type=colecoes",className:"flex flex-grow w-[180px]",children:(0,i.jsxs)("div",{className:"flex gap-2 p-4 flex-grow group cursor-pointer hover:bg-[#303032] hover:rounded-tr-[12px] group/item",children:[(0,i.jsx)(H,{color:"#CDD0D9",className:"block group-hover/item:hidden"}),(0,i.jsx)(H,{className:"hidden group-hover/item:block",color:"#F37B36"}),(0,i.jsx)("p",{className:"text-neutral-dark-11 group-hover/item:text-white text-[14px]",children:"Cole\xe7\xf5es"})]})})]}),(0,i.jsx)("div",{className:"flex"})]})]}),(0,i.jsx)("p",{className:"cursor-pointer text-neutral-dark-11 hover:text-white select-none",onClick:e.onOpenModalCommingSoon,children:"Shares"})]})]}),(0,i.jsxs)(l.U,{className:"basis-1/5 sm:basis-full px-4",justify:"end",children:[(0,i.jsxs)(n.A,{className:"bg-[#FF7B2E] rounded-full h-[36px] max-sm:hidden",onClick:e.onOpen,children:[(0,i.jsx)(h(),{alt:"",src:z}),(0,i.jsx)("p",{className:"text-[14px] semibold inter text-[#111113]",children:"Comprar"})]}),(0,i.jsxs)("div",{className:"flex text-[#1F2026] rounded-3xl items-center gap-3 justify-start text-[14px] bg-[#E1E2E5] px-4 h-[36px] max-sm:hidden",children:[(0,i.jsx)("div",{className:"cursor-pointer",onClick:()=>F(!I),children:I?(0,i.jsx)(c.dSq,{size:14,color:"#82848E"}):(0,i.jsx)(x.Utk,{size:14,color:"#82848E"})}),!I&&e.balance?(0,i.jsxs)("p",{className:"text-[#1F2026] medium",children:[null===(A=e.balance)||void 0===A?void 0:A.toString().replaceAll(/[\d.]/g,"*")," RIB"]}):(0,i.jsxs)("p",{className:"text-[#323233] medium",children:[e.balance," RIB"]})]}),(0,i.jsx)(w.bI9,{size:24,className:"cursor-pointer text-neutral-dark-11 hover:text-white max-sm:text-[#82848E]"}),(0,i.jsx)("div",{onClick:()=>u.push("/profile/person-info"),className:"max-sm:hidden",children:(null==O?void 0:null===(d=O.userData)||void 0===d?void 0:null===(s=d.user_media)||void 0===s?void 0:s.profile_image_url)?(0,i.jsx)("img",{src:O.userData.user_media.profile_image_url,alt:"",className:"rounded-[100%] border-[#FF7B2E] border-1 w-[40px] h-[40px] cursor-pointer"}):(0,i.jsx)(c.Xws,{color:"white",className:"cursor-pointer",size:24})})]})]})},I=s(20572),F=s(34863),S=s(79486),U=s(49559),V=s(47873),L=s(21974);let W=[{name:"Mexc",icon:{src:"/_next/static/media/mexc.c6488b70.jpg",height:900,width:900,blurDataURL:"data:image/jpeg;base64,/9j/2wBDAAoHBwgHBgoICAgLCgoLDhgQDg0NDh0VFhEYIx8lJCIfIiEmKzcvJik0KSEiMEExNDk7Pj4+JS5ESUM8SDc9Pjv/2wBDAQoLCw4NDhwQEBw7KCIoOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozv/wgARCAAIAAgDASIAAhEBAxEB/8QAFQABAQAAAAAAAAAAAAAAAAAAAAT/xAAVAQEBAAAAAAAAAAAAAAAAAAAEBf/aAAwDAQACEAMQAAABqFcf/8QAFhAAAwAAAAAAAAAAAAAAAAAAAQIj/9oACAEBAAEFAi0//8QAFhEAAwAAAAAAAAAAAAAAAAAAAAIh/9oACAEDAQE/AWh//8QAGBEAAgMAAAAAAAAAAAAAAAAAAAIDERL/2gAIAQIBAT8BiXVn/8QAGhAAAQUBAAAAAAAAAAAAAAAAIQABAgMRFP/aAAgBAQAGPwJsjXzYSV//xAAZEAADAAMAAAAAAAAAAAAAAAARITEAQVH/2gAIAQEAAT8hfQiNb0nP/9oADAMBAAIAAwAAABAD/8QAFxEAAwEAAAAAAAAAAAAAAAAAAAERcf/aAAgBAwEBPxCESl0//8QAGhEBAAEFAAAAAAAAAAAAAAAAAREAIUFhof/aAAgBAgEBPxDKpDFnruv/xAAZEAEAAgMAAAAAAAAAAAAAAAABABEhQfD/2gAIAQEAAT8QRQs48pNVep//2Q==",blurWidth:8,blurHeight:8},url:"https://www.mexc.com/pt-PT/exchange/RIB_USDT"},{name:"Mercado Bitcoin",icon:{src:"/_next/static/media/mb.fa69ecf8.png",height:512,width:512,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAAG1BMVEXyPyz0QzbzW0X7zsbvNhr2moj5tKj+8/H++feoe5l7AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAL0lEQVR4nEXL0QoAIAxC0avbqv//4lhEvcgBFUnQIdJOGrVmIXDECNMYB6/643vfEzYAiFRbQxsAAAAASUVORK5CYII=",blurWidth:8,blurHeight:8},url:"https://www.mercadobitcoin.com.br/utility-tokens/ribus"},{name:"Trubit",icon:{src:"/_next/static/media/trubit.bbc8388e.jpg",height:400,width:400,blurDataURL:"data:image/jpeg;base64,/9j/2wBDAAoHBwgHBgoICAgLCgoLDhgQDg0NDh0VFhEYIx8lJCIfIiEmKzcvJik0KSEiMEExNDk7Pj4+JS5ESUM8SDc9Pjv/2wBDAQoLCw4NDhwQEBw7KCIoOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozv/wgARCAAIAAgDASIAAhEBAxEB/8QAFQABAQAAAAAAAAAAAAAAAAAAAAb/xAAVAQEBAAAAAAAAAAAAAAAAAAABAv/aAAwDAQACEAMQAAABmgR//8QAFRABAQAAAAAAAAAAAAAAAAAAEyL/2gAIAQEAAQUCg//EABYRAAMAAAAAAAAAAAAAAAAAAAACQf/aAAgBAwEBPwFaf//EABURAQEAAAAAAAAAAAAAAAAAAAAB/9oACAECAQE/AY//xAAUEAEAAAAAAAAAAAAAAAAAAAAA/9oACAEBAAY/An//xAAXEAADAQAAAAAAAAAAAAAAAAAAETGB/9oACAEBAAE/IaRrWf/aAAwDAQACAAMAAAAQ8//EABgRAAIDAAAAAAAAAAAAAAAAAAABETFB/9oACAEDAQE/EFi2n//EABURAQEAAAAAAAAAAAAAAAAAAABB/9oACAECAQE/EKf/xAAaEAACAgMAAAAAAAAAAAAAAAABEQCBQWHw/9oACAEBAAE/EAHlvnrFXP/Z",blurWidth:8,blurHeight:8},url:"https://www.trubit.com/pro/crypto-spot-trading/RIB/USDT"},{name:"P2b",icon:{src:"/_next/static/media/p2b.1668cf8e.svg",height:1179,width:2500,blurWidth:0,blurHeight:0},url:"https://p2pb2b.com/trade/RIB_USDT/"},{name:"Uniswap",icon:{src:"/_next/static/media/uniswap.svg.dba67856.png",height:1024,width:1026,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAAJ1BMVEVMaXH/AH3/AHr/AHn/AHn/AHn/AHn/AHn/AHj/AHn/AHr/AHn/AHkA9bf/AAAADXRSTlMACTAVJW9DhlV+ZsSwthUv8wAAAAlwSFlzAAALEwAACxMBAJqcGAAAADRJREFUeJxFi0kKACAMxNJFq63/f69QBOeWhEGEN3O3BhnrZJtlWQ5sRWsCEduHdpv6r3ABGMoAqgo6H2YAAAAASUVORK5CYII=",blurWidth:8,blurHeight:8},url:"https://app.uniswap.org/swap?chain=polygon"},{name:"LBank",icon:{src:"/_next/static/media/lbank.d3ccb927.png",height:225,width:225,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAAJFBMVEX/1i//1Cj/4GT/2D3/8LX//O7/6pX/2kf/0h3/5Hf/31z/+uUoyZ7yAAAACXBIWXMAAAsTAAALEwEAmpwYAAAANklEQVR4nD3JSQ4AMQgEsYImLMn//zviMjdLJgRiDm7EUyeOxZHNwtOIxU3jr4v3oocoVcnfBx2eAO0Fli/wAAAAAElFTkSuQmCC",blurWidth:8,blurHeight:8},url:"https://www.lbank.com/trade/rib_usdt"},{name:"Finchain",icon:{src:"/_next/static/media/finchain.9f10d209.png",height:394,width:436,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAHCAMAAAACh/xsAAAAWlBMVEVMaXF0FPSCGPSAF/DhMPjFKficHvTTLfSxI/RjD/diDvpKCfc3BPneL/rbL/PZLvLXLvegH/S2JfjFKfXBKPmmIfSdHvePG/RwE/R3FfRfDvIuA/QxBPcyBPbjmPVgAAAAHnRSTlMAMaAipY+tBDJmo7G8RnMWwE65n3phRaqsnCJZk0HaGx2hAAAACXBIWXMAAC4jAAAuIwF4pT92AAAAPklEQVR4nBXLRxKAIBAAwSHJLqCYMf7/m5Z9bwCqj2Bs25ZxiCQVF1bfk6/DdhKEosmZfY7cJevZJuB5/8gHP+ICKyX9OOsAAAAASUVORK5CYII=",blurWidth:8,blurHeight:7},url:"https://www.flowbtc.com.br/"}];var _=e=>(0,i.jsx)(U.R,{size:"md",isOpen:e.isOpen,onClose:e.onClose,children:(0,i.jsx)(V.A,{className:"bg-white",children:()=>(0,i.jsx)(L.I,{children:(0,i.jsxs)("div",{children:[(0,i.jsx)("p",{className:"text-[#1F2026] text-[20px] semibold text-center",children:"Comprar Ribus"}),(0,i.jsx)("p",{className:"text-center mb-3",children:"Exchanges recomendadas"}),(0,i.jsx)("div",{children:W.map((e,A)=>(0,i.jsxs)("div",{className:"py-3 border-t-1 flex items-center gap-4 cursor-pointer select-none",onClick:()=>open(e.url),children:[(0,i.jsx)(h(),{alt:"",src:e.icon,style:{width:"40px",height:"40px",objectFit:"contain",borderRadius:"100%"}}),(0,i.jsx)("p",{className:"semibold text-[#1F2026]",children:e.name})]},A))})]})})})}),y={src:"/_next/static/media/shares-banner.065822e9.png",height:546,width:554,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAAXVBMVEVSRkFYWFmGhYZYRDx6bWNfWVOnqKs7Oz05OTdRUlR/WUP9/f3z8PCnp6l8YVI8PDd/b2S2tbXBwcK+vb7p5+ViUU7a0cyrkHplaWWFb2CefWlLQTuNpaV2mJ+BWkPKuaQCAAAAHnRSTlMc/EhAK03xJiE1kfzoUuf+P5+lm/7+6YPx6fz+7/IzMJzoAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAQklEQVR4nAXBBQLAMAgEsKMG1Oe+/z+zCQARZhYAwqrKAJyz3ircEeM0Lwb9/rc1pYJer7rnXGDe7wwhGPjWHiLyA1G9AqNhe+g8AAAAAElFTkSuQmCC",blurWidth:8,blurHeight:8},P=e=>(0,i.jsx)(U.R,{size:"lg",isOpen:e.isOpen,onClose:e.onClose,children:(0,i.jsx)(V.A,{className:"bg-white",children:(0,i.jsx)(L.I,{className:"p-0",children:(0,i.jsxs)("div",{className:"flex flex-col gap-2 p-0 bg-neutral-dark-1",children:[(0,i.jsx)(h(),{alt:"",src:y,style:{objectFit:"fill"},className:"w-full h-full"}),(0,i.jsxs)("div",{className:"absolute top-0 p-[12px] pointer-events-none",children:[(0,i.jsx)("p",{className:"text-primary-light-10 text-center bold text-[24px] max-sm:text-[18px]",children:"Shares e Investimentos Imobili\xe1rios"}),(0,i.jsx)("p",{className:"text-white medium text-center leading-[20px] max-sm:text-[14px]",children:"Descubra uma nova maneira de investir em im\xf3veis, com flexibilidade e acesso direto ao mercado de Real Estate tokenizado"})]})]})})})}),Z=s(12301),K=s(54275),X=s(93093),J=s(55678),G=s(30381),T=s.n(G),Y=e=>{var A;let{status:s,data:r}=(0,m.useSession)(),{balance:a}=(0,Z.h)(),l=(0,p.useRouter)(),{abstractGet:o,isGetting:n}=(0,X.Z)(),{checkAdsView:c,onShowAds:d}=(0,K.N)(),[h,x]=(0,t.useState)(!1),{isOpen:u,onOpen:g,onClose:b}=(0,I.q)(),{isOpen:w,onOpen:j,onClose:v}=(0,I.q)();(0,t.useEffect)(()=>{if("loading"!==s&&x(!0),"authenticated"===s){let e=T()(r.sessionExpiresAt);console.log("expires at: ",e.toString()),T()().isAfter(e)&&(J.Am.info("Sess\xe3o expirada!"),setInterval(()=>{(0,m.signOut)({redirect:!0,callbackUrl:"/"})},1500))}"unauthenticated"===s&&l.replace("/")},[s,r]);let f=(0,t.useMemo)(()=>(0,i.jsx)(S.Z,{onOpenModalCommingSoon:j}),[]);return h?(0,i.jsxs)("div",{className:"bg-[#F0F1F2] w-[100vw] h-[100vh] overflow-auto",children:[(0,i.jsxs)("div",{className:"container mx-auto max-w-7xl flex-grow pt-8 max-sm:pt-0 h-[100vh]",children:[(0,i.jsx)(O,{balance:null==a?void 0:null===(A=a.total_balance)||void 0===A?void 0:A.toString(),onOpen:g,onOpenModalCommingSoon:j}),(0,i.jsx)("div",{className:"mt-8",children:e.children}),!e.hideBottomButtons&&f,(0,i.jsx)(_,{isOpen:u,onClose:b})]}),(0,i.jsx)(P,{isOpen:w,onClose:v})]}):(0,i.jsx)("div",{className:"bg-[#F0F1F2] w-[100vw] h-[100vh] flex items-center justify-center",children:(0,i.jsx)(F.c,{})})}}}]);