(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[405],{4184:function(e,t){var n;!function(){"use strict";var o={}.hasOwnProperty;function r(){for(var e=[],t=0;t(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)(o.default,{children:[(0,r.jsx)("title",{children:e.title}),(0,r.jsx)("link",{rel:"canonical",href:e.canonical}),(0,r.jsx)("link",{rel:"dns-prefetch",href:"//cdn.thomascook.com"}),(0,r.jsx)("meta",{name:"description",content:e.description}),(0,r.jsx)("meta",{property:"og:locale",content:"en_US"}),(0,r.jsx)("meta",{name:"og:type",content:"article"}),(0,r.jsx)("meta",{name:"og:title",content:e.title}),(0,r.jsx)("meta",{name:"og:description",content:e.description}),(0,r.jsx)("meta",{name:"og:url",content:e.canonical}),(0,r.jsx)("meta",{name:"og:site_name",content:"Thomas Cook Weather"}),(0,r.jsx)("meta",{property:"fb:app_id",content:"1089235991132881"}),e.image&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("meta",{property:"og:image",content:e.image}),(0,r.jsx)("meta",{property:"og:secure_url",content:e.image}),(0,r.jsx)("meta",{property:"og:image:width",content:"600"}),(0,r.jsx)("meta",{property:"og:image:height",content:"315"})]}),(0,r.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,r.jsx)("meta",{name:"twitter:title",content:e.title}),(0,r.jsx)("meta",{name:"twitter:description",content:e.description}),e.image&&(0,r.jsx)("meta",{name:"twitter:image",content:e.image})]})})},9770:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var o=n(8804);const r=o.ZP.button.withConfig({displayName:"Buttons__BaseButton",componentId:"sc-9ylamw-0"})(["border-radius:35px;color:white;text-decoration:none;padding:10px 25px;height:50px;display:flex;text-transform:uppercase;width:fit-content;align-items:center;font-size:1.25rem;justify-content:center;transition:background 0.8s ease-in-out;border:none;cursor:pointer;&:hover{background:#bf3e18 radial-gradient(circle,transparent 1%,#bf3e18 0) 50%/15000%;}&:active{background-color:#d74113;background-size:100%;transition:background 0s;}",""],(({disabled:e,theme:t})=>e?(0,o.iv)(["background:#dbdbdb;cursor:initial;&:hover{background:#dbdbdb;}"]):(0,o.iv)(["background:",";"],t.colors.primary)));(0,o.ZP)(r).withConfig({displayName:"Buttons__LargeButton",componentId:"sc-9ylamw-1"})(["height:65px;padding:10px 35px;",""],(({color:e,theme:t})=>(0,o.iv)(["background-color:",";"],t.colors[e])));var a=r},1152:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var o=n(8804),r=n(7569);var a=o.ZP.section.withConfig({displayName:"Layout",componentId:"sc-11cdbqn-0"})(["@media ","{padding:0;}margin:auto;max-width:1200px;width:100%;padding:",";background:",";display:flex;flex-direction:",";"," "," @media ","{flex-basis:",";padding:",";}@media (max-width:960px){flex-direction:column;}"],r.H.tablet,(({padding:e})=>e||"0 16px;"),(({background:e})=>e||"none"),(({type:e})=>e||"column"),(({className:e})=>"visible"===e&&"display: flex;\n padding: 0;\n "),(({className:e})=>"hidden"===e&&"display: none;\n "),r.H.desktop,(({width:e})=>e||"100%"),(({padding:e})=>e||"0 24px"))},7233:function(e,t,n){"use strict";n.d(t,{X:function(){return i},n:function(){return s}});var o=n(8804),r=n(7569);const a={xxl:(0,o.iv)(["font-size:3rem;line-height:1.167;letter-spacing:-0.4px;"]),xl:(0,o.iv)(["font-size:2.5rem;line-height:1.2;letter-spacing:-0.2px;"]),large:(0,o.iv)(["font-size:2rem;line-height:1.3;"]),medium:(0,o.iv)(["font-size:1.75rem;line-height:1.4;"]),small:(0,o.iv)(["font-size:1.5rem;line-height:1.4;"]),extraSmall:(0,o.iv)(["font-size:1.25rem;line-height:28px;"]),body:(0,o.iv)(["font-size:1rem;line-height:1.6;margin-bottom:0.35em;"])},i=o.ZP.h1.withConfig({displayName:"Typography__Heading",componentId:"sc-1q42i5u-0"})(["font-weight:",";@media ","{font-size:",";}margin-bottom:0.35em;color:",";",""],(({weight:e})=>e||"bold"),r.H.desktop,(({fontSize:e})=>e),(({color:e,theme:t})=>e||t.colors.text),(({variant:e})=>e?a[e]:a.xxl)),s=o.ZP.p.withConfig({displayName:"Typography__Paragraph",componentId:"sc-1q42i5u-1"})(["margin-bottom:0.35em;color:",";"," @media ","{font-size:",";}"],(e=>e.color||e.theme.colors.text),(({variant:e})=>e?a[e]:a.body),r.H.desktop,(({fontSize:e})=>e))},6839:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return g}});var o=n(1163),r=n(7294),a=n(5675),i=n(1152),s=n(9770),c=n(7233),l=n(7855),d=n(8650),h=n(4285),u=n(362),m=n.n(u),p=n(5893);var g=!0;t.default=({seoMetaData:e})=>{const{0:t,1:n}=(0,r.useState)(),{0:u,1:g}=(0,r.useState)(),f=(0,o.useRouter)();return(0,p.jsxs)(r.Fragment,{children:[(0,p.jsx)(l.Z,{metaData:e.metaData}),(0,p.jsxs)("div",{className:m().hero,children:[(0,p.jsx)(i.Z,{children:(0,p.jsxs)("div",{className:m().content,children:[(0,p.jsxs)("hgroup",{children:[(0,p.jsx)(c.X,{as:"h1",color:"white",fontSize:"5rem",children:"Where\u2019s Hot When?"}),(0,p.jsx)(c.X,{color:"white",as:"h2",variant:"xl",children:"The Complete Guide To Holiday Weather"})]}),(0,p.jsxs)("section",{className:m().form,children:[(0,p.jsx)(d.bJ,{placeHolder:"Select destination",onSelect:g,useTypeAhead:!0}),(0,p.jsx)("span",{className:m().andOr,children:" and/or "}),(0,p.jsx)(d.J,{placeHolder:"Select month",onSelect:n})]}),(0,p.jsx)(s.Z,{onClick:()=>{let e,n="";!u&&t?(n=`/choose-when/${t.toLocaleLowerCase()}`,e={pathname:"/choose-when/[month]"}):(n=t?u+t.toLocaleLowerCase():u,e={pathname:"/[...weather]"}),n&&f.push(e,{pathname:n})},disabled:!(t||u),children:"Explore"}),(0,p.jsxs)("section",{className:m().text,children:[(0,p.jsx)(c.n,{color:"white",fontSize:"1.5rem",children:"Planning your next holiday? Take a look at our holiday weather guide to make sure your trip is everything you\u2019ve dreamed it\u2019ll be. The weather is an important part of any holiday and you want to make sure you\u2019ve chosen the right destination at the right time. Whether you\u2019re looking for clear blue skies without much rain or things to be extra warm and sunny, you\u2019ll find all the holiday weather information you\u2019ll need right here."}),(0,p.jsx)(c.n,{color:"white",fontSize:"1.5rem",children:"We\u2019ll help you find the best time of year to travel with accurate holiday weather information for over 200 holiday destinations. From the most popular destinations to secluded and lesser-known resorts, we\u2019ve gathered weather data from all over. Browse our holiday weather guide for monthly averages according to your chosen destination or the time of the year you want to travel. This handy guide is designed to help you plan the best holiday as possible, so what are you waiting for?"})]})]})}),(0,p.jsx)(a.default,{src:`${h.sb}/img/home-bg.jpeg`,alt:"Weather home page",objectFit:"cover",layout:"fill",loader:e=>`${e.src}`,priority:!0,loading:"eager"})]})]})}},6785:function(e,t){"use strict";var n;!function(e){e[e.January=0]="January",e[e.February=1]="February",e[e.March=2]="March",e[e.April=3]="April",e[e.May=4]="May",e[e.June=5]="June",e[e.July=6]="July",e[e.August=7]="August",e[e.September=8]="September",e[e.October=9]="October",e[e.November=10]="November",e[e.December=11]="December"}(n||(n={})),t.Z=n},7569:function(e,t,n){"use strict";n.d(t,{H:function(){return o}});const o={mobile:`max-width: ${320}px`,tablet:`(min-width: ${600+1}px)`,desktop:`(min-width: ${960+1}px)`,largeDesktop:`(min-width: ${1280+1}px)`}},8366:function(e,t,n){"use strict";n.d(t,{e7:function(){return r},Ez:function(){return a},T1:function(){return i},cG:function(){return s}});var o=n(6785);const r=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],a=e=>{if(e)return e[0].toUpperCase()+e.substring(1)},i=e=>a(e)in o.Z,s=e=>{const t=[];for(const n in o.Z)isNaN(Number(n))||t.push({label:o.Z[n],value:o.Z[n],selected:(null===e||void 0===e?void 0:e.toLocaleLowerCase())==o.Z[n].toLocaleLowerCase()});return t}},5301:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return n(6839)}])},362:function(e){e.exports={hero:"WeatherHomepage_hero__IKN3E",content:"WeatherHomepage_content__11jgA",text:"WeatherHomepage_text__1h9CB",form:"WeatherHomepage_form__3g8y7",andOr:"WeatherHomepage_andOr__2upTC"}}},function(e){e.O(0,[345,650,774,888,179],(function(){return t=5301,e(e.s=t);var t}));var t=e.O();_N_E=t}]);