import{j as e}from"./4b903977-b269-4e5d-80c7-6ccd4edfc44b.CXLluKKh.js";import{u as r,Q as l}from"./ef8a9734-6f10-44fa-987a-cb2781f2527c.CqRPSjAm.js";import"./7433640d-2a9f-4216-aa88-3edada1025fe.C0Zqfgkc.js";function o({base64:a}){const{language:i}=r(),t=a.split(";")[0].split(":")[1].split("/")[0];let s;switch(t){case"video":s=e.jsx("video",{src:a,className:"rounded",controls:!0,style:{maxWidth:"341px",maxHeight:"424px"}});break;case"image":s=e.jsx("img",{src:a,className:"rounded",alt:"note_image",style:{maxWidth:"341px",maxHeight:"424px"}});break;case"audio":s=e.jsx("audio",{src:a,controls:!0,className:"animate__animated animate__bounceIn w-80"});break;default:s=e.jsx("div",{className:"animate__animated animate__zoomIn",children:e.jsx("div",{className:"tvf2evcx m0h2a7mj lb5m6g5c j7l1k36l ktfrpxia nu7pwgvd p357zi0d dnb887gk gjuq5ydh i2cterl7 ac2vgrno f8m0rgwh gndfcl4n cm280p3y jmly3brn qqs366u4 ikqdvm1y m3qqxsiz r1ncx0sg mmj7r7ye py-2",children:e.jsxs("div",{className:"du8bjn1j px-2 !m-0",children:[e.jsx("span",{"data-icon":"preview-generic",className:"flex justify-center",children:e.jsxs("svg",{viewBox:"0 0 88 110",height:"110",width:"88",preserveAspectRatio:"xMidYMid meet",children:[e.jsx("g",{transform:"translate(4 3)",children:e.jsx("path",{"stroke-opacity":"0.08",stroke:"#000",d:"M3-.5h56.929a5.5 5.5 0 0 1 3.889 1.61l15.071 15.072a5.5 5.5 0 0 1 1.611 3.89V101a3.5 3.5 0 0 1-3.5 3.5H3A3.5 3.5 0 0 1-.5 101V3A3.5 3.5 0 0 1 3-.5z",fill:"#FFF","fill-rule":"evenodd"})}),e.jsx("path",{d:"M65.5 3.5v15a3 3 0 0 0 3 3h15","stroke-opacity":"0.12",stroke:"#000",fill:"#FFF"})]})}),e.jsx("span",{className:"pt-1 text-center font-semibold w-full block uppercase",children:"documento"})]})})});break}return e.jsxs("div",{className:"px-4 grid gap-2",children:[e.jsx("div",{children:s}),e.jsx("div",{className:"ml-auto",children:e.jsx("div",{role:"button",className:"badge badge-outline border-solid pulse badge-primary hover:!bg-[oklch(var(--p))] hover:!text-[var(--letra)]",onClick:()=>l(a,Date.now().toString()),children:i.baixar})})]})}export{o as default};
