import{j as t,m as d}from"./v_7_4_3_72_6a457bf5-eeae-4570-8821-bd6fa39c89263.js";import{u as s}from"./v_7_4_3_72_6a457bf5-eeae-4570-8821-bd6fa39c892656.js";import{q as x}from"./v_7_4_3_72_6a457bf5-eeae-4570-8821-bd6fa39c892625.js";import{a as g}from"./v_7_4_3_72_6a457bf5-eeae-4570-8821-bd6fa39c892649.js";import{u as f,e as h}from"./v_7_4_3_72_6a457bf5-eeae-4570-8821-bd6fa39c89264.js";import{V as v}from"./v_7_4_3_72_6a457bf5-eeae-4570-8821-bd6fa39c89265.js";import{D as j,E as _,F as w}from"./v_7_4_3_72_6a457bf5-eeae-4570-8821-bd6fa39c89268.js";import"./v_7_4_3_72_6a457bf5-eeae-4570-8821-bd6fa39c89262.js";import{openSuporte as y}from"./v_7_4_3_72_6a457bf5-eeae-4570-8821-bd6fa39c892690.js";import{b}from"./v_7_4_3_72_6a457bf5-eeae-4570-8821-bd6fa39c892648.js";import"./v_7_4_3_72_6a457bf5-eeae-4570-8821-bd6fa39c892643.js";import"./v_7_4_3_72_6a457bf5-eeae-4570-8821-bd6fa39c89266.js";import"./v_7_4_3_72_6a457bf5-eeae-4570-8821-bd6fa39c89269.js";import"./v_7_4_3_72_6a457bf5-eeae-4570-8821-bd6fa39c892610.js";import"./v_7_4_3_72_6a457bf5-eeae-4570-8821-bd6fa39c89267.js";import"./v_7_4_3_72_6a457bf5-eeae-4570-8821-bd6fa39c8926.js";import"./v_7_4_3_72_6a457bf5-eeae-4570-8821-bd6fa39c892620.js";import"./v_7_4_3_72_6a457bf5-eeae-4570-8821-bd6fa39c892622.js";import"./v_7_4_3_72_6a457bf5-eeae-4570-8821-bd6fa39c892641.js";import"./v_7_4_3_72_6a457bf5-eeae-4570-8821-bd6fa39c892655.js";import"./v_7_4_3_72_6a457bf5-eeae-4570-8821-bd6fa39c892657.js";import"./v_7_4_3_72_6a457bf5-eeae-4570-8821-bd6fa39c892687.js";import"./v_7_4_3_72_6a457bf5-eeae-4570-8821-bd6fa39c892644.js";import"./v_7_4_3_72_6a457bf5-eeae-4570-8821-bd6fa39c892624.js";import"./v_7_4_3_72_6a457bf5-eeae-4570-8821-bd6fa39c892688.js";import"./v_7_4_3_72_6a457bf5-eeae-4570-8821-bd6fa39c8926122.js";import"./v_7_4_3_72_6a457bf5-eeae-4570-8821-bd6fa39c892674.js";import"./v_7_4_3_72_6a457bf5-eeae-4570-8821-bd6fa39c892638.js";import"./v_7_4_3_72_6a457bf5-eeae-4570-8821-bd6fa39c892671.js";import"./v_7_4_3_72_6a457bf5-eeae-4570-8821-bd6fa39c892646.js";import"./v_7_4_3_72_6a457bf5-eeae-4570-8821-bd6fa39c892681.js";function te(){const a=v(e=>e.session),{estaAoVivo:i,offline:o,online:r}=g(s(e=>({estaAoVivo:e.estaAoVivo,offline:e.offline,online:e.online}))),m=f(s(e=>e.language)),p=x(e=>e.close),{suporte_clientes_premium:n,suporte_clientes_gratuitos:l}=h(s(e=>({suporte_clientes_premium:e.getUrl("principais","suporte_premium"),suporte_clientes_gratuitos:e.getUrl("principais","suporte_gratuitos")}))),c=()=>{p(),i?window.open(r.urlMeet,"_blank"):y(a.is_premium?n:l)},u=t.jsxs("div",{className:"min-w-[450px] max-w-[600px] text-center grid gap-4",children:[t.jsx("div",{className:"flex justify-start",children:t.jsx("div",{className:"m-auto max-w-[540px] w-full",children:t.jsx(j,{children:i?r.title:o.title})})}),t.jsx(_,{children:t.jsx("p",{className:"text-justify max-h-[80vh] overflow-y-auto pr-3",dangerouslySetInnerHTML:{__html:(i?r.description:o.description).replace(/\_(.*?)\_/g,'<strong class="italic">$1</strong>').replace(/\*(.*?)\*/g,"<strong>$1</strong>").replace(/\n/g,"<br>")}})}),(i||o.suportRedirect)&&t.jsx("div",{className:"flex justify-center",children:t.jsxs(d.button,{onClick:c,className:"group relative overflow-hidden bg-[var(--primaria)] hover:bg-[var(--secundaria)] text-white font-medium px-5 py-3 rounded-lg shadow-sm hover:shadow-md flex items-center justify-center gap-2 text-lg",whileTap:{scale:.95},initial:{opacity:0,x:30},animate:{opacity:1,x:0},transition:{delay:.6},children:[i?t.jsx(b,{size:20}):t.jsx(w,{size:20}),t.jsx("span",{children:i?r.btnName:m.suporte})]})})]});return(o.active||i)&&u}export{te as default};
