PageSourceSearch

https://flair.hr/_nuxt/Mv48DgiK.js

js flair.hr collected 2026-09-25 20:41:36 UTC 3,019 bytes, 1 lines download raw bytes

1import{_}from"./AhwMW6Or.js";import{_ as P}from"./DM_JFuXx.js";import{a as S}from"./D3v3VFF5.js";import{u as R,_ as C}from"./BYBgy3jf.js";import{f as w,o as u,c as x,a,b as c,w as g,d as h,t as m,p as r,P as $,g as L,U as V,h as j,k as F,s as d,V as N,j as z,F as B,r as D,e as T,q}from"./CYjju1Ve.js";import"./lBg4CeGr.js";import"./XTxzQ5sV.js";import"./Ckfwf9z7.js";import"./C0Rlrcoy.js";import"./CVuq0yj1.js";import"./DlAUqK2U.js";import"./DvBpwveZ.js";import"./C4Di7b7n.js";import"./DuGK30Ph.js";const A={class:"bg-white rounded-2xl h-full w-full"},O={class:"bg-linen-500 rounded-t-2xl md:px-14 md:pt-8"},E={class:"hidden md:block inner-img:w-full inner-img:h-full inner-img:object-cover inner-img:rounded-t-2xl inner-img:mx-auto"},U={class:"flex flex-col justify-between pt-6 px-4 pb-8 h-auto"},G={class:"flex flex-col gap-2"},H={class:"font-medium text-black text-base"},I=w({__name:"RelatedPageCard",props:{card:{}},setup(e){const t=R();return(o,n)=>{const i=P;return u(),x("div",A,[a("div",O,[a("div",E,[c(C,{image:e.card.image,"aria-hidden":"",sizes:"100vw md:50vw lg:33vw"},null,8,["image"])])]),a("div",U,[a("div",G,[c(_,{tag:"h6",theme:"heading-6",colors:"text-gray-500"},{default:g(()=>[h(m(e.card.title),1)]),_:1}),c(_,{tag:"h5",theme:"heading-5"},{default:g(()=>[h(m(e.card.description),1)]),_:1})]),c(i,{to:r(t)(e.card.link.url),class:"flex items-center gap-2 mt-6"},{default:g(()=>[a("span",H,m(e.card.link.title),1),n[0]||(n[0]=a("img",{src:S,alt:"",class:"size-5 shrink-0","aria-hidden":""},null,-1))]),_:1},8,["to"])])])}}}),J=Object.assign(I,{__name:"RelatedPageCard"});function K(e){return $("/api/related-pages-setting",{query:{locale:e}})}async function M(){const e=L(),t=V(),o=j(),{data:n}=await F(d(()=>`strapi:related-pages-setting:${t.value}`),()=>K(o.value).catch(()=>null),{getCachedData:N}),i=d(()=>n.value?.data??null);return{route:e,locale:t,settings:i}}const Q={key:0,class:"relative bg-linen-50 pt-[60px] pb-[100px] lg:pt-[120px] lg:pb-[70px]"},W={class:"flair-wrapper flex flex-col gap-10 md:gap-12"},X={class:"flex flex-col gap-10"},Y={class:"grid grid-cols-1 md:grid-cols-3 gap-6"},Z=w({__name:"RelatedPagesFromSetSection",props:{blok:{}},async setup(e){let t,o;const n=e,{locale:i,settings:p}=([t,o]=z(()=>M()),t=await t,o(),t),f=d(()=>p.value?.title??null),y=d(()=>p.value?.linkText??""),v=d(()=>{const k=n.blok?.items??[],b=i.value;return k.filter(l=>l.page!=null).map(l=>{const s=l.page;return{slug:s.slug,title:s.card_title??"",description:s.card_description??"",image:s.card_image,link:{url:`/${b}/${s.slug}/`,title:y.value}}})});return(k,b)=>r(f)&&r(v).length>0?(u(),x("section",Q,[a("div",W,[a("div",X,[c(_,{tag:"h3",theme:"heading-3",class:"text-center font-500 text-black text-[32px] leading-[42px] sm:text-[36px] sm:leading-[48px]"},{default:g(()=>[h(m(r(f)),1)]),_:1})]),a("div",Y,[(u(!0),x(B,null,D(r(v),(l,s)=>(u(),T(J,{key:l.slug??s,card:l},null,8,["card"]))),128))])])])):q("",!0)}}),pe=Object.assign(Z,{__name:"RelatedPagesFromSetSection"});export{pe 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.