1import{r as n,j as e}from"./vendor-query-CnAhr2B8.js";import{a as c,p as o,q as m,r as x,aN as p,aA as g,aT as h,s as j,d as r,B as N}from"./index-CLUtDhnY.js";import{A as s}from"./socialMediaTypes-gKLzNDjf.js";import{T as b}from"./target-B8Bp25HY.js";import{C as f}from"./copy-DqvK93Bf.js";import"./vendor-ui-CYA7SV0W.js";import"./vendor-charts-CPMWc2oJ.js";import"./vendor-forms-UY-il7MQ.js";function E(){const{toast:i}=c(),[t,d]=n.useState(!1),l=()=>{const a=`AD TARGETING -- SmallBizAgent 2Objective: Lead Generation -> Demo Booking 3CTA: Book Now -> smallbizagent.ai/demo 4Budget: ${s.budget} 5 6INTERESTS: ${s.interests.join(", ")} 7BEHAVIORS: ${s.behaviors.join(", ")} 8AGE: ${s.demographics.age} 9LOCATIONS: ${s.demographics.locations} 10JOB TITLES: ${s.demographics.jobTitles.join(", ")}`;navigator.clipboard.writeText(a),i({title:"Targeting sheet copied to clipboard"})};return e.jsxs(o,{children:[e.jsxs(m,{className:"cursor-pointer",onClick:()=>d(!t),children:[e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(b,{className:"h-5 w-5"}),e.jsx(x,{className:"text-base",children:"Ad Targeting Cheat Sheet"})]}),t?e.jsx(p,{className:"h-5 w-5"}):e.jsx(g,{className:"h-5 w-5"})]}),e.jsx(h,{children:"Meta ad targeting parameters for SmallBizAgent's audience"})]}),t&&e.jsxs(j,{className:"space-y-4",children:[e.jsxs("div",{className:"bg-emerald-50 border border-emerald-200 rounded-lg p-4 flex items-center justify-between flex-wrap gap-3",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-xs font-semibold text-emerald-700 uppercase tracking-wider mb-1",children:"Campaign Objective"}),e.jsx("p",{className:"font-semibold",children:s.objective}),e.jsx("p",{className:"text-xs text-muted-foreground mt-1",children:s.cta})]}),e.jsxs("div",{className:"text-right",children:[e.jsx("p",{className:"text-xs text-muted-foreground",children:"Daily Budget"}),e.jsx("p",{className:"text-xl font-bold font-mono text-amber-600",children:s.budget})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{className:"border rounded-lg p-4",children:[e.jsx("p",{className:"text-xs font-semibold text-blue-600 uppercase tracking-wider mb-3",children:"Interests"}),e.jsx("div",{className:"flex flex-wrap gap-1.5",children:s.interests.map(a=>e.jsx(r,{variant:"secondary",className:"text-xs",children:a},a))})]}),e.jsxs("div",{className:"border rounded-lg p-4",children:[e.jsx("p",{className:"text-xs font-semibold text-purple-600 uppercase tracking-wider mb-3",children:"Behaviors"}),e.jsx("div",{className:"flex flex-wrap gap-1.5 mb-4",children:s.behaviors.map(a=>e.jsx(r,{variant:"secondary",className:"text-xs",children:a},a))}),e.jsxs("div",{className:"border-t pt-3",children:[e.jsx("p",{className:"text-xs font-semibold text-amber-600 uppercase tracking-wider mb-2",children:"Demographics"}),e.jsxs("div",{className:"space-y-1 text-sm",children:[e.jsxs("div",{className:"flex justify-between",children:[e.jsx("span",{className:"text-muted-foreground",children:"Age"}),e.jsx("span",{className:"font-mono",children:s.demographics.age})]}),e.jsxs("div",{className:"flex justify-between",children:[e.jsx("span",{className:"text-muted-foreground",children:"Location"}),e.jsx("span",{children:s.demographics.locations})]})]})]})]})]}),e.jsxs("div",{className:"border rounded-lg p-4",children:[e.jsx("p",{className:"text-xs font-semibold text-red-600 uppercase tracking-wider mb-3",children:"Job Titles to Target"}),e.jsx("div",{className:"flex flex-wrap gap-1.5",children:s.demographics.jobTitles.map(a=>e.jsx(r,{variant:"outline",className:"text-xs border-red-200 text-red-700",children:a},a))})]}),e.jsxs(N,{variant:"outline",className:"flex items-center gap-2",onClick:l,children:[e.jsx(f,{className:"h-4 w-4"}),"Copy Full Targeting Sheet"]})]})]})}export{E as default};
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.