@openagt/dashboard 0.54.0 → 0.55.0
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 +4 -2
- package/dist/appearance.d.ts +1 -1
- package/dist/appearance.d.ts.map +1 -1
- package/dist/appearance.js +1 -1
- package/dist/appearance.js.map +1 -1
- package/dist/clone-project.js +1 -1
- package/dist/clone-project.js.map +1 -1
- package/dist/daemon-runtime.d.ts.map +1 -1
- package/dist/daemon-runtime.js +8 -4
- package/dist/daemon-runtime.js.map +1 -1
- package/dist/daemon-services.d.ts +4 -4
- package/dist/daemon-services.js +6 -6
- package/dist/daemon-services.js.map +1 -1
- package/dist/daemon.d.ts +1 -1
- package/dist/daemon.d.ts.map +1 -1
- package/dist/daemon.js +11 -1
- package/dist/daemon.js.map +1 -1
- package/dist/dashboard/elsewhere.d.ts +1 -1
- package/dist/dashboard/elsewhere.d.ts.map +1 -1
- package/dist/dashboard/projects.js +1 -1
- package/dist/dashboard/projects.js.map +1 -1
- package/dist/dashboard/rpc-serve.d.ts +6 -0
- package/dist/dashboard/rpc-serve.d.ts.map +1 -1
- package/dist/dashboard/rpc-serve.js +21 -1
- package/dist/dashboard/rpc-serve.js.map +1 -1
- package/dist/dashboard/run-inbox.d.ts +4 -3
- package/dist/dashboard/run-inbox.d.ts.map +1 -1
- package/dist/dashboard/run-inbox.js +6 -5
- package/dist/dashboard/run-inbox.js.map +1 -1
- package/dist/dashboard/server.d.ts +16 -1
- package/dist/dashboard/server.d.ts.map +1 -1
- package/dist/dashboard/server.js +54 -12
- package/dist/dashboard/server.js.map +1 -1
- package/dist/dashboard/static.d.ts +15 -2
- package/dist/dashboard/static.d.ts.map +1 -1
- package/dist/dashboard/static.js +33 -18
- package/dist/dashboard/static.js.map +1 -1
- package/dist/dashboard/website.d.ts +34 -0
- package/dist/dashboard/website.d.ts.map +1 -0
- package/dist/dashboard/website.js +82 -0
- package/dist/dashboard/website.js.map +1 -0
- package/dist/dashboard-bundle/assets/host/module-BMyNrbiB.js +1 -0
- package/dist/dashboard-bundle/assets/main-BLY-EDtL.css +2 -0
- package/dist/dashboard-bundle/assets/main-DPdJVm4s.js +152 -0
- package/dist/dashboard-bundle/assets/{module-C1zreYB3.js → module-DY3Aigsz.js} +3 -3
- package/dist/dashboard-bundle/index.html +6 -6
- package/dist/dashboard-rpc/control.d.ts +22 -6
- package/dist/dashboard-rpc/control.d.ts.map +1 -1
- package/dist/dashboard-rpc/control.js +45 -9
- package/dist/dashboard-rpc/control.js.map +1 -1
- package/dist/dashboard-rpc/index.d.ts +3 -1
- package/dist/dashboard-rpc/index.d.ts.map +1 -1
- package/dist/dashboard-rpc/index.js +6 -2
- package/dist/dashboard-rpc/index.js.map +1 -1
- package/dist/dashboard-rpc/machines.d.ts.map +1 -1
- package/dist/dashboard-rpc/machines.js +1 -2
- package/dist/dashboard-rpc/machines.js.map +1 -1
- package/dist/dashboard-rpc/modules.js +2 -2
- package/dist/dashboard-rpc/modules.js.map +1 -1
- package/dist/dashboard-rpc/personal-folder.d.ts +23 -0
- package/dist/dashboard-rpc/personal-folder.d.ts.map +1 -0
- package/dist/dashboard-rpc/personal-folder.js +30 -0
- package/dist/dashboard-rpc/personal-folder.js.map +1 -0
- package/dist/dashboard-rpc/project-agent-data.d.ts +20 -0
- package/dist/dashboard-rpc/project-agent-data.d.ts.map +1 -0
- package/dist/dashboard-rpc/project-agent-data.js +38 -0
- package/dist/dashboard-rpc/project-agent-data.js.map +1 -0
- package/dist/dashboard-rpc/projects.d.ts +3 -5
- package/dist/dashboard-rpc/projects.d.ts.map +1 -1
- package/dist/dashboard-rpc/projects.js +5 -17
- package/dist/dashboard-rpc/projects.js.map +1 -1
- package/dist/dashboard-rpc/relay-dispatch.js +4 -4
- package/dist/dashboard-rpc/relay-dispatch.js.map +1 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/join-dashboard.d.ts +6 -2
- package/dist/join-dashboard.d.ts.map +1 -1
- package/dist/join-dashboard.js +4 -2
- package/dist/join-dashboard.js.map +1 -1
- package/dist/module-types/dashboard/components/SettingsRows.d.ts +2 -2
- package/dist/module-types/src/appearance.d.ts +1 -1
- package/dist/module-types/src/dashboard/elsewhere.d.ts +1 -1
- package/dist/module-types/src/dashboard/rpc-serve.d.ts +6 -0
- package/dist/module-types/src/dashboard/run-inbox.d.ts +4 -3
- package/dist/module-types/src/dashboard-rpc/control.d.ts +22 -6
- package/dist/module-types/src/dashboard-rpc/index.d.ts +3 -1
- package/dist/module-types/src/dashboard-rpc/personal-folder.d.ts +22 -0
- package/dist/module-types/src/dashboard-rpc/project-agent-data.d.ts +19 -0
- package/dist/module-types/src/dashboard-rpc/projects.d.ts +3 -5
- package/dist/module-types/src/index.d.ts +0 -1
- package/dist/module-types/src/personal-folder-shown.d.ts +10 -0
- package/dist/module-types/src/registry.d.ts +1 -1
- package/dist/module-types/src/repository-url.d.ts +6 -0
- package/dist/module-types/src/secure-address.d.ts +31 -0
- package/dist/personal-folder-shown.d.ts +11 -0
- package/dist/personal-folder-shown.d.ts.map +1 -0
- package/dist/personal-folder-shown.js +8 -0
- package/dist/personal-folder-shown.js.map +1 -0
- package/dist/registry.d.ts +1 -1
- package/dist/registry.d.ts.map +1 -1
- package/dist/registry.js +1 -1
- package/dist/registry.js.map +1 -1
- package/dist/remove-files.d.ts +4 -3
- package/dist/remove-files.d.ts.map +1 -1
- package/dist/remove-files.js +6 -1
- package/dist/remove-files.js.map +1 -1
- package/dist/repository-url.d.ts +7 -0
- package/dist/repository-url.d.ts.map +1 -0
- package/dist/repository-url.js +17 -0
- package/dist/repository-url.js.map +1 -0
- package/dist/secure-address.d.ts +32 -0
- package/dist/secure-address.d.ts.map +1 -0
- package/dist/secure-address.js +50 -0
- package/dist/secure-address.js.map +1 -0
- package/dist/store/run-record.d.ts.map +1 -1
- package/dist/store/run-record.js +1 -0
- package/dist/store/run-record.js.map +1 -1
- package/dist/terminal.js +2 -0
- package/dist/terminal.js.map +1 -1
- package/dist/website/assets/chunks/chunk-BIhVwAkA.js +1 -0
- package/dist/website/assets/chunks/chunk-CSTMwN0A.js +1 -0
- package/dist/website/assets/chunks/chunk-DeonM-eN.js +3 -0
- package/dist/website/assets/chunks/chunk-kQ9-9YDn.js +18 -0
- package/dist/website/assets/emoji-compass.svg +75 -0
- package/dist/website/assets/emoji-confused.svg +34 -0
- package/dist/website/assets/emoji-construction.svg +188 -0
- package/dist/website/assets/emoji-flex.svg +1 -0
- package/dist/website/assets/emoji-hand-raised.svg +180 -0
- package/dist/website/assets/emoji-mech-arm.svg +1 -0
- package/dist/website/assets/emoji-robot.svg +105 -0
- package/dist/website/assets/emoji-rocket.svg +49 -0
- package/dist/website/assets/entries/entry-client-routing.CzHJwWDQ.js +2 -0
- package/dist/website/assets/entries/pages_banner.6_j-HGsV.js +1 -0
- package/dist/website/assets/entries/pages_go-to-dashboard.CxnTPDW0.js +1 -0
- package/dist/website/assets/entries/pages_index.Dcg_ZrR7.js +1 -0
- package/dist/website/assets/entries/pages_press.rRp1mRww.js +1 -0
- package/dist/website/assets/logo.svg +34 -0
- package/dist/website/assets/static/pages_index_styles-f7bc93a7.DHC1qZXc.css +1 -0
- package/dist/website/banner/index.html +28 -0
- package/dist/website/banner/index.pageContext.json +1 -0
- package/dist/website/banner.jpg +0 -0
- package/dist/website/go-to-dashboard/index.html +30 -0
- package/dist/website/go-to-dashboard/index.pageContext.json +1 -0
- package/dist/website/index.html +30 -0
- package/dist/website/index.pageContext.json +1 -0
- package/dist/website/press/index.html +29 -0
- package/dist/website/press/index.pageContext.json +1 -0
- package/package.json +28 -24
- package/dist/dashboard-bundle/assets/host/module-BjrL8fFt.js +0 -1
- package/dist/dashboard-bundle/assets/main-C50vMcm3.js +0 -152
- package/dist/dashboard-bundle/assets/main-DkmEveyx.css +0 -2
- package/dist/module-types/src/repository-address.d.ts +0 -36
- package/dist/repository-address.d.ts +0 -37
- package/dist/repository-address.d.ts.map +0 -1
- package/dist/repository-address.js +0 -59
- package/dist/repository-address.js.map +0 -1
|
@@ -12,8 +12,8 @@ import{r as e,t}from"./rolldown-runtime-QTnfLwEv.js";import{t as n}from"./react-
|
|
|
12
12
|
`:null]},t)):r})})]})}function sy(e){let t=e.trim().split(`|`);return t[0]?.trim()===``&&t.shift(),t[t.length-1]?.trim()===``&&t.pop(),t.map(e=>e.trim())}function cy(e){return sy(e).length>0&&sy(e).every(e=>/^:?-+:?$/.test(e))}function ly(e){return e.replace(/^[ \t]*/,e=>e.replace(/\t/g,` `))}function uy(e){return/^ */.exec(ly(e))[0].length}function dy(e,t){let n=0;for(let r=0;n<e.length;n++){let i=e[n]===` `?1:e[n]===` `?4:0;if(i===0||r+i>t)break;r+=i}return e.slice(n)}function fy(e){let t=/^[ \t]*[-*]\s+(.*)$/.exec(e);if(t)return{indent:uy(e),ordered:!1,start:1,text:t[1]};let n=/^[ \t]*(\d{1,3})[.)]\s+(.*)$/.exec(e);return n?{indent:uy(e),ordered:!0,start:Number(n[1]),text:n[2]}:null}function py(e){return/^\s*(?:([-*_])\1{2,}|([-*_])(?: \2){2,})\s*$/.test(e)}function my(e){return/^\s*```/.test(e)}var hy=12;function gy(e,t){let n=fy(e[t]).indent,r=t+1,i=!1;for(let a=t+1;a<e.length;a++){let t=e[a];if(i){my(t)&&(i=!1),r=a+1;continue}if(!t.trim())continue;let o=uy(t)>=n+2,s=fy(t)!==null&&!py(t);if(!o&&!s)break;o&&my(t)&&(i=!0),r=a+1}return r}function _y(e,t,n,r){let{compact:i}=t,a=[],o=fy(e[0]),s=o.ordered,c=o.start,l=[],u=null,d=[],f=1/0,p=!1,m=[],h=()=>{p&&(p=!1,m.at(-1)[1]=d.length-1)},g=()=>{if(u===null)return;h();let e=/^\[([ xX])\]\s+(.*)$/.exec(u),r=d.map(()=>f);for(let[e,t]of m){let n=t=>t>e&&!my(d[t]),i=f;for(let r=e;r<=t;r++)n(r)&&d[r].trim()&&(i=Math.min(i,uy(d[r])));for(let a=e;a<=t;a++)n(a)&&(r[a]=i)}let i=d.length>0?Ey(d.map((e,t)=>dy(e,r[t])),t,n+1):null;l.push(e?(0,J.jsxs)(`li`,{className:`list-none -ml-4 flex items-start gap-2`,children:[(0,J.jsx)($v,{checked:e[1].toLowerCase()===`x`,readOnly:!0,"aria-label":e[1].toLowerCase()===`x`?`Done`:`To do`,className:`mt-[3px]`}),i?(0,J.jsxs)(`div`,{className:`min-w-0 space-y-1`,children:[(0,J.jsx)(xy,{done:e[1].toLowerCase()===`x`,text:e[2]}),i]}):(0,J.jsx)(xy,{done:e[1].toLowerCase()===`x`,text:e[2]})]},l.length):(0,J.jsxs)(`li`,{className:i?`space-y-1`:void 0,children:[Sy(u),i]},l.length)),u=null,d=[],f=1/0,m=[]},_=q(i?`ml-6 space-y-1 [&>li]:pl-1`:`ml-7 space-y-[3px] [&>li]:pl-[7px]`,!i&&n===0&&`[&:not(:last-child)]:mb-[21px]`),v=()=>{g(),l.length!==0&&(a.push(s?(0,J.jsx)(`ol`,{start:c,className:q(`list-decimal`,_),children:l},`${r}-${a.length}`):(0,J.jsx)(`ul`,{className:q(n>0?`list-[circle]`:`list-disc`,_),children:l},`${r}-${a.length}`)),l=[])};for(let[n,r]of e.entries()){if(p){d.push(r),my(r)&&h();continue}let i=fy(r);i&&i.indent<o.indent+2?(i.ordered!==s&&(v(),s=i.ordered,c=i.start),g(),u=i.text):t.document&&u!==null&&d.length===0&&r.trim()&&!yy(r)?u=`${u.trimEnd()}${by(e[n-1])}${r.trim()}`:r.trim()?(d.push(r),f=Math.min(f,uy(r)),my(r)&&(p=!0,m.push([d.length-1,d.length-1]))):d.length>0&&d.push(r)}return v(),a}function vy(e){return/^\s*<\/?(?:p|div|center|picture|source|span|details|summary)\b[^>]*>\s*$/i.test(e)||/^\s*<br\b[^>]*>\s*$/i.test(e)}function yy(e){return vy(e)||/^\s*<h[1-6]\b/i.test(e)||my(e)||/^\s*\|.*\|\s*$/.test(e)||/^#{1,6}\s/.test(e)||py(e)||/^\s*>/.test(e)||fy(e)!==null}function by(e){return/ {2,}$|\\$/.test(e)?`
|
|
13
13
|
`:` `}function xy({done:e,text:t}){return(0,J.jsx)(`span`,{className:e?`text-muted-foreground line-through`:void 0,children:Sy(t)})}function Sy(e){return e.includes(`
|
|
14
14
|
`)?e.split(`
|
|
15
|
-
`).map((e,t)=>(0,J.jsxs)(Y.Fragment,{children:[t>0&&(0,J.jsx)(`br`,{}),zy(e)]},t)):zy(e)}function Cy({header:e,body:t}){return(0,J.jsx)(`div`,{className:`overflow-x-auto rounded-lg border border-border`,children:(0,J.jsxs)(`table`,{className:`min-w-full border-separate border-spacing-0 text-sm`,children:[(0,J.jsx)(`thead`,{children:(0,J.jsx)(`tr`,{children:e.map((e,t)=>(0,J.jsx)(`th`,{className:`border-b border-border bg-muted/50 px-3 py-[7px] text-left font-semibold`,children:zy(e)},t))})}),(0,J.jsx)(`tbody`,{children:t.map((t,n)=>(0,J.jsx)(`tr`,{children:e.map((e,r)=>(0,J.jsx)(`td`,{className:q(`px-3 py-[7px] align-top`,n>0&&`border-t border-border`,r===0?`whitespace-nowrap`:`min-w-40`),children:zy(t[r]??``)},r))},n))})]})})}function wy(e){return e.trim().toLowerCase().replace(/[^\p{L}\p{N}\s_-]/gu,``).replace(/\s/g,`-`)}function Ty({level:e,text:t}){let n=`h${Math.min(e,6)}`,r=[`text-[26px] leading-[30px] font-medium`,`text-xl leading-[25px] font-medium`,`text-lg font-semibold`,`font-semibold`,`font-semibold`,`font-semibold`][e-1];return(0,J.jsx)(n,{"data-heading":wy(t),className:q(r,e>1&&`pt-7 first:pt-0`),children:zy(t)})}function Ey(e,t,n=0){let{compact:r,document:i}=t,a=[],o=null,s=[],c=0,l=()=>{if(s.length===0)return;let e=s;if(s=[],e.length>=2&&cy(e[1])){let t=sy(e[0]),n=e.slice(2).map(sy);a.push(i?(0,J.jsx)(Cy,{header:t,body:n},c++):(0,J.jsx)(`div`,{className:`overflow-x-auto`,children:(0,J.jsxs)(`table`,{className:q(`w-full border-collapse [&_tbody_tr:last-child_td]:border-b-0`,r?`text-xs`:`text-sm`),children:[(0,J.jsx)(`thead`,{children:(0,J.jsx)(`tr`,{children:t.map((e,t)=>(0,J.jsx)(`th`,{className:q(`border-b border-border text-left font-medium`,r?`py-1 pr-3`:`py-2.5 pr-6`),children:zy(e)},t))})}),(0,J.jsx)(`tbody`,{children:n.map((e,n)=>(0,J.jsx)(`tr`,{children:t.map((t,n)=>(0,J.jsx)(`td`,{className:q(`border-b border-border/60 align-top`,r?`py-1 pr-3`:`py-2.5 pr-6`),children:zy(e[n]??``)},n))},n))})]})},c++))}else for(let t of e)a.push((0,J.jsx)(`p`,{children:zy(t)},c++))};for(let u=0;u<e.length;u++){let d=e[u],f=/^\s*```\s*([\w+-]*)/.exec(d);if(f){o===null?(l(),o={lines:[],language:f[1].toLowerCase()}):(a.push(ay(o.lines,o.language,c++,t)),o=null);continue}if(o!==null){o.lines.push(d);continue}if(/^\s*\|.*\|\s*$/.test(d)){s.push(d);continue}if(l(),vy(d))continue;let p=/^\s*<h([1-6])\b[^>]*>(.*?)<\/h\1>\s*$/i.exec(d),m=p?[d,`#`.repeat(Number(p[1])),p[2]]:/^(#{1,6})\s+(.*)$/.exec(d);if(m){let e=m[1].length;if(i){a.push((0,J.jsx)(Ty,{level:e,text:m[2]},c++));continue}let t=r?[`text-sm`,`text-sm`,`text-xs`,`text-xs`,`text-xs`,`text-xs`]:[`text-[17px] leading-6`,`text-[15px]`,`text-[15px]`,`text-[15px]`,`text-[15px]`,`text-[15px]`];a.push((0,J.jsx)(`p`,{"data-heading":wy(m[2]),className:q(t[e-1],r?`font-semibold`:`font-medium [&:not(:first-child)]:pt-2`),children:zy(m[2])},c++));continue}if(py(d)){a.push((0,J.jsx)(`hr`,{className:q(`border-border`,!r&&`my-3`)},c++));continue}if(n<hy&&/^\s*>/.test(d)){let o=u;for(;o<e.length&&/^\s*>/.test(e[o]);)o++;let s=e.slice(u,o).map(e=>e.replace(/^\s*>\s?/,``));a.push((0,J.jsx)(`blockquote`,{className:q(`space-y-1.5 border-l-4 border-border pl-4`,i?`text-foreground`:`text-muted-foreground`,!r&&`my-3 ml-2`),children:Ey(s,t,n+1)},c++)),u=o-1;continue}if(n<hy&&fy(d)){let r=gy(e,u);for(let i of _y(e.slice(u,r),t,n,c++))a.push(i);u=r-1;continue}if(!d.trim())continue;let h=d.trim();for(;i&&u+1<e.length&&e[u+1].trim()&&!yy(e[u+1]);)h=`${h}${by(e[u])}${e[++u].trim()}`;a.push((0,J.jsx)(`p`,{children:Sy(h)},c++))}return l(),o!==null&&a.push(ay(o.lines,o.language,c++,t)),a}var Dy=`text-primary underline underline-offset-2 break-all`,Oy=`rounded-[4px] bg-foreground/[0.075] px-1 py-px text-[0.9em]`,ky=`whitespace-nowrap rounded bg-primary/10 px-1.5 text-primary hover:bg-primary/15`,Ay=(0,Y.createContext)(void 0);function jy({number:e}){let t=(0,Y.useContext)(Ay);return t?(0,J.jsxs)(`a`,{href:`${t}/issues/${e}`,target:`_blank`,rel:`noreferrer`,className:ky,children:[`#`,e]}):`#${e}`}function My({text:e}){let t=(0,Y.useContext)(ty),n=e.includes(`/`)?t?.(e):void 0;return n?(0,J.jsx)(Py,{label:e,path:e,open:n}):(0,J.jsx)(`code`,{className:Oy,children:e})}function Ny({label:e,path:t}){let n=(0,Y.useContext)(ty)?.(t);return n?(0,J.jsx)(Py,{label:e,path:t,open:n}):(0,J.jsx)(`code`,{title:t,className:Oy,children:e})}function Py({label:e,path:t,open:n}){return(0,J.jsx)(`button`,{type:`button`,title:`Open ${t}`,onClick:n,className:q(Dy,`text-left`),children:e})}function Fy({label:e,to:t}){return(0,J.jsx)(`a`,{href:`#${t}`,onClick:e=>{e.preventDefault(),[...e.currentTarget.closest(`[data-markdown]`)?.querySelectorAll(`[data-heading]`)??[]].find(e=>e.dataset.heading===t.toLowerCase())?.scrollIntoView({block:`start`,behavior:`smooth`})},className:Dy,children:e})}function Iy(e,t){return RegExp(`\\b${t}\\s*=\\s*"([^"]*)"`,`i`).exec(e)?.[1]??RegExp(`\\b${t}\\s*=\\s*'([^']*)'`,`i`).exec(e)?.[1]}function Ly({alt:e,href:t}){let n=(0,Y.useContext)(ty),r=(0,J.jsxs)(`span`,{className:`inline-flex items-center gap-1.5 rounded-md bg-muted px-2 py-0.5 align-middle text-[0.9em] text-foreground`,children:[(0,J.jsx)(Su,{"aria-hidden":!0,className:`size-3.5 shrink-0`}),e||`Image`]});if(t===void 0)return r;if(/^https?:\/\//.test(t))return(0,J.jsx)(`a`,{href:t,target:`_blank`,rel:`noreferrer`,className:`hover:opacity-80`,children:r});let i=n?.(t);return i?(0,J.jsx)(`button`,{type:`button`,title:`Open ${t}`,onClick:i,className:`hover:opacity-80`,children:r}):r}function Ry(e,t,n){return(0,J.jsx)(`a`,{href:e,target:`_blank`,rel:`noreferrer`,className:Dy,children:t},n)}function zy(e){let t=[],n=/(`[^`]+`|\[!\[[^\]]*\]\([^\s)]+\)\]\([^\s)]+\)|!\[[^\]]*\]\([^\s)]+\)|<img\b[^>]*>|<a\s[^>]*>[^<]*<\/a>|<br\s*\/?>|\[[^\]]+\]\((?:https?:\/\/)?[^\s):]+\)|\*\*[^*]+\*\*|\*[^*]+\*|https?:\/\/[^\s<>)\]]+|(?<![\w/&#])#\d+\b)/g,r=0,i,a=0;for(;i=n.exec(e);){i.index>r&&t.push((0,J.jsx)(Y.Fragment,{children:e.slice(r,i.index)},a++));let n=i[0];if(n.startsWith("`"))t.push((0,J.jsx)(My,{text:n.slice(1,-1)},a++));else if(n.startsWith(`[![`)||n.startsWith(`![`)){let e=/!\[([^\]]*)\]\(([^\s)]+)\)(?:\]\(([^\s)]+)\))?/.exec(n);t.push((0,J.jsx)(Ly,{alt:e[1],...e[3]===void 0?{}:{href:e[3]}},a++))}else if(/^<img\b/i.test(n))t.push((0,J.jsx)(Ly,{alt:Iy(n,`alt`)??``},a++));else if(/^<a\s/i.test(n)){let e=Iy(n,`href`),r=n.replace(/^<a\s[^>]*>|<\/a>$/gi,``);t.push(e&&/^https?:\/\//.test(e)?Ry(e,r,a++):e?(0,J.jsx)(Ny,{label:r,path:e},a++):(0,J.jsx)(Y.Fragment,{children:r},a++))}else if(/^<br/i.test(n))t.push((0,J.jsx)(`br`,{},a++));else if(n.startsWith(`[`)){let e=/^\[([^\]]+)\]\((https?:\/\/[^\s)]+)\)$/.exec(n),r=/^\[([^\]]+)\]\(([^\s):]+)\)$/.exec(n);e?t.push(Ry(e[2],e[1],a++)):r?.[2].startsWith(`#`)?t.push((0,J.jsx)(Fy,{label:r[1],to:r[2].slice(1)},a++)):r?t.push((0,J.jsx)(Ny,{label:r[1],path:r[2]},a++)):t.push((0,J.jsx)(Y.Fragment,{children:n},a++))}else n.startsWith(`**`)?t.push((0,J.jsx)(`strong`,{children:zy(n.slice(2,-2))},a++)):n.startsWith(`*`)?t.push((0,J.jsx)(`em`,{children:zy(n.slice(1,-1))},a++)):n.startsWith(`#`)?t.push((0,J.jsx)(jy,{number:n.slice(1)},a++)):t.push(Ry(n,n,a++));r=i.index+n.length}return r<e.length&&t.push((0,J.jsx)(Y.Fragment,{children:e.slice(r)},a++)),t}function By(e){return Ig(`alert-dialog`,e)}var Vy=zg;function Hy({trigger:e,open:t,onOpenChange:n,title:r,body:i,confirmLabel:a,confirmBusyLabel:o=`Working…`,onConfirm:s,onSuccess:c,fallbackError:l=`Something went wrong.`,destructive:u=!0}){let[d,f]=(0,Y.useState)(!1),p=t??d,m=n??f,{busy:h,error:g,run:_,reset:v}=Fd();return(0,J.jsxs)(By,{open:p,onOpenChange:e=>{h||(m(e),e&&v())},children:[e&&(0,J.jsx)(Vy,{render:e}),(0,J.jsxs)(Ag,{children:[(0,J.jsx)(xg,{className:`fixed inset-0 z-50 bg-black/40 backdrop-blur-[1px]`}),(0,J.jsxs)(kg,{className:`fixed left-1/2 top-1/2 z-50 w-[min(26rem,calc(100vw-2rem))] -translate-x-1/2 -translate-y-1/2 rounded-lg border border-border bg-card p-5 text-card-foreground shadow-lg`,children:[(0,J.jsx)(Rg,{className:`text-sm font-semibold`,children:r}),(0,J.jsx)(Cg,{className:`mt-2 text-xs leading-relaxed text-muted-foreground`,children:i}),g&&(0,J.jsx)(`p`,{className:`mt-2 text-xs text-danger`,children:g}),(0,J.jsxs)(`div`,{className:`mt-4 flex justify-end gap-2`,children:[(0,J.jsx)(Sg,{render:(0,J.jsx)(ze,{variant:`outline`,size:`sm`,disabled:h,children:`Cancel`})}),(0,J.jsx)(ze,{variant:u?`destructive`:`default`,size:`sm`,disabled:h,onClick:()=>{_(s,l).then(e=>{e.ok&&(m(!1),queueMicrotask(()=>c?.()))})},className:q(h&&`cursor-progress`),children:h?o:a})]})]})]})]})}var Uy=O(`onModules`),Wy=O(`runModuleCommand`),Gy=O(`runComputerCommand`),Ky=O(`runComputerCommandOn`),qy=O(`readModule`);function Jy({label:e,share:t}){let n=2*Math.PI*12,r=t===void 0?{ring:``,text:`text-muted-foreground`}:t>=95?{ring:`stroke-danger`,text:`text-danger`}:t>=80?{ring:`stroke-warning`,text:`text-warning`}:{ring:`stroke-success`,text:`text-foreground`};return(0,J.jsxs)(J.Fragment,{children:[(0,J.jsxs)(`span`,{className:`relative size-8`,children:[(0,J.jsxs)(`svg`,{viewBox:`0 0 32 32`,className:`size-8`,"aria-hidden":!0,children:[(0,J.jsx)(`circle`,{cx:`16`,cy:`16`,r:12,fill:`none`,strokeWidth:`3`,className:`stroke-muted-foreground/15`}),t!==void 0&&(0,J.jsx)(`circle`,{cx:`16`,cy:`16`,r:12,fill:`none`,strokeWidth:`3`,strokeLinecap:`round`,strokeDasharray:`${n*Math.min(t,100)/100} ${n}`,transform:`rotate(-90 16 16)`,className:q(`transition-[stroke-dasharray] duration-500`,r.ring)})]}),(0,J.jsx)(`span`,{className:q(`absolute inset-0 flex items-center justify-center text-[9px] font-medium tabular-nums`,r.text),children:t??`–`})]}),(0,J.jsx)(`span`,{className:`text-[9px] leading-tight text-muted-foreground`,children:e})]})}function Yy({className:e,...t}){return(0,J.jsx)(`span`,{className:q(`inline-flex items-center rounded-full border border-[var(--color-border)] px-2 py-0.5 text-xs font-medium`,e),...t})}var Xy=Y.createContext(void 0);function Zy(){let e=Y.useContext(Xy);if(e===void 0)throw Error(et(63));return e}var Qy=`data-checked`,$y=`data-unchecked`,eb={...Cf,checked(e){return e?{[Qy]:``}:{[$y]:``}}},tb=Y.forwardRef(function(e,t){let{checked:n,className:r,defaultChecked:i,"aria-labelledby":a,form:o,id:s,inputRef:c,name:l,nativeButton:u=!1,onCheckedChange:d,readOnly:f=!1,required:p=!1,disabled:m=!1,render:h,uncheckedValue:g,value:_,style:v,...y}=e,{clearErrors:b}=jf(),{state:x,setTouched:S,setDirty:C,validityData:w,setFilled:T,validationMode:E,disabled:D,name:O,validation:k}=Ef(),{labelId:A}=kf(),j=D||m,M=O??l,N=Y.useRef(null),P=_r(N,c,k.inputRef),F=Y.useRef(null),I=Zf(j,F),L=Zc(),R=rp({id:s}),z=u?void 0:R,[B,V]=Rd({controlled:n,default:!!i,name:`Switch`,state:`checked`});Df(F,L,B,void 0,!j,l),X(()=>{T(B)},[B,T]),Ff(B,()=>{b(M),C(B!==w.initialValue),k.change(B)});let{getButtonProps:H,buttonRef:ee}=Gf({disabled:j,native:u}),te=ep(a,A,N,!u,z,y[`aria-label`]),U={id:u?R:L,role:`switch`,"aria-checked":B,"aria-readonly":f||void 0,"aria-required":p||void 0,"aria-labelledby":te,onFocus(){I(!0)},onBlur(){let e=N.current;!e||j||(S(!0),I(!1),E===`onBlur`&&k.commit(e.checked))},onClick(e){if(f||j)return;e.preventDefault();let t=N.current;t&&Uf(t,e)}},W={...k.getValidationProps(j),checked:B,disabled:j,form:o,id:z,name:M,required:p,style:M?Lr:Ir,tabIndex:-1,type:`checkbox`,"aria-hidden":!0,ref:P,onChange(e){if(e.nativeEvent.defaultPrevented)return;if(f){e.preventDefault();return}let t=e.currentTarget.checked,n=Q(Un,e.nativeEvent);d?.(t,n),!n.isCanceled&&V(t)},onClick(e){e.stopPropagation()},onFocus(){F.current?.focus()},..._===void 0?Qe:{value:_}},ne=Y.useMemo(()=>({...x,checked:B,disabled:j,readOnly:f,required:p}),[x,B,j,f,p]),G=Na(`span`,e,{state:ne,ref:[t,F,ee],props:[U,y,H,e=>k.getValidationProps(j,e)],stateAttributesMapping:eb});return(0,J.jsxs)(Xy.Provider,{value:ne,children:[G,!B&&M&&g!==void 0&&(0,J.jsx)(`input`,{type:`hidden`,form:o,name:M,value:g,disabled:j}),(0,J.jsx)(`input`,{...W,suppressHydrationWarning:!0})]})}),nb=Y.forwardRef(function(e,t){let{render:n,className:r,style:i,...a}=e;return Na(`span`,e,{state:Zy(),ref:t,stateAttributesMapping:eb,props:a})});function rb({className:e,disabled:t=!1,...n}){return(0,J.jsx)(tb,{disabled:t,className:q(`inline-flex h-5 w-9 shrink-0 items-center rounded-full border border-border bg-muted p-0.5`,`transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--color-primary)]`,`data-[checked]:border-primary data-[checked]:bg-primary`,`data-[disabled]:pointer-events-none data-[disabled]:opacity-50`,e),...n,children:(0,J.jsx)(nb,{className:`block h-3.5 w-3.5 rounded-full bg-foreground/70 transition-transform data-[checked]:translate-x-4 data-[checked]:bg-primary-foreground`})})}function ib({className:e,...t}){return(0,J.jsx)(`div`,{"data-slot":`table-container`,className:`relative w-full overflow-x-auto`,children:(0,J.jsx)(`table`,{"data-slot":`table`,className:q(`w-full caption-bottom text-left text-sm`,e),...t})})}function ab({className:e,...t}){return(0,J.jsx)(`thead`,{"data-slot":`table-header`,className:q(`text-xs text-muted-foreground [&_tr]:border-b [&_tr]:border-border [&_tr:hover]:bg-transparent`,e),...t})}function ob({className:e,...t}){return(0,J.jsx)(`tbody`,{"data-slot":`table-body`,className:q(`[&_tr:last-child]:border-0`,e),...t})}function sb({className:e,...t}){return(0,J.jsx)(`tr`,{"data-slot":`table-row`,className:q(`border-b border-border transition-colors hover:bg-accent/60`,e),...t})}function cb({className:e,...t}){return(0,J.jsx)(`th`,{"data-slot":`table-head`,className:q(`h-9 whitespace-nowrap px-3 text-left align-middle font-normal first:pl-0 last:pr-0`,e),...t})}function lb({className:e,...t}){return(0,J.jsx)(`td`,{"data-slot":`table-cell`,className:q(`px-3 py-2 align-middle first:pl-0 last:pr-0`,e),...t})}function ub({className:e,...t}){return(0,J.jsx)(`label`,{"data-slot":`label`,className:q(`flex flex-wrap items-center gap-x-2 gap-y-0.5 text-sm leading-snug has-[[data-disabled]]:opacity-50`,e),...t})}var db=Y.createContext(void 0),fb=Y.createContext(void 0);function pb(){let e=Y.useContext(db);if(e===void 0)throw Error(et(60));return e}function mb(){let e=Y.useContext(fb);if(e===void 0)throw Error(et(61));return e}var hb={id:e=>e.id,labelId:e=>e.labelId,modal:e=>e.modal,multiple:e=>e.multiple,disabled:e=>e.disabled,readOnly:e=>e.readOnly,required:e=>e.required,highlightItemOnHover:e=>e.highlightItemOnHover,items:e=>e.items,itemToStringLabel:e=>e.itemToStringLabel,isItemEqualToValue:e=>e.isItemEqualToValue,value:e=>e.value,hasSelectedValue:e=>{let{value:t,multiple:n,itemToStringValue:r}=e;return t==null?!1:n&&Array.isArray(t)?t.length>0:eh(t,r)!==``},hasNullItemLabel:(e,t)=>t?Qm(e.items):!1,open:e=>e.open,mounted:e=>e.mounted,forceMount:e=>e.forceMount,transitionStatus:e=>e.transitionStatus,openMethod:e=>e.openMethod,activeIndex:e=>e.activeIndex,selectedIndex:e=>e.selectedIndex,isActive:(e,t)=>e.activeIndex===t,isSelected:(e,t)=>{let n=e.isItemEqualToValue,r=e.value;return e.multiple?Array.isArray(r)&&r.some(e=>q_(t,e,n)):q_(t,r,n)},isSelectedByFocus:(e,t)=>e.selectedIndex===t,popupProps:e=>e.popupProps,triggerProps:e=>e.triggerProps,itemRoot:e=>e.itemRoot,triggerElement:e=>e.triggerElement,positionerElement:e=>e.positionerElement,listElement:e=>e.listElement,popupSide:e=>e.popupSide,scrollUpArrowVisible:e=>e.scrollUpArrowVisible,scrollDownArrowVisible:e=>e.scrollDownArrowVisible,hasScrollArrows:e=>e.hasScrollArrows};function gb(e){let{id:t,value:n,defaultValue:r=null,onValueChange:i,open:a,defaultOpen:o=!1,onOpenChange:s,name:c,form:l,autoComplete:u,disabled:d=!1,readOnly:f=!1,required:p=!1,modal:m=!0,actionsRef:h,inputRef:g,onOpenChangeComplete:_,items:v,multiple:y=!1,itemToStringLabel:b,itemToStringValue:x,isItemEqualToValue:S=K_,highlightItemOnHover:C=!0,children:w}=e,{clearErrors:T}=jf(),{setDirty:E,setTouched:D,setFocused:O,validityData:k,setFilled:A,name:j,disabled:M,validation:N,validationMode:P}=Ef(),F=rp({id:t}),I=M||d,L=j??c,[R,z]=Rd({controlled:n,default:y?r??Ze:r,name:`Select`,state:`value`}),[B,V]=Rd({controlled:a,default:o,name:`Select`,state:`open`}),H=Y.useRef([]),ee=Y.useRef([]),te=Y.useRef(null),U=Y.useRef(null),W=Y.useRef(0),ne=Y.useRef(null),G=Y.useRef([]),re=Y.useRef(!1),ie=Y.useRef(null),ae=Y.useRef(null),oe=Y.useRef({allowSelectedMouseUp:!1,allowUnselectedMouseUp:!1,dragY:0}),se=Y.useRef(!1),ce=Y.useRef(R),{openMethod:le,triggerProps:ue}=Sm(B),de=Ve(()=>new is({id:F,labelId:void 0,modal:m,multiple:y,disabled:I,readOnly:f,required:p,highlightItemOnHover:C,itemToStringLabel:b,itemToStringValue:x,isItemEqualToValue:S,value:R,open:B,mounted:B,transitionStatus:void 0,items:v,forceMount:!1,openMethod:null,activeIndex:null,selectedIndex:null,popupProps:Qe,triggerProps:Qe,itemRoot:{props:Qe,multiple:y,disabled:I,readOnly:f,isItemEqualToValue:S},triggerElement:null,positionerElement:null,listElement:null,popupSide:null,scrollUpArrowVisible:!1,scrollDownArrowVisible:!1,hasScrollArrows:!1},{setValue:Xe,setOpen:Xe,handleScrollArrowVisibility:Xe,onOpenChangeComplete:Xe,listRef:H,popupRef:te,scrollHandlerRef:U,scrollArrowsMountedCountRef:W,valueRef:ne,valuesRef:G,labelsRef:ee,typingRef:re,selectionRef:oe,firstItemTextRef:ie,selectedItemTextRef:ae,alignItemWithTriggerActiveRef:se,initialValueRef:ce},hb)).current,[fe,pe]=Y.useState(!1),{mounted:me,transitionStatus:he,forceUnmount:ge}=Ao({open:B,ref:te,preventUnmountOnClose:fe,setPreventUnmountOnClose:pe,onUnmount(){de.update({activeIndex:null,openMethod:null,scrollUpArrowVisible:!1,scrollDownArrowVisible:!1}),_?.(!1)}}),_e=de.useState(`activeIndex`),ve=de.useState(`selectedIndex`),ye=de.useState(`triggerElement`),be=de.useState(`positionerElement`),xe=Pl(le),Se=le??xe,Ce=Y.useMemo(()=>y?``:eh(R,x),[y,R,x]),K=Y.useMemo(()=>y&&Array.isArray(R)?R.map(e=>eh(e,x)):eh(R,x),[y,R,x]);Df(Cr(ye),F,R,$(()=>K),!I,c);let we=y?Array.isArray(R)&&R.length>0:R!=null&&Ce!==``;X(()=>{A(we)},[we,A]),X(function(){let e=Q_(G.current,R,S,y);e===null&&(ae.current=null),!B&&de.set(`selectedIndex`,e)},[y,B,R,S,de]),Ff(R,()=>{T(L),E(J_(R,k.initialValue,S)),N.change(R)});let Te=$((e,t)=>{let n=t,r=Ro(n);s?.(e,n),!t.isCanceled&&(e||pe(r()),V(e),!e&&(t.reason===`focus-out`||t.reason===`outside-press`)&&(D(!0),O(!1),P===`onBlur`&&N.commit(R)))});Y.useImperativeHandle(h,()=>({unmount:ge,close:()=>{de.state.open&&Te(!1,Q(lr))}}),[ge,Te,de]);let Ee=$((e,t)=>{i?.(e,t),!t.isCanceled&&z(e)}),De=$(e=>{let t=jh(e.scrollHeight,e.clientHeight),n=Mh(e.scrollTop,t),r=n>0,i=n<t;de.set(`scrollUpArrowVisible`,r),de.set(`scrollDownArrowVisible`,i)}),Oe=hs({open:B,onOpenChange:Te,elements:{reference:ye,floating:be}}),ke=go(Oe,{enabled:!I,event:`mousedown`}),Ae=So(Oe),je=Ms(Oe,{enabled:!I,listRef:H,activeIndex:_e,selectedIndex:ve,disabledIndices:Ze,onNavigate(e){e===null&&!B||de.set(`activeIndex`,e)},focusItemOnHover:C}),Me=Ns(Oe,{enabled:!I&&(B||!f&&!y),listRef:ee,activeIndex:_e,selectedIndex:ve,disabledIndices:e=>uf(H.current[e]),onMatch(e){B?de.set(`activeIndex`,e):Ee(G.current[e],Q(Un))},onTyping(e){re.current=e}}),Ne=Y.useMemo(()=>ba(Me.reference,je.reference,Ae.reference,ke.reference,ue),[ke.reference,Me.reference,je.reference,Ae.reference,ue]),Pe=Y.useMemo(()=>ba(jo,Me.floating,je.floating,Ae.floating),[Me.floating,je.floating,Ae.floating]),Fe=je.item??Qe,Ie=Y.useMemo(()=>({props:Fe,multiple:y,disabled:I,readOnly:f,isItemEqualToValue:S}),[Fe,y,I,f,S]);de.useContextCallback(`setValue`,Ee),de.useContextCallback(`setOpen`,Te),de.useContextCallback(`handleScrollArrowVisibility`,De),de.useContextCallback(`onOpenChangeComplete`,_),W_(()=>{de.update({popupProps:Pe,triggerProps:Ne,itemRoot:Ie})}),de.useSyncedValues({id:F,modal:m,multiple:y,disabled:I,readOnly:f,required:p,highlightItemOnHover:C,value:R,open:B,mounted:me,transitionStatus:he,popupProps:Pe,triggerProps:Ne,itemRoot:Ie,items:v,itemToStringLabel:b,itemToStringValue:x,isItemEqualToValue:S,openMethod:Se});let Le=_r(g,N.inputRef),q=y?void 0:L,Re=Y.useMemo(()=>!y||!Array.isArray(R)||!L?null:R.map(e=>{let t=eh(e,x);return(0,J.jsx)(`input`,{type:`hidden`,form:l,name:L,value:t,disabled:I},t)}),[y,R,l,L,x,I]);return(0,J.jsxs)(db.Provider,{value:de,children:[(0,J.jsx)(fb.Provider,{value:Oe,children:w}),(0,J.jsx)(`input`,{...N.getValidationProps(I,{onFocus(){de.state.triggerElement?.focus({focusVisible:!0})},onChange(e){if(e.nativeEvent.defaultPrevented||I||f)return;let t=e.currentTarget.value,n=Q(Un,e.nativeEvent);function r(){if(y)return;let e=t.toLowerCase(),r=G.current.findIndex(t=>eh(t,x).toLowerCase()===e||$m(t,b).toLowerCase()===e);r===-1&&(r=G.current.findIndex((t,n)=>{let r=ee.current[n];return r!=null&&r.toLowerCase()===e}));let i=G.current[r];i!=null&&Ee(i,n)}de.set(`forceMount`,!0),queueMicrotask(r)}}),id:F&&q==null?`${F}-hidden-input`:void 0,form:l,name:q,autoComplete:u,value:Ce,disabled:I,required:p&&!(y&&we),readOnly:f,ref:Le,style:L?Lr:Ir,tabIndex:-1,"aria-hidden":!0,suppressHydrationWarning:!0}),Re]})}var _b=`data-popup-side`,vb=400,yb={...Tn,...Cf,popupSide:e=>e?{[_b]:e}:null,value:()=>null},bb=Y.forwardRef(function(e,t){let{render:n,className:r,id:i,disabled:a=!1,nativeButton:o=!0,style:s,...c}=e,{setTouched:l,validationMode:u,validation:d,state:f,disabled:p}=Ef(),{labelId:m}=kf(),h=pb(),g=h.useState(`readOnly`),_=h.useState(`required`),v=h.useState(`disabled`),y=p||v||a,b=h.useState(`open`),x=h.useState(`mounted`),S=h.useState(`value`),C=h.useState(`triggerProps`),w=h.useState(`positionerElement`),T=h.useState(`listElement`),E=h.useState(`popupSide`),D=h.useState(`id`),O=h.useState(`labelId`),k=h.useState(`hasSelectedValue`),A=x&&w?E:null,j=i??D,M=nv(m,O);rp({id:i});let N=Cr(w),P=Y.useRef(null),F=Zf(y,P),{getButtonProps:I,buttonRef:L}=Gf({disabled:y,native:o}),R=h.useStateSetter(`triggerElement`),z=ot(),B=ot(),V=ot();Y.useEffect(()=>{if(b)return V.start(vb,()=>{h.context.selectionRef.current.allowUnselectedMouseUp=!0,h.context.selectionRef.current.allowSelectedMouseUp=!0}),()=>{V.clear()};h.context.selectionRef.current={allowSelectedMouseUp:!1,allowUnselectedMouseUp:!1,dragY:0},B.clear()},[b,h,B,V]);let H=ba(C,{id:j,role:`combobox`,"aria-expanded":b,"aria-haspopup":`listbox`,"aria-controls":b?T?.id??In(w)?.id:void 0,"aria-labelledby":M,"aria-readonly":g||void 0,"aria-required":_||void 0,tabIndex:y?-1:0,onFocus(e){F(!0),b&&h.context.alignItemWithTriggerActiveRef.current&&h.context.setOpen(!1,Q(Un,e.nativeEvent)),z.start(0,()=>{h.set(`forceMount`,!0)})},onBlur(e){Z(w,e.relatedTarget)||(l(!0),F(!1),u===`onBlur`&&d.commit(S))},onMouseDown(e){if(b)return;let t=Pr(e.currentTarget);function n(e){if(!P.current)return;let t=e.target;Z(P.current,t)||Z(N.current,t)||Im(e,P.current)||h.context.setOpen(!1,Q(or,e))}B.start(0,()=>{t.addEventListener(`mouseup`,n,{once:!0})})}},c,I),ee=d.getValidationProps(y,H);ee.role=`combobox`;let te={...f,open:b,disabled:y,value:S,readOnly:g,popupSide:A,placeholder:!k};return Na(`button`,e,{ref:[t,P,L,R],state:te,stateAttributesMapping:yb,props:ee})}),xb={value:()=>null},Sb=Y.forwardRef(function(e,t){let{className:n,render:r,children:i,placeholder:a,style:o,...s}=e,c=pb(),l=c.useState(`value`),u=c.useState(`items`),d=c.useState(`itemToStringLabel`),f=c.useState(`hasSelectedValue`),p=!f&&a!=null&&i==null,m=c.useState(`hasNullItemLabel`,p),h={value:l,placeholder:!f},g=null;return g=typeof i==`function`?i(l):i??(p&&!m?a:Array.isArray(l)?nh(l,u,d):th(l,u,d)),Na(`span`,e,{state:h,ref:[t,c.context.valueRef],props:[{children:g},s],stateAttributesMapping:xb})}),Cb=Y.forwardRef(function(e,t){let{render:n,className:r,style:i,...a}=e;return Na(`span`,e,{state:{open:pb().useState(`open`)},ref:t,props:[{"aria-hidden":!0,children:`▼`},a],stateAttributesMapping:wn})}),wb=Y.forwardRef(function(e,t){let n=pb(),r=n.useState(`mounted`),i=n.useState(`forceMount`);return r||i?(0,J.jsx)(Ya,{ref:t,...e}):null}),Tb=Y.createContext(void 0);function Eb(){let e=Y.useContext(Tb);if(!e)throw Error(et(59));return e}function Db(e,t){e&&Object.assign(e.style,t)}var Ob={position:`relative`,maxHeight:`100%`,overflowX:`hidden`,overflowY:`auto`},kb={position:`fixed`},Ab=Y.forwardRef(function(e,t){let{anchor:n,className:r,render:i,positionMethod:a,side:o,align:s,sideOffset:c,alignOffset:l,collisionBoundary:u=`clipping-ancestors`,collisionPadding:d,arrowPadding:f,sticky:p,disableAnchorTracking:m,alignItemWithTrigger:h=!0,collisionAvoidance:g=Ha,style:_,...v}=e,y=pb(),b=mb(),x=y.useState(`open`),S=y.useState(`mounted`),C=y.useState(`modal`),w=y.useState(`value`),T=y.useState(`openMethod`),E=y.useState(`positionerElement`),D=y.useState(`triggerElement`),O=y.useState(`isItemEqualToValue`),k=y.useState(`transitionStatus`),A=Y.useRef(null),j=Y.useRef(null),[M,N]=Y.useState(h),P=S&&M&&T!==`touch`;!S&&M!==h&&N(h),Y.useImperativeHandle(y.context.alignItemWithTriggerActiveRef,()=>P),gm((P||C)&&x,T===`touch`,E,D);let F=Tl({anchor:n,floatingRootContext:b,positionMethod:a,mounted:S,side:o,sideOffset:c,align:s,alignOffset:l,arrowPadding:f,collisionBoundary:u,collisionPadding:d,sticky:p,disableAnchorTracking:m??P,collisionAvoidance:g,keepMounted:!0}),I=P?`none`:F.side,L=P?kb:F.positionerStyles,R={open:x,side:I,align:F.align,anchorHidden:F.anchorHidden};X(()=>{y.set(`popupSide`,F.side)},[y,F.side]);let z=kl(e,R,{styles:L,transitionStatus:k,props:v,refs:[t,y.useStateSetter(`positionerElement`)],hidden:!S,inert:!x}),B=Y.useRef(0),V=$(e=>{if(y.context.valuesRef.current.length===0)return;let t=B.current;B.current=e.size;let n=Q(Un);if(t!==0&&!y.state.multiple&&w!==null&&X_(y.context.valuesRef.current,w,O)===-1){let e=y.context.initialValueRef.current,t=e!=null&&X_(y.context.valuesRef.current,e,O)!==-1?e:null;y.context.setValue(t,n),t===null&&(y.set(`selectedIndex`,null),y.context.selectedItemTextRef.current=null)}if(t!==0&&y.state.multiple&&Array.isArray(w)){let e=w.filter(e=>X_(y.context.valuesRef.current,e,O)!==-1);e.length!==w.length&&(y.context.setValue(e,n),e.length===0&&(y.set(`selectedIndex`,null),y.context.selectedItemTextRef.current=null))}if(x&&P){y.update({scrollUpArrowVisible:!1,scrollDownArrowVisible:!1});let e={height:``};Db(E,e),Db(y.context.popupRef.current,e)}}),H=Y.useMemo(()=>({...F,side:I,alignItemWithTriggerActive:P,setControlledAlignItemWithTrigger:N,scrollUpArrowRef:A,scrollDownArrowRef:j}),[F,I,P,N]);return(0,J.jsx)(nf,{elementsRef:y.context.listRef,labelsRef:y.context.labelsRef,onMapChange:V,children:(0,J.jsxs)(Tb.Provider,{value:H,children:[S&&C&&(0,J.jsx)(nm,{inert:Nl(!x),cutout:D}),z]})})}),jb=`--transform-origin`,Mb={...En,...pn},Nb=Y.forwardRef(function(e,t){let{render:n,className:r,style:i,finalFocus:a,...o}=e,s=pb(),c=s.useState(`multiple`),l=s.useState(`readOnly`),u=s.useState(`highlightItemOnHover`),d=mb(),{side:f,align:p,alignItemWithTriggerActive:m,isPositioned:h,setControlledAlignItemWithTrigger:g}=Eb(),_=Up(!0)!=null,v=dl(),{nonce:y,disableStyleElements:b}=vh(),x=s.useState(`id`),S=s.useState(`open`),C=s.useState(`openMethod`),w=s.useState(`mounted`),T=s.useState(`popupProps`),E=s.useState(`transitionStatus`),D=s.useState(`triggerElement`),O=s.useState(`positionerElement`),k=s.useState(`listElement`),A=Y.useRef(!1),j=Y.useRef(!1),M=Y.useRef({}),N=Nr(),P=$(e=>{if(!O||!s.context.popupRef.current||!j.current)return;let t=O.style.top===`0px`,n=O.style.bottom===`0px`;if(A.current||!m||!t&&!n){s.context.handleScrollArrowVisibility(e);return}let r=Ib(O),i=Lb(O.getBoundingClientRect().height,`y`,r),a=Pr(O),o=At(O),c=o.getComputedStyle(O),l=parseFloat(c.marginTop),u=parseFloat(c.marginBottom),d=Pb(o.getComputedStyle(s.context.popupRef.current)),f=Math.min(a.documentElement.clientHeight-l-u,d),p=e.scrollTop,h=Fb(e),g=null,_=e=>{O.style.height=`${e}px`},v=t?h-p:p,y=Math.min(i+v,f);if(v<=1){let n=Oh(v,0,f-i);n>0&&_(i+n),e.scrollTop=t?h:0,f-(i+n)<=1&&(A.current=!0),s.context.handleScrollArrowVisibility(e);return}f-y>1?g=t?1/0:0:n&&p<h&&(g=p-(v-(i+v-f)));let b=Math.ceil(y);if(b!==0&&_(b),g!=null){let t=Oh(g,0,Fb(e));Math.abs(e.scrollTop-t)>1&&(e.scrollTop=t)}b>=f-1&&(A.current=!0),s.context.handleScrollArrowVisibility(e)});Y.useImperativeHandle(s.context.scrollHandlerRef,()=>P,[P]),ko({open:S,ref:s.context.popupRef,onComplete(){S&&s.context.onOpenChangeComplete(!0)}});let F={open:S,transitionStatus:E,side:f,align:p};X(()=>{!O||!s.context.popupRef.current||Object.keys(M.current).length||(M.current={top:O.style.top||`0`,left:O.style.left||`0`,right:O.style.right,height:O.style.height,bottom:O.style.bottom,minHeight:O.style.minHeight,maxHeight:O.style.maxHeight,marginTop:O.style.marginTop,marginBottom:O.style.marginBottom})},[s,O]),X(()=>{S||m||(j.current=!1,A.current=!1,Db(O,M.current))},[S,m,O]),X(()=>{let e=s.context.popupRef.current;if(!S||!D||!O||!e||m&&!h||s.state.transitionStatus===`ending`)return;if(j.current=!0,e.style.removeProperty(jb),!m){N.request(()=>s.context.handleScrollArrowVisibility(k||e));return}let t=Bb(e);try{let t=s.context.selectedItemTextRef.current;t?.isConnected||(t=!s.select(`hasSelectedValue`)&&s.context.firstItemTextRef.current?.isConnected?s.context.firstItemTextRef.current:null);let n=s.context.valueRef.current,r=At(O),i=r.getComputedStyle(O),a=r.getComputedStyle(e),o=Pr(D),c=Ib(D),l=Rb(D.getBoundingClientRect(),c),d=Rb(O.getBoundingClientRect(),c),f=l.height,p=k||e,m=p.scrollHeight,h=parseFloat(a.borderBottomWidth),_=parseFloat(i.marginTop)||10,y=parseFloat(i.marginBottom)||10,b=parseFloat(i.minHeight)||100,x=Pb(a),S=o.documentElement.clientHeight-_-y,C=o.documentElement.clientWidth,w=S-l.bottom+f,T,E=v===`rtl`?l.right-d.width:l.left,j=0;if(t&&n){let e=Rb(n.getBoundingClientRect(),c);T=Rb(t.getBoundingClientRect(),c),E=d.left+(v===`rtl`?e.right-T.right:e.left-T.left);let r=e.top-l.top+e.height/2;j=T.top-d.top+T.height/2-r}let N=w+j+y+h,P=Math.min(S,N),F=S-_-y,I=N-P,L=C-5;O.style.left=`${Oh(E,5,L-d.width)}px`,O.style.height=`${P}px`,O.style.maxHeight=`none`,O.style.marginTop=`${_}px`,O.style.marginBottom=`${y}px`,e.style.height=`100%`;let R=Fb(p),z=I>=R-1;z&&(P=Math.min(S,d.height)-(I-R));let B=l.top<20||l.bottom>S-20||Math.ceil(P)+1<Math.min(m,b),V=(r.visualViewport?.scale??1)!==1&&vt;if(B||V){Db(O,M.current),g(!1);return}let H=Math.max(b,P);if(z){let e=Math.max(0,S-N);O.style.top=d.height>=F?`0`:`${e}px`,O.style.height=`${P}px`,p.scrollTop=Fb(p)}else O.style.bottom=`0`,p.scrollTop=I;if(T){let t=d.top,n=d.height,r=T.top+T.height/2,i=Oh(n>0?(r-t)/n*100:50,0,100);e.style.setProperty(jb,`50% ${i}%`)}(H===S||P>=x)&&(A.current=!0),s.context.handleScrollArrowVisibility(p),u&&s.state.selectedIndex===null&&s.state.activeIndex===null&&s.context.listRef.current[0]!=null&&s.set(`activeIndex`,0)}finally{t()}},[s,S,O,D,m,g,N,k,u,v,h]),Y.useEffect(()=>{if(!m||!O||!S)return;let e=At(O);function t(e){s.context.setOpen(!1,Q(ur,e))}return hr(e,`resize`,t)},[s,m,O,S]);let I={...k?{role:`presentation`}:{role:`listbox`,"aria-multiselectable":c||void 0,"aria-readonly":l||void 0,id:`${x}-list`},onKeyDown(e){_&&Kd.has(e.key)&&e.stopPropagation()},onScroll(e){k||P(e.currentTarget)},...m&&{style:k?{height:`100%`}:Ob},className:!k&&m?sh.className:void 0},L=Na(`div`,e,{ref:[t,s.context.popupRef],state:F,stateAttributesMapping:Mb,props:[T,I,Ol(E),o]});return(0,J.jsxs)(Y.Fragment,{children:[!b&&sh.getElement(y),(0,J.jsx)(ho,{context:d,modal:!1,disabled:!w,openInteractionType:C,returnFocus:a,restoreFocus:!0,children:L})]})});function Pb(e){let t=e.maxHeight;return t.endsWith(`px`)&&parseFloat(t)||1/0}function Fb(e){return jh(e.scrollHeight,e.clientHeight)}function Ib(e){return wc.getScale(e)}function Lb(e,t,n){return e/n[t]}function Rb(e,t){return di({x:Lb(e.x,`x`,t),y:Lb(e.y,`y`,t),width:Lb(e.width,`x`,t),height:Lb(e.height,`y`,t)})}var zb=[[`transform`,`none`],[`scale`,`1`],[`translate`,`0 0`]];function Bb(e){let{style:t}=e,n={};for(let[e,r]of zb)n[e]=t.getPropertyValue(e),t.setProperty(e,r,`important`);return()=>{for(let[e]of zb){let r=n[e];r?t.setProperty(e,r):t.removeProperty(e)}}}var Vb=Y.createContext(void 0);function Hb(){let e=Y.useContext(Vb);if(!e)throw Error(et(57));return e}var Ub=Y.memo(Y.forwardRef(function(e,t){let{render:n,className:r,style:i,value:a=null,label:o,disabled:s=!1,nativeButton:c=!1,...l}=e,u=Y.useRef(null),d=Jf({guess:!0,label:o,textRef:u}),f=pb(),{props:p,multiple:m,disabled:h,readOnly:g,isItemEqualToValue:_}=f.useState(`itemRoot`),v=h||s,y=f.useState(`isActive`,d.index),b=f.useState(`open`),x=f.useState(`isSelected`,a),S=f.useState(`isSelectedByFocus`,d.index),C=d.index,w=Y.useRef(null);X(()=>{let e=f.context.valuesRef.current;return e[C]=a,()=>{delete e[C]}},[C,a,f]),X(()=>{let e=f.state.value,t=f.state.selectedIndex,n=t,r;m&&Array.isArray(e)?(n=$_(C,a,f.context.valuesRef.current,e,_,t),r=n===C,C===t&&!r&&(f.context.selectedItemTextRef.current=null)):(r=e!==void 0&&q_(a,e,_),r&&(n=C)),f.set(`selectedIndex`,n),r&&u.current&&(f.context.selectedItemTextRef.current=u.current)},[C,m,_,f,a]);let T=Y.useRef(`mouse`),E=Y.useRef(!1),{getButtonProps:D,buttonRef:O}=Gf({disabled:v,focusableWhenDisabled:!0,native:c,composite:!0}),k={disabled:v,selected:x,highlighted:y};function A(e){if(h||g)return;let t=f.state.value;if(m){let n=Array.isArray(t)?t:[],r=x?ev(n,a,_):[...n,a];f.context.setValue(r,Q(Jn,e))}else f.context.setValue(a,Q(Jn,e)),f.context.setOpen(!1,Q(Jn,e))}function j(){f.context.selectionRef.current.dragY=0}let M={role:`option`,"aria-selected":x,tabIndex:b&&y?0:-1,onKeyDown(e){f.set(`activeIndex`,C),e.key===` `&&f.context.typingRef.current&&e.preventDefault()},onClick(e){let t=T.current!==`touch`,n=e.nativeEvent.pointerType,r=t&&wt(e.nativeEvent)&&(n!==void 0||y),i=t&&!r&&!E.current;E.current=!1,!(v||i)&&A(e.nativeEvent)},onPointerEnter(e){T.current=e.pointerType},onPointerMove(e){if(e.pointerType===`mouse`&&e.buttons===1){let t=f.context.selectionRef.current;t.dragY+=e.movementY,t.dragY**2>=64&&(t.allowUnselectedMouseUp=!0)}},onPointerDown(e){T.current=e.pointerType,E.current=!0,j()},onMouseUp(){if(j(),v||T.current===`touch`||E.current)return;let e=!f.context.selectionRef.current.allowSelectedMouseUp&&x,t=!f.context.selectionRef.current.allowUnselectedMouseUp&&!x;e||t||(E.current=!0,w.current?.click(),E.current=!1)}},N=Na(`div`,e,{ref:[O,t,d.ref,w],state:k,props:[p,M,l,D]}),P=Y.useMemo(()=>({selected:x,index:C,textRef:u,selectedByFocus:S}),[x,C,u,S]);return(0,J.jsx)(Vb.Provider,{value:P,children:N})})),Wb=Y.forwardRef(function(e,t){let{selected:n}=Hb();return e.keepMounted||n?(0,J.jsx)(rv,{...e,selected:n,ref:t}):null}),Gb=Y.memo(Y.forwardRef(function(e,t){let{index:n,textRef:r,selectedByFocus:i}=Hb(),a=pb(),{render:o,className:s,style:c,...l}=e;return Na(`div`,e,{ref:[Y.useCallback(e=>{e&&(n===0&&(a.context.firstItemTextRef.current=e),i&&(a.context.selectedItemTextRef.current=e))},[a,n,i]),t,r],props:l})})),Kb=gb;function qb(e){return(0,J.jsx)(Sb,{"data-slot":`select-value`,...e})}function Jb({className:e,size:t=`default`,children:n,...r}){return(0,J.jsxs)(bb,{"data-slot":`select-trigger`,className:q(`inline-flex min-w-0 max-w-full cursor-pointer items-center justify-between gap-2 rounded-md border border-border bg-background text-left text-sm shadow-sm outline-none transition-colors`,`hover:bg-accent hover:text-accent-foreground focus-visible:ring-2 focus-visible:ring-[var(--color-primary)]`,`data-[popup-open]:bg-accent data-[popup-open]:text-accent-foreground`,`data-[disabled]:pointer-events-none data-[disabled]:opacity-50`,t===`sm`?`h-8 px-2`:`h-9 px-3`,typeof e==`string`?e:void 0),...r,children:[(0,J.jsx)(`span`,{className:`min-w-0 truncate`,children:n}),(0,J.jsx)(Cb,{className:`shrink-0 text-muted-foreground`,children:(0,J.jsx)(vu,{className:`h-3.5 w-3.5`,"aria-hidden":!0})})]})}function Yb({className:e,sideOffset:t=4,align:n=`start`,children:r,...i}){return(0,J.jsx)(wb,{children:(0,J.jsx)(Ab,{sideOffset:t,align:n,alignItemWithTrigger:!1,className:`z-50 outline-none`,children:(0,J.jsx)(Nb,{"data-slot":`select-content`,className:q(`max-h-[min(var(--available-height),20rem)] min-w-[var(--anchor-width)] max-w-[var(--available-width)] overflow-y-auto p-1.5`,eg,typeof e==`string`?e:void 0),...i,children:r})})})}function Xb({className:e,children:t,...n}){return(0,J.jsxs)(Ub,{"data-slot":`select-item`,className:q(`relative flex cursor-pointer select-none items-center rounded-lg py-1.5 pl-2 pr-8 text-sm font-medium outline-none`,`data-[highlighted]:bg-accent data-[highlighted]:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50`,typeof e==`string`?e:void 0),...n,children:[(0,J.jsx)(Gb,{children:t}),(0,J.jsx)(Wb,{className:`absolute right-2 flex items-center`,children:(0,J.jsx)(_u,{className:`h-3.5 w-3.5`,"aria-hidden":!0})})]})}var Zb=Y.createContext(void 0);function Qb(e){let t=Y.useContext(Zb);if(t===void 0&&!e)throw Error(et(47));return t}var $b={...ps,disabled:e=>e.disabled,instantType:e=>e.instantType===`trigger-change`&&!ps.open(e)?void 0:e.instantType,openMethod:e=>e.openMethod,openChangeReason:e=>e.openChangeReason,isPressOpenedByTrigger:(e,t)=>e.openChangeReason===`trigger-press`&&ps.isOpenedByTrigger(e,t),isTouchPressOpen:(e,t)=>t&&e.openMethod===`touch`&&e.openChangeReason===`trigger-press`,hasTriggerFocusGuards:(e,t)=>ps.isOpenedByTrigger(e,t)&&!e.focusManagerModal,modal:e=>e.modal,titleElementId:e=>e.titleElementId,descriptionElementId:e=>e.descriptionElementId,openOnHover:e=>e.openOnHover,closeDelay:e=>e.closeDelay,adaptiveOrigin:e=>e.adaptiveOrigin},ex=class extends is{constructor(e,t,n){let r=new Go;super(tx(e,r,t,n),nx(r),$b)}setOpen=(e,t)=>{let n=t.reason===Gn,r=t.reason===`trigger-press`&&t.event.detail===0,i=!e&&(t.reason===`escape-key`||t.reason==null),a=Ro(t),o=this.select(`activeTriggerId`);if(!e&&t.reason===`close-press`&&t.trigger==null&&o!=null&&(t.trigger=this.context.triggerElements.getById(o)??this.select(`activeTriggerElement`)??void 0),this.context.onOpenChange?.(e,t),t.isCanceled)return;this.state.floatingRootContext.dispatchOpenChange(e,t);let s=()=>{let n=Lo(this.state,e,t.trigger,a());n.openChangeReason=t.reason,this.update(n)};n?(this.context.stickIfOpen=!0,this.context.stickIfOpenTimeout.start(500,()=>{this.context.stickIfOpen=!1}),He.flushSync(s)):s();let c;r?c=`click`:i?c=`dismiss`:t.reason===`focus-out`&&(c=`focus`),this.set(`instantType`,c)}};function tx(e,t,n,r=!1){let i={...ss(t,n,r),disabled:!1,modal:!1,focusManagerModal:!1,instantType:void 0,openMethod:null,openChangeReason:null,titleElementId:void 0,descriptionElementId:void 0,openOnHover:!1,closeDelay:0,adaptiveOrigin:void 0,...e};return i.open&&e?.mounted===void 0&&(i.mounted=!0),i}function nx(e){return{popupRef:Y.createRef(),onOpenChange:void 0,onOpenChangeComplete:void 0,triggerFocusTargetRef:Y.createRef(),beforeTriggerFocusGuardRef:Y.createRef(),beforeContentFocusGuardRef:Y.createRef(),stickIfOpenTimeout:new at,stickIfOpen:!0,triggerElements:e}}var rx=qe(function({props:e}){let{children:t,open:n,defaultOpen:r=!1,onOpenChange:i,onOpenChangeComplete:a,modal:o=!1,handle:s,triggerId:c,defaultTriggerId:l=null}=e,u=ax(s,{modal:o,open:r,openProp:n,activeTriggerId:l,triggerIdProp:c});u.useControlledProp(`openProp`,n),u.useControlledProp(`triggerIdProp`,c);let d=u.useState(`open`),f=u.useState(`mounted`),p=u.useState(`payload`);u.useContextCallback(`onOpenChange`,i),u.useContextCallback(`onOpenChangeComplete`,a),Wo(u,d),Vo(u);let{forceUnmount:m}=Ho(d,u,()=>{u.context.stickIfOpen=!0,u.set(`openChangeReason`,null)});u.useSyncedValues({modal:o}),Y.useEffect(()=>{d||u.context.stickIfOpenTimeout.clear()},[u,d]),Y.useImperativeHandle(e.actionsRef,()=>({unmount:m,close:()=>u.setOpen(!1,Q(lr))}),[m,u]);let h=d||f||s!=null;return(0,J.jsxs)(Zb.Provider,{value:u,children:[s&&(0,J.jsx)(Po,{handle:s,store:u}),h&&(0,J.jsx)(ox,{store:u,modal:o}),typeof t==`function`?t({payload:p}):t]})});function ix(e){return Qb(!0)?(0,J.jsx)(rx,{props:e}):(0,J.jsx)(io,{children:(0,J.jsx)(rx,{props:e})})}function ax(e,t){let n=No((e,n)=>new ex(t,e,n));return Y.useEffect(()=>n.context.stickIfOpenTimeout.disposeEffect(),[n]),n}function ox({store:e,modal:t}){let n=So(e.useState(`floatingRootContext`),{outsidePressEvent:{mouse:t===`trap-focus`?`sloppy`:`intentional`,touch:`sloppy`}}),r=n.reference,i=n.floating;return Uo(e,{activeTriggerProps:r,inactiveTriggerProps:r,popupProps:i}),null}var sx=Je(function(e,t){let{render:n,className:r,style:i,disabled:a=!1,nativeButton:o=!0,handle:s,payload:c,openOnHover:l=!1,delay:u=300,closeDelay:d=0,id:f,...p}=e,m=Qb(!0),h=ms(s)??m;if(!h)throw Error(et(74));let g=Zc(f),_=h.useState(`isTriggerActive`,g),v=h.useState(`floatingRootContext`),y=h.useState(`isOpenedByTrigger`,g),b=h.useState(`triggerPopupId`,g),x=Y.useRef(null),{registerTrigger:S,isMountedByThisTrigger:C}=Bo(g,x,h,{payload:c,disabled:a,openOnHover:l,closeDelay:d}),w=h.useState(`isPressOpenedByTrigger`,g),T=h.useState(`isTouchPressOpen`,l),E=h.useState(`hasTriggerFocusGuards`,g),D=Ts(v,{enabled:!a&&l&&!T,mouseOnly:!0,move:!1,handleClose:Vs(),restMs:u,delay:{close:d},triggerElementRef:x,isActiveTrigger:_,isClosing:()=>h.select(`transitionStatus`)===`ending`}),O=go(v,{stickIfOpen:$(()=>h.context.stickIfOpen)}),k=xm(()=>h.select(`open`),e=>{h.set(`openMethod`,e)}),A=h.useState(`triggerProps`,C),{getButtonProps:j,buttonRef:M}=Gf({disabled:a,native:o}),N={open(e){return w?Tn.open(e):wn.open(e)}},{handlePreFocusGuardFocus:P,handleFocusTargetFocus:F}=zm(h,x),I=Na(`button`,e,{state:{disabled:a,open:y},ref:[M,t,S,x],props:[O.reference,D,A,k,{[Va]:``,id:g,"aria-haspopup":`dialog`,"aria-expanded":y,"aria-controls":b},p,j],stateAttributesMapping:N}),L=(0,J.jsx)(Y.Fragment,{children:I},g);return E?(0,J.jsxs)(Y.Fragment,{children:[(0,J.jsx)(Rr,{ref:h.context.beforeTriggerFocusGuardRef,onFocus:P}),L,(0,J.jsx)(Rr,{ref:h.context.triggerFocusTargetRef,onFocus:F})]}):L}),cx=Y.createContext(void 0);function lx(){let e=Y.useContext(cx);if(e===void 0)throw Error(et(45));return e}var ux=Y.forwardRef(function(e,t){let{keepMounted:n=!1,...r}=e;return Qb().useState(`mounted`)||n?(0,J.jsx)(cx.Provider,{value:n,children:(0,J.jsx)(Ya,{ref:t,...r})}):null}),dx=Y.createContext(void 0);function fx(){let e=Y.useContext(dx);if(!e)throw Error(et(46));return e}var px=Y.forwardRef(function(e,t){let{render:n,className:r,style:i,anchor:a,positionMethod:o,side:s,align:c,sideOffset:l,alignOffset:u,collisionBoundary:d=`clipping-ancestors`,collisionPadding:f,arrowPadding:p,sticky:m,disableAnchorTracking:h=!1,collisionAvoidance:g=Ua,..._}=e,v=Qb(),y=lx(),b=no(),x=v.useState(`floatingRootContext`),S=v.useState(`mounted`),C=v.useState(`open`),w=v.useState(`openChangeReason`),T=v.useState(`activeTriggerElement`),E=v.useState(`modal`),D=v.useState(`openMethod`),O=v.useState(`positionerElement`),k=v.useState(`instantType`),A=v.useState(`transitionStatus`),j=Tl({anchor:a,floatingRootContext:x,positionMethod:o,mounted:S,side:s,sideOffset:l,align:c,alignOffset:u,arrowPadding:p,collisionBoundary:d,collisionPadding:f,sticky:m,disableAnchorTracking:h,keepMounted:y,nodeId:b,collisionAvoidance:g,adaptiveOrigin:v.useState(`adaptiveOrigin`)});rm({store:v,domReference:x.useState(`domReferenceElement`),positionerElement:O,open:C});let M=E===!0&&w!==`trigger-hover`;gm(C&&M,D===`touch`,O,T);let N=v.useStateSetter(`positionerElement`),P=kl(e,{open:C,side:j.side,align:j.align,anchorHidden:j.anchorHidden,instant:k},{styles:j.positionerStyles,transitionStatus:A,props:_,refs:[t,N],hidden:!S,inert:!C});return(0,J.jsxs)(dx.Provider,{value:j,children:[S&&M&&(0,J.jsx)(nm,{inert:Nl(!C),cutout:T}),(0,J.jsx)(ro,{id:b,children:P})]})}),mx=Y.createContext(void 0);function hx(){let[e,t]=Y.useState(0),n=$(()=>(t(e=>e+1),()=>{t(e=>Math.max(0,e-1))}));return{context:Y.useMemo(()=>({register:n}),[n]),hasClosePart:e>0}}var gx=Y.forwardRef(function(e,t){let{render:n,className:r,style:i,initialFocus:a,finalFocus:o,...s}=e,c=Qb(),l=fx(),u=Up(!0)!=null,{context:d,hasClosePart:f}=hx(),p=c.useState(`open`),m=c.useState(`openMethod`),h=c.useState(`instantType`),g=c.useState(`transitionStatus`),_=c.useState(`popupProps`),v=c.useState(`titleElementId`),y=c.useState(`descriptionElementId`),b=c.useState(`modal`),x=c.useState(`mounted`),S=c.useState(`openChangeReason`),C=c.useState(`activeTriggerElement`),w=c.useState(`floatingRootContext`),T=w.useState(`floatingId`),E=c.useState(`disabled`),D=c.useState(`openOnHover`),O=c.useState(`closeDelay`);ko({open:p,ref:c.context.popupRef,onComplete(){p&&c.context.onOpenChangeComplete?.(!0)}}),Cs(w,{enabled:D&&!E,closeDelay:O});let k=a===void 0?Mo(c.context.popupRef):a,A=b!==!1&&f;c.useSyncedValue(`focusManagerModal`,A);let j=c.useStateSetter(`popupElement`),M=Na(`div`,e,{state:{open:p,side:l.side,align:l.align,instant:h,transitionStatus:g},ref:[t,c.context.popupRef,j],props:[_,{id:T,role:`dialog`,...jo,"aria-labelledby":v,"aria-describedby":y,onKeyDown(e){u&&Kd.has(e.key)&&e.stopPropagation()}},Ol(g),s],stateAttributesMapping:Dn});return(0,J.jsx)(ho,{context:w,openInteractionType:m,modal:A,disabled:!x||S===`trigger-hover`,initialFocus:k,returnFocus:o,restoreFocus:`popup`,getInsideElements:()=>[c.context.beforeTriggerFocusGuardRef.current],previousFocusableElement:Pt(C)?C:void 0,nextFocusableElement:c.context.triggerFocusTargetRef,beforeContentFocusGuardRef:c.context.beforeContentFocusGuardRef,children:(0,J.jsx)(mx.Provider,{value:d,children:M})})}),_x=`data-[popup-open]:bg-[var(--color-accent)] data-[popup-open]:text-[var(--color-accent-foreground)]`,vx=ix;function yx({className:e,...t}){return(0,J.jsx)(sx,{className:typeof e==`function`?e:q(_x,e),...t})}function bx({className:e,sideOffset:t=6,align:n=`start`,children:r,...i}){return(0,J.jsx)(ux,{children:(0,J.jsx)(px,{sideOffset:t,align:n,className:`z-50 outline-none`,children:(0,J.jsx)(gx,{className:q(`rounded-md border border-[var(--color-border)] bg-[var(--color-card)] text-[var(--color-card-foreground)] shadow-md outline-none`,e),...i,children:(0,J.jsx)(Qh,{viewportClassName:`max-h-[var(--available-height)]`,children:(0,J.jsx)(`div`,{className:`p-3`,children:r})})})})})}function xx(e,t){return e-t}function Sx(e,t,n,r,i,a){let o=Oh(e,n,r);if(!i)return o;let s=a.slice();return s[t]=Oh(o,a[t-1]??-1/0,a[t+1]??1/0),s.sort(xx)}function Cx(e,t,n){if(!Array.isArray(e))return!0;let r=t*n;for(let t=0;t<e.length-1;t+=1)if(!(Math.abs(e[t]-e[t+1])>=r))return!1;return!0}var wx=()=>null,Tx={activeThumbIndex:wx,max:wx,min:wx,minStepsBetweenValues:wx,step:wx,values:wx,...Cf},Ex=Y.createContext(void 0);function Dx(){let e=Y.useContext(Ex);if(e===void 0)throw Error(et(62));return e}function Ox(e,t){return e===t||Array.isArray(e)&&Array.isArray(t)&&G_(e,t)}var kx=Y.forwardRef(function(e,t){let{"aria-labelledby":n,className:r,defaultValue:i,disabled:a=!1,id:o,format:s,largeStep:c=10,locale:l,render:u,max:d=100,min:f=0,minStepsBetweenValues:p=0,form:m,name:h,onValueChange:g,onValueCommitted:_,orientation:v=`horizontal`,step:y=1,thumbCollisionBehavior:b=`push`,thumbAlignment:x=`center`,value:S,style:C,...w}=e,T=Zc(o),E=tv(T),D=$(g),O=$(_),{clearErrors:k}=jf(),{state:A,disabled:j,name:M,setTouched:N,setDirty:P,validityData:F,validation:I}=Ef(),{labelId:L}=kf(),[R,z]=Y.useState(),B=n??nv(L,R),V=j||a,H=M??h,[ee,te]=Rd({controlled:S,default:i??f,name:`Slider`}),U=Y.useRef(null),W=Y.useRef(null),ne=Y.useRef([]),G=Y.useRef(null),re=Y.useRef(-1),ie=Y.useRef(null),ae=Y.useRef(Un),[oe,se]=Y.useState(-1),[ce,le]=Y.useState(-1),[ue,de]=Y.useState(!1),[fe,pe]=Y.useState(()=>new Map),[me,he]=Y.useState([void 0,void 0]),ge=$(e=>{se(e),e!==-1&&le(e)}),_e=$(e=>{e&&(W.current=e)}),ve=Array.isArray(ee),ye=Y.useMemo(()=>ve?ee.map(e=>Oh(e,f,d)).sort(xx):[Oh(ee,f,d)],[d,f,ve,ee]),be=ve?ye:ye[0];Df(I.inputRef,T,be,void 0,!V,h),Ff(be,()=>{k(H),I.change(be);let e=F.initialValue,t;t=Array.isArray(be)&&Array.isArray(e)?!G_(be,e):be!==e,P(t)});let xe=$((e,t)=>{if(Number.isNaN(e)||Ox(e,ee))return!1;let n=t.event,r=n.constructor,i=new r(n.type,n);return Object.defineProperty(i,"target",{writable:!0,value:{value:e,name:H}}),t.event=i,D(e,t),t.isCanceled?!1:(ae.current=t.reason,te(e),!0)}),Se=$((e,t,n)=>{let r=Sx(e,t,f,d,ve,ye);if(Cx(r,y,p)){let e=`key`in n?rr:Zn,i=xe(r,Q(e,n.nativeEvent,void 0,{activeThumbIndex:t}));N(!0),i&&O(r,Hn(e,n.nativeEvent))}});X(()=>{if(!V)return;let e=$t(Pr(U.current));Z(U.current,e)&&e.blur(),oe!==-1&&ge(-1)},[oe,V,ge]);let Ce=Y.useMemo(()=>({...A,activeThumbIndex:oe,disabled:V,dragging:ue,orientation:v,max:d,min:f,minStepsBetweenValues:p,step:y,values:ye}),[A,oe,V,ue,d,f,p,v,y,ye]),K=Y.useMemo(()=>({active:oe,controlRef:W,disabled:V,dragging:ue,validation:I,format:s,handleInputChange:Se,indicatorPosition:me,inset:x!==`center`,isArrayValue:ve,labelId:B,rootLabelId:E,largeStep:c,lastUsedThumbIndex:ce,lastChangeReasonRef:ae,form:m,locale:l,max:d,min:f,minStepsBetweenValues:p,name:H,onValueCommitted:O,orientation:v,pressedThumbCenterOffsetRef:G,pressedThumbIndexRef:re,pressedValuesRef:ie,registerFieldControlRef:_e,renderBeforeHydration:x===`edge`,setActive:ge,setDragging:de,setIndicatorPosition:he,setLabelId:z,setValue:xe,state:Ce,step:y,thumbCollisionBehavior:b,thumbMap:fe,thumbRefs:ne,values:ye}),[oe,B,E,V,ue,I,s,Se,me,c,ce,m,l,d,f,p,H,O,v,ve,_e,ge,xe,Ce,y,b,x,fe,ye]),we=Na(`div`,e,{state:Ce,ref:[t,U],props:[{"aria-labelledby":B,id:T,role:`group`},w,e=>I.getValidationProps(V,e)],stateAttributesMapping:Tx});return(0,J.jsx)(Ex.Provider,{value:K,children:(0,J.jsx)(nf,{elementsRef:ne,onMapChange:pe,children:we})})}),Ax=new Map;function jx(e,t){let n=JSON.stringify({locale:Jm(e),options:t}),r=Ax.get(n);if(r)return r;let i=new Intl.NumberFormat(e,t);return Ax.set(n,i),i}function Mx(e,t,n){return e==null?``:jx(t,n).format(e)}function Nx(e){return e===`touch`||e===`pen`}function Px(e,t){let n=e.getBoundingClientRect();return t?(n.top+n.bottom)/2:(n.left+n.right)/2}function Fx(e){if(e===0)return 0;if(Math.abs(e)<1){let t=e.toExponential().split(`e-`),n=t[0].split(`.`)[1];return(n?n.length:0)+parseInt(t[1],10)}let t=e.toString().split(`.`)[1];return t?t.length:0}function Ix(e,t,n){let r=Math.round((e-n)/t)*t+n;return Number(r.toFixed(Math.max(Fx(t),Fx(n))))}function Lx(e,t,n,r,i,a,o,s){let c=e.slice(),l=a*o,u=c.length-1,d=s??e;c[t]=Oh(n,r+t*l,i-(u-t)*l);for(let e=t+1;e<=u;e+=1){let t=c[e-1]+l,n=i-(u-e)*l,r=d[e],a=Math.max(c[e],t);r<a&&(a=Math.max(r,t)),c[e]=Oh(a,t,n)}for(let e=t-1;e>=0;--e){let t=c[e+1]-l,n=r+e*l,i=d[e],a=Math.min(c[e],t);i>a&&(a=Math.min(i,t)),c[e]=Oh(a,n,t)}for(let e=0;e<=u;e+=1)c[e]=Number(c[e].toFixed(12));return c}function Rx(e,t,n,r,i,a,o,s,c,l){let u=n??t,d=r??t;if(!(u.length>1))return{value:a,thumbIndex:0,didSwap:!1};let f=c*l;if(e===`push`)return{value:Lx(u,i,a,o,s,c,l),thumbIndex:i,didSwap:!1};let p=u.slice(),m=p[i-1],h=p[i+1],g=m==null?o:m+f,_=h==null?s:h-f,v=Number(Oh(a,g,_).toFixed(12));switch(p[i]=v,e){case`swap`:{let e=u[i],t=1e-7,n=a>e,r=a<e,g=n&&h!=null&&a>=h-t,_=r&&m!=null&&a<=m+t;if(!g&&!_)return{value:p,thumbIndex:i,didSwap:!1};let y=g?i+1:i-1,b=p.map((e,t)=>t===i?v:d[t]??u[t]),x=a;x=g?Math.max(a,p[y]):Math.min(a,p[y]);let S=Lx(p,y,x,o,s,c,l,b),C=g?y-1:y+1,w=S[C-1],T=S[C+1],E=w==null?o:w+f;E=Math.max(E,o+C*f);let D=T==null?s:T-f;D=Math.min(D,s-(S.length-1-C)*f);let O=Oh(v,E,D);return S[C]=Number(O.toFixed(12)),{value:S,thumbIndex:y,didSwap:!0}}default:return{value:p,thumbIndex:i,didSwap:!1}}}var zx=2;function Bx(e,t){if(!e)return{start:0,end:0};function n(e){let t=e==null?0:parseFloat(e);return Number.isNaN(t)?0:t}let r=t?`Top`:`InlineStart`,i=t?`Bottom`:`InlineEnd`;return{start:n(e[`border${r}Width`])+n(e[`padding${r}`]),end:n(e[`border${i}Width`])+n(e[`padding${i}`])}}function Vx(e,t){if(t.current!=null&&e.changedTouches){let n=e;for(let e=0;e<n.changedTouches.length;e+=1){let r=n.changedTouches[e];if(r.identifier===t.current)return{x:r.clientX,y:r.clientY}}return null}return{x:e.clientX,y:e.clientY}}var Hx=Y.forwardRef(function(e,t){let{render:n,className:r,style:i,...a}=e,{disabled:o,dragging:s,inset:c,isArrayValue:l,lastChangeReasonRef:u,max:d,min:f,minStepsBetweenValues:p,onValueCommitted:m,orientation:h,pressedThumbCenterOffsetRef:g,pressedThumbIndexRef:_,pressedValuesRef:v,registerFieldControlRef:y,renderBeforeHydration:b,setActive:x,setDragging:S,setValue:C,state:w,step:T,thumbCollisionBehavior:E,thumbRefs:D,values:O}=Dx(),k=dl(),A=O.length>1,j=h===`vertical`,M=Y.useRef(null),N=Y.useRef(null),P=$(e=>{e&&N.current==null&&(N.current=At(e).getComputedStyle(e))}),F=Y.useRef(null),I=Y.useRef(0),L=Y.useRef(0),R=Y.useRef(null),z=Y.useRef(!1),B=Cr(O);function V(e){return e?.querySelector(`input[type="range"]`)}function H(e){_.current=e,D.current[e]||(g.current=null)}function ee(){_.current=-1,g.current=null}function te(e){return Nt(e)?D.current.some(t=>!Nt(t)||!Z(t,e)?!1:V(t)?.disabled===!0):!1}function U(e){let t=M.current,n=_.current;if(!t||n<0||n>=O.length)return n>=O.length&&(R.current=null),null;let{width:r,height:i,bottom:a,left:o,right:s}=t.getBoundingClientRect(),c=Bx(N.current,j),u=L.current,m=(j?i:r)-c.start-c.end-u*2,h=g.current??0,y=e.x-h,b=e.y-h,x=Oh(((j?a-b-c.end:(k===`rtl`?s-y:y-o)-c.start)-u)/m,0,1),S=(d-f)*x+f;return S=Ix(S,T,f),S=Oh(S,f,d),A?Rx(E,O,B.current,v.current,n,S,f,d,T,p):{value:l?[S]:S,thumbIndex:n,didSwap:!1}}function W(e){v.current=A?O.slice():null,R.current=null,B.current=O;let t=_.current,n=t;if(t>-1&&t<O.length){if(O[t]===d){let e=t;for(;e>0&&O[e-1]===d;)--e;n=e}}else{let t=j?`y`:`x`,r;n=-1;for(let i=0;i<D.current.length;i+=1){let a=D.current[i];if(Nt(a)&&!V(a)?.disabled){let o=Px(a,j),s=Math.abs(e[t]-o);(r===void 0||s<=r)&&(n=i,r=s)}}}if(n>-1&&n!==t&&H(n),c){let e=D.current[n];if(Nt(e)){let t=e.getBoundingClientRect();L.current=t[j?`height`:`width`]/2}}}function ne(e){let t=V(D.current?.[e]);t&&t.focus({preventScroll:!0,focusVisible:!1})}function G(e,t,n){let r=C(e.value,Q(t,n,void 0,{activeThumbIndex:e.thumbIndex}));return r&&(R.current=e.value,B.current=Array.isArray(e.value)?e.value:[e.value],e.didSwap&&(H(e.thumbIndex),ne(e.thumbIndex))),r}let re=$(e=>{let t=Vx(e,F);if(t==null)return;if(I.current+=1,e.type===`pointermove`&&e.buttons===0){ie(e);return}let n=U(t);n!=null&&Cx(n.value,T,p)&&(!s&&I.current>zx&&S(!0),G(n,ar,e))}),ie=$(e=>{if(Vx(e,F)==null)return;x(-1),S(!1),g.current=null;let t=R.current;if(Array.isArray(t)&&t.length!==O.length&&(R.current=null),R.current!=null){let t=u.current;m(R.current,Hn(t,e))}`pointerType`in e&&M.current?.hasPointerCapture(e.pointerId)&&M.current?.releasePointerCapture(e.pointerId),_.current=-1,se()}),ae=$(e=>{F.current??ie(e)}),oe=$(e=>{let t=z.current;if(z.current=!1,o)return;if(te(tn(e))){ee();return}let n=e.changedTouches[0];if(n==null)return;if(F.current=n.identifier,!t){let t={x:n.clientX,y:n.clientY};W(t);let r=U(t);if(r==null)return;ne(r.thumbIndex),G(r,Xn,e),I.current=0}let r=Pr(M.current);r.addEventListener(`touchmove`,re,{passive:!0}),r.addEventListener(`touchend`,ie,{passive:!0}),r.addEventListener(`touchcancel`,ie,{passive:!0})}),se=$(()=>{let e=Pr(M.current);e.removeEventListener(`pointermove`,re),e.removeEventListener(`pointerup`,ie),e.removeEventListener(`pointercancel`,ae),e.removeEventListener(`touchmove`,re),e.removeEventListener(`touchend`,ie),e.removeEventListener(`touchcancel`,ie),F.current=null,v.current=null,R.current=null,z.current=!1}),ce=Nr();return Y.useEffect(()=>{let e=M.current;if(!e)return()=>se();let t=hr(e,`touchstart`,oe,{passive:!0});return()=>{t(),ce.cancel(),se()}},[se,oe,M,ce]),Y.useEffect(()=>{o&&se()},[o,se]),Na(`div`,e,{state:w,ref:[t,y,M,P],props:[{"data-base-ui-slider-control":b?``:void 0,onPointerDown(e){z.current=!1;let t=M.current,n=tn(e.nativeEvent);if(!t||o||e.defaultPrevented||!Nt(n)||e.button!==0)return;if(te(n)){ee();return}let r={x:e.clientX,y:e.clientY};W(r);let i=U(r);if(i==null)return;Z(D.current[i.thumbIndex],$t(Pr(t)))?e.preventDefault():ce.request(()=>{ne(i.thumbIndex)}),S(!0),g.current??G(i,Xn,e.nativeEvent),e.nativeEvent.pointerId&&t.setPointerCapture(e.nativeEvent.pointerId),I.current=0,z.current=Nx(e.pointerType);let a=Pr(t);a.addEventListener(`pointermove`,re,{passive:!0}),a.addEventListener(`pointerup`,ie,{once:!0}),a.addEventListener(`pointercancel`,ae,{once:!0})}},a],stateAttributesMapping:Tx})}),Ux=Y.forwardRef(function(e,t){let{render:n,className:r,style:i,...a}=e,{state:o}=Dx();return Na(`div`,e,{state:o,ref:t,props:[{style:{position:`relative`}},a],stateAttributesMapping:Tx})}),Wx=()=>()=>{},Gx=()=>!0,Kx=()=>!1;function qx(){return(0,Xo.useSyncExternalStore)(Wx,Gx,Kx)}function Jx(){let[e,t]=Y.useState(!1);return Y.useEffect(()=>{t(!0)},[]),e}var Yx=pa(18)?qx:Jx;function Xx(){return!Yx()}function Zx(e,t,n){return(e-t)*100/(n-t)}function Qx(e){let{script:t}=e,{nonce:n}=vh();return Xx()?(0,J.jsx)(`script`,{nonce:n,dangerouslySetInnerHTML:{__html:t},suppressHydrationWarning:!0}):null}var $x=`data-index`,eS,tS=new Set([...Kd,Wd,Gd]);function nS(e,t,n,r){if(!(t<0))return e.length===2?`${Mx(e[t],r,n)} ${t===0?`start`:`end`} range`:n?Mx(e[t],r,n):void 0}function rS(e,t,n,r,i){let a=e+t*n;return Oh(Number(a.toFixed(Math.max(Fx(e),Fx(t),Fx(r)))),r,i)}var iS=Y.forwardRef(function(e,t){let{render:n,children:r,className:i,"aria-describedby":a,"aria-label":o,"aria-labelledby":s,"aria-valuetext":c,disabled:l=!1,getAriaLabel:u,getAriaValueText:d,id:f,index:p,inputRef:m,onBlur:h,onFocus:g,onKeyDown:_,tabIndex:v,style:y,...b}=e,x=Zc(f),{active:S,lastUsedThumbIndex:C,controlRef:w,disabled:T,validation:E,format:D,handleInputChange:O,inset:k,isArrayValue:A,labelId:j,largeStep:M,locale:N,max:P,min:F,minStepsBetweenValues:I,form:L,name:R,orientation:z,pressedThumbCenterOffsetRef:B,pressedThumbIndexRef:V,renderBeforeHydration:H,setActive:ee,setIndicatorPosition:te,state:U,step:W,thumbRefs:ne,values:G}=Dx(),re=dl(),ie=l||T,ae=G.length>1,oe=z===`vertical`,se=re===`rtl`,{setTouched:ce,validationMode:le}=Ef(),ue=Y.useRef(null),de=Y.useRef(null),fe=Zf(ie,de),pe=Y.useRef(!1),me=$(e=>{pe.current||g?.(e)}),he=$(e=>{pe.current||h?.(e)}),ge=Zc(),_e=rp(),ve=ae?ge:_e,{ref:ye,index:be}=Jf({metadata:Y.useMemo(()=>({inputId:ve}),[ve])}),xe=ae?p??be:0,Se=xe===G.length-1,Ce=G[xe],K=Zx(Ce,F,P),[we,Te]=Y.useState(),Ee=Xx(),De=C>=0&&C<G.length?C:-1,Oe=$(()=>{let e=w.current,t=ue.current;if(!e||!t)return;let n=t.getBoundingClientRect(),r=e.getBoundingClientRect(),i=oe?`height`:`width`,a=r[i]-n[i],o=(n[i]/2+a*K/100)/r[i]*100,s=Number.isFinite(o)?o:void 0;Te(s),xe===0?te(e=>[s,e[1]]):Se&&te(e=>[e[0],s])});X(()=>{k&&queueMicrotask(Oe)},[Oe,k]),X(()=>{k&&Oe()},[Oe,k,K]),X(()=>{if(!k)return;let e=w.current,t=ue.current;if(!e||!t)return;let n=At(e).ResizeObserver;if(typeof n!=`function`)return;let r=new n(Oe);return r.observe(e),r.observe(t),()=>{r.disconnect()}},[w,Oe,k]);let ke=oe?`bottom`:`insetInlineStart`,Ae=oe?`left`:`top`,je;ae?S===xe?je=2:De===xe&&(je=1):S===xe&&(je=1);let Me;Me=!k&&!Number.isFinite(K)?Ir:{position:`absolute`,[ke]:k?`var(--position)`:`${K}%`,[Ae]:`50%`,translate:`${(oe||!se?-1:1)*50}% ${(oe?1:-1)*50}%`,zIndex:je,...k&&{"--position":`${we??0}%`,visibility:H&&Ee||we===void 0?`hidden`:void 0}};let Ne;oe&&(Ne=se?`vertical-rl`:`vertical-lr`);let Pe=typeof u==`function`?u(xe):o,Fe=ba({"aria-label":Pe,"aria-labelledby":s??(Pe==null?j:void 0),"aria-describedby":a,"aria-orientation":z,"aria-valuenow":Ce,"aria-valuetext":typeof d==`function`?d(Mx(Ce,N,D),Ce,xe):c??nS(G,xe,D,N),disabled:ie,form:L,id:ve,max:P,min:F,name:R,onChange(e){O(e.currentTarget.valueAsNumber,xe,e)},onFocus(e){let t=pe.current;pe.current=!1,ee(xe),fe(!0),t&&e.stopPropagation()},onBlur(e){if(pe.current){e.stopPropagation();return}ee(-1),!ne.current.some(t=>Z(t,e.relatedTarget))&&(ce(!0),fe(!1),le===`onBlur`&&E.commit(Sx(Ce,xe,F,P,A,G)))},onKeyDown(e){if(e.defaultPrevented||!tS.has(e.key))return;Kd.has(e.key)&&e.stopPropagation();let t=null,n=0,r=e.shiftKey?M:W,i=Ix(Ce,W,F);switch(e.key){case zd:n=1;break;case Hd:n=se?-1:1;break;case Bd:n=-1;break;case Vd:n=se?1:-1;break;case Wd:r=M,n=1;break;case Gd:r=M,n=-1;break;case`End`:t=ae&&Number.isFinite(G[xe+1])?G[xe+1]-W*I:P;break;case Ud:t=ae&&Number.isFinite(G[xe-1])?G[xe-1]+W*I:F;break;default:break}if(n!==0&&(t=rS(i,r,n,F,P)),t!==null){let n=e.currentTarget;Fn(n)||(pe.current=!0,n.blur(),n.focus({preventScroll:!0,focusVisible:!0})),O(t,xe,e),e.preventDefault()}},step:W,style:{...Ir,width:`100%`,height:`100%`,writingMode:Ne},tabIndex:v,type:`range`,value:Ce??``},e=>E.getValidationProps(ie,e),{onFocus:me,onBlur:he,onKeyDown:_}),Ie=_r(de,E.inputRef,m);return Na(`div`,e,{state:U,ref:[t,ye,ue],props:[{[$x]:xe,children:(0,J.jsxs)(Y.Fragment,{children:[r,(0,J.jsx)(`input`,{ref:Ie,...Fe,suppressHydrationWarning:!0}),k&&Se&&H&&(eS||=(0,J.jsx)(Qx,{script:``}))]}),id:x,onPointerDown(e){if(ie)return;V.current=xe;let t=Px(e.currentTarget,oe);B.current=(oe?e.clientY:e.clientX)-t},style:Me,suppressHydrationWarning:H||void 0},b],stateAttributesMapping:Tx})});function aS(e,t,n,r,i,a){let o={visibility:a||n&&(r===void 0||t&&i===void 0)?`hidden`:void 0,position:e?`absolute`:`relative`,[e?`width`:`height`]:`inherit`},s=`${r??0}%`,c=`${(i??0)-(r??0)}%`;return n&&(o[`--start-position`]=s,s=`var(--start-position)`,t&&(o[`--relative-size`]=c,c=`var(--relative-size)`)),o[e?`bottom`:`insetInlineStart`]=t?s:0,o[e?`height`:`width`]=t?c:s,o}var oS=Y.forwardRef(function(e,t){let{render:n,className:r,style:i,...a}=e,{indicatorPosition:o,inset:s,max:c,min:l,orientation:u,renderBeforeHydration:d,state:f,values:p}=Dx(),m=Xx(),h=aS(u===`vertical`,p.length>1,s,s?o[0]:Zx(p[0],l,c),s?o[1]:Zx(p[p.length-1],l,c),s&&d&&m);return Na(`div`,e,{state:f,ref:t,props:[{"data-base-ui-slider-indicator":d?``:void 0,style:h,suppressHydrationWarning:d||void 0},a],stateAttributesMapping:Tx})}),sS=`h-3.5 w-3.5 rounded-full border border-primary bg-card shadow-sm outline-none focus-visible:ring-2 focus-visible:ring-[var(--color-primary)] focus-visible:ring-offset-1`;function cS({value:e,onValueChange:t,min:n=0,max:r=10,className:i,"aria-label":a}){return(0,J.jsx)(kx,{value:e,onValueChange:e=>{Array.isArray(e)&&e.length===2&&t([e[0],e[1]])},min:n,max:r,step:1,className:q(`w-full`,i),children:(0,J.jsx)(Hx,{className:`flex w-full touch-none select-none items-center py-1.5`,children:(0,J.jsxs)(Ux,{className:`relative h-1 w-full rounded-full bg-[var(--color-muted)]`,children:[(0,J.jsx)(oS,{className:`rounded-full bg-primary`}),(0,J.jsx)(iS,{"aria-label":a?`${a} minimum`:`Minimum`,className:sS}),(0,J.jsx)(iS,{"aria-label":a?`${a} maximum`:`Maximum`,className:sS})]})})})}function lS({added:e,removed:t,className:n,zeros:r=!1}){let i=e=>r||e>0;return(0,J.jsxs)(`span`,{className:q(`shrink-0 font-mono text-[10px] tabular-nums`,n),children:[i(e)&&(0,J.jsxs)(`span`,{className:`text-success`,children:[`+`,e]}),i(e)&&i(t)&&` `,i(t)&&(0,J.jsxs)(`span`,{className:`text-danger`,children:[`−`,t]})]})}function uS(e){let[t,n]=Y.useState({getBoundingClientRect(){return DOMRect.fromRect({width:0,height:0,x:0,y:0})}}),r=Y.useRef(null),i=Y.useRef(null),a=Y.useRef(null),o=Y.useRef(null),s=Y.useRef(!0),c=Y.useRef(null),l=da(),u=Y.useMemo(()=>({anchor:t,setAnchor:n,actionsRef:a,backdropRef:r,internalBackdropRef:i,positionerRef:o,allowMouseUpTriggerRef:s,initialCursorPointRef:c,rootId:l}),[t,l]);return(0,J.jsx)(gp.Provider,{value:u,children:(0,J.jsx)(mp.Provider,{value:void 0,children:(0,J.jsx)(Mm,{...e})})})}var dS=500,fS=Y.forwardRef(function(e,t){let{render:n,className:r,style:i,...a}=e,{setAnchor:o,actionsRef:s,internalBackdropRef:c,backdropRef:l,positionerRef:u,allowMouseUpTriggerRef:d,initialCursorPointRef:f,rootId:p}=_p(!1),{store:m}=hp(!1),h=m.useState(`open`),g=m.useState(`disabled`),_=Y.useRef(null),v=Y.useRef(null),y=ot(),b=ot(),x=Y.useRef(!1),S=Y.useRef(null);function C(e,t,n){let r=n.type.startsWith(`touch`);f.current={x:e,y:t},o({getBoundingClientRect(){return DOMRect.fromRect({width:r?10:0,height:r?10:0,x:e,y:t})}}),x.current=!1,s.current?.setOpen(!0,Q(Wn,n)),b.start(dS,()=>{x.current=!0})}function w(e){if(g)return;d.current=!0,St(e),C(e.clientX,e.clientY,e.nativeEvent);let t=Pr(_.current);S.current?.abort();let n=new AbortController;S.current=n,t.addEventListener(`mouseup`,e=>{if(d.current=!1,!x.current)return;b.clear(),x.current=!1;let t=tn(e);Z(u.current,t)||p&&t&&Rm(t)===p||s.current?.setOpen(!1,Q(or,e))},{once:!0,signal:n.signal})}function T(){y.clear(),v.current=null}function E(e){if(g){T();return}if(d.current=!1,e.touches.length!==1){T();return}e.stopPropagation();let t=e.touches[0],n={x:t.clientX,y:t.clientY};v.current=n,y.start(dS,()=>{C(n.x,n.y,e.nativeEvent)})}function D(e){if(e.touches.length!==1){T();return}if(y.isStarted()&&v.current){let t=e.touches[0],n=Math.abs(t.clientX-v.current.x),r=Math.abs(t.clientY-v.current.y);(n>10||r>10)&&T()}}return Y.useEffect(()=>()=>{S.current?.abort()},[]),Y.useEffect(()=>{function e(e){if(g)return;let t=tn(e);(Z(_.current,t)||Z(c.current,t)||Z(l.current,t))&&e.preventDefault()}return hr(Pr(_.current),`contextmenu`,e)},[l,g,c]),Na(`div`,e,{state:{open:h},ref:[_,t],props:[{onContextMenu:w,onTouchStart:E,onTouchMove:D,onTouchEnd:T,onTouchCancel:T,style:{WebkitTouchCallout:`none`}},a],stateAttributesMapping:Tn})}),pS=uS,mS=fS,hS=(0,Y.createContext)({title:null,actions:null});function gS({children:e}){let{title:t}=(0,Y.useContext)(hS);return t?(0,He.createPortal)(e,t):null}function _S({children:e}){let{actions:t}=(0,Y.useContext)(hS);return t?(0,He.createPortal)(e,t):null}function vS({title:e,count:t,description:n,actions:r,bar:i,children:a}){return(0,J.jsxs)(`div`,{className:`mx-auto w-full max-w-6xl p-6 max-md:p-4`,children:[(0,J.jsxs)(`header`,{className:`mb-4 space-y-3`,children:[(0,J.jsxs)(`div`,{className:`flex flex-wrap items-start justify-between gap-x-4 gap-y-2`,children:[(0,J.jsxs)(`div`,{className:`flex min-w-0 items-start gap-2`,children:[(0,J.jsx)(__,{}),(0,J.jsxs)(`div`,{className:`min-w-0`,children:[(0,J.jsxs)(`h1`,{className:`text-lg font-semibold`,children:[(0,J.jsx)(`span`,{className:`max-md:sr-only`,children:e}),t!==void 0&&(0,J.jsx)(`span`,{className:`ml-2 text-sm font-normal tabular-nums text-muted-foreground max-md:ml-0`,children:t})]}),n!==void 0&&(0,J.jsx)(`p`,{className:`mt-1 text-sm text-muted-foreground`,children:n})]})]}),r!==void 0&&(0,J.jsx)(`div`,{className:`flex flex-wrap items-center justify-end gap-2 md:shrink-0 max-md:min-w-0`,children:r})]}),i]}),a]})}var yS=`needs-you`,bS=`working-now`;function xS(e){document.getElementById(e)?.scrollIntoView({behavior:`smooth`,block:`start`})}function SS({label:e,value:t,note:n,tone:r,live:i=!1,href:a,onClick:o}){let s=(0,J.jsxs)(J.Fragment,{children:[(0,J.jsxs)(`span`,{className:`flex items-center gap-1.5 text-xs text-muted-foreground`,children:[i&&(0,J.jsxs)(`span`,{className:`relative flex size-2`,"aria-hidden":!0,children:[(0,J.jsx)(`span`,{className:`absolute inline-flex size-full animate-ping rounded-full bg-success opacity-60`}),(0,J.jsx)(`span`,{className:`relative inline-flex size-2 rounded-full bg-success`})]}),e]}),(0,J.jsx)(`span`,{className:q(`text-2xl font-semibold tabular-nums`,t===0?`text-muted-foreground`:r??`text-foreground`),children:t}),(0,J.jsx)(`span`,{className:`truncate text-xs text-muted-foreground`,children:n})]}),c=q(`flex min-w-0 flex-col gap-1 rounded-lg border border-border bg-card px-4 py-3 text-left`,(a!==void 0||o)&&`transition-colors hover:border-muted-foreground/40 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--color-primary)]`);return a===void 0?o?(0,J.jsx)(`button`,{type:`button`,className:c,onClick:o,children:s}):(0,J.jsx)(`div`,{className:c,children:s}):(0,J.jsx)(`a`,{href:a,className:c,onClick:e=>{e.button!==0||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||(e.preventDefault(),o?.())},children:s})}function CS({chips:e,total:t,picked:n,onPick:r,className:i}){return e.length<2?null:(0,J.jsxs)(`div`,{role:`group`,"aria-label":`Show`,className:q(`flex flex-wrap gap-1.5`,i),children:[(0,J.jsx)(wS,{on:n===null,onClick:()=>r(null),label:`All`,count:t}),e.map(e=>(0,J.jsx)(wS,{on:n===e.value,onClick:()=>r(e.value),label:e.label,count:e.count},e.value))]})}function wS({on:e,onClick:t,label:n,count:r}){return(0,J.jsxs)(`button`,{type:`button`,"aria-pressed":e,onClick:t,className:q(`inline-flex items-center gap-1.5 rounded-full border px-2.5 py-0.5 text-xs transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--color-primary)]`,e?`border-transparent bg-accent text-accent-foreground`:`border-border text-muted-foreground hover:text-foreground`),children:[n,(0,J.jsx)(`span`,{className:`tabular-nums opacity-70`,children:r})]})}var TS=`file`,ES={"package.json":`nodejs`,"package-lock.json":`nodejs`,"pnpm-lock.yaml":`pnpm`,"pnpm-workspace.yaml":`pnpm`,"yarn.lock":`yarn`,"bun.lockb":`bun`,".npmrc":`npm`,".nvmrc":`nodejs`,"tsconfig.json":`tsconfig`,"jsconfig.json":`jsconfig`,"vite.config.ts":`vite`,"vite.config.js":`vite`,"vitest.config.ts":`vitest`,"eslint.config.js":`eslint`,"eslint.config.mjs":`eslint`,".prettierrc":`prettier`,"tailwind.config.js":`tailwindcss`,"tailwind.config.ts":`tailwindcss`,"readme.md":`readme`,license:`license`,"license.md":`license`,"changelog.md":`changelog`,"contributing.md":`contributing`,"agents.md":`agent`,dockerfile:`docker`,"docker-compose.yml":`docker`,"compose.yaml":`docker`,makefile:`makefile`,".gitignore":`git`,".gitattributes":`git`,".gitmodules":`git`,".editorconfig":`editorconfig`,".env.local":`tune`,".env.example":`tune`,"go.mod":`go-mod`,"go.sum":`go-mod`,"requirements.txt":`python-misc`,"pyproject.toml":`python-misc`,gemfile:`gemfile`},DS={ts:`typescript`,tsx:`react_ts`,mts:`typescript`,cts:`typescript`,"d.ts":`typescript-def`,js:`javascript`,jsx:`react`,mjs:`javascript`,cjs:`javascript`,json:`json`,jsonc:`json`,json5:`json`,md:`markdown`,mdx:`mdx`,txt:`document`,pdf:`pdf`,csv:`table`,html:`html`,htm:`html`,xml:`xml`,vue:`vue`,svelte:`svelte`,astro:`astro`,css:`css`,scss:`sass`,sass:`sass`,less:`less`,png:`image`,jpg:`image`,jpeg:`image`,gif:`image`,webp:`image`,svg:`svg`,ico:`image`,avif:`image`,bmp:`image`,mp4:`video`,mp3:`audio`,woff:`font`,woff2:`font`,ttf:`font`,yml:`yaml`,yaml:`yaml`,toml:`toml`,ini:`settings`,env:`tune`,lock:`lock`,log:`log`,zip:`zip`,sh:`console`,bash:`console`,zsh:`console`,fish:`console`,ps1:`powershell`,bat:`console`,py:`python`,rb:`ruby`,go:`go`,rs:`rust`,java:`java`,kt:`kotlin`,swift:`swift`,c:`c`,h:`h`,cpp:`cpp`,hpp:`hpp`,cs:`csharp`,php:`php`,lua:`lua`,dart:`dart`,ex:`elixir`,exs:`elixir`,zig:`zig`,sql:`database`,graphql:`graphql`,gql:`graphql`,prisma:`prisma`,proto:`proto`,wasm:`webassembly`},OS={toml:`toml_light`,pnpm:`pnpm_light`,bun:`bun_light`},kS={agent:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="#ff5252" d="M2.636 24H6v-8H2.636a.63.63 0 0 0-.636.625v6.75a.63.63 0 0 0 .636.625M26 16v8h3.364c.351 0 .636-.355.636-.7v-6.675a.63.63 0 0 0-.636-.625zM17.417 6H14.69a.63.63 0 0 0-.636.625V12H8.69a.63.63 0 0 0-.636.625L8 25.375c0 .345.305.625.637.625h14.727a.63.63 0 0 0 .636-.625v-12.75a.63.63 0 0 0-.636-.625h-5.31V6.625A.63.63 0 0 0 17.416 6m-5.363 8c1.781 0 2.674 2.154 1.414 3.414s-3.414.368-3.414-1.414a2 2 0 0 1 2-2M22 24H10v-2h12zm-1.946-10c1.781 0 2.674 2.154 1.414 3.414s-3.414.368-3.414-1.414a2 2 0 0 1 2-2"/></svg>`,astro:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="#7c4dff" d="M12.106 25.849c-1.262-1.156-1.63-3.586-1.105-5.346a5.18 5.18 0 0 0 3.484 1.66 9.68 9.68 0 0 0 5.882-.734c.215-.106.413-.247.648-.39a3.5 3.5 0 0 1 .16 1.555 4.26 4.26 0 0 1-1.798 3.021c-.404.3-.832.569-1.25.852a2.613 2.613 0 0 0-1.15 3.372l.048.161a3.4 3.4 0 0 1-1.5-1.285 3.6 3.6 0 0 1-.578-1.962 9 9 0 0 0-.05-1.037c-.114-.831-.504-1.204-1.238-1.225a1.45 1.45 0 0 0-1.507 1.18c-.012.056-.028.112-.046.178M4.901 20a17.75 17.75 0 0 1 7.4-2l2.913-8.38a.765.765 0 0 1 1.527 0L19.7 18a14.24 14.24 0 0 1 7.399 2S20.704 2.877 20.692 2.842C20.51 2.33 20.202 2 19.787 2h-7.619c-.415 0-.71.33-.904.842z"/></svg>`,audio:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="#ef5350" d="M16 2a14 14 0 1 0 14 14A14 14 0 0 0 16 2m6 10h-4v8a4 4 0 1 1-4-4 3.96 3.96 0 0 1 2 .555V8h6Z"/></svg>`,bun:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="#fff8e1" d="M30 17.045a9.8 9.8 0 0 0-.32-2.306l-.004.034a11.2 11.2 0 0 0-5.762-6.786c-3.495-1.89-5.243-3.326-6.8-3.811h.003c-1.95-.695-3.949.82-5.825 1.927-4.52 2.481-9.573 5.45-9.28 11.417.008-.029.017-.052.026-.08a9.97 9.97 0 0 0 3.934 7.257l-.01-.006C13.747 31.473 30.05 27.292 30 17.045"/><path fill="#37474f" d="M19.855 20.236A.8.8 0 0 0 19.26 20h-6.514a.8.8 0 0 0-.596.236.51.51 0 0 0-.137.463 4.37 4.37 0 0 0 1.641 2.339 4.2 4.2 0 0 0 2.349.926 4.2 4.2 0 0 0 2.343-.926 4.37 4.37 0 0 0 1.642-2.339.5.5 0 0 0-.132-.463Z"/><ellipse cx="22.5" cy="18.5" fill="#f8bbd0" rx="2.5" ry="1.5"/><ellipse cx="9.5" cy="18.5" fill="#f8bbd0" rx="2.5" ry="1.5"/><circle cx="10" cy="16" r="2" fill="#37474f"/><circle cx="22" cy="16" r="2" fill="#37474f"/><path fill="#455a64" d="M9.996 18A2 2 0 1 0 8 15.996V16a2 2 0 0 0 1.996 2"/><circle cx="9" cy="15" r="1" fill="#fafafa"/><circle cx="21" cy="15" r="1" fill="#fafafa"/></svg>`,bun_light:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="#fff8e1" d="M15.696 27.002a13.73 13.73 0 0 1-9.071-3.062 8.86 8.86 0 0 1-3.6-6.505c-.252-5.091 3.813-7.747 8.748-10.455.28-.165.537-.322.793-.48a7.8 7.8 0 0 1 3.52-1.5 2 2 0 0 1 .695.118 14.8 14.8 0 0 1 2.95 1.576c.972.6 2.182 1.348 3.707 2.173a10.14 10.14 0 0 1 5.274 6.147A8.8 8.8 0 0 1 29 17.035a8.15 8.15 0 0 1-2.525 5.959 15.6 15.6 0 0 1-10.778 4.008Z"/><path fill="#37474f" d="M16.087 6a1 1 0 0 1 .358.06l.038.013.037.012a14.5 14.5 0 0 1 2.684 1.46 72 72 0 0 0 3.767 2.205 9.17 9.17 0 0 1 4.767 5.493A8 8 0 0 1 28 17.055a7.18 7.18 0 0 1-2.234 5.233 14.6 14.6 0 0 1-10.07 3.714 12.74 12.74 0 0 1-8.415-2.816l-.027-.024-.029-.023a7.98 7.98 0 0 1-3.202-5.758c-.223-4.516 3.431-6.89 8.231-9.525l.027-.015.027-.015q.389-.231.783-.474A7.4 7.4 0 0 1 16.087 6m0-2c-1.618 0-3.248 1.19-4.795 2.103-4.52 2.481-9.56 5.41-9.267 11.376a9.9 9.9 0 0 0 3.942 7.215 14.77 14.77 0 0 0 9.73 3.308c7.122 0 14.335-4.134 14.303-10.957a9.6 9.6 0 0 0-.322-2.29 11.16 11.16 0 0 0-5.764-6.768c-3.495-1.89-5.242-3.326-6.798-3.811A3 3 0 0 0 16.086 4Z"/><path fill="#37474f" d="M19.855 20.236A.8.8 0 0 0 19.26 20h-6.514a.8.8 0 0 0-.596.236.51.51 0 0 0-.137.463 4.37 4.37 0 0 0 1.641 2.339 4.2 4.2 0 0 0 2.349.926 4.2 4.2 0 0 0 2.343-.926 4.37 4.37 0 0 0 1.642-2.339.5.5 0 0 0-.132-.463Z"/><ellipse cx="22.5" cy="18.5" fill="#f8bbd0" rx="2.5" ry="1.5"/><ellipse cx="9.5" cy="18.5" fill="#f8bbd0" rx="2.5" ry="1.5"/><circle cx="10" cy="16" r="2" fill="#37474f"/><circle cx="22" cy="16" r="2" fill="#37474f"/><path fill="#455a64" d="M9.996 18A2 2 0 1 0 8 15.996V16a2 2 0 0 0 1.996 2"/><circle cx="9" cy="15" r="1" fill="#fafafa"/><circle cx="21" cy="15" r="1" fill="#fafafa"/></svg>`,c:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="#0288d1" d="M19.563 22A5.57 5.57 0 0 1 14 16.437v-2.873A5.57 5.57 0 0 1 19.563 8H24V2h-4.437A11.563 11.563 0 0 0 8 13.563v2.873A11.564 11.564 0 0 0 19.563 28H24v-6Z"/></svg>`,changelog:`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24"><path d="M0 0h24v24H0z"/><path fill="#8bc34a" d="M13 3a9 9 0 0 0-9 9H1l4 4 4-4H6c0-3.87 3.13-7 7-7s7 3.13 7 7-3.13 7-7 7c-1.93 0-3.68-.79-4.94-2.06l-1.42 1.42A8.95 8.95 0 0 0 13 21a9 9 0 0 0 0-18m-1 5v5l4.25 2.52.77-1.28-3.52-2.09V8z"/></svg>`,console:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="#ff7043" d="M2 2a1 1 0 0 0-1 1v10c0 .554.446 1 1 1h12c.554 0 1-.446 1-1V3a1 1 0 0 0-1-1zm0 3h12v8H2zm1 2 2 2-2 2 1 1 3-3-3-3zm5 3.5V12h5v-1.5z"/></svg>`,contributing:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="#ffca28" d="M17 9H7V7h10m0 6H7v-2h10m-3 6H7v-2h7M12 3a1 1 0 0 1 1 1 1 1 0 0 1-1 1 1 1 0 0 1-1-1 1 1 0 0 1 1-1m7 0h-4.18C14.4 1.84 13.3 1 12 1s-2.4.84-2.82 2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2"/></svg>`,cpp:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="#0288d1" d="M28 14v-4h-2v4h-6v-4h-2v4h-4v2h4v4h2v-4h6v4h2v-4h4v-2z"/><path fill="#0288d1" d="M13.563 22A5.57 5.57 0 0 1 8 16.437v-2.873A5.57 5.57 0 0 1 13.563 8H18V2h-4.437A11.563 11.563 0 0 0 2 13.563v2.873A11.564 11.564 0 0 0 13.563 28H18v-6Z"/></svg>`,csharp:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="#0288d1" d="M30 14v-2h-2V8h-2v4h-2V8h-2v4h-2v2h2v2h-2v2h2v4h2v-4h2v4h2v-4h2v-2h-2v-2Zm-4 2h-2v-2h2Zm-12.437 6A5.57 5.57 0 0 1 8 16.437v-2.873A5.57 5.57 0 0 1 13.563 8H18V2h-4.437A11.563 11.563 0 0 0 2 13.563v2.873A11.564 11.564 0 0 0 13.563 28H18v-6Z"/></svg>`,css:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="#7e57c2" d="M20 18h-2v-2h-2v2c0 .193 0 .703 1.254 1.033A3.345 3.345 0 0 1 20 22h2v2h2v-2c0-.388-.562-.851-1.254-1.034C20.356 20.34 20 18.84 20 18m-3.254 2.966C14.356 20.34 14 18.84 14 18h-2v-2h-2v8h2v-2h4v2h2v-2c0-.388-.562-.851-1.254-1.034"/><path fill="#7e57c2" d="M24 4H4v20a4 4 0 0 0 4 4h16.16A3.84 3.84 0 0 0 28 24.16V8a4 4 0 0 0-4-4m2 14h-2v-2h-2v2c0 .193 0 .703 1.254 1.033A3.345 3.345 0 0 1 26 22v2a2 2 0 0 1-2 2h-2a2 2 0 0 1-2-2 2 2 0 0 1-2 2h-2a2 2 0 0 1-2-2 2 2 0 0 1-2 2h-2a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2 2 2 0 0 1 2-2h2a2 2 0 0 1 2 2 2 2 0 0 1 2-2h2a2 2 0 0 1 2 2Z"/></svg>`,dart:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="#4fc3f7" d="M16.83 2a1.3 1.3 0 0 0-.916.377l-.013.01L7.323 7.34l8.556 8.55v.005l10.283 10.277 1.96-3.529-7.068-16.96-3.299-3.297A1.3 1.3 0 0 0 16.828 2Z"/><path fill="#01579b" d="m7.343 7.32-4.955 8.565-.01.013a1.297 1.297 0 0 0 .004 1.835l.005.005 4.106 4.107 16.064 6.314 3.632-2.015-.098-.098-.025.002L15.995 15.97h-.012z"/><path fill="#01579b" d="m7.321 7.324 8.753 8.755h.013L26.16 26.156l3.835-.73L30 14.089l-4.049-3.965a6.5 6.5 0 0 0-3.618-1.612l.002-.043L7.323 7.325Z"/><path fill="#64b5f6" d="m7.332 7.335 8.758 8.75v.013l10.079 10.071L25.436 30H14.09l-3.967-4.048a6.5 6.5 0 0 1-1.611-3.618l-.045.004Z"/></svg>`,database:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="#ffca28" d="M16 24c-5.525 0-10-.9-10-2v4c0 1.1 4.475 2 10 2s10-.9 10-2v-4c0 1.1-4.475 2-10 2m0-8c-5.525 0-10-.9-10-2v4c0 1.1 4.475 2 10 2s10-.9 10-2v-4c0 1.1-4.475 2-10 2m0-12C10.477 4 6 4.895 6 6v4c0 1.1 4.475 2 10 2s10-.9 10-2V6c0-1.105-4.477-2-10-2"/></svg>`,docker:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="#0288d1" d="M21.81 10.25c-.06-.04-.56-.43-1.64-.43-.28 0-.56.03-.84.08-.21-1.4-1.38-2.11-1.43-2.14l-.29-.17-.18.27c-.24.36-.43.77-.51 1.19-.2.8-.08 1.56.33 2.21-.49.28-1.29.35-1.46.35H2.62c-.34 0-.62.28-.62.63 0 1.15.18 2.3.58 3.38.45 1.19 1.13 2.07 2 2.61.98.6 2.59.94 4.42.94.79 0 1.61-.07 2.42-.22 1.12-.2 2.2-.59 3.19-1.16A8.3 8.3 0 0 0 16.78 16c1.05-1.17 1.67-2.5 2.12-3.65h.19c1.14 0 1.85-.46 2.24-.85.26-.24.45-.53.59-.87l.08-.24zm-17.96.99h1.76c.08 0 .16-.07.16-.16V9.5c0-.08-.07-.16-.16-.16H3.85c-.09 0-.16.07-.16.16v1.58c.01.09.07.16.16.16m2.43 0h1.76c.08 0 .16-.07.16-.16V9.5c0-.08-.07-.16-.16-.16H6.28c-.09 0-.16.07-.16.16v1.58c.01.09.07.16.16.16m2.47 0h1.75c.1 0 .17-.07.17-.16V9.5c0-.08-.06-.16-.17-.16H8.75c-.08 0-.15.07-.15.16v1.58c0 .09.06.16.15.16m2.44 0h1.77c.08 0 .15-.07.15-.16V9.5c0-.08-.06-.16-.15-.16h-1.77c-.08 0-.15.07-.15.16v1.58c0 .09.07.16.15.16M6.28 9h1.76c.08 0 .16-.09.16-.18V7.25c0-.09-.07-.16-.16-.16H6.28c-.09 0-.16.06-.16.16v1.57c.01.09.07.18.16.18m2.47 0h1.75c.1 0 .17-.09.17-.18V7.25c0-.09-.06-.16-.17-.16H8.75c-.08 0-.15.06-.15.16v1.57c0 .09.06.18.15.18m2.44 0h1.77c.08 0 .15-.09.15-.18V7.25c0-.09-.07-.16-.15-.16h-1.77c-.08 0-.15.06-.15.16v1.57c0 .09.07.18.15.18m0-2.28h1.77c.08 0 .15-.07.15-.16V5c0-.1-.07-.17-.15-.17h-1.77c-.08 0-.15.06-.15.17v1.56c0 .08.07.16.15.16m2.46 4.52h1.76c.09 0 .16-.07.16-.16V9.5c0-.08-.07-.16-.16-.16h-1.76c-.08 0-.15.07-.15.16v1.58c0 .09.07.16.15.16"/></svg>`,document:`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24"><path d="M0 0h24v24H0z"/><path fill="#42a5f5" d="M8 16h8v2H8zm0-4h8v2H8zm6-10H6c-1.1 0-2 .9-2 2v16c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8zm4 18H6V4h7v5h5z"/></svg>`,editorconfig:`<svg xmlns="http://www.w3.org/2000/svg" clip-rule="evenodd" image-rendering="optimizeQuality" shape-rendering="geometricPrecision" text-rendering="geometricPrecision" viewBox="0 0 3473 3473"><path fill="#ede7f6" d="M989.342 1977.409c41.146-26.835 75.137-93.922 54.564-141.33-56.353 24.151-53.67 79.61-54.564 141.33m636.877 153.851c44.724-14.311 87.66-64.402 63.509-116.283-34.886 24.151-57.248 57.247-63.51 116.284z"/><g fill="#fafafa"><path d="M374.827 2871.899c0 56.352 14.312 117.178 53.67 138.645 144.907 81.4 652.977 17.89 825.614-20.573 90.343-20.573 163.692-87.66 248.668-124.334 191.421-83.187 330.067-150.274 483.025-262.085 110.916-81.399 287.131-310.388 305.915-447.245l-151.169-33.991c-3.578 153.852-38.463 188.737-175.32 224.517-92.132 25.046-271.925 30.413-365.846 14.312-124.334-20.574-180.687-85.871-237.04-160.114-109.128-144.907 24.151-245.985-148.485-255.824-181.582 222.728-501.81 62.614-642.244 40.252-59.93 86.765-200.366 650.294-198.577 779.1 86.766-29.517 141.33 2.684 219.15 33.097 275.503 106.444 34.885 200.366-75.137 172.636-75.137-17.89-98.394-67.086-142.224-98.393m360.48-1285.383c111.81 21.468 211.1 67.982 305.915 115.39 154.747 76.926 182.476 66.192 196.788 173.53 1.789 19.68-1.789 30.413 54.564 48.303 94.816 29.518-54.564-23.257 199.471-22.362 151.169.894 497.337 61.72 609.148 132.384 46.513 29.519 37.568 67.087 194.999 62.615-1.79-185.16-50.986-461.557-123.44-631.51-88.554-205.733-205.733-237.04-444.561-313.966-139.54-44.725-549.217-93.922-676.235-15.207-118.967 74.243-141.33 162.798-252.246 318.439-32.202 45.619-43.83 80.504-64.403 132.384"/><path d="M1720.14 1966.675c89.45 36.674-4.472 273.714-128.806 216.466-40.252-113.6 55.458-178.003 81.398-228.99-53.67-8.05-206.627-32.2-252.246-15.206-59.036 22.363-72.454 148.486-42.041 207.522 143.118 280.87 775.523 220.94 708.436 2.684-26.835-88.555-51.88-102.867-142.224-133.28-72.454-24.15-144.907-49.196-224.517-49.196m-1124.374-31.307c71.56 68.875 233.462 79.61 338.117 84.976 13.418-138.646 25.046-242.407 135.963-234.356 54.564 74.242 25.94 161.902-31.307 218.255 97.5-.894 153.852-74.242 139.54-180.687-82.293-59.036-331.856-177.109-457.084-194.104-34.885 37.569-120.756 243.301-125.229 305.916"/></g><path d="M427.602 2820.913c59.036-5.367 212.889 39.357 225.412 89.449-95.71 11.628-217.361 2.683-225.412-89.45zm-52.775 50.986c43.83 31.307 67.087 80.504 142.224 98.393 110.022 27.73 350.64-66.192 75.137-172.636-77.82-30.413-132.384-62.614-219.15-33.096-1.789-128.807 138.646-692.336 198.577-779.101 140.435 22.362 460.662 182.476 642.244-40.252 172.636 9.84 39.357 110.917 148.485 255.824 56.353 74.243 112.706 139.54 237.04 160.114 93.921 16.1 273.714 10.734 365.846-14.312 136.857-35.78 171.742-70.665 175.32-224.517l151.17 33.99c-18.785 136.858-195 365.847-305.916 447.246-152.958 111.81-291.604 178.898-483.025 262.085-84.976 36.674-158.325 103.761-248.668 124.334-172.637 38.463-680.707 101.972-825.614 20.574-39.358-21.468-53.67-82.294-53.67-138.646M1626.22 2131.26c6.261-59.037 28.623-92.133 63.508-116.284 24.152 51.88-18.784 101.972-63.508 116.284m93.921-164.586c79.61 0 152.063 25.045 224.517 49.197 90.344 30.412 115.39 44.724 142.224 133.279 67.087 218.255-565.318 278.186-708.436-2.684-30.413-59.036-16.995-185.16 42.041-207.522 45.619-16.995 198.577 7.156 252.246 15.207-25.94 50.986-121.65 115.389-81.398 228.99 124.334 57.247 218.255-179.793 128.806-216.467m-730.798 10.734c.894-61.72-1.79-117.179 54.564-141.33 20.573 47.408-13.418 114.495-54.564 141.33m-393.576-42.041c4.473-62.615 90.344-268.347 125.229-305.916 125.228 16.995 374.791 135.068 457.084 194.104 14.312 106.445-42.04 179.793-139.54 180.687 57.247-56.353 85.87-144.013 31.307-218.255-110.917-8.05-122.545 95.71-135.963 234.356-104.655-5.367-266.558-16.1-338.117-84.976m-89.449-71.56c-33.096-91.238-33.096-233.462 107.339-245.09l-71.56 199.471c-18.783 42.936-18.783 33.096-35.779 45.62zm228.99-277.292c20.573-51.88 32.201-86.765 64.403-132.384 110.917-155.641 133.279-244.196 252.246-318.439 127.018-78.715 536.694-29.518 676.235 15.207 238.828 76.926 356.007 108.233 444.561 313.966 72.454 169.953 121.65 446.35 123.44 631.51-157.43 4.472-148.486-33.096-195-62.615-111.81-70.664-457.978-131.49-609.147-132.384-254.035-.895-104.655 51.88-199.471 22.362-56.353-17.89-52.775-28.624-54.564-48.302-14.312-107.34-42.041-96.605-196.788-173.531-94.816-47.408-194.104-93.922-305.915-115.39m1583.247-43.83c-16.995-56.352 14.312-52.775 68.876-91.238 31.307-22.362 56.353-45.619 94.816-67.086 144.013-80.504 412.36-93.922 526.854 1.789 46.514 38.463 122.545 113.6 110.917 211.994-24.151 195.893-158.325 303.232-268.347 392.68-111.811 91.239-297.865 185.16-490.18 122.546-16.101-39.358-3.578-288.92-22.363-381.053-16.995-82.293-8.05-91.238 39.358-140.435 139.54-144.907 441.878-250.457 613.62-126.123 72.454 53.67 51.88 74.243 89.449 115.39 46.513-50.092-40.252-218.256-360.48-207.522-217.36 7.156-311.282 177.109-402.52 169.058m-1302.377-508.964c4.472-124.335 118.967-381.948 233.461-471.397 138.646-107.338 283.554-208.416 496.442-87.66 52.775 29.519 50.092 44.725 55.459 118.073 4.472 70.665-1.79 96.605-19.679 153.852-141.33 456.19-259.402 194.105-712.014 302.338 16.995-148.485 145.802-280.87 217.361-349.746 122.545-118.967 211.1-195.893 395.365-170.847 50.986 84.976 56.352 138.646-5.367 237.934-82.293 132.385-102.867 124.334-90.344 214.678 64.403-16.101 84.082-78.715 113.6-141.33 179.793-375.686-81.398-421.305-241.512-352.429-107.339 45.62-298.76 256.719-361.374 383.736-12.523 25.046-25.94 57.248-37.568 84.977zm708.436 18.784c18.784-111.811 129.7-139.54 129.7-483.92 0-148.485-182.475-281.764-421.304-182.475-204.838 84.082-236.145 148.485-345.273 313.071-102.867 155.642-99.289 326.49-187.843 470.502-25.94 41.147-49.197 55.458-77.82 96.605-20.574 30.413-35.78 68.876-56.354 104.655-42.04 68.876-84.976 118.968-118.967 201.26-107.339 2.684-197.682 4.473-208.416 115.39-14.312 152.063 57.247 189.632 57.247 246.879-.894 61.72-251.351 684.285-181.581 1055.498 19.679 101.972 86.765 102.867 194.104 115.39 258.508 31.307 593.942 20.573 825.614-72.454l420.41-201.26c106.445-59.931 285.343-173.532 364.953-256.72 56.353-58.141 85.87-107.338 134.173-176.214 66.192-96.605 67.981-94.816 82.293-226.306 87.66 16.101 251.352 54.564 305.916 101.972-6.262 61.72-36.674 32.202-36.674 87.66 34.885.895 93.027-42.935 107.339-91.238-36.675-53.67-75.138-44.724-127.913-87.66 42.042-33.096 118.073-48.302 176.215-72.453 125.229-51.88 339.012-209.311 391.787-352.43 42.04-115.389 10.734-307.704-57.248-382.841-71.559-78.715-237.934-118.967-373.897-118.967-161.902 0-329.172 116.283-459.767 166.375-50.092-43.83-53.67-93.922-90.344-142.224-42.04-57.248-315.755-200.366-446.35-228.095"/><path fill="#efebe9" d="M2318.554 1542.686c91.238 8.05 185.16-161.902 402.52-169.058 320.228-10.734 406.993 157.43 360.48 207.521-37.569-41.146-16.995-61.72-89.45-115.389-171.741-124.334-474.079-18.784-613.62 126.123-47.407 49.197-56.352 58.142-39.357 140.435 18.785 92.133 6.262 341.695 22.362 381.053 192.316 62.614 378.37-31.307 490.181-122.545 110.022-89.45 244.196-196.788 268.347-392.681 11.628-98.394-64.403-173.531-110.917-211.994-114.494-95.71-382.841-82.293-526.854-1.79-38.463 21.468-63.51 44.725-94.816 67.087-54.564 38.464-85.871 34.886-68.876 91.238m-1302.377-508.964 43.83-77.821c11.628-27.73 25.045-59.93 37.568-84.977 62.614-127.017 254.035-338.117 361.374-383.736 160.114-68.876 421.305-23.257 241.512 352.43-29.518 62.614-49.197 125.228-113.6 141.329-12.523-90.344 8.05-82.293 90.344-214.678 61.72-99.288 56.353-152.958 5.367-237.934-184.265-25.046-272.82 51.88-395.365 170.847-71.56 68.876-200.366 201.26-217.361 349.746 452.612-108.233 570.685 153.852 712.014-302.338 17.89-57.247 24.151-83.187 19.679-153.852-5.367-73.348-2.684-88.554-55.459-118.073-212.888-120.756-357.796-19.678-496.442 87.66-114.494 89.45-228.989 347.062-233.461 471.397"/><path fill="#eee" d="M506.317 1863.808c16.996-12.523 16.996-2.683 35.78-45.619l71.559-199.47c-140.435 11.627-140.435 153.851-107.339 245.09z"/><path fill="#efebe9" d="M653.014 2910.362c-12.523-50.092-166.376-94.816-225.412-89.45 8.05 92.133 129.701 101.078 225.412 89.45"/></svg>`,elixir:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="#9575cd" d="M12.173 22.681c-3.86 0-6.99-3.64-6.99-8.13 0-3.678 2.773-8.172 4.916-10.91 1.014-1.296 2.93-2.322 2.93-2.322s-.982 5.239 1.683 7.319c2.366 1.847 4.106 4.25 4.106 6.363 0 4.232-2.784 7.68-6.645 7.68"/></svg>`,eslint:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="#3f51b5" d="M22.713 4H9.287a.5.5 0 0 0-.432.248l-6.708 11.5a.5.5 0 0 0 0 .504l6.708 11.5a.5.5 0 0 0 .432.248h13.426a.5.5 0 0 0 .432-.248l6.708-11.5a.5.5 0 0 0 0-.504l-6.708-11.5A.5.5 0 0 0 22.713 4m-6.937 20.888-7.5-3.75A.5.5 0 0 1 8 20.691v-9.382a.5.5 0 0 1 .276-.447l7.5-3.75a.5.5 0 0 1 .448 0l7.5 3.75a.5.5 0 0 1 .276.447v9.382a.5.5 0 0 1-.276.447l-7.5 3.75a.5.5 0 0 1-.448 0"/><path fill="#7986cb" d="M22 19.441v-6.882a.5.5 0 0 0-.276-.447l-5.5-2.75a.5.5 0 0 0-.448 0l-5.5 2.75a.5.5 0 0 0-.276.447v6.882a.5.5 0 0 0 .276.447l5.5 2.75a.5.5 0 0 0 .448 0l5.5-2.75a.5.5 0 0 0 .276-.447"/></svg>`,file:`<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="m8.668 6h3.6641l-3.6641-3.668v3.668m-4.668-4.668h5.332l4 4v8c0 0.73828-0.59375 1.3359-1.332 1.3359h-8c-0.73828 0-1.332-0.59766-1.332-1.3359v-10.664c0-0.74219 0.59375-1.3359 1.332-1.3359m3.332 1.3359h-3.332v10.664h8v-6h-4.668z" fill="#90a4ae" /></svg>`,font:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="#f44336" d="M24 28h4L18 4h-4L4 28h4l8-19.422"/><path fill="#f44336" d="M8 20h16v4H8z"/></svg>`,gemfile:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="#e53935" d="M21.184 10.016V10H10.881l.016.033-.016-.017L8 14l8.032 10L24 14z"/><path fill="#e53935" d="m16 3.455 11 6.286v12.518l-11 6.286-11-6.286V9.741zM16 0 2 8v16l14 8 14-8V8z"/></svg>`,git:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="#e64a19" d="M13.172 2.828 11.78 4.22l1.91 1.91 2 2A2.986 2.986 0 0 1 20 10.81a3.25 3.25 0 0 1-.31 1.31l2.06 2a2.68 2.68 0 0 1 3.37.57 2.86 2.86 0 0 1 .88 2.117 3.02 3.02 0 0 1-.856 2.109A2.9 2.9 0 0 1 23 19.81a2.93 2.93 0 0 1-2.13-.87 2.694 2.694 0 0 1-.56-3.38l-2-2.06a3 3 0 0 1-.31.12V20a3 3 0 0 1 1.44 1.09 2.92 2.92 0 0 1 .56 1.72 2.88 2.88 0 0 1-.878 2.128 2.98 2.98 0 0 1-2.048.871 2.981 2.981 0 0 1-2.514-4.719A3 3 0 0 1 16 20v-6.38a2.96 2.96 0 0 1-1.44-1.09 2.9 2.9 0 0 1-.56-1.72 2.9 2.9 0 0 1 .31-1.31l-3.9-3.9-7.579 7.572a4 4 0 0 0-.001 5.658l10.342 10.342a4 4 0 0 0 5.656 0l10.344-10.344a4 4 0 0 0 0-5.656L18.828 2.828a4 4 0 0 0-5.656 0"/></svg>`,go:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="#00acc1" d="M2 12h4v2H2zm-2 4h6v2H0zm4 4h2v2H4zm16.954-5H14v3h3.239a4.42 4.42 0 0 1-3.531 2 2.65 2.65 0 0 1-2.053-.858 2.86 2.86 0 0 1-.628-2.28A4.515 4.515 0 0 1 15.292 13a2.73 2.73 0 0 1 1.749.584l2.962-1.185A5.6 5.6 0 0 0 15.292 10a7.526 7.526 0 0 0-7.243 6.5 5.614 5.614 0 0 0 5.659 6.5 7.526 7.526 0 0 0 7.243-6.5 6.4 6.4 0 0 0 .003-1.5"/><path fill="#00acc1" d="M26.292 10a7.526 7.526 0 0 0-7.243 6.5 5.614 5.614 0 0 0 5.659 6.5 7.526 7.526 0 0 0 7.243-6.5 5.614 5.614 0 0 0-5.659-6.5m2.681 6.137A4.515 4.515 0 0 1 24.708 20a2.65 2.65 0 0 1-2.053-.858 2.86 2.86 0 0 1-.628-2.28A4.515 4.515 0 0 1 26.292 13a2.65 2.65 0 0 1 2.053.858 2.86 2.86 0 0 1 .628 2.28Z"/></svg>`,"go-mod":`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="#ec407a" d="M2 12h4v2H2zm-2 4h6v2H0zm4 4h2v2H4zm16.954-5H14v3h3.239a4.42 4.42 0 0 1-3.531 2 2.65 2.65 0 0 1-2.053-.858 2.86 2.86 0 0 1-.628-2.28A4.515 4.515 0 0 1 15.292 13a2.73 2.73 0 0 1 1.749.584l2.962-1.185A5.6 5.6 0 0 0 15.292 10a7.526 7.526 0 0 0-7.243 6.5 5.614 5.614 0 0 0 5.659 6.5 7.526 7.526 0 0 0 7.243-6.5 6.4 6.4 0 0 0 .003-1.5"/><path fill="#ec407a" d="M26.292 10a7.526 7.526 0 0 0-7.243 6.5 5.614 5.614 0 0 0 5.659 6.5 7.526 7.526 0 0 0 7.243-6.5 5.614 5.614 0 0 0-5.659-6.5m2.681 6.137A4.515 4.515 0 0 1 24.708 20a2.65 2.65 0 0 1-2.053-.858 2.86 2.86 0 0 1-.628-2.28A4.515 4.515 0 0 1 26.292 13a2.65 2.65 0 0 1 2.053.858 2.86 2.86 0 0 1 .628 2.28Z"/></svg>`,graphql:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="#ec407a" d="M6 20h20v2H6z"/><circle cx="7" cy="21" r="3" fill="#ec407a"/><circle cx="16" cy="27" r="3" fill="#ec407a"/><circle cx="25" cy="21" r="3" fill="#ec407a"/><path fill="#ec407a" d="M6 10h20v2H6z"/><circle cx="7" cy="11" r="3" fill="#ec407a"/><circle cx="16" cy="5" r="3" fill="#ec407a"/><circle cx="25" cy="11" r="3" fill="#ec407a"/><path fill="#ec407a" d="M6 12h2v10H6zm18-2h2v12h-2z"/><path fill="#ec407a" d="m5.014 19.41 11.674 6.866L15.674 28 4 21.134z"/><path fill="#ec407a" d="M26.688 21.724 15.014 28.59 14 26.866 25.674 20zM5.124 10.382l11.415-7.29 1.077 1.686L6.2 12.068z"/><path fill="#ec407a" d="m25.798 12.067-11.415-7.29 1.077-1.685 11.415 7.29zM6.2 19.932l11.416 7.29-1.077 1.686-11.415-7.29z"/><path fill="#ec407a" d="m26.875 21.619-11.415 7.29-1.077-1.687 11.415-7.289zM5.877 22.6 16.04 3.686l1.762.946L7.638 23.546z"/><path fill="#ec407a" d="M24.361 23.545 14.197 4.633l1.761-.947 10.165 18.913z"/></svg>`,h:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="#0288d1" d="M18.5 11a5.49 5.49 0 0 0-4.5 2.344V4H8v24h6V17a2 2 0 0 1 4 0v11h6V16.5a5.5 5.5 0 0 0-5.5-5.5"/></svg>`,hpp:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="#0288d1" d="M28 6V2h-2v4h-6V2h-2v4h-4v2h4v4h2V8h6v4h2V8h4V6zm-15.5 5A5.49 5.49 0 0 0 8 13.344V4H2v24h6V17a2 2 0 0 1 4 0v11h6V16.5a5.5 5.5 0 0 0-5.5-5.5"/></svg>`,html:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="#e65100" d="m4 4 2 22 10 2 10-2 2-22Zm19.72 7H11.28l.29 3h11.86l-.802 9.335L15.99 25l-6.635-1.646L8.93 19h3.02l.19 2 3.86.77 3.84-.77.29-4H8.84L8 8h16Z"/></svg>`,image:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="#26a69a" d="M8.5 6h4l-4-4zM3.875 1H9.5l4 4v8.6c0 .773-.616 1.4-1.375 1.4h-8.25c-.76 0-1.375-.627-1.375-1.4V2.4c0-.777.612-1.4 1.375-1.4M4 13.6h8V8l-2.625 2.8L8 9.4zm1.25-7.7c-.76 0-1.375.627-1.375 1.4s.616 1.4 1.375 1.4c.76 0 1.375-.627 1.375-1.4S6.009 5.9 5.25 5.9"/></svg>`,java:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="#f44336" d="M4 26h24v2H4zM28 4H7a1 1 0 0 0-1 1v13a4 4 0 0 0 4 4h10a4 4 0 0 0 4-4v-4h4a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2m0 8h-4V6h4Z"/></svg>`,javascript:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="#ffca28" d="M2 2v12h12V2zm6 6h1v4a1.003 1.003 0 0 1-1 1H7a1.003 1.003 0 0 1-1-1v-1h1v1h1zm3 0h2v1h-2v1h1a1.003 1.003 0 0 1 1 1v1a1.003 1.003 0 0 1-1 1h-2v-1h2v-1h-1a1.003 1.003 0 0 1-1-1V9a1.003 1.003 0 0 1 1-1"/></svg>`,jsconfig:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="#757575" d="M15 2H6a2.006 2.006 0 0 0-2 2v22a2.006 2.006 0 0 0 2 2h6v-4H6v-2h6v-2H6v-2h6v-2H6v-2h6v-2h2V4l8 8h2v-1Z" data-mit-no-recolor="true"/><path fill="#ffca28" d="M12 12v18h18V12zm8 12a2.006 2.006 0 0 1-2 2h-2a2.006 2.006 0 0 1-2-2v-2h2v2h2v-8h2zm8-6h-4v2h2a2.006 2.006 0 0 1 2 2v2a2.006 2.006 0 0 1-2 2h-4v-2h4v-2h-2a2.006 2.006 0 0 1-2-2v-2a2.006 2.006 0 0 1 2-2h4z"/></svg>`,json:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960"><path fill="#f9a825" d="M560-160v-80h120q17 0 28.5-11.5T720-280v-80q0-38 22-69t58-44v-14q-36-13-58-44t-22-69v-80q0-17-11.5-28.5T680-720H560v-80h120q50 0 85 35t35 85v80q0 17 11.5 28.5T840-560h40v160h-40q-17 0-28.5 11.5T800-360v80q0 50-35 85t-85 35zm-280 0q-50 0-85-35t-35-85v-80q0-17-11.5-28.5T120-400H80v-160h40q17 0 28.5-11.5T160-600v-80q0-50 35-85t85-35h120v80H280q-17 0-28.5 11.5T240-680v80q0 38-22 69t-58 44v14q36 13 58 44t22 69v80q0 17 11.5 28.5T280-240h120v80z"/></svg>`,kotlin:`<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24"><defs><linearGradient id="file-icon-kotlin-a" x1="1.725" x2="22.185" y1="22.67" y2="1.982" gradientTransform="translate(1.306 1.129)scale(.89324)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#7c4dff"/><stop offset=".5" stop-color="#d500f9"/><stop offset="1" stop-color="#ef5350"/></linearGradient></defs><path fill="url(#file-icon-kotlin-a)" d="M2.975 2.976v18.048h18.05v-.03l-4.478-4.511-4.48-4.515 4.48-4.515 4.443-4.477z"/></svg>`,less:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="#0277bd" d="M8 3a2 2 0 0 0-2 2v4a2 2 0 0 1-2 2H3v2h1a2 2 0 0 1 2 2v4a2 2 0 0 0 2 2h2v-2H8v-5a2 2 0 0 0-2-2 2 2 0 0 0 2-2V5h2V3m6 0a2 2 0 0 1 2 2v4a2 2 0 0 0 2 2h1v2h-1a2 2 0 0 0-2 2v4a2 2 0 0 1-2 2h-2v-2h2v-5a2 2 0 0 1 2-2 2 2 0 0 1-2-2V5h-2V3z"/></svg>`,license:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="#ff5722" d="M8 1a5.5 5.5 0 0 0-4 9.26V15l4-1.5 4 1.5v-4.74A5.49 5.49 0 0 0 8 1m0 1.5a4 4 0 1 1 0 8 4 4 0 0 1 0-8m0 2a2 2 0 1 0 0 4 2 2 0 0 0 0-4"/></svg>`,lock:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="#ffd54f" d="M25 12h-3V8a6 6 0 0 0-12 0v4H7a1 1 0 0 0-1 1v16a1 1 0 0 0 1 1h18a1 1 0 0 0 1-1V13a1 1 0 0 0-1-1M14 8a2 2 0 0 1 4 0v4h-4Zm2 17a4 4 0 1 1 4-4 4 4 0 0 1-4 4"/></svg>`,log:`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24"><path d="M0 0h24v24H0z"/><path fill="#afb42b" d="M19 5v9h-5v5H5V5zm0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h10l6-6V5c0-1.1-.9-2-2-2m-7 11H7v-2h5zm5-4H7V8h10z"/></svg>`,lua:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="#42a5f5" d="M30 6a3.86 3.86 0 0 1-1.167 2.833 4.024 4.024 0 0 1-5.666 0A3.86 3.86 0 0 1 22 6a3.86 3.86 0 0 1 1.167-2.833 4.024 4.024 0 0 1 5.666 0A3.86 3.86 0 0 1 30 6m-9.208 5.208A10.6 10.6 0 0 0 13 8a10.6 10.6 0 0 0-7.792 3.208A10.6 10.6 0 0 0 2 19a10.6 10.6 0 0 0 3.208 7.792A10.6 10.6 0 0 0 13 30a10.6 10.6 0 0 0 7.792-3.208A10.6 10.6 0 0 0 24 19a10.6 10.6 0 0 0-3.208-7.792m-1.959 7.625a4.024 4.024 0 0 1-5.666 0 4.024 4.024 0 0 1 0-5.666 4.024 4.024 0 0 1 5.666 0 4.024 4.024 0 0 1 0 5.666"/></svg>`,makefile:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="#ef5350" d="m29.5 24.02-1.6-.92a4.4 4.4 0 0 0 .09-.9A1.3 1.3 0 0 0 28 22a5.6 5.6 0 0 0-.1-1.1l1.6-.92a.493.493 0 0 0 .18-.68l-1.5-2.6a.45.45 0 0 0-.18-.18V6.01a2.006 2.006 0 0 0-2-2H4a2.006 2.006 0 0 0-2 2V22a2.006 2.006 0 0 0 2 2h10.53l-.03.02a.493.493 0 0 0-.18.68l1.5 2.6a.493.493 0 0 0 .68.18l1.6-.92a5.9 5.9 0 0 0 1.9 1.09v1.85a.495.495 0 0 0 .5.5h3a.495.495 0 0 0 .5-.5v-1.85a5.9 5.9 0 0 0 1.9-1.09l1.6.92a.493.493 0 0 0 .68-.18l1.5-2.6a.493.493 0 0 0-.18-.68M24 22.01a1.99 1.99 0 0 1-.88 1.65l-.18.11a2.04 2.04 0 0 1-1.88 0l-.18-.11a1.99 1.99 0 0 1-.88-1.65V22a2 2 0 0 1 .88-1.66l.18-.11a2.04 2.04 0 0 1 1.88 0l.18.11A2 2 0 0 1 24 22Zm2-4.63-.1.06a5.9 5.9 0 0 0-1.9-1.09V14.5a.495.495 0 0 0-.5-.5h-3a.495.495 0 0 0-.5.5v1.85a5.9 5.9 0 0 0-1.9 1.09l-1.6-.92a.493.493 0 0 0-.68.18l-1.5 2.6a.493.493 0 0 0 .18.68l1.6.92A5.6 5.6 0 0 0 16 22v.01L4 22V10.01h22Z"/></svg>`,markdown:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="#42a5f5" d="m14 10-4 3.5L6 10H4v12h4v-6l2 2 2-2v6h4V10zm12 6v-6h-4v6h-4l6 8 6-8z"/></svg>`,mdx:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="#ffca28" d="m14 10-4 3.5L6 10H4v12h4v-6l2 2 2-2v6h4V10zm12 6v-6h-4v6h-4l6 8 6-8z"/></svg>`,nodejs:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="#8bc34a" d="M16 20.003v2h4a2 2 0 0 0 2-2v-2a2 2 0 0 0-2-2h-2v-2h4v-2h-4a2 2 0 0 0-2 2v2a2 2 0 0 0 2 2h2v2Z"/><path fill="#8bc34a" d="m16 3.003-12 7v14l4 2h6v-13.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v11.5H8l-2-1.034V11.15l10-5.833 10 5.833v11.703l-10 5.833-1.745-1.022L13 29.253l3 1.75 12-7v-14Z"/></svg>`,npm:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="#e53935" d="M4 4v24h24V4Zm20 20h-4V12h-4v12H8V8h16Z"/></svg>`,pdf:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="#ef5350" d="M13 9h5.5L13 3.5zM6 2h8l6 6v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2m4.93 10.44c.41.9.93 1.64 1.53 2.15l.41.32c-.87.16-2.07.44-3.34.93l-.11.04.5-1.04c.45-.87.78-1.66 1.01-2.4m6.48 3.81c.18-.18.27-.41.28-.66.03-.2-.02-.39-.12-.55-.29-.47-1.04-.69-2.28-.69l-1.29.07-.87-.58c-.63-.52-1.2-1.43-1.6-2.56l.04-.14c.33-1.33.64-2.94-.02-3.6a.85.85 0 0 0-.61-.24h-.24c-.37 0-.7.39-.79.77-.37 1.33-.15 2.06.22 3.27v.01c-.25.88-.57 1.9-1.08 2.93l-.96 1.8-.89.49c-1.2.75-1.77 1.59-1.88 2.12-.04.19-.02.36.05.54l.03.05.48.31.44.11c.81 0 1.73-.95 2.97-3.07l.18-.07c1.03-.33 2.31-.56 4.03-.75 1.03.51 2.24.74 3 .74.44 0 .74-.11.91-.3m-.41-.71.09.11c-.01.1-.04.11-.09.13h-.04l-.19.02c-.46 0-1.17-.19-1.9-.51.09-.1.13-.1.23-.1 1.4 0 1.8.25 1.9.35M7.83 17c-.65 1.19-1.24 1.85-1.69 2 .05-.38.5-1.04 1.21-1.69zm3.02-6.91c-.23-.9-.24-1.63-.07-2.05l.07-.12.15.05c.17.24.19.56.09 1.1l-.03.16-.16.82z"/></svg>`,php:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="#1e88e5" d="M12 18.08c-6.63 0-12-2.72-12-6.08s5.37-6.08 12-6.08S24 8.64 24 12s-5.37 6.08-12 6.08m-5.19-7.95c.54 0 .91.1 1.09.31.18.2.22.56.13 1.03-.1.53-.29.87-.58 1.09q-.42.33-1.29.33h-.87l.53-2.76zm-3.5 5.55h1.44l.34-1.75h1.23c.54 0 .98-.06 1.33-.17.35-.12.67-.31.96-.58.24-.22.43-.46.58-.73.15-.26.26-.56.31-.88.16-.78.05-1.39-.33-1.82-.39-.44-.99-.65-1.82-.65H4.59zm7.25-8.33-1.28 6.58h1.42l.74-3.77h1.14c.36 0 .6.06.71.18s.13.34.07.66l-.57 2.93h1.45l.59-3.07c.13-.62.03-1.07-.27-1.36-.3-.27-.85-.4-1.65-.4h-1.27L12 7.35zM18 10.13c.55 0 .91.1 1.09.31.18.2.22.56.13 1.03-.1.53-.29.87-.57 1.09-.29.22-.72.33-1.3.33h-.85l.5-2.76zm-3.5 5.55h1.44l.34-1.75h1.22c.55 0 1-.06 1.35-.17.35-.12.65-.31.95-.58.24-.22.44-.46.58-.73.15-.26.26-.56.32-.88.15-.78.04-1.39-.34-1.82-.36-.44-.99-.65-1.82-.65h-2.75z"/></svg>`,pnpm:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="#e0e0e0" d="M2 22h8v8H2zm10 0h8v8h-8zm10 0h8v8h-8zM12 12h8v8h-8z"/><path fill="#ffb300" d="M2 2h8v8H2zm10 0h8v8h-8zm10 0h8v8h-8zm0 10h8v8h-8z"/></svg>`,pnpm_light:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="#757575" d="M2 22h8v8H2zm10 0h8v8h-8zm10 0h8v8h-8zM12 12h8v8h-8z"/><path fill="#ffb300" d="M2 2h8v8H2zm10 0h8v8h-8zm10 0h8v8h-8zm0 10h8v8h-8z"/></svg>`,powershell:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="#03a9f4" d="M29.07 6H7.677A1.535 1.535 0 0 0 6.24 7.113l-4.2 17.774A.852.852 0 0 0 2.93 26h21.393a1.535 1.535 0 0 0 1.436-1.113L29.96 7.112A.852.852 0 0 0 29.07 6M8.626 23.797a1.4 1.4 0 0 1-1.814-.31l-.007-.009a1.075 1.075 0 0 1 .315-1.599l9.6-6.061-6.102-5.852-.01-.01a1.068 1.068 0 0 1 .084-1.625l.037-.03a1.38 1.38 0 0 1 1.8.07l7.233 6.957a1.1 1.1 0 0 1 .236.739 1.08 1.08 0 0 1-.412.79c-.074.04-.146.119-10.951 6.935ZM24 22.94A1.135 1.135 0 0 1 22.803 24h-5.634a1.061 1.061 0 1 1 .001-2.112h5.633A1.134 1.134 0 0 1 24 22.938Z"/></svg>`,prettier:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="#f44336" d="M2 8h4v1H2zm0 6h4v1H2zm9-10h3v1h-3zM2 2h3v1H2z"/><path fill="#f9a825" d="M9 2h3v1H9zm1 4h4v1h-4zm-5 6h1v1H5zm-3-2h6v1H2z"/><path fill="#26a69a" d="M2 12h3v1H2zm7-4h5v1H9zM2 4h4v1H2zm3-2h4v1H5z"/><path fill="#ba68c8" d="M2 6h3v1H2zm7-2h2v1H9zm-1 6h4v1H8z"/></svg>`,prisma:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="#00bfa5" d="m27.777 22.617-.459-.946L18.43 3.26a2.25 2.25 0 0 0-1.914-1.256A2 2 0 0 0 16.379 2a2.23 2.23 0 0 0-1.891 1.042L4.348 19.056a2.2 2.2 0 0 0 .025 2.417l4.957 7.488A2.34 2.34 0 0 0 11.29 30a2.4 2.4 0 0 0 .655-.092l14.387-4.149a2.32 2.32 0 0 0 1.458-1.234 2.21 2.21 0 0 0-.013-1.908m-3.538.604-11.268 3.25 4.075-19.033 7.568 15.671-.376.098Z"/></svg>`,proto:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="#00bfa5" d="M16 27 2 19v-5l14 8z"/><path fill="#ffeb3b" d="m30 14-14 8v5l14-8z"/><path fill="#ff5722" d="M16 6 2 14v5l14-8z"/><path fill="#00e676" d="m30 19-14-8V6l14 8z"/><path fill="#03a9f4" d="M16 27 2 19v-5l14 8z"/></svg>`,python:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="#0288d1" d="M9.86 2A2.86 2.86 0 0 0 7 4.86v1.68h4.29c.39 0 .71.57.71.96H4.86A2.86 2.86 0 0 0 2 10.36v3.781a2.86 2.86 0 0 0 2.86 2.86h1.18v-2.68a2.85 2.85 0 0 1 2.85-2.86h5.25c1.58 0 2.86-1.271 2.86-2.851V4.86A2.86 2.86 0 0 0 14.14 2zm-.72 1.61c.4 0 .72.12.72.71s-.32.891-.72.891c-.39 0-.71-.3-.71-.89s.32-.711.71-.711"/><path fill="#fdd835" d="M17.959 7v2.68a2.85 2.85 0 0 1-2.85 2.859H9.86A2.85 2.85 0 0 0 7 15.389v3.75a2.86 2.86 0 0 0 2.86 2.86h4.28A2.86 2.86 0 0 0 17 19.14v-1.68h-4.291c-.39 0-.709-.57-.709-.96h7.14A2.86 2.86 0 0 0 22 13.64V9.86A2.86 2.86 0 0 0 19.14 7zM8.32 11.513l-.004.004.038-.004zm6.54 7.276c.39 0 .71.3.71.89a.71.71 0 0 1-.71.71c-.4 0-.72-.12-.72-.71s.32-.89.72-.89"/></svg>`,"python-misc":`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="#757575" d="M15 2H6a2.006 2.006 0 0 0-2 2v22a2.006 2.006 0 0 0 2 2h16a2 2 0 0 0 2-2V11Zm3 22H6v-2h12Zm0-4H6v-2h12Zm0-4H6v-2h12Zm-4-4V4l8 8Z"/><path fill="#fbc02d" d="M30.714 16H28v5h-9v7.714A1.286 1.286 0 0 0 20.286 30h6.428A1.286 1.286 0 0 0 28 28.714V26h-6v-1h8.714A1.286 1.286 0 0 0 32 23.714v-6.428A1.286 1.286 0 0 0 30.714 16M24 28h3v1h-3Z" style="isolation:isolate"/><path fill="#0288d1" d="M25.714 12h-6.428A1.286 1.286 0 0 0 18 13.286V16h6v1h-8.714A1.286 1.286 0 0 0 14 18.286v6.428A1.286 1.286 0 0 0 15.286 26H18v-6h9v-6.714A1.286 1.286 0 0 0 25.714 12M22 14h-3v-1h3Z" style="isolation:isolate"/></svg>`,react:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="#00bcd4" d="M16 12c7.444 0 12 2.59 12 4s-4.556 4-12 4-12-2.59-12-4 4.556-4 12-4m0-2c-7.732 0-14 2.686-14 6s6.268 6 14 6 14-2.686 14-6-6.268-6-14-6"/><path fill="#00bcd4" d="M16 14a2 2 0 1 0 2 2 2 2 0 0 0-2-2"/><path fill="#00bcd4" d="M10.458 5.507c2.017 0 5.937 3.177 9.006 8.493 3.722 6.447 3.757 11.687 2.536 12.392a.9.9 0 0 1-.457.1c-2.017 0-5.938-3.176-9.007-8.492C8.814 11.553 8.779 6.313 10 5.608a.9.9 0 0 1 .458-.1m-.001-2A2.87 2.87 0 0 0 9 3.875C6.13 5.532 6.938 12.304 10.804 19c3.284 5.69 7.72 9.493 10.74 9.493A2.87 2.87 0 0 0 23 28.124c2.87-1.656 2.062-8.428-1.804-15.124-3.284-5.69-7.72-9.493-10.74-9.493Z"/><path fill="#00bcd4" d="M21.543 5.507a.9.9 0 0 1 .457.1c1.221.706 1.186 5.946-2.536 12.393-3.07 5.316-6.99 8.493-9.007 8.493a.9.9 0 0 1-.457-.1C8.779 25.686 8.814 20.446 12.536 14c3.07-5.316 6.99-8.493 9.007-8.493m0-2c-3.02 0-7.455 3.804-10.74 9.493C6.939 19.696 6.13 26.468 9 28.124a2.87 2.87 0 0 0 1.457.369c3.02 0 7.455-3.804 10.74-9.493C25.061 12.304 25.87 5.532 23 3.876a2.87 2.87 0 0 0-1.457-.369"/></svg>`,react_ts:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="#0288d1" d="M16 12c7.444 0 12 2.59 12 4s-4.556 4-12 4-12-2.59-12-4 4.556-4 12-4m0-2c-7.732 0-14 2.686-14 6s6.268 6 14 6 14-2.686 14-6-6.268-6-14-6"/><path fill="#0288d1" d="M16 14a2 2 0 1 0 2 2 2 2 0 0 0-2-2"/><path fill="#0288d1" d="M10.458 5.507c2.017 0 5.937 3.177 9.006 8.493 3.722 6.447 3.757 11.687 2.536 12.392a.9.9 0 0 1-.457.1c-2.017 0-5.938-3.176-9.007-8.492C8.814 11.553 8.779 6.313 10 5.608a.9.9 0 0 1 .458-.1m-.001-2A2.87 2.87 0 0 0 9 3.875C6.13 5.532 6.938 12.304 10.804 19c3.284 5.69 7.72 9.493 10.74 9.493A2.87 2.87 0 0 0 23 28.124c2.87-1.656 2.062-8.428-1.804-15.124-3.284-5.69-7.72-9.493-10.74-9.493Z"/><path fill="#0288d1" d="M21.543 5.507a.9.9 0 0 1 .457.1c1.221.706 1.186 5.946-2.536 12.393-3.07 5.316-6.99 8.493-9.007 8.493a.9.9 0 0 1-.457-.1C8.779 25.686 8.814 20.446 12.536 14c3.07-5.316 6.99-8.493 9.007-8.493m0-2c-3.02 0-7.455 3.804-10.74 9.493C6.939 19.696 6.13 26.468 9 28.124a2.87 2.87 0 0 0 1.457.369c3.02 0 7.455-3.804 10.74-9.493C25.061 12.304 25.87 5.532 23 3.876a2.87 2.87 0 0 0-1.457-.369"/></svg>`,readme:`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 16 16"><path d="M0 0h24v24H0z"/><path fill="#42a5f5" d="M8 1C4.136 1 1 4.136 1 8s3.136 7 7 7 7-3.136 7-7-3.136-7-7-7m1 11H7V7.5h2zm0-6H7V4h2z"/></svg>`,ruby:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="#f44336" d="M18.041 3.177c2.24.382 2.879 1.919 2.843 3.527V6.67l-1.013 13.266-13.132.897h.008c-1.093-.044-3.518-.151-3.634-3.545l1.217-2.222 2.462 5.74 2.097-6.77-.045.009.018-.018 6.85 2.186L13.945 9.3l6.53-.409-5.144-4.212 2.71-1.51v.009M3.113 17.252v.017zM6.916 6.874c2.63-2.622 6.033-4.168 7.34-2.844 1.297 1.306-.072 4.523-2.702 7.135-2.666 2.613-6.015 4.248-7.322 2.933-1.306-1.324.036-4.612 2.675-7.224z"/></svg>`,rust:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="#ff7043" d="m30 12-4-2V6h-4l-2-4-4 2-4-2-2 4H6v4l-4 2 2 4-2 4 4 2v4h4l2 4 4-2 4 2 2-4h4v-4l4-2-2-4ZM6 16a9.9 9.9 0 0 1 .842-4H10v8H6.842A9.9 9.9 0 0 1 6 16m10 10a9.98 9.98 0 0 1-7.978-4H16v-2h-2v-2h4c.819.819.297 2.308 1.179 3.37a1.89 1.89 0 0 0 1.46.63h3.34A9.98 9.98 0 0 1 16 26m-2-12v-2h4a1 1 0 0 1 0 2Zm11.158 6H24a2.006 2.006 0 0 1-2-2 2 2 0 0 0-2-2 3 3 0 0 0 3-3q0-.08-.004-.161A3.115 3.115 0 0 0 19.83 10H8.022a9.986 9.986 0 0 1 17.136 10"/></svg>`,sass:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="#ec407a" d="M27.837 5.673a4.33 4.33 0 0 0-2.293-2.701c-2.362-1.261-6.11-1.298-9.548-.092a26.3 26.3 0 0 0-8.76 4.966c-2.752 2.542-3.438 4.925-3.189 6.194.523 2.668 3.274 4.539 5.485 6.042.418.284.822.559 1.175.816-1.429.76-4.261 2.444-5.088 4.248a3.88 3.88 0 0 0-.118 3.332A2.37 2.37 0 0 0 6.869 29.8a5.6 5.6 0 0 0 1.49.2 6.35 6.35 0 0 0 5.19-2.856 6.74 6.74 0 0 0 .864-5.382 7.3 7.3 0 0 1 2.044-.03 3.92 3.92 0 0 1 2.816 1.311 1.82 1.82 0 0 1 .423 1.262 1.55 1.55 0 0 1-.772 1.05c-.234.14-.586.355-.504.803.036.194.198.633.894.512a2.93 2.93 0 0 0 2.145-2.651 4 4 0 0 0-1.197-2.904 5.94 5.94 0 0 0-4.396-1.626 10.6 10.6 0 0 0-2.672.304 20 20 0 0 0-2.203-1.846c-1.712-1.3-3.33-2.529-3.235-4.26.125-2.263 2.468-4.532 6.964-6.744 4.016-1.976 7.254-2.037 8.944-1.438a2 2 0 0 1 1.204.883 2.77 2.77 0 0 1-.36 2.47 9.71 9.71 0 0 1-7.425 4.304 3.86 3.86 0 0 1-3.238-.757c-.278-.302-.593-.645-1.074-.383q-.565.31-.225 1.189a3.9 3.9 0 0 0 2.407 1.92 11.7 11.7 0 0 0 7.128-.671c3.527-1.35 6.681-5.202 5.756-8.787M11.895 24.475a4 4 0 0 1-.192.468 4.5 4.5 0 0 1-.753 1.081 2.83 2.83 0 0 1-2.533 1.107c-.056-.032-.078-.146-.085-.193a3.28 3.28 0 0 1 1.076-2.284 11.3 11.3 0 0 1 2.644-1.933 3.85 3.85 0 0 1-.157 1.754"/></svg>`,settings:`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24"><path d="M0 0h24v24H0z"/><path fill="#42a5f5" d="M19.43 12.98c.04-.32.07-.64.07-.98s-.03-.66-.07-.98l2.11-1.65c.19-.15.24-.42.12-.64l-2-3.46a.5.5 0 0 0-.61-.22l-2.49 1c-.52-.4-1.08-.73-1.69-.98l-.38-2.65A.49.49 0 0 0 14 2h-4c-.25 0-.46.18-.49.42l-.38 2.65c-.61.25-1.17.59-1.69.98l-2.49-1a.6.6 0 0 0-.18-.03c-.17 0-.34.09-.43.25l-2 3.46c-.13.22-.07.49.12.64l2.11 1.65c-.04.32-.07.65-.07.98s.03.66.07.98l-2.11 1.65c-.19.15-.24.42-.12.64l2 3.46a.5.5 0 0 0 .61.22l2.49-1c.52.4 1.08.73 1.69.98l.38 2.65c.03.24.24.42.49.42h4c.25 0 .46-.18.49-.42l.38-2.65c.61-.25 1.17-.59 1.69-.98l2.49 1q.09.03.18.03c.17 0 .34-.09.43-.25l2-3.46c.12-.22.07-.49-.12-.64zm-1.98-1.71c.04.31.05.52.05.73s-.02.43-.05.73l-.14 1.13.89.7 1.08.84-.7 1.21-1.27-.51-1.04-.42-.9.68c-.43.32-.84.56-1.25.73l-1.06.43-.16 1.13-.2 1.35h-1.4l-.19-1.35-.16-1.13-1.06-.43c-.43-.18-.83-.41-1.23-.71l-.91-.7-1.06.43-1.27.51-.7-1.21 1.08-.84.89-.7-.14-1.13c-.03-.31-.05-.54-.05-.74s.02-.43.05-.73l.14-1.13-.89-.7-1.08-.84.7-1.21 1.27.51 1.04.42.9-.68c.43-.32.84-.56 1.25-.73l1.06-.43.16-1.13.2-1.35h1.39l.19 1.35.16 1.13 1.06.43c.43.18.83.41 1.23.71l.91.7 1.06-.43 1.27-.51.7 1.21-1.07.85-.89.7zM12 8c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4m0 6c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2"/></svg>`,svelte:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 300 300"><path fill="#ff5722" d="M175.94 24.328c-13.037.252-26.009 3.872-37.471 11.174L79.912 72.818a67.13 67.13 0 0 0-30.355 44.906 70.8 70.8 0 0 0 6.959 45.445 67.2 67.2 0 0 0-10.035 25.102 71.54 71.54 0 0 0 12.236 54.156c23.351 33.41 69.468 43.311 102.81 22.07l58.559-37.158a67.36 67.36 0 0 0 30.355-44.906 70.77 70.77 0 0 0-6.982-45.422 67.65 67.65 0 0 0 10.059-25.102 71.63 71.63 0 0 0-12.236-54.156v-.18c-15.324-21.925-40.453-33.727-65.342-33.246zm5.137 28.68a46.5 46.5 0 0 1 36.09 19.969 42.98 42.98 0 0 1 7.365 32.557 45 45 0 0 1-1.393 5.455l-1.123 3.37-2.986-2.247a75.9 75.9 0 0 0-22.902-11.45l-2.244-.651.201-2.246a13.16 13.16 0 0 0-2.379-8.711 13.99 13.99 0 0 0-14.953-5.412 12.8 12.8 0 0 0-3.594 1.572l-58.578 37.25a12.24 12.24 0 0 0-5.502 8.15 13.1 13.1 0 0 0 2.246 9.834 14.03 14.03 0 0 0 14.93 5.569 13.5 13.5 0 0 0 3.594-1.573l22.453-14.234a41.8 41.8 0 0 1 11.898-5.232 46.48 46.48 0 0 1 49.914 18.502 43.02 43.02 0 0 1 7.363 32.557 40.42 40.42 0 0 1-18.254 27.078l-58.58 37.316a43 43 0 0 1-11.898 5.23A46.545 46.545 0 0 1 82.81 227.14a42.98 42.98 0 0 1-7.341-32.557 38 38 0 0 1 1.39-5.41l1.102-3.37 3.008 2.246a75.9 75.9 0 0 0 22.836 11.361l2.244.65-.201 2.247a13.25 13.25 0 0 0 2.447 8.644 14.03 14.03 0 0 0 15.043 5.569 13.1 13.1 0 0 0 3.592-1.573l58.467-37.316a12.17 12.17 0 0 0 5.502-8.173 12.96 12.96 0 0 0-2.246-9.811 14.03 14.03 0 0 0-15.043-5.568 12.8 12.8 0 0 0-3.592 1.57l-22.453 14.258a42.9 42.9 0 0 1-11.877 5.209 46.52 46.52 0 0 1-49.846-18.5 43.02 43.02 0 0 1-7.297-32.557A40.42 40.42 0 0 1 96.798 96.98l58.646-37.316a42.8 42.8 0 0 1 11.811-5.21 46.5 46.5 0 0 1 13.822-1.444z"/></svg>`,svg:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="#ffb300" d="M29.168 14.03a2.7 2.7 0 0 0-1.968-.83 2.51 2.51 0 0 0-1.929.8h-4.443l3.078-3.078a2.835 2.835 0 0 0 2.857-2.842 2.6 2.6 0 0 0-.831-1.969 2.82 2.82 0 0 0-2.014-.788 2.67 2.67 0 0 0-1.968.788 2.36 2.36 0 0 0-.812 1.922L18 11.17V6.726a2.51 2.51 0 0 0 .8-1.929 2.7 2.7 0 0 0-.832-1.968 2.745 2.745 0 0 0-3.936 0 2.7 2.7 0 0 0-.832 1.968 2.51 2.51 0 0 0 .8 1.93v4.443l-3.138-3.138a2.36 2.36 0 0 0-.812-1.922 2.66 2.66 0 0 0-1.968-.788 2.83 2.83 0 0 0-2.014.788 2.6 2.6 0 0 0-.831 1.969 2.74 2.74 0 0 0 .831 2.013 2.8 2.8 0 0 0 2.026.829l3.078 3.078H6.729a2.51 2.51 0 0 0-1.929-.8 2.7 2.7 0 0 0-1.968.831 2.745 2.745 0 0 0 0 3.937 2.7 2.7 0 0 0 1.968.832 2.51 2.51 0 0 0 1.929-.8h4.443l-3.078 3.077a2.835 2.835 0 0 0-2.857 2.842 2.6 2.6 0 0 0 .831 1.969 2.82 2.82 0 0 0 2.014.788 2.67 2.67 0 0 0 1.968-.788 2.36 2.36 0 0 0 .812-1.922L14 20.827v4.444a2.51 2.51 0 0 0-.8 1.929 2.784 2.784 0 0 0 4.768 1.968A2.7 2.7 0 0 0 18.8 27.2a2.51 2.51 0 0 0-.8-1.929v-4.444l3.138 3.138a2.36 2.36 0 0 0 .812 1.922 2.66 2.66 0 0 0 1.968.788 2.83 2.83 0 0 0 2.014-.788 2.6 2.6 0 0 0 .831-1.969 2.74 2.74 0 0 0-.831-2.013 2.8 2.8 0 0 0-2.026-.829L20.828 18h4.443a2.51 2.51 0 0 0 1.93.8 2.784 2.784 0 0 0 1.967-4.769Z"/></svg>`,swift:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="#ff6e40" d="M17.087 19.721c-2.36 1.36-5.59 1.5-8.86.1a13.8 13.8 0 0 1-6.23-5.32c.67.55 1.46 1 2.3 1.4 3.37 1.57 6.73 1.46 9.1 0-3.37-2.59-6.24-5.96-8.37-8.71-.45-.45-.78-1.01-1.12-1.51 8.28 6.05 7.92 7.59 2.41-1.01 4.89 4.94 9.43 7.74 9.43 7.74.16.09.25.16.36.22.1-.25.19-.51.26-.78.79-2.85-.11-6.12-2.08-8.81 4.55 2.75 7.25 7.91 6.12 12.24-.03.11-.06.22-.05.39 2.24 2.83 1.64 5.78 1.35 5.22-1.21-2.39-3.48-1.65-4.62-1.17"/></svg>`,table:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="#8bc34a" d="M6 2h8l6 6v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2m7 1.5V9h5.5zm4 7.5h-4v2h1l-2 1.67L10 13h1v-2H7v2h1l3 2.5L8 18H7v2h4v-2h-1l2-1.67L14 18h-1v2h4v-2h-1l-3-2.5 3-2.5h1z"/></svg>`,tailwindcss:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="#4db6ac" d="M23.5 12H8c.89-2.3 4.02-4 7.75-4s6.86 1.7 7.75 4M14 12h15.5c-.89 2.3-4.02 4-7.75 4s-6.86-1.7-7.75-4m3.5 8H2c.89-2.3 4.02-4 7.75-4s6.86 1.7 7.75 4M8 20h15.5c-.89 2.3-4.02 4-7.75 4S8.89 22.3 8 20"/></svg>`,toml:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="#cfd8dc" d="M4 6V4h8v2H9v7H7V6z"/><path fill="#ef5350" d="M4 1v1H2v12h2v1H1V1zm8 0v1h2v12h-2v1h3V1z"/></svg>`,toml_light:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="#455a64" d="M4 6V4h8v2H9v7H7V6z"/><path fill="#ef5350" d="M4 1v1H2v12h2v1H1V1zm8 0v1h2v12h-2v1h3V1z"/></svg>`,tsconfig:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="#757575" d="M15 2H6a2.006 2.006 0 0 0-2 2v22a2.006 2.006 0 0 0 2 2h6v-4H6v-2h6v-2H6v-2h6v-2H6v-2h6v-2h2V4l8 8h2v-1Z" data-mit-no-recolor="true"/><path fill="#0288d1" d="M12 12v18h18V12Zm8 6h-2v8h-2v-8h-2v-2h6Zm8 0h-4v2h2a2.006 2.006 0 0 1 2 2v2a2.006 2.006 0 0 1-2 2h-4v-2h4v-2h-2a2.006 2.006 0 0 1-2-2v-2a2.006 2.006 0 0 1 2-2h4Z"/></svg>`,tune:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="#fbc02d" d="M12 10h10v2H12z"/><path fill="#fbc02d" d="M16 4h2v8h-2zm4 18h10v2H20zm4 2h2v4h-2zm0-20h2v14h-2zM2 18h10v2H2z"/><path fill="#fbc02d" d="M6 18h2v10H6zM6 4h2v10H6zm10 12h2v12h-2z"/></svg>`,typescript:`<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" viewBox="0 0 16 16"><path fill="#0288d1" d="M2 2v12h12V2zm4 6h3v1H8v4H7V9H6zm5 0h2v1h-2v1h1a1.003 1.003 0 0 1 1 1v1a1.003 1.003 0 0 1-1 1h-2v-1h2v-1h-1a1.003 1.003 0 0 1-1-1V9a1.003 1.003 0 0 1 1-1"/></svg>`,"typescript-def":`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><g fill="#0288d1"><path d="M2 2v12h12V2zm1 1h10v10H3z"/><path d="M5 7v1h1v4h1V8h1V7zm5 0a1.003 1.003 0 0 0-1 1v1a1.003 1.003 0 0 0 1 1h1v1H9v1h2a1.003 1.003 0 0 0 1-1v-1a1.003 1.003 0 0 0-1-1h-1V8h2V7z"/></g></svg>`,video:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="#ff9800" d="m24 6 2 6h-4l-2-6h-3l2 6h-4l-2-6h-3l2 6H8L6 6H5a3 3 0 0 0-3 3v14a3 3 0 0 0 3 3h22a3 3 0 0 0 3-3V6Z"/></svg>`,vite:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="#a0f" d="M29.313 12h-6.664a1.427 1.427 0 0 1-1.1-2.24l4.398-6.676A.703.703 0 0 0 25.397 2H8.428a.62.62 0 0 0-.55.289l-5.77 8.627A.703.703 0 0 0 2.658 12h8.175a1.427 1.427 0 0 1 1.099 2.24l-4.48 6.676A.702.702 0 0 0 8 22l6.695.002A1.34 1.34 0 0 1 16 23.375v5.934a.652.652 0 0 0 1.168.433l12.694-16.586a.725.725 0 0 0-.55-1.156"/></svg>`,vitest:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="#00e676" d="M15.438 29.636a.685.685 0 0 1-1.029.213L2.274 20.755A.65.65 0 0 1 2 20.187V9.175a.715.715 0 0 1 1.166-.568l7.404 5.612a1.47 1.47 0 0 0 2.125-.497l6.102-11.367A.72.72 0 0 1 19.414 2h9.872a.76.76 0 0 1 .617 1.137l-14.465 26.57Z"/></svg>`,vue:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="#41b883" d="M1.791 3.851 12 21.471 22.209 3.936V3.85H18.24l-6.18 10.616L5.906 3.851z"/><path fill="#35495e" d="m5.907 3.851 6.152 10.617L18.24 3.851h-3.723L12.084 8.03 9.66 3.85z"/></svg>`,webassembly:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="#7c4dff" d="M22 18h4v4h-4z"/><path fill="#7c4dff" d="M20 2a4 4 0 0 1-8 0H2v28h28V2Zm-2 24h-2v2h-4v-2h-2v2H6v-2H4V16h2v10h4V16h2v10h4V16h2Zm10 2h-2v-4h-4v4h-2V18h2v-2h4v2h2Z"/></svg>`,xml:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="#8bc34a" d="M13 9h5.5L13 3.5zM6 2h8l6 6v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V4c0-1.11.89-2 2-2m.12 13.5 3.74 3.74 1.42-1.41-2.33-2.33 2.33-2.33-1.42-1.41zm11.16 0-3.74-3.74-1.42 1.41 2.33 2.33-2.33 2.33 1.42 1.41z"/></svg>`,yaml:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="#ff5252" d="M13 9h5.5L13 3.5zM6 2h8l6 6v12c0 1.1-.9 2-2 2H6c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2m12 16v-2H9v2zm-4-4v-2H6v2z"/></svg>`,yarn:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="#0288d1" d="M27.575 23.967a9.9 9.9 0 0 0-3.751 1.726 22.6 22.6 0 0 1-5.537 2.504 1.55 1.55 0 0 1-.931.52 59 59 0 0 1-6.11.548c-1.102.008-1.777-.282-1.965-.735a1.49 1.49 0 0 1 .82-1.965 3.6 3.6 0 0 1-.486-.359c-.163-.162-.334-.487-.385-.367-.213.52-.324 1.794-.897 2.366-.786.795-2.273.53-3.153.069-.965-.513.069-1.718.069-1.718a.69.69 0 0 1-.94-.324 4.6 4.6 0 0 1-.632-2.794 5.2 5.2 0 0 1 1.674-2.76 8.84 8.84 0 0 1 .624-4.17 9.9 9.9 0 0 1 3-3.469S7.136 11.015 7.82 9.177c.444-1.196.623-1.187.769-1.239a3.44 3.44 0 0 0 1.375-.811 4.99 4.99 0 0 1 4.178-1.607s1.094-3.357 2.12-2.7a17.4 17.4 0 0 1 1.452 2.735s1.213-.71 1.35-.445a10.74 10.74 0 0 1 .495 5.81 13.3 13.3 0 0 1-2.46 5.127c-.129.214 1.47.889 2.477 3.683.932 2.554.103 4.699.248 4.938.026.043.034.06.034.06s1.068.085 3.213-1.24a8.05 8.05 0 0 1 4.05-1.52 1.026 1.026 0 0 1 .453 2Z"/></svg>`,zig:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="#f9a825" d="M2 8h6v4H2zm8 0h12v4H10zm0 12h12v4H10zm14 0h2v4h-2zM8 20l-3 4H2V12h4v8zm14-8h-6l-6 8h6z"/><path fill="#f9a825" d="M16 20h-6l-6 8m12-16h6l6-8m2 4v16h-4V12h-2l3-4z"/></svg>`,zip:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="#afb42b" d="M14 17h-2v-2h-2v-2h2v2h2m0-6h-2v2h2v2h-2v-2h-2V9h2V7h-2V5h2v2h2m5-4H5c-1.11 0-2 .89-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2"/></svg>`};function AS(e){let t=e.slice(e.lastIndexOf(`/`)+1).toLowerCase(),n=ES[t];if(n)return n;for(let e=t.indexOf(`.`,1);e!==-1;e=t.indexOf(`.`,e+1)){let n=DS[t.slice(e+1)];if(n)return n}return TS}var jS=({icon:e,className:t})=>(0,J.jsx)(`span`,{"aria-hidden":!0,className:q(`inline-flex size-4 shrink-0 [&>svg]:size-full`,t),dangerouslySetInnerHTML:{__html:kS[e]}});function MS({path:e,className:t}){let n=AS(e),r=OS[n];return r?(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(jS,{icon:r,className:q(t,`dark:hidden`)}),(0,J.jsx)(jS,{icon:n,className:q(t,`hidden dark:inline-flex`)})]}):(0,J.jsx)(jS,{icon:n,className:t})}function NS({icon:e,label:t,busyLabel:n=`Starting…`,ariaLabel:r,menuAriaLabel:i,tooltip:a,tooltipClassName:o,prompt:s,configureDescription:c,onStart:l,onConfigure:u,busy:d=!1,starting:f=!1,disabled:p=!1,variant:m=`outline`,size:h=`xs`,className:g}){let _=()=>{N_(s),u()};return(0,J.jsxs)(`div`,{className:`inline-flex shrink-0 items-center`,children:[(0,J.jsxs)(Il,{children:[(0,J.jsxs)(Ll,{render:(0,J.jsx)(ze,{type:`button`,variant:m,size:h,disabled:p||d,onClick:l,...r?{"aria-label":r}:{},className:q(`rounded-r-none`,m===`outline`&&`border-r-0`,g)}),children:[f?(0,J.jsx)(wu,{className:`h-3.5 w-3.5 animate-spin`,"aria-hidden":!0}):e,t!==void 0&&(f?n:t)]}),(0,J.jsx)(Rl,{...o?{className:o}:{},children:a})]}),(0,J.jsxs)(ig,{children:[(0,J.jsx)(cg,{type:`button`,disabled:p,"aria-label":i,className:q(Re({variant:m,size:h}),`w-auto rounded-l-none px-1.5`,m==="default"&&`border-l border-[var(--color-primary-foreground)]/25`,g),children:(0,J.jsx)(vu,{className:`h-3 w-3`,"aria-hidden":!0})}),(0,J.jsx)(lg,{align:`end`,className:`max-w-[20rem]`,children:(0,J.jsx)(ug,{onClick:_,className:`items-start`,children:(0,J.jsx)(p_,{label:`Configure first, then run`,description:c})})})]})]})}var PS=50,FS={pages:[],cards:[],linkActions:[],panels:[],runSlots:[],settings:[],everyPage:[],loaded:!1},IS=new Map,LS=new Map;function RS(e){let t=IS.get(e);return t||(t=wv(()=>import(e).then(t=>{let n=t.default;if(!(!n||typeof n!=`object`)){if(n.stylesheet){let t=document.createElement(`link`);t.rel=`stylesheet`,t.href=new URL(n.stylesheet,new URL(e,window.location.href)).href,document.head.appendChild(t)}return n}},t=>{console.warn(`[openagent] the module at ${e} did not load:`,t)}),[]),IS.set(e,t),t.then(t=>void LS.set(e,t))),t}var zS=[];function BS(e,t){return(e.order??PS)-(t.order??PS)||e.package.localeCompare(t.package)}function VS(e=0){let{value:t,loaded:n}=xd(Uy,zS,3e4,[e],{remember:`modules`,stored:!0}),[r,i]=(0,Y.useState)(FS);return(0,Y.useEffect)(()=>{if(!n)return;if(t.every(e=>LS.has(e.url))){i(HS(t.map(e=>({module:e,definition:LS.get(e.url)})),!0));return}let e=!0,r=new Map;for(let n of t)RS(n.url).then(a=>{if(!e)return;r.set(n,a);let o=t.filter(e=>r.has(e)).map(e=>({module:e,definition:r.get(e)}));i(HS(o,o.length===t.length))});return()=>{e=!1}},[t,n]),r}function HS(e,t){let n=[],r=[],i=[],a=[],o=[],s=[],c=[],l,u;for(let{module:t,definition:d}of e){for(let e of d?.pages??[])!E_(e.segment)||n.some(t=>t.segment===e.segment)||n.push({...e,package:t.package,projects:t.projects});for(let e of d?.cards??[])r.push({...e,package:t.package,projects:t.projects,computer:t.computer===!0});for(let e of d?.linkActions??[])i.push({...e,package:t.package,projects:t.projects});for(let e of d?.panels??[])a.push({...e,package:t.package,projects:t.projects});for(let e of d?.settings??[])s.push({...e,package:t.package,projects:t.projects,computer:t.computer===!0});d?.everyPage&&t.computer===!0&&c.push({EveryPage:d.everyPage,package:t.package}),d?.usageLimit&&(l??={...d.usageLimit,package:t.package,projects:t.projects}),d?.schedule&&(u??={...d.schedule,package:t.package,projects:t.projects});let e=d?.run;e?.summary&&o.push({...e,package:t.package,projects:t.projects})}return r.sort(BS),s.sort(BS),{pages:n,cards:r,linkActions:i,panels:a,runSlots:o,settings:s,everyPage:c,...l?{usageLimit:l}:{},...u?{schedule:u}:{},loaded:t}}var US=(0,Y.createContext)(FS);function WS(){return(0,Y.useContext)(US)}function GS({projects:e,targets:t,resetKey:n,label:r,tooltip:i,disabled:a=!1,size:o=`sm`,variant:s=`outline`}){let{linkActions:c}=WS(),l=(0,Y.useContext)(I_),u=c.filter(t=>e.some(e=>t.projects.includes(e))),[d,f]=(0,Y.useState)(null),[p,m]=(0,Y.useState)(new Set),[h,g]=(0,Y.useState)(null);(0,Y.useEffect)(()=>{m(new Set),g(null)},[n??e.join(`
|
|
16
|
-
`)]);let _=e=>`${e.package}\n${e.label}`,v=async e=>{if(d!==null)return;f(_(e)),g(null);let n={ok:!0};try{let r=typeof t==`function`?await t():t,i=XC({...l??F_,package:e.package},{acts:!0});for(let{projectId:t,links:a}of r)if(!(!e.projects.includes(t)||a.length===0)&&(n=await e.run(i,t,a),!n.ok))break}catch(e){n={ok:!1,error:e instanceof Error?e.message:String(e)}}f(null),n.ok?m(t=>new Set(t).add(_(e))):g(n.error)};return u.length===0?null:(0,J.jsxs)(J.Fragment,{children:[u.map(e=>{let t=e.icon,n=p.has(_(e)),c=n?(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(_u,{className:`h-3.5 w-3.5`,"aria-hidden":!0}),` `,(0,J.jsx)(`span`,{className:`max-md:min-w-0 max-md:truncate`,children:e.doneLabel??e.label})]}):(0,J.jsxs)(J.Fragment,{children:[t&&(0,J.jsx)(t,{className:`h-3.5 w-3.5`,"aria-hidden":!0}),(0,J.jsx)(`span`,{className:`max-md:min-w-0 max-md:truncate`,children:r?r(e):e.label})]}),l={variant:s,size:o,className:`gap-1.5 md:shrink-0 max-md:min-w-0`,disabled:a||d!==null||n,onClick:()=>void v(e)};return i?(0,J.jsxs)(Il,{children:[(0,J.jsx)(Ll,{render:(0,J.jsx)(ze,{...l}),children:c}),(0,J.jsx)(Rl,{children:i})]},_(e)):(0,J.jsx)(ze,{...l,children:c},_(e))}),h&&(0,J.jsx)(`p`,{role:`alert`,className:`basis-full text-xs text-danger`,children:h})]})}function KS({description:e,action:t,children:n}){return(0,J.jsxs)(`div`,{className:`space-y-4`,children:[(e!==void 0||t!==void 0)&&(0,J.jsxs)(`div`,{className:`flex items-start justify-between gap-3 max-sm:flex-col`,children:[e!==void 0&&(0,J.jsx)(`p`,{className:`text-sm text-muted-foreground`,children:e}),t!==void 0&&(0,J.jsx)(`div`,{className:`ml-auto shrink-0 max-sm:ml-0`,children:t})]}),(0,J.jsx)(`div`,{className:`divide-y divide-border`,children:n})]})}function qS({label:e,description:t,control:n,dimmed:r=!1}){return(0,J.jsxs)(`div`,{className:`flex items-start justify-between gap-4 py-3 first:pt-0 last:pb-0`,children:[(0,J.jsxs)(`div`,{className:`min-w-0`,children:[(0,J.jsx)(`p`,{className:q(`text-sm`,r&&`text-muted-foreground`),children:e}),(0,J.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:t})]}),(0,J.jsx)(`div`,{className:`shrink-0`,children:n})]})}var JS=`(no value)`;function YS({label:e,description:t,value:n,options:r,onChange:i}){if(r.length===0)return null;let a=(r.some(e=>e.value===n)?r:[...r,{value:n,label:n}]).map(e=>({value:e.value===``?JS:e.value,label:e.label,disabled:e.disabled===!0}));return(0,J.jsx)(qS,{label:e,description:t,control:(0,J.jsxs)(Kb,{items:a,value:n===``?JS:n,onValueChange:(e,t)=>{t.reason!==`none`&&i(e===JS?``:e)},children:[(0,J.jsx)(Jb,{size:`sm`,"aria-label":e,className:`max-w-[min(16rem,45vw)]`,children:(0,J.jsx)(qb,{})}),(0,J.jsx)(Yb,{align:`end`,children:a.map(e=>(0,J.jsx)(Xb,{value:e.value,disabled:e.disabled,children:e.label},e.value))})]})})}var XS=(0,Y.createContext)(null);function ZS(e){let t=(0,Y.useContext)(XS),n=(0,Y.useRef)(e?.back);n.current=e?.back;let r=e?.title;return(0,Y.useEffect)(()=>{if(t)return t(r===void 0?void 0:{title:r,back:()=>n.current?.()}),()=>t(void 0)},[t,r]),t!==null}var QS=(e=>(e[e.Border=-1]=`Border`,e[e.Data=0]=`Data`,e[e.Function=1]=`Function`,e[e.Position=2]=`Position`,e[e.Timing=3]=`Timing`,e[e.Alignment=4]=`Alignment`,e))(QS||{}),$S=[0,1],eC=[1,0],tC=[2,3],nC=[3,2],rC={L:$S,M:eC,Q:tC,H:nC},iC=/^\d*$/,aC=/^[A-Z0-9 $%*+./:-]*$/,oC=`0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:`,sC=1,cC=40,lC=3,uC=3,dC=40,fC=10,pC=[[-1,7,10,15,20,26,18,20,24,30,18,20,24,26,30,22,24,28,30,28,28,28,28,30,30,26,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,10,16,26,18,24,16,18,22,22,26,30,22,22,24,24,28,28,26,26,26,26,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28],[-1,13,22,18,26,18,24,18,22,20,24,28,26,24,20,30,24,28,28,26,30,28,30,30,30,30,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,17,28,22,16,22,28,26,26,24,28,24,28,22,24,24,30,28,28,26,28,30,24,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30]],mC=[[-1,1,1,1,1,1,2,2,2,2,4,4,4,4,4,6,6,6,6,7,8,8,9,9,10,12,12,12,13,14,15,16,17,18,19,19,20,21,22,24,25],[-1,1,1,1,2,2,4,4,4,5,5,5,8,9,9,10,10,11,13,14,16,17,17,18,20,21,23,25,26,28,29,31,33,35,37,38,40,43,45,47,49],[-1,1,1,2,2,4,4,6,6,8,8,8,10,12,16,12,17,16,18,21,20,23,23,25,27,29,34,34,35,38,40,43,45,48,51,53,56,59,62,65,68],[-1,1,1,2,4,4,4,5,6,8,8,11,11,16,16,18,16,19,21,25,25,25,34,30,32,35,37,40,42,45,48,51,54,57,60,63,66,70,74,77,81]],hC=class{constructor(e,t,n,r){if(this.version=e,this.ecc=t,e<sC||e>cC)throw RangeError(`Version value out of range`);if(r<-1||r>7)throw RangeError(`Mask value out of range`);this.size=e*4+17;let i=Array.from({length:this.size}).fill(!1);for(let e=0;e<this.size;e++)this.modules.push(i.slice()),this.types.push(i.map(()=>0));this.drawFunctionPatterns();let a=this.addEccAndInterleave(n);if(this.drawCodewords(a),r===-1){let e=1e9;for(let t=0;t<8;t++){this.applyMask(t),this.drawFormatBits(t);let n=this.getPenaltyScore();n<e&&(r=t,e=n),this.applyMask(t)}}this.mask=r,this.applyMask(r),this.drawFormatBits(r)}size;mask;modules=[];types=[];getModule(e,t){return e>=0&&e<this.size&&t>=0&&t<this.size&&this.modules[t][e]}drawFunctionPatterns(){for(let e=0;e<this.size;e++)this.setFunctionModule(6,e,e%2==0,QS.Timing),this.setFunctionModule(e,6,e%2==0,QS.Timing);this.drawFinderPattern(3,3),this.drawFinderPattern(this.size-4,3),this.drawFinderPattern(3,this.size-4);let e=this.getAlignmentPatternPositions(),t=e.length;for(let n=0;n<t;n++)for(let r=0;r<t;r++)n===0&&r===0||n===0&&r===t-1||n===t-1&&r===0||this.drawAlignmentPattern(e[n],e[r]);this.drawFormatBits(0),this.drawVersion()}drawFormatBits(e){let t=this.ecc[1]<<3|e,n=t;for(let e=0;e<10;e++)n=n<<1^(n>>>9)*1335;let r=(t<<10|n)^21522;for(let e=0;e<=5;e++)this.setFunctionModule(8,e,_C(r,e));this.setFunctionModule(8,7,_C(r,6)),this.setFunctionModule(8,8,_C(r,7)),this.setFunctionModule(7,8,_C(r,8));for(let e=9;e<15;e++)this.setFunctionModule(14-e,8,_C(r,e));for(let e=0;e<8;e++)this.setFunctionModule(this.size-1-e,8,_C(r,e));for(let e=8;e<15;e++)this.setFunctionModule(8,this.size-15+e,_C(r,e));this.setFunctionModule(8,this.size-8,!0)}drawVersion(){if(this.version<7)return;let e=this.version;for(let t=0;t<12;t++)e=e<<1^(e>>>11)*7973;let t=this.version<<12|e;for(let e=0;e<18;e++){let n=_C(t,e),r=this.size-11+e%3,i=Math.floor(e/3);this.setFunctionModule(r,i,n),this.setFunctionModule(i,r,n)}}drawFinderPattern(e,t){for(let n=-4;n<=4;n++)for(let r=-4;r<=4;r++){let i=Math.max(Math.abs(r),Math.abs(n)),a=e+r,o=t+n;a>=0&&a<this.size&&o>=0&&o<this.size&&this.setFunctionModule(a,o,i!==2&&i!==4,QS.Position)}}drawAlignmentPattern(e,t){for(let n=-2;n<=2;n++)for(let r=-2;r<=2;r++)this.setFunctionModule(e+r,t+n,Math.max(Math.abs(r),Math.abs(n))!==1,QS.Alignment)}setFunctionModule(e,t,n,r=QS.Function){this.modules[t][e]=n,this.types[t][e]=r}addEccAndInterleave(e){let t=this.version,n=this.ecc;if(e.length!==MC(t,n))throw RangeError(`Invalid argument`);let r=mC[n[0]][t],i=pC[n[0]][t],a=Math.floor(jC(t)/8),o=r-a%r,s=Math.floor(a/r),c=[],l=NC(i);for(let t=0,n=0;t<r;t++){let r=e.slice(n,n+s-i+(t<o?0:1));n+=r.length;let a=PC(r,l);t<o&&r.push(0),c.push(r.concat(a))}let u=[];for(let e=0;e<c[0].length;e++)c.forEach((t,n)=>{(e!==s-i||n>=o)&&u.push(t[e])});return u}drawCodewords(e){if(e.length!==Math.floor(jC(this.version)/8))throw RangeError(`Invalid argument`);let t=0;for(let n=this.size-1;n>=1;n-=2){n===6&&(n=5);for(let r=0;r<this.size;r++)for(let i=0;i<2;i++){let a=n-i,o=n+1&2?r:this.size-1-r;!this.types[o][a]&&t<e.length*8&&(this.modules[o][a]=_C(e[t>>>3],7-(t&7)),t++)}}}applyMask(e){if(e<0||e>7)throw RangeError(`Mask value out of range`);for(let t=0;t<this.size;t++)for(let n=0;n<this.size;n++){let r;switch(e){case 0:r=(n+t)%2==0;break;case 1:r=t%2==0;break;case 2:r=n%3==0;break;case 3:r=(n+t)%3==0;break;case 4:r=(Math.floor(n/3)+Math.floor(t/2))%2==0;break;case 5:r=n*t%2+n*t%3==0;break;case 6:r=(n*t%2+n*t%3)%2==0;break;case 7:r=((n+t)%2+n*t%3)%2==0;break;default:throw Error(`Unreachable`)}!this.types[t][n]&&r&&(this.modules[t][n]=!this.modules[t][n])}}getPenaltyScore(){let e=0;for(let t=0;t<this.size;t++){let n=!1,r=0,i=[0,0,0,0,0,0,0];for(let a=0;a<this.size;a++)this.modules[t][a]===n?(r++,r===5?e+=lC:r>5&&e++):(this.finderPenaltyAddHistory(r,i),n||(e+=this.finderPenaltyCountPatterns(i)*dC),n=this.modules[t][a],r=1);e+=this.finderPenaltyTerminateAndCount(n,r,i)*dC}for(let t=0;t<this.size;t++){let n=!1,r=0,i=[0,0,0,0,0,0,0];for(let a=0;a<this.size;a++)this.modules[a][t]===n?(r++,r===5?e+=lC:r>5&&e++):(this.finderPenaltyAddHistory(r,i),n||(e+=this.finderPenaltyCountPatterns(i)*dC),n=this.modules[a][t],r=1);e+=this.finderPenaltyTerminateAndCount(n,r,i)*dC}for(let t=0;t<this.size-1;t++)for(let n=0;n<this.size-1;n++){let r=this.modules[t][n];r===this.modules[t][n+1]&&r===this.modules[t+1][n]&&r===this.modules[t+1][n+1]&&(e+=uC)}let t=0;for(let e of this.modules)t=e.reduce((e,t)=>e+ +!!t,t);let n=this.size*this.size,r=Math.ceil(Math.abs(t*20-n*10)/n)-1;return e+=r*fC,e}getAlignmentPatternPositions(){if(this.version===1)return[];{let e=Math.floor(this.version/7)+2,t=this.version===32?26:Math.ceil((this.version*4+4)/(e*2-2))*2,n=[6];for(let r=this.size-7;n.length<e;r-=t)n.splice(1,0,r);return n}}finderPenaltyCountPatterns(e){let t=e[1],n=t>0&&e[2]===t&&e[3]===t*3&&e[4]===t&&e[5]===t;return(n&&e[0]>=t*4&&e[6]>=t?1:0)+(n&&e[6]>=t*4&&e[0]>=t?1:0)}finderPenaltyTerminateAndCount(e,t,n){return e&&(this.finderPenaltyAddHistory(t,n),t=0),t+=this.size,this.finderPenaltyAddHistory(t,n),this.finderPenaltyCountPatterns(n)}finderPenaltyAddHistory(e,t){t[0]===0&&(e+=this.size),t.pop(),t.unshift(e)}};function gC(e,t,n){if(t<0||t>31||e>>>t)throw RangeError(`Value out of range`);for(let r=t-1;r>=0;r--)n.push(e>>>r&1)}function _C(e,t){return(e>>>t&1)!=0}var vC=class{constructor(e,t,n){if(this.mode=e,this.numChars=t,this.bitData=n,t<0)throw RangeError(`Invalid argument`);this.bitData=n.slice()}getData(){return this.bitData.slice()}},yC=[1,10,12,14],bC=[2,9,11,13],xC=[4,8,16,16];function SC(e,t){return e[Math.floor((t+7)/17)+1]}function CC(e){let t=[];for(let n of e)gC(n,8,t);return new vC(xC,e.length,t)}function wC(e){if(!DC(e))throw RangeError(`String contains non-numeric characters`);let t=[];for(let n=0;n<e.length;){let r=Math.min(e.length-n,3);gC(Number.parseInt(e.substring(n,n+r),10),r*3+1,t),n+=r}return new vC(yC,e.length,t)}function TC(e){if(!OC(e))throw RangeError(`String contains unencodable characters in alphanumeric mode`);let t=[],n;for(n=0;n+2<=e.length;n+=2){let r=oC.indexOf(e.charAt(n))*45;r+=oC.indexOf(e.charAt(n+1)),gC(r,11,t)}return n<e.length&&gC(oC.indexOf(e.charAt(n)),6,t),new vC(bC,e.length,t)}function EC(e){return e===``?[]:DC(e)?[wC(e)]:OC(e)?[TC(e)]:[CC(AC(e))]}function DC(e){return iC.test(e)}function OC(e){return aC.test(e)}function kC(e,t){let n=0;for(let r of e){let e=SC(r.mode,t);if(r.numChars>=1<<e)return 1/0;n+=4+e+r.bitData.length}return n}function AC(e){e=encodeURI(e);let t=[];for(let n=0;n<e.length;n++)e.charAt(n)===`%`?(t.push(Number.parseInt(e.substring(n+1,n+3),16)),n+=2):t.push(e.charCodeAt(n));return t}function jC(e){if(e<sC||e>cC)throw RangeError(`Version number out of range`);let t=(16*e+128)*e+64;if(e>=2){let n=Math.floor(e/7)+2;t-=(25*n-10)*n-55,e>=7&&(t-=36)}return t}function MC(e,t){return Math.floor(jC(e)/8)-pC[t[0]][e]*mC[t[0]][e]}function NC(e){if(e<1||e>255)throw RangeError(`Degree out of range`);let t=[];for(let n=0;n<e-1;n++)t.push(0);t.push(1);let n=1;for(let r=0;r<e;r++){for(let e=0;e<t.length;e++)t[e]=FC(t[e],n),e+1<t.length&&(t[e]^=t[e+1]);n=FC(n,2)}return t}function PC(e,t){let n=t.map(e=>0);for(let r of e){let e=r^n.shift();n.push(0),t.forEach((t,r)=>n[r]^=FC(t,e))}return n}function FC(e,t){if(e>>>8||t>>>8)throw RangeError(`Byte out of range`);let n=0;for(let r=7;r>=0;r--)n=n<<1^(n>>>7)*285,n^=(t>>>r&1)*e;return n}function IC(e,t,n=1,r=40,i=-1,a=!0){if(!(sC<=n&&n<=r&&r<=cC)||i<-1||i>7)throw RangeError(`Invalid value`);let o,s;for(o=n;;o++){let n=MC(o,t)*8,i=kC(e,o);if(i<=n){s=i;break}if(o>=r)throw RangeError(`Data too long`)}for(let e of[eC,tC,nC])a&&s<=MC(o,e)*8&&(t=e);let c=[];for(let t of e){gC(t.mode[0],4,c),gC(t.numChars,SC(t.mode,o),c);for(let e of t.getData())c.push(e)}let l=MC(o,t)*8;gC(0,Math.min(4,l-c.length),c),gC(0,(8-c.length%8)%8,c);for(let e=236;c.length<l;e^=253)gC(e,8,c);let u=Array.from({length:Math.ceil(c.length/8)},()=>0);return c.forEach((e,t)=>u[t>>>3]|=e<<7-(t&7)),new hC(o,t,u,i)}function LC(e,t){let{ecc:n=`L`,boostEcc:r=!1,minVersion:i=1,maxVersion:a=40,maskPattern:o=-1,border:s=1}=t||{},c=typeof e==`string`?EC(e):Array.isArray(e)?[CC(e)]:void 0;if(!c)throw Error(`uqr only supports encoding string and binary data, but got: ${typeof e}`);let l=IC(c,rC[n],i,a,o,r),u=RC({version:l.version,maskPattern:l.mask,size:l.size,data:l.modules,types:l.types},s);return t?.invert&&(u.data=u.data.map(e=>e.map(e=>!e))),t?.onEncoded?.(u),u}function RC(e,t=1){if(!t)return e;let{size:n}=e,r=n+t*2;e.size=r,e.data.forEach(e=>{for(let n=0;n<t;n++)e.unshift(!1),e.push(!1)});for(let n=0;n<t;n++)e.data.unshift(Array.from({length:r},e=>!1)),e.data.push(Array.from({length:r},e=>!1));let i=QS.Border;e.types.forEach(e=>{for(let n=0;n<t;n++)e.unshift(i),e.push(i)});for(let n=0;n<t;n++)e.types.unshift(Array.from({length:r},e=>i)),e.types.push(Array.from({length:r},e=>i));return e}function zC({text:e,label:t}){let{data:n,size:r}=LC(e,{ecc:`M`,border:2}),i=``;return n.forEach((e,t)=>{e.forEach((e,n)=>{e&&(i+=`M${n} ${t}h1v1h-1z`)})}),(0,J.jsx)(`svg`,{role:`img`,"aria-label":t,viewBox:`0 0 ${r} ${r}`,shapeRendering:`crispEdges`,className:`h-56 w-56 max-w-full rounded-md bg-white`,children:(0,J.jsx)(`path`,{d:i,fill:`black`})})}function BC(e,t){let[n,r]=(0,Y.useState)(!1);return(0,Y.useLayoutEffect)(()=>{if(!e)return;let n=e.getBoundingClientRect().width;if(n>0&&r(n<t),typeof ResizeObserver>`u`)return;let i=new ResizeObserver(([e])=>e&&r(e.contentRect.width<t));return i.observe(e),()=>i.disconnect()},[e,t]),n}var VC=500;function HC({children:e,className:t}){let[n,r]=(0,Y.useState)(!1);return(0,Y.useEffect)(()=>{let e=setTimeout(()=>r(!0),VC);return()=>clearTimeout(e)},[]),(0,J.jsx)(`p`,{className:q(`text-xs text-muted-foreground`,!n&&`invisible`,t),children:e})}var UC={};function WC(e){let{schedule:t,pages:n,loaded:r}=WS(),i=(0,Y.useContext)(I_)??F_,a=e.map(e=>e.id).join(`,`),{value:o}=xd(async()=>{if(!r)return UC;let n=t?XC({...i,package:t.package}):void 0,a=await Promise.all(e.map(async e=>!t||!n||!t.projects.includes(e.id)?[e.id,[]]:t.read(n,e).then(t=>[e.id,t],()=>void 0)));return Object.fromEntries(a.filter(e=>e!==void 0))},UC,1e4,[r,t?.package,t?.projects.join(`,`),a],`previous`),s=Object.fromEntries(e.flatMap(e=>o[e.id]?[[e.id,o[e.id]]]:[]));if(!t)return{commands:s,open:()=>{}};let c=n.find(e=>e.segment===t.page)?.label??t.page;return{page:{segment:t.page,label:c,href:i.pageHref(t.page)},commands:s,open:()=>i.openPage(t.page)}}function GC(e){if(/^[a-z][a-z0-9+.-]*:/i.test(e)||e.startsWith(`/`))return;let[t,...n]=e.split(`/`).filter(Boolean);if(!(!t||!E_(t)||n.length===0))return{segment:t,rest:n}}function KC(e){let t=e.match(/(?<![\w./:@-])[a-z][a-z0-9]*\/[^\s()[\]<>"'`]+/g)??[];return[...new Set(t.map(e=>e.replace(/[.,;:!?]+$/,``)).filter(e=>GC(e)!==void 0))]}var qC={};function JC(e){let{pages:t}=WS(),n=(0,Y.useContext)(I_)??F_,r=e.map(({projectId:e,paths:t})=>`${e}\n${[...t].sort().join(`
|
|
15
|
+
`).map((e,t)=>(0,J.jsxs)(Y.Fragment,{children:[t>0&&(0,J.jsx)(`br`,{}),zy(e)]},t)):zy(e)}function Cy({header:e,body:t}){return(0,J.jsx)(`div`,{className:`overflow-x-auto rounded-lg border border-border`,children:(0,J.jsxs)(`table`,{className:`min-w-full border-separate border-spacing-0 text-sm`,children:[(0,J.jsx)(`thead`,{children:(0,J.jsx)(`tr`,{children:e.map((e,t)=>(0,J.jsx)(`th`,{className:`border-b border-border bg-muted/50 px-3 py-[7px] text-left font-semibold`,children:zy(e)},t))})}),(0,J.jsx)(`tbody`,{children:t.map((t,n)=>(0,J.jsx)(`tr`,{children:e.map((e,r)=>(0,J.jsx)(`td`,{className:q(`px-3 py-[7px] align-top`,n>0&&`border-t border-border`,r===0?`whitespace-nowrap`:`min-w-40`),children:zy(t[r]??``)},r))},n))})]})})}function wy(e){return e.trim().toLowerCase().replace(/[^\p{L}\p{N}\s_-]/gu,``).replace(/\s/g,`-`)}function Ty({level:e,text:t}){let n=`h${Math.min(e,6)}`,r=[`text-[26px] leading-[30px] font-medium`,`text-xl leading-[25px] font-medium`,`text-lg font-semibold`,`font-semibold`,`font-semibold`,`font-semibold`][e-1];return(0,J.jsx)(n,{"data-heading":wy(t),className:q(r,e>1&&`pt-7 first:pt-0`),children:zy(t)})}function Ey(e,t,n=0){let{compact:r,document:i}=t,a=[],o=null,s=[],c=0,l=()=>{if(s.length===0)return;let e=s;if(s=[],e.length>=2&&cy(e[1])){let t=sy(e[0]),n=e.slice(2).map(sy);a.push(i?(0,J.jsx)(Cy,{header:t,body:n},c++):(0,J.jsx)(`div`,{className:`overflow-x-auto`,children:(0,J.jsxs)(`table`,{className:q(`w-full border-collapse [&_tbody_tr:last-child_td]:border-b-0`,r?`text-xs`:`text-sm`),children:[(0,J.jsx)(`thead`,{children:(0,J.jsx)(`tr`,{children:t.map((e,t)=>(0,J.jsx)(`th`,{className:q(`border-b border-border text-left font-medium`,r?`py-1 pr-3`:`py-2.5 pr-6`),children:zy(e)},t))})}),(0,J.jsx)(`tbody`,{children:n.map((e,n)=>(0,J.jsx)(`tr`,{children:t.map((t,n)=>(0,J.jsx)(`td`,{className:q(`border-b border-border/60 align-top`,r?`py-1 pr-3`:`py-2.5 pr-6`),children:zy(e[n]??``)},n))},n))})]})},c++))}else for(let t of e)a.push((0,J.jsx)(`p`,{children:zy(t)},c++))};for(let u=0;u<e.length;u++){let d=e[u],f=/^\s*```\s*([\w+-]*)/.exec(d);if(f){o===null?(l(),o={lines:[],language:f[1].toLowerCase()}):(a.push(ay(o.lines,o.language,c++,t)),o=null);continue}if(o!==null){o.lines.push(d);continue}if(/^\s*\|.*\|\s*$/.test(d)){s.push(d);continue}if(l(),vy(d))continue;let p=/^\s*<h([1-6])\b[^>]*>(.*?)<\/h\1>\s*$/i.exec(d),m=p?[d,`#`.repeat(Number(p[1])),p[2]]:/^(#{1,6})\s+(.*)$/.exec(d);if(m){let e=m[1].length;if(i){a.push((0,J.jsx)(Ty,{level:e,text:m[2]},c++));continue}let t=r?[`text-sm`,`text-sm`,`text-xs`,`text-xs`,`text-xs`,`text-xs`]:[`text-[17px] leading-6`,`text-[15px]`,`text-[15px]`,`text-[15px]`,`text-[15px]`,`text-[15px]`];a.push((0,J.jsx)(`p`,{"data-heading":wy(m[2]),className:q(t[e-1],r?`font-semibold`:`font-medium [&:not(:first-child)]:pt-2`),children:zy(m[2])},c++));continue}if(py(d)){a.push((0,J.jsx)(`hr`,{className:q(`border-border`,!r&&`my-3`)},c++));continue}if(n<hy&&/^\s*>/.test(d)){let o=u;for(;o<e.length&&/^\s*>/.test(e[o]);)o++;let s=e.slice(u,o).map(e=>e.replace(/^\s*>\s?/,``));a.push((0,J.jsx)(`blockquote`,{className:q(`space-y-1.5 border-l-4 border-border pl-4`,i?`text-foreground`:`text-muted-foreground`,!r&&`my-3 ml-2`),children:Ey(s,t,n+1)},c++)),u=o-1;continue}if(n<hy&&fy(d)){let r=gy(e,u);for(let i of _y(e.slice(u,r),t,n,c++))a.push(i);u=r-1;continue}if(!d.trim())continue;let h=d.trim();for(;i&&u+1<e.length&&e[u+1].trim()&&!yy(e[u+1]);)h=`${h}${by(e[u])}${e[++u].trim()}`;a.push((0,J.jsx)(`p`,{children:Sy(h)},c++))}return l(),o!==null&&a.push(ay(o.lines,o.language,c++,t)),a}var Dy=`text-primary underline underline-offset-2 break-all`,Oy=`rounded-[4px] bg-foreground/[0.075] px-1 py-px text-[0.9em]`,ky=`whitespace-nowrap rounded bg-primary/10 px-1.5 text-primary hover:bg-primary/15`,Ay=(0,Y.createContext)(void 0);function jy({number:e}){let t=(0,Y.useContext)(Ay);return t?(0,J.jsxs)(`a`,{href:`${t}/issues/${e}`,target:`_blank`,rel:`noreferrer`,className:ky,children:[`#`,e]}):`#${e}`}function My({text:e}){let t=(0,Y.useContext)(ty),n=e.includes(`/`)?t?.(e):void 0;return n?(0,J.jsx)(Py,{label:e,path:e,open:n}):(0,J.jsx)(`code`,{className:Oy,children:e})}function Ny({label:e,path:t}){let n=(0,Y.useContext)(ty)?.(t);return n?(0,J.jsx)(Py,{label:e,path:t,open:n}):(0,J.jsx)(`code`,{title:t,className:Oy,children:e})}function Py({label:e,path:t,open:n}){return(0,J.jsx)(`button`,{type:`button`,title:`Open ${t}`,onClick:n,className:q(Dy,`text-left`),children:e})}function Fy({label:e,to:t}){return(0,J.jsx)(`a`,{href:`#${t}`,onClick:e=>{e.preventDefault(),[...e.currentTarget.closest(`[data-markdown]`)?.querySelectorAll(`[data-heading]`)??[]].find(e=>e.dataset.heading===t.toLowerCase())?.scrollIntoView({block:`start`,behavior:`smooth`})},className:Dy,children:e})}function Iy(e,t){return RegExp(`\\b${t}\\s*=\\s*"([^"]*)"`,`i`).exec(e)?.[1]??RegExp(`\\b${t}\\s*=\\s*'([^']*)'`,`i`).exec(e)?.[1]}function Ly({alt:e,href:t}){let n=(0,Y.useContext)(ty),r=(0,J.jsxs)(`span`,{className:`inline-flex items-center gap-1.5 rounded-md bg-muted px-2 py-0.5 align-middle text-[0.9em] text-foreground`,children:[(0,J.jsx)(Su,{"aria-hidden":!0,className:`size-3.5 shrink-0`}),e||`Image`]});if(t===void 0)return r;if(/^https?:\/\//.test(t))return(0,J.jsx)(`a`,{href:t,target:`_blank`,rel:`noreferrer`,className:`hover:opacity-80`,children:r});let i=n?.(t);return i?(0,J.jsx)(`button`,{type:`button`,title:`Open ${t}`,onClick:i,className:`hover:opacity-80`,children:r}):r}function Ry(e,t,n){return(0,J.jsx)(`a`,{href:e,target:`_blank`,rel:`noreferrer`,className:Dy,children:t},n)}function zy(e){let t=[],n=/(`[^`]+`|\[!\[[^\]]*\]\([^\s)]+\)\]\([^\s)]+\)|!\[[^\]]*\]\([^\s)]+\)|<img\b[^>]*>|<a\s[^>]*>[^<]*<\/a>|<br\s*\/?>|\[[^\]]+\]\((?:https?:\/\/)?[^\s):]+\)|\*\*[^*]+\*\*|\*[^*]+\*|https?:\/\/[^\s<>)\]]+|(?<![\w/&#])#\d+\b)/g,r=0,i,a=0;for(;i=n.exec(e);){i.index>r&&t.push((0,J.jsx)(Y.Fragment,{children:e.slice(r,i.index)},a++));let n=i[0];if(n.startsWith("`"))t.push((0,J.jsx)(My,{text:n.slice(1,-1)},a++));else if(n.startsWith(`[![`)||n.startsWith(`![`)){let e=/!\[([^\]]*)\]\(([^\s)]+)\)(?:\]\(([^\s)]+)\))?/.exec(n);t.push((0,J.jsx)(Ly,{alt:e[1],...e[3]===void 0?{}:{href:e[3]}},a++))}else if(/^<img\b/i.test(n))t.push((0,J.jsx)(Ly,{alt:Iy(n,`alt`)??``},a++));else if(/^<a\s/i.test(n)){let e=Iy(n,`href`),r=n.replace(/^<a\s[^>]*>|<\/a>$/gi,``);t.push(e&&/^https?:\/\//.test(e)?Ry(e,r,a++):e?(0,J.jsx)(Ny,{label:r,path:e},a++):(0,J.jsx)(Y.Fragment,{children:r},a++))}else if(/^<br/i.test(n))t.push((0,J.jsx)(`br`,{},a++));else if(n.startsWith(`[`)){let e=/^\[([^\]]+)\]\((https?:\/\/[^\s)]+)\)$/.exec(n),r=/^\[([^\]]+)\]\(([^\s):]+)\)$/.exec(n);e?t.push(Ry(e[2],e[1],a++)):r?.[2].startsWith(`#`)?t.push((0,J.jsx)(Fy,{label:r[1],to:r[2].slice(1)},a++)):r?t.push((0,J.jsx)(Ny,{label:r[1],path:r[2]},a++)):t.push((0,J.jsx)(Y.Fragment,{children:n},a++))}else n.startsWith(`**`)?t.push((0,J.jsx)(`strong`,{children:zy(n.slice(2,-2))},a++)):n.startsWith(`*`)?t.push((0,J.jsx)(`em`,{children:zy(n.slice(1,-1))},a++)):n.startsWith(`#`)?t.push((0,J.jsx)(jy,{number:n.slice(1)},a++)):t.push(Ry(n,n,a++));r=i.index+n.length}return r<e.length&&t.push((0,J.jsx)(Y.Fragment,{children:e.slice(r)},a++)),t}function By(e){return Ig(`alert-dialog`,e)}var Vy=zg;function Hy({trigger:e,open:t,onOpenChange:n,title:r,body:i,confirmLabel:a,confirmBusyLabel:o=`Working…`,onConfirm:s,onSuccess:c,fallbackError:l=`Something went wrong.`,destructive:u=!0}){let[d,f]=(0,Y.useState)(!1),p=t??d,m=n??f,{busy:h,error:g,run:_,reset:v}=Fd();return(0,J.jsxs)(By,{open:p,onOpenChange:e=>{h||(m(e),e&&v())},children:[e&&(0,J.jsx)(Vy,{render:e}),(0,J.jsxs)(Ag,{children:[(0,J.jsx)(xg,{className:`fixed inset-0 z-50 bg-black/40 backdrop-blur-[1px]`}),(0,J.jsxs)(kg,{className:`fixed left-1/2 top-1/2 z-50 w-[min(26rem,calc(100vw-2rem))] -translate-x-1/2 -translate-y-1/2 rounded-lg border border-border bg-card p-5 text-card-foreground shadow-lg`,children:[(0,J.jsx)(Rg,{className:`text-sm font-semibold`,children:r}),(0,J.jsx)(Cg,{className:`mt-2 text-xs leading-relaxed text-muted-foreground`,children:i}),g&&(0,J.jsx)(`p`,{className:`mt-2 text-xs text-danger`,children:g}),(0,J.jsxs)(`div`,{className:`mt-4 flex justify-end gap-2`,children:[(0,J.jsx)(Sg,{render:(0,J.jsx)(ze,{variant:`outline`,size:`sm`,disabled:h,children:`Cancel`})}),(0,J.jsx)(ze,{variant:u?`destructive`:`default`,size:`sm`,disabled:h,onClick:()=>{_(s,l).then(e=>{e.ok&&(m(!1),queueMicrotask(()=>c?.()))})},className:q(h&&`cursor-progress`),children:h?o:a})]})]})]})]})}var Uy=Y.createContext(void 0),Wy=Y.createContext(void 0);function Gy(){let e=Y.useContext(Uy);if(e===void 0)throw Error(et(60));return e}function Ky(){let e=Y.useContext(Wy);if(e===void 0)throw Error(et(61));return e}var qy={id:e=>e.id,labelId:e=>e.labelId,modal:e=>e.modal,multiple:e=>e.multiple,disabled:e=>e.disabled,readOnly:e=>e.readOnly,required:e=>e.required,highlightItemOnHover:e=>e.highlightItemOnHover,items:e=>e.items,itemToStringLabel:e=>e.itemToStringLabel,isItemEqualToValue:e=>e.isItemEqualToValue,value:e=>e.value,hasSelectedValue:e=>{let{value:t,multiple:n,itemToStringValue:r}=e;return t==null?!1:n&&Array.isArray(t)?t.length>0:eh(t,r)!==``},hasNullItemLabel:(e,t)=>t?Qm(e.items):!1,open:e=>e.open,mounted:e=>e.mounted,forceMount:e=>e.forceMount,transitionStatus:e=>e.transitionStatus,openMethod:e=>e.openMethod,activeIndex:e=>e.activeIndex,selectedIndex:e=>e.selectedIndex,isActive:(e,t)=>e.activeIndex===t,isSelected:(e,t)=>{let n=e.isItemEqualToValue,r=e.value;return e.multiple?Array.isArray(r)&&r.some(e=>q_(t,e,n)):q_(t,r,n)},isSelectedByFocus:(e,t)=>e.selectedIndex===t,popupProps:e=>e.popupProps,triggerProps:e=>e.triggerProps,itemRoot:e=>e.itemRoot,triggerElement:e=>e.triggerElement,positionerElement:e=>e.positionerElement,listElement:e=>e.listElement,popupSide:e=>e.popupSide,scrollUpArrowVisible:e=>e.scrollUpArrowVisible,scrollDownArrowVisible:e=>e.scrollDownArrowVisible,hasScrollArrows:e=>e.hasScrollArrows};function Jy(e){let{id:t,value:n,defaultValue:r=null,onValueChange:i,open:a,defaultOpen:o=!1,onOpenChange:s,name:c,form:l,autoComplete:u,disabled:d=!1,readOnly:f=!1,required:p=!1,modal:m=!0,actionsRef:h,inputRef:g,onOpenChangeComplete:_,items:v,multiple:y=!1,itemToStringLabel:b,itemToStringValue:x,isItemEqualToValue:S=K_,highlightItemOnHover:C=!0,children:w}=e,{clearErrors:T}=jf(),{setDirty:E,setTouched:D,setFocused:O,validityData:k,setFilled:A,name:j,disabled:M,validation:N,validationMode:P}=Ef(),F=rp({id:t}),I=M||d,L=j??c,[R,z]=Rd({controlled:n,default:y?r??Ze:r,name:`Select`,state:`value`}),[B,V]=Rd({controlled:a,default:o,name:`Select`,state:`open`}),H=Y.useRef([]),ee=Y.useRef([]),te=Y.useRef(null),U=Y.useRef(null),W=Y.useRef(0),ne=Y.useRef(null),G=Y.useRef([]),re=Y.useRef(!1),ie=Y.useRef(null),ae=Y.useRef(null),oe=Y.useRef({allowSelectedMouseUp:!1,allowUnselectedMouseUp:!1,dragY:0}),se=Y.useRef(!1),ce=Y.useRef(R),{openMethod:le,triggerProps:ue}=Sm(B),de=Ve(()=>new is({id:F,labelId:void 0,modal:m,multiple:y,disabled:I,readOnly:f,required:p,highlightItemOnHover:C,itemToStringLabel:b,itemToStringValue:x,isItemEqualToValue:S,value:R,open:B,mounted:B,transitionStatus:void 0,items:v,forceMount:!1,openMethod:null,activeIndex:null,selectedIndex:null,popupProps:Qe,triggerProps:Qe,itemRoot:{props:Qe,multiple:y,disabled:I,readOnly:f,isItemEqualToValue:S},triggerElement:null,positionerElement:null,listElement:null,popupSide:null,scrollUpArrowVisible:!1,scrollDownArrowVisible:!1,hasScrollArrows:!1},{setValue:Xe,setOpen:Xe,handleScrollArrowVisibility:Xe,onOpenChangeComplete:Xe,listRef:H,popupRef:te,scrollHandlerRef:U,scrollArrowsMountedCountRef:W,valueRef:ne,valuesRef:G,labelsRef:ee,typingRef:re,selectionRef:oe,firstItemTextRef:ie,selectedItemTextRef:ae,alignItemWithTriggerActiveRef:se,initialValueRef:ce},qy)).current,[fe,pe]=Y.useState(!1),{mounted:me,transitionStatus:he,forceUnmount:ge}=Ao({open:B,ref:te,preventUnmountOnClose:fe,setPreventUnmountOnClose:pe,onUnmount(){de.update({activeIndex:null,openMethod:null,scrollUpArrowVisible:!1,scrollDownArrowVisible:!1}),_?.(!1)}}),_e=de.useState(`activeIndex`),ve=de.useState(`selectedIndex`),ye=de.useState(`triggerElement`),be=de.useState(`positionerElement`),xe=Pl(le),Se=le??xe,Ce=Y.useMemo(()=>y?``:eh(R,x),[y,R,x]),K=Y.useMemo(()=>y&&Array.isArray(R)?R.map(e=>eh(e,x)):eh(R,x),[y,R,x]);Df(Cr(ye),F,R,$(()=>K),!I,c);let we=y?Array.isArray(R)&&R.length>0:R!=null&&Ce!==``;X(()=>{A(we)},[we,A]),X(function(){let e=Q_(G.current,R,S,y);e===null&&(ae.current=null),!B&&de.set(`selectedIndex`,e)},[y,B,R,S,de]),Ff(R,()=>{T(L),E(J_(R,k.initialValue,S)),N.change(R)});let Te=$((e,t)=>{let n=t,r=Ro(n);s?.(e,n),!t.isCanceled&&(e||pe(r()),V(e),!e&&(t.reason===`focus-out`||t.reason===`outside-press`)&&(D(!0),O(!1),P===`onBlur`&&N.commit(R)))});Y.useImperativeHandle(h,()=>({unmount:ge,close:()=>{de.state.open&&Te(!1,Q(lr))}}),[ge,Te,de]);let Ee=$((e,t)=>{i?.(e,t),!t.isCanceled&&z(e)}),De=$(e=>{let t=jh(e.scrollHeight,e.clientHeight),n=Mh(e.scrollTop,t),r=n>0,i=n<t;de.set(`scrollUpArrowVisible`,r),de.set(`scrollDownArrowVisible`,i)}),Oe=hs({open:B,onOpenChange:Te,elements:{reference:ye,floating:be}}),ke=go(Oe,{enabled:!I,event:`mousedown`}),Ae=So(Oe),je=Ms(Oe,{enabled:!I,listRef:H,activeIndex:_e,selectedIndex:ve,disabledIndices:Ze,onNavigate(e){e===null&&!B||de.set(`activeIndex`,e)},focusItemOnHover:C}),Me=Ns(Oe,{enabled:!I&&(B||!f&&!y),listRef:ee,activeIndex:_e,selectedIndex:ve,disabledIndices:e=>uf(H.current[e]),onMatch(e){B?de.set(`activeIndex`,e):Ee(G.current[e],Q(Un))},onTyping(e){re.current=e}}),Ne=Y.useMemo(()=>ba(Me.reference,je.reference,Ae.reference,ke.reference,ue),[ke.reference,Me.reference,je.reference,Ae.reference,ue]),Pe=Y.useMemo(()=>ba(jo,Me.floating,je.floating,Ae.floating),[Me.floating,je.floating,Ae.floating]),Fe=je.item??Qe,Ie=Y.useMemo(()=>({props:Fe,multiple:y,disabled:I,readOnly:f,isItemEqualToValue:S}),[Fe,y,I,f,S]);de.useContextCallback(`setValue`,Ee),de.useContextCallback(`setOpen`,Te),de.useContextCallback(`handleScrollArrowVisibility`,De),de.useContextCallback(`onOpenChangeComplete`,_),W_(()=>{de.update({popupProps:Pe,triggerProps:Ne,itemRoot:Ie})}),de.useSyncedValues({id:F,modal:m,multiple:y,disabled:I,readOnly:f,required:p,highlightItemOnHover:C,value:R,open:B,mounted:me,transitionStatus:he,popupProps:Pe,triggerProps:Ne,itemRoot:Ie,items:v,itemToStringLabel:b,itemToStringValue:x,isItemEqualToValue:S,openMethod:Se});let Le=_r(g,N.inputRef),q=y?void 0:L,Re=Y.useMemo(()=>!y||!Array.isArray(R)||!L?null:R.map(e=>{let t=eh(e,x);return(0,J.jsx)(`input`,{type:`hidden`,form:l,name:L,value:t,disabled:I},t)}),[y,R,l,L,x,I]);return(0,J.jsxs)(Uy.Provider,{value:de,children:[(0,J.jsx)(Wy.Provider,{value:Oe,children:w}),(0,J.jsx)(`input`,{...N.getValidationProps(I,{onFocus(){de.state.triggerElement?.focus({focusVisible:!0})},onChange(e){if(e.nativeEvent.defaultPrevented||I||f)return;let t=e.currentTarget.value,n=Q(Un,e.nativeEvent);function r(){if(y)return;let e=t.toLowerCase(),r=G.current.findIndex(t=>eh(t,x).toLowerCase()===e||$m(t,b).toLowerCase()===e);r===-1&&(r=G.current.findIndex((t,n)=>{let r=ee.current[n];return r!=null&&r.toLowerCase()===e}));let i=G.current[r];i!=null&&Ee(i,n)}de.set(`forceMount`,!0),queueMicrotask(r)}}),id:F&&q==null?`${F}-hidden-input`:void 0,form:l,name:q,autoComplete:u,value:Ce,disabled:I,required:p&&!(y&&we),readOnly:f,ref:Le,style:L?Lr:Ir,tabIndex:-1,"aria-hidden":!0,suppressHydrationWarning:!0}),Re]})}var Yy=`data-popup-side`,Xy=400,Zy={...Tn,...Cf,popupSide:e=>e?{[Yy]:e}:null,value:()=>null},Qy=Y.forwardRef(function(e,t){let{render:n,className:r,id:i,disabled:a=!1,nativeButton:o=!0,style:s,...c}=e,{setTouched:l,validationMode:u,validation:d,state:f,disabled:p}=Ef(),{labelId:m}=kf(),h=Gy(),g=h.useState(`readOnly`),_=h.useState(`required`),v=h.useState(`disabled`),y=p||v||a,b=h.useState(`open`),x=h.useState(`mounted`),S=h.useState(`value`),C=h.useState(`triggerProps`),w=h.useState(`positionerElement`),T=h.useState(`listElement`),E=h.useState(`popupSide`),D=h.useState(`id`),O=h.useState(`labelId`),k=h.useState(`hasSelectedValue`),A=x&&w?E:null,j=i??D,M=nv(m,O);rp({id:i});let N=Cr(w),P=Y.useRef(null),F=Zf(y,P),{getButtonProps:I,buttonRef:L}=Gf({disabled:y,native:o}),R=h.useStateSetter(`triggerElement`),z=ot(),B=ot(),V=ot();Y.useEffect(()=>{if(b)return V.start(Xy,()=>{h.context.selectionRef.current.allowUnselectedMouseUp=!0,h.context.selectionRef.current.allowSelectedMouseUp=!0}),()=>{V.clear()};h.context.selectionRef.current={allowSelectedMouseUp:!1,allowUnselectedMouseUp:!1,dragY:0},B.clear()},[b,h,B,V]);let H=ba(C,{id:j,role:`combobox`,"aria-expanded":b,"aria-haspopup":`listbox`,"aria-controls":b?T?.id??In(w)?.id:void 0,"aria-labelledby":M,"aria-readonly":g||void 0,"aria-required":_||void 0,tabIndex:y?-1:0,onFocus(e){F(!0),b&&h.context.alignItemWithTriggerActiveRef.current&&h.context.setOpen(!1,Q(Un,e.nativeEvent)),z.start(0,()=>{h.set(`forceMount`,!0)})},onBlur(e){Z(w,e.relatedTarget)||(l(!0),F(!1),u===`onBlur`&&d.commit(S))},onMouseDown(e){if(b)return;let t=Pr(e.currentTarget);function n(e){if(!P.current)return;let t=e.target;Z(P.current,t)||Z(N.current,t)||Im(e,P.current)||h.context.setOpen(!1,Q(or,e))}B.start(0,()=>{t.addEventListener(`mouseup`,n,{once:!0})})}},c,I),ee=d.getValidationProps(y,H);ee.role=`combobox`;let te={...f,open:b,disabled:y,value:S,readOnly:g,popupSide:A,placeholder:!k};return Na(`button`,e,{ref:[t,P,L,R],state:te,stateAttributesMapping:Zy,props:ee})}),$y={value:()=>null},eb=Y.forwardRef(function(e,t){let{className:n,render:r,children:i,placeholder:a,style:o,...s}=e,c=Gy(),l=c.useState(`value`),u=c.useState(`items`),d=c.useState(`itemToStringLabel`),f=c.useState(`hasSelectedValue`),p=!f&&a!=null&&i==null,m=c.useState(`hasNullItemLabel`,p),h={value:l,placeholder:!f},g=null;return g=typeof i==`function`?i(l):i??(p&&!m?a:Array.isArray(l)?nh(l,u,d):th(l,u,d)),Na(`span`,e,{state:h,ref:[t,c.context.valueRef],props:[{children:g},s],stateAttributesMapping:$y})}),tb=Y.forwardRef(function(e,t){let{render:n,className:r,style:i,...a}=e;return Na(`span`,e,{state:{open:Gy().useState(`open`)},ref:t,props:[{"aria-hidden":!0,children:`▼`},a],stateAttributesMapping:wn})}),nb=Y.forwardRef(function(e,t){let n=Gy(),r=n.useState(`mounted`),i=n.useState(`forceMount`);return r||i?(0,J.jsx)(Ya,{ref:t,...e}):null}),rb=Y.createContext(void 0);function ib(){let e=Y.useContext(rb);if(!e)throw Error(et(59));return e}function ab(e,t){e&&Object.assign(e.style,t)}var ob={position:`relative`,maxHeight:`100%`,overflowX:`hidden`,overflowY:`auto`},sb={position:`fixed`},cb=Y.forwardRef(function(e,t){let{anchor:n,className:r,render:i,positionMethod:a,side:o,align:s,sideOffset:c,alignOffset:l,collisionBoundary:u=`clipping-ancestors`,collisionPadding:d,arrowPadding:f,sticky:p,disableAnchorTracking:m,alignItemWithTrigger:h=!0,collisionAvoidance:g=Ha,style:_,...v}=e,y=Gy(),b=Ky(),x=y.useState(`open`),S=y.useState(`mounted`),C=y.useState(`modal`),w=y.useState(`value`),T=y.useState(`openMethod`),E=y.useState(`positionerElement`),D=y.useState(`triggerElement`),O=y.useState(`isItemEqualToValue`),k=y.useState(`transitionStatus`),A=Y.useRef(null),j=Y.useRef(null),[M,N]=Y.useState(h),P=S&&M&&T!==`touch`;!S&&M!==h&&N(h),Y.useImperativeHandle(y.context.alignItemWithTriggerActiveRef,()=>P),gm((P||C)&&x,T===`touch`,E,D);let F=Tl({anchor:n,floatingRootContext:b,positionMethod:a,mounted:S,side:o,sideOffset:c,align:s,alignOffset:l,arrowPadding:f,collisionBoundary:u,collisionPadding:d,sticky:p,disableAnchorTracking:m??P,collisionAvoidance:g,keepMounted:!0}),I=P?`none`:F.side,L=P?sb:F.positionerStyles,R={open:x,side:I,align:F.align,anchorHidden:F.anchorHidden};X(()=>{y.set(`popupSide`,F.side)},[y,F.side]);let z=kl(e,R,{styles:L,transitionStatus:k,props:v,refs:[t,y.useStateSetter(`positionerElement`)],hidden:!S,inert:!x}),B=Y.useRef(0),V=$(e=>{if(y.context.valuesRef.current.length===0)return;let t=B.current;B.current=e.size;let n=Q(Un);if(t!==0&&!y.state.multiple&&w!==null&&X_(y.context.valuesRef.current,w,O)===-1){let e=y.context.initialValueRef.current,t=e!=null&&X_(y.context.valuesRef.current,e,O)!==-1?e:null;y.context.setValue(t,n),t===null&&(y.set(`selectedIndex`,null),y.context.selectedItemTextRef.current=null)}if(t!==0&&y.state.multiple&&Array.isArray(w)){let e=w.filter(e=>X_(y.context.valuesRef.current,e,O)!==-1);e.length!==w.length&&(y.context.setValue(e,n),e.length===0&&(y.set(`selectedIndex`,null),y.context.selectedItemTextRef.current=null))}if(x&&P){y.update({scrollUpArrowVisible:!1,scrollDownArrowVisible:!1});let e={height:``};ab(E,e),ab(y.context.popupRef.current,e)}}),H=Y.useMemo(()=>({...F,side:I,alignItemWithTriggerActive:P,setControlledAlignItemWithTrigger:N,scrollUpArrowRef:A,scrollDownArrowRef:j}),[F,I,P,N]);return(0,J.jsx)(nf,{elementsRef:y.context.listRef,labelsRef:y.context.labelsRef,onMapChange:V,children:(0,J.jsxs)(rb.Provider,{value:H,children:[S&&C&&(0,J.jsx)(nm,{inert:Nl(!x),cutout:D}),z]})})}),lb=`--transform-origin`,ub={...En,...pn},db=Y.forwardRef(function(e,t){let{render:n,className:r,style:i,finalFocus:a,...o}=e,s=Gy(),c=s.useState(`multiple`),l=s.useState(`readOnly`),u=s.useState(`highlightItemOnHover`),d=Ky(),{side:f,align:p,alignItemWithTriggerActive:m,isPositioned:h,setControlledAlignItemWithTrigger:g}=ib(),_=Up(!0)!=null,v=dl(),{nonce:y,disableStyleElements:b}=vh(),x=s.useState(`id`),S=s.useState(`open`),C=s.useState(`openMethod`),w=s.useState(`mounted`),T=s.useState(`popupProps`),E=s.useState(`transitionStatus`),D=s.useState(`triggerElement`),O=s.useState(`positionerElement`),k=s.useState(`listElement`),A=Y.useRef(!1),j=Y.useRef(!1),M=Y.useRef({}),N=Nr(),P=$(e=>{if(!O||!s.context.popupRef.current||!j.current)return;let t=O.style.top===`0px`,n=O.style.bottom===`0px`;if(A.current||!m||!t&&!n){s.context.handleScrollArrowVisibility(e);return}let r=mb(O),i=hb(O.getBoundingClientRect().height,`y`,r),a=Pr(O),o=At(O),c=o.getComputedStyle(O),l=parseFloat(c.marginTop),u=parseFloat(c.marginBottom),d=fb(o.getComputedStyle(s.context.popupRef.current)),f=Math.min(a.documentElement.clientHeight-l-u,d),p=e.scrollTop,h=pb(e),g=null,_=e=>{O.style.height=`${e}px`},v=t?h-p:p,y=Math.min(i+v,f);if(v<=1){let n=Oh(v,0,f-i);n>0&&_(i+n),e.scrollTop=t?h:0,f-(i+n)<=1&&(A.current=!0),s.context.handleScrollArrowVisibility(e);return}f-y>1?g=t?1/0:0:n&&p<h&&(g=p-(v-(i+v-f)));let b=Math.ceil(y);if(b!==0&&_(b),g!=null){let t=Oh(g,0,pb(e));Math.abs(e.scrollTop-t)>1&&(e.scrollTop=t)}b>=f-1&&(A.current=!0),s.context.handleScrollArrowVisibility(e)});Y.useImperativeHandle(s.context.scrollHandlerRef,()=>P,[P]),ko({open:S,ref:s.context.popupRef,onComplete(){S&&s.context.onOpenChangeComplete(!0)}});let F={open:S,transitionStatus:E,side:f,align:p};X(()=>{!O||!s.context.popupRef.current||Object.keys(M.current).length||(M.current={top:O.style.top||`0`,left:O.style.left||`0`,right:O.style.right,height:O.style.height,bottom:O.style.bottom,minHeight:O.style.minHeight,maxHeight:O.style.maxHeight,marginTop:O.style.marginTop,marginBottom:O.style.marginBottom})},[s,O]),X(()=>{S||m||(j.current=!1,A.current=!1,ab(O,M.current))},[S,m,O]),X(()=>{let e=s.context.popupRef.current;if(!S||!D||!O||!e||m&&!h||s.state.transitionStatus===`ending`)return;if(j.current=!0,e.style.removeProperty(lb),!m){N.request(()=>s.context.handleScrollArrowVisibility(k||e));return}let t=vb(e);try{let t=s.context.selectedItemTextRef.current;t?.isConnected||(t=!s.select(`hasSelectedValue`)&&s.context.firstItemTextRef.current?.isConnected?s.context.firstItemTextRef.current:null);let n=s.context.valueRef.current,r=At(O),i=r.getComputedStyle(O),a=r.getComputedStyle(e),o=Pr(D),c=mb(D),l=gb(D.getBoundingClientRect(),c),d=gb(O.getBoundingClientRect(),c),f=l.height,p=k||e,m=p.scrollHeight,h=parseFloat(a.borderBottomWidth),_=parseFloat(i.marginTop)||10,y=parseFloat(i.marginBottom)||10,b=parseFloat(i.minHeight)||100,x=fb(a),S=o.documentElement.clientHeight-_-y,C=o.documentElement.clientWidth,w=S-l.bottom+f,T,E=v===`rtl`?l.right-d.width:l.left,j=0;if(t&&n){let e=gb(n.getBoundingClientRect(),c);T=gb(t.getBoundingClientRect(),c),E=d.left+(v===`rtl`?e.right-T.right:e.left-T.left);let r=e.top-l.top+e.height/2;j=T.top-d.top+T.height/2-r}let N=w+j+y+h,P=Math.min(S,N),F=S-_-y,I=N-P,L=C-5;O.style.left=`${Oh(E,5,L-d.width)}px`,O.style.height=`${P}px`,O.style.maxHeight=`none`,O.style.marginTop=`${_}px`,O.style.marginBottom=`${y}px`,e.style.height=`100%`;let R=pb(p),z=I>=R-1;z&&(P=Math.min(S,d.height)-(I-R));let B=l.top<20||l.bottom>S-20||Math.ceil(P)+1<Math.min(m,b),V=(r.visualViewport?.scale??1)!==1&&vt;if(B||V){ab(O,M.current),g(!1);return}let H=Math.max(b,P);if(z){let e=Math.max(0,S-N);O.style.top=d.height>=F?`0`:`${e}px`,O.style.height=`${P}px`,p.scrollTop=pb(p)}else O.style.bottom=`0`,p.scrollTop=I;if(T){let t=d.top,n=d.height,r=T.top+T.height/2,i=Oh(n>0?(r-t)/n*100:50,0,100);e.style.setProperty(lb,`50% ${i}%`)}(H===S||P>=x)&&(A.current=!0),s.context.handleScrollArrowVisibility(p),u&&s.state.selectedIndex===null&&s.state.activeIndex===null&&s.context.listRef.current[0]!=null&&s.set(`activeIndex`,0)}finally{t()}},[s,S,O,D,m,g,N,k,u,v,h]),Y.useEffect(()=>{if(!m||!O||!S)return;let e=At(O);function t(e){s.context.setOpen(!1,Q(ur,e))}return hr(e,`resize`,t)},[s,m,O,S]);let I={...k?{role:`presentation`}:{role:`listbox`,"aria-multiselectable":c||void 0,"aria-readonly":l||void 0,id:`${x}-list`},onKeyDown(e){_&&Kd.has(e.key)&&e.stopPropagation()},onScroll(e){k||P(e.currentTarget)},...m&&{style:k?{height:`100%`}:ob},className:!k&&m?sh.className:void 0},L=Na(`div`,e,{ref:[t,s.context.popupRef],state:F,stateAttributesMapping:ub,props:[T,I,Ol(E),o]});return(0,J.jsxs)(Y.Fragment,{children:[!b&&sh.getElement(y),(0,J.jsx)(ho,{context:d,modal:!1,disabled:!w,openInteractionType:C,returnFocus:a,restoreFocus:!0,children:L})]})});function fb(e){let t=e.maxHeight;return t.endsWith(`px`)&&parseFloat(t)||1/0}function pb(e){return jh(e.scrollHeight,e.clientHeight)}function mb(e){return wc.getScale(e)}function hb(e,t,n){return e/n[t]}function gb(e,t){return di({x:hb(e.x,`x`,t),y:hb(e.y,`y`,t),width:hb(e.width,`x`,t),height:hb(e.height,`y`,t)})}var _b=[[`transform`,`none`],[`scale`,`1`],[`translate`,`0 0`]];function vb(e){let{style:t}=e,n={};for(let[e,r]of _b)n[e]=t.getPropertyValue(e),t.setProperty(e,r,`important`);return()=>{for(let[e]of _b){let r=n[e];r?t.setProperty(e,r):t.removeProperty(e)}}}var yb=Y.createContext(void 0);function bb(){let e=Y.useContext(yb);if(!e)throw Error(et(57));return e}var xb=Y.memo(Y.forwardRef(function(e,t){let{render:n,className:r,style:i,value:a=null,label:o,disabled:s=!1,nativeButton:c=!1,...l}=e,u=Y.useRef(null),d=Jf({guess:!0,label:o,textRef:u}),f=Gy(),{props:p,multiple:m,disabled:h,readOnly:g,isItemEqualToValue:_}=f.useState(`itemRoot`),v=h||s,y=f.useState(`isActive`,d.index),b=f.useState(`open`),x=f.useState(`isSelected`,a),S=f.useState(`isSelectedByFocus`,d.index),C=d.index,w=Y.useRef(null);X(()=>{let e=f.context.valuesRef.current;return e[C]=a,()=>{delete e[C]}},[C,a,f]),X(()=>{let e=f.state.value,t=f.state.selectedIndex,n=t,r;m&&Array.isArray(e)?(n=$_(C,a,f.context.valuesRef.current,e,_,t),r=n===C,C===t&&!r&&(f.context.selectedItemTextRef.current=null)):(r=e!==void 0&&q_(a,e,_),r&&(n=C)),f.set(`selectedIndex`,n),r&&u.current&&(f.context.selectedItemTextRef.current=u.current)},[C,m,_,f,a]);let T=Y.useRef(`mouse`),E=Y.useRef(!1),{getButtonProps:D,buttonRef:O}=Gf({disabled:v,focusableWhenDisabled:!0,native:c,composite:!0}),k={disabled:v,selected:x,highlighted:y};function A(e){if(h||g)return;let t=f.state.value;if(m){let n=Array.isArray(t)?t:[],r=x?ev(n,a,_):[...n,a];f.context.setValue(r,Q(Jn,e))}else f.context.setValue(a,Q(Jn,e)),f.context.setOpen(!1,Q(Jn,e))}function j(){f.context.selectionRef.current.dragY=0}let M={role:`option`,"aria-selected":x,tabIndex:b&&y?0:-1,onKeyDown(e){f.set(`activeIndex`,C),e.key===` `&&f.context.typingRef.current&&e.preventDefault()},onClick(e){let t=T.current!==`touch`,n=e.nativeEvent.pointerType,r=t&&wt(e.nativeEvent)&&(n!==void 0||y),i=t&&!r&&!E.current;E.current=!1,!(v||i)&&A(e.nativeEvent)},onPointerEnter(e){T.current=e.pointerType},onPointerMove(e){if(e.pointerType===`mouse`&&e.buttons===1){let t=f.context.selectionRef.current;t.dragY+=e.movementY,t.dragY**2>=64&&(t.allowUnselectedMouseUp=!0)}},onPointerDown(e){T.current=e.pointerType,E.current=!0,j()},onMouseUp(){if(j(),v||T.current===`touch`||E.current)return;let e=!f.context.selectionRef.current.allowSelectedMouseUp&&x,t=!f.context.selectionRef.current.allowUnselectedMouseUp&&!x;e||t||(E.current=!0,w.current?.click(),E.current=!1)}},N=Na(`div`,e,{ref:[O,t,d.ref,w],state:k,props:[p,M,l,D]}),P=Y.useMemo(()=>({selected:x,index:C,textRef:u,selectedByFocus:S}),[x,C,u,S]);return(0,J.jsx)(yb.Provider,{value:P,children:N})})),Sb=Y.forwardRef(function(e,t){let{selected:n}=bb();return e.keepMounted||n?(0,J.jsx)(rv,{...e,selected:n,ref:t}):null}),Cb=Y.memo(Y.forwardRef(function(e,t){let{index:n,textRef:r,selectedByFocus:i}=bb(),a=Gy(),{render:o,className:s,style:c,...l}=e;return Na(`div`,e,{ref:[Y.useCallback(e=>{e&&(n===0&&(a.context.firstItemTextRef.current=e),i&&(a.context.selectedItemTextRef.current=e))},[a,n,i]),t,r],props:l})})),wb=Jy;function Tb(e){return(0,J.jsx)(eb,{"data-slot":`select-value`,...e})}function Eb({className:e,size:t=`default`,children:n,...r}){return(0,J.jsxs)(Qy,{"data-slot":`select-trigger`,className:q(`inline-flex min-w-0 max-w-full cursor-pointer items-center justify-between gap-2 rounded-md border border-border bg-background text-left text-sm shadow-sm outline-none transition-colors`,`hover:bg-accent hover:text-accent-foreground focus-visible:ring-2 focus-visible:ring-[var(--color-primary)]`,`data-[popup-open]:bg-accent data-[popup-open]:text-accent-foreground`,`data-[disabled]:pointer-events-none data-[disabled]:opacity-50`,t===`sm`?`h-8 px-2`:`h-9 px-3`,typeof e==`string`?e:void 0),...r,children:[(0,J.jsx)(`span`,{className:`min-w-0 truncate`,children:n}),(0,J.jsx)(tb,{className:`shrink-0 text-muted-foreground`,children:(0,J.jsx)(vu,{className:`h-3.5 w-3.5`,"aria-hidden":!0})})]})}function Db({className:e,sideOffset:t=4,align:n=`start`,children:r,...i}){return(0,J.jsx)(nb,{children:(0,J.jsx)(cb,{sideOffset:t,align:n,alignItemWithTrigger:!1,className:`z-50 outline-none`,children:(0,J.jsx)(db,{"data-slot":`select-content`,className:q(`max-h-[min(var(--available-height),20rem)] min-w-[var(--anchor-width)] max-w-[var(--available-width)] overflow-y-auto p-1.5`,eg,typeof e==`string`?e:void 0),...i,children:r})})})}function Ob({className:e,children:t,...n}){return(0,J.jsxs)(xb,{"data-slot":`select-item`,className:q(`relative flex cursor-pointer select-none items-center rounded-lg py-1.5 pl-2 pr-8 text-sm font-medium outline-none`,`data-[highlighted]:bg-accent data-[highlighted]:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50`,typeof e==`string`?e:void 0),...n,children:[(0,J.jsx)(Cb,{children:t}),(0,J.jsx)(Sb,{className:`absolute right-2 flex items-center`,children:(0,J.jsx)(_u,{className:`h-3.5 w-3.5`,"aria-hidden":!0})})]})}function kb({description:e,action:t,children:n}){return(0,J.jsxs)(`div`,{className:`space-y-4`,children:[(e!==void 0||t!==void 0)&&(0,J.jsxs)(`div`,{className:`flex items-start justify-between gap-3 max-sm:flex-col`,children:[e!==void 0&&(0,J.jsx)(`p`,{className:`text-sm text-muted-foreground`,children:e}),t!==void 0&&(0,J.jsx)(`div`,{className:`ml-auto shrink-0 max-sm:ml-0`,children:t})]}),(0,J.jsx)(`div`,{className:`divide-y divide-border`,children:n})]})}function Ab({label:e,description:t,control:n,dimmed:r=!1}){return(0,J.jsxs)(`div`,{className:`flex items-start justify-between gap-4 py-3 first:pt-0 last:pb-0`,children:[(0,J.jsxs)(`div`,{className:`min-w-0`,children:[(0,J.jsx)(`p`,{className:q(`text-sm`,r&&`text-muted-foreground`),children:e}),(0,J.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:t})]}),(0,J.jsx)(`div`,{className:`shrink-0`,children:n})]})}var jb=`(no value)`;function Mb({label:e,description:t,value:n,options:r,onChange:i}){if(r.length===0)return null;let a=(r.some(e=>e.value===n)?r:[...r,{value:n,label:n}]).map(e=>({value:e.value===``?jb:e.value,label:e.label,disabled:e.disabled===!0}));return(0,J.jsx)(Ab,{label:e,description:t,control:(0,J.jsxs)(wb,{items:a,value:n===``?jb:n,onValueChange:(e,t)=>{t.reason!==`none`&&i(e===jb?``:e)},children:[(0,J.jsx)(Eb,{size:`sm`,"aria-label":e,className:`max-w-[min(16rem,45vw)]`,children:(0,J.jsx)(Tb,{})}),(0,J.jsx)(Db,{align:`end`,children:a.map(e=>(0,J.jsx)(Ob,{value:e.value,disabled:e.disabled,children:e.label},e.value))})]})})}var Nb=O(`onModules`),Pb=O(`runModuleCommand`),Fb=O(`runComputerCommand`),Ib=O(`runComputerCommandOn`),Lb=O(`readModule`);function Rb({label:e,share:t}){let n=2*Math.PI*12,r=t===void 0?{ring:``,text:`text-muted-foreground`}:t>=95?{ring:`stroke-danger`,text:`text-danger`}:t>=80?{ring:`stroke-warning`,text:`text-warning`}:{ring:`stroke-success`,text:`text-foreground`};return(0,J.jsxs)(J.Fragment,{children:[(0,J.jsxs)(`span`,{className:`relative size-8`,children:[(0,J.jsxs)(`svg`,{viewBox:`0 0 32 32`,className:`size-8`,"aria-hidden":!0,children:[(0,J.jsx)(`circle`,{cx:`16`,cy:`16`,r:12,fill:`none`,strokeWidth:`3`,className:`stroke-muted-foreground/15`}),t!==void 0&&(0,J.jsx)(`circle`,{cx:`16`,cy:`16`,r:12,fill:`none`,strokeWidth:`3`,strokeLinecap:`round`,strokeDasharray:`${n*Math.min(t,100)/100} ${n}`,transform:`rotate(-90 16 16)`,className:q(`transition-[stroke-dasharray] duration-500`,r.ring)})]}),(0,J.jsx)(`span`,{className:q(`absolute inset-0 flex items-center justify-center text-[9px] font-medium tabular-nums`,r.text),children:t??`–`})]}),(0,J.jsx)(`span`,{className:`text-[9px] leading-tight text-muted-foreground`,children:e})]})}function zb({className:e,...t}){return(0,J.jsx)(`span`,{className:q(`inline-flex items-center rounded-full border border-[var(--color-border)] px-2 py-0.5 text-xs font-medium`,e),...t})}var Bb=Y.createContext(void 0);function Vb(){let e=Y.useContext(Bb);if(e===void 0)throw Error(et(63));return e}var Hb=`data-checked`,Ub=`data-unchecked`,Wb={...Cf,checked(e){return e?{[Hb]:``}:{[Ub]:``}}},Gb=Y.forwardRef(function(e,t){let{checked:n,className:r,defaultChecked:i,"aria-labelledby":a,form:o,id:s,inputRef:c,name:l,nativeButton:u=!1,onCheckedChange:d,readOnly:f=!1,required:p=!1,disabled:m=!1,render:h,uncheckedValue:g,value:_,style:v,...y}=e,{clearErrors:b}=jf(),{state:x,setTouched:S,setDirty:C,validityData:w,setFilled:T,validationMode:E,disabled:D,name:O,validation:k}=Ef(),{labelId:A}=kf(),j=D||m,M=O??l,N=Y.useRef(null),P=_r(N,c,k.inputRef),F=Y.useRef(null),I=Zf(j,F),L=Zc(),R=rp({id:s}),z=u?void 0:R,[B,V]=Rd({controlled:n,default:!!i,name:`Switch`,state:`checked`});Df(F,L,B,void 0,!j,l),X(()=>{T(B)},[B,T]),Ff(B,()=>{b(M),C(B!==w.initialValue),k.change(B)});let{getButtonProps:H,buttonRef:ee}=Gf({disabled:j,native:u}),te=ep(a,A,N,!u,z,y[`aria-label`]),U={id:u?R:L,role:`switch`,"aria-checked":B,"aria-readonly":f||void 0,"aria-required":p||void 0,"aria-labelledby":te,onFocus(){I(!0)},onBlur(){let e=N.current;!e||j||(S(!0),I(!1),E===`onBlur`&&k.commit(e.checked))},onClick(e){if(f||j)return;e.preventDefault();let t=N.current;t&&Uf(t,e)}},W={...k.getValidationProps(j),checked:B,disabled:j,form:o,id:z,name:M,required:p,style:M?Lr:Ir,tabIndex:-1,type:`checkbox`,"aria-hidden":!0,ref:P,onChange(e){if(e.nativeEvent.defaultPrevented)return;if(f){e.preventDefault();return}let t=e.currentTarget.checked,n=Q(Un,e.nativeEvent);d?.(t,n),!n.isCanceled&&V(t)},onClick(e){e.stopPropagation()},onFocus(){F.current?.focus()},..._===void 0?Qe:{value:_}},ne=Y.useMemo(()=>({...x,checked:B,disabled:j,readOnly:f,required:p}),[x,B,j,f,p]),G=Na(`span`,e,{state:ne,ref:[t,F,ee],props:[U,y,H,e=>k.getValidationProps(j,e)],stateAttributesMapping:Wb});return(0,J.jsxs)(Bb.Provider,{value:ne,children:[G,!B&&M&&g!==void 0&&(0,J.jsx)(`input`,{type:`hidden`,form:o,name:M,value:g,disabled:j}),(0,J.jsx)(`input`,{...W,suppressHydrationWarning:!0})]})}),Kb=Y.forwardRef(function(e,t){let{render:n,className:r,style:i,...a}=e;return Na(`span`,e,{state:Vb(),ref:t,stateAttributesMapping:Wb,props:a})});function qb({className:e,disabled:t=!1,...n}){return(0,J.jsx)(Gb,{disabled:t,className:q(`inline-flex h-5 w-9 shrink-0 items-center rounded-full border border-border bg-muted p-0.5`,`transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--color-primary)]`,`data-[checked]:border-primary data-[checked]:bg-primary`,`data-[disabled]:pointer-events-none data-[disabled]:opacity-50`,e),...n,children:(0,J.jsx)(Kb,{className:`block h-3.5 w-3.5 rounded-full bg-foreground/70 transition-transform data-[checked]:translate-x-4 data-[checked]:bg-primary-foreground`})})}function Jb({className:e,...t}){return(0,J.jsx)(`div`,{"data-slot":`table-container`,className:`relative w-full overflow-x-auto`,children:(0,J.jsx)(`table`,{"data-slot":`table`,className:q(`w-full caption-bottom text-left text-sm`,e),...t})})}function Yb({className:e,...t}){return(0,J.jsx)(`thead`,{"data-slot":`table-header`,className:q(`text-xs text-muted-foreground [&_tr]:border-b [&_tr]:border-border [&_tr:hover]:bg-transparent`,e),...t})}function Xb({className:e,...t}){return(0,J.jsx)(`tbody`,{"data-slot":`table-body`,className:q(`[&_tr:last-child]:border-0`,e),...t})}function Zb({className:e,...t}){return(0,J.jsx)(`tr`,{"data-slot":`table-row`,className:q(`border-b border-border transition-colors hover:bg-accent/60`,e),...t})}function Qb({className:e,...t}){return(0,J.jsx)(`th`,{"data-slot":`table-head`,className:q(`h-9 whitespace-nowrap px-3 text-left align-middle font-normal first:pl-0 last:pr-0`,e),...t})}function $b({className:e,...t}){return(0,J.jsx)(`td`,{"data-slot":`table-cell`,className:q(`px-3 py-2 align-middle first:pl-0 last:pr-0`,e),...t})}function ex({className:e,...t}){return(0,J.jsx)(`label`,{"data-slot":`label`,className:q(`flex flex-wrap items-center gap-x-2 gap-y-0.5 text-sm leading-snug has-[[data-disabled]]:opacity-50`,e),...t})}var tx=Y.createContext(void 0);function nx(e){let t=Y.useContext(tx);if(t===void 0&&!e)throw Error(et(47));return t}var rx={...ps,disabled:e=>e.disabled,instantType:e=>e.instantType===`trigger-change`&&!ps.open(e)?void 0:e.instantType,openMethod:e=>e.openMethod,openChangeReason:e=>e.openChangeReason,isPressOpenedByTrigger:(e,t)=>e.openChangeReason===`trigger-press`&&ps.isOpenedByTrigger(e,t),isTouchPressOpen:(e,t)=>t&&e.openMethod===`touch`&&e.openChangeReason===`trigger-press`,hasTriggerFocusGuards:(e,t)=>ps.isOpenedByTrigger(e,t)&&!e.focusManagerModal,modal:e=>e.modal,titleElementId:e=>e.titleElementId,descriptionElementId:e=>e.descriptionElementId,openOnHover:e=>e.openOnHover,closeDelay:e=>e.closeDelay,adaptiveOrigin:e=>e.adaptiveOrigin},ix=class extends is{constructor(e,t,n){let r=new Go;super(ax(e,r,t,n),ox(r),rx)}setOpen=(e,t)=>{let n=t.reason===Gn,r=t.reason===`trigger-press`&&t.event.detail===0,i=!e&&(t.reason===`escape-key`||t.reason==null),a=Ro(t),o=this.select(`activeTriggerId`);if(!e&&t.reason===`close-press`&&t.trigger==null&&o!=null&&(t.trigger=this.context.triggerElements.getById(o)??this.select(`activeTriggerElement`)??void 0),this.context.onOpenChange?.(e,t),t.isCanceled)return;this.state.floatingRootContext.dispatchOpenChange(e,t);let s=()=>{let n=Lo(this.state,e,t.trigger,a());n.openChangeReason=t.reason,this.update(n)};n?(this.context.stickIfOpen=!0,this.context.stickIfOpenTimeout.start(500,()=>{this.context.stickIfOpen=!1}),He.flushSync(s)):s();let c;r?c=`click`:i?c=`dismiss`:t.reason===`focus-out`&&(c=`focus`),this.set(`instantType`,c)}};function ax(e,t,n,r=!1){let i={...ss(t,n,r),disabled:!1,modal:!1,focusManagerModal:!1,instantType:void 0,openMethod:null,openChangeReason:null,titleElementId:void 0,descriptionElementId:void 0,openOnHover:!1,closeDelay:0,adaptiveOrigin:void 0,...e};return i.open&&e?.mounted===void 0&&(i.mounted=!0),i}function ox(e){return{popupRef:Y.createRef(),onOpenChange:void 0,onOpenChangeComplete:void 0,triggerFocusTargetRef:Y.createRef(),beforeTriggerFocusGuardRef:Y.createRef(),beforeContentFocusGuardRef:Y.createRef(),stickIfOpenTimeout:new at,stickIfOpen:!0,triggerElements:e}}var sx=qe(function({props:e}){let{children:t,open:n,defaultOpen:r=!1,onOpenChange:i,onOpenChangeComplete:a,modal:o=!1,handle:s,triggerId:c,defaultTriggerId:l=null}=e,u=lx(s,{modal:o,open:r,openProp:n,activeTriggerId:l,triggerIdProp:c});u.useControlledProp(`openProp`,n),u.useControlledProp(`triggerIdProp`,c);let d=u.useState(`open`),f=u.useState(`mounted`),p=u.useState(`payload`);u.useContextCallback(`onOpenChange`,i),u.useContextCallback(`onOpenChangeComplete`,a),Wo(u,d),Vo(u);let{forceUnmount:m}=Ho(d,u,()=>{u.context.stickIfOpen=!0,u.set(`openChangeReason`,null)});u.useSyncedValues({modal:o}),Y.useEffect(()=>{d||u.context.stickIfOpenTimeout.clear()},[u,d]),Y.useImperativeHandle(e.actionsRef,()=>({unmount:m,close:()=>u.setOpen(!1,Q(lr))}),[m,u]);let h=d||f||s!=null;return(0,J.jsxs)(tx.Provider,{value:u,children:[s&&(0,J.jsx)(Po,{handle:s,store:u}),h&&(0,J.jsx)(ux,{store:u,modal:o}),typeof t==`function`?t({payload:p}):t]})});function cx(e){return nx(!0)?(0,J.jsx)(sx,{props:e}):(0,J.jsx)(io,{children:(0,J.jsx)(sx,{props:e})})}function lx(e,t){let n=No((e,n)=>new ix(t,e,n));return Y.useEffect(()=>n.context.stickIfOpenTimeout.disposeEffect(),[n]),n}function ux({store:e,modal:t}){let n=So(e.useState(`floatingRootContext`),{outsidePressEvent:{mouse:t===`trap-focus`?`sloppy`:`intentional`,touch:`sloppy`}}),r=n.reference,i=n.floating;return Uo(e,{activeTriggerProps:r,inactiveTriggerProps:r,popupProps:i}),null}var dx=Je(function(e,t){let{render:n,className:r,style:i,disabled:a=!1,nativeButton:o=!0,handle:s,payload:c,openOnHover:l=!1,delay:u=300,closeDelay:d=0,id:f,...p}=e,m=nx(!0),h=ms(s)??m;if(!h)throw Error(et(74));let g=Zc(f),_=h.useState(`isTriggerActive`,g),v=h.useState(`floatingRootContext`),y=h.useState(`isOpenedByTrigger`,g),b=h.useState(`triggerPopupId`,g),x=Y.useRef(null),{registerTrigger:S,isMountedByThisTrigger:C}=Bo(g,x,h,{payload:c,disabled:a,openOnHover:l,closeDelay:d}),w=h.useState(`isPressOpenedByTrigger`,g),T=h.useState(`isTouchPressOpen`,l),E=h.useState(`hasTriggerFocusGuards`,g),D=Ts(v,{enabled:!a&&l&&!T,mouseOnly:!0,move:!1,handleClose:Vs(),restMs:u,delay:{close:d},triggerElementRef:x,isActiveTrigger:_,isClosing:()=>h.select(`transitionStatus`)===`ending`}),O=go(v,{stickIfOpen:$(()=>h.context.stickIfOpen)}),k=xm(()=>h.select(`open`),e=>{h.set(`openMethod`,e)}),A=h.useState(`triggerProps`,C),{getButtonProps:j,buttonRef:M}=Gf({disabled:a,native:o}),N={open(e){return w?Tn.open(e):wn.open(e)}},{handlePreFocusGuardFocus:P,handleFocusTargetFocus:F}=zm(h,x),I=Na(`button`,e,{state:{disabled:a,open:y},ref:[M,t,S,x],props:[O.reference,D,A,k,{[Va]:``,id:g,"aria-haspopup":`dialog`,"aria-expanded":y,"aria-controls":b},p,j],stateAttributesMapping:N}),L=(0,J.jsx)(Y.Fragment,{children:I},g);return E?(0,J.jsxs)(Y.Fragment,{children:[(0,J.jsx)(Rr,{ref:h.context.beforeTriggerFocusGuardRef,onFocus:P}),L,(0,J.jsx)(Rr,{ref:h.context.triggerFocusTargetRef,onFocus:F})]}):L}),fx=Y.createContext(void 0);function px(){let e=Y.useContext(fx);if(e===void 0)throw Error(et(45));return e}var mx=Y.forwardRef(function(e,t){let{keepMounted:n=!1,...r}=e;return nx().useState(`mounted`)||n?(0,J.jsx)(fx.Provider,{value:n,children:(0,J.jsx)(Ya,{ref:t,...r})}):null}),hx=Y.createContext(void 0);function gx(){let e=Y.useContext(hx);if(!e)throw Error(et(46));return e}var _x=Y.forwardRef(function(e,t){let{render:n,className:r,style:i,anchor:a,positionMethod:o,side:s,align:c,sideOffset:l,alignOffset:u,collisionBoundary:d=`clipping-ancestors`,collisionPadding:f,arrowPadding:p,sticky:m,disableAnchorTracking:h=!1,collisionAvoidance:g=Ua,..._}=e,v=nx(),y=px(),b=no(),x=v.useState(`floatingRootContext`),S=v.useState(`mounted`),C=v.useState(`open`),w=v.useState(`openChangeReason`),T=v.useState(`activeTriggerElement`),E=v.useState(`modal`),D=v.useState(`openMethod`),O=v.useState(`positionerElement`),k=v.useState(`instantType`),A=v.useState(`transitionStatus`),j=Tl({anchor:a,floatingRootContext:x,positionMethod:o,mounted:S,side:s,sideOffset:l,align:c,alignOffset:u,arrowPadding:p,collisionBoundary:d,collisionPadding:f,sticky:m,disableAnchorTracking:h,keepMounted:y,nodeId:b,collisionAvoidance:g,adaptiveOrigin:v.useState(`adaptiveOrigin`)});rm({store:v,domReference:x.useState(`domReferenceElement`),positionerElement:O,open:C});let M=E===!0&&w!==`trigger-hover`;gm(C&&M,D===`touch`,O,T);let N=v.useStateSetter(`positionerElement`),P=kl(e,{open:C,side:j.side,align:j.align,anchorHidden:j.anchorHidden,instant:k},{styles:j.positionerStyles,transitionStatus:A,props:_,refs:[t,N],hidden:!S,inert:!C});return(0,J.jsxs)(hx.Provider,{value:j,children:[S&&M&&(0,J.jsx)(nm,{inert:Nl(!C),cutout:T}),(0,J.jsx)(ro,{id:b,children:P})]})}),vx=Y.createContext(void 0);function yx(){let[e,t]=Y.useState(0),n=$(()=>(t(e=>e+1),()=>{t(e=>Math.max(0,e-1))}));return{context:Y.useMemo(()=>({register:n}),[n]),hasClosePart:e>0}}var bx=Y.forwardRef(function(e,t){let{render:n,className:r,style:i,initialFocus:a,finalFocus:o,...s}=e,c=nx(),l=gx(),u=Up(!0)!=null,{context:d,hasClosePart:f}=yx(),p=c.useState(`open`),m=c.useState(`openMethod`),h=c.useState(`instantType`),g=c.useState(`transitionStatus`),_=c.useState(`popupProps`),v=c.useState(`titleElementId`),y=c.useState(`descriptionElementId`),b=c.useState(`modal`),x=c.useState(`mounted`),S=c.useState(`openChangeReason`),C=c.useState(`activeTriggerElement`),w=c.useState(`floatingRootContext`),T=w.useState(`floatingId`),E=c.useState(`disabled`),D=c.useState(`openOnHover`),O=c.useState(`closeDelay`);ko({open:p,ref:c.context.popupRef,onComplete(){p&&c.context.onOpenChangeComplete?.(!0)}}),Cs(w,{enabled:D&&!E,closeDelay:O});let k=a===void 0?Mo(c.context.popupRef):a,A=b!==!1&&f;c.useSyncedValue(`focusManagerModal`,A);let j=c.useStateSetter(`popupElement`),M=Na(`div`,e,{state:{open:p,side:l.side,align:l.align,instant:h,transitionStatus:g},ref:[t,c.context.popupRef,j],props:[_,{id:T,role:`dialog`,...jo,"aria-labelledby":v,"aria-describedby":y,onKeyDown(e){u&&Kd.has(e.key)&&e.stopPropagation()}},Ol(g),s],stateAttributesMapping:Dn});return(0,J.jsx)(ho,{context:w,openInteractionType:m,modal:A,disabled:!x||S===`trigger-hover`,initialFocus:k,returnFocus:o,restoreFocus:`popup`,getInsideElements:()=>[c.context.beforeTriggerFocusGuardRef.current],previousFocusableElement:Pt(C)?C:void 0,nextFocusableElement:c.context.triggerFocusTargetRef,beforeContentFocusGuardRef:c.context.beforeContentFocusGuardRef,children:(0,J.jsx)(vx.Provider,{value:d,children:M})})}),xx=`data-[popup-open]:bg-[var(--color-accent)] data-[popup-open]:text-[var(--color-accent-foreground)]`,Sx=cx;function Cx({className:e,...t}){return(0,J.jsx)(dx,{className:typeof e==`function`?e:q(xx,e),...t})}function wx({className:e,sideOffset:t=6,align:n=`start`,children:r,...i}){return(0,J.jsx)(mx,{children:(0,J.jsx)(_x,{sideOffset:t,align:n,className:`z-50 outline-none`,children:(0,J.jsx)(bx,{className:q(`rounded-md border border-[var(--color-border)] bg-[var(--color-card)] text-[var(--color-card-foreground)] shadow-md outline-none`,e),...i,children:(0,J.jsx)(Qh,{viewportClassName:`max-h-[var(--available-height)]`,children:(0,J.jsx)(`div`,{className:`p-3`,children:r})})})})})}function Tx(e,t){return e-t}function Ex(e,t,n,r,i,a){let o=Oh(e,n,r);if(!i)return o;let s=a.slice();return s[t]=Oh(o,a[t-1]??-1/0,a[t+1]??1/0),s.sort(Tx)}function Dx(e,t,n){if(!Array.isArray(e))return!0;let r=t*n;for(let t=0;t<e.length-1;t+=1)if(!(Math.abs(e[t]-e[t+1])>=r))return!1;return!0}var Ox=()=>null,kx={activeThumbIndex:Ox,max:Ox,min:Ox,minStepsBetweenValues:Ox,step:Ox,values:Ox,...Cf},Ax=Y.createContext(void 0);function jx(){let e=Y.useContext(Ax);if(e===void 0)throw Error(et(62));return e}function Mx(e,t){return e===t||Array.isArray(e)&&Array.isArray(t)&&G_(e,t)}var Nx=Y.forwardRef(function(e,t){let{"aria-labelledby":n,className:r,defaultValue:i,disabled:a=!1,id:o,format:s,largeStep:c=10,locale:l,render:u,max:d=100,min:f=0,minStepsBetweenValues:p=0,form:m,name:h,onValueChange:g,onValueCommitted:_,orientation:v=`horizontal`,step:y=1,thumbCollisionBehavior:b=`push`,thumbAlignment:x=`center`,value:S,style:C,...w}=e,T=Zc(o),E=tv(T),D=$(g),O=$(_),{clearErrors:k}=jf(),{state:A,disabled:j,name:M,setTouched:N,setDirty:P,validityData:F,validation:I}=Ef(),{labelId:L}=kf(),[R,z]=Y.useState(),B=n??nv(L,R),V=j||a,H=M??h,[ee,te]=Rd({controlled:S,default:i??f,name:`Slider`}),U=Y.useRef(null),W=Y.useRef(null),ne=Y.useRef([]),G=Y.useRef(null),re=Y.useRef(-1),ie=Y.useRef(null),ae=Y.useRef(Un),[oe,se]=Y.useState(-1),[ce,le]=Y.useState(-1),[ue,de]=Y.useState(!1),[fe,pe]=Y.useState(()=>new Map),[me,he]=Y.useState([void 0,void 0]),ge=$(e=>{se(e),e!==-1&&le(e)}),_e=$(e=>{e&&(W.current=e)}),ve=Array.isArray(ee),ye=Y.useMemo(()=>ve?ee.map(e=>Oh(e,f,d)).sort(Tx):[Oh(ee,f,d)],[d,f,ve,ee]),be=ve?ye:ye[0];Df(I.inputRef,T,be,void 0,!V,h),Ff(be,()=>{k(H),I.change(be);let e=F.initialValue,t;t=Array.isArray(be)&&Array.isArray(e)?!G_(be,e):be!==e,P(t)});let xe=$((e,t)=>{if(Number.isNaN(e)||Mx(e,ee))return!1;let n=t.event,r=n.constructor,i=new r(n.type,n);return Object.defineProperty(i,"target",{writable:!0,value:{value:e,name:H}}),t.event=i,D(e,t),t.isCanceled?!1:(ae.current=t.reason,te(e),!0)}),Se=$((e,t,n)=>{let r=Ex(e,t,f,d,ve,ye);if(Dx(r,y,p)){let e=`key`in n?rr:Zn,i=xe(r,Q(e,n.nativeEvent,void 0,{activeThumbIndex:t}));N(!0),i&&O(r,Hn(e,n.nativeEvent))}});X(()=>{if(!V)return;let e=$t(Pr(U.current));Z(U.current,e)&&e.blur(),oe!==-1&&ge(-1)},[oe,V,ge]);let Ce=Y.useMemo(()=>({...A,activeThumbIndex:oe,disabled:V,dragging:ue,orientation:v,max:d,min:f,minStepsBetweenValues:p,step:y,values:ye}),[A,oe,V,ue,d,f,p,v,y,ye]),K=Y.useMemo(()=>({active:oe,controlRef:W,disabled:V,dragging:ue,validation:I,format:s,handleInputChange:Se,indicatorPosition:me,inset:x!==`center`,isArrayValue:ve,labelId:B,rootLabelId:E,largeStep:c,lastUsedThumbIndex:ce,lastChangeReasonRef:ae,form:m,locale:l,max:d,min:f,minStepsBetweenValues:p,name:H,onValueCommitted:O,orientation:v,pressedThumbCenterOffsetRef:G,pressedThumbIndexRef:re,pressedValuesRef:ie,registerFieldControlRef:_e,renderBeforeHydration:x===`edge`,setActive:ge,setDragging:de,setIndicatorPosition:he,setLabelId:z,setValue:xe,state:Ce,step:y,thumbCollisionBehavior:b,thumbMap:fe,thumbRefs:ne,values:ye}),[oe,B,E,V,ue,I,s,Se,me,c,ce,m,l,d,f,p,H,O,v,ve,_e,ge,xe,Ce,y,b,x,fe,ye]),we=Na(`div`,e,{state:Ce,ref:[t,U],props:[{"aria-labelledby":B,id:T,role:`group`},w,e=>I.getValidationProps(V,e)],stateAttributesMapping:kx});return(0,J.jsx)(Ax.Provider,{value:K,children:(0,J.jsx)(nf,{elementsRef:ne,onMapChange:pe,children:we})})}),Px=new Map;function Fx(e,t){let n=JSON.stringify({locale:Jm(e),options:t}),r=Px.get(n);if(r)return r;let i=new Intl.NumberFormat(e,t);return Px.set(n,i),i}function Ix(e,t,n){return e==null?``:Fx(t,n).format(e)}function Lx(e){return e===`touch`||e===`pen`}function Rx(e,t){let n=e.getBoundingClientRect();return t?(n.top+n.bottom)/2:(n.left+n.right)/2}function zx(e){if(e===0)return 0;if(Math.abs(e)<1){let t=e.toExponential().split(`e-`),n=t[0].split(`.`)[1];return(n?n.length:0)+parseInt(t[1],10)}let t=e.toString().split(`.`)[1];return t?t.length:0}function Bx(e,t,n){let r=Math.round((e-n)/t)*t+n;return Number(r.toFixed(Math.max(zx(t),zx(n))))}function Vx(e,t,n,r,i,a,o,s){let c=e.slice(),l=a*o,u=c.length-1,d=s??e;c[t]=Oh(n,r+t*l,i-(u-t)*l);for(let e=t+1;e<=u;e+=1){let t=c[e-1]+l,n=i-(u-e)*l,r=d[e],a=Math.max(c[e],t);r<a&&(a=Math.max(r,t)),c[e]=Oh(a,t,n)}for(let e=t-1;e>=0;--e){let t=c[e+1]-l,n=r+e*l,i=d[e],a=Math.min(c[e],t);i>a&&(a=Math.min(i,t)),c[e]=Oh(a,n,t)}for(let e=0;e<=u;e+=1)c[e]=Number(c[e].toFixed(12));return c}function Hx(e,t,n,r,i,a,o,s,c,l){let u=n??t,d=r??t;if(!(u.length>1))return{value:a,thumbIndex:0,didSwap:!1};let f=c*l;if(e===`push`)return{value:Vx(u,i,a,o,s,c,l),thumbIndex:i,didSwap:!1};let p=u.slice(),m=p[i-1],h=p[i+1],g=m==null?o:m+f,_=h==null?s:h-f,v=Number(Oh(a,g,_).toFixed(12));switch(p[i]=v,e){case`swap`:{let e=u[i],t=1e-7,n=a>e,r=a<e,g=n&&h!=null&&a>=h-t,_=r&&m!=null&&a<=m+t;if(!g&&!_)return{value:p,thumbIndex:i,didSwap:!1};let y=g?i+1:i-1,b=p.map((e,t)=>t===i?v:d[t]??u[t]),x=a;x=g?Math.max(a,p[y]):Math.min(a,p[y]);let S=Vx(p,y,x,o,s,c,l,b),C=g?y-1:y+1,w=S[C-1],T=S[C+1],E=w==null?o:w+f;E=Math.max(E,o+C*f);let D=T==null?s:T-f;D=Math.min(D,s-(S.length-1-C)*f);let O=Oh(v,E,D);return S[C]=Number(O.toFixed(12)),{value:S,thumbIndex:y,didSwap:!0}}default:return{value:p,thumbIndex:i,didSwap:!1}}}var Ux=2;function Wx(e,t){if(!e)return{start:0,end:0};function n(e){let t=e==null?0:parseFloat(e);return Number.isNaN(t)?0:t}let r=t?`Top`:`InlineStart`,i=t?`Bottom`:`InlineEnd`;return{start:n(e[`border${r}Width`])+n(e[`padding${r}`]),end:n(e[`border${i}Width`])+n(e[`padding${i}`])}}function Gx(e,t){if(t.current!=null&&e.changedTouches){let n=e;for(let e=0;e<n.changedTouches.length;e+=1){let r=n.changedTouches[e];if(r.identifier===t.current)return{x:r.clientX,y:r.clientY}}return null}return{x:e.clientX,y:e.clientY}}var Kx=Y.forwardRef(function(e,t){let{render:n,className:r,style:i,...a}=e,{disabled:o,dragging:s,inset:c,isArrayValue:l,lastChangeReasonRef:u,max:d,min:f,minStepsBetweenValues:p,onValueCommitted:m,orientation:h,pressedThumbCenterOffsetRef:g,pressedThumbIndexRef:_,pressedValuesRef:v,registerFieldControlRef:y,renderBeforeHydration:b,setActive:x,setDragging:S,setValue:C,state:w,step:T,thumbCollisionBehavior:E,thumbRefs:D,values:O}=jx(),k=dl(),A=O.length>1,j=h===`vertical`,M=Y.useRef(null),N=Y.useRef(null),P=$(e=>{e&&N.current==null&&(N.current=At(e).getComputedStyle(e))}),F=Y.useRef(null),I=Y.useRef(0),L=Y.useRef(0),R=Y.useRef(null),z=Y.useRef(!1),B=Cr(O);function V(e){return e?.querySelector(`input[type="range"]`)}function H(e){_.current=e,D.current[e]||(g.current=null)}function ee(){_.current=-1,g.current=null}function te(e){return Nt(e)?D.current.some(t=>!Nt(t)||!Z(t,e)?!1:V(t)?.disabled===!0):!1}function U(e){let t=M.current,n=_.current;if(!t||n<0||n>=O.length)return n>=O.length&&(R.current=null),null;let{width:r,height:i,bottom:a,left:o,right:s}=t.getBoundingClientRect(),c=Wx(N.current,j),u=L.current,m=(j?i:r)-c.start-c.end-u*2,h=g.current??0,y=e.x-h,b=e.y-h,x=Oh(((j?a-b-c.end:(k===`rtl`?s-y:y-o)-c.start)-u)/m,0,1),S=(d-f)*x+f;return S=Bx(S,T,f),S=Oh(S,f,d),A?Hx(E,O,B.current,v.current,n,S,f,d,T,p):{value:l?[S]:S,thumbIndex:n,didSwap:!1}}function W(e){v.current=A?O.slice():null,R.current=null,B.current=O;let t=_.current,n=t;if(t>-1&&t<O.length){if(O[t]===d){let e=t;for(;e>0&&O[e-1]===d;)--e;n=e}}else{let t=j?`y`:`x`,r;n=-1;for(let i=0;i<D.current.length;i+=1){let a=D.current[i];if(Nt(a)&&!V(a)?.disabled){let o=Rx(a,j),s=Math.abs(e[t]-o);(r===void 0||s<=r)&&(n=i,r=s)}}}if(n>-1&&n!==t&&H(n),c){let e=D.current[n];if(Nt(e)){let t=e.getBoundingClientRect();L.current=t[j?`height`:`width`]/2}}}function ne(e){let t=V(D.current?.[e]);t&&t.focus({preventScroll:!0,focusVisible:!1})}function G(e,t,n){let r=C(e.value,Q(t,n,void 0,{activeThumbIndex:e.thumbIndex}));return r&&(R.current=e.value,B.current=Array.isArray(e.value)?e.value:[e.value],e.didSwap&&(H(e.thumbIndex),ne(e.thumbIndex))),r}let re=$(e=>{let t=Gx(e,F);if(t==null)return;if(I.current+=1,e.type===`pointermove`&&e.buttons===0){ie(e);return}let n=U(t);n!=null&&Dx(n.value,T,p)&&(!s&&I.current>Ux&&S(!0),G(n,ar,e))}),ie=$(e=>{if(Gx(e,F)==null)return;x(-1),S(!1),g.current=null;let t=R.current;if(Array.isArray(t)&&t.length!==O.length&&(R.current=null),R.current!=null){let t=u.current;m(R.current,Hn(t,e))}`pointerType`in e&&M.current?.hasPointerCapture(e.pointerId)&&M.current?.releasePointerCapture(e.pointerId),_.current=-1,se()}),ae=$(e=>{F.current??ie(e)}),oe=$(e=>{let t=z.current;if(z.current=!1,o)return;if(te(tn(e))){ee();return}let n=e.changedTouches[0];if(n==null)return;if(F.current=n.identifier,!t){let t={x:n.clientX,y:n.clientY};W(t);let r=U(t);if(r==null)return;ne(r.thumbIndex),G(r,Xn,e),I.current=0}let r=Pr(M.current);r.addEventListener(`touchmove`,re,{passive:!0}),r.addEventListener(`touchend`,ie,{passive:!0}),r.addEventListener(`touchcancel`,ie,{passive:!0})}),se=$(()=>{let e=Pr(M.current);e.removeEventListener(`pointermove`,re),e.removeEventListener(`pointerup`,ie),e.removeEventListener(`pointercancel`,ae),e.removeEventListener(`touchmove`,re),e.removeEventListener(`touchend`,ie),e.removeEventListener(`touchcancel`,ie),F.current=null,v.current=null,R.current=null,z.current=!1}),ce=Nr();return Y.useEffect(()=>{let e=M.current;if(!e)return()=>se();let t=hr(e,`touchstart`,oe,{passive:!0});return()=>{t(),ce.cancel(),se()}},[se,oe,M,ce]),Y.useEffect(()=>{o&&se()},[o,se]),Na(`div`,e,{state:w,ref:[t,y,M,P],props:[{"data-base-ui-slider-control":b?``:void 0,onPointerDown(e){z.current=!1;let t=M.current,n=tn(e.nativeEvent);if(!t||o||e.defaultPrevented||!Nt(n)||e.button!==0)return;if(te(n)){ee();return}let r={x:e.clientX,y:e.clientY};W(r);let i=U(r);if(i==null)return;Z(D.current[i.thumbIndex],$t(Pr(t)))?e.preventDefault():ce.request(()=>{ne(i.thumbIndex)}),S(!0),g.current??G(i,Xn,e.nativeEvent),e.nativeEvent.pointerId&&t.setPointerCapture(e.nativeEvent.pointerId),I.current=0,z.current=Lx(e.pointerType);let a=Pr(t);a.addEventListener(`pointermove`,re,{passive:!0}),a.addEventListener(`pointerup`,ie,{once:!0}),a.addEventListener(`pointercancel`,ae,{once:!0})}},a],stateAttributesMapping:kx})}),qx=Y.forwardRef(function(e,t){let{render:n,className:r,style:i,...a}=e,{state:o}=jx();return Na(`div`,e,{state:o,ref:t,props:[{style:{position:`relative`}},a],stateAttributesMapping:kx})}),Jx=()=>()=>{},Yx=()=>!0,Xx=()=>!1;function Zx(){return(0,Xo.useSyncExternalStore)(Jx,Yx,Xx)}function Qx(){let[e,t]=Y.useState(!1);return Y.useEffect(()=>{t(!0)},[]),e}var $x=pa(18)?Zx:Qx;function eS(){return!$x()}function tS(e,t,n){return(e-t)*100/(n-t)}function nS(e){let{script:t}=e,{nonce:n}=vh();return eS()?(0,J.jsx)(`script`,{nonce:n,dangerouslySetInnerHTML:{__html:t},suppressHydrationWarning:!0}):null}var rS=`data-index`,iS,aS=new Set([...Kd,Wd,Gd]);function oS(e,t,n,r){if(!(t<0))return e.length===2?`${Ix(e[t],r,n)} ${t===0?`start`:`end`} range`:n?Ix(e[t],r,n):void 0}function sS(e,t,n,r,i){let a=e+t*n;return Oh(Number(a.toFixed(Math.max(zx(e),zx(t),zx(r)))),r,i)}var cS=Y.forwardRef(function(e,t){let{render:n,children:r,className:i,"aria-describedby":a,"aria-label":o,"aria-labelledby":s,"aria-valuetext":c,disabled:l=!1,getAriaLabel:u,getAriaValueText:d,id:f,index:p,inputRef:m,onBlur:h,onFocus:g,onKeyDown:_,tabIndex:v,style:y,...b}=e,x=Zc(f),{active:S,lastUsedThumbIndex:C,controlRef:w,disabled:T,validation:E,format:D,handleInputChange:O,inset:k,isArrayValue:A,labelId:j,largeStep:M,locale:N,max:P,min:F,minStepsBetweenValues:I,form:L,name:R,orientation:z,pressedThumbCenterOffsetRef:B,pressedThumbIndexRef:V,renderBeforeHydration:H,setActive:ee,setIndicatorPosition:te,state:U,step:W,thumbRefs:ne,values:G}=jx(),re=dl(),ie=l||T,ae=G.length>1,oe=z===`vertical`,se=re===`rtl`,{setTouched:ce,validationMode:le}=Ef(),ue=Y.useRef(null),de=Y.useRef(null),fe=Zf(ie,de),pe=Y.useRef(!1),me=$(e=>{pe.current||g?.(e)}),he=$(e=>{pe.current||h?.(e)}),ge=Zc(),_e=rp(),ve=ae?ge:_e,{ref:ye,index:be}=Jf({metadata:Y.useMemo(()=>({inputId:ve}),[ve])}),xe=ae?p??be:0,Se=xe===G.length-1,Ce=G[xe],K=tS(Ce,F,P),[we,Te]=Y.useState(),Ee=eS(),De=C>=0&&C<G.length?C:-1,Oe=$(()=>{let e=w.current,t=ue.current;if(!e||!t)return;let n=t.getBoundingClientRect(),r=e.getBoundingClientRect(),i=oe?`height`:`width`,a=r[i]-n[i],o=(n[i]/2+a*K/100)/r[i]*100,s=Number.isFinite(o)?o:void 0;Te(s),xe===0?te(e=>[s,e[1]]):Se&&te(e=>[e[0],s])});X(()=>{k&&queueMicrotask(Oe)},[Oe,k]),X(()=>{k&&Oe()},[Oe,k,K]),X(()=>{if(!k)return;let e=w.current,t=ue.current;if(!e||!t)return;let n=At(e).ResizeObserver;if(typeof n!=`function`)return;let r=new n(Oe);return r.observe(e),r.observe(t),()=>{r.disconnect()}},[w,Oe,k]);let ke=oe?`bottom`:`insetInlineStart`,Ae=oe?`left`:`top`,je;ae?S===xe?je=2:De===xe&&(je=1):S===xe&&(je=1);let Me;Me=!k&&!Number.isFinite(K)?Ir:{position:`absolute`,[ke]:k?`var(--position)`:`${K}%`,[Ae]:`50%`,translate:`${(oe||!se?-1:1)*50}% ${(oe?1:-1)*50}%`,zIndex:je,...k&&{"--position":`${we??0}%`,visibility:H&&Ee||we===void 0?`hidden`:void 0}};let Ne;oe&&(Ne=se?`vertical-rl`:`vertical-lr`);let Pe=typeof u==`function`?u(xe):o,Fe=ba({"aria-label":Pe,"aria-labelledby":s??(Pe==null?j:void 0),"aria-describedby":a,"aria-orientation":z,"aria-valuenow":Ce,"aria-valuetext":typeof d==`function`?d(Ix(Ce,N,D),Ce,xe):c??oS(G,xe,D,N),disabled:ie,form:L,id:ve,max:P,min:F,name:R,onChange(e){O(e.currentTarget.valueAsNumber,xe,e)},onFocus(e){let t=pe.current;pe.current=!1,ee(xe),fe(!0),t&&e.stopPropagation()},onBlur(e){if(pe.current){e.stopPropagation();return}ee(-1),!ne.current.some(t=>Z(t,e.relatedTarget))&&(ce(!0),fe(!1),le===`onBlur`&&E.commit(Ex(Ce,xe,F,P,A,G)))},onKeyDown(e){if(e.defaultPrevented||!aS.has(e.key))return;Kd.has(e.key)&&e.stopPropagation();let t=null,n=0,r=e.shiftKey?M:W,i=Bx(Ce,W,F);switch(e.key){case zd:n=1;break;case Hd:n=se?-1:1;break;case Bd:n=-1;break;case Vd:n=se?1:-1;break;case Wd:r=M,n=1;break;case Gd:r=M,n=-1;break;case`End`:t=ae&&Number.isFinite(G[xe+1])?G[xe+1]-W*I:P;break;case Ud:t=ae&&Number.isFinite(G[xe-1])?G[xe-1]+W*I:F;break;default:break}if(n!==0&&(t=sS(i,r,n,F,P)),t!==null){let n=e.currentTarget;Fn(n)||(pe.current=!0,n.blur(),n.focus({preventScroll:!0,focusVisible:!0})),O(t,xe,e),e.preventDefault()}},step:W,style:{...Ir,width:`100%`,height:`100%`,writingMode:Ne},tabIndex:v,type:`range`,value:Ce??``},e=>E.getValidationProps(ie,e),{onFocus:me,onBlur:he,onKeyDown:_}),Ie=_r(de,E.inputRef,m);return Na(`div`,e,{state:U,ref:[t,ye,ue],props:[{[rS]:xe,children:(0,J.jsxs)(Y.Fragment,{children:[r,(0,J.jsx)(`input`,{ref:Ie,...Fe,suppressHydrationWarning:!0}),k&&Se&&H&&(iS||=(0,J.jsx)(nS,{script:``}))]}),id:x,onPointerDown(e){if(ie)return;V.current=xe;let t=Rx(e.currentTarget,oe);B.current=(oe?e.clientY:e.clientX)-t},style:Me,suppressHydrationWarning:H||void 0},b],stateAttributesMapping:kx})});function lS(e,t,n,r,i,a){let o={visibility:a||n&&(r===void 0||t&&i===void 0)?`hidden`:void 0,position:e?`absolute`:`relative`,[e?`width`:`height`]:`inherit`},s=`${r??0}%`,c=`${(i??0)-(r??0)}%`;return n&&(o[`--start-position`]=s,s=`var(--start-position)`,t&&(o[`--relative-size`]=c,c=`var(--relative-size)`)),o[e?`bottom`:`insetInlineStart`]=t?s:0,o[e?`height`:`width`]=t?c:s,o}var uS=Y.forwardRef(function(e,t){let{render:n,className:r,style:i,...a}=e,{indicatorPosition:o,inset:s,max:c,min:l,orientation:u,renderBeforeHydration:d,state:f,values:p}=jx(),m=eS(),h=lS(u===`vertical`,p.length>1,s,s?o[0]:tS(p[0],l,c),s?o[1]:tS(p[p.length-1],l,c),s&&d&&m);return Na(`div`,e,{state:f,ref:t,props:[{"data-base-ui-slider-indicator":d?``:void 0,style:h,suppressHydrationWarning:d||void 0},a],stateAttributesMapping:kx})}),dS=`h-3.5 w-3.5 rounded-full border border-primary bg-card shadow-sm outline-none focus-visible:ring-2 focus-visible:ring-[var(--color-primary)] focus-visible:ring-offset-1`;function fS({value:e,onValueChange:t,min:n=0,max:r=10,className:i,"aria-label":a}){return(0,J.jsx)(Nx,{value:e,onValueChange:e=>{Array.isArray(e)&&e.length===2&&t([e[0],e[1]])},min:n,max:r,step:1,className:q(`w-full`,i),children:(0,J.jsx)(Kx,{className:`flex w-full touch-none select-none items-center py-1.5`,children:(0,J.jsxs)(qx,{className:`relative h-1 w-full rounded-full bg-[var(--color-muted)]`,children:[(0,J.jsx)(uS,{className:`rounded-full bg-primary`}),(0,J.jsx)(cS,{"aria-label":a?`${a} minimum`:`Minimum`,className:dS}),(0,J.jsx)(cS,{"aria-label":a?`${a} maximum`:`Maximum`,className:dS})]})})})}function pS({added:e,removed:t,className:n,zeros:r=!1}){let i=e=>r||e>0;return(0,J.jsxs)(`span`,{className:q(`shrink-0 font-mono text-[10px] tabular-nums`,n),children:[i(e)&&(0,J.jsxs)(`span`,{className:`text-success`,children:[`+`,e]}),i(e)&&i(t)&&` `,i(t)&&(0,J.jsxs)(`span`,{className:`text-danger`,children:[`−`,t]})]})}function mS(e){let[t,n]=Y.useState({getBoundingClientRect(){return DOMRect.fromRect({width:0,height:0,x:0,y:0})}}),r=Y.useRef(null),i=Y.useRef(null),a=Y.useRef(null),o=Y.useRef(null),s=Y.useRef(!0),c=Y.useRef(null),l=da(),u=Y.useMemo(()=>({anchor:t,setAnchor:n,actionsRef:a,backdropRef:r,internalBackdropRef:i,positionerRef:o,allowMouseUpTriggerRef:s,initialCursorPointRef:c,rootId:l}),[t,l]);return(0,J.jsx)(gp.Provider,{value:u,children:(0,J.jsx)(mp.Provider,{value:void 0,children:(0,J.jsx)(Mm,{...e})})})}var hS=500,gS=Y.forwardRef(function(e,t){let{render:n,className:r,style:i,...a}=e,{setAnchor:o,actionsRef:s,internalBackdropRef:c,backdropRef:l,positionerRef:u,allowMouseUpTriggerRef:d,initialCursorPointRef:f,rootId:p}=_p(!1),{store:m}=hp(!1),h=m.useState(`open`),g=m.useState(`disabled`),_=Y.useRef(null),v=Y.useRef(null),y=ot(),b=ot(),x=Y.useRef(!1),S=Y.useRef(null);function C(e,t,n){let r=n.type.startsWith(`touch`);f.current={x:e,y:t},o({getBoundingClientRect(){return DOMRect.fromRect({width:r?10:0,height:r?10:0,x:e,y:t})}}),x.current=!1,s.current?.setOpen(!0,Q(Wn,n)),b.start(hS,()=>{x.current=!0})}function w(e){if(g)return;d.current=!0,St(e),C(e.clientX,e.clientY,e.nativeEvent);let t=Pr(_.current);S.current?.abort();let n=new AbortController;S.current=n,t.addEventListener(`mouseup`,e=>{if(d.current=!1,!x.current)return;b.clear(),x.current=!1;let t=tn(e);Z(u.current,t)||p&&t&&Rm(t)===p||s.current?.setOpen(!1,Q(or,e))},{once:!0,signal:n.signal})}function T(){y.clear(),v.current=null}function E(e){if(g){T();return}if(d.current=!1,e.touches.length!==1){T();return}e.stopPropagation();let t=e.touches[0],n={x:t.clientX,y:t.clientY};v.current=n,y.start(hS,()=>{C(n.x,n.y,e.nativeEvent)})}function D(e){if(e.touches.length!==1){T();return}if(y.isStarted()&&v.current){let t=e.touches[0],n=Math.abs(t.clientX-v.current.x),r=Math.abs(t.clientY-v.current.y);(n>10||r>10)&&T()}}return Y.useEffect(()=>()=>{S.current?.abort()},[]),Y.useEffect(()=>{function e(e){if(g)return;let t=tn(e);(Z(_.current,t)||Z(c.current,t)||Z(l.current,t))&&e.preventDefault()}return hr(Pr(_.current),`contextmenu`,e)},[l,g,c]),Na(`div`,e,{state:{open:h},ref:[_,t],props:[{onContextMenu:w,onTouchStart:E,onTouchMove:D,onTouchEnd:T,onTouchCancel:T,style:{WebkitTouchCallout:`none`}},a],stateAttributesMapping:Tn})}),_S=mS,vS=gS,yS=(0,Y.createContext)({title:null,actions:null});function bS({children:e}){let{title:t}=(0,Y.useContext)(yS);return t?(0,He.createPortal)(e,t):null}function xS({children:e}){let{actions:t}=(0,Y.useContext)(yS);return t?(0,He.createPortal)(e,t):null}function SS({title:e,count:t,description:n,actions:r,bar:i,children:a}){return(0,J.jsxs)(`div`,{className:`mx-auto w-full max-w-6xl p-6 max-md:p-4`,children:[(0,J.jsxs)(`header`,{className:`mb-4 space-y-3`,children:[(0,J.jsxs)(`div`,{className:`flex flex-wrap items-start justify-between gap-x-4 gap-y-2`,children:[(0,J.jsxs)(`div`,{className:`flex min-w-0 items-start gap-2`,children:[(0,J.jsx)(__,{}),(0,J.jsxs)(`div`,{className:`min-w-0`,children:[(0,J.jsxs)(`h1`,{className:`text-lg font-semibold`,children:[(0,J.jsx)(`span`,{className:`max-md:sr-only`,children:e}),t!==void 0&&(0,J.jsx)(`span`,{className:`ml-2 text-sm font-normal tabular-nums text-muted-foreground max-md:ml-0`,children:t})]}),n!==void 0&&(0,J.jsx)(`p`,{className:`mt-1 text-sm text-muted-foreground`,children:n})]})]}),r!==void 0&&(0,J.jsx)(`div`,{className:`flex flex-wrap items-center justify-end gap-2 md:shrink-0 max-md:min-w-0`,children:r})]}),i]}),a]})}var CS=`needs-you`,wS=`working-now`;function TS(e){document.getElementById(e)?.scrollIntoView({behavior:`smooth`,block:`start`})}function ES({label:e,value:t,note:n,tone:r,live:i=!1,href:a,onClick:o}){let s=(0,J.jsxs)(J.Fragment,{children:[(0,J.jsxs)(`span`,{className:`flex items-center gap-1.5 text-xs text-muted-foreground`,children:[i&&(0,J.jsxs)(`span`,{className:`relative flex size-2`,"aria-hidden":!0,children:[(0,J.jsx)(`span`,{className:`absolute inline-flex size-full animate-ping rounded-full bg-success opacity-60`}),(0,J.jsx)(`span`,{className:`relative inline-flex size-2 rounded-full bg-success`})]}),e]}),(0,J.jsx)(`span`,{className:q(`text-2xl font-semibold tabular-nums`,t===0?`text-muted-foreground`:r??`text-foreground`),children:t}),(0,J.jsx)(`span`,{className:`truncate text-xs text-muted-foreground`,children:n})]}),c=q(`flex min-w-0 flex-col gap-1 rounded-lg border border-border bg-card px-4 py-3 text-left`,(a!==void 0||o)&&`transition-colors hover:border-muted-foreground/40 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--color-primary)]`);return a===void 0?o?(0,J.jsx)(`button`,{type:`button`,className:c,onClick:o,children:s}):(0,J.jsx)(`div`,{className:c,children:s}):(0,J.jsx)(`a`,{href:a,className:c,onClick:e=>{e.button!==0||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||(e.preventDefault(),o?.())},children:s})}function DS({chips:e,total:t,picked:n,onPick:r,className:i}){return e.length<2?null:(0,J.jsxs)(`div`,{role:`group`,"aria-label":`Show`,className:q(`flex flex-wrap gap-1.5`,i),children:[(0,J.jsx)(OS,{on:n===null,onClick:()=>r(null),label:`All`,count:t}),e.map(e=>(0,J.jsx)(OS,{on:n===e.value,onClick:()=>r(e.value),label:e.label,count:e.count},e.value))]})}function OS({on:e,onClick:t,label:n,count:r}){return(0,J.jsxs)(`button`,{type:`button`,"aria-pressed":e,onClick:t,className:q(`inline-flex items-center gap-1.5 rounded-full border px-2.5 py-0.5 text-xs transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--color-primary)]`,e?`border-transparent bg-accent text-accent-foreground`:`border-border text-muted-foreground hover:text-foreground`),children:[n,(0,J.jsx)(`span`,{className:`tabular-nums opacity-70`,children:r})]})}var kS=`file`,AS={"package.json":`nodejs`,"package-lock.json":`nodejs`,"pnpm-lock.yaml":`pnpm`,"pnpm-workspace.yaml":`pnpm`,"yarn.lock":`yarn`,"bun.lockb":`bun`,".npmrc":`npm`,".nvmrc":`nodejs`,"tsconfig.json":`tsconfig`,"jsconfig.json":`jsconfig`,"vite.config.ts":`vite`,"vite.config.js":`vite`,"vitest.config.ts":`vitest`,"eslint.config.js":`eslint`,"eslint.config.mjs":`eslint`,".prettierrc":`prettier`,"tailwind.config.js":`tailwindcss`,"tailwind.config.ts":`tailwindcss`,"readme.md":`readme`,license:`license`,"license.md":`license`,"changelog.md":`changelog`,"contributing.md":`contributing`,"agents.md":`agent`,dockerfile:`docker`,"docker-compose.yml":`docker`,"compose.yaml":`docker`,makefile:`makefile`,".gitignore":`git`,".gitattributes":`git`,".gitmodules":`git`,".editorconfig":`editorconfig`,".env.local":`tune`,".env.example":`tune`,"go.mod":`go-mod`,"go.sum":`go-mod`,"requirements.txt":`python-misc`,"pyproject.toml":`python-misc`,gemfile:`gemfile`},jS={ts:`typescript`,tsx:`react_ts`,mts:`typescript`,cts:`typescript`,"d.ts":`typescript-def`,js:`javascript`,jsx:`react`,mjs:`javascript`,cjs:`javascript`,json:`json`,jsonc:`json`,json5:`json`,md:`markdown`,mdx:`mdx`,txt:`document`,pdf:`pdf`,csv:`table`,html:`html`,htm:`html`,xml:`xml`,vue:`vue`,svelte:`svelte`,astro:`astro`,css:`css`,scss:`sass`,sass:`sass`,less:`less`,png:`image`,jpg:`image`,jpeg:`image`,gif:`image`,webp:`image`,svg:`svg`,ico:`image`,avif:`image`,bmp:`image`,mp4:`video`,mp3:`audio`,woff:`font`,woff2:`font`,ttf:`font`,yml:`yaml`,yaml:`yaml`,toml:`toml`,ini:`settings`,env:`tune`,lock:`lock`,log:`log`,zip:`zip`,sh:`console`,bash:`console`,zsh:`console`,fish:`console`,ps1:`powershell`,bat:`console`,py:`python`,rb:`ruby`,go:`go`,rs:`rust`,java:`java`,kt:`kotlin`,swift:`swift`,c:`c`,h:`h`,cpp:`cpp`,hpp:`hpp`,cs:`csharp`,php:`php`,lua:`lua`,dart:`dart`,ex:`elixir`,exs:`elixir`,zig:`zig`,sql:`database`,graphql:`graphql`,gql:`graphql`,prisma:`prisma`,proto:`proto`,wasm:`webassembly`},MS={toml:`toml_light`,pnpm:`pnpm_light`,bun:`bun_light`},NS={agent:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="#ff5252" d="M2.636 24H6v-8H2.636a.63.63 0 0 0-.636.625v6.75a.63.63 0 0 0 .636.625M26 16v8h3.364c.351 0 .636-.355.636-.7v-6.675a.63.63 0 0 0-.636-.625zM17.417 6H14.69a.63.63 0 0 0-.636.625V12H8.69a.63.63 0 0 0-.636.625L8 25.375c0 .345.305.625.637.625h14.727a.63.63 0 0 0 .636-.625v-12.75a.63.63 0 0 0-.636-.625h-5.31V6.625A.63.63 0 0 0 17.416 6m-5.363 8c1.781 0 2.674 2.154 1.414 3.414s-3.414.368-3.414-1.414a2 2 0 0 1 2-2M22 24H10v-2h12zm-1.946-10c1.781 0 2.674 2.154 1.414 3.414s-3.414.368-3.414-1.414a2 2 0 0 1 2-2"/></svg>`,astro:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="#7c4dff" d="M12.106 25.849c-1.262-1.156-1.63-3.586-1.105-5.346a5.18 5.18 0 0 0 3.484 1.66 9.68 9.68 0 0 0 5.882-.734c.215-.106.413-.247.648-.39a3.5 3.5 0 0 1 .16 1.555 4.26 4.26 0 0 1-1.798 3.021c-.404.3-.832.569-1.25.852a2.613 2.613 0 0 0-1.15 3.372l.048.161a3.4 3.4 0 0 1-1.5-1.285 3.6 3.6 0 0 1-.578-1.962 9 9 0 0 0-.05-1.037c-.114-.831-.504-1.204-1.238-1.225a1.45 1.45 0 0 0-1.507 1.18c-.012.056-.028.112-.046.178M4.901 20a17.75 17.75 0 0 1 7.4-2l2.913-8.38a.765.765 0 0 1 1.527 0L19.7 18a14.24 14.24 0 0 1 7.399 2S20.704 2.877 20.692 2.842C20.51 2.33 20.202 2 19.787 2h-7.619c-.415 0-.71.33-.904.842z"/></svg>`,audio:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="#ef5350" d="M16 2a14 14 0 1 0 14 14A14 14 0 0 0 16 2m6 10h-4v8a4 4 0 1 1-4-4 3.96 3.96 0 0 1 2 .555V8h6Z"/></svg>`,bun:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="#fff8e1" d="M30 17.045a9.8 9.8 0 0 0-.32-2.306l-.004.034a11.2 11.2 0 0 0-5.762-6.786c-3.495-1.89-5.243-3.326-6.8-3.811h.003c-1.95-.695-3.949.82-5.825 1.927-4.52 2.481-9.573 5.45-9.28 11.417.008-.029.017-.052.026-.08a9.97 9.97 0 0 0 3.934 7.257l-.01-.006C13.747 31.473 30.05 27.292 30 17.045"/><path fill="#37474f" d="M19.855 20.236A.8.8 0 0 0 19.26 20h-6.514a.8.8 0 0 0-.596.236.51.51 0 0 0-.137.463 4.37 4.37 0 0 0 1.641 2.339 4.2 4.2 0 0 0 2.349.926 4.2 4.2 0 0 0 2.343-.926 4.37 4.37 0 0 0 1.642-2.339.5.5 0 0 0-.132-.463Z"/><ellipse cx="22.5" cy="18.5" fill="#f8bbd0" rx="2.5" ry="1.5"/><ellipse cx="9.5" cy="18.5" fill="#f8bbd0" rx="2.5" ry="1.5"/><circle cx="10" cy="16" r="2" fill="#37474f"/><circle cx="22" cy="16" r="2" fill="#37474f"/><path fill="#455a64" d="M9.996 18A2 2 0 1 0 8 15.996V16a2 2 0 0 0 1.996 2"/><circle cx="9" cy="15" r="1" fill="#fafafa"/><circle cx="21" cy="15" r="1" fill="#fafafa"/></svg>`,bun_light:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="#fff8e1" d="M15.696 27.002a13.73 13.73 0 0 1-9.071-3.062 8.86 8.86 0 0 1-3.6-6.505c-.252-5.091 3.813-7.747 8.748-10.455.28-.165.537-.322.793-.48a7.8 7.8 0 0 1 3.52-1.5 2 2 0 0 1 .695.118 14.8 14.8 0 0 1 2.95 1.576c.972.6 2.182 1.348 3.707 2.173a10.14 10.14 0 0 1 5.274 6.147A8.8 8.8 0 0 1 29 17.035a8.15 8.15 0 0 1-2.525 5.959 15.6 15.6 0 0 1-10.778 4.008Z"/><path fill="#37474f" d="M16.087 6a1 1 0 0 1 .358.06l.038.013.037.012a14.5 14.5 0 0 1 2.684 1.46 72 72 0 0 0 3.767 2.205 9.17 9.17 0 0 1 4.767 5.493A8 8 0 0 1 28 17.055a7.18 7.18 0 0 1-2.234 5.233 14.6 14.6 0 0 1-10.07 3.714 12.74 12.74 0 0 1-8.415-2.816l-.027-.024-.029-.023a7.98 7.98 0 0 1-3.202-5.758c-.223-4.516 3.431-6.89 8.231-9.525l.027-.015.027-.015q.389-.231.783-.474A7.4 7.4 0 0 1 16.087 6m0-2c-1.618 0-3.248 1.19-4.795 2.103-4.52 2.481-9.56 5.41-9.267 11.376a9.9 9.9 0 0 0 3.942 7.215 14.77 14.77 0 0 0 9.73 3.308c7.122 0 14.335-4.134 14.303-10.957a9.6 9.6 0 0 0-.322-2.29 11.16 11.16 0 0 0-5.764-6.768c-3.495-1.89-5.242-3.326-6.798-3.811A3 3 0 0 0 16.086 4Z"/><path fill="#37474f" d="M19.855 20.236A.8.8 0 0 0 19.26 20h-6.514a.8.8 0 0 0-.596.236.51.51 0 0 0-.137.463 4.37 4.37 0 0 0 1.641 2.339 4.2 4.2 0 0 0 2.349.926 4.2 4.2 0 0 0 2.343-.926 4.37 4.37 0 0 0 1.642-2.339.5.5 0 0 0-.132-.463Z"/><ellipse cx="22.5" cy="18.5" fill="#f8bbd0" rx="2.5" ry="1.5"/><ellipse cx="9.5" cy="18.5" fill="#f8bbd0" rx="2.5" ry="1.5"/><circle cx="10" cy="16" r="2" fill="#37474f"/><circle cx="22" cy="16" r="2" fill="#37474f"/><path fill="#455a64" d="M9.996 18A2 2 0 1 0 8 15.996V16a2 2 0 0 0 1.996 2"/><circle cx="9" cy="15" r="1" fill="#fafafa"/><circle cx="21" cy="15" r="1" fill="#fafafa"/></svg>`,c:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="#0288d1" d="M19.563 22A5.57 5.57 0 0 1 14 16.437v-2.873A5.57 5.57 0 0 1 19.563 8H24V2h-4.437A11.563 11.563 0 0 0 8 13.563v2.873A11.564 11.564 0 0 0 19.563 28H24v-6Z"/></svg>`,changelog:`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24"><path d="M0 0h24v24H0z"/><path fill="#8bc34a" d="M13 3a9 9 0 0 0-9 9H1l4 4 4-4H6c0-3.87 3.13-7 7-7s7 3.13 7 7-3.13 7-7 7c-1.93 0-3.68-.79-4.94-2.06l-1.42 1.42A8.95 8.95 0 0 0 13 21a9 9 0 0 0 0-18m-1 5v5l4.25 2.52.77-1.28-3.52-2.09V8z"/></svg>`,console:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="#ff7043" d="M2 2a1 1 0 0 0-1 1v10c0 .554.446 1 1 1h12c.554 0 1-.446 1-1V3a1 1 0 0 0-1-1zm0 3h12v8H2zm1 2 2 2-2 2 1 1 3-3-3-3zm5 3.5V12h5v-1.5z"/></svg>`,contributing:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="#ffca28" d="M17 9H7V7h10m0 6H7v-2h10m-3 6H7v-2h7M12 3a1 1 0 0 1 1 1 1 1 0 0 1-1 1 1 1 0 0 1-1-1 1 1 0 0 1 1-1m7 0h-4.18C14.4 1.84 13.3 1 12 1s-2.4.84-2.82 2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2"/></svg>`,cpp:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="#0288d1" d="M28 14v-4h-2v4h-6v-4h-2v4h-4v2h4v4h2v-4h6v4h2v-4h4v-2z"/><path fill="#0288d1" d="M13.563 22A5.57 5.57 0 0 1 8 16.437v-2.873A5.57 5.57 0 0 1 13.563 8H18V2h-4.437A11.563 11.563 0 0 0 2 13.563v2.873A11.564 11.564 0 0 0 13.563 28H18v-6Z"/></svg>`,csharp:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="#0288d1" d="M30 14v-2h-2V8h-2v4h-2V8h-2v4h-2v2h2v2h-2v2h2v4h2v-4h2v4h2v-4h2v-2h-2v-2Zm-4 2h-2v-2h2Zm-12.437 6A5.57 5.57 0 0 1 8 16.437v-2.873A5.57 5.57 0 0 1 13.563 8H18V2h-4.437A11.563 11.563 0 0 0 2 13.563v2.873A11.564 11.564 0 0 0 13.563 28H18v-6Z"/></svg>`,css:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="#7e57c2" d="M20 18h-2v-2h-2v2c0 .193 0 .703 1.254 1.033A3.345 3.345 0 0 1 20 22h2v2h2v-2c0-.388-.562-.851-1.254-1.034C20.356 20.34 20 18.84 20 18m-3.254 2.966C14.356 20.34 14 18.84 14 18h-2v-2h-2v8h2v-2h4v2h2v-2c0-.388-.562-.851-1.254-1.034"/><path fill="#7e57c2" d="M24 4H4v20a4 4 0 0 0 4 4h16.16A3.84 3.84 0 0 0 28 24.16V8a4 4 0 0 0-4-4m2 14h-2v-2h-2v2c0 .193 0 .703 1.254 1.033A3.345 3.345 0 0 1 26 22v2a2 2 0 0 1-2 2h-2a2 2 0 0 1-2-2 2 2 0 0 1-2 2h-2a2 2 0 0 1-2-2 2 2 0 0 1-2 2h-2a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2 2 2 0 0 1 2-2h2a2 2 0 0 1 2 2 2 2 0 0 1 2-2h2a2 2 0 0 1 2 2Z"/></svg>`,dart:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="#4fc3f7" d="M16.83 2a1.3 1.3 0 0 0-.916.377l-.013.01L7.323 7.34l8.556 8.55v.005l10.283 10.277 1.96-3.529-7.068-16.96-3.299-3.297A1.3 1.3 0 0 0 16.828 2Z"/><path fill="#01579b" d="m7.343 7.32-4.955 8.565-.01.013a1.297 1.297 0 0 0 .004 1.835l.005.005 4.106 4.107 16.064 6.314 3.632-2.015-.098-.098-.025.002L15.995 15.97h-.012z"/><path fill="#01579b" d="m7.321 7.324 8.753 8.755h.013L26.16 26.156l3.835-.73L30 14.089l-4.049-3.965a6.5 6.5 0 0 0-3.618-1.612l.002-.043L7.323 7.325Z"/><path fill="#64b5f6" d="m7.332 7.335 8.758 8.75v.013l10.079 10.071L25.436 30H14.09l-3.967-4.048a6.5 6.5 0 0 1-1.611-3.618l-.045.004Z"/></svg>`,database:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="#ffca28" d="M16 24c-5.525 0-10-.9-10-2v4c0 1.1 4.475 2 10 2s10-.9 10-2v-4c0 1.1-4.475 2-10 2m0-8c-5.525 0-10-.9-10-2v4c0 1.1 4.475 2 10 2s10-.9 10-2v-4c0 1.1-4.475 2-10 2m0-12C10.477 4 6 4.895 6 6v4c0 1.1 4.475 2 10 2s10-.9 10-2V6c0-1.105-4.477-2-10-2"/></svg>`,docker:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="#0288d1" d="M21.81 10.25c-.06-.04-.56-.43-1.64-.43-.28 0-.56.03-.84.08-.21-1.4-1.38-2.11-1.43-2.14l-.29-.17-.18.27c-.24.36-.43.77-.51 1.19-.2.8-.08 1.56.33 2.21-.49.28-1.29.35-1.46.35H2.62c-.34 0-.62.28-.62.63 0 1.15.18 2.3.58 3.38.45 1.19 1.13 2.07 2 2.61.98.6 2.59.94 4.42.94.79 0 1.61-.07 2.42-.22 1.12-.2 2.2-.59 3.19-1.16A8.3 8.3 0 0 0 16.78 16c1.05-1.17 1.67-2.5 2.12-3.65h.19c1.14 0 1.85-.46 2.24-.85.26-.24.45-.53.59-.87l.08-.24zm-17.96.99h1.76c.08 0 .16-.07.16-.16V9.5c0-.08-.07-.16-.16-.16H3.85c-.09 0-.16.07-.16.16v1.58c.01.09.07.16.16.16m2.43 0h1.76c.08 0 .16-.07.16-.16V9.5c0-.08-.07-.16-.16-.16H6.28c-.09 0-.16.07-.16.16v1.58c.01.09.07.16.16.16m2.47 0h1.75c.1 0 .17-.07.17-.16V9.5c0-.08-.06-.16-.17-.16H8.75c-.08 0-.15.07-.15.16v1.58c0 .09.06.16.15.16m2.44 0h1.77c.08 0 .15-.07.15-.16V9.5c0-.08-.06-.16-.15-.16h-1.77c-.08 0-.15.07-.15.16v1.58c0 .09.07.16.15.16M6.28 9h1.76c.08 0 .16-.09.16-.18V7.25c0-.09-.07-.16-.16-.16H6.28c-.09 0-.16.06-.16.16v1.57c.01.09.07.18.16.18m2.47 0h1.75c.1 0 .17-.09.17-.18V7.25c0-.09-.06-.16-.17-.16H8.75c-.08 0-.15.06-.15.16v1.57c0 .09.06.18.15.18m2.44 0h1.77c.08 0 .15-.09.15-.18V7.25c0-.09-.07-.16-.15-.16h-1.77c-.08 0-.15.06-.15.16v1.57c0 .09.07.18.15.18m0-2.28h1.77c.08 0 .15-.07.15-.16V5c0-.1-.07-.17-.15-.17h-1.77c-.08 0-.15.06-.15.17v1.56c0 .08.07.16.15.16m2.46 4.52h1.76c.09 0 .16-.07.16-.16V9.5c0-.08-.07-.16-.16-.16h-1.76c-.08 0-.15.07-.15.16v1.58c0 .09.07.16.15.16"/></svg>`,document:`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24"><path d="M0 0h24v24H0z"/><path fill="#42a5f5" d="M8 16h8v2H8zm0-4h8v2H8zm6-10H6c-1.1 0-2 .9-2 2v16c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8zm4 18H6V4h7v5h5z"/></svg>`,editorconfig:`<svg xmlns="http://www.w3.org/2000/svg" clip-rule="evenodd" image-rendering="optimizeQuality" shape-rendering="geometricPrecision" text-rendering="geometricPrecision" viewBox="0 0 3473 3473"><path fill="#ede7f6" d="M989.342 1977.409c41.146-26.835 75.137-93.922 54.564-141.33-56.353 24.151-53.67 79.61-54.564 141.33m636.877 153.851c44.724-14.311 87.66-64.402 63.509-116.283-34.886 24.151-57.248 57.247-63.51 116.284z"/><g fill="#fafafa"><path d="M374.827 2871.899c0 56.352 14.312 117.178 53.67 138.645 144.907 81.4 652.977 17.89 825.614-20.573 90.343-20.573 163.692-87.66 248.668-124.334 191.421-83.187 330.067-150.274 483.025-262.085 110.916-81.399 287.131-310.388 305.915-447.245l-151.169-33.991c-3.578 153.852-38.463 188.737-175.32 224.517-92.132 25.046-271.925 30.413-365.846 14.312-124.334-20.574-180.687-85.871-237.04-160.114-109.128-144.907 24.151-245.985-148.485-255.824-181.582 222.728-501.81 62.614-642.244 40.252-59.93 86.765-200.366 650.294-198.577 779.1 86.766-29.517 141.33 2.684 219.15 33.097 275.503 106.444 34.885 200.366-75.137 172.636-75.137-17.89-98.394-67.086-142.224-98.393m360.48-1285.383c111.81 21.468 211.1 67.982 305.915 115.39 154.747 76.926 182.476 66.192 196.788 173.53 1.789 19.68-1.789 30.413 54.564 48.303 94.816 29.518-54.564-23.257 199.471-22.362 151.169.894 497.337 61.72 609.148 132.384 46.513 29.519 37.568 67.087 194.999 62.615-1.79-185.16-50.986-461.557-123.44-631.51-88.554-205.733-205.733-237.04-444.561-313.966-139.54-44.725-549.217-93.922-676.235-15.207-118.967 74.243-141.33 162.798-252.246 318.439-32.202 45.619-43.83 80.504-64.403 132.384"/><path d="M1720.14 1966.675c89.45 36.674-4.472 273.714-128.806 216.466-40.252-113.6 55.458-178.003 81.398-228.99-53.67-8.05-206.627-32.2-252.246-15.206-59.036 22.363-72.454 148.486-42.041 207.522 143.118 280.87 775.523 220.94 708.436 2.684-26.835-88.555-51.88-102.867-142.224-133.28-72.454-24.15-144.907-49.196-224.517-49.196m-1124.374-31.307c71.56 68.875 233.462 79.61 338.117 84.976 13.418-138.646 25.046-242.407 135.963-234.356 54.564 74.242 25.94 161.902-31.307 218.255 97.5-.894 153.852-74.242 139.54-180.687-82.293-59.036-331.856-177.109-457.084-194.104-34.885 37.569-120.756 243.301-125.229 305.916"/></g><path d="M427.602 2820.913c59.036-5.367 212.889 39.357 225.412 89.449-95.71 11.628-217.361 2.683-225.412-89.45zm-52.775 50.986c43.83 31.307 67.087 80.504 142.224 98.393 110.022 27.73 350.64-66.192 75.137-172.636-77.82-30.413-132.384-62.614-219.15-33.096-1.789-128.807 138.646-692.336 198.577-779.101 140.435 22.362 460.662 182.476 642.244-40.252 172.636 9.84 39.357 110.917 148.485 255.824 56.353 74.243 112.706 139.54 237.04 160.114 93.921 16.1 273.714 10.734 365.846-14.312 136.857-35.78 171.742-70.665 175.32-224.517l151.17 33.99c-18.785 136.858-195 365.847-305.916 447.246-152.958 111.81-291.604 178.898-483.025 262.085-84.976 36.674-158.325 103.761-248.668 124.334-172.637 38.463-680.707 101.972-825.614 20.574-39.358-21.468-53.67-82.294-53.67-138.646M1626.22 2131.26c6.261-59.037 28.623-92.133 63.508-116.284 24.152 51.88-18.784 101.972-63.508 116.284m93.921-164.586c79.61 0 152.063 25.045 224.517 49.197 90.344 30.412 115.39 44.724 142.224 133.279 67.087 218.255-565.318 278.186-708.436-2.684-30.413-59.036-16.995-185.16 42.041-207.522 45.619-16.995 198.577 7.156 252.246 15.207-25.94 50.986-121.65 115.389-81.398 228.99 124.334 57.247 218.255-179.793 128.806-216.467m-730.798 10.734c.894-61.72-1.79-117.179 54.564-141.33 20.573 47.408-13.418 114.495-54.564 141.33m-393.576-42.041c4.473-62.615 90.344-268.347 125.229-305.916 125.228 16.995 374.791 135.068 457.084 194.104 14.312 106.445-42.04 179.793-139.54 180.687 57.247-56.353 85.87-144.013 31.307-218.255-110.917-8.05-122.545 95.71-135.963 234.356-104.655-5.367-266.558-16.1-338.117-84.976m-89.449-71.56c-33.096-91.238-33.096-233.462 107.339-245.09l-71.56 199.471c-18.783 42.936-18.783 33.096-35.779 45.62zm228.99-277.292c20.573-51.88 32.201-86.765 64.403-132.384 110.917-155.641 133.279-244.196 252.246-318.439 127.018-78.715 536.694-29.518 676.235 15.207 238.828 76.926 356.007 108.233 444.561 313.966 72.454 169.953 121.65 446.35 123.44 631.51-157.43 4.472-148.486-33.096-195-62.615-111.81-70.664-457.978-131.49-609.147-132.384-254.035-.895-104.655 51.88-199.471 22.362-56.353-17.89-52.775-28.624-54.564-48.302-14.312-107.34-42.041-96.605-196.788-173.531-94.816-47.408-194.104-93.922-305.915-115.39m1583.247-43.83c-16.995-56.352 14.312-52.775 68.876-91.238 31.307-22.362 56.353-45.619 94.816-67.086 144.013-80.504 412.36-93.922 526.854 1.789 46.514 38.463 122.545 113.6 110.917 211.994-24.151 195.893-158.325 303.232-268.347 392.68-111.811 91.239-297.865 185.16-490.18 122.546-16.101-39.358-3.578-288.92-22.363-381.053-16.995-82.293-8.05-91.238 39.358-140.435 139.54-144.907 441.878-250.457 613.62-126.123 72.454 53.67 51.88 74.243 89.449 115.39 46.513-50.092-40.252-218.256-360.48-207.522-217.36 7.156-311.282 177.109-402.52 169.058m-1302.377-508.964c4.472-124.335 118.967-381.948 233.461-471.397 138.646-107.338 283.554-208.416 496.442-87.66 52.775 29.519 50.092 44.725 55.459 118.073 4.472 70.665-1.79 96.605-19.679 153.852-141.33 456.19-259.402 194.105-712.014 302.338 16.995-148.485 145.802-280.87 217.361-349.746 122.545-118.967 211.1-195.893 395.365-170.847 50.986 84.976 56.352 138.646-5.367 237.934-82.293 132.385-102.867 124.334-90.344 214.678 64.403-16.101 84.082-78.715 113.6-141.33 179.793-375.686-81.398-421.305-241.512-352.429-107.339 45.62-298.76 256.719-361.374 383.736-12.523 25.046-25.94 57.248-37.568 84.977zm708.436 18.784c18.784-111.811 129.7-139.54 129.7-483.92 0-148.485-182.475-281.764-421.304-182.475-204.838 84.082-236.145 148.485-345.273 313.071-102.867 155.642-99.289 326.49-187.843 470.502-25.94 41.147-49.197 55.458-77.82 96.605-20.574 30.413-35.78 68.876-56.354 104.655-42.04 68.876-84.976 118.968-118.967 201.26-107.339 2.684-197.682 4.473-208.416 115.39-14.312 152.063 57.247 189.632 57.247 246.879-.894 61.72-251.351 684.285-181.581 1055.498 19.679 101.972 86.765 102.867 194.104 115.39 258.508 31.307 593.942 20.573 825.614-72.454l420.41-201.26c106.445-59.931 285.343-173.532 364.953-256.72 56.353-58.141 85.87-107.338 134.173-176.214 66.192-96.605 67.981-94.816 82.293-226.306 87.66 16.101 251.352 54.564 305.916 101.972-6.262 61.72-36.674 32.202-36.674 87.66 34.885.895 93.027-42.935 107.339-91.238-36.675-53.67-75.138-44.724-127.913-87.66 42.042-33.096 118.073-48.302 176.215-72.453 125.229-51.88 339.012-209.311 391.787-352.43 42.04-115.389 10.734-307.704-57.248-382.841-71.559-78.715-237.934-118.967-373.897-118.967-161.902 0-329.172 116.283-459.767 166.375-50.092-43.83-53.67-93.922-90.344-142.224-42.04-57.248-315.755-200.366-446.35-228.095"/><path fill="#efebe9" d="M2318.554 1542.686c91.238 8.05 185.16-161.902 402.52-169.058 320.228-10.734 406.993 157.43 360.48 207.521-37.569-41.146-16.995-61.72-89.45-115.389-171.741-124.334-474.079-18.784-613.62 126.123-47.407 49.197-56.352 58.142-39.357 140.435 18.785 92.133 6.262 341.695 22.362 381.053 192.316 62.614 378.37-31.307 490.181-122.545 110.022-89.45 244.196-196.788 268.347-392.681 11.628-98.394-64.403-173.531-110.917-211.994-114.494-95.71-382.841-82.293-526.854-1.79-38.463 21.468-63.51 44.725-94.816 67.087-54.564 38.464-85.871 34.886-68.876 91.238m-1302.377-508.964 43.83-77.821c11.628-27.73 25.045-59.93 37.568-84.977 62.614-127.017 254.035-338.117 361.374-383.736 160.114-68.876 421.305-23.257 241.512 352.43-29.518 62.614-49.197 125.228-113.6 141.329-12.523-90.344 8.05-82.293 90.344-214.678 61.72-99.288 56.353-152.958 5.367-237.934-184.265-25.046-272.82 51.88-395.365 170.847-71.56 68.876-200.366 201.26-217.361 349.746 452.612-108.233 570.685 153.852 712.014-302.338 17.89-57.247 24.151-83.187 19.679-153.852-5.367-73.348-2.684-88.554-55.459-118.073-212.888-120.756-357.796-19.678-496.442 87.66-114.494 89.45-228.989 347.062-233.461 471.397"/><path fill="#eee" d="M506.317 1863.808c16.996-12.523 16.996-2.683 35.78-45.619l71.559-199.47c-140.435 11.627-140.435 153.851-107.339 245.09z"/><path fill="#efebe9" d="M653.014 2910.362c-12.523-50.092-166.376-94.816-225.412-89.45 8.05 92.133 129.701 101.078 225.412 89.45"/></svg>`,elixir:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="#9575cd" d="M12.173 22.681c-3.86 0-6.99-3.64-6.99-8.13 0-3.678 2.773-8.172 4.916-10.91 1.014-1.296 2.93-2.322 2.93-2.322s-.982 5.239 1.683 7.319c2.366 1.847 4.106 4.25 4.106 6.363 0 4.232-2.784 7.68-6.645 7.68"/></svg>`,eslint:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="#3f51b5" d="M22.713 4H9.287a.5.5 0 0 0-.432.248l-6.708 11.5a.5.5 0 0 0 0 .504l6.708 11.5a.5.5 0 0 0 .432.248h13.426a.5.5 0 0 0 .432-.248l6.708-11.5a.5.5 0 0 0 0-.504l-6.708-11.5A.5.5 0 0 0 22.713 4m-6.937 20.888-7.5-3.75A.5.5 0 0 1 8 20.691v-9.382a.5.5 0 0 1 .276-.447l7.5-3.75a.5.5 0 0 1 .448 0l7.5 3.75a.5.5 0 0 1 .276.447v9.382a.5.5 0 0 1-.276.447l-7.5 3.75a.5.5 0 0 1-.448 0"/><path fill="#7986cb" d="M22 19.441v-6.882a.5.5 0 0 0-.276-.447l-5.5-2.75a.5.5 0 0 0-.448 0l-5.5 2.75a.5.5 0 0 0-.276.447v6.882a.5.5 0 0 0 .276.447l5.5 2.75a.5.5 0 0 0 .448 0l5.5-2.75a.5.5 0 0 0 .276-.447"/></svg>`,file:`<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="m8.668 6h3.6641l-3.6641-3.668v3.668m-4.668-4.668h5.332l4 4v8c0 0.73828-0.59375 1.3359-1.332 1.3359h-8c-0.73828 0-1.332-0.59766-1.332-1.3359v-10.664c0-0.74219 0.59375-1.3359 1.332-1.3359m3.332 1.3359h-3.332v10.664h8v-6h-4.668z" fill="#90a4ae" /></svg>`,font:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="#f44336" d="M24 28h4L18 4h-4L4 28h4l8-19.422"/><path fill="#f44336" d="M8 20h16v4H8z"/></svg>`,gemfile:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="#e53935" d="M21.184 10.016V10H10.881l.016.033-.016-.017L8 14l8.032 10L24 14z"/><path fill="#e53935" d="m16 3.455 11 6.286v12.518l-11 6.286-11-6.286V9.741zM16 0 2 8v16l14 8 14-8V8z"/></svg>`,git:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="#e64a19" d="M13.172 2.828 11.78 4.22l1.91 1.91 2 2A2.986 2.986 0 0 1 20 10.81a3.25 3.25 0 0 1-.31 1.31l2.06 2a2.68 2.68 0 0 1 3.37.57 2.86 2.86 0 0 1 .88 2.117 3.02 3.02 0 0 1-.856 2.109A2.9 2.9 0 0 1 23 19.81a2.93 2.93 0 0 1-2.13-.87 2.694 2.694 0 0 1-.56-3.38l-2-2.06a3 3 0 0 1-.31.12V20a3 3 0 0 1 1.44 1.09 2.92 2.92 0 0 1 .56 1.72 2.88 2.88 0 0 1-.878 2.128 2.98 2.98 0 0 1-2.048.871 2.981 2.981 0 0 1-2.514-4.719A3 3 0 0 1 16 20v-6.38a2.96 2.96 0 0 1-1.44-1.09 2.9 2.9 0 0 1-.56-1.72 2.9 2.9 0 0 1 .31-1.31l-3.9-3.9-7.579 7.572a4 4 0 0 0-.001 5.658l10.342 10.342a4 4 0 0 0 5.656 0l10.344-10.344a4 4 0 0 0 0-5.656L18.828 2.828a4 4 0 0 0-5.656 0"/></svg>`,go:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="#00acc1" d="M2 12h4v2H2zm-2 4h6v2H0zm4 4h2v2H4zm16.954-5H14v3h3.239a4.42 4.42 0 0 1-3.531 2 2.65 2.65 0 0 1-2.053-.858 2.86 2.86 0 0 1-.628-2.28A4.515 4.515 0 0 1 15.292 13a2.73 2.73 0 0 1 1.749.584l2.962-1.185A5.6 5.6 0 0 0 15.292 10a7.526 7.526 0 0 0-7.243 6.5 5.614 5.614 0 0 0 5.659 6.5 7.526 7.526 0 0 0 7.243-6.5 6.4 6.4 0 0 0 .003-1.5"/><path fill="#00acc1" d="M26.292 10a7.526 7.526 0 0 0-7.243 6.5 5.614 5.614 0 0 0 5.659 6.5 7.526 7.526 0 0 0 7.243-6.5 5.614 5.614 0 0 0-5.659-6.5m2.681 6.137A4.515 4.515 0 0 1 24.708 20a2.65 2.65 0 0 1-2.053-.858 2.86 2.86 0 0 1-.628-2.28A4.515 4.515 0 0 1 26.292 13a2.65 2.65 0 0 1 2.053.858 2.86 2.86 0 0 1 .628 2.28Z"/></svg>`,"go-mod":`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="#ec407a" d="M2 12h4v2H2zm-2 4h6v2H0zm4 4h2v2H4zm16.954-5H14v3h3.239a4.42 4.42 0 0 1-3.531 2 2.65 2.65 0 0 1-2.053-.858 2.86 2.86 0 0 1-.628-2.28A4.515 4.515 0 0 1 15.292 13a2.73 2.73 0 0 1 1.749.584l2.962-1.185A5.6 5.6 0 0 0 15.292 10a7.526 7.526 0 0 0-7.243 6.5 5.614 5.614 0 0 0 5.659 6.5 7.526 7.526 0 0 0 7.243-6.5 6.4 6.4 0 0 0 .003-1.5"/><path fill="#ec407a" d="M26.292 10a7.526 7.526 0 0 0-7.243 6.5 5.614 5.614 0 0 0 5.659 6.5 7.526 7.526 0 0 0 7.243-6.5 5.614 5.614 0 0 0-5.659-6.5m2.681 6.137A4.515 4.515 0 0 1 24.708 20a2.65 2.65 0 0 1-2.053-.858 2.86 2.86 0 0 1-.628-2.28A4.515 4.515 0 0 1 26.292 13a2.65 2.65 0 0 1 2.053.858 2.86 2.86 0 0 1 .628 2.28Z"/></svg>`,graphql:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="#ec407a" d="M6 20h20v2H6z"/><circle cx="7" cy="21" r="3" fill="#ec407a"/><circle cx="16" cy="27" r="3" fill="#ec407a"/><circle cx="25" cy="21" r="3" fill="#ec407a"/><path fill="#ec407a" d="M6 10h20v2H6z"/><circle cx="7" cy="11" r="3" fill="#ec407a"/><circle cx="16" cy="5" r="3" fill="#ec407a"/><circle cx="25" cy="11" r="3" fill="#ec407a"/><path fill="#ec407a" d="M6 12h2v10H6zm18-2h2v12h-2z"/><path fill="#ec407a" d="m5.014 19.41 11.674 6.866L15.674 28 4 21.134z"/><path fill="#ec407a" d="M26.688 21.724 15.014 28.59 14 26.866 25.674 20zM5.124 10.382l11.415-7.29 1.077 1.686L6.2 12.068z"/><path fill="#ec407a" d="m25.798 12.067-11.415-7.29 1.077-1.685 11.415 7.29zM6.2 19.932l11.416 7.29-1.077 1.686-11.415-7.29z"/><path fill="#ec407a" d="m26.875 21.619-11.415 7.29-1.077-1.687 11.415-7.289zM5.877 22.6 16.04 3.686l1.762.946L7.638 23.546z"/><path fill="#ec407a" d="M24.361 23.545 14.197 4.633l1.761-.947 10.165 18.913z"/></svg>`,h:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="#0288d1" d="M18.5 11a5.49 5.49 0 0 0-4.5 2.344V4H8v24h6V17a2 2 0 0 1 4 0v11h6V16.5a5.5 5.5 0 0 0-5.5-5.5"/></svg>`,hpp:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="#0288d1" d="M28 6V2h-2v4h-6V2h-2v4h-4v2h4v4h2V8h6v4h2V8h4V6zm-15.5 5A5.49 5.49 0 0 0 8 13.344V4H2v24h6V17a2 2 0 0 1 4 0v11h6V16.5a5.5 5.5 0 0 0-5.5-5.5"/></svg>`,html:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="#e65100" d="m4 4 2 22 10 2 10-2 2-22Zm19.72 7H11.28l.29 3h11.86l-.802 9.335L15.99 25l-6.635-1.646L8.93 19h3.02l.19 2 3.86.77 3.84-.77.29-4H8.84L8 8h16Z"/></svg>`,image:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="#26a69a" d="M8.5 6h4l-4-4zM3.875 1H9.5l4 4v8.6c0 .773-.616 1.4-1.375 1.4h-8.25c-.76 0-1.375-.627-1.375-1.4V2.4c0-.777.612-1.4 1.375-1.4M4 13.6h8V8l-2.625 2.8L8 9.4zm1.25-7.7c-.76 0-1.375.627-1.375 1.4s.616 1.4 1.375 1.4c.76 0 1.375-.627 1.375-1.4S6.009 5.9 5.25 5.9"/></svg>`,java:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="#f44336" d="M4 26h24v2H4zM28 4H7a1 1 0 0 0-1 1v13a4 4 0 0 0 4 4h10a4 4 0 0 0 4-4v-4h4a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2m0 8h-4V6h4Z"/></svg>`,javascript:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="#ffca28" d="M2 2v12h12V2zm6 6h1v4a1.003 1.003 0 0 1-1 1H7a1.003 1.003 0 0 1-1-1v-1h1v1h1zm3 0h2v1h-2v1h1a1.003 1.003 0 0 1 1 1v1a1.003 1.003 0 0 1-1 1h-2v-1h2v-1h-1a1.003 1.003 0 0 1-1-1V9a1.003 1.003 0 0 1 1-1"/></svg>`,jsconfig:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="#757575" d="M15 2H6a2.006 2.006 0 0 0-2 2v22a2.006 2.006 0 0 0 2 2h6v-4H6v-2h6v-2H6v-2h6v-2H6v-2h6v-2h2V4l8 8h2v-1Z" data-mit-no-recolor="true"/><path fill="#ffca28" d="M12 12v18h18V12zm8 12a2.006 2.006 0 0 1-2 2h-2a2.006 2.006 0 0 1-2-2v-2h2v2h2v-8h2zm8-6h-4v2h2a2.006 2.006 0 0 1 2 2v2a2.006 2.006 0 0 1-2 2h-4v-2h4v-2h-2a2.006 2.006 0 0 1-2-2v-2a2.006 2.006 0 0 1 2-2h4z"/></svg>`,json:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960"><path fill="#f9a825" d="M560-160v-80h120q17 0 28.5-11.5T720-280v-80q0-38 22-69t58-44v-14q-36-13-58-44t-22-69v-80q0-17-11.5-28.5T680-720H560v-80h120q50 0 85 35t35 85v80q0 17 11.5 28.5T840-560h40v160h-40q-17 0-28.5 11.5T800-360v80q0 50-35 85t-85 35zm-280 0q-50 0-85-35t-35-85v-80q0-17-11.5-28.5T120-400H80v-160h40q17 0 28.5-11.5T160-600v-80q0-50 35-85t85-35h120v80H280q-17 0-28.5 11.5T240-680v80q0 38-22 69t-58 44v14q36 13 58 44t22 69v80q0 17 11.5 28.5T280-240h120v80z"/></svg>`,kotlin:`<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24"><defs><linearGradient id="file-icon-kotlin-a" x1="1.725" x2="22.185" y1="22.67" y2="1.982" gradientTransform="translate(1.306 1.129)scale(.89324)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#7c4dff"/><stop offset=".5" stop-color="#d500f9"/><stop offset="1" stop-color="#ef5350"/></linearGradient></defs><path fill="url(#file-icon-kotlin-a)" d="M2.975 2.976v18.048h18.05v-.03l-4.478-4.511-4.48-4.515 4.48-4.515 4.443-4.477z"/></svg>`,less:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="#0277bd" d="M8 3a2 2 0 0 0-2 2v4a2 2 0 0 1-2 2H3v2h1a2 2 0 0 1 2 2v4a2 2 0 0 0 2 2h2v-2H8v-5a2 2 0 0 0-2-2 2 2 0 0 0 2-2V5h2V3m6 0a2 2 0 0 1 2 2v4a2 2 0 0 0 2 2h1v2h-1a2 2 0 0 0-2 2v4a2 2 0 0 1-2 2h-2v-2h2v-5a2 2 0 0 1 2-2 2 2 0 0 1-2-2V5h-2V3z"/></svg>`,license:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="#ff5722" d="M8 1a5.5 5.5 0 0 0-4 9.26V15l4-1.5 4 1.5v-4.74A5.49 5.49 0 0 0 8 1m0 1.5a4 4 0 1 1 0 8 4 4 0 0 1 0-8m0 2a2 2 0 1 0 0 4 2 2 0 0 0 0-4"/></svg>`,lock:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="#ffd54f" d="M25 12h-3V8a6 6 0 0 0-12 0v4H7a1 1 0 0 0-1 1v16a1 1 0 0 0 1 1h18a1 1 0 0 0 1-1V13a1 1 0 0 0-1-1M14 8a2 2 0 0 1 4 0v4h-4Zm2 17a4 4 0 1 1 4-4 4 4 0 0 1-4 4"/></svg>`,log:`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24"><path d="M0 0h24v24H0z"/><path fill="#afb42b" d="M19 5v9h-5v5H5V5zm0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h10l6-6V5c0-1.1-.9-2-2-2m-7 11H7v-2h5zm5-4H7V8h10z"/></svg>`,lua:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="#42a5f5" d="M30 6a3.86 3.86 0 0 1-1.167 2.833 4.024 4.024 0 0 1-5.666 0A3.86 3.86 0 0 1 22 6a3.86 3.86 0 0 1 1.167-2.833 4.024 4.024 0 0 1 5.666 0A3.86 3.86 0 0 1 30 6m-9.208 5.208A10.6 10.6 0 0 0 13 8a10.6 10.6 0 0 0-7.792 3.208A10.6 10.6 0 0 0 2 19a10.6 10.6 0 0 0 3.208 7.792A10.6 10.6 0 0 0 13 30a10.6 10.6 0 0 0 7.792-3.208A10.6 10.6 0 0 0 24 19a10.6 10.6 0 0 0-3.208-7.792m-1.959 7.625a4.024 4.024 0 0 1-5.666 0 4.024 4.024 0 0 1 0-5.666 4.024 4.024 0 0 1 5.666 0 4.024 4.024 0 0 1 0 5.666"/></svg>`,makefile:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="#ef5350" d="m29.5 24.02-1.6-.92a4.4 4.4 0 0 0 .09-.9A1.3 1.3 0 0 0 28 22a5.6 5.6 0 0 0-.1-1.1l1.6-.92a.493.493 0 0 0 .18-.68l-1.5-2.6a.45.45 0 0 0-.18-.18V6.01a2.006 2.006 0 0 0-2-2H4a2.006 2.006 0 0 0-2 2V22a2.006 2.006 0 0 0 2 2h10.53l-.03.02a.493.493 0 0 0-.18.68l1.5 2.6a.493.493 0 0 0 .68.18l1.6-.92a5.9 5.9 0 0 0 1.9 1.09v1.85a.495.495 0 0 0 .5.5h3a.495.495 0 0 0 .5-.5v-1.85a5.9 5.9 0 0 0 1.9-1.09l1.6.92a.493.493 0 0 0 .68-.18l1.5-2.6a.493.493 0 0 0-.18-.68M24 22.01a1.99 1.99 0 0 1-.88 1.65l-.18.11a2.04 2.04 0 0 1-1.88 0l-.18-.11a1.99 1.99 0 0 1-.88-1.65V22a2 2 0 0 1 .88-1.66l.18-.11a2.04 2.04 0 0 1 1.88 0l.18.11A2 2 0 0 1 24 22Zm2-4.63-.1.06a5.9 5.9 0 0 0-1.9-1.09V14.5a.495.495 0 0 0-.5-.5h-3a.495.495 0 0 0-.5.5v1.85a5.9 5.9 0 0 0-1.9 1.09l-1.6-.92a.493.493 0 0 0-.68.18l-1.5 2.6a.493.493 0 0 0 .18.68l1.6.92A5.6 5.6 0 0 0 16 22v.01L4 22V10.01h22Z"/></svg>`,markdown:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="#42a5f5" d="m14 10-4 3.5L6 10H4v12h4v-6l2 2 2-2v6h4V10zm12 6v-6h-4v6h-4l6 8 6-8z"/></svg>`,mdx:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="#ffca28" d="m14 10-4 3.5L6 10H4v12h4v-6l2 2 2-2v6h4V10zm12 6v-6h-4v6h-4l6 8 6-8z"/></svg>`,nodejs:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="#8bc34a" d="M16 20.003v2h4a2 2 0 0 0 2-2v-2a2 2 0 0 0-2-2h-2v-2h4v-2h-4a2 2 0 0 0-2 2v2a2 2 0 0 0 2 2h2v2Z"/><path fill="#8bc34a" d="m16 3.003-12 7v14l4 2h6v-13.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v11.5H8l-2-1.034V11.15l10-5.833 10 5.833v11.703l-10 5.833-1.745-1.022L13 29.253l3 1.75 12-7v-14Z"/></svg>`,npm:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="#e53935" d="M4 4v24h24V4Zm20 20h-4V12h-4v12H8V8h16Z"/></svg>`,pdf:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="#ef5350" d="M13 9h5.5L13 3.5zM6 2h8l6 6v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2m4.93 10.44c.41.9.93 1.64 1.53 2.15l.41.32c-.87.16-2.07.44-3.34.93l-.11.04.5-1.04c.45-.87.78-1.66 1.01-2.4m6.48 3.81c.18-.18.27-.41.28-.66.03-.2-.02-.39-.12-.55-.29-.47-1.04-.69-2.28-.69l-1.29.07-.87-.58c-.63-.52-1.2-1.43-1.6-2.56l.04-.14c.33-1.33.64-2.94-.02-3.6a.85.85 0 0 0-.61-.24h-.24c-.37 0-.7.39-.79.77-.37 1.33-.15 2.06.22 3.27v.01c-.25.88-.57 1.9-1.08 2.93l-.96 1.8-.89.49c-1.2.75-1.77 1.59-1.88 2.12-.04.19-.02.36.05.54l.03.05.48.31.44.11c.81 0 1.73-.95 2.97-3.07l.18-.07c1.03-.33 2.31-.56 4.03-.75 1.03.51 2.24.74 3 .74.44 0 .74-.11.91-.3m-.41-.71.09.11c-.01.1-.04.11-.09.13h-.04l-.19.02c-.46 0-1.17-.19-1.9-.51.09-.1.13-.1.23-.1 1.4 0 1.8.25 1.9.35M7.83 17c-.65 1.19-1.24 1.85-1.69 2 .05-.38.5-1.04 1.21-1.69zm3.02-6.91c-.23-.9-.24-1.63-.07-2.05l.07-.12.15.05c.17.24.19.56.09 1.1l-.03.16-.16.82z"/></svg>`,php:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="#1e88e5" d="M12 18.08c-6.63 0-12-2.72-12-6.08s5.37-6.08 12-6.08S24 8.64 24 12s-5.37 6.08-12 6.08m-5.19-7.95c.54 0 .91.1 1.09.31.18.2.22.56.13 1.03-.1.53-.29.87-.58 1.09q-.42.33-1.29.33h-.87l.53-2.76zm-3.5 5.55h1.44l.34-1.75h1.23c.54 0 .98-.06 1.33-.17.35-.12.67-.31.96-.58.24-.22.43-.46.58-.73.15-.26.26-.56.31-.88.16-.78.05-1.39-.33-1.82-.39-.44-.99-.65-1.82-.65H4.59zm7.25-8.33-1.28 6.58h1.42l.74-3.77h1.14c.36 0 .6.06.71.18s.13.34.07.66l-.57 2.93h1.45l.59-3.07c.13-.62.03-1.07-.27-1.36-.3-.27-.85-.4-1.65-.4h-1.27L12 7.35zM18 10.13c.55 0 .91.1 1.09.31.18.2.22.56.13 1.03-.1.53-.29.87-.57 1.09-.29.22-.72.33-1.3.33h-.85l.5-2.76zm-3.5 5.55h1.44l.34-1.75h1.22c.55 0 1-.06 1.35-.17.35-.12.65-.31.95-.58.24-.22.44-.46.58-.73.15-.26.26-.56.32-.88.15-.78.04-1.39-.34-1.82-.36-.44-.99-.65-1.82-.65h-2.75z"/></svg>`,pnpm:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="#e0e0e0" d="M2 22h8v8H2zm10 0h8v8h-8zm10 0h8v8h-8zM12 12h8v8h-8z"/><path fill="#ffb300" d="M2 2h8v8H2zm10 0h8v8h-8zm10 0h8v8h-8zm0 10h8v8h-8z"/></svg>`,pnpm_light:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="#757575" d="M2 22h8v8H2zm10 0h8v8h-8zm10 0h8v8h-8zM12 12h8v8h-8z"/><path fill="#ffb300" d="M2 2h8v8H2zm10 0h8v8h-8zm10 0h8v8h-8zm0 10h8v8h-8z"/></svg>`,powershell:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="#03a9f4" d="M29.07 6H7.677A1.535 1.535 0 0 0 6.24 7.113l-4.2 17.774A.852.852 0 0 0 2.93 26h21.393a1.535 1.535 0 0 0 1.436-1.113L29.96 7.112A.852.852 0 0 0 29.07 6M8.626 23.797a1.4 1.4 0 0 1-1.814-.31l-.007-.009a1.075 1.075 0 0 1 .315-1.599l9.6-6.061-6.102-5.852-.01-.01a1.068 1.068 0 0 1 .084-1.625l.037-.03a1.38 1.38 0 0 1 1.8.07l7.233 6.957a1.1 1.1 0 0 1 .236.739 1.08 1.08 0 0 1-.412.79c-.074.04-.146.119-10.951 6.935ZM24 22.94A1.135 1.135 0 0 1 22.803 24h-5.634a1.061 1.061 0 1 1 .001-2.112h5.633A1.134 1.134 0 0 1 24 22.938Z"/></svg>`,prettier:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="#f44336" d="M2 8h4v1H2zm0 6h4v1H2zm9-10h3v1h-3zM2 2h3v1H2z"/><path fill="#f9a825" d="M9 2h3v1H9zm1 4h4v1h-4zm-5 6h1v1H5zm-3-2h6v1H2z"/><path fill="#26a69a" d="M2 12h3v1H2zm7-4h5v1H9zM2 4h4v1H2zm3-2h4v1H5z"/><path fill="#ba68c8" d="M2 6h3v1H2zm7-2h2v1H9zm-1 6h4v1H8z"/></svg>`,prisma:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="#00bfa5" d="m27.777 22.617-.459-.946L18.43 3.26a2.25 2.25 0 0 0-1.914-1.256A2 2 0 0 0 16.379 2a2.23 2.23 0 0 0-1.891 1.042L4.348 19.056a2.2 2.2 0 0 0 .025 2.417l4.957 7.488A2.34 2.34 0 0 0 11.29 30a2.4 2.4 0 0 0 .655-.092l14.387-4.149a2.32 2.32 0 0 0 1.458-1.234 2.21 2.21 0 0 0-.013-1.908m-3.538.604-11.268 3.25 4.075-19.033 7.568 15.671-.376.098Z"/></svg>`,proto:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="#00bfa5" d="M16 27 2 19v-5l14 8z"/><path fill="#ffeb3b" d="m30 14-14 8v5l14-8z"/><path fill="#ff5722" d="M16 6 2 14v5l14-8z"/><path fill="#00e676" d="m30 19-14-8V6l14 8z"/><path fill="#03a9f4" d="M16 27 2 19v-5l14 8z"/></svg>`,python:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="#0288d1" d="M9.86 2A2.86 2.86 0 0 0 7 4.86v1.68h4.29c.39 0 .71.57.71.96H4.86A2.86 2.86 0 0 0 2 10.36v3.781a2.86 2.86 0 0 0 2.86 2.86h1.18v-2.68a2.85 2.85 0 0 1 2.85-2.86h5.25c1.58 0 2.86-1.271 2.86-2.851V4.86A2.86 2.86 0 0 0 14.14 2zm-.72 1.61c.4 0 .72.12.72.71s-.32.891-.72.891c-.39 0-.71-.3-.71-.89s.32-.711.71-.711"/><path fill="#fdd835" d="M17.959 7v2.68a2.85 2.85 0 0 1-2.85 2.859H9.86A2.85 2.85 0 0 0 7 15.389v3.75a2.86 2.86 0 0 0 2.86 2.86h4.28A2.86 2.86 0 0 0 17 19.14v-1.68h-4.291c-.39 0-.709-.57-.709-.96h7.14A2.86 2.86 0 0 0 22 13.64V9.86A2.86 2.86 0 0 0 19.14 7zM8.32 11.513l-.004.004.038-.004zm6.54 7.276c.39 0 .71.3.71.89a.71.71 0 0 1-.71.71c-.4 0-.72-.12-.72-.71s.32-.89.72-.89"/></svg>`,"python-misc":`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="#757575" d="M15 2H6a2.006 2.006 0 0 0-2 2v22a2.006 2.006 0 0 0 2 2h16a2 2 0 0 0 2-2V11Zm3 22H6v-2h12Zm0-4H6v-2h12Zm0-4H6v-2h12Zm-4-4V4l8 8Z"/><path fill="#fbc02d" d="M30.714 16H28v5h-9v7.714A1.286 1.286 0 0 0 20.286 30h6.428A1.286 1.286 0 0 0 28 28.714V26h-6v-1h8.714A1.286 1.286 0 0 0 32 23.714v-6.428A1.286 1.286 0 0 0 30.714 16M24 28h3v1h-3Z" style="isolation:isolate"/><path fill="#0288d1" d="M25.714 12h-6.428A1.286 1.286 0 0 0 18 13.286V16h6v1h-8.714A1.286 1.286 0 0 0 14 18.286v6.428A1.286 1.286 0 0 0 15.286 26H18v-6h9v-6.714A1.286 1.286 0 0 0 25.714 12M22 14h-3v-1h3Z" style="isolation:isolate"/></svg>`,react:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="#00bcd4" d="M16 12c7.444 0 12 2.59 12 4s-4.556 4-12 4-12-2.59-12-4 4.556-4 12-4m0-2c-7.732 0-14 2.686-14 6s6.268 6 14 6 14-2.686 14-6-6.268-6-14-6"/><path fill="#00bcd4" d="M16 14a2 2 0 1 0 2 2 2 2 0 0 0-2-2"/><path fill="#00bcd4" d="M10.458 5.507c2.017 0 5.937 3.177 9.006 8.493 3.722 6.447 3.757 11.687 2.536 12.392a.9.9 0 0 1-.457.1c-2.017 0-5.938-3.176-9.007-8.492C8.814 11.553 8.779 6.313 10 5.608a.9.9 0 0 1 .458-.1m-.001-2A2.87 2.87 0 0 0 9 3.875C6.13 5.532 6.938 12.304 10.804 19c3.284 5.69 7.72 9.493 10.74 9.493A2.87 2.87 0 0 0 23 28.124c2.87-1.656 2.062-8.428-1.804-15.124-3.284-5.69-7.72-9.493-10.74-9.493Z"/><path fill="#00bcd4" d="M21.543 5.507a.9.9 0 0 1 .457.1c1.221.706 1.186 5.946-2.536 12.393-3.07 5.316-6.99 8.493-9.007 8.493a.9.9 0 0 1-.457-.1C8.779 25.686 8.814 20.446 12.536 14c3.07-5.316 6.99-8.493 9.007-8.493m0-2c-3.02 0-7.455 3.804-10.74 9.493C6.939 19.696 6.13 26.468 9 28.124a2.87 2.87 0 0 0 1.457.369c3.02 0 7.455-3.804 10.74-9.493C25.061 12.304 25.87 5.532 23 3.876a2.87 2.87 0 0 0-1.457-.369"/></svg>`,react_ts:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="#0288d1" d="M16 12c7.444 0 12 2.59 12 4s-4.556 4-12 4-12-2.59-12-4 4.556-4 12-4m0-2c-7.732 0-14 2.686-14 6s6.268 6 14 6 14-2.686 14-6-6.268-6-14-6"/><path fill="#0288d1" d="M16 14a2 2 0 1 0 2 2 2 2 0 0 0-2-2"/><path fill="#0288d1" d="M10.458 5.507c2.017 0 5.937 3.177 9.006 8.493 3.722 6.447 3.757 11.687 2.536 12.392a.9.9 0 0 1-.457.1c-2.017 0-5.938-3.176-9.007-8.492C8.814 11.553 8.779 6.313 10 5.608a.9.9 0 0 1 .458-.1m-.001-2A2.87 2.87 0 0 0 9 3.875C6.13 5.532 6.938 12.304 10.804 19c3.284 5.69 7.72 9.493 10.74 9.493A2.87 2.87 0 0 0 23 28.124c2.87-1.656 2.062-8.428-1.804-15.124-3.284-5.69-7.72-9.493-10.74-9.493Z"/><path fill="#0288d1" d="M21.543 5.507a.9.9 0 0 1 .457.1c1.221.706 1.186 5.946-2.536 12.393-3.07 5.316-6.99 8.493-9.007 8.493a.9.9 0 0 1-.457-.1C8.779 25.686 8.814 20.446 12.536 14c3.07-5.316 6.99-8.493 9.007-8.493m0-2c-3.02 0-7.455 3.804-10.74 9.493C6.939 19.696 6.13 26.468 9 28.124a2.87 2.87 0 0 0 1.457.369c3.02 0 7.455-3.804 10.74-9.493C25.061 12.304 25.87 5.532 23 3.876a2.87 2.87 0 0 0-1.457-.369"/></svg>`,readme:`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 16 16"><path d="M0 0h24v24H0z"/><path fill="#42a5f5" d="M8 1C4.136 1 1 4.136 1 8s3.136 7 7 7 7-3.136 7-7-3.136-7-7-7m1 11H7V7.5h2zm0-6H7V4h2z"/></svg>`,ruby:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="#f44336" d="M18.041 3.177c2.24.382 2.879 1.919 2.843 3.527V6.67l-1.013 13.266-13.132.897h.008c-1.093-.044-3.518-.151-3.634-3.545l1.217-2.222 2.462 5.74 2.097-6.77-.045.009.018-.018 6.85 2.186L13.945 9.3l6.53-.409-5.144-4.212 2.71-1.51v.009M3.113 17.252v.017zM6.916 6.874c2.63-2.622 6.033-4.168 7.34-2.844 1.297 1.306-.072 4.523-2.702 7.135-2.666 2.613-6.015 4.248-7.322 2.933-1.306-1.324.036-4.612 2.675-7.224z"/></svg>`,rust:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="#ff7043" d="m30 12-4-2V6h-4l-2-4-4 2-4-2-2 4H6v4l-4 2 2 4-2 4 4 2v4h4l2 4 4-2 4 2 2-4h4v-4l4-2-2-4ZM6 16a9.9 9.9 0 0 1 .842-4H10v8H6.842A9.9 9.9 0 0 1 6 16m10 10a9.98 9.98 0 0 1-7.978-4H16v-2h-2v-2h4c.819.819.297 2.308 1.179 3.37a1.89 1.89 0 0 0 1.46.63h3.34A9.98 9.98 0 0 1 16 26m-2-12v-2h4a1 1 0 0 1 0 2Zm11.158 6H24a2.006 2.006 0 0 1-2-2 2 2 0 0 0-2-2 3 3 0 0 0 3-3q0-.08-.004-.161A3.115 3.115 0 0 0 19.83 10H8.022a9.986 9.986 0 0 1 17.136 10"/></svg>`,sass:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="#ec407a" d="M27.837 5.673a4.33 4.33 0 0 0-2.293-2.701c-2.362-1.261-6.11-1.298-9.548-.092a26.3 26.3 0 0 0-8.76 4.966c-2.752 2.542-3.438 4.925-3.189 6.194.523 2.668 3.274 4.539 5.485 6.042.418.284.822.559 1.175.816-1.429.76-4.261 2.444-5.088 4.248a3.88 3.88 0 0 0-.118 3.332A2.37 2.37 0 0 0 6.869 29.8a5.6 5.6 0 0 0 1.49.2 6.35 6.35 0 0 0 5.19-2.856 6.74 6.74 0 0 0 .864-5.382 7.3 7.3 0 0 1 2.044-.03 3.92 3.92 0 0 1 2.816 1.311 1.82 1.82 0 0 1 .423 1.262 1.55 1.55 0 0 1-.772 1.05c-.234.14-.586.355-.504.803.036.194.198.633.894.512a2.93 2.93 0 0 0 2.145-2.651 4 4 0 0 0-1.197-2.904 5.94 5.94 0 0 0-4.396-1.626 10.6 10.6 0 0 0-2.672.304 20 20 0 0 0-2.203-1.846c-1.712-1.3-3.33-2.529-3.235-4.26.125-2.263 2.468-4.532 6.964-6.744 4.016-1.976 7.254-2.037 8.944-1.438a2 2 0 0 1 1.204.883 2.77 2.77 0 0 1-.36 2.47 9.71 9.71 0 0 1-7.425 4.304 3.86 3.86 0 0 1-3.238-.757c-.278-.302-.593-.645-1.074-.383q-.565.31-.225 1.189a3.9 3.9 0 0 0 2.407 1.92 11.7 11.7 0 0 0 7.128-.671c3.527-1.35 6.681-5.202 5.756-8.787M11.895 24.475a4 4 0 0 1-.192.468 4.5 4.5 0 0 1-.753 1.081 2.83 2.83 0 0 1-2.533 1.107c-.056-.032-.078-.146-.085-.193a3.28 3.28 0 0 1 1.076-2.284 11.3 11.3 0 0 1 2.644-1.933 3.85 3.85 0 0 1-.157 1.754"/></svg>`,settings:`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24"><path d="M0 0h24v24H0z"/><path fill="#42a5f5" d="M19.43 12.98c.04-.32.07-.64.07-.98s-.03-.66-.07-.98l2.11-1.65c.19-.15.24-.42.12-.64l-2-3.46a.5.5 0 0 0-.61-.22l-2.49 1c-.52-.4-1.08-.73-1.69-.98l-.38-2.65A.49.49 0 0 0 14 2h-4c-.25 0-.46.18-.49.42l-.38 2.65c-.61.25-1.17.59-1.69.98l-2.49-1a.6.6 0 0 0-.18-.03c-.17 0-.34.09-.43.25l-2 3.46c-.13.22-.07.49.12.64l2.11 1.65c-.04.32-.07.65-.07.98s.03.66.07.98l-2.11 1.65c-.19.15-.24.42-.12.64l2 3.46a.5.5 0 0 0 .61.22l2.49-1c.52.4 1.08.73 1.69.98l.38 2.65c.03.24.24.42.49.42h4c.25 0 .46-.18.49-.42l.38-2.65c.61-.25 1.17-.59 1.69-.98l2.49 1q.09.03.18.03c.17 0 .34-.09.43-.25l2-3.46c.12-.22.07-.49-.12-.64zm-1.98-1.71c.04.31.05.52.05.73s-.02.43-.05.73l-.14 1.13.89.7 1.08.84-.7 1.21-1.27-.51-1.04-.42-.9.68c-.43.32-.84.56-1.25.73l-1.06.43-.16 1.13-.2 1.35h-1.4l-.19-1.35-.16-1.13-1.06-.43c-.43-.18-.83-.41-1.23-.71l-.91-.7-1.06.43-1.27.51-.7-1.21 1.08-.84.89-.7-.14-1.13c-.03-.31-.05-.54-.05-.74s.02-.43.05-.73l.14-1.13-.89-.7-1.08-.84.7-1.21 1.27.51 1.04.42.9-.68c.43-.32.84-.56 1.25-.73l1.06-.43.16-1.13.2-1.35h1.39l.19 1.35.16 1.13 1.06.43c.43.18.83.41 1.23.71l.91.7 1.06-.43 1.27-.51.7 1.21-1.07.85-.89.7zM12 8c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4m0 6c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2"/></svg>`,svelte:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 300 300"><path fill="#ff5722" d="M175.94 24.328c-13.037.252-26.009 3.872-37.471 11.174L79.912 72.818a67.13 67.13 0 0 0-30.355 44.906 70.8 70.8 0 0 0 6.959 45.445 67.2 67.2 0 0 0-10.035 25.102 71.54 71.54 0 0 0 12.236 54.156c23.351 33.41 69.468 43.311 102.81 22.07l58.559-37.158a67.36 67.36 0 0 0 30.355-44.906 70.77 70.77 0 0 0-6.982-45.422 67.65 67.65 0 0 0 10.059-25.102 71.63 71.63 0 0 0-12.236-54.156v-.18c-15.324-21.925-40.453-33.727-65.342-33.246zm5.137 28.68a46.5 46.5 0 0 1 36.09 19.969 42.98 42.98 0 0 1 7.365 32.557 45 45 0 0 1-1.393 5.455l-1.123 3.37-2.986-2.247a75.9 75.9 0 0 0-22.902-11.45l-2.244-.651.201-2.246a13.16 13.16 0 0 0-2.379-8.711 13.99 13.99 0 0 0-14.953-5.412 12.8 12.8 0 0 0-3.594 1.572l-58.578 37.25a12.24 12.24 0 0 0-5.502 8.15 13.1 13.1 0 0 0 2.246 9.834 14.03 14.03 0 0 0 14.93 5.569 13.5 13.5 0 0 0 3.594-1.573l22.453-14.234a41.8 41.8 0 0 1 11.898-5.232 46.48 46.48 0 0 1 49.914 18.502 43.02 43.02 0 0 1 7.363 32.557 40.42 40.42 0 0 1-18.254 27.078l-58.58 37.316a43 43 0 0 1-11.898 5.23A46.545 46.545 0 0 1 82.81 227.14a42.98 42.98 0 0 1-7.341-32.557 38 38 0 0 1 1.39-5.41l1.102-3.37 3.008 2.246a75.9 75.9 0 0 0 22.836 11.361l2.244.65-.201 2.247a13.25 13.25 0 0 0 2.447 8.644 14.03 14.03 0 0 0 15.043 5.569 13.1 13.1 0 0 0 3.592-1.573l58.467-37.316a12.17 12.17 0 0 0 5.502-8.173 12.96 12.96 0 0 0-2.246-9.811 14.03 14.03 0 0 0-15.043-5.568 12.8 12.8 0 0 0-3.592 1.57l-22.453 14.258a42.9 42.9 0 0 1-11.877 5.209 46.52 46.52 0 0 1-49.846-18.5 43.02 43.02 0 0 1-7.297-32.557A40.42 40.42 0 0 1 96.798 96.98l58.646-37.316a42.8 42.8 0 0 1 11.811-5.21 46.5 46.5 0 0 1 13.822-1.444z"/></svg>`,svg:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="#ffb300" d="M29.168 14.03a2.7 2.7 0 0 0-1.968-.83 2.51 2.51 0 0 0-1.929.8h-4.443l3.078-3.078a2.835 2.835 0 0 0 2.857-2.842 2.6 2.6 0 0 0-.831-1.969 2.82 2.82 0 0 0-2.014-.788 2.67 2.67 0 0 0-1.968.788 2.36 2.36 0 0 0-.812 1.922L18 11.17V6.726a2.51 2.51 0 0 0 .8-1.929 2.7 2.7 0 0 0-.832-1.968 2.745 2.745 0 0 0-3.936 0 2.7 2.7 0 0 0-.832 1.968 2.51 2.51 0 0 0 .8 1.93v4.443l-3.138-3.138a2.36 2.36 0 0 0-.812-1.922 2.66 2.66 0 0 0-1.968-.788 2.83 2.83 0 0 0-2.014.788 2.6 2.6 0 0 0-.831 1.969 2.74 2.74 0 0 0 .831 2.013 2.8 2.8 0 0 0 2.026.829l3.078 3.078H6.729a2.51 2.51 0 0 0-1.929-.8 2.7 2.7 0 0 0-1.968.831 2.745 2.745 0 0 0 0 3.937 2.7 2.7 0 0 0 1.968.832 2.51 2.51 0 0 0 1.929-.8h4.443l-3.078 3.077a2.835 2.835 0 0 0-2.857 2.842 2.6 2.6 0 0 0 .831 1.969 2.82 2.82 0 0 0 2.014.788 2.67 2.67 0 0 0 1.968-.788 2.36 2.36 0 0 0 .812-1.922L14 20.827v4.444a2.51 2.51 0 0 0-.8 1.929 2.784 2.784 0 0 0 4.768 1.968A2.7 2.7 0 0 0 18.8 27.2a2.51 2.51 0 0 0-.8-1.929v-4.444l3.138 3.138a2.36 2.36 0 0 0 .812 1.922 2.66 2.66 0 0 0 1.968.788 2.83 2.83 0 0 0 2.014-.788 2.6 2.6 0 0 0 .831-1.969 2.74 2.74 0 0 0-.831-2.013 2.8 2.8 0 0 0-2.026-.829L20.828 18h4.443a2.51 2.51 0 0 0 1.93.8 2.784 2.784 0 0 0 1.967-4.769Z"/></svg>`,swift:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="#ff6e40" d="M17.087 19.721c-2.36 1.36-5.59 1.5-8.86.1a13.8 13.8 0 0 1-6.23-5.32c.67.55 1.46 1 2.3 1.4 3.37 1.57 6.73 1.46 9.1 0-3.37-2.59-6.24-5.96-8.37-8.71-.45-.45-.78-1.01-1.12-1.51 8.28 6.05 7.92 7.59 2.41-1.01 4.89 4.94 9.43 7.74 9.43 7.74.16.09.25.16.36.22.1-.25.19-.51.26-.78.79-2.85-.11-6.12-2.08-8.81 4.55 2.75 7.25 7.91 6.12 12.24-.03.11-.06.22-.05.39 2.24 2.83 1.64 5.78 1.35 5.22-1.21-2.39-3.48-1.65-4.62-1.17"/></svg>`,table:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="#8bc34a" d="M6 2h8l6 6v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2m7 1.5V9h5.5zm4 7.5h-4v2h1l-2 1.67L10 13h1v-2H7v2h1l3 2.5L8 18H7v2h4v-2h-1l2-1.67L14 18h-1v2h4v-2h-1l-3-2.5 3-2.5h1z"/></svg>`,tailwindcss:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="#4db6ac" d="M23.5 12H8c.89-2.3 4.02-4 7.75-4s6.86 1.7 7.75 4M14 12h15.5c-.89 2.3-4.02 4-7.75 4s-6.86-1.7-7.75-4m3.5 8H2c.89-2.3 4.02-4 7.75-4s6.86 1.7 7.75 4M8 20h15.5c-.89 2.3-4.02 4-7.75 4S8.89 22.3 8 20"/></svg>`,toml:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="#cfd8dc" d="M4 6V4h8v2H9v7H7V6z"/><path fill="#ef5350" d="M4 1v1H2v12h2v1H1V1zm8 0v1h2v12h-2v1h3V1z"/></svg>`,toml_light:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="#455a64" d="M4 6V4h8v2H9v7H7V6z"/><path fill="#ef5350" d="M4 1v1H2v12h2v1H1V1zm8 0v1h2v12h-2v1h3V1z"/></svg>`,tsconfig:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="#757575" d="M15 2H6a2.006 2.006 0 0 0-2 2v22a2.006 2.006 0 0 0 2 2h6v-4H6v-2h6v-2H6v-2h6v-2H6v-2h6v-2h2V4l8 8h2v-1Z" data-mit-no-recolor="true"/><path fill="#0288d1" d="M12 12v18h18V12Zm8 6h-2v8h-2v-8h-2v-2h6Zm8 0h-4v2h2a2.006 2.006 0 0 1 2 2v2a2.006 2.006 0 0 1-2 2h-4v-2h4v-2h-2a2.006 2.006 0 0 1-2-2v-2a2.006 2.006 0 0 1 2-2h4Z"/></svg>`,tune:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="#fbc02d" d="M12 10h10v2H12z"/><path fill="#fbc02d" d="M16 4h2v8h-2zm4 18h10v2H20zm4 2h2v4h-2zm0-20h2v14h-2zM2 18h10v2H2z"/><path fill="#fbc02d" d="M6 18h2v10H6zM6 4h2v10H6zm10 12h2v12h-2z"/></svg>`,typescript:`<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" viewBox="0 0 16 16"><path fill="#0288d1" d="M2 2v12h12V2zm4 6h3v1H8v4H7V9H6zm5 0h2v1h-2v1h1a1.003 1.003 0 0 1 1 1v1a1.003 1.003 0 0 1-1 1h-2v-1h2v-1h-1a1.003 1.003 0 0 1-1-1V9a1.003 1.003 0 0 1 1-1"/></svg>`,"typescript-def":`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><g fill="#0288d1"><path d="M2 2v12h12V2zm1 1h10v10H3z"/><path d="M5 7v1h1v4h1V8h1V7zm5 0a1.003 1.003 0 0 0-1 1v1a1.003 1.003 0 0 0 1 1h1v1H9v1h2a1.003 1.003 0 0 0 1-1v-1a1.003 1.003 0 0 0-1-1h-1V8h2V7z"/></g></svg>`,video:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="#ff9800" d="m24 6 2 6h-4l-2-6h-3l2 6h-4l-2-6h-3l2 6H8L6 6H5a3 3 0 0 0-3 3v14a3 3 0 0 0 3 3h22a3 3 0 0 0 3-3V6Z"/></svg>`,vite:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="#a0f" d="M29.313 12h-6.664a1.427 1.427 0 0 1-1.1-2.24l4.398-6.676A.703.703 0 0 0 25.397 2H8.428a.62.62 0 0 0-.55.289l-5.77 8.627A.703.703 0 0 0 2.658 12h8.175a1.427 1.427 0 0 1 1.099 2.24l-4.48 6.676A.702.702 0 0 0 8 22l6.695.002A1.34 1.34 0 0 1 16 23.375v5.934a.652.652 0 0 0 1.168.433l12.694-16.586a.725.725 0 0 0-.55-1.156"/></svg>`,vitest:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="#00e676" d="M15.438 29.636a.685.685 0 0 1-1.029.213L2.274 20.755A.65.65 0 0 1 2 20.187V9.175a.715.715 0 0 1 1.166-.568l7.404 5.612a1.47 1.47 0 0 0 2.125-.497l6.102-11.367A.72.72 0 0 1 19.414 2h9.872a.76.76 0 0 1 .617 1.137l-14.465 26.57Z"/></svg>`,vue:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="#41b883" d="M1.791 3.851 12 21.471 22.209 3.936V3.85H18.24l-6.18 10.616L5.906 3.851z"/><path fill="#35495e" d="m5.907 3.851 6.152 10.617L18.24 3.851h-3.723L12.084 8.03 9.66 3.85z"/></svg>`,webassembly:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="#7c4dff" d="M22 18h4v4h-4z"/><path fill="#7c4dff" d="M20 2a4 4 0 0 1-8 0H2v28h28V2Zm-2 24h-2v2h-4v-2h-2v2H6v-2H4V16h2v10h4V16h2v10h4V16h2Zm10 2h-2v-4h-4v4h-2V18h2v-2h4v2h2Z"/></svg>`,xml:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="#8bc34a" d="M13 9h5.5L13 3.5zM6 2h8l6 6v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V4c0-1.11.89-2 2-2m.12 13.5 3.74 3.74 1.42-1.41-2.33-2.33 2.33-2.33-1.42-1.41zm11.16 0-3.74-3.74-1.42 1.41 2.33 2.33-2.33 2.33 1.42 1.41z"/></svg>`,yaml:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="#ff5252" d="M13 9h5.5L13 3.5zM6 2h8l6 6v12c0 1.1-.9 2-2 2H6c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2m12 16v-2H9v2zm-4-4v-2H6v2z"/></svg>`,yarn:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="#0288d1" d="M27.575 23.967a9.9 9.9 0 0 0-3.751 1.726 22.6 22.6 0 0 1-5.537 2.504 1.55 1.55 0 0 1-.931.52 59 59 0 0 1-6.11.548c-1.102.008-1.777-.282-1.965-.735a1.49 1.49 0 0 1 .82-1.965 3.6 3.6 0 0 1-.486-.359c-.163-.162-.334-.487-.385-.367-.213.52-.324 1.794-.897 2.366-.786.795-2.273.53-3.153.069-.965-.513.069-1.718.069-1.718a.69.69 0 0 1-.94-.324 4.6 4.6 0 0 1-.632-2.794 5.2 5.2 0 0 1 1.674-2.76 8.84 8.84 0 0 1 .624-4.17 9.9 9.9 0 0 1 3-3.469S7.136 11.015 7.82 9.177c.444-1.196.623-1.187.769-1.239a3.44 3.44 0 0 0 1.375-.811 4.99 4.99 0 0 1 4.178-1.607s1.094-3.357 2.12-2.7a17.4 17.4 0 0 1 1.452 2.735s1.213-.71 1.35-.445a10.74 10.74 0 0 1 .495 5.81 13.3 13.3 0 0 1-2.46 5.127c-.129.214 1.47.889 2.477 3.683.932 2.554.103 4.699.248 4.938.026.043.034.06.034.06s1.068.085 3.213-1.24a8.05 8.05 0 0 1 4.05-1.52 1.026 1.026 0 0 1 .453 2Z"/></svg>`,zig:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="#f9a825" d="M2 8h6v4H2zm8 0h12v4H10zm0 12h12v4H10zm14 0h2v4h-2zM8 20l-3 4H2V12h4v8zm14-8h-6l-6 8h6z"/><path fill="#f9a825" d="M16 20h-6l-6 8m12-16h6l6-8m2 4v16h-4V12h-2l3-4z"/></svg>`,zip:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="#afb42b" d="M14 17h-2v-2h-2v-2h2v2h2m0-6h-2v2h2v2h-2v-2h-2V9h2V7h-2V5h2v2h2m5-4H5c-1.11 0-2 .89-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2"/></svg>`};function PS(e){let t=e.slice(e.lastIndexOf(`/`)+1).toLowerCase(),n=AS[t];if(n)return n;for(let e=t.indexOf(`.`,1);e!==-1;e=t.indexOf(`.`,e+1)){let n=jS[t.slice(e+1)];if(n)return n}return kS}var FS=({icon:e,className:t})=>(0,J.jsx)(`span`,{"aria-hidden":!0,className:q(`inline-flex size-4 shrink-0 [&>svg]:size-full`,t),dangerouslySetInnerHTML:{__html:NS[e]}});function IS({path:e,className:t}){let n=PS(e),r=MS[n];return r?(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(FS,{icon:r,className:q(t,`dark:hidden`)}),(0,J.jsx)(FS,{icon:n,className:q(t,`hidden dark:inline-flex`)})]}):(0,J.jsx)(FS,{icon:n,className:t})}function LS({icon:e,label:t,busyLabel:n=`Starting…`,ariaLabel:r,menuAriaLabel:i,tooltip:a,tooltipClassName:o,prompt:s,configureDescription:c,onStart:l,onConfigure:u,busy:d=!1,starting:f=!1,disabled:p=!1,variant:m=`outline`,size:h=`xs`,className:g}){let _=()=>{N_(s),u()};return(0,J.jsxs)(`div`,{className:`inline-flex shrink-0 items-center`,children:[(0,J.jsxs)(Il,{children:[(0,J.jsxs)(Ll,{render:(0,J.jsx)(ze,{type:`button`,variant:m,size:h,disabled:p||d,onClick:l,...r?{"aria-label":r}:{},className:q(`rounded-r-none`,m===`outline`&&`border-r-0`,g)}),children:[f?(0,J.jsx)(wu,{className:`h-3.5 w-3.5 animate-spin`,"aria-hidden":!0}):e,t!==void 0&&(f?n:t)]}),(0,J.jsx)(Rl,{...o?{className:o}:{},children:a})]}),(0,J.jsxs)(ig,{children:[(0,J.jsx)(cg,{type:`button`,disabled:p,"aria-label":i,className:q(Re({variant:m,size:h}),`w-auto rounded-l-none px-1.5`,m==="default"&&`border-l border-[var(--color-primary-foreground)]/25`,g),children:(0,J.jsx)(vu,{className:`h-3 w-3`,"aria-hidden":!0})}),(0,J.jsx)(lg,{align:`end`,className:`max-w-[20rem]`,children:(0,J.jsx)(ug,{onClick:_,className:`items-start`,children:(0,J.jsx)(p_,{label:`Configure first, then run`,description:c})})})]})]})}var RS=50,zS={pages:[],cards:[],linkActions:[],panels:[],runSlots:[],settings:[],everyPage:[],loaded:!1},BS=new Map,VS=new Map;function HS(e){let t=BS.get(e);return t||(t=wv(()=>import(e).then(t=>{let n=t.default;if(!(!n||typeof n!=`object`)){if(n.stylesheet){let t=document.createElement(`link`);t.rel=`stylesheet`,t.href=new URL(n.stylesheet,new URL(e,window.location.href)).href,document.head.appendChild(t)}return n}},t=>{console.warn(`[openagent] the module at ${e} did not load:`,t)}),[]),BS.set(e,t),t.then(t=>void VS.set(e,t))),t}var US=[];function WS(e,t){return(e.order??RS)-(t.order??RS)||e.package.localeCompare(t.package)}function GS(e=0){let{value:t,loaded:n}=xd(Nb,US,3e4,[e],{remember:`modules`,stored:!0}),[r,i]=(0,Y.useState)(zS);return(0,Y.useEffect)(()=>{if(!n)return;if(t.every(e=>VS.has(e.url))){i(KS(t.map(e=>({module:e,definition:VS.get(e.url)})),!0));return}let e=!0,r=new Map;for(let n of t)HS(n.url).then(a=>{if(!e)return;r.set(n,a);let o=t.filter(e=>r.has(e)).map(e=>({module:e,definition:r.get(e)}));i(KS(o,o.length===t.length))});return()=>{e=!1}},[t,n]),r}function KS(e,t){let n=[],r=[],i=[],a=[],o=[],s=[],c=[],l,u;for(let{module:t,definition:d}of e){for(let e of d?.pages??[])!E_(e.segment)||n.some(t=>t.segment===e.segment)||n.push({...e,package:t.package,projects:t.projects});for(let e of d?.cards??[])r.push({...e,package:t.package,projects:t.projects,computer:t.computer===!0});for(let e of d?.linkActions??[])i.push({...e,package:t.package,projects:t.projects});for(let e of d?.panels??[])a.push({...e,package:t.package,projects:t.projects});for(let e of d?.settings??[])s.push({...e,package:t.package,projects:t.projects,computer:t.computer===!0});d?.everyPage&&t.computer===!0&&c.push({EveryPage:d.everyPage,package:t.package}),d?.usageLimit&&(l??={...d.usageLimit,package:t.package,projects:t.projects}),d?.schedule&&(u??={...d.schedule,package:t.package,projects:t.projects});let e=d?.run;e?.summary&&o.push({...e,package:t.package,projects:t.projects})}return r.sort(WS),s.sort(WS),{pages:n,cards:r,linkActions:i,panels:a,runSlots:o,settings:s,everyPage:c,...l?{usageLimit:l}:{},...u?{schedule:u}:{},loaded:t}}var qS=(0,Y.createContext)(zS);function JS(){return(0,Y.useContext)(qS)}function YS({projects:e,targets:t,resetKey:n,label:r,tooltip:i,disabled:a=!1,size:o=`sm`,variant:s=`outline`}){let{linkActions:c}=JS(),l=(0,Y.useContext)(I_),u=c.filter(t=>e.some(e=>t.projects.includes(e))),[d,f]=(0,Y.useState)(null),[p,m]=(0,Y.useState)(new Set),[h,g]=(0,Y.useState)(null);(0,Y.useEffect)(()=>{m(new Set),g(null)},[n??e.join(`
|
|
16
|
+
`)]);let _=e=>`${e.package}\n${e.label}`,v=async e=>{if(d!==null)return;f(_(e)),g(null);let n={ok:!0};try{let r=typeof t==`function`?await t():t,i=XC({...l??F_,package:e.package},{acts:!0});for(let{projectId:t,links:a}of r)if(!(!e.projects.includes(t)||a.length===0)&&(n=await e.run(i,t,a),!n.ok))break}catch(e){n={ok:!1,error:e instanceof Error?e.message:String(e)}}f(null),n.ok?m(t=>new Set(t).add(_(e))):g(n.error)};return u.length===0?null:(0,J.jsxs)(J.Fragment,{children:[u.map(e=>{let t=e.icon,n=p.has(_(e)),c=n?(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(_u,{className:`h-3.5 w-3.5`,"aria-hidden":!0}),` `,(0,J.jsx)(`span`,{className:`max-md:min-w-0 max-md:truncate`,children:e.doneLabel??e.label})]}):(0,J.jsxs)(J.Fragment,{children:[t&&(0,J.jsx)(t,{className:`h-3.5 w-3.5`,"aria-hidden":!0}),(0,J.jsx)(`span`,{className:`max-md:min-w-0 max-md:truncate`,children:r?r(e):e.label})]}),l={variant:s,size:o,className:`gap-1.5 md:shrink-0 max-md:min-w-0`,disabled:a||d!==null||n,onClick:()=>void v(e)};return i?(0,J.jsxs)(Il,{children:[(0,J.jsx)(Ll,{render:(0,J.jsx)(ze,{...l}),children:c}),(0,J.jsx)(Rl,{children:i})]},_(e)):(0,J.jsx)(ze,{...l,children:c},_(e))}),h&&(0,J.jsx)(`p`,{role:`alert`,className:`basis-full text-xs text-danger`,children:h})]})}var XS=(0,Y.createContext)(null);function ZS(e){let t=(0,Y.useContext)(XS),n=(0,Y.useRef)(e?.back);n.current=e?.back;let r=e?.title;return(0,Y.useEffect)(()=>{if(t)return t(r===void 0?void 0:{title:r,back:()=>n.current?.()}),()=>t(void 0)},[t,r]),t!==null}var QS=(e=>(e[e.Border=-1]=`Border`,e[e.Data=0]=`Data`,e[e.Function=1]=`Function`,e[e.Position=2]=`Position`,e[e.Timing=3]=`Timing`,e[e.Alignment=4]=`Alignment`,e))(QS||{}),$S=[0,1],eC=[1,0],tC=[2,3],nC=[3,2],rC={L:$S,M:eC,Q:tC,H:nC},iC=/^\d*$/,aC=/^[A-Z0-9 $%*+./:-]*$/,oC=`0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:`,sC=1,cC=40,lC=3,uC=3,dC=40,fC=10,pC=[[-1,7,10,15,20,26,18,20,24,30,18,20,24,26,30,22,24,28,30,28,28,28,28,30,30,26,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,10,16,26,18,24,16,18,22,22,26,30,22,22,24,24,28,28,26,26,26,26,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28],[-1,13,22,18,26,18,24,18,22,20,24,28,26,24,20,30,24,28,28,26,30,28,30,30,30,30,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,17,28,22,16,22,28,26,26,24,28,24,28,22,24,24,30,28,28,26,28,30,24,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30]],mC=[[-1,1,1,1,1,1,2,2,2,2,4,4,4,4,4,6,6,6,6,7,8,8,9,9,10,12,12,12,13,14,15,16,17,18,19,19,20,21,22,24,25],[-1,1,1,1,2,2,4,4,4,5,5,5,8,9,9,10,10,11,13,14,16,17,17,18,20,21,23,25,26,28,29,31,33,35,37,38,40,43,45,47,49],[-1,1,1,2,2,4,4,6,6,8,8,8,10,12,16,12,17,16,18,21,20,23,23,25,27,29,34,34,35,38,40,43,45,48,51,53,56,59,62,65,68],[-1,1,1,2,4,4,4,5,6,8,8,11,11,16,16,18,16,19,21,25,25,25,34,30,32,35,37,40,42,45,48,51,54,57,60,63,66,70,74,77,81]],hC=class{constructor(e,t,n,r){if(this.version=e,this.ecc=t,e<sC||e>cC)throw RangeError(`Version value out of range`);if(r<-1||r>7)throw RangeError(`Mask value out of range`);this.size=e*4+17;let i=Array.from({length:this.size}).fill(!1);for(let e=0;e<this.size;e++)this.modules.push(i.slice()),this.types.push(i.map(()=>0));this.drawFunctionPatterns();let a=this.addEccAndInterleave(n);if(this.drawCodewords(a),r===-1){let e=1e9;for(let t=0;t<8;t++){this.applyMask(t),this.drawFormatBits(t);let n=this.getPenaltyScore();n<e&&(r=t,e=n),this.applyMask(t)}}this.mask=r,this.applyMask(r),this.drawFormatBits(r)}size;mask;modules=[];types=[];getModule(e,t){return e>=0&&e<this.size&&t>=0&&t<this.size&&this.modules[t][e]}drawFunctionPatterns(){for(let e=0;e<this.size;e++)this.setFunctionModule(6,e,e%2==0,QS.Timing),this.setFunctionModule(e,6,e%2==0,QS.Timing);this.drawFinderPattern(3,3),this.drawFinderPattern(this.size-4,3),this.drawFinderPattern(3,this.size-4);let e=this.getAlignmentPatternPositions(),t=e.length;for(let n=0;n<t;n++)for(let r=0;r<t;r++)n===0&&r===0||n===0&&r===t-1||n===t-1&&r===0||this.drawAlignmentPattern(e[n],e[r]);this.drawFormatBits(0),this.drawVersion()}drawFormatBits(e){let t=this.ecc[1]<<3|e,n=t;for(let e=0;e<10;e++)n=n<<1^(n>>>9)*1335;let r=(t<<10|n)^21522;for(let e=0;e<=5;e++)this.setFunctionModule(8,e,_C(r,e));this.setFunctionModule(8,7,_C(r,6)),this.setFunctionModule(8,8,_C(r,7)),this.setFunctionModule(7,8,_C(r,8));for(let e=9;e<15;e++)this.setFunctionModule(14-e,8,_C(r,e));for(let e=0;e<8;e++)this.setFunctionModule(this.size-1-e,8,_C(r,e));for(let e=8;e<15;e++)this.setFunctionModule(8,this.size-15+e,_C(r,e));this.setFunctionModule(8,this.size-8,!0)}drawVersion(){if(this.version<7)return;let e=this.version;for(let t=0;t<12;t++)e=e<<1^(e>>>11)*7973;let t=this.version<<12|e;for(let e=0;e<18;e++){let n=_C(t,e),r=this.size-11+e%3,i=Math.floor(e/3);this.setFunctionModule(r,i,n),this.setFunctionModule(i,r,n)}}drawFinderPattern(e,t){for(let n=-4;n<=4;n++)for(let r=-4;r<=4;r++){let i=Math.max(Math.abs(r),Math.abs(n)),a=e+r,o=t+n;a>=0&&a<this.size&&o>=0&&o<this.size&&this.setFunctionModule(a,o,i!==2&&i!==4,QS.Position)}}drawAlignmentPattern(e,t){for(let n=-2;n<=2;n++)for(let r=-2;r<=2;r++)this.setFunctionModule(e+r,t+n,Math.max(Math.abs(r),Math.abs(n))!==1,QS.Alignment)}setFunctionModule(e,t,n,r=QS.Function){this.modules[t][e]=n,this.types[t][e]=r}addEccAndInterleave(e){let t=this.version,n=this.ecc;if(e.length!==MC(t,n))throw RangeError(`Invalid argument`);let r=mC[n[0]][t],i=pC[n[0]][t],a=Math.floor(jC(t)/8),o=r-a%r,s=Math.floor(a/r),c=[],l=NC(i);for(let t=0,n=0;t<r;t++){let r=e.slice(n,n+s-i+(t<o?0:1));n+=r.length;let a=PC(r,l);t<o&&r.push(0),c.push(r.concat(a))}let u=[];for(let e=0;e<c[0].length;e++)c.forEach((t,n)=>{(e!==s-i||n>=o)&&u.push(t[e])});return u}drawCodewords(e){if(e.length!==Math.floor(jC(this.version)/8))throw RangeError(`Invalid argument`);let t=0;for(let n=this.size-1;n>=1;n-=2){n===6&&(n=5);for(let r=0;r<this.size;r++)for(let i=0;i<2;i++){let a=n-i,o=n+1&2?r:this.size-1-r;!this.types[o][a]&&t<e.length*8&&(this.modules[o][a]=_C(e[t>>>3],7-(t&7)),t++)}}}applyMask(e){if(e<0||e>7)throw RangeError(`Mask value out of range`);for(let t=0;t<this.size;t++)for(let n=0;n<this.size;n++){let r;switch(e){case 0:r=(n+t)%2==0;break;case 1:r=t%2==0;break;case 2:r=n%3==0;break;case 3:r=(n+t)%3==0;break;case 4:r=(Math.floor(n/3)+Math.floor(t/2))%2==0;break;case 5:r=n*t%2+n*t%3==0;break;case 6:r=(n*t%2+n*t%3)%2==0;break;case 7:r=((n+t)%2+n*t%3)%2==0;break;default:throw Error(`Unreachable`)}!this.types[t][n]&&r&&(this.modules[t][n]=!this.modules[t][n])}}getPenaltyScore(){let e=0;for(let t=0;t<this.size;t++){let n=!1,r=0,i=[0,0,0,0,0,0,0];for(let a=0;a<this.size;a++)this.modules[t][a]===n?(r++,r===5?e+=lC:r>5&&e++):(this.finderPenaltyAddHistory(r,i),n||(e+=this.finderPenaltyCountPatterns(i)*dC),n=this.modules[t][a],r=1);e+=this.finderPenaltyTerminateAndCount(n,r,i)*dC}for(let t=0;t<this.size;t++){let n=!1,r=0,i=[0,0,0,0,0,0,0];for(let a=0;a<this.size;a++)this.modules[a][t]===n?(r++,r===5?e+=lC:r>5&&e++):(this.finderPenaltyAddHistory(r,i),n||(e+=this.finderPenaltyCountPatterns(i)*dC),n=this.modules[a][t],r=1);e+=this.finderPenaltyTerminateAndCount(n,r,i)*dC}for(let t=0;t<this.size-1;t++)for(let n=0;n<this.size-1;n++){let r=this.modules[t][n];r===this.modules[t][n+1]&&r===this.modules[t+1][n]&&r===this.modules[t+1][n+1]&&(e+=uC)}let t=0;for(let e of this.modules)t=e.reduce((e,t)=>e+ +!!t,t);let n=this.size*this.size,r=Math.ceil(Math.abs(t*20-n*10)/n)-1;return e+=r*fC,e}getAlignmentPatternPositions(){if(this.version===1)return[];{let e=Math.floor(this.version/7)+2,t=this.version===32?26:Math.ceil((this.version*4+4)/(e*2-2))*2,n=[6];for(let r=this.size-7;n.length<e;r-=t)n.splice(1,0,r);return n}}finderPenaltyCountPatterns(e){let t=e[1],n=t>0&&e[2]===t&&e[3]===t*3&&e[4]===t&&e[5]===t;return(n&&e[0]>=t*4&&e[6]>=t?1:0)+(n&&e[6]>=t*4&&e[0]>=t?1:0)}finderPenaltyTerminateAndCount(e,t,n){return e&&(this.finderPenaltyAddHistory(t,n),t=0),t+=this.size,this.finderPenaltyAddHistory(t,n),this.finderPenaltyCountPatterns(n)}finderPenaltyAddHistory(e,t){t[0]===0&&(e+=this.size),t.pop(),t.unshift(e)}};function gC(e,t,n){if(t<0||t>31||e>>>t)throw RangeError(`Value out of range`);for(let r=t-1;r>=0;r--)n.push(e>>>r&1)}function _C(e,t){return(e>>>t&1)!=0}var vC=class{constructor(e,t,n){if(this.mode=e,this.numChars=t,this.bitData=n,t<0)throw RangeError(`Invalid argument`);this.bitData=n.slice()}getData(){return this.bitData.slice()}},yC=[1,10,12,14],bC=[2,9,11,13],xC=[4,8,16,16];function SC(e,t){return e[Math.floor((t+7)/17)+1]}function CC(e){let t=[];for(let n of e)gC(n,8,t);return new vC(xC,e.length,t)}function wC(e){if(!DC(e))throw RangeError(`String contains non-numeric characters`);let t=[];for(let n=0;n<e.length;){let r=Math.min(e.length-n,3);gC(Number.parseInt(e.substring(n,n+r),10),r*3+1,t),n+=r}return new vC(yC,e.length,t)}function TC(e){if(!OC(e))throw RangeError(`String contains unencodable characters in alphanumeric mode`);let t=[],n;for(n=0;n+2<=e.length;n+=2){let r=oC.indexOf(e.charAt(n))*45;r+=oC.indexOf(e.charAt(n+1)),gC(r,11,t)}return n<e.length&&gC(oC.indexOf(e.charAt(n)),6,t),new vC(bC,e.length,t)}function EC(e){return e===``?[]:DC(e)?[wC(e)]:OC(e)?[TC(e)]:[CC(AC(e))]}function DC(e){return iC.test(e)}function OC(e){return aC.test(e)}function kC(e,t){let n=0;for(let r of e){let e=SC(r.mode,t);if(r.numChars>=1<<e)return 1/0;n+=4+e+r.bitData.length}return n}function AC(e){e=encodeURI(e);let t=[];for(let n=0;n<e.length;n++)e.charAt(n)===`%`?(t.push(Number.parseInt(e.substring(n+1,n+3),16)),n+=2):t.push(e.charCodeAt(n));return t}function jC(e){if(e<sC||e>cC)throw RangeError(`Version number out of range`);let t=(16*e+128)*e+64;if(e>=2){let n=Math.floor(e/7)+2;t-=(25*n-10)*n-55,e>=7&&(t-=36)}return t}function MC(e,t){return Math.floor(jC(e)/8)-pC[t[0]][e]*mC[t[0]][e]}function NC(e){if(e<1||e>255)throw RangeError(`Degree out of range`);let t=[];for(let n=0;n<e-1;n++)t.push(0);t.push(1);let n=1;for(let r=0;r<e;r++){for(let e=0;e<t.length;e++)t[e]=FC(t[e],n),e+1<t.length&&(t[e]^=t[e+1]);n=FC(n,2)}return t}function PC(e,t){let n=t.map(e=>0);for(let r of e){let e=r^n.shift();n.push(0),t.forEach((t,r)=>n[r]^=FC(t,e))}return n}function FC(e,t){if(e>>>8||t>>>8)throw RangeError(`Byte out of range`);let n=0;for(let r=7;r>=0;r--)n=n<<1^(n>>>7)*285,n^=(t>>>r&1)*e;return n}function IC(e,t,n=1,r=40,i=-1,a=!0){if(!(sC<=n&&n<=r&&r<=cC)||i<-1||i>7)throw RangeError(`Invalid value`);let o,s;for(o=n;;o++){let n=MC(o,t)*8,i=kC(e,o);if(i<=n){s=i;break}if(o>=r)throw RangeError(`Data too long`)}for(let e of[eC,tC,nC])a&&s<=MC(o,e)*8&&(t=e);let c=[];for(let t of e){gC(t.mode[0],4,c),gC(t.numChars,SC(t.mode,o),c);for(let e of t.getData())c.push(e)}let l=MC(o,t)*8;gC(0,Math.min(4,l-c.length),c),gC(0,(8-c.length%8)%8,c);for(let e=236;c.length<l;e^=253)gC(e,8,c);let u=Array.from({length:Math.ceil(c.length/8)},()=>0);return c.forEach((e,t)=>u[t>>>3]|=e<<7-(t&7)),new hC(o,t,u,i)}function LC(e,t){let{ecc:n=`L`,boostEcc:r=!1,minVersion:i=1,maxVersion:a=40,maskPattern:o=-1,border:s=1}=t||{},c=typeof e==`string`?EC(e):Array.isArray(e)?[CC(e)]:void 0;if(!c)throw Error(`uqr only supports encoding string and binary data, but got: ${typeof e}`);let l=IC(c,rC[n],i,a,o,r),u=RC({version:l.version,maskPattern:l.mask,size:l.size,data:l.modules,types:l.types},s);return t?.invert&&(u.data=u.data.map(e=>e.map(e=>!e))),t?.onEncoded?.(u),u}function RC(e,t=1){if(!t)return e;let{size:n}=e,r=n+t*2;e.size=r,e.data.forEach(e=>{for(let n=0;n<t;n++)e.unshift(!1),e.push(!1)});for(let n=0;n<t;n++)e.data.unshift(Array.from({length:r},e=>!1)),e.data.push(Array.from({length:r},e=>!1));let i=QS.Border;e.types.forEach(e=>{for(let n=0;n<t;n++)e.unshift(i),e.push(i)});for(let n=0;n<t;n++)e.types.unshift(Array.from({length:r},e=>i)),e.types.push(Array.from({length:r},e=>i));return e}function zC({text:e,label:t}){let{data:n,size:r}=LC(e,{ecc:`M`,border:2}),i=``;return n.forEach((e,t)=>{e.forEach((e,n)=>{e&&(i+=`M${n} ${t}h1v1h-1z`)})}),(0,J.jsx)(`svg`,{role:`img`,"aria-label":t,viewBox:`0 0 ${r} ${r}`,shapeRendering:`crispEdges`,className:`h-56 w-56 max-w-full rounded-md bg-white`,children:(0,J.jsx)(`path`,{d:i,fill:`black`})})}function BC(e,t){let[n,r]=(0,Y.useState)(!1);return(0,Y.useLayoutEffect)(()=>{if(!e)return;let n=e.getBoundingClientRect().width;if(n>0&&r(n<t),typeof ResizeObserver>`u`)return;let i=new ResizeObserver(([e])=>e&&r(e.contentRect.width<t));return i.observe(e),()=>i.disconnect()},[e,t]),n}var VC=500;function HC({children:e,className:t}){let[n,r]=(0,Y.useState)(!1);return(0,Y.useEffect)(()=>{let e=setTimeout(()=>r(!0),VC);return()=>clearTimeout(e)},[]),(0,J.jsx)(`p`,{className:q(`text-xs text-muted-foreground`,!n&&`invisible`,t),children:e})}var UC={};function WC(e){let{schedule:t,pages:n,loaded:r}=JS(),i=(0,Y.useContext)(I_)??F_,a=e.map(e=>e.id).join(`,`),{value:o}=xd(async()=>{if(!r)return UC;let n=t?XC({...i,package:t.package}):void 0,a=await Promise.all(e.map(async e=>!t||!n||!t.projects.includes(e.id)?[e.id,[]]:t.read(n,e).then(t=>[e.id,t],()=>void 0)));return Object.fromEntries(a.filter(e=>e!==void 0))},UC,1e4,[r,t?.package,t?.projects.join(`,`),a],`previous`),s=Object.fromEntries(e.flatMap(e=>o[e.id]?[[e.id,o[e.id]]]:[]));if(!t)return{commands:s,open:()=>{}};let c=n.find(e=>e.segment===t.page)?.label??t.page;return{page:{segment:t.page,label:c,href:i.pageHref(t.page)},commands:s,open:()=>i.openPage(t.page)}}function GC(e){if(/^[a-z][a-z0-9+.-]*:/i.test(e)||e.startsWith(`/`))return;let[t,...n]=e.split(`/`).filter(Boolean);if(!(!t||!E_(t)||n.length===0))return{segment:t,rest:n}}function KC(e){let t=e.match(/(?<![\w./:@-])[a-z][a-z0-9]*\/[^\s()[\]<>"'`]+/g)??[];return[...new Set(t.map(e=>e.replace(/[.,;:!?]+$/,``)).filter(e=>GC(e)!==void 0))]}var qC={};function JC(e){let{pages:t}=JS(),n=(0,Y.useContext)(I_)??F_,r=e.map(({projectId:e,paths:t})=>`${e}\n${[...t].sort().join(`
|
|
17
17
|
`)}`).join(`
|
|
18
18
|
|
|
19
|
-
`),i=t.filter(e=>e.names!==void 0),{value:a}=xd(async()=>{let t={};return await Promise.all(e.flatMap(({projectId:e,paths:r})=>i.filter(t=>t.projects.includes(e)).map(async i=>{let a=r.filter(e=>GC(e)?.segment===i.segment);if(a.length===0)return;let o=await i.names(XC({...n,package:i.package}),e,a).catch(()=>({}));for(let n of a){let r=o[n];r&&typeof r.title==`string`&&r.title.trim()!==``&&(t[`${e}\n${n}`]={title:r.title,href:typeof r.href==`string`?r.href:n})}}))),t},qC,6e4,[r,i.map(e=>e.package).join(`,`)],`previous`);return(e,t)=>{let r=a[`${e}\n${t}`],i=r&&GC(r.href);return r&&i?{title:r.title,open:()=>n.openPage(i.segment,i.rest,e)}:void 0}}function YC(e){return e}function XC(e,t={}){return{...e,runCommand:(n,r,i)=>
|
|
19
|
+
`),i=t.filter(e=>e.names!==void 0),{value:a}=xd(async()=>{let t={};return await Promise.all(e.flatMap(({projectId:e,paths:r})=>i.filter(t=>t.projects.includes(e)).map(async i=>{let a=r.filter(e=>GC(e)?.segment===i.segment);if(a.length===0)return;let o=await i.names(XC({...n,package:i.package}),e,a).catch(()=>({}));for(let n of a){let r=o[n];r&&typeof r.title==`string`&&r.title.trim()!==``&&(t[`${e}\n${n}`]={title:r.title,href:typeof r.href==`string`?r.href:n})}}))),t},qC,6e4,[r,i.map(e=>e.package).join(`,`)],`previous`);return(e,t)=>{let r=a[`${e}\n${t}`],i=r&&GC(r.href);return r&&i?{title:r.title,open:()=>n.openPage(i.segment,i.rest,e)}:void 0}}function YC(e){return e}function XC(e,t={}){return{...e,runCommand:(n,r,i)=>Pb(n,e.package,r,i,t.acts??!1),act:(t,n,r)=>Pb(t,e.package,n,r,!0),runComputerCommand:(t,n,r)=>Fb(e.package,t,n,r),runComputerCommandOn:(t,n,r)=>Ib(e.package,t,n,r),read:(t,n,r={})=>Lb(t,e.package,n,r)}}var ZC=(0,Y.createContext)(null);function QC(){let e=(0,Y.useContext)(ZC);if(!e)throw Error(`useModuleHost is only available inside a module page`);return e}export{Tb as $,m as $a,_r as $i,xf as $n,au as $r,r_ as $t,pS as A,ot as Aa,Zc as Ai,Xm as An,Uu as Ar,N_ as At,Yb as B,k as Ba,go as Bi,up as Bn,Du as Br,g_ as Bt,TS as C,qt as Ca,Fl as Ci,rg as Cn,Zu as Cr,H_ as Ct,bS as D,yt as Da,Ol as Di,Qh as Dn,zu as Dr,I_ as Dt,yS as E,St as Ea,kl as Ei,sg as En,Ru as Er,U_ as Et,ex as F,Xe as Fa,jo as Fi,Cm as Fn,Pu as Fr,T_ as Ft,Pb as G,w as Ga,ba as Gi,Gf as Gn,yu as Gr,s_ as Gt,qb as H,E as Ha,Ya as Hi,rp as Hn,wu as Hr,m_ as Ht,Jb as I,Ve as Ia,Ro as Ii,Sm as In,ku as Ir,E_ as It,Mb as J,_ as Ja,Ir as Ji,kf as Jn,gu as Jr,u_ as Jt,Ab as K,x as Ka,vi as Ki,Ff as Kn,vu as Kr,o_ as Kt,Xb as L,ze as La,Ao as Li,gm as Ln,Au as Lr,D_ as Lt,Sx as M,X as Ma,Ms as Mi,eh as Mn,qu as Mr,A_ as Mt,wx as N,Ze as Na,hs as Ni,Jm as Nn,Ju as Nr,k_ as Nt,_S as O,ht as Oa,Tl as Oi,Zm as On,Hu as Or,R_ as Ot,Cx as P,Qe as Pa,is as Pi,Im as Pn,Iu as Pr,w_ as Pt,Eb as Q,f as Qa,Cr as Qi,Ef as Qn,cu as Qr,f_ as Qt,$b as R,Re as Ra,ko as Ri,nm as Rn,ju as Rr,C_ as Rt,wS as S,tn as Sa,Rl as Si,cg as Sn,Xu as Sr,z_ as St,xS as T,Pt as Ta,Nl as Ti,eg as Tn,Bu as Tr,V_ as Tt,zb as U,T as Ua,Ha as Ui,Zf as Un,Cu as Ur,p_ as Ut,Zb as V,O as Va,ho as Vi,dp as Vn,Eu as Vr,__ as Vt,Rb as W,S as Wa,Na as Wi,Jf as Wn,bu as Wr,i_ as Wt,Db as X,u as Xa,Pr as Xi,wf as Xn,Xl as Xr,a_ as Xt,wb as Y,v as Ya,Lr as Yi,Df as Yn,hu as Yr,l_ as Yt,Ob as Z,d as Za,$ as Zi,Tf as Zn,ou as Zr,d_ as Zt,LS as _,vn as _a,Vl as _i,hg as _n,_d as _r,J_ as _t,KC as a,Zn as aa,ql as ai,Ag as an,jd as ar,$v as at,CS as b,en as ba,eu as bi,pg as bn,bd as br,Y_ as bt,HC as c,Jn as ca,Bl as ci,Sg as cn,Md as cr,zv as ct,XS as d,qn as da,ru as di,_g as dn,Pd as dr,vv as dt,or as ea,Ql as ei,t_ as en,a as eo,Cf as er,Hy as et,ZS as f,Q as fa,lu as fi,ig as fn,Td as fr,nv as ft,JS as g,_n as ga,Wl as gi,ug as gn,wd as gr,Q_ as gt,GS as h,Tn as ha,Kl as hi,ag as hn,Sd as hr,X_ as ht,QC as i,lr as ia,Hl as ii,Lg as in,Fd as ir,ey as it,fS as j,et as ja,Ns as ji,$m as jn,Vu as jr,P_ as jt,vS as k,pt as ka,dl as ki,Qm as kn,Gu as kr,L_ as kt,BC as l,nr as la,nu as li,xg as ln,Ad as lr,Bv as lt,qS as m,En as ma,iu as mi,lg as mn,Cd as mr,K_ as mt,YC as n,tr as na,Ul as ni,Yg as nn,c as no,Rd as nr,ty as nt,JC as o,Qn as oa,Gl as oi,kg as on,kd as or,Vv as ot,YS as p,Hn as pa,uu as pi,dg as pn,Od as pr,q_ as pt,kb as q,y as qa,pi as qi,jf as qn,_u as qr,c_ as qt,XC as r,er as ra,zl as ri,Rg as rn,o as ro,Ld as rr,Ay as rt,WC as s,$n as sa,Zl as si,Cg as sn,Nd as sr,kv as st,ZC as t,Yn as ta,Jl as ti,qg as tn,s as to,nf as tr,By as tt,zC as u,Un as ua,su as ui,vg as un,Dd as ur,bv as ut,IS as v,pn as va,$l as vi,mg as vn,cd as vr,ev as vt,SS as w,Zt as wa,Ll as wi,tg as wn,Yu as wr,B_ as wt,ES as x,Z as xa,Il as xi,fg as xn,xd as xr,W_ as xt,DS as y,$t as ya,tu as yi,og as yn,ud as yr,$_ as yt,Qb as z,q as za,So as zi,lp as zn,Ou as zr,S_ as zt};
|