new build

This commit is contained in:
Matteo Manzinello committed 2020-04-24 12:02:01 +02:00
1 parent b5000f476f
commit 076c052b23
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -1 +1 @@
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var mailgoVersion="0.9.0",startMailgo=function(){function e(){var e=ee();e.style.display="none",e.id="mailgo",e.classList.add("m-modal");var t=ee();t.className="m-modal-back",e.appendChild(t);var a=ee();a.className="m-modal-content",e.appendChild(a),(x=ee("strong")).id="m-title",x.className="m-title",a.appendChild(x);var o=ee();o.id="m-details",o.className="m-details",(v=ee("p")).id="m-cc";var n=ee(H);n.className="w-500",n.appendChild(te("cc ")),(L=ee(H)).id="m-cc-value",v.appendChild(n),v.appendChild(L),o.appendChild(v),(C=ee("p")).id="m-bcc";var i=ee(H);i.className="w-500",i.appendChild(te("bcc ")),(z=ee(H)).id="m-bcc-value",C.appendChild(i),C.appendChild(z),o.appendChild(C),(y=ee("p")).id="m-subject";var d=ee(H);d.className="w-500",d.appendChild(te("subject ")),(A=ee(H)).id="m-subject-value",y.appendChild(d),y.appendChild(A),o.appendChild(y),(k=ee("p")).id="m-body";var l=ee(H);l.className="w-500",l.appendChild(te("body ")),(E=ee(H)).id="m-body-value",k.appendChild(l),k.appendChild(E),o.appendChild(k),a.appendChild(o),(N=ee("a")).id="m-gmail",N.href=W,N.classList.add("m-open"),N.classList.add("m-gmail"),N.appendChild(te("open in "));var s=ee(H);s.className="w-500",s.appendChild(te("Gmail")),N.appendChild(s),a.appendChild(N),(j=ee("a")).id="m-outlook",j.href=W,j.classList.add("m-open"),j.classList.add("m-outlook"),j.appendChild(te("open in "));var c=ee(H);c.className="w-500",c.appendChild(te("Outlook")),j.appendChild(c),a.appendChild(j),(R=ee("a")).id="m-open",R.href=W,R.classList.add("m-open"),R.classList.add("m-default");var r=ee(H);r.className="w-500",r.appendChild(te("open")),R.appendChild(r),R.appendChild(te(" default")),a.appendChild(R),(_=ee("a")).id="m-copy",_.href=W,_.classList.add("m-copy"),_.classList.add("w-500"),_.appendChild(te("copy")),a.appendChild(_),a.appendChild(Y()),document.body.appendChild(e),t.addEventListener("click",Q);var m=ee();m.style.display="none",m.id="mailgo-tel",m.classList.add("m-modal");var p=ee();p.className="m-modal-back",m.appendChild(p);var b=ee();b.className="m-modal-content",m.appendChild(b),(w=ee("strong")).id="m-tel-title",w.className="m-title",b.appendChild(w),(U=ee("a")).id="m-tg",U.href=W,U.classList.add("m-open"),U.classList.add("m-tg"),U.style.display="none",U.appendChild(te("open in "));var u=ee(H);u.className="w-500",u.appendChild(te("Telegram")),U.appendChild(u),b.appendChild(U),(I=ee("a")).id="m-wa",I.href=W,I.classList.add("m-open"),I.classList.add("m-wa"),I.appendChild(te("open in "));var h=ee(H);h.className="w-500",h.appendChild(te("WhatsApp")),I.appendChild(h),b.appendChild(I),(M=ee("a")).id="m-skype",M.href=W,M.classList.add("m-open"),M.classList.add("m-skype"),M.appendChild(te("open in "));var g=ee(H);g.className="w-500",g.appendChild(te("Skype")),M.appendChild(g),b.appendChild(M),(S=ee("a")).id="m-call",S.href=W,S.classList.add("m-open"),S.classList.add("m-default");var f=ee(H);f.className="w-500",f.appendChild(te("call")),S.appendChild(f),S.appendChild(te(" as default")),b.appendChild(S),(T=ee("a")).id="m-tel-copy",T.href=W,T.classList.add("m-copy"),T.classList.add("w-500"),T.appendChild(te("copy")),b.appendChild(T),b.appendChild(Y()),document.body.appendChild(m),p.addEventListener("click",Q)}function a(e,t){var a=0<arguments.length&&void 0!==e?e:c,o=1<arguments.length?t:void 0;if(a===c){if(o.href&&o.href.toLowerCase().startsWith(d)){m=decodeURIComponent(o.href.split("?")[0].split(d)[1].trim());var n=new URL(o.href).searchParams;b=n.get("cc"),u=n.get("bcc"),h=n.get("subject"),g=n.get("body")}else m=o.getAttribute("data-address")+"@"+o.getAttribute("data-domain"),new URL(d+encodeURIComponent(m)),b=o.getAttribute("data-cc-address")+"@"+o.getAttribute("data-cc-domain"),u=o.getAttribute("data-bcc-address")+"@"+o.getAttribute("data-bcc-domain"),h=o.getAttribute("data-subject"),g=o.getAttribute("data-body");if(!se(m.split(",")))return;b&&!se(b.split(","))&&(b=""),u&&!se(u.split(","))&&(u=""),x.innerHTML=m.split(",").join("<br/>"),b?(v.style.display="block",L.innerHTML=b.split(",").join("<br/>")):v.style.display="none",u?(C.style.display="block",z.innerHTML=u.split(",").join("<br/>")):C.style.display="none",h?(y.style.display="block",A.textContent=h):y.style.display="none",g?(k.style.display="block",E.textContent=g):k.style.display="none",N.addEventListener("click",O),j.addEventListener("click",B),p=oe(m),R.addEventListener("click",Z),_.addEventListener("click",function(){return q(m)})}a===r&&(o.href&&o.href.toLowerCase().startsWith(l)?f=decodeURIComponent(o.href.split("?")[0].split(l)[1].trim()):o.href&&o.href.toLowerCase().startsWith(s)?f=decodeURIComponent(o.href.split("?")[0].split(s)[1].trim()):o.hasAttribute("data-tel")&&(f=o.getAttribute("data-tel"),o.getAttribute("data-msg")),o.hasAttribute("data-telegram")&&(D=o.getAttribute("data-telegram")),o.hasAttribute("data-skype")&&(P=o.getAttribute("data-skype")),w.innerHTML=f,I.addEventListener("click",V),D&&(de(Line truncated
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var mailgoVersion="0.9.0",mailgo=function(){function e(){var e=ee();e.style.display="none",e.id="mailgo",e.classList.add("m-modal");var t=ee();t.className="m-modal-back",e.appendChild(t);var a=ee();a.className="m-modal-content",e.appendChild(a),(x=ee("strong")).id="m-title",x.className="m-title",a.appendChild(x);var o=ee();o.id="m-details",o.className="m-details",(v=ee("p")).id="m-cc";var n=ee(H);n.className="w-500",n.appendChild(te("cc ")),(L=ee(H)).id="m-cc-value",v.appendChild(n),v.appendChild(L),o.appendChild(v),(C=ee("p")).id="m-bcc";var i=ee(H);i.className="w-500",i.appendChild(te("bcc ")),(z=ee(H)).id="m-bcc-value",C.appendChild(i),C.appendChild(z),o.appendChild(C),(y=ee("p")).id="m-subject";var d=ee(H);d.className="w-500",d.appendChild(te("subject ")),(A=ee(H)).id="m-subject-value",y.appendChild(d),y.appendChild(A),o.appendChild(y),(k=ee("p")).id="m-body";var l=ee(H);l.className="w-500",l.appendChild(te("body ")),(E=ee(H)).id="m-body-value",k.appendChild(l),k.appendChild(E),o.appendChild(k),a.appendChild(o),(N=ee("a")).id="m-gmail",N.href=W,N.classList.add("m-open"),N.classList.add("m-gmail"),N.appendChild(te("open in "));var s=ee(H);s.className="w-500",s.appendChild(te("Gmail")),N.appendChild(s),a.appendChild(N),(j=ee("a")).id="m-outlook",j.href=W,j.classList.add("m-open"),j.classList.add("m-outlook"),j.appendChild(te("open in "));var c=ee(H);c.className="w-500",c.appendChild(te("Outlook")),j.appendChild(c),a.appendChild(j),(R=ee("a")).id="m-open",R.href=W,R.classList.add("m-open"),R.classList.add("m-default");var r=ee(H);r.className="w-500",r.appendChild(te("open")),R.appendChild(r),R.appendChild(te(" default")),a.appendChild(R),(M=ee("a")).id="m-copy",M.href=W,M.classList.add("m-copy"),M.classList.add("w-500"),M.appendChild(te("copy")),a.appendChild(M),a.appendChild(Y()),document.body.appendChild(e),t.addEventListener("click",Q);var m=ee();m.style.display="none",m.id="mailgo-tel",m.classList.add("m-modal");var p=ee();p.className="m-modal-back",m.appendChild(p);var b=ee();b.className="m-modal-content",m.appendChild(b),(w=ee("strong")).id="m-tel-title",w.className="m-title",b.appendChild(w),(U=ee("a")).id="m-tg",U.href=W,U.classList.add("m-open"),U.classList.add("m-tg"),U.style.display="none",U.appendChild(te("open in "));var u=ee(H);u.className="w-500",u.appendChild(te("Telegram")),U.appendChild(u),b.appendChild(U),(I=ee("a")).id="m-wa",I.href=W,I.classList.add("m-open"),I.classList.add("m-wa"),I.appendChild(te("open in "));var h=ee(H);h.className="w-500",h.appendChild(te("WhatsApp")),I.appendChild(h),b.appendChild(I),(S=ee("a")).id="m-skype",S.href=W,S.classList.add("m-open"),S.classList.add("m-skype"),S.appendChild(te("open in "));var g=ee(H);g.className="w-500",g.appendChild(te("Skype")),S.appendChild(g),b.appendChild(S),(_=ee("a")).id="m-call",_.href=W,_.classList.add("m-open"),_.classList.add("m-default");var f=ee(H);f.className="w-500",f.appendChild(te("call")),_.appendChild(f),_.appendChild(te(" as default")),b.appendChild(_),(T=ee("a")).id="m-tel-copy",T.href=W,T.classList.add("m-copy"),T.classList.add("w-500"),T.appendChild(te("copy")),b.appendChild(T),b.appendChild(Y()),document.body.appendChild(m),p.addEventListener("click",Q)}function a(e,t){var a=0<arguments.length&&void 0!==e?e:c,o=1<arguments.length?t:void 0;if(a===c){if(o.href&&o.href.toLowerCase().startsWith(d)){m=decodeURIComponent(o.href.split("?")[0].split(d)[1].trim());var n=new URL(o.href).searchParams;b=n.get("cc"),u=n.get("bcc"),h=n.get("subject"),g=n.get("body")}else m=o.getAttribute("data-address")+"@"+o.getAttribute("data-domain"),new URL(d+encodeURIComponent(m)),b=o.getAttribute("data-cc-address")+"@"+o.getAttribute("data-cc-domain"),u=o.getAttribute("data-bcc-address")+"@"+o.getAttribute("data-bcc-domain"),h=o.getAttribute("data-subject"),g=o.getAttribute("data-body");if(!se(m.split(",")))return;b&&!se(b.split(","))&&(b=""),u&&!se(u.split(","))&&(u=""),x.innerHTML=m.split(",").join("<br/>"),b?(v.style.display="block",L.innerHTML=b.split(",").join("<br/>")):v.style.display="none",u?(C.style.display="block",z.innerHTML=u.split(",").join("<br/>")):C.style.display="none",h?(y.style.display="block",A.textContent=h):y.style.display="none",g?(k.style.display="block",E.textContent=g):k.style.display="none",N.addEventListener("click",O),j.addEventListener("click",B),p=oe(m),R.addEventListener("click",Z),M.addEventListener("click",function(){return q(m)})}a===r&&(o.href&&o.href.toLowerCase().startsWith(l)?f=decodeURIComponent(o.href.split("?")[0].split(l)[1].trim()):o.href&&o.href.toLowerCase().startsWith(s)?f=decodeURIComponent(o.href.split("?")[0].split(s)[1].trim()):o.hasAttribute("data-tel")&&(f=o.getAttribute("data-tel"),o.getAttribute("data-msg")),o.hasAttribute("data-telegram")&&(D=o.getAttribute("data-telegram")),o.hasAttribute("data-skype")&&(P=o.getAttribute("data-skype")),w.innerHTML=f,I.addEventListener("click",V),D&&(de("m-tgLine truncated