performance.mark("js-parse-end:73061-c1057d89c6936e56.js"); "use strict";(globalThis.webpackChunk_github_ui_github_ui=globalThis.webpackChunk_github_ui_github_ui||[]).push([["73061"],{73087(e,t,a){a.d(t,{A:()=>s});let s={TabNav:"CodeDropdownButton-module__TabNav__nLToe",NavItem:"CodeDropdownButton-module__NavItem__bTtK0",CodespacesSkeletonWrapper:"CodeDropdownButton-module__CodespacesSkeletonWrapper__T0yy1",SkeletonLoaderWrapper:"CodeDropdownButton-module__SkeletonLoaderWrapper__TspzI"}},53396(e,t,a){a.d(t,{Q:()=>s});function s(e,t){let a=encodeURIComponent(t);return`/codespaces?codespace%5Bref%5D=${a}¤t_branch=${a}&event_target=REPO_PAGE&repo=${e}`}},53796(e,t,a){a.d(t,{n:()=>I});var s=a(74848),n=a(16522),o=a(35205),r=a(21373),l=a(16969),i=a(96540),c=a(86011),d=a(67441),u=a(68541),m=a(31595),h=a(27678),p=a(56792),f=a(95173),x=a(62764),b=a(49671),j=a(78597),y=a(65510),_=a(66818),g=a(38621),S=a(45299);let C=e=>{let t,a,o,l,c,d=(0,n.c)(15),{isPrimary:u,children:m,className:h,size:p,onOpenChange:f}=e,[x,b]=(0,i.useState)(!1),j=(0,S.B)();return d[0]===Symbol.for("react.memo_cache_sentinel")?(t={disabled:!0},d[0]=t):t=d[0],d[1]!==f?(a=()=>{b(!0),f?.(!0)},o=()=>{b(!1),f?.(!1)},d[1]=f,d[2]=a,d[3]=o):(a=d[2],o=d[3]),d[4]!==h||d[5]!==u||d[6]!==j||d[7]!==p?(l=e=>(0,s.jsx)(r.Q,{...e,className:h,variant:u?"primary":void 0,leadingVisual:v,trailingVisual:w,size:p||"medium",onMouseEnter:j,onFocus:j,children:"Code"}),d[4]=h,d[5]=u,d[6]=j,d[7]=p,d[8]=l):l=d[8],d[9]!==m||d[10]!==x||d[11]!==a||d[12]!==o||d[13]!==l?(c=(0,s.jsx)(_.T,{align:"end",focusZoneSettings:t,open:x,onOpen:a,onClose:o,renderAnchor:l,children:m}),d[9]=m,d[10]=x,d[11]=a,d[12]=o,d[13]=l,d[14]=c):c=d[14],c};function v(){return(0,s.jsx)(g.CodeIcon,{className:"hide-sm"})}function w(){return(0,s.jsx)(g.TriangleDownIcon,{})}C.displayName="CodeMenuButton";var N=a(73087);let L=(0,o.A)("localStorage"),T="local",k="cloud";function I(e){var t,a;let o,x,b,j,y,_,g,S,v,w,I,D,P=(0,n.c)(34),{primary:B,className:H,size:E,showCodespacesTab:O,isEnterprise:z,localTab:F,codespacesTab:U,localTabProps:W,codespacesPath:$,refName:G}=e,[R,Q]=(0,i.useState)(T);P[0]!==G?(o={name:G,listCacheKey:G,refType:"branch",currentOid:"",canEdit:!1,canEditOnDefaultBranch:!1,fileExistsOnDefault:!1},P[0]=G,P[1]=o):o=P[1];let V=o;P[2]===Symbol.for("react.memo_cache_sentinel")?(x=e=>{Q(k),L.setItem("code-button-default-tab",k),e?.preventDefault()},P[2]=x):x=P[2];let K=x;P[3]===Symbol.for("react.memo_cache_sentinel")?(b=e=>{Q(T),L.setItem("code-button-default-tab",T),e?.preventDefault()},P[3]=b):b=P[3];let Y=b;P[4]!==O?(j=()=>{L.getItem("code-button-default-tab")===k&&O&&K()},P[4]=O,P[5]=j):j=P[5];let X=(0,i.useEffectEvent)(j);P[6]!==X?(y=()=>{X()},P[6]=X,P[7]=y):y=P[7],P[8]===Symbol.for("react.memo_cache_sentinel")?(_=[],P[8]=_):_=P[8],(0,i.useEffect)(y,_);let q=!z&&O;return P[9]!==R||P[10]!==z||P[11]!==O||P[12]!==q?(g=q&&(0,s.jsxs)(l.A,{className:N.A.TabNav,children:[(0,s.jsx)(l.A.Link,{as:r.Q,selected:R===T,onClick:Y,className:N.A.NavItem,children:"Local"}),!z&&O&&(0,s.jsx)(l.A.Link,{as:r.Q,selected:R===k,onClick:K,className:N.A.NavItem,children:"Codespaces"})]}),P[9]=R,P[10]=z,P[11]=O,P[12]=q,P[13]=g):g=P[13],P[14]!==R||P[15]!==F||P[16]!==W?(S=R===T&&(F||((t=W)?(0,s.jsx)(d.F,{...t}):null)),P[14]=R,P[15]=F,P[16]=W,P[17]=S):S=P[17],P[18]!==R||P[19]!==$||P[20]!==U?(v=R===k&&(U||(a=$,(0,s.jsx)(c.VO,{children:(0,s.jsx)(A,{codespacesPath:a})}))),P[18]=R,P[19]=$,P[20]=U,P[21]=v):v=P[21],P[22]!==S||P[23]!==v?(w=(0,s.jsxs)("div",{className:"react-overview-code-button-action-list py-0",children:[S,v]}),P[22]=S,P[23]=v,P[24]=w):w=P[24],P[25]!==H||P[26]!==B||P[27]!==E||P[28]!==g||P[29]!==w?(I=(0,s.jsx)(p.O,{canEdit:!1,canEditOnDefaultBranch:!1,fileExistsOnDefault:!1,children:(0,s.jsxs)(C,{size:E,isPrimary:B,className:H,children:[g,w]})}),P[25]=H,P[26]=B,P[27]=E,P[28]=g,P[29]=w,P[30]=I):I=P[30],P[31]!==V||P[32]!==I?(D=(0,s.jsx)(m.n,{path:"",children:(0,s.jsx)(h.O,{action:"tree",children:(0,s.jsx)(f.d,{copilotAccessAllowed:!1,children:(0,s.jsx)(u.x,{refInfo:V,children:I})})})}),P[31]=V,P[32]=I,P[33]=D):D=P[33],D}function A(e){let t,a,o,r,l,i,d=(0,n.c)(3),{codespacesPath:u}=e,m=(l=(0,n.c)(7),i=(0,b.e)(x.uT.codeButton),l[0]!==i?(a=[x.uT.codeButton,i],o=async()=>{let e=await (0,j.QJ)(i);if(!e.ok)throw Error(`HTTP ${e.status}`);return await e.json()},l[0]=i,l[1]=a,l[2]=o):(a=l[1],o=l[2]),void 0!==l[3]||l[4]!==a||l[5]!==o?(r={queryKey:a,queryFn:o,initialData:void 0,staleTime:1/0},l[3]=void 0,l[4]=a,l[5]=o,l[6]=r):r=l[6],(0,y.U)(r)).data;return d[0]!==u||d[1]!==m?(t=(0,s.jsx)(c.NF,{codespacesPath:u,...m}),d[0]=u,d[1]=m,d[2]=t):t=d[2],t}I.displayName="CodeDropdownButton",A.displayName="SuspendedCodespacesTab"},86011(e,t,a){a.d(t,{NF:()=>b,VO:()=>f,wW:()=>j});var s=a(74848),n=a(16522),o=a(36010),r=a(16497),l=a(83223),i=a(5024),c=a(18990),d=a(96540),u=a(73087),m=a(45299);function h(e){return(0,s.jsxs)("span",{children:["An unexpected error occurred. Please"," ",(0,s.jsx)(l.A,{inline:!0,href:e,children:"contact support"})," ","for more information."]})}function p(e){let t,a,o,r=(0,n.c)(7),{header:l,message:i}=e;return r[0]!==l?(t=(0,s.jsx)("p",{className:"fgColor-default text-bold mb-1",children:l}),r[0]=l,r[1]=t):t=r[1],r[2]!==i?(a=(0,s.jsx)("p",{className:"mt-2 tmp-mx-4",children:i}),r[2]=i,r[3]=a):a=r[3],r[4]!==t||r[5]!==a?(o=(0,s.jsxs)("div",{className:"blankslate",children:[t,a]}),r[4]=t,r[5]=a,r[6]=o):o=r[6],o}function f(e){let t,a,r,l,m,h,f,x=(0,n.c)(8),{children:b}=e;return x[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,s.jsx)(p,{header:"Codespaces data failed to load.",message:"Refresh the page and try again."}),x[0]=t):t=x[0],x[1]===Symbol.for("react.memo_cache_sentinel")?(a=(0,s.jsx)("div",{className:u.A.SkeletonLoaderWrapper,children:(0,s.jsx)(i.f,{width:"100%",height:"var(--base-size-32)"})}),r=(0,s.jsx)(c.l.Divider,{}),x[1]=a,x[2]=r):(a=x[1],r=x[2]),x[3]===Symbol.for("react.memo_cache_sentinel")?(l=(0,s.jsx)("div",{className:u.A.SkeletonLoaderWrapper,children:(0,s.jsx)(i.f,{width:"100%",height:"var(--base-size-64)"})}),m=(0,s.jsx)(c.l.Divider,{}),x[3]=l,x[4]=m):(l=x[3],m=x[4]),x[5]===Symbol.for("react.memo_cache_sentinel")?(h=(0,s.jsxs)("div",{role:"status",className:u.A.CodespacesSkeletonWrapper,"aria-busy":!0,"aria-label":"Loading Codespaces",children:[a,r,l,m,(0,s.jsx)("div",{className:u.A.SkeletonLoaderWrapper,children:(0,s.jsx)(i.f,{width:"100%",height:"var(--base-size-32)"})})]}),x[5]=h):h=x[5],x[6]!==b?(f=(0,s.jsx)("div",{className:"d-flex flex-justify-center",children:(0,s.jsx)(o.t,{fallback:t,children:(0,s.jsx)(d.Suspense,{fallback:h,children:b})})}),x[6]=b,x[7]=f):f=x[7],f}function x(e){let t,a=(0,n.c)(2),{codespacesPath:o}=e,{data:l}=(0,m.K)(o);return a[0]!==l?(t=(0,s.jsx)(r.vb,{className:"width-full",html:l}),a[0]=l,a[1]=t):t=a[1],t}function b(e){let t,a=(0,n.c)(19),{hasAccessToCodespaces:o,repoPolicyInfo:r,contactPath:i,currentUserIsEnterpriseManaged:c,enterpriseManagedBusinessName:d,newCodespacePath:u,codespacesPath:m,isLoggedIn:f}=e;if(!o){if(!f){let e;return a[0]!==u?(e=(0,s.jsx)(p,{header:"Sign in required",message:(0,s.jsxs)("span",{children:["Please"," ",(0,s.jsx)(l.A,{inline:!0,href:u,children:"sign in"})," ","to use Codespaces."]})}),a[0]=u,a[1]=e):e=a[1],e}if(r?.allowed)if(r?.changesWouldBeSafe){let e,t;return a[13]!==i?(e=h(i),a[13]=i,a[14]=e):e=a[14],a[15]!==e?(t=(0,s.jsx)(p,{header:"Codespace access limited",message:e}),a[15]=e,a[16]=t):t=a[16],t}else{let e;return a[12]===Symbol.for("react.memo_cache_sentinel")?(e=(0,s.jsx)(p,{header:"Repository access limited",message:(0,s.jsx)("span",{children:"You do not have access to push to this repository and its owner has disabled forking."})}),a[12]=e):e=a[12],e}{let e,t;if(!r?.canBill&&c){let t,n;a[2]===Symbol.for("react.memo_cache_sentinel")?(t=(0,s.jsx)(l.A,{href:"https://docs.github.com/enterprise-cloud@latest/admin/identity-and-access-management/using-enterprise-managed-users-for-iam/about-enterprise-managed-users",children:"Enterprise-managed users"}),a[2]=t):t=a[2];let o=` must have their Codespaces usage paid for by ${d||"their enterprise"}.`;a[3]!==o?(n=(0,s.jsxs)("span",{children:[t,o]}),a[3]=o,a[4]=n):n=a[4],e=n}else if(r?.hasIpAllowLists){let t;a[5]===Symbol.for("react.memo_cache_sentinel")?(t=(0,s.jsxs)("span",{children:["Your organization or enterprise enforces"," ",(0,s.jsx)(l.A,{inline:!0,href:"https://docs.github.com/enterprise-cloud@latest/organizations/keeping-your-organization-secure/managing-security-settings-for-your-organization/managing-allowed-ip-addresses-for-your-organization",children:"IP allow lists"})," ","which are unsupported by Codespaces at this time."]}),a[5]=t):t=a[5],e=t}else if(r?.disabledByBusiness){let t;a[6]===Symbol.for("react.memo_cache_sentinel")?(t=(0,s.jsx)("span",{children:"Your enterprise has disabled Codespaces at this time. Please contact your enterprise administrator for more information."}),a[6]=t):t=a[6],e=t}else if(r?.disabledByOrganization){let t;a[7]===Symbol.for("react.memo_cache_sentinel")?(t=(0,s.jsx)("span",{children:"Your organization has disabled Codespaces on this repository. Please contact your organization administrator for more information."}),a[7]=t):t=a[7],e=t}else{let t;a[8]!==i?(t=h(i),a[8]=i,a[9]=t):t=a[9],e=t}return a[10]!==e?(t=(0,s.jsx)(p,{header:"Codespace access limited",message:e}),a[10]=e,a[11]=t):t=a[11],t}}return a[17]!==m?(t=(0,s.jsx)(x,{codespacesPath:m}),a[17]=m,a[18]=t):t=a[18],t}function j(e){let t,a=(0,n.c)(2);return a[0]!==e?(t=(0,s.jsx)(f,{children:(0,s.jsx)(b,{...e})}),a[0]=e,a[1]=t):t=a[1],t}p.displayName="ErrorMessage",f.displayName="CodespacesTabWrapper",x.displayName="ServerRenderedCodespacesTabContent",b.displayName="CodespacesTabContent",j.displayName="CodespacesTab"},67441(e,t,a){a.d(t,{F:()=>j,J:()=>_});var s=a(74848),n=a(16522),o=a(96540),r=a(15393),l=a(88015),i=a(78597),c=a(83223),d=a(1761),u=a(59134),m=a(18990),h=a(46249),p=a(55717),f=a(45360),x=a(38621),b=a(34164);function j(e){let t,a,h,f,b,j,g=(0,n.c)(52),{httpAvailable:S,sshAvailable:C,httpUrl:v,showCloneWarning:w,sshUrl:N,sshCertificatesRequired:L,sshCertificatesAvailable:T,ghCliUrl:k,newSshKeyUrl:I,setProtocolPath:A}=e.protocolInfo,{defaultProtocol:D}=e.protocolInfo,[P,B]=(0,o.useState)(D),[H,E]=(0,o.useState)(""),{cloneUrl:O,visualStudioCloneUrl:z,showVisualStudioCloneButton:F,showXcodeCloneButton:U,xcodeCloneUrl:W,zipballUrl:$}=e.platformInfo;g[0]===Symbol.for("react.memo_cache_sentinel")?(t=["windows","mac"],g[0]=t):t=g[0];let G=(0,r.X)(t);g[1]===Symbol.for("react.memo_cache_sentinel")?(a=["mac"],g[1]=a):a=g[1];let R=(0,r.X)(a),Q=(0,l.Zp)();g[2]!==P||g[3]!==A?(h=e=>{if(P!==e){B(e);let t=new FormData;t.set("protocol_selector",e),(0,i.DI)(A,{method:"post",body:t})}},g[2]=P,g[3]=A,g[4]=h):h=g[4];let V=h;if(g[5]!==S||g[6]!==V||g[7]!==C){let e,t,a,s;f=[],g[9]!==V?(e=()=>V("http"),g[9]=V,g[10]=e):e=g[10];let n=e;g[11]!==V?(t=()=>V("ssh"),g[11]=V,g[12]=t):t=g[12];let o=t;g[13]!==V?(a=()=>V("gh_cli"),g[13]=V,g[14]=a):a=g[14];let r=a;if(S){let e;g[15]!==n?(e={protocol:"http",displayName:"HTTPS",ariaLabel:"Clone with HTTPS",handler:n},g[15]=n,g[16]=e):e=g[16],f.push(e)}if(C){let e;g[17]!==o?(e={protocol:"ssh",displayName:"SSH",ariaLabel:"Clone with SSH",handler:o},g[17]=o,g[18]=e):e=g[18],f.push(e)}g[19]!==r?(s={protocol:"gh_cli",displayName:"GitHub CLI",ariaLabel:"Clone with GitHub CLI",handler:r},g[19]=r,g[20]=s):s=g[20],f.push(s),g[5]=S,g[6]=V,g[7]=C,g[8]=f}else f=g[8];let K=f;if(g[21]!==O||g[22]!==R||g[23]!==G||g[24]!==F||g[25]!==U||g[26]!==z||g[27]!==W||g[28]!==$){let e;if(b=[],G){let e;g[30]!==O?(e={name:"githubDesktop",text:"Open with GitHub Desktop",url:O,icon:x.DesktopDownloadIcon},g[30]=O,g[31]=e):e=g[31],b.push(e)}if(G&&F){let e;g[32]!==z?(e={name:"visualStudio",text:"Open with Visual Studio",url:z},g[32]=z,g[33]=e):e=g[33],b.push(e)}if(R&&U){let e;g[34]!==W?(e={name:"xcode",text:"Open with Xcode",url:W},g[34]=W,g[35]=e):e=g[35],b.push(e)}g[36]!==$?(e={name:"zip",text:"Download ZIP",url:$,icon:x.FileZipIcon},g[36]=$,g[37]=e):e=g[37],b.push(e),g[21]=O,g[22]=R,g[23]=G,g[24]=F,g[25]=U,g[26]=z,g[27]=W,g[28]=$,g[29]=b}else b=g[29];let Y=b;return g[38]!==P||g[39]!==k||g[40]!==v||g[41]!==Q||g[42]!==I||g[43]!==H||g[44]!==Y||g[45]!==e.helpUrl||g[46]!==w||g[47]!==T||g[48]!==L||g[49]!==N||g[50]!==K?(j=(0,s.jsx)("div",{children:"githubDesktop"===H?(0,s.jsx)(y,{platform:"GitHub Desktop",href:"https://desktop.github.com/"}):"visualStudio"===H?(0,s.jsx)(y,{platform:"Visual Studio"}):"xcode"===H?(0,s.jsx)(y,{platform:"Xcode",href:"https://developer.apple.com/xcode/"}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{className:"tmp-m-3",children:[(0,s.jsxs)("div",{className:"d-flex flex-items-center",children:[(0,s.jsx)(x.TerminalIcon,{className:"mr-2"}),(0,s.jsx)("p",{className:"flex-1 text-bold mb-0",children:"Clone"}),(0,s.jsx)(p.m,{text:"Which remote URL should I use?",type:"label",direction:"w",children:(0,s.jsx)(c.A,{muted:!0,href:`${e.helpUrl}/articles/which-remote-url-should-i-use`,children:(0,s.jsx)(x.QuestionIcon,{className:"mr-1"})})})]}),(0,s.jsx)(d.O,{"aria-label":"Remote URL selector",className:"LocalTab-module__UnderlineNav__pBgKL",children:K.map(e=>(0,s.jsx)(d.O.Item,{"aria-current":P===e.protocol?"page":void 0,"aria-label":e.ariaLabel,onClick:e.handler,children:e.displayName},e.protocol))}),"http"===P?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(_,{inputId:"clone-with-https",inputLabel:"Clone with HTTPS url",url:v}),(0,s.jsx)("p",{className:"mt-2 fgColor-muted text-normal",children:"Clone using the web URL."})]}):"ssh"===P?(0,s.jsxs)(s.Fragment,{children:[w&&(0,s.jsxs)(u.A,{className:"mb-2",variant:"warning",children:["You don't have any public SSH keys in your GitHub account. ","You can"," ",(0,s.jsx)(c.A,{inline:!0,href:I,children:"add a new public key"}),", or try cloning this repository via HTTPS."]}),(0,s.jsx)(_,{inputId:"clone-with-ssh",inputLabel:"Clone with SSH url",url:N}),(0,s.jsx)("p",{className:"mt-2 fgColor-muted text-normal",children:L?"Use a password-protected SSH certificate.":T?"Use a password-protected SSH key or certificate.":"Use a password-protected SSH key."})]}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(_,{buttonAriaLabel:"Copy command to clipboard",inputId:"clone-with-gh-cli",inputLabel:"Clone with GitHub CLI command",url:k}),(0,s.jsxs)("p",{className:"mt-2 fgColor-muted text-normal",children:["Work fast with our official CLI."," ",(0,s.jsx)(c.A,{inline:!0,href:"https://cli.github.com",target:"_blank","aria-label":"Learn more about the GitHub CLI",children:"Learn more"})]})]})]}),(0,s.jsx)(m.l,{variant:"inset",className:"border-top",children:Y.map(e=>"zip"===e.name?(0,s.jsxs)(m.l.LinkItem,{"data-turbo":"false",href:e.url,rel:"nofollow",children:[e.icon&&(0,s.jsx)(m.l.LeadingVisual,{children:(0,s.jsx)(e.icon,{})}),e.text]},e.name):(0,s.jsxs)(m.l.Item,{onSelect:t=>{E(e.name),t.preventDefault(),Q(e.url)},children:[e.icon&&(0,s.jsx)(m.l.LeadingVisual,{children:(0,s.jsx)(e.icon,{})}),e.text]},e.name))})]})}),g[38]=P,g[39]=k,g[40]=v,g[41]=Q,g[42]=I,g[43]=H,g[44]=Y,g[45]=e.helpUrl,g[46]=w,g[47]=T,g[48]=L,g[49]=N,g[50]=K,g[51]=j):j=g[51],j}function y(e){let t,a,o,r,l=(0,n.c)(9),{platform:i,href:d}=e;l[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,b.$)("tmp-p-3","LocalTab-module__PlatformContents__woJN6"),l[0]=t):t=l[0];let u=`Launching ${i}`;return l[1]!==u?(a=(0,s.jsx)(h.A,{as:"h4",variant:"small",className:"tmp-mb-3 text-center",children:u}),l[1]=u,l[2]=a):a=l[2],l[3]!==d||l[4]!==i?(o=d&&(0,s.jsxs)("p",{className:"tmp-mb-3",children:["If nothing happens, ",(0,s.jsx)(c.A,{inline:!0,href:d,children:`download ${i}`})," and try again."]}),l[3]=d,l[4]=i,l[5]=o):o=l[5],l[6]!==a||l[7]!==o?(r=(0,s.jsxs)("div",{className:t,children:[a,o]}),l[6]=a,l[7]=o,l[8]=r):r=l[8],r}function _(e){let t,a,o,r,l,i,c,d,u=(0,n.c)(17),{buttonAriaLabel:m,inputId:h,inputLabel:p,url:x}=e,j=void 0===m?"Copy URL to clipboard":m;return u[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,b.$)("d-flex mb-2","LocalTab-module__CloneContainer__wsFYE"),u[0]=t):t=u[0],u[1]!==h||u[2]!==p?(a=(0,s.jsx)("label",{htmlFor:h,className:"sr-only",children:p}),u[1]=h,u[2]=p,u[3]=a):a=u[3],u[4]===Symbol.for("react.memo_cache_sentinel")?(o={flexGrow:1},u[4]=o):o=u[4],u[5]!==h||u[6]!==x?(r=(0,s.jsx)("input",{id:h,type:"text",className:"form-control input-monospace input-sm color-bg-subtle","data-autoselect":!0,value:x,readOnly:!0,style:o}),u[5]=h,u[6]=x,u[7]=r):r=u[7],u[8]===Symbol.for("react.memo_cache_sentinel")?(l=(0,b.$)("ml-1 mr-0","LocalTab-module__CopyToClipboardButton__MXyJF"),u[8]=l):l=u[8],u[9]===Symbol.for("react.memo_cache_sentinel")?(i={direction:"nw"},u[9]=i):i=u[9],u[10]!==j||u[11]!==x?(c=(0,s.jsx)(f.T,{className:l,textToCopy:x,ariaLabel:j,tooltipProps:i}),u[10]=j,u[11]=x,u[12]=c):c=u[12],u[13]!==a||u[14]!==r||u[15]!==c?(d=(0,s.jsxs)("div",{className:t,children:[a,r,c]}),u[13]=a,u[14]=r,u[15]=c,u[16]=d):d=u[16],d}j.displayName="LocalTab",y.displayName="LaunchingPlatformContents",_.displayName="CloneUrl"},45299(e,t,a){a.d(t,{B:()=>g,K:()=>S});var s=a(16522),n=a(73537),o=a(97665),r=a(65510),l=a(7166),i=a(51581),c=a(35205),d=a(27666),u=a(93510),m=a(78597),h=a(54242),p=a(68541),f=a(53396);let x=(0,c.A)("localStorage"),b=u.ZU.String(),j=(0,d.Wx)(b);async function y(e){if(!e)return"";let t=await (0,m.QJ)(e);if(t.status>=400&&t.status<=499)return"";if(!t.ok)throw Error(`HTTP ${t.status}`);return await t.text()}let _=e=>{let t,a,o,r,c,d=(0,s.c)(13),u=(0,h.t)(),m=(0,p.z)();d[0]!==e||d[1]!==m||d[2]!==u?(t=e||(u&&m?(0,f.Q)(u.id,m.name):void 0),d[0]=e,d[1]=m,d[2]=u,d[3]=t):t=d[3];let x=t,{sendAnalyticsEvent:b}=(0,i.s)();return d[4]!==x?(a=["CodespacesTabContent.content",x],o=()=>y(x),d[4]=x,d[5]=a,d[6]=o):(a=d[5],o=d[6]),d[7]!==b?(r=(0,l.y)({validator:j,sendAnalyticsEvent:b,enabled:(0,n.G7)("codespaces_tab_caching")}),d[7]=b,d[8]=r):r=d[8],d[9]!==a||d[10]!==o||d[11]!==r?(c={queryKey:a,queryFn:o,persister:r},d[9]=a,d[10]=o,d[11]=r,d[12]=c):c=d[12],c};function g(e){let t,a=(0,s.c)(3),r=(0,o.jE)(),l=_(e);return a[0]!==l||a[1]!==r?(t=()=>{let e=(0,n.G7)("codespaces_tab_caching"),t=x.getItem("code-button-default-tab");if(e&&"cloud"===t)return r.prefetchQuery(l)},a[0]=l,a[1]=r,a[2]=t):t=a[2],t}function S(e){let t=_(e);return(0,r.U)(t)}},15393(e,t,a){a.d(t,{X:()=>l});var s=a(16522),n=a(96540);function o(){return()=>{}}function r(){return!1}function l(e){let t,a=(0,s.c)(2);return a[0]!==e?(t=()=>{let t=function(){if("u"