PageSourceSearch

https://alinhafood.com.br/_next/static/chunks/29923.8b4a93aef27210e7.js

js alinhafood.com.br collected 2026-10-02 01:19:34 UTC 18,729 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[29923],{8803:(e,t,s)=>{s.d(t,{A:()=>a});let a=(0,s(71847).A)("arrow-down",[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]])},11716:(e,t,s)=>{s.d(t,{A:()=>a});let a=(0,s(71847).A)("package-search",[["path",{d:"M21 10V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l2-1.14",key:"e7tb2h"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}],["polyline",{points:"3.29 7 12 12 20.71 7",key:"ousv84"}],["line",{x1:"12",x2:"12",y1:"22",y2:"12",key:"a4e8g8"}],["circle",{cx:"18.5",cy:"15.5",r:"2.5",key:"b5zd12"}],["path",{d:"M20.27 17.27 22 19",key:"1l4muz"}]])},20562:(e,t,s)=>{s.d(t,{A:()=>a});let a=(0,s(71847).A)("arrow-up",[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]])},26921:(e,t,s)=>{s.d(t,{A:()=>a});let a=(0,s(71847).A)("trending-down",[["path",{d:"M16 17h6v-6",key:"t6n2it"}],["path",{d:"m22 17-8.5-8.5-5 5L2 7",key:"x473p"}]])},29923:(e,t,s)=>{s.r(t),s.d(t,{default:()=>Q});var a=s(95155),l=s(12115),n=s(26265),r=s(98128),i=s(68425),c=s(47734),o=s(73697),d=s(33420),x=s(14989),m=s(69386),u=s(14724),h=s(26921),p=s(89559),j=s(10512),g=s(45345),b=s(37107),f=s(11716),N=s(80647),v=s(12108),y=s(24033),k=s(8803),w=s(20562),A=s(93341),C=s(14272),F=s(78384),M=s(28394),B=s(38971);async function S(){var e;let{data:{session:t}}=await (0,C.U)("admin").auth.getSession();return null!=(e=null==t?void 0:t.access_token)?e:""}let D=e=>e.toLocaleString("pt-BR",{style:"currency",currency:"BRL"});function z(e){return e.toISOString().slice(0,10)}function V(e){let t=new Date,s=new Date;return s.setDate(s.getDate()-e+1),{de:z(s),ate:z(t)}}function _(e){let{active:t,payload:s,label:l}=e;return t&&(null==s?void 0:s.length)?(0,a.jsxs)("div",{className:"bg-slate-900 border border-slate-700 rounded-xl p-3 shadow-xl text-xs",children:[(0,a.jsx)("p",{className:"font-black text-white mb-2",children:l}),s.map((e,t)=>(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)("span",{className:"w-2 h-2 rounded-full",style:{background:e.color}}),(0,a.jsxs)("span",{className:"text-slate-300",children:[e.name,":"]}),(0,a.jsx)("span",{className:"font-bold text-white",children:D(e.value)})]},t))]}):null}function q(e){let{icon:t,label:s,value:l,sub:n,accent:r}=e;return(0,a.jsxs)("div",{className:"bg-white rounded-2xl shadow border border-slate-200 p-5 flex items-start gap-4 max-md:p-3",children:[(0,a.jsx)("div",{className:"w-11 h-11 rounded-xl flex items-center justify-center flex-shrink-0 max-md:hidden ".concat(r?"bg-[#10B981]/10 text-[#10B981]":"bg-[#1A56DB]/10 text-[#1A56DB]"),children:(0,a.jsx)(t,{size:20})}),(0,a.jsxs)("div",{className:"min-w-0",children:[(0,a.jsx)("p",{className:"text-xs font-semibold text-[#475569] uppercase tracking-wide mb-0.5 max-md:text-[0.72rem] max-md:normal-case max-md:tracking-normal max-md:leading-tight",children:s}),(0,a.jsx)("p",{className:"text-xl font-black text-[#0F172A] leading-tight truncate max-md:text-lg",children:l}),n&&(0,a.jsx)("p",{className:"text-xs text-[#475569] mt-0.5 truncate max-md:whitespace-normal",children:n})]})]})}function Q(){var e,t,s,C;let{restaurantId:z}=(0,F.p)(),[Q,E]=(0,l.useState)(30),[U,L]=(0,l.useState)(""),[R,P]=(0,l.useState)(""),T=(0,l.useMemo)(()=>null!==Q?V(Q):U&&R?{de:U,ate:R}:V(30),[Q,U,R]),[I,K]=(0,l.useState)(null),[W,$]=(0,l.useState)(0),[H,O]=(0,l.useState)(!0),[G,Z]=(0,l.useState)(null),[J,X]=(0,l.useState)("desc"),[Y,ee]=(0,l.useState)([]),[et,es]=(0,l.useState)(!1),ea=(0,l.useCallback)(async()=>{if(!z){K(null),$(0),O(!1);return}O(!0),Z(null);let e=await S(),{de:t,ate:s}=T,a=(0,M.H)("/api/admin/estoque/cmv",z,{de:t,ate:s}),l=(0,M.H)("/api/admin/financeiro/lancamentos/resumo",z,{de:t,ate:s});try{var n,r;let[t,s]=await Promise.all([fetch(a,{headers:{Authorization:"Bearer ".concat(e)}}),fetch(l,{headers:{Authorization:"Bearer ".concat(e)}})]);if(!t.ok)throw Error("CMV: ".concat(t.status));let i=await t.json();if(K(i),s.ok){let e=await s.json();$(Number(null!=(n=e.receitas)?n:0))}else $(0);let c=[...null!=(r=i.detalhes)?r:[]].sort((e,t)=>
1t.quantidade*t.custo_unitario-e.quantidade*e.custo_unitario).slice(0,10);ee(c.map(e=>{var t,s,a,l,n,r;return{id:e.id,name:null!=(l=null==(t=e.inventory)?void 0:t.name)?l:"—",category:null!=(n=null==(s=e.inventory)?void 0:s.category)?n:"—",unit:null!=(r=null==(a=e.inventory)?void 0:a.unit)?r:"",originalQty:e.quantidade,simQty:String(e.quantidade),custoUnitario:e.custo_unitario}}))}catch(e){Z(e instanceof Error?e.message:"Erro ao carregar dados")}finally{O(!1)}},[T,z]);(0,l.useEffect)(()=>{ea()},[ea]);let el=null!=(t=null==I?void 0:I.total_cmv)?t:0,en=W>0?el/W*100:0,er=(0,l.useMemo)(()=>{var e;return(null==I||null==(e=I.por_categoria)?void 0:e.length)?[...I.por_categoria].sort((e,t)=>t.custo-e.custo)[0]:null},[I]),ei=null!=(s=null==I||null==(e=I.detalhes)?void 0:e.length)?s:0,ec=(0,l.useMemo)(()=>(null==I?void 0:I.por_categoria)?[...I.por_categoria].filter(e=>e.custo>0).sort((e,t)=>t.custo-e.custo):[],[I]),eo=(0,l.useMemo)(()=>(null==I?void 0:I.detalhes)?[...I.detalhes].sort((e,t)=>{let s=e.quantidade*e.custo_unitario,a=t.quantidade*t.custo_unitario;return"desc"===J?a-s:s-a}):[],[I,J]),ed=(0,l.useMemo)(()=>Y.reduce((e,t)=>e+(parseFloat(t.simQty)||0)*t.custoUnitario,0),[Y]),ex=(0,l.useMemo)(()=>Y.reduce((e,t)=>e+t.originalQty*t.custoUnitario,0),[Y]),em=ed-ex;return H?(0,a.jsxs)("div",{className:"p-6 space-y-6",children:[(0,a.jsx)("div",{className:"skeleton h-10 rounded-xl w-80"}),(0,a.jsx)("div",{className:"grid grid-cols-2 lg:grid-cols-4 gap-4 max-md:gap-2",children:[void 0,void 0,void 0,void 0].map((e,t)=>(0,a.jsx)("div",{className:"skeleton h-24 rounded-2xl"},t))}),(0,a.jsx)("div",{className:"skeleton h-64 rounded-2xl"}),(0,a.jsx)("div",{className:"skeleton h-48 rounded-2xl"})]}):G?(0,a.jsx)("div",{className:"p-6",children:(0,a.jsxs)("div",{className:"bg-red-50 border border-red-200 rounded-2xl p-6 flex items-center gap-4",children:[(0,a.jsx)(h.A,{className:"text-red-500 flex-shrink-0",size:24}),(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"font-bold text-red-700",children:"Erro ao carregar CMV"}),(0,a.jsx)("p",{className:"text-sm text-red-600",children:G})]}),(0,a.jsxs)("button",{onClick:ea,className:"ml-auto bg-[#1A56DB] text-white rounded-xl px-4 py-2 text-sm font-bold flex items-center gap-2 hover:bg-[#1e3a8a] transition-all",children:[(0,a.jsx)(p.A,{size:14}),"Tentar novamente"]})]})}):(0,a.jsxs)("div",{className:"p-6 max-md:p-3 space-y-6 bg-[#F5F6F8] min-h-screen",children:[(0,a.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-4",children:[(0,a.jsxs)("div",{children:[(0,a.jsxs)("h1",{className:"text-2xl font-black text-[#0F172A] font-[family-name:var(--font-heading)] inline-flex items-center gap-2",children:["CMV — Custo de Mercadoria Vendida",(0,a.jsx)(B.V,{title:"CMV — Custo de Mercadoria Vendida",children:"Quanto seu restaurante gastou em insumos para gerar a receita do per\xedodo. Calculado a partir das fichas t\xe9cnicas \xd7 vendas. CMV% baixo significa margem maior — geralmente o ideal fica entre 28% e 35% no setor."})]}),(0,a.jsx)("p",{className:"text-sm text-[#475569] mt-0.5",children:"An\xe1lise de custo por insumo e categoria"})]}),(0,a.jsxs)("button",{onClick:ea,className:"bg-[#1A56DB] text-white rounded-xl px-4 py-2 text-sm font-bold flex items-center gap-2 hover:bg-[#1e3a8a] transition-all",children:[(0,a.jsx)(p.A,{size:14}),"Atualizar"]})]}),(0,a.jsxs)("div",{className:"bg-white rounded-2xl shadow border border-slate-200 p-4 flex flex-wrap items-center gap-3",children:[(0,a.jsx)("span",{className:"text-sm font-semibold text-[#475569]",children:"Per\xedodo:"}),(0,a.jsx)("div",{className:"flex gap-2",children:[7,15,30,90].map(e=>(0,a.jsxs)("button",{onClick:()=>{E(e),L(""),P("")},className:"px-3 py-1.5 rounded-xl text-sm font-bold transition-all ".concat(Q===e?"bg-[#1A56DB] text-white":"bg-slate-100 text-[#475569] hover:bg-slate-200"),children:[e,"d"]},e))}),(0,a.jsxs)("div",{className:"flex flex-wrap items-center gap-2 ml-auto max-md:ml-0 max-md:w-full",children:[(0,a.jsx)("span",{className:"text-sm text-[#475569]",children:"De"}),(0,a.jsx)("input",{type:"date",value:U,onChange:e=>{L(e.target.value),E(null)},className:"border border-slate-200 rounded-xl px-3 py-1.5 text-sm text-[#0F172A] focus:outline-none focus:ring-2 focus:ring-[#1A56DB]/30"}),(0,a.jsx)("span",{className:"text-sm text-[#475569]",children:"At\xe9"}),(0,a.jsx)("input",{type:"date",value:R,onChange:e=>{P(e.target.value),E(null)},className:"border border-slate-200 rounded-xl px-3 py-1.5 text-sm text-[#0F172A] focus:outline-none focus:ring-2 focus:ring-[#1A56DB]/30"})]})]}),(0,a.jsxs)("div",{className:"grid grid-cols-2 lg:grid-cols-4 gap-4 max-md:gap-2",children:[(0,a.jsx)(q,{icon:j.A,label:"Total CMV",value:D(el),sub:"".concat(T.de," → ").concat(T.ate)}),(0,a.jsx)(q,{icon:h.A,label:"CMV%",value:"".concat(en.toFixed(1).replace(".",","),"%"),sub:W>0?"Receita: ".concat(D(W)):"Receita n\xe3o dispon\xedvel",accent:en<35}),(0,a.jsx)(q,{icon:g.A,label:"Maior Categoria",value:null!=(C=null==er?void 0:er.categoria)?C:"—",sub:er?D(er.custo):void 0}),(0,a.jsx)(q,{icon:b.A,label:"Itens Analisados",value:String(ei),sub:"insumos no per\xedodo"})]}),(0,a.jsxs)("div",{className:"bg-white rounded-2xl shadow border border-slate-200 p-6",children:[(0,a.jsx)("h2",{className:"text-base font-black text-[#0F172A] mb-1",children:"Custo por Categoria"}),(0,a.jsx)("p",{className:"text-xs text-[#475569] mb-5",children:"Custo total agrupado por categoria de insumo"}),0===ec.length?(0,a.jsxs)("div",{className:"flex flex-col items-center justify-center h-48 text-[#475569]",children:[(0,a.jsx)(f.A,{size:36,className:"mb-3 opacity-40"}),(0,a.jsx)("p",{className:"font-semibold text-sm",children:"Nenhum dado no per\xedodo"})]}):(0,a.jsx)(n.u,{width:"100%",height:280,children:(0,a.jsxs)(r.E,{data:ec,margin:{top:16,right:16,left:8,bottom:8},barCategoryGap:"35%",children:[(0,a.jsx)(i.d,{strokeDasharray:"3 3",stroke:"#E2E8F0",vertical:!1}
1),(0,a.jsx)(c.W,{dataKey:"categoria",tick:{fontSize:11,fill:"#475569",fontWeight:600},axisLine:!1,tickLine:!1}),(0,a.jsx)(o.h,{tickFormatter:e=>Math.abs(e)>=1e3?"R$".concat((e/1e3).toFixed(0),"k"):"R$".concat(e),tick:{fontSize:11,fill:"#475569"},axisLine:!1,tickLine:!1,width:60}),(0,a.jsx)(d.m,{content:(0,a.jsx)(_,{})}),(0,a.jsxs)(x.yP,{dataKey:"custo",name:"Custo",radius:[6,6,0,0],fill:"#1A56DB",children:[ec.map((e,t)=>(0,a.jsx)(m.f,{fill:0===t?"#1A56DB":"hsl(".concat(221+15*t,", ").concat(65-5*t,"%, ").concat(55+3*t,"%)")},t)),(0,a.jsx)(u.Ze,{dataKey:"custo",position:"top",formatter:e=>{let t=Number(e);return Math.abs(t)>=1e3?"R$".concat((t/1e3).toFixed(1),"k"):D(t)},style:{fontSize:10,fill:"#475569",fontWeight:700}})]})]})})]}),(0,a.jsxs)("div",{className:"bg-white rounded-2xl shadow border border-slate-200 overflow-hidden",children:[(0,a.jsxs)("button",{onClick:()=>es(e=>!e),className:"w-full flex items-center justify-between px-6 py-4 hover:bg-slate-50 transition-all",children:[(0,a.jsxs)("div",{className:"flex items-center gap-3",children:[(0,a.jsx)("div",{className:"w-9 h-9 bg-[#10B981]/10 text-[#10B981] rounded-xl flex items-center justify-center",children:(0,a.jsx)(N.A,{size:18})}),(0,a.jsxs)("div",{className:"text-left",children:[(0,a.jsx)("p",{className:"font-black text-[#0F172A] text-sm",children:"Simula\xe7\xe3o de CMV"}),(0,a.jsx)("p",{className:"text-xs text-[#475569]",children:"Ajuste quantidades para ver o impacto projetado"})]})]}),(0,a.jsxs)("div",{className:"flex items-center gap-4",children:[(0,a.jsxs)("div",{className:"hidden sm:flex items-center gap-6 text-sm",children:[(0,a.jsxs)("span",{className:"text-[#475569]",children:["Atual:"," ",(0,a.jsx)("span",{className:"font-black text-[#0F172A]",children:D(ex)})]}),(0,a.jsxs)("span",{className:"font-black ".concat(em>0?"text-red-600":em<0?"text-[#10B981]":"text-[#0F172A]"),children:["Projetado: ",D(ed)]})]}),et?(0,a.jsx)(v.A,{size:18,className:"text-[#475569]"}):(0,a.jsx)(y.A,{size:18,className:"text-[#475569]"})]})]}),et&&(0,a.jsxs)("div",{className:"px-6 pb-6",children:[(0,a.jsxs)("div",{className:"flex flex-wrap gap-4 mb-4 p-4 bg-[#F5F6F8] rounded-xl",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)("span",{className:"w-3 h-3 rounded-full bg-[#1A56DB]"}),(0,a.jsx)("span",{className:"text-sm text-[#475569]",children:"CMV Atual (top 10):"}),(0,a.jsx)("span",{className:"font-black text-[#0F172A] text-sm",children:D(ex)})]}),(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)("span",{className:"w-3 h-3 rounded-full ".concat(em>0?"bg-red-500":"bg-[#10B981]")}),(0,a.jsx)("span",{className:"text-sm text-[#475569]",children:"CMV Projetado:"}),(0,a.jsx)("span",{className:"font-black text-sm ".concat(em>0?"text-red-600":em<0?"text-[#10B981]":"text-[#0F172A]"),children:D(ed)})]}),0!==em&&(0,a.jsxs)("div",{className:"flex items-center gap-1 ml-auto",children:[(0,a.jsxs)("span",{className:"text-sm font-black ".concat(em>0?"text-red-600":"text-[#10B981]"),children:[em>0?"+":"",D(em)]}),(0,a.jsx)("span",{className:"text-xs text-[#475569]",children:"vs atual"})]})]}),0===Y.length?(0,a.jsx)("p",{className:"text-sm text-[#475569] text-center py-6",children:"Nenhum item dispon\xedvel para simula\xe7\xe3o"}):(0,a.jsx)("div",{className:"overflow-x-auto cel-tabela-fixa",children:(0,a.jsxs)("table",{className:"w-full text-sm",children:[(0,a.jsx)("thead",{children:(0,a.jsxs)("tr",{className:"border-b border-slate-100",children:[(0,a.jsx)("th",{className:"text-left text-xs font-bold text-[#475569] uppercase tracking-wide py-2 pr-4",children:"Insumo"}),(0,a.jsx)("th",{className:"text-left text-xs font-bold text-[#475569] uppercase tracking-wide py-2 pr-4",children:"Categoria"}),(0,a.jsx)("th",{className:"text-right text-xs font-bold text-[#475569] uppercase tracking-wide py-2 pr-4",children:"Custo Unit."}),(0,a.jsx)("th",{className:"text-right text-xs font-bold text-[#475569] uppercase tracking-wide py-2 pr-4",children:"Qtd Original"}),(0,a.jsx)("th",{className:"text-right text-xs font-bold text-[#475569] uppercase tracking-wide py-2 pr-4",children:"Qtd Simulada"}),(0,a.jsx)("th",{className:"text-right text-xs font-bold text-[#475569] uppercase tracking-wide py-2",children:"Custo Projetado"})]})}),(0,a.jsx)("tbody",{children:Y.map(e=>{let t=(parseFloat(e.simQty)||0)*e.custoUnitario,s=t-e.originalQty*e.custoUnitario;return(0,a.jsxs)("tr",{className:"border-b border-slate-50 hover:bg-slate-50 transition-colors",children:[(0,a.jsx)("td",{className:"py-2.5 pr-4 font-semibold text-[#0F172A]",children:e.name}),(0,a.jsx)("td",{className:"py-2.5 pr-4 text-[#475569]",children:e.category}),(0,a.jsxs)("td",{className:"py-2.5 pr-4 text-right text-[#475569]",children:[D(e.custoUnitario),"/",e.unit]}),(0,a.jsx)("td",{className:"py-2.5 pr-4 text-right text-[#475569]",children:e.originalQty}),(0,a.jsx)("td",{className:"py-2.5 pr-4 text-right",children:(0,a.jsx)("input",{type:"number",min:"0",step:"0.01",value:e.simQty,onChange:t=>{var s,a;return s=e.id,a=t.target.value,void ee(e=>e.map(e=>e.id===s?{...e,simQty:a}:e))},className:"w-24 border border-slate-200 rounded-xl px-2 py-1 text-right text-[#0F172A] font-semibold focus:outline-none focus:ring-2 focus:ring-[#1A56DB]/30 text-sm"})}),(0,a.jsx)("td",{className:"py-2.5 text-right",children:(0,a.jsx)("span",{className:"font-black text-sm ".concat(s>0?"text-red-600":s<0?"text-[#10B981]":"text-[#0F172A]"),children:D(t)})})]},e.id)})})]})})]})]}),(0,a.jsxs)("div",{className:"bg-white rounded-2xl shadow border border-slate-200 overflow-hidden",children:[(0,a.jsxs)("div",{className:"px-6 py-4 border-b border-slate-100 flex items-center justify-between gap-4",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("h2",{className:"font-black text-[#0F172A] text-base",children:"Detalhamento por Insumo"}),(0,a.jsxs)("p",{className:"text-xs text-[#475569] mt-0.5",children:[ei," ",1===ei?"insumo":"insumos"," consumidos no per\xedodo"]}
1)]}),(0,a.jsxs)("button",{onClick:()=>X(e=>"desc"===e?"asc":"desc"),className:"flex items-center gap-2 text-xs font-bold text-[#475569] bg-slate-100 hover:bg-slate-200 rounded-xl px-3 py-1.5 transition-all",children:["desc"===J?(0,a.jsx)(k.A,{size:12}):(0,a.jsx)(w.A,{size:12}),"Custo Total",(0,a.jsx)(A.A,{size:12})]})]}),0===eo.length?(0,a.jsxs)("div",{className:"flex flex-col items-center justify-center py-16 text-[#475569]",children:[(0,a.jsx)(f.A,{size:40,className:"mb-3 opacity-30"}),(0,a.jsx)("p",{className:"font-semibold",children:"Nenhum insumo encontrado no per\xedodo"}),(0,a.jsx)("p",{className:"text-xs mt-1",children:"Tente ajustar o intervalo de datas"})]}):(0,a.jsx)("div",{className:"overflow-x-auto cel-tabela-fixa",children:(0,a.jsxs)("table",{className:"w-full text-sm",children:[(0,a.jsx)("thead",{className:"bg-[#F5F6F8]",children:(0,a.jsx)("tr",{children:["Insumo","Categoria","Qtd Consumida","Custo Unit\xe1rio","Custo Total"].map(e=>(0,a.jsx)("th",{className:"text-left text-xs font-bold text-[#475569] uppercase tracking-wide px-4 py-3",children:e},e))})}),(0,a.jsx)("tbody",{children:eo.map(e=>{var t,s,l,n,r;let i=e.quantidade*e.custo_unitario;return(0,a.jsxs)("tr",{className:"border-t border-slate-50 hover:bg-slate-50 transition-colors",children:[(0,a.jsx)("td",{className:"px-4 py-3 font-semibold text-[#0F172A]",children:null!=(n=null==(t=e.inventory)?void 0:t.name)?n:"—"}),(0,a.jsx)("td",{className:"px-4 py-3",children:(null==(s=e.inventory)?void 0:s.category)?(0,a.jsx)("span",{className:"inline-flex items-center px-2 py-0.5 rounded-full text-xs font-semibold bg-[#1A56DB]/10 text-[#1A56DB]",children:e.inventory.category}):(0,a.jsx)("span",{className:"text-[#475569]",children:"—"})}),(0,a.jsxs)("td",{className:"px-4 py-3 text-[#475569]",children:[e.quantidade.toLocaleString("pt-BR",{maximumFractionDigits:3})," ",(0,a.jsx)("span",{className:"text-xs",children:null!=(r=null==(l=e.inventory)?void 0:l.unit)?r:""})]}),(0,a.jsx)("td",{className:"px-4 py-3 text-[#475569]",children:D(e.custo_unitario)}),(0,a.jsx)("td",{className:"px-4 py-3 font-black text-[#0F172A]",children:D(i)})]},e.id)})}),(0,a.jsx)("tfoot",{className:"border-t-2 border-slate-200 bg-[#F5F6F8]",children:(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{colSpan:4,className:"px-4 py-3 text-sm font-black text-[#0F172A]",children:"Total CMV"}),(0,a.jsx)("td",{className:"px-4 py-3 font-black text-[#1A56DB] text-sm",children:D(el)})]})})]})})]})]})}},93341:(e,t,s)=>{s.d(t,{A:()=>a});let a=(0,s(71847).A)("arrow-up-down",[["path",{d:"m21 16-4 4-4-4",key:"f6ql7i"}],["path",{d:"M17 20V4",key:"1ejh1v"}],["path",{d:"m3 8 4-4 4 4",key:"11wl7u"}],["path",{d:"M7 4v16",key:"1glfcx"}]])}}]);

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.