module.exports=[93695,(a,b,c)=>{b.exports=a.x("next/dist/shared/lib/no-fallback-error.external.js",()=>require("next/dist/shared/lib/no-fallback-error.external.js"))},26758,a=>{a.v("/_next/static/media/favicon.2vob68tjqpejf.ico"+(globalThis.NEXT_CLIENT_ASSET_SUFFIX||""))},38872,a=>{"use strict";let b={src:a.i(26758).default,width:256,height:256};a.s(["default",0,b])},50708,a=>{"use strict";var b=a.i(7997);function c(){return(0,b.jsx)("section",{className:"pt-32 pb-20 px-6",children:(0,b.jsxs)("div",{className:"max-w-4xl mx-auto text-center",children:[(0,b.jsx)("div",{className:"inline-block mb-6 px-5 py-2 rounded-full bg-blue-500/10 border border-blue-500/30 text-blue-400 text-sm font-medium",children:"Open source · MIT licensed"}),(0,b.jsxs)("h1",{className:"text-4xl md:text-5xl lg:text-6xl font-extrabold tracking-tight mb-6 leading-tight bg-gradient-to-r from-white to-zinc-400 bg-clip-text text-transparent",children:["Self-hostable HTTP request",(0,b.jsx)("br",{}),"inspector + mocker"]}),(0,b.jsxs)("p",{className:"text-lg md:text-xl text-zinc-400 mb-10 max-w-2xl mx-auto leading-relaxed",children:["One Go binary. SQLite under the hood.",(0,b.jsx)("code",{className:"mx-1 px-2 py-0.5 bg-zinc-800 border border-zinc-700 rounded text-fuchsia-400 text-base",children:"docker compose up"}),", and you have an inspection endpoint and a live feed in under 30 seconds."]}),(0,b.jsxs)("div",{className:"flex flex-col sm:flex-row gap-4 justify-center mb-16",children:[(0,b.jsxs)("a",{href:"https://github.com/elfoundation/hatch",className:"inline-flex items-center justify-center gap-2 px-8 py-4 bg-blue-500 hover:bg-blue-600 text-white font-semibold rounded-lg transition-all shadow-lg shadow-blue-500/30 hover:shadow-xl hover:shadow-blue-500/40 hover:-translate-y-0.5",children:[(0,b.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:(0,b.jsx)("path",{d:"M9 19c-5 1.5-5-2.5-7-3m14 6v-3.87a3.37 3.37 0 0 0-.94-2.61c3.14-.35 6.44-1.54 6.44-7A5.44 5.44 0 0 0 20 4.77 5.07 5.07 0 0 0 19.91 1S18.73.65 16 2.48a13.38 13.38 0 0 0-7 0C6.27.65 5.09 1 5.09 1A5.07 5.07 0 0 0 5 4.77a5.44 5.44 0 0 0-1.5 3.78c0 5.42 3.3 6.61 6.44 7A3.37 3.37 0 0 0 9 18.13V22"})}),"View on GitHub"]}),(0,b.jsx)("a",{href:"https://github.com/elfoundation/hatch#quick-start",className:"inline-flex items-center justify-center gap-2 px-8 py-4 bg-zinc-800 hover:bg-zinc-700 text-white font-semibold rounded-lg border border-zinc-700 transition-all shadow-lg hover:shadow-xl hover:-translate-y-0.5",children:"Quick Start →"})]}),(0,b.jsxs)("div",{className:"max-w-2xl mx-auto rounded-xl overflow-hidden border border-zinc-800 bg-zinc-900/50 backdrop-blur-sm shadow-2xl",children:[(0,b.jsxs)("div",{className:"flex items-center gap-2 px-4 py-3 bg-gradient-to-r from-zinc-800/50 to-zinc-800/30 border-b border-zinc-800",children:[(0,b.jsx)("div",{className:"w-3 h-3 rounded-full bg-zinc-600"}),(0,b.jsx)("div",{className:"w-3 h-3 rounded-full bg-zinc-600"}),(0,b.jsx)("div",{className:"w-3 h-3 rounded-full bg-zinc-600"}),(0,b.jsx)("span",{className:"ml-2 text-sm text-zinc-500",children:"terminal"})]}),(0,b.jsx)("pre",{className:"p-5 text-left text-sm font-mono overflow-x-auto",children:(0,b.jsxs)("code",{children:[(0,b.jsx)("span",{className:"text-blue-400 font-semibold",children:"$"})," ",(0,b.jsx)("span",{className:"text-zinc-300",children:"docker compose up -d"}),"\n",(0,b.jsx)("span",{className:"text-emerald-400",children:"✓ hatch started on :8080"}),"\n",(0,b.jsx)("span",{className:"text-blue-400 font-semibold",children:"$"})," ",(0,b.jsxs)("span",{className:"text-zinc-300",children:["curl -X POST https://your-bin.hatch.surf/test -d ","{'hello':'world'}"]}),"\n",(0,b.jsx)("span",{className:"text-emerald-400",children:"✓ captured — view at https://your-bin.hatch.surf/inspect"})]})})]})]})})}let d=[{icon:(0,b.jsxs)("svg",{width:"28",height:"28",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,b.jsx)("circle",{cx:"12",cy:"12",r:"10"}),(0,b.jsx)("polyline",{points:"12 6 12 12 16 14"})]}),title:"Capture",description:"Method, path, headers, query, body. Persists across restarts because the storage is SQLite on disk, not a hosted queue.",color:"blue"},{icon:(0,b.jsxs)("svg",{width:"28",height:"28",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,b.jsx)("path",{d:"M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z"}),(0,b.jsx)("circle",{cx:"12",cy:"12",r:"3"})]}),title:"Inspect",description:"A live SSE feed of incoming requests. Click any captured request to see the headers, the body, the timing.",color:"purple"},{icon:(0,b.jsxs)("svg",{width:"28",height:"28",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,b.jsx)("polyline",{points:"16 18 22 12 16 6"}),(0,b.jsx)("polyline",{points:"8 6 2 12 8 18"})]}),title:"Mock",description:"Return a 200, a 500, or a custom JSON payload. For testing your own retry, backoff, and error-handling logic.",color:"cyan"}],e={blue:{icon:"bg-blue-500/15 text-blue-400",hover:"hover:border-blue-500/40 hover:shadow-blue-500/10"},purple:{icon:"bg-purple-500/15 text-purple-400",hover:"hover:border-purple-500/40 hover:shadow-purple-500/10"},cyan:{icon:"bg-cyan-500/15 text-cyan-400",hover:"hover:border-cyan-500/40 hover:shadow-cyan-500/10"}};function f(){return(0,b.jsx)("section",{className:"py-20 px-6",children:(0,b.jsxs)("div",{className:"max-w-4xl mx-auto",children:[(0,b.jsx)("h2",{className:"text-3xl md:text-4xl font-bold text-center mb-16",children:"Three things, and nothing else"}),(0,b.jsx)("div",{className:"grid md:grid-cols-3 gap-8",children:d.map(a=>{let c=e[a.color];return(0,b.jsxs)("div",{className:`p-6 rounded-xl bg-gradient-to-b from-zinc-900/80 to-zinc-900/40 border border-zinc-800 ${c.hover} transition-all hover:-translate-y-1 shadow-lg hover:shadow-xl`,children:[(0,b.jsx)("div",{className:`w-14 h-14 flex items-center justify-center rounded-xl ${c.icon} mb-4 shadow-lg`,children:a.icon}),(0,b.jsx)("h3",{className:"text-xl font-semibold mb-2",children:a.title}),(0,b.jsx)("p",{className:"text-zinc-400 leading-relaxed",children:a.description})]},a.title)})})]})})}let g=[{number:"01",title:"Compliance and privacy",description:"Some teams cannot legally send webhook payloads to a hosted SaaS. Hatch keeps the data on your own network.",color:"blue"},{number:"02",title:"Cost",description:"A hosted inspector charges per request, per seat, or per retention day. Hatch is one Go binary on a $5 VPS. There is no per-request fee because there is no one to charge it.",color:"purple"},{number:"03",title:"Speed of setup",description:(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)("code",{className:"px-2 py-0.5 bg-zinc-800 border border-zinc-700 rounded text-fuchsia-400 text-sm",children:"docker compose up"})," ","is faster than signing up for a SaaS, verifying your email, configuring your first bin, and pasting the URL into your webhook config."]}),color:"cyan"}],h={blue:"border-l-blue-500",purple:"border-l-purple-500",cyan:"border-l-cyan-500"};function i(){return(0,b.jsx)("section",{className:"py-20 px-6",children:(0,b.jsxs)("div",{className:"max-w-4xl mx-auto",children:[(0,b.jsx)("h2",{className:"text-3xl md:text-4xl font-bold text-center mb-16",children:"Why a single binary, not a SaaS"}),(0,b.jsx)("div",{className:"grid md:grid-cols-3 gap-6",children:g.map(a=>(0,b.jsxs)("div",{className:`p-6 rounded-xl bg-gradient-to-b from-zinc-900/80 to-zinc-900/40 border border-zinc-800 border-l-4 ${h[a.color]} hover:-translate-y-1 transition-all shadow-lg hover:shadow-xl`,children:[(0,b.jsx)("div",{className:"text-4xl font-bold text-zinc-600 font-mono mb-4",children:a.number}),(0,b.jsx)("h3",{className:"text-xl font-semibold mb-2",children:a.title}),(0,b.jsx)("p",{className:"text-zinc-400 leading-relaxed",children:a.description})]},a.number))})]})})}function j(){return(0,b.jsx)("section",{className:"py-24 px-6 bg-gradient-to-b from-zinc-900/30 to-zinc-900/60",children:(0,b.jsxs)("div",{className:"max-w-4xl mx-auto text-center",children:[(0,b.jsx)("h2",{className:"text-4xl md:text-5xl font-extrabold mb-4 bg-gradient-to-r from-white to-blue-400 bg-clip-text text-transparent",children:"Start inspecting in 30 seconds"}),(0,b.jsx)("p",{className:"text-xl text-zinc-400 mb-10",children:"One binary. Your data stays yours."}),(0,b.jsx)("a",{href:"https://github.com/elfoundation/hatch",className:"inline-flex items-center justify-center gap-2 px-10 py-5 bg-blue-500 hover:bg-blue-600 text-white font-semibold rounded-lg transition-all shadow-lg shadow-blue-500/30 hover:shadow-xl hover:shadow-blue-500/40 hover:-translate-y-0.5 text-lg",children:"Get Hatch →"})]})})}a.s(["default",0,function(){return(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(c,{}),(0,b.jsx)(f,{}),(0,b.jsx)(i,{}),(0,b.jsx)(j,{})]})}],50708)},26030,a=>{a.n(a.i(50708))}]; //# sourceMappingURL=%5Broot-of-the-server%5D__02fbh2n._.js.map