PageSourceSearch

https://www.stormhood.xyz/_next/static/chunks/0noql~mdjy3s..js

js stormhood.xyz collected 2026-10-02 02:12:11 UTC 7,281 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,75426,e=>{"use strict";let l=(0,e.i(62952).default)("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]);e.s(["Search",0,l],75426)},12310,e=>{"use strict";let l=(0,e.i(62952).default)("clock",[["path",{d:"M12 6v6l4 2",key:"mmk7yg"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);e.s(["Clock",0,l],12310)},79228,e=>{"use strict";var l=e.i(322),t=e.i(90566),s=e.i(25524),a=e.i(74040),r=e.i(95079),o=e.i(72685),c=e.i(75426),i=e.i(85651),n=e.i(12310),x=e.i(27696),d=e.i(200);e.s(["default",0,function(){let[e,m]=(0,t.useState)(""),h=(0,a.useTranslations)("Docs"),p=(0,r.useLocale)(),u=(0,d.getDocArticles)(p),b=(0,d.getDocCategories)(p),g=u.filter(l=>{let t=e.toLowerCase();return l.title.toLowerCase().includes(t)||l.excerpt.toLowerCase().includes(t)||l.category.toLowerCase().includes(t)});return(0,l.jsxs)("div",{className:"min-h-screen bg-slate-950 text-white selection:bg-yellow-500 selection:text-black overflow-x-clip w-full max-w-full",children:[(0,l.jsxs)("div",{className:"fixed inset-0 pointer-events-none overflow-hidden z-0",children:[(0,l.jsx)("div",{className:"absolute top-[-10%] left-1/2 -translate-x-1/2 w-[800px] h-[500px] bg-blue-600/10 rounded-full blur-[180px]"}),(0,l.jsx)("div",{className:"absolute bottom-[20%] right-[-10%] w-[600px] h-[600px] bg-yellow-500/5 rounded-full blur-[180px]"})]}),(0,l.jsxs)("div",{className:"relative z-10 max-w-[1400px] mx-auto px-4 sm:px-6 lg:px-8 py-10 sm:py-16 md:py-24 space-y-12 sm:space-y-16 w-full min-w-0",children:[(0,l.jsxs)("header",{className:"text-center max-w-3xl mx-auto space-y-6",children:[(0,l.jsxs)("div",{className:"inline-flex items-center gap-2 px-4 py-1.5 rounded-full bg-yellow-500/10 border border-yellow-500/30 text-xs font-bold uppercase tracking-[0.2em] text-yellow-400",children:[(0,l.jsx)(o.BookOpen,{className:"w-3.5 h-3.5"}),h("badge")]}),(0,l.jsxs)("h1",{className:"text-3xl sm:text-5xl md:text-6xl font-black tracking-tight leading-tight break-words",children:[h("heroTitle1")," ",(0,l.jsx)("span",{className:"text-yellow-400",children:h("heroTitleHighlight")}),"?"]}),(0,l.jsx)("p",{className:"text-base sm:text-lg text-slate-300 font-normal leading-relaxed",children:h("heroSubtitle")}),(0,l.jsx)("div",{className:"max-w-xl mx-auto relative pt-4",children:(0,l.jsxs)("div",{className:"relative flex items-center",children:[(0,l.jsx)(c.Search,{className:"w-5 h-5 text-slate-500 absolute left-4 pointer-events-none"}),(0,l.jsx)("input",{type:"text",value:e,onChange:e=>m(e.target.value),placeholder:h("searchPlaceholder"),className:"w-full pl-12 pr-4 py-4 rounded-2xl bg-slate-900/80 border border-slate-700 text-white placeholder-slate-500 focus:outline-none focus:border-yellow-400 focus:ring-2 focus:ring-yellow-400/20 text-sm transition-all shadow-xl backdrop-blur-md"}),e&&(0,l.jsx)("button",{onClick:()=>m(""),className:"absolute right-4 text-xs font-bold text-slate-400 hover:text-white",children:h("clear")})]})})]}),(0,l.jsx)("section",{className:"space-y-12",children:e?(0,l.jsxs)("div",{children:[(0,l.jsx)("div",{className:"flex items-center justify-between mb-6",children:(0,l.jsx)("h2",{className:"text-xl font-bold text-white",children:h("searchResults",{count:g.length})})}),g.length>0?(0,l.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6",children:g.map(e=>(0,l.jsxs)(s.default,{href:`/docs/${e.slug}`,className:"group p-6 rounded-2xl bg-slate-900/50 border border-slate-800 hover:border-yellow-500/50 hover:bg-slate-900/80 transition-all flex flex-col justify-between",children:[(0,l.jsxs)("div",{className:"space-y-3",children:[(0,l.jsx)("span",{className:"text-[10px] uppercase font-bold tracking-wider text-yellow-400 bg-yellow-500/10 px-2.5 py-1 rounded-full border border-yellow-500/20",children:e.category}),(0,l.jsx)("h3",{className:"text-lg font-bold text-white group-hover:text-yellow-400 transition-colors",children:e.title}),(0,l.jsx)("p",{className:"text-xs text-slate-400 line-clamp-2 leading-relaxed",children:e.excerpt})]}),(0,l.jsxs)("div",{className:"pt-4 mt-4 border-t border-slate-800/80 flex items-center justify-between text-xs text-slate-500",children:[(0,l.jsxs)("span",{className:"flex items-center gap-1",children:[(0,l.jsx)(n.Clock,{className:"w-3 h-3"}),e.readTime]}),(0,l.jsx)("span",{className:"text-yellow-400 font-bold group-hover:translate-x-1 transition-transform flex items-center gap-1",children:h("readGuide")})]})]},e.slug))}):(0,l.jsx)("div",{className:"p-12 text-center rounded-2xl bg-slate-900/40 border border-slate-800 text-slate-400",children:h("noResults",{query:e})})]}):(0,l.jsx)("div",{className:"space-y-12",children:b.map(e=>{let t=u.filter(l=>l.category===e);return(0,l.jsxs)("div",{className:"space-y-6",children:[(0,l.jsxs)("div",{className:"flex items-center gap-3 border-b border-slate-800 pb-3",children:[(0,l.jsx)(x.Layers,{className:"w-5 h-5 text-yellow-400"}),(0,l.jsx)("h2",{className:"text-2xl font-black text-white",children:e})]}),(0,l.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6",children:t.map(e=>(0,l.jsxs)(s.default,{href:`/docs/${e.slug}`,className:"group p-6 rounded-2xl bg-slate-900/50 border border-slate-800 hover:border-yellow-500/50 hover:bg-slate-900/80 transition-all flex flex-col justify-between",children:[(0,l.jsxs)("div",{className:"space-y-3",children:[(0,l.jsx)("span",{className:"text-[10px] uppercase font-bold tracking-wider text-yellow-400 bg-yellow-500/10 px-2.5 py-1 rounded-full border border-yellow-500/20",children:e.category}),(0,l.jsx)("h3",{className:"text-lg font-bold text-white group-hover:text-yellow-400 transition-colors",children:e.title}),(0,l.jsx)("p",{className:"text-xs text-slate-400 line-clamp-2 leading-relaxed",children:e.excerpt})]}),(0,l.jsxs)("div",{className:"pt-4 mt-4 border-t border-slate-800/80 flex items-center justify-between text-xs text-slate-500",children:[(0,l.jsxs)("span",{className:"flex items-center gap-1",children:[(0,l.jsx)(n.Clock,{className:"w-3 h-3"}),e.readTime]}),(0,l.jsx)("span",{className:"text-yellow-400 font-bold group-hover:translate-x-1 transition-transform flex items-center gap-1",children:h("readGuide")})]})]},e.slug))})]},e)})})}),(0,l.jsxs)("section",{className:"p-6 sm:p-12 rounded-2xl sm:rounded-3xl bg-gradient-to-r from-blue-950/40 via-slate-900 to-yellow-950/30 border border-slate-800 flex flex-col md:flex-row items-center justify-between gap-6 sm:gap-8",children:[(0,l.jsxs)("div",{className:"space-y-3 text-center md:text-left",children:[(0,l.jsx)("span",{className:"text-xs font-bold text-yellow-400 uppercase tracking-widest",children:h("bannerTag")}),(0,l.jsx)("h3",{className:"text-2xl sm:text-3xl font-black text-white",children:h("bannerTitle")}),(0,l.jsx)("p",{className:"text-slate-400 text-sm max-w-xl",children:h("bannerDesc")})]}),(0,l.jsxs)(s.default,{href:"/ecosystem",className:"w-full sm:w-auto justify-center px-8 py-3.5 rounded-xl bg-yellow-500 hover:bg-yellow-400 text-black font-extrabold text-sm transition-all shadow-lg shadow-yellow-500/20 whitespace-nowrap flex items-center gap-2",children:[(0,l.jsx)(i.Shield,{className:"w-4 h-4"}),h("bannerBtn")]})]})]})]})}])}]);

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.