1import{aY as h,aU as O,ct as d,cz as f,cA as m,aQ as a,aR as n,b4 as _,bJ as A,b3 as i,bh as S,bg as v,aP as I,bF as L,a3 as N,dM as R}from"./CxcBhYY2.js";import g from"./4U00eXsQ.js";const y={class:"alternatives-slug-others"},U={__name:"AlternativesSlugOthers",async setup(G){let r,o;const p=h(),{slug:l}=O().params,{data:u}=([r,o]=d(async()=>f(`others-alternatives-${l}-${p.locale.value}`,async()=>{let e=await m("alternatives_common").order("SCORE","DESC").select("SLUG","NAME","LOGO","WITH_DETAILED_INTERNAL_LINKING").where("SLUG","NOT IN",["crisp",l]).all(),c=(await m("alternatives_common").select("POPULAR_COMPETITORS").where("SLUG","=",l).first())?.POPULAR_COMPETITORS||[];return c.length>0?e.filter(t=>!(c.includes(t.SLUG)||l==="zendesk"&&t.WITH_DETAILED_INTERNAL_LINKING)):e.slice(8)})),r=await r,o(),r);return(e,E)=>{const c=A,t=g,T=R;return a(),n("div",y,[_(c,{class:"font-sans-medium",text:e.$t("ALTERNATIVES.COMMON.MAIN.TITLE"),type:"h3"},null,8,["text"]),_(T,{class:"alternatives-slug-others__content"},{main:i(()=>[(a(!0),n(I,null,L(N(u).slice(0,6),s=>(a(),n("li",{key:s?.SLUG},[_(t,{class:"alternatives-slug-others__item",alternative:s},null,8,["alternative"])]))),128))]),collapsed:i(()=>[(a(!0),n(I,null,L(N(u).slice(6),s=>(a(),n("li",{key:s?.SLUG},[_(t,{class:"alternatives-slug-others__item",alternative:s},null,8,["alternative"])]))),128))]),"show-more":i(()=>[S(v(e.$t("ALTERNATIVES.COMMON.LINKING.SHOW_MORE")),1)]),_:1})])}}};export{U 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.