\n \n
{{ rawContent }}';function L0(t){const[e,i]=j0(t),n={title:t.content.subject,name:S0(t.content),date:h0(t.content),rawContent:t.content.body,toRecipients:e,ccRecipients:i,attachments:Y0(t)};return j(z0,n)}function S0(t){let e=t.senderName??"";return t.senderEmail&&(e+=` <${t.senderEmail}>`),e}function h0(t){return t.date.toLocaleString("en-US",{weekday:"short",month:"2-digit",day:"2-digit",year:"numeric",hour:"2-digit",minute:"2-digit",hour12:!1,timeZone:"UTC",timeZoneName:"short"})}async function E0(t){const e=await t[0].arrayBuffer(),i=W0(new DataView(e));document.getElementById("msg").innerHTML=L0(i)}var v0=document.getElementById("file");v0.addEventListener("change",(async t=>{const e=t.target;0!==e?.files?.length&&E0(e.files)}));var _0=document.documentElement;_0.addEventListener("dragover",(t=>t.preventDefault())),_0.addEventListener("drop",(t=>{t.preventDefault();const e=t.dataTransfer.files;if(0==e.length)return;if(!e[0].name.endsWith(".msg"))return;document.getElementById("file").files=e,E0(e)}))