PageSourceSearch

https://muddystilettos.co.uk/_next/static/chunks/8615-1f52e01c2c81dd65.js

js muddystilettos.co.uk collected 2026-10-02 03:30:13 UTC 90,024 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8615],{50578:function(e,t){"use strict";t.Z={src:"/_next/static/media/twitter.c61ca2e7.svg",height:24,width:24,blurWidth:0,blurHeight:0}},69885:function(e,t,s){"use strict";s.d(t,{Z:function(){return d}});var n=s(85893),o=s(54082),i=s.n(o),a=(s(67294),s(33617)),r=s(50578),l="/_next/static/media/email.e067a04c.svg",c="/_next/static/media/whatsapp.8abb4e00.svg";var d=e=>{let{postLink:t}=e;const s=t.split(".")[0].replace("https://",""),o=t.split("/")[3],d=t.replace("//".concat(s,"."),"//".concat(o,".")).replace("/".concat(o,"/"),"/");return(0,n.jsxs)("ul",{className:i().Wrapper,children:[(0,n.jsx)("li",{children:(0,n.jsx)("a",{href:"https://www.facebook.com/sharer.php?u=".concat(d),children:(0,n.jsx)("img",{src:a.Z.src})})}),(0,n.jsx)("li",{children:(0,n.jsx)("a",{href:"https://twitter.com/intent/tweet?text=".concat(d),children:(0,n.jsx)("img",{src:r.Z.src})})}),(0,n.jsx)("li",{children:(0,n.jsx)("a",{href:"mailto:?subject=I wanted you to see this site&body=".concat(d),children:(0,n.jsx)("img",{src:l})})}),(0,n.jsx)("li",{children:(0,n.jsx)("a",{href:"whatsapp://send?text=".concat(d),children:(0,n.jsx)("img",{src:c})})})]})}},88844:function(e,t,s){"use strict";s.d(t,{Z:function(){return p}});var n=s(85893),o=s(67294),i=s(76255),a=s.n(i),r=s(67184),l=s(24790),c=s(33299),d=s(62881);const u=e=>{let{loggedIn:t,county:s,siteId:i,userEmail:c,setPopup:d}=e;const[u,m]=(0,o.useState)(!1),[h,p]=(0,o.useState)(t),[g,v]=(0,o.useState)(!1),[x,_]=(0,o.useState)(),[y,j]=(0,o.useState)(!1),[w,f]=(0,o.useState)("");return(0,o.useEffect)((()=>{const e=r.G.filter((e=>e.id===i));f(e.length>0&&e[0].shortName?e[0].shortName:s)}),[]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:a().TextBlock,children:[(0,n.jsx)("p",{className:a().Pink,children:"Thank you for voting!"}),(0,n.jsxs)("p",{children:["Fancy bagging \xa3150 to spend at John Lewis? ",(0,n.jsx)("strong",{children:"Enter"})," ","below in seconds for your chance to win."]})]}),(0,n.jsxs)("div",{className:a().RTVotingBox,children:[(0,n.jsx)("div",{className:a().SideImage,children:(0,n.jsx)("img",{src:"/assets/images/best-places-to-live/rt2025-1.jpg",alt:"\xa3150 worth of John Lewis vouchers"})}),(0,n.jsx)("div",{className:a().RTForm,children:y?(0,n.jsx)(n.Fragment,{children:x?(0,n.jsx)("p",{className:a().Error,children:x}):(0,n.jsxs)("p",{children:["Thank you! You've entered! \xa0",(0,n.jsxs)("span",{className:a().ReturnToContent,onClick:()=>d(void 0),children:["Continue browsing Muddy Stilettos ",w,"!"]})]})}):(0,n.jsxs)(n.Fragment,{children:[!t&&(0,n.jsxs)("div",{className:a().Checkbox,children:[(0,n.jsx)("input",{onChange:e=>p(e.target.checked),type:"checkbox",name:"newsletterOptIn",value:s,id:"newsletterOptIn"}),(0,n.jsxs)("label",{htmlFor:"newsletterOptIn",children:["I understand that by entering a Reader Treat I will automatically be subscribed to the ",w," mailing list. Reader Treats are exclusive to Muddy Stilettos subscribers."]})]}),(0,n.jsx)("button",{className:a().Button,disabled:!h,onClick:()=>{v(!0);const e={id:116675,data:{emailaddress:c,county:i?i.toString():"1",question:"Reader Vote Entrant",consent:u?"1":"0",name:c}};(0,l.Z)(e).then((e=>{!1===e.success?(_(e.data),j(!0)):j(!0)})).catch((()=>_("There was a problem entering this treat"))).finally((()=>v(!1)))},children:g?"Submitting...":"Click to enter prize draw"})]})})]}),!y&&(0,n.jsxs)("div",{className:a().TextBlock,children:[(0,n.jsx)("p",{children:(0,n.jsx)("strong",{children:"Need to know"})}),(0,n.jsxs)("ul",{children:[(0,n.jsxs)("li",{children:["Read our full"," ",(0,n.jsx)("a",{target:"_BLANK",title:"Competition Terms & Conditions - Opens in a new window",href:"https://muddystilettos.co.uk/competitions-offers-terms-conditions/",rel:"noreferrer",children:"Reader Treats Terms & Conditions"})," ","here"]}),(0,n.jsx)("li",{children:"Entrants must be UK residents"}),(0,n.jsx)("li",{children:"Competition closes at 11.59pm on 10th September 2025"}),(0,n.jsx)("li",{children:"Once notified by email, the winner will have 48 hours to accept the prize"}),(0,n.jsx)("li",{children:"Prize cannot be exchanged for cash"}),(0,n.jsx)("li",{children:"Only one entry per person"}),(0,n.jsx)("li",{children:"Subject to availability"})]})]})]})},m=e=>{let{post:t,loggedIn:s,setUserEmail:i,userEmail:r,setPopupScreen:l,catName:c}=e;var u;const[m,h]=(0,o.useState)(void 0),[p,g]=(0,o.useState)(!1),[v,x]=(0,o.useState)(!1),[_,y]=(0,o.useState)(""),[j,w]=(0,o.useState)(!1),f=()=>{var e,s;g(!0);const n={data:{emailaddress:r,county:c,town:null!==(s=null===(e=t.title)||void 0===e?void 0:e.replace("Best Places to Live: ",""))&&void 0!==s?s:"",consent:"no"}};(0,d.G)(n).then((e=>{if(x(!0),!1===e.success)throw new Error(e.data.message);l(1)})).catch((e=>h(e.message))).finally((()=>g(!1)))};(0,o.useEffect)((()=>{var e;p?y("Submitting..."):y("Vote for ".concat(null===(e=t.title)||void 0===e?void 0:e.replace("Best Places to Live:","")))}),[p]);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("p",{children:(0,n.jsxs)("strong",{children:["Have your say! Vote for"," ",null===(u=t.title)||void 0===u?void 0:u.replace("Best Places to Live: ",""),"."]})}),s?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("p",{children:"Cast your vote by clicking on the button below:"}),(0,n.jsx)("div",{className:a().InputWrapperColumn,children:(0,n.jsx)("button",{disabled:v,"data-auto":"true",className:a().Button,onClick:f,children:_})})]}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("p",{children:"Cast your vote by entering your email address below:"}),(0,n.jsxs)("div",{className:a().InputWrapperColumn,children:[(0,n.jsx)("input",{type:"text",name:"emailaddress",onChange:e=>{return t=e.target.value,i(t),void(v&&x(!1));var t},placeholder:"Your email address"}),(0,n.jsx)("button",{disabled:v,className:a().Button,onClick:f,children:_})]})]}),m&&(0,n.jsx)("p",{children:m})]})};var h=e=>{let{post:t,setShowPopup:s,siteId:i,catName:l}=e;const[d,h]=(0,o.useState)(!1),[p,g]=(0,o.useState)(0),[v,x]=(0,o.useState)(""),_=(0,c.useSession)(),[y,j]=(0,o.useState)("");var w,f;return(0,o.useEffect)((()=>{var e;_&&(null===(e=_.data)||void 0===e?void 0:e.hasOwnProperty("name"))&&h(!0)}),[_]),(0,o.useEffect)((()=>{const e=r.G.filter((e=>e.id===i));j(e.length>0&&e[0].shortName?e[0].shortName:l)}),[]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:a().Underlay}
1),(0,n.jsxs)("div",{className:a().Popup,children:[(0,n.jsx)("div",{className:a().Img,children:(0,n.jsx)("img",{src:null!==(w=t.spotlightDesktopImage)&&void 0!==w?w:"",alt:""})}),(0,n.jsxs)("div",{className:a().Content,children:[(0,n.jsx)("div",{onClick:()=>s(void 0),className:a().CloseButton}),(0,n.jsxs)("p",{className:a().HeadingText,children:["Best Place To Live in ",y," ",(0,n.jsx)("span",{children:"Readers Vote"})]}),0===p&&(0,n.jsx)(m,{catName:l,setPopupScreen:g,userEmail:v,setUserEmail:x,post:t,loggedIn:d}),1===p&&(0,n.jsx)(u,{setPopup:s,userEmail:v,siteId:i,loggedIn:d,county:null!==(f=t.primaryCategory)&&void 0!==f?f:"error"})]})]})]})};var p=e=>{let{post:t,popupVisible:s,setPopup:i,siteId:r,catName:l}=e;const[c,d]=(0,o.useState)(s),u=(0,o.useRef)(null);return(0,o.useEffect)((()=>{d(s)}),[s]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{ref:u,className:a().Button,onClick:e=>{e.target===u.current&&(d(!0),i(t.id))},children:"Vote"}),c&&(0,n.jsx)(h,{catName:l,siteId:r,post:t,setShowPopup:i})]})}},73192:function(e,t,s){"use strict";var n=s(85893),o=s(67294),i=s(85481),a=s.n(i);t.Z=()=>{const[e,t]=(0,o.useState)(null);return(0,o.useEffect)((()=>{if(e&&null!==e){window.adition.srq.push((function(e){e.renderSlot("BotLB")}))}}),[e]),(0,o.useEffect)((()=>{let e=null;return e=setInterval((()=>{"adition"in window&&"ready"in window.adition&&(t(window.adition),e&&clearInterval(e))}),1e3),()=>{e&&clearInterval(e)}}),[]),(0,n.jsx)("div",{className:a().Wrapper,children:(0,n.jsx)("div",{id:"BotLB"})})}},54496:function(e,t,s){"use strict";s.d(t,{Z:function(){return n.Z}});var n=s(35387)},83961:function(e,t,s){"use strict";var n=s(85893),o=s(67294),i=s(15368),a=s(15280),r=s.n(a),l=s(50803),c=s.n(l);t.Z=e=>{let{children:t,removeMargin:s}=e;const[a,l]=(0,o.useState)(!1);return(0,o.useEffect)((()=>{s&&l(!0)}),[s]),(0,n.jsxs)("div",{className:r().Base,children:[(0,n.jsx)("div",{className:"".concat(c().InnerWrapper," ").concat(a&&r().NoMargin),children:t}),(0,n.jsx)(i.Z,{})]})}},25576:function(e,t,s){"use strict";var n=s(85893),o=s(67294),i=s(4442),a=s.n(i),r=s(93967),l=s.n(r);t.Z=e=>{let{show:t,complete:s,size:i="88px",persist:r,colour:c="Pink"}=e;const[d,u]=(0,o.useState)(!1);return(0,o.useEffect)((()=>{t&&u(!0)}),[t]),(0,o.useEffect)((()=>{s&&!r&&setTimeout((()=>{u(!1)}),3e3)}),[s]),d?(0,n.jsxs)("svg",{width:i,height:i,viewBox:"0 0 48 48",version:"1.1",id:"svg1",xmlns:"http://www.w3.org/2000/svg",className:l()({[a().Logomark]:!0,[a().Complete]:s,[a().TealBlue]:"TealBlue"===c,[a().LightBlue]:"LightBlue"===c}),children:[(0,n.jsx)("defs",{id:"defs1"}),(0,n.jsx)("g",{id:"layer1",children:(0,n.jsxs)("g",{id:"g6",transform:"translate(-0.81507301,-0.30077171)",children:[(0,n.jsx)("circle",{id:"circle",cx:"24.815073",cy:"24.300772",r:"20",className:a().Logomark__Circle}),(0,n.jsx)("path",{d:"M 34.151833,11.211618 Q 35.386868,11.642443 35.875138,12.101992 36.392129,12.561538 36.392129,13.394469 36.392129,13.739131 36.24852,14.457172 35.674086,16.869799 34.984764,22.154597 L 34.209278,28.042551 Q 33.74973,30.771117 33.74973,34.705994 33.74973,36.687794 33.92206,40.076957 33.92206,40.392896 33.92206,40.737556 33.950782,41.11094 33.950782,41.283269 33.979503,41.484322 33.979503,41.570486 33.979503,42.374696 33.634843,42.690635 33.318904,43.006574 32.342365,43.12146 31.681765,43.178904 30.963721,42.94913 30.044626,42.7768 29.44147,40.938608 29.26914,40.392896 29.182974,38.899366 29.182974,38.8132 29.154253,38.669592 29.154253,38.554705 29.125531,38.296209 29.125531,38.066435 29.125531,37.894105 V 37.089898 Q 29.096808,36.716515 29.096808,35.395315 29.096808,30.627507 30.10207,25.112936 30.10207,25.084214 30.532896,22.52798 30.963721,20.144075 31.394547,17.501677 L 31.825374,15.031608 Q 31.480713,14.945443 29.125531,18.21972 26.942679,21.178058 25.994862,22.671588 25.765088,23.016249 25.248096,23.676848 24.759827,24.308726 24.731106,24.337449 24.156672,25.112936 24.242836,26.721353 24.242836,27.1809 22.864193,27.353231 22.519533,27.353231 22.347202,27.410673 22.174872,27.439396 22.059985,27.353231 21.945098,27.267066 21.916376,27.238344 21.916376,27.209622 21.858932,27.066013 21.801489,26.893683 21.744046,26.778795 21.657881,26.577744 21.542993,25.773534 20.250515,19.454755 20.250515,19.196258 20.250515,19.138816 20.221794,19.052651 19.561193,15.089051 19.216534,15.089051 L 19.130368,15.146494 Q 19.044203,15.347547 19.015481,15.433712 18.038942,19.426033 18.038942,24.567222 18.038942,27.123456 18.239995,30.311568 18.239995,30.397734 18.268718,30.771117 18.297439,31.144498 18.354881,31.718934 18.412326,32.293368 18.46977,32.953969 18.699543,35.13682 18.642099,35.79742 18.584657,36.888845 17.636839,36.888845 16.83263,36.888845 15.626318,36.199523 14.420005,35.481481 14.104066,35.050654 13.070084,33.614568 12.84031,31.000891 L 12.66798,28.5021 Q 12.639257,27.554283 12.553093,26.405414 12.495649,25.02677 12.495649,22.901363 12.495649,12.647704 13.098806,11.699887 13.271137,11.441392 14.448727,11.441392 16.085866,11.441392 17.952779,11.814774 19.99202,12.216878 20.537733,12.647704 20.882393,12.9062 21.227054,13.825294 21.571716,14.600782 21.801489,15.519877 21.945098,16.06559 22.261037,17.501677 22.347202,17.846338 22.404646,18.162277 22.490811,18.478216 22.519533,18.650545 22.576976,18.794155 22.576976,18.822875 22.778027,19.540919 23.036524,21.005729 23.352463,22.355649 23.610958,22.355649 23.869454,22.355649 24.78855,20.977006 26.310801,18.506936 27.459669,17.070851 28.694705,15.548599 31.10733
11,12.934921 31.193495,12.848756 31.480713,12.504096 31.76793,12.130713 31.854096,12.044548 31.968982,11.92966 32.227477,11.671165 32.485974,11.41267 32.629582,11.326504 32.801913,11.24034 33.060408,11.154174 33.318904,11.039288 33.577399,11.068009 33.864616,11.096731 34.151833,11.211618 Z",id:"textM",style:{stroke:"Pink"===c?"#e72c5e":"TealBlue"===c?"#004150":"#00a0e4",strokeWidth:1,strokeDasharray:185,strokeDashoffset:0},"aria-label":"M",className:a().Logomark__M})]})})]}):null}},95794:function(e,t,s){"use strict";s.d(t,{Z:function(){return n.Z}});var n=s(25576)},56205:function(e,t,s){"use strict";var n=s(85893),o=s(67294),i=s(41664),a=s.n(i),r=s(28299),l=s.n(r),c=s(33299),d=s(11163);const u={invalid_username:"Sorry, your email address and password combination is not correct",invalid_email:"Sorry, your email address and password combination is not correct",incorrect_password:"Sorry, your password is not correct","Login failed":"Sorry there was an error logging in. Please try again."};t.Z=e=>{let{redirect:t=!0,schoolAwards:s}=e;const{data:i,status:r}=(0,c.useSession)(),[m,h]=(0,o.useState)(""),[p,g]=(0,o.useState)(!1),v=(0,d.useRouter)(),[x,_]=(0,o.useReducer)(((e,t)=>({...e,...t})),{username:"",password:""}),y=["username","password"],j=e=>{g(!1);const{name:t,value:s}=e.target;_({[t]:s})};return(0,n.jsx)("div",{className:l().Wrapper,children:(0,n.jsxs)("form",{className:l().Form,children:[(0,n.jsxs)("p",{children:[(0,n.jsx)("label",{htmlFor:"username",children:"Username or email address"}),(0,n.jsx)("input",{type:"email",id:"username",name:"username",value:x.username||"",onChange:j})]}),(0,n.jsxs)("p",{children:[(0,n.jsx)("label",{htmlFor:"password",children:"Password"}),(0,n.jsx)("input",{type:"password",id:"password",name:"password",value:x.password||"",onChange:j})]}),(0,n.jsxs)("p",{className:l().ButtonRow,children:[(0,n.jsx)("button",{type:"button",onClick:()=>(async e=>{const{username:s,password:n}=e,o=await(0,c.signIn)("credentials",{redirect:!1,username:s,password:n});if(null===o||void 0===o?void 0:o.error)h(o.error);else if(t){let e;e=new URLSearchParams(window.location.search).get("return"),v.push(null!==e&&void 0!==e?e:"/dashboard/")}})(x),disabled:p||(()=>{return!(!x.email||(e=x.email,/\S+@\S+\.\S+/.test(e)))||!y.every((e=>{const t=x[e];return t&&t.length>0}));var e})(),children:"loading"===r?(0,n.jsx)(n.Fragment,{children:"Submitting"}):"Sign In"}),m&&(0,n.jsx)("span",{className:l().Alert,children:u[m]}),p&&(0,n.jsx)("span",{className:l().Alert,children:"Now redirecting"})]}),(0,n.jsx)("p",{className:l().SmallRow,children:(0,n.jsxs)("small",{children:["Forgot your password?"," ",(0,n.jsx)(a(),{href:"/forgot-password",children:"Reset it here"}),"."]})})]})})}},415:function(e,t,s){"use strict";s.d(t,{an:function(){return i},bO:function(){return o},by:function(){return n}});const n={CO_ED:"Co-educational",BOYS:"Boys",GIRLS:"Girls","day-school":"Day School","boarding-school":"Boarding School","summer-school":"Summer School","revision-specialist":"Revision Specialist","early-years":"Early Years","online-school":"Online School","overseas-school":"Overseas School","pre-prep":"Pre-prep",prep:"Prep School","secondary-school":"Secondary School","sixth-school":"Senior School","performing-arts-specialist-school":"Performing Arts Specialist School","all-through-school":"All-Through School","international-student-intake":"International Student Intake","choir-school":"Choir School","has-sen-unit":"Has SEN Unit","specialist-sen":"Specialist SEN","montessori-school":"Montessori School","forest-school-offered":"Forest School Offered","outside-space":"Outside Space","wrap-around-care-offered":"Wrap-around Care Offered","independent-nursery":"Independent Nursery","nursery-within-a-school":"Nursery within a School"},o=[{id:"1",title:"Bedfordshire",uri:"/school-reviews/search/?county=Bedfordshire",linkType:"internal",primaryCategory:null,primaryCategoryURI:null,homepagePreviewImage:"/assets/images/weekend-escapes/counties/bedfordshire.jpg"},{id:"2",title:"Berkshire",uri:"/school-reviews/search/?county=Berkshire",linkType:"internal",primaryCategory:null,primaryCategoryURI:null,homepagePreviewImage:"/assets/images/weekend-escapes/counties/berkshire.jpg"},{id:"3",title:"Buckinghamshire",uri:"/school-reviews/search/?county=Buckinghamshire",linkType:"internal",primaryCategory:null,primaryCategoryURI:null,homepagePreviewImage:"/assets/images/weekend-escapes/counties/bucks.jpg"},{id:"4",title:"Cambridgeshire",uri:"/school-reviews/search/?county=Cambridgeshire",linkType:"internal",primaryCategory:null,primaryCategoryURI:null,homepagePreviewImage:"/assets/images/weekend-escapes/counties/cambs.jpg"},{id:"1",title:"Cheshire",uri:"/school-reviews/search/?county=Cheshire",linkType:"internal",primaryCategory:null,primaryCategoryURI:null,homepagePreviewImage:"/assets/images/best-places-to-live/cheshire.jpg"},{id:"5",title:"Cornwall",uri:"/school-reviews/search/?county=Cornwall",linkType:"internal",primaryCategory:null,primaryCategoryURI:null,homepagePreviewImage:"/assets/images/weekend-escapes/counties/cornwall.jpg"},{id:"1",title:"Devon",uri:"/school-reviews/search/?county=Devon",linkType:"internal",primaryCategory:null,primaryCategoryURI:null,homepagePreviewImage:"/assets/images/weekend-escapes/counties/devon.jpg"},{id:"1",title:"Derbyshire",uri:"/school-reviews/search/?county=Derbyshire",linkType:"internal",primaryCategory:null,primaryCategoryURI:null,homepagePreviewImage:"/assets/images/weekend-escapes/counties/derby.jpg"},{id:"1",title:"Dorset",uri:"/school-reviews/search/?county=Dorset",linkType:"internal",primaryCategory:null,primaryCategoryURI:null,homepagePreviewImage:"/assets/images/weekend-escapes/counties/dorset.jpg"},{id:"1",title:"Essex",uri:"/school-reviews/search/?county=Essex",linkType:"internal",primaryCategory:null,primaryCategoryURI:null,homepagePreviewImage:"/assets/images/weekend-escapes/counties/essex.jpg"},{id:"1",title:"Gloucestershire",uri:"/school-reviews/search/?county=Gloucestershire",linkType:"internal",primaryCategory:null,primaryCategoryURI:null,homepagePreviewImage:"/assets/images/weekend-escapes/counties/glos.jpg"},{id:"1",title:"Hampshire",uri:"/school-reviews/search/?county=Hampshire",linkType:"internal",primaryCategory:null,primaryCategoryURI:null,homepagePreviewImage:"/assets/images/weekend-escapes/counties/hants.jpg"},{id:"1",title:"Hertfordshire",uri:"/school-reviews/search/?county=Hertfordshire",linkType:"internal",primaryCategory:null,primaryCategoryURI:null,homepagePreviewImage:"/assets/images/weekend-escapes/counties/herts.jpg"},{id:"1",title:"Isle of Wight",uri:"/school-reviews/search/?county=Isle Of Wight",linkType:"internal",primaryCategory:null,primaryCategoryURI:null,homepagePreviewImage:"/assets/images/weekend-escapes/counties/hants.jpg"},{id:"1",title:"Kent",uri:"/school-reviews/search/?county=Kent",linkType:"internal",primaryCategory:null,primaryCategoryURI:null,homepagePreviewImage:"/assets/images/weekend-escapes/counties/kent.jpg"},{id:"1",title:"Leicestershire",uri:"/school-reviews/search/?county=Leicestershire",linkType:"internal",primaryCategory:null,primaryCategoryURI:null,homepagePreviewImage:"/assets/images/weekend-escapes/counties/leics.jpg"},{id:"1",title:"Northern Ireland",uri:"/school-reviews/search/?county=Northern-ireland",linkType:"internal",primaryCategory:null,primaryCategoryURI:null,homepagePreviewImage:"/assets/images/weekend-escapes/counties/northern-ireland.jpg"},{id:"1",title:"Nottinghamshire",uri:"/school-reviews/search/?county=Nottinghamshire",linkType:"internal",primaryCategory:null,primaryCategoryURI:null,homepagePreviewImage:"/assets/images/weekend-escapes/counties/notts.jpg"},{id:"1",title:"Norfolk",uri:"/school-reviews/search/?county=Norfolk",linkType:"internal",primaryCategory:null,primaryCategoryURI:null,homepagePreviewImage:"/assets/images/weekend-escapes/counties/norfolk.jpg"},{id:"1",title:"Northamptonshire",uri:"/school-reviews/search/?county=Northants",linkType:"internal",primaryCategory:null,primaryCategoryURI:null,homepagePreviewImage:"/assets/images/weekend-escapes/counties/northants.jpg"},{id:"1",title:"Oxfordshire",uri:"/school-reviews/search/?county=Oxfordshire",linkType:"internal",primaryCategory:null,primaryCategoryURI:null,homepagePreviewImage:"/assets/images/weekend-escapes/counties/oxford.jpg"},{id:"1",title:"Rutland",uri:"/school-reviews/search/?county=Rutland",linkType:"internal",primaryCategory:null,primaryCategoryURI:null,homepagePreviewImage:"/assets/images/weekend-escapes/counties/rutland.png"},{id:"1",title:"Somerset & Bristol",uri:"/school-reviews/search/?county=Somerset",linkType:"internal",primaryCategory:null,primaryCategoryURI:null,homepagePreviewImage:"/assets/images/weekend-escapes/counties/somerset.jpg"},{id:"1",title:"Suffolk",uri:"/school-reviews/search/?county=Suffolk",linkType:"internal",primaryCategory:null,primaryCategoryURI:null,homepagePreviewImage:"/assets/images/weekend-escapes/counties/suffolk.jpg"},{id:"1",title:"Surrey",uri:"/school-reviews/search/?county=Surrey",linkType:"internal",primaryCategory:null,primaryCategoryURI:null,homepagePreviewImage:"/assets/images/weekend-escapes/counties/surrey.jpg"},{id:"1",title:"Sussex",uri:"/school-reviews/search/?county=Sussex",linkType:"internal",primaryCategory:null,primaryCategoryURI:null,homepagePreviewImage:"/assets/images/weekend-escapes/counties/sussex.jpg"},{id:"1",title:"Warwickshire",uri:"/school-reviews/search/?county=Warwickshire",linkType:"internal",primaryCategory:null,primaryCategoryURI:null,homepagePreviewImage:"/assets/images/weekend-escapes/counties/warwick.jpg"},{id:"1",title:"West Midlands",uri:"/school-reviews/search/?county=West Midlands",linkType:"internal",primaryCategory:null,primaryCategoryURI:null,homepagePreviewImage:"/assets/images/weekend-escapes/counties/west-midlands.jpg"},{id:"1",title:"Wiltshire",uri:"/school-reviews/search/?county=Wiltshire",linkType:"internal",primaryCategory:null,primaryCategoryURI:null,homepagePreviewImage:"/assets/images/weekend-escapes/counties/wilts.jpg"},{id:"1",title:"Worcestershire",uri:"/school-reviews/search/?county=Worcestershire",linkType:"internal",primaryCategory:null,primaryCategoryURI:null,homepagePreviewImage:"/assets/images/weekend-escapes/counties/worcs.jpg"},{id:"1",title:"Yorkshire",uri:"/school-reviews/search/?county=Yorkshire",linkType:"internal",primaryCategory:null,primaryCategoryURI:null,homepagePreviewImage:"/assets/images/best-places-to-live/yorkshire.jpg"}],i=[{img:"/assets/images/school-reviews/selina/creative-1.png",link:"https://www.selinafinance.co.uk/use-cases/private-school-fees?utm_source=affiliates&utm_medium=partnerdm&utm_campaign=_consumer_prospecting_consideration_muddy_stilettos_main_schoolfees_ms_g1"},{img:"/assets/images/school-reviews/selina/creative-2.png",link:"https://www.selinafinance.co.uk/use-cases/private-school-fees?utm_source=affiliates&utm_medium=partnerdm&utm_campaign=_consumer_prospecting_consideration_muddy_stilettos_main_schoolfees_ms_g2"},{img:"/assets/images/school-reviews/selina/creative-3.png",link:"https://www.selinafinance.co.uk/use-cases/private-school-fees?utm_source=affiliates&utm_medium=partnerdm&utm_campaign=_consumer_prospecting_consideration_muddy_stilettos_main_schoolfees_ms_g3"},{img:"/assets/images/school-reviews/selina/creative-4.png",link:"https://www.selinafinance.co.uk/use-cases/private-school-fees?utm_source=affiliates&utm_medium=partnerdm&utm_campaign=_consumer_prospecting_consideration_muddy_stilettos_main_schoolfees_ms_g4"},{img:"/assets/images/school-reviews/selina/creative-5.png",link:"https://www.selinafinance.co.uk/use-cases/private-school-fees?utm_source=affiliates&utm_medium=partnerdm&utm_campaign=_consumer_prospecting_consideration_muddy_stilettos_main_schoolfees_ms_g5"}]},62881:function(e,t,s){"use strict";s.d(t,{G:function(){return n}});const n=async e=>{let{data:{emailaddress:t,county:s,town:n,consent:o}}=e;const i=new FormData;i.append("email",t),i.append("county",s),i.append("town",n),i.append("consent",o);return(await fetch("https://dev.muddystilettos.co.uk/wp-json/muddy/vote-bptl",{method:"post",body:i})).json()}},24790:function(e,t,s){"use strict";t.Z=async e=>{let{id:t,data:s}=e;const{emailaddress:n,county:o,question:i,consent:a,name:r,telephone:l,uploadedFileUrl:c,extraFields:d,newContact:u}=s,m=new FormData;return m.append("emailaddress",n),m.append("county",o),m.append("question",i),m.append("consent",a),m.a
1ppend("name",r),m.append("new",u),m.append("id",t.toString()),l&&m.append("telephone",l),c&&m.append("uploadedFileUrl",c),d&&m.append("extraFields",JSON.stringify(d)),await fetch("https://dev.muddystilettos.co.uk/wp-json/muddy/rt-signup",{method:"POST",body:m}).then((e=>e.json())).catch((e=>e.message))}},15839:function(e,t,s){"use strict";var n=s(67184),o=s(4799);t.Z=async e=>{let{email:t,locations:s,username:i,source:a}=e;try{const e=await(async(e,t,s)=>{if(e){const a=await(0,o.H4)(e);if(a)return{contactId:a,new:!1};{var n,i;const a=await(0,o.xo)({email:e,first_name:null!==(n=null===t||void 0===t?void 0:t.split(" ")[0])&&void 0!==n?n:"",last_name:null!==(i=null===t||void 0===t?void 0:t.split(" ").slice(1).join(" "))&&void 0!==i?i:"",postcode:"",source:null!==s&&void 0!==s?s:"Muddy Stilettos",timestamp:(new Date).toISOString()});if(a)return{contactId:a,new:!0}}return!1}})(t,i,a);if(!e)return console.log("No Adestra ID found, skipping Adestra subscription."),null;const r={list_ids:s.map((e=>{var t;return null===(t=n.G.find((t=>t.id===e)))||void 0===t?void 0:t.adestraListId})).filter(Boolean),unsub_list_ids:s.map((e=>{var t;return null===(t=n.G.find((t=>t.id===e)))||void 0===t?void 0:t.adestraUnsubListId})).filter(Boolean),contact_id:e.contactId};console.log("Subscribing to Adestra lists:",r);const l=r.list_ids.length>0?await(0,o.kX)(r):null;return console.log("Adestra subscription result:",l),{lists:l,contactId:e.contactId,new:e.new}}catch(r){throw console.error("Error in Adestra submission:",r),r}}},4799:function(e,t,s){"use strict";s.d(t,{$g:function(){return d},H4:function(){return n},N7:function(){return a},gl:function(){return c},kX:function(){return i},tl:function(){return r},vf:function(){return l},xo:function(){return o}});const n=async e=>{var t;const s="https://muddystilettos.co.uk".replace(/\/+$/,""),n="".concat(s,"/api/adestra/get-contact-id/?email=").concat(encodeURIComponent(e)),o=await fetch(n,{method:"GET",headers:{"Content-Type":"application/json"}});if(!o.ok)throw new Error("Failed to fetch Adestra data");return(null===(t=(await o.json()).contacts[0])||void 0===t?void 0:t.id)||null},o=async e=>{let{email:t,first_name:s,last_name:n,postcode:o,source:i,timestamp:a}=e;const r={table_id:2,contact_data:{email:t,first_name:s,last_name:n,postcode:o,source:i,timestamp:a}},l="".concat("https://muddystilettos.co.uk","/api/adestra/create-contact"),c=await fetch(l,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(r)});if(!c.ok)throw new Error("Failed to fetch Adestra data");return(await c.json()).id||null},i=async e=>{let{list_ids:t,unsub_list_ids:s,contact_id:n}=e;const o={list_ids:t,unsub_list_ids:s,contact_id:n},i="".concat("https://muddystilettos.co.uk","/api/adestra/subscribe"),a=await fetch(i,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify(o)});if(!a.ok)throw new Error("Failed to fetch Adestra data");return await a.json()||null},a=async e=>{let{list_ids:t,unsub_list_ids:s,contact_id:n}=e;const o={list_ids:t,unsub_list_ids:s,contact_id:n},i="".concat("https://muddystilettos.co.uk","/api/adestra/unsubscribe"),a=await fetch(i,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify(o)});if(!a.ok)throw new Error("Failed to fetch Adestra data");return await a.json()||null},r=async(e,t)=>{const s="".concat("https://muddystilettos.co.uk","/api/adestra/?endpoint=contacts/").concat(e,"/authenticate_guid/").concat(t),n=await fetch(s,{method:"GET",headers:{"Content-Type":"application/json"}});if(!n.ok)throw new Error("Failed to fetch Adestra data");return 1===(await n.json()).authenticateguid_result},l=async e=>{const t="".concat("https://muddystilettos.co.uk","/api/adestra/contact-lists/?contact_id=").concat(e),s=await fetch(t,{method:"GET",headers:{"Content-Type":"application/json"}});if(!s.ok)throw new Error("Failed to fetch Adestra data");return await s.json()},c=async(e,t)=>{const s="https://muddystilettos.co.uk",n="".concat(s,"/api/adestra/awards-vote-link"),o={email:e,uniqueLink:"".concat(s).concat(t).replace("//awards/","/awards/")},i=await fetch(n,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(o)});if(!i.ok)throw new Error("Failed to fetch Adestra data?");return await i.json()},d=async(e,t)=>{const s="".concat("https://muddystilettos.co.uk","/api/adestra/send-transactional-email"),n={email:e,campaignId:t},o=await fetch(s,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(n)});if(!o.ok)throw new Error("Failed to fetch Adestra data?");return await o.json()}},31456:function(e,t,s){"use strict";var n=s(85893),o=s(51985),i=s(54496),a=s(40207),r=s(77201);t.Z=()=>(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(o.Z,{siteId:1,siteName:"Muddy Stilettos"}),(0,n.jsx)(i.Z,{children:(0,n.jsx)(a.Z,{postType:"page",postTitle:"Muddy Stilettos",postURI:""})}),(0,n.jsx)(r.Z,{})]})},95841:function(e,t,s){"use strict";s.d(t,{Z:function(){return P}});var n=s(85893),o=s(44800),i=s(87276),a=s(77201),r=s(51985),l=s(15368),c=s(41262),d=s(9186),u=s(67294),m=s(41664),h=s.n(m),p=s(44632),g=s(67853),v=s.n(g),x=s(25675),_=s.n(x);var y=e=>{let{county:t,whatsOn:s,mustsee:o}=e;var i,a;return(0,n.jsx)("div",{className:v().Base,children:(0,n.jsxs)("div",{className:v().Wrapper,children:[(0,n.jsxs)(p.Z,{children:["This month in ",t]}),(0,n.jsxs)("div",{className:v().Blocks,children:[o&&(0,n.jsxs)("div",{className:v().Block,children:[(null===o||void 0===o||null===(i=o.featuredImage)||void 0===i?void 0:i.node)&&(0,n.jsx)("img",{src:o.featuredImage.node.homepagePreviewImage,alt:o.title||""}),(0,n.jsx)(h(),{href:o.uri||"",children:(0,n.jsx)("span",{className:v().Text,children:"Must Sees"})})]}),(0,n.jsxs)("div",{className:v().Block,children:[(0,n.jsx)(_(),{src:"/assets/images/weekend-escapes/spotlightImage.jpg",alt:"Experiences",width:300,height:200}),(0,n.jsx)("a",{href:"https://muddystilettos.co.uk/weekend-escapes/search/experiences",children:(0,n.jsx)("span",{className:v().Text,children:"Experiences"})})]}),s&&(0,n.jsxs)("div",{className:v().Block,children:[(null===s||void 0===s||null===(a=s.featuredImage)||void 0===a?void 0:a.node)&&(0,n.jsx)("img",{src:s.featuredImage.node.homepagePreviewImage,alt:s.title||""}),(0,n.jsx)(h(),{href:s.uri||"",children:(0,n.jsx)("span",{className:v().Text,children:"What's on"})})]})]})]})})},j=s(69885),w=s(86632),f=s.n(w),b=s(93290),k=s.n(b),S=s(33617),B=s(75402),T=s(50578),I=s(71910),C=s(7140),N=s(46066);const R={dots:!1,infinite:!0,autoplay:!1,slidesToShow:1,initialSlide:0,centerMode:!1};var L=e=>{let{post:t}=e;var s,o;const i=(0,u.useRef)(null),{latLong:a,lbbReviewLink:r,lBBImages:l,lbbTel:c,lbbTwitter:m,lbbEmail:p,lbbAddress:g,lbbFacebook:v,lbbInstagram:x,lbbURL:y,lbbURLLabel:w}=t;var b,L;const A={title:null!==(b=t.primaryCategory)&&void 0!==b?b:null,URI:null!==(L=t.primaryCategoryURI)&&void 0!==L?L:null},F=null===t||void 0===t||null===(o=t.lBBCategories)||void 0===o||null===(s=o.nodes)||void 0===s?void 0:s.some((e=>"weekend-escapes"===e.slug));var P,M,U,Z;return(0,n.jsxs)("article",{className:k().LBBArticle,children:[(0,n.jsx)("div",{className:f().Wrapper,children:(0,n.jsxs)("div",{className:f().Intro,children:[(0,n.jsx)(I.Z,{postType:"littleBlackBook",primaryCategory:A}),(0,n.jsx)("h1",{dangerouslySetInnerHTML:{__html:null!==(P=t.title)&&void 0!==P?P:""}}),(0,n.jsx)("span",{dangerouslySetInnerHTML:{__html:null!==(M=t.excerpt)&&void 0!==M?M:""}})]})}),l&&(0,n.jsxs)("div",{className:k().Gallery,children:[(0,n.jsx)(N.Z,{...R,ref:i,children:l.map(((e,t)=>{var s;return(0,n.jsx)("div",{className:k().GalleryImage,children:(0,n.jsx)("img",{src:null!==(s=null===e||void 0===e?void 0:e.image)&&void 0!==s?s:""})},t)}))}),(0,n.jsx)("div",{className:k().Thumbnails,children:l.map(((e,t)=>(0,n.jsx)("div",{className:k().Thumbnail,onClick:()=>(e=>{var t;null===(t=i.current)||void 0===t||t.slickGoTo(e)})(t),children:(null===e||void 0===e?void 0:e.image)&&(0,n.jsx)("img",{src:null===e||void 0===e?void 0:e.image,alt:""})},t)))})]}),(0,n.jsx)("div",{className:f().Wrapper,children:(0,n.jsxs)("div",{className:"".concat(f().Main," ").concat(k().LBB_Content),children:[(0,n.jsxs)("div",{className:"".concat(f().Meta," ").concat(k().MetaWrap),children:[(0,n.jsx)("span",{className:f().Date,children:t.dateGmt?(0,d.p6)(t.dateGmt):""}),(0,n.jsx)("span",{children:l&&!1}),(0,n.jsx)("div",{className:k().Badge,children:(0,n.jsx)(_(),{src:"/assets/images/weekend-escapes/badge-2026.png",alt:"LBB 2026 Badge",width:300,height:300})}),(0,n.jsx)(C.Z,{showText:!0,postId:t.databaseId.toString()})]}),(0,n.jsxs)("div",{className:f().Content,children:[r&&(0,n.jsx)("div",{className:k().Review,children:(0,n.jsx)("p",{children:(0,n.jsx)("strong",{children:(0,n.jsx)("a",{href:r,children:"Read our review"})})})}),(0,n.jsx)("div",{className:k().Content,dangerouslySetInnerHTML:{__html:null!==(U=t.content)&&void 0!==U?U:""}}),(0,n.jsx)("p",{children:"\xa0"}),F&&(0,n.jsx)(n.Fragment,{children:(0,n.jsx)("div",{className:f().ReturnToWeekendEscapes,children:(0,n.jsxs)(h(),{href:"/weekend-escapes/",children:["Return to ",(0,n.jsx)("span",{children:"Weekend Escapes"})]})})}),(0,n.jsx)("p",{children:"\xa0"})]}),(0,n.jsx)("hr",{}),(0,n.jsxs)("div",{className:k().AtAGlance,children:[(0,n.jsx)("h3",{children:"Need to Know"}),(0,n.jsx)("div",{className:k().AtAGlanceDetails,children:(0,n.jsxs)("div",{children:[g&&(0,n.jsxs)("p",{children:[(0,n.jsx)("strong",{children:"Address:"}),(0,n.jsx)("br",{})," ",g]}),y&&(0,n.jsxs)("p",{children:[(0,n.jsx)("strong",{children:"Website:"}),(0,n.jsx)("br",{})," ",(0,n.jsx)("a",{href:y,children:null!==w&&void 0!==w?w:y.replace("https://","")})]}),p&&(0,n.jsxs)("p",{children:[(0,n.jsx)("strong",{children:"Email:"}),(0,n.jsx)("br",{})," ",(0,n.jsx)("a",{href:"mailto:".concat(p),children:p.replace("mailto:","")})]}),c&&(0,n.jsxs)("p",{children:[(0,n.jsx)("strong",{children:"Telephone:"}),(0,n.jsx)("br",{})," ",c]}),(0,n.jsx)("p",{children:(0,n.jsxs)("span",{className:k().socialLinks,children:[v&&(0,n.jsx)("a",{href:v,children:(0,n.jsx)("img",{src:S.Z.src,alt:"Facebook"})}),m&&(0,n.jsx)("a",{href:m,children:(0,n.jsx)("img",{src:T.Z.src,alt:"Twitter"})}),x&&(0,n.jsx)("a",{href:x,children:(0,n.jsx)("img",{src:B.Z.src,alt:"Instagram"})})]})})]})}),a&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:k().GoogleMap,children:(0,n.jsx)("iframe",{height:"480",loading:"lazy",allowFullScreen:!0,referrerPolicy:"no-referrer-when-downgrade",src:"https://www.google.com/maps/embed/v1/place?key=".concat("AIzaSyDySDPxJPrZ-9x46IaAcvbBXTSyhY7bAxc","&q=").concat(a)})}),(0,n.jsxs)("p",{className:k().GoogleMapCTA,children:["Open in"," ",(0,n.jsx)("a",{href:"https://www.google.com/maps/search/?api=1&query=".concat(a),target:"_blank",rel:"nofollow noreferrer",children:"Google Maps"})]})]})]}),(0,n.jsx)("hr",{}),(0,n.jsxs)("div",{className:"".concat(f().Share," ").concat(f().ExtraSpace),children:[(0,n.jsx)("span",{className:f().ShareText,children:"Share this story:"})," ",(0,n.jsx)("span",{className:f().SocialWrap,children:(0,n.jsx)(j.Z,{postLink:null!==(Z=t.link)&&void 0!==Z?Z:""})})]})]})})]})},A=s(47698),F=s.n(A);var P=e=>{let{data:{littleBlackBook:t,mustSeePosts:s,whatsOnPosts:m},generalSettings:h,adStarCodes:p,template:g}=e;var v,x,_,j,w,f;const{title:b,siteId:k}=h,[S,B]=(0,u.useState)(!1);var T,I;return(0,u.useEffect)((()=>{var e,s;const n=null===t||void 0===t||null===(s=t.lBBCategories)||void 0===s||null===(e=s.nodes)||void 0===e?void 0:e.some((e=>"weekend-escapes"===e.slug));B(Boolean(n))}),[t]),console.log("littleBlackBook",t),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(c.Z,{pageData:{...h,title:null!==(T=null===(v=t.seo)||void 0===v?void 0:v.title)&&void 0!==T?T:t.title,de
1scription:null!==(I=null===(x=t.seo)||void 0===x?void 0:x.metaDesc)&&void 0!==I?I:t.excerpt,url:t.link,image:(null===t||void 0===t?void 0:t.lBBImages)&&(null===t||void 0===t?void 0:t.lBBImages[0])?null===t||void 0===t?void 0:t.lBBImages[0].image:""}}),(0,n.jsx)(r.Z,{siteId:k,siteName:(0,d.fF)(null!==b&&void 0!==b?b:null)}),(0,n.jsx)(i.Z,{ads:p,pageType:"subcategory"}),(0,n.jsx)(o.Z,{adSlot:"TopLB"}),(0,n.jsx)(L,{post:t}),S&&(null===(_=t.lbbAffiliate)||void 0===_?void 0:_.link)&&(0,n.jsx)("div",{style:{position:"fixed",bottom:"0",left:"0",right:"0",backgroundColor:"#fff",padding:"10px",boxShadow:"0 -2px 5px rgba(0, 0, 0, 0.1)",zIndex:10},children:(0,n.jsxs)("p",{style:{display:"flex",justifyContent:"center",alignItems:"center",gap:"30px",fontWeight:600,margin:0},children:[null===(j=t.lbbAffiliate)||void 0===j?void 0:j.text,(0,n.jsx)("a",{href:null===(w=t.lbbAffiliate)||void 0===w?void 0:w.link,target:"_blank",children:(0,n.jsx)("button",{style:{margin:0},className:F().Button,children:null===(f=t.lbbAffiliate)||void 0===f?void 0:f.buttonText})})]})}),(0,n.jsx)(l.Z,{}),(0,n.jsx)(y,{county:(0,d.fF)(null!==b&&void 0!==b?b:null),whatsOn:m.nodes[0],mustsee:s.nodes[0]}),(0,n.jsx)(o.Z,{adSlot:"BottomLB"}),(0,n.jsx)(a.Z,{})]})}},98900:function(e,t,s){"use strict";s.d(t,{Z:function(){return F}});var n=s(85893),o=s(67294),i=s(51985),a=s(77201),r=s(83961),l=s(56205),c=s(27816),d=s(19131),u=s.n(d),m=s(41664),h=s.n(m);var p=e=>{let{tiles:t}=e;return(0,n.jsx)(n.Fragment,{children:(0,n.jsx)("div",{className:u().Wrapper,children:t.map((e=>(0,n.jsxs)("div",{className:u().Tile,children:[(0,n.jsx)("div",{className:u().ImgWrap,children:(0,n.jsx)("img",{src:e.image})}),(0,n.jsxs)("div",{className:u().ContentWrap,children:[(0,n.jsx)("h3",{children:e.title}),(0,n.jsx)("p",{children:e.description}),(0,n.jsx)(h(),{href:e.link,children:e.linkText})]})]},e.title)))})})},g=s(67910),v="/_next/static/media/newsletter-icon.9df82a21.svg",x="/_next/static/media/readertreat-icon.9ab95980.svg",_=s(28299),y=s.n(_),j=s(85080),w=s(33299);var f=()=>{const{data:e,status:t}=(0,w.useSession)(),[s,d]=(0,o.useState)({});(0,o.useEffect)((()=>{e&&d(e)}),[e]);const u=[{title:"Newsletters",link:"/dashboard/manage-subscriptions/",image:v,description:"Going on holiday? Sign up for another Muddy county newsletter",linkText:"Update Your Preferences"},{title:"Reader Treats",link:"/reader-treats/",image:x,description:"Our luxe competitions, giveaways and gifts are the best in the business",linkText:"Enter Our Reader Treats"},{title:"My Favourites",link:"/favourites/",image:g.Z.src,description:"Save your favourites here and you'll never forget a brilliant Muddy recommendation",linkText:"View Your Favourites"}];return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(c.Z,{pageData:{title:"My Muddy Account | Muddy Stilettos",description:"Welcome to your Muddy Account page"}}),(0,n.jsx)(i.Z,{}),(0,n.jsxs)(r.Z,{removeMargin:!0,children:[(0,n.jsx)(j.Z,{}),(0,n.jsx)("h1",{children:"My Muddy Account"}),s&&s.user&&(0,n.jsxs)("p",{children:["Logged in as"," ",(0,n.jsx)("span",{className:y().LoggedInAs,children:s.user.name})]})]}),s&&s.user?(0,n.jsx)(n.Fragment,{children:u&&(0,n.jsx)(p,{tiles:u})}):(0,n.jsx)(l.Z,{}),(0,n.jsx)(a.Z,{})]})},b=s(41262),k=s(54496),S=s(40207);var B=e=>{let{data:{page:t,generalSettings:s}}=e;var o;const{siteId:r,title:l}=s;var c,d,u,m;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(b.Z,{pageData:{...s,title:t.title,description:null===(o=t.seo)||void 0===o?void 0:o.metaDesc,url:t.uri}}),(0,n.jsx)(i.Z,{siteId:r,siteName:l}),(0,n.jsxs)(k.Z,{children:[(0,n.jsx)(S.Z,{postType:"page",postTitle:null!==(c=t.title)&&void 0!==c?c:"",postURI:null!==(d=t.uri)&&void 0!==d?d:""}),(0,n.jsx)("h1",{dangerouslySetInnerHTML:{__html:null!==(u=t.title)&&void 0!==u?u:""}}),(0,n.jsx)("hr",{}),(0,n.jsx)("span",{dangerouslySetInnerHTML:{__html:null!==(m=t.content)&&void 0!==m?m:""}})]}),(0,n.jsx)(a.Z,{})]})},T=s(44800),I=s(87276),C=s(88145),N=s(23143),R=s(32006),L=s.n(R);var A=e=>{let{data:{generalSettings:t,adStarCodes:s,category:o,page:r},awardsMenu:{menuItems:{nodes:l}}}=e;var c,d,u,m;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(b.Z,{pageData:{...t,title:"Muddy Stilettos Awards 2025",description:"The Muddy Stilettos Awards are the most coveted awards for independent lifestyle businesses across 35 counties, and totally FREE to enter!",image:"/assets/images/awards/social-pull.png"}}),(0,n.jsx)(i.Z,{}),(0,n.jsx)(I.Z,{ads:s,pageType:"awards"}),(0,n.jsx)(T.Z,{adSlot:"TopLB"}),o&&(0,n.jsx)(C.Z,{category:o,generalSettings:t}),l&&(0,n.jsx)(N.Z,{subMenu:l,generalSettings:t}),(0,n.jsx)("div",{children:(0,n.jsxs)(k.Z,{children:[(0,n.jsx)(S.Z,{postType:"awards",postTitle:"/ ".concat(r.title),postURI:"/awards/sponsor"}),(0,n.jsx)("h1",{dangerouslySetInnerHTML:{__html:null!==(u=r.title)&&void 0!==u?u:""}}),(0,n.jsx)("hr",{}),(0,n.jsxs)("div",{className:L().SponsorColumns,children:[(null===(d=r.featuredImage)||void 0===d||null===(c=d.node)||void 0===c?void 0:c.mediaItemUrl)&&(0,n.jsx)("img",{src:r.featuredImage.node.mediaItemUrl,alt:"Our sponsor"}),(0,n.jsx)("span",{dangerouslySetInnerHTML:{__html:null!==(m=r.content)&&void 0!==m?m:""}}
1)]})]})}),(0,n.jsx)(T.Z,{adSlot:"BottomLB"}),(0,n.jsx)(a.Z,{})]})};var F=e=>{let{data:t,awardsMenu:s}=e;const{__typename:o}=t.page.template;let i;switch(o){case"Template_MuddyDashboard":i=(0,n.jsx)(f,{});break;case"Template_AwardSponsor":i=s?(0,n.jsx)(A,{awardsMenu:s,data:t}):(0,n.jsx)(B,{data:t});break;default:i=(0,n.jsx)(B,{data:t})}return(0,n.jsx)(n.Fragment,{children:i})}},91996:function(e,t,s){"use strict";s.d(t,{Z:function(){return ue}});var n=s(85893),o=s(73192),i=s(44800),a=s(96618),r=s(87276),l=s(77201),c=s(51985),d=s(41262),u=s(67294),m=s(86632),h=s.n(m),p=s(15368),g=s(85080),v=s(69885),x=s(44632),_=s(27843),y=s.n(_),j=s(1273),w=s(46066),f=s(63853),b=s(9186);const k={dots:!1,infinite:!0,autoplay:!1,slidesToShow:4,initialSlide:0,centerMode:!1,responsive:[{breakpoint:1024,settings:{slidesToShow:3,swipeToSlide:!0}},{breakpoint:900,settings:{slidesToShow:2,swipeToSlide:!0}},{breakpoint:420,settings:{slidesToShow:1,swipeToSlide:!0}}]};var S=e=>{let{recommendedArticles:t,isBestPlacestoLive:s,category:o,siteId:i}=e;const a=(0,u.useRef)(null),r=e=>{let{link:t,image:o,title:a,category:r,categoryURI:l}=e;return(0,n.jsx)(j.Z,{image:o,uri:(0,b.mG)(null!==t&&void 0!==t?t:"",i),...!s&&{primaryCategory:r,primaryCategoryURI:l},title:s?null===a||void 0===a?void 0:a.replace("Best Places to Live:",""):a})};return(0,n.jsxs)("div",{className:y().Base,children:[(0,n.jsx)(x.Z,{children:s&&o?"See more in ".concat(null===o||void 0===o?void 0:o.replace("&","&")):"You may also like"}),t&&t.length>3?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(w.Z,{...k,ref:a,children:t&&t.map(((e,t)=>e?(0,n.jsx)(r,{...e},t):null))}),(0,n.jsxs)("div",{className:y().Pagination,children:[(0,n.jsx)("div",{className:y().Left,onClick:()=>(()=>{var e;null===(e=a.current)||void 0===e||e.slickPrev()})(),children:(0,n.jsx)("img",{src:f.Z.src,alt:"Arrow"})}),(0,n.jsx)("div",{className:y().Right,onClick:()=>(()=>{var e;null===(e=a.current)||void 0===e||e.slickNext()})(),children:(0,n.jsx)("img",{src:f.Z.src,alt:"Arrow"})})]})]}):(0,n.jsx)("div",{className:y().RecommendedWrap,children:t&&t.map(((e,t)=>e?(0,n.jsx)(r,{...e},t):null))})]})},B=s(72532),T=s(33617),I=s(75402),C=s(35845),N=s.n(C),R=s(41664),L=s.n(R),A=s(25675),F=s.n(A),P=s(40207),M=s(47426),U=s(88844),Z=s(415);const E=[{start:"2026-01-01",end:"2026-03-14",banner:Z.an[0]},{start:"2026-03-15",end:"2026-05-26",banner:Z.an[1]},{start:"2026-05-27",end:"2026-08-07",banner:Z.an[2]},{start:"2026-08-08",end:"2026-10-19",banner:Z.an[3]},{start:"2026-10-20",end:"2026-12-31",banner:Z.an[4]}];function W(e){var t,s,n;const o=new Intl.DateTimeFormat("en-GB",{timeZone:"Europe/London",year:"numeric",month:"2-digit",day:"2-digit"}).formatToParts(e),i=null===(t=o.find((e=>"year"===e.type)))||void 0===t?void 0:t.value,a=null===(s=o.find((e=>"month"===e.type)))||void 0===s?void 0:s.value,r=null===(n=o.find((e=>"day"===e.type)))||void 0===n?void 0:n.value;if(!i||!a||!r)throw new Error("Failed to compute London date key");return"".concat(i,"-").concat(a,"-").concat(r)}var D=s(11163),G=s(30109),O=s(73935);var H=e=>{let{contentSelector:t,jumpLinkClass:s="is-all-county-jump-link",scrollOffsetPx:o=96,title:i="Jump to county"}=e;const[a,r]=(0,u.useState)([]),[l,c]=(0,u.useState)(""),[d,m]=(0,u.useState)(""),[h,p]=(0,u.useState)(!1),[g,v]=(0,u.useState)(null),x=(0,u.useRef)(null);(0,u.useEffect)((()=>{const e=()=>{const e=document.querySelector(t);if(!e)return;const s=e.querySelector("[data-county-jump-mount]");if(s)return void v(s);const n=e.querySelector("p")||e.firstElementChild||null;if(!n||!n.parentElement)return;const o=document.createElement("div");o.setAttribute("data-county-jump-mount","true");const i=n.parentElement;n.nextSibling?i.insertBefore(o,n.nextSibling):i.appendChild(o),v(o)};e();const s=requestAnimationFrame(e),n=document.querySelector(t);let o=null;return n&&(o=new MutationObserver((()=>e())),o.observe(n,{childList:!0,subtree:!0})),()=>{cancelAnimationFrame(s),null===o||void 0===o||o.disconnect()}}),[t]),(0,u.useEffect)((()=>{let e=!1,n=null,o=0;const i=()=>{if(e)return;const n=document.querySelector(t);if(!n)return void r([]);const o=Array.from(n.querySelectorAll(".".concat(s))).map((e=>{var t,s;const n=e.getAttribute("id")||"",o=(null===(t=e.getAttribute("data-jump-label"))||void 0===t?void 0:t.trim())||(null===(s=e.textContent)||void 0===s?void 0:s.trim())||"";return n&&o?{id:n,label:o}:null})).filter((e=>!!e));r(o),c((e=>{var t;return e||((null===(t=o[0])||void 0===t?void 0:t.id)||"")}))};i(),o=requestAnimationFrame(i);let a=0;const l=window.setInterval((()=>{a+=1,(()=>{const e=document.querySelector(t);return!!e&&(n=new MutationObserver((()=>{o&&cancelAnimationFrame(o),o=requestAnimationFrame(i)})),n.observe(e,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["class","id","data-jump-label"]}),!0)})()?(window.clearInterval(l),i()):a>50&&window.clearInterval(l)}),100);return()=>{e=!0,o&&cancelAnimationFrame(o),n&&n.disconnect(),window.clearInterval(l)}}),[t,s]),(0,u.useEffect)((()=>{const e=x.current;if(!e)return;const t=new IntersectionObserver((e=>{const t=e[0];
1p(!t.isIntersecting)}),{root:null,threshold:0,rootMargin:"0px 0px -20px 0px"});return t.observe(e),()=>t.disconnect()}),[g,a.length]),(0,u.useEffect)((()=>{if(!a.length)return;const e=a.map((e=>document.getElementById(e.id))).filter((e=>!!e));if(!e.length)return;const t=new IntersectionObserver((e=>{var t;const s=null===(t=e.filter((e=>e.isIntersecting)).sort(((e,t)=>{var s,n;return(null!==(s=e.boundingClientRect.top)&&void 0!==s?s:0)-(null!==(n=t.boundingClientRect.top)&&void 0!==n?n:0)}))[0])||void 0===t?void 0:t.target;(null===s||void 0===s?void 0:s.id)&&m(s.id)}),{root:null,rootMargin:"-".concat(o+10,"px 0px -70% 0px"),threshold:0});return e.forEach((e=>t.observe(e))),()=>t.disconnect()}),[a,o]);const _=a.length>1;(0,u.useMemo)((()=>{var e;return null===(e=a.find((e=>e.id===(d||l))))||void 0===e?void 0:e.label}),[a,d,l]);if(!_)return null;const y=(0,n.jsxs)("div",{style:{display:"flex",flexDirection:"row",gap:8,alignItems:"center"},children:[(0,n.jsx)("span",{style:{whiteSpace:"nowrap"},children:"Select your region"}),(0,n.jsxs)("select",{value:d||l,onChange:e=>{const t=e.target.value;c(t),(e=>{const t=document.getElementById(e);if(!t)return;const s=window.scrollY+t.getBoundingClientRect().top-o;window.scrollTo({top:s,behavior:"smooth"})})(t)},style:{width:"100%",padding:"10px 12px",border:"1px solid #e72c5e",background:"#e72c5e",boxSizing:"border-box",fontWeight:"bold",color:"white"},children:[(0,n.jsx)("option",{value:"",disabled:!0,children:"-- Select a region --"}),a.map((e=>(0,n.jsx)("option",{value:e.id,children:e.label},e.id)))]})]}),j=(0,n.jsx)("div",{ref:x,"data-county-jump-nav":!0,"aria-label":"County jump navigation",style:{position:"relative",width:"fit-content",maxWidth:"min(480px, 100%)",margin:"16px auto",padding:12,border:"1px solid rgba(0,0,0,0.12)",background:"white",boxShadow:"none",opacity:h?0:1,visibility:h?"hidden":"visible",pointerEvents:h?"none":"auto"},children:y});return(0,n.jsxs)(n.Fragment,{children:[g?(0,O.createPortal)(j,g):null,h&&(0,n.jsx)("div",{"aria-label":"County jump navigation",style:{position:"fixed",left:16,bottom:16,zIndex:50,width:"fit-content",maxWidth:"min(480px, calc(100vw - 32px))",margin:0,padding:12,border:"1px solid rgba(0,0,0,0.12)",background:"white",boxShadow:"0 10px 30px rgba(0,0,0,0.15)"},children:y})]})};const q="AIzaSyDySDPxJPrZ-9x46IaAcvbBXTSyhY7bAxc";var Y=e=>{let{post:t,siteId:s}=e;var o,a,r,l,c,d,m,x,_,y,j,w,f,b;const k=(0,u.useRef)(null),C=(0,u.useContext)(M.ef),R=null===(o=t.categories)||void 0===o?void 0:o.nodes,A=null===(a=t.comments)||void 0===a?void 0:a.nodes;var O,Y;const Q={title:null!==(O=t.primaryCategory)&&void 0!==O?O:null,URI:null!==(Y=t.primaryCategoryURI)&&void 0!==Y?Y:null},z=null===R||void 0===R?void 0:R.some((e=>"school-reviews"===(null===e||void 0===e?void 0:e.slug))),V=null===R||void 0===R?void 0:R.some((e=>"we-special"===(null===e||void 0===e?void 0:e.slug))),K=M.kG.find((e=>!0===e.isSponsored&&(null===R||void 0===R?void 0:R.some((t=>{var s;return(null===t||void 0===t||null===(s=t.name)||void 0===s?void 0:s.toLowerCase())===e.name.toLowerCase()}))))),J=null===R||void 0===R?void 0:R.some((e=>"best-places-to-live"===(null===e||void 0===e?void 0:e.slug))),$=null===R||void 0===R?void 0:R.some((e=>"wellbeing"===(null===e||void 0===e?void 0:e.slug))),X=null===R||void 0===R?void 0:R.some((e=>"supercharged-electric-hybrid-cars"===(null===e||void 0===e?void 0:e.slug))),ee=t.pinAddress,[te,se]=(0,u.useState)(void 0),[ne,oe]=(0,u.useState)(!1),[ie,ae]=(0,u.useState)(!1),[re,le]=(0,u.useState)(!1),[ce,de]=(0,u.useState)(""),[ue,me]=(0,u.useState)({width:0,height:0}),he=(0,D.useRouter)().query.selina,pe=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Date;if("number"===typeof e){const t=e-1;var s;return null!==(s=Z.an[t])&&void 0!==s?s:null}const n=W(t);for(const{start:o,end:i,banner:a}of E)if(n>=o&&n<=i)return a;return null}("string"!==typeof he||Number.isNaN(Number(he))?void 0:Number(he));(0,u.useEffect)((()=>{if(t.featuredImage){var e;const s=new Image;s.src=null===(e=t.featuredImage.node)||void 0===e?void 0:e.mediaItemUrl,s.onload=()=>{me({width:s.width,height:s.height})}}}),[t.featuredImage]),(0,u.useEffect)((()=>
1{if(t&&t.content){const e=(0,G.n)(t.content);de(e)}}),[t]);const ge=e=>new Date(e).toLocaleDateString("en-GB",{year:"numeric",month:"long",day:"numeric"});var ve,xe,_e,ye,je,we,fe,be,ke,Se,Be,Te;return(0,n.jsxs)("article",{className:h().Article,ref:k,children:[(0,n.jsxs)("div",{className:h().Wrapper,children:[J&&(0,n.jsxs)("div",{className:N().Base,children:[(0,n.jsx)("a",{href:"https://muddystilettos.co.uk/best-places-to-live",children:"Best Places To Live"}),1!==s&&Q&&(0,n.jsx)(L(),{href:null!==(ve=t.primaryCategoryURI)&&void 0!==ve?ve:"",children:(0,n.jsx)("span",{dangerouslySetInnerHTML:{__html:null!==(xe=t.primaryCategory)&&void 0!==xe?xe:""}})}),1===s&&(0,n.jsx)(L(),{href:"/best-places-to-live/best-of-the-rest/",children:(0,n.jsx)("span",{children:"Best of the Rest"})})]}),!J&&R&&(0,n.jsx)(P.Z,{categories:R,primaryCategory:Q}),(0,n.jsxs)("div",{className:h().Intro,children:[(0,n.jsx)("h1",{dangerouslySetInnerHTML:{__html:null!==(_e=t.title)&&void 0!==_e?_e:""}}),(0,n.jsx)("span",{dangerouslySetInnerHTML:{__html:null!==(ye=t.excerpt)&&void 0!==ye?ye:""}}),J&&(0,n.jsxs)(n.Fragment,{children:[C===M.Zh.REGIONAL&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("p",{children:["Vote for ",null===t||void 0===t||null===(r=t.title)||void 0===r?void 0:r.replace("Best Places to Live: ","")," ","in our ",null===(l=Q.title)||void 0===l?void 0:l.replace("&amp;","&")," ",(0,n.jsx)(L(),{href:null!==(je=Q.URI)&&void 0!==je?je:"/best-places-to-live/",children:"Best Places to Live Readers Vote"}),":"]}),(0,n.jsx)("div",{className:h().BPTLWrapper,children:(0,n.jsx)(U.Z,{post:{...t,id:t.databaseId,spotlightDesktopImage:null===(d=t.featuredImage)||void 0===d||null===(c=d.node)||void 0===c?void 0:c.mediaItemUrl},setPopup:se,popupVisible:!!te,catName:null!==(we=Q.title)&&void 0!==we?we:"",siteId:null!==s&&void 0!==s?s:1})})]}),(0,n.jsx)("div",{className:h().BPTLlogo,children:(null===K||void 0===K?void 0:K.sponsorLogo)?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("p",{children:"Sponsored by"}),(0,n.jsx)("div",{className:h().BPTLSponsorLogo,children:K.sponsorLink?(0,n.jsx)(L(),{href:K.sponsorLink,target:"_blank",rel:"nofollow noreferrer",children:(0,n.jsx)(F(),{className:h().BPTLlogoImage,src:K.sponsorLogo,alt:null!==(fe=null===K||void 0===K?void 0:K.sponsorName)&&void 0!==fe?fe:"",layout:"fill",style:{objectFit:"contain"}})}):(0,n.jsx)(F(),{className:h().BPTLlogoImage,src:K.sponsorLogo,alt:null!==(be=null===K||void 0===K?void 0:K.sponsorName)&&void 0!==be?be:"",layout:"fill",style:{objectFit:"contain"}})})]}):(0,n.jsx)(n.Fragment,{})})]}),115727===t.databaseId&&1===s&&(0,n.jsxs)("div",{className:h().BPTLlogo,children:[(0,n.jsx)("p",{children:"In association with"}),(0,n.jsx)(L(),{href:"https://www.startriteshoes.com/school-shoes",target:"_blank",rel:"nofollow noreferrer",children:(0,n.jsx)(F(),{src:"/assets/images/sponsors/sr-coral.png",alt:"Start-Rite logo",width:200,height:200})})]}),$&&(0,n.jsxs)("p",{className:h().HappyHealthyCTA,children:["Part of our"," ",(0,n.jsx)(L(),{href:"https://muddystilettos.co.uk/happy-healthy/",children:"HAPPY + HEALTHY"})," ","year"]}),X&&(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)("p",{className:h().SuperchargedCTA,children:["Part of our"," ",(0,n.jsx)(L(),{href:"https://muddystilettos.co.uk/supercharged-electric-hybrid-cars/",children:"SUPER CHARGED"})," ","guide to the best EV and hybrid cars"]})})]}),(0,n.jsxs)("div",{className:h().Main,children:[(0,n.jsxs)("div",{className:h().Meta,children:[(0,n.jsx)("span",{className:h().Date,children:t.dateGmt&&ge(t.dateGmt)}),(0,n.jsxs)("div",{className:h().Share,children:[(0,n.jsx)("span",{className:h().ShareText,children:"Share this story:"})," ",(0,n.jsx)("span",{className:h().SocialWrap,children:(0,n.jsx)(v.Z,{postLink:null!==(ke=t.link)&&void 0!==ke?ke:""})}),(0,n.jsx)(B.Z,{siteId:null===s||void 0===s?void 0:s.toString(),postId:t.databaseId.toString()})]})]}),J&&t.featuredImage&&(0,n.jsx)("div",{className:h().FeaturedImage,children:(0,n.jsx)(F(),{layout:"responsive",width:ue.width,height:ue.height,style:{objectFit:"cover"},alt:(null===(m=t.featuredImage.node)||void 0===m?void 0:m.altText)||"",src:(null===(x=t.featuredImage.node)||void 0===x?void 0:x.mediaItemUrl)||""})}),z&&!t.schoolRemoveRecommendation&&(0,n.jsxs)("div",{className:h().AtAGlance,children:[(0,n.jsx)("div",{className:h().SchoolDetails,onClick:()=>le(!re),children:re?"Close details at a glance":"Open at a glance"}
1),re&&(0,n.jsxs)("div",{className:h().SchoolReviewBlock,children:[(0,n.jsx)("div",{className:h().SchoolReviewCol,children:(0,n.jsxs)("p",{className:h().SchoolReviewColParagraph,children:[(0,n.jsx)("strong",{children:"Pupils: "}),t.schoolPupils,(0,n.jsx)("br",{}),t.schoolGender&&t.schoolGender.length>0&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("strong",{children:"Gender: "}),t.schoolGender.join(", ")]}),(0,n.jsx)("br",{}),(0,n.jsx)("strong",{children:"Age: "}),t.schoolAge,(0,n.jsx)("br",{})]})}),(0,n.jsx)("div",{className:h().SchoolReviewCol,children:(0,n.jsxs)("p",{children:[(0,n.jsx)("strong",{children:"Boarding: "}),(null===(_=t.schoolType)||void 0===_?void 0:_.some((e=>"boarding-school"===(null===e||void 0===e?void 0:e.category))))?"Yes":"No",(0,n.jsx)("br",{}),(0,n.jsx)("strong",{children:"Head: "}),t.schoolHead]})})]})]}),J&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:h().CommentsTag,onClick:()=>ae(!ie),children:[ie?"Hide":"Show"," Map"]}),ie&&(0,n.jsx)("div",{className:h().BPTLMap,children:(0,n.jsx)("div",{className:h().GoogleMap,children:(0,n.jsx)("iframe",{height:"420",loading:"lazy",allowFullScreen:!0,referrerPolicy:"no-referrer-when-downgrade",src:"https://www.google.com/maps/embed/v1/view?key=".concat(q,"&zoom=12&center=").concat(ee)})})})]}),z&&t.schoolRemoveRecommendation?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:h().SchoolDetailsAtAGlance,children:"Details at a glance"}),(0,n.jsxs)("div",{className:h().SchoolReviewBlock,children:[(0,n.jsx)("div",{className:h().SchoolReviewCol,children:(0,n.jsxs)("p",{className:h().SchoolReviewColParagraph,children:[(0,n.jsx)("strong",{children:"Pupils: "}),t.schoolPupils,(0,n.jsx)("br",{}),t.schoolGender&&t.schoolGender.length>0&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("strong",{children:"Gender: "}),t.schoolGender.join(", ")]}),(0,n.jsx)("br",{}),(0,n.jsx)("strong",{children:"Age: "}),t.schoolAge,(0,n.jsx)("br",{})]})}),(0,n.jsx)("div",{className:h().SchoolReviewCol,children:(0,n.jsxs)("p",{children:[(0,n.jsx)("strong",{children:"Boarding: "}),(null===(y=t.schoolType)||void 0===y?void 0:y.some((e=>"boarding-school"===(null===e||void 0===e?void 0:e.category))))?"Yes":"No",(0,n.jsx)("br",{}),(0,n.jsx)("strong",{children:"Head: "}),t.schoolHead]})})]})]}):(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)("div",{className:h().Content,children:[(0,n.jsx)(H,{contentSelector:".".concat(h().Content)}),ce]})}),z&&!t.schoolRemoveRecommendation&&(0,n.jsx)("div",{className:h().Badge,children:(0,n.jsx)(F(),{src:"/assets/images/badges/best-schools-guide-2026.png",alt:"Recommended by Best Schools Guide Badge",fill:!0})}),t.schoolInstagram&&t.schoolFacebook&&(0,n.jsxs)("div",{className:h().SchoolSocialLinks,children:[(0,n.jsx)("a",{href:t.schoolFacebook,target:"_blank",rel:"noreferrer",children:(0,n.jsx)("img",{src:T.Z.src,alt:"Pin"})}),(0,n.jsx)("a",{href:t.schoolInstagram,target:"_blank",rel:"noreferrer",children:(0,n.jsx)("img",{src:I.Z.src,alt:"Pin"})})]}),z&&pe&&(0,n.jsx)(n.Fragment,{children:(0,n.jsx)("div",{className:h().SelinaSponsor,children:(0,n.jsx)(L(),{href:pe.link,target:"_blank",rel:"noopener noreferrer",children:(0,n.jsx)(F(),{src:pe.img,alt:"Selina Finance",width:728,height:180,sizes:"(max-width: 768px) 100vw, 728px",style:{width:"100%",height:"auto"}})})})}),ee&&!J&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:h().GoogleMap,children:(0,n.jsx)("iframe",{width:"820",height:"420",loading:"lazy",allowFullScreen:!0,referrerPolicy:"no-referrer-when-downgrade",src:"https://www.google.com/maps/embed/v1/place?key=".concat(q,"&q=").concat(ee)})}),(0,n.jsxs)("p",{children:["Open in"," ",(0,n.jsx)("a",{href:"https://www.google.com/maps/search/?api=1&query=".concat(ee),target:"_blank",rel:"nofollow noreferrer",children:"Google Maps"})]})]}),V&&(0,n.jsx)(n.Fragment,{children:(0,n.jsx)("div",{className:h().ReturnToWeekendEscapes,children:(0,n.jsxs)(L(),{href:"/weekend-escapes/",children:["Return to ",(0,n.jsx)("span",{children:"Weekend Escapes"})]})})}),C===M.Zh.REGIONAL&&J&&(0,n.jsxs)("div",{className:h().Content,children:[(0,n.jsxs)("p",{children:["Vote for"," ",(0,n.jsx)("strong",{children:null===t||void 0===t||null===(j=t.title)||void 0===j?void 0:j.replace("Best Places to Live: ","")})," ","in our ",null===(w=Q.title)||void 0===w?void 0:w.replace("&amp;","&")," ",(0,n.jsx)(L(),{href:null!==(Se=Q.URI)&&void 0!==Se?Se:"/best-places-to-live/",children:"Best Places to Live Readers Vote"}),":"]}),(0,n.jsx)("div",{className:h().BPTLWrapper,children:(0,n.jsx)(U.Z,{post:{...t,id:t.databaseId,spotlightDesktopImage:null===(b=t.featuredImage)||void 0===b||null===(f=b.node)||void 0===f?void 0:f.mediaItemUrl},setPopup:se,popupVisible:!!te,catName:null!==(Be=Q.title)&&void 0!==Be?Be:"",siteId:null!==s&&void 0!==s?s:1})})]}),(0,n.jsx)(g.Z,{}),(0,n.jsx)("div",{className:h().CommentsTag,onClick:()=>oe(!ne),children:0===(null===A||void 0===A?void 0:A.length)?"Be the first to comment":ne?"Hide comments":"Show comments"}),(0,n.jsxs)("div",{className:h().Comments,children:[A&&ne&&A.map((e=>{var s,o,i;return(0,n.jsx)("div",{className:h().CommentBlock,children:(0,n.jsx)("div",{className:h().CommentText,children:(0,n.jsxs)("p",{children:[(0,n.jsx)("strong",{children:null===e||void 0===e||null===(o=e.author)||void 0===o||null===(s=o.node)||void 0===s?void 0:s.name})," ",(0,n.jsx)("span",{className:h().CommentDate,children:t.dateGmt?ge(t.dateGmt):""}),(0,n.jsx)("br",{}),(0,n.jsx)("span",{dangerouslySetInnerHTML:{__html:null!==(i=null===e||void 0===e?void 0:e.content)&&void 0!==i?i:""}})]})})},null===e||void 0===e?void 0:e.id)}
1)),ne&&(0,n.jsxs)("div",{className:h().CommentForm,children:[(0,n.jsx)("p",{className:h().FormTitle,children:"Tell us what you think"}),(0,n.jsxs)("p",{className:"".concat(h().FormRow," ").concat(h().FullWidth),children:[(0,n.jsx)("label",{children:"Your message"}),(0,n.jsx)("textarea",{rows:4})]}),(0,n.jsxs)("p",{className:h().FormRow,children:[(0,n.jsx)("label",{children:"Name (required)"}),(0,n.jsx)("input",{type:"text"})]}),(0,n.jsxs)("p",{className:h().FormRow,children:[(0,n.jsx)("label",{children:"Email address (required)"}),(0,n.jsx)("input",{type:"text"})]}),(0,n.jsx)("p",{className:h().ButtonRow,children:(0,n.jsx)("button",{type:"submit",children:"Sign in or sign up to comment"})})]})]})]}),(0,n.jsx)(i.Z,{sticky:!0,adSlot:"MidLB1"}),(0,n.jsxs)("div",{className:"".concat(h().Share," ").concat(h().ExtraSpace),children:[(0,n.jsx)("span",{className:h().ShareText,children:"Share this story:"})," ",(0,n.jsx)("span",{className:h().SocialWrap,children:(0,n.jsx)(v.Z,{postLink:null!==(Te=t.uri)&&void 0!==Te?Te:""})})]})]}),(0,n.jsx)(p.Z,{}),(null===t||void 0===t?void 0:t.recommendedArticles)&&(0,n.jsx)(S,{category:t.primaryCategory,recommendedArticles:null===t||void 0===t?void 0:t.recommendedArticles,isBestPlacestoLive:J,siteId:s})]})},Q=s(5152),z=s.n(Q),V=s(33299),K=s(82729),J=s(68806),$=s(50319),X=s(30381),ee=s.n(X);
1function te(){const e=(0,K._)(["\n  mutation RecordUserArticleRead(\n    $postId: Int!\n    $postSiteId: Int!\n    $postSlug: String!\n    $postTitle: String!\n    $postType: String!\n    $categoriesJson: String\n    $readAt: String\n  ) {\n    recordUserArticleRead(\n      input: {\n        postId: $postId\n        postSiteId: $postSiteId\n        postSlug: $postSlug\n        postTitle: $postTitle\n        postType: $postType\n        categoriesJson: $categoriesJson\n        readAt: $readAt\n      }\n    ) {\n      ok\n      message\n    }\n  }\n"]);return te=function(){return e},e}const se=(0,J.Ps)(te());var ne=s(67184);function oe(e){var t;const s=e.isNews?"NewsArticle":"Article",n=ne.G.find((t=>t.id===e.siteId));var o;const i=null!==(o=null===n||void 0===n?void 0:n.url)&&void 0!==o?o:"https://muddystilettos.co.uk",a=e.imageUrl?[e.imageUrl]:void 0;return{"@context":"https://schema.org","@type":s,"@id":"".concat(e.canonicalUrl,"#article"),mainEntityOfPage:{"@type":"WebPage","@id":e.canonicalUrl},headline:e.title,description:e.excerpt,image:a,datePublished:e.datePublished,dateModified:e.dateModified,author:{"@type":"Person",name:e.authorName},publisher:{"@type":"Organization",name:"Muddy Stilettos",logo:{"@type":"ImageObject",url:"https://muddystilettos.co.uk/assets/images/muddy-stilettos-master.png",width:1200,height:630}},articleSection:e.section,keywords:null===(t=e.keywords)||void 0===t?void 0:t.join(", "),inLanguage:e.inLanguage||"en-GB",url:"".concat(i).concat(e.canonicalUrl)}}function ie(e){const t=[(null===e||void 0===e?void 0:e.facebook)?"https://www.facebook.com/".concat(e.facebook):null,(null===e||void 0===e?void 0:e.instagram)?"https://www.instagram.com/".concat(e.instagram):null,(null===e||void 0===e?void 0:e.twitter)?"https://twitter.com/".concat(e.twitter):null];return t.some(Boolean)||t.push("https://www.facebook.com/muddystilettos","https://www.instagram.com/muddystilettos","https://twitter.com/muddystilettos"),Array.from(new Set(t.filter(Boolean)))}function ae(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;const t=ne.G.find((t=>t.id===e)),s="Muddy Stilettos",n=t&&t.shortName&&"The Rest of the UK"!==t.shortName?"".concat(s," ").concat(t.shortName):s;var o;const i=null!==(o=null===t||void 0===t?void 0:t.url)&&void 0!==o?o:"https://muddystilettos.co.uk",a=ie(t);return{"@context":"https://schema.org","@type":"Organization","@id":"".concat(i.replace(/\/$/,""),"/#organization"),name:n,url:i,logo:{"@type":"ImageObject",url:"https://muddystilettos.co.uk/assets/images/muddy-stilettos-master.png",width:1200,height:630},sameAs:a}}var re=s(9008),le=s.n(re);var ce=function(e){let{data:t}=e;const s=Array.isArray(t)?t:[t];return(0,n.jsx)(le(),{children:(0,n.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(s)}},"jsonld")})};const de=z()((()=>s.e(4814).then(s.bind(s,64814)).then((e=>e.ArrowCircleUp))),{loadableGenerated:{webpack:()=>[null]},ssr:!1});var ue=e=>{let{data:{post:t},adStarCodes:s,generalSettings:m}=e;var p,g,v,x,_,y,j,w,f,b,k,S,B,T,I,C,N,R,L,A;const{siteId:F,title:P}=m,M=null===(g=t.categories)||void 0===g||null===(p=g.nodes)||void 0===p?void 0:p.some((e=>"Best Places to Live"===(null===e||void 0===e?void 0:e.name))),U=null===(x=t.categories)||void 0===x||null===(v=x.nodes)||void 0===v?void 0:v.some((e=>"SUPERCHARGED"===(null===e||void 0===e?void 0:e.name))),Z=(0,u.useRef)(null),E=(0,u.useRef)(null),[W,D]=(0,u.useState)(!1),{data:G}=(0,V.useSession)();var O,H,q,Q;!function(e,t){const{dwellMs:s=1e4,requiredScrollPct:n=50,enabled:o=!0}=t||{},i=(0,u.useRef)(!1),[a]=(0,$.D)(se);(0,u.useEffect)((()=>{if(!o||i.current)return;let t,r=!1,l=!1,c="visible"===document.visibilityState;const d=()=>{i.current||r&&l&&c&&(i.current=!0,a({variables:{postId:e.postId,postSiteId:e.postSiteId,postSlug:e.postSlug,postTitle:e.postTitle,postType:e.postType,categoriesJson:e.categories?JSON.stringify(e.categories):null,readAt:ee()().toISOString()}}).catch((e=>{})),h())},u=()=>{const e=document.documentElement,t=e.scrollTop||document.body.scrollTop,s=e.scrollHeight-e.clientHeight;(s>0?t/s*100:100)>=n&&(l=!0,d(),window.removeEventListener("scroll",u))},m=()=>{c="visible"===document.visibilityState,d()},h=()=>{t&&window.clearTimeout(t),window.removeEventListener("scroll",u),document.removeEventListener("visibilitychange",m)};return t=window.setTimeout((()=>{r=!0,d()}),s),window.addEventListener("scroll",u,{passive:!0}),document.addEventListener("visibilitychange",m),u(),h}),[o,e.postId,e.postSiteId])}({postId:t.databaseId,postSiteId:null!==F&&void 0!==F?F:1,postSlug:null!==(O=t.slug)&&void 0!==O?O:"",postTitle:null!==(H=t.title)&&void 0!==H?H:"",postType:null!==(q=t.__typename)&&void 0!==q?q:"post",categories:null!==(Q=null===(y=t.categories)||void 0===y||null===(_=y.nodes)||void 0===_?void 0:_.map((e=>e.name)))&&void 0!==Q?Q:[]},{enabled:!!(null===G||void 0===G||null===(j=G.user)||void 0===j?void 0:j.name),dwellMs:1e4,requiredScrollPct:50});const z=s.filter((e=>{var t,s;return(null===e||void 0===e||null===(t=e.adslot)||void 0===t?void 0:t.toLowerCase().includes("mpu"))||(null===e||void 0===e||null===(s=e.adslot)||void 0===s?void 0:s.toLowerCase().includes("lb"))}));var K,J,X,te,ne,ie,re,le,ue;(0,u.useEffect)((()=>{const e=()=>{if(!E.current)return;const e=E.current.getBoundingClientRect().top;D(e<0)};return window.addEventListener("scroll",e),()=>window.removeEventListener("scroll",e)}),[]);const me=[oe({siteId:F||1,id:t.id,url:null!==(K=t.uri)&&void 0!==K?K:"",canonicalUrl:null!==(J=t.uri)&&void 0!==J?J:"",title:null!==(X=t.title)&&void 0!==X?X:"",excerpt:null!==(te=t.excerpt)&&void 0!==te?te:"",imageUrl:null!==(ne=null===(w=t.featuredImage)||void 0===w?void 0:w.node.mediaItemUrl)&&void 0!==ne?ne:"",imageWidth:null!==(ie=null===(b=t.featuredImage)||void 0===b||null===(f=b.node.mediaDetails)||void 0===f?void 0:f.width)&&void 0!==ie?ie:0,imageHeight:null!==(re=null===(S=t.featuredImage)||void 0===S||null===(k=S.node.mediaDetails)||void 0===k?void 0:k.height)&&void 0!==re?re:0,datePublished:null!==(le=t.date)&&void 0!==le?le:"",dateModified:null!==(ue=t.date)&&void 0!==ue?ue:"",authorName:(null===(B=t.author)||void 0===B?void 0:B.node.name)||"Muddy Stilettos",section:t.primaryCategory||void 0,inLanguage:30===F&&(null===(T=t.link)||void 0===T?void 0:T.indexOf("/cy/"))&&(null===(I=t.link)||void 0===I?void 0:I.indexOf("/cy/"))>-1?"cy-GB":"en-GB"}),ae(F||1)];var he,pe;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(ce,{data:me}),(0,n.jsx)(d.Z,{pageData:{...m,title:null!==(he=null===(C=t.seo)||void 0===C?void 0:C.title)&&void 0!==he?he:t.title,de
1scription:null!==(pe=null===(N=t.seo)||void 0===N?void 0:N.metaDesc)&&void 0!==pe?pe:null===(R=t.excerpt)||void 0===R?void 0:R.replace(/(<([^>]+)>)/gi,""),image:(null===(A=t.featuredImage)||void 0===A||null===(L=A.node)||void 0===L?void 0:L.mediaItemUrl)||null,url:t.link}}),(0,n.jsx)("div",{ref:Z}),(0,n.jsx)(c.Z,{siteId:null!==F&&void 0!==F?F:void 0,siteName:null!==P&&void 0!==P?P:""}),t?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(r.Z,{ads:z,showMPUs:!0,...(null===t||void 0===t?void 0:t.primaryCategory)&&{category:t.primaryCategory},pageType:M?"bptl":U?"super-charged":"feature"}),(0,n.jsx)(i.Z,{adSlot:"TopLB"}),(0,n.jsx)("div",{className:"".concat(h().ToTop," ").concat(W?h().Show:""),children:(0,n.jsx)("button",{onClick:()=>{Z.current&&Z.current.scrollIntoView({behavior:"smooth"})},title:"Back to the top of the article",children:(0,n.jsx)(de,{size:30,color:"rgb(231, 44, 94)"})})}),(0,n.jsx)("div",{ref:E}),(0,n.jsx)(Y,{post:t,siteId:F||1}),(0,n.jsx)(a.Z,{adSlots:["Row1MPU1","Row1MPU2","Row1MPU3","Row1MPU4"]}),M&&(0,n.jsx)(o.Z,{})]}):(0,n.jsx)(n.Fragment,{children:"Not found"}),(0,n.jsx)(l.Z,{})]})}},27422:function(e,t,s){"use strict";s.d(t,{Z:function(){return N}});var n=s(85893),o=s(44800),i=s(87276),a=s(77201),r=s(51985),l=s(85080),c=s(41262),d=s(41664),u=s.n(d),m=s(67294),h=s(86632),p=s.n(h),g=s(35845),v=s.n(g),x=s(69885),_=s(77262),y=s.n(_),j=s(24790),w=s(15839),f=s(67184);var b=e=>{let{readerTreat:t,site:s}=e;const o=new URLSearchParams(location.search),i=null===o||void 0===o?void 0:o.get("referral"),[a,r]=(0,m.useState)(null),[l,c]=(0,m.useState)(!1),[d,h]=(0,m.useState)(!1),[p,g]=(0,m.useState)(!1),[v,x]=(0,m.useState)(!1),[_,b]=(0,m.useState)({state:!1,msg:""}),{requestConsent:k,question:S,sponsor:B,responseText:T,options:I,databaseId:C,toggleTelephone:N,fileUploadLabel:R,extraFields:L,toggleFileUpload:A}=t,[F,P]=(0,m.useReducer)(((e,t)=>({...e,...t})),[]),M=["name","emailaddress","county","tandcs"];S&&S.length>0&&M.push("question"),N&&M.push("telephone"),A&&M.push("uploadedFile");const U=e=>Object.keys(F).includes(e),Z=e=>Object.keys(F.extraFields||{}).includes(e),E=(null!==L&&void 0!==L?L:[]).map((e=>{var t;return(null!==(t=null===e||void 0===e?void 0:e.label)&&void 0!==t?t:"").trim()})).filter(Boolean),W=E.length>0,D=W?E[E.length-1]:null,G=W?!!D&&Z(D):U("county"),O=A?Boolean(F.uploadedFileUrl):W?!!D&&Z(D):U("county"),H=e=>{h(!1),r(null);const{name:t,value:s,checked:n}=e.target;P({[t]:"tandcs"===t||"consent"===t?n?"1":null:s})},q=e=>{h(!1),r(null);const{name:t,value:s,checked:n}=e.target;P({extraFields:{...F.extraFields||{},[t]:s}})},Y=e=>{h(!1),r(null);const{name:t,value:s}=e.target;P({[t]:s})};var Q;return(0,m.useEffect)((()=>{i&&"northants-leics-rutland"===i?P({county:"26"}):i&&"yorkshire"===i?P({county:"27"}):i&&"cheshire"===i?P({county:"28"}):i&&"wales"===i?P({county:"30"}):i&&"scotland"===i?P({county:"29"}):i&&i.length>0&&P({county:"24"})}),[i]),(0,n.jsxs)("div",{className:y().Wrapper,children:[(0,n.jsx)("h3",{children:"Enter"}),(0,n.jsx)("p",{children:"Our Reader Treats are exclusively available to Muddy Newsletter Readers and Instagram followers"}),(0,n.jsxs)("form",{className:y().Form,children:[p?(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)("p",{children:["You are currently logged in as"," "]})}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("p",{children:[(0,n.jsx)("label",{htmlFor:"name",children:"Your name"}),(0,n.jsx)("input",{type:"text",id:"name",name:"name",value:F.name||"",onChange:H})]}),(0,n.jsxs)("p",{className:U("name")?y().ShowQuestion:y().DisableQuestion,children:[(0,n.jsx)("label",{htmlFor:"emailaddress",children:"Your email address"}),(0,n.jsx)("input",{type:"text",id:"emailaddress",name:"emailaddress",value:F.emailaddress||"",onChange:H})]}),N&&(0,n.jsxs)("p",{className:U("emailaddress")?y().ShowQuestion:y().DisableQuestion,children:[(0,n.jsx)("label",{htmlFor:"telephone",children:"Your telephone number"}),(0,n.jsx)("input",{type:"text",id:"telephone",name:"telephone",value:F.telephone||"",onChange:H})]}),(0,n.jsxs)("p",{className:U("emailaddress")?y().ShowQuestion:y().DisableQuestion,children:[(0,n.jsx)("label",{htmlFor:"county",children:"Select country or county"}),(0,n.jsxs)("select",{name:"county",id:"county",value:F.county,defaultValue:i?"london"===i?"24":"160":"",onChange:Y,children:[(0,n.jsx)("option",{value:"",children:"-- Select your country or county"}),(0,n.jsx)("option",{value:"5",children:"Berkshire"}),(0,n.jsx)("option",{value:"3",children:"Bucks & Oxon"}),(0,n.jsx)("option",{value:"15",children:"Cambridgeshire & Suffolk"}),(0,n.jsx)("option",{value:"28",children:"Cheshire"}),(0,n.jsx)("option",{value:"9",children:"Cornwall"}),(0,n.jsx)("option",{value:"103",children:"The Cotswolds"}),(0,n.jsx)("option",{value:"23",children:"Derby & Notts"}),(0,n.jsx)("option",{value:"14",children:"Devon"}),(0,n.jsx)("option",{value:"8",children:"Dorset, Somerset & Bristol"}),(0,n.jsx)("option",{value:"22",children:"Essex"}),(0,n.jsx)("option",{value:"17",children:"Hants & IOW"}),(0,n.jsx)("option",{value:"2",children:"Herts & Beds"}),(0,n.jsx)("option",{value:"10",children:"Kent"}),(0,n.jsx)("option",{value:"102",children:"Lancs & Cumbria"}),(0,n.jsx)("option",{value:"24",children:"London"}),(0,n.jsx)("option",{value:"26",children:"Northants, Leics & Rutland"}),(0,n.jsx)("option",{value:"12",children:"Norfolk"}),(0,n.jsx)("option",{value:"29",children:"Scotland"}),(0,n.jsx)("option",{value:"7",children:"Surrey"}),(0,n.jsx)("option",{value:"11",children:"Sussex"}),(0,n.jsx)("option",{value:"30",children:"Wales"}),(0,n.jsx)("option",{value:"18",children:"Warks & West Midlands"}),(0,n.jsx)("option",{value:"19",children:"Wiltshire"}),(0,n.jsx)("option",{value:"13",children:"Worcs & Gloucs"}),(0,n.jsx)("option",{value:"27",children:"Yorkshire"})]})]})]}),L&&L.map(((e,t)=>{var s,o;const i=(null!==(o=null===e||void 0===e?void 0:e.label)&&void 0!==o?o:"").trim(),a=(e=>{return 0===e?"county":null!==(t=E[e-1])&&void 0!==t?t:"county";var t})(t);return(0,n.jsxs)("p",{className:0===t?U(a)?y().ShowQuestion:y().DisableQuestion:Z(a)?y().ShowQuestion:y().DisableQuestion,children:[(0,n.jsx)("label",{htmlFor:i,children:i||"Extra Field"}),(0,n.jsx)("input",{type:"number"===(null===e||void 0===e?void 0:e.type)?"number":"text",id:i,name:i,value:i&&(null===(s=F.extraFields)||void 0===s?void 0:s[i])||"",onChange:q})]},t)})),A&&(0,n.jsxs)("p",{className:"\n              ".concat(G?y().ShowQuestion:y().DisableQuestion,"\n              ").concat(!0===v?y().FileUploading:"","\n              ").concat("done"===v?y().FileUploaded:"","\n            "),children:[(0,n.jsxs)("label",{htmlFor:"fileUpload",children:[R||"Upload file"," ",(0,n.jsx)("span",{children:"(Maximum size: 5mb)"})]}),(0,n.jsx)("input",{type:"file",id:"fileUpload",name:"fileUpload",onChange:async e=>{var s;const n=null===(s=e.target.files)||void 0===s?void 0:s[0];if(n){if(n.size>5242880)return b({state:!0,msg:"This file is too large. Please upload a file under 5mb."}),void(e.target.value="");x(!0);try{var o;const e=n.name.includes(".")?n.name.split(".").pop():void 0;var i;const s=String(null!==(i=F.name)&&void 0!==i?i:"entrant").trim().toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/^-+|-+$/g,"").slice(0,80)||"entrant",a=e?"".concat(s,".").concat(e):s,r=new File([n],a,{type:n.type}
1),l=C.toString()+"-"+(null===(o=t.title)||void 0===o?void 0:o.toLowerCase().replace(/\s/g,"-")),c=new FormData;c.append("file",r),c.append("category",l);const d=await fetch("/.netlify/functions/upload",{method:"POST",body:c});if(!d.ok)throw new Error("Error: ".concat(d.statusText));const u=await d.json();u.fileName&&P({uploadedFileUrl:u.fileName,uploadedFile:r})}catch(r){x(!1),b({state:!0,msg:"There was a problem uploading your file. ".concat(a)})}finally{x("done")}}}}),F.uploadedFile&&(0,n.jsxs)("small",{style:{display:"block",marginTop:"6px"},children:["Selected: ",F.uploadedFile.name]}),_.state&&(0,n.jsx)("small",{style:{display:"block",marginTop:"6px",color:"rgb(231, 44, 94)"},children:_.msg})]}),S&&S.length>0&&(0,n.jsxs)("p",{className:O||p?y().ShowQuestion:y().DisableQuestion,children:[(0,n.jsx)("label",{htmlFor:"question",children:S}),(0,n.jsxs)("select",{name:"question",id:"question",value:F.question,onChange:Y,children:[(0,n.jsx)("option",{value:"",children:"-- Select"}),I&&I.map(((e,t)=>(0,n.jsx)("option",{value:null!==e&&void 0!==e?e:"",id:t.toString(),children:e},t)))]})]}),k&&(0,n.jsx)("p",{className:"".concat(S&&S.length>0?U("question")?y().ShowQuestion:y().DisableQuestion:O||p?y().ShowQuestion:y().DisableQuestion," ").concat(y().ConsentRow),children:(null===t||void 0===t?void 0:t.link)&&t.link.includes("sandals-resorts")?(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)("label",{htmlFor:"consent",children:[(0,n.jsxs)("strong",{children:["I want to receive promotional emails about Sandals Resorts from Unique Caribbean Holidays Limited, UK tour operator for Sandals Resorts. You can find more information about how we use your personal data here:"," ",(0,n.jsx)(u(),{style:{textDecoration:"underline"},href:"https://www.sandals.co.uk/uvuk-privacy/",children:"UVUK Privacy Policy | Sandals Resorts"})," ","or you can email us at"," ",(0,n.jsx)(u(),{style:{textDecoration:"underline"},href:"mailto:mailto:[email protected]",children:"[email protected]"}),". You may unsubscribe at any time."]}),(0,n.jsx)("br",{}),(0,n.jsx)("input",{type:"checkbox",id:"consent",name:"consent",value:"1",defaultChecked:F.consent,onChange:H,style:{marginRight:"8px"}}),"Yes, please keep me-up-to date via email with the latest relevant news and offers from Sandals Resorts"]})}):(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)("label",{htmlFor:"consent",children:[(0,n.jsxs)("strong",{children:["Would you like to be sent news and offers from ",B,"?"]}),(0,n.jsx)("br",{}),(0,n.jsx)("input",{type:"checkbox",id:"consent",name:"consent",value:"1",defaultChecked:F.consent,onChange:H,style:{marginRight:"8px"}}),(0,n.jsx)("span",{dangerouslySetInnerHTML:{__html:null!==(Q=t.customConsentText)&&void 0!==Q?Q:""}})]})})}),(0,n.jsxs)("p",{className:"".concat(S&&S.length>0?U("question")?y().ShowQuestion:y().DisableQuestion:O||p?y().ShowQuestion:y().DisableQuestion," ").concat(y().CheckboxRow),children:[(0,n.jsx)("input",{type:"checkbox",id:"tandcs",name:"tandcs",defaultChecked:F.tandcs,onChange:H,style:{marginRight:"8px"}}),(0,n.jsx)("label",{htmlFor:"tandcs",children:"I accept the Terms and Conditions"})]}),(0,n.jsxs)("p",{className:y().ButtonRow,children:[(0,n.jsx)("button",{type:"button",onClick:()=>(async()=>{c(!0);try{let t=null;if(F.emailaddress&&F.county&&F.name){var e;let s=F.county;"string"===typeof s&&(s=parseFloat(s)),t=await(0,w.Z)({email:F.emailaddress,locations:[s],username:F.name,source:"Reader Treat - ".concat(null===(e=f.G.find((e=>e.id===s)))||void 0===e?void 0:e.title)})}console.log("Adestra result:",t);const s=await(0,j.Z)({data:{...F,newContact:null===t||void 0===t?void 0:t.new},id:C});if(!1===s.success)return void r(s.data);h(!0)}catch(t){r("There was a problem entering this treat")}finally{c(!1)}})(),disabled:d||!M.every((e=>(e=>{const t=F[e];return"uploadedFile"===e?Boolean(t):"tandcs"===e?"1"===t:"string"===typeof t?t.trim().length>0:Boolean(t)})(e))),children:l?(0,n.jsx)(n.Fragment,{children:"Submitting"}):"Enter the Reader Treat"}),d||a&&(0,n.jsx)("span",{className:y().Alert,children:a||"Thanks for entering ".concat(T)}),d&&(0,n.jsx)("span",{className:y().Alert,children:"".concat(T||"Huzzah, you have now entered!")})]})]})]})};var k=e=>{let{content:t}=e;return(0,n.jsxs)("div",{className:y().TandCs,children:[(0,n.jsx)("h2",{children:"Need to Know"}),(0,n.jsx)("span",{dangerouslySetInnerHTML:{__html:t}}),(0,n.jsxs)("p",{children:["Read our full"," ",(0,n.jsx)(u(),{href:"https://muddystilettos.co.uk/compet
1itions-offers-terms-conditions/",children:"Reader Treats Terms and Conditions"})," ","here."]})]})},S=s(1273),B=s(44632),T=s(35054),I=s.n(T);var C=e=>{let{relatedTreats:t,siteId:s}=e;const o=e=>{const t=e.split(".")[0].replace("https://",""),n=e.split("/")[3];return 1===s?e.replace("//".concat(t,"."),"//"):e.replace("//".concat(t,"."),"//".concat(n,".")).replace("/".concat(n,"/"),"/")};return(0,n.jsxs)("div",{children:[(0,n.jsx)(B.Z,{children:"More Reader Treats"}),(0,n.jsx)("div",{className:"".concat(I().Cols," ").concat(I().NoPadding),children:(0,n.jsx)("div",{className:"".concat(I().Col," ").concat(y().RowSpacer," ").concat(I().FullWidth),children:t&&t.map(((e,t)=>{var s,i,a;return(0,n.jsx)(S.Z,{id:e.id,image:null===(i=e.featuredImage)||void 0===i||null===(s=i.node)||void 0===s?void 0:s.mediaItemUrl,uri:o(null!==(a=e.link)&&void 0!==a?a:""),title:e.title,linkType:"external"},t)}))})})]})};var N=e=>{let{data:{readerTreats:t,allReaderTreats:s},generalSettings:d,adStarCodes:h,template:g}=e;var _,y;const{endDate:j}=t,{siteId:w,title:f}=d,[S,B]=(0,m.useState)(!1);var T,I,N,R;return(0,m.useEffect)((()=>{const e=new Date;B(Boolean(j&&new Date(j)<e))}),[j]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(c.Z,{pageData:{...d,title:"".concat(t.title," | Reader Treat | Muddy Stilettos"),description:t.excerpt,url:t.link,image:null===(y=t.featuredImage)||void 0===y||null===(_=y.node)||void 0===_?void 0:_.mediaItemUrl}}),(0,n.jsx)(r.Z,{siteName:f,siteId:w}),(0,n.jsx)(i.Z,{ads:h,pageType:"readertreats"}),(0,n.jsx)(o.Z,{adSlot:"TopLB"}),(0,n.jsxs)("article",{className:p().Article,children:[(0,n.jsxs)("div",{className:p().Wrapper,children:[(0,n.jsxs)("div",{className:p().Intro,children:[(0,n.jsx)("div",{className:v().Base,children:(0,n.jsx)(u(),{href:"/reader-treats/",children:"Reader Treats"})}),(0,n.jsx)("h1",{dangerouslySetInnerHTML:{__html:null!==(T=t.title)&&void 0!==T?T:""}}),(0,n.jsx)("p",{}),(0,n.jsxs)("div",{className:p().Share,children:[(0,n.jsx)("span",{className:p().ShareText,children:"Share this Reader Treat:"})," ",(0,n.jsx)("span",{className:p().SocialWrap,children:(0,n.jsx)(x.Z,{postLink:null!==(I=t.link)&&void 0!==I?I:""})})]})]}),(0,n.jsxs)("div",{className:p().Main,children:[(0,n.jsx)("div",{className:p().Content,children:(0,n.jsx)("div",{className:"".concat(p().ContentP," ").concat(p().ReaderTreat),dangerouslySetInnerHTML:{__html:null!==(N=t.content)&&void 0!==N?N:""}})}),S?(0,n.jsx)("div",{className:p().ExpiredTreat,children:"Sorry, this Treat has now ended."}):(0,n.jsx)(b,{site:w,readerTreat:t}),(0,n.jsx)(k,{content:null!==(R=t.termsAndConditions)&&void 0!==R?R:""})]}),(0,n.jsx)(l.Z,{})]}),(0,n.jsx)(C,{relatedTreats:s.nodes,siteId:null!==w&&void 0!==w?w:1})]}),(0,n.jsx)(o.Z,{adSlot:"BottomLB"}),(0,n.jsx)(a.Z,{})]})}},86632:function(e){e.exports={Article:"Article_Article__keTr5",Intro:"Article_Intro__3qu1H",IntroSpacer:"Article_IntroSpacer__ZFTYW",Button:"Article_Button__Ivcqr",Wrapper:"Article_Wrapper__TiP_w",Meta:"Article_Meta__LuqY2",CommentsTag:"Article_CommentsTag__4v2Cb",ContentP:"Article_ContentP__bafXB",Comments:"Article_Comments__KijA4",GoogleMap:"Article_GoogleMap__KII8I",FeaturedImage:"Article_FeaturedImage__eFX0z",Base:"Article_Base__c_MF2",SponsoredBy:"Article_SponsoredBy__d3QKk",BPTLlogo:"Article_BPTLlogo__n3a_Q",Main:"Article_Main__v1G5k",Content:"Article_Content__06yh9","is-resized":"Article_is-resized__qvTs8",Date:"Article_Date__QiiKX",Share:"Article_Share__S2dFj",ShareText:"Article_ShareText__eEBc1",ExtraSpace:"Article_ExtraSpace__YP3dp",SocialWrap:"Article_SocialWrap__wTKva",SchoolDetails:"Article_SchoolDetails__Yfola",SchoolDetailsAtAGlance:"Article_SchoolDetailsAtAGlance__TnjZb",AtAGlance:"Article_AtAGlance__kV9KL",TurquoiseSponsor:"Article_TurquoiseSponsor__yePwU",TurquoiseImage:"Article_TurquoiseImage__zt8O4",BPTLlogoImage:"Article_BPTLlogoImage__PcMVr",CommentBlock:"Article_CommentBlock__YqKmt",CommentText:"Article_CommentText__Tnsae",CommentImg:"Article_CommentImg__qP0Ub",CommentDate:"Article_CommentDate___Kxuf",Badges:"Article_Badges__kk3VA",CommentForm:"Article_CommentForm__M_N3Z",FormTitle:"Article_FormTitle__ZCT02",FormRow:"Article_FormRow__Q6_Co",FullWidth:"Article_FullWidth__CYR3M",ButtonRow:"Article_ButtonRow__u3vq6",SchoolReviewBlock:"Article_SchoolReviewBlock__nU_aH",SchoolReviewCol:"Article_SchoolReviewCol__zfXZO",SchoolReviewColParagraph:"Article_SchoolReviewColParagraph__PmRx0",SchoolSocialLinks:"Article_SchoolSocialLinks___Y8l_",ExpiredTreat:"Article_ExpiredTreat__zXtpZ",Badge:"Article_Badge__Ofhx2",BPTLMap:"Article_BPTLMap__dfyz9",BPTLWrapper:"Article_BPTLWrapper__LXJJb",FilmReviews:"Article_FilmReviews__G4U_w",ToTop:"Article_ToTop__Bxubo",Show:"Article_Show__GZDbR",ReturnToWeekendEscapes:"Article_ReturnToWeekendEscapes__bdsZP",
1SelinaSponsor:"Article_SelinaSponsor__Yug7b",BPTLSponsorLogo:"Article_BPTLSponsorLogo__QACtS",HappyHealthyCTA:"Article_HappyHealthyCTA__0GW_N",SuperchargedCTA:"Article_SuperchargedCTA__FYpzH",ReaderTreat:"Article_ReaderTreat__vU6_0",SuperchargedSponsor:"Article_SuperchargedSponsor__uNkJZ",SuperchargedSponsorBlack:"Article_SuperchargedSponsorBlack__9rZHa"}},54082:function(e){e.exports={Button:"ArticleShare_Button__MvSBB",Wrapper:"ArticleShare_Wrapper__B83L7"}},76255:function(e){e.exports={Button:"BPTLButton_Button__9KblG",Underlay:"BPTLButton_Underlay__R_er4",Popup:"BPTLButton_Popup__6Nb5B",Img:"BPTLButton_Img__8jdIJ",Content:"BPTLButton_Content__ksKor",HeadingText:"BPTLButton_HeadingText__dNIjP",Pink:"BPTLButton_Pink__v3qzj",InputWrapperColumn:"BPTLButton_InputWrapperColumn__eH4FH",InputWrapper:"BPTLButton_InputWrapper__Mj1i6",TextBlock:"BPTLButton_TextBlock___MxOx",CloseButton:"BPTLButton_CloseButton__HYi3W",RTVotingBox:"BPTLButton_RTVotingBox__7CQzn",SideImage:"BPTLButton_SideImage__1y2aq",RTForm:"BPTLButton_RTForm__ADv9_",Checkbox:"BPTLButton_Checkbox__XVnNm",ReturnToContent:"BPTLButton_ReturnToContent__m5VaW"}},47698:function(e){e.exports={Wrapper:"BlockResults_Wrapper__52eWR",Button:"BlockResults_Button__Pl2zU",Intro:"BlockResults_Intro__qs8qM",Clear:"BlockResults_Clear__QwsTK",Results:"BlockResults_Results__D8UTa",Block:"BlockResults_Block__pWzOD",Image:"BlockResults_Image__HCopK",Text:"BlockResults_Text__5yZNL",County:"BlockResults_County__Z2EJk",CountyTop:"BlockResults_CountyTop__vgMbP",DoubleMargin:"BlockResults_DoubleMargin__CYgns",SingleMargin:"BlockResults_SingleMargin__NDlWa",BacktoTop:"BlockResults_BacktoTop__5_Hid",Filters:"BlockResults_Filters__pISB4",FilterWrap:"BlockResults_FilterWrap__PJ9G2",Filter:"BlockResults_Filter__YdsmY",FilterTitle:"BlockResults_FilterTitle__6xhkY",FilterHeading:"BlockResults_FilterHeading__BxDs8",FilterPopup:"BlockResults_FilterPopup__hvxhc",FilterPagination:"BlockResults_FilterPagination__YA7Zw",FilterCheckBox:"BlockResults_FilterCheckBox__bGIA_",IsChecked:"BlockResults_IsChecked__JUXOp",FilterLabel:"BlockResults_FilterLabel__LDFot",FilterPlaceholder:"BlockResults_FilterPlaceholder__xe1uu",EditorialBlurb:"BlockResults_EditorialBlurb__ik2sf",WeekendEscapes:"BlockResults_WeekendEscapes__15LCI",FilterButton:"BlockResults_FilterButton__xyckt",FilterButtonSticky:"BlockResults_FilterButtonSticky__UCV_v",FilterButtonText:"BlockResults_FilterButtonText__HBIA5",Desktop:"BlockResults_Desktop__XYCiu",FilterGems:"BlockResults_FilterGems__Rwv1C"}},19131:function(e){e.exports={Button:"DashboardTiles_Button__Yf0Ga",Wrapper:"DashboardTiles_Wrapper__c0LNR",Tile:"DashboardTiles_Tile__hBFWn",ImgWrap:"DashboardTiles_ImgWrap__k_IED",ContentWrap:"DashboardTiles_ContentWrap__5CmSp"}},15280:function(e){e.exports={Base:"Intro_Base__Ino9_",Button:"Intro_Button__GKHW8",NoMargin:"Intro_NoMargin__NCzjt"}},93290:function(e){e.exports={LBBArticle:"LBB_LBBArticle__UonqV",Gallery:"LBB_Gallery__sunXI",Button:"LBB_Button__H7K7I",LBB_Content:"LBB_LBB_Content__eLc31",AtAGlance:"LBB_AtAGlance__UL2Af",Content:"LBB_Content__VpodB",AtAGlanceDetails:"LBB_AtAGlanceDetails__eWtwZ",GoogleMapCTA:"LBB_GoogleMapCTA__OJVLD",GoogleMap:"L
1BB_GoogleMap__ECi3I",socialLinks:"LBB_socialLinks__K_frD",GalleryLauncher:"LBB_GalleryLauncher__C6ilm",GalleryImage:"LBB_GalleryImage__DsGHl",Thumbnails:"LBB_Thumbnails__vfabg",Thumbnail:"LBB_Thumbnail__tc0bu",MetaWrap:"LBB_MetaWrap__vPCge",Badge:"LBB_Badge__1bo95",kerning:"LBB_kerning__ZjLQi",Review:"LBB_Review__IuWuW"}},4442:function(e){e.exports={Button:"LoadingLogomark_Button__Bd_TC",Logomark__Circle:"LoadingLogomark_Logomark__Circle__gvvmA",Logomark__M:"LoadingLogomark_Logomark__M__x78xW",drawLetter:"LoadingLogomark_drawLetter__jb97O",Logomark:"LoadingLogomark_Logomark__AecXf",Complete:"LoadingLogomark_Complete__crtvB",letterDrawn:"LoadingLogomark_letterDrawn__tVA1I",LightBlue:"LoadingLogomark_LightBlue__7FWQw",TealBlue:"LoadingLogomark_TealBlue__Vitdg"}},77262:function(e){e.exports={Button:"ReaderTreats_Button__vE7gf",TandCs:"ReaderTreats_TandCs__qiLA0",Wrapper:"ReaderTreats_Wrapper__yHn3v",Recommended:"ReaderTreats_Recommended__6AUJa",RowSpacer:"ReaderTreats_RowSpacer__7GKeb",Form:"ReaderTreats_Form__Rps7j",DisableQuestion:"ReaderTreats_DisableQuestion__H6DpS",ButtonRow:"ReaderTreats_ButtonRow__HrgE3",ConsentRow:"ReaderTreats_ConsentRow__brdl7",CheckboxRow:"ReaderTreats_CheckboxRow__Wy_2j",Alert:"ReaderTreats_Alert__8ICG0",ShowQuestion:"ReaderTreats_ShowQuestion__nI2a9",FileUploading:"ReaderTreats_FileUploading__Gv8gA",FileUploaded:"ReaderTreats_FileUploaded__Q0VqS"}},28299:function(e){e.exports={Button:"SignInForm_Button___3Uy4",Wrapper:"SignInForm_Wrapper__OvQM3",Form:"SignInForm_Form__mszOv",ButtonRow:"SignInForm_ButtonRow__4Vr5O",ConsentRow:"SignInForm_ConsentRow__KNcK1",SmallRow:"SignInForm_SmallRow___2sim",Alert:"SignInForm_Alert__hfVzG",LoggedInAs:"SignInForm_LoggedInAs__EeLcA"}},67853:function(e){e.exports={Wrapper:"ThisMonth_Wrapper__yXYXi",Button:"ThisMonth_Button__UAk0e",Base:"ThisMonth_Base__AIxN5",Blocks:"ThisMonth_Blocks__dYDLp",Block:"ThisMonth_Block__Onp73",Text:"ThisMonth_Text__r6O9m"}}}]);

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.