PageSourceSearch

https://alkitab.or.id/_nuxt/UhmvbGWo.js

js alkitab.or.id collected 2026-09-24 10:08:07 UTC 5,216 bytes, 1 lines download raw bytes

1import{_ as R}from"./WEiPNe7V.js";import{_ as S,L as p,c as i,o as a,a as e,t as l,g as d,w as r,G as h,H as x,f as k,j as E,u as w,h as b,i as P,A as M}from"./I2d13AXD.js";import{f as v}from"./DacvftpA.js";import{S as O,a as C}from"./CTKr5aKO.js";import{P as j}from"./COOFWhdT.js";import{A as B,E as L}from"./CLRYUmjq.js";import{u as H}from"./CojALp2T.js";import{u as D}from"./BFRjSKkG.js";const T={name:"SwiperRenungan",components:{Swiper:C,SwiperSlide:O},data(){return{swiperRenungan:null}},async setup(){const{t:o}=b(),n=H(),f=P(),t=b();var _=M({month:0,year:0,index:0,limit:6,language:t.locale,sortBy:"newest"});const{data:c}=await D(async()=>await n.getRenungan(_.value),"$XXc442aweE");return{t:o,renunganStore:n,localePath:f,i18n:t,modules:[j,B,L]}},methods:{onSwiper(o){this.swiperRenungan=o},handleSlideNextRenungan(){this.swiperRenungan&&this.swiperRenungan.slideNext()},handleSlideBackRenungan(){this.swiperRenungan&&this.swiperRenungan.slidePrev()}}},G={class:"p-5 sm:p-5 md:p-10 sm:my-5 mx-4 sm:mx-20 md:mx-30 hidden sm:block"},I={class:"flex items-center justify-between"},U={class:"font-bold text-lg sm:text-2xl sm:mb-4"},V={class:"flex flex-row gap-2"},z={key:0},F={class:"border-solid border-2 border-gray-200 rounded-lg h-full flex flex-1 justify-between flex-col"},K={class:"flex flex-1 flex-col justify-between p-2 gap-2"},X={class:"font-bold text-sm sm:text-lg"},Y={class:"font-semibold text-sm sm:text-md"},q={class:"text-sm text-gray-400"},J={class:"flex items-center justify-center mt-5"},Q={class:"py-2 px-4 bg-blue_lai text-white rounded-lg shadow-md"},W={key:1},Z={class:"p-5 sm:hidden block"},$={class:"rounded-lg p-2"},ee={class:"flex justify-between flex-row mb-2 sm:mb-5"},se={class:"font-bold text-xl"},te={class:"text-semibold text-md text-blue_lai"},ne={key:0,class:"overflow-x-auto space-x-4 flex"},oe={class:"flex flex-1 flex-col justify-between p-2 gap-2"},le={class:"font-bold text-sm sm:text-lg w-44"},ae={class:"font-semibold text-sm sm:text-md"},ie={class:"line-clamp-2 text-sm"},de={class:"text-sm text-gray-400"},re={key:1};function ce(o,n,f,t,_,c){const m=R,u=E,N=p("swiper-slide"),y=p("swiper");return a(),i("div",null,[e("div",G,[e("div",I,[e("h1",U,l(o.$t("HOME_COMPONENT.HALAMAN_RENUNGAN.MAIN")),1),e("div",V,[e("button",{class:"p-2 m-2 hover:bg-gray-200 transition duration-300 ease-in-out rounded-full text-center",onClick:n[0]||(n[0]=s=>c.handleSlideBackRenungan())},"<"),e("button",{class:"p-2 m-2 hover:bg-gray-200 transition duration-300 ease-in-out rounded-full text-center",onClick:n[1]||(n[1]=s=>c.handleSlideNextRenungan())},">")])]),t.renunganStore.listRenungan.length!=0?(a(),i("div",z,[d(y,{slidesPerView:3,breakpoints:{380:{slidesPerView:"1",spaceBetween:10},768:{slidesPerView:"2",spaceBetween:30},999:{slidesPerView:"3",spaceBetween:30}},onSwiper:n[2]||(n[2]=s=>c.onSwiper(s)),modules:t.modules,observer:!0},{default:r(()=>[(a(!0),i(h,null,x(t.renunganStore.listRenungan.content,(s,g)=>(a(),k(N,{key:s.slug,class:"h-auto"},{default:r(()=>[d(u,{to:t.localePath({name:"renungan-slug",params:{slug:s.slug}}),onClick:A=>t.renunganStore.selectorRenungan(s)},{default:r(()=>[e("div",F,[d(m,{format:"webp",src:s.gambar,alt:"foto renungan "+g+1,loading:"lazy",preload:"",class:"rounded-t-md"},null,8,["src","alt"]),e("div",K,[e("h1",X,l(s.judul),1),e("h1",Y,l(s.nats),1),e("p",q,l(("formatDate"in o?o.formatDate:w(v))(s.jadwal)),1)])])]),_:2},1032,["to","onClick"])]),_:2},1024))),128))]),_:1},8,["modules"]),e("div",J,[d(u,{to:t.localePath({name:"renungan"})},{default:r(()=>[e("button",Q,l(o.$t("HOME_COMPONENT.HALAMAN_RENUNGAN.BUTTON_SELENGKAPNYA")),1)]),_:1},8,["to"])])])):(a(),i("div",W,[...n[3]||(n[3]=[e("div",{class:"col-span-3 grid grid-cols-2 xl:grid-cols-3 gap-2 h-48"},[e("div",{class:"bg-gray-300 rounded-lg animate-pulse h-full"}),e("div",{class:"bg-gray-300 rounded-lg animate-pulse h-full"}),e("div",{class:"hidden xl:block bg-gray-300 rounded-lg animate-pulse h-full"})],-1)])]))]),e("div",Z,[e("div",$,[e("div",ee,[e("div",null,[e("h1",se,l(o.$t("HOME_COMPONENT.HALAMAN_RENUNGAN.MAIN")),1)]),e("div",null,[d(u,{to:t.localePath({name:"renungan"})},{default:r(()=>[e("h1",te,l(o.$t("HOME_COMPONENT.HALAMAN_RENUNGAN.LINK_LIHAT_SEMUA"))+" >",1)]),_:1},8,["to"])])]),t.renunganStore.listRenungan.length!=0?(a(),i("div",ne,[(a(!0),i(h,null,x(t.renunganStore.listRenungan.content,(s,g)=>(a(),i("div",{key:s.slug,class:"w-48 border-solid border-2 border-gray-200 rounded-lg"},[d(u,{to:t.localePath({name:"renungan-slug",params:{slug:s.slug}}),onClick:A=>t.renunganStore.selectorRenungan(s),class:"h-full flex flex-col"},{default:r(()=>[d(m,{format:"webp",src:s.gambar,alt:"foto berita "+g+1,loading:"lazy",preload:"",class:"rounded-t-md"},null,8,["src","alt"]),e("div",oe,[e("h1",le,l(s.judul),1),e("h1",ae,l(s.nats),1),e("p",ie,l(s.isi),1),e("p",de,l(("formatDate"in o?o.formatDate:w(v))(s.jadwal)),1)])]),_:2},1032,["to","onClick"])]))),128))])):(a(),i("div",re,[...n[4]||(n[4]=[e("div",{class:"col-span-3 grid grid-cols-2 xl:grid-cols-3 gap-2 h-48"},[e("div",{class:"bg-gray-300 rounded-lg animate-pulse h-full"}),e("div",{class:"bg-gray-300 rounded-lg animate-pulse h-full"})],-1)])]))])])])}const we=S(T,[["render",ce]]);export{we 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.