int-components 0.1.9 → 0.1.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.css
CHANGED
|
@@ -1387,9 +1387,9 @@
|
|
|
1387
1387
|
.PromoFeatures-module__item--Y5CKb {
|
|
1388
1388
|
display: grid;
|
|
1389
1389
|
grid-template-rows: subgrid;
|
|
1390
|
-
grid-row: span
|
|
1391
|
-
grid-gap:
|
|
1392
|
-
gap:
|
|
1390
|
+
grid-row: span 3;
|
|
1391
|
+
grid-gap: 12em;
|
|
1392
|
+
gap: 12em;
|
|
1393
1393
|
}
|
|
1394
1394
|
|
|
1395
1395
|
.PromoFeatures-module__icon--GuJuT {
|
|
@@ -1408,15 +1408,14 @@
|
|
|
1408
1408
|
|
|
1409
1409
|
.PromoFeatures-module__title--Tihb3 {
|
|
1410
1410
|
font-weight: 400;
|
|
1411
|
-
font-size: 18em;
|
|
1412
1411
|
line-height: 1;
|
|
1413
1412
|
margin: 0;
|
|
1413
|
+
padding-bottom: 12em;
|
|
1414
|
+
border-bottom: 1px solid #BFBFBF;
|
|
1414
1415
|
}
|
|
1415
1416
|
|
|
1416
|
-
.PromoFeatures-
|
|
1417
|
-
|
|
1418
|
-
height: 1px;
|
|
1419
|
-
background-color: #BFBFBF;
|
|
1417
|
+
.PromoFeatures-module__titleText--KSQ4A {
|
|
1418
|
+
font-size: 18em;
|
|
1420
1419
|
}
|
|
1421
1420
|
|
|
1422
1421
|
.PromoFeatures-module__text--N_eji {
|
|
@@ -1435,7 +1434,7 @@
|
|
|
1435
1434
|
gap: 12em;
|
|
1436
1435
|
}
|
|
1437
1436
|
|
|
1438
|
-
.PromoFeatures-
|
|
1437
|
+
.PromoFeatures-module__titleText--KSQ4A {
|
|
1439
1438
|
font-size: 18em;
|
|
1440
1439
|
}
|
|
1441
1440
|
|
|
@@ -1453,7 +1452,7 @@
|
|
|
1453
1452
|
gap: 16em;
|
|
1454
1453
|
}
|
|
1455
1454
|
|
|
1456
|
-
.PromoFeatures-
|
|
1455
|
+
.PromoFeatures-module__titleText--KSQ4A {
|
|
1457
1456
|
font-size: 22em;
|
|
1458
1457
|
}
|
|
1459
1458
|
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import*as e from"react/jsx-runtime";import*as t from"react";var a={0:(e,t,a)=>{a.d(t,{A:()=>b});var l=a(178),s=a(130),n=a(39),o=a(649);var r,i,c,d,m,u,h,x;function p(){return p=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var l in a)({}).hasOwnProperty.call(a,l)&&(e[l]=a[l])}return e},p.apply(null,arguments)}function _(){return _=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var l in a)({}).hasOwnProperty.call(a,l)&&(e[l]=a[l])}return e},_.apply(null,arguments)}function g(){return g=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var l in a)({}).hasOwnProperty.call(a,l)&&(e[l]=a[l])}return e},g.apply(null,arguments)}function f(){return f=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var l in a)({}).hasOwnProperty.call(a,l)&&(e[l]=a[l])}return e},f.apply(null,arguments)}const v={car:e=>o.createElement("svg",p({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 65 50"},e),r||(r=o.createElement("path",{fill:"#FEDD00",d:"M33.276 9.584h8.532l4.266 1.843 2.715 3.49-29.784 17.93s-4.603-4.465-8.276 0H2.25l1.492-10.085 2.774-9.32 3.878-3.47 9.308-.582z"})),i||(i=o.createElement("path",{stroke:"#000",strokeMiterlimit:10,strokeWidth:2.6,d:"M53.762 19.724H39.474M2.25 33.325l1.669-9.049C7.636 9.606 6.891 9.585 23.639 9.585h15.927a10.36 10.36 0 0 1 7.957 3.718l5.363 6.415h1.68a7.05 7.05 0 0 1 6.551 4.43l1.316 4.67a5 5 0 0 1-.512 4.507l-1.26 1.912m-41.2.72c0 2.57-2.101 4.654-4.694 4.654s-4.694-2.084-4.694-4.654 2.102-4.654 4.694-4.654 4.694 2.083 4.694 4.654Zm32.434 0c0 2.57-2.101 4.654-4.694 4.654s-4.694-2.084-4.694-4.654 2.102-4.654 4.694-4.654 4.694 2.083 4.694 4.654Z"}))),globe:e=>o.createElement("svg",_({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 57 50"},e),c||(c=o.createElement("path",{fill:"#FEDD00",d:"M52.25 15.156 13.447 47.853l-4.35-5.392-3.548-4.13L2 30.988v-8.834l3.549-8.375L11.5 6.78l8.013-3.557 9.5-1.606 6.753.918 5.953 2.18 6.868 4.933z"})),d||(d=o.createElement("path",{stroke:"#000",strokeWidth:2.6,d:"M18.162 17.49a22.5 22.5 0 0 0 8.016 1.47h5.363c2.344 0 4.608-.36 6.744-1.029m-20.123-.44c-3.766-1.432-7.082-3.842-9.667-6.938m9.667 6.938c1.425-8.997 4.885-15.345 8.927-15.345m-8.927 15.345c-.45 2.834-.697 5.93-.697 9.175 0 2.744.177 5.384.504 7.848m-3.232 13.869c-2.843-1.562-4.8-3.716-6.805-6.305-3.26-4.211-5.213-9.573-5.213-15.412 0-6.168 2.18-11.804 5.776-16.113 4.3-5.151 10.629-8.407 17.683-8.407h.911m22.135 8.407c-2.872 3.44-6.647 6.034-10.94 7.378m4.157 30.452a23.8 23.8 0 0 0 7.346-6.305c3.26-4.211 5.212-9.573 5.212-15.412 0-6.168-2.178-11.804-5.776-16.113-4.3-5.151-10.628-8.407-17.682-8.407h-2.252m8.996 15.785c-1.382-9.229-4.888-15.785-8.996-15.785m8.996 15.785c.406 2.714.628 5.658.628 8.735 0 2.576-.156 5.059-.445 7.391M27.09 2.147h2.2M7.932 42.076c2.615-3.377 6.072-6.015 10.037-7.563m31.818 7.564c-2.894-3.738-6.817-6.568-11.319-8.02m0 0a22.5 22.5 0 0 0-6.928-1.087h-5.362a22.5 22.5 0 0 0-8.21 1.543m20.5-.457c-.769 6.205-1.94 11.344-4.166 14.326M17.97 34.514c.795 6 2.477 10.96 4.648 13.869"}))),plane:e=>o.createElement("svg",g({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 59 52"},e),m||(m=o.createElement("path",{fill:"#FEDD00",d:"M36.914 24.713 23.144 36.39 2.527 45.025 1.285 43.37l23.2-20.229V6.574L29.043 1.2l5.385 5.374.456 16.568z"})),u||(u=o.createElement("path",{stroke:"#000",strokeWidth:2.6,d:"m26.066 50.914-.927-15.36-21.685 9.424a1.54 1.54 0 0 1-1.61-2.588l22.579-19.13V6.872c0-.563.195-1.11.552-1.548l2.542-3.114a2.47 2.47 0 0 1 1.846-.91c.688.022 1.369.325 1.846.91l2.542 3.114c.357.438.553.985.553 1.548V23.26l22.578 19.13a1.54 1.54 0 0 1-1.61 2.588l-21.685-9.423-.927 15.36"}))),train:e=>o.createElement("svg",f({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 65 50"},e),h||(h=o.createElement("path",{fill:"#FEDD00",d:"M31.071 9.41H6.292v23.302l9.3-.124 30.459-22.121-5.056-1.056z"})),x||(x=o.createElement("path",{fill:"#000",fillRule:"evenodd",stroke:"#000",strokeWidth:.767,d:"m58.344 25.623-1.69-4.399-.01.005-.169-.465c-.14-.385-1.441-3.918-3.465-6.37l-.004-.001-.084-.102a14 14 0 0 0-.938-.996c-2.788-2.73-6.98-4.26-11.836-4.26H6.129v1.034h34.019c4.014 0 7.587 1.097 10.18 3.157l1.099.874h-9.196c-.3 0-.531.238-.531.517v6.336c0 .28.23.516.53.516h13.384l1.734 4.515a4.1 4.1 0 0 1-.48 3.87 4.22 4.22 0 0 1-3.49 1.807H33.903v1.033h19.272l.003-.003h.203a5.33 5.33 0 0 0 4.367-2.258 5.15 5.15 0 0 0 .596-4.81ZM10.416 15.225c0-.278.231-.516.532-.516h6.733c.3 0 .532.238.532.516v4.768c0 .278-.231.517-.532.517h-6.733a.524.524 0 0 1-.532-.517zm10.466 0c0-.278.23-.516.531-.516h6.92c.3 0 .531.238.531.516v4.768c0 .278-.23.517-.531.517h-6.92a.524.524 0 0 1-.531-.517zm10.348 0c0-.278.23-.516.531-.516h7.285c.3 0 .531.238.531.516v4.768c0 .278-.23.517-.531.517H31.76a.524.524 0 0 1-.531-.517zm21.028-.092h-9.496v5.303h12.46l-.3-.686c-.522-1.195-1.398-2.983-2.517-4.427zm-35.112.609h-5.67v3.734h5.67zm10.656 0h-5.858v3.734h5.858zm10.712 0h-6.222v3.734h6.222zM6.13 32.694v-1.033h9.161v1.033zm11.185 3.72v-1.006H58.87v1.033h-4.199v3.49h4.2v1.033H6.128v-1.033h3.55v-3.49H6.13v-1.033h10.204v1.006zm-1.022.027h-5.55v3.49h5.55zm5.94 0h-4.878v3.49h4.877zm6.427 0h-5.365v3.49h5.365zm6.245 0h-5.183v3.49h5.183zm6.183 0h-5.12v3.49h5.12zm6.368 0H42.15v3.49h5.306zm6.155 0h-5.092v3.49h5.092z",clipRule:"evenodd"})))},b=({className:e,features:t,fluidMode:a,mobileIconHeight:r="40em",tabletIconHeight:i="50em",desktopIconHeight:c="50em"})=>{const d=(0,s.u)(a),m={"--promo-icon-height-mobile":r,"--promo-icon-height-tablet":i,"--promo-icon-height-desktop":c};return(0,l.jsx)("ul",{className:(0,n.L)("PromoFeatures-module__root--DJbC2",d,e),style:m,children:t.map(e=>(0,l.jsxs)("li",{className:"PromoFeatures-module__item--Y5CKb",children:[(0,l.jsx)("div",{className:"PromoFeatures-module__icon--GuJuT",children:e.icon?o.default.createElement(v[e.icon]):e.iconSrc?(0,l.jsx)("img",{src:e.iconSrc,alt:e.title}):null}),(0,l.jsx)("h3",{className:"PromoFeatures-module__title--Tihb3",dangerouslySetInnerHTML:{__html:e.title}}),(0,l.jsx)("div",{className:"PromoFeatures-module__divider--vfd6P"}),(0,l.jsx)("p",{className:"PromoFeatures-module__text--N_eji",dangerouslySetInnerHTML:{__html:e.text}})]},e.title))})}},26:(e,t,a)=>{a.d(t,{A:()=>m});var l=a(178),s=a(39);const n="SectionTitle-module__title--uw_Rp";var o=a(130);const r={left:"SectionTitle-module__left--fJSYS",center:"SectionTitle-module__center--JEIDM"},i={left:"SectionTitle-module__leftMobile--_VKay",center:"SectionTitle-module__centerMobile--Rnb_P"},c={left:"SectionTitle-module__leftTablet--Uftlk",center:"SectionTitle-module__centerTablet--Eh73B"},d={left:"SectionTitle-module__leftDesktop--RJrMW",center:"SectionTitle-module__centerDesktop--xng2q"},m=({className:e="",children:t,align:a="left",alignMobile:m,alignTablet:u,alignDesktop:h,fsMobile:x,fsTablet:p,fsDesktop:_,fluidMode:g,as:f="h2",...v})=>{const b=(0,o.u)(g),j={...x&&{"--title-fs-mobile":x},...p&&{"--title-fs-tablet":p},..._&&{"--title-fs-desktop":_}};return(0,l.jsx)("div",{...v,className:(0,s.L)(n,b,r[a],m&&i[m],u&&c[u],h&&d[h],e),style:j,children:(0,l.jsx)(f,{className:n,children:(0,l.jsx)("span",{className:"SectionTitle-module__titleText--l9CQA",children:t})})})}},39:(e,t,a)=>{a.d(t,{L:()=>l});const l=(...e)=>e.filter(Boolean).join(" ")},67:(e,t,a)=>{a.d(t,{A:()=>l.A});var l=a(110)},93:(e,t,a)=>{a.d(t,{A:()=>r});var l=a(178),s=a(130),n=a(39),o=a(670);const r=({className:e,title:t,subtitle:a,hotels:r,fluidMode:i,...c})=>{const d=(0,s.u)(i);return(0,l.jsxs)("section",{...c,className:(0,n.L)("HotelsSection-module__hotels--hGJyx",d,e),children:[t||a?(0,l.jsxs)("header",{className:"HotelsSection-module__hotelsHeader--l_Qr5",children:[t&&(0,l.jsx)("h2",{className:"HotelsSection-module__hotelsTitle--zeGAj",children:t}),a&&(0,l.jsx)("p",{className:"HotelsSection-module__hotelsSubtitle--EAJhs",children:a})]}):null,(0,l.jsx)("ul",{className:"HotelsSection-module__hotelsList--jWxYc",children:r.map(e=>(0,l.jsx)("li",{children:(0,l.jsx)(o.A,{className:"HotelsSection-module__hotelCard--aCwpN",name:e.name,location:e.location,stars:e.stars,image:e.image,dates:e.dates,discountText:e.discountText,url:e.url,fluidMode:i})},e.name))})]})}},94:(e,t,a)=>{a.d(t,{A:()=>N});var l,s=a(178),n=a(268),o=a(130),r=a(39),i=a(649);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 l in a)({}).hasOwnProperty.call(a,l)&&(e[l]=a[l])}return e},c.apply(null,arguments)}const d=e=>i.createElement("svg",c({xmlns:"http://www.w3.org/2000/svg",width:28,height:28,fill:"none"},e),l||(l=i.createElement("path",{fill:"#8C1EFF",d:"M.32 9.41h28v2h-28zM.32 17.41h28v2h-28z"})));var m,u;function h(){return h=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var l in a)({}).hasOwnProperty.call(a,l)&&(e[l]=a[l])}return e},h.apply(null,arguments)}const x=e=>i.createElement("svg",h({xmlns:"http://www.w3.org/2000/svg",width:28,height:28,fill:"none"},e),m||(m=i.createElement("path",{fill:"#8C1EFF",d:"m4.807 3.394 19.799 19.799-1.414 1.414-19.8-19.8z"})),u||(u=i.createElement("path",{fill:"#8C1EFF",d:"m3.393 23.193 19.799-19.8 1.414 1.415L4.807 24.607z"})));var p,_,g;function f(){return f=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var l in a)({}).hasOwnProperty.call(a,l)&&(e[l]=a[l])}return e},f.apply(null,arguments)}const v={root:"Header-module__root--MyGKu",header:"Header-module__header--Ie2CT",hidden:"Header-module__hidden--gobBG",compactHeader:"Header-module__compactHeader--LsvY9",visible:"Header-module__visible--ococB",light:"Header-module__light--e8MFJ",dark:"Header-module__dark--mJEmI",yellow:"Header-module__yellow--W7Vw1",leftContainer:"Header-module__leftContainer--T8NI2",rightContainer:"Header-module__rightContainer--ZvsQ0",navList:"Header-module__navList--ikTYl",menuLink:"Header-module__menuLink--yDAEH",menuLinkText:"Header-module__menuLinkText--MV8k7",subMenuOpener:"Header-module__subMenuOpener--7Gf68",subMenuOpenerActive:"Header-module__subMenuOpenerActive--hM0jl",subNavList:"Header-module__subNavList--opWlU",subNavListOpened:"Header-module__subNavListOpened--mebR2",burgerMenuContainer:"Header-module__burgerMenuContainer--GmhQc",burgerMenuButton:"Header-module__burgerMenuButton--sm0Lo",burgerMenu:"Header-module__burgerMenu--SUEsD",logo:"Header-module__logo--V8O4g",burgerButtons:"Header-module__burgerButtons--gDROa",separator:"Header-module__separator--lw7LB"},b="burger-menu",j="sub-menu",w=(0,s.jsx)("a",{href:"https://www.ratehawk.com/",target:"_blank",rel:"noreferrer",children:(0,s.jsx)(e=>i.createElement("svg",f({xmlns:"http://www.w3.org/2000/svg",height:61,fill:"none",viewBox:"0 0 202 61"},e),p||(p=i.createElement("path",{fill:"var(--general-color)",d:"m162.762 38.47-2.883-18.28h-7.867l-3.517 22.29h4.857l.026-.178.187-1.397.325-2.435h4.113l.517 3.877.018.134h4.857l-.111-.708zm-8.306-4.16 1.489-10.848 1.49 10.848zM179.455 38.5l-1.997-18.31h-6.079l-1.876 18.34-1.431-18.34h-4.618l2.414 22.29h6.854l1.757-18.336 1.848 18.337h6.764l2.413-22.29h-4.62zM196.7 30.654l4.41-10.463h-5.274l-3.693 10.611V20.191h-5.007v22.29h5.007V31.842l3.635 10.639h5.542zM81.256 30.253q1.028-1.324 1.028-3.402v-.861q0-1.9-.848-3.18-.85-1.279-2.338-1.947-1.491-.67-3.398-.67h-7.45v22.29h5.006V31.517l4.022 10.966h5.571L78.53 32.17q1.701-.598 2.727-1.918m-3.978-2.99q-.001 1.488-.611 2.141-.612.655-1.654.655h-1.757v-3.654a2.055 2.055 0 0 0-2.058-2.052h3.8149999999999995q1.042 0 1.654.549.61.55.61 1.946zM94.679 20.19h-7.867L83.93 38.47l-.634 4.01h4.858l.535-4.01h4.113l.535 4.01h4.857l-.633-4.01zm-5.423 14.12 1.49-10.848 1.49 10.848zM97.752 24.502h3.633V42.48h5.067V24.5h3.635v-4.31H97.752zM111.871 24.502V42.48h11.144v-4.309h-6.138v-4.905h6.138V28.96h-6.138v-4.457h6.138V20.19h-11.144zM141.791 28.87h-4.469v-8.68h-5.064v22.288h5.064v-7.216a2.055 2.055 0 0 0-2.057-2.053h6.526v9.272h5.064V20.19h-5.064z"})),_||(_=i.createElement("path",{fill:"var(--logo-accent-color)",d:"M56.213 18.304 38.056 7.849 25.143.41l3.572 4.999c.833 1.165-.43 2.679-1.732 2.07L15.695 2.197l22.36 17.418s8.481 6.433 11.26 8.735c.493.408.829.974.95 1.604l.868 4.557c.9 4.284-.762 5.893-2.368 6.857l-1.981 1.184.31-2.425c.124-.932-.076-1.3-.636-1.637l-4.84-2.697a2.3 2.3 0 0 0-.901-.297C37.487 35.054.32 29.801.32 29.801l17.228 5.767c1.359.455 1.23 2.412-.176 2.686l-5.264 1.033 24.024 13.89a4.2 4.2 0 0 0 4.186.004c4.062-2.331 12.88-7.393 15.88-9.123a4.18 4.18 0 0 0 2.093-3.603c.018-5.504.018-18.533.018-18.533a4.17 4.17 0 0 0-2.096-3.618"})),g||(g=i.createElement("path",{fill:"var(--logo-accent-color)",d:"M44.752 32.185a1.54 1.54 0 0 0 2.022.8c.553-.238.886-.765.917-1.326l-6.62-3.918s-.065.377.144.576c.22.21 2.583 2.181 3.464 2.916-.076.308-.06.64.073.952"}))),{className:v.logo})}),N=({theme:e="dark",className:t="",menu:a,subMenu:l,extraRightContent:c,fluidMode:m,zIndex:u=1,onLoginClick:h,onRegisterClick:p,style:_,...g})=>{const f=(0,o.u)(m),N=v[e],y=l&&l.length>0,[C,M]=(0,i.useState)(!1),[T,L]=(0,i.useState)(!1),[H,S]=(0,i.useState)(!1),[E,F]=(0,i.useState)(!1),A=(0,i.useRef)(null),B=(0,i.useRef)(null),O=a?.map(k)||[];let z=O;if(y){const e=l?.map(k)||[];z=[...O,(0,s.jsxs)("li",{children:[(0,s.jsx)("button",{type:"button",onClick:()=>S(!H),className:(0,r.L)(v.menuLink,f,v.subMenuOpener,j,H?v.subMenuOpenerActive:""),children:(0,s.jsx)("span",{className:v.menuLinkText,children:"More"})}),(0,s.jsx)("ul",{className:(0,r.L)(v.subNavList,H?v.subNavListOpened:"",j),children:e})]},"submenu")],O.push(...e)}const D=(0,i.useCallback)((()=>{let e=!1;return(...t)=>{e||((()=>{if(!A.current||!B.current)return;const e=B.current.getBoundingClientRect().right,t=A.current.getBoundingClientRect().left-e<20;M(t),F(!0),t?S(!1):L(!1)})(...t),e=!0,setTimeout(()=>{e=!1},100))}})(),[]),P=(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.A,{theme:"secondary",variant:"dark"===e?"white":"black",url:"https://www.ratehawk.com/accounts/login/?lang=en&ref=rh_sign_in",onClick:h,children:"Sign in"}),(0,s.jsx)(n.A,{url:"https://www.ratehawk.com/registration/?lang=en&ref=rh_register",onClick:p,children:"Register"})]}),I=(0,i.useCallback)(e=>{if(!(e.target instanceof HTMLElement))return;const t=e.target.closest(`.${b}`),a=e.target.closest(`.${j}`);t||L(!1),a||S(!1)},[]);return(0,i.useEffect)(()=>(window.addEventListener("resize",D),window.addEventListener("click",I),D(),()=>{window.removeEventListener("resize",D),window.removeEventListener("click",I)}),[D,I]),(0,s.jsxs)("div",{...g,className:(0,r.L)(v.root,t,N,f),style:{..._,zIndex:u},children:[(0,s.jsxs)("div",{className:(0,r.L)(v.header,v.wideHeader,C?v.hidden:""),children:[(0,s.jsxs)("div",{className:v.leftContainer,ref:B,children:[w,(0,s.jsx)("nav",{className:v.navMenu,children:(0,s.jsx)("ul",{className:v.navList,children:z})})]}),(0,s.jsxs)("div",{className:(0,r.L)(v.rightContainer,!E&&v.hidden),ref:A,children:[c,P]})]}),(0,s.jsxs)("div",{className:(0,r.L)(v.header,v.compactHeader,C?v.visible:""),children:[(0,s.jsx)("div",{className:v.leftContainer,children:w}),(0,s.jsxs)("div",{className:v.rightContainer,children:[c,(0,s.jsx)("div",{className:v.burgerMenuContainer,children:(0,s.jsx)("button",{className:v.burgerMenuButton,onClick:()=>L(!T),type:"button",children:T?(0,s.jsx)(x,{}):(0,s.jsx)(d,{})})})]}),T&&(0,s.jsxs)("div",{className:(0,r.L)(v.burgerMenu,b),children:[O.length?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("nav",{className:v.navMenu,children:(0,s.jsx)("ul",{className:v.navList,children:O})}),(0,s.jsx)("div",{className:v.separator})]}):null,(0,s.jsx)("div",{className:v.burgerButtons,children:P})]})]})]})};function k(e){const t=e.url?"a":"button",a=e.url?{target:"_blank",href:e.url}:{type:"button"};return(0,s.jsx)("li",{children:(0,s.jsx)(t,{className:v.menuLink,onClick:e.onClick,...a,children:(0,s.jsx)("span",{className:v.menuLinkText,children:e.title})})},e.title)}},110:(e,t,a)=>{a.d(t,{A:()=>u});var l,s,n=a(178),o=a(130),r=a(39),i=a(649);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 l in a)({}).hasOwnProperty.call(a,l)&&(e[l]=a[l])}return e},c.apply(null,arguments)}const d=e=>i.createElement("svg",c({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 98 91"},e),l||(l=i.createElement("path",{fill:"#FEDD00",d:"M94.277 30.26 63.65 12.58 41.87 0l6.025 8.453c1.406 1.972-.724 4.53-2.921 3.5l-19.04-8.93L63.65 32.48s14.304 10.88 18.993 14.772a4.67 4.67 0 0 1 1.601 2.713l1.465 7.708c1.516 7.243-1.286 9.964-3.995 11.595l-3.342 2.002.523-4.101c.21-1.576-.127-2.198-1.073-2.768l-8.163-4.56c-.468-.282-.98-.431-1.52-.503C62.692 58.587 0 49.704 0 49.704l29.06 9.752c2.29.77 2.073 4.08-.299 4.544l-8.878 1.746 40.523 23.489a7.07 7.07 0 0 0 7.06.008C74.318 85.3 89.192 76.741 94.25 73.815a7.07 7.07 0 0 0 3.53-6.094c.03-9.309.03-31.342.03-31.342a7.06 7.06 0 0 0-3.534-6.119"})),s||(s=i.createElement("path",{fill:"#FEDD00",d:"M74.944 53.737a2.594 2.594 0 0 0 3.41 1.354 2.59 2.59 0 0 0 1.547-2.244L68.735 46.22s-.11.639.243.975c.37.353 4.356 3.688 5.842 4.931a2.54 2.54 0 0 0 .124 1.61"}))),m="HeroSection-module__sloganText--_hwUn",u=({className:e,style:t,yellowText:a,whiteText:l,showLogo:s=!0,backgroundMobile:i,backgroundDesktop:c,backgroundDesktop2x:u,fluidMode:h,textAlign:x="right",...p})=>{const _=(0,o.u)(h);return(0,n.jsx)("section",{...p,className:(0,r.L)("HeroSection-module__hero--lpuv4",e,_),style:{...t,"--background-mobile":`url("${i}")`,"--background-desktop":`url("${c}")`,"--background-desktop-2x":`url("${u}")`,"--slogan-text-align":x,"--slogan-align-items":"left"===x?"flex-start":"center"===x?"center":"flex-end","--slogan-justify-content":"left"===x?"start":"center"===x?"center":"end"},children:(0,n.jsx)("div",{className:"HeroSection-module__heroContainer--brVZ4",children:(0,n.jsxs)("div",{className:"HeroSection-module__slogan--rRTe6",children:[a&&(0,n.jsx)("div",{className:(0,r.L)(m,"HeroSection-module__sloganYellow--lIwpd"),dangerouslySetInnerHTML:{__html:a}}),l&&(0,n.jsx)("div",{className:(0,r.L)(m,"HeroSection-module__sloganWhite--SWr8l"),dangerouslySetInnerHTML:{__html:l}}),s&&(0,n.jsx)(d,{className:"HeroSection-module__heroLogo--t3ggG"})]})})})}},130:(e,t,a)=>{a.d(t,{N:()=>s,u:()=>n}),a(178);var l=a(992);const s=({children:e,fluidMode:t=!1})=>{fluidModeState.state=t;const a=`\n ${t?fluidLayoutCss:staticLayoutCss};\n `;return _jsxs(_Fragment,{children:[_jsx("style",{dangerouslySetInnerHTML:{__html:a}}),e]})},n=e=>(e=>{if("boolean"==typeof e)return e;if("undefined"!=typeof document){const e=document.documentElement.getAttribute("data-fluid-mode");if(null!==e)return"true"===e}return l.b.state})(e)?"layout-module__fluidLayout--BNE04":"layout-module__staticLayout--x_6dR"},178:(t,a,l)=>{var s,n;t.exports=(s={Fragment:()=>e.Fragment,jsx:()=>e.jsx,jsxs:()=>e.jsxs},n={},l.d(n,s),n)},268:(e,t,a)=>{a.d(t,{A:()=>r});var l=a(178),s=a(130),n=a(39);const o={text:"Button-module__text--holIg",root:"Button-module__root--Knp7O",hidden:"Button-module__hidden--Q6Ztq",s:"Button-module__s--o9reb",m:"Button-module__m--ZGRqJ",withMediaDimension:"Button-module__withMediaDimension--Z_A5M",primary:"Button-module__primary--V9FFQ",purple:"Button-module__purple--biF8d",black:"Button-module__black--Iz790",secondary:"Button-module__secondary--_9J0r",white:"Button-module__white--l3jcr",isLoading:"Button-module__isLoading--u5f2m",spinner:"Button-module__spinner--Zj28d",spin:"Button-module__spin--lWtk7"},r=({className:e,children:t,dimension:a="s",theme:r="primary",onClick:i,disabled:c=!1,type:d="button",variant:m="purple",url:u,isLoading:h,enableMediaDimension:x=!0,fluidMode:p,..._})=>{const g=o[a]||"",f=o[r]||"",v=o[m],b=(0,s.u)(p),j=x?o.withMediaDimension:"",w=u?"a":"button",N=u?{target:"_blank",href:u}:{type:d},k=h?o.isLoading:"";return(0,l.jsxs)(w,{...N,..._,onClick:i,className:(0,n.L)(o.root,e,b,g,f,k,v,j),disabled:c,children:[h?(0,l.jsx)("span",{className:o.spinner}):null,(0,l.jsx)("span",{className:(0,n.L)(o.text,h?o.hidden:null),children:t})]})}},374:(e,t,a)=>{a.d(t,{A:()=>L});var l,s=a(178),n=a(268),o=a(744),r=a(39),i=a(649);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 l in a)({}).hasOwnProperty.call(a,l)&&(e[l]=a[l])}return e},c.apply(null,arguments)}const d=e=>i.createElement("svg",c({xmlns:"http://www.w3.org/2000/svg",width:31,height:31,fill:"none"},e),l||(l=i.createElement("path",{stroke:"#fff",strokeWidth:2,d:"M15.207 29.967c-7.732 0-14-6.268-14-14s6.268-14 14-14 14 6.268 14 14-6.268 14-14 14Zm0 0v-16a4 4 0 0 1 4-4h1m-10 8h10"})));var m;function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var l in a)({}).hasOwnProperty.call(a,l)&&(e[l]=a[l])}return e},u.apply(null,arguments)}const h=e=>i.createElement("svg",u({xmlns:"http://www.w3.org/2000/svg",width:31,height:31,fill:"none"},e),m||(m=i.createElement("path",{stroke:"#fff",strokeWidth:2,d:"M9.54 12.967v10m12 0v-5a4 4 0 1 0-8 0v5-10m-5-3h2m-7-8h24a2 2 0 0 1 2 2v24a2 2 0 0 1-2 2h-24a2 2 0 0 1-2-2v-24a2 2 0 0 1 2-2Z"})));var x=a(130);const p=/^([^\x00-\x20\x22\x28\x29\x2c\x2e\x3a-\x3c\x3e\x40\x5b-\x5d\x7f-\xff]+|\x22([^\x0d\x22\x5c\x80-\xff]|\x5c[\x00-\x7f])*\x22)(\x2e([^\x00-\x20\x22\x28\x29\x2c\x2e\x3a-\x3c\x3e\x40\x5b-\x5d\x7f-\xff]+|\x22([^\x0d\x22\x5c\x80-\xff]|\x5c[\x00-\x7f])*\x22))*\x40([^\x00-\x20\x22\x28\x29\x2c\x2e\x3a-\x3c\x3e\x40\x5b-\x5d\x7f-\xff]+|\x5b([^\x0d\x5b-\x5d\x80-\xff]|\x5c[\x00-\x7f])*\x5d)(\x2e([^\x00-\x20\x22\x28\x29\x2c\x2e\x3a-\x3c\x3e\x40\x5b-\x5d\x7f-\xff]+|\x5b([^\x0d\x5b-\x5d\x80-\xff]|\x5c[\x00-\x7f])*\x5d))*$/;var _;function g(){return g=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var l in a)({}).hasOwnProperty.call(a,l)&&(e[l]=a[l])}return e},g.apply(null,arguments)}const f=e=>i.createElement("svg",g({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,stroke:"currentColor",strokeWidth:1.5},e),_||(_=i.createElement("path",{d:"m4 4 16 16m0-16L4 20"}))),v="ContactModal-module__field--c99HI",b="ContactModal-module__inputWrapper--e2l3N",j="ContactModal-module__inputWrapperError--s_bqB",w="ContactModal-module__input--wuaB7",N="ContactModal-module__error--jso6D",k=({isOpen:e,onClose:t,fluidMode:a})=>{const l=(0,x.u)(a),[o,c]=(0,i.useState)({firstName:"",phone:"",email:"",companyName:"",message:""}),[d,m]=(0,i.useState)(!1),[u,h]=(0,i.useState)(!1),[_,g]=(0,i.useState)({}),k=(0,i.useCallback)(()=>{const e={};return o.firstName.trim()||(e.firstName="First Name is required"),o.phone.trim()?o.phone.replace(/\D/g,"").length>=7||(e.phone="Phone must contain at least 7 digits"):e.phone="Phone is required",o.email.trim()?function(e){return p.test(e)}(o.email)||(e.email="Please enter a valid email"):e.email="Email is required",o.companyName.trim()||(e.companyName="Company Name is required"),g(e),0===Object.keys(e).length},[o]),y=(0,i.useCallback)(async e=>{if(e.preventDefault(),k()){m(!0);try{const e={brand:"ratehawk",cooperation_type:"api",kind:"b2b",white_label_slug:"ratehawk",email:o.email,message:o.message,company_name:o.companyName,name:o.firstName,phone:o.phone};if(!(await fetch("https://www.ratehawk.com/partner/user_area/v1/anonymous/contact_us/",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)})).ok)throw new Error("Failed to submit form");h(!0)}catch(e){console.error("Form submission error:",e)}finally{m(!1)}}},[o,k]),C=(0,i.useCallback)(e=>t=>{c(a=>({...a,[e]:t.target.value})),_[e]&&g(t=>({...t,[e]:void 0}))},[_]),M=(0,i.useCallback)(()=>{c({firstName:"",phone:"",email:"",companyName:"",message:""}),g({}),h(!1),t()},[t]);return e?(0,s.jsx)("div",{className:(0,r.L)("ContactModal-module__overlay--ti1yT",l),onClick:M,children:(0,s.jsxs)("div",{className:"ContactModal-module__modal--Xzwl2",onClick:e=>e.stopPropagation(),children:[(0,s.jsx)("button",{className:(0,r.L)("ContactModal-module__closeButton--qvADd",l),onClick:M,type:"button",children:(0,s.jsx)(f,{})}),u?(0,s.jsxs)("div",{className:"ContactModal-module__successMessage--Nyhi4",children:[(0,s.jsx)("h2",{className:"ContactModal-module__successTitle--dVn02",children:"Successfully accepted"}),(0,s.jsx)("p",{className:"ContactModal-module__successText--KJznx",children:"Your application has flown to our caring specialists! We will contact you soon"})]}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("h2",{className:"ContactModal-module__title--XrI8J",children:(0,s.jsx)("span",{className:"ContactModal-module__titleText--HH4uj",children:"Cooperation"})}),(0,s.jsx)("p",{className:"ContactModal-module__subtitle--dS9UA",children:"Drop us a line and we will get back to you as soon as possible!"}),(0,s.jsxs)("form",{className:"ContactModal-module__form--XuQzj",onSubmit:y,children:[(0,s.jsxs)("div",{className:v,children:[(0,s.jsx)("label",{className:`${b} ${_.firstName?j:""}`,children:(0,s.jsx)("input",{type:"text",className:w,value:o.firstName,onChange:C("firstName"),placeholder:"First Name *"})}),_.firstName&&(0,s.jsx)("span",{className:N,children:_.firstName})]}),(0,s.jsxs)("div",{className:v,children:[(0,s.jsx)("label",{className:`${b} ${_.phone?j:""}`,children:(0,s.jsx)("input",{type:"tel",className:w,value:o.phone,onChange:C("phone"),placeholder:"Phone *"})}),_.phone&&(0,s.jsx)("span",{className:N,children:_.phone})]}),(0,s.jsxs)("div",{className:v,children:[(0,s.jsx)("label",{className:`${b} ${_.email?j:""}`,children:(0,s.jsx)("input",{type:"email",className:w,value:o.email,onChange:C("email"),placeholder:"Email Address *"})}),_.email&&(0,s.jsx)("span",{className:N,children:_.email})]}),(0,s.jsxs)("div",{className:v,children:[(0,s.jsx)("label",{className:`${b} ${_.companyName?j:""}`,children:(0,s.jsx)("input",{type:"text",className:w,value:o.companyName,onChange:C("companyName"),placeholder:"Company Name *"})}),_.companyName&&(0,s.jsx)("span",{className:N,children:_.companyName})]}),(0,s.jsx)("div",{className:v,children:(0,s.jsx)("label",{className:"ContactModal-module__textareaWrapper--rSQEQ",children:(0,s.jsx)("textarea",{className:"ContactModal-module__textarea--i19oy",value:o.message,onChange:C("message"),placeholder:"Message",rows:4})})}),(0,s.jsx)(n.A,{type:"submit",theme:"primary",variant:"white",disabled:d,className:"ContactModal-module__submitButton--qbQOa",children:d?"Sending...":"Send"})]})]})]})}):null},y="Footer-module__footerLink--ipb6W",C="Footer-module__footerLegalText--xlXoo",M="Footer-module__footerParagraphSection--rin95",T=[{title:"For marketing and PR",text:"We regularly run promotions, campaigns, and partner events to engage and incentivize our clients with special offers. If you interested in such partnership please contact us at {{link}}.",link:"pr@emergingtravel.com",button:{text:"Cooperate",action:"form"},cssClass:"Footer-module__marketingBlock--DnIGu"},{title:"For affiliates partnerships",text:"Integrate our solution to make it easy and profitable to book hotels through your website or online service. Integrate quickly and reliably with our system. Still have questions? Contact us at {{link}}.",link:"affiliate@emergingtravel.com",button:{text:"Learn more",url:"https://www.ratehawk.com/lp/en-us/travel-related-websites/"},cssClass:"Footer-module__affiliatesBlock--jVQ0L"},{title:"For suppliers",text:"As official partners of the world's largest OTA, wholesalers, consolidators, and DMCs, we invite you to enhance your sales and grow your business together. Contact us at {{link}}.",link:"tpp@emergingtravel.com",button:{text:"Cooperate",action:"form"},cssClass:"Footer-module__suppliersBlock--yrn9l"},{title:"For hotels",text:"Become our partner to increase your direct sales and the popularity of your accommodation options. \u2028For partnership inquiries, please contact us at {{link}}.",link:"hotels@emergingtravel.com",button:{text:"Learn more",url:"https://www.ratehawk.com/lp/en-us/travel-related-websites/"},cssClass:"Footer-module__hotelsBlock--uGUyj"},{title:"For technology providers",text:"If you are a mid-office or platform interested in integrating with RateHawk to develop your business, please contact us at {{link}}.",link:"api@ratehawk.com",button:{text:"Cooperate",action:"form"},cssClass:"Footer-module__providersBlock--Zmk8W"}],L=({className:e="",fluidMode:t,...a})=>{const[l,c]=(0,i.useState)(!1),m=(0,i.useCallback)(()=>{c(!0)},[]),u=(0,i.useCallback)(()=>{c(!1)},[]);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(o.A,{...a,withTopBorder:!0,theme:"black",fluidMode:t,className:(0,r.L)("Footer-module__root--T9ly6",e),as:"footer",children:[(0,s.jsxs)("div",{className:"Footer-module__header--hy1ME",children:[(0,s.jsx)("p",{className:"Footer-module__title--OX7d9",children:"Partnership"}),(0,s.jsx)("p",{className:"Footer-module__subTitle--EmP0b",children:"Cooperate and grow together with RateHawk"})]}),(0,s.jsx)("ul",{className:"Footer-module__advantages--z7ASK",children:T.map(e=>(0,s.jsxs)("li",{className:(0,r.L)("Footer-module__advantageItem--EcCx_",e.cssClass),children:[(0,s.jsxs)("div",{className:"Footer-module__advantageInfo--Ilud0",children:[(0,s.jsx)("h6",{className:"Footer-module__advantageTitle--spnaR",children:(0,s.jsx)("span",{className:"Footer-module__advantageTitleText--cMrU_",dangerouslySetInnerHTML:{__html:e.title}})}),(0,s.jsx)("p",{className:"Footer-module__advantageText--BHbmo",dangerouslySetInnerHTML:{__html:e.text.replace("{{link}}",`<a class="Footer-module__advantageLink--bcoK8" href="mailto:${e.link}">${e.link}</a>`)}})]}),(0,s.jsx)(n.A,{theme:"secondary",variant:"white",...e.button.url?{url:e.button.url}:{onClick:m},children:e.button.text})]},e.title))}),(0,s.jsxs)("div",{className:"Footer-module__footerBottom--u_o7y",children:[(0,s.jsxs)("div",{className:"Footer-module__footerLeft--nnkZo",children:[(0,s.jsxs)("div",{className:"Footer-module__social--H1Yw4",children:[(0,s.jsx)("a",{href:"https://www.facebook.com/ratehawk",target:"_blank",rel:"noopener noreferrer",children:(0,s.jsx)(d,{})}),(0,s.jsx)("a",{href:"https://www.linkedin.com/company/ratehawk-com/",target:"_blank",rel:"noopener noreferrer",children:(0,s.jsx)(h,{})})]}),(0,s.jsxs)("ul",{className:"Footer-module__footerLinks--R9Hnr",children:[(0,s.jsx)("li",{children:(0,s.jsx)("a",{href:"https://www.ratehawk.com/lp/en-us/career",target:"_blank",rel:"noopener noreferrer",className:y,children:"Careers"})}),(0,s.jsx)("li",{children:(0,s.jsx)("a",{href:"https://blog.ratehawk.com/",target:"_blank",rel:"noopener noreferrer",className:y,children:"Blog"})})]})]}),(0,s.jsxs)("div",{className:"Footer-module__footerLegal--jAGGe",children:[(0,s.jsxs)("div",{className:M,children:[(0,s.jsx)("p",{className:C,children:"Leaside Services Limited, reg.no HE342401, Business Address: 17 Karaiskaki Street, Office 22, Agaia Triada, Limassol, Cyprus, 3032 Emerging Travel Inc., reg.no 4869611, Business Address: 1000 N West Street, Suite 1200, Wilmington, DE 19801 USA EMERGING TRAVEL UK LIMITED, Company number 12185384, Business Address: 19 Eastbourne Terrace, Office 3.01, Paddington, London, W2 6LG, UK"}),(0,s.jsx)("p",{className:C,children:"Emerging Travel Germany ETG GmbH, HRB 213546, Business Address: Friedrichstraße 171, 10117 Berlin, Germany"}),(0,s.jsx)("p",{className:C,children:"Emerging Travel Kazakhstan LLP, BIN 191240026456, Business address: Office SP2-18, 280 Baizakova Street, Bostandykskiy district, 050040, Almaty, Republic of Kazakhstan"}),(0,s.jsx)("p",{className:C,children:"Smart Middle East Travel Agency L.L.C, Reg.no: 1803677, Business address: Al Rigga - Office No. 202-201-221, Insurance Building, Dubai, UAE"}),(0,s.jsx)("p",{className:C,children:"Emerging Travel Asia PTE. LTD, Reg.no: 201927854K, TA license: TA03682, Business address: 300 Tampines Avenue 5 #09-02, Tampines Junction Singapore 529653"})]}),(0,s.jsx)("div",{className:M,children:(0,s.jsx)("p",{className:C,children:(0,s.jsx)("a",{href:"https://www.ratehawk.com/legal/site/privacy-policy/",target:"_blank",rel:"noopener noreferrer",children:"Personal data processing and storage policy"})})}),(0,s.jsx)("div",{className:M,children:(0,s.jsx)("p",{className:C,children:"Digital Services Act"})}),(0,s.jsx)("div",{className:M,children:(0,s.jsx)("p",{className:C,children:"Ratehawk is a registered service mark in the European Union"})})]})]})]}),(0,s.jsx)(k,{isOpen:l,onClose:u,fluidMode:t})]})}},493:(e,t,a)=>{a.d(t,{A:()=>d});var l=a(178),s=a(39);var n=a(130);const o={left:"Text-module__left--RzKTw",center:"Text-module__center--oxKFj"},r={left:"Text-module__leftMobile--ZT3Y6",center:"Text-module__centerMobile--QfiCW"},i={left:"Text-module__leftTablet--Oy43k",center:"Text-module__centerTablet--QTnx5"},c={left:"Text-module__leftDesktop--Bw5gb",center:"Text-module__centerDesktop--RWenh"},d=({className:e="",children:t,align:a="left",alignMobile:d,alignTablet:m,alignDesktop:u,as:h="p",fluidMode:x,...p})=>{const _=(0,n.u)(x);return(0,l.jsx)(h,{...p,className:(0,s.L)("Text-module__textContainer--iQeaj",_,o[a],d&&r[d],m&&i[m],u&&c[u],e),children:(0,l.jsx)("span",{className:"Text-module__text--X_l8e",children:t})})}},627:(e,t,a)=>{a.d(t,{A:()=>l.A});var l=a(374)},649:(e,a,l)=>{var s,n;e.exports=(s={createElement:()=>t.createElement,default:()=>t.default,useCallback:()=>t.useCallback,useEffect:()=>t.useEffect,useRef:()=>t.useRef,useState:()=>t.useState},n={},l.d(n,s),n)},670:(e,t,a)=>{a.d(t,{A:()=>r});var l=a(178),s=a(130),n=a(39);const o={root:"HotelCard-module__root--popq0",rootFixed:"HotelCard-module__rootFixed--TvjpT",clickable:"HotelCard-module__clickable--mp25I",imageContainer:"HotelCard-module__imageContainer--FZfWz",image:"HotelCard-module__image--fREMp",discount:"HotelCard-module__discount--G2sau",discountText:"HotelCard-module__discountText--hH9Sf",content:"HotelCard-module__content--IA_3z",stars:"HotelCard-module__stars--jTODO",starFilled:"HotelCard-module__starFilled--Ps4vk",starEmpty:"HotelCard-module__starEmpty--FBbdo",title:"HotelCard-module__title--BOmwo",location:"HotelCard-module__location--uglfh",dates:"HotelCard-module__dates--mhAjB",priceInfoWrapper:"HotelCard-module__priceInfoWrapper--fplFE",priceInfo:"HotelCard-module__priceInfo--qLmoQ",bookNowText:"HotelCard-module__bookNowText--pgznJ",mainPriceText:"HotelCard-module__mainPriceText--wIEbi",infoPriceText:"HotelCard-module__infoPriceText--GSy_s"},r=({className:e="",name:t,location:a,stars:r,image:i,dates:c,discountText:d,onClick:m,url:u,width:h="auto",price:x,fluidMode:p,..._})=>{const g=(0,s.u)(p),f=u?"a":"div",v=u?{href:u,target:"_blank",rel:"noopener noreferrer"}:{};return(0,l.jsxs)(f,{..._,...v,className:(0,n.L)(o.root,g,"fixed"===h&&o.rootFixed,e,u&&o.clickable),onClick:m,children:[(0,l.jsxs)("div",{className:o.imageContainer,children:[(0,l.jsx)("img",{src:i,alt:t,className:o.image}),d?(0,l.jsx)("div",{className:o.discount,children:(0,l.jsx)("span",{className:o.discountText,dangerouslySetInnerHTML:{__html:d}})}):null]}),(0,l.jsxs)("div",{className:o.content,children:[(()=>{if(!r)return null;const e=[];for(let a=0;a<5;a++)e.push((0,l.jsx)("div",{className:a<r?o.starFilled:o.starEmpty},`star-${t}-${a}`));return(0,l.jsx)("div",{className:o.stars,children:e})})(),(0,l.jsx)("h3",{className:o.title,children:t}),a&&(0,l.jsx)("p",{className:o.location,children:a}),c&&(0,l.jsxs)("p",{className:o.dates,children:["Travel Dates: ",c]}),(0,l.jsx)("div",{className:o.priceInfoWrapper,children:(0,l.jsx)("div",{className:o.priceInfo,children:x?(0,l.jsxs)("div",{className:o.priceText,children:[(0,l.jsxs)("div",{className:o.mainPriceText,children:["From ",(0,l.jsx)("strong",{children:x})]}),(0,l.jsx)("div",{className:o.infoPriceText,children:(0,l.jsx)("span",{children:"For 1 night and 2 guests"})})]}):(0,l.jsx)("div",{className:o.bookNowText,children:"Book now"})})})]})]})}},697:(e,t,a)=>{a.d(t,{A:()=>d});var l=a(178),s=a(130),n=a(39),o=a(374),r=a(94),i=a(110);var c=a(93);const d=({className:e="",heroYellowText:t,heroWhiteText:a,hotelsTitle:d,hotelsSubtitle:m,hotels:u,backgroundMobile:h,backgroundDesktop:x,backgroundDesktop2x:p,heroLogo:_=!0,fluidMode:g,onLoginClick:f,onRegisterClick:v,...b})=>{const j=(0,s.u)(g);return(0,l.jsxs)("div",{...b,className:(0,n.L)("HotelsLanding-module__root--JnV8j",j,e),children:[(0,l.jsx)(r.A,{onLoginClick:f,onRegisterClick:v,fluidMode:g}),(0,l.jsxs)("main",{children:[(0,l.jsx)(i.A,{yellowText:t,whiteText:a,showLogo:_,backgroundMobile:h,backgroundDesktop:x,backgroundDesktop2x:p}),(0,l.jsx)(c.A,{title:d,subtitle:m,hotels:u,fluidMode:g})]}),(0,l.jsx)(o.A,{})]})}},744:(e,t,a)=>{a.d(t,{A:()=>r});var l=a(178),s=a(39);var n=a(130);const o={yellow:"Section-module__themeYellow--TpLu_",black:"Section-module__themeBlack--S5jGY"},r=({className:e,theme:t,id:a,fluidMode:r,as:i="section",withTopBorder:c,children:d,...m})=>{const u=(0,n.u)(r);return(0,l.jsx)(i,{...m,id:a,className:(0,s.L)("Section-module__section--qmgjG",u,t&&o[t],c&&"Section-module__withTopBorder--olQtQ",e),children:d})}},782:(e,t,a)=>{a.d(t,{A:()=>l.A});var l=a(93)},793:(e,t,a)=>{a.d(t,{A:()=>l.A});var l=a(94)},924:(e,t,a)=>{a.d(t,{A:()=>l.A});var l=a(670)},992:(e,t,a)=>{a.d(t,{b:()=>l}),globalThis.__fluidModeState||(globalThis.__fluidModeState={state:!1});const l=globalThis.__fluidModeState}},l={};function s(e){var t=l[e];if(void 0!==t)return t.exports;var n=l[e]={exports:{}};return a[e](n,n.exports,s),n.exports}s.d=(e,t)=>{for(var a in t)s.o(t,a)&&!s.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),s.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};s.r(n),s.d(n,{Button:()=>o.A,Footer:()=>r.A,Header:()=>i.A,HeroSection:()=>c.A,HotelCard:()=>d.A,HotelsLanding:()=>m.A,HotelsSection:()=>u.A,PromoFeatures:()=>h.A,Section:()=>x.A,SectionTitle:()=>p.A,Text:()=>_.A});var o=s(268),r=s(627),i=s(793),c=s(67),d=s(924),m=s(697),u=s(782),h=s(0),x=s(744),p=s(26),_=s(493),g=s(992);export{n as RHComponents};export const fluidModeState=g.b;
|
|
1
|
+
import*as e from"react/jsx-runtime";import*as t from"react";var a={0:(e,t,a)=>{a.d(t,{A:()=>b});var l=a(178),s=a(130),n=a(39),o=a(649);var r,i,c,d,m,u,h,x;function p(){return p=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var l in a)({}).hasOwnProperty.call(a,l)&&(e[l]=a[l])}return e},p.apply(null,arguments)}function _(){return _=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var l in a)({}).hasOwnProperty.call(a,l)&&(e[l]=a[l])}return e},_.apply(null,arguments)}function g(){return g=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var l in a)({}).hasOwnProperty.call(a,l)&&(e[l]=a[l])}return e},g.apply(null,arguments)}function f(){return f=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var l in a)({}).hasOwnProperty.call(a,l)&&(e[l]=a[l])}return e},f.apply(null,arguments)}const v={car:e=>o.createElement("svg",p({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 65 50"},e),r||(r=o.createElement("path",{fill:"#FEDD00",d:"M33.276 9.584h8.532l4.266 1.843 2.715 3.49-29.784 17.93s-4.603-4.465-8.276 0H2.25l1.492-10.085 2.774-9.32 3.878-3.47 9.308-.582z"})),i||(i=o.createElement("path",{stroke:"#000",strokeMiterlimit:10,strokeWidth:2.6,d:"M53.762 19.724H39.474M2.25 33.325l1.669-9.049C7.636 9.606 6.891 9.585 23.639 9.585h15.927a10.36 10.36 0 0 1 7.957 3.718l5.363 6.415h1.68a7.05 7.05 0 0 1 6.551 4.43l1.316 4.67a5 5 0 0 1-.512 4.507l-1.26 1.912m-41.2.72c0 2.57-2.101 4.654-4.694 4.654s-4.694-2.084-4.694-4.654 2.102-4.654 4.694-4.654 4.694 2.083 4.694 4.654Zm32.434 0c0 2.57-2.101 4.654-4.694 4.654s-4.694-2.084-4.694-4.654 2.102-4.654 4.694-4.654 4.694 2.083 4.694 4.654Z"}))),globe:e=>o.createElement("svg",_({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 57 50"},e),c||(c=o.createElement("path",{fill:"#FEDD00",d:"M52.25 15.156 13.447 47.853l-4.35-5.392-3.548-4.13L2 30.988v-8.834l3.549-8.375L11.5 6.78l8.013-3.557 9.5-1.606 6.753.918 5.953 2.18 6.868 4.933z"})),d||(d=o.createElement("path",{stroke:"#000",strokeWidth:2.6,d:"M18.162 17.49a22.5 22.5 0 0 0 8.016 1.47h5.363c2.344 0 4.608-.36 6.744-1.029m-20.123-.44c-3.766-1.432-7.082-3.842-9.667-6.938m9.667 6.938c1.425-8.997 4.885-15.345 8.927-15.345m-8.927 15.345c-.45 2.834-.697 5.93-.697 9.175 0 2.744.177 5.384.504 7.848m-3.232 13.869c-2.843-1.562-4.8-3.716-6.805-6.305-3.26-4.211-5.213-9.573-5.213-15.412 0-6.168 2.18-11.804 5.776-16.113 4.3-5.151 10.629-8.407 17.683-8.407h.911m22.135 8.407c-2.872 3.44-6.647 6.034-10.94 7.378m4.157 30.452a23.8 23.8 0 0 0 7.346-6.305c3.26-4.211 5.212-9.573 5.212-15.412 0-6.168-2.178-11.804-5.776-16.113-4.3-5.151-10.628-8.407-17.682-8.407h-2.252m8.996 15.785c-1.382-9.229-4.888-15.785-8.996-15.785m8.996 15.785c.406 2.714.628 5.658.628 8.735 0 2.576-.156 5.059-.445 7.391M27.09 2.147h2.2M7.932 42.076c2.615-3.377 6.072-6.015 10.037-7.563m31.818 7.564c-2.894-3.738-6.817-6.568-11.319-8.02m0 0a22.5 22.5 0 0 0-6.928-1.087h-5.362a22.5 22.5 0 0 0-8.21 1.543m20.5-.457c-.769 6.205-1.94 11.344-4.166 14.326M17.97 34.514c.795 6 2.477 10.96 4.648 13.869"}))),plane:e=>o.createElement("svg",g({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 59 52"},e),m||(m=o.createElement("path",{fill:"#FEDD00",d:"M36.914 24.713 23.144 36.39 2.527 45.025 1.285 43.37l23.2-20.229V6.574L29.043 1.2l5.385 5.374.456 16.568z"})),u||(u=o.createElement("path",{stroke:"#000",strokeWidth:2.6,d:"m26.066 50.914-.927-15.36-21.685 9.424a1.54 1.54 0 0 1-1.61-2.588l22.579-19.13V6.872c0-.563.195-1.11.552-1.548l2.542-3.114a2.47 2.47 0 0 1 1.846-.91c.688.022 1.369.325 1.846.91l2.542 3.114c.357.438.553.985.553 1.548V23.26l22.578 19.13a1.54 1.54 0 0 1-1.61 2.588l-21.685-9.423-.927 15.36"}))),train:e=>o.createElement("svg",f({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 65 50"},e),h||(h=o.createElement("path",{fill:"#FEDD00",d:"M31.071 9.41H6.292v23.302l9.3-.124 30.459-22.121-5.056-1.056z"})),x||(x=o.createElement("path",{fill:"#000",fillRule:"evenodd",stroke:"#000",strokeWidth:.767,d:"m58.344 25.623-1.69-4.399-.01.005-.169-.465c-.14-.385-1.441-3.918-3.465-6.37l-.004-.001-.084-.102a14 14 0 0 0-.938-.996c-2.788-2.73-6.98-4.26-11.836-4.26H6.129v1.034h34.019c4.014 0 7.587 1.097 10.18 3.157l1.099.874h-9.196c-.3 0-.531.238-.531.517v6.336c0 .28.23.516.53.516h13.384l1.734 4.515a4.1 4.1 0 0 1-.48 3.87 4.22 4.22 0 0 1-3.49 1.807H33.903v1.033h19.272l.003-.003h.203a5.33 5.33 0 0 0 4.367-2.258 5.15 5.15 0 0 0 .596-4.81ZM10.416 15.225c0-.278.231-.516.532-.516h6.733c.3 0 .532.238.532.516v4.768c0 .278-.231.517-.532.517h-6.733a.524.524 0 0 1-.532-.517zm10.466 0c0-.278.23-.516.531-.516h6.92c.3 0 .531.238.531.516v4.768c0 .278-.23.517-.531.517h-6.92a.524.524 0 0 1-.531-.517zm10.348 0c0-.278.23-.516.531-.516h7.285c.3 0 .531.238.531.516v4.768c0 .278-.23.517-.531.517H31.76a.524.524 0 0 1-.531-.517zm21.028-.092h-9.496v5.303h12.46l-.3-.686c-.522-1.195-1.398-2.983-2.517-4.427zm-35.112.609h-5.67v3.734h5.67zm10.656 0h-5.858v3.734h5.858zm10.712 0h-6.222v3.734h6.222zM6.13 32.694v-1.033h9.161v1.033zm11.185 3.72v-1.006H58.87v1.033h-4.199v3.49h4.2v1.033H6.128v-1.033h3.55v-3.49H6.13v-1.033h10.204v1.006zm-1.022.027h-5.55v3.49h5.55zm5.94 0h-4.878v3.49h4.877zm6.427 0h-5.365v3.49h5.365zm6.245 0h-5.183v3.49h5.183zm6.183 0h-5.12v3.49h5.12zm6.368 0H42.15v3.49h5.306zm6.155 0h-5.092v3.49h5.092z",clipRule:"evenodd"})))},b=({className:e,features:t,fluidMode:a,mobileIconHeight:r="40em",tabletIconHeight:i="50em",desktopIconHeight:c="50em"})=>{const d=(0,s.u)(a),m={"--promo-icon-height-mobile":r,"--promo-icon-height-tablet":i,"--promo-icon-height-desktop":c};return(0,l.jsx)("ul",{className:(0,n.L)("PromoFeatures-module__root--DJbC2",d,e),style:m,children:t.map(e=>(0,l.jsxs)("li",{className:"PromoFeatures-module__item--Y5CKb",children:[(0,l.jsx)("div",{className:"PromoFeatures-module__icon--GuJuT",children:e.icon?o.default.createElement(v[e.icon]):e.iconSrc?(0,l.jsx)("img",{src:e.iconSrc,alt:e.title}):null}),(0,l.jsx)("h3",{className:"PromoFeatures-module__title--Tihb3",children:(0,l.jsx)("span",{className:"PromoFeatures-module__titleText--KSQ4A",dangerouslySetInnerHTML:{__html:e.title}})}),(0,l.jsx)("p",{className:"PromoFeatures-module__text--N_eji",dangerouslySetInnerHTML:{__html:e.text}})]},e.title))})}},26:(e,t,a)=>{a.d(t,{A:()=>m});var l=a(178),s=a(39);const n="SectionTitle-module__title--uw_Rp";var o=a(130);const r={left:"SectionTitle-module__left--fJSYS",center:"SectionTitle-module__center--JEIDM"},i={left:"SectionTitle-module__leftMobile--_VKay",center:"SectionTitle-module__centerMobile--Rnb_P"},c={left:"SectionTitle-module__leftTablet--Uftlk",center:"SectionTitle-module__centerTablet--Eh73B"},d={left:"SectionTitle-module__leftDesktop--RJrMW",center:"SectionTitle-module__centerDesktop--xng2q"},m=({className:e="",children:t,align:a="left",alignMobile:m,alignTablet:u,alignDesktop:h,fsMobile:x,fsTablet:p,fsDesktop:_,fluidMode:g,as:f="h2",...v})=>{const b=(0,o.u)(g),j={...x&&{"--title-fs-mobile":x},...p&&{"--title-fs-tablet":p},..._&&{"--title-fs-desktop":_}};return(0,l.jsx)("div",{...v,className:(0,s.L)(n,b,r[a],m&&i[m],u&&c[u],h&&d[h],e),style:j,children:(0,l.jsx)(f,{className:n,children:(0,l.jsx)("span",{className:"SectionTitle-module__titleText--l9CQA",children:t})})})}},39:(e,t,a)=>{a.d(t,{L:()=>l});const l=(...e)=>e.filter(Boolean).join(" ")},67:(e,t,a)=>{a.d(t,{A:()=>l.A});var l=a(110)},93:(e,t,a)=>{a.d(t,{A:()=>r});var l=a(178),s=a(130),n=a(39),o=a(670);const r=({className:e,title:t,subtitle:a,hotels:r,fluidMode:i,...c})=>{const d=(0,s.u)(i);return(0,l.jsxs)("section",{...c,className:(0,n.L)("HotelsSection-module__hotels--hGJyx",d,e),children:[t||a?(0,l.jsxs)("header",{className:"HotelsSection-module__hotelsHeader--l_Qr5",children:[t&&(0,l.jsx)("h2",{className:"HotelsSection-module__hotelsTitle--zeGAj",children:t}),a&&(0,l.jsx)("p",{className:"HotelsSection-module__hotelsSubtitle--EAJhs",children:a})]}):null,(0,l.jsx)("ul",{className:"HotelsSection-module__hotelsList--jWxYc",children:r.map(e=>(0,l.jsx)("li",{children:(0,l.jsx)(o.A,{className:"HotelsSection-module__hotelCard--aCwpN",name:e.name,location:e.location,stars:e.stars,image:e.image,dates:e.dates,discountText:e.discountText,url:e.url,fluidMode:i})},e.name))})]})}},94:(e,t,a)=>{a.d(t,{A:()=>N});var l,s=a(178),n=a(268),o=a(130),r=a(39),i=a(649);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 l in a)({}).hasOwnProperty.call(a,l)&&(e[l]=a[l])}return e},c.apply(null,arguments)}const d=e=>i.createElement("svg",c({xmlns:"http://www.w3.org/2000/svg",width:28,height:28,fill:"none"},e),l||(l=i.createElement("path",{fill:"#8C1EFF",d:"M.32 9.41h28v2h-28zM.32 17.41h28v2h-28z"})));var m,u;function h(){return h=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var l in a)({}).hasOwnProperty.call(a,l)&&(e[l]=a[l])}return e},h.apply(null,arguments)}const x=e=>i.createElement("svg",h({xmlns:"http://www.w3.org/2000/svg",width:28,height:28,fill:"none"},e),m||(m=i.createElement("path",{fill:"#8C1EFF",d:"m4.807 3.394 19.799 19.799-1.414 1.414-19.8-19.8z"})),u||(u=i.createElement("path",{fill:"#8C1EFF",d:"m3.393 23.193 19.799-19.8 1.414 1.415L4.807 24.607z"})));var p,_,g;function f(){return f=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var l in a)({}).hasOwnProperty.call(a,l)&&(e[l]=a[l])}return e},f.apply(null,arguments)}const v={root:"Header-module__root--MyGKu",header:"Header-module__header--Ie2CT",hidden:"Header-module__hidden--gobBG",compactHeader:"Header-module__compactHeader--LsvY9",visible:"Header-module__visible--ococB",light:"Header-module__light--e8MFJ",dark:"Header-module__dark--mJEmI",yellow:"Header-module__yellow--W7Vw1",leftContainer:"Header-module__leftContainer--T8NI2",rightContainer:"Header-module__rightContainer--ZvsQ0",navList:"Header-module__navList--ikTYl",menuLink:"Header-module__menuLink--yDAEH",menuLinkText:"Header-module__menuLinkText--MV8k7",subMenuOpener:"Header-module__subMenuOpener--7Gf68",subMenuOpenerActive:"Header-module__subMenuOpenerActive--hM0jl",subNavList:"Header-module__subNavList--opWlU",subNavListOpened:"Header-module__subNavListOpened--mebR2",burgerMenuContainer:"Header-module__burgerMenuContainer--GmhQc",burgerMenuButton:"Header-module__burgerMenuButton--sm0Lo",burgerMenu:"Header-module__burgerMenu--SUEsD",logo:"Header-module__logo--V8O4g",burgerButtons:"Header-module__burgerButtons--gDROa",separator:"Header-module__separator--lw7LB"},b="burger-menu",j="sub-menu",w=(0,s.jsx)("a",{href:"https://www.ratehawk.com/",target:"_blank",rel:"noreferrer",children:(0,s.jsx)(e=>i.createElement("svg",f({xmlns:"http://www.w3.org/2000/svg",height:61,fill:"none",viewBox:"0 0 202 61"},e),p||(p=i.createElement("path",{fill:"var(--general-color)",d:"m162.762 38.47-2.883-18.28h-7.867l-3.517 22.29h4.857l.026-.178.187-1.397.325-2.435h4.113l.517 3.877.018.134h4.857l-.111-.708zm-8.306-4.16 1.489-10.848 1.49 10.848zM179.455 38.5l-1.997-18.31h-6.079l-1.876 18.34-1.431-18.34h-4.618l2.414 22.29h6.854l1.757-18.336 1.848 18.337h6.764l2.413-22.29h-4.62zM196.7 30.654l4.41-10.463h-5.274l-3.693 10.611V20.191h-5.007v22.29h5.007V31.842l3.635 10.639h5.542zM81.256 30.253q1.028-1.324 1.028-3.402v-.861q0-1.9-.848-3.18-.85-1.279-2.338-1.947-1.491-.67-3.398-.67h-7.45v22.29h5.006V31.517l4.022 10.966h5.571L78.53 32.17q1.701-.598 2.727-1.918m-3.978-2.99q-.001 1.488-.611 2.141-.612.655-1.654.655h-1.757v-3.654a2.055 2.055 0 0 0-2.058-2.052h3.8149999999999995q1.042 0 1.654.549.61.55.61 1.946zM94.679 20.19h-7.867L83.93 38.47l-.634 4.01h4.858l.535-4.01h4.113l.535 4.01h4.857l-.633-4.01zm-5.423 14.12 1.49-10.848 1.49 10.848zM97.752 24.502h3.633V42.48h5.067V24.5h3.635v-4.31H97.752zM111.871 24.502V42.48h11.144v-4.309h-6.138v-4.905h6.138V28.96h-6.138v-4.457h6.138V20.19h-11.144zM141.791 28.87h-4.469v-8.68h-5.064v22.288h5.064v-7.216a2.055 2.055 0 0 0-2.057-2.053h6.526v9.272h5.064V20.19h-5.064z"})),_||(_=i.createElement("path",{fill:"var(--logo-accent-color)",d:"M56.213 18.304 38.056 7.849 25.143.41l3.572 4.999c.833 1.165-.43 2.679-1.732 2.07L15.695 2.197l22.36 17.418s8.481 6.433 11.26 8.735c.493.408.829.974.95 1.604l.868 4.557c.9 4.284-.762 5.893-2.368 6.857l-1.981 1.184.31-2.425c.124-.932-.076-1.3-.636-1.637l-4.84-2.697a2.3 2.3 0 0 0-.901-.297C37.487 35.054.32 29.801.32 29.801l17.228 5.767c1.359.455 1.23 2.412-.176 2.686l-5.264 1.033 24.024 13.89a4.2 4.2 0 0 0 4.186.004c4.062-2.331 12.88-7.393 15.88-9.123a4.18 4.18 0 0 0 2.093-3.603c.018-5.504.018-18.533.018-18.533a4.17 4.17 0 0 0-2.096-3.618"})),g||(g=i.createElement("path",{fill:"var(--logo-accent-color)",d:"M44.752 32.185a1.54 1.54 0 0 0 2.022.8c.553-.238.886-.765.917-1.326l-6.62-3.918s-.065.377.144.576c.22.21 2.583 2.181 3.464 2.916-.076.308-.06.64.073.952"}))),{className:v.logo})}),N=({theme:e="dark",className:t="",menu:a,subMenu:l,extraRightContent:c,fluidMode:m,zIndex:u=1,onLoginClick:h,onRegisterClick:p,style:_,...g})=>{const f=(0,o.u)(m),N=v[e],y=l&&l.length>0,[C,M]=(0,i.useState)(!1),[T,L]=(0,i.useState)(!1),[H,S]=(0,i.useState)(!1),[E,A]=(0,i.useState)(!1),F=(0,i.useRef)(null),B=(0,i.useRef)(null),O=a?.map(k)||[];let z=O;if(y){const e=l?.map(k)||[];z=[...O,(0,s.jsxs)("li",{children:[(0,s.jsx)("button",{type:"button",onClick:()=>S(!H),className:(0,r.L)(v.menuLink,f,v.subMenuOpener,j,H?v.subMenuOpenerActive:""),children:(0,s.jsx)("span",{className:v.menuLinkText,children:"More"})}),(0,s.jsx)("ul",{className:(0,r.L)(v.subNavList,H?v.subNavListOpened:"",j),children:e})]},"submenu")],O.push(...e)}const D=(0,i.useCallback)((()=>{let e=!1;return(...t)=>{e||((()=>{if(!F.current||!B.current)return;const e=B.current.getBoundingClientRect().right,t=F.current.getBoundingClientRect().left-e<20;M(t),A(!0),t?S(!1):L(!1)})(...t),e=!0,setTimeout(()=>{e=!1},100))}})(),[]),I=(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.A,{theme:"secondary",variant:"dark"===e?"white":"black",url:"https://www.ratehawk.com/accounts/login/?lang=en&ref=rh_sign_in",onClick:h,children:"Sign in"}),(0,s.jsx)(n.A,{url:"https://www.ratehawk.com/registration/?lang=en&ref=rh_register",onClick:p,children:"Register"})]}),P=(0,i.useCallback)(e=>{if(!(e.target instanceof HTMLElement))return;const t=e.target.closest(`.${b}`),a=e.target.closest(`.${j}`);t||L(!1),a||S(!1)},[]);return(0,i.useEffect)(()=>(window.addEventListener("resize",D),window.addEventListener("click",P),D(),()=>{window.removeEventListener("resize",D),window.removeEventListener("click",P)}),[D,P]),(0,s.jsxs)("div",{...g,className:(0,r.L)(v.root,t,N,f),style:{..._,zIndex:u},children:[(0,s.jsxs)("div",{className:(0,r.L)(v.header,v.wideHeader,C?v.hidden:""),children:[(0,s.jsxs)("div",{className:v.leftContainer,ref:B,children:[w,(0,s.jsx)("nav",{className:v.navMenu,children:(0,s.jsx)("ul",{className:v.navList,children:z})})]}),(0,s.jsxs)("div",{className:(0,r.L)(v.rightContainer,!E&&v.hidden),ref:F,children:[c,I]})]}),(0,s.jsxs)("div",{className:(0,r.L)(v.header,v.compactHeader,C?v.visible:""),children:[(0,s.jsx)("div",{className:v.leftContainer,children:w}),(0,s.jsxs)("div",{className:v.rightContainer,children:[c,(0,s.jsx)("div",{className:v.burgerMenuContainer,children:(0,s.jsx)("button",{className:v.burgerMenuButton,onClick:()=>L(!T),type:"button",children:T?(0,s.jsx)(x,{}):(0,s.jsx)(d,{})})})]}),T&&(0,s.jsxs)("div",{className:(0,r.L)(v.burgerMenu,b),children:[O.length?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("nav",{className:v.navMenu,children:(0,s.jsx)("ul",{className:v.navList,children:O})}),(0,s.jsx)("div",{className:v.separator})]}):null,(0,s.jsx)("div",{className:v.burgerButtons,children:I})]})]})]})};function k(e){const t=e.url?"a":"button",a=e.url?{target:"_blank",href:e.url}:{type:"button"};return(0,s.jsx)("li",{children:(0,s.jsx)(t,{className:v.menuLink,onClick:e.onClick,...a,children:(0,s.jsx)("span",{className:v.menuLinkText,children:e.title})})},e.title)}},110:(e,t,a)=>{a.d(t,{A:()=>u});var l,s,n=a(178),o=a(130),r=a(39),i=a(649);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 l in a)({}).hasOwnProperty.call(a,l)&&(e[l]=a[l])}return e},c.apply(null,arguments)}const d=e=>i.createElement("svg",c({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 98 91"},e),l||(l=i.createElement("path",{fill:"#FEDD00",d:"M94.277 30.26 63.65 12.58 41.87 0l6.025 8.453c1.406 1.972-.724 4.53-2.921 3.5l-19.04-8.93L63.65 32.48s14.304 10.88 18.993 14.772a4.67 4.67 0 0 1 1.601 2.713l1.465 7.708c1.516 7.243-1.286 9.964-3.995 11.595l-3.342 2.002.523-4.101c.21-1.576-.127-2.198-1.073-2.768l-8.163-4.56c-.468-.282-.98-.431-1.52-.503C62.692 58.587 0 49.704 0 49.704l29.06 9.752c2.29.77 2.073 4.08-.299 4.544l-8.878 1.746 40.523 23.489a7.07 7.07 0 0 0 7.06.008C74.318 85.3 89.192 76.741 94.25 73.815a7.07 7.07 0 0 0 3.53-6.094c.03-9.309.03-31.342.03-31.342a7.06 7.06 0 0 0-3.534-6.119"})),s||(s=i.createElement("path",{fill:"#FEDD00",d:"M74.944 53.737a2.594 2.594 0 0 0 3.41 1.354 2.59 2.59 0 0 0 1.547-2.244L68.735 46.22s-.11.639.243.975c.37.353 4.356 3.688 5.842 4.931a2.54 2.54 0 0 0 .124 1.61"}))),m="HeroSection-module__sloganText--_hwUn",u=({className:e,style:t,yellowText:a,whiteText:l,showLogo:s=!0,backgroundMobile:i,backgroundDesktop:c,backgroundDesktop2x:u,fluidMode:h,textAlign:x="right",...p})=>{const _=(0,o.u)(h);return(0,n.jsx)("section",{...p,className:(0,r.L)("HeroSection-module__hero--lpuv4",e,_),style:{...t,"--background-mobile":`url("${i}")`,"--background-desktop":`url("${c}")`,"--background-desktop-2x":`url("${u}")`,"--slogan-text-align":x,"--slogan-align-items":"left"===x?"flex-start":"center"===x?"center":"flex-end","--slogan-justify-content":"left"===x?"start":"center"===x?"center":"end"},children:(0,n.jsx)("div",{className:"HeroSection-module__heroContainer--brVZ4",children:(0,n.jsxs)("div",{className:"HeroSection-module__slogan--rRTe6",children:[a&&(0,n.jsx)("div",{className:(0,r.L)(m,"HeroSection-module__sloganYellow--lIwpd"),dangerouslySetInnerHTML:{__html:a}}),l&&(0,n.jsx)("div",{className:(0,r.L)(m,"HeroSection-module__sloganWhite--SWr8l"),dangerouslySetInnerHTML:{__html:l}}),s&&(0,n.jsx)(d,{className:"HeroSection-module__heroLogo--t3ggG"})]})})})}},130:(e,t,a)=>{a.d(t,{N:()=>s,u:()=>n}),a(178);var l=a(992);const s=({children:e,fluidMode:t=!1})=>{fluidModeState.state=t;const a=`\n ${t?fluidLayoutCss:staticLayoutCss};\n `;return _jsxs(_Fragment,{children:[_jsx("style",{dangerouslySetInnerHTML:{__html:a}}),e]})},n=e=>(e=>{if("boolean"==typeof e)return e;if("undefined"!=typeof document){const e=document.documentElement.getAttribute("data-fluid-mode");if(null!==e)return"true"===e}return l.b.state})(e)?"layout-module__fluidLayout--BNE04":"layout-module__staticLayout--x_6dR"},178:(t,a,l)=>{var s,n;t.exports=(s={Fragment:()=>e.Fragment,jsx:()=>e.jsx,jsxs:()=>e.jsxs},n={},l.d(n,s),n)},268:(e,t,a)=>{a.d(t,{A:()=>r});var l=a(178),s=a(130),n=a(39);const o={text:"Button-module__text--holIg",root:"Button-module__root--Knp7O",hidden:"Button-module__hidden--Q6Ztq",s:"Button-module__s--o9reb",m:"Button-module__m--ZGRqJ",withMediaDimension:"Button-module__withMediaDimension--Z_A5M",primary:"Button-module__primary--V9FFQ",purple:"Button-module__purple--biF8d",black:"Button-module__black--Iz790",secondary:"Button-module__secondary--_9J0r",white:"Button-module__white--l3jcr",isLoading:"Button-module__isLoading--u5f2m",spinner:"Button-module__spinner--Zj28d",spin:"Button-module__spin--lWtk7"},r=({className:e,children:t,dimension:a="s",theme:r="primary",onClick:i,disabled:c=!1,type:d="button",variant:m="purple",url:u,isLoading:h,enableMediaDimension:x=!0,fluidMode:p,..._})=>{const g=o[a]||"",f=o[r]||"",v=o[m],b=(0,s.u)(p),j=x?o.withMediaDimension:"",w=u?"a":"button",N=u?{target:"_blank",href:u}:{type:d},k=h?o.isLoading:"";return(0,l.jsxs)(w,{...N,..._,onClick:i,className:(0,n.L)(o.root,e,b,g,f,k,v,j),disabled:c,children:[h?(0,l.jsx)("span",{className:o.spinner}):null,(0,l.jsx)("span",{className:(0,n.L)(o.text,h?o.hidden:null),children:t})]})}},374:(e,t,a)=>{a.d(t,{A:()=>L});var l,s=a(178),n=a(268),o=a(744),r=a(39),i=a(649);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 l in a)({}).hasOwnProperty.call(a,l)&&(e[l]=a[l])}return e},c.apply(null,arguments)}const d=e=>i.createElement("svg",c({xmlns:"http://www.w3.org/2000/svg",width:31,height:31,fill:"none"},e),l||(l=i.createElement("path",{stroke:"#fff",strokeWidth:2,d:"M15.207 29.967c-7.732 0-14-6.268-14-14s6.268-14 14-14 14 6.268 14 14-6.268 14-14 14Zm0 0v-16a4 4 0 0 1 4-4h1m-10 8h10"})));var m;function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var l in a)({}).hasOwnProperty.call(a,l)&&(e[l]=a[l])}return e},u.apply(null,arguments)}const h=e=>i.createElement("svg",u({xmlns:"http://www.w3.org/2000/svg",width:31,height:31,fill:"none"},e),m||(m=i.createElement("path",{stroke:"#fff",strokeWidth:2,d:"M9.54 12.967v10m12 0v-5a4 4 0 1 0-8 0v5-10m-5-3h2m-7-8h24a2 2 0 0 1 2 2v24a2 2 0 0 1-2 2h-24a2 2 0 0 1-2-2v-24a2 2 0 0 1 2-2Z"})));var x=a(130);const p=/^([^\x00-\x20\x22\x28\x29\x2c\x2e\x3a-\x3c\x3e\x40\x5b-\x5d\x7f-\xff]+|\x22([^\x0d\x22\x5c\x80-\xff]|\x5c[\x00-\x7f])*\x22)(\x2e([^\x00-\x20\x22\x28\x29\x2c\x2e\x3a-\x3c\x3e\x40\x5b-\x5d\x7f-\xff]+|\x22([^\x0d\x22\x5c\x80-\xff]|\x5c[\x00-\x7f])*\x22))*\x40([^\x00-\x20\x22\x28\x29\x2c\x2e\x3a-\x3c\x3e\x40\x5b-\x5d\x7f-\xff]+|\x5b([^\x0d\x5b-\x5d\x80-\xff]|\x5c[\x00-\x7f])*\x5d)(\x2e([^\x00-\x20\x22\x28\x29\x2c\x2e\x3a-\x3c\x3e\x40\x5b-\x5d\x7f-\xff]+|\x5b([^\x0d\x5b-\x5d\x80-\xff]|\x5c[\x00-\x7f])*\x5d))*$/;var _;function g(){return g=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var l in a)({}).hasOwnProperty.call(a,l)&&(e[l]=a[l])}return e},g.apply(null,arguments)}const f=e=>i.createElement("svg",g({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,stroke:"currentColor",strokeWidth:1.5},e),_||(_=i.createElement("path",{d:"m4 4 16 16m0-16L4 20"}))),v="ContactModal-module__field--c99HI",b="ContactModal-module__inputWrapper--e2l3N",j="ContactModal-module__inputWrapperError--s_bqB",w="ContactModal-module__input--wuaB7",N="ContactModal-module__error--jso6D",k=({isOpen:e,onClose:t,fluidMode:a})=>{const l=(0,x.u)(a),[o,c]=(0,i.useState)({firstName:"",phone:"",email:"",companyName:"",message:""}),[d,m]=(0,i.useState)(!1),[u,h]=(0,i.useState)(!1),[_,g]=(0,i.useState)({}),k=(0,i.useCallback)(()=>{const e={};return o.firstName.trim()||(e.firstName="First Name is required"),o.phone.trim()?o.phone.replace(/\D/g,"").length>=7||(e.phone="Phone must contain at least 7 digits"):e.phone="Phone is required",o.email.trim()?function(e){return p.test(e)}(o.email)||(e.email="Please enter a valid email"):e.email="Email is required",o.companyName.trim()||(e.companyName="Company Name is required"),g(e),0===Object.keys(e).length},[o]),y=(0,i.useCallback)(async e=>{if(e.preventDefault(),k()){m(!0);try{const e={brand:"ratehawk",cooperation_type:"api",kind:"b2b",white_label_slug:"ratehawk",email:o.email,message:o.message,company_name:o.companyName,name:o.firstName,phone:o.phone};if(!(await fetch("https://www.ratehawk.com/partner/user_area/v1/anonymous/contact_us/",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)})).ok)throw new Error("Failed to submit form");h(!0)}catch(e){console.error("Form submission error:",e)}finally{m(!1)}}},[o,k]),C=(0,i.useCallback)(e=>t=>{c(a=>({...a,[e]:t.target.value})),_[e]&&g(t=>({...t,[e]:void 0}))},[_]),M=(0,i.useCallback)(()=>{c({firstName:"",phone:"",email:"",companyName:"",message:""}),g({}),h(!1),t()},[t]);return e?(0,s.jsx)("div",{className:(0,r.L)("ContactModal-module__overlay--ti1yT",l),onClick:M,children:(0,s.jsxs)("div",{className:"ContactModal-module__modal--Xzwl2",onClick:e=>e.stopPropagation(),children:[(0,s.jsx)("button",{className:(0,r.L)("ContactModal-module__closeButton--qvADd",l),onClick:M,type:"button",children:(0,s.jsx)(f,{})}),u?(0,s.jsxs)("div",{className:"ContactModal-module__successMessage--Nyhi4",children:[(0,s.jsx)("h2",{className:"ContactModal-module__successTitle--dVn02",children:"Successfully accepted"}),(0,s.jsx)("p",{className:"ContactModal-module__successText--KJznx",children:"Your application has flown to our caring specialists! We will contact you soon"})]}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("h2",{className:"ContactModal-module__title--XrI8J",children:(0,s.jsx)("span",{className:"ContactModal-module__titleText--HH4uj",children:"Cooperation"})}),(0,s.jsx)("p",{className:"ContactModal-module__subtitle--dS9UA",children:"Drop us a line and we will get back to you as soon as possible!"}),(0,s.jsxs)("form",{className:"ContactModal-module__form--XuQzj",onSubmit:y,children:[(0,s.jsxs)("div",{className:v,children:[(0,s.jsx)("label",{className:`${b} ${_.firstName?j:""}`,children:(0,s.jsx)("input",{type:"text",className:w,value:o.firstName,onChange:C("firstName"),placeholder:"First Name *"})}),_.firstName&&(0,s.jsx)("span",{className:N,children:_.firstName})]}),(0,s.jsxs)("div",{className:v,children:[(0,s.jsx)("label",{className:`${b} ${_.phone?j:""}`,children:(0,s.jsx)("input",{type:"tel",className:w,value:o.phone,onChange:C("phone"),placeholder:"Phone *"})}),_.phone&&(0,s.jsx)("span",{className:N,children:_.phone})]}),(0,s.jsxs)("div",{className:v,children:[(0,s.jsx)("label",{className:`${b} ${_.email?j:""}`,children:(0,s.jsx)("input",{type:"email",className:w,value:o.email,onChange:C("email"),placeholder:"Email Address *"})}),_.email&&(0,s.jsx)("span",{className:N,children:_.email})]}),(0,s.jsxs)("div",{className:v,children:[(0,s.jsx)("label",{className:`${b} ${_.companyName?j:""}`,children:(0,s.jsx)("input",{type:"text",className:w,value:o.companyName,onChange:C("companyName"),placeholder:"Company Name *"})}),_.companyName&&(0,s.jsx)("span",{className:N,children:_.companyName})]}),(0,s.jsx)("div",{className:v,children:(0,s.jsx)("label",{className:"ContactModal-module__textareaWrapper--rSQEQ",children:(0,s.jsx)("textarea",{className:"ContactModal-module__textarea--i19oy",value:o.message,onChange:C("message"),placeholder:"Message",rows:4})})}),(0,s.jsx)(n.A,{type:"submit",theme:"primary",variant:"white",disabled:d,className:"ContactModal-module__submitButton--qbQOa",children:d?"Sending...":"Send"})]})]})]})}):null},y="Footer-module__footerLink--ipb6W",C="Footer-module__footerLegalText--xlXoo",M="Footer-module__footerParagraphSection--rin95",T=[{title:"For marketing and PR",text:"We regularly run promotions, campaigns, and partner events to engage and incentivize our clients with special offers. If you interested in such partnership please contact us at {{link}}.",link:"pr@emergingtravel.com",button:{text:"Cooperate",action:"form"},cssClass:"Footer-module__marketingBlock--DnIGu"},{title:"For affiliates partnerships",text:"Integrate our solution to make it easy and profitable to book hotels through your website or online service. Integrate quickly and reliably with our system. Still have questions? Contact us at {{link}}.",link:"affiliate@emergingtravel.com",button:{text:"Learn more",url:"https://www.ratehawk.com/lp/en-us/travel-related-websites/"},cssClass:"Footer-module__affiliatesBlock--jVQ0L"},{title:"For suppliers",text:"As official partners of the world's largest OTA, wholesalers, consolidators, and DMCs, we invite you to enhance your sales and grow your business together. Contact us at {{link}}.",link:"tpp@emergingtravel.com",button:{text:"Cooperate",action:"form"},cssClass:"Footer-module__suppliersBlock--yrn9l"},{title:"For hotels",text:"Become our partner to increase your direct sales and the popularity of your accommodation options. \u2028For partnership inquiries, please contact us at {{link}}.",link:"hotels@emergingtravel.com",button:{text:"Learn more",url:"https://www.ratehawk.com/lp/en-us/travel-related-websites/"},cssClass:"Footer-module__hotelsBlock--uGUyj"},{title:"For technology providers",text:"If you are a mid-office or platform interested in integrating with RateHawk to develop your business, please contact us at {{link}}.",link:"api@ratehawk.com",button:{text:"Cooperate",action:"form"},cssClass:"Footer-module__providersBlock--Zmk8W"}],L=({className:e="",fluidMode:t,...a})=>{const[l,c]=(0,i.useState)(!1),m=(0,i.useCallback)(()=>{c(!0)},[]),u=(0,i.useCallback)(()=>{c(!1)},[]);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(o.A,{...a,withTopBorder:!0,theme:"black",fluidMode:t,className:(0,r.L)("Footer-module__root--T9ly6",e),as:"footer",children:[(0,s.jsxs)("div",{className:"Footer-module__header--hy1ME",children:[(0,s.jsx)("p",{className:"Footer-module__title--OX7d9",children:"Partnership"}),(0,s.jsx)("p",{className:"Footer-module__subTitle--EmP0b",children:"Cooperate and grow together with RateHawk"})]}),(0,s.jsx)("ul",{className:"Footer-module__advantages--z7ASK",children:T.map(e=>(0,s.jsxs)("li",{className:(0,r.L)("Footer-module__advantageItem--EcCx_",e.cssClass),children:[(0,s.jsxs)("div",{className:"Footer-module__advantageInfo--Ilud0",children:[(0,s.jsx)("h6",{className:"Footer-module__advantageTitle--spnaR",children:(0,s.jsx)("span",{className:"Footer-module__advantageTitleText--cMrU_",dangerouslySetInnerHTML:{__html:e.title}})}),(0,s.jsx)("p",{className:"Footer-module__advantageText--BHbmo",dangerouslySetInnerHTML:{__html:e.text.replace("{{link}}",`<a class="Footer-module__advantageLink--bcoK8" href="mailto:${e.link}">${e.link}</a>`)}})]}),(0,s.jsx)(n.A,{theme:"secondary",variant:"white",...e.button.url?{url:e.button.url}:{onClick:m},children:e.button.text})]},e.title))}),(0,s.jsxs)("div",{className:"Footer-module__footerBottom--u_o7y",children:[(0,s.jsxs)("div",{className:"Footer-module__footerLeft--nnkZo",children:[(0,s.jsxs)("div",{className:"Footer-module__social--H1Yw4",children:[(0,s.jsx)("a",{href:"https://www.facebook.com/ratehawk",target:"_blank",rel:"noopener noreferrer",children:(0,s.jsx)(d,{})}),(0,s.jsx)("a",{href:"https://www.linkedin.com/company/ratehawk-com/",target:"_blank",rel:"noopener noreferrer",children:(0,s.jsx)(h,{})})]}),(0,s.jsxs)("ul",{className:"Footer-module__footerLinks--R9Hnr",children:[(0,s.jsx)("li",{children:(0,s.jsx)("a",{href:"https://www.ratehawk.com/lp/en-us/career",target:"_blank",rel:"noopener noreferrer",className:y,children:"Careers"})}),(0,s.jsx)("li",{children:(0,s.jsx)("a",{href:"https://blog.ratehawk.com/",target:"_blank",rel:"noopener noreferrer",className:y,children:"Blog"})})]})]}),(0,s.jsxs)("div",{className:"Footer-module__footerLegal--jAGGe",children:[(0,s.jsxs)("div",{className:M,children:[(0,s.jsx)("p",{className:C,children:"Leaside Services Limited, reg.no HE342401, Business Address: 17 Karaiskaki Street, Office 22, Agaia Triada, Limassol, Cyprus, 3032 Emerging Travel Inc., reg.no 4869611, Business Address: 1000 N West Street, Suite 1200, Wilmington, DE 19801 USA EMERGING TRAVEL UK LIMITED, Company number 12185384, Business Address: 19 Eastbourne Terrace, Office 3.01, Paddington, London, W2 6LG, UK"}),(0,s.jsx)("p",{className:C,children:"Emerging Travel Germany ETG GmbH, HRB 213546, Business Address: Friedrichstraße 171, 10117 Berlin, Germany"}),(0,s.jsx)("p",{className:C,children:"Emerging Travel Kazakhstan LLP, BIN 191240026456, Business address: Office SP2-18, 280 Baizakova Street, Bostandykskiy district, 050040, Almaty, Republic of Kazakhstan"}),(0,s.jsx)("p",{className:C,children:"Smart Middle East Travel Agency L.L.C, Reg.no: 1803677, Business address: Al Rigga - Office No. 202-201-221, Insurance Building, Dubai, UAE"}),(0,s.jsx)("p",{className:C,children:"Emerging Travel Asia PTE. LTD, Reg.no: 201927854K, TA license: TA03682, Business address: 300 Tampines Avenue 5 #09-02, Tampines Junction Singapore 529653"})]}),(0,s.jsx)("div",{className:M,children:(0,s.jsx)("p",{className:C,children:(0,s.jsx)("a",{href:"https://www.ratehawk.com/legal/site/privacy-policy/",target:"_blank",rel:"noopener noreferrer",children:"Personal data processing and storage policy"})})}),(0,s.jsx)("div",{className:M,children:(0,s.jsx)("p",{className:C,children:"Digital Services Act"})}),(0,s.jsx)("div",{className:M,children:(0,s.jsx)("p",{className:C,children:"Ratehawk is a registered service mark in the European Union"})})]})]})]}),(0,s.jsx)(k,{isOpen:l,onClose:u,fluidMode:t})]})}},493:(e,t,a)=>{a.d(t,{A:()=>d});var l=a(178),s=a(39);var n=a(130);const o={left:"Text-module__left--RzKTw",center:"Text-module__center--oxKFj"},r={left:"Text-module__leftMobile--ZT3Y6",center:"Text-module__centerMobile--QfiCW"},i={left:"Text-module__leftTablet--Oy43k",center:"Text-module__centerTablet--QTnx5"},c={left:"Text-module__leftDesktop--Bw5gb",center:"Text-module__centerDesktop--RWenh"},d=({className:e="",children:t,align:a="left",alignMobile:d,alignTablet:m,alignDesktop:u,as:h="p",fluidMode:x,...p})=>{const _=(0,n.u)(x);return(0,l.jsx)(h,{...p,className:(0,s.L)("Text-module__textContainer--iQeaj",_,o[a],d&&r[d],m&&i[m],u&&c[u],e),children:(0,l.jsx)("span",{className:"Text-module__text--X_l8e",children:t})})}},627:(e,t,a)=>{a.d(t,{A:()=>l.A});var l=a(374)},649:(e,a,l)=>{var s,n;e.exports=(s={createElement:()=>t.createElement,default:()=>t.default,useCallback:()=>t.useCallback,useEffect:()=>t.useEffect,useRef:()=>t.useRef,useState:()=>t.useState},n={},l.d(n,s),n)},670:(e,t,a)=>{a.d(t,{A:()=>r});var l=a(178),s=a(130),n=a(39);const o={root:"HotelCard-module__root--popq0",rootFixed:"HotelCard-module__rootFixed--TvjpT",clickable:"HotelCard-module__clickable--mp25I",imageContainer:"HotelCard-module__imageContainer--FZfWz",image:"HotelCard-module__image--fREMp",discount:"HotelCard-module__discount--G2sau",discountText:"HotelCard-module__discountText--hH9Sf",content:"HotelCard-module__content--IA_3z",stars:"HotelCard-module__stars--jTODO",starFilled:"HotelCard-module__starFilled--Ps4vk",starEmpty:"HotelCard-module__starEmpty--FBbdo",title:"HotelCard-module__title--BOmwo",location:"HotelCard-module__location--uglfh",dates:"HotelCard-module__dates--mhAjB",priceInfoWrapper:"HotelCard-module__priceInfoWrapper--fplFE",priceInfo:"HotelCard-module__priceInfo--qLmoQ",bookNowText:"HotelCard-module__bookNowText--pgznJ",mainPriceText:"HotelCard-module__mainPriceText--wIEbi",infoPriceText:"HotelCard-module__infoPriceText--GSy_s"},r=({className:e="",name:t,location:a,stars:r,image:i,dates:c,discountText:d,onClick:m,url:u,width:h="auto",price:x,fluidMode:p,..._})=>{const g=(0,s.u)(p),f=u?"a":"div",v=u?{href:u,target:"_blank",rel:"noopener noreferrer"}:{};return(0,l.jsxs)(f,{..._,...v,className:(0,n.L)(o.root,g,"fixed"===h&&o.rootFixed,e,u&&o.clickable),onClick:m,children:[(0,l.jsxs)("div",{className:o.imageContainer,children:[(0,l.jsx)("img",{src:i,alt:t,className:o.image}),d?(0,l.jsx)("div",{className:o.discount,children:(0,l.jsx)("span",{className:o.discountText,dangerouslySetInnerHTML:{__html:d}})}):null]}),(0,l.jsxs)("div",{className:o.content,children:[(()=>{if(!r)return null;const e=[];for(let a=0;a<5;a++)e.push((0,l.jsx)("div",{className:a<r?o.starFilled:o.starEmpty},`star-${t}-${a}`));return(0,l.jsx)("div",{className:o.stars,children:e})})(),(0,l.jsx)("h3",{className:o.title,children:t}),a&&(0,l.jsx)("p",{className:o.location,children:a}),c&&(0,l.jsxs)("p",{className:o.dates,children:["Travel Dates: ",c]}),(0,l.jsx)("div",{className:o.priceInfoWrapper,children:(0,l.jsx)("div",{className:o.priceInfo,children:x?(0,l.jsxs)("div",{className:o.priceText,children:[(0,l.jsxs)("div",{className:o.mainPriceText,children:["From ",(0,l.jsx)("strong",{children:x})]}),(0,l.jsx)("div",{className:o.infoPriceText,children:(0,l.jsx)("span",{children:"For 1 night and 2 guests"})})]}):(0,l.jsx)("div",{className:o.bookNowText,children:"Book now"})})})]})]})}},697:(e,t,a)=>{a.d(t,{A:()=>d});var l=a(178),s=a(130),n=a(39),o=a(374),r=a(94),i=a(110);var c=a(93);const d=({className:e="",heroYellowText:t,heroWhiteText:a,hotelsTitle:d,hotelsSubtitle:m,hotels:u,backgroundMobile:h,backgroundDesktop:x,backgroundDesktop2x:p,heroLogo:_=!0,fluidMode:g,onLoginClick:f,onRegisterClick:v,...b})=>{const j=(0,s.u)(g);return(0,l.jsxs)("div",{...b,className:(0,n.L)("HotelsLanding-module__root--JnV8j",j,e),children:[(0,l.jsx)(r.A,{onLoginClick:f,onRegisterClick:v,fluidMode:g}),(0,l.jsxs)("main",{children:[(0,l.jsx)(i.A,{yellowText:t,whiteText:a,showLogo:_,backgroundMobile:h,backgroundDesktop:x,backgroundDesktop2x:p}),(0,l.jsx)(c.A,{title:d,subtitle:m,hotels:u,fluidMode:g})]}),(0,l.jsx)(o.A,{})]})}},744:(e,t,a)=>{a.d(t,{A:()=>r});var l=a(178),s=a(39);var n=a(130);const o={yellow:"Section-module__themeYellow--TpLu_",black:"Section-module__themeBlack--S5jGY"},r=({className:e,theme:t,id:a,fluidMode:r,as:i="section",withTopBorder:c,children:d,...m})=>{const u=(0,n.u)(r);return(0,l.jsx)(i,{...m,id:a,className:(0,s.L)("Section-module__section--qmgjG",u,t&&o[t],c&&"Section-module__withTopBorder--olQtQ",e),children:d})}},782:(e,t,a)=>{a.d(t,{A:()=>l.A});var l=a(93)},793:(e,t,a)=>{a.d(t,{A:()=>l.A});var l=a(94)},924:(e,t,a)=>{a.d(t,{A:()=>l.A});var l=a(670)},992:(e,t,a)=>{a.d(t,{b:()=>l}),globalThis.__fluidModeState||(globalThis.__fluidModeState={state:!1});const l=globalThis.__fluidModeState}},l={};function s(e){var t=l[e];if(void 0!==t)return t.exports;var n=l[e]={exports:{}};return a[e](n,n.exports,s),n.exports}s.d=(e,t)=>{for(var a in t)s.o(t,a)&&!s.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),s.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};s.r(n),s.d(n,{Button:()=>o.A,Footer:()=>r.A,Header:()=>i.A,HeroSection:()=>c.A,HotelCard:()=>d.A,HotelsLanding:()=>m.A,HotelsSection:()=>u.A,PromoFeatures:()=>h.A,Section:()=>x.A,SectionTitle:()=>p.A,Text:()=>_.A});var o=s(268),r=s(627),i=s(793),c=s(67),d=s(924),m=s(697),u=s(782),h=s(0),x=s(744),p=s(26),_=s(493),g=s(992);export{n as RHComponents};export const fluidModeState=g.b;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PromoFeatures.d.ts","sourceRoot":"","sources":["../../../src/rh-components/PromoFeatures/PromoFeatures.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,KAAK,SAAS,GAAG,KAAK,GAAG,OAAO,GAAG,OAAO,GAAG,OAAO,CAAC;AASrD,MAAM,WAAW,YAAY;IAC3B,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,kBAAkB;IACjC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,YAAY,EAAE,CAAC;IACzB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED,QAAA,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,
|
|
1
|
+
{"version":3,"file":"PromoFeatures.d.ts","sourceRoot":"","sources":["../../../src/rh-components/PromoFeatures/PromoFeatures.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,KAAK,SAAS,GAAG,KAAK,GAAG,OAAO,GAAG,OAAO,GAAG,OAAO,CAAC;AASrD,MAAM,WAAW,YAAY;IAC3B,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,kBAAkB;IACjC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,YAAY,EAAE,CAAC;IACzB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED,QAAA,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAoC/C,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
|
@@ -55,9 +55,9 @@
|
|
|
55
55
|
.PromoFeatures-module__item--Y5CKb {
|
|
56
56
|
display: grid;
|
|
57
57
|
grid-template-rows: subgrid;
|
|
58
|
-
grid-row: span
|
|
59
|
-
grid-gap:
|
|
60
|
-
gap:
|
|
58
|
+
grid-row: span 3;
|
|
59
|
+
grid-gap: 12em;
|
|
60
|
+
gap: 12em;
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
.PromoFeatures-module__icon--GuJuT {
|
|
@@ -76,15 +76,14 @@
|
|
|
76
76
|
|
|
77
77
|
.PromoFeatures-module__title--Tihb3 {
|
|
78
78
|
font-weight: 400;
|
|
79
|
-
font-size: 18em;
|
|
80
79
|
line-height: 1;
|
|
81
80
|
margin: 0;
|
|
81
|
+
padding-bottom: 12em;
|
|
82
|
+
border-bottom: 1px solid #BFBFBF;
|
|
82
83
|
}
|
|
83
84
|
|
|
84
|
-
.PromoFeatures-
|
|
85
|
-
|
|
86
|
-
height: 1px;
|
|
87
|
-
background-color: #BFBFBF;
|
|
85
|
+
.PromoFeatures-module__titleText--KSQ4A {
|
|
86
|
+
font-size: 18em;
|
|
88
87
|
}
|
|
89
88
|
|
|
90
89
|
.PromoFeatures-module__text--N_eji {
|
|
@@ -103,7 +102,7 @@
|
|
|
103
102
|
gap: 12em;
|
|
104
103
|
}
|
|
105
104
|
|
|
106
|
-
.PromoFeatures-
|
|
105
|
+
.PromoFeatures-module__titleText--KSQ4A {
|
|
107
106
|
font-size: 18em;
|
|
108
107
|
}
|
|
109
108
|
|
|
@@ -121,7 +120,7 @@
|
|
|
121
120
|
gap: 16em;
|
|
122
121
|
}
|
|
123
122
|
|
|
124
|
-
.PromoFeatures-
|
|
123
|
+
.PromoFeatures-module__titleText--KSQ4A {
|
|
125
124
|
font-size: 22em;
|
|
126
125
|
}
|
|
127
126
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import*as e from"react/jsx-runtime";import*as t from"react";var l={39:(e,t,l)=>{l.d(t,{L:()=>r});const r=(...e)=>e.filter(Boolean).join(" ")},130:(e,t,l)=>{l.d(t,{N:()=>a,u:()=>
|
|
1
|
+
import*as e from"react/jsx-runtime";import*as t from"react";var l={39:(e,t,l)=>{l.d(t,{L:()=>r});const r=(...e)=>e.filter(Boolean).join(" ")},130:(e,t,l)=>{l.d(t,{N:()=>a,u:()=>n}),l(178);var r=l(992);const a=({children:e,fluidMode:t=!1})=>{fluidModeState.state=t;const l=`\n ${t?fluidLayoutCss:staticLayoutCss};\n `;return _jsxs(_Fragment,{children:[_jsx("style",{dangerouslySetInnerHTML:{__html:l}}),e]})},n=e=>(e=>{if("boolean"==typeof e)return e;if("undefined"!=typeof document){const e=document.documentElement.getAttribute("data-fluid-mode");if(null!==e)return"true"===e}return r.b.state})(e)?"layout-module__fluidLayout--BNE04":"layout-module__staticLayout--x_6dR"},178:(t,l,r)=>{var a,n;t.exports=(a={jsx:()=>e.jsx,jsxs:()=>e.jsxs},n={},r.d(n,a),n)},649:(e,l,r)=>{var a,n;e.exports=(a={createElement:()=>t.createElement,default:()=>t.default},n={},r.d(n,a),n)},992:(e,t,l)=>{l.d(t,{b:()=>r}),globalThis.__fluidModeState||(globalThis.__fluidModeState={state:!1});const r=globalThis.__fluidModeState}},r={};function a(e){var t=r[e];if(void 0!==t)return t.exports;var n=r[e]={exports:{}};return l[e](n,n.exports,a),n.exports}a.d=(e,t)=>{for(var l in t)a.o(t,l)&&!a.o(e,l)&&Object.defineProperty(e,l,{enumerable:!0,get:t[l]})},a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var n=a(178),o=a(130),s=a(39),c=a(649);var i,m,h,u,d,v,f,p;function g(){return g=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var r in l)({}).hasOwnProperty.call(l,r)&&(e[r]=l[r])}return e},g.apply(null,arguments)}function x(){return x=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var r in l)({}).hasOwnProperty.call(l,r)&&(e[r]=l[r])}return e},x.apply(null,arguments)}function _(){return _=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var r in l)({}).hasOwnProperty.call(l,r)&&(e[r]=l[r])}return e},_.apply(null,arguments)}function b(){return b=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var r in l)({}).hasOwnProperty.call(l,r)&&(e[r]=l[r])}return e},b.apply(null,arguments)}const j={car:e=>c.createElement("svg",g({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 65 50"},e),i||(i=c.createElement("path",{fill:"#FEDD00",d:"M33.276 9.584h8.532l4.266 1.843 2.715 3.49-29.784 17.93s-4.603-4.465-8.276 0H2.25l1.492-10.085 2.774-9.32 3.878-3.47 9.308-.582z"})),m||(m=c.createElement("path",{stroke:"#000",strokeMiterlimit:10,strokeWidth:2.6,d:"M53.762 19.724H39.474M2.25 33.325l1.669-9.049C7.636 9.606 6.891 9.585 23.639 9.585h15.927a10.36 10.36 0 0 1 7.957 3.718l5.363 6.415h1.68a7.05 7.05 0 0 1 6.551 4.43l1.316 4.67a5 5 0 0 1-.512 4.507l-1.26 1.912m-41.2.72c0 2.57-2.101 4.654-4.694 4.654s-4.694-2.084-4.694-4.654 2.102-4.654 4.694-4.654 4.694 2.083 4.694 4.654Zm32.434 0c0 2.57-2.101 4.654-4.694 4.654s-4.694-2.084-4.694-4.654 2.102-4.654 4.694-4.654 4.694 2.083 4.694 4.654Z"}))),globe:e=>c.createElement("svg",x({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 57 50"},e),h||(h=c.createElement("path",{fill:"#FEDD00",d:"M52.25 15.156 13.447 47.853l-4.35-5.392-3.548-4.13L2 30.988v-8.834l3.549-8.375L11.5 6.78l8.013-3.557 9.5-1.606 6.753.918 5.953 2.18 6.868 4.933z"})),u||(u=c.createElement("path",{stroke:"#000",strokeWidth:2.6,d:"M18.162 17.49a22.5 22.5 0 0 0 8.016 1.47h5.363c2.344 0 4.608-.36 6.744-1.029m-20.123-.44c-3.766-1.432-7.082-3.842-9.667-6.938m9.667 6.938c1.425-8.997 4.885-15.345 8.927-15.345m-8.927 15.345c-.45 2.834-.697 5.93-.697 9.175 0 2.744.177 5.384.504 7.848m-3.232 13.869c-2.843-1.562-4.8-3.716-6.805-6.305-3.26-4.211-5.213-9.573-5.213-15.412 0-6.168 2.18-11.804 5.776-16.113 4.3-5.151 10.629-8.407 17.683-8.407h.911m22.135 8.407c-2.872 3.44-6.647 6.034-10.94 7.378m4.157 30.452a23.8 23.8 0 0 0 7.346-6.305c3.26-4.211 5.212-9.573 5.212-15.412 0-6.168-2.178-11.804-5.776-16.113-4.3-5.151-10.628-8.407-17.682-8.407h-2.252m8.996 15.785c-1.382-9.229-4.888-15.785-8.996-15.785m8.996 15.785c.406 2.714.628 5.658.628 8.735 0 2.576-.156 5.059-.445 7.391M27.09 2.147h2.2M7.932 42.076c2.615-3.377 6.072-6.015 10.037-7.563m31.818 7.564c-2.894-3.738-6.817-6.568-11.319-8.02m0 0a22.5 22.5 0 0 0-6.928-1.087h-5.362a22.5 22.5 0 0 0-8.21 1.543m20.5-.457c-.769 6.205-1.94 11.344-4.166 14.326M17.97 34.514c.795 6 2.477 10.96 4.648 13.869"}))),plane:e=>c.createElement("svg",_({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 59 52"},e),d||(d=c.createElement("path",{fill:"#FEDD00",d:"M36.914 24.713 23.144 36.39 2.527 45.025 1.285 43.37l23.2-20.229V6.574L29.043 1.2l5.385 5.374.456 16.568z"})),v||(v=c.createElement("path",{stroke:"#000",strokeWidth:2.6,d:"m26.066 50.914-.927-15.36-21.685 9.424a1.54 1.54 0 0 1-1.61-2.588l22.579-19.13V6.872c0-.563.195-1.11.552-1.548l2.542-3.114a2.47 2.47 0 0 1 1.846-.91c.688.022 1.369.325 1.846.91l2.542 3.114c.357.438.553.985.553 1.548V23.26l22.578 19.13a1.54 1.54 0 0 1-1.61 2.588l-21.685-9.423-.927 15.36"}))),train:e=>c.createElement("svg",b({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 65 50"},e),f||(f=c.createElement("path",{fill:"#FEDD00",d:"M31.071 9.41H6.292v23.302l9.3-.124 30.459-22.121-5.056-1.056z"})),p||(p=c.createElement("path",{fill:"#000",fillRule:"evenodd",stroke:"#000",strokeWidth:.767,d:"m58.344 25.623-1.69-4.399-.01.005-.169-.465c-.14-.385-1.441-3.918-3.465-6.37l-.004-.001-.084-.102a14 14 0 0 0-.938-.996c-2.788-2.73-6.98-4.26-11.836-4.26H6.129v1.034h34.019c4.014 0 7.587 1.097 10.18 3.157l1.099.874h-9.196c-.3 0-.531.238-.531.517v6.336c0 .28.23.516.53.516h13.384l1.734 4.515a4.1 4.1 0 0 1-.48 3.87 4.22 4.22 0 0 1-3.49 1.807H33.903v1.033h19.272l.003-.003h.203a5.33 5.33 0 0 0 4.367-2.258 5.15 5.15 0 0 0 .596-4.81ZM10.416 15.225c0-.278.231-.516.532-.516h6.733c.3 0 .532.238.532.516v4.768c0 .278-.231.517-.532.517h-6.733a.524.524 0 0 1-.532-.517zm10.466 0c0-.278.23-.516.531-.516h6.92c.3 0 .531.238.531.516v4.768c0 .278-.23.517-.531.517h-6.92a.524.524 0 0 1-.531-.517zm10.348 0c0-.278.23-.516.531-.516h7.285c.3 0 .531.238.531.516v4.768c0 .278-.23.517-.531.517H31.76a.524.524 0 0 1-.531-.517zm21.028-.092h-9.496v5.303h12.46l-.3-.686c-.522-1.195-1.398-2.983-2.517-4.427zm-35.112.609h-5.67v3.734h5.67zm10.656 0h-5.858v3.734h5.858zm10.712 0h-6.222v3.734h6.222zM6.13 32.694v-1.033h9.161v1.033zm11.185 3.72v-1.006H58.87v1.033h-4.199v3.49h4.2v1.033H6.128v-1.033h3.55v-3.49H6.13v-1.033h10.204v1.006zm-1.022.027h-5.55v3.49h5.55zm5.94 0h-4.878v3.49h4.877zm6.427 0h-5.365v3.49h5.365zm6.245 0h-5.183v3.49h5.183zm6.183 0h-5.12v3.49h5.12zm6.368 0H42.15v3.49h5.306zm6.155 0h-5.092v3.49h5.092z",clipRule:"evenodd"})))},w=({className:e,features:t,fluidMode:l,mobileIconHeight:r="40em",tabletIconHeight:a="50em",desktopIconHeight:i="50em"})=>{const m=(0,o.u)(l),h={"--promo-icon-height-mobile":r,"--promo-icon-height-tablet":a,"--promo-icon-height-desktop":i};return(0,n.jsx)("ul",{className:(0,s.L)("PromoFeatures-module__root--DJbC2",m,e),style:h,children:t.map(e=>(0,n.jsxs)("li",{className:"PromoFeatures-module__item--Y5CKb",children:[(0,n.jsx)("div",{className:"PromoFeatures-module__icon--GuJuT",children:e.icon?c.default.createElement(j[e.icon]):e.iconSrc?(0,n.jsx)("img",{src:e.iconSrc,alt:e.title}):null}),(0,n.jsx)("h3",{className:"PromoFeatures-module__title--Tihb3",children:(0,n.jsx)("span",{className:"PromoFeatures-module__titleText--KSQ4A",dangerouslySetInnerHTML:{__html:e.title}})}),(0,n.jsx)("p",{className:"PromoFeatures-module__text--N_eji",dangerouslySetInnerHTML:{__html:e.text}})]},e.title))})};export{w as default};
|