PageSourceSearch

https://wspsolicitors.com/wp-content/themes/wspsolicitors/assets/js/svg4everybody.min.js

js wspsolicitors.com collected 2026-10-01 16:12:46 UTC 2,558 bytes, 1 lines download raw bytes

1function embed(e,t,n){if(n){var a=document.createDocumentFragment(),r=!t.hasAttribute("viewBox")&&n.getAttribute("viewBox");r&&t.setAttribute("viewBox",r);for(var i=n.cloneNode(!0);i.childNodes.length;)a.appendChild(i.firstChild);e.appendChild(a)}}function loadreadystatechange(e){e.onreadystatechange=function(){if(4===e.readyState){var t=e._cachedDocument;t||((t=e._cachedDocument=document.implementation.createHTMLDocument("")).body.innerHTML=e.responseText,e._cachedTarget={}),e._embeds.splice(0).map(function(n){var a=e._cachedTarget[n.id];a||(a=e._cachedTarget[n.id]=t.getElementById(n.id)),embed(n.parent,n.svg,a)})}},e.onreadystatechange()}function svg4everybody(e){var t,n,a,r=Object(e);LEGACY_SUPPORT&&(n=r.fallback||function(e){return e.replace(/\?[^#]+/,"").replace("#",".").replace(/^\./,"")+".png"+(/\?[^#]+/.exec(e)||[""])[0]},(t="nosvg"in r?r.nosvg:/\bMSIE [1-8]\b/.test(navigator.userAgent))&&(document.createElement("svg"),document.createElement("use")));var i=/\bTrident\/[567]\b|\bMSIE (?:9|10)\.0\b/,o=/\bAppleWebKit\/(\d+)\b/,d=/\bEdge\/12\.(\d+)\b/,s=/\bEdge\/.(\d+)\b/,g=window.top!==window.self;a="polyfill"in r?r.polyfill:LEGACY_SUPPORT?/\bMSIE [1-8]\.0\b/.test(navigator.userAgent)||i.test(navigator.userAgent)||(navigator.userAgent.match(d)||[])[1]<10547||(navigator.userAgent.match(o)||[])[1]<537||s.test(navigator.userAgent)&&g:i.test(navigator.userAgent)||(navigator.userAgent.match(d)||[])[1]<10547||(navigator.userAgent.match(o)||[])[1]<537||s.test(navigator.userAgent)&&g;var c={},l=window.requestAnimationFrame||setTimeout,u=document.getElementsByTagName("use"),h=0;a&&function e(){for(var i=0;i<u.length;){var o=u[i],d=o.parentNode,s=getSVGAncestor(d),g=o.getAttribute("xlink:href")||o.getAttribute("href");if(!g&&r.attributeName&&(g=o.getAttribute(r.attributeName)),s&&g){if(LEGACY_SUPPORT&&t){var m=document.createElement("img");m.style.cssText="display:inline-block;height:100%;width:100%",m.setAttribute("width",s.getAttribute("width")||s.clientWidth),m.setAttribute("height",s.getAttribute("height")||s.clientHeight),m.src=n(g,s,o),d.replaceChild(m,o)}else if(a)if(!r.validate||r.validate(g,s,o)){d.removeChild(o);var b=g.split("#"),v=b.shift(),p=b.join("#");if(v.length){var A=c[v];A||((A=c[v]=new XMLHttpRequest).open("GET",v),A.send(),A._embeds=[]),A._embeds.push({parent:d,svg:s,id:p}),loadreadystatechange(A)}else embed(d,s,document.getElementById(p))}else++i,++h}else++i}(!u.length||u.length-h>0)&&l(e,67)}()}function getSVGAncestor(e){for(var t=e;"svg"!==t.nodeName.toLowerCase()&&(t=t.parentNode););return t}

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.