gitifact 0.8.2 → 0.8.4
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/README.md +47 -37
- package/dist/THIRD_PARTY_NOTICES.txt +26 -0
- package/dist/browser/assets/HgiRefresh-CAJ0Xdvi.js +1 -0
- package/dist/browser/assets/{Markdown-B9QJ2Ao-.js → Markdown-ev4hMr67.js} +1 -1
- package/dist/browser/assets/Selector-CGOdL2eo.js +2 -0
- package/dist/browser/assets/Tab-BwJj0rUr.js +1 -0
- package/dist/browser/assets/{Table-LdzcI4YS.js → Table-XuC9zK9w.js} +2 -2
- package/dist/browser/assets/Token-BV_4bSkY.js +2 -0
- package/dist/browser/assets/Token-Bqkc8eyB.css +1 -0
- package/dist/browser/assets/about-vlKWfG7J.js +3 -0
- package/dist/browser/assets/activity-timeline-Dmc-97N6.js +2 -0
- package/dist/browser/assets/{appearance-DgDbwXAm.js → appearance-DyJA06C4.js} +1 -1
- package/dist/browser/assets/changelog-6QcNKW8u.js +1 -0
- package/dist/browser/assets/commit-BcdbBdP4.js +4 -0
- package/dist/browser/assets/contributor-Bs3RWHQv.js +1 -0
- package/dist/browser/assets/contributors-B_bVSY4J.js +1 -0
- package/dist/browser/assets/contributors._email-BR9sLgCs.js +1 -0
- package/dist/browser/assets/contributors.index-FoYwG7VE.js +1 -0
- package/dist/browser/assets/dashboard.index-BFp6Hqsf.js +1 -0
- package/dist/browser/assets/document-Cmx0e6kz.css +1 -0
- package/dist/browser/assets/document-DPtVyR5y.js +19 -0
- package/dist/browser/assets/document-Q3lvgyX8.js +2 -0
- package/dist/browser/assets/features-CmvypKgf.js +2 -0
- package/dist/browser/assets/features-DUHxz0_L.css +1 -0
- package/dist/browser/assets/features._featureId-xxpihTEs.js +1 -0
- package/dist/browser/assets/features.index-CO7APsrh.js +1 -0
- package/dist/browser/assets/getting-started-11zYPwlJ.js +1 -0
- package/dist/browser/assets/git-CVY8qpaV.js +1 -0
- package/dist/browser/assets/index-BeeP8ZFW.js +49 -0
- package/dist/browser/assets/index-D1JeDnJc.css +1 -0
- package/dist/browser/assets/instructions-D3-EfbZG.js +1 -0
- package/dist/browser/assets/instructions._instructionId-Bp9u9xx9.js +1 -0
- package/dist/browser/assets/instructions.agents-DvFHo8x8.js +1 -0
- package/dist/browser/assets/instructions.index-zHzGHq7D.js +1 -0
- package/dist/browser/assets/lazyRouteComponent-D4lq6X5s.js +1 -0
- package/dist/browser/assets/load-more-CymfxLt7.js +1 -0
- package/dist/browser/assets/lottie_light-DSIvQuvH.js +2 -0
- package/dist/browser/assets/page-header-CVCjLFQo.js +246 -0
- package/dist/browser/assets/{search-palette-CDmYAo36.css → page-header-DTEyUWBS.css} +1 -1
- package/dist/browser/assets/records._recordId-Be8aM0F-.js +1 -0
- package/dist/browser/assets/records.commits._commit-Dm3gX-bQ.js +1 -0
- package/dist/browser/assets/records.index-BgfJnGAl.js +1 -0
- package/dist/browser/assets/records.working-Eeag2L5N.js +1 -0
- package/dist/browser/assets/rocket-loader-CMSP4Jri.js +1 -0
- package/dist/browser/assets/settings-BNIy3TaP.js +1 -0
- package/dist/browser/assets/useInfiniteQuery-03AIcFvA.js +1 -0
- package/dist/browser/assets/useKeyboardHint-DN1hAi8g.js +1 -0
- package/dist/browser/index.html +34 -13
- package/dist/browser/licenses/rocket-in-space-lottie.txt +29 -0
- package/dist/i18n/en/block.md +4 -6
- package/dist/i18n/en/changelog.md +24 -0
- package/dist/i18n/en/docs/commit.md +1 -1
- package/dist/i18n/en/docs/workflow.md +7 -7
- package/dist/i18n/ko/block.md +4 -6
- package/dist/i18n/ko/changelog.md +24 -0
- package/dist/i18n/ko/docs/commit.md +1 -1
- package/dist/i18n/ko/docs/workflow.md +5 -5
- package/dist/main.js +411 -150
- package/package.json +1 -1
- package/dist/browser/assets/Banner-DQ1G6Jkv.js +0 -1
- package/dist/browser/assets/Selector-BlDYK5Fb.js +0 -2
- package/dist/browser/assets/Tab-BoCyIuQw.js +0 -1
- package/dist/browser/assets/Token-CYBSUyAu.js +0 -1
- package/dist/browser/assets/about-ClxCgIMf.js +0 -3
- package/dist/browser/assets/activity-timeline-i0lmNZ1o.js +0 -2
- package/dist/browser/assets/changelog-CxmMo2wk.css +0 -1
- package/dist/browser/assets/changelog-bGtJx397.js +0 -2
- package/dist/browser/assets/commit-5TIiQrYh.js +0 -4
- package/dist/browser/assets/contributor-C1R6Q471.js +0 -1
- package/dist/browser/assets/contributors-DjNETDIr.js +0 -1
- package/dist/browser/assets/contributors._email-DXxCGNZx.js +0 -1
- package/dist/browser/assets/contributors.index-ByVvGuYC.js +0 -1
- package/dist/browser/assets/dashboard-CMSj2wu3.css +0 -1
- package/dist/browser/assets/dashboard.index-RoAwRn4H.js +0 -1
- package/dist/browser/assets/document-BwoITy_-.js +0 -2
- package/dist/browser/assets/document-CwA2dxtP.js +0 -19
- package/dist/browser/assets/document-DEGaf2yT.css +0 -1
- package/dist/browser/assets/features-CttwIYBf.js +0 -2
- package/dist/browser/assets/features-ZYCEDoiE.css +0 -1
- package/dist/browser/assets/features._featureId-DPctVYNz.js +0 -1
- package/dist/browser/assets/features.index-lcNtlMn8.js +0 -1
- package/dist/browser/assets/getting-started-Chwezama.js +0 -1
- package/dist/browser/assets/git-CtsTwkaq.js +0 -1
- package/dist/browser/assets/git-D_wcK2vC.css +0 -1
- package/dist/browser/assets/index-CmU7dwFQ.css +0 -1
- package/dist/browser/assets/index-iSt1IRzY.js +0 -48
- package/dist/browser/assets/instructions-DULmclHB.js +0 -1
- package/dist/browser/assets/instructions._instructionId-CBz40hpF.js +0 -1
- package/dist/browser/assets/instructions.agents-CDpXylSu.js +0 -1
- package/dist/browser/assets/instructions.index-BZ5tCMZJ.js +0 -1
- package/dist/browser/assets/lazyRouteComponent-DhTs_UEV.js +0 -1
- package/dist/browser/assets/load-more-DxscRoh6.js +0 -1
- package/dist/browser/assets/page-header-B9LQWl7J.js +0 -1
- package/dist/browser/assets/page-header-atX8Nsmd.css +0 -1
- package/dist/browser/assets/records-Dk3shbYl.css +0 -1
- package/dist/browser/assets/records-page-B4tDip2H.css +0 -1
- package/dist/browser/assets/records-page-BjyFUmMr.js +0 -1
- package/dist/browser/assets/records._recordId-vwjWdPRX.js +0 -1
- package/dist/browser/assets/records.commits._commit-CYYgrOxv.js +0 -1
- package/dist/browser/assets/records.index-N49ep6ay.js +0 -1
- package/dist/browser/assets/records.working-CcYY8eyI.js +0 -1
- package/dist/browser/assets/request-state-BeiYxf95.js +0 -1
- package/dist/browser/assets/search-palette-BCEUlRVv.js +0 -561
- package/dist/browser/assets/settings-I5Mn86wq.js +0 -1
- package/dist/browser/assets/useInfiniteQuery-tqfloUvn.js +0 -1
- package/dist/browser/assets/useKeyboardHint-HHpn4XUs.js +0 -1
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/TimestampHoverCard-B5JBaQDZ.js","assets/rolldown-runtime-hePW80VL.js","assets/themeProps-CkLe5zXY.js","assets/Icon-DPaLmsmh.js","assets/useMediaQuery-twbHF0pO.js","assets/preload-helper-BZ1Pz5am.js","assets/IconButton-Br-4XhQr.js","assets/useIsomorphicLayoutEffect-BiEJxDg_.js","assets/HoverCard-Bpt8LVFT.js","assets/useClipboard-Cqx6Upy7.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{r as e}from"./rolldown-runtime-hePW80VL.js";import{K as t,l as n,n as r,q as i}from"./themeProps-CkLe5zXY.js";import{c as a,n as o,o as s,r as c,s as l}from"./document-DPtVyR5y.js";import{n as u}from"./useIsomorphicLayoutEffect-BiEJxDg_.js";import{D as d,F as f,M as p,V as m,bt as h,cn as g,fn as _,ft as v,ht as y,ln as ee,m as te,mt as b,p as x,pt as S,r as C,rn as w,un as T}from"./page-header-CVCjLFQo.js";import{g as E,p as D}from"./Table-XuC9zK9w.js";import{a as O}from"./useMediaQuery-twbHF0pO.js";import{C as ne,E as re,G as k,S as A,_ as j,n as ie,t as M,v as ae,w as N}from"./Icon-DPaLmsmh.js";import{t as P}from"./preload-helper-BZ1Pz5am.js";import{n as F,s as oe,t as I}from"./IconButton-Br-4XhQr.js";import{a as se,i as ce,o as le}from"./Markdown-ev4hMr67.js";import{t as L}from"./useDevWarning-Dudfg3qF.js";import{t as ue}from"./HoverCard-Bpt8LVFT.js";import{r as R,t as z}from"./Token-BV_4bSkY.js";import{n as de,t as B}from"./HgiRefresh-CAJ0Xdvi.js";var V=e(i(),1),H=n();function fe(e,t){let n=new Intl.DateTimeFormat(`en-US`,{timeZone:t,year:`numeric`,month:`2-digit`,day:`2-digit`,hour:`2-digit`,minute:`2-digit`,second:`2-digit`,hourCycle:`h23`,calendar:`gregory`}).formatToParts(new Date(e)),r=Object.fromEntries(n.filter(e=>e.type!==`literal`).map(e=>[e.type,Number(e.value)]));return{year:r.year,month:r.month,day:r.day,hour:r.hour,minute:r.minute,second:r.second}}var U={date:{month:`short`,day:`numeric`,year:`numeric`},date_long:{year:`numeric`,month:`long`,day:`numeric`},date_weekday:{weekday:`short`,month:`short`,day:`numeric`,year:`numeric`}};function W(...e){let t=e.flatMap(e=>typeof e==`string`?e.trim().split(/\s+/):[]).filter(Boolean);if(t.length!==0)return Array.from(new Set(t)).join(` `)}function pe(e,t=[],n){return{ariaLabelledBy:n?W(n.labelID,e):void 0,ariaDescribedBy:W(n?.describedByIDs,...t)}}function G(){return(0,V.use)(ae).locale}var K={warning:`warning`,error:`error`,success:`success`},q={warning:`@astryx.input.statusButton.warning`,error:`@astryx.input.statusButton.error`,success:`@astryx.input.statusButton.success`},me={statusButton:{k1xSpc:`x3nfvp2`,kGNEyG:`x6s0dn4`,kjj79g:`xl56j7k`,kmVPX3:`x1717udv`,kogj98:`x1ghz6dp`,kMwMTN:`x1heor9g`,kkrTdU:`x1ypdohk x16khyan`,kfzvcC:`x67bb7w`,kaIpWk:`xjspbzw`,kInvED:`x7s97pk`,$$css:!0}};function he({status:e,statusVariant:n=`attached`,isInGroup:i=!1,size:a=`md`}){let o=j(),s=n===`tooltip`&&!!e?.message,[c,l]=(0,V.useState)(void 0),d=u({placement:`above`,isEnabled:s,isOpen:c}),f=(0,V.useCallback)(()=>{l(void 0)},[]),p=(0,V.useCallback)(()=>{typeof window>`u`||typeof window.matchMedia!=`function`||!window.matchMedia(`(hover: none)`).matches||l(e=>e!==!0)},[]);if((0,V.useEffect)(()=>{if(c!==!0)return;let e=e=>{e.key===`Escape`&&l(void 0)};return document.addEventListener(`keydown`,e),()=>document.removeEventListener(`keydown`,e)},[c]),!e||i||n===`detached`)return{statusIcon:null,describedBy:void 0};let m=(0,H.jsx)(M,{icon:K[e.type],size:a,color:e.type,...r(`input-status-icon`,{size:a,status:e.type})});return s?{statusIcon:(0,H.jsxs)(H.Fragment,{children:[(0,H.jsx)(`button`,{type:`button`,ref:d.ref,"aria-label":o(q[e.type]),"aria-describedby":d.describedBy,onClick:p,onBlur:f,...t(k.focusVisible,me.statusButton),children:m}),d.renderTooltip(e.message)]}),describedBy:d.describedBy}:{statusIcon:m,describedBy:void 0}}var ge=[[`path`,{d:`M9 14L11 16L15 12`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M8.00002 4L8 4.99997C7.99998 5.94279 7.99998 6.4142 8.29287 6.7071C8.58577 7 9.05718 7 10 7L14 7C14.9428 7 15.4142 7 15.7071 6.70711C16 6.41421 16 5.94281 16 5V4`,stroke:`currentColor`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}],[`path`,{d:`M14.45 4L13.7149 4.1492C13.7853 4.49569 14.088 4.746 14.4416 4.74995L14.45 4ZM9.54997 4L9.55835 4.74995C9.91188 4.746 10.2146 4.49569 10.285 4.1492L9.54997 4ZM19.1213 4.87868L19.6517 4.34835L19.6517 4.34835L19.1213 4.87868ZM19.1213 21.1213L19.6517 21.6517V21.6517L19.1213 21.1213ZM16 4.01732L16.0226 3.26766C16.0179 3.26752 16.0131 3.26742 16.0084 3.26737L16 4.01732ZM4.87868 4.87868L5.40901 5.40901V5.40901L4.87868 4.87868ZM8 4.01732L7.99162 3.26737C7.98688 3.26742 7.98215 3.26752 7.97741 3.26766L8 4.01732ZM14.45 4L15.185 3.8508C14.8838 2.36703 13.5732 1.25 12 1.25V2V2.75C12.8457 2.75 13.5529 3.35073 13.7149 4.1492L14.45 4ZM12 2V1.25C10.4268 1.25 9.11615 2.36703 8.81496 3.8508L9.54997 4L10.285 4.1492C10.4471 3.35073 11.1542 2.75 12 2.75V2ZM20 10H20.75C20.75 8.60699 20.7516 7.48678 20.6335 6.60825C20.5125 5.70814 20.2536 4.95027 19.6517 4.34835L19.1213 4.87868L18.591 5.40901C18.8678 5.68577 19.0482 6.07435 19.1469 6.80812C19.2484 7.56347 19.25 8.56458 19.25 10H20ZM20 16H20.75V10H20H19.25V16H20ZM20 16H19.25C19.25 17.4354 19.2484 18.4365 19.1469 19.1919C19.0482 19.9257 18.8678 20.3142 18.591 20.591L19.1213 21.1213L19.6517 21.6517C20.2536 21.0497 20.5125 20.2919 20.6335 19.3918C20.7516 18.5132 20.75 17.393 20.75 16H20ZM14 22V22.75C15.393 22.75 16.5132 22.7516 17.3918 22.6335C18.2919 22.5125 19.0497 22.2536 19.6517 21.6517L19.1213 21.1213L18.591 20.591C18.3142 20.8678 17.9257 21.0482 17.1919 21.1469C16.4365 21.2484 15.4354 21.25 14 21.25V22ZM16 4.01732L15.9774 4.76698C17.5421 4.81413 18.1804 4.99842 18.591 5.40901L19.1213 4.87868L19.6517 4.34835C18.7796 3.47633 17.5648 3.31413 16.0226 3.26766L16 4.01732ZM10 22V22.75H14V22V21.25H10V22ZM10 22V21.25C8.56458 21.25 7.56347 21.2484 6.80812 21.1469C6.07434 21.0482 5.68577 20.8678 5.40901 20.591L4.87868 21.1213L4.34835 21.6517C4.95027 22.2536 5.70814 22.5125 6.60825 22.6335C7.48678 22.7516 8.60699 22.75 10 22.75V22ZM4 16H3.25C3.25 17.393 3.24841 18.5132 3.36652 19.3918C3.48754 20.2919 3.74643 21.0497 4.34835 21.6517L4.87868 21.1213L5.40901 20.591C5.13225 20.3142 4.9518 19.9257 4.85315 19.1919C4.75159 18.4365 4.75 17.4354 4.75 16H4ZM4 10H4.75C4.75 8.56458 4.75159 7.56347 4.85315 6.80812C4.9518 6.07435 5.13225 5.68577 5.40901 5.40901L4.87868 4.87868L4.34835 4.34835C3.74643 4.95027 3.48754 5.70814 3.36652 6.60825C3.24841 7.48678 3.25 8.60699 3.25 10H4ZM8 4.01732L7.97741 3.26766C6.43521 3.31413 5.22037 3.47633 4.34835 4.34835L4.87868 4.87868L5.40901 5.40901C5.8196 4.99842 6.4579 4.81413 8.02259 4.76698L8 4.01732ZM4 10H3.25V16H4H4.75V10H4ZM8 4.01732L8.00838 4.76728L9.55835 4.74995L9.54997 4L9.54159 3.25005L7.99162 3.26737L8 4.01732ZM16 4.01732L16.0084 3.26737L14.4583 3.25005L14.45 4L14.4416 4.74995L15.9916 4.76728L16 4.01732Z`,fill:`currentColor`,key:`2`}]],_e={base:{kB7OPa:`x9f619`,kVAEAm:`x1n2onr6`,kY2c9j:`x1vjfegm`,k1xSpc:`x78zum5`,kGNEyG:`x6s0dn4`,kOIVth:`x1txdalj`,k8WAf4:`xu0wf1k`,kg3NbH:`xf314gf`,kMzoRj:`x1litavf`,ksu8eU:`x1y0btm7`,kVAM5u:`xvy26l8 x6q1khz`,"--_field-radius":`x1832zxr`,kaIpWk:`xvdfih8`,kWkggS:`x10xzikg`,k1ekBW:`x12zzom9`,kIyJzY:`xuedmi6 x12w9bfk`,kAMwcw:`xlr8y92`,kGVxlE:`x1gnnqk1 x1xqjsvb xuihb5h`,kI3sdo:`x1a2a7pz`,$$css:!0},disabled:{kkrTdU:`xt0e3qv`,kSiTet:`xbyyjgo`,kVAM5u:`xvy26l8`,kGVxlE:`x1gnnqk1`,$$css:!0}},ve={warning:{kVAM5u:`x8wg1ba`,$$css:!0},error:{kVAM5u:`x1ofxpqo`,$$css:!0},success:{kVAM5u:`x16m2moy`,$$css:!0}},ye={warning:{kGVxlE:`x1gnnqk1 x9156jc`,$$css:!0},error:{kGVxlE:`x1gnnqk1 x1bgmis8`,$$css:!0},success:{kGVxlE:`x1gnnqk1 x8wp45d`,$$css:!0}},be={warning:{kVAM5u:`x8wg1ba xa1yw2k`,$$css:!0},error:{kVAM5u:`x1ofxpqo xk2sxw7`,$$css:!0},success:{kVAM5u:`x16m2moy xyq33ac`,$$css:!0}},xe={button:{kZKoxP:`x1qx5ct2`,kmuXW:`x2lah0s`,kVAEAm:`x1n2onr6`,"--_input-clear-hit-inset":`xtoycft x181bpwf`,"--_input-clear-hit-content":`xqxtgf4 xp8r40j`,k5JduY:`xh3pasq`,kwXMNM:`x1j6awrg`,kv0HGH:`xht581f`,$$css:!0}};function Se({label:e,onClick:t,onPointerDown:n,onClickCapture:i,xstyle:a,iconClassName:o}){let{className:s}=r(`input-clear-icon`),{className:c}=r(`input-clear-button`);return(0,H.jsx)(F,{variant:`ghost`,size:`sm`,label:e,className:c,icon:(0,H.jsx)(M,{icon:`close`,size:`sm`,color:`secondary`,className:o==null?s:`${s} ${o}`}),onClick:t,onPointerDown:n,onClickCapture:i,isIconOnly:!0,xstyle:[xe.button,a]})}function Ce(e){return Se(e)}function we(e){return Se(e)}Ce.displayName=`InputClearButton`;var Te={inGroup:{kUk6DE:`x98rzlu`,k7Eaqz:`xeuugli`,kZKoxP:`x5yr21d`,keTefX:`xd10s4z x1pwwqoy`,krdFHd:`x15mokao x8eehn2`,kVL7Gh:`xbiv7yw x1xrp5p4`,kfmiAY:`x1ga7v0g x1tzxhge`,kT0f0o:`x16uus16 x1rmb4wm`,kXnDq0:`x1rm9qnc`,$$css:!0}},Ee=(0,V.createContext)(null);Ee.displayName=`InputGroupContext`;function De(){return(0,V.use)(Ee)}var Oe={sm:{kZKoxP:`x6k0iem`,$$css:!0},md:{kZKoxP:`x1ueg155`,$$css:!0},lg:{kZKoxP:`xssyfek`,$$css:!0}};function ke({type:e=`text`,label:n,isLabelHidden:i=!1,description:a,isOptional:o=!1,isRequired:s=!1,isDisabled:c=!1,isReadOnly:l=!1,disabledMessage:d,startIcon:f,status:p,statusVariant:m=`attached`,size:h,onChange:g,changeAction:_,isLoading:v=!1,value:y,placeholder:ee,labelTooltip:te,hasClear:b=!1,hasAutoFocus:x=!1,htmlName:S,onEnter:C,onKeyDown:w,width:T,xstyle:E,className:D,style:k,ref:M,...ae}){let N=j(),P=ce({isRequired:s,isOptional:o}),F=A(h,`md`),I=(0,V.useId)(),L=(0,V.useId)(),ue=(0,V.useId)(),R=(0,V.useId)(),z=(0,V.useRef)(null),de=(0,V.useRef)(null),B=De(),[,fe]=(0,V.useTransition)(),[U,W]=(0,V.useOptimistic)(y),G=v||U!==y,K=c&&!!d,q=u({placement:`above`,focusTrigger:`always`,isEnabled:K}),{statusIcon:me,describedBy:ge}=he({status:p,statusVariant:m,isInGroup:!!B}),{ariaLabelledBy:xe,ariaDescribedBy:Se}=pe(L,[a?ue:null,!B&&m!==`tooltip`&&p?.message?R:null,ge,K?q.describedBy:null],B),we=e=>{if(c||l)return;let t=e.target.value;g?.(t,e),_&&!e.defaultPrevented&&fe(async()=>{W(t),await _(t,e)})},Ee=(0,V.useCallback)(()=>{g?.(``,null),z.current?.focus()},[g]),{onClick:ke,onMouseUp:J}=le({containerRef:de,inputRef:z,disabled:c}),Ae=(0,H.jsxs)(`div`,{ref:e=>{de.current=e,q.ref(e)},onClick:ke,onMouseUp:J,...O(r(`text-input`,{size:F,status:p?.type??null,disabled:c?`disabled`:null,readonly:l?`readonly`:null}),t(_e.base,Oe[F],c&&_e.disabled,p&&ve[p.type],p&&!c&&ye[p.type],p&&be[p.type],B&&Te.inGroup,E),D,k),children:[f&&ie(f,{size:`sm`,color:`secondary`}),B&&(0,H.jsx)(oe,{id:L,children:n}),(0,H.jsx)(`input`,{...ae,ref:re(M,z),id:I,name:c?void 0:S,type:e,value:U,onChange:we,onKeyDown:C||w?e=>{e.key===`Enter`&&C?.(),w?.(e)}:void 0,placeholder:ee,disabled:c&&!K,"aria-disabled":K?`true`:void 0,readOnly:l||K||void 0,autoFocus:x,"data-autofocus":x||void 0,"aria-describedby":Se,"aria-required":P?`true`:void 0,"aria-invalid":p?.type===`error`?`true`:void 0,"aria-busy":G||void 0,"aria-labelledby":xe,...{0:{className:`x1lliihq x98rzlu xeuugli xc342km xng3xce x1717udv x9ynric xjm74w1 x6pjikd xw6l6zx x1tgivj0 xjbqb8w x1a2a7pz xeyghm5`},1:{className:`x1lliihq x98rzlu xeuugli xc342km xng3xce x1717udv x9ynric xjm74w1 x6pjikd xw6l6zx x1tgivj0 xjbqb8w x1a2a7pz xeyghm5 xt0e3qv`}}[!!c<<0]}),b&&y!==``&&!c&&!l&&(0,H.jsx)(Ce,{label:N(`@astryx.textInput.clearLabel`,{label:n}),onClick:Ee}),G&&(0,H.jsx)(ne,{size:`sm`}),me]});return B?(0,H.jsxs)(H.Fragment,{children:[Ae,K&&q.renderTooltip(d)]}):(0,H.jsxs)(se,{label:n,isLabelHidden:i,description:a,inputID:I,descriptionID:a?ue:void 0,isOptional:o,isRequired:s,isDisabled:c,status:p?{type:p.type,message:p.message,messageID:p.message?R:void 0}:void 0,statusVariant:m,labelTooltip:te,width:T,children:[Ae,K&&q.renderTooltip(d)]})}ke.displayName=`TextInput`;var J={page:`_page_otq4r_3`,content:`_content_otq4r_5`,reveal:`_reveal_otq4r_1`,column:`_column_otq4r_10`,pageTitle:`_pageTitle_otq4r_11`,filters:`_filters_otq4r_12`,filtersSticky:`_filtersSticky_otq4r_13`,entryBody:`_entryBody_otq4r_15`,headerActions:`_headerActions_otq4r_17`,headerTime:`_headerTime_otq4r_22`,wide:`_wide_otq4r_30`,staleNotice:`_staleNotice_otq4r_33`},Ae=[[`circle`,{cx:`12`,cy:`12`,r:`10`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M9.5 9.5C9.5 8.11929 10.6193 7 12 7C13.3807 7 14.5 8.11929 14.5 9.5C14.5 10.3569 14.0689 11.1131 13.4117 11.5636C12.7283 12.0319 12 12.6716 12 13.5`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}],[`path`,{d:`M12.125 16.75H12M12.25 16.75C12.25 16.8881 12.1381 17 12 17C11.8619 17 11.75 16.8881 11.75 16.75C11.75 16.6119 11.8619 16.5 12 16.5C12.1381 16.5 12.25 16.6119 12.25 16.75Z`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`2`}]];function je({size:e=16}){return(0,H.jsx)(S,{data:Ae,size:e})}var Me={helpCard:`_helpCard_wqyxv_1`};function Ne({title:e,description:t}){_();let[n,r]=(0,V.useState)(!1),[i,a]=(0,V.useState)(!1),[o,s]=(0,V.useState)(!1),c=!o&&(i||n),l=(0,V.useRef)(null);(0,V.useEffect)(()=>{if(!c)return;let e=()=>{a(!1),r(!1)},t=t=>{let n=t.target;if(!(n instanceof Node)||l.current?.contains(n))return;let r=l.current?.getAttribute(`aria-controls`);r&&document.getElementById(r)?.contains(n)||e()},n=t=>{t.key===`Escape`&&(e(),s(!0))};return document.addEventListener(`pointerdown`,t,!0),document.addEventListener(`keydown`,n),()=>{document.removeEventListener(`pointerdown`,t,!0),document.removeEventListener(`keydown`,n)}},[c]);let u=(0,V.useRef)(void 0),d=(e,t)=>{clearTimeout(u.current),u.current=setTimeout(()=>r(e),t)};return(0,V.useEffect)(()=>()=>clearTimeout(u.current),[]),(0,H.jsx)(ue,{label:e,content:(0,H.jsx)(N,{children:t}),className:Me.helpCard,placement:`below`,alignment:`start`,touchTrigger:`none`,focusTrigger:`never`,hasHoverIndication:!1,isOpen:c,children:(0,H.jsx)(I,{ref:l,label:g(`common.description`,{title:e}),icon:(0,H.jsx)(je,{}),variant:`ghost`,size:`sm`,onClick:()=>{i?(a(!1),s(!0)):(a(!0),s(!1))},onMouseEnter:()=>d(!0,150),onMouseLeave:()=>{s(!1),d(!1,150)},onFocus:()=>d(!0,0),onBlur:()=>d(!1,0)})})}function Pe(e,t,n){let r=v(),[i,a]=(0,V.useState)(void 0);return(0,V.useEffect)(()=>{a(void 0)},[n]),(0,V.useEffect)(()=>{if(t===void 0)return;let n=!1,i=()=>{document.visibilityState===`visible`&&r.fetchQuery(d(e)).then(e=>{n||a(e.stamp)},()=>void 0)};return document.addEventListener(`visibilitychange`,i),window.addEventListener(`focus`,i),()=>{n=!0,document.removeEventListener(`visibilitychange`,i),window.removeEventListener(`focus`,i)}},[r,e,t]),t!==void 0&&i!==void 0&&i!==t}function Fe({isRefreshing:e,onRefresh:t}){return _(),(0,H.jsx)(de,{status:`info`,title:g(`stale.title`),description:g(`stale.description`),endContent:(0,H.jsx)(F,{label:g(`common.refresh`),isDisabled:e,onClick:t})})}function Ie(e){let t=m(p());return!t.data||t.error?(0,H.jsx)(R,{error:t.error,retry:()=>{t.refetch()}}):(0,H.jsx)(Le,{session:t.data,...e},t.data.sessionId)}function Le({session:e,header:t,title:n,description:r,root:i,trail:a,hasTitle:s,isWide:c=!1,filters:l,children:u}){_();let d=m(x(e)),p=v(),h=new Set([...te,`browser-working`,`browser-working-change`]),S=()=>{d.refetch(),p.invalidateQueries({predicate:e=>h.has(String(e.queryKey[0]))})},C=Pe(e,d.data?.stamp,d.dataUpdatedAt),E=d.error instanceof f&&d.error.code===`SESSION_CHANGED`,D=E?void 0:d.data,O=!!D,ne=[{label:n,to:i},...D&&a?a(D):[]],re=(0,H.jsxs)(b,{gap:3,className:J.headerActions,children:[D&&(0,H.jsx)(N,{type:`supporting`,color:`secondary`,className:J.headerTime,children:ee(`header.observedAt`,{time:(0,H.jsx)(`time`,{dateTime:D.observedAt,children:new Date(D.observedAt).toLocaleString(T())})})}),(0,H.jsx)(I,{label:g(`common.refresh`),icon:(0,H.jsx)(B,{}),variant:`ghost`,size:`sm`,isLoading:d.isFetching,isDisabled:d.isFetching,onClick:S})]});return(0,H.jsxs)(y,{gap:0,className:J.page,children:[(0,H.jsx)(t,{trail:ne,actions:re}),(0,H.jsxs)(y,{gap:0,className:c?`${J.column} ${J.wide}`:J.column,children:[s&&(0,H.jsxs)(b,{gap:2,vAlign:`center`,className:J.pageTitle,children:[(0,H.jsx)(w,{level:1,children:n}),r&&(0,H.jsx)(Ne,{title:n,description:r})]}),C&&D&&(0,H.jsx)(y,{gap:0,className:J.staleNotice,children:(0,H.jsx)(Fe,{isRefreshing:d.isFetching,onRefresh:S})}),d.error&&D&&(0,H.jsxs)(y,{padding:4,role:`alert`,children:[(0,H.jsx)(N,{children:d.error.message}),(0,H.jsx)(N,{children:g(`history.staleData`)})]}),!D&&d.error&&(0,H.jsx)(R,{error:d.error,retry:()=>{E?window.location.reload():d.refetch()}}),O&&l&&(0,H.jsx)(b,{gap:3,wrap:`wrap`,className:`${J.filters} ${J.filtersSticky}`,children:l(D)}),O&&(0,H.jsx)(y,{gap:3,className:J.content,children:(0,H.jsx)(o,{index:D.index,children:u({checkout:D,session:e})})})]})]})}var Re=[[`path`,{d:`M8 7L16 7`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M8 11L12 11`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}],[`path`,{d:`M13 21.5V21C13 18.1716 13 16.7574 13.8787 15.8787C14.7574 15 16.1716 15 19 15H19.5M20 13.3431V10C20 6.22876 20 4.34315 18.8284 3.17157C17.6569 2 15.7712 2 12 2C8.22877 2 6.34315 2 5.17157 3.17157C4 4.34314 4 6.22876 4 10L4 14.5442C4 17.7892 4 19.4117 4.88607 20.5107C5.06508 20.7327 5.26731 20.9349 5.48933 21.1139C6.58831 22 8.21082 22 11.4558 22C12.1614 22 12.5141 22 12.8372 21.886C12.9044 21.8623 12.9702 21.835 13.0345 21.8043C13.3436 21.6564 13.593 21.407 14.0919 20.9081L18.8284 16.1716C19.4065 15.5935 19.6955 15.3045 19.8478 14.9369C20 14.5694 20 14.1606 20 13.3431Z`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`2`}]],ze=[[`path`,{d:`M19 17L19 11C19 8.17157 19 6.75736 18.1213 5.87868C17.2426 5 15.8284 5 13 5H10M10 5C10 4.29977 11.9943 2.99153 12.5 2.5M10 5C10 5.70023 11.9943 7.00847 12.5 7.5`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M5 7.5L5 13.5C5 16.3284 5 17.7426 5.87868 18.6213C6.75736 19.5 8.17157 19.5 11 19.5H14M14 19.5C14 20.2002 12.0057 21.5085 11.5 22M14 19.5C14 18.7998 12.0057 17.4915 11.5 17`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}],[`circle`,{cx:`19`,cy:`19`,r:`2`,stroke:`currentColor`,strokeWidth:`1.5`,key:`2`}],[`circle`,{cx:`5`,cy:`5`,r:`2`,stroke:`currentColor`,strokeWidth:`1.5`,key:`3`}]],Be=[[`path`,{d:`M20 21.0001C19.713 17.269 16.7289 14.3151 12.995 14.0662L12 13.9999C11.6446 14.0096 11.3134 14.0225 11.0008 14.0378C7.3 14.2192 4.28417 17.3057 4 21.0001`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}],[`circle`,{cx:`12`,cy:`6.99988`,r:`4`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}]],Ve=[[`path`,{d:`M15.2141 5.98239L16.6158 4.58063C17.39 3.80646 18.6452 3.80646 19.4194 4.58063C20.1935 5.3548 20.1935 6.60998 19.4194 7.38415L18.0176 8.78591M15.2141 5.98239L6.98023 14.2163C5.93493 15.2616 5.41226 15.7842 5.05637 16.4211C4.70047 17.058 4.3424 18.5619 4 20C5.43809 19.6576 6.94199 19.2995 7.57889 18.9436C8.21579 18.5877 8.73844 18.0651 9.78375 17.0198L18.0176 8.78591M15.2141 5.98239L18.0176 8.78591`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M11 20H17`,stroke:`currentColor`,strokeLinecap:`round`,strokeWidth:`1.5`,key:`1`}]];function Y(e){return function(t){return(0,H.jsx)(`svg`,{viewBox:`0 0 24 24`,fill:`none`,"aria-hidden":`true`,focusable:`false`,...t,children:e.map(([e,t],n)=>(0,V.createElement)(e,{...t,key:n}))})}}var He=Y(C),Ue=Y(ge),We=Y(Re),Ge=Y(ze),Ke=Y(Be),qe=Y(Ve);function Je({label:e,placeholder:t,value:n,onChange:r}){let[i,a]=(0,V.useState)(n),o=(0,V.useRef)(n),s=(0,V.useRef)([]),c=(0,V.useRef)(void 0);return(0,V.useEffect)(()=>()=>{clearTimeout(c.current)},[]),(0,V.useEffect)(()=>{if(n===o.current){s.current=[];return}let e=s.current.indexOf(n);if(e>=0){s.current.splice(0,e+1);return}s.current=[],o.current=n,a(n)},[n]),(0,H.jsx)(ke,{label:e,isLabelHidden:!0,placeholder:t,value:i,startIcon:He,hasClear:!0,onChange:e=>{o.current=e,a(e),clearTimeout(c.current),c.current=setTimeout(()=>{s.current.push(e),r(e)},500)}})}var Ye={year:`numeric`,month:`long`,day:`numeric`,hour:`numeric`,minute:`2-digit`,second:`2-digit`,timeZoneName:`short`},Xe={hour:`numeric`,minute:`2-digit`},Ze={year:`numeric`,month:`short`,day:`numeric`,...Xe};function X(e){return String(e).padStart(2,`0`)}function Qe(e,t){return t===void 0?{year:e.getFullYear(),month:e.getMonth()+1,day:e.getDate(),hour:e.getHours(),minute:e.getMinutes(),second:e.getSeconds()}:fe(e.getTime(),t)}function Z(e,t,n,{timeZone:r,isTimezoneShown:i=!1,timeZoneNameStyle:a=`short`}={}){let o=r===void 0?{}:{timeZone:r},s=i?{timeZoneName:`short`}:{};switch(t){case`full`:return new Intl.DateTimeFormat(n,{...Ye,timeZoneName:a,...o,calendar:`gregory`}).format(e);case`date`:return new Intl.DateTimeFormat(n,{...U.date,...o,calendar:`gregory`}).format(e);case`date_long`:return new Intl.DateTimeFormat(n,{...U.date_long,...o,calendar:`gregory`}).format(e);case`date_weekday`:return new Intl.DateTimeFormat(n,{...U.date_weekday,...o,calendar:`gregory`}).format(e);case`date_time`:return new Intl.DateTimeFormat(n,{...Ze,...s,...o,calendar:`gregory`}).format(e);case`time`:return new Intl.DateTimeFormat(n,{...Xe,...s,...o}).format(e);case`system_date`:{let t=Qe(e,r);return`${t.year}-${X(t.month)}-${X(t.day)}`}case`system_date_time`:{let t=Qe(e,r);return`${t.year}-${X(t.month)}-${X(t.day)} ${X(t.hour)}:${X(t.minute)}:${X(t.second)}`}case`system_time`:{let t=Qe(e,r);return`${X(t.hour)}:${X(t.minute)}:${X(t.second)}`}case`unix_seconds`:return String(Math.floor(e.getTime()/1e3))}}var $e=60,et=3600,Q=86400,tt=30*Q,nt=365*Q,rt=30,it=new Map;function at(e,t,n){let r=JSON.stringify([e,t,n]),i=it.get(r);return i??(i=new Intl.RelativeTimeFormat(e,{numeric:n,style:t}),it.set(r,i)),i}function ot(e,t,n,r){let i=Math.round((t.getTime()-e.getTime())/1e3),a=Math.abs(i);if(a<10||i<0&&a<=rt)return at(n,r,`auto`).format(0,`second`);let o,s;a<$e?(o=a,s=`second`):a<et?(o=Math.floor(a/$e),s=`minute`):a<Q?(o=Math.floor(a/et),s=`hour`):a<tt?(o=Math.floor(a/Q),s=`day`):a<nt?(o=Math.floor(a/tt),s=`month`):(o=Math.floor(a/nt),s=`year`);let c=i<0?o:-o;return at(n,r,r===`long`&&s===`day`&&c===-1?`auto`:`always`).format(c,s)}var st=`local`,ct=new Set;function lt(e){if(e!==void 0&&e.toLowerCase()!==st){try{new Intl.DateTimeFormat(`en-US`,{timeZone:e})}catch{ct.has(e)||(ct.add(e),`${JSON.stringify(e)}`);return}return e}}function ut(e){return e===void 0?st:e.toLowerCase()}function dt(e,t,n){return e===`full`?!0:e===`date_time`||e===`time`?t||n:!1}function ft(e,t,n){let r=t.map(e=>lt(e.timezoneID)),i=new Set(r.map(ut)).size>1;return t.map((t,a)=>{let o=t.format??`full`,s=r[a];return{...t.label===void 0?{}:{label:t.label},isCopyable:t.isCopyable??!1,value:Z(e,o,n,{timeZone:s,isTimezoneShown:dt(o,i,s!==void 0)})}})}var pt=(0,V.lazy)(async()=>P(()=>import(`./TimestampHoverCard-B5JBaQDZ.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9]))),mt=60,ht=3600,gt=86400,_t=7*gt;function vt(e){return typeof e==`number`?new Date(e<0xe8d4a51000?e*1e3:e):new Date(e)}function yt(e){let t=Math.abs(e);return t<mt?1e3:t<ht?3e4:t<gt?6e4:3e5}function bt(e){return e!==`relative`&&e!==`relative_short`&&e!==`auto`}function xt(e){return e===`relative`||e===`relative_short`}function St({value:e,format:t=`auto`,autoThreshold:n=_t,hasTooltip:i=!0,tooltipEntries:a,isTimezoneShown:o=!1,isLive:s=!1,type:c=`supporting`,size:l,color:u=`secondary`,weight:d,xstyle:f,className:p,style:m,ref:h,"data-testid":g,..._}){let v=j(),y=G(),ee=(0,V.useRef)(null),te=re(h,ee),[b,x]=(0,V.useState)(()=>new Date),S=vt(e),C=!Number.isNaN(S.getTime()),w=C?S.toISOString():``,T=Math.round((b.getTime()-S.getTime())/1e3),E=t===`auto`?Math.abs(T)<=n?`relative`:`date_time`:t,D=C?E===`relative`?ot(S,b,y,`long`):E===`relative_short`?ot(S,b,y,`narrow`):bt(E)?Z(S,E,y,{isTimezoneShown:o}):``:``,ne=C?Z(S,`full`,y):``,k=C?Z(S,`full`,y,{timeZoneNameStyle:`long`}):``;if((0,V.useEffect)(()=>{if(!s||!C||!xt(E))return;let e=yt(T),t=setInterval(()=>{x(new Date)},e);return()=>clearInterval(t)},[s,C,E,T]),L(`Timestamp`,`could not parse value ${JSON.stringify(e)} as a date. Rendering nothing.`,!C),!C)return null;let A=a!==void 0&&a.length>0?a:void 0,ie=i&&(xt(E)||A!==void 0),M=A===void 0?[{value:ne,isCopyable:!0}]:ft(S,A,y),ae=O(r(`timestamp`,{format:E}),{className:p,style:m}),P=(0,H.jsx)(N,{type:c,size:l,color:u,weight:d,xstyle:f,...ae,children:(0,H.jsx)(`time`,{ref:te,dateTime:w,"data-testid":g,className:`xt0psk2 xjb2p0i x1j61x8r x1qlqyl8 x15bjb6t x1heor9g x1pd3egz`,..._,...xt(E)&&k!==``?{"aria-label":k}:{},...ie?{tabIndex:0}:{},children:D})});return ie?(0,H.jsx)(V.Suspense,{fallback:P,children:(0,H.jsx)(pt,{lines:M,label:v(`@astryx.timestamp.detailsLabel`),children:P})}):P}St.displayName=`Timestamp`;var Ct={related:`_related_zz4ck_2`};function wt({label:e,children:t}){return(0,H.jsxs)(y,{as:`section`,gap:1,"aria-label":e,className:Ct.related,children:[(0,H.jsx)(N,{type:`supporting`,color:`secondary`,children:e}),(0,H.jsx)(E,{density:`compact`,children:t})]})}function $({title:e,description:t}){return(0,H.jsx)(D,{label:e,...t?{description:typeof t==`string`?(0,H.jsx)(N,{type:`supporting`,color:`secondary`,children:t}):t}:{}})}var Tt={titleMark:`_titleMark_w8ln4_2`,relations:`_relations_w8ln4_4`};function Et({sources:e,path:t}){_();let n=l();return(0,H.jsx)(wt,{label:g(`design.sources`),children:e.map((e,r)=>{let i=e.url?a(e.url,t,n):e.path?a(Ot(t,e.path),t,n):{kind:`missing`,path:e.id??``},o=i.kind===`external`?Dt(i.href):i.kind===`instruction`?i.path.replace(/^\.gitifact\//,``):i.kind===`agents`?i.path:i.kind===`missing`?g(`link.missing`,{path:i.path}):i.kind===`outside`?i.path:``;return(0,H.jsx)($,{title:(0,H.jsx)(s,{link:i,children:e.title??e.id}),description:(e.note||o)&&(0,H.jsxs)(b,{gap:2,wrap:`wrap`,children:[e.note&&(0,H.jsx)(N,{type:`supporting`,color:`secondary`,children:e.note}),o&&(0,H.jsx)(N,{type:`supporting`,color:`secondary`,children:o})]})},r)})})}var Dt=e=>{try{return new URL(e).hostname}catch{return e}};function Ot(e,t){let n=e.split(`/`).slice(0,-1),r=t.split(`/`),i=0;for(;i<n.length&&i<r.length-1&&n[i]===r[i];)i++;return[...Array(n.length-i).fill(`..`),...r.slice(i)].join(`/`)}function kt({design:e,path:t,features:n,eyebrow:r,footer:i}){_();let a=e.requirements??[];return(0,H.jsxs)(y,{gap:4,children:[(0,H.jsxs)(y,{gap:2,children:[r,(0,H.jsx)(w,{level:3,children:(0,H.jsx)(`mark`,{className:Tt.titleMark,children:e.title})}),e.description&&(0,H.jsx)(N,{type:`supporting`,color:`secondary`,children:e.description})]}),(0,H.jsx)(c,{headingLevelStart:4,path:t,children:e.body}),(!!a.length||!!e.sources?.length||i)&&(0,H.jsxs)(y,{gap:4,className:Tt.relations,children:[!!a.length&&(0,H.jsx)(wt,{label:g(`design.relatedRequirements`),children:a.map(e=>{let t=n.find(t=>t.requirements.some(t=>t.id===e)),r=t?.requirements.find(t=>t.id===e);return t&&r?(0,H.jsx)($,{title:(0,H.jsx)(h,{to:`/features/$featureId`,params:{featureId:t.id},search:{selected:e,tab:`requirements`},hash:e,children:r.title}),description:r.description},e):(0,H.jsx)($,{title:(0,H.jsx)(N,{color:`secondary`,children:g(`design.missingRequirement`,{id:e})})},e)})}),!!e.sources?.length&&(0,H.jsx)(Et,{sources:e.sources,path:t}),i]})]})}var At={feature:`default`,requirement:`teal`,design:`orange`,wiki:`pink`,instruction:`cyan`};function jt({kind:e}){_();let t={feature:g(`kind.feature`),requirement:g(`kind.requirement`),design:g(`kind.design`),wiki:g(`kind.wiki`),instruction:g(`kind.instruction`)};return(0,H.jsx)(z,{label:t[e],color:At[e],size:`sm`})}var Mt={badge:`_badge_sibhz_3`,"#":`_#_sibhz_1`},Nt={created:`green`,modified:`blue`,deleted:`red`,moved:`purple`},Pt=e=>e.types.includes(`deleted`)?`deleted`:e.types.includes(`modified`)?`modified`:e.types.includes(`moved`)?`moved`:`created`;function Ft({event:e}){_();let t={created:g(`change.created`),modified:g(`change.modified`),deleted:g(`change.deleted`),moved:g(`change.moved`)};return(0,H.jsxs)(`span`,{className:Mt.badge,children:[(0,H.jsx)(z,{label:e.types.map(e=>t[e]).join(` · `),color:Nt[Pt(e)],size:`sm`}),(0,H.jsx)(jt,{kind:e.kind})]})}var It={added:`green`,modified:`blue`,deleted:`red`};function Lt({state:e}){if(_(),e===`committed`)return null;let t={added:g(`state.added`),modified:g(`state.modified`),deleted:g(`state.deleted`)};return(0,H.jsx)(z,{label:t[e],color:It[e],size:`sm`})}export{ge as C,_e as S,Te as _,$ as a,ve as b,Je as c,We as d,Ue as f,De as g,Ie as h,kt as i,Ge as l,Re as m,Ft as n,wt as o,Ke as p,jt as r,St as s,Lt as t,qe as u,Ce as v,pe as w,ye as x,we as y};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/ProgressBarMarkTooltip-BxGSd9KS.js","assets/themeProps-CkLe5zXY.js","assets/rolldown-runtime-hePW80VL.js","assets/Tooltip-MoU3alsv.js","assets/useIsomorphicLayoutEffect-BiEJxDg_.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{r as e}from"./rolldown-runtime-hePW80VL.js";import{K as t,W as n,l as r,n as i,q as a}from"./themeProps-CkLe5zXY.js";import{a as o,r as s}from"./document-DPtVyR5y.js";import{t as c}from"./useIsomorphicLayoutEffect-BiEJxDg_.js";import{F as l,S as u,V as d,a as f,bt as p,cn as m,fn as h,ht as g,l as _,mt as v,nt as y,on as b,rn as x,t as S,u as C,vt as w,x as T}from"./page-header-CVCjLFQo.js";import{a as E,c as ee,h as D,i as O,o as k,p as te,s as ne,t as A,u as re}from"./document-Q3lvgyX8.js";import{d as j,f as ie,o as ae,t as oe}from"./Table-XuC9zK9w.js";import{a as M,t as se}from"./useMediaQuery-twbHF0pO.js";import{E as ce,G as le,W as N,_ as P,b as ue,t as F,w as I}from"./Icon-DPaLmsmh.js";import{t as de}from"./preload-helper-BZ1Pz5am.js";import{s as fe}from"./IconButton-Br-4XhQr.js";import{t as pe}from"./Markdown-ev4hMr67.js";import{t as me}from"./Selector-CGOdL2eo.js";import{n as he,t as L}from"./Tab-BwJj0rUr.js";import{t as ge}from"./useInfiniteQuery-03AIcFvA.js";import{r as R,t as _e}from"./Token-BV_4bSkY.js";import{t as ve}from"./load-more-CymfxLt7.js";import{a as z,c as ye,i as be,n as xe,o as B,r as Se,s as Ce}from"./contributor-Bs3RWHQv.js";var V=e(a(),1),H=r(),U={button:{k1xSpc:`x78zum5`,kGNEyG:`x6s0dn4`,kOIVth:`xzye2dw`,kmVPX3:`x1717udv`,kogj98:`x1ghz6dp`,kkrTdU:`x1ypdohk x16khyan`,kVVagm:`xln7xf2`,kMwMTN:`x1heor9g`,kzqmXN:`xh8yej3`,kZKoxP:`x5yr21d`,k9WMMc:`x16tdsg8`,kaIpWk:`xx3sua9`,$$css:!0},buttonAlignCenter:{kjj79g:`xl56j7k`,$$css:!0},buttonAlignEnd:{kjj79g:`x13a6bvl`,$$css:!0}};function W(e){let{sortable:t}=e;return t?t===!0?e.key:t.sortKey??e.key:null}function we(e){let{header:t}=e;return typeof t==`string`?t:e.key}function Te(e,t,n,r,i){let a=we(t);if(n==null)return e(`@astryx.table.sort.sortBy`,{label:a});let o=e(n===`ascending`?`@astryx.table.sort.direction.ascending`:`@astryx.table.sort.direction.descending`);return r!=null&&i>1?e(`@astryx.table.sort.sortedByWithPriority`,{label:a,direction:o,rank:r,total:i}):e(`@astryx.table.sort.sortedBy`,{label:a,direction:o})}function G(e,t){return e==null?`ascending`:e===`ascending`?`descending`:t?null:`ascending`}function Ee({column:e,children:t,configRef:n}){let r=P(),i=n.current,a=W(e)??``,o=i.sort.findIndex(e=>e.sortKey===a),s=(o>=0?i.sort[o]:null)?.direction??null,c=i.isMultiSortEnabled===!0&&i.sort.length>1&&o>=0?o+1:null,l=s===`ascending`?`arrowUp`:s===`descending`?`arrowDown`:`arrowsUpDown`,u=Te(r,e,s,c,i.sort.length),d=e=>{let t=n.current,r=e.shiftKey&&t.isMultiSortEnabled,i=t.allowUnsortedState??!0;if(r){let e=t.sort.findIndex(e=>e.sortKey===a);if(e>=0){let n=G(t.sort[e].direction,i);if(n==null){let n=[...t.sort];n.splice(e,1),t.onSortChange(n)}else{let r=[...t.sort];r[e]={...r[e],direction:n},t.onSortChange(r)}}else t.onSortChange([...t.sort,{sortKey:a,direction:`ascending`}])}else{let e=G(t.sort.find(e=>e.sortKey===a)?.direction??null,i);e==null?t.onSortChange([]):t.onSortChange([{sortKey:a,direction:e}])}};return(0,H.jsxs)(`button`,{type:`button`,...N.focusVisible(U.button,e.align===`end`?U.buttonAlignEnd:e.align===`center`?U.buttonAlignCenter:null),"aria-label":u,onClick:d,children:[(0,H.jsx)(`span`,{children:t}),(0,H.jsx)(`span`,{...{0:{className:`x3nfvp2 x3onkmb xof6bs x25t5g8`},1:{className:`x3nfvp2`}}[(s!=null)<<0],children:(0,H.jsx)(F,{icon:l,size:`xsm`,color:s==null?`secondary`:`accent`})}),c!=null&&(0,H.jsx)(`span`,{className:`x1k6wstc xo5v014 xqwr325`,"aria-hidden":`true`,children:c})]})}function De(e){let t=P(),n=(0,V.useRef)(e);return n.current=e,(0,V.useMemo)(()=>({transformHeaderCell(e,r){let i=W(r);if(i==null)return e;let a=n.current.sort.find(e=>e.sortKey===i),o=()=>{let e=n.current,r=e.sort.find(e=>e.sortKey===i)?.direction??null,a=[{id:`sort-asc`,group:`sort`,label:t(`@astryx.table.sort.ascending`),icon:(0,H.jsx)(F,{icon:`arrowUp`,size:`xsm`,"aria-hidden":!0}),checked:r===`ascending`,onSelect:()=>e.onSortChange([{sortKey:i,direction:`ascending`}])},{id:`sort-desc`,group:`sort`,label:t(`@astryx.table.sort.descending`),icon:(0,H.jsx)(F,{icon:`arrowDown`,size:`xsm`,"aria-hidden":!0}),checked:r===`descending`,onSelect:()=>e.onSortChange([{sortKey:i,direction:`descending`}])}];return r!=null&&a.push({id:`sort-clear`,group:`sort-clear`,label:t(`@astryx.table.sort.clear`),icon:(0,H.jsx)(F,{icon:`close`,size:`xsm`,"aria-hidden":!0}),onSelect:()=>e.onSortChange(e.sort.filter(e=>e.sortKey!==i))}),a},s=e.contextMenuActions;return{...e,htmlProps:{...e.htmlProps,...a==null?{}:{"aria-sort":a.direction}},content:(0,H.jsx)(Ee,{column:r,configRef:n,children:e.content}),contextMenuActions:()=>[...ae(s),...o()]}}}),[t])}var Oe=(0,V.lazy)(async()=>de(()=>import(`./ProgressBarMarkTooltip-BxGSd9KS.js`),__vite__mapDeps([0,1,2,3,4]))),K={container:{k1xSpc:`x78zum5`,kXwgrk:`xdt5ytf`,kOIVth:`xzye2dw`,kzqmXN:`xh8yej3`,k7Eaqz:`x900493`,$$css:!0},fill:{kZKoxP:`x5yr21d`,kaIpWk:`xjspbzw`,k1ekBW:`xxrbq2n`,kIyJzY:`x80gvsz`,kAMwcw:`xlr8y92`,$$css:!0},indeterminateFill:{kZKoxP:`x5yr21d`,kzqmXN:`xz84dc7`,kaIpWk:`xjspbzw`,kKVMdj:`xozk8ic xfd3fxj`,k44tkh:`xmg6eyc xnh0sag`,kyAemX:`x4hg4is`,ko0y90:`xa4qsjk`,$$css:!0},mark:{kVAEAm:`x10l6tqk`,k87sOh:`xwa60dl`,kzqmXN:`x63cpjl`,kZKoxP:`xhovv34`,k3aq6I:`x11lhmoz xoffwj3`,$$css:!0}},q={accent:{kWkggS:`x1ewilqj`,$$css:!0},success:{kWkggS:`xdsz4j9`,$$css:!0},warning:{kWkggS:`x1q8g9m5`,$$css:!0},error:{kWkggS:`x1pjz0fi`,$$css:!0},neutral:{kWkggS:`x16fr6go`,$$css:!0},disabled:{kWkggS:`x16fr6go`,$$css:!0}},ke={accent:{kWkggS:`x1azo05`,$$css:!0},success:{kWkggS:`x9mohwv`,$$css:!0},warning:{kWkggS:`xmgwp2l`,$$css:!0},error:{kWkggS:`xfba6wv`,$$css:!0},neutral:{kWkggS:`x19aspcf`,$$css:!0},disabled:{kWkggS:`xdomwnj`,$$css:!0}},J={track:{kWkggS:`x19aspcf`,$$css:!0},trackDisabled:{kWkggS:`xdomwnj`,$$css:!0}};function Ae(e,t){return`${t>0?Math.round(e/t*100):0}%`}function Y({value:e=0,max:n=100,label:r,isLabelHidden:a=!1,hasValueLabel:o=!1,formatValueLabel:s=Ae,variant:c=`accent`,isIndeterminate:l=!1,isDisabled:u=!1,marks:d,xstyle:f,className:p,style:m,"data-testid":h,ref:g,..._}){let v=(0,V.useId)(),y=Number.isFinite(e)?e:0,b=Number.isFinite(n)?n:0,x=Math.min(Math.max(0,y),b),S=b>0?x/b*100:0,C=s(x,b),w=o&&!l,T=u?`disabled`:c,E=!l&&d?d.filter(e=>Number.isFinite(e.value)).map(e=>{let t=Math.min(Math.max(0,e.value),b),n=b>0?t/b*100:0;return{value:e.value,label:e.label,pct:n,isOnFill:S>0&&n<=S}}):[];return(0,H.jsxs)(`div`,{ref:g,...M(i(`progress-bar`,{variant:c},{legacyNames:[`progressbar`]}),t(K.container,f),p,m),"data-testid":h,..._,children:[!a||w?(0,H.jsxs)(`div`,{className:`x78zum5 x1qughib x1pha0wt`,children:[(0,H.jsx)(`span`,{id:v,...{0:{className:`xjm74w1 xw6l6zx x1e4wzip x1tgivj0`},2:{className:`xjm74w1 xw6l6zx x1e4wzip x1tgivj0 x10l6tqk x1i1rx1s xjm9jq1 x1717udv xkdpibf xb3r6kr xzpqnlu xuxw1ft xc342km`},1:{className:`xjm74w1 xw6l6zx x1e4wzip xnbbluu`},3:{className:`xjm74w1 xw6l6zx x1e4wzip x10l6tqk x1i1rx1s xjm9jq1 x1717udv xkdpibf xb3r6kr xzpqnlu xuxw1ft xc342km xnbbluu`}}[!!a<<1|!!u<<0],children:r}),w&&(0,H.jsx)(`span`,{...{0:{className:`xjm74w1 xw6l6zx x1sodnla xv1l7n4`},1:{className:`xjm74w1 xw6l6zx x1sodnla xnbbluu`}}[!!u<<0],children:C})]}):(0,H.jsx)(fe,{id:v,children:r}),(0,H.jsxs)(`div`,{role:`progressbar`,"aria-valuenow":l?void 0:x,"aria-valuemin":l?void 0:0,"aria-valuemax":l?void 0:b,"aria-labelledby":v,"aria-valuetext":l?void 0:C,...M(i(`progress-bar-track`,void 0,{legacyNames:[`progressbar-track`]}),{0:{className:`x1n2onr6 xh8yej3 xdk7pt xwmxj5m xjspbzw`},1:{className:`x1n2onr6 xh8yej3 xdk7pt xwmxj5m xjspbzw xb3r6kr`}}[!!l<<0]),children:[l?(0,H.jsx)(`div`,{...M(i(`progress-bar-fill`,{variant:T},{legacyNames:[`progressbar-fill`]}),t(K.indeterminateFill,q[T]))}):(0,H.jsx)(`div`,{...M(i(`progress-bar-fill`,{variant:T},{legacyNames:[`progressbar-fill`]}),t(K.fill,q[T])),style:{width:`${S}%`}}),E.map(e=>{let n=(0,H.jsx)(`span`,{tabIndex:0,...M(i(`progress-bar-mark`,{variant:T,placement:e.isOnFill?`fill`:`track`},{legacyNames:[`progressbar-mark`]}),t(le.focusVisible,K.mark,e.isOnFill?ke[T]:u?J.trackDisabled:J.track)),style:{insetInlineStart:`${e.pct}%`}});return(0,H.jsx)(V.Suspense,{fallback:n,children:(0,H.jsx)(Oe,{content:e.label,children:n})},`${e.value}:${e.label}`)})]})]})}Y.displayName=`ProgressBar`;var je=.25,Me={root:{k1xSpc:`x3nfvp2`,kGNEyG:`x6s0dn4`,$$css:!0}};function Ne({children:e,size:n=`md`,shape:r=`circle`,"data-testid":a,"aria-label":o,"aria-describedby":s,onKeyDown:l,onFocus:u,xstyle:d,className:f,style:p,ref:m,...h}){let g=P(),_=o??g(`@astryx.avatarGroup.label`),v=z(n),y=Math.round(v*je),x=(0,V.useMemo)(()=>({size:n,shape:r,overlap:y,numericSize:v}),[n,r,y,v]),[S,C]=(0,V.useState)(!1),{listRef:T,handleKeyDown:E,handleFocus:ee}=w({itemSelector:`[data-avatar-item]`,orientation:`horizontal`,hasRovingTabIndex:!0});c(()=>{let e=T.current;e&&C(e.querySelector(`[data-avatar-item]`)!=null)});let D=(0,V.useId)(),O=[s,S?D:null].filter(Boolean).join(` `)||void 0;return(0,H.jsx)(Ce,{value:x,children:(0,H.jsxs)(`div`,{...h,ref:ce(m,T),role:`group`,"aria-label":_,"aria-describedby":O,"data-testid":a,onKeyDown:b(l,E),onFocus:b(u,ee),...M(i(`avatar-group`,{size:n,shape:r}),t(Me.root,d),f,p),children:[e,S&&(0,H.jsx)(fe,{id:D,children:g(`@astryx.avatarGroup.keyboardHint`)})]})})}Ne.displayName=`AvatarGroup`;var Pe=.35,X={base:{kVAEAm:`x1n2onr6`,k1xSpc:`x3nfvp2`,kGNEyG:`x6s0dn4`,kjj79g:`xl56j7k`,kaIpWk:`xbc78cj`,kWkggS:`x10xzikg`,kMwMTN:`xv1l7n4`,kMv6JI:`x9ynric`,k63SB2:`x1e4wzip`,kfSwDN:`x87ps6o`,kMzoRj:`xdh2fpr`,ksu8eU:`x1y0btm7`,kVAM5u:`x1touxvs`,kB7OPa:`x9f619`,kg3NbH:`xf314gf`,kKwaWg:`x14bno8m`,$$css:!0},button:{kkrTdU:`x1ypdohk x16khyan`,k8WAf4:`xt970qd`,$$css:!0},overlap:{keTefX:`x1sik18w`,$$css:!0}},Fe={k7Eaqz:`xkj4a21`,kZKoxP:`x16ye13r`,$$css:!0},Ie={kGuDYH:`xdmh292`,$$css:!0},Le={"--_avatar-group-overlap":`xlz5hwt`,$$css:!0},Z={size:e=>[Fe,{"--x-minWidth":(e=>typeof e==`number`?e+`px`:e??void 0)(e+4),"--x-height":(e=>typeof e==`number`?e+`px`:e??void 0)(e+4)}],fontSize:e=>[Ie,{"--x-fontSize":(e=>typeof e==`number`?e+`px`:e??void 0)(`max(${n[`--text-supporting-size`]}, ${e*Pe}px)`)}],overlap:e=>[Le,{"--x---_avatar-group-overlap":`${e}px`==null?void 0:`${e}px`}]};function Re({ref:e,count:n,onClick:r,children:a,xstyle:o,className:s,style:c,...l}){let u=P(),d=ye(),f=d?.size??`md`,p=d?.shape??`circle`,m=d?.numericSize??z(`md`),h=d?.overlap??0,g=Math.max(0,n),_=u(`@astryx.avatarGroup.overflow`,{count:g}),v=a??`+${g}`;return r?(0,H.jsx)(`button`,{ref:e,type:`button`,onClick:r,...l,"aria-label":_,"data-avatar-item":``,...M(i(`avatar-group-overflow`,{size:f,shape:p}),N.focusVisible(X.base,X.button,ue.backgroundImageOnNeutral,X.overlap,Z.size(m),Z.fontSize(m),Z.overlap(-h),B[p],o),s,c),children:v}):(0,H.jsx)(`span`,{ref:e,...l,"aria-label":_,...M(i(`avatar-group-overflow`,{size:f,shape:p}),t(X.base,X.overlap,Z.size(m),Z.fontSize(m),Z.overlap(-h),B[p],o),s,c),children:v})}Re.displayName=`AvatarGroupOverflow`;function ze(e){let t=new Map;for(let n of e)for(let e of n.requirements)t.set(e,[...t.get(e)??[],n.id]);return t}var Be=e=>e.sort===`title`||e.sort===`requirements`?e.sort:`updatedAt`;function Ve(e){let t=Be(e);return{q:e.q,design:e.design,author:e.author,sort:t===`updatedAt`?void 0:t,dir:e.dir}}var Q={featureTable:`_featureTable_phbqr_2`,descriptionLink:`_descriptionLink_phbqr_5`,featureTitle:`_featureTitle_phbqr_7`,featureDetail:`_featureDetail_phbqr_9`,featureBack:`_featureBack_phbqr_10`,documentHeading:`_documentHeading_phbqr_12`,designPanel:`_designPanel_phbqr_15`,featureIntro:`_featureIntro_phbqr_16`,documentIndex:`_documentIndex_phbqr_17`,requirementLayout:`_requirementLayout_phbqr_22`,requirementList:`_requirementList_phbqr_23`,requirementSection:`_requirementSection_phbqr_31`,titleMark:`_titleMark_phbqr_34`,requirementRelations:`_requirementRelations_phbqr_42`,numberLine:`_numberLine_phbqr_44`,numberDot:`_numberDot_phbqr_45`,entryLine:`_entryLine_phbqr_49`,recentRow:`_recentRow_phbqr_50`,featureTitleRow:`_featureTitleRow_phbqr_57`,featureHeading:`_featureHeading_phbqr_58`,featureNameLine:`_featureNameLine_phbqr_60`,featureDescription:`_featureDescription_phbqr_62`,featureDesignLink:`_featureDesignLink_phbqr_64`,requirementRow:`_requirementRow_phbqr_83`,requirementNumber:`_requirementNumber_phbqr_84`,requirementLink:`_requirementLink_phbqr_85`,requirementMore:`_requirementMore_phbqr_86`,requirementDescription:`_requirementDescription_phbqr_89`,requirementNoDesign:`_requirementNoDesign_phbqr_90`,acceptanceCount:`_acceptanceCount_phbqr_91`,countCell:`_countCell_phbqr_94`,oneLine:`_oneLine_phbqr_98`};function He({session:e,index:t,featureId:n,search:r,change:i}){return h(),n?(0,H.jsx)(Ue,{session:e,index:t,featureId:n,search:r,change:i}):(0,H.jsx)(Ge,{session:e,search:r,change:i})}function Ue({session:e,index:t,featureId:n,search:r,change:i}){let a=d(T(e,n)),o=(0,V.useDeferredValue)(a.data);return a.error instanceof l&&a.error.code===`NOT_FOUND`?(0,H.jsx)(f,{kind:`not-found`,title:m(`features.notFoundTitle`),description:m(`features.notFoundDescription`,{id:n}),actions:(0,H.jsx)(p,{to:`/features`,children:m(`features.backToList`)})}):a.error?(0,H.jsx)(R,{error:a.error,retry:()=>{a.refetch()}}):o?(0,H.jsx)(Ke,{feature:o.feature,features:t,search:r,change:i}):(0,H.jsx)(R,{})}function We({people:e}){if(h(),!e.length)return(0,H.jsx)(I,{type:`supporting`,color:`secondary`,children:m(`common.uncommitted`)});let t=e.slice(0,3);return(0,H.jsxs)(Ne,{size:`sm`,shape:`circle`,children:[t.map(e=>(0,H.jsx)(be,{name:e.name,src:xe(e.email),href:Se(e.email)},e.email)),e.length>t.length&&(0,H.jsx)(Re,{count:e.length-t.length})]})}function Ge({session:e,search:t,change:n}){h();let r=se(`(max-width: 767px)`),i={title:`ascending`,requirements:`descending`,updatedAt:`descending`},a=Be(t),o=t.dir===`asc`?`ascending`:t.dir===`desc`?`descending`:i[a],s=ge({...u(e,Ve(t)),placeholderData:y}),c=(0,V.useDeferredValue)(s.data),l={q:t.q,design:t.design,author:t.author,sort:t.sort,dir:t.dir},d=De({sort:[{sortKey:a,direction:o}],allowUnsortedState:!1,onSortChange:e=>{let r=e[0];if(!r)return;let o=r.sortKey===a?r.direction:i[r.sortKey];n({...t,sort:r.sortKey===`updatedAt`?void 0:r.sortKey,dir:o===i[r.sortKey]?void 0:o===`ascending`?`asc`:`desc`})}});if(s.error)return(0,H.jsx)(R,{error:s.error,retry:()=>{s.refetch()}});if(!c)return(0,H.jsx)(R,{});let _=c.pages[0],b=c.pages.flatMap(e=>e.features),x=b.flatMap(e=>[{id:e.id,kind:`feature`,feature:e},...e.requirements.map((t,n)=>({id:e.id+`:`+t.id,kind:`requirement`,feature:e,requirement:t,number:n+1})),...e.hidden?[{id:e.id+`:more`,kind:`more`,feature:e}]:[]]),S=Math.max(1,_.mostRequirements),C=e=>e.replace(/[#*_`]/g,``).replace(/\s+/g,` `).trim(),w=[{key:`title`,header:m(`features.column.feature`),sortable:!0,width:ie(1,{minWidth:200}),renderCell:e=>e.kind===`feature`?(0,H.jsxs)(v,{gap:4,className:Q.featureTitleRow,children:[(0,H.jsxs)(g,{gap:0,className:Q.featureHeading,children:[(0,H.jsxs)(v,{gap:2,className:Q.featureNameLine,children:[(0,H.jsx)(p,{to:`/features/$featureId`,params:{featureId:e.feature.id},search:l,className:Q.featureTitle,"data-state-title":!0,children:e.feature.title}),(0,H.jsx)(A,{state:e.feature.state}),!e.feature.designs&&(0,H.jsx)(_e,{label:m(`features.noDesignMark`),color:`yellow`,size:`sm`})]}),(0,H.jsx)(I,{type:`supporting`,color:`secondary`,className:`${Q.featureDescription} ${Q.oneLine}`,children:e.feature.description?(0,H.jsx)(p,{to:`/features/$featureId`,params:{featureId:e.feature.id},search:l,tabIndex:-1,"aria-hidden":!0,className:Q.descriptionLink,children:C(e.feature.description)}):`\xA0`})]}),e.feature.designs>0&&(0,H.jsx)(p,{to:`/features/$featureId`,params:{featureId:e.feature.id},search:{...l,tab:`design`},className:Q.featureDesignLink,children:m(`features.designMark`,{count:e.feature.designs})})]}):e.kind===`more`?(0,H.jsx)(p,{to:`/features/$featureId`,params:{featureId:e.feature.id},search:l,className:Q.requirementMore,children:m(`features.moreRequirements`,{count:e.feature.hidden})}):(0,H.jsxs)(v,{gap:3,className:Q.requirementRow,children:[(0,H.jsx)(I,{type:`supporting`,color:`secondary`,className:Q.requirementNumber,children:String(e.number).padStart(2,`0`)}),(0,H.jsx)(p,{to:`/features/$featureId`,params:{featureId:e.feature.id},search:{...l,selected:e.requirement.id,tab:`requirements`},hash:e.requirement.id,className:Q.requirementLink,"data-state-title":!0,children:e.requirement.title}),(0,H.jsx)(A,{state:e.requirement.state}),e.requirement.description&&(0,H.jsx)(I,{type:`supporting`,color:`secondary`,className:`${Q.requirementDescription} ${Q.oneLine}`,children:(0,H.jsx)(p,{to:`/features/$featureId`,params:{featureId:e.feature.id},search:{...l,selected:e.requirement.id,tab:`requirements`},hash:e.requirement.id,tabIndex:-1,"aria-hidden":!0,className:Q.descriptionLink,children:C(e.requirement.description)})}),e.feature.designs>0&&!e.requirement.designed&&(0,H.jsx)(I,{type:`supporting`,color:`secondary`,className:Q.requirementNoDesign,children:m(`features.noDesignMark`)})]})},{key:`requirements`,header:m(`features.column.requirements`),sortable:!0,width:j(128),align:`end`,renderCell:e=>e.kind===`requirement`?e.requirement.acceptance===null?null:(0,H.jsx)(I,{type:`supporting`,color:`secondary`,className:Q.acceptanceCount,children:m(`features.acceptanceCount`,{count:e.requirement.acceptance})}):e.kind===`feature`?(0,H.jsxs)(v,{gap:3,className:Q.countCell,children:[(0,H.jsx)(I,{children:e.feature.requirementCount}),!r&&(0,H.jsx)(Y,{label:m(`features.requirementShare`,{title:e.feature.title}),isLabelHidden:!0,value:e.feature.requirementCount,max:S,variant:`accent`})]}):null}];r||w.push({key:`contributors`,header:m(`features.column.contributors`),width:j(120),renderCell:e=>e.kind===`feature`?(0,H.jsx)(We,{people:e.feature.contributors}):null}),r||w.push({key:`updatedAt`,header:m(`common.recentChange`),sortable:!0,width:j(110),align:`end`,renderCell:e=>e.kind===`feature`?e.feature.updatedAt?(0,H.jsx)(ne,{value:e.feature.updatedAt,format:`relative`}):(0,H.jsx)(I,{type:`supporting`,color:`secondary`,children:m(`common.inProgress`)}):null});let T=e=>{let t=e.kind===`feature`?e.feature.state:e.kind===`requirement`?e.requirement.state:void 0;return t===`committed`?void 0:t};return b.length?(0,H.jsxs)(g,{gap:3,className:Q.featureTable,children:[(0,H.jsxs)(I,{type:`supporting`,color:`secondary`,children:[m(`features.count`,{count:_.total}),_.total<_.all?m(`features.ofTotal`,{total:_.all}):``,` · `,m(`features.requirementCount`,{count:_.requirements}),` · `,m(`features.countNote`)]}),(0,H.jsx)(oe,{data:x,idKey:`id`,columns:w,plugins:{sorting:d,rowKinds:{transformBodyRow:(e,t)=>({...e,htmlProps:{...e.htmlProps,"data-row":t.kind,"data-state":T(t)}})}},density:`compact`,dividers:`rows`,hasHover:!0,textOverflow:`truncate`}),(0,H.jsx)(v,{gap:0,children:(0,H.jsx)(ve,{label:m(`features.more`),query:s})})]}):(0,H.jsx)(f,{kind:_.all?`search`:`empty`,title:m(`features.emptyTitle`),description:_.all?m(`features.changeFilters`):m(`features.emptyDescription`)})}function Ke({feature:e,features:t,search:n,change:r}){h();let i=n.tab===`design`?`design`:`requirements`,a=ze(e.designs),o=e.designs,c=n.selected?i===`requirements`||o.some(e=>e.id===n.selected)?n.selected:a.get(n.selected)?.[0]:void 0;(0,V.useEffect)(()=>{c&&document.getElementById(c)?.scrollIntoView({block:`start`})},[c,i]);let l=Ye((i===`requirements`?e.requirements:o).map(e=>e.id));return(0,H.jsxs)(g,{as:`article`,"aria-label":m(`features.detail`),gap:0,className:Q.featureDetail,children:[(0,H.jsx)(p,{to:`/features`,search:{q:n.q,design:n.design,author:n.author,sort:n.sort},className:Q.featureBack,children:m(`features.back`)}),(0,H.jsxs)(g,{gap:4,className:Q.documentHeading,children:[(0,H.jsxs)(v,{gap:3,vAlign:`center`,wrap:`wrap`,children:[(0,H.jsx)(x,{level:1,children:e.title}),(0,H.jsx)(A,{state:e.state})]}),e.description&&(0,H.jsx)(pe,{children:e.description}),(0,H.jsxs)(v,{gap:4,wrap:`wrap`,className:Q.entryLine,children:[(0,H.jsx)(I,{type:`supporting`,color:`secondary`,children:e.id}),(0,H.jsx)(I,{type:`supporting`,color:`secondary`,children:m(`features.requirementCount`,{count:e.requirements.length})}),(0,H.jsx)(We,{people:e.contributors}),e.updatedAt&&(0,H.jsx)(ne,{value:e.updatedAt,format:`relative`}),(0,H.jsx)(p,{to:`/records`,search:{feature:e.id},children:m(`features.history`)})]})]}),(0,H.jsxs)(he,{role:`tablist`,value:i,onChange:e=>r({...n,tab:e,selected:void 0}),hasDivider:!0,children:[(0,H.jsx)(L,{value:`requirements`,label:m(`features.tab.requirements`),panelId:`feature-requirements`}),(0,H.jsx)(L,{value:`design`,label:m(`features.tab.design`),panelId:`feature-design`})]}),i===`design`?o.length?(0,H.jsxs)(g,{id:`feature-design`,role:`tabpanel`,"aria-label":m(`features.tab.design`),gap:0,className:Q.requirementLayout,children:[(0,H.jsx)(Je,{label:m(`features.designIndex`),title:m(`features.designIndexTitle`),documents:o,reading:l}),(0,H.jsx)(g,{gap:0,className:Q.requirementList,children:o.map((n,r)=>(0,H.jsx)(g,{id:n.id,gap:0,className:Q.requirementSection,"data-state":n.state===`committed`?void 0:n.state,...n.id===c?{"aria-current":`location`}:{},children:(0,H.jsx)(O,{design:n,path:n.path,features:t,eyebrow:(0,H.jsxs)(v,{gap:2,vAlign:`center`,children:[(0,H.jsx)(qe,{label:m(`features.designNumber`,{number:$(r)}),id:n.id}),(0,H.jsx)(A,{state:n.state})]}),footer:(0,H.jsx)(k,{label:m(`features.requirementHistoryLabel`),children:(0,H.jsx)(E,{title:(0,H.jsx)(p,{to:`/records`,search:{feature:e.id,q:n.id},children:m(`features.designHistory`)})})})})},n.id))})]}):(0,H.jsx)(g,{id:`feature-design`,role:`tabpanel`,"aria-label":m(`features.tab.design`),gap:0,className:Q.designPanel,children:(0,H.jsx)(f,{isCompact:!0,title:m(`features.noDesignTitle`),description:m(`features.noDesignDescription`)})}):(0,H.jsxs)(g,{id:`feature-requirements`,role:`tabpanel`,"aria-label":m(`features.tab.requirements`),gap:0,className:Q.requirementLayout,children:[(0,H.jsx)(Je,{label:m(`features.index`),title:m(`features.indexTitle`),documents:e.requirements,reading:l}),(0,H.jsxs)(g,{gap:0,className:Q.requirementList,children:[(0,H.jsx)(g,{gap:0,className:Q.featureIntro,children:(0,H.jsx)(s,{headingLevelStart:3,path:e.path,children:e.body})}),e.requirements.map((t,r)=>{let i=(a.get(t.id)??[]).map(e=>o.find(t=>t.id===e));return(0,H.jsxs)(g,{id:t.id,gap:4,className:Q.requirementSection,"data-state":t.state===`committed`?void 0:t.state,...t.id===c?{"aria-current":`location`}:{},children:[(0,H.jsxs)(g,{gap:2,children:[(0,H.jsxs)(v,{gap:2,vAlign:`center`,children:[(0,H.jsx)(qe,{label:m(`features.requirementNumber`,{number:$(r)}),id:t.id}),(0,H.jsx)(A,{state:t.state})]}),(0,H.jsx)(x,{level:3,children:(0,H.jsx)(`mark`,{className:Q.titleMark,"data-state-title":!0,children:t.title})})]}),(0,H.jsx)(s,{headingLevelStart:4,path:t.path,children:t.body}),(0,H.jsxs)(g,{gap:4,className:Q.requirementRelations,children:[!!i.length&&(0,H.jsx)(k,{label:m(`features.requirementDesigns`),children:i.map(t=>(0,H.jsx)(E,{title:(0,H.jsx)(p,{to:`/features/$featureId`,params:{featureId:e.id},search:{...n,tab:`design`,selected:t.id},hash:t.id,children:t.title}),description:t.description},t.id))}),(0,H.jsx)(k,{label:m(`features.requirementHistoryLabel`),children:(0,H.jsx)(E,{title:(0,H.jsx)(p,{to:`/records`,search:{feature:e.id,q:t.id},children:m(`features.requirementHistory`)})})})]})]},t.id)}),!e.requirements.length&&(0,H.jsx)(I,{children:m(`features.noRequirements`)})]})]})]})}var $=e=>String(e+1).padStart(2,`0`);function qe({label:e,id:t}){return(0,H.jsxs)(I,{type:`supporting`,color:`secondary`,className:Q.numberLine,children:[e,(0,H.jsx)(`span`,{"aria-hidden":!0,className:Q.numberDot,children:`·`}),t]})}function Je({label:e,title:t,documents:n,reading:r}){return(0,H.jsxs)(g,{as:`nav`,"aria-label":e,gap:2,className:Q.documentIndex,children:[(0,H.jsx)(I,{type:`supporting`,color:`secondary`,children:t}),n.map((e,t)=>(0,H.jsxs)(`a`,{href:`#${e.id}`,...e.id===r?{"aria-current":`true`}:{},children:[$(t),` `,e.title]},e.id))]})}function Ye(e){let[t,n]=(0,V.useState)(),r=e.join(`,`);return(0,V.useEffect)(()=>{let t=e.map(e=>document.getElementById(e)).filter(e=>!!e);if(n(t[0]?.id),!t.length)return;let r=new Set,i=new IntersectionObserver(e=>{for(let t of e)t.isIntersecting?r.add(t.target.id):r.delete(t.target.id);let i=t.findLast(e=>r.has(e.id));i&&n(i.id)},{rootMargin:`-96px 0px -55% 0px`});return t.forEach(e=>i.observe(e)),()=>i.disconnect()},[r]),t}function Xe({featureId:e,search:t,change:n}){return h(),(0,H.jsx)(D,{header:S,title:m(`nav.features`),description:m(`pageDescription.features`),root:`/features`,hasTitle:!e,trail:t=>{let n=e?t.index.features.find(t=>t.id===e):void 0;return n?[{label:n.title}]:[]},...e?{}:{filters:e=>(0,H.jsxs)(H.Fragment,{children:[(0,H.jsx)(ee,{label:m(`filters.search`),placeholder:m(`filters.searchFeatures`),value:t.q??``,onChange:e=>n({...t,q:e||void 0},!0)}),(0,H.jsx)(me,{label:m(`filters.design`),isLabelHidden:!0,startIcon:re,value:t.design??``,options:[{value:``,label:m(`filters.allDesigns`)},{value:`yes`,label:m(`filters.designWritten`)},{value:`no`,label:m(`filters.designMissing`)}],onChange:e=>n({...t,design:e||void 0})}),(0,H.jsx)(me,{label:m(`filters.contributor`),isLabelHidden:!0,startIcon:te,value:t.author??``,options:[{value:``,label:m(`filters.allContributors`)},...e.index.people.map(e=>({value:e.email,label:e.name}))],onChange:e=>n({...t,author:e||void 0})})]})},children:({checkout:r,session:i})=>(0,H.jsx)(He,{session:i,index:r.index.features,featureId:e,search:t,change:n})})}async function Ze(e,t,n){let{session:r}=await _(e);if(!r)return;if(!t){await C(e.ensureInfiniteQueryData(u(r,Ve(n))));return}let i=await e.ensureQueryData(T(r,t)).catch(()=>void 0);if(!i)return;let{feature:a}=i;await o(n.tab===`design`?a.designs.map(e=>e.body):[a.body,...a.requirements.map(e=>e.body)])}export{Xe as n,Ze as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._featureTable_phbqr_2 table{border-radius:0}._featureTable_phbqr_2 tbody tr{cursor:default}._descriptionLink_phbqr_5{color:inherit;text-decoration:none}._descriptionLink_phbqr_5:hover{color:var(--color-text-primary);text-decoration:underline}._featureTitle_phbqr_7{color:var(--color-text-primary);font-weight:600;text-decoration:none}._featureTitle_phbqr_7:hover{text-decoration:underline}._featureDetail_phbqr_9{overflow-wrap:anywhere;min-width:0;padding-inline:var(--spacing-5)}._featureBack_phbqr_10{color:var(--color-text-secondary);align-self:flex-start;font-size:.8125rem;text-decoration:none}._featureBack_phbqr_10:hover{text-decoration:underline}._documentHeading_phbqr_12{padding-block:var(--spacing-4) var(--spacing-6)}._documentHeading_phbqr_12 h1{letter-spacing:-.025em;font-size:1.75rem;line-height:1.4}._featureDetail_phbqr_9{padding-top:var(--spacing-6)}._designPanel_phbqr_15{padding-block:var(--spacing-6)}._featureIntro_phbqr_16{padding-block:var(--spacing-5)}._documentIndex_phbqr_17{padding-block:var(--spacing-5);border-block:1px solid var(--color-border)}._documentIndex_phbqr_17 a{padding-block:var(--spacing-1);text-decoration:none}@media (width>=1200px){._requirementLayout_phbqr_22._requirementLayout_phbqr_22{column-gap:var(--spacing-7);grid-template-columns:minmax(0,1fr) 14rem;align-items:start;display:grid}._requirementLayout_phbqr_22 ._requirementList_phbqr_23{grid-area:1/1}._requirementLayout_phbqr_22 ._documentIndex_phbqr_17{top:calc(var(--gitifact-topbar-height) + var(--spacing-4));max-height:calc(100vh - var(--gitifact-topbar-height) - var(--spacing-8));border-block:none;border-left:1px solid var(--color-border);padding:var(--spacing-2) 0 var(--spacing-2) var(--spacing-4);grid-area:1/2;position:sticky;overflow-y:auto}._requirementLayout_phbqr_22 ._documentIndex_phbqr_17 a{font-size:.8125rem;line-height:1.5}._requirementLayout_phbqr_22 ._documentIndex_phbqr_17 a[aria-current]{color:var(--color-text-primary);box-shadow:inset 2px 0 0 var(--color-text-primary);margin-left:calc(-1 * var(--spacing-4));padding-left:var(--spacing-4);font-weight:600}}._featureDetail_phbqr_9 a:hover{text-decoration:underline}._requirementSection_phbqr_31{padding-block:var(--spacing-7);border-bottom:1px solid var(--color-border);scroll-margin-top:calc(var(--gitifact-topbar-height) + var(--spacing-4))}._requirementSection_phbqr_31 h3{font-size:1.25rem;line-height:1.5}._titleMark_phbqr_34{color:inherit;background:0 0;background-image:linear-gradient(transparent 55%, var(--color-background-yellow) 55%, var(--color-background-yellow) 94%, transparent 94%);-webkit-box-decoration-break:clone;box-decoration-break:clone;padding-inline:.15em}._requirementSection_phbqr_31[aria-current]{scroll-margin-top:calc(var(--gitifact-topbar-height) + var(--spacing-5));background-image:repeating-linear-gradient(-45deg, var(--color-background-muted) 0 1px, transparent 1px 7px);margin-inline:calc(-1 * var(--spacing-4));padding-inline:var(--spacing-4)}._requirementSection_phbqr_31 p,._requirementSection_phbqr_31 li{line-height:1.9}._documentHeading_phbqr_12 a{font-size:.8125rem}._requirementRelations_phbqr_42{padding-block-start:var(--spacing-2)}._numberLine_phbqr_44{font-variant-numeric:tabular-nums}._numberDot_phbqr_45{margin-inline:var(--spacing-2);opacity:.6}@media (width<64rem){._documentHeading_phbqr_12 h1{font-size:1.5rem}}._entryLine_phbqr_49{align-items:center;min-width:0}._recentRow_phbqr_50 ._featureTitle_phbqr_7{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}._featureTable_phbqr_2 tbody td{padding-block:var(--spacing-4)}._featureTitleRow_phbqr_57{flex-wrap:nowrap;align-items:center;width:100%;min-width:0}._featureHeading_phbqr_58{flex:auto;min-width:0}._featureNameLine_phbqr_60{flex-wrap:nowrap;align-items:center;min-width:0;height:1.3rem}._featureNameLine_phbqr_60 ._featureTitle_phbqr_7{line-height:1.35}._featureHeading_phbqr_58 ._featureDescription_phbqr_62{font-size:.75rem;line-height:1.35}._featureTable_phbqr_2 tbody tr[data-row=feature] td{padding-block:var(--spacing-3)}._featureDesignLink_phbqr_64{color:var(--color-text-secondary);white-space:nowrap;flex:none;font-size:.75rem;text-decoration:none}._featureDesignLink_phbqr_64:hover{text-decoration:underline}._featureTable_phbqr_2 tbody tr[data-row=feature] td{background-image:repeating-linear-gradient(-45deg, var(--color-background-muted) 0 1px, transparent 1px 7px)}._featureTable_phbqr_2 tbody tr[data-row=feature] ._featureTitle_phbqr_7{font-weight:600}._featureTable_phbqr_2 tbody tr[data-row=requirement] td:first-child,._featureTable_phbqr_2 tbody tr[data-row=more] td:first-child{padding-inline-start:var(--spacing-6)}._featureTable_phbqr_2 tbody tr[data-row=feature] td{border-top:1px solid var(--color-border)}._featureTable_phbqr_2 tbody tr[data-row=requirement] td,._featureTable_phbqr_2 tbody tr[data-row=more] td{padding-block:var(--spacing-2);border-bottom:0}:is(._featureTable_phbqr_2 tbody tr[data-row=requirement]:has(+tr[data-row=feature]) td,._featureTable_phbqr_2 tbody tr[data-row=more]:has(+tr[data-row=feature]) td){padding-bottom:var(--spacing-6)}._featureTable_phbqr_2 tbody tr[data-row=requirement][data-state]:has(+tr[data-row=feature]) td{background-color:#0000;background-image:linear-gradient(var(--gitifact-state-wash), var(--gitifact-state-wash));background-repeat:no-repeat;background-size:100% calc(100% - var(--spacing-6) + var(--spacing-2))}._requirementRow_phbqr_83{flex-wrap:nowrap;align-items:baseline;width:100%;min-width:0}._requirementNumber_phbqr_84{font-variant-numeric:tabular-nums;flex:none}._requirementLink_phbqr_85{min-width:0;color:var(--color-text-primary);text-overflow:ellipsis;white-space:nowrap;flex:0 auto;text-decoration:none;overflow:hidden}._requirementLink_phbqr_85:hover,._requirementMore_phbqr_86:hover{text-decoration:underline}._requirementDescription_phbqr_89{flex:auto;min-width:0;font-size:.8125rem}._requirementNoDesign_phbqr_90{color:var(--color-text-yellow,var(--color-text-secondary));white-space:nowrap;flex:none;padding-inline-start:var(--spacing-4);font-size:.75rem}._acceptanceCount_phbqr_91{font-variant-numeric:tabular-nums;white-space:nowrap;font-size:.75rem}._requirementMore_phbqr_86{color:var(--color-text-secondary);font-size:.8125rem;text-decoration:none}._featureTitleRow_phbqr_57 ._featureTitle_phbqr_7{text-overflow:ellipsis;white-space:nowrap;flex:0 auto;min-width:0;overflow:hidden}._countCell_phbqr_94{justify-content:flex-end;align-items:center}._countCell_phbqr_94>:last-child{flex:1;min-width:2.5rem;max-width:6rem}._oneLine_phbqr_98{text-overflow:ellipsis;white-space:nowrap;min-width:0;display:block;overflow:hidden}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{l as e}from"./themeProps-CkLe5zXY.js";import{n as t}from"./features-CmvypKgf.js";import{s as n}from"./index-BeeP8ZFW.js";var r=e();function i(){let e=n.useSearch(),{featureId:i}=n.useParams(),a=n.useNavigate();return(0,r.jsx)(t,{featureId:i,search:e,change:(e,t)=>{a({search:e,replace:t??!1})}})}export{i as component};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{l as e}from"./themeProps-CkLe5zXY.js";import{n as t}from"./features-CmvypKgf.js";import{c as n}from"./index-BeeP8ZFW.js";var r=e();function i(){let e=n.useSearch(),i=n.useNavigate();return(0,r.jsx)(t,{search:e,change:(e,t)=>{i({search:e,replace:t??!1})}})}export{i as component};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{l as e}from"./themeProps-CkLe5zXY.js";import{r as t}from"./document-DPtVyR5y.js";import{cn as n,fn as r,ht as i,rn as a,sn as o,t as s}from"./page-header-CVCjLFQo.js";var c={page:`_page_jngdz_2`,column:`_column_jngdz_3`,pageTitle:`_pageTitle_jngdz_4`,body:`_body_jngdz_5`},l=e();function u(){r();let e=o(`gettingStarted`).replace(/^# [^\n]+\n+/,``);return(0,l.jsxs)(i,{gap:0,className:c.page,children:[(0,l.jsx)(s,{trail:[{label:n(`gettingStarted.title`)}]}),(0,l.jsxs)(i,{gap:0,className:c.column,children:[(0,l.jsx)(i,{gap:1,className:c.pageTitle,children:(0,l.jsx)(a,{level:1,children:n(`gettingStarted.title`)})}),(0,l.jsx)(i,{as:`article`,"aria-label":n(`gettingStarted.title`),gap:0,className:c.body,children:(0,l.jsx)(t,{children:e})})]})]})}var d=u;export{d as component};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{f as e}from"./index-BeeP8ZFW.js";var t=e;export{t as component};
|