1import{V as o,d as n,j as e,A as c,G as d,O as r,E as l,b as m}from"./index-D8kDmSmx.js";import{a as x,C as p}from"./CodeBlock-BsOoSIW0.js";import{U as u,S as a,I as b,P as h,O as v}from"./OnThisPage-D9indGC2.js";import{V as g}from"./ToolCard-DR7WEN4o.js";const f=[{id:"description",label:"Description"},{id:"apify",label:"View on Apify"},{id:"use-cases",label:"Use Cases"},{id:"features",label:"Features"},{id:"input",label:"Input"},{id:"output-schema",label:"Output Schema"},{id:"pricing",label:"Pricing"},{id:"available-on",label:"Available On"},{id:"related",label:"Related"}];function k(){const{actor:s}=o.useLoaderData(),i=n.filter(t=>t.slug!==s.slug&&t.category===s.category).slice(0,4);return e.jsxs("div",{className:"mx-auto max-w-6xl px-6 py-10 md:py-14 flex gap-10",children:[e.jsxs("div",{className:"flex-1 max-w-3xl min-w-0",children:[e.jsxs("button",{onClick:()=>window.history.back(),className:"inline-flex items-center gap-1.5 text-[13px] text-[var(--mb-text2)] hover:text-foreground transition cursor-pointer",children:[e.jsx(c,{className:"h-3.5 w-3.5"}),"Back"]}),e.jsx("h1",{className:"mt-6 text-3xl md:text-4xl font-bold tracking-tight",children:s.name}),e.jsxs("div",{className:"mt-3 flex flex-wrap items-center gap-2",children:[e.jsx(g,{version:s.version}),e.jsx("span",{className:"inline-flex items-center rounded-full bg-[var(--mb-violet-soft)] px-2.5 py-0.5 text-[11px] font-semibold text-[var(--mb-violet)]",children:s.price}),e.jsx("span",{className:"inline-flex items-center rounded-full border border-border bg-[var(--mb-surface)] px-2.5 py-0.5 text-[10.5px] font-medium uppercase tracking-wider text-[var(--mb-text2)]",children:s.categoryLabel})]}),e.jsx("p",{className:"mt-2 text-[12px] text-[var(--mb-text2)]",children:d(`/actors/${s.slug}`)}),e.jsx("p",{id:"description",className:"mt-4 scroll-mt-20 text-[15px] text-[var(--mb-text2)] leading-relaxed",children:s.description}),s.storeUrl&&e.jsxs("div",{id:"apify",className:"mt-6 flex flex-wrap items-center gap-3 scroll-mt-20",children:[e.jsxs(r,{href:s.storeUrl,pageKind:"actor",pageRoute:`/actors/${s.slug}`,className:"inline-flex items-center gap-2 rounded-md bg-[var(--mb-violet)] px-4 py-2 text-[14px] font-semibold text-white transition hover:opacity-90",children:["View on Apify Store",e.jsx(l,{className:"h-3.5 w-3.5"})]}),e.jsxs(r,{href:"https://console.apify.com/sign-up",through:!0,pageKind:"actor",pageRoute:`/actors/${s.slug}`,className:"inline-flex items-center gap-2 rounded-md border border-border px-4 py-2 text-[14px] font-semibold text-[var(--mb-text2)] transition hover:border-[var(--mb-violet)] hover:text-[var(--mb-violet)]",children:["Create an Apify account",e.jsx(l,{className:"h-3.5 w-3.5"})]})]}),e.jsx("div",{id:"use-cases",className:"scroll-mt-20",children:e.jsx(u,{tool:s})}),e.jsxs("div",{id:"features",className:"mt-10 scroll-mt-20",children:[e.jsx(a,{children:"Features"}),e.jsx("ul",{className:"mt-3 space-y-2.5",children:s.features.filter(t=>!/MCP client/i.test(t)).map(t=>e.jsxs("li",{className:"flex items-start gap-2.5 text-[14px]",children:[e.jsx("span",{className:"mt-[3px] inline-flex h-4 w-4 flex-shrink-0 items-center justify-center rounded-full bg-[var(--mb-violet-soft)] text-[var(--mb-violet)]",children:e.jsx(x,{className:"h-2.5 w-2.5",strokeWidth:3})}),e.jsx("span",{className:"text-foreground/90",children:t})]},t))})]}),e.jsx("div",{id:"input",className:"scroll-mt-20",children:e.jsx(b,{tool:s})}),e.jsxs("div",{id:"output-schema",className:"mt-10 scroll-mt-20",children:[e.jsx(a,{children:"Output schema"}),e.jsx("div",{className:"mt-2",children:e.jsx(p,{code:s.schema,language:"json"})})]}),e.jsx("div",{id:"pricing",className:"scroll-mt-20",children:e.jsx(h,{tool:s})}),e.jsxs("div",{id:"available-on",className:"mt-10 scroll-mt-20",children:[e.jsx(a,{children:"Available on"}),e.jsx("div",{className:"mt-3 flex flex-wrap gap-2",children:s.registries.map(t=>e.jsxs(r,{href:t.url,pageKind:"actor",pageRoute:`/actors/${s.slug}`,className:"inline-flex items-center gap-1.5 rounded-full border border-border bg-[var(--mb-surface)] px-3 py-1.5 text-[12.5px] font-medium text-[var(--mb-text2)] hover:border-[var(--mb-violet)] hover:text-[var(--mb-violet)] transition",children:[t.name,e.jsx(l,{className:"h-3 w-3"})]},t.name))})]}),i.length>0&&e.jsxs("div",{id:"related",className:"mt-14 scroll-mt-20 border-t border-border pt-8",children:[e.jsx(a,{children:"Related actors"}),e.jsx("div",{className:"mt-3 grid grid-cols-1 sm:grid-cols-2 gap-2",children:i.map(t=>e.jsx(m,{to:"/actors/$slug",params:{slug:t.slug},className:"rounded-md border border-border px-3 py-2.5 text-[13.5px] hover:border-[var(--mb-violet)] hover:text-[var(--mb-violet)] transition",children:t.name},t.slug))})]})]}),e.jsx(v,{sections:f})]})}
1export{k 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.