import{j as e,z as t,D as s}from"./v_7_4_1_31_281d2484-5da9-48a8-8939-2c37d755bb5b10.js";import{r as n}from"./v_7_4_1_31_281d2484-5da9-48a8-8939-2c37d755bb5b23.js";import{u as o}from"./v_7_4_1_31_281d2484-5da9-48a8-8939-2c37d755bb5b19.js";import{X as l,A as m}from"./v_7_4_1_31_281d2484-5da9-48a8-8939-2c37d755bb5b8.js";import"./v_7_4_1_31_281d2484-5da9-48a8-8939-2c37d755bb5b18.js";import"./v_7_4_1_31_281d2484-5da9-48a8-8939-2c37d755bb5b4.js";import"./v_7_4_1_31_281d2484-5da9-48a8-8939-2c37d755bb5b.js";import"./v_7_4_1_31_281d2484-5da9-48a8-8939-2c37d755bb5b7.js";import"./v_7_4_1_31_281d2484-5da9-48a8-8939-2c37d755bb5b6.js";import"./v_7_4_1_31_281d2484-5da9-48a8-8939-2c37d755bb5b9.js";import"./v_7_4_1_31_281d2484-5da9-48a8-8939-2c37d755bb5b5.js";import"./v_7_4_1_31_281d2484-5da9-48a8-8939-2c37d755bb5b2.js";import"./v_7_4_1_31_281d2484-5da9-48a8-8939-2c37d755bb5b3.js";const c={INFO:"bg-sky-300",ALERT:"bg-red-400",PROMOTION:"bg-warning"},p={INFO:"hover:bg-info",ALERT:"hover:bg-error",PROMOTION:"hover:bg-warning"};function I(){const{active_inbox_notify:a,closeNotificacoes_inbox:r}=n(),{language:i}=o();return e.jsx("div",{className:"bg-[var(--drawer-background-deep)]  py-[10px] ",children:e.jsxs("div",{className:"px-5 py-1 h3bz2vbyshadow-sm animate__animated animate__zoomIn border border-solid border-[var(--border-list)] "+c[a.type],children:[e.jsx("div",{className:"absolute right-0",children:e.jsx("div",{className:"relative top-[-2px] right-[2px] pulse cursor-pointer",onClick:r,children:e.jsx(l,{size:20,className:"text-[var(--butterbar-primary)]"})})}),e.jsxs("div",{className:"flex rounded-2xl p-2",children:[e.jsx("div",{className:"relative",children:e.jsxs("div",{className:"absolute flex-1 right-[-1px] top-[-8px] text-[var(--butterbar-primary)]",children:[a.type==="INFO"&&e.jsx(t,{size:24,className:"animate__animated animate__pulse animate__infinite"}),a.type==="ALERT"&&e.jsx(s,{size:24,className:"animate__animated animate__pulse animate__infinite"}),a.type==="PROMOTION"&&e.jsx(m,{size:24,className:"animate__animated animate__pulse animate__infinite"})]})}),e.jsxs("div",{className:"flex items-center flex-col gap-2 flex-auto pr-[2px] pl-2",children:[e.jsx("p",{className:"text-[var(--butterbar-primary)]",dangerouslySetInnerHTML:{__html:a.statement.replace(/\_(.*?)\_/g,'<strong class="italic">$1</strong>').replace(/\*(.*?)\*/g,"<strong>$1</strong>").replace(/\n/g,"<br>")}}),a.link.length!==0&&e.jsx("div",{className:"badge badge-outline border-solid pulse cursor-pointer text-[var(--butterbar-primary)] border-[var(--butterbar-primary)] "+p[a.type],onClick:()=>window.open(a.link,"_blank"),children:a.btnName.length!==0?a.btnName:i.cliqueAqui})]})]})]})})}export{I as default};
