github-issue-tower-defence-management 2.111.4 → 2.111.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/bin/adapter/entry-points/console/ui-dist/assets/{index-GTUSYIY9.js → index-BkMICtnO.js}
RENAMED
|
@@ -88,4 +88,4 @@ Please report this to https://github.com/markedjs/marked.`,e){let e=`<p>An error
|
|
|
88
88
|
`).find(e=>e.trim()!==``)??``,qu=e=>`${e.author}:${e.createdAt}:${e.body}`,Ju=({comment:e,buildImageProxyUrl:t,renderReferenceLink:n,repoContext:r})=>{let i=(0,y.useRef)(null);return(0,y.useEffect)(()=>{let e=i.current;if(!e)return;let t=e=>e.stopPropagation();return e.addEventListener(`click`,t),()=>e.removeEventListener(`click`,t)},[]),(0,x.jsx)(`div`,{ref:i,className:`console-comment-body-expanded`,children:(0,x.jsx)(Eu,{body:e.body,buildImageProxyUrl:t,renderReferenceLink:n,repoContext:r})})},Yu=({comments:e,isLoading:t,error:n,now:r,workflowImprovementIssueUrl:i=null,buildImageProxyUrl:a,renderReferenceLink:o,repoContext:s,persistenceKey:c=null})=>{let[l,u]=(0,y.useState)(!1),[d,f]=(0,y.useState)(()=>c==null?new Set:Ar(c)),p=e.length>0?qu(e[e.length-1]):null;(0,y.useEffect)(()=>{p!==null&&f(e=>new Set([...e,p]))},[p]),(0,y.useEffect)(()=>{c!=null&&jr(c,d)},[c,d]);let m=e=>{f(t=>{let n=new Set(t);return n.has(e)?n.delete(e):n.add(e),n})};if(n!==null)return(0,x.jsx)(`p`,{className:`console-comment-notloaded`,children:`Not loaded.`});if(t)return(0,x.jsx)(`p`,{className:`console-comment-loading`,children:`Loading comments...`});if(e.length===0)return(0,x.jsx)(`p`,{className:`console-comment-empty`,children:`No comments.`});let h=!l&&e.length>1;return(0,x.jsxs)(`div`,{className:`console-comment-list`,children:[h&&(0,x.jsxs)(`button`,{type:`button`,className:`console-comment-show-all`,onClick:()=>{u(!0),f(t=>new Set([...t,...e.map(qu)]))},children:[`Show all `,e.length]}),e.map(e=>{let t=qu(e),n=d.has(t);return(0,x.jsxs)(`article`,{className:`console-comment${n?` is-expanded`:h?` console-comment--expandable`:``}`,children:[(0,x.jsxs)(`button`,{type:`button`,className:`console-comment-toggle`,onClick:()=>m(t),"aria-expanded":n,children:[(0,x.jsx)(`span`,{className:`console-comment-author`,children:e.author}),(0,x.jsx)(`span`,{className:`console-comment-time`,children:ne(e.createdAt,r)}),!n&&(0,x.jsx)(`span`,{className:`console-comment-body-preview`,children:Ku(e.body)})]}),i!==null&&e.url!==null&&(0,x.jsx)(`a`,{href:Ei(i,e.url),target:`_blank`,rel:`noreferrer`,className:`console-comment-report-link`,"aria-label":`Create workflow incident report for this comment`,children:`⚡`}),n&&(0,x.jsx)(Ju,{comment:e,buildImageProxyUrl:a,renderReferenceLink:o,repoContext:s})]},t)})]})},Xu=e=>e.slice(0,7),Zu=e=>e.split(`
|
|
89
89
|
`)[0],Qu=({commits:e,isLoading:t,error:n,now:r})=>n===null?t?(0,x.jsx)(`p`,{className:`console-commits-loading`,children:`Loading commits...`}):e.length===0?(0,x.jsx)(`p`,{className:`console-commits-empty`,children:`No commits.`}):(0,x.jsx)(`ul`,{className:`console-commits`,children:e.map(e=>(0,x.jsxs)(`li`,{className:`console-commit`,children:[(0,x.jsx)(`span`,{className:`console-commit-message`,children:Zu(e.message)}),(0,x.jsx)(`span`,{className:`console-commit-sha`,children:Xu(e.sha)}),(0,x.jsx)(`span`,{className:`console-commit-author`,children:e.author}),(0,x.jsx)(`span`,{className:`console-commit-time`,children:ne(e.authoredAt,r)})]},e.sha))}):(0,x.jsx)(`p`,{className:`console-commits-notloaded`,children:`Not loaded.`}),$u=({url:e,label:t=`Copy URL`})=>(0,x.jsx)(au,{value:e,idleText:`Copy URL`,idleAriaLabel:t,copiedAriaLabel:`URL copied to clipboard`,className:`console-copy-url-button`}),ed=e=>{let t=new Map;for(let n of e){let e=t.get(n.message);if(e===void 0){t.set(n.message,[n.section]);continue}e.push(n.section)}return Array.from(t,([e,t])=>({message:e,sections:t}))},td=e=>e.length<=1?e.join(``):`${e.slice(0,-1).join(`, `)} and ${e[e.length-1]}`,nd=({failures:e})=>e.length===0?null:(0,x.jsx)(`div`,{role:`alert`,className:`console-detail-fetch-error`,children:ed(e).map(e=>(0,x.jsxs)(`p`,{className:`console-detail-fetch-error-line`,children:[`Failed to load `,td(e.sections),`:`,` `,e.message]},e.message))}),rd={MERGEABLE:{color:`GREEN`,label:`No conflict`,title:`This pull request has no merge conflicts`,modifier:`console-detail-mergeable-chip-ok`},CONFLICTING:{color:`RED`,label:`Conflict`,title:`This pull request has merge conflicts`,modifier:`console-detail-mergeable-chip-conflict`},UNKNOWN:{color:`GRAY`,label:`Checking merge status`,title:`GitHub has not finished computing the merge status yet`,modifier:`console-detail-mergeable-chip-unknown`}},id=({mergeableStatus:e})=>{let t=rd[e],n=N(t.color);return(0,x.jsx)(`span`,{className:`console-detail-status-chip console-detail-mergeable-chip ${t.modifier}`,style:{color:n.fg,borderColor:n.border,backgroundColor:n.bg},title:t.title,children:t.label})},ad=e=>{let t=N(e);return{color:t.fg,borderColor:t.border,backgroundColor:t.bg}},od=({isPassedAllCiJob:e,isCiStateSuccess:t,isBranchOutOfDate:n,missingRequiredCheckNames:r})=>{let i=e&&t,a=i?`GREEN`:`RED`,o=i?`CI passing`:`CI failing`,s=!i&&r.length>0?`missing: ${r.join(`, `)}`:null;return(0,x.jsxs)(`span`,{className:`console-detail-pr-status`,children:[(0,x.jsxs)(`span`,{className:`console-detail-status-chip console-detail-ci-chip`,style:ad(a),title:s??o,children:[o,s!==null&&(0,x.jsxs)(`span`,{className:`console-detail-ci-missing`,children:[` `,`(`,s,`)`]})]}),n&&(0,x.jsx)(`span`,{className:`console-detail-status-chip console-detail-outofdate-chip`,style:ad(`YELLOW`),title:`This branch is out of date with the base branch`,children:`Out of date`})]})},sd=({pullRequest:e,body:t,bodyIsLoading:n,files:r,filesAreLoading:i,filesError:a,commits:o,commitsAreLoading:s,commitsError:c,now:l,buildImageProxyUrl:u,renderReferenceLink:d,onAddInlineComment:f})=>{let p=e.summary,m=Ci(e.url),h=m===null?void 0:{owner:m.owner,repo:m.repo},g=i||a!==null?null:r.length,_=s||c!==null?null:o.length;return(0,x.jsxs)(x.Fragment,{children:[(0,x.jsxs)(`div`,{className:`console-pr-header`,children:[(0,x.jsx)(`a`,{href:e.url,className:`console-pr-section-title`,target:`_blank`,rel:`noopener noreferrer`,children:p?.title??e.url}),e.isDraft&&(0,x.jsx)(`span`,{className:`console-pr-section-state`,children:`draft`}),(0,x.jsx)(id,{mergeableStatus:e.mergeableStatus}),(0,x.jsx)(od,{isPassedAllCiJob:e.isPassedAllCiJob,isCiStateSuccess:e.isCiStateSuccess,isBranchOutOfDate:e.isBranchOutOfDate,missingRequiredCheckNames:e.missingRequiredCheckNames}),(0,x.jsx)(`a`,{href:e.url,className:`console-panel-open-link`,target:`_blank`,rel:`noopener noreferrer`,children:`open`}),(0,x.jsx)($u,{url:e.url,label:`Copy PR URL`}),(0,x.jsxs)(`div`,{className:`console-pr-statbar`,children:[m!==null&&(0,x.jsxs)(`span`,{className:`console-pr-repo`,children:[m.owner,`/`,m.repo]}),e.branchName!==null&&(0,x.jsx)(`span`,{className:`console-pr-branch`,children:e.branchName}),p!==null&&(0,x.jsxs)(x.Fragment,{children:[(0,x.jsxs)(`span`,{className:`console-pr-add`,children:[`+`,p.additions]}),(0,x.jsxs)(`span`,{className:`console-pr-del`,children:[`-`,p.deletions]}),(0,x.jsxs)(`span`,{className:`console-pr-files-count`,children:[p.changedFiles,` files`]})]})]})]}),(0,x.jsx)(Du,{title:`Description`,children:n?(0,x.jsx)(`p`,{className:`console-pr-body-loading`,children:`Loading description...`}):(0,x.jsx)(Eu,{body:p?.body??t,buildImageProxyUrl:u,renderReferenceLink:d,repoContext:h})}),(0,x.jsx)(Du,{title:`Changed files`,count:g,children:(0,x.jsx)(Gu,{files:r,isLoading:i,error:a,buildImageProxyUrl:u,onAddInlineComment:f})}),(0,x.jsx)(Du,{title:`Commits`,count:_,defaultCollapsed:!0,children:(0,x.jsx)(Qu,{commits:o,isLoading:s,error:c,now:l})})]})},cd=({item:e,storyName:t,storyColorEnum:n,overlayStatus:r,statusOptions:i,state:a,body:o,bodyIsLoading:s,bodyError:c,comments:l,commentsAreLoading:u,commentsError:d,files:f,filesAreLoading:p,filesError:m,commits:h,commitsAreLoading:g,commitsError:_,stateError:v,pullRequestStatus:y,pullRequestStatusError:b,relatedPullRequests:S,relatedPullRequestsError:C,now:w,commentComposer:T,operationBar:ee,buildImageProxyUrl:te,renderReferenceLink:E,onAddInlineComment:D,workflowImprovementIssueUrl:O=null})=>{let k=a?.state??`open`,re=a?.merged??!1,ie=!e.isPr&&k===`closed`?`Closed`:null,j=wi(e.nameWithOwner)??void 0,M=N(n),ae=r===null?e.status===null?null:{name:e.status,color:i.find(t=>t.name===e.status)?.color??`GRAY`}:r,oe=ae===null?null:N(ae.color),se=p||m!==null?null:f.length,P=u||d!==null?null:l.length,F=g||_!==null?null:h.length,ce=!u&&d===null&&l.length>0,le=e=>{let t=Ci(e);return t===null?e:`PR #${t.number}`},I=[{section:`item state`,message:v},{section:`pull request status`,message:e.isPr?b:null},{section:`description`,message:c},{section:`comments`,message:d},{section:`changed files`,message:e.isPr?m:null},{section:`commits`,message:e.isPr?_:null},{section:`related pull requests`,message:e.isPr?null:C},...S.flatMap(e=>[{section:`changed files of ${le(e.pullRequest.url)}`,message:e.filesError},{section:`commits of ${le(e.pullRequest.url)}`,message:e.commitsError}])].flatMap(e=>e.message===null?[]:[{section:e.section,message:e.message}]),ue=e.isPr&&y?.found?[{url:e.url,mergeableStatus:y.mergeableStatus}]:[];return(0,x.jsxs)(`article`,{className:`console-detail`,children:[(0,x.jsxs)(`div`,{className:`console-detail-header`,children:[(0,x.jsxs)(`h2`,{className:`console-detail-title`,children:[(0,x.jsx)(Ce,{isPr:e.isPr,state:k,merged:re,isDraft:!1,stateReason:``}),(0,x.jsx)(`span`,{className:`console-detail-title-text`,children:e.title}),(0,x.jsx)(`span`,{className:`console-detail-number`,children:e.isPr?`PR #${e.number}`:`#${e.number}`})]}),(0,x.jsxs)(`div`,{className:`console-detail-topline`,children:[ae!==null&&oe!==null&&(0,x.jsx)(`span`,{className:`console-detail-status-chip`,style:{color:oe.fg,borderColor:oe.border,backgroundColor:oe.bg},children:ae.name}),e.agent!==null&&e.agent!==``&&(0,x.jsx)(`span`,{className:`console-detail-agent-chip`,children:e.agent}),t!==null&&(0,x.jsxs)(`span`,{className:`console-storytag`,children:[(0,x.jsx)(`span`,{className:`console-story-dot`,style:{backgroundColor:M.dot}}),t]}),e.isPr&&y?.found&&(0,x.jsx)(od,{isPassedAllCiJob:y.isPassedAllCiJob,isCiStateSuccess:y.isCiStateSuccess,isBranchOutOfDate:y.isBranchOutOfDate,missingRequiredCheckNames:y.missingRequiredCheckNames}),!e.isPr&&S.map(e=>(0,x.jsxs)(`span`,{className:`console-related-pr-group`,children:[S.length>1&&(0,x.jsx)(`span`,{className:`console-related-pr-label`,children:le(e.pullRequest.url)}),(0,x.jsx)(od,{isPassedAllCiJob:e.pullRequest.isPassedAllCiJob,isCiStateSuccess:e.pullRequest.isCiStateSuccess,isBranchOutOfDate:e.pullRequest.isBranchOutOfDate,missingRequiredCheckNames:e.pullRequest.missingRequiredCheckNames}),(0,x.jsx)(id,{mergeableStatus:e.pullRequest.mergeableStatus})]},e.pullRequest.url)),ue.map(e=>(0,x.jsx)(id,{mergeableStatus:e.mergeableStatus},e.url)),ie!==null&&(0,x.jsx)(`span`,{className:`console-detail-closed-label`,children:ie})]}),(0,x.jsx)(nd,{failures:I}),(0,x.jsxs)(`div`,{className:`console-detail-subbar`,children:[(0,x.jsxs)(`a`,{href:e.url,className:`console-detail-link`,target:`_blank`,rel:`noopener noreferrer`,children:[`#`,e.number]}),(0,x.jsx)(`span`,{className:`console-detail-repo`,children:e.repo}),(0,x.jsxs)(`span`,{className:`console-detail-createdat`,title:A(e.createdAt),children:[`opened `,ne(e.createdAt,w)]}),(0,x.jsx)($u,{url:e.url}),O!==null&&(0,x.jsx)(`a`,{href:Ei(O,e.url),target:`_blank`,rel:`noreferrer`,className:`console-detail-report-link`,"aria-label":`Create workflow incident report for this task`,children:`⚡`}),e.labels.map(e=>(0,x.jsx)(`span`,{className:`console-label-chip`,children:e},e))]})]}),(0,x.jsxs)(`div`,{className:`console-detail-body`,children:[(0,x.jsx)(Du,{title:`Description`,defaultCollapsed:ce,headerAction:(0,x.jsx)(`a`,{href:e.url,className:`console-panel-open-link`,target:`_blank`,rel:`noopener noreferrer`,children:`open`}),children:c===null?s?(0,x.jsx)(`p`,{className:`console-detail-body-loading`,children:`Loading description...`}):(0,x.jsx)(Eu,{body:o,buildImageProxyUrl:te,renderReferenceLink:E,repoContext:j}):(0,x.jsx)(`p`,{className:`console-detail-body-notloaded`,children:`Not loaded.`})},ce?`desc-collapsed`:`desc-open`),e.isPr&&(0,x.jsx)(Du,{title:`Changed files`,count:se,children:(0,x.jsx)(Gu,{files:f,isLoading:p,error:m,onAddInlineComment:D})}),(0,x.jsx)(Du,{title:`Comments`,count:P,children:(0,x.jsx)(Yu,{comments:l,isLoading:u,error:d,now:w,workflowImprovementIssueUrl:O,buildImageProxyUrl:te,renderReferenceLink:E,repoContext:j,persistenceKey:e.url})}),e.isPr&&(0,x.jsx)(Du,{title:`Commits`,count:F,defaultCollapsed:!0,children:(0,x.jsx)(Qu,{commits:h,isLoading:g,error:_,now:w})}),!e.isPr&&S.map(e=>(0,x.jsx)(sd,{pullRequest:e.pullRequest,body:e.pullRequest.summary?.body??``,bodyIsLoading:!1,files:e.files,filesAreLoading:e.filesAreLoading,filesError:e.filesError,commits:e.commits,commitsAreLoading:e.commitsAreLoading,commitsError:e.commitsError,now:w,buildImageProxyUrl:te,renderReferenceLink:E,onAddInlineComment:D},e.pullRequest.url))]}),(0,x.jsxs)(`div`,{className:`console-detail-dock`,children:[(0,x.jsx)(`div`,{className:`console-detail-dock-composer`,children:T}),(0,x.jsx)(`div`,{className:`console-actionbar`,children:ee})]})]})},ld=({className:e,ariaLabel:t,placeholder:n,currentOption:r,options:i,onSelect:a})=>{let o=(0,y.useRef)({ready:!1,currentOptionId:r?.id??null});return(0,y.useLayoutEffect)(()=>{o.current.ready=!0,o.current.currentOptionId=r?.id??null}),(0,x.jsxs)(`select`,{className:e,defaultValue:r?.id??``,onChange:e=>{if(!o.current.ready||e.target.value===(o.current.currentOptionId??``))return;let t=i.find(t=>t.id===e.target.value);t!==void 0&&a(t)},"aria-label":t,children:[(0,x.jsx)(`option`,{value:``,children:n}),i.map(e=>(0,x.jsx)(`option`,{value:e.id,children:e.name},e.id))]})},ud=({agentOptions:e,currentAgentName:t,onSetAgent:n})=>{if(e.length===0)return null;let r=t===null?null:e.find(e=>e.name===t)??null;return(0,x.jsx)(`div`,{className:`console-op-group`,children:(0,x.jsx)(ld,{className:`console-agent-select`,ariaLabel:`Set agent`,placeholder:`— agent —`,currentOption:r,options:e,onSelect:n},r?.id??`none`)})},dd=({onClose:e})=>(0,x.jsxs)(`div`,{className:`console-op-group`,children:[(0,x.jsx)(`button`,{type:`button`,className:`console-op-button`,onClick:()=>e(`close_not_planned`),children:`Close as not planned`}),(0,x.jsx)(`button`,{type:`button`,className:`console-op-button`,onClick:()=>e(`close`),children:`Close`})]}),fd=({onDeleteAllComments:e,onDeleteStory:t,storyNameForDeletion:n})=>{let[r,i]=(0,y.useState)(!1),[a,o]=(0,y.useState)(!1),[s,c]=(0,y.useState)(!1),[l,u]=(0,y.useState)(null),d=()=>{e(),i(!1)},f=()=>{o(!0),u(null)},p=async()=>{if(t){c(!0),u(null);try{await t()}catch(e){u(e instanceof Error?e.message:String(e)),c(!1)}}};return(0,x.jsxs)(`div`,{className:`console-op-group`,children:[(0,x.jsx)(`button`,{type:`button`,className:`console-op-button console-op-button-danger`,onClick:()=>i(e=>!e),children:`⚠`}),r&&(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(`button`,{type:`button`,className:`console-op-button console-op-button-danger`,onClick:d,children:`Delete All Comments`}),t!=null&&(0,x.jsx)(`button`,{type:`button`,className:`console-op-button console-op-button-danger`,onClick:f,disabled:a,children:`Delete Story`})]}),a&&(0,x.jsxs)(`div`,{className:`console-story-delete-confirm`,role:`dialog`,"aria-modal":`true`,"aria-label":`Confirm story deletion`,children:[(0,x.jsxs)(`p`,{className:`console-story-delete-confirm-message`,children:[`Delete story option "`,n,`" from the GitHub custom field? Open tasks assigned to this story will be closed.`]}),l!==null&&(0,x.jsx)(`p`,{role:`alert`,className:`console-list-error`,children:l}),(0,x.jsxs)(`div`,{className:`console-story-delete-confirm-actions`,children:[(0,x.jsx)(`button`,{type:`button`,className:`console-op-button console-op-button-danger`,onClick:()=>void p(),disabled:s,children:s?`Deleting…`:`Delete`}),(0,x.jsx)(`button`,{type:`button`,className:`console-op-button`,onClick:()=>{o(!1),u(null)},disabled:s,children:`Cancel`})]})]})]})},pd=({isManualTriage:e,onSetNextActionDate:t})=>(0,x.jsxs)(`div`,{className:`console-op-group`,children:[(0,x.jsx)(`button`,{type:`button`,className:`console-op-button console-op-button-snooze`,onClick:()=>t(`snooze_1hour`),children:`+1 hour`}),(0,x.jsx)(`button`,{type:`button`,className:`console-op-button console-op-button-snooze`,onClick:()=>t(`snooze_3hours`),children:`+3 hours`}),(0,x.jsx)(`button`,{type:`button`,className:`console-op-button console-op-button-snooze`,onClick:()=>t(`snooze_6hours`),children:`+6 hours`}),(0,x.jsx)(`button`,{type:`button`,className:`console-op-button console-op-button-snooze`,onClick:()=>t(`snooze_1day`),children:`+1 day`}),(0,x.jsx)(`button`,{type:`button`,className:`console-op-button console-op-button-snooze`,onClick:()=>t(`snooze_2days`),children:`+2 days`}),(0,x.jsx)(`button`,{type:`button`,className:`console-op-button console-op-button-snooze`,onClick:()=>t(`snooze_3days`),children:`+3 days`}),(0,x.jsx)(`button`,{type:`button`,className:`console-op-button console-op-button-snooze`,onClick:()=>t(`snooze_5days`),children:`+5 days`}),(0,x.jsx)(`button`,{type:`button`,className:`console-op-button console-op-button-snooze`,onClick:()=>t(`snooze_1week`),children:e?`+1 week and skip`:`+1 week`}),(0,x.jsx)(`button`,{type:`button`,className:`console-op-button console-op-button-snooze`,onClick:()=>t(`snooze_1month`),children:`+1 month`})]}),md=[{action:`unnecessary`,label:`Unnecessary`,variant:`unneeded`},{action:`totally_wrong`,label:`Totally wrong`,variant:`wrong`},{action:`request_changes`,label:`Reject`,variant:`reject`},{action:`approve_and_merge`,label:`Approve & Merge`,variant:`approve`}],hd=`Reject needs an inline comment on the diff.`,gd=({onReview:e,rejectEnabled:t})=>(0,x.jsxs)(`div`,{className:`console-op-group console-op-group-review`,children:[!t&&(0,x.jsx)(`p`,{className:`console-op-requirement`,children:hd}),md.map(n=>{let r=n.action===`request_changes`&&!t;return(0,x.jsx)(`button`,{type:`button`,className:`console-op-button console-op-button-${n.variant}`,disabled:r,onClick:()=>e(n.action),children:n.label},n.action)})]}),_d=({onSetDependedIssueUrl:e})=>{let[t,n]=(0,y.useState)(!1),[r,i]=(0,y.useState)(``),[a,o]=(0,y.useState)(!1),[s,c]=(0,y.useState)(null);return(0,x.jsxs)(`div`,{className:`console-op-group console-op-group-rare-actions`,children:[(0,x.jsx)(`button`,{type:`button`,className:`console-op-button`,onClick:()=>{n(e=>!e),c(null)},title:`Rare actions`,children:`⋯`}),t&&e!==null&&(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(`input`,{type:`url`,className:`console-settings-modal-input`,placeholder:`Depended issue URL`,value:r,onChange:e=>i(e.target.value),disabled:a}),(0,x.jsx)(`button`,{type:`button`,className:`console-op-button`,onClick:async()=>{if(e!==null&&r.trim()!==``){o(!0),c(null);try{await e(r.trim()),i(``),n(!1)}catch(e){c(e instanceof Error?e.message:`Failed to set depended issue URL`)}finally{o(!1)}}},disabled:a||r.trim()===``,children:a?`...`:`Set Depended Issue`})]}),s!==null&&(0,x.jsx)(`p`,{className:`console-settings-modal-error`,children:s})]})},vd=(e,t)=>{let n=t.toLowerCase();return e.find(e=>e.name.toLowerCase()===n)??null},$=({statusOptions:e,onSetStatus:t,onSetInTmuxByHuman:n})=>{let r=ve.map(t=>({name:t,option:vd(e,t)})).filter(e=>e.option!==null);return r.length===0?null:(0,x.jsx)(`div`,{className:`console-op-group`,children:r.map(({name:e,option:r})=>{let i=N(r.color),a=e===ge;return(0,x.jsx)(`button`,{type:`button`,className:`console-op-button`,style:{color:i.fg,borderColor:i.border,backgroundColor:i.bg},onClick:()=>a?n(r):t(r),children:r.name},r.id)})})},yd=({storyOptions:e,currentStoryName:t,onSetStory:n})=>{if(e.length===0)return null;let r=t===null?null:e.find(e=>e.name===t)??null;return(0,x.jsx)(`div`,{className:`console-op-group`,children:(0,x.jsx)(ld,{className:`console-story-select`,ariaLabel:`Set story`,placeholder:`— story —`,currentOption:r,options:e,onSelect:n},r?.id??`none`)})},bd=({tab:e,hasPullRequest:t,rejectEnabled:n,statusOptions:r,storyOptions:i,currentStoryName:a,agentOptions:o,currentAgentName:s,handlers:c,storyNameForDeletion:l})=>{let[u,d]=(0,y.useState)(!1);return(0,x.jsxs)(`div`,{className:`console-operation-bar`,children:[t&&(0,x.jsx)(gd,{onReview:c.onReview,rejectEnabled:n}),(0,x.jsx)(pd,{isManualTriage:ye(e),onSetNextActionDate:c.onSetNextActionDate}),(0,x.jsx)($,{statusOptions:r,onSetStatus:c.onSetStatus,onSetInTmuxByHuman:c.onSetInTmuxByHuman}),u&&(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(yd,{storyOptions:i,currentStoryName:a,onSetStory:c.onSetStory}),(0,x.jsx)(ud,{agentOptions:o,currentAgentName:s,onSetAgent:c.onSetAgent})]}),(0,x.jsxs)(`div`,{className:`console-op-group-bottom-row`,children:[(0,x.jsxs)(`div`,{className:`console-op-group-left-pair`,children:[(i.length>0||o.length>0)&&(0,x.jsx)(`div`,{className:`console-op-group`,children:(0,x.jsx)(`button`,{type:`button`,className:`console-op-button`,onClick:()=>d(e=>!e),title:`Change agent or story`,children:`⚙`})}),(0,x.jsx)(_d,{onSetDependedIssueUrl:c.onSetDependedIssueUrl}),(0,x.jsx)(fd,{onDeleteAllComments:c.onDeleteAllComments,onDeleteStory:c.onDeleteStory,storyNameForDeletion:l})]}),(0,x.jsx)(dd,{onClose:c.onClose})]})]})},xd=(e,t,n,r)=>{let i=t===null?void 0:e.peek(t),[a,o]=(0,y.useState)(i??r),[s,c]=(0,y.useState)(t!==null&&i===void 0),[l,u]=(0,y.useState)(null);return(0,y.useEffect)(()=>{if(t===null||n===null)return;let r=e.peek(t);if(r!==void 0){o(r),c(!1),u(null);return}let i=!1;return c(!0),u(null),e.load(t,n).then(e=>{i||(o(e),c(!1))}).catch(e=>{i||(u(e instanceof Error?e.message:String(e)),c(!1))}),()=>{i=!0}},[e,t,n]),{data:a,isLoading:s,error:l}},Sd=[],Cd=[],wd=[],Td=[],Ed={state:`open`,merged:!1,isPullRequest:!1,title:``},Dd={found:!1,isConflicted:!1,mergeableStatus:`UNKNOWN`,isPassedAllCiJob:!1,isCiStateSuccess:!1,isBranchOutOfDate:!1,missingRequiredCheckNames:[]},Od=(e,t,n)=>{let r=t===null?null:`${t.repo}#${t.number}`,i=t===null?null:t.url,a=t?.isPr??!1,o=xd(e.body,r,i,``),s=xd(e.state,r,i,Ed),c=xd(e.comments,r,i,Sd),l=xd(e.files,a?r:null,a?i:null,Cd),u=xd(e.commits,a?r:null,a?i:null,wd),d=xd(e.prStatus,a?r:null,a?i:null,Dd),f=!a&&((t?.relatedOpenPullRequestUrls.length??0)>0||n===`prs`),p=xd(e.relatedPrs,f?r:null,f?i:null,Td),[m,h]=(0,y.useState)([]);return(0,y.useEffect)(()=>{if(a||p.data.length===0){h([]);return}let t=!1,n=p.data.map(e=>({pullRequest:e,files:Cd,filesAreLoading:!0,filesError:null,commits:wd,commitsAreLoading:!0,commitsError:null}));h(n);let r=(e,n)=>{t||h(t=>t.map(t=>t.pullRequest.url===e?{...t,...n}:t))};for(let t of p.data){let n=t.url;e.files.load(n,t.url).then(e=>r(t.url,{files:e,filesAreLoading:!1})).catch(e=>r(t.url,{filesAreLoading:!1,filesError:e instanceof Error?e.message:String(e)})),e.commits.load(n,t.url).then(e=>r(t.url,{commits:e,commitsAreLoading:!1})).catch(e=>r(t.url,{commitsAreLoading:!1,commitsError:e instanceof Error?e.message:String(e)}))}return()=>{t=!0}},[e,a,p.data]),{state:s.data,body:o.data,bodyIsLoading:o.isLoading,bodyError:o.error,comments:c.data,commentsAreLoading:c.isLoading,commentsError:c.error,files:l.data,filesAreLoading:l.isLoading,filesError:l.error,commits:u.data,commitsAreLoading:u.isLoading,commitsError:u.error,stateError:s.error,pullRequestStatus:a?d.data:null,pullRequestStatusError:a?d.error:null,relatedPullRequests:m,relatedPullRequestsError:a?null:p.error}},kd=e=>JSON.stringify([e.author,e.createdAt,e.body]),Ad=(e,t)=>{let n=new Set(e.map(kd));return[...e,...t.filter(e=>!n.has(kd(e)))]},jd=({href:e,fallbackText:t,state:n})=>{if(n===null||n.title.trim()===``)return(0,x.jsx)(`a`,{className:`console-markdown-reference console-markdown-reference-plain`,href:e,target:`_blank`,rel:`noopener noreferrer`,children:t});let r=Ci(e);return(0,x.jsxs)(`a`,{className:`console-markdown-reference`,href:e,target:`_blank`,rel:`noopener noreferrer`,children:[(0,x.jsx)(Ce,{...Ti(n)}),(0,x.jsx)(`span`,{className:`console-markdown-reference-title`,children:n.title}),r!==null&&(0,x.jsxs)(`span`,{className:`console-markdown-reference-number`,children:[`#`,r.number]})]})},Md=(e,t)=>{let[n,r]=(0,y.useState)(()=>e.peek(t)??null);return(0,y.useEffect)(()=>{let n=e.peek(t);if(n!==void 0){r(n);return}let i=!1;return r(null),e.load(t,t).then(e=>{i||r(e)}).catch(()=>{i||r(null)}),()=>{i=!0}},[e,t]),n},Nd=({cache:e,href:t,fallbackText:n})=>{let r=Md(e,t);return(0,x.jsx)(jd,{href:t,fallbackText:n,state:r})},Pd=e=>({itemUrl:e.url,projectItemId:e.projectItemId,itemNumber:e.number,repo:e.repo,isPr:e.isPr}),Fd=(e,t,n,r,i)=>({...Pd(t),apiPath:pr,requestBody:gr(e,t,n,r,i)}),Id=(e,t,n,r)=>({...Pd(t),apiPath:mr,requestBody:_r(e,t,n,r)}),Ld=(e,t)=>({...Pd(t),apiPath:hr,requestBody:vr(e,t)}),Rd=({tab:e,item:t,caches:n,operations:r,pjcode:i,statusOptions:a,storyOptions:o,agentOptions:s,storyColors:c,storyName:l,overlayStatus:u,now:d,initialCommentDraft:f,onCommentDraftChange:p,onQueueAction:m,onDeleteStory:h,storyNameForDeletion:g,workflowImprovementIssueUrl:_})=>{let v=Od(n,t,e),b=(0,y.useCallback)(e=>ki(e,t.url),[t.url]),S=(0,y.useCallback)((e,t)=>(0,x.jsx)(Nd,{cache:n.state,href:e,fallbackText:t}),[n.state]),C=t.isPr||t.relatedOpenPullRequestUrls.length>0||v.relatedPullRequests.length>0,[w,T]=(0,y.useState)([]),ee=(0,y.useCallback)(async(e,t,n,r)=>{T(i=>[...i,{path:e,line:t,side:n,body:r}])},[]),[te,E]=(0,y.useState)([]),D=(0,y.useCallback)(async e=>{let n=await r.addComment(t,e);return E(e=>[...e,n]),n},[t,r]),O={onReview:e=>{let n=t.isPr?t.url:v.relatedPullRequests[0]?.pullRequest.url??t.relatedOpenPullRequestUrls[0]??t.url,a=e===`request_changes`?w:[];m({kind:{type:`review`,action:e},item:t,commit:()=>r.reviewPullRequest(t,n,e,a),offline:i==null?void 0:Fd(i,t,n,e,a)})},onSetNextActionDate:e=>{m({kind:{type:`next_action_date`,action:e},item:t,commit:()=>r.setNextActionDate(t,e),offline:i==null?void 0:Id(i,t,e)})},onSetStory:e=>{m({kind:{type:`set_story`,optionName:e.name},item:t,commit:()=>r.setStory(t,e),offline:i==null?void 0:Id(i,t,`set_story`,{storyOptionId:e.id})})},onSetAgent:e=>{m({kind:{type:`set_agent`,optionName:e.name},item:t,commit:()=>r.setAgent(t,e),offline:i==null?void 0:Id(i,t,`set_agent`,{agentOptionId:e.id})})},onSetStatus:e=>{m({kind:{type:`set_status`,optionName:e.name},item:t,commit:()=>r.setStatus(t,e),offline:i==null?void 0:Id(i,t,`set_status`,{statusName:e.name})})},onSetInTmuxByHuman:e=>{m({kind:{type:`set_in_tmux_by_human`,optionName:e.name},item:t,commit:()=>r.setInTmuxByHuman(t,e),offline:i==null?void 0:Ld(i,t)})},onClose:e=>{m({kind:{type:`close`,action:e},item:t,commit:()=>r.closeIssue(t,e),offline:i==null?void 0:Id(i,t,e)})},onOkAndAwaitingWorkspace:e=>{m({kind:{type:`ok_and_awaiting_workspace`},item:t,commit:()=>r.okAndMoveToAwaitingWorkspace(t,e),onAdvance:()=>r.patchItemOverlay(t,!0,{name:e.name,color:e.color}),revertAdvance:()=>r.patchItemOverlay(t,!1)})},onDeleteAllComments:()=>{m({kind:{type:`delete_all_comments`},item:t,commit:()=>r.deleteAllComments(t)})},onDeleteStory:h??null,onSetDependedIssueUrl:i==null?null:async e=>{await r.setDependedIssueUrl(t,e)}},ne=a.find(e=>e.name===`Awaiting Workspace`)??null,k=ne===null?void 0:async e=>(p?.(``),O.onSetStatus(ne),D(e)),A=l??(t.story.trim()===``?null:t.story),re=A===null?null:I(c,A);return(0,x.jsx)(cd,{item:t,storyName:A,storyColorEnum:re,overlayStatus:u,statusOptions:a,state:v.state,stateError:v.stateError,body:v.body,bodyIsLoading:v.bodyIsLoading,bodyError:v.bodyError,comments:Ad(v.comments,te),commentsAreLoading:v.commentsAreLoading,commentsError:v.commentsError,files:v.files,filesAreLoading:v.filesAreLoading,filesError:v.filesError,commits:v.commits,commitsAreLoading:v.commitsAreLoading,commitsError:v.commitsError,pullRequestStatus:v.pullRequestStatus,pullRequestStatusError:v.pullRequestStatusError,relatedPullRequests:v.relatedPullRequests,relatedPullRequestsError:v.relatedPullRequestsError,now:d,buildImageProxyUrl:b,renderReferenceLink:S,onAddInlineComment:ee,workflowImprovementIssueUrl:_,commentComposer:(0,x.jsx)(xi,{initiallyOpen:!0,initialDraft:f,onSubmit:D,onDraftChange:p,onOkAndAwaitingWorkspace:ne===null?void 0:()=>O.onOkAndAwaitingWorkspace(ne),onSubmitAndMoveToAwaitingWorkspace:k,onUploadFile:e=>r.uploadAttachment(t,e)}),operationBar:(0,x.jsx)(bd,{tab:e,item:t,hasPullRequest:C,rejectEnabled:w.length>0,statusOptions:a,storyOptions:o,currentStoryName:A,agentOptions:s,currentAgentName:t.agent,handlers:O,storyNameForDeletion:g})})},zd=()=>{let e={};for(let t of re)e[t.name]=0;return e},Bd=`console`,Vd=()=>{let e=Dr(),t=Zn(),n=_t(),r=n.status===`on`?n.snapshot:null,{snapshots:i,isLoading:a,error:o,refreshSingleTab:s}=ui(e,r),{timerMode:c,projectMinutes:l,isOpen:u,draftTimerMode:d,draftProjectMinutes:f,openSettings:p,closeSettings:m,saveSettings:h,toggleDraftTimerMode:g,changeDraftMinutes:_}=pi(),{pjcodes:v,projectUrls:b,workflowImprovementIssueUrl:C,fleetTaskCreateUrl:w,isLoading:ee}=Or(),{isTimerExpired:te}=Ir(e),E=Tr(e??Bd),D=Fr(v),O=(0,y.useMemo)(()=>{let e=zd();for(let t of re){let n=i[t.name];n!==null&&(t.name===`stories`?e[t.name]=n.stories.filter(e=>e.color!==`GRAY`).length:e[t.name]=cr(n.items,ur(E.overlay,n.generatedAt),t.name))}return e},[i,E.overlay]);zn(c,O.prs,e,v,l,i.prs?.fromCache??!1),fi(c,O.prs,O[`todo-by-human`],e,v,l,i.prs!==null,i[`todo-by-human`]!==null,i.prs?.fromCache??!1,i[`todo-by-human`]?.fromCache??!1);let ne=ir(e,O),{activeTab:k,selectedItemKey:A,openItem:ie,closeItem:j}=ne,ae=di(ne.selectTab),N=Nr((0,y.useCallback)(e=>Mn(`/projects/${e}`),[])),oe=(0,y.useRef)(new Map),se=(0,y.useCallback)(e=>{A!==null&&(e?oe.current.set(A,e):oe.current.delete(A))},[A]),F=Un(r),le=xr(e,k,E,F,(0,y.useCallback)(()=>s(`queued`),[s])),I=jn(),[de,fe]=(0,y.useState)(()=>Date.now());(0,y.useEffect)(()=>{let e=setInterval(()=>{fe(Date.now())},1e3);return()=>{clearInterval(e)}},[]);let[pe,me]=(0,y.useState)(()=>navigator.onLine);(0,y.useEffect)(()=>{let e=()=>me(!0),t=()=>me(!1);return window.addEventListener(`online`,e),window.addEventListener(`offline`,t),()=>{window.removeEventListener(`online`,e),window.removeEventListener(`offline`,t)}},[]);let[he,ge]=(0,y.useState)(new Map),[_e,ve]=(0,y.useState)(new Map),[ye,be]=(0,y.useState)(new Set);(0,y.useEffect)(()=>{if(!(!pe||I.offlineActions.length===0))for(let e of I.offlineActions)he.has(e.id)||ye.has(e.id)||(ge(t=>new Map(t).set(e.id,null)),F.client.fetchIssueState(e.itemUrl).then(t=>{ge(n=>new Map(n).set(e.id,t)),e.isPr&&(ve(t=>new Map(t).set(e.id,null)),F.client.fetchPullRequestStatus(e.itemUrl).then(t=>{ve(n=>new Map(n).set(e.id,t))}).catch(e=>{console.warn(`Failed to fetch PR status for offline action:`,e)}))}).catch(t=>{console.warn(`Failed to fetch current state for offline action:`,t),be(t=>new Set(t).add(e.id))}))},[pe,I.offlineActions,F.client,he,ye]);let[xe,Se]=(0,y.useState)(!1),Ce=(0,y.useCallback)(async e=>{Se(!0);try{await I.confirmOfflineAction(e)}finally{Se(!1)}},[I]),we=(0,y.useMemo)(()=>I.offlineActions.map(e=>{let t=he.get(e.id)??null,n=_e.get(e.id)??null,r=ye.has(e.id);return{id:e.id,message:e.message,color:e.color,itemNumber:e.itemNumber,isPr:e.isPr,currentTitle:r?null:t?.title??null,currentState:r||t===null?null:t.merged?`closed`:t.state,currentPrStatus:n,fetchError:r}}),[I.offlineActions,he,_e,ye]),Te=i[k],Oe=(0,y.useMemo)(()=>Te===null?[]:lr(Te.items,ur(E.overlay,Te.generatedAt),k),[Te,E.overlay,k]),[ke,je]=(0,y.useState)(null),Me=(0,y.useMemo)(()=>{if(k!==`prs`)return{};let e={};for(let t of Oe)t.agent!==null&&t.agent!==``&&(e[t.agent]=(e[t.agent]??0)+1);return e},[Oe,k]);(0,y.useEffect)(()=>{k===`prs`&&ke!==null&&(Me[ke]??0)===0&&je(null)},[Me,ke,k]);let Ne=(0,y.useMemo)(()=>k!==`prs`||ke===null?Oe:Oe.filter(e=>e.agent===ke),[Oe,k,ke]),Pe=(0,y.useMemo)(()=>Ne.map(e=>or(e)),[Ne]),Fe=Te?.storyOrder??[],Ie=(0,y.useMemo)(()=>L(Ne,E.overlay,Fe,Te?.generatedAt??null),[Ne,E.overlay,Fe,Te]),Le=Te?.storyColors??{},Re=Te?.statusOptions??[],Ve=Te?.agentOptions??[],He=Te?.storyOptions??[],Ue=Te?.generatedAt??null,We=Te?.fromCache??!1,[Je,Ye]=(0,y.useState)(null),Xe=(0,y.useMemo)(()=>A===null||Te===null?null:Te.items.find(e=>e.projectItemId===A)??null,[A,Te]);Yn(F,Xe,Oe),(0,y.useEffect)(()=>{A!==null&&window.scrollTo({top:0})},[A]),(0,y.useEffect)(()=>{if(e===null&&c&&v.length>0){let e=Rn(v,null,l);e!==null&&Nn(`/projects/${e}`)}},[e,c,v,l]);let Ze=O[k],Qe=(0,y.useRef)({tab:k,count:Ze});(0,y.useEffect)(()=>{let e=Qe.current;if(Qe.current={tab:k,count:Ze},e.tab===k&&e.count>0&&Ze===0){let e=Qn(k,O);e!==null&&(ae(e),j())}},[k,Ze,O,ae,j]);let $e=Xe===null?null:dr(E.overlay,Xe,i[k]?.generatedAt??null),et=Xe===null?null:ue(Xe,E.overlay,i[k]?.generatedAt??null),tt=(0,y.useCallback)(e=>{let t=mi(Pe,e);t===null?j():ie(t)},[Pe,ie,j]),nt=(0,y.useCallback)(t=>{if(n.status===`on`){I.showError(`Airplane mode`,`This action requires a network connection. Turn off airplane mode and try again.`);return}let r=or(t.item);I.enqueue({message:bn(t.kind,t.item,k),color:vn(t.kind),commit:t.commit,offline:t.offline,revertAdvance:t.revertAdvance,advance:()=>{if(t.onAdvance?.(),!t.skipAdvance&&yn(t.kind,k)){if(c&&te(l[e??``]??0)){let t=Rn(v,e,l);t!==null&&Mn(`/projects/${t}`)}else tt(r)}}})},[I,k,tt,n.status,c,te,l,e,v]),R=qr((0,y.useCallback)(e=>{if(A===null||e===null)return;let t=e===`next`?hi(Pe,A):gi(Pe,A);t!==null&&ie(t)},[A,Pe,ie])),[rt,z]=(0,y.useState)(()=>localStorage.getItem(`console-story-show-gray`)===`true`),it=(0,y.useCallback)(()=>{z(e=>{let t=!e;return localStorage.setItem(`console-story-show-gray`,String(t)),t})},[]),at=i.stories,ot=at?.stories??[],st=Je!==null&&Je.generatedAt===at?.generatedAt?Je.stories:ot,ct=at?.defaultNameWithOwner??null,lt=(0,y.useMemo)(()=>Xe===null||!Xe.labels.includes(`story`)?null:st.find(e=>e.storyName===Xe.story)??null,[Xe,st]),ut=(0,y.useCallback)(async(t,n)=>{if(e===null)throw Error(`No project specified in the URL path.`);if(ct===null)throw Error(`No repository configured for this project.`);await Jt({pjcode:e,title:n,storyName:t,nameWithOwner:ct})},[e,ct]),dt=(0,y.useCallback)(t=>{if(e===null)return Promise.reject(Error(`No project specified in the URL path.`));if(ct===null)return Promise.reject(Error(`No repository configured for this project.`));let n=e,r=ct;return I.enqueue({message:`Task created — "${t.title}"`,color:`blue`,commit:async()=>{let e=await Jt({pjcode:n,title:t.title,storyName:t.storyName,agentOptionId:t.agentOptionId,body:t.body,nameWithOwner:r});if(t.files.length>0){let r=[];for(let i of t.files){let t=zt(new Uint8Array(await i.arrayBuffer())),a=await Bt({pjcode:n,url:e,fileName:i.name,contentBase64:t});r.push(a)}await Lt({pjcode:n,url:e,body:r.join(`
|
|
90
90
|
|
|
91
|
-
`)})}},advance:()=>{}}),Promise.resolve()},[e,ct,I]),ft=(0,y.useCallback)(async e=>{if(C===null)throw Error(`Workflow improvement repository is not configured.`);let t=/github\.com\/([A-Za-z0-9._-]+\/[A-Za-z0-9._-]+)\/issues\//.exec(C);if(t===null)throw Error(`Could not parse repository from workflowImprovementIssueUrl.`);let n=t[1];return Xt({nameWithOwner:n,title:e})},[C]),pt=(0,y.useCallback)(async(t,n)=>{if(e===null)throw Error(`No project specified in the URL path.`);await Qt({pjcode:e,storyOptionId:t,direction:n});let r=st.findIndex(e=>e.storyOptionId===t);if(r!==-1){let e=r+(n===`up`?-1:1);if(e>=0&&e<st.length){let t=[...st],n=t[r];t[r]=t[e],t[e]=n,Ye({generatedAt:at?.generatedAt,stories:t})}}},[e,st,at?.generatedAt]),mt=(0,y.useCallback)(async t=>{if(e===null)throw Error(`No project specified in the URL path.`);await Ht({pjcode:e,storyName:t})},[e]),[ht,gt]=(0,y.useState)({}),[B,vt]=(0,y.useState)(null),[yt,bt]=(0,y.useState)({}),xt=(0,y.useCallback)((t,n)=>{let r=st.find(e=>e.storyOptionId===t)?.color;if(vt(t),gt(e=>({...e,[t]:n})),bt(e=>{let n={...e};return delete n[t],n}),e===null||ct===null){gt(e=>r===void 0?e:{...e,[t]:r}),bt(e=>({...e,[t]:`No project or repository configured.`})),vt(e=>e===t?null:e);return}qt({pjcode:e,storyOptionId:t,newColor:n,nameWithOwner:ct}).catch(e=>{gt(e=>r===void 0?e:{...e,[t]:r}),bt(n=>({...n,[t]:e instanceof Error?e.message:String(e)}))}).finally(()=>{vt(e=>e===t?null:e)})},[e,ct,st]),St=(0,y.useCallback)(async t=>{if(e===null)throw Error(`No project specified in the URL path.`);await nn({pjcode:e,storyOptionId:t}),Ye({generatedAt:at?.generatedAt,stories:st.filter(e=>e.storyOptionId!==t)})},[e,st,at?.generatedAt]),Ct=(0,y.useCallback)(async(t,n)=>{if(e===null)throw Error(`No project specified in the URL path.`);await an({pjcode:e,storyOptionId:t,newName:n});let r=st.map(e=>e.storyOptionId===t?{...e,storyName:n}:e);Ye({generatedAt:at?.generatedAt,stories:r})},[e,st,at?.generatedAt]),wt=(0,y.useCallback)(async(t,n)=>{if(e===null)throw Error(`No project specified in the URL path.`);await sn({pjcode:e,storyOptionId:t,description:n});let r=st.map(e=>e.storyOptionId===t?{...e,description:n}:e);Ye({generatedAt:at?.generatedAt,stories:r})},[e,st,at?.generatedAt]),Tt=Ur(Oe,F.comments,k===`prs`),Et=(0,y.useCallback)((e,t)=>{nt({kind:{type:`ok_and_awaiting_workspace`},item:e,commit:()=>le.okAndMoveToAwaitingWorkspace(e,t),skipAdvance:!0,onAdvance:()=>{E.patchOverlay(or(e),{done:!0,status:{name:t.name,color:t.color}},k)},revertAdvance:()=>{E.patchOverlay(or(e),{done:!1},k)}})},[nt,le,E,k]);return(0,x.jsxs)(`main`,{className:`console-app`,children:[I.pending!==null&&(0,x.jsx)(Ke,{message:I.pending.message,color:I.pending.color,remainingSeconds:I.pending.remainingSeconds,progress:I.pending.progress,onUndo:I.undo}),I.error!==null&&(0,x.jsx)(qe,{title:I.error.message,message:`Operation failed: ${I.error.reason}`,onDismiss:I.dismissError}),(0,x.jsx)(Ge,{actions:we,isOnline:pe,isConfirming:xe,onConfirm:Ce,onDiscard:I.discardOfflineAction}),D.isOpen&&(0,x.jsx)(S,{pjcodes:v,inputValues:D.inputValues,onChangeInput:D.changeInput,isLoading:D.isLoading,isSaving:D.isSaving,error:D.error,onSave:D.save,onClose:D.close}),(0,x.jsx)(M,{activeTab:k,counts:O,pjcode:e,pjcodes:v,generatedAt:Ue,fromCache:We,tabHref:ne.tabHref,onSelectTab:ae,onSelectProject:N,settingsButton:(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(ce,{isOpen:u,isTimerActive:c,timerMode:d,projectMinutes:f,pjcodes:v,isLoadingPjcodes:ee,onOpen:p,onToggleTimerMode:g,onChangeMinutes:_,onSave:h,onClose:m}),(0,x.jsx)(`button`,{type:`button`,className:`console-tab-settings-button`,"aria-label":`Open max settings`,onClick:D.open,children
|
|
91
|
+
`)})}},advance:()=>{}}),Promise.resolve()},[e,ct,I]),ft=(0,y.useCallback)(async e=>{if(C===null)throw Error(`Workflow improvement repository is not configured.`);let t=/github\.com\/([A-Za-z0-9._-]+\/[A-Za-z0-9._-]+)\/issues\//.exec(C);if(t===null)throw Error(`Could not parse repository from workflowImprovementIssueUrl.`);let n=t[1];return Xt({nameWithOwner:n,title:e})},[C]),pt=(0,y.useCallback)(async(t,n)=>{if(e===null)throw Error(`No project specified in the URL path.`);await Qt({pjcode:e,storyOptionId:t,direction:n});let r=st.findIndex(e=>e.storyOptionId===t);if(r!==-1){let e=r+(n===`up`?-1:1);if(e>=0&&e<st.length){let t=[...st],n=t[r];t[r]=t[e],t[e]=n,Ye({generatedAt:at?.generatedAt,stories:t})}}},[e,st,at?.generatedAt]),mt=(0,y.useCallback)(async t=>{if(e===null)throw Error(`No project specified in the URL path.`);await Ht({pjcode:e,storyName:t})},[e]),[ht,gt]=(0,y.useState)({}),[B,vt]=(0,y.useState)(null),[yt,bt]=(0,y.useState)({}),xt=(0,y.useCallback)((t,n)=>{let r=st.find(e=>e.storyOptionId===t)?.color;if(vt(t),gt(e=>({...e,[t]:n})),bt(e=>{let n={...e};return delete n[t],n}),e===null||ct===null){gt(e=>r===void 0?e:{...e,[t]:r}),bt(e=>({...e,[t]:`No project or repository configured.`})),vt(e=>e===t?null:e);return}qt({pjcode:e,storyOptionId:t,newColor:n,nameWithOwner:ct}).catch(e=>{gt(e=>r===void 0?e:{...e,[t]:r}),bt(n=>({...n,[t]:e instanceof Error?e.message:String(e)}))}).finally(()=>{vt(e=>e===t?null:e)})},[e,ct,st]),St=(0,y.useCallback)(async t=>{if(e===null)throw Error(`No project specified in the URL path.`);await nn({pjcode:e,storyOptionId:t}),Ye({generatedAt:at?.generatedAt,stories:st.filter(e=>e.storyOptionId!==t)})},[e,st,at?.generatedAt]),Ct=(0,y.useCallback)(async(t,n)=>{if(e===null)throw Error(`No project specified in the URL path.`);await an({pjcode:e,storyOptionId:t,newName:n});let r=st.map(e=>e.storyOptionId===t?{...e,storyName:n}:e);Ye({generatedAt:at?.generatedAt,stories:r})},[e,st,at?.generatedAt]),wt=(0,y.useCallback)(async(t,n)=>{if(e===null)throw Error(`No project specified in the URL path.`);await sn({pjcode:e,storyOptionId:t,description:n});let r=st.map(e=>e.storyOptionId===t?{...e,description:n}:e);Ye({generatedAt:at?.generatedAt,stories:r})},[e,st,at?.generatedAt]),Tt=Ur(Oe,F.comments,k===`prs`),Et=(0,y.useCallback)((e,t)=>{nt({kind:{type:`ok_and_awaiting_workspace`},item:e,commit:()=>le.okAndMoveToAwaitingWorkspace(e,t),skipAdvance:!0,onAdvance:()=>{E.patchOverlay(or(e),{done:!0,status:{name:t.name,color:t.color}},k)},revertAdvance:()=>{E.patchOverlay(or(e),{done:!1},k)}})},[nt,le,E,k]);return(0,x.jsxs)(`main`,{className:`console-app`,children:[I.pending!==null&&(0,x.jsx)(Ke,{message:I.pending.message,color:I.pending.color,remainingSeconds:I.pending.remainingSeconds,progress:I.pending.progress,onUndo:I.undo}),I.error!==null&&(0,x.jsx)(qe,{title:I.error.message,message:`Operation failed: ${I.error.reason}`,onDismiss:I.dismissError}),(0,x.jsx)(Ge,{actions:we,isOnline:pe,isConfirming:xe,onConfirm:Ce,onDiscard:I.discardOfflineAction}),D.isOpen&&(0,x.jsx)(S,{pjcodes:v,inputValues:D.inputValues,onChangeInput:D.changeInput,isLoading:D.isLoading,isSaving:D.isSaving,error:D.error,onSave:D.save,onClose:D.close}),(0,x.jsx)(M,{activeTab:k,counts:O,pjcode:e,pjcodes:v,generatedAt:Ue,fromCache:We,tabHref:ne.tabHref,onSelectTab:ae,onSelectProject:N,settingsButton:(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(ce,{isOpen:u,isTimerActive:c,timerMode:d,projectMinutes:f,pjcodes:v,isLoadingPjcodes:ee,onOpen:p,onToggleTimerMode:g,onChangeMinutes:_,onSave:h,onClose:m}),(0,x.jsx)(`button`,{type:`button`,className:`console-tab-settings-button`,"aria-label":`Open max settings`,onClick:D.open,children:`⚙`}),e!==null&&(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(P,{pjcode:e,storyEntries:st,agentOptions:Ve,defaultNameWithOwner:ct,onCreateIssue:dt,fleetTaskCreateUrl:w}),C!==null&&(0,x.jsx)(Be,{onCreateWorkflowTask:ft})]})]}),airplaneModeEnabled:t.airplaneMode,airplaneModeStatus:n.status,airplaneModeProgress:n.progress,airplaneModeCapturedAt:r?.capturedAt??null,airplaneModeFailures:n.failures,onAirplaneModeStartSync:n.startSync,onAirplaneModeTurnOff:n.turnOff,projectUrl:e===null?null:b?.[e]??null,workflowImprovementIssueUrl:C,fleetTaskCreateUrl:w,now:de}),(0,x.jsx)(T,{timerEndsAt:Te?.timerEndsAt??null,timerTotalSeconds:Te?.timerTotalSeconds??null,now:de}),k===`stories`?(0,x.jsx)(`div`,{className:`console-list-screen`,children:(0,x.jsx)(ze,{stories:st,isLoading:a,error:o,showGray:rt,onCreateIssue:ut,onAddStory:mt,onSelectColor:xt,onToggleGray:it,onReorderStory:pt,onDeleteStory:St,onRenameStory:Ct,onUpdateDescription:wt,optimisticColors:ht,colorChangeInFlight:B,colorErrors:yt})}):Xe===null?k===`queued`?(0,x.jsx)(`div`,{className:`console-list-screen`,children:(0,x.jsx)(Ae,{rows:Ie,storyColors:Le,statusOptions:Re,agentOptions:Ve,activeItemId:null,isLoading:a,error:o,onSelectItem:e=>ne.openItem(e.projectItemId)})}):k===`prs`?(0,x.jsxs)(`div`,{className:`console-list-screen`,children:[(0,x.jsx)(De,{agentOptions:Ve,agentCounts:Me,selectedAgent:ke,onAgentChange:je}),(0,x.jsx)(Ee,{rows:Ie,storyColors:Le,statusOptions:Re,activeItemId:null,now:de,isLoading:a,error:o,onSelectItem:e=>ne.openItem(e.projectItemId),executiveSummaries:Tt,onOkAndAwaitingWorkspace:Et})]}):(0,x.jsx)(`div`,{className:`console-list-screen`,children:(0,x.jsx)(Ee,{rows:Ie,storyColors:Le,statusOptions:Re,activeItemId:null,now:de,isLoading:a,error:o,onSelectItem:e=>ne.openItem(e.projectItemId)})}):(0,x.jsx)(`div`,{className:`console-detail-screen`,ref:R,children:(0,x.jsx)(Rd,{tab:k,item:Xe,caches:F,operations:le,pjcode:e,statusOptions:Re,storyOptions:He,agentOptions:Ve,storyColors:Le,storyName:et,overlayStatus:$e,now:de,initialCommentDraft:oe.current.get(Xe.projectItemId)??``,onCommentDraftChange:se,onQueueAction:nt,onDeleteStory:lt===null?null:async()=>{await St(lt.storyOptionId),j()},storyNameForDeletion:lt?.storyName??null,workflowImprovementIssueUrl:C},Xe.projectItemId)})]})};`serviceWorker`in navigator&&navigator.serviceWorker.register(`/sw.js`).catch(e=>{console.warn(`Service worker registration failed:`,e)});var Hd=document.getElementById(`root`);if(Hd===null)throw Error(`Root container #root not found`);(0,b.createRoot)(Hd).render((0,x.jsx)(y.StrictMode,{children:(0,x.jsx)(Vd,{})}));
|
package/bin/adapter/entry-points/console/ui-dist/assets/{index-CQw_knXt.css → index-r50d3c5x.css}
RENAMED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
|
|
2
|
-
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-border-style:solid;--tw-font-weight:initial;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000}}}@layer theme{:root,:host{--font-sans:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--font-weight-medium:500;--font-weight-semibold:600;--radius-md:.375rem;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-input:#e5e5e5;--color-ring:#0a0a0a;--color-background:#fff;--color-foreground:#0a0a0a;--color-primary:#171717;--color-primary-foreground:#fafafa;--color-secondary:#f5f5f5;--color-secondary-foreground:#171717;--color-accent:#f5f5f5;--color-accent-foreground:#171717}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.collapse{visibility:collapse}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.container{width:100%}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.block{display:block}.hidden{display:none}.inline{display:inline}.inline-flex{display:inline-flex}.h-8{height:calc(var(--spacing) * 8)}.h-9{height:calc(var(--spacing) * 9)}.h-10{height:calc(var(--spacing) * 10)}.grow{flex-grow:1}.items-center{align-items:center}.justify-center{justify-content:center}.gap-2{gap:calc(var(--spacing) * 2)}.rounded-md{border-radius:var(--radius-md)}.border{border-style:var(--tw-border-style);border-width:1px}.border-input{border-color:var(--color-input)}.border-transparent{border-color:#0000}.bg-background{background-color:var(--color-background)}.bg-primary{background-color:var(--color-primary)}.bg-secondary{background-color:var(--color-secondary)}.px-2\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-8{padding-inline:calc(var(--spacing) * 8)}.py-0\.5{padding-block:calc(var(--spacing) * .5)}.py-2{padding-block:calc(var(--spacing) * 2)}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.whitespace-nowrap{white-space:nowrap}.text-foreground{color:var(--color-foreground)}.text-primary-foreground{color:var(--color-primary-foreground)}.text-secondary-foreground{color:var(--color-secondary-foreground)}.lowercase{text-transform:lowercase}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}@media (hover:hover){.hover\:bg-accent:hover{background-color:var(--color-accent)}.hover\:bg-primary\/90:hover{background-color:#171717e6}@supports (color:color-mix(in lab, red, red)){.hover\:bg-primary\/90:hover{background-color:color-mix(in oklab, var(--color-primary) 90%, transparent)}}.hover\:bg-secondary\/80:hover{background-color:#f5f5f5cc}@supports (color:color-mix(in lab, red, red)){.hover\:bg-secondary\/80:hover{background-color:color-mix(in oklab, var(--color-secondary) 80%, transparent)}}.hover\:text-accent-foreground:hover{color:var(--color-accent-foreground)}}.focus-visible\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-ring:focus-visible{--tw-ring-color:var(--color-ring)}.focus-visible\:outline-none:focus-visible{--tw-outline-style:none;outline-style:none}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:opacity-50:disabled{opacity:.5}}html{font-size:clamp(15px,2.1vw,26px)}body{color:#e6edf3;background-color:#0d1117;margin:0;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.console-app{flex-direction:column;width:100%;height:100dvh;display:flex;overflow:hidden}.console-list-screen{flex:1;min-height:0;overflow-y:auto}.console-tabbar{padding-top:env(safe-area-inset-top,0px);padding-left:env(safe-area-inset-left,0px);background:#161b22;border-bottom:2px solid #30363d;flex-direction:column;display:flex}.console-tabbar-top{-webkit-overflow-scrolling:touch;flex-wrap:nowrap;align-items:center;gap:12px;padding:4px 8px;display:flex;overflow-x:auto}.console-tabbar-bottom{-webkit-overflow-scrolling:touch;flex-wrap:nowrap;align-items:stretch;gap:0;padding:0 8px;display:flex;overflow-x:auto}.console-tab{color:#8b949e;white-space:nowrap;cursor:pointer;background:0 0;border:none;border-bottom:2px solid #0000;align-items:center;gap:6px;margin-bottom:-2px;padding:10px 14px;font-size:.8125rem;font-weight:500;line-height:1.2;text-decoration:none;display:inline-flex}.console-tab:hover{color:#e6edf3}.console-tab[data-active=true]{color:#e6edf3;border-bottom-color:#2f81f7;font-weight:700}.console-tab-badge{text-align:center;color:#e6edf3;background:#484f58;border-radius:20px;min-width:20px;padding:1px 7px;font-size:.6875rem;font-weight:700;line-height:1.5}.console-tab-badge[data-zero=true]{color:#8b949e;background:#30363d}.console-tab-pjname{align-self:center;margin-left:4rem;padding:0 8px}.console-tab-pjname-button{color:#e6edf3;cursor:pointer;background:0 0;border:none;border-radius:4px;align-items:center;gap:3px;padding:2px 4px;font-size:.8125rem;font-weight:600;line-height:1;display:flex}.console-tab-pjname-button:hover{color:#e6edf3;background:#21262d}.console-tab-pjname-arrow{font-size:.625rem}.console-tab-pjname-dropdown{z-index:100;background:#161b22;border:1px solid #30363d;border-radius:6px;min-width:120px;margin:0;padding:4px 0;list-style:none;box-shadow:0 8px 24px #01040980}.console-tab-pjname-option{color:#e6edf3;cursor:pointer;text-align:left;background:0 0;border:none;width:100%;padding:12px 16px;font-size:.7188rem;display:block}.console-tab-pjname-option:hover,.console-tab-pjname-option[data-active=true]{background:#21262d}.console-tab-project-link{color:#8b949e;border-radius:4px;padding:2px 4px;font-size:.7188rem;text-decoration:none}.console-tab-project-link:hover{color:#e6edf3;background:#21262d}.console-tab-geninfo{color:#8b949e;align-self:center;padding:0 4px;font-size:.6875rem}.console-tab-settings{align-self:center;padding:0 4px}.console-project-timer-bar{box-sizing:border-box;background:#2d0000;align-items:center;gap:8px;width:100%;min-height:28px;padding:4px 12px;display:flex;position:relative}.console-project-timer-bar-track{background:#4d0000;border-radius:3px;flex:1;height:6px;overflow:hidden}.console-project-timer-bar-fill{background:#e53e3e;border-radius:3px;height:100%;transition:width .5s linear}.console-project-timer-bar-label{color:#e53e3e;white-space:nowrap;text-align:right;min-width:60px;font-size:.6875rem;font-weight:700}.console-timer-settings-button{color:#8b949e;cursor:pointer;background:0 0;border:none;border-radius:4px;padding:4px 8px;font-size:1rem;line-height:1}.console-timer-settings-button:hover{color:#e6edf3;background:#21262d}.console-timer-settings-button--active{color:#e67e00}.console-timer-settings-overlay{z-index:100;position:fixed;inset:0}.console-timer-settings-backdrop{cursor:default;z-index:-1;background:#01040999;border:none;position:fixed;inset:0}.console-timer-settings-dialog-inner{background:#161b22;border:1px solid #30363d;border-radius:8px;min-width:280px;max-width:400px;max-height:80vh;padding:20px;overflow-y:auto}.console-timer-settings-title{color:#e6edf3;margin:0 0 16px;font-size:.9375rem;font-weight:600}.console-timer-settings-row{justify-content:space-between;align-items:center;margin-bottom:16px;display:flex}.console-timer-settings-label{color:#c9d1d9;font-size:.875rem}.console-timer-settings-loading{color:#8b949e;padding:8px 0;font-size:.875rem}.console-timer-settings-project-list{margin:0;padding:0;list-style:none}.console-timer-settings-project-row{border-bottom:1px solid #21262d;align-items:center;gap:8px;padding:6px 0;display:flex}.console-timer-settings-project-row:last-child{border-bottom:none}.console-timer-settings-pjcode{color:#c9d1d9;flex:1;font-family:ui-monospace,SFMono-Regular,monospace;font-size:.8125rem}.console-timer-settings-minutes-input{color:#e6edf3;text-align:right;background:#0d1117;border:1px solid #30363d;border-radius:4px;width:56px;padding:3px 6px;font-size:.8125rem}.console-timer-settings-minutes-label{color:#8b949e;width:24px;font-size:.75rem}.console-timer-settings-actions{justify-content:flex-end;margin-top:16px;display:flex}.console-timer-settings-save{color:#fff;cursor:pointer;background:#238636;border:1px solid #f0f6fc1a;border-radius:6px;padding:6px 14px;font-size:.8125rem;font-weight:500}.console-timer-settings-save:hover{background:#2ea043}.console-toggle-switch{cursor:pointer;background:#30363d;border:none;border-radius:12px;flex-shrink:0;align-items:center;width:44px;height:24px;padding:2px;transition:background .2s;display:inline-flex;position:relative}.console-toggle-switch--on{background:#238636}.console-toggle-switch-thumb{background:#e6edf3;border-radius:50%;width:20px;height:20px;transition:transform .2s;display:block}.console-toggle-switch--on .console-toggle-switch-thumb{transform:translate(20px)}.console-toggle-switch:focus-visible{outline-offset:2px;outline:2px solid #58a6ff}.console-tab-settings-button{color:#8b949e;cursor:pointer;background:0 0;border:1px solid #30363d;border-radius:6px;align-self:center;margin-left:4px;padding:4px 8px;font-size:1rem;line-height:1}.console-tab-settings-button:hover{color:#e6edf3;border-color:#58a6ff}.console-settings-modal{z-index:1000;background:#0d1117;flex-direction:column;display:flex;position:fixed;inset:0}.console-settings-modal-bar{background:#161b22;border-bottom:1px solid #30363d;justify-content:space-between;align-items:center;padding:12px 18px;display:flex}.console-settings-modal-title{color:#e6edf3;font-size:1rem;font-weight:600}.console-settings-modal-close{color:#8b949e;cursor:pointer;background:0 0;border:none;padding:4px 8px;font-size:1.125rem;line-height:1}.console-settings-modal-close:hover{color:#e6edf3}.console-settings-modal-body{flex-direction:column;flex:1;gap:16px;padding:24px 18px;display:flex}.console-settings-modal-loading{color:#8b949e;font-size:.875rem}.console-settings-modal-project-list{flex-direction:column;gap:12px;margin:0;padding:0;list-style:none;display:flex}.console-settings-modal-project-row{align-items:center;gap:10px;display:flex}.console-settings-modal-label{color:#e6edf3;font-size:.875rem;font-weight:500}.console-settings-modal-input{color:#e6edf3;background:#0d1117;border:1px solid #30363d;border-radius:6px;max-width:200px;padding:6px 10px;font-size:.875rem}.console-settings-modal-input:focus{border-color:#58a6ff;outline:none}.console-settings-modal-error{color:#f85149;font-size:.875rem}.console-settings-modal-actions{gap:8px;display:flex}.console-settings-modal-save{color:#fff;cursor:pointer;background:#238636;border:1px solid #2ea043;border-radius:6px;padding:6px 16px;font-size:.875rem;font-weight:500}.console-settings-modal-save:hover:not(:disabled){background:#2ea043}.console-settings-modal-save:disabled{opacity:.5;cursor:not-allowed}.console-list{margin:0;padding:12px 18px 18px;list-style:none}.console-list-group{list-style:none}.console-item-row .console-item-icon{flex:none}.console-queued-item-title{text-overflow:ellipsis;white-space:nowrap;flex:1 1 0;min-width:0;overflow:hidden}.console-queued-item-badges{flex-wrap:wrap;flex:1 1 0;align-items:center;gap:4px;min-width:0;display:flex}.console-queued-item-actions{flex:1 1 0;min-width:0}.console-group-header{background:#0b0f14;border-bottom:1px solid #21262d;justify-content:space-between;align-items:center;padding:6px 12px;display:flex}.console-storytag{align-items:center;gap:8px;font-size:.8125rem;font-weight:700;display:inline-flex}.console-story-dot{border-radius:999px;width:10px;height:10px;display:inline-block}.console-copy-story-name-button{color:#c9d1d9;border:1px solid #30363d;border-radius:6px;height:24px;padding:0 8px;font-size:.75rem}.console-copy-story-name-button:hover{color:#e6edf3;background-color:#21262d}.console-group-count{color:#8b949e;font-size:.75rem}.console-story-color-palette{flex-wrap:wrap;gap:4px;padding:6px 0;display:flex}.console-story-color-swatch{cursor:pointer;color:#e6edf3;border:2px solid #0000;border-radius:6px;justify-content:center;align-items:center;width:28px;height:28px;padding:0;font-size:.625rem;display:inline-flex}.console-story-color-swatch:hover{border-color:#e6edf3}.console-story-color-swatch:disabled{opacity:.4;cursor:not-allowed}.console-story-color-swatch-label{font-size:.5rem;line-height:1}.console-item-row{color:#e6edf3;text-align:left;cursor:pointer;background:#161b22;border:1px solid #30363d;border-radius:8px;align-items:flex-start;gap:14px;width:100%;margin-bottom:10px;padding:12px 16px;display:flex}.console-item-row:hover{background:#1a2029;border-color:#484f58}.console-item-row[data-active=true]{background:#1a2029;border-color:#4493f8}.console-item-meta{flex:1;min-width:0}.console-item-title{align-items:center;gap:6px;font-size:.9063rem;font-weight:600;display:flex}.console-item-sub{color:#8b949e;margin-top:3px;font-size:.7813rem;display:block}.console-item-pill{color:#8b949e;border:1px solid #30363d;border-radius:20px;margin-right:6px;padding:1px 8px;font-size:.6875rem;display:inline-block}.console-item-createdat{color:#8b949e;cursor:help}.console-item-fields,.console-item-status-agent{color:#adbac7;flex-wrap:wrap;gap:4px 10px;margin-top:4px;font-size:.7188rem;display:flex}.console-item-field{word-break:break-all;align-items:baseline;gap:4px;min-width:0;display:inline-flex}.console-item-field-label{color:#6e7681;text-transform:uppercase;letter-spacing:.03em;font-size:.625rem}.console-item-executive-summary{color:#8b949e;white-space:pre-line;word-break:break-word;background:#0d1117;border-left:2px solid #30363d;border-radius:0 4px 4px 0;margin-top:6px;padding:6px 8px;font-size:.75rem;display:block}.console-list-message{color:#8b949e;padding:16px;font-size:.875rem}.console-list-empty{text-align:center;color:#8b949e;padding:40px;font-size:.875rem}.console-list-error,.console-detail-fetch-error{color:#f85149}.console-detail-fetch-error-line{margin:0}.console-comment-notloaded,.console-files-notloaded,.console-commits-notloaded,.console-detail-body-notloaded{color:#8b949e}.console-detail{flex-direction:column;flex:1;min-height:0;display:flex}.console-detail-header{background:#0d1117;flex-direction:column;flex-shrink:0;gap:12px;padding:16px 16px 12px;display:flex}.console-detail-body{flex-direction:column;flex:1;gap:12px;min-height:0;padding:0 16px 12px;display:flex;overflow-y:auto}.console-detail-topline{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.console-detail-title{align-items:center;gap:8px;margin:0;font-size:1.25rem;display:flex}.console-detail-title-text{flex:1}.console-detail-number{color:#8b949e;font-weight:400}.console-detail-closed-label{color:#a371f7;font-size:.8125rem}.console-detail-subbar{align-items:center;gap:12px;font-size:.8125rem;display:flex}.console-detail-link{color:#4493f8}.console-detail-repo{color:#8b949e;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.console-copy-url-button{color:#c9d1d9;border:1px solid #30363d;border-radius:6px;height:24px;padding:0 8px;font-size:.75rem}.console-copy-url-button:hover{color:#e6edf3;background-color:#21262d}.console-label-chip,.console-detail-status-chip{border:1px solid #30363d;border-radius:999px;padding:2px 8px;font-size:.75rem;display:inline-block}.console-detail-agent-chip{color:#8b949e;border:1px solid #30363d;border-radius:999px;padding:2px 8px;font-size:.75rem;font-weight:400;display:inline-block}.console-detail-pr-status{flex-wrap:wrap;align-items:center;gap:6px;display:inline-flex}.console-related-pr-group{align-items:center;gap:6px;display:inline-flex}.console-related-pr-label{color:#8b949e;font-size:.75rem}.console-detail-ci-missing{opacity:.85;font-weight:400}.console-detail-mergeable-chip{font-weight:600}.console-detail-mergeable-chip-unknown{opacity:.7;font-weight:400}.console-detail-createdat{color:#8b949e;font-size:.75rem}.console-panel{border:1px solid #30363d;border-radius:8px;overflow:clip}.console-panel-header{background:#161b22;justify-content:space-between;align-items:center;display:flex}.console-panel-toggle{color:#e6edf3;text-align:left;cursor:pointer;background:0 0;border:none;flex:1;align-items:center;gap:8px;padding:6px 12px;font-size:.875rem;font-weight:600;display:flex}.console-panel-toggle:hover{background:#1a2029}.console-panel-action{padding:6px 12px}.console-panel-body{padding:12px}.console-markdown{word-break:break-word;font-size:.875rem;line-height:1.5}.console-markdown ul{margin:.5em 0;padding-left:1.5em;list-style:outside}.console-markdown ol{margin:.5em 0;padding-left:1.5em;list-style:decimal}.console-markdown li{margin:.25em 0}.console-markdown table{border-collapse:collapse;margin:.5em 0}.console-markdown th,.console-markdown td{border:1px solid #30363d;padding:4px 8px}.console-markdown th{background:#161b22}.console-markdown h1,.console-markdown h2,.console-markdown h3,.console-markdown h4,.console-markdown h5,.console-markdown h6{margin:1em 0 .5em;font-weight:700;line-height:1.25}.console-markdown h1{font-size:1.6em}.console-markdown h2{font-size:1.4em}.console-markdown h3{font-size:1.2em}.console-markdown h4{font-size:1.05em}.console-markdown h5{font-size:.95em}.console-markdown h6{color:#8b949e;font-size:.9em}.console-markdown pre{background:#161b22;border:1px solid #30363d;border-radius:6px;margin:.5em 0;padding:12px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.8125rem;line-height:1.45;overflow-x:auto}.console-markdown code{background:#6e768166;border-radius:4px;padding:.15em .4em;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.9em}.console-markdown pre code{font-size:inherit;background:0 0;border-radius:0;padding:0}.console-markdown-code-block{flex-direction:column;margin:.5em 0;display:flex}.console-markdown-code-block pre{margin:0}.console-markdown-code-copy-host{justify-content:flex-end;margin-bottom:4px;display:flex}.console-copy-code-button{color:#c9d1d9;background-color:#161b22;border:1px solid #30363d;border-radius:6px;height:24px;padding:0 8px;font-size:.75rem}.console-copy-code-button:hover{color:#e6edf3;background-color:#21262d}.console-markdown blockquote{color:#8b949e;border-left:3px solid #30363d;margin:.5em 0;padding:0 1em}.console-markdown a{color:#4493f8;text-decoration:none}.console-markdown a:hover{text-decoration:underline}.console-markdown-reference-host{display:inline}.console-markdown-reference{vertical-align:baseline;align-items:center;gap:.25em;display:inline-flex}.console-markdown-reference .console-item-icon{flex-shrink:0}.console-markdown-reference-title{text-decoration:none}.console-markdown-reference:hover .console-markdown-reference-title{text-decoration:underline}.console-markdown-reference-number{color:#8b949e;flex-shrink:0;font-size:.75em}.console-markdown hr{border:none;border-top:1px solid #30363d;margin:1em 0}.console-mermaid-error{color:#f85149;font-size:.8125rem}.console-mermaid-enlarge{color:#e6edf3;background:#21262d;border:1px solid #30363d;border-radius:6px;width:100%;margin-top:6px;padding:10px 12px;font-size:.8125rem;display:block}.console-mermaid-modal{z-index:1000;background:#0d1117;flex-direction:column;display:flex;position:fixed;inset:0}.console-mermaid-modal-bar{border-bottom:1px solid #30363d;align-items:center;gap:8px;padding:8px 12px;display:flex}.console-mermaid-modal-button,.console-mermaid-modal-close{color:#e6edf3;background:#21262d;border:1px solid #30363d;border-radius:6px;min-width:44px;min-height:44px;font-size:1.125rem}.console-mermaid-modal-button:disabled{opacity:.4}.console-mermaid-modal-close{margin-left:auto}.console-mermaid-modal-scale{text-align:center;color:#8b949e;min-width:4.5rem;font-size:.875rem}.console-mermaid-modal-viewport{-webkit-overflow-scrolling:touch;flex:1;overflow:auto}.console-mermaid-modal-canvas{min-width:100%}.console-comment{white-space:nowrap;background:#161b22;border:1px solid #30363d;border-radius:8px;align-items:baseline;gap:8px;margin-bottom:4px;padding:6px 16px;display:flex;overflow:hidden}.console-comment-toggle{min-width:0;color:inherit;font:inherit;cursor:pointer;text-align:left;background:0 0;border:none;flex:1;align-items:baseline;gap:8px;padding:0;display:inline-flex}.console-comment-show-all{color:#e6edf3;cursor:pointer;background:#21262d;border:1px solid #30363d;border-radius:6px;margin-bottom:10px;padding:6px 12px;font-size:.75rem;font-weight:600}.console-comment-show-all:hover{background-color:#262c34;border-color:#484f58}.console-comment--expandable{cursor:pointer}.console-comment--expandable:hover{border-color:#484f58}.console-comment-author{color:#e6edf3;flex-shrink:0;font-size:.75rem;font-weight:600}.console-comment-time{color:#8b949e;flex-shrink:0;font-size:.75rem}.console-comment-body-preview{text-overflow:ellipsis;white-space:nowrap;color:#8b949e;flex:1;min-width:0;font-size:.75rem;overflow:hidden}.console-comment.is-expanded{white-space:normal;flex-wrap:wrap;overflow:visible}.console-comment-body-expanded{cursor:default;flex-basis:100%;min-width:0}.console-files,.console-commits{margin:0;padding:0;list-style:none}.console-commit{align-items:center;gap:8px;padding:4px 0;font-size:.8125rem;display:flex}.console-file{flex-direction:column;font-size:.8125rem;display:flex}.console-file-tree,.console-file-tree-children{margin:0;padding:0;list-style:none}.console-file-tree-dir{flex-direction:column;display:flex}.console-file-tree-dir-name{color:#8b949e;align-items:center;gap:6px;padding:4px 0;font-weight:600;display:flex}.console-file-tree-dir-icon{flex:none}.console-file-badge{text-align:center;border:1px solid;border-radius:4px;width:18px;font-size:.6875rem}.console-file-path,.console-commit-message{flex:1;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.console-file-add,.console-pr-add{color:#3fb950}.console-file-del,.console-pr-del{color:#f85149}.console-commit-sha{color:#8b949e;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.console-detail-dock{background:#161b22;border-top:2px solid #30363d;flex-shrink:0;max-height:45dvh;overflow-y:auto}.console-detail-dock-composer{max-height:50vh;padding:8px 16px 0;overflow-y:auto}.console-actionbar{padding:10px 16px;padding-bottom:calc(10px + env(safe-area-inset-bottom));background:#161b22}.console-operation-bar{flex-direction:column;gap:8px;width:100%;display:flex}.console-op-group{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.console-op-group-review{gap:10px}.console-op-group-rare-actions{justify-content:flex-start}.console-op-group-left-pair{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.console-op-group-bottom-row{justify-content:space-between;align-items:center;gap:8px;display:flex}.console-op-group-stories{max-height:33vh;overflow-y:auto}.console-story-select,.console-agent-select{color:#e6edf3;cursor:pointer;background:#21262d;border:1px solid #30363d;border-radius:6px;max-width:100%;padding:9px 12px;font-size:.8125rem;font-weight:600}.console-story-select:hover,.console-agent-select:hover{border-color:#484f58}.console-op-button{color:#e6edf3;white-space:nowrap;cursor:pointer;background:#21262d;border:1px solid #30363d;border-radius:6px;padding:9px 16px;font-size:.8125rem;font-weight:600}.console-op-button:hover{border-color:#484f58}.console-op-button:disabled{opacity:.4;cursor:not-allowed}.console-op-requirement{text-align:right;color:#8b949e;width:100%;margin:0;font-size:.75rem}.console-op-button-approve{color:#fff;background:#238636;border-color:#2ea043}.console-op-button-reject{color:#ffd166;background:#7d5000;border-color:#a06800}.console-op-button-wrong{color:#f85149;background:#3a1518;border-color:#f85149}.console-op-button-unneeded{color:#aab0b8;background:#2a2d31;border-color:#6e7681}.console-op-button-snooze{color:#79c0ff;background:#1c2b4a;border-color:#4493f8}.console-op-button-danger{color:#f85149;background:#3a1518;border-color:#f85149}.console-pr-section{border:1px solid #30363d;border-radius:8px;flex-direction:column;gap:10px;padding:12px;display:flex}.console-pr-statbar{color:#8b949e;gap:12px;font-size:.75rem;display:flex}.console-pr-repo{color:#8b949e;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.console-detail-screen{flex-direction:column;flex:1;min-height:0;display:flex;overflow:hidden}.console-panel-open-link{color:#4493f8;font-size:.8125rem;font-weight:400}.console-composer{margin-top:4px}.console-composer-toggle{color:#8b949e;cursor:pointer;background:0 0;border:none;margin-left:auto;padding:2px 0;font-size:.7813rem;display:block}.console-composer-toggle:hover{color:#e6edf3}.console-composer-form{margin-top:8px}.console-composer-input{box-sizing:border-box;color:#e6edf3;width:100%;font:inherit;resize:vertical;background:#21262d;border:1px solid #30363d;border-radius:6px;padding:8px;font-size:.875rem}.console-composer-attach{align-items:center;gap:8px;padding:0 10px;display:flex}.console-composer-file-input{display:none}.console-composer-attach-button{color:#c9d1d9;cursor:pointer;background:#21262d;border:1px solid #30363d;border-radius:4px;padding:4px 8px;font-size:.75rem}.console-composer-attach-button:disabled{opacity:.6;cursor:default}.console-composer-row{justify-content:flex-end;align-items:center;gap:8px;margin-top:6px;display:flex}.console-composer-submit{color:#fff;cursor:pointer;background:#238636;border:1px solid #2ea043;border-radius:6px;padding:7px 16px;font-size:.8125rem;font-weight:600}.console-composer-submit:disabled{opacity:.6;cursor:default}.console-composer-status{color:#8b949e;font-size:.75rem}.console-composer-error{color:#f85149}.console-undo-toast,.console-error-toast{z-index:9998;white-space:nowrap;border-radius:10px;align-items:center;gap:12px;max-width:92vw;padding:12px 18px;font-size:.8438rem;display:flex;position:fixed;top:12px;left:50%;transform:translate(-50%);box-shadow:0 4px 20px #0009}.console-undo-toast-green{color:#3fb950;background:#0d3320;border:1px solid #2ea043}.console-undo-toast-amber{color:#ffd166;background:#3a2800;border:1px solid #a06800}.console-undo-toast-red{color:#f85149;background:#3a1518;border:1px solid #da3633}.console-undo-toast-gray{color:#aab0b8;background:#2a2d31;border:1px solid #6e7681}.console-undo-toast-blue{color:#79c0ff;background:#0d1f40;border:1px solid #4493f8}.console-undo-toast-error{color:#f85149;background:#3a1518;border:1px solid #f85149}.console-undo-toast-message,.console-error-toast-message{text-overflow:ellipsis;flex:1;min-width:0;overflow:hidden}.console-undo-toast-undo,.console-error-toast-dismiss{cursor:pointer;color:inherit;background:#ffffff1f;border:none;border-radius:6px;flex:none;padding:4px 12px;font-size:.8125rem;font-weight:700}.console-undo-toast-undo:hover,.console-error-toast-dismiss:hover{background:#ffffff38}.console-undo-toast-countdown{opacity:.7;flex:none;font-size:.6875rem}.console-undo-toast-bar{opacity:.5;background:currentColor;border-radius:0 0 10px 10px;height:3px;transition:width .1s linear;position:absolute;bottom:0;left:0}.console-error-toast-title{flex:none;font-weight:700}.console-file-row{width:100%;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:none;align-items:center;gap:8px;padding:4px 0;font-size:.8125rem;display:flex}.console-file-row:hover{background:#1a2029}.console-file-caret{color:#8b949e;flex:none;width:1em}.console-file-diff{border-collapse:collapse;width:100%;margin:4px 0 8px;font:.8125rem/1.6 ui-monospace,SFMono-Regular,Menlo,monospace}.console-file-diff td{white-space:pre-wrap;word-break:break-word;vertical-align:top;padding:0 10px}.console-diff-ln{text-align:right;color:#6e7681;-webkit-user-select:none;user-select:none;white-space:nowrap;border-right:1px solid #30363d;width:1%;padding:0 8px}.console-file-diff td.console-diff-ln{white-space:nowrap;word-break:normal;overflow-wrap:normal}.console-diff-add td{background:#2ea04326}.console-diff-add .console-diff-code{color:#aff5b4}.console-diff-del td{background:#f8514926}.console-diff-del .console-diff-code{color:#ffdcd7}.console-diff-hunk td{color:#79c0ff;background:#161b22}.console-diff-ctx .console-diff-code{color:#c9d1d9}.console-file-diff-empty{color:#8b949e;padding:8px 14px;font-size:.75rem}.console-file-diff-image{padding:8px 14px}.console-file-diff-image-content{object-fit:contain;object-position:left top;border:1px solid #30363d;border-radius:4px;max-width:100%;max-height:420px}.console-diff-comment-cell{text-align:center;-webkit-user-select:none;user-select:none;width:1%;padding:0 2px}.console-diff-comment-button{color:#6e7681;cursor:pointer;opacity:.6;background:0 0;border:1px solid #30363d;border-radius:4px;width:18px;height:18px;padding:0;font-size:.875rem;line-height:16px}.console-diff-row:hover .console-diff-comment-button,.console-diff-comment-button:focus-visible,.console-diff-comment-button[aria-expanded=true]{opacity:1;color:#fff;background:#1f6feb;border-color:#2f81f7}.console-diff-composer-row td{background:#0d1117;padding:6px 10px}.console-diff-composer{background:#161b22;border:1px solid #30363d;border-radius:6px;flex-direction:column;gap:6px;padding:8px;display:flex}.console-diff-composer-anchor{color:#8b949e;font-size:.6875rem}.console-diff-composer-input{resize:vertical;color:#c9d1d9;width:100%;font:inherit;background:#0d1117;border:1px solid #30363d;border-radius:6px;padding:6px 8px}.console-diff-composer-controls{align-items:center;gap:8px;display:flex}.console-diff-composer-submit{color:#fff;cursor:pointer;background:#238636;border:1px solid #238636;border-radius:6px;padding:4px 12px}.console-diff-composer-submit:disabled{opacity:.6;cursor:default}.console-diff-composer-cancel{color:#c9d1d9;cursor:pointer;background:0 0;border:1px solid #30363d;border-radius:6px;padding:4px 12px}.console-diff-composer-status{color:#8b949e;font-size:.75rem}.console-diff-composer-error{color:#ff7b72}.console-diff-composer-posted{color:#3fb950;margin:0;font-size:.75rem}.console-pr-header{flex-wrap:wrap;align-items:center;gap:10px;padding-top:4px;display:flex}.console-pr-section-title{color:#e6edf3;font-size:.9375rem;font-weight:600}.console-pr-section-state{color:#8b949e;border:1px solid #6e7681;border-radius:999px;padding:1px 8px;font-size:.6875rem}.console-offline-panel{background:#161b22;border-bottom:2px solid #30363d}.console-offline-panel-header{color:#c9d1d9;border-bottom:1px solid #21262d;padding:8px 16px;font-size:.8125rem;font-weight:600}.console-offline-panel-item{border-bottom:1px solid #21262d;border-left:3px solid #30363d;flex-direction:column;gap:4px;padding:10px 16px;display:flex}.console-offline-panel-item:last-child{border-bottom:none}.console-offline-panel-item-green{background:#0d332066;border-left-color:#2ea043}.console-offline-panel-item-amber{background:#3a280066;border-left-color:#a06800}.console-offline-panel-item-red{background:#3a151866;border-left-color:#da3633}.console-offline-panel-item-gray{background:#2a2d3166;border-left-color:#6e7681}.console-offline-panel-item-blue{background:#0d1f4066;border-left-color:#4493f8}.console-offline-panel-item-error{background:#3a151866;border-left-color:#f85149}.console-offline-panel-item-message{color:#e6edf3;font-size:.8125rem;font-weight:600}.console-offline-panel-item-target{color:#8b949e;font-size:.75rem}.console-offline-panel-item-fetch-error{color:#f85149;font-size:.75rem}.console-offline-panel-item-pr-status{color:#8b949e;font-size:.75rem}.console-offline-panel-item-controls{gap:8px;margin-top:4px;display:flex}.console-offline-panel-confirm{color:#fff;cursor:pointer;background:#238636;border:1px solid #2ea043;border-radius:6px;padding:4px 12px;font-size:.75rem;font-weight:600}.console-offline-panel-confirm:hover:not(:disabled){background:#2ea043}.console-offline-panel-confirm:disabled{opacity:.4;cursor:not-allowed}.console-offline-panel-discard{color:#8b949e;cursor:pointer;background:0 0;border:1px solid #30363d;border-radius:6px;padding:4px 12px;font-size:.75rem;font-weight:600}.console-offline-panel-discard:hover{color:#f85149;border-color:#f85149}.console-task-create-button{color:#8b949e;cursor:pointer;white-space:nowrap;background:0 0;border:1px solid #30363d;border-radius:6px;align-self:center;margin-left:4px;padding:4px 8px;font-size:.8125rem;line-height:1}.console-task-create-button:hover{color:#e6edf3;border-color:#58a6ff}.console-task-create-button:disabled{opacity:.4;cursor:not-allowed}.console-task-create-form{flex-wrap:wrap;align-items:center;gap:4px;margin-left:4px;display:flex}.console-task-create-form-select{color:#e6edf3;cursor:pointer;background:#161b22;border:1px solid #30363d;border-radius:6px;padding:3px 6px;font-size:.8125rem}.console-task-create-form-input{color:#e6edf3;background:#0d1117;border:1px solid #30363d;border-radius:6px;min-width:160px;padding:3px 8px;font-size:.8125rem}.console-task-create-form-input:focus{border-color:#58a6ff;outline:none}.console-task-create-form-submit,.console-task-create-form-cancel{color:#e6edf3;cursor:pointer;white-space:nowrap;background:#21262d;border:1px solid #30363d;border-radius:6px;padding:3px 10px;font-size:.8125rem}.console-task-create-form-submit:hover,.console-task-create-form-cancel:hover{border-color:#484f58}.console-task-create-form-submit:disabled,.console-task-create-form-cancel:disabled{opacity:.4;cursor:not-allowed}.console-task-create-dialog-overlay{z-index:1000;background:#01040999;justify-content:center;align-items:flex-start;padding-top:60px;display:flex;position:fixed;inset:0}.console-task-create-dialog{background:#0d1117;border:1px solid #30363d;border-radius:8px;flex-direction:column;width:100%;max-width:560px;max-height:calc(100vh - 100px);display:flex;overflow:hidden}.console-task-create-dialog-bar{background:#161b22;border-bottom:1px solid #30363d;flex-shrink:0;justify-content:space-between;align-items:center;padding:12px 18px;display:flex}.console-task-create-dialog-title{color:#e6edf3;font-size:1rem;font-weight:600}.console-task-create-dialog-bar-actions{align-items:center;gap:4px;display:flex}.console-task-create-dialog-open-link{color:#8b949e;align-items:center;padding:4px 8px;font-size:1.125rem;line-height:1;text-decoration:none;display:inline-flex}.console-task-create-dialog-open-link:hover{color:#e6edf3}.console-task-create-dialog-close{color:#8b949e;cursor:pointer;background:0 0;border:none;padding:4px 8px;font-size:1.125rem;line-height:1}.console-task-create-dialog-close:hover{color:#e6edf3}.console-task-create-dialog-body{flex-direction:column;flex:1;gap:10px;min-height:0;padding:20px 18px;display:flex;overflow-y:auto}.console-task-create-dialog-section-label{color:#e6edf3;font-size:.875rem;font-weight:500}.console-task-create-dialog-textarea{color:#e6edf3;resize:vertical;background:#0d1117;border:1px solid #30363d;border-radius:6px;min-height:72px;padding:8px 10px;font-size:.875rem}.console-task-create-dialog-textarea:focus{border-color:#58a6ff;outline:none}.console-task-create-dialog-option-list{flex-wrap:wrap;gap:6px;max-height:160px;display:flex;overflow-y:auto}.console-task-create-dialog-option-button{color:#c9d1d9;cursor:pointer;white-space:nowrap;background:#21262d;border:1px solid #30363d;border-radius:20px;padding:4px 10px;font-size:.8125rem}.console-task-create-dialog-option-button:hover{color:#e6edf3;border-color:#58a6ff}.console-task-create-dialog-option-button--selected{color:#fff;background:#1f6feb;border-color:#1f6feb}.console-task-create-dialog-input{color:#e6edf3;background:#0d1117;border:1px solid #30363d;border-radius:6px;padding:6px 10px;font-size:.875rem}.console-task-create-dialog-input:focus{border-color:#58a6ff;outline:none}.console-task-create-dialog-file-input{color:#8b949e;font-size:.8125rem}.console-task-create-dialog-file-list{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}.console-task-create-dialog-file-item{background:#161b22;border:1px solid #30363d;border-radius:6px;align-items:center;gap:8px;padding:4px 8px;display:flex}.console-task-create-dialog-file-thumbnail{object-fit:cover;border-radius:4px;flex-shrink:0;width:32px;height:32px}.console-task-create-dialog-file-name{color:#c9d1d9;text-overflow:ellipsis;white-space:nowrap;flex:1;font-size:.8125rem;overflow:hidden}.console-task-create-dialog-file-remove{color:#8b949e;cursor:pointer;background:0 0;border:none;flex-shrink:0;padding:2px 6px;font-size:.875rem;line-height:1}.console-task-create-dialog-file-remove:hover{color:#f85149}.console-task-create-dialog-file-remove:disabled{opacity:.5;cursor:not-allowed}.console-task-create-dialog-actions{justify-content:flex-end;gap:8px;margin-top:4px;display:flex}.console-task-create-dialog-submit{color:#fff;cursor:pointer;background:#238636;border:1px solid #2ea043;border-radius:6px;padding:6px 16px;font-size:.875rem;font-weight:500}.console-task-create-dialog-submit:hover:not(:disabled){background:#2ea043}.console-task-create-dialog-submit:disabled{opacity:.5;cursor:not-allowed}.console-task-create-dialog-cancel{color:#c9d1d9;cursor:pointer;background:#21262d;border:1px solid #30363d;border-radius:6px;padding:6px 16px;font-size:.875rem}.console-task-create-dialog-cancel:hover:not(:disabled){border-color:#484f58}.console-task-create-dialog-cancel:disabled{opacity:.5;cursor:not-allowed}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}
|
|
2
|
+
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-border-style:solid;--tw-font-weight:initial;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000}}}@layer theme{:root,:host{--font-sans:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--font-weight-medium:500;--font-weight-semibold:600;--radius-md:.375rem;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-input:#e5e5e5;--color-ring:#0a0a0a;--color-background:#fff;--color-foreground:#0a0a0a;--color-primary:#171717;--color-primary-foreground:#fafafa;--color-secondary:#f5f5f5;--color-secondary-foreground:#171717;--color-accent:#f5f5f5;--color-accent-foreground:#171717}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.collapse{visibility:collapse}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.container{width:100%}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.block{display:block}.hidden{display:none}.inline{display:inline}.inline-flex{display:inline-flex}.h-8{height:calc(var(--spacing) * 8)}.h-9{height:calc(var(--spacing) * 9)}.h-10{height:calc(var(--spacing) * 10)}.grow{flex-grow:1}.items-center{align-items:center}.justify-center{justify-content:center}.gap-2{gap:calc(var(--spacing) * 2)}.rounded-md{border-radius:var(--radius-md)}.border{border-style:var(--tw-border-style);border-width:1px}.border-input{border-color:var(--color-input)}.border-transparent{border-color:#0000}.bg-background{background-color:var(--color-background)}.bg-primary{background-color:var(--color-primary)}.bg-secondary{background-color:var(--color-secondary)}.px-2\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-8{padding-inline:calc(var(--spacing) * 8)}.py-0\.5{padding-block:calc(var(--spacing) * .5)}.py-2{padding-block:calc(var(--spacing) * 2)}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.whitespace-nowrap{white-space:nowrap}.text-foreground{color:var(--color-foreground)}.text-primary-foreground{color:var(--color-primary-foreground)}.text-secondary-foreground{color:var(--color-secondary-foreground)}.lowercase{text-transform:lowercase}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}@media (hover:hover){.hover\:bg-accent:hover{background-color:var(--color-accent)}.hover\:bg-primary\/90:hover{background-color:#171717e6}@supports (color:color-mix(in lab, red, red)){.hover\:bg-primary\/90:hover{background-color:color-mix(in oklab, var(--color-primary) 90%, transparent)}}.hover\:bg-secondary\/80:hover{background-color:#f5f5f5cc}@supports (color:color-mix(in lab, red, red)){.hover\:bg-secondary\/80:hover{background-color:color-mix(in oklab, var(--color-secondary) 80%, transparent)}}.hover\:text-accent-foreground:hover{color:var(--color-accent-foreground)}}.focus-visible\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-ring:focus-visible{--tw-ring-color:var(--color-ring)}.focus-visible\:outline-none:focus-visible{--tw-outline-style:none;outline-style:none}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:opacity-50:disabled{opacity:.5}}html{font-size:clamp(15px,2.1vw,26px)}body{color:#e6edf3;background-color:#0d1117;margin:0;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.console-app{flex-direction:column;width:100%;height:100dvh;display:flex;overflow:hidden}.console-list-screen{flex:1;min-height:0;overflow-y:auto}.console-tabbar{padding-top:env(safe-area-inset-top,0px);padding-left:env(safe-area-inset-left,0px);background:#161b22;border-bottom:2px solid #30363d;flex-direction:column;display:flex}.console-tabbar-top{-webkit-overflow-scrolling:touch;flex-wrap:nowrap;align-items:center;gap:12px;padding:4px 8px;display:flex;overflow-x:auto}.console-tabbar-bottom{-webkit-overflow-scrolling:touch;flex-wrap:nowrap;align-items:stretch;gap:0;padding:0 8px;display:flex;overflow-x:auto}.console-tab{color:#8b949e;white-space:nowrap;cursor:pointer;background:0 0;border:none;border-bottom:2px solid #0000;align-items:center;gap:6px;margin-bottom:-2px;padding:10px 14px;font-size:.8125rem;font-weight:500;line-height:1.2;text-decoration:none;display:inline-flex}.console-tab:hover{color:#e6edf3}.console-tab[data-active=true]{color:#e6edf3;border-bottom-color:#2f81f7;font-weight:700}.console-tab-badge{text-align:center;color:#e6edf3;background:#484f58;border-radius:20px;min-width:20px;padding:1px 7px;font-size:.6875rem;font-weight:700;line-height:1.5}.console-tab-badge[data-zero=true]{color:#8b949e;background:#30363d}.console-tab-pjname{align-self:center;margin-left:4rem;padding:0 8px}.console-tab-pjname-button{color:#e6edf3;cursor:pointer;background:0 0;border:none;border-radius:4px;align-items:center;gap:3px;padding:2px 4px;font-size:.8125rem;font-weight:600;line-height:1;display:flex}.console-tab-pjname-button:hover{color:#e6edf3;background:#21262d}.console-tab-pjname-arrow{font-size:.625rem}.console-tab-pjname-dropdown{z-index:100;background:#161b22;border:1px solid #30363d;border-radius:6px;min-width:120px;margin:0;padding:4px 0;list-style:none;box-shadow:0 8px 24px #01040980}.console-tab-pjname-option{color:#e6edf3;cursor:pointer;text-align:left;background:0 0;border:none;width:100%;padding:12px 16px;font-size:.7188rem;display:block}.console-tab-pjname-option:hover,.console-tab-pjname-option[data-active=true]{background:#21262d}.console-tab-project-link{color:#8b949e;border-radius:4px;padding:2px 4px;font-size:.7188rem;text-decoration:none}.console-tab-project-link:hover{color:#e6edf3;background:#21262d}.console-tab-geninfo{color:#8b949e;align-self:center;padding:0 4px;font-size:.6875rem}.console-tab-settings{align-self:center;padding:0 4px}.console-project-timer-bar{box-sizing:border-box;background:#2d0000;align-items:center;gap:8px;width:100%;min-height:28px;padding:4px 12px;display:flex;position:relative}.console-project-timer-bar-track{background:#4d0000;border-radius:3px;flex:1;height:6px;overflow:hidden}.console-project-timer-bar-fill{background:#e53e3e;border-radius:3px;height:100%;transition:width .5s linear}.console-project-timer-bar-label{color:#e53e3e;white-space:nowrap;text-align:right;min-width:60px;font-size:.6875rem;font-weight:700}.console-timer-settings-button{color:#8b949e;cursor:pointer;background:0 0;border:none;border-radius:4px;padding:4px 8px;font-size:1rem;line-height:1}.console-timer-settings-button:hover{color:#e6edf3;background:#21262d}.console-timer-settings-button--active{color:#e67e00}.console-timer-settings-overlay{z-index:100;position:fixed;inset:0}.console-timer-settings-backdrop{cursor:default;z-index:-1;background:#01040999;border:none;position:fixed;inset:0}.console-timer-settings-dialog-inner{background:#161b22;border:1px solid #30363d;border-radius:8px;min-width:280px;max-width:400px;max-height:80vh;padding:20px;overflow-y:auto}.console-timer-settings-title{color:#e6edf3;margin:0 0 16px;font-size:.9375rem;font-weight:600}.console-timer-settings-row{justify-content:space-between;align-items:center;margin-bottom:16px;display:flex}.console-timer-settings-label{color:#c9d1d9;font-size:.875rem}.console-timer-settings-loading{color:#8b949e;padding:8px 0;font-size:.875rem}.console-timer-settings-project-list{margin:0;padding:0;list-style:none}.console-timer-settings-project-row{border-bottom:1px solid #21262d;align-items:center;gap:8px;padding:6px 0;display:flex}.console-timer-settings-project-row:last-child{border-bottom:none}.console-timer-settings-pjcode{color:#c9d1d9;flex:1;font-family:ui-monospace,SFMono-Regular,monospace;font-size:.8125rem}.console-timer-settings-minutes-input{color:#e6edf3;text-align:right;background:#0d1117;border:1px solid #30363d;border-radius:4px;width:56px;padding:3px 6px;font-size:.8125rem}.console-timer-settings-minutes-label{color:#8b949e;width:24px;font-size:.75rem}.console-timer-settings-actions{justify-content:flex-end;margin-top:16px;display:flex}.console-timer-settings-save{color:#fff;cursor:pointer;background:#238636;border:1px solid #f0f6fc1a;border-radius:6px;padding:6px 14px;font-size:.8125rem;font-weight:500}.console-timer-settings-save:hover{background:#2ea043}.console-toggle-switch{cursor:pointer;background:#30363d;border:none;border-radius:12px;flex-shrink:0;align-items:center;width:44px;height:24px;padding:2px;transition:background .2s;display:inline-flex;position:relative}.console-toggle-switch--on{background:#238636}.console-toggle-switch-thumb{background:#e6edf3;border-radius:50%;width:20px;height:20px;transition:transform .2s;display:block}.console-toggle-switch--on .console-toggle-switch-thumb{transform:translate(20px)}.console-toggle-switch:focus-visible{outline-offset:2px;outline:2px solid #58a6ff}.console-tab-settings-button{color:#8b949e;cursor:pointer;background:0 0;border:1px solid #30363d;border-radius:6px;align-self:center;margin-left:4px;padding:4px 8px;font-size:1rem;line-height:1}.console-tab-settings-button:hover{color:#e6edf3;border-color:#58a6ff}.console-settings-modal{z-index:1000;background:#0d1117;flex-direction:column;display:flex;position:fixed;inset:0}.console-settings-modal-bar{background:#161b22;border-bottom:1px solid #30363d;justify-content:space-between;align-items:center;padding:12px 18px;display:flex}.console-settings-modal-title{color:#e6edf3;font-size:1rem;font-weight:600}.console-settings-modal-close{color:#8b949e;cursor:pointer;background:0 0;border:none;padding:4px 8px;font-size:1.125rem;line-height:1}.console-settings-modal-close:hover{color:#e6edf3}.console-settings-modal-body{flex-direction:column;flex:1;gap:16px;padding:24px 18px;display:flex}.console-settings-modal-loading{color:#8b949e;font-size:.875rem}.console-settings-modal-project-list{flex-direction:column;gap:12px;margin:0;padding:0;list-style:none;display:flex}.console-settings-modal-project-row{align-items:center;gap:10px;display:flex}.console-settings-modal-label{color:#e6edf3;font-size:.875rem;font-weight:500}.console-settings-modal-input{color:#e6edf3;background:#0d1117;border:1px solid #30363d;border-radius:6px;max-width:200px;padding:6px 10px;font-size:.875rem}.console-settings-modal-input:focus{border-color:#58a6ff;outline:none}.console-settings-modal-error{color:#f85149;font-size:.875rem}.console-settings-modal-actions{gap:8px;display:flex}.console-settings-modal-save{color:#fff;cursor:pointer;background:#238636;border:1px solid #2ea043;border-radius:6px;padding:6px 16px;font-size:.875rem;font-weight:500}.console-settings-modal-save:hover:not(:disabled){background:#2ea043}.console-settings-modal-save:disabled{opacity:.5;cursor:not-allowed}.console-list{margin:0;padding:12px 18px 18px;list-style:none}.console-list-group{list-style:none}.console-item-row .console-item-icon{flex:none}.console-queued-item-title{text-overflow:ellipsis;white-space:nowrap;flex:1 1 0;min-width:0;overflow:hidden}.console-queued-item-badges{flex-wrap:wrap;flex:1 1 0;align-items:center;gap:4px;min-width:0;display:flex}.console-queued-item-actions{flex:1 1 0;min-width:0}.console-group-header{background:#0b0f14;border-bottom:1px solid #21262d;justify-content:space-between;align-items:center;padding:6px 12px;display:flex}.console-storytag{align-items:center;gap:8px;font-size:.8125rem;font-weight:700;display:inline-flex}.console-story-dot{border-radius:999px;width:10px;height:10px;display:inline-block}.console-copy-story-name-button{color:#c9d1d9;border:1px solid #30363d;border-radius:6px;height:24px;padding:0 8px;font-size:.75rem}.console-copy-story-name-button:hover{color:#e6edf3;background-color:#21262d}.console-group-count{color:#8b949e;font-size:.75rem}.console-story-color-palette{flex-wrap:wrap;gap:4px;padding:6px 0;display:flex}.console-story-color-swatch{cursor:pointer;color:#e6edf3;border:2px solid #0000;border-radius:6px;justify-content:center;align-items:center;width:28px;height:28px;padding:0;font-size:.625rem;display:inline-flex}.console-story-color-swatch:hover{border-color:#e6edf3}.console-story-color-swatch:disabled{opacity:.4;cursor:not-allowed}.console-story-color-swatch-label{font-size:.5rem;line-height:1}.console-item-row{color:#e6edf3;text-align:left;cursor:pointer;background:#161b22;border:1px solid #30363d;border-radius:8px;align-items:flex-start;gap:14px;width:100%;margin-bottom:10px;padding:12px 16px;display:flex}.console-item-row:hover{background:#1a2029;border-color:#484f58}.console-item-row[data-active=true]{background:#1a2029;border-color:#4493f8}.console-item-meta{flex:1;min-width:0}.console-item-title{align-items:center;gap:6px;font-size:.9063rem;font-weight:600;display:flex}.console-item-sub{color:#8b949e;margin-top:3px;font-size:.7813rem;display:block}.console-item-pill{color:#8b949e;border:1px solid #30363d;border-radius:20px;margin-right:6px;padding:1px 8px;font-size:.6875rem;display:inline-block}.console-item-createdat{color:#8b949e;cursor:help}.console-item-fields,.console-item-status-agent{color:#adbac7;flex-wrap:wrap;gap:4px 10px;margin-top:4px;font-size:.7188rem;display:flex}.console-item-field{word-break:break-all;align-items:baseline;gap:4px;min-width:0;display:inline-flex}.console-item-field-label{color:#6e7681;text-transform:uppercase;letter-spacing:.03em;font-size:.625rem}.console-item-executive-summary{color:#8b949e;white-space:pre-line;word-break:break-word;background:#0d1117;border-left:2px solid #30363d;border-radius:0 4px 4px 0;margin-top:6px;padding:6px 8px;font-size:.75rem;display:block}.console-list-message{color:#8b949e;padding:16px;font-size:.875rem}.console-list-empty{text-align:center;color:#8b949e;padding:40px;font-size:.875rem}.console-list-error,.console-detail-fetch-error{color:#f85149}.console-detail-fetch-error-line{margin:0}.console-comment-notloaded,.console-files-notloaded,.console-commits-notloaded,.console-detail-body-notloaded{color:#8b949e}.console-detail{flex-direction:column;flex:1;min-height:0;display:flex}.console-detail-header{background:#0d1117;flex-direction:column;flex-shrink:0;gap:12px;padding:16px 16px 12px;display:flex}.console-detail-body{flex-direction:column;flex:1;gap:12px;min-height:0;padding:0 16px 12px;display:flex;overflow-y:auto}.console-detail-topline{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.console-detail-title{align-items:center;gap:8px;margin:0;font-size:1.25rem;display:flex}.console-detail-title-text{flex:1}.console-detail-number{color:#8b949e;font-weight:400}.console-detail-closed-label{color:#a371f7;font-size:.8125rem}.console-detail-subbar{align-items:center;gap:12px;font-size:.8125rem;display:flex}.console-detail-link{color:#4493f8}.console-detail-repo{color:#8b949e;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.console-copy-url-button{color:#c9d1d9;border:1px solid #30363d;border-radius:6px;height:24px;padding:0 8px;font-size:.75rem}.console-copy-url-button:hover{color:#e6edf3;background-color:#21262d}.console-label-chip,.console-detail-status-chip{border:1px solid #30363d;border-radius:999px;padding:2px 8px;font-size:.75rem;display:inline-block}.console-detail-agent-chip{color:#8b949e;border:1px solid #30363d;border-radius:999px;padding:2px 8px;font-size:.75rem;font-weight:400;display:inline-block}.console-detail-pr-status{flex-wrap:wrap;align-items:center;gap:6px;display:inline-flex}.console-related-pr-group{align-items:center;gap:6px;display:inline-flex}.console-related-pr-label{color:#8b949e;font-size:.75rem}.console-detail-ci-missing{opacity:.85;font-weight:400}.console-detail-mergeable-chip{font-weight:600}.console-detail-mergeable-chip-unknown{opacity:.7;font-weight:400}.console-detail-createdat{color:#8b949e;font-size:.75rem}.console-panel{border:1px solid #30363d;border-radius:8px;overflow:clip}.console-panel-header{background:#161b22;justify-content:space-between;align-items:center;display:flex}.console-panel-toggle{color:#e6edf3;text-align:left;cursor:pointer;background:0 0;border:none;flex:1;align-items:center;gap:8px;padding:6px 12px;font-size:.875rem;font-weight:600;display:flex}.console-panel-toggle:hover{background:#1a2029}.console-panel-action{padding:6px 12px}.console-panel-body{padding:12px}.console-markdown{word-break:break-word;font-size:.875rem;line-height:1.5}.console-markdown ul{margin:.5em 0;padding-left:1.5em;list-style:outside}.console-markdown ol{margin:.5em 0;padding-left:1.5em;list-style:decimal}.console-markdown li{margin:.25em 0}.console-markdown table{border-collapse:collapse;margin:.5em 0}.console-markdown th,.console-markdown td{border:1px solid #30363d;padding:4px 8px}.console-markdown th{background:#161b22}.console-markdown h1,.console-markdown h2,.console-markdown h3,.console-markdown h4,.console-markdown h5,.console-markdown h6{margin:1em 0 .5em;font-weight:700;line-height:1.25}.console-markdown h1{font-size:1.6em}.console-markdown h2{font-size:1.4em}.console-markdown h3{font-size:1.2em}.console-markdown h4{font-size:1.05em}.console-markdown h5{font-size:.95em}.console-markdown h6{color:#8b949e;font-size:.9em}.console-markdown pre{background:#161b22;border:1px solid #30363d;border-radius:6px;margin:.5em 0;padding:12px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.8125rem;line-height:1.45;overflow-x:auto}.console-markdown code{background:#6e768166;border-radius:4px;padding:.15em .4em;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.9em}.console-markdown pre code{font-size:inherit;background:0 0;border-radius:0;padding:0}.console-markdown-code-block{flex-direction:column;margin:.5em 0;display:flex}.console-markdown-code-block pre{margin:0}.console-markdown-code-copy-host{justify-content:flex-end;margin-bottom:4px;display:flex}.console-copy-code-button{color:#c9d1d9;background-color:#161b22;border:1px solid #30363d;border-radius:6px;height:24px;padding:0 8px;font-size:.75rem}.console-copy-code-button:hover{color:#e6edf3;background-color:#21262d}.console-markdown blockquote{color:#8b949e;border-left:3px solid #30363d;margin:.5em 0;padding:0 1em}.console-markdown a{color:#4493f8;text-decoration:none}.console-markdown a:hover{text-decoration:underline}.console-markdown-reference-host{display:inline}.console-markdown-reference{vertical-align:baseline;align-items:center;gap:.25em;display:inline-flex}.console-markdown-reference .console-item-icon{flex-shrink:0}.console-markdown-reference-title{text-decoration:none}.console-markdown-reference:hover .console-markdown-reference-title{text-decoration:underline}.console-markdown-reference-number{color:#8b949e;flex-shrink:0;font-size:.75em}.console-markdown hr{border:none;border-top:1px solid #30363d;margin:1em 0}.console-mermaid-error{color:#f85149;font-size:.8125rem}.console-mermaid-enlarge{color:#e6edf3;background:#21262d;border:1px solid #30363d;border-radius:6px;width:100%;margin-top:6px;padding:10px 12px;font-size:.8125rem;display:block}.console-mermaid-modal{z-index:1000;background:#0d1117;flex-direction:column;display:flex;position:fixed;inset:0}.console-mermaid-modal-bar{border-bottom:1px solid #30363d;align-items:center;gap:8px;padding:8px 12px;display:flex}.console-mermaid-modal-button,.console-mermaid-modal-close{color:#e6edf3;background:#21262d;border:1px solid #30363d;border-radius:6px;min-width:44px;min-height:44px;font-size:1.125rem}.console-mermaid-modal-button:disabled{opacity:.4}.console-mermaid-modal-close{margin-left:auto}.console-mermaid-modal-scale{text-align:center;color:#8b949e;min-width:4.5rem;font-size:.875rem}.console-mermaid-modal-viewport{-webkit-overflow-scrolling:touch;flex:1;overflow:auto}.console-mermaid-modal-canvas{min-width:100%}.console-comment{white-space:nowrap;background:#161b22;border:1px solid #30363d;border-radius:8px;align-items:baseline;gap:8px;margin-bottom:4px;padding:6px 16px;display:flex;overflow:hidden}.console-comment-toggle{min-width:0;color:inherit;font:inherit;cursor:pointer;text-align:left;background:0 0;border:none;flex:1;align-items:baseline;gap:8px;padding:0;display:inline-flex}.console-comment-show-all{color:#e6edf3;cursor:pointer;background:#21262d;border:1px solid #30363d;border-radius:6px;margin-bottom:10px;padding:6px 12px;font-size:.75rem;font-weight:600}.console-comment-show-all:hover{background-color:#262c34;border-color:#484f58}.console-comment--expandable{cursor:pointer}.console-comment--expandable:hover{border-color:#484f58}.console-comment-author{color:#e6edf3;flex-shrink:0;font-size:.75rem;font-weight:600}.console-comment-time{color:#8b949e;flex-shrink:0;font-size:.75rem}.console-comment-body-preview{text-overflow:ellipsis;white-space:nowrap;color:#8b949e;flex:1;min-width:0;font-size:.75rem;overflow:hidden}.console-comment.is-expanded{white-space:normal;flex-wrap:wrap;overflow:visible}.console-comment-body-expanded{cursor:default;flex-basis:100%;min-width:0}.console-files,.console-commits{margin:0;padding:0;list-style:none}.console-commit{align-items:center;gap:8px;padding:4px 0;font-size:.8125rem;display:flex}.console-file{flex-direction:column;font-size:.8125rem;display:flex}.console-file-tree,.console-file-tree-children{margin:0;padding:0;list-style:none}.console-file-tree-dir{flex-direction:column;display:flex}.console-file-tree-dir-name{color:#8b949e;align-items:center;gap:6px;padding:4px 0;font-weight:600;display:flex}.console-file-tree-dir-icon{flex:none}.console-file-badge{text-align:center;border:1px solid;border-radius:4px;width:18px;font-size:.6875rem}.console-file-path,.console-commit-message{flex:1;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.console-file-add,.console-pr-add{color:#3fb950}.console-file-del,.console-pr-del{color:#f85149}.console-commit-sha{color:#8b949e;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.console-detail-dock{background:#161b22;border-top:2px solid #30363d;flex-shrink:0;max-height:45dvh;overflow-y:auto}.console-detail-dock-composer{max-height:50vh;padding:8px 16px 0;overflow-y:auto}.console-actionbar{padding:10px 16px;padding-bottom:calc(10px + env(safe-area-inset-bottom));background:#161b22}.console-operation-bar{flex-direction:column;gap:8px;width:100%;display:flex}.console-op-group{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.console-op-group-review{gap:10px}.console-op-group-rare-actions{justify-content:flex-start}.console-op-group-left-pair{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.console-op-group-bottom-row{justify-content:space-between;align-items:center;gap:8px;display:flex}.console-op-group-stories{max-height:33vh;overflow-y:auto}.console-story-select,.console-agent-select{color:#e6edf3;cursor:pointer;background:#21262d;border:1px solid #30363d;border-radius:6px;max-width:100%;padding:9px 12px;font-size:.8125rem;font-weight:600}.console-story-select:hover,.console-agent-select:hover{border-color:#484f58}.console-op-button{color:#e6edf3;white-space:nowrap;cursor:pointer;background:#21262d;border:1px solid #30363d;border-radius:6px;padding:9px 16px;font-size:.8125rem;font-weight:600}.console-op-button:hover{border-color:#484f58}.console-op-button:disabled{opacity:.4;cursor:not-allowed}.console-op-requirement{text-align:right;color:#8b949e;width:100%;margin:0;font-size:.75rem}.console-op-button-approve{color:#fff;background:#238636;border-color:#2ea043}.console-op-button-reject{color:#ffd166;background:#7d5000;border-color:#a06800}.console-op-button-wrong{color:#f85149;background:#3a1518;border-color:#f85149}.console-op-button-unneeded{color:#aab0b8;background:#2a2d31;border-color:#6e7681}.console-op-button-snooze{color:#79c0ff;background:#1c2b4a;border-color:#4493f8}.console-op-button-danger{color:#f85149;background:#3a1518;border-color:#f85149}.console-pr-section{border:1px solid #30363d;border-radius:8px;flex-direction:column;gap:10px;padding:12px;display:flex}.console-pr-statbar{color:#8b949e;gap:12px;font-size:.75rem;display:flex}.console-pr-repo{color:#8b949e;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.console-detail-screen{flex-direction:column;flex:1;min-height:0;display:flex;overflow:hidden}.console-panel-open-link{color:#4493f8;font-size:.8125rem;font-weight:400}.console-composer{margin-top:4px}.console-composer-toggle{color:#8b949e;cursor:pointer;background:0 0;border:none;margin-left:auto;padding:2px 0;font-size:.7813rem;display:block}.console-composer-toggle:hover{color:#e6edf3}.console-composer-form{margin-top:8px}.console-composer-input{box-sizing:border-box;color:#e6edf3;width:100%;font:inherit;resize:vertical;background:#21262d;border:1px solid #30363d;border-radius:6px;padding:8px;font-size:.875rem}.console-composer-attach{align-items:center;gap:8px;padding:0 10px;display:flex}.console-composer-file-input{display:none}.console-composer-attach-button{color:#c9d1d9;cursor:pointer;background:#21262d;border:1px solid #30363d;border-radius:4px;padding:4px 8px;font-size:.75rem}.console-composer-attach-button:disabled{opacity:.6;cursor:default}.console-composer-row{justify-content:flex-end;align-items:center;gap:8px;margin-top:6px;display:flex}.console-composer-submit{color:#fff;cursor:pointer;background:#238636;border:1px solid #2ea043;border-radius:6px;padding:7px 16px;font-size:.8125rem;font-weight:600}.console-composer-submit:disabled{opacity:.6;cursor:default}.console-composer-status{color:#8b949e;font-size:.75rem}.console-composer-error{color:#f85149}.console-undo-toast,.console-error-toast{z-index:9998;white-space:nowrap;border-radius:10px;align-items:center;gap:12px;max-width:45vw;padding:12px 18px;font-size:.8438rem;display:flex;position:fixed;bottom:12px;left:12px;box-shadow:0 4px 20px #0009}.console-undo-toast-green{color:#3fb950;background:#0d3320;border:1px solid #2ea043}.console-undo-toast-amber{color:#ffd166;background:#3a2800;border:1px solid #a06800}.console-undo-toast-red{color:#f85149;background:#3a1518;border:1px solid #da3633}.console-undo-toast-gray{color:#aab0b8;background:#2a2d31;border:1px solid #6e7681}.console-undo-toast-blue{color:#79c0ff;background:#0d1f40;border:1px solid #4493f8}.console-undo-toast-error{color:#f85149;background:#3a1518;border:1px solid #f85149}.console-undo-toast-message,.console-error-toast-message{text-overflow:ellipsis;flex:1;min-width:0;overflow:hidden}.console-undo-toast-undo,.console-error-toast-dismiss{cursor:pointer;color:inherit;background:#ffffff1f;border:none;border-radius:6px;flex:none;padding:4px 12px;font-size:.8125rem;font-weight:700}.console-undo-toast-undo:hover,.console-error-toast-dismiss:hover{background:#ffffff38}.console-undo-toast-countdown{opacity:.7;flex:none;font-size:.6875rem}.console-undo-toast-bar{opacity:.5;background:currentColor;border-radius:0 0 10px 10px;height:3px;transition:width .1s linear;position:absolute;bottom:0;left:0}.console-error-toast-title{flex:none;font-weight:700}.console-file-row{width:100%;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:none;align-items:center;gap:8px;padding:4px 0;font-size:.8125rem;display:flex}.console-file-row:hover{background:#1a2029}.console-file-caret{color:#8b949e;flex:none;width:1em}.console-file-diff{border-collapse:collapse;width:100%;margin:4px 0 8px;font:.8125rem/1.6 ui-monospace,SFMono-Regular,Menlo,monospace}.console-file-diff td{white-space:pre-wrap;word-break:break-word;vertical-align:top;padding:0 10px}.console-diff-ln{text-align:right;color:#6e7681;-webkit-user-select:none;user-select:none;white-space:nowrap;border-right:1px solid #30363d;width:1%;padding:0 8px}.console-file-diff td.console-diff-ln{white-space:nowrap;word-break:normal;overflow-wrap:normal}.console-diff-add td{background:#2ea04326}.console-diff-add .console-diff-code{color:#aff5b4}.console-diff-del td{background:#f8514926}.console-diff-del .console-diff-code{color:#ffdcd7}.console-diff-hunk td{color:#79c0ff;background:#161b22}.console-diff-ctx .console-diff-code{color:#c9d1d9}.console-file-diff-empty{color:#8b949e;padding:8px 14px;font-size:.75rem}.console-file-diff-image{padding:8px 14px}.console-file-diff-image-content{object-fit:contain;object-position:left top;border:1px solid #30363d;border-radius:4px;max-width:100%;max-height:420px}.console-diff-comment-cell{text-align:center;-webkit-user-select:none;user-select:none;width:1%;padding:0 2px}.console-diff-comment-button{color:#6e7681;cursor:pointer;opacity:.6;background:0 0;border:1px solid #30363d;border-radius:4px;width:18px;height:18px;padding:0;font-size:.875rem;line-height:16px}.console-diff-row:hover .console-diff-comment-button,.console-diff-comment-button:focus-visible,.console-diff-comment-button[aria-expanded=true]{opacity:1;color:#fff;background:#1f6feb;border-color:#2f81f7}.console-diff-composer-row td{background:#0d1117;padding:6px 10px}.console-diff-composer{background:#161b22;border:1px solid #30363d;border-radius:6px;flex-direction:column;gap:6px;padding:8px;display:flex}.console-diff-composer-anchor{color:#8b949e;font-size:.6875rem}.console-diff-composer-input{resize:vertical;color:#c9d1d9;width:100%;font:inherit;background:#0d1117;border:1px solid #30363d;border-radius:6px;padding:6px 8px}.console-diff-composer-controls{align-items:center;gap:8px;display:flex}.console-diff-composer-submit{color:#fff;cursor:pointer;background:#238636;border:1px solid #238636;border-radius:6px;padding:4px 12px}.console-diff-composer-submit:disabled{opacity:.6;cursor:default}.console-diff-composer-cancel{color:#c9d1d9;cursor:pointer;background:0 0;border:1px solid #30363d;border-radius:6px;padding:4px 12px}.console-diff-composer-status{color:#8b949e;font-size:.75rem}.console-diff-composer-error{color:#ff7b72}.console-diff-composer-posted{color:#3fb950;margin:0;font-size:.75rem}.console-pr-header{flex-wrap:wrap;align-items:center;gap:10px;padding-top:4px;display:flex}.console-pr-section-title{color:#e6edf3;font-size:.9375rem;font-weight:600}.console-pr-section-state{color:#8b949e;border:1px solid #6e7681;border-radius:999px;padding:1px 8px;font-size:.6875rem}.console-offline-panel{background:#161b22;border-bottom:2px solid #30363d}.console-offline-panel-header{color:#c9d1d9;border-bottom:1px solid #21262d;padding:8px 16px;font-size:.8125rem;font-weight:600}.console-offline-panel-item{border-bottom:1px solid #21262d;border-left:3px solid #30363d;flex-direction:column;gap:4px;padding:10px 16px;display:flex}.console-offline-panel-item:last-child{border-bottom:none}.console-offline-panel-item-green{background:#0d332066;border-left-color:#2ea043}.console-offline-panel-item-amber{background:#3a280066;border-left-color:#a06800}.console-offline-panel-item-red{background:#3a151866;border-left-color:#da3633}.console-offline-panel-item-gray{background:#2a2d3166;border-left-color:#6e7681}.console-offline-panel-item-blue{background:#0d1f4066;border-left-color:#4493f8}.console-offline-panel-item-error{background:#3a151866;border-left-color:#f85149}.console-offline-panel-item-message{color:#e6edf3;font-size:.8125rem;font-weight:600}.console-offline-panel-item-target{color:#8b949e;font-size:.75rem}.console-offline-panel-item-fetch-error{color:#f85149;font-size:.75rem}.console-offline-panel-item-pr-status{color:#8b949e;font-size:.75rem}.console-offline-panel-item-controls{gap:8px;margin-top:4px;display:flex}.console-offline-panel-confirm{color:#fff;cursor:pointer;background:#238636;border:1px solid #2ea043;border-radius:6px;padding:4px 12px;font-size:.75rem;font-weight:600}.console-offline-panel-confirm:hover:not(:disabled){background:#2ea043}.console-offline-panel-confirm:disabled{opacity:.4;cursor:not-allowed}.console-offline-panel-discard{color:#8b949e;cursor:pointer;background:0 0;border:1px solid #30363d;border-radius:6px;padding:4px 12px;font-size:.75rem;font-weight:600}.console-offline-panel-discard:hover{color:#f85149;border-color:#f85149}.console-task-create-button{color:#8b949e;cursor:pointer;white-space:nowrap;background:0 0;border:1px solid #30363d;border-radius:6px;align-self:center;margin-left:4px;padding:4px 8px;font-size:.8125rem;line-height:1}.console-task-create-button:hover{color:#e6edf3;border-color:#58a6ff}.console-task-create-button:disabled{opacity:.4;cursor:not-allowed}.console-task-create-form{flex-wrap:wrap;align-items:center;gap:4px;margin-left:4px;display:flex}.console-task-create-form-select{color:#e6edf3;cursor:pointer;background:#161b22;border:1px solid #30363d;border-radius:6px;padding:3px 6px;font-size:.8125rem}.console-task-create-form-input{color:#e6edf3;background:#0d1117;border:1px solid #30363d;border-radius:6px;min-width:160px;padding:3px 8px;font-size:.8125rem}.console-task-create-form-input:focus{border-color:#58a6ff;outline:none}.console-task-create-form-submit,.console-task-create-form-cancel{color:#e6edf3;cursor:pointer;white-space:nowrap;background:#21262d;border:1px solid #30363d;border-radius:6px;padding:3px 10px;font-size:.8125rem}.console-task-create-form-submit:hover,.console-task-create-form-cancel:hover{border-color:#484f58}.console-task-create-form-submit:disabled,.console-task-create-form-cancel:disabled{opacity:.4;cursor:not-allowed}.console-task-create-dialog-overlay{z-index:1000;background:#01040999;justify-content:center;align-items:flex-start;padding-top:60px;display:flex;position:fixed;inset:0}.console-task-create-dialog{background:#0d1117;border:1px solid #30363d;border-radius:8px;flex-direction:column;width:100%;max-width:560px;max-height:calc(100vh - 100px);display:flex;overflow:hidden}.console-task-create-dialog-bar{background:#161b22;border-bottom:1px solid #30363d;flex-shrink:0;justify-content:space-between;align-items:center;padding:12px 18px;display:flex}.console-task-create-dialog-title{color:#e6edf3;font-size:1rem;font-weight:600}.console-task-create-dialog-bar-actions{align-items:center;gap:4px;display:flex}.console-task-create-dialog-open-link{color:#8b949e;align-items:center;padding:4px 8px;font-size:1.125rem;line-height:1;text-decoration:none;display:inline-flex}.console-task-create-dialog-open-link:hover{color:#e6edf3}.console-task-create-dialog-close{color:#8b949e;cursor:pointer;background:0 0;border:none;padding:4px 8px;font-size:1.125rem;line-height:1}.console-task-create-dialog-close:hover{color:#e6edf3}.console-task-create-dialog-body{flex-direction:column;flex:1;gap:10px;min-height:0;padding:20px 18px;display:flex;overflow-y:auto}.console-task-create-dialog-section-label{color:#e6edf3;font-size:.875rem;font-weight:500}.console-task-create-dialog-textarea{color:#e6edf3;resize:vertical;background:#0d1117;border:1px solid #30363d;border-radius:6px;min-height:72px;padding:8px 10px;font-size:.875rem}.console-task-create-dialog-textarea:focus{border-color:#58a6ff;outline:none}.console-task-create-dialog-option-list{flex-wrap:wrap;gap:6px;max-height:160px;display:flex;overflow-y:auto}.console-task-create-dialog-option-button{color:#c9d1d9;cursor:pointer;white-space:nowrap;background:#21262d;border:1px solid #30363d;border-radius:20px;padding:4px 10px;font-size:.8125rem}.console-task-create-dialog-option-button:hover{color:#e6edf3;border-color:#58a6ff}.console-task-create-dialog-option-button--selected{color:#fff;background:#1f6feb;border-color:#1f6feb}.console-task-create-dialog-input{color:#e6edf3;background:#0d1117;border:1px solid #30363d;border-radius:6px;padding:6px 10px;font-size:.875rem}.console-task-create-dialog-input:focus{border-color:#58a6ff;outline:none}.console-task-create-dialog-file-input{color:#8b949e;font-size:.8125rem}.console-task-create-dialog-file-list{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}.console-task-create-dialog-file-item{background:#161b22;border:1px solid #30363d;border-radius:6px;align-items:center;gap:8px;padding:4px 8px;display:flex}.console-task-create-dialog-file-thumbnail{object-fit:cover;border-radius:4px;flex-shrink:0;width:32px;height:32px}.console-task-create-dialog-file-name{color:#c9d1d9;text-overflow:ellipsis;white-space:nowrap;flex:1;font-size:.8125rem;overflow:hidden}.console-task-create-dialog-file-remove{color:#8b949e;cursor:pointer;background:0 0;border:none;flex-shrink:0;padding:2px 6px;font-size:.875rem;line-height:1}.console-task-create-dialog-file-remove:hover{color:#f85149}.console-task-create-dialog-file-remove:disabled{opacity:.5;cursor:not-allowed}.console-task-create-dialog-actions{justify-content:flex-end;gap:8px;margin-top:4px;display:flex}.console-task-create-dialog-submit{color:#fff;cursor:pointer;background:#238636;border:1px solid #2ea043;border-radius:6px;padding:6px 16px;font-size:.875rem;font-weight:500}.console-task-create-dialog-submit:hover:not(:disabled){background:#2ea043}.console-task-create-dialog-submit:disabled{opacity:.5;cursor:not-allowed}.console-task-create-dialog-cancel{color:#c9d1d9;cursor:pointer;background:#21262d;border:1px solid #30363d;border-radius:6px;padding:6px 16px;font-size:.875rem}.console-task-create-dialog-cancel:hover:not(:disabled){border-color:#484f58}.console-task-create-dialog-cancel:disabled{opacity:.5;cursor:not-allowed}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
<meta charset="UTF-8" />
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
6
6
|
<title>TDPM Console</title>
|
|
7
|
-
<script type="module" crossorigin src="/assets/index-
|
|
8
|
-
<link rel="stylesheet" crossorigin href="/assets/index-
|
|
7
|
+
<script type="module" crossorigin src="/assets/index-BkMICtnO.js"></script>
|
|
8
|
+
<link rel="stylesheet" crossorigin href="/assets/index-r50d3c5x.css">
|
|
9
9
|
</head>
|
|
10
10
|
<body>
|
|
11
11
|
<div id="root"></div>
|