"use strict";(globalThis.webpackChunk=globalThis.webpackChunk||[]).push([["vendors-node_modules_github_mini-throttle_dist_index_js-node_modules_github_combobox-nav_dist-5f477b","vendors-node_modules_github_mini-throttle_dist_index_js-node_modules_github_hydro-analytics-c-35f15c"],{70170:(e,t,n)=>{function i(e,t=0,{start:n=!0,middle:r=!0,once:o=!1}={}){let s,a=n,l=0,c=!1;function u(...i){if(c)return;let h=Date.now()-l;l=Date.now(),n&&r&&h>=t&&(a=!0),a?(a=!1,e.apply(this,i),o&&u.cancel()):(r&&h{l=Date.now(),e.apply(this,i),o&&u.cancel()},r?t-h:t))}return u.cancel=()=>{clearTimeout(s),c=!0},u}function r(e,t=0,{start:n=!1,middle:o=!1,once:s=!1}={}){return i(e,t,{start:n,middle:o,once:s})}n.d(t,{n:()=>i,s:()=>r})},35908:(e,t,n)=>{n.d(t,{A:()=>Combobox});let Combobox=class Combobox{constructor(e,t,{tabInsertsSuggestions:n,firstOptionSelectionMode:i,scrollIntoViewOptions:o}={}){this.input=e,this.list=t,this.tabInsertsSuggestions=null==n||n,this.firstOptionSelectionMode=null!=i?i:"none",this.scrollIntoViewOptions=null!=o?o:{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":r(t.input,t.list)&&e.preventDefault();break;case"Tab":t.tabInsertsSuggestions&&r(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=>(function(e,t){t.isComposing="compositionstart"===e.type,document.getElementById(t.input.getAttribute("aria-controls")||"")&&t.clearSelection()})(e,this),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",i),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",i)}indicateDefaultOption(){var e;"active"===this.firstOptionSelectionMode?null===(e=Array.from(this.list.querySelectorAll('[role="option"]:not([aria-disabled="true"])')).filter(o)[0])||void 0===e||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],n=Array.from(this.list.querySelectorAll('[role="option"]')).filter(o),i=n.indexOf(t);if(i===n.length-1&&1===e||0===i&&-1===e){this.clearSelection(),this.input.focus();return}let r=1===e?0:n.length-1;if(t&&i>=0){let t=i+e;t>=0&&t0||e.offsetHeight>0)}},18679:(e,t,n)=>{n.d(t,{s:()=>AnalyticsClient});let i=["utm_source","utm_medium","utm_campaign","utm_term","utm_content","scid"];var r=n(36301);let AnalyticsClient=class AnalyticsClient{constructor(e){this.options=e}get collectorUrl(){return this.options.collectorUrl}get clientId(){return this.options.clientId?this.options.clientId:(0,r.y)()}createEvent(e){return{page:location.href,title:document.title,context:{...this.options.baseContext,...function(){let e={};try{for(let[t,n]of new URLSearchParams(window.location.search)){let r=t.toLowerCase();i.includes(r)&&(e[r]=n)}return e}catch(e){return{}}}(),...e}}}sendPageView(e){let t=this.createEvent(e);this.send({page_views:[t]})}sendEvent(e,t){let n={...this.createEvent(t),type:e};this.send({events:[n]})}send({page_views:e,events:t}){let n=JSON.stringify({client_id:this.clientId,page_views:e,events:t,request_context:{referrer:function(){let e;try{e=window.top.document.referrer}catch(t){if(window.parent)try{e=window.parent.document.referrer}catch(e){}}return""===e&&(e=document.referrer),e}(),user_agent:navigator.userAgent,screen_resolution:function(){try{return`${screen.width}x${screen.height}`}catch(e){return"unknown"}}(),browser_resolution:function(){let e=0,t=0;try{return"number"==typeof window.innerWidth?(t=window.innerWidth,e=window.innerHeight):null!=document.documentElement&&null!=document.documentElement.clientWidth?(t=document.documentElement.clientWidth,e=document.documentElement.clientHeight):null!=document.body&&null!=document.body.clientWidth&&(t=document.body.clientWidth,e=document.body.clientHeight),`${t}x${e}`}catch(e){return"unknown"}}(),browser_languages:navigator.languages?navigator.languages.join(","):navigator.language||"",pixel_ratio:window.devicePixelRatio,timestamp:Date.now(),tz_seconds:-60*new Date().getTimezoneOffset()}});try{if(navigator.sendBeacon){navigator.sendBeacon(this.collectorUrl,n);return}}catch{}fetch(this.collectorUrl,{method:"POST",cache:"no-cache",headers:{"Content-Type":"application/json"},body:n,keepalive:!1})}}},36301:(e,t,n)=>{let i;function r(){return`${Math.round(0x7fffffff*Math.random())}.${Math.round(Date.now()/1e3)}`}function o(){try{let e=function(){let e;let t=document.cookie.match(/_octo=([^;]+)/g);if(!t)return;let n=[0,0];for(let i of t){let[,t]=i.split("="),[,r,...o]=t.split("."),s=r.split("-").map(Number);s>n&&(n=s,e=o.join("."))}return e}();if(e)return e;let t=r();return!function(e){let t=`GH1.1.${e}`,n=new Date(Date.now()+31536e6).toUTCString(),{domain:i}=document;i.endsWith(".github.com")&&(i="github.com"),document.cookie=`_octo=${t}; expires=${n}; path=/; domain=${i}; secure; samesite=lax`}(t),t}catch(e){return i||(i=r()),i}}n.d(t,{y:()=>o})},70837:(e,t,n)=>{n.d(t,{O:()=>i});function i(e="ha"){let t;let n={};for(let i of Array.from(document.head.querySelectorAll(`meta[name^="${e}-"]`))){let{name:r,content:o}=i,s=r.replace(`${e}-`,"").replace(/-/g,"_");"url"===s?t=o:n[s]=o}if(!t)throw Error(`AnalyticsClient ${e}-url meta tag not found`);return{collectorUrl:t,...Object.keys(n).length>0?{baseContext:n}:{}}}},31143:(e,t,n)=>{n.d(t,{qy:()=>E,XX:()=>b,_3:()=>S});let i=new Map;function r(e){if(i.has(e))return i.get(e);let t=e.length,n=0,r=0,o=0,s=[];for(let i=0;in&&(s.push(Object.freeze({type:"string",start:n,end:r,value:e.slice(n,r)})),n=r),s.push(Object.freeze({type:"part",start:r,end:i+2,value:e.slice(n+2,i).trim()})),i+=1,n=i+1)}return n"string"==typeof e?e:e.value).join("");this.element.setAttributeNS(this.attr.namespaceURI,this.attr.name,e)}}};let a=new WeakMap;let NodeTemplatePart=class NodeTemplatePart{constructor(e,t){this.expression=t,a.set(this,[e]),e.textContent=""}get value(){return a.get(this).map(e=>e.textContent).join("")}set value(e){this.replace(e)}get previousSibling(){return a.get(this)[0].previousSibling}get nextSibling(){return a.get(this)[a.get(this).length-1].nextSibling}replace(...e){let t=e.map(e=>"string"==typeof e?new Text(e):e);for(let e of(t.length||t.push(new Text("")),a.get(this)[0].before(...t),a.get(this)))e.remove();a.set(this,t)}};function l(e){return{processCallback(t,n,i){var r;if("object"==typeof i&&i){for(let t of n)if(t.expression in i){let n=null!==(r=i[t.expression])&&void 0!==r?r:"";e(t,n)}}}}}function c(e,t){e.value=String(t)}function u(e,t){return"boolean"==typeof t&&e instanceof AttributeTemplatePart&&"boolean"==typeof e.element[e.attributeName]&&(e.booleanValue=t,!0)}let h=l(c);l((e,t)=>{u(e,t)||c(e,t)});let d=new WeakMap,p=new WeakMap;let TemplateInstance=class TemplateInstance extends DocumentFragment{constructor(e,t,n=h){var i,o;super(),Object.getPrototypeOf(this)!==TemplateInstance.prototype&&Object.setPrototypeOf(this,TemplateInstance.prototype),this.appendChild(e.content.cloneNode(!0)),p.set(this,Array.from(function*(e){let t;let n=e.ownerDocument.createTreeWalker(e,NodeFilter.SHOW_TEXT|NodeFilter.SHOW_ELEMENT,null,!1);for(;t=n.nextNode();)if(t instanceof Element&&t.hasAttributes())for(let e=0;ee+t+(n{let n=e(...t);return v.add(n),n}}let w=new WeakMap;let EventHandler=class EventHandler{constructor(e,t){this.element=e,this.type=t,this.element.addEventListener(this.type,this),w.get(this.element).set(this.type,this)}set(e){"function"==typeof e?this.handleEvent=e.bind(this.element):"object"==typeof e&&"function"==typeof e.handleEvent?this.handleEvent=e.handleEvent.bind(e):(this.element.removeEventListener(this.type,this),w.get(this.element).delete(this.type))}static for(e){w.has(e.element)||w.set(e.element,new Map);let t=e.attributeName.slice(2),n=w.get(e.element);return n.has(t)?n.get(t):new EventHandler(e.element,t)}};function T(e,t){v.has(t)&&(t(e),1)||u(e,t)||e instanceof AttributeTemplatePart&&e.attributeName.startsWith("on")&&(EventHandler.for(e).set(t),e.element.removeAttributeNS(e.attributeNamespace,e.attributeName),1)||t instanceof TemplateResult&&e instanceof NodeTemplatePart&&(t.renderInto(e),1)||t instanceof DocumentFragment&&e instanceof NodeTemplatePart&&(t.childNodes.length&&e.replace(...t.childNodes),1)||function(e,t){if(!("object"==typeof t&&Symbol.iterator in t))return!1;if(!(e instanceof NodeTemplatePart))return e.value=Array.from(t).join(" "),!0;{let n=[];for(let e of t)if(e instanceof TemplateResult){let t=document.createDocumentFragment();e.renderInto(t),n.push(...t.childNodes)}else e instanceof DocumentFragment?n.push(...e.childNodes):n.push(String(e));return n.length&&e.replace(...n),!0}}(e,t)||c(e,t)}let A=l(T);function E(e,...t){return new TemplateResult(e,t,A)}let x=new WeakMap;y((...e)=>t=>{x.has(t)||x.set(t,{i:e.length});let n=x.get(t);for(let i=0;i{it=>{var n,i;if(!(t instanceof NodeTemplatePart))return;let r=document.createElement("template"),o=null!==(i=null===(n=TemplateResult.cspTrustedTypesPolicy)||void 0===n?void 0:n.createHTML(e))&&void 0!==i?i:e;r.innerHTML=o;let s=document.importNode(r.content,!0);t.replace(...s.childNodes)})},5225:(e,t,n)=>{function i(...e){return JSON.stringify(e,(e,t)=>"object"==typeof t?t:String(t))}function r(e,t={}){let{hash:n=i,cache:o=new Map}=t;return function(...t){let i=n.apply(this,t);if(o.has(i))return o.get(i);let r=e.apply(this,t);return r instanceof Promise&&(r=r.catch(e=>{throw o.delete(i),e})),o.set(i,r),r}}n.d(t,{A:()=>r})}}]); //# sourceMappingURL=vendors-node_modules_github_mini-throttle_dist_index_js-node_modules_github_combobox-nav_dist-5f477b-8ac9f9526716.js.map