import{j as t,m as d}from"./v_7_4_3_73_d3c9bac7-c74e-47f6-ac42-499f067843a53.js";import{u as s}from"./v_7_4_3_73_d3c9bac7-c74e-47f6-ac42-499f067843a556.js";import{q as x}from"./v_7_4_3_73_d3c9bac7-c74e-47f6-ac42-499f067843a525.js";import{a as g}from"./v_7_4_3_73_d3c9bac7-c74e-47f6-ac42-499f067843a549.js";import{u as f,e as h}from"./v_7_4_3_73_d3c9bac7-c74e-47f6-ac42-499f067843a54.js";import{V as v}from"./v_7_4_3_73_d3c9bac7-c74e-47f6-ac42-499f067843a55.js";import{D as j,E as _,F as w}from"./v_7_4_3_73_d3c9bac7-c74e-47f6-ac42-499f067843a58.js";import"./v_7_4_3_73_d3c9bac7-c74e-47f6-ac42-499f067843a52.js";import{openSuporte as y}from"./v_7_4_3_73_d3c9bac7-c74e-47f6-ac42-499f067843a590.js";import{b}from"./v_7_4_3_73_d3c9bac7-c74e-47f6-ac42-499f067843a548.js";import"./v_7_4_3_73_d3c9bac7-c74e-47f6-ac42-499f067843a543.js";import"./v_7_4_3_73_d3c9bac7-c74e-47f6-ac42-499f067843a56.js";import"./v_7_4_3_73_d3c9bac7-c74e-47f6-ac42-499f067843a59.js";import"./v_7_4_3_73_d3c9bac7-c74e-47f6-ac42-499f067843a510.js";import"./v_7_4_3_73_d3c9bac7-c74e-47f6-ac42-499f067843a57.js";import"./v_7_4_3_73_d3c9bac7-c74e-47f6-ac42-499f067843a5.js";import"./v_7_4_3_73_d3c9bac7-c74e-47f6-ac42-499f067843a520.js";import"./v_7_4_3_73_d3c9bac7-c74e-47f6-ac42-499f067843a522.js";import"./v_7_4_3_73_d3c9bac7-c74e-47f6-ac42-499f067843a541.js";import"./v_7_4_3_73_d3c9bac7-c74e-47f6-ac42-499f067843a555.js";import"./v_7_4_3_73_d3c9bac7-c74e-47f6-ac42-499f067843a557.js";import"./v_7_4_3_73_d3c9bac7-c74e-47f6-ac42-499f067843a587.js";import"./v_7_4_3_73_d3c9bac7-c74e-47f6-ac42-499f067843a544.js";import"./v_7_4_3_73_d3c9bac7-c74e-47f6-ac42-499f067843a524.js";import"./v_7_4_3_73_d3c9bac7-c74e-47f6-ac42-499f067843a588.js";import"./v_7_4_3_73_d3c9bac7-c74e-47f6-ac42-499f067843a5122.js";import"./v_7_4_3_73_d3c9bac7-c74e-47f6-ac42-499f067843a574.js";import"./v_7_4_3_73_d3c9bac7-c74e-47f6-ac42-499f067843a538.js";import"./v_7_4_3_73_d3c9bac7-c74e-47f6-ac42-499f067843a571.js";import"./v_7_4_3_73_d3c9bac7-c74e-47f6-ac42-499f067843a546.js";import"./v_7_4_3_73_d3c9bac7-c74e-47f6-ac42-499f067843a581.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};
