PageSourceSearch

https://everything-pr.com/assets/search-S88z7hiT.js

js everything-pr.com collected 2026-10-02 03:59:23 UTC 10,314 bytes, 1 lines download raw bytes

1import{V as h,b as y,r as k,j as e,L as o,c as w}from"./index-lnBFix7s.js";import{A as P}from"./ArchiveView-CjXRvEGl.js";import{S as R,a as S}from"./SiteLayout-DP1_tKkr.js";import{w as A}from"./has-hero-CF-fFVAN.js";import{S as I}from"./search-DNjNBRHw.js";import{c as l}from"./createLucideIcon-oDu_FO0S.js";import{B as b}from"./book-open-DFua689e.js";import{U as p}from"./users-DOerwYfX.js";import{N as L}from"./newspaper-BZRBNeLY.js";import{A as _}from"./arrow-right-DqTVCOA4.js";import"./menu-C7ZoPXoz.js";import"./x-D9fImDg2.js";const E=[["path",{d:"M10 12h4",key:"a56b0p"}],["path",{d:"M10 8h4",key:"1sr2af"}],["path",{d:"M14 21v-3a2 2 0 0 0-4 0v3",key:"1rgiei"}],["path",{d:"M6 10H4a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-2",key:"secmi2"}],["path",{d:"M6 21V5a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v16",key:"16ra0t"}]],M=l("building-2",E);const O=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m16.24 7.76-1.804 5.411a2 2 0 0 1-1.265 1.265L7.76 16.24l1.804-5.411a2 2 0 0 1 1.265-1.265z",key:"9ktpf1"}]],B=l("compass",O);const C=[["path",{d:"M14 2v6a2 2 0 0 0 .245.96l5.51 10.08A2 2 0 0 1 18 22H6a2 2 0 0 1-1.755-2.96l5.51-10.08A2 2 0 0 0 10 8V2",key:"18mbvz"}],["path",{d:"M6.453 15h11.094",key:"3shlmq"}],["path",{d:"M8.5 2h7",key:"csnxdl"}]],g=l("flask-conical",C);const D=[["path",{d:"M21.42 10.922a1 1 0 0 0-.019-1.838L12.83 5.18a2 2 0 0 0-1.66 0L2.6 9.08a1 1 0 0 0 0 1.832l8.57 3.908a2 2 0 0 0 1.66 0z",key:"j76jl0"}],["path",{d:"M22 10v6",key:"1lu8f3"}],["path",{d:"M6 12.5V16a6 3 0 0 0 12 0v-3.5",key:"1r8lef"}]],G=l("graduation-cap",D),f=r=>{const a=S.find(c=>c.label===r);return a&&a.kind==="menu"&&a.groups?a.groups:[]},H=f("Sectors"),F=f("Disciplines"),U=[{label:"Sectors",to:"#sectors",icon:B,blurb:"Industry verticals — AI, fintech, healthcare, gambling, real estate & more."},{label:"Disciplines",to:"#disciplines",icon:G,blurb:"PR & marketing practices — GEO, crisis, media training, IR, social."},{label:"Research",to:"/research",icon:g,blurb:"Original studies, indexes and citation-share data."},{label:"Glossary",to:"/glossary",icon:b,blurb:"Plain-language definitions across PR, AI, marketing & policy."},{label:"Authors",to:"/authors",icon:p,blurb:"Our contributors, editors and industry voices."},{label:"PR Firms",to:"/pr-agency-profiles-directory",icon:M,blurb:"Directory of 489 agency profiles."},{label:"Latest News",to:"/pr-news",icon:L,blurb:"Breaking PR & communications news."},{label:"RFP",to:"/rfp",icon:_,blurb:"How to hire the right PR agency."}],V=["AI communications","crisis PR","generative engine optimization","fintech PR","healthcare PR","earned media","executive branding","media training"];function u(r){return r.kind==="category"?{to:w(r.slug)}:r.kind==="post"?{to:"/$slug",params:{slug:r.slug}}:{to:r.to}}function se(){const r=h.useLoaderData(),{s:a,page:c}=h.useSearch(),n=c??1,j=y({from:"/search"}),[d,N]=k.useState(a??""),v=s=>{s.preventDefault();const t=d.trim();j({search:{s:t,page:1}})};return e.jsxs(R,{children:[e.jsx("section",{className:"border-b bg-gradient-to-b from-surface-soft/60 to-background",children:e.jsxs("div",{className:"mx-auto max-w-5xl px-6 py-12 md:py-16",children:[e.jsx("div",{className:"text-[11px] font-bold uppercase tracking-[0.22em] text-ticker mb-3",children:"Search & Browse"}),e.jsx("h1",{className:"font-serif text-4xl md:text-5xl font-bold leading-tight",children:"Find anything across Everything-PR."}),e.jsx("p",{className:"mt-3 text-muted-foreground max-w-2xl",children:"Search 7,000+ articles, or jump straight into a sector, discipline, research report, glossary term or author."}),e.jsxs("form",{onSubmit:v,className:"mt-6 flex items-center gap-2 rounded-xl border bg-background shadow-sm focus-within:ring-2 focus-within:ring-brand-blue/40 transition",children:[e.jsx(I,{className:"ml-4 h-5 w-5 text-muted-foreground shrink-0"}),e.jsx("input",{type:"search",value:d,onChange:s=>N(s.target.value),placeholder:"Search articles, sectors, firms, research…",className:"flex-1 bg-transparent py-4 px-2 text-base md:text-lg outline-none placeholder:text-muted-foreground/70",autoFocus:!0}),e.jsx("button",{type:"submit",className:"m-1.5 rounded-lg bg-brand-blue px-5 py-2.5 text-sm font-semibold text-white hover:opacity-90 transition",children:"Search"})]}),e.jsxs("div",{className:"mt-4 flex flex-wrap items-center gap-2 text-sm",children:[e.jsx("span",{className:"text-muted-foreground",children:"Popular:"}),V.map(s=>e.jsx(o,{to:"/search",search:{s,page:1},className:"rounded-full border px-3 py-1 text-xs hover:bg-surface-soft hover:border-brand-blue/40",children:s},s))]})]})}),a&&r?e.jsx("section",{className:"border-b",children:e.jsxs("div",{className:"mx-auto max-w-7xl px-6 py-10",children:[e.jsxs("div",{className:"flex items-baseline justify-between mb-2",children:[e.jsxs("h2",{className:"font-serif text-2xl md:text-3xl font-bold",children:['Results for "',a,'"']}),e.jsxs("div",{className:"text-sm text-muted-foreground",children:[r.totalItems.toLocaleStr
1ing()," match",r.totalItems===1?"":"es"]})]}),r.items.length===0?e.jsx("div",{className:"py-12 text-center text-muted-foreground",children:"No articles found. Try a different keyword or browse below."}):e.jsxs("div",{children:[A(r.items).map(s=>e.jsx(P,{post:s},s.id)),r.totalPages>1?e.jsxs("div",{className:"mt-8 flex items-center justify-center gap-2 text-sm",children:[n>1?e.jsx(o,{to:"/search",search:{s:a,page:n-1},className:"rounded-md border px-3 py-2 hover:bg-surface-soft",children:"← Prev"}):null,e.jsxs("span",{className:"px-3 text-muted-foreground",children:["Page ",n," of ",r.totalPages]}),n<r.totalPages?e.jsx(o,{to:"/search",search:{s:a,page:n+1},className:"rounded-md border px-3 py-2 hover:bg-surface-soft",children:"Next →"}):null]}):null]})]})}):null,e.jsxs("section",{className:"mx-auto max-w-7xl px-6 py-12",children:[e.jsx("div",{className:"text-[11px] font-bold uppercase tracking-[0.22em] text-ticker mb-3",children:"Browse the site"}),e.jsx("h2",{className:"font-serif text-2xl md:text-3xl font-bold mb-6",children:"Where do you want to go?"}),e.jsx("div",{className:"grid grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-3",children:U.map(s=>{const t=s.icon,i=s.to.startsWith("#"),m=e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"flex items-center gap-2 mb-2",children:[e.jsx(t,{className:"h-5 w-5 text-brand-blue"}),e.jsx("div",{className:"font-semibold",children:s.label})]}),e.jsx("div",{className:"text-xs text-muted-foreground line-clamp-2",children:s.blurb})]}),x="block rounded-lg border p-4 hover:border-brand-blue/60 hover:shadow-sm transition bg-background";return i?e.jsx("a",{href:s.to,className:x,children:m},s.label):e.jsx(o,{to:s.to,className:x,children:m},s.label)})})]}),e.jsx("section",{id:"sectors",className:"border-t bg-surface-soft/40",children:e.jsxs("div",{className:"mx-auto max-w-7xl px-6 py-12 scroll-mt-20",children:[e.jsx("div",{className:"text-[11px] font-bold uppercase tracking-[0.22em] text-ticker mb-3",children:"Sectors"}),e.jsx("h2",{className:"font-serif text-2xl md:text-3xl font-bold mb-6",children:"Browse by industry vertical"}),e.jsx("div",{className:"grid md:grid-cols-2 gap-x-10 gap-y-8",children:H.map(s=>e.jsxs("div",{children:[e.jsx("h3",{className:"text-sm font-bold uppercase tracking-wider text-muted-foreground mb-3 pb-2 border-b",children:s.label}),e.jsx("ul",{className:"grid grid-cols-2 gap-x-4 gap-y-1.5 text-sm",children:s.children.map(t=>{const i=u(t);return e.jsx("li",{children:e.jsx(o,{...i,className:"text-foreground hover:text-brand-blue hover:underline",children:t.label})},t.label)})})]},s.label))})]})}),e.jsx("section",{id:"disciplines",className:"border-t",children:e.jsxs("div",{className:"mx-auto max-w-7xl px-6 py-12 scroll-mt-20",children:[e.jsx("div",{className:"text-[11px] font-bold uppercase tracking-[0.22em] text-ticker mb-3",children:"Disciplines"}),e.jsx("h2",{className:"font-serif text-2xl md:text-3xl font-bold mb-6",children:"Browse by PR & marketing practice"}),e.jsx("div",{className:"grid md:grid-cols-2 gap-x-10 gap-y-8",children:F.map(s=>e.jsxs("div",{children:[e.jsx("h3",{className:"text-sm font-bold uppercase tracking-wider text-muted-foreground mb-3 pb-2 border-b",children:s.label}),e.jsx("ul",{className:"grid grid-cols-2 gap-x-4 gap-y-1.5 text-sm",children:s.children.map(t=>{const i=u(t);return e.jsx("li",{children:e.jsx(o,{...i,className:"text-foreground hover:text-brand-blue hover:underline",children:t.label})},t.label)})})]},s.label))})]})}),e.jsx("section",{className:"border-t bg-surface-soft/40",children:e.jsxs("div",{className:"mx-auto max-w-7xl px-6 py-12 grid md:grid-cols-3 gap-6",children:[e.jsxs(o,{to:"/research",className:"group rounded-lg border bg-background p-6 hover:border-brand-blue/60 hover:shadow-sm transition",children:[e.jsx(g,{className:"h-6 w-6 text-brand-blue mb-3"}),e.jsx("div",{className:"font-serif text-xl font-bold mb-1",children:"Research"}),e.jsx("p",{className:"text-sm text-muted-foreground mb-3",children:"Original studies, citation-share indexes, and the Who-Controls-AI-Answers series."}),e.jsx("span",{className:"text-sm font-medium text-brand-blue group-hover:underline",children:"Open research index →"})]}),e.jsxs(o,{to:"/glossary",className:"group rounded-lg border bg-background p-6 hover:border-brand-blue/60 hover:shadow-sm transition",children:[e.jsx(b,{className:"h-6 w-6 text-brand-blue mb-3"}),e.jsx("div",{className:"font-serif text-xl font-bold mb-1",children:"Glossary"}),e.jsx("p",{className:"text-sm text-muted-foreground mb-3",children:"500+ definitions across AI discovery, earned media, crisis, fintech, healthcare and more."}),e.jsx("span",{className:"text-sm font-medium text-brand-blue group-hover:underline",children:"Browse glossary →"})]}),e.jsxs(o,{to:"/authors",className:"group rounded-lg border bg-background p-6 hover:border-brand-blue/60 hover:shadow-sm transition",children:[e.jsx(p,{className:"h-6 w-6 text-brand-blue mb-3"}),e.jsx("div",{className:"font-serif text-xl font-bold mb-1",children:"Authors"}),e.jsx("p",{className:"text-sm text-muted-foreground mb-3",children:"Editors, columnists and industry contributors writing for Everything-PR."}),e.jsx("span",{className:"text-sm font-medium text-brand-blue group-hover:underline",children:"See contributors →"})]})]})})]})}export{se 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.