import{n as e}from"./rolldown-runtime-BG2f4sTM.js";import{D as t,b as n,f as r,l as i,m as a,un as o,x as s,y as c,zt as l}from"./app-initial~avatarOverlayCompositionSurface~index-9fQ9wihu~index-BFCcxPM5~mapbox-gl-DVWlwqb~kppdhley-CabsBVhy.js";import{bt as u,w as d}from"./app-initial~avatarOverlayCompositionSurface~artifact-tab-content.electron~notebook-preview-~ngwudnyz-D_QFwR2V.js";import{a as f,d as p,g as m,o as h}from"./app-initial~avatarOverlayCompositionSurface~artifact-tab-content.electron~notebook-preview-~dejrazf4-CyNQP50P.js";import{l as g,u as _}from"./app-initial~app-main~appgen-settings-page~pull-request-route~plugin-detail-page~onboarding-~j9yriubg-DJRxdHBT.js";import{_ as v,v as y}from"./app-initial~app-main~page~pull-request-route~onboarding-page~appgen-library-page~hotkey-win~lehncapg-DxDbaekH.js";function b(){let e=(0,x.c)(21),n=t(c),i=m(),o=a(u.reviewDelivery),s,l;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,S.jsx)(p,{id:`settings.general.reviewDelivery.label`,defaultMessage:`Review delivery`,description:`Label for the code review delivery setting`}),l=(0,S.jsx)(p,{id:`settings.general.reviewDelivery.description`,defaultMessage:`Start /review in the current chat when possible or launch a separate review chat`,description:`Description for the code review delivery setting`}),e[0]=s,e[1]=l):(s=e[0],l=e[1]);let d=o??`inline`,f;e[2]===n?f=e[3]:(f=e=>{r(n,u.reviewDelivery,e)},e[2]=n,e[3]=f);let h;e[4]===Symbol.for(`react.memo_cache_sentinel`)?(h=(0,S.jsx)(p,{...C.inline}),e[4]=h):h=e[4];let _;e[5]===i?_=e[6]:(_=i.formatMessage(C.inline),e[5]=i,e[6]=_);let y;e[7]===_?y=e[8]:(y={id:`inline`,label:h,ariaLabel:_},e[7]=_,e[8]=y);let b;e[9]===Symbol.for(`react.memo_cache_sentinel`)?(b=(0,S.jsx)(p,{...C.detached}),e[9]=b):b=e[9];let w;e[10]===i?w=e[11]:(w=i.formatMessage(C.detached),e[10]=i,e[11]=w);let T;e[12]===w?T=e[13]:(T={id:`detached`,label:b,ariaLabel:w},e[12]=w,e[13]=T);let E;e[14]!==y||e[15]!==T?(E=[y,T],e[14]=y,e[15]=T,e[16]=E):E=e[16];let D;return e[17]!==E||e[18]!==d||e[19]!==f?(D=(0,S.jsx)(g,{label:s,description:l,control:(0,S.jsx)(v,{selectedId:d,onSelect:f,options:E})}),e[17]=E,e[18]=d,e[19]=f,e[20]=D):D=e[20],D}var x,S,C,w=e((()=>{x=o(),s(),d(),h(),y(),n(),i(),_(),S=l(),C=f({inline:{id:`settings.general.reviewDelivery.inline`,defaultMessage:`Inline`,description:`Inline code review option label`},detached:{id:`settings.general.reviewDelivery.detached`,defaultMessage:`Detached`,description:`Detached code review option label`}})}));export{w as n,b as t};
//# sourceMappingURL=review-delivery-settings-row-BQE2PWas.js.map