PageSourceSearch

https://www.sectigo.com/_nuxt/ResourceEntryCards.zMRjmDTM.js

js sectigo.com collected 2026-10-09 21:48:52 UTC 7,346 bytes, 1 lines download raw bytes

1import{aS as L,a$ as U,b5 as V,bh as P,c as C,ao as g,ap as v,F as e,am as n,at as r,al as S,b6 as H,au as m,ar as B,as as $,aB as I,aY as D,f as R,aw as M,ax as A,an as w,bZ as j,aO as N,bl as O,b_ as q,aA as W,b$ as F}from"./vue-core.BcGShZEc.js";import{R as z}from"./ResourceMetaDataRows.COuU3Exj.js";import{_ as Y}from"./TextLink.vue.BdOHX9mt.js";import{u as Z}from"./useResourceEntryCard.BmkBSHPo.js";import G from"./ResourcesBlockCustomDownloadCard.CmH980nn.js";import{b as J}from"./analytics.BV5f9B0N.js";const K={key:0,class:"flex flex-col rounded-xl bg-primary transition duration-200 ease-in-out overflow-hidden border border-default-subtle"},Q=["href"],X={class:"font-base font-semibold text-body-primary :hover:underline"},ee={key:1},te={class:"mb-0"},se=["href"],re={class:"p-5 h-full flex flex-col gap-3"},ae=["innerHTML"],oe={class:"px-5 pb-5"},ne=["href","aria-label"],le={class:"sr-only"},ie=L({__name:"ResourceEntryCard",props:{entry:{type:Object,required:!0}},setup(c){const{t:a}=U(),{getMetaRows:k}=V(),y=c,{entry:t}=y,u=t?.typeHandle??null,f=P(),o=C(()=>f.currentLocale.value?.code==="en"||u==="podcastEpisode"?"":`/${f.currentLocale.value?.code}`),s=y.entry?.resourceType?.[0]??y.entry?.hiddenResourceType?.[0]??null;let p=s?.cardTitleOverride||s?.singularTitle||"",d=s?.cardButtonText||a("buttons.learnMore"),_=s?.cardButtonAriaLabel||null;if((s?.resourceTypeIdentifier||null)==="resourceLibraryWebinar"){const i=new Date,T=new Date(t.webinarBroadcastDate);isNaN(T.getTime())||(T.getTime()>i.getTime()?(p=a("resources.upcomingWebinar",{count:1}),d=t.cardButtonTextUpcomingWebinars||a("buttons.register"),_=t.cardButtonAriaLabelUpcomingWebinars||a("buttons.register")+`: ${t.title}`):(p=a("resources.pastWebinar"),d=t.cardButtonTextPastWebinars||a("buttons.watchNow"),_=t.cardButtonAriaLabelPastWebinars||a("buttons.watchNow")+`: ${t.title}`))}const h=C(()=>s?(u==="blogPost"||u==="podcastEpisode")&&s.indexEntry&&s.indexEntry[0]?`/${s.indexEntry[0].uri}`:s?`/${s.uri}`:null:null),b=s?.color??"grey",x=C(()=>`bg-${b}`),l=k(t);return(i,T)=>e(t)?(n(),g("article",K,[r("div",{class:B(["flex flex-col justify-start gap-[10px] p-5 match-children-heights",x.value])},[e(s)&&h.value?(n(),g("a",{key:0,href:`${o.value}${h.value}`,class:"inline-flex items-center"},[r("span",null,[e(s)?.iconAsset?.[0]?(n(),S(H,{key:0,width:"20",height:"20",image:e(s).iconAsset[0],class:"icon mr-2",alt:e(s).iconAsset[0].alt||e(a)("buttons.iconFor")+e(p)},null,8,["image","alt"])):v("",!0)]),r("h6",X,m(e(p)),1)],8,Q)):(n(),g("span",ee)),r("h5",te,[r("a",{href:`${o.value}/${e(t).uri}`,class:"hover:underline"},m(e(t).title),9,se)])],2),r("div",re,[$(z,{rows:e(l)},null,8,["rows"]),r("div",{class:"",innerHTML:e(t).cardSummary},null,8,ae)]),r("div",oe,[r("a",{href:`${o.value}/${e(t).uri}`,class:"btn btn--sm btn--primary btn--ghost","aria-label":e(_)},[I(m(e(d))+" ",1),r("span",le,m(e(t).title),1)],8,ne)])])):v("",!0)}}),ce=D(ie,[["__scopeId","data-v-ecad1cd2"]]),ue={class:"flex flex-col items-start gap-2 self-stretch h-full"},de={class:"self-stretch font-base text-eyebrow uppercase"},he=["href"],ge={class:"sr-only"},fe={class:"flex flex-col justify-center items-start gap-5 flex-[1_0_0] self-stretch"},pe={class:"flex flex-col items-start gap-1 flex-[1_0_0] self-stretch"},me={class:"text-xl font-heading font-bold tracking-normal"},ye=["href"],_e={class:"sr-only"},ve={class:"flex items-center gap-2 nav-link"},be=L({__name:"ResourceEntryCardSimple",props:{entry:{type:Object,required:!0},highlighted:{type:Boolean,default:!1},staticHighlight:{type:Boolean,default:!1},highlightEnterDirection:{type:String,default:"left"},highlightExitDirection:{type:String,default:"right"}},setup(c){const a=c,{animationClass:k,isInverted:y,textInverted:t,onMouseEnter:u,onMouseLeave:f,entry:o,currentLocale:s,resourceType:p,resourceTypeHeading:d,buttonText:_,truncatedSummary:E,resourceTypeIndexUrl:h,color:b}=Z(a,{summaryWordLimit:10,useLocalePrefix:!0});return(x,l)=>e(o)?(n(),g("article",{key:0,class:B(["flex p-5 flex-col items-start gap-5 flex-[1_0_0] h-full",`card--${e(b)}`,e(k),{highlighted:c.highlighted,"text-inverted":e(t)}]),onMouseenter:l[0]||(l[0]=(...i)=>e(u)&&e(u)(...i)),onMouseleave:l[1]||(l[1]=(...i)=>e(f)&&e(f)(...i))},[e(o)?.cardImage?.[0]?.url?(n(),S(H,{key:0,image:e(o).cardImage[0],src:e(o).cardImage[0].url,class:"w-full",width:370,height:208},null,8,["image","src"])):v("",!0),r("div",ue,[r("div",de,[e(p)&&e(h)?(n(),g("a",{key:0,href:`${e(s)}${e(h)}`,class:"!text-body-primary hover:underline"},[I(m(e(d))+" ",1),r("span",ge,m(x.$t("buttons.goTo",{page:e(d)})),1)],8,he)):v("",!0)]),r("div",fe,[r("div",pe,[r("h4",me,[r("a",{href:`${e(s)}/${e(o).uri}`,class:"!text-heading-primary hover:underline"},[I(m(e(o).title)+" ",1),r("span",_e,m(x.$t("buttons.goTo",{page:e(o).title})),1)],8,ye)]),r("p",null,m(e(E)),1)]),r("div",ve,[$(Y,{url:e(o).url,text:e(_),inverted:e(y)},null,8,["url","text","inverted"])])])])],34)):v("",!0)}}),xe=D(be,[["__scopeId","data-v-b7ff119f"]]),$e={key:1,class:"h-full"},Te={class:"myass h-full"},we=L({__name:"ResourceEntryCards",props:{display:{type:String,default:"default"},entries:{type:Array,required:!0},layout:{type:String,default:"grid"},type:{type:String,default:"resourceEntries"}},setup(c){const a=c,y=J().public.baseUrl,t=R(0),u=R("right"),f=R("left");function o(h){u.value=h>t.value?"right":"left",f.value=h>t.value?"left":"right",t.value=h}const s=R(0),p=C(()=>a.type==="customDownloads"?G:a.display==="simple"?xe:ce),d=a.type==="customDownloads"?4:3,_=C(()=>
1a.entries.length<=d),E={autoplay:0,wrapAround:!1,snapAlign:"start",navigation:!0,itemsToScroll:1,breakpoints:{480:{itemsToShow:1,itemsToScroll:1},768:{itemsToShow:2,itemsToScroll:1},1024:{itemsToShow:3,itemsToScroll:1},1200:{itemsToShow:d,itemsToScroll:1}}};return(h,b)=>{const x=j;return n(),g("div",null,[c.layout==="grid"?(n(),g("div",{key:0,class:B(["cards ",a.display==="simple"?"":"match-children-by-row",e(d)===4?"cols-4":"cols-3"])},[(n(!0),g(M,null,A(c.entries,(l,i)=>(n(),S(W(p.value),{key:l.uid,entry:l,"static-highlight":i===t.value,"highlight-enter-direction":f.value,"highlight-exit-direction":u.value,class:"card",onMouseenter:T=>o(i)},null,40,["entry","static-highlight","highlight-enter-direction","highlight-exit-direction","onMouseenter"]))),128))],2)):v("",!0),c.layout==="carousel"?(n(),g("div",$e,[r("div",Te,[$(e(q),O({ref:"carousel"},E,{modelValue:s.value,"onUpdate:modelValue":b[0]||(b[0]=l=>s.value=l),class:["carousel",a.display==="simple"?"":"match-children-by-row",{"hide-nav-on-lg":_.value}]}),{addons:w(()=>[$(x,null,{prev:w(()=>[$(e(N),{src:`${e(y)}/images/angle-left-green.svg`,class:"nav-arrow","aria-hidden":"true"},null,8,["src"])]),next:w(()=>[$(e(N),{src:`${e(y)}/images/angle-right-green.svg`,class:"nav-arrow","aria-hidden":"true"},null,8,["src"])]),_:1})]),default:w(()=>[(n(!0),g(M,null,A(c.entries,(l,i)=>(n(),S(e(F),{key:l.uid,class:"text-left"},{default:w(()=>[(n(),S(W(p.value),{entry:l,"static-highlight":i===t.value,"highlight-enter-direction":f.value,"highlight-exit-direction":u.value,class:"card w-full h-full",onMouseenter:T=>o(i)},null,40,["entry","static-highlight","highlight-enter-direction","highlight-exit-direction","onMouseenter"]))]),_:2},1024))),128))]),_:1},16,["modelValue","class"])])])):v("",!0)])}}}),Le=D(we,[["__scopeId","data-v-fc930445"]]);export{Le as R};

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.