import{j as t,m as d}from"./v_7_4_3_28_345c6a4a-aab6-4ec9-a0c6-3718e7fdb1165.js";import{u as r}from"./v_7_4_3_28_345c6a4a-aab6-4ec9-a0c6-3718e7fdb11647.js";import{m as g}from"./v_7_4_3_28_345c6a4a-aab6-4ec9-a0c6-3718e7fdb11623.js";import{a as x}from"./v_7_4_3_28_345c6a4a-aab6-4ec9-a0c6-3718e7fdb11640.js";import{b as f,u as h,e as v}from"./v_7_4_3_28_345c6a4a-aab6-4ec9-a0c6-3718e7fdb1164.js";import{o as j,p as _,am as w}from"./v_7_4_3_28_345c6a4a-aab6-4ec9-a0c6-3718e7fdb1167.js";import"./v_7_4_3_28_345c6a4a-aab6-4ec9-a0c6-3718e7fdb116.js";import{openSuporte as y}from"./v_7_4_3_28_345c6a4a-aab6-4ec9-a0c6-3718e7fdb11677.js";import{a as b}from"./v_7_4_3_28_345c6a4a-aab6-4ec9-a0c6-3718e7fdb11639.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-3718e7fdb11622.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";import"./v_7_4_3_28_345c6a4a-aab6-4ec9-a0c6-3718e7fdb11674.js";import"./v_7_4_3_28_345c6a4a-aab6-4ec9-a0c6-3718e7fdb11635.js";import"./v_7_4_3_28_345c6a4a-aab6-4ec9-a0c6-3718e7fdb11675.js";import"./v_7_4_3_28_345c6a4a-aab6-4ec9-a0c6-3718e7fdb116107.js";import"./v_7_4_3_28_345c6a4a-aab6-4ec9-a0c6-3718e7fdb11666.js";import"./v_7_4_3_28_345c6a4a-aab6-4ec9-a0c6-3718e7fdb11633.js";import"./v_7_4_3_28_345c6a4a-aab6-4ec9-a0c6-3718e7fdb11660.js";import"./v_7_4_3_28_345c6a4a-aab6-4ec9-a0c6-3718e7fdb11637.js";import"./v_7_4_3_28_345c6a4a-aab6-4ec9-a0c6-3718e7fdb11668.js";function Z(){const a=f(e=>e.session),{estaAoVivo:i,offline:o,online:s}=x(r(e=>({estaAoVivo:e.estaAoVivo,offline:e.offline,online:e.online}))),n=h(r(e=>e.language)),m=g(e=>e.close),{suporte_clientes_premium:p,suporte_clientes_gratuitos:l}=v(r(e=>({suporte_clientes_premium:e.getUrl("principais","suporte_premium"),suporte_clientes_gratuitos:e.getUrl("principais","suporte_gratuitos")}))),c=()=>{m(),i?window.open(s.urlMeet,"_blank"):y(a.is_premium?p: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?s.title:o.title})})}),t.jsx(_,{children:t.jsx("p",{className:"text-justify max-h-[80vh] overflow-y-auto pr-3",dangerouslySetInnerHTML:{__html:(i?s.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?s.btnName:n.suporte})]})})]});return(o.active||i)&&u}export{Z as default};
