import{j as a}from"./v_7_4_3_28_345c6a4a-aab6-4ec9-a0c6-3718e7fdb1165.js";import{u as l,e as u}from"./v_7_4_3_28_345c6a4a-aab6-4ec9-a0c6-3718e7fdb1164.js";import{z as d,m as x}from"./v_7_4_3_28_345c6a4a-aab6-4ec9-a0c6-3718e7fdb11623.js";import{u as h}from"./v_7_4_3_28_345c6a4a-aab6-4ec9-a0c6-3718e7fdb11622.js";import{_ as f,Y as v}from"./v_7_4_3_28_345c6a4a-aab6-4ec9-a0c6-3718e7fdb1167.js";import{r as s}from"./v_7_4_3_28_345c6a4a-aab6-4ec9-a0c6-3718e7fdb116.js";import{b as _}from"./v_7_4_3_28_345c6a4a-aab6-4ec9-a0c6-3718e7fdb11637.js";import{u as r}from"./v_7_4_3_28_345c6a4a-aab6-4ec9-a0c6-3718e7fdb11647.js";import"./v_7_4_3_28_345c6a4a-aab6-4ec9-a0c6-3718e7fdb1163.js";import"./v_7_4_3_28_345c6a4a-aab6-4ec9-a0c6-3718e7fdb1162.js";import"./v_7_4_3_28_345c6a4a-aab6-4ec9-a0c6-3718e7fdb1169.js";import"./v_7_4_3_28_345c6a4a-aab6-4ec9-a0c6-3718e7fdb11610.js";import"./v_7_4_3_28_345c6a4a-aab6-4ec9-a0c6-3718e7fdb11620.js";import"./v_7_4_3_28_345c6a4a-aab6-4ec9-a0c6-3718e7fdb1168.js";import"./v_7_4_3_28_345c6a4a-aab6-4ec9-a0c6-3718e7fdb11646.js";import"./v_7_4_3_28_345c6a4a-aab6-4ec9-a0c6-3718e7fdb1166.js";import"./v_7_4_3_28_345c6a4a-aab6-4ec9-a0c6-3718e7fdb11648.js";import"./v_7_4_3_28_345c6a4a-aab6-4ec9-a0c6-3718e7fdb11611.js";const g=s.lazy(() => __vitePreload(()=>import(chrome.runtime.getURL("content/assets/js/v_7_4_3_28_345c6a4a-aab6-4ec9-a0c6-3718e7fdb116128.js")),[]));function j(){return a.jsx(s.Suspense,{fallback:a.jsx(a.Fragment,{}),children:a.jsx(g,{})})}function R(){const i=l(t=>t.language),o=d(t=>t.chatName),n=x(t=>t.open),{icons_cor_primaria:e}=u(r(t=>({icons_cor_primaria:t.icons_cor_primaria}))),{openWithGetEvents:p}=h(r(t=>({openWithGetEvents:t.openWithGetEvents}))),m=t=>{t.preventDefault(),t.stopPropagation(),n(a.jsx(j,{}))},c=v(o?.autoSave&&"text-[var(--wds-teal-500)]",!o?.autoSave&&e&&"text-[var(--primaria)]",!o?.autoSave&&!e&&"text-[var(--panel-header-icon)]");return a.jsxs("div",{className:"flex gap-1 justify-center items-center",children:[a.jsx("span",{id:"chatName",children:o?.name}),a.jsx("span",{onClick:m,role:"button",tabIndex:0,...p(i.contatos_tooltip,{placement:"bottom"}),children:a.jsx("span",{className:"pulse",children:a.jsx(_,{size:20,className:c,strokeWidth:1})})})]})}export{R as default};
