import{j as e,y as p,H as c,al as d}from"./v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b225080910.js";import{u as a}from"./v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b225080971.js";import{o as u}from"./v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b225080923.js";import{u as x}from"./v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b225080922.js";import{u as f}from"./v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b225080919.js";import{openSuporte as g}from"./v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b225080982.js";import{a as h}from"./v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b225080939.js";import{m as v}from"./v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b225080965.js";import"./v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b225080918.js";import"./v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b22508098.js";import"./v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b22508094.js";import"./v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b2250809.js";import"./v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b22508095.js";import"./v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b22508097.js";import"./v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b22508096.js";import"./v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b22508092.js";import"./v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b22508093.js";import"./v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b22508099.js";import"./v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b225080921.js";import"./v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b225080947.js";function G(){const{estaAoVivo:o,offline:i,online:s}=x(a(t=>({estaAoVivo:t.estaAoVivo,offline:t.offline,online:t.online}))),r=f(a(t=>t.language)),l=u(t=>t.close),n=()=>{l(),o?window.open(s.urlMeet,"_blank"):g()},m=e.jsxs("div",{className:"min-w-[450px] max-w-[600px] text-center grid gap-4",children:[e.jsx("div",{className:"flex justify-start",children:e.jsx("div",{className:"m-auto max-w-[540px] w-full",children:e.jsx(p,{children:o?s.title:i.title})})}),e.jsx(c,{children:e.jsx("p",{className:"text-justify max-h-[80vh] overflow-y-auto pr-3",dangerouslySetInnerHTML:{__html:(o?s.description:i.description).replace(/\_(.*?)\_/g,'<strong class="italic">$1</strong>').replace(/\*(.*?)\*/g,"<strong>$1</strong>").replace(/\n/g,"<br>")}})}),(o||i.suportRedirect)&&e.jsx("div",{className:"flex justify-center",children:e.jsxs(v.button,{onClick:n,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:[o?e.jsx(h,{size:20}):e.jsx(d,{size:20}),e.jsx("span",{children:o?s.btnName:r.suporte})]})})]});return(i.active||o)&&m}export{G as default};
