1import{w as d,v as x,L as g}from"./chunk-EPOLDU6W-coJUVswn.js";import{j as e}from"./jsx-runtime-D_zvdyIk.js";import{B as f}from"./blog-cta-DqO2FJ_1.js";import{F as h,P as u}from"./paginated-blog-grid-CnAtxjU9.js";import{b,l as j,s as N,c as v,a as L}from"./blog-articles-BWDhJUFN.js";import{P as i}from"./pages-CDFVRALA.js";import{u as I}from"./use-link-to-DUVjPK6w.js";import{t as n,u as m,L as E}from"./locale-context-B8zsJnXQ.js";import{b as _}from"./meta-BtjSaKh4.js";import{T as c}from"./typography-DcS16Ag2.js";import"./flag-C9jsCrL4.js";import"./index-q0lIO8hh.js";import"./smartphone-zRGYzJIT.js";import"./createLucideIcon-CMgDayTJ.js";import"./headphones-C_M91lEf.js";import"./button-DzpvNeZs.js";import"./index-MGOjszMF.js";import"./index-_E5mnKb2.js";import"./loading-spinner-D2s-3B6G.js";import"./arrow-right-Ckva3Jf1.js";import"./blog-card-GsrtLIdg.js";import"./locales-BYfBM53T.js";import"./preload-helper-ckwbz45p.js";const w="https://public.voilacreators.com/icon.png",B="eSIM & Travel Blog | voilà ",A="Questions about eSIMs and traveling abroad? Here we answer everything clearly and in detail.",y="pages/blog-category",te=({loaderData:t})=>{if(!t)return[];const s="meta/"+i.BLOG_INDEX,a=n(t.translations,`${s}:title`,B),r=n(t.translations,`${s}:description`,A),o=n(t.translations,`${s}:image`,w);return _({title:a,description:r,image:o,canonical:{pageId:i.BLOG_INDEX,locale:t.locale}})},se=d(function(){const s=m(),a=x(),r={...s.translations,...a.translations};return e.jsx(E,{value:{...s,locale:a.locale,translations:r},children:e.jsx(T,{})})});function G({article:t,rank:s}){const{t:a}=m(),r=I(),o=v(t.pageId),l=o?L(o):null;return e.jsxs(g,{to:r(t.pageId),className:"group flex items-center gap-4 roun
1ded-2xl border border-black/[0.08] bg-white/60 p-3 shadow-[0_1px_2px_rgba(28,28,28,0.04)] transition-colors hover:border-black/20 hover:bg-white/80",children:[e.jsx("span",{className:"w-8 flex-none font-figtree text-[30px] font-extrabold leading-none text-black/[0.14]",children:String(s).padStart(2,"0")}),e.jsx("div",{className:"h-[66px] w-[92px] flex-none overflow-hidden rounded-xl",children:e.jsx("img",{src:t.image,alt:t.title,className:"h-full w-full object-cover"})}),e.jsxs("div",{className:"min-w-0",children:[l&&e.jsxs("div",{className:"mb-1.5 flex items-center gap-1.5 font-inter text-[11px] font-bold",style:{color:l.colors.text},children:[e.jsx("span",{className:"h-[5px] w-[5px] rounded-full",style:{backgroundColor:l.colors.solid}}),a(`${y}:${o}.label`,o??"")]}),e.jsx("h3",{className:"line-clamp-2 font-figtree text-[15px] font-bold leading-[1.28] text-slate-900",children:t.title})]})]})}function T(){const{t}=m(),s=b.map(l=>j(l.pageId,t)),{featured:a,popular:r,recent:o}=N(s);return e.jsx("div",{className:"from-cream-light to-cream page-pt w-full bg-linear-to-b pb-14",children:e.jsxs("div",{className:"container mx-auto px-4 sm:px-6",children:[e.jsxs("header",{className:"flex flex-col gap-5 pb-8 pt-10 md:flex-row md:items-end md:justify-between",children:[e.jsxs("div",{children:[e.jsx("p",{className:"mb-2 font-inter text-xs font-bold uppercase tracking-[0.1em] text-primary",children:t(`pages/${i.BLOG_INDEX}:eyebrow`,"Le blog voilà ")}),e.jsx(c,{variant:"h1_blog",as:"h1",className:"font-figtree text-slate-900",children:t(`pages/${i.BLOG_INDEX}:hero.title`)})]}),e.jsx("p",{className:"max-w-[360px] font-archivo text-[14.5px] leading-[1.55] text-slate-600 md:text-right",children:t(`pages/${i.BLOG_INDEX}:hero.description`)})]}),a&&e.jsx("div",{className:"mb-12",children:e.jsx(h,{article:a})}),r.length>0&&e.jsxs("section",{className:"mb-14",children:[e.jsxs("div",{className:"mb-5 flex items-baseline gap-3",children:[e.jsx(c,{variant:"h3",as:"h2",className:"font-figtree text-slate-900",children:t(`pages/${i.BLOG_INDEX}:popular.title`,"Articles populaires")}),e.jsx("span",{className:"font-inter text-[13px] font-medium text-slate-400",children:t(`pages/${i.BLOG_INDEX}:popular.subtitle`,"Les plus lus")})]}),e.jsx("div",{className:"grid grid-cols-1 gap-3.5 md:grid-cols-2",children:r.map((l,p)=>e.jsx(G,{article:l,rank:p+1},l.pageId))})]}),e.jsx("div",{className:"mb-14",children:e.jsx(f,{benefitsBelowCards:!0,className:"mb-0"})}),o.length>0&&e.jsxs("section",{children:[e.jsx(c,{variant:"h3",as:"h2",className:"mb-5 font-figtree text-slate-900",children:t(`pages/${i.BLOG_INDEX}:recent.title`,"Articles récents")}),e.jsx(u,{articles:o})]})]})})}export{se as default,te as meta};
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.