performance.mark("js-parse-end:78651-1087c202ca82b73a.js"); "use strict";(globalThis.webpackChunk_github_ui_github_ui=globalThis.webpackChunk_github_ui_github_ui||[]).push([["78651"],{70170(e,t,r){function n(e,t=0,{start:r=!0,middle:i=!0,once:s=!1}={}){let o,a=r,l=0,c=!1;function u(...n){if(c)return;let h=Date.now()-l;l=Date.now(),r&&i&&h>=t&&(a=!0),a?(a=!1,e.apply(this,n),s&&u.cancel()):(i&&h{l=Date.now(),e.apply(this,n),s&&u.cancel()},i?t-h:t))}return u.cancel=()=>{clearTimeout(o),c=!0},u}function i(e,t=0,{start:r=!1,middle:s=!1,once:o=!1}={}){return n(e,t,{start:r,middle:s,once:o})}r.d(t,{n:()=>n,s:()=>i})},21744(e,t,r){function n(){if(!(this instanceof n))return new n;this.size=0,this.uid=0,this.selectors=[],this.selectorObjects={},this.indexes=Object.create(this.indexes),this.activeIndexes=[]}r.d(t,{h:()=>M,on:()=>S});var i,s=window.document.documentElement,o=s.matches||s.webkitMatchesSelector||s.mozMatchesSelector||s.oMatchesSelector||s.msMatchesSelector;n.prototype.matchesSelector=function(e,t){return o.call(e,t)},n.prototype.querySelectorAll=function(e,t){return t.querySelectorAll(e)},n.prototype.indexes=[];var a=/^#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/g;n.prototype.indexes.push({name:"ID",selector:function(e){var t;if(t=e.match(a))return t[0].slice(1)},element:function(e){if(e.id)return[e.id]}});var l=/^\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/g;n.prototype.indexes.push({name:"CLASS",selector:function(e){var t;if(t=e.match(l))return t[0].slice(1)},element:function(e){var t=e.className;if(t){if("string"==typeof t)return t.split(/\s/);else if("object"==typeof t&&"baseVal"in t)return t.baseVal.split(/\s/)}}});var c=/^((?:[\w\u00c0-\uFFFF\-]|\\.)+)/g;n.prototype.indexes.push({name:"TAG",selector:function(e){var t;if(t=e.match(c))return t[0].toUpperCase()},element:function(e){return[e.nodeName.toUpperCase()]}}),n.prototype.indexes.default={name:"UNIVERSAL",selector:function(){return!0},element:function(){return[!0]}},i="function"==typeof window.Map?window.Map:function(){function e(){this.map={}}return e.prototype.get=function(e){return this.map[e+" "]},e.prototype.set=function(e,t){this.map[e+" "]=t},e}();var u=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g;function h(e,t){var r,n,i,s,o,a,l=(e=e.slice(0).concat(e.default)).length,c=t,h=[];do if(u.exec(""),(i=u.exec(c))&&(c=i[3],i[2]||!c)){for(r=0;r3&&void 0!==arguments[3]?arguments[3]:{},s=!!i.capture,o=s?f:p,a=o[e];a||(a=new n,o[e]=a,document.addEventListener(e,T,s)),a.add(t,r)}function M(e,t,r){return e.dispatchEvent(new CustomEvent(t,{bubbles:!0,cancelable:!0,detail:r}))}},50515(e,t,r){r.d(t,{JC:()=>k,KK:()=>d,Vy:()=>l,ai:()=>y,rd:()=>p});class n{constructor(e){this.children=[],this.parent=e}delete(e){let t=this.children.indexOf(e);return -1!==t&&(this.children=this.children.slice(0,t).concat(this.children.slice(t+1)),0===this.children.length&&this.parent.delete(this),!0)}add(e){return this.children.push(e),this}}class i{constructor(e){this.parent=null,this.children={},this.parent=e||null}get(e){return this.children[e]}insert(e){let t=this;for(let r=0;r","\xbf":"?"},o={"`":"~",1:"!",2:"@",3:"#",4:"$",5:"%",6:"^",7:"&",8:"*",9:"(",0:")","-":"_","=":"+","[":"{","]":"}","\\":"|",";":":","'":'"',",":"<",".":">","/":"?",q:"Q",w:"W",e:"E",r:"R",t:"T",y:"Y",u:"U",i:"I",o:"O",p:"P",a:"A",s:"S",d:"D",f:"F",g:"G",h:"H",j:"J",k:"K",l:"L",z:"Z",x:"X",c:"C",v:"V",b:"B",n:"N",m:"M"},a={" ":"Space","+":"Plus"};function l(e,t=navigator.platform){var r,n,i;let{ctrlKey:u,altKey:d,metaKey:p,shiftKey:f,key:g}=e,m=[];for(let[e,t]of[u,d,p,f].entries())t&&m.push(c[e]);if(!c.includes(g)){let e=m.includes("Alt")&&h.test(t)&&null!=(r=s[g])?r:g,l=m.includes("Shift")&&h.test(t)&&null!=(n=o[e])?n:e,c=null!=(i=a[l])?i:l;m.push(c)}return m.join("+")}let c=["Control","Alt","Meta","Shift"];function u(e,t){let r,n,i;{var s,o,a,l=(s=e,o=t,n="u"this.reset(),d.CHORD_TIMEOUT)}}function p(e){return e.split(" ").map(e=>u(e)).join(" ")}function f(e){if(!(e instanceof HTMLElement))return!1;let t=e.nodeName.toLowerCase(),r=(e.getAttribute("type")||"").toLowerCase();return"select"===t||"textarea"===t||"input"===t&&"submit"!==r&&"reset"!==r&&"checkbox"!==r&&"radio"!==r&&"file"!==r||e.isContentEditable}d.CHORD_TIMEOUT=1500;let g=new i,m=new WeakMap,b=g,w=new d({onReset(){b=g}});function v(e){if(e.defaultPrevented||!(e.target instanceof Node))return;if(f(e.target)){let t=e.target;if(!t.id||!t.ownerDocument.querySelector(`[data-hotkey-scope="${t.id}"]`))return}let t=b.get(l(e));if(!t)return void w.reset();if(w.registerKeypress(e),b=t,t instanceof n){let n,i=e.target,s=!1,o=f(i);for(let e=t.children.length-1;e>=0;e-=1){let r=(n=t.children[e]).getAttribute("data-hotkey-scope");if(!o&&!r||o&&i.id===r){s=!0;break}}if(n&&s){var r;let t;r=n,t=new CustomEvent("hotkey-fire",{cancelable:!0,detail:{path:w.path}}),r.dispatchEvent(t)&&(f(r)?r.focus():r.click()),e.preventDefault()}w.reset()}}function y(e,t){0===Object.keys(g.children).length&&document.addEventListener("keydown",v);let r=(function(e){let t=[],r=[""],n=!1;for(let i=0;ie.map(e=>u(e)).filter(e=>""!==e)).filter(e=>e.length>0)})(t||e.getAttribute("data-hotkey")||"").map(t=>g.insert(t).add(e));m.set(e,r)}function k(e){let t=m.get(e);if(t&&t.length)for(let r of t)r&&r.delete(e);0===Object.keys(g.children).length&&document.removeEventListener("keydown",v)}},5225(e,t,r){function n(...e){return JSON.stringify(e,(e,t)=>"object"==typeof t?t:String(t))}function i(e,t={}){let{hash:r=n,cache:s=new Map}=t;return function(...t){let n=r.apply(this,t);if(s.has(n))return s.get(n);let i=e.apply(this,t);return i instanceof Promise&&(i=i.catch(e=>{throw s.delete(n),e})),s.set(n,i),i}}r.d(t,{A:()=>i})},16404(e,t,r){r.d(t,{S1:()=>s});var n,i=/bot|crawl|http|lighthouse|scan|search|spider/i;function s(e){return!!e&&(function(){if(n instanceof RegExp)return n;try{n=RegExp(" daum[ /]| deusu/|(?:^|[^g])news(?!sapphire)|(?