You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

8 lines
196 KiB

9 years ago
!function(){function e(e,t,n){r[e]={deps:t,callback:n}}function t(e,t){if("."!==t.charAt(0))return t;for(var n=t.split("/"),r=e.split("/").slice(0,-1),i=0,o=n.length;o>i;i++){var a=n[i];if(".."===a)r.pop();else{if("."===a)continue;r.push(a)}}return r.join("/")}function n(e){if(i[e])return i[e];if(!r[e])throw new Error("Could not find module "+e);i[e]={};for(var o=r[e],a=o.deps,s=o.callback,u=[],c=void 0,l=0,f=a.length;f>l;l++)"exports"===a[l]?u.push(c={}):u.push(n(t(e,a[l])));var d=s.apply(this,u);return i[e]=c||d}var r={},i={};window.define=e,window.require=n}(),define("github/feature-detection",["exports"],function(e){function t(){var e=document.createElement("canvas"),t=e.getContext("2d");t.fillStyle="#f00",t.textBaseline="top",t.font="32px Arial";var n=String.fromCharCode(55357)+String.fromCharCode(56360);return t.fillText(n,0,0),0!==t.getImageData(16,16,1,1).data[0]}function n(){try{var e=new CustomEvent("test",{detail:"supported"});return"supported"===e.detail}catch(t){return!1}}function r(){return o.classList?(i.classList.add("a","b"),i.classList.contains("b")):!1}Object.defineProperty(e,"__esModule",{value:!0});var i=document.createElement("input"),o={emoji:t(),CustomEvent:n(),registerElement:"registerElement"in document,setImmediate:"setImmediate"in window,Promise:"Promise"in window,URL:"URL"in window,WeakMap:"WeakMap"in window,fetch:"fetch"in window,closest:"function"==typeof i.closest,matches:"function"==typeof i.matches,stringEndsWith:"endsWith"in String.prototype,stringStartsWith:"startsWith"in String.prototype,performanceNow:!!(window.performance?window.performance.now:!1),performanceMark:!!(window.performance?window.performance.mark:!1),performanceGetEntries:!!(window.performance?window.performance.getEntries:!1),u2f:"u2f"in window||document.documentElement.classList.contains("is-u2f-enabled")};o.classList="classList"in i,o.classListMultiArg=r(),e["default"]=o}),require("github/feature-detection"),function(e,t){"use strict";function n(e){return h[p]=r.apply(t,e),p++}function r(e){var n=[].slice.call(arguments,1);return function(){"function"==typeof e?e.apply(t,n):new Function(""+e)()}}function i(e){if(m)setTimeout(r(i,e),0);else{var t=h[e];if(t){m=!0;try{t()}finally{o(e),m=!1}}}}function o(e){delete h[e]}function a(){d=function(){var e=n(arguments);return process.nextTick(r(i,e)),e}}function s(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}function u(){var t="setImmediate$"+Math.random()+"$",r=function(n){n.source===e&&"string"==typeof n.data&&0===n.data.indexOf(t)&&i(+n.data.slice(t.length))};e.addEventListener?e.addEventListener("message",r,!1):e.attachEvent("onmessage",r),d=function(){var r=n(arguments);return e.postMessage(t+r,"*"),r}}function c(){var e=new MessageChannel;e.port1.onmessage=function(e){var t=e.data;i(t)},d=function(){var t=n(arguments);return e.port2.postMessage(t),t}}function l(){var e=v.documentElement;d=function(){var t=n(arguments),r=v.createElement("script");return r.onreadystatechange=function(){i(t),r.onreadystatechange=null,e.removeChild(r),r=null},e.appendChild(r),t}}function f(){d=function(){var e=n(arguments);return setTimeout(r(i,e),0),e}}if(!e.setImmediate){var d,p=1,h={},m=!1,v=e.document,g=Object.getPrototypeOf&&Object.getPrototypeOf(e);g=g&&g.setTimeout?g:e,"[object process]"==={}.toString.call(e.process)?a():s()?u():e.MessageChannel?c():v&&"onreadystatechange"in v.createElement("script")?l():f(),g.setImmediate=d,g.clearImmediate=o}}("undefined"==typeof self?"undefined"==typeof global?this:global:self),function(){"use strict";function e(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function t(e){return"string"!=typeof e&&(e=String(e)),e}function n(e){this.map={},e instanceof n?e.forEach(function(e,t){this.append(t,e)},this):e&&Object.getOwnPropertyNames(e).forEach(function(t){this.append(t,e[t])},this)}function r(e){return e.bodyUsed?Promise.reject(new TypeError("Alrea
return this._port},set port(e){!this._isInvalid&&this._isRelative&&a.call(this,e,"port")},get pathname(){return this._isInvalid?"":this._isRelative?"/"+this._path.join("/"):this._schemeData},set pathname(e){!this._isInvalid&&this._isRelative&&(this._path=[],a.call(this,e,"relative path start"))},get search(){return this._isInvalid||!this._query||"?"==this._query?"":this._query},set search(e){!this._isInvalid&&this._isRelative&&(this._query="?","?"==e[0]&&(e=e.slice(1)),a.call(this,e,"query"))},get hash(){return this._isInvalid||!this._fragment||"#"==this._fragment?"":this._fragment},set hash(e){this._isInvalid||(this._fragment="#","#"==e[0]&&(e=e.slice(1)),a.call(this,e,"fragment"))},get origin(){var e;if(this._isInvalid||!this._scheme)return"";switch(this._scheme){case"data":case"file":case"javascript":case"mailto":return"null"}return e=this.host,e?this._scheme+"://"+e:""}};var g=e.URL;g&&(u.createObjectURL=function(e){return g.createObjectURL.apply(g,arguments)},u.revokeObjectURL=function(e){g.revokeObjectURL(e)}),e.URL=u}}(this),function(e){"function"!=typeof e.matches&&(e.matches=e.msMatchesSelector||e.mozMatchesSelector||e.webkitMatchesSelector||function(e){for(var t=this,n=(t.document||t.ownerDocument).querySelectorAll(e),r=0;n[r]&&n[r]!==t;)++r;return!!n[r]}),"function"!=typeof e.closest&&(e.closest=function(e){for(var t=this;t&&11!=t.nodeType;){if(t.matches(e))return t;t=t.parentElement}return null})}(Element.prototype),function(e){function t(e){return"string"==typeof e?document.createTextNode(e):e}function n(e){if(e.length){if(1===e.length)return t(e[0]);var n,r=document.createDocumentFragment();for(n=0;n<e.length;n++)r.appendChild(t(e[n]));return r}throw new Error("DOM Exception 8")}"prepend"in e||(e.prepend=function(){this.insertBefore(n(arguments),this.firstChild)}),"append"in e||(e.append=function(){this.appendChild(n(arguments))}),"before"in e||(e.before=function(){this.parentNode&&this.parentNode.insertBefore(n(arguments),this)}),"after"in e||(e.after=function(){this.parentNode&&this.parentNode.insertBefore(n(arguments),this.nextSibling)}),"replaceWith"in e||(e.replaceWith=function(){this.parentNode&&this.parentNode.replaceChild(n(arguments),this)}),"remove"in e||(e.remove=function(){this.parentNode&&this.parentNode.removeChild(this)})}(Element.prototype),String.prototype.endsWith||!function(){"use strict";var e=function(){try{var e={},t=Object.defineProperty,n=t(e,e,e)&&t}catch(r){}return n}(),t={}.toString,n=function(e){if(null==this)throw TypeError();var n=String(this);if(e&&"[object RegExp]"==t.call(e))throw TypeError();var r=n.length,i=String(e),o=i.length,a=r;if(arguments.length>1){var s=arguments[1];void 0!==s&&(a=s?Number(s):0,a!=a&&(a=0))}var u=Math.min(Math.max(a,0),r),c=u-o;if(0>c)return!1;for(var l=-1;++l<o;)if(n.charCodeAt(c+l)!=i.charCodeAt(l))return!1;return!0};e?e(String.prototype,"endsWith",{value:n,configurable:!0,writable:!0}):String.prototype.endsWith=n}(),String.prototype.startsWith||!function(){"use strict";var e=function(){try{var e={},t=Object.defineProperty,n=t(e,e,e)&&t}catch(r){}return n}(),t={}.toString,n=function(e){if(null==this)throw TypeError();var n=String(this);if(e&&"[object RegExp]"==t.call(e))throw TypeError();var r=n.length,i=String(e),o=i.length,a=arguments.length>1?arguments[1]:void 0,s=a?Number(a):0;s!=s&&(s=0);var u=Math.min(Math.max(s,0),r);if(o+u>r)return!1;for(var c=-1;++c<o;)if(n.charCodeAt(u+c)!=i.charCodeAt(c))return!1;return!0};e?e(String.prototype,"startsWith",{value:n,configurable:!0,writable:!0}):String.prototype.startsWith=n}(),Array.from||!function(){"use strict";var e=function(){try{var e={},t=Object.defineProperty,n=t(e,e,e)&&t}catch(r){}return n||function(e,t,n){e[t]=n.value}}(),t=Object.prototype.toString,n=function(e){return"function"==typeof e||"[object Function]"==t.call(e)},r=function(e){var t=Number(e);return isNaN(t)?0:0!=t&&isFinite(t)?(t>0?1:-1)*Math.floor(Math.abs(t)):t},i=Math.pow(2,53)-1,o=function(e){var t=r(e);return Math.min(Math.max(t,0),i)},a=function(t){var r=this;if(null==t)throw new TypeError("`Array.from` requires an array-like
n[q]){for(r=++s;i>r&&!E.relative[e[r].type];r++);return g(s>1&&h(l),s>1&&d(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(ue,"$1"),n,r>s&&y(e.slice(s,r)),i>r&&y(e=e.slice(r)),i>r&&d(e))}l.push(n)}return h(l)}function b(e,n){var i=n.length>0,o=e.length>0,a=function(r,a,s,u,c){var l,f,d,p=0,h="0",m=r&&[],g=[],y=N,b=r||o&&E.find.TAG("*",c),w=H+=null==y?1:Math.random()||.1,x=b.length;for(c&&(N=a!==L&&a);h!==x&&null!=(l=b[h]);h++){if(o&&l){for(f=0;d=e[f++];)if(d(l,a,s)){u.push(l);break}c&&(H=w)}i&&((l=!d&&l)&&p--,r&&m.push(l))}if(p+=h,i&&h!==p){for(f=0;d=n[f++];)d(m,g,a,s);if(r){if(p>0)for(;h--;)m[h]||g[h]||(g[h]=V.call(u));g=v(g)}K.apply(u,g),c&&!r&&g.length>0&&p+n.length>1&&t.uniqueSort(u)}return c&&(H=w,N=y),m};return i?r(a):a}var w,x,E,T,C,_,j,k,N,S,D,O,L,A,M,I,P,R,F,q="sizzle"+1*new Date,$=e.document,H=0,B=0,W=n(),U=n(),z=n(),X=function(e,t){return e===t&&(D=!0),0},Y=1<<31,J={}.hasOwnProperty,G=[],V=G.pop,Z=G.push,K=G.push,Q=G.slice,ee=function(e,t){for(var n=0,r=e.length;r>n;n++)if(e[n]===t)return n;return-1},te="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",ne="[\\x20\\t\\r\\n\\f]",re="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",ie=re.replace("w","w#"),oe="\\["+ne+"*("+re+")(?:"+ne+"*([*^$|!~]?=)"+ne+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+ie+"))|)"+ne+"*\\]",ae=":("+re+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+oe+")*)|.*)\\)|)",se=new RegExp(ne+"+","g"),ue=new RegExp("^"+ne+"+|((?:^|[^\\\\])(?:\\\\.)*)"+ne+"+$","g"),ce=new RegExp("^"+ne+"*,"+ne+"*"),le=new RegExp("^"+ne+"*([>+~]|"+ne+")"+ne+"*"),fe=new RegExp("="+ne+"*([^\\]'\"]*?)"+ne+"*\\]","g"),de=new RegExp(ae),pe=new RegExp("^"+ie+"$"),he={ID:new RegExp("^#("+re+")"),CLASS:new RegExp("^\\.("+re+")"),TAG:new RegExp("^("+re.replace("w","w*")+")"),ATTR:new RegExp("^"+oe),PSEUDO:new RegExp("^"+ae),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ne+"*(even|odd|(([+-]|)(\\d*)n|)"+ne+"*(?:([+-]|)"+ne+"*(\\d+)|))"+ne+"*\\)|)","i"),bool:new RegExp("^(?:"+te+")$","i"),needsContext:new RegExp("^"+ne+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ne+"*((?:-\\d)?\\d*)"+ne+"*\\)|)(?=[^-]|$)","i")},me=/^(?:input|select|textarea|button)$/i,ve=/^h\d$/i,ge=/^[^{]+\{\s*\[native \w/,ye=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,be=/[+~]/,we=/'|\\/g,xe=new RegExp("\\\\([\\da-f]{1,6}"+ne+"?|("+ne+")|.)","ig"),Ee=function(e,t,n){var r="0x"+t-65536;return r!==r||n?t:0>r?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},Te=function(){O()};try{K.apply(G=Q.call($.childNodes),$.childNodes),G[$.childNodes.length].nodeType}catch(Ce){K={apply:G.length?function(e,t){Z.apply(e,Q.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}x=t.support={},C=t.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return t?"HTML"!==t.nodeName:!1},O=t.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:$;return r!==L&&9===r.nodeType&&r.documentElement?(L=r,A=r.documentElement,n=r.defaultView,n&&n!==n.top&&(n.addEventListener?n.addEventListener("unload",Te,!1):n.attachEvent&&n.attachEvent("onunload",Te)),M=!C(r),x.attributes=i(function(e){return e.className="i",!e.getAttribute("className")}),x.getElementsByTagName=i(function(e){return e.appendChild(r.createComment("")),!e.getElementsByTagName("*").length}),x.getElementsByClassName=ge.test(r.getElementsByClassName),x.getById=i(function(e){return A.appendChild(e).id=q,!r.getElementsByName||!r.getElementsByName(q).length}),x.getById?(E.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&M){var n=t.getElementById(e);return n&&n.parentNode?[n]:[]}},E.filter.ID=function(e){var t=e.replace(xe,Ee);return function(e){return e.getAttribute("id")===t}}):(delete E.find.ID,E.filter.ID=function(e){var t=e.replace(xe,Ee);return function(e){var n="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}}),E.find.TAG=x.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?
}}},simulate:function(e,t,n,r){var i=Q.extend(new Q.Event,n,{type:e,isSimulated:!0,originalEvent:{}});r?Q.event.trigger(i,null,t):Q.event.dispatch.call(t,i),i.isDefaultPrevented()&&n.preventDefault()}},Q.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n,!1)},Q.Event=function(e,t){return this instanceof Q.Event?(e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&e.returnValue===!1?c:l):this.type=e,t&&Q.extend(this,t),this.timeStamp=e&&e.timeStamp||Q.now(),void(this[Q.expando]=!0)):new Q.Event(e,t)},Q.Event.prototype={isDefaultPrevented:l,isPropagationStopped:l,isImmediatePropagationStopped:l,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=c,e&&e.preventDefault&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=c,e&&e.stopPropagation&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=c,e&&e.stopImmediatePropagation&&e.stopImmediatePropagation(),this.stopPropagation()}},Q.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){Q.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,i=e.relatedTarget,o=e.handleObj;return(!i||i!==r&&!Q.contains(r,i))&&(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}}),V.focusinBubbles||Q.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){Q.event.simulate(t,e.target,Q.event.fix(e),!0)};Q.event.special[t]={setup:function(){var r=this.ownerDocument||this,i=ge.access(r,t);i||r.addEventListener(e,n,!0),ge.access(r,t,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this,i=ge.access(r,t)-1;i?ge.access(r,t,i):(r.removeEventListener(e,n,!0),ge.remove(r,t))}}}),Q.fn.extend({on:function(e,t,n,r,i){var o,a;if("object"==typeof e){"string"!=typeof t&&(n=n||t,t=void 0);for(a in e)this.on(a,t,n,e[a],i);return this}if(null==n&&null==r?(r=t,n=t=void 0):null==r&&("string"==typeof t?(r=n,n=void 0):(r=n,n=t,t=void 0)),r===!1)r=l;else if(!r)return this;return 1===i&&(o=r,r=function(e){return Q().off(e),o.apply(this,arguments)},r.guid=o.guid||(o.guid=Q.guid++)),this.each(function(){Q.event.add(this,e,r,n,t)})},one:function(e,t,n,r){return this.on(e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,Q(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(i in e)this.off(i,t,e[i]);return this}return(t===!1||"function"==typeof t)&&(n=t,t=void 0),n===!1&&(n=l),this.each(function(){Q.event.remove(this,e,n,t)})},trigger:function(e,t){return this.each(function(){Q.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];return n?Q.event.trigger(e,t,n,!0):void 0}});var De=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,Oe=/<([\w:]+)/,Le=/<|&#?\w+;/,Ae=/<(?:script|style|link)/i,Me=/checked\s*(?:[^=]|=\s*.checked.)/i,Ie=/^$|\/(?:java|ecma)script/i,Pe=/^true\/(.*)/,Re=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,Fe={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};Fe.optgroup=Fe.option,Fe.tbody=Fe.tfoot=Fe.colgroup=Fe.caption=Fe.thead,Fe.th=Fe.td,Q.extend({clone:function(e,t,n){var r,i,o,a,s=e.cloneNode(!0),u=Q.contains(e.ownerDocument,e);if(!(V.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||Q.isXMLDoc(e)))for(a=g(s),o=g(e),r=0,i=o.length;i>r;r++)y(o[r],a[r]);if(t)if(n)for(o=o||g(e),a=a||g(s),r=0,i=o.length;i>r;r++)v(o[r],a[r]);else v(e,s);return a=g(s,"script"),a.length>0&&m(a,!u&&g(e,"script")),s},buildFragment:function(e,t,n,r){for(var i,o,a,s,u,c,l=t.createDocumentFragment(),f=[],d=0,p=e.length;p>d;d++)if(i=e[d],i||0===i)if("object"===Q.type(i))Q.merge(f,i.nodeType?[i]:i);else if(Le.test(i)){for(o=o||l.appen
};var Mt=Q.fn.load;Q.fn.load=function(e,t,n){if("string"!=typeof e&&Mt)return Mt.apply(this,arguments);var r,i,o,a=this,s=e.indexOf(" ");return s>=0&&(r=Q.trim(e.slice(s)),e=e.slice(0,s)),Q.isFunction(t)?(n=t,t=void 0):t&&"object"==typeof t&&(i="POST"),a.length>0&&Q.ajax({url:e,type:i,dataType:"html",data:t}).done(function(e){o=arguments,a.html(r?Q("<div>").append(Q.parseHTML(e)).find(r):e)}).complete(n&&function(e,t){a.each(n,o||[e.responseText,t,e])}),this},Q.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){Q.fn[t]=function(e){return this.on(t,e)}}),Q.expr.filters.animated=function(e){return Q.grep(Q.timers,function(t){return e===t.elem}).length};var It=e.document.documentElement;Q.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,c,l=Q.css(e,"position"),f=Q(e),d={};"static"===l&&(e.style.position="relative"),s=f.offset(),o=Q.css(e,"top"),u=Q.css(e,"left"),c=("absolute"===l||"fixed"===l)&&(o+u).indexOf("auto")>-1,c?(r=f.position(),a=r.top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),Q.isFunction(t)&&(t=t.call(e,n,s)),null!=t.top&&(d.top=t.top-s.top+a),null!=t.left&&(d.left=t.left-s.left+i),"using"in t?t.using.call(e,d):f.css(d)}},Q.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){Q.offset.setOffset(this,e,t)});var t,n,r=this[0],i={top:0,left:0},o=r&&r.ownerDocument;if(o)return t=o.documentElement,Q.contains(t,r)?(typeof r.getBoundingClientRect!==_e&&(i=r.getBoundingClientRect()),n=H(o),{top:i.top+n.pageYOffset-t.clientTop,left:i.left+n.pageXOffset-t.clientLeft}):i},position:function(){if(this[0]){var e,t,n=this[0],r={top:0,left:0};return"fixed"===Q.css(n,"position")?t=n.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),Q.nodeName(e[0],"html")||(r=e.offset()),r.top+=Q.css(e[0],"borderTopWidth",!0),r.left+=Q.css(e[0],"borderLeftWidth",!0)),{top:t.top-r.top-Q.css(n,"marginTop",!0),left:t.left-r.left-Q.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent||It;e&&!Q.nodeName(e,"html")&&"static"===Q.css(e,"position");)e=e.offsetParent;return e||It})}}),Q.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,n){var r="pageYOffset"===n;Q.fn[t]=function(i){return ve(this,function(t,i,o){var a=H(t);return void 0===o?a?a[n]:t[i]:void(a?a.scrollTo(r?e.pageXOffset:o,r?o:e.pageYOffset):t[i]=o)},t,i,arguments.length,null)}}),Q.each(["top","left"],function(e,t){Q.cssHooks[t]=E(V.pixelPosition,function(e,n){return n?(n=x(e,t),Be.test(n)?Q(e).position()[t]+"px":n):void 0})}),Q.each({Height:"height",Width:"width"},function(e,t){Q.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,r){Q.fn[r]=function(r,i){var o=arguments.length&&(n||"boolean"!=typeof r),a=n||(r===!0||i===!0?"margin":"border");return ve(this,function(t,n,r){var i;return Q.isWindow(t)?t.document.documentElement["client"+e]:9===t.nodeType?(i=t.documentElement,Math.max(t.body["scroll"+e],i["scroll"+e],t.body["offset"+e],i["offset"+e],i["client"+e])):void 0===r?Q.css(t,n,a):Q.style(t,n,r,a)},t,o?r:void 0,o,null)}})}),Q.fn.size=function(){return this.length},Q.fn.andSelf=Q.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return Q});var Pt=e.jQuery,Rt=e.$;return Q.noConflict=function(t){return e.$===Q&&(e.$=Rt),t&&e.jQuery===Q&&(e.jQuery=Pt),Q},typeof t===_e&&(e.jQuery=e.$=Q),Q}),define("github/proxy-site-detection",["exports"],function(e){function t(){var e=document.querySelector("meta[name=expected-hostname]");if(!e)return!1;var t=e.content.split(".").slice(-2).join("."),n=window.location.hostname.split(".").slice(-2).join(".");return t!=n}Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=t()}),define("github/navigation-tracking",["exports"],function(e){function t(){try{return JSON.parse(sessionStorage.getItem(r))||[]}catch(e){return[]}}function n(e,n){var i=t();i.push({type:e,url:window.location.href,state:window.history.state,info:n});try{sessionStorage.setItem(r,JSON.stringify(i))}catch(o){return}}Object.defineProperty(e,"__esModule",{value:!0}),e["de
e.style.width="1px",e.style.top="1px"),n&&(Te(n,$.hoverClass),Te(n,$.activeClass),n=null)},te=function(){return n||null},ne=function(e){return"string"==typeof e&&e&&/^[A-Za-z][A-Za-z0-9_:\-\.]*$/.test(e)},re=function(e){var t;if("string"==typeof e&&e?(t=e,e={}):"object"==typeof e&&e&&"string"==typeof e.type&&e.type&&(t=e.type),t){!e.target&&/^(copy|aftercopy|_click)$/.test(t.toLowerCase())&&(e.target=r),E(e,{type:t.toLowerCase(),target:e.target||n||null,relatedTarget:e.relatedTarget||null,currentTarget:M&&M.bridge||null,timeStamp:e.timeStamp||m()||null});var i=q[e.type];return"error"===e.type&&e.name&&i&&(i=i[e.name]),i&&(e.message=i),"ready"===e.type&&E(e,{target:null,version:M.version}),"error"===e.type&&(/^flash-(disabled|outdated|unavailable|deactivated|overdue)$/.test(e.name)&&E(e,{target:null,minimumVersion:I}),/^flash-(outdated|unavailable|deactivated|overdue)$/.test(e.name)&&E(e,{version:M.version})),"copy"===e.type&&(e.clipboardData={setData:Oe.setData,clearData:Oe.clearData}),"aftercopy"===e.type&&(e=ve(e,F)),e.target&&!e.relatedTarget&&(e.relatedTarget=ie(e.target)),e=oe(e)}},ie=function(e){var t=e&&e.getAttribute&&e.getAttribute("data-clipboard-target");return t?o.getElementById(t):null},oe=function(e){if(e&&/^_(?:click|mouse(?:over|out|down|up|move))$/.test(e.type)){var n=e.target,r="_mouseover"===e.type&&e.relatedTarget?e.relatedTarget:t,a="_mouseout"===e.type&&e.relatedTarget?e.relatedTarget:t,s=je(n),u=i.screenLeft||i.screenX||0,c=i.screenTop||i.screenY||0,l=o.body.scrollLeft+o.documentElement.scrollLeft,f=o.body.scrollTop+o.documentElement.scrollTop,d=s.left+("number"==typeof e._stageX?e._stageX:0),p=s.top+("number"==typeof e._stageY?e._stageY:0),h=d-l,m=p-f,v=u+h,g=c+m,y="number"==typeof e.movementX?e.movementX:0,b="number"==typeof e.movementY?e.movementY:0;delete e._stageX,delete e._stageY,E(e,{srcElement:n,fromElement:r,toElement:a,screenX:v,screenY:g,pageX:d,pageY:p,clientX:h,clientY:m,x:h,y:m,movementX:y,movementY:b,offsetX:0,offsetY:0,layerX:0,layerY:0})}return e},ae=function(e){var t=e&&"string"==typeof e.type&&e.type||"";return!/^(?:(?:before)?copy|destroy)$/.test(t)},se=function(e,t,n,r){r?s(function(){e.apply(t,n)},0):e.apply(t,n)},ue=function(e){if("object"==typeof e&&e&&e.type){var t=ae(e),n=P["*"]||[],r=P[e.type]||[],o=n.concat(r);if(o&&o.length){var a,s,u,c,l,f=this;for(a=0,s=o.length;s>a;a++)u=o[a],c=f,"string"==typeof u&&"function"==typeof i[u]&&(u=i[u]),"object"==typeof u&&u&&"function"==typeof u.handleEvent&&(c=u,u=u.handleEvent),"function"==typeof u&&(l=E({},e),se(u,c,[l],t))}return this}},ce=function(e){var t=e.target||n||null,i="swf"===e._source;delete e._source;var o=["flash-disabled","flash-outdated","flash-unavailable","flash-deactivated","flash-overdue"];switch(e.type){case"error":-1!==o.indexOf(e.name)&&E(M,{disabled:"flash-disabled"===e.name,outdated:"flash-outdated"===e.name,unavailable:"flash-unavailable"===e.name,deactivated:"flash-deactivated"===e.name,overdue:"flash-overdue"===e.name,ready:!1});break;case"ready":var a=M.deactivated===!0;E(M,{disabled:!1,outdated:!1,unavailable:!1,deactivated:!1,overdue:a,ready:!a});break;case"beforecopy":r=t;break;case"copy":var s,u,c=e.relatedTarget;!R["text/html"]&&!R["text/plain"]&&c&&(u=c.value||c.outerHTML||c.innerHTML)&&(s=c.value||c.textContent||c.innerText)?(e.clipboardData.clearData(),e.clipboardData.setData("text/plain",s),u!==s&&e.clipboardData.setData("text/html",u)):!R["text/plain"]&&e.target&&(s=e.target.getAttribute("data-clipboard-text"))&&(e.clipboardData.clearData(),e.clipboardData.setData("text/plain",s));break;case"aftercopy":Oe.clearData(),t&&t!==xe()&&t.focus&&t.focus();break;case"_mouseover":Oe.focus(t),$.bubbleEvents===!0&&i&&(t&&t!==e.relatedTarget&&!k(e.relatedTarget,t)&&le(E({},e,{type:"mouseenter",bubbles:!1,cancelable:!1})),le(E({},e,{type:"mouseover"})));break;case"_mouseout":Oe.blur(),$.bubbleEvents===!0&&i&&(t&&t!==e.relatedTarget&&!k(e.relatedTarget,t)&&le(E({},e,{type:"mouseleave",bubbles:!1,cancelable:!1})),le(E({},e,{type:"mouseout"})));break;case"_mousedown":Ee(t,$.activeClass),$.bubbleEvents===!0&&i&&
return o(this.date)||(e+=i()?", %Y":" %Y"),t(this.date,e)},n.prototype.formatTime=function(){if("Intl"in window){var e=new window.Intl.DateTimeFormat(void 0,{hour:"numeric",minute:"2-digit"});return e.format(this.date)}return t(this.date,"%l:%M%P")};var p,h,m=[];h="HTMLTimeElement"in window?Object.create(window.HTMLTimeElement.prototype):Object.create(window.HTMLElement.prototype),h.attributeChangedCallback=function(e,t,n){if("datetime"===e){var r=Date.parse(n);this._date=isNaN(r)?null:new Date(r)}var i=this.getFormattedTitle();i&&this.setAttribute("title",i);var o=this.getFormattedDate();o&&(this.textContent=o)},h.getFormattedTitle=function(){if(this._date){if(this.hasAttribute("title"))return this.getAttribute("title");if("Intl"in window){var e={day:"numeric",month:"short",year:"numeric",hour:"numeric",minute:"2-digit",timeZoneName:"short"},t=new window.Intl.DateTimeFormat(void 0,e);return t.format(this._date)}return this._date.toLocaleString()}};var v=Object.create(h);v.createdCallback=function(){var e=this.getAttribute("datetime");e&&this.attributeChangedCallback("datetime",null,e)},v.getFormattedDate=function(){return this._date?new n(this._date).toString():void 0},v.attachedCallback=function(){m.push(this),p||(a(),p=setInterval(a,6e4))},v.detachedCallback=function(){var e=m.indexOf(this);-1!==e&&m.splice(e,1),m.length||p&&(clearInterval(p),p=null)};var g=Object.create(v);g.getFormattedDate=function(){if(this._date){var e=this.getAttribute("format");return"micro"===e?new n(this._date).microTimeAgo():new n(this._date).timeAgo()}};var y=Object.create(h);y.createdCallback=function(){var e;(e=this.getAttribute("datetime"))&&this.attributeChangedCallback("datetime",null,e),(e=this.getAttribute("format"))&&this.attributeChangedCallback("format",null,e)},y.getFormattedDate=function(){if(this._date){var e=s(this)||"",t=u(this)||"";return(e+" "+t).trim()}},window.RelativeTimeElement=document.registerElement("relative-time",{prototype:v,"extends":"time"}),window.TimeAgoElement=document.registerElement("time-ago",{prototype:g,"extends":"time"}),window.LocalTimeElement=document.registerElement("local-time",{prototype:y,"extends":"time"})}(),define("github/debounce",["exports"],function(e){function t(e,t){var n=null;return function(){clearTimeout(n),n=setTimeout(e,t)}}Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=t}),define("github/fetch",["exports"],function(e){function t(e){if(e.status>=200&&e.status<300)return e;var t=new Error(e.statusText||e.status);throw t.response=e,t}function n(e){return null==e.headers&&(e.headers={}),e.headers["X-Requested-With"]="XMLHttpRequest",e}function r(e){return null==e.credentials&&(e.credentials="same-origin"),e}function i(e){return e.json()}function o(e){return e.text()}function a(e,i){return i=n(r(i||{})),l(e,i).then(t)}function s(e,i){return i=n(r(i||{})),l(e,i).then(t).then(o)}function u(e,o){return o=n(r(o||{})),o.headers.Accept="application/json",l(e,o).then(t).then(i)}function c(e,t){return new Promise(function(n,r){function i(o){function s(e){switch(e.status){case 200:n(e);break;case 202:setTimeout(function(){return i(1.5*o)},o);break;default:var t=new Error(e.statusText||e.status);t.response=e,r(t)}}a(e,t).then(s,r)}i(1e3)})}Object.defineProperty(e,"__esModule",{value:!0}),e.fetch=a,e.fetchText=s,e.fetchJSON=u,e.fetchPoll=c;var l=window.fetch}),define("github/sliding-promise-queue",["exports"],function(e){function t(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n(){}Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function(){function e(){t(this,e),this.previousReceiver={}}return r(e,[{key:"push",value:function(e){var t=this;return this.previousReceiver.resolve=this.previousReceiver.reject=n,new Promise(function(n,r){var i={resolve:n,reject:r};t.previousReceiver=i,e.then(functi