define(["require","exports","../.chunks/punycode.es6-CNOnFR2-.amd"],(function(s,n,a){"use strict";if(typeof c>"u")var c=window.Vue;const i=(e,o="download")=>{const t=document.createElement("a");t.download=o,t.href=e,t.click()},r=(e,o)=>{let t=32;return o&&(t=120),e=e.replace(/^\w+:\/\/|^www\.|\/.*/g,""),e=a.punycode.toASCII(e),'<img src="https://favicon.yandex.net/favicon/'+e+"?size="+t+'" class="top-favicon empty" '+`
		onload="
			var that = this;
			$.ajax({
				type:'get',
				url:this.src,
				success:function(res){ if(res.length > 100) that.className='top-favicon'; },
				error:function(){ }
			});
		"
	`+' alt="">'};n.downloadImageFromString=i,n.genFaviconImgHtml=r,Object.defineProperty(n,Symbol.toStringTag,{value:"Module"})}));
//# sourceMappingURL=image.amd.js.map
