PageSourceSearch

https://cartpie.com/assets/SiteLayout-BVa0Y9yh.js

js cartpie.com collected 2026-10-07 18:52:40 UTC 5,045 bytes, 1 lines download raw bytes

1import{n as e,s as t,t as n}from"./jsx-runtime-DnlWeMvz.js";import{S as r}from"./index-vf09njPq.js";import{t as i}from"./createLucideIcon-CHL8iLJY.js";import{n as a,t as o}from"./cartpie-wordmark.png.asset-CWqPKJrC.js";var s=i(`menu`,[[`path`,{d:`M4 5h16`,key:`1tepv9`}],[`path`,{d:`M4 12h16`,key:`1lakjw`}],[`path`,{d:`M4 19h16`,key:`1djgab`}]]),c=i(`x`,[[`path`,{d:`M18 6 6 18`,key:`1bl5f8`}],[`path`,{d:`m6 6 12 12`,key:`d8bk6v`}]]),l=t(e(),1),u=n(),d=[{to:`/mcp`,label:`MCP`},{to:`/docs`,label:`Docs`},{to:`/pricing`,label:`Pricing`},{to:`/use-cases`,label:`Use cases`},{to:`/compare`,label:`Compare`}];function f(){let[e,t]=(0,l.useState)(!1),[n,i]=(0,l.useState)(!1);return(0,l.useEffect)(()=>{let e=()=>i(window.scrollY>8);return e(),window.addEventListener(`scroll`,e,{passive:!0}),()=>window.removeEventListener(`scroll`,e)},[]),(0,u.jsxs)(`header`,{className:`sticky top-0 z-40 transition-colors ${n?`backdrop-blur-xl bg-[color:var(--bg)]/70 border-b border-[color:var(--line)]`:`bg-transparent border-b border-transparent`}`,children:[(0,u.jsxs)(`div`,{className:`mx-auto flex h-16 max-w-[1400px] items-center justify-between px-5`,children:[(0,u.jsxs)(r,{to:`/`,className:`flex items-center gap-2.5 group`,"aria-label":`Cartpie`,children:[(0,u.jsx)(a,{className:`h-10 w-auto`}),(0,u.jsx)(`img`,{src:o.url,alt:`cartpie`,className:`h-5 w-auto`})]}),(0,u.jsx)(`nav`,{className:`hidden md:flex items-center gap-1`,children:d.map(e=>(0,u.jsx)(r,{to:e.to,className:`px-3 py-1.5 rounded-md text-sm text-[color:var(--mut)] hover:text-[color:var(--tx)] hover:bg-[color:var(--bg2)] transition-colors`,activeProps:{className:`text-[color:var(--tx)] bg-[color:var(--bg2)]`},children:e.label},e.to))}),(0,u.jsxs)(`div`,{className:`hidden md:flex items-center gap-2`,children:[(0,u.jsx)(r,{to:`/auth`,className:`text-sm text-[color:var(--mut)] hover:text-[color:var(--tx)] px-3 py-1.5 transition-colors`,children:`Sign in`}),(0,u.jsx)(r,{to:`/auth`,className:`text-sm font-medium bg-[color:var(--acc)] text-[color:var(--primary-foreground)] hover:opacity-90 px-3.5 py-1.5 rounded-[10px] transition-opacity`,children:`Get API key`})]}),(0,u.jsx)(`button`,{className:`md:hidden text-[color:var(--mut)] hover:text-[color:var(--tx)]`,onClick:()=>t(e=>!e),"aria-label":`Toggle menu`,children:e?(0,u.jsx)(c,{className:`h-5 w-5`}):(0,u.jsx)(s,{className:`h-5 w-5`})})]}),e&&(0,u.jsx)(`div`,{className:`md:hidden border-t border-[color:var(--line)] bg-[color:var(--bg)]`,children:(0,u.jsxs)(`div`,{className:`mx-auto max-w-[1400px] px-5 py-3 flex flex-col gap-1`,children:[d.map(e=>(0,u.jsx)(r,{to:e.to,className:`px-3 py-2 rounded-md text-sm text-[color:var(--mut)] hover:text-[color:var(--tx)] hover:bg-[color:var(--bg2)]`,onClick:()=>t(!1),children:e.label},e.to)),(0,u.jsx)(r,{to:`/auth`,className:`mt-2 text-sm font-medium bg-[color:var(--acc)] text-[color:var(--primary-foreground)] px-3.5 py-2 rounded-[10px] text-center`,onClick:()=>t(!1),children:`Get API key`})]})})]})}var p=[{title:`Product`,items:[{to:`/`,label:`API`},{to:`/mcp`,label:`MCP`},{to:`/pricing`,label:`Pricing`},{to:`/`,label:`Status`}]},{title:`Resources`,items:[{to:`/docs`,label:`Docs`},{to:`/`,label:`Changelog`},{to:`/`,label:`Blog`}]},{title:`Company`,items:[{to:`/`,label:`About`},{to:`/`,label:`Contact`}]},{title:`Legal`,items:[{to:`/legal/terms`,label:`Terms`},{to:`/legal/aup`,label:`Acceptable use`},{to:`/legal/privacy`,label:`Privacy`}]}];function m(){return(0,u.jsxs)(`footer`,{className:`border-t border-[color:var(--line)] mt-24`,children:[(0,u.jsxs)(`div`,{className:`mx-auto max-w-[1400px] px-5 py-12 grid grid-cols-2 md:grid-cols-5 gap-8`,children:[(0,u.jsxs)(`div`,{className:`col-span-2 md:col-span-1`,children:[(0,u.jsxs)(r,{to:`/`,className:`flex items-center gap-2.5`,"aria-label":`Cartpie`,children:[(0,u.jsx)(a,{className:`h-9 w-auto`}),(0,u.jsx)(`img`,{src:o.url,alt:`cartpie`,className:`h-[18px] w-auto`})]}),(0,u.jsx)(`p`,{className:`mt-3 text-xs text-[color:var(--dim)] leading-relaxed max-w-[220px]`,children:`Any retailer URL in, clean structured product data out.`})]}),p.map(e=>(0,u.jsxs)(`div`,{children:[(0,u.jsx)(`div`,{className:`text-xs font-mono uppercase tracking-wider text-[color:var(--dim)] mb-3`,children:e.title}),(0,u.jsx)(`ul`,{className:`space-y-2`,children:e.items.map(e=>(0,u.jsx)(`li`,{children:(0,u.jsx)(r,{to:e.to,className:`text-sm text-[color:var(--mut)] hover:text-[color:var(--tx)] transition-colors`,children:e.label})},e.label))})]},e.title))]}),(0,u.jsx)(`div`,{className:`border-t border-[color:var(--line)]`,children:(0,u.jsxs)(`div`,{className:`mx-auto max-w-[1400px] px-5 py-5 flex items-center justify-between text-xs text-[color:var(--dim)]`,children:[(0,u.jsxs)(`span`,{children:[`© `,new Date().getFullYear(),` Cartpie`]}),(0,u.jsx)(`span`,{className:`font-mono`,children:`v0.1`})]})})]})}function h({children:e}){return(0,u.jsxs)(`div`,{className:`min-h-screen flex flex-col bg-[color:var(--bg)]`,children:[(0,u.jsx)(f,{}),(0,u.jsx)(`main`,{className:`flex-1`,children:e}),(0,u.jsx)(m,{})]})}
1export{h as t};

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.