Visit our latest live Events and Webinars with experts and get all your questions answered

Your Overseas Home
  • Countries

    • Spain
    • France
    • Portugal
    • Italy
    • Greece
    • Cyprus
    • Dubai

    Categories

    • Buying Overseas
    • Costs
    • Common Pitfalls
    • Currency
    • Investing
    • Retiring

    • Legal
    • Visas & Residency

    Property Types

    • Ski Property
    • Holiday Homes
    • Investment Property
    • Luxury Homes
    • Buying on the Athens Riviera – everything you need to know
      Apr 24, 2026
      Buying property overseas Lifestyle

      Buying on the Athens Riviera – everything you need to know

      Thinking about buying on the Athens Riviera? This stretch of coastline offers sea views,…

    • Everything you need to know about moving to Greece
      Mar 20, 2026
      Moving Overseas

      Everything you need to know about moving to Greece

      Moving to Greece is an exciting step that blends lifestyle change with practical decision-making.…

    Guides & Advice
  • Find a property
    • Spain
    • France
    • Portugal
    • Cyprus
    • Greece
    • Italy
    • USA
  • Join an event
  • Countries

    • Spain
    • France
    • Portugal
    • Cyprus
    • Greece
    • Italy
    • USA
    • Dubai

    Categories

    • Currency Exchange

    • Financial Advisers

    • Health Insurance

    • Insurance Broker

    • Lawyers / Solicitors

    • Mortgage Brokers

    • Moving and Relocation

    • Pet travel

    • Property Agents

    • Visa / Residency

    Need Expert Advice?

    Business people signing contract making deal with real estate agent Concept for consultant home insurance Real estate investment Property insurance security. Real estate agent.

    Speak to our Property Consultants for a free, step-by-step plan for your move abroad.

    Book a Free Call
    Find an expert
  • Countries

    • Spain
    • France
    • Portugal
    • Greece
    • Cyprus
    • Italy
    • USA
    • Dubai

    Categories

    • Beginner’s guide

    • Property search

    • Luxury property

    • Relocation tips

    • Lawyer

    • Visas & residency

    • Currency exchange

    • Investment property

    • Tax essentials

    • Viewing trips

    • Property renovation

    • Ski property

    • Buying a home with a boat in Greece – the best islands and marina towns
      Apr 20, 2026
      Buying property overseas Lifestyle

      Buying a home with a boat in Greece – the best islands and marina towns

      Greece has some of the cheapest mooring costs in Europe, and a growing number…

    • 6 Athens Riviera towns near the sea and city
      Apr 16, 2026
      Buying property overseas Lifestyle

      6 Athens Riviera towns near the sea and city

      Picture a morning coffee on a terrace above the Aegean, an afternoon swim at…

    Insights & inspiration
 

Login

Sign up

Favourites

Bookmarks


Help

Recommended searches

How to buy property

Popular locations

Best locations for expats

Top trending

  • Buying a home with a boat in Greece – the best islands and marina towns
    Apr 20, 2026
    Buying property overseas Lifestyle

    Buying a home with a boat in Greece – the best islands and marina towns

    Greece has some of the cheapest mooring costs in Europe, and a growing number…

  • 6 Athens Riviera towns near the sea and city
    Apr 16, 2026
    Buying property overseas Lifestyle

    6 Athens Riviera towns near the sea and city

    Picture a morning coffee on a terrace above the Aegean, an afternoon swim at…

  • 5 places in Greece where you can own a home with an olive grove
    Apr 13, 2026
    Buying property overseas Lifestyle

    5 places in Greece where you can own a home with an olive grove

    Owning an olive grove in Greece isn’t just about producing your own oil –…

Upcoming events and webinars

Here at Your Overseas Home, we pride ourselves on our impressive network of industry professionals who we invite to join our expert hosts at regular online events and webinars. Each one is designed to provide you with the guidance and expertise needed to secure your own overseas home safely and securely.

Join an event
0 events found.

Events for 6th January 2023

