performance.mark("js-parse-end:89397-35871bbdbca92d6d.js"); "use strict";(globalThis.webpackChunk_github_ui_github_ui=globalThis.webpackChunk_github_ui_github_ui||[]).push([["89397"],{70170(e,t,r){function i(e,t=0,{start:r=!0,middle:n=!0,once:a=!1}={}){let o,s=r,l=0,c=!1;function u(...i){if(c)return;let d=Date.now()-l;l=Date.now(),r&&n&&d>=t&&(s=!0),s?(s=!1,e.apply(this,i),a&&u.cancel()):(n&&d{l=Date.now(),e.apply(this,i),a&&u.cancel()},n?t-d:t))}return u.cancel=()=>{clearTimeout(o),c=!0},u}function n(e,t=0,{start:r=!1,middle:a=!1,once:o=!1}={}){return i(e,t,{start:r,middle:a,once:o})}r.d(t,{n:()=>i,s:()=>n})},95493(e,t,r){function i(e,t){return n(function(e){if(e.activeElement!==e.body)return e.activeElement;var t=e.querySelectorAll(":hover"),r=t.length;if(r)return t[r-1]}(e),t)}function n(e,t){var r=e;if(!r)return Promise.resolve(t());var i=r.ownerDocument.documentElement,n=function(e){for(var t=[];e;){var r=e.getBoundingClientRect(),i=r.top,n=r.left;t.push({element:e,top:i,left:n}),e=e.parentElement}return t}(r);return Promise.resolve(t()).then(function(e){var t=function(e){for(var t=0;ti,_H:()=>n})},35908(e,t,r){r.d(t,{A:()=>i});class i{constructor(e,t,{tabInsertsSuggestions:r,firstOptionSelectionMode:i,scrollIntoViewOptions:n}={}){this.input=e,this.list=t,this.tabInsertsSuggestions=null==r||r,this.firstOptionSelectionMode=null!=i?i:"none",this.scrollIntoViewOptions=null!=n?n:{block:"nearest",inline:"nearest"},this.isComposing=!1,t.id||(t.id=`combobox-${Math.random().toString().slice(2,6)}`),this.ctrlBindings=!!navigator.userAgent.match(/Macintosh/),this.keyboardEventHandler=e=>(function(e,t){if(!e.shiftKey&&!e.metaKey&&!e.altKey&&(t.ctrlBindings||!e.ctrlKey)&&!t.isComposing)switch(e.key){case"Enter":a(t.input,t.list)&&e.preventDefault();break;case"Tab":t.tabInsertsSuggestions&&a(t.input,t.list)&&e.preventDefault();break;case"Escape":t.clearSelection();break;case"ArrowDown":t.navigate(1),e.preventDefault();break;case"ArrowUp":t.navigate(-1),e.preventDefault();break;case"n":t.ctrlBindings&&e.ctrlKey&&(t.navigate(1),e.preventDefault());break;case"p":t.ctrlBindings&&e.ctrlKey&&(t.navigate(-1),e.preventDefault());break;default:if(e.ctrlKey)break;t.resetSelection()}})(e,this),this.compositionEventHandler=e=>{var t,r;return t=e,r=this,void(r.isComposing="compositionstart"===t.type,document.getElementById(r.input.getAttribute("aria-controls")||"")&&r.clearSelection())},this.inputHandler=this.clearSelection.bind(this),e.setAttribute("role","combobox"),e.setAttribute("aria-controls",t.id),e.setAttribute("aria-expanded","false"),e.setAttribute("aria-autocomplete","list"),e.setAttribute("aria-haspopup","listbox")}destroy(){this.clearSelection(),this.stop(),this.input.removeAttribute("role"),this.input.removeAttribute("aria-controls"),this.input.removeAttribute("aria-expanded"),this.input.removeAttribute("aria-autocomplete"),this.input.removeAttribute("aria-haspopup")}start(){this.input.setAttribute("aria-expanded","true"),this.input.addEventListener("compositionstart",this.compositionEventHandler),this.input.addEventListener("compositionend",this.compositionEventHandler),this.input.addEventListener("input",this.inputHandler),this.input.addEventListener("keydown",this.keyboardEventHandler),this.list.addEventListener("click",n),this.resetSelection()}stop(){this.clearSelection(),this.input.setAttribute("aria-expanded","false"),this.input.removeEventListener("compositionstart",this.compositionEventHandler),this.input.removeEventListener("compositionend",this.compositionEventHandler),this.input.removeEventListener("input",this.inputHandler),this.input.removeEventListener("keydown",this.keyboardEventHandler),this.list.removeEventListener("click",n)}indicateDefaultOption(){var e;"active"===this.firstOptionSelectionMode?null==(e=Array.from(this.list.querySelectorAll('[role="option"]:not([aria-disabled="true"])')).filter(o)[0])||e.setAttribute("data-combobox-option-default","true"):"selected"===this.firstOptionSelectionMode&&this.navigate(1)}navigate(e=1){let t=Array.from(this.list.querySelectorAll('[aria-selected="true"]')).filter(o)[0],r=Array.from(this.list.querySelectorAll('[role="option"]')).filter(o),i=r.indexOf(t);if(i===r.length-1&&1===e||0===i&&-1===e){this.clearSelection(),this.input.focus();return}let n=1===e?0:r.length-1;if(t&&i>=0){let t=i+e;t>=0&&t0||e.offsetHeight>0)}},5225(e,t,r){function i(...e){return JSON.stringify(e,(e,t)=>"object"==typeof t?t:String(t))}function n(e,t={}){let{hash:r=i,cache:a=new Map}=t;return function(...t){let i=r.apply(this,t);if(a.has(i))return a.get(i);let n=e.apply(this,t);return n instanceof Promise&&(n=n.catch(e=>{throw a.delete(i),e})),a.set(i,n),n}}r.d(t,{A:()=>n})},74043(e,t,r){function i(e){let t="==".slice(0,(4-e.length%4)%4),r=atob(e.replace(/-/g,"+").replace(/_/g,"/")+t),i=new ArrayBuffer(r.length),n=new Uint8Array(i);for(let e=0;ey,Jt:()=>A,PG:()=>g,d5:()=>w,vt:()=>k});var a="copy",o="convert";function s(e,t,r){if(t===a)return r;if(t===o)return e(r);if(t instanceof Array)return r.map(r=>s(e,t[0],r));if(t instanceof Object){let i={};for(let[n,a]of Object.entries(t)){if(a.derive){let e=a.derive(r);void 0!==e&&(r[n]=e)}if(!(n in r)){if(a.required)throw Error(`Missing key: ${n}`);continue}if(null==r[n]){i[n]=null;continue}i[n]=s(e,a.schema,r[n])}return i}}function l(e,t){return{required:!0,schema:e,derive:t}}function c(e){return{required:!0,schema:e}}function u(e){return{required:!1,schema:e}}var d={type:c(a),id:c(o),transports:u(a)},p={appid:u(a),appidExclude:u(a),credProps:u(a)},f={appid:u(a),appidExclude:u(a),credProps:u(a)},h={publicKey:c({rp:c(a),user:c({id:c(o),name:c(a),displayName:c(a)}),challenge:c(o),pubKeyCredParams:c(a),timeout:u(a),excludeCredentials:u([d]),authenticatorSelection:u(a),attestation:u(a),extensions:u(p)}),signal:u(a)},b={type:c(a),id:c(a),rawId:c(o),authenticatorAttachment:u(a),response:c({clientDataJSON:c(o),attestationObject:c(o),transports:l(a,e=>{var t;return(null==(t=e.getTransports)?void 0:t.call(e))||[]})}),clientExtensionResults:l(f,e=>e.getClientExtensionResults())},m={mediation:u(a),publicKey:c({challenge:c(o),timeout:u(a),rpId:u(a),allowCredentials:u([d]),userVerification:u(a),extensions:u(p)}),signal:u(a)},v={type:c(a),id:c(a),rawId:c(o),authenticatorAttachment:u(a),response:c({clientDataJSON:c(o),authenticatorData:c(o),signature:c(o),userHandle:c(o)}),clientExtensionResults:l(f,e=>e.getClientExtensionResults())};function g(e){return s(i,h,e)}function w(e){return s(i,m,e)}function y(){return!!(navigator.credentials&&navigator.credentials.create&&navigator.credentials.get&&window.PublicKeyCredential)}async function k(e){let t=await navigator.credentials.create(e);return t.toJSON=()=>s(n,b,t),t}async function A(e){let t=await navigator.credentials.get(e);return t.toJSON=()=>s(n,v,t),t}},16404(e,t,r){r.d(t,{S1:()=>a});var i,n=/bot|crawl|http|lighthouse|scan|search|spider/i;function a(e){return!!e&&(function(){if(i instanceof RegExp)return i;try{i=RegExp(" daum[ /]| deusu/|(?:^|[^g])news(?!sapphire)|(?