diff --git a/build/github-defreshed.meta.js b/build/github-defreshed.meta.js index 0609639..7e603d5 100644 --- a/build/github-defreshed.meta.js +++ b/build/github-defreshed.meta.js @@ -1,7 +1,7 @@ // ==UserScript== // @name GitHub Defreshed // @namespace GitHub -// @version 4.2.0 +// @version 4.2.1 // @author Kir_Antipov // @description Classical GitHub at its finest // @license MIT diff --git a/build/github-defreshed.user.js b/build/github-defreshed.user.js index 66c26bd..5048840 100644 --- a/build/github-defreshed.user.js +++ b/build/github-defreshed.user.js @@ -1,7 +1,7 @@ // ==UserScript== // @name GitHub Defreshed // @namespace GitHub -// @version 4.2.0 +// @version 4.2.1 // @author Kir_Antipov // @description Classical GitHub at its finest // @license MIT @@ -13,4 +13,4 @@ // @run-at document-start // @grant none // ==/UserScript== -(()=>{"use strict";var e={370:(e,t,r)=>{var n=r(119);function i(e=location.pathname){try{e=new URL(e).pathname}catch(e){}return e.replace(/^[/]|[/]$|(\?(.*))$|(\/\?(.*))$/g,"")}function o(e=location.pathname){const t=function(e=location.pathname){if(!s(e=i(e)))return null;const[t,r]=e.split("/");return{owner:t,repo:r}}(e);return t?`${t.owner}/${t.repo}`:null}function a(e=location.pathname){if(!s(e=i(e)))return null;const t=e.match(/^[^/]+[/][^/]+[/]?(.*)$/);return t?t[1]:null}function s(e=location.pathname){const t=(e=i(e)).substring(0,e.indexOf("/"));return/^[^/]+\/[^/]+/.test(e)&&!(0,n.BF)(t)&&!function(e=location.pathname){return/^((orgs[/][^/]+[/])?dashboard([/]index[/]\d+)?)?$/.test(i(e))}(e)&&!function(e=location.pathname){return/^([^/]+[/][^/]+\/)?notifications$/.test(i(e))}(e)}function l(e=location.pathname){let t=a(e);const r=/^(tree[/][^/]+)?$/.test(t);return r||!(t||"").startsWith("tree/")?r:(t=t.substring(5),[...document.querySelectorAll("#ref-list-branches > .SelectMenu-list > a > span:not(.Label)")].map((e=>e.innerText&&e.innerText.trim())).filter((e=>e)).some((e=>e===t)))}function c(e=location.pathname){return/^tree\//.test(a(e))}function u(e=location.pathname){return/^blob\//.test(a(e))}function d(e=location.pathname){return function(e=location.pathname){return(a(e)||"").startsWith("raw/")}(e)||function(e=location.pathname){return(a(e)||"").startsWith("archive/")}(e)||function(e=location.pathname){return(a(e)||"").startsWith("releases/download/")}(e)}function p(e=location.pathname){return/^projects\/\d+$/.test(a(e))}function h(e=location.pathname){return/#[^/]*$/.test(e)}function m(e=location.pathname){return/^settings[/]profile$/.test(i(e))}function f(e=location.pathname){return(e=i(e))&&!e.includes("/")&&!(0,n.BF)(e)}function y(e,t){try{return new URL(e).host===t}catch(r){return window.location.host===t&&e.startsWith("/")}}function v(e=location.pathname,t=location.host,r=location.protocol){return function(e){try{return new URL(e),!0}catch(e){return!1}}(e)?e:`${r}//${t}/${e=i(e)}`}function g(e=window.location.href){return y(e,"github.com")}var b=r(176);function w(e){return new Promise((t=>{setTimeout(t,e)}))}const x=w;var S=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))};function k(e,t,r){return S(this,void 0,void 0,(function*(){const n=new Date;for(;(new Date).valueOf()-n.valueOf()!!q(e.querySelector(t))||null:()=>A()?q(e.querySelector(t)):!!q(e.querySelector(t))||null,r,n)}function E(e,t,r,n,i){return k(i?()=>!!e.querySelector(t)||null:()=>A()?!!e.querySelector(t):!!e.querySelector(t)||null,r,n)}function P(e,t){return S(this,void 0,void 0,(function*(){let r;r="string"==typeof e[0]?{selectors:[...e]}:e[0]instanceof HTMLElement?{container:e[0],selectors:[...e].splice(1)}:e[0],r=Object.assign({container:document.documentElement,interval:100,timeout:1500,dynamic:!1,selectors:[]},r),r.selector&&(r.selectors=[r.selector]),r.selectors&&!Array.isArray(r.selectors)&&(r.selectors=[...r.selectors]);return(yield Promise.all(r.selectors.map((e=>t(r.container,e,r.interval,r.timeout,r.dynamic))))).every((e=>e))}))}function T(...e){let t;return t="string"==typeof e[0]?{selectors:e}:e[0]instanceof Node?{container:e[0],selectors:[...e].splice(1)}:e[0],t.interval=0,t.timeout=0,R(t)}function z(...e){return P(e,E)}function R(...e){return P(e,B)}const L=JSON.parse('{"u2":"github-defreshed","ss":"GitHub Defreshed"}');class j{isApplieble(e,t){return!0}waitUntilFixerReady(e,t){return!0}apply(e,t){}}const C=Object.keys;function O(e){return"string"==typeof e}function M(e){return"number"==typeof e}function H(e){return"object"==typeof e?null!==e:D(e)}function D(e){return"function"==typeof e}function F(e,t){if(e)for(const r of C(e))t(e[r],r)}const U={animationIterationCount:0,borderImageOutset:0,borderImageSlice:0,borderImageWidth:0,boxFlex:0,boxFlexGroup:0,boxOrdinalGroup:0,columnCount:0,columns:0,flex:0,flexGrow:0,flexPositive:0,flexShrink:0,flexNegative:0,flexOrder:0,gridArea:0,gridRow:0,gridRowEnd:0,gridRowSpan:0,gridRowStart:0,gridColumn:0,gridColumnEnd:0,gridColumnSpan:0,gridColumnStart:0,fontWeight:0,lineClamp:0,lineHeight:0,opacity:0,order:0,orphans:0,tabSize:0,widows:0,zIndex:0,zoom:0,fillOpacity:0,floodOpacity:0,stopOpacity:0,strokeDasharray:0,strokeDashoffset:0,strokeMiterlimit:0,strokeOpacity:0,strokeWidth:0};const $=["Webkit","ms","Moz","O"];C(U).forEach((e=>{$.forEach((t=>{U[function(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}(t,e)]=0}))}));function I(e){return Array.isArray(e)?e.map(I).filter(Boolean).join(" "):H(e)?C(e).filter((t=>e[t])).join(" "):function(e){return t=e,!("boolean"==typeof t||null==e);var t}(e)?""+e:""}const G={animate:0,circle:0,clipPath:0,defs:0,desc:0,ellipse:0,feBlend:0,feColorMatrix:0,feComponentTransfer:0,feComposite:0,feConvolveMatrix:0,feDiffuseLighting:0,feDisplacementMap:0,feDistantLight:0,feFlood:0,feFuncA:0,feFuncB:0,feFuncG:0,feFuncR:0,feGaussianBlur:0,feImage:0,feMerge:0,feMergeNode:0,feMorphology:0,feOffset:0,fePointLight:0,feSpecularLighting:0,feSpotLight:0,feTile:0,feTurbulence:0,filter:0,foreignObject:0,g:0,image:0,line:0,linearGradient:0,marker:0,mask:0,metadata:0,path:0,pattern:0,polygon:0,polyline:0,radialGradient:0,rect:0,stop:0,svg:0,switch:0,symbol:0,text:0,textPath:0,tspan:0,use:0,view:0},V=/^(a(ll|t|u)|base[FP]|c(al|lipPathU|on)|di|ed|ex|filter[RU]|g(lyphR|r)|ke|l(en|im)|ma(rker[HUW]|s)|n|pat|pr|point[^e]|re[^n]|s[puy]|st[^or]|ta|textL|vi|xC|y|z)/;function W(e){const t=document.createDocumentFragment();return X(e.children,t),t}function _(e){this.props=e}function Z(e,{children:t,...r}){let n;var i;return r.namespaceURI||0!==G[e]||(r={...r,namespaceURI:"http://www.w3.org/2000/svg"}),O(e)?(n=r.namespaceURI?document.createElementNS(r.namespaceURI,e):document.createElement(e),function(e,t){for(const r of C(e))ee(r,e[r],t)}(r,n),K(t,n)):D(e)&&(H(e.defaultProps)&&(r={...e.defaultProps,...r}),n=function(e){const t=e.prototype;return!(!t||!t.isReactComponent)}(e)?new e({...e.defaultProps,...r,children:t}).render():e({...r,children:t})),H(i=r.ref)&&"current"in i?r.ref.current=n:D(r.ref)&&r.ref(n),n}function J(e,t,...r){return(O(t)||Array.isArray(t))&&(r.unshift(t),t={}),null==(t=t||{}).children||r.length||({children:r,...t}=t),Z(e,{...t,children:r},t.key)}function K(e,t){var r,n;H(n=e)&&"number"==typeof n.length&&"number"!=typeof n.nodeType?X(e,t):O(e)||M(e)?Q(document.createTextNode(e),t):null===e?Q(document.createComment(""),t):(r=e)&&"number"==typeof r.nodeType&&Q(e,t)}function X(e,t){for(const r of[...e])K(r,t);return t}function Q(e,t){t instanceof window.HTMLTemplateElement?t.content.appendChild(e):t.appendChild(e)}function Y(e,t){return e.replace(/[A-Z\d]/g,(e=>t+e.toLowerCase()))}function ee(e,t,r){switch(e){case"xlinkActuate":case"xlinkArcrole":case"xlinkHref":case"xlinkRole":case"xlinkShow":case"xlinkTitle":case"xlinkType":return void re(r,"http://www.w3.org/1999/xlink",Y(e,":"),t);case"xmlnsXlink":return void te(r,Y(e,":"),t);case"xmlBase":case"xmlLang":case"xmlSpace":return void re(r,"http://www.w3.org/XML/1998/namespace",Y(e,":"),t)}switch(e){case"htmlFor":return void te(r,"for",t);case"dataset":return void F(t,((e,t)=>{null!=e&&(r.dataset[t]=e)}));case"innerHTML":case"innerText":case"textContent":return void(r[e]=t);case"dangerouslySetInnerHTML":return void(H(t)&&(r.innerHTML=t.__html));case"spellCheck":return void(r.spellcheck=t);case"class":case"className":return void(D(t)?t(r):te(r,"class",I(t)));case"ref":case"namespaceURI":return;case"style":if(H(t))return void F(t,((e,t)=>{M(e)&&0!==U[t]?r.style[t]=e+"px":r.style[t]=e}))}if(D(t)){if("o"===e[0]&&"n"===e[1]){const n=e.toLowerCase();null==r[n]?r[n]=t:r.addEventListener(e,t)}}else!0===t?te(r,e,""):!1!==t&&null!=t&&(r instanceof SVGElement&&!V.test(e)?te(r,Y(e,"-"),t):te(r,e,t))}function te(e,t,r){e.setAttribute(t,r)}function re(e,t,r,n){e.setAttributeNS(t,r,n)}Object.defineProperties(_.prototype,{isReactComponent:{value:!0},render:{value:()=>null}});const ne={createElement:J,Fragment:W,Component:_},ie=({name:e,children:t})=>Z("style",{type:"text/css",[e]:"",children:t});var oe=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))};class ae extends j{constructor(e,t,r){super(),this.css=String(t),this.enable=e,this.name=`${L.u2}-${r}`}isApplieble(){return oe(this,void 0,void 0,(function*(){return(yield this.enable)&&!document.querySelector(`head > style[${this.name}]`)}))}waitUntilFixerReady(){return k((()=>!!document.head||null),(e=Object.assign({interval:100,timeout:3e3},e)).interval,e.timeout);var e}apply(){document.head.append(Z(ie,{name:this.name,children:this.css}))}}var se,le=r(12);!function(e){e.Original="original",e.Pjax="pjax"}(se||(se={}));const ce=se;var ue;!function(e){e.New="new",e.CombinedNew="combined-new",e.CombinedOld="combined-old",e.Old="old"}(ue||(ue={}));const de=ue;function pe(e,t,...r){return function(e,...t){return new Promise(((r,n)=>{try{const i=e(...t,r);i instanceof Promise?i.then(r).catch(n):void 0!==i&&r(i)}catch(e){n(e)}}))}(t.bind(e),...r)}var he=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))};function me(e){return e.storage&&!(!e.storage.sync&&!e.storage.local)}class fe{constructor(e){this.storage=e}setItem(e,t){return he(this,void 0,void 0,(function*(){this.storage[e]=t}))}getItem(e){return he(this,void 0,void 0,(function*(){return this.storage[e]}))}}class ye{constructor(e){this.storage=e.storage.sync||e.storage.local}setItem(e,t){return he(this,void 0,void 0,(function*(){yield pe(this.storage,this.storage.set,{[e]:t})}))}getItem(e){return he(this,void 0,void 0,(function*(){return yield pe(this.storage,this.storage.get,e).then((t=>(t||{})[e]))}))}}function ve(e){try{return window[e+"Storage"]}catch(e){return null}}const ge=new class{constructor(e){this.storage=e}setItem(e,t){return he(this,void 0,void 0,(function*(){yield this.storage.setItem(e,JSON.stringify(t))}))}getItem(e){return he(this,void 0,void 0,(function*(){const t=yield this.storage.getItem(e);return"string"!=typeof t?null:JSON.parse(t)}))}}("undefined"!=typeof browser&&me(browser)&&new ye(browser)||"undefined"!=typeof chrome&&me(chrome)&&new ye(chrome)||ve("local")||ve("session")||new fe({}));var be=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))};class we{constructor(e,t,r,n,i=null){if(i&&!i.includes(n)&&!i.includes(null))throw new RangeError("defaultValue should be in the list of available options.");this.name=e,this.title=t,this.description=r,this.defaultValue=n,this.options=i,Object.freeze(this)}getValue(){return be(this,void 0,void 0,(function*(){const e=yield ge.getItem(this.name);return null==e?this.defaultValue:e}))}setValue(e){return be(this,void 0,void 0,(function*(){if(typeof e!=typeof this.defaultValue||Array.isArray(e)!==Array.isArray(this.defaultValue))throw new Error("Invalid type.");if(this.options&&!this.options.includes(e)&&!this.options.includes(null))throw new RangeError("value should be in the list of available options.");yield ge.setItem(this.name,e)}))}then(e,t){return this.getValue().then(e,t)}}const xe=new class extends Array{constructor(){super(),this.useOldCSS=new we("useOldCSS","Use old css styles","This will revert old css styles where it's possible. For example, it will unround edges of avatars and containers.",!0),this.enableLightHeader=new we("enableLightHeader","Enable light header","Some folks are nostalgic for the days when the GitHub header was light. This option is specifically for them.",!1),this.usePreloader=new we("usePreloader","Use preloader","This will activate preloader during script initialization (first load of any GitHub page) to make the load look way smoother.",!0),this.defreshProfilePage=new we("defreshProfilePage","Defresh profile page","This will roll back the changes of the profile page interface.",!0),this.removeThemeSelector=new we("removeThemeSelector","Remove theme selector from the profile page","This will remove the theme selector from your profile page. (Why in the world is it here?)",!0),this.keepProfilePageIcons=new we("keepProfilePageIcons","Don't remove tab icons on the profile page","If you want to keep tab icons on the profile page, enable this option.",!1),this.defreshProfilePageUserStatus=new we("defreshProfilePageUserStatus","Defresh status appearance on the profile page","If you prefer the way the status looked before, then this option's for you.",!0),this.disableUserStatus=new we("disableUserStatus","Disable the status editor on the profile page","Don't even try to ask. But if you will, here's the answer: I use one password manager, which is good at everything, but, for some reason, it's not friendly to the status editor: it makes the UI freeze for a couple of seconds. So, here we go...",!1),this.jumpToTop=new we("jumpToTop","Jump to the page's top after loading","If you want to preserve the scroll position after page load, you can disable this option.",!0),this.treatTagsAsReleases=new we("treatTagsAsReleases","Treat tags as releases","Some repositories only use pre-releases, which aren't displayed as regular releases by GitHub, so without using this option you'll see 0 as the number of releases.",!0),this.openLanguagesByDefault=new we("openLanguagesByDefault","Open language bar by default","This option allows you to change the default state of the language bar.",!1),this.showLatestReleasePopup=new we("showLatestReleasePopup","Show information about the latest release","This will show information about the latest release (if any) when hovering over the releases section.",!0),this.enableStickyReadmeHeader=new we("enableStickyReadmeHeader","Enable sticky readme header","This will make readme header sticky.",!1),this.readmeHeaderType=new we("readmeHeaderType","Readme header's type",`"${de.New}" represents the latest header design.\n"${de.CombinedNew}" represents the latest header design, but with a book octicon in use.\n"${de.CombinedOld}" represents an old school design, but with the new functionality.\n"${de.Old}" represents an old school design.`,de.CombinedOld,[de.New,de.CombinedNew,de.CombinedOld,de.Old]),this.mainBranchName=new we("mainBranchName","Main branch name","Here you can specify default name of the main branch.","main"),this.engine=new we("engine",`Engine that powers ${L.ss}`,`"${ce.Original}" engine completely replaces the GitHub navigation system with dynamic page loading.\n"${ce.Pjax}" engine was designed to be compatible with other scripts/extensions (e.g. "Refined GitHub") and is based on listening for pjax events.`,ce.Pjax,[ce.Original,ce.Pjax]);for(const e of Object.values(this))this.push(e)}};var Se=r(907);var ke=r(213);var Ae=r(203);var qe=r(158);var Ne=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))};class Be extends _{get id(){return`github-defreshed_${this.props.property.name}`}constructor(e){super(e)}}const Ee=({text:e})=>e&&(e=e.trim())?Z("div",{className:"note",children:e.split("\n").filter((e=>e)).map((e=>Z("div",{children:e})))}):null;class Pe extends Be{render(){const e=this.props.property;return Z("dl",{className:"form-group",children:[Z("dt",{children:Z("label",{htmlFor:this.id,children:e.title})}),Z("dd",{children:[Z("input",{id:this.id,type:"text",className:"form-control",onChange:function(){e.setValue(this.value)},ref:t=>e.then((e=>t.value=e))}),Z(Ee,{text:e.description})]})]})}}class Te extends Be{render(){const e=this.props.property;return Z("div",{className:"form-checkbox mt-0",children:[Z("input",{id:this.id,type:"checkbox",onChange:function(){e.setValue(this.checked)},ref:t=>e.then((e=>t.checked=e))}),Z("label",{htmlFor:this.id,children:e.title}),Z(Ee,{text:e.description})]})}}class ze extends Be{render(){const e=this.props.property,t=e.getValue();return Z("dl",{className:"form-group",children:[Z("dt",{children:Z("label",{htmlFor:this.id,children:e.title})}),Z("dd",{children:[Z("select",{id:this.id,className:"form-select form-control",onChange:function(){e.setValue(this.value)},children:e.options.map((e=>Z("option",{value:e,ref:r=>t.then((t=>r.selected=e===t)),children:e})))}),Z(Ee,{text:e.description})]})]})}}class Re extends Be{render(){switch(typeof this.props.property.defaultValue){case"boolean":return Z(Te,{...this.props});case"string":return this.props.property.options?Z(ze,{...this.props}):Z(Pe,{...this.props});default:return null}}}function Le(){return Z("form",{className:"edit_user",children:[xe.map((e=>Z(Re,{property:e}))),Z("button",{className:"btn",onClick:e=>{e.preventDefault(),location.reload()},children:"Update preference"})]})}const je=()=>Z("div",{className:"Subhead Subhead--spacious",children:Z("h2",{className:"Subhead-heading",children:[L.ss," settings"]})}),Ce=()=>Z(W,{children:[Z(je,{}),Z(Le,{})]});function Oe(){var e;return"Page not found · GitHub"===(null===(e=document.head.querySelector("title"))||void 0===e?void 0:e.innerText)}function Me(){return!!document.querySelector("main:nth-child(1) div.repository-content > git-clone-help")}var He={small:16,medium:32,large:64};function De(e){var t=e["aria-label"],r=e.className,n=e.fill,i=void 0===n?"currentColor":n,o=e.size,a=e.verticalAlign,s=e.svgDataByHeight,l=He[o]||o,c=function(e,t){return e.map((function(e){return parseInt(e,10)})).reduce((function(e,r){return r<=t?r:e}),e[0])}(Object.keys(s),l),u=s[c].width;return{"aria-hidden":t?"false":"true","aria-label":t,role:"img",className:r,viewBox:"0 0 "+u+" "+c,width:l*(u/c),height:l,fill:i,style:{display:"inline-block",userSelect:"none",verticalAlign:a},dangerouslySetInnerHTML:{__html:s[c].path}}}var Fe=Object.assign||function(e){for(var t=1;t'},24:{width:24,path:''}}})))}function $e(e){return ne.createElement("svg",De(Fe({},e,{svgDataByHeight:{24:{width:24,path:''}}})))}function Ie(e){return ne.createElement("svg",De(Fe({},e,{svgDataByHeight:{16:{width:16,path:''},24:{width:24,path:''}}})))}function Ge(e){return ne.createElement("svg",De(Fe({},e,{svgDataByHeight:{16:{width:16,path:''},24:{width:24,path:''}}})))}function Ve(e){return ne.createElement("svg",De(Fe({},e,{svgDataByHeight:{16:{width:16,path:''},24:{width:24,path:''}}})))}function We(e){return ne.createElement("svg",De(Fe({},e,{svgDataByHeight:{16:{width:16,path:''},24:{width:24,path:''}}})))}function _e(e){return ne.createElement("svg",De(Fe({},e,{svgDataByHeight:{16:{width:16,path:''},24:{width:24,path:''}}})))}Ue.defaultProps={className:"octicon octicon-book",size:16,verticalAlign:"text-bottom"},$e.defaultProps={className:"octicon octicon-commit",size:16,verticalAlign:"text-bottom"},Ie.defaultProps={className:"octicon octicon-git-branch",size:16,verticalAlign:"text-bottom"},Ge.defaultProps={className:"octicon octicon-kebab-horizontal",size:16,verticalAlign:"text-bottom"},Ve.defaultProps={className:"octicon octicon-law",size:16,verticalAlign:"text-bottom"},We.defaultProps={className:"octicon octicon-people",size:16,verticalAlign:"text-bottom"},_e.defaultProps={className:"octicon octicon-tag",size:16,verticalAlign:"text-bottom"};const Ze=({children:e})=>Z("div",{className:"UnderlineNav-actions js-responsive-underlinenav-overflow position-absolute pr-3 pr-md-4 pr-lg-5 right-0",children:Z("details",{className:"details-overlay details-reset position-relative",children:[Z("summary",{role:"button",children:Z("div",{className:"UnderlineNav-item mr-0 border-0",children:[Z(Ge,{}),Z("span",{className:"sr-only",children:"More"})]})}),Z("div",{children:Z("details-menu",{role:"menu",className:"dropdown-menu dropdown-menu-sw",children:Z("ul",{children:e&&[].concat(...e).map((e=>(e instanceof HTMLElement?e.classList.add("js-selected-navigation-item","dropdown-item"):e&&(e=Z("div",{className:"js-selected-navigation-item dropdown-item",children:e})),Z("li",{children:e}))))})})})]})});void 0===window.ResizeObserver&&(window.ResizeObserver=class{constructor(e){this.callback=e,this.watchlist=new Set}observe(e){if(this.watchlist.has(e))return;const t=Z("iframe",{title:"resize-observer",style:{top:0,left:0,width:"100%",height:"100%",opacity:0,zIndex:-9999,position:"absolute"}});e.prepend(t),t.contentWindow.onresize=()=>{const t={blockSize:e.clientHeight,inlineSize:e.clientWidth,width:e.clientWidth,height:e.clientHeight,x:e.clientLeft,y:e.clientTop,top:e.clientTop,bottom:e.clientTop+e.clientHeight,left:e.clientLeft,right:e.clientLeft+e.clientWidth,toJSON(){return{bottom:this.bottom,height:this.height,left:this.left,right:this.right,top:this.top,width:this.width,x:this.x,y:this.y}}};this.callback([{borderBoxSize:[t],contentBoxSize:[t],contentRect:t,target:e}],this)},this.watchlist.add(e)}unobserve(e){if(!this.watchlist.has(e))return;const t=e.querySelector("iframe[title='resize-observer']");t&&(t.contentWindow.onresize=null,e.removeChild(t)),this.watchlist.delete(e)}disconnect(){for(const e of this.watchlist)this.unobserve(e)}});const Je=ResizeObserver;var Ke=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))};const Xe=()=>Z("i",{className:"d-none d-lg-inline",children:"Branch: "});const Qe=e=>{const t=(e||"0000000").split("/");return(t.length&&t[t.length-1]).slice(0,7)},Ye=({href:e,datetime:t})=>Z("div",{className:"css-truncate css-truncate-overflow text-gray",children:["Latest commit"," ",Z("a",{href:e,className:"f6 link-gray text-mono d-none d-lg-inline",children:Qe(e)})," ",Z("relative-time",{datetime:t,className:"no-wrap"})]}),et=({children:e})=>Z("div",{className:"ml-1",children:e});const tt=({lang:e})=>Z("span",{className:"language-color","aria-label":`${e.name} ${e.percent}`,itemProp:"keywords",style:{width:e.percent,backgroundColor:e.color},children:e.name}),rt=({lang:e})=>Z("li",{children:Z(e.link?"a":"span",{href:e.link,children:[Z("span",{className:"color-block language-color",style:{backgroundColor:e.color}}),Z("span",{className:"lang",children:[" ",e.name," "]}),Z("span",{className:"percent",children:e.percent})]})}),nt=({open:e,langs:t})=>Z("details",{className:"details-reset mb-3",open:e,children:[Z("summary",{title:"Click for language details",children:Z("div",{className:"d-flex repository-lang-stats-graph",children:t.map((e=>Z(tt,{lang:e})))})}),Z("div",{className:"repository-lang-stats",children:Z("ol",{className:"repository-lang-stats-numbers",children:t.map((e=>Z(rt,{lang:e})))})})]});var it=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))};function ot(e,t){return(t=isNaN(t)?-1:+t)<0||1===t?e:e.endsWith("s")||e.endsWith("sh")||e.endsWith("ch")||e.endsWith("x")||e.endsWith("z")?e+"es":e+"s"}const at=({icon:e,href:t,text:r,count:n})=>Z("li",{children:Z("a",{href:t,children:[e," ","-1"!==String(n)&&Z("span",{className:"num text-emphasized",children:n})," ",ot(r,n)]})});at.defaultProps={count:-1};const st=at,lt=({rounded:e,children:t})=>Z("div",{className:["overall-summary","mt-3",e?"mb-3":["border-bottom-0","mb-0","rounded-bottom-0"]],children:Z("ul",{className:"numbers-summary",children:t})});lt.defaultProps={rounded:!0};const ct=lt;var ut=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))};const dt=({children:e})=>Z("div",{className:"repository-topics-container mt-3 mb-3 js-topics-list-container",children:e});var pt=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))};const ht=({website:e,children:t})=>Z("div",{children:Z("div",{className:"f4",children:[Z("span",{className:"text-gray-dark mr-2",children:t}),e&&Z("span",{children:Z("a",{href:e,title:e,role:"link",target:"_blank",rel:"noopener noreferrer",children:e})})]})});var mt=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))};var ft=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))};const yt=({href:e,icon:t,text:r,count:n,selected:i})=>Z("a",{href:e,className:["UnderlineNav-item",i&&"selected"],children:[t,r,0!=n&&Z("span",{className:"Counter",title:n,children:n})]});var vt=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))};var gt=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))};var bt=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))};const wt=function(e,t=null){return t=t||e.method,fetch(e.action,{method:t,body:new URLSearchParams(new FormData(e))})},xt=({emoji:e,text:t,isBusy:r,dialog:n})=>Z(n?"details":"div",{className:["user-status-container","border","position-relative","hide-sm","bg-white","hide-md",n?["details-reset","details-overlay","details-overlay-dark"]:null],children:[Z(n?"summary":"div",{className:"d-flex",children:Z("div",{className:["d-flex","p-2","width-full","border-0","rounded-bottom-0",r?["user-status-container-border-busy","bg-yellow-light","border-yellow"]:null],children:[Z("div",{className:"flex-self-start mr-1 ml-1",children:Z("div",{children:e})}),Z("div",{className:"user-status-message-wrapper f6 mt-1 text-gray-dark ws-normal",children:Z("div",{children:Z("div",{children:t})})})]})}),n]});xt.defaultProps={isBusy:!1,dialog:null};const St=xt;var kt=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))};const At=({children:e})=>Z("div",{className:"pt-3",children:[].concat([e]).map((e=>{var t;const r=null===(t=null==e?void 0:e.querySelector)||void 0===t?void 0:t.call(e,"summary");return r&&(r.className="btn-link text-small muted-link my-1"),e}))});var qt=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))};var Nt=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))};var Bt=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))};function Et(e){return Bt(this,void 0,void 0,(function*(){!function(){const e=document.querySelector(".progress-pjax-loader");if(e){const t=e.firstElementChild,r=1200,n=100;t.style.width="0",e.style.opacity="100%";for(let e=0;et.style.width=`${n}%`),e)}setTimeout((()=>e.style.opacity="0"),r+n)}}();const t=yield fetch(e);return{document:(new DOMParser).parseFromString(yield t.text(),"text/html"),url:t.url}}))}function Pt(e){return e.src||e.getAttribute("data-src")}function Tt(e){document.body.className=e.body.className,document.head.querySelector("title").innerText=e.head.querySelector("title").innerText,function(e){const t=document.querySelector("header"),r=e.querySelector("header");t&&r&&t.replaceWith(r)}(e),function(e){const t=[...document.querySelectorAll("script")],r=[...e.querySelectorAll("script")].map(Pt).filter((e=>!t.some((t=>Pt(t)===e)))).map((e=>Z("script",{src:e})));document.body.append(...r)}(e)}const zt=function(e=window.location.href,t=!0){return Bt(this,void 0,void 0,(function*(){const r=function(e=location.pathname){return!i(e)}(),n=p(),o=yield Et(e),a=o.document.querySelector("main");if(a.style.display="none",r){document.querySelector("body > div.application-main").prepend(Z("div",{itemScope:!0,itemType:"http://schema.org/SoftwareSourceCode",children:Z("main",{})}))}const s=document.querySelector("main");if(s.parentElement.insertBefore(a,s),yield Ht(o.url),s.replaceWith(a),r){const e=document.querySelector("body > div.application-main");for(const t of[...e.children].splice(1))e.removeChild(t)}else n&&(a.parentElement.className="");a.style.display="",(yield xe.jumpToTop)&&window.scrollTo(0,0),Tt(o.document),t&&function(e){try{history.pushState(null,null,e)}catch(t){location.hash="#"+e}}(o.url)}))};var Rt=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))};var Lt=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))};var jt=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))};const Ct=[new class extends ae{constructor(){super(xe.usePreloader,ke.Z,"preloader")}},new class extends ae{constructor(){super(!0,b.Z,"compatibility")}},new class extends ae{constructor(){super(xe.useOldCSS,le.Z,"old-school")}},new class extends ae{constructor(){super(xe.enableLightHeader,Se.Z,"light-header")}},new class extends ae{constructor(){super(xe.readmeHeaderType.then((e=>e===de.CombinedOld)),qe.Z,"combined-old-readme")}},new class extends ae{constructor(){super(xe.enableStickyReadmeHeader,Ae.Z,"sticky-readme-header")}},new class extends j{isApplieble(e){return m(e)}waitUntilFixerReady(){return R(".Subhead--spacious")}apply(){const e=document.querySelector(".Subhead--spacious");e.parentElement.insertBefore(Z(Ce,{}),e)}},new class extends j{constructor(){super(...arguments),this.wasShown=!1}isApplieble(){return Ne(this,void 0,void 0,(function*(){return(!this.wasShown||(yield xe.engine)===ce.Pjax)&&(yield xe.usePreloader)}))}apply(){this.wasShown=!0,document.documentElement.classList.add("defreshing"),document.documentElement.dataset.defreshedAt=String((new Date).valueOf())}},new class extends j{isApplieble(e){return s(e)&&!Oe()}waitUntilFixerReady(){return R("main:nth-child(1) > div > nav")}apply(e){const t=document.querySelector("main > div > nav"),r=t.parentElement;p(e)||(r.className="pagehead repohead hx_repohead readability-menu bg-gray-light pb-0 pt-3",r.firstElementChild.className="d-flex container-lg mb-4 px-3"),t.className="js-repo-nav js-sidenav-container-pjax clearfix hx_reponav reponav px-3 container-lg",t.querySelector(":scope > ul").className="list-style-none";for(const e of t.querySelectorAll(":scope > ul > li")){e.className="";const t=e.querySelector("a"),r=t.classList.contains("selected");t.className="js-selected-navigation-item reponav-item"+(r?" selected":"")}const n=Z(Ze,{children:[...t.querySelectorAll(":scope > ul > li > a")].map((e=>Z("a",{dataset:{name:e.getAttribute("data-tab-item")},href:e.href,children:e.querySelector("span").textContent})))}),i=t.querySelector(":scope > div");i?i.replaceWith(n):t.append(n);new Je((()=>{let e=!1;for(const r of t.querySelectorAll(":scope > ul > li > a")){r.style.display="block";const t=n.querySelector(`a[data-name=${r.getAttribute("data-tab-item")}]`);if(t){const n=!!r.offsetTop;e||(e=n),r.style.display=n?"none":"block",r.style.visibility=n?"hidden":"visible",t.style.display=n?"block":"none"}}n.style.display=e?"block":"none"})).observe(t)}},new class extends j{isApplieble(e){return s(e)&&!p(e)&&!Oe()}waitUntilFixerReady(){return z("main:nth-child(1) .container-xl")}apply(){document.querySelector("main .container-xl").className="container-lg clearfix new-discussion-timeline px-3"}},new class extends j{isApplieble(e){return s(e)&&!Oe()}waitUntilFixerReady(){return z("main:nth-child(1) div.repository-content > :first-child")}},new class extends j{isApplieble(){return Me()}waitUntilFixerReady(){return R("main:nth-child(1) git-clone-help")}apply(){return Ke(this,void 0,void 0,(function*(){const e=document.querySelector("main:nth-child(1) git-clone-help"),t=new Map([[`-M ${xe.mainBranchName.defaultValue}`,`-M ${yield xe.mainBranchName}`],[`origin ${xe.mainBranchName.defaultValue}`,`origin ${yield xe.mainBranchName}`]]),r=[...e.querySelectorAll("span")].filter((e=>(e.innerText||"").trim()));for(const e of r)for(const r of t)e.innerText=e.innerText.replace(r[0],r[1])}))}},new class extends j{isApplieble(e){return(l(e)||c(e)||u(e))&&!(Me()||Oe())}waitUntilFixerReady(){return R("main:nth-child(1) #branch-select-menu","main:nth-child(1) #branch-select-menu span.css-truncate-target")}apply(){const e=document.querySelector("#branch-select-menu"),t=e.querySelector("details-menu"),r=t&&t.getAttribute("src"),n=e.querySelector("include-fragment");n&&n.setAttribute("src",r);const i=e.querySelector("span.css-truncate-target");i.parentElement.insertBefore(Z(Xe,{}),i)}},new class extends j{isApplieble(e){return(l(e)||c(e)||u(e))&&!(Me()||Oe())}waitUntilFixerReady(){return R("main:nth-child(1) #ref-list-branches")}},new class extends j{isApplieble(e){return(l(e)||c(e))&&!(Me()||Oe())}waitUntilFixerReady(e){const t=["main:nth-child(1) .repository-content .Box relative-time","main:nth-child(1) .repository-content .Box div.flex-shrink-0:not(.hx_avatar_stack_commit)"];return l(e)&&(t.push("main:nth-child(1) .repository-content .file-navigation > :not(:first-child) svg.octicon-git-branch"),t.push("main:nth-child(1) .repository-content .Box ul.list-style-none svg.octicon-history")),R({selectors:t,dynamic:!0})}apply(e,t){l(e)&&this.backupDetails(t),this.moveCommitBuildStatuses(),this.moveCommitComments(),this.moveCommitDetails(),this.removeSecondCommitTitle()}backupDetails(e){const t=document.querySelector(".repository-content .file-navigation > :not(:first-child) svg.octicon-git-branch").parentElement;t.id="backup-branches";t.parentElement.remove(),e.append(t);const r=document.querySelector(".repository-content .Box ul.list-style-none svg.octicon-history").parentElement;r.id="backup-commits";r.parentElement.parentElement.remove(),e.append(r)}getBuildStatuses(){const e=document.querySelector("main:nth-child(1) .repository-content .Box .Box-header");return e.querySelector("details.commit-build-statuses")||e.querySelector("include-fragment")}moveCommitBuildStatuses(){if(this.getBuildStatuses()){const e=document.querySelector(".repository-content .Box .Box-header .commit-author").parentElement;e.parentElement.insertBefore(Z(et,{children:this.getBuildStatuses()}),e.nextSibling)}}moveCommitComments(){const e=document.querySelector("main:nth-child(1) .repository-content .Box .Box-header svg.octicon-comment");if(e){const t=e.parentElement;t.className="no-wrap muted-link text-inherit ml-2";const r=document.querySelector(".repository-content .Box .Box-header a.commit-author").parentElement;r.parentElement.insertBefore(t,r.nextSibling)}}moveCommitDetails(){const e=document.querySelector(".repository-content .Box relative-time").parentElement.parentElement,t=document.querySelector(".repository-content .Box div.flex-shrink-0:not(.hx_avatar_stack_commit)");for(const e of[...t.children])t.removeChild(e);const r=e.querySelector("a.text-mono"),n=e.querySelector("relative-time");t.append(Z(Ye,{href:r.href,datetime:n.getAttribute("datetime")})),e.remove()}removeSecondCommitTitle(){const e=document.querySelector(".repository-content .Box .Box-header .Details-content--hidden a.text-bold");e&&e.parentElement.remove()}},new class extends j{isApplieble(e){return l(e)&&!Me()&&!Oe()}waitUntilFixerReady(){return it(this,void 0,void 0,(function*(){return(yield R("main:nth-child(1) .BorderGrid-row:last-child"))&&(yield T("main:nth-child(1) .BorderGrid-row .Progress"))}))}apply(){return it(this,void 0,void 0,(function*(){const e=[...document.querySelector("main .BorderGrid-row .Progress").parentElement.nextElementSibling.children].map(this.extractLanguageData),t=document.querySelector(".repository-content"),r=yield xe.openLanguagesByDefault;t.prepend(Z(nt,{open:r,langs:e}))}))}extractLanguageData(e){return e.querySelector("a")?{name:e.querySelector("span").innerText,percent:e.querySelectorAll("span")[1].innerText,color:e.querySelector("svg").style.color,link:e.querySelector("a").href}:{name:e.querySelectorAll("span")[1].innerText,percent:e.querySelectorAll("span")[2].innerText,color:e.querySelector("svg").style.color,link:""}}},new class extends j{isApplieble(e){return l(e)&&!Me()&&!Oe()}apply(e,t){return ut(this,void 0,void 0,(function*(){const r=document.querySelector(".repository-content details summary div.repository-lang-stats-graph");document.querySelector(".repository-content").prepend(Z(ct,{rounded:!r,children:[this.createCommitsSummaryElement(t),this.createBranchesSummaryElement(t),this.createPackagesSummaryElement(e),this.createReleasesSummaryElement(e,yield xe.treatTagsAsReleases,yield xe.showLatestReleasePopup),this.createContributorsSummaryElement(e),this.createLicenseSummaryElement()]}))}))}createCommitsSummaryElement(e){const t=e.querySelector("#backup-commits"),r=t.querySelector("strong").innerText,n=t.href;return Z(st,{icon:Z($e,{}),href:n,text:"commit",count:r})}createBranchesSummaryElement(e){const t=e.querySelector("#backup-branches"),r=t.querySelector("strong").innerText,n=t.href;return Z(st,{icon:Z(Ie,{}),href:n,text:"branch",count:r})}createPackagesSummaryElement(e){const t=Z(_e,{});return this.createSummaryElementFromRightBar(e,t,"package",0,"",!1)}createReleasesSummaryElement(e,t,r){var n;const i=Z(_e,{}),o=this.createSummaryElementFromRightBar(e,i,"release",0,"",!0,t);if(r&&o){const e=this.findRightBarSectionByName("releases"),t=null==e?void 0:e.querySelector("relative-time"),r=null===(n=null==t?void 0:t.parentElement)||void 0===n?void 0:n.previousElementSibling,i=null==r?void 0:r.querySelector("span");if(i){const e=`${i.innerText} — ${t.innerText}`;o.classList.add("tooltipped","tooltipped-se"),o.setAttribute("aria-label",e)}}return o}createContributorsSummaryElement(e){const t=Z(We,{});return this.createSummaryElementFromRightBar(e,t,"contributor",1,"graphs/")}createLicenseSummaryElement(){const e=document.querySelector(".flex-shrink-0.col-12.col-md-3 svg.octicon-law");if(e){const t=e.parentElement,r=t.href,n=t.innerText.replace("License","").trim();return Z(st,{icon:Z(Ve,{}),href:r,text:n})}return null}createSummaryElementFromRightBar(e,t,r,n=0,i="",a=!0,s=!1){const l=this.findRightBarSectionByName(r);if(!l&&!a)return null;let c,u;if(l){let e=l.querySelector("span.Counter");!e&&s&&(e=l.querySelector(":scope > a > span")),c=(null==e?void 0:e.innerText)||n,u=l.querySelector("a").href}else c=n,u=`/${o(e)}/${i}${ot(r,c)}`;return Z(st,{icon:t,href:u,text:r,count:c})}findRightBarSectionByName(e){return[...document.querySelectorAll(".flex-shrink-0.col-12.col-md-3 div.BorderGrid-cell")].find((t=>{const r=t.querySelector("a");return r&&r.href.includes(e)}))}},new class extends j{isApplieble(e){return l(e)&&!Me()&&!Oe()}waitUntilFixerReady(){return pt(this,void 0,void 0,(function*(){return(yield R("main:nth-child(1) .repository-content .BorderGrid-row"))&&(yield T("main:nth-child(1) .repository-content .BorderGrid-cell .topic-tag"))}))}apply(){const e=document.querySelector("main .repository-content .BorderGrid-cell .topic-tag");document.querySelector("main .repository-content").prepend(Z(dt,{children:e.parentElement}))}},new class extends j{isApplieble(e){return l(e)&&!Me()&&!Oe()}waitUntilFixerReady(){return R("main:nth-child(1) .repository-content .BorderGrid-row")}apply(){var e,t;const r=document.querySelector("main .repository-content"),n=r.querySelector(".BorderGrid-cell"),i=n.querySelector(".f4"),o=null===(t=null===(e=n.querySelector(".octicon-link"))||void 0===e?void 0:e.parentElement.querySelector("a"))||void 0===t?void 0:t.href;r.prepend(Z(ht,{website:o,children:i.childNodes}))}},new class extends j{isApplieble(e){return l(e)&&!Me()&&!Oe()}waitUntilFixerReady(){return mt(this,void 0,void 0,(function*(){return(yield R("main:nth-child(1) .repository-content .BorderGrid-row"))&&(yield T("main:nth-child(1) .repository-content .BorderGrid-row:nth-child(1) details"))}))}apply(){const e=document.querySelector("main .repository-content .BorderGrid-row:nth-child(1) details");e&&document.querySelector("main .repository-content").prepend(e)}},new class extends j{isApplieble(e){return l(e)&&!Me()&&!Oe()}waitUntilFixerReady(){return R("main:nth-child(1) .repository-content")}apply(){const e=document.querySelector(".repository-content"),t=e.querySelector(".gutter-condensed"),r=t.firstElementChild;e.append(...r.children),t.parentElement.removeChild(t)}},new class extends j{isApplieble(e){return(l(e)||c(e))&&!Me()&&!Oe()}waitUntilFixerReady(){return ft(this,void 0,void 0,(function*(){return(yield R("main:nth-child(1) .repository-content"))&&(yield T("main:nth-child(1) #readme"))}))}apply(){var e;return ft(this,void 0,void 0,(function*(){const t=document.querySelector("#readme");t.className="Box md js-code-block-container Box--condensed";const r=t.firstElementChild;r.className="Box-header d-flex flex-items-center flex-justify-between",r.removeAttribute("style");const n=t.querySelector(".Box-title"),i=n.parentElement;switch(yield xe.readmeHeaderType){case de.New:break;case de.CombinedNew:case de.CombinedOld:i.querySelector("details svg").replaceWith(Z(Ue,{}));break;case de.Old:null===(e=i.querySelector("details"))||void 0===e||e.remove(),n.className="Box-title",n.prepend(Z(Ue,{}))}}))}},new class extends j{isApplieble(e){return vt(this,void 0,void 0,(function*(){return(yield xe.defreshProfilePage)&&f(e)&&!Oe()}))}waitUntilFixerReady(){return R("main:nth-child(1) nav","main:nth-child(1) div.js-profile-editable-area > :not(.js-user-profile-bio)[class]")}apply(e){return vt(this,void 0,void 0,(function*(){const t=document.querySelector("main div.js-profile-editable-area > :not(.js-user-profile-bio)[class]"),r=document.querySelector("main nav");if(r.style.overflow="hidden",r.append(...this.generateTabs(t,e)),t.remove(),!(yield xe.keepProfilePageIcons))for(const e of r.querySelectorAll("svg"))e.style.display="none"}))}generateTabs(e,t){const r=new Map([["stars",null],["followers",null],["following",Z(We,{})]]),n=[...r.keys()];return[...e.querySelectorAll("a")].filter((e=>r.has(this.getTabName(e.href)))).sort(((e,t)=>n.indexOf(this.getTabName(e.href))-n.indexOf(this.getTabName(t.href)))).map((e=>this.generateTab(t,e,r.get(this.getTabName(e.href))))).filter((e=>e))}getTabName(e){const t=e.indexOf("?");return-1===t?"":new URLSearchParams(e.substring(t)).get("tab")}generateTab(e,t,r=null){var n;const i=t.querySelector("svg")||r;null==i||i.classList.add("UnderlineNav-octicon");let o=this.getTabName(t.href).trim();o=o[0].toUpperCase()+o.slice(1);const a=t.querySelector("span"),s=(null===(n=null==a?void 0:a.innerText)||void 0===n?void 0:n.trim())||0;return Z(yt,{href:t.href,selected:this.getTabName(e)===this.getTabName(t.href),icon:i,text:o,count:s})}},new class extends j{isApplieble(e){return gt(this,void 0,void 0,(function*(){return(yield xe.defreshProfilePage)&&(yield xe.removeThemeSelector)&&f(e)&&!Oe()}))}waitUntilFixerReady(){return gt(this,void 0,void 0,(function*(){return R("main:nth-child(1) nav")}))}apply(){const e=document.querySelector("main:nth-child(1) nav");e&&e.nextElementSibling&&e.nextElementSibling.remove()}},new class extends j{isApplieble(){return bt(this,void 0,void 0,(function*(){return yield xe.disableUserStatus}))}waitUntilFixerReady(){return T(".js-user-status-details include-fragment")}apply(){for(const e of document.querySelectorAll(".js-user-status-details"))for(const t of e.querySelectorAll("include-fragment"))t.remove()}},new class extends j{isApplieble(e){return kt(this,void 0,void 0,(function*(){return(yield xe.defreshProfilePage)&&(yield xe.defreshProfilePageUserStatus)&&f(e)&&!Oe()}))}waitUntilFixerReady(){return T("main:nth-child(1) .user-status-container")}apply(){const e=document.querySelector("main .user-status-container"),t=e.querySelector("img")||e.querySelector("g-emoji"),r=e.querySelector(".user-status-message-wrapper"),n=(null==r?void 0:r.innerText.trim())||"",i=!!e.querySelector(".user-status-busy"),o=e.querySelector("details-dialog");this.fixDialog(o),e.replaceWith(Z(St,{emoji:t,text:n,isBusy:i,dialog:o}));const a=document.querySelector("main img.avatar");a&&a.classList.add("avatar-before-user-status")}fixDialog(e){e&&(this.fixDialogFragments(e),this.fixDialogEmojis(e),this.fixDialogButtons(e))}fixDialogFragments(e){for(const t of[...e.querySelectorAll("include-fragment")])t.setAttribute("src",t.getAttribute("data-url"))}fixDialogEmojis(e){const t=e.querySelector(".js-user-status-custom-emoji"),r=e.querySelector("form").emoji;e.querySelector(".btn.js-toggle-user-status-emoji-picker").addEventListener("click",(n=>{n.preventDefault(),n.stopPropagation();const i=e.querySelector("emoji-picker");i&&(this.fixEmojiPicker(t,r,i),i.open())}))}fixEmojiPicker(e,t,r){if(!r.fixed){for(const n of[...r.querySelectorAll(".js-emoji-button")])n.addEventListener("click",(function(n){n.preventDefault(),t.value=this.getAttribute("value");const i=this.children[0].cloneNode(!0);i.removeAttribute("width"),i.removeAttribute("height"),e.children[0].replaceWith(Z("div",{children:i})),r.close()}));r.fixed=!0}}fixDialogButtons(e){const t=e.querySelector("form button[type='submit']"),r=t.parentElement.querySelector("button:not([type='submit'])");t.addEventListener("click",(function(e){return kt(this,void 0,void 0,(function*(){e.preventDefault(),yield wt(this.form),location.reload()}))})),r.addEventListener("click",(function(e){return kt(this,void 0,void 0,(function*(){e.preventDefault();const t=this.form;t.emoji.value="",t.message.value="",t.limited_availability.value="0",yield wt(this.form),location.reload()}))}))}},new class extends j{isApplieble(e){return qt(this,void 0,void 0,(function*(){return(yield xe.defreshProfilePage)&&f(e)&&!Oe()}))}waitUntilFixerReady(){return qt(this,void 0,void 0,(function*(){return(yield R("main:nth-child(1) .h-card"))&&(yield T("main:nth-child(1) #blob-more-options-details"))}))}apply(){const e=document.querySelector("#blob-more-options-details"),t=e.querySelector("details").parentElement;document.querySelector("main .h-card").append(Z(At,{children:t})),e.parentElement.remove()}},new class extends j{constructor(){super(...arguments),this.isActive=!1}isApplieble(){return Nt(this,void 0,void 0,(function*(){return!this.isActive&&(yield xe.engine)===ce.Pjax}))}apply(){this.isActive=!0,document.addEventListener("pjax:success",(()=>Ht()))}},new class extends j{isApplieble(){return Rt(this,void 0,void 0,(function*(){return(yield xe.engine)===ce.Original}))}apply(){this.setupObserver(),this.fixAll()}needsToBeFixed(e){return!e.hasAttribute("defreshed")&&e.href&&!h(e.href)&&(!!(t=e.href)&&(t.startsWith("/")||y(t,location.host)))&&(s(e.href)||m(e.href)||f(e.href))&&!d(e.href)&&!p(e.href);var t}fix(e){e.setAttribute("defreshed",""),e.addEventListener("click",(function(e){return Rt(this,void 0,void 0,(function*(){e.metaKey||e.ctrlKey||(e.stopPropagation(),e.preventDefault(),zt(v(this.href)))}))}))}fixAll(){[...document.querySelectorAll("a")].filter(this.needsToBeFixed).forEach(this.fix)}setupObserver(){if(!("defreshObserver"in window)){const e=new MutationObserver((()=>this.fixAll()));e.observe(document.body,{childList:!0,subtree:!0}),window.defreshObserver=e}}},new class extends j{isApplieble(){return Lt(this,void 0,void 0,(function*(){return(yield xe.engine)===ce.Original}))}apply(){window.onpopstate=function(){const e=document.location.href;g(e)&&s(e)&&!h(e)?zt(e,!1):window.location.href=document.location.href}}},new class extends j{apply(){[...document.querySelectorAll(".js-notification-top-shelf[closing], div#js-flash-container[closing]")].forEach((e=>e.remove())),[...document.querySelectorAll(".js-notification-top-shelf, div#js-flash-container")].forEach((e=>e.setAttribute("closing","")))}},new class extends j{isApplieble(){return document.documentElement.classList.contains("defreshing")}apply(){return jt(this,void 0,void 0,(function*(){const e=document.documentElement.classList;e.remove("defreshing");const t=+document.documentElement.dataset.defreshedAt;delete document.documentElement.dataset.defreshedAt;(new Date).valueOf()-t>100&&(e.add("defreshed"),yield x(1500),e.remove("defreshed"))}))}}];var Ot=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))};function Mt(e=window.location.href){return Ot(this,void 0,void 0,(function*(){const t=document.createElement("backup");for(const r of Ct){if((yield r.isApplieble(e,t))&&(yield r.waitUntilFixerReady(e,t)))try{yield r.apply(e,t)}catch(e){console.log("Fixer exception: ",e)}0}}))}const Ht=Mt;var Dt=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))};!function(){Dt(this,void 0,void 0,(function*(){!document.documentElement.classList.contains(L.u2)&&g()&&(document.documentElement.classList.add(L.u2),yield Mt())}))}()},176:(e,t,r)=>{r.d(t,{Z:()=>o});var n=r(645),i=r.n(n)()((function(e){return e[1]}));i.push([e.id,".overall-summary{position:relative;border:1px solid}.overall-summary.rounded-bottom-0{border-bottom-right-radius:0 !important;border-bottom-left-radius:0 !important}.overall-summary>ul.numbers-summary{display:table;width:100%;table-layout:fixed}.overall-summary>ul.numbers-summary>li{display:table-cell;padding:0;text-align:center;white-space:nowrap}.overall-summary>ul.numbers-summary>li>a{display:block;padding:10px 0;text-decoration:none}.overall-summary>ul.numbers-summary>li.tooltipped-se::before{bottom:3px}.overall-summary>ul.numbers-summary>li.tooltipped-se::after{top:calc(100% - 10px)}.overall-summary{border-color:var(--color-btn-border)}.overall-summary a{color:var(--color-text-secondary)}.overall-summary a:hover{color:var(--color-text-link)}.overall-summary .octicon{color:var(--color-text-tertiary)}.reponav-item svg.octicon{color:var(--color-underlinenav-icon)}div.repository-lang-stats-graph{border-color:var(--color-btn-border)}\n",""]);const o=i},907:(e,t,r)=>{r.d(t,{Z:()=>o});var n=r(645),i=r.n(n)()((function(e){return e[1]}));i.push([e.id,'[data-color-mode="light"]{--color-header-text: #333 !important;--color-header-bg: #f5f5f5 !important;--color-header-logo: #333 !important;--color-header-search-bg: #fff !important;--color-header-search-border: #dadbdc !important}[data-color-mode="light"] .header-search-input::placeholder{color:#333 !important}\n',""]);const o=i},12:(e,t,r)=>{r.d(t,{Z:()=>o});var n=r(645),i=r.n(n)()((function(e){return e[1]}));i.push([e.id,'body .rounded-1{border-radius:3px !important}.btn{border-radius:3px !important}.repository-content .file-navigation .btn,.repository-content .flex-items-start .btn{padding:3px 10px !important;font-size:12px !important;line-height:20px !important;font-weight:600 !important}.repository-content #blob-path{line-height:20px}#branch-select-menu>.btn>svg{display:none !important}#branch-select-menu>.btn>span{font-weight:600 !important}.subnav-item:first-child,.subnav-search-context .btn,.BtnGroup-item:first-child,.BtnGroup-parent:first-child .BtnGroup-item,.input-group .input-group-button:first-child .btn,.btn.btn-with-count{border-top-left-radius:3px !important;border-top-right-radius:0 !important;border-bottom-right-radius:0 !important;border-bottom-left-radius:3px !important}.subnav-item:last-child,.subnav-search-context+.subnav-search .subnav-search-input,.BtnGroup-item:last-child,.BtnGroup-parent:last-child .BtnGroup-item,.input-group .input-group-button:last-child .btn{border-top-left-radius:0 !important;border-top-right-radius:3px !important;border-bottom-right-radius:3px !important;border-bottom-left-radius:0 !important}.avatar,.avatar-user{border-radius:3px !important}body:not(.page-profile) .avatar,body:not(.page-profile) .avatar-user,.avatar-small{box-shadow:none !important;background-color:transparent !important}.Box-header .avatar[width="24"],.Box-header .avatar-user[width="24"]{position:relative;top:2px;left:2px}.avatar[width="24"],.avatar-user[width="24"]{width:20px;height:20px}.hx_avatar_stack_commit,.AvatarStack-body{background-color:transparent !important}.Box{border-radius:3px !important}.Box-header{margin:0;border:none;border-bottom:1px solid var(--color-border-primary)}.Box-header,:not(li).Box-row:first-of-type,.Box--danger li.Box-row:first-of-type{border-top-left-radius:3px !important;border-top-right-radius:3px !important}.Box-row,.Box-header,.Box-body{padding:8px 12px}.Box-header .ml-n1{margin-left:0 !important;margin-right:-8px !important}.markdown-body pre{border-radius:3px !important}.dropdown-menu,.SelectMenu-modal{border-radius:3px !important}.SelectMenu-modal .SelectMenu-tab{border-top-left-radius:4px !important;border-top-right-radius:4px !important}nav.menu{border-radius:3px !important}nav.menu>*:first-child{border-top-left-radius:3px !important;border-top-right-radius:3px !important}nav.menu>*:last-child{border-bottom-left-radius:3px !important;border-bottom-right-radius:3px !important}input[type=\'text\'].form-control,input[type=\'url\'].form-control,textarea.form-control,label.form-control,div.tag-input.form-control,select.form-select{border-radius:3px !important}textarea.form-control.js-quick-submit{border-top-left-radius:3px !important;border-top-right-radius:3px !important;border-bottom-left-radius:0 !important;border-bottom-right-radius:0 !important}text-expander+label.drag-and-drop,text-expander+label.drag-and-drop>input{border-top-left-radius:0 !important;border-top-right-radius:0 !important;border-bottom-left-radius:3px !important;border-bottom-right-radius:3px !important}.pagehead-actions .btn{border-top-right-radius:0 !important;border-bottom-right-radius:0 !important;padding:3px 10px !important}.pagehead-actions a.social-count{border-top-right-radius:3px !important;border-bottom-right-radius:3px !important;padding:3px 10px !important}div.overall-summary{border-radius:3px !important}div.repository-lang-stats-graph{border-bottom-left-radius:3px !important;border-bottom-right-radius:3px !important}div.repository-lang-stats-graph>span.language-color:first-child{border-bottom-left-radius:3px !important}div.repository-lang-stats-graph>span.language-color:last-child{border-bottom-right-radius:3px !important}a.topic-tag{border:none !important;display:inline-block !important;padding:.3em .9em !important;margin:0 .5em .5em 0 !important;white-space:nowrap !important;line-height:1.5 !important;font-size:12px !important;border-radius:3px !important}li.topic-tag-action{border-radius:3px !important}.IssueLabel{border-radius:2px !important}.IssueLabel--big.lh-condensed,.State{border-radius:3px !important}.timeline-comment{border-radius:3px !important}.timeline-comment-header,.previewable-comment-form .comment-form-head.tabnav{border-top-left-radius:3px !important;border-top-right-radius:3px !important}.timeline-comment-header .tabnav-tab,.previewable-comment-form .comment-form-head.tabnav .tabnav-tab{border-top-left-radius:4px !important;border-top-right-radius:4px !important}div.comment-reactions-options .reaction-summary-item:first-child{border-bottom-left-radius:3px}.h-card .avatar-before-user-status{border-bottom-left-radius:0 !important;border-bottom-right-radius:0 !important}.h-card .user-status-container{border-top:0 !important}.dropdown-menu .js-user-status-container{border-radius:3px !important}body.page-profile .graph-before-activity-overview{border-radius:3px !important}body.page-profile .contribution-activity li>.js-year-link{border-radius:3px !important}\n',""]);const o=i},213:(e,t,r)=>{r.d(t,{Z:()=>o});var n=r(645),i=r.n(n)()((function(e){return e[1]}));i.push([e.id,'html.defreshing main>*,html.defreshing div.footer{opacity:0}html.defreshing main::before{content:url("https://github.githubassets.com/images/spinners/octocat-spinner-128.gif");position:relative;left:calc(50% - 64px);top:64px}html.defreshing[data-color-mode=dark] main::before{filter:invert(1)}html.defreshed *{transition:1000ms opacity}\n',""]);const o=i},158:(e,t,r)=>{r.d(t,{Z:()=>o});var n=r(645),i=r.n(n)()((function(e){return e[1]}));i.push([e.id,"#readme summary{border:none;box-shadow:none;padding:0 !important;background-color:transparent}#readme .Box-title{padding-left:1ch !important}\n",""]);const o=i},203:(e,t,r)=>{r.d(t,{Z:()=>o});var n=r(645),i=r.n(n)()((function(e){return e[1]}));i.push([e.id,"#readme .Box-header{position:sticky !important;top:0 !important;z-index:1 !important}\n",""]);const o=i},645:e=>{e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var r=e(t);return t[2]?"@media ".concat(t[2]," {").concat(r,"}"):r})).join("")},t.i=function(e,r,n){"string"==typeof e&&(e=[[null,e,""]]);var i={};if(n)for(var o=0;o{const n=r(940),i=r(298);t.BF=e=>(e=(e||"").toString().toLowerCase(),n.includes(e))},298:e=>{e.exports=JSON.parse('{"avatars":{"reserved":true,"taken":true,"typical":true,"included":false},"assets":{"reserved":true,"taken":true,"typical":true,"included":false},"bookmarks":{"reserved":true,"taken":true,"typical":true,"included":false},"checks":{"reserved":true,"taken":true,"typical":true,"included":false},"conversations":{"reserved":true,"taken":true,"typical":true,"included":false},"labels":{"reserved":true,"taken":true,"typical":true,"included":false},"media":{"reserved":true,"taken":true,"typical":true,"included":false},"nodes":{"reserved":true,"taken":true,"typical":true,"included":false},"owners":{"reserved":true,"taken":true,"typical":true,"included":false},"page":{"reserved":true,"taken":true,"typical":true,"included":false},"registry":{"reserved":true,"taken":true,"typical":true,"included":false},"seats":{"reserved":true,"taken":true,"typical":true,"included":false},"shared":{"reserved":true,"taken":true,"typical":true,"included":false},"tasks":{"reserved":true,"taken":true,"typical":true,"included":false},"uploads":{"reserved":true,"taken":true,"typical":true,"included":false},"account":{"reserved":true,"taken":false,"typical":false,"redirect":"https://github.com/settings/profile","included":true},"apps":{"reserved":true,"taken":false,"typical":false,"redirect":"https://github.com/marketplace","included":true},"blog":{"reserved":true,"taken":false,"typical":false,"redirect":"https://blog.github.com","included":true},"c":{"reserved":true,"taken":false,"typical":false,"redirect":"https://support.github.com/","included":true},"contact":{"reserved":true,"taken":false,"typical":false,"redirect":"https://support.github.com/","included":true},"contributing":{"reserved":true,"taken":false,"typical":false,"redirect":"https://github.com/about/careers","included":true},"customer":{"reserved":true,"taken":false,"typical":false,"redirect":"https://github.com/business/customers","included":true},"customers":{"reserved":true,"taken":false,"typical":false,"redirect":"https://github.com/business/customers","included":true},"developer":{"reserved":true,"taken":false,"typical":false,"redirect":"https://developer.github.com","included":true},"edu":{"reserved":true,"taken":false,"typical":false,"redirect":"https://education.github.com","included":true},"guides":{"reserved":true,"taken":false,"typical":false,"redirect":"https://help.github.com","included":true},"help":{"reserved":true,"taken":false,"typical":false,"redirect":"https://help.github.com","included":true},"launch":{"reserved":true,"taken":false,"typical":false,"redirect":"https://github.com/search","included":true},"mac":{"reserved":true,"taken":false,"typical":false,"redirect":"https://desktop.github.com","included":true},"mirrors":{"reserved":true,"taken":false,"typical":false,"redirect":"https://help.github.com/articles/about-github-mirrors/","included":true},"pages":{"reserved":true,"taken":false,"typical":false,"redirect":"https://pages.github.com","included":true},"plans":{"reserved":true,"taken":false,"typical":false,"redirect":"https://github.com/pricing","included":true},"press":{"reserved":true,"taken":false,"typical":false,"redirect":"https://github.com/about/press","included":true},"readme":{"reserved":true,"taken":false,"typical":false,"included":true},"repositories":{"reserved":true,"taken":false,"typical":false,"redirect":"https://github.com/trending","included":true},"resources":{"reserved":true,"taken":false,"typical":false,"redirect":"https://resources.github.com","included":true},"security":{"reserved":true,"taken":false,"typical":false,"redirect":"https://help.github.com/articles/github-security/","included":true},"settings":{"reserved":true,"taken":false,"typical":false,"redirect":"https://github.com/settings/profile","included":true},"signup":{"reserved":true,"taken":false,"typical":false,"redirect":"https://github.com/join","included":true},"terms":{"reserved":true,"taken":false,"typical":false,"redirect":"https://help.github.com/articles/github-terms-of-service/","included":true},"topic":{"reserved":true,"taken":false,"typical":false,"redirect":"https://github.com/topics","included":true},"tos":{"reserved":true,"taken":false,"typical":false,"redirect":"https://help.github.com/articles/github-terms-of-service/","included":true},"training":{"reserved":true,"taken":false,"typical":false,"redirect":"https://services.github.com","included":true},"users":{"reserved":true,"taken":false,"typical":false,"redirect":"https://github.com","included":true},"wiki":{"reserved":true,"taken":false,"typical":false,"redirect":"https://github.com","included":true},"windows":{"reserved":true,"taken":false,"typical":false,"redirect":"https://desktop.github.com","included":true},"advisories":{"reserved":true,"taken":true,"typical":false,"included":true,"notes":"GitHub Advisory Database"},"collections":{"reserved":true,"taken":false,"typical":false,"included":true,"notes":"Curated lists of GitHub repos"},"hovercards":{"reserved":true,"taken":false,"typical":false,"included":true,"notes":"HTTP ERROR 406"},"inbox":{"reserved":true,"taken":true,"typical":false,"redirect":"https://github.com/410","included":true,"notes":"410 ERROR"},"invalid-email-address":{"reserved":true,"taken":true,"typical":false,"included":true,"notes":"HTTP ERROR 404"},"suggestions":{"reserved":true,"taken":false,"typical":false,"included":true},"suspended":{"reserved":true,"taken":true,"typical":false,"redirect":"https://github.com","included":true,"notes":"Page behaviour depends on whether you\'re logged in or if your account is actually suspended"},"case-studies":{"reserved":false,"taken":true,"typical":false,"included":true},"watching":{"reserved":false,"taken":true,"typical":false,"included":true},"save-net-neutrality":{"reserved":false,"taken":true,"typical":false,"included":true},"ghost":{"reserved":false,"taken":true,"typical":true,"included":true},"status":{"reserved":true,"taken":false,"typical":false,"included":true}}')},940:e=>{e.exports=JSON.parse('["400","401","402","403","404","405","406","407","408","409","410","411","412","413","414","415","416","417","418","419","420","421","422","423","424","425","426","427","428","429","430","431","500","501","502","503","504","505","506","507","508","509","510","511","about","access","account","admin","advisories","anonymous","any","api","apps","attributes","auth","billing","blob","blog","bounty","branches","business","businesses","c","cache","case-studies","categories","central","certification","changelog","cla","cloud","codereview","collection","collections","comments","commit","commits","community","companies","compare","contact","contributing","cookbook","coupons","customer-stories","customer","customers","dashboard","dashboards","design","develop","developer","diff","discover","discussions","docs","downloads","downtime","editor","editors","edu","enterprise","events","explore","featured","features","files","fixtures","forked","garage","ghost","gist","gists","graphs","guide","guides","help","help-wanted","home","hooks","hosting","hovercards","identity","images","inbox","individual","info","integration","interfaces","introduction","invalid-email-address","investors","issues","jobs","join","journal","journals","lab","labs","languages","launch","layouts","learn","legal","library","linux","listings","lists","login","logos","logout","mac","maintenance","malware","man","marketplace","mention","mentioned","mentioning","mentions","migrating","milestones","mine","mirrors","mobile","navigation","network","new","news","none","nonprofit","nonprofits","notices","notifications","oauth","offer","open-source","organisations","organizations","orgs","pages","partners","payments","personal","plans","plugins","popular","popularity","posts","press","pricing","professional","projects","pulls","raw","readme","recommendations","redeem","releases","render","reply","repositories","resources","restore","revert","save-net-neutrality","saved","scraping","search","security","services","sessions","settings","shareholders","shop","showcases","signin","signup","site","spam","sponsors","ssh","staff","starred","stars","static","status","statuses","storage","store","stories","styleguide","subscriptions","suggest","suggestion","suggestions","support","suspended","talks","teach","teacher","teachers","teaching","team","teams","ten","terms","timeline","topic","topics","tos","tour","train","training","translations","tree","trending","updates","username","users","visualization","w","watching","wiki","windows","works-with","www0","www1","www2","www3","www4","www5","www6","www7","www8","www9"]')}},t={};function r(n){var i=t[n];if(void 0!==i)return i.exports;var o=t[n]={id:n,exports:{}};return e[n](o,o.exports,r),o.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);r(370)})(); \ No newline at end of file +(()=>{"use strict";var e={370:(e,t,r)=>{var n=r(119);function i(e=location.pathname){try{e=new URL(e).pathname}catch(e){}return e.replace(/^[/]|[/]$|(\?(.*))$|(\/\?(.*))$/g,"")}function o(e=location.pathname){const t=function(e=location.pathname){if(!s(e=i(e)))return null;const[t,r]=e.split("/");return{owner:t,repo:r}}(e);return t?`${t.owner}/${t.repo}`:null}function a(e=location.pathname){if(!s(e=i(e)))return null;const t=e.match(/^[^/]+[/][^/]+[/]?(.*)$/);return t?t[1]:null}function s(e=location.pathname){const t=(e=i(e)).substring(0,e.indexOf("/"));return/^[^/]+\/[^/]+/.test(e)&&!(0,n.BF)(t)&&!function(e=location.pathname){return/^((orgs[/][^/]+[/])?dashboard([/]index[/]\d+)?)?$/.test(i(e))}(e)&&!function(e=location.pathname){return/^([^/]+[/][^/]+\/)?notifications$/.test(i(e))}(e)}function l(e=location.pathname){let t=a(e);const r=/^(tree[/][^/]+)?$/.test(t);return r||!(t||"").startsWith("tree/")?r:(t=t.substring(5),[...document.querySelectorAll("#ref-list-branches > .SelectMenu-list > a > span:not(.Label)")].map((e=>e.innerText&&e.innerText.trim())).filter((e=>e)).some((e=>e===t)))}function c(e=location.pathname){return/^tree\//.test(a(e))}function u(e=location.pathname){return/^blob\//.test(a(e))}function d(e=location.pathname){return function(e=location.pathname){return(a(e)||"").startsWith("raw/")}(e)||function(e=location.pathname){return(a(e)||"").startsWith("archive/")}(e)||function(e=location.pathname){return(a(e)||"").startsWith("releases/download/")}(e)}function p(e=location.pathname){return/^projects\/\d+$/.test(a(e))}function h(e=location.pathname){return/#[^/]*$/.test(e)}function m(e=location.pathname){return/^settings[/]profile$/.test(i(e))}function f(e=location.pathname){return(e=i(e))&&!e.includes("/")&&!(0,n.BF)(e)}function y(e,t){try{return new URL(e).host===t}catch(r){return window.location.host===t&&e.startsWith("/")}}function v(e=location.pathname,t=location.host,r=location.protocol){return function(e){try{return new URL(e),!0}catch(e){return!1}}(e)?e:`${r}//${t}/${e=i(e)}`}function g(e=window.location.href){return y(e,"github.com")}var b=r(176);function w(e){return new Promise((t=>{setTimeout(t,e)}))}const x=w;var S=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))};function k(e,t,r){return S(this,void 0,void 0,(function*(){const n=new Date;for(;(new Date).valueOf()-n.valueOf()!!q(e.querySelector(t))||null:()=>A()?q(e.querySelector(t)):!!q(e.querySelector(t))||null,r,n)}function E(e,t,r,n,i){return k(i?()=>!!e.querySelector(t)||null:()=>A()?!!e.querySelector(t):!!e.querySelector(t)||null,r,n)}function P(e,t){return S(this,void 0,void 0,(function*(){let r;r="string"==typeof e[0]?{selectors:[...e]}:e[0]instanceof HTMLElement?{container:e[0],selectors:[...e].splice(1)}:e[0],r=Object.assign({container:document.documentElement,interval:100,timeout:1500,dynamic:!1,selectors:[]},r),r.selector&&(r.selectors=[r.selector]),r.selectors&&!Array.isArray(r.selectors)&&(r.selectors=[...r.selectors]);return(yield Promise.all(r.selectors.map((e=>t(r.container,e,r.interval,r.timeout,r.dynamic))))).every((e=>e))}))}function T(...e){let t;return t="string"==typeof e[0]?{selectors:e}:e[0]instanceof Node?{container:e[0],selectors:[...e].splice(1)}:e[0],t.interval=0,t.timeout=0,R(t)}function z(...e){return P(e,E)}function R(...e){return P(e,B)}const L=JSON.parse('{"u2":"github-defreshed","ss":"GitHub Defreshed"}');class j{isApplieble(e,t){return!0}waitUntilFixerReady(e,t){return!0}apply(e,t){}}const C=Object.keys;function O(e){return"string"==typeof e}function M(e){return"number"==typeof e}function H(e){return"object"==typeof e?null!==e:D(e)}function D(e){return"function"==typeof e}function F(e,t){if(e)for(const r of C(e))t(e[r],r)}const U={animationIterationCount:0,borderImageOutset:0,borderImageSlice:0,borderImageWidth:0,boxFlex:0,boxFlexGroup:0,boxOrdinalGroup:0,columnCount:0,columns:0,flex:0,flexGrow:0,flexPositive:0,flexShrink:0,flexNegative:0,flexOrder:0,gridArea:0,gridRow:0,gridRowEnd:0,gridRowSpan:0,gridRowStart:0,gridColumn:0,gridColumnEnd:0,gridColumnSpan:0,gridColumnStart:0,fontWeight:0,lineClamp:0,lineHeight:0,opacity:0,order:0,orphans:0,tabSize:0,widows:0,zIndex:0,zoom:0,fillOpacity:0,floodOpacity:0,stopOpacity:0,strokeDasharray:0,strokeDashoffset:0,strokeMiterlimit:0,strokeOpacity:0,strokeWidth:0};const $=["Webkit","ms","Moz","O"];C(U).forEach((e=>{$.forEach((t=>{U[function(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}(t,e)]=0}))}));function I(e){return Array.isArray(e)?e.map(I).filter(Boolean).join(" "):H(e)?C(e).filter((t=>e[t])).join(" "):function(e){return t=e,!("boolean"==typeof t||null==e);var t}(e)?""+e:""}const G={animate:0,circle:0,clipPath:0,defs:0,desc:0,ellipse:0,feBlend:0,feColorMatrix:0,feComponentTransfer:0,feComposite:0,feConvolveMatrix:0,feDiffuseLighting:0,feDisplacementMap:0,feDistantLight:0,feFlood:0,feFuncA:0,feFuncB:0,feFuncG:0,feFuncR:0,feGaussianBlur:0,feImage:0,feMerge:0,feMergeNode:0,feMorphology:0,feOffset:0,fePointLight:0,feSpecularLighting:0,feSpotLight:0,feTile:0,feTurbulence:0,filter:0,foreignObject:0,g:0,image:0,line:0,linearGradient:0,marker:0,mask:0,metadata:0,path:0,pattern:0,polygon:0,polyline:0,radialGradient:0,rect:0,stop:0,svg:0,switch:0,symbol:0,text:0,textPath:0,tspan:0,use:0,view:0},V=/^(a(ll|t|u)|base[FP]|c(al|lipPathU|on)|di|ed|ex|filter[RU]|g(lyphR|r)|ke|l(en|im)|ma(rker[HUW]|s)|n|pat|pr|point[^e]|re[^n]|s[puy]|st[^or]|ta|textL|vi|xC|y|z)/;function W(e){const t=document.createDocumentFragment();return X(e.children,t),t}function _(e){this.props=e}function Z(e,{children:t,...r}){let n;var i;return r.namespaceURI||0!==G[e]||(r={...r,namespaceURI:"http://www.w3.org/2000/svg"}),O(e)?(n=r.namespaceURI?document.createElementNS(r.namespaceURI,e):document.createElement(e),function(e,t){for(const r of C(e))ee(r,e[r],t)}(r,n),K(t,n)):D(e)&&(H(e.defaultProps)&&(r={...e.defaultProps,...r}),n=function(e){const t=e.prototype;return!(!t||!t.isReactComponent)}(e)?new e({...e.defaultProps,...r,children:t}).render():e({...r,children:t})),H(i=r.ref)&&"current"in i?r.ref.current=n:D(r.ref)&&r.ref(n),n}function J(e,t,...r){return(O(t)||Array.isArray(t))&&(r.unshift(t),t={}),null==(t=t||{}).children||r.length||({children:r,...t}=t),Z(e,{...t,children:r},t.key)}function K(e,t){var r,n;H(n=e)&&"number"==typeof n.length&&"number"!=typeof n.nodeType?X(e,t):O(e)||M(e)?Q(document.createTextNode(e),t):null===e?Q(document.createComment(""),t):(r=e)&&"number"==typeof r.nodeType&&Q(e,t)}function X(e,t){for(const r of[...e])K(r,t);return t}function Q(e,t){t instanceof window.HTMLTemplateElement?t.content.appendChild(e):t.appendChild(e)}function Y(e,t){return e.replace(/[A-Z\d]/g,(e=>t+e.toLowerCase()))}function ee(e,t,r){switch(e){case"xlinkActuate":case"xlinkArcrole":case"xlinkHref":case"xlinkRole":case"xlinkShow":case"xlinkTitle":case"xlinkType":return void re(r,"http://www.w3.org/1999/xlink",Y(e,":"),t);case"xmlnsXlink":return void te(r,Y(e,":"),t);case"xmlBase":case"xmlLang":case"xmlSpace":return void re(r,"http://www.w3.org/XML/1998/namespace",Y(e,":"),t)}switch(e){case"htmlFor":return void te(r,"for",t);case"dataset":return void F(t,((e,t)=>{null!=e&&(r.dataset[t]=e)}));case"innerHTML":case"innerText":case"textContent":return void(r[e]=t);case"dangerouslySetInnerHTML":return void(H(t)&&(r.innerHTML=t.__html));case"spellCheck":return void(r.spellcheck=t);case"class":case"className":return void(D(t)?t(r):te(r,"class",I(t)));case"ref":case"namespaceURI":return;case"style":if(H(t))return void F(t,((e,t)=>{M(e)&&0!==U[t]?r.style[t]=e+"px":r.style[t]=e}))}if(D(t)){if("o"===e[0]&&"n"===e[1]){const n=e.toLowerCase();null==r[n]?r[n]=t:r.addEventListener(e,t)}}else!0===t?te(r,e,""):!1!==t&&null!=t&&(r instanceof SVGElement&&!V.test(e)?te(r,Y(e,"-"),t):te(r,e,t))}function te(e,t,r){e.setAttribute(t,r)}function re(e,t,r,n){e.setAttributeNS(t,r,n)}Object.defineProperties(_.prototype,{isReactComponent:{value:!0},render:{value:()=>null}});const ne={createElement:J,Fragment:W,Component:_},ie=({name:e,children:t})=>Z("style",{type:"text/css",[e]:"",children:t});var oe=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))};class ae extends j{constructor(e,t,r){super(),this.css=String(t),this.enable=e,this.name=`${L.u2}-${r}`}isApplieble(){return oe(this,void 0,void 0,(function*(){return(yield this.enable)&&!document.querySelector(`head > style[${this.name}]`)}))}waitUntilFixerReady(){return k((()=>!!document.head||null),(e=Object.assign({interval:100,timeout:3e3},e)).interval,e.timeout);var e}apply(){document.head.append(Z(ie,{name:this.name,children:this.css}))}}var se,le=r(12);!function(e){e.Original="original",e.Pjax="pjax"}(se||(se={}));const ce=se;var ue;!function(e){e.New="new",e.CombinedNew="combined-new",e.CombinedOld="combined-old",e.Old="old"}(ue||(ue={}));const de=ue;function pe(e,t,...r){return function(e,...t){return new Promise(((r,n)=>{try{const i=e(...t,r);i instanceof Promise?i.then(r).catch(n):void 0!==i&&r(i)}catch(e){n(e)}}))}(t.bind(e),...r)}var he=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))};function me(e){return e.storage&&!(!e.storage.sync&&!e.storage.local)}class fe{constructor(e){this.storage=e}setItem(e,t){return he(this,void 0,void 0,(function*(){this.storage[e]=t}))}getItem(e){return he(this,void 0,void 0,(function*(){return this.storage[e]}))}}class ye{constructor(e){this.storage=e.storage.sync||e.storage.local}setItem(e,t){return he(this,void 0,void 0,(function*(){yield pe(this.storage,this.storage.set,{[e]:t})}))}getItem(e){return he(this,void 0,void 0,(function*(){return yield pe(this.storage,this.storage.get,e).then((t=>(t||{})[e]))}))}}function ve(e){try{return window[e+"Storage"]}catch(e){return null}}const ge=new class{constructor(e){this.storage=e}setItem(e,t){return he(this,void 0,void 0,(function*(){yield this.storage.setItem(e,JSON.stringify(t))}))}getItem(e){return he(this,void 0,void 0,(function*(){const t=yield this.storage.getItem(e);return"string"!=typeof t?null:JSON.parse(t)}))}}("undefined"!=typeof browser&&me(browser)&&new ye(browser)||"undefined"!=typeof chrome&&me(chrome)&&new ye(chrome)||ve("local")||ve("session")||new fe({}));var be=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))};class we{constructor(e,t,r,n,i=null){if(i&&!i.includes(n)&&!i.includes(null))throw new RangeError("defaultValue should be in the list of available options.");this.name=e,this.title=t,this.description=r,this.defaultValue=n,this.options=i,Object.freeze(this)}getValue(){return be(this,void 0,void 0,(function*(){const e=yield ge.getItem(this.name);return null==e?this.defaultValue:e}))}setValue(e){return be(this,void 0,void 0,(function*(){if(typeof e!=typeof this.defaultValue||Array.isArray(e)!==Array.isArray(this.defaultValue))throw new Error("Invalid type.");if(this.options&&!this.options.includes(e)&&!this.options.includes(null))throw new RangeError("value should be in the list of available options.");yield ge.setItem(this.name,e)}))}then(e,t){return this.getValue().then(e,t)}}const xe=new class extends Array{constructor(){super(),this.useOldCSS=new we("useOldCSS","Use old css styles","This will revert old css styles where it's possible. For example, it will unround edges of avatars and containers.",!0),this.enableLightHeader=new we("enableLightHeader","Enable light header","Some folks are nostalgic for the days when the GitHub header was light. This option is specifically for them.",!1),this.usePreloader=new we("usePreloader","Use preloader","This will activate preloader during script initialization (first load of any GitHub page) to make the load look way smoother.",!0),this.defreshProfilePage=new we("defreshProfilePage","Defresh profile page","This will roll back the changes of the profile page interface.",!0),this.removeThemeSelector=new we("removeThemeSelector","Remove theme selector from the profile page","This will remove the theme selector from your profile page. (Why in the world is it here?)",!0),this.keepProfilePageIcons=new we("keepProfilePageIcons","Don't remove tab icons on the profile page","If you want to keep tab icons on the profile page, enable this option.",!1),this.defreshProfilePageUserStatus=new we("defreshProfilePageUserStatus","Defresh status appearance on the profile page","If you prefer the way the status looked before, then this option's for you.",!0),this.disableUserStatus=new we("disableUserStatus","Disable the status editor on the profile page","Don't even try to ask. But if you will, here's the answer: I use one password manager, which is good at everything, but, for some reason, it's not friendly to the status editor: it makes the UI freeze for a couple of seconds. So, here we go...",!1),this.jumpToTop=new we("jumpToTop","Jump to the page's top after loading","If you want to preserve the scroll position after page load, you can disable this option.",!0),this.treatTagsAsReleases=new we("treatTagsAsReleases","Treat tags as releases","Some repositories only use pre-releases, which aren't displayed as regular releases by GitHub, so without using this option you'll see 0 as the number of releases.",!0),this.openLanguagesByDefault=new we("openLanguagesByDefault","Open language bar by default","This option allows you to change the default state of the language bar.",!1),this.showLatestReleasePopup=new we("showLatestReleasePopup","Show information about the latest release","This will show information about the latest release (if any) when hovering over the releases section.",!0),this.enableStickyReadmeHeader=new we("enableStickyReadmeHeader","Enable sticky readme header","This will make readme header sticky.",!1),this.readmeHeaderType=new we("readmeHeaderType","Readme header's type",`"${de.New}" represents the latest header design.\n"${de.CombinedNew}" represents the latest header design, but with a book octicon in use.\n"${de.CombinedOld}" represents an old school design, but with the new functionality.\n"${de.Old}" represents an old school design.`,de.CombinedOld,[de.New,de.CombinedNew,de.CombinedOld,de.Old]),this.mainBranchName=new we("mainBranchName","Main branch name","Here you can specify default name of the main branch.","main"),this.engine=new we("engine",`Engine that powers ${L.ss}`,`"${ce.Original}" engine completely replaces the GitHub navigation system with dynamic page loading.\n"${ce.Pjax}" engine was designed to be compatible with other scripts/extensions (e.g. "Refined GitHub") and is based on listening for pjax events.`,ce.Pjax,[ce.Original,ce.Pjax]);for(const e of Object.values(this))this.push(e)}};var Se=r(907);var ke=r(213);var Ae=r(203);var qe=r(158);var Ne=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))};class Be extends _{get id(){return`github-defreshed_${this.props.property.name}`}constructor(e){super(e)}}const Ee=({text:e})=>e&&(e=e.trim())?Z("div",{className:"note",children:e.split("\n").filter((e=>e)).map((e=>Z("div",{children:e})))}):null;class Pe extends Be{render(){const e=this.props.property;return Z("dl",{className:"form-group",children:[Z("dt",{children:Z("label",{htmlFor:this.id,children:e.title})}),Z("dd",{children:[Z("input",{id:this.id,type:"text",className:"form-control",onChange:function(){e.setValue(this.value)},ref:t=>e.then((e=>t.value=e))}),Z(Ee,{text:e.description})]})]})}}class Te extends Be{render(){const e=this.props.property;return Z("div",{className:"form-checkbox mt-0",children:[Z("input",{id:this.id,type:"checkbox",onChange:function(){e.setValue(this.checked)},ref:t=>e.then((e=>t.checked=e))}),Z("label",{htmlFor:this.id,children:e.title}),Z(Ee,{text:e.description})]})}}class ze extends Be{render(){const e=this.props.property,t=e.getValue();return Z("dl",{className:"form-group",children:[Z("dt",{children:Z("label",{htmlFor:this.id,children:e.title})}),Z("dd",{children:[Z("select",{id:this.id,className:"form-select form-control",onChange:function(){e.setValue(this.value)},children:e.options.map((e=>Z("option",{value:e,ref:r=>t.then((t=>r.selected=e===t)),children:e})))}),Z(Ee,{text:e.description})]})]})}}class Re extends Be{render(){switch(typeof this.props.property.defaultValue){case"boolean":return Z(Te,{...this.props});case"string":return this.props.property.options?Z(ze,{...this.props}):Z(Pe,{...this.props});default:return null}}}function Le(){return Z("form",{className:"edit_user",children:[xe.map((e=>Z(Re,{property:e}))),Z("button",{className:"btn",onClick:e=>{e.preventDefault(),location.reload()},children:"Update preference"})]})}const je=()=>Z("div",{className:"Subhead Subhead--spacious",children:Z("h2",{className:"Subhead-heading",children:[L.ss," settings"]})}),Ce=()=>Z(W,{children:[Z(je,{}),Z(Le,{})]});function Oe(){var e;return"Page not found · GitHub"===(null===(e=document.head.querySelector("title"))||void 0===e?void 0:e.innerText)}function Me(){return!!document.querySelector("main:nth-child(1) div.repository-content > git-clone-help")}var He={small:16,medium:32,large:64};function De(e){var t=e["aria-label"],r=e.className,n=e.fill,i=void 0===n?"currentColor":n,o=e.size,a=e.verticalAlign,s=e.svgDataByHeight,l=He[o]||o,c=function(e,t){return e.map((function(e){return parseInt(e,10)})).reduce((function(e,r){return r<=t?r:e}),e[0])}(Object.keys(s),l),u=s[c].width;return{"aria-hidden":t?"false":"true","aria-label":t,role:"img",className:r,viewBox:"0 0 "+u+" "+c,width:l*(u/c),height:l,fill:i,style:{display:"inline-block",userSelect:"none",verticalAlign:a},dangerouslySetInnerHTML:{__html:s[c].path}}}var Fe=Object.assign||function(e){for(var t=1;t'},24:{width:24,path:''}}})))}function $e(e){return ne.createElement("svg",De(Fe({},e,{svgDataByHeight:{24:{width:24,path:''}}})))}function Ie(e){return ne.createElement("svg",De(Fe({},e,{svgDataByHeight:{16:{width:16,path:''},24:{width:24,path:''}}})))}function Ge(e){return ne.createElement("svg",De(Fe({},e,{svgDataByHeight:{16:{width:16,path:''},24:{width:24,path:''}}})))}function Ve(e){return ne.createElement("svg",De(Fe({},e,{svgDataByHeight:{16:{width:16,path:''},24:{width:24,path:''}}})))}function We(e){return ne.createElement("svg",De(Fe({},e,{svgDataByHeight:{16:{width:16,path:''},24:{width:24,path:''}}})))}function _e(e){return ne.createElement("svg",De(Fe({},e,{svgDataByHeight:{16:{width:16,path:''},24:{width:24,path:''}}})))}Ue.defaultProps={className:"octicon octicon-book",size:16,verticalAlign:"text-bottom"},$e.defaultProps={className:"octicon octicon-commit",size:16,verticalAlign:"text-bottom"},Ie.defaultProps={className:"octicon octicon-git-branch",size:16,verticalAlign:"text-bottom"},Ge.defaultProps={className:"octicon octicon-kebab-horizontal",size:16,verticalAlign:"text-bottom"},Ve.defaultProps={className:"octicon octicon-law",size:16,verticalAlign:"text-bottom"},We.defaultProps={className:"octicon octicon-people",size:16,verticalAlign:"text-bottom"},_e.defaultProps={className:"octicon octicon-tag",size:16,verticalAlign:"text-bottom"};const Ze=({children:e})=>Z("div",{className:"UnderlineNav-actions js-responsive-underlinenav-overflow position-absolute pr-3 pr-md-4 pr-lg-5 right-0",children:Z("details",{className:"details-overlay details-reset position-relative",children:[Z("summary",{role:"button",children:Z("div",{className:"UnderlineNav-item mr-0 border-0",children:[Z(Ge,{}),Z("span",{className:"sr-only",children:"More"})]})}),Z("div",{children:Z("details-menu",{role:"menu",className:"dropdown-menu dropdown-menu-sw",children:Z("ul",{children:e&&[].concat(...e).map((e=>(e instanceof HTMLElement?e.classList.add("js-selected-navigation-item","dropdown-item"):e&&(e=Z("div",{className:"js-selected-navigation-item dropdown-item",children:e})),Z("li",{children:e}))))})})})]})});void 0===window.ResizeObserver&&(window.ResizeObserver=class{constructor(e){this.callback=e,this.watchlist=new Set}observe(e){if(this.watchlist.has(e))return;const t=Z("iframe",{title:"resize-observer",style:{top:0,left:0,width:"100%",height:"100%",opacity:0,zIndex:-9999,position:"absolute"}});e.prepend(t),t.contentWindow.onresize=()=>{const t={blockSize:e.clientHeight,inlineSize:e.clientWidth,width:e.clientWidth,height:e.clientHeight,x:e.clientLeft,y:e.clientTop,top:e.clientTop,bottom:e.clientTop+e.clientHeight,left:e.clientLeft,right:e.clientLeft+e.clientWidth,toJSON(){return{bottom:this.bottom,height:this.height,left:this.left,right:this.right,top:this.top,width:this.width,x:this.x,y:this.y}}};this.callback([{borderBoxSize:[t],contentBoxSize:[t],contentRect:t,target:e}],this)},this.watchlist.add(e)}unobserve(e){if(!this.watchlist.has(e))return;const t=e.querySelector("iframe[title='resize-observer']");t&&(t.contentWindow.onresize=null,e.removeChild(t)),this.watchlist.delete(e)}disconnect(){for(const e of this.watchlist)this.unobserve(e)}});const Je=ResizeObserver;var Ke=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))};const Xe=()=>Z("i",{className:"d-none d-lg-inline",children:"Branch: "});const Qe=e=>{const t=(e||"0000000").split("/");return(t.length&&t[t.length-1]).slice(0,7)},Ye=({href:e,datetime:t})=>Z("div",{className:"css-truncate css-truncate-overflow text-gray",children:["Latest commit"," ",Z("a",{href:e,className:"f6 link-gray text-mono d-none d-lg-inline",children:Qe(e)})," ",Z("relative-time",{datetime:t,className:"no-wrap"})]}),et=({children:e})=>Z("div",{className:"ml-1",children:e});const tt=({lang:e})=>Z("span",{className:"language-color","aria-label":`${e.name} ${e.percent}`,itemProp:"keywords",style:{width:e.percent,backgroundColor:e.color},children:e.name}),rt=({lang:e})=>Z("li",{children:Z(e.link?"a":"span",{href:e.link,children:[Z("span",{className:"color-block language-color",style:{backgroundColor:e.color}}),Z("span",{className:"lang",children:[" ",e.name," "]}),Z("span",{className:"percent",children:e.percent})]})}),nt=({open:e,langs:t})=>Z("details",{className:"details-reset mb-3",open:e,children:[Z("summary",{title:"Click for language details",children:Z("div",{className:"d-flex repository-lang-stats-graph",children:t.map((e=>Z(tt,{lang:e})))})}),Z("div",{className:"repository-lang-stats",children:Z("ol",{className:"repository-lang-stats-numbers",children:t.map((e=>Z(rt,{lang:e})))})})]});var it=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))};function ot(e,t){return(t=isNaN(t)?-1:+t)<0||1===t?e:e.endsWith("s")||e.endsWith("sh")||e.endsWith("ch")||e.endsWith("x")||e.endsWith("z")?e+"es":e+"s"}const at=({icon:e,href:t,text:r,count:n})=>Z("li",{children:Z("a",{href:t,children:[e," ","-1"!==String(n)&&Z("span",{className:"num text-emphasized",children:n})," ",ot(r,n)]})});at.defaultProps={count:-1};const st=at,lt=({rounded:e,children:t})=>Z("div",{className:["overall-summary","mt-3",e?"mb-3":["border-bottom-0","mb-0","rounded-bottom-0"]],children:Z("ul",{className:"numbers-summary",children:t})});lt.defaultProps={rounded:!0};const ct=lt;var ut=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))};const dt=({children:e})=>Z("div",{className:"repository-topics-container mt-3 mb-3 js-topics-list-container",children:e});var pt=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))};const ht=({website:e,children:t})=>Z("div",{children:Z("div",{className:"f4",children:[Z("span",{className:"text-gray-dark mr-2",children:t}),e&&Z("span",{children:Z("a",{href:e,title:e,role:"link",target:"_blank",rel:"noopener noreferrer",children:e})})]})});var mt=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))};var ft=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))};const yt=({href:e,icon:t,text:r,count:n,selected:i})=>Z("a",{href:e,className:["UnderlineNav-item",i&&"selected"],children:[t,r,0!=n&&Z("span",{className:"Counter",title:n,children:n})]});var vt=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))};var gt=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))};var bt=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))};const wt=function(e,t=null){return t=t||e.method,fetch(e.action,{method:t,body:new URLSearchParams(new FormData(e))})},xt=({emoji:e,text:t,isBusy:r,dialog:n})=>Z(n?"details":"div",{className:["user-status-container","border","position-relative","hide-sm","bg-white","hide-md",n?["details-reset","details-overlay","details-overlay-dark"]:null],children:[Z(n?"summary":"div",{className:"d-flex",children:Z("div",{className:["d-flex","p-2","width-full","border-0","rounded-bottom-0",r?["user-status-container-border-busy","bg-yellow-light","border-yellow"]:null],children:[Z("div",{className:"flex-self-start mr-1 ml-1",children:Z("div",{children:e})}),Z("div",{className:"user-status-message-wrapper f6 mt-1 text-gray-dark ws-normal",children:Z("div",{children:Z("div",{children:t})})})]})}),n]});xt.defaultProps={isBusy:!1,dialog:null};const St=xt;var kt=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))};const At=({children:e})=>Z("div",{className:"pt-3",children:[].concat([e]).map((e=>{var t;const r=null===(t=null==e?void 0:e.querySelector)||void 0===t?void 0:t.call(e,"summary");return r&&(r.className="btn-link text-small muted-link my-1"),e}))});var qt=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))};var Nt=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))};var Bt=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))};function Et(e){return Bt(this,void 0,void 0,(function*(){!function(){const e=document.querySelector(".progress-pjax-loader");if(e){const t=e.firstElementChild,r=1200,n=100;t.style.width="0",e.style.opacity="100%";for(let e=0;et.style.width=`${n}%`),e)}setTimeout((()=>e.style.opacity="0"),r+n)}}();const t=yield fetch(e);return{document:(new DOMParser).parseFromString(yield t.text(),"text/html"),url:t.url}}))}function Pt(e){return e.src||e.getAttribute("data-src")}function Tt(e){document.body.className=e.body.className,document.head.querySelector("title").innerText=e.head.querySelector("title").innerText,function(e){const t=document.querySelector("header"),r=e.querySelector("header");t&&r&&t.replaceWith(r)}(e),function(e){const t=[...document.querySelectorAll("script")],r=[...e.querySelectorAll("script")].map(Pt).filter((e=>!t.some((t=>Pt(t)===e)))).map((e=>Z("script",{src:e})));document.body.append(...r)}(e)}const zt=function(e=window.location.href,t=!0){return Bt(this,void 0,void 0,(function*(){const r=function(e=location.pathname){return!i(e)}(),n=p(),o=yield Et(e),a=o.document.querySelector("main");if(a.style.display="none",r){document.querySelector("body > div.application-main").prepend(Z("div",{itemScope:!0,itemType:"http://schema.org/SoftwareSourceCode",children:Z("main",{})}))}const s=document.querySelector("main");if(s.parentElement.insertBefore(a,s),yield Ht(o.url),s.replaceWith(a),r){const e=document.querySelector("body > div.application-main");for(const t of[...e.children].splice(1))e.removeChild(t)}else n&&(a.parentElement.className="");a.style.display="",(yield xe.jumpToTop)&&window.scrollTo(0,0),Tt(o.document),t&&function(e){try{history.pushState(null,null,e)}catch(t){location.hash="#"+e}}(o.url)}))};var Rt=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))};var Lt=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))};var jt=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))};const Ct=[new class extends ae{constructor(){super(xe.usePreloader,ke.Z,"preloader")}},new class extends ae{constructor(){super(!0,b.Z,"compatibility")}},new class extends ae{constructor(){super(xe.useOldCSS,le.Z,"old-school")}},new class extends ae{constructor(){super(xe.enableLightHeader,Se.Z,"light-header")}},new class extends ae{constructor(){super(xe.readmeHeaderType.then((e=>e===de.CombinedOld)),qe.Z,"combined-old-readme")}},new class extends ae{constructor(){super(xe.enableStickyReadmeHeader,Ae.Z,"sticky-readme-header")}},new class extends j{isApplieble(e){return m(e)}waitUntilFixerReady(){return R(".Subhead--spacious")}apply(){const e=document.querySelector(".Subhead--spacious");e.parentElement.insertBefore(Z(Ce,{}),e)}},new class extends j{constructor(){super(...arguments),this.wasShown=!1}isApplieble(){return Ne(this,void 0,void 0,(function*(){return(!this.wasShown||(yield xe.engine)===ce.Pjax)&&(yield xe.usePreloader)}))}apply(){this.wasShown=!0,document.documentElement.classList.add("defreshing"),document.documentElement.dataset.defreshedAt=String((new Date).valueOf())}},new class extends j{isApplieble(e){return s(e)&&!Oe()}waitUntilFixerReady(){return R("main:nth-child(1) > div > nav")}apply(e){const t=document.querySelector("main > div > nav"),r=t.parentElement;p(e)||(r.className="pagehead repohead hx_repohead readability-menu bg-gray-light pb-0 pt-3",r.firstElementChild.className="d-flex container-lg mb-4 px-3"),t.className="js-repo-nav js-sidenav-container-pjax clearfix hx_reponav reponav px-3 container-lg",t.querySelector(":scope > ul").className="list-style-none";for(const e of t.querySelectorAll(":scope > ul > li")){e.className="";const t=e.querySelector("a"),r=t.classList.contains("selected");t.className="js-selected-navigation-item reponav-item"+(r?" selected":"")}const n=Z(Ze,{children:[...t.querySelectorAll(":scope > ul > li > a")].map((e=>Z("a",{dataset:{name:e.getAttribute("data-tab-item")},href:e.href,children:e.querySelector("span").textContent})))}),i=t.querySelector(":scope > div");i?i.replaceWith(n):t.append(n);new Je((()=>{let e=!1;for(const r of t.querySelectorAll(":scope > ul > li > a")){r.style.display="block";const t=n.querySelector(`a[data-name=${r.getAttribute("data-tab-item")}]`);if(t){const n=!!r.offsetTop;e||(e=n),r.style.display=n?"none":"block",r.style.visibility=n?"hidden":"visible",t.style.display=n?"block":"none"}}n.style.display=e?"block":"none"})).observe(t)}},new class extends j{isApplieble(e){return s(e)&&!p(e)&&!Oe()}waitUntilFixerReady(){return z("main:nth-child(1) .container-xl")}apply(){document.querySelector("main .container-xl").className="container-lg clearfix new-discussion-timeline px-3"}},new class extends j{isApplieble(e){return s(e)&&!Oe()}waitUntilFixerReady(){return z("main:nth-child(1) div.repository-content > :first-child")}},new class extends j{isApplieble(){return Me()}waitUntilFixerReady(){return R("main:nth-child(1) git-clone-help")}apply(){return Ke(this,void 0,void 0,(function*(){const e=document.querySelector("main:nth-child(1) git-clone-help"),t=new Map([[`-M ${xe.mainBranchName.defaultValue}`,`-M ${yield xe.mainBranchName}`],[`origin ${xe.mainBranchName.defaultValue}`,`origin ${yield xe.mainBranchName}`]]),r=[...e.querySelectorAll("span")].filter((e=>(e.innerText||"").trim()));for(const e of r)for(const r of t)e.innerText=e.innerText.replace(r[0],r[1])}))}},new class extends j{isApplieble(e){return(l(e)||c(e)||u(e))&&!(Me()||Oe())}waitUntilFixerReady(){return R("main:nth-child(1) #branch-select-menu","main:nth-child(1) #branch-select-menu span.css-truncate-target")}apply(){const e=document.querySelector("#branch-select-menu"),t=e.querySelector("details-menu"),r=t&&t.getAttribute("src"),n=e.querySelector("include-fragment");n&&n.setAttribute("src",r);const i=e.querySelector("span.css-truncate-target");i.parentElement.insertBefore(Z(Xe,{}),i)}},new class extends j{isApplieble(e){return(l(e)||c(e)||u(e))&&!(Me()||Oe())}waitUntilFixerReady(){return R("main:nth-child(1) #ref-list-branches")}},new class extends j{isApplieble(e){return(l(e)||c(e))&&!(Me()||Oe())}waitUntilFixerReady(e){const t=["main:nth-child(1) .repository-content .Box relative-time","main:nth-child(1) .repository-content .Box div.flex-shrink-0:not(.hx_avatar_stack_commit)"];return l(e)&&(t.push("main:nth-child(1) .repository-content .file-navigation > :not(:first-child) svg.octicon-git-branch"),t.push("main:nth-child(1) .repository-content .Box ul.list-style-none svg.octicon-history")),R({selectors:t,dynamic:!0})}apply(e,t){l(e)&&this.backupDetails(t),this.moveCommitBuildStatuses(),this.moveCommitComments(),this.moveCommitDetails(),this.removeSecondCommitTitle()}backupDetails(e){const t=document.querySelector(".repository-content .file-navigation > :not(:first-child) svg.octicon-git-branch").parentElement;t.id="backup-branches";t.parentElement.remove(),e.append(t);const r=document.querySelector(".repository-content .Box ul.list-style-none svg.octicon-history").parentElement;r.id="backup-commits";r.parentElement.parentElement.remove(),e.append(r)}getBuildStatuses(){const e=document.querySelector("main:nth-child(1) .repository-content .Box .Box-header");return e.querySelector("details.commit-build-statuses")||e.querySelector("include-fragment")}moveCommitBuildStatuses(){if(this.getBuildStatuses()){const e=document.querySelector(".repository-content .Box .Box-header .commit-author").parentElement;e.parentElement.insertBefore(Z(et,{children:this.getBuildStatuses()}),e.nextSibling)}}moveCommitComments(){const e=document.querySelector("main:nth-child(1) .repository-content .Box .Box-header svg.octicon-comment");if(e){const t=e.parentElement;t.className="no-wrap muted-link text-inherit ml-2";const r=document.querySelector(".repository-content .Box .Box-header a.commit-author").parentElement;r.parentElement.insertBefore(t,r.nextSibling)}}moveCommitDetails(){const e=document.querySelector(".repository-content .Box relative-time").parentElement.parentElement,t=document.querySelector(".repository-content .Box div.flex-shrink-0:not(.hx_avatar_stack_commit)");for(const e of[...t.children])t.removeChild(e);const r=e.querySelector("a.text-mono"),n=e.querySelector("relative-time");t.append(Z(Ye,{href:r.href,datetime:n.getAttribute("datetime")})),e.remove()}removeSecondCommitTitle(){const e=document.querySelector(".repository-content .Box .Box-header .Details-content--hidden a.text-bold");e&&e.parentElement.remove()}},new class extends j{isApplieble(e){return l(e)&&!Me()&&!Oe()}waitUntilFixerReady(){return it(this,void 0,void 0,(function*(){return(yield R("main:nth-child(1) .BorderGrid-row:last-child"))&&(yield T("main:nth-child(1) .BorderGrid-row .Progress"))}))}apply(){return it(this,void 0,void 0,(function*(){const e=[...document.querySelector("main .BorderGrid-row .Progress").parentElement.nextElementSibling.children].map(this.extractLanguageData),t=document.querySelector(".repository-content"),r=yield xe.openLanguagesByDefault;t.prepend(Z(nt,{open:r,langs:e}))}))}extractLanguageData(e){return e.querySelector("a")?{name:e.querySelector("span").innerText,percent:e.querySelectorAll("span")[1].innerText,color:e.querySelector("svg").style.color,link:e.querySelector("a").href}:{name:e.querySelectorAll("span")[1].innerText,percent:e.querySelectorAll("span")[2].innerText,color:e.querySelector("svg").style.color,link:""}}},new class extends j{isApplieble(e){return l(e)&&!Me()&&!Oe()}apply(e,t){return ut(this,void 0,void 0,(function*(){const r=document.querySelector(".repository-content details summary div.repository-lang-stats-graph");document.querySelector(".repository-content").prepend(Z(ct,{rounded:!r,children:[this.createCommitsSummaryElement(t),this.createBranchesSummaryElement(t),this.createPackagesSummaryElement(e),this.createReleasesSummaryElement(e,yield xe.treatTagsAsReleases,yield xe.showLatestReleasePopup),this.createContributorsSummaryElement(e),this.createLicenseSummaryElement()]}))}))}createCommitsSummaryElement(e){const t=e.querySelector("#backup-commits"),r=t.querySelector("strong").innerText,n=t.href;return Z(st,{icon:Z($e,{}),href:n,text:"commit",count:r})}createBranchesSummaryElement(e){const t=e.querySelector("#backup-branches"),r=t.querySelector("strong").innerText,n=t.href;return Z(st,{icon:Z(Ie,{}),href:n,text:"branch",count:r})}createPackagesSummaryElement(e){const t=Z(_e,{});return this.createSummaryElementFromRightBar(e,t,"package",0,"",!1)}createReleasesSummaryElement(e,t,r){var n;const i=Z(_e,{}),o=this.createSummaryElementFromRightBar(e,i,"release",0,"",!0,t);if(r&&o){const e=this.findRightBarSectionByName("releases"),t=null==e?void 0:e.querySelector("relative-time"),r=null===(n=null==t?void 0:t.parentElement)||void 0===n?void 0:n.previousElementSibling,i=null==r?void 0:r.querySelector("span");if(i){const e=`${i.innerText} — ${t.innerText}`;o.classList.add("tooltipped","tooltipped-se"),o.setAttribute("aria-label",e)}}return o}createContributorsSummaryElement(e){const t=Z(We,{});return this.createSummaryElementFromRightBar(e,t,"contributor",1,"graphs/")}createLicenseSummaryElement(){const e=document.querySelector(".flex-shrink-0.col-12.col-md-3 svg.octicon-law");if(e){const t=e.parentElement,r=t.href,n=t.innerText.replace("License","").trim();return Z(st,{icon:Z(Ve,{}),href:r,text:n})}return null}createSummaryElementFromRightBar(e,t,r,n=0,i="",a=!0,s=!1){const l=this.findRightBarSectionByName(r);if(!l&&!a)return null;let c,u;if(l){let e=l.querySelector("span.Counter");!e&&s&&(e=l.querySelector(":scope > a > span")),c=(null==e?void 0:e.innerText)||n,u=l.querySelector("a").href}else c=n,u=`/${o(e)}/${i}${ot(r,c)}`;return Z(st,{icon:t,href:u,text:r,count:c})}findRightBarSectionByName(e){return[...document.querySelectorAll(".flex-shrink-0.col-12.col-md-3 div.BorderGrid-cell")].find((t=>{const r=t.querySelector("a");return r&&r.href.includes(e)}))}},new class extends j{isApplieble(e){return l(e)&&!Me()&&!Oe()}waitUntilFixerReady(){return pt(this,void 0,void 0,(function*(){return(yield R("main:nth-child(1) .repository-content .BorderGrid-row"))&&(yield T("main:nth-child(1) .repository-content .BorderGrid-cell .topic-tag"))}))}apply(){const e=document.querySelector("main .repository-content .BorderGrid-cell .topic-tag");document.querySelector("main .repository-content").prepend(Z(dt,{children:e.parentElement}))}},new class extends j{isApplieble(e){return l(e)&&!Me()&&!Oe()}waitUntilFixerReady(){return R("main:nth-child(1) .repository-content .BorderGrid-row")}apply(){var e,t;const r=document.querySelector("main .repository-content"),n=r.querySelector(".BorderGrid-cell"),i=n.querySelector(".f4"),o=null===(t=null===(e=n.querySelector(".octicon-link"))||void 0===e?void 0:e.parentElement.querySelector("a"))||void 0===t?void 0:t.href;r.prepend(Z(ht,{website:o,children:i.childNodes}))}},new class extends j{isApplieble(e){return l(e)&&!Me()&&!Oe()}waitUntilFixerReady(){return mt(this,void 0,void 0,(function*(){return(yield R("main:nth-child(1) .repository-content .BorderGrid-row"))&&(yield T("main:nth-child(1) .repository-content .BorderGrid-row:nth-child(1) details"))}))}apply(){const e=document.querySelector("main .repository-content .BorderGrid-row:nth-child(1) details");e&&document.querySelector("main .repository-content").prepend(e)}},new class extends j{isApplieble(e){return l(e)&&!Me()&&!Oe()}waitUntilFixerReady(){return R("main:nth-child(1) .repository-content")}apply(){const e=document.querySelector(".repository-content"),t=e.querySelector(".gutter-condensed"),r=t.firstElementChild;e.append(...r.children),t.parentElement.removeChild(t)}},new class extends j{isApplieble(e){return(l(e)||c(e))&&!Me()&&!Oe()}waitUntilFixerReady(){return ft(this,void 0,void 0,(function*(){return(yield R("main:nth-child(1) .repository-content"))&&(yield T("main:nth-child(1) #readme"))}))}apply(){var e;return ft(this,void 0,void 0,(function*(){const t=document.querySelector("#readme");t.className="Box md js-code-block-container Box--condensed";const r=t.firstElementChild;r.className="Box-header d-flex flex-items-center flex-justify-between",r.removeAttribute("style");const n=t.querySelector(".Box-title"),i=n.parentElement;switch(yield xe.readmeHeaderType){case de.New:break;case de.CombinedNew:case de.CombinedOld:i.querySelector("details svg").replaceWith(Z(Ue,{}));break;case de.Old:null===(e=i.querySelector("details"))||void 0===e||e.remove(),n.className="Box-title",n.prepend(Z(Ue,{}))}}))}},new class extends j{isApplieble(e){return vt(this,void 0,void 0,(function*(){return(yield xe.defreshProfilePage)&&f(e)&&!Oe()}))}waitUntilFixerReady(){return R("main:nth-child(1) nav","main:nth-child(1) div.js-profile-editable-area > :not(.js-user-profile-bio)[class]:not(.vcard-details):last-of-type")}apply(e){return vt(this,void 0,void 0,(function*(){const t=document.querySelector("main div.js-profile-editable-area > :not(.js-user-profile-bio)[class]:not(.vcard-details):last-of-type"),r=document.querySelector("main nav");if(r.style.overflow="hidden",r.append(...this.generateTabs(t,e)),t.remove(),!(yield xe.keepProfilePageIcons))for(const e of r.querySelectorAll("svg"))e.style.display="none"}))}generateTabs(e,t){const r=new Map([["stars",null],["followers",null],["following",Z(We,{})]]),n=[...r.keys()];return[...e.querySelectorAll("a")].filter((e=>r.has(this.getTabName(e.href)))).sort(((e,t)=>n.indexOf(this.getTabName(e.href))-n.indexOf(this.getTabName(t.href)))).map((e=>this.generateTab(t,e,r.get(this.getTabName(e.href))))).filter((e=>e))}getTabName(e){const t=e.indexOf("?");return-1===t?"":new URLSearchParams(e.substring(t)).get("tab")}generateTab(e,t,r=null){var n;const i=t.querySelector("svg")||r;null==i||i.classList.add("UnderlineNav-octicon");let o=this.getTabName(t.href).trim();o=o[0].toUpperCase()+o.slice(1);const a=t.querySelector("span"),s=(null===(n=null==a?void 0:a.innerText)||void 0===n?void 0:n.trim())||0;return Z(yt,{href:t.href,selected:this.getTabName(e)===this.getTabName(t.href),icon:i,text:o,count:s})}},new class extends j{isApplieble(e){return gt(this,void 0,void 0,(function*(){return(yield xe.defreshProfilePage)&&(yield xe.removeThemeSelector)&&f(e)&&!Oe()}))}waitUntilFixerReady(){return gt(this,void 0,void 0,(function*(){return R("main:nth-child(1) nav")}))}apply(){const e=document.querySelector("main:nth-child(1) nav");e&&e.nextElementSibling&&e.nextElementSibling.remove()}},new class extends j{isApplieble(){return bt(this,void 0,void 0,(function*(){return yield xe.disableUserStatus}))}waitUntilFixerReady(){return T(".js-user-status-details include-fragment")}apply(){for(const e of document.querySelectorAll(".js-user-status-details"))for(const t of e.querySelectorAll("include-fragment"))t.remove()}},new class extends j{isApplieble(e){return kt(this,void 0,void 0,(function*(){return(yield xe.defreshProfilePage)&&(yield xe.defreshProfilePageUserStatus)&&f(e)&&!Oe()}))}waitUntilFixerReady(){return T("main:nth-child(1) .user-status-container")}apply(){const e=document.querySelector("main .user-status-container"),t=e.querySelector("img")||e.querySelector("g-emoji"),r=e.querySelector(".user-status-message-wrapper"),n=(null==r?void 0:r.innerText.trim())||"",i=!!e.querySelector(".user-status-busy"),o=e.querySelector("details-dialog");this.fixDialog(o),e.replaceWith(Z(St,{emoji:t,text:n,isBusy:i,dialog:o}));const a=document.querySelector("main img.avatar");a&&a.classList.add("avatar-before-user-status")}fixDialog(e){e&&(this.fixDialogFragments(e),this.fixDialogEmojis(e),this.fixDialogButtons(e))}fixDialogFragments(e){for(const t of[...e.querySelectorAll("include-fragment")])t.setAttribute("src",t.getAttribute("data-url"))}fixDialogEmojis(e){const t=e.querySelector(".js-user-status-custom-emoji"),r=e.querySelector("form").emoji;e.querySelector(".btn.js-toggle-user-status-emoji-picker").addEventListener("click",(n=>{n.preventDefault(),n.stopPropagation();const i=e.querySelector("emoji-picker");i&&(this.fixEmojiPicker(t,r,i),i.open())}))}fixEmojiPicker(e,t,r){if(!r.fixed){for(const n of[...r.querySelectorAll(".js-emoji-button")])n.addEventListener("click",(function(n){n.preventDefault(),t.value=this.getAttribute("value");const i=this.children[0].cloneNode(!0);i.removeAttribute("width"),i.removeAttribute("height"),e.children[0].replaceWith(Z("div",{children:i})),r.close()}));r.fixed=!0}}fixDialogButtons(e){const t=e.querySelector("form button[type='submit']"),r=t.parentElement.querySelector("button:not([type='submit'])");t.addEventListener("click",(function(e){return kt(this,void 0,void 0,(function*(){e.preventDefault(),yield wt(this.form),location.reload()}))})),r.addEventListener("click",(function(e){return kt(this,void 0,void 0,(function*(){e.preventDefault();const t=this.form;t.emoji.value="",t.message.value="",t.limited_availability.value="0",yield wt(this.form),location.reload()}))}))}},new class extends j{isApplieble(e){return qt(this,void 0,void 0,(function*(){return(yield xe.defreshProfilePage)&&f(e)&&!Oe()}))}waitUntilFixerReady(){return qt(this,void 0,void 0,(function*(){return(yield R("main:nth-child(1) .h-card"))&&(yield T("main:nth-child(1) #blob-more-options-details"))}))}apply(){const e=document.querySelector("#blob-more-options-details"),t=e.querySelector("details").parentElement;document.querySelector("main .h-card").append(Z(At,{children:t})),e.parentElement.remove()}},new class extends j{constructor(){super(...arguments),this.isActive=!1}isApplieble(){return Nt(this,void 0,void 0,(function*(){return!this.isActive&&(yield xe.engine)===ce.Pjax}))}apply(){this.isActive=!0,document.addEventListener("pjax:success",(()=>Ht()))}},new class extends j{isApplieble(){return Rt(this,void 0,void 0,(function*(){return(yield xe.engine)===ce.Original}))}apply(){this.setupObserver(),this.fixAll()}needsToBeFixed(e){return!e.hasAttribute("defreshed")&&e.href&&!h(e.href)&&(!!(t=e.href)&&(t.startsWith("/")||y(t,location.host)))&&(s(e.href)||m(e.href)||f(e.href))&&!d(e.href)&&!p(e.href);var t}fix(e){e.setAttribute("defreshed",""),e.addEventListener("click",(function(e){return Rt(this,void 0,void 0,(function*(){e.metaKey||e.ctrlKey||(e.stopPropagation(),e.preventDefault(),zt(v(this.href)))}))}))}fixAll(){[...document.querySelectorAll("a")].filter(this.needsToBeFixed).forEach(this.fix)}setupObserver(){if(!("defreshObserver"in window)){const e=new MutationObserver((()=>this.fixAll()));e.observe(document.body,{childList:!0,subtree:!0}),window.defreshObserver=e}}},new class extends j{isApplieble(){return Lt(this,void 0,void 0,(function*(){return(yield xe.engine)===ce.Original}))}apply(){window.onpopstate=function(){const e=document.location.href;g(e)&&s(e)&&!h(e)?zt(e,!1):window.location.href=document.location.href}}},new class extends j{apply(){[...document.querySelectorAll(".js-notification-top-shelf[closing], div#js-flash-container[closing]")].forEach((e=>e.remove())),[...document.querySelectorAll(".js-notification-top-shelf, div#js-flash-container")].forEach((e=>e.setAttribute("closing","")))}},new class extends j{isApplieble(){return document.documentElement.classList.contains("defreshing")}apply(){return jt(this,void 0,void 0,(function*(){const e=document.documentElement.classList;e.remove("defreshing");const t=+document.documentElement.dataset.defreshedAt;delete document.documentElement.dataset.defreshedAt;(new Date).valueOf()-t>100&&(e.add("defreshed"),yield x(1500),e.remove("defreshed"))}))}}];var Ot=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))};function Mt(e=window.location.href){return Ot(this,void 0,void 0,(function*(){const t=document.createElement("backup");for(const r of Ct){if((yield r.isApplieble(e,t))&&(yield r.waitUntilFixerReady(e,t)))try{yield r.apply(e,t)}catch(e){console.log("Fixer exception: ",e)}0}}))}const Ht=Mt;var Dt=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))};!function(){Dt(this,void 0,void 0,(function*(){!document.documentElement.classList.contains(L.u2)&&g()&&(document.documentElement.classList.add(L.u2),yield Mt())}))}()},176:(e,t,r)=>{r.d(t,{Z:()=>o});var n=r(645),i=r.n(n)()((function(e){return e[1]}));i.push([e.id,".overall-summary{position:relative;border:1px solid}.overall-summary.rounded-bottom-0{border-bottom-right-radius:0 !important;border-bottom-left-radius:0 !important}.overall-summary>ul.numbers-summary{display:table;width:100%;table-layout:fixed}.overall-summary>ul.numbers-summary>li{display:table-cell;padding:0;text-align:center;white-space:nowrap}.overall-summary>ul.numbers-summary>li>a{display:block;padding:10px 0;text-decoration:none}.overall-summary>ul.numbers-summary>li.tooltipped-se::before{bottom:3px}.overall-summary>ul.numbers-summary>li.tooltipped-se::after{top:calc(100% - 10px)}.overall-summary{border-color:var(--color-btn-border)}.overall-summary a{color:var(--color-text-secondary)}.overall-summary a:hover{color:var(--color-text-link)}.overall-summary .octicon{color:var(--color-text-tertiary)}.reponav-item svg.octicon{color:var(--color-underlinenav-icon)}div.repository-lang-stats-graph{border-color:var(--color-btn-border)}\n",""]);const o=i},907:(e,t,r)=>{r.d(t,{Z:()=>o});var n=r(645),i=r.n(n)()((function(e){return e[1]}));i.push([e.id,'[data-color-mode="light"]{--color-header-text: #333 !important;--color-header-bg: #f5f5f5 !important;--color-header-logo: #333 !important;--color-header-search-bg: #fff !important;--color-header-search-border: #dadbdc !important}[data-color-mode="light"] .header-search-input::placeholder{color:#333 !important}\n',""]);const o=i},12:(e,t,r)=>{r.d(t,{Z:()=>o});var n=r(645),i=r.n(n)()((function(e){return e[1]}));i.push([e.id,'body .rounded-1{border-radius:3px !important}.btn{border-radius:3px !important}.repository-content .file-navigation .btn,.repository-content .flex-items-start .btn{padding:3px 10px !important;font-size:12px !important;line-height:20px !important;font-weight:600 !important}.repository-content #blob-path{line-height:20px}#branch-select-menu>.btn>svg{display:none !important}#branch-select-menu>.btn>span{font-weight:600 !important}.subnav-item:first-child,.subnav-search-context .btn,.BtnGroup-item:first-child,.BtnGroup-parent:first-child .BtnGroup-item,.input-group .input-group-button:first-child .btn,.btn.btn-with-count{border-top-left-radius:3px !important;border-top-right-radius:0 !important;border-bottom-right-radius:0 !important;border-bottom-left-radius:3px !important}.subnav-item:last-child,.subnav-search-context+.subnav-search .subnav-search-input,.BtnGroup-item:last-child,.BtnGroup-parent:last-child .BtnGroup-item,.input-group .input-group-button:last-child .btn{border-top-left-radius:0 !important;border-top-right-radius:3px !important;border-bottom-right-radius:3px !important;border-bottom-left-radius:0 !important}.avatar,.avatar-user{border-radius:3px !important}body:not(.page-profile) .avatar,body:not(.page-profile) .avatar-user,.avatar-small{box-shadow:none !important;background-color:transparent !important}.Box-header .avatar[width="24"],.Box-header .avatar-user[width="24"]{position:relative;top:2px;left:2px}.avatar[width="24"],.avatar-user[width="24"]{width:20px;height:20px}.hx_avatar_stack_commit,.AvatarStack-body{background-color:transparent !important}.Box{border-radius:3px !important}.Box-header{margin:0;border:none;border-bottom:1px solid var(--color-border-primary)}.Box-header,:not(li).Box-row:first-of-type,.Box--danger li.Box-row:first-of-type{border-top-left-radius:3px !important;border-top-right-radius:3px !important}.Box-row,.Box-header,.Box-body{padding:8px 12px}.Box-header .ml-n1{margin-left:0 !important;margin-right:-8px !important}.markdown-body pre{border-radius:3px !important}.dropdown-menu,.SelectMenu-modal{border-radius:3px !important}.SelectMenu-modal .SelectMenu-tab{border-top-left-radius:4px !important;border-top-right-radius:4px !important}nav.menu{border-radius:3px !important}nav.menu>*:first-child{border-top-left-radius:3px !important;border-top-right-radius:3px !important}nav.menu>*:last-child{border-bottom-left-radius:3px !important;border-bottom-right-radius:3px !important}input[type=\'text\'].form-control,input[type=\'url\'].form-control,textarea.form-control,label.form-control,div.tag-input.form-control,select.form-select{border-radius:3px !important}textarea.form-control.js-quick-submit{border-top-left-radius:3px !important;border-top-right-radius:3px !important;border-bottom-left-radius:0 !important;border-bottom-right-radius:0 !important}text-expander+label.drag-and-drop,text-expander+label.drag-and-drop>input{border-top-left-radius:0 !important;border-top-right-radius:0 !important;border-bottom-left-radius:3px !important;border-bottom-right-radius:3px !important}.pagehead-actions .btn{border-top-right-radius:0 !important;border-bottom-right-radius:0 !important;padding:3px 10px !important}.pagehead-actions a.social-count{border-top-right-radius:3px !important;border-bottom-right-radius:3px !important;padding:3px 10px !important}div.overall-summary{border-radius:3px !important}div.repository-lang-stats-graph{border-bottom-left-radius:3px !important;border-bottom-right-radius:3px !important}div.repository-lang-stats-graph>span.language-color:first-child{border-bottom-left-radius:3px !important}div.repository-lang-stats-graph>span.language-color:last-child{border-bottom-right-radius:3px !important}a.topic-tag{border:none !important;display:inline-block !important;padding:.3em .9em !important;margin:0 .5em .5em 0 !important;white-space:nowrap !important;line-height:1.5 !important;font-size:12px !important;border-radius:3px !important}li.topic-tag-action{border-radius:3px !important}.IssueLabel{border-radius:2px !important}.IssueLabel--big.lh-condensed,.State{border-radius:3px !important}.timeline-comment{border-radius:3px !important}.timeline-comment-header,.previewable-comment-form .comment-form-head.tabnav{border-top-left-radius:3px !important;border-top-right-radius:3px !important}.timeline-comment-header .tabnav-tab,.previewable-comment-form .comment-form-head.tabnav .tabnav-tab{border-top-left-radius:4px !important;border-top-right-radius:4px !important}div.comment-reactions-options .reaction-summary-item:first-child{border-bottom-left-radius:3px}.h-card .avatar-before-user-status{border-bottom-left-radius:0 !important;border-bottom-right-radius:0 !important}.h-card .user-status-container{border-top:0 !important}.dropdown-menu .js-user-status-container{border-radius:3px !important}body.page-profile .graph-before-activity-overview{border-radius:3px !important}body.page-profile .contribution-activity li>.js-year-link{border-radius:3px !important}\n',""]);const o=i},213:(e,t,r)=>{r.d(t,{Z:()=>o});var n=r(645),i=r.n(n)()((function(e){return e[1]}));i.push([e.id,'html.defreshing main>*,html.defreshing div.footer{opacity:0}html.defreshing main::before{content:url("https://github.githubassets.com/images/spinners/octocat-spinner-128.gif");position:relative;left:calc(50% - 64px);top:64px}html.defreshing[data-color-mode=dark] main::before{filter:invert(1)}html.defreshed *{transition:1000ms opacity}\n',""]);const o=i},158:(e,t,r)=>{r.d(t,{Z:()=>o});var n=r(645),i=r.n(n)()((function(e){return e[1]}));i.push([e.id,"#readme summary{border:none;box-shadow:none;padding:0 !important;background-color:transparent}#readme .Box-title{padding-left:1ch !important}\n",""]);const o=i},203:(e,t,r)=>{r.d(t,{Z:()=>o});var n=r(645),i=r.n(n)()((function(e){return e[1]}));i.push([e.id,"#readme .Box-header{position:sticky !important;top:0 !important;z-index:1 !important}\n",""]);const o=i},645:e=>{e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var r=e(t);return t[2]?"@media ".concat(t[2]," {").concat(r,"}"):r})).join("")},t.i=function(e,r,n){"string"==typeof e&&(e=[[null,e,""]]);var i={};if(n)for(var o=0;o{const n=r(940),i=r(298);t.BF=e=>(e=(e||"").toString().toLowerCase(),n.includes(e))},298:e=>{e.exports=JSON.parse('{"avatars":{"reserved":true,"taken":true,"typical":true,"included":false},"assets":{"reserved":true,"taken":true,"typical":true,"included":false},"bookmarks":{"reserved":true,"taken":true,"typical":true,"included":false},"checks":{"reserved":true,"taken":true,"typical":true,"included":false},"conversations":{"reserved":true,"taken":true,"typical":true,"included":false},"labels":{"reserved":true,"taken":true,"typical":true,"included":false},"media":{"reserved":true,"taken":true,"typical":true,"included":false},"nodes":{"reserved":true,"taken":true,"typical":true,"included":false},"owners":{"reserved":true,"taken":true,"typical":true,"included":false},"page":{"reserved":true,"taken":true,"typical":true,"included":false},"registry":{"reserved":true,"taken":true,"typical":true,"included":false},"seats":{"reserved":true,"taken":true,"typical":true,"included":false},"shared":{"reserved":true,"taken":true,"typical":true,"included":false},"tasks":{"reserved":true,"taken":true,"typical":true,"included":false},"uploads":{"reserved":true,"taken":true,"typical":true,"included":false},"account":{"reserved":true,"taken":false,"typical":false,"redirect":"https://github.com/settings/profile","included":true},"apps":{"reserved":true,"taken":false,"typical":false,"redirect":"https://github.com/marketplace","included":true},"blog":{"reserved":true,"taken":false,"typical":false,"redirect":"https://blog.github.com","included":true},"c":{"reserved":true,"taken":false,"typical":false,"redirect":"https://support.github.com/","included":true},"contact":{"reserved":true,"taken":false,"typical":false,"redirect":"https://support.github.com/","included":true},"contributing":{"reserved":true,"taken":false,"typical":false,"redirect":"https://github.com/about/careers","included":true},"customer":{"reserved":true,"taken":false,"typical":false,"redirect":"https://github.com/business/customers","included":true},"customers":{"reserved":true,"taken":false,"typical":false,"redirect":"https://github.com/business/customers","included":true},"developer":{"reserved":true,"taken":false,"typical":false,"redirect":"https://developer.github.com","included":true},"edu":{"reserved":true,"taken":false,"typical":false,"redirect":"https://education.github.com","included":true},"guides":{"reserved":true,"taken":false,"typical":false,"redirect":"https://help.github.com","included":true},"help":{"reserved":true,"taken":false,"typical":false,"redirect":"https://help.github.com","included":true},"launch":{"reserved":true,"taken":false,"typical":false,"redirect":"https://github.com/search","included":true},"mac":{"reserved":true,"taken":false,"typical":false,"redirect":"https://desktop.github.com","included":true},"mirrors":{"reserved":true,"taken":false,"typical":false,"redirect":"https://help.github.com/articles/about-github-mirrors/","included":true},"pages":{"reserved":true,"taken":false,"typical":false,"redirect":"https://pages.github.com","included":true},"plans":{"reserved":true,"taken":false,"typical":false,"redirect":"https://github.com/pricing","included":true},"press":{"reserved":true,"taken":false,"typical":false,"redirect":"https://github.com/about/press","included":true},"readme":{"reserved":true,"taken":false,"typical":false,"included":true},"repositories":{"reserved":true,"taken":false,"typical":false,"redirect":"https://github.com/trending","included":true},"resources":{"reserved":true,"taken":false,"typical":false,"redirect":"https://resources.github.com","included":true},"security":{"reserved":true,"taken":false,"typical":false,"redirect":"https://help.github.com/articles/github-security/","included":true},"settings":{"reserved":true,"taken":false,"typical":false,"redirect":"https://github.com/settings/profile","included":true},"signup":{"reserved":true,"taken":false,"typical":false,"redirect":"https://github.com/join","included":true},"terms":{"reserved":true,"taken":false,"typical":false,"redirect":"https://help.github.com/articles/github-terms-of-service/","included":true},"topic":{"reserved":true,"taken":false,"typical":false,"redirect":"https://github.com/topics","included":true},"tos":{"reserved":true,"taken":false,"typical":false,"redirect":"https://help.github.com/articles/github-terms-of-service/","included":true},"training":{"reserved":true,"taken":false,"typical":false,"redirect":"https://services.github.com","included":true},"users":{"reserved":true,"taken":false,"typical":false,"redirect":"https://github.com","included":true},"wiki":{"reserved":true,"taken":false,"typical":false,"redirect":"https://github.com","included":true},"windows":{"reserved":true,"taken":false,"typical":false,"redirect":"https://desktop.github.com","included":true},"advisories":{"reserved":true,"taken":true,"typical":false,"included":true,"notes":"GitHub Advisory Database"},"collections":{"reserved":true,"taken":false,"typical":false,"included":true,"notes":"Curated lists of GitHub repos"},"hovercards":{"reserved":true,"taken":false,"typical":false,"included":true,"notes":"HTTP ERROR 406"},"inbox":{"reserved":true,"taken":true,"typical":false,"redirect":"https://github.com/410","included":true,"notes":"410 ERROR"},"invalid-email-address":{"reserved":true,"taken":true,"typical":false,"included":true,"notes":"HTTP ERROR 404"},"suggestions":{"reserved":true,"taken":false,"typical":false,"included":true},"suspended":{"reserved":true,"taken":true,"typical":false,"redirect":"https://github.com","included":true,"notes":"Page behaviour depends on whether you\'re logged in or if your account is actually suspended"},"case-studies":{"reserved":false,"taken":true,"typical":false,"included":true},"watching":{"reserved":false,"taken":true,"typical":false,"included":true},"save-net-neutrality":{"reserved":false,"taken":true,"typical":false,"included":true},"ghost":{"reserved":false,"taken":true,"typical":true,"included":true},"status":{"reserved":true,"taken":false,"typical":false,"included":true}}')},940:e=>{e.exports=JSON.parse('["400","401","402","403","404","405","406","407","408","409","410","411","412","413","414","415","416","417","418","419","420","421","422","423","424","425","426","427","428","429","430","431","500","501","502","503","504","505","506","507","508","509","510","511","about","access","account","admin","advisories","anonymous","any","api","apps","attributes","auth","billing","blob","blog","bounty","branches","business","businesses","c","cache","case-studies","categories","central","certification","changelog","cla","cloud","codereview","collection","collections","comments","commit","commits","community","companies","compare","contact","contributing","cookbook","coupons","customer-stories","customer","customers","dashboard","dashboards","design","develop","developer","diff","discover","discussions","docs","downloads","downtime","editor","editors","edu","enterprise","events","explore","featured","features","files","fixtures","forked","garage","ghost","gist","gists","graphs","guide","guides","help","help-wanted","home","hooks","hosting","hovercards","identity","images","inbox","individual","info","integration","interfaces","introduction","invalid-email-address","investors","issues","jobs","join","journal","journals","lab","labs","languages","launch","layouts","learn","legal","library","linux","listings","lists","login","logos","logout","mac","maintenance","malware","man","marketplace","mention","mentioned","mentioning","mentions","migrating","milestones","mine","mirrors","mobile","navigation","network","new","news","none","nonprofit","nonprofits","notices","notifications","oauth","offer","open-source","organisations","organizations","orgs","pages","partners","payments","personal","plans","plugins","popular","popularity","posts","press","pricing","professional","projects","pulls","raw","readme","recommendations","redeem","releases","render","reply","repositories","resources","restore","revert","save-net-neutrality","saved","scraping","search","security","services","sessions","settings","shareholders","shop","showcases","signin","signup","site","spam","sponsors","ssh","staff","starred","stars","static","status","statuses","storage","store","stories","styleguide","subscriptions","suggest","suggestion","suggestions","support","suspended","talks","teach","teacher","teachers","teaching","team","teams","ten","terms","timeline","topic","topics","tos","tour","train","training","translations","tree","trending","updates","username","users","visualization","w","watching","wiki","windows","works-with","www0","www1","www2","www3","www4","www5","www6","www7","www8","www9"]')}},t={};function r(n){var i=t[n];if(void 0!==i)return i.exports;var o=t[n]={id:n,exports:{}};return e[n](o,o.exports,r),o.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);r(370)})(); \ No newline at end of file diff --git a/build/github-defreshed.xpi b/build/github-defreshed.xpi index 6200a77..488aed9 100644 Binary files a/build/github-defreshed.xpi and b/build/github-defreshed.xpi differ