Notice
No events scheduled for 6th January 2023. Jump to the next upcoming events.
Notice
No events scheduled for 6th January 2023. Jump to the next upcoming events.

Events Search and Views Navigation

Event Views Navigation

  • List
  • Month
  • Day
Today
  • Previous Day
  • Next Day
  • Google Calendar
  • iCalendar
  • Outlook 365
  • Outlook Live
  • Export .ics file
  • Export Outlook .ics file

Your Overseas Home
[email protected]

https://www.youroverseashome.com
0808 252 7870
1 Lyric Square, Hammersmith, London, W6 0NB

Useful links

  • Properties for sale
    • Spain
    • Portugal
    • France
    • Cyprus
    • Greece
    • Italy
  • Webinars & events
  • Our experts
  • Articles & news
  • About us
  • Partner with us
  • Contact us
  • Our Trustpilot reviews
  • Virtual property event

Legal

  • Privacy policy
  • Cookie policy
  • Terms of use

Stay up to date

Get notified when we publish something new and unsubscribe at any time

"*" indicates required fields

Name*


© 2026 Your Overseas Home. All rights reserved.

  • Instagram
  • X
  • Facebook
  • YouTube

Your Overseas Home names, logos, and brands are wholly owned by The Overseas Guides Company Limited. Registered in England No. 05586029.
Your Overseas® is a registered trademark of The Overseas Guides Company Limited.

