int-components 0.0.26 → 0.0.29

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.
Files changed (48) hide show
  1. package/dist/index.css +266 -3
  2. package/dist/index.js +1 -1
  3. package/dist/rh-components/Button/index.css +35 -0
  4. package/dist/rh-components/Button/index.js +1 -1
  5. package/dist/rh-components/Footer/Footer.d.ts.map +1 -1
  6. package/dist/rh-components/Footer/index.css +60 -3
  7. package/dist/rh-components/Footer/index.js +1 -1
  8. package/dist/rh-components/Header/index.css +35 -0
  9. package/dist/rh-components/Header/index.js +1 -1
  10. package/dist/rh-components/HeroSection/index.css +35 -0
  11. package/dist/rh-components/HeroSection/index.js +1 -1
  12. package/dist/rh-components/HotelCard/index.css +35 -0
  13. package/dist/rh-components/HotelCard/index.js +1 -1
  14. package/dist/rh-components/HotelsLanding/index.css +66 -3
  15. package/dist/rh-components/HotelsLanding/index.js +1 -1
  16. package/dist/rh-components/HotelsSection/index.css +41 -0
  17. package/dist/rh-components/HotelsSection/index.js +1 -1
  18. package/dist/rh-components/PromoFeatures/PromoFeatures.d.ts +18 -0
  19. package/dist/rh-components/PromoFeatures/PromoFeatures.d.ts.map +1 -0
  20. package/dist/rh-components/PromoFeatures/index.css +135 -0
  21. package/dist/rh-components/PromoFeatures/index.d.ts +3 -0
  22. package/dist/rh-components/PromoFeatures/index.d.ts.map +1 -0
  23. package/dist/rh-components/PromoFeatures/index.js +1 -0
  24. package/dist/rh-components/Section/Section.d.ts +14 -0
  25. package/dist/rh-components/Section/Section.d.ts.map +1 -0
  26. package/dist/rh-components/Section/index.css +65 -0
  27. package/dist/rh-components/Section/index.d.ts +3 -0
  28. package/dist/rh-components/Section/index.d.ts.map +1 -0
  29. package/dist/rh-components/Section/index.js +1 -0
  30. package/dist/rh-components/SectionTitle/SectionTitle.d.ts +16 -0
  31. package/dist/rh-components/SectionTitle/SectionTitle.d.ts.map +1 -0
  32. package/dist/rh-components/SectionTitle/index.css +103 -0
  33. package/dist/rh-components/SectionTitle/index.d.ts +3 -0
  34. package/dist/rh-components/SectionTitle/index.d.ts.map +1 -0
  35. package/dist/rh-components/SectionTitle/index.js +1 -0
  36. package/dist/rh-components/Text/Text.d.ts +16 -0
  37. package/dist/rh-components/Text/Text.d.ts.map +1 -0
  38. package/dist/rh-components/Text/index.css +91 -0
  39. package/dist/rh-components/Text/index.d.ts +3 -0
  40. package/dist/rh-components/Text/index.d.ts.map +1 -0
  41. package/dist/rh-components/Text/index.js +1 -0
  42. package/dist/rh-components/index.d.ts +8 -0
  43. package/dist/rh-components/index.d.ts.map +1 -1
  44. package/dist/themes/ratehawk/index.css +35 -0
  45. package/dist/themes/ratehawk/index.d.ts +1 -1
  46. package/dist/themes/ratehawk/index.d.ts.map +1 -1
  47. package/dist/themes/ratehawk/index.js +1 -1
  48. package/package.json +1 -1
package/dist/index.css CHANGED
@@ -1,3 +1,27 @@
1
+ @font-face {
2
+ font-family: 'Aeonik';
3
+ src: url('https://of.worldota.net/fonts/aeonik/Aeonik-Bold.woff2') format('woff2');
4
+ font-weight: 900;
5
+ font-style: normal;
6
+ font-display: swap;
7
+ }
8
+
9
+ @font-face {
10
+ font-family: 'Aeonik';
11
+ src: url('https://of.worldota.net/fonts/aeonik/Aeonik-Regular.woff2') format('woff2');
12
+ font-weight: 400;
13
+ font-style: normal;
14
+ font-display: swap;
15
+ }
16
+
17
+ @font-face {
18
+ font-family: 'ABCGravity';
19
+ src: url('https://of.worldota.net/fonts/ABCGravity/ABCGravity.woff2') format('woff2');
20
+ font-weight: 900;
21
+ font-style: normal;
22
+ font-display: swap;
23
+ }
24
+
1
25
  .layout-module__fluidLayout--BNE04[class] {
2
26
  font-size: 1rem;
3
27
  }
@@ -6,6 +30,17 @@
6
30
  font-size: 1px;
7
31
  }
8
32
 
