PageSourceSearch

https://www.wedopr.com/assets/TopicAuthorityPage-DlTLuL__.js

js wedopr.com collected 2026-10-07 18:51:19 UTC 28,061 bytes, 1 lines download raw bytes

1import{r as j,j as e,w as R,m as z}from"./react-core-DGbc2Y4Q.js";import{S as m,c as T,H as k,B as D,F as O}from"./render-app-BKEtI_Gz.js";import{B as A}from"./Breadcrumb-Op2r53bp.js";import{S as C}from"./seo-injector-DcbDJuz9.js";import{a as X,g as o,c as J,T as y}from"./topic-authority-CHshOZhv.js";import{v as B,j as q,A as b,t as G,N as K,ak as Q,aj as P,J as H,ap as V,E as Y,aq as Z,q as ee,S as se,m as te,r as le,s as ae}from"./icons-vendor-C1hvyZgf.js";import{B as re}from"./badge-C8BXxVvd.js";import"./index-CzV5y2Z9.js";import"./feedback-vendor-lUOMG4xM.js";import"./radix-vendor-BG8iXauy.js";import"./utils-vendor-DPhhqT8T.js";const ie="slug,title,publish_date,created_at,hero_image,content";function ne(){return{supabaseUrl:String("https://zwqykreyvrexhjwrcddq.supabase.co").replace(/\/$/,""),supabaseAnonKey:String("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6Inp3cXlrcmV5dnJleGhqd3JjZGRxIiwicm9sZSI6ImFub24iLCJpYXQiOjE3NjQzODUzNzMsImV4cCI6MjA3OTk2MTM3M30.Wk_QBlQHR5MTwH4JjbVrfhseIyHMnXbVw89B5jvs_JM")}}async function ce(s){try{const a=await fetch(`/api/topic-cluster-posts?topic=${encodeURIComponent(s)}`);if(a.ok){const l=await a.json();return{posts:Array.isArray(l==null?void 0:l.posts)?l.posts:[],errorMessage:null}}}catch{}const n=ne();if(!n)return{posts:[],errorMessage:"目前無法讀取主題文章資料,核心主題內容仍可正常瀏覽。"};const i=new URLSearchParams({select:ie,status:"eq.published",order:"created_at.desc",limit:"360"});try{const a=await fetch(`${n.supabaseUrl}/rest/v1/posts?${i.toString()}`,{headers:{apikey:n.supabaseAnonKey,Authorization:`Bearer ${n.supabaseAnonKey}`}});if(!a.ok)return{posts:[],errorMessage:`主題文章讀取失敗(HTTP ${a.status})。`};const l=await a.json();return{posts:Array.isArray(l)?l:[],errorMessage:null}}catch{return{posts:[],errorMessage:"主題文章暫時無法連線讀取。"}}}function de(s){if(!s)return"未標日期";const n=new Date(s);return Number.isNaN(n.getTime())?s.slice(0,10):new Intl.DateTimeFormat("zh-TW",{year:"numeric",month:"2-digit",day:"2-digit"}).format(n)}function xe(s){const n=s.filter(a=>a.isDeepDive).slice(0,3),i=s.filter(a=>!a.isDeepDive).sort((a,l)=>new Date(l.publishedAt||0).getTime()-new Date(a.publishedAt||0).getTime()).slice(0,6);return{deepDives:n,dailyUpdates:i}}function L({item:s,compact:n=!1}){return e.jsxs("a",{href:`/daily/${s.slug}`,className:T("group block rounded-lg border border-slate-200 bg-white transition-all hover:border-blue-200 hover:shadow-md",n?"p-5":"overflow-hidden"),children:[!n&&e.jsx("div",{className:"aspect-video overflow-hidden bg-slate-100",children:e.jsx("img",{src:s.image||"/hero/hero-daily.jpeg",alt:s.title,className:"h-full w-full object-cover transition-transform duration-500 group-hover:scale-105",loading:"lazy",onError:i=>{i.currentTarget.src="/hero/hero-daily.jpeg"}})}),e.jsxs("div",{className:n?"":"p-5",children:[e.jsxs("div",{className:"flex flex-wrap items-center gap-2 text-xs font-semibold text-slate-500",children:[e.jsxs("span",{className:T("inline-flex items-center gap-1 rounded-full px-2.5 py-1",s.isDeepDive?"bg-emerald-50 text-emerald-700":"bg-blue-50 text-blue-700"),children:[s.isDeepDive?e.jsx(G,{className:"h-3.5 w-3.5"}):e.jsx(K,{className:"h-3.5 w-3.5"}),s.isDeepDive?"深度專題":"日報更新"]}),e.jsxs("span",{className:"inline-flex items-center gap-1",children:[e.jsx(Q,{className:"h-3.5 w-3.5"}),de(s.publishedAt)]})]}),e.jsx("h3",{className:"mt-3 line-clamp-2 text-lg font-black leading-snug text-slate-950 group-hover:text-blue-700",children:s.title}),e.jsx("p",{className:"mt-3 line-clamp-3 text-sm leading-relaxed text-slate-600",children:s.description}),s.matchedSignals.length>0&&e.jsxs("p",{className:"mt-4 text-xs text-slate-500",children:["關聯訊號:",s.matchedSignals.slice(0,3).join("、")]})]})]})}function oe({topic:s,mode:n,className:i}){const[a,l]=j.useState([]),[r,d]=j.useState(!0),[h,c]=j.useState(null);j.useEffect(()=>{let x=!1;async function u(){d(!0),c(null);const{posts:w,errorMessage:v}=await ce(s.slug);x||(v?(l(w),c(v)):l(w),d(!1))}return u(),()=>{x=!0}},[s.slug]);const g=j.useMemo(()=>X(s.slug,a,12),[a,s.slug]),{deepDives:f,dailyUpdates:N}=j.useMemo(()=>xe(g),[g]),I=g.length>0?{"@context":"https://schema.org","@type":"ItemList",name:`${s.title}相關日報與深度專題`,url:`${m}${o(n,s.slug)}`,numberOfItems:g.length,itemListElement:g.map((x,u)=>({"@type":"ListItem",position:u+1,url:`${m}/daily/${x.slug}`,name:x.title}))}:null;return e.jsxs("section",{className:T("border-b border-slate-200 bg-slate-50 py-16",i),children:[I&&e.jsx("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(I)}}),e.jsxs("div",{className:"container max-w-6xl mx-auto px-6",children:[e.jsxs("div",{className:"grid gap-8 lg:grid-cols-[1fr_280px] lg:items-end",children:[e.jsxs("div",{children:[e.jsxs("div",{className:"flex items-center gap-3 text-blue-700",children:[e.jsx(B,{className:"h-5 w-5"}),e.jsx("p",{className:"text-sm font-bold uppercase tracking-[0.18em]",children:"延伸閱讀"})]}),e.jsx("h2",{className:"mt-4 text-3xl font-black tracking-tight text-slate-950 md:text-4xl",children:"相關日報與深度專題"}),e.jsxs("p",{className:"mt-4 max-w-3xl text-base leading-relaxed text-slate-600",children:["這裡整理 WEDO 已發布的每日更新與深度分析,方便你沿著「",s.title,"」繼續閱讀相關觀點。"]})]}),e.jsxs("div",{className:"grid grid-cols-3 gap-3 rounded-lg border border-slate-200 bg-white p-4 text-center",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-2xl font-black text-slate-950",children:g.length}),e.jsx("p",{className:"mt-1 text-xs text-slate-500",children:"相關文章"})]}),e.jsxs("div",{children:[e.jsx("p",{className:"text-2xl font-black text-emerald-700",children:f.length}),e.jsx("p",{className:"mt-1 text-xs text-slate-500",children:"深度專題"})]}),e.jsxs("div",{children:[e.jsx("p",{className:"text-2xl font-black text-blue-700",children:N.length}),e.jsx("p",{className:"mt-1 text-xs text-slate-500",children:"日報更新"})]})]})]}),r?e.jsxs("div",{className:"mt-10 flex items-center gap-3 rounded-lg border border-slate-200 bg-white p-5 text-slate-600",children:[e.jsx(q,{className:"h-5 w-5 animate-spin text-blue-600"}),"載入主題文章中..."]}):h?e.jsxs("div",{className:"mt-10 rounded-lg border border-amber-200 bg-amber-50 p-5 text-sm leading-relaxed text-amber-800",children:["ä¸
1»é¡Œæ–‡ç« æš«æ™‚無法載入:",h]}):g.length===0?e.jsxs("div",{className:"mt-10 rounded-lg border border-slate-200 bg-white p-6",children:[e.jsx("h3",{className:"text-lg font-bold text-slate-950",children:"尚未找到已發布文章"}),e.jsxs("p",{className:"mt-2 text-sm leading-relaxed text-slate-600",children:["後續每日自動日報或手動深度專題只要包含「",s.relatedDailyTags.slice(0,3).join("、"),"」等訊號,就會自動出現在這裡。"]})]}):e.jsxs("div",{className:"mt-10 space-y-10",children:[f.length>0&&e.jsxs("div",{children:[e.jsxs("div",{className:"mb-5 flex items-center justify-between gap-4",children:[e.jsx("h3",{className:"text-xl font-black text-slate-950",children:"深度專題"}),e.jsxs("a",{href:"/daily",className:"inline-flex items-center gap-2 text-sm font-semibold text-blue-700",children:["查看專題",e.jsx(b,{className:"h-4 w-4"})]})]}),e.jsx("div",{className:"grid gap-5 md:grid-cols-3",children:f.map(x=>e.jsx(L,{item:x},x.slug))})]}),N.length>0&&e.jsxs("div",{children:[e.jsxs("div",{className:"mb-5 flex items-center justify-between gap-4",children:[e.jsx("h3",{className:"text-xl font-black text-slate-950",children:"最新日報更新"}),e.jsxs("a",{href:`/daily?tag=${encodeURIComponent(s.relatedDailyTags[0]||s.title)}`,className:"inline-flex items-center gap-2 text-sm font-semibold text-blue-700",children:["回到日報",e.jsx(b,{className:"h-4 w-4"})]})]}),e.jsx("div",{className:"grid gap-4 md:grid-cols-2",children:N.map(x=>e.jsx(L,{item:x,compact:!0},x.slug))})]})]})]})]})}const me={event:"活動案例",website:"專案網站",media:"媒體內容",content:"內容資產",exhibition:"展覽案例",ecommerce:"電商案例"};function U(s){return/^https?:\/\//i.test(s)}function M(s){return U(s)?s:`${m}${s}`}function he({item:s}){const n=U(s.href);return e.jsxs("a",{href:s.href,target:n?"_blank":void 0,rel:n?"noopener noreferrer":void 0,className:"group block overflow-hidden rounded-lg border border-slate-200 bg-white shadow-sm transition-all hover:border-blue-200 hover:shadow-md",children:[e.jsx("div",{className:"aspect-video overflow-hidden bg-slate-100",children:e.jsx("img",{src:s.image,alt:s.title,loading:"lazy",className:"h-full w-full object-cover transition-transform duration-500 group-hover:scale-105",onError:i=>{i.currentTarget.src="/hero/hero-case.jpeg"}})}),e.jsxs("div",{className:"p-5",children:[e.jsxs("div",{className:"flex flex-wrap items-center gap-2 text-xs font-semibold text-slate-500",children:[e.jsxs("span",{className:"inline-flex items-center gap-1 rounded-full bg-slate-100 px-2.5 py-1 text-slate-700",children:[e.jsx(P,{className:"h-3.5 w-3.5"}),me[s.proofType]]}),e.jsxs("span",{className:"inline-flex items-center gap-1",children:[e.jsx(V,{className:"h-3.5 w-3.5"}),s.year]})]}),e.jsx("h3",{className:"mt-3 line-clamp-2 text-lg font-black leading-snug text-slate-950 group-hover:text-blue-700",children:s.title}),e.jsx("p",{className:"mt-3 line-clamp-3 text-sm leading-relaxed text-slate-600",children:s.summary}),e.jsx("div",{className:"mt-4 flex flex-wrap gap-2",children:s.signals.slice(0,3).map(i=>e.jsx("span",{className:"rounded-full bg-blue-50 px-2.5 py-1 text-xs font-semibold text-blue-700",children:i},i))}),e.jsxs("div",{className:"mt-5 inline-flex items-center gap-2 text-sm font-bold text-blue-700",children:["查看案例",n?e.jsx(Y,{className:"h-4 w-4"}):e.jsx(b,{className:"h-4 w-4 transition-transform group-hover:translate-x-1"})]})]})]})}function ge({topic:s,mode:n,className:i}){const a=s.proofCases.slice(0,3);if(a.length===0)return null;const l={"@context":"https://schema.org","@type":"ItemList",name:`${s.title}相關案例`,url:`${m}${o(n,s.slug)}`,numberOfItems:a.length,itemListElement:a.map((r,d)=>({"@type":"ListItem",position:d+1,item:{"@type":"CreativeWork",name:r.title,description:r.summary,url:M(r.href),image:M(r.image),datePublished:String(r.year),about:r.signals.map(h=>({"@type":"Thing",name:h}))}}))};return e.jsxs("section",{className:T("border-b border-slate-200 bg-white py-16",i),children:[e.jsx("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(l)}}),e.jsxs("div",{className:"container max-w-6xl mx-auto px-6",children:[e.jsxs("div",{className:"grid gap-8 lg:grid-cols-[1fr_320px] lg:items-end",children:[e.jsxs("div",{children:[e.jsxs("div",{className:"flex items-center gap-3 text-blue-700",children:[e.jsx(P,{className:"h-5 w-5"}),e.jsx("p",{className:"text-sm font-bold uppercase tracking-[0.18em]",children:"WEDO Cases"})]}),e.jsx("h2",{className:"mt-4 text-3xl font-black tracking-tight text-slate-950 md:text-4xl",children:"相關 WEDO 實戰案例"}),e.jsx("p",{className:"mt-4 max-w-3xl text-base leading-relaxed text-slate-600",children:"如果你想知道這個主題在真實專案裡怎麼發生,這裡整理了 WEDO 曾經執行或參與的代表案例。"})]}),e.jsxs("div",{className:"rounded-lg border border-blue-100 bg-blue-50 p-5",children:[e.jsx("p",{className:"text-sm font-bold text-blue-900",children:"可以從這些角度看案例"}),e.jsx("ul",{className:"mt-4 space-y-3 text-sm leading-relaxed text-blue-900",children:s.caseAngles.slice(0,4).map(r=>e.jsxs("li",{className:"flex gap-2",children:[e.jsx(H,{className:"mt-0.5 h-4 w-4 flex-none text-blue-700"}),e.jsx("span",{children:r})]},r))})]})]}),e.jsx("div",{className:"mt-10 grid gap-5 md:grid-cols-3",children:a.map(r=>e.jsx(he,{item:r},`${r.year}-${r.title}`))}),e.jsx("div",{className:"mt-8",children:e.jsxs("a",{href:"/case",className:"inline-flex items-center gap-2 text-sm font-bold text-blue-700 hover:text-blue-900",children:["查看 WEDO 20 年案例時光走廊",e.jsx(b,{className:"h-4 w-4"})]})})]})]})}const pe="/hero/hero-guides-20260910.jpeg",ue="/images/og/guides-20260910.jpg",be="WEDO 行銷主題指南|品牌、公關、內容與案例整理",$="WEDO 行銷主題指南|依需求找到方法與案例",je="å“
1ç‰Œã€å…¬é—œã€å…§å®¹ã€AI、寵物與企業活動的可閱讀方法與案例入口。",fe="/hero/hero-insights-20260910.jpeg",Ne="/images/og/insights-20260910.jpg",we="WEDO 行銷趨勢觀察|從日報、案例到市場訊號",W="WEDO 行銷趨勢觀察|從訊號找到下一步",ve="從日報、案例與主題脈絡整理可採用的市場訊號。";function ye(s){return s.startsWith("/insights")?"insight":"guide"}function Ie(s){return s==="guide"?{indexTitle:"WEDO 行銷主題指南",indexDescription:"依需求閱讀 AI 行銷、品牌、公關、內容、寵物與企業活動指南,快速找到 WEDO 的觀點、日報與案例。",eyebrow:"Marketing Guides",singular:"指南",path:"/guides"}:{indexTitle:"WEDO 行銷趨勢觀察",indexDescription:"把行銷日報的事件流整理成主題樞紐,讓 AI、搜尋引擎與使用者更容易理解 WEDO 的知識脈絡。",eyebrow:"Marketing Insights",singular:"觀點",path:"/insights"}}function $e(){var S,_;const{topicSlug:s}=R(),n=z(),i=ye(n.pathname),a=Ie(i),l=J(s),r=!s;if(s&&!l)return e.jsxs("div",{className:"min-h-screen flex flex-col bg-slate-50",children:[e.jsx(C,{title:"找不到主題 | WEDO",description:"找不到指定的 WEDO 主題頁。",url:`${m}${n.pathname}`}),e.jsx(k,{}),e.jsxs("main",{className:"flex-1 container max-w-4xl mx-auto px-6 py-24",children:[e.jsx(A,{items:[{label:"首頁",href:"/"},{label:a.indexTitle,href:a.path},{label:"找不到主題"}]}),e.jsx("h1",{className:"mt-10 text-4xl font-bold text-slate-950",children:"找不到這個主題"}),e.jsx("p",{className:"mt-4 text-slate-600",children:"這個主題尚未建立,請回到主題總覽。"}),e.jsx(D,{asChild:!0,className:"mt-8 rounded-full",children:e.jsxs("a",{href:a.path,children:["回到",a.indexTitle]})})]}),e.jsx(O,{})]});const d=r&&i==="guide",h=r&&i==="insight",c=d||h,g=d?pe:fe,f=d?ue:Ne,N=d?$:W,I=d?je:ve,x=y.slice(0,3),u=y.slice(3),w=r?h?we:be:`${i==="guide"?l.guideTitle:l.insightTitle}|WEDO`,v=r?a.indexDescription:l.description,E=`${m}${n.pathname}`,F=r?{"@context":"https://schema.org","@type":"CollectionPage",name:w,description:v,url:E,inLanguage:"zh-Hant-TW",hasPart:y.map(t=>({"@type":"WebPage",name:i==="guide"?t.guideTitle:t.insightTitle,url:`${m}${o(i,t.slug)}`}))}:{"@context":"https://schema.org","@type":"Article",headline:i==="guide"?l.guideTitle:l.insightTitle,description:l.description,url:E,inLanguage:"zh-Hant-TW",author:{"@type":"Organization","@id":`${m}/#organization`,name:"WEDO 鮪魚肚國際行銷有限公司",url:m},publisher:{"@type":"Organization","@id":`${m}/#organization`,name:"WEDO 鮪魚肚國際行銷有限公司",url:m},keywords:l.relatedDailyTags.join(", "),abstract:((S=l.answerFirst)==null?void 0:S.answer)||l.quickAnswer,about:l.searchIntents.map(t=>({"@type":"Thing",name:t})),mainEntity:l.faqs.map(t=>({"@type":"Question",name:t.question,acceptedAnswer:{"@type":"Answer",text:t.answer}}))};return e.jsxs("div",{className:"min-h-screen flex flex-col bg-slate-50 text-slate-900",children:[e.jsx(C,{title:w,description:v,socialTitle:r?N:void 0,socialDescription:r?I:void 0,image:r?f:"/hero/hero-daily.jpeg",imageWidth:r?1200:void 0,imageHeight:r?630:void 0,imageAlt:d?$:h?W:void 0,url:E,type:r?"website":"article",keywords:r?"WEDO, SEO, AIO, GEO, 主題指南, 行銷日報":l.relatedDailyTags.join(", ")}),e.jsx("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(F)}}),e.jsx(k,{}),e.jsxs("main",{className:"flex-1",children:[e.jsx("section",{className:"border-b border-slate-200 bg-white",children:e.jsx("div",{className:"container max-w-6xl mx-auto px-6 py-5",children:e.jsx(A,{items:[{label:"首頁",href:"/"},{label:a.indexTitle,href:a.path},...!r&&l?[{label:l.title}]:[]]})})}),e.jsxs("section",{className:c?"relative isolate overflow-hidden bg-slate-950 text-white":"bg-white",children:[c&&e.jsxs(e.Fragment,{children:[e.jsx("img",{src:g,alt:"",width:1376,height:768,loading:"eager",className:"absolute inset-0 h-full w-full object-cover"}),e.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-slate-950 via-slate-950/85 to-slate-950/35","aria-hidden":"true"})]}),e.jsxs("div",{className:c?"relative container max-w-6xl mx-auto px-6 py-16 md:py-24":"container max-w-6xl mx-auto px-6 py-16 md:py-24",children:[e.jsxs("div",{className:c?"flex items-center gap-3 text-lime-300 font-semibold text-sm tracking-[0.18em] uppercase":"flex items-center gap-3 text-blue-700 font-semibold text-sm tracking-[0.18em] uppercase",children:[e.jsx("span",{className:c?"h-px w-8 bg-lime-300":"h-px w-8 bg-blue-500"}),a.eyebrow]}),r?e.jsxs("div",{className:"mt-8 grid lg:grid-cols-[1fr_360px] gap-12 items-end",children:[e.jsxs("div",{children:[e.jsx("h1",{className:c?"text-4xl md:text-6xl font-black tracking-tight text-white":"text-4xl md:text-6xl font-black tracking-tight text-slate-950",children:a.indexTitle}),e.jsx("p",{className:c?"mt-6 text-lg md:text-xl leading-relaxed text-slate-200 max-w-3xl":"mt-6 text-lg md:text-xl leading-relaxed text-slate-600 max-w-3xl",children:a.indexDescription})]}),e.jsxs("div",{className:c?"border-l border-white/30 pl-6":"border-l border-slate-200 pl-6",children:[e.jsx("p",{className:c?"text-sm font-semibold text-slate-300":"text-sm font-semibold text-slate-500",children:"主題導覽"}),e.jsx("p",{className:c?"mt-2 text-3xl font-black text-white":"mt-2 text-3xl font-black text-slate-950",children:y.length}),e.jsx("p",{className:c?"text-sm text-slate-300":"text-sm text-slate-500",children:"個行銷主題"})]})]}):e.jsxs("div",{className:"mt-8 max-w-4xl",children:[e.jsx(re,{className:"rounded-full bg-blue-50 text-blue-700 hover:bg-blue-50",children:l.shortTitle}),e.jsx("h1",{className:"mt-5 text-4xl md:text-6xl font-black tracking-tight text-slate-950",children:i==="guide"?l.guideTitle:l.insightTitle}),e.jsx("p",{className:"mt-6 text-lg md:text-xl leading-relaxed text-slate-600",children:l.description})]})]})]}),r?e.jsx("section",{className:"py-16",children:e.jsxs("div",{className:"container max-w-6xl mx-auto px-6",children:[c&&e.jsxs("div",{className:"mb-8 max-w-2xl",children:[e.jsx("p",{className:"text-sm font-semibold uppercase tracking-[0.16em] text-blue-700",children:d?"先從需求選入口":"先從主題找觀察"}),e.jsx("p",{className:"mt-3 text-base leading-relaxed text-slate-600",children:d?"先看最常用的三個主題;其他指南收在下方,保留完整索引,也讓第一眼更容易做選擇。":"先看最常用的三個主題;其他觀察收在下方,保留完整索引,也讓第一眼更容易找到切入點。"})]}),e.jsx("div",{className:"grid gap-5 md:grid-cols-2 lg:grid-cols-3",children:(c?x:y).map(t=>e.jsxs("article",{className:"group rounded-lg border border-slate-200 bg-white p-5 shadow-sm hover:border-blue-200 hover:shadow-md transition-all",children:[e.jsxs("div",{className:"flex items-center justify-between gap-4",children:[e.jsx("h2",{className:"text-lg font-bold text-slate-950",children:t.title}),e.jsx(b,{className:"w-5 h-5 text-slate-400 group-hover:text-blue-600 group-hover:translate-x-1 transition-all"})]}),e.jsx("p",{className:"mt-3 line-clamp-2 text-sm leading-relaxed text-slate-600",children:t.quickAnswer}),h?e.jsxs("div",{className:"mt-6 flex flex-wrap items-center gap-3",children:[e.jsx("a",{href:o("insight",t.slug),className:"inline-flex items-center gap-2 rounded-full bg-blue-600 px-4 py-2 text-sm font-semibold text-white hover:bg-blue-700",children:"查看主題觀察"}),e.jsx("a",{href:o("guide",t.slug),className:"text-sm font-semibold text-slate-600 underline-offset-4 hover:text-blue-700 hover:underline",children:"搭配指南"})]}):e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"mt-4 flex flex-wrap gap-2",children:t.relatedDailyTags.slice(0,2).map(p=>e.jsx("span",{className:"rounded-full bg-slate-100 px-3 py-1 text-xs text-slate-600",children:p},p))}),e.jsxs("div",{className:"mt-6 flex flex-wrap gap-3",children:[e.jsx("a",{href:o("guide",t.slug),className:"inline-flex items-center gap-2 rounded-full bg-blue-600 px-4 py-2 text-sm font-semibold text-white hover:bg-blue-700",children:"看指南"}),e.jsx("a",{href:o("insight",t.slug),className:"inline-flex items-center gap-2 rounded-full border border-slate-200 px-4 py-2 text-sm font-semibold text-slate-700 hover:border-slate-300 hover:bg-slate-50",children:"看觀點"})]})]})]},t.slug))}),c&&u.length>0&&e.jsxs("details",{className:"group mt-8 rounded-lg border border-slate-200 bg-white",children:[e.jsxs("summary",{className:"flex cursor-pointer list-none items-center justify-between gap-4 px-5 py-4 text-base font-bold text-slate-950 marker:hidden",children:[e.jsxs("span",{children:["查看其他 ",u.length," 個主題",d?"指南":"觀察"]}
1),e.jsx(b,{className:"h-5 w-5 text-slate-400 transition-transform duration-200 group-open:rotate-90","aria-hidden":"true"})]}),e.jsx("div",{className:"hidden gap-5 border-t border-slate-100 p-5 md:grid-cols-2 lg:grid-cols-3 group-open:grid",children:u.map(t=>e.jsxs("article",{className:"group rounded-lg border border-slate-200 bg-white p-5 shadow-sm hover:border-blue-200 hover:shadow-md transition-all",children:[e.jsxs("div",{className:"flex items-center justify-between gap-4",children:[e.jsx("h2",{className:"text-lg font-bold text-slate-950",children:t.title}),e.jsx(b,{className:"w-5 h-5 text-slate-400 group-hover:text-blue-600 group-hover:translate-x-1 transition-all"})]}),e.jsx("p",{className:"mt-3 line-clamp-2 text-sm leading-relaxed text-slate-600",children:t.quickAnswer}),e.jsx("div",{className:"mt-4 flex flex-wrap gap-2",children:t.relatedDailyTags.slice(0,2).map(p=>e.jsx("span",{className:"rounded-full bg-slate-100 px-3 py-1 text-xs text-slate-600",children:p},p))}),h?e.jsxs("div",{className:"mt-6 flex flex-wrap items-center gap-3",children:[e.jsx("a",{href:o("insight",t.slug),className:"inline-flex items-center gap-2 rounded-full bg-blue-600 px-4 py-2 text-sm font-semibold text-white hover:bg-blue-700",children:"查看主題觀察"}),e.jsx("a",{href:o("guide",t.slug),className:"text-sm font-semibold text-slate-600 underline-offset-4 hover:text-blue-700 hover:underline",children:"搭配指南"})]}):e.jsxs("div",{className:"mt-6 flex flex-wrap gap-3",children:[e.jsx("a",{href:o("guide",t.slug),className:"inline-flex items-center gap-2 rounded-full bg-blue-600 px-4 py-2 text-sm font-semibold text-white hover:bg-blue-700",children:"看指南"}),e.jsx("a",{href:o("insight",t.slug),className:"inline-flex items-center gap-2 rounded-full border border-slate-200 px-4 py-2 text-sm font-semibold text-slate-700 hover:border-slate-300 hover:bg-slate-50",children:"看觀點"})]})]},t.slug))})]})]})}):e.jsxs(e.Fragment,{children:[e.jsx("section",{className:"bg-blue-700 text-white",children:e.jsxs("div",{className:"container max-w-6xl mx-auto px-6 py-12 grid md:grid-cols-[240px_1fr] gap-8 items-start",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx(G,{className:"w-6 h-6 text-blue-100"}),e.jsx("h2",{className:"text-xl font-bold",children:"重點摘要"})]}),e.jsx("p",{className:"text-xl md:text-2xl leading-relaxed font-semibold text-blue-50",children:((_=l.answerFirst)==null?void 0:_.answer)||l.quickAnswer})]})}),l.answerFirst&&e.jsx("section",{className:"border-b border-slate-200 bg-white py-12",children:e.jsxs("div",{className:"container max-w-6xl mx-auto px-6 grid gap-5 md:grid-cols-3",children:[e.jsxs("article",{className:"rounded-lg border border-emerald-100 bg-emerald-50 p-5",children:[e.jsxs("div",{className:"flex items-center gap-2 font-bold text-emerald-900",children:[e.jsx(H,{className:"h-5 w-5"}),"適用情境"]}),e.jsx("ul",{className:"mt-4 space-y-3 text-sm leading-relaxed text-emerald-950",children:l.answerFirst.contextFit.map(t=>e.jsx("li",{children:t},t))})]}),e.jsxs("article",{className:"rounded-lg border border-rose-100 bg-rose-50 p-5",children:[e.jsxs("div",{className:"flex items-center gap-2 font-bold text-rose-900",children:[e.jsx(Z,{className:"h-5 w-5"}),"不適用情境"]}),e.jsx("ul",{className:"mt-4 space-y-3 text-sm leading-relaxed text-rose-950",children:l.answerFirst.notFit.map(t=>e.jsx("li",{children:t},t))})]}),e.jsxs("article",{className:"rounded-lg border border-blue-100 bg-blue-50 p-5",children:[e.jsxs("div",{className:"flex items-center gap-2 font-bold text-blue-950",children:[e.jsx(ee,{className:"h-5 w-5"}),"為什麼值得參考"]}),e.jsx("ul",{className:"mt-4 space-y-3 text-sm leading-relaxed text-blue-950",children:l.answerFirst.confidenceSignals.map(t=>e.jsx("li",{children:t},t))})]})]})}),e.jsx("section",{className:"py-14 bg-white border-b border-slate-200",children:e.jsxs("div",{className:"container max-w-6xl mx-auto px-6 grid md:grid-cols-3 gap-8",children:[e.jsxs("div",{children:[e.jsxs("div",{className:"flex items-center gap-2 text-slate-950 font-bold",children:[e.jsx(se,{className:"w-5 h-5 text-blue-600"}),"搜尋意圖"]}),e.jsx("ul",{className:"mt-4 space-y-2 text-sm text-slate-600",children:l.searchIntents.map(t=>e.jsx("li",{children:t},t))})]}),e.jsxs("div",{children:[e.jsxs("div",{className:"flex items-center gap-2 text-slate-950 font-bold",children:[e.jsx(te,{className:"w-5 h-5 text-blue-600"}),"適合對象"]}),e.jsx("ul",{className:"mt-4 space-y-2 text-sm text-slate-600",children:l.audience.map(t=>e.jsx("li",{children:t},t))})]}),e.jsxs("div",{children:[e.jsxs("div",{className:"flex items-center gap-2 text-slate-950 font-bold",children:[e.jsx(le,{className:"w-5 h-5 text-blue-600"}),"對應服務"]}),e.jsx("ul",{className:"mt-4 space-y-2 text-sm text-slate-600",children:l.relatedServices.map(t=>e.jsx("li",{children:t},t))})]})]})}),e.jsx(oe,{topic:l,mode:i}),e.jsx(ge,{topic:l,mode:i}),e.jsx("section",{className:"py-16",children:e.jsxs("div",{className:"container max-w-4xl mx-auto px-6 space-y-12",children:[l.sections.map(t=>e.jsxs("section",{children:[e.jsx("h2",{className:"text-2xl md:text-3xl font-black text-slate-950",children:t.title}),e.jsx("ul",{className:"mt-5 space-y-4 text-lg leading-relaxed text-slate-700",children:t.points.map(p=>e.jsx("li",{className:"border-l-2 border-blue-500 pl-4",children:p},p))})]},t.title)),e.jsxs("section",{children:[e.jsx("h2",{className:"text-2xl md:text-3xl font-black text-slate-950",children:"核心問答"}),e.jsx("dl",{className:"mt-5 space-y-5",children:l.faqs.map(t=>e.jsxs("div",{className:"rounded-lg border border-slate-200 bg-white p-5",children:[e.jsx("dt",{className:"font-bold text-slate-950",children:t.question}),e.jsx("dd",{className:"mt-2 text-slate-600 leading-relaxed",children:t.answer})]},t.question))})]}),e.jsxs("section",{className:"rounded-lg bg-slate-950 p-6 md:p-8 text-white",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx(ae,{className:"w-5 h-5 text-blue-300"}),e.jsx("h2",{className:"text-xl font-bold",children:"延伸閱讀"})]}),e.jsxs("div",{className:"mt-6 grid md:grid-cols-2 gap-5 text-sm text-slate-300",children:[e.jsxs("div",{children:[e.jsx("h3",{className:"font-bold text-white",children:"相關日報主題"}),e.jsx("p",{className:"mt-2",children:l.relatedDailyTags.join("、")})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"font-bold text-white",children:"案例參考方向"}),e.jsx("p",{className:"mt-2",children:l.caseAngles.join("、")})]})]})]}),e.jsxs("div",{className:"flex flex-col sm:flex-row gap-4",children:[e.jsx(D,{asChild:!0,className:"rounded-full bg-blue-600 hover:bg-blue-700",children:e.jsxs("a",{href:i==="guide"?"/insights":"/guides",children:["查看",i==="guide"?"趨勢觀點":"主題指南"]})}),e.jsx(D,{asChild:!0,variant:"outline",className:"rounded-full",children:e.jsx("a",{href:"/daily",children:"回到行銷日報"})})]})]})})]})]}),e.jsx(O,{})]})}
1export{$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.