PageSourceSearch

https://assets.app.kiro.dev/releases/6d434829b9ca04b7/LandingPage.js

js kiro.dev collected 2026-10-02 02:16:44 UTC 34,525 bytes, 17 lines download raw bytes

1import{bq as t,en as he,bP as O,bl as l,bR as oe,fR as qe,bO as re,fp as He,fd as Ye,eo as A,fV as Je,fJ as Xe,et as we,eq as Ze,f2 as Qe,ev as Be,eu as De,es as et,bK as tt,eZ as Re,ga as Le,e$ as le,gb as st,gc as nt,gd as ce,bF as ze,bL as P,eX as ot,f6 as Ve,eR as at}from"./vendor.js";import{k as ge,n as xe,u as _e,a as be,v as ne,Q as Me,i as Oe,p as Ne,b as ye,d as de,K as it,G as rt,r as lt,c as ct,e as dt,f as Pe,g as mt,h as ut,M as pt,S as ft}from"./main.js";import{s as ht,l as gt,o as xt,O as _t,f as bt,i as yt,a as kt,Z as St,b as vt,J as Ct,r as jt,c as wt}from"./pending-spec-message-store.js";import"./mermaid.js";import{L as ke,P as Se,m as ve,p as me,i as Bt,q as Nt,K as Pt}from"./RepoButton.js";import{s as It,N as Et,S as At,k as Tt}from"./NetworkAccessSelector.js";import{u as $t}from"./use-landing-page-gate.js";import{u as Dt,P as Rt}from"./PendingInvitationsModal.js";import{s as Lt}from"./pending-autonomous-message-store.js";import{u as zt,C as Vt,r as Mt}from"./emailConsentTelemetry.js";import{A as Ie,N as Ot,u as Gt}from"./constants.js";import"./useInitiateProviderAuth.js";import"./oauth-state.js";import"./GitLabPatModal.js";import"./useAvailableProviders.js";import"./useCompleteProviderAuth.js";const Ft="_specModeButton_peldn_1",Ut={specModeButton:Ft};function Wt({enabled:s,onToggle:e,disabled:i=!1}){const o=()=>{i||e(!s)};return t.jsxs(he,{className:Ut.specModeButton,"data-active":s||void 0,disabled:i,onClick:o,"aria-label":s?"Disable spec mode":"Enable spec mode","aria-pressed":s,children:[t.jsx(O,{id:"note",size:"xs"}),t.jsx("span",{children:"Build with spec"})]})}function Kt(){const{getCsrfToken:s}=ge(),e=xe(ke),[i,o]=l.useState("idle"),[h,m]=l.useState(null),[a,n]=l.useState(null),d=_e({options:{}}),c=l.useCallback(async f=>{o("creating"),n(null),m(null);try{const r=Se(),u=(await d.mutateAsync({csrfToken:s(),spaceType:"AUTONOMOUS",providerResources:r.length>0?ve(r,e):void 0})).spaceId;if(!u)throw new Error("No spaceId returned from CreateSpace");return Lt(f),me(),m(u),o("success"),be(),ne("created","autonomous","success"),{spaceId:u}}catch(r){return o("error"),n(r instanceof Error?r:new Error("Unknown error")),ne("created","autonomous","error"),null}},[d,s,e]),x=l.useCallback(()=>{o("idle"),m(null),n(null)},[]);return{status:i,spaceId:h,error:a,isProcessing:i==="creating",startNewAutonomousSpace:c,reset:x}}function qt(){const{getCsrfToken:s}=ge(),e=xe(ke),[i,o]=l.useState("idle"),[h,m]=l.useState(null),[a,n]=l.useState(null),d=_e({options:{}}),c=l.useCallback(async f=>{o("creating"),n(null),m(null);try{const r=Se(),u=(await d.mutateAsync({csrfToken:s(),spaceType:"SPEC",providerResources:r.length>0?ve(r,e):void 0})).spaceId;if(!u)throw new Error("No spaceId returned from CreateSpace");return ht(f),me(),m(u),o("success"),be(),ne("created","spec","success"),{spaceId:u}}catch(r){return o("error"),n(r instanceof Error?r:new Error("Unknown error")),ne("created","spec","error"),null}},[d,s,e]),x=l.useCallback(()=>{o("idle"),m(null),n(null)},[]);return{status:i,spaceId:h,error:a,isProcessing:i==="creating",startNewSpecSpace:c,reset:x}}function Ht(){const{getCsrfToken:s}=ge(),e=xe(ke),[i,o]=l.useState("idle"),[h,m]=l.useState(null),[a,n]=l.useState(null),d=_e({options:{}}),c=l.useCallback(async f=>{o("creating"),n(null),m(null);try{const r=Se(),u=(await d.mutateAsync({csrfToken:s(),spaceType:"VIBE",providerResources:r.length>0?ve(r,e):void 0})).spaceId;if(!u)throw new Error("No spaceId returned from CreateSpace");return It(f),me(),m(u),o("success"),be(),ne("created","vibe","success"),{spaceId:u}}catch(r){return o("error"),n(r instanceof Error?r:new Error("Unknown error")),ne("created","vibe","error"),null}},[d,s,e]),x=l.useCallback(()=>{o("idle"),m(null),n(null)},[]);return{status:i,spaceId:h,error:a,isProcessing:i==="creating",startNewVibeSpace:c,reset:x}}const Yt="_modalContent_d2evd_2",Jt="_closeButton_d2evd_8",Xt="_modalBody_d2evd_15",Zt="_header_d2evd_18",Qt="_ghostBadge_d2evd_25",es="_subtitle_d2evd_34",ts="_card_d2evd_37",ss="_row_d2evd_43",ns="_rowText_d2evd_50",os="_rowControl_d2evd_56",as="_divider_d2evd_59",is="_manageLink_d2evd_64",rs="_footerNote_d2evd_68",ls="_toggleTrack_d2evd_73",$={modalContent:Yt,closeButton:Jt,modalBody:Xt,header:Zt,ghostBadge:Qt,subtitle:es,card:ts,row:ss,rowText:ns,rowControl:os,divider:as,manageLink:is,footerNote:rs,toggleTrack:ls},cs=s=>{const e=oe.c(61),{opened:i,onClose:o}=s,{announce:h}=qe();let m;e[0]!==i?(m={enabled:i},e[0]=i,e[1]=m):m=e[1];const{kiroCommunications:a,countryRegion:n,updateEmailConsent:d,isUpdating:c,isFetching:x,error:f}=zt(m),[r,C]=l.useState(n??null),[u,k]=l.useState(a??!1);let S,g;e[2]!==n||e[3]!==x||e[4]!==c||e[5]!==a?(S=()=>{!c&&!x&&(C(n??null),k(a??!1))},g=[n,a,c,x],e[2]=n,e[3]=x,e[4]=c,e[5]=a,e[6]=S,e[7]=g):(S=e[6],g=e[7]),l.useEffect(S,g);let v;e[8]!==h||e[9]!==o||e[10]!==u||e[11]!==r||e[12]!==d?(v=()=>{if(r==null){o();return}d({kiroCommunications:u,countryRegion:r}).then(()=>{h(u?"Subscribed to Kiro marketing emails":"Email preferences saved","polite"),o()}).catch(ds)},e[8]=h,e[9]=o,e[10]=u,e[11]=r,e[12]=d,e[13]=v):v=e[13];const b=v;let _;e[14]===Symbol.for("react.memo_cache_sentinel")?(_={blur:4,backgroundOpacity:.55},e[14]=_):_=e[14];let p;e[15]===Symbol.for("react.memo_cache_sentinel")?(p={content:$.modalContent,body:$.modalBody},e[15]=p):p=e[15];let j;e[16]===Symbol.for("react.memo_cache_sentinel")?(j=t.jsx(O,{id:"close",size:"sm"}),e[16]=j):j=e[16];let y;e[17]!==o?(y=t.jsx(re,{className:$.closeButton,variant:"subtle",color:"gray","aria-label":"Close",onClick:o,children:j}),e[17]=o,e[18]=y):y=e[18];let G;e[19]===Symbol.for("react.memo_cache_sentinel")?(G=t.jsxs("div",{className:$.header,children:[t.jsx("div",{className:$.ghostBadge,children:t.jsx(He,{size:"sm"})}),t.jsx(Ye,{order:2,size:"h3",children:"Kiro Updates"}),t.jsx(A,{size:"sm",c:"var(--color-text-secondary)",className:$.subtitle,children:"Choose exactly what you hear from us. No spam — only the updates that matter to your workflow."})]}),e[19]=G):G=e[19];let I;e[20]===Symbol.for("react.memo_cache_sentinel")?(I=t.jsx(A,{size:"sm",fw:600,children:"First, tell us 
1your location"}),e[20]=I):I=e[20];let D;e[21]!==f?(D=f?t.jsx(A,{size:"sm",c:"var(--color-feedback-error)",role:"alert",children:"We couldn't load your current preferences. Please close and reopen this dialog to try again."}):null,e[21]=f,e[22]=D):D=e[22];const B=!!f;let z;e[23]===Symbol.for("react.memo_cache_sentinel")?(z=t.jsx(O,{id:"chevron-down",size:"md"}),e[23]=z):z=e[23];let T;e[24]!==r||e[25]!==B?(T=t.jsx(Je,{"aria-label":"Select country/region",data:Vt,value:r,onChange:C,placeholder:"Select country/region",searchable:!0,allowDeselect:!1,disabled:B,nothingFoundMessage:"No matching countries",rightSection:z}),e[24]=r,e[25]=B,e[26]=T):T=e[26];let E,R;e[27]===Symbol.for("react.memo_cache_sentinel")?(E=t.jsx(A,{size:"sm",c:"var(--color-text-secondary)",children:"We need this so we can apply the right consent rules for your region."}),R=t.jsx("hr",{className:$.divider}),e[27]=E,e[28]=R):(E=e[27],R=e[28]);let w;e[29]===Symbol.for("react.memo_cache_sentinel")?(w=t.jsxs("div",{className:$.rowText,children:[t.jsx(A,{size:"sm",fw:600,children:"Stay up to date"}),t.jsx(A,{size:"sm",c:"var(--color-text-secondary)",children:"Receive emails with product updates, tips, and promotional events from marketing"})]}),e[29]=w):w=e[29];let V;e[30]===Symbol.for("react.memo_cache_sentinel")?(V=ue=>k(ue.currentTarget.checked),e[30]=V):V=e[30];const ae=r==null||c||!!f;let Z;e[31]===Symbol.for("react.memo_cache_sentinel")?(Z={track:$.toggleTrack},e[31]=Z):Z=e[31];let K;e[32]!==u||e[33]!==ae?(K=t.jsxs("div",{className:$.row,children:[w,t.jsx("div",{className:$.rowControl,children:t.jsx(Xe,{checked:u,onChange:V,disabled:ae,"aria-label":"Stay up to date with Kiro marketing emails",size:"sm",color:"var(--kiro-purple-500)",classNames:Z})})]}),e[32]=u,e[33]=ae,e[34]=K):K=e[34];let N;e[35]!==D||e[36]!==T||e[37]!==K?(N=t.jsxs(we,{gap:"md",className:$.card,children:[I,D,T,E,R,K]}),e[35]=D,e[36]=T,e[37]=K,e[38]=N):N=e[38];let Y;e[39]!==o?(Y=t.jsx(Ze,{component:Qe,to:"/settings/privacy",onClick:o,className:$.manageLink,size:"sm",children:"Manage all privacy preferences in Settings"}),e[39]=o,e[40]=Y):Y=e[40];let J;e[41]!==c||e[42]!==o?(J=t.jsx(Be,{variant:"tertiary","data-variant":"tertiary",onClick:o,disabled:c,children:"Cancel"}),e[41]=c,e[42]=o,e[43]=J):J=e[43];const ie=!!f;let q;e[44]!==b||e[45]!==c||e[46]!==ie?(q=t.jsx(Be,{variant:"primary","data-variant":"primary",onClick:b,loading:c,disabled:ie,children:"Save preferences"}),e[44]=b,e[45]=c,e[46]=ie,e[47]=q):q=e[47];let F;e[48]!==J||e[49]!==q?(F=t.jsxs(De,{justify:"center",gap:"sm",children:[J,q]}),e[48]=J,e[49]=q,e[50]=F):F=e[50];let Q;e[51]===Symbol.for("react.memo_cache_sentinel")?(Q=t.jsx(A,{size:"xs",c:"var(--color-text-muted)",className:$.footerNote,children:"You can change these preferences at any time. Transactional emails (receipts, security alerts) are not affected by these settings."}),e[51]=Q):Q=e[51];let U;e[52]!==N||e[53]!==Y||e[54]!==F?(U=t.jsxs(we,{gap:"lg",children:[G,N,Y,F,Q]}),e[52]=N,e[53]=Y,e[54]=F,e[55]=U):U=e[55];let ee;return e[56]!==o||e[57]!==i||e[58]!==U||e[59]!==y?(ee=t.jsxs(et,{opened:i,onClose:o,centered:!0,size:"lg",overlayProps:_,withCloseButton:!1,classNames:p,children:[y,U]}),e[56]=o,e[57]=i,e[58]=U,e[59]=y,e[60]=ee):ee=e[60],ee};function ds(){Mt("welcome-modal"),tt.show({title:"Failed to save email preferences",message:"Something went wrong. Please try again.",color:"red"})}const ms="_description_1684p_1",us="_accessLevelButton_1684p_6",ps="_menuItemContent_1684p_46",fs="_menuItemLabel_1684p_52",hs="_menuItemLabelSelected_1684p_61",gs="_menuItemDescription_1684p_65",se={description:ms,accessLevelButton:us,menuItemContent:ps,menuItemLabel:fs,menuItemLabelSelected:hs,menuItemDescription:gs},xs={OPEN_INTERNET:"",COMMON_DEPENDENCIES:"accessing external APIs, downloading packages from non-standard registries, and connecting to custom services outside the allowed dependency list.",INTEGRATIONS_ONLY:"accessing external websites, downloading packages, and connecting to any external services. Only your connected repositories will be accessible."};function _s(s){const e=oe.c(22),{networkAccess:i,isUpdating:o,onUp
1dateNetworkAccess:h}=s,[m,a]=l.useState(ys),[n,d]=l.useState(!1),[c,x]=l.useState(null),[f,r]=l.useState(!1),C=l.useRef(null),{isLoggedIn:u}=Re();let k;e[0]!==u?(k={enabled:u},e[0]=u,e[1]=k):k=e[1];const{subscriptionInfo:S,activeBonuses:g,isLoading:v}=Me(k);let b;e[2]===Symbol.for("react.memo_cache_sentinel")?(b=()=>{de("networkSettingsBanner"),a(!0)},e[2]=b):b=e[2];const _=b;let p;e[3]!==h?(p=async w=>{d(!1),await h(w),x(Ie[w]??w),r(!1),C.current&&clearTimeout(C.current),C.current=setTimeout(()=>{r(!0)},2e3)},e[3]=h,e[4]=p):p=e[4];const j=p;let y;e[5]!==g||e[6]!==v||e[7]!==S?(y=Oe(S,g,v),e[5]=g,e[6]=v,e[7]=S,e[8]=y):y=e[8];const G=y,I=c!==null&&!f,D=i==="INTEGRATIONS_ONLY"&&!I,B=!G&&!m&&(D||I),z=i?Ie[i]??i:"",T=i?xs[i]??"":"";let E;e[9]!==z||e[10]!==j||e[11]!==I||e[12]!==o||e[13]!==T||e[14]!==i||e[15]!==n||e[16]!==B||e[17]!==D||e[18]!==c?(E=B?t.jsx(Le.div,{initial:{opacity:0,height:0,marginBottom:0},animate:{opacity:1,height:"auto",marginBottom:"var(--mantine-spacing-md)"},exit:{opacity:0,height:0,marginBottom:0},transition:{duration:.3,ease:[.4,0,.2,1]},children:I?t.jsx(Ne,{variant:"success",title:`Network settings changed to ${c}`}):t.jsx(Ne,{variant:"info",title:"Network configuration settings",onDismiss:D?_:void 0,children:t.jsxs(A,{className:se.description,size:"sm",component:"span",children:["Your current network access level is set to"," ",t.jsxs(le,{opened:n,onChange:d,position:"bottom-start",withinPortal:!0,children:[t.jsx(le.Target,{children:t.jsxs(he,{className:se.accessLevelButton,"data-open":n||void 0,disabled:o,onClick:()=>d(bs),"aria-label":"Change network access level",children:[z,t.jsx(O,{id:n?"chevron-up":"chevron-down",size:"xs"})]})}),t.jsx(le.Dropdown,{children:Ot.map(w=>{const V=w.value===i;return t.jsx(le.Item,{onClick:()=>j(w.value),children:t.jsxs("div",{className:se.menuItemContent,children:[t.jsxs("span",{className:`${se.menuItemLabel} ${V?se.menuItemLabelSelected:""}`,children:[w.label,V?t.jsx(O,{id:"check",size:"xs"}):null]}),t.jsx("span",{className:se.menuItemDescription,children:w.description})]})},w.value)})})]}),". This configuration will prevent Kiro from ",T]})})}):null,e[9]=z,e[10]=j,e[11]=I,e[12]=o,e[13]=T,e[14]=i,e[15]=n,e[16]=B,e[17]=D,e[18]=c,e[19]=E):E=e[19];let R;return e[20]!==E?(R=t.jsx(st,{children:E}),e[20]=E,e[21]=R):R=e[21],R}function bs(s){return!s}function ys(){return ye("networkSettingsBanner")}const ks="5.9.0",Ss=60,vs=0,Cs=119,js=100,ws=100,Bs="Hero-ghost v2",Ns=0,Ps=[],Is=[{ddd:0,ind:1,ty:4,nm:"blinky",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{s:!0,x:{a:0,k:50,ix:3},y:{a:0,k:50,ix:4}},a:{a:0,k:[0,0,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ty:"rc",d:1,s:{a:1,k:[{i:{x:[.462,.462],y:[1,1.005]},o:{x:[.001,.001],y:[0,.496]},t:10,s:[4,4]},{i:{x:[.667,.667],y:[1,1]},o:{x:[.333,.333],y:[0,-1.263]},t:16,s:[4,40]},{i:{x:[.999,.999],y:[1,.504]},o:{x:[.538,.538],y:[0,-.005]},t:88,s:[4,40]},{t:94,s:[4,4]}],ix:2},p:{a:0,k:[0,0],ix:3},r:{a:0,k:100,ix:4},nm:"Rectangle Path 1",mn:"ADBE Vector Shape - Rect",hd:!1},{ty:"fl",c:{a:0,k:[.474509805441,.054901961237,.796078443527,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Rectangle 1",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:10,op:95,st:10,bm:0},{ddd:0,ind:2,ty:4,nm:"Ghost-1",parent:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:1,k:[{i:{x:.462,y:1},o:{x:.001,y:1},t:14,s:[16,-1.75,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.999,y:.557},o:{x:.54,y:0},t:62,s:[-19.616,-1.75,0],to:[0,0,0],ti:[0,0,0]},{t:90,s:[16,-1.75,0]}],ix:2,l:2},a:{a:0,k:[0,0,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,hasMask:!0,masksProperties:[{inv:!1,mode:"a",pt:{a:1,k:[{i:{x:.462,y:1},o:{x:.001,y:1},t:14,s:[{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[-15.953,-30.125],[-67.384,-30.125],[-67.384,38.879],[-15.953,38.879]],c:!0}]},{i:{x:.833,y:.833},o:{x:.54,y:0},t:62,s:[{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[19.797,-30.125],[-31.634,-30.125],[-31.634,38.879],[19.797,38.879]],c:!0}]},{i:{x:.833,y:.833},o:{x:.167,y:.167},t:81,s:[{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[8.598,-30.125],[-42.834,-30.125],[-42.834,38.879],[8.598,38.879]],c:!0}]},{i:{x:.833,y:.833},o:{x:.167,y:.167},t:86,s:[{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[.423,-30.125],[-51.008,-30.125],[-51.008,38.879],[.423,38.879]],c:!0}]},{i:{x:.999,y:.051},o:{x:.167,y:.167},t:89,s:[{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[-7.981,-30.125],[-59.413,-30.125],[-59.413,38.879],[-7.981,38.879]],c:!0}]},{t:90,s:[{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[-15.953,-30.125],[-67.384,-30.125],[-67.384,38.879],[-15.953,38.879]],c:!0}]}],ix:1},o:{a:0,k:100,ix:3},x:{a:0,k:0,ix:4},nm:"Mask 1"}],ef:[{ty:5,nm:"Ypos",np:3,mn:"ADBE Slider Control",ix:1,en:1,ef:[{ty:0,nm:"Slider",mn:"ADBE Slider Control-0001",ix:1,v:{a:1,k:[{i:{x:[.4],y:[1]},o:{x:[.6],y:[0]},t:10,s:[1.037]},{i:{x:[.306],y:[1]},o:{x:[.6],y:[0]},t:54,s:[0]},{t:89,s:[2.2]}],ix:1}}]}
1,{ty:5,nm:"Blink",np:3,mn:"ADBE Checkbox Control",ix:2,en:1,ef:[{ty:7,nm:"Checkbox",mn:"ADBE Checkbox Control-0001",ix:1,v:{a:1,k:[{t:10,s:[1],h:1},{t:74,s:[0],h:1},{t:77,s:[1],h:1}],ix:1}}]}],shapes:[{ty:"gr",it:[{ty:"gr",it:[{ty:"gr",it:[{ty:"rc",d:1,s:{a:0,k:[3.2,1.2],ix:2},p:{a:0,k:[0,0],ix:3},r:{a:0,k:100,ix:4},nm:"Rectangle Path 1",mn:"ADBE Vector Shape - Rect",hd:!1},{ty:"rc",d:1,s:{a:0,k:[3.2,1.2],ix:2},p:{a:0,k:[4.8,0],ix:3},r:{a:0,k:100,ix:4},nm:"Rectangle Path 2",mn:"ADBE Vector Shape - Rect",hd:!1},{ty:"fl",c:{a:0,k:[0,0,0,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[1.505,-4.172],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:0,ix:7,x:`var $bm_rt;
2var n, n, n;
3$bm_rt = n = effect('Blink')('Checkbox');
4if (n < 1) {
5    $bm_rt = n = 100;
6} else if (n >= 1) {
7    $bm_rt = n = 0;
8}`},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Eyes-closed",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,-.765],[-1.195,0],[0,0],[0,1.421],[.288,.393],[.417,0],[.229,-.339]],o:[[0,.847],[0,0],[.919,0],[0,-.752],[-.253,-.345],[-.417,0],[-.261,.385]],v:[[-1.421,0],[-.047,2.268],[-.047,2.268],[1.421,0],[.981,-1.749],[-.047,-2.268],[-1.023,-1.758]],c:!0},ix:2},nm:"Path 2",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[0,-.765],[-1.195,0],[0,0],[0,1.421],[.288,.393],[.417,0],[.229,-.339]],o:[[0,.847],[0,0],[.919,0],[0,-.752],[-.253,-.345],[-.417,0],[-.261,.385]],v:[[-6.207,0],[-4.834,2.268],[-4.833,2.268],[-3.365,0],[-3.805,-1.749],[-4.834,-2.268],[-5.809,-1.758]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[0,0,0,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[6.305,-4.126],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7,x:`var $bm_rt;
9var n, n;
10n = effect('Blink')('Checkbox');
11$bm_rt = n = $bm_mul(n, 100);`},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Eyes-open",np:3,cix:2,bm:0,ix:2,mn:"ADBE Vector Group",hd:!1},{ty:"tr",p:{a:1,k:[{t:10,s:[5.604,-4.126],h:1},{t:77,s:[-.395,-4.126],h:1}],ix:2},a:{a:0,k:[3.905,-4.126],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Eyes",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:1,k:[{i:{x:.4,y:1},o:{x:.6,y:0},t:61,s:[{i:[[-1.381,4.331],[2.993,6.6],[0,0],[0,0],[.835,1.564],[.249,.673],[.167,1.113],[.585,1.869],[2.913,-10.613],[-4.098,-7.396]],o:[[4.701,3.863],[0,0],[0,0],[4.305,1.565],[-.538,-1.007],[-.433,-1.17],[-.331,-2.207],[-2.506,-10.678],[-.425,1.556],[1.859,3.355]],v:[[-.77,12.31],[7.311,7.918],[7.718,8.102],[7.718,8.101],[11.541,5.084],[10.412,2.806],[9.694,-.187],[8.767,-6.387],[-11.213,-6.441],[-9.195,10.055]],c:!0}]},{t:90,s:[{i:[[-3.911,2.319],[-.579,6.922],[0,0],[0,0],[-.642,1.653],[-.582,1.729],[-.178,1.111],[.585,1.869],[2.913,-10.613],[1.853,-8.25]],o:[[.945,6.01],[0,0],[0,0],[1.618,4.285],[.413,-1.064],[.398,-1.182],[.353,-2.203],[-2.506,-10.678],[-.425,1.556],[-.841,3.743]],v:[[-8.718,13.237],[.915,11.806],[1.474,12.445],[1.475,12.444],[6.254,13.377],[8.544,8.124],[9.767,3.805],[8.767,-6.387],[-11.213,-6.441],[-13.515,5.952]],c:!0}]}],ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,1,1,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[.001,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,-100],ix:3},r:{a:0,k:180,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Body",np:2,cix:2,bm:0,ix:2,mn:"ADBE Vector Group",hd:!1},{ty:"tr",p:{a:0,k:[.001,-1.636],ix:2,x:`var $bm_rt;
12var temp;
13temp = effect('Ypos')('Slider');
14$bm_rt = [
15    0,
16    temp
17];`},a:{a:0,k:[.001,0],ix:1},s:{a:0,k:[-100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Ghost 1",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:10,op:91,st:10,bm:0}],Es=[{tm:0,cm:"Lottie",dr:0}],As={v:ks,fr:Ss,ip:vs,op:Cs,w:js,h:ws,nm:Bs,ddd:Ns,assets:Ps,layers:Is,markers:Es};function Ts({className:s,onComplete:e}){const i=l.useRef(null),o=l.useRef(null),h=l.useRef(e);return h.current=e,l.useEffect(()=>{if(i.current)return o.current=nt.loadAnimation({container:i.current,renderer:"svg",loop:!1,autoplay:!0,animationData:As}),o.current.addEventListener("complete",()=>{h.current?.()}),()=>{o.current?.destroy()}},[]),t.jsx("div",{ref:i,className:s})}const $s="_root_fuz42_1",Ds="_lottieContainer_fuz42_8",Rs="_lottie_fuz42_8",Ls="_headersContainer_fuz42_22",zs="_headline_fuz42_30",Vs="_subtitle_fuz42_42",Ms="_description_fuz42_52",Os="_descriptionVisible_fuz42_65",Gs="_beforeDescription_fuz42_69",Fs="_beforeDescriptionVisible_fuz42_75",W={root:$s,lottieContainer:Ds,lottie:Rs,headersContainer:Ls,headline:zs,subtitle:Vs,description:Ms,descriptionVisible:Os,beforeDescription:Gs,beforeDescriptionVisible:Fs};function Ee({text:s,speed:e=35,onComplete:i,className:o}){const[h,m]=l.useState(0),a=l.useRef(i);return a.current=i,l.useEffect(()=>{let n=0;const d=setInterval(()=>{n++,m(n),n>=s.length&&(clearInterval(d),a.current?.())},e);return()=>clearInterval(d)},[s,e]),t.jsx("span",{className:o,"aria-label":s,children:t.jsx("span",{"aria-hidden":"true",children:s.split("").map((n,d)=>t.jsx("span",{style:{opacity:d<h?1:0},children:n},`${n}-${d}`))})})}function Ge(s){const e=oe.c(21),{headline:i,subtitle:o,description:h,className:m,beforeDescription:a}=s,[n,d]=l.useState("lottie");let c;e[0]===Symbol.for("react.memo_cache_sentinel")?(c=()=>{d("headline")},e[0]=c):c=e[0];const x=c;let f;e[1]===Symbol.for("react.memo_cache_sentinel")?(f=()=>{d("subtitle")},e[1]=f):f=e[1];const r=f;let C;e[2]===Symbol.for("react.memo_cache_sentinel")?(C=()=>{d("description"),setTimeout(()=>d("done"),500)},e[2]=C):C=e[2];const u=C,k=`${W.root}${m?` ${m}`:""}`;let S;e[3]!==n?(S=n==="lottie"?t.jsx("div",{className:W.lottieContainer,children:t.jsx(Ts,{className:W.lottie,onComplete:x})}):null,e[3]=n,e[4]=S):S=e[4];let g;e[5]!==i||e[6]!==n||e[7]!==o?(g=n!=="lottie"?t.jsxs("div",{className:W.headersContainer,children:[t.jsx(Ee,{text:i,speed:35,onComplete:r,className:W.headline}),n==="subtitle"||n==="description"||n==="done"?t.jsx(Ee,{text:o,speed:25,onComplete:u,className:W.subtitle}):null]}):null,e[5]=i,e[6]=n,e[7]=o,e[8]=g):g=e[8];let v;e[9]!==a||e[10]!==n?(v=a?t.jsx("div",{className:`${W.beforeDescription} ${n==="description"||n==="done"?W.beforeDescriptionVisible:""}`,children:a}):null,e[9]=a,e[10]=n,e[11]=v):v=e[11];const b=`${W.description} ${n==="description"||n==="done"?W.descriptionVisible:""}`;let _;e[12]!==h||e[13]!==b?(_=t.jsx("div",{className:b,children:h}),e[12]=h,e[13]=b,e[14]=_):_=e[14];let p;return e[15]!==k||e[16]!==S||e[17]!==g||e[18]!==v||e[19]!==_?(p=t.jsxs("div",{className:k,children:[S,g,v,_]}),e[15]=k,e[16]=S,e[17]=g,e[18]=v,e[19]=_,e[20]=p):p=e[20],p}const Us="_overlay_fraei_1",Ws="_content_fraei_11",Ks="_leftPanel_fraei_25",qs="_leftPanelCloseButton_fraei_46",Hs="_badge_fraei_73",Ys="_promoBadge_fraei_84",Js="_promoBadgeIcon_fraei_98",Xs="_promoBadgeText_fraei_104",Zs="_rightPanel_fraei_114",Qs="_closeButton_fraei_134",en="_promptsHeading_fraei_155",tn="_promptButton_fraei_164",L={overlay:Us,content:Ws,leftPanel:Ks,leftPanelCloseButton:qs,badge:Hs,promoBadge:Ys,promoBadgeIcon:Js,promoBadgeText:Xs,rightPanel:Zs,
17closeButton:Qs,promptsHeading:en,promptButton:tn};function Ae(){de("promoCredits"),de("welcome")}function Te(){return ye("promoCredits")}const sn=["Add error handling to the login function in auth.ts","Help me design the schema for a notifications feature","Write unit tests for the UserService class","Update outdated dependencies across my monorepo","Fix the race condition in issue #247"];function nn(s){const e=oe.c(30),{opened:i,onClose:o,onSelectPrompt:h}=s;let m;e[0]!==o?(m=()=>{Ae(),o()},e[0]=o,e[1]=m):m=e[1];const a=m;let n;e[2]!==h?(n=y=>{Ae(),h(y)},e[2]=h,e[3]=n):n=e[3];const d=n;if(!i)return null;let c;e[4]!==a?(c=y=>{y.key==="Escape"&&a()},e[4]=a,e[5]=c):c=e[5];let x;e[6]===Symbol.for("react.memo_cache_sentinel")?(x=t.jsx(ce.InitialFocus,{}),e[6]=x):x=e[6];let f;e[7]===Symbol.for("react.memo_cache_sentinel")?(f=t.jsx(O,{id:"close",size:"lg"}),e[7]=f):f=e[7];let r;e[8]!==a?(r=t.jsx(re,{className:L.leftPanelCloseButton,variant:"subtle","aria-label":"Close promo dialog",onClick:a,children:f}),e[8]=a,e[9]=r):r=e[9];let C;e[10]===Symbol.for("react.memo_cache_sentinel")?(C=t.jsx("span",{className:L.badge,children:"Just Released"}),e[10]=C):C=e[10];let u;e[11]===Symbol.for("react.memo_cache_sentinel")?(u=t.jsx(Ge,{headline:"Introducing Kiro Web",subtitle:"Build with Kiro, right from your browser.",description:"Want the agent to own it end-to-end? Toggle Autonomous to let Kiro plan, code, and open a PR on its own.",beforeDescription:t.jsxs(P,{className:L.promoBadge,children:[t.jsx(ot,{src:it,alt:"",className:L.promoBadgeIcon,"aria-hidden":"true"}),t.jsx(A,{component:"span",className:L.promoBadgeText,children:"50% off credits on Kiro Web until 5/29"})]})}),e[11]=u):u=e[11];let k;e[12]!==r?(k=t.jsxs(P,{className:L.leftPanel,children:[r,C,u]}),e[12]=r,e[13]=k):k=e[13];let S;e[14]===Symbol.for("react.memo_cache_sentinel")?(S=t.jsx(O,{id:"close",size:"lg"}),e[14]=S):S=e[14];let g;e[15]!==a?(g=t.jsx(re,{className:L.closeButton,variant:"subtle","aria-label":"Close promo dialog",onClick:a,children:S}),e[15]=a,e[16]=g):g=e[16];let v;e[17]===Symbol.for("react.memo_cache_sentinel")?(v=t.jsx(A,{className:L.promptsHeading,children:"Try a quick prompt:"}),e[17]=v):v=e[17];let b;e[18]!==d?(b=sn.map(y=>t.jsxs("button",{type:"button",className:L.promptButton,onClick:()=>d(y),children:["“",y,"”"]},y)),e[18]=d,e[19]=b):b=e[19];let _;e[20]!==g||e[21]!==b?(_=t.jsxs(P,{className:L.rightPanel,children:[g,v,b]}
17),e[20]=g,e[21]=b,e[22]=_):_=e[22];let p;e[23]!==_||e[24]!==k?(p=t.jsx(ce,{active:!0,children:t.jsxs(P,{className:L.content,role:"dialog","aria-modal":"true","aria-label":"Kiro Web Promotion",onClick:on,children:[x,k,_]})}),e[23]=_,e[24]=k,e[25]=p):p=e[25];let j;return e[26]!==a||e[27]!==p||e[28]!==c?(j=ze.createPortal(t.jsx(P,{className:L.overlay,onClick:a,onKeyDown:c,children:p}),document.body),e[26]=a,e[27]=p,e[28]=c,e[29]=j):j=e[29],j}function on(s){return s.stopPropagation()}const an="_banner_1fsvf_1",rn="_ghostContainer_1fsvf_16",ln="_ghostIcon_1fsvf_25",cn="_bannerContent_1fsvf_31",dn="_title_1fsvf_38",mn="_description_1fsvf_43",un="_actions_1fsvf_48",pn="_upgradeButton_1fsvf_55",X={banner:an,ghostContainer:rn,ghostIcon:ln,bannerContent:cn,title:dn,description:mn,actions:un,upgradeButton:pn};function fn(){const s=oe.c(10),{isLoggedIn:e}=Re();let i;s[0]!==e?(i={enabled:e},s[0]=e,s[1]=i):i=s[1];const{subscriptionInfo:o,activeBonuses:h,isLoading:m}=Me(i),a=Ve();if(m||!Oe(o,h,m))return null;let n;s[2]===Symbol.for("react.memo_cache_sentinel")?(n=t.jsx(P,{className:X.ghostContainer,children:t.jsx("img",{src:rt,alt:"",className:X.ghostIcon,"aria-hidden":"true"})}),s[2]=n):n=s[2];let d;s[3]===Symbol.for("react.memo_cache_sentinel")?(d=t.jsxs(P,{className:X.bannerContent,children:[t.jsx(A,{className:X.title,size:"sm",children:"Upgrade to unlock Kiro Web"}),t.jsx(A,{className:X.description,size:"sm",children:"Kiro Web is available on Pro, Pro+, and Power plans. Upgrade your subscription to start using Kiro Web."})]}),s[3]=d):d=s[3];let c;s[4]!==a?(c=()=>a("/settings/account#upgrade"),s[4]=a,s[5]=c):c=s[5];let x,f;s[6]===Symbol.for("react.memo_cache_sentinel")?(x=t.jsx(A,{size:"xs",fw:500,inherit:!0,children:"Upgrade plan"}),f=t.jsx(O,{id:"arrow-right",size:"xs"}),s[6]=x,s[7]=f):(x=s[6],f=s[7]);let r;return s[8]!==c?(r=t.jsxs(P,{className:X.banner,children:[n,d,t.jsx(P,{className:X.actions,children:t.jsxs(he,{className:X.upgradeButton,onClick:c,children:[x,f]})})]}),s[8]=c,s[9]=r):r=s[9],r}const hn="_overlay_1q5r9_1",gn="_content_1q5r9_11",xn="_leftPanel_1q5r9_25",_n="_leftPanelCloseButton_1q5r9_46",bn="_badge_1q5r9_73",yn="_rightPanel_1q5r9_84",kn="_closeButton_1q5r9_104",Sn="_promptsHeading_1q5r9_125",vn="_promptButton_1q5r9_134",H={overlay:
17hn,content:gn,leftPanel:xn,leftPanelCloseButton:_n,badge:bn,rightPanel:yn,closeButton:kn,promptsHeading:Sn,promptButton:vn};function $e(){de("welcome")}function Cn(){return ye("welcome")}const jn=["Add error handling to the login function in auth.ts","Help me design the schema for a notifications feature","Write unit tests for the UserService class","Update outdated dependencies across my monorepo","Fix the race condition in issue #247"];function wn(s){const e=oe.c(30),{opened:i,onClose:o,onSelectPrompt:h}=s;let m;e[0]!==o?(m=()=>{$e(),o()},e[0]=o,e[1]=m):m=e[1];const a=m;let n;e[2]!==h?(n=y=>{$e(),h(y)},e[2]=h,e[3]=n):n=e[3];const d=n;if(!i)return null;let c;e[4]!==a?(c=y=>{y.key==="Escape"&&a()},e[4]=a,e[5]=c):c=e[5];let x;e[6]===Symbol.for("react.memo_cache_sentinel")?(x=t.jsx(ce.InitialFocus,{}),e[6]=x):x=e[6];let f;e[7]===Symbol.for("react.memo_cache_sentinel")?(f=t.jsx(O,{id:"close",size:"lg"}),e[7]=f):f=e[7];let r;e[8]!==a?(r=t.jsx(re,{className:H.leftPanelCloseButton,variant:"subtle","aria-label":"Close welcome dialog",onClick:a,children:f}),e[8]=a,e[9]=r):r=e[9];let C,u;e[10]===Symbol.for("react.memo_cache_sentinel")?(C=t.jsx("span",{className:H.badge,children:"Just Released"}),u=t.jsx(Ge,{headline:"Introducing Kiro Web",subtitle:"Build with Kiro, right from your browser.",description:"Want the agent to own it end-to-end? Toggle Autonomous to let Kiro plan, code, and open a PR on its own."}),e[10]=C,e[11]=u):(C=e[10],u=e[11]);let k;e[12]!==r?(k=t.jsxs(P,{className:H.leftPanel,children:[r,C,u]}),e[12]=r,e[13]=k):k=e[13];let S;e[14]===Symbol.for("react.memo_cache_sentinel")?(S=t.jsx(O,{id:"close",size:"lg"}),e[14]=S):S=e[14];let g;e[15]!==a?(g=t.jsx(re,{className:H.closeButton,variant:"subtle","aria-label":"Close welcome dialog",onClick:a,children:S}),e[15]=a,e[16]=g):g=e[16];let v;e[17]===Symbol.for("react.memo_cache_sentinel")?(v=t.jsx(A,{className:H.promptsHeading,children:"Try a quick prompt:"}),e[17]=v):v=e[17];let b;e[18]!==d?(b=jn.map(y=>t.jsxs("button",{type:"button",className:H.promptButton,onClick:()=>d(y),children:["“",y,"”"]},y)),e[18]=d,e[19]=b):b=e[19];let _;e[20]!==g||e[21]!==b?(_=t.jsxs(P,{className:H.rightPanel,children:[g,v,b]}
17),e[20]=g,e[21]=b,e[22]=_):_=e[22];let p;e[23]!==_||e[24]!==k?(p=t.jsx(ce,{active:!0,children:t.jsxs(P,{className:H.content,onClick:Bn,children:[x,k,_]})}),e[23]=_,e[24]=k,e[25]=p):p=e[25];let j;return e[26]!==a||e[27]!==p||e[28]!==c?(j=ze.createPortal(t.jsx(P,{className:H.overlay,onClick:a,onKeyDown:c,role:"dialog","aria-modal":"true","aria-label":"Welcome to Kiro Web",children:p}),document.body),e[26]=a,e[27]=p,e[28]=c,e[29]=j):j=e[29],j}function Bn(s){return s.stopPropagation()}const Nn="_landingPageContainer_ey8hi_1",Pn={landingPageContainer:Nn};function Kn(){lt("Home");const s=Ve(),{prompt:e,submitDisabled:i,submitDisabledReason:o}=$t(),{startNewVibeSpace:h,isProcessing:m}=Ht(),{startNewAutonomousSpace:a,isProcessing:n}=Kt(),{startNewSpecSpace:d,isProcessing:c}=qt(),{totalSessionCount:x=0,groupNames:f=[],moveToGroup:r}=ct(),{networkAccess:C,customDomains:u,isUpdating:k,isDisabled:S,updateNetworkConfig:g}=Gt(),v=x>=pt,[b,_]=l.useState(null),[p,j]=l.useState("vibe"),[y,G]=l.useState(!1),[I,D]=l.useState(""),B=Dt(),z=dt(),[T,E]=l.useState(!1),[R,w]=l.useState(!1),[V,ae]=l.useState(!1);l.useEffect(()=>{V||(ae(!0),E(Pe()&&!Te()),w(!Cn()&&(!Pe()||Te())))},[V]);const[Z,K]=l.useState(void 0);l.useLayoutEffect(()=>{me(),Bt(),gt(),xt()},[]);const N=m||n||c,{option:Y,isLoading:J}=_t(),{hasFlag:ie}=mt(ft),q=p==="spec-driven";l.useState(()=>(bt(),null));const F=wt(),Q=l.useMemo(()=>ut(),[]),U=l.useRef(null),ee=l.useCallback(M=>{j(M?"autonomous":"vibe"),yt(M)},[]),ue=l.useCallback(M=>{j(M?"spec-driven":"vibe")},[]),Fe=l.useCallback(()=>{E(!1)},[]),Ue=l.useCallback(()=>{w(!1)},[]),Ce=l.useCallback(M=>{E(!1),w(!1),K(M)},[]),We=l.useCallback(()=>{K(void 0)},[]),je=l.useCallback(async M=>{await g(M,u)},[g,u]),Ke=l.useCallback(async(M,pe)=>{if(!M.trim()&&(!pe||pe.length===0))return;_(null),G(!0);const fe={text:M.trim()||void 0,attachments:pe};let te=null;try{p==="spec-driven"?te=await d(fe):p==="autonomous"?te=await a(fe):te=await h(fe),te?.spaceId?(I&&await r(te.spaceId,I),kt(F),s(`/session/${te.spaceId}`,{replace:!0})):(G(!1),_("Failed to create chat. Please try again."))}catch{G(!1),_("Failed to create chat. Please try again.")}},[p,h,a,d,s,F,I,r]);return t.jsxs(Le.div,{initial:{opacity:0,scale:.98,y:8,filter:"blur(4px)"},animate:{opacity:1,scale:1,y:0,filter:"blur(0px)"},transition:{duration:.3,ease:[.4,0,.2,1]},style:{display:"flex",flexDirection:"column",height:"100%"},children:[t.jsxs(P,{className:Pn.landingPageContainer,children:[b?t.jsx(A,{c:"red",size:"sm",ta:"center",py:"xs",children:b}):null,v?t.jsx(at,{icon:t.jsx(O,{id:"warning",size:"md"}),color:"orange",variant:"light",title:"Session limit reached",mb:"md",children:"You have reached the maximum number of sessions. Please delete an existing session before creating a new one."}):null,t.jsx(St,{hasChatStarted:!1,state:Q,initialStatusText:N?"Creating your experience...":void 0,aboveInitialInput:t.jsxs(t.Fragment,{children:[t.jsx(fn,{}),S?null:t.jsx(_s,{networkAccess:C,isUpdating:k,onUpdateNetworkAccess:je}),e]}),chatInputProps:{storageKey:F,disabled:N||v,placeholder:"Ask a question or describe a task...",onSubmit:Ke,clearOnSubmit:!1,enableAttachments:!0,hideInternalImageButton:!0,imageButtonRef:U,initialValue:Z,onInitialValueConsumed:We,submitDisabled:i,submitDisabledReason:o,leftActions:ie?t.jsx(Wt,{enabled:p==="spec-driven",onToggle:ue,disabled:N}):null,rightActions:t.jsxs(De,{gap:"xs",align:"center",children:[t.jsx(At,{currentGroup:I,groupNames:f,onSelectGroup:D,disabled:N}),t.jsx(Ct,{disabled:N,forceAuto:p==="autonomous"}),p==="autonomous"?null:t.jsx(jt,{disabled:N,isLoading:J,option:Y}),t.jsx(Tt,{enabled:p==="autonomous",onToggle:ee,disabled:N||q,disabledReason:q?"Autonomous is not available when generating a spec":void 0})]}),belowActions:t.jsxs(t.Fragment,{children:[t.jsxs(P,{style:{display:"flex",alignItems:"center",gap:"var(--spacing-kiro-sm, 8px)"},children:[S||i?null:t.jsx(Et,{networkAccess:C,isUpdating:k,onUpdateNetworkAccess:je,readOnly:y}),t.jsx(vt,{disabled:N||i,isFull:U.current?.isFull,onClick:()=>U.current?.open()}),t.jsx(Nt,{disabled:N||i})]}),t.jsx(P,{style:{display:"flex",alignItems:"center",gap:"var(--spacing-kiro-sm, 8px)",minWidth:0,flex:1,overflow:"hidden"},children:t.jsx(Pt,{})})]})}})]}),t.jsx(Rt,{opened:B.opened,invitations:B.invitations,isLoading:B.isLoading,onClose:B.onClose,onInvitationAccepted:B.onInvitationAccepted}),t.jsx(wn,{opened:!!(R&&!T&&!B.opened),onClose:Ue,onSelectPrompt:Ce}),t.jsx(nn,{opened:!!(T&&!B.opened),onClose:Fe,onSelectPrompt:Ce}),t.jsx(cs,{opened:!!(z.shouldShow&&V&&!R&&!T&&!B.opened),onClose:z.dismiss})]})}export{Kn as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.