PageSourceSearch

https://www.romanceperfeito.com.br/js/svg.min.js?ff6226d2

js romanceperfeito.com.br collected 2026-09-27 09:08:02 UTC 1,294 bytes, 10 lines download raw bytes

1$.fn.setSvgBackground=function(t,e){const n=this;return new Promise(function(a,o){window.canUseLocalStorage&&$.each(localStorage,function(t){
2t.match(/^\/upload\/logo\//)&&localStorage.removeItem(t)}),t&&t.match(/\.svg($|\?)/)&&function(){const t=document.createElement("div")
3;return t.innerHTML="<svg/>",window.SVGRect&&t.firstChild&&"http://www.w3.org/2000/svg"==t.firstChild.namespaceURI}()?$.ajax(t,{contentType:"text/plain",
4dataType:"text"}).then(function(e){-1<navigator.userAgent.indexOf("MSIE")||-1<navigator.userAgent.indexOf("Trident/")?(e="url("+t+")",
5$(n).css("background-image",e).addClass("has-logo")):(e='url("data:image/svg+xml;utf8,'+encodeURIComponent(e)+'")',
6$(n).css("background-image",e).addClass("has-logo")),setTimeout(function(){window.canUseLocalStorage&&localStorage.setItem(t,e),a()},1)}).fail(function(){
7$(n).setSvgBackground(void 0,e).then(a).catch(o)}):function(t){const c=new Image;c.onload=function(){const t=document.createElement("canvas")
8;t.width=this.naturalWidth,t.height=this.naturalHeight,t.getContext("2d").drawImage(this,0,0),function(t){t='url("'+t+'")',
9$(n).css("background-image",t).addClass("has-logo"),setTimeout(function(){window.canUseLocalStorage&&localStorage.setItem(e,t),a()},1)
10}(t.toDataURL("image/png"))},c.onerror=o,c.src=t}(e)})};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.