import{j as a,r as e}from"./v_7_4_3_17_17ffe662-3f12-45a2-ae5d-997b41d0d61b.js";import{u as p,d as m}from"./v_7_4_3_17_17ffe662-3f12-45a2-ae5d-997b41d0d61b20.js";import{z as c,m as u}from"./v_7_4_3_17_17ffe662-3f12-45a2-ae5d-997b41d0d61b23.js";import{_ as d,ad as x}from"./v_7_4_3_17_17ffe662-3f12-45a2-ae5d-997b41d0d61b11.js";import{b as g}from"./v_7_4_3_17_17ffe662-3f12-45a2-ae5d-997b41d0d61b37.js";import{u as _}from"./v_7_4_3_17_17ffe662-3f12-45a2-ae5d-997b41d0d61b47.js";import"./v_7_4_3_17_17ffe662-3f12-45a2-ae5d-997b41d0d61b8.js";import"./v_7_4_3_17_17ffe662-3f12-45a2-ae5d-997b41d0d61b19.js";import"./v_7_4_3_17_17ffe662-3f12-45a2-ae5d-997b41d0d61b7.js";import"./v_7_4_3_17_17ffe662-3f12-45a2-ae5d-997b41d0d61b4.js";import"./v_7_4_3_17_17ffe662-3f12-45a2-ae5d-997b41d0d61b3.js";import"./v_7_4_3_17_17ffe662-3f12-45a2-ae5d-997b41d0d61b2.js";import"./v_7_4_3_17_17ffe662-3f12-45a2-ae5d-997b41d0d61b10.js";import"./v_7_4_3_17_17ffe662-3f12-45a2-ae5d-997b41d0d61b6.js";import"./v_7_4_3_17_17ffe662-3f12-45a2-ae5d-997b41d0d61b9.js";const f=e.lazy(() => __vitePreload(()=>import(chrome.runtime.getURL("content/assets/js/v_7_4_3_17_17ffe662-3f12-45a2-ae5d-997b41d0d61b128.js")),[]));function h(){return a.jsx(e.Suspense,{fallback:a.jsx(a.Fragment,{}),children:a.jsx(f,{})})}function I(){const s=p(t=>t.language),o=c(t=>t.chatName),{open:i}=u.getState(),{icons_cor_primaria:r}=m(_(t=>({icons_cor_primaria:t.icons_cor_primaria}))),n=t=>{t.preventDefault(),t.stopPropagation(),i(a.jsx(h,{}))},l=x(o?.autoSave&&"text-[var(--wds-teal-500)]",!o?.autoSave&&r&&"text-[var(--primaria)]",!o?.autoSave&&!r&&"text-[var(--panel-header-icon)]");return a.jsxs("div",{className:"flex gap-1 justify-center items-center",children:[a.jsx("span",{className:"lg:tooltip lg:tooltip-bottom","data-tip":o?.number,id:"chatName",children:o?.name}),a.jsx("span",{onClick:n,className:"cursor-pointer lg:tooltip lg:tooltip-bottom","data-tip":s.contatos_tooltip,role:"button",tabIndex:0,children:a.jsx("span",{className:"pulse",children:a.jsx(g,{size:20,className:l,strokeWidth:1})})})]})}export{I as default};
