!function(){"use strict";var t,e,n,a,o=window.document,i=window.encodeURIComponent,r=window.decodeURIComponent,l=window.Math,c=function(t){return o.createElement(t)},d=function(t){return o.createTextNode(t)};n="faa75404-3b97-5585-b449-4bc51338fbd1",t=(/^http:/.test(o.location)?"http":"https")+"://buttons.github.io/",e=function(e){t=e},a=!{}.hasOwnProperty.call(o,"currentScript")&&o.currentScript&&delete o.currentScript&&o.currentScript?o.currentScript.src:void 0;var s,h,u;s=function(t,e,n){t.addEventListener?t.addEventListener(""+e,n):t.attachEvent("on"+e,n)},h=function(t,e,n){var a;s(t,e,a=function(o){return t.removeEventListener?t.removeEventListener(""+e,a):t.detachEvent("on"+e,a),n(o)})},u=function(t){var e,n;/m/.test(o.readyState)||!/g/.test(o.readyState)&&!o.documentElement.doScroll?setTimeout(t):o.addEventListener?(n=0,h(o,"DOMContentLoaded",e=function(){!n&&(n=1)&&t()}),h(window,"load",e)):(e=function(){/m/.test(o.readyState)&&(o.detachEvent("onreadystatechange",e),t())},o.attachEvent("onreadystatechange",e))};var p,f,g,m,w,b={"mark-github":{width:16,height:16,path:''},eye:{width:16,height:16,path:''},star:{width:14,height:16,path:''},"repo-forked":{width:10,height:16,path:''},"issue-opened":{width:14,height:16,path:''},"cloud-download":{width:16,height:16,path:''}};p=function(t,e){return t=(""+t).toLowerCase().replace(/^octicon-/,""),b.hasOwnProperty(t)||(t="mark-github"),'"},f=function(t){var e,n;return(e=c("a")).href=t.href,/\.github\.com$/.test("."+e.hostname)?/^https?:\/\/((gist\.)?github\.com\/[^\/?#]+\/[^\/?#]+\/archive\/|github\.com\/[^\/?#]+\/[^\/?#]+\/releases\/download\/|codeload\.github\.com\/)/.test(e.href)&&(e.target="_top"):(e.href="#",e.target="_self"),e.className="btn",(n=t["aria-label"])&&e.setAttribute("aria-label",n),e.innerHTML=p(t["data-icon"],/^large$/i.test(t["data-size"])?16:14),e.appendChild(d(" ")),e.appendChild(c("span")).appendChild(d(t["data-text"]||"")),o.body.appendChild(e)},g=function(t,e){var n,a,i,r,l,d;window.$=function(){window.$=null},i=0,n=function(){!i&&(i=1)&&(e.apply(null,arguments),$())},window.XMLHttpRequest&&"withCredentials"in XMLHttpRequest.prototype?(d=new XMLHttpRequest,s(d,"abort",n),s(d,"error",n),s(d,"load",function(){n(200!==d.status,JSON.parse(d.responseText))}),d.open("GET",t),d.send()):(window._=function(t){window._=null,n(200!==t.meta.status,t.data)},(l=c("script")).async=!0,l.src=t+(/\?/.test(t)?"&":"?")+"callback=_",s(l,"error",r=function(){window._&&_({meta:{}})}),l.readyState&&s(l,"readystatechange",function(){"loaded"===l.readyState&&r()}),a=o.getElementsByTagName("head")[0],"[object Opera]"==={}.toString.call(window.opera)?u(function(){a.appendChild(l)}):a.appendChild(l))},m=function(t){var e,n,a,o;"github.com"===t.hostname&&(a=t.pathname.replace(/^(?!\/)/,"/").match(/^\/([^\/?#]+)(?:\/([^\/?#]+)(?:\/(?:(subscription)|(fork)|(issues)|([^\/?#]+)))?)?(?:[\/?#]|$)/))&&!a[6]&&(a[2]?(e="repos/"+a[1]+"/"+a[2],a[3]?(o="subscribers_count",n="watchers"):a[4]?(o="forks_count",n="network"):a[5]?(o="open_issues_count",n="issues"):(o="stargazers_count",n="stargazers")):(e="users/"+a[1],n=o="followers"),g("https://api.github.com/"+e,function(e,a){var i,r;e||(r=a[o],(i=c("a")).href=a.html_url+"/"+n,i.className="social-count",i.setAttribute("aria-label",r+" "+o.replace(/_count$/,"").replace("_"," ")+" on GitHub"),i.appendChild(c("b")),i.appendChild(c("i")),i.appendChild(c("span")).appendChild(d((""+r).replace(/\B(?=(\d{3})+(?!\d))/g,","))),t.parentNode.insertBefore(i,t.nextSibling))}))},w=function(t){var e;t&&(/^large$/i.test(t["data-size"])&&(o.body.className="large"),e=f(t),/^(true|1)$/i.test(t["data-show-count"])&&m(e))};var v,y,C,z,x,E;y=window.devicePixelRatio||1,v=function(t){return(y>1?l.ceil(l.round(t*y)/y*2)/2:l.ceil(t))||0},C=function(t){var e,n,a,o,i,r,c;return r=(a=t.contentWindow.document).documentElement,e=a.body,c=r.scrollWidth,i=r.scrollHeight,e.getBoundingClientRect&&(o=e.style.display,e.style.display="inline-block",n=e.getBoundingClientRect(),c=l.max(c,v(n.width||n.right-n.left)),i=l.max(i,v(n.height||n.bottom-n.top)),e.style.display=o),[c,i]},z=function(t,e){t.style.width=e[0]+"px",t.style.height=e[1]+"px"},x=function(){var t,e,n,a,i,r,l;if(e=[],o.querySelectorAll)e=o.querySelectorAll("a.github-button");else for(n=0,i=(l=o.getElementsByTagName("a")).length;n'+n+'