33
+ .layout-module__fluidLayout--BNE04[class], .layout-module__staticLayout--x_6dR[class] {
34
+ --side-padding: 18em;
35
+ }
36
+
37
+ @media (min-width: 500px) {
38
+
39
+ .layout-module__fluidLayout--BNE04[class], .layout-module__staticLayout--x_6dR[class] {
40
+ --side-padding: 24em;
41
+ }
42
+ }
43
+
9
44
  @keyframes Button-module__spin--lWtk7 {
10
45
  from {
11
46
  transform: rotate(0deg);
@@ -186,6 +221,28 @@
186
221
  mask-size: 100% 100%;
187
222
  }
188
223
 
224
+ .Section-module__section--qmgjG {
225
+ padding: 80em var(--side-padding);
226
+ }
227
+
228
+ .Section-module__themeYellow--TpLu_ {
229
+ --text-color: var(--color-black, #000);
230
+ background-color: var(--color-yellow, #FEDD00);
231
+ color: var(--text-color);
232
+ }
233
+
234
+ .Section-module__themeBlack--S5jGY {
235
+ --text-color: var(--color-white, #fff);
236
+ background-color: var(--color-black, #000);
237
+ color: var(--text-color);
238
+ }
239
+
240
+ @media (min-width: 1152px) {
241
+ .Section-module__section--qmgjG {
242
+ padding-bottom: 100em;
243
+ }
244
+ }
245
+
189
246
  .ContactModal-module__overlay--ti1yT {
190
247
  position: fixed;
191
248
  top: 0;
@@ -337,11 +394,10 @@
337
394
  }
338
395
 
339
396
  .Footer-module__root--T9ly6 {
340
- background: #000;
341
397
  -webkit-font-smoothing: antialiased;
342
398
  -moz-osx-font-smoothing: grayscale;
343
399
  border-top: 4em solid rgba(140, 30, 255, 1);
344
- padding: 76em 18em 24em;
400
+ padding-bottom: 24em;
345
401
  color: rgba(229, 229, 229, 1);
346
402
  font-family: Aeonik, sans-serif;
347
403
  }
@@ -573,7 +629,8 @@
573
629
 
574
630
  @media (min-width: 1152px) {
575
631
  .Footer-module__root--T9ly6 {
576
- padding: 100em 24em 20em;
632
+ padding-top: 100em;
633
+ padding-bottom: 20em;
577
634
  }
578
635
 
579
636
  .Footer-module__title--OX7d9 {
@@ -1248,6 +1305,9 @@
1248
1305
  font-family: var(--font-secondary, "ABCGravity", sans-serif);
1249
1306
  font-weight: 900;
1250
1307
  font-size: 32em;
1308
+ word-wrap: break-word;
1309
+ overflow-wrap: break-word;
1310
+ word-break: break-word;
1251
1311
  }
1252
1312
 
1253
1313
  @media (min-width: 500px) {
@@ -1271,6 +1331,9 @@
1271
1331
  line-height: 1;
1272
1332
  text-align: center;
1273
1333
  font-size: 14em;
1334
+ word-wrap: break-word;
1335
+ overflow-wrap: break-word;
1336
+ word-break: break-word;
1274
1337
  }
1275
1338
 
1276
1339
  @media (min-width: 500px) {
@@ -1307,3 +1370,203 @@
1307
1370
  background-color: #000000;
1308
1371
  }
1309
1372
 
1373
+ .PromoFeatures-module__root--DJbC2 {
1374
+ display: grid;
1375
+ grid-template-columns: repeat(2, 1fr);
1376
+ grid-gap: 24em 16em;
1377
+ gap: 24em 16em;
1378
+ list-style: none;
1379
+ margin: 0;
1380
+ padding: 0;
1381
+ font-family: Aeonik, sans-serif;
1382
+ }
1383
+
1384
+ .PromoFeatures-module__item--Y5CKb {
1385
+ display: grid;
1386
+ grid-template-rows: subgrid;
1387
+ grid-row: span 4;
1388
+ grid-gap: 10em;
1389
+ gap: 10em;
1390
+ }
1391
+
1392
+ .PromoFeatures-module__icon--GuJuT {
1393
+ display: flex;
1394
+ align-items: center;
1395
+ height: var(--promo-icon-height-mobile, 40em);
1396
+ }
1397
+
1398
+ .PromoFeatures-module__icon--GuJuT img,
1399
+ .PromoFeatures-module__icon--GuJuT svg {
1400
+ display: block;
1401
+ height: 100%;
1402
+ width: auto;
1403
+ }
1404
+
1405
+ .PromoFeatures-module__title--Tihb3 {
1406
+ font-weight: 400;
1407
+ font-size: 18em;
1408
+ line-height: 1;
1409
+ margin: 0;
1410
+ }
1411
+
1412
+ .PromoFeatures-module__divider--vfd6P {
1413
+ width: 100%;
1414
+ height: 1px;
1415
+ background-color: #BFBFBF;
1416
+ }
1417
+
1418
+ .PromoFeatures-module__text--N_eji {
1419
+ font-size: 14em;
1420
+ line-height: 1.23;
1421
+ margin: 0;
1422
+ }
1423
+
1424
+ @media (min-width: 500px) {
1425
+ .PromoFeatures-module__root--DJbC2 {
1426
+ grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
1427
+ gap: 20em;
1428
+ }
1429
+
1430
+ .PromoFeatures-module__item--Y5CKb {
1431
+ gap: 12em;
1432
+ }
1433
+
1434
+ .PromoFeatures-module__title--Tihb3 {
1435
+ font-size: 18em;
1436
+ }
1437
+
1438
+ .PromoFeatures-module__text--N_eji {
1439
+ font-size: 12em;
1440
+ }
1441
+
1442
+ .PromoFeatures-module__icon--GuJuT {
1443
+ height: var(--promo-icon-height-tablet, 50em);
1444
+ }
1445
+ }
1446
+
1447
+ @media (min-width: 1152px) {
1448
+ .PromoFeatures-module__item--Y5CKb {
1449
+ gap: 16em;
1450
+ }
1451
+
1452
+ .PromoFeatures-module__title--Tihb3 {
1453
+ font-size: 22em;
1454
+ }
1455
+
1456
+ .PromoFeatures-module__text--N_eji {
1457
+ font-size: 18em;
1458
+ }
1459
+
1460
+ .PromoFeatures-module__icon--GuJuT {
1461
+ height: var(--promo-icon-height-desktop, 50em);
1462
+ }
1463
+ }
1464
+
1465
+ .SectionTitle-module__title--uw_Rp {
1466
+ font-family: ABCGravity, sans-serif;
1467
+ font-weight: 900;
1468
+ line-height: 0.9;
1469
+ }
1470
+
1471
+ .SectionTitle-module__titleText--l9CQA {
1472
+ font-size: var(--title-font-size, 44em);
1473
+ }
1474
+
1475
+ @media (min-width: 500px) {
1476
+
1477
+ .SectionTitle-module__titleText--l9CQA {
1478
+ --title-font-size: 52em;
1479
+ }
1480
+ }
1481
+
1482
+ @media (min-width: 1152px) {
1483
+
1484
+ .SectionTitle-module__titleText--l9CQA {
1485
+ --title-font-size: 80em;
1486
+ }
1487
+ }
1488
+
1489
+ .SectionTitle-module__center--JEIDM {
1490
+ text-align: center;
1491
+ }
1492
+
1493
+ .SectionTitle-module__left--fJSYS {
1494
+ text-align: left;
1495
+ }
1496
+
1497
+ .SectionTitle-module__centerMobile--Rnb_P {
1498
+ text-align: center;
1499
+ }
1500
+
1501
+ .SectionTitle-module__leftMobile--_VKay {
1502
+ text-align: left;
1503
+ }
1504
+
1505
+ @media (min-width: 500px) {
1506
+ .SectionTitle-module__centerTablet--Eh73B {
1507
+ text-align: center;
1508
+ }
1509
+
1510
+ .SectionTitle-module__leftTablet--Uftlk {
1511
+ text-align: left;
1512
+ }
1513
+ }
1514
+
1515
+ @media (min-width: 1152px) {
1516
+ .SectionTitle-module__centerDesktop--xng2q {
1517
+ text-align: center;
1518
+ }
1519
+
1520
+ .SectionTitle-module__leftDesktop--RJrMW {
1521
+ text-align: left;
1522
+ }
1523
+ }
1524
+
1525
+ .Text-module__textContainer--iQeaj {
1526
+ line-height: var(--text-line-height, 1.23);
1527
+ }
1528
+
1529
+ .Text-module__text--X_l8e {
1530
+ font-size: 16em;
1531
+ }
1532
+
1533
+ .Text-module__center--oxKFj {
1534
+ text-align: center;
1535
+ }
1536
+
1537
+ .Text-module__left--RzKTw {
1538
+ text-align: left;
1539
+ }
1540
+
1541
+ .Text-module__centerMobile--QfiCW {
1542
+ text-align: center;
1543
+ }
1544
+
1545
+ .Text-module__leftMobile--ZT3Y6 {
1546
+ text-align: left;
1547
+ }
1548
+
1549
+ @media (min-width: 500px) {
1550
+ .Text-module__centerTablet--QTnx5 {
1551
+ text-align: center;
1552
+ }
1553
+
1554
+ .Text-module__leftTablet--Oy43k {
1555
+ text-align: left;
1556
+ }
1557
+ }
1558
+
1559
+ @media (min-width: 1152px) {
1560
+ .Text-module__text--X_l8e {
1561
+ font-size: 20em;
1562
+ }
1563
+
1564
+ .Text-module__centerDesktop--RWenh {
1565
+ text-align: center;
1566
+ }
1567
+
1568
+ .Text-module__leftDesktop--Bw5gb {
1569
+ text-align: left;
1570
+ }
1571
+ }
1572
+
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- import*as e from"react/jsx-runtime";import*as t from"react";var a={39:(e,t,a)=>{a.d(t,{L:()=>s});const s=(...e)=>e.filter(Boolean).join(" ")},67:(e,t,a)=>{a.d(t,{A:()=>s.A});var s=a(110)},93:(e,t,a)=>{a.d(t,{A:()=>r});var s=a(178),l=a(130),n=a(39),o=a(670);const r=({className:e,title:t,subtitle:a,hotels:r,fluidMode:i,...c})=>{const d=(0,l.u)(i);return(0,s.jsxs)("section",{...c,className:(0,n.L)("HotelsSection-module__hotels--hGJyx",d,e),children:[t||a?(0,s.jsxs)("header",{className:"HotelsSection-module__hotelsHeader--l_Qr5",children:[t&&(0,s.jsx)("h2",{className:"HotelsSection-module__hotelsTitle--zeGAj",children:t}),a&&(0,s.jsx)("p",{className:"HotelsSection-module__hotelsSubtitle--EAJhs",children:a})]}):null,(0,s.jsx)("ul",{className:"HotelsSection-module__hotelsList--jWxYc",children:r.map(e=>(0,s.jsx)("li",{children:(0,s.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 s,l=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 s in a)({}).hasOwnProperty.call(a,s)&&(e[s]=a[s])}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),s||(s=i.createElement("path",{fill:"#8C1EFF",d:"M.32 9.41h28v2h-28zM.32 17.41h28v2h-28z"})));var u,m;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 s in a)({}).hasOwnProperty.call(a,s)&&(e[s]=a[s])}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),u||(u=i.createElement("path",{fill:"#8C1EFF",d:"m4.807 3.394 19.799 19.799-1.414 1.414-19.8-19.8z"})),m||(m=i.createElement("path",{fill:"#8C1EFF",d:"m3.393 23.193 19.799-19.8 1.414 1.415L4.807 24.607z"})));var p,_,f;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 s in a)({}).hasOwnProperty.call(a,s)&&(e[s]=a[s])}return e},g.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,l.jsx)("a",{href:"https://www.ratehawk.com/",target:"_blank",rel:"noreferrer",children:(0,l.jsx)(e=>i.createElement("svg",g({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"})),f||(f=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:s,extraRightContent:c,fluidMode:u,zIndex:m=1,onLoginClick:h,onRegisterClick:p,style:_,...f})=>{const g=(0,o.u)(u),N=v[e],y=s&&s.length>0,[C,M]=(0,i.useState)(!1),[L,H]=(0,i.useState)(!1),[T,A]=(0,i.useState)(!1),[S,E]=(0,i.useState)(!1),F=(0,i.useRef)(null),B=(0,i.useRef)(null),O=a?.map(k)||[];let I=O;if(y){const e=s?.map(k)||[];I=[...O,(0,l.jsxs)("li",{children:[(0,l.jsx)("button",{type:"button",onClick:()=>A(!T),className:(0,r.L)(v.menuLink,g,v.subMenuOpener,j,T?v.subMenuOpenerActive:""),children:(0,l.jsx)("span",{className:v.menuLinkText,children:"More"})}),(0,l.jsx)("ul",{className:(0,r.L)(v.subNavList,T?v.subNavListOpened:"",j),children:e})]},"submenu")],O.push(...e)}const P=(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),E(!0),t?A(!1):H(!1)})(...t),e=!0,setTimeout(()=>{e=!1},100))}})(),[]),R=(0,l.jsxs)(l.Fragment,{children:[(0,l.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,l.jsx)(n.A,{url:"https://www.ratehawk.com/registration/?lang=en&ref=rh_register",onClick:p,children:"Register"})]}),z=(0,i.useCallback)(e=>{if(!(e.target instanceof HTMLElement))return;const t=e.target.closest(`.${b}`),a=e.target.closest(`.${j}`);t||H(!1),a||A(!1)},[]);return(0,i.useEffect)(()=>(window.addEventListener("resize",P),window.addEventListener("click",z),P(),()=>{window.removeEventListener("resize",P),window.removeEventListener("click",z)}),[P,z]),(0,l.jsxs)("div",{...f,className:(0,r.L)(v.root,t,N,g),style:{..._,zIndex:m},children:[(0,l.jsxs)("div",{className:(0,r.L)(v.header,v.wideHeader,C?v.hidden:""),children:[(0,l.jsxs)("div",{className:v.leftContainer,ref:B,children:[w,(0,l.jsx)("nav",{className:v.navMenu,children:(0,l.jsx)("ul",{className:v.navList,children:I})})]}),(0,l.jsxs)("div",{className:(0,r.L)(v.rightContainer,!S&&v.hidden),ref:F,children:[c,R]})]}),(0,l.jsxs)("div",{className:(0,r.L)(v.header,v.compactHeader,C?v.visible:""),children:[(0,l.jsx)("div",{className:v.leftContainer,children:w}),(0,l.jsxs)("div",{className:v.rightContainer,children:[c,(0,l.jsx)("div",{className:v.burgerMenuContainer,children:(0,l.jsx)("button",{className:v.burgerMenuButton,onClick:()=>H(!L),type:"button",children:L?(0,l.jsx)(x,{}):(0,l.jsx)(d,{})})})]}),L&&(0,l.jsxs)("div",{className:(0,r.L)(v.burgerMenu,b),children:[O.length?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("nav",{className:v.navMenu,children:(0,l.jsx)("ul",{className:v.navList,children:O})}),(0,l.jsx)("div",{className:v.separator})]}):null,(0,l.jsx)("div",{className:v.burgerButtons,children:R})]})]})]})};function k(e){const t=e.url?"a":"button",a=e.url?{target:"_blank",href:e.url}:{type:"button"};return(0,l.jsx)("li",{children:(0,l.jsx)(t,{className:v.menuLink,onClick:e.onClick,...a,children:(0,l.jsx)("span",{className:v.menuLinkText,children:e.title})})},e.title)}},110:(e,t,a)=>{a.d(t,{A:()=>m});var s,l,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 s in a)({}).hasOwnProperty.call(a,s)&&(e[s]=a[s])}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),s||(s=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"})),l||(l=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"}))),u="HeroSection-module__sloganText--_hwUn",m=({className:e,style:t,yellowText:a,whiteText:s,showLogo:l=!0,backgroundMobile:i,backgroundDesktop:c,backgroundDesktop2x:m,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("${m}")`,"--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)(u,"HeroSection-module__sloganYellow--lIwpd"),dangerouslySetInnerHTML:{__html:a}}),s&&(0,n.jsx)("div",{className:(0,r.L)(u,"HeroSection-module__sloganWhite--SWr8l"),dangerouslySetInnerHTML:{__html:s}}),l&&(0,n.jsx)(d,{className:"HeroSection-module__heroLogo--t3ggG"})]})})})}},130:(e,t,a)=>{a.d(t,{N:()=>l,u:()=>n}),a(178);var s=a(992);const l=({children:e,fluidMode:t=!1})=>{fluidModeState.state=t;const a=`\n @font-face {\n font-family: 'Aeonik';\n src: url('https://of.worldota.net/fonts/aeonik/Aeonik-Bold.woff2') format('woff2');\n font-weight: 900;\n font-style: normal;\n font-display: swap;\n }\n\n @font-face {\n font-family: 'Aeonik';\n src: url('https://of.worldota.net/fonts/aeonik/Aeonik-Regular.woff2') format('woff2');\n font-weight: 400;\n font-style: normal;\n font-display: swap;\n }\n\n @font-face {\n font-family: 'ABCGravity';\n src: url('https://of.worldota.net/fonts/ABCGravity/ABCGravity.woff2') format('woff2');\n font-weight: 900;\n font-style: normal;\n font-display: swap;\n }\n \n ${t?fluidLayoutCss:staticLayoutCss};\n `;return _jsxs(_Fragment,{children:[_jsx("style",{dangerouslySetInnerHTML:{__html:a}}),e]})},n=e=>("boolean"==typeof e?e:s.b.state)?"layout-module__fluidLayout--BNE04":"layout-module__staticLayout--x_6dR"},178:(t,a,s)=>{var l,n;t.exports=(l={Fragment:()=>e.Fragment,jsx:()=>e.jsx,jsxs:()=>e.jsxs},n={},s.d(n,l),n)},268:(e,t,a)=>{a.d(t,{A:()=>r});var s=a(178),l=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:u="purple",url:m,isLoading:h,enableMediaDimension:x=!0,fluidMode:p,..._})=>{const f=o[a]||"",g=o[r]||"",v=o[u],b=(0,l.u)(p),j=x?o.withMediaDimension:"",w=m?"a":"button",N=m?{target:"_blank",href:m}:{type:d},k=h?o.isLoading:"";return(0,s.jsxs)(w,{...N,..._,onClick:i,className:(0,n.L)(o.root,e,b,f,g,k,v,j),disabled:c,children:[h?(0,s.jsx)("span",{className:o.spinner}):null,(0,s.jsx)("span",{className:(0,n.L)(o.text,h?o.hidden:null),children:t})]})}},374:(e,t,a)=>{a.d(t,{A:()=>L});var s,l=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 s in a)({}).hasOwnProperty.call(a,s)&&(e[s]=a[s])}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),s||(s=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 u;function m(){return m=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var s in a)({}).hasOwnProperty.call(a,s)&&(e[s]=a[s])}return e},m.apply(null,arguments)}const h=e=>i.createElement("svg",m({xmlns:"http://www.w3.org/2000/svg",width:31,height:31,fill:"none"},e),u||(u=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"}))),x=/^([^\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 p;function _(){return _=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var s in a)({}).hasOwnProperty.call(a,s)&&(e[s]=a[s])}return e},_.apply(null,arguments)}const f=e=>i.createElement("svg",_({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,stroke:"currentColor",strokeWidth:1.5},e),p||(p=i.createElement("path",{d:"m4 4 16 16m0-16L4 20"}))),g="ContactModal-module__field--c99HI",v="ContactModal-module__inputWrapper--e2l3N",b="ContactModal-module__inputWrapperError--s_bqB",j="ContactModal-module__input--wuaB7",w="ContactModal-module__error--jso6D",N=({isOpen:e,onClose:t,fluidMode:a})=>{const s=(0,o.u)(a),[c,d]=(0,i.useState)({firstName:"",phone:"",email:"",companyName:"",message:""}),[u,m]=(0,i.useState)(!1),[h,p]=(0,i.useState)(!1),[_,N]=(0,i.useState)({}),k=(0,i.useCallback)(()=>{const e={};return c.firstName.trim()||(e.firstName="First Name is required"),c.phone.trim()?c.phone.replace(/\D/g,"").length>=7||(e.phone="Phone must contain at least 7 digits"):e.phone="Phone is required",c.email.trim()?function(e){return x.test(e)}(c.email)||(e.email="Please enter a valid email"):e.email="Email is required",c.companyName.trim()||(e.companyName="Company Name is required"),N(e),0===Object.keys(e).length},[c]),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:c.email,message:c.message,company_name:c.companyName,name:c.firstName,phone:c.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");p(!0)}catch(e){console.error("Form submission error:",e)}finally{m(!1)}}},[c,k]),C=(0,i.useCallback)(e=>t=>{d(a=>({...a,[e]:t.target.value})),_[e]&&N(t=>({...t,[e]:void 0}))},[_]),M=(0,i.useCallback)(()=>{d({firstName:"",phone:"",email:"",companyName:"",message:""}),N({}),p(!1),t()},[t]);return e?(0,l.jsx)("div",{className:(0,r.L)("ContactModal-module__overlay--ti1yT",s),onClick:M,children:(0,l.jsxs)("div",{className:"ContactModal-module__modal--Xzwl2",onClick:e=>e.stopPropagation(),children:[(0,l.jsx)("button",{className:(0,r.L)("ContactModal-module__closeButton--qvADd",s),onClick:M,type:"button",children:(0,l.jsx)(f,{})}),h?(0,l.jsxs)("div",{className:"ContactModal-module__successMessage--Nyhi4",children:[(0,l.jsx)("h2",{className:"ContactModal-module__successTitle--dVn02",children:"Successfully accepted"}),(0,l.jsx)("p",{className:"ContactModal-module__successText--KJznx",children:"Your application has flown to our caring specialists! We will contact you soon"})]}):(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("h2",{className:"ContactModal-module__title--XrI8J",children:(0,l.jsx)("span",{className:"ContactModal-module__titleText--HH4uj",children:"Cooperation"})}),(0,l.jsx)("p",{className:"ContactModal-module__subtitle--dS9UA",children:"Drop us a line and we will get back to you as soon as possible!"}),(0,l.jsxs)("form",{className:"ContactModal-module__form--XuQzj",onSubmit:y,children:[(0,l.jsxs)("div",{className:g,children:[(0,l.jsx)("label",{className:`${v} ${_.firstName?b:""}`,children:(0,l.jsx)("input",{type:"text",className:j,value:c.firstName,onChange:C("firstName"),placeholder:"First Name *"})}),_.firstName&&(0,l.jsx)("span",{className:w,children:_.firstName})]}),(0,l.jsxs)("div",{className:g,children:[(0,l.jsx)("label",{className:`${v} ${_.phone?b:""}`,children:(0,l.jsx)("input",{type:"tel",className:j,value:c.phone,onChange:C("phone"),placeholder:"Phone *"})}),_.phone&&(0,l.jsx)("span",{className:w,children:_.phone})]}),(0,l.jsxs)("div",{className:g,children:[(0,l.jsx)("label",{className:`${v} ${_.email?b:""}`,children:(0,l.jsx)("input",{type:"email",className:j,value:c.email,onChange:C("email"),placeholder:"Email Address *"})}),_.email&&(0,l.jsx)("span",{className:w,children:_.email})]}),(0,l.jsxs)("div",{className:g,children:[(0,l.jsx)("label",{className:`${v} ${_.companyName?b:""}`,children:(0,l.jsx)("input",{type:"text",className:j,value:c.companyName,onChange:C("companyName"),placeholder:"Company Name *"})}),_.companyName&&(0,l.jsx)("span",{className:w,children:_.companyName})]}),(0,l.jsx)("div",{className:g,children:(0,l.jsx)("label",{className:"ContactModal-module__textareaWrapper--rSQEQ",children:(0,l.jsx)("textarea",{className:"ContactModal-module__textarea--i19oy",value:c.message,onChange:C("message"),placeholder:"Message",rows:4})})}),(0,l.jsx)(n.A,{type:"submit",theme:"primary",variant:"white",disabled:u,className:"ContactModal-module__submitButton--qbQOa",children:u?"Sending...":"Send"})]})]})]})}):null},k="Footer-module__footerLink--ipb6W",y="Footer-module__footerLegalText--xlXoo",C="Footer-module__footerParagraphSection--rin95",M=[{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[s,c]=(0,i.useState)(!1),u=(0,o.u)(t),m=(0,i.useCallback)(()=>{c(!0)},[]),x=(0,i.useCallback)(()=>{c(!1)},[]);return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("footer",{...a,className:(0,r.L)("Footer-module__root--T9ly6",e,u),children:[(0,l.jsxs)("div",{className:"Footer-module__header--hy1ME",children:[(0,l.jsx)("p",{className:"Footer-module__title--OX7d9",children:"Partnership"}),(0,l.jsx)("p",{className:"Footer-module__subTitle--EmP0b",children:"Cooperate and grow together with RateHawk"})]}),(0,l.jsx)("ul",{className:"Footer-module__advantages--z7ASK",children:M.map(e=>(0,l.jsxs)("li",{className:(0,r.L)("Footer-module__advantageItem--EcCx_",e.cssClass),children:[(0,l.jsxs)("div",{className:"Footer-module__advantageInfo--Ilud0",children:[(0,l.jsx)("h6",{className:"Footer-module__advantageTitle--spnaR",children:(0,l.jsx)("span",{className:"Footer-module__advantageTitleText--cMrU_",children:e.title})}),(0,l.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,l.jsx)(n.A,{theme:"secondary",variant:"white",...e.button.url?{url:e.button.url}:{onClick:m},children:e.button.text})]},e.title))}),(0,l.jsxs)("div",{className:"Footer-module__footerBottom--u_o7y",children:[(0,l.jsxs)("div",{className:"Footer-module__footerLeft--nnkZo",children:[(0,l.jsxs)("div",{className:"Footer-module__social--H1Yw4",children:[(0,l.jsx)("a",{href:"https://www.facebook.com/ratehawk",target:"_blank",rel:"noopener noreferrer",children:(0,l.jsx)(d,{})}),(0,l.jsx)("a",{href:"https://www.linkedin.com/company/ratehawk-com/",target:"_blank",rel:"noopener noreferrer",children:(0,l.jsx)(h,{})})]}),(0,l.jsxs)("ul",{className:"Footer-module__footerLinks--R9Hnr",children:[(0,l.jsx)("li",{children:(0,l.jsx)("a",{href:"https://www.ratehawk.com/lp/en-us/career",target:"_blank",rel:"noopener noreferrer",className:k,children:"Careers"})}),(0,l.jsx)("li",{children:(0,l.jsx)("a",{href:"https://blog.ratehawk.com/",target:"_blank",rel:"noopener noreferrer",className:k,children:"Blog"})})]})]}),(0,l.jsxs)("div",{className:"Footer-module__footerLegal--jAGGe",children:[(0,l.jsxs)("div",{className:C,children:[(0,l.jsx)("p",{className:y,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,l.jsx)("p",{className:y,children:"Emerging Travel Germany ETG GmbH, HRB 213546, Business Address: Friedrichstraße 171, 10117 Berlin, Germany"}),(0,l.jsx)("p",{className:y,children:"Emerging Travel Kazakhstan LLP, BIN 191240026456, Business address: Office SP2-18, 280 Baizakova Street, Bostandykskiy district, 050040, Almaty, Republic of Kazakhstan"}),(0,l.jsx)("p",{className:y,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,l.jsx)("p",{className:y,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,l.jsx)("div",{className:C,children:(0,l.jsx)("p",{className:y,children:(0,l.jsx)("a",{href:"https://www.ratehawk.com/legal/site/privacy-policy/",target:"_blank",rel:"noopener noreferrer",children:"Personal data processing and storage policy"})})}),(0,l.jsx)("div",{className:C,children:(0,l.jsx)("p",{className:y,children:"Digital Services Act"})}),(0,l.jsx)("div",{className:C,children:(0,l.jsx)("p",{className:y,children:"Ratehawk is a registered service mark in the European Union"})})]})]})]}),(0,l.jsx)(N,{isOpen:s,onClose:x,fluidMode:t})]})}},627:(e,t,a)=>{a.d(t,{A:()=>s.A});var s=a(374)},649:(e,a,s)=>{var l,n;e.exports=(l={createElement:()=>t.createElement,useCallback:()=>t.useCallback,useEffect:()=>t.useEffect,useRef:()=>t.useRef,useState:()=>t.useState},n={},s.d(n,l),n)},670:(e,t,a)=>{a.d(t,{A:()=>r});var s=a(178),l=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:u,url:m,width:h="auto",price:x,fluidMode:p,..._})=>{const f=(0,l.u)(p),g=m?"a":"div",v=m?{href:m,target:"_blank",rel:"noopener noreferrer"}:{};return(0,s.jsxs)(g,{..._,...v,className:(0,n.L)(o.root,f,"fixed"===h&&o.rootFixed,e,m&&o.clickable),onClick:u,children:[(0,s.jsxs)("div",{className:o.imageContainer,children:[(0,s.jsx)("img",{src:i,alt:t,className:o.image}),d?(0,s.jsx)("div",{className:o.discount,children:(0,s.jsx)("span",{className:o.discountText,dangerouslySetInnerHTML:{__html:d}})}):null]}),(0,s.jsxs)("div",{className:o.content,children:[(()=>{if(!r)return null;const e=[];for(let a=0;a<5;a++)e.push((0,s.jsx)("div",{className:a<r?o.starFilled:o.starEmpty},`star-${t}-${a}`));return(0,s.jsx)("div",{className:o.stars,children:e})})(),(0,s.jsx)("h3",{className:o.title,children:t}),a&&(0,s.jsx)("p",{className:o.location,children:a}),c&&(0,s.jsxs)("p",{className:o.dates,children:["Travel Dates: ",c]}),(0,s.jsx)("div",{className:o.priceInfoWrapper,children:(0,s.jsx)("div",{className:o.priceInfo,children:x?(0,s.jsxs)("div",{className:o.priceText,children:[(0,s.jsxs)("div",{className:o.mainPriceText,children:["From ",(0,s.jsx)("strong",{children:x})]}),(0,s.jsx)("div",{className:o.infoPriceText,children:(0,s.jsx)("span",{children:"For 1 night and 2 guests"})})]}):(0,s.jsx)("div",{className:o.bookNowText,children:"Book now"})})})]})]})}},697:(e,t,a)=>{a.d(t,{A:()=>d});var s=a(178),l=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:u,hotels:m,backgroundMobile:h,backgroundDesktop:x,backgroundDesktop2x:p,heroLogo:_=!0,fluidMode:f,onLoginClick:g,onRegisterClick:v,...b})=>{const j=(0,l.u)(f);return(0,s.jsxs)("div",{...b,className:(0,n.L)("HotelsLanding-module__root--JnV8j",j,e),children:[(0,s.jsx)(r.A,{onLoginClick:g,onRegisterClick:v,fluidMode:f}),(0,s.jsxs)("main",{children:[(0,s.jsx)(i.A,{yellowText:t,whiteText:a,showLogo:_,backgroundMobile:h,backgroundDesktop:x,backgroundDesktop2x:p}),(0,s.jsx)(c.A,{title:d,subtitle:u,hotels:m,fluidMode:f})]}),(0,s.jsx)(o.A,{})]})}},782:(e,t,a)=>{a.d(t,{A:()=>s.A});var s=a(93)},793:(e,t,a)=>{a.d(t,{A:()=>s.A});var s=a(94)},924:(e,t,a)=>{a.d(t,{A:()=>s.A});var s=a(670)},992:(e,t,a)=>{a.d(t,{b:()=>s}),globalThis.__fluidModeState||(globalThis.__fluidModeState={state:!1});const s=globalThis.__fluidModeState}},s={};function l(e){var t=s[e];if(void 0!==t)return t.exports;var n=s[e]={exports:{}};return a[e](n,n.exports,l),n.exports}l.d=(e,t)=>{for(var a in t)l.o(t,a)&&!l.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},l.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),l.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};l.r(n),l.d(n,{Button:()=>o.A,Footer:()=>r.A,Header:()=>i.A,HeroSection:()=>c.A,HotelCard:()=>d.A,HotelsLanding:()=>u.A,HotelsSection:()=>m.A});var o=l(268),r=l(627),i=l(793),c=l(67),d=l(924),u=l(697),m=l(782),h=l(992);export{n as RHComponents};export const fluidModeState=h.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",width:65,height:50,fill:"none"},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",width:57,height:50,fill:"none"},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",width:59,height:52,fill:"none"},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",width:65,height:50,fill:"none"},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:"string"==typeof e.icon&&e.icon in v?o.default.createElement(v[e.icon]):e.icon}),(0,l.jsx)("h3",{className:"PromoFeatures-module__title--Tihb3",children:e.title}),(0,l.jsx)("div",{className:"PromoFeatures-module__divider--vfd6P"}),(0,l.jsx)("p",{className:"PromoFeatures-module__text--N_eji",children: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="",title:t,align:a="left",alignMobile:m,alignTablet:u,alignDesktop:h,fluidMode:x,as:p="h2",..._})=>{const g=(0,o.u)(x);return(0,l.jsx)("div",{..._,className:(0,s.L)(n,g,r[a],m&&i[m],u&&c[u],h&&d[h],e),children:(0,l.jsx)(p,{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,E]=(0,i.useState)(!1),[S,F]=(0,i.useState)(!1),A=(0,i.useRef)(null),O=(0,i.useRef)(null),B=a?.map(k)||[];let z=B;if(y){const e=l?.map(k)||[];z=[...B,(0,s.jsxs)("li",{children:[(0,s.jsx)("button",{type:"button",onClick:()=>E(!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")],B.push(...e)}const D=(0,i.useCallback)((()=>{let e=!1;return(...t)=>{e||((()=>{if(!A.current||!O.current)return;const e=O.current.getBoundingClientRect().right,t=A.current.getBoundingClientRect().left-e<20;M(t),F(!0),t?E(!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||E(!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:O,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,!S&&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:[B.length?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("nav",{className:v.navMenu,children:(0,s.jsx)("ul",{className:v.navList,children:B})}),(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,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_",children: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",children:c,...d})=>{const m=(0,n.u)(r);return(0,l.jsx)(i,{...d,id:a,className:(0,s.L)("Section-module__section--qmgjG",m,t&&o[t],e),children:c})}},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,3 +1,27 @@
1
+ @font-face {
2
+ font-family: 'Aeonik';
3
+ src: url('https://of.worldota.net/fonts/aeonik/Aeonik-Bold.woff2') format('woff2');
4
+ font-weight: 900;
5
+ font-style: normal;
6
+ font-display: swap;
7
+ }
8
+
9
+ @font-face {
10
+ font-family: 'Aeonik';
11
+ src: url('https://of.worldota.net/fonts/aeonik/Aeonik-Regular.woff2') format('woff2');
12
+ font-weight: 400;
13
+ font-style: normal;
14
+ font-display: swap;
15
+ }
16
+
17
+ @font-face {
18
+ font-family: 'ABCGravity';
19
+ src: url('https://of.worldota.net/fonts/ABCGravity/ABCGravity.woff2') format('woff2');
20
+ font-weight: 900;
21
+ font-style: normal;
22
+ font-display: swap;
23
+ }
24
+
1
25
  .layout-module__fluidLayout--BNE04[class] {
2
26
  font-size: 1rem;
3
27
  }
@@ -6,6 +30,17 @@
6
30
  font-size: 1px;
7
31
  }
8
32
 
33
+ .layout-module__fluidLayout--BNE04[class], .layout-module__staticLayout--x_6dR[class] {
34
+ --side-padding: 18em;
35
+ }
36
+
37
+ @media (min-width: 500px) {
38
+
39
+ .layout-module__fluidLayout--BNE04[class], .layout-module__staticLayout--x_6dR[class] {
40
+ --side-padding: 24em;
41
+ }
42
+ }
43
+
9
44
  @keyframes Button-module__spin--lWtk7 {
10
45
  from {
11
46
  transform: rotate(0deg);
@@ -1 +1 @@
1
- import*as t from"react/jsx-runtime";var o={39:(t,o,n)=>{n.d(o,{L:()=>e});const e=(...t)=>t.filter(Boolean).join(" ")},130:(t,o,n)=>{n.d(o,{N:()=>a,u:()=>s}),n(178);var e=n(992);const a=({children:t,fluidMode:o=!1})=>{fluidModeState.state=o;const n=`\n @font-face {\n font-family: 'Aeonik';\n src: url('https://of.worldota.net/fonts/aeonik/Aeonik-Bold.woff2') format('woff2');\n font-weight: 900;\n font-style: normal;\n font-display: swap;\n }\n\n @font-face {\n font-family: 'Aeonik';\n src: url('https://of.worldota.net/fonts/aeonik/Aeonik-Regular.woff2') format('woff2');\n font-weight: 400;\n font-style: normal;\n font-display: swap;\n }\n\n @font-face {\n font-family: 'ABCGravity';\n src: url('https://of.worldota.net/fonts/ABCGravity/ABCGravity.woff2') format('woff2');\n font-weight: 900;\n font-style: normal;\n font-display: swap;\n }\n \n ${o?fluidLayoutCss:staticLayoutCss};\n `;return _jsxs(_Fragment,{children:[_jsx("style",{dangerouslySetInnerHTML:{__html:n}}),t]})},s=t=>("boolean"==typeof t?t:e.b.state)?"layout-module__fluidLayout--BNE04":"layout-module__staticLayout--x_6dR"},178:(o,n,e)=>{var a,s;o.exports=(a={jsx:()=>t.jsx,jsxs:()=>t.jsxs},s={},e.d(s,a),s)},992:(t,o,n)=>{n.d(o,{b:()=>e}),globalThis.__fluidModeState||(globalThis.__fluidModeState={state:!1});const e=globalThis.__fluidModeState}},n={};function e(t){var a=n[t];if(void 0!==a)return a.exports;var s=n[t]={exports:{}};return o[t](s,s.exports,e),s.exports}e.d=(t,o)=>{for(var n in o)e.o(o,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:o[n]})},e.o=(t,o)=>Object.prototype.hasOwnProperty.call(t,o);var a=e(178),s=e(130),l=e(39);const i={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:t,children:o,dimension:n="s",theme:e="primary",onClick:r,disabled:d=!1,type:u="button",variant:f="purple",url:m,isLoading:_,enableMediaDimension:p=!0,fluidMode:c,...y})=>{const h=i[n]||"",w=i[e]||"",x=i[f],B=(0,s.u)(c),b=p?i.withMediaDimension:"",g=m?"a":"button",j=m?{target:"_blank",href:m}:{type:u},k=_?i.isLoading:"";return(0,a.jsxs)(g,{...j,...y,onClick:r,className:(0,l.L)(i.root,t,B,h,w,k,x,b),disabled:d,children:[_?(0,a.jsx)("span",{className:i.spinner}):null,(0,a.jsx)("span",{className:(0,l.L)(i.text,_?i.hidden:null),children:o})]})};export{r as default};
1
+ import*as t from"react/jsx-runtime";var e={39:(t,e,o)=>{o.d(e,{L:()=>n});const n=(...t)=>t.filter(Boolean).join(" ")},130:(t,e,o)=>{o.d(e,{N:()=>i,u:()=>d}),o(178);var n=o(992);const i=({children:t,fluidMode:e=!1})=>{fluidModeState.state=e;const o=`\n ${e?fluidLayoutCss:staticLayoutCss};\n `;return _jsxs(_Fragment,{children:[_jsx("style",{dangerouslySetInnerHTML:{__html:o}}),t]})},d=t=>(t=>{if("boolean"==typeof t)return t;if("undefined"!=typeof document){const t=document.documentElement.getAttribute("data-fluid-mode");if(null!==t)return"true"===t}return n.b.state})(t)?"layout-module__fluidLayout--BNE04":"layout-module__staticLayout--x_6dR"},178:(e,o,n)=>{var i,d;e.exports=(i={jsx:()=>t.jsx,jsxs:()=>t.jsxs},d={},n.d(d,i),d)},992:(t,e,o)=>{o.d(e,{b:()=>n}),globalThis.__fluidModeState||(globalThis.__fluidModeState={state:!1});const n=globalThis.__fluidModeState}},o={};function n(t){var i=o[t];if(void 0!==i)return i.exports;var d=o[t]={exports:{}};return e[t](d,d.exports,n),d.exports}n.d=(t,e)=>{for(var o in e)n.o(e,o)&&!n.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);var i=n(178),d=n(130),u=n(39);const l={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"},s=({className:t,children:e,dimension:o="s",theme:n="primary",onClick:s,disabled:r=!1,type:a="button",variant:_="purple",url:m,isLoading:c,enableMediaDimension:p=!0,fluidMode:f,...h})=>{const b=l[o]||"",x=l[n]||"",y=l[_],B=(0,d.u)(f),j=p?l.withMediaDimension:"",g=m?"a":"button",L=m?{target:"_blank",href:m}:{type:a},M=c?l.isLoading:"";return(0,i.jsxs)(g,{...L,...h,onClick:s,className:(0,u.L)(l.root,t,B,b,x,M,y,j),disabled:r,children:[c?(0,i.jsx)("span",{className:l.spinner}):null,(0,i.jsx)("span",{className:(0,u.L)(l.text,c?l.hidden:null),children:e})]})};export{s as default};
@@ -1 +1 @@
1
- {"version":3,"file":"Footer.d.ts","sourceRoot":"","sources":["../../../src/rh-components/Footer/Footer.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAO/B,MAAM,WAAW,WAAY,SAAQ,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,EAAE,WAAW,CAAC;IACvF,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAyDD,QAAA,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAsKjC,CAAC;AAEF,eAAe,MAAM,CAAC"}
1
+ {"version":3,"file":"Footer.d.ts","sourceRoot":"","sources":["../../../src/rh-components/Footer/Footer.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAO/B,MAAM,WAAW,WAAY,SAAQ,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,EAAE,WAAW,CAAC;IACvF,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAyDD,QAAA,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAwKjC,CAAC;AAEF,eAAe,MAAM,CAAC"}
@@ -1,3 +1,27 @@
1
+ @font-face {
2
+ font-family: 'Aeonik';
3
+ src: url('https://of.worldota.net/fonts/aeonik/Aeonik-Bold.woff2') format('woff2');
4
+ font-weight: 900;
5
+ font-style: normal;
6
+ font-display: swap;
7
+ }
8
+
9
+ @font-face {
10
+ font-family: 'Aeonik';
11
+ src: url('https://of.worldota.net/fonts/aeonik/Aeonik-Regular.woff2') format('woff2');
12
+ font-weight: 400;
13
+ font-style: normal;
14
+ font-display: swap;
15
+ }
16
+
17
+ @font-face {
18
+ font-family: 'ABCGravity';
19
+ src: url('https://of.worldota.net/fonts/ABCGravity/ABCGravity.woff2') format('woff2');
20
+ font-weight: 900;
21
+ font-style: normal;
22
+ font-display: swap;
23
+ }
24
+
1
25
  .layout-module__fluidLayout--BNE04[class] {
2
26
  font-size: 1rem;
3
27
  }
@@ -6,6 +30,17 @@
6
30
  font-size: 1px;
7
31
  }
8
32
 
33
+ .layout-module__fluidLayout--BNE04[class], .layout-module__staticLayout--x_6dR[class] {
34
+ --side-padding: 18em;
35
+ }
36
+
37
+ @media (min-width: 500px) {
38
+
39
+ .layout-module__fluidLayout--BNE04[class], .layout-module__staticLayout--x_6dR[class] {
40
+ --side-padding: 24em;
41
+ }
42
+ }
43
+
9
44
  @keyframes Button-module__spin--lWtk7 {
10
45
  from {
11
46
  transform: rotate(0deg);
@@ -186,6 +221,28 @@
186
221
  mask-size: 100% 100%;
187
222
  }
188
223
 
224
+ .Section-module__section--qmgjG {
225
+ padding: 80em var(--side-padding);
226
+ }
227
+
228
+ .Section-module__themeYellow--TpLu_ {
229
+ --text-color: var(--color-black, #000);
230
+ background-color: var(--color-yellow, #FEDD00);
231
+ color: var(--text-color);
232
+ }
233
+
234
+ .Section-module__themeBlack--S5jGY {
235
+ --text-color: var(--color-white, #fff);
236
+ background-color: var(--color-black, #000);
237
+ color: var(--text-color);
238
+ }
239
+
240
+ @media (min-width: 1152px) {
241
+ .Section-module__section--qmgjG {
242
+ padding-bottom: 100em;
243
+ }
244
+ }
245
+
189
246
  .ContactModal-module__overlay--ti1yT {
190
247
  position: fixed;
191
248
  top: 0;
@@ -337,11 +394,10 @@
337
394
  }
338
395
 
339
396
  .Footer-module__root--T9ly6 {
340
- background: #000;
341
397
  -webkit-font-smoothing: antialiased;
342
398
  -moz-osx-font-smoothing: grayscale;
343
399
  border-top: 4em solid rgba(140, 30, 255, 1);
344
- padding: 76em 18em 24em;
400
+ padding-bottom: 24em;
345
401
  color: rgba(229, 229, 229, 1);
346
402
  font-family: Aeonik, sans-serif;
347
403
  }
@@ -573,7 +629,8 @@
573
629
 
574
630
  @media (min-width: 1152px) {
575
631
  .Footer-module__root--T9ly6 {
576
- padding: 100em 24em 20em;
632
+ padding-top: 100em;
633
+ padding-bottom: 20em;
577
634
  }
578
635
 
579
636
  .Footer-module__title--OX7d9 {