!function(){"use strict";var t={MOBILE_BREAKPOINT:600,API_BASE_GLOBAL:"https://regionsapi.smartcurrencyexchange.com/regionsandcitiesmerged/",API_BASE_COUNTRY:"https://regionsapi.smartcurrencyexchange.com/LocationHierarchy/",COUNTRIES:{Spain:{flag:"\ud83c\uddea\ud83c\uddf8",code:"es"},Portugal:{flag:"\ud83c\uddf5\ud83c\uddf9",code:"pt"},France:{flag:"\ud83c\uddeb\ud83c\uddf7",code:"fr"},Cyprus:{flag:"\ud83c\udde8\ud83c\uddfe",code:"cy"},Greece:{flag:"\ud83c\uddec\ud83c\uddf7",code:"gr"},"United States of America":{flag:"\ud83c\uddfa\ud83c\uddf8",code:"us"},Italy:{flag:"\ud83c\uddee\ud83c\uddf9",code:"it"},Ireland:{flag:"\ud83c\uddee\ud83c\uddea",code:"ie"}},COUNTRY_KEY_MAP:{spain:"Spain",france:"France",portugal:"Portugal",greece:"Greece",cyprus:"Cyprus",italy:"Italy",usa:"United States of America",ireland:"Ireland"},POPULAR:[{name:"Lisbon",country:"Portugal"},{name:"Barcelona",country:"Spain"},{name:"Paphos",country:"Cyprus"},{name:"Nice",country:"France"},{name:"Athens",country:"Greece"}]},e="ra-styles-v2",a='';function r(t){return String(t).replace(/[&<>"']/g,function(t){return{"&":"&","<":"<",">":">",'"':""","'":"'"}[t]})}function i(t){this.originalInput=t,this.id="ra-"+Math.random().toString(36).slice(2,8),this.placeholder=t.placeholder||"Enter a city or region",this.lockedCountry=this.detectLockedCountry(),this.state={query:"",results:[],loading:!1,error:null,activeTab:this.lockedCountry||"ALL",activeIndex:-1,isOpen:!1,selection:null},this.abortCtrl=null,this.build(),this.bind(),this.seedFromExistingValue()}function n(){!function(){if(!document.getElementById(e)){var t=document.createElement("style");t.id=e,t.textContent='.ra-combobox,.ra-combobox *{box-sizing:border-box}.ra-combobox{position:relative;font-family:inherit;color:#1a1a1a;--rae:cubic-bezier(.2,.7,.2,1)}.ra-input-shell{display:flex;align-items:center;gap:10px;padding:0 14px;background:#fff;border:1px solid #d6d3cc;border-radius:10px;height:52px;transition:border-color .15s var(--rae),box-shadow .15s var(--rae)}.ra-input-shell:focus-within{border-color:#1a1a1a;box-shadow:0 0 0 4px rgba(26,26,26,.08)}.ra-search-icon{width:18px;height:18px;flex-shrink:0;color:#9a9a9a}.ra-input-shell:focus-within .ra-search-icon{color:#1a1a1a}.ra-input{flex:1;border:0;outline:0;background:0 0;font:inherit;color:#1a1a1a;height:100%;min-width:0;font-size:16px}.ra-input::placeholder{color:#9a9a9a}.ra-clear{background:0 0;border:0;width:24px;height:24px;border-radius:50%;display:grid;place-items:center;color:#9a9a9a;cursor:pointer;opacity:0;transition:opacity .15s var(--rae),background .15s var(--rae);padding:0}.ra-clear:hover{background:#f0ede5;color:#1a1a1a}.ra-combobox.has-value .ra-clear{opacity:1}.ra-status{font-size:12px;color:#9a9a9a;letter-spacing:.02em;white-space:nowrap;margin-left:auto;padding-left:8px}.ra-status.is-loading::before{content:"";display:inline-block;width:6px;height:6px;background:#9a9a9a;border-radius:50%;margin-right:6px;animation:rapulse 1s infinite var(--rae);vertical-align:middle}@keyframes rapulse{50%{opacity:.3}}.ra-pin{display:inline-flex;align-items:center;gap:6px;padding:4px 8px;background:#f0ede5;border-radius:999px;font-size:12px;font-weight:500;color:#1a1a1a;white-space:nowrap;flex-shrink:0}.ra-panel{position:absolute;top:calc(100% + 6px);left:0;right:0;background:#fff;border:1px solid #e8e6e0;border-radius:10px;box-shadow:0 1px 2px rgba(20,20,20,.04),0 12px 32px -8px rgba(20,20,20,.12);overflow:hidden;z-index:99;opacity:0;transform:translateY(-4px);pointer-events:none;transition:opacity .15s var(--rae),transform .15s var(--rae)}.ra-combobox.is-open .ra-panel{opacity:1;transform:translateY(0);pointer-events:auto}.ra-section-label{font-size:11px;font-weight:500;letter-spacing:.08em;text-transform:uppercase;color:#9a9a9a;padding:10px 14px 4px}.ra-results{max-height:320px;overflow-y:auto;padding:4px}.ra-item{display:flex;align-items:baseline;gap:12px;padding:10px 12px;border-radius:6px;cursor:pointer;transition:background .1s var(--rae)}.ra-item[aria-selected=true],.ra-item:hover{background:#f0ede5}.ra-item-name{font-size:15px;font-weight:500;color:#1a1a1a;flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ra-item-name mark{background:#fff4c2;color:#1a1a1a;padding:0 1px;border-radius:2px}.ra-item-country{font-size:13px;color:#5a5a5a;display:flex;align-items:center;gap:6px;flex-shrink:0}.ra-item-flag{font-size:14px;line-height:1}.ra-group-header{font-size:11px;font-weight:500;letter-spacing:.06em;text-transform:uppercase;color:#9a9a9a;padding:12px 12px 4px;display:flex;align-items:center;gap:6px}.ra-group-header:first-child{padding-top:6px}.ra-blank{padding:20px 14px 8px;font-size:14px;color:#5a5a5a}.ra-blank strong{display:block;color:#1a1a1a;font-size:15px;font-weight:600;margin-bottom:4px}.ra-blank kbd{font-size:11px;border:1px solid #d6d3cc;border-bottom-width:2px;border-radius:4px;padding:1px 5px;color:#5a5a5a;background:#fbfaf7}.ra-empty-state{padding:28px 16px;text-align:center}.ra-empty-state strong{display:block;font-size:15px;font-weight:600;margin-bottom:4px}.ra-empty-state span{font-size:13px;color:#5a5a5a}.ra-error-state{padding:14px 16px;font-size:13px;color:#b8431f;display:flex;justify-content:space-between;align-items:center;gap:12px}.ra-error-state button{background:0 0;border:1px solid currentColor;color:#b8431f;border-radius:6px;font:inherit;font-size:12px;padding:4px 10px;cursor:pointer}.ra-skeleton{display:flex;gap:12px;padding:10px 12px}.ra-skeleton::before,.ra-skeleton::after{content:"";display:block;height:14px;border-radius:4px;background:linear-gradient(90deg,#e8e6e0 0,#f4f2ec 50%,#e8e6e0 100%);background-size:200% 100%;animation:rashim 1.4s infinite linear}.ra-skeleton::before{width:45%}.ra-skeleton::after{width:20%;opacity:.6}@keyframes rashim{to{background-position:-200% 0}}.ra-foot{display:flex;justify-content:space-between;align-items:center;padding:8px 12px;border-top:1px solid #e8e6e0;font-size:11px;color:#9a9a9a;letter-spacing:.02em}.ra-foot kbd{font-size:10px;border:1px solid #d6d3cc;border-bottom-width:2px;border-radius:3px;padding:0 4px;color:#5a5a5a;background:#fff;margin:0 2px}.ra-tabs{display:flex;gap:2px;padding:6px 6px 0;overflow-x:auto;scrollbar-width:none;border-bottom:1px solid #e8e6e0}.ra-tabs::-webkit-scrollbar{display:none}.ra-tab{background:0 0;border:0;border-radius:0;font:inherit;font-size:13px;font-weight:500;color:#5a5a5a;padding:8px 12px 10px;cursor:pointer;white-space:nowrap;border-bottom:2px solid transparent;margin-bottom:-1px;display:flex;align-items:center;gap:6px;transition:color .15s var(--rae)}.ra-tab:hover{color:#1a1a1a}.ra-tab[aria-selected=true]{color:#1a1a1a;border-bottom-color:#1a1a1a}.ra-tab-count{font-size:11px;color:#9a9a9a;font-variant-numeric:tabular-nums}.ra-panel-handle,.ra-mobile-input-row{display:none}@media (max-width:600px){.ra-combobox.is-open .ra-panel{position:fixed;top:auto;bottom:0;left:0;right:0;border-radius:16px 16px 0 0;border-bottom:0;max-height:85vh;display:flex;flex-direction:column;box-shadow:0 -8px 40px rgba(0,0,0,.15);transform:translateY(0);animation:rasheet .25s var(--rae)}@keyframes rasheet{from{transform:translateY(100%)}}.ra-combobox.is-open::before{content:"";position:fixed;inset:0;background:rgba(20,20,20,.4);z-index:98;animation:rafade .25s var(--rae)}@keyframes rafade{from{opacity:0}}.ra-panel-handle{display:block;width:40px;height:4px;border-radius:999px;background:#d6d3cc;margin:10px auto 4px;flex-shrink:0}.ra-mobile-input-row{display:flex;align-items:center;gap:8px;padding:12px 14px;border-bottom:1px solid #e8e6e0;flex-shrink:0}.ra-mobile-input{flex:1;border:0;outline:0;background:0 0;font:inherit;font-size:16px;color:#1a1a1a}.ra-mobile-cancel{background:0 0;border:0;font:inherit;font-weight:500;color:#5a5a5a;cursor:pointer;padding:4px 6px}.ra-results{flex:1;max-height:none}.ra-foot{display:none}}',document.head.appendChild(t)}}();var t=document.querySelectorAll('.region-autocomplete .ginput_container input[type="text"]');Array.prototype.forEach.call(t,function(t){if(!t.dataset.regionAutoselectInitialized){var e=t.closest(".gfield");if(e){var a=e.querySelector(".autocomplete-component-wrapper");a&&a.remove()}t.dataset.regionAutoselectInitialized="true";try{new i(t)}catch(t){console.error("RegionAutoselect init failed:",t)}}})}i.prototype.detectLockedCountry=function(){var e=this.originalInput.closest("form");if(!e)return null;var a=e.querySelector(".country-autocomplete input");if(!a||!a.value)return null;var r=a.value.toLowerCase();return t.COUNTRY_KEY_MAP[r]||null},i.prototype.build=function(){var e=this.originalInput.closest(".ginput_container");if(e){e.style.display="none";var i=this.lockedCountry&&t.COUNTRIES[this.lockedCountry]&&t.COUNTRIES[this.lockedCountry].flag,n=document.createElement("div");n.className="ra-combobox autocomplete-component-wrapper",n.innerHTML='
'+a+''+(this.lockedCountry?''+(i||"\ud83d\udccd")+""+r(this.lockedCountry)+"":"")+'
'+a+'
\u2191\u2193 navigate \u21b5 select esc close
',e.parentNode.insertBefore(n,e.nextSibling),this.root=n,this.shell=n.querySelector(".ra-input-shell"),this.input=n.querySelector(".ra-input"),this.mobileInput=n.querySelector(".ra-mobile-input"),this.panel=n.querySelector(".ra-panel"),this.tabsEl=n.querySelector(".ra-tabs"),this.resultsEl=n.querySelector(".ra-results"),this.statusEl=n.querySelector(".ra-status"),this.hintStatus=n.querySelector(".ra-hint-status"),this.clearBtn=n.querySelector(".ra-clear"),this.cancelBtn=n.querySelector(".ra-mobile-cancel"),this.renderResults()}},i.prototype.seedFromExistingValue=function(){var t=this.originalInput.value;if(t){var e=-1!==t.indexOf("|")?t.split("|")[1]:t;this.syncInputs(e)}},i.prototype.bind=function(){var t,e,a=this,r=(t=function(t){a.handleQuery(t)},function(){var a=arguments,r=this;clearTimeout(e),e=setTimeout(function(){t.apply(r,a)},220)});function i(t){var e=t.target.value;a.syncInputs(e),r(e)}this.input.addEventListener("input",i),this.mobileInput.addEventListener("input",i),this.input.addEventListener("focus",function(){a.open()}),this.mobileInput.addEventListener("focus",function(){a.open()}),this.input.addEventListener("keydown",function(t){a.handleKey(t)}),this.mobileInput.addEventListener("keydown",function(t){a.handleKey(t)}),this.clearBtn.addEventListener("click",function(){a.clear()}),this.cancelBtn.addEventListener("click",function(){a.close({revert:!0})}),this.panel.addEventListener("mousedown",function(t){t.target.closest(".ra-item, .ra-tab, .ra-retry")&&t.preventDefault()}),this.panel.addEventListener("click",function(t){var e=t.target.closest(".ra-item"),r=t.target.closest(".ra-tab"),i=t.target.closest(".ra-retry");e?a.commit(parseInt(e.dataset.idx,10)):r?a.setTab(r.dataset.country):i&&a.handleQuery(a.state.query,!0)}),document.addEventListener("mousedown",function(t){a.state.isOpen&&(a.root.contains(t.target)||a.close())}),document.addEventListener("keydown",function(t){"Escape"===t.key&&a.state.isOpen&&a.close()})},i.prototype.syncInputs=function(t){this.input.value!==t&&(this.input.value=t),this.mobileInput.value!==t&&(this.mobileInput.value=t),this.root.classList.toggle("has-value",t.length>0)},i.prototype.open=function(){if(!this.state.isOpen){if(this.state.isOpen=!0,this.root.classList.add("is-open"),this.shell.setAttribute("aria-expanded","true"),window.innerWidth<=t.MOBILE_BREAKPOINT){var e=this;setTimeout(function(){e.mobileInput.focus()},50)}this.state.query||this.renderResults()}},i.prototype.close=function(t){t=t||{},this.state.isOpen&&(this.state.isOpen=!1,this.state.activeIndex=-1,this.root.classList.remove("is-open"),this.shell.setAttribute("aria-expanded","false"),this.input.setAttribute("aria-activedescendant",""),t.revert&&this.state.selection&&this.syncInputs(this.formatLabel(this.state.selection)))},i.prototype.clear=function(){this.state.selection=null,this.state.query="",this.state.results=[],this.state.error=null,this.writeOriginal(""),this.syncInputs(""),this.input.focus(),this.renderResults(),this.renderTabs()},i.prototype.handleQuery=function(t,e){var a=this,r=(t||"").trim();if(this.state.query=r,this.state.error=null,r.length<2)return this.abortCtrl&&this.abortCtrl.abort(),this.state.loading=!1,this.state.results=[],this.setStatus(""),this.renderTabs(),void this.renderResults();this.abortCtrl&&this.abortCtrl.abort(),this.abortCtrl="undefined"!=typeof AbortController?new AbortController:null,this.state.loading=!0,this.setStatus("Searching"),this.renderResults(),this.fetchSuggestions(r,this.abortCtrl?this.abortCtrl.signal:null).then(function(t){a.state.results=t,a.state.loading=!1,a.setStatus(t.length?t.length+" match"+(1===t.length?"":"es"):""),a.state.activeIndex=t.length?0:-1,a.renderTabs(),a.renderResults()}).catch(function(t){t&&"AbortError"===t.name||(a.state.loading=!1,a.state.error="Could not load suggestions",a.setStatus("Error"),a.renderResults())})},i.prototype.fetchSuggestions=function(e,a){var r,i=encodeURIComponent(e),n=!1;if(this.lockedCountry){var o=t.COUNTRIES[this.lockedCountry];o&&o.code&&(r=t.API_BASE_COUNTRY+o.code+"?searchTerm="+i+"&limit=10",n=!0)}return r||(r=t.API_BASE_GLOBAL+i),fetch(r,a?{signal:a}:{}).then(function(t){if(!t.ok)throw new Error("HTTP "+t.status);return t.json()}).then(function(t){var e=t&&t.result||[];return n?e.map(function(t){return{name:t.displayName,country:t.countryName,geoNameId:t.geoNameId}}):e.map(function(t){var e=t.value&&t.value[0];return{name:e&&e.commonName,country:e&&e.Country,geoNameId:e&&e.geoNameId}})})},i.prototype.setTab=function(e){this.state.activeTab=e,this.state.activeIndex=0,this.renderTabs(),this.renderResults(),(window.innerWidth<=t.MOBILE_BREAKPOINT?this.mobileInput:this.input).focus()},i.prototype.visibleResults=function(){var t=this.state.results;if("ALL"===this.state.activeTab||this.lockedCountry)return t;var e=this.state.activeTab;return t.filter(function(t){return t.country===e})},i.prototype.handleKey=function(t){var e=this.visibleResults();switch(t.key){case"ArrowDown":if(t.preventDefault(),!this.state.isOpen)return this.open();this.state.activeIndex=Math.min(e.length-1,this.state.activeIndex+1),this.renderActive();break;case"ArrowUp":t.preventDefault(),this.state.activeIndex=Math.max(0,this.state.activeIndex-1),this.renderActive();break;case"Enter":this.state.isOpen&&this.state.activeIndex>=0&&(t.preventDefault(),this.commit(this.state.activeIndex));break;case"Escape":this.close({revert:!0});break;case"Tab":this.state.isOpen&&this.state.activeIndex>=0&&this.commit(this.state.activeIndex,{keepFocus:!1})}},i.prototype.commit=function(t,e){e=e||{};var a=this.visibleResults()[t];if(a){this.state.selection=a;var r=this.formatLabel(a),i=a.geoNameId?a.geoNameId+"|"+a.name:a.name;this.writeOriginal(i),this.syncInputs(r),this.close(),!1!==e.keepFocus&&this.input.focus()}},i.prototype.writeOriginal=function(t){this.originalInput.value=t,this.originalInput.dispatchEvent(new Event("input",{bubbles:!0})),this.originalInput.dispatchEvent(new Event("change",{bubbles:!0}))},i.prototype.formatLabel=function(t){return t.name+", "+t.country},i.prototype.setStatus=function(t){this.statusEl.textContent=t,this.statusEl.classList.toggle("is-loading",this.state.loading),this.hintStatus.textContent=t},i.prototype.renderTabs=function(){if(this.lockedCountry)this.tabsEl.hidden=!0;else{var e={};this.state.results.forEach(function(t){e[t.country]=(e[t.country]||0)+1});var a=Object.keys(e);if(a.length<2)this.tabsEl.hidden=!0;else{var i=[["ALL","All",this.state.results.length]],n=this;a.forEach(function(t){i.push([t,t,e[t]])}),this.tabsEl.hidden=!1,this.tabsEl.innerHTML=i.map(function(e){var a=e[0],i=e[1],o=e[2],s=t.COUNTRIES[a]&&t.COUNTRIES[a].flag||"";return'"}).join("")}}},i.prototype.renderResults=function(){var e=this.state.query,a=this.visibleResults(),i=this;if(this.state.loading)this.resultsEl.innerHTML='
';else if(this.state.error)this.resultsEl.innerHTML='
'+r(this.state.error)+'. Check your connection.
';else{if(e.length<2){var n=this.lockedCountry?t.POPULAR.filter(function(t){return t.country===i.lockedCountry}):t.POPULAR,o='
Start typingAt least 2 characters. Try a city or region.
';return n.length&&(o+='
Popular
',o+=n.map(function(t,e){return i.itemHTML(t,e,"")}).join("")),this.resultsEl.innerHTML=o,void this.resultsEl.querySelectorAll(".ra-item").forEach(function(t){t.addEventListener("click",function(){var e=parseInt(t.dataset.idx,10),a=n[e];if(a){i.state.selection=a;var r=i.formatLabel(a);i.writeOriginal(a.name),i.syncInputs(r),i.close()}})})}if(a.length){if(!this.lockedCountry&&"ALL"===this.state.activeTab&&new Set(a.map(function(t){return t.country})).size>1){var s={};a.forEach(function(t){(s[t.country]=s[t.country]||[]).push(t)});var l=0,c=[];Object.keys(s).forEach(function(a){var n=s[a],o=t.COUNTRIES[a]&&t.COUNTRIES[a].flag||"",p='
'+(o?""+o+"":"")+r(a)+"
",d=n.map(function(t){return i.itemHTML(t,l++,e)}).join("");c.push(p+d)}),this.resultsEl.innerHTML=c.join("")}else this.resultsEl.innerHTML=a.map(function(t,a){return i.itemHTML(t,a,e)}).join("");this.renderActive()}else this.resultsEl.innerHTML='
Nothing hereNo matches for "'+r(e)+'". Try a shorter or different spelling.
'}},i.prototype.itemHTML=function(e,a,i){var n=t.COUNTRIES[e.country]&&t.COUNTRIES[e.country].flag||"";return'
'+function(t,e){var a=r(t);if(!e)return a;var i=e.trim().replace(/[.*+?^${}()|[\]\\]/g,"\\$&");return i?a.replace(new RegExp("("+i+")","ig"),"$1"):a}(e.name,i)+''+(n?''+n+"":"")+r(e.country)+"
"},i.prototype.renderActive=function(){var t=this;this.resultsEl.querySelectorAll(".ra-item").forEach(function(e){var a=parseInt(e.dataset.idx,10)===t.state.activeIndex;e.setAttribute("aria-selected",a?"true":"false"),a&&(t.input.setAttribute("aria-activedescendant",e.id),e.scrollIntoView&&e.scrollIntoView({block:"nearest"}))})},"loading"===document.readyState?document.addEventListener("DOMContentLoaded",n):n(),window.jQuery&&window.jQuery(document).on("gform_post_render",n)}();