PageSourceSearch

https://vale.sh/_app/immutable/nodes/3.13FYSifj.js

js vale.sh collected 2026-09-25 18:43:05 UTC 13,015 bytes, 2 lines download raw bytes

1import{c as It,a as S,t as T}from"../chunks/disclose-version.DE-liGRC.js";import"../chunks/legacy.B3rupc9m.js";import{P as dt,K as Ot,_ as Ft,a0 as Lt,B as Bt,k as Mt,a1 as zt,J as Pt,b as W,a2 as jt,a3 as qt,a4 as Vt,a5 as ut,a6 as ct,a7 as Gt,f as Q,p as _t,e as J,a as bt,s as C,c as k,t as z,g as a,n as nt,a8 as Kt,h as P,r as p,d as H}from"../chunks/runtime.vEvs2zhv.js";import{l as Ht,I as Ut,d as Wt,e as ft,r as Zt,s as vt,a as pt,i as Dt,c as Jt,k as Xt}from"../chunks/Icon.VaO0A4Wf.js";import{M as Yt}from"../chunks/MetaTags.BewDlfzo.js";import{a as xt}from"../chunks/adopters.DEozUiLA.js";import{j as Qt,l as te,a as ee,d as re,p as yt,k as ae,i as X,s as L}from"../chunks/props.CdrK0jyI.js";import{b as oe}from"../chunks/input.By5B6rw4.js";import{b as ne}from"../chunks/this.auZb6bJk.js";import{B as se}from"../chunks/BrandIcon.BsRlbekB.js";import{A as ie}from"../chunks/arrow-up-right.BRxiKkMY.js";import{S as le}from"../chunks/search.BItYpzRN.js";import{X as de}from"../chunks/x.C68nL2R_.js";import{S as ue}from"../chunks/Section.cQ39udeZ.js";const ce=()=>performance.now(),B={tick:e=>requestAnimationFrame(e),now:()=>ce(),tasks:new Set};function kt(){const e=B.now();B.tasks.forEach(t=>{t.c(e)||(B.tasks.delete(t),t.f())}),B.tasks.size!==0&&B.tick(kt)}function fe(e){let t;return B.tasks.size===0&&B.tick(kt),{promise:new Promise(r=>{B.tasks.add(t={c:e,f:r})}),abort(){B.tasks.delete(t)}}}function Y(e,t){e.dispatchEvent(new CustomEvent(t))}function ve(e){if(e==="float")return"cssFloat";if(e==="offset")return"cssOffset";if(e.startsWith("--"))return e;const t=e.split("-");return t.length===1?t[0]:t[0]+t.slice(1).map(r=>r[0].toUpperCase()+r.slice(1)).join("")}function mt(e){const t={},r=e.split(";");for(const s of r){const[i,c]=s.split(":");if(!i||c===void 0)break;const l=ve(i.trim());t[l]=c.trim()}return t}const pe=e=>e;function me(e,t,r){var s=Ht,i,c,l,v=null;s.a??(s.a={element:e,measure(){i=this.element.getBoundingClientRect()},apply(){if(l==null||l.abort(),c=this.element.getBoundingClientRect(),i.left!==c.left||i.right!==c.right||i.top!==c.top||i.bottom!==c.bottom){const b=t()(this.element,{from:i,to:c},r==null?void 0:r());l=tt(this.element,b,void 0,1,()=>{l==null||l.abort(),l=void 0})}},fix(){if(!e.getAnimations().length){var{position:b,width:m,height:g}=getComputedStyle(e);if(b!=="absolute"&&b!=="fixed"){var d=e.style;v={position:d.position,width:d.width,height:d.height,transform:d.transform},d.position="absolute",d.width=m,d.height=g;var u=e.getBoundingClientRect();if(i.left!==u.left||i.top!==u.top){var E=`translate(${i.left-u.left}px, ${i.top-u.top}px)`;d.transform=d.transform?`${d.transform} ${E}`:E}}}},unfix(){if(v){var b=e.style;b.position=v.position,b.width=v.width,b.height=v.height,b.transform=v.transform}}}),s.a.element=e}function gt(e,t,r,s){var i=(e&qt)!==0,c=(e&Vt)!==0,l=i&&c,v=(e&jt)!==0,b=l?"both":i?"in":"out",m,g=t.inert,d,u;function E(){var f=Gt,y=dt;ut(null),ct(null);try{return m??(m=r()(t,(s==null?void 0:s())??{},{direction:b}))}finally{ut(f),ct(y)}}var A={is_global:v,in(){var f;if(t.inert=g,!i){u==null||u.abort(),(f=u==null?void 0:u.reset)==null||f.call(u);return}c||d==null||d.abort(),Y(t,"introstart"),d=tt(t,E(),u,1,()=>{Y(t,"introend"),d==null||d.abort(),d=m=void 0})},out(f){if(!c){f==null||f(),m=void 0;return}t.inert=!0,Y(t,"outrostart"),u=tt(t,E(),d,0,()=>{Y(t,"outroend"),f==null||f()})},stop:()=>{d==null||d.abort(),u==null||u.abort()}},x=dt;if((x.transitions??(x.transitions=[])).push(A),i&&Qt){var o=v;if(!o){for(var n=x.parent;n&&n.f&Ot;)for(;(n=n.parent)&&!(n.f&Ft););o=!n||(n.f&Lt)!==0}o&&Bt(()=>{Mt(()=>A.in())})}}function tt(e,t,r,s,i){var c=s===1;if(zt(t)){var l,v=!1;return Pt(()=>{if(!v){var o=t({direction:c?"in":"out"});l=tt(e,o,r,s,i)}}),{abort:()=>{v=!0,l==null||l.abort()},deactivate:()=>l.deactivate(),reset:()=>l.reset(),t:()=>l.t()}}if(r==null||r.deactivate(),!(t!=null&&t.duration))return i(),{abort:W,deactivate:W,reset:W,t:()=>s};const{delay:b=0,css:m,tick:g,easing:d=pe}=t;var u=[];
1if(c&&r===void 0&&(g&&g(0,1),m)){var E=mt(m(0,1));u.push(E,E)}var A=()=>1-s,x=e.animate(u,{duration:b});return x.onfinish=()=>{var o=(r==null?void 0:r.t())??1-s;r==null||r.abort();var n=s-o,f=t.duration*Math.abs(n),y=[];if(f>0){if(m)for(var I=Math.ceil(f/16.666666666666668),$=0;$<=I;$+=1){var Z=o+n*d($/I),et=m(Z,1-Z);y.push(mt(et))}A=()=>{var q=x.currentTime;return o+n*d(q/f)},g&&fe(()=>{if(x.playState!=="running")return!1;var q=A();return g(q,1-q),!0})}x=e.animate(y,{duration:f,fill:"forwards"}),x.onfinish=()=>{A=()=>s,g==null||g(s,1-s),i()}},{abort:()=>{x&&(x.cancel(),x.effect=null,x.onfinish=W)},deactivate:()=>{i=W},reset:()=>{s===0&&(g==null||g(1,0))},t:()=>A()}}function ge(e,t){const r=te(t,["children","$$slots","$$events","$$legacy"]);Ut(e,ee({name:"chevron-down"},()=>r,{iconNode:[["path",{d:"m6 9 6 6 6-6"}]],children:(i,c)=>{var l=It(),v=Q(l);Wt(v,t,"default",{}),S(i,l)},$$slots:{default:!0}}))}function wt(e){const t=e-1;return t*t*t+1}function he(e,{from:t,to:r},s={}){var i=getComputedStyle(e),c=_e(e),l=i.transform==="none"?"":i.transform,[v,b]=i.transformOrigin.split(" ").map(parseFloat),m=t.width/r.width,g=t.height/r.height,d=(t.left+m*v-(r.left+v))/c,u=(t.top+g*b-(r.top+b))/c,{delay:E=0,duration:A=o=>Math.sqrt(o)*120,easing:x=wt}=s;return{delay:E,duration:typeof A=="function"?A(Math.sqrt(d*d+u*u)):A,easing:x,css:(o,n)=>{var f=n*d,y=n*u,I=o+n*m,$=o+n*g;return`transform: ${l} scale(${I}, ${$}) translate(${f}px, ${y}px);`}}}function _e(e){if("currentCSSZoom"in e)return e.currentCSSZoom;for(var t=e,r=1;t!==null;)r*=+getComputedStyle(t).zoom,t=t.parentElement;return r}const be=e=>e;function ht(e,{delay:t=0,duration:r=400,easing:s=be}={}){const i=+getComputedStyle(e).opacity;return{delay:t,duration:r,easing:s,css:c=>`opacity: ${c*i}`}}const xe=e=>{nt();var t=ye();nt(2),S(e,t)};var ye=T('Every entry links to a public <code class="rounded bg-muted px-1.5 py-0.5 text-base">.vale.ini</code>, style package, or write-up.',1),ke=(e,t,r)=>{var s;P(t,""),(s=a(r))==null||s.focus()},we=T('<button type="button" aria-label="Clear search" class="absolute right-3 top-1/2 -translate-y-1/2 rounded-md p-1 text-muted-foreground transition-colors hover:bg-muted hover:text-foreground"><!></button>'),$e=T('<kbd class="pointer-events-none absolute right-3 top-1/2 hidden -translate-y-1/2 select-none rounded border border-border bg-muted px-1.5 py-0.5 font-mono text-[10px] text-muted-foreground sm:block">/</kbd>'),Ce=(e,t,r)=>P(t,yt(a(r))),Ae=T('<button type="button"> <span class="text-xs text-muted-foreground"> </span></button>'),Ee=T('<h3 class="flex items-baseline gap-2 border-b border-border/60 pb-2 pt-2 text-sm font-medium text-foreground"> <span class="font-mono text-xs text-muted-foreground"> </span></h3>'),Se=T('<a target="_blank" rel="noreferrer" class="group flex h-full flex-col rounded-xl border border-border bg-card p-5 transition-all duration-200 hover:-translate-y-0.5 hover:border-lime-500/40 hover:shadow-md focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-lime-500"><div class="flex items-start justify-between gap-3"><span class="flex items-center gap-2.5"><!> <span class="font-semibold tracking-tight text-foreground"> </span></span> <!></div> <p class="mt-2 grow text-sm leading-6 text-muted-foreground"> </p></a>'),Te=T("<li><!></li>"),Ne=(e,t)=>P(t,!0),Re=T('<div class="mt-8 flex justify-center"><button type="button" class="group inline-flex items-center gap-1.5 rounded-lg border border-border px-4 py-2 text-sm font-medium text-foreground transition-colors hover:bg-muted/60 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-lime-500"> <!></button></div>'),Ie=T('<ul class="mt-8 grid gap-4 sm:grid-cols-2 lg:grid-cols-3"></ul> <!>',1),Oe=(e,t,r)=>{P(t,""),P(r,"All")},Fe=T('<div class="mt-10 rounded-xl border border-dashed border-border py-12 text-center"><p class="text-sm text-muted-foreground">No teams match <span class="font-medium text-foreground"> </span>.</p> <button type="button" class="mt-3 text-sm font-medium text-lime-600 hover:text-lime-600 dark:text-lime-400 dark:hover:text-lime-400">Reset filters</button></div>'),Le=T('<div class="relative mx-auto max-w-md"><!> <input type="search" placeholder="Search teams, tools, or use cases" aria-label="Search adopters" class="h-11 w-full rounded-lg border border-border bg-background pl-10 pr-16 text-sm outline-none transition-colors placeholder:text-muted-foreground focus:border-lime-500/60 focus:ring-2 focus:ring-lime-500/20"> <!></div> <div class="mt-6 flex flex-wrap items-center justify-center gap-2"></div>
1 <p class="sr-only" aria-live="polite"> </p> <!>',1);function Be(e,t){_t(t,!0);const r=xt;let s=J(""),i=J(void 0);const c=Object.entries(r.reduce((o,n)=>(o[n.category]=(o[n.category]??0)+1,o),{})).sort((o,n)=>n[1]-o[1]||o[0].localeCompare(n[0]))[0][0];let l=J(yt(c));const v=H(()=>["All",...Array.from(new Set(r.map(o=>o.category))).sort()]),b=o=>o==="All"?r.length:r.filter(n=>n.category===o).length,m=H(()=>r.filter(o=>a(l)==="All"||o.category===a(l)).filter(o=>{const n=a(s).trim().toLowerCase();return n?o.name.toLowerCase().includes(n)||o.context.toLowerCase().includes(n)||o.category.toLowerCase().includes(n):!0}).sort((o,n)=>o.name.localeCompare(n.name))),g=4;let d=J(!1);const u=H(()=>!a(d)&&a(l)==="All"&&!a(s).trim()),E=H(()=>{const o=a(l)==="All"?a(v).slice(1):[a(l)],n=[];for(const f of o){const y=a(m).filter($=>$.category===f);if(!y.length)continue;n.push({kind:"heading",key:`heading:${f}`,category:f,count:y.length});const I=a(u)?y.slice(0,g):y;for(const $ of I)n.push({kind:"item",key:$.name,adopter:$})}return n}),A=H(()=>a(u)?a(m).length-a(E).filter(o=>o.kind==="item").length:0);function x(o){var y;const n=o.target,f=n instanceof HTMLInputElement||n instanceof HTMLTextAreaElement||(n==null?void 0:n.isContentEditable);o.key==="/"&&!f?(o.preventDefault(),(y=a(i))==null||y.focus()):o.key==="Escape"&&n===a(i)&&P(s,"")}ae("keydown",Kt,x),ue(e,{id:"adopters",eyebrow:"Adopters",title:"Teams running Vale",lede:xe,children:(o,n)=>{var f=Le(),y=Q(f),I=k(y);le(I,{class:"pointer-events-none absolute left-3.5 top-1/2 h-4 w-4 -translate-y-1/2 text-muted-foreground"});var $=C(I,2);Zt($),ne($,h=>P(i,h),()=>a(i));var Z=C($,2);{var et=h=>{var _=we();_.__click=[ke,s,i];var w=k(_);de(w,{class:"h-4 w-4"}),p(_),S(h,_)},q=h=>{var _=$e();S(h,_)};X(Z,h=>{a(s)?h(et):h(q,!1)})}p(y);var rt=C(y,2);ft(rt,21,()=>a(v),Dt,(h,_)=>{var w=Ae();w.__click=[Ce,l,_];var j=k(w),V=C(j),N=k(V,!0);z(()=>L(N,b(a(_)))),p(V),p(w),z(()=>{vt(w,"aria-pressed",a(l)===a(_)),pt(w,`inline-flex items-center gap-1.5 rounded-full border px-3.5 py-1.5 text-sm transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-lime-500 ${(a(l)===a(_)?"border-lime-500/50 bg-lime-500/10 font-medium text-foreground":"border-border text-muted-foreground hover:border-border hover:bg-muted/60 hover:text-foreground")??""}`),L(j,`${a(_)??""} `)}),S(h,w)}),p(rt);var at=C(rt,2),$t=k(at);p(at);var Ct=C(at,2);{var At=h=>{var _=Ie(),w=Q(_);ft(w,29,()=>a(E),N=>N.key,(N,O)=>{var R=Te(),D=k(R);{var ot=G=>{var M=Ee(),F=k(M),K=C(F),U=k(K,!0);p(K),p(M),z(()=>{L(F,`${a(O).category??""} `),L(U,a(O).count)}),S(G,M)},St=G=>{var M=Se();const F=H(()=>a(O).adopter);var K=k(M),U=k(K),st=k(U);se(st,{get name(){return a(F).name},get slug(){return a(F).icon},get avatar(){return a(F).avatar},class:"text-foreground/70 transition-colors group-hover:text-lime-600 dark:group-hover:text-lime-400"});var it=C(st,2),Tt=k(it,!0);p(it),p(U);var Nt=C(U,2);ie(Nt,{class:"h-4 w-4 shrink-0 text-muted-foreground transition-colors group-hover:text-lime-600 dark:group-hover:text-lime-400"}),p(K);var lt=C(K,2),Rt=k(lt,!0);p(lt),p(M),z(()=>{vt(M,"href",a(F).url),L(Tt,a(F).name),L(Rt,a(F).context)}),S(G,M)};X(D,G=>{a(O).kind==="heading"?G(ot):G(St,!1)})}p(R),z(()=>pt(R,Jt(a(O).kind==="heading"?"col-span-full":""))),me(R,()=>he,()=>({duration:340,easing:wt})),gt(1,R,()=>ht,()=>({duration:160})),gt(2,R,()=>ht,()=>({duration:90})),S(N,R)}),p(w);var j=C(w,2);{var V=N=>{var O=Re(),R=k(O);R.__click=[Ne,d];var D=k(R),ot=C(D);ge(ot,{class:"h-4 w-4 transition-transform group-hover:translate-y-0.5"}),p(R),p(O),z(()=>L(D,`Show ${a(A)??""} more `)),S(N,O)};X(j,N=>{a(A)>0&&N(V)})}S(h,_)},Et=h=>{var _=Fe(),w=k(_),j=C(k(w)),V=k(j);p(j),nt(),p(w);var N=C(w,2);N.__click=[Oe,s,l],p(_),z(()=>L(V,`"${a(s)??""}"`)),S(h,_)};X(Ct,h=>{a(m).length?h(At):h(Et,!1)})}z(()=>L($t,`${a(m).length??""}
2		${(a(m).length===1?"team":"teams")??""} shown`)),oe($,()=>a(s),h=>P(s,h)),S(o,f)},$$slots:{default:!0}}),bt()}re(["click"]);var Me=T("<!> <!>",1);function Ye(e,t){_t(t,!1);const s=`${xt.length} teams running Vale, each entry linking to a public .vale.ini, style package, or write-up.`;Xt();var i=Me(),c=Q(i);Yt(c,{title:"Adopters",description:s,canonical:"https://vale.sh/adopter
2s",openGraph:{url:"https://vale.sh/adopters",title:"Teams running Vale",description:s,images:[{url:"/media/mac.png",width:800,height:600,alt:"Example Vale output"}]}});var l=C(c,2);Be(l,{}),S(e,i),bt()}export{Ye as component};

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