(()=>{let e=!1;window.onmessage=function(t){t.origin===window.location.origin&&t.data.blob&&function(t){const o=t.data;e&&document.body.replaceWith(document.createElement("BODY")),e=!0;const n=document.createElement("span");n.id="img";const l=document.createElement("a");l.id="a",l.rel="noreferrer noopener",l.download=o.download,l.style=o.style,l.style.fontFamily="Arial, Helvetica, Sans-Serif",l.href=window.URL.createObjectURL(o.blob),l.appendChild(n),l.appendChild(document.createTextNode(o.textContent)),o.imgStyle?n.style=o.imgStyle:(n.style.width="12px",n.style.height="12px",n.style.webkitMaskSize="12px",n.style.webkitMaskPosition="center",n.style.webkitMaskRepeat="no-repeat",n.style.display="inline-block",n.style.webkitMaskImage=`url('${o.imgSrc}')`,n.style.backgroundColor=`${l.style.color}`);const i=document.body;i.style.margin="0px",i.style.overflow="hidden",i.appendChild(l),t.data.auto&&l.click()}(t)}})();
//# sourceMappingURL=usercontent.js.map