1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,15897,r=>{"use strict";var e=r.i(78648),a=r.i(998),t=r.i(19257),s=r.i(34367),l=r.i(47356);let d=new WeakMap;function i(r){return(0,e.jsxs)("article",{className:"rounded-xl border border-gray-200 p-5 dark:border-gray-700",children:[(0,e.jsx)("div",{className:"text-xs font-semibold tracking-wide text-gray-500 uppercase dark:text-gray-400",children:r.category}),(0,e.jsx)("h3",{className:"mt-3 text-lg font-semibold text-gray-900 dark:text-white",children:(0,e.jsx)(s.default,{href:r.href,className:"hover:text-brand-primary/80 dark:hover:text-sky-300 transition",children:r.title})}),(0,e.jsx)("p",{className:"mt-2 text-sm text-gray-600 dark:text-gray-300",children:r.description})]},r.slug)}function o(r){return(0,e.jsxs)("article",{className:"rounded-xl border border-gray-200 p-5 dark:border-gray-700",children:[(0,e.jsx)("div",{className:"flex flex-wrap items-center gap-3",children:(0,e.jsx)("span",{className:"bg-brand-primary/10 text-brand-primary/80 dark:bg-brand-primary dark:text-white rounded-full px-3 py-1 text-xs font-semibold tracking-wide uppercase",children:r.category})}),(0,e.jsx)("h3",{className:"mt-3 text-lg font-semibold text-gray-900 dark:text-white",children:(0,e.jsx)(s.default,{href:r.href,className:"hover:text-brand-primary/80 dark:hover:text-sky-300 transition",children:r.title})}),(0,e.jsx)("p",{className:"mt-2 text-sm text-gray-600 dark:text-gray-300",children:r.description})]},r.slug)}function n(r){return"article"===r.type}function c(r){return"glossary"===r.type}r.s(["SearchClient",0,function(r){let g,x,h,y,m,u,b,p,f,k,j,N,v,w,S,C,T,P,q,R,$,A,L,U,G=(0,a.c)(65),{entries:B}=r,K=(0,l.useRouter)(),M=(0,l.usePathname)(),O=(0,l.useSearchParams)();G[0]!==O?(g=O.get("q")?.trim()??"",G[0]=O,G[1]=g):g=G[1];let _=g,D=(0,t.useDeferredValue)(_);G[2]!==O?(x=O.get("focus"),G[2]=O,G[3]=x):x=G[3];let F=x;G[4]!==D?(h=D.toLowerCase(),G[4]=D,G[5]=h):h=G[5];let V=h;if(G[6]!==B||G[7]!==F||G[8]!==V){let r;G[10]!==F||G[11]!==V?(r=r=>{if(F&&F!==r.type)return!1;if(!V)return!0;let e=d.get(r);return e||(e=[r.title,r.description,r.category,...r.aliases].join(" ").toLowerCase(),d.set(r,e)),e.includes(V)},G[10]=F,G[11]=V,G[12]=r):r=G[12],y=B.filter(r),G[6]=B,G[7]=F,G[8]=V,G[9]=y}else y=G[9];let W=y;G[13]!==W?(m=W.filter(c),G[13]=W,G[14]=m):m=G[14];let z=m;G[15]!==W?(u=W.filter(n),G[15]=W,G[16]=u):u=G[16];let E=u;G[17]===Symbol.for("react.memo_cache_sentinel")?(b=(0,e.jsx)("label",{htmlFor:"site-search",className:"text-sm font-semibold text-gray-700 dark:text-gray-200",children:"Search the glossary and article ar
1chive"}),G[17]=b):b=G[17],G[18]!==M||G[19]!==K||G[20]!==O?(p=r=>{var e;let a,s,l=r.currentTarget.value,d=(e=new URLSearchParams(O),a=new URLSearchParams(e),l?a.set("q",l):a.delete("q"),(s=a.toString())?`${M}?${s}`:M);(0,t.startTransition)(()=>{K.replace(d,{scroll:!1})})},G[18]=M,G[19]=K,G[20]=O,G[21]=p):p=G[21],G[22]!==_||G[23]!==p?(f=(0,e.jsx)("input",{id:"site-search",type:"search",value:_,onChange:p,placeholder:"Try: v-notch, shell disease, Gulf of Maine warming",className:"focus:border-brand-primary/50 focus:ring-brand-primary/50 mt-3 w-full rounded-xl border border-gray-300 px-4 py-3 focus:ring-2 focus:outline-hidden dark:border-gray-600 dark:bg-gray-800"}),G[22]=_,G[23]=p,G[24]=f):f=G[24];let H=`rounded-full border border-gray-300 px-3 py-1.5 transition-colors dark:border-gray-600 ${"glossary"===F?"bg-gray-100 font-medium text-gray-900 dark:bg-gray-700 dark:text-white":"text-gray-700 hover:bg-gray-50 dark:text-gray-200 dark:hover:bg-gray-800"}`,I="glossary"===F?"page":void 0;G[25]!==H||G[26]!==I?(k=(0,e.jsx)(s.default,{href:"/search/?focus=glossary",className:H,"aria-current":I,children:"Glossary only"}),G[25]=H,G[26]=I,G[27]=k):k=G[27];let J=`rounded-full border border-gray-300 px-3 py-1.5 transition-colors dark:border-gray-600 ${"article"===F?"bg-gray-100 font-medium text-gray-900 dark:bg-gray-700 dark:text-white":"text-gray-700 hover:bg-gray-50 dark:text-gray-200 dark:hover:bg-gray-800"}`,Q="article"===F?"page":void 0;G[28]!==J||G[29]!==Q?(j=(0,e.jsx)(s.default,{href:"/search/?focus=article",className:J,"aria-current":Q,children:"Articles only"}),G[28]=J,G[29]=Q,G[30]=j):j=G[30];let X=`rounded-full border border-gray-300 px-3 py-1.5 transition-colors dark:border-gray-600 ${!F?"bg-gray-100 font-medium text-gray-900 dark:bg-gray-700 dark:text-white":"text-gray-700 hover:bg-gray-50 dark:text-gray-200 dark:hover:bg-gray-800"}`,Y=F?void 0:"page";return G[31]!==X||G[32]!==Y?(N=(0,e.jsx)(s.default,{href:"/search/",className:X,"aria-current":Y,children:"Clear filters"}),G[31]=X,G[32]=Y,G[33]=N):N=G[33],G[34]!==k||G[35]!==j||G[36]!==N?(v=(0,e.jsxs)("div",{className:"mt-4 flex flex-wrap gap-3 text-sm",children:[k,j,N]}),G[34]=k,G[35]=j,G[36]=N,G[37]=v):v=G[37],G[38]!==v||G[39]!==f?(w=(0,e.jsxs)("div",{className:"rounded-2xl border border-gray-200 bg-white p-6 shadow-sm dark:border-gray-700 dark:bg-gray-900",children:[b,f,v]}),G[38]=v,G[39]=f,G[40]=w):w=G[40],G[41]!==z.length?(S=(0,e.jsxs)("h2",{className:"text-2xl font-bold text-gray-900 dark:text-white",children:["Glossary results (",z.length,")"]}),G[41]=z.length,G[42]=S):S=G[42],G[43]!==z?(C=z.length>0?z.map(o):(0,e.jsx)("p",{className:"text-sm text-gray-600 dark:text-gray-300",children:"No glossary entries matched this query."}),G[43]=z,G[44]=C):C=G[44],G[45]!==C?(T=(0,e.jsx)("div",{className:"mt-5 space-y-4",children:C}),G[45]=C,G[46]=T):T=G[46],G[47]!==S||G[48]!==T?(P=(0,e.jsxs)("section",{className:"rounded-2xl border border-gray-200 bg-white p-6 shadow-sm dark:border-gray-700 dark:bg-gray-900",children:[S,T]}),G[47]=S,G[48]=T,G[49]=P):P=G[49],G[50]!==E.length?(q=(0,e.jsxs)("h2",{className:"text-2xl font-bold text-gray-900 dark:text-white",children:["Article results (",E.length,")"]}),G[50]=E.length,G[51]=q):q=G[51],G[52]!==E?(R=E.length>0?E.map(i):(0,e.jsx)("p",{className:"text-sm text-gray-600 dark:text-gray-300",children:"No articles matched this query."}),G[52]=E,G[53]=R):R=G[53],G[54]!==R?($=(0,e.jsx)("div",{className:"mt-5 space-y-4",children:R}),G[54]=R,G[55]=$):$=G[55],G[56]!==q||G[57]!==$?(A=(0,e.jsxs)("section",{className:"rounded-2xl border border-gray-200 bg-white p-6 shadow-sm dark:border-gray-700 dark:bg-gray-900",children:[q,$]}),G[56]=q,G[57]=$,G[58]=A):A=G[58],G[59]!==P||G[60]!==A?(L=(0,e.jsxs)("div",{className:"mt-8 grid gap-8 lg:grid-cols-2",children:[P,A]}),G[59]=P,G[60]=A,G[61]=L):L=G[61],G[62]!==w||G[63]!==L?(U=(0,e.jsxs)("div",{className:"mx-auto mt-12 max-w-6xl",children:[w,L]}),G[62]=w,G[63]=L,G[64]=U):U=G[64],U}])}]);
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.