import{j as e,aT as r}from"./9fde061d-c486-4976-9464-7198c3b19b29.1_3RW29Q.js";import{u as l}from"./bb706f54-4ac3-4b89-adab-0b087546aee3.Cn17aUV2.js";import"./de7308a2-ea2f-4d1e-bb0c-62d74c4832ff.CC2qRq32.js";import"./abf60f9c-2d94-4647-a0f3-e527029006be.C3MP-_Sz.js";import"./06be914e-e02b-4f5e-af99-1580549adc3f.NIGUFBhG.js";function x({base64:a}){const{language:i}=l(),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:()=>r(a,Date.now().toString()),children:i.baixar})})]})}export{x as default};
