1import{P as b}from"./PostCard-DBKIbMCa.js";import{j as h,l as n,p as d,v as c,x as m,q as g,z as x,A as y,u as _,B as v,F as p,y as $,s as k,f as s,E as z}from"./vendor-vue-DgKPkTzM.js";const j={class:"mb-1 flex justify-between"},w={class:"text-[28px] font-bold leading-[125%]"},B={class:"flex flex-col justify-center"},N={class:"mb-6 grid grid-cols-4 gap-[10px]"},F=h({__name:"ThingsTodo",props:{block:{}},setup(o){const e=o,r=s(()=>{var t;return((t=e.block.config)==null?void 0:t.title)||""}),i=s(()=>{var t;return((t=e.block.config)==null?void 0:t.ctaLink)||""}),a=s(()=>{var t;return((t=e.block.config)==null?void 0:t.ctaLabel)||""}),l=s(()=>{var u;return(((u=e.block.content)==null?void 0:u.items)||[]).slice(0,4)});return(t,u)=>(n(),d(p,null,[c("div",j,[c("h2",w,m(r.value),1),c("div",B,[g(_(v),{href:i.value,class:"flex flex-col justify-end rounded-[100px] border border-[#e9e9e9] px-5 py-[8px] text-base font-semibold text-[#292c3d] hover:underline"},{default:x(()=>[y(m(a.value),1)]),_:1},8,["href"])])]),c("div",N,[(n(!0),d(p,null,$(l.value,f=>(n(),k(b,{post:f},null,8,["post"]))),256))])],64))}}),L=Object.freeze(Object.defineProperty({__proto__:null,default:F},Symbol.toStringTag,{value:"Module"})),I={class:"size-full"},T=["src","alt","width","height"],S="pk.eyJ1IjoiamFwYW50cmF2ZWxtYXBzIiwiYSI6ImNqbXBtOXYxbDB5Z3ozbHFrazJuYWMwOGYifQ.v15fy_mcFWtgopmz8PhwqA",Y="https://api.mapbox.com/styles/v1/mapbox/outdoors-v10/static",P={__name:"MapboxStaticImage",props:{lng:{type:Number,required:!0},lat:{type:Number,required:!0},zoom:{type:Number,default:11},width:{type:Number,default:560},height:{type:Number,default:301},marker:{type:Boolean,default:!1},overlays:{type:Array,default:()=>[]},objectFit:{type:String,default:"cover"},clickable:{type:Boolean,default:!0}},setup(o){const e=o,r=s(()=>{const a=[];e.marker&&a.push(`pin-s+ff0000(${e.lng},${e.lat})`);for(const l of e.overlays){const t=encodeURIComponent(l.url);a.push(`url-${t}(${l.lng},${l.lat})`)}return a.length>0?a.join(",")+"/":""}),i=s(()=>`${Y}/${r.value}${e.lng},${e.lat},${e.zoom}/${e.width}x${e.height}?access_token=${S}`);return(a,l)=>(n(),d("div",I,[c("img",{src:i.value,class:z(`size-full object-${o.objectFit} max-h-[300px] ${o.clickable?"cursor-pointer":""}`),alt:`Static map of (${e.lat}, ${e.lng})`,width:o.width,height:o.height,loading:"lazy"},null,10,T)]))}};export{L as T,P as _};
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.