PageSourceSearch

https://psfk.com/assets/IntelligenceDirectory-DCIDjwN-.js

js psfk.com collected 2026-10-01 08:32:12 UTC 5,229 bytes, 1 lines download raw bytes

1import{r as w,j as e,Z as j,l as k,m as N,S as d,e as m}from"./vendor-react-DyTRQqGN.js";import{J as o,S as v,t as p}from"./index-vIpN2g_P.js";import{TREND_LIBRARY as x}from"./trendLibrary-C2Ce8aXQ.js";import{T as L}from"./TrendCard-Bch8KKHi.js";const $=({onTrendSelect:u,selectedIndustryId:i,onIndustrySelect:l,onHome:g})=>{const[n,h]=w.useState(""),s=i?x.find(t=>t.id===i&&t.type==="Industry"):null,r=x.filter(t=>{const a=t.title.toLowerCase().includes(n.toLowerCase())||t.analysis.toLowerCase().includes(n.toLowerCase());if(s&&s.childSlugs)return t.type==="Sector"&&s.childSlugs.includes(t.id)&&a;if(!i){const b=["retail","beauty","fashion-apparel","sports","consumer-electronics"];return t.type==="Industry"&&b.includes(t.id)&&a}return!1}).sort((t,a)=>t.title.localeCompare(a.title)),f=t=>{t.type==="Industry"?(p("industry_select",{industry_id:t.id}),l(t.id)):(p("trend_select",{trend_id:t.id,parent:t.parentSlug}),u(t))},c={"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,name:"Home",item:"https://www.psfk.com/"},{"@type":"ListItem",position:2,name:"Intelligence",item:"https://www.psfk.com/#/library"}]};s&&c.itemListElement.push({"@type":"ListItem",position:3,name:s.title,item:`https://www.psfk.com/#/intelligence/${s.id}`});const y={"@context":"https://schema.org","@type":"ItemList",name:s?`${s.title} Sectors`:"PSFK Industry Hubs",numberOfItems:r.length,itemListElement:r.map((t,a)=>({"@type":"ListItem",position:a+1,name:t.title,url:`https://www.psfk.com/#/intelligence/${t.parentSlug||t.id}/${t.id}`}))};return e.jsxs("div",{className:"max-w-7xl mx-auto px-4 py-12",children:[e.jsx(o,{data:v.dataset}),e.jsx(o,{data:c}),e.jsx(o,{data:y}),e.jsxs("div",{className:"mb-12 flex flex-col lg:flex-row lg:items-end justify-between gap-8 border-b border-gray-100 pb-12",children:[e.jsxs("div",{className:"flex-1",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[e.jsx("span",{className:"p-2 bg-psfk/10 rounded-lg",children:s?e.jsx(j,{className:"text-psfk w-6 h-6"}):e.jsx(k,{className:"text-psfk w-6 h-6"})}),e.jsx("span",{className:"text-[10px] font-mono font-bold uppercase tracking-widest text-psfk bg-psfk/5 px-2 py-1 rounded",children:s?`Vertical: ${s.title}`:"System Architecture"})]}),e.jsxs("div",{className:"flex items-center gap-4 mb-4",children:[s&&e.jsx("button",{onClick:()=>l(null),className:"p-2 bg-gray-50 rounded-full hover:bg-psfk/10 transition-colors group",children:e.jsx(N,{className:"w-5 h-5 text-gray-400 group-hover:text-psfk"})}),e.jsx("h2",{className:"text-4xl lg:text-5xl font-black tracking-tighter text-gray-900 uppercase",children:s?s.title:"Industry Library"})]}),e.jsx("p",{className:"text-gray-500 max-w-2xl text-lg leading-relaxed font-medium",children:s?`Strategic deep-dives into sectors and signals within the ${s.title} macro-vertical.`:"Structural analysis of global markets, organized by core industry hubs and explicit sector verticals."})]}),e.jsx("div",{className:"w-full lg:w-80",children:e.jsxs("div",{className:"relative group",children:[e.jsx(d,{className:"absolute left-4 top-1/2 -translate-y-1/2 text-gray-400 w-4 h-4 group-focus-within:text-psfk transition-colors"}),e.jsx("input",{type:"text",placeholder:`Search ${s?"sectors":"industries"}...`,className:"w-full pl-12 pr-4 py-4 bg-gray-50 rounded-2xl border-2 border-transparent focus:bg-white focus:border-psfk/20 transition-all outline-none text-sm font-medium shadow-sm",value:n,onChange:t=>h(t.target.value)})]})})]}),e.jsxs("nav",{className:"flex items-center gap-2 mb-10 text-[11px] font-mono font-bold uppercase tracking-[0.2em] text-gray-400 overflow-x-auto whitespace-nowrap scrollbar-hide",children:[e.jsx("button",{onClick:g,className:"hover:text-psfk",children:"Home"}),e.jsx(m,{className:"w-3 h-3 text-gray-200"}),e.jsx("button",{onClick:()=>l(null),className:s?"hover:text-psfk":"text-psfk",children:"Industry Hubs"}),s&&e.jsxs(e.Fragment,{children:[e.jsx(m,{className:"w-3 h-3 text-gray-200"}),e.jsx("span",{className:"text-psfk",children:s.title})]})]}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-8",children:r.map(t=>e.jsx(L,{trend:t,onClick:f},t.id))}),r.length===0&&e.jsxs("div",{className:"py-24 text-center border-2 border-dashed border-gray-100 rounded-[3rem]",children:[e.jsx(d,{className:"w-12 h-12 text-gray-200 mx-auto mb-6"}),e.jsx("p",{className:"text-gray-400 font-mono text-sm uppercase tracking-widest",children:"No matching intelligence nodes found."})]}),!s&&e.jsxs("div",{className:"mt-20 text-center bg-gray-50 border border-gray-200 rounded-3xl p-12",children:[e.jsx("h3",{className:"text-2xl font-bold mb-4",children:"Looking for intelligence on another macro-topic?"}),e.jsx("p",{className:"text-gray-500 mb-8 max-w-xl mx-auto",children:"Our Living Intelligence systems map hundreds of signals across multiple categories beyond our core pillars. Let's discuss accelerating insight for your specific sector."}),e.jsx("a",{href:"#/contact",className:"inline-flex items-center gap-2 bg-psfk text-white px-8 py-4 rounded-xl font-bold uppercase tracking-widest text-sm hover:bg-black transition-colors",children:"Get In Touch"})]})]})};export{$ 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.