1import{C as a,p as t,s as e,T as r,a as s,V as o,P as i,j as n,r as l,k as f,m as u,v as d,g as m,x as b,U as g,h as c,F as v,z as p}from"./qR-LqUJC.js";import{o as w}from"./CEFVbtq2.js";var h=p('<li><div class="p-3 block font-bold text-neutral"> </div> <div class="absolute bottom-0 bg-black/30 h-1.5 w-full animation-detail-for-toast-alert" style="animation-duration: 5000ms;"></div></li>'),k=p('<ul class="list-none z-100 fixed top-0 right-0 p-0 m-0"></ul>');function x(p,x){a(x,!0);let z,_=t(x,"simulateOpen",3,!1),j=0,y=e(r([]));const P={error:"bg-status-error",success:"bg-status-success",alert:"bg-status-warning",info:"bg-primary"};z=w.subscribe(a=>{var t,e;a&&(a.replace&&s(y,[],!0),t=a.message,e=a.status,""+t=="undefined"&&(t="Por favor, tente novamente daqui 1 minuto."),s(y,[{id:j,msg:t,background:e},...m(y)],!0),j+=1,w.set(!1))}),o(z);var q=k();i(q,21,()=>m(y),a=>a.id,(a,t)=>{var e=h(),r=n(e),o=n(r,!0);l(r);var i=f(r,2);l(e),u(()=>{d(e,1,`relative rounded-lg animate-[animate-in_150ms_forwards] lg:animate-[animate-in-lg_150ms_forwards] m-3 text-neutral min-w-40vw w-full before:content-[''] after:content-[''] before:absolute after:absolute before:-z-10 after:-z-10\n before:top-1/2 after:top-1/2 before:bottom-0 after:bottom-0 after:left-2 before:left-2 after:right-2 before:right-2 before:rounded after:rounded ${P[m(t).background]??""}`),b(o,m(t).msg)}),g("animationend",i,()=>{return a=m(t).id,void(_()||s(y,m(y).filter(t=>t.id!=a),!0));var a}),c(a,e)}),l(q),c(p,q),v()}export{x as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.