iBet uBet web content aggregator. Adding the entire web to your favor.
iBet uBet web content aggregator. Adding the entire web to your favor.



Link to original content: http://statistaplus.com/_nuxt/Dya87mh6.js
import p from"./a3_T1sui.js";import{r as g,A as i,o as l,c as o,a as e,F as x,v as k,n as d,t as v,b as _,s as C}from"./BbPtyKFD.js";const y={class:"flex justify-center md:justify-between overflow-hidden"},w={class:"dark:hidden justify-center z-50"},F=["src","alt"],j={class:"hidden dark:block justify-center z-50"},z=["src","alt"],B={class:"text-[#001327] dark:text-white bg-white dark:bg-[#0F2741] p-6 text-start"},N={class:"custom-bold pb-[10px]"},S={class:"text-nowrap"},A={key:0,class:"flex justify-center md:justify-end mt-8 xl:mt-[64px]"},E=["disabled"],D=["disabled"],L={__name:"CradsSlider",props:{cards:Array,visibleCount:Number,isScrollBtns:{type:Boolean,default:!0},cardSize:{type:String,default:""}},setup(n){const a=n,t=g(0),r=i(()=>t.value>0),c=i(()=>t.value+a.visibleCounta.cards.slice(t.value,t.value+a.visibleCount)),h=()=>{c.value&&t.value++},f=()=>{r.value&&t.value--};return(V,G)=>{const m=p;return l(),o("div",null,[e("div",y,[(l(!0),o(x,null,k(u.value,(s,b)=>(l(),o("div",{key:b,class:d([(b+2>u.value.length,"mr-0"),"rounded-md",n.cardSize])},[e("div",w,[e("img",{src:`/imgs/colleagues-photos/slider-photos/light/${s.image}`,class:"w-full object-cover",alt:s.alt},null,8,F)]),e("div",j,[e("img",{src:`/imgs/colleagues-photos/slider-photos/dark/${s.image}`,class:"w-full object-cover",alt:s.alt},null,8,z)]),e("div",B,[e("p",N,v(s.name),1),e("p",S,v(s.position),1)])],2))),128))]),n.isScrollBtns?(l(),o("div",A,[e("button",{"aria-label":"Name",class:"z-10 mr-10",onClick:f,disabled:!r.value},[_(m,{name:"basil:arrow-left-outline",class:d(["h-10 w-10 p-1 rounded-full bg-[#E8F0F4] dark:bg-[#0F2741] z-10",r.value?"text-custom-blue dark:text-[#66aff9]":"text-[#ADC5CE] dark:bg-[#7B94A3]"])},null,8,["class"])],8,E),e("button",{"aria-label":"Name",class:"z-10",onClick:h,disabled:!c.value},[_(m,{name:"basil:arrow-right-outline",class:d(["h-10 w-10 p-1 rounded-full bg-[#E8F0F4] dark:bg-[#0F2741]",c.value?"text-custom-blue dark:text-[#66aff9]":"text-[#ADC5CE] dark:bg-[#7B94A3]"])},null,8,["class"])],8,D)])):C("",!0)])}}};export{L as _};