1import{d as C,o as p,c as S,w as o,b as a,t as I,e as r,a0 as q,v as x,x as F,G as m,E as K,y as Q,z as j,a as g,f as w,r as k,V as E,u as b,n as B,F as $,B as D,A as U,C as Y}from"./DSmQNbBh.js";import{_ as J}from"./RtswhQeW.js";import{_ as X}from"./CvKH_8Br.js";import{_ as Z}from"./Cech_9p_.js";import{_ as ee}from"./CGQEcPzz.js";import{G as te,r as se}from"./DMS3AMcB.js";import{u as ae}from"./DvHsdBfG.js";import"./BXWgGoTL.js";import"./DC0l-5hc.js";import"./Bo8w8bQj.js";import"./VgmY0Whd.js";const oe=["id"],re=C({__name:"UniqueResourcesCategoryBannerV2024",props:{verticalPadding:{},headingId:{},headline:{},categorySlug:{},ctaButtonHref:{},articleList:{}},setup(A){return(t,y)=>{const u=J,_=q,d=X;return p(),S(d,{variant:"light","vertical-padding":t.verticalPadding||{top:"base",bottom:"base"},"headline-align":"center"},{headline:o(()=>[a("span",{id:t.headingId,class:"font-semibold md:scroll-mt-42"},I(t.headline),9,oe)]),default:o(()=>[r(u,{"article-list":t.articleList,"href-parent-path":`/resources/${t.categorySlug}/`,"num-of-columns-in-desktop-viewport":3,"hide-last-row-orphans":!0,"hide-date":t.categorySlug==="customer-stories"||t.categorySlug==="testimonials",class:"mt-responsive-sm"},null,8,["article-list","href-parent-path","hide-date"]),r(_,{variant:"round-blue",text:`More ${t.headline}`,href:t.ctaButtonHref,class:"mx-auto mt-responsive-sm"},null,8,["text","href"])]),_:1},8,["vertical-padding"])}}}),ne={class:"relative"},ie={class:"relative flex items-center overflow-x-auto drop-shadow-lg px-responsive-3xs pb-responsive-4xs pt-header-mt gap-responsive-5xs text-responsive-16 md:flex-wrap md:justify-center md:gap-x-responsive-4xs md:gap-y-responsive-5xs"},le=["href"],_e=C({__name:"index",async setup(A){let t,y;function u(n){const e=x`{ 2 title, 3 slug, 4 publishedAt, 5 image, 6 youtubeId, 7 imageAltText, 8 description, 9 "imageAltText": image.asset->altText, 10 ${te} 11 }`,i={guides:"guide","customer-stories":"customerStory",testimonials:"testimonialVideo",webinars:"webinar"}[n];return x`*[_type == "${i}" && (!defined(pageVisibility) || pageVisibility == "public")]|order(publishedAt desc)[0...4]${e}`}const _=x`{ 12 'guides': ${u("guides")}, 13 'customerStories': ${u("customer-stories")}, 14 'testimonials': ${u("testimonials")}, 15 'webinars': ${u("webinars")}, 16 }`,{data:d}=([t,y]=F(()=>j(_)),t=await t,y(),t);function h(n,e){return!e||e.length===0?[]:e.map(s=>{const i=se(s?.link);return{variant:"full-light",title:s?.title||"",description:s?.description||i?.description||"",href:i?.href||(n?`/resources/${n}/${s?.slug?.current}/`:""),openInNewTab:i?.openInNewTab,image:s?.image,imageAltText:s?.imageAltText||"",publishedAt:s?.publishedAt,classImage:"bg-gradient-to-tr from-knakBlue-4/50 to-knakGreen-4/30",video:{title:s?.title||"",youtubeId:s?.youtubeId}}})}const L=m(()=>h("guides",d.value?.guides||[])),T=m(()=>h("customer-stories",d.value?.customerStories||[])),G=m(()=>h("testimonials",d.value?.testimonials||[])),H=m(()=>h("webinars",d.value?.webinars||[])),R=["Guides & Reports","Customer Success Stories","Testimonials","Videos & Webinars"],P=K(),c=ae(R),V=m(()=>({"Guides & Reports":{headingId:c.value["Guides & Reports"]?.id,categorySlug:"guides",ctaButtonHref:"/resources/guides/",articleList:L.value},"Customer Success Stories":{headingId:c.value["Customer Success Stories"]?.id,categorySlug:"customer-stories",ctaButtonHref:"/resources/customer-stories/",articleList:T.value},Testimonials:{headingId:c.value.Testimonials?.id,categorySlug:"testimonials",ctaButtonHref:"/resources/testimonials/",articleList:G.value},"Videos & Webinars":{headingId:c.value["Videos & Webinars"]?.id,categorySlug:"webinars",ctaButtonHref:"/resources/webinars/",articleList:H.value}}));return(n,e)=>{const s=D,i=U,f=Y,N=re,z=Z,M=ee,O=Q;return p(),S(O,{id:"ResourcesPage"},{default:o(()=>[r(f,{variant:"black"},{default:o(()=>[r(i,{variant:"vertical","vertical-padding":{top:"none",bottom:"lg"}},{eyebrow:o(()=>e[0]||(e[0]=[a("p",{class:"text-V2024-kiwi"},"Resources",-1)])),headline:o(()=>e[1]||(e[1]=[a("span",null,"Power Your Campaigns",-1)])),paragraph:o(()=>[a("p",ne,[e[2]||(e[2]=g(" Level up your marketing with resources that show whatâs possible.")),e[3]||(e[3]=a("br",null,null,-1)),e[4]||(e[4]=g(" Strategy tips, customer wins, and expert insights. ")),r(s,{src:"/images/_shared/accents/bg-blur-gradient-blue-green.svg",alt:"folder illustration",class:"fadeInImageOnLoad pointer-events-none absolute bottom-0 -z-10 w-full translate-y-[100%] scale-[300%] overflow-hidden md:scale-[200%] xl:translate-y-[90%] xl:scale-[170%]"})])]),_:1})]),_:1}),r(f,{variant:"white","accent-rounded-top":""},{default:o(()=>[a("div",{class:B(["sticky isolate z-50 h-20 transition-all duration-[400ms] mt-responsive-xs",b(P)?"top-0":"top-headerHeightV4"])}
16,[a("nav",ie,[(p(!0),w($,null,k(Object.keys(b(V)),l=>(p(),w("a",{key:l,href:`${(n._.provides[E]||n.$route).path}#${b(c)?.[l]?.id}`,class:B(["safariScrollFix relative z-10 text-nowrap rounded-lg border bg-V2024-gray-100 py-2 text-V2024-blackberry transition-colors px-responsive-3xs hover:border-V2024-blueberry hover:text-V2024-blueberry",b(c)?.[l]?.isActive?"border-V2024-blueberry text-V2024-blueberry":"border-V2024-gray-200"])},I(l),11,le))),128))])],2),(p(!0),w($,null,k(Object.entries(b(V)),([l,v],W)=>(p(),S(N,{key:l,"vertical-padding":W===0?{top:"base",bottom:"lg"}:{top:"none",bottom:"lg"},"heading-id":v.headingId,headline:l,"category-slug":v.categorySlug,"cta-button-href":v.ctaButtonHref,"article-list":v.articleList},null,8,["vertical-padding","heading-id","headline","category-slug","cta-button-href","article-list"]))),128))]),_:1}),r(f,{variant:"black","accent-rounded-top":""},{default:o(()=>[r(z,{"banner-props":{variant:"dark",verticalPadding:{top:"base",bottom:"lg"}},"card-list":[{headline:"95%",paragraph:"better, faster campaigns = more success"},{headline:"22 minutes",paragraph:"to create an email*"},{headline:"5x less",paragraph:"than the cost of a developer"},{headline:"50x less",paragraph:"than the cost of an agency**"}]},{headline:o(()=>e[5]||(e[5]=[a("span",{class:"textGradientBlueToGreen"},[g("Why marketing teams "),a("b",null,"love Knak")],-1)])),footnotes:o(()=>e[6]||(e[6]=[a("p",{class:"mt-responsive-base"},"* On average, for enterprise customers",-1),a("p",null,"** Knak base price",-1)])),_:1}),r(M,{"vertical-padding":{top:"none",bottom:"base"},variant:"boxed-white",headline:"Ready to see Knak in action?","accent-green-sphere":"","cta-button-props":{variant:"round-green",text:"Watch a Demo",href:"https://info.knak.com/demo-page.html"}},{paragraph:o(()=>e[7]||(e[7]=[g(" See how your team can "),a("span",{class:"textGradientBlueToGreen font-medium"},"scale personalization",-1),g(" today. ")])),_:1})]),_:1})]),_:1})}}});
16export{_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.