1"use strict";(()=>{(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[1108],{25048:((H,y,n)=>{n.d(y,{Y:()=>t});const t=({date:l,format:d,lang:p})=>{if(!l)return"";const T=c=>c===0?12:c>12&&c!==0?c-12:c,b=c=>c>11?"pm":"am",N=new Date(l),k=l.substring(0,4),e=l.substring(2,4),f=l.substring(5,7),r=parseInt(f).toString(),g=parseInt(f),h=l.substring(8,10),G=parseInt(h).toString(),m=N.getDay(),u=l.substring(11,13),x=parseInt(u).toString(),w=parseInt(u),A=T(w).toString(),v=l.substring(14,16),a=v==="00"?"":":"+v,o=b(w),z=p==="cy"?"Dydd ":"",L=p==="en-GB"?["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]:["Sul","Llun","Maw","Mer","Iau","Gwe","Sad"],B=p==="en-GB"?["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]:["Sul","Llun","Mawrth","Mercher","Iau","Gwener","Sadwrn"],C=p==="en-GB"?["","Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]:["","Ion","Chwe","Maw","Ebr","Mai","Meh","Gor","Aws","Med","Hyd","Tach","Rhag"],O=p==="en-GB"?["","January","February","March","April","May","June","July","August","September","October","November","December"]:["","Ionawr","Chwefror","Mawrth","Ebrill","Mai","Mehefin","Gorffennaf","Awst","Medi","Hydref","Tachwedd","Rhagfyr"],M=["&&","&"],i=["\xA3\xA3\xA3\xA3","\xA3\xA3\xA3","\xA3\xA3","\xA3"],s=["%%%%","%%%","%%","%"],D=["!!","!"],S=["^^","^"],E=["**","*"],I=["??","?"];return d&&d.replaceAll(":","").replaceAll("yyyy",M[0]).replaceAll("yy",M[1]).replaceAll("y","").replaceAll("MMMM",i[0]).replaceAll("MMM",i[1]).replaceAll("MM",i[2]).replaceAll("M",i[3]).replaceAll("dddd",s[0]).replaceAll("ddd",s[1]).replaceAll("dd",s[2]).replaceAll("d",s[3]).replaceAll("HH",D[0]).replaceAll("H",D[1]).replaceAll("hh",S[0]).replaceAll("h",S[1]).replaceAll("mm",E[0]).replaceAll("m",E[1]).replaceAll("tt",I[0]).replaceAll("t",I[1]).replaceAll(M[0],k).replaceAll(M[1],e).replaceAll(i[0],O[g]).replaceAll(i[1],C[g]).replaceAll(i[2],f).replaceAll(i[3],r).replaceAll(s[0],z+B[m]).replaceAll(s[1],L[m]).replaceAll(s[2],h).replaceAll(s[3],G).replaceAll(D[0],u).replaceAll(D[1],x).replaceAll(S[0],A).replaceAll(S[1],A).replaceAll(E[0],a).replaceAll(E[1],a).replaceAll(I[0],o).replaceAll(I[1],o)}}),46542:((H,y,n)=>{n.r(y),n.d(y,{default:()=>k});var t=n(13952),l=n(72869),d=n(12874);const T=l.Ay.li.withConfig({displayName:"cardgeneralstyled__CardGeneralStyled",componentId:"sc-mbwx1q-0"})(["display:flex;flex-basis:calc(25% - 1rem);flex-direction:column;flex-wrap:nowrap;justify-content:space-between;align-content:stretch;align-items:stretch;margin:0.5rem 0.5rem 2rem 0.5rem;position:relative;background:#fafafa;transition:all 0.3s;&:hover{background:",";transition:all 0.3s;}&:focus-within{background:",";box-shadow:0px 0px 0px 4px ",";}&:hover .lc-image-img,&:focus-within .lc-image-img{transform:scale(1.1);transition:all 0.4s ease-out;}&:hover .lc-title a,&:focus-within .lc-title a,&:hover .lc-desc,&:focus-within .lc-desc,&:hover .lc-inline-date,&:focus-within .lc-inline-date{color:#ffffff;text-decoration:none;outline:white;}.listing-card hr{height:1px;padding-top:0.5rem;border-bottom:1px solid #000000;border-left:none;border-right:none;border-top:none;margin:0;}.lc-link{display:block;}.lc-spacer{width:0.5rem;height:100%;float:right;}.lc-image{height:240px;width:100%;overflow:hidden;}.lc-image-img{height:100%;object-fit:cover;width:100%;transform:scale(1);transition:all 0.2s ease-in;}.lc-title{font-size:1.5rem;padding:1rem 0.5rem 0 1rem;align-self:flex-start;padding-right:1rem;width:90%;font-weight:500;line-height:1.75rem;letter-spacing:-0.02rem;}.lc-title a{color:#555555;text-decoration:none;}.lc-title a:before{bottom:0;content:'';left:0;overflow:hidden;position:absolute;right:0;top:0;white-space:nowrap;z-index:1;}.lc-date{font-weight:400;color:#ffffff;padding:0;display:flex;justify-content:flex-start;align-items:center;align-content:flex-start;flex-direction:row;flex-wrap:nowrap;}.lc-desc{font-size:0.9rem;color:#555555;padding:0.5rem 1rem 0.5rem 1rem;line-height:1.35rem;flex-grow:50;}.lc-region{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;justify-content:flex-start;align-items:center;flex-grow:0;padding:0.5rem;z-index:499;border-top:1px solid #d2d2d2;font-size:0.85rem;}.lc-tags{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;justify-content:flex-start;align-items:center;padding:0 0.5rem;flex-grow:5;background-color:#eaeaea;color:#555555;min-height:4rem;line-height:1.5rem;z-index:500;font-size:0.85rem;}.lc-region a{text-decoration:none;color:#555555;font-weight:100;margin-right:0.5rem;}.lc-region a:hover{text-decoration:underline;color:#ae171e;}.lc-region a:focus{outline:solid;outline-color:white;outline-width:thick;}.lc-icon{height:100%;min-width:30px;display:flex;justify-content:center;align-items:center;}.lc-icon.region svg{fill:#ae171e;}.lc-icon.tags svg{fill:#afafaf;}.lc-tags a{text-decoration:none;color:#555555;font-weight:100;}.lc-tags a:hover{text-decoration:underline;color:#ae171e;}.lc-tags a:focus{outline:solid;outline-color:white;outline-width:thick;}ul.listingsStyled .va-button{margin:0.5rem;}.datestart,.dateend{position:relative;height:42px;width:auto;float:left;line-height:22px;font-size:22px;}.datestart{background:#1b191f;padding:10px 10px 10px 1rem;}.dateend{background:#ae171e;width:auto;padding:10px 20px 10px 5px;margin-left:12px;flex-grow:20;}.datestart:after{content:'';line-height:0;font-size:0;width:0;height:0;
1border-top:42px solid #1b191f;border-bottom:15px solid transparent;border-left:0px solid transparent;border-right:15px solid transparent;position:absolute;top:0;right:-15px;}.dateend:before{content:'';line-height:0;font-size:0;width:0;height:0;border-top:15px solid transparent;border-bottom:42px solid #ae171e;border-left:15px solid transparent;border-right:0px solid transparent;position:absolute;top:-15px;left:-15px;}.lc-type{padding:0.25rem 0.5rem;display:inline-block;font-size:0.75rem;position:absolute;left:-5px;top:12px;color:#ffffff;}.lt-activity{background:#ae171e;}.lt-event{background:#003a69;}.lt-food{background:#1b191f;}.lt-inspiration{background:#3b6211;}.lc-inline-date{font-weight:400;font-size:1rem;margin:0.5rem 0rem 0.5rem 1rem;border-top:1px solid #b3b3b3;display:inline-block;border-bottom:1px solid #b3b3b3;color:#aa171d;}.separator{height:1px;border-top:1px solid #c3c3c3;margin:0.5rem 0 0 0;}@keyframes zoomin{0%{transform:scale(1);}100%{transform:scale(1.2);}}@media only screen and (max-width:960px){.listing-card{flex-basis:calc(33% - 1rem);}}@media only screen and (max-width:768px){.listing-card{flex-basis:calc(50% - 1rem);}.datestart,.dateend{font-size:18px !important;}}@media only screen and (max-width:480px){.listing-general{padding:0;}.results-count{margin:0;}.listing-card{margin:0.5rem 0;flex-basis:100%;max-width:100%;}.listing-card hr{display:none;}}"],d.A.vaPrimary,d.A.vaPrimary,d.A.vaPrimary);var b=n(25048);const k=({data:e,showSummary:f,language:r})=>{if(!e)return null;const g=e?.title?e.title:e.entryTitle,h=e?.sys?.uri,G=e?.eventDates?.from,m=(0,b.Y)({date:G,format:"dd MMM",lang:r}),u=e.eventDates&&e.eventDates.to,x=(0,b.Y)({date:u,format:"dd MMM",lang:r}),w=e.mainImage?.asset?.sys?.uri||e.eventImage?.asset?.sys?.uri||"/image-library/fallback.jpg",A=e.mainImage?.altText||e.eventImage?.altText,v=e.summary||e.entryDescription;let a="",o="";return e.sys?.contentTypeId==="activity"&&(a=r==="en-GB"?"Things to see and do":"Pethau i'w gweld a'u gwneud",o="lc-type lt-activity"),e.sys?.contentTypeId==="event"&&(a=r==="en-GB"?"Event":"Digwyddiad",o="lc-type lt-event"),e.sys?.contentTypeId==="foodDrink"&&(
1a=r==="en-GB"?"Food & Drink":"Bwyd a Diod",o="lc-type lt-food"),e.sys?.contentTypeId==="inspiration"&&(a=r==="en-GB"?"Inspiration":"Ysbrydoliaeth",o="lc-type lt-inspiration"),t.createElement(T,{className:"listing-card"},t.createElement("div",{className:"lc-image"},t.createElement("img",{src:w+"?w=1024&format=webp",className:"lc-image-img",alt:A}),t.createElement("div",{className:o},a)),t.createElement("div",{className:"lc-title"},h?t.createElement("a",{href:h,className:"title"},g):t.createElement("span",{className:"title"},g)),m&&t.createElement("div",{className:"lc-inline-date"},t.createElement("span",null,m),t.createElement("span",null,x&&m!==x&&t.createElement(t.Fragment,null," - ",x))),t.createElement("div",{className:"lc-desc"},f&&t.createElement("span",null,v)),t.createElement("div",{className:"separator"}))}})}]);})();
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.