PageSourceSearch

https://sentinel-365-c9d4f.web.app/assets/ComunicacaoProactiveCardsSlot-EAGHflXg.js

js sentinel-365-c9d4f.web.app collected 2026-10-03 12:39:04 UTC 1,396 bytes, 1 lines download raw bytes

1import{r as n,j as s}from"./react-vendor-pafHdoJx.js";import{b as r,d as u}from"./index-Db0fDLGN.js";import{u as d}from"./use-feature-flag-3A8HtGoX.js";import{A as c}from"./AtlasInsightCard-BB4lVUAl.js";import"./map-vendor-Dr8zbd0c.js";import"./firebase-vendor-D3UzkAhn.js";import"./ui-vendor-DLXJn6s3.js";import"./DecisionCard-DNZ6nKSh.js";function x(){const t=d("atlas-insight-card"),{data:a}=r(()=>t?u.waStats(7):Promise.resolve(null),[t]),o=n.useMemo(()=>{if(!a)return null;const{totals:e}=a;if(!e||e.total<10)return null;if(e.messagesQueued>=20&&e.outbound<e.messagesQueued/4)return{kpiName:"Fila de envio WhatsApp",currentValueDisplay:`${e.messagesQueued} enfileiradas`,changePercent:100,direction:"negative",rootCauseHint:"envio travou ou instância pode estar desconectada",comparisonPeriod:"últimos 7 dias"};if(e.inbound>0&&e.outbound>0){const i=e.inbound/Math.max(1,e.outbound);if(i>=3&&e.inbound>=30)return{kpiName:"Inbox WhatsApp",currentValueDisplay:`${e.inbound} recebidas vs ${e.outbound} respondidas`,changePercent:Math.round((i-1)*100),direction:"negative",rootCauseHint:"inbox acumulando — considere triagem em lote",comparisonPeriod:"últimos 7 dias"}}return null},[a]);return!t||!o?null:s.jsx("div",{className:"space-y-3 mb-4","data-testid":"comunicacao-proactive-cards-slot",children:s.jsx(c,{insight:o,onViewDetails:()=>{}})})}export{x as ComunicacaoProactiveCardsSlot};

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.