PageSourceSearch

https://portal.adiantesa.com/_next/static/chunks/5798-36c2a34715b6ea73.js

js adiantesa.com collected 2026-10-06 16:19:14 UTC 130,556 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5798],{43004:function(e,t,o){o.d(t,{D:function(){return i}});let i=(0,o(64529).Ue)(e=>({invoice:void 0,installment:void 0,setInvoice:(t,o)=>{e({invoice:Number(t)||void 0,installment:Number(o)||void 0})}}))},18336:function(e,t,o){o.d(t,{J:function(){return n}});var i=o(67294);function n(e){let[t,o]=(0,i.useState)(!1),[n,r]=(0,i.useState)(!1),[a,l]=(0,i.useState)(0);return(0,i.useEffect)(()=>{let i,n;return t&&(r(!0),l(e),i=setInterval(()=>{l(e=>e-1)},1e3),n=setTimeout(()=>{clearInterval(i),r(!1),o(!1)},1e3*e)),()=>{clearTimeout(n),clearInterval(i)}},[t,e]),{startTimer:()=>{o(!0)},isDisabled:n,remainingTime:a}}},54556:function(e,t,o){o.d(t,{$:function(){return c}});var i=o(85893),n=o(67294),r=o(39332),a=o(55346),l=o(61163),s=o(96927);let d=o(68777).ZP.div.withConfig({componentId:"sc-8133419b-0"})(["display:flex;gap:8px;margin-bottom:16px;"]);function c(){let e=(0,r.useRouter)(),t=(0,r.useSearchParams)(),o=t.get("invoiceType"),[c,p]=(0,n.useState)(null!=o?o:"product"),u=o=>{let i=new URLSearchParams(t);i.set("invoiceType",o),e.replace("?".concat(i.toString()))},h=e=>{p(e),u(e)};return(0,i.jsxs)(d,{children:[(0,i.jsx)(s.A,{text:"Produto",leadingIcon:(0,i.jsx)(a.FSC,{color:"#FF8C38"}),isActive:"product"===c,onClick:()=>h("product")}),(0,i.jsx)(s.A,{text:"Servi\xe7o",leadingIcon:(0,i.jsx)(l.ygk,{color:"#9038FF"}),isActive:"service"===c,onClick:()=>h("service")})]})}},5033:function(e,t,o){o.d(t,{G:function(){return d}});var i=o(85893),n=o(36024),r=o(68777);let a=r.ZP.div.withConfig({componentId:"sc-ade1e5cd-0"})(["",""],e=>{let{theme:t}=e;return(0,r.iv)(["width:80vw;max-width:512px;padding:2rem;text-align:center;display:flex;flex-direction:column;align-items:center;gap:1.5rem;color:",";h2{line-height:150%;font-weight:",";}p{line-height:125%;}p span{color:",";}p span:hover{cursor:pointer;}@media (min-width:700px){width:100%;}"],t.colors.darkGray[260],t.fonts.weight.medium,t.colors.blue[500])});var l=o(61163),s=o(53393);function d(e){let{isOpen:t,onClose:o}=e;return(0,i.jsx)(n.u,{isOpen:t,onClose:o,children:(0,i.jsxs)(a,{children:[(0,i.jsx)(l.qyc,{size:32,color:"#B6C3CA"}),(0,i.jsx)("h2",{children:"Estamos gerando seu boleto, volte em breve para acess\xe1-lo."}),(0,i.jsxs)("p",{children:["Isso pode levar s\xf3 alguns instantes. Se ainda n\xe3o estiver dispon\xedvel depois de alguns minutos,"," ",(0,i.jsx)("span",{onClick:s.G,children:"entre em contato"})," com nosso suporte para que possamos te ajudar."]})]})})}},6741:function(e,t,o){o.d(t,{y:function(){return R}});var i=o(85893),n=o(77677),r=o(68777);let a={overdue:{color:"#FF555C",background:"#FFE8E9"},open:{color:"#8F8F8F",background:"#f7f7f7"},paid:{color:"#08A898",background:"#DFF8EF"}},l=r.ZP.div.withConfig({componentId:"sc-ee22ee5-0"})(["overflow-x:auto;width:100%;"]),s=r.ZP.div.withConfig({componentId:"sc-ee22ee5-1"})(["",""],e=>{let{theme:t}=e;return(0,r.iv)(["margin-top:12.8px;height:65vh;border-radius:8px;border:1px solid ",";font-size:",";color:",";table{border-collapse:collapse;min-width:800px;width:100%;overflow:hidden;}table tr{height:40px;}thead{width:100%;border-bottom:1px solid ",";background-color:",";text-align:left;}th:first-child,td:first-child{padding-left:1rem;}"],t.colors.neutral.gray,t.fonts.size.sm,t.colors.darkGray[150],t.colors.neutral.gray,t.colors.lightBlue[30])}),d=r.ZP.div.withConfig({componentId:"sc-ee22ee5-2"})(["",""],e=>{let{theme:t}=e;return(0,r.iv)(["display:flex;gap:0.5rem;button{all:unset;padding:7px 4px;color:",";font-size:",";}button:hover{cursor:pointer;}"],t.hostCompany.cor,t.fonts.size.sm)}),c=r.ZP.span.withConfig({componentId:"sc-ee22ee5-3"})(["",""],e=>{let{theme:t,status:o}=e;return(0,r.iv)(["background-color:",";color:",";font-size:",";padding:4px 10px;border-radius:12px;"],a[o].background,a[o].color,t.fonts.size.xs)});var p=o(17e3),u=o(65224),h=o(67294),m=o(74094),g=o(27060),x=o(13641),f=o(31856),C=o(22980),v=o(82256),b=o(88902);let w=[{accessorKey:"invoiceNumber",id:"invoiceNumber",header:"Nota",cell:e=>{let{row:t}=e;return t.index+1},size:80,enableSorting:!0},{accessorKey:"drawee.companyName",id:"drawee",header:"Sacado",cell:e=>{let{cell:t}=e;return(0,x.U)(String(t.getValue()))},enableSorting:!0},{id:"status",header:"Status",cell:e=>{let{row:t}=e,o=(0,C.Z)(t.original.dueDate),n=(0,v.Z)(o,new Date);return"paid"===t.original.status?(0,i.jsx)(c,{status:"paid",children:"Pago"}):(0,i.jsx)(c,{status:n?"overdue":"open",children:n?"Vencido":"A vencer"})},enableSorting:!0},{accessorKey:"amount",id:"amount",header:"Valor atualizado",cell:e=>{let{cell:t}=e;return(0,f.iK)(String(t.getValue()))},enableSorting:!0},{accessorKey:"dueDate",id:"dueDate",header:"Vencimento",enableSorting:!0,cell:e=>{let{cell:t}=e;return(0,b.p6)(String(t.getValue()))}}];var j=o(55602),y=o(61163),I=o(323),L=o(65775),k=o(5033),Z=o(90423),P=o(50788);function R(e){let{selectedInvoicesIds:t,setSelectedInvoicesIds:o,invoiceType:r}=e,[a,c]=(0,h.useState)([]),[x,f]=(0,h.useState)(1),[C,v]=(0,h.useState)(10),[b,R]=(0,h.useState)(0),[z,E]=(0,h.useState)(!1),[S,A]=(0,h.useState)(!1);(0,p.a)({queryKey:[n.U.RECEIVABLES,x,C],queryFn:()=>(0,u.S)(x,C,r),refetchOnWindowFocus:!1,retry:!1,onSuccess:e=>{var t;let{status:o,data:i}=e;200===o&&(c((null==i?void 0:i.data)||[]),R((null==i?void 0:null===(t=i.meta)||void 0===t?void 0:t.pageCount)||0))}});let F=async function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];try{var o;let{data:i,status:n}=await (0,L.l)(String(e));if(200!==n)throw Error("");let r=null===(o=i.find(e=>1===e.paymentMethodTypeId&&1===e.paymentMethodStatusTypeId&&(t&&null!==e.generateAt||!t&&null===e.generateAt)))||void 0===o?void 0:o.paymentInfo;if(!r)throw Error("");window.open(r,"_blank")}catch(e){E(!0)}},_=(0,h.useMemo)(()=>"paid"===r?w:[...w,{accessorKey:"action",header:"A\xe7\xf5es",size:300,cell:e=>{let{row:t}=e;return(0,i.jsxs)(d,{children:[(0,i.jsx)(j.z,{onClick:()=>{o([t.original.id]),A(!0)},size:"sm",title:"Pagar via Pix",children:(0,i.jsx)(P.zki,{size:24})}),(0,i.jsx)(j.z,{title:"Gerar boleto",size:"sm",onClick:()=>F(t.original.id),children:(0,i.jsx)(y.a_$,{size:20})})]})}}],[t]),N=(0,m.b7)({data:a,columns:_,getCoreRowModel:(0,g.sC)(),manualPagination:!0,pageCount:Math.ceil(b/C)});return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(s,{children:(0,i.jsx)(l,{children:(0,i.jsxs)("table",{children:[(0,i.jsx)("thead",{children:N.getHeaderGroups().map(e=>(0,i.jsx)("tr",{children:e.headers.map(e=>(0,i.jsx)("th",{children:(0,m.ie)(e.column.columnDef.header,e.getContext())},e.id))},e.id))}),(0,i.jsx)("tbody",{children:N.getRowModel().rows.map(e=>(0,i.jsx)("tr",{children:e.getVisibleCells().map(e=>(0,i.jsx)("td",{children:(0,m.ie)(e.column.columnDef.cell,e.getContext())},e.id))},e.id))})]})})}),(0,i.jsx)("div",{style:{display:"flex",gap:"1rem",marginTop:"1rem"},children:(0,i.jsx)(I.v,{page:x,setPage:f,setTake:v,take:C,totalCount:b})}),(0,i.jsx)(k.G,{isOpen:z,onClose:()=>E(!1)}),S&&(0,i.jsx)(Z.F,{installmentsIds:t,onClose:()=>A(!1),isOpen:S})]})}},93569:function(e,t,o){o.d(t,{z:function(){return p}});var i=o(85893),n=o(67294),r=o(73154),a=o(68777),l=o(75366);let s={ghost:e=>
1(0,a.iv)(["transition:background-color 0.2s,color 0.2s;&:not(:disabled):hover{background-color:",";}"],e.colors.gray[40]),link:()=>(0,a.iv)(["text-decoration-thickness:4px;text-decoration-skip-ink:none;cursor:pointer;&:hover{text-decoration:underline;}"]),outline:(e,t,o)=>(0,a.iv)(["border:1px solid ",";background-color:transparent;box-shadow:0 1px 2px 0 rgba(0,0,0,0.05);transition:background-color 0.2s,color 0.2s;color:",";&:not(:disabled):hover{background-color:",";}&:disabled{color:",";border-color:",";}"],o,t,(0,l.c)(t,.1),e.colors.darkGray[350],e.colors.gray[115]),solid:(e,t)=>(0,a.iv)(["background-color:",";color:",";box-shadow:0 1px 2px 0 rgba(0,0,0,0.05);transition:background-color 0.2s;&:not(:disabled):hover{background-color:",";}&:disabled{background-color:",";}"],t,e.hostCompany.cor_texto,(0,l.c)(t,.9),e.colors.gray[500])},d={sm:()=>(0,a.iv)(["height:2rem;border-radius:4px;padding-block:0.25rem;padding-inline:0.75rem;font-size:0.875rem;"]),md:()=>(0,a.iv)(["font-size:0.875rem;height:2.25rem;border-radius:6px;padding-block:0.375rem;padding-inline:1rem;"]),lg:()=>(0,a.iv)(["font-size:1rem;height:2.75rem;border-radius:8px;padding-block:0.5rem;padding-inline:1.5rem;"])},c=a.ZP.button.withConfig({componentId:"sc-860eb9bd-0"})(["",""],e=>{let{theme:t,variant:o,size:i,color:n=t.hostCompany.cor,borderColor:r=n}=e;return(0,a.iv)(["background:initial;border:none;color:inherit;display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;border-radius:0.375rem;font-size:1rem;font-weight:inherit;transition:color 0.2s;&:focus-visible{outline:none;border:1px solid ring;}&:disabled{pointer-events:none;opacity:0.5;}"," ",""],s[o](t,n,r),d[i]())}),p=n.forwardRef((e,t)=>{let{variant:o="solid",size:n="md",asChild:a=!1,type:l="button",...s}=e,d=a?r.g7:"button";return(0,i.jsx)(c,{as:d,variant:o,size:n,ref:t,type:l,...s})});p.displayName="Button"},87311:function(e,t,o){o.d(t,{w:function(){return tW}});var i,n,r=o(85893),a=o(67294),l=o(50549),s=o(74094);let d=e=>"function"==typeof e;var c=o(27060),p=o(68777);let u=p.ZP.div.withConfig({componentId:"sc-4a425ffe-0"})(["",""],e=>{let{theme:t}=e;return(0,p.iv)(["&,button,input{font-family:",";}> div + div{margin-top:0.8rem;}"],t.fonts.family.text)}),h=(0,a.createContext)({});function m(){return(0,a.useContext)(h)}let g=p.ZP.div.withConfig({componentId:"sc-58050b08-0"})(["position:relative;overflow:auto;width:100%;height:65vh;table{font-size:0.875rem;line-height:1.25rem;caption-side:bottom;width:100%;text-indent:0;border-color:inherit;border-collapse:collapse;}@media (max-width:600px){height:auto;min-height:35vh;}"]),x=p.ZP.thead.withConfig({componentId:"sc-58050b08-1"})(["",""],e=>{let{theme:t}=e;return(0,p.iv)(["& tr:first-child{background-color:",";}& tr{border-bottom-width:1px;}"],t.colors.lightBlue[30])}),f=p.ZP.tbody.withConfig({componentId:"sc-58050b08-2"})(["& tr:last-child{border-width:0px;}"]),C=p.ZP.tfoot.withConfig({componentId:"sc-58050b08-3"})(["",""],e=>{let{theme:t}=e;return(0,p.iv)(["font-weight:medium;background-color:",";color:",";"],t.hostCompany.cor,t.hostCompany.cor_texto)}),v=p.ZP.tr.withConfig({componentId:"sc-58050b08-4"})(["",""],e=>{let{theme:t}=e;return(0,p.iv)(["border-bottom-width:1px;border-bottom-style:solid;border-color:",";transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(0.4,0,0.2,1);transition-duration:0.15s;background-color:",";color:",";&:hover{background:",";}&[data-state='selected']{background:",";}&[data-restricted='restricted'] > td > div{color:#b6c3ca;}"],t.colors.gray[115],t.colors.white,t.colors.darkGray[150],t.colors.lightBlue[30],t.colors.lightBlue[30])}),b=p.ZP.th.withConfig({componentId:"sc-58050b08-5"})(["",""],e=>{let{theme:t,isSorted:o}=e;return(0,p.iv)(["height:2.5rem;padding-left:0.5rem;padding-right:0.5rem;text-align:left;vertical-align:middle;font-weight:700;"," &:has([role='checkbox']){padding-right:0;}& > [role='checkbox']{transform:translateY(2px);}"],o?(0,p.iv)(["color:",";&:hover{color:",";}"],t.hostCompany.cor,t.hostCompany.cor):(0,p.iv)(["color:",";"],t.colors.darkGray[150]))}),w=p.ZP.td.withConfig({componentId:"sc-58050b08-6"})(["padding:0.5rem;vertical-align:middle;&:has([role='checkbox']){padding-right:0;}& > [role='checkbox']{transform:translateY(2px);}"]),j=p.ZP.caption.withConfig({componentId:"sc-58050b08-7"})(["margin-top:1rem;font-size:0.875rem;color:#6b7280;"]),y=a.forwardRef((e,t)=>
1(0,r.jsx)(g,{children:(0,r.jsx)("table",{ref:t,...e})}));y.displayName="Table";let I=a.forwardRef((e,t)=>(0,r.jsx)(x,{ref:t,...e}));I.displayName="TableHeader";let L=a.forwardRef((e,t)=>(0,r.jsx)(f,{ref:t,...e}));L.displayName="TableBody",a.forwardRef((e,t)=>(0,r.jsx)(C,{ref:t,...e})).displayName="TableFooter";let k=a.forwardRef((e,t)=>(0,r.jsx)(v,{ref:t,...e}));k.displayName="TableRow";let Z=a.forwardRef((e,t)=>(0,r.jsx)(b,{ref:t,...e}));Z.displayName="TableHead";let P=a.forwardRef((e,t)=>(0,r.jsx)(w,{ref:t,...e}));P.displayName="TableCell",a.forwardRef((e,t)=>(0,r.jsx)(j,{ref:t,...e})).displayName="TableCaption";let R=p.ZP.div.withConfig({componentId:"sc-5ccb07dc-0"})(["",""],e=>{let{theme:t}=e;return(0,p.iv)(["border-radius:8px;border-width:1px;border:1px solid ",";overflow:hidden;"],t.colors.gray[115])}),z=(0,p.ZP)(P).withConfig({componentId:"sc-5ccb07dc-1"})(["text-align:center;height:6rem;"]);var E=o(50788),S=o(92574),A=o(36456),F=o(93569),_=o(33610),N=o(31034),M=o(17327);let V=p.ZP.div.withConfig({componentId:"sc-ae028170-0"})(["display:flex;flex-direction:column;gap:0.3rem;"]),D=p.ZP.div.withConfig({componentId:"sc-ae028170-1"})(["",""],e=>{let{theme:t}=e;return(0,p.iv)(["font-size:",";font-weight:",";color:",";"],t.fonts.size.sm,t.fonts.weight.bold,t.colors.colorText.darkGrey)}),T=p.ZP.div.withConfig({componentId:"sc-ae028170-2"})(["",""],e=>{let{theme:t}=e;return(0,p.iv)(["display:flex;align-content:center;justify-content:center;gap:0.5rem;font-weight:",";"],t.fonts.weight.bold)}),O=p.ZP.span.withConfig({componentId:"sc-ae028170-3"})(["margin-left:0.5rem;@media (max-width:615px){display:none;}"]);var G=o(70545);let B=(0,o(64529).Ue)(e=>({installmentsForPayment:[],handleSelectInstallmentsForPayment:t=>{e({installmentsForPayment:t})}}));var H=o(90423),q=o(12515),U=o(40080),K=o(20473),W=o(84538);let Q=(0,p.ZP)(W.E.div).withConfig({componentId:"sc-46cd57a0-0"})(["",""],e=>{let{theme:t}=e;return(0,p.iv)(["border:none;color:",";opacity:1;display:flex;align-items:center;justify-content:center;transition:all 0.3s;box-shadow:0px 8px 32px rgba(0,0,0,0.15);&:hover{#tooltip{opacity:1;}}"],t.hostCompany.cor_texto)}),X=(0,p.ZP)(W.E.div).withConfig({componentId:"sc-46cd57a0-1"})(["position:relative;display:flex;align-items:center;justify-content:center;img{width:33px;height:33px;}"]),$=p.ZP.div.withConfig({componentId:"sc-46cd57a0-2"})(["",""],e=>{let{theme:t}=e;return(0,p.iv)(["font-size:14px;position:absolute;top:2rem;right:-13.5rem;min-width:249px;height:12.56rem;width:16rem;border-radius:10px;padding:1rem;background:",";opacity:0;pointer-events:none;text-align:left;z-index:1;&:after{content:'';position:absolute;width:0px;height:0px;background:transparent;border-width:10px;border-color:"," transparent transparent transparent;border-style:solid;top:-1.2rem;left:1.5rem;transform:rotate(180deg);}@media (max-width:720px){right:-14.5rem;}@media (max-width:450px){right:-15.5rem;}"],t.hostCompany.cor,t.hostCompany.cor)}),Y=p.ZP.h3.withConfig({componentId:"sc-46cd57a0-3"})(["",""],e=>{let{theme:t}=e;return(0,p.iv)(["font-size:",";font-weight:",";"],t.fonts.size.sm,t.fonts.weight.bold)}),J=p.ZP.p.withConfig({componentId:"sc-46cd57a0-4"})(["",""],e=>{let{theme:t}=e;return(0,p.iv)(["font-size:",";white-space:break-spaces;font-weight:initial;margin-top:1rem;"],t.fonts.size.sm)}),ee=(0,p.ZP)(K.Hfo).withConfig({componentId:"sc-46cd57a0-5"})(["",""],e=>{let{theme:t}=e;return(0,p.iv)(["color:",";"],t.hostCompany.cor)});function et(e){let{title:t,text:o}=e;return(0,r.jsx)(Q,{className:"tour_contact",children:(0,r.jsxs)(X,{children:[(0,r.jsxs)($,{id:"tooltip",children:[(0,r.jsx)(Y,{children:t}),(0,r.jsx)(J,{children:o})]}),(0,r.jsx)(ee,{})]})})}let eo=p.ZP.div.withConfig({componentId:"sc-df1e8e46-0"})(["display:flex;justify-content:center;align-items:center;> svg{margin-left:0.5rem;}"]),ei=p.ZP.div.withConfig({componentId:"sc-df1e8e46-1"})(["display:flex;justify-content:center;align-items:center;> div{margin-right:0.5rem;}"]),en=(0,p.ZP)(F.z).withConfig({componentId:"sc-df1e8e46-2"})(["pointer-events:none;"]);var er=o(66605);let ea=(0,p.ZP)(er.fF).withConfig({componentId:"sc-3402731f-0"})(["",""],e=>{let{theme:t,inset:o}=e;return(0,p.iv)(["display:flex;cursor:default;user-select:none;align-items:center;border-radius:0.25rem;padding:0.375rem 0.5rem;font-size:0.875rem;outline:none;&:focus{background-color:",";}&[data-state='open']{background-color:",";}",""],t.colors.gray[115],t.colors.gray[115],o&&(0,p.iv)(["padding-left:2rem;"]))}),el=(0,p.ZP)(er.tu).withConfig({componentId:"sc-3402731f-1"})(["",""],e=>{let{theme:t}=e;return(0,p.iv)(["z-index:50;min-width:2rem;overflow:hidden;border-radius:0.375rem;border:1px solid ",";background-color:",";padding:0.25rem;color:",";box-shadow:0 4px 6px -1px rgba(0,0,0,0.1),0 2px 4px -1px rgba(0,0,0,0.06);animation-duration:150ms;transition-duration:150ms;&[data-state='open']{animation-name:",";}&[data-state='closed']{animation-name:",";}"],t.colors.gray[115],t.colors.white,t.colors.colorText.darkGrey,es,ed)}),es=(0,p.F4)(["from{opacity:0;transform:scale(0.95) translateY(-0.5rem) translateX(0.5rem);}to{opacity:1;transform:scale(1) translateY(0) translateX(0);}"]),ed=(0,p.F4)(["from{opacity:1;transform:scale(1) translateY(0) translateX(0);}to{opacity:0;transform:scale(0.95) translateY(-0.5rem) translateX(0.5rem);}"]),ec=(0,p.ZP)(er.VY).withConfig({componentId:"sc-3402731f-2"})(["",""],e=>{let{theme:t}=e;return(0,p.iv)(["z-index:50;min-width:2rem;overflow:hidden;border-radius:0.375rem;font-weight:",";border:1px solid ",";background-color:",";padding:0.25rem;color:",";box-shadow:0 4px 6px -1px rgba(0,0,0,0.1),0 2px 4px -1px rgba(0,0,0,0.06);animation-duration:150ms;&[data-state='open']{animation-name:",";}&[data-state='closed']{animation-name:",";}"],t.fonts.weight.normal,t.colors.gray[115],t.colors.white,t.colors.colorText.darkGrey,es,ed)}),ep=(0,p.ZP)(er.ck).withConfig({componentId:"sc-3402731f-3"})(["",""],e=>{let{theme:t,inset:o}=e;return(0,p.iv)(["position:relative;display:flex;cursor:default;user-select:none;align-items:center;border-radius:0.25rem;padding:0.375rem 0.5rem;font-size:0.875rem;outline:none;transition:color 0.2s;&:focus{background-color:",";}&[data-disabled]{pointer-events:none;opacity:0.5;}",""],t.colors.gray[40],o&&(0,p.iv)(["padding-left:2rem;"]))}),eu=(0,p.ZP)(er.oC).withConfig({componentId:"sc-3402731f-4"})(["",""],e=>{let{theme:t}=e;return(0,p.iv)(["position:relative;display:flex;cursor:default;user-select:none;align-items:center;border-radius:0.25rem;padding-block:0.375rem;padding-right:0.5rem;padding-left:2rem;font-size:0.875rem;outline:none;transition:color 0.2s;&:focus{background-color:",";}&[data-disabled='true']{pointer-events:none;opacity:0.5;}"],t.colors.gray[40])}
1),eh=p.ZP.span.withConfig({componentId:"sc-3402731f-5"})(["position:absolute;left:0.5rem;display:flex;height:0.875rem;width:0.875rem;align-items:start;justify-content:center;"]),em=(0,p.ZP)(K.oFd).withConfig({componentId:"sc-3402731f-6"})(["width:1rem;height:1rem;"]),eg=(0,p.ZP)(er.Rk).withConfig({componentId:"sc-3402731f-7"})(["",""],e=>{let{theme:t}=e;return(0,p.iv)(["position:relative;display:flex;cursor:default;user-select:none;align-items:center;border-radius:0.25rem;padding-block:0.375rem;padding-right:0.5rem;padding-left:2rem;font-size:0.875rem;outline:none;transition:color 0.2s;&:focus{background-color:",";}&[data-disabled='true']{pointer-events:none;opacity:0.5;}&:first-child{position:absolute;left:0.5rem;display:flex;height:0.875rem;width:0.875rem;align-items:center;justify-content:center;}"],t.colors.gray[40])}),ex=(0,p.ZP)(er.__).withConfig({componentId:"sc-3402731f-8"})(["",""],e=>{let{inset:t}=e;return(0,p.iv)(["padding-inline:0.5rem;padding-block:0.375rem;",""],t&&(0,p.iv)(["padding-left:2rem;"]))}),ef=(0,p.ZP)(er.Z0).withConfig({componentId:"sc-3402731f-9"})(["",""],e=>{let{theme:t}=e;return(0,p.iv)(["margin-inline:-0.25rem;margin-block:0.25rem;height:1px;background:",";"],t.colors.gray[115])}),eC=(p.ZP.span.withConfig({componentId:"sc-3402731f-10"})(["",""],e=>{let{theme:t}=e;return(0,p.iv)(["margin-left:auto;font-size:",";letter-spacing:0.1em;opacity:0.6;"],t.fonts.size.xs)}),(0,p.ZP)(q.Tfp).withConfig({componentId:"sc-3402731f-11"})(["margin-left:auto;width:1rem;height:1rem;"])),ev=er.fC,eb=er.xz;er.ZA,er.Uv;let ew=er.Tr;er.Ee;let ej=a.forwardRef((e,t)=>{let{inset:o,children:i,...n}=e;return(0,r.jsxs)(ea,{ref:t,inset:o,...n,children:[i,(0,r.jsx)(eC,{})]})});ej.displayName=er.fF.displayName;let ey=a.forwardRef((e,t)=>{let{...o}=e;return(0,r.jsx)(el,{ref:t,...o})});ey.displayName=er.tu.displayName;let eI=a.forwardRef((e,t)=>{let{sideOffset:o=4,...i}=e;return(0,r.jsx)(ec,{ref:t,sideOffset:o,...i})});eI.displayName=er.VY.displayName;let eL=a.forwardRef((e,t)=>{let{inset:o,...i}=e;return(0,r.jsx)(ep,{ref:t,inset:o,...i})});eL.displayName=er.ck.displayName,a.forwardRef((e,t)=>{let{children:o,checked:i,...n}=e;return(0,r.jsxs)(eu,{ref:t,checked:i,...n,children:[(0,r.jsx)(eh,{children:(0,r.jsx)(er.wU,{children:(0,r.jsx)(em,{})})}),o]})}).displayName=er.oC.displayName,a.forwardRef((e,t)=>{let{children:o,...i}=e;return(0,r.jsxs)(eg,{ref:t,...i,children:[(0,r.jsx)("span",{children:(0,r.jsx)(er.wU,{children:(0,r.jsx)(K.b9R,{})})}),o]})}).displayName=er.Rk.displayName,a.forwardRef((e,t)=>{let{inset:o,...i}=e;return(0,r.jsx)(ex,{ref:t,inset:o,...i})}).displayName=er.__.displayName;let ek=a.forwardRef((e,t)=>{let{...o}=e;return(0,r.jsx)(ef,{ref:t,...o})});ek.displayName=er.Z0.displayName;var eZ=o(43237),eP=o(18078),eR=o(71999),ez=o(4911),eE=o(93209),eS=o(15394),eA=o(80258),eF=o(10154),e_=o(17952);let eN=p.ZP.div.withConfig({componentId:"sc-94c773dd-0"})(["display:flex;justify-content:center;align-items:center;> svg{margin-left:0.5rem;}"]),eM=(0,p.ZP)(q.bTu).withConfig({componentId:"sc-94c773dd-1"})(["margin-right:0.5rem;"]),eV=(0,p.ZP)(q.rH8).withConfig({componentId:"sc-94c773dd-2"})(["margin-right:0.5rem;"]),eD=p.ZP.span.withConfig({componentId:"sc-94c773dd-3"})(["text-transform:capitalize;"]),eT=p.ZP.span.withConfig({componentId:"sc-94c773dd-4"})(["display:flex;justify-content:center;align-items:center;gap:0.5rem;"]),eO=p.ZP.div.withConfig({componentId:"sc-94c773dd-5"})(["display:flex;justify-content:center;align-items:center;> div{margin-right:0.5rem;}"]),eG="yyyy-MM-dd",eB=p.ZP.div.withConfig({componentId:"sc-61148edf-0"})(["display:flex;justify-content:center;align-items:center;> svg{margin-left:0.5rem;}"]),eH=p.ZP.div.withConfig({componentId:"sc-61148edf-1"})(["display:flex;justify-content:center;align-items:center;> div{margin-right:0.5rem;}"]),eq=[{label:"A vencer",value:"pay"},{label:"Vencido",value:"overdue"},{label:"Negativado",value:"negative"},{label:"Regressado",value:"regress"},{label:"Renegociado",value:"renegotiation"}];var eU=o(61163),eK=o(20868),eW=o(14530),eQ=o(75366);let eX=p.ZP.div.withConfig({componentId:"sc-28bf7d17-0"})(["display:flex;align-items:center;justify-content:flex-start;gap:0.5rem;margin-left:0.5rem;"]),e$=p.ZP.button.withConfig({componentId:"sc-28bf7d17-1"})(["",""],e=>{let{theme:t}=e;return(0,p.iv)(["all:unset;width:20px;height:20px;cursor:pointer;color:",";transition:color 0.2s;display:flex;justify-content:center;align-items:center;&:not(:disabled):hover{color:",";}
1&:disabled{opacity:0.5;pointer-events:none;}"],t.hostCompany.cor,(0,eQ.c)(t.hostCompany.cor,.8))});var eY=o(89893),eJ=o(55346),e1=o(15581);let e2=p.ZP.div.withConfig({componentId:"sc-b3fcb9b4-0"})(["",""],e=>{let{theme:t}=e;return(0,p.iv)(["display:flex;justify-content:space-between;align-items:center;gap:0.5rem;color:",";font-size:",";"],t.colors.darkGray[350],t.fonts.size.sm)}),e0=p.ZP.div.withConfig({componentId:"sc-b3fcb9b4-1"})(["display:flex;flex:1;> span{@media (max-width:600px){display:none;}}"]),e3=p.ZP.div.withConfig({componentId:"sc-b3fcb9b4-2"})(["display:flex;align-items:center;gap:1rem;"]),e4=p.ZP.div.withConfig({componentId:"sc-b3fcb9b4-3"})(["",""],e=>{let{theme:t}=e;return(0,p.iv)(["display:flex;align-items:center;gap:0.5rem;> p{font-size:",";}> select{width:3.75rem;height:2rem;border-radius:0.375rem;background:transparent;border:1px solid ",";color:",";}"],t.fonts.size.sm,t.colors.gray[115],t.colors.darkGray[350])}),e5=p.ZP.div.withConfig({componentId:"sc-b3fcb9b4-4"})(["",""],e=>{let{theme:t}=e;return(0,p.iv)(["display:flex;align-items:center;justify-content:center;font-size:",";"],t.fonts.size.sm)}),e6=p.ZP.div.withConfig({componentId:"sc-b3fcb9b4-5"})(["display:flex;align-items:center;gap:0.5rem;> button{width:2rem;height:2rem;padding:0;}& button:first-child,& button:last-child{@media (max-width:600px){display:none;}}"]),e8=p.ZP.p.withConfig({componentId:"sc-b3fcb9b4-6"})(["position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0;"]),e7=[{id:0,quantity:5},{id:1,quantity:10},{id:2,quantity:20},{id:3,quantity:50}];var e9={src:"/_next/static/media/boleto_cedente.17447932.svg"},te={src:"/_next/static/media/boleto_sacado.8805ce3c.svg"},tt=o(36024),to=o(65775);let ti=p.ZP.div.withConfig({componentId:"sc-27312bbf-0"})(["",""],e=>{let{theme:t}=e;return(0,p.iv)(["position:relative;width:100%;margin-top:2rem;button{position:absolute;bottom:-10px;color:",";background-color:transparent;border:none;svg{width:4rem;color:",";}}"],t.hostCompany.cor,t.hostCompany.cor)}),tn=p.ZP.section.withConfig({componentId:"sc-27312bbf-1"})(["",""],e=>{let{theme:t}=e;return(0,p.iv)(["display:flex;width:100%;flex-direction:column;align-items:center;padding:2rem;h1{color:",";}"],t.hostCompany.cor)}),tr=p.ZP.div.withConfig({componentId:"sc-27312bbf-2"})(["",""],e=>{let{theme:t}=e;return(0,p.iv)(["display:flex;justify-content:center;align-items:center;flex-wrap:wrap;width:100%;padding:15px;h2{text-align:center;color:",";font-size:",";}"],t.hostCompany.cor,t.fonts.size.md)}),ta=p.ZP.button.withConfig({componentId:"sc-27312bbf-3"})(["",""],e=>{let{theme:t}=e;return(0,p.iv)(["max-width:190px;max-height:170px;height:100%;width:100%;padding:20px;border:2px solid ",";border-radius:",";margin:25px;text-align:center;cursor:pointer;background-color:",";transition:transform 0.2s;&:hover{box-shadow:rgba(50,50,93,0.25) 0px 13px 27px -5px,rgba(0,0,0,0.3) 0px 8px 16px -8px;transform:scale(1.05);border-radius:0;}&:disabled{cursor:wait;opacity:0.5;}img{width:80px;height:80px;margin-bottom:20px;}h2{color:",";}"],t.hostCompany.cor,t.border.borderRadius.md,t.colors.white,t.hostCompany.cor)});var tl=o(42543);(i=n||(n={}))[i.TRADITIONAL_BILLING=1]="TRADITIONAL_BILLING",i[i.TRADITIONAL_REGRESS=2]="TRADITIONAL_REGRESS",i[i.REVERSED_BILLING=3]="REVERSED_BILLING",i[i.REVERSED_REGRESS=4]="REVERSED_REGRESS";let ts=[1,4],td=[2,3];var tc=o(5033);function tp(e){let{open:t,onClose:o,installment:i}=e,{customerData:l}=(0,tl.O)(),[s,d]=(0,a.useState)(!1),[c,p]=(0,a.useState)(void 0),[u,h]=(0,a.useState)({assignor:!1,drawee:!1}),m=(e,t)=>{h(o=>({...o,[e?"drawee":"assignor"]:t}))},g=async(e,t)=>{m(t,!0);try{var o;let{data:i,status:n}=await (0,to.l)(String(e));if(200!==n)throw Error("");let r=null===(o=i.find(e=>1===e.paymentMethodTypeId&&1===e.paymentMethodStatusTypeId&&(t&&null!==e.generateAt||!t&&null===e.generateAt)))||void 0===o?void 0:o.paymentInfo;if(!r)throw Error("");m(t,!1),window.open(r,"_blank")}catch(e){m(t,!1),d(!0)}},x=(e,t)=>{if(!(null==l?void 0:l.id))return;let o=function(e){let t="drawee"===e?n.REVERSED_REGRESS:n.TRADITIONAL_REGRESS;return(null==i?void 0:i.relacao_cobranca_regresso_id)===t||(null==i?void 0:i.relacao_cobranca_original_id
1)===t}(t);g(i.id,o)},f=()=>{o(),p(void 0)},C=(0,a.useMemo)(()=>ts.includes(null==i?void 0:i.relacao_cobranca_original_id)||ts.includes(null==i?void 0:i.relacao_cobranca_regresso_id),[i]),v=(0,a.useMemo)(()=>td.includes(null==i?void 0:i.relacao_cobranca_original_id)||td.includes(null==i?void 0:i.relacao_cobranca_regresso_id),[i]);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(tt.u,{isOpen:t,onClose:f,width:60,closeIcon:!0,children:c?(0,r.jsx)(ti,{children:(0,r.jsx)("button",{type:"button",onClick:()=>{p(void 0)},children:(0,r.jsx)(q.Ao2,{fontSize:30})})}):(0,r.jsxs)(tn,{children:[(0,r.jsx)("h1",{children:"Op\xe7\xf5es de pagamento"}),(0,r.jsxs)(tr,{children:[C&&(0,r.jsxs)(ta,{onClick:()=>{x("carteira_boleto_cedente","drawee")},disabled:u.assignor,children:[(0,r.jsx)("img",{src:te.src,alt:"Imagem de uma folha de papel com uma faixa vermelha no meio com a palavra boleto escrita em branco"}),(0,r.jsx)("h2",{children:u.assignor?"Carregando...":"Boleto do sacado"})]}),v&&(0,r.jsxs)(ta,{onClick:()=>{x("carteira_boleto_regresso","assignor")},disabled:u.drawee,children:[(0,r.jsx)("img",{src:e9.src,alt:"Imagem de uma folha de papel com uma faixa roxa no meio com a palavra boleto escrita em branco"}),(0,r.jsx)("h2",{children:u.drawee?"Carregando...":"Boleto do Cedente"})]})]})]})}),(0,r.jsx)(tc.G,{isOpen:s,onClose:function(){d(!1),f()}})]})}function tu(){return(0,r.jsxs)("svg",{width:"458",height:"541",viewBox:"0 0 458 541",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("path",{d:"M493.655 236.178C501.902 218.149 493.973 196.847 475.943 188.599L256.789 88.3456C238.759 80.0979 217.457 88.0276 209.209 106.057L84.7293 378.171C76.4816 396.201 84.4113 417.503 102.441 425.75L209.012 474.502C211.012 475.417 213.092 476.146 215.225 476.68L227.651 479.792C230.503 480.506 233.432 480.867 236.372 480.867L340.988 480.867L358.779 480.867C373.276 480.867 386.35 472.148 391.921 458.764L392.828 456.586L431.415 372.235L493.655 236.178Z",fill:"#E6EFFF"}),(0,r.jsx)("path",{d:"M397.059 236.768L370.858 279.503L404.287 290.299L439.072 259.26C438.35 250.983 440.578 245.615 441.783 243.966L418.743 230.92C413.322 241.716 402.029 239.317 397.059 236.768Z",fill:"#B2CEFF"}),(0,r.jsx)("path",{d:"M354.278 221.453C353.561 228.298 342.621 237.214 337.241 240.817L308.547 237.214L278.508 210.196C277.91 210.196 276.445 207.764 275.369 198.037C274.024 185.879 280.301 178.674 292.855 175.522C302.898 173 314.375 178.073 318.859 180.925C332.758 179.574 339.483 183.627 344.863 188.581C349.167 192.543 349.346 201.339 348.898 205.242C350.99 207.794 354.995 214.609 354.278 221.453Z",fill:"black"}),(0,r.jsx)("path",{d:"M322.455 304.775C336.384 303.703 344.777 286.899 346.116 280.642C327.544 278.855 323.943 261.276 325.58 253.381C337.723 255.168 337.782 245.783 336.294 240.867C332.366 236.219 326.324 236.845 323.794 237.739C309.508 227.013 321.115 215.393 328.705 210.924C305.133 213.784 287.037 206.753 280.936 202.88L277.81 209.583C276.739 215.661 271.114 221.948 268.435 224.331C264.149 227.192 265.161 229.099 266.203 229.694L270.221 233.717L268.435 240.867C267.007 256.241 278.852 260.084 284.954 260.084V270.363L267.096 282.877C275.668 295.033 288.376 302.243 292.097 303.435C296.412 304.329 308.526 305.848 322.455 304.775Z",fill:"white"}),(0,r.jsx)("path",{d:"M457.693 390.821L439.535 351.328L382.403 374.665V478.334L453.708 420.89C462.565 411.555 460.055 396.955 457.693 390.821Z",fill:"white"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M440.346 351.328L380.754 375.263V481.633L454.943 422.864L454.985 422.821C459.702 417.933 461.364 411.694 461.556 405.957C461.749 400.225 460.481 394.909 459.238 391.735L459.228 391.708L440.346 351.328ZM439.432 353.635L457.566 392.416C458.728 395.393 459.935 400.452 459.752 405.896C459.569 411.334 458.005 417.069 453.725 421.531L382.56 477.904V376.477L439.432 353.635Z",fill:"black"}),(0,r.jsx)("path",{d:"M147.537 338.414L155.169 333.007L200.966 388.427C199.17 389.478 189.652 395.816 165.945 412.757C142.238 429.699 118.352 415.311 109.372 405.999L34.3911 297.863C33.7925 297.863 30.6196 295.249 22.7174 284.796C14.8152 274.343 19.5745 266.592 20.9214 263.304L18.6765 260.916L8.34972 245.597C6.55376 232.981 11.792 226.222 14.6356 224.42C16.0723 221.536 20.6221 221.116 22.7174 221.266C27.0277 213.696 38.5817 212.405 43.8199 212.705C49.567 206.938 57.8883 207.298 61.3305 208.2C60.4325 206.247 57.2896 199.819 51.9017 189.726C46.5138 179.634 49.6568 174.707 51.9017 173.506C55.4936 172.064 59.6842 175.909 61.3305 178.011C68.3647 186.873 84.1392 207.118 90.9638 217.211C97.7885 227.304 97.3993 235.534 96.3517 238.388L93.2088 264.971L147.537 338.414Z",fill:"white"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M56.3893 176.079C57.9881 177.047 59.3779 178.443 60.1561 179.425L60.1598 179.43C67.2354 188.232 83.0712 208.304 89.9092 218.29C96.6441 228.126 96.1569 235.997 95.2255 238.502L95.1887 238.601L91.9743 265.45L147.329 339.348L155.04 333.954L199.884 387.544C196.647 389.582 186.704 396.234 165.511 411.191C153.842 419.426 142.164 420.04 132.275 417.473C122.389 414.907 114.292 409.158 109.861 404.64L34.2555 296.962H33.9054C33.8983 296.958 33.8905 296.953 33.882 296.949C33.7777 296.889 33.6133 296.778 33.3797 296.592C32.915 296.221 32.2422 295.603 31.3238 294.646C29.4899 292.733 26.7289 289.518 22.7675 284.344C18.9287 279.329 18.2084 275.035 18.5568 271.639C18.8441 268.84 19.8455 266.632 20.5988 264.972C20.7
1765 264.58 20.9404 264.219 21.0778 263.887L21.2993 263.353L18.6927 260.616L8.46948 245.639C6.79175 233.538 11.909 227.264 14.4057 225.701L14.6185 225.568L14.7311 225.345C15.2863 224.245 16.4949 223.527 17.9827 223.111C19.4504 222.701 21.0131 222.637 21.984 222.706L22.5504 222.746L22.8321 222.258C24.8349 218.784 28.5662 216.683 32.5655 215.491C36.5529 214.303 40.6658 214.064 43.2111 214.208L43.6149 214.231L43.9009 213.947C49.3573 208.54 57.3315 208.853 60.638 209.707L62.4858 210.185L61.6855 208.467C60.7723 206.506 57.6034 200.107 52.1829 190.08C46.9223 180.348 50.142 176.115 51.7697 175.211C53.1695 174.68 54.7866 175.109 56.3893 176.079ZM57.3307 174.553C55.5286 173.461 53.2522 172.696 51.0519 173.568L51.006 173.587L50.9624 173.61C48.0617 175.143 45.0653 180.702 50.5914 190.925C54.966 199.017 57.8628 204.726 59.2839 207.63C55.1443 207.066 48.1267 207.474 42.9133 212.402C40.1801 212.294 36.0641 212.58 32.0457 213.778C28.005 214.982 23.9321 217.147 21.5514 220.896C20.4371 220.872 18.9396 220.984 17.4927 221.389C15.8784 221.84 14.1599 222.704 13.2357 224.322C10.0114 226.497 4.9025 233.55 6.71086 246.095L6.74028 246.299L17.2792 261.738L19.1785 263.733C19.1187 263.866 19.0549 264.006 18.9878 264.153C18.235 265.804 17.081 268.336 16.7606 271.458C16.3643 275.32 17.2238 280.062 21.3291 285.425C25.3118 290.628 28.1176 293.899 30.015 295.878C30.9622 296.866 31.6962 297.546 32.2471 297.985C32.5213 298.204 32.7669 298.377 32.9832 298.5C33.0477 298.537 33.1284 298.581 33.2212 298.621L108.463 405.78L108.514 405.832C113.121 410.551 121.521 416.531 131.818 419.204C142.151 421.886 154.395 421.232 166.558 412.649C190.404 395.82 199.934 389.556 201.696 388.538L202.616 388.006L155.363 331.538L147.728 336.879L93.8517 264.955L96.9569 239.018C98.1001 235.779 98.3153 227.38 91.4032 217.286C84.52 207.233 68.6412 187.109 61.5733 178.316C60.696 177.211 59.1531 175.656 57.3307 174.553Z",fill:"black"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M274.677 218.108C276.54 214.994 277.849 211.946 278.489 210.069L276.932 209.477C276.332 211.238 275.076 214.171 273.278 217.175C271.476 220.187 269.167 223.209 266.479 225.211L266.421 225.255L266.371 225.307C265.88 225.826 265.196 226.631 265.305 227.81C265.408 228.917 266.186 230.058 267.659 231.389L270.554 234.009C270.901 234.322 271.423 234.28 271.721 233.914C272.018 233.548 271.978 232.997 271.631 232.683L268.735 230.064C267.312 228.776 266.988 228.025 266.952 227.641C266.924 227.339 267.057 227.062 267.493 226.593C270.404 224.406 272.831 221.194 274.677 218.108Z",fill:"black"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M269.26 249.105C268.758 249.25 268.479 249.742 268.637 250.203C269.885 253.824 273.061 256.413 276.375 258.168C279.344 259.74 282.527 260.701 284.827 261.159V269.18L269.946 278.982L271.06 280.403L286.737 270.078V259.708L285.95 259.579C283.814 259.229 280.436 258.297 277.331 256.653C274.215 255.002 271.503 252.705 270.459 249.676C270.3 249.215 269.763 248.959 269.26 249.105Z",fill:"black"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M281.795 210.287C281.737 210.793 282.067 211.254 282.534 211.318C284.14 211.536 286.638 212.263 288.836 213.718C291.029 215.169 292.836 217.28 293.292 220.251C293.37 220.755 293.808 221.095 294.272 221.011C294.736 220.927 295.049 220.451 294.972 219.948C294.407 216.269 292.171 213.761 289.723 212.141C287.282 210.525 284.544 209.729 282.745 209.485C282.279 209.421 281.853 209.78 281.795 210.287Z",fill:"black"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M280.018 239.629C279.771 239.185 279.229 239.035 278.807 239.294C274.931 241.668 270.987 240.277 269.544 239.313L268.593 240.882C270.396 242.087 275.072 243.735 279.699 240.901C280.122 240.642 280.264 240.072 280.018 239.629Z",fill:"black"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M461.63 239.169C461.39 239.154 461.155 239.237 460.976 239.398L408.794 286.303L409.995 287.646L461.5 241.349L508.889 295.461L443.439 353.047C443.066 353.376 443.029 353.946 443.356 354.32C443.684 354.694 444.253 354.732 444.626 354.403L510.753 296.222C510.932 296.064 511.041 295.841 511.057 295.603C511.072 295.364 510.993 295.129 510.835 294.949L462.252 239.474C462.094 239.293 461.87 239.183 461.63 239.169Z",fill:"black"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M403.224 211.242C402.794 211.006 402.248 211.143 401.992 211.552L362.742 274.117C362.481 274.533 362.619 275.075 363.05 275.327C363.481 275.579 364.043 275.446 364.304 275.03L403.093 213.198L455.263 241.854C455.701 242.094 456.259 241.946 456.508 241.523C456.757 241.1 456.604 240.562 456.166 240.322L403.224 211.242Z",fill:"black"}),(0,r.jsx)("path",{d:"M486.638 305.371L438.352 348.03L410.444 296.295L449.87 262.259C457.667 270.609 467.59 266.646 471.576 263.621L487.967 282.227C477.335 292.755 482.651 302.043 486.638 305.371Z",fill:"#8CB6FF"}),(0,r.jsx)("path",{d:"M410.444 319.989C410.444 329.099 417.829 336.483 426.938 336.483C436.048 336.483 443.432 329.099 443.432 319.989C443.432 310.88 436.048 303.495 426.938 303.495C417.829 303.495 410.444 310.88 410.444 319.989Z",fill:"#FFFFFD"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M426.938 334.7C418.813 334.7 412.227 328.114 412.227 319.989C412.227 311.864 418.813 305.278 426.938 305.278C435.063 305.278 441.649 311.864 441.649 319.989C441.649 328.114 435.063 334.7 426.938 334.7ZM426.938 336.483C417.829 336.483 410.444 329.099 410.444 319.989C410.444 310.88 417.829 303.495 426.938 303.495C436.048 303.495 443.432 310.88 443.432 319.989C443.432 329.099 436.048 336.483 426.938 336.483Z",fill:"black"}),(0,r.jsx)("path",{d:"M387.352 286.176C387.352 293.008 392.89 298.547 399.722 298.547C406.554 298.547 412.093 293.008 412.093 286.176C412.093 279.344 406.554 273.805 399.722 273.805C392.89 273.805 387.352 279.344 387.352 286.176Z",fill:"#FFFFFD"}),(0,r.jsx)("path",{d:"M279.653 223.562C278.984 225.146 279.583 226.913 280.991 227.508C282.4 228.103 284.084 227.3 284.753 225.716C285.422 224.131 284.823 222.364 283.415 221.77C282.006 221.175 28
10.322 221.977 279.653 223.562Z",fill:"black"}),(0,r.jsx)("path",{d:"M70.7564 114.815C88.4028 142.587 125.442 150.656 153.487 132.836C181.531 115.017 189.96 78.0576 172.314 50.2856C154.667 22.5136 117.628 14.4455 89.5834 32.2649C61.5392 50.0843 53.11 87.0434 70.7564 114.815Z",fill:"white"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M152.524 131.321C125.303 148.618 89.3773 140.774 72.2714 113.853C55.1655 86.9313 63.3245 51.0765 90.5461 33.7798C117.768 16.4832 153.693 24.3269 170.799 51.2483C187.905 78.1696 179.746 114.025 152.524 131.321ZM153.487 132.836C125.442 150.656 88.4028 142.587 70.7564 114.815C53.11 87.0434 61.5392 50.0843 89.5834 32.2649C117.628 14.4455 154.667 22.5136 172.314 50.2856C189.96 78.0576 181.531 115.017 153.487 132.836Z",fill:"black"}),(0,r.jsx)("path",{d:"M76.6731 111.056C92.2434 135.561 124.951 142.664 149.728 126.92C174.505 111.177 181.969 78.5494 166.398 54.0447C150.828 29.54 118.12 22.4376 93.3431 38.1809C68.5662 53.9242 61.1027 86.5517 76.6731 111.056Z",fill:"#E6EFFF"}),(0,r.jsx)("path",{d:"M82.5883 107.297C96.0826 128.535 124.459 134.672 145.969 121.004C167.478 107.337 173.976 79.0412 160.482 57.8038C146.987 36.5664 118.611 30.4296 97.1014 44.0969C75.5917 57.7642 69.094 86.0601 82.5883 107.297Z",fill:"white"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M97.5829 44.8543C118.683 31.4471 146.502 37.4751 159.724 58.285C172.947 79.095 166.588 106.84 145.487 120.247L145.479 120.252L145.471 120.257C138.178 125.117 118.797 132.302 99.8471 122.108C99.4106 121.874 98.8664 122.037 98.6316 122.474C98.3968 122.91 98.5603 123.454 98.9968 123.689C118.731 134.305 138.835 126.832 146.458 121.757C168.371 107.827 175.004 78.9845 161.239 57.3224C147.473 35.6576 118.539 29.412 96.6202 43.3394C93.1618 45.5368 87.9785 49.8908 83.5562 55.8635C79.1317 61.8392 75.4292 69.4903 75.0367 78.2682C75.0146 78.7634 75.3981 79.1828 75.8932 79.2049C76.3884 79.227 76.8077 78.8436 76.8299 78.3484C77.2017 70.0318 80.7146 62.7177 84.9987 56.9316C89.2851 51.1425 94.3037 46.938 97.5829 44.8543Z",fill:"black"}),(0,r.jsx)("path",{d:"M104.615 60.0833L109.182 67.2709L113.074 64.7979L108.507 57.6103L104.615 60.0833ZM130.37 99.5697L134.535 106.124L138.427 103.651L134.262 97.0966L130.37 99.5697ZM122.548 93.3218C121.96 92.396 121.634 91.4972 121.57 90.6256C121.49 89.7645 121.673 88.8391 122.118 87.8494C122.546 86.8703 123.251 85.7383 124.233 84.4535C125.879 82.2674 127.236 80.1964 128.305 78.2405C129.347 76.2789 129.892 74.3253 129.939 72.3796C129.977 70.4177 129.325 68.3809 127.983 66.2693C126.703 64.2551 125.103 62.8208 123.183 61.9662C121.262 61.1116 119.184 60.8359 116.949 61.1391C114.686 61.4367 112.399 62.32 110.087 63.789C108.324 64.9093 106.892 66.1837 105.792 67.6124C104.682 69.0248 103.925 70.5541 103.524 72.2002C103.112 73.83 103.08 75.5259 103.429 77.2878C103.778 79.0497 104.531 80.8403 105.687 82.6595L112.847 78.1098C112.228 77.1352 111.789 76.2056 111.531 75.321C111.272 74.4364 111.191 73.6103 111.287 72.8425C111.366 72.0853 111.611 71.4053 112.022 70.8023C112.422 70.1831 112.963 69.6568 113.645 69.2235C114.66 68.5788 115.615 68.2453 116.511 68.223C117.408 68.2006 118.217 68.4273 118.94 68.9031C119.635 69.3731 120.252 70.0305 120.788 70.8751C121.315 71.7035 121.624 72.5215 121.717 73.3289C121.793 74.147 121.614 75.059 121.179 76.0649C120.734 77.0546 120.016 78.2402 119.026 79.6217C117.38 81.8077 116.041 83.8897 115.01 85.8675C113.978 87.8453 113.439 89.8071 113.391 91.7528C113.343 93.6985 113.99 95.7271 115.332 97.8387C116.663 99.9341 118.297 101.404 120.235 102.248C122.161 103.076 124.271 103.309 126.563 102.947C128.844 102.569 131.166 101.63 133.527 100.129C135.058 99.1565 136.456 97.9945 137.722 96.643C138.977 95.2752 139.937 93.7535 140.6 92.0781C141.263 90.4026 141.491 88.5934 141.283 86.6502C141.066 84.6908 140.265 82.6228 138.882 80.4463L131.697 85.
10119C132.45 86.1976 132.922 87.2888 133.112 88.2856C133.291 89.266 133.273 90.1556 133.056 90.9543C132.813 91.7473 132.421 92.4526 131.879 93.0703C131.338 93.6879 130.726 94.2134 130.044 94.6467C128.98 95.3231 127.988 95.6912 127.068 95.7509C126.132 95.8212 125.283 95.6424 124.521 95.2146C123.732 94.7812 123.074 94.1502 122.548 93.3218Z",fill:"#0660FF"}),(0,r.jsx)("path",{d:"M6.31985 133.443C2.82944 150.663 14.0961 167.479 31.4847 171.004C48.8732 174.529 65.799 163.426 69.2894 146.207C72.7798 128.987 61.5132 112.17 44.1246 108.646C26.736 105.121 9.81027 116.223 6.31985 133.443Z",fill:"white"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M31.8852 169.028C15.5698 165.721 5.03045 149.954 8.29596 133.843C11.5615 117.733 27.4086 107.315 43.724 110.622C60.0394 113.929 70.5788 129.696 67.3133 145.806C64.0478 161.916 48.2006 172.335 31.8852 169.028ZM31.4847 171.004C14.0961 167.479 2.82944 150.663 6.31985 133.443C9.81027 116.223 26.736 105.121 44.1246 108.646C61.5132 112.17 72.7798 128.987 69.2894 146.207C65.799 163.426 48.8732 174.529 31.4847 171.004Z",fill:"black"}),(0,r.jsx)("path",{d:"M9.98753 134.187C6.90776 149.381 16.865 164.222 32.2278 167.336C47.5905 170.45 62.5411 160.657 65.6208 145.463C68.7006 130.27 58.7433 115.428 43.3806 112.314C28.0179 109.2 13.0673 118.993 9.98753 134.187Z",fill:"#E6EFFF"}),(0,r.jsx)("path",{d:"M13.6559 134.93C10.9868 148.098 19.6347 160.964 32.9716 163.668C46.3084 166.371 59.2838 157.888 61.953 144.72C64.6221 131.552 55.9742 118.685 42.6374 115.982C29.3005 113.279 16.3251 121.762 13.6559 134.93Z",fill:"white"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M42.4375 116.97C55.2406 119.565 63.5214 131.909 60.9653 144.52C58.4092 157.13 45.9753 165.275 33.1722 162.68L33.1615 162.678L33.1507 162.676C28.6584 161.866 18.756 157.543 15.3183 146.857C15.1478 146.327 14.5799 146.035 14.0499 146.206C13.5198 146.376 13.2284 146.944 13.3989 147.474C17.1428 159.112 27.8543 163.766 32.7823 164.658C46.6492 167.463 60.16 158.642 62.9414 144.92C65.7236 131.195 56.7087 117.806 42.838 114.994C40.6324 114.547 36.9604 114.302 32.9812 114.974C28.9979 115.647 24.6316 117.254 21.1323 120.58C20.7288 120.964 20.7126 121.602 21.0963 122.006C21.4799 122.409 22.118 122.425 22.5215 122.042C25.6447 119.073 29.5951 117.591 33.3172 116.962C37.0433 116.333 40.4655 116.57 42.4375 116.97Z",fill:"black"}),(0,r.jsx)("path",{d:"M39.6108 124.916L38.7075 129.372L41.1207 129.861L42.0241 125.405L39.6108 124.916ZM34.9042 149.645L34.0805 153.709L36.4937 154.198L37.3174 150.134L34.9042 149.645ZM34.2069 144.345C34.3233 143.771 34.5306 143.304 34.8288 142.945C35.1167 142.584 35.5295 142.296 36.0672 142.08C36.5946 141.862 37.2849 141.687 38.1382 141.556C39.581 141.324 40.87 141.03 42.0053 140.673C43.1324 140.303 44.0653 139.753 44.8039 139.022C45.5447 138.281 46.0478 137.256 46.3131 135.947C46.5663 134.698 46.4815 133.554 46.0588 132.514C45.6361 131.474 44.9385 130.599 43.966 129.888C42.9852 129.165 41.778 128.658 40.3445 128.367C39.2514 128.146 38.2286 128.106 37.2764 128.249C36.3262 128.381 35.4691 128.69 34.7052 129.174C33.9433 129.649 33.3034 130.29 32.7854 131.097C32.2675 131.904 31.8942 132.872 31.6656 134L36.1053 134.9C36.2278 134.296 36.403 133.775 36.631 133.339C36.859 132.903 37.1335 132.555 37.4547 132.295C37.7655 132.033 38.1115 131.862 38.4927 131.782C38.8761 131.692 39.2791 131.69 39.702 131.776C40.331 131.903 40.8222 132.129 41.1754 132.452C41.5286 132.775 41.7562 133.162 41.8581 133.612C41.9518 134.051 41.9455 134.532 41.8394 135.056C41.7353 135.569 41.5516 135.999 41.2884 136.344C41.0149 136.687 40.6083 136.971 40.0685 137.197C39.5309 137.413 38.8158 137.604 37.9234 137.769C36.4806 138.001 35.1947 138.307 34.0656 138.686C32.9366 139.065 32.0027 139.62 31.264 140.351C30.5253 141.082 30.0232 142.102 29.7578 143.412C29.4945 144.711 29.5793 145.881 30.0123 146.923C30.4474 147.955 31.1728 148.826 32.1886 149.535C33.2065 150.234 34.4476 150.732 35.9121 151.029C36.8609 151.221 37.829 151.292 38.8165 151.24C39.806 151.179 40.7385 150.948 41.6139 150.549C42.4894 150.15 43.2469 149.538 43.8864 148.713C44.528 147.879 44.9856 146.787 45.2591 145.437L40.8039 144.534C40.6549 145.269 40.4324 145.864 40.1364 146.318C39.8425 146.761 39.506 147.097 39.1271 147.324C38.74 147.539 38.3279 147.665 37.8908 147.703C37.4538 147.74 37.0239 147.716 36.6011 147.63C35.941 147.496 35.4231 147.27 35.0472 146.953C34.661 146.634 34.4005 146.251 34.2655 145.804C34.1224 145.345 34.1028 144.859 34.2069 144.345Z",fill:"#0660FF"}),(0,r.jsx)("path",{d:"M119.361 163.239C101.916 181.428 102.665 210.453 121.032 228.069C139.4 245.684 168.431 245.219 185.875 227.029C203.319 208.84 202.571 179.815 184.203 162.2C165.836 144.585 136.805 145.05 119.361 163.239Z",fill:"white"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M122.275 226.773C104.611 209.833 103.909 181.943 120.656 164.482C137.403 147.02 165.297 146.555 182.961 163.496C200.625 180.436 201.326 208.325 184.579 225.787C167.833 243.249 139.939 243.714 122.275 226.773ZM121.032 228.069C102.665 210.453 101.916 181.428 119.361 163.239C136.805 145.05 165.836 144.585 184.203 162.2C202.571 179.815 203.319 208.84 185.875 227.029C168.431 245.219 139.4 245.684 121.032 228.069Z",fill:"black"}),(0,r.jsx)("path",{d:"M123.236 166.956C107.844 183.005 108.521 208.632 124.749 224.195C140.976 239.758 166.609 239.363 182.001 223.314C197.393 207.265 196.716 181.638 180.488 166.075C164.261 150.512 138.628 150.907 123.236 166.956Z",fill:"#E6EFFF"}),(0,r.jsx)("path",{d:"M127.11 170.671C113.771 184.581 114.377 206.809 128.465 220.32C142.552 233.83 164.787 233.507 178.126 219.598C191.466 205.689 190.86 183.46 176.772 169.95C162.684 156.439 140.45 156.762 127.11 170.671Z",fill:"white"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M176.15 170.598C189.888 183.773 190.467 205.433 177.478 218.977C164.489 232.521 142.823 232.847 129.085 219.672L129.078 219.665L129.071 219.659C124.161 215.15 115.337 202.116 119.44 186.263C119.565 185.783 119.276 185.293 118.797 185.169C118.317 185.045 117.827 185.333 117.703 185.813C113.376 202.528 122.651 216.196 127.85 220.974C142.288 234.814 165.086 234.492 178.774 220.219C192.464 205.945 191.83 183.148 177.393 169.302C175.11 167.113 170.9
104 164.036 165.631 161.824C160.353 159.611 153.943 158.239 147.288 159.557C146.802 159.653 146.486 160.126 146.582 160.612C146.679 161.098 147.151 161.414 147.637 161.318C153.839 160.089 159.877 161.357 164.936 163.479C170 165.602 174.021 168.555 176.15 170.598Z",fill:"black"}),(0,r.jsx)("path",{d:"M166.249 178.453L161.734 183.16L164.283 185.605L168.798 180.897L166.249 178.453ZM141.568 204.809L137.451 209.102L140 211.546L144.117 207.254L141.568 204.809ZM144.79 197.851C145.372 197.245 145.981 196.838 146.618 196.632C147.244 196.416 147.965 196.383 148.783 196.534C149.589 196.674 150.56 196.992 151.694 197.488C153.621 198.314 155.409 198.947 157.059 199.385C158.708 199.803 160.26 199.852 161.717 199.533C163.183 199.203 164.579 198.347 165.906 196.964C167.171 195.645 167.946 194.193 168.232 192.609C168.518 191.024 168.344 189.428 167.711 187.82C167.077 186.191 166.003 184.651 164.489 183.198C163.334 182.091 162.125 181.258 160.862 180.7C159.609 180.132 158.333 179.848 157.036 179.849C155.748 179.84 154.481 180.125 153.234 180.706C151.987 181.287 150.792 182.173 149.649 183.364L154.339 187.862C154.951 187.224 155.562 186.728 156.173 186.374C156.784 186.021 157.384 185.81 157.973 185.741C158.55 185.662 159.101 185.72 159.624 185.916C160.158 186.101 160.648 186.408 161.095 186.836C161.759 187.473 162.182 188.123 162.361 188.786C162.541 189.449 162.52 190.092 162.298 190.716C162.075 191.32 161.698 191.898 161.168 192.451C160.648 192.994 160.096 193.373 159.512 193.589C158.917 193.795 158.206 193.828 157.378 193.688C156.561 193.537 155.548 193.219 154.34 192.734C152.414 191.908 150.621 191.291 148.962 190.885C147.302 190.478 145.745 190.434 144.288 190.753C142.832 191.072 141.441 191.923 140.115 193.306C138.798 194.678 138.003 196.162 137.728 197.757C137.464 199.341 137.675 200.953 138.361 202.592C139.058 204.22 140.18 205.776 141.727 207.259C142.729 208.221 143.849 209.049 145.085 209.744C146.331 210.429 147.638 210.865 149.005 211.053C150.372 211.241 151.76 211.081 153.168 210.573C154.586 210.054 155.978 209.082 157.345 207.656L152.639 203.143C151.895 203.919 151.169 204.469 150.462 204.792C149.765 205.104 149.1 205.252 148.466 205.237C147.832 205.201 147.236 205.037 146.678 204.747C146.12 204.457 145.617 204.097 145.171 203.669C144.473 203 144.019 202.33 143.807 201.657C143.584 200.973 143.562 200.309 143.742 199.664C143.92 198.998 144.27 198.394 144.79 197.851Z",fill:"#0660FF"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M417.937 229.271L417.545 230.199C416.716 232.159 414.723 234.815 411.473 236.311C408.262 237.788 403.707 238.187 397.614 235.459C397.2 235.274 396.709 235.421 396.472 235.802L372.638 274.116C372.38 274.531 372.514 275.073 372.939 275.326C373.363 275.579 373.916 275.447 374.175 275.032L397.598 237.378C403.75 239.943 408.62 239.57 412.238 237.905C415.486 236.411 417.635 233.915 418.774 231.777L440.206 243.886C438.884 245.211 438.296 246.864 438.112 248.424C437.887 250.327 438.251 252.159 438.664 253.291C438.831 253.749 439.346 253.988 439.814 253.824C440.281 253.661 440.525 253.157 440.358 252.699C440.021 251.776 439.711 250.217 439.899 248.626C440.084 247.053 440.744 245.518 442.275 244.468L443.432 243.675L417.937 229.271Z",fill:"black"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M400.114 273.805C396.306 273.805 392.958 275.117 391.014 276.34C390.622 276.587 390.533 277.065 390.815 277.408C391.098 277.75 391.645 277.828 392.037 277.581C393.74 276.51 396.738 275.335 400.114 275.335C403.443 275.335 407.202 276.475 410.534 280.116C410.836 280.446 411.387 280.499 411.765 280.235C412.142 279.971 412.203 279.49 411.901 279.16C408.232 275.152 403.968 273.805 400.114 273.805Z",fill:"black"}),(0,r.jsx)("path",{d:"M229.726 366.606V481.633H382.913V375.628L440.133 352.172L415.804 304.356C408.595 284.87 388.17 280.299 378.858 280.449H344.166C341.283 297.049 319.536 300.898 309.023 300.748C287.397 303.274 274.181 288.268 270.276 280.449H241.891C222.788 279.727 205.997 287.666 199.99 291.726L153.133 332.775L199.99 388.709L229.726 366.606Z",fill:"#0660FF"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M471.817 262.259L471.151 262.964C469.628 264.578 466.713 266.552 463.004 267.126C459.335 267.694 454.816 266.904 449.993 262.891C449.662 262.615 449.185 262.616 448.855 262.892L420.665 286.463C420.284 286.782 420.23 287.353 420.545 287.739C420.86 288.126 421.424 288.18 421.805 287.862L449.434 264.759C454.428 268.687 459.239 269.543 463.275 268.918C466.931 268.352 469.897 266.581 471.753 264.894L487.099 282.121C481.736 287.317 480.226 292.383 480.708 296.704C481.145 300.62 483.203 303.779 485.209 305.737L442.575 343.139C442.201 343.467 442.16 344.039 442.484 344.418C442.808 344.796 443.373 344.837 443.746 344.509L487.15 306.433C487.349 306.258 487.462 306.003 487.459 305.736C487.455 305.468 487.336 305.216 487.132 305.047C485.177 303.42 482.916 300.355 482.486 296.5C482.063 292.704 483.394 287.953 488.954 282.848L489.616 282.24L471.817 262.259Z",fill:"black"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M58.9399 207.472L72.4352 220.508C72.7925 220.853 73.362 220.843 73.7074 220.486C74.0527 220.129 74.0431 219.56 73.6858 219.215L60.1905 206.179L58.9399 207.472ZM42.7346 213.305L55.7801 226.341C56.1315 226.692 56.7011 226.692 57.0525 226.341C57.4038 225.99 57.4038 225.421 57.0525 225.07L44.007 212.033L42.7346 213.305ZM22.0307 221.835L34.6264 234.871C34.9715 235.228 35.5411 235.238 35.8985 234.893C36.256 234.549 36.266 233.979 35.9209 233.622L23.3252 220.586L22.0307 221.835ZM19.8395 245.705C19.464 246.03 19.4235 246.598 19.7489 246.973L25.1813 253.237L19.6455 263.024L21.212 263.909L27.3722 253.017L21.1086 245.795C20.7832 245.42 20.215 245.379 19.8395 245.705Z",fill:"black"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M141.381 344.556L148.185 339.589L147.112 338.133L140.308 343.099C139.904 343.394 139.817 343.959 
1140.113 344.362C140.409 344.764 140.977 344.851 141.381 344.556Z",fill:"black"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M336.794 249.243C336.369 248.946 335.766 249.026 335.447 249.422C334.524 250.567 332.838 251.188 330.893 251.434C328.977 251.676 327.014 251.528 325.813 251.318L324.673 251.119V252.198C324.673 262.759 327.856 269.697 331.944 274.065C336.018 278.418 340.942 280.161 344.319 280.403L344.467 278.617C341.592 278.411 337.136 276.886 333.395 272.889C329.795 269.043 326.809 262.855 326.608 253.236C327.897 253.371 329.529 253.414 331.152 253.209C333.278 252.94 335.6 252.217 336.986 250.497C337.305 250.101 337.219 249.54 336.794 249.243Z",fill:"black"}),(0,r.jsx)("path",{d:"M395.641 117.185C397.191 114.312 399.601 112.33 402.416 111.186L385.303 101.27C379.749 98.0601 372.658 99.9567 369.462 105.5L369.462 105.501L359.653 122.471C362.988 121.83 366.42 122.403 369.397 124.127L385.229 133.296C385.888 133.595 386.301 133.363 386.499 133.014L386.499 133.014L386.506 133.002L395.641 117.185ZM392.4 136.398L392.375 136.441L392.348 136.483C391.308 138.035 389.7 139.461 387.71 139.992C385.734 140.52 383.63 140.084 381.956 139.259L381.912 139.236L381.868 139.211L365.988 130.014C365.987 130.013 365.986 130.013 365.984 130.012C364.307 129.054 362.274 128.784 360.414 129.281L354.878 130.76L348.236 142.259C345.037 147.798 346.934 154.9 352.47 158.106L363.96 164.761L369.497 163.282C371.357 162.785 372.984 161.538 373.954 159.857L383.137 143.959C385.209 140.372 390.084 139.069 393.675 141.163C393.676 141.164 393.677 141.164 393.678 141.165L409.467 150.296C411.329 151.272 413.244 151.543 415.065 151.057L419.644 149.834L426.253 138.396L426.254 138.395C429.46 132.854 427.563 125.753 422.021 122.549L422.019 122.548L410.583 115.915L406.004 117.138C404.183 117.624 402.659 118.814 401.532 120.588L392.4 136.398ZM390.257 147.046C389.86 146.816 389.265 146.975 389.036 147.372L379.853 163.27C378.135 166.245 375.451 168.451 372.247 169.56L389.187 179.371C394.69 182.455 401.793 180.558 405.025 175.14L414.931 158.01C411.882 158.396 408.793 157.781 406.082 156.211L390.257 147.046Z",stroke:"#8CB6FF",strokeWidth:"3"}),(0,r.jsx)("path",{d:"M438.115 200.571C437.694 200.208 437.02 200.26 436.658 200.682L431.502 206.696C430.551 207.805 429.224 208.476 427.774 208.587L426.679 208.67L434.256 215.181C436.616 217.155 440.183 216.883 442.217 214.574L448.746 206.966L448.072 207.017C446.622 207.128 445.209 206.666 444.101 205.714L438.115 200.571ZM436.251 195.339C436.745 195.703 437.34 195.665 437.708 195.228L442.844 189.237C443.79 188.063 445.122 187.457 446.572 187.347L447.247 187.296L439.646 180.761C437.274 178.727 433.707 178.999 431.678 181.369L425.169 188.957L426.271 188.873C427.721 188.762 429.134 189.224 430.242 190.176L436.251 195.339ZM446.697 188.98C445.696 189.056 444.807 189.533 444.092 190.303L438.956 196.294C438.469 196.791 437.812 197.17 437.124 197.222C436.442 197.274 435.736 197 435.179 196.582L429.17 191.419C428.406 190.769 427.397 190.437 426.396 190.513L423.663 190.722L419.759 195.275C417.73 197.642 418.002 201.213 420.366 203.245L424.916 207.155L427.649 206.946C428.649 206.87 429.597 206.389 430.253 205.623L435.41 199.609C436.34 198.523 438.102 198.389 439.187 199.328L445.172 204.464C445.995 205.117 446.946 205.453 447.947 205.377L450.254 205.201L454.139 200.67C456.172 198.303 455.899 194.732 453.532 192.701L449.004 188.804L446.697 188.98Z",fill:"#B2CEFF"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M333.1 480.901H230.867V365.874L201.13 387.977L154.273 332.043L201.13 290.994C206.521 287.351 220.595 280.584 237.232 279.755L333.1 480.901Z",fill:"#0557E8"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M242.404 280.449C223.231 279.722 206.402 287.709 200.331 291.829L200.285 291.861L153.133 333.342L200.688 390.35L223.481 373.336L229.417 368.705V417.416C229.417 417.912 229.817 418.314 230.31 418.314C230.804 418.314 231.204 417.912 231.204 417.416V368.461L250.06 353.911C250.446 353.613 250.524 353.058 250.235 352.665C249.945 352.271 249.395 352.183 248.999 352.466L228.884 366.848L222.408 371.9L222.393 371.911L200.975 387.899L155.626 333.536L201.377 293.287C207.257 289.314 223.681 281.537 242.336 282.244L242.404 280.449ZM397.643 285.111C390.393 281.497 382.88 280.372 378.138 280.449L378.167 282.245C382.655 282.172 389.881 283.247 396.85 286.721C403.801 290.186 410.462 296.019 413.94 305.46L413.958 305.509L437.661 352.288L381.279 375.498V391.37C381.279 391.866 381.679 392.268 382.172 392.268C382.665 392.268 383.065 391.866 383.065 391.37V376.704L440.133 353.211L415.597 304.786C411.923 294.856 404.898 288.728 397.643 285.111ZM360.956 280.449H343.009L342.88 281.193C341.523 289.035 335.733 293.934 328.828 296.877C321.921 299.822 314.056 300.731 308.934 300.657L308.875 300.656L308.818 300.663C287.887 303.118 27
15.081 288.532 271.308 280.945L271.061 280.449H263.474V282.245H269.964C274.224 290.338 287.5 304.943 308.967 302.454C314.268 302.522 322.36 301.586 329.525 298.531C336.512 295.553 342.766 290.488 344.498 282.245H360.956V280.449ZM382.172 423.254C381.679 423.254 381.279 423.656 381.279 424.152V481.633H383.065V424.152C383.065 423.656 382.665 423.254 382.172 423.254ZM230.31 448.626C229.817 448.626 229.417 449.028 229.417 449.524V481.633H231.204V449.524C231.204 449.028 230.804 448.626 230.31 448.626Z",fill:"black"})]})}var th=o(55602);let tm=p.ZP.div.withConfig({componentId:"sc-2ab96178-0"})(["display:flex;min-width:313px;width:80vw;height:468px;padding:40px 20px;flex-direction:column;align-items:center;justify-content:center;gap:20px;flex-shrink:0;svg{display:none;}@media (min-width:1000px){flex-direction:row;justify-content:space-between;width:900px;height:530px;svg{display:inline;margin-top:50px;margin-right:-20px;max-height:480px;}}"]),tg=p.ZP.div.withConfig({componentId:"sc-2ab96178-1"})(["display:flex;flex-direction:column;align-items:flex-start;gap:20px;min-width:275px;button{width:275px;font-size:14px;font-weight:400;height:40px;}@media (min-width:1000px){width:345px;padding-left:55px;button{width:313px;}}"]),tx=p.ZP.div.withConfig({componentId:"sc-2ab96178-2"})(["display:flex;min-height:24px;width:155px;padding:0px 8px;align-items:center;gap:6px;border-radius:24px;background:#fbe8ea;color:#e8052e;font-size:14px;font-style:normal;font-weight:500;"]),tf=p.ZP.div.withConfig({componentId:"sc-2ab96178-3"})(["min-width:275px;color:#4c5a72;font-size:24px;font-style:normal;font-weight:500;@media (min-width:1000px){width:313px;}"]),tC=p.ZP.div.withConfig({componentId:"sc-2ab96178-4"})(["color:#4c5a72;font-size:16px;font-style:normal;font-weight:400;line-height:24px;@media (min-width:1000px){width:345px;}"]);var tv=o(91065);function tb(e){let{isOpen:t,onClose:o}=e,{customerData:i}=(0,tl.O)(),n=encodeURIComponent("\nOl\xe1, minha empresa \xe9 ".concat(null==i?void 0:i.razao_social,",\nCNPJ ").concat(null==i?void 0:i.documento,"\ne gostaria de negociar a d\xedvida da parcela em atraso.\n  ").trim()),a="https://wa.me/".concat(tv.PG,"?text=").concat(n);return(0,r.jsx)(tt.u,{isOpen:t,onClose:o,width:"900px",height:"531px",children:(0,r.jsxs)(tm,{children:[(0,r.jsxs)(tg,{children:[(0,r.jsx)(tx,{children:"Pagamento em atraso"}),(0,r.jsx)(tf,{children:"Realize o pagamento dos seus d\xe9bitos atrav\xe9s do nosso parceiro de cobran\xe7a"}),(0,r.jsx)(tC,{children:"Para realizar o pagamento desta parcela, fale com nosso parceiro de cobran\xe7a, renegocie suas parcelas em atraso e gere os boletos de pagamento."}),(0,r.jsx)(th.z,{width:"full",onClick:()=>{window.open(a,"_blank")},children:"Ver d\xe9bitos em aberto"})]}),(0,r.jsx)(tu,{})]})})}var tw=o(64318),tj=o(41446),ty=o(22844);let tI=p.ZP.div.withConfig({componentId:"sc-bf187fe0-0"})(["display:flex;flex-direction:column;gap:1.75rem;padding-inline:1.5rem;padding:2rem;"]),tL=p.ZP.div.withConfig({componentId:"sc-bf187fe0-1"})(["",""],e=>{let{theme:t}=e;return(0,p.iv)(["display:flex;gap:0.625rem;align-items:center;color:",";> p{color:",";}"],t.hostCompany.cor,t.colors.colorText.darkGrey)}),tk=p.ZP.div.withConfig({componentId:"sc-bf187fe0-2"})(["display:grid;grid-template-columns:repeat(2,1fr);gap:2.5rem;@media (max-width:600px){grid-template-columns:1fr;}"]),tZ=p.ZP.section.withConfig({componentId:"sc-bf187fe0-3"})(["",""],e=>{let{theme:t}=e;return(0,p.iv)(["display:flex;flex-direction:column;gap:1.25rem;h2{font-size:",";color:",";font-family:",";}p,span{color:",";}"],t.fonts.size.xxl,t.colors.colorText.grey,t.fonts.family.text,t.colors.colorText.darkGrey)}),tP=p.ZP.section.withConfig({componentId:"sc-bf187fe0-4"})(["",""],e=>{let{theme:t}=e;return(0,p.iv)(["display:flex;flex-direction:column;gap:1.25rem;p{color:",";}"],t.colors.colorText.darkGrey)}),tR=p.ZP.div.withConfig({componentId:"sc-bf187fe0-5"})(["",""],e=>{let{theme:t}=e;return(0,p.iv)(["display:flex;align-items:flex-start;gap:0.625rem;p{color:",";font-family:",";}img{height:1.2rem;width:1.1rem;}@media (max-width:500px){flex:1;}"],t.colors.darkGray[350],t.fonts.family.text)}),tz=p.ZP.div.withConfig({componentId:"sc-bf187fe0-6"})(["",""],e=>{let{theme:t}=e;return(0,p.iv)(["background:",";min-height:1.5rem;min-width:1.5rem;border-radius:50%;display:flex;align-items:center;justify-content:center;color:",";font-weight:",";"],t.hostCompany.cor,t.colors.white,t.fonts.weight.bold)}),tE=p.ZP.div.withConfig({componentId:"sc-bf187fe0-7"})(["",""],e=>{let{theme:t}=e;return(0,p.iv)(["display:flex;align-items:flex-end;
1gap:0.5rem;margin-top:0.5rem;margin-left:-2rem;> svg{color:",";}> button{padding-inline:1.125rem;padding-block:0.375rem;pointer-events:none;font-weight:",";gap:0.5rem;}"],t.hostCompany.cor,t.fonts.weight.bold)}),tS=[{step:1,instruction:"Encontre e selecione a(s) parcela(s) que deseja reportar"},{step:2,instruction:(0,r.jsxs)("div",{children:["Clique no bot\xe3o ou no \xedcone de reportar problemas"," ",(0,r.jsxs)(tE,{children:[(0,r.jsxs)(F.z,{variant:"outline",size:"sm",children:[(0,r.jsx)(tw.Uh1,{size:16}),"Reportar problema"]}),"ou",(0,r.jsx)(tw.Uh1,{size:25})]})]})},{step:3,instruction:"Pronto, agora \xe9 s\xf3 reportar o ocorrido!"}];function tA(e){let{isOpen:t,onClose:o}=e;return(0,r.jsx)(tt.u,{isOpen:t,onClose:()=>o(!1),width:48.5,closeIcon:!0,children:(0,r.jsxs)(tI,{children:[(0,r.jsxs)(tL,{children:[(0,r.jsx)(tw.Uh1,{size:24}),(0,r.jsx)(tj.x,{children:"Reportar problema com a nota"})]}),(0,r.jsxs)(tk,{children:[(0,r.jsxs)(tZ,{children:[(0,r.jsx)(ty.D,{children:"Caso tenha ocorrido algum problema com a sua nota antecipada, veja como nos reportar sobre o acontecido"}),(0,r.jsxs)(tj.x,{display:"block",children:["Encontre a(s) parcela(s) que precisa relatar algum ocorrido na aba 'Minhas Notas' e clique no bot\xe3o ou \xedcone de"," ",(0,r.jsx)(tj.x,{as:"span",display:"inline",fontWeight:"bold",children:"Reportar problema"}),". Em seguida, escolha um dos motivos listados ou forne\xe7a detalhes sobre outro motivo."]})]}),(0,r.jsxs)(tP,{children:[(0,r.jsx)(tj.x,{fontWeight:"bold",children:"Passo a passo:"}),tS.map(e=>(0,r.jsxs)(tR,{children:[(0,r.jsx)(tz,{children:e.step}),(0,r.jsx)("p",{children:e.instruction})]},e.step))]})]})]})})}var tF=o(16711),t_=o(31724),tN=o(21433);let tM=p.ZP.div.withConfig({componentId:"sc-98c97574-0"})(["",""],e=>{let{w:t,maxW:o,minW:i}=e;return(0,p.iv)(["overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-left:0.75rem;line-height:1.66;"," "," ",""],t&&(0,p.iv)(["width:",";"],t),o&&(0,p.iv)(["width:",";"],o),i&&(0,p.iv)(["width:",";"],i))}),tV=(0,p.ZP)(tM).withConfig({componentId:"sc-3c585f5-0"})(["",""],e=>{let{color:t}=e;return(0,p.iv)(["color:",";"],t)}),tD={[M.Qm.CLIENTE_NEGATIVADO]:"#99221E",[M.Qm.CLIENTE_NEGATIVAR]:"#99221E",[M.Qm.NEGATIVADO]:"#681D9C",[M.Qm.REGRESSADO]:"#9C441D",[M.Qm.SOCIO_NEGATIVADO]:"#184679",[M.Qm.VENCIDO]:"#9C6D1D"};var tT=o(34355);let tO=p.ZP.div.withConfig({componentId:"sc-3c22aef0-0"})(["",""],e=>{let{theme:t}=e;return(0,p.iv)(["span{line-height:normal;font-weight:",";font-family:",",sans-serif;}"],t.fonts.weight.normal,t.fonts.family.text)}),tG={[M.oV.NEGATIVADO]:{background:"#7722B3",color:"#F7EAFF"},[M.oV.REGRESSADO]:{background:"#FF7030",color:"#FFF1EA"},[M.oV.RENEGOCIADO]:{background:"#FFECE3",color:"#63321E"},[M.oV.VENCIDO]:{background:"#FFB330",color:"#FFF7EA"},[M.oV.A_VENCER]:{background:"#EFEFEF",color:"#6B6B6B"},[M.oV.LIQUIDADO]:{background:"#DFF8EF",color:"#08A898"},[M.oV.APROVADO]:{background:"#DFF8EF",color:"#08A898"},[M.oV.REPROVADO]:{background:"#FBE8EA",color:"#D61C30"},[M.oV.CANCELADA]:{background:"#F2F2F2",color:"#656565"},[M.oV.SOCIO_NEGATIVADO]:{background:"#2773C6",color:"#E9F1F9"},[M.oV.CLIENTE_NEGATIVADO]:{background:"#99221E",color:"#FFEBEA"},[M.oV.CLIENTE_NEGATIVAR]:{background:"#FA3831",color:"#FFEBEA"},[M.oV.VENCE_HOJE]:{background:"#FFEBEA",color:"#FA3831"},[M.oV.VENCE_AMANHA]:{background:"#FFF6E6",color:"#C1850B"},[M.oV.VENCIMENTO_PROXIMO]:{background:"#E6FAFD",color:"#038DA2"},[M.oV.PARCELA_CEDIDA]:{background:"#607D8B",color:"#EFF2F3"},[M.oV.BAIXA_ADMINISTRATIVA]:{background:"#607D8B",color:"#EFF2F3"}};var tB=o(90596);let tH=p.ZP.div.withConfig({componentId:"sc-a6fcd66b-0"})(["display:flex;align-items:flex-end;justify-content:space-between;gap:0.5rem;overflow:hidden;padding-bottom:0.2rem;padding-right:0.2rem;> div:first-child{display:flex;flex:1;align-items:center;gap:0.5rem;}"]),tq=p.ZP.div.withConfig({componentId:"sc-a6fcd66b-1"})(["max-width:15.5rem;min-width:5rem;width:100%;"]),tU=(0,p.ZP)(tB.I).withConfig({componentId:"sc-a6fcd66b-2"})(["",""],e=>{let{theme:t}=e;return(0,p.iv)(["border:1px solid ",";border-radius:6px;&:not(:disabled):hover{border:1px solid ",";}&:not(:read-only):focus{border:1px solid ",";box-shadow:0 0 0 2px ",";}"],t.colors.gray[115],t.colors.gray[120],t.colors.gray[120],(0,eQ.c)(t.hostCompany.cor,.3))});var tK=o(43004);let tW={Root:function(e){let{children:t,columns:o,isFetching:i,pagination:n,sorting:l,setSorting:p,statusSelected:m,setStatusSelected:g,monthSelected:x,setMonthSelected:f,data:C,...v}
1=e,b=function(e){let{columns:t,data:o,pagination:{pageCount:i,pageIndex:n,pageSize:r,setPagination:l},setSorting:d,sorting:p,statusSelected:u,setStatusSelected:h,monthSelected:m,setMonthSelected:g}=e,[x,f]=(0,a.useState)([]),[C,v]=(0,a.useState)({}),[b,w]=(0,a.useState)({});return{table:(0,s.b7)({data:o,columns:t,pageCount:i,onSortingChange:d,onColumnFiltersChange:f,onPaginationChange:l,manualPagination:!0,manualFiltering:!0,manualSorting:!0,getCoreRowModel:(0,c.sC)(),getPaginationRowModel:(0,c.G_)(),getSortedRowModel:(0,c.tj)(),getFilteredRowModel:(0,c.vL)(),onColumnVisibilityChange:v,onRowSelectionChange:w,state:{sorting:p,columnFilters:x,columnVisibility:C,rowSelection:b,pagination:{pageIndex:n,pageSize:r}}}),sorting:p,columnFilters:x,columnVisibility:C,rowSelection:b,columns:t,pageCount:i,pageIndex:n,pageSize:r,setPagination:l,statusSelected:u,setStatusSelected:h,monthSelected:m,setMonthSelected:g}}({columns:o,data:C,pagination:n,sorting:l,setSorting:p,statusSelected:m,setStatusSelected:g,monthSelected:x,setMonthSelected:f}),w=h.Provider;return(0,r.jsx)(w,{value:{isFetching:i,...b},children:(0,r.jsx)(u,{...v,children:function(e){for(var t=arguments.length,o=Array(t>1?t-1:0),i=1;i<t;i++)o[i-1]=arguments[i];return d(e)?e(...o):e}(t,{table:b.table,rowsSelected:b.table.getSelectedRowModel().rows})})})},Table:function(){var e;let{table:t,columns:o,isFetching:i}=m();return(0,r.jsx)(R,{children:(0,r.jsxs)(y,{children:[(0,r.jsx)(I,{children:t.getHeaderGroups().map(e=>(0,r.jsx)(k,{children:e.headers.map(e=>(0,r.jsx)(Z,{className:"[&:has([role=checkbox])]:pl-3",isSorted:!!e.column.getIsSorted(),children:e.isPlaceholder?null:(0,s.ie)(e.column.columnDef.header,e.getContext())},e.id))},e.id))}),(0,r.jsx)(L,{children:i?(0,r.jsx)(k,{children:(0,r.jsx)(z,{colSpan:o.length,className:"h-24 text-center",children:(0,r.jsx)(l.Z,{height:30,count:10})})}):(null===(e=t.getRowModel().rows)||void 0===e?void 0:e.length)?t.getRowModel().rows.map(e=>(0,r.jsx)(k,{"data-state":e.getIsSelected()&&"selected","data-restricted":(e.original.cessao||e.original.baixada)&&"restricted",children:e.getVisibleCells().map(e=>(0,r.jsx)(P,{className:"[&:has([role=checkbox])]:pl-3",children:(0,s.ie)(e.column.columnDef.cell,e.getContext())},e.id))},e.id)):(0,r.jsx)(k,{children:(0,r.jsx)(z,{colSpan:o.length,className:"h-24 text-center",children:"Sem resultados."})})})]})})},RowCell:function(e){return(0,r.jsx)(tM,{...e})},ColumnHeader:function(e){var t;let{title:o,column:i,info:n,...a}=e;if(!i.getCanSort())return(0,r.jsx)(en,{asChild:!0,variant:"ghost",size:"sm",children:(0,r.jsx)("span",{children:o})});let l=null!==(t=({asc:q.rH8,desc:q.bTu})[i.getIsSorted()])&&void 0!==t?t:U.M45;return(0,r.jsx)("div",{...a,children:(0,r.jsxs)(F.z,{variant:"ghost",onClick:()=>i.toggleSorting("asc"===i.getIsSorted()),size:"sm",children:[n&&(0,r.jsx)(ei,{children:(0,r.jsx)(et,{title:n.title,text:n.description})}),(0,r.jsx)("span",{children:o}),(0,r.jsx)(eo,{children:(0,r.jsx)(l,{size:"1rem"})})]})})},Pagination:function(e){let{hideFilteredSelectedRow:t}=e,{table:o}=m(),{colors:i}=(0,p.Fg)();return(0,r.jsxs)(e2,{children:[(0,r.jsx)(e0,{children:!t&&(0,r.jsxs)("span",{children:[o.getFilteredSelectedRowModel().rows.length," de"," ",o.getFilteredRowModel().rows.length," linha(s) selecionada(s)."]})}),(0,r.jsxs)(e3,{children:[(0,r.jsxs)(e4,{children:[(0,r.jsx)("p",{children:"Linhas por p\xe1gina"}),(0,r.jsx)("select",{name:"rows_per-page",value:"".concat(o.getState().pagination.pageSize),onChange:e=>{o.setPageSize(Number(e.target.value))},children:e7.map(e=>(0,r.jsx)("option",{value:e.quantity,children:e.quantity},e.id))})]}),(0,r.jsxs)(e5,{children:["P\xe1gina ",o.getState().pagination.pageIndex+1," de"," ",o.getPageCount()]}),(0,r.jsxs)(e6,{children:[(0,r.jsxs)(F.z,{color:i.darkGray[350],borderColor:i.gray[115],variant:"outline",onClick:()=>o.setPageIndex(0),disabled:!o.getCanPreviousPage(),title:"Ir para a primeira p\xe1gina",children:[(0,r.jsx)(e8,{children:"Ir para a primeira p\xe1gina"}),(0,r.jsx)(e1.xN8,{size:"1rem"})]}),(0,r.jsxs)(F.z,{color:i.darkGray[350],borderColor:i.gray[115],variant:"outline",onClick:()=>o.previousPage(),disabled:!o.getCanPreviousPage(),title:"Ir para a p\xe1gina anterior",children:[(0,r.jsx)(e8,{children:"Ir para a p\xe1gina anterior"}),(0,r.jsx)(e1.CF5,{size:"1rem"})]}),(0,r.jsxs)(F.z,{color:i.darkGray[350],borderColor:i.gray[115],variant:"outline",onClick:()=>o.nextPage(),disabled:!o.getCanNextPage(),title:"Ir para a pr\xf3xima p\xe1gina",children:[(0,r.jsx)(e8,{children:"Ir para a pr\xf3xima p\xe1gina"}),(0,r.jsx)(e1.Td4,{size:"1rem"})]}),(0,r.jsxs)(F.z,{color:i.darkGray[350],borderColor:i.gray[115],variant:"outline",onClick:()=>o.setPageIndex(o.getPageCount()-1),disabled:!o.getCanNextPage(),title:"Ir para a \xfaltima p\xe1gina",children:[(0,r.jsx)(e8,{children:"Ir para a \xfaltima p\xe1gina"}),(0,r.jsx)(e1.yci,{size:"1rem"})]})]})]})]})},Toolbar:function(e){let{children:t,...o}=e,{installment:i,invoice:n,setInvoice:l}=(0,tK.D)(),s=(0,a.useMemo)(()=>i?"".concat(n,"/").concat(i):n||void 0,[i,n]),d=function(e,t){let o=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],o=(0,a.useRef)(e);return(0,a.useEffect)(()=>{o.current=e}),(0,a.useCallback)(function(){for(var e,t=arguments.length,i=Array(t),n=0;n<t;n++)i[n]=arguments[n];return null===(e=o.current)||void 0===e?void 0:e.call(o,...i)},t)}(e),i=(0,a.useRef)(0);return(0,a.useEffect)(()=>()=>window.clearTimeout(i.current),[]),(0,a.useCallback)(e=>{window.clearTimeout(i.current),i.current=window.setTimeout(()=>
1o(e),1e3)},[o,t])}(e=>{let[t,o]=e.target.value.split("/");l(t,o)},1e3);return(0,r.jsxs)(tH,{...o,children:[(0,r.jsx)("div",{children:t}),(0,r.jsx)(tW.ProblemWithInvoice,{}),(0,r.jsx)(tq,{children:(0,r.jsx)(tU,{scale:"sm",type:"search",variant:"outline",leftIcon:(0,r.jsx)(q.jRj,{}),placeholder:"Buscar pelo n\xfamero da NF",defaultValue:s,onChange:d})})]})},ProblemWithInvoice:function(){let[e,t]=(0,a.useState)(!1);return(0,r.jsx)(r.Fragment,{children:(0,r.jsx)(tA,{isOpen:e,onClose:t})})},RowStatus:function(e){let{children:t}=e;return(0,r.jsx)(tO,{children:(0,r.jsx)(tT.O,{color:tG[t].color,background:tG[t].background,children:t})})},RowActions:function(e){return(0,r.jsx)(eX,{...e})},RowNextStep:function(e){let{children:t,...o}=e;return(0,r.jsx)(tV,{color:tD[t],...o,children:t})},BatchActions:function(){let{table:e}=m(),{width:t}=(0,S.Z)(),{customerData:o}=(0,N.O)(),[i,n]=(0,a.useState)(!1),[l,s]=(0,a.useState)(!1),[d,c]=(0,a.useState)(!1),{handleSelectInstallmentsForPayment:p}=B(e=>({handleSelectInstallmentsForPayment:e.handleSelectInstallmentsForPayment})),u=!e.getFilteredSelectedRowModel().rows.length,h=e.getFilteredSelectedRowModel().rows.map(e=>M.Fn.parse(e.original)),g=h.map(e=>e.id),{installmentsForPayment:x}=B(e=>({installmentsForPayment:e.installmentsForPayment})),f=(0,a.useMemo)(()=>x.map(e=>e.id),[x]);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(V,{children:[(0,r.jsx)(D,{children:"A\xe7\xf5es em lote:"}),(0,r.jsx)(T,{children:(0,r.jsxs)(F.z,{onClick:()=>{s(!0),p(h)},variant:"outline",disabled:u,size:"sm",title:(e=>{if(t<=600)return e})("Pagar via pix"),children:[(0,r.jsx)(E.zki,{size:16}),(0,r.jsx)(O,{children:"Pagar via pix"})]})})]}),l&&(0,r.jsx)(H.F,{installmentsIds:f,onClose:()=>{s(!1)},isOpen:l}),(0,r.jsx)(G.T,{isOpen:d,onClose:c,installments:g})]})},ColumnHeaderStatus:function(e){var t;let{column:o,title:i,info:n}=e,{setStatusSelected:a,statusSelected:l}=m();if(!o.getCanSort())return(0,r.jsx)(F.z,{variant:"ghost",size:"sm",children:(0,r.jsx)("span",{children:i})});let s=null!==(t=({asc:q.rH8,desc:q.bTu})[o.getIsSorted()])&&void 0!==t?t:U.M45;return(0,r.jsxs)(ev,{children:[(0,r.jsx)(eb,{asChild:!0,children:(0,r.jsxs)(F.z,{variant:"ghost",size:"sm",className:"-ml-3 h-8 data-[state=open]:bg-accent",children:[n&&(0,r.jsx)(eH,{children:(0,r.jsx)(et,{title:n.title,text:n.description})}),(0,r.jsx)("span",{children:i}),(0,r.jsx)(eB,{children:(0,r.jsx)(s,{size:"1rem"})})]})}),(0,r.jsxs)(eI,{align:"start",children:[eq.map(e=>(0,r.jsx)(eL,{onSelect:()=>a(e.value),children:e.label},e.value)),!!l&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(ek,{}),(0,r.jsx)(eL,{onSelect:()=>a(void 0),children:"Limpar"})]})]})]})},ColumnHeaderDueDate:function(e){var t;let{column:o,title:i,info:n}=e,{setMonthSelected:l,monthSelected:s}=m(),d=(0,eZ.Z)(new Date),[c,p]=(0,a.useState)(d),u=(0,eP.Z)(new Date(c,0,1)),h=(0,eR.Z)(new Date(c,11,31)),g=(0,ez.Z)({start:u,end:h}).map(e=>(0,eE.Z)(e,"MMMM",{locale:e_.Z})),x=e=>{let{year:t,start_month:o,end_month:i}=e;l({startDate:(0,eE.Z)((0,eA.Z)(new Date(t,o,1)),eG),endDate:(0,eE.Z)((0,eF.Z)(new Date(t,i,1)),eG)})},f=e=>{p(t=>{let o="increment"===e?t+1:t-1;return x({end_month:11,start_month:0,year:o}),o})};if(!o.getCanSort())return(0,r.jsx)(F.z,{variant:"ghost",size:"sm",children:(0,r.jsx)("span",{children:i})});let C=null!==(t=({asc:q.rH8,desc:q.bTu})[o.getIsSorted()])&&void 0!==t?t:U.M45;return(0,r.jsxs)(ev,{children:[(0,r.jsx)(eb,{asChild:!0,children:(0,r.jsxs)(F.z,{variant:"ghost",size:"sm",children:[n&&(0,r.jsx)(eO,{children:(0,r.jsx)(et,{title:n.title,text:n.description})}),(0,r.jsx)("span",{children:i}),(0,r.jsx)(eN,{children:(0,r.jsx)(C,{size:"1rem"})})]})}),(0,r.jsxs)(eI,{align:"start",children:[(0,r.jsxs)(eL,{onSelect:()=>o.toggleSorting(!1),children:[(0,r.jsx)(eV,{}),"Maior vencimento"]}),(0,r.jsxs)(eL,{onSelect:()=>o.toggleSorting(!0),children:[(0,r.jsx)(eM,{}),"Menor vencimento"]}),(0,r.jsx)(ek,{}),(0,r.jsx)(eL,{onSelect:()=>{let e=new Date,t=(0,eE.Z)(e,eG);l({startDate:(0,eE.Z)((0,eS.Z)(e,15),eG),endDate:t})},children:"\xdaltimos 15 dias"}),(0,r.jsxs)(ew,{children:[(0,r.jsx)(ej,{children:"Por m\xeas"}),(0,r.jsxs)(ey,{children:[(0,r.jsxs)(eT,{children:[(0,r.jsx)(eL,{onSelect:()=>f("decrement"),children:(0,r.jsx)(q.YFh,{})}),c,(0,r.jsx)(eL,{onSelect:()=>f("increment"),disabled:c>=d,children:(0,r.jsx)(q.Tfp,{})})]}),g.map((e,t)=>(0,r.jsx)(eL,{onSelect:()=>x({end_month:t,start_month:t,year:c}),children:(0,r.jsx)(eD,{children:e})},e))]})]}),!!s&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(ek,{}),(0,r.jsx)(eL,{onSelect:()=>l(void 0),children:"Limpar"})]})]})]})},DownloadNfeAction:function(e){let{row:t}=e,{table:o}=m(),[i,n]=(0,a.useState)(!1),l=M.Fn.parse(t.original),s=async()=>{n(!0);try{let{status:e,data:t}=await (0,eY.S)((0,eW.X)(l.nota.link_s3));if(200!==e)throw Error();let i=new Uint8Array(t),n=new Blob([i],{type:"application/zip"}),r=URL.createObjectURL(n),a=document.createElement("a");a.href=r,a.download="Danfe",a.style.display="none",document.body.appendChild(a),a.click(),document.body.removeChild(a),o.resetRowSelection()}catch(e){(0,A.C)({type:"error",message:"Houve um erro ao baixar sua NFe!"})}finally{n(!1)}};return(0,r.jsx)(e$,{title:"Baixar NFe",disabled:i,onClick:s,children:i?(0,r.jsx)(eK.$,{}):(0,r.jsx)(eU.aBF,{size:20})})},DownloadContractAction:function(e){let{row:t}=e,{table:o}=m(),[i,n]=(0,a.useState)(!1),l=M.Fn.parse(t.original),s=async()=>
1{if(!l.operacao_id){(0,A.C)({type:"error",message:"parcela sem opera\xe7\xe3o_id"});return}n(!0);try{let{status:e,data:t}=await (0,_.JS)(l.operacao_id);if(200!==e||!(null==t?void 0:t.presignedUrl))throw Error("HTTP ".concat(e));let i=document.createElement("a");i.href=t.presignedUrl,i.download=t.filename||"contrato-cessao-".concat(l.operacao_id,".pdf"),i.style.display="none",document.body.appendChild(i),i.click(),document.body.removeChild(i),o.resetRowSelection(),(0,A.C)({type:"success",message:"Contrato de cess\xe3o baixado com sucesso!"})}catch(e){console.error("Error downloading contract:",e),(0,A.C)({type:"error",message:"Houve um erro ao baixar o contrato de cess\xe3o!"})}finally{n(!1)}};return(0,r.jsx)(e$,{title:"Baixar contrato de cess\xe3o",disabled:i,onClick:s,children:i?(0,r.jsx)(eK.$,{}):(0,r.jsx)(eJ.syc,{color:"#0660FF",size:20})})},PaymentAction:function(e){var t;let{row:o}=e,[i,n]=(0,a.useState)(!1),[l,s]=(0,a.useState)(!1),d=M.Fn.parse(o.original),c=!!(null==o?void 0:null===(t=o.original)||void 0===t?void 0:t.baixada);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(e$,{title:"Baixar boleto",onClick:()=>{if(null!==o.original.agente_renegociacao)return s(!0);n(!0)},disabled:c,children:(0,r.jsx)(eU.a_$,{size:20})}),i&&(0,r.jsx)(tp,{installment:d,onClose:()=>{n(!1)},open:i}),l&&(0,r.jsx)(tb,{onClose:()=>{s(!1)},isOpen:l})]})},PixAction:function(e){var t;let{row:o}=e,[i,n]=(0,a.useState)(!1),[l,s]=(0,a.useState)(!1),d=M.Fn.parse(o.original),{handleSelectInstallmentsForPayment:c}=B(e=>({handleSelectInstallmentsForPayment:e.handleSelectInstallmentsForPayment})),p=()=>{n(!0),c([d])},{installmentsForPayment:u}=B(e=>({installmentsForPayment:e.installmentsForPayment})),h=(0,a.useMemo)(()=>u.map(e=>e.id),[u]),m=!!(null==o?void 0:null===(t=o.original)||void 0===t?void 0:t.baixada);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(e$,{title:"Pix",onClick:()=>{if(null!==o.original.agente_renegociacao)return s(!0);p()},disabled:m,children:(0,r.jsx)(E.zki,{size:20})}),i&&(0,r.jsx)(H.F,{installmentsIds:h,onClose:()=>{n(!1)},isOpen:i}),l&&(0,r.jsx)(tb,{onClose:()=>{s(!1)},isOpen:l})]})},ReportAction:function(e){let{row:t}=e,{table:o}=m(),[i,n]=(0,a.useState)(!1),l=M.Fn.parse(t.original);return(0,r.jsx)(r.Fragment,{children:(0,r.jsx)(G.T,{isOpen:i,onClose:n,installments:[l.id]})})},ReactivateAction:function(e){let{row:t}=e,[o,i]=(0,a.useState)(!1),[n,l]=(0,a.useState)(!1),s=M.Fn.parse(t.original);async function d(){if(!o){i(!0),l(!0);try{if((await (0,t_.r)(s.id)).status!==tN.G.OK)throw Error("");i(!1),l(!1),window.location.reload(),(0,A.C)({message:"Nota reativada com sucesso",type:"success"})}catch(e){(0,A.C)({message:"N\xe3o foi poss\xedvel reativar essa nota",type:"error"}),i(!1),l(!1)}}}return(0,r.jsx)(e$,{title:"Reativar",disabled:n,onClick:d,children:n?(0,r.jsx)(eK.$,{}):(0,r.jsx)(tF.$SI,{size:20})})}}},61822:function(e,t,o){o.d(t,{H:function(){return a}});var i=o(67294),n=o(43004);let r={nfId:"numero_nf","nota_sacado.razao_social":"razao_social",valor_parcela:"valor_parcela",valor_atualizado:"valor_atualizado",status:"status",data_vencimento_efetivo:"data_vencimento"};function a(){let{installmentNumber:e,invoiceNumber:t}=(0,n.D)(e=>({installmentNumber:e.installment,invoiceNumber:e.invoice})),[o,a]=(0,i.useState)([]),[l,s]=(0,i.useState)(void 0),[d,c]=(0,i.useState)(void 0),[{pageIndex:p,pageSize:u},h]=(0,i.useState)({pageIndex:0,pageSize:10}),[m,g]=(0,i.useState)(1),x=()=>{h(e=>({...e,pageIndex:0}))},f=(0,i.useMemo)(()=>{var i,n;return x(),{orderBy:r[null===(i=o[0])||void 0===i?void 0:i.id],orderType:(null===(n=o[0])||void 0===n?void 0:n.desc)?"DESC":"ASC",invoiceNumber:t,installmentNumber:e,installmentStatus:l,startDate:null==d?void 0:d.startDate,endDate:null==d?void 0:d.endDate}},[o,t,e,l,null==d?void 0:d.startDate,null==d?void 0:d.endDate]);return{pagination:{pageIndex:p,pageSize:u,setPagination:h,pageCount:m,setPageCount:g,statusSelected:l,setStatusSelected:s},sorting:o,setSorting:a,statusSelected:l,setStatusSelected:s,monthSelected:d,setMonthSelected:c,filters:f}}},20868:function(e,t,o){o.d(t,{$:function(){return l}});var i=o(85893);o(67294);var n=o(68777);let r=(0,n.F4)(["from{transform:rotate(0deg);}to{transform:rotate(360deg);}"]),a=n.ZP.div.withConfig({componentId:"sc-e335f859-0"})(["",""],e=>{let{size:t}=e;return(0,n.iv)(["display:flex;align-items:center;position:relative;margin-inline-end:0px;font-size:","rem;line-height:normal;div{display:inline-block;border-top:2px solid currentcolor;border-right:2px solid currentcolor;border-bottom-style:solid;border-left-style:solid;border-radius:99999px;border-bottom-width:2px;border-left-width:2px;border-bottom-color:transparent;border-left-color:transparent;animation:0.45s linear 0s infinite normal none running ",";width:1em;height:1em;color:currentcolor;span{border:0px;clip:rect(0px,0px,0px,0px);height:1px;width:1px;margin:-1px;padding:0px;overflow:hidden;white-space:nowrap;position:absolute;}}"],t,r)});function l(e){let{size:t=1}=e;return(0,i.jsx)(a,{size:t,children:(0,i.jsx)("div",{children:(0,i.jsx)("span",{children:"Loading..."})})})}},79073:function(e,t,o){o.d(t,{N:function(){return n}});var i=o(85893);function n(e){let{size:t="1em",width:o=t,height:n=t,color:r="currentColor",...a}=e;return(0,i.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:o,height:n,fill:"none",className:"info",viewBox:"0 0 48 44",...a,children:[(0,i.jsx)("g",{clipPath:"url(#clip0_417_4928)",children:(0,i.jsx)("path",{fill:r,d:"M0 5.408C0 2.425 2.392 0 5.333 0h13.334v10.817c0 1.496 1.191 2.704 2.666 2.704H32v3.262C25.842 18.55 21.333 24.287 21.333 31.1c0 4.994 2.425 9.405 6.142 12.11-.267.042-.533.059-.808.059H5.333C2.392 43.268 0 40.842 0 37.859V5.41zm32 5.409H21.333V0L32 10.817zm4 8.113c3.183 0 6.235 1.282 8.485 3.564A12.257 12.257 0 0148 31.099c0 3.227-1.264 6.322-3.515 8.604A11.916 11.916 0 0136 43.268a11.916 11.916 0 01-8.485-3.565A12.257 12.257 0 0124 31.1c0-3.228 1.264-6.323 3.515-8.605A11.916 11.916 0 0136 18.93zm0 8.112c.53 0 1.04-.213 1.414-.594.375-.38.586-.896.586-1.434 0-.538-.21-1.054-.586-1.434A
11.986 1.986 0 0036 22.986c-.53 0-1.04.214-1.414.594-.375.38-.586.896-.586 1.434 0 .538.21 1.054.586 1.434.375.38.884.594 1.414.594zM33.333 31.1c0 .743.6 1.352 1.334 1.352v4.056c-.734 0-1.334.608-1.334 1.352 0 .744.6 1.352 1.334 1.352h2.666c.734 0 1.334-.608 1.334-1.352 0-.744-.6-1.352-1.334-1.352v-5.408c0-.744-.6-1.352-1.333-1.352h-1.333c-.734 0-1.334.608-1.334 1.352z"})}),(0,i.jsx)("defs",{children:(0,i.jsx)("clipPath",{id:"clip0_417_4928",children:(0,i.jsx)("path",{fill:"#fff",d:"M0 0H48V43.268H0z"})})})]})}o(67294)},64068:function(e,t,o){o.d(t,{P:function(){return n}});var i=o(85893);function n(e){let{size:t="1em",width:o=t,height:n=t,color:r="currentColor",...a}=e;return(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:o,height:n,fill:"none",className:"folder",viewBox:"0 0 48 43",...a,children:(0,i.jsx)("path",{fill:r,d:"M7.392 18.65L0 31.317V8a5.338 5.338 0 015.333-5.333h9.792c1.417 0 2.775.558 3.775 1.558l2.208 2.208c1 1 2.359 1.559 3.775 1.559h9.784A5.338 5.338 0 0140 13.325v2.667H12c-1.9 0-3.65 1.008-4.608 2.65v.008zm2.3 1.341A2.669 2.669 0 0112 18.666h33.333c.959 0 1.834.509 2.309 1.342.475.834.475 1.85-.009 2.675l-9.333 16A2.655 2.655 0 0136 40H2.667a2.647 2.647 0 01-2.309-1.342 2.669 2.669 0 01.009-2.675l9.333-16-.008.008z"})})}o(67294)},67116:function(e,t,o){o.d(t,{v:function(){return I}});var i=o(85893),n=o(67294),r=o(41446),a=o(22844),l=o(93569),s=o(68777);let d=s.ZP.div.withConfig({componentId:"sc-f0176652-0"})(["",""],e=>{let{theme:t}=e;return(0,s.iv)(["margin-top:3.75rem;display:flex;flex-direction:column;gap:2.5rem;justify-content:center;align-items:center;text-align:center;padding:",";@media (min-width:500px){padding:",";}"],t.spacings.sm,t.spacings.md)}),c=s.ZP.div.withConfig({componentId:"sc-f0176652-1"})(["",""],e=>{let{theme:t}=e;return(0,s.iv)(["margin:auto;color:",";"],t.colors.colorText.dark)}),p=s.ZP.div.withConfig({componentId:"sc-f0176652-2"})(["",""],e=>{let{theme:t}=e;return(0,s.iv)(["display:flex;flex-direction:column;align-items:center;gap:1rem;> p{color:",";}"],t.colors.colorText.lightGrey)}),u=(0,s.ZP)(l.z).withConfig({componentId:"sc-f0176652-3"})(["",""],e=>{let{theme:t}=e;return(0,s.iv)(["padding:0.5rem 1.5rem;font-weight:",";"],t.fonts.weight.bold)}),h=n.forwardRef((e,t)=>(0,i.jsx)(d,{ref:t,...e}));h.displayName="Root";let m=n.forwardRef((e,t)=>{let{children:o,...n}=e;return(0,i.jsx)(c,{ref:t,...n,children:(0,i.jsx)(a.D,{color:"currentColor",size:"xxl",as:"h2",fontFamily:"text",children:o})})});m.displayName="Heading";let g=n.forwardRef((e,t)=>(0,i.jsx)(p,{ref:t,...e}));h.displayName="Description";let x=n.forwardRef((e,t)=>(0,i.jsx)(u,{size:"sm",ref:t,...e}));h.displayName="Button";var f=o(91065),C=o(79073),v=o(64068);let b=()=>{window.location.reload()},w={unpaid:{icon:{color:"#9B9B9B",element:C.N},heading:"Antecipe suas notas fiscais e receba dinheiro \xe0 vista!",message:["Sua empresa n\xe3o possui parcelas antecipadas nesse momento, realize uma nova antecipa\xe7\xe3o para v\xea-la(s) nessa p\xe1gina.",(0,i.jsxs)(i.Fragment,{children:["Para visualizar suas parcelas antecipadas, realize uma nova antecipa\xe7\xe3o ou limpe o cache do seu navegador e","\xa0",(0,i.jsx)(l.z,{onClick:b,variant:"link",children:"recarregue a p\xe1gina."})]})],action:{label:"Antecipar notas fiscais",href:""}},settled:{icon:{color:"#9B9B9B",element:C.N},heading:"N\xe3o encontramos nenhuma nota liquidada!",message:[(0,i.jsxs)(i.Fragment,{children:["Sua empresa n\xe3o possui parcelas liquidadas? Realize o pagamento das suas antecipa\xe7\xf5es,","\xa0",(0,i.jsx)(l.z,{onClick:b,variant:"link",children:"recarregue a p\xe1gina"}),"\xa0","ou entre em","\xa0",(0,i.jsx)(l.z,{asChild:!0,variant:"link",children:(0,i.jsx)("a",{href:f.s7,target:"_blank",rel:"noreferrer",children:"contato com o suporte."})})]}),"*Em pagamentos realizados por boleto, a compensa\xe7\xe3o pode demorar at\xe9 2 dias \xfateis para aparecer no portal."],action:{label:"Ver parcelas antecipadas",href:"/minhas_notas"}},disapproved:{icon:{color:"#08A898",element:function(e){let{size:t="1em",width:o=t,height:n=t,color:r="currentColor",...a}=e;return(0,i.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:o,height:n,
1className:"check",fill:"none",viewBox:"0 0 48 48",...a,children:[(0,i.jsx)("g",{clipPath:"url(#clip0_418_5022)",children:(0,i.jsx)("path",{fill:r,d:"M24 48a24 24 0 100-48 24 24 0 000 48zm10.594-28.406l-12 12a2.24 2.24 0 01-3.178 0l-6-6a2.24 2.24 0 010-3.178c.88-.872 2.306-.882 3.178 0L21 26.822l10.406-10.416a2.24 2.24 0 013.178 0c.872.882.882 2.306 0 3.178l.01.01z"})}),(0,i.jsx)("defs",{children:(0,i.jsx)("clipPath",{id:"clip0_418_5022",children:(0,i.jsx)("path",{fill:"#fff",d:"M0 0H48V48H0z"})})})]})}},heading:"Sua empresa n\xe3o possui parcelas reprovadas!",message:[(0,i.jsxs)(i.Fragment,{children:["Caso suas parcelas n\xe3o estejam aparecendo aqui, limpe o cache do seu navegador e","\xa0",(0,i.jsx)(l.z,{onClick:b,variant:"link",children:"recarregue a p\xe1gina"})]})]},inactive:{icon:{color:"#9B9B9B",element:v.P},heading:"Nenhuma parcela inativada!",message:["Sua empresa n\xe3o possui parcelas inativadas nesse momento, para realizar a inativa\xe7\xe3o das suas notas, utilize essa fun\xe7\xe3o na aba ‘Notas aprovadas’.",(0,i.jsxs)(i.Fragment,{children:["Caso sua parcela n\xe3o esteja aparecendo aqui, limpe o cache do seu navegador e","\xa0",(0,i.jsx)(l.z,{onClick:b,variant:"link",children:"recarregue a p\xe1gina"})]})]}};var j=o(41664),y=o.n(j);function I(e){let{type:t="unpaid"}=e,{heading:o,icon:n,message:a,action:l}=w[t],s=n.element;return(0,i.jsxs)(h,{children:[(0,i.jsx)(s,{size:48,color:n.color}),(0,i.jsx)(m,{children:o}),(0,i.jsx)(g,{children:a.map(e=>(0,i.jsx)(r.x,{display:"block",children:e}))}),l&&(0,i.jsx)(x,{asChild:!0,children:(0,i.jsx)(y(),{href:l.href,children:l.label})})]})}},90423:function(e,t,o){o.d(t,{F:function(){return A}});var i=o(85893),n=o(36024),r=o(68777);let a=(0,r.iv)(["filter:blur(3px);"]),l=r.ZP.div.withConfig({componentId:"sc-f382c3bc-0"})(["",""],e=>{let{theme:t}=e;return(0,r.iv)(["padding:2rem;width:calc(100vw - 32px);max-width:450px;text-align:center;*{line-height:150%;}h2,strong{font-weight:",";}h2{margin-top:0.5rem;margin-bottom:1.5rem;}p{font-weight:",";font-size:",";max-width:211px;margin:0 auto;}color:",";.timer{max-width:90px;font-size:10px;}@media (min-width:500px){.timer{max-width:100%;font-size:",";}}@media (min-width:","){max-width:482px;p{max-width:100%;font-size:",";}h2{margin-bottom:2rem;}}"],t.fonts.weight.medium,t.fonts.weight.normal,t.fonts.size.sm,t.colors.darkGray[280],t.fonts.size.sm,t.breakpoints.md,t.fonts.size.md)}),s=r.ZP.div.withConfig({componentId:"sc-f382c3bc-1"})(["",""],e=>{let{theme:t,isExpired:o}=e;return(0,r.iv)(["display:flex;flex-direction:column;justify-content:center;gap:1rem;margin-bottom:1rem;.qrcode{width:112px;height:112px;","}> div{border-radius:0.5rem;margin:0 auto;border:1px solid #bac0cb;padding:5px;display:flex;justify-content:center;align-items:center;}@media (min-width:","){gap:1.5rem;margin-bottom:2rem;.qrcode{width:132px;height:132px;}}"],o&&a,t.breakpoints.md)}),d=r.ZP.div.withConfig({componentId:"sc-f382c3bc-2"})(["",""],e=>{let{theme:t,isExpired:o}=e;return(0,r.iv)(["display:flex;flex-direction:column;width:100%;border:1px solid #bac0cb;border-radius:0.5rem;margin-top:1.5rem;overflow:hidden;textarea{color:",";width:100%;border:none;padding:1rem;overflow:hidden;resize:none;font-size:8px;","}button{all:unset;font-weight:",";cursor:pointer;font-size:",";}.download{text-decoration:underline;color:",";}.download:disabled{opacity:0.5;}.expired{margin-left:auto;font-size:",";}.expired button{text-decoration:underline;color:",";font-size:1rem;}span{font-weight:",";font-size:14px;}@media (min-width:","){textarea{font-size:",";}button{font-size:",";}}"],t.colors.darkGray[280],o&&a,t.fonts.weight.medium,t.fonts.size.xs,t.colors.colorText.icon,t.fonts.size.md,t.hostCompany.cor,t.fonts.weight.medium,t.breakpoints.md,t.fonts.size.sm,t.fonts.size.md)}),c=r.ZP.div.withConfig({componentId:"sc-f382c3bc-3"})(["display:flex;justify-content:space-between;align-items:center;text-align:left;padding:13.5px 16px;border-top:1px solid #bac0cb;"]),p=r.ZP.div.withConfig({componentId:"sc-f382c3bc-4"})(["",""],e=>{let{theme:t,isLoading:o}=e;return(0,r.iv)(["margin-top:1.5rem;display:flex;justify-content:space-between;background-color:#f5f5f5;padding:",";border-radius:0.5rem;span{font-size:",";font-weight:",";}span:last-child{color:",";}@media (min-width:500px){span{font-size:",";}}"],o?"0":"12px 1rem",t.fonts.size.md,t.fonts.weight.medium,t.hostCompany.cor,t.fonts.size.xl)}),u=r.ZP.div.withConfig({componentId:"sc-f382c3bc-5"})(["display:flex;flex-direction:column;padding:1rem;gap:5px;"]);var h=o(67294),m=o(42543),g=o(9886);async function x(e){let{installmentIds:t,payerDocument:o}=e,{status:i,data:n}=await g.Z.newApiRequest({method:"post",url:"/billings/payment-methods/immediate-pix",data:{billingExter
1nalIds:t.map(e=>String(e)),payerDocument:o}});return{status:i,data:n}}var f=o(36456),C=o(31856),v=o(62392),b=o(87551),w=o(71801),j=o(18336);function y(e){let{expiration:t,onEndTime:o}=e,n=(0,b.Z)(new Date(t),new Date(Date.now())),{startTimer:r}=(0,j.J)(n);(0,h.useEffect)(()=>{r()},[]);let a=(0,h.useMemo)(()=>{n<=0&&o();let e=(0,w.Z)(new Date(t),new Date(Date.now()));return n<60?"menos de 1 minuto":"".concat(e+1," minutos")},[n]);return(0,i.jsxs)("span",{className:"timer",children:["C\xf3digo expira em ",a]})}var I=o(99603);let L=r.ZP.button.withConfig({componentId:"sc-fe882cea-0"})(["",""],e=>{let{theme:t}=e;return(0,r.iv)(["all:unset;cursor:pointer;> span{display:flex;align-items:center;gap:0.5rem;font-weight:",";font-size:",";color:",";}@media (min-width:500px){> span{font-size:",";}}"],t.fonts.weight.medium,t.fonts.size.xs,t.hostCompany.cor,t.fonts.size.md)});var k=o(59417),Z=o(20640),P=o.n(Z);function R(e){let{link:t}=e;return(0,i.jsx)(L,{onClick:()=>{(0,f.C)({message:"C\xf3digo Pix Copiado!",type:"success"}),P()(t)},children:(0,i.jsxs)("span",{children:[(0,i.jsx)(I.G,{icon:k.kZ_})," Copiar c\xf3digo"]})})}var z=o(92574),E=o(1653),S=o(65775);function A(e){let{isOpen:t,onClose:o,installmentsIds:r}=e,{customerData:a}=(0,m.O)(),[s,p]=(0,h.useState)(!1),[g,C]=(0,h.useState)({}),b=(0,h.useCallback)(async function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(r.length){let{status:t,data:i}=await x({installmentIds:r,payerDocument:String(a.documento)});if(t>300){(0,f.C)({message:"Erro ao gerar pix! tente novamente.",type:"error"}),o();return}if(C(i),p(!1),e){(0,f.C)({message:"Novo Pix gerado com sucesso!",type:"success"});return}}},[null==a?void 0:a.id,r,o]);(0,h.useEffect)(()=>{b()},[]),(0,h.useEffect)(()=>{let e=setInterval(async()=>{try{if(!(null==g?void 0:g.id))return clearInterval(e);if((await (0,S.l)(String(r[0]))).data.some(e=>e.id===g.id&&(null==e?void 0:e.paymentMethodStatusTypeId)===2)){(0,f.C)({message:"Pagamento recebido",type:"success"}),clearInterval(e),o();return}}catch(t){console.log(t),clearInterval(e)}},3e4);return()=>clearInterval(e)},[null==g?void 0:g.id,r,o]);let{width:w}=(0,z.Z)(),j=(0,h.useMemo)(()=>({width:w<=500?245:384,height:w<=500?8:16}),[w]);return(0,i.jsx)(n.u,{isOpen:t,onClose:o,children:(0,i.jsxs)(l,{children:[(0,i.jsx)("h2",{children:"Pagamento via PIX"}),(0,i.jsx)(A.PixBox,{activePix:g,isExpired:s}),(0,i.jsxs)("p",{children:["Ou copie o c\xf3digo para pagar pelo ",(0,i.jsx)("strong",{children:"Pix Copia e Cola"})]}),(0,i.jsxs)(d,{isExpired:s,children:[(null==g?void 0:g.copyAndPaste)?(0,i.jsx)("textarea",{rows:4,value:null==g?void 0:g.copyAndPaste,disabled:s}):(0,i.jsxs)(u,{children:[(0,i.jsx)(v.O,{width:j.width,height:j.height}),(0,i.jsx)(v.O,{width:j.width,height:j.height}),(0,i.jsx)(v.O,{width:j.width,height:j.height}),(0,i.jsx)(v.O,{width:j.width,height:j.height})]}),(0,i.jsx)(c,{children:(0,i.jsx)(A.PixAction,{activePix:g,isExpired:s,action:b,setIsExpired:p})})]}),(0,i.jsx)(A.Footer,{activePix:g})]})})}A.PixAction=function(e){let{activePix:t,action:o,setIsExpired:n,isExpired:r=!1}=e;return(null==t?void 0:t.id)?r?(0,i.jsxs)("span",{className:"expired",children:["Pix expirado."," ",(0,i.jsx)("button",{onClick:()=>o(!0),children:"Gerar novo Pix"})]}):(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(y,{expiration:t.expirationDate,onEndTime:()=>n(!0)}),(0,i.jsx)(R,{link:null==t?void 0:t.copyAndPaste})]}):(0,i.jsx)(v.O,{width:175,height:20,hasRadius:!0})},A.PixBox=function(e){let{activePix:t,isExpired:o=!1}=e,{width:n}=(0,z.Z)(),r=(0,h.useMemo)(()=>n<=500?112:132,[n]);return(0,i.jsxs)(s,{isExpired:o,children:[(0,i.jsx)("p",{children:"Pague usando esse QR Code"}),(0,i.jsx)("div",{className:"qrcode",style:{width:r,height:r},children:(null==t?void 0:t.copyAndPaste)?(0,i.jsx)(E.ZP,{size:n,style:{height:"auto",maxWidth:"100%",width:"100%"},value:t.copyAndPaste,viewBox:"0 0 ".concat(r," ").concat(r)}):(0,i.jsx)(v.O,{borderRadius:6,width:r-12,height:r-10})})]})},A.Footer=function(e){let{activePix:t}=e;return(0,i.jsxs)(p,{isLoading:!1,children:[(0,i.jsx)("span",{children:"Valor"}),(null==t?void 0:t.totalAmount)?(0,i.jsx)(i.Fragment,{children:(0,i.jsx)("span",{children:(0,C.iK)(null==t?void 0:t.totalAmount)})}):(0,i.jsx)(v.O,{width:120,height:26,hasRadius:!0})]})}},15798:function(e,t,o){o.d(t,{$:function(){return M},i:function(){return N}});var i,n,r=o(85893),a=o(67294),l=o(87311),s=o(67116),d=o(73361),c=o(61822),p=o(9886);async function u(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{installmentStatus:void 0,orderBy:void 0,orderType:void 0},n=function(){let{installmentStatus:e,orderBy:n,orderType:r,endD
1ate:a,startDate:l,installmentNumber:s,invoiceNumber:d}=i,c=new URLSearchParams;return c.append("limit",t.toString()),c.append("page",o.toString()),e&&c.append("installmentStatus",e),n&&r&&(c.append("orderBy",n),c.append("order",r.toLowerCase())),a&&l&&(c.append("startDate",l),c.append("endDate",a)),d&&c.append("invoiceNumber",String(d)),s&&c.append("installmentNumber",String(s)),c.toString()}(),{status:r,data:a}=await p.Z.notas({method:"GET",url:"/carteira?".concat(n),headers:{tipo:e}});return{status:r,data:a}}var h=o(36018),m=o(77677),g=o(31856),x=o(88902),f=o(76215),C=o(7907),v=o(17327),b=o(45209);let w=(e,t)=>{let{isRenegotiation:o,row:i}=t;return o?null:(0,r.jsx)(e,{row:i})},j=e=>(null==e?void 0:e.original.agente_renegociacao)!==null,y=e=>{let t=null==e?void 0:e.original.status,o=e.original.cessao||e.original.baixada;return t===v.oV.RENEGOCIADO||o},I=[{id:"select",header:e=>{let{table:t}=e;return(0,r.jsx)(f.X,{checked:t.getIsAllPageRowsSelected(),onCheckedChange:e=>t.getRowModel().rows.forEach(t=>{y(t)||j(t)||t.toggleSelected(!!e)}),"aria-label":"Select all"})},cell:e=>{var t;let{row:o}=e,i=y(o)||j(o),n=!!(null==o?void 0:null===(t=o.original)||void 0===t?void 0:t.baixada);return(0,r.jsx)(f.X,{checked:o.getIsSelected(),disabled:i||n,onCheckedChange:e=>o.toggleSelected(!!e),"aria-label":"Select row"})},enableSorting:!1,enableHiding:!1,enableColumnFilter:!1},{accessorKey:"nfId",header:e=>{let{column:t}=e;return(0,r.jsx)(l.w.ColumnHeader,{column:t,title:"NF"})},cell:e=>{var t;let{row:o}=e,i=!!o.original.cessao;return(0,r.jsx)(l.w.RowCell,{children:(0,r.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",minWidth:"70px"},children:[o.getValue("nfId"),i&&(0,r.jsx)(C.u,{tooltipLocation:"bottom",message:"Os direitos desta d\xedvida foram transferidos. Voc\xea ser\xe1 contatado em breve pelo novo respons\xe1vel de cobran\xe7a.",maxWidth:"350px",children:(0,r.jsx)(b.u,{})}),(null===(t=o.original)||void 0===t?void 0:t.baixada)&&(0,r.jsx)(C.u,{tooltipLocation:"bottom",message:"Essa d\xedvida est\xe1 suspensa no momento por decis\xe3o administrativa. Isso pode ser tempor\xe1rio ou definitivo.",maxWidth:"350px",children:(0,r.jsx)(b.u,{})})]})})}},{accessorKey:"nota.sacado.razao_social",header:e=>{let{column:t}=e;return(0,r.jsx)(l.w.ColumnHeader,{column:t,title:"Sacado"})},cell:e=>{var t,o,i;let{row:n,column:a}=e,s=a.getFacetedRowModel().rows.map(e=>v.Fn.parse(e.original)).some(e=>e.proxima_etapa),d=String(null==n?void 0:null===(i=n.original)||void 0===i?void 0:null===(o=i.nota)||void 0===o?void 0:null===(t=o.sacado)||void 0===t?void 0:t.razao_social);return(0,r.jsx)(l.w.RowCell,{title:d,maxW:s?"14rem":"20rem",children:d})}},{accessorKey:"status",header:e=>{let{column:t}=e;return(0,r.jsx)(l.w.ColumnHeaderStatus,{column:t,title:"Status"})},cell:e=>{var t;let{row:o}=e,i=(null===(t=o.original)||void 0===t?void 0:t.baixada)?v.oV.BAIXA_ADMINISTRATIVA:o.getValue("status");return(0,r.jsx)(l.w.RowStatus,{children:o.original.cessao?"Cedido":i})}},{id:"proxima_etapa",accessorKey:"proxima_etapa",header:e=>{let{column:t}=e;return(0,r.jsx)(l.w.ColumnHeader,{column:t,title:"Pr\xf3xima etapa"})},cell:e=>{let{row:t}=e,o=t.original.cessao||t.original.baixada;return(0,r.jsx)(l.w.RowNextStep,{children:o?"":t.getValue("proxima_etapa")})},enableSorting:!1,enableColumnFilter:!1},{accessorKey:"valor_atualizado",header:e=>{let{column:t}=e;return(0,r.jsx)(l.w.ColumnHeader,{column:t,title:"Valor atualizado",info:{title:"Valor atualizado",description:"Caso a nota n\xe3o seja liquidada na data de vencimento, ocorrer\xe1 a adi\xe7\xe3o de multa e juros sobre o valor da parcela a partir do dia seguinte ao vencimento. Notas que ainda n\xe3o venceram continuam com o mesmo valor sem multa e juros."}})},cell:e=>{let{row:t}=e;return(0,r.jsx)(l.w.RowCell,{children:(0,g.iK)(t.getValue("valor_atualizado"))})}},{accessorKey:"data_vencimento_efetivo",header:e=>{let{column:t}=e;return(0,r.jsx)(l.w.ColumnHeaderDueDate,{column:t,title:"Vencimento"})},cell:e=>{let{row:t}=e;return(0,r.jsx)(l.w.RowCell,{children:(0,x.lv)(t.getValue("data_vencimento_efetivo"))})}},{id:"actions",header:e=>{let{column:t}=e;return(0,r.jsx)(l.w.ColumnHeader,{column:t,title:"A\xe7\xf5es"})},cell:e=>{let{row:t}=e,o=y(t);return(0,r.jsxs)(l.w.RowActions,{children:[w(l.w.PixAction,{row:t,isRenegotiation:o}),w(l.w.PaymentAction,{row:t,isRenegotiation:o}),(0,r.jsx)(l.w.DownloadNfeAction,{row:t}),(0,r.jsx)(l.w.DownloadContractAction,{row:t}),(0,r.jsx)(l.w.ReportAction,{row:t})]})},enableHiding:!1,enableSorting:!1,enableColumnFilter:!1}];var L=o(43004),k=o(5127),Z=o(11163),P=o(54556),R=o(68777);let z=R.ZP.div.withConfig({componentId:"sc-a2251565-0"})(["",""],e=>{let{theme:t}=e;return(0,R.iv)(["padding:1.75rem ",";@media (min-width:500px){padding:1.75rem ",";}"],t.spacings.sm,t.spacings.md)});R.ZP.header.withConfig({componentId:"sc-a2251565-1"})(["",""],e=>{let{theme:t}=e;return(0,R.iv)(["display:flex;flex-direction:column;gap:0.3rem;color:",";font-weight:",";> span{font-size:",";}> div{display:flex;gap:0.5rem;}button{all:unset;padding:7px 12px;border-radius:4px;border:1px solid ",";color:",";font-size:",";}button:not(:disabled):hover{cursor:pointer;}button:disabled{opacity:0.5;border-width:1px;color:",";border-color:",";background:transparent;pointer-events:none;}"],t.colors.darkGray[250],t.fonts.weight.bold,t.fonts.size.sm,t.hostCompany.cor,t.hostCompany.cor,t.fonts.size.sm,t.colors.darkGray[350],t.colors.neutral.gray)});var E=o(6741);function S(){let[e,t]=(0,a.useState)([]);return(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)(z,{children:[(0,r.jsx)(P.$,{}),(0,r.jsx)(E.y,{selectedInvoicesIds:e,setSelectedInvoicesIds:t,invoiceType:"anticipated"})]})})}var A=o(48422);(i=n||(n={}))[i.Upload=1]="Upload",i[i.EmAnalise=2]="EmAnalise",i[i.Aprovado=3]="Aprovado",i[i.Reprovado=4]="Reprovado",i[i.Renegociacao=5]="Renegociacao",i[i.baixa_administrativa=8]="baixa_administrativa";let F=(e,t)=>{let{isAfter:o,isBefore:i,startOfDay:n,incrementDate:r,decrementDate:a,isToday:l,isTomorrow:s,findBusinessDay:d}=k.UtilDate;if(i(n(t),n(e))){let i=d(r(t,10)),n=d(r(t,7)),a=d(r(t,4));return o(e,i)?{status:v.oV.CLIENTE_NEGATIVAR,description:v.Qm.CLIENT
1E_NEGATIVAR}:o(e,n)?{status:v.oV.NEGATIVADO,description:v.Qm.NEGATIVADO}:o(e,a)?{status:v.oV.REGRESSADO,description:v.Qm.REGRESSADO}:{status:v.oV.VENCIDO,description:v.Qm.VENCIDO}}let c=a(t,5),p=s(t);return l(t)?{status:v.oV.VENCE_HOJE}:p?{status:v.oV.VENCE_AMANHA}:o(e,c)?{status:v.oV.VENCIMENTO_PROXIMO}:{status:v.oV.A_VENCER}},_=e=>{let{dueDate:t,isActiveDebt:o,status:i,type:r}=e,a=new Date(t),l=new Date;return 8===i?{status:v.oV.BAIXA_ADMINISTRATIVA}:o?{status:"Renegociado"}:"parcelas_pagas"===r?{status:"Liquidado"}:3===i&&"parcelas_antecipadas"===r?F(l,a):{status:n[i]}},N=async e=>{let{type:t,pagination:{filters:o,itemsPerPage:i,page:n}}=e,r=h.queryClient.getQueryData([m.U.CUSTOMER]);try{let e=await u(t,i,n,o);if(200!==e.status)throw Error("");let a=e.data.rows.map(e=>{var o;let{status:i,description:n}=_({status:e.status,dueDate:e.data_vencimento_efetivo,isActiveDebt:!!(null===(o=e.divida)||void 0===o?void 0:o.divida_ativa),type:t});return{...e,status:i,proxima_etapa:n,nfId:"".concat(e.nota.numero_nf,"/").concat(e.numero_parcela),divida:!!e.divida}});return{response:e,data:a,recurrent:null==r?void 0:r.recorrente}}catch(e){return{response:void 0,data:[],recurrent:void 0}}};function M(){let{isActiveServiceInvoice:e}=(0,A.E)(),{invoiceType:t}=(0,Z.useRouter)().query,[o,i]=(0,a.useState)(!0),[n,p]=(0,a.useState)([]),[u,h]=(0,a.useState)(!1),{invoice:m,installment:g}=(0,L.D)(e=>({invoice:e.invoice,installment:e.installment})),{pagination:{pageSize:x,setPageCount:f,pageIndex:C,...v},setSorting:b,sorting:w,filters:j,setStatusSelected:y,statusSelected:k,monthSelected:R,setMonthSelected:z}=(0,c.H)(),E=(0,a.useMemo)(()=>n,[n]),F=(0,a.useCallback)(async()=>{i(!0);let{data:e,response:t}=await N({type:"parcelas_antecipadas",pagination:{filters:j,itemsPerPage:x,page:C+1}});i(!1),p(e),t&&(f(Math.ceil(t.data.count/x)),h(!0))},[j,x,C,f]);(0,a.useEffect)(()=>{F()},[F]);let _=(0,a.useMemo)(()=>E.some(e=>null==e?void 0:e.proxima_etapa)?I:I.filter(e=>(null==e?void 0:e.id)!=="proxima_etapa"),[E]),M=!E.length&&!o&&!u&&!m&&!g;return"service"===t?(0,r.jsx)(S,{}):(0,r.jsx)(r.Fragment,{children:M?(0,r.jsxs)(d.W,{children:[e&&(0,r.jsx)(P.$,{}),(0,r.jsx)(s.v,{type:"unpaid"})]}):(0,r.jsxs)(d.W,{children:[e&&(0,r.jsx)(P.$,{}),(0,r.jsx)("div",{children:(0,r.jsxs)(l.w.Root,{isFetching:o,columns:_,data:E,pagination:{pageSize:x,setPageCount:f,pageIndex:C,...v},sorting:w,setSorting:b,statusSelected:k,setStatusSelected:y,monthSelected:R,setMonthSelected:z,children:[(0,r.jsx)(l.w.Toolbar,{children:(0,r.jsx)(l.w.BatchActions,{})}),(0,r.jsx)(l.w.Table,{}),(0,r.jsx)(l.w.Pagination,{})]})})]})})}},73361:function(e,t,o){o.d(t,{W:function(){return n}});var i=o(68777);let n=i.ZP.div.withConfig({componentId:"sc-42dd966f-0"})(["",""],e=>{let{theme:t}=e;return(0,i.iv)(["padding:1.75rem ",";color:",";@media (min-width:500px){padding:1.75rem ",";}"],t.spacings.sm,t.colors.colorText.darkGrey,t.spacings.md)})},45209:function(e,t,o){o.d(t,{u:function(){return r}});var i=o(85893),n=o(3162);function r(e){let{color:t}=e;return(0,i.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,i.jsx)("path",{d:"M7 0.875C7.38828 0.875 7.74648 1.08008 7.94336 1.41641L13.8496 11.4789C14.0492 11.818 14.0492 12.2363 13.8551 12.5754C13.6609 12.9145 13.2973 13.125 12.9062 13.125H1.09375C0.702732 13.125 0.33906 12.9145 0.14492 12.5754C-0.0492209 12.2363 -0.0464865 11.8152 0.150388 11.4789L6.05664 1.41641C6.25351 1.08008 6.61172 0.875 7 0.875ZM7 4.375C6.63633 4.375 6.34375 4.66758 6.34375 5.03125V8.09375C6.34375 8.45742 6.63633 8.75 7 8.75C7.36367 8.75 7.65625 8.45742 7.65625 8.09375V5.03125C7.65625 4.66758 7.36367 4.375 7 4.375ZM7.875 10.5C7.875 10.2679 7.78281 10.0454 7.61872 9.88128C7.45462 9.71719 7.23206 9.625 7 9.625C6.76793 9.625 6.54537 9.71719 6.38128 9.88128C6.21719 10.0454 6.125 10.2679 6.125 10.5C6.125 10.7321 6.21719 10.9546 6.38128 11.1187C6.54537 11.2828 6.76793 11.375 7 11.375C7.23206 11.375 7.45462 11.2828 7.61872 11.1187C7.78281 10.9546 7.875 10.7321 7.875 10.5Z",fill:null!=t?t:n.O.blue[700]})})}},17327:function(e,t,o){o.d(t,{Fn:function(){return s},Qm:function(){return d},oV:function(){return n}});var i,n,r=o(62734);let a=r.Ry({razao_social:r.Z_()}
1),l=r.Ry({link_s3:r.Z_(),numero_nf:r.Rx(),sacado:a}),s=r.Ry({cobranca_id:r.Z_().nullable().optional(),data_vencimento_efetivo:r.Z_(),divida:r.O7(),id:r.Rx(),nfId:r.Z_(),nota:l,numero_parcela:r.Rx(),regressado:r.O7().optional(),status:r.Z_(),proxima_etapa:r.Z_().nullable().optional(),relacao_cobranca_original_id:r.Rx().optional(),relacao_cobranca_regresso_id:r.Rx().optional(),valor_atualizado:r.Z_().optional(),valor_parcela:r.Z_(),cessao:r.O7().optional(),baixada:r.O7().optional(),agente_renegociacao:r.Rx().nullable().optional(),operacao_id:r.Rx().nullable().optional()});(i=n||(n={})).LIQUIDADO="Liquidado",i.APROVADO="Aprovado",i.REPROVADO="Reprovado",i.CANCELADA="Cancelada",i.RENEGOCIADO="Renegociado",i.SOCIO_NEGATIVADO="S\xf3cio negativado",i.CLIENTE_NEGATIVADO="Cliente negativado",i.CLIENTE_NEGATIVAR="Cliente a negativar",i.NEGATIVADO="Negativado",i.REGRESSADO="Regressado",i.VENCIDO="Vencido",i.VENCE_HOJE="Vence hoje",i.VENCE_AMANHA="Vence amanh\xe3",i.VENCIMENTO_PROXIMO="Vencimento pr\xf3ximo",i.A_VENCER="A vencer",i.PARCELA_CEDIDA="Cedido",i.BAIXA_ADMINISTRATIVA="Baixa administrativa";let d={NEGATIVADO:"Seu cliente poder\xe1 ser negativado em alguns dias.",REGRESSADO:"Sua empresa ser\xe1 negativada em breve.",VENCIDO:"Evite juros e multas contra sua empresa.",SOCIO_NEGATIVADO:"Liquide seus d\xe9bitos e retire as negativa\xe7\xf5es.",CLIENTE_NEGATIVADO:"Seu(s) s\xf3cio(s) ser\xe3o negativados em breve",CLIENTE_NEGATIVAR:"Seu cliente ser\xe1 negativado."}},34355:function(e,t,o){o.d(t,{O:function(){return a}});var i=o(85893);o(67294);var n=o(68777);let r=n.ZP.div.withConfig({componentId:"sc-888a83c5-0"})(["",""],e=>{let{theme:t,textColor:o,backgroundColor:i,specialStyle:r}=e;return(0,n.iv)(["display:flex;align-items:center;justify-content:center;width:max-content;gap:4px;padding:4px 8px;border-radius:22px;background:",";font-size:",";color:",";font-weight:",";",""],i,t.fonts.size.xs,o,t.fonts.weight.bold,r&&(0,n.iv)(["color:",";&::before{content:'';display:block;width:1.125rem;height:0.75rem;border-radius:22px;background:",";}"],t.colors.colorText.lightGrey,o))});function a(e){let{children:t,color:o,background:n,specialStyle:a=!1}=e;return(0,i.jsx)(r,{textColor:o,backgroundColor:n,specialStyle:a,children:(0,i.jsx)("span",{children:t})})}},65224:function(e,t,o){o.d(t,{S:function(){return n}});var i=o(27031);async function n(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"anticipated";return(0,i.h)({api:"newApiRequest",method:"GET",url:"/receivables?page=".concat(e,"&take=").concat(t,"&status=").concat(o)})}},27031:function(e,t,o){o.d(t,{h:function(){return n}});var i=o(9886);async function n(e){let{url:t,data:o,api:n,method:r="GET",headers:a={},tipo_usuario:l,token:s}=e;return i.Z[n]({method:r,url:t,data:o,api:n,headers:a,tipo_usuario:l,token:s})}},65775:function(e,t,o){o.d(t,{l:function(){return n}});var i=o(27031);async function n(e,t,o){let{status:n,data:r}=await (0,i.h)({api:"newApiRequest",url:"/billings/".concat(e,"/payment-methods"),method:"GET",tipo_usuario:t,token:o});return{status:n,data:r}}},96927:function(e,t,o){o.d(t,{A:function(){return a}});var i=o(85893),n=o(68777);let r=n.ZP.div.withConfig({componentId:"sc-28223798-0"})([""," @media (max-width:800px){padding:0px 8px;font-size:14px;}"],e=>{let{theme:t,isActive:o=!1}=e;return(0,n.iv)(["display:flex;min-height:24px;padding:0px 8px;align-items:center;cursor:pointer;gap:6px;border-radius:24px;border:1px solid ",";background:",";color:",";&.danger{background-color:#ff555c;color:#ffe8e9;}"],o?t.colors.blue[950]:t.colors.lightGray[70],o?t.colors.mediumBlue[100]:t.colors.lightGray[60],o?t.colors.composto.blue:t.colors.lightGray[180])});function a(e){let{text:t,leadingIcon:o,trailingIcon:n,isActive:a=!1,onClick:l,className:s}=e;return(0,i.jsxs)(r,{isActive:a,onClick:l,className:s,children:[o&&(0,i.jsx)("span",{children:o}),(0,i.jsx)("span",{children:t}),n&&(0,i.jsx)("span",{children:n})]})}},90596:function(e,t,o){o.d(t,{I:function(){return Z}});var i=o(85893),n=o(67294),r=o(20473),a=o(57632),l=o(43281),s=o(68777);let d={sm:(e,t,o)=>(0,s.iv)(["font-size:",";height:2rem;padding-inline-start:",";padding-inline-end:",";border-radius:4px;"],e.fonts.size.sm,t?"2.1rem":"1rem",o?"2.1rem":"1rem"),md:(e,t,o)=>(0,s.iv)(["font-size:",";height:3.125rem;padding-inline-start:",";padding-inline-end:",";border-radius:8px;"],e.fonts.size.md,t?"2.5rem":"1rem",o?"2.5rem":"1rem")},c={filled:(e,t)=>(0,s.iv)(["background:",";border:2px solid transparent;color:",";&:-webkit-autofill,&:-webkit-autofill:hover,&:-webkit-autofill:focus{border-bottom:2px solid ",";}&:not(:disabled):not(:focus):hover{border:2px solid ",";}&[readonly]{background:",";font-weight:",";user-select:none;}&:not(:read-only):focus{background:",";border:2px solid ",";}"],e.colors.lightBlue[30],t,e.colors.black,e.colors.lightGray[100],(0,l.$n)(.5,t),e.fonts.weight.bold,e.colors.white,t),outline:(e,t)=>(0,s.iv)(["background:",";border:2px solid ",";color:",";&:-webkit-autofill,&:-webkit-autofill:hover,&:-webkit-autofill:focus{border:2px solid ",";}&:not(:disabled):hover{border:2px solid ",";}&:not(:read-only):focus{background:",";border:2px solid ",";}"],e.colors.white,e.colors.darkGray[350],e.colors.darkGray[350],e.colors.black,e.colors.lightGray[100],e.colors.white,t)},p=(e,t)=>(0,s.iv)(["input{border:2px solid "," !important;color:",";&:hover{border-color:",";}&:focus{border:2px solid ",";}}"],e.colors.lightRed[550],e.colors.lightRed[550],e.colors.lightRed[600],t),u={filled:(e,t)=>p(e,t),outline:(e,t)=>p(e,t)},h={sm:e=>(0,s.iv)(["font-size:",";margin-inline-end:1rem;"],e.fonts.size.sm),md:e=>(0,s.iv)(["font-size:",";margin-inline-end:1rem;"],e.fonts.size.md)},m={sm:e=>(0,s.iv)(["font-size:",";width:2.5rem;height:2rem;"],e.fonts.size.sm),md:e=>(0,s.iv)(["font-size:",";width:3.125rem;height:3.125rem;"],e.fonts.size.md)},g=e=>(0,s.iv)(["display:flex;align-items:center;justify-content:center;position:absolute;top:0px;svg{transition:0.2s;color:",";}svg:hover{color:",";}"],e.colors.darkGray[50],e.colors.lightGray[130]),x=s.ZP.input.withConfig({componentId:"sc-1a100911-0"})(["",""],e=>{let{theme:t,scale:o,variant:i,leftIcon:n,rightIcon:r,colorCompany:a}=e;return(0,s.iv)(["width:100%;outline:transparent solid 2px;outline-offset:2px;position:relative;transition-property:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform;transition-duration:200ms;text-overflow:ellipsis;&:-webkit-autofill,&:-webkit-autofill:hover,&:-webkit-autofill:focus{-webkit-text-fill-color:",";-webkit-box-shadow:0 0 0px 1000px "," inset;transition:background-color 5000s ease-in-out 0s;}&::-ms-reveal,&::-ms-clear{display:none;}&::placeholder{color:",";}
1&:disabled{opacity:0.5;cursor:not-allowed;}"," ",""],t.colors.darkGray[250],t.colors.lightGray[100],t.colors.darkGray[50],d[o](t,n,r),c[i](t,a))}),f=s.ZP.div.withConfig({componentId:"sc-1a100911-1"})(["",""],e=>{let{theme:t,variant:o,isInvalid:i,colorCompany:n}=e;return(0,s.iv)(["",""],i&&u[o](t,n))}),C=s.ZP.label.withConfig({componentId:"sc-1a100911-2"})(["",""],e=>{let{theme:t,scale:o}=e;return(0,s.iv)(["display:block;text-align:start;margin-bottom:0.5rem;color:",";font-weight:",";transition-property:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform;transition-duration:200ms;opacity:1;",""],t.colors.colorText.lightGrey,t.fonts.weight.semibold,h[o](t))}),v=s.ZP.div.withConfig({componentId:"sc-1a100911-3"})(["width:100%;display:flex;position:relative;flex-direction:column;"]),b=s.ZP.div.withConfig({componentId:"sc-1a100911-4"})(["position:relative;"]),w=s.ZP.div.withConfig({componentId:"sc-1a100911-5"})(["",""],e=>{let{theme:t,scale:o}=e;return(0,s.iv)(["left:0px;z-index:2;pointer-events:none;"," ",""],m[o](t),g(t))}),j=s.ZP.div.withConfig({componentId:"sc-1a100911-6"})(["",""],e=>{let{theme:t,scale:o}=e;return(0,s.iv)(["right:0px;pointer-events:none;"," ",""],m[o](t),g(t))}),y=s.ZP.div.withConfig({componentId:"sc-1a100911-7"})(["word-wrap:break-word;"]),I=s.ZP.div.withConfig({componentId:"sc-1a100911-8"})(["",""],e=>{let{theme:t}=e;return(0,s.iv)(["display:flex;align-items:center;color:",";margin-top:0.5rem;font-size:",";"],t.colors.lightRed[550],t.fonts.size.xs)}),L=s.ZP.div.withConfig({componentId:"sc-1a100911-9"})(["",""],e=>{let{theme:t,scale:o}=e;return(0,s.iv)(["right:0px;"," ",""],m[o](t),g(t))});var k=o(85465);let Z=(0,n.forwardRef)((e,t)=>{var o;let{label:l,error:d=null,scale:c="md",variant:p="filled",leftIcon:u,rightIcon:h,type:m="text",isDisabled:g,isHiddenErrorMessage:Z=!1,...P}=e,{colors:R}=(0,s.Fg)(),{whitelabel:z}=(0,k.y)(),E=(0,a.Z)(),S=null!==(o=P.id)&&void 0!==o?o:E,[A,F]=(0,n.useState)(!1),_=()=>F(!A);return(0,i.jsxs)(f,{isInvalid:!!d,variant:p,colorCompany:null==z?void 0:z.cor,children:[!!l&&(0,i.jsx)(C,{htmlFor:S,scale:c,children:l}),(0,i.jsxs)(v,{children:[u&&(0,i.jsx)(w,{"data-testid":"left-icon",scale:c,children:u}),(0,i.jsxs)(b,{children:[(0,i.jsx)(x,{name:S,id:S,type:A?"text":m,scale:c,variant:p,leftIcon:!!u,rightIcon:"password"===m||!!h,disabled:g,colorCompany:null==z?void 0:z.cor,ref:t,...P}),"password"===m?(0,i.jsx)(L,{scale:c,children:A?(0,i.jsx)(r.rnh,{"data-testid":"eye-visible",onClick:_,cursor:"pointer",size:20,color:d?R.lightRed[550]:z.cor}):(0,i.jsx)(r.cqT,{"data-testid":"eye-invisible",onClick:_,cursor:"pointer",size:20,color:d?R.lightRed[550]:z.cor})}):h&&(0,i.jsx)(j,{"data-testid":"right-icon",scale:c,children:h})]}),!Z&&(0,i.jsx)(y,{children:!!d&&(0,i.jsx)(I,{children:d.message})})]})]})})},62392:function(e,t,o){o.d(t,{O:function(){return l}});var i=o(85893);o(67294);var n=o(50549);o(79102);var r=o(68777);let a=r.ZP.div.withConfig({componentId:"sc-4fe58a00-0"})(["",""],e=>{let{theme:t,hasRadius:o,height:i}=e;return(0,r.iv)(["width:auto;height:",";all:unset;overflow:hidden;border-radius:",";> span{display:flex;font-size:",";flex:1;line-height:1;}"],"".concat(i,"px"),o?"8px":"0","".concat(i,"px"))});
1function l(e){let{width:t,height:o,count:r,baseColor:l,highlightColor:s,borderRadius:d=4,hasRadius:c=!1}=e;return(0,i.jsx)(a,{height:o,hasRadius:c,children:(0,i.jsx)(n.Z,{width:t,borderRadius:d,height:o,count:r,baseColor:l,highlightColor:s})})}},323:function(e,t,o){o.d(t,{v:function(){return k}});var i=o(85893),n=o(67294),r=o(15581),a=o(68777);let l=a.ZP.div.withConfig({componentId:"sc-dec16dd9-0"})(["display:flex;justify-content:space-between;align-items:center;gap:0.5rem;"]);a.ZP.div.withConfig({componentId:"sc-dec16dd9-1"})(["display:flex;flex:1;> span{@media (max-width:600px){display:none;}}"]);let s=a.ZP.div.withConfig({componentId:"sc-dec16dd9-2"})(["display:flex;align-items:center;gap:1rem;"]),d=a.ZP.div.withConfig({componentId:"sc-dec16dd9-3"})(["",""],e=>{let{theme:t}=e;return(0,a.iv)(["display:flex;align-items:center;gap:0.5rem;> p{font-size:",";color:",";}> select{width:3.75rem;height:2rem;border-radius:0.375rem;background:transparent;border:1px solid ",";color:",";}"],t.fonts.size.sm,t.colors.darkGray[150],t.colors.gray[115],t.colors.darkGray[350])}),c=a.ZP.div.withConfig({componentId:"sc-dec16dd9-4"})(["",""],e=>{let{theme:t}=e;return(0,a.iv)(["display:flex;align-items:center;justify-content:center;font-size:",";color:",";"],t.fonts.size.sm,t.colors.darkGray[150])}),p=a.ZP.div.withConfig({componentId:"sc-dec16dd9-5"})(["",""],e=>{let{theme:t}=e;return(0,a.iv)(["display:flex;align-items:center;gap:0.5rem;> button{all:unset;width:2rem;height:2rem;display:flex;align-items:center;justify-content:center;color:",";}button[disabled]{color:",";background-color:",";border:1px solid ",";}button,button:active{background-color:",";color:",";border-radius:4px;}button:not(:disabled){cursor:pointer;border:1px solid ",";}& button:first-child,& button:last-child{@media (max-width:600px){display:none;}}"],t.colors.blue[700],t.colors.lightGray[320],t.colors.lightGray[60],t.colors.lightGray[320],t.colors.white,t.colors.darkGray[290],t.colors.lightBlue[90])}),u=a.ZP.p.withConfig({componentId:"sc-dec16dd9-6"})(["position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0;"]);var h=o(68170);let m=(0,a.ZP)(h.fC).withConfig({componentId:"sc-b7c0c11b-0"})(["button{all:unset;}"]),g=a.ZP.div.withConfig({componentId:"sc-b7c0c11b-1"})(["display:flex;text-align:center;justify-content:center;width:100%;gap:0.2rem;"]),x=(0,a.ZP)(h.xz).withConfig({componentId:"sc-b7c0c11b-2"})(["",""],e=>{let{theme:t}=e;return(0,a.iv)(["width:50px;display:inline-flex;align-items:center;justify-content:space-between;border-radius:4px;font-size:",";font-weight:",";line-height:142%;height:32px;gap:5px;white-space:nowrap;color:",";background-color:",";border:1px solid ",";"],t.fonts.size.xs,t.fonts.weight.normal,t.colors.darkGray[260],t.colors.white,t.colors.lightBlue[90])}),f=(0,a.ZP)(h.VY).withConfig({componentId:"sc-b7c0c11b-3"})(["",""],e=>{let{theme:t}=e;return(0,a.iv)(["display:flex;width:50px;overflow:hidden;z-index:9;border-radius:4px;background-color:",";border:1px solid ",";top:0;border-radius:8px;"],t.colors.white,t.colors.lightBlue[90])});(0,a.ZP)(h.l_).withConfig({componentId:"sc-b7c0c11b-4"})(["padding:5px;"]);let C=(0,a.ZP)(h.h_).withConfig({componentId:"sc-b7c0c11b-5"})([""]),v=(0,a.ZP)(h.ck).withConfig({componentId:"sc-b7c0c11b-6"})(["",""],e=>{let{theme:t}=e;return(0,a.iv)(["font-size:",";height:25px;line-height:142%;padding:0 10px;display:flex;align-items:center;position:relative;color:",";&[data-state='checked']{color:",";}&[data-highlighted]{outline:none;background-color:",";}"],t.fonts.size.sm,t.colors.darkGray[900],e=>{let{theme:t}=e;return t.colors.blue[500]},t.colors.lightGray[70])}),b=(0,a.ZP)(h.eT).withConfig({componentId:"sc-b7c0c11b-7"})(["width:100%;font-size:",";"],e=>{let{theme:t}=e;return t.fonts.size.sm});var w=o(55346),j=o(36018);function y(e){let{onValueChange:t,value:o,options:n}=e;return(0,i.jsxs)(m,{onValueChange:t,value:String(o.value),children:[(0,i.jsx)(x,{children:(0,i.jsxs)(g,{children:[(0,i.jsx)(h.B4,{}),(0,i.jsx)(w.sF,{})]})}),(0,i.jsx)(C,{children:(0,i.jsx)(f,{className:"".concat(j.Roboto.variable),position:"popper",side:"bottom",sideOffset:8,align:"center",children:(0,i.jsx)(h.l_,{className:"SelectViewport",children:n.map(e=>(0,i.jsx)(I,{id:String(e.value),children:e.title},e.value))})})})]})}function I(e){let{id:t,children:o}=e;return(0,i.jsx)(v,{value:String(t),children:(0,i.jsx)(b,{children:(0,i.jsx)("div",{className:"item-box",children:(0,i.jsx)("span",{children:o})})})})}let L=[{id:0,quantity:5},{id:1,quantity:10},{id:2,quantity:20},{id:3,quantity:50}];function k(e){let{page:t,totalCount:o,setPage:a,setTake:h,customPaginationOptions:m}
1=e,g=m||L,[x,f]=(0,n.useState)(g[0].quantity);return(0,i.jsx)(l,{children:(0,i.jsxs)(s,{children:[(0,i.jsxs)(d,{children:[(0,i.jsx)("p",{children:"Linhas por p\xe1gina "}),(0,i.jsx)(y,{options:g.map(e=>{let{quantity:t}=e;return{title:String(t),value:t}}),value:{title:String(x),value:x},onValueChange:function(e){h(Number(e)),f(e)}})]}),(0,i.jsxs)(c,{children:["P\xe1gina ",t," de ",o]}),(0,i.jsxs)(p,{children:[(0,i.jsxs)("button",{onClick:()=>a(1),disabled:t<=1,title:"Ir para a primeira p\xe1gina",children:[(0,i.jsx)(u,{children:"Ir para a primeira p\xe1gina"}),(0,i.jsx)(r.xN8,{size:"1rem"})]}),(0,i.jsxs)("button",{onClick:()=>a(t-1),disabled:t<=1,title:"Ir para a p\xe1gina anterior",children:[(0,i.jsx)(u,{children:"Ir para a p\xe1gina anterior"}),(0,i.jsx)(r.CF5,{size:"1rem"})]}),(0,i.jsxs)("button",{onClick:()=>a(t+1),disabled:t>=o,title:"Ir para a pr\xf3xima p\xe1gina",children:[(0,i.jsx)(u,{children:"Ir para a pr\xf3xima p\xe1gina"}),(0,i.jsx)(r.Td4,{size:"1rem"})]}),(0,i.jsxs)("button",{onClick:()=>a(o),disabled:t>=o,title:"Ir para a \xfaltima p\xe1gina",children:[(0,i.jsx)(u,{children:"Ir para a \xfaltima p\xe1gina"}),(0,i.jsx)(r.yci,{size:"1rem"})]})]})]})})}},41446:function(e,t,o){o.d(t,{x:function(){return a}});var i=o(85893);o(67294);var n=o(68777);let r=n.ZP.p.withConfig({componentId:"sc-a61fcfb8-0"})(["",""],e=>{let{theme:t,size:o,fontWeight:i,color:r,hasEllipsis:a,fontFamily:l,display:s}=e;return(0,n.iv)(["font-size:",";color:",";font-weight:",";"," strong{color:",";}"],t.fonts.size[o],r||t.colors.colorText.lightGrey,t.fonts.weight[i],a?(0,n.iv)(["overflow:hidden;white-space:nowrap;text-overflow:ellipsis;"]):(0,n.iv)(["display:",";flex-wrap:wrap;"],s),t.colors.darkGray[250])});function a(e){let{children:t,size:o="md",fontWeight:n="normal",fontFamily:a="text",color:l,hasEllipsis:s,display:d="flex",...c}=e;return(0,i.jsx)(r,{hasEllipsis:s,color:l,size:o,fontWeight:n,fontFamily:a,display:d,...c,children:t})}},22844:function(e,t,o){o.d(t,{D:function(){return a}});var i=o(85893),n=o(68777);let r=n.ZP.h2.withConfig({componentId:"sc-fafdbd96-0"})(["",""],e=>{let{theme:t}=e;return(0,n.iv)(["font-size:1.31rem;color:",";"],t.colors.colorText.darkGrey)});function a(e){let{children:t}=e;return(0,i.jsx)(r,{children:t})}},7907:function(e,t,o){o.d(t,{u:function(){return f}});var i=o(85893),n=o(67294),r=o(69124),a=o(92574),l=o(68777);let s=(0,l.F4)({"0%":{opacity:0},"100%":{opacity:1}}),d={primary:{background:"#E2F3FF",color:" #0660FF"},secondary:{background:"#e6efff",color:" #03286b"}},c=l.ZP.p.withConfig({componentId:"sc-249a7246-0"})(["-webkit-font-smoothing:antialiased;color:"," !important;font-weight:500;font-size:14px;line-height:150%;"],e=>{let{variant:t}=e;return d[t].color}),p=(0,l.ZP)(r.xz).withConfig({componentId:"sc-249a7246-1"})(["display:block;"]),u=(0,l.ZP)(r.VY).withConfig({componentId:"sc-249a7246-2"})(["",""],e=>{let{theme:t,variant:o,margin:i,maxWidth:n}=e;return(0,l.iv)(["background-color:",";border:3px solid ",";max-width:",";border-radius:",";line-height:150%;z-index:100;padding:",";-webkit-animation:"," 0.3s ease-in-out;-moz-animation:"," 0.3s ease-in-out;-o-animation:"," 0.3s ease-in-out;animation:"," 0.3s ease-in-out;white-space:wrap;"],d[o].background,d[o].background,n,t.border.borderRadius.lg,"sm"===i?"0.5rem":"1rem",s,s,s,s)}),h=(0,l.ZP)(r.Eh).withConfig({componentId:"sc-249a7246-3"})([""," margin-top:-2px;width:28px !important;height:14px !important;"],e=>{let{theme:t,variant:o}=e;return(0,l.iv)(["fill:",";"],d[o].background)});var m=o(85465);function g(){let{whitelabel:e}=(0,m.y)();return(0,i.jsxs)("svg",{width:"20",height:"21",viewBox:"0 0 20 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,i.jsxs)("g",{clipPath:"url(#clip0_10427_144212)",children:[(0,i.jsx)("path",{d:"M10 0.5C8.02219 0.5 6.08879 1.08649 4.4443 2.1853C2.79981 3.28412 1.51809 4.84591 0.761209 6.67317C0.00433286 8.50043 -0.193701 10.5111 0.192152 12.4509C0.578004 14.3907 1.53041 16.1725 2.92894 17.5711C4.32746 18.9696 6.10929 19.922 8.0491 20.3079C9.98891 20.6937 11.9996 20.4957 13.8268 19.7388C15.6541 18.9819 17.2159 17.7002 18.3147 16.0557C19.4135 14.4112 20 12.4778 20 10.5C19.9971 7.84872 18.9426 5.30684 17.0679 3.4321C15.1932 1.55736 12.6513 0.502868 10 0.5V0.5ZM10 18.8333C8.35183 18.8333 6.74066 18.3446 5.37025 17.4289C3.99984 16.5132 2.93174 15.2117 2.30101 13.689C1.67028 12.1663 1.50525 10.4908 1.82679 8.87425C2.14834 7.25774 2.94201 5.77288 4.10745 4.60744C5.27289 3.44201 6.75774 2.64833 8.37425 2.32679C9.99076 2.00525 11.6663 2.17027 13.189 2.801C14.7118 3.43173 16.
10132 4.49984 16.9289 5.87025C17.8446 7.24066 18.3333 8.85182 18.3333 10.5C18.3309 12.7094 17.4522 14.8276 15.8899 16.3899C14.3276 17.9522 12.2094 18.8309 10 18.8333V18.8333Z",fill:e.cor_antiga}),(0,i.jsx)("path",{d:"M9.99984 4.66699C9.77882 4.66699 9.56686 4.75479 9.41058 4.91107C9.2543 5.06735 9.1665 5.27931 9.1665 5.50033V12.167C9.1665 12.388 9.2543 12.6 9.41058 12.7562C9.56686 12.9125 9.77882 13.0003 9.99984 13.0003C10.2209 13.0003 10.4328 12.9125 10.5891 12.7562C10.7454 12.6 10.8332 12.388 10.8332 12.167V5.50033C10.8332 5.27931 10.7454 5.06735 10.5891 4.91107C10.4328 4.75479 10.2209 4.66699 9.99984 4.66699Z",fill:e.cor_antiga}),(0,i.jsx)("path",{d:"M10.8332 15.5003C10.8332 15.0401 10.4601 14.667 9.99984 14.667C9.5396 14.667 9.1665 15.0401 9.1665 15.5003C9.1665 15.9606 9.5396 16.3337 9.99984 16.3337C10.4601 16.3337 10.8332 15.9606 10.8332 15.5003Z",fill:e.cor_antiga})]}),(0,i.jsx)("defs",{children:(0,i.jsx)("clipPath",{id:"clip0_10427_144212",children:(0,i.jsx)("rect",{width:"20",height:"20",fill:"white",transform:"translate(0 0.5)"})})})]})}var x=o(36018);function f(e){let{tooltipLocation:t,message:o,customContent:l,variant:s="primary",margin:d="sm",isVisible:m=!0,maxWidth:f="300px",children:C=(0,i.jsx)(g,{})}=e,[v,b]=(0,n.useState)(!1),{width:w}=(0,a.Z)();return m?(0,i.jsx)(r.zt,{delayDuration:100,children:(0,i.jsxs)(r.fC,{open:v,children:[(0,i.jsx)(p,{asChild:!0,children:(0,i.jsx)("span",{onMouseLeave:()=>b(!1),onMouseEnter:()=>b(!0),children:C})}),(0,i.jsx)(r.h_,{children:(0,i.jsxs)(u,{className:"".concat(x.Roboto.variable),margin:d,variant:s,maxWidth:f,sideOffset:5,side:w<=680?"bottom":t,avoidCollisions:!0,children:[l||(0,i.jsx)(c,{variant:s,children:o}),(0,i.jsx)(h,{variant:s})]})})]})}):(0,i.jsx)(i.Fragment,{children:C})}}}]);

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.