1"use strict";(globalThis.__LOADABLE_LOADED_CHUNKS__||=[]).push([[5367],{81853(e,t,o){var s=o(27118);const r={selectHTCity:e=>({type:s.nF.selectHTCity,city:e})};o.d(t,["A",0,r])},12724(e,t,o){o.d(t,{A:()=>y});var s=o(20305),r=(o(22155),o(9574)),n=o(60807),l=o(19682),i=o(99110),a=o(67860),c=o(29689),p=o(82307),d=o(80731),f=o(18117),h=o(30677),u=o(47381),x=o(92441);const m=r.StyleSheet.create({container:{position:"relative",display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"center",padding:"20px",gap:"20px",borderTop:`1px solid ${x.A.base.white("0.1")}`,[d.A.app.breakpoints.medium]:{alignItems:"center",padding:"32px",gap:"32px",border:"none"}},content:{display:"flex",flexDirection:"column",alignItems:"flex-start",gap:"6px",[d.A.app.breakpoints.medium]:{gap:"10px"}},terms:{color:u.A.greyish,":nth-child(1n) a":{fontWeight:"unset",textDecoration:"underline",color:"inherit"}},imageContainer:{display:"flex",alignItems:"flex-start",minWidth:"92px",height:"92px",transform:"translateY(-6px)",[d.A.app.breakpoints.medium]:{minWidth:"140px",height:"140px"},":nth-child(1n) img":{maxWidth:"100%",height:"auto"}},gradient:{position:"absolute",width:"360px",height:"360px",borderRadius:"285px",top:"50%",left:"50%",transform:"translate(-100%, -50%)",background:"rgba(163, 24, 178, 0.10)",filter:"blur(55px)",[d.A.app.breakpoints.medium]:{width:"572px",height:"572px"}},mask:{position:"absolute",height:"100%",width:"100%",overflow:"hidden",pointerEvents:"none"}});var g=o(65723);const y=()=>{const e=(0,s.c)(31),{largeScreen:t,launchModals:o}=(0,l.SI)(A);let u,x,y,b,P,v,S,w,C,k,_,F;if(e[0]!==t||e[1]!==o?.modals){k=Symbol.for("react.early_return_sentinel");e:{const s=o?.modals?.find(j);if(!o?.modals?.length||!s){k=null;break e}const l=s.title_text,A=s.body_text,_=s.terms_text,F=i.ed[s.modal_type]?.homeSectionBackground;if(e[12]!==F){const t=r.StyleSheet.create({background:F?{background:F}:{}});v=(0,r.css)(m.container,t.background),e[12]=F,e[13]=v}else v=e[13];let L;S="launch-modal-section",e[14]===Symbol.for("react.memo_cache_sentinel")?(w=(0,g.jsx)("div",{className:(0,r.css)(m.mask),children:(0,g.jsx)("div",{className:(0,r.css)(m.gradient)})}),L=(0,r.css)(m.imageContainer),e[14]=L,e[15]=w):(L=e[14],w=e[15]);const E=t?150:100;e[16]!==E?(C=(0,g.jsx)("div",{className:L,children:(0,g.jsx)(h.A,{size:E})}),e[16]=E,e[17]=C):C=e[17],e[18]===Symbol.for("react.memo_cache_sentinel")?(u=(0,r.css)(m.content),e[18]=u):u=e[18],x=(0,g.jsx)(n.A,{activeModal:s}),y=l&&(0,g.jsx)(p.A,{extendedStyles:{fontSize:"18px",lineHeight:"24px",[d.A.app.breakpoints.medium]:{fontSize:"26px",lineHeight:"30px"}},heading:"h2",weight:"bd",children:l}),b=t&&A&&(0,g.jsx)(a.A,{children:A}),P=_&&(0,g.jsx)(f.A,{extendedStyles:{fontSize:"10px",lineHeight:"14px",[d.A.app.breakpoints.medium]:{fontSize:"12px",lineHeight:"16px"}},children:(0,g.jsx)("span",{className:(0,r.css)(m.terms),children:(0,c.S)(_)})})}e[0]=t,e[1]=o?.modals,e[2]=u,e[3]=x,e[4]=y,e[5]=b,e[6]=P,e[7]=v,e[8]=S,e[9]=w,e[10]=C,e[11]=k}else u=e[2],x=e[3],y=e[4],b=e[5],P=e[6],v=e[7],S=e[8],w=e[9],C=e[10],k=e[11];return k!==Symbol.for("react.early_return_sentinel")?k:(e[19]!==u||e[20]!==x||e[21]!==y||e[22]!==b||e[23]!==P?(_=(0,g.jsxs)("div",{className:u,children:[x,y,b,P]}),e[19]=u,e[20]=x,e[21]=y,e[22]=b,e[23]=P,e[24]=_):_=e[24],e[25]!==_||e[26]!==v||e[27]!==S||e[28]!==w||e[29]!==C?(F=(0,g.jsxs)("div",{className:v,"data-aid":S,children:[w,C,_]}),e[25]=_,e[26]=v,e[27]=S,e[28]=w,e[29]=C,e[30]=F):F=e[30],F)};function A(e){return{largeScreen:e?.app?.largeScreen,launchModals:e?.launchModals}}function j(e){return i.ed[e?.modal_type]?.displayHomeSection}},98303(e,t,o){var s=o(20305),r=(o(22155),o(65723));o.d(t,["A",0,()=>{const e=(0,s.c)(6);let t,o,n,l,i,a;return e[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,r.jsx)("title",{children:"Google Play Store"}),e[0]=t):t=e[0],e[1]===Symbol.for("react.memo_cache_sentinel")?(o=(0,r.jsxs)("linearGradient",{id:"gogole-a",x1:"91.683%",x2:"-38.413%",y1:"4.677%",y2:"71.806%",children:[(0,r.jsx)("stop",{offset:"0%",stopColor:"#00A1FF"}),(0,r.jsx)("stop",{offset:"26.01%",stopColor:"#00BEFF"}),(0,r.jsx)("stop",{offset:"51.22%",stopColor:"#00D2FF"}),(0,r.jsx)("stop",{offset:"76.04%",stopColor:"#00DFFF"}),(0,r.jsx)("stop",{offset:"100%",stopColor:"#00E3FF"})]}),e[1]=o):o=e[1],e[2]===Symbol.for("react.memo_cache_sentinel")?(n=(0,r.jsxs)("linearGradient",{id:"gogole-b",x1:"107.998%",x2:"-130.395%",y1:"49.535%",y2:"49.535%",children:[(0,r.jsx)("stop",{offset:"0%",stopColor:"#FFE000"}
1),(0,r.jsx)("stop",{offset:"40.87%",stopColor:"#FFBD00"}),(0,r.jsx)("stop",{offset:"77.54%",stopColor:"#FFA500"}),(0,r.jsx)("stop",{offset:"100%",stopColor:"#FF9C00"})]}),e[2]=n):n=e[2],e[3]===Symbol.for("react.memo_cache_sentinel")?(l=(0,r.jsxs)("linearGradient",{id:"gogole-c",x1:"86.472%",x2:"-50.626%",y1:"17.638%",y2:"195.596%",children:[(0,r.jsx)("stop",{offset:"0%",stopColor:"#FF3A44"}),(0,r.jsx)("stop",{offset:"100%",stopColor:"#C31162"})]}),e[3]=l):l=e[3],e[4]===Symbol.for("react.memo_cache_sentinel")?(i=(0,r.jsxs)("defs",{children:[o,n,l,(0,r.jsxs)("linearGradient",{id:"gogole-d",x1:"-19.128%",x2:"42.092%",y1:"-53.645%",y2:"24.959%",children:[(0,r.jsx)("stop",{offset:"0%",stopColor:"#32A071"}),(0,r.jsx)("stop",{offset:"6.85%",stopColor:"#2DA771"}),(0,r.jsx)("stop",{offset:"47.62%",stopColor:"#15CF74"}),(0,r.jsx)("stop",{offset:"80.09%",stopColor:"#06E775"}),(0,r.jsx)("stop",{offset:"100%",stopColor:"#00F076"})]})]}),e[4]=i):i=e[4],e[5]===Symbol.for("react.memo_cache_sentinel")?(a=(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%",viewBox:"0 -4 137 157",children:[t,i,(0,r.jsxs)("g",{fill:"none",fillRule:"evenodd",children:[(0,r.jsx)("path",{fill:"url(#gogole-a)",d:"M2.746 6.39C1.02 8.181 0 10.972 0 14.592v129.133c0 3.62 1.02 6.406 2.746 8.204l.433.42 73.483-72.335v-1.71L3.18 5.963l-.433.426z",transform:"translate(0 -4)"}),(0,r.jsx)("path",{fill:"url(#gogole-b)",d:"M76.662 78.304v1.711l24.489 24.122.563-.31 29.014-16.238c8.291-4.63 8.291-12.222 0-16.858l-29.014-16.233-.557-.31-24.495 24.116z",transform:"translate(0 -4)"}),(0,r.jsx)("path",{fill:"url(#gogole-c)",d:"M2.746 151.93c2.728 2.85 7.242 3.2 12.324.362l86.644-48.465-25.052-24.664L2.746 151.93z",transform:"translate(0 -4)"}),(0,r.jsx)("path",{fill:"url(#gogole-d)",d:"M2.746 6.39l73.916 72.773 25.052-24.67L15.07 6.026c-2.384-1.331-4.644-1.962-6.648-1.962-2.272 0-4.229.812-5.676 2.324",transform:"translate(0 -4)"})]})]}),e[5]=a):a=e[5],a}])},78456(e,t,o){o.d(t,{A:()=>c});var s=o(20305),r=(o(22155),o(9574)),n=o(65723);const l=e=>{const t=(0,s.c)(15),{color:o,emptyColor:r,offset:l,id:i,title:a}=e,c=l?`url(#fill-${i})`:o,p=!a;let d,f,h,u;return t[0]!==a?(d=a&&(0,n.jsx)("title",{children:a}),t[0]=a,t[1]=d):d=t[1],t[2]!==o||t[3]!==r||t[4]!==i||t[5]!==l?(f=l&&(0,n.jsx)("defs",{children:(0,n.jsxs)("linearGradient",{id:`fill-${i}`,children:[(0,n.jsx)("stop",{offset:"0%",stopColor:o}),(0,n.jsx)("stop",{offset:`${l}%`,stopColor:o}),(0,n.jsx)("stop",{offset:`${l}%`,stopColor:r}),(0,n.jsx)("stop",{offset:"100%",stopColor:r})]})}),t[2]=o,t[3]=r,t[4]=i,t[5]=l,t[6]=f):f=t[6],t[7]!==o||t[8]!==c?(h=(0,n.jsx)("path",{fill:c,stroke:o,strokeWidth:"1",d:"M20.388,10.918L32,12.118l-8.735,7.749L25.914,31.4l-9.893-6.088L6.127,31.4l2.695-11.533L0,12.118l11.547-1.2L16.026,0.6L20.388,10.918z"}),t[7]=o,t[8]=c,t[9]=h):h=t[9],t[10]!==p||t[11]!==d||t[12]!==f||t[13]!==h?(u=(0,n.jsxs)("svg",{width:"100%",height:"100%",viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",role:"img","aria-hidden":p,children:[d,f,h]}),t[10]=p,t[11]=d,t[12]=f,t[13]=h,t[14]=u):u=t[14],u};var i=o(80731);const a=r.StyleSheet.create({starIcon:{width:i.A.getREMSize(25),height:i.A.getREMSize(25),marginRight:i.A.getREMSize(3),display:"inline-block"}}),c=e=>{const t=(0,s.c)(6),{color:o,emptyColor:i,rating:c}=e;if(c<1)return null;let p,d;return t[0]!==o||t[1]!==i||t[2]!==c?(p=((e,t,o)=>{const s=[];for(let i=0;i<o;i++){const c=o-i,p=c<1?parseInt(100*c,10):null;if(c<0)return s;const d=0===i;s.push((0,n.jsx)("div",{className:(0,r.css)(a.starIcon),"aria-hidden":!d,children:(0,n.jsx)(l,{color:e,emptyColor:t,offset:p,id:`${o}-${i}`,title:d?`Rating: ${o} out of 5 stars`:""})},i))}return s})(o,i,c),t[0]=o,t[1]=i,t[2]=c,t[3]=p):p=t[3],t[4]!==p?(d=(0,n.jsx)("div",{children:p}),t[4]=p,t[5]=d):d=t[5],d}},10086(e,t,o){o.d(t,{J:()=>n});const s={loggedOut:{title:"Get up to 10% off your stay when you use Apple Pay",dealDescription:"Get 10% off your first-time hotel reservation when you use Apple Pay and enter the promo code APPLEPAYHT at checkout. Already made a booking with HotelTonight? Use Apple Pay and code APPLEPAY to get 5% off your next booking."},nonBooker:{title:"Get 10% off your first stay when you use Apple Pay",dealDescription:"Get 10% off your first-time hotel reservation when you use Apple Pay and enter the promo code APPLEPAYHT at checkout."},booker:{title:"Get 5% off your stay when you use Apple Pay",dealDescription:"Get 5% off your hotel reservation when you use Apple Pay and enter the promo code APPLEPAY at checkout."}},r={loggedOut:{title:"Get up to 10% off your stay with Apple Pay",dealDescription:"10% off your first-time hotel reservation when you use Apple Pay. Enter code APPLEPAYHT at checkout. \n Already booked with HotelTonight? Use Apple Pay and code APPLEPAY to get 5% off your booking."},nonBooker:{title:"Get 10% off your first stay with Apple Pay",dealDescription:"Get 10% off your first-time hotel reservation when you use Apple Pay and enter the promo code APPLEPAYHT at checkout."},booker:{title:"Get 5% off your stay with Apple Pay",dealDescription:"Get 5% off your hotel reservation when you use Apple Pay and enter the promo code APPLEPAY at checkout. "}};function n({applePayCampaignVariant:e,isLargeScreen:t}){return e?t?s[e]:r[e]:null}},64210(e,t,o){var s=o(80116);o.d(t,["VD",0,(e,t)=>{const o="APMarch2024"===new URLSearchParams(t?.search).get("utm_creative"),r=(0,s.E)(e?.app?.country);if(!o||!r)return;const n=!!e.customer.id;if(!n)return"loggedOut";const l=e.account.nightsCount>0;return n&&!l?"nonBooker":n&&l?"booker":void 0}])}}]); 2//# sourceMappingURL=5367-792e743bc76524d67a0c.bundle.js.map
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.