1/*! 2 * @copyright Copyright (c) 2017 IcoMoon.io 3 * @license Licensed under MIT license 4 * See https://github.com/Keyamoon/svgxuse 5 * @version 1.2.6 6 */ 7(function(){"use strict";if(typeof window!=="undefined"&&window.addEventListener){var cache=Object.create(null);var checkUseElems;var tid;var debouncedCheck=function(){clearTimeout(tid);tid=setTimeout(checkUseElems,100)};var unobserveChanges=function(){return};var observeChanges=function(){var observer;window.addEventListener("resize",debouncedCheck,!1);window.addEventListener("orientationchange",debouncedCheck,!1);if(window.MutationObserver){observer=new MutationObserver(debouncedCheck);observer.observe(document.documentElement,{childList:!0,subtree:!0,attributes:!0});unobserveChanges=function(){try{observer.disconnect();window.removeEventListener("resize",debouncedCheck,!1);window.removeEventListener("orientationchange",debouncedCheck,!1)}catch(ignore){}}}else{document.documentElement.addEventListener("DOMSubtreeModified",debouncedCheck,!1);unobserveChanges=function(){document.documentElement.removeEventListener("DOMSubtreeModified",debouncedCheck,!1);window.removeEventListener("resize",debouncedCheck,!1);window.removeEventListener("orientationchange",debouncedCheck,!1)}}};var createRequest=function(url){function getOrigin(loc){var a;if(loc.protocol!==undefined){a=loc}else{a=document.createElement("a");a.href=loc} 8return a.protocol.replace(/:/g,"")+a.host} 9var Request;var origin;var origin2;if(window.XMLHttpRequest){Request=new XMLHttpRequest();origin=getOrigin(location);origin2=getOrigin(url);if(Request.withCredentials===undefined&&origin2!==""&&origin2!==origin){Request=XDomainRequest||undefined}else{Request=XMLHttpRequest}} 10return Request};var xlinkNS="http://www.w3.org/1999/xlink";checkUseElems=function(){var base;var bcr;var fallback="";var hash;var href;var i;var inProgressCount=0;var isHidden;var Request;var url;var uses;var xhr;function observeIfDone(){inProgressCount-=1;if(inProgressCount===0){unobserveChanges();observeChanges()}} 11function attrUpdateFunc(spec){return function(){if(cache[spec.base]!==!0){spec.useEl.setAttributeNS(xlinkNS,"xlink:href","#"+spec.hash);if(spec.useEl.hasAttribute("href")){spec.useEl.setAttribute("href","#"+spec.hash)}}}} 12function onloadFunc(xhr){return function(){var body=document.body;var x=document.createElement("x");var svg;xhr.onload=null;x.innerHTML=xhr.responseText;svg=x.getElementsByTagName("svg")[0];if(svg){svg.setAttribute("aria-hidden","true");svg.style.position="absolute";svg.style.width=0;svg.style.height=0;svg.style.overflow="hidden";body.insertBefore(svg,body.firstChild)} 13observeIfDone()}} 14function onErrorTimeout(xhr){return function(){xhr.onerror=null;xhr.ontimeout=null;observeIfDone()}} 15unobserveChanges();uses=document.getElementsByTagName("use");for(i=0;i<uses.length;i+=1){try{bcr=uses[i].getBoundingClientRect()}catch(ignore){bcr=!1} 16href=uses[i].getAttribute("href")||uses[i].getAttributeNS(xlinkNS,"href")||uses[i].getAttribute("xlink:href");if(href&&href.split){url=href.split("#")}else{url=["",""]} 17base=url[0];hash=url[1];isHidden=bcr&&bcr.left===0&&bcr.right===0&&bcr.top===0&&bcr.bottom===0;if(bcr&&bcr.width===0&&bcr.height===0&&!isHidden){if(fallback&&!base.length&&hash&&!document.getElementById(hash)){base=fallback} 18if(uses[i].hasAttribute("href")){uses[i].setAttributeNS(xlinkNS,"xlink:href",href)} 19if(base.length){xhr=cache[base];if(xhr!==!0){setTimeout(attrUpdateFunc({useEl:uses[i],base:base,hash:hash}),0)} 20if(xhr===undefined){Request=createRequest(base);if(Request!==undefined){xhr=new Request();cache[base]=xhr;xhr.onload=onloadFunc(xhr);xhr.onerror=onErrorTimeout(xhr);xhr.ontimeout=onErrorTimeout(xhr);xhr.open("GET",base);xhr.send();inProgressCount+=1}}}}else{if(!isHidden){if(cache[base]===undefined){cache[base]=!0}else if(cache[base].onload){cache[base].abort();delete cache[base].onload;cache[base]=!0}}else if(base.length&&cache[base]){setTimeout(attrUpdateFunc({useEl:uses[i],base:base,hash:hash}),0)}}} 21uses="";inProgressCount+=1;observeIfDone()};var winLoad;
21winLoad=function(){window.removeEventListener("load",winLoad,!1);tid=setTimeout(checkUseElems,0)};if(document.readyState!=="complete"){window.addEventListener("load",winLoad,!1)}else{winLoad()}}}())
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.