PageSourceSearch

https://www.accommodationforstudents.com/_next/static/chunks/pages/landing-page/location-d83e4b9f08d036fe.js

js accommodationforstudents.com collected 2026-10-02 10:06:20 UTC 51,749 bytes, 15 lines download raw bytes

1
2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="b1dbc684-2cf2-537d-99a0-950f0558cf67")}catch(e){}}();
3(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[57186,98755],{706:e=>{e.exports={"landing-page-property-types":"LocationLandingPageWithPropertyTypes__landing-page-property-types--090a9","landing-page-property-types__search-results-wrapper":"LocationLandingPageWithPropertyTypes__landing-page-property-types__search-results-wrapper--45c5e","landing-page-property-types__search-results-wrapper--no-results":"LocationLandingPageWithPropertyTypes__landing-page-property-types__search-results-wrapper--no-results--1847a","property-grid__grid-type":"LocationLandingPageWithPropertyTypes__property-grid__grid-type--0d442","landing-page-property-types__property-count":"LocationLandingPageWithPropertyTypes__landing-page-property-types__property-count--30029","landing-page-property-types__no-properties-found":"LocationLandingPageWithPropertyTypes__landing-page-property-types__no-properties-found--42f78","property-grid__text-wrapper":"LocationLandingPageWithPropertyTypes__property-grid__text-wrapper--6d600","property-grid__text":"LocationLandingPageWithPropertyTypes__property-grid__text--9de17","landing-page-property-types__property-card":"LocationLandingPageWithPropertyTypes__landing-page-property-types__property-card--987f8","property-grid__advertise-property-card--no-results":"LocationLandingPageWithPropertyTypes__property-grid__advertise-property-card--no-results--1662b","property-grid__grid-wrapper":"LocationLandingPageWithPropertyTypes__property-grid__grid-wrapper--44595","landing-page-property-types__advertise-property-banner-wrapper":"LocationLandingPageWithPropertyTypes__landing-page-property-types__advertise-property-banner-wrapper--142e9","landing-page-property-types__standard-banner":"LocationLandingPageWithPropertyTypes__landing-page-property-types__standard-banner--c8f2e","landing-page-property-types__city-guide-snippet-section":"LocationLandingPageWithPropertyTypes__landing-page-property-types__city-guide-snippet-section--d1f01","landing-page-property-types__landlord-cta":"LocationLandingPageWithPropertyTypes__landing-page-property-types__landlord-cta--7d7b6","landing-page-property-types__why-choose":"LocationLandingPageWithPropertyTypes__landing-page-property-types__why-choose--5e87e","landing-page-property-types__why-choose--with-large-bottom-padding":"LocationLandingPageWithPropertyTypes__landing-page-property-types__why-choose--with-large-bottom-padding--2f52d","landing-page-property-types__description":"LocationLandingPageWithPropertyTypes__landing-page-property-types__description--621fd","landing-page-property-types__description--large-margin":"LocationLandingPageWithPropertyTypes__landing-page-property-types__description--large-margin--2e01c","landing-page-property-types__student-guide-wrapper":"LocationLandingPageWithPropertyTypes__landing-page-property-types__student-guide-wrapper--c4bfe","landing-page-property-types__student-guide":"LocationLandingPageWithPropertyTypes__landing-page-property-types__student-guide--7e85a","landing-page-property-types__faq-section-new-heading":"LocationLandingPageWithPropertyTypes__landing-page-property-types__faq-section-new-heading--bfce3","landing-page-property-types__faq-section-new-content":"LocationLandingPageWithPropertyTypes__landing-page-property-types__faq-section-new-content--cb067","landing-page-property-types__faq-section-new":"LocationLandingPageWithPropertyTypes__landing-page-property-types__faq-section-new--43f8b","landing-page-property-types__faq-section-new--after-snippet":"LocationLandingPageWithPropertyTypes__landing-page-property-types__faq-section-new--after-snippet--1a703","landing-page-property-types__popular-articles-wrapper":"LocationLandingPageWithPropertyTypes__landing-page-property-types__popular-articles-wrapper--65fac","landing-page-property-types__popular-articles-wrapper--white-background":"LocationLandingPageWithPropertyTypes__landing-page-property-types__popular-articles-wrapper--white-background--224f5","landing-page-property-types__popular-articles":"LocationLandingPageWithPropertyTypes__landing-page-property-types__popular-articles--adae4","landing-page-property-types__links-wrapper":"LocationLandingPageWithPropertyTypes__landing-page-property-types__links-wrapper--5dea5","landing-page-property-types__links":"LocationLandingPageWithPropertyTypes__landing-page-property-types__links--3b293","landing-page-property-types__accommodation":"LocationLandingPageWithPropertyTypes__landing-page-property-types__accommodation--70e7e","landing-page-property-types__nearby-universities":"LocationLandingPageWithPropertyTypes__landing-page-property-types__nearby-universities--dbbf6","location-links__inner":"LocationLandingPageWithPropertyTypes__location-links__inner--d8bfd","location-links__list":"LocationLandingPageWithPropertyTypes__location-links__list--6dfa4","location-links__item":"LocationLandingPageWithPropertyTypes__location-links__item--d600c","landing-page-property-types__area-links":"LocationLandingPageWithPropertyTypes__landing-page-property-types__area-links--368f4","landing-page-property-types__spinner":"LocationLandingPageWithPropertyTypes__landing-page-property-types__spinner--9476f"}},10048:e=>{e.exports={base:"ArticlePreviewWithLink__base--354b9",text:"ArticlePreviewWithLink__text--792fd",heading:"ArticlePreviewWithLink__heading--54bbe",description:"ArticlePreviewWithLink__description--0601f",imageWrapper:"ArticlePreviewWithLink__imageWrapper--431f8"}},22004:e=>{e.exports={banner:"AdvertiseYourPropertyBanner__banner--85ac0",heading:"AdvertiseYourPropertyBanner__heading--ae035",button:"AdvertiseYourPropertyBanner__button--aba4d",text:"AdvertiseYourPropertyBanner__text--d8636",description:"AdvertiseYourPropertyBanner__description--1d541",icon:"AdvertiseYourPropertyBanner__icon--eb496"}},22712:(e,t,a)=>{"use strict";a.d(t,{P:()=>s});let s=e=>e.replace(/i0\.wp\.com\//,"").split("?")[0]},27177:(e,t,a)=>{"use strict";a.d(t,{D:()=>A,E:()=>F});var s,r,i,n,l,o,p,d,c,u,h,g=a(37876),y=a(15039),_=a.n(y),m=a(36228),x=a.n(m),f=a(2679),w=a(70245),b=a(14232);function v(){return(v=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var s in a)({}).hasOwnProperty.call(a,s)&&(e[s]=a[s])}return e}).apply(null,arguments)}function L(){return(L=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var s in a)({}).hasOwnProperty.call(a,s)&&(e[s]=a[s])}return e}).apply(null,arguments)}function k(){return(k=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var s in a)({}).hasOwnProperty.call(a,s)&&(e[s]=a[s])}return e}).apply(null,arguments)}function C(){return(C=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var s in a)({}).hasOwnProperty.call(a,s)&&(e[s]=a[s])}return e}).apply(null,arguments)}var j=a(55523),P=a.n(j);let S={[w.m.halls]:e=>b.createElement("svg",v({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32"},e),s||(s=b.createElement("path",{stroke:"#E85B17",strokeWidth:2,d:"M2.333 30.667a1 1 0 0 1-1-1V3.625a2 2 0 0 1 2.27-1.982l25.334 3.455a2 2 0 0 1 1.73 1.981v22.588a1 1 0 0 1-1 1z"})),r||(r=b.createElement("path",{stroke:"#E85B17",strokeLinecap:"square",strokeWidth:2,d:"M13.402 25.454v5.183"})),i||(i=b.createElement("rect",{width:6.667,height:16,x:8,y:30.667,stroke:"#E85B17",strokeWidth:2,rx:1,transform:"rotate(-90 8 30.667)"})),n||(n=b.createElement("path",{stroke:"#E85B17",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2.5,d:"M8.002 14.092h-.003m4.006 0h-.003m4.007 0h-.004m4.007 0h-.003m4.006 0h-.003m-16.01 4h-.003m4.006 0h-.003m4.007 0h-.004m4.007 0h-.003m4.006 0h-.003m-16.01-8h-.003m4.006 0h-.003m4.007 0h-.004m4.007 0h-.003m4.006 0h-.003"}))),[w.m.house]:e=>b.createElement("svg",L({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32"},e),l||(l=b.createElement("rect",{width:10.667,height:8,x:12,y:30.667,stroke:"#E85B17",strokeWidth:2,rx:1,transform:"rotate(-90 12 30.667)"})),o||(o=b.createElement("path",{stroke:"#E85B17",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M2.667 12.668a3 3 0 0 1 1.22-2.416L16 1.333l12.112 8.92a3 3 0 0 1 1.221 2.415v16.999a1 1 0 0 1-1 1H3.666a1 1 0 0 1-1-1v-17Z"}))),[w.m.flat]:e=>b.createElement("svg",k({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32"},e),p||(p=b.createElement("rect",{width:29.333,height:18.667,x:6.667,y:30.667,stroke:"#E85B17",strokeWidth:2,rx:1,transform:"rotate(-90 6.667 30.667)"})),d||(d=b.createElement("rect",{width:6.667,height:5.333,x:13.334,y:30.667,stroke:"#FA5D00",strokeWidth:2,rx:1,transform:"rotate(-90 13.334 30.667)"})),c||(c=b.createElement("path",{stroke:"#FA5D00",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2.5,d:"M11.998 12.001h-.003m4.007 0h-.004m4.007 0h-.003m-8.004 5.334h-.003m4.007 0h-.004m4.007 0h-.003M11.998 6.668h-.003m4.007 0h-.004m4.007 0h-.003"}))),[w.m.studio]:e=>b.createElement("svg",C({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32"},e),u||(u=b.createElement("g",{stroke:"#E85B17",strokeWidth:1.6,clipPath:"url(#studio-f127f2_svg__a)"},b.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m28.519 8.621-10.4-6.497a4 4 0 0 0-4.239 0L3.48 8.621a4 4 0 0 0-1.88 3.393V26.4a4 4 0 0 0 4 4h20.8a4 4 0 0 0 4-4V12.014a4 4 0 0 0-1.881-3.393"}),b.createElement("path",{d:"M13.055 24a.655.655 0 0 1-.655-.654V20.4a3.6 3.6 0 0 1 7.2 0v2.945a.655.655 0 0 1-.654.655z"}),b.createElement("circle",{cx:16,cy:13.2,r:2.8}))),h||(h=b.createElement("defs",null,b.createElement("clipPath",{id:"studio-f127f2_svg__a"},b.createElement("path",{fill:"#fff",d:"M0 0h32v32H0z"})))))},N={[w.m.halls]:"Shared living in a managed building with onsite teams and some shared amenities.",[w.m.house]:"Share a house with a group of friends and save money. The popular next step after living in Halls.",[w.m.flat]:"Similar to a house share, normally with one or tw
3o bedrooms.",[w.m.studio]:"A self-contained flat where all of the amenities are in one space."},A=({className:e,children:t})=>(0,g.jsx)(x(),{className:_()(P().heading,e),level:2,"data-sentry-element":"AfsHeading","data-sentry-component":"Heading","data-sentry-source-file":"CarouselHeadings.tsx",children:t}),F=({propertyType:e,location:t})=>{let a=S[e];return(0,g.jsxs)("div",{"data-sentry-component":"PropertyTypeHeading","data-sentry-source-file":"CarouselHeadings.tsx",children:[(0,g.jsxs)(x(),{className:P().propertyTypeHeading,level:2,"data-sentry-element":"AfsHeading","data-sentry-source-file":"CarouselHeadings.tsx",children:[(0,g.jsx)(a,{className:P().propertyTypeIcon,"data-sentry-element":"Icon","data-sentry-source-file":"CarouselHeadings.tsx"}),`${(0,f.A)((0,w.H)(e))} in ${t}`]}),(0,g.jsx)("p",{className:P().subheading,children:N[e]})]})}},33229:e=>{e.exports={headingWrapper:"FaqSectionNew__headingWrapper--65e5e",faqList:"FaqSectionNew__faqList--7b022",searchWrapper:"FaqSectionNew__searchWrapper--43f86",inputWrapper:"FaqSectionNew__inputWrapper--5b763",input:"FaqSectionNew__input--caa6d",searchIcon:"FaqSectionNew__searchIcon--4c912",clearButton:"FaqSectionNew__clearButton--580e5",visuallyHidden:"FaqSectionNew__visuallyHidden--0a2fb",noMatchesHeading:"FaqSectionNew__noMatchesHeading--e8bdc",noMatchesText:"FaqSectionNew__noMatchesText--8cc50",faq:"FaqSectionNew__faq--e36b0",additionalFaqs:"FaqSectionNew__additionalFaqs--3589d",toggle:"FaqSectionNew__toggle--50c17",cta:"FaqSectionNew__cta--32a50",ctaWithMatches:"FaqSectionNew__ctaWithMatches--3e676",ctaText:"FaqSectionNew__ctaText--261c9",ctaButton:"FaqSectionNew__ctaButton--5c142"}},39544:(e,t,a)=>{"use strict";a.d(t,{A:()=>p});var s=a(37876),r=a(15039),i=a.n(r),n=a(74355),l=a(56267),o=a.n(l);let p=({className:e})=>(0,s.jsxs)("span",{className:i()(o().base,e),"data-sentry-component":"CityGuidePill","data-sentry-source-file":"index.tsx",children:[(0,s.jsx)(n.A,{type:"blog",name:"city",className:o().icon,"data-sentry-element":"Svg","data-sentry-source-file":"index.tsx"}),(0,s.jsx)("span",{className:o().copy,children:"AFS City Guides"})]})},39900:e=>{e.exports={base:"FactList__base--cae68",heading:"FactList__heading--e4a40",factList:"FactList__factList--a18d7",fourColumns:"FactList__fourColumns--40ecb"}},49372:e=>{e.exports={base:"CityGuideSnippet__base--0bda2",hero:"CityGuideSnippet__hero--1d70a",pill:"CityGuideSnippet__pill--261fe",heading:"CityGuideSnippet__heading--d8edf",heroImage:"CityGuideSnippet__heroImage--d345b",heroText:"CityGuideSnippet__heroText--9134b",text:"CityGuideSnippet__text--81e40",showMoreButton:"CityGuideSnippet__showMoreButton--a638e",button:"CityGuideSnippet__button--9c876",buttonShortLabel:"CityGuideSnippet__buttonShortLabel--92fc6",buttonFullLabel:"CityGuideSnippet__buttonFullLabel--a0378",factList:"CityGuideSnippet__factList--880e6",linksSectionHeading:"CityGuideSnippet__linksSectionHeading--acc58",linksSectionSubheading:"CityGuideSnippet__linksSectionSubheading--02236",list:"CityGuideSnippet__list--c6d69",listItem:"CityGuideSnippet__listItem--0f072",linkButton:"CityGuideSnippet__linkButton--1c19c",linkText:"CityGuideSnippet__linkText--cd964"}},55523:e=>{e.exports={sliderWrapper:"CarouselFullWidth__sliderWrapper--e1b61",sliderWrapperGradientOnLeft:"CarouselFullWidth__sliderWrapperGradientOnLeft--40d04",sliderWrapperGradientOnRight:"CarouselFullWidth__sliderWrapperGradientOnRight--87950",slider:"CarouselFullWidth__slider--5eb5a",sliderInner:"CarouselFullWidth__sliderInner--49002",slide:"CarouselFullWidth__slide--7a74b",snapper:"CarouselFullWidth__snapper--ce342",buttons:"CarouselFullWidth__buttons--9dcaa",controlWrapper:"CarouselFullWidth__controlWrapper--edb11",controlWrapperBottom:"CarouselFullWidth__controlWrapperBottom--413a0",controlWrapperRoomListingPage:"CarouselFullWidth__controlWrapperRoomListingPage--c3200",controlWrapperRoomListingPageWithAllSlidesVisible:"CarouselFullWidth__controlWrapperRoomListingPageWithAllSlidesVisible--1b2fa",linkAndCarouselButtonsTop:"CarouselFullWidth__linkAndCarouselButtonsTop--80afd",showingAllPropertiesText:"CarouselFullWidth__showingAllPropertiesText--64da3",heading:"CarouselFullWidth__heading--95669",propertyTypeHeading:"CarouselFullWidth__propertyTypeHeading--c1dab",propertyTypeIcon:"CarouselFullWidth__propertyTypeIcon--fbbda",subheading:"CarouselFullWidth__subheading--7edf4",linkAndCarouselButtons:"CarouselFullWidth__linkAndCarouselButtons--06ac5",resultsLink:"CarouselFullWidth__resultsLink--7c5
3a7",linkAndCarouselButtonsBottom:"CarouselFullWidth__linkAndCarouselButtonsBottom--ebade",linkAndCarouselButtonsDesktop:"CarouselFullWidth__linkAndCarouselButtonsDesktop--1644e",viewAllLink:"CarouselFullWidth__viewAllLink--3d574",linkAndCarouselButtonsMobile:"CarouselFullWidth__linkAndCarouselButtonsMobile--5f4b6"}},55631:(e,t,a)=>{"use strict";a.d(t,{A:()=>w});var s=a(37876),r=a(15039),i=a.n(r),n=a(36228),l=a.n(n),o=a(85116),p=a(74355);let d=({iconKey:e})=>(0,s.jsx)(p.A,{name:e,type:"blog",width:32,height:32,"data-sentry-element":"Svg","data-sentry-component":"FactIcon","data-sentry-source-file":"Components.tsx"});var c=a(95630),u=a.n(c);let h={"number of universities":"university","student population":"groups","average rent":"gbp","popular student areas":"location","famous for":"star","popular events":"social-events"},g=e=>e.toLowerCase().trim(),y=e=>{let{label:t,value:a,linkTo:r,linkLabel:i}=e,n=h[g(t)]||"star",l="Average rent"===t?`\xa3${a} per person /week`:a,o=`${t}: ${l}`,p=(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("span",{className:u().icon,"aria-hidden":"true",children:(0,s.jsx)(d,{iconKey:n})}),(0,s.jsxs)("div",{className:u().textContent,"aria-hidden":!0,children:[(0,s.jsx)("span",{className:u().label,children:t}),(0,s.jsx)("span",{className:u().value,children:l})]})]});return r?(0,s.jsx)("a",{href:r,target:"_blank",className:u().link,"aria-label":`${o} — ${i}`,children:p}):(0,s.jsx)("article",{className:u().base,"aria-label":o,"data-sentry-component":"FactCard","data-sentry-source-file":"index.tsx",children:p})},_=Object.keys(h),m=e=>{let t=_.indexOf(g(e));return -1===t?_.length:t};var x=a(39900),f=a.n(x);(0,o.UG)(`
4  fragment FactList on City {
5    facts {
6      nodes {
7        ... on Factlist {
8          label
9          value
10        }
11      }
12    }
13  }
14`);let w=({heading:e,id:t,facts:a,className:r,columns:n,maxItems:o,headingLevel:p=2,linkTo:d,linkLabel:c})=>{let u=[...a].sort((e,t)=>m(e.label)-m(t.label)),h=o?u.slice(0,o):u;return(0,s.jsxs)("section",{className:i()(f().base,r),id:t,"data-sentry-component":"FactList","data-sentry-source-file":"index.tsx",children:[(0,s.jsx)(l(),{className:f().heading,level:p,"data-sentry-element":"Heading","data-sentry-source-file":"index.tsx",children:e}),(0,s.jsx)("div",{className:i()(f().factList,{[f().fourColumns]:4===n}),children:h.map(e=>d?(0,s.jsx)(y,{...e,linkTo:d,linkLabel:c},e.label):(0,s.jsx)(y,{...e},e.label))})]})}},56267:e=>{e.exports={base:"CityGuidePill__base--06fa3",icon:"CityGuidePill__icon--32968",copy:"CityGuidePill__copy--9ffea"}},57186:(e,t,a)=>{"use strict";a.d(t,{A:()=>W});var s=a(37876),r=a(14232),i=a(18847),n=a.n(i),l=a(45105),o=a.n(l),p=a(15039),d=a.n(p),c=a(86956),u=a.n(c),h=a(78647),g=a.n(h),y=a(53031),_=a(60161),m=a(18337),x=a(74355),f=a(36228),w=a.n(f),b=a(73e3),v=a.n(b);let L=(e,t)=>{if(!t)return[{text:e,isMatch:!1}];let a=[],s=e.toLowerCase(),r=t.toLowerCase(),i=0,n=s.indexOf(r);for(;-1!==n;)n>i&&a.push({text:e.slice(i,n),isMatch:!1}),a.push({text:e.slice(n,n+t.length),isMatch:!0}),i=n+t.length,n=s.indexOf(r,i);return i<e.length&&a.push({text:e.slice(i),isMatch:!1}),a},k=e=>(0,s.jsx)(s.Fragment,{children:e.map((e,t)=>e.isMatch?(0,s.jsx)("mark",{className:v().highlight,children:e.text},`${t}-${e.text}`):(0,s.jsx)(r.Fragment,{children:e.text},`${t}-${e.text}`))}),C=e=>"html"in e?e.text??e.html.replace(/<[^>]*>/g,""):"text"in e?e.text:"string"==typeof e.node?e.node:null,j=(e,t)=>{if("string"==typeof e)return e.toLowerCase().includes(t.toLowerCase())?k(L(e,t)):e;if(Array.isArray(e))return e.map((e,a)=>(0,s.jsx)(r.Fragment,{children:j(e,t)},a));if((0,r.isValidElement)(e)&&e.type===r.Fragment||(0,r.isValidElement)(e)&&"string"==typeof e.type){let a;return null==(a=e.props.children)?e:(0,r.cloneElement)(e,{},j(a,t))}return e},P=({className:e,question:t,searchQuery:a,answer:i,id:n,headingLevel:l=4,isExpanded:o,onToggle:p})=>{let c=!o,u=((e,t)=>{if(!t||!e.toLowerCase().includes(t.toLowerCase()))return e;let a=L(e,t);return(0,s.jsx)(s.Fragment,{children:a.map((e,t)=>e.isMatch?(0,s.jsxs)(r.Fragment,{children:[(0,s.jsx)("span",{className:v().visuallyHidden,children:e.text}),(0,s.jsx)("mark",{className:v().highlight,"aria-hidden":"true",children:e.text})]},`${t}-${e.text}`):(0,s.jsx)(r.Fragment,{children:e.text},`${t}-${e.text}`))})})(t,a),h="node"in i?i.node:void 0,g=a&&!c&&h?j(h,a):h,y=C(i),_=a&&y?((e,t)=>
14{let a=e.toLowerCase().indexOf(t.toLowerCase());if(-1===a)return null;let r=e.length<=200,i=r?0:Math.max(0,a-100),n=r?e.length:Math.min(e.length,a+t.length+100),l=i>0?"...":"",o=n<e.length?"...":"",p=L(e.slice(i,n),t);return(0,s.jsxs)(s.Fragment,{children:[l,k(p),o]})})(y,a):null,m=!c&&a||"",x="html"in i?((e,t)=>{if(!t)return e;let a=RegExp(t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"gi");return e.split(/(<[^>]*>)/).map((e,t)=>t%2==1?e:e.replace(a,e=>`<mark class="${v().highlight}">${e}</mark>`)).join("")})(i.html,m):void 0;return(0,s.jsxs)("div",{className:e,itemScope:!0,itemProp:"mainEntity",itemType:"https://schema.org/Question","data-sentry-component":"Faq","data-sentry-source-file":"index.tsx",children:[(0,s.jsx)(w(),{className:v().question,level:l,itemProp:"name","data-sentry-element":"Heading","data-sentry-source-file":"index.tsx",children:(0,s.jsxs)("button",{className:v().button,"aria-controls":`faq-answer-${n}`,"aria-expanded":!c,onClick:()=>p(n),children:[u,(0,s.jsx)("span",{className:d()(v().icon,{[v().expandedAnswerIcon]:!c})})]})}),_&&c&&(0,s.jsx)("p",{className:v().snippet,children:_}),(0,s.jsx)("div",{id:`faq-answer-${n}`,className:d()(v().answer,{[v().answerCollapsed]:c}),itemScope:!0,itemProp:"acceptedAnswer",itemType:"https://schema.org/Answer",children:"html"in i?(0,s.jsx)("div",{className:v().text,itemProp:"text",dangerouslySetInnerHTML:{__html:x??i.html}}):(0,s.jsx)("div",{className:v().text,itemProp:"text",children:g})})]})},S=(e,t)=>{let a=e.question.toLowerCase(),s=(C(e.answer)??"").toLowerCase();return a.includes(t)||s.includes(t)},N=(e,t)=>{let a=e.question,s=C(e.answer)??"";return RegExp(`\\b${t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}\\b`,"i").test(a)?3:a.toLowerCase().includes(t)?2:+!!s.toLowerCase().includes(t)};var A=a(33229),F=a.n(A);let T=n()(()=>Promise.all([a.e(3729),a.e(48249)]).then(a.bind(a,48249)),{loadableGenerated:{webpack:()=>[48249]},ssr:!1}),W=({className:e,heading:t,faqs:a,id:i,faqHeadingLevel:n,initialVisibleCount:l=5,scrollOffset:p=100,searchEnabled:c,initiallyExpandFirst:h=!1})=>{let[f,w]=(0,r.useState)(!1),[b,v]=(0,r.useState)(()=>h&&a.length>0?{0:!0}:{}),[L,k]=(0,r.useState)(""),[C,j]=(0,r.useState)(!1),A=(0,r.useRef)(null),W=i?`${i}-faq-search`:"faq-search",q=L||void 0,$=L.toLowerCase(),B=a.filter(e=>S(e,$)).sort((e,t)=>N(t,$)-N(e,$)),O=L?B:a,E=O.length>l,I=O.slice(0,l),R=O.slice(l),H=O.length,M=`${H} ${1===H?"question":"questions"} found`,G=L?M:"",U=!!q||0===O.length,V=e=>String(a.findIndex(t=>t.question===e.question)),D=(0,r.useCallback)(e=>{v(t=>({...t,[e]:!t[e]}))},[]),Q=e=>{let t=V(e);return(0,s.jsx)(P,{id:t,className:F().faq,question:e.question,searchQuery:q,answer:e.answer,headingLevel:n,isExpanded:b[t]??!1,onToggle:D,"data-sentry-element":"Faq","data-sentry-component":"renderFaqItem","data-sentry-source-file":"index.tsx"},e.question)};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(o(),{src:"https://js-eu1.hsforms.net/forms/embed/25276084.js",strategy:"afterInteractive","data-sentry-element":"Script","data-sentry-source-file":"index.tsx"}),(0,s.jsxs)("section",{ref:A,className:e,"aria-label":"Frequently asked questions",itemScope:!0,itemType:"https://schema.org/FAQPage",id:i,style:{scrollMarginTop:`${p}px`},children:[(0,s.jsx)("div",{className:F().headingWrapper,children:t}),c&&(0,s.jsxs)("div",{className:F().searchWrapper,children:[(0,s.jsx)("label",{htmlFor:W,className:F().visuallyHidden,children:"Search questions"}),(0,s.jsxs)("div",{className:F().inputWrapper,children:[(0,s.jsx)(x.A,{type:"search",name:"search-bold",className:F().searchIcon}),(0,s.jsx)("input",{id:W,type:"search",placeholder:"Search your query or topic",className:F().input,value:L,onChange:e=>{let t=e.target.value.toLowerCase();k(e.target.value),w(!1);let s=t?a.filter(e=>S(e,t)):[];1===s.length?v({[V(s[0])]:!0}):v({})},onKeyDown:e=>{if("Enter"!==e.key||1!==O.length)return;let t=V(O[0]);document.querySelector(`[data-testid="button-${t}"]`)?.focus()}}),L&&(0,s.jsx)(m.A,{className:F().clearButton,onClick:()=>{k(""),w(!1),v({})}})]})]}),(0,s.jsx)("output",{htmlFor:W,className:F().visuallyHidden,children:G}),(0,s.jsxs)("div",{className:d()({[F().faqList]:E}),children:[c&&L&&0===O.length&&(0,s.jsxs)("div",{children:[(0,s.jsx)("p",{className:F().noMatchesHeading,children:"No matches found"}),(0,s.jsx)("p",{className:F().noMatchesText,children:"Try different keywords, or reach out to our team for help"})]}),I.map(Q),E&&(0,s.jsx)("div",{className:F().additionalFaqs,hidden:!f,children:R.map(Q)})]}),E&&(0,s.jsx)(u(),{className:F().toggle,"aria-expanded":f,onClick:()=>{w(e=>(e&&A.current&&(0,_.I)(A.current,p)&&A.current.scrollIntoView({behavior:"smooth"}),!e))},styleAsLink:{variant:"alpha"}
14,children:f?"Show less":`Show all questions (${O.length})`}),U&&(0,s.jsxs)("div",{className:d()(F().cta,{[F().ctaWithMatches]:O.length>0}),children:[(0,s.jsx)("span",{className:F().ctaText,children:"Don't see the answer you're looking for?"}),(0,s.jsx)(u(),{className:F().ctaButton,size:"s",variant:"secondary",onClick:()=>j(!0),children:"Ask a question"})]})]}),(0,s.jsx)(g(),{overlayUniqueId:"faq-section-cta",useOverlayContext:y.useOverlayContext,initialIsActive:C,onClose:()=>j(!1),animatedTick:(0,s.jsx)(T,{}),"data-sentry-element":"ContactUsFormOverlay","data-sentry-source-file":"index.tsx"})]})}},58028:(e,t,a)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/landing-page/location",function(){return a(65368)}])},65368:(e,t,a)=>{"use strict";a.r(t),a.d(t,{__N_SSP:()=>eN,default:()=>eA});var s,r,i,n,l,o,p,d,c,u=a(37876),h=a(89099),g=a(92857),y=a(15039),_=a.n(y),m=a(18847),x=a.n(m),f=a(45105),w=a.n(f),b=a(36228),v=a.n(b),L=a(83546),k=a(57078),C=a(52805),j=a(96295),P=a(35543),S=a(70245),N=a(46680),A=a(51297),F=a(89670),T=a(61405),W=a(61821),q=a(57092),$=a(95029),B=a(1022),O=a(86708),E=a(32444),I=a(10048),R=a.n(I);let H=({className:e,title:t,description:a,imageUrl:s,imageAlt:r,articleUrl:i,buttonText:n})=>{let{imgApiUrl:l}=k.A,o=`${l}w=500,h=500,fit=cover/${s}`,p=[{id:"desktop",srcSet:`${l}w=500,h=380,fit=cover/${s} 1x, ${l}w=500,h=380,dpr=2,fit=cover/${s} 2x`,media:"(min-width: 769px)"},{id:"tablet",srcSet:`${l}w=730,h=365,fit=cover/${s} 1x, ${l}w=730,h=365,dpr=2,fit=cover/${s} 2x`,media:"(min-width: 539px) and (max-width: 768px)"},{id:"mobile",srcSet:`${l}w=500,h=250,fit=cover/${s} 1x, ${l}w=500,h=250,dpr=2,fit=cover/${s} 2x`,media:"(max-width: 538px)"}],d=_()(R().base,e);return(0,u.jsxs)("div",{className:d,"data-sentry-component":"ArticlePreviewWithLink","data-sentry-source-file":"index.tsx",children:[(0,u.jsxs)("div",{className:R().text,children:[(0,u.jsx)(v(),{className:R().heading,level:3,"data-sentry-element":"Heading","data-sentry-source-file":"index.tsx",children:t}),(0,u.jsx)("p",{className:R().description,children:a}),(0,u.jsx)(E.A,{to:i,"data-sentry-element":"Button","data-sentry-source-file":"index.tsx",children:n})]}),(0,u.jsx)("div",{className:R().imageWrapper,children:(0,u.jsx)(O.A,{alt:r,src:o,sources:p,lazyload:!0,"data-sentry-element":"Picture","data-sentry-source-file":"index.tsx"})})]})};var M=a(90679),G=a(86464),U=a(68063),V=a(12789),D=a(68620),Q=a(5151),z=a(79867),Y=a(57186),K=a(54813),Z=a(95062),X=a.n(Z),J=a(10164),ee=a(14232);function et(){return(et=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var s in a)({}).hasOwnProperty.call(a,s)&&(e[s]=a[s])}return e}).apply(null,arguments)}let ea=e=>ee.createElement("svg",et({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 108 81"},e),ee.createElement("g",{filter:"url(#house-4ba1c6_svg__a)"},s||(s=ee.createElement("path",{fill:"#BAB9C0",d:"m31.615 39.466 2.802-2.82a.86.86 0 0 0 0-1.212l-.158-.16a.85.85 0 0 0-1.204 0l-2.803 2.82a.86.86 0 0 0 0 1.212l.159.16a.85.85 0 0 0 1.204 0m0 12.438 2.802-2.82a.86.86 0 0 0 0-1.213l-.158-.159a.85.85 0 0 0-1.205 0l-2.803 2.82a.86.86 0 0 0 0 1.212l.158.16a.85.85 0 0 0 1.205 0m.001-6.092 2.803-2.82a.86.86 0 0 0 0-1.212l-.159-.16a.85.85 0 0 0-1.204 0l-2.802 2.82a.9.9 0 0 0-.185.278.9.9 0 0 0-.065.328q0 .171.065.329a.9.9 0 0 0 .185.278l.158.159a.85.85 0 0 0 1.204 0m-.006 18.813 2.803-2.821a.86.86 0 0 0 0-1.212l-.158-.16a.9.9 0 0 0-.277-.185.85.85 0 0 0-.652 0 .9.9 0 0 0-.276.186l-2.803 2.82a.86.86 0 0 0 0 1.211l.158.16a.9.9 0 0 0 .277.186.85.85 0 0 0 .652 0 .9.9 0 0 0 .276-.186m-.002-6.098 2.803-2.82a.86.86 0 0 0 0-1.211l-.159-.16a.85.85 0 0 0-1.204 0l-2.803 2.82a.86.86 0 0 0 0 1.212l.159.16a.85.85 0 0 0 1.204 0m35.16-16.067a5.5 5.5 0 0 1-2.121-.376 5.5 5.5 0 0 1-1.814-1.169 5.5 5.5 0 0 1-1.226-1.78 5.55 5.55 0 0 1-.45-2.12 5.55 5.55 0 0 1 1.576-3.942 5.5 5.5 0 0 1 1.782-1.215 5.5 5.5 0 0 1 2.11-.432 5.47 5.47 0 0 1 3.862 1.586 5.54 5.54 0 0 1 1.637 3.86 5.54 5.54 0 0 1-1.537 3.902 5.47 5.47 0 0 1-3.82 1.686m0-9.328a3.78 3.78 0 0 0-2.126.615 3.8 3.8 0 0 0-1.423 1.702 3.84 3.84 0 0 0 .787 4.182c.529.54 1.206.909 1.944 1.06a3.77 3.77 0 0 0 2.2-.21 3.8 3.8 0 0 0 1.712-1.409 3.834 3.834 0 0 0-.455-4.8 3.8 3.8 0 0 0-2.64-1.14m6.61 31.778a.9.9 0 0 1-.644-.268.92.92 0 0 1-.267-.649V48.104a.9.9 0 0 1 .047-.372.9.9 0 0 1 .191-.323.9.9 0 0 1 .304-.218.9.9 0 0 1 .73 0 .9.9 0 0 1 .305.218.9.9 0 0 1 .191.323.9.9 0 0 1 .047.372v15.89a.92.92 0 0 1-.264.645c-.17.172-.4.27-.64.271m-13.819-.075a.9.9 0 0 1-.642-.266.92.92 0 0 1-.27-.644v-15.82a.9.9 0 0 1 .047-.373.9.9 0 0 1 .192-.323.9.9 0 0 1 .304-.218.9.9 0 0 1 .73 0 .9.9 0 0 1 .305.218.9.9 0 0 1 .191.323.9.9 0 0 1 .047.372v15.821a.91.91 0 0 1-.265.644c-.17.17-.4.266-.639.266"})),r||(r=ee.createElement("path",{fill:"#BAB9C0",d:"M30.576 33.072a.91.91 0 0 1-.838-.566.9.9 0 0 1-.052-.528.9.9 0 0 1 .248-.469l7.126-7.17V12.847q0-.181.068-.348a.9.9 0 0 1 .196-.295.9.9 0 0 1 .294-.197.9.9 0 0 1 .346-.07h5.393a.92.92 0 0 1 .634.263c.17.167.27.393.277.632l.09 4.171L53 8.27a.9.9 0 0 1 .295-.2.9.9 0 0 1 .348-.07.9.9 0 0 1 .348.07.9.9 0 0 1 .294.2l23 23.141a.9.9 0 0 1 .253.468.9.9 0 0 1-.051.53.91.91 0 0 1-.845.558.92.92 0 0 1-.642-.263l-22.357-22.48-9.54 9.598a.9.9 0 0 1-.462.25.9.9 0 0 1-.523-.047.9.9 0 0 1-.408-.332.93.93 0 0 1-.16-.503l-.09-5.426h-3.585v10.943a.92.92 0 0 1-.27.647l-7.387 7.433a.9.9 0 0 1-.292.208.9.9 0 0 1-.35.077M19.96 62.843a.9.9 0 0 1-.452-.124.9.9 0 0 1-.332-.334 6.694 6.694 0 0 1-.189-6.393c.594-1.172 1.52-2.14 2.66-2.783a6.59 6.59 0 0 1 7.322.57.9.9 0 0 1 .256.27.9.9 0 0 1 .128.349.9.9 0 0 1-.02.372.9.9 0 0 1-.166.333.9.9 0 0 1-.284.239.9.9 0 0 1-.355.106.9.9 0 0 1-.368-.045.9.9 0 0 1-.319-.189 4.7 4.7 0 0 0-1.667-.853 4.7 4.7 0 0 0-1.866-.139 4.8 4.8 0 0 0-3.203 1.814 4.86 4.86 0 0 0-.995 3.56c.078.665.295 1.304.635 1.88a.91.91 0 0 1 .106.68.9.9 0 0 1-.398.56.9.9 0 0 1-.493.127"})),i||(i=ee.createElement("path",{fill:"#BAB9C0",d:"M13.28 64.64a.9.9 0 0 1-.62-.25.92.92 0 0 1-.284-.607 4.42 4.42 0 0 1 .828-2.863 4.37 4.37 0 0 1 2.453-1.674 4.35 4.35 0 0 1 2.95.287 4.38 4.38 0 0 1 2.09 2.115.92.92 0 0 1-.49 1.121.9.9 0 0 1-.65.04.9.9 0 0 1-.51-.41 2.56 2.56 0 0 0-1.219-1.242 2.53 2.53 0 0 0-3.16.812 2.57 2.57 0 0 0-.477 1.678.9.9 0 0 1-.041.36.9.9 0 0 1-.177.317.9.9 0 0 1-.285.222.9.9 0 0 1-.349.094zm60.087-16.077c-.242 0-.474-.097-.645-.269s-.267-.405-.267-.648c0-.534-.211-1.046-.587-1.424a2 2 0 0 0-1.415-.59.9.9 0 0 1-.644-.269.92.92 0 0 1 .644-1.565 3.82 3.82 0 0 1 2.703 1.13 3.87 3.87 0 0 1 1.122 2.718c0 .243-.096.476-.267.648s-.403.269-.644.269m-13.812 0a.9.9 0 0 1-.348-.07.9.9 0 0 1-.294-.199.9.9 0 0 1-.196-.297.9.9 0 0 1-.066-.351c0-1.02.404-2 1.12-2.72.952-.958 2.167-1.209 3.183-1.209.241 0 .473.097.644.269a.92.92 0 0 1-.644 1.565c-.264-.001-.847.057-1.09.158-.245.1-.622.323-.81.51a2 2 0 0 0-.435.654 2 2 0 0 0-.153.773.92.92 0 0 1-.267.648.9.9 0 0 1-.644.269m-7.801 1.636h-9.965a.8.8 0 0 1-.316-.065.8.8 0 0 1-.267-.193.9.9 0 0 1-.18-.288 1 1 0 0 1-.065-.343V34.57c0-.232.087-.457.243-.629a.79.79 0 0 1 .579-.26h9.964a.8.8 0 0 1 .319.067.8.8 0 0 1 .264.191q.118.125.18.289a1 1 0 0 1 .066.342v14.74a.94.94 0 0 1-.243.63.8.8 0 0 1-.262.19.8.8 0 0 1-.317.07m-9.144-1.783h8.322V35.44H42.61z"})),n||(n=ee.createElement("path",{fill:"#BAB9C0",fillRule:"evenodd",d:"M46.769 33.681a.9.9 0 0 0-.634.264.9.9 0 0 0-.263.638v6.456h-3.64a.9.9 0 0 0-.633.265.905.905 0 0 0 .633 1.54h3.641v6.453c0 .24.095.469.263.638a.894.894 0 0 0 1.53-.638v-6.455h3.641a.9.9 0 0 0 .634-.264.905.905 0 0 0 0-1.276.9.9 0 0 0-.634-.264h-3.642v-6.455a.9.9 0 0 0-.262-.638.9.9 0 0 0-.634-.264",clipRule:"evenodd"})),l||(l=ee.createElement("path",{fill:"#BAB9C0",d:"m67.379 47.575-3.541-3.562a.893.893 0 0 0-1.251.016.904.904 0 0 0-.016 1.26l3.54 3.562a.894.894 0 0 0 1.514-.643.9.9 0 0 0-.246-.633"})),o||(o=ee.createElement("path",{fill:"#BAB9C0",d:"m69.623 44.104-3.449 3.47a.9.9 0 0 0-.197.293.9.9 0 0 0-.07.347.9.9 0 0 0 .067.347.9.9 0 0 0 .195.294.9.9 0 0 0 .292.196.9.9 0 0 0 .345.068.9.9 0 0 0 .345-.07.9.9 0 0 0 .29-.2l3.45-3.47a.9.9 0 0 0 .197-.292.9.9 0 0 0 .07-.346.9.9 0 0 0-.067-.348.9.9 0 0 0-.195-.294.9.9 0 0 0-.293-.196.9.9 0 0 0-.69.003.9.9 0 0 0-.29.198m11.513 3.7a.9.9 0 0 0-.263-.638.893.893 0 0 0-1.267 0 .9.9 0 0 0-.263.638v16.234c0 .24.095.469.263.638a.894.894 0 0 0 1.53-.638zm13.744-3.909H79.493a.9.9 0 0 0-.634.265.905.905 0 0 0 .634 1.54H94.88a.9.9 0 0 0 .634-.265.905.905 0 0 0 0-1.275.9.9 0 0 0-.634-.265"}
14)),ee.createElement("mask",{id:"house-4ba1c6_svg__b",width:11,height:10,x:83,y:46,maskUnits:"userSpaceOnUse",style:{maskType:"alpha"}},p||(p=ee.createElement("path",{fill:"#fff",d:"M92.789 46.902h-8.964a.74.74 0 0 0-.528.22.75.75 0 0 0-.219.532v7.515c0 .2.079.39.219.532.14.14.33.22.528.22h8.964c.198 0 .388-.08.528-.22a.75.75 0 0 0 .219-.532v-7.515c0-.2-.079-.391-.219-.532a.74.74 0 0 0-.528-.22"}))),d||(d=ee.createElement("g",{mask:"url(#house-4ba1c6_svg__b)"},ee.createElement("path",{stroke:"#BAB9C0",strokeWidth:4.8,d:"M92.789 46.902h-8.964a.74.74 0 0 0-.528.22.75.75 0 0 0-.219.532v7.515c0 .2.079.39.219.532.14.14.33.22.528.22h8.964c.198 0 .388-.08.528-.22a.75.75 0 0 0 .219-.532v-7.515c0-.2-.079-.391-.219-.532a.74.74 0 0 0-.528-.22Z"}),ee.createElement("path",{fill:"#BAB9C0",d:"M89.652 50.51h-2.69a.9.9 0 0 0-.633.264.905.905 0 0 0 .634 1.54h2.689a.9.9 0 0 0 .634-.265.905.905 0 0 0 0-1.275.9.9 0 0 0-.634-.264"})))),c||(c=ee.createElement("defs",null,ee.createElement("filter",{id:"house-4ba1c6_svg__a",width:125,height:93,x:-9,y:-7,colorInterpolationFilters:"sRGB",filterUnits:"userSpaceOnUse"},ee.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),ee.createElement("feColorMatrix",{in:"SourceAlpha",result:"hardAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"}),ee.createElement("feOffset",{dy:4}),ee.createElement("feGaussianBlur",{stdDeviation:6}),ee.createElement("feColorMatrix",{values:"0 0 0 0 0.223529 0 0 0 0 0.203922 0 0 0 0 0.32549 0 0 0 0.04 0"}),ee.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_4691_30059"}),ee.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_4691_30059",result:"shape"})))));var es=a(22004),er=a.n(es);let ei=({onClick:e})=>{let t=(0,h.useRouter)(),a=async a=>{a.preventDefault(),e(),await t.push("/advertise")};return(0,u.jsxs)(J.A,{className:er().banner,to:"/advertise",onClick:a,children:[(0,u.jsx)(ea,{className:er().icon}),(0,u.jsxs)("div",{className:er().text,children:[(0,u.jsx)("div",{className:er().heading,children:"Advertise your house, flat or studio here"}),(0,u.jsx)("span",{className:er().description,children:"List your property in minutes and reach 1,000’s of students every day."})]}),(0,u.jsx)("span",{className:er().button,children:"Find out more"})]})};ei.propTypes={onClick:X().func.isRequired};var en=a(89575),el=a(89230),eo=a(27177),ep=a(22712),ed=a(39544),ec=a(22967),eu=a(55631),eh=a(49372),eg=a.n(eh);let ey=[{id:"why-study-here",title:"Why study here",text:"What it's really like to study and live in this city, from students."},{id:"student-life",title:"Student life",text:"Caf\xe9s, nightlife, parks and go-to study spots students rate."},{id:"cost-of-living",title:"Cost of living",text:"Typical student costs to help you plan your budget."},{id:"universities",title:"Universities",text:"Universities, campuses and student communities across the city."},{id:"getting-around",title:"Getting around",text:"The fastest and cheapest ways students get around the city."},{id:"life-after-uni",title:"Life after uni",text:"Graduate jobs, industries and career opportunities after uni."}],e_=({cityName:e,citySlug:t,snippetSummary:a,snippetHeroImageUrl:s,facts:r,className:i,factListHeadingLevel:n})=>{let l=`/city-guides/${t}`,o=(0,ep.P)(s);return(0,u.jsxs)("div",{className:_()(eg().base,i),"data-sentry-component":"CityGuideSnippet","data-sentry-source-file":"index.tsx",children:[(0,u.jsxs)("div",{className:eg().hero,children:[(0,u.jsx)(ed.A,{className:eg().pill,"data-sentry-element":"CityGuidePill","data-sentry-source-file":"index.tsx"}),(0,u.jsxs)(v(),{level:2,className:eg().heading,"data-sentry-element":"Heading","data-sentry-source-file":"index.tsx",children:["Student guide to ",e]}),(0,u.jsx)("div",{className:eg().heroImage,children:(0,u.jsx)(O.A,{src:`${k.A.imgApiUrl}w=560,h=560,fit=cover/${o}`,alt:`Student with phone in front of ${e} landmarks`,sources:[{id:"mobile",srcSet:`${k.A.imgApiUrl}w=360,h=360,fit=cover/${o} 1x, ${k.A.imgApiUrl}w=360,h=360,dpr=2,fit=cover/${o} 2x`,media:"(max-width: 420px)"},{id:"tablet",srcSet:`${k.A.imgApiUrl}w=500,h=500,fit=cover/${o} 1x, ${k.A.imgApiUrl}w=500,h=500,dpr=2,fit=cover/${o} 2x`,media:"(min-width: 421px) and (max-width: 666px)"},{id:"desktop",srcSet:`${k.A.imgApiUrl}w=560,h=560,fit=cover/${o} 1x, ${k.A.imgApiUrl}w=560,h=560,dpr=2,fit=cover/${o} 2x`,media:"(min-width: 667px)"}],"data-sentry-element":"Picture","data-sentry-source-file":"index.tsx"})}),(0,u.jsxs)("div",{className:eg().heroText,children:[(0,u.jsx)(ec.A,{className:eg().text,id:"city-guide-summary",buttonVariant:"chevron",buttonIconSize:20,buttonPosition:"block",moreButtonLabel:"Show more",lessButtonLabel:"Show less",buttonClassName:eg().showMoreButton,"data-sentry-element":"ExpandableText","data-sentry-source-file":"index.tsx",children:(0,u.jsx)("div",{dangerouslySetInnerHTML:{__html:a}})}),(0,u.jsxs)(E.A,{className:eg().button,to:l,primary:!0,icon:{name:"arrow-right",position:"right"},"data-sentry-element":"Button","data-sentry-source-file":"index.tsx",children:[(0,u.jsx)("span",{className:eg().buttonShortLabel,children:"View guide"}),(0,u.jsxs)("span",{className:eg().buttonFullLabel,children:["View ",e," guide"]})]})]})]}),r.length>0&&(0,u.jsx)(eu.A,{className:eg().factList,heading:"Quick highlights",id:"quick-highlights",facts:r,columns:4,maxItems:4,headingLevel:n,linkTo:`${l}#key-facts`,linkLabel:"View all key facts"}),(0,u.jsxs)("nav",{"aria-label":"City guide sections",children:[(0,u.jsxs)(v(),{level:3,className:eg().linksSectionHeading,"data-sentry-element":"Heading","data-sentry-source-file":"index.tsx",children:["Explore student life in ",e]}),(0,u.jsx)("p",{className:eg().linksSectionSubheading,children:"Jump straight to the sections that matter to you."}),(0,u.jsx)("ul",{className:eg().list,children:ey.map(e=>(0,u.jsxs)("li",{className:eg().listItem,children:[(0,u.jsx)(J.A,{className:eg().linkButton,to:`${l}#${e.id}`,target:"_blank",styleAsButton:{variant:"text-default",size:"s",icon:{name:"arrow-right",position:"right",color:"#fa5D00"}},children:e.title}),(0,u.jsx)("span",{className:eg().linkText,children:e.text})]},e.id))})]})]})};
14var em=a(20508),ex=a(79211),ef=a(39556),ew=a(31887),eb=a(706),ev=a.n(eb);let eL=x()(()=>a.e(7243).then(a.bind(a,7243)),{loadableGenerated:{webpack:()=>[7243]}}),ek=x()(()=>Promise.resolve().then(a.bind(a,18280)),{loadableGenerated:{webpack:()=>[18280]}}),eC=({question:e,answer:t})=>({question:e,answer:{html:t}}),ej=({viewModel:e,initialIsMobile:t,initialIsTablet:a,country:s,initialSearchCriteria:r,numberOfPreviewProperties:i,isRedirecting:n})=>{let{latestFlats:{properties:l},latestHalls:{properties:o},latestHouses:{properties:p},latestStudios:{properties:d},locationPath:c,trustpilotReviews:h}=e,g=[...l,...o,...p,...d],{shortlistById:y,isOpen:m,onOpenChange:x,variant:f,propertyImage:b}=(0,W.A)({results:g}),T="gb"===s.toLowerCase(),q=e.faqData?(0,A.A)(e.faqData).map(({question:e,answer:t,text:a})=>({question:e,answer:a?{node:t,text:a}:{node:t}})):[],O=e.wpFaqs?.length?e.wpFaqs.map(eC):q,E=(0,N.A)(["(prefers-color-scheme: dark)"],[!0],!1),I=(0,P.Kd)();(0,F.A)({searchResultsPageQuery:e.searchResultsPageQuery,searchApiCriteria:e.searchApiCriteria,numberOfProperties:i,hasSpotlightProperties:!!e.latestHalls.properties.find(e=>e.property.isSpotlight),hasFeaturedProperties:g.some(e=>(0,C.gq)(e.property)),prefersDarkColourScheme:E});let R=(e,t,a)=>{(0,j.z6)(e,t,a)},Z=(e,t)=>{let a=t.properties.find(t=>t.property.id===e),s=a?t.properties.indexOf(a)+1:void 0;(0,j.fZ)(a,s,t.numberOfResults)},X=(t,a)=>{(0,j.Ms)(e.searchResultsPageQuery.location,t,a)},J=t=>{Z(t,e.latestHalls)},ee=t=>{Z(t,e.latestHouses)},et=t=>{Z(t,e.latestFlats)},ea=t=>{Z(t,e.latestStudios)},{imgApiUrl:es}=k.A,er=e.latestHalls.numberOfResults>0,ep=e.latestHouses.numberOfResults>0,ed=e.latestFlats.numberOfResults>0,ec=e.latestStudios.numberOfResults>0&&e.latestStudios.numberOfResults!==e.latestHalls.numberOfResults,eu=ep||ed||ec,eh=eu||er,eg=!eu&&er,ey=!!e.cityGuideSnippet,ex=`Sorry, we have no properties available in ${e.searchResultsPageQuery.location}.`;return(0,u.jsxs)(z.A,{fullBleed:!0,mainClassName:ev()["landing-page-property-types"],footerClassName:ev()["landing-page-property-types__footer"],metaData:(0,L.FL)(e.metaData),"data-sentry-element":"Layout","data-sentry-component":"LocationLandingPageWithPropertyTypes","data-sentry-source-file":"index.tsx",children:[(0,u.jsx)(w(),{strategy:"beforeInteractive",type:"application/ld+json",dangerouslySetInnerHTML:{__html:`${e.metaData.schema}`},"data-sentry-element":"Script","data-sentry-source-file":"index.tsx"}),(0,u.jsx)(V.A,{locationDisplay:e.h1,text:e.taglineText,showTagline:e.showTagline,linkText:e.linkText,linkUrl:e.linkUrl,showLink:e.showLink,heading:e.heroHeading,src:`${es}w=740,h=377,fit=cover,g=0.5x0.12/${e.heroImage}`,images:[{id:"small-mobile",srcSet:`${es}w=420,h=135,fit=cover,g=0.5x0.05/${e.heroImage} 1x, ${es}w=420,h=135,dpr=2,fit=cover,g=0.5x0.05/${e.heroImage} 2x`,media:"(max-width: 420px)"},{id:"mobile",srcSet:`${es}w=660,h=185,fit=cover,g=0.5x0.1/${e.heroImage} 1x, ${es}w=660,h=185,dpr=2,fit=cover,g=0.5x0.1/${e.heroImage} 2x`,media:"(min-width: 421px) and (max-width: 660px)"},{id:"desktop",srcSet:`${es}w=740,h=377,fit=cover,g=0.5x0.12/${e.heroImage} 1x, ${es}w=740,h=377,dpr=2,fit=cover,g=0.5x0.12/${e.heroImage} 2x`,media:"(min-width: 661px)"}],showTrustpilotReviews:e.showTrustpilotReviewsInHeroSection,trustpilotReviews:h,"data-sentry-element":"HeroLocationLanding","data-sentry-source-file":"index.tsx"}),(0,u.jsx)(B.A,{"data-sentry-element":"ErrorBoundary","data-sentry-source-file":"index.tsx",children:(0,u.jsx)(ek,{numberOfProperties:i,previousSearchCriteria:r,variant:"landingPage",isRedirecting:n,"data-sentry-element":"SearchBar","data-sentry-source-file":"index.tsx"})}),(0,u.jsx)("div",{className:_()(ev()["landing-page-property-types__search-results-wrapper"],{[ev()["landing-page-property-types__search-results-wrapper--no-results"]]:!eh}),children:(0,u.jsxs)("div",{className:ev()["landing-page-property-types__inner"],children:[(0,u.jsx)("p",{className:ev()["landing-page-property-types__property-count"],children:e.resultsSubheading}),eh?null:(0,u.jsxs)("div",{className:ev()["landing-page-property-types__no-properties-found"],children:[(0,u.jsx)("div",{className:ev()["property-grid__text-wrapper"],children:(0,u.jsx)("div",{className:ev()["property-grid__text"],children:ex})}),T&&(0,u.jsx)(K.A,{onClick:()=>{(0,j.T5)(e.searchResultsPageQuery.location,0)},className:ev()["property-grid__advertise-property-card--no-results"]})]}),(0,u.jsxs)("div",{className:ev()["property-grid__grid-wrapper"],children:[er&&(0,u.jsx)(eL,{heading:(0,u.jsx)(eo.E,{propertyType:S.m.halls,location:e.searchResultsPageQuery.location}),dataTestId:"halls-slider",className:ev()["property-grid__grid-type"],sectionId:"halls",uniqueId:"halls-list",label:"Halls",totalListings:e.latestHalls.numberOfResults,shouldShowAdvertiseCard:!0,allResultsVisibleText:`Showing ${e.latestHalls.numberOfResults} of ${e.latestHalls.numberOfResults} halls`,handleLogOnLinkClick:()=>
14R(S.m.halls,"More Results",e.searchResultsPageQuery.location),handleLogOnAdvertiseCardClick:()=>X(e.latestHalls.numberOfResults,S.m.halls),link:{url:(0,$.nx)({locationPath:c,propertyType:S.m.halls,countryCode:s}),label:`View all ${e.latestHalls.numberOfResults} halls`},initialIsMobile:t,initialIsTablet:a,children:o?.map(e=>(0,u.jsx)(el.A,{className:ev()["landing-page-property-types__property-card"],property:e.property,handleOnClick:J,swipeDisabled:!0,handleShortlistButtonClick:y},e.property.id))}),ep&&(0,u.jsx)(eL,{heading:(0,u.jsx)(eo.E,{propertyType:S.m.house,location:e.searchResultsPageQuery.location}),label:"Houses",uniqueId:"houses-list",dataTestId:"house-slider",className:ev()["property-grid__grid-type"],sectionId:"houses",totalListings:e.latestHouses.numberOfResults,shouldShowAdvertiseCard:!0,allResultsVisibleText:`Showing ${e.latestHouses.numberOfResults} of ${e.latestHouses.numberOfResults} houses`,handleLogOnLinkClick:()=>R(S.m.house,"More Results",e.searchResultsPageQuery.location),handleLogOnAdvertiseCardClick:()=>X(e.latestHouses.numberOfResults,S.m.house),link:{url:(0,$.nx)({locationPath:c,propertyType:S.m.house,countryCode:s}),label:`View all ${e.latestHouses.numberOfResults} houses`},initialIsMobile:t,initialIsTablet:a,children:p?.map(e=>(0,u.jsx)(el.A,{className:ev()["landing-page-property-types__property-card"],property:e.property,handleOnClick:ee,swipeDisabled:!0,handleShortlistButtonClick:y},e.property.id))}),ed&&(0,u.jsx)(eL,{heading:(0,u.jsx)(eo.E,{propertyType:S.m.flat,location:e.searchResultsPageQuery.location}),dataTestId:"flat-slider",className:ev()["property-grid__grid-type"],label:"Flats",uniqueId:"flats-list",sectionId:"flats",totalListings:e.latestFlats.numberOfResults,shouldShowAdvertiseCard:!0,allResultsVisibleText:`Showing ${e.latestFlats.numberOfResults} of ${e.latestFlats.numberOfResults} flats`,handleLogOnLinkClick:()=>R(S.m.flat,"More Results",e.searchResultsPageQuery.location),handleLogOnAdvertiseCardClick:()=>X(e.latestFlats.numberOfResults,S.m.flat),link:{url:(0,$.nx)({locationPath:c,propertyType:S.m.flat,countryCode:s}),label:`View all ${e.latestFlats.numberOfResults} flats`},initialIsMobile:t,initialIsTablet:a,children:l?.map(e=>(0,u.jsx)(el.A,{className:ev()["landing-page-property-types__property-card"],property:e.property,handleOnClick:et,swipeDisabled:!0,handleShortlistButtonClick:y},e.property.id))}),ec?(0,u.jsx)(eL,{heading:(0,u.jsx)(eo.E,{propertyType:S.m.studio,location:e.searchResultsPageQuery.location}),label:"Studios",uniqueId:"studios-list",dataTestId:"studio-slider",className:ev()["property-grid__grid-type"],sectionId:"studios",totalListings:e.latestStudios.numberOfResults,shouldShowAdvertiseCard:!0,allResultsVisibleText:`Showing ${e.latestStudios.numberOfResults} of ${e.latestStudios.numberOfResults} studios`,handleLogOnLinkClick:()=>R(S.m.studio,"More Results",e.searchResultsPageQuery.location),handleLogOnAdvertiseCardClick:()=>X(e.latestStudios.numberOfResults,S.m.studio),link:{url:(0,$.nx)({locationPath:c,propertyType:S.m.studio,countryCode:s}),label:`View all ${e.latestStudios.numberOfResults} studios`},initialIsMobile:t,initialIsTablet:a,children:d?.map(e=>(0,u.jsx)(el.A,{className:ev()["landing-page-property-types__property-card"],property:e.property,handleOnClick:ea,swipeDisabled:!0,handleShortlistButtonClick:y},e.property.id))}):null]}),eg?(0,u.jsx)("div",{className:ev()["landing-page-property-types__advertise-property-banner-wrapper"],children:(0,u.jsx)(ei,{onClick:()=>(0,j.gn)(e.searchResultsPageQuery.location)})}):null]})}),h&&(0,u.jsx)(em.A,{initialIsMobile:t,reviews:h.reviews}),ey&&(0,u.jsx)("section",{className:ev()["landing-page-property-types__city-guide-snippet-section"],children:(0,u.jsx)(e_,{cityName:e.locationFromUrl,citySlug:e.locationPath,snippetSummary:e.cityGuideSnippet.snippetSummary,snippetHeroImageUrl:e.cityGuideSnippet.snippetHeroImageUrl,facts:e.cityGuideSnippet.facts,factListHeadingLevel:3})}),e.showPageCopy&&!ey&&(0,u.jsxs)(u.Fragment,{children:[eg?null:(0,u.jsx)("div",{className:ev()["landing-page-property-types__landlord-cta"],children:(0,u.jsx)(en.A,{})}),(0,u.jsx)(D.A,{locationDisplay:e.h1,location:e.locationFromUrl,area:e.areaFromUrl,baseUrl:k.A.baseUrl}),(0,u.jsx)(G.A,{className:ev()["landing-page-property-types__why-choose"]})]}),e.showCityCopy&&!ey?(0,u.jsx)(M.A,{className:_()(ev()["landing-page-property-types__description"],{[ev()["landing-page-property-types__description--large-margin"]]:!e.showPageCopy}),locationDescription:e.locationDescription,location:e.locationFromUrl}):null,e.studentGuide&&e.showStudentGuideLink&&(0,u.jsx)("div",{className:ev()["landing-page-property-types__student-guide-wrapper"],children:(0,u.jsx)(H,{className:ev()["landing-page-property-types__student-guide"],imageUrl:e.studentGuide.imageUrl,imageAlt:e.locationFromUrl,buttonText:"Read the student guide",articleUrl:`/student-guides/${e.studentGuide.path}`,title:`${e.locationFromUrl} Student Guide`,description:e.studentGuide.description})}),e.faqData&&(0,u.jsx)("div",{className:_()(ev()["landing-page-property-types__faq-section-new"],{[ev()["landing-page-property-types__faq-section-new--after-snippet"]]:ey}),children:(0,u.jsx)(Y.A,{className:ev()["landing-page-property-types__faq-section-new-content"],heading:(0,u.jsx)(v(),{className:ev()["landing-page-property-types__faq-section-new-heading"],level:2,children:"Your questions answered"}),faqs:O,searchEnabled:!0})}),e.universityGuides&&"London"!==e.locationFromUrl&&(0,u.jsx)(Q.A,{city:e.locationFromUrl,de
14scription:e.universityGuides.description,universities:e.universityGuides.universities}),e.popularArticles&&(0,u.jsx)("div",{className:ev()["landing-page-property-types__popular-articles-wrapper"],children:(0,u.jsx)(U.A,{className:ev()["landing-page-property-types__popular-articles"],articles:e.popularArticles,moreArticlesLink:I,heading:"Student guides"})}),e.accommodationPageLinks.showLinks&&(0,u.jsx)(ew.A,{...e.accommodationPageLinks}),m&&(0,u.jsx)(ef.A,{variant:f,isOpen:!0,onOpenChange:x,propertyImage:b})]})},eP=({history:e,viewModel:t,...a})=>{let{country:s,queryString:r,initialSearchCriteria:i,isRedirecting:n,numberOfPreviewProperties:l,prices:o,averagePrice:p,averagePriceByPropertyType:d,debouncedUpdatePreviewListings:c,redirectToSearchResultsPage:h,redirectToSearchResultsPageWithFilterChange:g}=(0,T.A)({viewModel:t,history:e}),{updatedViewModel:y}=(0,q.n)(t);return(0,u.jsx)(ex.I,{queryString:r,locations:t.locations,country:s,prices:o,averagePrice:p,onFilterSubmit:g,onFilterConfirmButtonClick:h,onFilterChange:c,averagePriceByPropertyType:d,"data-sentry-element":"SearchFilterProvider","data-sentry-component":"Wrapper","data-sentry-source-file":"index.tsx",children:(0,u.jsx)(ej,{...a,viewModel:y,initialSearchCriteria:i,numberOfPreviewProperties:l,isRedirecting:n,country:s,"data-sentry-element":"LocationLandingPageWithPropertyTypes","data-sentry-source-file":"index.tsx"})})};var eS=a(29627),eN=!0;let eA=({viewModel:e,relativeUrl:t,absoluteUrlWithoutQuery:a,abTestId:s,isInternational:r,initialIsMobile:i,initialIsTablet:n})=>e.isError?(0,u.jsx)(eS.A,{relativeUrl:t}):r?(0,u.jsx)(g.A,{viewModel:e,history:(0,h.useRouter)(),absoluteUrlWithoutQuery:a,abTestId:s,initialIsMobile:i}):(0,u.jsx)(eP,{viewModel:e,history:(0,h.useRouter)(),abTestId:s,initialIsMobile:i,initialIsTablet:n,"data-sentry-element":"LocationLandingPageWithPropertyTypes","data-sentry-component":"LocationLanding","data-sentry-source-file":"location.tsx"})},73e3:e=>{e.exports={button:"FaqNew__button--e32be",question:"FaqNew__question--08a9b",icon:"FaqNew__icon--2acda",expandedAnswerIcon:"FaqNew__expandedAnswerIcon--47b54",highlight:"FaqNew__highlight--70ff3",visuallyHidden:"FaqNew__visuallyHidden--51e98",snippet:"FaqNew__snippet--97311",answer:"FaqNew__answer--07b87",answerCollapsed:"FaqNew__answerCollapsed--15b64",text:"FaqNew__text--3dfc8"}},95630:e=>{e.exports={base:"FactCard__base--1881d",link:"FactCard__link--7fdcd",icon:"FactCard__icon--a9c22",textContent:"FactCard__textContent--02e26",label:"FactCard__label--74a59",suffix:"FactCard__suffix--cf95a",value:"FactCard__value--fe9d4"}}},e=>{e.O(0,[85607,83806,94498,62871,2681,98369,79865,65341,63811,52485,89565,99962,98885,12118,48385,49876,91451,85116,45886,46518,1549,52241,37547,67750,969,90636,46593,38792],()=>e(e.s=58028)),_N_E=e.O()}]);
15//# debugId=b1dbc684-2cf2-537d-99a0-950f0558cf67

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.