PageSourceSearch

https://pophone.eu/_nuxt/bYn1qv8k.js

js pophone.eu collected 2026-10-07 02:57:34 UTC 3,103 bytes, 1 lines download raw bytes

1import{q as N,p as E,d as l,c as n,f as i,b as e,a as r,j as h,h as b,l as w,i as v,F as y,r as k,z as L,t as m,x as f,n as V,y as q,m as F}from"./BiSZ_CVW.js";const I={class:"w-full py-6 lg:px-[100px] bg-[#F8F8F8]"},S={key:0,class:"w-full max-w-[1440px] mx-auto p-4 bg-[#F8F8F8] lg:px-0"},$={class:"w-full flex items-center justify-between mb-8"},A={class:"flex flex-col"},T={class:"w-full p-5"},J={CLASS:"bg-[#1E8FD9] text-white text-[11px] font-semibold rounded-xl mb-4 flex items-center justify-center w-fit px-2 py-1 max-h-[23px] "},M={class:"text-xl text-[#022B45] font-semibold mb-2 line-clamp-1 bricolage-grotesque-custom"},O={key:0,class:"text-black mb-4 line-clamp-2 min-h-[3rem]"},P={class:"flex items-center gap-2"},R={class:"flex justify-between items-center mb-4"},U={class:"flex gap-2 py-3 px-4 rounded-full bg-white shadow-md"},W={class:"flex gap-2"},K={__name:"Blogs",async setup(X){let u,p;const{data:B,error:G}=([u,p]=N(()=>E("/api/blogs/get?limit=5","$1_rzMbXWJC")),u=await u,p(),u),a=q(()=>B.value?.blogs??null),
1c=F(0),d=F(null),C=()=>{const o=d.value;o&&(o.scrollBy({left:200,behavior:"smooth"}),c.value<a.value.length-1&&c.value++)},j=()=>{const o=d.value;o&&(o.scrollBy({left:-200,behavior:"smooth"}),c.value>0&&c.value--)};return(o,t)=>{const g=h,D=v,x=h,z=v;return l(),n("div",I,[i(a)?(l(),n("div",S,[e("div",$,[e("div",A,[t[0]||(t[0]=e("h3",{class:"font-semibold text-lg lg:text-3xl text-[#022B45] bricolage-grotesque-custom"},"Olvasd a PoBlogot! ",-1)),r(g,{src:"underline-b.svg",class:"w-[164px] lg:w-[270px] -mt-1",alt:"underline"})]),r(D,{to:"/blogok",class:"bg-[#1E8FD9] text-white text-sm rounded-full py-2 px-4 lg:py-3 lg:px-6 font-semibold cursor-pointer"},{default:b(()=>[...t[1]||(t[1]=[w("Tovább az összesre",-1)])]),_:1})]),e("div",{ref_key:"scrollContainer",ref:d,class:"w-full flex gap-4 overflow-x-scroll no-scrollbar"},[i(a)?(l(!0),n(y,{key:0},k(i(a),s=>(l(),L(z,{to:`/blog/${s.slug}`,key:s.id,class:"bg-white w-[276px] lg:w-[390px] flex-shrink-0 rounded-2xl shadow-box mb-4"},{default:b(()=>[r(x,{src:s.picUrl,alt:"Blog image",loading:"lazy",decoding:"async",class:"w-full h-24 object-cover rounded-t-lg"},null,8,["src"]),e("div",T,[e("div",J,m(s.category),1),e("h3",M,m(s.title),1),s.lead?(l(),n("p",O,m(s.lead),1)):f("",!0),e("div",P,[t[2]||(t[2]=e("p",{class:"text-[#1E8FD9] text-md"},"Irány a cikk",-1)),t[3]||(t[3]=w()),r(g,{class:"h-4 -mb-1",src:"arrow-circle-blue.svg",alt:"icon"})])])]),_:2},1032,["to"]))),128)):f("",!0)],512),e("div",R,[e("div",U,[(l(!0),n(y,null,k(i(a),(s,_)=>(l(),n("div",{key:_,class:V(["h-1.5 rounded-full",_===i(c)?"bg-[#F68B46] w-12":"bg-[#D9D9D9] w-1.5"])},null,2))),128))]),e("div",W,[e("button",{onClick:j,title:"change",class:"flex items-center justify-center h-12 w-12 bg-white rounded-full cursor-pointer shadow-md"},[r(x,{src:"arrow-left1.svg",class:"h-6",alt:"left icon"})]),e("button",{onClick:C,title:"change",class:"flex items-center justify-center h-12 w-12 bg-white rounded-full cursor-pointer shadow-md"},[r(x,{src:"arrow-right.svg",class:"h-6",alt:"right icon"})])])])])):f("",!0)])}}};export{K 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.