performance.mark("js-parse-end:49115-a5364b0dfe6fca7b.js"); "use strict";(globalThis.webpackChunk_github_ui_github_ui=globalThis.webpackChunk_github_ui_github_ui||[]).push([["49115"],{99893(e,n,t){t.d(n,{V:()=>u,o:()=>h});var a=t(74848),i=t(16522),r=t(39775),o=t(83223),s=t(34164);let l=[{unit:"month",ms:2592e6},{unit:"day",ms:864e5},{unit:"hour",ms:36e5},{unit:"minute",ms:6e4},{unit:"second",ms:1e3}],c=new Intl.DateTimeFormat(void 0,{year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric",second:void 0,timeZoneName:"short"}),d=new Intl.DateTimeFormat(void 0,{year:"numeric",month:"short",day:"numeric"}),m=new Intl.DateTimeFormat(void 0,{month:"short",day:"numeric"});function u(e,n=!0){let t="",a=new Date,i=a.getTime()-e.getTime(),r=l.find(e=>e.ms1?"s":""} ago`}else{let i=e.getFullYear()===a.getFullYear()?m:d;t=`${n?"on ":""}${i.format(e)}`}return t}function h(e){let n,t,l,d,m,h,_=(0,i.c)(24),{timestamp:p,usePreposition:g,linkUrl:v,className:f}=e,x=void 0===g||g;_[0]!==p||_[1]!==x?(n=u(p,x),_[0]=p,_[1]=x,_[2]=n):n=_[2];let b=n;_[3]!==p?(t=c.format(p),_[3]=p,_[4]=t):t=_[4];let w=t;if(!v){let e,n;return _[5]!==f||_[6]!==w||_[7]!==b?(e=(0,a.jsx)("span",{title:w,className:f,children:b}),_[5]=f,_[6]=w,_[7]=b,_[8]=e):e=_[8],_[9]!==w||_[10]!==e?(n=(0,a.jsx)(r.A,{inline:!0,title:w,children:e}),_[9]=w,_[10]=e,_[11]=n):n=_[11],n}return _[12]!==f?(l=(0,s.$)("Ago-module__AgoTimestampLink__Wrukn",f),_[12]=f,_[13]=l):l=_[13],_[14]!==w||_[15]!==b?(d=(0,a.jsx)("span",{title:w,className:"Ago-module__timestampText__OTeZJ",children:b}),_[14]=w,_[15]=b,_[16]=d):d=_[16],_[17]!==w||_[18]!==d?(m=(0,a.jsx)(r.A,{inline:!0,title:w,children:d}),_[17]=w,_[18]=d,_[19]=m):m=_[19],_[20]!==v||_[21]!==l||_[22]!==m?(h=(0,a.jsx)(o.A,{href:v,target:"_blank",className:l,children:m}),_[20]=v,_[21]=l,_[22]=m,_[23]=h):h=_[23],h}h.displayName="Ago"},95955(e,n,t){t.d(n,{E:()=>l,O:()=>s});var a=t(74848),i=t(16522),r=t(96540);let o=r.createContext(null);function s(){return r.use(o)}function l(e){let n,t=(0,i.c)(3),{count:r,children:s}=e;return t[0]!==s||t[1]!==r?(n=(0,a.jsx)(o,{value:r,children:s}),t[0]=s,t[1]=r,t[2]=n):n=t[2],n}o.displayName="BranchAndTagCountContext",l.displayName="BranchAndTagCountProvider"},49742(e,n,t){t.d(n,{G:()=>l,m:()=>s});var a=t(74848),i=t(16522),r=t(96540);let o=r.createContext({branches:null,channel:null,canCreatePullRequest:!0,refetch:()=>{}});function s(){return r.use(o)}function l(e){let n,t,r=(0,i.c)(8),{branches:s,channel:l,canCreatePullRequest:c,refetch:d,children:m}=e,u=void 0===c||c;r[0]!==s||r[1]!==u||r[2]!==l||r[3]!==d?(n={branches:s,channel:l,canCreatePullRequest:u,refetch:d},r[0]=s,r[1]=u,r[2]=l,r[3]=d,r[4]=n):n=r[4];let h=n;return r[5]!==m||r[6]!==h?(t=(0,a.jsx)(o,{value:h,children:m}),r[5]=m,r[6]=h,r[7]=t):t=r[7],t}o.displayName="RecentlyTouchedBranchesContext",l.displayName="RecentlyTouchedBranchesProvider"},88797(e,n,t){function a(e){return"overview"in e}t.d(n,{f:()=>i,q:()=>a});let i={README:"readme",CODE_OF_CONDUCT:"code_of_conduct",CONTRIBUTING:"contributing",LICENSE:"license",SECURITY:"security"}},69161(e,n,t){t.d(n,{Kg:()=>s,Yu:()=>l});var a=t(74848),i=t(16522),r=t(96540);let o=(0,r.createContext)(null);function s(e){let n,t,r=(0,i.c)(5),{children:s,basePageDataUrl:l}=e;r[0]!==l?(n={basePageDataUrl:l},r[0]=l,r[1]=n):n=r[1];let c=n;return r[2]!==s||r[3]!==c?(t=(0,a.jsx)(o,{value:c,children:s}),r[2]=s,r[3]=c,r[4]=t):t=r[4],t}function l(){let e=(0,r.use)(o);if(!e)throw Error("usePageDataContext must be used within a PageDataContextProvider");return e}o.displayName="PageDataContext",s.displayName="PageDataContextProvider"},49671(e,n,t){t.d(n,{e:()=>o});var a=t(16522),i=t(13759),r=t(69161);function o(e,n){let t,o=(0,a.c)(2),{basePageDataUrl:s}=(0,r.Yu)(),l=`${s}/page_data/${e}`;return n&&(l+=`?${n}`),o[0]!==l?(t=(0,i.RD)(l),o[0]=l,o[1]=t):t=o[1],t}},62764(e,n,t){t.d(n,{uT:()=>r});let a={baseComparisonInfo:"base_comparison_info",changeGroups:"change_groups",codeButton:"code_button",codeowners:"codeowners",threadPreviewPositioning:"thread_preview_positioning",diffEntries:"diff_entries",diffstat:"diffstat",header:"header",issueComments:"issue_comments",mergeBox:"merge_box",mergeInstructions:"merge_instructions",pendingReview:"pending_review",reviewRequests:"review_requests",stackRebaseStatus:"stack_rebase_status",statusChecks:"status_checks",tabCounts:"tab_counts",threadPreviews:"thread_previews",threads:"threads",diffViewUserSettings:"user_diff_view_settings",diffContextLines:"diff_entry_lines",richDiff:"rich_diff",description:"description"},i={abandonReview:"abandon_review",addCommentReaction:"add_comment_reaction",changeBase:"change_base",cleanupCodespaces:"cleanup_codespaces",convertToDraft:"convert_to_draft",createReviewComment:"create_review_comment",deleteHeadRef:"delete_head_ref",dequeuePullRequest:"dequeue_pull_request",disableAutoMerge:"disable_auto_merge",dismissReview:"dismiss_review",enableAutoMerge:"enable_auto_merge",generateChangeGroups:"generate_change_groups",markReadyForReview:"mark_ready_for_review",merge:"merge",removeCommentReaction:"remove_comment_reaction",reRequestReviewFromUser:"re_request_review_from_user",resolveThread:"resolve_thread",runActionRequiredWorkflows:"run_action_required_workflows",stackRebase:"stack_rebase",submitCopilotGroupsFeedback:"submit_copilot_groups_feedback",submitReview:"submit_review",submitSuggestedChanges:"apply_suggestions",applySuggestedChanges:"apply_review_suggestions",submitPullRequestTimelineComment:"create_timeline_comment",unresolveThread:"unresolve_thread",unstackPullRequests:"pull_request_stacks",updateReviewComment:"update_review_comment",updatePullRequestBranch:"update_pull_request_branch",updateTitle:"update_title",updateShowChangeGroupsPreference:"update_show_change_groups_preference",updateMergeBoxUserPreference:"update_merge_box_user_preference",updateWhitespacePreference:"update_whitespace_preference",hideComment:"hide_comment",unhideComment:"unhide_comment"},r={...a,...i};Object.values(a),Object.values(i)},27666(e,n,t){t.d(n,{Wx:()=>a.Wx});var a=t(53858)},93510(e,n,t){t.d(n,{ZU:()=>a.ZUJ});var a=t(70652)},77803(e,n,t){t.d(n,{A:()=>e4});var a=t(74848),i=t(16522),r=t(96540),o=t(43305),s=t(67070),l=t(53796),c=t(86011),d=t(53396),m=t(67441),u=t(69184),h=t(95955),_=t(52656),p=t(98779),g=t(51336),v=t(31595),f=t(68541),x=t(54242),b=t(36594),w=t(23666),j=t(36010),y=t(77236),N=t(31854),B=t(88015),A=t(78597),I=t(38621),C=t(21373),R=t(67323),P=t(26108),T=t(18990),O=t(10095),k=t(53257),S=t(7257),L=t(23708),D=t(20049),E=t(56792),F=t(88797),$=t(56341),M=t(7478),U=t(1761),G=t(70944),H=t(97286);function z(e){let n,t,o,s,l,c,d,m,u,h,_,p,g,v,b,j,y,N,B,C,P,T,O,k,F,z,K,X,J,ee=(0,i.c)(120),{initialFiles:en,shouldRecommendReadme:et,isPersonalRepo:ea}=e,ei=(0,x.t)(),er=(0,f.z)();ee[0]!==er.name||ee[1]!==ei.name||ee[2]!==ei.ownerLogin?(n=[ei.ownerLogin,ei.name,"overview-files",er.name],t=async()=>{let e=(0,w.IO9)({repo:{ownerLogin:ei.ownerLogin,name:ei.name},action:"overview-files",commitish:er.name}),n=await (0,A.lS)(e);return n.ok?(await n.json()).files:null},ee[0]=er.name,ee[1]=ei.name,ee[2]=ei.ownerLogin,ee[3]=n,ee[4]=t):(n=ee[3],t=ee[4]),ee[5]!==en?(o=en?.some(Z)??!1,ee[5]=en,ee[6]=o):o=ee[6],ee[7]!==n||ee[8]!==t||ee[9]!==o?(s={queryKey:n,queryFn:t,enabled:o},ee[7]=n,ee[8]=t,ee[9]=o,ee[10]=s):s=ee[10];let{data:eo}=(0,H.I)(s),es=eo||en;ee[11]!==es?(l=es?.find(Y),ee[11]=es,ee[12]=l):l=ee[12];let el=l;ee[13]!==es?(c=es?.find(Q),ee[13]=es,ee[14]=c):c=ee[14];let ec=c;ee[15]!==es?(d=es??[],ee[15]=es,ee[16]=d):d=ee[16],ee[17]!==d?(m=d.filter(V),ee[17]=d,ee[18]=m):m=ee[18];let ed=m;ee[19]!==es?(u=es?.find(W),ee[19]=es,ee[20]=u):u=ee[20];let em=u;ee[21]!==es?(h=es?.find(q),ee[21]=es,ee[22]=h):h=ee[22];let eu=h,eh="readme-ov-file";el||et||(ec?eh="coc-ov-file":eu?eh="contributing-ov-file":ed.length>0&&ed[0]?eh=`${ed[0].tabName}-1-ov-file`:em&&(eh="security-ov-file"));let[e_,ep]=(0,r.useState)(eh),eg=(0,r.useRef)(null),{canEdit:ev}=(0,E.M)();ee[23]!==ec||ee[24]!==eu||ee[25]!==ed||ee[26]!==el||ee[27]!==em||ee[28]!==et?(_=()=>{let e=[];if((el||et)&&e.push("readme-ov-file"),ec&&e.push("coc-ov-file"),eu&&e.push("contributing-ov-file"),ed.length)for(let[n,t]of ed.entries())e.push(`${t.tabName}-${n+1}-ov-file`);return em&&e.push("security-ov-file"),e},ee[23]=ec,ee[24]=eu,ee[25]=ed,ee[26]=el,ee[27]=em,ee[28]=et,ee[29]=_):_=ee[29];let ef=_,ex=(0,r.useRef)(null),eb=(0,r.useRef)(null),ew=(0,r.useRef)(null),ej=(0,r.useRef)(null);ee[30]!==ef?(p=()=>{let e=window.location.hash.replace("#",""),n=ef();if(e&&n.includes(e)){let n=`${window.location.protocol}//${window.location.host}${window.location.pathname}?tab=${e}#readme`;(0,$.bj)(n),ep(e)}else{let e=new URLSearchParams(window.location.search).get("tab");e&&n.includes(e)&&ep(e)}window.requestAnimationFrame(()=>{eg.current&&"#readme"===window.location.hash&&(eg.current.scrollIntoView(),"readme-ov-file"===e&&ex.current?ex.current.focus():"coc-ov-file"===e&&ej.current?ej.current.focus():"contributing-ov-file"===e&&eb.current?eb.current.focus():"security-ov-file"===e&&ew.current&&ew.current.focus())})},ee[30]=ef,ee[31]=p):p=ee[31];let ey=p;ee[32]!==ey?(g=()=>(ey(),window.addEventListener("hashchange",ey),()=>{window.removeEventListener("hashchange",ey)}),v=[ey],ee[32]=ey,ee[33]=g,ee[34]=v):(g=ee[33],v=ee[34]),(0,r.useEffect)(g,v),ee[35]!==e_?(b=(e,n)=>{if(e.preventDefault(),e_===n)return;ep(n);let t=`${window.location.protocol}//${window.location.host}${window.location.pathname}?tab=${n}`;(0,$.bj)(t)},ee[35]=e_,ee[36]=b):b=ee[36];let eN=b;if(!el&&!ec&&!ed.length&&!em&&!et&&!eu)return null;if(ee[37]!==ev||ee[38]!==ec||ee[39]!==eu||ee[40]!==ea||ee[41]!==ed||ee[42]!==eN||ee[43]!==el||ee[44]!==er.name||ee[45]!==ei||ee[46]!==em||ee[47]!==e_||ee[48]!==et){let e,n,t,i,r,o;j=void 0,ee[59]!==e_?(e=(e,n)=>`${e.tabName}-${n+1}-ov-file`===e_,ee[59]=e_,ee[60]=e):e=ee[60];let s=ed.find(e);if("readme-ov-file"===e_){if(el)j=el;else if(et){let e,n,t,i,r,o;ee[61]===Symbol.for("react.memo_cache_sentinel")?(e=(0,a.jsx)(G.E.Visual,{children:(0,a.jsx)(I.BookIcon,{size:"medium"})}),n=(0,a.jsx)(G.E.Heading,{children:"Add a README"}),ee[61]=e,ee[62]=n):(e=ee[61],n=ee[62]);let s=ea?"Add a README with an overview of your project.":"Help people interested in this repository understand your project.";ee[63]!==s?(t=(0,a.jsx)(G.E.Description,{children:s}),ee[63]=s,ee[64]=t):t=ee[64],ee[65]!==er.name||ee[66]!==ei?(i=(0,w.IO9)({repo:ei,path:void 0,commitish:er.name,action:"new"}),ee[65]=er.name,ee[66]=ei,ee[67]=i):i=ee[67];let l=`${i}?filename=README.md`;ee[68]!==l?(r=(0,a.jsx)(G.E.PrimaryAction,{href:l,children:"Add a README"}),ee[68]=l,ee[69]=r):r=ee[69],ee[70]!==t||ee[71]!==r?(o=(0,a.jsxs)(G.E,{children:[e,n,t,r]}),ee[70]=t,ee[71]=r,ee[72]=o):o=ee[72],J=o}}else"coc-ov-file"===e_&&ec?j=ec:"contributing-ov-file"===e_&&eu?j=eu:s?j=s:em&&(j=em);if(j&&j.path)if(j.loaded){let e;ee[74]!==e_?(e=()=>{let e=`${window.location.protocol}//${window.location.host}${window.location.pathname}?tab=${e_}${window.location.hash}`;(0,$.bj)(e)},ee[74]=e_,ee[75]=e):e=ee[75],J=(0,a.jsx)(D.e,{errorMessage:j.errorMessage,onAnchorClick:e,path:j.path,richText:j.richText,stickyHeaderHeight:50,timedOut:j.timedOut})}else{let e;ee[73]===Symbol.for("react.memo_cache_sentinel")?(e=(0,a.jsx)("div",{className:"OverviewRepoFiles-module__Box__BVWNE",children:(0,a.jsx)(M.A,{})}),ee[73]=e):e=ee[73],J=e}k="OverviewRepoFiles-module__Box_1__OXeac",T=eg,O="OverviewRepoFiles-module__Box_2__zsLGk",y=!0,N="https://schema.org/abstract",B="OverviewRepoFiles-module__Box_3__bBU1C",ee[76]!==eN||ee[77]!==el||ee[78]!==e_||ee[79]!==et?(n=(el||et)&&(0,a.jsx)(U.O.Item,{icon:I.BookIcon,ref:ex,"aria-current":"readme-ov-file"===e_?"page":void 0,onSelect:e=>eN(e,"readme-ov-file"),children:el?.tabName||"README"}),ee[76]=eN,ee[77]=el,ee[78]=e_,ee[79]=et,ee[80]=n):n=ee[80],ee[81]!==ec||ee[82]!==eN||ee[83]!==e_?(t=ec&&(0,a.jsx)(U.O.Item,{icon:I.CodeOfConductIcon,ref:ej,"aria-current":"coc-ov-file"===e_?"page":void 0,onSelect:e=>eN(e,"coc-ov-file"),children:ec?.tabName||"Code of conduct"}),ee[81]=ec,ee[82]=eN,ee[83]=e_,ee[84]=t):t=ee[84],ee[85]!==eu||ee[86]!==eN||ee[87]!==e_?(i=eu&&(0,a.jsx)(U.O.Item,{icon:I.PeopleIcon,ref:eb,"aria-current":"contributing-ov-file"===e_?"page":void 0,onSelect:e=>eN(e,"contributing-ov-file"),children:eu?.tabName||"Contributing"}),ee[85]=eu,ee[86]=eN,ee[87]=e_,ee[88]=i):i=ee[88],ee[89]!==ed||ee[90]!==eN||ee[91]!==e_?(r=ed.length?ed.map((e,n)=>{let t=`${e.tabName}-${n+1}-ov-file`;return(0,a.jsx)(U.O.Item,{icon:I.LawIcon,"aria-current":e_===t?"page":void 0,onSelect:e=>eN(e,t),children:e.tabName?.toLowerCase()!=="license"?`${e.tabName} license`:"License"},e.path)}):null,ee[89]=ed,ee[90]=eN,ee[91]=e_,ee[92]=r):r=ee[92],ee[93]!==eN||ee[94]!==em||ee[95]!==e_?(o=em&&(0,a.jsx)(U.O.Item,{icon:I.LawIcon,ref:ew,"aria-current":"security-ov-file"===e_?"page":void 0,onSelect:e=>eN(e,"security-ov-file"),children:em?.tabName||"Security policy"}),ee[93]=eN,ee[94]=em,ee[95]=e_,ee[96]=o):o=ee[96],ee[97]!==n||ee[98]!==t||ee[99]!==i||ee[100]!==r||ee[101]!==o?(C=(0,a.jsxs)(U.O,{"aria-label":"Repository files",className:"OverviewRepoFiles-module__UnderlineNav__QbWWv",children:[n,t,i,r,o]}),ee[97]=n,ee[98]=t,ee[99]=i,ee[100]=r,ee[101]=o,ee[102]=C):C=ee[102],P=ev&&j&&(0,a.jsx)(S.l,{editPath:(0,w.Nyd)({owner:ei.ownerLogin,repo:j.repoName,commitish:j.refName,filePath:j.path}),editTooltip:"Edit file",customSx:{mr:2,height:"28px"}}),ee[37]=ev,ee[38]=ec,ee[39]=eu,ee[40]=ea,ee[41]=ed,ee[42]=eN,ee[43]=el,ee[44]=er.name,ee[45]=ei,ee[46]=em,ee[47]=e_,ee[48]=et,ee[49]=j,ee[50]=y,ee[51]=N,ee[52]=B,ee[53]=C,ee[54]=P,ee[55]=T,ee[56]=O,ee[57]=k,ee[58]=J}else j=ee[49],y=ee[50],N=ee[51],B=ee[52],C=ee[53],P=ee[54],T=ee[55],O=ee[56],k=ee[57],J=ee[58];return ee[103]!==j?(F=j?.headerInfo?.toc&&j?.headerInfo?.toc?.length>=2&&(0,a.jsxs)(R.W,{children:[(0,a.jsx)(R.W.Button,{icon:I.ListUnorderedIcon,variant:"invisible","aria-label":"Outline",className:"OverviewRepoFiles-module__ActionMenu_Button__OKDYV",children:"Outline"}),(0,a.jsx)(R.W.Overlay,{align:"end",className:"OverviewRepoFiles-module__ActionMenu_Overlay__Qz9U5",children:(0,a.jsx)(L.A,{toc:j.headerInfo.toc})})]}),ee[103]=j,ee[104]=F):F=ee[104],ee[105]!==y||ee[106]!==N||ee[107]!==B||ee[108]!==C||ee[109]!==P||ee[110]!==F?(z=(0,a.jsxs)("div",{itemScope:y,itemType:N,className:B,children:[C,P,F]}),ee[105]=y,ee[106]=N,ee[107]=B,ee[108]=C,ee[109]=P,ee[110]=F,ee[111]=z):z=ee[111],ee[112]!==J||ee[113]!==T||ee[114]!==O||ee[115]!==z?(K=(0,a.jsxs)("div",{ref:T,className:O,children:[z,J]}),ee[112]=J,ee[113]=T,ee[114]=O,ee[115]=z,ee[116]=K):K=ee[116],ee[117]!==k||ee[118]!==K?(X=(0,a.jsx)("div",{className:k,children:K}),ee[117]=k,ee[118]=K,ee[119]=X):X=ee[119],X}function q(e){return e.preferredFileType===F.f.CONTRIBUTING}function W(e){return e.preferredFileType===F.f.SECURITY}function V(e){return e.preferredFileType===F.f.LICENSE}function Q(e){return e.preferredFileType===F.f.CODE_OF_CONDUCT}function Y(e){return e.preferredFileType===F.f.README}function Z(e){return!e.loaded}z.displayName="OverviewFiles";var K=t(73537),X=t(99893),J=t(59592),ee=t(59134),en=t(73077),et=t(53035),ea=t(49742);function ei(e){let n,t=(0,i.c)(3),{repo:r}=e,o=(0,et.E)();return t[0]!==o||t[1]!==r?(n=o?(0,a.jsx)(er,{repo:r}):(0,a.jsx)(eo,{repo:r}),t[0]=o,t[1]=r,t[2]=n):n=t[2],n}function er(e){let n,t=(0,i.c)(6),{repo:r}=e,{branches:o,channel:s,canCreatePullRequest:l,refetch:c}=(0,ea.m)();return s&&o?(t[0]!==s||t[1]!==o||t[2]!==l||t[3]!==c||t[4]!==r?(n=(0,a.jsx)(es,{branches:o,canCreatePullRequest:l,channel:s,fetchRecentlyTouchedBranches:c,repo:r}),t[0]=s,t[1]=o,t[2]=l,t[3]=c,t[4]=r,t[5]=n):n=t[5],n):null}function eo(e){let n,t,o,s,l,c=(0,i.c)(13),{repo:d}=e;c[0]===Symbol.for("react.memo_cache_sentinel")?(n=[],c[0]=n):n=c[0];let[m,u]=(0,r.useState)(n),[h,_]=(0,r.useState)(),[p,g]=(0,r.useState)(!0);c[1]!==d.name||c[2]!==d.ownerLogin?(t=async()=>{let e=await (0,A.lS)(`/${d.ownerLogin}/${d.name}/recently-touched-branches`);if(e.ok){let n=await e.json();n.channel&&_(n.channel),u(n.branches??[]),g(n.canCreatePullRequest??!0)}},c[1]=d.name,c[2]=d.ownerLogin,c[3]=t):t=c[3];let v=t;return(c[4]!==v?(o=()=>{v()},s=[v],c[4]=v,c[5]=o,c[6]=s):(o=c[5],s=c[6]),(0,r.useEffect)(o,s),h)?(c[7]!==h||c[8]!==m||c[9]!==p||c[10]!==v||c[11]!==d?(l=(0,a.jsx)(es,{branches:m,canCreatePullRequest:p,channel:h,fetchRecentlyTouchedBranches:v,repo:d}),c[7]=h,c[8]=m,c[9]=p,c[10]=v,c[11]=d,c[12]=l):l=c[12],l):null}function es(e){let n,t,o,s=(0,i.c)(11),{branches:l,canCreatePullRequest:c,channel:d,fetchRecentlyTouchedBranches:m,repo:u}=e,h=void 0===c||c,_=(0,r.useRef)(null);s[0]!==m?(n=()=>{null!==_.current&&window.clearTimeout(_.current),_.current=window.setTimeout(()=>{m()},500)},s[0]=m,s[1]=n):n=s[1];let p=n;if((0,J.x)(d,p),!l)return null;if(s[2]!==l||s[3]!==h||s[4]!==u){let e;s[6]!==h||s[7]!==u?(e=(e,n)=>(0,a.jsxs)(ee.A,{variant:"warning",className:"RecentlyTouchedBranches-module__Flash__reMRu",children:[(0,a.jsxs)("div",{className:"RecentlyTouchedBranches-module__Box__d6v2n",children:[(0,a.jsx)(O.A,{icon:I.GitBranchIcon,className:"RecentlyTouchedBranches-module__Octicon__PSSjA"}),(0,a.jsxs)(y.N,{to:(0,w.WJ9)({owner:e.repoOwner,repo:e.repoName,branch:e.branchName}),reloadDocument:!0,className:"text-bold",children:[u.ownerLogin!==e.repoOwner?`${e.repoOwner}:`:"",e.branchName]}),` had recent pushes ${(0,X.V)(new Date(e.date))}`]}),(0,a.jsx)(en.z,{href:e.comparePath,variant:"primary",children:h?"Compare & pull request":"Compare"})]},e.branchName+n),s[6]=h,s[7]=u,s[8]=e):e=s[8],t=l.map(e),s[2]=l,s[3]=h,s[4]=u,s[5]=t}else t=s[5];return s[9]!==t?(o=(0,a.jsx)(a.Fragment,{children:t}),s[9]=t,s[10]=o):o=s[10],o}ei.displayName="RecentlyTouchedBranches",er.displayName="RecentlyTouchedBranchesWithContext",eo.displayName="RecentlyTouchedBranchesWithFetch",es.displayName="RecentlyTouchedBranchesInner";var el=t(83223),ec=t(4925);function ed(e){let n,t,r,o,s,l,c,d,m,u,h,_,p,g,v=(0,i.c)(42),{interactionLimitBanner:f}=e,b=(0,x.t)();if(f.usersHaveAccess)n="Users that have recently created their account will be unable to interact with the repository.";else if(f.contributorsHaveAccess){let e,t,i;v[0]!==b?(e=(0,w.e87)(b),v[0]=b,v[1]=e):e=v[1],v[2]!==e?(t=(0,a.jsx)(el.A,{inline:!0,href:e,children:"committed"}),v[2]=e,v[3]=t):t=v[3],v[4]!==b.defaultBranch||v[5]!==t?(i=(0,a.jsxs)(a.Fragment,{children:["Users that have not previously"," ",t," ","to the ",b.defaultBranch," branch of this repository will be unable to interact with the repository."]}),v[4]=b.defaultBranch,v[5]=t,v[6]=i):i=v[6],n=i}else{let e,t;v[7]!==b?(e=(0,w.H1o)(b),v[7]=b,v[8]=e):e=v[8],v[9]!==e?(t=(0,a.jsxs)(a.Fragment,{children:["Users that are not"," ",(0,a.jsx)(el.A,{inline:!0,href:e,children:"collaborators"})," ","will not be able to interact with the repository."]}),v[9]=e,v[10]=t):t=v[10],n=t}v[11]===Symbol.for("react.memo_cache_sentinel")?(t=(0,a.jsx)(O.A,{icon:I.ClockIcon,className:"InterractionLimitsBanner-module__Octicon__bD0q6"}),v[11]=t):t=v[11],v[12]!==f.limitTitle?(r=(0,a.jsx)("span",{children:f.limitTitle}),v[12]=f.limitTitle,v[13]=r):r=v[13];let j=`${f.currentExpiry} remaining`;return v[14]!==j?(o=(0,a.jsx)(ec.A,{variant:"success",className:"InterractionLimitsBanner-module__Label__QP1dW",children:j}),v[14]=j,v[15]=o):o=v[15],v[16]!==r||v[17]!==o?(s=(0,a.jsxs)("div",{children:[t,r,o]}),v[16]=r,v[17]=o,v[18]=s):s=v[18],v[19]!==n?(l=(0,a.jsx)("div",{className:"InterractionLimitsBanner-module__Box__LI01T",children:(0,a.jsx)("span",{children:n})}),v[19]=n,v[20]=l):l=v[20],v[21]===Symbol.for("react.memo_cache_sentinel")?(c=(0,a.jsx)(em,{userRole:"New users",access:!1}),v[21]=c):c=v[21],v[22]!==f.usersHaveAccess?(d=(0,a.jsx)(em,{userRole:"Users",access:f.usersHaveAccess}),v[22]=f.usersHaveAccess,v[23]=d):d=v[23],v[24]!==f.contributorsHaveAccess?(m=(0,a.jsx)(em,{userRole:"Contributors",access:f.contributorsHaveAccess}),v[24]=f.contributorsHaveAccess,v[25]=m):m=v[25],v[26]===Symbol.for("react.memo_cache_sentinel")?(u=(0,a.jsx)(em,{userRole:"Collaborators",access:!0}),v[26]=u):u=v[26],v[27]!==f.inOrganization?(h=f.inOrganization&&(0,a.jsx)(em,{userRole:"Organization members",access:!0}),v[27]=f.inOrganization,v[28]=h):h=v[28],v[29]!==h||v[30]!==d||v[31]!==m?(_=(0,a.jsxs)("div",{className:"InterractionLimitsBanner-module__Box_1__yQTx9",children:[c,d,m,u,h]}),v[29]=h,v[30]=d,v[31]=m,v[32]=_):_=v[32],v[33]!==f.adminLink||v[34]!==f.adminText||v[35]!==f.disablePath?(p=f.adminText&&f.adminLink&&f.disablePath&&(0,a.jsxs)("div",{className:"InterractionLimitsBanner-module__Box_2__ybtsR",children:[(0,a.jsx)(C.Q,{onClick:async()=>{let e=new FormData;e.append("interaction_setting","NO_LIMIT"),e.append("_method","put"),f.disablePath&&await (0,A.DI)(f.disablePath,{body:e,method:"POST",redirect:"manual"}),window.location.reload()},children:"Disable"}),(0,a.jsxs)("div",{className:"InterractionLimitsBanner-module__Box_3__TIWtc",children:["\xa0or view\xa0",(0,a.jsx)(el.A,{inline:!0,href:f.adminLink,children:f.adminText})]})]}),v[33]=f.adminLink,v[34]=f.adminText,v[35]=f.disablePath,v[36]=p):p=v[36],v[37]!==_||v[38]!==p||v[39]!==s||v[40]!==l?(g=(0,a.jsxs)(ee.A,{children:[s,l,_,p]}),v[37]=_,v[38]=p,v[39]=s,v[40]=l,v[41]=g):g=v[41],g}function em(e){let n,t,r=(0,i.c)(6),{userRole:o,access:s}=e,l=s?I.CheckIcon:I.XIcon,c=s?"InterractionLimitsBanner-module__iconSuccess__vj9g_":"InterractionLimitsBanner-module__iconDanger__AhGSF";return r[0]!==l||r[1]!==c?(n=(0,a.jsx)(O.A,{icon:l,className:c}),r[0]=l,r[1]=c,r[2]=n):n=r[2],r[3]!==n||r[4]!==o?(t=(0,a.jsxs)("div",{className:"InterractionLimitsBanner-module__Box_4__z3_pV",children:[n,o]}),r[3]=n,r[4]=o,r[5]=t):t=r[5],t}ed.displayName="InterractionLimitsBanner",em.displayName="RoleInteractionIndicator";var eu=t(76071),eh=t(95126);function e_(e){let n,t,r,o,s,l,c=(0,i.c)(17),{inviterName:d}=e,m=(0,eh.yY)(),{ownerLogin:u,name:h}=(0,x.t)();return c[0]!==d?(n=(0,w.p3r)({owner:d}),c[0]=d,c[1]=n):n=c[1],c[2]!==m||c[3]!==d?(t=m("user",{login:d}),c[2]=m,c[3]=d,c[4]=t):t=c[4],c[5]!==d||c[6]!==n||c[7]!==t?(r=(0,a.jsxs)("div",{className:"PendingInvitationBanner-module__Box_1__PUhrX",children:[(0,a.jsxs)(el.A,{href:n,...t,className:"PendingInvitationBanner-module__Link__G8u_a",children:["@",d]}),"\xa0has invited you to collaborate on this repository"]}),c[5]=d,c[6]=n,c[7]=t,c[8]=r):r=c[8],c[9]!==h||c[10]!==u?(o=(0,w.Gy_)({owner:u,repo:h}),c[9]=h,c[10]=u,c[11]=o):o=c[11],c[12]!==o?(s=(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(en.z,{href:o,className:eu.A.linkButton,children:"View invitation"})}),c[12]=o,c[13]=s):s=c[13],c[14]!==r||c[15]!==s?(l=(0,a.jsx)(ee.A,{children:(0,a.jsxs)("div",{className:"PendingInvitationBanner-module__Box__pYtP3",children:[r,s]})}),c[14]=r,c[15]=s,c[16]=l):l=c[16],l}e_.displayName="PendingInvitationBanner";var ep=t(19519),eg=t(41431);function ev(e){let n,t,o,s,l,c,d,m,u,h,_=(0,i.c)(30),{helpUrl:p}=e,[g,v]=(0,r.useState)(!1),j=(0,f.z)(),y=(0,x.t)(),N=`${p}/repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets/about-rulesets`,B=(0,b.i)();_[0]!==B||_[1]!==y.id?(n=()=>{if(!B)return;let e=(0,w.jMU)({login:B.login}),n=new FormData;n.append("_method","delete"),n.append("repository_id",y.id.toString()),n.append("notice_name","sculk_protect_this_branch"),(0,A.DI)(e,{method:"POST",body:n}),v(!0)},_[0]=B,_[1]=y.id,_[2]=n):n=_[2];let C=n,{isServer:R}=(0,ep.V)();_[3]!==R||_[4]!==y?(t=ef("click_to_learn_more_about_rulesets","ref_cta:learn_more_about_rulesets",y,R),_[3]=R,_[4]=y,_[5]=t):t=_[5];let P=t;_[6]!==R||_[7]!==y?(o=ef("click_to_add_a_rule","ref_cta:protect_this_branch",y,R),_[6]=R,_[7]=y,_[8]=o):o=_[8];let T=o;_[9]!==R||_[10]!==y?(s=ef("click_to_dismiss","ref_cta:dismiss",y,R),_[9]=R,_[10]=y,_[11]=s):s=_[11];let O=s;_[12]!==y.name||_[13]!==y.ownerLogin?(l=(0,w.cmy)({owner:y.ownerLogin,repo:y.name}),_[12]=y.name,_[13]=y.ownerLogin,_[14]=l):l=_[14];let k=l;if(g)return null;_[15]===Symbol.for("react.memo_cache_sentinel")?(c=(0,a.jsx)(I.GitBranchIcon,{}),_[15]=c):c=_[15];let S=`Your ${j.name} branch isn't protected`;return _[16]!==N||_[17]!==P?(d=(0,a.jsxs)("span",{children:["Protect this branch from force pushing or deletion, or require status checks before merging.\xa0",(0,a.jsx)(el.A,{inline:!0,href:N,"data-analytics-event":P,children:"View documentation."})]}),_[16]=N,_[17]=P,_[18]=d):d=_[18],_[19]!==T||_[20]!==k?(m=(0,a.jsx)(eg.l.PrimaryAction,{as:"a",href:k,"data-analytics-event":T,children:"Protect this branch"}),_[19]=T,_[20]=k,_[21]=m):m=_[21],_[22]!==O||_[23]!==C?(u=(0,a.jsx)(eg.l.SecondaryAction,{onClick:C,"data-analytics-event":O,children:"Dismiss"}),_[22]=O,_[23]=C,_[24]=u):u=_[24],_[25]!==u||_[26]!==S||_[27]!==d||_[28]!==m?(h=(0,a.jsx)(eg.l,{icon:c,title:S,description:d,primaryAction:m,secondaryAction:u}),_[25]=u,_[26]=S,_[27]=d,_[28]=m,_[29]=h):h=_[29],h}function ef(e,n,t,a){return JSON.stringify({category:"Suggestions",action:e,label:`ref_page:${a?`https://github.com${(0,w.Do2)(t)}`:window.location};${n};ref_loc:repo files listing;`})}ev.displayName="ProtectBranchBanner";var ex=t(7231);function eb(e){let n,t,r,o,s=(0,i.c)(9),{actionSlug:l,actionId:c}=e,{sendMarketplaceActionEvent:d}=(0,ex.T)();return s[0]===Symbol.for("react.memo_cache_sentinel")?(n=(0,a.jsxs)("div",{className:"UseActionBanner-module__Box_1__zpcUD",children:[(0,a.jsxs)("div",{className:"UseActionBanner-module__Box_2__k_yu6",children:[(0,a.jsx)(O.A,{icon:I.PlayIcon,size:"small"}),(0,a.jsx)("span",{className:"UseActionBanner-module__Text__UWu1K",children:"Use this GitHub action with your project"})]}),(0,a.jsx)("span",{className:"UseActionBanner-module__Text_1__BkQuF",children:"Add this Action to an existing workflow or create a new one"})]}),s[0]=n):n=s[0],s[1]!==l?(t=(0,w.xwZ)({slug:l}),s[1]=l,s[2]=t):t=s[2],s[3]!==c||s[4]!==d?(r=()=>d("MARKETPLACE.ACTION.CLICK",{repository_action_id:c,source_url:`${window.location}`,location:"files#overview"}),s[3]=c,s[4]=d,s[5]=r):r=s[5],s[6]!==t||s[7]!==r?(o=(0,a.jsx)(ee.A,{children:(0,a.jsxs)("div",{className:"UseActionBanner-module__Box__FRbOs",children:[n,(0,a.jsx)(en.z,{href:t,className:eu.A.linkButton,onClick:r,children:"View on Marketplace"})]})}),s[6]=t,s[7]=r,s[8]=o):o=s[8],o}eb.displayName="UseActionBanner";var ew=t(61398);let ej="ImmutableActionsMigrationDialog-module__Text__vlQ9n",ey="ImmutableActionsMigrationDialog-module__Box__BdLnE",eN="ImmutableActionsMigrationDialog-module__Octicon__LBLeT";var eB=t(34164);function eA(e){let n,t,o,s,l,c,d,m,u,h,_,p,g,v,f,x,b,w,j,y,N,B,R,T,k,S=(0,i.c)(56),{repoName:L,releaseTags:D,nonSemverTags:E,migratePath:F,setMigrationDialogOpen:$,setHasUnmigratableTagsDialogOpen:M,setMigrationStatus:U}=e,G=(0,r.useRef)(null),H=D.length-E.length,[z,q]=(0,r.useState)(null),[W,V]=(0,r.useState)(0);S[0]!==W?(n=()=>{W>3&&window.location.reload()},t=[W],S[0]=W,S[1]=n,S[2]=t):(n=S[1],t=S[2]),(0,r.useEffect)(n,t),S[3]!==F||S[4]!==$||S[5]!==U?(o=async function(){let e=new FormData;(await (0,A.DI)(F,{method:"POST",body:e})).ok?(U("in_progress"),$(!1)):(q("Failed to start migration, please try again. If this error persists, please ensure you are authenticated with the organization that owns this repository."),V(eI))},S[3]=F,S[4]=$,S[5]=U,S[6]=o):o=S[6];let Q=o;return S[7]!==$?(s=()=>{$(!1),q(null)},S[7]=$,S[8]=s):s=S[8],S[9]!==E.length||S[10]!==M||S[11]!==$?(l=E.length>0&&(0,a.jsx)(P.K,{icon:I.ArrowLeftIcon,size:"small",className:(0,eB.$)("mr-2","ImmutableActionsMigrationDialog-module__IconButton__lPw1Z"),"aria-labelledby":"back",variant:"invisible","data-testid":"ia-migration-back",onClick:()=>{$(!1),M(!0),q(null)}}),S[9]=E.length,S[10]=M,S[11]=$,S[12]=l):l=S[12],S[13]===Symbol.for("react.memo_cache_sentinel")?(c=(0,a.jsx)("span",{"data-testid":"ia-migration-title",className:ej,children:"Create immutable action"}),S[13]=c):c=S[13],S[14]!==l?(d=(0,a.jsxs)("div",{className:"d-flex",children:[l,c]}),S[14]=l,S[15]=d):d=S[15],S[16]!==Q||S[17]!==$?(m=()=>(0,a.jsxs)(ew.l.Footer,{children:[(0,a.jsx)(el.A,{href:"https://docs.github.com/actions",className:"ImmutableActionsMigrationDialog-module__Link__i1lI4",children:"Learn more"}),(0,a.jsx)(C.Q,{type:"button",onClick:()=>$(!1),children:"Cancel"}),(0,a.jsx)(C.Q,{type:"submit",variant:"primary",onClick:Q,"data-testid":"ia-migration-button-dialog",children:"Create immutable action"})]}),S[16]=Q,S[17]=$,S[18]=m):m=S[18],S[19]!==z?(u=z&&(0,a.jsx)(ee.A,{variant:"danger",className:"tmp-mb-3",children:z}),S[19]=z,S[20]=u):u=S[20],S[21]===Symbol.for("react.memo_cache_sentinel")?(h={margin:"auto",justifyContent:"center"},S[21]=h):h=S[21],S[22]===Symbol.for("react.memo_cache_sentinel")?(_=(0,a.jsx)(O.A,{icon:I.TagIcon,size:16,className:(0,eB.$)("mr-1",eN)}),S[22]=_):_=S[22],S[23]!==H?(p=eC("tag",H),S[23]=H,S[24]=p):p=S[24],S[25]!==p?(g=(0,a.jsxs)("div",{className:ey,children:[_,p]}),S[25]=p,S[26]=g):g=S[26],S[27]===Symbol.for("react.memo_cache_sentinel")?(v=(0,a.jsx)(O.A,{icon:I.ArrowRightIcon,size:16,className:(0,eB.$)("mx-2",ej)}),S[27]=v):v=S[27],S[28]===Symbol.for("react.memo_cache_sentinel")?(f=(0,a.jsx)(O.A,{icon:I.PackageIcon,size:16,className:(0,eB.$)("mr-1",eN)}),S[28]=f):f=S[28],S[29]!==H?(x=eC("version",H),S[29]=H,S[30]=x):x=S[30],S[31]!==x?(b=(0,a.jsxs)("div",{className:ey,children:[f,x]}),S[31]=x,S[32]=b):b=S[32],S[33]!==g||S[34]!==b?(w=(0,a.jsxs)("div",{className:"d-flex my-2",style:h,children:[g,v,b]}),S[33]=g,S[34]=b,S[35]=w):w=S[35],S[36]!==H||S[37]!==D.length?(j=(0,a.jsxs)("strong",{children:[H," out of ",D.length," tags"]}),S[36]=H,S[37]=D.length,S[38]=j):j=S[38],S[39]!==L?(y=(0,a.jsx)("strong",{children:L}),S[39]=L,S[40]=y):y=S[40],S[41]!==j||S[42]!==y?(N=(0,a.jsxs)("p",{children:[j," ","from ",y," will be recreated as immutable package versions."]}),S[41]=j,S[42]=y,S[43]=N):N=S[43],S[44]===Symbol.for("react.memo_cache_sentinel")?(B=(0,a.jsx)("p",{children:"After this process you can activate your package, at which point references to semantic versions of your action will be resolved from immutable package versions rather than git references. Non-semantic version references to your action will continue to be resolved from git references."}),S[44]=B):B=S[44],S[45]!==N?(R=(0,a.jsxs)("div",{children:[N,B]}),S[45]=N,S[46]=R):R=S[46],S[47]!==w||S[48]!==R||S[49]!==u?(T=(0,a.jsxs)("div",{"data-testid":"inner",children:[u,w,R]}),S[47]=w,S[48]=R,S[49]=u,S[50]=T):T=S[50],S[51]!==T||S[52]!==s||S[53]!==d||S[54]!==m?(k=(0,a.jsx)(ew.l,{returnFocusRef:G,onClose:s,width:"large","aria-labelledby":"header",title:d,renderFooter:m,children:T}),S[51]=T,S[52]=s,S[53]=d,S[54]=m,S[55]=k):k=S[55],k}function eI(e){return e+1}function eC(e,n){return`${n} ${e}${n>1?"s":""}`}eA.displayName="ImmutableActionsMigrationDialog";function eR(e){var n;let t,o,s,l,c,d,m,u,h,_=(0,i.c)(23),{releaseTags:p,nonSemverTags:g,setMigrationDialogOpen:v,setHasUnmigratableTagsDialogOpen:f}=e,x=(0,r.useRef)(null);return _[0]!==f?(t=()=>f(!1),_[0]=f,_[1]=t):t=_[1],_[2]===Symbol.for("react.memo_cache_sentinel")?(o=(0,a.jsx)("div",{"data-testid":"ia-unmigratable-tags-title",children:"Non-semantic version tags found"}),_[2]=o):o=_[2],_[3]!==f||_[4]!==v?(s=()=>(0,a.jsxs)(ew.l.Footer,{children:[(0,a.jsx)(C.Q,{type:"button",onClick:()=>f(!1),children:"Cancel"}),(0,a.jsx)(C.Q,{type:"button",variant:"primary",onClick:()=>{f(!1),v(!0)},children:"Continue anyways"})]}),_[3]=f,_[4]=v,_[5]=s):s=_[5],_[6]!==g.length||_[7]!==p?(l=g.length>0&&(0,a.jsxs)("p",{children:[(0,a.jsxs)("strong",{children:[g.length," out of ",p.length," ",(n=p.length,`tag${n>1?"s":""}`)]})," ","cannot be recreated because they did not follow semantic versioning at the time of their release. To include these tags, re-release these versions following semantic versioning. You can still continue with the migration process without re-releasing these versions, but they will not be recreated as immutable package versions."]}),_[6]=g.length,_[7]=p,_[8]=l):l=_[8],_[9]!==g.length?(c=g.length>100&&(0,a.jsxs)("p",{children:["Only the first ",100," invalid tags are listed."]}),_[9]=g.length,_[10]=c):c=_[10],_[11]!==l||_[12]!==c?(d=(0,a.jsxs)("div",{className:"mb-2",children:[l,c]}),_[11]=l,_[12]=c,_[13]=d):d=_[13],_[14]!==g?(m=g.length>0&&(0,a.jsx)("div",{children:(0,a.jsx)("ul",{className:"list-style-none",children:g.slice(0,100).map(eP)})}),_[14]=g,_[15]=m):m=_[15],_[16]!==d||_[17]!==m?(u=(0,a.jsxs)("div",{children:[d,m]}),_[16]=d,_[17]=m,_[18]=u):u=_[18],_[19]!==t||_[20]!==s||_[21]!==u?(h=(0,a.jsx)(ew.l,{returnFocusRef:x,onClose:t,width:"large","aria-labelledby":"header",title:o,renderFooter:s,children:u}),_[19]=t,_[20]=s,_[21]=u,_[22]=h):h=_[22],h}function eP(e){return(0,a.jsxs)("li",{children:[(0,a.jsx)(O.A,{icon:I.XIcon,className:(0,eB.$)("mr-1","ImmutableActionsHasUnmigratableTagsDialog-module__Octicon__qVNUA")}),e]},e)}eR.displayName="ImmutableActionsHasUnmigratableTagsDialog";let eT=/^(?0|[1-9]\d*)\.(?0|[1-9]\d*)\.(?0|[1-9]\d*)(?:-(?(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+(?[0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$/,eO="ImmutableActionsMigrationBanner-module__Box_1__SfIE2",ek="ImmutableActionsMigrationBanner-module__Box_2__s0fQv";function eS(e){let n,t,o,s,l,c,d,m,u,h=(0,i.c)(34),{releaseTags:_,initialMigrationStatus:p}=e,[g,v]=(0,r.useState)(!1),[f,b]=(0,r.useState)(!1),[j,y]=(0,r.useState)(p),N=(0,r.useRef)(null),B=(0,x.t)();h[0]!==B.name||h[1]!==B.ownerLogin?(n=(0,w.CF0)({owner:B.ownerLogin,repo:B.name}),h[0]=B.name,h[1]=B.ownerLogin,h[2]=n):n=h[2];let A=n;h[3]!==B.name||h[4]!==B.ownerLogin?(t=(0,w.wHS)({owner:B.ownerLogin,repo:B.name}),h[3]=B.name,h[4]=B.ownerLogin,h[5]=t):t=h[5];let I=t;h[6]!==_?(o=_.filter(eL),h[6]=_,h[7]=o):o=h[7];let R=o,P="failed"===j?"Immutable Action Migration Failed":"Make your GitHub Action Immutable",T="failed"===j?"One or more of your tags failed to be migrated to immutable action versions. You can try the migration again to migrate the remaining tags. ":"Upgrade to a newer, more secure, and more reliable way of releasing and referencing GitHub Actions by recreating your existing tags as immutable package versions. ",O="failed"===j?"Retry migration":"Create immutable action";return h[8]!==j||h[9]!==I?(s="in_progress"===j&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:eO,children:(0,a.jsx)("div",{className:ek,children:"Your Action is being migrated to an immutable package version."})}),(0,a.jsx)("div",{children:(0,a.jsx)(C.Q,{as:"a",href:I,"data-testid":"ia-migration-progress-button",children:"View progress"})})]}),h[8]=j,h[9]=I,h[10]=s):s=h[10],h[11]!==T||h[12]!==P||h[13]!==O||h[14]!==j||h[15]!==R?(l=(null===j||"failed"===j)&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:eO,children:[(0,a.jsx)("div",{className:ek,children:(0,a.jsx)("span",{className:"ImmutableActionsMigrationBanner-module__Text__cXAOG",children:P})}),(0,a.jsxs)("span",{className:"ImmutableActionsMigrationBanner-module__Text_1__btDax",children:[T,(0,a.jsx)(el.A,{inline:!0,target:"_blank",href:"https://docs.github.com/actions",children:"Learn more about immutable actions."})]})]}),(0,a.jsx)("div",{children:(0,a.jsx)(C.Q,{ref:N,"data-testid":"ia-migration-button-banner",onClick:()=>{R.length>0?b(!0):v(!0)},children:O})})]}),h[11]=T,h[12]=P,h[13]=O,h[14]=j,h[15]=R,h[16]=l):l=h[16],h[17]!==s||h[18]!==l?(c=(0,a.jsxs)("div",{className:"ImmutableActionsMigrationBanner-module__Box__E35kc",children:[s,l]}),h[17]=s,h[18]=l,h[19]=c):c=h[19],h[20]!==f||h[21]!==R||h[22]!==_?(d=f&&(0,a.jsx)(eR,{releaseTags:_,nonSemverTags:R,setMigrationDialogOpen:v,setHasUnmigratableTagsDialogOpen:b}),h[20]=f,h[21]=R,h[22]=_,h[23]=d):d=h[23],h[24]!==g||h[25]!==A||h[26]!==R||h[27]!==_||h[28]!==B.name?(m=g&&(0,a.jsx)(eA,{repoName:B.name,releaseTags:_,nonSemverTags:R,migratePath:A,setMigrationDialogOpen:v,setHasUnmigratableTagsDialogOpen:b,setMigrationStatus:y}),h[24]=g,h[25]=A,h[26]=R,h[27]=_,h[28]=B.name,h[29]=m):m=h[29],h[30]!==c||h[31]!==d||h[32]!==m?(u=(0,a.jsxs)(ee.A,{children:[c,d,m]}),h[30]=c,h[31]=d,h[32]=m,h[33]=u):u=h[33],u}function eL(e){let n;return n=e.replace(/^v/,""),!eT.test(n)}eS.displayName="ImmutableActionsMigrationBanner";let eD={vite:"Vite app",astro:"Astro app",nextjs:"Next.js app",gatsby:"Gatsby site",nuxtjs:"Nuxt.js app",eleventy:"Eleventy site"};function eE(e){let n,t,o,s,l,c,d,m,u,h,_=(0,i.c)(29),{detectedStack:p}=e,[g,v]=(0,r.useState)(!1),f=(0,b.i)(),j=(0,x.t)(),y=p?.framework??void 0,N=p?.packageManager??void 0;_[0]!==j.name||_[1]!==j.ownerLogin||_[2]!==y||_[3]!==N?(n=(0,w.jzr)({owner:j.ownerLogin,repo:j.name,framework:y,packageManager:N}),_[0]=j.name,_[1]=j.ownerLogin,_[2]=y,_[3]=N,_[4]=n):n=_[4];let B=n;_[5]!==f||_[6]!==j.id?(t=async()=>{if(!f)return;let e=(0,w.jMU)({login:f.login}),n=new FormData;n.append("_method","delete"),n.append("repository_id",j.id.toString()),n.append("notice_name","deploy_to_pages_banner");try{await (0,A.DI)(e,{method:"POST",body:n})}catch{}v(!0)},_[5]=f,_[6]=j.id,_[7]=t):t=_[7];let C=t,{isServer:R}=(0,ep.V)(),T=p?.framework,O=`Deploy your ${T&&T in eD?eD[T]:"project"} to GitHub Pages`;_[8]!==R||_[9]!==j?(o=eF("click_to_deploy","ref_cta:deploy",j,R),_[8]=R,_[9]=j,_[10]=o):o=_[10];let k=o;_[11]!==R||_[12]!==j?(s=eF("click_to_dismiss","ref_cta:dismiss",j,R),_[11]=R,_[12]=j,_[13]=s):s=_[13];let S=s;return g?null:(_[14]===Symbol.for("react.memo_cache_sentinel")?(l=(0,a.jsx)(I.RocketIcon,{}),_[14]=l):l=_[14],_[15]!==O?(c=(0,a.jsx)("span",{className:"text-normal",children:O}),_[15]=O,_[16]=c):c=_[16],_[17]!==k||_[18]!==B?(d=(0,a.jsx)(eg.l.PrimaryAction,{as:"a",href:B,"data-analytics-event":k,children:"Deploy"}),_[17]=k,_[18]=B,_[19]=d):d=_[19],_[20]!==S||_[21]!==C?(m=(0,a.jsx)(P.K,{icon:I.XIcon,onClick:C,variant:"invisible","aria-label":"Dismiss deploy banner","data-analytics-event":S}),_[20]=S,_[21]=C,_[22]=m):m=_[22],_[23]!==m||_[24]!==d?(u=(0,a.jsxs)("span",{className:"d-flex items-center gap-2",children:[d,m]}),_[23]=m,_[24]=d,_[25]=u):u=_[25],_[26]!==u||_[27]!==c?(h=(0,a.jsx)(eg.l,{icon:l,title:c,primaryAction:u}),_[26]=u,_[27]=c,_[28]=h):h=_[28],h)}function eF(e,n,t,a){return JSON.stringify({category:"Deploy to Pages",action:e,label:`ref_page:${a?`https://github.com${(0,w.Do2)(t)}`:window.location};${n};ref_loc:repo files listing;`})}eE.displayName="DeployBanner";var e$=t(59217),eM=t(41594),eU=t(5825),eG=t(52318);function eH(e){let n,t,r,o=(0,i.c)(9),{payload:s}=e,l=(0,x.t)(),c=(0,b.i)(),d=(0,et.E)();return o[0]!==l||o[1]!==c?(n=c&&(0,a.jsx)(ei,{repo:l}),o[0]=l,o[1]=c,o[2]=n):n=o[2],o[3]!==d||o[4]!==s.overview?(t=d?(0,a.jsx)(ez,{overview:s.overview}):(0,a.jsx)(eq,{overview:s.overview}),o[3]=d,o[4]=s.overview,o[5]=t):t=o[5],o[6]!==n||o[7]!==t?(r=(0,a.jsxs)("div",{className:"OverviewHeader-module__Box__cC1RH",children:[n,t]}),o[6]=n,o[7]=t,o[8]=r):r=o[8],r}function ez(e){let n,t=(0,i.c)(3),{overview:r}=e,{latestCommit:o}=(0,eG.h)(),s=o?.isSpoofed??!1;return t[0]!==s||t[1]!==r?(n=(0,a.jsx)(eW,{overview:r,isSpoofed:s}),t[0]=s,t[1]=r,t[2]=n):n=t[2],n}function eq(e){let n,t=(0,i.c)(3),{overview:r}=e,o=(0,eU.QU)();return t[0]!==o||t[1]!==r?(n=(0,a.jsx)(eW,{overview:r,isSpoofed:o}),t[0]=o,t[1]=r,t[2]=n):n=t[2],n}function eW(e){let n,t,r,o,s,l,c,d,m,u,h=(0,i.c)(37),{overview:_,isSpoofed:p}=e,{showUseActionBanner:v,showProtectBranchBanner:f,actionId:x,actionSlug:b,publishBannersInfo:w,interactionLimitBanner:j,showInvitationBanner:y,inviterName:N,actionsMigrationBannerInfo:B,showDeployBanner:A,detectedStack:I,transactionalMessageBanner:C}=_.banners,{dismissActionNoticePath:R,releasePath:P,showPublishActionBanner:T}=w,{helpUrl:O}=(0,g.s)();return h[0]!==C?(n=(0,K.G7)("ipm_global_transactional_message_repos")&&C?(0,a.jsx)(e$.r,{banner:C}):null,h[0]=C,h[1]=n):n=h[1],h[2]!==I||h[3]!==A?(t=A&&(0,a.jsx)(eE,{detectedStack:I}),h[2]=I,h[3]=A,h[4]=t):t=h[4],h[5]!==p?(r=p&&(0,a.jsx)(eU.IL,{}),h[5]=p,h[6]=r):r=h[6],h[7]!==j?(o=j&&(0,a.jsx)(ed,{interactionLimitBanner:j}),h[7]=j,h[8]=o):o=h[8],h[9]!==N||h[10]!==y?(s=y&&N&&(0,a.jsx)(e_,{inviterName:N}),h[9]=N,h[10]=y,h[11]=s):s=h[11],h[12]!==R||h[13]!==P||h[14]!==T?(l=(0,a.jsx)(eM.A,{showPublishActionBanner:T,releasePath:P,dismissActionNoticePath:R,className:"OverviewHeader-module__PublishBanners__iqAgf"}),h[12]=R,h[13]=P,h[14]=T,h[15]=l):l=h[15],h[16]!==x||h[17]!==b||h[18]!==v?(c=v&&b&&x?(0,a.jsx)(eb,{actionSlug:b,actionId:x}):null,h[16]=x,h[17]=b,h[18]=v,h[19]=c):c=h[19],h[20]!==O||h[21]!==f?(d=f&&(0,a.jsx)(ev,{helpUrl:O}),h[20]=O,h[21]=f,h[22]=d):d=h[22],h[23]!==B.initialMigrationStatus||h[24]!==B.releaseTags||h[25]!==B.showImmutableActionsMigrationBanner?(m=B.showImmutableActionsMigrationBanner&&(0,a.jsx)(eS,{releaseTags:B.releaseTags,initialMigrationStatus:B.initialMigrationStatus}),h[23]=B.initialMigrationStatus,h[24]=B.releaseTags,h[25]=B.showImmutableActionsMigrationBanner,h[26]=m):m=h[26],h[27]!==m||h[28]!==n||h[29]!==t||h[30]!==r||h[31]!==o||h[32]!==s||h[33]!==l||h[34]!==c||h[35]!==d?(u=(0,a.jsxs)(a.Fragment,{children:[n,t,r,o,s,l,c,d,m]}),h[27]=m,h[28]=n,h[29]=t,h[30]=r,h[31]=o,h[32]=s,h[33]=l,h[34]=c,h[35]=d,h[36]=u):u=h[36],u}eH.displayName="OverviewHeader",ez.displayName="OverviewBanners",eq.displayName="OverviewBannersWithFetch",eW.displayName="OverviewBannersInternal";var eV=t(45360),eQ=t(83369),eY=t(46249),eZ=t(5095);function eK({rename:e}){let[n,t]=(0,r.useState)(!1),i=(0,r.useRef)(null),o=(0,b.i)(),s=(0,x.t)();return(0,a.jsx)(eQ.A,{open:!n,caret:"top-left",className:"BranchRenamePopover-module__Popover__kFL_x",children:(0,a.jsxs)(eQ.A.Content,{className:"BranchRenamePopover-module__Popover_Content__GE0wm",children:[(0,a.jsx)(eY.A,{as:"h4",className:"BranchRenamePopover-module__Heading__HNOxI",children:"The default branch has been renamed!"}),(0,a.jsxs)("p",{children:[(0,a.jsx)(eZ.A,{children:e.oldName})," is now named"," ",(0,a.jsx)(eZ.A,{className:"BranchRenamePopover-module__BranchName__WX3Lx",children:e.newName})]}),(0,a.jsxs)("p",{className:"BranchRenamePopover-module__Text__Zkt4G",children:["If you have a local clone, you can update it by running the following commands.",e.shellEscapingDocsURL?(0,a.jsx)(el.A,{href:e.shellEscapingDocsURL,children:"Learn about dealing with special characters on the command line."}):null]}),(0,a.jsx)(eV.T,{textToCopy:i.current?.textContent??"",tooltipProps:{style:{position:"absolute",right:"16px",top:"140px"}}}),(0,a.jsx)("pre",{ref:i,className:"BranchRenamePopover-module__Box__c0EPF",children:`git branch -m ${e.shellOldName} ${e.shellNewName} git fetch origin git branch -u origin/${e.shellNewName} ${e.shellNewName} git remote set-head origin -a`}),(0,a.jsx)(C.Q,{onClick:()=>{if(!o)return;let e=(0,w.jMU)({login:o.login}),n=new FormData;n.append("_method","delete"),n.append("repository_id",s.id.toString()),n.append("notice_name","repo_default_branch_rename"),(0,A.DI)(e,{method:"POST",body:n}),t(!0)},children:"OK, got it"})]})})}eK.displayName="BranchRenamePopover";function eX(e){let n,t,o,s,l,c,d,m,u,h,_=(0,i.c)(25),{branchName:p,nameWithOwner:g}=e,[v,f]=(0,r.useState)(!1),j=(0,b.i)(),y=(0,x.t)();_[0]!==j||_[1]!==y.id?(n=()=>{if(!j)return;let e=(0,w.jMU)({login:j.login}),n=new FormData;n.append("_method","delete"),n.append("repository_id",y.id.toString()),n.append("notice_name","repo_parent_default_branch_rename"),(0,A.DI)(e,{method:"POST",body:n}),f(!0)},_[0]=j,_[1]=y.id,_[2]=n):n=_[2];let N=n,B=!v;return _[3]===Symbol.for("react.memo_cache_sentinel")?(t=(0,a.jsx)(eY.A,{as:"h4",className:"ParentBranchRenamePopover-module__Heading__FYMF3",children:"The default branch on the parent repository has been renamed!"}),_[3]=t):t=_[3],_[4]!==g?(o=(0,a.jsx)(eZ.A,{children:g}),_[4]=g,_[5]=o):o=_[5],_[6]!==p?(s=(0,a.jsx)(eZ.A,{className:"ParentBranchRenamePopover-module__BranchName__HINsO",children:p}),_[6]=p,_[7]=s):s=_[7],_[8]!==o||_[9]!==s?(l=(0,a.jsxs)("p",{children:[o," renamed its default branch"," ",s]}),_[8]=o,_[9]=s,_[10]=l):l=_[10],_[11]!==y.name||_[12]!==y.ownerLogin?(c=(0,w.SHX)({owner:y.ownerLogin,repo:y.name,action:"settings"}),_[11]=y.name,_[12]=y.ownerLogin,_[13]=c):c=_[13],_[14]!==c?(d=(0,a.jsxs)("p",{children:["You can rename this fork's default branch to match in"," ",(0,a.jsx)(el.A,{inline:!0,href:c,children:"branch settings"})]}),_[14]=c,_[15]=d):d=_[15],_[16]!==N?(m=(0,a.jsx)(C.Q,{onClick:N,children:"OK, got it"}),_[16]=N,_[17]=m):m=_[17],_[18]!==l||_[19]!==d||_[20]!==m?(u=(0,a.jsxs)(eQ.A.Content,{className:"ParentBranchRenamePopover-module__Popover_Content__MyjDE",children:[t,l,d,m]}),_[18]=l,_[19]=d,_[20]=m,_[21]=u):u=_[21],_[22]!==u||_[23]!==B?(h=(0,a.jsx)(eQ.A,{open:B,caret:"top-left",className:"ParentBranchRenamePopover-module__Popover__eRZES",children:u}),_[22]=u,_[23]=B,_[24]=h):h=_[24],h}eX.displayName="ParentBranchRenamePopover";var eJ=t(23082),e0=t(32442);let e1="OverviewContent-module__Button___Uotu",e2="OverviewContent-module__Button_1__vmS6D",e3=(0,r.lazy)(()=>Promise.all([t.e("49972"),t.e("39007")]).then(t.bind(t,82175)));function e4(e){let n,t=(0,i.c)(4),{payload:r,className:o}=e,s=(0,et.E)();return t[0]!==o||t[1]!==s||t[2]!==r?(n=s?(0,a.jsx)(e5,{payload:r,className:o}):(0,a.jsx)(e6,{payload:r,className:o}),t[0]=o,t[1]=s,t[2]=r,t[3]=n):n=t[3],n}function e5(e){let n,t=(0,i.c)(4),{payload:r,className:o}=e,s=(0,h.O)();return t[0]!==s||t[1]!==o||t[2]!==r?(n=(0,a.jsx)(e9,{branchAndTagCount:s,payload:r,className:o}),t[0]=s,t[1]=o,t[2]=r,t[3]=n):n=t[3],n}function e6(e){let n,t,o,s=(0,i.c)(8),{payload:l,className:c}=e,[d,m]=(0,r.useState)(null),u=l.overview,h=(0,x.t)();return s[0]!==u||s[1]!==h?(n=()=>{let e=async()=>{let e=await (0,A.lS)((0,w.Gll)(h),{method:"get"});e.ok&&m(await e.json())};u&&e()},t=[u,h],s[0]=u,s[1]=h,s[2]=n,s[3]=t):(n=s[2],t=s[3]),(0,r.useEffect)(n,t),s[4]!==d||s[5]!==c||s[6]!==l?(o=(0,a.jsx)(e9,{branchAndTagCount:d,payload:l,className:c}),s[4]=d,s[5]=c,s[6]=l,s[7]=o):o=s[7],o}function e9(e){let n,t,h,A,S,L,D,E,F=(0,i.c)(50),{payload:$,branchAndTagCount:M,className:U}=e,{helpUrl:G}=(0,g.s)(),H=(0,x.t)(),q=(0,b.i)(),W=(0,v.l)(),V=(0,f.z)(),{findFileWorkerPath:Q}=(0,g.s)(),Y=(0,B.Zp)(),{findFilesShortcut:Z}=(0,eJ.wk)(),X=(0,r.useRef)(null);F[0]===Symbol.for("react.memo_cache_sentinel")?(n=(0,K.G7)("copilot_agent_tasks_btn_repo"),F[0]=n):n=F[0];let J=n;F[1]===Symbol.for("react.memo_cache_sentinel")?(t=(0,K.G7)("copilot_mission_control_decoupled_mode"),F[1]=t):t=F[1];let ee=t,en=$.overview,ea=en.codeButton;F[2]!==ea.local||F[3]!==G?(h={...ea.local,helpUrl:G},F[2]=ea.local,F[3]=G,F[4]=h):h=F[4];let ei=h,er=ea.hasAccessToCodespaces,eo=ea.repoPolicyInfo,es=ea.contactPath,el=ea.currentUserIsEnterpriseManaged,ec=ea.enterpriseManagedBusinessName,ed=ea.newCodespacePath;F[5]!==V.name||F[6]!==H.id?(A=(0,d.Q)(H.id,V.name),F[5]=V.name,F[6]=H.id,F[7]=A):A=F[7];let em=!!q;F[8]!==ea.contactPath||F[9]!==ea.currentUserIsEnterpriseManaged||F[10]!==ea.enterpriseManagedBusinessName||F[11]!==ea.hasAccessToCodespaces||F[12]!==ea.newCodespacePath||F[13]!==ea.repoPolicyInfo||F[14]!==A||F[15]!==em?(S={hasAccessToCodespaces:er,repoPolicyInfo:eo,contactPath:es,currentUserIsEnterpriseManaged:el,enterpriseManagedBusinessName:ec,newCodespacePath:ed,codespacesPath:A,isLoggedIn:em},F[8]=ea.contactPath,F[9]=ea.currentUserIsEnterpriseManaged,F[10]=ea.enterpriseManagedBusinessName,F[11]=ea.hasAccessToCodespaces,F[12]=ea.newCodespacePath,F[13]=ea.repoPolicyInfo,F[14]=A,F[15]=em,F[16]=S):S=F[16];let eu=S,eh=en.copilotSWEAgentEnabled??!1,e_=(0,et.E)();F[17]!==e_||F[18]!==Y||F[19]!==V.name||F[20]!==H.name||F[21]!==H.ownerLogin?(L=()=>{window.innerWidth{Y(e_?`/${H.ownerLogin}/${H.name}/tree/${V.name}?search=1`:`${window.location.pathname}?search=1`)},F[23]=e_,F[24]=Y,F[25]=V.name,F[26]=H.name,F[27]=H.ownerLogin,F[28]=D):D=F[28];let eg=D;return F[29]!==M||F[30]!==U||F[31]!==ea.codespacesEnabled||F[32]!==ea.isEnterprise||F[33]!==eu||F[34]!==Q||F[35]!==Z||F[36]!==eh||F[37]!==ei||F[38]!==eg||F[39]!==ep||F[40]!==en.banners||F[41]!==en.overviewFiles||F[42]!==en.popovers||F[43]!==en.templateButton||F[44]!==W||F[45]!==$||F[46]!==V.currentOid||F[47]!==V.name||F[48]!==H?(E=(0,a.jsx)(a.Fragment,{children:$.error?(0,a.jsx)(_.D,{...$.error}):(0,a.jsxs)("div",{className:(0,eB.$)("OverviewContent-module__Box__PF75K",U),children:[(0,a.jsx)(eH,{payload:$}),(0,a.jsxs)("div",{className:"OverviewContent-module__Box_1__MPS0U",children:[(0,a.jsxs)("div",{className:"OverviewContent-module__Box_2__Di8Pb",children:[(0,a.jsxs)("div",{className:"OverviewContent-module__Box_3__wzlJx",children:[(0,a.jsx)(p.R,{buttonClassName:"overview-ref-selector width-full",allowResizing:!0}),en.popovers.rename?(0,a.jsx)(eK,{rename:en.popovers.rename}):en.popovers.renamedParentRepo?(0,a.jsx)(eX,{branchName:en.popovers.renamedParentRepo.branchName,nameWithOwner:en.popovers.renamedParentRepo.nameWithOwner}):null]}),(0,a.jsxs)("div",{className:"OverviewContent-module__Box_4__qf73o",children:[(0,a.jsx)(C.Q,{as:"a",leadingVisual:I.GitBranchIcon,variant:"invisible",href:(0,w.yf2)({repo:H}),className:e1,children:M?(0,a.jsxs)("span",{children:[(0,a.jsxs)("strong",{className:"color-fg-default",children:[M.branches," "]}),1===M.branches?"Branch":"Branches"]}):"Branches"}),(0,a.jsx)(C.Q,{as:"a",leadingVisual:I.TagIcon,variant:"invisible",href:(0,w.jIv)({repo:H}),className:e1,children:M?(0,a.jsxs)("span",{children:[(0,a.jsxs)("strong",{className:"color-fg-default",children:[M.tags," "]}),1===M.tags?"Tag":"Tags"]}):"Tags"})]}),(0,a.jsxs)("div",{className:"OverviewContent-module__Box_5__Zc3i7",children:[(0,a.jsx)(C.Q,{as:"a","aria-label":"Go to Branches page",icon:I.GitBranchIcon,variant:"invisible",href:(0,w.yf2)({repo:H}),className:e2}),(0,a.jsx)(C.Q,{as:"a","aria-label":"Go to Tags page",icon:I.TagIcon,variant:"invisible",href:(0,w.jIv)({repo:H}),className:e2})]})]}),(0,a.jsxs)("div",{className:"OverviewContent-module__Box_6__Y_Yb_",children:[(0,a.jsxs)("div",{className:"OverviewContent-module__Box_7__JuRXo",children:[(0,a.jsx)(u.E,{children:(0,a.jsx)("button",{hidden:!0,"data-hotkey":Z.hotkey,onClick:ep})}),(0,a.jsx)("div",{className:"OverviewContent-module__Box_8__UZCZh",children:(0,a.jsx)(r.Suspense,{fallback:null,children:(0,a.jsx)(e3,{commitOid:V.currentOid,findFileWorkerPath:Q,searchBoxRef:X,className:"OverviewContent-module__FileResultsList__EjrTH"})})}),(0,a.jsx)("div",{className:"OverviewContent-module__Box_9__bqMPw",children:(0,a.jsx)(C.Q,{onClick:eg,children:"Go to file"})}),(0,a.jsx)(s.L,{useDynamicSizing:!0})]}),J&&eh&&(0,a.jsx)(e0.V,{isIconButton:!0,currentRepo:H,hideRepoSelector:!0,eventType:"new_agent_task_button_repo_overview",decoupledModeEnabled:ee}),(0,a.jsx)(l.n,{refName:V.name,primary:!en.templateButton,showCodespacesTab:ea.codespacesEnabled,isEnterprise:ea.isEnterprise,localTab:(0,a.jsx)(m.F,{...ei}),codespacesTab:(0,a.jsx)(c.wW,{...eu})}),(0,a.jsx)("div",{className:"OverviewContent-module__Box_10__mGSb4",children:(0,a.jsxs)(R.W,{children:[(0,a.jsx)(R.W.Anchor,{children:(0,a.jsx)(P.K,{tooltipDirection:"n",icon:I.KebabHorizontalIcon,"aria-label":"Open more actions menu"})}),(0,a.jsx)(R.W.Overlay,{children:(0,a.jsxs)(T.l,{children:[(0,a.jsxs)(T.l.LinkItem,{href:(0,w.yf2)({repo:H}),children:[(0,a.jsx)(T.l.LeadingVisual,{children:(0,a.jsx)(O.A,{icon:I.GitBranchIcon})}),"Branches"]}),(0,a.jsxs)(T.l.LinkItem,{href:(0,w.jIv)({repo:H}),children:[(0,a.jsx)(T.l.LeadingVisual,{children:(0,a.jsx)(O.A,{icon:I.TagIcon})}),"Tags"]}),(0,a.jsx)(T.l.Divider,{}),(0,a.jsxs)(T.l.Item,{onSelect:eg,children:[(0,a.jsx)(T.l.LeadingVisual,{children:(0,a.jsx)(O.A,{icon:I.SearchIcon})}),"Go to file"]}),(0,a.jsxs)(T.l.LinkItem,{as:y.N,to:(0,w.IO9)({repo:H,path:W,commitish:V.name,action:"new"}),children:[(0,a.jsx)(T.l.LeadingVisual,{children:(0,a.jsx)(O.A,{icon:I.PlusIcon})}),"Create new file"]}),(0,a.jsxs)(T.l.LinkItem,{href:(0,w.IO9)({repo:H,path:W,commitish:V.name,action:"upload"}),children:[(0,a.jsx)(T.l.LeadingVisual,{children:(0,a.jsx)(O.A,{icon:I.UploadIcon})}),"Upload file"]})]})})]})})]})]}),$.tree.showBranchInfobar&&(0,a.jsx)(j.t,{fallback:(0,a.jsx)(o.o,{}),children:(0,a.jsx)(o.k,{})}),(0,a.jsxs)("div",{className:"OverviewContent-module__Box_11__F19kY",children:[(0,a.jsx)(k.t,{overview:$.overview}),(0,a.jsx)(z,{initialFiles:en.overviewFiles,shouldRecommendReadme:en.banners.shouldRecommendReadme,isPersonalRepo:en.banners.isPersonalRepo})]})]})}),F[29]=M,F[30]=U,F[31]=ea.codespacesEnabled,F[32]=ea.isEnterprise,F[33]=eu,F[34]=Q,F[35]=Z,F[36]=eh,F[37]=ei,F[38]=eg,F[39]=ep,F[40]=en.banners,F[41]=en.overviewFiles,F[42]=en.popovers,F[43]=en.templateButton,F[44]=W,F[45]=$,F[46]=V.currentOid,F[47]=V.name,F[48]=H,F[49]=E):E=F[49],E}e3.displayName="FileResultsList",e4.displayName="OverviewContent",e5.displayName="OverviewContentWithContext",e6.displayName="OverviewContentWithFetch",e9.displayName="OverviewContentInternal"}}]); //# sourceMappingURL=49115-a5364b0dfe6fca7b-d65528400b299a2f.js.map