-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathiconfont.js
1 lines (1 loc) · 5.36 KB
/
iconfont.js
1
(function(window){var svgSprite="<svg>"+""+'<symbol id="icon-spinner" viewBox="0 0 1024 1024">'+""+'<path d="M338.285714 768q0 34.304-24.283429 58.294857t-58.002286 23.990857q-34.304 0-58.294857-23.990857t-23.990857-58.294857 23.990857-58.294857 58.294857-23.990857q33.718857 0 58.002286 23.990857t24.283429 58.294857zM585.142857 877.714286q0 30.281143-21.430857 51.712t-51.712 21.430857-51.712-21.430857-21.430857-51.712 21.430857-51.712 51.712-21.430857 51.712 21.430857 21.430857 51.712zM237.714286 512q0 37.705143-26.843429 64.585143t-64.585143 26.843429-64.585143-26.843429-26.843429-64.585143 26.843429-64.585143 64.585143-26.843429 64.585143 26.843429 26.843429 64.585143zM832 768q0 26.294857-18.870857 45.129143t-45.129143 18.870857-45.129143-18.870857-18.870857-45.129143 18.870857-45.129143 45.129143-18.870857 45.129143 18.870857 18.870857 45.129143zM356.571429 256q0 41.728-29.44 71.131429t-71.131429 29.44-71.131429-29.44-29.44-71.131429 29.44-71.131429 71.131429-29.44 71.131429 29.44 29.44 71.131429zM621.714286 146.285714q0 45.714286-32 77.714286t-77.714286 32-77.714286-32-32-77.714286 32-77.714286 77.714286-32 77.714286 32 32 77.714286zM932.571429 512q0 22.857143-16.018286 38.838857t-38.838857 16.018286-38.838857-16.018286-16.018286-38.838857 16.018286-38.838857 38.838857-16.018286 38.838857 16.018286 16.018286 38.838857zM813.714286 256q0 18.870857-13.421714 32.292571t-32.292571 13.421714-32.292571-13.421714-13.421714-32.292571 13.421714-32.292571 32.292571-13.421714 32.292571 13.421714 13.421714 32.292571z" ></path>'+""+"</symbol>"+""+'<symbol id="icon-pulldown2" viewBox="0 0 1024 1024">'+""+'<path d="M645.849986 625.99938 645.849986 63.635319 377.597429 63.635319 377.597429 625.99938 181.644525 625.99938 511.723196 894.25296 841.800843 625.99938Z" ></path>'+""+"</symbol>"+""+'<symbol id="icon-pulldown3" viewBox="0 0 1024 1024">'+""+'<path d="M38.28956 162.541957l383.724475 376.875486c0 0 29.9358 38.58683 92.886527 38.58683 54.833863 0 88.12713-26.977421 88.12713-26.977421l386.686946-388.484895c0 0-16.284895-104.944144-101.736079-42.778292-29.887704 21.74321-279.554974 199.25102-279.554974 199.25102s-116.901477 43.165102-199.63783-14.389732C326.739111 247.549026 139.003356 108.585067 139.003356 108.585067S50.943764 72.434729 38.28956 162.541957z" ></path>'+""+'<path d="M47.502385 507.406378l383.723451 376.875486c0 0 29.936823 38.58683 92.886527 38.58683 54.833863 0 88.12713-26.977421 88.12713-26.977421l386.686946-388.484895c0 0-16.284895-104.945167-101.736079-42.779316-29.887704 21.74321-279.554974 199.25102-279.554974 199.25102s-116.901477 43.166125-199.63783-14.389732c-82.045621-57.075927-269.781376-196.039885-269.781376-196.039885S60.15659 417.299151 47.502385 507.406378z" ></path>'+""+"</symbol>"+""+'<symbol id="icon-pulldown" viewBox="0 0 1024 1024">'+""+'<path d="M495.831579 0h31.079298c66.829474 12.934737 116.77193 90.004211 81.740351 153.959298-31.079298 69.883509-136.174035 82.997895-180.727017 19.222456C373.670175 112.101053 419.84 14.192281 495.831579 0zM465.830175 334.686316c74.195088-42.397193 172.10386 36.82807 151.62386 117.849824-14.012632 73.65614-111.921404 114.61614-170.307368 63.236492-63.955088-44.373333-51.918596-150.007018 18.683508-181.086316z" ></path>'+""+'<path d="M874.352281 487.028772c29.282807-9.521404 49.044211 14.910877 68.805614 31.438596v31.977544c-109.585965 136.174035-244.502456 250.610526-362.711579 379.418948-29.282807 31.977544-78.686316 85.153684-120.185263 38.624561C333.069474 839.141053 199.949474 714.644211 80.842105 577.751579v-26.58807c13.473684-41.678596 69.344561-56.230175 96.830877-19.941053 108.867368 107.070877 214.501053 217.555088 322.290527 325.70386 105.094737-106.711579 210.90807-212.884211 315.104561-320.494035 18.324211-17.964912 36.468772-37.187368 59.284211-49.403509z" ></path>'+""+"</symbol>"+""+"</svg>";var script=function(){var scripts=document.getElementsByTagName("script");return scripts[scripts.length-1]}();var shouldInjectCss=script.getAttribute("data-injectcss");var ready=function(fn){if(document.addEventListener){if(~["complete","loaded","interactive"].indexOf(document.readyState)){setTimeout(fn,0)}else{var loadFn=function(){document.removeEventListener("DOMContentLoaded",loadFn,false);fn()};document.addEventListener("DOMContentLoaded",loadFn,false)}}else if(document.attachEvent){IEContentLoaded(window,fn)}function IEContentLoaded(w,fn){var d=w.document,done=false,init=function(){if(!done){done=true;fn()}};var polling=function(){try{d.documentElement.doScroll("left")}catch(e){setTimeout(polling,50);return}init()};polling();d.onreadystatechange=function(){if(d.readyState=="complete"){d.onreadystatechange=null;init()}}}};var before=function(el,target){target.parentNode.insertBefore(el,target)};var prepend=function(el,target){if(target.firstChild){before(el,target.firstChild)}else{target.appendChild(el)}};function appendSvg(){var div,svg;div=document.createElement("div");div.innerHTML=svgSprite;svgSprite=null;svg=div.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";prepend(svg,document.body)}}if(shouldInjectCss&&!window.__iconfont__svg__cssinject__){window.__iconfont__svg__cssinject__=true;try{document.write("<style>.svgfont {display: inline-block;width: 1em;height: 1em;fill: currentColor;vertical-align: -0.1em;font-size:16px;}</style>")}catch(e){console&&console.log(e)}}ready(appendSvg)})(window)