diff --git a/Shargil_VoiceToPlaylist_ 4.5 hours project - Voice Emotion Recognizer that open up a Spotify playlist according to you mood._files/180528172 b/Shargil_VoiceToPlaylist_ 4.5 hours project - Voice Emotion Recognizer that open up a Spotify playlist according to you mood._files/180528172 new file mode 100644 index 0000000000000000000000000000000000000000..be1b7a1168232964d24c11583c96a7ebdc837e6f Binary files /dev/null and b/Shargil_VoiceToPlaylist_ 4.5 hours project - Voice Emotion Recognizer that open up a Spotify playlist according to you mood._files/180528172 differ diff --git a/Shargil_VoiceToPlaylist_ 4.5 hours project - Voice Emotion Recognizer that open up a Spotify playlist according to you mood._files/36592809 b/Shargil_VoiceToPlaylist_ 4.5 hours project - Voice Emotion Recognizer that open up a Spotify playlist according to you mood._files/36592809 new file mode 100644 index 0000000000000000000000000000000000000000..7eaf60f879f09df8ca6a22da2ea89557724d3f14 Binary files /dev/null and b/Shargil_VoiceToPlaylist_ 4.5 hours project - Voice Emotion Recognizer that open up a Spotify playlist according to you mood._files/36592809 differ diff --git a/Shargil_VoiceToPlaylist_ 4.5 hours project - Voice Emotion Recognizer that open up a Spotify playlist according to you mood._files/36592809(1) b/Shargil_VoiceToPlaylist_ 4.5 hours project - Voice Emotion Recognizer that open up a Spotify playlist according to you mood._files/36592809(1) new file mode 100644 index 0000000000000000000000000000000000000000..7eaf60f879f09df8ca6a22da2ea89557724d3f14 Binary files /dev/null and b/Shargil_VoiceToPlaylist_ 4.5 hours project - Voice Emotion Recognizer that open up a Spotify playlist according to you mood._files/36592809(1) differ diff --git a/Shargil_VoiceToPlaylist_ 4.5 hours project - Voice Emotion Recognizer that open up a Spotify playlist according to you mood._files/app_assets_modules_github_behaviors_ajax-error_ts-app_assets_modules_github_behaviors_incl.download b/Shargil_VoiceToPlaylist_ 4.5 hours project - Voice Emotion Recognizer that open up a Spotify playlist according to you mood._files/app_assets_modules_github_behaviors_ajax-error_ts-app_assets_modules_github_behaviors_incl.download new file mode 100644 index 0000000000000000000000000000000000000000..5d71d95dd0f99ff9d6e12c76f66da18e8bd01585 --- /dev/null +++ b/Shargil_VoiceToPlaylist_ 4.5 hours project - Voice Emotion Recognizer that open up a Spotify playlist according to you mood._files/app_assets_modules_github_behaviors_ajax-error_ts-app_assets_modules_github_behaviors_incl.download @@ -0,0 +1,107 @@ +"use strict";(globalThis.webpackChunk=globalThis.webpackChunk||[]).push([["app_assets_modules_github_behaviors_ajax-error_ts-app_assets_modules_github_behaviors_include-d0d0a6","ui_packages_soft-navigate_soft-navigate_ts"],{57765:(e,t,r)=>{r.d(t,{a:()=>o,n:()=>i});var n=r(97797);function i(){let e=document.getElementById("ajax-error-message");e&&(e.hidden=!1)}function o(){let e=document.getElementById("ajax-error-message");e&&(e.hidden=!0)}(0,n.on)("deprecatedAjaxError","[data-remote]",function(e){let{error:t,text:r}=e.detail;e.currentTarget===e.target&&"abort"!==t&&"canceled"!==t&&(/{r.d(t,{A:()=>l,L:()=>s});var n=r(17688),i=r(21403),o=r(97797),a=r(2132);let d=new WeakMap;function l(e){let t=e.closest(".js-render-needs-enrichment");t&&(t.classList.remove("render-error"),d.get(t)?.setLoading(!1))}function s(e,t){let r=e.closest(".js-render-needs-enrichment");return!!r&&(r.classList.add("render-error"),d.get(r)?.setError(!0,t))}function c(e,t,r){let i=r.identifier??"",o=new URL(e,window.location.origin);for(let[e,r]of Object.entries(t))o.searchParams.append(e,`${r}`);return o.hash=i,(0,n.qy)` +
+ +
+ `}(0,i.lB)(".js-render-needs-enrichment",{constructor:HTMLElement,initialize:function(e){let t={color_mode:(0,a.PT)()},r=e.getAttribute("data-type"),i=e.getAttribute("data-src"),o=e.getAttribute("data-identity"),l=e.getElementsByClassName("js-render-enrichment-target")[0],s=e.getElementsByClassName("js-render-enrichment-loader")[0],u=l.closest("details"),m=document.createElement("div");m.classList.add("js-render-enrichment-fallback"),e.appendChild(m);let f=l.firstElementChild;m.appendChild(f);let h={setLoading(e){s.hidden=!e},setError:(e,t)=>(h.setLoading(!1),!1!==e&&(f.classList.toggle("render-plaintext-hidden",!e),!!t&&((0,n.XX)([t,f],m),!0)))};d.set(e,h);let p=l.getAttribute("data-plain"),g=l.getAttribute("data-json");if(null==g||null==p)throw h.setError(!0,(0,n.qy)`

Unable to render rich display

`),Error(`Expected to see input data for type: ${r}`);let v=c(i,t,{type:r,identifier:o,contentJson:g}),y=c(i,t,{type:r,identifier:`${o}-fullscreen`,contentJson:g}),b=function(e,t,r){let i=(0,n.qy)` + + + `,o=(0,n.qy)` +
+ + + + + + +
+ + +
+
+
+ `;return(0,n.qy)`
+ ${o}${i} +
`}(p,()=>{(0,n.XX)(y,l.getElementsByClassName("Box-body")[0])},{type:r});u&&!u.open?u.ontoggle=()=>{u.open&&((0,n.XX)([b,v],l),u.ontoggle=null)}:(0,n.XX)([b,v],l)}}),(0,o.on)("preview:toggle:off",".js-previewable-comment-form",function(e){let t=e.currentTarget.querySelector(".js-render-needs-enrichment"),r=t?.querySelector(".js-render-enrichment-target");r&&(r.textContent="")}),(0,o.on)("preview:rendered",".js-previewable-comment-form",function(e){let t=e.currentTarget.querySelector(".js-render-needs-enrichment");t&&d.get(t)?.setLoading(!1)})},23711:(e,t,r)=>{r.d(t,{d:()=>c,s:()=>s});var n=r(79024),i=r(21403),o=r(97797);function a(e,t){let r=e.currentTarget;if(r instanceof Element){for(let e of r.querySelectorAll("[data-show-on-error]"))e instanceof HTMLElement&&(e.hidden=!t);for(let e of r.querySelectorAll("[data-hide-on-error]"))e instanceof HTMLElement&&(e.hidden=t)}}function d(e){a(e,!1)}function l(e){a(e,!0)}function s({currentTarget:e}){e instanceof Element&&c(e)}function c(e){let t=e.closest("details");t&&function(e){let t=e.getAttribute("data-deferred-details-content-url");if(t){e.removeAttribute("data-deferred-details-content-url");let r=e.querySelector("include-fragment, poll-include-fragment");r&&(r.src=t)}}(t)}(0,i.lB)("include-fragment, poll-include-fragment",{subscribe:e=>(0,n.Zz)((0,n.Rt)(e,"error",l),(0,n.Rt)(e,"loadstart",d))}),(0,o.on)("click","include-fragment button[data-retry-button]",({currentTarget:e})=>{e.closest("include-fragment").refetch()})},14152:(e,t,r)=>{r.d(t,{Qs:()=>y,hq:()=>l,zr:()=>b});var n=r(17688),i=r(63452),o=r(21403),a=r(66748),d=r(97564);function l(e){return!!e.querySelector('.js-render-target[data-type="ipynb"]')}let s=["is-render-pending","is-render-ready","is-render-loading","is-render-loaded"],c=["is-render-ready","is-render-loading","is-render-loaded","is-render-failed","is-render-failed-fatally"],u=new WeakMap;function m(e){let t=u.get(e);null!=t&&(t.load=t.hello=null,t.helloTimer&&(clearTimeout(t.helloTimer),t.helloTimer=null),t.loadTimer&&(clearTimeout(t.loadTimer),t.loadTimer=null))}let f=(0,d.G7)("viewscreen_post_message");function h(e,t=""){e.classList.remove(...s),e.classList.add("is-render-failed");let r=function(e){let t=(0,n.qy)`

Unable to render rich display

`;if(""!==e){let r=e.split("\n");t=(0,n.qy)`

Unable to render rich display

+

${r.map(e=>(0,n.qy)`${e}
`)}

`}return(0,n.qy)`
${t}
`}(t);!1===(0,i.L)(e,r)&&function(e,t){let r=e.querySelector(".render-viewer-error");r&&(r.remove(),e.classList.remove("render-container"),(0,n.XX)(t,e))}(e,r),m(e)}function p(e,t=!1){!(!e||!(0,a.A)(e)||e.classList.contains("is-render-ready")||e.classList.contains("is-render-failed")||e.classList.contains("is-render-failed-fatally"))&&(!t||u.get(e)?.hello)&&h(e)}function g(e,t,r){return!!e&&!!e.postMessage&&(e.postMessage(JSON.stringify(t),f?r:"*"),!0)}function v(e){return t=>{if(!t.querySelector(".js-render-target"))return;let r=t.querySelector("iframe"),n=r?.contentWindow;if(n)return e(n)}}(0,o.lB)(".js-render-target",function(e){e.classList.remove(...c),e.style.height="auto",!u.get(e)?.load&&(m(e),u.get(e)||(u.set(e,{load:Date.now(),hello:null,helloTimer:window.setTimeout(p,1e4,e,!0),loadTimer:window.setTimeout(p,45e3,e)}),e.classList.add("is-render-automatic","is-render-requested")))}),window.addEventListener("message",function(e){let t=e.data;if(!t)return;if("string"==typeof t)try{t=JSON.parse(t)}catch{return}if("object"!=typeof t&&void 0!=t||"render"!==t.type||"string"!=typeof t.identity)return;let r=t.identity;if("string"!=typeof t.body)return;let n=t.body,o=function(e,t){for(let r of e.querySelectorAll(".js-render-target[data-identity][data-host]"))if(r.getAttribute("data-identity")===t)return r;return null}(document,r);if(!o||e.origin!==o.getAttribute("data-host"))return;let a=e.origin,d=null!=t.payload?t.payload:void 0,l=o.querySelector("iframe"),c=l?.contentWindow;switch(n){case"hello":if((u.get(o)||{untimed:!0}).hello=Date.now(),!c)return;g(c,{type:"render:cmd",body:{cmd:"ack",ack:!0}},a),g(c,{type:"render:cmd",body:{cmd:"branding",branding:!1}},a);break;case"error":h(o,d?.error);break;case"error:fatal":h(o,d?.error),o.classList.add("is-render-failed-fatal");break;case"error:invalid":h(o,d?.error),o.classList.add("is-render-failed-invalid");break;case"loading":o.classList.remove(...s),o.classList.add("is-render-loading");break;case"loaded":o.classList.remove(...s),o.classList.add("is-render-loaded");break;case"ready":(0,i.A)(o),o.classList.remove(...s),o.classList.add("is-render-ready"),d&&"number"==typeof d.height&&(o.style.height=`${d.height}px`,""!==location.hash&&window.dispatchEvent(new HashChangeEvent("hashchange"))),d?.ack===!0&&window.requestAnimationFrame(()=>{setTimeout(()=>{g(c,{type:"render:cmd",body:{cmd:"code_rendering_service:ready:ack","code_rendering_service:ready:ack":{}}},a)},0)});break;case"resize":d&&"number"==typeof d.height&&(o.style.height=`${d.height}px`);break;case"code_rendering_service:container:get_size":g(c,{type:"render:cmd",body:{cmd:"code_rendering_service:container:size","code_rendering_service:container:size":{width:o?.getBoundingClientRect().width}}},a);break;case"code_rendering_service:markdown:get_data":if(!c)return;!function(){let e;let t=l?.getAttribute("data-content")??"";try{e=JSON.parse(t)?.data}catch{e=null}e&&g(c,{type:"render:cmd",body:{cmd:"code_rendering_service:data:ready","code_rendering_service:data:ready":{data:e,width:o?.getBoundingClientRect().width}}},a)}()}});let y=v(e=>g(e,{type:"render:cmd",body:{cmd:"code_rendering_service:behaviour:expand_all"}},origin)),b=v(e=>g(e,{type:"render:cmd",body:{cmd:"code_rendering_service:behaviour:collapse_all"}},origin))},2132:(e,t,r)=>{r.d(t,{OQ:()=>a,PA:()=>l,PT:()=>u,Px:()=>s,to:()=>c});var n=r(5728),i=r(73480);function o(){(0,i.TV)("preferred_color_mode",a())}function a(){return d("dark")?"dark":d("light")?"light":void 0}function d(e){return window.matchMedia&&window.matchMedia(`(prefers-color-scheme: ${e})`).matches}function l(e){let t=document.querySelector("html[data-color-mode]");t&&t.setAttribute("data-color-mode",e)}function s(e,t){let r=document.querySelector("html[data-color-mode]");r&&r.setAttribute(`data-${t}-theme`,e)}function c(e){let t=document.querySelector("html[data-color-mode]");if(t)return t.getAttribute(`data-${e}-theme`)}function u(e="light"){let t=function(){let e=document.querySelector("html[data-color-mode]");if(e)return e.getAttribute("data-color-mode")}();return("auto"===t?a():t)??e}(async()=>{if(await n.G,o(),window.matchMedia){let e=window.matchMedia("(prefers-color-scheme: dark)");e?.addEventListener?e.addEventListener("change",o):e.addListener(o)}})()},7572:(e,t,r)=>{r.d(t,{C:()=>a,i:()=>d});var n=r(97156),i=r(97564),o=r(46493);function a(e,t){(0,i.G7)("arianotify_comprehensive_migration")?d(l(e),{...t,element:t?.element??e}):(0,i.G7)("primer_live_region_element")&&t?.element===void 0?(0,o.Cj)(e,{politeness:t?.assertive?"assertive":"polite"}):d(l(e),t)}function d(e,t){let{assertive:r,element:a}=t??{};(0,i.G7)("arianotify_comprehensive_migration")&&"ariaNotify"in Element.prototype?(a||document.body).ariaNotify(e,{interrupt:t?.assertive?"all":"none"}):(0,i.G7)("primer_live_region_element")&&void 0===a?(0,o.iP)(e,{politeness:r?"assertive":"polite"}):function(e,t,r){let i=r??n.XC?.querySelector(t?"#js-global-screen-reader-notice-assertive":"#js-global-screen-reader-notice");i&&(i.textContent===e?i.textContent=`${e}\u00A0`:i.textContent=e)}(e,r,a)}function l(e){return(e.getAttribute("aria-label")||e.innerText||"").trim()}},73480:(e,t,r)=>{function n(e){return i(e)[0]}function i(e){let t=[];for(let r of function(){try{return document.cookie.split(";")}catch{return[]}}()){let[n,i]=r.trim().split("=");e===n&&void 0!==i&&t.push({key:n,value:i})}return t}function o(e,t,r=null,n=!1,i="lax"){let o=document.domain;if(null==o)throw Error("Unable to get document domain");o.endsWith(".github.com")&&(o="github.com");let a="https:"===location.protocol?"; secure":"",d=r?`; expires=${r}`:"";!1===n&&(o=`.${o}`);try{document.cookie=`${e}=${t}; path=/; domain=${o}${d}${a}; samesite=${i}`}catch{}}function a(e,t=!1){let r=document.domain;if(null==r)throw Error("Unable to get document domain");r.endsWith(".github.com")&&(r="github.com");let n=new Date(Date.now()-1).toUTCString(),i="https:"===location.protocol?"; secure":"",o=`; expires=${n}`;!1===t&&(r=`.${r}`);try{document.cookie=`${e}=''; path=/; domain=${r}${o}${i}`}catch{}}r.d(t,{OR:()=>i,Ri:()=>n,TV:()=>o,Yj:()=>a})},18558:(e,t,r)=>{r.d(t,{JC:()=>n.JC,KK:()=>n.KK,SK:()=>o,Vy:()=>n.Vy,ai:()=>n.ai,oc:()=>n.oc,rd:()=>n.rd});var n=r(50515);let i=/(?:^|,)((?:[^,]|,(?=\+| |$))*(?:,(?=,))?)/g;function o(e){return Array.from(e.matchAll(i)).map(([,e])=>e)}},67327:(e,t,r)=>{r.d(t,{Kq:()=>SoftNavErrorEvent,RQ:()=>SoftNavEndEvent,ni:()=>SoftNavSuccessEvent,sW:()=>SoftNavStartEvent});var n=r(27260);let i=class SoftNavEvent extends Event{constructor(e,t){super(t),this.mechanism=e}};let SoftNavStartEvent=class SoftNavStartEvent extends i{constructor(e){super(e,n.z.START)}};let SoftNavSuccessEvent=class SoftNavSuccessEvent extends i{constructor(e,t){super(e,n.z.SUCCESS),this.visitCount=t}};let SoftNavErrorEvent=class SoftNavErrorEvent extends i{constructor(e,t){super(e,n.z.ERROR),this.error=t}};let SoftNavEndEvent=class SoftNavEndEvent extends i{constructor(e){super(e,n.z.END)}}},56725:(e,t,r)=>{r.d(t,{Bu:()=>h,SC:()=>s,Ti:()=>m,iS:()=>c,k5:()=>l,o4:()=>u,rZ:()=>f});var n=r(27260),i=r(67327),o=r(47175),a=r(54861);let d=0;function l(){d=0,document.dispatchEvent(new Event(n.z.INITIAL)),(0,a.xT)()}function s(e){(0,a.LM)()||(document.dispatchEvent(new Event(n.z.PROGRESS_BAR.START)),document.dispatchEvent(new i.sW(e)),(0,a.Vy)(e),(0,a.ZW)(),(0,a.HK)(),(0,o.E5)())}function c(e={}){g(e)&&(d+=1,document.dispatchEvent(new i.ni((0,a.di)(),d)),m(e))}function u(e={}){if(!g(e))return;d=0;let t=(0,a.my)()||a.BW;document.dispatchEvent(new i.Kq((0,a.di)(),t)),p(),(0,o.Cd)(t),(0,a.xT)()}function m(e={}){if(!g(e))return;let t=(0,a.di)();p(),document.dispatchEvent(new i.RQ(t)),(0,a.Ff)(),(0,a.JA)(t)}function f(e={}){g(e)&&((0,o.Im)(),document.dispatchEvent(new Event(n.z.RENDER)))}function h(){document.dispatchEvent(new Event(n.z.FRAME_UPDATE))}function p(){document.dispatchEvent(new Event(n.z.PROGRESS_BAR.END))}function g({skipIfGoingToReactApp:e,allowedMechanisms:t=[]}={}){return(0,a.LM)()&&(0===t.length||t.includes((0,a.di)()))&&(!e||!(0,a.gc)())}},47175:(e,t,r)=>{r.d(t,{Cd:()=>l,E5:()=>d,Im:()=>s,nW:()=>a});var n=r(51528),i=r(54861);let o="stats:soft-nav-duration",a={turbo:"TURBO",react:"REACT","turbo.frame":"FRAME",ui:"UI",hard:"HARD"};function d(){performance.clearResourceTimings(),performance.mark(o)}function l(e){(0,n.i)({turboFailureReason:e,turboStartUrl:(0,i.dR)(),turboEndUrl:window.location.href})}function s(){let e=function(){if(0===performance.getEntriesByName(o).length)return null;performance.measure(o,o);let e=performance.getEntriesByName(o).pop();return e?e.duration:null}();if(!e)return;let t=a[(0,i.di)()],r=Math.round(e);t===a.react&&document.dispatchEvent(new CustomEvent("staffbar-update",{detail:{duration:r}})),(0,n.i)({requestUrl:window.location.href,softNavigationTiming:{mechanism:t,destination:(0,i.fX)()||"rails",duration:r,initiator:(0,i.Pv)()||"rails"}})}},63120:(e,t,r)=>{r.d(t,{softNavigate:()=>o});var n=r(56725),i=r(7332);let o=(e,t)=>{(0,n.SC)("turbo"),(0,i.YR)(e,{...t})}},79024:(e,t,r)=>{r.d(t,{Rt:()=>n,Zz:()=>i,yU:()=>Subscription});let Subscription=class Subscription{constructor(e){this.closed=!1,this.unsubscribe=()=>{e(),this.closed=!0}}};function n(e,t,r,n={capture:!1}){return e.addEventListener(t,r,n),new Subscription(()=>{e.removeEventListener(t,r,n)})}function i(...e){return new Subscription(()=>{for(let t of e)t.unsubscribe()})}},66748:(e,t,r)=>{r.d(t,{A:()=>n});function n(e){return!(e.offsetWidth<=0&&e.offsetHeight<=0)}}}]); +//# sourceMappingURL=app_assets_modules_github_behaviors_ajax-error_ts-app_assets_modules_github_behaviors_include-d0d0a6-bd940022099d.js.map \ No newline at end of file diff --git a/Shargil_VoiceToPlaylist_ 4.5 hours project - Voice Emotion Recognizer that open up a Spotify playlist according to you mood._files/app_assets_modules_github_behaviors_commenting_edit_ts-app_assets_modules_github_behaviors.download b/Shargil_VoiceToPlaylist_ 4.5 hours project - Voice Emotion Recognizer that open up a Spotify playlist according to you mood._files/app_assets_modules_github_behaviors_commenting_edit_ts-app_assets_modules_github_behaviors.download new file mode 100644 index 0000000000000000000000000000000000000000..de4107bc13bd08ee6dfcdf5374f32bedf724582a --- /dev/null +++ b/Shargil_VoiceToPlaylist_ 4.5 hours project - Voice Emotion Recognizer that open up a Spotify playlist according to you mood._files/app_assets_modules_github_behaviors_commenting_edit_ts-app_assets_modules_github_behaviors.download @@ -0,0 +1,2 @@ +"use strict";(globalThis.webpackChunk=globalThis.webpackChunk||[]).push([["app_assets_modules_github_behaviors_commenting_edit_ts-app_assets_modules_github_behaviors_ht-83c235"],{49786:(e,t,s)=>{s.d(t,{O:()=>y});var n=s(97797),i=s(59017),o=s(65024),r=s(27193),l=s(79024),a=s(26234),m=s(21403),c=s(13937),u=s(18292);let d=[];function f(e){e.querySelector(".js-write-tab").click();let t=e.querySelector(".js-comment-field");t.focus(),(0,n.h)(t,"change")}function j(e){return e.querySelector(".js-comment-edit-form-deferred-include-fragment")}function g(e){j(e)?.setAttribute("loading","eager")}function y(e){let t=e.currentTarget.closest("form"),s=e.currentTarget.getAttribute("data-confirm-text");if((0,a.Av)(t)&&!confirm(s))return!1;for(let e of t.querySelectorAll("input, textarea"))e.value=e.defaultValue,e.classList.contains("session-resumable-canceled")&&(e.classList.add("js-session-resumable"),e.classList.remove("session-resumable-canceled"));let n=e.currentTarget.closest(".js-comment");return n&&n.classList.remove("is-comment-editing"),!0}function p(e){let t=e.querySelector("ol");if(t)for(let e of(t.textContent="",d.map(e=>{let t=document.createElement("li");return t.textContent=e,t})))t.appendChild(e);e.hidden=!1}function h(e,t){let s=e.querySelector(".js-comment-show-on-error");s&&(s.hidden=!t);let n=e.querySelector(".js-comment-hide-on-error");n&&(n.hidden=t)}(0,m.lB)(".js-comment-header-actions-deferred-include-fragment",{subscribe:e=>(0,l.Rt)(e,"loadstart",()=>{g(e.closest(".js-comment"))},{capture:!1,once:!0})}),(0,m.lB)(".js-comment .contains-task-list",{add:e=>{g(e.closest(".js-comment"))}}),(0,n.on)("click",".js-comment-edit-button",function(e){let t=e.currentTarget.closest(".js-comment");t.classList.add("is-comment-editing");let s=j(t);s?s.addEventListener("include-fragment-replaced",()=>f(t),{once:!0}):f(t);let n=e.currentTarget.closest(".js-dropdown-details");n&&n.removeAttribute("open")}),(0,n.on)("click",".js-comment-hide-button",function(e){let t=e.currentTarget.closest(".js-comment");h(t,!1);let s=t.querySelector(".js-minimize-comment");s&&s.classList.remove("d-none");let n=e.currentTarget.closest(".js-dropdown-details");n&&n.removeAttribute("open")}),(0,n.on)("click",".js-comment-hide-minimize-form",function(e){e.currentTarget.closest(".js-minimize-comment").classList.add("d-none")}),(0,n.on)("click",".js-comment-cancel-button",y),(0,n.on)("click",".js-cancel-issue-edit",function(e){e.currentTarget.closest(".js-details-container").querySelector(".js-comment-form-error").hidden=!0}),(0,c.JW)(".js-comment-delete, .js-comment .js-comment-update, .js-issue-update, .js-comment-minimize, .js-comment-unminimize",function(e,t,s){let n=e.closest(".js-comment");n.classList.add("is-comment-loading");let i=n.getAttribute("data-body-version");i&&s.headers.set("X-Body-Version",i)}),(0,c.JW)(".js-comment .js-comment-update",async function(e,t){let s;let n=e.closest(".js-comment"),o=n.querySelector(".js-comment-update-error"),l=n.querySelector(".js-comment-body-error");o instanceof HTMLElement&&(o.hidden=!0),l instanceof HTMLElement&&(l.hidden=!0),d=[],e.classList.add("is-dirty");try{s=await t.json()}catch(e){if(422===e.response.status){let t=JSON.parse(e.response.text);if(t.errors){o instanceof HTMLElement&&(o.textContent=`There was an error posting your comment: ${t.errors.join(", ")}`,o.hidden=!1);return}}else throw e}finally{e.classList.remove("is-dirty")}if(!s)return;let m=s.json;m.errors&&m.errors.length>0&&(d=m.errors,p(l));let c=n.querySelector(".js-comment-body"),u=null!=c&&"async"===e.getAttribute("data-submitting-tracking-block-update")&&(0,a.it)(c,!0,!0);if(c&&m.body&&!u&&(0,i.Eu)(c,m.body,{keepInputValues:!0}),null!=m.source){let e=n.querySelector(".js-comment-field");if(e&&(e.defaultValue=m.source,u||(e.value=m.source)),m.default_merge_commit_message){if(document.querySelector(".js-merge-pr.is-merging")){let e=document.querySelector(".js-merge-pull-request textarea");e instanceof HTMLTextAreaElement&&e.value===e.defaultValue&&(e.value=e.defaultValue=m.default_merge_commit_message)}if(m.default_squash_commit_message&&document.querySelector(".js-merge-pr.is-squashing")){let e=document.querySelector(".js-merge-pull-request textarea");e instanceof HTMLTextAreaElement&&e.value===e.defaultValue&&(e.value=e.defaultValue=m.default_squash_commit_message)}}document.querySelector(".js-merge-box-button-merge")?.setAttribute("data-input-message-value",m.default_merge_commit_message),document.querySelector(".js-merge-box-button-squash")?.setAttribute("data-input-message-value",m.default_squash_commit_message)}n.setAttribute("data-body-version",m.newBodyVersion);let f=n.querySelector(".js-body-version");f instanceof HTMLInputElement&&(f.value=m.newBodyVersion);let j=n.querySelector(".js-discussion-poll");for(let e of(j&&m.poll&&(j.innerHTML=m.poll),n.querySelectorAll("input, textarea")))e.defaultValue=e.value;n.classList.remove("is-comment-stale"),e.hasAttribute("data-submitting-tracking-block-update")||n.classList.remove("is-comment-editing");let g=n.querySelector(".js-comment-edit-history");if(g){let e=await (0,r.Ts)(document,m.editUrl);(0,i.r9)(g,e)}}),(0,m.lB)(".js-comment-body-error",{add:e=>{d&&d.length>0&&p(e)}}),(0,c.JW)(".js-comment .js-comment-delete, .js-comment .js-comment-update, .js-comment-minimize, .js-comment-unminimize",async function(e,t){let s;let n=e.closest(".js-comment");try{await t.text()}catch(e){if(422===(s=e).response.status){let e;try{e=JSON.parse(s.response.text)}catch{}e&&e.stale&&n.classList.add("is-comment-stale")}else throw s}finally{e.dispatchEvent(new CustomEvent("submit:complete",{bubbles:!0,detail:{error:s}}))}n.classList.remove("is-comment-loading")}),(0,c.JW)(".js-timeline-comment-unminimize, .js-timeline-comment-minimize",async function(e,t){let s=e.closest(".js-minimize-container");try{let e=await t.html();s.replaceWith(e.html)}catch{h(s,!0)}}),(0,c.JW)(".js-discussion-comment-unminimize, .js-discussion-comment-minimize",async function(e,t){let s=e.closest(".js-discussion-comment"),n=s.querySelector(".js-discussion-comment-error");n&&(n.hidden=!0);try{let e=await t.html();s.replaceWith(e.html)}catch(e){if(e.response.status>=400&&e.response.status<500){if(e.response.html){let t=e.response.html.querySelector(".js-discussion-comment").getAttribute("data-error");n instanceof HTMLElement&&(n.textContent=t,n.hidden=!1)}}else throw e}}),(0,c.JW)(".js-comment-delete",async function(e,t){await t.json();let s=e.closest(".js-comment-container")||e.closest(".js-line-comments");s&&1!==s.querySelectorAll(".js-comment").length&&(s=e.closest(".js-comment"));let n=s?.closest(".js-comment-container")||s?.closest(".js-line-comments");if(s?.remove(),n&&1===n.querySelectorAll(".js-comment").length)for(let e of n.querySelectorAll(".js-delete-on-last-reply-deleted"))e.remove()}),(0,c.JW)(".js-issue-update",async function(e,t){let s;let n=e.closest(".js-details-container"),i=n.querySelector(".js-comment-form-error");try{s=await t.json()}catch(e){i.textContent=e.response?.json?.errors?.[0]||"Something went wrong. Please try again.",i.hidden=!1}if(!s)return;n.classList.remove("open"),i.hidden=!0;let o=s.json;if(null!=o.issue_title){n.querySelector(".js-issue-title").textContent=o.issue_title;let e=n.closest(".js-issues-results");if(e){if(e.querySelector(".js-merge-pr.is-merging")){let t=e.querySelector(".js-merge-pull-request .js-merge-title");t instanceof HTMLInputElement&&t.value===t.defaultValue&&(t.value=t.defaultValue=o.default_merge_commit_title)}else if(e.querySelector(".js-merge-pr.is-squashing")){let t=e.querySelector(".js-merge-pull-request .js-merge-title");t instanceof HTMLInputElement&&t.value===t.defaultValue&&(t.value=t.defaultValue=o.default_squash_commit_title)}let t=e.querySelector("button[value=merge]");t&&t.setAttribute("data-input-title-value",o.default_merge_commit_title);let s=e.querySelector("button[value=squash]");s&&s.setAttribute("data-input-title-value",o.default_squash_commit_title)}}for(let t of(document.title=o.page_title,e.elements))(t instanceof HTMLInputElement||t instanceof HTMLTextAreaElement)&&(t.defaultValue=t.value)}),(0,c.JW)(".js-comment-minimize",async function(e,t){await t.json();let s=e.closest(".js-comment"),n=s.querySelector(".js-minimize-comment");if(n&&n.classList.contains("js-update-minimized-content")){let t=e.querySelector("input[type=submit], button[type=submit]");t&&t.classList.add("disabled");let n=s.closest(".js-comment-container");n&&await (0,u.le)(n)}else{n&&n.classList.add("d-none");let t=e.closest(".unminimized-comment");t.classList.add("d-none"),t.classList.remove("js-comment");let s=e.closest(".js-minimizable-comment-group").querySelector(".minimized-comment");s&&s.classList.remove("d-none"),s&&s.classList.add("js-comment")}}),(0,c.JW)(".js-comment-unminimize",async function(e,t){await t.json();let s=e.closest(".js-minimizable-comment-group"),n=s.querySelector(".unminimized-comment"),i=s.querySelector(".minimized-comment");if(n)n.classList.remove("d-none"),n.classList.add("js-comment"),i&&i.classList.add("d-none"),i&&i.classList.remove("js-comment");else{if(i){let e=i.querySelector(".timeline-comment-actions");e&&e.classList.add("d-none"),i.classList.remove("js-comment")}let e=s.closest(".js-comment-container");await (0,u.le)(e)}}),(0,n.on)("details-menu-select",".js-comment-edit-history-menu",e=>{let t=e.detail.relatedTarget.getAttribute("data-edit-history-url");if(!t)return;e.preventDefault();let s=(0,r.Ts)(document,t);(0,o.r)({content:s,dialogClass:"Box-overlay--wide overflow-visible",errorMessage:"Couldn't display edit history diff"})},{capture:!0})},72177:(e,t,s)=>{s.d(t,{t:()=>a});var n=s(21232),i=s(21403),o=s(97797);function r(e){let t=e.getAttribute("data-required-value"),s=e.getAttribute("data-required-value-prefix");if(e.value===t)e.setCustomValidity("");else{let n=t;s&&(n=s+n),e.setCustomValidity(n)}}(0,n.eC)("[data-required-value]",function(e){r(e.currentTarget)}),(0,o.on)("change","[data-required-value]",function(e){let t=e.currentTarget;r(t),a(t.form)}),(0,n.eC)("[data-required-trimmed]",function(e){let t=e.currentTarget;""===t.value.trim()?t.setCustomValidity(t.getAttribute("data-required-trimmed")):t.setCustomValidity("")}),(0,o.on)("change","[data-required-trimmed]",function(e){let t=e.currentTarget;""===t.value.trim()?t.setCustomValidity(t.getAttribute("data-required-trimmed")):t.setCustomValidity(""),a(t.form)}),(0,n.uE)("input[pattern],input[required],textarea[required],input[data-required-change],textarea[data-required-change],input[data-required-value],textarea[data-required-value]",e=>{let t=e.checkValidity();function s(){let s=e.checkValidity();s!==t&&e.form&&a(e.form),t=s}e.addEventListener("input",s),e.addEventListener("blur",function t(){e.removeEventListener("input",s),e.removeEventListener("blur",t)})});let l=new WeakMap;function a(e){let t=e.checkValidity();for(let s of e.querySelectorAll("button[data-disable-invalid]"))s.disabled=!t}(0,i.lB)("button[data-disable-invalid]",{constructor:HTMLButtonElement,initialize(e){let t=e.form;t&&(l.get(t)||(t.addEventListener("change",()=>a(t)),l.set(t,!0)),e.disabled=!t.checkValidity())}}),(0,i.lB)("input[data-required-change], textarea[data-required-change]",function(e){let t="radio"===e.type&&e.form?e.form.elements.namedItem(e.name).value:null;function s(s){let n=e.form;if(s&&"radio"===e.type&&n&&t)for(let s of n.elements.namedItem(e.name))s instanceof HTMLInputElement&&s.setCustomValidity(e.value===t?"unchanged":"");else e.setCustomValidity(e.value===(t||e.defaultValue)?"unchanged":"")}e.addEventListener("input",s),e.addEventListener("change",s),s(),e.form&&a(e.form)}),document.addEventListener("reset",function(e){if(e.target instanceof HTMLFormElement){let t=e.target;setTimeout(()=>a(t))}})}}]); +//# sourceMappingURL=app_assets_modules_github_behaviors_commenting_edit_ts-app_assets_modules_github_behaviors_ht-83c235-9c0b660d9fdb.js.map \ No newline at end of file diff --git a/Shargil_VoiceToPlaylist_ 4.5 hours project - Voice Emotion Recognizer that open up a Spotify playlist according to you mood._files/app_assets_modules_github_behaviors_task-list_ts-app_assets_modules_github_sso_ts-ui_packa.download b/Shargil_VoiceToPlaylist_ 4.5 hours project - Voice Emotion Recognizer that open up a Spotify playlist according to you mood._files/app_assets_modules_github_behaviors_task-list_ts-app_assets_modules_github_sso_ts-ui_packa.download new file mode 100644 index 0000000000000000000000000000000000000000..ce863cce0fb9084846ec15ef9069d5b61cd28089 --- /dev/null +++ b/Shargil_VoiceToPlaylist_ 4.5 hours project - Voice Emotion Recognizer that open up a Spotify playlist according to you mood._files/app_assets_modules_github_behaviors_task-list_ts-app_assets_modules_github_sso_ts-ui_packa.download @@ -0,0 +1,4 @@ +"use strict";(globalThis.webpackChunk=globalThis.webpackChunk||[]).push([["app_assets_modules_github_behaviors_task-list_ts-app_assets_modules_github_sso_ts-ui_packages-900dde"],{22474:(e,t,n)=>{n.d(t,{VH:()=>A,df:()=>u,mT:()=>d});var s,l=n(79024),r=n(97797),o=n(72705),i=n(21403),a=n(13937),c=n(78350);function u(e){if(e.querySelector(".js-task-list-field")){for(let t of e.querySelectorAll("task-lists"))if(t instanceof o.A)for(let e of(t.disabled=!1,t.querySelectorAll("button")))e.disabled=!1}}function d(e){for(let t of e.querySelectorAll("task-lists"))if(t instanceof o.A)for(let e of(t.disabled=!0,t.querySelectorAll("button")))e.disabled=!0}function f(e,t,n){let s=e.querySelector(".js-comment-update");d(e),T(e);let l=s.elements.namedItem("task_list_track");l instanceof Element&&l.remove();let r=s.elements.namedItem("task_list_operation");r instanceof Element&&r.remove();let o=document.createElement("input");o.setAttribute("type","hidden"),o.setAttribute("name","task_list_track"),o.setAttribute("value",t),s.appendChild(o);let i=document.createElement("input");if(i.setAttribute("type","hidden"),i.setAttribute("name","task_list_operation"),i.setAttribute("value",JSON.stringify(n)),s.appendChild(i),!s.elements.namedItem("task_list_key")){let e=s.querySelector(".js-task-list-field").getAttribute("name").split("[")[0],t=document.createElement("input");t.setAttribute("type","hidden"),t.setAttribute("name","task_list_key"),t.setAttribute("value",e),s.appendChild(t)}e.classList.remove("is-comment-stale"),(0,c.k_)(s)}(0,i.lB)(".js-task-list-container .js-task-list-field",function(e){let t=e.closest(".js-task-list-container");u(t),T(t)}),(0,i.lB)(".js-convert-tasklist-to-block-enabled .contains-task-list",function(e){let t=L(e);if(!t||Array.from(t.children).some(e=>e.classList.contains("task-list-item-convert-container")))return;let n=e.ownerDocument.querySelector(".js-convert-to-block-template"),s=n?.content.cloneNode(!0);s&&t.appendChild(s)}),(0,r.on)("task-lists-move","task-lists",function(e){let{src:t,dst:n}=e.detail;f(e.currentTarget.closest(".js-task-list-container"),"reordered",{operation:"move",src:t,dst:n})}),(0,r.on)("task-lists-check","task-lists",function(e){let{position:t,checked:n}=e.detail;f(e.currentTarget.closest(".js-task-list-container"),`checked:${n?1:0}`,{operation:"check",position:t,checked:n})}),(0,r.on)("click",".js-convert-to-block-button",function(e){let t=L(e.target);if(!t)return;if(!t.closest("task-lists"))throw Error("parent not found");let n=A(t);f(e.currentTarget.closest(".js-task-list-container"),"converted",{operation:"convert_to_block",position:n})}),(0,a.JW)(".js-task-list-container .js-comment-update",async function(e,t){let n;let s=e.closest(".js-task-list-container"),l=e.elements.namedItem("task_list_track");l instanceof Element&&l.remove();let r=e.elements.namedItem("task_list_operation");r instanceof Element&&r.remove();try{n=await t.json()}catch(t){let e;try{e=JSON.parse(t.response.text)}catch{}if(e&&e.stale){let e=s.querySelector(".js-task-list-field");e.classList.add("session-resumable-canceled"),e.classList.remove("js-session-resumable")}else 422===t.response.status||window.location.reload()}n&&(r&&n.json.source&&(s.querySelector(".js-task-list-field").value=n.json.source),u(s),requestAnimationFrame(()=>T(s)))});let m=!1,p=!1,h=null;function b(e){m="insertLineBreak"===e.inputType}function g(e){(m||"insertLineBreak"===e.inputType)&&(function(e){let t=function(e,t){let n=t[0];if(!n||!e)return;let s=e.substring(0,n).split("\n"),l=s[s.length-2],r=l?.match(x);if(!r)return;let o=r[0],i=r[1],a=r[2],c=parseInt(r[3],10),u=!!r[4],d=!isNaN(c),f=d?`${c+1}.`:a,m=`${f} ${u?"[ ] ":""}`,p=e.indexOf("\n",n);p<0&&(p=e.length);let h=e.substring(n,p);if(h.startsWith(m)&&(m=""),l.replace(o,"").trim().length>0||h.trim().length>0){let t=`${i}${m}`,s=e.substring(n),l=t.length,r=[null,null],o=e.substring(0,n)+t+s;if(d&&!e.substring(n).match(/^\s*$/g)){var b,g;b=e.substring(n),g=c+1,t+=s=b.split("\n").map(e=>{if(e.replace(/^\s+/,"").startsWith(`${g}.`)){let t=e.replace(`${g}`,`${g+1}`);return g+=1,t}return e}).join("\n"),r=[n,n+t.length],o=e.substring(0,n)+t}return{text:o,autocompletePrefix:t,selection:[n+l,n+l],commandId:"insertText",writeSelection:r}}{let t=n-` +${o}`.length;return{autocompletePrefix:"",text:e.substring(0,t)+e.substring(n),selection:[t,t],commandId:"delete",writeSelection:[null,null]}}}(e.value,[e.selectionStart,e.selectionEnd]);void 0!==t&&y(e,t)}(e.target),m=!1)}function y(e,t){if(null===h||!0===h){e.contentEditable="true";try{let n;m=!1,"insertText"===t.commandId?(n=t.autocompletePrefix,null!==t.writeSelection[0]&&null!==t.writeSelection[1]&&(e.selectionStart=t.writeSelection[0],e.selectionEnd=t.writeSelection[1])):e.selectionStart=t.selection[0],h=document.execCommand(t.commandId,!1,n)}catch{h=!1}e.contentEditable="false"}if(!h){try{document.execCommand("ms-beginUndoUnit")}catch{}e.value=t.text;try{document.execCommand("ms-endUndoUnit")}catch{}e.dispatchEvent(new CustomEvent("input",{bubbles:!0,cancelable:!0}))}null!=t.selection[0]&&null!=t.selection[1]&&(e.selectionStart=t.selection[0],e.selectionEnd=t.selection[1])}function k(e){if(!p&&"Enter"===e.key&&e.shiftKey&&!e.metaKey){let t=e.target,n=function(e,t){let n=t[0];if(!n||!e)return;let s=e.substring(0,n).split("\n"),l=s[s.length-1],r=l?.match(S);if(!r)return;let o=r[1]||"",i=` +${o}`;return{text:e.substring(0,n)+i+e.substring(n),autocompletePrefix:i,selection:[n+i.length,n+i.length],commandId:"insertText",writeSelection:[null,null]}}(t.value,[t.selectionStart,t.selectionEnd]);void 0!==n&&(y(t,n),e.preventDefault(),(0,r.h)(t,"change"))}}function w(){p=!0}function v(){p=!1}function E(e){if(p)return;if("Escape"===e.key){!function(e){let t=e.target;"backward"===t.selectionDirection?t.selectionEnd=t.selectionStart:t.selectionStart=t.selectionEnd}(e);return}if("Tab"!==e.key)return;let t=e.target,n=function(e,t,n){let s=t[0]||0,l=t[1]||s;if(null===t[0]||s===l)return;let r=e.substring(0,s).lastIndexOf("\n")+1,o=e.indexOf("\n",l-1),i=o>0?o:e.length-1,a=e.substring(r,i).split("\n"),c=!1,u=0,d=0,f=[];for(let e of a){let t=e.match(/^\s*/);if(t){let s=t[0],l=e.substring(s.length);if(n){let e=s.length;s=s.slice(0,-2),u=c?u:s.length-e,c=!0,d+=s.length-e}else s+=" ",u=2,d+=2;f.push(s+l)}}let m=f.join("\n");return{text:e.substring(0,r)+m+e.substring(i),selection:[Math.max(r,s+u),l+d],autocompletePrefix:m,commandId:"insertText",writeSelection:[r,i]}}(t.value,[t.selectionStart,t.selectionEnd],e.shiftKey);void 0!==n&&(e.preventDefault(),y(t,n))}(0,i.lB)(".js-task-list-field",{subscribe:e=>(0,l.Zz)((0,l.Rt)(e,"keydown",E),(0,l.Rt)(e,"keydown",k),(0,l.Rt)(e,"beforeinput",b),(0,l.Rt)(e,"input",g),(0,l.Rt)(e,"compositionstart",w),(0,l.Rt)(e,"compositionend",v))}),function(e){e.insertText="insertText",e.delete="delete"}(s||(s={}));let S=/^(\s*)?/,x=/^(\s*)([*-]|(\d+)\.)\s(\[[\sx]\]\s)?/;function A(e){let t=e.closest("task-lists");if(!t)throw Error("parent not found");return Array.from(t.querySelectorAll("ol, ul")).filter(e=>!e.closest("tracking-block")).indexOf(e)}function T(e){if(0===document.querySelectorAll("tracked-issues-progress").length||e.closest(".js-timeline-item"))return;let t=e.querySelectorAll(".js-comment-body [type=checkbox]"),n=t.length,s=Array.from(t).filter(e=>e.checked).length;for(let e of document.querySelectorAll("tracked-issues-progress[data-type=checklist]"))e.setAttribute("data-completed",String(s)),e.setAttribute("data-total",String(n))}function L(e){let t=e.closest(".contains-task-list"),n=t;for(;(n=n.parentElement.closest(".contains-task-list"))!==t&&null!==n;)t=n;return t}},95353:(e,t,n)=>{n.d(t,{A:()=>u});var s=n(65024),l=n(27193);function r(e){let t=document.querySelector(".sso-modal");t&&(t.classList.remove("success","error"),e?t.classList.add("success"):t.classList.add("error"))}async function o(){let e=document.querySelector("link[rel=sso-modal]"),t=await (0,s.r)({content:(0,l.Ts)(document,e.href),dialogClass:"sso-modal"}),n=null,o=window.external;if(o.ssoComplete=function(e){e.error?r(n=!1):(r(n=!0),function(e){let t=document.querySelector("meta[name=sso-expires-around]");t&&t.setAttribute("content",e)}(e.expiresAround),window.focus()),o.ssoComplete=null},await new Promise(e=>{t.addEventListener("dialog:remove",e,{once:!0})}),!n)throw Error("sso prompt canceled")}async function i(){let e=document.querySelector("link[rel=sso-session]"),t=document.querySelector("meta[name=sso-expires-around]");if(!(e instanceof HTMLLinkElement)||!function(e){if(!(e instanceof HTMLMetaElement))return!0;let t=parseInt(e.content);return Date.now()/1e3>t}(t))return!0;let n=e.href,s=await fetch(n,{headers:{Accept:"application/json","X-Requested-With":"XMLHttpRequest"}});return await s.json()}(0,n(21403).lB)(".js-sso-modal-complete",function(e){if(window.opener&&window.opener.external.ssoComplete){let t=e.getAttribute("data-error"),n=e.getAttribute("data-expires-around");window.opener.external.ssoComplete({error:t,expiresAround:n}),window.close()}else{let t=e.getAttribute("data-fallback-url");t&&(window.location.href=t)}});let a=null;function c(){a=null}async function u(){await i()||(a||(a=o().then(c).catch(c)),await a)}},65024:(e,t,n)=>{n.d(t,{r:()=>l});var s=n(97797);async function l(e){let t=document.querySelector("#site-details-dialog").content.cloneNode(!0),n=t.querySelector("details"),l=n.querySelector("details-dialog"),r=n.querySelector(".js-details-dialog-spinner");e.detailsClass&&n.classList.add(...e.detailsClass.split(" ")),e.dialogClass&&l.classList.add(...e.dialogClass.split(" ")),e.label?l.setAttribute("aria-label",e.label):e.labelledBy&&l.setAttribute("aria-labelledby",e.labelledBy),document.body.append(t);try{let t=await e.content;r.remove(),l.prepend(t)}catch{r.remove();let t=document.createElement("span");t.textContent=e.errorMessage||"Couldn't load the content",t.classList.add("my-6"),t.classList.add("mx-4"),l.prepend(t)}return n.addEventListener("toggle",()=>{n.hasAttribute("open")||((0,s.h)(l,"dialog:remove"),n.remove())}),l}},27193:(e,t,n)=>{n.d(t,{Ee:()=>u,b4:()=>d,Ts:()=>c});var s=n(46650);let l=class ResponseError extends Error{constructor(e,t){super(`${e} for HTTP ${t.status}`),this.response=t,this.name="ResponseError"}};var r=n(6440),o=n(2240);let i="server-x-safe-html",a=r.wA.createPolicy(i,{createHTML:(e,t)=>o.b.apply({policy:()=>(!function(e,t,n=!1){let s=t.headers.get("content-type")||"";if(!n&&!s.startsWith("text/html"))throw new l(`expected response with text/html, but was ${s}`,t);if(n&&!(s.startsWith("text/html")||s.startsWith("application/json")))throw new l(`expected response with text/html or application/json, but was ${s}`,t);let r=t.headers.get("x-html-safe");if(r){if(!e.includes(r))throw new l("response X-HTML-Safe nonce did not match",t)}else throw new l("missing X-HTML-Safe nonce",t)}(function(e){let t=[...e.querySelectorAll("meta[name=html-safe-nonce]")].map(e=>e.content);if(t.length<1)throw Error("could not find html-safe-nonce on document");return t}(document),t),e),policyName:i,fallback:e,silenceErrorReporting:!0})});async function c(e,t,n){let l=new Request(t,n);l.headers.append("X-Requested-With","XMLHttpRequest");let r=await self.fetch(l);if(r.status<200||r.status>=300)throw Error(`HTTP ${r.status}${r.statusText||""}`);let o=a.createHTML(await r.text(),r);return(0,s.B)(e,o)}function u(e,t,n=1e3,s=[200],l=[202]){return async function n(r){let o=new Request(e,t);o.headers.append("X-Requested-With","XMLHttpRequest");let i=await self.fetch(o);if(l.includes(i.status))return await new Promise(e=>setTimeout(e,r)),n(1.5*r);if(s.includes(i.status))return i;if(i.status<200||i.status>=300)throw Error(`HTTP ${i.status}${i.statusText||""}`);throw Error(`Unexpected ${i.status} response status from poll endpoint`)}(n)}async function d(e,t,n){let{wait:s=500,acceptedStatusCodes:l=[200],max:r=3,attempt:o=0}=n||{},i=async()=>new Promise((n,i)=>{setTimeout(async()=>{try{let s=new Request(e,t);s.headers.append("X-Requested-With","XMLHttpRequest");let i=await self.fetch(s);if(l.includes(i.status)||o+1===r)return n(i);n("retry")}catch(e){i(e)}},s*o)}),a=await i();return"retry"!==a?a:d(e,t,{wait:s,acceptedStatusCodes:l,max:r,attempt:o+1})}},21232:(e,t,n)=>{n.d(t,{Ff:()=>a,eC:()=>c,uE:()=>i});var s=n(6986);let l=!1,r=new s.A;function o(e){let t=e.target;if(t instanceof HTMLElement&&t.nodeType!==Node.DOCUMENT_NODE)for(let e of r.matches(t))e.data.call(null,t)}function i(e,t){l||(l=!0,document.addEventListener("focus",o,!0)),r.add(e,t),document.activeElement instanceof HTMLElement&&document.activeElement.matches(e)&&t(document.activeElement)}function a(e,t,n){function s(t){let l=t.currentTarget;l&&(l.removeEventListener(e,n),l.removeEventListener("blur",s))}i(t,function(t){t.addEventListener(e,n),t.addEventListener("blur",s)})}function c(e,t){function n(e){let{currentTarget:s}=e;s&&(s.removeEventListener("input",t),s.removeEventListener("blur",n))}i(e,function(e){e.addEventListener("input",t),e.addEventListener("blur",n)})}},27260:(e,t,n)=>{n.d(t,{z:()=>s});let s=Object.freeze({INITIAL:"soft-nav:initial",START:"soft-nav:start",SUCCESS:"soft-nav:success",ERROR:"soft-nav:error",FRAME_UPDATE:"soft-nav:frame-update",END:"soft-nav:end",RENDER:"soft-nav:render",PROGRESS_BAR:{START:"soft-nav:progress-bar:start",END:"soft-nav:progress-bar:end"}})}}]); +//# sourceMappingURL=app_assets_modules_github_behaviors_task-list_ts-app_assets_modules_github_sso_ts-ui_packages-900dde-e78a11db834d.js.map \ No newline at end of file diff --git a/Shargil_VoiceToPlaylist_ 4.5 hours project - Voice Emotion Recognizer that open up a Spotify playlist according to you mood._files/app_assets_modules_github_blob-anchor_ts-ui_packages_code-nav_code-nav_ts-ui_packages_filt.download b/Shargil_VoiceToPlaylist_ 4.5 hours project - Voice Emotion Recognizer that open up a Spotify playlist according to you mood._files/app_assets_modules_github_blob-anchor_ts-ui_packages_code-nav_code-nav_ts-ui_packages_filt.download new file mode 100644 index 0000000000000000000000000000000000000000..b70060033722eb55ed2494d480986a6423a0386c --- /dev/null +++ b/Shargil_VoiceToPlaylist_ 4.5 hours project - Voice Emotion Recognizer that open up a Spotify playlist according to you mood._files/app_assets_modules_github_blob-anchor_ts-ui_packages_code-nav_code-nav_ts-ui_packages_filt.download @@ -0,0 +1,2 @@ +"use strict";(globalThis.webpackChunk=globalThis.webpackChunk||[]).push([["app_assets_modules_github_blob-anchor_ts-ui_packages_code-nav_code-nav_ts-ui_packages_filter--8253c1"],{68953:(e,t,n)=>{function i(e){let t=e.match(/#?(?:L)(\d+)((?:C)(\d+))?/g);if(t){if(1===t.length){let e=a(t[0]);if(!e)return;return Object.freeze({start:e,end:e})}if(2!==t.length)return;{let e=a(t[0]),n=a(t[1]);if(!e||!n)return;return c(Object.freeze({start:e,end:n}))}}}function r(e){let{start:t,end:n}=c(e);return null!=t.column&&null!=n.column?`L${t.line}C${t.column}-L${n.line}C${n.column}`:null!=t.column?`L${t.line}C${t.column}-L${n.line}`:null!=n.column?`L${t.line}-L${n.line}C${n.column}`:t.line===n.line?`L${t.line}`:`L${t.line}-L${n.line}`}function s(e){return{blobRange:i(e),anchorPrefix:function(e){let t=e.length<5e3&&e.match(/(file-.+?-)L\d+?/i);return t?t[1]:""}(e)}}function l({anchorPrefix:e,blobRange:t}){return t?`#${e}${r(t)}`:"#"}function a(e){let t=e.match(/L(\d+)/),n=e.match(/C(\d+)/);return t?Object.freeze({line:parseInt(t[1]),column:n?parseInt(n[1]):null}):null}function o(e,t){let[n,i]=h(e.start,!0,t),[r,s]=h(e.end,!1,t);if(!n||!r)return;let l=i,a=s;if(-1===l&&(l=0),-1===a&&(a=r.childNodes.length),!n.ownerDocument)throw Error("DOMRange needs to be inside document");let o=n.ownerDocument.createRange();return o.setStart(n,l),o.setEnd(r,a),o}function h(e,t,n){let i=[null,0],r=n(e.line);if(!r)return i;if(null==e.column)return[r,-1];let s=e.column-1,l=function e(t){if(t.nodeType===Node.TEXT_NODE)return[t];if(!t.childNodes||!t.childNodes.length)return[];let n=[];for(let i of t.childNodes)n=n.concat(e(i));return n}(r);for(let e=0;es,JB:()=>l,Kn:()=>r,Py:()=>o,eC:()=>i})},50548:(e,t,n)=>{n.d(t,{KY:()=>r.KY,Kv:()=>r.Kv,Op:()=>r.Op,tz:()=>s.tz,v0:()=>i.v0});var i=n(95405),r=n(43500),s=n(79637);n(82046)},43500:(e,t,n)=>{n.d(t,{KY:()=>u,Kv:()=>c,Op:()=>CodeNavigationInfo});var i=n(83056),r=n(28784),s=n(95405),l=n(79637),a=n(82046);let CodeNavigationInfo=class CodeNavigationInfo{initCodeSections(){let e=new Map,t=new Map;for(let n=0;n{let t=this.blobLines[e.ident_utf16.start.line_number]||"",n=(0,a.N_)(e,t,{stylingDirectives:this.stylingDirectives,repo:this.repo,refInfo:this.refInfo,path:this.path});return this.lineIndexedSymbols[n.lineNumber]=n,n})}getBlobLine(e){return this.blobLines[e]||""}getSymbolOnLine(e){return this.lineIndexedSymbols[e]}initSymbolTree(){if(this.symbols){let e=[],t=this.symbols.filter(e=>"field"!==e.kind.fullName).map(t=>{let n=0;for(let r=e.length-1;r>=0;r--){var i;if(i=e[r],t.extent.start.line===i.extent.end.line?t.extent.start.column>i.extent.end.column:t.extent.start.line>i.extent.end.line)e.pop();else{n=e.length;break}}return e.push(t),t.setSymbolDepth(n),{symbol:t,depth:n}});this.symbolTree=[];for(let e=0;en.depth){let i=function e(t,n){let i=[],r=t[n];for(let s=n+1;sr.depth){let r=e(t,s);s+=h(r),i.push({symbol:n.symbol,children:r,isParent:r.length>0})}else break}return i}(t,e);e+=h(i),this.symbolTree.push({symbol:n.symbol,isParent:!0,children:i});continue}this.symbolTree.push({symbol:n.symbol,isParent:!1,children:[]})}}}createReferences(e){return e.map(e=>{let t=new s.BW({ident:e,repo:this.repo,refInfo:this.refInfo,path:this.path,isPlain:this.isPlain,source:s.u.BLOB_CONTENT});return t.setSnippet(void 0,this.stylingDirectives?.[e.start.line],this.blobLines[e.start.line],void 0),t})}getReferencesToSymbol(e){let t=c(this.blobLines,(0,l.ah)(e));return this.createReferences(t)}getReferencesToSearch(e){let t=c(this.blobLines,(0,l.tz)(e));return this.createReferences(t)}getDefinitionsAndReferences(e,t,n){this.setLoading(!0);let i=(async()=>{let i=this.getSymbolOnLine(t+1);if(i&&i.name===e)return{definitions:[i],backend:"search"};let[r,l]=await this.getAlephDefinitions(e,t,n,this.loggedIn);if("search"===l){let t=this.getLocalDefinitions(e);t.length>0&&(r=t);let n=r.find(e=>e.path===this.path&&e.repo===this.repo);n&&(r=[n]),l="search"}else{let t=this.getLocalDefinitions(e,!0);for(let n of r)""===n.kind.fullName&&n.name===e&&(n.kind=t[0]?t[0].kind:new s.v0({kind:""}))}return{definitions:r,backend:l}})(),r=(async()=>{let{definitions:t}=await i,n=t.map(e=>e.lineNumber);return{references:this.getReferencesToSymbol(e).filter(e=>!n.includes(e.lineNumber)),backend:"search"}})(),l=(async()=>{let r="SYMBOL_KIND_UNKNOWN",s=this.getSymbolOnLine(t+1);if(s)r=s.kind.enumStringVal;else{let{definitions:e}=await i;r=e[0]?.kind?.enumStringVal||r}return this.getAlephReferences(e,t,n,this.loggedIn,r)})();return{definitions:i,localReferences:r,crossReferences:(async()=>{let[e,t]=await l;return{references:e,backend:t}})(),setLoading:this.setLoading}}getLocalDefinitions(e,t=!1){let n=9,i=[];for(let r of this.symbols)r.name===e&&(r.kind.ranke).map(t=>(0,a.zs)(t,{stylingDirectives:this.stylingDirectives,repo:this.repo,refInfo:this.refInfo,path:this.path,symbol:e,backend:c})),c]}async getAlephReferences(e,t,n,s,l){let h,c="search";if(""===e&&-1===t&&-1===n||!s)return[[],c];let u=(0,i.lkl)({repo:this.repo,type:"references",q:e,language:this.language,row:t,column:n,ref:this.refInfo.name,path:this.path,codeNavContext:"BLOB_VIEW",symbolKind:l}),d=await (0,r.lS)(u);if(!d.ok)return[[],c];try{h=await d.json()}catch{return[[],c]}c=o(h.backend)??"search";let f=new Set,m=e=>!!f.has(e)||(f.add(e),!1);return[h.payload.flatMap(e=>e).reduce((e,t)=>{if(t.path===this.path)return e;let n=(0,a.QV)(t,{stylingDirectives:this.stylingDirectives,repo:this.repo,refInfo:this.refInfo,path:this.path,backend:c});return m(n.lineNumber)||e.push(n),e},[]).sort((e,t)=>e.lineNumber-t.lineNumber),c]}constructor(e,t,n,i,r,s,l,a,o,h){this.lineIndexedSymbols={},this.setLoading=h,this.setLoading(!0),this.repo=e,this.refInfo=t,this.path=n,this.loggedIn=i,this.language=a,this.blobLines=r,this.stylingDirectives=l,this.isPlain=o,this.symbols=this.initSymbols(s),this.initSymbolTree(),this.initCodeSections(),this.setLoading(!1)}};function o(e){switch(e){case"ALEPH_PRECISE":case"ALEPH_PRECISE_PREVIEW":case"ALEPH_PRECISE_DEVELOPMENT":return"precise";case"BLACKBIRD":return"search";default:return null}}function h(e){let t=e.length;for(let n=0;n=200,r={},s=e.reduce((e,i)=>{if(r[i.ident.start.line])return e;r[i.ident.start.line]=!0;let s=(0,l.lA)(n,[t[i.ident.start.line]]),a=s.next();for(;!a.done&&e.length<200;){let{column:t,columnEnd:n}=a.value;e.push({start:{line:i.ident.start.line,column:t},end:{line:i.ident.start.line,column:n}}),a=s.next()}return e},[]);if(s.length<200&&i){let i=e[e.length-1].ident.start.line,r=(0,l.lA)(n,t,i),a=r.next();for(;!a.done&&s.length<200;){let{line:e,column:t,columnEnd:n}=a.value;s.push({start:{line:e,column:t},end:{line:e,column:n}}),a=r.next()}}return s}},95405:(e,t,n)=>{n.d(t,{AP:()=>CodeSymbol,BW:()=>CodeReference,u:()=>i,v0:()=>SymbolKind});var i,r=n(83056);!function(e){e.BLACKBIRD_SEARCH="blackbird-search",e.BLACKBIRD_ANALYSIS="blackbird-analysis",e.ALEPH_PRECISE="aleph-precise",e.BLOB_CONTENT="blob-content-search"}(i||(i={}));let SymbolKind=class SymbolKind{constructor({kind:e}){let[t,n]=function(e){if("string"==typeof e){let t=e.toString().replace("SYMBOL_KIND_","").replace(/_DEF$/,"").replace(/_REF$/,"").toLowerCase();if(e.startsWith("SYMBOL_KIND_"))return[t,e.toString()];if(""!==e&&"unknown"!==e){let t=`SYMBOL_KIND_${e.toUpperCase()}`;return"call"===e?t+="_REF":t+="_DEF",[e,t]}}return["unknown","SYMBOL_KIND_UNKNOWN"]}(e);this.enumStringVal=n,this.fullName=t,this.shortName=function(e){switch(e){case"function":case"method":return"func";case"interface":return"intf";case"implementation":return"impl";case"constant":return"const";case"module":return"mod";case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":case"class":case"call":case"enum":case"field":case"macro":case"struct":case"trait":case"type":case"union":return e;default:return e.substring(0,1)}}(t),this.plColor=function(e){switch(e){case"function":case"method":default:return"prettylights.syntax.entity";case"class":case"enum":case"struct":case"union":return"prettylights.syntax.constant";case"interface":case"trait":return"prettylights.syntax.keyword";case"constant":case"field":case"enum member":return"prettylights.syntax.variable";case"implementation":return"prettylights.syntax.string"}}(t),this.rank=({class:1,struct:1,enum:1,type:2,interface:3,trait:3,module:4,implementation:5,function:6,method:7,call:8,field:9})[t]||9}};let CodeSymbol=class CodeSymbol{setSymbolDepth(e){this.depth=e}setFileInfo(e,t,n){this.repo=e,this.refInfo=t,this.path=n}get lineNumber(){return this.ident.start.line+1}setSnippet(e,t,n,i){this.highlightedText=e,this.stylingDirectives=t,this.bodyText=n,this.leadingWhitespace=i}href(){if(!this.repo||!this.refInfo||!this.path)return`/${window.location.pathname}#L${this.lineNumber}`;let e="blackbird-search"===this.source?this.repo.defaultBranch:this.refInfo.name||this.refInfo.currentOid;return(0,r.nD_)({owner:this.repo.ownerLogin,repo:this.repo.name,commitish:e,filePath:this.path,lineNumber:this.lineNumber})}pathKey(){return`${this.repo.ownerLogin}/${this.repo.name}/${this.refInfo.currentOid}/${this.path}`}constructor({ident:e,extent:t,kind:n,name:i,fullyQualifiedName:r,source:s}){this.ident=e,this.extent=t,this.kind=new SymbolKind({kind:n}),this.name=i,this.fullyQualifiedName=r,this.source=s}};let CodeReference=class CodeReference{get lineNumber(){return this.ident.start.line+1}href(e){if(!this.repo||!this.refInfo||!this.path)return`/${window.location.pathname}#L${this.lineNumber}`;let t="blackbird-search"===this.source?this.repo.defaultBranch:this.refInfo.name||this.refInfo.currentOid,n={owner:this.repo.ownerLogin,repo:this.repo.name,commitish:t,filePath:this.path,lineNumber:this.lineNumber,plain:this.isPlain?1:void 0};return e?(0,r.buO)(n):(0,r.nD_)(n)}setSnippet(e,t,n,i){this.highlightedText=e,this.stylingDirectives=t,this.bodyText=n,this.leadingWhitespace=i}pathKey(){return`${this.repo.ownerLogin}/${this.repo.name}/${this.refInfo.currentOid}/${this.path}`}constructor({ident:e,repo:t,refInfo:n,path:i,isPlain:r,source:s}){this.ident=e,this.repo=t,this.refInfo=n,this.path=i,this.isPlain=r??!1,this.source=s}}},79637:(e,t,n)=>{var i;function r(e){return{kind:1,regexp:RegExp(`(\\W|^)${e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}(\\W|$)`,"g")}}function s(e){return{kind:0,regexp:RegExp(e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"gi")}}function*l(e,t,n=0){for(let i=n;i0&&/\W/.test(t[0])&&(t=t.substring(1),s+=n[0].length-t.length),t.length>0&&/\W/.test(t[t.length-1])&&(t=t.substring(0,t.length-1))),yield{line:i,column:s,columnEnd:s+t.length,text:r}}}}n.d(t,{ah:()=>r,lA:()=>l,tz:()=>s}),function(e){e[e.Text=0]="Text",e[e.Symbol=1]="Symbol"}(i||(i={}))},82046:(e,t,n)=>{n.d(t,{N_:()=>r,QV:()=>l,zs:()=>s});var i=n(95405);function r(e,t,{stylingDirectives:n,repo:r,refInfo:s,path:l}){let{extent_utf16:a,ident_utf16:o}=e,h=new i.AP({kind:e.kind,fullyQualifiedName:e.fully_qualified_name,name:e.name,extent:{start:{line:a.start.line_number,column:a.start.utf16_col},end:{line:a.end.line_number,column:a.end.utf16_col}},ident:{start:{line:o.start.line_number,column:o.start.utf16_col},end:{line:o.end.line_number,column:o.end.utf16_col}},source:i.u.BLACKBIRD_ANALYSIS});return h.setSnippet(void 0,n?.[o.start.line_number],t,void 0),h.setFileInfo(r,s,l),h}function s(e,{symbol:t,refInfo:n,repo:r,path:s,backend:l}){let a=e.ident?.start?.character,o=e.ident?.end?.character??e.ident?.start?.character,h={start:{line:e.ident.start.line,column:a?a-e.leadingWhitespace:0},end:{line:e.ident?.end?.line??e.ident.start.line,column:o?o-e.leadingWhitespace:0}},c=e.extent?.start?.character,u=e.extent?.end?.character??e.extent?.start?.character,d={start:{line:e.extent.start.line,column:c||0},end:{line:e.extent.end?.line??e.extent.start.line,column:u||0}},f=new i.AP({ident:h,extent:d,kind:e.symbolKind,name:t,fullyQualifiedName:t,source:"search"===l?i.u.BLACKBIRD_SEARCH:i.u.ALEPH_PRECISE});if(e.local)f.setFileInfo(r,n,s);else if(e.commitOid&&e.path){let t=n;e.commitOid!==n.currentOid&&(t={name:"",listCacheKey:e.commitOid,currentOid:e.commitOid,canEdit:!1}),f.setFileInfo(e.repo??r,t,e.path)}let m=Array(e.leadingWhitespace).fill(" ").join("")+(e.firstLine||"");return f.setSnippet(e.highlightedText,void 0,m,e.leadingWhitespace),f}function l(e,{refInfo:t,path:n,repo:r,backend:s}){let l=t,a=n;!e.local&&e.commitOid&&e.path&&(l=t,a=e.path,e.commitOid!==t.currentOid&&(l={name:"",listCacheKey:e.commitOid,currentOid:e.commitOid,canEdit:!1}));let o=e.ident.start.character,h=e.ident.end?.character,c=new i.BW({repo:r,refInfo:l,path:a,ident:{start:{line:e.ident.start.line,column:o?o-e.leadingWhitespace:0},end:{line:e.ident.end?.line||e.ident.start.line,column:h?h-e.leadingWhitespace:0}},source:"search"===s?i.u.BLACKBIRD_SEARCH:i.u.ALEPH_PRECISE}),u=Array(e.leadingWhitespace).fill(" ").join("")+(e.firstLine||"");return c.setSnippet(e.highlightedText,void 0,u,e.leadingWhitespace),c}},62794:(e,t,n)=>{n.d(t,{d:()=>i});function i(e,t,n){return[...function*(e,t){for(let n of e){let e=t(n);null!=e&&(yield e)}}(e,e=>{let n=t(e);return null!=n?[e,n]:null})].sort((e,t)=>n(e[1],t[1])).map(([e])=>e)}},52976:(e,t,n)=>{function i(e,t,n=.1){let i=l(e,t,n);return i&&-1===t.indexOf("/")&&(i+=l(e.substring(e.lastIndexOf("/")+1),t,n)),i}function r(e,t,n){if(t){let i=e.innerHTML.trim().match(n||function(e){let t=e.toLowerCase().split(""),n="",i=!0;for(let e of t){let t=e.replace(/[\\^$*+?.()|[\]{}]/g,"\\$&");i?(n+=`(.*)(${t})`,i=!1):n+=`([^${t}]*?)(${t})`}return RegExp(`${n}(.*?)$`,"i")}(t));if(!i)return;let r=!1,s=[];for(let e=1;e"),r=!0):r&&(s.push(""),r=!1),s.push(t))}e.innerHTML=s.join("")}else{let t=e.innerHTML.trim(),n=t.replace(/<\/?mark>/g,"");t!==n&&(e.innerHTML=n)}}n.d(t,{He:()=>r,UD:()=>a,dt:()=>i});let s=new Set([" ","-","_"]);function l(e,t,n=.1){let i=e;if(i===t)return 1;let r=i.length,l=0,a=0,o=!0;for(let e of t){let t=i.indexOf(e.toLowerCase()),h=i.indexOf(e.toUpperCase()),c=Math.min(t,h),u=c>-1?c:Math.max(t,h);if(-1===u)return 0;l+=.1,i[u]===e&&(l+=.1),0===u&&(l+=.9-n,o&&(a=1)),s.has(i.charAt(u-1))&&(l+=.9-n),i=i.substring(u+1,r),o=!1}let h=t.length,c=l/h,u=(h/r*c+c)/2;return a&&u+n<1&&(u+=n),u}function a(e,t){return e.score>t.score?-1:e.scoret.text?1:0}}}]); +//# sourceMappingURL=app_assets_modules_github_blob-anchor_ts-ui_packages_code-nav_code-nav_ts-ui_packages_filter--8253c1-271f35df8a35.js.map \ No newline at end of file diff --git a/Shargil_VoiceToPlaylist_ 4.5 hours project - Voice Emotion Recognizer that open up a Spotify playlist according to you mood._files/app_assets_modules_github_ref-selector_ts-043af64042a1.js.download b/Shargil_VoiceToPlaylist_ 4.5 hours project - Voice Emotion Recognizer that open up a Spotify playlist according to you mood._files/app_assets_modules_github_ref-selector_ts-043af64042a1.js.download new file mode 100644 index 0000000000000000000000000000000000000000..a802fc47fb27b92e5a19248108d7ba8a11943341 --- /dev/null +++ b/Shargil_VoiceToPlaylist_ 4.5 hours project - Voice Emotion Recognizer that open up a Spotify playlist according to you mood._files/app_assets_modules_github_ref-selector_ts-043af64042a1.js.download @@ -0,0 +1,2 @@ +"use strict";(globalThis.webpackChunk=globalThis.webpackChunk||[]).push([["app_assets_modules_github_ref-selector_ts"],{95737:(e,t,i)=>{var s=i(50736),r=i(79049),n=i(39595),h=i(80590);function a(e,t,i,s){var r,n=arguments.length,h=n<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)h=Reflect.decorate(e,t,i,s);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(h=(n<3?r(h):n>3?r(t,i,h):r(t,i))||h);return n>3&&h&&Object.defineProperty(t,i,h),h}let o=class RefSelectorElement extends HTMLElement{connectedCallback(){console.warn("The `ref-selector` element is deprecated. Please use `@github-ui/ref-selector-partial` instead."),window.addEventListener("resize",this.windowResized),this.refType="branch"===this.getRequiredAttr("type")?s._.Branch:s._.Tag;let e=this.getAttribute("current-committish");this.currentCommittish=e?atob(e):null,this.input=this.hasAttribute("initial-filter")&&this.currentCommittish||"",this.defaultBranch=atob(this.getRequiredAttr("default-branch")),this.nameWithOwner=atob(this.getRequiredAttr("name-with-owner")),this.canCreate=this.hasAttribute("can-create"),this.prefetchOnMouseover=this.hasAttribute("prefetch-on-mouseover");let t=this.getRequiredAttr("query-endpoint"),i=this.getRequiredAttr("cache-key");this.index=new s.d(this.refType,this,t,i,this.nameWithOwner),this.updateViewportSize(),this.setupFetchListeners()}disconnectedCallback(){this.resizeAnimationRequest&&cancelAnimationFrame(this.resizeAnimationRequest),window.removeEventListener("resize",this.windowResized)}updateViewportSize(){this.isMobileViewport=window.innerWidth<544,this.windowHeight=window.innerHeight}inputEntered(e){this.input=e.detail,this.render()}tabSelected(){this.index.fetchData()}renderTemplate(e,t){return new r.i4(e,t,r.xr)}renderRow(e){let t=this.index.currentSearchResult[e];if(!t&&e>=this.listLength)return document.createElement("span");if(this.index.fetchFailed)return this.renderTemplate(this.fetchFailedTemplate,{index:e,refName:this.input});if(!t){let t=this.input===this.currentCommittish;return this.isCurrentVisible||(this.isCurrentVisible=t),this.renderTemplate(this.noMatchTemplate,{index:e,isCurrent:t,refName:this.input})}let i=this.input.length>0,s=t===this.currentCommittish;this.isCurrentVisible||(this.isCurrentVisible=s);let r=this.renderTemplate(this.itemTemplate,{refName:t,index:e,isFilteringClass:i?"is-filtering":"",urlEncodedRefName:this.urlEncodeRef(t),isCurrent:s,isNotDefault:t!==this.defaultBranch});if(i){let e=r.querySelector("span");e.textContent="";let i=t.split(this.input),s=i.length-1;for(let t=0;t{t||(this.index.fetchData(),t=!0)};if(!e||e.open){i();return}e.addEventListener("toggle",i,{once:!0}),this.prefetchOnMouseover&&e.addEventListener("mouseover",i,{once:!0}),this.addEventListener("keydown",this.keydown),this.addEventListener("change",this.updateCurrent);let s=e.querySelector("input[data-ref-filter]");s&&(s.addEventListener("input",()=>{this.input=s.value,this.render()}),s.addEventListener("keydown",t=>{if("ArrowDown"!==t.key&&("Tab"!==t.key||t.shiftKey)){if("Enter"===t.key){let i=this.index.currentSearchResult.indexOf(this.input);if(-1===i){if(!this.showCreateRow)return;i=this.listLength-1}e.querySelector(`[data-index="${i}"]`).click(),t.preventDefault()}}else t.preventDefault(),t.stopPropagation(),this.focusFirstListMember()}))}focusFirstListMember(){this.virtualizedList&&(this.currentSelectionIndex=0,this.focusItemAtIndex(this.currentSelectionIndex))}updateCurrent(e){e.target instanceof HTMLInputElement&&e.target.checked&&e.target.value&&(this.currentCommittish=e.target.value)}keydown(e){if(null!==this.currentSelectionIndex){if("Enter"===e.key){let t=document.activeElement;if(!t)return;t.click(),e.preventDefault();return}if("Tab"!==e.key&&"Escape"!==e.key)switch(e.preventDefault(),e.stopPropagation(),e.key){case"ArrowUp":this.currentSelectionIndex--,this.currentSelectionIndex<0&&(this.currentSelectionIndex=this.listLength-1),this.focusItemAtIndex(this.currentSelectionIndex);break;case"Home":this.currentSelectionIndex=0,this.focusItemAtIndex(this.currentSelectionIndex);break;case"End":this.currentSelectionIndex=this.listLength-1,this.focusItemAtIndex(this.currentSelectionIndex);break;case"ArrowDown":this.currentSelectionIndex++,this.currentSelectionIndex>this.listLength-1&&(this.currentSelectionIndex=0),this.focusItemAtIndex(this.currentSelectionIndex)}}}focusItemAtIndex(e){this.virtualizedList.scrollToIndex(e,"center"),setTimeout(()=>{let t=this.listContainer.querySelector(`[data-index="${e}"]`);t&&t.focus()},20)}setupVirtualizedList(){this.listContainer.textContent="",this.listContainer.style.maxHeight=`${this.listHeight}px`,this.virtualizedList=new h.A(this.listContainer,{height:this.listHeight,rowCount:this.listLength,renderRow:this.renderRow.bind(this),rowHeight:e=>{let t=this.isMobileViewport?54:33;return this.showCreateRow&&e===this.listLength-1?51:t},onRowsRendered:()=>{this.hiddenCurrentElement&&(this.listContainer.removeChild(this.hiddenCurrentElement),delete this.hiddenCurrentElement),this.isCurrentVisible?this.isCurrentVisible=!1:this.hiddenCurrentItemTemplate&&(this.hiddenCurrentElement=document.createElement("div"),this.hiddenCurrentElement?.appendChild(this.renderTemplate(this.hiddenCurrentItemTemplate,{refName:this.currentCommittish})),this.listContainer.appendChild(this.hiddenCurrentElement))},initialIndex:0,overscanCount:6}),this.virtualizedList.resize.bind(this.virtualizedList)}constructor(...e){super(...e),this.isCurrentVisible=!1,this.currentSelectionIndex=null,this.handleWindowResize=()=>{if(!this.virtualizedList)return;let e=this.isMobileViewport,t=this.windowHeight;this.updateViewportSize();let i=e!==this.isMobileViewport,s=t!==this.windowHeight;if(i){this.virtualizedList.destroy(),this.setupVirtualizedList();return}this.isMobileViewport&&s&&(this.listContainer.style.maxHeight=`${this.listHeight}px`,this.virtualizedList.resize(this.listHeight))},this.windowResized=()=>{this.resizeAnimationRequest&&cancelAnimationFrame(this.resizeAnimationRequest),this.resizeAnimationRequest=requestAnimationFrame(this.handleWindowResize)}}};a([n.aC],o.prototype,"listContainer",void 0),a([n.aC],o.prototype,"itemTemplate",void 0),a([n.aC],o.prototype,"noMatchTemplate",void 0),a([n.aC],o.prototype,"fetchFailedTemplate",void 0),a([n.aC],o.prototype,"hiddenCurrentItemTemplate",void 0),o=a([n.p_],o)},50736:(e,t,i)=>{i.d(t,{_:()=>s,d:()=>SearchIndex});var s,r=i(74572),n=i(51528);let{getItem:h,setItem:a,removeItem:o}=(0,r.A)("localStorage",{throwQuotaErrorsOnSet:!0});!function(e){e.Branch="branch",e.Tag="tag"}(s||(s={}));let SearchIndex=class SearchIndex{render(){this.selector.render()}async fetchData(){try{if(!this.isLoading||this.fetchInProgress)return;if(!this.bootstrapFromLocalStorage()){this.fetchInProgress=!0,this.fetchFailed=!1;let e=await fetch(`${this.refEndpoint}?type=${this.refType}`,{headers:{Accept:"application/json"}});await this.processResponse(e)}this.isLoading=!1,this.fetchInProgress=!1,this.render()}catch{this.fetchInProgress=!1,this.fetchFailed=!0}}async processResponse(e){if(this.emitStats(e),!e.ok){this.fetchFailed=!0;return}let t=e.clone(),i=await e.json();this.knownItems=i.refs,this.cacheKey=i.cacheKey,this.flushToLocalStorage(await t.text())}emitStats(e){if(!e.ok){(0,n.i)({incrementKey:"REF_SELECTOR_BOOT_FAILED"},!0);return}switch(e.status){case 200:(0,n.i)({incrementKey:"REF_SELECTOR_BOOTED_FROM_UNCACHED_HTTP"});break;case 304:(0,n.i)({incrementKey:"REF_SELECTOR_BOOTED_FROM_HTTP_CACHE"});break;default:(0,n.i)({incrementKey:"REF_SELECTOR_UNEXPECTED_RESPONSE"})}}search(e){let t;if(this.searchTerm=e,""===e){this.currentSearchResult=this.knownItems;return}let i=[],s=[];for(let r of(this.exactMatchFound=!1,this.knownItems))if(!((t=r.indexOf(e))<0)){if(0===t){e===r?(s.unshift(r),this.exactMatchFound=!0):s.push(r);continue}i.push(r)}this.currentSearchResult=[...s,...i]}bootstrapFromLocalStorage(){let e=h(this.localStorageKey);if(!e)return!1;let t=JSON.parse(e);return t.cacheKey===this.cacheKey&&"refs"in t?(this.knownItems=t.refs,this.isLoading=!1,(0,n.i)({incrementKey:"REF_SELECTOR_BOOTED_FROM_LOCALSTORAGE"}),!0):(o(this.localStorageKey),!1)}async flushToLocalStorage(e){try{a(this.localStorageKey,e)}catch(t){if(t.message.toLowerCase().includes("quota")){this.clearSiblingLocalStorage(),(0,n.i)({incrementKey:"REF_SELECTOR_LOCALSTORAGE_OVERFLOWED"});try{a(this.localStorageKey,e)}catch(e){e.message.toLowerCase().includes("quota")&&(0,n.i)({incrementKey:"REF_SELECTOR_LOCALSTORAGE_GAVE_UP"})}}else throw t}}clearSiblingLocalStorage(){for(let e of Object.keys(localStorage))e.startsWith(SearchIndex.LocalStoragePrefix)&&o(e)}clearLocalStorage(){o(this.localStorageKey)}get localStorageKey(){return`${SearchIndex.LocalStoragePrefix}:${this.nameWithOwner}:${this.refType}`}constructor(e,t,i,s,r){this.knownItems=[],this.currentSearchResult=[],this.exactMatchFound=!1,this.searchTerm="",this.isLoading=!0,this.fetchInProgress=!1,this.fetchFailed=!1,this.refType=e,this.selector=t,this.refEndpoint=i,this.cacheKey=s,this.nameWithOwner=r}};SearchIndex.LocalStoragePrefix="ref-selector"}}]); +//# sourceMappingURL=app_assets_modules_github_ref-selector_ts-f481af6ac269.js.map \ No newline at end of file diff --git a/Shargil_VoiceToPlaylist_ 4.5 hours project - Voice Emotion Recognizer that open up a Spotify playlist according to you mood._files/app_assets_modules_github_sticky-scroll-into-view_ts-7cbef09a422c.js.download b/Shargil_VoiceToPlaylist_ 4.5 hours project - Voice Emotion Recognizer that open up a Spotify playlist according to you mood._files/app_assets_modules_github_sticky-scroll-into-view_ts-7cbef09a422c.js.download new file mode 100644 index 0000000000000000000000000000000000000000..904fde1635a1b384e2dd4e07f5b5ac31c8ed2a26 --- /dev/null +++ b/Shargil_VoiceToPlaylist_ 4.5 hours project - Voice Emotion Recognizer that open up a Spotify playlist according to you mood._files/app_assets_modules_github_sticky-scroll-into-view_ts-7cbef09a422c.js.download @@ -0,0 +1,2 @@ +"use strict";(globalThis.webpackChunk=globalThis.webpackChunk||[]).push([["app_assets_modules_github_sticky-scroll-into-view_ts"],{40622:(t,e,n)=>{n.d(e,{Sz:()=>f,Z:()=>d,kn:()=>u});var i=n(23149),o=n(97797);let l="ontransitionend"in window;function s(t){return"height"===getComputedStyle(t).transitionProperty}function r(t,e){t.style.transition="none",e(),t.offsetHeight,t.style.transition=""}var a=n(95493);function c(t,e){if(t.classList.toggle("open",e),t.classList.toggle("Details--on",e),e){let e=t.querySelector(".js-details-initial-focus");e&&setTimeout(()=>{e.focus()},0)}for(let n of[...t.querySelectorAll(".js-details-target")].filter(e=>e.closest(".js-details-container")===t))n.setAttribute("aria-expanded",e.toString()),n.hasAttribute("data-aria-label-open")&&n.hasAttribute("data-aria-label-closed")&&n.setAttribute("aria-label",e?n.getAttribute("data-aria-label-open"):n.getAttribute("data-aria-label-closed"))}function u(t,e){let n=t.getAttribute("data-details-container")||".js-details-container",i=t.closest(n),o=e?.force??!i.classList.contains("open"),u=e?.withGroup??!1;!function(t,e){if(!l){e();return}let n=Array.from(t.querySelectorAll(".js-transitionable"));for(let e of(t.classList.contains("js-transitionable")&&n.push(t),n)){let t=s(e);e instanceof HTMLElement&&(e.addEventListener("transitionend",()=>{e.style.display="",e.style.visibility="",t&&r(e,function(){e.style.height=""})},{once:!0}),e.style.boxSizing="content-box",e.style.display="block",e.style.visibility="visible",t&&r(e,function(){e.style.height=getComputedStyle(e).height}),e.offsetHeight)}for(let t of(e(),n))if(t instanceof HTMLElement&&s(t)){let e=getComputedStyle(t).height;t.style.boxSizing="","0px"===e?t.style.height=`${t.scrollHeight}px`:t.style.height="0px"}}(i,()=>{c(i,o);let e=u?function(t,e){let n=t.getAttribute("data-details-container-group");return n?((0,a._H)(t,()=>{for(let i of[...document.querySelectorAll(".js-details-container")].filter(t=>t.getAttribute("data-details-container-group")===n))i!==t&&c(i,e)}),n):null}(i,o):null;Promise.resolve().then(()=>{!function(t,e){e.find(e=>{let n=Array.from(t.querySelectorAll(e)).findLast(t=>"none"!==window.getComputedStyle(t).display);if(n&&document.activeElement!==n)return n.focus(),!0})}(i,[".js-focus-on-dismiss","input[autofocus], textarea[autofocus]"]),t.classList.contains("tooltipped")&&(t.classList.remove("tooltipped"),t.addEventListener("mouseleave",()=>{t.classList.add("tooltipped"),t.blur()},{once:!0})),i.dispatchEvent(new CustomEvent("details:toggled",{bubbles:!0,cancelable:!1,detail:{open:o}})),e&&i.dispatchEvent(new CustomEvent("details:toggled-group",{bubbles:!0,cancelable:!1,detail:{open:o,group:e}}))})})}function d(t){let e=t.getAttribute("data-details-container")||".js-details-container",n=t.closest(e).classList;return n.contains("Details--on")||n.contains("open")}function f(t){let e=!1,n=t.parentElement;for(;n;)n.classList.contains("Details-content--shown")&&(e=!0),n.classList.contains("js-details-container")&&(n.classList.toggle("open",!e),n.classList.toggle("Details--on",!e),e=!1),n=n.parentElement}(0,o.on)("click",".js-details-target",function(t){let e=t.altKey;u(t.currentTarget,{withGroup:e}),t.preventDefault()}),(0,i.A)(function({target:t}){t&&f(t)})},23149:(t,e,n)=>{n.d(e,{A:()=>r});var i=n(5728),o=n(27260);let l=[],s=0;function r(t){!async function(){l.push(t),await i.G,function(){let t=s;s=l.length,a(l.slice(t),null,window.location.href)}()}()}function a(t,e,n){let i=window.location.hash.slice(1),o={oldURL:e,newURL:n,target:i?document.getElementById(i):null};for(let e of t)e.call(null,o)}r.clear=()=>{l.length=s=0};let c=window.location.href;window.addEventListener("popstate",function(){c=window.location.href}),window.addEventListener("hashchange",function(t){let e=window.location.href;try{a(l,t.oldURL||c,e)}finally{c=e}});let u=null;document.addEventListener(o.z.START,function(){u=window.location.href}),document.addEventListener(o.z.SUCCESS,function(){a(l,u,window.location.href)})},99833:(t,e,n)=>{n.d(e,{L:()=>l});var i=n(21403),o=n(40622);function l(){let t=document.querySelector("[data-skipped-to-content]");return!!t&&(t.removeAttribute("data-skipped-to-content"),!0)}(0,i.lB)(".js-skip-to-content",t=>{t.addEventListener("focus",t=>{let e=t.currentTarget;if("true"===e.getAttribute("data-skip-target-assigned"))return;let n=document.querySelector("main");if(n||(n=document.querySelector("#skip-to-content")?.nextElementSibling),!n)return;let i=n.getAttribute("id");i||(i="main-content",n.setAttribute("id",i)),e.setAttribute("href",`#${i}`),e.setAttribute("data-skip-target-assigned","true")}),t.addEventListener("click",t=>{let e=t.currentTarget.getAttribute("href");if(!e)return;let n=document.querySelector(e);n&&(n.setAttribute("tabindex","-1"),n.setAttribute("data-skipped-to-content","1"),n.focus())})});let s="ontouchstart"in document,r=document.querySelectorAll(".js-header-menu-item");for(let t of r)t.addEventListener("details:toggled",t=>{let e=t.target;if(t instanceof CustomEvent&&t.detail.open)for(let t of r)t!==e&&(0,o.kn)(t,{force:!1})}),s||t.addEventListener("mouseleave",t=>{let e=t.target;e.classList.contains("open")&&(0,o.kn)(e,{force:!1})});document.addEventListener("context-region-label:update",t=>{if(t instanceof CustomEvent&&t.detail.label)for(let e of document.querySelectorAll(".js-context-region-label"))e.textContent=t.detail.label}),document.addEventListener("turbo:before-cache",t=>{for(let e of t.target.querySelectorAll("dialog[open], modal-dialog[open]"))e.close()}),(0,i.lB)("qbsearch-input",()=>{document.addEventListener("qbsearch-input:expand",()=>{document.body.setAttribute("blackbird-search-active","true")}),document.addEventListener("qbsearch-input:close",()=>{document.body.setAttribute("blackbird-search-active","false"),document.body.style.overflow=""})})},73657:(t,e,n)=>{n.d(e,{K:()=>p});var i=n(99833),o=n(5728),l=n(21403);let s=0,r=new Set;function a(t){for(let e of(s=t,t?document.body.style.setProperty("--base-sticky-header-height",`${t}px`):document.body.style.removeProperty("--base-sticky-header-height"),r))e(t)}let c=!1,u=!1,d=[];function f(){d.length?c||(window.addEventListener("resize",g),document.addEventListener("scroll",g),c=!0):(window.removeEventListener("resize",g),document.removeEventListener("scroll",g),c=!1)}function p(){y(!0)}function g(){y()}function y(t=!1){for(let e of d)if(e.element.offsetHeight>0){let{element:n,placeholder:i,top:o}=e,l=n.getBoundingClientRect();if(i){let s=i.getBoundingClientRect();n.classList.contains("is-stuck")?s.top>k(n,o)?h(e):b(e):l.top<=k(n,o)?m(e):t&&b(e)}else l.top-k(n,o)<.1?m(e):h(e)}}function m({element:t,placeholder:e,top:n}){if(e){let i=t.getBoundingClientRect();S(t,k(t,n)),t.style.left=`${i.left}px`,t.style.width=`${i.width}px`,t.style.marginTop="0",t.style.position="fixed",e.style.display="block"}t.classList.add("is-stuck")}function h({element:t,placeholder:e}){e&&(t.style.position="static",t.style.marginTop=e.style.marginTop,e.style.display="none"),t.classList.remove("is-stuck")}function b({element:t,placeholder:e,offsetParent:n,top:o}){if(e&&!(0,i.L)()){let i=t.getBoundingClientRect(),l=e.getBoundingClientRect();if(S(t,k(t,o)),t.style.left=`${l.left}px`,0!==l.width&&(t.style.width=`${l.width}px`),n){let e=n.getBoundingClientRect();e.bottom{t.isConnected&&(function(t){let e=function(t){if(function(t){let{position:e}=window.getComputedStyle(t);return/sticky/.test(e)}(t))return null;let e=t.previousElementSibling;if(e&&e.classList.contains("is-placeholder"))return e;let n=document.createElement("div");return n.style.visibility="hidden",n.style.display="none",n.style.height=window.getComputedStyle(t).height,n.className=t.className,n.classList.remove("js-sticky"),n.classList.add("is-placeholder"),t.parentNode.insertBefore(n,t)}(t),n=window.getComputedStyle(t).position;t.style.position="static";let i=t.offsetParent;t.style.position="fixed";let o=E(t),l={element:t,placeholder:e,offsetParent:i,top:"auto"===o?0:parseInt(o||"0")};t.style.position=n,d.push(l)}(t),y(),f())}),u||(window.dispatchEvent(new CustomEvent("sticky-header-rendered")),u=!0)}async function v(t){if(null===t.offsetParent)return;await o.K;let e=Math.floor(t.getBoundingClientRect().height);e>0&&(a(e),L(),p())}function L(){for(let t of document.querySelectorAll(".js-position-sticky, .js-notification-shelf-offset-top"))A(t)}function A(t){if(t.classList.contains("js-notification-top-shelf"))return;let e=parseInt(E(t))||0;S(t,e+s)}function E(t){let e=t.getAttribute("data-original-top");if(null!=e)return e;let n=window.getComputedStyle(t).top;return t.setAttribute("data-original-top",n),n}function k(t,e){return t.classList.contains("js-notification-top-shelf")?e:e+s}function S(t,e){t.style.setProperty("top",`${e}px`,"important")}(0,l.lB)(".js-sticky",{constructor:HTMLElement,add(t){w(t)},remove(t){(function(t){let e=d.map(t=>t.element).indexOf(t);d.splice(e,1)})(t),f()}}),(0,l.lB)(".js-notification-top-shelf",{constructor:HTMLElement,add(t){v(t)},remove(){s>0&&(a(0),L(),p())}}),(0,l.lB)(".js-notification-shelf-offset-top, .js-position-sticky",{constructor:HTMLElement,add:A})},86356:(t,e,n)=>{function i(t,e=location.hash){return o(t,l(e))}function o(t,e){return""===e?null:t.getElementById(e)||t.getElementsByName(e)[0]}function l(t){try{return decodeURIComponent(t.slice(1))}catch{return""}}n.d(e,{gX:()=>l,rG:()=>i,w$:()=>o})},31056:(t,e,n)=>{n.d(e,{GO:()=>s,Oc:()=>r,Rt:()=>l});var i=n(86356),o=n(73657);function l(t){if(t.hasAttribute("data-ignore-sticky-scroll"))return;let e=t.ownerDocument;setTimeout(()=>{e&&e.defaultView&&(t.scrollIntoView(),e.defaultView.scrollBy(0,-r(e)))},0)}function s(t){let e=(0,i.rG)(t);e&&l(e)}function r(t){(0,o.K)();let e=t.querySelectorAll(".js-sticky-offset-scroll"),n=t.querySelectorAll(".js-position-sticky");return Math.max(0,...Array.from(e).map(t=>{let{top:e,height:n}=t.getBoundingClientRect();return 0===e?n:0}))+Math.max(0,...Array.from(n).map(t=>{let{top:e,height:n}=t.getBoundingClientRect(),i=parseInt(getComputedStyle(t).top);if(!t.parentElement)return 0;let o=t.parentElement.getBoundingClientRect().top;return e===i&&o<0?n:0}))+Array.from(t.querySelectorAll(".js-position-sticky-stacked")).reduce((t,e)=>{let{height:n,top:i}=e.getBoundingClientRect(),o=e.classList.contains("is-stuck");return t+(!(i<0)&&o?n:0)},0)}}}]); +//# sourceMappingURL=app_assets_modules_github_sticky-scroll-into-view_ts-cb6116c2eddb.js.map \ No newline at end of file diff --git a/Shargil_VoiceToPlaylist_ 4.5 hours project - Voice Emotion Recognizer that open up a Spotify playlist according to you mood._files/behaviors-009c7396246a.js.download b/Shargil_VoiceToPlaylist_ 4.5 hours project - Voice Emotion Recognizer that open up a Spotify playlist according to you mood._files/behaviors-009c7396246a.js.download new file mode 100644 index 0000000000000000000000000000000000000000..7146aa5f49a0824f71f5fad9e161d2920edba102 --- /dev/null +++ b/Shargil_VoiceToPlaylist_ 4.5 hours project - Voice Emotion Recognizer that open up a Spotify playlist according to you mood._files/behaviors-009c7396246a.js.download @@ -0,0 +1,35 @@ +(globalThis.webpackChunk=globalThis.webpackChunk||[]).push([["behaviors"],{53254:(e,t,n)=>{"use strict";let r,i,a,o,s,l,c,u,d,m,f,h;var p,g,b=n(57765),y=n(97797);(0,y.on)("deprecatedAjaxSend","[data-remote]",function(e){e.currentTarget!==e.target||e.defaultPrevented||e.currentTarget.classList.add("loading")}),(0,y.on)("deprecatedAjaxComplete","[data-remote]",function(e){e.currentTarget===e.target&&e.currentTarget.classList.remove("loading")});var v=n(13937);(0,v.JW)("form.js-ajax-pagination, .js-ajax-pagination form",async function(e,t){let n;let r=e.closest(".js-ajax-pagination");try{n=await t.html()}catch(e){if(e.response&&404===e.response.status){r.remove();return}throw e}r.replaceWith(n.html),(0,y.h)(e,"page:loaded")});var w=n(51848),S=n(97156);let{getItem:E}=(0,n(74572).A)("localStorage");(0,y.on)("click","[data-analytics-event]",e=>{if(S.XC?.head?.querySelector('meta[name="is_logged_out_page"]')?.content)return;let t=e.currentTarget.getAttribute("data-analytics-event");if(!t)return;let n=JSON.parse(t);(0,w.BI)("analytics.click",n)});var L=n(21403),A=n(51528);let j=["system","disabled"].map(e=>`html[data-a11y-animated-images="${e}"] img[data-animated-image]`).join(", ");(0,L.lB)(j,e=>{if(!(e instanceof HTMLImageElement)||e.closest("a")&&!(e.parentElement instanceof HTMLAnchorElement))return;let t=e.parentElement,n=null;if(t instanceof HTMLAnchorElement){if(t.childElementCount>1)return;(n=t).setAttribute("data-target","animated-image.originalLink"),t=n.parentElement}e.removeAttribute("data-animated-image"),e.setAttribute("data-target","animated-image.originalImage");let r=n?n.cloneNode(!0):e.cloneNode(!0),i=document.createElement("animated-image");i.appendChild(r),t?.replaceChild(i,n||e),(0,A.i)({incrementKey:"ANIMATED_IMAGE_PLAYER_WRAPPED",requestUrl:window.location.href})});var T=n(7572),C=n(72177);let k=new WeakMap;function q(e,t){t.classList.remove("is-loading","successed","errored","warn"),e.classList.remove("is-autocheck-loading","is-autocheck-successful","is-autocheck-errored");let n=t.querySelector("p.note");if(n){let e=k.get(n);e&&(n.innerHTML=e)}"DL"===t.tagName?(t.querySelector("dd.error")?.remove(),t.querySelector("dd.warning")?.remove(),t.querySelector("dd.success")?.remove()):(t.querySelector("div.error")?.remove(),t.querySelector("div.warning")?.remove(),t.querySelector("div.success")?.remove())}function M(e){e&&(0,C.t)(e)}(0,L.lB)("auto-check",function(e){let t;if(e.classList.contains("js-prevent-default-behavior"))return;let n=e.querySelector("input");if(!n||n.classList.contains("js-prevent-default-behavior"))return;let r=n.closest(".form-group")||e,i=n.form;function a(){return t||(t=`input-check-${(1e4*Math.random()).toFixed(0)}`),t}let o=n.getAttribute("aria-describedby");n.addEventListener("focusout:delay",()=>{n.setAttribute("aria-describedby",[t,o].join(" "))});let s=r.querySelector("p.note");s&&(s.id||(s.id=a()),k.set(s,s.innerHTML)),e.addEventListener("loadstart",()=>{q(n,r),r.classList.add("is-loading"),n.classList.add("is-autocheck-loading"),M(i)}),e.addEventListener("loadend",()=>{r.classList.remove("is-loading"),n.classList.remove("is-autocheck-loading")}),n.addEventListener("auto-check-success",async e=>{n.classList.add("is-autocheck-successful"),r.classList.add("successed"),M(i);let{response:t}=e.detail;if(!t)return;let o=await t.text();if(o){if(s instanceof HTMLElement)s.innerHTML=o,(0,T.C)(s);else{let e=200===t.status,i="DL"===r.tagName?"dd":"div",s=document.createElement(i);s.id=a(),s.classList.add(e?"success":"warning"),s.innerHTML=o,r.append(s),r.classList.add(e?"successed":"warn"),(0,T.C)(s),e&&(s.hidden=document.activeElement!==n)}(0,y.h)(n,"auto-check-message-updated")}}),n.addEventListener("auto-check-error",async e=>{n.classList.add("is-autocheck-errored"),r.classList.add("errored"),M(i);let{response:t}=e.detail;if(!t)return;let o=await t.text();if(s instanceof HTMLElement)s.innerHTML=o||"Something went wrong",(0,T.C)(s);else{let e="DL"===r.tagName?"dd":"div",t=document.createElement(e);t.id=a(),t.classList.add("error"),t.innerHTML=o||"Something went wrong",r.append(t),(0,T.C)(t)}}),n.addEventListener("input",()=>{n.removeAttribute("aria-describedby"),n.value||q(n,r)}),n.addEventListener("blur",()=>{let e=r.querySelector(".success");e&&(e.hidden=!0)}),n.addEventListener("focus",()=>{let e=r.querySelector(".success");e&&(e.hidden=!1)}),i?.addEventListener("reset",()=>{q(n,r)})});var x=n(96907);function _(e){let t=e.closest("form");if(!t)return;let n=t.querySelector(".js-auto-complete-button");n instanceof HTMLButtonElement&&(n.disabled=!e.value)}(0,L.lB)("auto-complete",function(e){e.addEventListener("loadstart",()=>e.classList.add("is-auto-complete-loading")),e.addEventListener("loadend",()=>e.classList.remove("is-auto-complete-loading"))}),(0,L.lB)("auto-complete",{constructor:x.Ay,initialize:_}),(0,y.on)("auto-complete-change","auto-complete",function(e){_(e.currentTarget)});var R=n(78350),H=n(46650),P=n(8968);let I=null;(0,y.on)("submit","[data-autosearch-results-container]",async function(e){let t=e.currentTarget;if(!(t instanceof HTMLFormElement))return;e.preventDefault(),I?.abort(),t.classList.add("is-sending");let n=new URL(t.action,window.location.origin),i=t.method,a=new FormData(t),o=(0,R.K3)(n,a),s=null;"get"===i?n.search=o:s=a;let{signal:l}=I=new AbortController,c=new Request(n.toString(),{method:i,body:s,signal:l,headers:{Accept:"text/html","X-Requested-With":"XMLHttpRequest"}}),u=null;try{u=await fetch(c)}catch{}if(t.classList.remove("is-sending"),!u||!u.ok||l.aborted)return;let d=t.getAttribute("data-autosearch-results-container"),m=d?document.getElementById(d):null;if(m){let e=m.style.height;m.style.height=getComputedStyle(m).height,m.textContent="",void 0!==r&&clearTimeout(r);let t=m.hasAttribute("data-delay-results"),n=await u.text(),i=(0,H.B)(document,n).querySelector("[data-autosearch-results]")||(0,H.B)(document,n).firstElementChild;r=setTimeout(()=>{m.appendChild((0,H.B)(document,n)),(0,T.C)(i),requestAnimationFrame(()=>{m.style.height=e})},t?500:0)}(0,P.g5)(null,"",`?${o}`)});var B=n(70908),O=n(21232);(0,O.uE)("input[data-autoselect], textarea[data-autoselect]",async function(e){await (0,B.k2)(),e.select()});var $=n(70170),N=n(79024);function D(e){let t=e.target;if(!(t instanceof HTMLInputElement)&&!(t instanceof HTMLSelectElement))return;let n=t.form;(0,R.k_)(n)}(0,y.on)("change","form[data-autosubmit]",function(e){let t=e.currentTarget;(0,R.k_)(t)}),(0,y.on)("change","input[data-autosubmit], select[data-autosubmit]",D);let W=(0,$.s)(D,300);async function F(e){let t=e.getAttribute("data-url")||"";if(await U(t)){let t=e.getAttribute("data-gravatar-text");null!=t&&(e.textContent=t)}}async function U(e){if(!e)return!1;try{let t=await fetch(e,{headers:{Accept:"application/json"}});if(!t.ok)return!1;return(await t.json()).has_gravatar}catch{return!1}}(0,L.lB)("input[data-throttled-autosubmit]",{subscribe:e=>(0,N.Rt)(e,"input",W)}),(0,L.lB)(".js-detect-gravatar",function(e){F(e)}),n(86954);var z=n(38147),X=n(66748),V=n(63120);let G=[".unstyled-additional-seats-price-obj",".unstyled-base-price-obj",".unstyled-final-price-obj"],K=null;async function J(e){let t=e.getAttribute("data-item-name")||"items",n=e.value,r=new URL(e.getAttribute("data-url"),window.location.origin),i=new URLSearchParams(r.search.slice(1)),a=parseInt(e.getAttribute("data-item-minimum"))||0,o=parseInt(e.getAttribute("data-item-maximum"))||1e3,s=parseInt(e.getAttribute("data-item-count"))||0,l=Math.max(a,parseInt(n)||0),c=l>o,u=document.querySelector(".js-downgrade-button"),d=document.getElementById("downgrade-disabled-message");u instanceof HTMLButtonElement&&(u.disabled=l===s),d instanceof HTMLElement&&u instanceof HTMLButtonElement&&(d.hidden=!u.disabled),i.append(t,l.toString()),document.querySelector(".js-transform-user")&&i.append("transform_user","1"),r.search=i.toString(),K?.abort();let{signal:m}=K=new AbortController,f=null;try{let e=await fetch(r.toString(),{signal:m,headers:{Accept:"application/json"}});if(!e.ok)return;f=await e.json()}catch{}if(m.aborted||!f)return;let h=document.querySelector(".js-contact-us");h&&h.classList.toggle("d-none",!c);let p=document.querySelector(".js-cost-info");p&&(p.hidden=c);let g=document.querySelector(".js-payment-summary");g&&g.classList.toggle("d-none",c);let b=document.querySelector(".js-submit-billing");if(b instanceof HTMLElement&&(b.hidden=c),!f.url.includes("organizations/signup_billing")){let e=document.querySelector(".js-billing-section");e&&e.classList.toggle("has-removed-contents",f.free||f.is_enterprise_cloud_trial)}let y=document.querySelector(".js-upgrade-info");y&&y.classList.toggle("d-none",l<=0);let v=document.querySelector(".js-downgrade-info");v&&v.classList.toggle("d-none",l>=0);let w=document.querySelector(".js-extra-seats-line-item");w&&w.classList.toggle("d-none",f.no_additional_seats),document.querySelector(".js-seat-field")&&function(e){for(let t of document.querySelectorAll(".js-seat-field")){let n=t.getAttribute("data-item-maximum"),r=t?.parentNode?.querySelector(".Popover");n&&n.length&&(parseInt(e,10)>parseInt(n,10)?(t.classList.add("color-border-danger-emphasis"),r?.removeAttribute("hidden")):(t.classList.remove("color-border-danger-emphasis"),r?.setAttribute("hidden","true")))}}(n);let S=document.querySelector(".js-minimum-seats-disclaimer");S&&(S.classList.toggle("tooltipped",5===f.seats),S.classList.toggle("tooltipped-nw",5===f.seats));let E=f.selectors;for(let e in E)for(let t of document.querySelectorAll(e)){var L;G.includes(e)&&"string"!=typeof(L=E[e])&&"number"!=typeof L&&"default_currency"in L&&"local_currency"in L?(t.textContent="",t.appendChild(Y("default-currency",E[e].default_currency)),t.appendChild(Y("local-currency",E[e].local_currency))):t.textContent=E[e]}(0,P.g5)(history.state,"",f.url)}function Y(e,t){let n=document.createElement("span");return n.classList.add(e),n.textContent=t,n}function Z(e,t=!1){for(let[n,r]of Object.entries({"tooltipped-nw":"tooltipped-sw","tooltipped-n":"tooltipped-s","tooltipped-ne":"tooltipped-se"})){let i=t?r:n,a=t?n:r;for(let t of e.querySelectorAll(`.${i}`))t.classList.replace(i,a)}}(0,y.on)("click",".js-org-signup-duration-change",e=>{e.preventDefault();let t=e.currentTarget.getAttribute("data-plan-duration");for(let e of(function(e){let t="year"===e?"month":"year";for(let t of document.querySelectorAll(".js-plan-duration-text"))t.textContent=e;for(let t of document.querySelectorAll(".unstyled-available-plan-duration-adjective"))t.textContent=`${e}ly`;for(let e of document.querySelectorAll(".js-org-signup-duration-change"))e.setAttribute("data-plan-duration",t);let n=document.getElementById("signup-plan-duration");n&&(n.value=e)}(t),function(e){for(let t of document.querySelectorAll(".js-seat-field")){let n=new URL(t.getAttribute("data-url"),window.location.origin),r=new URLSearchParams(n.search.slice(1));r.delete("plan_duration"),r.append("plan_duration",e),n.search=r.toString(),t.setAttribute("data-url",n.toString())}}(t),document.querySelectorAll(".js-seat-field")))J(e);(function(){for(let e of document.querySelectorAll(".js-unit-price"))e.hidden=!e.hidden})()}),(0,y.on)("change",".js-org-signup-duration-toggle",function({currentTarget:e}){let t=new URL(e.getAttribute("data-url"),window.location.origin);(0,V.softNavigate)(t.toString())}),(0,L.lB)(".js-addon-purchase-field",{constructor:HTMLInputElement,add(e){(0,X.A)(e)&&J(e),(0,z.Up)(e,function(){J(e)})}}),(0,L.lB)(".js-addon-downgrade-field",{constructor:HTMLSelectElement,add(e){(0,X.A)(e)&&J(e),e.addEventListener("change",function(){J(e)})}}),(0,y.on)("details-menu-selected",".js-organization-container",function(e){let t=document.querySelector(".js-addon-purchase-field"),n=e.target.querySelector("input:checked");if(t instanceof HTMLInputElement&&n instanceof HTMLInputElement){let e=n.getAttribute("data-upgrade-url");e&&(t.setAttribute("data-url",e),t.value="0",J(t))}},{capture:!0}),(0,O.eC)(".js-csv-filter-field",function(e){let t=e.target.value.toLowerCase();for(let e of document.querySelectorAll(".js-csv-data tbody tr"))e instanceof HTMLElement&&e.textContent&&(e.hidden=!!t&&!e.textContent.toLowerCase().includes(t))}),(0,L.lB)(".js-blob-header.is-stuck",{add(e){Z(e)},remove(e){Z(e,!0)}}),(0,y.on)("click",".js-blob-dropdown-click",e=>{let t=e.currentTarget.getAttribute("data-dropdown-tracking");if(!t)return;let n=JSON.parse(t);(0,w.BI)(n.type,n.context)}),(0,y.on)("change",".js-branch-protection-integration-select-input",function(e){let t=e.target,n=t?.closest(".js-branch-protection-integration-select"),r=n?.querySelector(".js-branch-protection-integration-select-current"),i=t?.closest(".js-branch-protection-integration-select-item"),a=i?.querySelector(".js-branch-protection-integration-select-label");r&&a&&n&&(r.innerHTML=a.innerHTML,n.open=!1)});let Q=null;async function ee(e){let t=e.target;if(!(t instanceof HTMLElement))return;let n=t.querySelector(".js-bulk-actions"),r=!!t.querySelector(".js-bulk-actions-toggle:checked");Q?.abort();let{signal:i}=Q=new AbortController,a="";try{let e=await fetch(function(e){let t=new URL(e.getAttribute("data-bulk-actions-url"),window.location.origin),n=new URLSearchParams(t.search.slice(1)),r=e.getAttribute("data-bulk-actions-parameter"),i=Array.from(e.querySelectorAll(".js-bulk-actions-toggle:checked"));if(r)for(let e of i.map(e=>e.closest(".js-bulk-actions-item").getAttribute("data-bulk-actions-id")).sort())n.append(`${r}[]`,e);else for(let e of i.sort((e,t)=>e.value>t.value?1:-1))n.append(e.name,e.value);return t.search=n.toString(),t.toString()}(t),{signal:i,headers:{"X-Requested-With":"XMLHttpRequest"}});if(!e.ok)return;a=await e.text()}catch{}!i.aborted&&a&&(r?(et(t),n.innerHTML=a):(n.innerHTML=a,et(t)),(0,y.h)(t,"bulk-actions:updated"))}function et(e){let t=document.querySelector(".js-membership-tabs");if(t){let n=e.querySelectorAll(".js-bulk-actions-toggle:checked");t.classList.toggle("d-none",n.length>0)}}(0,y.on)("change",".js-bulk-actions-toggle",function(e){let t=e.currentTarget.closest(".js-bulk-actions-container");(0,y.h)(t,"bulk-actions:update")}),(0,y.on)("bulk-actions:update",".js-bulk-actions-container",(0,$.s)(ee,100));var en=n(5728);function er(e,t){try{return window.localStorage.setItem(e,JSON.stringify(t)),{kind:"ok",value:null}}catch(e){return{kind:"err",value:e}}}function ei(){let e=function(){let e={};for(let t of document.getElementsByTagName("script")){let n=t.src.match(/\/([\w-]+)-[0-9a-f]{8,}\.js$/);n&&(e[`${n[1]}.js`]=t.src)}for(let t of document.getElementsByTagName("link")){let n=t.href.match(/\/([\w-]+)-[0-9a-f]{8,}\.css$/);n&&(e[`${n[1]}.css`]=t.href)}return e}(),t=function(e){try{let t=window.localStorage.getItem(e);return{kind:"ok",value:t?JSON.parse(t):null}}catch(e){return{kind:"err",value:e}}}("bundle-urls");if("err"===t.kind){er("bundle-urls",e);return}let n=t.value||{},r=Object.keys(e).filter(t=>n[t]!==e[t]);r.length&&"ok"===er("bundle-urls",{...n,...e}).kind&&(0,A.i)({downloadedBundles:r})}function ea(e){e.preventDefault(),e.stopPropagation()}(async()=>{await en.K,window.requestIdleCallback(ei)})(),(0,L.lB)("a.btn.disabled",{subscribe:e=>(0,N.Rt)(e,"click",ea)});var eo=n(17249),es=n(15955);(0,L.lB)(".js-check-all-container",{constructor:HTMLElement,subscribe:es.A});var el=n(73480);let ec="logout-was-successful";(0,el.OR)(ec).length>0&&(!function(){for(let e of[sessionStorage,localStorage])try{e.clear()}catch{}}(),(0,el.Yj)(ec));var eu=n(97564);function ed(e){ef.delete(e),em(e)}function em(e){let t=e.querySelector(".js-clipboard-copy-icon"),n=e.querySelector(".js-clipboard-check-icon");e.classList.toggle("ClipboardButton--success"),t&&t.classList.toggle("d-none"),n&&(n.classList.contains("d-sm-none")?n.classList.toggle("d-sm-none"):n.classList.toggle("d-none"))}(0,y.on)("clipboard-copy","[data-copy-feedback]",e=>{let t=e.currentTarget,n=t.getAttribute("data-copy-feedback"),r=t.getAttribute("aria-label"),i=t.getAttribute("data-tooltip-direction")||"s",a=t.getAttribute("data-announce-selector")||void 0,o=a?document.querySelector(a):void 0;t.setAttribute("aria-label",n),t.classList.add("tooltipped",`tooltipped-${i}`),t instanceof HTMLElement&&((0,eu.G7)("ariaNotify_partial_migration")&&"ariaNotify"in Element.prototype?t.ariaNotify(t.textContent||"",{interrupt:"all",priority:"important"}):(0,T.C)(t,{element:o??void 0}),setTimeout(()=>{r?t.setAttribute("aria-label",r):t.removeAttribute("aria-label"),t.classList.remove("tooltipped",`tooltipped-${i}`)},2e3))});let ef=new WeakMap;(0,y.on)("clipboard-copy",".js-clipboard-copy:not([data-view-component])",function({currentTarget:e}){if(!(e instanceof HTMLElement))return;let t=ef.get(e);t?clearTimeout(t):em(e),ef.set(e,window.setTimeout(ed,2e3,e))});var eh=n(23780);async function ep(e,t,n,r,i){let a=e.getAttribute("data-tagsearch-url");if(!a)return"";let o=e.getAttribute("data-tagsearch-ref");if(!o)return"";let s=e.getAttribute("data-tagsearch-code-nav-context");s||(s="UNKNOWN_VIEW");let l=new URL(a,window.location.origin),c=new URLSearchParams;c.set("q",t),c.set("blob_path",i),c.set("ref",o),c.set("language",n),c.set("row",r[0].toString()),c.set("col",r[1].toString()),c.set("code_nav_context",s),l.search=c.toString();try{let e=await fetch(l.toString(),{headers:{"X-Requested-With":"XMLHttpRequest"}});if(!e.ok)return"";let t=await e.text();if(/js-tagsearch-no-definitions/.test(t))return"";return t}catch{return""}}(0,y.on)("click",".js-code-nav-retry",async function(e){let t;if(e.altKey||e.ctrlKey||e.metaKey||e.shiftKey)return;let n=document.querySelector(".js-tagsearch-popover");if(!n)return;let r=n.querySelector(".js-tagsearch-popover-content");if(!r)return;let i=e.currentTarget;if(!(t="definitions"===i.getAttribute("data-code-nav-kind")?n.querySelector(".js-tagsearch-popover-content"):n.querySelector(".js-code-nav-references")))return;let a=i.getAttribute("data-code-nav-url");if(!a)return;let o=new URL(a,window.location.origin);try{let e=await fetch(o.toString(),{headers:{"X-Requested-With":"XMLHttpRequest"}});if(!e.ok)return;let n=await e.text();if(!n)return;t.innerHTML=n}catch{return}r.scrollTop=0}),(0,L.lB)(".js-code-nav-container",{constructor:HTMLElement,subscribe(e){let t;let n=document.querySelector(".js-tagsearch-popover");if(!(n instanceof HTMLElement))return{unsubscribe(){}};let r=n.querySelector(".js-tagsearch-popover-content"),i=new WeakMap,a=new WeakMap;async function o(o){let f=function(e,t,n){let r,i;if(document.caretPositionFromPoint){let e=document.caretPositionFromPoint(t,n);e&&(r=e.offsetNode,i=e.offset)}else if(document.caretRangeFromPoint){let e=document.caretRangeFromPoint(t,n);e&&(r=e.startContainer,i=e.startOffset)}if(!r||"number"!=typeof i||r.nodeType!==Node.TEXT_NODE)return;let a=r.textContent,o=a?.replaceAll("\n","").trim()==="";if(!a||o||r.nodeType!==Node.TEXT_NODE)return null;let s=function(e,t,n){let r;let i=null;for(;r=t.exec(e);){if(t.lastIndex===i){(0,eh.N7)(Error("regexp did not advance in findNearestMatch()"));break}i=t.lastIndex;let e=r.index+r[0].length;if(r.index<=n&&n<=e)return[r[0],r.index,e]}return null}(a,e,i);if(!s)return null;let l=document.createRange();return l.setStart(r,s[1]),l.setEnd(r,s[2]),l}(/\w+[!?]?/g,o.clientX,o.clientY);if(!f)return;let h=f.commonAncestorContainer.parentElement;if(!h)return;for(let e of h.classList)if(["pl-token","pl-c","pl-s","pl-k"].includes(e))return;if(h.closest(".js-skip-tagsearch"))return;let p=f.toString();if(!p||p.match(/\n|\s|[();&.=",]/))return;let g=a.get(h);if(g||(g=new Set,a.set(h,g)),g.has(p))return;g.add(p);let b=h.closest(".js-tagsearch-file");if(!b)return;let y=b.getAttribute("data-tagsearch-path")||"",v=b.getAttribute("data-tagsearch-lang")||"";if("HTML+ERB"===v){if(!h.closest(".pl-sre"))return;v="Ruby"}if(e.classList.contains("js-code-block-container")&&!(v=function(e){let t=e.closest(".highlight");if(t)for(let e of t.classList)switch(e){case"highlight-source-go":return"Go";case"highlight-source-js":return"JavaScript";case"highlight-source-python":return"Python";case"highlight-source-ruby":return"Ruby";case"highlight-source-ts":return"TypeScript"}return null}(h)||""))return;let w=function(e){let t=e.startContainer,n=e.startOffset,r=!1;for(;;){let e=t.previousSibling;for(;!r&&e;)["#comment","BUTTON"].includes(e.nodeName)||(n+=(e.textContent||"").length),e=e.previousSibling;let i=t.parentElement;if(!i)return[0,0];if(i.classList.contains("js-code-nav-pass"))r=!0;else if(i.classList.contains("js-file-line")){let e=i.previousElementSibling;if(!e.classList.contains("js-code-nav-line-number"))throw Error("invariant");return[parseInt(e.getAttribute("data-line-number")||"1",10)-1,n]}t=i}}(f),S=document.createElement("span");f.surroundContents(S),S.classList.add("pl-token"),S.addEventListener("click",async function(e){if(!e.altKey&&!e.ctrlKey&&!e.metaKey&&!e.shiftKey){if(S===t)c();else{let e;if(!(e=await ep(n,p,v,w,y)))return;(function(e,t){let n=document.createElement("span");n.innerHTML=t;let r=n.firstElementChild;if(!r)return;let i=r.getAttribute("data-hydro-click"),a=r.getAttribute("data-hydro-click-hmac");a&&i&&(e.setAttribute("data-hydro-click",i),e.setAttribute("data-hydro-click-hmac",a))})(S,e),i.set(S,e),t&&t.classList.remove("active"),(t=S).classList.add("active"),r.innerHTML=i.get(S)||"",l(S),function(){if(!n.hidden){s();return}n.hidden=!1,s(),document.addEventListener("click",d),document.addEventListener("keyup",m),window.addEventListener("resize",u)}()}e.preventDefault()}})}function s(){r.scrollTop=0}function l(t){let r=e.getClientRects()[0],i=t.getClientRects();if(0===i.length)return;let a=i[0];n.style.position="absolute",n.style.zIndex="3",e.classList.contains("position-relative")?(n.style.top=`${a.bottom-r.top+7}px`,n.style.left=`${a.left-r.left-10}px`):(n.style.top=`${window.scrollY+a.bottom}px`,n.style.left=`${window.scrollX+a.left}px`)}function c(){n.hidden||(n.hidden=!0,t&&t.classList.remove("active"),t=void 0,document.removeEventListener("click",d),document.removeEventListener("keyup",m),window.removeEventListener("resize",u))}function u(){t instanceof HTMLElement&&l(t)}function d(e){let{target:r}=e;r instanceof Node&&!n.contains(r)&&!t.contains(r)&&c()}function m(e){"Escape"===e.key&&c()}return function(){for(let e of(c(),document.getElementsByClassName("pl-token")))e.classList.remove("pl-token","active")}(),e.addEventListener("mousemove",o),{unsubscribe(){e.removeEventListener("mousemove",o)}}}}),(0,L.lB)(".js-code-scanning-autofix-page-reload",{subscribe:e=>(0,N.Rt)(e,"socket:message",async function(){window.location.reload()})});var eg=n(18292);(0,y.on)("click",".errored.js-remove-error-state-on-click",function({currentTarget:e}){e.classList.remove("errored")}),(0,v.JW)(".js-new-comment-form",async function(e,t){let n;!function(e){let t=e.querySelector(".js-comment-form-error");t instanceof HTMLElement&&(t.hidden=!0)}(e);try{n=await t.json()}catch(t){(0,eh.N7)(t),function(e,t){let n="There was a problem saving your comment.",r="Please try again.";if(t.response){if(422===t.response.status){let e=t.response.json;e.errors&&(Array.isArray(e.errors)?n+=` Your comment ${e.errors.join(", ")}.`:n=e.errors)}else 200===t.response.status&&(r="Please reload the page and try again.")}n+=` ${r}`;let i=e.querySelector(".js-comment-form-error");if(i instanceof HTMLElement){i.textContent=n,i.hidden=!1;let e=i.closest("div.form-group.js-remove-error-state-on-click");e&&e.classList.add("errored")}}(e,t)}if(!n)return;for(let t of(e.reset(),e.querySelectorAll(".js-resettable-field")))(0,R.m$)(t,t.getAttribute("data-reset-value")||"");let r=e.querySelector(".js-write-tab");r instanceof HTMLElement&&function(e){let t=e.getBoundingClientRect();return t.top>=0&&t.left>=0&&t.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&t.right<=(window.innerWidth||document.documentElement.clientWidth)}(r)&&r.click();let i=n.json.updateContent;for(let e in i){let t=i[e],n=document.querySelector(e);n instanceof HTMLElement?(0,eg.Uv)(n,t):console.warn(`couldn't find ${e} for immediate update`)}(0,y.h)(e,"comment:success")});let eb=(e,t)=>{let n=e.querySelector(".js-form-action-text")||e;n.textContent=t?e.getAttribute("data-comment-text"):n.getAttribute("data-default-action-text")},ey=e=>{let t;return n=>{let r=n.currentTarget.value.trim();r!==t&&(t=r,eb(e,!!r))}};function ev(e,t){let n=e.closest(".js-write-bucket");n&&n.classList.toggle("focused",t)}function ew(e){let t=e.currentTarget;t instanceof Element&&ev(t,!1)}(0,L.lB)(".js-comment-and-button",{constructor:HTMLButtonElement,initialize(e){let t=e.form.querySelector(".js-comment-field"),n=ey(e);return{add(){t.addEventListener("input",n),t.addEventListener("change",n)},remove(){t.removeEventListener("input",n),t.removeEventListener("change",n)}}}}),n(49786),(0,O.uE)(".js-comment-field",function(e){ev(e,!0),e.addEventListener("blur",ew,{once:!0})});var eS=n(15816),eE=n(44358),eL=n(52915);let eA=class PNGScanner{static fromFile(e){return new Promise(function(t,n){let r=new FileReader;r.onload=function(){t(new PNGScanner(r.result))},r.onerror=function(){n(r.error)},r.readAsArrayBuffer(e)})}advance(e){this.pos+=e}readInt(e){let t=this,n=function(){switch(e){case 1:return t.dataview.getUint8(t.pos);case 2:return t.dataview.getUint16(t.pos);case 4:return t.dataview.getUint32(t.pos);default:throw Error("bytes parameter must be 1, 2 or 4")}}();return this.advance(e),n}readChar(){return this.readInt(1)}readShort(){return this.readInt(2)}readLong(){return this.readInt(4)}readString(e){let t=[];for(let n=0;nthis.coords.top+this.coords.height?1:0}xDistance(e){return Math.abs(this.left-e)}constructor(e,t,n){this.index=e,this.coords=t,this.textArea=n}};function eq(e,t){let n;if(eC.has(e)?n=eC.get(e):(n=new Map,eC.set(e,n)),n.has(t))return n.get(t);{let r=new ek(t,(0,eT.A)(e,t),e);return n.set(t,r),r}}let eM=(e,t,n,r,i,a)=>{if(n===t)return n;let o=e=>{let t=e.filter(e=>0===e.checkLine(i)).sort((e,t)=>e.xDistance(r)>t.xDistance(r)?1:-1);return 0===t.length?n:t[0].index};if(n-t==1)return o([eq(e,t),eq(e,n)]);if(n-t==2)return o([eq(e,t),eq(e,n-1),eq(e,n)]);let s=Math.floor((n+t)/2);if(s===t||s===n)return s;let l=eq(e,s);return i>l.top+l.height?eM(e,s+1,n,r,i,a+1):il.xDistance(r)?s:l.leftr?0!==eq(e,s-1).checkLine(i)?s:eM(e,t,s-1,r,i,a+1):s},ex=(e,t,n)=>{let r=e.value.length;return eM(e,0,r,t,n,0)};var e_=n(44479);let eR=new Map;(0,L.lB)(".js-paste-markdown",{initialize(e){let t;let n=e.hasAttribute("data-paste-url-links-as-plain-text");return{add(){t=(0,eE.B1)(e,{defaultPlainTextPaste:{urlLinks:n}}).unsubscribe},remove(){t()}}}});let eH=new WeakMap;function eP(e){return["video/mp4","video/quicktime"].includes(e.file.type)}function eI(e){if(eP(e))return` +Uploading ${e.file.name}\u{2026} +`;let t=e.isImage()?"!":"";return`${t}[Uploading ${e.file.name}\u{2026}]()`}function eB(e){let t=e.target.closest("form");if(t){let e=t.querySelector(".btn-primary");e&&(e.disabled=!0)}}function eO(e){let t=e.target.closest("form");if(t){let e=t.querySelector(".btn-primary");e&&(e.disabled=!1)}}async function e$(e){let{attachment:t}=e.detail,n=e.currentTarget;eU("",t.isImage()?await eN(t):eP(t)?` +${t.href} +`:`[${t.file.name}](${t.href})`,e,n),eR.size>0&&function(){for(let e of document.querySelectorAll(".issue-form-textarea"))for(let[t,n]of eR)e.value.includes(t)&&((0,eS.ee)(e,t,n,document.activeElement===e),eR.delete(t))}()}async function eN(e){let t=await eD(e.file),n=e.file.name.replace(/[[\]\\"<>&]/g,".").replace(/\.{2,}/g,".").replace(/^\.|\.$/gi,"").replace(/\.[^.]+$/,"").replace(/\./g," "),r=e.href;if(144===t.ppi){let e=Math.round(t.width/2);return`${n}`}return`![${n}](${r})`}async function eD(e){let t={width:0,height:0,ppi:0};try{return await ej(e)??t}catch{return t}}function eW(e){let t=eI(e);return eP(e)?` +${t} +`:`${t} +`}function eF(e){var t;let n=e.currentTarget.querySelector(".js-comment-field"),r=(t=e.detail.attachment,eH.get(t)||eW(t));if(n)n.setCustomValidity(""),(0,eS.ee)(n,r,"");else{let t=ez(e.currentTarget);if(!t){(0,e_.R)("upload:editor:change",e.currentTarget,{state:"failed",placeholder:r,replacementText:""});return}let n=t.getSearchCursor(r);n.findNext(),n.replace("")}}function eU(e,t,n,r){let i=(r||n.currentTarget).querySelector(".js-comment-field"),a=(r||n.currentTarget).querySelector(".js-file-upload-loading-text"),o=eI(n.detail.attachment),{batch:s}=n.detail;if(i){let r=i.value.substring(i.selectionStart,i.selectionEnd);if("uploading"===e){let e;e=r.length?(0,eS.tJ)(i,r,o):(0,eS.bc)(i,o,{appendNewline:!0}),eH.set(n.detail.attachment,e)}else i.value.includes(o)||eR.set(o,t),(0,eS.ee)(i,o,t,document.activeElement===i);s.isFinished()?eO(n):eB(n)}else{let i=ez(r||n.currentTarget);if(i){if("uploading"===e){if(i.getSelection().length)i.replaceSelection(o);else{let e=i.getCursor(),t=eW(n.detail.attachment);i.replaceRange(t,e)}}else{let e=i.getSearchCursor(o);e.findNext(),e.replace(t)}}else(0,e_.R)("upload:editor:change",r||n.currentTarget,{state:""===e?"uploaded":"uploading",placeholder:o,replacementText:""===e?t:eW(n.detail.attachment)});s.isFinished()?eO(n):eB(n)}if(a){let e=a.getAttribute("data-file-upload-message");a.textContent=`${e} (${s.uploaded()+1}/${s.size})`}}function ez(e){let t=e.querySelector(".js-code-editor");if(!t)return;let n=(0,eL.j)(t);if(n)return n.editor}function eX(e){e.stopPropagation();let t=e.currentTarget;if(!t)return;let n=t.querySelector(".js-comment-field");if(n)!function(e,t){let n=e.getBoundingClientRect();"dragenter"===t.type&&eC.delete(e);let r=t.clientX-n.left,i=t.clientY-n.top+e.scrollTop;!function(e,t,n){let r=ex(e,t,n);e.setSelectionRange(r,r)}(e,r,i)}(n,e);else{let n=ez(t);if((0,e_.R)("upload:editor:cursor",t,{left:e.clientX,top:e.clientY}),n){let t=n.coordsChar({left:e.pageX,top:e.pageY});n.setCursor(t),n.focus()}}}(0,y.on)("upload:setup",".js-upload-markdown-image",function(e){eU("uploading","",e)}),(0,y.on)("upload:complete",".js-upload-markdown-image",e$),(0,y.on)("upload:error",".js-upload-markdown-image",function(e){eF(e);let{batch:t}=e.detail;t.isFinished()?eO(e):eB(e)}),(0,y.on)("dragenter","file-attachment",eX),(0,y.on)("dragover","file-attachment",eX),(0,y.on)("upload:invalid",".js-upload-markdown-image",function(e){eF(e);let{batch:t}=e.detail;t.isFinished()?eO(e):eB(e)});var eV=n(49728),eG=n(5225);function eK(e){let t=e.closest(".js-previewable-comment-form"),n=e.classList.contains("js-preview-tab");if(n){let e=t.querySelector(".js-write-bucket"),n=t.querySelector(".js-preview-body");e.clientHeight>0&&(n.style.minHeight=`${e.clientHeight}px`)}t.classList.toggle("preview-selected",n),t.classList.toggle("write-selected",!n);let r=t.querySelector('.tabnav-tab.selected, .tabnav-tab[aria-selected="true"]');r.setAttribute("aria-selected","false"),r.classList.remove("selected"),e.classList.add("selected"),e.setAttribute("aria-selected","true");let i=t.querySelector(".js-write-tab");return n?i.setAttribute("data-hotkey","Mod+Shift+P"):i.removeAttribute("data-hotkey"),t}function eJ(e){let t=e.getAttribute("data-preview-url"),n=function(e){let t=e.querySelector(".js-comment-field").value,n=e.querySelector(".js-path")?.value,r=e.querySelector(".js-line-number")?.value,i=e.querySelector(".js-start-line-number")?.value,a=e.querySelector(".js-side")?.value,o=e.querySelector(".js-start-side")?.value,s=e.querySelector(".js-start-commit-oid")?.value,l=e.querySelector(".js-end-commit-oid")?.value,c=e.querySelector(".js-base-commit-oid")?.value,u=e.querySelector(".js-comment-id")?.value,d=new FormData;return d.append("text",t),d.append("authenticity_token",function(e){let t=e.querySelector(".js-data-preview-url-csrf"),n=e.closest("form").elements.namedItem("authenticity_token");if(t instanceof HTMLInputElement)return t.value;if(n instanceof HTMLInputElement)return n.value;throw Error("Comment preview authenticity token not found")}(e)),n&&d.append("path",n),r&&d.append("line_number",r),i&&d.append("start_line_number",i),a&&d.append("side",a),o&&d.append("start_side",o),s&&d.append("start_commit_oid",s),l&&d.append("end_commit_oid",l),c&&d.append("base_commit_oid",c),u&&d.append("comment_id",u),d}(e);return(0,y.h)(e,"preview:setup",{data:n}),eY(t,n)}(0,y.on)("click",".js-write-tab",function(e){let t=e.currentTarget,n=t.closest(".js-previewable-comment-form");if(n instanceof eV.A){setTimeout(()=>{n.querySelector(".js-comment-field").focus()});return}let r=eK(t);(0,y.h)(n,"preview:toggle:off");let i=n.querySelector(".js-discussion-poll-form-component");i&&(0,y.h)(i,"poll-preview:toggle:off"),setTimeout(()=>{r.querySelector(".js-comment-field").focus()});let a=n.querySelector("markdown-toolbar");a instanceof HTMLElement&&(a.hidden=!1)}),(0,y.on)("click",".js-preview-tab",function(e){let t=e.currentTarget,n=t.closest(".js-previewable-comment-form");if(n instanceof eV.A)return;let r=eK(t);(0,y.h)(n,"preview:toggle:on"),setTimeout(()=>{e0(r)});let i=n.querySelector("markdown-toolbar");i instanceof HTMLElement&&(i.hidden=!0),e.stopPropagation(),e.preventDefault()}),(0,y.on)("tab-container-change",".js-previewable-comment-form",function(e){let t=e.detail.relatedTarget,n=t&&t.classList.contains("js-preview-panel"),r=e.currentTarget,i=r.querySelector(".js-write-tab");if(n){let e=r.querySelector(".js-write-bucket"),t=r.querySelector(".js-preview-body");!t.hasAttribute("data-skip-sizing")&&e.clientHeight>0&&(t.style.minHeight=`${e.clientHeight}px`),i.setAttribute("data-hotkey","Mod+Shift+P"),e0(r);let n=r.querySelector("markdown-toolbar");n instanceof HTMLElement&&(n.hidden=!0)}else{i.removeAttribute("data-hotkey");let e=r.querySelector("markdown-toolbar");e instanceof HTMLElement&&(e.hidden=!1);let t=document.querySelector(".js-discussion-poll-form-component");t&&(0,y.h)(t,"poll-preview:toggle:off")}r.classList.toggle("preview-selected",!!n),r.classList.toggle("write-selected",!n)}),(0,y.on)("preview:render",".js-previewable-comment-form",function(e){let t=eK(e.target.querySelector(".js-preview-tab"));setTimeout(()=>{e0(t);let e=t.querySelector("markdown-toolbar");e instanceof HTMLElement&&(e.hidden=!0)})});let eY=(0,eG.A)(eQ,{hash:function(e,t){let n=[...t.entries()].toString();return`${e}:${n}`}}),eZ=null;async function eQ(e,t){eZ?.abort();let{signal:n}=eZ=new AbortController,r=await fetch(e,{method:"post",body:t,signal:n});if(!r.ok)throw Error("something went wrong");return r.text()}async function e0(e){let t=e.querySelector(".comment-body");t.innerHTML="

Loading preview…

";try{let n=await eJ(e);t.innerHTML=n||"

Nothing to preview

",(0,y.h)(e,"preview:rendered")}catch(e){"AbortError"!==e.name&&(t.innerHTML="

Error rendering preview

")}}(0,L.lB)(".js-preview-tab",function(e){e.addEventListener("mouseenter",async()=>{let t=e.closest(".js-previewable-comment-form");try{await eJ(t)}catch{}})}),(0,O.Ff)("keydown",".js-comment-field",function(e){let t=e.target;if((e.ctrlKey||e.metaKey)&&e.shiftKey&&"P"===e.key.toUpperCase()){let n=t.closest(".js-previewable-comment-form");n.classList.contains("write-selected")&&(n instanceof eV.A?n.querySelector(".js-preview-tab").click():(t.blur(),n.dispatchEvent(new CustomEvent("preview:render",{bubbles:!0,cancelable:!1}))),e.preventDefault(),e.stopImmediatePropagation())}});let e1=/^(\+1|-1|:\+1?|:-1?)$/,e2=e=>{let t=!1;for(let n of e.split("\n")){let e=n.trim();if(!(!e||e.startsWith(">"))){if(t&&!1===e1.test(e))return!1;!t&&e1.test(e)&&(t=!0)}}return t};function e5(e){let t=e.target,n=t.value,r=t.closest(".js-reaction-suggestion");if(r){if(e2(n)){r.classList.remove("hide-reaction-suggestion"),r.classList.add("reaction-suggestion");let e=r.getAttribute("data-reaction-markup");r.setAttribute("data-reaction-suggestion-message",e)}else e4(r)}}function e4(e){e.classList.remove("reaction-suggestion"),e.classList.add("hide-reaction-suggestion"),e.removeAttribute("data-reaction-suggestion-message")}(0,y.on)("focusout","#new_comment_field",function(e){let t=e.currentTarget.closest(".js-reaction-suggestion");t&&e4(t)}),(0,y.on)("focusin","#new_comment_field",function(e){e5(e)}),(0,O.Ff)("keyup","#new_comment_field",function(e){e5(e)});var e7=n(98164);(0,y.on)("navigation:keydown",".js-commits-list-item",function(e){(0,e7.$$)(e.detail.originalEvent)&&e.target instanceof Element&&"c"===e.detail.hotkey&&e.target.querySelector(".js-navigation-open").click()}),n(49710),(0,O.eC)(".js-company-name-input",function(e){let t=e.target,n=t.form,r=n.querySelector(".js-corp-tos-link"),i=n.querySelector(".js-tos-link");i&&(i.classList.add("d-none"),i.setAttribute("aria-hidden","true"),r&&(r.classList.remove("d-none"),r.setAttribute("aria-hidden","false")));let a=n.querySelectorAll(".js-company-name-text");if(0!==a.length)for(let e of a)if(t.value){if(e.hasAttribute("data-wording")){let n=e.getAttribute("data-wording");e.textContent=` ${n} ${t.value}`}else e.textContent=t.value}else e.textContent=""}),(0,L.lB)(".js-company-owned:not(:checked)",{constructor:HTMLInputElement,add(e){let t=e.form.querySelector(".js-company-name-input"),n=document.querySelector(".js-company-name-text"),r=document.querySelector(".js-corp-tos-link"),i=document.querySelector(".js-tos-link");t&&(e.getAttribute("data-optional")&&t.removeAttribute("required"),(0,R.m$)(t,"")),i.classList.remove("d-none"),i.setAttribute("aria-hidden","false"),r.classList.add("d-none"),r.setAttribute("aria-hidden","true"),n&&(n.textContent="")}}),(0,L.lB)(".js-company-owned:checked",{constructor:HTMLInputElement,add(e){let t=e.form.querySelector(".js-company-name-input");t&&(t.setAttribute("required",""),(0,y.h)(t,"focus"),(0,y.h)(t,"input"))}}),(0,L.lB)(".js-company-owned-autoselect",{constructor:HTMLInputElement,add(e){function t(){if(e.checked&&e.form){let t=e.form.querySelector(".js-company-owned");(0,R.m$)(t,!0)}}e.addEventListener("change",t),t()}});var e3=n(40622),e9=n(23149),e8=n(23711);let e6=null;function te({currentTarget:e}){if(e.hasAttribute("open")){let t=e.querySelector("[autofocus]");t&&t.focus()}else{let t=e.querySelector("summary");t&&t.focus()}}function tt({currentTarget:e}){e.hasAttribute("open")?(e6&&e6!==e&&e6.removeAttribute("open"),e6=e):e===e6&&(e6=null)}document.addEventListener("keydown",function(e){!e.defaultPrevented&&"Escape"===e.key&&e6&&e6.removeAttribute("open")}),(0,L.lB)(".js-dropdown-details",{subscribe:e=>(0,N.Zz)((0,N.Rt)(e,"toggle",tt),(0,N.Rt)(e,"toggle",te))}),(0,L.lB)("[data-deferred-details-content-url]:not([data-details-no-preload-on-hover])",{subscribe:e=>{let t=e.querySelector("summary");return(0,N.Rt)(t,"mouseenter",e8.s)}}),(0,L.lB)("[data-deferred-details-content-url]",{subscribe:e=>(0,N.Rt)(e,"toggle",e8.s)}),(0,y.on)("click","[data-toggle-for]",function(e){let t=e.currentTarget.getAttribute("data-toggle-for")||"",n=document.getElementById(t);n&&(n.hasAttribute("open")?n.removeAttribute("open"):n.setAttribute("open","open"))}),(0,e9.A)(function({target:e}){if(!e||e.closest("summary"))return;let t=e.parentElement;for(;t;)(t=t.closest("details"))&&(t.hasAttribute("open")||t.setAttribute("open",""),t=t.parentElement)});var tn=n(27552);(0,L.lB)("details.select-menu details-menu include-fragment",function(e){let t=e.closest("details");t&&(e.addEventListener("loadstart",function(){t.classList.add("is-loading"),t.classList.remove("has-error")}),e.addEventListener("error",function(){t.classList.add("has-error")}),e.addEventListener("loadend",function(){t.classList.remove("is-loading");let e=t.querySelector(".js-filterable-field");e&&(0,y.h)(e,"filterable:change")}))}),(0,L.lB)("details details-menu .js-filterable-field",{constructor:HTMLInputElement,add(e){let t=e.closest("details");t.addEventListener("toggle",function(){t.hasAttribute("open")||(e.value="",(0,y.h)(e,"filterable:change"))})}}),(0,L.lB)("details-menu[role=menu] [role=menu]",e=>{let t=e.closest("details-menu[role]");t&&t!==e&&t.removeAttribute("role")}),(0,L.lB)("details details-menu remote-input input",{constructor:HTMLInputElement,add(e){let t=e.closest("details");t.addEventListener("toggle",function(){t.hasAttribute("open")||(e.value="")})}}),(0,L.lB)("form details-menu",e=>{let t=e.closest("form");t.addEventListener("reset",()=>{setTimeout(()=>(function(e){for(let t of e.querySelectorAll("details-menu [role=menuitemradio] input[type=radio]:checked"))(0,y.h)(t,"change")})(t),0)})}),(0,O.Ff)("keypress","details-menu .js-filterable-field, details-menu filter-input input",e=>{if("Enter"===e.key){let t=e.currentTarget.closest("details-menu").querySelector('[role^="menuitem"]:not([hidden])');t instanceof HTMLElement&&!t.classList.contains("select-menu-clear-item")&&t.click(),e.preventDefault()}}),(0,y.on)("details-menu-selected","details-menu",e=>{let t=e.currentTarget.querySelector(".js-filterable-field");t instanceof HTMLInputElement&&t.value&&t.focus()},{capture:!0});let tr=e=>{if(!(e.target instanceof Element))return;let t=e.target.getAttribute("data-menu-input"),n=document.getElementById(t);if(!(n instanceof HTMLInputElement||n instanceof HTMLTextAreaElement))return;let r=e.detail.relatedTarget||e.detail.item.querySelector("button");n.value=r.value};async function ti({currentTarget:e}){let t=e.hasAttribute("open");if(t){let t=e.querySelector(".js-filterable-field");t instanceof HTMLInputElement&&t.focus()}(0,y.h)(e,t?"menu:activate":"menu:deactivate"),await (0,B.k2)(),(0,y.h)(e,t?"menu:activated":"menu:deactivated")}(0,y.on)("itemActivated","[data-menu-input]",tr,{capture:!0}),(0,y.on)("details-menu-selected","[data-menu-input]",tr,{capture:!0}),(0,L.lB)("details-menu remote-input",{constructor:tn.A,initialize(e){let t=document.getElementById(e.getAttribute("aria-owns")||"");if(!t)return;let n=null;e.addEventListener("load",()=>{document.activeElement&&t.contains(document.activeElement)&&document.activeElement.id?n=document.activeElement.id:n=null}),e.addEventListener("loadend",()=>{if(n){let r=t.querySelector(`#${n}`)||t.querySelector('[role^="menu"]');r instanceof HTMLElement?r.focus():e.input&&e.input.focus()}})}}),(0,y.on)("details-menu-selected","details-menu[data-menu-max-options]",e=>{let t=+e.currentTarget.getAttribute("data-menu-max-options")===e.currentTarget.querySelectorAll('[role="menuitemcheckbox"][aria-checked="true"]').length;for(let n of(e.currentTarget.querySelector("[data-menu-max-options-warning]").hidden=!t,e.currentTarget.querySelectorAll('[role="menuitemcheckbox"] input')))n.disabled=t&&!n.checked},{capture:!0}),(0,L.lB)("details > details-menu",{subscribe(e){let t=e.closest("details");return(0,N.Rt)(t,"toggle",ti)}}),(0,L.lB)("details > details-menu[preload]:not([src])",{subscribe:e=>(0,N.Rt)(e.parentElement,"mouseover",function(e){let t=e.currentTarget.querySelector("include-fragment[src]");t?.load()})}),(0,L.lB)("button[data-show-dialog-id]",e=>{e?.addEventListener("mouseenter",()=>{let t=e.getAttribute("data-show-dialog-id"),n=e.ownerDocument.getElementById(t);n?.querySelector("include-fragment[loading=lazy]")?.setAttribute("loading","eager")})}),(0,L.lB)("summary[data-show-dialog-id]",e=>{e?.addEventListener("click",()=>{let t=e.getAttribute("data-show-dialog-id");if(!t)return;let n=e.ownerDocument.getElementById(t);n?.show()})});let ta=new WeakMap;function to(e){return[Array.from(e.querySelectorAll("input[type=submit][data-disable-with], button[data-disable-with]")),Array.from(document.querySelectorAll(`button[data-disable-with][form="${e.id}"]`))].flat()}function ts(e,t){e instanceof HTMLInputElement?e.value=t:e.innerHTML=t}function tl(e){for(let t of to(e)){let n=ta.get(t);null!=n&&(ts(t,n),(!t.hasAttribute("data-disable-invalid")||e.checkValidity())&&(t.disabled=!1),ta.delete(t))}}(0,y.on)("submit","form",function(e){for(let t of to(e.currentTarget)){ta.set(t,t instanceof HTMLInputElement?t.value||"Submit":t.innerHTML||"");let e=t.getAttribute("data-disable-with");e&&ts(t,e),t.disabled=!0}},{capture:!0}),(0,y.on)("deprecatedAjaxComplete","form",function({currentTarget:e,target:t}){e===t&&tl(e)}),(0,v.ZV)(tl),n(32357),n(12291);var tc=n(27260);function tu(e,t){let n=document.querySelector('.js-site-favicon[type="image/svg+xml"]'),r=document.querySelector('.js-site-favicon[type="image/png"]');t||(t="light");let a="light"===t?"":"-dark";if(n&&r){if(null==i&&(i=n.href),e){e=e.substr(0,e.lastIndexOf(".")),e=`${e}${a}.svg`,n.href=e;let t=n.href.substr(0,n.href.lastIndexOf("."));r.href=`${t}.png`}else{let e=n.href.indexOf("-dark.svg"),t=n.href.substr(0,-1!==e?e:n.href.lastIndexOf("."));n.href=`${t}${a}.svg`,r.href=`${t}${a}.png`}}}function td(){return window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches}function tm(){td()&&tu(void 0,"dark")}async function tf(e){let t=e.getAttribute("data-feature-preview-indicator-src"),n=await th(t);for(let t of e.querySelectorAll(".js-feature-preview-indicator"))t.hidden=!n}async function th(e){try{let t=await fetch(e,{headers:{Accept:"application/json"}});if(!t.ok)return!1;return(await t.json()).show_indicator}catch{return!1}}(0,L.lB)("[data-favicon-override]",{add(e){let t=e.getAttribute("data-favicon-override");setTimeout(()=>tu(t,td()?"dark":"light"))},remove(){null!=i&&tu(i,td()?"dark":"light")}}),tm(),document.addEventListener(tc.z.SUCCESS,tm),window.matchMedia("(prefers-color-scheme: dark)").addListener(()=>{tu(void 0,td()?"dark":"light")}),(0,L.lB)(".js-feature-preview-indicator-container",e=>{tf(e)});var tp=n(65024),tg=n(27193);(0,y.on)("click","[data-feature-preview-trigger-url]",async e=>{let t=e.currentTarget,n=t.getAttribute("data-feature-preview-trigger-url"),r=await (0,tp.r)({content:(0,tg.Ts)(document,n),dialogClass:"feature-preview-dialog"}),i=t.getAttribute("data-feature-preview-close-details"),a=t.getAttribute("data-feature-preview-close-hmac");for(let e of(r.addEventListener("dialog:remove",()=>{(0,A.i)({hydroEventPayload:i,hydroEventHmac:a},!0)}),document.querySelectorAll(".js-feature-preview-indicator")))e.hidden=!0}),(0,v.JW)(".js-feature-preview-unenroll",async(e,t)=>{await t.text();let n=e.querySelector(".js-feature-preview-slug").value;(0,y.h)(e,`feature-preview-unenroll:${n}`)}),(0,v.JW)(".js-feature-preview-enroll",async(e,t)=>{await t.text();let n=e.querySelector(".js-feature-preview-slug").value;(0,y.h)(e,`feature-preview-enroll:${n}`)});let tb=class AttachmentUpload{async process(e){var t;let n=window.performance.now(),r=new Headers(this.policy.header||{}),i=new XMLHttpRequest;for(let[e,t]of(i.open("POST",this.policy.upload_url,!0),r))i.setRequestHeader(e,t);i.onloadstart=()=>{e.attachmentUploadDidStart(this.attachment,this.policy)},i.upload.onprogress=t=>{if(t.lengthComputable){let n=Math.round(t.loaded/t.total*100);e.attachmentUploadDidProgress(this.attachment,n)}},await (t=function(e,t){let n=new FormData;for(let e in t.same_origin&&n.append("authenticity_token",t.upload_authenticity_token),t.form)n.append(e,t.form[e]);return n.append("file",e.file),n}(this.attachment,this.policy),new Promise((e,n)=>{i.onload=()=>e(i),i.onerror=n,i.send(t)})),204===i.status?(ty(this.policy),e.attachmentUploadDidComplete(this.attachment,this.policy,{})):201===i.status?(ty(this.policy),e.attachmentUploadDidComplete(this.attachment,this.policy,JSON.parse(i.responseText))):e.attachmentUploadDidError(this.attachment,{status:i.status,body:i.responseText});let a={duration:window.performance.now()-n,size:this.attachment?.file?.size,fileType:this.attachment?.file?.type,success:204===i.status||201===i.status};(0,A.i)({uploadTiming:a},!0)}constructor(e,t){this.attachment=e,this.policy=t}};function ty(e){let t="string"==typeof e.asset_upload_url?e.asset_upload_url:null,n="string"==typeof e.asset_upload_authenticity_token?e.asset_upload_authenticity_token:null;if(!(t&&n))return;let r=new FormData;r.append("authenticity_token",n),fetch(t,{method:"PUT",body:r,credentials:"same-origin",headers:{Accept:"application/json","X-Requested-With":"XMLHttpRequest"}})}async function tv(e,t){let n={attachmentUploadDidStart(n,r){n.saving(0),tA(t,"is-uploading"),(0,y.h)(t,"upload:start",{batch:e,attachment:n,policy:r})},attachmentUploadDidProgress(n,r){n.saving(r),(0,y.h)(t,"upload:progress",{batch:e,attachment:n})},attachmentUploadDidComplete(n,r,i){n.saved({id:(null==i.id?null:String(i.id))||(null==r.asset.id?null:String(r.asset.id)),href:("string"==typeof i.href?i.href:null)||("string"==typeof r.asset.href?r.asset.href:null),name:r.asset.name}),(0,y.h)(t,"upload:complete",{batch:e,attachment:n}),e.isFinished()&&tA(t,"is-default")},attachmentUploadDidError(n,r){e.setAttachmentAsFailed(n),(0,y.h)(t,"upload:error",{batch:e,attachment:n});let{state:i}=tS(r);tA(t,i)}};for(let r of e.attachments){let i=await tw(e,r,t);if(!i)return;try{let e=new tb(r,i);await e.process(n)}catch{e.setAttachmentAsFailed(r),(0,y.h)(t,"upload:error",{batch:e,attachment:r}),tA(t,"is-failed");return}}}async function tw(e,t,n){let r=function(e,t){let n=t.querySelector(".js-data-upload-policy-url-csrf").value,r=t.getAttribute("data-upload-repository-id"),i=t.getAttribute("data-subject-type"),a=t.getAttribute("data-subject-param"),o=t.getAttribute("data-upload-container-type"),s=t.getAttribute("data-upload-container-id"),l=e.file,c=new FormData;return c.append("name",l.name),c.append("size",String(l.size)),c.append("content_type",l.type),c.append("authenticity_token",n),i&&c.append("subject_type",i),a&&c.append("subject",a),r&&c.append("repository_id",r),e.directory&&c.append("directory",e.directory),o&&c.append("upload_container_type",o),o&&s&&c.append("upload_container_id",s),c}(t,n),i=[];(0,y.h)(n,"upload:setup",{batch:e,attachment:t,form:r,preprocess:i});try{await Promise.all(i);let a=await fetch(new Request(n.getAttribute("data-upload-policy-url"),{method:"POST",body:r,credentials:"same-origin",headers:{Accept:"application/json","X-Requested-With":"XMLHttpRequest"}}));if(a.ok)return await a.json();e.setAttachmentAsFailed(t),(0,y.h)(n,"upload:invalid",{batch:e,attachment:t});let o=await a.text(),s=a.status,{state:l,messaging:c}=tS({status:s,body:o},t.file);tA(n,l,c)}catch{e.setAttachmentAsFailed(t),(0,y.h)(n,"upload:invalid",{batch:e,attachment:t}),tA(n,"is-failed")}return null}function tS(e,t){if(400===e.status)return{state:"is-bad-file"};if(422!==e.status)return{state:"is-failed"};let n=JSON.parse(e.body);if(!n||!n.errors)return{state:"is-failed"};for(let e of n.errors)switch(e.field){case"size":{let n=t?t.size:null;if(null!=n&&0===n)return{state:"is-empty"};return{state:"is-too-big",messaging:{message:tE(e.message),target:".js-upload-too-big"}}}case"file_count":return{state:"is-too-many"};case"width":case"height":return{state:"is-bad-dimensions"};case"name":if("already_exists"===e.code)return{state:"is-duplicate-filename"};return{state:"is-bad-file"};case"content_type":return{state:"is-bad-file"};case"uploader_id":return{state:"is-bad-permissions"};case"repository_id":return{state:"is-repository-required"};case"format":return{state:"is-bad-format"}}return{state:"is-failed"}}let tE=e=>e.startsWith("size")?e.substring(5):e,tL=["is-default","is-uploading","is-bad-file","is-duplicate-filename","is-too-big","is-too-many","is-hidden-file","is-failed","is-bad-dimensions","is-empty","is-bad-permissions","is-repository-required","is-bad-format"];function tA(e,t,n){if(n){let{message:t,target:r}=n,i=e.querySelector(r);i&&(i.innerHTML=t)}e.classList.remove(...tL),e.classList.add(t)}let tj=class Batch{percent(){return Math.round(tT(this.attachments,e=>e.file.size*e.percent/100)/this.total*100)}uploaded(){return tT(this.attachments,e=>e.isSaved()?1:0)}isFinished(){return this.attachments.every(e=>this.failedAttachments.includes(e)||e.isSaved())}setAttachmentAsFailed(e){this.attachments.includes(e)&&!this.failedAttachments.includes(e)&&this.failedAttachments.push(e)}constructor(e){this.attachments=e,this.failedAttachments=[],this.size=this.attachments.length,this.total=tT(this.attachments,e=>e.file.size)}};function tT(e,t){return e.reduce((e,n)=>e+t(n),0)}(0,L.lB)("file-attachment[hover]",{add(e){e.classList.add("dragover")},remove(e){e.classList.remove("dragover")}}),(0,y.on)("file-attachment-accept","file-attachment",function(e){let{attachments:t}=e.detail;0===t.length&&(tA(e.currentTarget,"is-hidden-file"),e.preventDefault())}),(0,y.on)("file-attachment-accepted","file-attachment",function(e){let t=e.currentTarget.querySelector(".drag-and-drop");if(t&&t.hidden)return;let{attachments:n}=e.detail;tv(new tj(n),e.currentTarget)}),(0,y.on)("click","button[data-file-attachment-for]",function(e){let t=e.currentTarget.getAttribute("data-file-attachment-for");document.querySelector(`input[type=file]#${t}`).click()});let tC=0;function tk(e){return Array.from(e.types).indexOf("Files")>=0}function tq(e){let t=e.dataTransfer;t&&tk(t)&&e.preventDefault()}function tM(e){let t=e.dataTransfer;t&&tk(t)&&e.preventDefault()}function tx({currentTarget:e}){tA(e.querySelector("file-attachment"),"is-default")}(0,L.lB)("file-attachment",{add(e){0==tC++&&(document.addEventListener("drop",tq),document.addEventListener("dragover",tM));let t=e.closest("form");t&&t.addEventListener("reset",tx)},remove(e){0==--tC&&(document.removeEventListener("drop",tq),document.removeEventListener("dragover",tM));let t=e.closest("form");t&&t.removeEventListener("reset",tx)}});var t_=n(62044);function tR(e,t,n,r={}){let i=r.limit??1/0,a=0;for(let r of e.children){let e=n(r,t);null==e||(e&&a{let t=e.target,n=t.input;if(!(document.activeElement&&document.activeElement===n))return;let{count:r,total:i}=e.detail,a=function(e){let t=e.getAttribute("data-aria-live-element");if(!t)return{};let n=document.getElementById(t);return n?{element:n}:{}}(t);(0,T.i)(`Found ${r} out of ${i} ${1===i?"item":"items"}`,a)}),(0,y.on)("toggle","details",e=>{setTimeout(()=>(function(e){let t=e.querySelector("filter-input");t&&!e.hasAttribute("open")&&t.reset()})(e.target),0)},{capture:!0}),(0,y.on)("tab-container-changed","tab-container",e=>{if(!(e.target instanceof HTMLElement))return;let{relatedTarget:t}=e.detail,n=e.target.querySelector("filter-input");t&&n instanceof t_.A&&n.setAttribute("aria-owns",t.id)},{capture:!0});var tP=n(52976),tI=n(62794);let tB=new WeakMap;function tO(e,t,n){let r=t.toLowerCase(),i=n.limit,a=tB.get(e),o=e.querySelector('input[type="radio"]:checked'),s=Array.from(e.children);if(a){if(e.classList.contains("filter-sort-list-refresh"))for(let t of(e.classList.remove("filter-sort-list-refresh"),Array.from(e.children)))a.includes(t)||a.push(t)}else a=Array.from(e.children),tB.set(e,a);for(let t of s)e.removeChild(t),t instanceof HTMLElement&&(t.style.display="");let l=r?(0,tI.d)(a,n.sortKey,tP.UD):a,c=null==i?l:l.slice(0,i),u=c.length,d=document.createDocumentFragment();for(let e of c)d.appendChild(e);let m=!1;if(o instanceof HTMLInputElement)for(let e of d.querySelectorAll('input[type="radio"]:checked'))e instanceof HTMLInputElement&&e.value!==o.value&&(e.checked=!1,m=!0);return e.appendChild(d),o&&m&&o.dispatchEvent(new Event("change",{bubbles:!0})),u}var t$=n(95353);let tN=new AbortController,tD=new WeakMap,tW=new WeakMap,tF=new WeakMap;async function tU(e,t,n){n&&!tD.has(e)&&tD.set(e,{lastSearchResult:{suggestions:[],users:[]},cachedSuggestions:[],userResultCache:new Map});let r=await tz(e,t,n);return e.hasAttribute("data-filterable-data-pre-rendered")&&(r.suggestions=function(e,t){let n=[],r=e.querySelectorAll(".js-filterable-suggested-user");if(r.length>0)for(let t of e.querySelectorAll(".js-filterable-suggested-user"))t.classList.remove("js-filterable-suggested-user"),n.push({name:t.querySelector(".js-description").textContent,login:t.querySelector(".js-username").textContent,selected:"true"===t.getAttribute("aria-checked"),element:t,suggestion:!0});if(t){let t=tD.get(e);return r.length>0&&(t.cachedSuggestions=n,t.userResultCache.clear()),t.cachedSuggestions}return n}(e,n)),r}async function tz(e,t,n){let r=new URL(e.getAttribute("data-filterable-src")||"",window.location.origin);if("/"===r.pathname)throw Error("could not get data-filterable-src");if(n){let n=tD.get(e),i=t.trim();if(n.lastSearchText===i)return n.lastSearchResult;let a=void 0===n.lastSearchText;n.lastSearchText=i;let o=e.getAttribute("data-filterable-for")||"",s=document.getElementById(o);if(tN.abort(),""===i)n.lastSearchResult={suggestions:[],users:[]};else{let e={headers:{Accept:"application/json","X-Requested-With":"XMLHttpRequest"},signal:(tN=new AbortController).signal},i=r.searchParams||new URLSearchParams;i.set("q",t),i.set("typeAhead","true"),r.search=i.toString(),a||s?.classList.add("is-loading");let o=await fetch(r.toString(),e);n.lastSearchResult=await o.json()}return s?.classList.remove("is-loading"),n.lastSearchResult}{let e=await fetch(r.toString(),{headers:{Accept:"application/json","X-Requested-With":"XMLHttpRequest"}});return await e.json()}}async function tX(e,t,n){tF.set(e,t),await (0,t$.A)();let r=e.hasAttribute("data-filterable-show-suggestion-header"),i=e.hasAttribute("data-filterable-type-ahead"),a=tW.get(e);if(!a)try{a=await tU(e,t,i),i||tW.set(e,a)}catch(e){if("AbortError"===e.name)return -1;throw e}if(!i&&tF.get(e)!==t)return -1;let o=n.limit,s=e.querySelector("template"),l={};for(let t of e.querySelectorAll("input[type=hidden]"))l[`${t.name}${t.value}`]=t;let c=s.nextElementSibling;for(;c;){let e=c;c=e.nextElementSibling,e instanceof HTMLElement&&(i||"true"===e.getAttribute("aria-checked")||e.classList.contains("select-menu-divider"))?e.hidden=!0:e.remove()}let u=0,d=""===t.trim(),m=document.createDocumentFragment(),f=e.querySelector(".js-divider-suggestions"),h=e.querySelector(".js-divider-rest"),p=tD.get(e);function g(e){let n=`${e.login} ${e.name}`.toLowerCase().trim().includes(t),r=!(null!=o&&u>=o)&&n;if(r||e.selected||e.suggestion){let t=function(e,t,n,r){if(null!=e.element)return e.element;if(r?.userResultCache.has(e.id))return r.userResultCache.get(e.id);let i=t.content.cloneNode(!0),a=i.querySelector("input[type=checkbox], input[type=radio]");e.type&&(a.name=`reviewer_${e.type}_ids[]`),a.value=e.id;let o=`${a.name}${e.id}`,s=e.selected;n[o]&&(s=!0,n[o].remove(),delete n[o]);let l=i.querySelector("[role^=menuitem]");s&&(l.setAttribute("aria-checked","true"),a.checked=!0),e.disabled&&l.setAttribute("aria-disabled","true");let c=i.querySelector(".js-username");c&&(c.textContent=e.login);let u=i.querySelector(".js-description");u&&(u.textContent=e.name);let d=i.querySelector(".js-extended-description");d&&(e.description?d.textContent=e.description:d.remove());let m=i.querySelector(".js-avatar");return"Copilot"===e.login?(i.querySelector(".js-copilot-avatar").hidden=!1,m.hidden=!0):(m.className=`${m.className} ${e.class}`,m.src=e.avatar),e.element=l,r?.userResultCache.set(e.id,l),e.element}(e,s,l,p);t.hidden=!r,r&&u++,m.appendChild(t)}}let b=!1;if(f&&(a.suggestions?.length>0||r&&a.users.length>0)){let e=a.suggestions??[],t=e.filter(e=>e.selected),n=e.filter(e=>!e.selected);for(let e of t)g(e);m.appendChild(f);let o=u;for(let e of n)g(e);b=u>o,f.hidden=!b||i&&!d,r&&a.users.length>0&&(f.hidden=!d)}h&&m.appendChild(h);let y=u;for(let e of a.users)g(e);return h&&(h.hidden=y===u||!b),e.append(m),u}let tV=new AbortController,tG=new WeakMap,tK=new WeakMap,tJ=new WeakMap;async function tY(e,t,n){await (0,t$.A)(),tJ.set(e,t);let r=tK.get(e);if(!r)try{r=await tZ(e,t)}catch(e){if("AbortError"===e.name)return -1;throw e}let i={};for(let t of e.querySelectorAll("label[aria-checked=true] > div > input[hidden]"))i[`${t.name}${t.value}`]=t;let a=e.querySelector("template"),o=a.nextElementSibling;for(;o;){let e=o;o=e.nextElementSibling,e instanceof HTMLElement&&("true"===e.getAttribute("aria-checked")||e.classList.contains("select-menu-divider"))?e.hidden=!0:e.remove()}let s=document.createDocumentFragment(),l=tG.get(e),c=n.limit,u=0;for(let e of r.labels)!function(e){let n=`${e.name}`.toLowerCase().trim().includes(t.toLocaleLowerCase()),r=!(null!=c&&u>=c)&&n;if(r||e.selected){let t=function(e,t,n,r){if(null!=e.element)return e.element;let i=r?.labelResultCache.get(e.id);if(i)return i;let a=t.content.cloneNode(!0),o=a.querySelector("input[type=checkbox]");o.value=e.id,o.setAttribute("data-label-name",e.name);let s=`${o.name}${e.id}`,l=e.selected;n[s]&&(l=!0,n[s].remove(),delete n[s]);let c=a.querySelector("[role^=menuitem]");l&&(c.setAttribute("aria-checked","true"),o.checked=!0);let u=a.querySelector(".js-label-id");u&&u.setAttribute("data-name",e.id);let d=a.querySelector(".js-label-color");if(d){let t=d.getAttribute("style")?.replace("background-color:",`background-color:#${e.color};`);d.setAttribute("style",t)}let m=a.querySelector(".js-label-name-html");m&&(m.innerHTML=e.htmlName);let f=a.querySelector(".js-label-description");return f&&(e.description?f.textContent=e.description:f.remove()),e.element=c,r?.labelResultCache.set(e.id,c),e.element}(e,a,i,l);t.hidden=!r,r&&u++,s.appendChild(t)}}(e);return e.append(s),u}async function tZ(e,t){return!tG.has(e)&&tG.set(e,{lastSearchResult:{labels:[]},cachedSuggestions:[],labelResultCache:new Map}),e.hasAttribute("data-filterable-data-pre-rendered")?function(e){let t=[],n=e.querySelectorAll(".js-filterable-label");if(e.removeAttribute("data-filterable-data-pre-rendered"),n.length>0)for(let n of e.querySelectorAll(".js-filterable-label"))n.classList.remove("js-filterable-label"),t.push({id:n.querySelector("input[hidden]").getAttribute("value")||"",name:n.querySelector("input[hidden]").getAttribute("data-label-name")||"",htmlName:n.querySelector(".js-label-name-html").textContent,description:n.querySelector(".js-label-description")?.textContent||"",color:n.querySelector(".js-label-color").getAttribute("label-color")||"",selected:"true"===n.getAttribute("aria-checked"),element:n});let r=tG.get(e);return t.length>0&&(r.cachedSuggestions=t,r.lastSearchText="",r.lastSearchResult={labels:t}),r.lastSearchResult}(e):await tQ(e,t)}async function tQ(e,t){let n=new URL(e.getAttribute("data-filterable-src")||"",window.location.origin);if("/"===n.pathname)throw Error("could not get data-filterable-src");let r=tG.get(e),i=t.trim();if(r.lastSearchText===i)return r.lastSearchResult;r.lastSearchText=i;let a=e.getAttribute("data-filterable-for")||"",o=document.getElementById(a);tV.abort();let s={headers:{Accept:"application/json","X-Requested-With":"XMLHttpRequest"},signal:(tV=new AbortController).signal},l=n.searchParams||new URLSearchParams;l.set("q",t),l.set("typeAhead","true"),n.search=l.toString(),o?.classList.add("is-loading");let c=await fetch(n.toString(),s);return r.lastSearchResult=await c.json(),o?.classList.remove("is-loading"),r.lastSearchResult}async function t0(e,t){let n=parseInt(e.getAttribute("data-filterable-limit"),10)||null,r=0;switch(e.getAttribute("data-filterable-type")){case"fuzzy-prio":{let i=t.toLowerCase();r=tO(e,t,{limit:n,sortKey:e=>{let t=e.getAttribute("data-prio-filter-value").toLowerCase().trim(),n=e.textContent.toLowerCase().trim(),r=2*(0,tP.dt)(t,i,.01),a=(0,tP.dt)(n,i,.01);return r>a&&(a=r),a>0?{score:a,text:n}:null}});break}case"fuzzy":{let i=t.toLowerCase();r=tO(e,t,{limit:n,sortKey:e=>{let t=e.hasAttribute("data-filter-value")?e.getAttribute("data-filter-value").toLowerCase().trim():e.textContent.toLowerCase().trim(),n=(0,tP.dt)(t,i);return n>0?{score:n,text:t}:null}});break}case"substring":r=tR(e,t.toLowerCase(),t2,{limit:n});break;case"substring-memory":r=await tX(e,t,{limit:n});break;case"labels-typeahead":r=await tY(e,t,{limit:n});break;default:r=tR(e,t.toLowerCase(),t1,{limit:n})}return e.classList.toggle("filterable-active",t.length>0),e.classList.toggle("filterable-empty",0===r),r}function t1(e,t){return e.textContent.toLowerCase().trim().startsWith(t)}function t2(e,t){return e.hasAttribute("data-skip-substring-filter")||e.classList.contains("select-menu-no-results")?null:(e.querySelector("[data-filterable-item-text]")||e).textContent.toLowerCase().trim().includes(t)}(0,L.lB)(".js-filterable-field",{constructor:HTMLInputElement,initialize(e){e.autocomplete||(e.autocomplete="off");let t=e.hasAttribute("type-ahead")?200:null,n=e.value;async function r(e){n!==e.value&&(n=e.value,await (0,B.k2)(),(0,y.h)(e,"filterable:change"))}async function i(){n=e.value,await (0,B.k2)(),(0,y.h)(e,"filterable:change")}return{add(e){e.addEventListener("focus",i),(0,z.Up)(e,r,{wait:t}),document.activeElement===e&&i()},remove(e){e.removeEventListener("focus",i),(0,z.NB)(e,r)}}}}),(0,y.on)("filterable:change",".js-filterable-field",async function(e){let t=e.currentTarget,n=t.value.trim().toLowerCase();for(let e of document.querySelectorAll(`[data-filterable-for="${t.id}"]`)){let r=await t0(e,n);if(-1===r)return;document.activeElement&&t===document.activeElement&&(0,T.i)(`${r} results found.`),e.dispatchEvent(new CustomEvent("filterable:change",{bubbles:!0,cancelable:!1,detail:{inputField:t}}))}}),(0,y.on)("filterable:change","details-menu .select-menu-list",function(e){let t=e.currentTarget,n=t.querySelector(".js-new-item-form");n&&function(e,t,n){let r=n.length>0&&!function(e,t){for(let n of e.querySelectorAll("[data-menu-button-text]"))if(n.textContent.toLowerCase().trim()===t.toLowerCase())return!0;return!1}(e,n);if(e.classList.toggle("is-showing-new-item-form",r),!r)return;t.querySelector(".js-new-item-name").textContent=n;let i=t.querySelector(".js-new-item-value");(i instanceof HTMLInputElement||i instanceof HTMLButtonElement)&&(i.value=n)}(t,n,e.detail.inputField.value)}),(0,L.lB)("tab-container .select-menu-list .filterable-empty, details-menu .select-menu-list .filterable-empty",{add(e){e.closest(".select-menu-list").classList.add("filterable-empty")},remove(e){e.closest(".select-menu-list").classList.remove("filterable-empty")}});var t5=n(31056);function t4(){!document.firstElementChild.classList.contains("js-skip-scroll-target-into-view")&&(0,t5.Oc)(document)&&(0,t5.GO)(document)}(0,e9.A)(t4),(0,y.on)("click",'a[href^="#"]',function(e){let{currentTarget:t}=e;t instanceof HTMLAnchorElement&&setTimeout(t4,0)});let t7=e=>{let t=Array.from(Array.from(document.querySelectorAll('h1:not([hidden]),h2:not([hidden]),h3:not([hidden]),button:not([disabled]):not([hidden]),a:not([hidden]),input:not([disabled]):not([hidden]), select:not([disabled]):not([hidden]), textarea:not([disabled]):not([hidden]), [tabindex]:not([tabindex="-1"]):not([disabled]):not([hidden])'))).filter(e=>{if(!e.getAttribute("aria-hidden")&&!(e.offsetWidth<=0&&e.offsetHeight<=0)&&e?.offsetParent?.style.visibility!=="hidden")return!0}),n=t.indexOf(e);if(-1!==n&&n>0){let e=t[n-1];e&&("H1"===e.tagName||"H2"===e.tagName||"H3"===e.tagName)&&e.setAttribute("tabindex","-1"),e?.focus()}};(0,y.on)("click",".js-flash-close",function(e){let t=e.currentTarget.closest(".flash-messages");t7(e.target),e.currentTarget.closest(".flash").remove(),t&&!t.querySelector(".flash")&&t.remove()}),async function(){await en.K;let e=document.querySelector('.js-flash-alert[role="alert"]');e&&setTimeout(()=>{!function(e){let t=document.createTextNode("\xa0"),n=document.createElement("span");n.classList.add("sr-only"),n.appendChild(t),e.appendChild(n)}(e)},200)}();var t3=n(79049);let t9=["flash-notice","flash-error","flash-message","flash-warn"];(0,L.lB)("template.js-flash-template",{constructor:HTMLTemplateElement,add(e){!function(e){for(let{key:t,value:n}of t9.flatMap(el.OR)){let r;(0,el.Yj)(t);try{r=atob(decodeURIComponent(n))}catch{continue}e.after(new t3.i4(e,{className:t,message:r}))}}(e)}});let t8=new WeakMap;document.addEventListener("focus",function(e){let t=e.target;t instanceof Element&&!t8.get(t)&&((0,y.h)(t,"focusin:delay"),t8.set(t,!0))},{capture:!0}),document.addEventListener("blur",function(e){setTimeout(function(){let t=e.target;t instanceof Element&&t!==document.activeElement&&((0,y.h)(t,"focusout:delay"),t8.delete(t))},200)},{capture:!0}),(0,v.JW)(".js-form-toggle-target",async function(e,t){try{await t.text()}catch{return}let n=e.closest(".js-form-toggle-container").querySelector(".js-form-toggle-target[hidden]");n.hidden=!1,e.hidden=!0;let r=e.getAttribute("data-sr-feedback")||"";r&&(0,T.i)(r),n?.querySelector("input[type=submit], button[type=submit]")?.focus()});var t6=n(52558);function ne(e){if(!(e instanceof CustomEvent))return;let t={};e.target instanceof t6.A&&(t.element=e.target.ariaLiveElement),(0,T.i)(`${e.detail} results found.`,t)}function nt(e){for(let t of document.querySelectorAll(".js-hook-event-checkbox"))t.checked=t.matches(e)}(0,L.lB)("fuzzy-list",{constructor:t6.A,subscribe:e=>(0,N.Rt)(e,"fuzzy-list-sorted",ne)}),(0,y.on)("click",".email-hidden-toggle",function(e){let t=e.currentTarget.nextElementSibling;t instanceof HTMLElement&&(t.style.display="",t.classList.toggle("expanded"),e.preventDefault())}),n(99833),(0,L.lB)(".js-hook-url-field",{constructor:HTMLInputElement,add(e){function t(){let t;let n=e.form;if(!n)return;try{t=new URL(e.value)}catch{}let r=n.querySelector(".js-ssl-hook-fields");r instanceof HTMLElement&&(r.hidden=!(t&&"https:"===t.protocol))}(0,z.Up)(e,t),t()}}),(0,y.on)("change",".js-hook-event-choice",function(e){let t=e.currentTarget,n=t.checked&&"custom"===t.value,r=t.closest(".js-hook-events-field");r&&r.classList.toggle("is-custom",n);let i=document.getElementsByClassName("js-hook-event-selector")[0];i&&n?i.hidden=!1:i&&!n&&!1===i.hidden&&(i.hidden=!0),t.checked&&(n?document.querySelector(".js-hook-wildcard-event").checked=!1:"push"===t.value?nt('[value="push"]'):"all"===t.value&&nt(".js-hook-wildcard-event"))}),(0,y.on)("click",".js-hook-deliveries-pagination-button",async function(e){let t=e.currentTarget;t.disabled=!0;let n=t.parentElement,r=t.getAttribute("data-url");n.before(await (0,tg.Ts)(document,r)),n.remove()}),(0,v.JW)(".js-redeliver-hook-form",async function(e,t){let n;try{n=await t.html()}catch{e.classList.add("failed");return}document.querySelector(".js-hook-deliveries-container").replaceWith(n.html)}),function(){let e=document.getElementById("insecure_ssl_verification"),t=document.getElementById("insecure_ssl_verification_submit"),n=document.getElementById("insecure_ssl_0"),r=document.getElementById("insecure_ssl_1");e&&t&&n&&r&&(r.addEventListener("change",t=>{t.stopPropagation(),n.checked=!0,e instanceof HTMLDialogElement?e.showModal():e.show()}),t.addEventListener("click",()=>{r.checked=!0}),e.addEventListener("dialog:remove",()=>{r.checked=!0}))}();var nn=n(18558);p="[data-hotkey]",(0,L.lB)(p,{constructor:HTMLElement,add(e){if((0,e7.zw)())(0,nn.ai)(e);else{let t=e.getAttribute("data-hotkey");if(t){let n=(0,nn.SK)(t).filter(e=>(0,e7.GI)(e)).join(",");n.length>0?(e.setAttribute("data-hotkey",n),(0,nn.ai)(e)):(e.removeAttribute("data-hotkey"),(0,nn.JC)(e))}}},remove(e){(0,nn.JC)(e)}});var nr=n(69676),ni=n(18036);let na=()=>{if(void 0!==m)return m;let e=document.querySelector("meta[name=hovercards-preference]");return!e||(m="true"===e.content)},no=(0,eu.G7)("hovercard_accessibility"),ns=(0,eu.G7)("announcement_preference_hovercard"),nl=document.querySelector(".js-hovercard-content");(0,L.lB)(".js-hovercard-content",e=>{nl=e});let nc=(0,eG.A)(tg.Ts),nu=null,nd=null,nm=!1,nf=!1,nh=0;function np(e){return"Popover-message--"+e}function ng(){if(!(nl instanceof HTMLElement))return;nl.style.display="none",nl.removeAttribute("data-hovercard-target-url");let e=nl.querySelector(".Popover-message");e instanceof HTMLElement&&(e.textContent=""),nu=null,a=null,h&&h.abort()}async function nb(e,t){let n;if("ontouchstart"in document)return;let r=e.currentTarget;if(e instanceof MouseEvent&&(nh=e.clientX),!(r instanceof Element)||a===r||r.closest(".js-hovercard-content")||!function(e){let t=e.getAttribute("data-hovercard-type");return"pull_request"===t||"issue"===t?!!e.closest("[data-issue-and-pr-hovercards-enabled]"):"team"===t?!!e.closest("[data-team-hovercards-enabled]"):"repository"===t?!!e.closest("[data-repository-hovercards-enabled]"):"commit"===t?!!e.closest("[data-commit-hovercards-enabled]"):"project"===t?!!e.closest("[data-project-hovercards-enabled]"):"discussion"===t?!!e.closest("[data-discussion-hovercards-enabled]"):"acv_badge"===t?!!e.closest("[data-acv-badge-hovercards-enabled]"):"sponsors_listing"!==t||!!e.closest("[data-sponsors-listing-hovercards-enabled]")}(r))return;ng(),a=r,nu=document.activeElement;let i=function(e){let t=e.getAttribute("data-hovercard-url");if(t){let n=function(e){let t=e.closest("[data-hovercard-subject-tag]");if(t)return t.getAttribute("data-hovercard-subject-tag");let n=document.head&&document.head.querySelector('meta[name="hovercard-subject-tag"]');return n?n.getAttribute("content"):null}(e);if(n){let e=new URL(t,window.location.origin),r=new URLSearchParams(e.search.slice(1));return r.append("subject",n),r.append("current_path",window.location.pathname+window.location.search),e.search=r.toString(),e.toString()}return t}return""}(r);try{let o=new Promise(e=>window.setTimeout(e,t,0));await o,a||"focusin"!==e.type||(a=e.target),r===a&&(n=await nc(document,i))}catch(t){let e=t.response;if(e&&404===e.status)r.setAttribute("aria-label","Hovercard is unavailable"),r.classList.add("tooltipped","tooltipped-ne");else if(e&&410===e.status){let t=await e.clone().json();r.setAttribute("aria-label",t.message),r.classList.add("tooltipped","tooltipped-ne")}return}r===a&&n&&(h=function(e,t){if(!(nl instanceof HTMLElement))return;let n=nl.querySelector(".Popover-message");if(!(n instanceof HTMLElement))return;n.textContent="";let r=document.createElement("div");for(let t of e.children)r.appendChild(t.cloneNode(!0));if(n.appendChild(r),!function(e,t){if(!(nl instanceof HTMLElement))return;nl.style.visibility="hidden",nl.style.display="block",t.classList.remove(np("bottom-left"),np("bottom-right"),np("right-top"),np("right-bottom"),np("top-left"),np("top-right"));let{containerTop:n,containerLeft:r,contentClassSuffix:i}=function(e){let{width:t,height:n}=nl.getBoundingClientRect(),{left:r,top:i,height:a,width:o}=function(e){let t=e.getClientRects(),n=t[0]||e.getBoundingClientRect()||{top:0,left:0,height:0,width:0};if(t.length>0){for(let e of t)if(e.leftnh){n=e;break}}return n}(e),s=window.innerHeight-i,l=i>n,c=s>n,u=i>=s;if(e.classList.contains("js-hovercard-left")){let e=i+a/2;return{containerTop:l||c?l?e-n+17+8:e-17-8:u?e-n+17+8:e-17-8,containerLeft:r-t-12,contentClassSuffix:l?"right-bottom":"right-top"}}{let e=window.innerWidth-r>t,s=r+o/2;return{containerTop:l||c||e?l?i-n-12:i+a+12:u?i-n-12:i+a+12,containerLeft:e?s-24:s-t+24,contentClassSuffix:l?e?"bottom-left":"bottom-right":e?"top-left":"top-right"}}}(e);t.classList.add(np(i)),no?(nl.style.setProperty("top",`${n+window.pageYOffset}px`,"important"),nl.style.setProperty("bottom","auto","important")):nl.style.top=`${n+window.pageYOffset}px`,nl.style.left=`${r+window.pageXOffset}px`,function(e,t){let n=e.getAttribute("data-hovercard-z-index-override");n?t.style.zIndex=n:t.style.zIndex="100"}(e,nl),nl.style.visibility=""}(t,n),setTimeout(()=>{if(document.body&&document.body.contains(r)){let e=r.querySelector("[data-hydro-view]");e instanceof HTMLElement&&(0,ni.$3)(e)}},500),no||(0,T.C)(r),nl.style.display="block",nl.setAttribute("data-hovercard-target-url",t.getAttribute("data-hovercard-url")||""),nl.setAttribute("aria-label",function(e){let t;let n=e.getAttribute("data-hovercard-type");if(!n)return"Hovercard";switch(n){case"user":t="User";break;case"organization":t="Organization";break;case"pull_request":t="Pull Request";break;case"issue":t="Issue";break;case"team":t="Team";break;case"repository":t="Repository";break;case"commit":t="Commit";break;case"project":t="Project";break;case"discussion":t="Discussion";break;case"sponsors_listing":t="Sponsors";break;case"acv_badge":return"Arctic Code Vault Badge"}return t?`${t} Hovercard`:"Hovercard"}(t)),nl.setAttribute("role","region"),!nf&&no)return(0,nr.iE)(nl)}(n,r))}function ny(e){if(a){if(e instanceof MouseEvent&&e.relatedTarget instanceof HTMLElement){let t=e.relatedTarget;if(t.closest(".js-hovercard-content")||t.closest("[data-hovercard-url]"))return}else e instanceof KeyboardEvent&&nu instanceof HTMLElement&&nu.focus();ng()}}function nv(e){e instanceof KeyboardEvent&&e.altKey&&"ArrowUp"===e.key&&e.preventDefault()}function nw(e){if(e instanceof KeyboardEvent)switch(e.key){case"ArrowUp":no&&e.altKey&&(nd=document.activeElement,nb(e,0));break;case"Escape":ny(e)}}function nS(){o&&clearTimeout(o)}function nE(e){e instanceof KeyboardEvent&&"Escape"===e.key&&(ny(e),nd?.focus())}function nL(e){nm=!0,nb(e,0)}function nA(e){nm=!1,nf||ny(e)}function nj(e){nf=!1,(no||!nm)&&function(e){let t=a;o=window.setTimeout(()=>{a===t&&ny(e)},100)}(e)}function nT(e){nf=!0,nb(e,(0,eu.G7)("hovercard_longer_activate_timeout")?500:250)}function nC(){nf=!0,nS()}function nk(){nm=!0,nS()}nl&&na()&&((0,L.lB)("[data-hovercard-url]",{subscribe:e=>(0,N.Zz)((0,N.Rt)(e,"mouseover",nT),(0,N.Rt)(e,"mouseleave",nj),(0,N.Rt)(e,"keyup",nw),(0,N.Rt)(e,"keydown",nv))}),no&&ns&&(()=>{if(void 0!==f)return f;if(!na())return!1;let e=document.querySelector("meta[name=announcement-preference-hovercard]");return!e||(f="true"===e.content)})()&&(0,L.lB)("[data-hovercard-url]",{add(e){e.setAttribute("aria-keyshortcuts","Alt+ArrowUp")}}),(0,L.lB)("[data-hovercard-url]",{remove(e){a===e&&ng()}}),no||(0,L.lB)("[data-hovercard-url]",{subscribe:e=>(0,N.Zz)((0,N.Rt)(e,"focusin",nL),(0,N.Rt)(e,"focusout",nA))}),(0,L.lB)(".js-hovercard-content",{subscribe:e=>(0,N.Zz)((0,N.Rt)(e,"mouseover",nC),(0,N.Rt)(e,"focusin",nk),(0,N.Rt)(e,"mouseleave",nj),(0,N.Rt)(e,no?"keydown":"keyup",no?nE:nw))}),no||(0,L.lB)(".js-hovercard-content",{subscribe:e=>(0,N.Zz)((0,N.Rt)(e,"focusout",nA))}),(0,y.on)("menu:activated","details",ng),window.addEventListener("turbo:load",ng),window.addEventListener("statechange",ng),no||window.addEventListener("focusin",nA));var nq=n(54861);function nM(e={}){let t=(0,nq.fX)();return t?{...e,react_app:t}:e}!async function(){document.addEventListener(tc.z.FRAME_UPDATE,()=>(0,w.lA)(nM({turbo:"true"}))),document.addEventListener(tc.z.SUCCESS,()=>{"turbo.frame"!==(0,nq.di)()&&(0,w.lA)(nM({turbo:"true"}))}),await en.K,(0,w.lA)(nM())}(),(0,y.on)("click","[data-octo-click]",function(e){let t=e.currentTarget;if(!(t instanceof HTMLElement))return;let n=t.getAttribute("data-octo-click")||"",r={};if(t.hasAttribute("data-ga-click")){let e=t.getAttribute("data-ga-click").split(",");r.category=e[0].trim(),r.action=e[1].trim()}if(t.hasAttribute("data-octo-dimensions"))for(let e of t.getAttribute("data-octo-dimensions").split(",")){let[t,n]=e.split(/:(.+)/);t&&(r[t]=n||"")}(0,w.BI)(n,r)}),(0,y.on)("click","[data-hydro-click]",function(e){let t=e.currentTarget,n=t.getAttribute("data-hydro-click")||"",r=t.getAttribute("data-hydro-click-hmac")||"",i=t.getAttribute("data-hydro-client-context")||"";(0,ni.Vb)(n,r,i)}),(0,v.JW)(".js-immediate-updates",async function(e,t){let n;try{n=(await t.json()).json.updateContent}catch(e){e.response.json&&(n=e.response.json.updateContent)}if(n)for(let e in n){let t=n[e],r=document.querySelector(e);r instanceof HTMLElement&&(0,eg.Uv)(r,t)}}),(0,L.lB)("[data-indeterminate]",{constructor:HTMLInputElement,initialize(e){e.indeterminate=!0}});let nx=!1;async function n_(){if(nx)return;nx=!0;let e={contexts:document.querySelector("meta[name=github-keyboard-shortcuts]").content},t=`/site/keyboard_shortcuts?${new URLSearchParams(e).toString()}`,n=await (0,tp.r)({content:(0,tg.Ts)(document,t),labelledBy:"keyboard-shortcuts-heading"});n.style.width="800px",n.addEventListener("dialog:remove",function(){nx=!1},{once:!0})}function nR(e){let t=e.currentTarget;if(!(t instanceof HTMLInputElement||t instanceof HTMLTextAreaElement))return;let n=parseInt(t.getAttribute("data-input-max-length")||"",10),r=parseInt(t.getAttribute("data-warning-length")||"",10)||5,i=t.value.replace(/(\r\n|\n|\r)/g,"\r\n"),a=n-i.length;if(a<=0){let e=i.substr(0,n);e.endsWith("\r")?(e=e.substr(0,n-1),a=1):a=0,t.value=e}let o=t.getAttribute("data-warning-text"),s=t.closest(".js-length-limited-input-container").querySelector(".js-length-limited-input-warning");a<=r?(s.textContent=o.replace(/{{remaining}}/g,`${a}`),s.classList.remove("d-none")):(s.textContent="",s.classList.add("d-none"))}(0,y.on)("click",".js-keyboard-shortcuts",n_),(0,eu.G7)("react_keyboard_shortcuts_dialog")||document.addEventListener("keydown",e=>{!(e instanceof KeyboardEvent)||!(0,e7.$$)(e)||e.target instanceof Node&&(0,R.Z8)(e.target)||"Shift+?"!==(0,nn.Vy)(e)||n_()}),(0,L.lB)(".js-modifier-key",{constructor:HTMLElement,add(e){if(/Macintosh/.test(navigator.userAgent)){let t=e.textContent;t&&(t=(t=t.replace(/ctrl/,"\u2318")).replace(/alt/,"\u2325"),e.textContent=t)}}}),(0,L.lB)(".js-length-limited-input",{add(e){e.addEventListener("input",nR),e.addEventListener("change",nR)},remove(e){e.removeEventListener("input",nR),e.removeEventListener("change",nR)}}),(0,y.on)("click",".js-member-search-filter",function(e){e.preventDefault();let t=e.currentTarget.getAttribute("data-filter"),n=e.currentTarget.closest("[data-filter-on]").getAttribute("data-filter-on"),r=document.querySelector(".js-member-filter-field"),i=r.value,a=RegExp(`${n}:(?:[a-z]|_|((').*(')))+`),o=i.toString().trim().replace(a,"");r.value=`${o} ${t}`.replace(/\s\s/," ").trim(),r.focus(),(0,y.h)(r,"input")}),(0,v.JW)(".js-notice-dismiss",async function(e,t){await t.text(),e.closest(".js-notice").remove()}),(0,y.on)("submit",".js-notice-dismiss-remote",async function(e){let t;let n=e.currentTarget;e.preventDefault();try{t=await fetch(n.action,{method:n.method,body:new FormData(n),headers:{Accept:"application/json","X-Requested-With":"XMLHttpRequest"}})}catch{(0,b.n)();return}t&&!t.ok?(0,b.n)():n.closest(".js-notice").remove()}),(0,y.on)("click",".js-github-dev-shortcut",function(e){for(let t of(e.preventDefault(),document.querySelectorAll("textarea.js-comment-field")))if(t.value&&function(e){try{let t=e.getBoundingClientRect();if(0===t.height&&0===t.width||"0"===e.style.opacity||"hidden"===e.style.visibility)return!1}catch{}return!0}(t)&&!confirm("Are you sure you want to open github.dev?"))return;let t=e.currentTarget;t.pathname=window.location.pathname,t.hash=window.location.hash,window.location.href=t.href}),(0,y.on)("click",".js-github-dev-new-tab-shortcut",function(e){let t=e.currentTarget;t.pathname=window.location.pathname,t.hash=window.location.hash}),(0,y.on)("click",".js-permalink-shortcut",function(e){let t=e.currentTarget;try{(0,P.g5)(null,"",t.href+window.location.hash)}catch{window.location.href=t.href+window.location.hash}for(let e of document.querySelectorAll(".js-permalink-replaceable-link"))e instanceof HTMLAnchorElement&&(e.href=e.getAttribute("data-permalink-href"));e.preventDefault()}),(0,v.JW)(".js-permission-menu-form",async function(e,t){let n;let r=e.querySelector(".js-permission-success"),i=e.querySelector(".js-permission-error");r.hidden=!0,i.hidden=!0,e.classList.add("is-loading");try{n=await t.json()}catch{e.classList.remove("is-loading"),i.hidden=!1;return}if(200===n.status&&e.querySelector("select-panel, select-panel-experimental")){let t=e.querySelector("span.Button-label");t&&(t.textContent=`Role: ${n.json.action}`)}e.classList.remove("is-loading"),r.hidden=!1;let a=e.closest(".js-org-repo");if(a){let e=n.json;a.classList.toggle("with-higher-access",e.members_with_higher_access)}});let nH=null,nP="last_turbo_request",nI="turbo_start",nB="turbo_end";async function nO(){if(await (0,B.k2)(),!window.performance.getEntriesByName(nI).length)return;window.performance.mark(nB),window.performance.measure(nP,nI,nB);let e=window.performance.getEntriesByName(nP).pop(),t=e?e.duration:null;t&&(nH&&(0,A.i)({requestUrl:nH,turboDuration:Math.round(t)}),window.performance.clearMarks(nI),window.performance.clearMarks(nB),window.performance.clearMeasures(nP))}"getEntriesByName"in window.performance&&(document.addEventListener("turbo:before-fetch-request",function(e){e instanceof CustomEvent&&e.detail?.url&&!e.defaultPrevented&&(window.performance.mark(nI),nH=e.detail.url)}),document.addEventListener("turbo:render",nO)),(0,L.lB)("body.js-print-popup",()=>{window.print(),setTimeout(window.close,1e3)}),(0,L.lB)("poll-include-fragment[data-redirect-url]",function(e){let t=e.getAttribute("data-redirect-url");e.addEventListener("load",function(){window.location.href=t})}),(0,L.lB)("poll-include-fragment[data-reload]",function(e){e.addEventListener("load",function(){window.location.reload()})}),(0,O.Ff)("keydown",".js-quick-submit",function(e){(function(e){let t=e.target;if((e.ctrlKey||e.metaKey)&&"Enter"===e.key){let n=t.form,r=n.querySelector("input[type=submit], button[type=submit]");if(e.shiftKey){let e=n.querySelector(".js-quick-submit-alternative");(e instanceof HTMLInputElement||e instanceof HTMLButtonElement)&&!e.disabled&&(0,R.k_)(n,e)}else(r instanceof HTMLInputElement||r instanceof HTMLButtonElement)&&r.disabled||(0,R.k_)(n);e.preventDefault()}})(e)});var n$=n(66661);function nN(e){return"DIV"===e.nodeName&&e.classList.contains("highlight")}(0,L.lB)(".js-comment-quote-reply",function(e){e.hidden=e.closest(".js-quote-selection-container")?.querySelector(".js-inline-comment-form-container textarea, .js-new-comment-form textarea, .js-discussions-previewable-comment-form")==null});let nD={PRE(e){let t=e.parentElement;if(t&&nN(t)){let n=t.className.match(/highlight-source-(\S+)/),r=n?n[1]:"",i=(e.textContent||"").replace(/\n+$/,"");e.textContent=`\`\`\`${r} +${i} +\`\`\``,e.append("\n\n")}return e},A(e){let t=e.textContent||"";return e.classList.contains("user-mention")||e.classList.contains("team-mention")?t:e.classList.contains("issue-link")&&/^#\d+$/.test(t)?t:e},IMG(e){let t=e.getAttribute("alt");return t&&e.classList.contains("emoji")?t:e},DIV(e){if(e.classList.contains("js-suggested-changes-blob"))e.remove();else if(e.classList.contains("blob-wrapper-embedded")){let t=e.parentElement,n=t.querySelector("a[href]"),r=document.createElement("p");r.textContent=n.href,t.replaceWith(r)}else if(e.classList.contains("js-render-enrichment-target")){let t=e.closest(".js-render-needs-enrichment").getAttribute("data-type"),n=e.getAttribute("data-plain"),r=document.createElement("pre");return r.textContent=`\`\`\`${t} +${n}\`\`\``,r}return e}};(0,y.on)("click",".js-comment-quote-reply",function({isTrusted:e,currentTarget:t}){let n=t,r=new n$.P;if(!e){if(r.range.collapsed||null===r.range.startContainer.parentElement)return;n=r.range.startContainer.parentElement}let i=n.closest(".js-comment"),a=i.querySelector(".js-comment-body"),o=i.querySelector(".js-comment-body").cloneNode(!0),l=i.closest(".js-quote-selection-container");for(let e of a.querySelectorAll("button.js-convert-to-issue-button, span.js-clear"))e.remove();if(l.hasAttribute("data-quote-markdown")&&(r=new n$.g(l.getAttribute("data-quote-markdown")||"",e=>{let t=r.range.startContainer.parentElement,n=t&&t.closest("pre");if(n instanceof HTMLElement){let t=n.parentElement;if(t&&nN(t)){let n=document.createElement("div");n.className=t.className,n.appendChild(e),e.appendChild(n)}}!function(e){let t=document.createNodeIterator(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>e.nodeName in nD&&("IMG"===e.nodeName||null!=e.firstChild)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}),n=[],r=t.nextNode();for(;r;)r instanceof HTMLElement&&n.push(r),r=t.nextNode();for(let e of(n.reverse(),n))e.replaceWith(nD[e.nodeName](e))}(e)})),s&&a.contains(s.anchorNode)&&!s.range.collapsed&&""!==s.range.toString().trim()?r.range=s.range:(r.range.collapsed||""===r.range.toString().trim())&&r.select(a),r.closest(".js-quote-selection-container")!==l)return;let c=r.range;for(let e of(l.dispatchEvent(new CustomEvent("quote-selection",{bubbles:!0,detail:r})),r.range=c,Array.from(l.querySelectorAll("textarea")).reverse()))if((0,X.A)(e)&&!e.closest("tracking-block")){r.insert(e);break}i.querySelector(".js-comment-body").replaceWith(o)}),document.addEventListener("selectionchange",(0,$.s)(function(){let e;let t=window.getSelection();try{e=t.getRangeAt(0)}catch{l=null;return}l={anchorNode:t.anchorNode,range:e}},100)),document.addEventListener("toggle",()=>{s=l},{capture:!0});let nW=new ResizeObserver(e=>{for(let t of e)t.contentRect.height>40&&function(e){let t=.7*e.offsetWidth,n=e.querySelectorAll(".js-reaction-group-button"),r=e.querySelector(".js-all-reactions-popover"),i=0;for(let e of n)i+=e.clientWidth;if(t<(i+=r?.clientWidth||0)){let e=t;for(let t of(r&&(r.removeAttribute("hidden"),e-=r.offsetWidth),n)){let n=t.offsetWidth;n>e?t.setAttribute("hidden","hidden"):t.removeAttribute("hidden"),e-=n}}}(t.target)});(0,L.lB)(".js-reactions-container",function(e){nW.observe(e)});let nF=(0,$.s)(async e=>{let t;let n=e.target;try{t=await fetch(n.action,{method:n.method,headers:new Headers({"X-Requested-With":"XMLHttpRequest"}),body:new FormData(n)})}catch{(0,b.n)()}if(t&&!t.ok&&(0,b.n)(),t&&200===t.status){let e=await t.json(),r=n.closest(".js-comment"),i=r?.querySelector(".js-reactions-container"),a=r?.querySelector(".js-comment-header-reaction-button");if(e&&i&&a){let t=(0,H.B)(document,e.reactions_container.trim()),n=(0,H.B)(document,e.comment_header_reaction_button.trim());i.replaceWith(t),a.replaceWith(n)}let o=r?.querySelector(".js-reactions-focus");o&&o.focus()}},200);function nU(e){let t=e.target,n=t.getAttribute("data-reaction-label"),r=t.closest(".js-add-reaction-popover").querySelector(".js-reaction-description");r.hasAttribute("data-default-text")||r.setAttribute("data-default-text",r.textContent||""),r.textContent=n}function nz(e){let t=e.target.closest(".js-add-reaction-popover").querySelector(".js-reaction-description"),n=t.getAttribute("data-default-text");n&&(t.textContent=n)}(0,y.on)("submit",".js-pick-reaction",e=>{e.preventDefault(),nF(e)}),(0,y.on)("toggle",".js-reaction-popover-container",function(e){let t=e.currentTarget.hasAttribute("open");for(let n of e.target.querySelectorAll(".js-reaction-option-item"))t?(n.addEventListener("mouseenter",nU),n.addEventListener("mouseleave",nz)):(n.removeEventListener("mouseenter",nU),n.removeEventListener("mouseleave",nz))},{capture:!0});var nX=n(41695);(0,y.on)("click","form button:not([type]), form button[type=submit], form input[type=submit]",function(e){let t=e.currentTarget;t.form&&!e.defaultPrevented&&(0,nX.A)(t)}),(0,v.JW)("form[data-remote]",function(e,t,n){"json"===e.getAttribute("data-type")&&n.headers.set("Accept","application/json"),(0,y.h)(e,"deprecatedAjaxSend",{request:n}),t.text().catch(e=>{if(e.response)return e.response;throw e}).then(t=>{t.status<300?(0,y.h)(e,"deprecatedAjaxSuccess"):(0,y.h)(e,"deprecatedAjaxError",{error:t.statusText,status:t.status,text:t.text})},t=>{(0,y.h)(e,"deprecatedAjaxError",{error:t.message,status:0,text:null})}).then(()=>{(0,y.h)(e,"deprecatedAjaxComplete")})}),(0,y.on)("deprecatedAjaxComplete","form",function({currentTarget:e}){let t=(0,nX.C)(e);t&&t.remove()}),(0,v.ZV)(e=>{let t=(0,nX.C)(e);t&&t.remove()}),(0,v.Ax)(t$.A),(0,y.on)("click",".js-remote-submit-button",async function(e){let t;let n=e.currentTarget.form;e.preventDefault();try{t=await fetch(n.action,{method:n.method,body:new FormData(n),headers:{Accept:"application/json","X-Requested-With":"XMLHttpRequest"}})}catch{}t&&!t.ok&&(0,b.n)()}),(0,L.lB)(".has-removed-contents",function(){let e;return{add(t){for(let n of e=Array.from(t.childNodes))t.removeChild(n);let n=t.closest("form");n&&(0,y.h)(n,"change")},remove(t){for(let n of e)t.appendChild(n);let n=t.closest("form");n&&(0,y.h)(n,"change")}}}),n(14152),n(63452),(0,v.JW)("form[data-replace-remote-form]",async function(e,t){e.classList.remove("is-error"),e.classList.add("is-loading");try{let n=e,r=await t.html(),i=e.closest("[data-replace-remote-form-target]");if(i){let e=i.getAttribute("data-replace-remote-form-target");n=e?document.getElementById(e):i}n.replaceWith(r.html)}catch{e.classList.remove("is-loading"),e.classList.add("is-error")}}),PerformanceObserver&&(PerformanceObserver.supportedEntryTypes||[]).includes("longtask")&&new PerformanceObserver(function(e){let t=e.getEntries().map(({name:e,duration:t})=>({name:e,duration:t,url:window.location.href}));(0,A.i)({longTasks:t})}).observe({entryTypes:["longtask"]}),n(29862);var nV=n(80147);(0,y.on)("click",".js-saved-reply-menu.ActionListWrap",function(e){if(!(e.target instanceof Element))return;let t=e.target.closest('button[role="menuitem"]')?.querySelector(".js-saved-reply-body");if(!t)return;let n=(t.textContent||"").trim(),r=e.target.closest(".js-previewable-comment-form").querySelector("textarea.js-comment-field");(0,eS.bc)(r,n),e.target.closest("dialog, modal-dialog")?.close(),setTimeout(()=>r.focus(),0)},{capture:!0}),(0,y.on)("details-menu-select",".js-saved-reply-menu",function(e){if(!(e.target instanceof Element))return;let t=e.detail.relatedTarget.querySelector(".js-saved-reply-body");if(!t)return;let n=(t.textContent||"").trim(),r=e.target.closest(".js-previewable-comment-form").querySelector("textarea.js-comment-field");(0,eS.bc)(r,n),setTimeout(()=>r.focus(),0)},{capture:!0}),(0,O.Ff)("keydown",".js-saved-reply-shortcut-comment-field",function(e){if("Control+."===(0,nn.Vy)(e)){let t=e.target.closest(".js-previewable-comment-form").querySelector(".js-saved-reply-container");t instanceof HTMLDialogElement?t.showModal():t instanceof nV.u?t.show():t.setAttribute("open",""),e.preventDefault()}}),(0,O.Ff)("keydown",".js-saved-reply-filter-input",function(e){if(/^Control\+[1-9]$/.test((0,nn.Vy)(e))){let t=e.target.closest(".js-saved-reply-container"),n=Number(e.key),r=t.querySelectorAll(`[role="menuitem"][data-shortcut="${n}"]`)[0];r instanceof HTMLElement&&(r.click(),e.preventDefault())}else if("Enter"===e.key){let t=e.target.closest(".js-saved-reply-container").querySelectorAll('[role="menuitem"]');t.length>0&&t[0]instanceof HTMLButtonElement&&t[0].click(),e.preventDefault()}}),(async()=>{for(let e of(await en.G,document.querySelectorAll(".js-saved-reply-container")))new MutationObserver(t=>{for(let n of t)if("attributes"===n.type&&"open"===n.attributeName&&null===n.oldValue){let t=e.querySelector(".js-saved-reply-filter-input");t&&t.focus()}}).observe(e,{attributes:!0});for(let e of document.querySelectorAll(".js-saved-reply-include-fragment")){let t=e.closest(".js-saved-reply-container");e.addEventListener("load",()=>{if(t){let e=t.querySelector(".js-saved-reply-filter-input");e&&e.focus()}})}})();var nG=n(68953),nK=n(60927);function nJ(e,t,n,r){let i=(0,nG.Py)(e,e=>t.querySelector(`#LC${e}`));if(!i)return;if(n){let e=(0,eS.kN)(i.startContainer.textContent,i.startOffset);if(-1===e)return;i.setStart(i.startContainer,e)}if(r){let e=(0,eS.kN)(i.endContainer.textContent,i.endOffset);if(-1===e)return;i.setEnd(i.endContainer,e)}let a=document.createElement("span");a.classList.add("text-bold","hx_keyword-hl","rounded-2","d-inline-block"),(0,nK.t)(i,a)}(0,L.lB)(".js-highlight-code-snippet-columns",function(e){let t=function(e){let t=parseInt(e.getAttribute("data-start-line")),n=parseInt(e.getAttribute("data-end-line")),r=parseInt(e.getAttribute("data-start-column")),i=parseInt(e.getAttribute("data-end-column"));return t===n&&r===i?null:{start:{line:t,column:r},end:{line:n,column:0!==i?i:null}}}(e);null!==t&&function(e,t){if(e.start.line!==e.end.line){nJ({start:{line:e.start.line,column:e.start.column},end:{line:e.start.line,column:null}},t,!0,!1);for(let n=e.start.line+1;n{for(let{target:t}of e){let e=t.classList.contains("regular-search-input");(t.classList.contains("sm-search-input")||e)&&function(e,t){window.innerWidth<768?t?(0,nn.JC)(e):(0,nn.ai)(e):window.innerWidth>=768&&(t?(0,nn.ai)(e):(0,nn.JC)(e))}(t,e)}});(0,L.lB)(".regular-search-input",{constructor:HTMLElement,add(e){n4.observe(e)},remove(e){(0,nn.JC)(e),n4.unobserve(e)}}),(0,L.lB)(".sm-search-input",{constructor:HTMLElement,add(e){n4.observe(e)},remove(e){(0,nn.JC)(e),n4.unobserve(e)}}),(0,y.on)("click",".js-toggle-appheader-search",function(){let e=document.querySelector(".js-global-bar-second-row");if(e&&(e.toggleAttribute("hidden"),!e.getAttribute("hidden"))){let t=e.querySelector(".js-site-search-focus");t&&t.focus()}});var n7=n(5497);(0,L.lB)("textarea.js-size-to-fit",{constructor:HTMLTextAreaElement,subscribe:e=>(0,eu.G7)("textarea_field_sizing")&&CSS?.supports?.("field-sizing","content")?{unsubscribe(){}}:(0,n7.A)(e)});var n3=n(86356);(0,y.on)("click",".js-smoothscroll-anchor",function(e){let t=e.currentTarget;if(!(t instanceof HTMLAnchorElement))return;let n=(0,n3.rG)(document,t.hash);if(!n&&"#top"===t.hash){let t=document.querySelector("html");if(t){let n=t.style.scrollBehavior;t.style.scrollBehavior="smooth",window.location.hash="",t.scrollIntoView({behavior:"smooth"}),t.style.scrollBehavior=n,e.preventDefault();return}}if(!n)return;n.focus();let r=window.matchMedia("(prefers-reduced-motion: reduce)");r&&r.matches?n.scrollIntoView():n.scrollIntoView({behavior:"smooth"}),e.preventDefault()});let n9=new WeakMap,n8=document.querySelector("#snippet-clipboard-copy-button"),n6=document.querySelector("#snippet-clipboard-copy-button-unpositioned");async function re(e,t){let n=e.getAttribute("data-snippet-clipboard-copy-content");if(null===n)return;e.removeAttribute("data-snippet-clipboard-copy-content");let r=!!e.closest(".js-snippet-clipboard-copy-unpositioned"),i=r?n6:n8;if(!(i instanceof HTMLTemplateElement))return;let a=i.content.cloneNode(!0).children[0];if(!(a instanceof HTMLElement))return;let o=a.children[0];if(o instanceof HTMLElement){if(o.setAttribute("value",n),!r){document.addEventListener("selectionchange",()=>{let t=document.getSelection();if(t&&e.contains(t.anchorNode)){let e=t?.toString();o.style.display=""===e.trim()?"inherit":"none"}},{signal:t});let n=e.querySelector("pre");if(null!==n){let e;n.addEventListener("scroll",()=>{e&&clearTimeout(e),o.style.display="none",e=setTimeout(()=>{o.style.display="inherit"},1e3)},{signal:t})}}e.appendChild(a)}}function rt(e,t,n){return rn(e,t),n&&e.classList.toggle("on"),Promise.all(Array.from(e.querySelectorAll(".js-social-updatable"),e=>(0,eg.le)(e)))}function rn(e,t){for(let n of e.querySelectorAll(".js-social-count")){n.textContent=t,n.setAttribute("title",t);let e=n.getAttribute("data-singular-suffix"),r=n.getAttribute("data-plural-suffix"),i="1"===t?e:r;i&&n.setAttribute("aria-label",`${t} ${i}`)}for(let n of e.querySelectorAll(".btn-with-aria-count")){let e=n.getAttribute("data-aria-prefix");e&&n.setAttribute("aria-label",`${e} (${t})`)}}(0,L.lB)("[data-snippet-clipboard-copy-content]",{constructor:HTMLElement,add(e){let t=new AbortController;n9.set(e,t),re(e,t.signal)}}),(0,L.lB)(".snippet-clipboard-content clipboard-copy",{constructor:HTMLElement,remove(e){let t=n9.get(e);t&&t.abort()}}),(0,v.JW)(".js-social-form",async function(e,t){let n;let r=e.closest(".js-social-container"),i=e.classList.contains("js-deferred-toggler-target");try{n=await t.json(),r&&(await rt(r,n.json.count,i),function(e){let t;for(let n of e.querySelectorAll(":scope > *")){let e=!1;if(n.checkVisibility)e=n.checkVisibility();else{let t=window.getComputedStyle(n);e="none"!==t.display&&"hidden"!==t.visibility}e&&(t=n.querySelector('button[type="submit"]'))}t?.focus()}(r),r.dispatchEvent(new CustomEvent("social:success",{detail:n,bubbles:!0})))}catch(t){if(t.response?.status===409&&t.response.json.confirmationDialog){let n=t.response.json.confirmationDialog,a=document.querySelector(n.templateSelector),o=e.querySelector(".js-confirm-csrf-token")?.value;if(a instanceof HTMLTemplateElement&&o){let t=new t3.i4(a,{confirmUrl:e.action,confirmCsrfToken:o,...n.inputs||{}}),s=await (0,tp.r)({content:t});s.addEventListener("social-confirmation-form:success",async e=>{e instanceof CustomEvent&&r&&await rt(r,e.detail.count,i)}),s.addEventListener("social-confirmation-form:error",()=>{(0,b.n)()})}}else r&&!i&&r.classList.toggle("on"),(0,b.n)()}}),(0,v.JW)(".js-social-confirmation-form",async function(e,t){try{let n=await t.json();(0,y.h)(e,"social-confirmation-form:success",n.json)}catch{(0,y.h)(e,"social-confirmation-form:error")}});var rr=n(21303),ri=n(10204);let ra=[],ro=S.XC?.hidden||!1;function rs(e){return null!=e}function rl(e){let t=document.querySelector(".js-stale-session-flash"),n=t.querySelector(".js-stale-session-flash-signed-in"),r=t.querySelector(".js-stale-session-flash-signed-out"),i=t.querySelector(".js-stale-session-flash-switched");if(t.hidden=!1,n.hidden="SIGNED_IN"!==e,r.hidden="SIGNED_OUT"!==e,i.hidden=!e?.startsWith("SWITCHED"),e?.startsWith("SWITCHED:")){let n=e.split(":");if(3===n.length){let e=n[1],r=n[2],a=i.getAttribute("data-original-user-id");a&&a===r?(t.hidden=!0,i.hidden=!0,i.removeAttribute("data-original-user-id")):a||i.setAttribute("data-original-user-id",e||"")}}window.addEventListener("popstate",function(e){e.state&&null!=e.state.container&&location.reload()}),document.addEventListener("submit",function(e){e.preventDefault()})}S.XC?.addEventListener("visibilitychange",()=>{let e=S.XC?.hidden||!1;void 0!==c&&clearTimeout(c),c=setTimeout(()=>{if(e!==ro)for(let t of(ro=e,c=void 0,ra))t(ro)},e?3e4:0)}),async function(){let e=await (0,rr.H)();if(!e)return;let t=(0,B.rK)(t=>e.subscribe(t.flat())),n=(0,B.rK)(t=>e.unsubscribeAll(...t)),r=(0,B.rK)(t=>e.updatePresenceMetadata(t));(0,L.lB)(".js-socket-channel[data-channel]",{subscribe:e=>{var n;let i=(e.getAttribute("data-channel")||"").trim().split(/\s+/).map(ri.KK.parse).filter(rs).map(t=>({subscriber:e,topic:t})),a=i.map(e=>e.topic.name).filter(e=>(0,ri.JR)(e)),o={unsubscribe(){}};if(a.length){let t,i;let s=()=>{let n=[];for(let o of(i&&n.push(i),void 0!==t&&n.push({[ri.nH]:t?1:0}),a))r({subscriber:e,channelName:o,metadata:n})};o=(0,N.Zz)((0,N.Rt)(e,"socket:set-presence-metadata",e=>{let{detail:t}=e;i=t,s()}),((n=e=>{t=e,s()})(ro),ra.push(n),new N.yU(()=>{let e=ra.indexOf(n);-1!==e&&ra.splice(e,1)})))}return t(i),o},remove:e=>n(e)})}(),(0,L.lB)("form.js-auto-replay-enforced-sso-request",{constructor:HTMLFormElement,initialize(e){(0,R.k_)(e)}});let rc=null;if("function"==typeof BroadcastChannel)try{(rc=new BroadcastChannel("stale-session")).onmessage=e=>{"string"==typeof e.data&&rl(e.data)}}catch{}if(!rc){let e=!1;rc={postMessage(t){e=!0;try{window.localStorage.setItem("logged-in",t)}finally{e=!1}},onmessage:null},window.addEventListener("storage",function(t){if(!e&&t.storageArea===window.localStorage&&"logged-in"===t.key)try{("SIGNED_IN"===t.newValue||"SIGNED_OUT"===t.newValue||t.newValue?.startsWith("SWITCHED"))&&rl(t.newValue)}finally{window.localStorage.removeItem(t.key)}})}let ru=document.querySelector(".js-stale-session-flash[data-signedin]");if(ru){let e=ru.getAttribute("data-signedin")||"";rc?.postMessage(e)}let rd=()=>{rc?.postMessage("false")};function rm(e,t,n){let r=e.getBoundingClientRect().height,i=t.getBoundingClientRect(),a=n.getBoundingClientRect(),o=a.top;o+i.height+10>=r&&(o=Math.max(r-i.height-10,0));let s=a.right;null!=n.closest(".js-build-status-to-the-left")&&(s=Math.max(a.left-i.width-10,0)),t.style.top=`${o}px`,t.style.left=`${s}px`,t.style.right="auto"}async function rf(e){let t;let n=e.querySelector(".js-dropdown-details"),r=e.querySelector(".js-status-dropdown-menu")||e.closest(".js-status-dropdown-menu");if(!(r instanceof HTMLElement))return;let i=r.querySelector(".js-status-loader");if(!i)return;let a=r.querySelector(".js-status-loading"),o=r.querySelector(".js-status-error"),s=i.getAttribute("data-contents-url");a.classList.remove("d-none"),o.classList.add("d-none");try{await (0,t$.A)(),t=await (0,tg.Ts)(document,s)}catch{a.classList.add("d-none"),o.classList.remove("d-none")}t&&(i.replaceWith(t),r.querySelector(".js-details-container").classList.add("open"),n&&r.classList.contains("js-append-menu-to-body")&&rm(document.body,r,n))}function rh(e){rf(e.currentTarget)}(0,L.lB)(".js-loggout-form",function(e){e.addEventListener("submit",rd)}),(0,y.on)("toggle",".js-build-status .js-dropdown-details",function(e){let t=e.currentTarget,n=t.querySelector(".js-status-dropdown-menu");function r(){t.hasAttribute("open")||a()}function i(e){n.contains(e.target)||a()}function a(){t.removeAttribute("open"),n.classList.add("d-none"),t.appendChild(n),t.removeEventListener("toggle",r),window.removeEventListener("scroll",i)}n&&(t.addEventListener("toggle",r),n.classList.contains("js-close-menu-on-scroll")&&window.addEventListener("scroll",i,{capture:!0}),n.classList.remove("d-none"),n.querySelector(".js-details-container").classList.add("open"),n.classList.contains("js-append-menu-to-body")&&(document.body.appendChild(n),rm(document.body,n,t)))},{capture:!0}),(0,y.on)("click",".js-status-retry",({currentTarget:e})=>{rf(e)}),(0,L.lB)(".js-build-status",{add(e){e.addEventListener("mouseenter",rh,{once:!0})},remove(e){e.removeEventListener("mouseenter",rh)}}),n(73657);let rp=new IntersectionObserver(e=>{for(let t of e){let e=t.target;if(e.classList.toggle("position-stuck",t.intersectionRatio<1),t.intersectionRatio<1&&e instanceof HTMLElement){let n=e.ownerDocument.documentElement;n.style.setProperty("--sticky-is-stuck-calculated-height",`${t.intersectionRect.height}px`),requestAnimationFrame(()=>{n.style.setProperty("--sticky-is-stuck-calculated-height",`${e.getBoundingClientRect().height}px`)})}}},{threshold:1});(0,L.lB)(".js-sticky-is-stuck",{constructor:HTMLElement,add(e){rp.observe(e)}});var rg=n(37252);async function rb(e){let t=e.currentTarget;if(t instanceof HTMLElement&&"false"!==t.getAttribute("data-sudo-required")){if(e.stopPropagation(),e.preventDefault(),await (0,rg.Ay)(t))t.removeAttribute("data-sudo-required"),t instanceof HTMLFormElement?(0,R.k_)(t):t.click();else{let e=t.closest("form");e&&(0,y.h)(e,"deprecatedAjaxComplete")}}}function ry(e){let t=e.detail;":"===t.key&&(t.value=function(e){if(e.hasAttribute("data-use-colon-emoji"))return e.getAttribute("data-value");let t=e.firstElementChild;return t&&"G-EMOJI"===t.tagName&&!t.firstElementChild?t.textContent:e.getAttribute("data-value")}(t.item))}function rv(e){let{key:t,provide:n,text:r}=e.detail;":"===t&&n(rS(e.target.getAttribute("data-emoji-url"),r))}function rw(e){let t=e.target.querySelector(".emoji-suggestions[popover]");t&&t.showPopover()}async function rS(e,t){let[n,r]=await rL(e),i=(function(e,t){let n=` ${t.toLowerCase().replace(/_/g," ")}`;return(0,tI.d)(e,e=>{let t=e.getAttribute("data-emoji-name"),r=function(e,t){let n=e.indexOf(t);return n>-1?1e3-n:0}(function(e){let t=e.getAttribute("data-text").trim().toLowerCase().replace(/_/g," ");return` ${t}`}(e),n);return r>0?{score:r,text:t}:null},tP.UD)})(r,t).slice(0,5);for(let e of(n.textContent="",i))n.append(e);return{fragment:n,matched:i.length>0}}async function rE(e){let t=(await (0,tg.Ts)(document,e)).firstElementChild;return[t,[...t.children]]}(0,y.on)("click","button[data-sudo-required], summary[data-sudo-required]",rb),(0,L.lB)("form[data-sudo-required]",{constructor:HTMLFormElement,subscribe:e=>(0,N.Rt)(e,"submit",rb)}),(0,L.lB)("text-expander[data-emoji-url]",{subscribe:e=>(0,N.Zz)((0,N.Rt)(e,"text-expander-change",rv),(0,N.Rt)(e,"text-expander-value",ry),(0,N.Rt)(e,"text-expander-activate",rw))});let rL=(0,eG.A)(rE);var rA=n(60016);function rj(e,t){return{matches:(function(e,t){if(!t)return e;let n=RegExp(`\\b${t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}`),r=/^\d+$/.test(t)?e=>(function(e,t){let n=e.search(t);return n>-1?1e3-n:0})(e,n):e=>(0,tP.dt)(e,t);return(0,tI.d)(e,e=>{let t=`${e.number} ${e.title.trim().toLowerCase()}`,n=r(t);return n>0?{score:n,text:t}:null},tP.UD)})(e.suggestions,t).slice(0,5),icons:e.icons}}function rT(e,t,n,r=""){(0,rA.XX)((0,rA.qy)` +
    + ${e.map(e=>{let t=e.type in n?(0,H.B)(document,n[e.type]):"";return(0,rA.qy)` +
  • + ${t} + #${e.number} ${(0,rA._3)(e.title)} +
  • + `})} +
+ `,t)}function rC(e){let t=e.detail;if("#"!==t.key)return;let n=t.item.getAttribute("data-value");t.value=`#${n}`}function rk(e){let{key:t,provide:n,text:r}=e.detail;if("#"!==t)return;if("#"===r){rq(e.target);return}let i=e.target;n(r_(i.getAttribute("data-issue-url"),r,i))}function rq(e){if(!e)return;let t=e.closest("text-expander");t&&t.dismiss()}function rM(e){rq(e.target)}function rx(e){let{key:t}=e;0>["ArrowRight","ArrowLeft"].indexOf(t)||rq(e.target)}async function r_(e,t,n){let r=await rP(e,t,n),i=document.createElement("div");return rT(r.matches,i,r.icons,t),{fragment:i.firstElementChild,matched:r.matches.length>0}}(0,L.lB)("text-expander[data-issue-url]",{subscribe:e=>{let t=[(0,N.Rt)(e,"text-expander-change",rk),(0,N.Rt)(e,"text-expander-value",rC),(0,N.Rt)(e,"keydown",rx),(0,N.Rt)(e,"click",rM)];return(0,N.Zz)(...t)}});let rR=new Set,rH=new Map;async function rP(e,t,n){let r=await rO(e),i=rj(r,t);if(t.length<3||r.suggestions.length<1e3)return i;let a=t.slice(0,3);(0,eu.G7)("REPOSITORY_SUGGESTER_ELASTIC_SEARCH")&&Number.isFinite(Number(t))&&(a=t);let o=rH.get(a);if(o)return rj(o,t);if(!rR.has(a)){rR.add(a);let r=rI(e,a,n);if(0===i.matches.length)return rj(await r,t)}return rj(r,t)}async function rI(e,t,n){let r=new URL(e,window.location.origin);r.searchParams.set("q",t);let i=await rB(r.toString());if(rH.set(t,i),rR.delete(t),rH.size>5){let e=rH.size-5;for(let t of Array.from(rH.keys()).slice(0,e))rH.delete(t)}let a=n?.querySelector("ul.suggestions"),o=a?.getAttribute("data-query");if(a&&o?.startsWith(t)){let e=n?.querySelector("[aria-activedescendant]")?.getAttribute("aria-activedescendant"),t=document.createElement("div"),r=rj(i,o);if(rT(r.matches,t,r.icons),e)for(let n of t.querySelectorAll(`#${e}`))n.setAttribute("aria-selected","true");let s=t.firstElementChild;a.replaceChildren(...s.children)}return i}async function rB(e){let t=await self.fetch(e,{headers:{"X-Requested-With":"XMLHttpRequest",Accept:"application/json"}});if(!t.ok){let e=Error(),n=t.statusText?` ${t.statusText}`:"";throw e.message=`HTTP ${t.status}${n}`,e}return t.json()}let rO=(0,eG.A)(rB);function r$(e){let t=e.detail;if("@"!==t.key)return;let n=t.item.getAttribute("data-value");t.value=`@${n}`}function rN(e){let{key:t,provide:n,text:r}=e.detail;"@"!==t||r?.split(" ").length>1||n(rD(e.target.getAttribute("data-mention-url"),r))}async function rD(e,t){var n,r;let i=await rW(e),a=document.createElement("div"),o=(function(e,t){if(!t)return e;let n=function(e){if(!e)return()=>2;let t=e.toLowerCase().split("");return(n,r)=>{if(!n)return 0;let i=function(e,t){let n,r,i,a;let o=function(e,t){let n=0,r=[];for(;(n=e.indexOf(t,n))>-1;)r.push(n++);return r}(e,t[0]);if(0===o.length)return null;if(1===t.length)return[o[0],1,[]];for(r=0,a=null,i=o.length;r{let t=e.description?`${e.name} ${e.description}`.trim().toLowerCase():`${e.login} ${e.name}`.trim().toLowerCase(),r=n(t,e.participant);return r>0?{score:r,text:t}:null},tP.UD)})(i,t).slice(0,5);return n=o,r=a,(0,rA.XX)((0,rA.qy)` +
    + ${n.map(e=>{let t="user"===e.type?e.login:e.name,n="user"===e.type?e.name:e.description;return(0,rA.qy)` +
  • + ${t} + ${n} +
  • + `})} +
+ `,r),{fragment:a.firstElementChild,matched:o.length>0}}(0,L.lB)("text-expander[data-mention-url]",{subscribe:e=>(0,N.Zz)((0,N.Rt)(e,"text-expander-change",rN),(0,N.Rt)(e,"text-expander-value",r$))});let rW=(0,eG.A)(async function(e){let t=await self.fetch(e,{headers:{"X-Requested-With":"XMLHttpRequest",Accept:"application/json"}});if(!t.ok){let e=Error(),n=t.statusText?` ${t.statusText}`:"";throw e.message=`HTTP ${t.status}${n}`,e}return t.json()});(0,y.on)("change","input.js-survey-contact-checkbox",function(e){let t=e.currentTarget,n=t.closest(".js-survey-question-form").querySelector(".js-survey-contact-checkbox-hidden");t.checked?n.setAttribute("disabled","true"):n.removeAttribute("disabled")}),(0,y.on)("details-menu-selected",".js-sync-select-menu-text",function(e){let t=document.querySelector(".js-sync-select-menu-button"),n=e.detail.relatedTarget.querySelector("span[data-menu-button-text]").textContent;t.textContent=n,t.focus()},{capture:!0}),(0,y.on)("click",'tab-container [role="tab"]',function(e){let{currentTarget:t}=e,n=t.closest("tab-container").querySelector(".js-filterable-field, [data-filter-placeholder-input]");if(n instanceof HTMLInputElement){let e=t.getAttribute("data-filter-placeholder");e&&n.setAttribute("placeholder",e),n.focus()}}),(0,y.on)("tab-container-changed","tab-container",function(e){let t=e.detail.relatedTarget;if(!t)return;let n=t.getAttribute("data-fragment-url"),r=t.querySelector("include-fragment");n&&r&&!r.hasAttribute("src")&&(r.src=n)}),n(48543);var rF=n(95493);async function rU(e){let t=e.currentTarget;if(t.getAttribute("data-hovercard-url")&&t.closest("[data-team-hovercards-enabled]")){t.classList.remove("tooltipped");return}let n=t.getAttribute("data-url");if(!n)return;let r=await fetch(n,{headers:{Accept:"application/json"}});if(!r.ok)return;let i=await r.json(),a=t.getAttribute("data-id"),o=document.querySelectorAll(`.js-team-mention[data-id='${a}']`);for(let e of o)e.removeAttribute("data-url");try{0===i.total?i.members.push("This team has no members"):i.total>i.members.length&&i.members.push(`${i.total-i.members.length} more`),rz(o,function(e){if("ListFormat"in Intl)return new Intl.ListFormat().format(e);if(0===e.length)return"";if(1===e.length)return e[0];if(2===e.length)return e.join(" and ");{let t=e[e.length-1];return e.slice(0,-1).concat(`and ${t}`).join(", ")}}(i.members))}catch(n){let e=n.response?n.response.status:500;rz(o,t.getAttribute(404===e?"data-permission-text":"data-error-text"))}}function rz(e,t){for(let n of e)n instanceof HTMLElement&&(n.setAttribute("aria-label",t),n.classList.add("tooltipped","tooltipped-s","tooltipped-multiline"))}function rX(e){if(function(e){let t;try{t=new URL(e.url)}catch{return!0}return t.host!==window.location.host}(e))return;let t=function(){let e=document.querySelector(".js-timeline-marker");return null!=e?e.getAttribute("data-last-modified"):null}();t&&e.headers.set("X-Timeline-Last-Modified",t)}function rV(){let e=r2();if(!e||document.querySelector(".js-pull-discussion-timeline"))return;let t=document.getElementById(e);t&&r0(t)}function rG(e=!0){let t=r2();if(!t)return;let n=document.getElementById(t);if(n)r0(n);else{if(function(e){let t=rJ(e,".js-comment-container");return!!t&&((0,e8.d)(t),!0)}(t)||rK(t,".js-thread-hidden-comment-ids")||rK(t,".js-review-hidden-comment-ids"))return;let n=document.querySelector("#js-timeline-progressive-loader");n&&e&&r1(t,n)}}function rK(e,t){let n=rJ(e,t);return!!n&&(n.addEventListener("page:loaded",function(){rG()}),n.querySelector("button[type=submit]").click(),!0)}function rJ(e,t){for(let n of document.querySelectorAll(t)){let t=n.getAttribute("data-hidden-comment-ids");if(t){let r=t.split(","),i=e.match(/\d+/g)?.[0];if(i&&r.includes(i))return n}}return null}async function rY(){return Promise.all(Array.from(document.querySelectorAll(".js-comment-body video")).map(e=>new Promise(t=>{if(e.readyState>=e.HAVE_METADATA)t(e);else{let n=setTimeout(()=>t(e),5e3),r=()=>{clearTimeout(n),t(e)};e.addEventListener("loadeddata",()=>{e.readyState>=e.HAVE_METADATA&&r()}),e.addEventListener("error",()=>r())}})))}async function rZ(){return Promise.all(Array.from(document.querySelectorAll(".js-comment-body img")).map(e=>{new Promise(t=>{if(e.complete)t(e);else{let n=setTimeout(()=>t(e),5e3),r=()=>{clearTimeout(n),t(e)};e.addEventListener("load",()=>r()),e.addEventListener("error",()=>r())}})}))}async function rQ(){return Promise.all([rY(),rZ()])}async function r0(e){await rQ(),function(e){let t=e.closest("details, .js-details-container");t&&("DETAILS"===t.nodeName?t.setAttribute("open","open"):(0,e3.Z)(t)||(0,e3.kn)(t))}(e);let t=e.querySelector(`[href='#${e.id}']`);if((0,t5.Rt)(e),t){let e=t.getAttribute("data-turbo");t.setAttribute("data-turbo","false"),setTimeout(()=>{t.click()},0),null===e?t.removeAttribute("data-turbo"):t.setAttribute("data-turbo",e)}}async function r1(e,t){let n;if(!t)return;let r=t.getAttribute("data-timeline-item-src");if(!r)return;let i=new URL(r,window.location.origin),a=new URLSearchParams(i.search.slice(1));a.append("anchor",e),i.search=a.toString();try{n=await (0,tg.Ts)(document,i.toString())}catch{return}let o=n.querySelector(".js-timeline-item");if(!o)return;let s=o.getAttribute("data-gid");if(!s)return;let l=document.querySelector(`.js-timeline-item[data-gid='${s}']`);if(l)l.replaceWith(o),rG(!1);else{let e=document.getElementById("js-progressive-timeline-item-container");e&&e.replaceWith(n),rG(!1)}}function r2(){return window.location.hash.slice(1)}async function r5(){let e=[];try{e=await navigator.serviceWorker.getRegistrations()}catch(e){if("SecurityError"===e.name)return}for(let t of e)t.unregister()}document.addEventListener("keydown",e=>{if("Escape"!==e.key||e.target!==document.body)return;let t=document.querySelector(".js-targetable-element:target");t&&(0,rF._H)(t,()=>{window.location.hash="",(0,P.g5)(window.history.state,"",window.location.pathname+window.location.search)})}),document.addEventListener("click",e=>{let t=document.querySelector(".js-targetable-element:target");!(!t||e.target instanceof HTMLAnchorElement)&&e.target instanceof HTMLElement&&(t.contains(e.target)||(0,rF._H)(t,()=>{window.location.hash="",(0,P.g5)(window.history.state,"",window.location.pathname+window.location.search)}))}),n(22474),(0,L.lB)(".js-team-mention",function(e){e.addEventListener("mouseenter",rU)}),(0,v.JW)(".js-needs-timeline-marker-header",function(e,t,n){rX(n)}),(0,y.on)("deprecatedAjaxSend","[data-remote]",function(e){let{request:t}=e.detail;rX(t)}),(0,e9.A)(function(){rG()}),(0,L.lB)(".js-timeline-progressive-focus-container",rV),window.addEventListener("sticky-header-rendered",()=>{rV()}),(0,L.lB)(".js-inline-comments-container",function(e){let t=r2();if(!t)return;let n=document.getElementById(t);n&&e.contains(n)&&r0(n)}),(0,L.lB)("#js-discussions-timeline-anchor-loader",{constructor:HTMLElement,add:e=>{if(document.querySelector("#js-timeline-progressive-loader"))return;let t=r2();t&&(document.getElementById(t)||r1(t,e))}}),(0,L.lB)(".js-discussion",function(){let e=new WeakSet;function t(){e=new WeakSet(document.querySelectorAll(".js-timeline-item"))}t(),document.addEventListener("turbo:load",t),(0,L.lB)(".js-timeline-item",t=>{t instanceof HTMLElement&&(e.has(t)||(0,T.C)(t))})}),(0,y.on)("click",".js-toggler-container .js-toggler-target",function(e){if(0!==e.button)return;let t=e.currentTarget.closest(".js-toggler-container");t&&t.classList.toggle("on")}),(0,v.JW)(".js-toggler-container",async(e,t)=>{e.classList.remove("success","error"),e.classList.add("loading");try{await t.text(),e.classList.add("success")}catch{e.classList.add("error")}finally{e.classList.remove("loading")}}),async function(){if("serviceWorker"in navigator){await en.G;let e=document.querySelector('link[rel="service-worker-src"]')?.href;e?navigator.serviceWorker.register(e,{scope:"/"}):await r5()}}();var r4=n(7332),r7=n(19029),r3=n(772);(0,r4.dK)(r3.z),(0,r4.Uz)(0),r4.session.isVisitable=()=>!0;let r9=Object.getOwnPropertyDescriptor(r4.H5.prototype,"reloadReason")?.get;function*r8(e){for(let t of Object.values(e.detailsByOuterHTML))if(t.tracked)for(let e of t.elements)e instanceof HTMLMetaElement&&e.getAttribute("http-equiv")&&(yield[e.getAttribute("http-equiv")||"",e.getAttribute("content")||""])}Object.defineProperty(r4.H5.prototype,"reloadReason",{get(){let e=r9?.call(this);if("tracked_element_mismatch"!==e.reason)return e;let t=Object.fromEntries(r8(this.currentHeadSnapshot)),n=[];for(let[e,r]of r8(this.newHeadSnapshot))t[e]!==r&&n.push((0,r7.Sf)(e));return{reason:`tracked_element_mismatch-${n.join("-")}`}}});let r6=e=>{let t=history[e];history[e]=function(n,r,i){let a=n?.skipTurbo||n?.usr?.skipTurbo;r4.gM.history.update(function(r,i,o){let s=history.state?.turboCount||0,l="pushState"===e&&n?.turbo?s+1:s,c=a?{...n,skipTurbo:!0}:{...n,...r,turboCount:l};t.call(this,c,i,o)},new URL(i||location.href,location.href),n?.turbo?.restorationIdentifier)}};r6("replaceState"),r6("pushState");let ie=r4.session.adapter,it=()=>{ie.progressBar.setValue(0),ie.progressBar.show()},ir=()=>{ie.progressBar.setValue(1),ie.progressBar.hide()};var ii=n(51550);let ia=new Map,io=new Map,is=()=>ia.get(document.location.href),il=(e,t)=>ia.set(e,t),ic=()=>io.set(document.location.href,(0,r7.$4)()),iu=()=>io.get(document.location.href);(async()=>{await en.G,il(document.location.href,(0,r7.GH)(document)),ic()})();var id=n(56725);let im=!1,ih=null;S.cg&&(0,L.lB)("[data-turbo-frame]",{constructor:HTMLElement,add(e){if("A"!==e.tagName&&""!==e.getAttribute("data-turbo-frame"))for(let t of e.querySelectorAll("a:not([data-turbo-frame])"))t.setAttribute("data-turbo-frame",e.getAttribute("data-turbo-frame")||"")}}),S.XC?.addEventListener("turbo:click",function(e){if(e.target instanceof HTMLElement&&e instanceof CustomEvent){if(eu.G7("disable_turbo_visit")&&!nq.LM()||ii.A(location.href,e.detail.url)){e.preventDefault();return}e.defaultPrevented||id.SC("turbo")}}),S.XC?.addEventListener("turbo:before-fetch-request",function(e){let t=window.onbeforeunload?.(e);t&&(confirm(t)?window.onbeforeunload=null:(e.preventDefault(),ir()))}),S.XC?.addEventListener("turbo:before-fetch-request",e=>{if(e.defaultPrevented)return;let t=e.target;r7.mU(t)&&it(),t?.tagName==="HTML"&&(e.detail.fetchOptions.headers["Turbo-Visit"]="true")});let ip=Object.getPrototypeOf((S.XC?.createElement("turbo-frame")).delegate),ig=ip.requestErrored;ip.requestErrored=function(e,t){return this.element.dispatchEvent(new CustomEvent("turbo:fetch-error",{bubbles:!0,detail:{request:e,error:t}})),ig.apply(this,e,t)},S.XC?.addEventListener("turbo:fetch-error",e=>{if(e.target instanceof HTMLFormElement)return;let t=e.detail.request;window.location=t.location,e.preventDefault()}),S.XC?.addEventListener("turbo:before-fetch-response",async e=>{let t=e.detail.fetchResponse;if(im=t.statusCode>=500,404===t.statusCode&&(r7.OO(t.statusCode),window.location=t.location,e.preventDefault()),history.replaceState({...history.state,skipTurbo:!1},"",location.href),im){let e=await t.responseHTML,n=r3.z.createHTML(e,t.response);ih=new DOMParser().parseFromString(n,"text/html")}}),S.XC?.addEventListener("turbo:frame-render",e=>{r7.mU(e.target)&&ir()}),S.XC?.addEventListener("turbo:before-render",async e=>{e instanceof CustomEvent&&(e.preventDefault(),e.detail.render=iy,await r7.Y9(),e.detail.resume(!0),r7.Sy(document.documentElement,e.detail.newBody.ownerDocument.documentElement),ic())});let ib=()=>new Promise(e=>{setTimeout(()=>e(),0)}),iy=async(e,t)=>{if(await ib(),im&&ih){for(let e of(document.documentElement.replaceWith(ih.documentElement),document.querySelectorAll("script"))){let t=(0,r7.vV)(e);t&&e.replaceWith(t)}return}let n=e.querySelector("[data-turbo-body]"),r=t.querySelector("[data-turbo-body]");n&&r?((0,r7.Sy)(e,t),n.replaceWith(r)):((0,r7.OO)("missing_turbo_body"),window.location.reload())};S.cg?.addEventListener("popstate",()=>{let e=document.documentElement,t=iu();if(t){for(let n of e.attributes)t.find(e=>e.nodeName===n.nodeName)||e.removeAttribute(n.nodeName);for(let n of t)e.getAttribute(n.nodeName)!==n.nodeValue&&e.setAttribute(n.nodeName,n.nodeValue)}});var iv=n(60188);let iw=!1,iS=e=>{if(!(e.target instanceof HTMLElement))return;let t=e.target.closest("[data-turbo-frame]"),n=e.target.closest("#js-repo-pjax-container"),r=new URL(e.detail.url,window.location.origin),i=e.target.closest("#user-profile-frame");return n&&t&&!(0,r7.$U)(r.pathname,location.pathname)||i&&!(0,r7.e8)(r.pathname,location.pathname)};S.XC?.addEventListener("turbo:frame-click",function(e){if(e.target instanceof HTMLElement&&e instanceof CustomEvent){if(ii.A(location.href,e.detail.url)){e.preventDefault();return}iS(e)&&(r7.OO("repo_mismatch"),e.target.removeAttribute("data-turbo-frame"),e.preventDefault()),e.defaultPrevented||id.SC("turbo.frame")}}),S.XC?.addEventListener("turbo:before-fetch-response",e=>{u=e.detail.fetchResponse,r7.mU(e.target)&&il(window.location.href,r7.GH(document))}),S.XC?.addEventListener("turbo:before-frame-render",async e=>{e.preventDefault();let{resume:t,newFrame:n}=e.detail;if(iw=!0,!u)return;let r=await u.responseHTML,i=u.location,a=r3.z.createHTML(r,u.response),o=new DOMParser().parseFromString(a,"text/html");u=null;let s=e.target,l=[...o.querySelectorAll("turbo-frame")].find(e=>e.id===s?.id),c=r7.nZ(o);if(!l||c.length>0){r7.OO(`tracked_element_mismatch-${c.join("-")}`),window.location=i;return}il(i.href,r7.GH(o)),r7.$Y(o),r7.Y0(o),r7.G5(o),iT(s,l),await r7.Y9(),t(),iC(n)&&window.scrollTo(0,0),iE(o)}),S.cg?.addEventListener("popstate",()=>{document.addEventListener("turbo:load",()=>{let e=is()?.replacedElements||[];r7.G5(document,e)},{once:!0})}),S.XC?.addEventListener(tc.z.SUCCESS,()=>{iL(),iw&&(iw=!1,iA(),ij(),id.Bu())});let iE=e=>{let t=e.querySelector("meta[name=turbo-body-classes]")?.content;t&&(document.body.setAttribute("class",t),document.querySelector("[data-turbo-body]")?.setAttribute("class",t))},iL=()=>{let e=is()?.bodyClasses;e&&(document.body.setAttribute("class",e),document.querySelector("[data-turbo-body]")?.setAttribute("class",e))},iA=()=>{let e=is()?.title;e&&(0,iv.D)(e)},ij=()=>{let e=is()?.transients;if(e){for(let e of document.querySelectorAll("head [data-turbo-transient]"))e.remove();for(let t of e)t.matches("title, script, link[rel=stylesheet]")||(t.setAttribute("data-turbo-transient",""),document.head.append(t))}},iT=(e,t)=>{e&&(e.className=t.className)},iC=e=>"true"!==e.getAttribute("data-turbo-skip-scroll")&&"advance"===e.getAttribute("data-turbo-action");S.XC?.addEventListener("turbo:frame-load",e=>{nq.LM()&&nq.Vy("turbo.frame"),id.rZ({skipIfGoingToReactApp:!0,allowedMechanisms:["turbo.frame"]}),e.target instanceof HTMLElement&&"advance"!==e.target.getAttribute("data-turbo-action")&&id.iS({skipIfGoingToReactApp:!0,allowedMechanisms:["turbo.frame"]})}),S.XC?.addEventListener("turbo:load",e=>{r7.Ph();let t=0===Object.keys(e.detail.timing).length;!nq.LM()||t||nq.wG()?t&&(nq.wG()||nq.LM())?id.o4({skipIfGoingToReactApp:!0,allowedMechanisms:["turbo","turbo.frame"]}):t&&id.k5():(id.rZ({skipIfGoingToReactApp:!0,allowedMechanisms:["turbo"]}),id.iS({skipIfGoingToReactApp:!0,allowedMechanisms:["turbo","turbo.frame"]}))}),S.XC?.addEventListener("beforeunload",()=>id.Ti()),S.XC?.addEventListener("turbo:reload",function(e){e instanceof CustomEvent&&nq.k9(e.detail.reason)}),S.XC?.addEventListener(tc.z.END,ic),S.XC?.addEventListener(tc.z.PROGRESS_BAR.START,it),S.XC?.addEventListener(tc.z.PROGRESS_BAR.END,ir),window.requestIdleCallback(()=>{let e=function(){if("Intl"in window)try{return new window.Intl.DateTimeFormat().resolvedOptions().timeZone}catch{}}();e&&(0,el.TV)("tz",encodeURIComponent(e))});var ik=n(39595),iq=n(1270),iM=n(68309),ix=n(74043),i_=n(39310);function iR(e,t,n){if(!t.has(e))throw TypeError("attempted to "+n+" private field on non-instance");return t.get(e)}function iH(e,t){var n=iR(e,t,"get");return n.get?n.get.call(e):n.value}function iP(e,t,n){var r=iR(e,t,"set");return!function(e,t,n){if(t.set)t.set.call(e,n);else{if(!t.writable)throw TypeError("attempted to set read only private field");t.value=n}}(e,r,n),n}function iI(e,t,n,r){var i,a=arguments.length,o=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(o=(a<3?i(o):a>3?i(t,n,o):i(t,n))||o);return a>3&&o&&Object.defineProperty(t,n,o),o}!function(e){e.WebAuthn="webauthn",e.Password="password",e.GitHubMobile="github_mobile",e.TotpApp="app",e.TotpSms="sms"}(g||(g={}));var iB=new WeakMap;let SudoCredentialOptionsElement=class SudoCredentialOptionsElement extends HTMLElement{connectedCallback(){iP(this,iB,this.initialState),this.reRenderPrompt(!0)}reRenderPrompt(e=!1){this.resetPrompt();try{switch(iH(this,iB)){case"webauthn":this.renderWebauthnOption();break;case"github_mobile":this.renderGitHubMobileOption(e);break;case"app":this.renderTotpAppOption();break;case"sms":this.renderTotpSmsOption(e);break;default:this.renderPasswordOption()}this.reRenderNavContainer()}catch(e){this.handleUnexpectedPromptError(e)}}handleUnexpectedPromptError(e){let t="";switch(iH(this,iB)){case"github_mobile":t=this.githubMobileGenericErrorMessage;break;case"sms":t=this.smsGenericErrorMessage;break;default:t=this.genericErrorMessage}if(e&&"password"!==iH(this,iB))throw this.renderPasswordOptionWithError(t),e}renderPasswordOptionWithError(e){this.showPassword(),this.showErrorMessage(e)}resetPrompt(){this.hideErrorMessage(),this.isWebAuthnAvailable()&&this.hideWebAuthn(),this.isGitHubMobileAvailable()&&this.hideGitHubMobile(),this.isTotpAppAvailable()&&this.hideTotpApp(),this.isTotpSmsAvailable()&&this.hideTotpSms(),this.hidePassword()}hideWebAuthn(){this.safeSetElementVisibility(this.webauthnContainer,!1),this.safeSetElementVisibility(this.webauthnNav,!1)}hideGitHubMobile(){this.safeSetElementVisibility(this.githubMobileContainer,!1),this.safeSetElementVisibility(this.githubMobileNav,!1),this.safeSetElementVisibility(this.githubMobileLoading,!1),this.safeSetElementVisibility(this.githubMobileLanding,!1)}hideTotpApp(){this.safeSetElementVisibility(this.totpAppContainer,!1),this.safeSetElementVisibility(this.totpAppNav,!1)}hideTotpSms(){this.safeSetElementVisibility(this.totpSmsContainer,!1),this.safeSetElementVisibility(this.totpSmsLanding,!1),this.safeSetElementVisibility(this.totpSmsNav,!1),this.safeSetElementVisibility(this.totpSmsResendNav,!1)}hidePassword(){this.safeSetElementVisibility(this.passwordContainer,!1),this.safeSetElementVisibility(this.passwordNav,!1)}reRenderNavContainer(){this.isWebAuthnAvailable()&&"webauthn"!==iH(this,iB)&&this.safeSetElementVisibility(this.webauthnNav,!0),this.isGitHubMobileAvailable()&&"github_mobile"!==iH(this,iB)&&this.safeSetElementVisibility(this.githubMobileNav,!0),this.isTotpAppAvailable()&&"app"!==iH(this,iB)&&this.safeSetElementVisibility(this.totpAppNav,!0),this.isTotpSmsAvailable()&&"sms"!==iH(this,iB)&&this.safeSetElementVisibility(this.totpSmsNav,!0),"password"!==iH(this,iB)&&this.safeSetElementVisibility(this.passwordNav,!0)}renderWebauthnOption(){this.safeSetElementVisibility(this.webauthnContainer,!0),this.webauthnGet?.setState(ix.$j()?iq.State.Ready:iq.State.Unsupported)}renderGitHubMobileOption(e){try{(0,iM.s)()}catch{}e?(this.safeSetElementVisibility(this.githubMobileLoading,!1),this.safeSetElementVisibility(this.githubMobileLanding,!0),this.safeSetElementVisibility(this.githubMobileContainer,!1)):(this.safeSetElementVisibility(this.githubMobileLoading,!0),this.safeSetElementVisibility(this.githubMobileLanding,!1),this.safeSetElementVisibility(this.githubMobileContainer,!1),this.initiateGitHubMobileAuthRequest())}renderTotpSmsOption(e){e?(this.safeSetElementVisibility(this.totpSmsLanding,!0),this.safeSetElementVisibility(this.totpSmsContainer,!1)):(this.safeSetElementVisibility(this.totpSmsLanding,!1),this.safeSetElementVisibility(this.totpSmsContainer,!0),this.initiateTotpSmsRequest())}renderTotpAppOption(){this.safeSetElementVisibility(this.totpAppContainer,!0)}renderPasswordOption(){this.safeSetElementVisibility(this.passwordContainer,!0),this.loginField?this.loginField.focus():this.passwordField?.focus()}hasMultipleOptions(){return this.isWebAuthnAvailable()||this.isGitHubMobileAvailable()||this.isTotpAppAvailable()||this.isTotpSmsAvailable()}isWebAuthnAvailable(){return"true"===this.webauthnAvailable}isGitHubMobileAvailable(){return"true"===this.githubMobileAvailable}isTotpAppAvailable(){return"true"===this.totpAppAvailable}isTotpSmsAvailable(){return"true"===this.totpSmsAvailable}showWebauthn(){iP(this,iB,"webauthn"),this.reRenderPrompt()}showGitHubMobile(){iP(this,iB,"github_mobile"),this.reRenderPrompt()}showTotpApp(){iP(this,iB,"app"),this.reRenderPrompt()}showTotpSms(){iP(this,iB,"sms"),this.reRenderPrompt()}showPassword(){iP(this,iB,"password"),this.reRenderPrompt()}githubMobileRetry(e){e.preventDefault(),this.showGitHubMobile()}async initiateGitHubMobileAuthRequest(){let e=this.githubMobilePromptUrl,t=document.getElementById("sudo-credential-options-github-mobile-csrf").value,n=new FormData;n.append("authenticity_token",t);try{let t=await fetch(e,{method:"POST",headers:{"X-Requested-With":"XMLHttpRequest"},body:n});if(!t.ok&&"github_mobile"===iH(this,iB)){this.mobileFailHandler(this.githubMobileGenericErrorMessage);return}let r=await t.json(),i=!!r.challenge;this.safeSetElementVisibility(this.githubMobileNoChallengeMessage,!i),this.safeSetElementVisibility(this.githubMobileChallengeMessage,i),this.safeSetElementVisibility(this.githubMobileChallengeValue,i),i&&(this.githubMobileChallengeValue.textContent=r.challenge);let a=document.getElementsByClassName("js-poll-github-mobile-sudo-authenticate")[0];(0,iM.R1)(a,()=>this.mobileApprovedHandler(),e=>this.mobileFailHandler(e),()=>this.mobileCancelCheck())}catch{"github_mobile"===iH(this,iB)&&this.mobileFailHandler(this.githubMobileGenericErrorMessage)}finally{"github_mobile"===iH(this,iB)&&(this.safeSetElementVisibility(this.githubMobileLoading,!1),this.safeSetElementVisibility(this.githubMobileContainer,!0))}}async resendTotpSms(){this.hideErrorMessage(),(0,i_.K)();try{await this.initiateTotpSmsRequest(!0)}catch{}document.body.classList.remove("is-sending")}async initiateTotpSmsRequest(e=!1){let t=new URL(this.totpSmsTriggerUrl,window.location.origin);e&&t.searchParams.set("resend","true");let n=document.getElementById("sudo-credential-options-sms-csrf").value,r=new FormData;r.append("authenticity_token",n);try{let n=await fetch(t,{method:"POST",headers:{"X-Requested-With":"XMLHttpRequest"},body:r});if(n.ok||"sms"!==iH(this,iB))"sms"===iH(this,iB)&&e&&(0,i_.f)();else{let e=await n.json();this.showErrorMessage(e.error)}}catch{"sms"===iH(this,iB)&&this.showErrorMessage(this.smsGenericErrorMessage)}"sms"===iH(this,iB)&&this.safeSetElementVisibility(this.totpSmsResendNav,!0)}mobileApprovedHandler(){if("github_mobile"===iH(this,iB)){let e=this.githubMobileContainer.getElementsByTagName("form")[0];(0,R.k_)(e)}}mobileFailHandler(e){"github_mobile"===iH(this,iB)&&(this.showErrorMessage(e),(0,iM.Cg)())}mobileCancelCheck(){return"github_mobile"!==iH(this,iB)}safeSetElementVisibility(e,t){return!!e&&(e.hidden=!t,!0)}showErrorMessage(e){this.flashErrorMessageText&&(this.flashErrorMessageText.textContent=e,this.safeSetElementVisibility(this.flashErrorMessageContainer,!0))}hideErrorMessage(){this.flashErrorMessageText&&(this.flashErrorMessageText.textContent=""),this.safeSetElementVisibility(this.flashErrorMessageContainer,!1)}constructor(...e){super(...e),function(e,t,n){(function(e,t){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,n)}(this,iB,{writable:!0,value:void 0})}};SudoCredentialOptionsElement.attrPrefix="",iI([ik.CF],SudoCredentialOptionsElement.prototype,"initialState",void 0),iI([ik.CF],SudoCredentialOptionsElement.prototype,"webauthnAvailable",void 0),iI([ik.CF],SudoCredentialOptionsElement.prototype,"githubMobileAvailable",void 0),iI([ik.CF],SudoCredentialOptionsElement.prototype,"totpAppAvailable",void 0),iI([ik.CF],SudoCredentialOptionsElement.prototype,"totpSmsAvailable",void 0),iI([ik.CF],SudoCredentialOptionsElement.prototype,"githubMobilePromptUrl",void 0),iI([ik.CF],SudoCredentialOptionsElement.prototype,"githubMobileGenericErrorMessage",void 0),iI([ik.CF],SudoCredentialOptionsElement.prototype,"smsGenericErrorMessage",void 0),iI([ik.CF],SudoCredentialOptionsElement.prototype,"genericErrorMessage",void 0),iI([ik.CF],SudoCredentialOptionsElement.prototype,"totpSmsTriggerUrl",void 0),iI([ik.aC],SudoCredentialOptionsElement.prototype,"flashErrorMessageContainer",void 0),iI([ik.aC],SudoCredentialOptionsElement.prototype,"flashErrorMessageText",void 0),iI([ik.aC],SudoCredentialOptionsElement.prototype,"webauthnContainer",void 0),iI([ik.aC],SudoCredentialOptionsElement.prototype,"githubMobileContainer",void 0),iI([ik.aC],SudoCredentialOptionsElement.prototype,"githubMobileLoading",void 0),iI([ik.aC],SudoCredentialOptionsElement.prototype,"githubMobileLanding",void 0),iI([ik.aC],SudoCredentialOptionsElement.prototype,"totpAppContainer",void 0),iI([ik.aC],SudoCredentialOptionsElement.prototype,"totpSmsContainer",void 0),iI([ik.aC],SudoCredentialOptionsElement.prototype,"totpSmsLanding",void 0),iI([ik.aC],SudoCredentialOptionsElement.prototype,"passwordContainer",void 0),iI([ik.aC],SudoCredentialOptionsElement.prototype,"githubMobileNoChallengeMessage",void 0),iI([ik.aC],SudoCredentialOptionsElement.prototype,"githubMobileChallengeMessage",void 0),iI([ik.aC],SudoCredentialOptionsElement.prototype,"githubMobileChallengeValue",void 0),iI([ik.aC],SudoCredentialOptionsElement.prototype,"webauthnNav",void 0),iI([ik.aC],SudoCredentialOptionsElement.prototype,"githubMobileNav",void 0),iI([ik.aC],SudoCredentialOptionsElement.prototype,"totpAppNav",void 0),iI([ik.aC],SudoCredentialOptionsElement.prototype,"totpSmsNav",void 0),iI([ik.aC],SudoCredentialOptionsElement.prototype,"totpSmsResendNav",void 0),iI([ik.aC],SudoCredentialOptionsElement.prototype,"passwordNav",void 0),iI([ik.aC],SudoCredentialOptionsElement.prototype,"webauthnGet",void 0),iI([ik.aC],SudoCredentialOptionsElement.prototype,"loginField",void 0),iI([ik.aC],SudoCredentialOptionsElement.prototype,"passwordField",void 0),SudoCredentialOptionsElement=iI([ik.p_],SudoCredentialOptionsElement);let iO=0,i$="IntersectionObserver"in window?new IntersectionObserver(function(e){for(let t of e)t.isIntersecting&&iN(t.target)},{root:null,rootMargin:"0px",threshold:1}):null;function iN(e){e.classList.remove("js-unread-item","unread-item")}(0,L.lB)(".js-unread-item",{constructor:HTMLElement,add(e){iO++,i$&&i$.observe(e)},remove(e){iO--,i$&&i$.unobserve(e),0===iO&&function(){if(!document.hasFocus())return;let e=document.querySelector(".js-timeline-marker-form");e&&e instanceof HTMLFormElement&&(0,R.k_)(e)}()}}),(0,L.lB)(".js-discussion[data-channel-target]",{subscribe:e=>(0,N.Rt)(e,"socket:message",function(e){let t=e.target,n=e.detail.data;if(t.getAttribute("data-channel-target")===n.gid)for(let e of document.querySelectorAll(".js-unread-item"))iN(e)})});let iD=0,iW=/^\(\d+\)\s+/;function iF(){let e=iD?`(${iD}) `:"";document.title.match(iW)?document.title=document.title.replace(iW,e):document.title=`${e}${document.title}`}(0,L.lB)(".js-unread-item",{add(){iD++,iF()},remove(){iD--,iF()}});let iU=(0,n(78568).R)();async function iz(){if(history.state&&history.state.staleRecords){for(let e in await en.G,history.state.staleRecords)for(let t of document.querySelectorAll(`.js-updatable-content [data-url='${e}'], .js-updatable-content[data-url='${e}']`)){let n=history.state.staleRecords[e];t instanceof HTMLElement&&(0,eg.Uv)(t,n,!0)}(0,P.g5)(null,"",location.href)}}(0,L.lB)(".js-socket-channel.js-updatable-content",{subscribe:e=>(0,N.Rt)(e,"socket:message",iU)}),window.addEventListener("pagehide",eg.jH);try{iz()}catch{}(0,y.on)("upload:setup",".js-upload-avatar-image",function(e){let{form:t}=e.detail,n=e.currentTarget.getAttribute("data-alambic-organization"),r=e.currentTarget.getAttribute("data-alambic-owner-type"),i=e.currentTarget.getAttribute("data-alambic-owner-id");n&&t.append("organization_id",n),r&&t.append("owner_type",r),i&&t.append("owner_id",i)}),(0,y.on)("upload:complete",".js-upload-avatar-image",function(e){let{attachment:t}=e.detail,n=`/settings/avatars/${t.id}`;(0,tp.r)({content:(0,tg.Ts)(document,n),detailsClass:"upload-avatar-details"})}),(0,y.on)("dialog:remove",".upload-avatar-details",async function(e){let t=e.currentTarget.querySelector("#avatar-crop-form").getAttribute("data-alambic-avatar-id"),n=new Request(`/settings/avatars/${t}?op=destroy`,{method:"POST",headers:{"Scoped-CSRF-Token":e.currentTarget.querySelector(".js-avatar-post-csrf").getAttribute("value"),"X-Requested-With":"XMLHttpRequest"}});await self.fetch(n)});var iX=n(53348);function iV(){if(!(0,iX.A)()||document.querySelector(":target"))return;let e=(0,n3.gX)(location.hash),t=e.startsWith("user-content-")?e:`user-content-${e}`,n=(0,n3.w$)(document,t)??(0,n3.w$)(document,t.toLowerCase());n&&(0,t5.Rt)(n)}async function iG(){await n.e("app_assets_modules_github_user-status-submit_ts").then(n.bind(n,70868))}window.addEventListener("hashchange",iV),document.addEventListener("turbo:load",iV),async function(){await en.G,iV()}(),(0,y.on)("click","a[href]",function(e){let{currentTarget:t}=e;t instanceof HTMLAnchorElement&&t.href===location.href&&location.hash.length>1&&setTimeout(function(){e.defaultPrevented||iV()})}),n(75681),(0,L.lB)(".js-user-status-container, .js-load-user-status-submit",{subscribe:e=>(0,N.Rt)(e,"click",iG,{once:!0})}),(0,L.lB)(".user-status-dialog-fragment",{add:iG});var iK=n(26234);function iJ(e,t){for(let n of(t||e).querySelectorAll(".js-user-list-error"))n.hidden=!0;for(let n of t?[t]:e.querySelectorAll(".errored.js-user-list-input-container"))n.classList.remove("errored");let n=e.querySelector(".js-user-list-base");n&&(n.hidden=!0)}function iY(e){if(!(e.currentTarget instanceof HTMLElement))return;let t=e.currentTarget.closest(".js-user-list-form"),n=e.currentTarget.closest(".js-user-list-input-container");t&&n&&iJ(t,n)}async function iZ(e,t,n){let r=new FormData;for(let e of(r.set("authenticity_token",t),n))r.append("repository_ids[]",e);let i=await fetch(e,{method:"POST",body:r,headers:{Accept:"application/json","X-Requested-With":"XMLHttpRequest"}}),a=new Map;if(i.ok){let e=await i.json();for(let t in e)a.set(t,(0,H.B)(document,e[t]))}return a}async function iQ(){let e=document.querySelectorAll(".js-user-list-menu-content-root");if(0===e.length)return;let t=e[0].getAttribute("data-batch-update-url");if(!t)return;let n=e[0].querySelector(".js-user-list-batch-update-csrf")?.value;if(!n)return;let r=function(e){let t=new Map;for(let n of e){let e=n.querySelector(".js-user-lists-create-trigger")?.getAttribute("data-repository-id");if(e){let r=t.get(e);r?r.push(n):t.set(e,[n])}}return t}(e),i=r.keys(),a=await iZ(t,n,i);a.size>0&&function(e,t){for(let[n,r]of e.entries()){let e=t.get(n)||[];for(let t of e)t.replaceWith(1===e.length?r:r.cloneNode(!0))}}(a,r)}function i0(e){let t=e.currentTarget;(0,iK.Av)(t)?function(e){let t=e.getAttribute("data-warn-unsaved-changes")||"Changes you made may not be saved.";window.onbeforeunload=function(e){return e.returnValue=t,t}}(t):i1()}function i1(){window.onbeforeunload=null}function i2({currentTarget:e}){e.hasAttribute("open")||i1()}function i5(e){let t=e.currentTarget;if(!t.closest("details[open]"))return;let n=!0;for(let e of t.querySelectorAll("form[data-warn-unsaved-changes]"))if((0,iK.Av)(e)){n=confirm(e.getAttribute("data-warn-unsaved-changes"));break}n||e.preventDefault()}function i4(e){e.target.classList.remove("will-transition-once")}async function i7(e){let t=e.currentTarget,n=t.getAttribute("data-url");if(!n||function(e){switch(e.getAttribute("data-hovercard-type")){case"issue":case"pull_request":return!!e.closest("[data-issue-and-pr-hovercards-enabled]");case"discussion":return!!e.closest("[data-discussion-hovercards-enabled]");default:return!1}}(t))return;let r=t.getAttribute("data-id")||"",i=t.textContent,a=document.querySelectorAll(`.js-issue-link[data-id='${r}']`);for(let e of a)e.removeAttribute("data-url");try{let e=`${n}/title`,t=await fetch(e,{headers:{"X-Requested-With":"XMLHttpRequest",Accept:"application/json"}});if(!t.ok){let e=Error(),n=t.statusText?` ${t.statusText}`:"";throw e.message=`HTTP ${t.status}${n}`,e}let r=await t.json();i3(a,`${i}, ${r.title}`)}catch(e){i3(a,(404===((null!=e.response?e.response.status:void 0)||500)?t.getAttribute("data-permission-text"):t.getAttribute("data-error-text"))||"")}}function i3(e,t){for(let n of e)n instanceof HTMLElement&&(n.classList.add("tooltipped","tooltipped-ne"),n.setAttribute("aria-label",t))}(0,v.JW)(".js-user-list-form",async function(e,t){iJ(e);let n=e.querySelector("[data-submitting-message]"),r=n?.textContent;for(let t of(n&&(n.textContent=n.getAttribute("data-submitting-message"),n.disabled=!0),e.querySelectorAll(".js-user-list-input")))t.disabled=!0;try{let n=await t.html();(0,y.h)(e,"user-list-form:success",n.html)}catch(t){if(t.response?.status===422)e.replaceWith(t.response.html);else for(let t of(function(e,t){let n=e.querySelector(".js-user-list-base");n&&(n.textContent=n.getAttribute("data-generic-message"),n.hidden=!1)}(e),n&&(r&&(n.textContent=r),n.disabled=!1),e.querySelectorAll(".js-user-list-input")))t.disabled=!1}}),(0,y.on)("user-list-form:success",".js-follow-list",e=>{let t=e.detail,n=t instanceof DocumentFragment?t.querySelector(".js-target-url"):null;n?.href?location.href=n.href:location.reload()}),(0,O.eC)(".js-user-list-form input",iY),(0,O.eC)(".js-user-list-form textarea",iY),(0,y.on)("auto-check-error",".js-user-list-form input",function(e){let t=e.currentTarget.closest(".js-user-list-input-container"),n=t?.querySelector(".js-user-list-error");n&&(n.hidden=!1)}),(0,y.on)("toggle",".js-user-list-menu",function(e){let t=e.target;if(!(t instanceof HTMLDetailsElement)||t.hasAttribute("open"))return;let n=t.querySelector(".js-user-list-menu-form");n&&(0,iK.Av)(n)&&(0,R.k_)(n);let r=t.querySelector(".js-user-list-create-trigger-text");r&&(r.textContent="")},{capture:!0}),(0,O.eC)(".js-user-lists-menu-filter",e=>{let t=e.currentTarget,n=t.value.trim(),r=t.closest(".js-user-list-menu-content-root"),i=r?.querySelector(".js-user-list-create-trigger-text");i&&(i.textContent=n?`"${n}"`:"")}),(0,v.JW)(".js-user-list-menu-form",async function(e,t){let n;try{n=await t.json()}catch(t){(0,b.n)(),(0,y.h)(e,"user-list-menu-form:error",t);return}if(n.json.didStar){let t=e.closest(".js-toggler-container");t&&t.classList.add("on");let r=n.json.starCount;if(r){let t=e.closest(".js-social-container");t&&rn(t,r)}}let r=e.closest(".js-user-list-menu-content-root[data-update-after-submit]");if(r)for(let t of e.querySelectorAll(".js-user-list-menu-item"))t.checked=t.defaultChecked;n.json.didCreate?await iQ():r&&await (0,eg.le)(r),(0,y.h)(e,"user-list-menu-form:success")}),(0,y.on)("click",".js-user-list-delete-confirmation-trigger",e=>{let{currentTarget:t}=e,n=t.getAttribute("data-template-id");if(!n)return;let r=document.getElementById(n);if(!r||!(r instanceof HTMLTemplateElement))return;let i=t.closest(".js-edit-user-list-dialog");i&&(i.open=!1);let a=r.content.cloneNode(!0),o=r.getAttribute("data-labelledby");(0,tp.r)({content:a,labelledBy:o})}),(0,y.on)("click",".js-user-lists-create-trigger",async function(e){let{currentTarget:t}=e,n=document.querySelector(".js-user-list-create-dialog-template"),r=e.currentTarget.getAttribute("data-repository-id"),i=t.closest(".js-user-list-menu-content-root"),a=i?.querySelector(".js-user-lists-menu-filter"),o=a?.value.trim();if(!n||!(n instanceof HTMLTemplateElement)||!r){t instanceof HTMLButtonElement&&(t.disabled=!0);return}let s=n.getAttribute("data-label");if(i&&(0,iK.Av)(i)){let e=i.querySelector(".js-user-list-menu-form");e&&await function(e){let t=new Promise((t,n)=>{e.addEventListener("user-list-menu-form:success",()=>t()),e.addEventListener("user-list-menu-form:error",e=>n(e))});return(0,R.k_)(e),t}(e)}let l=new t3.i4(n,{repositoryId:r,placeholderName:o}),c=await (0,tp.r)({content:l,label:s});c.addEventListener("user-list-form:success",async e=>{let n=e.detail;if(!(n instanceof DocumentFragment))return;let r=n.querySelector(".js-target-url");if(r?.getAttribute("data-did-star")!=="true")return;let i=t.closest(".js-toggler-container");i&&i.classList.add("on");let a=r?.getAttribute("data-star-count");if(a){let e=t.closest(".js-social-container");e&&rn(e,a)}await iQ();let o=c.closest("details");o&&(o.open=!1)})}),(0,L.lB)("[data-warn-unsaved-changes]",{add(e){e.addEventListener("input",i0),e.addEventListener("change",i0),e.addEventListener("submit",i1);let t=e.closest("details-dialog");t&&(t.closest("details").addEventListener("toggle",i2),t.addEventListener("details-dialog-close",i5))},remove(e){e.removeEventListener("input",i0),e.removeEventListener("change",i0),e.removeEventListener("submit",i1);let t=e.closest("details-dialog");t&&(t.closest("details").removeEventListener("toggle",i2),t.removeEventListener("details-dialog-close",i5),i1())}}),(0,L.lB)(".will-transition-once",{constructor:HTMLElement,subscribe:e=>(0,N.Rt)(e,"transitionend",i4)}),(0,L.lB)(".js-issue-link",{subscribe:e=>(0,N.Rt)(e,"mouseenter",i7)});var i9=n(10734),i8=n.n(i9);function i6(){return[Math.floor(255*Math.random()+0),Math.floor(255*Math.random()+0),Math.floor(255*Math.random()+0)]}function ae(e,t){let n=i8().rgb.hsl(t);e.style.setProperty("--label-r",t[0].toString()),e.style.setProperty("--label-g",t[1].toString()),e.style.setProperty("--label-b",t[2].toString()),e.style.setProperty("--label-h",n[0].toString()),e.style.setProperty("--label-s",n[1].toString()),e.style.setProperty("--label-l",n[2].toString())}function at(e,t){e.blur();let n=e.closest("form"),r=n.querySelector(".js-new-label-color-input");(0,R.m$)(r,`#${i8().rgb.hex(t)}`),ae(n.querySelector(".js-new-label-color"),t)}function an(e,t,n){var r;let i=t.querySelector(e);i&&(n?(r=n[0],i.closest(".js-label-error-container").classList.add("errored"),i.textContent=r,i.hidden=!1):(i.closest(".js-label-error-container").classList.remove("errored"),i.hidden=!0))}function ar(e,t){an(".js-label-name-error",e,t.name),an(".js-label-description-error",e,t.description),an(".js-label-color-error",e,t.color)}function ai(e){an(".js-label-name-error",e,null),an(".js-label-description-error",e,null),an(".js-label-color-error",e,null)}async function aa(e){let t,n;let r=e.closest(".js-label-preview-container");if(!r)return;let i=e.closest(".js-label-form"),a=i.querySelector(".js-new-label-error"),o=i.getAttribute("data-label-id"),s=r.querySelector(".js-label-preview"),l=((n=i.querySelector(".js-new-label-name-input").value.trim()).length<1&&(n=s.getAttribute("data-default-name")),n);if(!i.checkValidity()&&"Label preview"!==l)return;let c=function(e){let t=e.querySelector(".js-new-label-color-input");return t.checkValidity()?t.value.trim().replace(/^#/,""):"ededed"}(i),u=function(e){let t=null,n=e.querySelector(".js-new-label-description-input");return n instanceof HTMLInputElement&&n.value.trim().length>0&&(t=n.value.trim()),t}(i),d=function(e,t,n,r,i){let a=new URL(`${e}${encodeURIComponent(t)}`,window.location.origin),o=new URLSearchParams(a.search.slice(1));return o.append("color",n),r&&o.append("description",r),i&&o.append("id",i),a.search=o.toString(),a.toString()}(s.getAttribute("data-url-template"),l,c,u,o);if(!r.hasAttribute("data-last-preview-url")||d!==r.getAttribute("data-last-preview-url")){try{t=await (0,tg.Ts)(document,d)}catch(t){let e=await t.response.json();ar(i,e),a&&(a.textContent=e.message,a.hidden=!1);return}a&&(a.textContent="",a.hidden=!0),ai(i),s.textContent="",s.appendChild(t),r.setAttribute("data-last-preview-url",d)}}function ao(e,t){e.closest(".js-details-container").classList.toggle("is-empty",t)}function as(e){let t=document.querySelector(".js-labels-count"),n=Number(t.textContent)+e;t.textContent=n.toString();let r=document.querySelector(".js-labels-label");return r.textContent=r.getAttribute(1===n?"data-singular-string":"data-plural-string"),n}async function al(e){let t=e.querySelector(".js-new-label-name-input");if(!t)return;let n=e.querySelector(".js-new-label-color-input"),r=i6(),i=`#${i8().rgb.hex(r)}`;n.value=i;let a=e.querySelector(".js-new-label-color");ae(a,r);let o=document.querySelector(".js-new-label-name").textContent;(0,R.m$)(t,o),(0,eo.mY)(t),aa(a)}(0,O.eC)(".js-label-filter-field",function(e){let t=e.target,n=t.closest("details-menu").querySelector(".js-new-label-name");if(!n)return;let r=t.value.trim();n.textContent=r}),(0,y.on)("filterable:change",".js-filterable-issue-labels",function(e){let t=e.currentTarget.closest("details-menu"),n=t.querySelector(".js-add-label-button");if(!n)return;let r=e.detail.inputField.value.trim().toLowerCase(),i=!1;for(let e of t.querySelectorAll("input[data-label-name]"))if((e.getAttribute("data-label-name")||"").toLowerCase()===r){i=!0;break}n.hidden=0===r.length||i}),(0,O.uE)(".js-new-label-color-input",function(e){let t=e.closest("form").querySelector(".js-new-label-swatches");t.hidden=!1,e.addEventListener("blur",function(){t.hidden=!0},{once:!0})}),(0,O.eC)(".js-new-label-color-input",function(e){let t=e.target,n=t.value.trim();n.length<1||(0!==n.indexOf("#")&&(n=`#${n}`,t.value=n),t.checkValidity()?(t.classList.remove("color-fg-danger"),ae(t.closest("form").querySelector(".js-new-label-color"),i8().hex.rgb(n))):t.classList.add("color-fg-danger"))}),(0,O.Ff)("keyup",".js-new-label-color-input",function(e){let t=e.target,n=t.value.trim();0!==n.indexOf("#")&&(n=`#${n}`,t.value=n),t.checkValidity()&&ae(t.closest("form").querySelector(".js-new-label-color"),i8().hex.rgb(n)),(0,y.h)(t,"change",!1),ai(t.closest("form"))}),(0,O.Ff)("keyup",".js-new-label-description-input",function(e){ai(e.target.form)}),(0,O.Ff)("keyup",".js-new-label-color-input",function(e){ai(e.target.form)}),(0,y.on)("click",".js-new-label-color",async function(e){let t=e.currentTarget;at(t,i6()),aa(t)}),(0,y.on)("mousedown",".js-new-label-color-swatch",function(e){let t=e.currentTarget,n=t.getAttribute("data-color");at(t,i8().hex.rgb(n)),aa(t),t.closest(".js-new-label-swatches").hidden=!0}),(0,y.on)("toggle",".js-new-label-modal",function(e){e.target.hasAttribute("open")&&al(e.target)},{capture:!0}),(0,v.JW)(".js-new-label-modal-form",async function(e,t){let n;let r=e.querySelector(".js-new-label-error");try{n=await t.html()}catch(t){let e=t.response.json;r.textContent=e.message,r.hidden=!1}if(!n)return;r.hidden=!0,document.querySelector(".js-new-label-modal").removeAttribute("open");let i=document.querySelector(".js-issue-labels-menu-content"),a=i.querySelector(".js-filterable-issue-labels"),o=n.html.querySelector("input");a.prepend(n.html),a.classList.add("filter-sort-list-refresh"),o&&o.dispatchEvent(new Event("change",{bubbles:!0}));let s=i.querySelector(".js-label-filter-field");s.value=s.defaultValue,s.focus()}),(0,y.on)("click",".js-edit-label-cancel",function(e){let t=e.target.closest("form");ai(t),t.reset();let n=t.querySelector(".js-new-label-color-input"),r=n.value;ae(t.querySelector(".js-new-label-color"),i8().hex.rgb(r)),(0,eo.ig)(t),aa(n);let i=e.currentTarget.closest(".js-labels-list-item");if(i){i.querySelector(".js-update-label").classList.add("d-none");let e=i.querySelector(".js-label-preview");for(let t of(e&&(e.classList.add("d-none"),i.querySelector(".js-label-link").classList.remove("d-none")),i.querySelectorAll(".js-hide-on-label-edit")))t.hidden=!t.hidden}}),(0,v.JW)(".js-update-label",async function(e,t){let n;try{n=await t.html()}catch(t){ar(e,t.response.json);return}ai(e),e.closest(".js-labels-list-item").replaceWith(n.html)}),(0,v.JW)(".js-create-label",async function(e,t){let n;try{n=await t.html()}catch(t){ar(e,t.response.json);return}e.reset(),ai(e),document.querySelector(".js-label-list").prepend(n.html),as(1),ao(e,!1),at(e.querySelector(".js-new-label-color"),i6()),aa(e.querySelector(".js-new-label-name-input")),(0,eo.ig)(e);let r=e.closest(".js-details-container");r instanceof HTMLElement&&(0,e3.kn)(r)}),(0,y.on)("click",".js-details-target-new-label",function(){document.querySelector(".js-create-label").querySelector(".js-new-label-name-input").focus()}),(0,y.on)("click",".js-edit-label",function(e){let t=e.currentTarget.closest(".js-labels-list-item"),n=t.querySelector(".js-update-label");n.classList.remove("d-none"),n.querySelector(".js-new-label-name-input").focus();let r=t.querySelector(".js-label-preview");for(let e of(r&&(r.classList.remove("d-none"),t.querySelector(".js-label-link").classList.add("d-none")),t.querySelectorAll(".js-hide-on-label-edit")))e.hidden=!e.hidden}),(0,v.JW)(".js-delete-label",async function(e,t){let n=e.closest(".js-labels-list-item");n.querySelector(".js-label-delete-spinner").hidden=!1,await t.text(),ao(e,0===as(-1)),n.remove()});let ac=(0,$.s)(function(e){aa(e.target)},500);function au(){let e=document.querySelector(".js-reveal-custom-thread-settings").checked,t=!document.querySelector(".js-custom-thread-notification-option:checked"),n=document.querySelector(".js-custom-thread-settings"),r=document.querySelector("[data-custom-option-required-text]"),i=e&&t?r.getAttribute("data-custom-option-required-text"):"";r.setCustomValidity(i),n.hidden=!e}function ad(e,t,n,r){var i,a=arguments.length,o=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(o=(a<3?i(o):a>3?i(t,n,o):i(t,n))||o);return a>3&&o&&Object.defineProperty(t,n,o),o}(0,y.on)("suggester:complete",".js-new-label-name-input",ac),(0,O.eC)(".js-new-label-name-input",ac),(0,O.eC)(".js-new-label-description-input",ac),(0,O.eC)(".js-new-label-color-input",ac),(0,O.Ff)("keypress",".js-new-label-name-input",function(e){let t=e.target,n=parseInt(t.getAttribute("data-maxlength"));(0,eS.bV)(t.value)>=n&&e.preventDefault()}),(0,y.on)("click",".js-issues-label-select-menu-item",function(e){(e.altKey||e.shiftKey)&&(e.preventDefault(),e.stopPropagation(),e.altKey&&(window.location.href=new URL(e.currentTarget.getAttribute("data-excluded-url"),window.location.origin).toString()),e.shiftKey&&(window.location.href=new URL(e.currentTarget.getAttribute("data-included-url"),window.location.origin).toString()))}),(0,O.Ff)("keydown",".js-issues-label-select-menu-item",function(e){if("Enter"!==e.key||!e.altKey&&!e.shiftKey)return;let t=e.currentTarget;e.preventDefault(),e.stopPropagation(),t instanceof HTMLAnchorElement&&(e.altKey&&(window.location.href=new URL(t.getAttribute("data-excluded-url"),window.location.origin).toString()),e.shiftKey&&(window.location.href=new URL(t.getAttribute("data-included-url"),window.location.origin).toString()))}),(0,y.on)("click",".js-open-label-creation-modal",async function(e){e.stopImmediatePropagation(),al(await (0,tp.r)({content:document.querySelector(".js-label-creation-template").content.cloneNode(!0),detailsClass:"js-new-label-modal"}))},{capture:!0}),(0,y.on)("change",".js-thread-notification-setting",au),(0,y.on)("change",".js-custom-thread-notification-option",au),(0,y.on)("reset",".js-custom-thread-settings-form",au);let am=class CollapsibleSidebarWidgetElement extends HTMLElement{get activeClass(){return this.getAttribute("active-class")||"collapsible-sidebar-widget-active"}get loadingClass(){return this.getAttribute("loading-class")||"collapsible-sidebar-widget-loading"}get url(){return this.getAttribute("url")||""}get isOpen(){return this.hasAttribute("open")}set isOpen(e){e?this.setAttribute("open",""):this.removeAttribute("open")}onKeyDown(e){if("Enter"===e.code||"Space"===e.code)return e.preventDefault(),this.load()}onMouseDown(e){return e.preventDefault(),this.load()}load(){return this.pendingRequest?this.pendingRequest.abort():this.collapsible.hasAttribute("loaded")?this.isOpen?this.setClose():this.setOpen():(this.setLoading(),this.updateCollapsible())}setLoading(){this.classList.add(this.loadingClass),this.classList.remove(this.activeClass)}setOpen(){this.classList.add(this.activeClass),this.classList.remove(this.loadingClass),this.isOpen=!0}setClose(){this.classList.remove(this.activeClass),this.classList.remove(this.loadingClass),this.isOpen=!1}handleAbort(){this.pendingRequest=null,this.setClose()}async updateCollapsible(){try{this.pendingRequest=new AbortController,this.pendingRequest.signal.addEventListener("abort",()=>this.handleAbort());let e=await fetch(this.url,{signal:this.pendingRequest?.signal,headers:{Accept:"text/html","X-Requested-With":"XMLHttpRequest"}});if(this.pendingRequest=null,!e.ok)return this.setClose();let t=await e.text();this.collapsible.innerHTML=t,this.collapsible.setAttribute("loaded",""),this.setOpen()}catch{return this.pendingRequest=null,this.setClose()}}};function af(e,t,n,r){var i,a=arguments.length,o=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(o=(a<3?i(o):a>3?i(t,n,o):i(t,n))||o);return a>3&&o&&Object.defineProperty(t,n,o),o}ad([ik.aC],am.prototype,"collapsible",void 0),am=ad([ik.p_],am);let ah=class SidebarMemexInputElement extends HTMLElement{get isDisabled(){return this.read?.hasAttribute("disabled")}set hasErrored(e){e?this.setAttribute("errored",""):this.removeAttribute("errored")}set disabled(e){e?this.setAttribute("disabled",""):this.removeAttribute("disabled")}get hasExpanded(){return"true"===this.read.getAttribute("aria-expanded")}get detailsElement(){return this.querySelector("details")??null}connectedCallback(){this.disabled=this.read?.disabled??!0,this.detailsElement?.addEventListener("toggle",()=>this.handleSelectMenuToggle())}disconnectedCallback(){this.detailsElement?.removeEventListener("toggle",()=>this.handleSelectMenuToggle())}handleSelectMenuToggle(){this.detailsElement&&!this.detailsElement?.open?this.disabled=!0:this.detailsElement&&this.detailsElement?.open&&(this.disabled=!1)}handleDetailsSelect(e){let t=e.target,n=e.detail?.relatedTarget,r=t.closest("details"),i=r?.querySelector("[data-menu-button]"),a=r?.querySelector("summary");if("true"===n.getAttribute("aria-checked")){for(let t of(n.setAttribute("aria-checked","false"),e.preventDefault(),this.inputs))if(n.contains(t)){this.updateCell(t.name,""),i?.innerHTML&&(i.innerHTML=t.placeholder);break}r?.removeAttribute("open"),a?.focus()}}handleDetailsSelected(e){let t=e.detail?.relatedTarget;for(let e of this.inputs)if(t.contains(e)){this.updateCell(e.name,e.value);break}}mouseDownFocus(e){this.isDisabled&&this.onFocus(e)}keyDownFocus(e){("Enter"===e.code||"Space"===e.code)&&(this.detailsElement&&this.onSelectMenuOpen(),this.read!==document.activeElement&&this.onFocus(e))}mouseDownFocusHeader(){this.detailsElement&&this.onSelectMenuOpen()}onChange(e){"date"!==e.target.getAttribute("type")&&this.updateCell(this.read?.name,this.read?.value)}onFocus(e){e.preventDefault(),this.disabled=!1,this.read.disabled=!1,this.read.focus()}onSelectMenuOpen(){this.detailsElement&&(this.detailsElement.open=!0)}onBlur(e){if(this.hasExpanded){e.preventDefault();return}"date"===e.target.getAttribute("type")&&this.updateCell(this.read?.name,this.read?.value),this.read.disabled=!0,this.disabled=!0}onKeyDown(e){"Enter"!==e.code&&"Tab"!==e.code||(e.preventDefault(),e.stopPropagation(),this.hasExpanded||this.read.blur())}async updateCell(e="",t=""){let n=new FormData;for(let r of(n.set(e,t),n.set("ui",this.instrumentType),this.parameters))n.set(r.name,r.value);try{if(this.write){let e=this.read.value,t="date"===this.read.type&&e?this.format.format(Date.parse(e)):e;this.write.textContent=e?t:this.read.placeholder}let e=await fetch(this.updateUrl,{method:"PUT",body:n,headers:{Accept:"application/json","X-Requested-With":"XMLHttpRequest","Scoped-CSRF-Token":`${this.csrfToken}`}});if(!e.ok)throw Error("connection error");if(!this.write)return;let r=(await e.json()).memexProjectItem.memexProjectColumnValues.find(e=>e.memexProjectColumnId===Number(this.columnId)).value,i=this.parseAndFormatUpdate(r);this.write.innerHTML=t?i:this.read.placeholder}catch{this.hasErrored=!0}}parseAndFormatUpdate(e){switch(this.read.type){case"date":{let t=e.value?Date.parse(e.value):void 0;return t?this.format.format(t):""}case"number":return null==e.value?"":e.value;default:return e.html??""}}constructor(...e){super(...e),this.updateUrl="",this.csrfToken="",this.instrumentType="",this.columnId=1,this.format=Intl.DateTimeFormat("en-US",{month:"short",day:"numeric",year:"numeric",timeZone:"UTC"})}};ah.attrPrefix="",af([ik.CF],ah.prototype,"updateUrl",void 0),af([ik.CF],ah.prototype,"csrfToken",void 0),af([ik.CF],ah.prototype,"instrumentType",void 0),af([ik.CF],ah.prototype,"columnId",void 0),af([ik.zV],ah.prototype,"inputs",void 0),af([ik.aC],ah.prototype,"read",void 0),af([ik.aC],ah.prototype,"write",void 0),af([ik.zV],ah.prototype,"parameters",void 0),ah=af([ik.p_],ah);var ap=n(59408);function ag(e,t=!1){(t||!function(e){let t=e.getAttribute("data-reviewers-team-size-check-url");if(!t)return!1;let n=[...document.querySelectorAll(".js-reviewer-team")].map(e=>e.getAttribute("data-id")),r=new URLSearchParams(e instanceof HTMLFormElement?new FormData(e):aT(e)).getAll("reviewer_team_ids[]").filter(e=>!n.includes(e));if(0===r.length)return!1;let i=new URLSearchParams(r.map(e=>["reviewer_team_ids[]",e]));return aj(e,`${t}?${i}`),!0}(e))&&(e instanceof HTMLFormElement?(0,R.k_)(e):aL(e))}function ab(e){let t=e.currentTarget;ag(t.closest(".js-issue-sidebar-form")||t.querySelector(".js-issue-sidebar-form"))}function ay(e,t){let n=e.querySelector(`[data-menu-trigger="${t}"]`);n?.focus()}(0,y.on)("details-menu-selected",".js-discussion-sidebar-menu",function(e){let t=e.detail.relatedTarget,n=e.currentTarget,r=t.closest(".js-issue-sidebar-form"),i=n.hasAttribute("data-multiple");if(t.hasAttribute("data-clear-assignees")){for(let e of n.querySelectorAll('input[name="issue[user_assignee_ids][]"]:checked'))e.disabled=!1,e.checked=!1;ag(r)}else i?n.closest("details").addEventListener("toggle",ab,{once:!0}):ag(r)},{capture:!0}),(0,v.JW)(".js-issue-sidebar-form",async function(e,t){let n;try{let n=await t.html(),r=e.closest(".js-discussion-sidebar-item"),i=r?.querySelector(".select-menu")?.getAttribute("id"),a=r?.parentElement;r.replaceWith(n.html),a&&i&&ay(a,i)}catch(e){if(e instanceof Error)throw e}finally{e.dispatchEvent(new CustomEvent("submit:complete",{bubbles:!0,detail:{error:n}}))}}),(0,y.on)("click","div.js-issue-sidebar-form .js-suggested-reviewer",function(e){let t=e.currentTarget;aL(t.closest(".js-issue-sidebar-form"),"post",{name:t.name,value:t.value}),e.preventDefault()}),(0,y.on)("click","div.js-issue-sidebar-form .js-issue-assign-self",function(e){let t=e.currentTarget;aL(t.closest(".js-issue-sidebar-form"),"post",{name:t.name,value:t.value}),t.remove(),document.querySelector("form#new_issue .js-submit-button-value")?.remove(),e.preventDefault()}),(0,y.on)("click",".js-issue-unassign-self",function(e){aL(e.currentTarget.closest(".js-issue-sidebar-form"),"delete"),e.preventDefault()});let av=new Set;async function aw(e,t){let n=e.getAttribute("data-cache-name"),r=sessionStorage.getItem(t);if(!n||!r||av.has(n))return;av.add(n);let i=JSON.parse(r),a=[];for(let[t,n]of i){if("[object String]"!==Object.prototype.toString.call(n))continue;let r=document.createElement("input");r.type="hidden",r.value=n,r.name=t,e.appendChild(r),a.push(r)}try{for(let t of(await aA(e),a))t.remove()}catch{av.delete(n)}}let aS=!1;function aE(e,t){if(aS)return;let n=aT(e);!function(e,t,n){let r=e.getAttribute("data-cache-name");if(!r)return;let i=[];for(let[e,n]of t.entries())-1!==e.indexOf(r)&&i.push([e,n]);let a=i.filter(e=>""!==e[1]);a.length>0?sessionStorage.setItem(n,JSON.stringify(a)):sessionStorage.removeItem(n)}(e,n,t),av.clear()}async function aL(e,t="post",n){await aA(e,t,n);let r=e.closest(".js-discussion-sidebar-item"),i=r?.querySelector(".select-menu")?.getAttribute("id"),a=r?.parentElement;a&&i&&ay(a,i)}async function aA(e,t="post",n){let r=aT(e);n&&r.append(n.name,n.value);let i=e.getAttribute("data-url");if(!i)return;let a=e.querySelector(".js-data-url-csrf"),o=await fetch(i,{method:t,body:"delete"===t?"":r,mode:"same-origin",headers:{"Scoped-CSRF-Token":a.value,"X-Requested-With":"XMLHttpRequest"}});if(!o.ok)return;let s=await o.text();!function(e,t){e.replaceWith((0,H.B)(document,t))}(e.closest(".js-discussion-sidebar-item"),s)}async function aj(e,t){let n=await fetch(t);if(!n.ok)return;let r=await n.text();if(r.match(/[^\w-]js-large-team[^\w-]/))!function(e,t){let n=e.querySelector(".js-large-teams-check-warning-container");for(;n.firstChild;)n.removeChild(n.firstChild);n.appendChild((0,H.B)(document,t));let r=n.querySelector("details");function i(t){if(t.target instanceof Element){if(r.open=!1,!t.target.classList.contains("js-large-teams-confirm-button"))for(let t of e.querySelectorAll("input[name='reviewer_team_ids[]']"))n.querySelector(`.js-large-team[data-id='${t.value}']`)&&(t.checked=!1);ag(e,!0),t.preventDefault()}}n.querySelector(".js-large-teams-confirm-button").addEventListener("click",i,{once:!0}),n.querySelector(".js-large-teams-cancel-button").addEventListener("click",i,{once:!0}),r.addEventListener("details-dialog-close",i,{once:!0}),r.open=!0}(e,r);else{ag(e,!0);return}}function aT(e){let t=e.closest("form");if(!t)return new FormData;let n=new FormData(t).entries(),r=new FormData;for(let[e,i]of n)t.contains(function(e,t,n){for(let r of e.elements)if((r instanceof HTMLInputElement||r instanceof HTMLTextAreaElement||r instanceof HTMLButtonElement)&&r.name===t&&r.value===n)return r;return null}(t,e,i.toString()))&&r.append(e,i);return r}(0,L.lB)("[data-cacher]",{add(e){let t=function(e,t){let n=e.getAttribute("data-cache-name");return`${t}:sidebar:${n}`}(e,(0,ap.L)());aw(e,t),window.addEventListener("pagehide",()=>aE(e,t)),window.addEventListener("turbo:before-visit",()=>aE(e,t)),window.addEventListener("submit",e=>{e.defaultPrevented||(aS=!0,setTimeout(()=>{for(let e of Object.keys(sessionStorage))-1!==e.indexOf(t)&&(sessionStorage.removeItem(e),av.clear())},0))},{capture:!0})}}),(0,y.on)("click","div.js-project-column-menu-container .js-project-column-menu-item button",async function(e){let t=e.currentTarget;!function(e){let t=e.closest(".js-project-column-menu-dropdown").querySelector(".js-project-column-menu-summary"),n=e.getAttribute("data-column-name");t.textContent=n}(t);let n=t.getAttribute("data-url"),r=t.parentElement.querySelector(".js-data-url-csrf"),i=t.getAttribute("data-card-id"),a=new FormData;if(a.append("card_id",i),a.append("use_automation_prioritization","true"),e.preventDefault(),!(await fetch(n,{method:"PUT",mode:"same-origin",body:a,headers:{"Scoped-CSRF-Token":r.value,"X-Requested-With":"XMLHttpRequest"}})).ok)return;let o=document.activeElement,s=t.closest(".js-project-column-menu-dropdown");if(o&&s.contains(o))try{o.blur()}catch{}}),(0,y.on)("click",".js-prompt-dismiss",function(e){e.currentTarget.closest(".js-prompt").remove()}),(0,y.on)("click",".js-convert-to-draft",function(e){fetch(e.currentTarget.getAttribute("data-url"),{method:"POST",mode:"same-origin",headers:{"Scoped-CSRF-Token":e.currentTarget.parentElement.querySelector(".js-data-url-csrf").value,"X-Requested-With":"XMLHttpRequest"}})}),(0,y.on)("click",".js-dismiss-copilot-popover",function(e){fetch(e.currentTarget.getAttribute("data-url"),{method:"POST",mode:"same-origin",headers:{"Scoped-CSRF-Token":e.currentTarget.parentElement.querySelector(".js-data-url-csrf").value,"X-Requested-With":"XMLHttpRequest"}}),e.currentTarget.closest(".js-notice").remove(),e.preventDefault()}),(0,y.on)("click","div.js-restore-item",async function(e){let t=e.currentTarget.getAttribute("data-url"),n=e.currentTarget.getAttribute("data-column"),r=e.currentTarget.querySelector(".js-data-url-csrf"),i=new FormData;if(i.set("memexProjectItemIds[]",n),!(await fetch(t,{method:"PUT",mode:"same-origin",body:i,headers:{"Scoped-CSRF-Token":r.value,"X-Requested-With":"XMLHttpRequest"}})).ok)throw Error("connection error");ab(e)}),(0,L.lB)("#clear-project-search-button",e=>{e?.setAttribute("type","button"),e?.addEventListener("click",()=>{let e=document.getElementById("project-search-input");e&&(e.value="",e.focus())})});let aC=Object.freeze({INITIAL:"soft-nav:external:initial",START:"soft-nav:external:start",SUCCESS:"soft-nav:external:success",ERROR:"soft-nav:external:error",RENDER:"soft-nav:external:render"});var ak=n(57226);function aq(){return!!document.querySelector('react-app[data-lazy="true"]')}function aM(){return!!document.querySelector('react-app[data-alternate="true"]')}function ax(){return performance.getEntriesByType("resource").some(e=>"fetch"===e.initiatorType&&e.name.includes("_graphql?"))}function a_(){return performance.getEntriesByType("resource").some(e=>"script"===e.initiatorType)}let aR={xlg:8,lg:4,md:2,sm:0};function aH(){if(!("hardwareConcurrency"in navigator))return"unknown";let e=navigator.hardwareConcurrency;for(let[t,n]of Object.entries(aR))if(e>n)return t;return"unknown"}async function aP(){await en.K,window.requestIdleCallback(aI)}function aI(){d&&((0,w.BI)("web-vital",(0,w.Ti)(d)),d=void 0)}var aB=n(47175);let aO=(0,nq.fX)()||"rails",a$=(0,S.g5)(),aN=aq(),aD=aM();function aW(e){"soft-navigation"===e.navigationType&&aF(e,{experimentalSoftNav:!0})}function aF(e,t={}){let{name:n,value:r}=e,i={name:t.url||window.location.href,cpu:aH()};i[n.toLowerCase()]=r,(0,eu.G7)("SAMPLE_NETWORK_CONN_TYPE")&&(i.networkConnType="connection"in navigator&&navigator.connection&&"effectiveType"in navigator.connection?navigator.connection.effectiveType:"N/A"),t.experimentalSoftNav&&(i.mechanism=aB.nW[(0,nq.r7)()]),"HPC"===n?(i.soft=e.soft,i.ssr=e.ssr,i.mechanism=aB.nW[e.mechanism],i.lazy=e.lazy,i.alternate=e.alternate,i.hpcFound=e.found,i.hpcGqlFetched=e.gqlFetched,i.hpcJsFetched=e.jsFetched,i.headerRedesign=!!document.querySelector("header.AppHeader"),i.app=e.app):(i.ssr=a$,i.lazy=aN,i.alternate=aD,i.app=aO),document.querySelector('meta[name="synthetic-test"]')&&(i.synthetic=!0),(0,A.i)({webVitalTimings:[i]}),function(e,t){let n;if(!(0,eu.G7)("report_hydro_web_vitals")&&e.value<6e4){if(!n){let e=document.querySelector("react-app");(d||(d={},aP()),n=d).react=!!e,n.reactApp=e?.getAttribute("app-name"),n.reactPartials=[...new Set(Array.from(document.querySelectorAll("react-partial")).map(e=>e.getAttribute("partial-name")||""))],n.ssr=t,n.controller=document.querySelector('meta[name="route-controller"]')?.content,n.action=document.querySelector('meta[name="route-action"]')?.content,n.routePattern=document.querySelector('meta[name="route-pattern"]')?.content,n.cpu=aH()}"HPC"===e.name?n[e.name.toLocaleLowerCase()]={name:e.name,value:e.value,element:e.attribution?.element,soft:!!e.soft,mechanism:e.mechanism}:n[e.name.toLocaleLowerCase()]=function(e){let t={name:e.name,value:e.value};switch(e.name){case"LCP":t.element=e.attribution?.element;break;case"FID":case"INP":t.element=e.attribution?.eventTarget;break;case"CLS":t.element=e.attribution?.largestShiftTarget}return t}(e)}}(e,i.ssr),function(e,t){let n=document.querySelector("#staff-bar-web-vitals"),r=n?.querySelector(`[data-metric=${e.toLowerCase()}]`);r&&(r.textContent=t.toPrecision(6))}(n,r)}async function aU(){window.performance&&window.performance.timing&&window.performance.getEntriesByType&&(await en.K,await new Promise(e=>setTimeout(e)),az(),aX())}S.XC?.addEventListener(tc.z.END,()=>{aO=nq.fX()||"rails",a$=S.g5(),aN=aq(),aD=aM()});let az=()=>{let e=window.performance.getEntriesByType("resource").map(e=>({name:e.name,entryType:e.entryType,startTime:e.startTime,duration:e.duration,initiatorType:e.initiatorType,nextHopProtocol:e.nextHopProtocol,workerStart:e.workerStart,redirectStart:e.redirectStart,redirectEnd:e.redirectEnd,fetchStart:e.fetchStart,domainLookupStart:e.domainLookupStart,domainLookupEnd:e.domainLookupEnd,connectStart:e.connectStart,connectEnd:e.connectEnd,secureConnectionStart:e.secureConnectionStart,requestStart:e.requestStart,responseStart:e.responseStart,responseEnd:e.responseEnd,transferSize:e.transferSize,encodedBodySize:e.encodedBodySize,decodedBodySize:e.decodedBodySize}));e.length&&(0,A.i)({resourceTimings:e},!1,.05)},aX=()=>{let e=window.performance.getEntriesByType("navigation").map(e=>({activationStart:e.activationStart,name:e.name,entryType:e.entryType,startTime:e.startTime,duration:e.duration,initiatorType:e.initiatorType,nextHopProtocol:e.nextHopProtocol,workerStart:e.workerStart,redirectStart:e.redirectStart,redirectEnd:e.redirectEnd,fetchStart:e.fetchStart,domainLookupStart:e.domainLookupStart,domainLookupEnd:e.domainLookupEnd,connectStart:e.connectStart,connectEnd:e.connectEnd,secureConnectionStart:e.secureConnectionStart,requestStart:e.requestStart,responseStart:e.responseStart,responseEnd:e.responseEnd,transferSize:e.transferSize,encodedBodySize:e.encodedBodySize,decodedBodySize:e.decodedBodySize,unloadEventStart:e.unloadEventStart,unloadEventEnd:e.unloadEventEnd,domInteractive:e.domInteractive,domContentLoadedEventStart:e.domContentLoadedEventStart,domContentLoadedEventEnd:e.domContentLoadedEventEnd,domComplete:e.domComplete,loadEventStart:e.loadEventStart,loadEventEnd:e.loadEventEnd,type:e.type,redirectCount:e.redirectCount}));e.length&&(0,A.i)({navigationTimings:e},!1,.05)},aV=e=>{let t=e.nodeName;return 1===e.nodeType?t.toLowerCase():t.toUpperCase().replace(/^#/,"")},aG=(e,t)=>{let n="";try{for(;e&&9!==e.nodeType;){let r=e,i=r.id?`#${r.id}`:aV(r)+(r.classList&&r.classList.value&&r.classList.value.trim()&&r.classList.value.trim().length?`.${r.classList.value.trim().replace(/\s+/g,".")}`:"");if(n.length+i.length>(t||100)-1)return n||i;if(n=n?`${i}>${n}`:i,r.id)break;e=r.parentNode}}catch{}return n};let HPCTimingEvent=class HPCTimingEvent extends Event{constructor(e,t,n,r,i,a,o,s,l,c,u){super("hpc:timing"),this.soft=e,this.ssr=t,this.lazy=n,this.alternate=r,this.mechanism=i,this.found=a,this.gqlFetched=o,this.jsFetched=s,this.app=l,this.name="HPC",this.value=performance.now()-c,this.attribution={element:aG(u)}}};let HPCDomInsertionEvent=class HPCDomInsertionEvent extends Event{constructor(e){super("hpc:dom-insertion"),this.element=e}};function aK(){return(0,nq.fX)()||"rails"}function aJ(e,t){(0,ak.fK)(({value:n,attribution:r})=>{window.performance.measure("HPC",{start:"navigationStart",end:n}),aF({name:"HPC",value:n,soft:e,found:t,gqlFetched:ax(),jsFetched:a_(),ssr:(0,S.g5)(),lazy:aq(),alternate:aM(),mechanism:"hard",app:aK(),attribution:{element:r?.element}})})}let HPCObserver=class HPCObserver{connect(){if(!this.soft){let e=document.querySelector("[data-hpc]");if(e){this.hpcElement=e,aJ(this.soft,!0);return}setTimeout(()=>{this.insertionFound||aJ(this.soft,!1)},1e4)}this.setupListeners(),this.hpcDOMInsertionObserver=this.buildMutationObserver(),this.hpcDOMInsertionObserver.observe(document,{childList:!0,subtree:!0})}disconnect(){this.cleanupListeners(),this.hpcDOMInsertionObserver?.disconnect()}buildMutationObserver(){return new MutationObserver(e=>{let t=!1,n=!1,r=null,i=null;if(!e.every(e=>0===e.addedNodes.length)){for(let a of e)if("childList"===a.type){for(let e of a.addedNodes)if(e instanceof Element){if(r=e.hasAttribute("data-hpc")?e:e.querySelector("[data-hpc]")){this.hpcElement=r,this.animationFrame&&cancelAnimationFrame(this.animationFrame),t=!0;break}("function"==typeof e.checkVisibility?e.checkVisibility():!!(e.offsetParent||e.offsetWidth||e.offsetHeight))&&(i=e,this.animationFrame&&cancelAnimationFrame(this.animationFrame),n=!0)}if(t)break}if(t&&r)this.reportHPC(r);else if(n){let e=new HPCDomInsertionEvent(i);this.animationFrame=requestAnimationFrame(()=>{this.hpcTarget.dispatchEvent(e)})}}})}reportHPC(e){window.performance.measure("HPC","navigationStart"),this.hpcDOMInsertionObserver?.disconnect();let t=new HPCTimingEvent(this.soft,(0,S.g5)(),aq(),aM(),this.mechanism,!0,ax(),a_(),aK(),this.hpcStart,e);this.dataHPCanimationFrame=requestAnimationFrame(()=>{this.hpcTarget.dispatchEvent(t)})}cleanupListeners(){document.removeEventListener("touchstart",this.stop,this.listenerOpts),document.removeEventListener("mousedown",this.stop,this.listenerOpts),document.removeEventListener("keydown",this.stop,this.listenerOpts),document.removeEventListener("pointerdown",this.stop,this.listenerOpts),document.removeEventListener("visibilitychange",this.onVisibilityChange),document.removeEventListener(tc.z.RENDER,this.onSoftNavRender),this.hpcTarget.removeEventListener("hpc:dom-insertion",this.onDOMInsertion),this.hpcTarget.removeEventListener("hpc:timing",this.onHPCTiming),this.abortController.signal.removeEventListener("abort",this.onAbort)}setupListeners(){document.addEventListener("touchstart",this.stop,this.listenerOpts),document.addEventListener("mousedown",this.stop,this.listenerOpts),document.addEventListener("keydown",this.stop,this.listenerOpts),document.addEventListener("pointerdown",this.stop,this.listenerOpts),this.hpcTarget.addEventListener("hpc:dom-insertion",this.onDOMInsertion,{signal:this.abortController.signal}),this.hpcTarget.addEventListener("hpc:timing",this.onHPCTiming,{signal:this.abortController.signal}),document.addEventListener(tc.z.RENDER,this.onSoftNavRender),document.addEventListener("visibilitychange",this.onVisibilityChange,{signal:this.abortController.signal}),this.abortController.signal.addEventListener("abort",this.onAbort)}constructor({soft:e,mechanism:t,latestHPCElement:n}){this.abortController=new AbortController,this.tabHidden=!1,this.insertionFound=!1,this.hpcElement=null,this.hpcTarget=new EventTarget,this.hpcDOMInsertionObserver=null,this.stop=()=>{this.abortController.abort()},this.onDOMInsertion=e=>{this.insertionFound=!0,clearTimeout(this.emulatedHPCTimer);let t=new HPCTimingEvent(this.soft,(0,S.g5)(),aq(),aM(),this.mechanism,!1,ax(),a_(),aK(),this.hpcStart,e.element);this.emulatedHPCTimer=setTimeout(()=>this.hpcTarget.dispatchEvent(t),1e4)},this.onHPCTiming=e=>{!this.tabHidden&&e.value<6e4&&aF(e),this.abortController.abort()},this.onVisibilityChange=()=>{this.tabHidden=!0,this.abortController.abort()},this.onSoftNavRender=()=>{let e=document.querySelector("[data-hpc]");this.hpcElement=e,e&&e===this.latestHPCElement&&this.reportHPC(e)},this.onAbort=()=>{this.dataHPCanimationFrame&&cancelAnimationFrame(this.dataHPCanimationFrame),this.animationFrame&&cancelAnimationFrame(this.animationFrame),clearTimeout(this.emulatedHPCTimer),this.disconnect()},this.soft=e,this.mechanism=t,this.latestHPCElement=n,this.hpcStart=e?performance.now():0,this.listenerOpts={capture:!0,passive:!0,once:!0,signal:this.abortController.signal}}};let InteractionCountObserver=class InteractionCountObserver{get interactionCount(){return this.observer?this.interactionCountEstimate:performance.interactionCount||0}teardown(){this.observer&&(this.observer.takeRecords(),this.observer.disconnect(),this.observer=void 0)}observe(){"interactionCount"in performance||this.observer||(this.observer=new PerformanceObserver(async e=>{await Promise.resolve(),this.updateEstimate(e.getEntries())}),this.observer.observe({type:"event",buffered:!0,durationThreshold:0}))}constructor(){this.interactionCountEstimate=0,this.minKnownInteractionId=1/0,this.maxKnownInteractionId=0,this.updateEstimate=e=>{for(let t of e)t.interactionId&&(this.minKnownInteractionId=Math.min(this.minKnownInteractionId,t.interactionId),this.maxKnownInteractionId=Math.max(this.maxKnownInteractionId,t.interactionId),this.interactionCountEstimate=this.maxKnownInteractionId?(this.maxKnownInteractionId-this.minKnownInteractionId)/7+1:0)}}};let InteractionList=class InteractionList{get shortestInteraction(){return this.interactions[this.interactions.length-1]}get(e){return this.interactionsMap.get(e)}update(e,t){let n=Math.max(e.latency,t.duration);e.entries.push(t),n!==e.latency&&(e.latency=Math.max(e.latency,t.duration),this.sort())}add(e){let t=this.shortestInteraction;(this.interactions.length<=this.maxSize||!t||e.latency>t.latency)&&(this.interactionsMap.set(e.id,e),this.interactions.push(e),this.sort(),this.interactions.length>this.maxSize&&this.interactions.pop())}sort(){this.interactions.sort((e,t)=>t.latency-e.latency)}findEntry(e){return this.interactions.some(t=>t.entries.some(t=>e.duration===t.duration&&e.startTime===t.startTime))}estimateP98(e){let t=Math.min(this.interactions.length-1,Math.floor(e/50));return this.interactions[t]}constructor(e){this.interactions=[],this.interactionsMap=new Map,this.maxSize=e}};let INPMetric=class INPMetric{constructor(e,t){this.name="INP",this.value=e,this.entries=t;let n=t.find(e=>e.target);this.attribution={eventTarget:aG(n?.target)}}};let InteractionProcessor=class InteractionProcessor{get inp(){let e=this.interactions.estimateP98(this.interactionCountObserver.interactionCount);return e?new INPMetric(e.latency,e.entries):new INPMetric(0,[])}teardown(){this.interactionCountObserver.teardown()}processEntries(e){for(let t of e){if(t.interactionId){this.processEntry(t);continue}"first-input"!==t.entryType||this.interactions.findEntry(t)||this.processEntry(t)}}processEntry(e){let t=this.interactions.get(String(e.interactionId));if(t)return this.interactions.update(t,e);let n={id:String(e.interactionId),latency:e.duration,entries:[e]};this.interactions.add(n)}constructor(){this.interactions=new InteractionList(10),this.interactionCountObserver=new InteractionCountObserver,this.interactionCountObserver.observe()}};let aY=S.cg&&"PerformanceEventTiming"in S.cg&&"interactionId"in PerformanceEventTiming.prototype;let INPObserver=class INPObserver{setupListeners(){if(!aY)return;let e=e=>{("pagehide"===e.type||"hidden"===document.visibilityState)&&this.report()};S.XC?.addEventListener("visibilitychange",e,!0),S.XC?.addEventListener("pagehide",e,!0),S.XC?.addEventListener(tc.z.RENDER,()=>{this.report(),this.reset()})}observe(e=!0){aY&&(this.url=S.cg?.location.href,this.observer=new PerformanceObserver(e=>{this.interactionProcessor.processEntries(e.getEntries())}),this.observer.observe({type:"first-input",buffered:e}),this.observer.observe({type:"event",durationThreshold:40,buffered:e}))}report(){this.cb(this.interactionProcessor.inp,{url:this.url})}teardown(){this.observer?.takeRecords(),this.observer?.disconnect()}reset(){this.teardown(),this.interactionProcessor.teardown(),this.interactionProcessor=new InteractionProcessor,this.observe(!1)}constructor(e){this.cb=e,this.interactionProcessor=new InteractionProcessor,this.setupListeners()}};S.XC?.addEventListener(tc.z.SUCCESS,function(e){"turbo"===e.mechanism&&T.i(`${document.title}`)}),S.XC?.addEventListener(aC.INITIAL,id.k5),S.XC?.addEventListener(aC.START,e=>{id.SC(e.detail.mechanism)}),S.XC?.addEventListener(aC.SUCCESS,()=>id.iS()),S.XC?.addEventListener(aC.ERROR,()=>id.o4()),S.XC?.addEventListener(aC.RENDER,()=>id.rZ()),function(){aU(),(0,ak.IN)(aF),(0,ak.zB)(aF),(0,ak.lt)(aF),(0,ak.fK)(aF),(0,ak.Ck)(aF),(0,ak.fK)(aW,{reportSoftNavs:!0}),(0,ak.IN)(aW,{reportSoftNavs:!0}),new INPObserver(aF).observe();let e=new HPCObserver({soft:!1,mechanism:"hard",latestHPCElement:null});e.connect(),S.XC?.addEventListener(tc.z.START,({mechanism:t})=>{e.disconnect(),(e=new HPCObserver({soft:!0,mechanism:t,latestHPCElement:document.querySelector("[data-hpc]")})).connect()})}()},86954:(e,t,n)=>{"use strict";n.d(t,{_:()=>BaseBatchDeferredContentElement});var r=n(39595),i=n(46650);let a=class AutoFlushingQueue{push(e){let t=`item-${this.index++}`;return this.timer&&(window.clearTimeout(this.timer),this.timer=null),this.elements.length>=this.limit&&this.flush(),this.timer=window.setTimeout(()=>{this.timer=null,this.flush()},this.timeout),this.elements.push([e,t]),t}onFlush(e){this.callbacks.push(e)}async flush(){let e=this.elements.splice(0,this.limit);0!==e.length&&await Promise.all(this.callbacks.map(t=>t(e)))}constructor(e=50,t=30){this.elements=[],this.timer=null,this.callbacks=[],this.timeout=e,this.limit=t,this.index=0}};let BatchLoader=class BatchLoader{loadInBatch(e){let t=this.autoFlushingQueue.push(e);return new Promise(e=>this.callbacks.set(t,e))}async load(e){let t=new Map;for(let[n,r]of e)t.set(r,n);let n=new FormData;for(let[e,r]of t.entries())for(let t of r.inputs)n.append(`items[${e}][${t.name}]`,t.value);if(0===Array.from(n.values()).length)return;n.set("_method","GET");let r=await fetch(this.url,{method:"POST",body:n,headers:{Accept:"application/json","X-Requested-With":"XMLHttpRequest"}});if(r.ok){let e=await r.json();if(!e||"object"!=typeof e||Array.isArray(e))throw Error("Malformed batch response");for(let t in e){let n=this.callbacks.get(t);if(n){let r=e[t];this.validate(r),n(r)}}}}constructor(e,t){this.url=e,this.callbacks=new Map,this.autoFlushingQueue=new a,this.autoFlushingQueue.onFlush(async e=>{this.load(e)}),this.validate=t}};function o(e,t,n,r){var i,a=arguments.length,o=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(o=(a<3?i(o):a>3?i(t,n,o):i(t,n))||o);return a>3&&o&&Object.defineProperty(t,n,o),o}let BaseBatchDeferredContentElement=class BaseBatchDeferredContentElement extends HTMLElement{async connectedCallback(){let e=await this.batchLoader.loadInBatch(this);this.update(e)}get batchLoader(){let e=this.getAttribute("data-url");if(!e)throw Error(`${this.tagName} element requires a data-url attribute`);let t=this.batchLoaders.get(e);return t||(t=new BatchLoader(e,e=>this.validate(e)),this.batchLoaders.set(e,t)),t}};let s=new Map,l=class BatchDeferredContentElement extends BaseBatchDeferredContentElement{validate(e){if("string"!=typeof e)throw Error("Batch deferred content was not a string")}update(e){let t=(0,i.B)(document,e);this.replaceWith(t)}constructor(...e){super(...e),this.batchLoaders=s}};o([r.zV],l.prototype,"inputs",void 0),l=o([r.p_],l)},17249:(e,t,n)=>{"use strict";n.d(t,{Cw:()=>a,ig:()=>s,mY:()=>o});var r=n(15816);function i(e){return e.hasAttribute("data-maxlength")?parseInt(e.getAttribute("data-maxlength")||""):e.maxLength}function a(e){return i(e)-(0,r.bV)(e.value)<0}function o(e){let t=i(e);!function(e,t,n){let i=n.closest(".js-characters-remaining-container");if(!i)return;let a=i.querySelector(".js-characters-remaining"),o=String(a.getAttribute("data-suffix")),s=t-(0,r.bV)(e);s<=20?(a.textContent=`${s} ${o}`,a.classList.toggle("color-fg-danger",s<=5),a.setAttribute("role","status"),a.hidden=!1):(a.setAttribute("role","none"),a.hidden=!0)}(e.value,t,e)}function s(e){for(let t of e.querySelectorAll(".js-characters-remaining-container"))o(t.querySelector(".js-characters-remaining-field"))}(0,n(21232).uE)(".js-characters-remaining-field",function(e){function t(){(e instanceof HTMLInputElement||e instanceof HTMLTextAreaElement)&&o(e)}t(),e.addEventListener("input",t),e.addEventListener("blur",()=>{e.removeEventListener("input",t)},{once:!0})})},49710:()=>{document.addEventListener("click",function(e){if(!(e.target instanceof Element))return;let t=e.target.closest("a[data-confirm], input[type=submit][data-confirm], input[type=checkbox][data-confirm], button[data-confirm]");if(!t)return;let n=t.getAttribute("data-confirm");if(n){if(t instanceof HTMLInputElement&&t.hasAttribute("data-confirm-checked")&&!t.checked)return;confirm(n)||(e.stopImmediatePropagation(),e.preventDefault())}},!0)},32357:(e,t,n)=>{"use strict";n.d(t,{j:()=>i});var r=n(97797);function i(e){return Array.from(e.types).indexOf("Files")>=0}(0,n(21403).lB)(".js-document-dropzone",{constructor:HTMLElement,add(e){document.body.addEventListener("dragstart",u),document.body.addEventListener("dragend",d),document.body.addEventListener("dragenter",o),document.body.addEventListener("dragover",o),document.body.addEventListener("dragleave",s),e.addEventListener("drop",l)},remove(e){document.body.removeEventListener("dragstart",u),document.body.removeEventListener("dragend",d),document.body.removeEventListener("dragenter",o),document.body.removeEventListener("dragover",o),document.body.removeEventListener("dragleave",s),e.removeEventListener("drop",l)}});let a=null;function o(e){if(c)return;let t=e.currentTarget;a&&window.clearTimeout(a),a=window.setTimeout(()=>t.classList.remove("dragover"),200);let n=e.dataTransfer;n&&i(n)&&(n.dropEffect="copy",t.classList.add("dragover"),e.stopPropagation(),e.preventDefault())}function s(e){e.target instanceof Element&&e.target.classList.contains("js-document-dropzone")&&e.currentTarget.classList.remove("dragover")}function l(e){let t=e.currentTarget;t.classList.remove("dragover"),document.body.classList.remove("dragover");let n=e.dataTransfer;n&&i(n)&&((0,r.h)(t,"document:drop",{transfer:n}),e.stopPropagation(),e.preventDefault())}let c=!1;function u(){c=!0}function d(){c=!1}},12291:(e,t,n)=>{"use strict";n.d(t,{D4:()=>o,lF:()=>s,w:()=>a});var r=n(79049),i=n(97797);async function a(e,t){let r=new TextEncoder().encode(t),{seal:i}=await Promise.all([n.e("vendors-node_modules_buffer_index_js"),n.e("vendors-node_modules_blakejs_index_js-node_modules_tweetnacl_nacl-fast_js"),n.e("_empty-file_js-app_assets_modules_github_tweetsodium_ts-_1f13-_b9700")]).then(n.bind(n,20136));return i(r,e)}function o(e){let t=atob(e).split("").map(e=>e.charCodeAt(0));return Uint8Array.from(t)}function s(e){let t="";for(let n of e)t+=String.fromCharCode(n);return btoa(t)}function l(e){return async function(t){let n=t.currentTarget;if(t.defaultPrevented||!n.checkValidity())return;let i=o(n.getAttribute("data-public-key"));for(let o of(t.preventDefault(),n.elements))if(o.id.endsWith("secret")){if(o.disabled=!0,o.required&&!o.value){let e=`${o.name} is invalid!`,t=document.querySelector("template.js-flash-template");t.after(new r.i4(t,{className:"flash-error",message:e}));return}let t=`${o.name}_encrypted_value`;if(!o.value){n.elements.namedItem(t).disabled=e;continue}n.elements.namedItem(t).value=s(await a(i,o.value))}n.submit()}}(0,i.on)("submit","form.js-encrypt-submit",async function(e){let t=e.currentTarget;if(e.defaultPrevented||!t.checkValidity())return;let n=t.elements.namedItem("secret_value");if(n.disabled=!0,!n.value)return;e.preventDefault();let r=o(t.getAttribute("data-public-key"));t.elements.namedItem("encrypted_value").value=s(await a(r,n.value)),t.submit()}),(0,i.on)("submit","form.js-encrypt-bulk-submit",l(!0)),(0,i.on)("submit","form.js-encrypt-bulk-submit-enable-empty",l(!1))},29862:(e,t,n)=>{"use strict";n.d(t,{n:()=>s});var r=n(79024),i=n(5728),a=n(21403),o=n(69676);async function s(e){await i.K,l(e)}function l(e){let t=e.querySelectorAll(".js-responsive-underlinenav-item"),n=e.querySelector(".js-responsive-underlinenav-overflow"),r=(0,o.uw)(n,e);if(!r)return;let i=!1;for(let n of t){let t=(0,o.uw)(n,e);if(t){let e=t.left+n.offsetWidth>=r.left;!function(e,t){e.style.visibility=t?"hidden":"";let n=e.getAttribute("data-tab-item");if(n){let e=document.querySelector(`[data-menu-item=${n}]`);e instanceof HTMLElement&&(e.hidden=!t)}}(n,e),i=i||e}}n.style.visibility=i?"":"hidden"}(0,a.lB)(".js-responsive-underlinenav",{constructor:HTMLElement,subscribe:e=>(s(e),(0,r.Rt)(window,"resize",()=>l(e)))})},95576:(e,t,n)=>{"use strict";n.d(t,{Q:()=>l});var r=n(55150),i=n(70170),a=n(59408),o=n(21403);let s=(0,n(74572).A)("localStorage",{ttl:3e5,throwQuotaErrorsOnSet:!1,sendCacheStats:!0}),l=()=>{(0,r.o)((0,a.L)()),(0,r.o)((0,a.L)(),{storage:s})},c=()=>{(0,r.YV)((0,a.L)(),{selector:".js-session-resumable"}),(0,r.YV)((0,a.L)(),{selector:".js-local-storage-resumable",storage:s})},u=(0,i.s)(function(){l()},50);window.addEventListener("submit",r.Bu,{capture:!0}),window.addEventListener("pageshow",function(){l()}),(0,o.lB)(".js-session-resumable",function(){document.querySelector("html")?.hasAttribute("data-turbo-preview")||u()}),window.addEventListener("pagehide",function(){c()}),window.addEventListener("turbo:before-fetch-response",function(){c()}),window.addEventListener("turbo:load",function(){l()})},83670:()=>{function e(e){let t=e&&e.getAttribute("value");if(t)for(let e of document.querySelectorAll(".js-sidenav-container-pjax .js-selected-navigation-item")){let n=(e.getAttribute("data-selected-links")||"").split(" ").indexOf(t)>=0;n?e.setAttribute("aria-current","page"):e.removeAttribute("aria-current"),e.classList.toggle("selected",n)}}new MutationObserver(t=>{for(let n of t)for(let t of n.addedNodes)t instanceof HTMLMetaElement&&"selected-link"===t.getAttribute("name")&&e(t)}).observe(document.head,{childList:!0}),document.addEventListener("turbo:load",()=>{let t=document.head.querySelector('meta[name="selected-link"]');t&&e(t)})},48543:(e,t,n)=>{"use strict";var r=n(18558),i=n(97797),a=n(21403);let o=class TagInput{setup(){this.container.addEventListener("click",e=>{e.target.closest(".js-remove")?this.removeTag(e):this.onFocus()}),this.container.addEventListener("keydown",e=>{"Enter"===e.key&&!(e.defaultPrevented||!this.input.value)&&(e.preventDefault(),this.selectTag(this.input.value),this.autoComplete&&(this.autoComplete.open=!1))}),this.input.addEventListener("focus",this.onFocus.bind(this)),this.input.addEventListener("blur",this.onBlur.bind(this)),this.input.addEventListener("keydown",this.onKeyDown.bind(this)),this.form.addEventListener("submit",this.onSubmit.bind(this)),this.autoComplete?.addEventListener("auto-complete-change",()=>{this.selectTag(this.autoComplete.value)})}onFocus(){this.inputWrap.classList.add("focus"),this.input!==document.activeElement&&this.input.focus()}onBlur(){this.inputWrap.classList.remove("focus"),this.autoComplete&&(!this.autoComplete||this.autoComplete.open)||this.onSubmit()}onSubmit(){this.input.value&&(this.selectTag(this.input.value),this.autoComplete&&(this.autoComplete.open=!1))}onKeyDown(e){switch((0,r.Vy)(e)){case"Backspace":this.onBackspace();break;case"Enter":case"Tab":this.taggifyValueWhenSuggesterHidden(e);break;case",":case"Space":this.taggifyValue(e)}}taggifyValueWhenSuggesterHidden(e){this.autoComplete&&!this.autoComplete.open&&this.input.value&&(e.preventDefault(),this.selectTag(this.input.value))}taggifyValue(e){this.input.value&&(e.preventDefault(),this.selectTag(this.input.value),this.autoComplete&&(this.autoComplete.open=!1))}selectTag(e){let t=this.normalizeTag(e),n=this.selectedTags(),r=!1;for(let e=0;en.indexOf(i)&&(this.selections.appendChild(this.templateTag(i)),r=!0)}r&&(this.input.value="",(0,i.h)(this.form,"tags:changed"))}removeTag(e){let t=e.target;e.preventDefault(),t.closest(".js-tag-input-tag").remove(),(0,i.h)(this.form,"tags:changed")}templateTag(e){let t=this.tagTemplate.cloneNode(!0);return t.querySelector("input").value=e,t.querySelector(".js-placeholder-tag-name").replaceWith(e),t.classList.remove("d-none","js-template"),t}normalizeTag(e){let t=e.toLowerCase().trim();return t?this.multiTagInput?t.split(/[\s,']+/):[t.replace(/[\s,']+/g,"-")]:[]}onBackspace(){if(!this.input.value){let e=this.selections.querySelector("li:last-child .js-remove");e instanceof HTMLElement&&e.click()}}selectedTags(){return Array.from(this.selections.querySelectorAll("input")).map(e=>e.value).filter(e=>e.length>0)}constructor(e){this.container=e.container,this.selections=e.selections,this.inputWrap=e.inputWrap,this.input=e.input,this.tagTemplate=e.tagTemplate,this.form=this.input.form,this.autoComplete=e.autoComplete,this.multiTagInput=e.multiTagInput}};(0,a.lB)(".js-tag-input-container",{constructor:HTMLElement,initialize(e){new o({container:e,inputWrap:e.querySelector(".js-tag-input-wrapper"),input:e.querySelector('input[type="text"], input:not([type])'),selections:e.querySelector(".js-tag-input-selected-tags"),tagTemplate:e.querySelector(".js-template"),autoComplete:e.querySelector("auto-complete"),multiTagInput:!1}).setup()}}),(0,a.lB)(".js-multi-tag-input-container",{constructor:HTMLElement,initialize(e){new o({container:e,inputWrap:e.querySelector(".js-tag-input-wrapper"),input:e.querySelector('input[type="text"], input:not([type])'),selections:e.querySelector(".js-tag-input-selected-tags"),tagTemplate:e.querySelector(".js-template"),autoComplete:e.querySelector("auto-complete"),multiTagInput:!0}).setup()}})},75681:()=>{!function(){let e=document.createElement("div");return e.style.cssText="-ms-user-select: element; user-select: contain;","element"===e.style.getPropertyValue("-ms-user-select")||"contain"===e.style.getPropertyValue("-ms-user-select")||"contain"===e.style.getPropertyValue("user-select")}()&&document.addEventListener("click",function(e){if(!(e.target instanceof Element))return;let t=e.target.closest(".user-select-contain");if(!t)return;let n=window.getSelection();if(!n||!n.rangeCount||!n.rangeCount||"Range"!==n.type)return;let r=n.getRangeAt(0).commonAncestorContainer;t.contains(r)||n.selectAllChildren(t)})},68953:(e,t,n)=>{"use strict";function r(e){let t=e.match(/#?(?:L)(\d+)((?:C)(\d+))?/g);if(t){if(1===t.length){let e=s(t[0]);if(!e)return;return Object.freeze({start:e,end:e})}if(2!==t.length)return;{let e=s(t[0]),n=s(t[1]);if(!e||!n)return;return u(Object.freeze({start:e,end:n}))}}}function i(e){let{start:t,end:n}=u(e);return null!=t.column&&null!=n.column?`L${t.line}C${t.column}-L${n.line}C${n.column}`:null!=t.column?`L${t.line}C${t.column}-L${n.line}`:null!=n.column?`L${t.line}-L${n.line}C${n.column}`:t.line===n.line?`L${t.line}`:`L${t.line}-L${n.line}`}function a(e){return{blobRange:r(e),anchorPrefix:function(e){let t=e.length<5e3&&e.match(/(file-.+?-)L\d+?/i);return t?t[1]:""}(e)}}function o({anchorPrefix:e,blobRange:t}){return t?`#${e}${i(t)}`:"#"}function s(e){let t=e.match(/L(\d+)/),n=e.match(/C(\d+)/);return t?Object.freeze({line:parseInt(t[1]),column:n?parseInt(n[1]):null}):null}function l(e,t){let[n,r]=c(e.start,!0,t),[i,a]=c(e.end,!1,t);if(!n||!i)return;let o=r,s=a;if(-1===o&&(o=0),-1===s&&(s=i.childNodes.length),!n.ownerDocument)throw Error("DOMRange needs to be inside document");let l=n.ownerDocument.createRange();return l.setStart(n,o),l.setEnd(i,s),l}function c(e,t,n){let r=[null,0],i=n(e.line);if(!i)return r;if(null==e.column)return[i,-1];let a=e.column-1,o=function e(t){if(t.nodeType===Node.TEXT_NODE)return[t];if(!t.childNodes||!t.childNodes.length)return[];let n=[];for(let r of t.childNodes)n=n.concat(e(r));return n}(i);for(let e=0;ea,JB:()=>o,Kn:()=>i,Py:()=>l,eC:()=>r})},52915:(e,t,n)=>{"use strict";n.d(t,{B:()=>o,j:()=>a});var r=n(97797);let i=new WeakMap;function a(e){return i.get(e)}async function o(e){var t;return i.get(e)||s(await (t="codeEditor:ready",new Promise(n=>{e.addEventListener(t,n,{once:!0})})))}function s(e){if(!(e instanceof CustomEvent))throw Error("assert: event is not a CustomEvent");let t=e.detail.editor;if(!e.target)throw Error("assert: event.target is null");return i.set(e.target,t),t}(0,r.on)("codeEditor:ready",".js-code-editor",s)},52558:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var r=n(91385);let i=(e,t,n)=>{if(!(0,r.qA)(e,t))return-1/0;let i=(0,r.fN)(e,t);return i{e.textContent="";let i=0;for(let a of(0,r.Xq)(t,n)){""!==n.slice(i,a)&&e.appendChild(document.createTextNode(n.slice(i,a))),i=a+1;let t=document.createElement("mark");t.textContent=n[a],e.appendChild(t)}e.appendChild(document.createTextNode(n.slice(i)))},o=new WeakMap,s=new WeakMap,l=new WeakMap,c=e=>{if(!l.has(e)&&e instanceof HTMLElement){let t=(e.getAttribute("data-value")||e.textContent||"").trim();return l.set(e,t),t}return l.get(e)||""},u=class FuzzyListElement extends HTMLElement{connectedCallback(){let e=this.querySelector("ul");if(!e)return;let t=new Set(e.querySelectorAll("li")),n=this.querySelector("input");n instanceof HTMLInputElement&&n.addEventListener("input",()=>{this.value=n.value});let i=new MutationObserver(e=>{let n=!1;for(let i of e)if("childList"===i.type&&i.addedNodes.length){for(let e of i.addedNodes)if(e instanceof HTMLLIElement&&!t.has(e)){let i=c(e);n=n||(0,r.qA)(this.value,i),t.add(e)}}n&&this.sort()});i.observe(e,{childList:!0});let a={handler:i,items:t,lazyItems:new Map,timer:null};s.set(this,a)}disconnectedCallback(){let e=s.get(this);e&&(e.handler.disconnect(),s.delete(this))}addLazyItems(e,t){let n=s.get(this);if(!n)return;let{lazyItems:i}=n,{value:a}=this,o=!1;for(let n of e)i.set(n,t),o=o||!!a&&(0,r.qA)(a,n);o&&this.sort()}sort(){let e=o.get(this);e&&(e.aborted=!0);let t={aborted:!1};o.set(this,t);let{minScore:n,markSelector:r,maxMatches:u,value:d}=this,m=s.get(this);if(!m||!this.dispatchEvent(new CustomEvent("fuzzy-list-will-sort",{cancelable:!0,detail:d})))return;let{items:f,lazyItems:h}=m,p=this.hasAttribute("mark-selector"),g=this.querySelector("ul");if(!g)return;let b=[];if(d){for(let e of f){let t=i(d,c(e),n);t!==-1/0&&b.push({item:e,score:t})}for(let[e,t]of h){let r=i(d,e,n);r!==-1/0&&b.push({text:e,render:t,score:r})}b.sort((e,t)=>t.score-e.score).splice(u)}else{let e=b.length;for(let t of f){if(e>=u)break;b.push({item:t,score:1}),e+=1}for(let[t,n]of h){if(e>=u)break;b.push({text:t,render:n,score:1}),e+=1}}requestAnimationFrame(()=>{if(t.aborted)return;let e=g.querySelector('input[type="radio"]:checked');g.textContent="";let n=0,i=()=>{if(t.aborted)return;let o=Math.min(b.length,n+100),s=document.createDocumentFragment();for(let e=n;e0),this.dispatchEvent(new CustomEvent("fuzzy-list-sorted",{detail:b.length}))}};i()})}get value(){return this.getAttribute("value")||""}set value(e){this.setAttribute("value",e)}get markSelector(){return this.getAttribute("mark-selector")||""}set markSelector(e){e?this.setAttribute("mark-selector",e):this.removeAttribute("mark-selector")}get minScore(){return Number(this.getAttribute("min-score")||0)}set minScore(e){Number.isNaN(e)||this.setAttribute("min-score",String(e))}get maxMatches(){return Number(this.getAttribute("max-matches")||1/0)}set maxMatches(e){Number.isNaN(e)||this.setAttribute("max-matches",String(e))}get ariaLiveElement(){let e=this.getAttribute("data-aria-live-element");if(!e)return;let t=document.getElementById(e);if(t)return t}static get observedAttributes(){return["value","mark-selector","min-score","max-matches"]}attributeChangedCallback(e,t,n){if(t===n)return;let r=s.get(this);r&&(r.timer&&window.clearTimeout(r.timer),r.timer=window.setTimeout(()=>this.sort(),100))}},d=u;window.customElements.get("fuzzy-list")||(window.FuzzyListElement=u,window.customElements.define("fuzzy-list",u))},18036:(e,t,n)=>{"use strict";n.d(t,{$3:()=>a,HV:()=>o,Vb:()=>i});var r=n(51528);function i(e,t,n){let i={hydroEventPayload:e,hydroEventHmac:t,visitorPayload:"",visitorHmac:"",hydroClientContext:n},a=document.querySelector("meta[name=visitor-payload]");a instanceof HTMLMetaElement&&(i.visitorPayload=a.content);let o=document.querySelector("meta[name=visitor-hmac]")||"";o instanceof HTMLMetaElement&&(i.visitorHmac=o.content),(0,r.i)(i,!0)}function a(e){i(e.getAttribute("data-hydro-view")||"",e.getAttribute("data-hydro-view-hmac")||"",e.getAttribute("data-hydro-client-context")||"")}function o(e){i(e.getAttribute("data-hydro-click-payload")||"",e.getAttribute("data-hydro-click-hmac")||"",e.getAttribute("data-hydro-client-context")||"")}},55859:(e,t,n)=>{"use strict";n.d(t,{d:()=>s,t:()=>o});var r=n(69653);let i=["notification_referrer_id","notifications_before","notifications_after","notifications_query"],a="notification_shelf";function o(e,t=null){return e.has("notification_referrer_id")?(function(e,t){let n=l(t);if(!n)return;let o={pathname:n};for(let t of i){let n=e.get(t);n&&(o[t]=n)}(0,r.SO)(a,JSON.stringify(o))}(e,t),function(e){for(let t of i)e.delete(t);return e}(e)):null}function s(e=null){let t=l(e);if(!t)return(0,r.Ai)(a),null;try{let e=(0,r.Gq)(a);if(!e)return null;let n=JSON.parse(e);if(!n||!n.pathname)throw Error("Must have a pathname");if(n.pathname!==t)throw Error("Stored pathname does not match current pathname.");let o={};for(let e of i)o[e]=n[e];return o}catch{return(0,r.Ai)(a),null}}function l(e){let t=(e=e||window.location.pathname).match(/^(\/[^/]+\/[^/]+\/pull\/[^/]+)/);return t?t[0]:null}},79096:(e,t,n)=>{"use strict";function r(e,t){var n;let r=e.closest("[data-notification-id]");t.hasAttribute("data-status")&&(n=t.getAttribute("data-status"),r.classList.toggle("notification-archived","archived"===n),r.classList.toggle("notification-unread","unread"===n),r.classList.toggle("notification-read","read"===n)),t.hasAttribute("data-subscription-status")&&function(e,t){e.classList.toggle("notification-unsubscribed","unsubscribed"===t)}(r,t.getAttribute("data-subscription-status")),t.hasAttribute("data-starred-status")&&function(e,t){e.classList.toggle("notification-starred","starred"===t)}(r,t.getAttribute("data-starred-status"))}n.d(t,{T:()=>r})},60927:(e,t,n)=>{"use strict";function r(e,t){t.appendChild(e.extractContents()),e.insertNode(t)}n.d(t,{t:()=>r})},59408:(e,t,n)=>{"use strict";function r(e){let t=e||window.location,n=document.head&&document.head.querySelector("meta[name=session-resume-id]");return n instanceof HTMLMetaElement&&n.content||t.pathname}n.d(t,{L:()=>r})},68309:(e,t,n)=>{"use strict";n.d(t,{Cg:()=>s,R1:()=>d,s:()=>l});var r=n(79049),i=n(21403);let a="github-mobile-auth-flash";function o(){let e=document.querySelector("#js-flash-container");if(e)for(let t of e.children)!t.classList.contains("js-flash-template")&&t.classList.contains(a)&&e.removeChild(t)}function s(){let e=document.getElementById("github-mobile-authenticate-prompt");e&&(e.hidden=!0);let t=document.getElementById("github-mobile-authenticate-error-and-retry");t&&(t.hidden=!1)}function l(){o();let e=document.getElementById("github-mobile-authenticate-prompt");e&&(e.hidden=!1);let t=document.getElementById("github-mobile-authenticate-error-and-retry");t&&(t.hidden=!0)}function c(e){e&&function(e){let t=new r.i4(document.querySelector("template.js-flash-template"),{className:`flash-error ${a}`,message:e}),n=document.importNode(t,!0),i=document.querySelector("#js-flash-container");i&&(o(),i.appendChild(n))}(e),s()}function u(e){return document.getElementById("github-mobile-authenticate-error-and-retry").getAttribute(e)}async function d(e,t,n,r){try{var i;await (i=e.getAttribute("data-poll-url"),async function e(a){let o,s,l;if(r&&r())return;let d="STATUS_UNKNOWN";try{let e=document.getElementById("github-mobile-authenticate-form"),t=e.querySelector(".js-data-url-csrf"),n=await self.fetch(new Request(i,{method:"POST",body:new FormData(e),mode:"same-origin",headers:{Accept:"application/json","Scoped-CSRF-Token":t.value,"X-Requested-With":"XMLHttpRequest"}}));if(n.ok){let e=await n.json();d=e.status,o=e.token}else d="STATUS_ERROR"}catch{d="STATUS_ERROR"}switch(d){case"STATUS_APPROVED":var m;return t?t():void((l=(m=o)?new URL(`password_reset/${encodeURIComponent(m)}`,window.location.origin):new URL("",window.location.href)).searchParams.set("redirect","true"),window.location.assign(l));case"STATUS_EXPIRED":return s=u("timeout-flash"),n?n(s):c(s);case"STATUS_ACTIVE":case"STATUS_ERROR":case"STATUS_UNKNOWN":break;case"STATUS_REJECTED":return s=u("error-flash"),n?n(s):void document.getElementById("github-mobile-rejected-redirect").click();default:return s=u("error-flash"),n?n(s):c(s)}await new Promise(e=>setTimeout(e,3e3)),e(a)}(0))}catch{return c(u("error-flash"))}}(0,i.lB)(".js-poll-github-mobile-two-factor-authenticate",function(e){d(e)}),(0,i.lB)(".js-poll-github-mobile-verified-device-authenticate",function(e){d(e)}),(0,i.lB)(".js-poll-github-mobile-two-factor-password-reset-authenticate",function(e){d(e)})},39310:(e,t,n)=>{"use strict";n.d(t,{K:()=>s,f:()=>l});var r=n(97797),i=n(21232),a=n(13937),o=n(78350);function s(){document.body.classList.add("is-sending"),document.body.classList.remove("is-sent","is-not-sent")}function l(){document.body.classList.add("is-sent"),document.body.classList.remove("is-sending")}(0,a.JW)(".js-send-auth-code",async(e,t)=>{let n;s();try{n=await t.text()}catch(e){!function(e){e&&(document.querySelector(".js-sms-error").textContent=e),document.body.classList.add("is-not-sent"),document.body.classList.remove("is-sending")}(e.response.text)}n&&l()}),(0,a.JW)(".js-two-factor-set-sms-fallback",async(e,t)=>{let n;try{n=await t.text()}catch(i){let t=e.querySelector(".js-configure-sms-fallback"),n=e.querySelector(".js-verify-sms-fallback"),r=(t.hidden?n:t).querySelector(".flash");switch(i.response.status){case 404:case 422:case 429:r.textContent=JSON.parse(i.response.text).error,r.hidden=!1}}if(n)switch(n.status){case 200:case 201:window.location.reload();break;case 202:e.querySelector(".js-configure-sms-fallback").hidden=!0,e.querySelector(".js-verify-sms-fallback").hidden=!1,e.querySelector(".js-fallback-otp").focus()}}),(0,i.eC)(".js-verification-code-input-auto-submit",function(e){let t=e.currentTarget,n=t.pattern||"[0-9]{6}";RegExp(`^(${n})$`).test(t.value)&&(0,o.k_)(t.form)}),(0,r.on)("click",".js-toggle-redacted-note-content",async e=>{let t=e.currentTarget,n=t.closest(".note");if(n){let e=n.getElementsByClassName("js-note")[0];if(e){let n=t.getAttribute("data-content").replace(//g,">");e.innerHTML=n}}for(let e of n.getElementsByClassName("js-toggle-redacted-note-content"))e.hidden=!e.hidden})},38147:(e,t,n)=>{"use strict";n.d(t,{NB:()=>c,Up:()=>l,pk:()=>u});let r=new WeakMap;function i(e){let t=r.get(e);t&&(null!=t.timer&&clearTimeout(t.timer),t.timer=window.setTimeout(()=>{null!=t.timer&&(t.timer=null),t.inputed=!1,t.listener.call(null,e)},t.wait))}function a(e){let t=e.currentTarget,n=r.get(t);n&&(n.keypressed=!0,null!=n.timer&&clearTimeout(n.timer))}function o(e){let t=e.currentTarget,n=r.get(t);n&&(n.keypressed=!1,n.inputed&&i(t))}function s(e){let t=e.currentTarget,n=r.get(t);n&&(n.inputed=!0,n.keypressed||i(t))}function l(e,t,n={wait:null}){r.set(e,{keypressed:!1,inputed:!1,timer:void 0,listener:t,wait:null!=n.wait?n.wait:100}),e.addEventListener("keydown",a),e.addEventListener("keyup",o),e.addEventListener("input",s)}function c(e,t){e.removeEventListener("keydown",a),e.removeEventListener("keyup",o),e.removeEventListener("input",s);let n=r.get(e);n&&(null!=n.timer&&n.listener===t&&clearTimeout(n.timer),r.delete(e))}function u(e){let t=r.get(e);t&&t.listener.call(null,e)}},78568:(e,t,n)=>{"use strict";n.d(t,{R:()=>s});var r=n(18292),i=n(97156),a=n(27260);let BatchedUpdatableContent=class BatchedUpdatableContent{onEvent(e,t,n){let r=this.intervals[t];r||(r=this.intervals[t]={interval:null,targets:new Set}),r.targets.add(e),r.interval||(r.interval=setInterval(()=>this.onInterval(t,n),t))}constructor(){this.intervals={},this.onInterval=(e,t)=>{let n=this.intervals[e];if(!n)return;let r=n.targets;if(0!==r.size){for(let e of(n.targets=new Set,r))document.body.contains(e)&&t(e);r.clear()}},this.clear=()=>{for(let e in this.intervals)if(Object.prototype.hasOwnProperty.call(this.intervals,e)){let t=this.intervals[e];t&&(t.interval&&(clearInterval(t.interval),t.interval=null),t.targets.clear())}}}};let o=new BatchedUpdatableContent;function s(e=r.le){return function(t){let{gid:n,wait:r,event_updates:i}=t.detail.data,a=t.target,s=n?function(e,t){if(e.getAttribute("data-gid")===t)return e;for(let n of e.querySelectorAll("[data-url][data-gid]"))if(n.getAttribute("data-gid")===t)return n;return null}(a,n):a;if(s){let t=s.getAttribute("data-batched"),n=s.getAttribute("data-channel-event-name");if(n&&(void 0===i||!i.hasOwnProperty(n)))return;if(t){let n=Math.max(parseInt(t)||0,1e3);o.onEvent(s,n,e)}else setTimeout(e,r||0,s)}}}i.cg?.addEventListener(a.z.END,o.clear)},21303:(e,t,n)=>{"use strict";let r;n.d(t,{H:()=>S});var i=n(10204);let AliveSession=class AliveSession extends i.ib{getUrlFromRefreshUrl(){return a(this.refreshUrl)}constructor(e,t,n,r){super(e,()=>this.getUrlFromRefreshUrl(),n,r),this.refreshUrl=t}};async function a(e){let t=await o(e);return t&&t.url&&t.token?s(t.url,t.token):null}async function o(e){let t=await fetch(e,{headers:{Accept:"application/json"}});if(t.ok)return t.json();if(404===t.status)return null;throw Error("fetch error")}async function s(e,t){let n=await fetch(e,{method:"POST",mode:"same-origin",headers:{"Scoped-CSRF-Token":t}});if(n.ok)return n.text();throw Error("fetch error")}var l=n(70170),c=n(5728),u=n(74572),d=n(6440),m=n(51528),f=n(2240);let h="alive";let InvalidSourceRelError=class InvalidSourceRelError extends f.r{constructor(...e){super(...e),this.name="InvalidSourceRelError"}};let p=d.wA.createPolicy(h,{createScriptURL:e=>f.b.apply({policy:()=>{if(!(0,m.X)())return e;if(!e.startsWith("/"))throw new InvalidSourceRelError("Alive worker src URL must start with a slash");return e},policyName:h,fallback:e,fallbackOnError:!0})});var g=n(23683);function b(e,{channel:t,type:n,data:r}){for(let i of e)i.dispatchEvent(new CustomEvent(`socket:${n}`,{bubbles:!1,cancelable:!1,detail:{name:t,data:r}}))}let y=class AliveSessionProxy{subscribe(e){let t=this.subscriptions.add(...e);t.length&&this.worker.port.postMessage({subscribe:t});let n=new Set(t.map(e=>e.name)),r=e.reduce((e,t)=>{let r=t.topic.name;return(0,i.JR)(r)&&!n.has(r)&&e.add(r),e},new Set);r.size&&this.worker.port.postMessage({requestPresence:Array.from(r)})}unsubscribeAll(...e){let t=this.subscriptions.drain(...e);t.length&&this.worker.port.postMessage({unsubscribe:t});let n=this.presenceMetadata.removeSubscribers(e);this.sendPresenceMetadataUpdate(n)}updatePresenceMetadata(e){let t=new Set;for(let n of e)this.presenceMetadata.setMetadata(n),t.add(n.channelName);this.sendPresenceMetadataUpdate(t)}sendPresenceMetadataUpdate(e){if(!e.size)return;let t=[];for(let n of e)t.push({channelName:n,metadata:this.presenceMetadata.getChannelMetadata(n)});this.worker.port.postMessage({updatePresenceMetadata:t})}online(){this.worker.port.postMessage({online:!0})}offline(){this.worker.port.postMessage({online:!1})}hangup(){this.worker.port.postMessage({hangup:!0})}receive(e){let{channel:t}=e;if("presence"===e.type){let n=this.notifyPresenceDebouncedByChannel.get(t);n||(n=(0,l.s)((e,n)=>{this.notify(e,n),this.notifyPresenceDebouncedByChannel.delete(t)},100),this.notifyPresenceDebouncedByChannel.set(t,n)),n(this.subscriptions.subscribers(t),e);return}this.notify(this.subscriptions.subscribers(t),e)}constructor(e,t,n,r,a){this.subscriptions=new i.m0,this.presenceMetadata=new i.VH,this.notifyPresenceDebouncedByChannel=new Map,this.notify=a,this.worker=new SharedWorker(e,`github-socket-worker-v2-${r}`),this.worker.port.onmessage=({data:e})=>this.receive(e),this.worker.port.postMessage({connect:{url:t,refreshUrl:n}})}};async function v(){let e=function(){let e=document.head.querySelector("link[rel=shared-web-socket-src]")?.getAttribute("href")??"";try{return p.createScriptURL(e)}catch(e){if(e instanceof InvalidSourceRelError)return null;throw e}}();if(!e)return;let t=document.head.querySelector("link[rel=shared-web-socket]")?.href??null;if(!t)return;let n=document.head.querySelector("link[rel=shared-web-socket]")?.getAttribute("data-refresh-url")??null;if(!n)return;let r=document.head.querySelector("link[rel=shared-web-socket]")?.getAttribute("data-session-id")??null;if(!r)return;let i=(()=>{if(!(0,g.nr)()&&"SharedWorker"in window&&"true"!==(0,u.A)("localStorage").getItem("bypassSharedWorker"))try{return new y(e,t,n,r,b)}catch{}return new AliveSession(t,n,!1,b)})();return window.addEventListener("online",()=>i.online()),window.addEventListener("offline",()=>i.offline()),window.addEventListener("pagehide",()=>{"hangup"in i&&i.hangup()}),i}async function w(){return await c.G,v()}function S(){return r||(r=w())}},53348:(e,t,n)=>{"use strict";n.d(t,{A:()=>a,s:()=>i});let r=!0;function i(e){r=e}function a(){return r}},44479:(e,t,n)=>{"use strict";function r(e,t,n){if(!t)return;let r=t.className.includes("cm-content")?t:t.querySelector(".cm-content");r&&r.dispatchEvent(new CustomEvent(e,{detail:n}))}n.d(t,{R:()=>r})},60188:(e,t,n)=>{"use strict";n.d(t,{D:()=>a});var r=n(7572),i=n(97156);function a(e){if(!i.XC)return;let t=i.XC.querySelector("title"),n=i.XC.createElement("title");n.textContent=e,t?t.textContent!==e&&(t.replaceWith(n),(0,r.i)(e)):(i.XC.head.appendChild(n),(0,r.i)(e))}},70908:(e,t,n)=>{"use strict";function r(){return Promise.resolve()}function i(){return new Promise(window.requestAnimationFrame)}async function a(e,t){let n;let r=new Promise(t=>{n=self.setTimeout(t,e)});if(!t)return r;try{var i;await Promise.race([r,(i=t,new Promise((e,t)=>{let n=Error("aborted");n.name="AbortError",i.aborted?t(n):i.addEventListener("abort",()=>t(n))}))])}catch(e){throw self.clearTimeout(n),e}}function o(e){let t=[];return function(n){t.push(n),1===t.length&&queueMicrotask(()=>{let n=t.slice(0);t.length=0,e(n)})}}n.d(t,{G$:()=>i,k2:()=>r,rK:()=>o,uk:()=>a})},62794:(e,t,n)=>{"use strict";function r(e,t,n){return[...function*(e,t){for(let n of e){let e=t(n);null!=e&&(yield e)}}(e,e=>{let n=t(e);return null!=n?[e,n]:null})].sort((e,t)=>n(e[1],t[1])).map(([e])=>e)}n.d(t,{d:()=>r})},52976:(e,t,n)=>{"use strict";function r(e,t,n=.1){let r=o(e,t,n);return r&&-1===t.indexOf("/")&&(r+=o(e.substring(e.lastIndexOf("/")+1),t,n)),r}function i(e,t,n){if(t){let r=e.innerHTML.trim().match(n||function(e){let t=e.toLowerCase().split(""),n="",r=!0;for(let e of t){let t=e.replace(/[\\^$*+?.()|[\]{}]/g,"\\$&");r?(n+=`(.*)(${t})`,r=!1):n+=`([^${t}]*?)(${t})`}return RegExp(`${n}(.*?)$`,"i")}(t));if(!r)return;let i=!1,a=[];for(let e=1;e"),i=!0):i&&(a.push(""),i=!1),a.push(t))}e.innerHTML=a.join("")}else{let t=e.innerHTML.trim(),n=t.replace(/<\/?mark>/g,"");t!==n&&(e.innerHTML=n)}}n.d(t,{He:()=>i,UD:()=>s,dt:()=>r});let a=new Set([" ","-","_"]);function o(e,t,n=.1){let r=e;if(r===t)return 1;let i=r.length,o=0,s=0,l=!0;for(let e of t){let t=r.indexOf(e.toLowerCase()),c=r.indexOf(e.toUpperCase()),u=Math.min(t,c),d=u>-1?u:Math.max(t,c);if(-1===d)return 0;o+=.1,r[d]===e&&(o+=.1),0===d&&(o+=.9-n,l&&(s=1)),a.has(r.charAt(d-1))&&(o+=.9-n),r=r.substring(d+1,i),l=!1}let c=t.length,u=o/c,d=(c/i*u+u)/2;return s&&d+n<1&&(d+=n),d}function s(e,t){return e.score>t.score?-1:e.scoret.text?1:0}},98164:(e,t,n)=>{"use strict";n.d(t,{$$:()=>s,GI:()=>a,zw:()=>i});var r=n(18558);let i=()=>{if("undefined"==typeof document)return!1;let e=document.querySelector("meta[name=keyboard-shortcuts-preference]");return!e||"all"===e.content},a=e=>/Enter|Arrow|Escape|Meta|Control|Mod|Esc/.test(e)||e.includes("Alt")&&e.includes("Shift"),o=new Set(["button","checkbox","color","file","hidden","image","radio","range","reset","submit"]),s=e=>{let t=(0,r.Vy)(e),n=i()&&!function(e){if(!(e instanceof HTMLElement))return!1;let t=e.nodeName.toLowerCase(),n=e.getAttribute("type")?.toLowerCase()??"text",r="true"===e.ariaReadOnly||"true"===e.getAttribute("aria-readonly")||null!==e.getAttribute("readonly");return("select"===t||"textarea"===t||"input"===t&&!o.has(n)||e.isContentEditable)&&!r}(e.target);return a(t)||n}},51550:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(e,t)=>{let n=new URL(e,window.location.origin),r=new URL(t,window.location.origin);return r.href.includes("#")&&n.host===r.host&&n.pathname===r.pathname&&n.search===r.search}},60016:(e,t,n)=>{"use strict";n.d(t,{qy:()=>s.qy,XX:()=>s.XX,_3:()=>s._3});var r=n(6440),i=n(2240);let a="jtml-no-op",o=r.wA.createPolicy(a,{createHTML:e=>i.b.apply({policy:()=>e,policyName:a,fallback:e,fallbackOnError:!0})});var s=n(31143);s.QI.setCSPTrustedTypesPolicy(o)},37252:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>m,YU:()=>u,nA:()=>f});var r=n(65024),i=n(27193),a=n(13937),o=n(34088);let s=!1;async function l(){let e=document.querySelector("link[rel=sudo-modal]"),t=document.querySelector(".js-sudo-prompt");if(t instanceof HTMLTemplateElement)return t;if(e){let t=await (0,i.Ts)(document,function(e){let t=new URL(e,window.location.origin),n=new URLSearchParams(t.search.slice(1));return n.set("webauthn-support",(0,o.K)()),t.search=n.toString(),t.toString()}(e.href));return document.body.appendChild(t),document.querySelector(".js-sudo-prompt")}throw Error("couldn't load sudo prompt")}let c=!1;async function u(e){if(s)return!1;s=!0,c=!1;let t=(await l()).content.cloneNode(!0),n=await (0,r.r)({content:t}),i=e?.closest("details[open]");return i&&i.removeAttribute("open"),await new Promise(e=>{n.addEventListener("dialog:remove",function(){i&&i.setAttribute("open","open"),s=!1,e()},{once:!0})}),c}async function d(e,t,n="Sudo authentication failed.",r="Too many authentication attempts. Please try again later.",i=".js-sudo-error",a){try{await t.text()}catch(o){let t;if(!o.response)throw o;switch(o.response.status){case 401:t=n;break;case 429:t=r;break;default:t="An unknown error occurred. Please try again later."}if(e.querySelector(i).textContent=t,e.querySelector(i).hidden=!1,a&&(e.querySelector(a).value=""),401!==o.response.status&&429!==o.response.status)throw o;return}c=!0,e.closest("details").removeAttribute("open")}async function m(e){let t=await fetch("/sessions/in_sudo",{headers:{accept:"application/json","X-Requested-With":"XMLHttpRequest"}});return!!t.ok&&"true"===await t.text()||u(e)}async function f(){let e=await fetch("/sessions/in_sudo",{headers:{accept:"application/json","X-Requested-With":"XMLHttpRequest"}});return!!e.ok&&"true"===await e.text()}(0,a.JW)(".js-sudo-webauthn-form",async function(e,t){await d(e,t)}),(0,a.JW)(".js-sudo-github-mobile-form",async function(e,t){await d(e,t)}),(0,a.JW)(".js-sudo-totp-form",async function(e,t){await d(e,t,void 0,void 0,".flash-error","#totp")}),(0,a.JW)(".js-sudo-password-form",async function(e,t){await d(e,t,"Incorrect password.","Too many password attempts. Please wait and try again.",void 0,".js-sudo-password")})},15816:(e,t,n)=>{"use strict";function r(e){let t=e.split("\u200D"),n=0;for(let e of t)n+=Array.from(e.split(/[\ufe00-\ufe0f]/).join("")).length;return n/t.length}function i(e,t,n,r=!0){let i=e.value.substring(0,e.selectionEnd||0),a=e.value.substring(e.selectionEnd||0);return s(e,(i=i.replace(t,n))+(a=a.replace(t,n)),i.length,r),n}function a(e,t,n){if(null===e.selectionStart||null===e.selectionEnd)return i(e,t,n);let r=e.value.substring(0,e.selectionStart),a=e.value.substring(e.selectionEnd);return s(e,r+n+a,r.length),n}function o(e,t,n={}){let r=e.selectionEnd||0,i=e.value.substring(0,r),a=e.value.substring(r),o=(""===e.value||i.match(/\n$/)?"":"\n")+t+(n.appendNewline?"\n":"");e.value=i+o+a;let s=r+o.length;return e.selectionStart=s,e.selectionEnd=s,e.dispatchEvent(new CustomEvent("change",{bubbles:!0,cancelable:!1})),e.focus(),o}function s(e,t,n,r=!0){e.value=t,r&&(e.selectionStart=n,e.selectionEnd=n),e.dispatchEvent(new CustomEvent("change",{bubbles:!0,cancelable:!1}))}function l(e,t){let n=[...e],r=new TextEncoder,i=new Uint8Array(4);for(let e=0;e=t))break}return t}n.d(t,{bV:()=>r,bc:()=>o,ee:()=>i,kN:()=>l,tJ:()=>a})},772:(e,t,n)=>{"use strict";n.d(t,{z:()=>o});var r=n(6440),i=n(2240);let a="turbo",o=r.wA.createPolicy(a,{createHTML:e=>i.b.apply({policy:()=>e,policyName:`${a}-html`,fallback:e,fallbackOnError:!0,silenceErrorReporting:!0}),createScript:e=>i.b.apply({policy:()=>e,policyName:`${a}-script`,fallback:e,fallbackOnError:!0,silenceErrorReporting:!0}),createScriptURL:e=>i.b.apply({policy:()=>e,policyName:`${a}-url`,fallback:e,fallbackOnError:!0,silenceErrorReporting:!0})})},19029:(e,t,n)=>{"use strict";n.d(t,{$4:()=>v,$U:()=>l,$Y:()=>f,G5:()=>m,GH:()=>y,OO:()=>S,Ph:()=>a,Sf:()=>w,Sy:()=>E,Y0:()=>h,Y9:()=>u,e8:()=>c,mU:()=>s,nZ:()=>b,uW:()=>o,vV:()=>p});var r=n(772);let i="data-turbo-loaded";function a(){document.documentElement.setAttribute(i,"")}function o(){return document.documentElement.hasAttribute(i)}let s=e=>e?.tagName==="TURBO-FRAME";function l(e,t){return e.split("/",3).join("/")===t.split("/",3).join("/")}function c(e,t){return e.split("/",2).join("/")===t.split("/",2).join("/")}async function u(){let e=document.head.querySelectorAll("link[rel=stylesheet]"),t=new Set([...document.styleSheets].map(e=>e.href)),n=[];for(let r of e)""===r.href||t.has(r.href)||n.push(d(r));await Promise.all(n)}let d=(e,t=2e3)=>new Promise(n=>{let r=()=>{e.removeEventListener("error",r),e.removeEventListener("load",r),n()};e.addEventListener("load",r,{once:!0}),e.addEventListener("error",r,{once:!0}),setTimeout(r,t)}),m=(e,t)=>{let n=t||e.querySelectorAll("[data-turbo-replace]"),r=[...document.querySelectorAll("[data-turbo-replace]")];for(let e of n){let t=r.find(t=>t.id===e.id);t&&t.replaceWith(e.cloneNode(!0))}},f=e=>{for(let t of e.querySelectorAll("link[rel=stylesheet]"))document.head.querySelector(`link[href="${t.getAttribute("href")}"], + link[data-href="${t.getAttribute("data-href")}"]`)||document.head.append(t)},h=e=>{for(let t of e.querySelectorAll("script"))document.head.querySelector(`script[src="${t.getAttribute("src")}"]`)||g(t)},p=e=>{let{src:t}=e;if(!t)return;let n=document.createElement("script"),i=e.getAttribute("type");i&&(n.type=i);let a=r.z.createScriptURL(t);return n.src=a,n},g=e=>{let t=p(e);document.head&&t&&document.head.appendChild(t)},b=e=>{let t=[];for(let n of e.querySelectorAll('meta[data-turbo-track="reload"]'))document.querySelector(`meta[http-equiv="${n.getAttribute("http-equiv")}"]`)?.content!==n.content&&t.push(w(n.getAttribute("http-equiv")||""));return t},y=e=>{let t=e.querySelector("[data-turbo-head]")||e.head;return{title:t.querySelector("title")?.textContent,transients:[...t.querySelectorAll("[data-turbo-transient]")].map(e=>e.cloneNode(!0)),bodyClasses:e.querySelector("meta[name=turbo-body-classes]")?.content,replacedElements:[...e.querySelectorAll("[data-turbo-replace]")].map(e=>e.cloneNode(!0))}},v=()=>[...document.documentElement.attributes],w=e=>e.replace(/^x-/,"").replaceAll("-","_"),S=e=>document.dispatchEvent(new CustomEvent("turbo:reload",{detail:{reason:e}})),E=(e,t)=>{for(let n of e.attributes)t.hasAttribute(n.nodeName)||"aria-busy"===n.nodeName||e.removeAttribute(n.nodeName);for(let n of t.attributes)e.getAttribute(n.nodeName)!==n.nodeValue&&e.setAttribute(n.nodeName,n.nodeValue)}},1270:(e,t,n)=>{"use strict";n.r(t),n.d(t,{State:()=>r,WebauthnGetElement:()=>WebauthnGetElement});var r,i=n(39595),a=n(74043),o=n(78350);function s(e,t,n,r){var i,a=arguments.length,o=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(o=(a<3?i(o):a>3?i(t,n,o):i(t,n))||o);return a>3&&o&&Object.defineProperty(t,n,o),o}!function(e){e.Initializing="initializing",e.Unsupported="unsupported",e.Ready="ready",e.Waiting="waiting",e.Error="error",e.Submitting="submitting"}(r||(r={}));let WebauthnGetElement=class WebauthnGetElement extends HTMLElement{async connectedCallback(){this.originalButtonText=this.getCurrentButtonText(),this.originalErrorText=this.errorText.textContent,this.setState((0,a.$j)()?"ready":"unsupported"),this.passkeySupport=await window.PublicKeyCredential?.isUserVerifyingPlatformAuthenticatorAvailable(),"unsupported"!==this.state&&!this.passkeySupport&&this.passkeysUnsupportedMessage&&(this.passkeysUnsupportedMessage.hidden=!1),this.subtleLogin?this.handleWebauthnSubtle():this.showWebauthnLoginFragment()}handleWebauthnSubtle(){let e=document.querySelector(".js-webauthn-subtle");e&&(e.hidden=!1,this.updateWebauthnSubtleParentBoxVisibility(!1),e.addEventListener("webauthn-subtle-submit",()=>{this.showWebauthnLoginFragment(),"unsupported"!==this.state&&this.prompt()}))}showWebauthnLoginFragment(){let e=document.querySelector(".js-webauthn-login-section");e&&(e.hidden=!1,this.updateWebauthnSubtleParentBoxVisibility(!0))}updateWebauthnSubtleParentBoxVisibility(e){let t=document.querySelector(".js-webauthn-hint");t&&(t.hidden=e)}getCurrentButtonText(){return this.buttonText.textContent||""}setCurrentButtonText(e){this.buttonText.textContent=e}setState(e){let t=this.button.getAttribute("data-retry-message")||this.originalButtonText,n=this.hasErrored?t:this.originalButtonText;for(let e of(this.setCurrentButtonText(n),this.button.disabled=!1,this.button.hidden=!1,this.errorText.textContent="",this.messages))e.hidden=!0;switch(e){case"initializing":this.button.disabled=!0;break;case"unsupported":this.button.disabled=!0,this.unsupportedMessage.hidden=!1,this.passkeysUnsupportedMessage&&(this.passkeysUnsupportedMessage.hidden=!0);break;case"ready":break;case"waiting":this.waitingMessage.hidden=!1,this.button.hidden=!0;break;case"error":this.errorMessage.hidden=!1,this.errorText.textContent=this.originalErrorText;break;case"submitting":this.setCurrentButtonText("Verifying\u2026"),this.button.disabled=!0;break;default:throw Error("invalid state")}this.state=e}async prompt(e,t){e?.preventDefault(),this.dispatchEvent(new CustomEvent("webauthn-get-prompt"));try{t||this.setState("waiting");let e=JSON.parse(this.dataJson),n=await (0,a.Jt)((0,a.d5)(e));this.setState("submitting");let r=this.closest(".js-webauthn-form");r.querySelector(".js-webauthn-response").value=JSON.stringify(n),(0,o.k_)(r)}catch(e){if(!t)throw this.hasErrored=!0,this.setState("error"),e}}constructor(...e){super(...e),this.state="initializing",this.dataJson="",this.subtleLogin=!1,this.hasErrored=!1}};WebauthnGetElement.attrPrefix="",s([i.aC],WebauthnGetElement.prototype,"button",void 0),s([i.aC],WebauthnGetElement.prototype,"buttonText",void 0),s([i.zV],WebauthnGetElement.prototype,"messages",void 0),s([i.aC],WebauthnGetElement.prototype,"capitalizedDescription",void 0),s([i.aC],WebauthnGetElement.prototype,"unsupportedMessage",void 0),s([i.aC],WebauthnGetElement.prototype,"passkeysUnsupportedMessage",void 0),s([i.aC],WebauthnGetElement.prototype,"waitingMessage",void 0),s([i.aC],WebauthnGetElement.prototype,"errorMessage",void 0),s([i.aC],WebauthnGetElement.prototype,"errorText",void 0),s([i.CF],WebauthnGetElement.prototype,"dataJson",void 0),s([i.CF],WebauthnGetElement.prototype,"subtleLogin",void 0),WebauthnGetElement=s([i.p_],WebauthnGetElement)},34088:(e,t,n)=>{"use strict";n.d(t,{K:()=>i,e:()=>a});var r=n(74043);function i(){return(0,r.$j)()?"supported":"unsupported"}async function a(){return await window.PublicKeyCredential?.isUserVerifyingPlatformAuthenticatorAvailable()?"supported":"unsupported"}}},e=>{var t=t=>e(e.s=t);e.O(0,["vendors-node_modules_dompurify_dist_purify_js","vendors-node_modules_primer_behaviors_dist_esm_index_mjs","vendors-node_modules_github_selector-observer_dist_index_esm_js","vendors-node_modules_braintree_browser-detection_dist_browser-detection_js-node_modules_githu-bb80ec","vendors-node_modules_lit-html_lit-html_js","vendors-node_modules_github_hydro-analytics-client_dist_analytics-client_js-node_modules_gith-f3aee1","vendors-node_modules_github_mini-throttle_dist_index_js-node_modules_morphdom_dist_morphdom-e-7c534c","vendors-node_modules_github_turbo_dist_turbo_es2017-esm_js","vendors-node_modules_github_remote-form_dist_index_js-node_modules_delegated-events_dist_inde-893f9f","vendors-node_modules_scroll-anchoring_dist_scroll-anchoring_esm_js-node_modules_stacktrace-pa-a71630","vendors-node_modules_github_auto-complete-element_dist_index_js-node_modules_github_catalyst_-6afc16","vendors-node_modules_color-convert_index_js","vendors-node_modules_github_filter-input-element_dist_index_js-node_modules_github_remote-inp-d1a841","vendors-node_modules_github_quote-selection_dist_index_js-node_modules_github_session-resume_-0b5e12","ui_packages_failbot_failbot_ts","ui_packages_updatable-content_updatable-content_ts","app_assets_modules_github_behaviors_task-list_ts-app_assets_modules_github_sso_ts-ui_packages-900dde","app_assets_modules_github_sticky-scroll-into-view_ts","app_assets_modules_github_behaviors_ajax-error_ts-app_assets_modules_github_behaviors_include-d0d0a6","app_assets_modules_github_behaviors_commenting_edit_ts-app_assets_modules_github_behaviors_ht-83c235"],()=>t(53254)),e.O()}]); +//# sourceMappingURL=behaviors-e93fe1f35ca7.js.map \ No newline at end of file diff --git a/Shargil_VoiceToPlaylist_ 4.5 hours project - Voice Emotion Recognizer that open up a Spotify playlist according to you mood._files/blackbird-search-be02e5790016.js.download b/Shargil_VoiceToPlaylist_ 4.5 hours project - Voice Emotion Recognizer that open up a Spotify playlist according to you mood._files/blackbird-search-be02e5790016.js.download new file mode 100644 index 0000000000000000000000000000000000000000..6ed1f59fcfc2032fe6182a9f4ba2796093b5b514 --- /dev/null +++ b/Shargil_VoiceToPlaylist_ 4.5 hours project - Voice Emotion Recognizer that open up a Spotify playlist according to you mood._files/blackbird-search-be02e5790016.js.download @@ -0,0 +1,12 @@ +"use strict";(globalThis.webpackChunk=globalThis.webpackChunk||[]).push([["blackbird-search","app_components_search_parsing_parsing_ts"],{79506:(e,t,s)=>{var r,i,n=s(74848),a=s(96540),o=s(37190),l=s(83056),c=s(47767);function d(e){let t=(0,c.Zp)();return(0,a.useCallback)((s,r,i)=>{let{pathname:n,search:a,hash:o}=(0,l.IDI)(e,s,r);t({pathname:n,search:a,hash:o},i)},[t,e])}var u=s(82907),h=s(50900);function p(e){return e.ctrlKey||e.metaKey||1===e.button}function x(){let e=d(l.oef),t=(0,c.zy)();return(0,a.useCallback)(async(s,r,i,n)=>{let{newQuery:a,newSearchParams:o}=f(t,s,r,i);b(a),n?window.open((0,l.IDI)(l.oef,void 0,{...o,q:a}).href,"_blank"):e(void 0,{...o,q:a})},[e,t])}function m(e){let t;try{t=JSON.parse(e||"[]"),Array.isArray(t)||(t=[])}catch{t=[]}return t}function f(e,t,s,r){let i=new URLSearchParams(e.search),n=t??i.get("q")??"";s&&(n=n?`${n} ${s}`:s);let a=r||{},o=(0,h.Bx)().join(",");""!==o?a.experiments=o:a.experiments=null;let l=i.get("saved_searches");if(l){let e=m(l);if(e.length>0){let t=(0,u.parseString)(n);a.expanded_query=(0,u.getExpandedQuery)(n,e,t)}}return{newQuery:n,newSearchParams:a}}let g="blackbird_monolith_retransmit_react",y="blackbird_monolith_search",j="blackbird_monolith_set_global_nav_visibility";function b(e){window.dispatchEvent(new CustomEvent("blackbird_monolith_update_input",{detail:e}))}function v(){window.dispatchEvent(new CustomEvent("blackbird_provide_feedback"))}var w=s(41463);function _({children:e}){!function(){(0,a.useEffect)(()=>{function e(){window.dispatchEvent(new CustomEvent("blackbird_monolith_react_connected")),window.dispatchEvent(new CustomEvent(j,{detail:!1}))}return e(),window.addEventListener(g,e),()=>{window.dispatchEvent(new CustomEvent(j,{detail:!0})),window.removeEventListener(g,e),window.dispatchEvent(new CustomEvent("blackbird_monolith_react_disconnected"))}},[]);let e=x();(0,a.useEffect)(()=>{function t(t){t instanceof CustomEvent&&e(t.detail.search,void 0,t.detail.searchParams)}return window.addEventListener(y,t),()=>{window.removeEventListener(y,t)}},[e]);let{search:t}=(0,c.zy)(),s=new URLSearchParams(t).get("q")??"";(0,a.useEffect)(()=>{b(s)},[s])}();let t=(0,a.useMemo)(()=>({}),[]);return(0,n.jsx)(o.y,{appName:"blackbird",category:"",metadata:t,children:(0,n.jsx)(w.i,{children:e})})}try{_.displayName||(_.displayName="App")}catch{}var k=s(75177),A=s(93653),C=s(34614),S=s(33520),N=s(38621),I=s(52464),R=s(55847),L=s(65481),T=s(30729),z=s(27788),$=s(22084),E=s(28784),q=s(71312);let W=a.createContext(void 0);try{W.displayName||(W.displayName="CurrentUserContext")}catch{}try{(r=function({user:e,children:t}){return(0,n.jsxs)(W.Provider,{value:e,children:[" ",t," "]})}).displayName||(r.displayName="CurrentUserProvider")}catch{}var F=s(15820);function M(){let{sendAnalyticsEvent:e}=(0,q.s)(),t=function(){let e=(0,l.yH8)(l.Ty5,void 0),{id:t,login:s}=a.useContext(W)||{id:void 0,login:void 0};return(0,a.useCallback)((r,i,n)=>{let a={target:r,interaction:i,performed_at:Date.now(),react_app:"blackbird-monolith",react_page:"search-results",actor_id:t,actor_login:s,...n,url:window.location.href,user_agent:window.navigator.userAgent,browser_width:window.innerWidth,browser_languages:window.navigator.languages.join(",")};(0,E.lS)(e,{method:"POST",body:a})},[e,t,s])}(),s=(0,F.u)("code_nav_ui_events");return{sendSearchResultClick:(0,a.useCallback)((r,i,n)=>{e("search.result-click","",{queryId:r,position:i,path:n.path,language:n.language_name,line_number:n.line_number,ref_name:n.ref_name,commit_sha:n.commit_sha,blob_sha:n.blob_sha,repo_nwo:n.repo_nwo}),s&&t("SEARCH_RESULT.CLICK","click",{query_id:r,result_type:"code",result_index:i,result_path:n.path,result_language:n.language_name,result_line_number:n.line_number,result_ref_name:n.ref_name,result_commit_sha:n.commit_sha,result_blob_sha:n.blob_sha,result_repo_nwo:n.repo_nwo})},[e,t,s]),sendSearchBackNavigation:(0,a.useCallback)(r=>{e("search.back","",{queryId:r}),s&&t("PREVIOUS_PAGE.CLICK","click",{query_id:r})},[e,t,s]),sendSearchNextPageNavigation:(0,a.useCallback)((r,i)=>{e("search.next-page","",{queryId:r,page:i}),s&&t("NEXT_PAGE.CLICK","click",{query_id:r,page_index:i})},[e,t,s]),sendSampledSearchResult:(0,a.useCallback)((r,i,n)=>{e("search.sampled-result","",{queryId:r,position:i,path:n.path,language:n.language_name,line_number:n.line_number,ref_name:n.ref_name,commit_sha:n.commit_sha,blob_sha:n.blob_sha,repo_nwo:n.repo_nwo}),s&&t("SEARCH_RESULT.SAMPLED","sampled",{query_id:r,result_type:"code",result_index:i,result_path:n.path,result_language:n.language_name,result_line_number:n.line_number,result_ref_name:n.ref_name,result_commit_sha:n.commit_sha,result_blob_sha:n.blob_sha,result_repo_nwo:n.repo_nwo})},[e,t,s])}}let P=0;function D(){return Date.now()-P}function H({side:e,children:t,sx:s,title:r}){return(0,n.jsx)(k.A,{title:r,sx:{display:"block",overflow:"hidden",textOverflow:"ellipsis",direction:"left"===e?"rtl":"ltr",whiteSpace:"nowrap",...s||{}},children:t})}try{H.displayName||(H.displayName="EllipsisOverflow")}catch{}function U({color:e}){return(0,n.jsx)(k.A,{sx:{bg:e||"attention.emphasis",borderRadius:8,borderStyle:"solid",borderWidth:1,borderColor:"var(--borderColor-translucent)",width:10,height:10}})}try{U.displayName||(U.displayName="LanguageCircle")}catch{}function O({children:e,sx:t}){return(0,n.jsx)(k.A,{as:"ul",sx:{display:"flex",flexWrap:"wrap",alignItems:"center",mt:1,...t},children:a.Children.toArray(e).filter(e=>!!e).map((e,t)=>{let s=`footer-item-${(0,a.isValidElement)(e)?e.key:t}`,r=0===t?null:(0,n.jsx)(B,{});return(0,n.jsxs)(a.Fragment,{children:[r,e]},s)})})}function B(){return(0,n.jsx)(I.A,{"aria-hidden":!0,sx:{mx:2,color:"fg.subtle"},children:"\xb7"})}function G({children:e}){return(0,n.jsx)(k.A,{as:"li",sx:{listStyle:"none",display:"flex",alignItems:"center",fontSize:0,color:"fg.muted"},children:e})}try{O.displayName||(O.displayName="Footer")}catch{}try{B.displayName||(B.displayName="FooterSpacer")}catch{}try{G.displayName||(G.displayName="FooterItem")}catch{}var X=s(89323),V=s(87330),K=s(16823);function Q({children:e}){return(0,n.jsx)(k.A,{as:"h3",sx:{display:"flex",flexDirection:"column",fontSize:16,fontWeight:500},children:e})}function Y({mr:e,children:t}){return(0,n.jsx)(k.A,{sx:{display:"flex",mr:e??"10px"},children:t})}function Z({children:e,fontSize:t}){return(0,n.jsx)(k.A,{className:"search-title",sx:{textOverflow:"ellipsis",whiteSpace:"nowrap",display:"flex",alignItems:"center",fontSize:t??2,fontWeight:"semibold",overflow:"hidden"},children:e})}function J({children:e}){return(0,n.jsxs)(X.W,{children:[(0,n.jsx)(X.W.Anchor,{children:(0,n.jsx)(V.K,{unsafeDisableTooltip:!0,icon:N.KebabHorizontalIcon,"aria-label":"More",variant:"invisible"})}),(0,n.jsx)(X.W.Overlay,{children:(0,n.jsx)(K.l,{children:e})})]})}try{Q.displayName||(Q.displayName="Header")}catch{}try{Y.displayName||(Y.displayName="Avatar")}catch{}try{Z.displayName||(Z.displayName="Title")}catch{}try{J.displayName||(J.displayName="OverflowMenu")}catch{}function ee({children:e}){return(0,n.jsx)(k.A,{sx:{mt:1,fontSize:1},children:e})}try{ee.displayName||(ee.displayName="Content")}catch{}function et(e){return(0,n.jsx)(k.A,{sx:{display:"flex",alignItems:"center",fontSize:0,mb:1},children:(0,n.jsx)(es,{...e,sx:{color:"fg.muted"}})})}function es({owner:e,name:t,...s}){return(0,n.jsx)(C.A,{href:(0,l.SHX)({owner:e,repo:t}),"data-hovercard-url":(0,l.SHX)({owner:e,repo:t,action:"hovercard"}),...s,children:(0,n.jsx)("span",{children:`${e}/${t}`})})}try{et.displayName||(et.displayName="RepositoryContext")}catch{}try{es.displayName||(es.displayName="RepositoryLink")}catch{}function er({children:e}){return(0,n.jsx)(k.A,{sx:{display:"flex",flexDirection:"column",minWidth:0,borderRadius:2,borderColor:"border.default",borderWidth:1,borderStyle:"solid",p:3,px:3,width:"100%",maxWidth:"100%"},children:e})}try{er.displayName||(er.displayName="Result")}catch{}function ei({text:e,fontWeight:t,sx:s}){return(0,n.jsx)($.yx,{className:"search-match",html:e,sx:{fontWeight:t,".g-emoji":{fontSize:1},...s}})}try{ei.displayName||(ei.displayName="SearchMatchText")}catch{}function en({children:e}){let t=a.Children.toArray(e).filter(e=>!!e);return(0,n.jsx)(k.A,{sx:{mb:1,mt:2,display:"flex",flexWrap:"wrap",gap:2},children:t.map((e,t)=>{let s=(0,a.isValidElement)(e)?e.key:t;return(0,n.jsx)("div",{children:e},s)})})}try{en.displayName||(en.displayName="TokenList")}catch{}function ea({children:e,sx:t,...s}){return(0,n.jsx)(k.A,{...s,"data-testid":"results-list",sx:{display:"grid",gap:3,minWidth:0,gridTemplateColumns:"1fr",...t},children:e})}try{ea.displayName||(ea.displayName="List")}catch{}Object.assign(er,{Avatar:Y,Content:ee,Footer:O,FooterItem:G,Header:Q,List:ea,OverflowMenu:J,RepositoryContext:et,RepositoryLink:es,SearchMatchText:ei,Title:Z,TokenList:en});var eo=s(76457);function el(){let e=(0,eo.A)(),t=(0,a.useMemo)(()=>"night"===e.colorMode?"/images/modules/search/dark.png":"/images/modules/search/light.png",[e]),s=(0,a.useMemo)(()=>"night"===e.colorMode?"/images/modules/search/dark2x.png":"/images/modules/search/light2x.png",[e]);return(0,n.jsx)("img",{alt:"Mona looking through a globe hologram for code",src:t,srcSet:`${t} 1x, ${s} 2x`,width:"100%",style:{display:"block"}})}try{el.displayName||(el.displayName="MonaSearchImageNew")}catch{}var ec=s(22868);function ed({results:e,isRepoSearch:t}){let s;s=0,(0,a.useEffect)(()=>{let e=()=>{let e=window.getSelection()?.toString().length||0;e!==s&&(s=e,P=Date.now())};return document.addEventListener("selectionchange",e),()=>{document.removeEventListener("selectionchange",e)}});let[r,i]=(0,a.useState)(!1),[o,l,c]=(0,a.useMemo)(()=>{let t=0,s=!1,i=[];if(e.result_count<=20){t=e.results?.reduce((e,t)=>e+t.duplicate_locations.length,0);let r=e.results?.[0]?.repo_nwo||"";s=e.results?.some(e=>e.repo_nwo!==r||e.duplicate_locations.some(e=>e.repo_nwo!==r))}if(!r||0===t)return[e.results||[],t,s];if(e.results)for(let t of e.results)for(let e of(i.push(t),t.duplicate_locations))i.push(Object.assign({},t,e));return[i,t,s]},[e,r]);(0,a.useEffect)(()=>{i(e.result_count<=5)},[i,e]);let{sendSampledSearchResult:d}=M();return(0,a.useEffect)(()=>{if(e.results){let t=Math.floor(Math.random()*e.results.length),s=e.results[t];s&&d(e.query_id,t,s)}},[e,d]),e.logged_in?(0,n.jsxs)(er.List,{sx:{gap:[3,3,4,4]},children:[o?.map((s,r)=>n.jsx(eu,{item:s,position:r,queryId:e.query_id,shouldRenderRepo:!t},r)),!r&&l>0&&(0,n.jsx)(k.A,{sx:{borderColor:"border.default",borderWidth:1,px:"12px",py:"12px",fontSize:0,width:"100%",borderRadius:2,borderStyle:"solid",display:"flex",flexDirection:"row",alignItems:"center",mx:"auto"},children:(0,n.jsxs)(I.A,{sx:{color:"fg.muted"},children:[(0,n.jsx)(T.A,{icon:N.InfoIcon,size:16,sx:{mr:1}})," We've excluded ",l," identical files",c?" found across repositories":"","."," ",(0,n.jsx)(C.A,{inline:!0,as:"button",onClick:()=>i(!0),href:"#",children:"Show identical files"})]})})]}):(0,n.jsxs)(k.A,{sx:{display:"flex",flexDirection:"column",height:"100%",alignItems:"center",justifyContent:"center"},children:[(0,n.jsx)(k.A,{sx:{maxWidth:"400px"},children:(0,n.jsx)(el,{})}),(0,n.jsx)(I.A,{sx:{fontWeight:"bold",fontSize:4,mt:3},children:"Sign in to search code on GitHub"}),(0,n.jsx)(I.A,{sx:{color:"fg.muted",maxWidth:"400px",textAlign:"center",mt:2},children:"Before you can access our code search functionality please sign in or create a free account."}),(0,n.jsxs)(k.A,{sx:{display:"flex",mt:3},children:[(0,n.jsx)(R.Q,{as:"a",href:e.sign_in_path,children:"Sign in"}),e.sign_up_path&&(0,n.jsx)(R.Q,{as:"a",href:e.sign_up_path,sx:{ml:2},variant:"primary",children:"Sign up"})]})]})}function eu({item:e,queryId:t,position:s,shouldRenderRepo:r}){let[i,o]=(0,a.useState)(!0),c=e.path,d=e.repo_nwo.split("/")[0],u=e.repo_nwo.split("/")[1],p=`/${d}.png`,x=`/${e.repo_nwo}`,m=[222,337].includes(e.language_id)?"?plain=1":"",f=`${x}/blob/${e.commit_sha}/${(0,l.QU3)(c)}${m}`,g=e.ref_name.split("/").slice(2).join("/"),y=e.snippets.some(e=>e.score>=0)&&e.snippets.some(e=>e.score<0),j=e.snippets.length>8||y,[b,v]=(0,a.useState)(j),w=b?e.snippets.filter(e=>!y||e.score>=0).slice(0,8):e.snippets,_=w.reduce((e,t)=>e+t.match_count,0),A=e.match_count,S=j&&A-_>0&&!b,{sendSearchResultClick:I}=M(),R=(0,a.useCallback)(()=>{I(t,s,e)},[I,t,s,e]),z=e.line_number>1?`#L${e.line_number}`:"";if(w.length>0){let e=w[0],t=Math.floor((e.ending_line_number+e.starting_line_number)/2);z=t>1?`#L${t}`:""}let $=`${f}${z}`,E=(0,h.WB)();return(0,n.jsxs)(k.A,{sx:{minWidth:0},children:[(0,n.jsxs)(k.A,{className:"notranslate",sx:{bg:"canvas.subtle",pl:2,pr:3,height:40,listStyle:"none",borderTopLeftRadius:2,borderTopRightRadius:2,borderBottomRightRadius:i?0:2,borderBottomLeftRadius:i?0:2,borderColor:"border.default",borderWidth:1,borderStyle:"solid",display:"flex",alignItems:"center"},children:[(0,n.jsx)(eh,{isOpen:i,onClick:()=>o(!i),name:`${e.repo_nwo} \xb7 ${c}`}),(0,n.jsxs)(k.A,{sx:{flex:1,alignItems:"center",display:"flex",ml:1,minWidth:0},children:[(0,n.jsx)(er.Avatar,{mr:2,children:(0,n.jsx)(ec.r,{square:!0,sx:{ml:"1px"},size:16,src:p})}),(0,n.jsxs)(er.Title,{fontSize:1,children:[(0,n.jsxs)(H,{side:"left",title:`${e.repo_nwo} \xb7 ${c}`,children:[r&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(er.RepositoryLink,{owner:d,name:u,sx:{color:"fg.default",fontWeight:"bold",direction:"ltr",unicodeBidi:"bidi-override"}}),"\xa0\xb7\xa0"]}),(0,n.jsx)(C.A,{href:$,sx:{color:"fg.default",fontWeight:"normal",direction:"ltr",unicodeBidi:"bidi-override"},"data-testid":"link-to-search-result",children:c})]}),E&&(0,n.jsx)(k.A,{sx:{pl:2},children:`score=${e.debug_info?.score.toFixed(2)} rpos=${e.debug_info?.retrieval_position}`})]})]}),(0,n.jsx)(k.A,{sx:{flexShrink:0,pl:4,display:["none","none","flex"]},children:(0,n.jsxs)(er.Footer,{sx:{mt:0},children:[(0,n.jsx)(er.FooterItem,{children:(0,n.jsx)(ex,{ariaLabel:`${e.language_name} language`,text:e.language_name,children:(0,n.jsx)(k.A,{sx:{mr:2},children:(0,n.jsx)(U,{color:e.language_color})})})}),e.ref_name&&(0,n.jsx)(er.FooterItem,{children:(0,n.jsx)(ex,{ariaLabel:`${g} branch`,text:g,textUrl:`${x}/tree/${g}`,children:(0,n.jsx)(T.A,{icon:N.GitBranchIcon,size:16,sx:{mr:1}})})})]})})]}),i&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(k.A,{sx:{borderColor:"border.default",borderBottomWidth:j?0:1,borderBottomLeftRadius:j?0:2,borderBottomRightRadius:j?0:2,borderTopWidth:0,borderLeftWidth:1,borderRightWidth:1,borderStyle:"solid"},children:(0,n.jsx)(ep,{defaultUrl:$,url:f,snippets:w,clickAnalyticsCallback:R})}),S&&(0,n.jsxs)(L.A,{variant:"warning",sx:{fontSize:0,borderRadius:0,py:2,px:3},children:["This file contains ",A-_," more"," ",A-_==1?"match":"matches"," not shown."," ",1===A?(0,n.jsx)(C.A,{href:$,children:"See all matches in the full file"}):(0,n.jsxs)(C.A,{href:$,children:["See all ",A," matches in the full file"]})]}),j&&(0,n.jsxs)(C.A,{onClick:e=>{e.preventDefault(),v(!b)},href:"#",sx:{display:"flex",alignItems:"center",py:2,bg:"canvas.default",px:3,height:40,color:"fg.muted",borderColor:"border.default",borderWidth:1,borderTopWidth:S?0:1,borderStyle:"solid",borderBottomRightRadius:2,borderBottomLeftRadius:2,fontSize:0,":hover":{bg:"canvas.subtle"}},children:[(0,n.jsx)(T.A,{icon:b?N.UnfoldIcon:N.FoldIcon,size:16,sx:{mr:2}}),b?`Show ${A-_} more match${A-_==1?"":"es"}`:"Show less"]})]})]})}function eh({isOpen:e,onClick:t,name:s}){return(0,n.jsx)(k.A,{as:"button",onClick:t,"aria-label":e?`Collapse ${s}`:`Expand ${s}`,sx:{height:24,borderRadius:2,width:24,color:"fg.muted",display:"flex",justifyContent:"center",alignItems:"center",bg:"canvas.subtle",border:"none",":hover":{bg:"btn.hoverBg"}},children:e?(0,n.jsx)(N.ChevronDownIcon,{size:16}):(0,n.jsx)(N.ChevronRightIcon,{size:16})})}function ep({url:e,defaultUrl:t,snippets:s,clickAnalyticsCallback:r}){let i;let a=(0,z.Z)(),o=[],l=!1;for(let t of s)void 0!==i&&i!==t.starting_line_number&&(l=!l,o.push((0,n.jsx)("tr",{role:"row",children:(0,n.jsx)("td",{colSpan:2,role:"cell",children:(0,n.jsx)("div",{style:{marginTop:4,marginBottom:7}})})},`divider-${o.length}`))),i=t.starting_line_number+t.lines.length,o.push(t.lines.map((s,i)=>{let o=i+t.starting_line_number,c=`${e}#L${o}`,d=e=>{if(!window.getSelection()?.isCollapsed||100>D()){e.stopPropagation();return}r(),e.ctrlKey||e.metaKey?window.open(c,"_blank"):a(c),e.stopPropagation()};return(0,n.jsxs)("tr",{onClick:d,role:"row",children:[(0,n.jsx)("td",{className:"blob-num",role:"cell",children:(0,n.jsx)(C.A,{onClick:e=>e.stopPropagation(),href:c,children:(0,n.jsx)(I.A,{sx:{color:l?"fg.default":"ft.muted"},children:o})})}),(0,n.jsx)("td",{className:"blob-code blob-code-inner",role:"cell",children:"SNIPPET_FORMAT_HTML"===t.format?(0,n.jsx)($.yx,{as:"span",html:t.lines[i],sx:{cursor:"text",wordWrap:"break-word",color:"fg.default",overflowWrap:"anywhere",mark:{backgroundColor:"var(--highlight-neutral-bgColor, var(--color-search-keyword-hl))",color:"var(--fgColor-default, var(--color-fg-default))"}}}):(0,n.jsx)(I.A,{as:"span",sx:{cursor:"text",wordWrap:"break-word",color:"fg.default",overflowWrap:"anywhere",mark:{backgroundColor:"var(--highlight-neutral-bgColor, var(--color-search-keyword-hl))",color:"var(--fgColor-default, var(--color-fg-default))"}},children:s})})]},c)}));return(0,n.jsx)(k.A,{className:"code-list notranslate",sx:{whiteSpace:"pre-wrap",fontFamily:"monospace",minWidth:0,cursor:"pointer",py:2},onClick:e=>{!(100>D())&&window.getSelection()?.isCollapsed&&(r(),e.ctrlKey||e.metaKey?window.open(t,"_blank"):a(t))},children:(0,n.jsx)("table",{role:"table",children:(0,n.jsx)("tbody",{role:"rowgroup",children:o})})})}function ex({ariaLabel:e,text:t,textUrl:s,children:r}){let i=(0,n.jsxs)(k.A,{sx:{display:"flex",alignItems:"center"},children:[r,(0,n.jsx)("span",{"aria-label":e,children:t})]});return s?(0,n.jsx)(C.A,{href:s,sx:{color:"fg.muted"},children:i}):i}try{ed.displayName||(ed.displayName="Code")}catch{}try{eu.displayName||(eu.displayName="CodeResult")}catch{}try{eh.displayName||(eh.displayName="OpenCloseButton")}catch{}try{ep.displayName||(ep.displayName="MatchSnippet")}catch{}try{ex.displayName||(ex.displayName="IconWithText")}catch{}var em=s(86137),ef=s(94977),eg=s(99297),ey=s(13894),ej=s(1946);function eb({commitAuthors:e,committerAttribution:t,repositoryUrl:s,committer:r,authorTooltip:i,commitId:o}){let l=r.login?`${s}/commits?author=${r.login}`:void 0;return(0,n.jsxs)(k.A,{sx:{flexWrap:"wrap",display:"flex",alignItems:"center"},children:[1!==e.length&&(2!==e.length||t)?(0,n.jsx)(ef.A,{text:i,direction:"e",children:(0,n.jsxs)(I.A,{sx:{fontWeight:"bold",pr:1},children:[e.length," people"]})}):(()=>{let t=[];for(let r of e){let i=r.login?`${s}/commits?author=${r.login}`:void 0,l=r.login??r.displayName,c=e.findIndex(e=>e===r)===e.length-1;t.push((0,n.jsxs)(a.Fragment,{children:[(0,n.jsx)(ec.r,{size:16,src:r.developmentAvatar||r.avatarUrl,sx:{overflow:"visible"}}),"\xa0",i?(0,n.jsx)(C.A,{href:`/${i}`,children:(0,n.jsxs)(I.A,{sx:{color:"fg.muted",fontWeight:"semibold"},children:[l,"\xa0"]})}):(0,n.jsxs)(I.A,{sx:{color:"fg.muted",fontWeight:"semibold"},children:[l,"\xa0"]}),!c&&(0,n.jsx)(n.Fragment,{children:"and\xa0"})]},`${o}-${l}`))}return t})(),t?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("span",{children:"authored and\xa0"}),(0,n.jsx)(ec.r,{size:16,src:r.development_avatar||r.avatar_url,sx:{mr:1}}),l?(0,n.jsx)(C.A,{href:`/${l}`,children:(0,n.jsxs)(I.A,{sx:{color:"fg.muted",fontWeight:"semibold"},children:[r.login,"\xa0"]})}):(0,n.jsxs)(I.A,{sx:{color:"fg.muted",fontWeight:"semibold"},children:[r.display_name,"\xa0"]}),(0,n.jsx)("span",{children:"committed\xa0"})]}):(0,n.jsx)("span",{children:"committed\xa0"})]})}try{eb.displayName||(eb.displayName="CommitAuthors")}catch{}var ev=s(30631);function ew(e){return"open"===e}function e_(e,t,s,r,i){return t?"draft"===r?"fg.muted":s?"done.fg":ew(e)?"open.fg":"closed.fg":ew(e)?"success.fg":"not_planned"===i||"duplicate"===i?"fg.muted":"done.fg"}function ek(e,t,s){return t?N.GitPullRequestIcon:ew(e)?N.IssueOpenedIcon:"not_planned"===s||"duplicate"===s?N.SkipIcon:N.CheckCircleIcon}function eA({issueRefs:e}){if(!e||0===e.length)return(0,n.jsx)(n.Fragment,{});let[t,s]=function(e){let t=[],s=[];for(let r of e)r.is_pull_request?t.push(r):s.push(r);return[t,s]}(e);return(0,n.jsxs)(X.W,{children:[(0,n.jsx)(X.W.Anchor,{children:(0,n.jsx)(V.K,{unsafeDisableTooltip:!0,icon:N.KebabHorizontalIcon,variant:"invisible","aria-label":"Open linked issues"})}),(0,n.jsx)(X.W.Overlay,{sx:{minWidth:"350px"},children:(0,n.jsxs)(n.Fragment,{children:[s.length>0&&(0,n.jsx)(K.l,{children:(0,n.jsxs)(K.l.Group,{children:[(0,n.jsx)(K.l.GroupHeading,{children:"Linked issues"}),s.map((e,t)=>(0,n.jsx)(eC,{issue:e},t))]})}),s.length>0&&t.length>0&&(0,n.jsx)(K.l.Divider,{}),t.length>0&&(0,n.jsx)(K.l,{sx:{pt:0},children:(0,n.jsxs)(K.l.Group,{children:[(0,n.jsx)(K.l.GroupHeading,{children:"Linked pull requests"}),t.map((e,t)=>(0,n.jsx)(eC,{issue:e},t))]})})]})})]})}function eC({issue:e}){let t=e_(e.state,e.is_pull_request,e.merged,e.reviewable_state,e.state_reason),s=ek(e.state,e.is_pull_request,e.state_reason);return(0,n.jsxs)(K.l.Item,{children:[(0,n.jsx)(K.l.LeadingVisual,{children:(0,n.jsx)(T.A,{icon:s,size:16,sx:{mr:2,color:t}})}),(0,n.jsx)(ev.A,{title:e.title,sx:{maxWidth:"250px"},children:(0,n.jsx)(C.A,{href:e.permalink,muted:!0,children:e.title})}),(0,n.jsxs)(K.l.TrailingVisual,{children:["#",e.id]})]})}try{eA.displayName||(eA.displayName="IssueReferences")}catch{}try{eC.displayName||(eC.displayName="IssueReference")}catch{}function eS({results:e}){return(0,n.jsx)(er.List,{children:e.results.map((e,t)=>(0,n.jsx)(eN,{item:e},t))})}function eN({item:e}){let t=e.repository.repository.name,s=e.repository.repository.owner_login,r=`${s}/${t}`,i=e.sha.slice(0,7),o=new Date(e.author_date),l=e.verification_status,c=e.status_check_rollup?.state,d=e.signature_verification_reason?{signatureVerificationReason:e.signature_verification_reason.toUpperCase(),hasSignature:e.has_signature,isViewer:e.is_viewer,keyExpired:e.key_expired,keyId:e.key_id,keyRevoked:e.key_revoked,signedByGitHub:e.signed_by_github,signerAvatarUrl:e.signer_avatar_url,signerLogin:e.signer_login,signatureCertificateSubject:e.signature_certificate_subject,signatureCertificateIssuer:e.signature_certificate_issuer,signatureType:e.signature_type,helpUrl:e.help_url}:void 0,u={checksStatusSummary:e.checks_status_summary,checksHeaderState:e.checks_header_state,checkRuns:e.check_runs.map(eI)},h=e.authors.map(e=>({login:e.login,avatarUrl:e.avatar_url,displayName:e.display_name,developmentAvatar:e.development_avatar})),[p,x]=a.useState(!1),m=e=>{(0,eg.D)(e),x(!0),setTimeout(()=>{x(!1)},1500)};return(0,n.jsxs)(er,{children:[(0,n.jsxs)(er.Header,{children:[(0,n.jsx)(er.RepositoryContext,{name:t,owner:s}),(0,n.jsx)("span",{className:"sr-only",children:":\xa0"}),(0,n.jsxs)(er.Title,{children:[c&&(0,n.jsx)(ej.B6,{variant:"circled",statusRollup:c,combinedStatus:u}),(0,n.jsx)(er.SearchMatchText,{text:e.hl_subject}),(0,n.jsx)(eA,{issueRefs:e.issue_references})]})]}),e.hl_body&&(0,n.jsx)(er.Content,{children:(0,n.jsx)(er.SearchMatchText,{text:e.hl_body})}),(0,n.jsxs)(er.Footer,{children:[(0,n.jsxs)(er.FooterItem,{children:[(0,n.jsx)(eb,{commitAuthors:h,committerAttribution:e.committer_attribution,repositoryUrl:r,committer:e.committer,authorTooltip:e.commit_author_tooltip,commitId:e.id}),(0,n.jsx)(em.o,{timestamp:o})]}),(0,n.jsxs)(er.FooterItem,{children:[(0,n.jsx)(k.A,{sx:{pr:[2,2]},children:(0,n.jsx)(R.Q,{sx:{p:0,color:"fg.subtle",fontSize:"12px",fontWeight:"normal"},onClick:()=>m(e.sha),size:"small",variant:"invisible",children:(0,n.jsx)(ef.A,{direction:"s","aria-label":"Copy full commit hash",children:p?"Copied!":i})})}),d&&(0,n.jsx)(ey.h,{commitOid:e.sha,hasSignature:e.has_signature,verificationStatus:l,signature:d})]})]})]})}function eI(e){return{name:e.name,state:e.state,description:e.description,targetUrl:e.target_url,icon:e.icon,avatarUrl:e.avatar_url,avatarDescription:e.avatar_description,avatarLogo:e.avatar_logo,additionalContext:e.additional_context,pending:e.pending,avatarBackgroundColor:e.avatar_background_color}}try{eS.displayName||(eS.displayName="Commits")}catch{}try{eN.displayName||(eN.displayName="CommitResult")}catch{}var eR=s(47139);function eL({results:e}){return(0,n.jsx)(er.List,{children:e.results.map((e,t)=>(0,n.jsx)(eT,{item:e,isPullRequest:!1},t))})}function eT({item:e,isPullRequest:t}){let s=e.repo.repository.name,r=e.repo.repository.owner_login,i=`/${r}/${s}`,a=e.number,o=`${i}/${t?"pull":"issues"}/${a}`,l=e.hl_title,c=e.hl_text,d=e.author_name,u=e.development_avatar||e.author_avatar_url,h=!!e.issue.issue.pull_request_id,p=new Date(e.created),x=e.num_comments,m=e_(e.state,h,e.merged,e.reviewable_state,e.state_reason);return(0,n.jsxs)(er,{children:[(0,n.jsxs)(er.Header,{children:[(0,n.jsx)(er.RepositoryContext,{name:s,owner:r}),(0,n.jsxs)(er.Title,{children:[(0,n.jsx)(T.A,{icon:ek(e.state,h,e.state_reason),size:16,sx:{mr:2,color:m}}),(0,n.jsx)(C.A,{href:o,children:(0,n.jsx)(er.SearchMatchText,{text:l})})]})]}),c&&(0,n.jsx)(er.Content,{children:(0,n.jsx)(er.SearchMatchText,{text:c})}),e.labels.length>0&&(0,n.jsx)(er.TokenList,{children:e.labels.map((e,t)=>(0,n.jsx)(eR.A,{children:(0,n.jsx)(er.SearchMatchText,{text:e})},t))}),(0,n.jsxs)(er.Footer,{children:[(0,n.jsxs)(er.FooterItem,{children:[(0,n.jsx)(ec.r,{square:!0,size:16,src:u,sx:{mr:2}}),d]}),x>0&&(0,n.jsxs)(er.FooterItem,{children:[(0,n.jsx)(T.A,{icon:N.CommentDiscussionIcon,size:16,sx:{mr:1}}),x]}),(0,n.jsxs)(er.FooterItem,{children:["Opened\xa0 ",(0,n.jsx)(em.o,{timestamp:p})]}),(0,n.jsx)(er.FooterItem,{children:(0,n.jsxs)(C.A,{href:o,target:"_blank",sx:{color:"fg.muted"},children:["#",a]})}),"duplicate"===e.state_reason&&(0,n.jsx)(er.FooterItem,{children:"Duplicate"})]})]})}try{eL.displayName||(eL.displayName="Issues")}catch{}try{eT.displayName||(eT.displayName="IssueResult")}catch{}var ez=s(47249);function e$(e){throw Error(`Unexpected object: ${e}`)}function eE({value:e,mode:t=0,ariaLabel:s,sx:r}){return Number.isFinite(e)?(0,n.jsxs)(I.A,{"aria-label":s,sx:r,children:[eq(e),2===t?"+ ":null]}):null}function eq(e,t){return void 0!==t&&e>=t?`${eq(t)}+`:e<0?`-${eq(Math.abs(e))}`:e>=1e9?`${eW(e/1e9)}B`:e>=1e8?`${Math.round(e/1e6)}M`:e>=1e6?`${eW(e/1e6)}M`:e>=1e5?`${Math.round(e/1e3)}k`:e>=1e3?`${eW(e/1e3)}k`:`${Math.round(e)}`}function eW(e){return Math.round(10*e)/10}!function(e){e[e.Exact=0]="Exact",e[e.Approximate=1]="Approximate",e[e.LowerBound=2]="LowerBound"}(i||(i={}));try{eE.displayName||(eE.displayName="Count")}catch{}function eF({children:e,href:t}){return(0,n.jsx)(C.A,{href:t,sx:{fontSize:0,display:"inline-block",px:"10px",py:"0px",fontWeight:"semibold",borderRadius:"2em",lineHeight:"22px",color:"fg.accent",bg:"accent.subtle",whiteSpace:"nowrap",":hover":{bg:"accent.emphasis",color:"fg.onEmphasis",textDecoration:"none"}},children:e})}try{eF.displayName||(eF.displayName="TopicLabel")}catch{}function eM({results:e}){return(0,n.jsx)(er.List,{children:e.results.map(e=>(0,n.jsx)(eP,{item:e},`marketplace-result-${e.id}`))})}function eP({item:e}){return(0,n.jsxs)(er,{children:[(0,n.jsx)(er.Header,{children:(0,n.jsxs)(k.A,{sx:{display:"flex",alignItems:"center"},children:[(0,n.jsx)(er.Avatar,{children:(0,n.jsx)(eD,{item:e})}),(0,n.jsx)(er.Title,{children:(0,n.jsx)(C.A,{href:e.resource_path,children:e.name})}),"marketplace_listing"===e.type&&"verified"===e.state&&(0,n.jsx)("div",{children:(0,n.jsx)(ef.A,{"aria-label":"Verified by GitHub",children:(0,n.jsx)(T.A,{icon:N.VerifiedIcon,size:16,sx:{marginLeft:1,color:"success.fg"}})})})]})}),(0,n.jsx)(er.Content,{children:(0,n.jsx)("span",{children:"marketplace_listing"===e.type?e.short_description:e.description})}),(e.primary_category||e.secondary_category)&&(0,n.jsxs)(er.TokenList,{children:[e.primary_category&&(0,n.jsx)(eF,{href:(0,l.zUz)({categoryName:e.primary_category}),children:e.primary_category}),e.secondary_category&&(0,n.jsx)(eF,{href:(0,l.zUz)({categoryName:e.secondary_category}),children:e.secondary_category})]}),(0,n.jsxs)(er.Footer,{children:[(0,n.jsxs)(er.FooterItem,{children:["By\xa0",(0,n.jsx)(C.A,{inline:!0,href:(0,l.p3r)({owner:e.owner_login}),children:e.owner_login})]}),(0,n.jsx)(er.FooterItem,{children:"marketplace_listing"===e.type?"Application":"repository_action"===e.type?"GitHub Action":"GitHub Stack"}),"marketplace_listing"===e.type&&(0,n.jsx)(er.FooterItem,{children:(0,n.jsxs)(k.A,{sx:{display:"flex",alignItems:"center"},children:[(0,n.jsx)(T.A,{icon:N.DownloadIcon,size:16,sx:{mr:1}}),(0,n.jsx)(eE,{ariaLabel:`${e.installation_count} downloads`,value:e.installation_count})]})})]})]})}function eD({item:e}){var t,s,r;switch(e.type){case"marketplace_listing":return(0,n.jsx)(eH,{color:(t=e.marketplace_listing.listing.bgcolor,`#${t}`),children:(0,n.jsx)(ec.r,{size:12,src:e.development_logo||e.listing_logo_url})});case"repository_action":return e.icon_svg?(0,n.jsx)(eH,{color:(s=e.repository_action.repository_action.color,`#${s}`),children:(0,n.jsx)(eU,{size:12,svg:e.icon_svg})}):null;case"repository_stack":return e.icon_svg?(0,n.jsx)(eH,{color:(r=e.repository_stack.repository_stack.color,`#${r}`),children:(0,n.jsx)(eU,{size:12,svg:e.icon_svg})}):null;default:e$(e)}}function eH({color:e,children:t}){return(0,n.jsx)(ez.A,{size:20,sx:{backgroundColor:e,border:"1px solid",borderColor:"border.subtle",boxShadow:"none",color:"white"},children:t})}function eU({size:e,svg:t}){return(0,n.jsx)($.oG,{html:t,sx:{display:"flex",justifyContent:"center","> *":{height:e,width:e}}})}try{eM.displayName||(eM.displayName="MarketplaceListings")}catch{}try{eP.displayName||(eP.displayName="MarketplaceResultItem")}catch{}try{eD.displayName||(eD.displayName="MarketplaceResultAvatar")}catch{}try{eH.displayName||(eH.displayName="MarketplaceCircleBadge")}catch{}try{eU.displayName||(eU.displayName="MarketplaceSvgAvatar")}catch{}function eO(e,t){switch(e){case"docker":return(0,n.jsx)(eB,{});case"maven":return(0,n.jsx)(eG,{idSuffix:t});case"rubygems":return(0,n.jsx)(eQ,{});case"nuget":return(0,n.jsx)(eV,{});case"npm":return(0,n.jsx)(eX,{});case"actions":return(0,n.jsx)(eY,{});case"container":return(0,n.jsx)(eZ,{});default:return(0,n.jsx)(eK,{})}}function eB(){return(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"none",viewBox:"0 0 16 16",children:[(0,n.jsx)("rect",{width:"16",height:"16",fill:"#2497ED",rx:"4"}),(0,n.jsx)("path",{fill:"#fff",d:"M14.627 6.401c-.034-.027-.35-.265-1.018-.265-.176 0-.352.015-.525.045-.13-.886-.861-1.317-.894-1.337l-.18-.103-.117.17c-.148.229-.256.48-.32.745-.119.506-.046.98.21 1.387-.31.172-.807.215-.907.218H2.64a.391.391 0 00-.39.39c-.01.72.112 1.438.36 2.115.284.744.706 1.292 1.255 1.627.615.377 1.615.592 2.747.592a8.217 8.217 0 001.526-.138 6.398 6.398 0 001.991-.723 5.47 5.47 0 001.359-1.113c.652-.738 1.041-1.56 1.33-2.292h.115c.714 0 1.154-.285 1.395-.525.162-.153.287-.339.368-.545l.053-.15-.123-.098z"}),(0,n.jsx)("path",{fill:"#fff",d:"M3.405 7.004H4.52a.096.096 0 00.097-.096v-.982a.095.095 0 00-.06-.09.098.098 0 00-.037-.007H3.405a.096.096 0 00-.097.096v.984c0 .052.044.095.097.095zm1.536 0h1.115a.096.096 0 00.097-.096v-.982a.095.095 0 00-.06-.09.097.097 0 00-.037-.007H4.941a.098.098 0 00-.09.06.096.096 0 00-.008.037v.983c.001.052.045.095.098.095zm1.56 0h1.114a.096.096 0 00.097-.096v-.982a.095.095 0 00-.06-.09.098.098 0 00-.036-.007H6.5c-.026 0-.05.01-.07.028a.096.096 0 00-.028.068v.984c0 .052.044.095.098.095zm1.54 0h1.114a.096.096 0 00.098-.096v-.982a.096.096 0 00-.06-.09.098.098 0 00-.038-.007H8.041a.096.096 0 00-.097.096v.984c0 .052.043.095.097.095zm-3.1-1.413h1.115a.097.097 0 00.097-.097V4.51a.098.098 0 00-.097-.096H4.94a.096.096 0 00-.098.096v.983c.001.053.045.097.098.097zm1.56 0h1.114a.097.097 0 00.097-.097V4.51c0-.025-.01-.05-.028-.068a.098.098 0 00-.069-.028H6.501c-.026 0-.05.01-.07.028a.096.096 0 00-.028.068v.983c0 .053.044.097.098.097zm1.54 0h1.114a.098.098 0 00.098-.097V4.51a.098.098 0 00-.098-.096H8.041a.096.096 0 00-.097.096v.983c0 .053.043.097.097.097zm0-1.415h1.114a.096.096 0 00.098-.096v-.984A.098.098 0 009.155 3H8.041a.096.096 0 00-.097.096v.983c0 .054.043.097.097.097zm1.555 2.828h1.114c.026 0 .05-.01.07-.028a.096.096 0 00.028-.068v-.982a.097.097 0 00-.098-.097H9.596a.096.096 0 00-.097.096v.984a.095.095 0 00.06.088.097.097 0 00.037.007"})]})}function eG({idSuffix:e}){return e=e??"",(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"none",viewBox:"0 0 16 16",children:[(0,n.jsxs)("g",{clipPath:`url(#clip0${e})`,children:[(0,n.jsx)("path",{fill:`url(#paint0_linear${e})`,d:"M2.896.87c-.101.238-.18.755-.217 1.447l.778.377a9.772 9.772 0 01.056-1.385l.006-.05c-.001.017-.005.033-.006.05-.016.14-.049.577-.004 1.366.322-.262.786-.707 1.152-1.088-.387-.79-.869-.929-.869-.929S3.103.38 2.896.87z"}),(0,n.jsx)("path",{fill:"#BE202E",d:"M5.592 6.844z"}),(0,n.jsx)("path",{fill:"#BE202E",d:"M5.592 6.844z",opacity:"0.35"}),(0,n.jsx)("path",{fill:"#BE202E",d:"M5.307 6.224c-.002.002-.002.002 0 0 .007-.005.011-.012.018-.016.024-.025.049-.05.07-.075-.027.03-.058.06-.088.09z"}),(0,n.jsx)("path",{fill:"#BE202E",d:"M5.307 6.224c-.002.002-.002.002 0 0 .007-.005.011-.012.018-.016.024-.025.049-.05.07-.075-.027.03-.058.06-.088.09z",opacity:"0.35"}),(0,n.jsx)("path",{fill:`url(#paint1_linear${e})`,d:"M3.66 4.99a38.6 38.6 0 01-.098-.764 17.466 17.466 0 01-.108-1.533l-.777-.374c-.001.047-.005.096-.007.146-.008.186-.014.384-.015.592-.002.234 0 .478.004.734a26.533 26.533 0 00.072 1.38l.002.025 1.039.526c-.036-.246-.075-.49-.111-.732z"}),(0,n.jsx)("path",{fill:`url(#paint2_linear${e})`,d:"M5.195 11.132c.057.194.116.394.179.596.002.002.001.006.003.008.008.03.015.057.026.086.042.136.082.258.167.536.168-.035.378.04.597.142a.852.852 0 00-.567-.308c.636-.424 1.054-.97.995-1.622a2.239 2.239 0 00-.025-.178c-.01.25-.114.43-.418.628l-.002.001.002-.001c.287-.506.367-.85.333-1.294a4.238 4.238 0 00-.041-.337c-.092.661-.447 1.089-.966 1.342l-.315.29c.011.038.02.073.032.11z"}),(0,n.jsx)("path",{fill:`url(#paint3_linear${e})`,d:"M4.79 10.245l-.198-.749a48.91 48.91 0 01-.361-1.479c-.06-.254-.115-.509-.169-.765-.054-.252-.103-.507-.153-.759a32.065 32.065 0 01-.133-.745c-.003-.007-.004-.017-.006-.025l-1.033-.527c.001.016.004.033.004.05.02.234.04.471.068.71a21.4 21.4 0 00.192 1.35l.022.125a14.896 14.896 0 00.483 1.908c.039.116.082.232.123.346.098.269.208.53.326.784l1.043.529c-.055-.192-.107-.387-.163-.585l-.045-.168z"}),(0,n.jsx)("path",{fill:`url(#paint4_linear${e})`,d:"M3.97 10.503a8.1 8.1 0 00.48.887c.007.008.012.02.019.03-.289-.117-.8-.063-.796-.062.527.183.99.407 1.282.746-.116.128-.333.225-.606.305.377.04.588-.026.665-.06-.197.165-.308.466-.405.79.222-.363.443-.604.657-.696.313 1.04.69 2.165 1.109 3.347a.314.314 0 00.049-.295 71.552 71.552 0 01-1.142-3.526c-.016-.053-.03-.108-.048-.164l-.014-.046c-.058-.2-.118-.405-.178-.617l-.04-.144L5 10.996l-1.043-.529a.195.195 0 00.013.036z"}),(0,n.jsx)("path",{fill:`url(#paint5_linear${e})`,d:"M3.893 5.744l.019.101c.02.104.038.208.06.314.021.115.045.232.068.353l.036.183.12.57c.052.24.11.488.17.745.057.243.118.496.183.754.062.246.126.498.196.758.06.23.126.467.193.71.002.012.008.024.01.036a92.063 92.063 0 00.215.753l.315-.29c-.008.002-.014.007-.025.011.374-.353.694-1.06.768-1.697.033-.294.03-.606-.01-.947a6.5 6.5 0 00-.152-.81c-.062-.25-.138-.514-.232-.793-.058.118-.14.233-.24.347l-.055.06c-.018.02-.038.037-.058.058.276-.428.308-.888.227-1.366a1.73 1.73 0 01-.312.54c-.02.026-.045.05-.07.075-.006.004-.011.011-.02.018a1.918 1.918 0 00.226-.537 1.9 1.9 0 00.026-.143c.003-.032.008-.061.01-.093a1.34 1.34 0 000-.225c-.003-.025-.003-.048-.007-.071-.006-.035-.01-.068-.017-.1a4.719 4.719 0 00-.122-.532c-.007-.018-.01-.036-.017-.054-.017-.05-.03-.095-.045-.134a1.34 1.34 0 00-.058-.131.29.29 0 01-.022.062 2.043 2.043 0 01-.355.51l.29-.266-.29.265c-.002.002-.004.004-.004.007-.014.013-.03.028-.043.045 0-.004.005-.007.005-.01l-.992.908c.009.007.01.012.009.016z"}),(0,n.jsx)("path",{fill:`url(#paint6_linear${e})`,d:"M3.51 2.675c.011.218.03.463.055.733.002.015.001.029.005.042a28.913 28.913 0 00.198 1.533c.035.237.079.484.124.746l.992-.909c.206-.374.252-.607.249-.897a7.805 7.805 0 00-.101-1.027 6.791 6.791 0 00-.148-.702 3.721 3.721 0 00-.114-.355 4.047 4.047 0 00-.11-.248c-.365.377-.829.822-1.15 1.084z"}),(0,n.jsx)("path",{fill:"#BE202E",d:"M5.54 6.902c-.018.02-.038.038-.059.06.019-.02.037-.04.059-.06z"}),(0,n.jsx)("path",{fill:"#BE202E",d:"M5.54 6.902c-.018.02-.038.038-.059.06.019-.02.037-.04.059-.06z",opacity:"0.35"}),(0,n.jsx)("path",{fill:`url(#paint7_linear${e})`,d:"M5.54 6.902c-.018.02-.038.038-.059.06.019-.02.037-.04.059-.06z"}),(0,n.jsx)("path",{fill:"#BE202E",d:"M5.305 6.226c.007-.005.011-.012.02-.018-.007.004-.011.011-.02.018z"}),(0,n.jsx)("path",{fill:"#BE202E",d:"M5.305 6.226c.007-.005.011-.012.02-.018-.007.004-.011.011-.02.018z",opacity:"0.35"}),(0,n.jsx)("path",{fill:`url(#paint8_linear${e})`,d:"M5.305 6.226c.007-.005.011-.012.02-.018-.007.004-.011.011-.02.018z"}),(0,n.jsx)("path",{fill:`url(#paint9_linear${e})`,d:"M13.06 1.065c-.27.112-.745.465-1.324.993l.327.921c.384-.409.769-.77 1.145-1.07l.045-.036c-.014.013-.03.023-.045.036-.123.1-.497.425-1.088 1.097.468.044 1.194.054 1.792.04.317-.945.039-1.44.039-1.44s-.334-.77-.89-.54z"}),(0,n.jsx)("path",{fill:"#BE202E",d:"M10.484 8.017c-.06.003-.121.003-.181.003.03.002.063 0 .093-.001.03.001.06 0 .088-.002z"}),(0,n.jsx)("path",{fill:"#BE202E",d:"M10.484 8.017c-.06.003-.121.003-.181.003.03.002.063 0 .093-.001.03.001.06 0 .088-.002z",opacity:"0.35"}),(0,n.jsx)("path",{fill:"#BE202E",d:"M10.748 7.29c-.003 0-.003 0 0 0 .009.002.018 0 .027.002.04 0 .079 0 .115-.004-.045.002-.093.001-.142.003z"}),(0,n.jsx)("path",{fill:"#BE202E",d:"M10.748 7.29c-.003 0-.003 0 0 0 .009.002.018 0 .027.002.04 0 .079 0 .115-.004-.045.002-.093.001-.142.003z",opacity:"0.35"}),(0,n.jsx)("path",{fill:`url(#paint10_linear${e})`,d:"M10.403 4.99c.177-.237.352-.468.527-.693.183-.234.367-.457.553-.675a17.928 17.928 0 01.578-.646l-.328-.918-.122.112c-.154.143-.316.298-.482.464-.187.187-.38.385-.58.595-.182.193-.37.398-.557.61-.16.182-.32.367-.481.557l-.018.022.418 1.249.492-.677z"}),(0,n.jsx)("path",{fill:`url(#paint11_linear${e})`,d:"M6.758 11.153c-.108.201-.22.409-.33.622 0 .003-.003.005-.004.008-.017.031-.033.06-.046.09-.076.143-.14.273-.292.565.163.105.272.333.367.588a.963.963 0 00-.211-.698c.849.164 1.62.056 2.09-.515.041-.052.082-.106.12-.164-.206.193-.433.257-.834.174h-.003.003c.633-.18.97-.393 1.295-.777.077-.091.155-.192.235-.304-.6.459-1.225.521-1.844.313l-.484-.017c-.02.04-.04.075-.062.115z"}),(0,n.jsx)("path",{fill:`url(#paint12_linear${e})`,d:"M7.137 10.118c.142-.251.288-.505.435-.761a55.32 55.32 0 01.884-1.478c.155-.252.312-.5.473-.75.157-.245.32-.49.479-.733a36.279 36.279 0 01.484-.705c.004-.008.012-.016.016-.025l-.413-1.245c-.01.014-.022.03-.036.043-.17.205-.342.412-.51.627a24.167 24.167 0 00-.918 1.24l-.08.117a16.827 16.827 0 00-1.128 1.92 11.757 11.757 0 00-.536 1.266l.42 1.254c.107-.198.22-.396.332-.6l.098-.17z"}),(0,n.jsx)("path",{fill:`url(#paint13_linear${e})`,d:"M6.271 9.673a9.162 9.162 0 00-.317 1.096l-.009.038c-.14-.323-.594-.686-.592-.682.28.566.474 1.115.44 1.62-.196.01-.448-.084-.73-.237.271.333.493.447.582.481-.29-.024-.618.13-.953.314.467-.116.836-.135 1.081-.038a85.804 85.804 0 00-1.766 3.575.355.355 0 00.274-.199 80.9 80.9 0 011.882-3.745c.03-.056.062-.112.091-.17l.025-.048c.112-.208.228-.42.348-.638.028-.05.053-.098.082-.148v-.003l-.42-1.255a.22.22 0 00-.018.04z"}),(0,n.jsx)("path",{fill:`url(#paint14_linear${e})`,d:"M9.99 5.781l-.065.096c-.066.1-.135.198-.2.3l-.226.339c-.039.057-.077.115-.116.176-.117.179-.235.364-.357.555a61.946 61.946 0 00-.907 1.486c-.145.248-.294.5-.444.766-.134.234-.27.477-.409.725l-.02.037c-.136.245-.276.5-.417.76-.004.006-.008.011-.009.017l.484.017c-.008-.005-.017-.006-.028-.01.581.012 1.4-.303 1.966-.758.26-.21.506-.463.744-.77.179-.227.35-.483.521-.772.149-.25.298-.524.444-.823a1.782 1.782 0 01-.56.093c-.03.002-.06 0-.094.001.562-.126.954-.47 1.268-.92a1.957 1.957 0 01-.68.188c-.037.003-.076.004-.115.004l-.03-.001c.194-.05.364-.113.515-.197.032-.016.062-.036.092-.056.047-.029.091-.062.135-.095l.083-.066a1.52 1.52 0 00.177-.182c.019-.022.036-.04.052-.062.023-.033.045-.063.065-.094a5.321 5.321 0 00.325-.526c.009-.02.02-.036.03-.056.025-.054.05-.101.069-.144.027-.062.047-.114.058-.151a.328.328 0 01-.068.032 2.31 2.31 0 01-.69.128l.445.017-.445-.017c-.003 0-.005 0-.009.002-.021 0-.045 0-.07.002.004-.003.01-.002.013-.004l-1.52-.057c0 .012-.003.017-.006.02z"}),(0,n.jsx)("path",{fill:`url(#paint15_linear${e})`,d:"M12.12 3.006c-.163.184-.342.397-.537.634-.011.013-.022.024-.03.038a32.48 32.48 0 00-1.06 1.391c-.158.219-.32.452-.491.699l1.52.056c.464-.137.686-.289.914-.524a8.814 8.814 0 00.734-.907c.168-.236.32-.47.439-.682.077-.137.141-.264.19-.377.043-.1.078-.194.11-.286-.595.012-1.321.002-1.79-.042z"}),(0,n.jsx)("path",{fill:"#BE202E",d:"M10.396 8.022l-.094.001a.856.856 0 01.094-.001z"}),(0,n.jsx)("path",{fill:"#BE202E",d:"M10.396 8.022l-.094.001a.856.856 0 01.094-.001z",opacity:"0.35"}),(0,n.jsx)("path",{fill:`url(#paint16_linear${e})`,d:"M10.396 8.022l-.094.001a.856.856 0 01.094-.001z"}),(0,n.jsx)("path",{fill:"#BE202E",d:"M10.745 7.29c.009.002.018 0 .03.002-.009-.001-.018 0-.03-.002z"}),(0,n.jsx)("path",{fill:"#BE202E",d:"M10.745 7.29c.009.002.018 0 .03.002-.009-.001-.018 0-.03-.002z",opacity:"0.35"}),(0,n.jsx)("path",{fill:`url(#paint17_linear${e})`,d:"M10.745 7.29c.009.002.018 0 .03.002-.009-.001-.018 0-.03-.002z"})]}),(0,n.jsxs)("defs",{children:[(0,n.jsxs)("linearGradient",{id:`paint0_linear${e}`,x1:"3.012",x2:"4.914",y1:"2.188",y2:"-0.23",gradientUnits:"userSpaceOnUse",children:[(0,n.jsx)("stop",{stopColor:"#F69923"}),(0,n.jsx)("stop",{offset:"0.312",stopColor:"#F79A23"}),(0,n.jsx)("stop",{offset:"0.838",stopColor:"#E97826"})]}),(0,n.jsxs)("linearGradient",{id:`paint1_linear${e}`,x1:"5.652",x2:"2.863",y1:"16.748",y2:"2.761",gradientUnits:"userSpaceOnUse",children:[(0,n.jsx)("stop",{offset:"0.323",stopColor:"#9E2064"}),(0,n.jsx)("stop",{offset:"0.63",stopColor:"#C92037"}),(0,n.jsx)("stop",{offset:"0.751",stopColor:"#CD2335"}),(0,n.jsx)("stop",{offset:"1",stopColor:"#E97826"})]}),(0,n.jsxs)("linearGradient",{id:`paint2_linear${e}`,x1:"6.719",x2:"5.057",y1:"14.78",y2:"6.445",gradientUnits:"userSpaceOnUse",children:[(0,n.jsx)("stop",{stopColor:"#282662"}),(0,n.jsx)("stop",{offset:"0.095",stopColor:"#662E8D"}),(0,n.jsx)("stop",{offset:"0.788",stopColor:"#9F2064"}),(0,n.jsx)("stop",{offset:"0.949",stopColor:"#CD2032"})]}),(0,n.jsxs)("linearGradient",{id:`paint3_linear${e}`,x1:"5.365",x2:"2.576",y1:"15.988",y2:"2.001",gradientUnits:"userSpaceOnUse",children:[(0,n.jsx)("stop",{offset:"0.323",stopColor:"#9E2064"}),(0,n.jsx)("stop",{offset:"0.63",stopColor:"#C92037"}),(0,n.jsx)("stop",{offset:"0.751",stopColor:"#CD2335"}),(0,n.jsx)("stop",{offset:"1",stopColor:"#E97826"})]}),(0,n.jsxs)("linearGradient",{id:`paint4_linear${e}`,x1:"5.351",x2:"3.885",y1:"14.93",y2:"7.58",gradientUnits:"userSpaceOnUse",children:[(0,n.jsx)("stop",{stopColor:"#282662"}),(0,n.jsx)("stop",{offset:"0.095",stopColor:"#662E8D"}),(0,n.jsx)("stop",{offset:"0.788",stopColor:"#9F2064"}),(0,n.jsx)("stop",{offset:"0.949",stopColor:"#CD2032"})]}),(0,n.jsxs)("linearGradient",{id:`paint5_linear${e}`,x1:"6.813",x2:"4.024",y1:"15.7",y2:"1.712",gradientUnits:"userSpaceOnUse",children:[(0,n.jsx)("stop",{offset:"0.323",stopColor:"#9E2064"}),(0,n.jsx)("stop",{offset:"0.63",stopColor:"#C92037"}),(0,n.jsx)("stop",{offset:"0.751",stopColor:"#CD2335"}),(0,n.jsx)("stop",{offset:"1",stopColor:"#E97826"})]}),(0,n.jsxs)("linearGradient",{id:`paint6_linear${e}`,x1:"6.914",x2:"4.125",y1:"16.581",y2:"2.594",gradientUnits:"userSpaceOnUse",children:[(0,n.jsx)("stop",{offset:"0.323",stopColor:"#9E2064"}),(0,n.jsx)("stop",{offset:"0.63",stopColor:"#C92037"}),(0,n.jsx)("stop",{offset:"0.751",stopColor:"#CD2335"}),(0,n.jsx)("stop",{offset:"1",stopColor:"#E97826"})]}),(0,n.jsxs)("linearGradient",{id:`paint7_linear${e}`,x1:"7.244",x2:"4.454",y1:"15.614",y2:"1.627",gradientUnits:"userSpaceOnUse",children:[(0,n.jsx)("stop",{offset:"0.323",stopColor:"#9E2064"}),(0,n.jsx)("stop",{offset:"0.63",stopColor:"#C92037"}),(0,n.jsx)("stop",{offset:"0.751",stopColor:"#CD2335"}),(0,n.jsx)("stop",{offset:"1",stopColor:"#E97826"})]}),(0,n.jsxs)("linearGradient",{id:`paint8_linear${e}`,x1:"7.194",x2:"4.404",y1:"15.623",y2:"1.637",gradientUnits:"userSpaceOnUse",children:[(0,n.jsx)("stop",{offset:"0.323",stopColor:"#9E2064"}),(0,n.jsx)("stop",{offset:"0.63",stopColor:"#C92037"}),(0,n.jsx)("stop",{offset:"0.751",stopColor:"#CD2335"}),(0,n.jsx)("stop",{offset:"1",stopColor:"#E97826"})]}),(0,n.jsxs)("linearGradient",{id:`paint9_linear${e}`,x1:"12.107",x2:"15.559",y1:"2.218",y2:"1.783",gradientUnits:"userSpaceOnUse",children:[(0,n.jsx)("stop",{stopColor:"#F69923"}),(0,n.jsx)("stop",{offset:"0.312",stopColor:"#F79A23"}),(0,n.jsx)("stop",{offset:"0.838",stopColor:"#E97826"})]}),(0,n.jsxs)("linearGradient",{id:`paint10_linear${e}`,x1:"2.664",x2:"11.532",y1:"16.037",y2:"2.561",gradientUnits:"userSpaceOnUse",children:[(0,n.jsx)("stop",{offset:"0.323",stopColor:"#9E2064"}),(0,n.jsx)("stop",{offset:"0.63",stopColor:"#C92037"}),(0,n.jsx)("stop",{offset:"0.751",stopColor:"#CD2335"}),(0,n.jsx)("stop",{offset:"1",stopColor:"#E97826"})]}),(0,n.jsxs)("linearGradient",{id:`paint11_linear${e}`,x1:"5.087",x2:"10.371",y1:"15.3",y2:"7.269",gradientUnits:"userSpaceOnUse",children:[(0,n.jsx)("stop",{stopColor:"#282662"}),(0,n.jsx)("stop",{offset:"0.095",stopColor:"#662E8D"}),(0,n.jsx)("stop",{offset:"0.788",stopColor:"#9F2064"}),(0,n.jsx)("stop",{offset:"0.949",stopColor:"#CD2032"})]}),(0,n.jsxs)("linearGradient",{id:`paint12_linear${e}`,x1:"3.037",x2:"11.905",y1:"15.197",y2:"1.722",gradientUnits:"userSpaceOnUse",children:[(0,n.jsx)("stop",{offset:"0.323",stopColor:"#9E2064"}),(0,n.jsx)("stop",{offset:"0.63",stopColor:"#C92037"}),(0,n.jsx)("stop",{offset:"0.751",stopColor:"#CD2335"}),(0,n.jsx)("stop",{offset:"1",stopColor:"#E97826"})]}),(0,n.jsxs)("linearGradient",{id:`paint13_linear${e}`,x1:"3.866",x2:"8.526",y1:"14.335",y2:"7.253",gradientUnits:"userSpaceOnUse",children:[(0,n.jsx)("stop",{stopColor:"#282662"}),(0,n.jsx)("stop",{offset:"0.095",stopColor:"#662E8D"}),(0,n.jsx)("stop",{offset:"0.788",stopColor:"#9F2064"}),(0,n.jsx)("stop",{offset:"0.949",stopColor:"#CD2032"})]}),(0,n.jsxs)("linearGradient",{id:`paint14_linear${e}`,x1:"4.432",x2:"13.299",y1:"16.115",y2:"2.639",gradientUnits:"userSpaceOnUse",children:[(0,n.jsx)("stop",{offset:"0.323",stopColor:"#9E2064"}),(0,n.jsx)("stop",{offset:"0.63",stopColor:"#C92037"}),(0,n.jsx)("stop",{offset:"0.751",stopColor:"#CD2335"}),(0,n.jsx)("stop",{offset:"1",stopColor:"#E97826"})]}),(0,n.jsxs)("linearGradient",{id:`paint15_linear${e}`,x1:"3.812",x2:"12.68",y1:"16.905",y2:"3.43",gradientUnits:"userSpaceOnUse",children:[(0,n.jsx)("stop",{offset:"0.323",stopColor:"#9E2064"}),(0,n.jsx)("stop",{offset:"0.63",stopColor:"#C92037"}),(0,n.jsx)("stop",{offset:"0.751",stopColor:"#CD2335"}),(0,n.jsx)("stop",{offset:"1",stopColor:"#E97826"})]}),(0,n.jsxs)("linearGradient",{id:`paint16_linear${e}`,x1:"4.846",x2:"13.714",y1:"16.388",y2:"2.912",gradientUnits:"userSpaceOnUse",children:[(0,n.jsx)("stop",{offset:"0.323",stopColor:"#9E2064"}),(0,n.jsx)("stop",{offset:"0.63",stopColor:"#C92037"}),(0,n.jsx)("stop",{offset:"0.751",stopColor:"#CD2335"}),(0,n.jsx)("stop",{offset:"1",stopColor:"#E97826"})]}),(0,n.jsxs)("linearGradient",{id:`paint17_linear${e}`,x1:"4.799",x2:"13.666",y1:"16.356",y2:"2.881",gradientUnits:"userSpaceOnUse",children:[(0,n.jsx)("stop",{offset:"0.323",stopColor:"#9E2064"}),(0,n.jsx)("stop",{offset:"0.63",stopColor:"#C92037"}),(0,n.jsx)("stop",{offset:"0.751",stopColor:"#CD2335"}),(0,n.jsx)("stop",{offset:"1",stopColor:"#E97826"})]}),(0,n.jsx)("clipPath",{id:`clip0${e}`,children:(0,n.jsx)("path",{fill:"#fff",d:"M0 0h28v28H0z"})})]})]})}function eX(){return(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"none",viewBox:"0 0 16 16",children:[(0,n.jsx)("rect",{width:"16",height:"16",fill:"#CB0000",rx:"4"}),(0,n.jsx)("path",{fill:"#fff",d:"M7.96 3.289H3.288v9.422h4.67V5.665h2.376v7.046h2.376V3.289H7.959z"})]})}function eV(){return(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"none",viewBox:"0 0 16 16",children:[(0,n.jsx)("path",{fill:"#004880",fillRule:"evenodd",d:"M11.663 14.612a2.737 2.737 0 110-5.474 2.737 2.737 0 010 5.474zM6.203 8.34a1.71 1.71 0 110-3.422 1.71 1.71 0 010 3.422zM11.783 3H7.217A4.217 4.217 0 003 7.217v4.567A4.216 4.216 0 007.216 16h4.568A4.215 4.215 0 0016 11.784V7.217A4.216 4.216 0 0011.784 3z",clipRule:"evenodd"}),(0,n.jsx)("mask",{id:"mask0_4204_241687",style:{maskType:"alpha"},width:"3",height:"3",x:"0",y:"0",maskUnits:"userSpaceOnUse",children:(0,n.jsx)("path",{fill:"#fff",d:"M0 1.371V.001h2.741v2.74H0v-1.37z"})}),(0,n.jsx)("g",{mask:"url(#mask0_4204_241687)",children:(0,n.jsx)("path",{fill:"#004880",fillRule:"evenodd",d:"M2.741 1.37A1.37 1.37 0 110 1.37a1.37 1.37 0 012.741 0z",clipRule:"evenodd"})})]})}function eK(){return(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"none",viewBox:"0 0 16 16",children:(0,n.jsx)("path",{fill:"#0969DA",fillRule:"evenodd",d:"M10.41.24l4.711 2.774A1.767 1.767 0 0116 4.54v5.01c0 .63-.335 1.213-.88 1.53l-7.753 4.521-.002.001a1.767 1.767 0 01-1.774 0H5.59L.873 12.85A1.762 1.762 0 010 11.327V6.292c0-.304.078-.598.22-.855l.004-.005.01-.019c.15-.262.369-.486.64-.643L8.641.239a1.75 1.75 0 011.765 0l.002.001zM9.397 1.534a.25.25 0 01.252 0l4.115 2.422-7.152 4.148a.267.267 0 01-.269 0L2.227 5.716l7.17-4.182zM7.365 9.402L8.73 8.61v4.46l-1.5.875V9.473a1.77 1.77 0 00.136-.071zm2.864 2.794V7.741l1.521-.882v4.45l-1.521.887zm3.021-1.762l1.115-.65h.002a.268.268 0 00.133-.232V5.264l-1.25.725v4.445zm-11.621 1.12l4.1 2.393V9.474a1.77 1.77 0 01-.138-.072L1.5 7.029v4.298c0 .095.05.181.129.227z",clipRule:"evenodd"})})}function eQ(){return(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"none",viewBox:"0 0 16 16",children:[(0,n.jsxs)("g",{fill:"#D34231",clipPath:"url(#clip0_4204_241713)",children:[(0,n.jsx)("path",{d:"M5.2 5.285l-.01-.009L3.212 7.26l4.806 4.797 1.978-1.974 2.827-2.823-1.978-1.983v-.008H5.19l.01.017z"}),(0,n.jsx)("path",{d:"M8 0L1 4.014v8.025l7 4.01 7-4.014v-8.02L8 0zm5.663 11.27L8 14.532 2.337 11.27V4.762L8 1.499l5.663 3.263v6.508z"})]}),(0,n.jsx)("defs",{children:(0,n.jsx)("clipPath",{id:"clip0_4204_241713",children:(0,n.jsx)("path",{fill:"#fff",d:"M0 0H16V16H0z"})})})]})}function eY(){return(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",width:"16",height:"16",children:(0,n.jsx)("path",{fillRule:"evenodd",d:"M1.5 8a6.5 6.5 0 1113 0 6.5 6.5 0 01-13 0zM8 0a8 8 0 100 16A8 8 0 008 0zM6.379 5.227A.25.25 0 006 5.442v5.117a.25.25 0 00.379.214l4.264-2.559a.25.25 0 000-.428L6.379 5.227z"})})}function eZ(){return(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",width:"16",height:"16",children:(0,n.jsx)("path",{fillRule:"evenodd",d:"M10.41.24l4.711 2.774A1.767 1.767 0 0116 4.54v5.01a1.77 1.77 0 01-.88 1.53l-7.753 4.521-.002.001a1.767 1.767 0 01-1.774 0H5.59L.873 12.85A1.762 1.762 0 010 11.327V6.292c0-.304.078-.598.22-.855l.004-.005.01-.019c.15-.262.369-.486.64-.643L8.641.239a1.75 1.75 0 011.765 0l.002.001zM9.397 1.534a.25.25 0 01.252 0l4.115 2.422-7.152 4.148a.267.267 0 01-.269 0L2.227 5.716l7.17-4.182zM7.365 9.402L8.73 8.61v4.46l-1.5.875V9.473a1.77 1.77 0 00.136-.071zm2.864 2.794V7.741l1.521-.882v4.45l-1.521.887zm3.021-1.762l1.115-.65h.002a.268.268 0 00.133-.232V5.264l-1.25.725v4.445zm-11.621 1.12l4.1 2.393V9.474a1.77 1.77 0 01-.138-.072L1.5 7.029v4.298c0 .095.05.181.129.227z"})})}try{eB.displayName||(eB.displayName="DockerIcon")}catch{}try{eG.displayName||(eG.displayName="MavenIcon")}catch{}try{eX.displayName||(eX.displayName="NPMIcon")}catch{}try{eV.displayName||(eV.displayName="NuGetIcon")}catch{}try{eK.displayName||(eK.displayName="PackageIcon")}catch{}try{eQ.displayName||(eQ.displayName="RubyGemsIcon")}catch{}try{eY.displayName||(eY.displayName="ActionIcon")}catch{}try{eZ.displayName||(eZ.displayName="ContainerIcon")}catch{}function eJ(e){return e.charAt(0).toUpperCase()+e.slice(1)}function e0(e){return"npm"===e.toLowerCase()?e.toLowerCase():eJ(e)}function e1({results:e}){return(0,n.jsx)(er.List,{children:e.results?.map((e,t)=>n.jsx(e2,{item:e},t))})}function e2({item:e}){let t=new Date(e.updated_at),s=e.repo.name,r=e.repo.owner_login,i=e.source.versions.filter(e=>e.latest),a=[...i].pop()?.version;return(0,n.jsxs)(er,{children:[(0,n.jsxs)(er.Header,{children:[r&&s&&(0,n.jsx)(er.RepositoryContext,{owner:r,name:s}),(0,n.jsx)("span",{className:"sr-only",children:":\xa0"}),(0,n.jsxs)(er.Title,{children:[(0,n.jsx)(C.A,{href:e.package_url,children:(0,n.jsx)("span",{children:e.name})}),!e.public&&(0,n.jsx)(eR.A,{sx:{ml:1},children:e.source.visibility})]})]}),e.summary&&(0,n.jsx)(er.Content,{children:(0,n.jsx)("span",{children:e.summary})}),(0,n.jsxs)(er.Footer,{children:[(0,n.jsxs)(er.FooterItem,{children:[e.color&&(0,n.jsx)(k.A,{sx:{height:16,mr:2},children:eO(e.source.package_type)}),(0,n.jsx)("span",{"aria-label":`${e.source.package_type} type`,children:e0(e.source.package_type)})]}),a&&(0,n.jsx)(er.FooterItem,{children:(0,n.jsx)("span",{children:a})}),(0,n.jsxs)(er.FooterItem,{children:[(0,n.jsx)(T.A,{icon:N.DownloadIcon,size:16,sx:{mx:"6px",color:"fg.subtle"}}),(0,n.jsx)(eE,{ariaLabel:`${e.downloads} downloads`,value:e.downloads})]}),(0,n.jsx)(er.FooterItem,{children:(0,n.jsxs)("span",{children:["Updated ",(0,n.jsx)(em.o,{timestamp:t})]})})]})]})}try{e1.displayName||(e1.displayName="Packages")}catch{}try{e2.displayName||(e2.displayName="PackageResult")}catch{}function e3({results:e}){return(0,n.jsx)(er.List,{children:e.results.map((e,t)=>(0,n.jsx)(eT,{item:e,isPullRequest:!0},t))})}try{e3.displayName||(e3.displayName="PullRequests")}catch{}function e6({results:e}){return(0,n.jsx)(er.List,{children:e.results.map((e,t)=>(0,n.jsx)(e7,{item:e},t))})}function e7({item:e}){let t=e.repo.repository.name,s=e.repo.repository.owner_login,r=new Date(e.created);return(0,n.jsxs)(er,{children:[(0,n.jsxs)(er.Header,{children:[(0,n.jsx)(er.RepositoryContext,{name:t,owner:s}),(0,n.jsx)("span",{className:"sr-only",children:":\xa0"}),(0,n.jsx)(er.Title,{children:(0,n.jsx)(C.A,{href:e.url,children:e.title})})]}),e.hl_text&&(0,n.jsx)(er.Content,{children:(0,n.jsx)("span",{children:(0,n.jsx)(er.SearchMatchText,{text:e.hl_text})})}),(0,n.jsxs)(er.Footer,{children:[(0,n.jsxs)(er.FooterItem,{children:[(0,n.jsx)(ec.r,{size:16,src:e.development_avatar||e.user_avatar_url,sx:{mr:2}}),(0,n.jsx)(C.A,{href:`/${e.user_login}`,children:(0,n.jsx)(I.A,{sx:{color:"fg.default",fontWeight:"semibold",pr:1},children:e.user_login})}),(0,n.jsx)(I.A,{sx:{pr:1},children:"posted"}),(0,n.jsx)(em.o,{timestamp:r})]}),(0,n.jsxs)(er.FooterItem,{children:[(0,n.jsx)(T.A,{icon:N.CommentDiscussionIcon,size:16,sx:{mr:1,color:"fg.muted"}}),(0,n.jsx)(eE,{ariaLabel:`${e.num_comments} comments`,value:e.num_comments})]})]})]})}try{e6.displayName||(e6.displayName="Discussions")}catch{}try{e7.displayName||(e7.displayName="DiscussionResult")}catch{}var e4=s(84928);function e5({path:e,starred:t,onToggleCallback:s,signInPath:r,...i}){let[o,l]=(0,a.useState)(t),c=(0,e4.W)(`${e}/star`,"post"),d=(0,e4.W)(`${e}/unstar`,"post"),u=(0,a.useCallback)(async()=>{let e=o?d:c;if(l(!o),!(await e()).ok){l(o);return}s?.(!o)},[o,s,c,d]);return r?(0,n.jsx)(R.Q,{size:"small",leadingVisual:N.StarIcon,...i,as:"a",href:r,children:o?"Unstar":"Star"}):(0,n.jsx)(R.Q,{size:"small",onClick:u,leadingVisual:o?N.StarFillIcon:N.StarIcon,...i,children:o?"Unstar":"Star"})}try{e5.displayName||(e5.displayName="StarButton")}catch{}function e9({results:e}){let[t,s]=a.useState(),r=(0,e4.W)("/sponsors/batch_deferred_sponsor_buttons","post"),i=e=>e.has_funding_file?`${e.repo.repository.owner_id}-${e.repo.repository.id}`:`${e.repo.repository.owner_id}`;return a.useEffect(()=>{async function t(e){let t=await r({body:e});t.ok&&s(await t.json())}let n=new FormData;for(let t of e.results){let e=t.repo.repository,s=`items[item-${i(t)}]`;(t.sponsorable||t.has_funding_file)&&!n.has(`${s}[sponsorable_id]`)&&(n.has("_method")||n.set("_method","GET"),n.set(`${s}[sponsorable_id]`,e.owner_id),n.set(`${s}[sponsorable_login]`,e.owner_login),n.set(`${s}[repo_name]`,e.name),n.set(`${s}[has_funding_file]`,`${t.has_funding_file}`),n.set(`${s}[location]`,"REPO_SEARCH_RESULT_SPONSOR"))}n.has("_method")&&t(n)},[e,r]),(0,n.jsx)(er.List,{children:e.results?.map(s=>{let r;return t&&(r=t[`item-${i(s)}`]),n.jsx(e8,{item:s,sponsorButtonHtml:r,signInPath:e.logged_in?"":e.sign_in_path},s.repo.repository.id)})})}function e8({item:e,sponsorButtonHtml:t,signInPath:s}){let r=e.repo.repository,i=r.name,o=r.owner_login,c=r.development_avatar||`${o}.png`,d=`/${o}/${i}`,u=new Date(r.updated_at),[h,p]=(0,a.useState)(e.followers);return(0,n.jsx)(er,{children:(0,n.jsxs)(k.A,{sx:{display:"flex"},children:[(0,n.jsxs)(k.A,{sx:{display:"flex",flexDirection:"column",flex:1,minWidth:0},children:[(0,n.jsx)(er.Header,{children:(0,n.jsxs)(k.A,{sx:{display:"flex",alignItems:"center"},children:[(0,n.jsx)(er.Avatar,{children:(0,n.jsx)(ec.r,{square:e.owned_by_organization,size:20,src:c})}),(0,n.jsx)(er.Title,{children:(0,n.jsx)(C.A,{href:d,children:(0,n.jsx)(er.SearchMatchText,{text:e.hl_name,sx:{overflow:"hidden",textOverflow:"ellipsis"}})})}),(!e.public||e.archived)&&(0,n.jsx)(eR.A,{sx:{ml:2},variant:e.archived?"attention":void 0,children:e.type})]})}),e.hl_trunc_description&&(0,n.jsx)(er.Content,{children:(0,n.jsx)(er.SearchMatchText,{text:e.hl_trunc_description})}),0!==e.topics.length&&(0,n.jsx)(en,{children:e.topics.slice(0,5).map(e=>(0,n.jsx)(eF,{href:(0,l.dX8)({topicName:e}),children:e},e))}),(0,n.jsxs)(er.Footer,{children:[e.language&&(0,n.jsxs)(er.FooterItem,{children:[(0,n.jsx)(k.A,{sx:{mr:2},children:(0,n.jsx)(U,{color:e.color})}),(0,n.jsx)("span",{"aria-label":`${e.language} language`,children:e.language})]}),(0,n.jsx)(er.FooterItem,{children:(0,n.jsxs)(C.A,{href:`${d}/stargazers`,"aria-label":`${e.followers} stars`,sx:{":hover":{boxShadow:"inset 0 -1px 0 0","> *":{color:"accent.fg"}},display:"flex",alignItems:"center",color:"fg.muted"},children:[(0,n.jsx)(T.A,{icon:N.StarIcon,"aria-hidden":!0,size:16,sx:{color:"fg.subtle",mr:"6px"}}),(0,n.jsx)(eE,{value:h})]})}),(0,n.jsx)(er.FooterItem,{children:(0,n.jsxs)("span",{children:["Updated ",(0,n.jsx)(em.o,{timestamp:u})]})})]})]}),(0,n.jsxs)(k.A,{sx:{display:"flex",justifyContent:"flex-end",minWidth:0},children:[(0,n.jsx)(k.A,{sx:{pt:1,pl:2},children:(0,n.jsx)(e5,{starred:e.starred_by_current_user,name:e.name,path:(0,l.SHX)({owner:e.repo.repository.owner_login,repo:e.repo.repository.name}),onToggleCallback:t=>{t?p(e.starred_by_current_user?e.followers:e.followers+1):p(e.starred_by_current_user?e.followers-1:e.followers)},signInPath:s})}),(e.sponsorable||e.has_funding_file)&&t&&(0,n.jsx)(k.A,{sx:{display:"flex",pt:1,pl:2},children:(0,n.jsx)($.oG,{html:t})})]})]})})}try{e9.displayName||(e9.displayName="Repositories")}catch{}try{e8.displayName||(e8.displayName="RepositoryResult")}catch{}function te({results:e}){return(0,n.jsx)(er.List,{children:e.results.map(t=>(0,n.jsx)(tt,{item:t,signInPath:e.logged_in?"":e.sign_in_path},`topic-result-${t.id}`))})}function tt({item:e,signInPath:t}){return(0,n.jsxs)(er,{children:[(0,n.jsx)(er.Header,{children:(0,n.jsxs)(k.A,{sx:{display:"flex",alignItems:"center"},children:[e.logo_url&&(0,n.jsx)(er.Avatar,{children:(0,n.jsx)(ec.r,{src:e.logo_url})}),(0,n.jsx)(er.Title,{children:(0,n.jsx)(ts,{name:e.name,displayName:e.hl_display_name})}),(0,n.jsx)(e5,{sx:{marginLeft:"auto"},starred:e.starred_by_current_user,name:e.name,path:(0,l.dX8)({topicName:e.name}),signInPath:t})]})}),e.hl_short_description?(0,n.jsx)(er.Content,{children:(0,n.jsx)(er.SearchMatchText,{text:e.hl_short_description})}):null,(0,n.jsxs)(er.Footer,{children:[(0,n.jsx)(er.FooterItem,{children:(0,n.jsx)(tr,{value:e.repository_count,isLowerBound:e.repository_count_over_max_fetch_limit})}),0===e.related.length?null:(0,n.jsx)(er.FooterItem,{children:(0,n.jsx)(ti,{topics:e.related,show:3})})]})]})}function ts({name:e,displayName:t}){return(0,n.jsx)(C.A,{href:(0,l.dX8)({topicName:e}),children:t?(0,n.jsx)(er.SearchMatchText,{text:t}):(0,n.jsx)("span",{children:e})})}function tr({value:e,isLowerBound:t}){return(0,n.jsxs)(k.A,{sx:{display:"flex",alignItems:"center"},children:[(0,n.jsx)(T.A,{icon:N.RepoIcon,size:16,sx:{mr:1}}),(0,n.jsx)(eE,{ariaLabel:`${e} repositories`,value:e,mode:t?i.LowerBound:i.Exact})]})}function ti({topics:e,show:t}){let s=[...e].slice(0,t),r=[...e].slice(t);return(0,n.jsxs)("div",{children:[s.map((e,t)=>(0,n.jsxs)(a.Fragment,{children:[(0,n.jsx)(ts,{name:e}),t!==s.length-1?(0,n.jsx)("span",{children:", "}):null]},`related-topic-${e}`)),r.length>0?(0,n.jsxs)("span",{children:[" ","and ",(0,n.jsx)(eE,{value:r.length})," more"]},"related-topics-more"):null]})}try{te.displayName||(te.displayName="Topics")}catch{}try{tt.displayName||(tt.displayName="TopicResult")}catch{}try{ts.displayName||(ts.displayName="TopicLink")}catch{}try{tr.displayName||(tr.displayName="RepositoryCount")}catch{}try{ti.displayName||(ti.displayName="RelatedTopics")}catch{}var tn=s(59299);function ta({results:e}){let[t,s]=a.useState(),r=(0,e4.W)("/sponsors/batch_deferred_sponsor_buttons","post");return a.useEffect(()=>{async function t(e){let t=await r({body:e});t.ok&&s(await t.json())}let i=new FormData;for(let t of e.results){let e=`items[item-${t.id}]`;t.sponsorable&&!i.has(`${e}[sponsorable_id]`)&&(i.has("_method")||i.set("_method","GET"),i.set(`${e}[sponsorable_id]`,t.id),i.set(`${e}[sponsorable_login]`,t.login),i.set(`${e}[repo_name]`,""),i.set(`${e}[has_funding_file]`,"false"),i.set(`${e}[location]`,"USER_SEARCH_RESULT_SPONSOR"))}i.has("_method")&&t(i)},[e,r]),(0,n.jsx)(er.List,{children:e.results.map((s,r)=>{let i;return t&&(i=t[`item-${s.id}`]),(0,n.jsx)(to,{item:s,sponsorButtonHtml:i,signInPath:e.logged_in?"":e.sign_in_path},r)})})}function to({item:e,sponsorButtonHtml:t,signInPath:s}){return(0,n.jsx)(er,{children:(0,n.jsxs)(k.A,{sx:{display:"flex",flexDirection:"row"},children:[(0,n.jsxs)(k.A,{sx:{display:"flex",flexDirection:"row",maxWidth:(0,tn.Jt)("breakpoints.0")},children:[(0,n.jsx)(k.A,{sx:{flexShrink:0},children:(0,n.jsx)(ec.r,{src:e.development_avatar||e.avatar_url,size:40,sx:{mr:3,mt:1}})}),(0,n.jsxs)(k.A,{sx:{display:"flex",flexDirection:"column",flexGrow:1,borderTopColor:"border.default",minWidth:0},children:[(0,n.jsx)(er.Header,{children:(0,n.jsx)(er.Title,{children:(0,n.jsx)(tl,{user:e})})}),e.hl_profile_bio&&(0,n.jsx)(er.Content,{children:(0,n.jsx)("span",{children:(0,n.jsx)(er.SearchMatchText,{text:e.hl_profile_bio})})}),e.location&&(0,n.jsxs)(er.Footer,{children:[(0,n.jsx)(er.FooterItem,{children:(0,n.jsx)("span",{children:e.location})}),(0,n.jsxs)(er.FooterItem,{children:[(0,n.jsx)(T.A,{icon:N.RepoIcon,size:16,sx:{color:"fg.subtle",mr:"6px"}}),(0,n.jsx)(eE,{ariaLabel:`${e.repos} repositories`,value:e.repos})]}),(0,n.jsxs)(er.FooterItem,{children:[(0,n.jsx)(T.A,{icon:N.PeopleIcon,size:16,sx:{color:"fg.subtle",mr:"6px"}}),(0,n.jsx)(eE,{ariaLabel:`${e.followers} followers`,value:e.followers})]})]})]})]}),(0,n.jsxs)(k.A,{sx:{flex:1,display:"flex",justifyContent:"flex-end",flexBasis:"auto"},children:[!e.is_current_user&&(0,n.jsx)("div",{children:(0,n.jsx)(tc,{followedByUser:e.followed_by_current_user,login:e.login,signInPath:s})}),t&&(0,n.jsx)($.oG,{html:t,sx:{ml:2}})]})]})})}function tl({user:e}){let t=`/${e.display_login}`;return(0,n.jsxs)(n.Fragment,{children:[e.hl_name&&(0,n.jsx)(C.A,{href:t,children:(0,n.jsx)(I.A,{sx:{fontSize:2,fontWeight:"semibold"},children:e.name})}),(0,n.jsx)(C.A,{href:t,children:(0,n.jsx)(I.A,{sx:{color:"fg.muted",ml:e.name?1:void 0,fontWeight:"normal"},children:(0,n.jsx)(I.A,{sx:{fontSize:2,fontWeight:"light"},children:e.display_login})})})]})}function tc({followedByUser:e,login:t,signInPath:s}){let[r,i]=a.useState(e),o=(0,e4.W)(`/users/${r?"unfollow":"follow"}?target=${t}`,"post"),l=a.useCallback(async()=>{i(!r),(await o()).ok||i(r)},[r]);return s?(0,n.jsx)(R.Q,{size:"small",as:"a",href:s,children:r?"Unfollow":"Follow"}):(0,n.jsx)(R.Q,{onClick:l,size:"small",children:r?"Unfollow":"Follow"})}try{ta.displayName||(ta.displayName="Users")}catch{}try{to.displayName||(to.displayName="UserResult")}catch{}try{tl.displayName||(tl.displayName="Title")}catch{}try{tc.displayName||(tc.displayName="FollowButton")}catch{}function td({results:e}){return(0,n.jsx)(er.List,{children:e.results.map(e=>(0,n.jsx)(tu,{item:e},`wiki-result-${e.id}`))})}function tu({item:e}){let t=e.repo.repository.name,s=e.repo.repository.owner_login,r=e.filename.substring(0,e.filename.lastIndexOf(".")),i=`/${s}/${t}/wiki/${(0,l.QU3)(r)}`,a=new Date(e.updated_at);return(0,n.jsxs)(er,{children:[(0,n.jsxs)(er.Header,{children:[(0,n.jsx)(er.RepositoryContext,{owner:s,name:t}),(0,n.jsx)(er.Title,{children:(0,n.jsx)(C.A,{href:i,target:"_blank",children:(0,n.jsx)(er.SearchMatchText,{text:e.hl_title})})})]}),e.hl_body&&(0,n.jsx)(er.Content,{children:(0,n.jsx)(er.SearchMatchText,{text:e.hl_body})}),(0,n.jsx)(er.Footer,{children:(0,n.jsx)(er.FooterItem,{children:(0,n.jsxs)("span",{children:["Last updated ",(0,n.jsx)(em.o,{timestamp:a})]})})})]})}try{td.displayName||(td.displayName="Wikis")}catch{}try{tu.displayName||(tu.displayName="WikiResult")}catch{}function th({results:e}){return(0,n.jsx)(er.List,{sx:{gap:[3,3,4,4]},children:e.results.map(e=>(0,n.jsx)(tp,{item:e},e.id))})}function tp({item:e}){let[t,s]=(0,a.useState)(!0),r=(0,l.nD_)({owner:e.owner_login,repo:e.repo.repository.name,commitish:e.commit_sha,filePath:e.path});return(0,n.jsxs)(k.A,{sx:{minWidth:0},children:[(0,n.jsxs)(k.A,{sx:{bg:"canvas.subtle",userSelect:"none",pl:2,pr:3,height:40,listStyle:"none",borderTopLeftRadius:2,borderTopRightRadius:2,borderBottomRightRadius:t?0:2,borderBottomLeftRadius:t?0:2,borderColor:"border.default",borderWidth:1,borderStyle:"solid",display:"flex",alignItems:"center"},children:[(0,n.jsx)(tx,{isOpen:t,onClick:()=>s(!t),name:`${e.owner_login}/${e.repo.repository.name}`}),(0,n.jsxs)(k.A,{sx:{flex:1,alignItems:"center",display:"flex",ml:1,minWidth:0},children:[(0,n.jsx)(er.Avatar,{mr:"6px",children:(0,n.jsx)(ec.r,{square:!0,sx:{ml:"1px"},size:16,src:(0,l.w_K)({owner:e.owner_login})})}),(0,n.jsx)(er.Title,{fontSize:1,children:(0,n.jsxs)(H,{side:"left",title:`${e.owner_login}/${e.repo.repository.name} \xb7 item.hl_path`,children:[(0,n.jsx)(er.RepositoryLink,{owner:e.owner_login,name:e.repo.repository.name,sx:{color:"fg.default",fontWeight:"bold"}}),"\xa0\xb7\xa0",(0,n.jsx)(C.A,{href:r,sx:{fontFamily:"mono",color:"fg.default",fontSize:0},children:e.hl_path?(0,n.jsx)(er.SearchMatchText,{text:e.hl_path}):(0,n.jsx)("span",{children:e.path})})]})})]}),(0,n.jsx)(k.A,{sx:{flexShrink:0,pl:4,display:["none","none","flex"]},children:(0,n.jsxs)(er.Footer,{children:[e.language&&(0,n.jsx)(er.FooterItem,{children:(0,n.jsx)(ty,{ariaLabel:`${e.language} language`,text:e.language,children:(0,n.jsx)(k.A,{sx:{mr:2},children:(0,n.jsx)(U,{color:e.language_color??"gray"})})})}),e.repo_default_branch&&(0,n.jsx)(er.FooterItem,{children:(0,n.jsx)(ty,{ariaLabel:`${e.repo_default_branch} branch`,text:e.repo_default_branch,textUrl:`${e.repo.repository.name}/tree/${(0,l.QU3)(e.repo_default_branch)}`,children:(0,n.jsx)(T.A,{icon:N.GitBranchIcon,size:16,sx:{mr:1}})})})]})})]}),(0,n.jsx)(er.Header,{}),t&&(0,n.jsx)(k.A,{className:"notranslate",sx:{borderColor:"border.default",borderBottomWidth:1,borderTopWidth:0,borderLeftWidth:1,borderRightWidth:1,borderStyle:"solid"},children:(0,n.jsx)(tg,{children:(0,n.jsx)(tm,{item:e})})})]})}function tx({isOpen:e,onClick:t,name:s}){return(0,n.jsx)(k.A,{as:"button",onClick:t,"aria-label":s,"aria-expanded":e,sx:{height:24,borderRadius:2,width:24,color:"fg.muted",display:"flex",justifyContent:"center",alignItems:"center",bg:"canvas.subtle",border:"none",":hover":{bg:"btn.hoverBg"}},children:e?(0,n.jsx)(N.ChevronDownIcon,{size:16}):(0,n.jsx)(N.ChevronRightIcon,{size:16})})}function tm({item:e}){return(0,n.jsx)("table",{children:(0,n.jsx)("tbody",{children:e.hl_fragments.map((t,s)=>(0,n.jsxs)(a.Fragment,{children:[t.lines.map(({line_number:t,line:s})=>(0,n.jsxs)("tr",{children:[(0,n.jsx)(k.A,{as:"td",className:"blob-num",sx:{paddingRight:2},children:(0,n.jsx)(C.A,{href:(0,l.nD_)({owner:e.owner_login,repo:e.repo.repository.name,commitish:e.commit_sha,filePath:e.path}),sx:{color:"accent.fg"},children:t+1})}),(0,n.jsx)($.oG,{as:"td",className:"blob-code blob-code-inner",html:s})]},t)),s===e.hl_fragments.length-1?null:(0,n.jsx)(tf,{})]},s))})})}function tf(){return(0,n.jsxs)(k.A,{as:"tr",sx:{height:1},children:[(0,n.jsx)(k.A,{as:"td",className:"blob-num",sx:{paddingRight:2},children:"\u2026"}),(0,n.jsx)("td",{className:"blob-code blob-code-inner"})]})}function tg({children:e}){return(0,n.jsx)(k.A,{className:"code-list notranslate",sx:{whiteSpace:"pre-wrap",fontFamily:"monospace",minWidth:0,py:2},children:e})}function ty({ariaLabel:e,text:t,textUrl:s,children:r}){let i=(0,n.jsxs)(k.A,{sx:{display:"flex",alignItems:"center"},children:[r,(0,n.jsx)("span",{"aria-label":e,children:t})]});return s?(0,n.jsx)(C.A,{href:s,sx:{color:"fg.muted"},children:i}):i}try{th.displayName||(th.displayName="LegacyCode")}catch{}try{tp.displayName||(tp.displayName="LegacyCodeResult")}catch{}try{tx.displayName||(tx.displayName="OpenCloseButton")}catch{}try{tm.displayName||(tm.displayName="LegacyCodeSnippet")}catch{}try{tf.displayName||(tf.displayName="FragmentDivider")}catch{}try{tg.displayName||(tg.displayName="CodeSnippetFrame")}catch{}try{ty.displayName||(ty.displayName="IconWithText")}catch{}var tj=s(82897);function tb(){let e=(0,F.u)("hovercard_accessibility");return(0,n.jsx)("div",{className:"Popover js-hovercard-content position-absolute",style:{display:"none",outline:"none"},role:e?"dialog":void 0,"aria-modal":!!e||void 0,children:(0,n.jsx)("div",{className:"Popover-message Popover-message--bottom-left Popover-message--large Box color-shadow-large",style:{width:"360px"},tabIndex:e?void 0:0})})}try{tb.displayName||(tb.displayName="HoverCard")}catch{}var tv=s(70831);function tw(){return(0,n.jsxs)(K.l.LinkItem,{href:"https://github.com/search/advanced",sx:{span:{color:"accent.fg"}},children:[(0,n.jsx)(K.l.LeadingVisual,{children:(0,n.jsx)(N.LinkExternalIcon,{})}),"Advanced search"]})}try{tw.displayName||(tw.displayName="EducationGroup")}catch{}var t_=s(12528),tk=s(38267);let tA=(0,tk.i7)(["0%{opacity:1;}50%{opacity:0.6;}100%{opacity:1;}"]),tC=(0,tk.Ay)(k.A).withConfig({displayName:"Base__Animation",componentId:"sc-c956ea9d-0"})(["background-size:200% 100%;animation:"," 1.5s linear infinite;"],tA);function tS(e){return(0,n.jsx)(tC,{width:"100%",bg:"neutral.subtle",...e})}try{tC.displayName||(tC.displayName="Animation")}catch{}try{tS.displayName||(tS.displayName="Base")}catch{}function tN({totalResults:e,isLoading:t,resultCountIsLowerBound:s}){return t?(0,n.jsx)(tS,{sx:{height:20,width:20,ml:2,borderRadius:3}}):(0,n.jsx)(t_.A,{"data-testid":"resolved-count-label",sx:{height:20,lineHeight:"20px",py:0,px:2},children:(0,n.jsx)(eE,{isLowerBound:s,value:e})})}try{tN.displayName||(tN.displayName="LazyCounter")}catch{}function tI(e,t,s){let r=d(e);return[(0,a.useMemo)(()=>(0,l.yH8)(e,t,s),[e,t,s]),(0,a.useCallback)(e=>{r(t,s),e?.preventDefault()},[t,s,r])]}let tR=(0,a.createContext)(!0);function tL(){return(0,a.useContext)(tR)}try{tR.displayName||(tR.displayName="LoggedInContext")}catch{}function tT({isLoadingCounters:e,selectedType:t,isMobile:s,searchKinds:r}){let i=r.findIndex(e=>e.name===t),[o,l]=a.useState(i>=6),c=o||7===r.length?r:r.slice(0,6),d=s?r:c;return(0,a.useEffect)(()=>{e||0!==(r?.find(e=>e.name===t)||r[0]).total||l(!0)},[e]),(0,n.jsxs)(K.l.Group,{"data-testid":"kind-group",children:[d.map(({name:r,readableNamePlural:i,icon:a,total:o})=>(0,n.jsx)(tz,{selectedType:t,type:r||"codelegacy",title:i,icon:a,isLoading:e,totalResults:o||0,isMobile:s},r)),!o&&!s&&r.length>7&&(0,n.jsxs)(K.l.Item,{onClick:()=>l(!0),onSelect:()=>l(!0),children:[(0,n.jsx)(K.l.LeadingVisual,{children:(0,n.jsx)(T.A,{icon:N.ChevronDownIcon,size:16,sx:{mr:2,color:"fg.muted"}})}),"More"]})]})}function tz({title:e,icon:t,selectedType:s,isMobile:r,type:i,selectedAction:a,totalResults:o,isLoading:c,resultCountIsLowerBound:d}){let[,u]=tI(l.oef,void 0,{p:null,type:i,l:null,s:null,o:null}),h=tL(),x=(0,l.IDI)(l.oef,void 0,{p:null,type:i,l:null,s:null,o:null}).toString(),m=e=>{p(e)?window.open(x,"_blank"):u(e),e.preventDefault(),e.stopPropagation(),a&&a()},f=(0,n.jsx)(T.A,{icon:t,size:16,sx:{mr:2,color:"fg.muted"}}),g=(0,n.jsxs)(n.Fragment,{children:[eJ(e),!c&&(0,n.jsxs)("span",{className:"sr-only",children:[", ",(0,n.jsx)(eE,{isLowerBound:d,value:o})," results"]})]}),y=h||"code"!==i?(0,n.jsx)(tN,{resultCountIsLowerBound:d,totalResults:o,isLoading:c}):(0,n.jsx)(t_.A,{"data-testid":"resolved-count-label",sx:{height:20,lineHeight:"20px",py:0,px:2},children:"..."});return r?(0,n.jsxs)(K.l.Item,{"data-testid":`nav-item-${i}`,role:"menuitemradio",selected:s===i,"aria-checked":s===i,onSelect:m,children:[(0,n.jsx)(K.l.LeadingVisual,{children:f}),g,(0,n.jsx)(K.l.TrailingVisual,{sx:{display:"flex"},children:y})]},i):(0,n.jsxs)(K.l.LinkItem,{onClick:m,href:x,active:s===i,"data-testid":`nav-item-${i}`,children:[(0,n.jsx)(K.l.LeadingVisual,{children:f}),g,(0,n.jsx)(K.l.TrailingVisual,{sx:{display:"flex"},children:y})]})}try{tT.displayName||(tT.displayName="TypeGroup")}catch{}try{tz.displayName||(tz.displayName="TypeItem")}catch{}var t$=s(39672);let tE="FACET_KIND_LANGUAGE",tq="FACET_KIND_PATH",tW="FACET_KIND_REPO",tF="FACET_KIND_PACKAGE_TYPE",tM="desc",tP={label:"Best match",sort:"",order:tM},tD=[{label:"Newest",sort:"created",order:tM},{label:"Oldest",sort:"created",order:"asc"}],tH=[{label:"Recently updated",sort:"updated",order:tM},{label:"Least recently updated",sort:"updated",order:"asc"}],tU=[tP,{label:"Most stars",sort:"stars",order:tM},{label:"Fewest stars",sort:"stars",order:"asc"},{label:"Most forks",sort:"forks",order:tM},{label:"Fewest forks",sort:"forks",order:"asc"},...tH],tO=[tP,{label:"Recently indexed",sort:"indexed",order:tM},{label:"Least recently indexed",sort:"indexed",order:"asc"}],tB=[tP,{label:"Recently committed",sort:"committer-date",order:tM},{label:"Least recently committed",sort:"committer-date",order:"asc"},{label:"Recently authored",sort:"author-date",order:tM},{label:"Least recently authored",sort:"author-date",order:"asc"}],tG=[tP,{label:"Most commented",sort:"comments",order:tM},{label:"Least commented",sort:"comments",order:"asc"},...tD,...tH],tX=[tP,{label:"Highest score",sort:"top",order:tM},{label:"Lowest score",sort:"top",order:"asc"},{label:"Most commented",sort:"comments",order:tM},{label:"Least commented",sort:"comments",order:"asc"},{label:"Newest",sort:"date_created",order:tM},{label:"Oldest",sort:"date_created",order:"asc"},...tH],tV=[tP,{label:"Most downloads",sort:"downloads",order:tM},{label:"Fewest downloads",sort:"downloads",order:"asc"},...tD,...tH],tK=[tP,{label:"Most followers",sort:"followers",order:tM},{label:"Fewest followers",sort:"followers",order:"asc"},{label:"Most recently joined",sort:"joined",order:tM},{label:"Least recently joined",sort:"joined",order:"asc"},{label:"Most repositories",sort:"repositories",order:tM},{label:"Fewest repositories",sort:"repositories",order:"asc"}],tQ=[tP,...tH],tY="blackbird-",tZ=a.forwardRef(tJ);function tJ({ariaLabel:e,onClick:t},s){return(0,n.jsx)(ef.A,{"aria-label":"Exclude from results",direction:"nw",children:(0,n.jsx)(V.K,{unsafeDisableTooltip:!0,sx:{color:"fg.muted",borderTopLeftRadius:0,borderBottomLeftRadius:0,height:32,width:32},"aria-label":e,icon:N.XIcon,onClick:t,ref:s,size:"small",tabIndex:-1,variant:"invisible"})})}try{tJ.displayName||(tJ.displayName="FacetNegateButtonWithRef")}catch{}function t0({autofocus:e,kind:t,item:s,href:r,onSelect:i,allowNegation:o,mobile:l}){let c=x(),d=a.useRef(null),u=a.useRef(null),h=null,p=s.name;switch(t){case tE:h=(0,n.jsx)(U,{color:s.language_color});break;case tq:h=(0,n.jsx)(T.A,{icon:N.FileDirectoryIcon,size:16});break;case"filter":o=!1,h=(0,n.jsx)(N.PlusCircleIcon,{});break;case"state":o=!1,h=s.visual;break;case tF:o=!1,h=eO(s.name,`_filter_${l?"mobile":"desktop"}`),p=e0(p)}return s.owner&&(h=(0,n.jsx)(ec.r,{size:16,src:`/${s.owner}.png`})),(0,n.jsxs)(K.l.LinkItem,{as:s.shouldNavigate?"a":"button",href:s.shouldNavigate?r:void 0,"data-react-autofocus":!!e||null,onClick:i,onAuxClick:i,tabIndex:0,onKeyDown:e=>{"ArrowRight"===e.key&&d.current?.focus(),"ArrowLeft"===e.key&&u.current?.focus()},ref:e=>{u.current=e},sx:{alignItems:"center",height:32,minWidth:0,p:0,textAlign:"left",".negate-button":{display:"none"},"&:is(button)":{display:"flex"},":hover .negate-button, :focus .negate-button, :focus-within .negate-button":{display:"block"}},children:[(0,n.jsx)(K.l.LeadingVisual,{sx:{mx:2,color:"fg.muted"},children:h}),(0,n.jsxs)(k.A,{sx:{display:"flex",alignItems:"center"},className:"notranslate",children:[(0,n.jsx)(k.A,{sx:{flex:"1",minWidth:0},children:(0,n.jsxs)(H,{title:p,side:"left",sx:{maxWidth:"100%"},children:["\u200E",p,"\u200E"]})}),o&&(0,n.jsx)(k.A,{className:"negate-button",sx:{width:32,height:32,position:"relative"},"aria-label":`Right arrow to exclude ${p}`,children:(0,n.jsx)(k.A,{sx:{display:"flex"},children:(0,n.jsx)(tZ,{ariaLabel:`Exclude ${p}`,ref:d,onClick:e=>{s&&!e.defaultPrevented&&(c(void 0,`NOT ${s.query}`),e.preventDefault())}})})})]})]})}try{t0.displayName||(t0.displayName="FacetOption")}catch{}function t1(){return(0,n.jsxs)("div",{"data-testid":"facets-skeleton",children:[(0,n.jsx)(t2,{widths:[196,186,128]}),(0,n.jsx)(t2,{widths:[158,158,144]})]})}function t2({widths:e}){return(0,n.jsxs)(k.A,{sx:{px:3},children:[(0,n.jsx)(tS,{sx:{mt:3,width:80,borderRadius:2,height:10}}),(0,n.jsx)(k.A,{sx:{display:"grid",gap:0,pt:2},children:e.map((e,t)=>(0,n.jsx)(t3,{width:e},t))}),(0,n.jsx)(tS,{height:1,mb:3,mt:2})]})}function t3({width:e}){return(0,n.jsxs)(k.A,{className:"item",sx:{display:"flex",height:32,alignItems:"center"},children:[(0,n.jsx)(tS,{width:16,borderRadius:3,height:16,mr:2}),(0,n.jsx)(tS,{borderRadius:3,height:12,maxWidth:e})]})}try{t1.displayName||(t1.displayName="FacetsSkeletonGroups")}catch{}try{t2.displayName||(t2.displayName="Group")}catch{}try{t3.displayName||(t3.displayName="Item")}catch{}let t6=`${tY}facet`;function t7({facets:e,allowNegation:t,searchType:s,isLoading:r,resultCount:i,mobile:o}){let d=a.useRef(null),u=x(),h=function(){let e=(0,c.zy)();return(0,a.useCallback)((t,s,r)=>{let{newQuery:i,newSearchParams:n}=f(e,t,s,r);return(0,l.IDI)(l.oef,void 0,{...n,q:i}).href},[e])}(),{focusHint:m,context:g,setFocusHint:y}=(0,w.e)();if(r)return(0,n.jsx)(t1,{});let j=s&&function(e,t){switch(e){case"issues":case"pullrequests":return[{title:"State",items:[{name:"Open",query:"",shouldNavigate:!0,visual:(0,n.jsx)(T.A,{icon:N.IssueOpenedIcon,sx:{color:"success.fg"},size:16}),searchParams:{state:"open"}},{name:"Closed",query:"",shouldNavigate:!0,visual:(0,n.jsx)(T.A,{icon:N.CheckCircleIcon,sx:{color:"done.fg"},size:16}),searchParams:{state:"closed"}}],kind:"state",onClick:(e,s)=>{t(void 0,` ${s.query}`,{p:null,...s.searchParams},p(e))}}];default:return[]}}(s,u)||[],b=s&&function(e){switch(e){case"code":case"codelegacy":return[{name:"Owner",query:"owner:"},{name:"Symbol",query:"symbol:"},{name:"Exclude archived",query:"NOT is:archived",shouldNavigate:!0}];case"repositories":return[{name:"Owner",query:"owner:"},{name:"Size",query:"size:"},{name:"Number of followers",query:"followers:"},{name:"Number of forks",query:"forks:"},{name:"Number of stars",query:"stars:"},{name:"Date created",query:"created:"},{name:"Date pushed",query:"pushed:"},{name:"Topic",query:"topic:"},{name:"License",query:"license:"},{name:"Archived",query:"archived:"},{name:"Public",query:"is:public",shouldNavigate:!0},{name:"Private",query:"is:private",shouldNavigate:!0}];case"issues":return[{name:"Owner",query:"owner:"},{name:"State",query:"state:"},{name:"Close reason",query:"reason:"},{name:"Has linked pull request",query:"linked:pr",shouldNavigate:!0},{name:"Author",query:"author:"},{name:"Assignee",query:"assignee:"},{name:"Mentioned user",query:"mentions:"},{name:"Mentioned team",query:"team:"},{name:"Commenter",query:"commenter:"},{name:"Involved user",query:"involves:"},{name:"Label",query:"label:"},{name:"Milestone",query:"milestone:"},{name:"Number of comments",query:"comments:"},{name:"Number of interactions",query:"interactions:"}];case"pullrequests":return[{name:"Owner",query:"owner:"},{name:"State",query:"state:"},{name:"CI status",query:"status:"},{name:"Review status",query:"review:"},{name:"Close reason",query:"reason:"},{name:"Author",query:"author:"},{name:"Assignee",query:"assignee:"},{name:"Mentioned user",query:"mentions:"},{name:"Mentioned team",query:"team:"},{name:"Commenter",query:"commenter:"},{name:"Involved user",query:"involves:"},{name:"Label",query:"label:"},{name:"Milestone",query:"milestone:"},{name:"Number of comments",query:"comments:"},{name:"Number of interactions",query:"interactions:"},{name:"Merged",query:"is:merged",shouldNavigate:!0},{name:"Not merged",query:"is:unmerged",shouldNavigate:!0}];case"commits":return[{name:"Organization",query:"org:"},{name:"Author",query:"author:"},{name:"Committer",query:"committer:"},{name:"Author email",query:"author-email:"},{name:"Committer email",query:"committer-email:"},{name:"Merge commits",query:"merge:"},{name:"Hash",query:"hash:"},{name:"Parent hash",query:"parent:"},{name:"Tree hash",query:"tree:"},{name:"Public",query:"is:public",shouldNavigate:!0},{name:"Private",query:"is:private",shouldNavigate:!0}];case"discussions":return[{name:"Organization",query:"org:"},{name:"Author",query:"author:"},{name:"Involves user",query:"involves:"},{name:"Commenter",query:"commenter:"},{name:"Number of comments",query:"comments:"},{name:"Public",query:"is:public",shouldNavigate:!0},{name:"Private",query:"is:private",shouldNavigate:!0}];case"registrypackages":return[{name:"Organization",query:"org:"},{name:"User",query:"user:"},{name:"Public",query:"is:public",shouldNavigate:!0},{name:"Private",query:"is:private",shouldNavigate:!0}];case"users":return[{name:"Organization",query:"org:"},{name:"Full name",query:"fullname:"},{name:"Number of repositories",query:"repos:"},{name:"Number of followers",query:"followers:"},{name:"Location",query:"location:"},{name:"Language",query:"language:"},{name:"Creation date",query:"created:"},{name:"Sponsorable",query:"is:sponsorable",shouldNavigate:!0}];case"topics":return[{name:"Curated topics",query:"is:curated",shouldNavigate:!0},{name:"Featured topics",query:"is:featured",shouldNavigate:!0},{name:"Number of repositories",query:"repositories:"},{name:"Creation date",query:"created:"}];case"wikis":return[{name:"User",query:"user:"},{name:"Organization",query:"org:"},{name:"Repository",query:"repo:"},{name:"Last updated date",query:"updated:"}]}return[]}(s)||[];if(!r&&0===(i||0))return null;if(e)for(let t of e){let e;0!==t.entries.length&&(t.kind===tE?e={text:"More languages...",ref:d,onClick:()=>{(0,t$.Z)({appendQuery:"language:",returnTarget:d.current??void 0})}}:t.kind===tW?e={text:"More repositories...",ref:d,onClick:()=>{(0,t$.Z)({appendQuery:"repo:",returnTarget:d.current??void 0})}}:t.kind===tq&&(e={text:"More directories...",ref:d,onClick:()=>{(0,t$.Z)({appendQuery:"path:",returnTarget:d.current??void 0})}}),j.push({items:t.entries.map(e=>({...e,shouldNavigate:!0})),onClick:(e,s)=>{if(!s||e.defaultPrevented)return;let r=t.kind===tE?s.name:null;u(void 0,s.query,{l:r,...s.searchParams},p(e)),e.preventDefault()},footerItem:e,kind:t.kind,title:{[tE]:"Languages",[tW]:"Repositories",[tq]:"Paths",[tF]:"Types"}[t.kind]||""}))}return b&&b.length&&j.push({title:"Advanced",items:b,onClick:(e,t)=>{t&&!e.defaultPrevented&&(t.shouldNavigate?u(void 0,` ${t.query}`,{p:null},p(e)):(0,t$.Z)({appendQuery:t.query}),e.preventDefault())},kind:"filter"}),(0,n.jsxs)(n.Fragment,{children:[j.length>1&&(0,n.jsx)(K.l.Divider,{sx:{mx:2,my:2,display:["none","none","block"]}}),j.map((e,s,r)=>(0,n.jsxs)(K.l.Group,{children:[(0,n.jsx)(K.l.GroupHeading,{as:"h3",children:e.title}),e.items.map((r,i)=>(0,n.jsx)(t0,{item:r,autofocus:m===t6&&g===s&&0===i,onSelect:t=>{y(t6,s),e.onClick?.(t,r),t.preventDefault(),t.stopPropagation()},href:h(void 0,r.query,{...r.searchParams,l:null,p:null}),kind:e.kind,allowNegation:t,mobile:o},`${i}`)),e.footerItem&&(0,n.jsxs)(K.l.LinkItem,{as:"button",tabIndex:0,onClick:t=>{e.footerItem?.onClick(),t.preventDefault(),t.stopPropagation()},sx:{alignItems:"center",height:32,minWidth:0,textAlign:"left","&:is(button)":{display:"flex"}},ref:e.footerItem.ref,children:[(0,n.jsx)(K.l.LeadingVisual,{sx:{mx:2,color:"fg.muted"},children:(0,n.jsx)(N.PlusCircleIcon,{})}),(0,n.jsx)(H,{title:e.footerItem.text,side:"right",sx:{maxWidth:"100%"},children:e.footerItem.text})]}),s!==r.length-1&&(0,n.jsx)(K.l.Divider,{sx:{mx:2,my:2}},`${e.title}-${s}-divider`)]},`${e.title}-${s}`))]})}let t4=a.memo(t7);try{t7.displayName||(t7.displayName="FilterGroups")}catch{}function t5({facets:e,allowNegation:t,selectedType:s,searchKinds:r,searchType:i,resultCount:a,isLoading:o,isLoadingCounters:l}){return(0,n.jsx)(k.A,{sx:{fontSize:1,fontWeight:"normal",display:"flex",flexDirection:"column"},children:(0,n.jsx)("div",{"data-testid":"desktop-filters",children:(0,n.jsxs)(K.l,{"aria-labelledby":"search-filters-title","data-testid":"filter-groups",children:[(0,n.jsx)(tT,{isLoadingCounters:l,isMobile:!1,selectedType:s,searchKinds:r}),(0,n.jsx)(t4,{facets:e,searchType:i,allowNegation:t,isLoading:o,resultCount:a}),(0,n.jsx)(K.l.Divider,{sx:{mx:2,my:2}}),(0,n.jsx)(tw,{})]})})})}function t9({selectedType:e,searchKinds:t,isLoading:s,isLoadingCounters:r,facets:i,searchType:a,resultCount:o}){return(0,n.jsxs)(tv.M.Pane,{"aria-labelledby":"search-filters-title",position:"start",divider:"line",width:"medium",resizable:!0,widthStorageKey:"search-sidebar-width",sticky:!0,hidden:{narrow:!0,regular:!1,wide:!1},children:[(0,n.jsx)(I.A,{as:"h2",id:"search-filters-title",sx:{fontWeight:"semibold",px:3,pt:3,pb:2,fontSize:2},children:"Filter by"}),(0,n.jsx)(k.A,{"data-testid":"facets-pane",sx:{pt:1,px:2,display:"flex",flexDirection:"column"},children:(0,n.jsx)(k.A,{sx:{flex:1},children:(0,n.jsx)(t5,{facets:i,resultCount:o,allowNegation:"code"===a,selectedType:e,searchType:a,searchKinds:t,isLoading:s,isLoadingCounters:r})})})]})}function t8({facets:e,allowNegation:t,searchType:s,resultCount:r,isLoading:i}){return(0,n.jsx)(k.A,{sx:{fontSize:1,fontWeight:"normal",display:"flex",flexDirection:"column"},children:(0,n.jsx)("div",{"data-testid":"mobile-filters",children:(0,n.jsx)(K.l,{"aria-labelledby":"search-filters-title","data-testid":"mobile-filter-groups",children:(0,n.jsx)(t4,{facets:e,searchType:s,allowNegation:t,isLoading:i,resultCount:r,mobile:!0})})})})}function se({selectedType:e,searchKinds:t,isLoading:s,isLoadingCounters:r,facets:i,searchType:a,resultCount:o}){return(0,n.jsx)(k.A,{"data-testid":"facets-pane",sx:{display:"flex",flexDirection:"column"},children:(0,n.jsx)(k.A,{sx:{flex:1},children:(0,n.jsx)(t8,{facets:i,resultCount:o,allowNegation:"code"===a,selectedType:e,searchType:a,searchKinds:t,isLoading:s,isLoadingCounters:r})})})}try{t5.displayName||(t5.displayName="FacetList")}catch{}try{t9.displayName||(t9.displayName="FacetsPane")}catch{}try{t8.displayName||(t8.displayName="MobileFacetList")}catch{}try{se.displayName||(se.displayName="FacetsDialogContent")}catch{}var st=s(84217);function ss({resultKind:e,searchKinds:t,isLoadingCounters:s}){let r=`Try one of the tips below to find more ${e.readableNamePlural}`;if(!s){let s;let i=t.filter(t=>t.name!==e.name&&t.total&&t.total>0);switch(i.sort(function(e,t){return(t.total||0)-(e.total||0)}),i.length){case 0:s=null;break;case 1:s=(0,n.jsx)(sr,{kind:i[0]},i[0].name);break;default:s=(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(sr,{kind:i[0]},i[0].name)," and"," ",(0,n.jsx)(sr,{kind:i[1]},i[1].name)]})}r=s?(0,n.jsxs)(n.Fragment,{children:["However we found ",s," that matched your search query. Alternatively try one of the tips below."]}):(0,n.jsx)(n.Fragment,{children:"You could try one of the tips below."})}return(0,n.jsx)(k.A,{sx:{display:"flex",flexDirection:["column","column","column","row"],alignItems:"center"},children:(0,n.jsxs)(k.A,{sx:{mt:[2,2,2,0],pb:1},children:[(0,n.jsxs)(st.A,{as:"h3",sx:{fontSize:[2,2,3,3,3],textAlign:["center","center","center","center","left"]},children:["Your search did not match any ",e.readableNamePlural]}),(0,n.jsx)(I.A,{as:"p",sx:{mt:2,display:"block",fontSize:[1,1,1,1,1],color:"fg.muted",textAlign:["center","center","center","center","left"]},children:r})]})})}function sr({kind:e}){let[t,s]=tI(l.oef,void 0,{p:null,type:e.name,l:null,s:null,o:null}),r=1===e.total?e.readableName:e.readableNamePlural;return"code"===r&&(r=1===e.total?"code result":"code results"),(0,n.jsxs)(C.A,{onClick:e=>s(e),href:t,children:[eq(e.total||0)," ",r.toLowerCase()]})}try{ss.displayName||(ss.displayName="Header")}catch{}try{sr.displayName||(sr.displayName="TabSwitcherLink")}catch{}function si({resultKind:e}){let{search:t}=(0,c.zy)(),s=new URLSearchParams(t).get("q"),r=(0,l.yH8)(l.yMx,void 0,{q:s});return"code"===e.name?null:(0,n.jsxs)(I.A,{sx:{mt:2,textAlign:["center","center","center","left"],width:"100%",display:"block",fontSize:0},children:["You could try an"," ",(0,n.jsx)(C.A,{inline:!0,href:r,children:"advanced search"}),"."]})}try{si.displayName||(si.displayName="Footer")}catch{}var sn=s(72010),sa=s(38695);function so({data:e}){return(0,n.jsx)(k.A,{sx:{display:"flex",justifyContent:["center","center","center","flex-start"],mt:[2,2,2,0,0]},children:(0,n.jsx)(k.A,{sx:{mt:3,width:"100%"},children:e.map((t,s)=>(0,n.jsx)(sl,{name:t.name,defaultOpen:0===s,isLastItem:s+1===e.length,children:t.content},t.name))})})}function sl({children:e,name:t,isLastItem:s,defaultOpen:r=!1}){let{getDetailsProps:i,open:a}=(0,sn.A)({closeOnOutsideClick:!1}),{onToggle:o,ref:l,...c}=i();return(0,n.jsxs)(sa.A,{...c,ref:l,open:r,onToggle:o,sx:{":first-child summary":{borderTopLeftRadius:2,borderTopRightRadius:2},":last-child summary":{borderBottomLeftRadius:s&&a?0:2,borderBottomRightRadius:s&&a?0:2,borderBottomWidth:1}},children:[(0,n.jsxs)(k.A,{as:"summary",sx:{py:2,userSelect:"none",px:3,height:a?41:40,listStyle:"none",borderColor:"border.default",borderWidth:1,borderBottomWidth:a?1:0,borderStyle:"solid",cursor:"pointer",display:"flex",alignItems:"center",":hover":{bg:"canvas.inset"},"::marker":{display:"none"},"::-webkit-details-marker":{display:"none"}},children:[(0,n.jsx)(I.A,{sx:{fontSize:1,fontWeight:"semibold",flex:1},children:t}),a?(0,n.jsx)(N.ChevronUpIcon,{size:16}):(0,n.jsx)(N.ChevronDownIcon,{size:16})]}),a&&(0,n.jsx)(k.A,{sx:{borderColor:"border.default",borderStyle:"solid",borderTopWidth:0,borderLeftWidth:1,borderRightWidth:1,borderBottomLeftRadius:s&&a?2:0,borderBottomRightRadius:s&&a?2:0,borderBottomWidth:s&&a?1:0,p:3,fontSize:0},children:e})]})}try{so.displayName||(so.displayName="Tips")}catch{}try{sl.displayName||(sl.displayName="TipItem")}catch{}function sc({data:e}){return(0,n.jsx)(k.A,{sx:{display:"grid",gridTemplateColumns:["auto","auto","180px auto"]},children:e.map((t,s)=>{let r=s+1===e.length;return(0,n.jsxs)(a.Fragment,{children:[(0,n.jsx)(k.A,{sx:{pb:[1,1,2],height:["auto","auto",40],display:"flex",alignItems:"center",pt:0===s?0:2},children:(0,n.jsx)(I.A,{sx:{fontSize:0,fontWeight:"semibold"},children:t.name})}),(0,n.jsx)(k.A,{sx:{borderBottomColor:"border.subtle",borderBottomWidth:[1,1,r?0:1],borderBottomStyle:"solid",pb:[3,3,2],mb:[2,2,0],pt:[2,2,0===s?0:2],display:"flex",alignItems:"center"},children:(0,n.jsx)(I.A,{sx:{fontSize:0,fontFamily:"mono",lineHeight:2},children:t.value})})]},t.name)})})}try{sc.displayName||(sc.displayName="TipsContentList")}catch{}function sd({resultKind:e,searchKinds:t,isLoadingCounters:s}){return(0,n.jsxs)(k.A,{"data-hpc":!0,sx:{width:"100%",flex:1,display:"grid",gridTemplateColumns:["1fr","1fr","1fr","1fr","auto 1fr"],gridGap:[2,2,4,4,6],pr:[0,0,6,8,12],pl:[0,0,6,7,7],borderStyle:"solid",borderWidth:[0,0,1,1],borderRadius:2,borderColor:"border.default",py:[6,7,8,10,12]},children:[(0,n.jsx)(k.A,{sx:{display:"flex",justifyContent:"center",alignItems:"flex-start"},children:(0,n.jsx)(k.A,{sx:{display:"flex"},children:(0,n.jsx)(k.A,{sx:{maxWidth:[250,300,380,400,500],width:"100%",pb:[2,2,2,2,0]},children:(0,n.jsx)(el,{})})})}),(0,n.jsxs)(k.A,{sx:{maxWidth:["100%","100%","100%",600],minWidth:["100%","100%","100%",500],mx:["auto","auto","auto","auto",0]},children:[(0,n.jsx)(ss,{resultKind:e,searchKinds:t,isLoadingCounters:s}),(0,n.jsx)(so,{data:function({resultKind:e}){return[{name:"Search across repositories",show:["code","codelegacy","issues","pullrequests","commits","discussions","registrypackages","marketplace","topics","wikis","users"],content:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(sc,{data:[{name:"Within a repository:",value:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(I.A,{sx:{color:"accent.fg"},children:"repo:"}),"github/linguist"]})},{name:"Across several:",value:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(I.A,{sx:{color:"accent.fg"},children:"repo:"}),"github/linguist ",(0,n.jsx)(I.A,{sx:{color:"done.fg"},children:"OR"})," ",(0,n.jsx)(I.A,{sx:{color:"accent.fg"},children:"repo:"}),"github/fetch"]})}]}),(0,n.jsxs)(k.A,{sx:{mt:2,fontSize:0,color:"fg.muted"},children:["Note that we don't currently support regular expressions in the repo or org qualifiers. For more information on search syntax, see our"," ",(0,n.jsx)(C.A,{inline:!0,href:"https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax",children:"syntax guide"}),"."]})]})},{name:"Search across an organization",show:["code","codelegacy","repositories","issues","pullrequests","commits","discussions","registrypackages","marketplace","topics","wikis","users"],content:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(sc,{data:[{name:"Within an organization:",value:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(I.A,{sx:{color:"accent.fg"},children:"org:"}),"rails"]})},{name:"User's code:",value:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(I.A,{sx:{color:"accent.fg"},children:"user:"}),"mona"]})}]}),(0,n.jsxs)(k.A,{sx:{mt:2,fontSize:0,color:"fg.muted"},children:["Note that we don't currently support regular expressions in the repo or org qualifiers. For more information on search syntax, see our"," ",(0,n.jsx)(C.A,{inline:!0,href:"https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax",children:"syntax guide"}),"."]})]})},{name:"Find a particular file extension",show:["code","codelegacy"],content:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(sc,{data:[{name:"With .txt extensions:",value:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(I.A,{sx:{color:"accent.fg"},children:"path:"}),"*.txt"]})},{name:"JavaScript and TypeScript files:",value:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(I.A,{sx:{color:"accent.fg"},children:"path:"}),"*.js ",(0,n.jsx)(I.A,{sx:{color:"done.fg"},children:"OR"})," ",(0,n.jsx)(I.A,{sx:{color:"accent.fg"},children:"path:"}),"*.ts"]})}]}),(0,n.jsxs)(k.A,{sx:{mt:2,fontSize:0,color:"fg.muted"},children:["The path qualifier can search the entire file path, not just the extension, and supports regular expressions. For more information, see our"," ",(0,n.jsx)(C.A,{inline:!0,href:"https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax",children:"syntax guide"}),"."]})]})},{name:"Why wasn't my code found?",show:["code"],content:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(I.A,{as:"p",sx:{fontSize:0},children:["When you search within a repository for the first time, please note that the repository undergoes indexing."," ",(0,n.jsx)(I.A,{sx:{fontWeight:"bold"},children:"This process may take a few minutes."})," "]}),(0,n.jsx)(I.A,{as:"p",sx:{display:"block"},children:"The index currently includes more than 70 million popular public repositories, plus all private repositories that users search for."}),(0,n.jsx)("p",{children:"Beyond that, we also don't include all files in the search index:"}),(0,n.jsx)(k.A,{as:"p",sx:{pl:3},children:(0,n.jsxs)("ul",{children:[(0,n.jsx)("li",{children:"Vendored and generated code is excluded"}),(0,n.jsx)("li",{children:"Empty files and files over 350 kiB are excluded"}),(0,n.jsx)("li",{children:"Only UTF-8 encoded files are indexed"}),(0,n.jsx)("li",{children:"Very large repositories may not be indexed"})]})}),(0,n.jsxs)(I.A,{as:"p",sx:{fontSize:0,color:"fg.muted"},children:["We intend to continue to increase the amount of code available in the index as much as possible. If we are missing files that are useful to you, feel free to"," ",(0,n.jsx)(C.A,{inline:!0,href:"#",onClick:e=>{v(),e.preventDefault(),e.stopPropagation()},children:"provide feedback here"}),"."]})]})},{name:"Why wasn't my code found?",show:["codelegacy"],content:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(I.A,{as:"p",sx:{fontSize:0},children:"In rare cases your file might not be indexed, for example we don't index"}),(0,n.jsx)(k.A,{as:"p",sx:{pl:3},children:(0,n.jsxs)("ul",{children:[(0,n.jsx)("li",{children:"Empty files and files over 350 kiB are excluded"}),(0,n.jsx)("li",{children:"Very large repositories may not be indexed"})]})})]})},{name:"Regular expressions",show:["code","codelegacy"],content:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(sc,{data:[{name:"Sparse followed by index:",value:"/sparse.*index/"},{name:"Lines that end with return:",value:"/return;$/"},{name:"File paths matching:",value:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(I.A,{sx:{color:"accent.fg"},children:"path:"}),"/^\\.github\\/workflows\\/.*\\.yaml$/"]})}]}),(0,n.jsxs)(k.A,{sx:{mt:2,fontSize:0,color:"fg.muted"},children:["Note that you'll have to escape any slashes in the regex. For more information, see our"," ",(0,n.jsx)(C.A,{inline:!0,href:"https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax",children:"syntax guide"}),"."]})]})},{name:"Saved searches",show:["code","codelegacy","repositories","issues","pullrequests","commits","discussions","registrypackages","marketplace","topics","wikis","users"],content:"Always searching within the same organization or set of repositories? Try constructing a query and click the save button in the top right corner."}].filter(t=>t.show.includes(e.name))}({resultKind:e})}),(0,n.jsx)(k.A,{sx:{pt:3,pb:[0,0,7]},children:(0,n.jsx)(si,{resultKind:e})})]})]})}try{sd.displayName||(sd.displayName="NoResults")}catch{}function su({error:e,index:t}){let{search:s}=(0,c.zy)(),r=new URLSearchParams(s).get("q"),i=e.type&&1!==e.type?"warning":"danger";return(0,n.jsxs)(L.A,{sx:{borderRadius:2,borderWidth:1,borderStyle:"solid",borderColor:"warning.muted"},variant:i,id:"search-error-message-flash",children:[(0,n.jsx)(T.A,{icon:N.AlertIcon}),e.message,(0,n.jsx)(sh,{query:r,ranges:e.ranges}),(0,n.jsx)(sp,{suggestion:e.suggestion})]},t)}function sh({query:e,ranges:t}){return(0,a.useMemo)(()=>{let s=[];if(t&&e){let r=0;for(let i of t){let t=i.start??0,a=i.end??0,o=e.slice(r,t);o.length>0&&s.push((0,n.jsx)("span",{children:o},`help-inner-${o}`)),r=t;let l=e.slice(i.start,a);l.length>0&&s.push((0,n.jsx)(I.A,{sx:{textDecoration:"underline dashed red"},children:l},`help-warning-${l}`)),r=a}let i=e.slice(r);if(i.length>0&&s.push((0,n.jsx)("span",{children:i},`help-${i}`)),s.length>0)return(0,n.jsx)(k.A,{className:"code-font-mono",sx:{fontFamily:"mono",mt:2},children:s})}return null},[t,e])}function sp({suggestion:e}){return(0,a.useMemo)(()=>{if(e){let t=`?q=${encodeURIComponent(e)}`;return(0,n.jsx)(k.A,{sx:{mt:2},children:(0,n.jsxs)(I.A,{sx:{fontSize:0},children:["Suggestion:"," ",(0,n.jsx)(C.A,{className:"code-font-mono",href:t,sx:{fontFamily:"mono"},children:e})]})})}return null},[e])}try{su.displayName||(su.displayName="SearchError")}catch{}try{sh.displayName||(sh.displayName="QueryHelpComponent")}catch{}try{sp.displayName||(sp.displayName="SuggestionComponent")}catch{}var sx=s(60717);let sm=`${tY}blackbird-sort-menu`;function sf({sortItems:e,onlyGroup:t}){let{search:s}=(0,c.zy)(),r=new URLSearchParams(s),i=r.get("s")||tP.sort,a=r.get("o")||tP.order,o=e.findIndex(e=>e.sort===i&&e.order===a)||0,l=e[o]?.label??"",{focusHint:d,setFocusHint:u}=(0,w.e)(),h=e.map(({label:e,sort:t,order:s},r)=>(0,n.jsx)(sg,{label:e,sort:t,order:s,isSelected:o===r,setFocusHint:u},`${t}-${s}`));return t?(0,n.jsxs)(K.l.Group,{selectionVariant:"single",sx:{display:["block","block","none"]},children:[(0,n.jsx)(K.l.GroupHeading,{children:"Sort by"}),h]}):(0,n.jsxs)(X.W,{children:[(0,n.jsxs)(X.W.Button,{"data-testid":"sort-button",size:"small",sx:{bg:"btn.bg"},"data-react-autofocus":d===sm||null,children:[(0,n.jsx)(I.A,{sx:{color:"fg.muted"},children:"Sort by: "})," ",l]}),(0,n.jsx)(X.W.Overlay,{align:"end",width:"small",children:(0,n.jsx)(K.l,{selectionVariant:"single",children:h})})]})}function sg({label:e,sort:t,order:s,isSelected:r,setFocusHint:i}){let[,a]=tI(l.oef,void 0,{p:null,s:t,o:s});return(0,n.jsx)(K.l.Item,{onSelect:()=>{i(sm),a()},selected:r,children:e})}try{sf.displayName||(sf.displayName="SortMenu")}catch{}try{sg.displayName||(sg.displayName="SortMenuItem")}catch{}var sy=s(51528);function sj({isCode:e,onClickSave:t,sortItems:s,isMobile:r,openExperimentsDialog:i,refreshSearch:o}){let l=(0,a.useMemo)(()=>(0,sy.X)(),[]),c=tL(),d=(0,h.WB)();return(0,n.jsxs)(X.W,{children:[(0,n.jsx)(X.W.Anchor,{children:(0,n.jsx)(V.K,{unsafeDisableTooltip:!0,icon:N.KebabHorizontalIcon,size:"small","aria-label":"Open column options",sx:{color:"fg.muted"}})}),(0,n.jsx)(X.W.Overlay,{align:"end",width:e?"medium":"small",children:(0,n.jsxs)(K.l,{children:[s&&r&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(sf,{onlyGroup:!0,sortItems:s}),r&&(0,n.jsx)(K.l.Divider,{})]}),(0,n.jsxs)(K.l.Group,{children:[e||s&&r?(0,n.jsx)(K.l.GroupHeading,{children:"More options"}):null,r&&(0,n.jsxs)(K.l.Item,{onSelect:t,children:[(0,n.jsx)(K.l.LeadingVisual,{children:(0,n.jsx)(N.BookmarkIcon,{})}),"Save ",r&&"your search"]}),(0,n.jsxs)(K.l.LinkItem,{href:"https://docs.github.com/search-github",children:[(0,n.jsx)(K.l.LeadingVisual,{children:(0,n.jsx)(N.BookIcon,{})}),"View search docs"]}),c&&(0,n.jsxs)(K.l.LinkItem,{href:"#",onClick:e=>{v(),e.preventDefault(),e.stopPropagation()},children:[(0,n.jsx)(K.l.LeadingVisual,{children:(0,n.jsx)(N.CommentIcon,{})}),"Give feedback"]}),(0,n.jsxs)(K.l.LinkItem,{href:"https://github.com/search/advanced",children:[(0,n.jsx)(K.l.LeadingVisual,{children:(0,n.jsx)(N.LinkExternalIcon,{})}),"Advanced search"]}),l&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(K.l.Divider,{}),(0,n.jsxs)(K.l.Group,{children:[(0,n.jsx)(K.l.GroupHeading,{children:"Staff"}),(0,n.jsxs)(K.l.Item,{onSelect:()=>i(),children:[(0,n.jsx)(K.l.LeadingVisual,{children:(0,n.jsx)(N.BeakerIcon,{})}),"Experiments"]}),(0,n.jsxs)(K.l.Item,{onSelect:()=>{(0,h.EL)(!d),o()},children:[(0,n.jsx)(K.l.LeadingVisual,{children:(0,n.jsx)(N.BeakerIcon,{})}),d?"Hide":"Show"," debug scoring info"]})]})]})]})]})})]})}try{sj.displayName||(sj.displayName="ExtraMenu")}catch{}var sb=s(86079);function sv({selectedType:e,searchKinds:t,isLoadingCounters:s}){let r=t?.find(t=>t.name===e)||t[0],a=tL();return(0,n.jsxs)(X.W,{children:[(0,n.jsx)(X.W.Anchor,{children:(0,n.jsxs)(R.Q,{size:"small",trailingVisual:N.ChevronDownIcon,"data-testid":"type-switcher","aria-label":"Filter by type",sx:{mr:2,span:{m:0}},children:[eJ(r.readableNamePlural),(0,n.jsx)(k.A,{as:"span",sx:{pl:1},children:"code"!==e||a?(0,n.jsx)(tN,{resultCountIsLowerBound:r.mode===i.LowerBound,totalResults:r.total||0,isLoading:void 0===r.total}):(0,n.jsx)(t_.A,{"data-testid":"resolved-count-label",sx:{height:20,lineHeight:"20px",py:0,px:2},children:"..."})})]})}),(0,n.jsx)(X.W.Overlay,{width:"small",children:(0,n.jsx)(K.l,{selectionVariant:"single","data-testid":"type-switcher-options",children:(0,n.jsx)(tT,{isLoadingCounters:s,selectedType:e,searchKinds:t,isMobile:!0})})})]})}try{sv.displayName||(sv.displayName="TypeMobileDropdown")}catch{}var sw=s(16255),s_=s(67749);let sk=({onDismiss:e,onSave:t})=>{let[s,r]=(0,a.useState)(()=>(0,h.Bx)().join(",")),[i,o]=(0,a.useState)(void 0),l=()=>{let r=[];for(let e of s.split(","))if(""!==e.trim()){if(2!==e.split("=").length){o("Invalid experiment key=value pair");return}r.push(e)}(0,h.nc)(r),t(),e()};return(0,n.jsx)(sw.Z,{children:(0,n.jsxs)(sb.l,{onClose:e,title:"Experiments",width:"xlarge",children:[(0,n.jsx)(sb.l.Body,{children:(0,n.jsxs)(k.A,{sx:{p:3},children:[(0,n.jsxs)("span",{children:["List experiments as comma separated ",(0,n.jsx)("code",{children:"key=value"})," pairs. To see available experiments,"," ",(0,n.jsx)(C.A,{inline:!0,target:"_blank",href:`/search?q=${encodeURIComponent('repo:github/blackbird-mw "var StaffEnabled = Experiments"')}`,children:"read this code"}),"."]}),(0,n.jsx)(s_.A,{sx:{width:"100%",my:2},"aria-label":"Experiments",name:"experiments",value:s,onChange:e=>r(e.target.value),onKeyDown:e=>{"Enter"===e.key&&l()}}),(0,n.jsx)("span",{children:i})]})}),(0,n.jsx)(sb.l.Footer,{children:(0,n.jsx)(sb.l.Buttons,{buttons:[{type:"button",onClick:e,content:"Cancel"},{type:"submit",onClick:l,content:"Save",buttonType:"primary"}]})})]})})};try{sk.displayName||(sk.displayName="ExperimentsDialog")}catch{}function sA({payload:e,selectedType:t,searchKinds:s,isLoadingCounters:r,isLoading:i}){let[o,l]=a.useState(!1),[d,u]=a.useState(!1),p=a.useCallback(()=>l(!0),[l]),m=a.useCallback(()=>l(!1),[l]),f=tL(),g=x(),y=function(e){switch(e){case"codelegacy":return tO;case"commits":return tB;case"discussions":return tX;case"registrypackages":return tV;case"repositories":return tU;case"users":return tK;case"wikis":return tQ;case"issues":case"pullrequests":return tG;default:return}}(e.type),j="code"===e.type,b="codelegacy"===e.type,v=j||b,_=e=>{let t=new CustomEvent("blackbird_monolith_save_query_as_custom_scope",{detail:e.currentTarget});window.dispatchEvent(t)},A=new URLSearchParams((0,c.zy)().search).get("q")||"",C=s?.find(e=>e.name===t)||s[0],S=(0,h.WB)(),{focusHint:I}=(0,w.e)();return(0,a.useEffect)(()=>{if(!i){let e=document.getElementById("search-results-count");I?.startsWith(tY)||e?.focus()}}),(0,n.jsx)("div",{"data-testid":"search-sub-header",children:(0,n.jsxs)(k.A,{sx:{alignItems:"center",display:"flex",flexDirection:"row",flexWrap:"wrap",gap:2},children:[f||!j?(0,n.jsx)(sC,{isLoadingCounters:r,elapsedMilliseconds:e.elapsed_millis,searchKinds:s,searchKindCount:C,query:A}):(0,n.jsx)(k.A,{sx:{flex:2},children:(0,n.jsx)(k.A,{sx:{display:["block","block","none"]},children:(0,n.jsx)(sv,{selectedType:C.name,searchKinds:s,isLoadingCounters:r})})}),j&&S&&(0,n.jsx)("div",{children:`cost=${e.metadata?.total_cost} retries=${e.metadata?.retries} limit_reached=${e.metadata?.limit_reached}`}),(0,n.jsxs)(k.A,{sx:{display:"flex",flexShrink:0},children:[y&&(0,n.jsx)(k.A,{sx:{display:["none","none","block"],mr:2},children:(0,n.jsx)(sf,{onlyGroup:!1,sortItems:y})}),f&&(0,n.jsx)(k.A,{sx:{display:["none","none","block"],mr:2},children:(0,n.jsx)(R.Q,{onClick:_,size:"small",children:(0,n.jsxs)(k.A,{sx:{flexDirection:"row",alignItems:"center"},children:[(0,n.jsx)(T.A,{icon:N.BookmarkIcon,sx:{mr:1}}),"Save"]})})}),(0,n.jsxs)(k.A,{sx:{display:0===(C.total||0)?"none":["block","block","none"],mr:2},children:[(0,n.jsx)(R.Q,{onClick:p,size:"small","data-testid":"filter-button",leadingVisual:N.FilterIcon,children:"Filter"}),o&&(0,n.jsx)(sb.l,{title:"Filters",renderBody:()=>(0,n.jsx)(k.A,{sx:{overflow:"scroll"},children:(0,n.jsx)(se,{facets:e.facets,searchType:e.type,isLoading:i,isLoadingCounters:r,searchKinds:s,selectedType:t,resultCount:e.result_count})}),onClose:m,position:{narrow:"bottom",wide:"center"}})]}),(0,n.jsx)(k.A,{sx:{display:["block","block","none"]},children:(0,n.jsx)(sj,{sortItems:y,isCode:v,onClickSave:_,openExperimentsDialog:()=>u(!0),refreshSearch:()=>g(A,void 0),isMobile:!0})}),d&&(0,n.jsx)(sk,{onDismiss:()=>u(!1),onSave:()=>g(A,void 0)}),(0,n.jsx)(k.A,{sx:{display:["none","none","block"]},children:(0,n.jsx)(sj,{isCode:v,sortItems:y,onClickSave:_,openExperimentsDialog:()=>u(!0),refreshSearch:()=>g(A,void 0),isMobile:!1})})]})]})})}function sC({elapsedMilliseconds:e,searchKinds:t,searchKindCount:s,isLoadingCounters:r,query:a}){let{focusHint:o}=(0,w.e)(),l=e>=1e3,c="code"===s.name?"file":"result",d=1===s.total?` ${c} `:` ${c}s `,u=l?Math.round(e/1e3):e,h=(s.mode===i.Approximate?"About ":"")+(s.mode===i.LowerBound?"More than ":"")+function(e,t=0){return eq(e)+(2===t?"+":"")}(s.total||0)+d;return(0,n.jsxs)(I.A,{sx:{display:"flex",flexDirection:"row",alignItems:"baseline",flex:2,rowGap:1,fontSize:2,flexWrap:"wrap"},children:[(0,n.jsx)(k.A,{sx:{display:["block","block","none"]},children:(0,n.jsx)(sv,{selectedType:s.name,searchKinds:t,isLoadingCounters:r})}),(0,n.jsxs)(I.A,{sx:{fontWeight:"semibold",pr:1,display:["none","none","flex"],justifyContent:"center",flexShrink:0,alignItems:"baseline"},children:[(0,n.jsx)(k.A,{sx:{display:"inline"},children:h}),(0,n.jsxs)(I.A,{sx:{fontSize:0,fontWeight:"normal",color:"fg.muted"},children:["\xa0(",u," ",l?"s":"ms",")"]})]}),(0,n.jsx)("h2",{id:"search-results-count",className:"sr-only","data-react-autofocus":!o?.startsWith(tY)||null,tabIndex:-1,children:h}),(0,n.jsx)(sS,{query:a})]})}function sS({query:e}){let t=x(),s=(0,u.parseString)(e||"");if(!s.children||0===s.children.length)return null;let r=["And","Or","Not","Group"];if(0!==s.children.filter(e=>r.includes(e.kind)).length)return null;let i=s.children.filter(e=>"Qualifier"===e.kind&&("Repo"===e.qualifier||"Org"===e.qualifier||"User"===e.qualifier));if(!i||1!==i.length||"Nothing"===i[0].content.kind)return null;let a=i[0],o=a.location.start,l=a.content.location.end;return(0,n.jsxs)(I.A,{sx:{fontSize:0,fontWeight:"normal",color:"fg.muted",display:"inline-flex",alignItems:"center",maxWidth:"100%"},children:["in",(0,n.jsx)(sx.A,{as:"a",size:"medium",href:`/${a.content.value.toString()}`,text:a.content.value.toString(),onRemove:()=>{t(e=(e.substring(0,o)+e.substring(l)).trim(),void 0)},sx:{ml:1}})]})}try{sA.displayName||(sA.displayName="SearchSubHeader")}catch{}try{sC.displayName||(sC.displayName="ResultCount")}catch{}try{sS.displayName||(sS.displayName="FilterToken")}catch{}function sN(){return(0,n.jsxs)(k.A,{"data-testid":"code-items-skeleton",sx:{pt:0},children:[(0,n.jsx)(tS,{sx:{mb:4,width:190,borderRadius:2,height:10}}),(0,n.jsxs)(k.A,{sx:{display:"grid",gap:4},children:[(0,n.jsx)(sI,{widths:[431,309]}),(0,n.jsx)(sI,{widths:[475,457]}),(0,n.jsx)(sI,{widths:[423,480]})]})]})}function sI({widths:e}){return(0,n.jsxs)("div",{children:[(0,n.jsxs)(k.A,{sx:{display:"flex",alignItems:"center"},children:[(0,n.jsx)(tS,{width:16,borderRadius:3,height:16}),(0,n.jsx)(tS,{borderRadius:3,height:12,maxWidth:e[0],ml:2})]}),(0,n.jsx)(tS,{borderRadius:2,height:200,mt:3}),(0,n.jsx)(k.A,{sx:{display:"flex",mt:3},children:(0,n.jsx)(tS,{height:16,borderRadius:3,maxWidth:e[1]})})]})}try{sN.displayName||(sN.displayName="CodeItemsSkeleton")}catch{}try{sI.displayName||(sI.displayName="CodeItem")}catch{}function sR({topic:e,linkedTopic:t}){let{name:s,display_name:r,short_description:i,github_url:a,logo_url:o,development_logo_url:c,url:d,wikipedia_url:u}=e,h=a?new URL(a).pathname.substring(1):null,p=d?new URL(d).hostname.replace("www.",""):null,x=(0,l.dX8)({topicName:t}),m=c||o;return(0,n.jsxs)(k.A,{sx:{bg:"canvas.default",borderWidth:1,borderStyle:"solid",borderColor:"border.default",borderRadius:"6px",display:"flex",flexDirection:"column",pt:3,pb:1},children:[(0,n.jsxs)(k.A,{sx:{display:"flex",alignItems:"center",mb:2,mx:3},children:[m&&(0,n.jsx)(ec.r,{alt:t,src:m,size:24,square:!0,sx:{mr:2}}),(0,n.jsx)(I.A,{sx:{color:"fg.default",fontWeight:"semibold",fontSize:2},children:r??s})]}),(0,n.jsx)(k.A,{sx:{mx:3},children:(0,n.jsx)(I.A,{sx:{color:"fg.muted"},children:i})}),(0,n.jsxs)(K.l,{children:[d&&(0,n.jsxs)(K.l.LinkItem,{href:d,sx:{span:{color:"accent.fg"}},children:[(0,n.jsx)(K.l.LeadingVisual,{children:(0,n.jsx)(N.LinkIcon,{})}),p]}),u&&(0,n.jsxs)(K.l.LinkItem,{href:u,sx:{span:{color:"accent.fg"}},children:[(0,n.jsx)(K.l.LeadingVisual,{children:(0,n.jsx)(N.LinkIcon,{})}),"Wikipedia"]}),a&&(0,n.jsxs)(K.l.LinkItem,{href:a,sx:{color:"fg.muted"},children:[(0,n.jsx)(K.l.LeadingVisual,{children:(0,n.jsx)(N.RepoIcon,{})}),h]}),(0,n.jsxs)(K.l.LinkItem,{href:x,sx:{color:"fg.muted"},children:[(0,n.jsx)(K.l.LeadingVisual,{children:(0,n.jsx)(N.HashIcon,{})}),"View topic"]})]})]})}try{sR.displayName||(sR.displayName="FeaturedTopic")}catch{}function sL({payload:e}){return"repositories"===e.type&&e.topics?(0,n.jsx)(sR,{topic:e.topics.curated_topic,linkedTopic:e.topics?.linked_topic_name}):null}try{sL.displayName||(sL.displayName="PrimarySuggestions")}catch{}let sT=[{content:(0,n.jsxs)(n.Fragment,{children:["Press the"," ",(0,n.jsx)(k.A,{sx:{display:"inline-block"},className:"hx_kbd",children:"/"})," ","key to activate the search input again and adjust your query."]}),show:["code","codelegacy","repositories","commits","issues","pullrequests","discussions","registrypackages","topics","wikis","users","marketplace"]},{content:"Restrict your search to the title by using the in:title qualifier.",show:["issues","pullrequests"]}];function sz({payload:e}){let t=e.type,s=sT.filter(e=>e.show.includes(t)),r=s[Math.floor(Math.random()*s.length)];return r?(0,n.jsxs)(k.A,{sx:{fontSize:0,color:"fg.muted",p:[3,3,0,0]},children:[(0,n.jsxs)(k.A,{sx:{display:"inline-block",color:"attention.fg"},children:[(0,n.jsx)(T.A,{icon:N.LightBulbIcon,size:16,sx:{color:"attention.fg"}}),(0,n.jsx)(I.A,{sx:{pl:1,fontWeight:"bold"},children:"ProTip!"}),"\xa0"]}),(0,n.jsx)("span",{children:r.content})]}):null}try{sz.displayName||(sz.displayName="MiniTip")}catch{}function s$({title:e,description:t,cta:s,href:r,mediaPath:i,mediaPathRetina:a,mediaAlt:o}){let l=`${i} 1x`;return a&&(l+=`, ${a} 2x`),(0,n.jsxs)(k.A,{sx:{bg:"canvas.default",borderWidth:1,borderStyle:"solid",borderColor:"border.default",borderRadius:"6px",display:"flex",flexDirection:"column",p:3},children:[(0,n.jsx)("div",{children:(0,n.jsx)("img",{src:i,alt:o,srcSet:l})}),(0,n.jsx)(st.A,{as:"h2",sx:{fontSize:2,py:1,fontWeight:"semibold"},children:e}),(0,n.jsx)(I.A,{sx:{fontSize:0,color:"fg.muted",pb:3},children:t}),(0,n.jsxs)(C.A,{sx:{fontSize:0,fontWeight:"semibold",pb:2,display:"flex",alignItems:"center"},href:r,children:[s," ",(0,n.jsx)(T.A,{icon:N.ArrowRightIcon,size:16,sx:{color:"accent.fg",ml:1}})]})]})}try{s$.displayName||(s$.displayName="MarketingSuggestion")}catch{}function sE(){return(0,n.jsxs)(k.A,{sx:{bg:"canvas.default",borderWidth:1,borderStyle:"solid",borderColor:"border.default",borderRadius:"6px",p:3,py:2},children:[(0,n.jsx)(st.A,{as:"h2",sx:{fontSize:0,display:"inline-block",fontWeight:"semibolds"},children:"How can we improve search?"})," ",(0,n.jsx)(C.A,{sx:{fontSize:0,fontWeight:"semibold"},as:"button",onClick:e=>{v(),e.preventDefault(),e.stopPropagation()},children:(0,n.jsx)(I.A,{sx:{fontSize:0},children:"Give feedback"})})]})}try{sE.displayName||(sE.displayName="Feedback")}catch{}let sq=[{title:"Learn GitHub Packages",description:"GitHub Packages is a platform for hosting and managing packages, including containers and other dependencies. Get started with publishing or installing packages yourself.",mediaPath:"/images/modules/search/package.svg",mediaAlt:"Package Icon",cta:"Learn more about GitHub Packages",href:"/features/packages",show:["registrypackages"]},{title:"Sponsor open source projects you depend on",description:"Contributors are working behind the scenes to make open source better for everyone\u2014give them the help and recognition they deserve.",mediaPath:"/images/modules/search/mona-love.png",mediaPathRetina:"/images/modules/search/mona-love-2x.png",mediaAlt:"Package icon",cta:"Explore sponsorable projects",href:"https://github.com/sponsors/explore",show:["repositories","users"]},{title:"Learn how you can use GitHub Issues to plan and track your work.",description:"Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.",mediaPath:"/images/modules/search/issues.png",mediaPathRetina:"/images/modules/search/issues-2x.png",mediaAlt:"Issue origami icon",cta:"Learn more about GitHub Issues",href:"https://docs.github.com/issues",show:["issues"]}];function sW({payload:e}){let t=e.type,s=sq.find(e=>e.show.includes(t)),r=tL();return s?(0,n.jsxs)(k.A,{sx:{display:"grid",gap:3},children:[s&&(0,n.jsx)(s$,{title:s.title,description:s.description,mediaPath:s.mediaPath,mediaPathRetina:s.mediaPathRetina,mediaAlt:s.mediaAlt,cta:s.cta,href:s.href}),r&&(0,n.jsx)(sE,{}),(0,n.jsx)(sz,{payload:e})]}):null}try{sW.displayName||(sW.displayName="SecondarySuggestions")}catch{}let sF=({searchType:e,kinds:t,query:s,scopes:r,payload:n})=>{let[o,l]=(0,a.useState)(!0),[c,d]=(0,a.useState)(()=>{let e=new Map;for(let s of t)e.set(s.name,{total:0,mode:i.Exact,error:!1,final:!1});return e}),h=(0,a.useRef)(""),p=(0,a.useRef)(null),x=(0,a.useRef)(e);(0,a.useMemo)(()=>{sM({prevSearchType:x,searchType:e,prevQuery:h,query:s,prevPayload:p,payload:n})&&n&&("code"===e&&100===n.result_count?c.set(e,{total:n.result_count,mode:i.LowerBound,final:!1,error:!1}):c.set(e,{total:n.result_count,mode:i.Exact,final:!0,error:!1}))},[c,n,s,e]),(0,a.useEffect)(()=>{if(!sM({prevSearchType:x,searchType:e,prevQuery:h,query:s,prevPayload:p,payload:n}))return;if(!s){l(!1);return}if(!n){l(!0);return}h.current=s,p.current=n,x.current=e,l(!0);let a=s;if(r){let e=m(r);if(e.length>0){let t=(0,u.parseString)(s);a=(0,u.getExpandedQuery)(s,e,t)}}(async()=>{let o=t.filter(t=>t.name!==e),u=function({kinds:e,query:t,expandedQuery:s,scopes:r,loggedIn:i}){return Promise.allSettled(e.map(e=>sP({type:e.name,query:t,expandedQuery:s,scopes:r,loggedIn:i})))}({kinds:o,query:s,expandedQuery:a,scopes:r||"",loggedIn:!!n.logged_in});if(n.logged_in&&"code"===e&&100===n.result_count){let t=await sP({type:"code",query:s,expandedQuery:a,scopes:r||"",loggedIn:!0});t.error||c.set(e,t)}let h=await u;for(let e=0;e100"}),(0,n.jsx)("td",{children:"Find cat repositories with greater than 100 stars."})]}),(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:"user:defunkt"}),(0,n.jsx)("td",{children:"Get all repositories from the user defunkt."})]}),(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:'tom location:"San Francisco, CA"'}),(0,n.jsx)("td",{children:'Find all tom users in "San Francisco, CA".'})]}),(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:"join extension:coffee"}),(0,n.jsx)("td",{children:"Find all instances of join in code with coffee extension."})]}),(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:"NOT cat"}),(0,n.jsx)("td",{children:"Excludes all results containing cat."})]})]})]}),(0,n.jsx)("hr",{}),(0,n.jsxs)("h2",{children:["Repository search",(0,n.jsx)("a",{href:`${s}/articles/searching-repositories`,children:(0,n.jsx)(T.A,{icon:N.LinkExternalIcon,"aria-label":"Help",sx:{ml:1}})})]}),(0,n.jsx)("p",{children:"Repository search looks through the projects you have access to on GitHub. You can also filter the results:"}),(0,n.jsxs)("table",{children:[(0,n.jsx)("thead",{children:(0,n.jsxs)("tr",{children:[(0,n.jsx)("th",{children:"This search"}),(0,n.jsx)("th",{children:"Finds repositories with\u2026"})]})}),(0,n.jsxs)("tbody",{children:[(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:"cat stars:>100"}),(0,n.jsx)("td",{children:"Find cat repositories with greater than 100 stars."})]}),(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:"user:defunkt"}),(0,n.jsx)("td",{children:"Get all repositories from the user defunkt."})]}),(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:"pugs pushed:>2013-01-28"}),(0,n.jsx)("td",{children:"Pugs repositories pushed to since Jan 28, 2013."})]}),(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:"node.js forks:<200"}),(0,n.jsx)("td",{children:"Find all node.js repositories with less than 200 forks."})]}),(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:"jquery size:1024..4089"}),(0,n.jsx)("td",{children:"Find jquery repositories between the sizes 1024 and 4089 kB."})]}),(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:"gitx fork:true"}),(0,n.jsx)("td",{children:"Repository search includes forks of gitx."})]}),(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:"gitx fork:only"}),(0,n.jsx)("td",{children:"Repository search returns only forks of gitx."})]})]})]}),(0,n.jsx)("hr",{}),(0,n.jsxs)("h2",{children:["Code search",(0,n.jsx)("a",{href:`${s}/articles/searching-code`,children:(0,n.jsx)(T.A,{icon:N.LinkExternalIcon,"aria-label":"Help",sx:{ml:1}})})]}),(0,n.jsx)("p",{children:"Code search looks through the files hosted on GitHub. You can also filter the results:"}),(0,n.jsxs)("table",{children:[(0,n.jsx)("thead",{children:(0,n.jsxs)("tr",{children:[(0,n.jsx)("th",{children:"This search"}),(0,n.jsx)("th",{children:"Finds repositories with\u2026"})]})}),(0,n.jsxs)("tbody",{children:[(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:"install repo:charles/privaterepo"}),(0,n.jsx)("td",{children:"Find all instances of install in code from the repository charles/privaterepo."})]}),(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:"shogun user:heroku"}),(0,n.jsx)("td",{children:"Find references to shogun from all public heroku repositories."})]}),(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:"join extension:coffee"}),(0,n.jsx)("td",{children:"Find all instances of join in code with coffee extension."})]}),(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:"system size:>1000"}),(0,n.jsx)("td",{children:"Find all instances of system in code of file size greater than 1000kbs."})]}),(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:"examples path:/docs/"}),(0,n.jsx)("td",{children:"Find all examples in the path /docs/."})]}),(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:"replace fork:true"}),(0,n.jsx)("td",{children:"Search replace in the source code of forks."})]})]})]}),(0,n.jsx)("hr",{}),(0,n.jsxs)("h2",{children:["Issue search",(0,n.jsx)("a",{href:`${s}/articles/searching-issues`,children:(0,n.jsx)(T.A,{icon:N.LinkExternalIcon,"aria-label":"Help",sx:{ml:1}})})]}),(0,n.jsx)("p",{children:"Issue search looks through issues and pull requests on GitHub. You can also filter the results:"}),(0,n.jsxs)("table",{children:[(0,n.jsx)("thead",{children:(0,n.jsxs)("tr",{children:[(0,n.jsx)("th",{children:"This search"}),(0,n.jsx)("th",{children:"Finds issues\u2026"})]})}),(0,n.jsxs)("tbody",{children:[(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:"encoding user:heroku"}),(0,n.jsx)("td",{children:"Encoding issues across the Heroku organization."})]}),(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:"cat is:open"}),(0,n.jsx)("td",{children:"Find cat issues that are open."})]}),(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:"strange comments:>42"}),(0,n.jsx)("td",{children:"Issues with more than 42 comments."})]}),(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:"hard label:bug"}),(0,n.jsx)("td",{children:"Hard issues labeled as a bug."})]}),(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:"author:mojombo"}),(0,n.jsx)("td",{children:"All issues authored by mojombo."})]}),(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:"mentions:tpope"}),(0,n.jsx)("td",{children:"All issues mentioning tpope."})]}),(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:"assignee:rtomayko"}),(0,n.jsx)("td",{children:"All issues assigned to rtomayko."})]}),(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:"exception created:>2012-12-31"}),(0,n.jsx)("td",{children:"Created since the beginning of 2013."})]}),(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:"exception updated:<2013-01-01"}),(0,n.jsx)("td",{children:"Last updated before 2013."})]})]})]}),(0,n.jsx)("hr",{}),(0,n.jsxs)("h2",{children:["User search",(0,n.jsx)("a",{href:`${s}/articles/searching-users`,children:(0,n.jsx)(T.A,{icon:N.LinkExternalIcon,"aria-label":"Help",sx:{ml:1}})})]}),(0,n.jsx)("p",{children:"User search finds users with an account on GitHub. You can also filter the results:"}),(0,n.jsxs)("table",{children:[(0,n.jsx)("thead",{children:(0,n.jsxs)("tr",{children:[(0,n.jsx)("th",{children:"This search"}),(0,n.jsx)("th",{children:"Finds repositories with\u2026"})]})}),(0,n.jsxs)("tbody",{children:[(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:'fullname:"Linus Torvalds"'}),(0,n.jsx)("td",{children:'Find users with the full name "Linus Torvalds".'})]}),(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:'tom location:"San Francisco, CA"'}),(0,n.jsx)("td",{children:'Find all tom users in "San Francisco, CA".'})]}),(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:"chris followers:100..200"}),(0,n.jsx)("td",{children:"Find all chris users with followers between 100 and 200."})]}),(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:"ryan repos:>10"}),(0,n.jsx)("td",{children:"Find all ryan users with more than 10 repositories."})]})]})]})]})]})}try{sO.displayName||(sO.displayName="PrefixesDialog")}catch{}function sB(){let[e,t]=(0,a.useState)(""),s=(0,tj.B)(),r=a.useRef(null),[i,o]=(0,a.useState)(!1),l=x();(0,a.useEffect)(()=>{let e=document.querySelector(".AppHeader")||document.querySelector(".Header")||document.querySelector(".HeaderMktg");if(e)return e.hidden=!0,()=>{e.hidden=!1}},[]);let c=(0,eo.A)(),d=(0,a.useMemo)(()=>"night"===c.colorMode?"/images/modules/search/home-desktop-dark.png":"/images/modules/search/home-desktop-light.png",[c]),u=(0,a.useMemo)(()=>"night"===c.colorMode?"/images/modules/search/home-mobile-dark.png":"/images/modules/search/home-mobile-light.png",[c]),h=(0,a.useMemo)(()=>"night"===c.colorMode?"/images/modules/search/home-desktop-dark.webp":"/images/modules/search/home-desktop-light.webp",[c]),p=(0,a.useMemo)(()=>"night"===c.colorMode?"/images/modules/search/home-mobile-dark.webp":"/images/modules/search/home-mobile-light.webp",[c]),m=(0,a.useMemo)(()=>"night"===c.colorMode?"/images/modules/search/home-desktop-dark2x.png":"/images/modules/search/home-desktop-light2x.png",[c]),f=(0,a.useMemo)(()=>"night"===c.colorMode?"/images/modules/search/home-mobile-dark2x.png":"/images/modules/search/home-mobile-light2x.png",[c]),g=(0,a.useMemo)(()=>"night"===c.colorMode?"/images/modules/search/home-desktop-dark2x.webp":"/images/modules/search/home-desktop-light2x.webp",[c]),y=(0,a.useMemo)(()=>"night"===c.colorMode?"/images/modules/search/home-mobile-dark2x.webp":"/images/modules/search/home-mobile-light2x.webp",[c]);return(0,n.jsxs)(k.A,{"data-hpc":!0,sx:{minHeight:"100vh",minWidth:320,display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},children:[(0,n.jsx)(k.A,{sx:{width:"100%",flex:1,display:"flex",alignItems:"center",justifyContent:"center",flexDirection:"row",px:3,py:10},children:(0,n.jsxs)(k.A,{sx:{width:"100%",display:"flex",alignItems:"center",flexDirection:"column"},children:[(0,n.jsxs)(k.A,{sx:{mb:[3,3,4]},children:[(0,n.jsx)(k.A,{sx:{display:["none","none","block"]},children:(0,n.jsx)(N.LogoGithubIcon,{size:50})}),(0,n.jsx)(k.A,{sx:{display:["block","block","none"]},children:(0,n.jsx)(N.LogoGithubIcon,{size:30})})]}),(0,n.jsx)(k.A,{sx:{px:2,width:"100%",maxWidth:600,textAlign:"center"},children:(0,n.jsx)(s_.A,{"aria-label":"Search GitHub",sx:{width:"100%",height:42},onKeyPress:t=>{e&&"Enter"===t.key&&l(e)},autoFocus:!0,leadingVisual:()=>(0,n.jsx)(k.A,{sx:{display:"flex",alignItems:"center",justifyContent:"center"},children:(0,n.jsx)(T.A,{icon:N.SearchIcon,sx:{width:[16,20],height:[16,20],color:"fg.muted"}})}),trailingVisual:()=>(0,n.jsx)(k.A,{sx:{display:"flex",alignItems:"center"},children:e&&(0,n.jsx)(k.A,{onClick:()=>t(""),sx:{display:"flex"},children:(0,n.jsx)(T.A,{icon:N.XCircleFillIcon,sx:{color:"fg.muted",cursor:"pointer",width:[16,16],height:[16,16],"&:hover":{color:"fg.default"}}})})}),placeholder:"Search GitHub",value:e,onChange:e=>t(e.currentTarget.value)})}),(0,n.jsxs)(k.A,{sx:{textAlign:"center",mt:[3,3,4]},children:[(0,n.jsxs)(k.A,{sx:{mr:[1,2],display:"inline-block"},children:[(0,n.jsx)(T.A,{icon:N.BellIcon,sx:{color:"attention.fg",mr:1,width:[14,16],height:[14,16]}}),(0,n.jsx)(I.A,{sx:{color:"attention.fg",fontSize:[0,1]},children:"Tip"})]}),(0,n.jsxs)(I.A,{sx:{color:"fg.muted",fontSize:[0,1]},children:["For an"," ",(0,n.jsx)(C.A,{inline:!0,href:"/search/advanced",children:"advanced search"}),", use our"," ",(0,n.jsx)(C.A,{as:"button",inline:!0,ref:r,onClick:()=>{o(!0)},children:"prefixes"})]}),(0,n.jsx)(sO,{isOpen:i,returnFocusRef:r,rootHelpUrl:s?.helpUrl,onDismiss:()=>o(!1)})]}),(0,n.jsxs)(k.A,{sx:{mt:[6,8,8],display:"flex",justifyContent:"center"},children:[(0,n.jsx)(k.A,{sx:{display:["block","block","block","none","none"],maxWidth:[351]},children:(0,n.jsxs)("picture",{children:[(0,n.jsx)("source",{srcSet:`${p} 1x, ${y} 2x`,type:"image/webp"}),(0,n.jsx)("img",{src:u,srcSet:`${u} 1x, ${f} 2x`,alt:"Illustration of Mona looking through binoculars at the a building a supernatural landscape",width:"100%"})]})}),(0,n.jsx)(k.A,{sx:{display:["none","none","none","block","block"],maxWidth:[500,600,700,800,800]},children:(0,n.jsxs)("picture",{children:[(0,n.jsx)("source",{srcSet:`${h} 1x, ${g} 2x`,type:"image/webp"}),(0,n.jsx)("img",{src:d,srcSet:`${d} 1x, ${m} 2x`,alt:"Illustration of Mona looking through binoculars at the a building a supernatural landscape",width:"100%"})]})})]})]})}),(0,n.jsx)(sG,{helpUrl:s?.helpUrl,cookieConsentEnabled:s?.cookie_consent_enabled})]})}function sG({helpUrl:e,cookieConsentEnabled:t}){let s=new Date().getFullYear();return(0,n.jsxs)(k.A,{as:"footer",sx:{display:"flex",justifyContent:["center"],alignItems:"center",flexWrap:"wrap",flexDirection:["row"],width:"100%",px:[5,5,5],py:5,fontSize:0,color:"fg.muted"},children:[(0,n.jsxs)(k.A,{sx:{display:"flex",alignItems:"center",flexDirection:["row"],marginX:"2"},children:[(0,n.jsx)(C.A,{"aria-label":"GitHub",href:"/",muted:!0,sx:{marginRight:"2"},children:(0,n.jsx)(T.A,{icon:N.MarkGithubIcon,sx:{width:24,height:24,color:"fg.muted"}})}),(0,n.jsxs)("span",{children:["GitHub, Inc. \xa9 ",s]})]}),(0,n.jsx)(C.A,{href:"https://docs.github.com/github/site-policy/github-terms-of-service",muted:!0,sx:{marginX:"2"},children:"Terms"}),(0,n.jsx)(C.A,{href:"https://docs.github.com/site-policy/privacy-policies/github-privacy-statement",muted:!0,sx:{marginX:"2"},children:"Privacy"}),(0,n.jsx)(C.A,{href:"/security",muted:!0,sx:{marginX:"2"},children:"Security"}),(0,n.jsx)(C.A,{href:"https://www.githubstatus.com",muted:!0,sx:{marginX:"2"},children:"Status"}),(0,n.jsx)(C.A,{href:e,muted:!0,sx:{marginX:"2"},children:"Docs"}),(0,n.jsx)(C.A,{href:"https://support.github.com/?tags=dotcom-footer",muted:!0,sx:{marginX:"2"},children:"Contact"}),t?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(C.A,{as:"button",onClick:()=>(0,sH.Gp)(),muted:!0,sx:{marginX:"2"},children:"Manage Cookies"}),(0,n.jsx)(C.A,{as:"button",onClick:()=>(0,sH.Gp)(),muted:!0,sx:{marginX:"2"},children:"Do not share my personal information"})]}):null]})}try{sB.displayName||(sB.displayName="Home")}catch{}try{sG.displayName||(sG.displayName="Footer")}catch{}var sX=s(72166);function sV({children:e,path:t,query:s,sx:r,onClick:i,...a}){let[o,l]=tI(t,a,s);return(0,n.jsx)(C.A,{href:o,onClick:e=>{i?.(e),l(e)},sx:r,children:e})}try{sV.displayName||(sV.displayName="SoftLink")}catch{}function sK({message:e,suggestion:t,suggestedSearchType:s}){let r=new URLSearchParams((0,c.zy)().search).get("q");return r?(0,n.jsxs)(L.A,{variant:"warning",sx:{borderRadius:2,borderWidth:1,borderStyle:"solid",borderColor:"warning.muted"},children:[(0,n.jsx)("span",{children:e}),t?(0,n.jsxs)("span",{children:[" ",(0,n.jsx)(sV,{path:l.oef,query:{query:r,type:s},children:(0,n.jsx)("span",{children:t})})]}):null]}):null}try{sK.displayName||(sK.displayName="SearchTypeError")}catch{}var sQ=s(37827);function sY(){let e=(0,tj.B)(),[t,s]=(0,a.useState)(null),r=(0,c.zy)(),i=d(l.oef),o=(0,a.useMemo)(()=>new URLSearchParams(r.search),[r.search]),h=o.get("type"),p=o.get("q"),x=o.get("saved_searches"),{sendSearchNextPageNavigation:m,sendSearchBackNavigation:f}=M(),g=!!(e&&e.logged_in);(0,a.useEffect)(()=>{let t=window?.performance?.getEntries&&window.performance.getEntries();t&&t.length>0&&"back_forward"===t[0].type&&e?.type==="code"&&f(e?.query_id)},[f,e]);let y=!e,j=(0,a.useMemo)(()=>{let t=(0,u.parseString)(p||"");if(e?.type==="home")return!1;let s=(0,sX.H5)(t);return 1===s.length&&s[0]?.kind==="repo"},[p,e?.type]),b=(0,a.useMemo)(()=>{if(!e||"home"===e.type||!e.protected_org_logins||0===e.protected_org_logins.length)return[];let t=(0,u.parseString)(p||"");return(0,sX.R9)(t,e?.protected_org_logins)},[e,p]),v=(0,a.useMemo)(()=>[{name:"code",readableName:"code",readableNamePlural:"code",icon:N.CodeIcon},j?null:{name:"repositories",readableName:"repository",readableNamePlural:"repositories",icon:N.RepoIcon},{name:"issues",readableName:"issue",readableNamePlural:"issues",icon:N.IssueOpenedIcon},{name:"pullrequests",readableName:"pull request",readableNamePlural:"pull requests",icon:N.GitPullRequestIcon},{name:"discussions",readableName:"discussion",readableNamePlural:"discussions",icon:N.CommentDiscussionIcon},j?null:{name:"users",readableName:"user",readableNamePlural:"users",icon:N.PeopleIcon},{name:"commits",readableName:"commit",readableNamePlural:"commits",icon:N.GitCommitIcon},{name:"registrypackages",readableName:"package",readableNamePlural:"packages",icon:N.PackageIcon},{name:"wikis",readableName:"wiki",readableNamePlural:"wikis",icon:N.BookIcon},j?null:{name:"topics",readableName:"topic",readableNamePlural:"topics",icon:N.MilestoneIcon},j?null:{name:"marketplace",readableName:"marketplace",readableNamePlural:"marketplace",icon:N.TelescopeIcon}].filter(e=>null!==e),[j]),w=v.find(e=>e.name===h)||v[0],[_,I]=sF({searchType:h,kinds:v,query:p,scopes:x,payload:e});(0,a.useEffect)(()=>{if(!h&&p&&e?.type!=="home"){let t=o.get("q"),s=(0,u.parseString)(t||""),r=(0,u.chooseSearchType)(s,!!e?.logged_in);if("code"===r){let e=o.get("l");e&&(e.includes(" ")&&(e=`"${e}"`),t=`${t} lang:${e}`)}r!==u.SearchType.Unknown&&i(void 0,{q:t,type:(0,u.mapSearchTypeToURLParam)(r),l:void 0,p:void 0},{replace:!0});return}s(function(e,t,s){if(!t)return null;let r=(0,u.parseString)(t),i=(0,u.mapURLParamToSearchType)(e),n=(0,u.extractUnsupportedQualifiers)(r,i);if(i===u.SearchType.Unknown||0===n.length)return null;let a=(0,u.chooseSearchType)(r,s),o=`Try searching for ${(0,u.searchTypeAsPlural)(a)} instead?`;a===u.SearchType.Marketplace?o="Try searching in the marketplace instead?":a===u.SearchType.Unknown&&(o="");let l=`Some qualifiers in your query (${n.slice(0,3).map(e=>e.toLowerCase()).join(", ")}) are not supported when searching ${(0,u.searchTypeAsPlural)(i)}.`;return 1===n.length&&(l=`The ${n[0].toLowerCase()} qualifier is not supported when searching ${(0,u.searchTypeAsPlural)(i)}.`),{message:l,suggestion:o,suggestedSearchType:(0,u.mapSearchTypeToURLParam)(a)}}(h,p,!!e?.logged_in))},[e,o,h,p,i]);let R=(0,a.useCallback)((t,s)=>{window.scrollTo(0,0),i(void 0,{p:s}),e?.type==="code"&&m(e.query_id,s),t.preventDefault()},[i,m,e]);if(e?.type==="home")return(0,n.jsx)(sB,{});let L=!e?.logged_in&&e?.type==="code",T=e?.type,z="code"===T,$=e&&e.page_count>1&&!!e.page&&e.page_count>1&&!L,E=e&&e.errors?.length>0||null!==t,q="";return e&&(q+=`${e.type} `),q+="Search Results",p&&(q+=` \xb7 ${p}`),(0,n.jsx)(tR.Provider,{value:g,children:(0,n.jsxs)(k.A,{sx:{bg:"canvas.default",height:E?"auto":"100%",display:"flex",flexDirection:"column"},className:"search-results-page",children:[(0,n.jsx)("style",{children:s1}),(0,n.jsx)("h1",{className:"sr-only",children:q}),(0,n.jsxs)(A.O7,{sx:{padding:0,minHeight:"100%","> div":{minHeight:"100%"}},children:[(0,n.jsx)(t9,{isLoading:y,isLoadingCounters:_,searchKinds:I,resultCount:e&&e.result_count,selectedType:T||s3(),facets:e&&e.facets,searchType:e&&e.type}),(0,n.jsx)(A.O7.Content,{as:"div",sx:{minWidth:0},padding:"none",width:"full",children:(0,n.jsx)(sZ,{fullWidth:z||!e||s2(e),fullHeight:L,primarySuggestion:e&&(0,n.jsx)(sL,{payload:e}),secondarySuggestion:e&&(0,n.jsx)(sW,{payload:e}),header:e&&(0,n.jsx)(sA,{payload:e,isLoading:y,isLoadingCounters:_,searchKinds:I,selectedType:T||s3()}),notices:[e&&(0,n.jsx)(sD.x,{protectedOrgs:b,redirectURI:e=>`/search/refresh_blackbird_caches?return_to=${encodeURIComponent(`/search${e.search+e.hash}`)}`},"single-sign-on"),e&&(0,n.jsx)(sJ,{errorType:t,payload:e},"errors"),e?.warn_limited_results&&(0,n.jsx)(sQ.l,{variant:"warning",hideTitle:!0,title:"Advanced search suggestion",children:(0,n.jsxs)(sQ.l.Description,{children:["Not finding the results your looking for? Try adding the ",(0,n.jsx)("code",{children:"org:"}),", ",(0,n.jsx)("code",{children:"repo:"}),", or"," ",(0,n.jsx)("code",{children:"user:"})," parameters for a more precise set of search results. To see all the parameters check out our"," ",(0,n.jsx)(C.A,{inline:!0,href:"/search/advanced",children:"advanced search tool"})]})},"warn_limited_results")],pagination:$&&(0,n.jsx)(k.A,{sx:{pb:[2,2,2,0]},children:(0,n.jsx)(S.A,{pageCount:e.page_count,currentPage:e.page,onPageChange:R,hrefBuilder:e=>(0,l.IDI)(l.oef,void 0,{p:e}).href})}),columnLeft:(0,n.jsx)(n.Fragment,{children:e?s2(e)&&!L?(0,n.jsx)(sd,{resultKind:w,searchKinds:I,isLoadingCounters:_}):(0,n.jsx)(k.A,{"data-hpc":!0,sx:{width:"100%",minWidth:0,height:L?"100%":void 0},children:(0,n.jsx)(s0,{payload:e,isRepoSearch:j})}):(0,n.jsx)(sN,{})})})})]}),(0,n.jsx)(tb,{})]})})}function sZ({columnLeft:e,primarySuggestion:t,secondarySuggestion:s,header:r,fullWidth:i,fullHeight:a,notices:o,pagination:l}){return(0,n.jsxs)(k.A,{sx:{display:"flex",px:[3,3,4,4],py:3,alignItems:"flex-start",height:a?"100%":void 0},children:[(0,n.jsxs)(k.A,{sx:{maxWidth:"100%",minWidth:0,height:a?"100%":void 0,overflow:"hidden",flex:2,display:"flex",flexDirection:"column"},children:[r,(0,n.jsx)(k.A,{sx:{display:"flex",flexDirection:"column",pt:3,gap:3,"&:empty":{display:"none"}},children:o}),(0,n.jsx)(k.A,{sx:{display:["inline-block","inline-block","inline-block","none"],pt:3,"&:empty":{display:"none"}},children:t}),(0,n.jsx)(k.A,{sx:{pt:3,height:a?"100%":void 0},children:e}),(0,n.jsx)(k.A,{sx:{py:[3,3,4,4]},children:l}),!i&&(0,n.jsx)(k.A,{sx:{display:["grid","grid","grid","none"],gap:3,pt:[0,0,0,3]},children:s})]}),!i&&(0,n.jsxs)(k.A,{sx:{display:["none","none","none","flex"],flexDirection:"column",ml:[0,0,0,4],gap:3,width:"100%",pt:[0,0,0,20],mt:[0,0,0,4],maxWidth:["100%","100%","100%","25%","25%"],minWidth:["100%","100%","100%",260,340],"&:empty":{display:"none"}},children:[t,s]})]})}function sJ({errorType:e,payload:t}){return e?(0,n.jsx)(sK,{...e}):t?.errors&&t.errors.length>0?(0,n.jsx)(n.Fragment,{children:t.errors.slice(0,2).map((e,t)=>(0,n.jsx)(su,{error:e,index:t},t))}):null}function s0({payload:e,isRepoSearch:t}){switch(e.type){case"code":return(0,n.jsx)(ed,{isRepoSearch:t,results:e});case"codelegacy":return(0,n.jsx)(th,{results:e});case"commits":return(0,n.jsx)(eS,{results:e});case"discussions":return(0,n.jsx)(e6,{results:e});case"topics":return(0,n.jsx)(te,{results:e});case"registrypackages":return(0,n.jsx)(e1,{results:e});case"repositories":return(0,n.jsx)(e9,{results:e});case"users":return(0,n.jsx)(ta,{results:e});case"wikis":return(0,n.jsx)(td,{results:e});case"issues":return(0,n.jsx)(eL,{results:e});case"pullrequests":return(0,n.jsx)(e3,{results:e});case"marketplace":return(0,n.jsx)(eM,{results:e});default:e$(e)}}let s1=` + .search-results-page .search-match em { + font-style: normal; + font-weight: 600; + } + + .search-results-page .search-title .search-match em { + font-style: normal; + font-weight: 700; + } +`;function s2(e){return e.results?.length===0}function s3(){return new URL(document.location.href,window.location.origin).searchParams.get("type")?.toLowerCase()}try{sY.displayName||(sY.displayName="Search")}catch{}try{sZ.displayName||(sZ.displayName="TwoColumnLayout")}catch{}try{sJ.displayName||(sJ.displayName="Errors")}catch{}try{s0.displayName||(s0.displayName="SearchResultsComponent")}catch{}var s6=s(95636),s7=s(26009),s4=s(86233);(0,s6.Q)("blackbird-search",()=>({App:_,routes:[(0,s4.a)({path:"/search",Component:sY,transitionType:s7.E.TRANSITION_WHILE_FETCHING}),(0,s4.a)({path:"/:user/:repo/search",Component:sY,transitionType:s7.E.TRANSITION_WHILE_FETCHING})]}))},99297:(e,t,s)=>{s.d(t,{D:()=>r});function r(e){if("clipboard"in navigator)return navigator.clipboard.writeText(e);let t=document.body;if(!t)return Promise.reject(Error());let s=function(e){let t=document.createElement("pre");return t.style.width="1px",t.style.height="1px",t.style.position="fixed",t.style.top="5px",t.textContent=e,t}(e);return t.appendChild(s),!function(e){if("clipboard"in navigator)return navigator.clipboard.writeText(e.textContent||"");let t=getSelection();if(null==t)return Promise.reject(Error());t.removeAllRanges();let s=document.createRange();s.selectNodeContents(e),t.addRange(s),document.execCommand("copy"),t.removeAllRanges(),Promise.resolve()}(s),t.removeChild(s),Promise.resolve()}},50900:(e,t,s)=>{s.d(t,{Bx:()=>a,EL:()=>c,WB:()=>l,nc:()=>o});var r=s(74572);let i="blackbird_experiments",n="blackbird_debug_scoring";function a(){let e=(0,r.A)("localStorage").getItem(i);return e?e.split(","):[]}function o(e){(0,r.A)("localStorage").setItem(i,e.join(","))}function l(){return null!==(0,r.A)("localStorage").getItem(n)}function c(e){e?(0,r.A)("localStorage").setItem(n,"1"):(0,r.A)("localStorage").removeItem(n)}},72166:(e,t,s)=>{var r;function i(e){return!!e.qualifier}function n(e){return!!i(e)&&"Saved"===e.qualifier}s.d(t,{Go:()=>c,H5:()=>u,R9:()=>h,Xq:()=>d,YT:()=>n,Z:()=>r,bY:()=>i,cK:()=>l,cZ:()=>function e(t,s){if(i(t)&&t.qualifier===s)return!0;if(c(t)){for(let r of t.children)if(e(r,s))return!0}return!1},r3:()=>o}),function(e){e[e.Is=0]="Is",e[e.Repository=1]="Repository",e[e.Owner=2]="Owner",e[e.Language=3]="Language",e[e.Path=4]="Path",e[e.Regex=5]="Regex",e[e.Text=6]="Text",e[e.Saved=7]="Saved",e[e.OtherQualifier=8]="OtherQualifier"}(r||(r={}));let a=RegExp("\\/","g");function o(e,t){if(i(e)&&l(e.content)){if("Repo"===e.qualifier){if(1!=[...e.content.value.toString().matchAll(a)].length)return null}else if("Org"!==e.qualifier)return null;else if(0!=[...e.content.value.toString().matchAll(a)].length)return null;if(e.content.value.toString().startsWith("/"))return null;let s=`/${e.content.value.toString().split("/").map(encodeURIComponent).join("/")}`;return s===t?null:s}return null}function l(e){return void 0!==e.value}function c(e){return!!e.children}function d(e){return c(e)?e.children.map(d).filter(e=>e.length>0).join(" "):i(e)||"Regex"===e.kind?"":l(e)?e.value.toString():""}function u(e){if("Not"===e.kind)return[];if(c(e))return e.children.map(u).flat();if(i(e)){if("Repo"===e.qualifier&&l(e.content))return[{kind:"repo",value:e.content.value.toString()}];if("Org"===e.qualifier&&l(e.content))return[{kind:"org",value:e.content.value.toString()}];if(n(e)&&l(e.content))return[{kind:"saved",value:e.content.value.toString()}]}return[]}function h(e,t){let s=new Set(u(e).map(e=>"org"===e.kind?e.value:"repo"===e.kind&&e.value.includes("/")?e.value.split("/")[0]:null).filter(e=>null!==e).map(e=>e?.toLowerCase()));return 0===s.size?t:t.filter(e=>s.has(e.toLowerCase()))}},82907:(e,t,s)=>{s.r(t),s.d(t,{SearchType:()=>r.nX,chooseSearchType:()=>g,extractUnsupportedQualifiers:()=>f,getCaretPositionKindFromIndex:()=>m,getCustomScopeNames:()=>l,getExpandedQuery:()=>d,getHighlights:()=>p,getPossibleQualifierValues:()=>r.OZ,mapSearchTypeToURLParam:()=>y,mapURLParamToSearchType:()=>b,moveCaretToPosition:()=>u,parseSearchInput:()=>o,parseString:()=>a,searchTypeAsPlural:()=>j});var r=s(40898),i=s(72166);let n=String.fromCharCode(160);function a(e){let t=RegExp(n,"g");return(0,r.qg)(e.replace(t," "))}function o(e){let t=a(e),s=p(t);!function(e){e.sort((e,t)=>e.location.start-t.location.start)}(s);let r=[],i=0;for(let t of s)if(i<=t.location.start){r.push(e.substring(i,t.location.start).replace(" ",String.fromCharCode(160))),i=t.location.start;let s=document.createElement("span");s.classList.add(t.className),s.textContent=e.substring(t.location.start,t.location.end),r.push(s),i=t.location.end}return ie.content.value.toString()))]}function c(e,t){if((0,i.YT)(t)&&(0,r.cK)(t.content)&&e.push(t),(0,i.Go)(t))for(t of t.children)c(e,t)}function d(e,t,s){let i="",n=[];c(n,s);let a=0;for(let s of n)if((0,r.cK)(s.content)){i+=e.substring(a,s.location.start);let n=t.find(e=>r.cK(s.content)&&e.name===s.content.value)?.query;n&&(i+=n.replaceAll(" OR "," ")),a=s.content.location.end}return i+e.substring(a)}function u(e,t){let s=-1===t?e.value.length:t;e.focus(),e.setSelectionRange(s,s)}let h={And:{className:"pl-en",selector:"operatorLocation"},Not:{className:"pl-en",selector:"operatorLocation"},Or:{className:"pl-en",selector:"operatorLocation"},Regex:{className:"pl-c1",selector:"location"}};function p(e){let t;if((0,i.bY)(e)&&x(e.content))t=[{className:"input-parsed-symbol",location:e.content.location}];else if(e.value&&("AND"===e.value||"OR"===e.value||"NOT"===e.value))t=[{className:"pl-en",location:e.location}];else{let s=h[e.kind];s&&("location"===s.selector&&x(e)&&(t=[{className:s.className,location:e.location}]),"operatorLocation"===s.selector&&e.operatorLocations&&(t=e.operatorLocations.map(e=>({className:s.className,location:e}))))}return(t=t??[],(0,i.Go)(e))?t.concat(e.children.flatMap(p)):(0,i.bY)(e)?t.concat(p(e.content)):t}function x(e){return!!e.location}function m(e,t){let s=function e(t,s){if((0,i.Go)(t))for(let r of t.children){let t=e(r,s);if(t)return t}if(x(t)){let e=t.location.start,r=t.location.end;if((0,i.bY)(t)&&x(t.content)&&(r=t.content.location.end),s>=e&&s<=r)return t}}(e,t);if(!s)return{kind:i.Z.Text};if("Regex"===s.kind)return{kind:i.Z.Regex};if((0,i.bY)(s)){if("Is"===s.qualifier)return{kind:i.Z.Is,node:s};if("Language"===s.qualifier)return{kind:i.Z.Language,node:s};if("Path"===s.qualifier)return{kind:i.Z.Path,node:s};if("Repo"===s.qualifier)return{kind:i.Z.Repository,node:s};else if("Owner"===s.qualifier)return{kind:i.Z.Owner,node:s};else if("Org"===s.qualifier)return{kind:i.Z.Owner,node:s};else if("Saved"===s.qualifier)return{kind:i.Z.Saved,node:s};else return{kind:i.Z.OtherQualifier,node:s}}return{kind:i.Z.Text,node:s}}function f(e,t){let s=[];return!function e(n){if((0,i.bY)(n)&&!(0,r.Bu)(t,n.qualifier)){let e=n.raw.toLowerCase().substring(0,n.raw.length-1);s.includes(e)||s.push(e)}else if((0,i.bY)(n)&&"Is"===n.qualifier){let e=n.content;if((0,r.cK)(e)){let i=e.value;t!==r.nX.Issues&&"issue"===i?s.push("is:issue"):t!==r.nX.PRs&&"pr"===i&&s.push("is:pr")}}if((0,i.Go)(n))for(let t of n.children)e(t)}(e),s}function g(e,t){let s={[r.nX.Repositories]:.5,[r.nX.Code]:.2,[r.nX.Issues]:.1,[r.nX.PRs]:0,[r.nX.Discussions]:0,[r.nX.Commits]:0,[r.nX.Packages]:0,[r.nX.Topics]:0,[r.nX.Users]:0,[r.nX.Orgs]:0,[r.nX.Wikis]:0,[r.nX.Marketplace]:-.4,[r.nX.Unknown]:-1,[r.nX.CodeLegacy]:-1};t||(s[r.nX.Code]-=5);let n=[];for(let t of(function e(t,s){if((0,i.bY)(t)){if("Repo"===t.qualifier&&s.push([[r.nX.Repositories],2]),("Repo"===t.qualifier||"Org"===t.qualifier)&&s.push([[r.nX.Code],0]),"Saved"===t.qualifier&&s.push([[r.nX.Code],1]),(0,r.cK)(t.content)){"Regex"===t.content.kind&&s.push([[r.nX.Code],1]);let e=t.content.value.toString().toLowerCase();if("Is"===t.qualifier)"pr"===e?s.push([[r.nX.PRs],1]):"issue"===e?s.push([[r.nX.Issues],1]):"sponsorable"===e&&s.push([[r.nX.Users,r.nX.Repositories],1]);else if("Type"===t.qualifier){let t=new Map([["commit",r.nX.Commits],["discussion",r.nX.Discussions],["issue",r.nX.Issues],["marketplace",r.nX.Marketplace],["org",r.nX.Orgs],["package",r.nX.Packages],["pr",r.nX.PRs],["topic",r.nX.Topics],["user",r.nX.Users],["wiki",r.nX.Wikis]]);t.has(e)&&s.push([[t.get(e)],3])}}let e=(0,r.Me)(t.qualifier);e.length>0&&s.push([e,1])}else"Regex"===t.kind&&s.push([[r.nX.Code],1]);if((0,i.Go)(t))for(let r of t.children)e(r,s)}(e,n),n)){let[e,r]=t;if(0===r)for(let t of e)s[t]+=1;else if(3===r)for(let t of e)s[t]+=1.5;else if(2===r)for(let t of e)s[t]-=1;else{let t={};for(let s of e)t[s]=!0;for(let e of Object.keys(s))t[e]||delete s[e]}}let a=Object.keys(s).map(e=>[e,s[e]]),o=r.nX.Unknown;return a.length>0&&(a.sort((e,t)=>t[1]-e[1]),o=a[0][0]),o}function y(e){return({[r.nX.Unknown]:"",[r.nX.Code]:"code",[r.nX.Repositories]:"repositories",[r.nX.PRs]:"pullrequests",[r.nX.Issues]:"issues",[r.nX.Discussions]:"discussions",[r.nX.Commits]:"commits",[r.nX.Packages]:"registrypackages",[r.nX.Marketplace]:"marketplace",[r.nX.Topics]:"topics",[r.nX.Users]:"users",[r.nX.Orgs]:"users",[r.nX.Wikis]:"wikis",[r.nX.CodeLegacy]:"codelegacy"})[e]||""}function j(e){return({[r.nX.Unknown]:"",[r.nX.Code]:"code",[r.nX.Repositories]:"repositories",[r.nX.PRs]:"pull requests",[r.nX.Issues]:"issues",[r.nX.Discussions]:"discussions",[r.nX.Commits]:"commits",[r.nX.Packages]:"packages",[r.nX.Marketplace]:"the marketplace",[r.nX.Topics]:"topics",[r.nX.Users]:"users",[r.nX.Orgs]:"users",[r.nX.Wikis]:"wikis",[r.nX.CodeLegacy]:"code"})[e]||""}function b(e){return({"":r.nX.Unknown,code:r.nX.Code,repositories:r.nX.Repositories,pullrequests:r.nX.PRs,issues:r.nX.Issues,discussions:r.nX.Discussions,commits:r.nX.Commits,registrypackages:r.nX.Packages,marketplace:r.nX.Marketplace,topics:r.nX.Topics,users:r.nX.Users,orgs:r.nX.Orgs,wikis:r.nX.Wikis,codelegacy:r.nX.CodeLegacy})[e]||r.nX.Unknown}},39672:(e,t,s)=>{s.d(t,{Z:()=>r});function r({appendQuery:e,retainScrollPosition:t,returnTarget:s}){window.dispatchEvent(new CustomEvent("blackbird_monolith_append_and_focus_input",{detail:{appendQuery:e,retainScrollPosition:t,returnTarget:s}}))}},1946:(e,t,s)=>{s.d(t,{xC:()=>b,B6:()=>_,ym:()=>C});var r=s(74848),i=s(38621),n=s(55847),a=s(87330),o=s(30729),l=s(94977),c=s(96540),d=s(20053),u=s(75177),h=s(30595),p=s(86079),x=s(22868),m=s(34614),f=s(52464);function g({checkRun:e}){let{icon:t,iconColor:s}=function(e){switch(e){case"check":return{icon:i.CheckIcon,iconColor:"success.fg"};case"dot-fill":return{icon:i.DotFillIcon,iconColor:"attention.fg"};case"stop":return{icon:i.StopIcon,iconColor:"muted.fg"};case"issue-reopened":return{icon:i.IssueReopenedIcon,iconColor:"muted.fg"};case"clock":return{icon:i.ClockIcon,iconColor:"attention.fg"};case"square-fill":return{icon:i.SquareFillIcon,iconColor:"fg.default"};case"skip":return{icon:i.SkipIcon,iconColor:"muted.fg"};case"alert":return{icon:i.AlertIcon,iconColor:"danger.fg"};default:return{icon:i.XIcon,iconColor:"danger.fg"}}}(e.icon),n="in_progress"===e.state;return(0,r.jsxs)(u.A,{"data-testid":"check-run-item",as:"li",sx:{display:"flex",borderBottomWidth:"1px",borderBottomStyle:"solid",borderBottomColor:"border.default",backgroundColor:"canvas.subtle",py:2,pr:3,pl:"12px",alignItems:"center"},children:[(0,r.jsxs)(u.A,{sx:{alignSelf:"center",display:"flex"},children:[n?(0,r.jsx)(u.A,{sx:{height:"16px",width:"16px",minWidth:"16px",alignSelf:"center",mx:"7px"},children:(0,r.jsxs)("svg",{fill:"none",viewBox:"0 0 16 16",className:"anim-rotate","aria-hidden":"true",role:"img",children:[(0,r.jsx)("path",{opacity:".5",d:"M8 15A7 7 0 108 1a7 7 0 000 14v0z",stroke:"#dbab0a",strokeWidth:"2"}),(0,r.jsx)("path",{d:"M15 8a7 7 0 01-7 7",stroke:"#dbab0a",strokeWidth:"2"}),(0,r.jsx)("path",{d:"M8 12a4 4 0 100-8 4 4 0 000 8z",fill:"#dbab0a"})]})}):(0,r.jsx)(o.A,{icon:t,sx:{color:s,margin:"0px 7px",alignSelf:"center"}}),(0,r.jsx)(l.A,{"aria-label":e.avatarDescription,direction:"e",children:(0,r.jsx)(m.A,{href:e.avatarUrl,sx:{mr:2},"aria-label":"Avatar",children:(0,r.jsx)(x.r,{square:!0,src:e.avatarLogo,sx:{backgroundColor:e.avatarBackgroundColor}})})})]}),(0,r.jsxs)(f.A,{sx:{fontSize:"13px",color:"fg.muted"},children:[(0,r.jsxs)(f.A,{sx:{fontWeight:"bold",color:"fg.default",mr:"2px"},children:[e.name," "]}),e.pending?(0,r.jsx)(f.A,{sx:{fontStyle:"italic"},children:e.additionalContext}):e.additionalContext,e.description&&(0,r.jsxs)("span",{children:[" ","- ",e.pending?(0,r.jsx)(f.A,{sx:{fontStyle:"italic"},children:e.description}):e.description]})]}),(0,r.jsx)(m.A,{href:e.targetUrl,sx:{pl:"12px",fontSize:"13px",marginLeft:"auto"},children:"Details"})]})}try{g.displayName||(g.displayName="CheckRunItem")}catch{}function y({checkRuns:e}){return(0,r.jsx)(u.A,{as:"ul",sx:{display:"flex",flexDirection:"column",maxHeight:["230px","380px"],overflow:"auto"},children:e.map((e,t)=>(0,r.jsx)(g,{checkRun:e},t))})}try{y.displayName||(y.displayName="ChecksStatusBadgeFooter")}catch{}function j({checksHeaderState:e}){switch(e){case"SUCCEEDED":return(0,r.jsx)(f.A,{sx:{fontWeight:"bold",fontSize:2},children:"All checks have passed"});case"FAILED":return(0,r.jsx)(f.A,{sx:{color:"var(--fgColor-danger, var(--color-danger-fg))",fontWeight:"bold",fontSize:2},children:"All checks have failed"});case"PENDING":return(0,r.jsx)(f.A,{sx:{color:"var(--fgColor-attention, var(--color-attention-fg))",fontWeight:"bold",fontSize:2},children:"Some checks haven\u2019t completed yet"});default:return(0,r.jsx)(f.A,{sx:{color:"var(--fgColor-danger, var(--color-danger-fg))",fontWeight:"bold",fontSize:2},children:"Some checks were not successful"})}}try{j.displayName||(j.displayName="HeaderState")}catch{}function b(e){let{combinedStatus:t,isOpen:s,onDismiss:i}=e,n=t?(0,r.jsx)(j,{checksHeaderState:t.checksHeaderState}):"Loading...";return s?(0,r.jsx)(p.l,{onClose:i,sx:{overflowY:"auto",backgroundColor:"canvas.default",boxShadow:"none",border:"1px solid",borderColor:"border.default",borderBottom:0},title:n,subtitle:t?t.checksStatusSummary:void 0,width:"xlarge",renderBody:()=>(0,r.jsx)(p.l.Body,{sx:{padding:0},children:t?(0,r.jsx)(y,{checkRuns:t.checkRuns}):(0,r.jsx)(u.A,{sx:{display:"flex",justifyContent:"center",p:2},children:(0,r.jsx)(h.A,{size:"medium"})})})}):null}try{b.displayName||(b.displayName="CheckStatusDialog")}catch{}let v={success:{circled:i.CheckCircleIcon,filled:i.CheckCircleFillIcon,default:i.CheckIcon,color:"var(--bgColor-success-emphasis, var(--color-success-emphasis))"},pending:{circled:i.CircleIcon,filled:i.DotFillIcon,default:i.DotFillIcon,color:"var(--bgColor-attention-emphasis, var(--color-scale-yellow-4))"},failure:{circled:i.XCircleIcon,filled:i.XCircleFillIcon,default:i.XIcon,color:"var(--bgColor-danger-emphasis, var(--color-scale-red-4))"},error:{circled:i.QuestionIcon,filled:i.QuestionIcon,default:i.QuestionIcon,color:"var(--fgColor-muted, var(--color-canvas-subtle))"}};function w({className:e,descriptionText:t,icon:s,iconColor:i,tooltipText:n}){let a=(0,c.useId)(),u=(0,r.jsx)(o.A,{"aria-labelledby":n?a:void 0,icon:s,"aria-label":n?void 0:t||"See all checks",sx:{color:i}});return n&&(u=(0,r.jsx)(l.A,{id:a,"aria-label":n,direction:"e",children:u})),(0,r.jsxs)("span",{className:(0,d.$)(e,"d-flex flex-items-center gap-1"),"data-testid":"checks-status-badge-icon-only",children:[u,t&&(0,r.jsxs)("span",{children:[" ",t]})]})}function _(e){let{statusRollup:t,combinedStatus:s,variant:i="default",disablePopover:o,buttonSx:d,size:u="medium",descriptionText:h="",onWillOpenPopup:p}=e,[x,m]=(0,c.useState)(!1),f=(0,c.useId)(),g=(0,c.useRef)(null),y=v[t],{icon:j,iconColor:_}={icon:y?.[i]||v.error[i],iconColor:y?.color||v.error.color};return"error"===t?(0,r.jsx)(w,{className:o?void 0:"p-1",descriptionText:"?/?",icon:j,iconColor:_,tooltipText:"There was an error retrieving checks status"}):o?(0,r.jsx)(w,{descriptionText:h,icon:j,iconColor:_}):(0,r.jsxs)(r.Fragment,{children:[h?(0,r.jsx)(n.Q,{"data-testid":"checks-status-badge-button",leadingVisual:j,variant:"invisible",size:u,"aria-label":s?.checksStatusSummary??`Status checks: ${t}`,sx:{p:1,color:"fg.default",fontWeight:"normal",svg:{color:_},...d},ref:g,onClick:()=>{p?.(),m(!0)},children:h}):(0,r.jsx)(l.A,{id:f,"aria-label":s?.checksStatusSummary??t,direction:"se",sx:{mr:2},children:(0,r.jsx)(a.K,{unsafeDisableTooltip:!0,"data-testid":"checks-status-badge-icon",icon:j,variant:"invisible",size:u,"aria-labelledby":f,sx:{py:0,px:0,svg:{color:_},":hover:not([disabled])":{bg:"pageHeaderBg"},...d},ref:g,onClick:()=>{p?.(),m(!0)}})}),x&&(0,r.jsx)(b,{combinedStatus:s,isOpen:x,onDismiss:()=>{m(!1),setTimeout(()=>{g.current?.focus()},0)}})]})}try{w.displayName||(w.displayName="IconOnlyStatus")}catch{}try{_.displayName||(_.displayName="ChecksStatusBadge")}catch{}var k=s(83056),A=s(28784);function C(e,t){let[s,r]=(0,c.useState)(),[i,n]=(0,c.useState)();return[s,(0,c.useCallback)(async()=>{if(i!==e&&(n(e),r(void 0),e)){let s=(0,k.vki)(t,e),i=await (0,A.lS)(s);r(await i.json())}},[e,i,t])]}},43065:(e,t,s)=>{let r;s.d(t,{WP:()=>h,RW:()=>_,wb:()=>j,_S:()=>m,Jc:()=>y,aq:()=>g,Gp:()=>f,bG:()=>v});var i,n,a=s(73480),o=s(24620);!function(e){e.Required="Required",e.Analytics="Analytics",e.SocialMedia="SocialMedia",e.Advertising="Advertising"}(i||(i={})),function(e){e.Required="Required",e.Analytics="Analytics",e.SocialMedia="Social Media",e.Advertising="Advertising"}(n||(n={}));let l="https://docs.github.com/site-policy/privacy-policies/github-privacy-statement",c=[{id:"Required",name:"Required",descHtml:"GitHub uses required cookies to perform essential website functions and to provide the services. For example, cookies are used to log you in, save your language preferences, provide a shopping cart experience, improve performance, route traffic between web servers, detect the size of your screen, determine page load times, improve user experience, and for audience measurement. These cookies are necessary for our websites to work.",isUnswitchable:!0},{id:"Analytics",name:"Analytics",descHtml:"We allow third parties to use analytics cookies to understand how you use our websites so we can make them better. For example, cookies are used to gather information about the pages you visit and how many clicks you need to accomplish a task. We also use some analytics cookies to provide personalized advertising."},{id:"SocialMedia",name:"Social Media",descHtml:"GitHub and third parties use social media cookies to show you ads and content based on your social media profiles and activity on GitHub's websites. This ensures that the ads and content you see on our websites and on social media will better reflect your interests. This also enables third parties to develop and improve their products, which they may use on websites that are not owned or operated by GitHub."},{id:"Advertising",name:"Advertising",descHtml:"In addition, GitHub and third parties use advertising cookies to show you new ads based on ads you've already seen. Cookies also track which ads you click or purchases you make after clicking an ad. This is done to show you ads that are more relevant to you and for business purposes with our advertising partners. For example, cookies are used to detect when you click an ad and to show you ads based on your social media interests and website browsing history."}],d={textResources:{bannerMessageHtml:`We use optional cookies to improve your experience on our websites and to display personalized advertising based on your online activity. If you reject optional cookies, only cookies necessary to provide you the services listed above will be used. You may change your selection on which cookies to accept by clicking "Manage Cookies" at the bottom of the page to change your selection. This selection is maintained for 180 days. Please review your selections regularly.

How to manage cookie preferences | Privacy Statement | Third-Party Cookies.`,acceptAllLabel:"Accept",rejectAllLabel:"Reject",moreInfoLabel:"Manage cookies",preferencesDialogCloseLabel:"Close",preferencesDialogTitle:"Manage cookie preferences",preferencesDialogDescHtml:`Most GitHub websites use cookies. Cookies are small text files placed on your device to store data so web servers can use it later. GitHub and our third-party partners use cookies to remember your preferences and settings, help you sign in, show you personalized ads, and analyze how well our websites are working. For more info, see the Cookies and similar technologies section of the Privacy Statement.`},themes:{github:{"close-button-color":"#d8b9ff","secondary-button-disabled-opacity":"0.5","secondary-button-hover-shadow":"none","primary-button-disabled-opacity":"0.5","primary-button-hover-border":"1px solid transparent","primary-button-disabled-border":"1px solid transparent","primary-button-hover-shadow":"none","banner-background-color":"#24292f","dialog-background-color":"#24292f","primary-button-color":"#ffffff","text-color":"#ffffff","secondary-button-color":"#32383f","secondary-button-disabled-color":"#424a53","secondary-button-border":"1px solid #eaeef2","background-color-between-page-and-dialog":"rgba(23, 23, 23, 0.8)","dialog-border-color":"#d8b9ff","hyperlink-font-color":"#d8b9ff","secondary-button-hover-color":"#24292f","secondary-button-hover-border":"1px solid #ffffff","secondary-button-disabled-border":"1px solid #6e7781","secondary-button-focus-border-color":"#6e7781","secondary-button-text-color":"#ffffff","secondary-button-disabled-text-color":"#ffffff","primary-button-hover-color":"#d8b9ff","primary-button-disabled-color":"#ffffff","primary-button-border":"1px solid #ffffff","primary-button-focus-border-color":"#ffffff","primary-button-text-color":"#1f2328","primary-button-disabled-text-color":"#1f2328","radio-button-border-color":"#d8b9ff","radio-button-checked-background-color":"#d8b9ff","radio-button-hover-border-color":"#ffffff","radio-button-hover-background-color":"#ffffff","radio-button-disabled-color":"rgba(227, 227, 227, 0.2)","radio-button-disabled-border-color":"rgba(227, 227, 227, 0.2)"}},initialTheme:"github"},u={Required:{Required:!0,Analytics:!1,SocialMedia:!1,Advertising:!1},NotRequired:{Required:!0,Analytics:!0,SocialMedia:!0,Advertising:!0}},h="GHCC",p=new Date(Date.now()+15552e6),x=async e=>{w(e),r?.hideBanner()};async function m(){let{ConsentControl:e}=await s.e("vendors-node_modules_consent-banner_dist_consent-banner_js").then(s.t.bind(s,95672,23));return r=new e("ghcc","en",x,c,d)}function f(){r?.showPreferences(_()||{})}function g(){r?.showBanner(u.Required)}function y(){w(u.NotRequired)}function j(){return null===_()}let b=(0,o.Y)();function v(){return b.promise}function w(e){let t=Object.keys(e).map(t=>`${t}:${e[t]?"1":"0"}`).join("-");(0,a.TV)(h,t,p.toUTCString()),b.resolve(e)}function _(){let e=(0,a.Ri)(h);if(!e)return null;let t=e.value.split("-"),s={};for(let e of t){let[t,r]=e.split(":");t&&(s[t]="1"===r)}return s}let k=_();k&&b.resolve(k)},73480:(e,t,s)=>{function r(e){return i(e)[0]}function i(e){let t=[];for(let s of function(){try{return document.cookie.split(";")}catch{return[]}}()){let[r,i]=s.trim().split("=");e===r&&void 0!==i&&t.push({key:r,value:i})}return t}function n(e,t,s=null,r=!1,i="lax"){let n=document.domain;if(null==n)throw Error("Unable to get document domain");n.endsWith(".github.com")&&(n="github.com");let a="https:"===location.protocol?"; secure":"",o=s?`; expires=${s}`:"";!1===r&&(n=`.${n}`);try{document.cookie=`${e}=${t}; path=/; domain=${n}${o}${a}; samesite=${i}`}catch{}}function a(e,t=!1){let s=document.domain;if(null==s)throw Error("Unable to get document domain");s.endsWith(".github.com")&&(s="github.com");let r=new Date(Date.now()-1).toUTCString(),i="https:"===location.protocol?"; secure":"",n=`; expires=${r}`;!1===t&&(s=`.${s}`);try{document.cookie=`${e}=''; path=/; domain=${s}${n}${i}`}catch{}}s.d(t,{OR:()=>i,Ri:()=>r,TV:()=>n,Yj:()=>a})},13894:(e,t,s)=>{s.d(t,{h:()=>v});var r=s(74848),i=s(47139),n=s(94977),a=s(34614),o=s(75177),l=s(86079),c=s(30729),d=s(52464),u=s(14740);function h({reason:e,isViewer:t,hasSignature:s,verificationStatus:i,signatureType:n,signedByGitHub:o,keyExpired:l,keyRevoked:c}){let h=l?(0,r.jsxs)("span",{children:[" The key has expired",c&&(0,r.jsx)("span",{children:" and has been revoked"}),"."]}):c?(0,r.jsx)("span",{children:" The key has been revoked."}):(0,r.jsx)(r.Fragment,{});if("unverified"===i){if(s&&"GPGVERIFY_UNAVAILABLE"===e)return(0,r.jsx)("span",{children:"The commit signature verification service is not available"});if(!s)return(0,r.jsx)("span",{children:"This commit is not signed, but one or more authors requires that any commit attributed to them is signed."});switch(e){case"INVALID":return(0,r.jsx)("span",{children:"The signature in this commit could not be verified. Someone may be trying to trick you."});case"MALFORMED_SIG":return(0,r.jsx)("span",{children:"We were unable to parse the signature in this commit."});case"UNKNOWN_KEY":if(t)return(0,r.jsxs)("span",{children:[(0,r.jsxs)(a.A,{inline:!0,href:"/settings/keys",children:["Upload your public signing ","SshSignature"===n?"SSH":"GPG"," key"]})," ","to verify your signature."]});return(0,r.jsx)("span",{children:"This user has not yet uploaded their public signing key."});case"BAD_EMAIL":return(0,r.jsx)("span",{children:"The email in this signature doesn\u2019t match the committer email."});case"UNVERIFIED_EMAIL":if(t)return(0,r.jsxs)("span",{children:[(0,r.jsx)(a.A,{inline:!0,href:"/settings/emails",children:"Verify your email address"})," ","to verify your signature."]});return(0,r.jsx)("span",{children:"The committer email address is not verified."});case"NO_USER":return(0,r.jsx)("span",{children:"No user is associated with the committer email."});case"UNKNOWN_SIG_TYPE":return(0,r.jsx)("span",{children:"GitHub supports GPG and S/MIME signatures. We don't know what type of signature this is."});case"GPGVERIFY_ERROR":return(0,r.jsx)("span",{children:"We had a problem verifying this signature. Please try again later."});case"NOT_SIGNING_KEY":return(0,r.jsx)("span",{children:"The key that signed this doesn't have usage flags that allow signing."});case"EXPIRED_KEY":return(0,r.jsx)("span",{children:"The key that signed this is expired."});case"OCSP_ERROR":return(0,r.jsx)("span",{children:"We had a problem checking for revoked certificates. Please try again later."});case"OCSP_REVOKED":return(0,r.jsx)("span",{children:"One or more certificates in the chain has been revoked."});case"BAD_CERT":return(0,r.jsx)("span",{children:"The signing certificate or its chain could not be verified."});default:return(0,r.jsx)("span",{children:"We were unable to verify this signature."})}}else if("partially_verified"===i)return o?(0,u.k)()?(0,r.jsxs)("span",{children:["This commit was created on GitHub Enterprise Server and signed with a"," ",(0,r.jsx)(d.A,{sx:{fontWeight:"bold"},children:"verified signature"}),".",h]}):(0,r.jsxs)("span",{children:["This commit was created on GitHub.com and signed with GitHub's"," ",(0,r.jsx)(d.A,{sx:{fontWeight:"bold"},children:"verified signature"}),".",h]}):(0,r.jsxs)("span",{children:["This commit was signed with the committer's ",(0,r.jsx)(d.A,{sx:{fontWeight:"bold"},children:"verified signature"}),".",h]});else if("verified"===i)switch(e){case"VALID":if(!o)return(0,r.jsxs)("span",{children:["This commit was signed with the committer's ",(0,r.jsx)(d.A,{sx:{fontWeight:"bold"},children:"verified signature"}),".",h]});if((0,u.k)())return(0,r.jsxs)("span",{children:["This commit was created on GitHub Enterprise Server and signed with a"," ",(0,r.jsx)(d.A,{sx:{fontWeight:"bold"},children:"verified signature"}),".",h]});return(0,r.jsxs)("span",{children:["This commit was created on GitHub.com and signed with GitHub's"," ",(0,r.jsx)(d.A,{sx:{fontWeight:"bold"},children:"verified signature"}),".",h]});case"OCSP_PENDING":return(0,r.jsx)("span",{children:"This commit was signed with a verified signature, though we're still working on certificate revocation checking."})}return(0,r.jsx)("span",{})}try{h.displayName||(h.displayName="ReasonLabel")}catch{}function p({icon:e,iconColor:t,id:s,reason:i,isViewer:n,hasSignature:a,verificationStatus:l,signatureType:d,signedByGitHub:u,keyExpired:p,keyRevoked:x}){return(0,r.jsxs)(o.A,{id:s,sx:{display:"flex",p:2},"data-testid":"signed-commit-header",children:[(0,r.jsx)(o.A,{sx:{pr:2},children:(0,r.jsx)(c.A,{icon:e,sx:{color:t}})}),(0,r.jsx)(o.A,{sx:{fontSize:1,flexGrow:1},children:(0,r.jsx)(h,{reason:i,isViewer:n,hasSignature:a,verificationStatus:l,signatureType:d,signedByGitHub:u,keyExpired:p,keyRevoked:x})})]})}try{p.displayName||(p.displayName="SignedCommitHeader")}catch{}var x=s(38621),m=s(89169),f=s(22868);function g({keyHex:e,signatureType:t,signer:s,verifiedAt:n,showPartiallyVerifiedMessage:l,signingLinkComponent:u,keyExpired:h,keyRevoked:p}){return(0,r.jsx)(o.A,{sx:{display:"flex"},"data-testid":"signed-commit-footer",children:(0,r.jsx)(o.A,{sx:{fontSize:0,flexGrow:1,maxWidth:"100%"},children:l&&s?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.A,{sx:{py:3},children:(0,r.jsxs)(o.A,{sx:{display:"flex"},children:[(0,r.jsx)(f.r,{src:s.avatar_url,size:20,sx:{mr:2,ml:3}}),(0,r.jsxs)(o.A,{sx:{flex:1},children:[(0,r.jsx)(a.A,{href:`/${s.login}`,sx:{fontSize:0,color:"fg.default",fontWeight:"bold"},children:s.login}),(0,r.jsxs)("span",{children:["'s contribution has been verified via ","SshSignature"===t?"SSH":"GPG"," key."]})]})]})}),(0,r.jsxs)(o.A,{sx:{backgroundColor:"attention.subtle",display:"flex",p:3},children:[(0,r.jsx)(c.A,{icon:x.InfoIcon,sx:{mr:2}}),"We cannot verify signatures from co-authors, and some of the co-authors attributed to this commit require their commits to be signed."]})]}):(0,r.jsxs)(r.Fragment,{children:[s?(0,r.jsx)(o.A,{sx:{px:3,pt:3},children:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(f.r,{src:s.avatar_url,size:20,sx:{mr:2}}),(0,r.jsx)(a.A,{href:`/${s.login}`,sx:{fontSize:1,color:"fg.default",fontWeight:"bold"},children:s.login})]})}):(0,r.jsx)(r.Fragment,{}),(0,r.jsxs)(o.A,{sx:{p:3,flexDirection:"column"},children:[e&&(0,r.jsxs)("div",{children:["SshSignature"===t?"SSH Key Fingerprint:":"GPG Key ID:"," ",(0,r.jsx)(d.A,{sx:{color:"fg.muted"},children:e})]}),n&&(0,r.jsxs)("div",{children:["Verified"," ",(0,r.jsx)(m.A,{datetime:n,threshold:"PT0S",year:"numeric",hour:"2-digit",minute:"2-digit"})]}),e&&(h||p)&&(0,r.jsxs)(o.A,{sx:{py:1},children:[h&&(0,r.jsx)(i.A,{sx:{mr:1},variant:"accent",children:"Expired"}),p&&(0,r.jsx)(i.A,{variant:"attention",children:"Revoked"})]}),u]})]})})})}try{g.displayName||(g.displayName="SignedCommitFooter")}catch{}function y({subject:e,issuer:t,signingLinkComponent:s,verifiedAt:i}){let n,a;return e.organization&&e.organization_unit?n="O/OU":e.organization?n="O":e.organization_unit&&(n="OU"),t.organization&&t.organization_unit?a="O/OU":t.organization?a="O":t.organization_unit&&(a="OU"),(0,r.jsx)(o.A,{sx:{display:"flex"},"data-testid":"smime-commit-footer",children:(0,r.jsxs)(o.A,{sx:{fontSize:0,p:3},children:[(0,r.jsx)(d.A,{sx:{fontWeight:"bold",fontSize:1},children:"Certificate subject"}),(0,r.jsxs)(o.A,{as:"table",sx:{mb:1},children:[e.common_name&&(0,r.jsxs)("tr",{children:[(0,r.jsx)(o.A,{as:"td",sx:{width:"44px",paddingRight:"12px",color:"fg.muted"},children:"CN"}),(0,r.jsx)(o.A,{as:"td",sx:{width:"44px",paddingRight:"12px"},children:e.common_name})]}),e.email_address&&(0,r.jsxs)("tr",{children:[(0,r.jsx)(o.A,{as:"td",sx:{width:"44px",paddingRight:"12px",color:"fg.muted"},children:"emailAddress"}),(0,r.jsx)(o.A,{as:"td",sx:{width:"44px",paddingRight:"12px"},children:e.email_address})]}),n&&(0,r.jsxs)("tr",{children:[(0,r.jsx)(o.A,{as:"td",sx:{width:"44px",paddingRight:"12px",color:"fg.muted"},children:n}),(0,r.jsxs)("td",{children:[e.organization,"O/OU"===n&&"/",e.organization_unit]})]})]}),(0,r.jsx)(d.A,{sx:{fontWeight:"bold",fontSize:1},children:"Certificate issuer"}),(0,r.jsxs)(o.A,{as:"table",sx:{mb:1},children:[t.common_name&&(0,r.jsxs)("tr",{children:[(0,r.jsx)(o.A,{as:"td",sx:{width:"44px",paddingRight:"12px",color:"fg.muted"},children:"CN"}),(0,r.jsx)("td",{children:t.common_name})]}),a&&(0,r.jsxs)("tr",{children:[(0,r.jsx)(o.A,{as:"td",sx:{width:"44px",paddingRight:"12px",color:"fg.muted"},children:a}),(0,r.jsxs)("td",{children:[t.organization,"O/OU"===a&&"/",t.organization_unit]})]})]}),i&&(0,r.jsxs)("div",{children:["Verified"," ",(0,r.jsx)(m.A,{datetime:i,threshold:"PT0S",year:"numeric",hour:"2-digit",minute:"2-digit"})]}),s]})})}try{y.displayName||(y.displayName="SmimeCommitFooter")}catch{}function j(e){var t;let s;let{ariaLabel:i,hasSignature:n,isOpen:c,onDismiss:d,signature:u,verificationStatus:h}=e,{footerLabel:m,footerUrl:f}=(t=u.helpUrl,{footerLabel:"Learn about vigilant mode",footerUrl:`${t}/github/authenticating-to-github/displaying-verification-statuses-for-all-of-your-commits`}),j=u.signatureVerificationReason.toUpperCase(),b=u.signedByGitHub,{icon:v,icon_color:w}="unverified"===h?{icon:x.UnverifiedIcon,icon_color:"fg.muted"}:{icon:x.VerifiedIcon,icon_color:"success.fg"};"unverified"===h||b||(s={avatar_url:u.signerAvatarUrl,login:u.signerLogin});let _=(0,r.jsx)(a.A,{href:f,"data-testid":"signature-link",className:"Link--inTextBlock",children:m});return c?(0,r.jsx)(l.l,{onClose:d,sx:{overflowY:"auto",backgroundColor:"canvas.default",boxShadow:"none"},title:h,width:"small",renderHeader:({dialogLabelId:e,dialogDescriptionId:t})=>(0,r.jsxs)(o.A,{"data-testid":"signed-commit-dialog",sx:{display:"flex",gap:2,alignItems:"flex-start",p:2,backgroundColor:"canvas.subtle",borderBottomWidth:"1px",borderBottomStyle:"solid",borderBottomColor:"border.subtle"},children:[(0,r.jsx)(l.l.Title,{id:e,className:"sr-only",children:i??h}),(0,r.jsx)(p,{reason:j,icon:v,iconColor:w,id:t,verificationStatus:h,isViewer:u.isViewer,hasSignature:n,signatureType:u.signatureType,signedByGitHub:b,keyExpired:u.keyExpired,keyRevoked:u.keyRevoked}),(0,r.jsx)(l.l.CloseButton,{onClose:d})]}),renderBody:()=>(0,r.jsx)(l.l.Body,{sx:{padding:0},children:"GpgSignature"===u.signatureType||"SshSignature"===u.signatureType?(0,r.jsx)(g,{keyHex:u.keyId,signatureType:u.signatureType,signer:s,verifiedAt:u.verifiedAt,showPartiallyVerifiedMessage:"partially_verified"===h,signingLinkComponent:_,keyExpired:u.keyExpired,keyRevoked:u.keyRevoked}):"SmimeSignature"===u.signatureType&&u.signatureCertificateSubject&&u.signatureCertificateIssuer?(0,r.jsx)(y,{issuer:u.signatureCertificateIssuer,subject:u.signatureCertificateSubject,signingLinkComponent:_,verifiedAt:u.verifiedAt}):(0,r.jsx)(o.A,{sx:{display:"flex"},children:(0,r.jsx)(o.A,{sx:{fontSize:0,p:3},children:_})})})}):null}try{j.displayName||(j.displayName="SignedCommitDialog")}catch{}var b=s(96540);function v({hasSignature:e,verificationStatus:t,signature:s,commitOid:i,badgeSize:a="small"}){let[o,l]=(0,b.useState)(!1),c=(0,b.useRef)(null);if(!t||!s)return(0,r.jsx)(n.A,{"aria-label":"Verification status not available",direction:"n",noDelay:!0,children:(0,r.jsx)(_,{verificationStatus:"error",labelProps:{size:"small"}})});if("unsigned"===t)return(0,r.jsx)(r.Fragment,{});let d=(0,r.jsx)(_,{labelProps:{as:"button",onClick:()=>l(!0),ref:c,size:a,sx:{cursor:"pointer"}},verificationStatus:t});return(0,r.jsxs)(r.Fragment,{children:[d,o&&(0,r.jsx)(j,{isOpen:o,onDismiss:()=>{l(!1),setTimeout(()=>{c.current?.focus()},0)},verificationStatus:t,signature:s,hasSignature:e,ariaLabel:`${t.replace("_"," ")}: ${i.slice(0,7)}`})]})}let w={verified:{label:"Verified",variant:"success"},unverified:{label:"Unverified",variant:"attention"},partially_verified:{label:"Partially verified",variant:"success"},error:{label:"Verification error",variant:"secondary"}},_=(0,b.forwardRef)(({verificationStatus:e,labelProps:t},s)=>{let n=w[e];return n?(0,r.jsx)(i.A,{ref:s,variant:n.variant,...t,children:n.label}):(0,r.jsx)(r.Fragment,{})});_.displayName="VerificationLabel";try{v.displayName||(v.displayName="SignedCommitBadge")}catch{}},41463:(e,t,s)=>{s.d(t,{e:()=>l,i:()=>o});var r=s(74848),i=s(97156),n=s(96540);let a=n.createContext({focusHint:null,setFocusHint:()=>void 0});function o({children:e}){let t={key:i.fV.pathname+i.fV.search},s=(0,n.useRef)(t.key),o=(0,n.useRef)(t.key),l=(0,n.useRef)({hint:null,location:null}),c=(0,n.useCallback)((e,s)=>{l.current={hint:e,context:s,location:t.key}},[t.key]);o.current!==t.key&&(s.current=o.current,o.current=t.key);let d=l.current.location===s.current,u=d?l.current.hint:null,h=d?l.current.context:null,p=(0,n.useMemo)(()=>({focusHint:u,context:h,setFocusHint:c}),[u,h,c]);return(0,r.jsx)(a.Provider,{value:p,children:e})}function l(){return(0,n.useContext)(a)}try{a.displayName||(a.displayName="FocusHintContext")}catch{}try{o.displayName||(o.displayName="FocusHintContextProvider")}catch{}},87726:(e,t,s)=>{s.d(t,{x:()=>h});var r=s(74848),i=s(38621),n=s(75177),a=s(65481),o=s(34614),l=s(89323),c=s(16823),d=s(30729),u=s(47767);function h({portalContainerName:e,protectedOrgs:t,redirectURI:s,sx:l}){let c=(0,u.zy)();if(!t||0===t.length)return null;let h=(0,r.jsx)("b",{children:t.slice(0,3).join(", ")});return 2===t.length&&(h=(0,r.jsxs)("span",{children:[(0,r.jsx)("b",{children:t[0]})," and ",(0,r.jsx)("b",{children:t[1]})]})),3===t.length&&(h=(0,r.jsxs)("span",{children:[(0,r.jsx)("b",{children:t.slice(0,2).join(", ")}),", and ",(0,r.jsx)("b",{children:t[2]})]})),(0,r.jsx)(n.A,{sx:l,"data-testid":"sso-banner",children:(0,r.jsx)(n.A,{sx:{fontSize:1},children:(0,r.jsx)("section",{"aria-label":"Single sign on information",children:(0,r.jsx)(a.A,{sx:{p:3,borderRadius:2,borderWidth:1,borderStyle:"solid",borderColor:"accent.muted",fontSize:1},children:1===t.length?(0,r.jsxs)("div",{children:[(0,r.jsx)(d.A,{icon:i.ShieldLockIcon}),(0,r.jsx)(o.A,{inline:!0,href:`/orgs/${t[0]}/sso?return_to=${x({location:c,redirectURI:s})}`,children:"Single sign-on"}),"\xa0to see results in the ",(0,r.jsx)("b",{children:t[0]})," organization."]}):(0,r.jsxs)(n.A,{sx:{display:"flex",alignItems:"baseline",flexWrap:"wrap",gap:2},children:[(0,r.jsxs)(n.A,{sx:{flexGrow:1},children:[(0,r.jsx)(d.A,{icon:i.ShieldLockIcon}),"Single sign on to see results in the ",h," ",t.length>3?`and ${t.length-3} other `:"",t.length>1?"organizations":"organization","."]}),(0,r.jsx)(n.A,{sx:{mt:[2,2,0]},children:(0,r.jsx)(p,{portalContainerName:e,protectedOrgs:t,redirectURI:s})})]})})})})})}function p({portalContainerName:e,protectedOrgs:t,redirectURI:s}){let i=(0,u.zy)();return(0,r.jsxs)(l.W,{children:[(0,r.jsx)(l.W.Button,{size:"small",children:"Select an organization"}),(0,r.jsx)(l.W.Overlay,{portalContainerName:e,children:(0,r.jsx)(c.l,{children:t.map(e=>(0,r.jsx)(c.l.Item,{onSelect:()=>window.location.href=`/orgs/${e}/sso?return_to=${x({location:i,redirectURI:s})}`,children:e},`org-${e}`))})})]})}function x({location:e,redirectURI:t}){return encodeURIComponent(t?t(e):e.pathname+e.search+e.hash)}try{h.displayName||(h.displayName="SingleSignOnBanner")}catch{}try{p.displayName||(p.displayName="SingleSignOnButton")}catch{}},18679:(e,t,s)=>{s.d(t,{s:()=>AnalyticsClient});let r=["utm_source","utm_medium","utm_campaign","utm_term","utm_content","scid"];var i=s(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,i.y)()}createEvent(e){return{page:location.href,title:document.title,context:{...this.options.baseContext,...function(){let e={};try{for(let[t,s]of new URLSearchParams(window.location.search)){let i=t.toLowerCase();r.includes(i)&&(e[i]=s)}return e}catch(e){return{}}}(),...e}}}sendPageView(e){let t=this.createEvent(e);this.send({page_views:[t]})}sendEvent(e,t){let s={...this.createEvent(t),type:e};this.send({events:[s]})}send({page_views:e,events:t}){let s=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,s);return}}catch{}fetch(this.collectorUrl,{method:"POST",cache:"no-cache",headers:{"Content-Type":"application/json"},body:s,keepalive:!1})}}},70837:(e,t,s)=>{s.d(t,{O:()=>r});function r(e="ha"){let t;let s={};for(let r of Array.from(document.head.querySelectorAll(`meta[name^="${e}-"]`))){let{name:i,content:n}=r,a=i.replace(`${e}-`,"").replace(/-/g,"_");"url"===a?t=n:s[a]=n}if(!t)throw Error(`AnalyticsClient ${e}-url meta tag not found`);return{collectorUrl:t,...Object.keys(s).length>0?{baseContext:s}:{}}}},40094:(e,t,s)=>{let r;s.d(t,{Wx:()=>l});var i=s(96540);let n=new Map,a=new WeakMap,o=0;function l({threshold:e,delay:t,trackVisibility:s,rootMargin:l,root:c,triggerOnce:d,skip:u,initialInView:h,fallbackInView:p,onChange:x}={}){var m;let[f,g]=i.useState(null),y=i.useRef(),[j,b]=i.useState({inView:!!h,entry:void 0});y.current=x,i.useEffect(()=>{let i;if(!u&&f)return i=function(e,t,s={},i=r){if(void 0===window.IntersectionObserver&&void 0!==i){let r=e.getBoundingClientRect();return t(i,{isIntersecting:i,target:e,intersectionRatio:"number"==typeof s.threshold?s.threshold:0,time:0,boundingClientRect:r,intersectionRect:r,rootBounds:r}),()=>{}}let{id:l,observer:c,elements:d}=function(e){let t=Object.keys(e).sort().filter(t=>void 0!==e[t]).map(t=>{var s;return`${t}_${"root"===t?(s=e.root)?(a.has(s)||(o+=1,a.set(s,o.toString())),a.get(s)):"0":e[t]}`}).toString(),s=n.get(t);if(!s){let r;let i=new Map,a=new IntersectionObserver(t=>{t.forEach(t=>{var s;let n=t.isIntersecting&&r.some(e=>t.intersectionRatio>=e);e.trackVisibility&&void 0===t.isVisible&&(t.isVisible=n),null==(s=i.get(t.target))||s.forEach(e=>{e(n,t)})})},e);r=a.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),s={id:t,observer:a,elements:i},n.set(t,s)}return s}(s),u=d.get(e)||[];return d.has(e)||d.set(e,u),u.push(t),c.observe(e),function(){u.splice(u.indexOf(t),1),0===u.length&&(d.delete(e),c.unobserve(e)),0===d.size&&(c.disconnect(),n.delete(l))}}(f,(e,t)=>{b({inView:e,entry:t}),y.current&&y.current(e,t),t.isIntersecting&&d&&i&&(i(),i=void 0)},{root:c,rootMargin:l,threshold:e,trackVisibility:s,delay:t},p),()=>{i&&i()}},[Array.isArray(e)?e.toString():e,f,c,l,d,u,s,p,t]);let v=null==(m=j.entry)?void 0:m.target,w=i.useRef();f||!v||d||u||w.current===v||(w.current=v,b({inView:!!h,entry:void 0}));let _=[g,j.inView,j.entry];return _.ref=_[0],_.inView=_[1],_.entry=_[2],_}}},e=>{var t=t=>e(e.s=t);e.O(0,["primer-react","react-core","react-lib","octicons-react","vendors-node_modules_dompurify_dist_purify_js","vendors-node_modules_primer_behaviors_dist_esm_index_mjs","vendors-node_modules_emotion_is-prop-valid_dist_emotion-is-prop-valid_esm_js-node_modules_emo-0e630d","vendors-node_modules_oddbird_popover-polyfill_dist_popover-fn_js","vendors-node_modules_github_catalyst_lib_index_js-node_modules_primer_live-region-element_dis-037ad60","vendors-node_modules_github_relative-time-element_dist_index_js","vendors-node_modules_github_blackbird-parser_dist_blackbird_js","ui_packages_failbot_failbot_ts","ui_packages_aria-live_aria-live_ts-ui_packages_promise-with-resolvers-polyfill_promise-with-r-014121","ui_packages_paths_index_ts","ui_packages_document-metadata_document-metadata_ts-ui_packages_use-analytics_use-analytics_ts-a5b770"],()=>t(79506)),e.O()}]); +//# sourceMappingURL=blackbird-search-aac1fb440a1d.js.map \ No newline at end of file diff --git a/Shargil_VoiceToPlaylist_ 4.5 hours project - Voice Emotion Recognizer that open up a Spotify playlist according to you mood._files/code-53e56f0305ac.css b/Shargil_VoiceToPlaylist_ 4.5 hours project - Voice Emotion Recognizer that open up a Spotify playlist according to you mood._files/code-53e56f0305ac.css new file mode 100644 index 0000000000000000000000000000000000000000..59b255a87c51fbc7f737aafc1e99cb12d784350a --- /dev/null +++ b/Shargil_VoiceToPlaylist_ 4.5 hours project - Voice Emotion Recognizer that open up a Spotify playlist according to you mood._files/code-53e56f0305ac.css @@ -0,0 +1,4 @@ +.BorderGrid{display:table;width:100%;margin-top:calc(var(--base-size-16)*-1);margin-bottom:calc(var(--base-size-16)*-1);table-layout:fixed;border-collapse:collapse;border-style:hidden}.BorderGrid .BorderGrid-cell{padding-top:var(--base-size-16);padding-bottom:var(--base-size-16)}.BorderGrid--spacious{margin-top:calc(var(--base-size-24)*-1);margin-bottom:calc(var(--base-size-24)*-1)}.BorderGrid--spacious .BorderGrid-cell{padding-top:var(--base-size-24);padding-bottom:var(--base-size-24)}.BorderGrid-row{display:table-row}.BorderGrid-cell{display:table-cell;border:var(--borderWidth-thin) solid var(--borderColor-muted, var(--color-border-muted))}.hx_details-with-rotating-caret[open]>.btn-link .hx_dropdown-caret-rotatable{border-width:0 var(--base-size-4) var(--base-size-4) var(--base-size-4);border-top-color:transparent;border-bottom-color:var(--borderColor-accent-emphasis, var(--color-accent-emphasis))}.branches-tag-list{display:inline;margin-right:var(--base-size-8);margin-left:2px;vertical-align:middle;list-style:none}.branches-tag-list .more-commit-details,.branches-tag-list.open .hidden-text-expander{display:none}.branches-tag-list.open .more-commit-details{display:inline-block}.branches-tag-list li{display:inline-block;padding-left:var(--base-size-4)}.branches-tag-list li:first-child{padding-left:0;font-weight:var(--base-text-weight-semibold, 600);color:var(--fgColor-default, var(--color-fg-default))}.branches-tag-list li.loading{font-weight:var(--base-text-weight-normal, 400);color:var(--fgColor-muted, var(--color-fg-muted))}.branches-tag-list li.abbrev-tags{cursor:pointer}.branches-tag-list li a{color:inherit}.create-branch-source-branch .SelectMenu-modal{max-height:100%;overflow:visible}.branch-a-b-count .count-half{position:relative;float:left;width:90px;padding-bottom:var(--base-size-4);text-align:right}.branch-a-b-count .count-half:last-child{text-align:left;border-left:var(--borderWidth-thin) solid var(--borderColor-default, var(--color-border-default))}.branch-a-b-count .count-value{position:relative;top:-1px;display:block;padding:0 var(--base-size-4);font-size:12px}.branch-a-b-count .bar{position:absolute;min-width:3px;height:4px}.branch-a-b-count .meter{position:absolute;height:4px;background-color:var(--bgColor-neutral-muted, var(--color-neutral-muted))}.branch-a-b-count .meter.zero{background-color:transparent}.branch-a-b-count .bar-behind{right:0;border-radius:var(--borderRadius-medium) 0 0 var(--borderRadius-medium)}.branch-a-b-count .bar-behind .meter{right:0;border-radius:var(--borderRadius-medium) 0 0 var(--borderRadius-medium)}.branch-a-b-count .bar-ahead{left:0;border-radius:0 var(--borderRadius-medium) var(--borderRadius-medium) 0}.branch-a-b-count .bar-ahead .meter{border-radius:0 var(--borderRadius-medium) var(--borderRadius-medium) 0}.branch-a-b-count .bar-ahead.even,.branch-a-b-count .bar-behind.even{min-width:2px;background:#eaecef}.branches .clear-search{display:none}.branches .loading-overlay{position:absolute;top:0;z-index:20;display:none;width:100%;height:100%;padding-top:50px;text-align:center}.branches .loading-overlay::before{position:absolute;top:0;right:0;bottom:0;left:0;content:"";background-color:var(--bgColor-default, var(--color-canvas-default));opacity:.7}.branches .loading-overlay .spinner{display:inline-block}.branches.is-loading .loading-overlay{display:block}.branches.is-search-mode .clear-search{display:inline-block}.commit-loader .loader-error{display:none;margin:0;font-size:12px;font-weight:var(--base-text-weight-semibold, 600);color:var(--fgColor-danger, var(--color-danger-fg))}.commit-loader.is-error .loader-error{display:block}@media screen and (max-width: 768px){.truncate-for-mobile{display:none}}.show-for-mobile{display:none}@media screen and (max-width: 768px){.show-for-mobile{display:table-row}}.editor-abort{display:inline;font-size:14px}.file-commit-form{padding-left:var(--base-size-64)}.file-commit-form--full{position:absolute;bottom:0;left:0;z-index:10;width:100%;padding-top:var(--base-size-16);padding-left:0;margin-top:var(--base-size-16);margin-bottom:var(--base-size-16);background:var(--bgColor-default, var(--color-canvas-default))}@media(min-width: 1012px){.file-commit-form--full{top:0;right:0;bottom:auto;left:auto;width:auto;margin-top:0;margin-bottom:0}}.file-commit-form--full .commit-form{padding:0;margin-bottom:var(--base-size-24);border:0}.file-commit-form--full .commit-form::before{display:none}.file-commit-form-dropdown{position:fixed;top:0;left:0;width:100%;height:100%}.file-commit-form-dropdown::after{display:none}@media(min-width: 1012px){.file-commit-form-dropdown{position:absolute;top:auto;left:auto;width:420px;height:auto}.file-commit-form-dropdown::after{display:inline-block}}.react-code-view-edit .cm-editor{border-bottom-right-radius:var(--borderRadius-medium);border-bottom-left-radius:var(--borderRadius-medium)}.react-code-view-edit .cm-editor .cm-panels-bottom{contain:paint;border-bottom-right-radius:var(--borderRadius-medium);border-bottom-left-radius:var(--borderRadius-medium)}.react-code-view-edit .cm-editor .cm-gutters{border-bottom-left-radius:var(--borderRadius-medium)}.page-blob.height-full .blob-wrapper{overflow-y:auto}.file-info-divider{display:inline-block;width:1px;height:18px;margin-right:var(--base-size-4);margin-left:var(--base-size-4);vertical-align:middle;border-left:var(--borderWidth-thin) solid var(--borderColor-default, var(--color-border-default))}.file-mode{text-transform:capitalize}.include-fragment-error{display:none}.is-error .include-fragment-error{display:block}.html-blob{margin-bottom:var(--base-size-16)}.file-sidebar-container .file{border-top-right-radius:0;border-bottom-right-radius:0}.file-navigation::before{display:table;content:""}.file-navigation::after{display:table;clear:both;content:""}.file-navigation .select-menu-button .css-truncate-target{max-width:200px}.file-navigation .breadcrumb{float:left;margin-top:0;margin-left:var(--base-size-4);font-size:16px;line-height:26px}.file-navigation+.breadcrumb{margin-bottom:var(--base-size-8)}.file-blankslate{border:0;border-radius:0 0 var(--borderRadius-medium) var(--borderRadius-medium)}.about-margin{margin-top:var(--base-size-12)}.focusable-grid-cell{caret-color:transparent;scroll-margin-top:200px}.focusable-grid-cell:focus{outline:2px solid var(--focus-outlineColor, var(--color-accent-fg));outline-offset:-2px;box-shadow:inset 0 0 0 3px var(--fgColor-onEmphasis, var(--color-fg-on-emphasis));box-shadow:none}.diff-line-row{height:var(--diff-line-minimum-height);line-height:var(--diff-line-height)}.diff-line-row:last-child .diff-line-number.left-side:first-of-type{border-bottom-left-radius:var(--borderRadius-medium)}.diff-line-row:last-child .diff-text-cell.right-side-diff-cell{border-bottom-right-radius:var(--borderRadius-medium)}.diff-text-cell{position:relative;padding-right:var(--diff-line-height);padding-left:var(--diff-line-height)}.diff-text-cell.hunk{display:flex;flex-direction:row;align-items:center}.diff-text-cell .diff-text .diff-text-marker{position:absolute;top:0;left:var(--base-size-8);padding-right:var(--base-size-8);-webkit-user-select:none;user-select:none}.diff-text-cell .diff-text .diff-text-inner{overflow:hidden;color:var(--fgColor-default, var(--color-fg-default));word-wrap:break-word;white-space:pre-wrap}.diff-text-cell .syntax-highlighted-line.addition .x{color:var(--diffBlob-additionWord-fgColor, var(--diffBlob-addition-fgColor-text));background-color:var(--diffBlob-additionWord-bgColor, var(--diffBlob-addition-bgColor-word))}.diff-text-cell .syntax-highlighted-line.deletion .x{color:var(--diffBlob-deletionWord-fgColor, var(--diffBlob-deletion-fgColor-text));background-color:var(--diffBlob-deletionWord-bgColor, var(--diffBlob-deletion-bgColor-word))}.diff-text-cell .syntax-highlighted-line .x-first{border-top-left-radius:var(--borderRadius-small);border-bottom-left-radius:var(--borderRadius-small)}.diff-text-cell .syntax-highlighted-line .x-last{border-top-right-radius:var(--borderRadius-small);border-bottom-right-radius:var(--borderRadius-small)}.empty-diff-line{background-color:var(--diffBlob-emptyLine-bgColor, var(--bgColor-muted))}.diff-line-number{width:1%;min-width:50px;line-height:100%;text-align:right;cursor:pointer;-webkit-user-select:none;user-select:none}.diff-line-number code{line-height:var(--diff-line-height)}.diff-line-number .diff-line-number-button{all:unset;width:100%}.diff-line-number .diff-line-number-button:hover{font-weight:var(--base-text-weight-semibold, 600);color:var(--fgColor-default, var(--color-fg-default))}.diff-line-number .diff-line-number-button:focus-visible{outline:2px solid var(--focus-outlineColor, var(--color-accent-fg));outline-offset:-2px;box-shadow:inset 0 0 0 3px var(--fgColor-onEmphasis, var(--color-fg-on-emphasis));box-shadow:none}.diff-line-number.has-expander{padding-right:0;padding-left:0}.diff-line-number-neutral{color:var(--fgColor-muted, var(--color-fg-muted))}:root{--line-number-cell-width: 44px;--line-number-cell-width-unified: 88px;--diff-line-minimum-height: 24px;--diff-line-height: 24px;--diff-action-bar-position: 0}.hunk-kebab-icon{display:flex;width:var(--line-number-cell-width);padding-top:var(--base-size-4);background-color:var(--diffBlob-hunkNum-bgColor-rest, var(--diffBlob-hunk-bgColor-num));justify-content:right}.hunk-kebab-icon-unified{width:var(--line-number-cell-width-unified)}table[data-block-diff-cell-selection=left] .left-side-diff-cell{-webkit-user-select:none;user-select:none}table[data-block-diff-cell-selection=right] .right-side-diff-cell{-webkit-user-select:none;user-select:none}.react-code-file-contents{display:flex}.react-line-numbers{position:relative;z-index:2;display:flex;width:72px;min-width:72px;pointer-events:auto;flex-direction:column;align-items:flex-end}.react-line-numbers-no-virtualization{position:relative;z-index:2;display:flex;width:82px;min-width:82px;pointer-events:auto;flex-direction:column;align-items:flex-end}.react-code-lines{position:relative;width:100%}.react-line-number{position:relative;padding-right:10px;padding-left:var(--base-size-16);color:var(--fgColor-muted, var(--color-fg-muted));text-align:right;white-space:nowrap;border:0}.react-line-number.highlighted-line{z-index:1}.react-line-number:not(.prevent-click){cursor:pointer;-webkit-user-select:none;user-select:none}.react-line-number:not(.prevent-click):hover{color:var(--fgColor-default, var(--color-fg-default))}.react-code-line-contents-no-virtualization{position:relative;width:100%;padding-right:10px;padding-left:10px;overflow:visible;color:var(--fgColor-default, var(--color-fg-default));vertical-align:middle;scroll-margin-top:20vh}.expand-row-ellipsis{z-index:3;max-height:20px;color:var(--fgColor-muted, var(--color-fg-subtle));pointer-events:auto;background-color:transparent}.expand-row-ellipsis:hover{color:var(--fgColor-accent, var(--color-accent-fg))}.react-code-line-contents{position:relative;display:flex;width:100%;padding-right:10px;padding-left:10px;overflow:visible;color:var(--fgColor-default, var(--color-fg-default));vertical-align:middle;scroll-margin-top:20vh}.react-code-line-contents .expand-row-ellipsis{max-height:20px;color:var(--fgColor-muted, var(--color-fg-subtle));pointer-events:auto;background-color:transparent}.react-code-line-contents .expand-row-ellipsis:hover{color:var(--fgColor-accent, var(--color-accent-fg))}.react-code-text{font-family:var(--fontStack-monospace, ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace);font-size:12px;line-height:20px;word-wrap:normal;white-space:pre}.react-code-text span{display:inline-block}.react-code-text-cell{word-wrap:anywhere;white-space:pre-wrap}.react-code-text-cell span{display:inline}.react-code-text-cell span:empty{display:inline-block}.react-no-virtualization-wrapper{content-visibility:auto}.react-no-virtualization-wrapper-lines{content-visibility:auto;padding-right:10px}.react-no-virtualization-wrapper-lines-ssr{padding-right:10px}.react-line-number.virtual,.react-code-line-contents.virtual{position:absolute;top:0}.react-csv-row{background:var(--bgColor-default, var(--color-canvas-default))}.react-csv-line-number{position:relative;padding-left:var(--base-size-4)}.react-csv-line-number .react-line-number{padding-top:9px;padding-bottom:var(--base-size-8);padding-left:var(--base-size-12);line-height:unset}.react-csv-row--highlighted .react-csv-cell{background:var(--bgColor-attention-muted, var(--color-attention-subtle))}.react-csv-row--highlighted .react-csv-cell:nth-of-type(2){box-shadow:inset 2px 0 0 var(--borderColor-attention-emphasis, var(--color-attention-fg))}.react-csv-cell{padding:var(--base-size-8);font-size:12px;white-space:nowrap;border-top:solid var(--borderWidth-thin) var(--borderColor-default);border-left:solid var(--borderWidth-thin) var(--borderColor-default)}.react-csv-cell--header{font-weight:var(--base-text-weight-semibold, 600);text-align:left;background:var(--bgColor-muted, var(--color-canvas-subtle));border-top:0}.react-file-line.html-div{padding-left:10px}.react-file-line [data-code-text]::before{content:attr(data-code-text)}.bidi-replacement{-webkit-user-select:none;user-select:none;border:var(--borderWidth-thin) solid var(--borderColor-danger-emphasis, var(--color-danger-emphasis));border-radius:var(--borderRadius-medium)}.bidi-replacement.padded{padding:var(--base-size-4);margin-right:var(--base-size-4);margin-left:var(--base-size-4)}.react-code-size-details-banner{display:none}@media(max-width: 1012px){.react-code-size-details-banner{display:flex !important}}.react-code-size-details-in-header{display:flex;align-items:center}@media(max-width: 1012px){.react-code-size-details-in-header{display:none}}@media(max-width: 544px){.react-blob-view-header-sticky{position:relative !important}}.react-blob-header-edit-and-raw-actions{display:inherit !important}@media(max-width: 544px){.react-blob-header-edit-and-raw-actions{display:none !important}}.react-blob-header-edit-and-raw-actions-combined{display:none !important}@media(max-width: 544px){.react-blob-header-edit-and-raw-actions-combined{display:inherit !important}}@media(max-width: 430px){.react-contributors-title{display:none}}.react-blame-segment-wrapper{display:flex;width:100%;flex-direction:column;border-bottom:var(--borderWidth-thin) solid var(--borderColor-muted, var(--color-border-muted))}@media(min-width: 768px){.react-blame-segment-wrapper{flex-direction:row}}.react-blame-no-line-data{padding-top:10px;padding-bottom:10px}@media(min-width: 768px){.react-blame-no-line-data{padding-top:5px;padding-bottom:5px}}.react-blame-for-range{min-width:auto}@media(max-width: 768px){.react-blame-for-range{background:var(--bgColor-muted, var(--color-canvas-subtle));border-bottom:var(--borderWidth-thin) solid var(--borderColor-muted, var(--color-border-muted))}}@media(min-width: 768px){.react-blame-for-range{min-width:350px;max-width:350px}}.react-blame-for-range .age-indicator{width:var(--base-size-4);padding:2px}.react-blame-for-range .age-indicator .blame-age-indicator{width:var(--base-size-4);height:100%;border-radius:2px}.react-blame-for-range .author-avatar-wrapper{width:25px;padding-top:6px;padding-left:var(--base-size-4);vertical-align:top}@media(min-width: 768px){.react-blame-for-range .author-avatar-wrapper{padding-top:3px}}.react-blame-for-range .timestamp-ago{width:100px;padding-left:10px;vertical-align:top}.react-blame-for-range .timestamp-wrapper-desktop{display:none}@media(min-width: 768px){.react-blame-for-range .timestamp-wrapper-desktop{display:inherit}}.react-blame-for-range .timestamp-wrapper-mobile{display:flex}@media(min-width: 768px){.react-blame-for-range .timestamp-wrapper-mobile{display:none}}.react-file-upload{display:flex;min-height:0;flex-direction:column}.react-file-upload .file-input-focused{padding:5px var(--base-size-8);border:var(--borderWidth-thick) solid var(--borderColor-accent-emphasis, var(--color-accent-emphasis)) !important}.react-blob-print-hide{font-family:var(--fontStack-monospace, ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace) !important}@media print{.react-blob-print-hide{display:none}}@media(forced-colors: active){.code-navigation-cursor{forced-color-adjust:none;background-color:#fff !important}}.js-snippet-clipboard-copy-unpositioned .markdown-body .snippet-clipboard-content,.js-snippet-clipboard-copy-unpositioned .markdown-body .highlight{display:flex;justify-content:space-between;margin-bottom:var(--base-size-16);background-color:var(--bgColor-muted, var(--color-canvas-subtle))}.js-snippet-clipboard-copy-unpositioned .markdown-body .snippet-clipboard-content pre,.js-snippet-clipboard-copy-unpositioned .markdown-body .highlight pre{margin-bottom:0}.js-snippet-clipboard-copy-unpositioned .markdown-body .snippet-clipboard-content .zeroclipboard-container,.js-snippet-clipboard-copy-unpositioned .markdown-body .highlight .zeroclipboard-container{display:block;animation:none}.js-snippet-clipboard-copy-unpositioned .markdown-body .snippet-clipboard-content .zeroclipboard-container clipboard-copy,.js-snippet-clipboard-copy-unpositioned .markdown-body .highlight .zeroclipboard-container clipboard-copy{width:var(--control-small-size, 28px);height:var(--control-small-size, 28px)}.react-blob-print-hide::selection{background-color:var(--selection-bgColor, var(--color-accent-muted))}.react-button-with-indicator::after{position:absolute;top:0;right:0;display:inline-block;width:var(--base-size-8, 8px);height:var(--base-size-8, 8px);content:"";background:var(--bgColor-accent-emphasis, var(--color-accent-fg));border:var(--borderWidth-thick) solid var(--bgColor-default, var(--color-canvas-default));border-radius:50%}@media(max-width: 544px){.react-blob-sticky-header{display:none !important;content-visibility:hidden}.react-blob-scroll-marks{display:none}.AvatarShowLarge{display:none !important}.AvatarShowMedium{display:none !important}.popover-container-width{width:320px}}@media(max-width: 768px)and (min-width: 544px){.AvatarShowLarge{display:none !important}.AvatarShowMedium{display:inherit !important}}@media(max-width: 768px){.react-code-view-bottom-padding{margin-bottom:var(--base-size-8)}.react-code-view-header-mb--narrow{margin-bottom:var(--base-size-8)}.react-tree-show-tree-items-on-large-screen{display:none}.inner-panel-content-not-narrow{display:none !important}.find-text-help-tooltip{display:none !important}.blob-license-banner-outer{flex-direction:column}.code-nav-file-information{max-height:40vh;overflow-y:auto}.find-in-file-popover{position:absolute;right:0;bottom:0;left:0;z-index:11;width:100%;background:var(--bgColor-default, var(--color-canvas-default));border:var(--borderWidth-thin) solid var(--borderColor-default, var(--color-border-default));border-radius:var(--borderRadius-large)}}@media(min-width: 768px){.AvatarShowLarge{display:inherit !important}.react-tree-show-tree-items-on-large-screen{display:block}.AvatarShowMedium{display:inherit !important}.react-code-view-bottom-padding{margin-bottom:var(--base-size-16)}.panel-content-narrow-styles{width:33%;min-width:320px;max-width:460px}}@media(min-width: 768px)and (max-width: 1012px){.panel-content-narrow-styles{margin-top:var(--base-size-40)}}@media(min-width: 768px){.blob-license-banner-outer{flex-direction:row}}@media(min-width: 768px){.find-in-file-popover-stickied{position:absolute;top:98px;right:var(--base-size-8);z-index:11;background:var(--bgColor-default, var(--color-canvas-default));border-bottom:none;border-radius:var(--borderRadius-large);box-shadow:var(--shadow-floating-large, var(--color-shadow-large))}}@media(min-width: 768px){.find-in-file-popover-not-stickied{position:absolute;top:52px;right:var(--base-size-8);z-index:11;background:var(--bgColor-default, var(--color-canvas-default));border-bottom:none;border-radius:var(--borderRadius-large);box-shadow:var(--shadow-floating-large, var(--color-shadow-large))}}.react-blob-textarea{scrollbar-width:0}.react-blob-textarea::-webkit-scrollbar{display:none}.react-blob-textarea.select-contrast::selection{color:initial}.react-blob-scroll-marks{display:"block"}.react-tree-show-tree-items{display:block !important}@media(max-width: 1012px){.org-onboarding-tip-media{display:none}}.react-tree-pane-contents-3-panel{display:block}@media(min-width: 768px)and (max-width: 1350px){.react-tree-pane-contents-3-panel{display:none !important}}.react-tree-pane-contents{display:block}@media(min-width: 768px)and (max-width: 1012px){.react-tree-pane-contents{display:none !important}}.react-tree-pane-overlay-3-panel{display:none}@media(min-width: 768px)and (max-width: 1350px){.react-tree-pane-overlay-3-panel{display:block}}.react-tree-pane-overlay{display:none}@media(min-width: 768px)and (max-width: 1012px){.react-tree-pane-overlay{display:block}}.container{container-type:inline-size}@container (max-width: 768px){.react-code-view-header-element--wide{display:none !important}.react-code-view-header-element--narrow{display:flex !important}.react-code-view-header-wrap--narrow{flex-wrap:wrap}}@container (min-width: 768px){.react-code-view-header-element--wide{display:flex !important}.react-code-view-header-element--narrow{display:none !important}}@supports not (container-type: inline-size){@media(max-width: 768px){.react-code-view-header-element--wide{display:none !important}.react-code-view-header-element--narrow{display:flex !important;width:100%}}@media(min-width: 768px){.react-code-view-header-element--wide{display:flex !important;width:100%}.react-code-view-header-element--narrow{display:none !important}}}.react-directory-row{height:40px;font-size:14px}.react-directory-row td{padding-left:var(--base-size-16);text-align:left;border-top:var(--borderWidth-thin) solid var(--borderColor-default, var(--color-border-default))}.react-directory-row:hover{background-color:var(--bgColor-muted, var(--color-canvas-subtle))}.react-directory-filename-column{display:flex;height:40px;padding-right:var(--base-size-16);align-items:center;row-gap:4px;column-gap:10px}.react-directory-filename-column .react-directory-filename-cell{margin:0;font-size:14px;font-weight:var(--base-text-weight-normal, 400)}.react-directory-filename-column .icon-directory{color:var(--treeViewItem-leadingVisual-iconColor-rest, var(--color-icon-directory))}.react-directory-truncate{display:inline-block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:top}.react-directory-commit-message{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.react-directory-commit-age{padding-right:var(--base-size-16);color:var(--fgColor-muted, var(--color-fg-muted));text-align:right}.react-tree-toggle-button-with-indicator::after{position:absolute;top:3px;right:2px;display:inline-block;width:var(--base-size-8, 8px);height:var(--base-size-8, 8px);content:"";background:var(--bgColor-accent-emphasis, var(--color-accent-fg));border:var(--borderWidth-thick) solid var(--bgColor-default, var(--color-canvas-default));border-radius:50%}.react-repos-overview-margin{--Layout-gutter: 24px}@media screen and (min-width: 1280px){.react-repos-overview-margin{margin-right:calc((100% - 1356px)/2)}}@media screen and (max-width: 1012px){.react-repos-overview-margin{--Layout-sidebar-width: 240px}}.react-repos-tree-pane-ref-selector span{justify-content:normal}.react-directory-row-name-cell-small-screen{display:none}@media screen and (max-width: 544px){.react-directory-row-name-cell-small-screen{display:table-cell}}.react-directory-row-name-cell-large-screen{display:table-cell}@media screen and (max-width: 544px){.react-directory-row-name-cell-large-screen{display:none}}.react-directory-row-commit-cell{display:table-cell}@media screen and (max-width: 544px){.react-directory-row-commit-cell{display:none}}.react-directory-add-file-icon{display:block}@media screen and (min-width: 1279px){.react-directory-add-file-icon{display:none}}.react-overview-code-button-action-list{width:400px}@media screen and (max-width: 544px){.react-overview-code-button-action-list{width:250px}}.react-directory-remove-file-icon{display:block}@media screen and (max-width: 1278px){.react-directory-remove-file-icon{display:none}}.manifest-commit-form{margin-top:var(--base-size-16)}.repo-file-upload-outline{width:100%;height:100%}.repo-file-upload-target{position:relative}.repo-file-upload-target.is-uploading .repo-file-upload-text.initial-text,.repo-file-upload-target.is-failed .repo-file-upload-text.initial-text,.repo-file-upload-target.is-default .repo-file-upload-text.initial-text{display:none}.repo-file-upload-target.is-uploading .repo-file-upload-text.alternate-text,.repo-file-upload-target.is-failed .repo-file-upload-text.alternate-text,.repo-file-upload-target.is-default .repo-file-upload-text.alternate-text{display:block}.repo-file-upload-target.is-uploading.dragover .repo-file-upload-text,.repo-file-upload-target.is-failed.dragover .repo-file-upload-text,.repo-file-upload-target.is-default.dragover .repo-file-upload-text{display:none}.repo-file-upload-target .repo-file-upload-text.initial-text{display:block}.repo-file-upload-target .repo-file-upload-text.alternate-text{display:none}.repo-file-upload-target .repo-file-upload-text,.repo-file-upload-target .repo-file-upload-drop-text{margin-bottom:var(--base-size-4)}.repo-file-upload-target .repo-file-upload-choose{display:inline-block;margin-top:0;font-size:16px}.repo-file-upload-target .manual-file-chooser{margin-left:0}.repo-file-upload-target .manual-file-chooser:hover+.manual-file-chooser-text{text-decoration:underline}.repo-file-upload-target .manual-file-chooser:focus+.manual-file-chooser-text{text-decoration:underline;outline:var(--focus-outlineColor, var(--color-accent-fg)) solid 2px}.repo-file-upload-target .repo-file-upload-outline{position:absolute;top:3%;left:1%;width:98%;height:94%}.repo-file-upload-target.is-failed .repo-file-upload-outline,.repo-file-upload-target.is-bad-file .repo-file-upload-outline,.repo-file-upload-target.is-too-big .repo-file-upload-outline,.repo-file-upload-target.is-too-many .repo-file-upload-outline,.repo-file-upload-target.is-empty .repo-file-upload-outline{height:85%}.repo-file-upload-target.dragover .repo-file-upload-text{display:none}.repo-file-upload-target.dragover .repo-file-upload-choose{visibility:hidden}.repo-file-upload-target.dragover .repo-file-upload-drop-text{display:block}.repo-file-upload-target.dragover .repo-file-upload-outline{border:6px dashed var(--borderColor-default, var(--color-border-default));border-radius:var(--borderRadius-medium)}.repo-file-upload-target .repo-file-upload-drop-text{display:none}.repo-file-upload-errors{display:none}.repo-file-upload-errors .error{display:none}.is-failed .repo-file-upload-errors,.is-bad-file .repo-file-upload-errors,.is-too-big .repo-file-upload-errors,.is-too-many .repo-file-upload-errors,.is-hidden-file .repo-file-upload-errors,.is-empty .repo-file-upload-errors{position:absolute;right:0;bottom:0;left:0;display:block;padding:var(--base-size-4) var(--base-size-8);line-height:1.5;text-align:left;background-color:var(--bgColor-default, var(--color-canvas-default));border-top:var(--borderWidth-thin) solid var(--borderColor-default, var(--color-border-default));border-bottom-right-radius:var(--borderRadius-medium);border-bottom-left-radius:var(--borderRadius-medium)}.is-file-list .repo-file-upload-errors{border-bottom-right-radius:0;border-bottom-left-radius:0}.is-failed .repo-file-upload-errors .failed-request,.is-bad-file .repo-file-upload-errors .failed-request{display:inline-block}.is-too-big .repo-file-upload-errors .too-big{display:inline-block}.is-hidden-file .repo-file-upload-errors .hidden-file{display:inline-block}.is-too-many .repo-file-upload-errors .too-many{display:inline-block}.is-empty .repo-file-upload-errors .empty{display:inline-block}.repo-file-upload-tree-target{position:fixed;top:0;left:0;z-index:1000;width:100%;height:100%;padding:var(--base-size-16);color:var(--fgColor-default, var(--color-fg-default));visibility:hidden;background:var(--bgColor-default, var(--color-canvas-default));opacity:0}.repo-file-upload-tree-target .repo-file-upload-outline{border:6px dashed var(--borderColor-default, var(--color-border-default));border-radius:var(--borderRadius-medium)}.dragover .repo-file-upload-tree-target{visibility:visible;opacity:1;transition:visibility .2s,opacity .2s}.dragover .repo-file-upload-tree-target .repo-file-upload-slate{top:50%;opacity:1}.repo-file-upload-slate{position:absolute;top:50%;width:100%;text-align:center;transform:translateY(-50%)}.repo-file-upload-slate h2{margin-top:var(--base-size-4)}.repo-upload-breadcrumb{margin-bottom:var(--base-size-16)}.tree-finder-input{min-height:32px;box-sizing:border-box;border-color:transparent}.tree-finder-input,.tree-finder-input:focus{font-size:inherit;box-shadow:none;appearance:none}.tree-browser .octicon-chevron-right{color:transparent}.tree-browser-result .octicon-file{color:var(--fgColor-muted, var(--color-fg-muted))}.tree-browser-result:hover,.tree-browser-result[aria-selected=true]{color:var(--fgColor-onEmphasis, var(--color-fg-on-emphasis));background-color:var(--bgColor-accent-emphasis, var(--color-accent-emphasis))}.tree-browser-result:hover .octicon-file,.tree-browser-result[aria-selected=true] .octicon-file{color:inherit}.tree-browser-result[aria-selected=true] .octicon-chevron-right{color:inherit}.tree-browser-result .css-truncate-target{max-width:870px}.tree-browser-result mark{font-weight:var(--base-text-weight-semibold, 600);color:inherit;background:none} +/*# sourceMappingURL=index.scss.map */ + +/*# sourceMappingURL=code-f70a10f3c386.css.map*/ \ No newline at end of file diff --git a/Shargil_VoiceToPlaylist_ 4.5 hours project - Voice Emotion Recognizer that open up a Spotify playlist according to you mood._files/code-menu-15796c6acaff.js.download b/Shargil_VoiceToPlaylist_ 4.5 hours project - Voice Emotion Recognizer that open up a Spotify playlist according to you mood._files/code-menu-15796c6acaff.js.download new file mode 100644 index 0000000000000000000000000000000000000000..ac4b829ae519a0a88e9f1c9f96313d985a369f83 --- /dev/null +++ b/Shargil_VoiceToPlaylist_ 4.5 hours project - Voice Emotion Recognizer that open up a Spotify playlist according to you mood._files/code-menu-15796c6acaff.js.download @@ -0,0 +1,2 @@ +"use strict";(globalThis.webpackChunk=globalThis.webpackChunk||[]).push([["code-menu"],{20759:(e,t,o)=>{o(23769)},18036:(e,t,o)=>{o.d(t,{$3:()=>a,HV:()=>i,Vb:()=>r});var n=o(51528);function r(e,t,o){let r={hydroEventPayload:e,hydroEventHmac:t,visitorPayload:"",visitorHmac:"",hydroClientContext:o},a=document.querySelector("meta[name=visitor-payload]");a instanceof HTMLMetaElement&&(r.visitorPayload=a.content);let i=document.querySelector("meta[name=visitor-hmac]")||"";i instanceof HTMLMetaElement&&(r.visitorHmac=i.content),(0,n.i)(r,!0)}function a(e){r(e.getAttribute("data-hydro-view")||"",e.getAttribute("data-hydro-view-hmac")||"",e.getAttribute("data-hydro-client-context")||"")}function i(e){r(e.getAttribute("data-hydro-click-payload")||"",e.getAttribute("data-hydro-click-hmac")||"",e.getAttribute("data-hydro-client-context")||"")}},21424:(e,t,o)=>{function n(){return/Windows/.test(navigator.userAgent)?"windows":/Macintosh/.test(navigator.userAgent)?"mac":null}o.d(t,{u:()=>n}),(0,o(21403).lB)(".js-remove-unless-platform",function(e){!function(e){let t=(e.getAttribute("data-platforms")||"").split(","),o=n();return!!(o&&t.includes(o))}(e)&&e.remove()})},23769:(e,t,o)=>{o.d(t,{h:()=>GetRepoElement});var n=o(39595),r=o(21424),a=o(74572),i=o(18036);function s(e,t,o,n){var r,a=arguments.length,i=a<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,o,n);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(i=(a<3?r(i):a>3?r(t,o,i):r(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i}let{getItem:l,setItem:d}=(0,a.A)("localStorage"),c="code-button-default-tab";let GetRepoElement=class GetRepoElement extends HTMLElement{showDownloadMessage(){let e=this.findPlatform();e&&this.showPlatform(e)}showCodespaces(){let e=this.findPlatform();e&&(this.showPlatform(e),this.loadAndUpdateContent())}showCodespaceSelector(){let e=this.findPlatform();e&&(this.showPlatform(e),this.codespaceSelector&&(this.codespaceSelector.hidden=!1))}showOpenOrCreateInCodespace(){this.openOrCreateInCodespace&&(this.openOrCreateInCodespace.hidden=!1)}removeOpenOrCreateInCodespace(){this.openOrCreateInCodespace&&this.openOrCreateInCodespace.remove()}refreshList(){this.shouldRefreshList&&(this.shouldRefreshList=!1,this.loadAndUpdateContent())}trackDelete(){this.shouldRefreshList=!0}hideSpinner(){this.codespaceLoadingMenu&&(this.codespaceLoadingMenu.hidden=!0),this.codespaceList&&(this.codespaceList.hidden=!1)}showSpinner(){this.codespaceLoadingMenu&&(this.codespaceLoadingMenu.hidden=!1),this.codespaceList&&(this.codespaceList.hidden=!0)}onDetailsToggle(e){for(let e of(this.modal.hidden=!1,this.platforms))e.hidden=!0;let t=e.target;if(t&&t.open){!this.hasForcedCodespaceTabDefault&&this.forceCodespaceTabDefault?(this.hasForcedCodespaceTabDefault=!0,this.selectDefaultTab(!0)):this.selectDefaultTab(!1);let e=this.copilotTip;e&&(0,i.$3)(e)}}onDetailsKeydown(e){if("Escape"===e.key){this.modal.hidden=!0;let t=e.target;t?.closest("details")?.removeAttribute("open")}}showPlatform(e){for(let t of(this.modal.hidden=!0,this.platforms))t.hidden=t.getAttribute("data-platform")!==e}findPlatform(){return(0,r.u)()}refreshOnError(){window.location.reload()}pollForVscode(e){this.showPlatform("vscode");let t=e.currentTarget.getAttribute("data-src");t&&this.vscodePoller.setAttribute("src",t)}backToCodespacesFromVscodePolling(){this.loadAndUpdateContent(),this.showPlatform("codespaces")}localTabSelected(){d(c,"local")}cloudTabSelected(){d(c,"cloud"),this.codespaceList?.id==="lazyLoadedCodespacesList"&&this.loadAndUpdateContent()}copilotTabSelected(){d(c,"copilot")}selectDefaultTab(e){let t=e?"cloud":l(c);if(!t)return;let o=this.querySelector(`button[data-tab="${t}"`);o&&o.click()}loadAndUpdateContent(){this.codespaceList?.setAttribute("src",this.codespaceList.getAttribute("data-src"))}constructor(...e){super(...e),this.forceCodespaceTabDefault=!1,this.shouldRefreshList=!1,this.hasForcedCodespaceTabDefault=!1}};s([n.CF],GetRepoElement.prototype,"forceCodespaceTabDefault",void 0),s([n.aC],GetRepoElement.prototype,"modal",void 0),s([n.aC],GetRepoElement.prototype,"codespaceForm",void 0),s([n.aC],GetRepoElement.prototype,"codespaceLoadingMenu",void 0),s([n.aC],GetRepoElement.prototype,"codespaceList",void 0),s([n.aC],GetRepoElement.prototype,"codespaceSelector",void 0),s([n.aC],GetRepoElement.prototype,"openOrCreateInCodespace",void 0),s([n.aC],GetRepoElement.prototype,"vscodePoller",void 0),s([n.zV],GetRepoElement.prototype,"platforms",void 0),s([n.aC],GetRepoElement.prototype,"copilotTip",void 0),GetRepoElement=s([n.p_],GetRepoElement)},27756:(e,t,o)=>{let n;function r(){if(!n)throw Error("Client env was requested before it was loaded. This likely means you are attempting to use client env at the module level in SSR, which is not supported. Please move your client env usage into a function.");return n}function a(){return n?.locale??"en-US"}function i(){return!!r().login}o.d(t,{JK:()=>a,M3:()=>i,_$:()=>r}),!function(){if("undefined"!=typeof document){let e=document.getElementById("client-env");if(e)try{n=JSON.parse(e.textContent||"")}catch(e){console.error("Error parsing client-env",e)}}}()},5728:(e,t,o)=>{o.d(t,{G:()=>r,K:()=>a});var n=o(97156);let r=n.XC?.readyState==="interactive"||n.XC?.readyState==="complete"?Promise.resolve():new Promise(e=>{n.XC?.addEventListener("DOMContentLoaded",()=>{e()})}),a=n.XC?.readyState==="complete"?Promise.resolve():new Promise(e=>{n.cg?.addEventListener("load",e)})},97564:(e,t,o)=>{o.d(t,{G7:()=>l,XY:()=>d,fQ:()=>s});var n=o(5225),r=o(27756);function a(){return new Set((0,r._$)().featureFlags.map(e=>e.toLowerCase()))}let i=o(97156).X3?a:(0,n.A)(a);function s(){return Array.from(i())}function l(e){return i().has(e.toLowerCase())}let d={isFeatureEnabled:l}},14740:(e,t,o)=>{o.d(t,{k:()=>i,v:()=>s});var n=o(5225),r=o(97156);let a=(0,n.A)(function(){return r.XC?.head?.querySelector('meta[name="runtime-environment"]')?.content||""}),i=(0,n.A)(function(){return"enterprise"===a()}),s="webpack"},74572:(e,t,o)=>{o.d(t,{A:()=>i,D:()=>s});var n=o(97156),r=o(51528);let a=class NoOpStorage{getItem(){return null}setItem(){}removeItem(){}clear(){}key(){return null}get length(){return 0}};function i(e,t={throwQuotaErrorsOnSet:!1},o=n.cg,i=e=>e,s=e=>e){let l;try{if(!o)throw Error();l=o[e]||new a}catch{l=new a}let{throwQuotaErrorsOnSet:d}=t;function c(e){t.sendCacheStats&&(0,r.i)({incrementKey:e})}function u(e){try{if(l.removeItem(e),t.ttl){let t=`${e}:expiry`;l.removeItem(t)}}catch{}}return{getItem:function(e,t=Date.now()){try{let o=l.getItem(e);if(!o)return null;let n=`${e}:expiry`,r=Number(l.getItem(n));if(r&&t>r)return u(e),u(n),c("SAFE_STORAGE_VALUE_EXPIRED"),null;return c("SAFE_STORAGE_VALUE_WITHIN_TTL"),i(o)}catch{return null}},setItem:function(e,o,n=Date.now()){try{if(l.setItem(e,s(o)),t.ttl){let o=`${e}:expiry`,r=n+t.ttl;l.setItem(o,r.toString())}}catch(e){if(d&&e instanceof Error&&e.message.toLowerCase().includes("quota"))throw e}},removeItem:u,clear:l.clear,key:l.key,get length(){return l.length}}}function s(e){return i(e,{throwQuotaErrorsOnSet:!1},n.cg,JSON.parse,JSON.stringify)}},97156:(e,t,o)=>{o.d(t,{KJ:()=>n.KJ,Kn:()=>r.Kn,X3:()=>n.X3,XC:()=>r.XC,cg:()=>r.cg,fV:()=>r.fV,g5:()=>n.g5});var n=o(15572),r=o(86733)},86733:(e,t,o)=>{o.d(t,{Kn:()=>i,XC:()=>r,cg:()=>a,fV:()=>s});let n="undefined"!=typeof FORCE_SERVER_ENV&&FORCE_SERVER_ENV,r="undefined"==typeof document||n?void 0:document,a="undefined"==typeof window||n?void 0:window,i="undefined"==typeof history||n?void 0:history,s="undefined"==typeof location||n?{pathname:"",origin:"",search:"",hash:"",href:""}:location},15572:(e,t,o)=>{o.d(t,{KJ:()=>a,X3:()=>r,g5:()=>i});var n=o(86733);let r=void 0===n.XC,a=!r;function i(){return!!r||!!n.XC.querySelector('react-app[data-ssr="true"]')}},51528:(e,t,o)=>{o.d(t,{X:()=>p,i:()=>d});var n=o(97156),r=o(5728),a=o(14740),i=o(97564),s=o(70170);let l=[];function d(e,t=!1,o=.5){if(!n.X3&&!0!==(0,i.G7)("BROWSER_STATS_DISABLED")){if(o<0||o>1)throw RangeError("Sampling probability must be between 0 and 1");void 0===e.timestamp&&(e.timestamp=Date.now()),e.loggedIn=!!n.XC?.head?.querySelector('meta[name="user-login"]')?.content,e.staff=p(),e.bundler=a.v,Math.random()JSON.stringify(e));for(;o.length>0;)t.push(function(e){let t=e.shift(),o=[t],n=t.length;for(;e.length>0&&n<=65536;){let t=e[0].length;if(n+t<=65536){let r=e.shift();o.push(r),n+=t}else break}return o}(o));return t}(l))!function(e,t){try{navigator.sendBeacon&&navigator.sendBeacon(e,t)}catch{}}(e,`{"stats": [${t.join(",")}] }`);l=[]}}function p(){return!!n.XC?.head?.querySelector('meta[name="user-staff"]')?.content}n.XC?.addEventListener("pagehide",h),n.XC?.addEventListener("visibilitychange",h)}},e=>{var t=t=>e(e.s=t);e.O(0,["vendors-node_modules_github_selector-observer_dist_index_esm_js","vendors-node_modules_github_mini-throttle_dist_index_js-node_modules_github_catalyst_lib_inde-dbbea9"],()=>t(20759)),e.O()}]); +//# sourceMappingURL=code-menu-8d934fdb9a86.js.map \ No newline at end of file diff --git a/Shargil_VoiceToPlaylist_ 4.5 hours project - Voice Emotion Recognizer that open up a Spotify playlist according to you mood._files/codespaces-ff8464347da3.js.download b/Shargil_VoiceToPlaylist_ 4.5 hours project - Voice Emotion Recognizer that open up a Spotify playlist according to you mood._files/codespaces-ff8464347da3.js.download new file mode 100644 index 0000000000000000000000000000000000000000..fea942585601aeae02e66db0226913bc6074334c --- /dev/null +++ b/Shargil_VoiceToPlaylist_ 4.5 hours project - Voice Emotion Recognizer that open up a Spotify playlist according to you mood._files/codespaces-ff8464347da3.js.download @@ -0,0 +1,6 @@ +"use strict";(globalThis.webpackChunk=globalThis.webpackChunk||[]).push([["codespaces"],{24496:(e,t,o)=>{o(53398);var r=o(39595),n=o(79049),a=o(65024),s=o(97797),i=o(46650);function l(e){for(let t of e.querySelectorAll(".js-toggle-hidden"))t.hidden=!t.hidden}async function c(){let e=document.querySelector(".js-codespaces-details-container");e&&(e.open=!1);let t=document.querySelector("new-codespace");if(t&&!t.getAttribute("data-no-submit-on-create"))try{let e=await fetch("/codespaces/new");if(e&&e.ok){let o=(0,i.B)(document,await e.text());t.replaceWith(o)}}catch{}}async function d(e,t){let o=document.querySelector(`#${e}`),r=await (0,a.r)({content:o.content.cloneNode(!0),dialogClass:"project-dialog"});return t&&t.setAttribute("aria-expanded","true"),r.addEventListener("dialog:remove",function(){t&&l(t)},{once:!0}),r}async function u(e){let t=await fetch(e.action,{method:e.method,body:new FormData(e),headers:{Accept:"application/json","X-Requested-With":"XMLHttpRequest"}});if(t.ok){let o=await t.json();o.codespace_url?(window.location.href=o.codespace_url,l(e),c(),p()):(e.closest("get-repo")||e.closest("new-codespace")?(e.setAttribute("data-src",o.loading_url),e.dispatchEvent(new CustomEvent("pollvscode"))):e.closest("create-button")&&(e.setAttribute("data-src",o.loading_url),e.dispatchEvent(new CustomEvent("prpollvscode"))),l(e))}else if(422===t.status){let o=await t.json();if("concurrency_limit_error"===o.error_type)await d("concurrency-error",e);else{let t=document.querySelector("template.js-flash-template"),r=o.error;t.after(new n.i4(t,{className:"flash-error",message:r})),l(e)}}}async function p(){let e=document.querySelector(".js-codespaces-completable"),t=e&&e.getAttribute("data-src");if(!t)return;let o=await fetch(t,{method:"GET",headers:{Accept:"text/fragment+html","X-Requested-With":"XMLHttpRequest"}});if(o.ok){let t=(0,i.B)(document,await o.text());e.replaceWith(t)}else throw Error(`Unexpected response: ${o.statusText}`)}(0,s.on)("submit",".js-toggle-hidden-codespace-form",function(e){l(e.currentTarget)}),(0,s.on)("submit",".js-create-codespaces-form-command",function(e){let t=e.currentTarget;t.classList.contains("js-open-in-vscode-form")||(c(),l(t))}),(0,s.on)("submit","form.js-open-in-vscode-form",async function(e){e.preventDefault();let t=e.currentTarget;await u(t)});let h=class ConcurrencyLimitElement extends HTMLElement{async connectedCallback(){d("concurrency-error")}};h=function(e,t,o,r){var n,a=arguments.length,s=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,r);else for(var i=e.length-1;i>=0;i--)(n=e[i])&&(s=(a<3?n(s):a>3?n(t,o,s):n(t,o))||s);return a>3&&s&&Object.defineProperty(t,o,s),s}([r.p_],h);var f=o(78350),m=o(12291);function y(e,t,o){if(!t.has(e))throw TypeError("attempted to "+o+" private field on non-instance");return t.get(e)}function b(e,t,o,r){var n,a=arguments.length,s=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,r);else for(var i=e.length-1;i>=0;i--)(n=e[i])&&(s=(a<3?n(s):a>3?n(t,o,s):n(t,o))||s);return a>3&&s&&Object.defineProperty(t,o,s),s}var v=new WeakMap;let g=class NewCodespaceElement extends HTMLElement{async connectedCallback(){var e;let t=new URLSearchParams(new URL(document.location.href,window.location.origin).search);t.has("response_error")&&(t.delete("response_error"),window.history.replaceState({},"",`?${t.toString()}`));let{signal:o}=(e=new AbortController,!function(e,t,o){if(t.set)t.set.call(e,o);else{if(!t.writable)throw TypeError("attempted to set read only private field");t.value=o}}(this,y(this,v,"set"),e),e);this.addEventListener("itemActivated",this,{signal:o})}disconnectedCallback(){var e;((e=y(this,v,"get")).get?e.get.call(this):e.value).abort()}handleEvent(e){if("itemActivated"===e.type&&e.target===this.repositorySelectPanel&&this.advancedOptionsForm&&this.repoInput){let t=e.detail.item,o=t.querySelector("[data-value]")?.getAttribute("data-value");o&&(this.repoInput.value=o),(0,f.k_)(this.advancedOptionsForm)}}toggleLoadingVscode(){let e=this.loadingVscode.hidden,t=this.children;for(let o=0;o=0;i--)(n=e[i])&&(s=(a<3?n(s):a>3?n(t,o,s):n(t,o))||s);return a>3&&s&&Object.defineProperty(t,o,s),s}b([r.aC],g.prototype,"declarativeSecretsHash",void 0),b([r.aC],g.prototype,"vscsTargetUrl",void 0),b([r.aC],g.prototype,"loadingVscode",void 0),b([r.aC],g.prototype,"vscodePoller",void 0),b([r.aC],g.prototype,"advancedOptionsForm",void 0),b([r.aC],g.prototype,"skuNameInput",void 0),b([r.aC],g.prototype,"repositorySelectPanel",void 0),b([r.aC],g.prototype,"repoInput",void 0),b([r.aC],g.prototype,"geoInput",void 0),g=b([r.p_],g);let w=class ExportBranchElement extends HTMLElement{connectedCallback(){this.abortPoll=new AbortController,this.loadingIndicator.hidden||this.startPoll()}disconnectedCallback(){this.abortPoll?.abort()}applyPublishParams(){let e=this.form.getAttribute("data-codespace-id"),t=document.querySelector(`[data-codespace-id='${e}'][data-class="publish-codespace-form"]`);if(t){let e=Object.fromEntries(new FormData(t).entries());if(this.form){let t=`?name=${e.name}&visibility=${e.visibility}`,o=(this.form.getAttribute("action")||"").split("?")[0]+t;this.form.setAttribute("action",o)}}}async exportBranch(e){e.preventDefault(),this.form.hidden=!0,this.loadingIndicator.hidden=!1,(await fetch(this.form.action,{method:this.form.method,body:new FormData(this.form),headers:{Accept:"text/fragment+html","X-Requested-With":"XMLHttpRequest"}})).ok?this.startPoll():(this.form.hidden=!1,this.loadingIndicator.hidden=!0)}async startPoll(){let e=this.getAttribute("data-exported-codespace-url")||"",t=await this.poll(e);if(t){if(t.ok)this.loadingIndicator.hidden=!0,this.viewBranchLink.hidden=!1;else{let e=this.getAttribute("data-export-error-redirect-url")||"";window.location.href=encodeURI(e)}}}async poll(e,t=1e3){if(this.abortPoll?.signal.aborted)return;let o=await fetch(e,{signal:this.abortPoll?.signal});return 202===o.status||404===o.status?(await new Promise(e=>setTimeout(e,t)),this.poll(e,1.5*t)):o}constructor(...e){super(...e),this.abortPoll=null}};function T(e,t,o,r){var n,a=arguments.length,s=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,r);else for(var i=e.length-1;i>=0;i--)(n=e[i])&&(s=(a<3?n(s):a>3?n(t,o,s):n(t,o))||s);return a>3&&s&&Object.defineProperty(t,o,s),s}_([r.aC],w.prototype,"form",void 0),_([r.aC],w.prototype,"loadingIndicator",void 0),_([r.aC],w.prototype,"viewBranchLink",void 0),w=_([r.p_],w),o(82896),o(95737);let E=class CodespaceZeroConfigElement extends HTMLElement{connectedCallback(){this.toggleLocationConfigs("production")}updateVscsTargets(){for(let e of(this.vscsTargetUrl.disabled="local"!==this.vscsTarget.value,this.toggleLocationConfigs(this.vscsTarget.value),this.vscsTargets))e.value=this.vscsTarget.value}updateVscsTargetUrls(){for(let e of this.vscsTargetUrls)e.value=this.vscsTargetUrl.value}updateLocations(e){let t=e.currentTarget;this.setLocationValues(t.value)}setLocationValues(e){for(let t of this.locations)t.value=e}toggleLocationConfigs(e){for(let t of this.locationConfigs)if(t.getAttribute("data-vscs-target")===e){t.hidden=!1;let e=t.querySelector("option");e&&(e.selected=!0,this.setLocationValues(e.value))}else t.hidden=!0}};T([r.aC],E.prototype,"regionConfig",void 0),T([r.aC],E.prototype,"vscsTarget",void 0),T([r.aC],E.prototype,"vscsTargetUrl",void 0),T([r.zV],E.prototype,"locationConfigs",void 0),T([r.zV],E.prototype,"vscsTargets",void 0),T([r.zV],E.prototype,"vscsTargetUrls",void 0),T([r.zV],E.prototype,"locations",void 0),E=T([r.p_],E)},12291:(e,t,o)=>{o.d(t,{D4:()=>s,lF:()=>i,w:()=>a});var r=o(79049),n=o(97797);async function a(e,t){let r=new TextEncoder().encode(t),{seal:n}=await Promise.all([o.e("vendors-node_modules_buffer_index_js"),o.e("vendors-node_modules_blakejs_index_js-node_modules_tweetnacl_nacl-fast_js"),o.e("_empty-file_js-app_assets_modules_github_tweetsodium_ts-_1f13-_b9700")]).then(o.bind(o,20136));return n(r,e)}function s(e){let t=atob(e).split("").map(e=>e.charCodeAt(0));return Uint8Array.from(t)}function i(e){let t="";for(let o of e)t+=String.fromCharCode(o);return btoa(t)}function l(e){return async function(t){let o=t.currentTarget;if(t.defaultPrevented||!o.checkValidity())return;let n=s(o.getAttribute("data-public-key"));for(let s of(t.preventDefault(),o.elements))if(s.id.endsWith("secret")){if(s.disabled=!0,s.required&&!s.value){let e=`${s.name} is invalid!`,t=document.querySelector("template.js-flash-template");t.after(new r.i4(t,{className:"flash-error",message:e}));return}let t=`${s.name}_encrypted_value`;if(!s.value){o.elements.namedItem(t).disabled=e;continue}o.elements.namedItem(t).value=i(await a(n,s.value))}o.submit()}}(0,n.on)("submit","form.js-encrypt-submit",async function(e){let t=e.currentTarget;if(e.defaultPrevented||!t.checkValidity())return;let o=t.elements.namedItem("secret_value");if(o.disabled=!0,!o.value)return;e.preventDefault();let r=s(t.getAttribute("data-public-key"));t.elements.namedItem("encrypted_value").value=i(await a(r,o.value)),t.submit()}),(0,n.on)("submit","form.js-encrypt-bulk-submit",l(!0)),(0,n.on)("submit","form.js-encrypt-bulk-submit-enable-empty",l(!1))},53398:(e,t,o)=>{o.d(t,{f:()=>i});var r=o(21403),n=o(97797),a=o(13937),s=o(78350);function i(e,t){let o;let r=t.querySelector("*"),n=e.ownerDocument.activeElement;n instanceof HTMLElement&&(o=r?.querySelector(function(e){let t=e.tagName.toLowerCase(),o=e.hasAttribute("class")?`.${e.className.split(" ").join(".")}`:"",r=e.hasAttribute("id")?`#${e.id}`:"",n=e.hasAttribute("name")?`[name="${e.getAttribute("name")}"]`:"";return`${t}${r}${o}${n}`}(n))),e.replaceWith(t),o instanceof HTMLElement&&o.focus()}function l(){let e=new URLSearchParams(new URL(document.location.href,window.location.origin).search);e.set("response_error","true"),window.location.replace(`${window.location.pathname}?${e.toString()}`)}(0,n.on)("remote-input-error","#js-codespaces-repository-select",()=>{document.querySelector("#js-codespaces-unable-load-repositories-warning").hidden=!1}),(0,a.JW)(".js-new-codespace-form",async function(e,t){let o=e.closest("[data-replace-remote-form-target]"),r=o.querySelector(".js-new-codespace-submit-button");r instanceof HTMLInputElement&&(r.disabled=!0),e.classList.remove("is-error"),e.classList.add("is-loading");try{r&&r.setAttribute("disabled","true");let e=await t.html();if(200!==e.status&&l(),i(o,e.html),"true"===o.getAttribute("data-allow-update-url")){let e=new FormData(document.querySelector("form.js-new-codespace-form"));!function(e){let t=new URLSearchParams(new URL(document.location.href,window.location.origin).search),o=["vscs_target"];for(let[r,n]of e.entries()){if(o.includes(r)||!n){t.delete(r);continue}t.set(r,n)}window.history.replaceState({},"",`?${t.toString()}`)}(e)}}catch(e){throw l(),e}});let c=null;function d(e){c=e,null!==e&&document.querySelector(".js-codespace-loading-steps").setAttribute("data-current-state",c)}(0,r.lB)(".js-codespace-loading-steps",{constructor:HTMLElement,add:e=>{let t=e.getAttribute("data-current-state");t&&d(t)}}),(0,r.lB)(".js-codespace-advance-state",{constructor:HTMLElement,add:e=>{let t=e.getAttribute("data-state");t&&d(t)}}),(0,r.lB)(".js-auto-submit-form",{constructor:HTMLFormElement,initialize:s.k_}),(0,r.lB)(".js-workbench-form-container",{constructor:HTMLElement,add:()=>{let e=document.querySelector(".js-workbench-form-container form");(0,s.k_)(e)}})},82896:(e,t,o)=>{var r=o(39595);function n(e,t,o,r){var n,a=arguments.length,s=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,r);else for(var i=e.length-1;i>=0;i--)(n=e[i])&&(s=(a<3?n(s):a>3?n(t,o,s):n(t,o))||s);return a>3&&s&&Object.defineProperty(t,o,s),s}let a=class InputDemuxElement extends HTMLElement{connectedCallback(){this.control&&(this.storedInput=Array(this.control.children.length).fill("")),this.addEventListener("input",this.relayInput.bind(this)),this.addEventListener("keydown",this.relayKeydown.bind(this));let e=this.closest("details");e&&e.addEventListener("toggle",()=>{e.open&&this.source.focus()})}relayKeydown(e){if((this.isControlTab(e.target)||e.target===this.source)&&("ArrowDown"===e.key||"Tab"===e.key))e.preventDefault(),e.stopPropagation(),this.routeCustomEvent(new CustomEvent("focus-list"));else if("Escape"===e.key){let e=this.closest("details");e&&e.removeAttribute("open")}}isControlTab(e){return!!e&&!!this.control&&Array.from(this.control.children).includes(e)}relayInput(e){if(!e.target)return;let t=e.target.value;this.routeCustomEvent(new CustomEvent("input-entered",{detail:t}))}routeCustomEvent(e){this.sinks[this.selectedIndex].dispatchEvent(e)}get selectedIndex(){if(!this.control)return 0;let e=this.control.querySelector('[aria-selected="true"]');return e?Array.from(this.control.children).indexOf(e):0}storeInput(){this.storedInput[this.selectedIndex]=this.source.value}updateInput(e){this.source.value=this.storedInput[this.selectedIndex];let t=e.detail.relatedTarget.getAttribute("data-filter-placeholder");this.source.placeholder=t,this.source.setAttribute("aria-label",t),this.notifySelected()}notifySelected(){let e=this.sinks[this.selectedIndex],t=new CustomEvent("tab-selected");e.dispatchEvent(t)}};n([r.aC],a.prototype,"source",void 0),n([r.zV],a.prototype,"sinks",void 0),n([r.aC],a.prototype,"control",void 0),a=n([r.p_],a)},65024:(e,t,o)=>{o.d(t,{r:()=>n});var r=o(97797);async function n(e){let t=document.querySelector("#site-details-dialog").content.cloneNode(!0),o=t.querySelector("details"),n=o.querySelector("details-dialog"),a=o.querySelector(".js-details-dialog-spinner");e.detailsClass&&o.classList.add(...e.detailsClass.split(" ")),e.dialogClass&&n.classList.add(...e.dialogClass.split(" ")),e.label?n.setAttribute("aria-label",e.label):e.labelledBy&&n.setAttribute("aria-labelledby",e.labelledBy),document.body.append(t);try{let t=await e.content;a.remove(),n.prepend(t)}catch{a.remove();let t=document.createElement("span");t.textContent=e.errorMessage||"Couldn't load the content",t.classList.add("my-6"),t.classList.add("mx-4"),n.prepend(t)}return o.addEventListener("toggle",()=>{o.hasAttribute("open")||((0,r.h)(n,"dialog:remove"),o.remove())}),n}},78350:(e,t,o)=>{o.d(t,{Cy:()=>i,K3:()=>d,Z8:()=>l,k_:()=>a,lK:()=>u,m$:()=>s});var r=o(41695);function n(e,t,o){return e.dispatchEvent(new CustomEvent(t,{bubbles:!0,cancelable:o}))}function a(e,t){t&&(function(e,t){if(!(e instanceof HTMLFormElement))throw TypeError("The specified element is not of type HTMLFormElement.");if(!(t instanceof HTMLElement))throw TypeError("The specified element is not of type HTMLElement.");if("submit"!==t.type)throw TypeError("The specified element is not a submit button.");if(!e||e!==t.form)throw Error("The specified element is not owned by the form element.")}(e,t),(0,r.A)(t)),n(e,"submit",!0)&&e.submit()}function s(e,t){if("boolean"==typeof t){if(e instanceof HTMLInputElement)e.checked=t;else throw TypeError("only checkboxes can be set to boolean value")}else{if("checkbox"===e.type)throw TypeError("checkbox can't be set to string value");e.value=t}n(e,"change",!1)}function i(e,t){for(let o in t){let r=t[o],n=e.elements.namedItem(o);n instanceof HTMLInputElement?n.value=r:n instanceof HTMLTextAreaElement&&(n.value=r)}}function l(e){if(!(e instanceof HTMLElement))return!1;let t=e.nodeName.toLowerCase(),o=(e.getAttribute("type")||"").toLowerCase();return"select"===t||"textarea"===t||"input"===t&&"submit"!==o&&"reset"!==o||e.isContentEditable}function c(e){return new URLSearchParams(e)}function d(e,t){let o=new URLSearchParams(e.search);for(let[e,r]of c(t))o.append(e,r);return o.toString()}function u(e){return c(new FormData(e)).toString()}},41695:(e,t,o)=>{function r(e){let t=e.closest("form");if(!(t instanceof HTMLFormElement))return;let o=n(t);if(e.name){let r=e.matches("input[type=submit]")?"Submit":"",n=e.value||r;o||((o=document.createElement("input")).type="hidden",o.classList.add("js-submit-button-value"),t.prepend(o)),o.name=e.name,o.value=n}else o&&o.remove()}function n(e){let t=e.querySelector("input.js-submit-button-value");return t instanceof HTMLInputElement?t:null}o.d(t,{A:()=>r,C:()=>n})},51848:(e,t,o)=>{let r;o.d(t,{BI:()=>h,Ti:()=>f,lA:()=>p});var n=o(70837),a=o(18679),s=o(74572),i=o(51528);let{getItem:l}=(0,s.A)("localStorage"),c="dimension_",d=["utm_source","utm_medium","utm_campaign","utm_term","utm_content","scid"];try{let e=(0,n.O)("octolytics");delete e.baseContext,r=new a.s(e)}catch{}function u(e){let t=(0,n.O)("octolytics").baseContext||{};if(t)for(let[e,o]of(delete t.app_id,delete t.event_url,delete t.host,Object.entries(t)))e.startsWith(c)&&(t[e.replace(c,"")]=o,delete t[e]);let o=document.querySelector("meta[name=visitor-payload]");for(let[e,r]of(o&&Object.assign(t,JSON.parse(atob(o.content))),new URLSearchParams(window.location.search)))d.includes(e.toLowerCase())&&(t[e]=r);return t.staff=(0,i.X)().toString(),Object.assign(t,e)}function p(e){r?.sendPageView(u(e))}function h(e,t={}){let o=document.head?.querySelector('meta[name="current-catalog-service"]')?.content,n=o?{service:o}:{};for(let[e,o]of Object.entries(t))null!=o&&(n[e]=`${o}`);r&&(u(n),r.sendEvent(e||"unknown",u(n)))}function f(e){return Object.fromEntries(Object.entries(e).map(([e,t])=>[e,JSON.stringify(t)]))}},46650:(e,t,o)=>{o.d(t,{B:()=>i});var r=o(6440),n=o(2240);let a="parse-html-no-op",s=r.wA.createPolicy(a,{createHTML:e=>n.b.apply({policy:()=>e,policyName:a,fallback:e,sanitize:!1,fallbackOnError:!0})});function i(e,t){let o=e.createElement("template");return o.innerHTML=s.createHTML(t),e.importNode(o.content,!0)}},2240:(e,t,o)=>{o.d(t,{b:()=>c,r:()=>TrustedTypesPolicyError});var r=o(97564),n=o(51528),a=o(23780),s=o(42838),i=o.n(s),l=o(51848);let TrustedTypesPolicyError=class TrustedTypesPolicyError extends Error{constructor(...e){super(...e),this.name="TrustedTypesPolicyError"}};let c={apply:function({policy:e,policyName:t,fallback:o,fallbackOnError:s=!1,sanitize:c,silenceErrorReporting:d=!1}){try{if((0,r.G7)("BYPASS_TRUSTED_TYPES_POLICY_RULES"))return o;(0,n.i)({incrementKey:"TRUSTED_TYPES_POLICY_CALLED",trustedTypesPolicyName:t},!1,.1);let a=e();return c&&new Promise(e=>{let o=window.performance.now(),r=i().sanitize(a,{FORBID_ATTR:[]}),n=window.performance.now();if(a.length!==r.length){let s=Error("Trusted Types policy output sanitized"),i=s.stack?.slice(0,1e3),c=a.slice(0,250);(0,l.BI)("trusted_types_policy.sanitize",{policyName:t,output:c,stack:i,outputLength:a.length,sanitizedLength:r.length,executionTime:n-o}),e(a)}}),a}catch(e){if(e instanceof TrustedTypesPolicyError||(d||(0,a.N7)(e),(0,n.i)({incrementKey:"TRUSTED_TYPES_POLICY_ERROR",trustedTypesPolicyName:t}),!s))throw e}return o}}},6440:(e,t,o)=>{o.d(t,{wA:()=>d});var r,n=o(97156),a=o(51528);function s(e){return()=>{throw TypeError(`The policy does not implement the function ${e}`)}}let i={createHTML:s("createHTML"),createScript:s("createScript"),createScriptURL:s("createScriptURL")},l=n.X3?new Map:(r=globalThis).__TRUSTED_TYPE_POLICIES__??(r.__TRUSTED_TYPE_POLICIES__=new Map),c=globalThis.trustedTypes??{createPolicy:(e,t)=>({name:e,...i,...t})},d={createPolicy:(e,t)=>{if(l.has(e))return(0,a.i)({incrementKey:"TRUSTED_TYPES_POLICY_INITIALIZED_TWICE"}),l.get(e);{let o=Object.freeze(c.createPolicy(e,t));return l.set(e,o),o}}},u=!1;n.XC?.addEventListener("securitypolicyviolation",e=>{"require-trusted-types-for"!==e.violatedDirective||u||(console.warn(`Hi fellow Hubber! + You're probably seeing a Report Only Trusted Types error near this message. This is intended behaviour, staff-only, + does not impact application control flow, and is used solely for statistic collection. Unfortunately we + can't gather these statistics without adding the above warnings to your console. Sorry about that! + Feel free to drop by #prodsec-engineering if you have any additional questions about Trusted Types or CSP.`),u=!0)})}},e=>{var t=t=>e(e.s=t);e.O(0,["vendors-node_modules_dompurify_dist_purify_js","vendors-node_modules_github_selector-observer_dist_index_esm_js","vendors-node_modules_github_mini-throttle_dist_index_js-node_modules_morphdom_dist_morphdom-e-7c534c","vendors-node_modules_virtualized-list_es_index_js-node_modules_github_template-parts_lib_index_js","vendors-node_modules_github_remote-form_dist_index_js-node_modules_delegated-events_dist_inde-e53a3f","ui_packages_failbot_failbot_ts","app_assets_modules_github_ref-selector_ts"],()=>t(24496)),e.O()}]); +//# sourceMappingURL=codespaces-528dc9b52f0d.js.map \ No newline at end of file diff --git a/Shargil_VoiceToPlaylist_ 4.5 hours project - Voice Emotion Recognizer that open up a Spotify playlist according to you mood._files/dark-9c5b7a476542.css b/Shargil_VoiceToPlaylist_ 4.5 hours project - Voice Emotion Recognizer that open up a Spotify playlist according to you mood._files/dark-9c5b7a476542.css new file mode 100644 index 0000000000000000000000000000000000000000..88430d5c1f38adc688bd2b389b8d907cc9dcac0c --- /dev/null +++ b/Shargil_VoiceToPlaylist_ 4.5 hours project - Voice Emotion Recognizer that open up a Spotify playlist according to you mood._files/dark-9c5b7a476542.css @@ -0,0 +1,1145 @@ +[data-color-mode="dark"][data-dark-theme="dark"], +[data-color-mode="dark"][data-dark-theme="dark"] ::backdrop, +[data-color-mode="auto"][data-light-theme="dark"], +[data-color-mode="auto"][data-light-theme="dark"] ::backdrop { + --topicTag-borderColor: #00000000; + --highlight-neutral-bgColor: #d2992266; + --page-header-bgColor: #0d1117; + --diffBlob-addition-fgColor-text: #f0f6fc; + --diffBlob-addition-fgColor-num: #f0f6fc; + --diffBlob-addition-bgColor-num: #3fb9504d; + --diffBlob-addition-bgColor-line: #2ea04326; + --diffBlob-addition-bgColor-word: #2ea04366; + --diffBlob-deletion-fgColor-text: #f0f6fc; + --diffBlob-deletion-fgColor-num: #f0f6fc; + --diffBlob-deletion-bgColor-num: #f851494d; + --diffBlob-deletion-bgColor-line: #f8514926; + --diffBlob-deletion-bgColor-word: #f8514966; + --diffBlob-hunk-bgColor-num: #388bfd66; + --diffBlob-expander-iconColor: #9198a1; + --codeMirror-fgColor: #f0f6fc; + --codeMirror-bgColor: #0d1117; + --codeMirror-gutters-bgColor: #0d1117; + --codeMirror-gutterMarker-fgColor-default: #0d1117; + --codeMirror-gutterMarker-fgColor-muted: #9198a1; + --codeMirror-lineNumber-fgColor: #9198a1; + --codeMirror-cursor-fgColor: #f0f6fc; + --codeMirror-selection-bgColor: #388bfd66; + --codeMirror-activeline-bgColor: #656c7633; + --codeMirror-matchingBracket-fgColor: #f0f6fc; + --codeMirror-lines-bgColor: #0d1117; + --codeMirror-syntax-fgColor-comment: #656c76; + --codeMirror-syntax-fgColor-constant: #79c0ff; + --codeMirror-syntax-fgColor-entity: #d2a8ff; + --codeMirror-syntax-fgColor-keyword: #ff7b72; + --codeMirror-syntax-fgColor-storage: #ff7b72; + --codeMirror-syntax-fgColor-string: #a5d6ff; + --codeMirror-syntax-fgColor-support: #79c0ff; + --codeMirror-syntax-fgColor-variable: #ffa657; + --header-fgColor-default: #ffffffb3; + --header-fgColor-logo: #f0f6fc; + --header-bgColor: #151b23f2; + --header-borderColor-divider: #656c76; + --headerSearch-bgColor: #0d1117; + --headerSearch-borderColor: #2a313c; + --data-blue-color-emphasis: #0576ff; + --data-blue-color-muted: #001a47; + --data-auburn-color-emphasis: #a86f6b; + --data-auburn-color-muted: #271817; + --data-orange-color-emphasis: #984b10; + --data-orange-color-muted: #311708; + --data-yellow-color-emphasis: #895906; + --data-yellow-color-muted: #2e1a00; + --data-green-color-emphasis: #2f6f37; + --data-green-color-muted: #122117; + --data-teal-color-emphasis: #106c70; + --data-teal-color-muted: #041f25; + --data-purple-color-emphasis: #975bf1; + --data-purple-color-muted: #211047; + --data-pink-color-emphasis: #d34591; + --data-pink-color-muted: #2d1524; + --data-red-color-emphasis: #eb3342; + --data-red-color-muted: #3c0614; + --data-gray-color-emphasis: #576270; + --data-gray-color-muted: #1c1c1c; + --display-blue-bgColor-muted: #001a47; + --display-blue-bgColor-emphasis: #005bd1; + --display-blue-fgColor: #4da0ff; + --display-blue-borderColor-muted: #002766; + --display-blue-borderColor-emphasis: #0576ff; + --display-green-bgColor-muted: #122117; + --display-green-bgColor-emphasis: #2f6f37; + --display-green-fgColor: #41b445; + --display-green-borderColor-muted: #182f1f; + --display-green-borderColor-emphasis: #388f3f; + --display-orange-bgColor-muted: #311708; + --display-orange-bgColor-emphasis: #984b10; + --display-orange-fgColor: #ed8326; + --display-orange-borderColor-muted: #43200a; + --display-orange-borderColor-emphasis: #c46212; + --display-purple-bgColor-muted: #211047; + --display-purple-bgColor-emphasis: #7730e8; + --display-purple-fgColor: #b687f7; + --display-purple-borderColor-muted: #31146b; + --display-purple-borderColor-emphasis: #975bf1; + --display-plum-bgColor-muted: #2a0e3f; + --display-plum-bgColor-emphasis: #9518d8; + --display-plum-fgColor: #d07ef7; + --display-plum-borderColor-muted: #40125e; + --display-plum-borderColor-emphasis: #b643ef; + --display-red-bgColor-muted: #3c0614; + --display-red-bgColor-emphasis: #c31328; + --display-red-fgColor: #f27d83; + --display-red-borderColor-muted: #58091a; + --display-red-borderColor-emphasis: #eb3342; + --display-coral-bgColor-muted: #3c0614; + --display-coral-bgColor-emphasis: #c31328; + --display-coral-fgColor: #f27d83; + --display-coral-borderColor-muted: #58091a; + --display-coral-borderColor-emphasis: #eb3342; + --display-yellow-bgColor-muted: #2e1a00; + --display-yellow-bgColor-emphasis: #895906; + --display-yellow-fgColor: #d3910d; + --display-yellow-borderColor-muted: #3d2401; + --display-yellow-borderColor-emphasis: #aa7109; + --display-gray-bgColor-muted: #1c1c1c; + --display-gray-bgColor-emphasis: #576270; + --display-gray-fgColor: #92a1b5; + --display-gray-borderColor-muted: #2a2b2d; + --display-gray-borderColor-emphasis: #6e7f96; + --display-auburn-bgColor-muted: #271817; + --display-auburn-bgColor-emphasis: #87534f; + --display-auburn-fgColor: #bf9592; + --display-auburn-borderColor-muted: #3a2422; + --display-auburn-borderColor-emphasis: #a86f6b; + --display-brown-bgColor-muted: #241c14; + --display-brown-bgColor-emphasis: #755e3e; + --display-brown-fgColor: #b69a6d; + --display-brown-borderColor-muted: #342a1d; + --display-brown-borderColor-emphasis: #94774c; + --display-lemon-bgColor-muted: #291d00; + --display-lemon-bgColor-emphasis: #786008; + --display-lemon-fgColor: #ba9b12; + --display-lemon-borderColor-muted: #372901; + --display-lemon-borderColor-emphasis: #977b0c; + --display-olive-bgColor-muted: #171e0b; + --display-olive-bgColor-emphasis: #5e681d; + --display-olive-fgColor: #a2a626; + --display-olive-borderColor-muted: #252d10; + --display-olive-borderColor-emphasis: #7a8321; + --display-lime-bgColor-muted: #141f0f; + --display-lime-bgColor-emphasis: #496c28; + --display-lime-fgColor: #7dae37; + --display-lime-borderColor-muted: #1f3116; + --display-lime-borderColor-emphasis: #5f892f; + --display-pine-bgColor-muted: #082119; + --display-pine-bgColor-emphasis: #14714c; + --display-pine-fgColor: #1bb673; + --display-pine-borderColor-muted: #0b3224; + --display-pine-borderColor-emphasis: #18915e; + --display-teal-bgColor-muted: #041f25; + --display-teal-bgColor-emphasis: #106c70; + --display-teal-fgColor: #1cb0ab; + --display-teal-borderColor-muted: #073036; + --display-teal-borderColor-emphasis: #158a8a; + --display-cyan-bgColor-muted: #001f29; + --display-cyan-bgColor-emphasis: #036a8c; + --display-cyan-fgColor: #07ace4; + --display-cyan-borderColor-muted: #002e3d; + --display-cyan-borderColor-emphasis: #0587b3; + --display-indigo-bgColor-muted: #1b183f; + --display-indigo-bgColor-emphasis: #514ed4; + --display-indigo-fgColor: #9899ec; + --display-indigo-borderColor-muted: #25215f; + --display-indigo-borderColor-emphasis: #7070e1; + --display-pink-bgColor-muted: #2d1524; + --display-pink-bgColor-emphasis: #ac2f74; + --display-pink-fgColor: #e57bb2; + --display-pink-borderColor-muted: #451c35; + --display-pink-borderColor-emphasis: #d34591; + --avatar-bgColor: #ffffff1a; + --avatar-borderColor: #ffffff26; + --avatar-shadow: 0px 0px 0px 2px #0d1117; + --avatarStack-fade-bgColor-default: #3d444d; + --avatarStack-fade-bgColor-muted: #2a313c; + --control-bgColor-rest: #212830; + --control-bgColor-hover: #262c36; + --control-bgColor-active: #2a313c; + --control-bgColor-disabled: #212830; + --control-bgColor-selected: #212830; + --control-fgColor-rest: #f0f6fc; + --control-fgColor-placeholder: #9198a1; + --control-fgColor-disabled: #656c7699; + --control-borderColor-rest: #3d444d; + --control-borderColor-emphasis: #656c76; + --control-borderColor-disabled: #656c761a; + --control-borderColor-selected: #f0f6fc; + --control-borderColor-success: #238636; + --control-borderColor-danger: #da3633; + --control-borderColor-warning: #9e6a03; + --control-iconColor-rest: #9198a1; + --control-transparent-bgColor-rest: #00000000; + --control-transparent-bgColor-hover: #656c7633; + --control-transparent-bgColor-active: #656c7640; + --control-transparent-bgColor-disabled: #212830; + --control-transparent-bgColor-selected: #656c761a; + --control-transparent-borderColor-rest: #00000000; + --control-transparent-borderColor-hover: #00000000; + --control-transparent-borderColor-active: #00000000; + --control-danger-fgColor-rest: #f85149; + --control-danger-fgColor-hover: #ff7b72; + --control-danger-bgColor-hover: #f851491a; + --control-danger-bgColor-active: #f8514966; + --control-checked-bgColor-rest: #1f6feb; + --control-checked-bgColor-hover: #2a7aef; + --control-checked-bgColor-active: #3685f3; + --control-checked-bgColor-disabled: #656c7699; + --control-checked-fgColor-rest: #ffffff; + --control-checked-fgColor-disabled: #010409; + --control-checked-borderColor-rest: #1f6feb; + --control-checked-borderColor-hover: #2a7aef; + --control-checked-borderColor-active: #3685f3; + --control-checked-borderColor-disabled: #656c7699; + --controlTrack-bgColor-rest: #262c36; + --controlTrack-bgColor-hover: #2a313c; + --controlTrack-bgColor-active: #2f3742; + --controlTrack-bgColor-disabled: #656c7699; + --controlTrack-fgColor-rest: #9198a1; + --controlTrack-fgColor-disabled: #ffffff; + --controlTrack-borderColor-rest: #3d444d; + --controlTrack-borderColor-disabled: #656c7699; + --controlKnob-bgColor-rest: #010409; + --controlKnob-bgColor-disabled: #212830; + --controlKnob-bgColor-checked: #ffffff; + --controlKnob-borderColor-rest: #656c76; + --controlKnob-borderColor-disabled: #212830; + --controlKnob-borderColor-checked: #1f6feb; + --counter-borderColor: #00000000; + --counter-bgColor-muted: #656c7633; + --counter-bgColor-emphasis: #656c76; + --button-default-fgColor-rest: #f0f6fc; + --button-default-bgColor-rest: #212830; + --button-default-bgColor-hover: #262c36; + --button-default-bgColor-active: #2a313c; + --button-default-bgColor-selected: #2a313c; + --button-default-bgColor-disabled: #212830; + --button-default-borderColor-rest: #3d444d; + --button-default-borderColor-hover: #3d444d; + --button-default-borderColor-active: #3d444d; + --button-default-borderColor-disabled: #656c761a; + --button-default-shadow-resting: 0px 0px 0px 0px #000000; + --button-primary-fgColor-rest: #ffffff; + --button-primary-fgColor-disabled: #ffffff66; + --button-primary-iconColor-rest: #ffffff; + --button-primary-bgColor-rest: #238636; + --button-primary-bgColor-hover: #29903b; + --button-primary-bgColor-active: #2e9a40; + --button-primary-bgColor-disabled: #105823; + --button-primary-borderColor-rest: #ffffff1a; + --button-primary-borderColor-hover: #ffffff1a; + --button-primary-borderColor-active: #ffffff1a; + --button-primary-borderColor-disabled: #105823; + --button-primary-shadow-selected: 0px 0px 0px 0px #000000; + --button-invisible-fgColor-rest: #f0f6fc; + --button-invisible-fgColor-hover: #f0f6fc; + --button-invisible-fgColor-disabled: #656c7699; + --button-invisible-iconColor-rest: #9198a1; + --button-invisible-iconColor-hover: #9198a1; + --button-invisible-iconColor-disabled: #656c7699; + --button-invisible-bgColor-rest: #00000000; + --button-invisible-bgColor-hover: #656c7633; + --button-invisible-bgColor-active: #656c7640; + --button-invisible-bgColor-disabled: #212830; + --button-invisible-borderColor-rest: #00000000; + --button-invisible-borderColor-hover: #00000000; + --button-invisible-borderColor-disabled: #656c761a; + --button-outline-fgColor-rest: #388bfd; + --button-outline-fgColor-hover: #58a6ff; + --button-outline-fgColor-active: #ffffff; + --button-outline-fgColor-disabled: #4493f880; + --button-outline-bgColor-rest: #f0f6fc; + --button-outline-bgColor-hover: #262c36; + --button-outline-bgColor-active: #0d419d; + --button-outline-bgColor-disabled: #212830; + --button-outline-borderColor-hover: #3d444d; + --button-outline-borderColor-selected: #3d444d; + --button-outline-shadow-selected: 0px 0px 0px 0px #000000; + --button-danger-fgColor-rest: #fa5e55; + --button-danger-fgColor-hover: #ffffff; + --button-danger-fgColor-active: #ffffff; + --button-danger-fgColor-disabled: #f8514980; + --button-danger-iconColor-rest: #fa5e55; + --button-danger-iconColor-hover: #ffffff; + --button-danger-bgColor-rest: #212830; + --button-danger-bgColor-hover: #b62324; + --button-danger-bgColor-active: #d03533; + --button-danger-bgColor-disabled: #212830; + --button-danger-borderColor-rest: #3d444d; + --button-danger-borderColor-hover: #ffffff1a; + --button-danger-borderColor-active: #ffffff1a; + --button-danger-shadow-selected: 0px 0px 0px 0px #000000; + --button-inactive-fgColor: #9198a1; + --button-inactive-bgColor: #262c36; + --button-star-iconColor: #e3b341; + --buttonCounter-default-bgColor-rest: #2f3742; + --buttonCounter-invisible-bgColor-rest: #656c7633; + --buttonCounter-primary-bgColor-rest: #04260f33; + --buttonCounter-outline-bgColor-rest: #051d4d33; + --buttonCounter-outline-bgColor-hover: #051d4d33; + --buttonCounter-outline-bgColor-disabled: #1f6feb0d; + --buttonCounter-outline-fgColor-rest: #388bfd; + --buttonCounter-outline-fgColor-hover: #58a6ff; + --buttonCounter-outline-fgColor-disabled: #4493f880; + --buttonCounter-danger-bgColor-hover: #ffffff33; + --buttonCounter-danger-bgColor-disabled: #da36330d; + --buttonCounter-danger-bgColor-rest: #49020233; + --buttonCounter-danger-fgColor-rest: #f85149; + --buttonCounter-danger-fgColor-hover: #ffffff; + --buttonCounter-danger-fgColor-disabled: #f8514980; + --reactionButton-selected-bgColor-rest: #388bfd33; + --reactionButton-selected-bgColor-hover: #3a8cfd5c; + --reactionButton-selected-fgColor-rest: #4493f8; + --reactionButton-selected-fgColor-hover: #79c0ff; + --focus-outlineColor: #1f6feb; + --menu-bgColor-active: #151b23; + --overlay-bgColor: #151b23; + --overlay-borderColor: #3d444db3; + --overlay-backdrop-bgColor: #21283066; + --selectMenu-borderColor: #3d444d; + --selectMenu-bgColor-active: #0c2d6b; + --sideNav-bgColor-selected: #212830; + --skeletonLoader-bgColor: #151b23; + --timelineBadge-bgColor: #212830; + --treeViewItem-leadingVisual-iconColor-rest: #9198a1; + --underlineNav-borderColor-active: #f78166; + --underlineNav-borderColor-hover: #3d444db3; + --underlineNav-iconColor-rest: #9198a1; + --selection-bgColor: #1f6febb3; + --card-bgColor: #151b23; + --label-green-bgColor-rest: #122117; + --label-green-bgColor-hover: #182f1f; + --label-green-bgColor-active: #214529; + --label-green-fgColor-rest: #41b445; + --label-green-fgColor-hover: #46c144; + --label-green-fgColor-active: #75d36f; + --label-orange-bgColor-rest: #311708; + --label-orange-bgColor-hover: #43200a; + --label-orange-bgColor-active: #632f0d; + --label-orange-fgColor-rest: #ed8326; + --label-orange-fgColor-hover: #f1933b; + --label-orange-fgColor-active: #f6b06a; + --label-purple-bgColor-rest: #211047; + --label-purple-bgColor-hover: #31146b; + --label-purple-bgColor-active: #481a9e; + --label-purple-fgColor-rest: #b687f7; + --label-purple-fgColor-hover: #c398fb; + --label-purple-fgColor-active: #d2affd; + --label-red-bgColor-rest: #3c0614; + --label-red-bgColor-hover: #58091a; + --label-red-bgColor-active: #790c20; + --label-red-fgColor-rest: #f27d83; + --label-red-fgColor-hover: #f48b8d; + --label-red-fgColor-active: #f7adab; + --label-yellow-bgColor-rest: #2e1a00; + --label-yellow-bgColor-hover: #3d2401; + --label-yellow-bgColor-active: #5a3702; + --label-yellow-fgColor-rest: #d3910d; + --label-yellow-fgColor-hover: #df9e11; + --label-yellow-fgColor-active: #edb431; + --label-gray-bgColor-rest: #1c1c1c; + --label-gray-bgColor-hover: #2a2b2d; + --label-gray-bgColor-active: #393d41; + --label-gray-fgColor-rest: #92a1b5; + --label-gray-fgColor-hover: #9babbf; + --label-gray-fgColor-active: #b3c0d1; + --label-auburn-bgColor-rest: #271817; + --label-auburn-bgColor-hover: #3a2422; + --label-auburn-bgColor-active: #543331; + --label-auburn-fgColor-rest: #bf9592; + --label-auburn-fgColor-hover: #c6a19f; + --label-auburn-fgColor-active: #d4b7b5; + --label-brown-bgColor-rest: #241c14; + --label-brown-bgColor-hover: #342a1d; + --label-brown-bgColor-active: #483a28; + --label-brown-fgColor-rest: #b69a6d; + --label-brown-fgColor-hover: #bfa77d; + --label-brown-fgColor-active: #cdbb98; + --label-lemon-bgColor-rest: #291d00; + --label-lemon-bgColor-hover: #372901; + --label-lemon-bgColor-active: #4f3c02; + --label-lemon-fgColor-rest: #ba9b12; + --label-lemon-fgColor-hover: #c4a717; + --label-lemon-fgColor-active: #d7bc1d; + --label-olive-bgColor-rest: #171e0b; + --label-olive-bgColor-hover: #252d10; + --label-olive-bgColor-active: #374115; + --label-olive-fgColor-rest: #a2a626; + --label-olive-fgColor-hover: #b2af24; + --label-olive-fgColor-active: #cbc025; + --label-lime-bgColor-rest: #141f0f; + --label-lime-bgColor-hover: #1f3116; + --label-lime-bgColor-active: #2c441d; + --label-lime-fgColor-rest: #7dae37; + --label-lime-fgColor-hover: #89ba36; + --label-lime-fgColor-active: #9fcc3e; + --label-pine-bgColor-rest: #082119; + --label-pine-bgColor-hover: #0b3224; + --label-pine-bgColor-active: #0e4430; + --label-pine-fgColor-rest: #1bb673; + --label-pine-fgColor-hover: #1ac176; + --label-pine-fgColor-active: #1bda81; + --label-teal-bgColor-rest: #041f25; + --label-teal-bgColor-hover: #073036; + --label-teal-bgColor-active: #0a464d; + --label-teal-fgColor-rest: #1cb0ab; + --label-teal-fgColor-hover: #1fbdb2; + --label-teal-fgColor-active: #24d6c4; + --label-cyan-bgColor-rest: #001f29; + --label-cyan-bgColor-hover: #002e3d; + --label-cyan-bgColor-active: #014156; + --label-cyan-fgColor-rest: #07ace4; + --label-cyan-fgColor-hover: #09b7f1; + --label-cyan-fgColor-active: #45cbf7; + --label-indigo-bgColor-rest: #1b183f; + --label-indigo-bgColor-hover: #25215f; + --label-indigo-bgColor-active: #312c90; + --label-indigo-fgColor-rest: #9899ec; + --label-indigo-fgColor-hover: #a2a5f1; + --label-indigo-fgColor-active: #b7baf6; + --label-blue-bgColor-rest: #001a47; + --label-blue-bgColor-hover: #002766; + --label-blue-bgColor-active: #00378a; + --label-blue-fgColor-rest: #4da0ff; + --label-blue-fgColor-hover: #61adff; + --label-blue-fgColor-active: #85c2ff; + --label-plum-bgColor-rest: #2a0e3f; + --label-plum-bgColor-hover: #40125e; + --label-plum-bgColor-active: #5c1688; + --label-plum-fgColor-rest: #d07ef7; + --label-plum-fgColor-hover: #d889fa; + --label-plum-fgColor-active: #e4a5fd; + --label-pink-bgColor-rest: #2d1524; + --label-pink-bgColor-hover: #451c35; + --label-pink-bgColor-active: #65244a; + --label-pink-fgColor-rest: #e57bb2; + --label-pink-fgColor-hover: #ec8dbd; + --label-pink-fgColor-active: #f4a9cd; + --label-coral-bgColor-rest: #351008; + --label-coral-bgColor-hover: #51180b; + --label-coral-bgColor-active: #72220d; + --label-coral-fgColor-rest: #f7794b; + --label-coral-fgColor-hover: #fa8c61; + --label-coral-fgColor-active: #fdaa86; + --tooltip-bgColor: #3d444d; + --tooltip-fgColor: #ffffff; + --fgColor-default: #f0f6fc; + --fgColor-muted: #9198a1; + --fgColor-onEmphasis: #ffffff; + --fgColor-onInverse: #010409; + --fgColor-white: #ffffff; + --fgColor-black: #010409; + --fgColor-disabled: #656c7699; + --fgColor-link: #4493f8; + --fgColor-neutral: #9198a1; + --fgColor-accent: #4493f8; + --fgColor-success: #3fb950; + --fgColor-open: #3fb950; + --fgColor-attention: #d29922; + --fgColor-severe: #db6d28; + --fgColor-danger: #f85149; + --fgColor-closed: #f85149; + --fgColor-done: #ab7df8; + --fgColor-upsell: #ab7df8; + --fgColor-sponsors: #db61a2; + --bgColor-default: #0d1117; + --bgColor-muted: #151b23; + --bgColor-inset: #010409; + --bgColor-emphasis: #3d444d; + --bgColor-inverse: #ffffff; + --bgColor-white: #ffffff; + --bgColor-black: #010409; + --bgColor-disabled: #212830; + --bgColor-transparent: #00000000; + --bgColor-neutral-muted: #656c7633; + --bgColor-neutral-emphasis: #656c76; + --bgColor-accent-muted: #388bfd1a; + --bgColor-accent-emphasis: #1f6feb; + --bgColor-success-muted: #2ea04326; + --bgColor-success-emphasis: #238636; + --bgColor-open-muted: #2ea04326; + --bgColor-open-emphasis: #238636; + --bgColor-attention-muted: #bb800926; + --bgColor-attention-emphasis: #9e6a03; + --bgColor-severe-muted: #db6d281a; + --bgColor-severe-emphasis: #bd561d; + --bgColor-danger-muted: #f851491a; + --bgColor-danger-emphasis: #da3633; + --bgColor-closed-muted: #f851491a; + --bgColor-closed-emphasis: #da3633; + --bgColor-done-muted: #ab7df826; + --bgColor-done-emphasis: #8957e5; + --bgColor-upsell-muted: #ab7df826; + --bgColor-upsell-emphasis: #8957e5; + --bgColor-sponsors-muted: #db61a21a; + --bgColor-sponsors-emphasis: #bf4b8a; + --borderColor-default: #3d444d; + --borderColor-muted: #3d444db3; + --borderColor-emphasis: #656c76; + --borderColor-disabled: #656c761a; + --borderColor-transparent: #00000000; + --borderColor-translucent: #ffffff26; + --borderColor-neutral-muted: #3d444db3; + --borderColor-neutral-emphasis: #656c76; + --borderColor-accent-muted: #388bfd66; + --borderColor-accent-emphasis: #1f6feb; + --borderColor-success-muted: #2ea04366; + --borderColor-success-emphasis: #238636; + --borderColor-open-muted: #2ea04366; + --borderColor-open-emphasis: #238636; + --borderColor-attention-muted: #bb800966; + --borderColor-attention-emphasis: #9e6a03; + --borderColor-severe-muted: #db6d2866; + --borderColor-severe-emphasis: #bd561d; + --borderColor-danger-muted: #f8514966; + --borderColor-danger-emphasis: #da3633; + --borderColor-closed-muted: #f8514966; + --borderColor-closed-emphasis: #da3633; + --borderColor-done-muted: #ab7df866; + --borderColor-done-emphasis: #8957e5; + --borderColor-upsell-muted: #ab7df866; + --borderColor-upsell-emphasis: #8957e5; + --borderColor-sponsors-muted: #db61a266; + --borderColor-sponsors-emphasis: #bf4b8a; + --color-ansi-black: #2f3742; + --color-ansi-black-bright: #656c76; + --color-ansi-white: #f0f6fc; + --color-ansi-white-bright: #ffffff; + --color-ansi-gray: #656c76; + --color-ansi-red: #ff7b72; + --color-ansi-red-bright: #ffa198; + --color-ansi-green: #3fb950; + --color-ansi-green-bright: #56d364; + --color-ansi-yellow: #d29922; + --color-ansi-yellow-bright: #e3b341; + --color-ansi-blue: #58a6ff; + --color-ansi-blue-bright: #79c0ff; + --color-ansi-magenta: #be8fff; + --color-ansi-magenta-bright: #d2a8ff; + --color-ansi-cyan: #39c5cf; + --color-ansi-cyan-bright: #56d4dd; + --color-prettylights-syntax-comment: #9198a1; + --color-prettylights-syntax-constant: #79c0ff; + --color-prettylights-syntax-constant-other-reference-link: #a5d6ff; + --color-prettylights-syntax-entity: #d2a8ff; + --color-prettylights-syntax-storage-modifier-import: #f0f6fc; + --color-prettylights-syntax-entity-tag: #7ee787; + --color-prettylights-syntax-keyword: #ff7b72; + --color-prettylights-syntax-string: #a5d6ff; + --color-prettylights-syntax-variable: #ffa657; + --color-prettylights-syntax-brackethighlighter-unmatched: #f85149; + --color-prettylights-syntax-brackethighlighter-angle: #9198a1; + --color-prettylights-syntax-invalid-illegal-text: #f0f6fc; + --color-prettylights-syntax-invalid-illegal-bg: #8e1519; + --color-prettylights-syntax-carriage-return-text: #f0f6fc; + --color-prettylights-syntax-carriage-return-bg: #b62324; + --color-prettylights-syntax-string-regexp: #7ee787; + --color-prettylights-syntax-markup-list: #f2cc60; + --color-prettylights-syntax-markup-heading: #1f6feb; + --color-prettylights-syntax-markup-italic: #f0f6fc; + --color-prettylights-syntax-markup-bold: #f0f6fc; + --color-prettylights-syntax-markup-deleted-text: #ffdcd7; + --color-prettylights-syntax-markup-deleted-bg: #67060c; + --color-prettylights-syntax-markup-inserted-text: #aff5b4; + --color-prettylights-syntax-markup-inserted-bg: #033a16; + --color-prettylights-syntax-markup-changed-text: #ffdfb6; + --color-prettylights-syntax-markup-changed-bg: #5a1e02; + --color-prettylights-syntax-markup-ignored-text: #f0f6fc; + --color-prettylights-syntax-markup-ignored-bg: #1158c7; + --color-prettylights-syntax-meta-diff-range: #d2a8ff; + --color-prettylights-syntax-sublimelinter-gutter-mark: #3d444d; + --shadow-inset: inset 0px 1px 0px 0px #0104093d; + --shadow-resting-xsmall: 0px 1px 0px 0px #010409cc; + --shadow-resting-small: 0px 1px 0px 0px #01040966; + --shadow-resting-medium: 0px 3px 6px 0px #010409cc; + --shadow-floating-small: 0px 0px 0px 1px #3d444d, 0px 6px 12px -3px #01040966, 0px 6px 18px 0px #01040966; + --shadow-floating-medium: 0px 0px 0px 1px #3d444d, 0px 8px 16px -4px #01040966, 0px 4px 32px -4px #01040966, 0px 24px 48px -12px #01040966, 0px 48px 96px -24px #01040966; + --shadow-floating-large: 0px 0px 0px 1px #3d444d, 0px 24px 48px 0px #010409; + --shadow-floating-xlarge: 0px 0px 0px 1px #3d444d, 0px 32px 64px 0px #010409; + --shadow-floating-legacy: 0px 6px 12px -3px #01040966, 0px 6px 18px 0px #01040966; + --outline-focus: #1f6feb solid 2px; +} +@media (prefers-color-scheme: dark) { + [data-color-mode="auto"][data-dark-theme="dark"], + [data-color-mode="auto"][data-dark-theme="dark"] ::backdrop { + --topicTag-borderColor: #00000000; + --highlight-neutral-bgColor: #d2992266; + --page-header-bgColor: #0d1117; + --diffBlob-addition-fgColor-text: #f0f6fc; + --diffBlob-addition-fgColor-num: #f0f6fc; + --diffBlob-addition-bgColor-num: #3fb9504d; + --diffBlob-addition-bgColor-line: #2ea04326; + --diffBlob-addition-bgColor-word: #2ea04366; + --diffBlob-deletion-fgColor-text: #f0f6fc; + --diffBlob-deletion-fgColor-num: #f0f6fc; + --diffBlob-deletion-bgColor-num: #f851494d; + --diffBlob-deletion-bgColor-line: #f8514926; + --diffBlob-deletion-bgColor-word: #f8514966; + --diffBlob-hunk-bgColor-num: #388bfd66; + --diffBlob-expander-iconColor: #9198a1; + --codeMirror-fgColor: #f0f6fc; + --codeMirror-bgColor: #0d1117; + --codeMirror-gutters-bgColor: #0d1117; + --codeMirror-gutterMarker-fgColor-default: #0d1117; + --codeMirror-gutterMarker-fgColor-muted: #9198a1; + --codeMirror-lineNumber-fgColor: #9198a1; + --codeMirror-cursor-fgColor: #f0f6fc; + --codeMirror-selection-bgColor: #388bfd66; + --codeMirror-activeline-bgColor: #656c7633; + --codeMirror-matchingBracket-fgColor: #f0f6fc; + --codeMirror-lines-bgColor: #0d1117; + --codeMirror-syntax-fgColor-comment: #656c76; + --codeMirror-syntax-fgColor-constant: #79c0ff; + --codeMirror-syntax-fgColor-entity: #d2a8ff; + --codeMirror-syntax-fgColor-keyword: #ff7b72; + --codeMirror-syntax-fgColor-storage: #ff7b72; + --codeMirror-syntax-fgColor-string: #a5d6ff; + --codeMirror-syntax-fgColor-support: #79c0ff; + --codeMirror-syntax-fgColor-variable: #ffa657; + --header-fgColor-default: #ffffffb3; + --header-fgColor-logo: #f0f6fc; + --header-bgColor: #151b23f2; + --header-borderColor-divider: #656c76; + --headerSearch-bgColor: #0d1117; + --headerSearch-borderColor: #2a313c; + --data-blue-color-emphasis: #0576ff; + --data-blue-color-muted: #001a47; + --data-auburn-color-emphasis: #a86f6b; + --data-auburn-color-muted: #271817; + --data-orange-color-emphasis: #984b10; + --data-orange-color-muted: #311708; + --data-yellow-color-emphasis: #895906; + --data-yellow-color-muted: #2e1a00; + --data-green-color-emphasis: #2f6f37; + --data-green-color-muted: #122117; + --data-teal-color-emphasis: #106c70; + --data-teal-color-muted: #041f25; + --data-purple-color-emphasis: #975bf1; + --data-purple-color-muted: #211047; + --data-pink-color-emphasis: #d34591; + --data-pink-color-muted: #2d1524; + --data-red-color-emphasis: #eb3342; + --data-red-color-muted: #3c0614; + --data-gray-color-emphasis: #576270; + --data-gray-color-muted: #1c1c1c; + --display-blue-bgColor-muted: #001a47; + --display-blue-bgColor-emphasis: #005bd1; + --display-blue-fgColor: #4da0ff; + --display-blue-borderColor-muted: #002766; + --display-blue-borderColor-emphasis: #0576ff; + --display-green-bgColor-muted: #122117; + --display-green-bgColor-emphasis: #2f6f37; + --display-green-fgColor: #41b445; + --display-green-borderColor-muted: #182f1f; + --display-green-borderColor-emphasis: #388f3f; + --display-orange-bgColor-muted: #311708; + --display-orange-bgColor-emphasis: #984b10; + --display-orange-fgColor: #ed8326; + --display-orange-borderColor-muted: #43200a; + --display-orange-borderColor-emphasis: #c46212; + --display-purple-bgColor-muted: #211047; + --display-purple-bgColor-emphasis: #7730e8; + --display-purple-fgColor: #b687f7; + --display-purple-borderColor-muted: #31146b; + --display-purple-borderColor-emphasis: #975bf1; + --display-plum-bgColor-muted: #2a0e3f; + --display-plum-bgColor-emphasis: #9518d8; + --display-plum-fgColor: #d07ef7; + --display-plum-borderColor-muted: #40125e; + --display-plum-borderColor-emphasis: #b643ef; + --display-red-bgColor-muted: #3c0614; + --display-red-bgColor-emphasis: #c31328; + --display-red-fgColor: #f27d83; + --display-red-borderColor-muted: #58091a; + --display-red-borderColor-emphasis: #eb3342; + --display-coral-bgColor-muted: #3c0614; + --display-coral-bgColor-emphasis: #c31328; + --display-coral-fgColor: #f27d83; + --display-coral-borderColor-muted: #58091a; + --display-coral-borderColor-emphasis: #eb3342; + --display-yellow-bgColor-muted: #2e1a00; + --display-yellow-bgColor-emphasis: #895906; + --display-yellow-fgColor: #d3910d; + --display-yellow-borderColor-muted: #3d2401; + --display-yellow-borderColor-emphasis: #aa7109; + --display-gray-bgColor-muted: #1c1c1c; + --display-gray-bgColor-emphasis: #576270; + --display-gray-fgColor: #92a1b5; + --display-gray-borderColor-muted: #2a2b2d; + --display-gray-borderColor-emphasis: #6e7f96; + --display-auburn-bgColor-muted: #271817; + --display-auburn-bgColor-emphasis: #87534f; + --display-auburn-fgColor: #bf9592; + --display-auburn-borderColor-muted: #3a2422; + --display-auburn-borderColor-emphasis: #a86f6b; + --display-brown-bgColor-muted: #241c14; + --display-brown-bgColor-emphasis: #755e3e; + --display-brown-fgColor: #b69a6d; + --display-brown-borderColor-muted: #342a1d; + --display-brown-borderColor-emphasis: #94774c; + --display-lemon-bgColor-muted: #291d00; + --display-lemon-bgColor-emphasis: #786008; + --display-lemon-fgColor: #ba9b12; + --display-lemon-borderColor-muted: #372901; + --display-lemon-borderColor-emphasis: #977b0c; + --display-olive-bgColor-muted: #171e0b; + --display-olive-bgColor-emphasis: #5e681d; + --display-olive-fgColor: #a2a626; + --display-olive-borderColor-muted: #252d10; + --display-olive-borderColor-emphasis: #7a8321; + --display-lime-bgColor-muted: #141f0f; + --display-lime-bgColor-emphasis: #496c28; + --display-lime-fgColor: #7dae37; + --display-lime-borderColor-muted: #1f3116; + --display-lime-borderColor-emphasis: #5f892f; + --display-pine-bgColor-muted: #082119; + --display-pine-bgColor-emphasis: #14714c; + --display-pine-fgColor: #1bb673; + --display-pine-borderColor-muted: #0b3224; + --display-pine-borderColor-emphasis: #18915e; + --display-teal-bgColor-muted: #041f25; + --display-teal-bgColor-emphasis: #106c70; + --display-teal-fgColor: #1cb0ab; + --display-teal-borderColor-muted: #073036; + --display-teal-borderColor-emphasis: #158a8a; + --display-cyan-bgColor-muted: #001f29; + --display-cyan-bgColor-emphasis: #036a8c; + --display-cyan-fgColor: #07ace4; + --display-cyan-borderColor-muted: #002e3d; + --display-cyan-borderColor-emphasis: #0587b3; + --display-indigo-bgColor-muted: #1b183f; + --display-indigo-bgColor-emphasis: #514ed4; + --display-indigo-fgColor: #9899ec; + --display-indigo-borderColor-muted: #25215f; + --display-indigo-borderColor-emphasis: #7070e1; + --display-pink-bgColor-muted: #2d1524; + --display-pink-bgColor-emphasis: #ac2f74; + --display-pink-fgColor: #e57bb2; + --display-pink-borderColor-muted: #451c35; + --display-pink-borderColor-emphasis: #d34591; + --avatar-bgColor: #ffffff1a; + --avatar-borderColor: #ffffff26; + --avatar-shadow: 0px 0px 0px 2px #0d1117; + --avatarStack-fade-bgColor-default: #3d444d; + --avatarStack-fade-bgColor-muted: #2a313c; + --control-bgColor-rest: #212830; + --control-bgColor-hover: #262c36; + --control-bgColor-active: #2a313c; + --control-bgColor-disabled: #212830; + --control-bgColor-selected: #212830; + --control-fgColor-rest: #f0f6fc; + --control-fgColor-placeholder: #9198a1; + --control-fgColor-disabled: #656c7699; + --control-borderColor-rest: #3d444d; + --control-borderColor-emphasis: #656c76; + --control-borderColor-disabled: #656c761a; + --control-borderColor-selected: #f0f6fc; + --control-borderColor-success: #238636; + --control-borderColor-danger: #da3633; + --control-borderColor-warning: #9e6a03; + --control-iconColor-rest: #9198a1; + --control-transparent-bgColor-rest: #00000000; + --control-transparent-bgColor-hover: #656c7633; + --control-transparent-bgColor-active: #656c7640; + --control-transparent-bgColor-disabled: #212830; + --control-transparent-bgColor-selected: #656c761a; + --control-transparent-borderColor-rest: #00000000; + --control-transparent-borderColor-hover: #00000000; + --control-transparent-borderColor-active: #00000000; + --control-danger-fgColor-rest: #f85149; + --control-danger-fgColor-hover: #ff7b72; + --control-danger-bgColor-hover: #f851491a; + --control-danger-bgColor-active: #f8514966; + --control-checked-bgColor-rest: #1f6feb; + --control-checked-bgColor-hover: #2a7aef; + --control-checked-bgColor-active: #3685f3; + --control-checked-bgColor-disabled: #656c7699; + --control-checked-fgColor-rest: #ffffff; + --control-checked-fgColor-disabled: #010409; + --control-checked-borderColor-rest: #1f6feb; + --control-checked-borderColor-hover: #2a7aef; + --control-checked-borderColor-active: #3685f3; + --control-checked-borderColor-disabled: #656c7699; + --controlTrack-bgColor-rest: #262c36; + --controlTrack-bgColor-hover: #2a313c; + --controlTrack-bgColor-active: #2f3742; + --controlTrack-bgColor-disabled: #656c7699; + --controlTrack-fgColor-rest: #9198a1; + --controlTrack-fgColor-disabled: #ffffff; + --controlTrack-borderColor-rest: #3d444d; + --controlTrack-borderColor-disabled: #656c7699; + --controlKnob-bgColor-rest: #010409; + --controlKnob-bgColor-disabled: #212830; + --controlKnob-bgColor-checked: #ffffff; + --controlKnob-borderColor-rest: #656c76; + --controlKnob-borderColor-disabled: #212830; + --controlKnob-borderColor-checked: #1f6feb; + --counter-borderColor: #00000000; + --counter-bgColor-muted: #656c7633; + --counter-bgColor-emphasis: #656c76; + --button-default-fgColor-rest: #f0f6fc; + --button-default-bgColor-rest: #212830; + --button-default-bgColor-hover: #262c36; + --button-default-bgColor-active: #2a313c; + --button-default-bgColor-selected: #2a313c; + --button-default-bgColor-disabled: #212830; + --button-default-borderColor-rest: #3d444d; + --button-default-borderColor-hover: #3d444d; + --button-default-borderColor-active: #3d444d; + --button-default-borderColor-disabled: #656c761a; + --button-default-shadow-resting: 0px 0px 0px 0px #000000; + --button-primary-fgColor-rest: #ffffff; + --button-primary-fgColor-disabled: #ffffff66; + --button-primary-iconColor-rest: #ffffff; + --button-primary-bgColor-rest: #238636; + --button-primary-bgColor-hover: #29903b; + --button-primary-bgColor-active: #2e9a40; + --button-primary-bgColor-disabled: #105823; + --button-primary-borderColor-rest: #ffffff1a; + --button-primary-borderColor-hover: #ffffff1a; + --button-primary-borderColor-active: #ffffff1a; + --button-primary-borderColor-disabled: #105823; + --button-primary-shadow-selected: 0px 0px 0px 0px #000000; + --button-invisible-fgColor-rest: #f0f6fc; + --button-invisible-fgColor-hover: #f0f6fc; + --button-invisible-fgColor-disabled: #656c7699; + --button-invisible-iconColor-rest: #9198a1; + --button-invisible-iconColor-hover: #9198a1; + --button-invisible-iconColor-disabled: #656c7699; + --button-invisible-bgColor-rest: #00000000; + --button-invisible-bgColor-hover: #656c7633; + --button-invisible-bgColor-active: #656c7640; + --button-invisible-bgColor-disabled: #212830; + --button-invisible-borderColor-rest: #00000000; + --button-invisible-borderColor-hover: #00000000; + --button-invisible-borderColor-disabled: #656c761a; + --button-outline-fgColor-rest: #388bfd; + --button-outline-fgColor-hover: #58a6ff; + --button-outline-fgColor-active: #ffffff; + --button-outline-fgColor-disabled: #4493f880; + --button-outline-bgColor-rest: #f0f6fc; + --button-outline-bgColor-hover: #262c36; + --button-outline-bgColor-active: #0d419d; + --button-outline-bgColor-disabled: #212830; + --button-outline-borderColor-hover: #3d444d; + --button-outline-borderColor-selected: #3d444d; + --button-outline-shadow-selected: 0px 0px 0px 0px #000000; + --button-danger-fgColor-rest: #fa5e55; + --button-danger-fgColor-hover: #ffffff; + --button-danger-fgColor-active: #ffffff; + --button-danger-fgColor-disabled: #f8514980; + --button-danger-iconColor-rest: #fa5e55; + --button-danger-iconColor-hover: #ffffff; + --button-danger-bgColor-rest: #212830; + --button-danger-bgColor-hover: #b62324; + --button-danger-bgColor-active: #d03533; + --button-danger-bgColor-disabled: #212830; + --button-danger-borderColor-rest: #3d444d; + --button-danger-borderColor-hover: #ffffff1a; + --button-danger-borderColor-active: #ffffff1a; + --button-danger-shadow-selected: 0px 0px 0px 0px #000000; + --button-inactive-fgColor: #9198a1; + --button-inactive-bgColor: #262c36; + --button-star-iconColor: #e3b341; + --buttonCounter-default-bgColor-rest: #2f3742; + --buttonCounter-invisible-bgColor-rest: #656c7633; + --buttonCounter-primary-bgColor-rest: #04260f33; + --buttonCounter-outline-bgColor-rest: #051d4d33; + --buttonCounter-outline-bgColor-hover: #051d4d33; + --buttonCounter-outline-bgColor-disabled: #1f6feb0d; + --buttonCounter-outline-fgColor-rest: #388bfd; + --buttonCounter-outline-fgColor-hover: #58a6ff; + --buttonCounter-outline-fgColor-disabled: #4493f880; + --buttonCounter-danger-bgColor-hover: #ffffff33; + --buttonCounter-danger-bgColor-disabled: #da36330d; + --buttonCounter-danger-bgColor-rest: #49020233; + --buttonCounter-danger-fgColor-rest: #f85149; + --buttonCounter-danger-fgColor-hover: #ffffff; + --buttonCounter-danger-fgColor-disabled: #f8514980; + --reactionButton-selected-bgColor-rest: #388bfd33; + --reactionButton-selected-bgColor-hover: #3a8cfd5c; + --reactionButton-selected-fgColor-rest: #4493f8; + --reactionButton-selected-fgColor-hover: #79c0ff; + --focus-outlineColor: #1f6feb; + --menu-bgColor-active: #151b23; + --overlay-bgColor: #151b23; + --overlay-borderColor: #3d444db3; + --overlay-backdrop-bgColor: #21283066; + --selectMenu-borderColor: #3d444d; + --selectMenu-bgColor-active: #0c2d6b; + --sideNav-bgColor-selected: #212830; + --skeletonLoader-bgColor: #151b23; + --timelineBadge-bgColor: #212830; + --treeViewItem-leadingVisual-iconColor-rest: #9198a1; + --underlineNav-borderColor-active: #f78166; + --underlineNav-borderColor-hover: #3d444db3; + --underlineNav-iconColor-rest: #9198a1; + --selection-bgColor: #1f6febb3; + --card-bgColor: #151b23; + --label-green-bgColor-rest: #122117; + --label-green-bgColor-hover: #182f1f; + --label-green-bgColor-active: #214529; + --label-green-fgColor-rest: #41b445; + --label-green-fgColor-hover: #46c144; + --label-green-fgColor-active: #75d36f; + --label-orange-bgColor-rest: #311708; + --label-orange-bgColor-hover: #43200a; + --label-orange-bgColor-active: #632f0d; + --label-orange-fgColor-rest: #ed8326; + --label-orange-fgColor-hover: #f1933b; + --label-orange-fgColor-active: #f6b06a; + --label-purple-bgColor-rest: #211047; + --label-purple-bgColor-hover: #31146b; + --label-purple-bgColor-active: #481a9e; + --label-purple-fgColor-rest: #b687f7; + --label-purple-fgColor-hover: #c398fb; + --label-purple-fgColor-active: #d2affd; + --label-red-bgColor-rest: #3c0614; + --label-red-bgColor-hover: #58091a; + --label-red-bgColor-active: #790c20; + --label-red-fgColor-rest: #f27d83; + --label-red-fgColor-hover: #f48b8d; + --label-red-fgColor-active: #f7adab; + --label-yellow-bgColor-rest: #2e1a00; + --label-yellow-bgColor-hover: #3d2401; + --label-yellow-bgColor-active: #5a3702; + --label-yellow-fgColor-rest: #d3910d; + --label-yellow-fgColor-hover: #df9e11; + --label-yellow-fgColor-active: #edb431; + --label-gray-bgColor-rest: #1c1c1c; + --label-gray-bgColor-hover: #2a2b2d; + --label-gray-bgColor-active: #393d41; + --label-gray-fgColor-rest: #92a1b5; + --label-gray-fgColor-hover: #9babbf; + --label-gray-fgColor-active: #b3c0d1; + --label-auburn-bgColor-rest: #271817; + --label-auburn-bgColor-hover: #3a2422; + --label-auburn-bgColor-active: #543331; + --label-auburn-fgColor-rest: #bf9592; + --label-auburn-fgColor-hover: #c6a19f; + --label-auburn-fgColor-active: #d4b7b5; + --label-brown-bgColor-rest: #241c14; + --label-brown-bgColor-hover: #342a1d; + --label-brown-bgColor-active: #483a28; + --label-brown-fgColor-rest: #b69a6d; + --label-brown-fgColor-hover: #bfa77d; + --label-brown-fgColor-active: #cdbb98; + --label-lemon-bgColor-rest: #291d00; + --label-lemon-bgColor-hover: #372901; + --label-lemon-bgColor-active: #4f3c02; + --label-lemon-fgColor-rest: #ba9b12; + --label-lemon-fgColor-hover: #c4a717; + --label-lemon-fgColor-active: #d7bc1d; + --label-olive-bgColor-rest: #171e0b; + --label-olive-bgColor-hover: #252d10; + --label-olive-bgColor-active: #374115; + --label-olive-fgColor-rest: #a2a626; + --label-olive-fgColor-hover: #b2af24; + --label-olive-fgColor-active: #cbc025; + --label-lime-bgColor-rest: #141f0f; + --label-lime-bgColor-hover: #1f3116; + --label-lime-bgColor-active: #2c441d; + --label-lime-fgColor-rest: #7dae37; + --label-lime-fgColor-hover: #89ba36; + --label-lime-fgColor-active: #9fcc3e; + --label-pine-bgColor-rest: #082119; + --label-pine-bgColor-hover: #0b3224; + --label-pine-bgColor-active: #0e4430; + --label-pine-fgColor-rest: #1bb673; + --label-pine-fgColor-hover: #1ac176; + --label-pine-fgColor-active: #1bda81; + --label-teal-bgColor-rest: #041f25; + --label-teal-bgColor-hover: #073036; + --label-teal-bgColor-active: #0a464d; + --label-teal-fgColor-rest: #1cb0ab; + --label-teal-fgColor-hover: #1fbdb2; + --label-teal-fgColor-active: #24d6c4; + --label-cyan-bgColor-rest: #001f29; + --label-cyan-bgColor-hover: #002e3d; + --label-cyan-bgColor-active: #014156; + --label-cyan-fgColor-rest: #07ace4; + --label-cyan-fgColor-hover: #09b7f1; + --label-cyan-fgColor-active: #45cbf7; + --label-indigo-bgColor-rest: #1b183f; + --label-indigo-bgColor-hover: #25215f; + --label-indigo-bgColor-active: #312c90; + --label-indigo-fgColor-rest: #9899ec; + --label-indigo-fgColor-hover: #a2a5f1; + --label-indigo-fgColor-active: #b7baf6; + --label-blue-bgColor-rest: #001a47; + --label-blue-bgColor-hover: #002766; + --label-blue-bgColor-active: #00378a; + --label-blue-fgColor-rest: #4da0ff; + --label-blue-fgColor-hover: #61adff; + --label-blue-fgColor-active: #85c2ff; + --label-plum-bgColor-rest: #2a0e3f; + --label-plum-bgColor-hover: #40125e; + --label-plum-bgColor-active: #5c1688; + --label-plum-fgColor-rest: #d07ef7; + --label-plum-fgColor-hover: #d889fa; + --label-plum-fgColor-active: #e4a5fd; + --label-pink-bgColor-rest: #2d1524; + --label-pink-bgColor-hover: #451c35; + --label-pink-bgColor-active: #65244a; + --label-pink-fgColor-rest: #e57bb2; + --label-pink-fgColor-hover: #ec8dbd; + --label-pink-fgColor-active: #f4a9cd; + --label-coral-bgColor-rest: #351008; + --label-coral-bgColor-hover: #51180b; + --label-coral-bgColor-active: #72220d; + --label-coral-fgColor-rest: #f7794b; + --label-coral-fgColor-hover: #fa8c61; + --label-coral-fgColor-active: #fdaa86; + --tooltip-bgColor: #3d444d; + --tooltip-fgColor: #ffffff; + --fgColor-default: #f0f6fc; + --fgColor-muted: #9198a1; + --fgColor-onEmphasis: #ffffff; + --fgColor-onInverse: #010409; + --fgColor-white: #ffffff; + --fgColor-black: #010409; + --fgColor-disabled: #656c7699; + --fgColor-link: #4493f8; + --fgColor-neutral: #9198a1; + --fgColor-accent: #4493f8; + --fgColor-success: #3fb950; + --fgColor-open: #3fb950; + --fgColor-attention: #d29922; + --fgColor-severe: #db6d28; + --fgColor-danger: #f85149; + --fgColor-closed: #f85149; + --fgColor-done: #ab7df8; + --fgColor-upsell: #ab7df8; + --fgColor-sponsors: #db61a2; + --bgColor-default: #0d1117; + --bgColor-muted: #151b23; + --bgColor-inset: #010409; + --bgColor-emphasis: #3d444d; + --bgColor-inverse: #ffffff; + --bgColor-white: #ffffff; + --bgColor-black: #010409; + --bgColor-disabled: #212830; + --bgColor-transparent: #00000000; + --bgColor-neutral-muted: #656c7633; + --bgColor-neutral-emphasis: #656c76; + --bgColor-accent-muted: #388bfd1a; + --bgColor-accent-emphasis: #1f6feb; + --bgColor-success-muted: #2ea04326; + --bgColor-success-emphasis: #238636; + --bgColor-open-muted: #2ea04326; + --bgColor-open-emphasis: #238636; + --bgColor-attention-muted: #bb800926; + --bgColor-attention-emphasis: #9e6a03; + --bgColor-severe-muted: #db6d281a; + --bgColor-severe-emphasis: #bd561d; + --bgColor-danger-muted: #f851491a; + --bgColor-danger-emphasis: #da3633; + --bgColor-closed-muted: #f851491a; + --bgColor-closed-emphasis: #da3633; + --bgColor-done-muted: #ab7df826; + --bgColor-done-emphasis: #8957e5; + --bgColor-upsell-muted: #ab7df826; + --bgColor-upsell-emphasis: #8957e5; + --bgColor-sponsors-muted: #db61a21a; + --bgColor-sponsors-emphasis: #bf4b8a; + --borderColor-default: #3d444d; + --borderColor-muted: #3d444db3; + --borderColor-emphasis: #656c76; + --borderColor-disabled: #656c761a; + --borderColor-transparent: #00000000; + --borderColor-translucent: #ffffff26; + --borderColor-neutral-muted: #3d444db3; + --borderColor-neutral-emphasis: #656c76; + --borderColor-accent-muted: #388bfd66; + --borderColor-accent-emphasis: #1f6feb; + --borderColor-success-muted: #2ea04366; + --borderColor-success-emphasis: #238636; + --borderColor-open-muted: #2ea04366; + --borderColor-open-emphasis: #238636; + --borderColor-attention-muted: #bb800966; + --borderColor-attention-emphasis: #9e6a03; + --borderColor-severe-muted: #db6d2866; + --borderColor-severe-emphasis: #bd561d; + --borderColor-danger-muted: #f8514966; + --borderColor-danger-emphasis: #da3633; + --borderColor-closed-muted: #f8514966; + --borderColor-closed-emphasis: #da3633; + --borderColor-done-muted: #ab7df866; + --borderColor-done-emphasis: #8957e5; + --borderColor-upsell-muted: #ab7df866; + --borderColor-upsell-emphasis: #8957e5; + --borderColor-sponsors-muted: #db61a266; + --borderColor-sponsors-emphasis: #bf4b8a; + --color-ansi-black: #2f3742; + --color-ansi-black-bright: #656c76; + --color-ansi-white: #f0f6fc; + --color-ansi-white-bright: #ffffff; + --color-ansi-gray: #656c76; + --color-ansi-red: #ff7b72; + --color-ansi-red-bright: #ffa198; + --color-ansi-green: #3fb950; + --color-ansi-green-bright: #56d364; + --color-ansi-yellow: #d29922; + --color-ansi-yellow-bright: #e3b341; + --color-ansi-blue: #58a6ff; + --color-ansi-blue-bright: #79c0ff; + --color-ansi-magenta: #be8fff; + --color-ansi-magenta-bright: #d2a8ff; + --color-ansi-cyan: #39c5cf; + --color-ansi-cyan-bright: #56d4dd; + --color-prettylights-syntax-comment: #9198a1; + --color-prettylights-syntax-constant: #79c0ff; + --color-prettylights-syntax-constant-other-reference-link: #a5d6ff; + --color-prettylights-syntax-entity: #d2a8ff; + --color-prettylights-syntax-storage-modifier-import: #f0f6fc; + --color-prettylights-syntax-entity-tag: #7ee787; + --color-prettylights-syntax-keyword: #ff7b72; + --color-prettylights-syntax-string: #a5d6ff; + --color-prettylights-syntax-variable: #ffa657; + --color-prettylights-syntax-brackethighlighter-unmatched: #f85149; + --color-prettylights-syntax-brackethighlighter-angle: #9198a1; + --color-prettylights-syntax-invalid-illegal-text: #f0f6fc; + --color-prettylights-syntax-invalid-illegal-bg: #8e1519; + --color-prettylights-syntax-carriage-return-text: #f0f6fc; + --color-prettylights-syntax-carriage-return-bg: #b62324; + --color-prettylights-syntax-string-regexp: #7ee787; + --color-prettylights-syntax-markup-list: #f2cc60; + --color-prettylights-syntax-markup-heading: #1f6feb; + --color-prettylights-syntax-markup-italic: #f0f6fc; + --color-prettylights-syntax-markup-bold: #f0f6fc; + --color-prettylights-syntax-markup-deleted-text: #ffdcd7; + --color-prettylights-syntax-markup-deleted-bg: #67060c; + --color-prettylights-syntax-markup-inserted-text: #aff5b4; + --color-prettylights-syntax-markup-inserted-bg: #033a16; + --color-prettylights-syntax-markup-changed-text: #ffdfb6; + --color-prettylights-syntax-markup-changed-bg: #5a1e02; + --color-prettylights-syntax-markup-ignored-text: #f0f6fc; + --color-prettylights-syntax-markup-ignored-bg: #1158c7; + --color-prettylights-syntax-meta-diff-range: #d2a8ff; + --color-prettylights-syntax-sublimelinter-gutter-mark: #3d444d; + --shadow-inset: inset 0px 1px 0px 0px #0104093d; + --shadow-resting-xsmall: 0px 1px 0px 0px #010409cc; + --shadow-resting-small: 0px 1px 0px 0px #01040966; + --shadow-resting-medium: 0px 3px 6px 0px #010409cc; + --shadow-floating-small: 0px 0px 0px 1px #3d444d, 0px 6px 12px -3px #01040966, 0px 6px 18px 0px #01040966; + --shadow-floating-medium: 0px 0px 0px 1px #3d444d, 0px 8px 16px -4px #01040966, 0px 4px 32px -4px #01040966, 0px 24px 48px -12px #01040966, 0px 48px 96px -24px #01040966; + --shadow-floating-large: 0px 0px 0px 1px #3d444d, 0px 24px 48px 0px #010409; + --shadow-floating-xlarge: 0px 0px 0px 1px #3d444d, 0px 32px 64px 0px #010409; + --shadow-floating-legacy: 0px 6px 12px -3px #01040966, 0px 6px 18px 0px #01040966; + --outline-focus: #1f6feb solid 2px; + } +} + + +/*# sourceMappingURL=dark.scss.map */ + +/*# sourceMappingURL=dark-e0bf10f61b97.css.map*/ \ No newline at end of file diff --git a/Shargil_VoiceToPlaylist_ 4.5 hours project - Voice Emotion Recognizer that open up a Spotify playlist according to you mood._files/element-registry-cf0935bb1229.js.download b/Shargil_VoiceToPlaylist_ 4.5 hours project - Voice Emotion Recognizer that open up a Spotify playlist according to you mood._files/element-registry-cf0935bb1229.js.download new file mode 100644 index 0000000000000000000000000000000000000000..a9ae5931b43c90de552bab9ccc9f6fe2f7430da3 --- /dev/null +++ b/Shargil_VoiceToPlaylist_ 4.5 hours project - Voice Emotion Recognizer that open up a Spotify playlist according to you mood._files/element-registry-cf0935bb1229.js.download @@ -0,0 +1,2 @@ +"use strict";(globalThis.webpackChunk=globalThis.webpackChunk||[]).push([["element-registry"],{91032:(e,s,t)=>{var _=t(39595);(0,_.Se)("animated-image",()=>Promise.all([t.e("vendors-node_modules_dompurify_dist_purify_js"),t.e("vendors-node_modules_github_hydro-analytics-client_dist_analytics-client_js-node_modules_gith-f3aee1"),t.e("ui_packages_failbot_failbot_ts"),t.e("node_modules_github_mini-throttle_dist_index_js-node_modules_stacktrace-parser_dist_stack-tra-b6d924")]).then(t.bind(t,60806))),(0,_.Se)("launch-code",()=>t.e("app_components_account_verifications_launch-code-element_ts").then(t.bind(t,50734))),(0,_.Se)("actions-caches-filter",()=>Promise.all([t.e("vendors-node_modules_dompurify_dist_purify_js"),t.e("vendors-node_modules_primer_behaviors_dist_esm_index_mjs"),t.e("vendors-node_modules_github_selector-observer_dist_index_esm_js"),t.e("vendors-node_modules_lit-html_lit-html_js"),t.e("vendors-node_modules_delegated-events_dist_index_js-node_modules_github_hotkey_dist_index_js"),t.e("ui_packages_form-utils_form-utils_ts-ui_packages_input-navigation-behavior_input-navigation-b-a97423"),t.e("app_assets_modules_github_filter-input_ts"),t.e("node_modules_lit-html_directives_until_js-app_components_actions_actions-caches-filter-elemen-02fc8a")]).then(t.bind(t,27200))),(0,_.Se)("actions-workflow-filter",()=>Promise.all([t.e("vendors-node_modules_dompurify_dist_purify_js"),t.e("vendors-node_modules_primer_behaviors_dist_esm_index_mjs"),t.e("vendors-node_modules_github_selector-observer_dist_index_esm_js"),t.e("vendors-node_modules_lit-html_lit-html_js"),t.e("vendors-node_modules_delegated-events_dist_index_js-node_modules_github_hotkey_dist_index_js"),t.e("ui_packages_form-utils_form-utils_ts-ui_packages_input-navigation-behavior_input-navigation-b-a97423"),t.e("app_assets_modules_github_filter-input_ts"),t.e("node_modules_lit-html_directives_until_js-app_components_actions_actions-workflow-filter-elem-11663f")]).then(t.bind(t,42418))),(0,_.Se)("actions-workflow-list",()=>t.e("app_components_actions_actions-workflow-list-element_ts").then(t.bind(t,95412))),(0,_.Se)("variable-value",()=>t.e("app_components_actions_variables_variable-value-element_ts").then(t.bind(t,70780))),(0,_.Se)("variables-input",()=>t.e("app_components_actions_variables_variables-input-element_ts").then(t.bind(t,40912))),(0,_.Se)("variables-pagination",()=>t.e("app_components_actions_variables_variables-pagination-element_ts").then(t.bind(t,51276))),(0,_.Se)("cvss-calculator",()=>t.e("app_components_advisories_cvss-calculator-element_ts").then(t.bind(t,44424))),(0,_.Se)("cvss-calculator-metric",()=>t.e("app_components_advisories_cvss-calculator-metric-element_ts").then(t.bind(t,54283))),(0,_.Se)("metric-selection",()=>t.e("app_components_advisories_metric-selection-element_ts").then(t.bind(t,94885))),(0,_.Se)("severity-calculator",()=>t.e("app_components_advisories_severity-calculator-element_ts").then(t.bind(t,79904))),(0,_.Se)("severity-score",()=>t.e("app_components_advisories_severity-score-element_ts").then(t.bind(t,32438))),(0,_.Se)("severity-selection",()=>Promise.all([t.e("vendors-node_modules_github_selector-observer_dist_index_esm_js"),t.e("app_components_advisories_severity-selection-element_ts")]).then(t.bind(t,96386))),(0,_.Se)("severity-selection-next",()=>Promise.all([t.e("vendors-node_modules_github_selector-observer_dist_index_esm_js"),t.e("app_components_advisories_severity-selection-next-element_ts")]).then(t.bind(t,12628))),(0,_.Se)("severity-tracking",()=>t.e("app_components_advisories_severity-tracking-element_ts").then(t.bind(t,46685))),(0,_.Se)("webauthn-status",()=>t.e("app_components_behaviors_webauthn-status-element_ts").then(t.bind(t,14357))),(0,_.Se)("downgrade-dialog",()=>Promise.all([t.e("vendors-node_modules_primer_behaviors_dist_esm_index_mjs"),t.e("app_components_billing_settings_downgrade-dialog-element_ts")]).then(t.bind(t,14338))),(0,_.Se)("manage-subscription",()=>t.e("app_components_billing_settings_upgrade_manage-subscription-element_ts").then(t.bind(t,97456))),(0,_.Se)("pending-cycle-changes-component",()=>t.e("app_components_billing_stafftools_pending-cycle-changes-component-element_ts").then(t.bind(t,95154))),(0,_.Se)("create-branch",()=>Promise.all([t.e("vendors-node_modules_dompurify_dist_purify_js"),t.e("vendors-node_modules_github_mini-throttle_dist_index_js-node_modules_morphdom_dist_morphdom-e-7c534c"),t.e("vendors-node_modules_virtualized-list_es_index_js-node_modules_github_template-parts_lib_index_js"),t.e("vendors-node_modules_delegated-events_dist_index_js-node_modules_stacktrace-parser_dist_stack-cd595b"),t.e("ui_packages_failbot_failbot_ts"),t.e("app_assets_modules_github_ref-selector_ts"),t.e("app_components_branch_create-branch-element_ts")]).then(t.bind(t,38066))),(0,_.Se)("create-repo-from-selector",()=>t.e("app_components_branch_create-repo-from-selector-element_ts").then(t.bind(t,80049))),(0,_.Se)("select-all",()=>t.e("app_components_businesses_people_select-all-element_ts").then(t.bind(t,40905))),(0,_.Se)("close-reason-selector",()=>t.e("app_components_closables_buttons_close-reason-selector-element_ts").then(t.bind(t,48122))),(0,_.Se)("reopen-reason-selector",()=>t.e("app_components_closables_buttons_reopen-reason-selector-element_ts").then(t.bind(t,31133))),(0,_.Se)("alert-dismissal-details",()=>t.e("app_components_code_scanning_alert-dismissal-details-element_ts").then(t.bind(t,58221))),(0,_.Se)("code-scanning-alert-filter",()=>Promise.all([t.e("vendors-node_modules_dompurify_dist_purify_js"),t.e("vendors-node_modules_primer_behaviors_dist_esm_index_mjs"),t.e("vendors-node_modules_github_selector-observer_dist_index_esm_js"),t.e("vendors-node_modules_lit-html_lit-html_js"),t.e("vendors-node_modules_delegated-events_dist_index_js-node_modules_github_hotkey_dist_index_js"),t.e("ui_packages_form-utils_form-utils_ts-ui_packages_input-navigation-behavior_input-navigation-b-a97423"),t.e("app_assets_modules_github_filter-input_ts"),t.e("node_modules_lit-html_directives_until_js-app_components_code_scanning_code-scanning-alert-fi-ce3ea9")]).then(t.bind(t,30969))),(0,_.Se)("pretty-cron",()=>Promise.all([t.e("vendors-node_modules_cronstrue_dist_cronstrue_js"),t.e("app_components_code_scanning_pretty-cron-element_ts")]).then(t.bind(t,42431))),(0,_.Se)("timeout-content",()=>t.e("app_components_code_scanning_timeout-content-element_ts").then(t.bind(t,96967))),(0,_.Se)("message-list",()=>t.e("app_components_code_scanning_tool_status_message-list-element_ts").then(t.bind(t,18640))),(0,_.Se)("sku-list",()=>t.e("app_components_codespaces_advanced_options_sku-list-element_ts").then(t.bind(t,89063))),(0,_.Se)("create-button",()=>t.e("app_components_codespaces_create-button-element_ts").then(t.bind(t,73428))),(0,_.Se)("editor-forwarder",()=>t.e("app_components_codespaces_editor-forwarder-element_ts").then(t.bind(t,82323))),(0,_.Se)("command-palette-page",()=>Promise.all([t.e("vendors-node_modules_dompurify_dist_purify_js"),t.e("vendors-node_modules_github_hydro-analytics-client_dist_analytics-client_js-node_modules_gith-f3aee1"),t.e("vendors-node_modules_allex_crc32_lib_crc32_esm_js-node_modules_github_mini-throttle_dist_deco-981f61"),t.e("ui_packages_failbot_failbot_ts"),t.e("app_assets_modules_github_command-palette_items_help-item_ts-app_assets_modules_github_comman-48ad9d"),t.e("app_components_command_palette_command-palette-page-element_ts")]).then(t.bind(t,13878))),(0,_.Se)("command-palette-page-stack",()=>Promise.all([t.e("vendors-node_modules_dompurify_dist_purify_js"),t.e("vendors-node_modules_github_hydro-analytics-client_dist_analytics-client_js-node_modules_gith-f3aee1"),t.e("vendors-node_modules_allex_crc32_lib_crc32_esm_js-node_modules_github_mini-throttle_dist_deco-981f61"),t.e("ui_packages_failbot_failbot_ts"),t.e("app_assets_modules_github_command-palette_items_help-item_ts-app_assets_modules_github_comman-48ad9d"),t.e("app_components_command_palette_command-palette-page-stack-element_ts")]).then(t.bind(t,29384))),(0,_.Se)("feed-post",()=>Promise.all([t.e("vendors-node_modules_dompurify_dist_purify_js"),t.e("vendors-node_modules_github_mini-throttle_dist_decorators_js-node_modules_stacktrace-parser_d-7d3fef"),t.e("ui_packages_failbot_failbot_ts"),t.e("app_components_conduit_feed-post-element_ts")]).then(t.bind(t,64882))),(0,_.Se)("copilot-signup-choose-plan-type",()=>t.e("app_components_copilot_copilot-signup-choose-plan-type-element_ts").then(t.bind(t,86461))),(0,_.Se)("copilot-business-signup-seat-management",()=>t.e("app_components_copilot_seat_management_copilot-business-signup-seat-management-element_ts").then(t.bind(t,30837))),(0,_.Se)("loading-context",()=>t.e("app_components_dashboard_loading-context-element_ts").then(t.bind(t,27287))),(0,_.Se)("portal-fragment",()=>t.e("app_components_dashboard_portal-fragment-element_ts").then(t.bind(t,80112))),(0,_.Se)("query-search",()=>Promise.all([t.e("vendors-node_modules_dompurify_dist_purify_js"),t.e("vendors-node_modules_primer_behaviors_dist_esm_index_mjs"),t.e("vendors-node_modules_github_selector-observer_dist_index_esm_js"),t.e("vendors-node_modules_lit-html_lit-html_js"),t.e("vendors-node_modules_delegated-events_dist_index_js-node_modules_github_hotkey_dist_index_js"),t.e("ui_packages_form-utils_form-utils_ts-ui_packages_input-navigation-behavior_input-navigation-b-a97423"),t.e("app_assets_modules_github_filter-input_ts"),t.e("app_components_dashboard_query-search-element_ts-ui_packages_ssr-utils_index_ts-node_modules_-5a08a9")]).then(t.bind(t,71436))),(0,_.Se)("dependabot-alert-dismissal",()=>t.e("app_components_dependabot_alerts_dependabot-alert-dismissal-element_ts").then(t.bind(t,86094))),(0,_.Se)("dependabot-alert-load-all",()=>t.e("app_components_dependabot_alerts_dependabot-alert-load-all-element_ts").then(t.bind(t,42859))),(0,_.Se)("dependabot-alert-row",()=>t.e("app_components_dependabot_alerts_dependabot-alert-row-element_ts").then(t.bind(t,26231))),(0,_.Se)("dependabot-alert-table-header",()=>t.e("app_components_dependabot_alerts_dependabot-alert-table-header-element_ts").then(t.bind(t,64563))),(0,_.Se)("dependabot-updates-paused",()=>t.e("app_components_dependabot_dependabot-updates-paused-element_ts").then(t.bind(t,36437))),(0,_.Se)("deferred-diff-lines",()=>Promise.all([t.e("vendors-node_modules_dompurify_dist_purify_js"),t.e("vendors-node_modules_github_mini-throttle_dist_index_js-node_modules_stacktrace-parser_dist_s-9d98c88"),t.e("ui_packages_failbot_failbot_ts"),t.e("app_components_diffs_deferred-diff-lines-element_ts")]).then(t.bind(t,43926))),(0,_.Se)("edit-history",()=>t.e("app_components_discussions_edit-history-element_ts").then(t.bind(t,22749))),(0,_.Se)("conduit-profile-feed-visibility",()=>t.e("app_components_feed_conduit-profile-feed-visibility-element_ts").then(t.bind(t,90921))),(0,_.Se)("readme-toc",()=>t.e("app_components_files_readme-toc-element_ts").then(t.bind(t,38655))),(0,_.Se)("delayed-loading",()=>t.e("app_components_github_delayed-loading-element_ts").then(t.bind(t,38017))),(0,_.Se)("remote-pagination",()=>Promise.all([t.e("vendors-node_modules_dompurify_dist_purify_js"),t.e("vendors-node_modules_github_mini-throttle_dist_index_js-node_modules_stacktrace-parser_dist_s-9d98c87"),t.e("ui_packages_failbot_failbot_ts"),t.e("app_components_github_remote-pagination-element_ts")]).then(t.bind(t,71059))),(0,_.Se)("dialog-hydro",()=>t.e("app_components_hydro_dialog-hydro-element_ts").then(t.bind(t,23178))),(0,_.Se)("track-view",()=>t.e("app_components_hydro_track-view-element_ts").then(t.bind(t,53630))),(0,_.Se)("development-menu",()=>t.e("app_components_issues_references_development-menu-element_ts").then(t.bind(t,12841))),(0,_.Se)("load-versions",()=>Promise.all([t.e("vendors-node_modules_dompurify_dist_purify_js"),t.e("vendors-node_modules_github_mini-throttle_dist_index_js-node_modules_stacktrace-parser_dist_s-9d98c86"),t.e("ui_packages_failbot_failbot_ts"),t.e("app_components_marketplace_load-versions-element_ts")]).then(t.bind(t,37984))),(0,_.Se)("math-renderer",()=>Promise.all([t.e("vendors-node_modules_lit-html_lit-html_js"),t.e("app_components_mathjax_math-renderer-element_ts")]).then(t.bind(t,90374))),(0,_.Se)("memex-project-picker",()=>t.e("app_components_memex_memex-project-picker-element_ts").then(t.bind(t,19594))),(0,_.Se)("memex-project-picker-panel",()=>t.e("app_components_memex_memex-project-picker-panel-element_ts").then(t.bind(t,96045))),(0,_.Se)("memex-project-picker-interstitial",()=>t.e("app_components_memex_project_list_memex-project-picker-interstitial-element_ts").then(t.bind(t,53744))),(0,_.Se)("memex-project-picker-unlink",()=>t.e("app_components_memex_project_list_memex-project-picker-unlink-element_ts").then(t.bind(t,55373))),(0,_.Se)("project-buttons-list",()=>t.e("app_components_memex_project_list_project-buttons-list-element_ts").then(t.bind(t,37550))),(0,_.Se)("navigation-list",()=>t.e("app_components_navigation_navigation-list-element_ts").then(t.bind(t,98618))),(0,_.Se)("notification-shelf-watcher",()=>Promise.all([t.e("vendors-node_modules_dompurify_dist_purify_js"),t.e("vendors-node_modules_github_selector-observer_dist_index_esm_js"),t.e("vendors-node_modules_github_mini-throttle_dist_index_js-node_modules_morphdom_dist_morphdom-e-7c534c"),t.e("vendors-node_modules_scroll-anchoring_dist_scroll-anchoring_esm_js-node_modules_stacktrace-pa-a71630"),t.e("ui_packages_failbot_failbot_ts"),t.e("ui_packages_updatable-content_updatable-content_ts"),t.e("app_components_notifications_notification-shelf-watcher-element_ts-node_modules_github_hydro--4bfe5e")]).then(t.bind(t,31960))),(0,_.Se)("feature-request",()=>t.e("app_components_organizations_member_requests_feature-request-element_ts").then(t.bind(t,20229))),(0,_.Se)("allowed-values-input",()=>t.e("app_components_organizations_settings_codespaces_policy_form_constraint_row_allowed-values-in-672002").then(t.bind(t,11945))),(0,_.Se)("host-setup",()=>t.e("app_components_organizations_settings_codespaces_policy_form_constraint_row_host-setup-element_ts").then(t.bind(t,27363))),(0,_.Se)("max-value",()=>t.e("app_components_organizations_settings_codespaces_policy_form_constraint_row_max-value-element_ts").then(t.bind(t,1881))),(0,_.Se)("codespaces-policy-form",()=>Promise.all([t.e("vendors-node_modules_dompurify_dist_purify_js"),t.e("vendors-node_modules_github_mini-throttle_dist_index_js-node_modules_stacktrace-parser_dist_s-9d98c810"),t.e("ui_packages_failbot_failbot_ts"),t.e("app_components_organizations_settings_codespaces-policy-form-element_ts")]).then(t.bind(t,83899))),(0,_.Se)("private-registry-form",()=>t.e("app_components_organizations_settings_private-registry-form-element_ts").then(t.bind(t,15083))),(0,_.Se)("repository-selection-input",()=>t.e("app_components_packages_repository-selection-input-element_ts").then(t.bind(t,6517))),(0,_.Se)("experimental-action-menu",()=>Promise.all([t.e("vendors-node_modules_primer_behaviors_dist_esm_index_mjs"),t.e("app_components_primer_action_menu_experimental-action-menu-element_ts")]).then(t.bind(t,18746))),(0,_.Se)("select-panel",()=>Promise.all([t.e("vendors-node_modules_primer_behaviors_dist_esm_index_mjs"),t.e("vendors-node_modules_oddbird_popover-polyfill_dist_popover_js"),t.e("app_components_primer_experimental_select-panel-element_ts")]).then(t.bind(t,23682))),(0,_.Se)("internal-nav-list-group",()=>t.e("app_components_primer_experimental_side_panel_nav_list_internal-nav-list-group-element_ts").then(t.bind(t,36582))),(0,_.Se)("split-page-layout",()=>t.e("app_components_primer_experimental_split-page-layout-element_ts").then(t.bind(t,16750))),(0,_.Se)("toggle-switch",()=>t.e("app_components_primer_experimental_toggle-switch-element_ts").then(t.bind(t,27604))),(0,_.Se)("lazy-load-section",()=>t.e("app_components_primer_navigation_list_lazy-load-section-element_ts").then(t.bind(t,31725))),(0,_.Se)("profile-timezone",()=>t.e("app_components_profiles_profile-timezone-element_ts").then(t.bind(t,79310))),(0,_.Se)("comment-actions",()=>t.e("app_components_pull_requests_comment-actions-element_ts").then(t.bind(t,16732))),(0,_.Se)("copilot-marketing-popover",()=>t.e("app_components_pull_requests_copilot-marketing-popover-element_ts").then(t.bind(t,2550))),(0,_.Se)("file-filter",()=>t.e("app_components_pull_requests_file_tree_file-filter-element_ts").then(t.bind(t,91212))),(0,_.Se)("file-tree",()=>t.e("app_components_pull_requests_file_tree_file-tree-element_ts").then(t.bind(t,71522))),(0,_.Se)("file-tree-toggle",()=>t.e("app_components_pull_requests_file_tree_file-tree-toggle-element_ts").then(t.bind(t,73973))),(0,_.Se)("reactions-menu",()=>t.e("app_components_reactions_reactions-menu-element_ts").then(t.bind(t,20055))),(0,_.Se)("pin-organization-repo",()=>t.e("app_components_repositories_pin-organization-repo-element_ts").then(t.bind(t,47581))),(0,_.Se)("custom-scopes",()=>Promise.all([t.e("vendors-node_modules_dompurify_dist_purify_js"),t.e("vendors-node_modules_github_hydro-analytics-client_dist_analytics-client_js-node_modules_gith-f3aee1"),t.e("ui_packages_failbot_failbot_ts"),t.e("node_modules_github_mini-throttle_dist_index_js-node_modules_stacktrace-parser_dist_stack-tra-a18fad")]).then(t.bind(t,60722))),(0,_.Se)("feature-preview-auto-enroll",()=>t.e("app_components_search_feature-preview-auto-enroll-element_ts").then(t.bind(t,17937))),(0,_.Se)("qbsearch-input",()=>Promise.all([t.e("vendors-node_modules_dompurify_dist_purify_js"),t.e("vendors-node_modules_github_hydro-analytics-client_dist_analytics-client_js-node_modules_gith-f3aee1"),t.e("vendors-node_modules_github_turbo_dist_turbo_es2017-esm_js"),t.e("vendors-node_modules_github_mini-throttle_dist_index_js-node_modules_stacktrace-parser_dist_s-1f651a"),t.e("ui_packages_failbot_failbot_ts"),t.e("ui_packages_paths_index_ts"),t.e("ui_packages_query-builder-element_query-builder-element_ts"),t.e("app_assets_modules_github_blob-anchor_ts-ui_packages_code-nav_code-nav_ts-ui_packages_filter--8253c1"),t.e("app_components_search_qbsearch-input-element_ts-ui_packages_trusted-types-policies_policy_ts--7cc11e")]).then(t.bind(t,83239))),(0,_.Se)("alert-dismissal",()=>t.e("app_components_secret_scanning_alert_centric_view_alert-dismissal-element_ts").then(t.bind(t,90731))),(0,_.Se)("preview-announcement-button",()=>t.e("app_components_settings_messages_preview-announcement-button-element_ts").then(t.bind(t,152))),(0,_.Se)("recovery-codes",()=>t.e("app_components_settings_recovery-codes-element_ts").then(t.bind(t,48360))),(0,_.Se)("project-picker",()=>Promise.all([t.e("vendors-node_modules_dompurify_dist_purify_js"),t.e("vendors-node_modules_github_turbo_dist_turbo_es2017-esm_js"),t.e("vendors-node_modules_github_mini-throttle_dist_index_js-node_modules_stacktrace-parser_dist_s-d0a0ae"),t.e("ui_packages_failbot_failbot_ts"),t.e("app_components_sidebar_project-picker-element_ts")]).then(t.bind(t,22953))),(0,_.Se)("deferred-side-panel",()=>t.e("app_components_site_header_deferred-side-panel-element_ts").then(t.bind(t,7914))),(0,_.Se)("notification-indicator",()=>Promise.all([t.e("vendors-node_modules_dompurify_dist_purify_js"),t.e("vendors-node_modules_github_mini-throttle_dist_index_js-node_modules_stacktrace-parser_dist_s-9d98c84"),t.e("ui_packages_failbot_failbot_ts"),t.e("app_components_site_header_notification-indicator-element_ts")]).then(t.bind(t,28271))),(0,_.Se)("user-drawer-side-panel",()=>t.e("app_components_site_header_user-drawer-side-panel-element_ts").then(t.bind(t,13674))),(0,_.Se)("slash-command-toolbar-button",()=>t.e("app_components_slash_commands_slash-command-toolbar-button-element_ts").then(t.bind(t,85337))),(0,_.Se)("featured-work",()=>Promise.all([t.e("vendors-node_modules_dompurify_dist_purify_js"),t.e("vendors-node_modules_github_mini-throttle_dist_index_js-node_modules_stacktrace-parser_dist_s-9d98c82"),t.e("ui_packages_failbot_failbot_ts"),t.e("app_components_sponsors_dashboard_featured-work-element_ts")]).then(t.bind(t,55365))),(0,_.Se)("sponsors-account-switcher",()=>t.e("app_components_sponsors_sponsors-account-switcher-element_ts").then(t.bind(t,67009))),(0,_.Se)("variant-menu-item",()=>t.e("app_components_stafftools_azure_exp_variant-menu-item-element_ts").then(t.bind(t,44945))),(0,_.Se)("metered-billing-settings-component",()=>t.e("app_components_stafftools_billing_businesses_metered-billing-settings-component-element_ts").then(t.bind(t,28161))),(0,_.Se)("billing-transaction-component",()=>t.e("app_components_stafftools_billing_history_billing-transaction-component-element_ts").then(t.bind(t,37919))),(0,_.Se)("invoice-download",()=>t.e("app_components_stafftools_billing_history_invoice-download-element_ts").then(t.bind(t,18651))),(0,_.Se)("payment-history",()=>t.e("app_components_stafftools_billing_history_payment-history-element_ts").then(t.bind(t,42868))),(0,_.Se)("sponsorships-tabs",()=>t.e("app_components_stafftools_billing_sponsorships-tabs-element_ts").then(t.bind(t,33975))),(0,_.Se)("bundle-size-stats",()=>Promise.all([t.e("vendors-node_modules_lit-html_lit-html_js"),t.e("app_components_stafftools_bundle-size-stats_bundle-size-stats-element_ts")]).then(t.bind(t,92022))),(0,_.Se)("datahpc-staffbar",()=>t.e("app_components_stafftools_data_hpc_datahpc-staffbar-element_ts").then(t.bind(t,60244))),(0,_.Se)("react-profiling-toggle",()=>t.e("app_components_stafftools_react_react-profiling-toggle-element_ts").then(t.bind(t,82483))),(0,_.Se)("react-staffbar",()=>t.e("app_components_stafftools_react_react-staffbar-element_ts").then(t.bind(t,41953))),(0,_.Se)("soft-nav-staffbar",()=>t.e("app_components_stafftools_soft_nav_soft-nav-staffbar-element_ts").then(t.bind(t,33637))),(0,_.Se)("soft-nav-staffbar-preview",()=>Promise.all([t.e("vendors-node_modules_dompurify_dist_purify_js"),t.e("vendors-node_modules_github_mini-throttle_dist_index_js-node_modules_stacktrace-parser_dist_s-9d98c83"),t.e("ui_packages_failbot_failbot_ts"),t.e("app_components_stafftools_soft_nav_soft-nav-staffbar-preview-element_ts")]).then(t.bind(t,29080))),(0,_.Se)("stafftools-invoiced-sponsorship-payment-options",()=>t.e("app_components_stafftools_sponsors_invoiced_stafftools-invoiced-sponsorship-payment-options-e-a6e272").then(t.bind(t,32606))),(0,_.Se)("suggestions-collapsible",()=>t.e("app_components_suggestions_suggestions-collapsible-element_ts").then(t.bind(t,18152))),(0,_.Se)("themed-picture",()=>t.e("app_components_themed_pictures_themed-picture-element_ts").then(t.bind(t,21813))),(0,_.Se)("tasklist-block-add-tasklist",()=>Promise.all([t.e("vendors-node_modules_github_mini-throttle_dist_index_js-node_modules_morphdom_dist_morphdom-e-7c534c"),t.e("vendors-node_modules_github_sortablejs_Sortable_js"),t.e("vendors-node_modules_color-convert_index_js"),t.e("app_components_tracking_blocks_tracking-block-element_ts"),t.e("app_components_tracking_blocks_tasklist-block-add-tasklist-element_ts")]).then(t.bind(t,74742))),(0,_.Se)("tasklist-block-title",()=>t.e("app_components_tracking_blocks_tasklist-block-title-element_ts").then(t.bind(t,85385))),(0,_.Se)("tracking-block",()=>Promise.all([t.e("vendors-node_modules_github_mini-throttle_dist_index_js-node_modules_morphdom_dist_morphdom-e-7c534c"),t.e("vendors-node_modules_github_sortablejs_Sortable_js"),t.e("vendors-node_modules_color-convert_index_js"),t.e("app_components_tracking_blocks_tracking-block-element_ts")]).then(t.bind(t,48282))),(0,_.Se)("tracking-block-omnibar",()=>t.e("app_components_tracking_blocks_tracking-block-omnibar-element_ts").then(t.bind(t,11113))),(0,_.Se)("two-factor-fallback-sms-config-toggle",()=>t.e("app_components_users_settings_two-factor-fallback-sms-config-toggle-element_ts").then(t.bind(t,72314))),(0,_.Se)("two-factor-inline-expander",()=>t.e("app_components_users_settings_two-factor-inline-expander-element_ts").then(t.bind(t,92355))),(0,_.Se)("actions-announceable-search-result-summary",()=>t.e("ui_packages_actions-announceable-search-result-summary-element_actions-announceable-search-re-2a462d").then(t.bind(t,65250))),(0,_.Se)("announce-live",()=>t.e("ui_packages_announce-live-element_announce-live-element_ts").then(t.bind(t,1660))),(0,_.Se)("billing-country-and-region-selection",()=>t.e("ui_packages_billing-country-and-region-selection-element_billing-country-and-region-selection-c22966").then(t.bind(t,472))),(0,_.Se)("business-shipping-information",()=>t.e("ui_packages_business-shipping-information-element_business-shipping-information-element_ts").then(t.bind(t,39836))),(0,_.Se)("business-use-billing-information-for-shipping",()=>t.e("ui_packages_business-use-billing-information-for-shipping-element_business-use-billing-inform-95d86e").then(t.bind(t,1896))),(0,_.Se)("change-password",()=>t.e("ui_packages_change-password-element_change-password-element_ts").then(t.bind(t,84960))),(0,_.Se)("codespace-share-dialog",()=>t.e("ui_packages_codespace-share-dialog-element_codespace-share-dialog-element_ts").then(t.bind(t,43112))),(0,_.Se)("cohort-widget",()=>t.e("ui_packages_cohort-widget-element_cohort-widget-element_ts").then(t.bind(t,51420))),(0,_.Se)("cookie-consent-link",()=>t.e("ui_packages_cookie-consent-link-element_cookie-consent-link-element_ts").then(t.bind(t,47288))),(0,_.Se)("copilot-business-settings",()=>t.e("ui_packages_copilot-business-settings-element_copilot-business-settings-element_ts").then(t.bind(t,78140))),(0,_.Se)("copilot-dashboard-entrypoint",()=>Promise.all([t.e("ui_packages_paths_index_ts"),t.e("ui_packages_copilot-dashboard-entrypoint-element_copilot-dashboard-entrypoint-element_ts")]).then(t.bind(t,1432))),(0,_.Se)("copilot-mixed-license-orgs-list",()=>Promise.all([t.e("vendors-node_modules_dompurify_dist_purify_js"),t.e("vendors-node_modules_github_mini-throttle_dist_index_js-node_modules_stacktrace-parser_dist_s-9d98c89"),t.e("ui_packages_failbot_failbot_ts"),t.e("ui_packages_copilot-mixed-license-orgs-list-element_copilot-mixed-license-orgs-list-element_ts")]).then(t.bind(t,63552))),(0,_.Se)("copilot-plan-account-select",()=>t.e("ui_packages_copilot-plan-account-select-element_copilot-plan-account-select-element_ts").then(t.bind(t,15312))),(0,_.Se)("copilot-plan-select-dialog",()=>t.e("ui_packages_copilot-plan-select-dialog-element_copilot-plan-select-dialog-element_ts").then(t.bind(t,14248))),(0,_.Se)("copilot-review-feedback",()=>t.e("ui_packages_copilot-review-feedback-element_copilot-review-feedback-element_ts").then(t.bind(t,45968))),(0,_.Se)("copilot-summarize-banner",()=>Promise.all([t.e("vendors-node_modules_dompurify_dist_purify_js"),t.e("ui_packages_copilot-summarize-banner-element_copilot-summarize-banner-element_ts")]).then(t.bind(t,13044))),(0,_.Se)("copilot-summarize-banner-staffbar-controls",()=>t.e("ui_packages_copilot-summarize-banner-staffbar-controls-element_copilot-summarize-banner-staff-467fc6").then(t.bind(t,22061))),(0,_.Se)("copilot-text-completion",()=>Promise.all([t.e("vendors-node_modules_github_mini-throttle_dist_index_js-node_modules_github_hotkey_dist_index-b25f11"),t.e("ui_packages_copilot-text-completion-element_copilot-text-completion-element_ts")]).then(t.bind(t,91492))),(0,_.Se)("copilot-user-settings",()=>Promise.all([t.e("vendors-node_modules_dompurify_dist_purify_js"),t.e("vendors-node_modules_github_mini-throttle_dist_index_js-node_modules_stacktrace-parser_dist_s-9d98c85"),t.e("ui_packages_failbot_failbot_ts"),t.e("ui_packages_copilot-user-settings-element_copilot-user-settings-element_ts")]).then(t.bind(t,59976))),(0,_.Se)("copy-project",()=>Promise.all([t.e("vendors-node_modules_dompurify_dist_purify_js"),t.e("vendors-node_modules_github_hydro-analytics-client_dist_analytics-client_js-node_modules_gith-f3aee1"),t.e("ui_packages_failbot_failbot_ts"),t.e("node_modules_github_mini-throttle_dist_index_js-node_modules_stacktrace-parser_dist_stack-tra-0c292f")]).then(t.bind(t,48130))),(0,_.Se)("deploy-key-policy-warning",()=>t.e("ui_packages_deploy-key-policy-warning-element_deploy-key-policy-warning-element_ts").then(t.bind(t,98128))),(0,_.Se)("discussion-spotlight-container",()=>t.e("ui_packages_discussion-spotlight-container-element_discussion-spotlight-container-element_ts").then(t.bind(t,27534))),(0,_.Se)("edit-hook-secret",()=>t.e("ui_packages_edit-hook-secret-element_edit-hook-secret-element_ts").then(t.bind(t,58134))),(0,_.Se)("emu-contribution-blocked-hint",()=>t.e("ui_packages_emu-contribution-blocked-hint-element_emu-contribution-blocked-hint-element_ts").then(t.bind(t,28120))),(0,_.Se)("experimental-action-list",()=>Promise.all([t.e("vendors-node_modules_primer_behaviors_dist_esm_index_mjs"),t.e("ui_packages_experimental-action-list-element_experimental-action-list-element_ts")]).then(t.bind(t,14936))),(0,_.Se)("fgp-search",()=>t.e("ui_packages_fgp-search-element_fgp-search-element_ts").then(t.bind(t,74068))),(0,_.Se)("flywheel-return-to-tour",()=>Promise.all([t.e("vendors-node_modules_dompurify_dist_purify_js"),t.e("vendors-node_modules_github_hydro-analytics-client_dist_analytics-client_js-node_modules_gith-f3aee1"),t.e("ui_packages_failbot_failbot_ts"),t.e("node_modules_github_mini-throttle_dist_index_js-node_modules_stacktrace-parser_dist_stack-tra-de1306")]).then(t.bind(t,73880))),(0,_.Se)("fullstory-capture",()=>t.e("ui_packages_fullstory-capture-element_fullstory-capture-element_ts").then(t.bind(t,75130))),(0,_.Se)("ghcc-consent",()=>t.e("ui_packages_ghcc-consent-element_ghcc-consent-element_ts").then(t.bind(t,73291))),(0,_.Se)("inline-security-checkup-notice",()=>t.e("ui_packages_inline-security-checkup-notice-element_inline-security-checkup-notice-element_ts").then(t.bind(t,19766))),(0,_.Se)("input-page-refresh",()=>t.e("ui_packages_input-page-refresh-element_input-page-refresh-element_ts").then(t.bind(t,36688))),(0,_.Se)("integration-agent-form",()=>t.e("ui_packages_integration-agent-form-element_integration-agent-form-element_ts").then(t.bind(t,30582))),(0,_.Se)("issue-create",()=>t.e("ui_packages_issue-create-element_issue-create-element_ts").then(t.bind(t,59240))),(0,_.Se)("jump-to",()=>Promise.all([t.e("vendors-node_modules_primer_behaviors_dist_esm_index_mjs"),t.e("vendors-node_modules_github_selector-observer_dist_index_esm_js"),t.e("vendors-node_modules_delegated-events_dist_index_js-node_modules_github_hotkey_dist_index_js"),t.e("ui_packages_form-utils_form-utils_ts-ui_packages_input-navigation-behavior_input-navigation-b-a97423"),t.e("ui_packages_jump-to-element_jump-to-element_ts")]).then(t.bind(t,18003))),(0,_.Se)("markdown-accessiblity-table",()=>t.e("ui_packages_markdown-accessiblity-table-element_markdown-accessiblity-table-element_ts").then(t.bind(t,8936))),(0,_.Se)("marketplace-security-compliance-trader-self-certification",()=>t.e("ui_packages_marketplace-security-compliance-trader-self-certification-element_marketplace-sec-088d02").then(t.bind(t,93424))),(0,_.Se)("microsoft-analytics",()=>Promise.all([t.e("ui_packages_microsoft-analytics_microsoft-analytics_ts"),t.e("ui_packages_microsoft-analytics-element_microsoft-analytics-element_ts-ui_packages_promise-wi-177eb6")]).then(t.bind(t,31552))),(0,_.Se)("microsoft-analytics-event",()=>Promise.all([t.e("ui_packages_microsoft-analytics_microsoft-analytics_ts"),t.e("ui_packages_microsoft-analytics-event-element_microsoft-analytics-event-element_ts-ui_package-fa8302")]).then(t.bind(t,94984))),(0,_.Se)("org-role-row",()=>t.e("ui_packages_org-role-row-element_org-role-row-element_ts").then(t.bind(t,60824))),(0,_.Se)("query-builder",()=>Promise.all([t.e("vendors-node_modules_dompurify_dist_purify_js"),t.e("vendors-node_modules_github_hydro-analytics-client_dist_analytics-client_js-node_modules_gith-f3aee1"),t.e("ui_packages_failbot_failbot_ts"),t.e("ui_packages_query-builder-element_query-builder-element_ts"),t.e("node_modules_github_mini-throttle_dist_index_js-node_modules_stacktrace-parser_dist_stack-tra-600f89")]).then(t.bind(t,72912))),(0,_.Se)("react-partial-anchor",()=>t.e("ui_packages_react-partial-anchor-element_react-partial-anchor-element_ts").then(t.bind(t,2138))),(0,_.Se)("security-analysis-ghas",()=>t.e("ui_packages_security-analysis-ghas-element_security-analysis-ghas-element_ts").then(t.bind(t,88078))),(0,_.Se)("share-button-form-submit-handler",()=>t.e("ui_packages_share-button-form-submit-handler-element_share-button-form-submit-handler-element_ts").then(t.bind(t,54422))),(0,_.Se)("show-dialog-on-load",()=>t.e("ui_packages_show-dialog-on-load-element_show-dialog-on-load-element_ts").then(t.bind(t,36420))),(0,_.Se)("sidebar-pinned-topics",()=>t.e("ui_packages_sidebar-pinned-topics-element_sidebar-pinned-topics-element_ts").then(t.bind(t,1196))),(0,_.Se)("site-header-logged-in-user-menu",()=>t.e("ui_packages_site-header-logged-in-user-menu-element_site-header-logged-in-user-menu-element_ts").then(t.bind(t,87e3))),(0,_.Se)("stafftools-topics-table",()=>t.e("ui_packages_stafftools-topics-table-element_stafftools-topics-table-element_ts").then(t.bind(t,96504))),(0,_.Se)("task-component",()=>t.e("ui_packages_task-component-element_task-component-element_ts").then(t.bind(t,37394))),(0,_.Se)("team-sync-okta-config-form",()=>t.e("ui_packages_team-sync-okta-config-form-element_team-sync-okta-config-form-element_ts").then(t.bind(t,37398))),(0,_.Se)("topic-feeds-toast-trigger",()=>t.e("ui_packages_topic-feeds-toast-trigger-element_topic-feeds-toast-trigger-element_ts").then(t.bind(t,22668))),(0,_.Se)("updatable-content",()=>Promise.all([t.e("vendors-node_modules_dompurify_dist_purify_js"),t.e("vendors-node_modules_github_selector-observer_dist_index_esm_js"),t.e("vendors-node_modules_github_mini-throttle_dist_index_js-node_modules_morphdom_dist_morphdom-e-7c534c"),t.e("vendors-node_modules_scroll-anchoring_dist_scroll-anchoring_esm_js-node_modules_stacktrace-pa-a71630"),t.e("ui_packages_failbot_failbot_ts"),t.e("ui_packages_updatable-content_updatable-content_ts"),t.e("ui_packages_updatable-content-element_updatable-content-element_ts-node_modules_github_hydro--7774d8")]).then(t.bind(t,59403))),(0,_.Se)("visible-password",()=>t.e("ui_packages_visible-password-element_visible-password-element_ts").then(t.bind(t,24720))),(0,_.Se)("webauthn-get",()=>t.e("ui_packages_webauthn-get-element_webauthn-get-element_ts").then(t.bind(t,1270))),(0,_.Se)("webauthn-subtle",()=>t.e("ui_packages_webauthn-subtle-element_webauthn-subtle-element_ts").then(t.bind(t,63048))),(0,_.Se)("profile-pins",()=>t.e("app_assets_modules_github_profile_profile-pins-element_ts").then(t.bind(t,18639))),(0,_.Se)("emoji-picker",()=>t.e("app_assets_modules_github_emoji-picker-element_ts").then(t.bind(t,92066))),(0,_.Se)("insights-query",()=>Promise.all([t.e("vendors-node_modules_dompurify_dist_purify_js"),t.e("vendors-node_modules_date-fns_format_mjs"),t.e("vendors-node_modules_date-fns_addWeeks_mjs-node_modules_date-fns_addYears_mjs-node_modules_da-827f4f"),t.e("vendors-node_modules_chart_js_dist_chart_esm_js"),t.e("vendors-node_modules_chartjs-adapter-date-fns_dist_chartjs-adapter-date-fns_esm_js"),t.e("vendors-node_modules_github_mini-throttle_dist_index_js-node_modules_ml-regression-simple-lin-83e48d"),t.e("ui_packages_insights-charts_src_index_ts"),t.e("app_assets_modules_github_insights_insights-query_ts")]).then(t.bind(t,95256))),(0,_.Se)("remote-clipboard-copy",()=>Promise.all([t.e("vendors-node_modules_dompurify_dist_purify_js"),t.e("vendors-node_modules_github_selector-observer_dist_index_esm_js"),t.e("vendors-node_modules_github_mini-throttle_dist_index_js-node_modules_delegated-events_dist_in-8783fc6"),t.e("ui_packages_failbot_failbot_ts"),t.e("app_assets_modules_github_behaviors_remote-clipboard-copy_ts")]).then(t.bind(t,85843))),(0,_.Se)("series-table",()=>Promise.all([t.e("vendors-node_modules_dompurify_dist_purify_js"),t.e("vendors-node_modules_date-fns_format_mjs"),t.e("vendors-node_modules_date-fns_addWeeks_mjs-node_modules_date-fns_addYears_mjs-node_modules_da-827f4f"),t.e("vendors-node_modules_chart_js_dist_chart_esm_js"),t.e("vendors-node_modules_chartjs-adapter-date-fns_dist_chartjs-adapter-date-fns_esm_js"),t.e("vendors-node_modules_ml-regression-simple-linear_src_index_js-node_modules_kurkle_color_dist_-79bdd45"),t.e("ui_packages_insights-charts_src_index_ts"),t.e("app_assets_modules_github_insights_series-table_ts")]).then(t.bind(t,1596))),(0,_.Se)("line-chart",()=>Promise.all([t.e("vendors-node_modules_dompurify_dist_purify_js"),t.e("vendors-node_modules_date-fns_format_mjs"),t.e("vendors-node_modules_date-fns_addWeeks_mjs-node_modules_date-fns_addYears_mjs-node_modules_da-827f4f"),t.e("vendors-node_modules_chart_js_dist_chart_esm_js"),t.e("vendors-node_modules_chartjs-adapter-date-fns_dist_chartjs-adapter-date-fns_esm_js"),t.e("vendors-node_modules_ml-regression-simple-linear_src_index_js-node_modules_kurkle_color_dist_-79bdd44"),t.e("ui_packages_insights-charts_src_index_ts"),t.e("app_assets_modules_github_insights_line-chart_ts")]).then(t.bind(t,84767))),(0,_.Se)("bar-chart",()=>Promise.all([t.e("vendors-node_modules_dompurify_dist_purify_js"),t.e("vendors-node_modules_date-fns_format_mjs"),t.e("vendors-node_modules_date-fns_addWeeks_mjs-node_modules_date-fns_addYears_mjs-node_modules_da-827f4f"),t.e("vendors-node_modules_chart_js_dist_chart_esm_js"),t.e("vendors-node_modules_chartjs-adapter-date-fns_dist_chartjs-adapter-date-fns_esm_js"),t.e("vendors-node_modules_ml-regression-simple-linear_src_index_js-node_modules_kurkle_color_dist_-79bdd43"),t.e("ui_packages_insights-charts_src_index_ts"),t.e("app_assets_modules_github_insights_bar-chart_ts")]).then(t.bind(t,45046))),(0,_.Se)("column-chart",()=>Promise.all([t.e("vendors-node_modules_dompurify_dist_purify_js"),t.e("vendors-node_modules_date-fns_format_mjs"),t.e("vendors-node_modules_date-fns_addWeeks_mjs-node_modules_date-fns_addYears_mjs-node_modules_da-827f4f"),t.e("vendors-node_modules_chart_js_dist_chart_esm_js"),t.e("vendors-node_modules_chartjs-adapter-date-fns_dist_chartjs-adapter-date-fns_esm_js"),t.e("vendors-node_modules_ml-regression-simple-linear_src_index_js-node_modules_kurkle_color_dist_-79bdd41"),t.e("ui_packages_insights-charts_src_index_ts"),t.e("app_assets_modules_github_insights_column-chart_ts")]).then(t.bind(t,6447))),(0,_.Se)("stacked-area-chart",()=>Promise.all([t.e("vendors-node_modules_dompurify_dist_purify_js"),t.e("vendors-node_modules_date-fns_format_mjs"),t.e("vendors-node_modules_date-fns_addWeeks_mjs-node_modules_date-fns_addYears_mjs-node_modules_da-827f4f"),t.e("vendors-node_modules_chart_js_dist_chart_esm_js"),t.e("vendors-node_modules_chartjs-adapter-date-fns_dist_chartjs-adapter-date-fns_esm_js"),t.e("vendors-node_modules_ml-regression-simple-linear_src_index_js-node_modules_kurkle_color_dist_-79bdd42"),t.e("ui_packages_insights-charts_src_index_ts"),t.e("app_assets_modules_github_insights_stacked-area-chart_ts")]).then(t.bind(t,74332))),(0,_.Se)("hero-stat",()=>Promise.all([t.e("vendors-node_modules_dompurify_dist_purify_js"),t.e("vendors-node_modules_date-fns_format_mjs"),t.e("vendors-node_modules_date-fns_addWeeks_mjs-node_modules_date-fns_addYears_mjs-node_modules_da-827f4f"),t.e("vendors-node_modules_chart_js_dist_chart_esm_js"),t.e("vendors-node_modules_chartjs-adapter-date-fns_dist_chartjs-adapter-date-fns_esm_js"),t.e("vendors-node_modules_ml-regression-simple-linear_src_index_js-node_modules_kurkle_color_dist_-79bdd40"),t.e("ui_packages_insights-charts_src_index_ts"),t.e("app_assets_modules_github_insights_hero-stat_ts")]).then(t.bind(t,48963))),(0,_.Se)("pulse-authors-graph",()=>Promise.all([t.e("vendors-node_modules_dompurify_dist_purify_js"),t.e("vendors-node_modules_github_mini-throttle_dist_index_js-node_modules_d3-array_src_max_js-node-dcea4e"),t.e("ui_packages_failbot_failbot_ts"),t.e("app_assets_modules_github_d3_tip_ts-ui_packages_fetch-utils_fetch-utils_ts-node_modules_d3-sc-1030c7"),t.e("app_assets_modules_github_graphs_pulse-authors-graph-element_ts")]).then(t.bind(t,88742))),(0,_.Se)("community-contributions-graph",()=>Promise.all([t.e("vendors-node_modules_dompurify_dist_purify_js"),t.e("vendors-node_modules_github_mini-throttle_dist_index_js-node_modules_d3-array_src_max_js-node-dcea4e"),t.e("vendors-node_modules_d3-axis_src_axis_js-node_modules_d3-shape_src_array_js-node_modules_d3-s-d668ee"),t.e("vendors-node_modules_d3-shape_src_line_js-node_modules_d3-scale_src_time_js"),t.e("ui_packages_failbot_failbot_ts"),t.e("app_assets_modules_github_graphs_community-contributions_ts")]).then(t.bind(t,31913))),(0,_.Se)("discussion-page-views-graph",()=>Promise.all([t.e("vendors-node_modules_dompurify_dist_purify_js"),t.e("vendors-node_modules_github_mini-throttle_dist_index_js-node_modules_d3-array_src_max_js-node-dcea4e"),t.e("vendors-node_modules_d3-axis_src_axis_js-node_modules_d3-shape_src_array_js-node_modules_d3-s-d668ee"),t.e("ui_packages_failbot_failbot_ts"),t.e("app_assets_modules_github_d3_tip_ts-ui_packages_fetch-utils_fetch-utils_ts-node_modules_d3-sc-1030c7"),t.e("app_assets_modules_github_graphs_discussion-page-views_ts")]).then(t.bind(t,45030))),(0,_.Se)("discussions-daily-contributors",()=>Promise.all([t.e("vendors-node_modules_dompurify_dist_purify_js"),t.e("vendors-node_modules_github_mini-throttle_dist_index_js-node_modules_d3-array_src_max_js-node-dcea4e"),t.e("vendors-node_modules_d3-axis_src_axis_js-node_modules_d3-shape_src_array_js-node_modules_d3-s-d668ee"),t.e("vendors-node_modules_d3-shape_src_line_js-node_modules_d3-scale_src_time_js"),t.e("ui_packages_failbot_failbot_ts"),t.e("app_assets_modules_github_graphs_discussions-daily-contributors_ts")]).then(t.bind(t,68042))),(0,_.Se)("discussions-new-contributors",()=>Promise.all([t.e("vendors-node_modules_dompurify_dist_purify_js"),t.e("vendors-node_modules_github_mini-throttle_dist_index_js-node_modules_d3-array_src_max_js-node-dcea4e"),t.e("vendors-node_modules_d3-axis_src_axis_js-node_modules_d3-shape_src_array_js-node_modules_d3-s-d668ee"),t.e("vendors-node_modules_d3-shape_src_line_js-node_modules_d3-scale_src_time_js"),t.e("ui_packages_failbot_failbot_ts"),t.e("app_assets_modules_github_graphs_discussions-new-contributors_ts")]).then(t.bind(t,15511))),(0,_.Se)("code-frequency-graph",()=>Promise.all([t.e("vendors-node_modules_dompurify_dist_purify_js"),t.e("vendors-node_modules_github_mini-throttle_dist_index_js-node_modules_d3-array_src_max_js-node-dcea4e"),t.e("vendors-node_modules_d3-axis_src_axis_js-node_modules_d3-shape_src_array_js-node_modules_d3-s-d668ee"),t.e("vendors-node_modules_d3-shape_src_line_js-node_modules_d3-scale_src_time_js"),t.e("ui_packages_failbot_failbot_ts"),t.e("app_assets_modules_github_graphs_code-frequency-graph-element_ts")]).then(t.bind(t,45974))),(0,_.Se)("contributors-graph",()=>Promise.all([t.e("vendors-node_modules_dompurify_dist_purify_js"),t.e("vendors-node_modules_github_mini-throttle_dist_index_js-node_modules_d3-array_src_max_js-node-dcea4e"),t.e("vendors-node_modules_d3-axis_src_axis_js-node_modules_d3-shape_src_array_js-node_modules_d3-s-d668ee"),t.e("vendors-node_modules_d3-shape_src_line_js-node_modules_d3-scale_src_time_js"),t.e("vendors-node_modules_d3-transition_src_index_js"),t.e("vendors-node_modules_d3-array_src_descending_js-node_modules_d3-collection_src_index_js-node_-12e866"),t.e("ui_packages_failbot_failbot_ts"),t.e("app_assets_modules_github_graphs_contributors-graph-element_ts")]).then(t.bind(t,65166))),(0,_.Se)("traffic-clones-graph",()=>Promise.all([t.e("vendors-node_modules_dompurify_dist_purify_js"),t.e("vendors-node_modules_github_selector-observer_dist_index_esm_js"),t.e("vendors-node_modules_github_mini-throttle_dist_index_js-node_modules_d3-array_src_max_js-node-dcea4e"),t.e("vendors-node_modules_d3-axis_src_axis_js-node_modules_d3-shape_src_array_js-node_modules_d3-s-d668ee"),t.e("vendors-node_modules_d3-shape_src_line_js-node_modules_d3-scale_src_time_js"),t.e("ui_packages_failbot_failbot_ts"),t.e("app_assets_modules_github_d3_tip_ts-app_assets_modules_github_graphs_traffic_ts-ui_packages_f-37800b"),t.e("app_assets_modules_github_graphs_traffic-clones-graph-element_ts")]).then(t.bind(t,27938))),(0,_.Se)("traffic-visitors-graph",()=>Promise.all([t.e("vendors-node_modules_dompurify_dist_purify_js"),t.e("vendors-node_modules_github_selector-observer_dist_index_esm_js"),t.e("vendors-node_modules_github_mini-throttle_dist_index_js-node_modules_d3-array_src_max_js-node-dcea4e"),t.e("vendors-node_modules_d3-axis_src_axis_js-node_modules_d3-shape_src_array_js-node_modules_d3-s-d668ee"),t.e("vendors-node_modules_d3-shape_src_line_js-node_modules_d3-scale_src_time_js"),t.e("ui_packages_failbot_failbot_ts"),t.e("app_assets_modules_github_d3_tip_ts-app_assets_modules_github_graphs_traffic_ts-ui_packages_f-37800b"),t.e("app_assets_modules_github_graphs_traffic-visitors-graph-element_ts")]).then(t.bind(t,25151))),(0,_.Se)("commit-activity-graph",()=>Promise.all([t.e("vendors-node_modules_dompurify_dist_purify_js"),t.e("vendors-node_modules_github_mini-throttle_dist_index_js-node_modules_d3-array_src_max_js-node-dcea4e"),t.e("vendors-node_modules_d3-axis_src_axis_js-node_modules_d3-shape_src_array_js-node_modules_d3-s-d668ee"),t.e("vendors-node_modules_d3-transition_src_index_js"),t.e("ui_packages_failbot_failbot_ts"),t.e("app_assets_modules_github_d3_tip_ts-ui_packages_fetch-utils_fetch-utils_ts-node_modules_d3-sc-1030c7"),t.e("app_assets_modules_github_graphs_commit-activity-graph-element_ts")]).then(t.bind(t,22778))),(0,_.Se)("marketplace-insights-graph",()=>Promise.all([t.e("vendors-node_modules_dompurify_dist_purify_js"),t.e("vendors-node_modules_github_mini-throttle_dist_index_js-node_modules_d3-array_src_max_js-node-dcea4e"),t.e("vendors-node_modules_d3-axis_src_axis_js-node_modules_d3-shape_src_array_js-node_modules_d3-s-d668ee"),t.e("vendors-node_modules_d3-shape_src_line_js-node_modules_d3-scale_src_time_js"),t.e("ui_packages_failbot_failbot_ts"),t.e("app_assets_modules_github_d3_tip_ts-app_assets_modules_github_graphs_traffic_ts-ui_packages_f-37800b"),t.e("app_assets_modules_github_graphs_marketplace-insights-graph-element_ts")]).then(t.bind(t,28111))),(0,_.Se)("user-sessions-map",()=>Promise.all([t.e("vendors-node_modules_dompurify_dist_purify_js"),t.e("vendors-node_modules_github_mini-throttle_dist_index_js-node_modules_d3-array_src_max_js-node-dcea4e"),t.e("vendors-node_modules_d3-transition_src_index_js"),t.e("vendors-node_modules_d3-ease_src_circle_js-node_modules_d3-geo_src_centroid_js-node_modules_d-2d6b7e"),t.e("ui_packages_failbot_failbot_ts"),t.e("app_assets_modules_github_settings_user-sessions-map-element_ts")]).then(t.bind(t,29916))),(0,_.Se)("reload-after-polling",()=>Promise.all([t.e("vendors-node_modules_dompurify_dist_purify_js"),t.e("vendors-node_modules_github_mini-throttle_dist_index_js-node_modules_stacktrace-parser_dist_s-9d98c81"),t.e("ui_packages_failbot_failbot_ts"),t.e("app_assets_modules_github_behaviors_reload-after-polling-element_ts")]).then(t.bind(t,60609))),(0,_.Se)("query-builder",()=>Promise.all([t.e("vendors-node_modules_dompurify_dist_purify_js"),t.e("vendors-node_modules_github_hydro-analytics-client_dist_analytics-client_js-node_modules_gith-f3aee1"),t.e("ui_packages_failbot_failbot_ts"),t.e("ui_packages_query-builder-element_query-builder-element_ts"),t.e("node_modules_github_mini-throttle_dist_index_js-node_modules_stacktrace-parser_dist_stack-tra-600f89")]).then(t.bind(t,72912))),(0,_.Se)("package-dependencies-security-graph",()=>Promise.all([t.e("vendors-node_modules_dompurify_dist_purify_js"),t.e("vendors-node_modules_github_mini-throttle_dist_index_js-node_modules_d3-array_src_max_js-node-dcea4e"),t.e("ui_packages_failbot_failbot_ts"),t.e("app_assets_modules_github_d3_tip_ts-ui_packages_fetch-utils_fetch-utils_ts-node_modules_d3-sc-1030c7"),t.e("app_assets_modules_github_graphs_package-dependencies-security-graph-element_ts")]).then(t.bind(t,53113))),(0,_.Se)(".js-sub-dependencies",()=>Promise.all([t.e("vendors-node_modules_dompurify_dist_purify_js"),t.e("vendors-node_modules_github_mini-throttle_dist_index_js-node_modules_delegated-events_dist_in-8783fc5"),t.e("ui_packages_failbot_failbot_ts"),t.e("app_assets_modules_github_dependencies_ts")]).then(t.bind(t,21829))),(0,_.Se)("network-graph",()=>Promise.all([t.e("vendors-node_modules_dompurify_dist_purify_js"),t.e("vendors-node_modules_primer_behaviors_dist_esm_index_mjs"),t.e("vendors-node_modules_github_mini-throttle_dist_index_js-node_modules_stacktrace-parser_dist_s-d5a4ac"),t.e("ui_packages_failbot_failbot_ts"),t.e("app_assets_modules_github_graphs_network-graph-element_ts")]).then(t.bind(t,97500))),(0,_.Se)("inline-machine-translation",()=>t.e("app_assets_modules_github_localization_inline-machine-translation-element_ts").then(t.bind(t,6980))),(0,_.Se)("custom-patterns-filter",()=>Promise.all([t.e("vendors-node_modules_dompurify_dist_purify_js"),t.e("vendors-node_modules_primer_behaviors_dist_esm_index_mjs"),t.e("vendors-node_modules_github_selector-observer_dist_index_esm_js"),t.e("vendors-node_modules_lit-html_lit-html_js"),t.e("vendors-node_modules_delegated-events_dist_index_js-node_modules_github_hotkey_dist_index_js"),t.e("ui_packages_form-utils_form-utils_ts-ui_packages_input-navigation-behavior_input-navigation-b-a97423"),t.e("app_assets_modules_github_filter-input_ts"),t.e("node_modules_lit-html_directives_until_js-app_assets_modules_github_secret-scanning_custom-pa-72f581")]).then(t.bind(t,76427)))},39595:(e,s,t)=>{let _;t.d(s,{CF:()=>h,p_:()=>k,FB:()=>m,Se:()=>z,aC:()=>y,zV:()=>j});let n=new WeakSet,o=new WeakMap;function i(e=document){if(o.has(e))return o.get(e);let s=!1,t=new MutationObserver(e=>{for(let s of e)if("attributes"===s.type&&s.target instanceof Element)r(s.target);else if("childList"===s.type&&s.addedNodes.length)for(let e of s.addedNodes)e instanceof Element&&d(e)});t.observe(e,{childList:!0,subtree:!0,attributeFilter:["data-action"]});let _={get closed(){return s},unsubscribe(){s=!0,o.delete(e),t.disconnect()}};return o.set(e,_),_}function d(e){for(let s of e.querySelectorAll("[data-action]"))r(s);e instanceof Element&&e.hasAttribute("data-action")&&r(e)}function a(e){let s=e.currentTarget;for(let t of l(s))if(e.type===t.type){let _=s.closest(t.tag);n.has(_)&&"function"==typeof _[t.method]&&_[t.method](e);let o=s.getRootNode();if(o instanceof ShadowRoot&&n.has(o.host)&&o.host.matches(t.tag)){let s=o.host;"function"==typeof s[t.method]&&s[t.method](e)}}}function*l(e){for(let s of(e.getAttribute("data-action")||"").trim().split(/\s+/)){let e=s.lastIndexOf(":"),t=Math.max(0,s.lastIndexOf("#"))||s.length;yield{type:s.slice(0,e),tag:s.slice(e+1,t),method:s.slice(t+1)||"handleEvent"}}}function r(e){for(let s of l(e))e.addEventListener(s.type,a)}function m(e,s){let t=e.tagName.toLowerCase();if(e.shadowRoot){for(let _ of e.shadowRoot.querySelectorAll(`[data-target~="${t}.${s}"]`))if(!_.closest(t))return _}for(let _ of e.querySelectorAll(`[data-target~="${t}.${s}"]`))if(_.closest(t)===e)return _}let c=e=>String("symbol"==typeof e?e.description:e).replace(/([A-Z]($|[a-z]))/g,"-$1").replace(/--/g,"-").replace(/^-|-$/,"").toLowerCase(),p=(e,s="property")=>{let t=c(e);if(!t.includes("-"))throw new DOMException(`${s}: ${String(e)} is not a valid ${s} name`,"SyntaxError");return t},u="attr";function h(e,s){v(e,u).add(s)}let b=new WeakSet;function g(e,s){if(b.has(e))return;b.add(e);let t=Object.getPrototypeOf(e),_=t?.constructor?.attrPrefix??"data-";for(let n of(s||(s=v(t,u)),s)){let s=e[n],t=p(`${_}${n}`),o={configurable:!0,get(){return this.getAttribute(t)||""},set(e){this.setAttribute(t,e||"")}};"number"==typeof s?o={configurable:!0,get(){return Number(this.getAttribute(t)||0)},set(e){this.setAttribute(t,e)}}:"boolean"==typeof s&&(o={configurable:!0,get(){return this.hasAttribute(t)},set(e){this.toggleAttribute(t,e)}}),Object.defineProperty(e,n,o),n in e&&!e.hasAttribute(t)&&o.set.call(e,s)}}let f=Symbol.for("catalyst");let CatalystDelegate=class CatalystDelegate{constructor(e){let s=this,t=e.prototype.connectedCallback;e.prototype.connectedCallback=function(){s.connectedCallback(this,t)};let _=e.prototype.disconnectedCallback;e.prototype.disconnectedCallback=function(){s.disconnectedCallback(this,_)};let n=e.prototype.attributeChangedCallback;e.prototype.attributeChangedCallback=function(e,t,_){s.attributeChangedCallback(this,e,t,_,n)};let o=e.observedAttributes||[];Object.defineProperty(e,"observedAttributes",{configurable:!0,get(){return s.observedAttributes(this,o)},set(e){o=e}}),function(e){let s=e.observedAttributes||[],t=e.attrPrefix??"data-",_=e=>p(`${t}${e}`);Object.defineProperty(e,"observedAttributes",{configurable:!0,get:()=>[...v(e.prototype,u)].map(_).concat(s),set(e){s=e}})}(e),function(e){let s=c(e.name).replace(/-element$/,"");try{window.customElements.define(s,e),window[e.name]=customElements.get(s)}catch(e){if(!(e instanceof DOMException&&"NotSupportedError"===e.name))throw e}}(e)}observedAttributes(e,s){return s}connectedCallback(e,s){var t,_;e.toggleAttribute("data-catalyst",!0),customElements.upgrade(e),!function(e){for(let s of e.querySelectorAll("template[data-shadowroot]"))s.parentElement===e&&e.attachShadow({mode:"closed"===s.getAttribute("data-shadowroot")?"closed":"open"}).append(s.content.cloneNode(!0))}(e),g(e),n.add(e),e.shadowRoot&&(d(_=e.shadowRoot),i(_)),d(e),i(e.ownerDocument),s?.call(e),e.shadowRoot&&(d(t=e.shadowRoot),i(t))}disconnectedCallback(e,s){s?.call(e)}attributeChangedCallback(e,s,t,_,n){g(e),"data-catalyst"!==s&&n&&n.call(e,s,t,_)}};function v(e,s){if(!Object.prototype.hasOwnProperty.call(e,f)){let s=e[f],t=e[f]=new Map;if(s)for(let[e,_]of s)t.set(e,new Set(_))}let t=e[f];return t.has(s)||t.set(s,new Set),t.get(s)}function y(e,s){v(e,"target").add(s),Object.defineProperty(e,s,{configurable:!0,get(){return m(this,s)}})}function j(e,s){v(e,"targets").add(s),Object.defineProperty(e,s,{configurable:!0,get(){return function(e,s){let t=e.tagName.toLowerCase(),_=[];if(e.shadowRoot)for(let n of e.shadowRoot.querySelectorAll(`[data-targets~="${t}.${s}"]`))n.closest(t)||_.push(n);for(let n of e.querySelectorAll(`[data-targets~="${t}.${s}"]`))n.closest(t)===e&&_.push(n);return _}(this,s)}})}function k(e){new CatalystDelegate(e)}let S=new Map,x=new Promise(e=>{"loading"!==document.readyState?e():document.addEventListener("readystatechange",()=>e(),{once:!0})}),w=new Promise(e=>{let s=new AbortController;s.signal.addEventListener("abort",()=>e());let t={once:!0,passive:!0,signal:s.signal},_=()=>s.abort();document.addEventListener("mousedown",_,t),document.addEventListener("touchstart",_,t),document.addEventListener("keydown",_,t),document.addEventListener("pointerdown",_,t)}),P={ready:()=>x,firstInteraction:()=>w,visible:e=>new Promise(s=>{let t=new IntersectionObserver(e=>{for(let _ of e)if(_.isIntersecting){s(),t.disconnect();return}},{rootMargin:"0px 0px 256px 0px",threshold:.01});for(let s of document.querySelectorAll(e))t.observe(s)})},q=new WeakMap;function A(e){cancelAnimationFrame(q.get(e)||0),q.set(e,requestAnimationFrame(()=>{for(let s of S.keys()){let t=e.matches(s)?e:e.querySelector(s);if(customElements.get(s)||t){let _=t?.getAttribute("data-load-on")||"ready",n=_ in P?P[_]:P.ready;for(let e of S.get(s)||[])n(s).then(e);S.delete(s),q.delete(e)}}}))}function z(e,s){S.has(e)||S.set(e,new Set),S.get(e).add(s),A(document.body),_||(_=new MutationObserver(e=>{if(S.size)for(let s of e)for(let e of s.addedNodes)e instanceof Element&&A(e)})).observe(document,{subtree:!0,childList:!0})}}},e=>{e(e.s=91032)}]); +//# sourceMappingURL=element-registry-daa88280e9ff.js.map \ No newline at end of file diff --git a/Shargil_VoiceToPlaylist_ 4.5 hours project - Voice Emotion Recognizer that open up a Spotify playlist according to you mood._files/environment-cd35650c2e9c.js.download b/Shargil_VoiceToPlaylist_ 4.5 hours project - Voice Emotion Recognizer that open up a Spotify playlist according to you mood._files/environment-cd35650c2e9c.js.download new file mode 100644 index 0000000000000000000000000000000000000000..5d920873908f3f266c0ea77efee446ca0d288b28 --- /dev/null +++ b/Shargil_VoiceToPlaylist_ 4.5 hours project - Voice Emotion Recognizer that open up a Spotify playlist according to you mood._files/environment-cd35650c2e9c.js.download @@ -0,0 +1,6 @@ +(globalThis.webpackChunk=globalThis.webpackChunk||[]).push([["environment"],{44045:(e,t,r)=>{"use strict";var o=r(23780),i=r(97156);i.cg?.addEventListener("error",e=>{e.error&&o.N7(e.error)}),i.cg?.addEventListener("unhandledrejection",async e=>{if(e.promise)try{await e.promise}catch(e){o.N7(e)}}),i.cg?.location.hash==="#b00m"&&setTimeout(()=>{throw Error("b00m")}),r(31196),r(59136),r(48359),r(6440),r(5761);var n=r(97564),s=r(25339);r(45568),(0,s.Bb)(),"undefined"!=typeof document&&(()=>{if((0,n.G7)("remove_child_patch")&&"function"==typeof Node&&Node.prototype){let e=Node.prototype.removeChild;Node.prototype.removeChild=function(t){try{return e.apply(this,[t])}catch(e){if(e instanceof Error&&e.stack?.includes("react-lib"))return t;throw e}}}})()},45568:()=>{let e=window.fetch,t=(t,r)=>{if(t instanceof Request){let r={...Object.fromEntries(t.headers.entries()),"X-Requested-With":"XMLHttpRequest"};return e(new Request(t,{headers:r}))}{let o={...r?.headers??{},"X-Requested-With":"XMLHttpRequest"};return e(new Request(t,{...r,headers:o}))}};document.documentElement.hasAttribute("override-fetch")&&window.fetch!==t&&(window.fetch=t)},51848:(e,t,r)=>{"use strict";let o;r.d(t,{BI:()=>y,Ti:()=>f,lA:()=>p});var i=r(70837),n=r(18679),s=r(74572),a=r(51528);let{getItem:c}=(0,s.A)("localStorage"),l="dimension_",u=["utm_source","utm_medium","utm_campaign","utm_term","utm_content","scid"];try{let e=(0,i.O)("octolytics");delete e.baseContext,o=new n.s(e)}catch{}function d(e){let t=(0,i.O)("octolytics").baseContext||{};if(t)for(let[e,r]of(delete t.app_id,delete t.event_url,delete t.host,Object.entries(t)))e.startsWith(l)&&(t[e.replace(l,"")]=r,delete t[e]);let r=document.querySelector("meta[name=visitor-payload]");for(let[e,o]of(r&&Object.assign(t,JSON.parse(atob(r.content))),new URLSearchParams(window.location.search)))u.includes(e.toLowerCase())&&(t[e]=o);return t.staff=(0,a.X)().toString(),Object.assign(t,e)}function p(e){o?.sendPageView(d(e))}function y(e,t={}){let r=document.head?.querySelector('meta[name="current-catalog-service"]')?.content,i=r?{service:r}:{};for(let[e,r]of Object.entries(t))null!=r&&(i[e]=`${r}`);o&&(d(i),o.sendEvent(e||"unknown",d(i)))}function f(e){return Object.fromEntries(Object.entries(e).map(([e,t])=>[e,JSON.stringify(t)]))}},5761:(e,t,r)=>{"use strict";r.d(t,{w:()=>s});var o=r(6440),i=r(2240);let n="default",s=o.wA.createPolicy(n,{createHTML:e=>i.b.apply({policy:()=>e,policyName:n,fallback:e,sanitize:!0,fallbackOnError:!0}),createScript:e=>i.b.apply({policy:()=>e,policyName:n,fallback:e,sanitize:!1,fallbackOnError:!0}),createScriptURL:e=>i.b.apply({policy:()=>e,policyName:n,fallback:e,sanitize:!1,fallbackOnError:!0})})},2240:(e,t,r)=>{"use strict";r.d(t,{b:()=>l,r:()=>TrustedTypesPolicyError});var o=r(97564),i=r(51528),n=r(23780),s=r(42838),a=r.n(s),c=r(51848);let TrustedTypesPolicyError=class TrustedTypesPolicyError extends Error{constructor(...e){super(...e),this.name="TrustedTypesPolicyError"}};let l={apply:function({policy:e,policyName:t,fallback:r,fallbackOnError:s=!1,sanitize:l,silenceErrorReporting:u=!1}){try{if((0,o.G7)("BYPASS_TRUSTED_TYPES_POLICY_RULES"))return r;(0,i.i)({incrementKey:"TRUSTED_TYPES_POLICY_CALLED",trustedTypesPolicyName:t},!1,.1);let n=e();return l&&new Promise(e=>{let r=window.performance.now(),o=a().sanitize(n,{FORBID_ATTR:[]}),i=window.performance.now();if(n.length!==o.length){let s=Error("Trusted Types policy output sanitized"),a=s.stack?.slice(0,1e3),l=n.slice(0,250);(0,c.BI)("trusted_types_policy.sanitize",{policyName:t,output:l,stack:a,outputLength:n.length,sanitizedLength:o.length,executionTime:i-r}),e(n)}}),n}catch(e){if(e instanceof TrustedTypesPolicyError||(u||(0,n.N7)(e),(0,i.i)({incrementKey:"TRUSTED_TYPES_POLICY_ERROR",trustedTypesPolicyName:t}),!s))throw e}return r}}},6440:(e,t,r)=>{"use strict";r.d(t,{wA:()=>u});var o,i=r(97156),n=r(51528);function s(e){return()=>{throw TypeError(`The policy does not implement the function ${e}`)}}let a={createHTML:s("createHTML"),createScript:s("createScript"),createScriptURL:s("createScriptURL")},c=i.X3?new Map:(o=globalThis).__TRUSTED_TYPE_POLICIES__??(o.__TRUSTED_TYPE_POLICIES__=new Map),l=globalThis.trustedTypes??{createPolicy:(e,t)=>({name:e,...a,...t})},u={createPolicy:(e,t)=>{if(c.has(e))return(0,n.i)({incrementKey:"TRUSTED_TYPES_POLICY_INITIALIZED_TWICE"}),c.get(e);{let r=Object.freeze(l.createPolicy(e,t));return c.set(e,r),r}}},d=!1;i.XC?.addEventListener("securitypolicyviolation",e=>{"require-trusted-types-for"!==e.violatedDirective||d||(console.warn(`Hi fellow Hubber! + You're probably seeing a Report Only Trusted Types error near this message. This is intended behaviour, staff-only, + does not impact application control flow, and is used solely for statistic collection. Unfortunately we + can't gather these statistics without adding the above warnings to your console. Sorry about that! + Feel free to drop by #prodsec-engineering if you have any additional questions about Trusted Types or CSP.`),d=!0)})}},e=>{var t=t=>e(e.s=t);e.O(0,["vendors-node_modules_dompurify_dist_purify_js","vendors-node_modules_oddbird_popover-polyfill_dist_popover_js","vendors-node_modules_github_arianotify-polyfill_ariaNotify-polyfill_js-node_modules_github_mi-247092","ui_packages_failbot_failbot_ts"],()=>t(44045)),e.O()}]); +//# sourceMappingURL=environment-87b2e6055329.js.map \ No newline at end of file diff --git a/Shargil_VoiceToPlaylist_ 4.5 hours project - Voice Emotion Recognizer that open up a Spotify playlist according to you mood._files/github-6110438c1619.css b/Shargil_VoiceToPlaylist_ 4.5 hours project - Voice Emotion Recognizer that open up a Spotify playlist according to you mood._files/github-6110438c1619.css new file mode 100644 index 0000000000000000000000000000000000000000..4c969704adb7cd6c2e8617befa60bbad846c05d4 --- /dev/null +++ b/Shargil_VoiceToPlaylist_ 4.5 hours project - Voice Emotion Recognizer that open up a Spotify playlist according to you mood._files/github-6110438c1619.css @@ -0,0 +1,4 @@ +.min-height-full{min-height:100vh !important}.hanging-icon-list{list-style-type:none}.hanging-icon-list li{padding-left:var(--base-size-24);margin:var(--base-size-8) 0;font-size:14px}.hanging-icon-list .octicon{float:left;margin-top:var(--base-size-4);margin-left:calc(var(--base-size-24)*-1);color:var(--fgColor-muted)}.hanging-icon-list .octicon-check{color:var(--fgColor-success)}.hanging-icon-list .octicon-x{color:var(--fgColor-danger)}.integrations-install-target .select-menu{vertical-align:middle}.integrations-install-target input[type=radio]{margin-right:var(--base-size-8)}.integrations-install-target .flash{background-color:transparent}.integrations-install-target .flash-error{background-color:transparent;border:0}.integrations-install-target .octicon-lock,.integrations-install-target .octicon-repo,.integrations-install-target .octicon-repo-forked{margin-right:var(--base-size-4)}.integrations-install-target .octicon-lock{color:var(--fgColor-attention)}.integrations-install-target .private{background-color:#fff9ea}.integrations-install-target [aria-selected=true].private,.integrations-install-target .navigation-focus.private{background-color:#4078c0}.integrations-install-target [aria-selected=true].octicon-lock,.integrations-install-target .navigation-focus .octicon-lock{color:inherit}.integrations-setup-note{margin:var(--base-size-8) 0}.listgroup-item{line-height:inherit}.listgroup-item.disabled{background-color:var(--bgColor-muted)}.listgroup-item.disabled .listgroup-item-title{color:var(--fgColor-default)}.link-small{color:var(--fgColor-muted);transition:color 500ms ease}.sub-permissions-error{max-width:unset !important}.has-removed-contents{display:none}.org-login{margin-top:calc(var(--base-size-32)*-1);margin-bottom:var(--base-size-32)}.org-login img{width:450px;padding:1px;margin:var(--base-size-8) calc(var(--base-size-24)*-1);border:var(--borderWidth-thin) solid var(--borderColor-default)}.member-list-item .member-username{display:inline}.member-list-item .member-link{display:inline}.actor-and-action{font-weight:var(--base-text-weight-semibold, 600)}.vertical-separator{margin-right:var(--base-size-8);margin-left:var(--base-size-4);border-left:var(--borderWidth-thin) solid var(--borderColor-default)}.audit-log-search .audit-search-form{margin-bottom:var(--base-size-8)}.audit-log-search .audit-results-actions{margin:var(--base-size-16) 0}.audit-log-search .audit-search-clear{margin-bottom:0}.entry-details{display:none;max-width:60%;margin-top:var(--base-size-8)}.entry-details .entry-details-th,.entry-details .entry-details-td{max-width:425px;padding-right:var(--base-size-8);overflow:hidden;text-align:left;text-overflow:ellipsis;white-space:nowrap}.entry-details .entry-details-th:hover,.entry-details .entry-details-td:hover{word-wrap:break-word;white-space:normal}.entry-details .entry-details-tr:hover .entry-details-th,.entry-details .entry-details-tr:hover .entry-details-td{background:var(--borderColor-muted)}@media screen and (max-width: 600px){.entry-details .entry-details-table{display:block;width:100%;border-collapse:collapse}.entry-details .entry-details-tr{display:block}.entry-details .entry-details-th,.entry-details .entry-details-td{display:block;text-overflow:inherit;word-wrap:break-word;white-space:collapse}}.audit-log-details-cont.open .entry-details{display:block}.billing-credit-card .javascript-disabled-overlay{position:absolute;top:0;left:0;z-index:1;display:none;width:100%;height:100%;background-color:var(--bgColor-default);opacity:.5}.billing-credit-card.disabled .javascript-disabled-overlay{display:block}.usage-bar{width:100%;margin:var(--base-size-4) 0 0;background:#eee;border-radius:20px}.usage-bar.exceeded .progress{background-color:var(--bgColor-danger-emphasis) !important}.lfs-data-pack-field{margin:calc(var(--base-size-4)*-1) 0}.lfs-data-icon{color:var(--fgColor-muted);text-align:center}.lfs-data-icon.dark{color:var(--fgColor-default)}.lfs-data-icon.octicon-database{margin-right:var(--base-size-4);margin-left:2px}.payment-methods{position:relative}@media screen and (max-width: 544px){.payment-methods .pay-by-credit-card .js-billing-section{overflow-x:scroll}}.payment-methods .selected-payment-method{display:none}.payment-methods .selected-payment-method::before{display:table;content:""}.payment-methods .selected-payment-method::after{display:table;clear:both;content:""}.payment-methods .selected-payment-method.active{display:block}.payment-methods .form-group dd .form-control.short.input-vat{width:300px}.payment-methods .pay-with-header{margin:var(--base-size-4) 0}.payment-methods .pay-with-paypal .setup-creditcard-form,.payment-methods .pay-with-paypal .paypal-form-actions,.payment-methods .pay-with-paypal .terms,.payment-methods .pay-with-paypal .paypal-signed-in,.payment-methods .pay-with-paypal .paypal-down-flash,.payment-methods .pay-with-paypal .loading-paypal-spinner{display:none}.payment-methods.paypal-loading .loading-paypal-spinner{display:block}.payment-methods.paypal-down .paypal-down-flash{display:block}.payment-methods.paypal-logged-in .paypal-sign-in{display:none}.payment-methods.paypal-logged-in .setup-creditcard-form,.payment-methods.paypal-logged-in .paypal-form-actions,.payment-methods.paypal-logged-in .terms,.payment-methods.paypal-logged-in .paypal-signed-in{display:block}.payment-methods.has-paypal-account .paypal-sign-in{display:none}.payment-methods.has-paypal-account .paypal-signed-in{display:block}.paypal-label{margin:var(--base-size-16) 0 var(--base-size-8);font-weight:var(--base-text-weight-semibold, 600)}.paypal-container{display:inline-block;margin-bottom:var(--base-size-16);vertical-align:top;background-color:var(--bgColor-muted);border-radius:var(--borderRadius-small)}.braintree-paypal-loggedin{padding:var(--base-size-12) var(--base-size-16) !important;background-position:12px 50% !important;border:var(--borderWidth-thin) solid var(--borderColor-muted) !important;border-radius:var(--borderRadius-small)}.bt-pp-name{margin-left:var(--base-size-16) !important}.bt-pp-email{margin-left:var(--base-size-16) !important}.bt-pp-cancel{font-size:0 !important;line-height:1 !important;color:var(--fgColor-danger) !important;text-decoration:none !important}.paypal-icon{margin:0 2px 0 1px;vertical-align:middle}.currency-container .local-currency,.currency-container .local-currency-block{display:none}.currency-container.open .local-currency{display:inline}.currency-container.open .local-currency-block{display:block}.currency-container.open .default-currency{display:none}.strong-label{display:inline-block;margin-bottom:var(--base-size-4);font-weight:var(--base-text-weight-semibold, 600)}.discounted-original-price{font-weight:var(--base-text-weight-normal, 400);color:var(--fgColor-muted);text-decoration:line-through}.billing-manager-input{width:500px}.seats-change-arrow{margin:0 var(--base-size-8)}.plan-choice{position:relative;display:block;padding:var(--base-size-16);padding-left:var(--base-size-40);font-weight:var(--base-text-weight-normal, 400);background-color:var(--bgColor-muted);border:var(--borderWidth-thin) solid var(--borderColor-default)}.plan-choice.open,.plan-choice.selected{background-color:var(--bgColor-default)}.line-item-value{float:right}.condensed-payment-methods .vat-field{width:100%}.condensed-payment-methods .state-field{width:30%}.condensed-payment-methods .postcode-field{width:28%}.condensed-payment-methods .country-field{width:42%}.condensed-payment-methods .is-international .country-field{width:72%}.condensed-payment-methods .is-international.no-postcodes .country-field{width:100%}.zuora-billing-section.PaymentMethod--creditcard:not(.has-removed-contents)~.SignUpContinueActions{display:none}.zuora-billing-section.PaymentMethod--creditcard-added~.SignUpContinueActions{display:block}.zuora-billing-section.PaymentMethod--paypal~.SignUpContinueActions{display:block}.billing-box-accordion[open] .octicon-chevron-right{height:auto;transform:rotate(90deg)}.billing-box-accordion:hover .billing-box-accordion-state .octicon{color:var(--fgColor-muted)}.billing-box-accordion-chevron[open] .octicon-chevron-right{height:auto;transform:rotate(90deg)}.billing-box-accordion-state .octicon{color:var(--fgColor-muted);transition:transform .09s ease-out}.billing-box-progress{padding-top:1px;margin-bottom:var(--base-size-4)}.Details-element:focus{outline:none}.blob-interaction-bar{position:relative;background-color:var(--bgColor-muted);border-bottom:var(--borderWidth-thin) solid var(--borderColor-default)}.blob-interaction-bar::before{display:table;content:""}.blob-interaction-bar::after{display:table;clear:both;content:""}.blob-interaction-bar .octicon-search{position:absolute;top:6px;left:10px;font-size:12px;color:var(--fgColor-muted)}.blob-filter{width:100%;padding:var(--base-size-4) var(--base-size-16) var(--base-size-4) var(--base-size-32);font-size:12px;border:0;border-radius:0;outline:none}.blob-filter:focus{outline:none}.TagsearchPopover{width:inherit;max-width:600px}.TagsearchPopover-content{max-height:300px}.diff-table .line-alert,.blob-code-content .line-alert{position:absolute;left:0;margin:-2px 2px}.diff-table .codeowners-error,.blob-code-content .codeowners-error{color:var(--fgColor-danger)}.diff-table .error-highlight,.blob-code-content .error-highlight{position:relative;cursor:help;font-style:italic;color:var(--fgColor-danger)}.diff-table .error-highlight::before,.blob-code-content .error-highlight::before{position:absolute;top:101%;width:100%;height:.25em;content:"";background:linear-gradient(135deg, transparent, transparent 45%, var(--fgColor-danger), transparent 55%, transparent 100%),linear-gradient(45deg, transparent, transparent 45%, var(--fgColor-danger), transparent 55%, transparent 100%);background-repeat:repeat-x,repeat-x;background-size:.5em .5em}.blob-code-content .blob-num .line-alert{margin-top:1px}.diff-table .blob-num .line-alert{margin:2px -2px}.csv-data .line-alert{position:absolute;margin:2px var(--base-size-4)}.CopyBlock{line-height:20px;cursor:pointer}.CopyBlock .octicon-copy{display:none}.CopyBlock:hover,.CopyBlock:focus,.CopyBlock:active{background-color:var(--bgColor-default);outline:none}.CopyBlock:hover .octicon-copy,.CopyBlock:focus .octicon-copy,.CopyBlock:active .octicon-copy{display:inline-block}.blob-header.is-stuck{border-top:0;border-top-left-radius:0;border-top-right-radius:0}.CodeMirror-hints{position:absolute;z-index:10;max-height:20em;margin:0;overflow-y:auto;font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;font-size:12px;list-style:none;background-color:var(--bgColor-default);border:var(--borderWidth-thin) solid var(--borderColor-default);border-radius:var(--borderRadius-medium);box-shadow:var(--shadow-resting-medium)}.CodeMirror-hint{padding:2px var(--base-size-8);margin:0;color:var(--fgColor-default);white-space:pre;cursor:pointer}.CodeMirror-hint .CodeMirror-hint:first-child{border-top-left-radius:var(--borderRadius-medium);border-top-right-radius:var(--borderRadius-medium)}.CodeMirror-hint .CodeMirror-hint:last-child{border-bottom-right-radius:var(--borderRadius-medium);border-bottom-left-radius:var(--borderRadius-medium)}.CodeMirror-hint-active{color:var(--fgColor-onEmphasis);background-color:var(--bgColor-accent-emphasis)}.CodeMirror-lint-tooltip{position:fixed;z-index:100;min-width:300px;max-width:600px;opacity:0;transition:opacity .4s}.CodeMirror-lint-mark-error,.cm-lintRange.cm-lintRange-error{position:relative;cursor:help}.CodeMirror-lint-mark-error::before,.cm-lintRange.cm-lintRange-error::before{position:absolute;top:101%;width:100%;height:.25em;content:"";background:linear-gradient(135deg, transparent, transparent 45%, var(--borderColor-danger-emphasis), transparent 55%, transparent 100%),linear-gradient(45deg, transparent, transparent 45%, var(--borderColor-danger-emphasis), transparent 55%, transparent 100%);background-repeat:repeat-x,repeat-x;background-size:.5em .5em}.CodeMirror-lint-mark-warning,.cm-lintRange.cm-lintRange-warning{position:relative;cursor:help}.CodeMirror-lint-mark-warning::before,.cm-lintRange.cm-lintRange-warning::before{position:absolute;top:101%;width:100%;height:.25em;content:"";background:linear-gradient(135deg, transparent, transparent 45%, var(--borderColor-attention-emphasis), transparent 55%, transparent 100%),linear-gradient(45deg, transparent, transparent 45%, var(--borderColor-attention-emphasis), transparent 55%, transparent 100%);background-repeat:repeat-x,repeat-x;background-size:.5em .5em}.CodeMirror-lint-mark-info,.cm-lintRange.cm-lintRange-info{position:relative;cursor:help}.CodeMirror-lint-mark-info::before,.cm-lintRange.cm-lintRange-info::before{position:absolute;top:101%;width:100%;height:.25em;content:"";background:linear-gradient(135deg, transparent, transparent 45%, var(--borderColor-accent-emphasis), transparent 55%, transparent 100%),linear-gradient(45deg, transparent, transparent 45%, var(--borderColor-accent-emphasis), transparent 55%, transparent 100%);background-repeat:repeat-x,repeat-x;background-size:.5em .5em}.CodeMirror-hint-active .CodeMirror-hint-description{color:var(--fgColor-onEmphasis) !important}.status-heading{margin-bottom:1px}.merge-status-list{max-height:0;padding:0;margin:var(--base-size-16) calc(var(--base-size-16)*-1) calc(var(--base-size-16)*-1) -55px;overflow-y:auto;transition:max-height .25s ease-in-out}.merge-status-list.hide-closed-list{visibility:hidden;transition:max-height .25s ease-in-out,visibility 0s linear .25s}.statuses-toggle-opened{display:none}.merge-status-item{position:relative;padding:var(--base-size-8) var(--base-size-16);background-color:var(--bgColor-muted);border-bottom:var(--borderWidth-thin) solid var(--borderColor-default)}.merge-status-item:last-child:not(.review-item){border-bottom:0}.merge-status-item .css-truncate-target{max-width:100%}.merge-status-item .dismiss-review-form{display:none}.merge-status-item.open .review-status-item{display:none !important}.merge-status-item.open .dismiss-review-form{display:block}.status-meta{color:var(--fgColor-muted)}.status-actions{margin-left:auto}.branch-action-item-icon{float:left;margin-left:calc(var(--base-size-40)*-1)}.merge-status-icon{min-width:30px}.branch-action{padding-left:55px;margin-top:var(--base-size-16);margin-bottom:var(--base-size-16)}.branch-action .merge-branch-heading{margin-bottom:var(--base-size-4)}.branch-action-icon{float:left;width:40px;height:40px;margin-left:-55px;color:var(--fgColor-onEmphasis);border-radius:var(--borderRadius-medium)}.branch-action-body{position:relative;background-color:var(--bgColor-default);border:var(--borderWidth-thin) solid var(--borderColor-default);border-radius:var(--borderRadius-medium)}.branch-action-body .spinner{display:block;float:left;width:32px;height:32px;margin-right:var(--base-size-16);background:url("/assets/octocat-spinner-32-36e32e38816e.gif") no-repeat}.branch-action-body .merge-message,.branch-action-body .merge-branch-form,.branch-action-body .queue-branch-form{padding:var(--base-size-16);background-color:var(--bgColor-muted);border-top:var(--borderWidth-thin) solid var(--borderColor-default);border-bottom-right-radius:var(--borderRadius-medium);border-bottom-left-radius:var(--borderRadius-medium)}.branch-action-item{padding:var(--base-size-16) var(--base-size-16) var(--base-size-16) 55px;font-size:13px;line-height:1.4}.branch-action-item+.branch-action-item,.branch-action-item+.mergeability-details{border-top:var(--borderWidth-thin) solid var(--borderColor-default)}.branch-action-item.open>.merge-status-list-wrapper>.merge-status-list,.branch-action-item.open>.merge-status-list{max-height:231px;margin-bottom:calc(var(--base-size-16)*-1);border:solid var(--borderColor-default);border-width:var(--borderWidth-thin) 0 0}.branch-action-item.open>.merge-status-list-wrapper>.merge-status-list.hide-closed-list,.branch-action-item.open>.merge-status-list.hide-closed-list{visibility:visible;transition:max-height .25s ease-in-out,visibility 0s linear}.branch-action-item.open .statuses-toggle-opened{display:inline}.branch-action-item.open .statuses-toggle-closed{display:none}.branch-action-item-simple{padding-left:var(--base-size-16)}.branch-action-item-simple .merge-status-list{margin-left:calc(var(--base-size-16)*-1)}.branch-action-item-simple .merge-status-item{padding-left:var(--base-size-12)}.branch-action-state-unknown .branch-action-icon,.branch-action-state-unstable .branch-action-icon{color:var(--fgColor-onEmphasis);background-color:var(--bgColor-attention-emphasis);border:var(--borderWidth-thin) solid transparent}.branch-action-state-unknown .branch-action-body,.branch-action-state-unstable .branch-action-body{border-color:var(--borderColor-attention-emphasis)}.branch-action-state-unknown .branch-action-body::after,.branch-action-state-unknown .branch-action-body::before,.branch-action-state-unstable .branch-action-body::after,.branch-action-state-unstable .branch-action-body::before{position:absolute;top:11px;right:100%;left:calc(var(--base-size-8)*-1);display:block;width:8px;height:16px;pointer-events:none;content:" ";clip-path:polygon(0 50%, 100% 0, 100% 100%)}.branch-action-state-unknown .branch-action-body::after,.branch-action-state-unstable .branch-action-body::after{margin-left:2px;background-color:var(--bgColor-default, var(--color-canvas-default));background-image:linear-gradient(var(--bgColor-default), var(--bgColor-default))}.branch-action-state-unknown .branch-action-body::before,.branch-action-state-unstable .branch-action-body::before{background-color:var(--borderColor-attention-emphasis)}.branch-action-state-dirty .branch-action-icon,.branch-action-state-closed-dirty .branch-action-icon,.is-rebasing .branch-action-state-dirty-if-rebasing .branch-action-icon{color:var(--fgColor-onEmphasis);background-color:var(--bgColor-neutral-emphasis);border:var(--borderWidth-thin) solid transparent}.branch-action-state-dirty .branch-action-body,.branch-action-state-closed-dirty .branch-action-body,.is-rebasing .branch-action-state-dirty-if-rebasing .branch-action-body{border-color:var(--borderColor-default)}.branch-action-state-dirty .branch-action-body::after,.branch-action-state-dirty .branch-action-body::before,.branch-action-state-closed-dirty .branch-action-body::after,.branch-action-state-closed-dirty .branch-action-body::before,.is-rebasing .branch-action-state-dirty-if-rebasing .branch-action-body::after,.is-rebasing .branch-action-state-dirty-if-rebasing .branch-action-body::before{position:absolute;top:11px;right:100%;left:calc(var(--base-size-8)*-1);display:block;width:8px;height:16px;pointer-events:none;content:" ";clip-path:polygon(0 50%, 100% 0, 100% 100%)}.branch-action-state-dirty .branch-action-body::after,.branch-action-state-closed-dirty .branch-action-body::after,.is-rebasing .branch-action-state-dirty-if-rebasing .branch-action-body::after{margin-left:2px;background-color:var(--bgColor-default, var(--color-canvas-default));background-image:linear-gradient(var(--bgColor-default), var(--bgColor-default))}.branch-action-state-dirty .branch-action-body::before,.branch-action-state-closed-dirty .branch-action-body::before,.is-rebasing .branch-action-state-dirty-if-rebasing .branch-action-body::before{background-color:var(--borderColor-default)}@media only screen and (-moz-min-device-pixel-ratio: 2),only screen and (min-device-pixel-ratio: 2),only screen and (min-resolution: 192dpi),only screen and (min-resolution: 2dppx){.branch-action-body .spinner{background-image:url("/assets/octocat-spinner-64-5a4957be9e70.gif");background-size:32px 32px}}.merge-button-matrix-merge-form .merge-branch-form{display:block}.completeness-indicator{display:flex;align-items:center;justify-content:center;width:30px;height:30px}.completeness-indicator-success{color:var(--fgColor-onEmphasis);background-color:var(--bgColor-success-emphasis);border:var(--borderWidth-thin) solid transparent;border-radius:50%}.completeness-indicator-error{color:var(--fgColor-onEmphasis);background-color:var(--bgColor-danger-emphasis);border:var(--borderWidth-thin) solid transparent;border-radius:50%}.completeness-indicator-problem{color:var(--fgColor-onEmphasis);background-color:var(--bgColor-neutral-emphasis);border:var(--borderWidth-thin) solid transparent;border-radius:50%}.completeness-indicator-warning{color:var(--fgColor-onEmphasis);background-color:var(--bgColor-attention-emphasis);border:var(--borderWidth-thin) solid transparent;border-radius:50%}.business-menu-item:not([aria-current=page])+.business-sub-menu{display:none}.business-menu-icon{width:var(--base-size-16);margin-right:var(--base-size-8)}.dormant-users-recent-reports{gap:var(--base-size-16)}body.full-width-p-0 .new-discussion-timeline{padding:0 !important}body.full-width-p-0 .footer .mt-6{margin-top:0 !important;border-top:0 !important}.checks-list-item-icon{width:var(--base-size-16)}.check-annotation{border-left:0;border-top-left-radius:0;border-bottom-left-radius:0}.file .check-annotation{border-bottom:solid var(--borderWidth-thin) var(--borderColor-default)}.file .check-annotation:last-child{border-bottom:0}.check-annotation .annotation-actions{top:var(--base-size-4);right:var(--base-size-8)}.check-annotation .annotation-octicon{width:var(--base-size-16)}.check-annotation.Details--on .Details-content--hidden{display:block !important}.annotation-title{word-break:break-word}.check-annotation-failure{box-shadow:inset 4px 0 0 var(--borderColor-danger-emphasis)}.check-annotation-failure .annotation-title{color:var(--fgColor-danger)}.check-annotation-warning{box-shadow:inset 4px 0 0 var(--borderColor-attention-emphasis)}.check-annotation-warning .octicon-alert{color:var(--fgColor-attention)}.check-annotation-warning .annotation-title{color:var(--fgColor-attention)}.neutral-check{color:var(--fgColor-muted)}.check-page-commit-message{max-width:150px !important}@media(min-width: 1012px){.check-page-commit-message{max-width:500px !important}}.check-page-commit-message-container{flex-direction:column;flex-wrap:wrap}@media(min-width: 1012px){.check-page-commit-message-container{flex-direction:row;flex-wrap:nowrap}}.code-frequency .addition{fill:#2cbe4e;fill-opacity:1}.code-frequency .deletion{fill:var(--fgColor-danger);fill-opacity:1}.code-list .file-box{border:solid var(--borderWidth-thin) var(--borderColor-default);border-radius:var(--borderRadius-medium)}.code-list .title{min-height:24px;margin:calc(var(--base-size-4)*-1) 0 var(--base-size-8) var(--base-size-40);font-weight:var(--base-text-weight-semibold, 600);line-height:1.2}.code-list .repo-specific .title,.code-list .repo-specific .full-path{margin-left:0}.code-list .match-count,.code-list .updated-at{margin:0;font-weight:var(--base-text-weight-normal, 400)}.code-list .language{float:right;margin-left:var(--base-size-8);font-size:12px;color:rgba(51,51,51,.75)}.code-list .avatar{float:left}.code-list .code-list-item+.code-list-item{border-top:var(--borderWidth-thin) solid var(--borderColor-muted)}.code-list .blob-num{padding:0}.code-list .blob-num::before{content:normal}.code-list .blob-num a{padding:0 var(--base-size-8);color:inherit}.code-list .blob-num a:hover{color:var(--fgColor-accent)}.code-list .blob-code{white-space:pre-wrap}.code-list .divider .blob-num,.code-list .divider .blob-code{padding-top:0;padding-bottom:0;cursor:default;background-color:var(--bgColor-muted)}.code-list .divider .blob-num{height:18px;padding:0 var(--base-size-8);line-height:15px;background-color:var(--bgColor-muted)}.code-list .full-path{margin:0 0 0 var(--base-size-40)}.code-list .full-path .octicon-repo{color:var(--fgColor-muted)}.code-list .full-path .octicon-lock{color:var(--fgColor-attention)}.code-list .full-path a{color:var(--fgColor-muted)}.code-list-item-private .file-box{border:var(--borderWidth-thin) solid var(--borderColor-attention-muted)}.code-list-item-private .blob-num{background-color:var(--bgColor-attention-muted);border-right:var(--borderWidth-thin) solid var(--borderColor-attention-muted)}.code-list-item-private .blob-num a{color:var(--fgColor-attention)}.code-list-item-private .divider .blob-num,.code-list-item-private .divider .blob-code{color:var(--fgColor-attention);background-color:var(--bgColor-attention-muted)}.code-scanning-alert-warning-message{border-color:var(--borderColor-attention-emphasis) !important}.code-scanning-font-size-inherit{font-size:inherit !important}.cs-status-message .md-paragraph,.cs-status-message .md-list{margin-bottom:var(--base-size-8)}.cs-status-message .md-paragraph:last-child,.cs-status-message .md-list:last-child{margin-bottom:0}.cs-status-message .md-list,.cs-message .md-list{padding-left:2em}.cs-status-message .md-pre{white-space:pre-wrap}.code-scanning-branch-filter .SelectMenu-modal{max-height:none}.codesearch-head.pagehead h1{width:250px;line-height:33px}@media(min-width: 768px){.advanced-search-form .flattened dt{width:230px}.advanced-search-form .flattened dt label{font-weight:var(--base-text-weight-normal, 400)}.advanced-search-form .flattened dd{margin-left:250px}.advanced-search-form .form-checkbox{margin-left:250px}}.search-form-fluid .TableObject-item--primary{position:relative;padding-right:var(--base-size-8)}.search-form-fluid .completed-query{position:absolute;z-index:1;padding:inherit;margin:0;overflow:hidden;white-space:nowrap}.search-form-fluid .completed-query span{opacity:0}.search-form-fluid .search-page-label{position:relative;display:block;font-weight:var(--base-text-weight-normal, 400);cursor:text}.search-form-fluid .search-page-label.focus .completed-query{opacity:.6}.search-form-fluid .search-page-input{position:relative;z-index:2;min-height:0;padding:0;margin:0;background:none;border:0;box-shadow:none}.search-form-fluid .search-page-input:focus{box-shadow:none}.topics-row-container{height:30px;overflow:hidden}.codespaces-policy-form details>summary::-webkit-details-marker{display:none}.codespaces-policy-item-no-hover:hover{color:var(--fgColor-default);background-color:var(--overlay-bgColor)}.codespaces-policy-item-no-hover:hover .codespaces-policy-constraint-error{color:var(--fgColor-danger)}.codespaces-policy-constraint-menu-item-muted-hover:hover{color:var(--fgColor-default);background-color:var(--button-default-bgColor-hover)}.codespaces-policy-form-blue-hover:hover{color:var(--fgColor-accent) !important}.codespaces-policy-form-blue-hover:hover svg{color:var(--fgColor-accent) !important}.codespaces-policy-form-blue-hover:focus svg{color:var(--fgColor-accent) !important}.codespaces-policy-form-danger-hover:hover{background-color:var(--bgColor-danger-muted) !important}.codespaces-list-box .css-truncate-target{max-width:100%}.commit-activity-master{margin-top:var(--base-size-16)}.is-graph-loading .commit-activity-master{display:none}rect{shape-rendering:crispedges}rect.max{fill:var(--fgColor-attention)}g.bar{fill:var(--fgColor-success)}g.mini{fill:var(--fgColor-severe)}g.active rect{fill:var(--fgColor-danger)}circle.focus{fill:var(--fgColor-muted)}.dot text{fill:var(--fgColor-muted);stroke:none}span.no-nl-marker{position:relative;color:var(--fgColor-danger);vertical-align:middle}.symlink .no-nl-marker{display:none}.contrib-person path{fill:var(--fgColor-severe)}.contrib-person .midlabel{fill:var(--fgColor-neutral)}.coupons .setup-plans td img{margin-top:-2px;vertical-align:middle}.coupons .coupon-form-body{width:270px;padding:var(--base-size-16);margin:100px auto 60px;font-size:14px;text-align:center;background-color:var(--bgColor-muted);border:var(--borderWidth-thin) solid var(--borderColor-default);border-radius:var(--borderRadius-medium)}.coupons .coupon-form-body .input-block{margin-bottom:var(--base-size-16)}.coupons .coupon-form-body .btn{display:block;width:100%}.coupon-icon{width:80px;height:80px;margin:0 auto var(--base-size-16);color:var(--fgColor-accent);border:var(--borderWidth-thin) solid var(--borderColor-default);border-radius:40px}.coupon-icon .octicon{margin-top:var(--base-size-16);margin-right:2px}.repo-private-icon{fill:var(--fgColor-attention)}.dashboard-rollup-items>.dashboard-rollup-item{border-top:var(--borderWidth-thin) solid var(--borderColor-default)}.pinned-favorites-update-form{height:200px}.dashboard-break-word{-webkit-hyphens:auto;hyphens:auto;word-break:break-word}.news .bio g-emoji,.news .repo-description g-emoji{display:inline-block}.news .feed-item-heading-menu-button{color:var(--fgColor-muted);outline:none}.news .feed-item-heading-menu-button:hover{color:var(--fgColor-default)}.suggest-icon{width:48px;height:48px;padding:var(--base-size-4)}.suggest-icon svg,.suggest-icon path{fill:#fff}.suggest-icon svg::before,.suggest-icon path::before{bottom:-6px;left:-4px;background-color:#9e7bff}.suggest-icon svg::after,.suggest-icon path::after{top:-5px;right:-5px;width:5px;height:5px;background-color:#6c84e9}.suggest-icon .suggest-icon-bubble{position:absolute;width:6px;height:6px;background-color:#6c84e9;border-radius:50%}.suggest-icon .suggest-icon-bubble:nth-of-type(2n){width:4px;height:4px;background-color:#9e7bff}.suggest-icon .suggest-icon-bubble:nth-of-type(1){bottom:-7px;left:-7px}.suggest-icon .suggest-icon-bubble:nth-of-type(2){top:-4px;right:var(--base-size-4)}.suggest-icon .suggest-icon-bubble:nth-of-type(3){top:-7px;right:-8px}.feed-filter-menu .feed-filter-menu-body{width:320px;height:420px}@media(max-width: 767px)and (max-height: 500px){.feed-filter-menu .feed-filter-menu-body{top:var(--base-size-4);max-height:95% !important}}.dashboard-notice{position:relative;padding:var(--base-size-16) var(--base-size-16) var(--base-size-16) 55px;margin-bottom:var(--base-size-16);font-size:14px;background-color:var(--bgColor-muted);border:var(--borderWidth-thin) solid var(--borderColor-default);border-radius:var(--borderRadius-medium)}.dashboard-notice .dismiss{position:absolute;top:10px;right:10px;width:16px;height:16px;color:var(--fgColor-muted);cursor:pointer}.dashboard-notice .dismiss:hover{color:var(--fgColor-muted)}.dashboard-notice .notice-icon{position:absolute;top:15px;left:15px}.dashboard-notice .octicon-organization{color:var(--fgColor-accent)}.dashboard-notice h2{margin-top:var(--base-size-8);margin-bottom:var(--base-size-16);font-size:16px;font-weight:var(--base-text-weight-normal, 400);color:var(--fgColor-default)}.dashboard-notice p.no-title{padding-right:var(--base-size-4)}.dashboard-notice ul{margin-left:var(--base-size-16)}.dashboard-notice li{padding-bottom:var(--base-size-16)}.dashboard-notice .coupon{padding:var(--base-size-8);margin:var(--base-size-16) 0;font-size:20px;font-weight:var(--base-text-weight-semibold, 600);text-align:center;background:var(--bgColor-default);border:var(--borderWidth-thin) dashed var(--borderColor-default)}.dependabot-rules-banner-container{height:auto;background-image:url("/assets/rules-promo-banner-light-mobile-915fa9def8af.svg") !important;background-repeat:no-repeat;background-position:top right;background-size:auto 100%}@media(min-width: 1012px){.dependabot-rules-banner-container{background-image:url("/assets/rules-promo-banner-light-f2faab0aacee.svg") !important}}[data-color-mode=light][data-light-theme*=dark] .dependabot-rules-banner-container,[data-color-mode=dark][data-dark-theme*=dark] .dependabot-rules-banner-container{background-image:url("/assets/rules-promo-banner-dark-mobile-907c0c4a458d.svg") !important}@media(min-width: 1012px){[data-color-mode=light][data-light-theme*=dark] .dependabot-rules-banner-container,[data-color-mode=dark][data-dark-theme*=dark] .dependabot-rules-banner-container{background-image:url("/assets/rules-promo-banner-dark-51278c312ec0.svg") !important}}@media(prefers-color-scheme: light){[data-color-mode=auto][data-light-theme*=dark] .dependabot-rules-banner-container{background-image:url("/assets/rules-promo-banner-dark-mobile-907c0c4a458d.svg") !important}}@media(prefers-color-scheme: light)and (min-width: 1012px){[data-color-mode=auto][data-light-theme*=dark] .dependabot-rules-banner-container{background-image:url("/assets/rules-promo-banner-dark-51278c312ec0.svg") !important}}@media(prefers-color-scheme: dark){[data-color-mode=auto][data-dark-theme*=dark] .dependabot-rules-banner-container{background-image:url("/assets/rules-promo-banner-dark-mobile-907c0c4a458d.svg") !important}}@media(prefers-color-scheme: dark)and (min-width: 1012px){[data-color-mode=auto][data-dark-theme*=dark] .dependabot-rules-banner-container{background-image:url("/assets/rules-promo-banner-dark-51278c312ec0.svg") !important}}@media(max-width: 320px){.dependabot-alert-dismissal .SelectMenu-modal{position:fixed;top:0;left:0;width:100%;max-height:100%;overflow-y:auto}}@media(max-width: 544px){.dependabot-alerts-filter-autocomplete-dropdown-wrapper .Box{display:block !important}}dl.form.developer-select-account{margin-top:0}development-menu .line-clamp-1{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;word-break:break-all}development-menu .form-control[is-loading]{background:transparent}development-menu .development-menu-component-menu-modal,development-menu .development-menu-component-dialog-modal{margin-top:var(--base-size-4) !important}development-menu .SelectMenu-item:hover,development-menu .SelectMenu-item:focus-visible{color:var(--fgColor-onEmphasis) !important;background-color:var(--bgColor-accent-emphasis) !important}development-menu .SelectMenu-item:hover .arrow,development-menu .SelectMenu-item:focus-visible .arrow{visibility:visible !important}development-menu .SelectMenu-item:hover svg,development-menu .SelectMenu-item:hover span,development-menu .SelectMenu-item:hover p,development-menu .SelectMenu-item:focus-visible svg,development-menu .SelectMenu-item:focus-visible span,development-menu .SelectMenu-item:focus-visible p{color:var(--fgColor-onEmphasis) !important;background-color:var(--bgColor-accent-emphasis) !important}development-menu .development-menu-component-menu-modal,development-menu .development-menu-component-dialog,development-menu .development-menu-component-dialog-modal{animation:none}@media(min-width: 544px){development-menu .development-menu-component-menu-modal,development-menu .development-menu-component-dialog,development-menu .development-menu-component-dialog-modal{max-width:300px}}@media(max-width: 544px){development-menu .hx_rsm-modal-sm{position:fixed !important;top:75px;right:var(--base-size-16) !important;left:var(--base-size-16);display:flex;width:auto;height:80%;margin:0;flex-direction:column;animation:hx_rsm-modal-animation .24s .12s cubic-bezier(0, 0.1, 0.1, 1) backwards}}development-menu .development-menu-component-dialog:not([hidden])+.development-menu-component-dialog-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:80;display:block;cursor:default;content:" ";background:transparent;background:var(--overlay-backdrop-bgColor)}@media(min-width: 544px){development-menu .development-menu-component-dialog:not([hidden])+.development-menu-component-dialog-overlay{display:none}}development-menu .development-menu-component-dialog{z-index:99}@keyframes development-menu-component-dialog-animation--sm{0%{opacity:0;transform:translateX(var(--base-size-16))}}@media(min-width: 544px){development-menu .development-menu-component-dialog{position:absolute;top:auto;right:auto;bottom:auto;left:auto;max-height:none;padding-top:0;margin:0;transform:none}}development-menu .development-menu-component-dialog .development-menu-component-dialog-modal{animation:none}development-menu .SelectMenu-item[aria-disabled=true]{opacity:.5}.file-diff-split[data-lock-side-selection=left] [data-split-side=right],.file-diff-split[data-lock-side-selection=right] [data-split-side=left]{-webkit-user-select:none;user-select:none}.invisible{position:absolute;opacity:0}.label-select-menu .color{display:inline-block;width:14px;height:14px;margin-top:-1px;margin-right:2px;vertical-align:middle;border-radius:7px}.label-select-menu .select-menu-item:hover,.label-select-menu .select-menu-item:focus,.label-select-menu .select-menu-item[aria-checked=true]:hover,.label-select-menu .select-menu-item[aria-checked=true]:focus{color:inherit;background-color:var(--bgColor-neutral-muted)}.label-select-menu .select-menu-item-icon,.label-select-menu .label-options-icon{color:inherit !important}.user-has-reacted .octicon{fill:var(--fgColor-accent)}.discussions-header-wrap{display:grid;grid-template-columns:minmax(0, 1fr);gap:10px}@media(min-width: 1012px){.discussions-header-wrap{grid-template-columns:minmax(0, 1fr) max-content}}.discussions-query-builder{order:2}@media(min-width: 1012px){.discussions-query-builder{order:inherit}}.discussions-button-wrap{display:flex;align-items:center;order:1;flex-wrap:wrap;gap:4px}@media(min-width: 768px){.discussions-button-wrap{gap:0}}@media(min-width: 1012px){.discussions-button-wrap{order:inherit;justify-content:flex-end}}.discussions-select-menu a:focus{outline:2px solid var(--focus-outlineColor)}.discussions-label-select-menu{display:block;border:var(--borderWidth-thin) solid var(--borderColor-translucent)}.hx_discussion_section_row{border-top:solid var(--borderWidth-thin) var(--borderColor-muted) !important;border-radius:0 !important}.donut-chart>.error,.donut-chart>.cancelled,.donut-chart>.action_required,.donut-chart>.timed_out,.donut-chart>.failure{fill:var(--bgColor-danger-emphasis)}.donut-chart>.expected,.donut-chart>.queued,.donut-chart>.in_progress,.donut-chart>.waiting,.donut-chart>.requested,.donut-chart>.pending{fill:var(--bgColor-attention-emphasis)}.donut-chart>.success{fill:var(--bgColor-success-emphasis)}.donut-chart>.neutral,.donut-chart>.stale,.donut-chart>.skipped{fill:var(--bgColor-neutral-emphasis)}.ghe-license-status{padding:var(--base-size-40) 0;font-size:16px;text-align:center}.ghe-license-status .octocat{width:225px;margin-bottom:var(--base-size-16)}.ghe-license-status h1{margin-bottom:var(--base-size-8)}.ghe-license-status p{margin-bottom:var(--base-size-4);color:var(--fgColor-muted)}.ghe-license-expiry-icon{margin:var(--base-size-4) var(--base-size-8) 0 0;color:var(--fgColor-attention)}.feature-preview-dialog{width:90vw;max-width:880px;height:60vh;min-height:240px;max-height:700px}.feature-preview-dialog .feature-preview-info{height:60vh;min-height:183px;max-height:calc(100% - 57px)}.global-nav-feature-preview-dialog{height:60vh;min-height:240px}.file{position:relative;margin-top:var(--base-size-16);margin-bottom:var(--base-size-16);border:var(--borderWidth-thin) solid var(--borderColor-default, var(--color-border-default, #ddd));border-radius:var(--borderRadius-medium)}.file .drag-and-drop{border:0;border-top:var(--borderWidth-thin) dashed var(--borderColor-default)}.file:target{outline:none !important;box-shadow:0 0 0 2px var(--focus-outlineColor) !important}.file .data.empty{padding:var(--base-size-4) var(--base-size-8);color:var(--fgColor-muted)}.file:not(.open) .file-header.file-header--expandable{border-bottom:0;border-radius:var(--borderRadius-medium)}.file .data.suppressed,.file.open .image{display:none}.file.open .data.suppressed{display:block}.file .image{position:relative;padding:var(--base-size-32);text-align:center;background-color:#ddd}.file .image table{margin:0 auto}.file .image td{padding:0 var(--base-size-4);color:var(--fgColor-muted);text-align:center;vertical-align:top}.file .image td img{max-width:100%}.file .image .border-wrap{position:relative;display:inline-block;line-height:0;background-color:var(--bgColor-default);border:var(--borderWidth-thin) solid var(--borderColor-default)}.file .image a{display:inline-block;line-height:0}.file .image img,.file .image canvas{max-width:600px;background:url("/assets/trans_bg-b507cc0d0e5d.gif") right bottom #eee;border:var(--borderWidth-thin) solid #fff}.file .image .view img,.file .image .view canvas{position:relative;top:0;right:0;max-width:inherit;background:url("/assets/trans_bg-b507cc0d0e5d.gif") right bottom #eee}.file .image .view>span{vertical-align:middle}.file .empty{background:none}.file-header{z-index:2;padding:var(--base-size-4) var(--base-size-8);background-color:var(--bgColor-muted);border-bottom:var(--borderWidth-thin) solid var(--borderColor-default);border-top-left-radius:var(--borderRadius-medium);border-top-right-radius:var(--borderRadius-medium)}.file-header::before{display:table;content:""}.file-header::after{display:table;clear:both;content:""}.file-actions{float:right;padding-top:2px;font-size:12px}.file-actions select{margin-left:var(--base-size-4)}.file-info{font-family:var(--fontStack-monospace, ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace);font-size:12px;line-height:32px}.file-info .octicon{vertical-align:text-bottom}.sticky-file-header{position:sticky;top:var(--pr-toolbar-sticky-header-height, 60px)}.sticky-file-header.has-open-dropdown{z-index:10}.diff-progressive-loader{min-height:150px}.load-diff-button,.load-diff-retry{z-index:1;min-height:32px}.diff-placeholder-svg{clip:rect(1px, 1px, 1px, 1px);clip-path:inset(50%)}.copilot-text-completion[data-disabled]{display:none}.graphs .area{fill:var(--bgColor-success-emphasis);fill-opacity:.5}.graphs .path{fill:none;stroke:var(--bgColor-success-emphasis);stroke-opacity:1;stroke-width:2px}.graphs .dot{fill:var(--bgColor-success-emphasis);stroke:#1e7e34;stroke-width:2px}.graphs .dot.padded{stroke:var(--bgColor-default);stroke-width:1px}.graphs .dot.padded circle:hover{fill:var(--fgColor-accent)}.graphs .d3-tip{fill:var(--fgColor-neutral)}.graphs .d3-tip text{font-size:12px;fill:var(--bgColor-default)}.graphs .dir{float:right;padding-top:var(--base-size-4);font-size:12px;font-weight:var(--base-text-weight-normal, 400);line-height:100%;color:var(--fgColor-muted)}.graphs .selection .overlay{visibility:none}.graphs .selection .selection{fill:var(--fgColor-neutral);fill-opacity:.1;stroke:var(--fgColor-default);stroke-dasharray:3 3;stroke-opacity:.4;stroke-width:1px;shape-rendering:crispedges}.svg-tip{position:absolute;z-index:99999;padding:var(--base-size-8) var(--base-size-16);font-size:12px;color:var(--fgColor-onEmphasis);text-align:center;background:var(--bgColor-emphasis);border-radius:var(--borderRadius-medium)}.svg-tip.is-visible{display:block}.svg-tip::after{position:absolute;bottom:-10px;left:50%;width:5px;height:5px;box-sizing:border-box;margin:0 0 0 calc(var(--base-size-4)*-1);content:" ";border:5px solid transparent;border-top-color:var(--bgColor-emphasis)}.svg-tip.left::after{left:10%}.svg-tip.right::after{left:90%}.svg-tip.comparison{padding:0;text-align:left;pointer-events:none}.svg-tip.comparison .title{display:block;padding:var(--base-size-8);margin:0;font-weight:var(--base-text-weight-semibold, 600);line-height:1;pointer-events:none}.svg-tip.comparison ul{padding:var(--base-size-4) var(--base-size-8) var(--base-size-8) var(--base-size-8);margin:0;white-space:nowrap;list-style:none}.svg-tip.comparison li{display:inline-block;padding-top:var(--base-size-16)}.svg-tip.comparison .metric-0,.svg-tip.comparison .metric-1{position:relative}.svg-tip.comparison .metric-0::before,.svg-tip.comparison .metric-1::before{position:absolute;top:0;right:0;left:0;height:var(--base-size-4);content:"";border:var(--borderWidth-thin) solid var(--borderColor-default);border-radius:var(--borderRadius-medium)}.svg-tip.comparison .metric-0::before{background-color:var(--bgColor-success-emphasis)}.svg-tip.comparison .metric-1::before{background-color:var(--bgColor-accent-emphasis)}[data-dark-theme=dark_colorblind] .svg-tip.comparison .metric-1::before,[data-dark-theme=dark_tritanopia] .svg-tip.comparison .metric-1::before,[data-light-theme=light_colorblind] .svg-tip.comparison .metric-1::before,[data-dark-theme=light_tritanopia] .svg-tip.comparison .metric-1::before{background-color:var(--data-pink-color-emphasis, var(--data-pink-color))}.team-breadcrumb .team-breadcrumb-item{display:inline-block}.team-breadcrumb .team-breadcrumb-item::after{padding-right:.5em;padding-left:.5em;color:var(--borderColor-neutral-muted);content:"/"}.team-breadcrumb .team-breadcrumb-item-selected::after{content:none}.team-discussions-container{min-height:100vh}@media(min-width: 768px){.team-left-column{max-width:350px}}.team-left-column .team-avatar{width:80px;height:80px}@media(min-width: 768px){.team-left-column .team-avatar{width:140px;height:140px}}.team-discussions{max-width:768px}.team-discussions .previewable-comment-form .comment{border:0}.team-discussions .previewable-comment-form .tabnav-tab.selected{background-color:var(--bgColor-default)}.hooks-listing .boxed-group-action.select-menu{z-index:auto}.hooks-listing .boxed-group-inner{padding:0 var(--base-size-8);margin-bottom:var(--base-size-8)}.hook-item a:hover{text-decoration:none}.hook-item .item-status{float:left;width:16px;margin-right:var(--base-size-8);text-align:center}.hook-item .description{color:var(--fgColor-muted)}.hook-item .description .css-truncate-target{max-width:160px}.hook-item .icon-for-success,.hook-item .icon-for-failure,.hook-item .icon-for-pending,.hook-item .icon-for-inactive,.hook-item .icon-for-mute{display:none}.hook-item.success .icon-for-success{display:inline-block;color:var(--fgColor-success)}.hook-item.failure .icon-for-failure{display:inline-block;color:var(--fgColor-danger)}.hook-item.pending .icon-for-pending{display:inline-block;color:var(--fgColor-muted)}.hook-item.inactive .icon-for-inactive{display:inline-block;color:var(--fgColor-muted)}.hook-item.mute .icon-for-mute{display:inline-block;color:var(--fgColor-muted)}.hook-item .icon-for-enabled,.hook-item .icon-for-disabled{display:none}.hook-item.enabled .icon-for-enabled{display:inline-block;color:var(--fgColor-success)}.hook-item.disabled .icon-for-disabled{display:inline-block;color:var(--fgColor-muted)}.hook-item .hook-error-message{margin-left:var(--base-size-24);color:var(--fgColor-danger)}.hook-url.css-truncate-target{max-width:360px}.hooks-oap-warning{margin-top:0}.hooks-oap-warning ul{margin:var(--base-size-8) 0}.hooks-oap-warning ul li{margin-left:var(--base-size-16)}.item-name{float:left;font-weight:var(--base-text-weight-semibold, 600)}.hovercard-icon{width:16px}.integrations-select-repos{max-height:138px;overflow-y:scroll;border-radius:var(--borderRadius-medium)}.integrations-select-repos .mini-repo-list-item{padding:var(--base-size-8) var(--base-size-64) var(--base-size-8) var(--base-size-32)}.integrations-select-repos .mini-repo-list-item:hover .repo,.integrations-select-repos .mini-repo-list-item:hover .owner{text-decoration:none}.integrations-select-repos .mini-repo-list-item .css-truncate-target{max-width:345px}.integrations-select-repos::-webkit-scrollbar{width:10px}.integrations-select-repos::-webkit-scrollbar-thumb{background-color:rgba(0,0,0,.5);border:solid var(--bgColor-default) 2px;border-radius:var(--borderRadius-medium);box-shadow:0 0 1px rgba(255,255,255,.5)}.integrations-select-repos::-webkit-scrollbar-track-piece{background:transparent}.integrations-repository-picker{width:440px}.select-permission-modal{width:340px}.issue-list-item+.issue-list-item{border-top:solid var(--borderWidth-thin) var(--borderColor-muted)}.issue-list-item{overflow-wrap:anywhere}.pinned-issue-item .pinned-issue-handle{cursor:grab}.pinned-issue-item.is-dragging,.pinned-issue-item.is-dragging .pinned-issue-handle{cursor:grabbing}.pinned-issue-item.is-dragging{background-color:var(--bgColor-accent-muted)}.pinned-issue-item.sortable-ghost{background-color:var(--bgColor-accent-muted);opacity:0}.issues-reset-query-wrapper{margin-bottom:var(--base-size-16)}.label-link:hover{text-decoration:none}.issues-reset-query{font-weight:var(--base-text-weight-semibold, 600);color:var(--fgColor-muted)}.issues-reset-query:hover{color:var(--fgColor-accent);text-decoration:none}.issues-reset-query:hover .issues-reset-query-icon{background-color:var(--bgColor-accent-emphasis)}.issues-reset-query-icon{width:18px;height:18px;padding:1px;margin-right:var(--base-size-4);color:var(--fgColor-onEmphasis);text-align:center;background-color:var(--bgColor-neutral-emphasis);border-radius:var(--borderRadius-medium)}.task-progress{color:var(--fgColor-muted);text-decoration:none;vertical-align:top}.task-progress .octicon{margin-right:var(--base-size-4);color:var(--fgColor-muted, #999);vertical-align:bottom}.task-progress .progress-bar{display:inline-block;width:80px;height:5px;vertical-align:2px;background-color:var(--bgColor-neutral-muted)}.task-progress .progress-bar .progress{background-color:var(--borderColor-default)}.task-progress-counts{display:inline-block;margin-right:var(--base-size-4);margin-left:-2px;font-size:12px}a.task-progress:hover{color:var(--fgColor-accent)}a.task-progress:hover .octicon{color:inherit}a.task-progress:hover .progress-bar .progress{background-color:var(--bgColor-accent-emphasis)}.issue-meta-section .octicon{color:var(--fgColor-muted, #ccc);vertical-align:bottom}.issue-milestone{max-width:240px}.issue-milestone .css-truncate-target{max-width:100px}.milestone-link .octicon{font-size:14px}.milestone-link:hover .octicon{color:inherit}.label-select-menu .description{margin-left:var(--base-size-16)}.label-select-menu .color{display:inline-block;width:14px;height:14px;margin-top:-1px;margin-right:2px;vertical-align:middle;border-radius:7px}.label-select-menu [aria-checked=true] .select-menu-item-icon,.label-select-menu [aria-checked=mixed] .select-menu-item-icon,.label-select-menu .selected .select-menu-item-icon{color:inherit !important}.label-select-menu [aria-checked=true] .octicon-circle-slash,.label-select-menu [aria-checked=mixed] .octicon-circle-slash,.label-select-menu .selected .octicon-circle-slash{color:var(--fgColor-muted)}.label-select-menu [aria-checked=true]:active,.label-select-menu [aria-checked=mixed]:active,.label-select-menu .selected:active{background-color:transparent !important}.label-select-menu .select-menu-item{position:relative}.label-select-menu .select-menu-item:hover,.label-select-menu .select-menu-item:focus,.label-select-menu .select-menu-item[aria-selected=true],.label-select-menu .select-menu-item.navigation-focus{color:inherit;background-color:var(--bgColor-neutral-muted)}.label-select-menu .select-menu-item:hover .select-menu-item-icon,.label-select-menu .select-menu-item:focus .select-menu-item-icon,.label-select-menu .select-menu-item[aria-selected=true] .select-menu-item-icon,.label-select-menu .select-menu-item.navigation-focus .select-menu-item-icon{color:transparent}.label-select-menu .select-menu-item:hover .label-options-icon,.label-select-menu .select-menu-item:focus .label-options-icon,.label-select-menu .select-menu-item[aria-selected=true] .label-options-icon,.label-select-menu .select-menu-item.navigation-focus .label-options-icon{color:inherit}.label-select-menu .select-menu-item:hover .description,.label-select-menu .select-menu-item:focus .description,.label-select-menu .select-menu-item[aria-selected=true] .description,.label-select-menu .select-menu-item.navigation-focus .description{color:var(--fgColor-default)}.label-select-menu>form{position:relative}.subnav .btn+.issues-search{padding-right:var(--base-size-8);border-right:var(--borderWidth-thin) solid var(--borderColor-muted)}.reaction-sort-item{float:left;width:39px;padding:var(--base-size-4);margin-top:var(--base-size-4);text-align:center;pointer-events:all;border:solid var(--borderWidth-thin) transparent;border-radius:var(--borderRadius-medium);opacity:.7}.reaction-sort-item:focus,.reaction-sort-item:hover{text-decoration:none;background-color:var(--bgColor-accent-emphasis);opacity:1}.reaction-sort-item[aria-checked=true]{background-color:var(--bgColor-accent-muted);border-color:var(--borderColor-accent-emphasis);opacity:1}.issue-keyword{border-bottom:var(--borderWidth-thin) dotted var(--borderColor-default)}.issue-keyword:hover{border-bottom:0}.new-label-color-dimensions{width:var(--base-size-24);height:var(--base-size-24)}.select-menu-item[aria-selected=true]>.octicon.label-options-icon,.select-menu-item.navigation-focus>.octicon.label-options-icon{color:var(--fgColor-default)}.new-label-color-input:invalid{color:var(--fgColor-danger)}.issue-form-textarea{height:100px !important;min-height:100px !important}.issue-forms-wysiwyg-container .comment-form-head{background:var(--bgColor-muted) !important}.issue-forms-wysiwyg-container .comment-body{border-bottom:0 !important}.issue-form-body>:first-child{margin-top:0 !important}.issue-create-branch-menu-action{color:var(--fgColor-default)}.issue-create-branch-menu-action:hover:not(:disabled){color:var(--fgColor-default);background-color:var(--bgColor-muted)}.issue-create-branch-menu-action:focus:not(:disabled){color:var(--fgColor-default);background-color:var(--bgColor-neutral-muted)}react-app[app-name=issues]{display:flex !important}react-app[app-name=issues]>[data-target="react-app.reactRoot"]{width:100%}.octocat-spinner{min-height:64px;background-image:url("/assets/octocat-spinner-64-5a4957be9e70.gif");background-repeat:no-repeat;background-position:center center}.octocat-spinner-32{min-height:32px;background-image:url("/assets/octocat-spinner-32-36e32e38816e.gif");background-repeat:no-repeat;background-position:center center}@media only screen and (-moz-min-device-pixel-ratio: 2),only screen and (min-device-pixel-ratio: 2),only screen and (min-resolution: 192dpi),only screen and (min-resolution: 2dppx){.octocat-spinner{background-image:url("/assets/octocat-spinner-128-9d4bc3602169.gif");background-size:64px 64px}.octocat-spinner-32{background-image:url("/assets/octocat-spinner-64-5a4957be9e70.gif");background-size:32px 32px}}.map-container .activity{top:120px;left:340px;z-index:99999}.map-container .is-graph-loading .activity{display:block}.map{height:350px}.map-background{pointer-events:all;fill:#0366d6}.map-background-zoom{cursor:grab}.map-land{fill:none;stroke:#256aae;stroke-width:2;shape-rendering:crispedges}.map-country{fill:#d7c7ad;shape-rendering:crispedges;cursor:pointer}.map-country.hk{stroke:#a5967e}.map-country:hover{fill:#c8b28e}.map-country.active{fill:#f6e5ca}.map-borders{fill:none;stroke:#a5967e;shape-rendering:crispedges}.map-graticule{pointer-events:none;fill:none;stroke:#fff;stroke-opacity:.2;shape-rendering:crispedges}.map-graticule :nth-child(2n){stroke-dasharray:2,2}.map-legend .map-legend-circle{fill-opacity:0;stroke:#fff;stroke-width:1.5}.map-legend .map-legend-text{font-size:12px;fill:#fff;text-anchor:end}.map-legend .map-legend-link{stroke:#fff;stroke-width:1.5}.map-point{pointer-events:none;fill:#f66a0a}.map-point:hover{fill:#e36209}.map-country-info{top:var(--base-size-8);right:var(--base-size-8);pointer-events:none;opacity:0}.CircleBadge--feature{position:relative;top:0;transition:top .15s ease-in,box-shadow .12s ease-in}.MarketplaceFeature{min-width:250px}.MarketplaceFeature-text{opacity:.7;transition:opacity .12s ease-in}.MarketplaceFeature-link:hover .CircleBadge--feature{top:-3px;box-shadow:0 3px 8px 0 rgba(0,0,0,.2)}.MarketplaceFeature-link:hover .MarketplaceFeature-text{opacity:1}.MarketplaceFeature-link:active .CircleBadge--feature{top:0;box-shadow:0}.ScreenshotCarousel{border:solid var(--borderWidth-thin) var(--borderColor-default);border-radius:var(--borderRadius-medium)}.ScreenshotCarousel-screenshot{padding:var(--base-size-16)}.ScreenshotCarousel-nav{display:flex;overflow-x:auto;align-items:top;box-shadow:inset 0 1px 0 var(--borderColor-default)}.ScreenshotCarousel-navitem{width:20%;min-width:120px;padding:var(--base-size-16);cursor:pointer;border-right:solid var(--borderWidth-thin) var(--borderColor-default)}.ScreenshotCarousel-navitem:last-child{border-right:0}.ScreenshotCarousel-navitem.selected{background-color:var(--bgColor-muted);box-shadow:inset 0 0 4px rgba(36,41,46,.15)}.marketplace-listing-details-sidebar{order:2}@media(min-width: 768px){.marketplace-listing-details-sidebar{order:1}}.marketplace-listing-details-description{order:1}@media(min-width: 768px){.marketplace-listing-details-description{order:2}}.marketplace-billing-modal{width:540px;max-height:90vh;margin-top:5vh}.marketplace-product-callout{border-color:var(--borderColor-default) !important}.marketplace-product-callout::before,.marketplace-product-callout::after{display:none}.marketplace-product-callout .branch-action-item-icon{color:var(--fgColor-muted);background-color:var(--bgColor-muted)}.filter-item.selected .Label--secondary{color:var(--fgColor-onEmphasis);border-color:var(--fgColor-onEmphasis)}.MarketplaceEdit-body .CircleIcon{display:inline-block;width:32px;height:32px;font-weight:var(--base-text-weight-semibold, 600);line-height:32px;color:var(--fgColor-muted);text-align:center;background:#e6ebf1;border-radius:50%}.MarketplaceEdit-body .CircleIcon .octicon{display:inline-block}.CircleBadge--tiny{width:32px;height:32px}.CircleBadge--github{position:relative}.CircleBadge--github.CircleBadge--large::after{right:5px;bottom:5px}.CircleBadge--github.CircleBadge--small::after{right:-5px;bottom:-5px}.CircleBadge--github::after{position:absolute;right:0;bottom:0;display:block;width:22px;height:22px;padding:var(--base-size-4);line-height:0;content:"";background:var(--bgColor-default) url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c3ZnIHdpZHRoPSIyMnB4IiBoZWlnaHQ9IjIycHgiIHZpZXdCb3g9IjAgMCAyMiAyMiIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj4gICAgICAgIDx0aXRsZT5TaGFwZSBDb3B5PC90aXRsZT4gICAgPGRlc2M+Q3JlYXRlZCB3aXRoIFNrZXRjaC48L2Rlc2M+ICAgIDxkZWZzPjwvZGVmcz4gICAgPGcgaWQ9IktpdGNoZW4tc2luayIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+ICAgICAgICA8ZyBpZD0iT2N0aWNvbnMiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0zNzAuMDAwMDAwLCAtMTU4NC4wMDAwMDApIiBmaWxsPSIjMUIxRjIzIj4gICAgICAgICAgICA8cGF0aCBkPSJNMzgxLDE1ODQgQzM3NC45MjI1LDE1ODQgMzcwLDE1ODguOTIyNSAzNzAsMTU5NSBDMzcwLDE1OTkuODY3NSAzNzMuMTQ4NzUsMTYwMy45Nzg3NSAzNzcuNTIxMjUsMTYwNS40MzYyNSBDMzc4LjA3MTI1LDE2MDUuNTMyNSAzNzguMjc3NSwxNjA1LjIwMjUgMzc4LjI3NzUsMTYwNC45MTM3NSBDMzc4LjI3NzUsMTYwNC42NTI1IDM3OC4yNjM3NSwxNjAzLjc4NjI1IDM3OC4yNjM3NSwxNjAyLjg2NSBDMzc1LjUsMTYwMy4zNzM3NSAzNzQuNzg1LDE2MDIuMTkxMjUgMzc0LjU2NSwxNjAxLjU3MjUgQzM3NC40NDEyNSwxNjAxLjI1NjI1IDM3My45MDUsMTYwMC4yOCAzNzMuNDM3NSwxNjAwLjAxODc1IEMzNzMuMDUyNSwxNTk5LjgxMjUgMzcyLjUwMjUsMTU5OS4zMDM3NSAzNzMuNDIzNzUsMTU5OS4yOSBDMzc0LjI5LDE1OTkuMjc2MjUgMzc0LjkwODc1LDE2MDAuMDg3NSAzNzUuMTE1LDE2MDAuNDE3NSBDMzc2LjEwNSwxNjAyLjA4MTI1IDM3Ny42ODYyNSwxNjAxLjYxMzc1IDM3OC4zMTg3NSwxNjAxLjMyNSBDMzc4LjQxNSwxNjAwLjYxIDM3OC43MDM3NSwxNjAwLjEyODc1IDM3OS4wMiwxNTk5Ljg1Mzc1IEMzNzYuNTcyNSwxNTk5LjU3ODc1IDM3NC4wMTUsMTU5OC42MyAzNzQuMDE1LDE1OTQuNDIyNSBDMzc0LjAxNSwxNTkzLjIyNjI1IDM3NC40NDEyNSwxNTkyLjIzNjI1IDM3NS4xNDI1LDE1OTEuNDY2MjUgQzM3NS4wMzI1LDE1OTEuMTkxMjUgMzc0LjY0NzUsMTU5MC4wNjM3NSAzNzUuMjUyNSwxNTg4LjU1MTI1IEMzNzUuMjUyNSwxNTg4LjU1MTI1IDM3Ni4xNzM3NSwxNTg4LjI2MjUgMzc4LjI3NzUsMTU4OS42Nzg3NSBDMzc5LjE1NzUsMTU4OS40MzEyNSAzODAuMDkyNSwxNTg5LjMwNzUgMzgxLjAyNzUsMTU4OS4zMDc1IEMzODEuOTYyNSwxNTg5LjMwNzUgMzgyLjg5NzUsMTU4OS40MzEyNSAzODMuNzc3NSwxNTg5LjY3ODc1IEMzODUuODgxMjUsMTU4OC4yNDg3NSAzODYuODAyNSwxNTg4LjU1MTI1IDM4Ni44MDI1LDE1ODguNTUxMjUgQzM4Ny40MDc1LDE1OTAuMDYzNzUgMzg3LjAyMjUsMTU5MS4xOTEyNSAzODYuOTEyNSwxNTkxLjQ2NjI1IEMzODcuNjEzNzUsMTU5Mi4yMzYyNSAzODguMDQsMTU5My4yMTI1IDM4OC4wNCwxNTk0LjQyMjUgQzM4OC4wNCwxNTk4LjY0Mzc1IDM4NS40Njg3NSwxNTk5LjU3ODc1IDM4My4wMjEyNSwxNTk5Ljg1Mzc1IEMzODMuNDIsMTYwMC4xOTc1IDM4My43NjM3NSwxNjAwLjg1NzUgMzgzLjc2Mzc1LDE2MDEuODg4NzUgQzM4My43NjM3NSwxNjAzLjM2IDM4My43NSwxNjA0LjU0MjUgMzgzLjc1LDE2MDQuOTEzNzUgQzM4My43NSwxNjA1LjIwMjUgMzgzLjk1NjI1LDE2MDUuNTQ2MjUgMzg0LjUwNjI1LDE2MDUuNDM2MjUgQzM4OC44NTEyNSwxNjAzLjk3ODc1IDM5MiwxNTk5Ljg1Mzc1IDM5MiwxNTk1IEMzOTIsMTU4OC45MjI1IDM4Ny4wNzc1LDE1ODQgMzgxLDE1ODQgTDM4MSwxNTg0IFoiIGlkPSJTaGFwZS1Db3B5Ij48L3BhdGg+ICAgICAgICA8L2c+ICAgIDwvZz48L3N2Zz4=") center no-repeat;border-radius:100px}body.page-responsive .flash-full .container{width:100%;max-width:980px}.ClipboardButton{position:relative}.ClipboardButton.ClipboardButton--success{border-color:var(--borderColor-success-emphasis);box-shadow:0 0 0 .2em rgba(52,208,88,.4)}.ClipboardButton.ClipboardButton--success:focus{box-shadow:0 0 0 .2em rgba(52,208,88,.4)}.Link--muted.filter-item.selected{color:var(--fgColor-onEmphasis) !important}.member-list-item .table-list-cell-checkbox{width:30px}.member-list-item.adminable .member-info{padding-left:var(--base-size-4)}.member-list-item .member-avatar-cell{width:64px}.triage-mode .none-selected{display:none}.merge-branch-description{margin-right:160px;margin-bottom:calc(var(--base-size-4)*-1);line-height:1.6em;color:var(--fgColor-muted)}.merge-branch-description.multi-line-error{white-space:pre-wrap}.alt-merge-options{display:inline-block;margin-bottom:0;margin-left:var(--base-size-4);vertical-align:middle}.merged .merge-branch-description .commit-ref .css-truncate-target{max-width:180px}.select-menu-merge-method{width:310px}.select-menu-merge-method .select-menu-item:hover,.select-menu-merge-method .select-menu-item:hover .octicon,.select-menu-merge-method .select-menu-item:hover .select-menu-item-text{color:var(--fgColor-onEmphasis);background-color:var(--bgColor-accent-emphasis)}.select-menu-merge-method .select-menu-item:hover .description{color:var(--fgColor-onEmphasis)}.unavailable-merge-method{display:block;margin-top:var(--base-size-4);color:var(--fgColor-severe)}[aria-selected=true].disabled .unavailable-merge-method,.navigation-focus.disabled .unavailable-merge-method{color:var(--fgColor-onEmphasis)}.network .network-tree{vertical-align:middle}.network .gravatar{margin-right:var(--base-size-4);vertical-align:middle;border-radius:var(--borderRadius-medium)}.network .octicon{display:inline-block;width:16px;margin-left:2px;text-align:center;vertical-align:middle}.owner-reponame dl.form-group{margin-top:var(--base-size-4);margin-bottom:0}.owner-reponame .slash{float:left;padding-top:var(--base-size-32);margin:0 var(--base-size-8);font-size:20px;color:var(--fgColor-muted)}.owner-reponame .form-group.errored details details-menu label{color:inherit}.owner-reponame .form-group.errored details .hack-repos-owner-summary{border-color:var(--borderColor-danger-emphasis)}.reponame-suggestion{color:var(--fgColor-success);cursor:pointer}.news .release{margin-top:0;margin-bottom:0}.news blockquote{color:var(--fgColor-muted)}.news .alert{position:relative;padding:0 0 1em 45px;overflow:hidden;border-top:var(--borderWidth-thin) solid #eff3f6}.news .alert .commits{padding-left:var(--base-size-40)}.news .alert .css-truncate.css-truncate-target,.news .alert .css-truncate .css-truncate-target{max-width:180px}.news .alert p{margin:0}.news .alert .markdown-body blockquote{padding:0 0 0 var(--base-size-40);border-width:0}.news .alert .octicon{color:var(--fgColor-muted)}.news .alert .dashboard-event-icon{position:absolute;top:18px;left:22px;transform:translateX(-50%)}.news .alert .body{padding:1em 0 0;overflow:hidden;font-size:14px;border-bottom:0}.news .alert .time{font-size:12px;color:var(--fgColor-muted)}.news .alert .title{padding:0;font-weight:var(--base-text-weight-semibold, 600)}.news .alert .title .subtle{color:var(--fgColor-muted)}.news .alert .gravatar{float:left;margin-right:.6em;line-height:0;background-color:var(--bgColor-default);border-radius:var(--borderRadius-medium)}.news .alert .simple .title{display:inline-block;font-size:14px;font-weight:var(--base-text-weight-normal, 400);color:var(--fgColor-muted)}.news .alert .simple .time{display:inline-block}.news .alert:first-child{border-top:0}.news .alert:first-child .body{padding-top:0}.news .alert:first-child .dashboard-event-icon{top:0}.news .github-welcome .done{color:var(--fgColor-muted);text-decoration:line-through}.news .commits li{margin-top:.15em;list-style-type:none}.news .commits li.more{padding-top:2px;font-size:12px}.news .commits li .committer{display:none;padding-left:.5em}.news .commits li img{margin:0 1px 0 0;vertical-align:middle;background-color:var(--bgColor-default);border-radius:var(--borderRadius-medium)}.news .commits li img.emoji{padding:0;margin:0;border:0}.news .commits li .message{display:inline-block;max-width:390px;margin-top:2px;overflow:hidden;font-size:14px;line-height:1.3;text-overflow:ellipsis;white-space:nowrap;vertical-align:top}.news div.message,.news li blockquote{display:inline;font-size:14px;color:var(--fgColor-muted)}.oauth-no-description{color:var(--fgColor-muted)}.boxed-group-inner .oauth-application-info{margin-bottom:var(--base-size-8)}.oauth-application-info .application-title{font-size:32px;color:var(--fgColor-default)}.oauth-application-info .application-description{margin-top:var(--base-size-4);margin-bottom:0}.oauth-application-info .listgroup-item{line-height:inherit}.oauth-application-info .app-denied,.oauth-application-info .app-approved{margin-left:var(--base-size-8);font-size:14px;font-weight:var(--base-text-weight-normal, 400);white-space:nowrap}.oauth-application-info .app-approved,.oauth-application-info .octicon-check{color:var(--fgColor-success)}.oauth-application-info .app-denied,.oauth-application-info .octicon-x{color:var(--fgColor-severe)}.developer-app-item .developer-app-avatar-cell{width:60px}.developer-app-item .developer-app-name{font-size:14px;font-weight:var(--base-text-weight-semibold, 600);line-height:1.25;color:var(--fgColor-default)}.developer-app-item .developer-app-name:hover{color:var(--fgColor-accent);text-decoration:none}.developer-app-item .developer-app-info-cell{padding-left:0}.developer-app-item .developer-app-list-meta{margin-top:var(--base-size-4);margin-bottom:2px;font-weight:var(--base-text-weight-normal, 400);color:var(--fgColor-muted)}.org-transfer-requests{margin:var(--base-size-8) 0 var(--base-size-16)}.toggle-secret-field .secret-standin{display:block}.toggle-secret-field .secret-field{display:none}.toggle-secret-field.open .secret-standin{display:none}.toggle-secret-field.open .secret-field{display:block}.invitation-2fa-banner{margin-right:calc(var(--base-size-24)*-1);margin-left:calc(var(--base-size-24)*-1)}.sign-up-via-invitation .bleed-flush{width:100%;padding:0 var(--base-size-16);margin-left:calc(var(--base-size-16)*-1);border-color:var(--borderColor-default)}.sign-up-via-invitation label{font-size:14px}.orghead{padding-top:var(--base-size-16);padding-bottom:0;margin-bottom:var(--base-size-16);color:var(--fgColor-default);background-color:var(--page-header-bgColor);border-bottom:solid var(--borderWidth-thin) var(--borderColor-default)}.orghead .orgnav{position:relative;top:1px;margin-top:var(--base-size-8)}.org-repos .TableObject-item--primary{white-space:normal}.org-name{font-weight:var(--base-text-weight-normal, 400);color:var(--fgColor-default)}.audit-log-search .member-info{width:300px}.audit-log-search .member-info .member-avatar{float:left;margin-right:var(--base-size-16)}.audit-log-search .member-info .member-link{display:block}.audit-log-search .member-info .member-list-avatar{margin-right:0}.audit-log-search .member-info .ghost{display:inline-block;color:var(--fgColor-muted)}.audit-log-search .blankslate{border-top-left-radius:0;border-top-right-radius:0}.audit-log-search .export-phrase{margin:var(--base-size-4) 0}.audit-results-actions{overflow:auto}.audit-search-clear{float:left;margin-bottom:var(--base-size-16);border:0}.audit-search-clear .issues-reset-query{margin-bottom:0}.audit-type{width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.audit-type .octicon{margin-right:var(--base-size-4);font-weight:var(--base-text-weight-normal, 400);vertical-align:bottom}.audit-type .repo{color:var(--fgColor-severe)}.audit-type .team{color:var(--fgColor-success)}.audit-type .user{color:var(--fgColor-done)}.audit-type .oauth_access{color:var(--fgColor-danger)}.audit-type .hook{color:#e1bf4e}.export-phrase{margin-top:var(--base-size-4)}.export-phrase pre{padding-left:var(--base-size-8);font-family:var(--fontStack-monospace, ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace);white-space:pre-wrap;border-left:var(--borderWidth-thin) solid var(--borderColor-muted)}.saml-enabled-banner-container{background-color:var(--bgColor-default)}.member-avatar{float:left;margin:1px}.auto-search-group{position:relative}.auto-search-group .auto-search-input{padding-left:var(--base-size-32)}.auto-search-group .spinner,.auto-search-group>.octicon{position:absolute;left:10px;z-index:5;width:16px;height:16px}.auto-search-group .spinner{top:9px;background-color:var(--bgColor-default)}.auto-search-group>.octicon{top:10px;font-size:14px;color:var(--fgColor-muted);text-align:center}.org-list .list-item{position:relative;padding-top:var(--base-size-16);padding-bottom:var(--base-size-16);border-bottom:var(--borderWidth-thin) solid var(--borderColor-muted)}.org-list .list-item::before{display:table;content:""}.org-list .list-item::after{display:table;clear:both;content:""}.permission-level-cell .select-menu-button{width:90px;text-align:left}.permission-level-cell .select-menu-button::after{position:absolute;top:10px;right:10px}.permission-level-cell .spinner{float:none;opacity:0;transition:opacity .2s ease-in-out}.permission-level-cell .is-loading .spinner{opacity:1}.select-menu-option-title{margin-top:0;margin-bottom:0}.reinstate-org-member{position:relative;width:500px;margin:var(--base-size-40) auto}.reinstate-org-member .reinstate-lead{margin-bottom:var(--base-size-32);font-size:16px}.reinstate-org-member label{cursor:pointer}.reinstate-org-member .reinstate-detail-container{margin:var(--base-size-16) 0}.reinstate-org-member .reinstate-title{color:var(--fgColor-default)}.reinstate-org-member .reinstate-title .octicon{width:16px;margin-right:var(--base-size-8);color:var(--fgColor-muted)}.invite-member-results ul{margin:0}.team-member-list{list-style:none}.team-member-list .table-list-cell{padding-top:var(--base-size-16);padding-bottom:var(--base-size-16)}.team-member-list .team-member-content{margin-left:50px}.team-member-list .team-member-username{margin:0;font-size:14px;font-weight:var(--base-text-weight-semibold, 600);line-height:20px}.team-member-list .Label--secondary{cursor:default}.team-member-list .invite-icon{width:28px;color:var(--fgColor-muted)}.menu-item-danger,.menu-item-danger.selected{color:var(--fgColor-danger)}.menu-item-danger:hover,.menu-item-danger[aria-selected=true],.menu-item-danger.navigation-focus,.menu-item-danger.selected:hover,.menu-item-danger.selected[aria-selected=true],.menu-item-danger.selected.navigation-focus{color:var(--fgColor-onEmphasis);background:var(--bgColor-danger-emphasis)}.team-member-list-avatar{float:left;margin-right:var(--base-size-8)}.team-member-list-avatar .octicon{width:40px;color:var(--fgColor-muted)}.confirm-removal-list-container{margin-bottom:var(--base-size-16);border:var(--borderWidth-thin) solid var(--borderColor-default);border-radius:var(--borderRadius-medium)}.confirm-removal-list-item{padding:var(--base-size-8);margin:0;font-size:14px;font-weight:var(--base-text-weight-semibold, 600);border-top:var(--borderWidth-thin) solid var(--borderColor-muted)}.confirm-removal-list-item:first-child{border-top:0}.manage-member-meta{list-style:none}.manage-member-meta-item{margin-top:var(--base-size-12);color:var(--fgColor-muted)}.manage-member-meta-item:first-child{margin-top:0}.manage-member-meta-item .btn-link{color:var(--fgColor-muted)}.manage-member-meta-item>.octicon{width:14px;margin-right:var(--base-size-4);color:var(--fgColor-muted);text-align:center}.manage-member-meta-item>.octicon-alert{color:var(--fgColor-severe)}.ldap-group-dn{display:block;font-weight:var(--base-text-weight-normal, 400);color:var(--fgColor-muted)}.team-name-field{height:33px}.invited .team-member-list{margin:calc(var(--base-size-16)*-1) 0}.invited .team-member-list .list-item{padding:var(--base-size-8) 0;border-bottom:var(--borderWidth-thin) solid var(--borderColor-muted)}.invited .team-member-list .list-item::before{display:table;content:""}.invited .team-member-list .list-item::after{display:table;clear:both;content:""}.invited .team-member-list .list-item:last-of-type{border:0}.invited .team-member-list .list-item .edit-invitation{float:right;margin-top:var(--base-size-4)}.invited-banner::before{display:table;content:""}.invited-banner::after{display:table;clear:both;content:""}.invited-banner .btn-sm{float:right;margin-left:var(--base-size-4)}.invited-banner p{font-size:14px;line-height:1.5}.invited-banner .inviter-link{font-weight:var(--base-text-weight-semibold, 600)}.manage-member-sso-sessions.has-active-sessions .blankslate{display:none}.org-menu-item:not([aria-current=page])+.org-sub-menu{display:none}.trial-banner-notice{background-image:linear-gradient(180deg, #0366d6 0%, #2188ff 100%)}@media(min-width: 768px){.Popover-message--extra-large{min-width:544px !important}}.theme-name{display:inline-block;margin-right:var(--base-size-8);margin-left:var(--base-size-8);font-size:20px;line-height:1;vertical-align:middle}.pinned-items-spinner{position:relative;top:2px;left:6px}.pinned-items-setting-link{font-size:12px;font-weight:var(--base-text-weight-normal, 400)}.pinned-item-name{color:var(--fgColor-default)}.pinned-item-checkbox+.pinned-item-name:hover{cursor:pointer;background-color:var(--control-transparent-bgColor-hover);border-radius:var(--borderRadius-medium)}.pinned-item-checkbox:disabled+.pinned-item-name{color:var(--fgColor-muted)}.pinned-item-checkbox:disabled+.pinned-item-name:hover{cursor:default}.pinned-gist-blob-num{min-width:36px;cursor:default}.pinned-gist-blob-num:hover{color:var(--fgColor-muted);cursor:default}@media print{#serverstats,.HeaderMktg,.Header,.header-search,.reponav,.comment::before,.comment::after,.footer,.pagehead-actions,.discussion-timeline-actions,.timeline-comment-actions,.timeline-new-comment,.thread-subscription-status,.lock-toggle-link,.header,.file-actions,.js-expandable-line,.gh-header-sticky,.pr-toolbar.is-placeholder,.language-color{display:none !important}.repository-lang-stats-graph{height:0}p,.comment h2{page-break-inside:avoid}.markdown-body h2{page-break-after:avoid}.topic-tag{padding:0}.topic-tag::before{margin-right:-2px;content:"#"}.blob-num{border-right:var(--borderWidth-thick) solid var(--borderColor-default)}.blob-num-deletion{border-right-color:var(--borderColor-danger-emphasis)}.blob-num-addition{border-right-color:var(--borderColor-success-emphasis)}.blob-code-addition .x{border-bottom:var(--borderWidth-thick) solid var(--borderColor-success-emphasis);border-radius:0}.blob-code-deletion .x{border-bottom:var(--borderWidth-thick) solid var(--borderColor-danger-emphasis);border-radius:0}.pr-toolbar.is-stuck{position:static !important;width:100% !important}.diffstat-block-neutral{border:var(--borderRadius-small) solid var(--borderColor-default)}.diffstat-block-deleted{border:var(--borderRadius-small) solid var(--borderColor-danger-emphasis)}.diffstat-block-added{border:var(--borderRadius-small) solid var(--borderColor-success-emphasis)}.State{color:var(--fgColor-default);background:none;border:solid var(--borderWidth-thin) var(--borderColor-default);border-color:none}.State--open{color:var(--fgColor-success);border:var(--borderWidth-thin) solid #2cbe4e}.State--merged{color:var(--fgColor-done);border:var(--borderWidth-thin) solid var(--borderColor-done-emphasis)}.State--closed{color:var(--fgColor-danger);border:var(--borderWidth-thin) solid var(--borderColor-danger-emphasis)}.markdown-body pre>code{white-space:pre-wrap}}.projects-splash-dialog{position:fixed;top:0;right:auto;left:50%;z-index:999;width:90vw;max-width:700px;max-height:80vh;margin:10vh auto;transform:translateX(-50%)}@media(min-width: 544px){.projects-splash-dialog{margin:20vh auto}}.projects-splash-banner{background-image:url("/assets/projects-beta-banner-mobile-d1fa5b9e56f6.png");background-repeat:no-repeat;background-position:left;background-size:cover}@media(min-width: 768px){.projects-splash-banner{background-image:url("/assets/projects-beta-banner-d9365bcc4da8.png")}}.projects-splash-banner p{max-width:100%}@media(min-width: 768px){.projects-splash-banner p{max-width:55%}}@media(min-width: 768px){[data-color-mode=light][data-light-theme*=dark] .projects-splash-banner,[data-color-mode=dark][data-dark-theme*=dark] .projects-splash-banner{background-image:url("/assets/projects-beta-banner-dark-fc370172a740.png")}}@media(prefers-color-scheme: light)and (min-width: 768px){[data-color-mode=auto][data-light-theme*=dark] .projects-splash-banner{background-image:url("/assets/projects-beta-banner-dark-fc370172a740.png")}}@media(prefers-color-scheme: dark)and (min-width: 768px){[data-color-mode=auto][data-dark-theme*=dark] .projects-splash-banner{background-image:url("/assets/projects-beta-banner-dark-fc370172a740.png")}}.project-description p:last-child{margin-bottom:0 !important}.pending-cards-status{top:-2px;right:-9px;width:14px;height:14px;background-image:linear-gradient(#54a3ff, #006eed);background-clip:padding-box;border:var(--borderWidth-thick) solid var(--bgColor-default)}.project-column{min-width:100%;max-width:100%;background-color:var(--bgColor-inset);border-width:0 !important;border-radius:0 !important}.project-column:focus{outline:none}@media(min-width: 544px){.project-column{min-width:355px;max-width:355px;border-width:var(--borderWidth-thin) !important;border-radius:var(--borderRadius-medium) !important}.project-column:focus{border-color:var(--borderColor-accent-emphasis) !important;box-shadow:0 0 0 2px var(--borderColor-accent-emphasis)}}.project-column.moving{background-color:var(--bgColor-accent-muted) !important;box-shadow:0 0 0 2px var(--borderColor-accent-emphasis);transform:translateX(4px) translateY(-4px)}.sortable-ghost{background-color:var(--bgColor-muted);opacity:.5}.project-card{background-color:var(--overlay-bgColor)}.project-card .project-reference-markdown>p,.project-card:last-child{margin-bottom:0 !important}.project-card:first-child{margin-top:var(--base-size-8) !important}@media(min-width: 544px){.project-card:first-child{margin-top:var(--base-size-4) !important}}.project-card ul,.project-card ol{margin-bottom:var(--base-size-8);margin-left:var(--base-size-16)}.project-card blockquote{padding:0 .75em;color:var(--fgColor-muted);border-left:.25em solid var(--borderColor-default)}.project-card .contains-task-list{margin-left:var(--base-size-24)}.project-card:hover{border-color:var(--borderColor-default) !important;box-shadow:0 1px 3px rgba(106,115,125,.3) !important}.project-card:focus{outline:none}@media(min-width: 544px){.project-card:focus{border-color:var(--borderColor-accent-emphasis) !important;box-shadow:0 0 0 2px var(--borderColor-accent-emphasis) !important}}.project-card.moving{background-color:var(--bgColor-accent-muted) !important;box-shadow:0 0 0 2px var(--borderColor-accent-emphasis) !important;transform:translateX(4px) translateY(0)}.issue-card.draggable{cursor:move}.issue-card .AvatarStack:hover .from-avatar{margin-right:calc(var(--base-size-4)*-1)}.issue-card pre{word-wrap:break-word;white-space:pre-wrap}@keyframes show-pane{0%{transform:translateX(390px)}100%{transform:translateX(0)}}.project-note-form textarea{resize:vertical}.card-menu-container .dropdown-menu,.column-menu-container .dropdown-menu{min-width:180px}.card-octicon{top:6px;left:10px}.card-note-octicon{top:var(--base-size-8)}.is-sending .auto-search-group .chooser-spinner{top:15px;right:21px;left:auto}.card-filter-autocomplete-dropdown{z-index:500;float:none;min-width:240px;max-height:270px;cursor:pointer}.card-filter-autocomplete-dropdown [aria-selected=true],.card-filter-autocomplete-dropdown .navigation-focus{color:var(--fgColor-onEmphasis) !important;background-color:var(--bgColor-accent-emphasis);border-radius:var(--borderRadius-medium)}.card-filter-autocomplete-dropdown [aria-selected=true] .autocomplete-text-qualifier,.card-filter-autocomplete-dropdown .navigation-focus .autocomplete-text-qualifier{color:var(--fgColor-onEmphasis) !important}.projects-reset-query:hover{color:var(--fgColor-muted) !important}.projects-reset-query:hover .projects-reset-query-icon{color:var(--fgColor-muted) !important}.projects-reset-query-icon{width:18px;height:18px;padding:1px}.project-small-menu-dropdown::before,.project-small-menu-dropdown::after{display:none}.project-edit-mode .column-menu-container,.project-edit-mode .column-menu-item{display:none !important}.project-edit-mode .project-move-actions{display:flex !important}.push-board-over{padding-right:0 !important;transition:all .2s ease}@media(min-width: 544px){.push-board-over{padding-right:360px !important}}.projects-comment-form .comment-md-support-link{float:none;width:100%;text-align:center}.projects-comment-form .comment-form-actions{width:100%;padding:var(--base-size-8) var(--base-size-16);margin:var(--base-size-4) 0 !important}.projects-comment-form .comment-form-actions button{width:100%;margin:var(--base-size-4) 0 !important}.projects-comment-form .comment-form-head{padding:0 !important;margin:0 !important;border-bottom:0}.projects-comment-form .comment-form-head .tabnav-tabs{padding:var(--base-size-8) var(--base-size-8) 0}.projects-comment-form .comment-form-head::after{display:block;clear:both;content:" "}.projects-comment-form .comment-form-textarea{height:250px !important}.projects-comment-form .preview-content{margin:0;border-top:var(--borderWidth-thin) solid var(--borderColor-default)}.projects-comment-form .preview-content .comment-body{padding:var(--base-size-16)}.project-issue-body-wrapper{max-height:200px;overflow:hidden}.Details--on .project-issue-body-wrapper{max-height:none;overflow:visible}.project-issue-body-blur{height:32px;background:linear-gradient(to top)}.Details--on .project-issue-body-blur{height:0}.project-comment-title-hover .comment-action,.project-comment-body-hover .comment-action{opacity:0}.project-comment-title-hover:hover .comment-action,.project-comment-body-hover:hover .comment-action{opacity:1}.project-comment-body-reaction .timeline-comment-action{padding:var(--base-size-4) var(--base-size-8)}.project-name-hover .project-name-edit-action{opacity:0}.project-name-hover:hover .project-name-edit-action{opacity:1}.project-icon path{fill:var(--fgColor-default)}.vcard-fullname{font-size:24px;line-height:1.25}.vcard-username{font-size:20px;font-style:normal;font-weight:var(--base-text-weight-light, 300);line-height:24px;color:var(--fgColor-muted)}.user-profile-bio-message{margin:var(--base-size-4) 0 0;font-size:12px;color:var(--fgColor-default)}.profile-readme .markdown-body .anchor{scroll-margin-top:64px}#package-results .package-grid{display:grid;grid-template-columns:repeat(2, 1fr);column-gap:var(--base-size-16)}@media(min-width: 1012px){#package-results .package-grid{grid-template-columns:repeat(3, 1fr)}}.user-profile-following-container .user-following-container.on .follow,.user-profile-following-container .user-following-container .unfollow{display:none}.user-profile-following-container .user-following-container .follow,.user-profile-following-container .user-following-container.on .unfollow{display:block}.user-repo-search-results-summary{white-space:normal}.pull-request-tab-content{display:none}.pull-request-tab-content.is-visible{display:block}.pull-request-ref-restore{display:none}.pull-request-ref-restore-text{display:block}.stale-files-tab{float:left;padding:var(--base-size-4) var(--base-size-8);margin-top:calc(var(--base-size-4)*-1);margin-bottom:calc(var(--base-size-4)*-1);color:var(--fgColor-severe);background-color:var(--bgColor-severe-muted);border-radius:var(--borderRadius-medium)}.stale-files-tab-link{font-weight:var(--base-text-weight-semibold, 600);color:inherit}@media(min-width: 1150px){.commit-build-statuses .status-checks-dropdown{width:500px}}.add-comment-label,.is-review-pending .start-review-label{display:none}.start-review-label,.is-review-pending .add-comment-label{display:inline-block}.is-review-pending .review-simple-reply-button{display:none}.review-comment-contents{margin-left:var(--base-size-44)}.review-comment::after,.review-comment-loader::after,.review-comment.is-comment-editing::after{position:absolute;top:31px;left:23px;z-index:-1;width:3px;height:100%;content:"";background-color:var(--bgColor-muted)}.review-comment{position:relative;padding:var(--base-size-8) var(--base-size-16);color:var(--fgColor-default)}.review-comment:first-child{padding-top:var(--base-size-16)}.review-comment:last-child{padding-bottom:var(--base-size-16)}.review-comment .comment-body,.review-comment .comment-reactions{padding:0}.review-comment .comment-body{padding-top:var(--base-size-4)}.review-comment .comment-body .suggested-change-form-container:nth-last-of-type(2){margin-bottom:0 !important}.review-comment .comment-reactions{margin-top:var(--base-size-4);border-top:0 !important}.review-comment .comment-reactions.has-reactions{margin-top:var(--base-size-12)}.review-comment .pull-review-comment-reaction .has-reactions{margin-top:var(--base-size-4)}.review-comment .show-more-popover.dropdown-menu-sw{right:-5px;margin-top:var(--base-size-4)}.review-comment:last-child::after,.review-comment:last-child .review-comment-contents::after{display:none}.review-comment .timeline-comment-action{padding:0 var(--base-size-4)}.review-comment .is-comment-editing{position:relative;background-color:var(--bgColor-default);border:solid var(--borderWidth-thin) var(--borderColor-default);border-radius:var(--borderRadius-medium)}.review-comment .is-comment-editing::after{top:100%;bottom:0;left:19px;height:20px}.review-comment .is-comment-editing .timeline-comment-actions,.review-comment .is-comment-editing .edit-comment-hide{display:none}.review-comment .is-comment-editing .previewable-comment-form{display:block}.review-comment.is-comment-loading .previewable-comment-form{opacity:.5}.pr-review-reactions .just-bottom,.pr-review-reactions .has-reactions,.pr-review-reactions .has-reactions.comment-reactions{margin-bottom:var(--base-size-16);margin-left:var(--base-size-16)}.pr-review-reactions.pr-review-reactions-no-margin .just-bottom,.pr-review-reactions.pr-review-reactions-no-margin .has-reactions,.pr-review-reactions.pr-review-reactions-no-margin .has-reactions.comment-reactions{margin-left:0}.timeline-comment.is-comment-editing .discussion-item-header{display:none}.timeline-comment.is-comment-editing .pr-review-reactions{display:none}.review-thread-reply{padding:var(--base-size-8) var(--base-size-16);background-color:var(--bgColor-muted);border-top:solid var(--borderWidth-thin) var(--borderColor-default);border-radius:0 0 var(--borderRadius-medium) var(--borderRadius-medium)}.review-thread-reply .inline-comment-form{margin:-var(--base-size-8) -var(--base-size-16);background-color:var(--bgColor-default);border:0}.review-thread-reply-button{display:inline-block;min-height:28px;padding:var(--base-size-4) var(--base-size-8);margin-left:var(--base-size-8);cursor:text}.readme.contributing>div{max-height:250px;overflow:auto}.readme .markdown-body,.readme .plain{word-wrap:break-word}.readme .plain pre{font-size:14px;white-space:pre-wrap}.file .readme table[data-table-type=yaml-metadata]{font-size:12px;line-height:1}.file .readme table[data-table-type=yaml-metadata] table{margin:0}.labels-list .blankslate{display:none}.labels-list .table-list-header{display:block}.labels-list.is-empty .blankslate{display:block}.labels-list.is-empty .table-list-header{display:none}.label-select-menu-item .g-emoji{font-size:12px;line-height:1;vertical-align:baseline}.label-edit::before{display:table;content:""}.label-edit::after{display:table;clear:both;content:""}.label-edit label{display:block;margin-bottom:var(--base-size-8)}.label-edit .error{float:left;margin-top:var(--base-size-8);margin-left:var(--base-size-8);color:var(--fgColor-danger)}.label-edit.loading{display:block}.label-characters-remaining{color:var(--fgColor-muted)}.repo-list{position:relative}.repo-list-item{position:relative;padding-top:var(--base-size-32);padding-bottom:var(--base-size-32);list-style:none;border-bottom:var(--borderWidth-thin) solid var(--borderColor-muted)}.repo-list-item-with-avatar{padding-left:42px}.repo-list-item-hanging-avatar{float:left;margin-left:-42px}.mini-repo-list-item{position:relative;display:block;padding:var(--base-size-4) var(--base-size-64) var(--base-size-4) var(--base-size-32);font-size:14px;border-top:var(--borderWidth-thin) solid var(--borderColor-default)}.mini-repo-list-item:hover{text-decoration:none}.mini-repo-list-item:hover .repo,.mini-repo-list-item:hover .owner{text-decoration:underline}.mini-repo-list-item .repo-icon{float:left;margin-top:2px;margin-left:calc(var(--base-size-16)*-1);color:var(--fgColor-muted)}.mini-repo-list-item .repo-and-owner{max-width:220px}.mini-repo-list-item .owner{max-width:110px}.mini-repo-list-item .repo{font-weight:var(--base-text-weight-semibold, 600)}.mini-repo-list-item .stars{position:absolute;top:0;right:10px;margin-top:var(--base-size-4);font-size:12px;color:var(--fgColor-muted)}.mini-repo-list-item .repo-description{display:block;max-width:100%;font-size:12px;line-height:21px;color:var(--fgColor-muted)}.private .mini-repo-list-item{background-color:var(--bgColor-attention-muted)}.private .mini-repo-list-item .repo-icon{color:var(--fgColor-attention)}.form-group.errored label .commit-ref{background-color:var(--bgColor-danger-muted)}.repo-menu-item:not([aria-current=page])+.repo-sub-menu{display:none}.repository-og-image{width:100%;max-width:640px;height:320px;object-fit:cover;object-position:center;background-repeat:no-repeat;background-position:center;background-size:cover}.line-clamp-2{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.timeout{width:auto;height:300px;padding:0;margin:var(--base-size-16) 0;background-color:transparent;border:0}.timeout h3{padding-top:100px;color:var(--fgColor-muted)}.repo-language-color{position:relative;top:1px;display:inline-block;width:12px;height:12px;border:var(--borderWidth-thin) solid var(--borderColor-translucent);border-radius:50%}.iconbutton .octicon{margin-right:0}.prereceive-feedback{padding:var(--base-size-16);margin-bottom:var(--base-size-16);border:var(--borderWidth-thin) solid #dfe2e5;border-left:var(--borderRadius-medium) solid #caa21a;border-radius:var(--borderRadius-medium)}.prereceive-feedback-heading{margin-top:0;margin-bottom:var(--base-size-8);color:var(--fgColor-attention)}.revert-error{padding:var(--base-size-16);margin-bottom:var(--base-size-16);border:var(--borderWidth-thin) solid #dfe2e5;border-left:var(--borderRadius-medium) solid #a32d35;border-radius:var(--borderRadius-medium)}.revert-error-heading{margin-top:0;margin-bottom:var(--base-size-8);color:var(--fgColor-danger)}.repository-item-checkbox:checked+.repository-item-name{background-color:var(--bgColor-accent-muted)}.custom-role-icon{background-color:var(--bgColor-muted)}.flex-react-partial{display:flex}.flex-react-partial>[data-target="react-partial.reactRoot"]{display:flex}.security-campaign-creation-button{height:32px}.recent-user-key-access{color:#1e7e34}.access-token{border-bottom:var(--borderWidth-thin) solid var(--borderColor-muted)}.access-token:last-child{border:0}.access-token .last-used{margin-right:var(--base-size-8)}.access-token.new-token{background-color:rgba(108,198,68,.1)}.access-token.new-token .octicon-check{color:var(--fgColor-success)}.access-token .token-description{max-width:450px;color:var(--fgColor-default)}.access-token .token{font-size:14px}.access-token .token-type{min-width:76px}table.security-history-detail{width:100%;font-size:12px}table.security-history-detail td{max-width:200px;word-wrap:break-word}.u2f-registration{position:relative;padding-bottom:var(--base-size-4);margin-bottom:var(--base-size-4)}.new-u2f-registration{position:relative}.new-u2f-registration .add-u2f-registration-form:not(.for-trusted-device){display:none;margin-bottom:var(--base-size-8)}.new-u2f-registration.is-active .add-u2f-registration-link{display:none}.new-u2f-registration.is-active .add-u2f-registration-form{display:block}.new-u2f-registration .webauthn-request-interaction,.new-u2f-registration .webauthn-request-error{display:none}.new-u2f-registration.is-sending .webauthn-request-interaction{display:block}.new-u2f-registration.is-showing-error .webauthn-request-error{display:block}.spinner{display:none}.is-sending .spinner{display:inline-block}.collaborators .collab-list{border-bottom-width:0}.collaborators .collab-list-item:first-child .collab-list-cell{border-top-width:0}.collaborators .collab-list-cell{padding-top:var(--base-size-16);padding-bottom:var(--base-size-16);vertical-align:middle}.collaborators .collab-meta{width:140px}.collaborators .collab-remove{padding-right:var(--base-size-16);text-align:right}.collaborators .collab-remove .remove-link{color:var(--fgColor-muted)}.collaborators .collab-remove .remove-link:hover{color:var(--fgColor-danger)}.collaborators .collab-team-link{width:300px}.collaborators .collab-team-link:hover{text-decoration:none}.collaborators .collab-team-link .avatar{float:left;margin-top:1px;margin-right:var(--base-size-8)}.collaborators .collab-team-link.disabled{pointer-events:none}.collaborators .collab-info{height:100%;color:var(--fgColor-default)}.collaborators .collab-info .description{padding-right:50px;margin-top:var(--base-size-4);margin-bottom:var(--base-size-4);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.collaborators .collab-info .collab-name{display:block;font-size:14px}.settings-next{font-size:14px;line-height:1.5}.settings-next label{font-size:14px}.settings-next .note{font-size:12px}.settings-next .form-checkbox input[type=radio],.settings-next .form-checkbox input[type=checkbox]{margin-top:var(--base-size-4)}dl.form-group>dd textarea.compact{height:100px;min-height:0}.form-hr{margin-top:var(--base-size-16);margin-bottom:var(--base-size-16);border-bottom-color:var(--borderColor-default, var(--color-border-default, #e5e5e5))}.listgroup{list-style:none;border:var(--borderWidth-thin) solid var(--borderColor-default, var(--color-border-default, #e5e5e5));border-radius:var(--borderRadius-medium)}.listgroup-item{min-height:inherit;padding:var(--base-size-8);font-size:12px;line-height:26px;color:var(--fgColor-muted)}.listgroup-item::before{display:table;content:""}.listgroup-item::after{display:table;clear:both;content:""}.listgroup-item+.listgroup-item{border-top:var(--borderWidth-thin) solid var(--borderColor-default, var(--color-border-default, #e5e5e5))}.listgroup-item .css-truncate-target{max-width:200px}.listgroup-item-title{display:block;font-weight:var(--base-text-weight-semibold, 600)}.listgroup-item-body{display:block}.listgroup-header{border-top:0;border-bottom:var(--borderWidth-thin) solid var(--borderColor-default, var(--color-border-default, #e5e5e5))}.listgroup-overflow{max-height:240px;overflow-y:auto;background-color:var(--bgColor-muted, var(--color-canvas-subtle, #f5f5f5))}.listgroup-sm .listgroup-item{padding-top:var(--base-size-4);padding-bottom:var(--base-size-4)}.user-already-added::after{display:inline-block;padding:1px var(--base-size-4);margin-left:var(--base-size-4);font-size:12px;line-height:1.4;color:var(--fgColor-onEmphasis);content:"Already added";background:var(--bgColor-severe-emphasis);border-radius:var(--borderRadius-medium)}.repository-visibility-change-warning::before{display:none}.recovery-codes-container{margin:auto;margin-top:var(--base-size-32)}@media(max-width: 400px){.recovery-codes-container{margin:var(--base-size-16)}}.two-factor-recovery-codes{margin:var(--base-size-32) 0;font-family:var(--fontStack-monospace, ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace);font-size:20px}.two-factor-recovery-code-mark{width:24px;height:24px;font-size:24px;line-height:16px;color:var(--fgColor-muted)}.two-factor-recovery-code{display:inline-block;width:48%;line-height:1.6;text-align:center}@media(max-width: 400px){.two-factor-recovery-code{width:100%}}.two-factor-recovery-code::before{position:relative;top:-3px;margin-right:var(--base-size-8);font-size:12px;color:var(--fgColor-muted);content:"●"}.recovery-codes-saving-options{margin-left:var(--base-size-32)}.recovery-codes-saving-options .recovery-code-save-button{width:115px;margin-right:var(--base-size-16);text-align:center}.recovery-codes-warning{margin:0 calc(var(--base-size-16)*-1)}.two-factor-steps{padding:var(--base-size-16) var(--base-size-16) 0;margin:var(--base-size-32) 0;border:var(--borderWidth-thin) solid var(--borderColor-default);border-radius:var(--borderRadius-medium)}.setup-form{padding-bottom:var(--base-size-16)}.setup-form .form-group.successed .error{display:none}.setup-form .form-group dd .form-control{width:100%}.setup-form .form-group dd .form-control.short{width:250px}.setup-form dd{position:relative}.setup-form dd .octicon{position:absolute;top:var(--base-size-8);right:25px}.setup-form .octicon-alert{color:var(--fgColor-danger)}.setup-form .octicon-check{color:var(--fgColor-success)}.setup-form .tos-info,.setup-form .setup-organization-next{margin:var(--base-size-16) 0;border-top:var(--borderWidth-thin) solid var(--borderColor-muted);border-bottom:var(--borderWidth-thin) solid var(--borderColor-muted)}.setup-form .tos-info{padding:var(--base-size-16) 0}.setup-form .setup-organization-next{padding-top:var(--base-size-16);padding-bottom:var(--base-size-16)}.setup-form .setup-plans{border-collapse:separate;border:var(--borderWidth-thin) solid var(--borderColor-default)}.setup-form .setup-plans tr.selected{background-color:var(--bgColor-accent-muted)}.setup-form .setup-plans .name{font-weight:var(--base-text-weight-semibold, 600)}.setup-form .setup-plans .choose-plan input[type=radio]{display:none}.setup-creditcard-form .country-form,.setup-creditcard-form .state-form{float:left;margin:0;word-wrap:normal}.setup-creditcard-form .country-form,.setup-creditcard-form .postal-code-form{margin-top:0;margin-bottom:var(--base-size-16)}.setup-creditcard-form .form-group select.select-country{width:182px;margin-right:var(--base-size-4)}.setup-creditcard-form .form-group select:invalid{color:var(--fgColor-muted)}.setup-creditcard-form .form-group select.select-state{width:113px}.setup-creditcard-form .form-group .input-vat{width:288px}.setup-creditcard-form .form-group input.input-postal-code{width:180px}.setup-creditcard-form.is-vat-country .vat-field{display:block}.setup-creditcard-form.is-international .form-group select.select-country{width:300px}.setup-creditcard-form.is-international .state-form{display:none}.setup-creditcard-form.no-postcodes .postal-code-form{display:none}.setup-creditcard-form dd .octicon-credit-card{position:inherit}.setup-creditcard-form .vat-field{display:none}.setup-creditcard-form .vat-field.prefilled{display:block}.setup-creditcard-form .help-text{font-size:80%;font-weight:var(--base-text-weight-normal, 400);color:var(--fgColor-muted)}.signup-plan-summary-subhead{border-bottom:var(--borderRadius-medium) solid}.signup-btn:disabled{opacity:.5 !important}.signup-plan-details[open] .octicon-chevron-right{height:auto;transform:rotate(90deg)}.collection-search-results em{padding:.1em;background-color:#faffa6}.draft-tag{padding:var(--base-size-4) var(--base-size-8);font-weight:var(--base-text-weight-semibold, 600);color:#eee;background-color:#404040}.showcase-page-pattern{position:relative;z-index:-1;height:100px;margin-top:calc(var(--base-size-24)*-1);margin-bottom:-70px}.showcase-page-pattern::after{position:absolute;top:0;right:0;bottom:0;left:0;display:block;content:"";background-image:linear-gradient(180deg, rgba(255, 255, 255, 0.85), white)}.showcase-page-repo-list{border-top:var(--borderWidth-thin) solid var(--borderColor-muted)}.slash-command-menu-item .command-description{color:var(--fgColor-muted)}.slash-command-menu-item[aria-selected=true]{color:var(--fgColor-onEmphasis);background-color:var(--bgColor-accent-emphasis)}.slash-command-menu-item[aria-selected=true] .command-description{color:var(--fgColor-onEmphasis)}.modal-anchor::before{position:fixed;top:0;right:0;bottom:0;left:0;z-index:99;display:block;cursor:default;content:" ";background:var(--overlay-backdrop-bgColor)}.sortable-button-item:first-of-type .sortable-button[data-direction=up],.sortable-button-item:last-of-type .sortable-button[data-direction=down]{display:none}@keyframes sponsors-progress-animation{0%{background-position:100%}100%{background-position:0%}}@keyframes circle-progress{0%{stroke-dasharray:0 100}}.sponsors-funded-dependencies-percent-circle-bg,.sponsors-funded-dependencies-percent-circle{fill:none;stroke-width:3;stroke-linecap:round}.sponsors-funded-dependencies-percent-circle-bg{stroke:var(--bgColor-done-muted)}.sponsors-funded-dependencies-percent-circle{animation:circle-progress 1s ease-out forwards}.sponsors-goal-progress-bar{background:#ec6cb9;transition:width .5s ease-in}@media(prefers-reduced-motion: no-preference){.sponsors-goal-progress-bar:hover{background:linear-gradient(90deg, #ffd33d 0%, #ea4aaa 17%, #b34bff 34%, #01feff 51%, #ffd33d 68%, #ea4aaa 85%, #b34bff 100%);background-size:300% 100%;animation:sponsors-progress-animation 2s linear infinite}}.sponsors-goals-heart-anim{width:100px;height:100px;cursor:pointer;background:url("/assets/heart-explosion-9235d9b294df.png") no-repeat;background-position:0 0;background-size:600px 100px;transition:background-position .3s steps(5);transition-duration:0s}.sponsors-goals-heart-anim.is-active{background-position:-500px 0;transition-duration:.3s}.open>.sponsors-foldable{max-height:700px}.open .sponsors-foldable-opened{display:block}.open .sponsors-foldable-closed{display:none}.sponsors-foldable{max-height:0;box-sizing:border-box;overflow-y:auto;transition:max-height .25s ease-in-out}.sponsors-foldable-opened{display:none}.sponsors-foldable-closed{display:block}.hx_status-indicator .status-indicator-spinner{display:none}.hx_status-indicator.status-indicator-loading{background-image:none}.hx_status-indicator.status-indicator-loading .status-indicator-spinner{display:inline-block}.sponsors-fold{display:none}.sponsors-unfold{display:block}.sponsors-foldable-details[open] .sponsors-fold{display:block}.sponsors-foldable-details[open] .sponsors-unfold{display:none}.tab-size[data-tab-size="1"]{tab-size:1}.tab-size[data-tab-size="2"]{tab-size:2}.tab-size[data-tab-size="3"]{tab-size:3}.tab-size[data-tab-size="4"]{tab-size:4}.tab-size[data-tab-size="5"]{tab-size:5}.tab-size[data-tab-size="6"]{tab-size:6}.tab-size[data-tab-size="7"]{tab-size:7}.tab-size[data-tab-size="8"]{tab-size:8}.tab-size[data-tab-size="9"]{tab-size:9}.tab-size[data-tab-size="10"]{tab-size:10}.tab-size[data-tab-size="11"]{tab-size:11}.tab-size[data-tab-size="12"]{tab-size:12}.team-label-ldap{display:inline-block;padding:0 var(--base-size-8);line-height:25px;color:var(--fgColor-muted);text-transform:uppercase;cursor:default;border:var(--borderWidth-thin) solid var(--borderColor-muted);border-radius:var(--borderRadius-medium);box-shadow:none}.team-label-ldap.header-label-ldap{padding:var(--base-size-4) var(--base-size-4)}.team-member-ellipsis{width:25px;height:25px;line-height:24px}.team-member-ellipsis:hover{color:var(--fgColor-accent);background:var(--bgColor-muted)}.team-listing .nested-teams-checkbox{padding-left:var(--base-size-4)}.team-listing .nested-teams-checkbox.show{padding-right:var(--base-size-12)}.team-listing .nested-teams-checkbox.indent-1{padding-left:30px}.team-listing .nested-teams-checkbox.indent-2{padding-left:54px}.team-listing .nested-teams-checkbox.indent-3{padding-left:78px}.team-listing .nested-teams-checkbox.indent-4{padding-left:102px}.team-listing .nested-teams-checkbox.indent-5{padding-left:126px}.team-listing .nested-teams-checkbox.indent-6{padding-left:150px}.team-listing .nested-teams-checkbox.indent-7{padding-left:174px}.team-listing .nested-teams-checkbox.indent-8{padding-left:198px}.team-listing .nested-teams-checkbox.indent-9{padding-left:222px}.team-listing .nested-teams-checkbox.indent-10{padding-left:246px}.team-listing .nested-teams-checkbox.indent-11{padding-left:270px}.team-listing .nested-teams-checkbox.indent-12{padding-left:294px}.team-listing .nested-teams-checkbox.indent-13{padding-left:318px}.team-listing .nested-teams-checkbox.indent-14{padding-left:342px}.team-listing .nested-teams-checkbox.indent-15{padding-left:366px}.team-listing .team-info{width:280px}.team-listing .team-short-info{width:170px}.team-listing .nested-team-info{width:650px}.team-listing .nested-team-name{max-width:268px}.team-listing .shortened-teams-avatars{margin-left:auto}.team-listing .shortened-teams-avatars.width-0{width:300px}.team-listing .shortened-teams-avatars.width-1{width:233px}.team-listing .shortened-teams-avatars.width-2{width:167px}.team-listing .shortened-teams-avatars.width-3{width:99px}.team-listing .team-members-count{width:124px}.team-listing .team-members-count-with-roles{width:110px}.team-listing .team-roles-count{width:70px}.team-listing .team-show-more-cell{width:980px}.team-listing .team-buttons{width:120px}.team-listing .octicon-wrapper{width:16px}.team-listing .is-open.root-team{background-color:var(--bgColor-muted)}.team-listing .is-open .expand-nested-team{font-weight:var(--base-text-weight-semibold, 600)}.team-listing .is-open .octicon-chevron-down{transform:rotate(180deg)}.svg-tip .date{color:var(--fgColor-onEmphasis)}.totals circle{fill:var(--borderColor-success-emphasis);stroke:var(--bgColor-default);stroke-width:2}.uniques circle{fill:var(--fgColor-accent);stroke:var(--bgColor-default);stroke-width:2}[data-dark-theme=dark_colorblind] .uniques circle,[data-dark-theme=dark_tritanopia] .uniques circle,[data-light-theme=light_colorblind] .uniques circle,[data-dark-theme=light_tritanopia] .uniques circle{fill:var(--data-pink-color-emphasis, var(--data-pink-color));outline:var(--borderWidth-thicker) solid var(--data-pink-color-emphasis, var(--data-pink-color));outline-offset:calc(var(--borderWidth-thicker)*-1)}ul.web-views li{width:140px}ul.clones li{width:170px}.TrackingBlock .TrackingBlock-list{min-height:var(--base-size-4);padding-left:0}.TrackingBlock .Label{border-color:inherit !important}.TrackingBlock .tasklist-issue-chosen-item [role=tooltip]{display:none}.TrackingBlock .tasklist-issue-chosen-item [role=tooltip]::before,.TrackingBlock .tasklist-issue-chosen-item [role=tooltip]::after{display:none}.TrackingBlock .Button--invisible:disabled{background-color:transparent}.TrackingBlock-list:not(.js-tasklist-dragging) .TrackingBlock-item:hover{background-color:var(--bgColor-muted)}.TrackingBlock-item .AvatarStack-body{background:inherit}.TrackingBlock-item .AvatarStack-body .avatar{max-width:none}.TrackingBlock-item .js-label-loading-container .Skeleton{display:inline-block;width:30px;height:18px;border-radius:2em}.TrackingBlock-item .js-label-loading-container .Skeleton:first-child{margin-right:var(--base-size-4)}.TrackingBlock-item .hide-labels{position:absolute;opacity:0}.TrackingBlock-item .js-hidden-label-counter{display:inline-block;padding:0 7px;font-size:12px;font-weight:var(--base-text-weight-medium, 500);line-height:18px;white-space:nowrap;border:1px solid transparent;border-radius:2em}.TrackingBlock-item .js-issue-template-content{margin-top:2px;opacity:.6}.TrackingBlock-item .js-issue-template-content .octicon{margin-right:var(--base-size-8)}.TrackingBlock-item .ActionListItem-label{display:flex}.TrackingBlock-item .ActionListItem-label .octicon{margin-top:var(--base-size-4)}.TrackingBlock-item:focus-visible{outline-color:var(--focus-outlineColor)}.tasklist-issue-content .no-truncate{display:flex}.tasklist-issue-content .no-truncate .issue-state-icon{margin-top:2px;margin-right:var(--base-size-8)}.tasklist-issue-content .no-truncate .issue-title{font-weight:var(--base-text-weight-normal, 400) !important}.tasklist-checkbox{display:flex;margin-top:var(--base-size-8);margin-left:.1em;align-items:flex-start}.tasklist-checkbox.read-only{padding-top:var(--base-size-4);padding-bottom:var(--base-size-4);margin-top:var(--base-size-4)}.tasklist-flex-grow{flex-grow:1}.tasklist-draft{font-size:14px;align-items:center}.tasklist-textarea-container,.tasklist-draft-title-container{display:flex;align-items:flex-start;flex-grow:1;padding:var(--base-size-4) 0}.tasklist-textarea-container>textarea{width:100%;max-height:none !important;padding:0 var(--base-size-4);margin-left:calc(var(--base-size-4)*-1);overflow:hidden;font-weight:var(--base-text-weight-normal, 400);color:var(--fgColor-default);vertical-align:middle;resize:none;background-color:inherit;border:0;box-shadow:none}.tasklist-issue-handle{display:block;float:left;padding-right:var(--base-size-4);margin-right:calc(var(--base-size-8)*-1);margin-left:calc(var(--base-size-16)*-1);color:var(--fgColor-muted);-webkit-user-select:none;user-select:none;opacity:0;flex-shrink:0}.tasklist-issue-handle.draft-handle{display:flex;align-items:flex-start;margin-top:6px}.dragger-icon{width:var(--base-size-16);padding-right:calc(var(--base-size-8)*-1);vertical-align:text-top;cursor:grab}.dragger-icon:active{cursor:grabbing}.TrackingBlock-list:not(.js-tasklist-dragging) .TrackingBlock-item:hover .tasklist-issue-handle{opacity:1}.tasklist-issue-ghost-item{opacity:0}.tasklist-omnibar{position:relative;display:flex;width:100%;margin-top:var(--base-size-8);margin-left:var(--base-size-4);flex-direction:row}.tasklist-omnibar-autocomplete-wrapper{width:100%;flex:1;margin-right:var(--base-size-8)}.tasklist-omnibar-autocomplete-wrapper .ActionListWrap{padding:var(--base-size-8);margin:0}.tasklist-omnibar-autocomplete-wrapper .ActionListItem-label .octicon{margin-right:var(--base-size-4)}.tasklist-omnibar-input-wrapper:not([open]) .Overlay{box-shadow:none}.tasklist-omnibar-input-wrapper .FormControl-input{display:inline-block;border-radius:var(--borderRadius-medium)}.tasklist-omnibar-input-wrapper .FormControl-input:focus{border-radius:var(--borderRadius-medium)}.TrackingBlock details.dropdown[disabled]{pointer-events:none;-webkit-user-select:none;user-select:none;opacity:.5}.TrackingBlock .js-item-avatar-stack[disabled],.TrackingBlock .js-label-assignee-container[disabled]{pointer-events:none;-webkit-user-select:none;user-select:none}.tracking-block [data-disabled] .tasklist-omnibar{background-color:var(--bgColor-muted)}.tracking-block [data-disabled] .tasklist-omnibar:hover{outline:none !important}.truncated-autocomplete-suggestion-title{display:inline-block;max-width:300px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:top}.edit-metadata-popover-container[data-menu-type=project] .discussion-sidebar-item{padding-top:0}.edit-metadata-popover-container[data-menu-type=project] .discussion-sidebar-heading{display:none}.edit-metadata-popover-container[data-menu-type=project] .js-discussion-sidebar-menu{position:relative !important;margin-top:0;margin-bottom:0;border-width:0}.edit-metadata-popover-container[data-menu-type=project] [role=listbox]{padding-left:0}.edit-metadata-popover-container .discussion-sidebar-item{padding-top:var(--base-size-8)}.edit-metadata-popover-container .select-menu{margin:0}.edit-metadata-popover-container .new-label-modal,.edit-metadata-popover-container .edit-labels-button{display:none !important}.edit-metadata-popover-container .Popover-message{width:unset}.edit-metadata-popover-overlay,.label-count-popover-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:80}.avatar-template,.label-template,.label-popover-template{display:none !important}.empty-avatar-icon{width:20px;height:20px;padding:2px;border:var(--borderWidth-thin) solid var(--borderColor-neutral-emphasis);border-radius:2em}.convert-to-issue-button{width:20px;height:20px;padding:2px;background-color:transparent}.tasklist-metadata-toast{position:fixed;bottom:var(--base-size-20);left:var(--base-size-20);z-index:999;opacity:0;animation:tasklist-metadata-toast-slide-in 4s forwards}.tracking-block-list-item-dropdown-menu .tracking-block-menu-btn,.tracking-block-list-item-dropdown-menu .tracking-block-item-menu-btn{border:none}.tracking-block-list-item-dropdown-menu .tracking-block-item-menu-btn{top:3px}.tracking-block-list-item-dropdown-menu [role=menu]{padding-left:var(--base-size-8);margin-bottom:0}@keyframes tasklist-metadata-toast-slide-in{0%{opacity:0;transform:translateX(-100%)}10%{opacity:1;transform:translateX(0)}80%{opacity:1;transform:translateX(0)}100%{opacity:0}}.tasklist-title-edit-button{opacity:0}.tasklist-title-container:hover .tasklist-title-edit-button{opacity:1}.add-tasklist-spinner{cursor:pointer}.add-tasklist-spinner .Button-label{display:flex;color:var(--fgColor-muted) !important;align-items:center}.add-tasklist-spinner .Button-label svg{margin-right:var(--base-size-8)}.tlb,.tlb-border,.tlb-checkbox,.tlb-header-title,.tlb-icon,.tlb-issue-reference-number,.tlb-item-title,.tlb-li,.tlb-line-height,.tlb-link-style-none,.tlb-ol,.tlb-overflow,.tlb-rounded-header,.tlb-text{display:none}.typeahead-result{position:relative;display:block;min-width:100%;padding:var(--base-size-8);margin-top:0;color:var(--fgColor-default);cursor:pointer}.typeahead-result::before{display:table;content:""}.typeahead-result::after{display:table;clear:both;content:""}.typeahead-result:first-child{border-top:0}.typeahead-result:focus,.typeahead-result:hover,.typeahead-result[aria-selected=true],.typeahead-result.navigation-focus{text-decoration:none}.typeahead-result[aria-selected=true],.typeahead-result:hover,.typeahead-result.navigation-focus{color:var(--fgColor-onEmphasis);background-color:var(--bgColor-accent-emphasis)}.typeahead-result[aria-selected=true] .octicon-plus,.typeahead-result:hover .octicon-plus,.typeahead-result.navigation-focus .octicon-plus{color:var(--fgColor-onEmphasis)}.typeahead-result.disabled{pointer-events:none;opacity:.5}.member-suggestion{padding-left:var(--base-size-44)}.member-suggestion .avatar{float:left;margin-right:var(--base-size-8);margin-left:calc(var(--base-size-32)*-1)}.member-suggestion .member-suggestion-info{width:90%;margin-top:2px;margin-bottom:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.member-suggestion .member-name{font-size:12px;color:var(--fgColor-muted)}.member-suggestion .member-email{margin-top:0;margin-bottom:0}.member-suggestion .octicon-plus,.member-suggestion .octicon-check{position:absolute;top:50%;right:15px;margin-top:calc(var(--base-size-8)*-1);color:var(--fgColor-muted)}.member-suggestion .already-member-note,.member-suggestion .non-member-note,.member-suggestion .non-member-action{margin-top:0;margin-bottom:0;color:var(--fgColor-muted)}.member-suggestion .non-member-action{display:none}.member-suggestion[aria-selected=true] .member-name,.member-suggestion[aria-selected=true] .non-member-note,.member-suggestion[aria-selected=true] .already-member-note,.member-suggestion[aria-selected=true] .non-member-action,.member-suggestion[aria-selected=true] .member-email,.member-suggestion:hover .member-name,.member-suggestion:hover .non-member-note,.member-suggestion:hover .already-member-note,.member-suggestion:hover .non-member-action,.member-suggestion:hover .member-email,.member-suggestion.navigation-focus .member-name,.member-suggestion.navigation-focus .non-member-note,.member-suggestion.navigation-focus .already-member-note,.member-suggestion.navigation-focus .non-member-action,.member-suggestion.navigation-focus .member-email{color:var(--fgColor-onEmphasis)}.member-suggestion[aria-selected=true] .non-member-note,.member-suggestion:hover .non-member-note,.member-suggestion.navigation-focus .non-member-note{display:none}.member-suggestion[aria-selected=true] .non-member-action,.member-suggestion:hover .non-member-action,.member-suggestion.navigation-focus .non-member-action{display:block}.member-suggestion[aria-selected=true] .octicon,.member-suggestion:hover .octicon,.member-suggestion.navigation-focus .octicon{color:var(--fgColor-onEmphasis)}.member-suggestion.not-a-member .member-info,.member-suggestion.disabled .member-info{margin-top:-2px}.non-member-result{padding-left:var(--base-size-32)}.email-suggestion{padding-left:var(--base-size-32)}.email-suggestion .octicon-mail{margin-left:calc(var(--base-size-16)*-1);color:var(--fgColor-muted)}.email-suggestion .member-suggestion-info{margin-top:1px}#user-content-toc{overflow:visible}#user-content-toc tr{border-top:0}#user-content-toc td{padding:0 var(--base-size-16);background-color:var(--bgColor-muted);border:0;border-radius:var(--borderRadius-medium)}#user-content-toc ul{padding-left:0;font-weight:var(--base-text-weight-semibold, 600);list-style:none}#user-content-toc ul li{padding-left:.2em}#user-content-toc ul ul{font-weight:var(--base-text-weight-normal, 400)}#user-content-toc ul ul li::before{float:left;margin-top:-0.2em;margin-right:.2em;font-size:1.2em;line-height:1;color:var(--fgColor-muted);content:"⌞"}#user-content-toc ul ul ul{padding-left:.9em}#user-content-toctitle h2{margin-top:1em;margin-bottom:.5em;font-size:1.25em;border-bottom:0}.actions-workflow-table.sticky th{position:sticky;top:0;z-index:1;background-color:var(--bgColor-default)}.actions-workflow-table th{height:auto;line-height:44px;text-align:left}.actions-workflow-table td{height:64px;padding-top:12px;padding-bottom:12px;line-height:20px}.actions-workflow-table td.compact{height:48px}.actions-workflow-table th:first-child,.actions-workflow-table td:first-child{padding-left:var(--base-size-16)}@media(min-width: 768px){.actions-workflow-table th:first-child,.actions-workflow-table td:first-child{padding-left:20px}}.actions-workflow-table th:last-child,.actions-workflow-table td:last-child{padding-right:20px}@media(max-width: 768px){.actions-fullwidth-module{position:relative;margin-right:calc(var(--base-size-16)*-1) !important;margin-left:calc(var(--base-size-16)*-1) !important;border-right:0 !important;border-left:0 !important}.actions-fullwidth-module.actions-fullwidth-module{border-radius:0 !important}.actions-fullwidth-module::after{position:absolute;right:0;bottom:-17px;left:0;z-index:0;height:var(--base-size-16);content:"";background-color:var(--bgColor-muted)}}.annotation--contracted div:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.annotation--expanded div:first-child{word-break:break-word;white-space:pre-wrap} +/*# sourceMappingURL=index.scss.map */ + +/*# sourceMappingURL=github-17a2fe56f0d0.css.map*/ \ No newline at end of file diff --git a/Shargil_VoiceToPlaylist_ 4.5 hours project - Voice Emotion Recognizer that open up a Spotify playlist according to you mood._files/github-elements-cb7d8b621a49.js.download b/Shargil_VoiceToPlaylist_ 4.5 hours project - Voice Emotion Recognizer that open up a Spotify playlist according to you mood._files/github-elements-cb7d8b621a49.js.download new file mode 100644 index 0000000000000000000000000000000000000000..ac813c4ffa84ae841fd5a28950fb2c9da7498c6a --- /dev/null +++ b/Shargil_VoiceToPlaylist_ 4.5 hours project - Voice Emotion Recognizer that open up a Spotify playlist according to you mood._files/github-elements-cb7d8b621a49.js.download @@ -0,0 +1,6 @@ +"use strict";(globalThis.webpackChunk=globalThis.webpackChunk||[]).push([["github-elements"],{33545:(e,t,i)=>{i(84209),i(20761),i(74057),i(91707),i(62044),i(90204);var n=i(94147);i(78143),i(27552),i(72705),i(81028),i(44911),i(92284),window.IncludeFragmentElement.prototype.fetch=e=>(e.headers.append("X-Requested-With","XMLHttpRequest"),window.fetch(e)),i(52558);var s=i(39595);function r(e,t,i,n){var s,r=arguments.length,a=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,i,n);else for(var o=e.length-1;o>=0;o--)(s=e[o])&&(a=(r<3?s(a):r>3?s(t,i,a):s(t,i))||a);return r>3&&a&&Object.defineProperty(t,i,a),a}let a=class GitCloneHelpElement extends HTMLElement{updateURL(e){let t=e.currentTarget,i=t.getAttribute("data-url")||"";if(this.helpField.value=i,t.matches(".js-git-protocol-clone-url"))for(let e of this.helpTexts)e.textContent=i;for(let e of this.cloneURLButtons)e.classList.remove("selected");t.classList.add("selected")}};function o(e,t,i){if(!t.has(e))throw TypeError("attempted to "+i+" private field on non-instance");return t.get(e)}function l(e,t){var i=o(e,t,"get");return i.get?i.get.call(e):i.value}function u(e,t,i){!function(e,t){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object")}(e,t),t.set(e,i)}function d(e,t,i){var n=o(e,t,"set");return!function(e,t,i){if(t.set)t.set.call(e,i);else{if(!t.writable)throw TypeError("attempted to set read only private field");t.value=i}}(e,n,i),i}r([s.aC],a.prototype,"helpField",void 0),r([s.zV],a.prototype,"helpTexts",void 0),r([s.zV],a.prototype,"cloneURLButtons",void 0),a=r([s.p_],a);var c=new WeakMap,h=new WeakMap,p=new WeakMap,m=new WeakMap;let f=class MarkedTextElement extends HTMLElement{get query(){return this.ownerInput?this.ownerInput.value:this.getAttribute("query")||""}set query(e){this.setAttribute("query",e)}get ownerInput(){let e=this.ownerDocument.getElementById(this.getAttribute("data-owner-input")||"");return e instanceof HTMLInputElement?e:null}connectedCallback(){this.handleEvent(),this.ownerInput?.addEventListener("input",this),d(this,p,new MutationObserver(()=>this.handleEvent()))}handleEvent(){l(this,m)&&cancelAnimationFrame(l(this,m)),d(this,m,requestAnimationFrame(()=>this.mark()))}disconnectedCallback(){this.ownerInput?.removeEventListener("input",this),l(this,p).disconnect()}mark(){let e=this.textContent||"",t=this.query;if(e===l(this,c)&&t===l(this,h))return;d(this,c,e),d(this,h,t),l(this,p).disconnect();let i=0,n=document.createDocumentFragment();for(let s of(this.positions||function(e,t){let i=[],n=0;for(let s=0;se.length)continue;""!==e.slice(i,s)&&n.appendChild(document.createTextNode(e.slice(i,s))),i=s+1;let t=document.createElement("mark");t.textContent=e[s],n.appendChild(t)}n.appendChild(document.createTextNode(e.slice(i))),this.replaceChildren(n),l(this,p).observe(this,{attributes:!0,childList:!0,subtree:!0})}constructor(...e){super(...e),u(this,c,{writable:!0,value:void 0}),u(this,h,{writable:!0,value:void 0}),u(this,p,{writable:!0,value:void 0}),u(this,m,{writable:!0,value:void 0}),d(this,c,""),d(this,h,"")}};f.observedAttributes=["query","data-owner-input"],window.customElements.get("marked-text")||(window.MarkedTextElement=f,window.customElements.define("marked-text",f));var g=i(72177);let v=class PasswordStrengthElement extends HTMLElement{connectedCallback(){this.addEventListener("input",b)}disconnectedCallback(){this.removeEventListener("input",b)}};function b(e){let t=e.currentTarget;if(!(t instanceof v))return;let i=e.target;if(!(i instanceof HTMLInputElement))return;let n=i.form;if(!(n instanceof HTMLFormElement))return;let s=function(e,t){let i={valid:!1,hasMinimumCharacterCount:e.length>=t.minimumCharacterCount,hasMinimumPassphraseLength:0!==t.passphraseLength&&e.length>=t.passphraseLength,hasLowerCase:/[a-z]/.test(e),hasNumber:/\d/.test(e)};return i.valid=i.hasMinimumPassphraseLength||i.hasMinimumCharacterCount&&i.hasLowerCase&&i.hasNumber,i}(i.value,{minimumCharacterCount:Number(t.getAttribute("minimum-character-count")),passphraseLength:Number(t.getAttribute("passphrase-length"))});if(s.valid){i.setCustomValidity("");let e=t.querySelector("dl.form-group");e&&(e.classList.remove("errored"),e.classList.add("successed"))}else"true"!==t.getAttribute("skip-custom-validity")&&i.setCustomValidity(t.getAttribute("invalid-message")||"Invalid");(function(e,t){let i=e.querySelector("[data-more-than-n-chars]"),n=e.querySelector("[data-min-chars]"),s=e.querySelector("[data-number-requirement]"),r=e.querySelector("[data-letter-requirement]"),a=e.getAttribute("error-class")?.split(" ").filter(e=>e.length>0)||[],o=e.getAttribute("pass-class")?.split(" ").filter(e=>e.length>0)||[];for(let e of[i,n,s,r])e?.classList.remove(...a,...o);if(t.hasMinimumPassphraseLength&&i)i.classList.add(...o);else if(t.valid)n.classList.add(...o),s.classList.add(...o),r.classList.add(...o);else{let e=t.hasMinimumCharacterCount?o:a,l=t.hasNumber?o:a,u=t.hasLowerCase?o:a;i?.classList.add(...a),n.classList.add(...e),s.classList.add(...l),r.classList.add(...u)}})(t,s),(0,g.t)(n)}function w(e,t,i,n){var s,r=arguments.length,a=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,i,n);else for(var o=e.length-1;o>=0;o--)(s=e[o])&&(a=(r<3?s(a):r>3?s(t,i,a):s(t,i))||a);return r>3&&a&&Object.defineProperty(t,i,a),a}window.customElements.get("password-strength")||(window.PasswordStrengthElement=v,window.customElements.define("password-strength",v)),i(21424);let y=class PollIncludeFragmentElement extends n.T{async fetch(e,t){let i=await super.fetch(e),n=t||this.intervalMilliseconds;(!n||isNaN(n))&&(n=1e3);let s=isNaN(this.backoffMultiplier)?1.5:this.backoffMultiplier;return 202===i.status?(await new Promise(e=>{this.pollingTimeout=setTimeout(e,n)}),this.fetch(e,n*s)):i}refetch(){return this.cancelPolling(),super.refetch()}connectedCallback(){super.connectedCallback(),this.retryButton&&this.retryButton.addEventListener("click",()=>{this.refetch()})}disconnectedCallback(){this.cancelPolling()}cancelPolling(){this.pollingTimeout&&clearTimeout(this.pollingTimeout)}constructor(...e){super(...e),this.intervalMilliseconds=1e3,this.backoffMultiplier=1.5,this.pollingTimeout=null}};w([s.aC],y.prototype,"retryButton",void 0),w([s.CF],y.prototype,"intervalMilliseconds",void 0),w([s.CF],y.prototype,"backoffMultiplier",void 0),y=w([s.p_],y);var E=i(35908);let C=e=>void 0===e||/\n/.test(e),_=["position:absolute;","overflow:auto;","word-wrap:break-word;","top:0px;","left:-9999px;"],x=["box-sizing","font-family","font-size","font-style","font-variant","font-weight","height","letter-spacing","line-height","max-height","min-height","padding-bottom","padding-left","padding-right","padding-top","border-bottom","border-left","border-right","border-top","text-decoration","text-indent","text-transform","width","word-spacing"],T=new WeakMap,L=new WeakMap,k=class SlashCommandExpander{destroy(){this.input.removeEventListener("paste",this.onpaste),this.input.removeEventListener("input",this.oninput),this.input.removeEventListener("keydown",this.onkeydown),this.input.removeEventListener("blur",this.onblur)}activate(e,t){this.input===document.activeElement&&this.setMenu(e,t)}deactivate(){let e=this.menu,t=this.combobox;return!!e&&!!t&&(this.menu=null,this.combobox=null,e.removeEventListener("combobox-commit",this.oncommit),e.removeEventListener("mousedown",this.onmousedown),t.destroy(),e.remove(),!0)}setMenu(e,t){this.deactivate(),this.menu=t,t.id||(t.id=`text-expander-${Math.floor(1e5*Math.random()).toString()}`),this.expander.append(t);let i=t.querySelector(".js-command-list-container");i?this.combobox=new E.A(this.input,i):this.combobox=new E.A(this.input,t);let{top:n,left:s}=function(e,t=e.selectionEnd){let{mirror:i,marker:n}=function(e,t){let i,n;let s=e.nodeName.toLowerCase();if("textarea"!==s&&"input"!==s)throw Error("expected textField to a textarea or input");let r=T.get(e);if(r&&r.parentElement===e.parentElement)r.textContent="";else{r=document.createElement("div"),T.set(e,r);let t=window.getComputedStyle(e),i=_.slice(0);"textarea"===s?i.push("white-space:pre-wrap;"):i.push("white-space:nowrap;");for(let e=0,n=x.length;e{i.remove()},5e3),{top:r.top-s.top,left:r.left-s.left}}(this.input,e.position),r=parseInt(window.getComputedStyle(this.input).fontSize);t.style.top=`${n+r}px`,t.style.left=`${s}px`,this.combobox.start(),t.addEventListener("combobox-commit",this.oncommit),t.addEventListener("mousedown",this.onmousedown),this.combobox.navigate(1)}setValue(e){if(null==e)return;let t=this.match;if(!t)return;let{cursor:i,value:n}=this.replaceCursorMark(e);n=n?.length===0?n:`${n} `;let s=t.position-t.key.length,r=t.position+t.text.length;this.input.focus();let a=!1;try{this.input.setSelectionRange(s,r),a=document.execCommand("insertText",!1,n)}catch{a=!1}if(!a){let e=this.input.value.substring(0,t.position-t.key.length),i=this.input.value.substring(t.position+t.text.length);this.input.value=e+n+i}this.deactivate(),i=s+(i||n.length),this.input.selectionStart=i,this.input.selectionEnd=i}replaceCursorMark(e){let t=/%cursor%/gm,i=t.exec(e);return i?{cursor:i.index,value:e.replace(t,"")}:{cursor:null,value:e}}async onCommit({target:e}){if(!(e instanceof HTMLElement)||!this.combobox)return;let t=this.match;if(!t)return;let n={item:e,key:t.key,value:null},s=new CustomEvent("text-expander-value",{cancelable:!0,detail:n}),r=!this.expander.dispatchEvent(s),{onValue:a}=await i.e("app_assets_modules_github_slash-command-expander-element_slash-command-suggester_ts").then(i.bind(i,68824));await a(this.expander,t.key,e),!r&&n.value&&this.setValue(n.value)}onBlur(){if(this.interactingWithMenu){this.interactingWithMenu=!1;return}this.deactivate()}onPaste(){this.justPasted=!0}async delay(e){return new Promise(t=>setTimeout(t,e))}async onInput(){if(this.justPasted){this.justPasted=!1;return}let e=this.findMatch();if(e){if(this.match=e,await this.delay(this.appropriateDelay()),this.match!==e)return;let t=await this.notifyProviders(e);if(!this.match)return;t?this.activate(e,t):this.deactivate()}else this.match=null,this.deactivate()}appropriateDelay(){return 250}findMatch(){let e=this.input.selectionEnd,t=this.input.value;for(let i of this.expander.getKeys()){let n=function(e,t,i){let n=e.lastIndexOf(t,i-1);if(-1===n||e.lastIndexOf(" ",i-1)>n||e.lastIndexOf("\n",i-1)>n)return;let s=e[n-1];if(!s||"\n"===s)return{word:e.substring(n+t.length,i),position:n+t.length,beginningOfLine:C(s)}}(t,i,e);if(n)return{text:n.word,key:i,position:n.position,beginningOfLine:n.beginningOfLine}}}async notifyProviders(e){let t=[],n=e=>t.push(e),s=new CustomEvent("text-expander-change",{cancelable:!0,detail:{provide:n,text:e.text,key:e.key}});if(!this.expander.dispatchEvent(s))return;let{onChange:r}=await i.e("app_assets_modules_github_slash-command-expander-element_slash-command-suggester_ts").then(i.bind(i,68824));return r(this.expander,e.key,n,e.text),(await Promise.all(t)).filter(e=>e.matched).map(e=>e.fragment)[0]}onMousedown(){this.interactingWithMenu=!0}onKeydown(e){"Escape"===e.key&&this.deactivate()&&(e.stopImmediatePropagation(),e.preventDefault())}constructor(e,t){this.expander=e,this.input=t,this.combobox=null,this.menu=null,this.match=null,this.justPasted=!1,this.oninput=this.onInput.bind(this),this.onpaste=this.onPaste.bind(this),this.onkeydown=this.onKeydown.bind(this),this.oncommit=this.onCommit.bind(this),this.onmousedown=this.onMousedown.bind(this),this.onblur=this.onBlur.bind(this),this.interactingWithMenu=!1,t.addEventListener("paste",this.onpaste),t.addEventListener("input",this.oninput),t.addEventListener("keydown",this.onkeydown),t.addEventListener("blur",this.onblur)}},M=class SlashCommandExpanderElement extends HTMLElement{getKeys(){let e=this.getAttribute("keys");return e?e.split(" "):[]}connectedCallback(){let e=this.querySelector('input[type="text"], textarea');if(!(e instanceof HTMLInputElement||e instanceof HTMLTextAreaElement))return;let t=new k(this,e);L.set(this,t)}disconnectedCallback(){let e=L.get(this);e&&(e.destroy(),L.delete(this))}setValue(e){let t=L.get(this);t&&t.setValue(e)}setMenu(e,t=!1){let i=L.get(this);i&&i.match&&(t&&(i.interactingWithMenu=!0),i.setMenu(i.match,e))}closeMenu(){let e=L.get(this);e&&e.setValue("")}isLoading(){let e=this.getElementsByClassName("js-slash-command-expander-loading")[0];if(e){let t=e.cloneNode(!0);t.classList.remove("d-none"),this.setMenu(t)}}showError(){let e=this.getElementsByClassName("js-slash-command-expander-error")[0];if(e){let t=e.cloneNode(!0);t.classList.remove("d-none"),this.setMenu(t)}}};function A(e,t,i,n){var s,r=arguments.length,a=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,i,n);else for(var o=e.length-1;o>=0;o--)(s=e[o])&&(a=(r<3?s(a):r>3?s(t,i,a):s(t,i))||a);return r>3&&a&&Object.defineProperty(t,i,a),a}window.customElements.get("slash-command-expander")||(window.SlashCommandExpanderElement=M,window.customElements.define("slash-command-expander",M));let S=class TextSuggesterElement extends HTMLElement{acceptSuggestion(){this.suggestion?.textContent&&(this.input.value=this.suggestion.textContent,this.input.dispatchEvent(new Event("input")),this.suggestionContainer&&(this.suggestionContainer.hidden=!0),this.input.focus())}};function q(e,t,i){if(!t.has(e))throw TypeError("attempted to "+i+" private field on non-instance");return t.get(e)}function I(e,t){var i=q(e,t,"get");return i.get?i.get.call(e):i.value}function P(e,t,i){!function(e,t){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object")}(e,t),t.set(e,i)}function j(e,t,i){var n=q(e,t,"set");return!function(e,t,i){if(t.set)t.set.call(e,i);else{if(!t.writable)throw TypeError("attempted to set read only private field");t.value=i}}(e,n,i),i}A([s.aC],S.prototype,"input",void 0),A([s.aC],S.prototype,"suggestionContainer",void 0),A([s.aC],S.prototype,"suggestion",void 0),S=A([s.p_],S);var O=new WeakMap,R=new WeakMap,z=new WeakMap,N=new WeakMap,F=new WeakMap,H=new WeakMap;let W=class VirtualFilterInputElement extends HTMLElement{static get observedAttributes(){return["src","loading","data-property","aria-owns"]}get filtered(){if(I(this,H))return I(this,H);if(this.hasAttribute("aria-owns")){let e=this.ownerDocument.getElementById(this.getAttribute("aria-owns")||"");e&&(e instanceof Set||e&&"object"==typeof e&&"size"in e&&"add"in e&&"delete"in e&&"clear"in e)&&j(this,H,e)}return j(this,H,I(this,H)||new Set)}set filtered(e){j(this,H,e)}get input(){return this.querySelector("input, textarea")}get src(){return this.getAttribute("src")||""}set src(e){this.setAttribute("src",e)}get loading(){return"lazy"===this.getAttribute("loading")?"lazy":"eager"}set loading(e){this.setAttribute("loading",e)}get accept(){return this.getAttribute("accept")||""}set accept(e){this.setAttribute("accept",e)}get property(){return this.getAttribute("data-property")||""}set property(e){this.setAttribute("data-property",e)}reset(){this.filtered.clear(),j(this,F,new Set)}clear(){this.input&&(this.input.value="",this.input.dispatchEvent(new Event("input")))}attributeChangedCallback(e,t,i){let n=this.isConnected&&this.src,s="eager"===this.loading,r=t!==i;("src"===e||"data-property"===e)&&r&&(j(this,z,null),I(this,N)&&clearTimeout(I(this,N))),n&&s&&("src"===e||"loading"===e||"accept"===e||"data-property"===e)&&r?(cancelAnimationFrame(I(this,R)),j(this,R,requestAnimationFrame(()=>this.load()))):"aria-owns"===e&&j(this,H,null)}connectedCallback(){this.src&&"eager"===this.loading&&(cancelAnimationFrame(I(this,R)),j(this,R,requestAnimationFrame(()=>this.load())));let e=this.input;if(!e)return;let t=this.getAttribute("aria-owns");null!==t&&this.attributeChangedCallback("aria-owns","",t),e.setAttribute("autocomplete","off"),e.setAttribute("spellcheck","false"),this.src&&"lazy"===this.loading&&(document.activeElement===e?this.load():e.addEventListener("focus",()=>{this.load()},{once:!0})),e.addEventListener("input",this)}disconnectedCallback(){this.input?.removeEventListener("input",this)}handleEvent(e){"input"===e.type&&(I(this,N)&&clearTimeout(I(this,N)),j(this,N,window.setTimeout(()=>this.filterItems(),(this.input?.value?.length,300))))}async load(){I(this,O)?.abort(),j(this,O,new AbortController);let{signal:e}=I(this,O);if(!this.src)throw Error("missing src");if(await new Promise(e=>setTimeout(e,0)),!e.aborted){this.dispatchEvent(new Event("loadstart"));try{let t=await this.fetch(this.request(),{signal:e,headers:{"X-Requested-With":"XMLHttpRequest"}});if(location.origin+this.src!==t.url)return;if(!t.ok)throw Error(`Failed to load resource: the server responded with a status of ${t.status}`);j(this,F,new Set((await t.json())[this.property])),j(this,z,null),this.dispatchEvent(new Event("loadend"))}catch(t){if(e.aborted){this.dispatchEvent(new Event("loadend"));return}throw(async()=>{this.dispatchEvent(new Event("error")),this.dispatchEvent(new Event("loadend"))})(),t}this.filtered.clear(),this.filterItems()}}request(){return new Request(this.src,{method:"GET",credentials:"same-origin",headers:{Accept:this.accept||"application/json"}})}fetch(e,t){return fetch(e,t)}filterItems(){let e;let t=this.input?.value.trim()??"",i=I(this,z);if(j(this,z,t),t!==i){for(let n of(this.dispatchEvent(new CustomEvent("virtual-filter-input-filter")),i&&t.includes(i)?e=this.filtered:(e=I(this,F),this.filtered.clear()),e))this.filter(n,t)?this.filtered.add(n):this.filtered.delete(n);this.dispatchEvent(new CustomEvent("virtual-filter-input-filtered"))}}constructor(...e){super(...e),P(this,O,{writable:!0,value:void 0}),P(this,R,{writable:!0,value:void 0}),P(this,z,{writable:!0,value:void 0}),P(this,N,{writable:!0,value:void 0}),P(this,F,{writable:!0,value:void 0}),P(this,H,{writable:!0,value:void 0}),j(this,R,0),j(this,z,null),j(this,F,new Set),j(this,H,null),this.filter=(e,t)=>String(e).includes(t)}};function B(e,t,i){if(!t.has(e))throw TypeError("attempted to "+i+" private field on non-instance");return t.get(e)}function D(e,t){var i=B(e,t,"get");return i.get?i.get.call(e):i.value}function V(e,t,i){!function(e,t){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object")}(e,t),t.set(e,i)}function $(e,t,i){var n=B(e,t,"set");return!function(e,t,i){if(t.set)t.set.call(e,i);else{if(!t.writable)throw TypeError("attempted to set read only private field");t.value=i}}(e,n,i),i}window.customElements.get("virtual-filter-input")||(window.VirtualFilterInputElement=W,window.customElements.define("virtual-filter-input",W));let U=new IntersectionObserver(e=>{for(let t of e)t.isIntersecting&&t.target instanceof et&&"eager"===t.target.updating&&t.target.update()});var Y=new WeakMap,X=new WeakMap,K=new WeakMap,G=new WeakMap,J=new WeakMap,Z=new WeakMap,Q=new WeakMap;let ee=Symbol.iterator,et=class VirtualListElement extends HTMLElement{static get observedAttributes(){return["data-updating","aria-activedescendant"]}get updating(){return"lazy"===this.getAttribute("data-updating")?"lazy":"eager"}set updating(e){this.setAttribute("data-updating",e)}get size(){return D(this,X).size}get range(){let e=this.getBoundingClientRect().height,{scrollTop:t}=this,i=`${t}-${e}`;if(D(this,J).has(i))return D(this,J).get(i);let n=0,s=0,r=0,a=0,o=D(this,K);for(let i of D(this,X)){let l=o.get(i)||D(this,G);if(r+l=e)break}return[n,s]}get list(){let e=this.querySelector("ul, ol, tbody");if(!e)throw Error("virtual-list must have a container element inside: any of