1import { r as reformat } from './reformat-CJwysHiu.js'; 2 3const locationCard=(location,classes='')=>{var _location$address,_location$address2,_location$address3;// Required 4if(!(location!==null&&location!==void 0&&location.id)||!(location!==null&&location!==void 0&&location.name)||!(location!==null&&location!==void 0&&(_location$address=location.address)!==null&&_location$address!==void 0&&_location$address.city)||!(location!==null&&location!==void 0&&(_location$address2=location.address)!==null&&_location$address2!==void 0&&_location$address2.street)||!(location!==null&&location!==void 0&&(_location$address3=location.address)!==null&&_location$address3!==void 0&&_location$address3.number)){return '';}const item={id:reformat.escape(location.id),name:reformat.escape(location.name?location.name:'Locatie'),image:location.image,address:{city:reformat.escape(location.address.city?location.address.city:''),street:reformat.escape(location.address.street?location.address.street:''),number:reformat.escape(location.address.number?location.address.number:'')}};return `<a class="c-card ${classes}" href="/locatie/${item.id}-${reformat.stringToSlug(item.name)}"> 5 <div class="c-card__image"> 6 <img src="${item.image}" alt="locatie logo"> 7 </div> 8 <div class="c-card__content"> 9 <div class="c-card__content_name_wrapper"> 10 <div class="c-card__content_name"> 11 <p>${item.address.street} ${item.address.number}, ${item.address.city}</p> 12 <p>${item.name}</p> 13 </div> 14 </div> 15 </div> 16 </a>`;}; 17 18export { locationCard as l };
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.