1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./LYzBgXR0.js","./BPin-8A6.js","./BoCrS3Sw.js","./DQ2-L7T_.js","./Cog6zwAo.js","./swiper-vue.DJHdZmOr.css","./entry.DBepFgXP.css","./BGRn8jfG.js","./C1Vv-kVe.js","./CE1rANRC.js","./Link.B7MY-7ck.css","./C88wCSMO.js","./Cg6F11O5.js","./Cs77hbqj.js","./PopularDestinations.BLvOrjUU.css","./C_hRmpsz.js"])))=>i.map(i=>d[i]); 2try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="9154de0e-adee-4f63-8006-bfb649225f81",e._sentryDebugIdIdentifier="sentry-dbid-9154de0e-adee-4f63-8006-bfb649225f81")}catch(Zl){}import{b5 as e,aY as t,b1 as a,a_ as l,bb as r,bc as s,bd as i,be as o,bf as n,b6 as d,bg as c,ba as u,aT as p,b4 as g}from"./DQ2-L7T_.js";import{_ as v}from"./ltMXaw0P.js";import{_ as f}from"./Dnmx3eEQ.js";import{_ as m,c as h}from"./BoCrS3Sw.js";import{o as x,E as b,p as y,a7 as w,G as k,x as C,a1 as A,a3 as _,N as z,a6 as j,a0 as L,O as M,$ as B,aj as S,u as $,ai as P,ak as E,Z as V,ah as H,a2 as q,X as I,Y as T,j as D,n as F,q as O,T as R,ag as U,ab as N,al as Q,b as W,ac as G,L as K}from"./Cog6zwAo.js";import{g as J,f as Y,a as X,d as Z}from"./DV37FUNw.js";import ee from"./Bzt0OKGy.js";import{g as te}from"./DueyWF_q.js";import ae from"./xqfbh_jU.js";import{u as le}from"./Cs77hbqj.js";import"./CHNsotTP.js";import"./Bn6vaUBX.js";const re={class:"relative overflow-hidden bg-[#0C1219]"},se={class:"container relative z-10 py-10 lg:py-14"},ie={class:"mb-6 inline-flex items-center gap-2.5 rounded-full border border-primary/20 bg-primary/[0.08] px-4 py-2"},oe={class:"text-xs font-bold tracking-widest uppercase text-primary"},ne={key:0,class:"animate-pulse"},de={class:"grid grid-cols-1 gap-4 lg:grid-cols-12 lg:gap-5"},ce={class:"lg:col-span-5 xl:col-span-4 space-y-4"},ue={key:0,class:"grid grid-cols-1 gap-4 lg:grid-cols-12 lg:gap-5"},pe={class:"lg:col-span-7 xl:col-span-8"},ge={class:"relative"},ve={key:1,class:"absolute inset-0 flex items-center justify-center bg-gradient-to-br from-white/[0.04] to-white/[0.01]"},fe={class:"absolute top-4 left-4 z-10 flex items-center gap-2"},me={key:0,class:"inline-flex items-center gap-1 rounded-md bg-coral px-2 py-1 text-[10px] font-bold uppercase tracking-wider text-white"},he={key:1,class:"inline-flex items-center gap-1 rounded-md bg-primary px-2 py-1 text-[10px] font-bold uppercase tracking-wider text-[#0C1219]"},xe={key:2,class:"absolute top-4 right-4 z-10"},be={class:"inline-flex items-center gap-1.5 rounded-lg bg-black/40 backdrop-blur-sm px-2.5 py-1.5 text-[11px] font-bold text-white/80 tabular-nums"},ye={class:"absolute inset-x-0 bottom-0 p-5 lg:p-8"},we={class:"max-w-xl"},ke={key:0,class:"hero-text mb-2 inline-block rounded-md bg-primary px-2.5 py-1 text-[11px] font-bold uppercase tracking-wider text-[#0C1219]"},Ce={class:"hero-text text-xl font-extrabold leading-snug text-white sm:text-2xl lg:text-3xl line-clamp-2"},Ae={key:1,class:"hero-text mt-2 text-sm leading-relaxed text-white/60 line-clamp-2 lg:text-base"},_e={class:"hero-text mt-3 flex items-center gap-4 text-xs text-white/40"},ze={key:0,class:"flex items-center gap-1"},je={key:1,class:"flex items-center gap-1"},Le={key:2,class:"flex items-center gap-1"},Me={class:"hero-text mt-4 inline-flex items-center gap-2 rounded-lg bg-primary/10 backdrop-blur-sm px-4 py-2 text-sm font-semibold text-primary transition-all duration-300 group-hover:bg-primary group-hover:text-[#0C1219] group-hover:gap-3"},Be={key:0,class:"mt-3 flex items-center gap-2 px-1"},Se=["aria-label","onClick"],$e={key:1,class:"absolute inset-0 rounded-full bg-primary/60"},Pe={class:"lg:col-span-5 xl:col-span-4 flex flex-col gap-3"},Ee={class:"relative w-28 lg:w-32 flex-shrink-0 overflow-hidden ml-[3px]"},Ve={key:1,class:"flex h-full w-full items-center justify-center bg-white/[0.02]"},He={class:"absolute top-2 left-2 flex h-6 w-6 items-center justify-center rounded-lg bg-black/50 backdrop-blur-sm text-[11px] font-bold text-white ring-1 ring-white/10"},qe={class:"flex flex-1 flex-col justify-center p-3 lg:p-4"},Ie={key:0,class:"mb-1 text-[10px] font-semibold uppercase tracking-wider text-primary/70"},Te={class:"text-[13px] font-bold leading-snug text-white line-clamp-2 transition-colors duration-300 group-hover:text-primary lg:text-sm"},De={class:"mt-1.5 flex items-center gap-3 text-[11px] text-white/30"},Fe={key:0},Oe={key:1,class:"flex items-center gap-1"},Re={key:2,class:"flex items-center gap-1"},Ue={class:"grid grid-cols-1 gap-4 lg:grid-cols-12 lg:gap-5 animate-pulse"},Ne={class:"lg:col-span-5 xl:col-span-4 space-y-4"},Qe={key:0,class:"text-center lg:text-left"},We={class:"text-lg font-extrabold text-primary tabular-nums"},Ge={class:"text-[11px] text-white/30"},Ke={class:"text-center lg:text-left"},Je={class:"text-lg font-extrabold text-white tabular-nums"},Ye={class:"text-[11px] text-white/30"},Xe=e({__name:"BlogHeroSlider",props:{articles:{type:Array,default:()=>[]},loading:{type:Boolean,default:!1},totalArticles:{type:Number,default:0},categoriesCount:{type:Number,default:0}},setup(e){const r=e,{locale:s}=t(),i=[P,E],o=D(null),n=D(0),d=D(0);function c(e){o.value=e}function u(e){n.value=e.realIndex,d.value=0}function p(e,t,a){d.value=Math.round(100*(1-a))}x(()=>
2{if(o.value&&!o.value.destroyed)try{o.value.destroy(!1,!1)}catch{}o.value=null});const g=F(()=>(r.articles||[]).slice(0,2)),v=F(()=>(r.articles||[]).slice(2,5)),f=D(new Set),h=e=>{if(!e)return null;if(f.value.has(e.id))return null;const t=e?.cover?.originalUrl;return t&&"string"==typeof t&&t.trim().length>0?t:null},O=e=>{if(!e)return"bg-primary/40";const t=e.toLowerCase();return t.includes("guide")||t.includes("rejseguide")?"bg-primary/60":t.includes("rival")?"bg-[#E63946]/60":t.includes("kunde")||t.includes("udtalelse")?"bg-[#3B82F6]/60":t.includes("kamp")?"bg-[#22C55E]/60":"bg-primary/40"},R=e=>X(e,s.value),U=Y,N=J,Q=D(null),W=D(0),G=D(0),K=D(!1);function Z(e,t,a=1200){const l=performance.now();requestAnimationFrame(function r(s){const i=s-l,o=Math.min(i/a,1),n=1-Math.pow(1-o,3);e.value=Math.round(0+(t-0)*n),o<1&&requestAnimationFrame(r)})}return b(()=>{if(!Q.value)return W.value=r.totalArticles,void(G.value=r.categoriesCount);const e=new IntersectionObserver(([t])=>{t.isIntersecting&&!K.value&&(K.value=!0,Z(W,r.totalArticles,1500),Z(G,r.categoriesCount,800),e.disconnect())},{threshold:.5});e.observe(Q.value),x(()=>e.disconnect())}),y(()=>r.totalArticles,e=>{K.value&&e>0&&Z(W,e,1500)}),y(()=>r.categoriesCount,e=>{K.value&&e>0&&Z(G,e,800)}),(t,r)=>{const s=m,f=a,x=H,b=S,y=l;return w(),k("section",re,[r[19]||(r[19]=C('<div class="absolute inset-0" aria-hidden="true" data-v-5f70e044><div class="hero-slider-bg absolute inset-0" data-v-5f70e044></div><div class="hero-dot-grid absolute inset-0" data-v-5f70e044></div><div class="hero-diag-lines absolute top-0 right-0 w-[600px] h-[400px]" data-v-5f70e044></div><div class="hero-field-circle absolute -bottom-20 -left-20 w-[360px] h-[360px] hidden lg:block" data-v-5f70e044></div><div class="hero-hexagon absolute top-10 -right-10 w-[300px] h-[300px] hidden lg:block" data-v-5f70e044></div><div class="hero-slider-shapes absolute inset-0 hidden lg:block" data-v-5f70e044></div><div class="hero-slider-shapes-right absolute inset-0 hidden lg:block" data-v-5f70e044></div><div class="absolute left-1/2 top-0 h-[500px] w-[800px] -translate-x-1/2 -translate-y-1/4 rounded-full bg-primary/[0.05] blur-[120px]" data-v-5f70e044></div><div class="absolute -bottom-24 -right-24 h-[400px] w-[400px] rounded-full bg-primary/[0.03] blur-[100px]" data-v-5f70e044></div><div class="absolute -bottom-16 -left-16 h-[250px] w-[250px] rounded-full bg-secondary/[0.03] blur-[90px]" data-v-5f70e044></div><div class="absolute top-1/3 right-1/4 h-[200px] w-[200px] rounded-full bg-coral/[0.02] blur-[80px] hidden lg:block" data-v-5f70e044></div><div class="absolute inset-x-0 top-0 h-px bg-gradient-to-r from-transparent via-primary/25 to-transparent" data-v-5f70e044></div><div class="absolute inset-x-0 bottom-0 h-24 bg-gradient-to-t from-[#0C1219] to-transparent" data-v-5f70e044></div></div>',1)),A("div",se,[A("div",ie,[r[0]||(r[0]=A("svg",{class:"h-[18px] w-[18px] text-primary",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[A("path",{d:"M12 6.042A8.967 8.967 0 006 3.75c-1.052 0-2.062.18-3 .512v14.25A8.987 8.987 0 016 18c2.305 0 4.408.867 6 2.292m0-14.25a8.966 8.966 0 016-2.292c1.052 0 2.062.18 3 .512v14.25A8.987 8.987 0 0018 18a8.967 8.967 0 00-6 2.292m0-14.25v14.25",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})],-1)),A("span",oe,_(t.$t("blog.featured")),1)]),e.loading&&!e.articles.length?(w(),k("div",ne,[A("div",de,[r[1]||(r[1]=A("div",{class:"lg:col-span-7 xl:col-span-8"},[A("div",{class:"min-h-[340px] lg:min-h-[420px] rounded-2xl bg-white/[0.04]"})],-1)),A("div",ce,[(w(),k(z,null,j(3,e=>A("div",{key:`skel-${e}`,class:"h-[120px] rounded-xl bg-white/[0.03]"})),64))])])])):L("",!0),M(y,null,{fallback:B(()=>[A("div",Ue,[r[16]||(r[16]=A("div",{class:"lg:col-span-7 xl:col-span-8 min-h-[300px] lg:min-h-[420px] rounded-2xl bg-white/[0.04]"},null,-1)),A("div",Ne,[(w(),k(z,null,j(3,e=>A("div",{key:`fb-${e}`,class:"h-[110px] rounded-xl bg-white/[0.03]"})),64))])])]),default:B(()=>[e.articles.length?(w(),k("div",ue,[A("div",pe,[A("div",ge,[M(b,{modules:i,"slides-per-view":1,"space-between":0,loop:$(g).length>1,autoplay:{delay:6e3,disableOnInteraction:!1,pauseOnMouseEnter:!0},navigation:{nextEl:".hero-next",prevEl:".hero-prev"},class:"rounded-2xl overflow-hidden",onSwiper:c,onSlideChange:u,onAutoplayTimeLeft:p},{default:B(()=>[(w(!0),k(z,null,j($(g),(e,a)=>(w(),V(x,{key:`hero-slide-${e.id}`},{default:B(()=>[M(f,{to:t.$localePath({name:"blog-slug",params:{slug:e.slug}}),class:"group relative block min-h-[300px] lg:min-h-[420px] overflow-hidden"},{default:B(()=>[h(e)?(w(),V(s,{key:0,src:h(e),alt:e.title,width:"900",height:"500",sizes:"(max-width: 768px) 100vw, 60vw",format:"webp",quality:"85",loading:0===a?"eager":"lazy",class:"absolute inset-0 h-full w-full object-cover transition-transform duration-700 ease-out group-hover:scale-[1.04]"},null,8,["src","alt","loading"])):(w(),k("div",ve,[...r[2]||(r[2]=[A("svg",{class:"h-12 w-12 text-white/[0.08]",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"1"},[A("path",{d:"M2.25 15.75l5.159-5.159a2.25 2.25 0 013.182 0l5.159 5.159m-1.5-1.5l1.409-1.409a2.25 2.25 0 013.182 0l2.909 2.909M3.75 21h16.5A2.25 2.25 0 0022.5 18.75V5.25A2.25 2.25 0 0020.25 3H3.75A2.25 2.25 0 001.5 5.25v13.5A2.25 2.25 0 003.75 21z"})],-1)])])),r[9]||(r[9]=A("div",{class:"absolute inset-0 bg-gradient-to-t from-black/80 via-black/30 to-transparent"},null,-1)),r[10]||(r[10]=A("div",{class:"absolute inset-0 bg-gradient-to-r from-black/40 to-transparent opacity-0 transition-opacity duration-500 group-hover:opacity-100"},null,-1)),A("div",fe,[e.isPinned?(w(),k("span",me,[...r[3]||(r[3]=[A("svg",{class:"h-3 w-3",viewBox:"0 0 20 20",fill:"currentColor"},[A("path",{d:"M10.707 2.293a1 1 0 00-1.414 0l-7 7a1 1 0 001.414 1.414L4 10.414V17a1 1 0 001 1h2a1 1 0 001-1v-2a1 1 0 011-1h2a1 1 0 011 1v2a1 1 0 001 1h2a1 1 0 001-1v-6.586l.293.293a1 1 0 001.414-1.414l-7-7z"})],-1),q(" Pinned ",-1)])])):L("",!0),e.isFeatured&&!e.isPinned?(w(),k("span",he,[...r[4]||(r[4]=[A("svg",{class:"h-3 w-3",viewBox:"0 0 20 20",fill:"currentColor"},[A("path",{d:"M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z"})],-1),q(" Featured ",-1)])])):L("",!0)]),$(g).length>1?(w(),k("div",xe,[A("span",be,_($(n)+1)+" / "+_($(g).length),1)])):L("",!0),A("div",ye,[A("div",we,[e.category?.title?(w(),k("span",ke,_(e.category.title),1)):L("",!0),A("h2",Ce,_(e.title),
21),e.subTitle?(w(),k("p",Ae,_(e.subTitle),1)):L("",!0),A("div",_e,[e.publishedAt?(w(),k("span",ze,[r[5]||(r[5]=A("svg",{class:"h-3.5 w-3.5",viewBox:"0 0 20 20",fill:"currentColor"},[A("path",{"fill-rule":"evenodd",d:"M5.75 2a.75.75 0 01.75.75V4h7V2.75a.75.75 0 011.5 0V4h.25A2.75 2.75 0 0118 6.75v8.5A2.75 2.75 0 0115.25 18H4.75A2.75 2.75 0 012 15.25v-8.5A2.75 2.75 0 014.75 4H5V2.75A.75.75 0 015.75 2z","clip-rule":"evenodd"})],-1)),q(" "+_(R(e.publishedAt)),1)])):L("",!0),$(N)(e)?(w(),k("span",je,[r[6]||(r[6]=A("svg",{class:"h-3.5 w-3.5",viewBox:"0 0 20 20",fill:"currentColor"},[A("path",{"fill-rule":"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm.75-13a.75.75 0 00-1.5 0v5c0 .414.336.75.75.75h4a.75.75 0 000-1.5h-3.25V5z","clip-rule":"evenodd"})],-1)),q(" "+_($(N)(e))+" min ",1)])):L("",!0),e.viewsCount>0?(w(),k("span",Le,[r[7]||(r[7]=A("svg",{class:"h-3.5 w-3.5",viewBox:"0 0 20 20",fill:"currentColor"},[A("path",{d:"M10 12.5a2.5 2.5 0 100-5 2.5 2.5 0 000 5z"}),A("path",{"fill-rule":"evenodd",d:"M.664 10.59a1.651 1.651 0 010-1.186A10.004 10.004 0 0110 3c4.257 0 7.893 2.66 9.336 6.41.147.381.146.804 0 1.186A10.004 10.004 0 0110 17c-4.257 0-7.893-2.66-9.336-6.41z","clip-rule":"evenodd"})],-1)),q(" "+_($(U)(e.viewsCount)),1)])):L("",!0)]),A("div",Me,[A("span",null,_(t.$t("cta.read_more")),1),r[8]||(r[8]=A("svg",{class:"h-4 w-4 transition-transform duration-300 group-hover:translate-x-0.5",viewBox:"0 0 20 20",fill:"currentColor"},[A("path",{"fill-rule":"evenodd",d:"M3 10a.75.75 0 01.75-.75h10.638L10.23 5.29a.75.75 0 111.04-1.08l5.5 5.25a.75.75 0 010 1.08l-5.5 5.25a.75.75 0 11-1.04-1.08l4.158-3.96H3.75A.75.75 0 013 10z","clip-rule":"evenodd"})],-1))])])])]),_:2},1032,["to"])]),_:2},1024))),128))]),_:1},8,["loop"]),r[11]||(r[11]=A("button",{class:"hero-prev hidden lg:flex absolute left-3 top-1/2 -translate-y-1/2 z-20 items-center justify-center w-10 h-10 rounded-full bg-black/30 backdrop-blur-md border border-white/10 text-white transition-all duration-200 hover:bg-white/20 hover:border-white/20 hover:scale-110"},[A("svg",{class:"h-5 w-5",viewBox:"0 0 20 20",fill:"currentColor"},[A("path",{"fill-rule":"evenodd",d:"M17 10a.75.75 0 01-.75.75H5.612l4.158 3.96a.75.75 0 11-1.04 1.08l-5.5-5.25a.75.75 0 010-1.08l5.5-5.25a.75.75 0 111.04 1.08L5.612 9.25H16.25A.75.75 0 0117 10z","clip-rule":"evenodd"})])],-1)),r[12]||(r[12]=A("button",{class:"hero-next hidden lg:flex absolute right-3 top-1/2 -translate-y-1/2 z-20 items-center justify-center w-10 h-10 rounded-full bg-black/30 backdrop-blur-md border border-white/10 text-white transition-all duration-200 hover:bg-white/20 hover:border-white/20 hover:scale-110"},[A("svg",{class:"h-5 w-5",viewBox:"0 0 20 20",fill:"currentColor"},[A("path",{"fill-rule":"evenodd",d:"M3 10a.75.75 0 01.75-.75h10.638L10.23 5.29a.75.75 0 111.04-1.08l5.5 5.25a.75.75 0 010 1.08l-5.5 5.25a.75.75 0 11-1.04-1.08l4.158-3.96H3.75A.75.75 0 013 10z","clip-rule":"evenodd"})])],-1)),$(g).length>1?(w(),k("div",Be,[(w(!0),k(z,null,j($(g),(e,t)=>(w(),k("button",{key:`progress-${t}`,class:I(["hero-progress-bar relative flex-1 h-1 rounded-full overflow-hidden transition-all duration-200",t===$(n)?"bg-white/20":"bg-white/10 hover:bg-white/15"]),"aria-label":`Slide ${t+1}`,onClick:e=>function(e){o.value&&o.value.slideToLoop(e)}(t)},[t===$(n)?(w(),k("div",{key:0,class:"absolute inset-y-0 left-0 rounded-full bg-primary",style:T({width:`${$(d)}%`})},null,4)):t<$(n)?(w(),k("div",$e)):L("",!0)],10,Se))),128))])):L("",!0)])]),A("div",Pe,[(w(!0),k(z,null,j($(v),(e,a)=>(w(),V(f,{key:`hero-side-${e.id}`,to:t.$localePath({name:"blog-slug",params:{slug:e.slug}}),class:I(["hero-side-card group relative flex overflow-hidden rounded-xl border border-white/[0.06] bg-white/[0.03] transition-all duration-300 hover:border-primary/20 hover:bg-white/[0.06]",$(v).length<=2?"min-h-[130px] lg:flex-1":"min-h-[100px] lg:flex-1"])},{default:B(()=>[A("div",{class:I(["absolute left-0 top-0 bottom-0 w-[3px] transition-all duration-300 group-hover:w-1",O(e.category?.title)])},null,2),A("div",Ee,[h(e)?(w(),V(s,{key:0,src:h(e),alt:e.title,width:"180",height:"140",sizes:"128px",format:"webp",quality:"75",loading:"lazy",class:"h-full w-full object-cover transition-transform duration-500 group-hover:scale-110"},null,8,["src","alt"])):(w(),k("div",Ve,[...r[13]||(r[13]=[A("svg",{class:"h-6 w-6 text-white/[0.06]",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"1"},[A("path",{d:"M2.25 15.75l5.159-5.159a2.25 2.25 0 013.182 0l5.159 5.159m-1.5-1.5l1.409-1.409a2.25 2.25 0 013.182 0l2.909 2.909M3.75 21h16.5A2.25 2.25 0 0022.5 18.75V5.25A2.25 2.25 0 0020.25 3H3.75A2.25 2.25 0 001.5 5.25v13.5A2.25 2.25 0 003.75 21z"})],-1)])])),A("span",He,_(a+2),1)]),A("div",qe,[e.category?.title?(w(),k("span",Ie,_(e.category.title),1)):L("",!0),A("h3",Te,_(e.title),
21),A("div",De,[e.publishedAt?(w(),k("span",Fe,_(R(e.publishedAt)),1)):L("",!0),$(N)(e)?(w(),k("span",Oe,[r[14]||(r[14]=A("svg",{class:"h-3 w-3",viewBox:"0 0 20 20",fill:"currentColor"},[A("path",{"fill-rule":"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm.75-13a.75.75 0 00-1.5 0v5c0 .414.336.75.75.75h4a.75.75 0 000-1.5h-3.25V5z","clip-rule":"evenodd"})],-1)),q(" "+_($(N)(e))+" min ",1)])):L("",!0),e.viewsCount>0?(w(),k("span",Re,[r[15]||(r[15]=A("svg",{class:"h-3 w-3",viewBox:"0 0 20 20",fill:"currentColor"},[A("path",{d:"M10 12.5a2.5 2.5 0 100-5 2.5 2.5 0 000 5z"}),A("path",{"fill-rule":"evenodd",d:"M.664 10.59a1.651 1.651 0 010-1.186A10.004 10.004 0 0110 3c4.257 0 7.893 2.66 9.336 6.41.147.381.146.804 0 1.186A10.004 10.004 0 0110 17c-4.257 0-7.893-2.66-9.336-6.41z","clip-rule":"evenodd"})],-1)),q(" "+_($(U)(e.viewsCount)),1)])):L("",!0)])])]),_:2},1032,["to","class"]))),128))])])):L("",!0)]),_:1}),A("div",{ref_key:"statsRow",ref:Q,class:"mt-6 flex items-center justify-center gap-6 rounded-xl bg-white/[0.03] border border-white/[0.04] px-5 py-3 lg:justify-start lg:w-fit"},[e.totalArticles>0?(w(),k("div",Qe,[A("p",We,[A("span",{ref:"articleCounter"},_($(W)),513),r[17]||(r[17]=q("+ ",-1))]),A("p",Ge,_(t.$t("home.guide_teaser.stat_articles")),1)])):L("",!0),e.categoriesCount>0?(w(),k(z,{key:1},[r[18]||(r[18]=A("div",{class:"h-6 w-px bg-white/[0.06]"},null,-1)),A("div",Ke,[A("p",Je,_($(G)),1),A("p",Ye,_(t.$t("menu.categories")),1)])],64)):L("",!0)],512)])])}}},[["__scopeId","data-v-5f70e044"]]),Ze={class:"bg-surface py-8 lg:py-10"},et={class:"container mx-auto px-4 lg:px-6"},tt={class:"max-w-3xl mx-auto text-center"},at={class:"text-2xl lg:text-3xl font-bold text-text-primary leading-tight"},lt={key:0,class:"mt-3 text-base lg:text-lg text-text-muted leading-relaxed"},rt={__name:"BlogIntroSection",props:{title:{type:String,default:""},subtitle:{type:String,default:""}},setup:e=>(t,a)=>(w(),k("section",Ze,[A("div",et,[a[0]||(a[0]=A("div",{class:"mx-auto mb-6 w-16 h-1 rounded-full bg-gradient-to-r from-primary/40 via-primary to-primary/40"},null,-1)),A("div",tt,[A("h1",at,_(e.title),1),e.subtitle?(w(),k("p",lt,_(e.subtitle),1)):L("",!0)])])]))},st={key:1,class:"flex absolute inset-0 justify-center items-center"},it={class:"absolute top-3 left-3 z-10"},ot={key:2,class:"absolute top-3 right-3 z-10"},nt={key:0,class:"inline-flex items-center gap-1 rounded-lg bg-coral/90 backdrop-blur-sm px-2 py-1 text-[10px] font-bold uppercase tracking-wider text-white"},dt={key:1,class:"inline-flex items-center gap-1 rounded-lg bg-primary/90 backdrop-blur-sm px-2 py-1 text-[10px] font-bold uppercase tracking-wider text-[#0C1219]"},ct={class:"mt-auto pt-4"},ut=["src","alt"],pt={class:"flex flex-col min-w-0"},gt={class:"text-[12px] text-text-muted flex items-center gap-1 mt-0.5 flex-wrap"},vt={key:1,class:"text-text-muted"},ft={key:3,class:"text-text-muted"},mt={class:"inline-flex items-center gap-0.5"},ht={key:1,class:"flex items-center gap-3 text-[12px] text-text-muted"},xt={key:0,class:"flex items-center gap-1"},bt={key:1,class:"flex items-center gap-1"},yt={class:"flex items-center gap-1"},wt={key:1,class:"mt-4 inline-flex items-center gap-1.5 text-[13px] font-semibold text-primary opacity-0 translate-y-1 transition-all duration-300 group-hover:opacity-100 group-hover:translate-y-0"},kt=e({__name:"BlogMagazineCard",props:{article:{type:Object,default:()=>({})},variant:{type:String,default:"standard",validator:e=>["featured","standard"].includes(e)}},setup(e){const l=e,{locale:r}=t(),s=F(()=>"featured"===l.variant?"aspect-[16/10] lg:aspect-auto lg:w-[55%] lg:flex-shrink-0":"aspect-[16/10]"),i=F(()=>"featured"===l.variant?"text-lg lg:text-xl line-clamp-2":"text-[15px] lg:text-base line-clamp-2"),o=F(()=>te(l.article?.category?.title)),n=D(!1),d=F(()=>{const e=l.article?.cover?.originalUrl;return e&&"string"==typeof e&&e.trim().length>0?e:null}),c=F(()=>!d.value||n.value),u=()=>{n.value=!0},p=F(()=>{if(l.article?.subTitle)return l.article.subTitle;if(l.article?.description)try{const e=l.article.description.replace(/<[^>]*>/g," ").trim(),t=Z(e);return t.length>160?`${t.substring(0,157)}...`:t}catch{return""}return""}),g=F(()=>
2{if(!l.article?.publishedAt)return"";try{return new Date(l.article.publishedAt).toLocaleDateString("da"===r.value?"da-DK":"no"===r.value?"nb-NO":"sv"===r.value?"sv-SE":"en-US",{month:"short",day:"numeric",year:"numeric"})}catch{return""}}),v=F(()=>J(l.article)),f=Y;return y(()=>l.article?.cover?.originalUrl,()=>{n.value=!1}),(t,l)=>{const r=m,n=a;return w(),V(n,{to:t.$localePath({name:"blog-slug",params:{slug:e.article?.slug}}),class:I(["group magazine-card block overflow-hidden rounded-2xl border border-border-default bg-surface transition-all duration-300 hover:-translate-y-1.5 hover:border-border-default","featured"===e.variant?"lg:flex lg:items-stretch":""])},{default:B(()=>[A("div",{class:I(["relative overflow-hidden",[$(s),$(c)?"bg-gradient-to-br from-page-bg to-surface-elevated":"bg-surface-elevated"]])},[$(d)?(w(),V(r,{key:0,src:$(d),alt:e.article?.title||"Article",width:"featured"===e.variant?720:400,height:"featured"===e.variant?400:240,sizes:"featured"===e.variant?"(max-width: 768px) 100vw, 55vw":"(max-width: 640px) 100vw, (max-width: 1024px) 50vw, 33vw",format:"webp",quality:"85",loading:"lazy",class:"absolute inset-0 w-full h-full object-cover transition-transform duration-500 ease-out group-hover:scale-105",onError:u},null,8,["src","alt","width","height","sizes"])):L("",!0),$(c)?(w(),k("div",st,[...l[0]||(l[0]=[A("div",{class:"flex flex-col items-center gap-2"},[A("svg",{class:"h-10 w-10 text-text-muted",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"1"},[A("path",{d:"M2.25 15.75l5.159-5.159a2.25 2.25 0 013.182 0l5.159 5.159m-1.5-1.5l1.409-1.409a2.25 2.25 0 013.182 0l2.909 2.909M3.75 21h16.5A2.25 2.25 0 0022.5 18.75V5.25A2.25 2.25 0 0020.25 3H3.75A2.25 2.25 0 001.5 5.25v13.5A2.25 2.25 0 003.75 21z"})])],-1)])])):L("",!0),A("div",it,[e.article?.category?.title?(w(),k("span",{key:0,class:"inline-flex items-center rounded-lg px-2.5 py-1 text-[11px] font-bold uppercase tracking-wider",style:T({...$(o).bgStyle,...$(o).textStyle})},_(e.article.category.title),5)):L("",!0)]),e.article?.isPinned||e.article?.isFeatured?(w(),k("div",ot,[e.article.isPinned?(w(),k("span",nt,[...l[1]||(l[1]=[A("svg",{class:"h-3 w-3",viewBox:"0 0 20 20",fill:"currentColor"},[A("path",{"fill-rule":"evenodd",d:"M10.868 2.884c-.321-.772-1.415-.772-1.736 0l-1.83 4.401-4.753.381c-.833.067-1.171 1.107-.536 1.651l3.62 3.102-1.106 4.637c-.194.813.691 1.456 1.405 1.02L10 15.591l4.069 2.485c.713.436 1.598-.207 1.404-1.02l-1.106-4.637 3.62-3.102c.635-.544.297-1.584-.536-1.65l-4.752-.382-1.831-4.401z","clip-rule":"evenodd"})],-1),q(" Pinned ",-1)])])):e.article.isFeatured?(w(),k("span",dt,[...l[2]||(l[2]=[A("svg",{class:"h-3 w-3",viewBox:"0 0 20 20",fill:"currentColor"},[A("path",{"fill-rule":"evenodd",d:"M10.868 2.884c-.321-.772-1.415-.772-1.736 0l-1.83 4.401-4.753.381c-.833.067-1.171 1.107-.536 1.651l3.62 3.102-1.106 4.637c-.194.813.691 1.456 1.405 1.02L10 15.591l4.069 2.485c.713.436 1.598-.207 1.404-1.02l-1.106-4.637 3.62-3.102c.635-.544.297-1.584-.536-1.65l-4.752-.382-1.831-4.401z","clip-rule":"evenodd"})],-1),q(" Featured ",-1)])])):L("",!0)])):L("",!0)],2),A("div",{class:I(["flex flex-col","featured"===e.variant?"flex-1 justify-center p-5 lg:p-7":"p-4 lg:p-5"])},[A("h3",{class:I(["font-bold leading-snug text-text-primary transition-colors duration-200 group-hover:text-primary",$(i)])},_(e.article?.title),3),$(p)?(w(),k("p",{key:0,class:I(["mt-1.5 text-text-muted leading-relaxed","featured"===e.variant?"text-sm line-clamp-3":"text-[13px] line-clamp-2"])},_($(p)),3)):L("",!0),A("div",ct,[e.article?.author?.name?(w(),k("div",{key:0,class:I(["flex items-center","featured"===e.variant?"gap-3.5":"gap-3"])},[e.article.author.avatar?.originalUrl?(w(),k("img",{key:0,src:e.article.author.avatar.originalUrl,alt:e.article.author.name,class:I(["rounded-full object-cover flex-shrink-0 ring-2 ring-primary/20","featured"===e.variant?"w-12 h-12":"w-10 h-10"])},null,10,ut)):(w(),k("span",{key:1,class:I(["rounded-full bg-primary/10 flex items-center justify-center font-bold text-primary flex-shrink-0 ring-2 ring-primary/20","featured"===e.variant?"w-12 h-12 text-lg":"w-10 h-10 text-base"])},_(e.article.author.name.charAt(0)),3)),A("div",pt,[A("span",{class:I("featured"===e.variant?"text-sm font-bold text-text-primary":"text-[13px] font-semibold text-text-primary")},_(e.article.author.name),3),A("span",gt,[$(g)?(w(),k(z,{key:0},[q(_($(g)),1)],64)):L("",!0),$(g)&&$(v)?(w(),k("span",vt,"·")):L("",!0),$(v)?(w(),k(z,{key:2},[q(_($(v))+" min read",1)],64)):L("",!0),$(g)||$(v)?(w(),k("span",ft,"·")):L("",!0),A("span",mt,[l[3]||(l[3]=A("svg",{class:"w-3.5 h-3.5",viewBox:"0 0 24 24",fill:"
2currentColor"},[A("path",{d:"M12 15a3 3 0 100-6 3 3 0 000 6z"}),A("path",{"fill-rule":"evenodd",d:"M1.323 11.447C2.811 6.976 7.028 3.75 12.001 3.75c4.97 0 9.185 3.223 10.675 7.69.12.362.12.752 0 1.113-1.487 4.471-5.705 7.697-10.677 7.697-4.97 0-9.186-3.223-10.675-7.69a1.762 1.762 0 010-1.113zM17.25 12a5.25 5.25 0 11-10.5 0 5.25 5.25 0 0110.5 0z","clip-rule":"evenodd"})],-1)),q(" "+_($(f)(e.article?.viewsCount||0)),1)])])])],2)):(w(),k("div",ht,[$(g)?(w(),k("span",xt,[l[4]||(l[4]=A("svg",{class:"h-3.5 w-3.5",viewBox:"0 0 20 20",fill:"currentColor"},[A("path",{"fill-rule":"evenodd",d:"M5.75 2a.75.75 0 01.75.75V4h7V2.75a.75.75 0 011.5 0V4h.25A2.75 2.75 0 0118 6.75v8.5A2.75 2.75 0 0115.25 18H4.75A2.75 2.75 0 012 15.25v-8.5A2.75 2.75 0 014.75 4H5V2.75A.75.75 0 015.75 2z","clip-rule":"evenodd"})],-1)),q(" "+_($(g)),1)])):L("",!0),$(v)?(w(),k("span",bt,[l[5]||(l[5]=A("svg",{class:"h-3.5 w-3.5",viewBox:"0 0 20 20",fill:"currentColor"},[A("path",{"fill-rule":"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm.75-13a.75.75 0 00-1.5 0v5c0 .414.336.75.75.75h4a.75.75 0 000-1.5h-3.25V5z","clip-rule":"evenodd"})],-1)),q(" "+_($(v))+" min read ",1)])):L("",!0),A("span",yt,[l[6]||(l[6]=A("svg",{class:"w-3.5 h-3.5",viewBox:"0 0 24 24",fill:"currentColor"},[A("path",{d:"M12 15a3 3 0 100-6 3 3 0 000 6z"}),A("path",{"fill-rule":"evenodd",d:"M1.323 11.447C2.811 6.976 7.028 3.75 12.001 3.75c4.97 0 9.185 3.223 10.675 7.69.12.362.12.752 0 1.113-1.487 4.471-5.705 7.697-10.677 7.697-4.97 0-9.186-3.223-10.675-7.69a1.762 1.762 0 010-1.113zM17.25 12a5.25 5.25 0 11-10.5 0 5.25 5.25 0 0110.5 0z","clip-rule":"evenodd"})],-1)),q(" "+_($(f)(e.article?.viewsCount||0)),1)])]))]),"featured"===e.variant?(w(),k("div",wt,[A("span",null,_(t.$t("cta.read_more")),1),l[7]||(l[7]=A("svg",{class:"h-3.5 w-3.5 transition-transform duration-300 group-hover:translate-x-1",viewBox:"0 0 20 20",fill:"currentColor"},[A("path",{"fill-rule":"evenodd",d:"M3 10a.75.75 0 01.75-.75h10.638L10.23 5.29a.75.75 0 111.04-1.08l5.5 5.25a.75.75 0 010 1.08l-5.5 5.25a.75.75 0 11-1.04-1.08l4.158-3.96H3.75A.75.75 0 013 10z","clip-rule":"evenodd"})],-1))])):L("",!0)],2)]),_:1},8,["to","class"])}}},[["__scopeId","data-v-781a53c0"]]),Ct={key:0,class:"bg-surface py-8 lg:py-10 border-b border-border-default"},At={class:"container mx-auto px-4 lg:px-6"},_t={class:"flex items-center gap-3 mb-6"},zt={class:"text-lg font-bold text-text-primary"},jt={class:"flex gap-4 overflow-x-auto lg:grid lg:grid-cols-4 scrollbar-hide pb-2 -mx-4 px-4 lg:mx-0 lg:px-0"},Lt=e({__name:"BlogEditorsPicks",props:{articles:{type:Array,default:()=>[]}},setup:e=>(t,a)=>{const l=kt;return e.articles.length?(w(),k("section",Ct,[A("div",At,[A("div",_t,[a[0]||(a[0]=A("div",{class:"flex items-center justify-center w-9 h-9 rounded-xl bg-primary/10"},[A("svg",{class:"w-5 h-5 text-primary",viewBox:"0 0 20 20",fill:"currentColor"},[A("path",{"fill-rule":"evenodd",d:"M10.868 2.884c-.321-.772-1.415-.772-1.736 0l-1.83 4.401-4.753.381c-.833.067-1.171 1.107-.536 1.651l3.62 3.102-1.106 4.637c-.194.813.691 1.456 1.405 1.02L10 15.591l4.069 2.485c.713.436 1.598-.207 1.404-1.02l-1.106-4.637 3.62-3.102c.635-.544.297-1.584-.536-1.65l-4.752-.382-1.831-4.401z","clip-rule":"evenodd"})])],-1)),A("h2",zt,_(t.$t("blog.editors_picks")),1)]),A("div",jt,[(w(!0),k(z,null,j(e.articles,e=>(w(),V(l,{key:`pick-${e.id}`,article:e,variant:"standard",class:"flex-shrink-0 w-[280px] lg:w-auto"},null,8,["article"]))),128))])])])):L("",!0)}},[["__scopeId","data-v-e0e632da"]]),Mt={class:"container mx-auto px-4 lg:px-6"},Bt={class:"flex items-center gap-3 py-2.5 lg:py-3"},St={class:"relative flex-1 min-w-0"},$t={key:0,class:"absolute left-0 top-0 bottom-0 z-10 w-8 bg-gradient-to-r from-surface to-transparent pointer-events-none"},Pt={key:1,class:"absolute right-0 top-0 bottom-0 z-10 w-8 bg-gradient-to-l from-surface to-transparent pointer-events-none"},Et={class:"flex gap-1.5 py-0.5"},Vt=["onClick"],Ht={class:"hidden lg:flex items-center gap-2.5 flex-shrink-0"},qt={class:"flex items-center gap-1.5 rounded-lg bg-page-bg px-3 py-2 text-[13px]"},It={class:"font-bold text-text-primary"},Tt={class:"text-text-muted"},Dt={class:"flex items-center gap-1.5 lg:hidden flex-shrink-0"},Ft={class:"hidden sm:inline"},Ot={key:0,class:"w-1.5 h-1.5 rounded-full bg-primary"},Rt={class:"text-xs text-text-muted font-medium tabular-nums"},Ut={key:0,class:"lg:hidden overflow-hidden pb-2.5"},Nt={class:"relative"},Qt=["value","placeholder"],Wt={key:0,class:"lg:hidden overflow-hidden pb-3"},Gt={class:"space-y-2.5"},Kt={class:"text-[11px] font-semibold uppercase tracking-wider text-text-muted mb-1.5"},Jt={class:"flex flex-wrap gap-1.5"},Yt=["onClick"],Xt={class:"flex items-center justify-between pt-1"},Zt={class:"text-sm text-text-muted"},ea={class:"font-bold text-text-primary"},ta=e({__name:"BlogCategoryStrip",props:{categories:{type:Array,default:()=>[]},selectedCategory:{type:String,default:""},searchQuery:{type:String,default:""},selectedSort:{type:String,default:"date-DESC"},sortOptions:{type:Array,default:()=>[]},totalResults:{type:Number,default:0},hasActiveFilters:{type:Boolean,default:!1}},emits:["update:selectedCategory","update:searchQuery","update:selectedSort","clear-filters"],setup(e,{emit:t}){const a=e,l=t,r=D(null),s=D(null),i=D(null),o=D(!1),n=D(!1),d=D(!1),c=D(!1),u=D(!1);function p(){l("update:searchQuery","")}function g(){d.value=!d.value,d.value&&(n.value=!1,O(()=>{i.value?.focus()}))}function v(){if(!s.value)return;const e=s.value;c.value=e.scrollLeft>4,u.value=e.scrollLeft<e.scrollWidth-e.clientWidth-4}return b(()=>{if(r.value){const e=new IntersectionObserver(([e])=>{o.value=!e.isIntersecting},{threshold:1,rootMargin:"-1px 0px 0px 0px"});e.observe(r.value),x(()=>e.disconnect())}O(()=>v())}),y(()=>a.categories,()=>{O(()=>v())},{deep:!0}),y(()=>a.selectedCategory,()=>{O(()=>{if(!s.value)return;const e=s.value.querySelector(".bg-\\[\\#0C1219\\]");e&&e.scrollIntoView({behavior:"smooth",block:"nearest",inline:"center"})})}),(t,a)=>(w(),k("div",{ref_key:"stripEl",ref:r,class:I(["sticky top-0 z-30 bg-surface transition-all duration-300",($(o),"border-b border-border-default")])},[A("div",Mt,[A("div",Bt,[A("div",St,[$(c)?(w(),k("div",$t)):L("",!0),$(u)?(w(),k("div",Pt)):L("",!0),A("div",{ref_key:"pillsContainer",ref:s,class:"overflow-x-auto scrollbar-hide scroll-smooth",onScroll:v},[A("div",Et,[(w(!0),k(z,null,j(e.categories,a=>{return w(),k("button",{key:`strip-${a.value}`,class:I(["category-pill flex-shrink-0 inline-flex items-center gap-1.5 rounded-full px-3.5 py-1.5 text-[13px] font-medium transition-all duration-200 whitespace-nowrap",e.selectedCategory===a.value?"bg-[#0C1219] dar
2k:bg-white dark:text-[#0C1219] text-white":"bg-transparent text-text-secondary hover:bg-surface-elevated hover:text-text-primary"]),onClick:e=>t.$emit("update:selectedCategory",a.value)},[a.value?(w(),k("span",{key:0,class:"w-2 h-2 rounded-full flex-shrink-0",style:T((l=a.label,te(l).dotStyle))},null,4)):L("",!0),q(" "+_(a.label),1)],10,Vt);var l}),128))])],544)]),A("div",Ht,[A("div",qt,[A("span",It,_(e.totalResults),1),A("span",Tt,_(t.$t("word.results").toLowerCase()),1)])]),A("div",Dt,[A("button",{class:I(["flex items-center justify-center w-9 h-9 rounded-lg transition-all duration-200",$(d)?"bg-primary text-[#0C1219]":"text-text-muted hover:bg-surface-elevated"]),onClick:g},[...a[3]||(a[3]=[A("svg",{class:"h-4.5 w-4.5",viewBox:"0 0 20 20",fill:"currentColor"},[A("path",{"fill-rule":"evenodd",d:"M9 3.5a5.5 5.5 0 100 11 5.5 5.5 0 000-11zM2 9a7 7 0 1112.452 4.391l3.328 3.329a.75.75 0 11-1.06 1.06l-3.329-3.328A7 7 0 012 9z","clip-rule":"evenodd"})],-1)])],2),A("button",{class:I(["flex items-center justify-center gap-1.5 h-9 rounded-lg px-2.5 transition-all duration-200 text-[13px] font-medium",$(n)?"bg-[#0C1219] dark:bg-white dark:text-[#0C1219] text-white":e.hasActiveFilters?"bg-primary/10 text-[#0C1219] dark:text-primary border border-primary/30":"text-text-muted hover:bg-surface-elevated"]),onClick:a[0]||(a[0]=e=>n.value=!$(n))},[a[4]||(a[4]=A("svg",{class:"h-4 w-4",viewBox:"0 0 20 20",fill:"currentColor"},[A("path",{"fill-rule":"evenodd",d:"M2.628 1.601C5.028 1.206 7.49 1 10 1s4.973.206 7.372.601a.75.75 0 01.628.74v2.288a2.25 2.25 0 01-.659 1.59l-4.682 4.683a2.25 2.25 0 00-.659 1.59v3.037c0 .684-.31 1.33-.844 1.757l-1.937 1.55A.75.75 0 018 18.25v-5.757a2.25 2.25 0 00-.659-1.591L2.659 6.22A2.25 2.25 0 012 4.629V2.34a.75.75 0 01.628-.74z","clip-rule":"evenodd"})],-1)),A("span",Ft,_(t.$t("word.sorting")),1),e.hasActiveFilters&&!$(n)?(w(),k("span",Ot)):L("",!0)],2),A("span",Rt,_(e.totalResults),1)])]),M(R,{"enter-active-class":"transition-all duration-250 ease-out","leave-active-class":"transition-all duration-200 ease-in","enter-from-class":"opacity-0 -translate-y-1 max-h-0","enter-to-class":"opacity-100 translate-y-0 max-h-16","leave-from-class":"opacity-100 translate-y-0 max-h-16","leave-to-class":"opacity-0 -translate-y-1 max-h-0"},{default:B(()=>[$(d)?(w(),k("div",Ut,[A("div",Nt,[a[6]||(a[6]=A("svg",{class:"absolute left-3 top-1/2 -translate-y-1/2 h-4 w-4 text-text-muted pointer-events-none",viewBox:"0 0 20 20",fill:"currentColor"},[A("path",{"fill-rule":"evenodd",d:"M9 3.5a5.5 5.5 0 100 11 5.5 5.5 0 000-11zM2 9a7 7 0 1112.452 4.391l3.328 3.329a.75.75 0 11-1.06 1.06l-3.329-3.328A7 7 0 012 9z","clip-rule":"evenodd"})],-1)),A("input",{ref_key:"mobileSearchInput",ref:i,value:e.searchQuery,type:"text",placeholder:t.$t("blog.search_placeholder"),class:"w-full rounded-xl border border-border-default bg-page-bg py-2.5 pl-10 pr-10 text-sm outline-none transition duration-200 focus:border-primary focus:bg-surface focus:ring-1 focus:ring-primary/20",onInput:a[1]||(a[1]=e=>t.$emit("update:searchQuery",e.target.value))},null,40,Qt),e.searchQuery?(w(),k("button",{key:0,class:"absolute right-2.5 top-1/2 -translate-y-1/2 flex items-center justify-center w-7 h-7 rounded-md text-text-muted hover:text-text-secondary hover:bg-surface-elevated transition-colors",onClick:p},[...a[5]||(a[5]=[A("svg",{class:"h-3.5 w-3.5",viewBox:"0 0 20 20",fill:"currentColor"},[A("path",{d:"M6.28 5.22a.75.75 0 00-1.06 1.06L8.94 10l-3.72 3.72a.75.75 0 101.06 1.06L10 11.06l3.72 3.72a.75.75 0 101.06-1.06L11.06 10l3.72-3.72a.75.75 0 00-1.06-1.06L10 8.94 6.28 5.22z"})],-1)])])):L("",!0)])])):L("",!0)]),_:1}),M(R,{"enter-active-class":"transition-all duration-250 ease-out","leave-active-class":"transition-all duration-200 ease-in","enter-from-class":"opacity-0 -translate-y-1 max-h-0","enter-to-class":"opacity-100 translate-y-0 max-h-60","leave-from-class":"opacity-100 translate-y-0 max-h-60","leave-to-class":"opacity-0 -translate-y-1 max-h-0"},{default:B(()=>[$(n)?(w(),k("div",Wt,[A("div",Gt,[A("div",null,[A("p",Kt,_(t.$t("word.sorting")),1),A("div",Jt,[(w(!0),k(z,null,j(e.s
2ortOptions,a=>(w(),k("button",{key:`mobile-sort-${a.value}`,class:I(["rounded-lg px-3 py-1.5 text-[13px] font-medium transition-all duration-200",e.selectedSort===a.value?"bg-[#0C1219] dark:bg-white dark:text-[#0C1219] text-white":"bg-surface-elevated text-text-secondary hover:bg-surface-elevated"]),onClick:e=>t.$emit("update:selectedSort",a.value)},_(a.label),11,Yt))),128))])]),A("div",Xt,[A("span",Zt,[A("span",ea,_(e.totalResults),1),q(" "+_(t.$t("word.results").toLowerCase()),1)]),e.hasActiveFilters?(w(),k("button",{key:0,class:"text-[13px] font-medium text-red-500 hover:text-red-600 transition-colors",onClick:a[2]||(a[2]=e=>{t.$emit("clear-filters"),n.value=!1})},_(t.$t("cta.clear_all_filters")),1)):L("",!0)])])])):L("",!0)]),_:1})])],2))}},[["__scopeId","data-v-d1e99205"]]),aa={key:0,ref:"gridContainer"},la={key:1,class:"grid grid-cols-1 gap-5 sm:grid-cols-2 xl:grid-cols-3"},ra={key:2,class:"mt-6 space-y-3"},sa={class:"flex flex-col sm:flex-row sm:items-center"},ia={class:"relative flex-shrink-0 h-40 sm:h-auto sm:w-24 sm:self-stretch overflow-hidden bg-surface-elevated"},oa={key:1,class:"flex items-center justify-center w-full h-full"},na={class:"flex-1 min-w-0 p-4 sm:px-4 sm:py-3.5"},da={class:"flex items-start sm:items-center gap-3"},ca={class:"flex-1 min-w-0"},ua={class:"text-[15px] sm:text-sm font-semibold leading-snug text-text-primary line-clamp-2 sm:line-clamp-1 transition-colors duration-200 group-hover:text-primary"},pa={key:0,class:"mt-1 sm:mt-0.5 text-[13px] sm:text-[12px] text-text-muted line-clamp-2 sm:line-clamp-1"},ga={class:"mt-2 sm:mt-1.5 flex items-center gap-2 sm:gap-3 flex-wrap"},va={key:0,class:"flex items-center gap-1.5 flex-shrink-0"},fa=["src","alt"],ma={key:1,class:"w-7 h-7 rounded-full bg-primary/10 flex items-center justify-center text-[11px] font-bold text-primary flex-shrink-0 ring-1 ring-primary/20"},ha={class:"text-[12px] sm:text-[11px] font-semibold text-text-secondary"},xa={key:1,class:"text-text-muted"},ba={key:3,class:"flex items-center gap-1 text-[12px] sm:text-[11px] text-text-muted"},ya={key:4,class:"flex items-center gap-1 text-[12px] sm:text-[11px] text-text-muted"},wa={class:"flex items-center gap-1 text-[12px] sm:text-[11px] text-text-muted"},ka=e({__name:"BlogEditorialGrid",props:{articles:{type:Array,default:()=>[]},loading:{type:Boolean,default:!1},currentPage:{type:Number,default:1}},setup(e){const l=e,{locale:r}=t(),s=F(()=>1===l.currentPage),i=F(()=>s.value&&l.articles[0]||null),o=F(()=>{const e=s.value?1:0;return l.articles.slice(e,e+3)}),n=F(()=>{const e=s.value?4:3;return l.articles.slice(e)}),d=e=>{const t=e?.cover?.originalUrl;return t&&"string"==typeof t&&t.trim().length>0?t:null},c=e=>{if(e?.subTitle)return e.subTitle;if(e?.description)try{const t=e.description.replace(/<[^>]*>/g," ").trim().substring(0,120);return Z(t)}catch{return""}return""},u=J,p=Y;return(t,l)=>{const g=kt,v=m,f=a,h=ae;return e.articles.length>0?(w(),k("div",aa,[$(i)&&$(s)?(w(),V(g,{key:0,article:$(i),variant:"featured",class:"editorial-card mb-6",style:{"--idx":"0"}},null,8,["article"])):L("",!0),$(o).length?(w(),k("div",la,[(w(!0),k(z,null,j($(o),(e,t)=>(w(),V(g,{key:`grid-${e.id}`,article:e,variant:"standard",class:"editorial-card",style:T({"--idx":$(s)?t+1:t})},null,8,["article","style"]))),128))])):L("",!0),$(n).length?(w(),k("div",ra,[(w(!0),k(z,null,j($(n),(e,a)=>(w(),V(h,{key:`list-${e.id}`,ui:{body:{padding:"p-0"},rounded:"rounded-xl",ring:"ring-1 ring-border-default hover:ring-border-default",shadow:"shadow-none",base:"transition-all duration-200 hover:-translate-y-0.5 overflow-hidden"},class:"editorial-card",style:T({"--idx":($(s)?$(o).length+1:$(o).length)+a})},{default:B(()=>[M(f,{to:t.$localePath({name:"blog-slug",params:{slug:e.slug}}),class:"group block"},{default:B(()=>{return[A("div",sa,[A("div",ia,[d(e)?(w(),V(v,{key:0,src:d(e),alt:e.title||"Article",width:"320",height:"180",sizes:"(max-width: 640px) 100vw, 96px",format:"webp",quality:"75",loading:"lazy",class:"absolute inset-0 w-full h-full object-cover transition-transform duration-300 group-hover:scale-105"},null,8,["src","alt"])):(w(),k("div",oa,[...l[0]||(l[0]=[A("svg",{class:"h-8 w-8 sm:h-5 sm:w-5 text-text-muted",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"1"},[A("path",{d:"M2.25 15.75l5.159-5.159a2.25 2.25 0 013.182 0l5.159 5.159m-1.5-1.5l1.409-1.409a2.25 2.25 0 013.182 0l2.909 2.909M3.75 21h16.5A2.25 2.25 0 0022.5 18.75V5.25A2.25 2.25 0 0020.25 3H3.75A2.25 2.25 0 001.5 5.25v13.5A2.25 2.25 0 003.75 21z"})],-1)])]))]),A("div",na,[A("div",da,[A("div",ca,[A("h3",ua,_(e.title),
21),c(e)?(w(),k("p",pa,_(c(e)),1)):L("",!0),A("div",ga,[e.author?.name?(w(),k("span",va,[e.author.avatar?.originalUrl?(w(),k("img",{key:0,src:e.author.avatar.originalUrl,alt:e.author.name,class:"w-7 h-7 rounded-full object-cover flex-shrink-0 ring-1 ring-primary/20"},null,8,fa)):(w(),k("span",ma,_(e.author.name.charAt(0)),1)),A("span",ha,_(e.author.name),1)])):L("",!0),e.author?.name?(w(),k("span",xa,"·")):L("",!0),e.category?.title?(w(),k("span",{key:2,class:"hidden sm:inline-flex items-center gap-1 rounded px-1.5 py-0.5 text-[10px] font-semibold uppercase tracking-wider",style:T({...$(te)(e.category.title).bgStyle,...$(te)(e.category.title).textStyle})},_(e.category.title),5)):L("",!0),e.publishedAt?(w(),k("span",ba,[l[1]||(l[1]=A("svg",{class:"h-3.5 w-3.5 sm:h-3 sm:w-3",viewBox:"0 0 20 20",fill:"currentColor"},[A("path",{"fill-rule":"evenodd",d:"M5.75 2a.75.75 0 01.75.75V4h7V2.75a.75.75 0 011.5 0V4h.25A2.75 2.75 0 0118 6.75v8.5A2.75 2.75 0 0115.25 18H4.75A2.75 2.75 0 012 15.25v-8.5A2.75 2.75 0 014.75 4H5V2.75A.75.75 0 015.75 2z","clip-rule":"evenodd"})],-1)),q(" "+_((t=e.publishedAt,X(t,r.value))),1)])):L("",!0),$(u)(e)?(w(),k("span",ya,[l[2]||(l[2]=A("svg",{class:"h-3.5 w-3.5 sm:h-3 sm:w-3",viewBox:"0 0 20 20",fill:"currentColor"},[A("path",{"fill-rule":"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm.75-13a.75.75 0 00-1.5 0v5c0 .414.336.75.75.75h4a.75.75 0 000-1.5h-3.25V5z","clip-rule":"evenodd"})],-1)),q(" "+_($(u)(e))+" min ",1)])):L("",!0),A("span",wa,[l[3]||(l[3]=A("svg",{class:"h-3.5 w-3.5 sm:h-3 sm:w-3",viewBox:"0 0 20 20",fill:"currentColor"},[A("path",{d:"M10 12.5a2.5 2.5 0 100-5 2.5 2.5 0 000 5z"}),A("path",{"fill-rule":"evenodd",d:"M.664 10.59a1.651 1.651 0 010-1.186A10.004 10.004 0 0110 3c4.257 0 7.893 2.66 9.336 6.41.147.381.146.804 0 1.186A10.004 10.004 0 0110 17c-4.257 0-7.893-2.66-9.336-6.41z","clip-rule":"evenodd"})],-1)),q(" "+_($(p)(e.viewsCount)),1)])])]),l[4]||(l[4]=A("svg",{class:"hidden sm:block flex-shrink-0 h-4 w-4 text-text-muted transition-all duration-200 group-hover:text-primary group-hover:translate-x-0.5",viewBox:"0 0 20 20",fill:"currentColor"},[A("path",{"fill-rule":"evenodd",d:"M3 10a.75.75 0 01.75-.75h10.638L10.23 5.29a.75.75 0 111.04-1.08l5.5 5.25a.75.75 0 010 1.08l-5.5 5.25a.75.75 0 11-1.04-1.08l4.158-3.96H3.75A.75.75 0 013 10z","clip-rule":"evenodd"})],-1))])])])];var t}),_:2},1032,["to"])]),_:2},1032,["style"]))),128))])):L("",!0)],512)):L("",!0)}}},[["__scopeId","data-v-9c6fd084"]]),Ca=["aria-label"],Aa={class:"flex items-center gap-1.5"},_a=["disabled","aria-label"],za={class:"hidden sm:inline"},ja={class:"flex items-center gap-1"},La={key:0,class:"flex items-center justify-center w-10 h-10 text-text-muted select-none text-sm tracking-widest"},Ma=["disabled","aria-current","aria-label","onClick"],Ba=["disabled","aria-label"],Sa={class:"hidden sm:inline"},$a={class:"flex flex-col items-center gap-2.5"},Pa={class:"w-32 h-1 rounded-full bg-surface-elevated overflow-hidden"},Ea={class:"text-[13px] text-text-muted tabular-nums"},Va={__name:"BlogPagination",props:{currentPage:{type:Number,required:!0},totalPages:{type:Number,required:!0},loading:{type:Boolean,default:!1}},emits:["page-change"],setup(e,{emit:t}){const a=e,l=t,r=F(()=>a.currentPage>1&&!a.loading),s=F(()=>a.currentPage<a.totalPages&&!a.loading),i=F(()=>a.totalPages<=1?100:Math.round(a.currentPage/a.totalPages*100));function o(){r.value&&l("page-change",a.currentPage-1)}function n(){s.value&&l("page-change",a.currentPage+1)}const d=F(()=>{const e=a.totalPages,t=a.currentPage;if(e<=7)return Array.from({length:e},(e,t)=>t+1);const l=[];l.push(1),t>3&&l.push("...");for(let a=Math.max(2,t-1);a<=Math.min(e-1,t+1);a++)l.push(a);return t<e-2&&l.push("..."),l.push(e),l});return(t,c)=>e.totalPages>1?(w(),k("nav",{key:0,class:"flex flex-col items-center gap-5 pt-10 pb-4","aria-label":t.$t("blog.pagination")},[A("div",Aa,[A("button",{disabled:!$(r),class:I(["flex items-center gap-1.5 rounded-xl px-3.5 py-2.5 text-sm font-medium transition-all duration-200",$(r)?"text-text-secondary hover:bg-surface border border-transparent hover:border-border-default active:scale-[0.97]":"text-text-muted cursor-not-allowed"]),"aria-label":t.$t("blog.previous_page"),onClick:o},[c[0]||(c[0]=A("svg",{class:"h-4 w-4",viewBox:"0 0 20 20",fill:"currentColor"},[A("path",{"fill-rule":"evenodd",d:"M17 10a.75.75 0 01-.75.75H5.612l4.158 3.96a.75.75 0 11-1.04 1.08l-5.5-5.25a.75.75 0 010-1.08l5.5-5.25a.75.75 0 111.04 1.08L5.612 9.25H16.25A.75.75 0 0117 10z","clip-rule":"evenodd"})],-1)),A("span",za,_(t.$t("blog.previous_page")),1)],10,_a),A("div",ja,[(w(!0),k(z,null,j($(d),(r,s)=>(w(),k(z,{key:`page-${s}`},["..."===r?(w(),k("span",La," ⦠")):(w(),k("button",{key:1,class:I(["flex items-center justify-center w-10 h-10 rounded-xl text-sm font-semibold transition-all duration-200",r===e.currentPage?"bg-[#0C1219] text-white shadow-md shadow-gray-900/10 ring-1 ring-gray-900/5":e.loading?"text-text-muted cursor-not-allowed":"text-text-secondary hover:bg-surface hover:text-text-primary border border-transparent hover:border-border-default active:scale-[0.97]"]),disabled:r===e.currentPage||e.loading,"aria-current":r===e.currentPage?"page":void 0,"aria-label":`${t.$t("blog.pagination")} ${r}`,onClick:e=>function(e){"number"!=typeof e||e===a.currentPage||a.loading||l("page-change",e)}(r)},_(r),11,Ma))],64))),128))]),A("button",{disabled:!$(s),class:I(["flex items-center gap-1.5 rounded-xl px-3.5 py-2.5 text-sm font-medium transition-all duration-200",$(s)?"text-text-secondary hover:bg-surface border border-transparent hover:border-border-default active:scale-[0.97]":"text-text-muted cursor-not-allowed"]),"aria-label":t.$t("blog.next_page"),onClick:n},[A("span",Sa,_(t.$t("blog.next_page")),1),c[1]||(c[1]=A("svg",{class:"h-4 w-4",viewBox:"0 0 20 20",fill:"currentColor"},[A("path",{"fill-rule":"evenodd",d:"M3 10a.75.75 0 01.75-.75h10.638L10.23 5.29a.75.75 0 111.04-1.08l5.5 5.25a.75.75 0 010 1.08l-5.5 5.25a.75.75 0 11-1.04-1.08l4.158-3.96H3.75A.75.75 0 013 10z","clip-rule":"evenodd"})],-1))],10,Ba)]),A("div",$a,[A("div",Pa,[A("div",{class:"h-full rounded-full bg-[#0C1219] transition-all duration-500 ease-out",style:T({width:`${$(i)}%`})},null,4)]),A("p",Ea,_(e.currentPage)+" / "+_(e.totalPages),1)])],8,Ca)):L("",!0)}},Ha={class:"rounded-2xl border border-border-default bg-surface p-5"},qa={class:"flex items-center gap-2.5 mb-4"},Ia={class:"text-sm font-bold uppercase tracking-wide text-text-primary"},Ta={key:0,class:"space-y-4"},Da={key:1,class:"space-y-0.5"},Fa={class:"flex-1 min-w-0"},Oa={class:"text-[13px] font-semibold leading-snug text-text-primary line-clamp-2 transition-colors duration-200 group-hover:text-[#0C1219]"},Ra={class:"mt-1 flex items-center gap-2.5 text-[11px] text-text-muted"},Ua={key:0},Na={key:1,class:"flex items-center gap-1"},Qa={class:"flex-shrink-0 w-14 h-14 overflow-hidden rounded-xl bg-page-bg"},Wa={key:1,class:"w-full h-full flex items-center justify-center"},Ga={__name:"BlogSidebarTrending",props:{articles:{type:Array,default:()=>[]},loading:{type:Boolean,default:!1}},setup(e){const{locale:l}=t(),r=e=>{const t=e?.cover?.originalUrl;return t&&"string"==typeof t&&t.trim().length>0?t:null},s=Y;return(t,i)=>{const o=m,n=a;return w(),k("div",Ha,[A("div",qa,[i[0]||(i[0]=A("div",{class:"flex items-center justify-center w-8 h-8 rounded-xl bg-primary/10"},[A("svg",{class:"h-[16px] w-[16px] text-primary",viewBox:"0 0 24 24",fill:"
2currentColor"},[A("path",{"fill-rule":"evenodd",d:"M12.963 2.286a.75.75 0 00-1.071-.136 9.742 9.742 0 00-3.539 6.177A7.547 7.547 0 016.648 6.61a.75.75 0 00-1.152-.082A9 9 0 1015.68 4.534a7.46 7.46 0 01-2.717-2.248zM15.75 14.25a3.75 3.75 0 11-7.313-1.172c.628.465 1.35.81 2.133 1a5.99 5.99 0 011.925-3.545 3.75 3.75 0 013.255 3.717z","clip-rule":"evenodd"})])],-1)),A("h3",Ia,_(t.$t("blog.trending")),1)]),e.loading&&!e.articles.length?(w(),k("div",Ta,[(w(),k(z,null,j(5,e=>A("div",{key:`skel-${e}`,class:"flex gap-3 animate-pulse"},[...i[1]||(i[1]=[C('<div class="flex-shrink-0 w-7 h-7 rounded-lg bg-surface-elevated"></div><div class="flex-1 space-y-2"><div class="h-3 w-4/5 rounded bg-surface-elevated"></div><div class="h-2 w-1/2 rounded bg-page-bg"></div></div><div class="w-14 h-14 rounded-xl bg-page-bg"></div>',3)])])),64))])):(w(),k("div",Da,[(w(!0),k(z,null,j(e.articles,(e,a)=>(w(),V(n,{key:`trending-${e.id}`,to:t.$localePath({name:"blog-slug",params:{slug:e.slug}}),class:"group flex items-start gap-3 rounded-xl p-2.5 -mx-2.5 transition-all duration-200 hover:bg-surface-elevated"},{default:B(()=>{return[A("span",{class:I(["flex-shrink-0 flex items-center justify-center w-7 h-7 rounded-lg text-xs font-bold transition-all duration-200",a<3?"bg-primary/10 text-primary group-hover:bg-primary group-hover:text-[#0C1219]":"bg-page-bg text-text-muted group-hover:bg-surface-elevated group-hover:text-text-secondary"])},_(a+1),3),A("div",Fa,[A("h4",Oa,_(e.title),1),A("div",Ra,[e.publishedAt?(w(),k("span",Ua,_((t=e.publishedAt,X(t,l.value))),1)):L("",!0),e.viewsCount>0?(w(),k("span",Na,[i[2]||(i[2]=A("svg",{class:"h-3 w-3",viewBox:"0 0 20 20",fill:"currentColor"},[A("path",{d:"M10 12.5a2.5 2.5 0 100-5 2.5 2.5 0 000 5z"}),A("path",{"fill-rule":"evenodd",d:"M.664 10.59a1.651 1.651 0 010-1.186A10.004 10.004 0 0110 3c4.257 0 7.893 2.66 9.336 6.41.147.381.146.804 0 1.186A10.004 10.004 0 0110 17c-4.257 0-7.893-2.66-9.336-6.41z","clip-rule":"evenodd"})],-1)),q(" "+_($(s)(e.viewsCount)),1)])):L("",!0)])]),A("div",Qa,[r(e)?(w(),V(o,{key:0,src:r(e),alt:e.title,width:"56",height:"56",sizes:"56px",format:"webp",quality:"75",loading:"lazy",class:"w-full h-full object-cover transition-transform duration-300 group-hover:scale-110"},null,8,["src","alt"])):(w(),k("div",Wa,[...i[3]||(i[3]=[A("svg",{class:"h-5 w-5 text-text-muted",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"1"},[A("path",{d:"M2.25 15.75l5.159-5.159a2.25 2.25 0 013.182 0l5.159 5.159m-1.5-1.5l1.409-1.409a2.25 2.25 0 013.182 0l2.909 2.909M3.75 21h16.5A2.25 2.25 0 0022.5 18.75V5.25A2.25 2.25 0 0020.25 3H3.75A2.25 2.25 0 001.5 5.25v13.5A2.25 2.25 0 003.75 21z"})],-1)])]))])];var t}),_:2},1032,["to"]))),128))]))])}}},Ka={class:"rounded-2xl border border-border-default bg-surface p-5"},Ja={class:"flex items-center gap-2 mb-4"},Ya={class:"text-sm font-bold text-text-primary"},Xa={class:"flex items-center gap-2"},Za=["href","title"],el={key:0,class:"w-5 h-5",viewBox:"0 0 24 24",fill:"currentColor"},tl={key:1,class:"w-5 h-5",viewBox:"0 0 24 24",fill:"currentColor"},al={key:2,class:"w-5 h-5",viewBox:"0 0 24 24",fill:"currentColor"},ll={__name:"BlogSidebarSocial",setup(e){const{socialLinks:t}=r();return(e,a)=>(w(),k("div",Ka,[A("div",Ja,[a[0]||(a[0]=A("div",{class:"flex items-center justify-center w-7 h-7 rounded-lg bg-primary/10"},[A("svg",{class:"w-4 h-4 text-primary",viewBox:"0 0 20 20",fill:"currentColor"},[A("path",{d:"M13 6a3 3 0 11-6 0 3 3 0 016 0zM18 8a2 2 0 11-4 0 2 2 0 014 0zM14 15a4 4 0 00-8 0v3h8v-3zM6 8a2 2 0 11-4 0 2 2 0 014 0zM16 18v-3a5.972 5.972 0 00-.75-2.906A3.005 3.005 0 0119 15v3h-3zM4.75 12.094A5.973 5.973 0 004 15v3H1v-3a3 3 0 013.75-2.906z"})])],-1)),A("h3",Ya,_(e.$t("blog.follow_us")),1)]),A("div",Xa,[(w(!0),k(z,null,j($(t),e=>(w(),k("a",{key:e.platform,href:e.url,title:e.label,target:"_blank",rel:"noopener noreferrer",class:"flex items-center justify-center w-10 h-10 rounded-xl bg-page-bg border border-border-default text-text-muted transition-all duration-200 hover:bg-[#0C1219] hover:text-white hover:border-[#0C1219] hover:scale-105"},["facebook"===e.platform?(w(),k("svg",el,[...a[1]||(a[1]=[A("path",{d:"M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z"},null,-1)])])):"instagram"===e.platform?(w(),k("svg",tl,[...a[2]||(a[2]=[A("path",{d:"M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zM12 0C8.741 0 8.333.014 7.053.072 2.695.272.273 2.69.073 7.052.014 8.333 0 8.741 0 12c0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98C8.333 23.986 8.741 24 12 24c3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98C15.668.014 15.259 0 12 0zm0 5.838a6.162 6.162 0 100 12.324 6.162 6.162 0 000-12.324zM12 16a4 4 0 110-8 4 4 0 010 8zm6.406-11.845a1.44 1.44 0 100 2.881 1.44 1.44 0 000-2.881z"},null,-1)])])):"twitter"===e.platform?(w(),k("svg",al,[...a[3]||(a[3]=[A("path",{d:"M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"},null,-1)])])):L("",!0)],8,Za))),128))])]))}},rl={key:0,class:"rounded-2xl border border-border-default bg-surface p-5"},sl={class:"flex items-center gap-2 mb-4"},il={class:"text-sm font-bold text-text-primary"},ol={class:"flex flex-wrap gap-1.5"},nl={__name:"BlogSidebarTopics",props:{tags:{type:Array,default:()=>[]}},setup:e=>(t,l)=>{const r=a;return e.tags.length?(w(),k("div",rl,[A("div",sl,[l[0]||(l[0]=A("div",{class:"flex items-center justify-center w-7 h-7 rounded-lg bg-primary/10"},[A("svg",{class:"w-4 h-4 text-primary",viewBox:"0 0 20 20",fill:"currentColor"},[A("path",{"fill-rule":"evenodd",d:"M5.5 3A2.5 2.5 0 003 5.5v2.879a2.5 2.5 0 00.732 1.767l6.5 6.5a2.5 2.5 0 003.536 0l2.878-2.878a2.5 2.5 0 000-3.536l-6.5-6.5A2.5 2.5 0 008.38 3H5.5zM6 7a1 1 0 100-2 1 1 0 000 2z","clip-rule":"evenodd"})])],-1)),A("h3",il,_(t.$t("blog.popular_topics")),1)]),A("div",ol,[(w(!0),k(z,null,j(e.tags,e=>(w(),V(r,{key:`topic-${e.id}`,to:t.$localePath({name:"blog",query:{search:e.name}}),class:"inline-flex items-center gap-1 rounded-lg bg-page-bg px-2.5 py-1.5 text-[12px] font-medium text-text-secondary border border-border-default transition-all duration-200 hover:bg-primary/10 hover:text-[#0C1219] hover:border-primary/20"},{default:B(()=>[l[1]||(l[1]=A("svg",{class:"h-3 w-3 text-text-muted flex-shrink-0",viewBox:"0 0 20 20",fill:"currentColor"},[A("path",{"fill-rule":"evenodd",d:"M5.5 3A2.5 2.5 0 003 5.5v2.879a2.5 2.5 0 00.732 1.767l6.5 6.5a2.5 2.5 0 003.536 0l2.878-2.878a2.5 2.5 0 000-3.536l-6.5-6.5A2.5 2.5 0 008.38 3H5.5zM6 7a1 1 0 100-2 1 1 0 000 2z","clip-rule":"evenodd"})],-1)),q(" "+_(e.name),1)]),_:2},1032,["to"]))),128))])])):L("",!0)}},dl={class:"lg:sticky lg:top-[72px] space-y-5"},cl={__name:"BlogSidebar",props:{trendingArticles:{type:Array,default:()=>[]},loadingTrending:{type:Boolean,default:!1},popularTags:{type:Array,default:()=>[]}},setup:e=>(t,a)=>{const l=Ga,r=ll,s=nl;return w(),k("aside",dl,[M(l,{articles:e.trendingArticles,loading:e.loadingTrending},null,8,["articles","loading"]),M(r),M(s,{tags:e.popularTags},null,8,["tags"])])}};function ul(e,a){const{locale:l}=t(),r=o(),s=h(r.$api),{searchQuery:i,debouncedSearch:n,selectedCategory:d,currentSortBy:c,currentSortDirection:u,currentPage:p,updateUrlQuery:g,fetchCategories:v,onFilterChange:f,onSearchChange:m}=e,x=D([]),y=D(0),w=D(1),k=D({}),C=D(null),A=D(!1);let _=0;function z(e){const t={sortBy:c.value,sortDirection:u.value,page:e};return d.value&&(t.category=d.value),n.value&&(t.search=n.value),t}function j(e){x.value=e.articles||[],y.value=e.totalResults||0,w.value=e.totalPages||1}const L=F(()=>x.value),M=F(()=>y.value),B=F(()=>w.value);async function S(e,t={}){const a=++_;A.value=!0;try{t.syncCategory&&await async function(){if(d.value)try{const{category:e}=await s.fetchCategory(d.value);k.value=e.slug,C.value=e}catch(Zl){k.value={},C.value=null}else k.value={},C.value=null}();const l=await s.fetchArticles(z(e));if(a!==_)return;j(l),t.scroll&&O(()=>{document.getElementById("articles-section")?.scrollIntoView({behavior:"smooth",block:"start"})})}catch(Zl){}finally{a===_&&(A.value=!1)}}function $(){p.value=1,g(),S(1,{syncCategory:!0})}const P=F(()=>{const e=i.value.trim().toLowerCase(),t=n.value.toLowerCase();return e&&e!==t?L.value.filter(t=>{const a=(t.title||"").toLowerCase(),l=(t.subTitle||t.description||"").toLowerCase();return a.includes(e)||l.includes(e)}):L.value});return f(()=>{$()}),m(()=>{$()}
2),{articles:L,currentCategory:k,category:C,loadingArticles:A,totalResults:M,totalPages:B,currentPage:p,displayedArticles:P,initialFetch:async function(){const e=p.value,{data:t,pending:a,error:r,refresh:i}=await le(`blog-articles-initial-${l.value}`,async()=>{try{const a=z(e);if(d.value)try{const{category:e}=await s.fetchCategory(d.value);a.category=e.slug,k.value=e.slug,C.value=e}catch(t){return{articles:[],totalResults:0,totalPages:1}}await v();return await s.fetchArticles(a)}catch(Zl){return{articles:[],totalResults:0,totalPages:1}}});return t.value?.articles&&0===x.value.length&&j(t.value),{pending:a,error:r,asyncRefresh:i}},refetchArticles:$,changePage:function(e){e<1||e>B.value||A.value||(p.value=e,g(),S(e,{scroll:!0}))},setupClientFallback:function(e,t){b(async()=>{0!==x.value.length||e.value||t.value||await S(p.value,{syncCategory:!0}),await v()})},createRefresh:function(e){return async()=>{_++,x.value=[],p.value=1,await e()}}}}const pl=K(()=>g(()=>import("./LYzBgXR0.js"),__vite__mapDeps([0,1,2,3,4,5,6]),import.meta.url).then(e=>e.default||e)),gl=K(()=>g(()=>import("./BGRn8jfG.js"),__vite__mapDeps([7,3,4,5,6]),import.meta.url).then(e=>e.default||e)),vl=K(()=>g(()=>import("./C1Vv-kVe.js"),__vite__mapDeps([8,9,4,5,3,6,10,11,12,13,14]),import.meta.url).then(e=>e.default||e)),fl=K(()=>g(()=>import("./C_hRmpsz.js"),__vite__mapDeps([15,3,4,5,6]),import.meta.url).then(e=>e.default||e)),ml={class:"bg-[#0C1219] py-3"},hl={class:"container mx-auto px-4 lg:px-6 flex justify-center"},xl={id:"articles-boundary"},bl={id:"articles-section",class:"bg-page-bg/50 py-8 lg:py-12"},yl={class:"container mx-auto px-4 lg:px-6"},wl={key:0,class:"grid grid-cols-1 gap-6 lg:grid-cols-12 lg:gap-8"},kl={class:"lg:col-span-8"},Cl={class:"grid grid-cols-1 gap-5 sm:grid-cols-2 xl:grid-cols-3"},Al={class:"lg:col-span-4"},_l={class:"space-y-5"},zl={class:"animate-pulse rounded-2xl border border-border-default bg-surface p-5"},jl={key:1,class:"py-20 text-center"},Ll={class:"text-base font-semibold text-text-secondary"},Ml={class:"mt-1 text-sm text-text-muted"},Bl={key:2,class:"py-20 text-center"},Sl={class:"mb-2 text-lg font-bold text-text-primary"},$l={class:"mb-6 text-sm text-text-muted"},Pl={key:3,class:"grid grid-cols-1 gap-8 lg:grid-cols-12"},El={class:"lg:col-span-8"},Vl={class:"mb-5 hidden lg:block rounded-2xl border border-border-default bg-surface p-4"},Hl={class:"flex items-center gap-3"},ql={class:"relative flex-1"},Il=["placeholder"],Tl={class:"text-text-secondary"},Dl={key:0,class:"absolute right-0 top-full mt-1.5 w-48 rounded-xl bg-surface py-1.5 ring-1 ring-border-default z-50"},Fl=["onClick"],Ol={key:0,class:"h-3.5 w-3.5 mr-2 text-primary",viewBox:"0 0 20 20",fill:"currentColor"},Rl={key:0,class:"mt-3 flex flex-wrap items-center gap-2 pt-3 border-t border-border-default"},Ul={class:"text-[12px] text-text-muted"},Nl={class:"text-[12px] font-bold text-text-primary"},Ql={key:0,class:"inline-flex items-center gap-1.5 rounded-full bg-page-bg border border-border-default px-2.5 py-0.5 text-[11px] font-medium text-text-secondary"},Wl={key:1,class:"inline-flex items-center gap-1.5 rounded-full bg-page-bg border border-border-default px-2.5 py-0.5 text-[11px] font-medium text-text-secondary"},Gl={key:0,class:"flex justify-center items-center py-16"},Kl={class:"flex items-center gap-3 rounded-2xl bg-surface border border-border-default px-6 py-4"},Jl={class:"text-sm font-medium text-text-secondary"},Yl={class:"lg:col-span-4"},Xl={__name:"index",async setup(e){let a,r;const g=function(){const{t:e}=t(),a=s(),l=i(),r=o(),d=h(r.$api),c=D(""),u=D(""),p=D("date-DESC"),g=D(""),v=D([]),f=["date-DESC","date-ASC","title-ASC","title-DESC"];if(a.query.sortBy&&a.query.sortDirection){const e=`${a.query.sortBy}-${a.query.sortDirection}`;f.includes(e)&&(p.value=e)}a.query.category&&(g.value=a.query.category),a.query.search&&(c.value=a.query.search,u.value=a.query.search);const m=F(()=>p.value.split("-")[0]||"date"),x=F(()=>p.value.split("-")[1]||"DESC"),b=F(()=>[{value:"date-DESC",label:e("blog.sort_newest")},{value:"date-ASC",label:e("blog.sort_oldest")},{value:"title-ASC",label:e("blog.sort_title_az")},{value:"title-DESC",label:e("blog.sort_title_za")}]),w=F(()=>[{value:"",label:e("blog.all_categories")},...v.value.map(e=>{return{value:e.slug,label:(t=e.title,t?t!==t.toLowerCase()||!t.includes("-")&&t.includes(" ")?t:t.replace(/[-_]/g," ").replace(/\b\w/g,e=>e.toUpperCase()):"")};var t})]),k=F(()=>""!==c.value.trim()||"date-DESC"!==p.value||""!==g.value),C=D(1);if(a.query.page){const e=parseInt(a.query.page);!isNaN(e)&&e>=1&&(C.value=e)}const A=n(e=>{u.value=e},500);y(c,e=>{A(e.trim())});let _=null;const z=n(()=>{_?.()},300);y([p,g],()=>{z()});let j=null;return y(u,(e,t)=>{e!==t&&j?.(e)}),{searchQuery:c,debouncedSearch:u,selectedSort:p,selectedCategory:g,categories:v,currentPage:C,currentSortBy:m,currentSortDirection:x,sortOptions:b,categoryOptions:w,hasActiveFilters:k,updateUrlQuery:function(){const e={};"date"===m.value&&"DESC"===x.value||(e.sortBy=m.value,e.sortDirection=x.value),g.value&&(e.category=g.value),u.value&&(e.search=u.value),C.value>1&&(e.page=String(C.value)),l.replace({path:a.path,query:e})},clearFilters:function(){c.value="",u.value="",p.value="date-DESC",g.value=""},fetchCategories:async function(){if(!(v.value.length>0))try{const e=await d.fetchCategories();v.value=e.categories||[]}catch(Zl){}},onFilterChange:function(e){_=e},onSearchChange:function(e){j=e}}}(),{searchQuery:m,debouncedSearch:S,selectedSort:P,selectedCategory:E,sortOptions:H,categoryOptions:T,hasActiveFilters:O,clearFilters:K}=g,{featuredArticles:J,trendingArticles:Y,editorsPicks:X,youMightAlsoLikePool:Z,popularTags:te,loadingFeatured:ae}=function(){const{locale:e}=t(),a=o(),l=h(a.$api),{data:r,pending:s}=le(`blog-featured-sections-${e.value}`,async()=>{const[e,t,a]=await Promise.allSettled([l.fetchArticles({is_pinned:!0,limit:5,sortBy:"date",sortDirection:"DESC",page:1}),l.fetchArticles({is_recommended:!0,limit:10,sortBy:"date",sortDirection:"DESC",page:1}),l.fetchArticles({sortBy:"views",sortDirection:"DESC",limit:10,page:1})]);return e.status,t.status,a.status,{pinned:"fulfilled"===e.status&&e.value.articles||[],recommended:"fulfilled"===t.status&&t.value.articles||[],trending:"fulfilled"===a.status&&a.value.articles||[]}},{server:!0,lazy:!0,default:()=>({pinned:[],recommended:[],trending:[]})}),i=F(()=>{const{pinned:e,recommended:t}=r.value;if(!e.length&&!t.length)return[];const a=[...e];if(a.length<5){const e=new Set(a.map(e=>e.id)),l=t.filter(t=>!e.has(t.id));a.push(...l.slice(0,5-a.length))}return a.slice(0,5)}),n=F(()=>{const{recommended:e}=r.value;if(!e.length)return[];const t=new Set(i.value.map(e=>e.id));return e.filter(e=>!t.has(e.id)).slice(0,4)}),d=F(()=>{const{trending:e,pinned:t,recommended:a}=r.value;if(!e.length)return[];const l=new Set([...t.map(e=>e.id),...a.map(e=>e.id)]);return e.filter(e=>!l.has(e.id)).slice(0,5)}),c=F(()=>{const{recommended:e}=r.value;if(!e.length)return[];const t=new Set(i.value.map(e=>e.id)),a=new Set(n.value.map(e=>e.id));return e.filter(e=>!t.has(e.id)&&!a.has(e.id))}),u=F(()=>new Set([...i.value.map(e=>e.id),...n.value.map(e=>e.id),...d.value.map(e=>e.id)])),p=F(()=>{const{pinned:e,recommended:t,trending:a}=r.value,l=[...e,...t,...a],s=new Map,i=new Set;for(const r of l)if(!i.has(r.id)){i.add(r.id);
2for(const e of r.tags||[]){if(!e?.id||!e?.name)continue;const t=String(e.id),a=s.get(t);a?a.count++:s.set(t,{tag:e,count:1})}}return[...s.values()].sort((e,t)=>t.count-e.count).slice(0,12).map(e=>e.tag)});return{featuredArticles:i,trendingArticles:d,editorsPicks:n,youMightAlsoLikePool:c,excludedArticleIds:u,popularTags:p,loadingFeatured:s}}(),re=ul(g),{articles:se,category:ie,loadingArticles:oe,totalResults:ne,totalPages:de,currentPage:ce,displayedArticles:ue,refetchArticles:pe,changePage:ge}=re,{pending:ve,error:fe,asyncRefresh:me}=([a,r]=U(()=>re.initialFetch()),a=await a,r(),a);re.setupClientFallback(ve,fe);const he=F(()=>ue.value),{pageTitle:xe,pageSubTitle:be}=function(e){const{articles:a,category:l,selectedCategory:r,totalResults:s}=e,{t:i}=t(),o=d(),n=p().public.siteUrl||"https://fodboldpakker.dk",{currentLocale:g}=c(),v=g.value?.code||"da",f=F(()=>l.value?.title?i("pages.blog_category.title",{title:l.value.title}):i("pages.blog.h1")),m=F(()=>l.value?.description||i("pages.blog.subtitle")),h=F(()=>l.value?.title?i("pages.blog_category.title",{title:l.value.title}):i("pages.blog.title")),x=F(()=>l.value?.description?i("pages.blog_category.description",{title:l.value.title}):i("pages.blog.description")),b=F(()=>{const e=o({name:"blog"}),t=`${n}${e}`;return r.value?`${t}?category=${r.value}`:t}),y={da:"/fodboldrejseguide",no:"/fotballreiseguide",sv:"/fotbollsreseguide",en:"/football-trips-guide"},w=F(()=>`${n}${y[v]||y.da}`),k=F(()=>{const e={da:"fodboldrejseguide, fodboldrejser blog, premier league nyheder, champions league artikler, fodboldrejser tips, fodboldrejser europa, kampbilletter guide, fodboldpakker artikler",no:"fotballreiseguide, fotballreiser blogg, premier league nyheter, champions league artikler, fotballreiser tips, fotballreiser europa, kampbilletter veiledning, fotballpakker artikler",sv:"fotbollsreseguide, fotbollsresor blogg, premier league nyheter, champions league artiklar, fotbollsresor tips, fotbollsresor europa, matchbiljetter guide, fotbollspaket artiklar",en:"football guide, football trips blog, premier league news, champions league articles, football travel tips, football trips europe, match tickets guide, football packages articles"};return e[v]||e.da}),C=F(()=>{const e=a.value?.[0];return e?.cover?.originalUrl||`${n}/logo.png`});u({title:h,meta:[{name:"description",content:x},{property:"og:title",content:h},{property:"og:description",content:x},{property:"og:type",content:"website"},{property:"og:url",content:b},{property:"og:image",content:C},{property:"og:image:width",content:"1200"},{property:"og:image:height",content:"630"},{property:"og:site_name",content:"da"===v?"Fodboldpakker.dk":"no"===v?"Fotballpakker.no":"Footballtrips.se"},{property:"og:locale",content:"da"===v?"da_DK":"no"===v?"no_NO":"sv"===v?"sv_SE":"en_US"},{name:"twitter:card",content:"summary_large_image"},{name:"twitter:title",content:h},{name:"twitter:description",content:x},{name:"twitter:image",content:C},{name:"robots",content:"index, follow"},{name:"keywords",content:k}],link:[{rel:"canonical",href:b}]});const A=F(()=>{const e=[],t={"@context":"https://schema.org","@type":"CollectionPage","@id":`${w.value}#webpage`,name:f.value,description:x.value,url:w.value,inLanguage:"da"===v?"da-DK":"no"===v?"no-NO":"sv"===v?"sv-SE":"en-US",isPartOf:{"@type":"WebSite","@id":`${n}#website`},about:{"@type":"Thing",name:"Football Travel Guides"},publisher:{"@type":"Organization","@id":`${n}#organization`}};if(a.value.length>0){const e="da"===v?"da-DK":"no"===v?"no-NO":"sv"===v?"sv-SE":"en-US",l="da"===v?"Fodboldpakker.dk":"no"===v?"Fotballpakker.no":"Footballtrips.se";t.mainEntity={"@type":"ItemList",numberOfItems:s.value,itemListElement:a.value.slice(0,12).map((t,a)=>{const r=`${n}${o({name:"blog-slug",params:{slug:t.slug}})}`;return{"@type":"ListItem",position:a+1,url:r,name:t.title,item:{"@type":"BlogPosting","@id":`${r}#article`,headline:t.title,...t.subTitle&&{alternativeHeadline:t.subTitle},url:r,...t.publishedAt&&{datePublished:t.publishedAt},...t.updatedAt&&{dateModified:t.updatedAt},inLanguage:e,...t.cover?.originalUrl&&{image:{"@type":"ImageObject",url:t.cover.originalUrl,width:t.cover?.width||1200,height:t.cover?.height||600}},...t.category?.title&&{articleSection:t.category.title},...t.viewsCount>0&&{interactionStatistic:{"@type":"InteractionCounter",interactionType:{"@type":"ReadAction"},userInteractionCount:t.viewsCount}},publisher:{"@type":"Organization","@id":`${n}#organization`,name:l},...t.author?.name&&{author:{"@type":"Person",name:t.author.name,...t.author.t
2itle&&{jobTitle:t.author.title}}}}}})}}e.push(t);const d=[{"@type":"ListItem",position:1,name:i("navigation.home"),item:n},{"@type":"ListItem",position:2,name:i("navigation.blog"),item:w.value}];l.value?.title&&d.push({"@type":"ListItem",position:3,name:l.value.title,item:`${w.value}?category=${r.value}`}),e.push({"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:d});const c={da:[{question:"Hvad er inkluderet i en fodboldrejse?",answer:"Vores fodboldrejser inkluderer typisk fly, hotel og kampbilletter som en komplet pakke. Mange pakker inkluderer også transport til stadion og rejseforsikring."},{question:"Hvor tidligt skal jeg booke min fodboldrejse?",answer:"Vi anbefaler at booke så tidligt som muligt, især til populære kampe som Premier League-topkampe, Champions League og El Clasico."},{question:"Kan jeg booke en fodboldrejse for en gruppe?",answer:"Ja! Vi tilbyder grupperejser med rabatter for grupper fra 8 personer og op."},{question:"Hvilke ligaer og turneringer kan jeg rejse til?",answer:"Vi tilbyder pakker til Premier League, La Liga, Serie A, Bundesliga, Champions League, Europa League og mange flere."},{question:"Hvad sker der hvis kampen bliver flyttet eller aflyst?",answer:"Hvis en kamp flyttes, arbejder vi på at tilpasse din rejseplan. Hvis en kamp aflyses, tilbyder vi fuld refusion af kampbilletterne."},{question:"Hvor sidder jeg på stadion?",answer:"Vi bestræber os på at levere gode pladser med godt udsyn. Du kan ofte opgradere til bedre kategorier mod merbetaling."}],no:[{question:"Hva er inkludert i en fotballreise?",answer:"Fotballreisene våre inkluderer vanligvis fly, hotell og kampbilletter som en komplett pakke. Mange pakker inkluderer også transport til stadion og reiseforsikring."},{question:"Hvor tidlig bør jeg bestille fotballreisen min?",answer:"Vi anbefaler å bestille så tidlig som mulig, spesielt til populære kamper som Premier League-toppkamper, Champions League og El Clasico."},{question:"Kan jeg bestille en fotballreise for en gruppe?",answer:"Ja! Vi tilbyr gruppereiser med rabatter for grupper fra 8 personer og oppover."},{question:"Hvilke ligaer og turneringer kan jeg reise til?",answer:"Vi tilbyr pakker til Premier League, La Liga, Serie A, Bundesliga, Champions League, Europa League og mange flere."},{question:"Hva skjer hvis kampen blir flyttet eller avlyst?",answer:"Hvis en kamp flyttes, jobber vi med å tilpasse reiseplanen din. Hvis en kamp avlyses, tilbyr vi full refusjon av kampbillettene."},{question:"Hvor sitter jeg på stadion?",answer:"Vi tilstreber å levere gode plasser med god utsikt. Du kan ofte oppgradere til bedre kategorier mot merpris."}],sv:[{question:"Vad ingår i en fotbollsresa?",answer:"Våra fotbollsresor inkluderar vanligtvis flyg, hotell och matchbiljetter som ett komplett paket. Många paket inkluderar även transport till stadion och reseförsäkring."},{question:"Hur tidigt bör jag boka min fotbollsresa?",answer:"Vi rekommenderar att boka så tidigt som möjligt, särskilt för populära matcher som Premier League-toppmatcher, Champions League och El Clasico."},{question:"Kan jag boka en fotbollsresa för en grupp?",answer:"Ja! Vi erbjuder gruppresor med rabatter för grupper från 8 personer och uppåt."},{question:"Vilka ligor och turneringar kan jag resa till?",answer:"Vi erbjuder paket till Premier League, La Liga, Serie A, Bundesliga, Champions League, Europa League och många fler."},{question:"Vad händer om matchen flyttas eller ställs in?",answer:"Om en match flyttas arbetar vi med att anpassa din reseplan. Om en match ställs in erbjuder vi full återbetalning av matchbiljetterna."},{question:"Var sitter jag på stadion?",answer:"Vi strävar efter att leverera bra platser med god utsikt. Du kan ofta uppgradera till bättre kategorier mot en tilläggskostnad."}],en:[{question:"What is included in a football trip?",answer:"Our football trips typically include flights, hotel and match tickets as a complete package. Many packages also include transport to the stadium and travel insurance."},{question:"How early should I book my football trip?",answer:"We recommend booking as early as possible, especially for popular matches like Premier League top fixtures, Champions League and El Clasico."},{question:"Can I book a football trip for a group?",answer:"Yes! We offer group trips with discounts for groups of 8 or more."},{question:"Which leagues and tournaments can I travel to?",answer:"We offer packages to the Premier League, La Liga, Serie A, Bundesliga, Champions League, Europa League and many more."},{question:"What happens if the match is rescheduled or cancelled?",answer:"If a match is moved, we work to adjust your travel plan. If a match is cancelled, we offer a full refund on the match tickets."},{question:"Where will I sit at the stadium?",answer:"We strive to provide great seats with a good view. You can often upgrade to better categories for an additional fee."}]},u=c[v]??c.da;e.push({"@context":"https://schema.org","@type":"FAQPage",mainEntity:(u||[]).map(e=>
2({"@type":"Question",name:e.question,acceptedAnswer:{"@type":"Answer",text:e.answer}}))});const p={da:[{name:"Vælg din kamp",text:"Gennemse kampe fra de største ligaer og turneringer i Europa."},{name:"Tilpas din pakke",text:"Vælg fly, hotel og kampbilletter der passer dig."},{name:"Book sikkert",text:"Gennemfør din booking med sikker betaling."},{name:"Nyd oplevelsen",text:"Rejsen er planlagt, og du skal bare nyde den!"}],no:[{name:"Velg din kamp",text:"Se gjennom kamper fra de største ligaene og turneringene i Europa."},{name:"Tilpass pakken din",text:"Velg fly, hotell og kampbilletter som passer deg."},{name:"Bestill trygt",text:"Gjennomfør bestillingen med sikker betaling."},{name:"Nyt opplevelsen",text:"Reisen er planlagt, og du trenger bare å nyte den!"}],sv:[{name:"Välj din match",text:"Bläddra igenom matcher från de största ligorna och turneringarna i Europa."},{name:"Anpassa ditt paket",text:"Välj flyg, hotell och matchbiljetter som passar dig."},{name:"Boka tryggt",text:"Genomför din bokning med säker betalning."},{name:"Njut av upplevelsen",text:"Resan är planerad, och du behöver bara njuta!"}],en:[{name:"Choose your match",text:"Browse matches from the biggest leagues and tournaments in Europe."},{name:"Customize your package",text:"Select flights, hotel and match tickets that suit you."},{name:"Book securely",text:"Complete your booking with secure payment."},{name:"Enjoy the experience",text:"The trip is planned, so just enjoy it!"}]},g={da:"Sådan booker du en fodboldrejse",no:"Slik bestiller du en fotballreise",sv:"Så bokar du en fotbollsresa",en:"How to book a football trip"},m={da:"Book din fodboldrejse i fire nemme trin. Fra kamp-valg til stadionoplevelse.",no:"Bestill fotballreisen din i fire enkle trinn. Fra kampvalg til stadionopplevelse.",sv:"Boka din fotbollsresa i fyra enkla steg. Från matchval till stadionupplevelse.",en:"Book your football trip in four easy steps. From choosing a match to the stadium experience."},h=p[v]??p.da;return e.push({"@context":"https://schema.org","@type":"HowTo",name:g[v]??g.da,description:m[v]??m.da,step:(h||[]).map((e,t)=>({"@type":"HowToStep",position:t+1,name:e.name,text:e.text}))}),e});return u({script:F(()=>A.value.map(e=>({type:"application/ld+json",innerHTML:JSON.stringify(e)})))}),{pageTitle:f,pageSubTitle:m}}({articles:se,category:ie,selectedCategory:E,totalResults:ne}),ye=F(()=>{const e=Z.value;if(!e.length)return[];const t=new Set(he.value.map(e=>e.id));return e.filter(e=>!t.has(e.id)).slice(0,4)}),we=re.createRefresh(me);function ke(){K(),pe()}const Ce=D(null),Ae=D(!1);return b(()=>{const e=e=>{Ce.value&&!Ce.value.contains(e.target)&&(Ae.value=!1)};document.addEventListener("click",e),x(()=>document.removeEventListener("click",e))}),(e,t)=>{const a=v,r=f,s=Xe,i=ee,o=l,n=rt,d=Lt,c=ta,u=ka,p=Va,g=cl,h=pl,x=gl,b=vl,y=fl;return w(),k("main",null,[M(a),M(r),M(s,{articles:$(J),loading:$(ae),"total-articles":$(ne),"categories-count":$(T).length>1?$(T).length-1:0},null,8,["articles","loading","total-articles","categories-count"]),A("section",ml,[A("div",hl,[M(o,null,{default:B(()=>[M(i)]),_:1})])]),M(n,{title:$(xe),subtitle:$(be)},null,8,["title","subtitle"]),M(d,{articles:$(X)},null,8,["articles"]),A("div",xl,[M(c,{categories:$(T),"selected-category":$(E),"search-query":$(m),"selected-sort":$(P),"sort-options":$(H),"total-results":$(ne),"has-active-filters":$(O),"onUpdate:selectedCategory":t[0]||(t[0]=e=>E.value=e),"onUpdate:searchQuery":t[1]||(t[1]=e=>m.value=e),"onUpdate:selectedSort":t[2]||(t[2]=e=>P.value=e),onClearFilters:ke},null,8,["categories","selected-category","search-query","selected-sort","sort-options","total-results","has-active-filters"]),A("section",bl,[A("div",yl,[$(ve)&&!$(he).length?(w(),k("div",wl,[A("div",kl,[t[10]||(t[10]=C('<div class="animate-pulse mb-6"><div class="rounded-2xl bg-surface border border-border-default overflow-hidden lg:flex"><div class="aspect-[16/10] lg:aspect-auto lg:w-[55%] bg-surface-elevated"></div><div class="flex-1 p-5 lg:p-7 space-y-3"><div class="h-5 bg-surface-elevated rounded w-3/4"></div><div class="h-4 bg-page-bg rounded w-full"></div><div class="h-4 bg-page-bg rounded w-2/3"></div><div class="flex gap-3 mt-4"><div class="h-3 bg-page-bg rounded w-20"></div><div class="h-3 bg-page-bg rounded w-16"></div></div></div></div></div>',1)),A("div",Cl,[(w(),k(z,null,j(6,e=>A("div",{key:`skel-${e}`,class:"animate-pulse rounded-2xl bg-surface border border-border-default overflow-hidden"},[...t[9]||(t[9]=[C('<div class="aspect-[16/10] bg-surface-elevated"></div><div class="p-4 lg:p-5 space-y-2.5"><div class="h-4 bg-surface-elevated rounded w-4/5"></div><div class="h-3 bg-page-bg rounded w-full"></div><div class="flex gap-3 mt-2"><div class="h-3 bg-page-bg rounded w-16"></div><div class="h-3 bg-page-bg rounded w-12"></div></div></div>',2)])])),64))])]),A("div",Al,[A("div",_l,[A("div",zl,[t[12]||(t[12]=A("div",{class:"flex items-center gap-2 mb-4"},[A("div",{class:"w-7 h-7 rounded-lg bg-surface-elevated"}),A("div",{class:"h-3.5 w-24 bg-surface-elevated rounded"})],-1)),(w(),k(z,null,j(5,e=>A("div",{key:`skel-trend-${e}`,class:"flex gap-3 mb-3"},[...t[11]||(t[11]=[C('<div class="w-7 h-7 rounded-lg bg-page-bg"></div><div class="flex-1 space-y-2"><div class="h-3 bg-page-bg rounded"></div><div class="h-2 w-1/2 bg-page-bg rounded"></div></div>
2<div class="w-14 h-14 rounded-xl bg-page-bg"></div>',3)])])),64))])])])])):$(S)&&0===$(he).length&&!$(oe)?(w(),k("div",jl,[t[14]||(t[14]=A("div",{class:"mx-auto mb-5 flex items-center justify-center w-16 h-16 rounded-2xl bg-surface border border-border-default"},[A("svg",{class:"h-7 w-7 text-text-muted",viewBox:"0 0 20 20",fill:"currentColor"},[A("path",{"fill-rule":"evenodd",d:"M9 3.5a5.5 5.5 0 100 11 5.5 5.5 0 000-11zM2 9a7 7 0 1112.452 4.391l3.328 3.329a.75.75 0 11-1.06 1.06l-3.329-3.328A7 7 0 012 9z","clip-rule":"evenodd"})])],-1)),A("p",Ll,_(e.$t("text.no_results_for"))+' "'+_($(S))+'" ',1),A("p",Ml,_(e.$t("blog.try_different_search")),1),A("button",{class:"mt-5 inline-flex items-center gap-1.5 rounded-xl px-4 py-2.5 text-sm font-semibold text-[#0C1219] bg-primary transition-all duration-200 hover:bg-primary/90 active:scale-[0.98]",onClick:ke},[t[13]||(t[13]=A("svg",{class:"h-4 w-4",viewBox:"0 0 20 20",fill:"currentColor"},[A("path",{d:"M6.28 5.22a.75.75 0 00-1.06 1.06L8.94 10l-3.72 3.72a.75.75 0 101.06 1.06L10 11.06l3.72 3.72a.75.75 0 101.06-1.06L11.06 10l3.72-3.72a.75.75 0 00-1.06-1.06L10 8.94 6.28 5.22z"})],-1)),q(" "+_(e.$t("cta.clear_all_filters")),1)])])):$(fe)&&!$(ve)?(w(),k("div",Bl,[t[15]||(t[15]=A("div",{class:"mx-auto mb-5 flex items-center justify-center w-16 h-16 rounded-2xl bg-red-50"},[A("i",{class:"block text-3xl text-red-500 i i-alert-circle"})],-1)),A("h2",Sl,_(e.$t("blog.error_title")),1),A("p",$l,_(e.$t("blog.error_description")),1),A("button",{class:"inline-flex items-center gap-2 px-5 py-2.5 text-sm font-semibold text-white rounded-xl transition-all duration-200 bg-[#0C1219] hover:bg-[#0C1219]/90 active:scale-[0.98]",onClick:t[3]||(t[3]=(...e)=>$(we)&&$(we)(...e))},_(e.$t("error.try_again")),1)])):(w(),k("div",Pl,[A("div",El,[A("div",Vl,[A("div",Hl,[A("div",ql,[t[17]||(t[17]=A("svg",{class:"absolute left-3 top-1/2 -translate-y-1/2 h-4 w-4 text-text-muted pointer-events-none",viewBox:"0 0 20 20",fill:"currentColor"},[A("path",{"fill-rule":"evenodd",d:"M9 3.5a5.5 5.5 0 100 11 5.5 5.5 0 000-11zM2 9a7 7 0 1112.452 4.391l3.328 3.329a.75.75 0 11-1.06 1.06l-3.329-3.328A7 7 0 012 9z","clip-rule":"evenodd"})],-1)),N(A("input",{"onUpdate:modelValue":t[4]||(t[4]=e=>W(m)?m.value=e:null),type:"text",placeholder:e.$t("blog.search_placeholder"),class:"w-full rounded-xl border border-border-default bg-page-bg py-2.5 pl-10 pr-10 text-sm outline-none transition duration-200 focus:border-primary focus:bg-surface focus:ring-1 focus:ring-primary/20"},null,8,Il),[[Q,$(m)]]),$(m)?(w(),k("button",{key:0,class:"absolute right-2.5 top-1/2 -translate-y-1/2 flex items-center justify-center w-7 h-7 rounded-md text-text-muted hover:text-text-secondary hover:bg-surface-elevated transition-colors",onClick:t[5]||(t[5]=e=>{m.value="",S.value=""})},[...t[16]||(t[16]=[A("svg",{class:"h-3.5 w-3.5",viewBox:"0 0 20 20",fill:"currentColor"},[A("path",{d:"M6.28 5.22a.75.75 0 00-1.06 1.06L8.94 10l-3.72 3.72a.75.75 0 101.06 1.06L10 11.06l3.72 3.72a.75.75 0 101.06-1.06L11.06 10l3.72-3.72a.75.75 0 00-1.06-1.06L10 8.94 6.28 5.22z"})],-1)])])):L("",!0)]),A("div",{class:"relative",ref_key:"filterSortRef",ref:Ce},[A("button",{class:I(["flex items-center gap-1.5 rounded-xl border border-border-default bg-page-bg px-3.5 py-2.5 text-[13px] font-medium transition-all duration-200 hover:bg-surface-elevated",$(Ae)?"border-primary ring-1 ring-primary/20 bg-surface":""]),onClick:t[6]||(t[6]=e=>Ae.value=!$(Ae))},[t[19]||(t[19]=A("svg",{class:"h-3.5 w-3.5 text-text-muted",viewBox:"0 0 20 20",fill:"currentColor"},[A("path",{"fill-rule":"evenodd",d:"M2 3.75A.75.75 0 012.75 3h11.5a.75.75 0 010 1.5H2.75A.75.75 0 012 3.75zm0 4A.75.75 0 012.75 7h7.5a.75.75 0 010 1.5h-7.5A.75.75 0 012 7.75zm0 4A.75.75 0 012.75 11h4.5a.75.75 0 010 1.5h-4.5A.75.75 0 012 11.75z","clip-rule":"evenodd"})],-1)),A("span",Tl,_($(H).find(e=>e.value===$(P))?.label),1),(w(),k("svg",{class:I(["h-3 w-3 text-text-muted transition-transform duration-200",{"rotate-180":$(Ae)}]),viewBox:"0 0 20 20",fill:"currentColor"},[...t[18]||(t[18]=[A("path",{"fill-rule":"evenodd",d:"M5.23 7.21a.75.75 0 011.06.02L10 11.168l3.71-3.938a.75.75 0 111.08 1.04l-4.25 4.5a.75.75 0 01-1.08 0l-4.25-4.5a.75.75 0 01.02-1.06z","clip-rule":"evenodd"},null,-1)])],2))],2),M(R,{"enter-active-class":"transition duration-150 ease-out","leave-active-class":"transition duration-100 ease-in","enter-from-class":"opacity-0 -translate-y-1 scale-95","enter-to-class":"opacity-100 translate-y-0 scale-100","leave-from-class":"opacity-100 translate-y-0 scale-100","leave-to-class":"opacity-0 -translate-y-1 scale-95"},{default:B(()=>[$(Ae)?(w(),k("div",Dl,[(w(!0),k(z,null,j($(H),e=>(w(),k("button",{key:e.value,class:I(["flex items-center w-full px-3.5 py-2 text-[13px] transition-colors duration-150",$(P)===e.value?"text-[#0C1219] font-semibold bg-primary/10":"text-text-secondary hover:bg-surface-elevated hover:text-text-primary"]),onClick:t=>{P.value=e.value,Ae.value=!1}},[$(P)===e.value?(w(),k("svg",Ol,[...t[20]||(t[20]=[A("path",{"fill-rule":"evenodd",d:"M16.704 4.153a.75.75 0 01.143 1.052l-8 10.5a.75.75 0 01-1.127.075l-4.5-4.5a.75.75 0 011.06-1.06l3.894 3.893 7.48-9.817a.75.75 0 011.05-.143z","clip-rule":"evenodd"},null,-1)])])):L("",!0),A("span",{class:I({"ml-[22px]":$(P)!==e.value})},_(e.label),3)],10,Fl))),128))])):L("",!0)]),_:1})],512),$(O)?(w(),k("button",{key:0,class:"flex items-center gap-1 rounded-xl px-3 py-2.5 text-[13px] font-medium text-red-500 transition-all duration-200 hover:bg-red-50",onClick:ke},[t[21]||(t[21]=A("svg",{class:"h-3.5 w-3.5",viewBox:"0 0 20 20",fill:"currentColor"},[A("path",{d:"M6.28 5.22a.75.75 0 00-1.06 1.06L8.94 10l-3.72 3.72a.75.75 0 101.06 1.06L10 11.06l3.72 3.72a.75.75 0 101.06-1.06L11.06 10l3.72-3.72a.75.75 0 00-1.06-1.06L10 8.94 6.28 5.22z"})],-1)),q(" "+_(e.$t("cta.clear_all_filters")),1)])):L("",!0)]),$(O)?(w(),k("div",Rl,[A("span",Ul,_(e.$t("word.results"))+":",1),A("span",Nl,_($(ne)),1),$(E)?(w(),k("span",Ql,[q(_($(T).find(e=>e.value===$(E))?.label)+" ",1),A("button",{class:"text-text-muted hover:text-text-secondary transition-colors",onClick:t[7]||(t[7]=e=>E.value="")},[...t[22]||(t[22]=[A("svg",{class:"h-3 w-3",viewBox:"0 0 20 20",fill:"currentColor"},[A("path",{d:"M6.28 5.22a.75.75 0 00-1.06 1.06L8.94 10l-3.72 3.72a.75.75 0 101.06 1.06L10 11.06l3.72 3.72a.75.75 0 101.06-1.06L11.06 10l3.72-3.72a.75.75 0 00-1.06-1.06L10 8.94 6.28 5.22z"})],-1)])])])):L("",!0),$(S)?(w(),k("span",Wl,[q(' "'+_($(S))+'" ',1),A("button",{class:"text-text-muted hover:text-text-secondary transition-colors",onClick:t[8]||(t[8]=e=>
2{m.value="",S.value=""})},[...t[23]||(t[23]=[A("svg",{class:"h-3 w-3",viewBox:"0 0 20 20",fill:"currentColor"},[A("path",{d:"M6.28 5.22a.75.75 0 00-1.06 1.06L8.94 10l-3.72 3.72a.75.75 0 101.06 1.06L10 11.06l3.72 3.72a.75.75 0 101.06-1.06L11.06 10l3.72-3.72a.75.75 0 00-1.06-1.06L10 8.94 6.28 5.22z"})],-1)])])])):L("",!0)])):L("",!0)]),M(R,{"enter-active-class":"transition duration-200 ease-out","leave-active-class":"transition duration-150 ease-in","enter-from-class":"opacity-0","enter-to-class":"opacity-100","leave-from-class":"opacity-100","leave-to-class":"opacity-0"},{default:B(()=>[$(oe)?(w(),k("div",Gl,[A("div",Kl,[t[24]||(t[24]=A("div",{class:"w-5 h-5 rounded-full border-2 border-border-default border-t-primary animate-spin"},null,-1)),A("span",Jl,_(e.$t("word.loading"))+"...",1)])])):L("",!0)]),_:1}),N(A("div",null,[(w(),V(u,{key:`page-${$(ce)}`,articles:$(he),loading:$(oe),"current-page":$(ce)},null,8,["articles","loading","current-page"]))],512),[[G,!$(oe)]]),M(p,{"current-page":$(ce),"total-pages":$(de),loading:$(oe),onPageChange:$(ge)},null,8,["current-page","total-pages","loading","onPageChange"])]),A("div",Yl,[M(g,{"trending-articles":$(Y),"loading-trending":$(ae),"popular-tags":$(te)},null,8,["trending-articles","loading-trending","popular-tags"])])]))])])]),M(h,{articles:$(ye)},null,8,["articles"]),M(x),M(b),M(y)])}}};export{Xl as default}; 3//# sourceMappingURL=BjqJsn3V.js.map
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.