(self.webpackChunk=self.webpackChunk||[]).push([[2195],{25767:function(e,t,n){"use strict";n.d(t,{A:function(){return F}});var i=n(96540),o=n(21543),s=n(57935),a=n(88158),r=n(74848);const l=o.Bq;var c=()=>{const[e,t]=(0,i.useState)(!1);return(0,i.useEffect)((()=>{"undefined"!==typeof window&&t(window.location.href.endsWith(l))}),[]),(0,r.jsxs)("a",{href:l,className:"nav_item",children:[(0,r.jsx)("img",{src:e?a:s,alt:"community"}),(0,r.jsx)("span",{className:`mobile_nav__title ${e&&"-active"}`,children:I18nJs.t("companion.menu.my_feed")})]})},d=n(61225),h=n(70499),g=n.p+"static/app/assets/images/companion/mobile_menu/chat-d3efcbd2e0d65f389b43.svg",p=n.p+"static/app/assets/images/companion/mobile_menu/chat-active-1d8ba2f02724bac394b6.svg",m=n(10080);const u=`${o.Bq}/inbox`;var x=()=>{const[e,t]=(0,i.useState)(!1),n=(0,i.useContext)(m.A),{useRedux:o,messagesCount:s}=n;let a=s;if(o)try{a=(0,d.d4)((({user:e})=>e.unreadMessages))}catch{}return(0,i.useEffect)((()=>{"undefined"!==typeof window&&t(window.location.href.endsWith(u))}),[]),e?(0,r.jsxs)("button",{className:"btn mobile_nav__button -active nav_item",type:"button",onClick:h.A,children:[(0,r.jsx)("img",{src:p,alt:"Chat"}),0!==a&&(0,r.jsx)("span",{className:"nav_item_notification"}),(0,r.jsx)("span",{className:"mobile_nav__title -active",children:I18nJs.t("header.messages")})]}):(0,r.jsxs)("a",{href:u,className:"mobile_nav__button nav_item",children:[(0,r.jsx)("img",{src:g,alt:"Chat"}),0!==a&&(0,r.jsx)("span",{className:"nav_item_notification"}),(0,r.jsx)("span",{className:"mobile_nav__title",children:I18nJs.t("header.messages")})]})},f=n.p+"static/app/assets/images/companion/mobile_menu/interaction-cdaf35bfc6265cf1263c.svg",_=n.p+"static/app/assets/images/companion/mobile_menu/interaction-active-45ab26fb9bcf9c6c5559.svg";const v=`${o.Bq}/likes`;var b=()=>{const[e,t]=(0,i.useState)(!1),n=(0,i.useContext)(m.A),{useRedux:o,likesCount:s}=n;let a=s;if(o)try{a=(0,d.d4)((({user:e})=>e.unreadLikes))}catch{}return(0,i.useEffect)((()=>{"undefined"!==typeof window&&t(window.location.href.endsWith(v))}),[]),e?(0,r.jsxs)("button",{className:"btn mobile_nav__button -active nav_item",type:"button",onClick:h.A,children:[(0,r.jsx)("img",{src:_,alt:"viewers"}),0!==a&&(0,r.jsx)("span",{className:"nav_item_notification -likes"}),(0,r.jsx)("span",{className:"mobile_nav__title -active",children:I18nJs.t("companion.menu.likes")})]}):(0,r.jsxs)("a",{href:v,className:"mobile_nav__button nav_item joyride-feed-likes",children:[(0,r.jsx)("img",{src:f,alt:"viewers"}),0!==a&&(0,r.jsx)("span",{className:"nav_item_notification -likes"}),(0,r.jsx)("span",{className:"mobile_nav__title",children:I18nJs.t("companion.menu.likes")})]})},y=n(12215),w=n.n(y),j=n(73060),k=n(12607);const A=Path.getFor("account_user");var $=()=>{const[e,t]=(0,i.useState)(!1);return(0,i.useEffect)((()=>{"undefined"!==typeof window&&t(window.location.href.endsWith(A))}),[]),(0,r.jsxs)("a",{href:A,onClick:()=>{w().set("profile_page_from","weere")},className:"mobile_nav__button nav_item",children:[(0,r.jsx)("img",{src:e?k:j,alt:"profile"}),(0,r.jsx)("span",{className:"mobile_nav__title",children:I18nJs.t("header.my_profile")})]})},P=n.p+"static/app/assets/images/companion/mobile_menu/engage-f8d115534e6f85ac7e0f.svg",S=n.p+"static/app/assets/images/companion/mobile_menu/engage-active-f9095367c29704676444.svg";const C=`${o.Bq}/engage`;var I=()=>{const[e,t]=(0,i.useState)(!1);return(0,i.useEffect)((()=>{"undefined"!==typeof window&&t(window.location.href.endsWith(C))}),[]),(0,r.jsxs)("a",{href:C,className:"mobile_nav__button nav_item joyride-feed-engage",children:[(0,r.jsx)("img",{src:e?S:P,alt:"enage"}),(0,r.jsx)("span",{className:`mobile_nav__title ${e&&"-active"}`,children:I18nJs.t("companion.menu.add_modes")})]})};var F=()=>(0,r.jsxs)("div",{className:"mobile_nav -white",children:[(0,r.jsx)(c,{}),(0,r.jsx)(I,{}),(0,r.jsx)(b,{}),(0,r.jsx)(x,{}),(0,r.jsx)($,{})]})},21543:function(e,t,n){"use strict";n.d(t,{Bq:function(){return h},Cs:function(){return s},Dc:function(){return b},EZ:function(){return a},JA:function(){return y},Qt:function(){return u},RQ:function(){return p},S5:function(){return j},_7:function(){return w},a7:function(){return f},bO:function(){return _},bm:function(){return x},c6:function(){return m},dv:function(){return l},im:function(){return o},mw:function(){return g},no:function(){return r},oH:function(){return d},t9:function(){return c},zY:function(){return v}});var i=n(50445);const o="companion-app",s="Invalid date",a="yes",r="no",l="none",c="free",d="three_months",h="/weere",g=[{cssSrc:"https://fonts.googleapis.com/css2?family=Hanken+Grotesk:ital,wght@0,200;0,400;0,600;0,700;1,300;1,400&display=swap"}],p={base:{fontSize:"15px",fontFamily:'"Hanken Grotesk", sans-serif',"::placeholder":{color:"rgba(153, 37, 249, 0.5)",fontFamily:'"Hanken Grotesk", sans-serif'}},invalid:{fontSize:"15px",fontFamily:'"Hanken Grotesk", sans-serif',"::placeholder":{fontFamily:'"Hanken Grotesk", sans-serif',color:"rgba(153, 37, 249, 0.5)"}}},m=["name","address"],u=[{id:"answer1",value:"illegal_activity"},{id:"answer2",value:"spamming"},{id:"answer3",value:"bullying"},{id:"answer4",value:"discrimination"},{id:"answer5",value:"inappropriate_content"},{id:"answer6",value:"underage"},{id:"answer7",value:"other"}],x={destination:null,destination_id:null,destination_name:null,geo_id:null,identification:null},f=(i.Q3[0].placeholder,i.Q3[1].placeholder,i.Q3[2].placeholder,i.Q3[3].placeholder,i.Q3[4].placeholder,i.Q3[5].placeholder,i.Q3[6].placeholder,i.Q3[8].placeholder,"YYYY-MM-DD"),_={DayTime:"daytime",NightTime:"nighttime"},v={WeekDays:"weekdays",WeekEnd:"weekend"},b={NewMessage:"new_message",Read:"read",Liked:"liked",Unliked:"unliked"},y={Dating:"dating",Friendship:"friendship",Activity:"activity"},w={DailyBatch:"daily_batch",Activity:"activity",Dating:"dating",Friendship:"friendship",OfferingStays:"offering_stays"},j={destination:null,geo_id:null}},50445:function(e,t,n){"use strict";n.d(t,{C5:function(){return r},HE:function(){return s},Q3:function(){return l},a5:function(){return a},fe:function(){return i},v8:function(){return o}});const i=[{title:"placeholder",value:null},{title:"yes",value:!0},{title:"no",value:!1}],o=[{title:"anyone"},{title:"him"},{title:"her"},{title:"them"},{title:"hir"},{title:"zir"}],s=[{title:"select"},{title:"beach"},{title:"city"},{title:"countryside"},{title:"mountains"}],a=[{title:"select"},{title:"culture"},{title:"food"},{title:"party"},{title:"work"},{title:"active"},{title:"relaxing"},{title:"shopping"},{title:"eco"}],r=[{title:"select"},{title:"social",icon:"\ud83d\ude42"},{title:"relationship",icon:"\ud83d\ude0e"},{title:"flirty",icon:"\ud83d\ude09"},{title:"romantic",icon:"\ud83e\udd70"},{title:"fun",icon:"\ud83d\ude08"}],l=[{name:"destinationType",placeholder:"select"},{name:"splitCost",placeholder:"indifferent"},{name:"typeTrip",placeholder:"select"},{name:"typeTripBooked",placeholder:"select"},{name:"mood",placeholder:"select"},{name:"seeking",placeholder:"anyone"},{name:"interests",placeholder:"select"},{name:"age",placeholder:"18 - 65+"},{name:"languages",placeholder:"select"}];[{lang:"18"},{lang:"19"},{lang:"20"},{lang:"21"},{lang:"22"},{lang:"23"},{lang:"24"},{lang:"25"},{lang:"26"},{lang:"27"},{lang:"28"},{lang:"29"},{lang:"30"},{lang:"31"},{lang:"32"},{lang:"33"},{lang:"34"},{lang:"35"},{lang:"36"},{lang:"37"},{lang:"38"},{lang:"39"},{lang:"40"},{lang:"41"},{lang:"42"},{lang:"43"},{lang:"44"},{lang:"45"},{lang:"46"},{lang:"47"},{lang:"48"},{lang:"49"},{lang:"50"},{lang:"51"},{lang:"52"},{lang:"53"},{lang:"54"},{lang:"55"},{lang:"56"},{lang:"57"},{lang:"58"},{lang:"59"},{lang:"60"},{lang:"61"},{lang:"62"},{lang:"63"},{lang:"64"},{lang:"65"}].filter((e=>"65"!==e.lang))},70499:function(e,t){"use strict";t.A=()=>window.scrollTo(0,0)},2487:function(e,t,n){"use strict";var i=n(71083);t.A=e=>{"undefined"!==typeof OneSignal&&OneSignal.push((()=>OneSignal.removeExternalUserId())),i.A.delete("/api/authentication/users/sign_out",{withCredentials:!0,data:{redirect:e}}).then((e=>{window.location.replace(e.data.redirect)}))}},17638:function(e,t,n){"use strict";var i=n(96540),o=n(71083),s=n(38221),a=n.n(s),r=n(57225),l=n(74848);function c(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const d=(0,r.Ay)((()=>Promise.all([n.e(2243),n.e(5556)]).then(n.t.bind(n,62243,23))));class h extends i.Component{constructor(e){super(e),c(this,"onSuggestionsFetchRequested",a()((({value:e})=>this.sendAjax(e)),200)),c(this,"resetSuggestions",(()=>{const e=[],{savedSearches:t}=this;t.length>0&&e.push({title:I18nJs.t("search.past_searches"),options:t}),this.setState({suggestions:e})})),c(this,"onSuggestionsClearRequested",(()=>setTimeout(this.resetSuggestions,0))),c(this,"onChange",((e,{newValue:t})=>{const n=this.state.suggestions.map((e=>e.options)).flat(1/0);let i;if(t.endsWith("\n")){const e=t.slice(0,-1);i=n.find((t=>t.value===e&&"saved_search"===t.kind))}else this.setState({value:t}),i=n.find((e=>e.value===t&&"saved_search"!==e.kind)),i||(i={value:t});this.props.onChange(i,t)})),c(this,"renderSuggestion",(e=>{let t,n="saved_search"===e.kind?e.label.split("<div>")[0].replace(/<\/?[^>]+(>|$)/g,""):e.name;if(t="saved_search"===e.kind?e.label.split("<div>")[1].replace(/<\/?[^>]+(>|$)/g,""):e.value.split(",").slice(1).join(", ").trim(),this.props.includeAdventurers){const i=10*Math.floor(e.local_adventurers_count/10);n+=`, ${t}`,t=i>0?I18nJs.t("companion.planTrip.autocomplete_tip",{count:i}):""}return(0,l.jsx)("div",{className:"ac-item",children:(0,l.jsxs)("div",{className:`item-wrapper ${this.props.includeAdventurers&&!this.props.companionPage?"companion":e.kind}`,children:[(0,l.jsx)("div",{className:"place-name",children:n}),(0,l.jsx)("div",{className:"place-description",children:t})]})})})),c(this,"storeInputReference",(e=>{null!==e&&(this.inputRef=e.input)})),c(this,"getSectionSuggestions",(e=>e.options)),c(this,"onSuggestionSelected",(()=>{this.props.onSelect()})),c(this,"handleKeyDown",(e=>{"Enter"===e.key&&this.props.onSelect()})),this.state={value:e.value,suggestions:[]},this.savedSearchesData=[],this.fetchAbortController=null}componentDidMount(){try{this.savedSearchesData=JSON.parse(gon.saved_searches)}catch(e){this.savedSearchesData=[]}this.resetSuggestions()}static getDerivedStateFromProps(e,t){return e.value!==t.value?{value:e.value}:null}get savedSearches(){if(!this.props.includeSavedSearches)return[];return this.savedSearchesData.filter((e=>e.name.toLowerCase().startsWith(this.state.value.toLowerCase()))).map((e=>({value:e.name,label:e.label,search_id:e.id,kind:"saved_search"})))}focusInput(){this.inputRef&&this.inputRef.focus()}sendAjax(e){if(e.length<2)return void this.resetSuggestions();this.fetchAbortController&&this.fetchAbortController.abort(),this.fetchAbortController=new AbortController;const t={text:e,include_places:this.props.includePlaces,include_adventurers:this.props.includeAdventurers};o.A.get(Path.api(`/tools/geocoding?${new URLSearchParams(t).toString()}`),{headers:window.apiHeaders,signal:this.fetchAbortController.signal}).then((e=>{const t=[],{savedSearches:n}=this;n.length>0&&t.push({title:I18nJs.t("search.past_searches"),options:n}),e.data.results.length>0&&t.push({title:t.length>0?I18nJs.t("search.suggestions"):null,options:e.data.results.map((e=>{const t={name:e.name,value:e.place_name,geo_id:e.geo_id,kind:e.place_type,coords:[e.lat,e.lng],local_adventurers_count:e.local_adventurers_count,country_codes:e.country_codes};return"hotel"===e.place_type&&(t.poi={coords:[e.lat,e.lng],names:[e.name]}),t}))}),this.setState({suggestions:t})})).catch((()=>{this.resetSuggestions()})).finally((()=>{this.fetchAbortController=null}))}getSuggestionValue(e){return"saved_search"===e.kind?`${e.value}\n`:e.value}render(){const{value:e,suggestions:t}=this.state,n={placeholder:this.props.placeholder,value:e,onChange:this.onChange,className:this.props.className,onKeyDown:this.handleKeyDown};return(0,l.jsx)(d,{fallback:(0,l.jsx)("div",{className:"react-autosuggest__container",children:(0,l.jsx)("input",{...n,disabled:!0})}),ref:this.storeInputReference,suggestions:t||[],onSuggestionsFetchRequested:e=>{"input-changed"===e.reason&&this.onSuggestionsFetchRequested(e)},onSuggestionsClearRequested:this.onSuggestionsClearRequested,onSuggestionSelected:this.onSuggestionSelected,getSuggestionValue:this.getSuggestionValue,renderSuggestion:this.renderSuggestion,inputProps:n,renderSuggestionsContainer:this.props.renderSuggestionsContainer,renderSectionTitle:this.props.renderSectionTitle,getSectionSuggestions:this.getSectionSuggestions,shouldRenderSuggestions:this.props.shouldRenderSuggestions,multiSection:!0})}}h.defaultProps={className:"",placeholder:"",value:"",includePlaces:!0,includeSavedSearches:!0,includeAdventurers:!1,companionPage:!1,onChange:()=>{},onSelect:()=>{},renderSuggestionsContainer:void 0,shouldRenderSuggestions:e=>e.trim().length>=2,renderSectionTitle:()=>null},t.A=h},48043:function(e,t,n){"use strict";n.d(t,{A:function(){return Un}});var i=n(59839),o=n(73896),s=n(94405),a=n(71543),r=n(96540),l=n(89828),c=n(11848),d=n(44675),h=n(17437),g=n(81163),p=n.p+"static/app/assets/images/logos/misterb-b-2c845ffcb21d4ada5347.svg",m=n(52848),u=n(15327),x=n(82241),f=n(44448),_=n(44635),v=n(49799),b=n(88248),y=n(47419),w=n(84976),j=n(47767),k=n(87058),A=n(27313),$=n.p+"static/app/assets/images/icons/search-lagoon-72808d2848bb6a642e46.svg",P=(n(82771),n(74848));let S,C,I=e=>e;const F=(0,c.Ay)(v.A,{target:"exlttsf3"})({name:"n9frdv",styles:"padding-left:30px"}),J=(0,c.Ay)(_.Ay,{target:"exlttsf2"})({name:"1899oik",styles:"padding-left:0;padding-right:0;cursor:pointer;&:hover{background:none;}"});J.defaultProps={focusRipple:!1,disableRipple:!0};const M=(0,c.Ay)(x.A,{shouldForwardProp:e=>"$expanded"!==e&&"$noChildren"!==e,target:"exlttsf1"})("margin-top:5px;margin-bottom:5px;color:",(e=>e.theme.palette.primary.main),";",(e=>e.$expanded&&(0,h.AH)(S||(S=I`
    color: ${0};
  `),e.theme.palette.common.brightTurquoise))," .MuiListItemText-primary{font-size:20px;line-height:normal;}&:hover{color:",(e=>e.theme.palette.common.brightTurquoise),";}",(e=>!e.$noChildren&&(0,h.AH)(C||(C=I`
    text-transform: uppercase;
  `))),";"),L=(0,c.Ay)("div",{target:"exlttsf0"})("&.title-variant{cursor:pointer;& a{white-space:nowrap;font-weight:normal;}}&.main-title-variant{& a{white-space:nowrap;font-weight:600;text-transform:none;color:",(e=>e.theme.palette.primary.main),";font-size:20px;}}&.sub-title-variant{padding-left:10px;width:auto;& a{padding-left:0;text-transform:none;font-weight:400;color:",(e=>e.theme.palette.primary.main),";font-size:20px;}}"),z="not_selected";var q=function({gayTravelData:e,rootProps:t={}}){const[n,i]=(0,r.useState)(z);return(0,P.jsx)(F,{...t,children:e.map(((e,t)=>e.map(((e,o)=>{var s,a;const l=[t,o].join("_"),c=e.link&&!e.children,d=l===n;return(0,P.jsxs)(r.Fragment,{children:[(0,P.jsx)(J,{button:!0,...c?{component:"a",href:e.link}:{onClick:()=>i((e=>e===l?z:l))},children:(0,P.jsx)(M,{primary:e.title,$expanded:d,$noChildren:c})}),!(null===(s=e.children)||void 0===s||!s.length)&&(0,P.jsx)(g.i,{children:(0,P.jsx)(m.A,{in:l===n,timeout:"auto",unmountOnExit:!1,children:null===(a=e.children)||void 0===a?void 0:a.map(((e,t)=>e.map(((e,n)=>{var i;return(0,P.jsxs)(r.Fragment,{children:[(0,P.jsx)(L,{className:e.is_main?"main-title-variant":"title-variant",children:(0,P.jsx)("a",{href:e.link||"",children:e.title})}),null===(i=e.children)||void 0===i?void 0:i.map(((e,t)=>e.map(((e,n)=>(0,P.jsx)(L,{className:["sub-title-variant",e.is_main?"main-title-variant":""].join(" "),children:!!e.link&&(0,P.jsx)("a",{href:e.link,children:e.title})},[t,n].join("_"))))))]},[n,t].join("_"))}))))})})]},l)}))))})},R=n.p+"static/app/assets/images/icons/arrow-down-pc-bd18cc1b064a97421aed.svg",D=n.p+"static/app/assets/images/icons/arrow-down-pc-grey-c4022198f33f09ee48c4.svg",N=n.p+"static/app/assets/images/icons/recycle-d8aa1d5781e47b6144b3.svg",T=n(8239),H=n(40003);const O=(0,c.Ay)("div",{target:"e1qoqa8h0"})({name:"17r91yi",styles:"padding:10px 20px 5px 50px"});var E=function({languages:e,locale:t,currencies:n,currentCurrencyId:i,rootProps:o={}}){return(0,P.jsx)(O,{...o,children:(0,P.jsxs)(T.Ay,{container:!0,spacing:0,children:[(0,P.jsx)(T.Ay,{item:!0,xs:6,children:(0,P.jsx)(T.Ay,{container:!0,spacing:1,children:e.map((e=>(0,P.jsx)(T.Ay,{item:!0,xs:12,children:(0,P.jsx)(H.A,{$selected:t===e.locale,component:"a",href:e.translate_url,children:I18nJs.t(`languages.${e.locale}`)})},e.locale)))})}),(0,P.jsx)(T.Ay,{item:!0,xs:6,children:(0,P.jsx)(T.Ay,{container:!0,spacing:1,children:n.map((e=>(0,P.jsx)(T.Ay,{item:!0,xs:12,children:(0,P.jsx)(H.A,{$selected:e.id===i,component:"a",href:Path.getFor("switch_currency",{currency:e.id}),children:e.display})},e.id)))})})]})})},B=n(43326),W=n(11641),G=n(18850),U=n(12215),Q=n.n(U),V=n(10270),Y=n.p+"static/app/assets/images/no-user-photo/no-user-photo@3x-867727dfbc8d366c96d3.png";let K,X=e=>e;const Z=(0,c.Ay)("div",{target:"e1del30q8"})({name:"pkxl3a",styles:"flex:0 0 60px"}),ee=(0,c.Ay)("div",{target:"e1del30q7"})({name:"1531mrv",styles:"flex:1 1 auto;padding:17px 0 0 10px;position:relative"}),te=(0,c.Ay)("div",{target:"e1del30q6"})({name:"1obxv9l",styles:"display:flex;flex-direction:row;flex-wrap:nowrap;padding-bottom:0"}),ne=(0,c.Ay)("img",{target:"e1del30q5"})({name:"rlpn4m",styles:"width:60px;height:60px;border-radius:8px;object-fit:cover"}),ie=(0,c.Ay)("h5",{target:"e1del30q4"})("font-size:20px;line-height:23px;color:",(e=>e.theme.palette.common.mineShaft2),";margin-top:0;margin-bottom:0;font-weight:bold;padding:0;text-align:left;"),oe=(0,c.Ay)("div",{target:"e1del30q3"})({name:"gvfn9y",styles:"display:flex;justify-content:space-between;align-items:center;margin-top:2px"}),se=(0,c.Ay)(G.A,{shouldForwardProp:e=>"$withDot"!==e,target:"e1del30q2"})("font-size:16px;line-height:1.25;font-weight:normal;&,&:hover,&:focus,&:active,&:visited{text-decoration:none;color:",(e=>e.theme.palette.primary.main),";}a&:hover{text-decoration:underline;}",(e=>e.$withDot&&(0,h.AH)(K||(K=X`
    position: relative;
    padding-right: 14px;
    &:after {
      content: ' ';
      display: block;
      position: absolute;
      right: -1px;
      top: 50%;
      transform: translateY(-50%);
      width: 10px;
      height: 10px;
      background-color: ${0};
      border-radius: 50%;
    }
  `),e.theme.palette.common.maldives)),";");se.defaultProps={component:"a",disableRipple:!0};const ae=(0,c.Ay)(W.A,{target:"e1del30q1"})({name:"1h2ogmv",styles:"&.MuiButtonBase-root{position:absolute;right:-8px;top:4px;opacity:0.5;height:20px;width:20px;padding:4px;&:hover{background:none;}}img{width:16px;flex-shrink:0;max-width:unset;}"});ae.defaultProps={disableRipple:!0};const re=(0,c.Ay)("div",{target:"e1del30q0"})({name:"13oragd",styles:"display:flex;justify-content:flex-start;align-items:center;margin-top:2px;&>*:not(:first-child){margin-left:35px;}"}),le=({onClose:e,onLogInClick:t,onSignUpClick:n})=>(0,P.jsxs)(te,{children:[(0,P.jsx)(Z,{children:(0,P.jsx)(ne,{src:Y,alt:"no-avatar"})}),(0,P.jsxs)(ee,{children:[(0,P.jsx)(ie,{children:"\xa0"}),(0,P.jsxs)(re,{children:[(0,P.jsx)(se,{onClick:n,component:"div",children:I18nJs.t("header.sign_up")}),(0,P.jsx)(se,{onClick:t,component:"div",children:I18nJs.t("header.login")})]}),(0,P.jsx)(B.A,{implementation:"css",children:(0,P.jsx)(ae,{onClick:e,children:(0,P.jsx)("img",{width:"16",height:"16",src:V,alt:"close"})})})]})]});var ce=({onClose:e,name:t,src:n,myProfileDot:i=!1,myAccountDot:o=!1,isCompanionPage:s=!1})=>(0,P.jsxs)(te,{children:[(0,P.jsx)(Z,{children:(0,P.jsx)(ne,{src:n,alt:"avatar"})}),(0,P.jsxs)(ee,{children:[(0,P.jsx)(ie,{children:t}),(0,P.jsxs)(oe,{children:[(0,P.jsx)(se,{$withDot:i,href:Path.getFor("account_user"),onClick:()=>{s&&Q().set("profile_page_from","weere")},children:I18nJs.t("header.edit_my_profile")}),(0,P.jsx)(se,{$withDot:o,href:Path.getFor("account_personal_info"),children:I18nJs.t("header.my_account")})]}),(0,P.jsx)(B.A,{implementation:"css",children:(0,P.jsx)(ae,{onClick:e,children:(0,P.jsx)("img",{width:"16",height:"16",src:V,alt:"close"})})})]})]}),de=n(2487),he=n(40471),ge=n.p+"static/app/assets/images/icons/house-black-c8a912b29a3a495e986b.svg",pe=n.p+"static/app/assets/images/icons/luggage-black-f69a8d35d3b60eac81f4.svg";const me=(0,c.Ay)("a",{shouldForwardProp:e=>"$bottomOffset"!==e,target:"e1wojk3o0"})("position:sticky;bottom:",(e=>`${23+e.$bottomOffset}px`),";height:38px;width:fit-content;font-size:15px;font-weight:bold;background-color:",(e=>e.theme.palette.common.maldives),";color:",(e=>e.theme.palette.common.mineShaft2),";text-transform:uppercase;padding:9px 16px;border-radius:19px;margin:auto;display:flex;align-items:center;gap:9px;&:active,&:focus,&:hover{text-decoration:none;color:",(e=>e.theme.palette.common.mineShaft2),";}");var ue=({ownHosting:e,bottomOffset:t=50})=>{const[n,i]=(0,r.useState)(!0);(0,r.useEffect)((()=>{i("travel"===Q().get("bottomMenuMode"))}),[]);return(0,P.jsxs)(me,{$bottomOffset:t,href:n?e?Path.getFor("account_hostings"):Path.getFor("how_to_host"):Path.getFor("root"),onClick:()=>{Q().set("bottomMenuMode",n?"hosting":"travel")},children:[(0,P.jsx)("img",{src:n?ge:pe,alt:"house"}),I18nJs.t("header."+(n?e?"shift_to_hosting":"list_my_property":"shift_to_travel"))]})};var xe=(0,r.createContext)({bottomMenuHeight:void 0}),fe=n(10080),_e=n(22477),ve=n(51629),be=n(46831),ye=n(58763),we=n(77867),je=n(58031),ke=n.p+"static/app/assets/images/companion/close-bluish-grey-e2892dd56b9d4039b4fd.svg";const Ae=(0,c.Ay)(je.A,{target:"e7bx67z3"})({name:"xrcndn",styles:"& .MuiDialog-paper{width:360px;min-height:260px;box-shadow:0 5px 30px 0 rgba(47, 47, 47, 0.15);background-color:#fff;&.MuiPaper-rounded{border-radius:8px;}}"});Ae.defaultProps={PaperProps:{elevation:0},maxWidth:"sm",fullWidth:!0};const $e=(0,c.Ay)("div",{target:"e7bx67z2"})({name:"15cywe2",styles:"cursor:pointer;position:absolute;right:20px;top:20px"});$e.defaultProps={ariaHidden:!0};const Pe=(0,c.Ay)(we.A,{target:"e7bx67z1"})({name:"1d8ggvc",styles:"font-size:20px;font-weight:normal;font-stretch:normal;font-style:normal;line-height:1.15;letter-spacing:normal;text-align:center;color:#2f2f2f"}),Se=(0,c.Ay)(ye.A,{target:"e7bx67z0"})({name:"zmfs3f",styles:"button{min-width:auto;height:auto;font-size:20px;font-weight:bold;font-stretch:normal;font-style:normal;line-height:normal;letter-spacing:normal;text-align:center;color:#2f2f2f;text-decoration:underline;margin:0 auto;}"});var Ce=({onClose:e,open:t=!1,title:n="",children:i})=>{const o=(t,n)=>{["backdropClick","escapeKeyDown"].includes(n)||e()};return(0,P.jsxs)(Ae,{maxWidth:"xs",onClose:o,open:t,children:[(0,P.jsx)(be.A,{children:e?(0,P.jsx)($e,{onClick:o,children:(0,P.jsx)("img",{width:"14px",height:"14px",src:ke,alt:"close"})}):null}),(0,P.jsxs)(_e.A,{sx:{marginTop:"11px",padding:"15px 20px"},children:[(0,P.jsxs)(Pe,{children:[(0,P.jsx)("p",{children:n}),(0,P.jsx)("p",{children:i})]}),(0,P.jsx)(Se,{children:(0,P.jsx)(ve.A,{variant:"text",onClick:e,children:I18nJs.t("companion.subscribtion.manage.apple_warning.button")})})]})]})};let Ie,Fe,Je,Me,Le,ze,qe,Re,De=e=>e;const Ne=(0,c.Ay)(y.A,{target:"e10stq8o19"})({name:"25th1m",styles:"background-color:rgba(0, 0, 0, 0.5)!important"}),Te=(0,c.Ay)(b.Ay,{target:"e10stq8o18"})(".MuiDrawer-paper{width:100%;max-width:370px;border-left:1px solid #e7e7e7;",(e=>e.theme.breakpoints.down("md")),"{max-width:100%;}}"),He=(0,c.Ay)(a.A,{shouldForwardProp:e=>"$disableGutters"!==e&&"$color"!==e,target:"e10stq8o17"})("&.MuiDivider-root{width:initial;margin:0 30px;border-color:",(e=>e.$color||e.theme.palette.common.whisper),";",(e=>!e.$disableGutters&&(0,h.AH)(Ie||(Ie=De`
      margin-top: 10px;
      margin-bottom: 10px;
    `)))," ",(e=>e.theme.breakpoints.down("md")),"{margin-left:20px;margin-right:20px;",(e=>!e.$disableGutters&&(0,h.AH)(Fe||(Fe=De`
        margin-top: 10px;
        margin-bottom: 10px;
      `))),";}}");He.defaultProps={$disableGutters:!1};const Oe=(0,c.Ay)("div",{shouldForwardProp:e=>"$bottomOffset"!==e,target:"e10stq8o16"})("padding:15px 0;",(e=>e.$bottomOffset&&(0,h.AH)(Je||(Je=De`
    margin-bottom: ${0}px;
  `),e.$bottomOffset)),";"),Ee=(0,c.Ay)("img",{shouldForwardProp:e=>"$expanded"!==e,target:"e10stq8o15"})((e=>e.$expanded&&(0,h.AH)(Me||(Me=De`
    transform: rotate(180deg);
  `))),";");Ee.defaultProps={src:R,width:13,height:7};const Be=(0,c.Ay)("div",{target:"e10stq8o14"})("padding:0 30px 17px;",(e=>e.theme.breakpoints.down("md")),"{padding:0 20px 9px;}"),We=(0,c.Ay)("span",{target:"e10stq8o13"})("top:46%;margin-left:5px;position:absolute;width:6px;height:6px;background-color:",(e=>e.theme.palette.common.maldives),";border-radius:50%;"),Ge=(0,c.Ay)("div",{target:"e10stq8o12"})("display:inline-flex;min-width:26px;height:26px;border-radius:26px;",(e=>"mister-bnb"===e.$ownerState.variant&&(0,h.AH)(Le||(Le=De`
    background-color: ${0};
  `),e.theme.palette.common.maldives))," ",(e=>"companion"===e.$ownerState.variant&&(0,h.AH)(ze||(ze=De`
    background-color: ${0};
  `),e.theme.palette.secondary.main))," align-items:center;justify-content:center;",(e=>"mister-bnb"===e.$ownerState.variant&&(0,h.AH)(qe||(qe=De`
    color: ${0};
  `),e.theme.palette.common.mineShaft2))," ",(e=>"companion"===e.$ownerState.variant&&(0,h.AH)(Re||(Re=De`
    color: ${0};
  `),e.theme.palette.common.white))," font-size:17px;line-height:1;padding:2px 4px;font-weight:bold;"),Ue=({number:e,max:t,variant:n})=>{const i=(0,r.useMemo)((()=>void 0===t?e:+e>+t?`${t}+`:e),[t,e]);return(0,P.jsx)(Ge,{$ownerState:{variant:n},children:i})},Qe=(0,c.Ay)(v.A,{target:"e10stq8o11"})({name:"2lkt02",styles:"&.MuiList-root{margin-top:4px;}&.MuiList-padding{padding-top:14px;padding-bottom:14px;}"}),Ve=(0,c.Ay)(_.Ay,{shouldForwardProp:e=>"$nested"!==e,target:"e10stq8o10"})("&.MuiListItem-root{padding:4px 30px 4px 30px;",(e=>e.$nested?"padding-left: 60px;":"")," color:",(e=>e.theme.palette.common.mineShaft2),";text-decoration:none;background:none;&:hover,&:focus{color:",(e=>e.theme.palette.common.mineShaft2),";text-decoration:none;background-color:rgba(0, 0, 0, 0.03);",(e=>e.theme.breakpoints.down("md")),"{background:none;}}",(e=>e.theme.breakpoints.down("md")),"{padding:5px 20px 5px 20px;",(e=>e.$nested?"padding-left: 50px;":""),";}&.MuiListItem-secondaryAction{padding-right:60px;}}");Ve.defaultProps={button:!0,component:"a",disableGutters:!0,ContainerComponent:"div",focusRipple:!1,disableRipple:!0,disableTouchRipple:!0};const Ye=(0,c.Ay)(Ve,{target:"e10stq8o9"})("");Ye.defaultProps={...Ve.defaultProps,component:w.N_};const Ke=(0,c.Ay)(f.A,{target:"e10stq8o8"})({name:"1hrrlls",styles:"&.MuiListItemSecondaryAction-root{right:30px;}"}),Xe=(0,c.Ay)(x.A,{target:"e10stq8o7"})("margin-top:5px;margin-bottom:5px;.MuiListItemText-primary{font-size:16px;line-height:normal;",(e=>e.theme.breakpoints.down("md")),"{font-size:20px;}}sup{text-transform:uppercase;color:",(e=>e.theme.palette.common.fuchsia),";font-size:10px;font-weight:bold;&:before{content:'\\00a0\\00a0\\00a0';}}.link:hover{text-decoration:underline;}"),Ze=(0,c.Ay)("a",{target:"e10stq8o6"})("display:flex;align-items:center;padding:7px 30px;font-size:14px;color:",(e=>e.theme.palette.common.mineShaft2),";min-height:39px;&:focus{text-decoration:none;}&:hover{color:",(e=>e.theme.palette.common.mineShaft2),";text-decoration:none;background-color:rgba(0, 0, 0, 0.03);",(e=>e.theme.breakpoints.down("md")),"{background:none;}}",(e=>e.theme.breakpoints.down("md")),"{padding:7px 20px;}"),et=(0,c.Ay)(Ze,{target:"e10stq8o5"})("");et.defaultProps={as:w.N_};const tt=(0,c.Ay)("img",{target:"e10stq8o4"})({name:"1jvru2l",styles:"vertical-align:baseline;margin:0 4px 0 0;width:114px;height:21px;object-fit:contain"}),nt=(0,c.Ay)("img",{target:"e10stq8o3"})("vertical-align:baseline;width:auto;height:",(e=>e.height||11),"px;object-fit:contain;margin-left:4px;"),it=(0,c.Ay)("img",{target:"e10stq8o2"})("width:auto;height:",(e=>e.height||24),"px;object-fit:contain;margin:5px 0 5px ",(e=>e.$ml),"px;");it.defaultProps={$ml:30};const ot=(0,c.Ay)("img",{target:"e10stq8o1"})({name:"naj7ka",styles:"order:-1;vertical-align:baseline;width:auto;height:21px;object-fit:contain;margin-right:8.5px"}),st=(0,c.Ay)("div",{target:"e10stq8o0"})("display:inline-flex;justify-content:center;align-items:center;border:2px solid ",(e=>e.theme.palette.common.pear),";border-radius:4px;min-height:24px;font-size:16px;line-height:normal;font-weight:bold;color:",(e=>e.theme.palette.common.mineShaft2),";padding:0 8px;",(e=>e.theme.breakpoints.down("md")),"{font-size:20px;}"),at=({text:e,showDot:t=!1,useRouter:n=!1,textProps:i={},children:o=null,...s})=>{let a=Ve;if(n)try{(0,j.zy)(),a=Ye,s.to=s.href,delete s.href}catch{}return(0,P.jsxs)(a,{...s,children:[(0,P.jsx)(Xe,{primary:(0,P.jsxs)(P.Fragment,{children:[e,t&&(0,P.jsx)(We,{})]}),...i}),o]})},rt=({useRouter:e=!1,children:t=null,...n})=>{let i=Ze;if(e)try{(0,j.zy)(),i=et,n.to=n.href,delete n.href}catch{}return(0,P.jsx)(i,{...n,children:t})};var lt=({open:e,anchorEl:t,onClose:n,user:i,gayTravelData:o,isMobile:s,companionLinks:a,currencies:l,currentCurrencyId:c,languages:h,locale:g,zendeskLink:x,loyaltyProgramLink:f,isCompanionPage:_,staysSearchLink:v})=>{const[b,y]=(0,r.useState)(!1),[w,j]=(0,r.useState)(!1),[S,C]=(0,r.useState)(!1),[I,F]=(0,r.useState)(!1),J=(0,r.useContext)(xe),M=(0,r.useContext)(fe.A),L=(0,d.A)(),z=(0,u.A)(L.breakpoints.down("md"),{defaultMatches:s}),R=(0,r.useSyncExternalStore)((e=>(window.addEventListener("orientationchange",e),window.addEventListener("resize",e),window.addEventListener("top_banner_closed",e),()=>{window.removeEventListener("orientationchange",e),window.removeEventListener("resize",e),window.removeEventListener("top_banner_closed",e)})),(()=>{var e;return(null===(e=t.current)||void 0===e?void 0:e.getBoundingClientRect().bottom)||0}),(()=>0)),T=e=>{n(),i.can_manage_companion_subscription||(e.preventDefault(),e.stopPropagation(),F(!0))},H=Boolean(i),O=(0,r.useMemo)((()=>l.find((e=>e.id===c))),[c,l]),B=_?"header.search_lodging":"header.stays";return(0,P.jsxs)(Te,{anchor:"right",open:e,onClose:n,elevation:0,ModalProps:{BackdropComponent:_&&!z?null:Ne,keepMounted:!0},variant:_&&!z?"persistent":"temporary",style:{zIndex:z?1029:1032},children:[z&&e&&(0,P.jsx)("div",{style:{height:"0px",flex:"0 0 0px",marginTop:`${R}px`}}),(0,P.jsxs)(Oe,{$bottomOffset:J.bottomMenuHeight,children:[(0,P.jsx)(Be,{children:H?(0,P.jsx)(ce,{onClose:n,name:null===i||void 0===i?void 0:i.first_name,src:null===i||void 0===i?void 0:i.avatar,myProfileDot:!!i.my_profile_visit_notify,myAccountDot:!!i.my_account_visit_notify,isCompanionPage:_}):(0,P.jsx)(le,{onClose:n,onSignUpClick:({target:e})=>{n(),_?window.location.href=Path.getUrl(Path.getFor("companion_sign_up")):AsyncAuth.showSignUpModal(e)},onLogInClick:({target:e})=>{n(),_?window.location.href=Path.getUrl(Path.getFor("companion_sign_in")):AsyncAuth.showSignInModal(e)}})}),(0,P.jsx)(He,{}),(0,P.jsxs)(Qe,{component:"ul",disablePadding:!0,role:"navigation",children:[H?_||M.profilePageFromWeere?(0,P.jsxs)(P.Fragment,{children:[(0,P.jsxs)(rt,{href:a.community,onClick:n,"aria-label":I18nJs.t("header.companion_by_misterbnb"),useRouter:!0,children:[(0,P.jsx)(tt,{width:"114",height:"21",src:k,alt:"weere"}),"\xa0",(0,he.A)(I18nJs.t("header.by_logo_as_icon"),"%{icon}",(0,P.jsx)(nt,{height:"11",src:p,alt:"mister b and b"})),(0,P.jsx)(nt,{height:"11",src:A})]}),!z&&(0,P.jsxs)(P.Fragment,{children:[(0,P.jsx)(at,{text:I18nJs.t("header.messages"),href:a.messages,useRouter:!0,children:!!i.unread_companion_messages_count&&(0,P.jsx)(Ke,{children:(0,P.jsx)(Ue,{number:i.unread_companion_messages_count,max:99,variant:"companion"})})}),(0,P.jsx)(at,{text:I18nJs.t("companion.menu.my_feed"),href:a.community,onClick:n,useRouter:!0}),(0,P.jsx)(at,{text:I18nJs.t("companion.menu.engage"),href:a.engage,onClick:n,useRouter:!0}),(0,P.jsx)(at,{text:I18nJs.t("companion.menu.likes"),href:a.likes,onClick:n,useRouter:!0})]}),!i.can_manage_companion_subscription&&(0,P.jsx)(Ce,{open:I,onClose:()=>F(!1),title:I18nJs.t("companion.subscribtion.manage.apple_warning.title"),children:I18nJs.t("companion.subscribtion.manage.apple_warning.content")}),(0,P.jsx)(at,{text:I18nJs.t("companion.menu.gay_guided_tours"),href:a.guided_tours_page,onClick:n,useRouter:!0}),!i.has_free_subscription&&(i.has_active_companion_subscription?(0,P.jsx)(at,{text:I18nJs.t("companion.menu.manage"),href:a.companion_pro,onClick:T,useRouter:!0}):(0,P.jsx)(rt,{href:a.companion_pro,useRouter:!0,children:(0,P.jsx)(st,{children:I18nJs.t("companion.menu.get_companion_pro")})})),(0,P.jsx)(at,{text:I18nJs.t("companion.menu.terms"),href:a.terms_and_conditions}),(0,P.jsx)(He,{$color:"#2F2F2F"}),(0,P.jsxs)(rt,{href:v,onClick:n,"aria-label":I18nJs.t("header.companion_by_misterbnb"),children:[(0,P.jsx)(it,{$ml:0,height:"24",src:p,alt:"mister b and b"}),(0,P.jsx)("img",{height:"29",style:{marginLeft:"auto"},src:N,alt:"switch-to-weere"})]}),(0,P.jsx)(He,{$color:"#2F2F2F"})]}):(0,P.jsxs)(P.Fragment,{children:[(0,P.jsxs)(P.Fragment,{children:[i.has_hosting?(0,P.jsxs)(P.Fragment,{children:[(0,P.jsx)(it,{height:"24",width:"159",$ml:z?20:void 0,src:p,alt:"mister b and b"}),(0,P.jsx)(at,{text:I18nJs.t(B),href:Path.getFor("index_search"),children:(0,P.jsx)(ot,{width:"22",height:"24",src:$,alt:"search"})}),(0,P.jsx)(He,{}),(0,P.jsx)(at,{text:I18nJs.t("header.hosting"),component:"div",onClick:()=>y(!b),"aria-expanded":b,role:"button",id:"hosting-submenu-trigger","aria-controls":"hosting-submenu-content",children:(0,P.jsx)(Ee,{$expanded:b})}),(0,P.jsx)(m.A,{in:b,timeout:"auto",unmountOnExit:!1,children:(0,P.jsxs)(Qe,{component:"ul",disablePadding:!0,id:"hosting-submenu-content","aria-label":I18nJs.t("header.hosting_submenu"),children:[!!i.last_published_hosting_id&&(0,P.jsx)(at,{text:I18nJs.t("header.my_calendar"),href:`${Path.getFor("account_hosting_availabilities",{hosting_id:i.last_published_hosting_id})}?calendar=true`,$nested:!0}),(0,P.jsx)(at,{text:I18nJs.t("performance.my_host_performance"),href:Path.getFor("performance_account_hostings"),$nested:!0}),(0,P.jsx)(at,{text:I18nJs.t("header.manage_my_listings"),href:Path.getFor("account_hostings"),$nested:!0}),(0,P.jsx)(at,{text:I18nJs.t("header.my_bookings"),href:Path.getFor("account_bookings"),$nested:!0}),(0,P.jsx)(at,{text:I18nJs.t("header.list_my_property"),href:Path.getFor("how_to_host"),$nested:!0})]})})]}):(0,P.jsxs)(P.Fragment,{children:[(0,P.jsx)(it,{height:"24",src:p,alt:"mister b and b"}),(0,P.jsx)(at,{text:I18nJs.t("header.search_lodging"),href:Path.getFor("index_search"),children:(0,P.jsx)(ot,{width:"22",height:"24",src:$,alt:"search"})}),(0,P.jsx)(He,{}),(0,P.jsx)(at,{text:I18nJs.t("homepage.become_a_host"),href:Path.getFor("how_to_host")})]}),(0,P.jsx)(He,{})]}),(0,P.jsx)(at,{text:I18nJs.t("header.messages"),href:Path.getFor("account_conversations"),children:!!i.unread_messages_count&&(0,P.jsx)(Ke,{children:(0,P.jsx)(Ue,{number:i.unread_messages_count,max:99,variant:"mister-bnb"})})}),(0,P.jsx)(at,{showDot:!!i.hotels_without_review_for_three_weeks_notify,text:I18nJs.t("header.travel_bookings"),href:Path.getFor("account_travels")}),i.has_guests&&(0,P.jsx)(at,{text:I18nJs.t("header.guest_bookings"),href:Path.getFor("account_bookings")}),(0,P.jsx)(at,{text:I18nJs.t("header.favorites"),href:Path.getFor("account_favorites")}),!!i.joined_loyalty_program&&(0,P.jsx)(at,{text:(0,P.jsxs)(P.Fragment,{children:[(0,P.jsx)("span",{className:"link",onClick:()=>{window.location.href=Path.getFor("account_rewards")},children:I18nJs.t("header.pride_points")})," / ",(0,P.jsx)("span",{className:"link",onClick:()=>{window.location.href=f},children:I18nJs.t("header.pride_rewards")})]})}),(0,P.jsx)(at,{text:I18nJs.t("header.reviews"),href:Path.getFor("account_reviews"),children:!!i.reviewable_by_user_count&&(0,P.jsx)(Ke,{children:(0,P.jsx)(Ue,{number:i.reviewable_by_user_count,max:99,variant:"mister-bnb"})})}),(0,P.jsx)(at,{text:I18nJs.t("header.recommendations"),href:Path.getFor("account_recommendations")}),(0,P.jsx)(at,{text:I18nJs.t("header.invite_friends_get_credits"),href:Path.getFor("new_account_invite")}),(0,P.jsx)(He,{$color:"#2F2F2F"}),(0,P.jsxs)(rt,{href:a.community,onClick:n,"aria-label":I18nJs.t("header.companion_by_misterbnb"),useRouter:!0,children:[(0,P.jsx)(tt,{width:"114",height:"21",src:k,alt:"weere"}),"\xa0",(0,he.A)(I18nJs.t("header.by_logo_as_icon"),"%{icon}",(0,P.jsx)(nt,{height:"10",src:p,alt:"mister b and b"})),(0,P.jsx)(nt,{height:"11",src:A}),(0,P.jsx)("img",{height:"29",style:{marginLeft:"auto"},src:N,alt:"switch-to-weere"})]}),(0,P.jsx)(He,{$color:"#2F2F2F"})]}):_?(0,P.jsxs)(P.Fragment,{children:[(0,P.jsxs)(rt,{href:a.community,onClick:n,useRouter:!0,children:[(0,P.jsx)(tt,{width:"114",height:"21",src:k,alt:"weere"}),"\xa0",(0,he.A)(I18nJs.t("header.by_logo_as_icon"),"%{icon}",(0,P.jsx)(nt,{height:"11",src:p,alt:"mister b and b"})),(0,P.jsx)(nt,{height:"11",src:A})]}),(0,P.jsx)(rt,{href:a.companion_pro_static,useRouter:!0,children:(0,P.jsx)(st,{children:I18nJs.t("companion.menu.get_companion_pro")})}),(0,P.jsx)(at,{text:I18nJs.t("companion.menu.terms"),href:a.terms_and_conditions}),(0,P.jsx)(He,{$color:"#2f2f2f"}),(0,P.jsxs)(rt,{href:Path.getFor("root"),onClick:n,children:[(0,P.jsx)(nt,{height:"24",src:p}),(0,P.jsx)("img",{height:"29",style:{marginLeft:"auto"},src:N,alt:"switch-to-mister b and b"})]}),(0,P.jsx)(He,{$color:"#2f2f2f"})]}):(0,P.jsxs)(P.Fragment,{children:[(0,P.jsx)(it,{$ml:20,height:"24",src:p,alt:"mister b and b"}),(0,P.jsx)(at,{text:I18nJs.t("header.search_lodging"),href:Path.getFor("index_search"),children:(0,P.jsx)(ot,{width:"22",height:"24",src:$,alt:"search"})}),(0,P.jsx)(He,{$disableGutters:!0,$color:"transparent"}),(0,P.jsx)(at,{text:I18nJs.t("homepage.become_a_host"),href:Path.getFor("how_to_host")}),(0,P.jsx)(He,{$color:"#2f2f2f"}),(0,P.jsxs)(rt,{href:a.community,onClick:n,useRouter:!0,children:[(0,P.jsx)(tt,{width:"114",height:"21",src:k,alt:"weere"}),"\xa0",(0,he.A)(I18nJs.t("header.by_logo_as_icon"),"%{icon}",(0,P.jsx)(nt,{height:"11",src:p,alt:"mister b and b"})),(0,P.jsx)(nt,{height:"11",src:A}),(0,P.jsx)("img",{height:"29",style:{marginLeft:"auto"},src:N,alt:"switch-to-mister b and b"})]}),(0,P.jsx)(He,{$color:"#2f2f2f"})]}),z&&(0,P.jsxs)(P.Fragment,{children:[(0,P.jsx)(at,{text:I18nJs.t("header.gay_travel"),component:"div",onClick:()=>j(!w),"aria-expanded":w,role:"button",id:"gay-travel-submenu-trigger","aria-controls":"gay-travel-submenu-content",children:(0,P.jsx)(Ee,{$expanded:w,src:D})}),(0,P.jsx)(m.A,{in:w,timeout:"auto",unmountOnExit:!1,children:(0,P.jsx)(q,{gayTravelData:o,rootProps:{id:"gay-travel-submenu-content","aria-labelledby":"gay-travel-submenu-trigger"}})}),(0,P.jsx)(He,{}),(0,P.jsx)(at,{text:`${null===g||void 0===g?void 0:g.toUpperCase()} - ${null===O||void 0===O?void 0:O.display}`,component:"div",onClick:()=>C(!S),"aria-expanded":S,role:"button",id:"language-currency-selector-submenu-trigger","aria-controls":"language-currency-selector-submenu-content",children:(0,P.jsx)(Ee,{$expanded:S,src:D})}),(0,P.jsx)(m.A,{in:S,timeout:"auto",unmountOnExit:!1,children:(0,P.jsx)(E,{currencies:l,currentCurrencyId:c,languages:h,locale:g,rootProps:{id:"language-currency-submenu-content","aria-labelledby":"language-currency-submenu-trigger"}})}),(0,P.jsx)(He,{})]}),z&&(0,P.jsx)(at,{text:I18nJs.t("header.help_center"),href:x,target:"_blank",rel:"nofollow"}),H&&(0,P.jsxs)(P.Fragment,{children:[z&&(0,P.jsx)(He,{}),(0,P.jsx)(at,{text:I18nJs.t("header.logout"),button:!0,component:"div",onClick:()=>{(0,de.A)(window.location.href)},style:{marginBottom:"70px"}})]})]})]}),H&&z&&!_&&!M.profilePageFromWeere&&(0,P.jsx)(ue,{bottomOffset:J.bottomMenuHeight,ownHosting:i.has_hosting})]})},ct=n(87243),dt=n(24279);const ht=(0,c.Ay)(G.A,{shouldForwardProp:e=>!["$ml","$mr","$noPadding","$fontSize"].includes(e),target:"eb1fmqu0"})("&.MuiButtonBase-root{min-height:34px;padding:",(e=>e.$noPadding?"0":"0 8px"),";border-radius:4px;font-size:",(e=>e.$fontSize),";line-height:normal;font-weight:normal;color:",(e=>e.theme.palette.common.mineShaft2),";",(e=>`margin-left: ${e.$ml}px;`)," ",(e=>`margin-right: ${e.$mr}px;`),";&:hover{background-color:",(e=>(0,dt.X4)(e.theme.palette.common.bluishGrey,.1)),";font-weight:bold;}&:hover,&:focus,&:active{text-decoration:none;}}");ht.defaultProps={$ml:0,$mr:0,$noPadding:!1,$fontSize:"14px"};var gt=ht,pt=n(78597);const mt=(0,c.Ay)("div",{target:"e1x1v7wg1"})({name:"bjn8wh",styles:"position:relative"}),ut=(0,c.Ay)("img",{target:"e1x1v7wg0"})({name:"1gwqfs0",styles:"border-radius:4px;width:32px;height:32px;object-fit:cover"});function xt({src:e,notificationDot:t=!1,isMobile:n=!1}){return(0,P.jsx)(mt,{children:(0,P.jsx)(pt.A,{notified:t,isMobile:n,top:n?"-2px":"-4px",right:n?"-3px":"-4px",children:(0,P.jsx)(ut,{width:"32",height:"32",src:e})})})}var ft=function({onClick:e,src:t,notificationDot:n=!1,buttonProps:i={},isMobile:o=!1}){return(0,P.jsx)(gt,{onClick:e,...i,children:(0,P.jsx)(xt,{src:t,notificationDot:n,isMobile:o})})},_t=n(51749);const vt=(0,c.Ay)(_t.Ay,{target:"efk0utk6"})("& .MuiPopover-paper{overflow:visible;border:none;background-color:",(e=>e.theme.palette.common.white),";box-shadow:0 0 15px 4px rgba(189, 175, 164, 0.27);border-radius:0;min-width:90px;width:max-content;margin:2px 0 0;}.MuiBackdrop-root{background-color:transparent;}"),bt=(0,c.Ay)("div",{target:"efk0utk5"})("display:none;position:absolute;right:100%;padding:0;top:0;color:#3d3d3d;background-color:",(e=>e.theme.palette.common.white),";min-height:100%;box-shadow:0 0 15px 4px rgba(189, 175, 164, 0.27);"),yt=(0,c.Ay)("div",{target:"efk0utk4"})({name:"zjik7",styles:"display:flex"}),wt=(0,c.Ay)("div",{target:"efk0utk3"})({name:"e23o9g",styles:"padding:10px"}),jt=(0,c.Ay)("div",{target:"efk0utk2"})({name:"50y20b",styles:"&.title-variant{cursor:pointer;& a{white-space:nowrap;font-weight:normal;}}&.main-title-variant{margin-top:10px;& a{white-space:nowrap;font-weight:600;text-transform:none;color:#3d3d3d;}}&.sub-title-variant{padding-left:10px;width:max-content;& a{padding-left:0;text-transform:none;font-weight:400;color:#3d3d3d;}}"}),kt=(0,c.Ay)("ul",{target:"efk0utk1"})({name:"wsyky1",styles:"margin:0;list-style:none;position:relative;padding:10px 0"}),At=(0,c.Ay)("li",{target:"efk0utk0"})("cursor:pointer;padding:3px 20px;",(e=>e.$strong&&"font-weight: 600;")," ",(e=>e.theme.breakpoints.up("xxl")),"{font-size:14px;}&>a{text-transform:none;}&>span{text-transform:uppercase;}&:hover{background-color:",(e=>e.theme.palette.common.java),";&>span,&>a{color:",(e=>e.theme.palette.common.white),";text-decoration:none;}.nested-dropdown-popup{display:block;}}");var $t=function({gayTravelData:e,...t}){return(0,P.jsx)(vt,{...t,children:(0,P.jsx)(kt,{children:e.map(((e,t)=>e.map(((e,n)=>{var i;return(0,P.jsxs)(At,{$strong:!!e.is_main,children:[e.link&&!e.children?(0,P.jsx)("a",{href:e.link||"",children:e.title}):(0,P.jsx)("span",{children:e.title}),(0,P.jsx)(g.i,{children:(0,P.jsx)(bt,{className:"nested-dropdown-popup",children:(0,P.jsx)(yt,{children:null===(i=e.children)||void 0===i?void 0:i.map(((e,t)=>(0,P.jsx)(wt,{children:e.map(((e,t)=>{var n;return(0,P.jsxs)(r.Fragment,{children:[(0,P.jsx)(jt,{className:e.is_main?"main-title-variant":"title-variant",children:(0,P.jsx)("a",{href:e.link||"",children:e.title})}),null===(n=e.children)||void 0===n?void 0:n.map(((e,t)=>e.map(((e,n)=>(0,P.jsx)(jt,{className:["sub-title-variant",e.is_main?"main-title-variant":""].join(" "),children:!!e.link&&(0,P.jsx)("a",{href:e.link,children:e.title})},[t,n].join("_"))))))]},["column_index",t].join("_"))}))},["columns_index",t].join("_"))))})})})]},[t,n].join("_"))}))))})})},Pt=n(86663),St=n.p+"static/app/assets/images/icons/pin-location-empty-2-3cd93a0f591941e82c87.svg",Ct=n(17638),It=n(19004),Ft=n(46231);const Jt=(0,c.Ay)("div",{target:"ern5fco1"})("margin-left:45px;",(e=>e.theme.breakpoints.down("lg")),"{margin-left:20px;}"),Mt=(0,c.Ay)("div",{target:"ern5fco0"})("width:100%;max-width:300px;position:relative;.react-autosuggest__container{width:100%;font-size:14px;font-weight:normal;font-stretch:normal;font-style:normal;line-height:normal;letter-spacing:normal;}.react-autosuggest__container input{width:100%;min-height:29px;border:2px solid ",(e=>e.theme.palette.common.brightOrange),";background-color:",(e=>e.theme.palette.common.white),";padding:4px 10px 4px 28px;background:url(",St,") 12px 50%/12px 17px no-repeat!important;border-radius:8px;color:",(e=>e.theme.palette.primary.main),";&::placeholder{color:",(e=>e.theme.palette.primary.descriptionLight),";}}.react-autosuggest__suggestions-container--open{top:29px;border-radius:8px;}.react-autosuggest__suggestion{&:hover{width:calc(100% + 20px);}}");var Lt=({settings:e})=>{var t;const n=(0,r.useRef)(null),[i,o]=(0,It.A)({destination:"",geo_id:"",geocoding_poi:"",geocoding_kind:"",geocoding:""}),s=(0,r.useRef)(!1),a=()=>{n.current.requestSubmit?n.current.requestSubmit():n.current.submit()};(0,r.useEffect)((()=>{s.current&&(s.current=!1,Promise.resolve(!!e.track_search_engine&&ConversionGoals.ga_search(e.track_search_engine,i.destination)).finally(a))}));const l=(0,Ft.f)()?"":null===(t=document.querySelector('meta[name="csrf-token"]'))||void 0===t?void 0:t.content,c=e.destination||I18nJs.t("homepage.search.enter_a_destination");return(0,P.jsxs)(Jt,{children:[(0,P.jsxs)("form",{ref:n,action:e.action,method:"post",children:[(0,P.jsx)("input",{type:"hidden",id:"search_form_authenticity_token",name:"authenticity_token",value:l}),(0,P.jsx)("input",{type:"hidden",id:"search_form_destination",name:"search[destination]",value:i.destination}),(0,P.jsx)("input",{type:"hidden",id:"search_geocoding",name:"search[geocoding]",value:i.geocoding}),(0,P.jsx)("input",{type:"hidden",id:"search_geo_id",name:"search[geo_id]",value:i.geo_id}),(0,P.jsx)("input",{type:"hidden",id:"search_geocoding_poi",name:"search[geocoding_poi]",value:i.geocoding_poi}),(0,P.jsx)("input",{type:"hidden",id:"search_geocoding_kind",name:"search[geocoding_kind]",value:i.geocoding_kind}),(0,P.jsx)("input",{type:"hidden",id:"js-search-hotel",name:"search[hotel-room]",value:e.hotel_room||""})]}),(0,P.jsx)(Mt,{children:(0,P.jsx)(Ct.A,{value:i.destination,onChange:(e,t)=>{e.kind?"saved_search"===e.kind?(e=>{const t=Path.getFor("saved_search",{id:e.search_id}),n={};"true"===Pt.parse(e.search).hotel&&(n.hotel="true"),window.location.href=`${t}${Object.keys(n).length?`?${Pt.stringify(n)}`:""}`})(e):((e,t)=>{o({destination:e.value,geo_id:e.geo_id||"",geocoding_poi:e.poi?JSON.stringify(e.poi):"",geocoding_kind:e.kind,geocoding:t}),s.current=!0})(e,t):o({...i,destination:e.value})},placeholder:c})})]})};var zt=({width:e=38,height:t,title:n=""})=>{const i=e/38;return(0,P.jsxs)("svg",{width:e,height:null!==t&&void 0!==t?t:38*i,viewBox:"0 0 39 39",xmlns:"http://www.w3.org/2000/svg",role:"img",children:[(0,P.jsx)("title",{children:n}),(0,P.jsx)("defs",{children:(0,P.jsxs)("linearGradient",{x1:"50%",y1:"0%",x2:"50%",y2:"100%",id:"wipfudh0aa",children:[(0,P.jsx)("stop",{stopColor:"#8d2ff0",offset:"0%"}),(0,P.jsx)("stop",{stopColor:"#db5ef7",offset:"100%"})]})}),(0,P.jsxs)("g",{transform:"rotate(180 18.585 18.5844)",fillRule:"nonzero",fill:"none",children:[(0,P.jsx)("g",{fill:"#2F2F2F",children:(0,P.jsx)("path",{d:"M20.47 4.928a1.021 1.021 0 0 0-.617-1.312l-4.366-1.59a1.021 1.021 0 0 0-1.313.603 1.021 1.021 0 0 0 .619 1.305l1.533.557c-5.068.968-9.682 4.504-11.488 9.468-2.186 6.007-.312 12.393 4.608 16.657.428.371 1.076.33 1.447-.09a1.01 1.01 0 0 0-.103-1.435c-4.296-3.723-5.912-9.232-4.02-14.43 1.672-4.593 6.206-7.803 10.982-8.327l-.742 2a1.021 1.021 0 0 0 .61 1.31 1.022 1.022 0 0 0 1.316-.594l1.534-4.122zM32.332 23.211c2.186-6.007.312-12.394-4.608-16.657a1.032 1.032 0 0 0-1.448.09 1.01 1.01 0 0 0 .103 1.435c4.296 3.722 5.913 9.231 4.021 14.43-1.672 4.593-6.206 7.802-10.983 8.327l.743-2a1.021 1.021 0 0 0-.61-1.31 1.022 1.022 0 0 0-1.317.593L16.7 32.242c-.196.528.08 1.117.616 1.312l4.367 1.589a1.021 1.021 0 0 0 1.312-.602 1.021 1.021 0 0 0-.618-1.305l-1.534-.558c5.068-.967 9.682-4.504 11.489-9.467z"})}),(0,P.jsx)("path",{d:"M19.514 23.085c-1.038 0-2.076 0-3.128-.01.26-1.322.533-2.633.805-3.944.121-.584.25-1.168.354-1.751.147-.824-.32-1.402-1.131-1.427-.67-.021-1.318.377-1.638 1.03a2.809 2.809 0 0 0-.213.653c-.375 1.768-.742 3.536-1.112 5.304-.01.048-.027.097-.04.145h-3.138c.395-1.888.681-3.259 1.088-5.162.04-.104.177-.71.206-.8.213-.658.519-1.287.968-1.864.96-1.232 2.18-1.896 3.599-2.107.161-.024.322-.045.484-.067.219 0 .438 0 .671.01 1.009.065 1.866.365 2.526 1.013l.09-.059a5.328 5.328 0 0 1 2.32-.897l.496-.067c.212 0 .423 0 .648.01.614.04 1.176.16 1.682.408.573.282 1.03.687 1.336 1.243.403.733.51 1.572.407 2.484-.012.114-.114.653-.122.693l-1.079 5.162c-1.038 0-2.076 0-3.121-.012.385-1.893.783-3.775 1.166-5.657.169-.832-.3-1.432-1.118-1.461-.4-.014-.789.101-1.145.394-.401.33-.61.74-.705 1.2l-1.156 5.536z",fill:"url(#wipfudh0aa)"})]})]})};var qt=({width:e=38,height:t,title:n=""})=>{const i=e/38;return(0,P.jsxs)("svg",{width:e,height:null!==t&&void 0!==t?t:38*i,viewBox:"0 0 38 38",xmlns:"http://www.w3.org/2000/svg",role:"img",children:[(0,P.jsx)("title",{children:n}),(0,P.jsx)("defs",{children:(0,P.jsxs)("linearGradient",{x1:"50%",y1:"0%",x2:"50%",y2:"100%",id:"wipfudh0aa",children:[(0,P.jsx)("stop",{stopColor:"#0099B2",offset:"0%"}),(0,P.jsx)("stop",{stopColor:"#00BAD7",offset:"100%"})]})}),(0,P.jsxs)("g",{fillRule:"nonzero",fill:"none",children:[(0,P.jsx)("g",{fill:"#2F2F2F",children:(0,P.jsx)("path",{d:"M20.47 4.928a1.021 1.021 0 0 0-.617-1.312l-4.366-1.59a1.021 1.021 0 0 0-1.313.603 1.021 1.021 0 0 0 .619 1.305l1.533.557c-5.068.968-9.682 4.504-11.488 9.468-2.186 6.007-.312 12.393 4.608 16.657.428.371 1.076.33 1.447-.09a1.01 1.01 0 0 0-.103-1.435c-4.296-3.723-5.912-9.232-4.02-14.43 1.672-4.593 6.206-7.803 10.982-8.327l-.742 2a1.021 1.021 0 0 0 .61 1.31 1.022 1.022 0 0 0 1.316-.594l1.534-4.122zM32.332 23.211c2.186-6.007.312-12.394-4.608-16.657a1.032 1.032 0 0 0-1.448.09 1.01 1.01 0 0 0 .103 1.435c4.296 3.722 5.913 9.231 4.021 14.43-1.672 4.593-6.206 7.802-10.983 8.327l.743-2a1.021 1.021 0 0 0-.61-1.31 1.022 1.022 0 0 0-1.317.593L16.7 32.242c-.196.528.08 1.117.616 1.312l4.367 1.589a1.021 1.021 0 0 0 1.312-.602 1.021 1.021 0 0 0-.618-1.305l-1.534-.558c5.068-.967 9.682-4.504 11.489-9.467z"})}),(0,P.jsx)("path",{d:"M19.514 23.085c-1.038 0-2.076 0-3.128-.01.26-1.322.533-2.633.805-3.944.121-.584.25-1.168.354-1.751.147-.824-.32-1.402-1.131-1.427-.67-.021-1.318.377-1.638 1.03a2.809 2.809 0 0 0-.213.653c-.375 1.768-.742 3.536-1.112 5.304-.01.048-.027.097-.04.145h-3.138c.395-1.888.681-3.259 1.088-5.162.04-.104.177-.71.206-.8.213-.658.519-1.287.968-1.864.96-1.232 2.18-1.896 3.599-2.107.161-.024.322-.045.484-.067.219 0 .438 0 .671.01 1.009.065 1.866.365 2.526 1.013l.09-.059a5.328 5.328 0 0 1 2.32-.897l.496-.067c.212 0 .423 0 .648.01.614.04 1.176.16 1.682.408.573.282 1.03.687 1.336 1.243.403.733.51 1.572.407 2.484-.012.114-.114.653-.122.693l-1.079 5.162c-1.038 0-2.076 0-3.121-.012.385-1.893.783-3.775 1.166-5.657.169-.832-.3-1.432-1.118-1.461-.4-.014-.789.101-1.145.394-.401.33-.61.74-.705 1.2l-1.156 5.536z",fill:"url(#wipfudh0aa)"})]})]})};var Rt=({isCompanionPage:e,commonDot:t=!1,companionDot:n=!1,desktop:i=!1,communitySearchLink:o,staysSearchLink:s})=>(0,P.jsxs)(gt,{$ml:22,component:"a",href:e?s:o,$noPadding:!i,onClick:()=>{e&&(window.webkit&&window.webkit.messageHandlers&&window.webkit.messageHandlers.closeWeereWebview?window.webkit.messageHandlers.closeWeereWebview.postMessage("closeWeere"):window.Android&&window.Android.closeWeereWebview())},children:[(0,P.jsx)("div",{style:{height:"38px"},children:(0,P.jsx)(pt.A,{notified:e&&t||!e&&n,isMobile:!i,top:i?"0":"2px",right:i?"2px":"4px",children:e?(0,P.jsx)(qt,{}):(0,P.jsx)(zt,{title:I18nJs.t("seo.alt_tags.community_icon")})})}),i&&I18nJs.t("header."+(e?"gay_stays":"travel_network"))]});var Dt=({width:e=25,height:t,fill:n="currentColor",title:i=""})=>{const o=e/25;return(0,P.jsxs)("svg",{width:e,height:null!==t&&void 0!==t?t:26*o,viewBox:"0 0 25 26",xmlns:"http://www.w3.org/2000/svg",role:"img",children:[(0,P.jsx)("title",{children:i}),(0,P.jsxs)("g",{transform:"translate(0 .5)",stroke:n,strokeWidth:"2",fill:"none",fillRule:"evenodd",children:[(0,P.jsx)("circle",{cx:"12.5",cy:"12.5",r:"11.5"}),(0,P.jsx)("path",{d:"M5.81 21c.122-4.571 2.254-6.857 6.394-6.857 5.076 0 6.558 4.035 6.558 6.857",strokeLinecap:"round"}),(0,P.jsx)("circle",{cx:"12.286",cy:"8.429",r:"3.429"})]})]})};var Nt=({width:e=38,height:t,fill:n="currentColor",title:i=""})=>{const o=e/38;return(0,P.jsxs)("svg",{width:e,height:null!==t&&void 0!==t?t:38*o,viewBox:"0 0 38 38",xmlns:"http://www.w3.org/2000/svg",role:"img",children:[(0,P.jsx)("title",{children:i}),(0,P.jsxs)("g",{transform:"translate(2 2)",stroke:n,strokeWidth:"2",fill:"none",fillRule:"evenodd",children:[(0,P.jsx)("path",{d:"M8.485 25.456c4.687 4.686 12.285 4.686 16.97 0 4.687-4.686 4.687-12.284 0-16.97-4.685-4.687-12.283-4.687-16.97 0",strokeLinecap:"round"}),(0,P.jsx)("path",{d:"M10.78 25.97c.123-4.57 2.254-6.857 6.394-6.857 5.076 0 6.558 4.036 6.558 6.858",strokeLinecap:"round"}),(0,P.jsx)("circle",{cx:"17.256",cy:"13.399",r:"3.429"}),(0,P.jsx)("path",{strokeLinecap:"round",d:"M4.971 20.971v-6M1.971 17.971h6"})]})]})};var Tt=({width:e=16,height:t,fill:n="currentColor",title:i=""})=>{const o=e/16;return(0,P.jsxs)("svg",{width:e,height:null!==t&&void 0!==t?t:18*o,viewBox:"0 0 16 18",xmlns:"http://www.w3.org/2000/svg",role:"img",children:[(0,P.jsx)("title",{children:i}),(0,P.jsx)("path",{d:"m7.957 1.769 6.97 4.882.08 10.083-6.407.317v-5.185c-.285-.458-.457-.524-.644-.524a.805.805 0 0 0-.54.188L7.252 17h-6.01L.987 6.904l6.97-5.135z",stroke:n,strokeWidth:"2",fill:"none",fillRule:"evenodd"})]})},Ht=n.p+"static/app/assets/images/icons/burger-menu-3-rows-435f1ffba1bb25e87fb4.svg",Ot=n(84232),Et=n(14255),Bt=n(50520),Wt=n(74660),Gt=n(69224),Ut=n(50933),Qt=n(67052),Vt=n(8163),Yt=n(38221),Kt=n.n(Yt);const Xt=(0,c.Ay)("a",{target:"e1vrsazb0"})("color:",(e=>e.$active?e.theme.palette.common.mineShaft2:e.theme.palette.common.bluishGrey),";font-size:10px;font-weight:",(e=>e.$active?"bold":"normal"),";display:flex;flex-direction:column;align-items:center;position:relative;order:",(e=>e.$order),";&:active,&:focus,&:hover{text-decoration:none;}",(e=>e.$notificationValue&&`\n    &:after {\n      content: '';\n      font-size: 10px;\n      color: ${e.theme.palette.common.mineShaft2};\n      position: absolute;\n      top: -1px;\n      right: 7px;\n      width: 12px;\n      height: 12px;\n      font-weight: bold;\n      padding-left: 4px;\n      border-radius: 50%;\n      border: solid 2px ${e.theme.palette.common.white};\n      background-color: ${e.theme.palette.common.red};\n    }\n  `),";");var Zt=({icon:e,activeIcon:t,path:n,title:i,size:o={width:20,height:22},order:s=0,notificationValue:a=null})=>{const[l,c]=(0,r.useState)(!1),{width:d,height:h}=o;return(0,r.useEffect)((()=>{"undefined"!==typeof window&&c(window.location.href.endsWith(n))}),[]),(0,P.jsxs)(Xt,{href:n,$order:s,$active:l,$notificationValue:a,children:[(0,P.jsx)("img",{width:d,height:h,src:l?t:e,alt:i}),(0,P.jsx)("span",{children:i})]})},en=n.p+"static/app/assets/images/icons/search-mbnb-177a9df049cf64164b6b.svg",tn=n.p+"static/app/assets/images/icons/search-mbnb-active-2d02b974f730912b1e90.svg",nn=n.p+"static/app/assets/images/icons/login-485a6cf5834cd0ccf2dd.svg",on=n.p+"static/app/assets/images/icons/login-active-bc2e690b6dc0b7a2ef96.svg",sn=n.p+"static/app/assets/images/icons/house-grey-887c85a7548b3b8ddbdd.svg",an=n.p+"static/app/assets/images/icons/house-grey-active-30aae48d00e8e328d563.svg",rn=n(57935),ln=n(88158);const cn=({isCompanionPage:e=!1,closeDrawer:t})=>{const[n,i]=(0,r.useState)(!1);(0,r.useEffect)((()=>{"undefined"!==typeof window&&i(window.location.href.includes("login"))}),[]);return(0,P.jsxs)(Xt,{onClick:({target:n})=>{t(),e?window.location.href=Path.getUrl(Path.getFor("companion_sign_in")):AsyncAuth.showSignInModal(n)},$active:n,children:[(0,P.jsx)("img",{src:n?on:nn,alt:"login"}),(0,P.jsx)("span",{children:I18nJs.t("header.login")})]})};var dn=({isCompanionPage:e=!1,isSearchPage:t=!1,isHomePage:n=!1,staysSearchLink:i,companionLinks:o,closeDrawer:s})=>{const a=t&&!e||n;return(0,P.jsxs)(P.Fragment,{children:[(0,P.jsxs)(Xt,{$order:e?4:0,$active:t&&!e,href:i,children:[(0,P.jsx)("img",{width:"41",height:"18",src:a?tn:en,alt:"gay stays"}),(0,P.jsx)("span",{children:I18nJs.t("navbar_search.gay_stays")})]}),(0,P.jsx)(cn,{isCompanionPage:e,closeDrawer:s}),(0,P.jsx)(Zt,{icon:sn,activeIcon:an,title:I18nJs.t("header.bottom_menu.hosting"),path:Path.getFor("how_to_host")}),(0,P.jsxs)(Xt,{href:o.community,$order:e?-1:4,$active:e,children:[(0,P.jsx)("img",{width:"30",height:"16",src:e?ln:rn,alt:"community"}),(0,P.jsx)("span",{children:I18nJs.t("companion.menu.community")})]})]})},hn=n.p+"static/app/assets/images/icons/favorite-grey-365df569e42e2cb2c6d7.svg",gn=n.p+"static/app/assets/images/icons/favorite-grey-active-3e939f00563ab3f49909.svg",pn=n.p+"static/app/assets/images/icons/luggage-0eaceed951c7fdcc0448.svg",mn=n.p+"static/app/assets/images/icons/luggage-active-f43a743ee8929e95694f.svg",un=n.p+"static/app/assets/images/icons/messages-d3efcbd2e0d65f389b43.svg",xn=n.p+"static/app/assets/images/icons/messages-active-1d8ba2f02724bac394b6.svg",fn=n(73060),_n=n(12607);var vn=({user:e,isCompanionPage:t=!1,isSearchPage:n=!1,isHomePage:i=!1,staysSearchLink:o=Path.getFor("root")})=>{const s=n&&!t||i;return(0,P.jsxs)(P.Fragment,{children:[(0,P.jsxs)(Xt,{href:o,$order:t?4:0,$active:n&&!t,children:[(0,P.jsx)("img",{src:s?tn:en,alt:"gay stays"}),(0,P.jsx)("span",{children:I18nJs.t("navbar_search.gay_stays")})]}),(0,P.jsx)(Zt,{icon:hn,activeIcon:gn,size:{width:18,height:22},title:I18nJs.t("header.favorites"),path:Path.getFor("account_favorites")}),(0,P.jsx)(Zt,{icon:pn,activeIcon:mn,size:{width:28,height:22},title:I18nJs.t("header.travel_bookings"),path:`${Path.getFor("account_travels")}/upcoming`}),(0,P.jsx)(Zt,{icon:un,activeIcon:xn,size:{width:26,height:23},title:I18nJs.t("header.messages"),path:Path.getFor("account_conversations"),notificationValue:e.unread_messages_count}),(0,P.jsx)(Zt,{icon:fn,activeIcon:_n,size:{width:27,height:25},title:I18nJs.t("header.my_profile"),path:Path.getFor("account_user")})]})},bn=n.p+"static/app/assets/images/icons/calendar-grey-25812a390a035a474a3e.svg",yn=n.p+"static/app/assets/images/icons/calendar-active-30901e63f01ba60b817c.svg",wn=n.p+"static/app/assets/images/icons/bed-grey-84f1daa955f8296cb0f7.svg",jn=n.p+"static/app/assets/images/icons/bed-active-58471afa7b0b5b2d1151.svg";var kn=({user:e})=>(0,P.jsxs)(P.Fragment,{children:[(0,P.jsx)(Zt,{icon:sn,activeIcon:an,title:I18nJs.t("header.my_listing.other"),path:Path.getFor("account_hostings")}),(0,P.jsx)(Zt,{icon:bn,activeIcon:yn,size:{width:21,height:21},title:I18nJs.t("account.nav.calendar"),path:e.has_hosting?e.calendar_link:Path.getFor("calendar_account_hostings")}),(0,P.jsx)(Zt,{icon:wn,activeIcon:jn,size:{width:27,height:20},title:I18nJs.t("header.guest_bookings"),path:Path.getFor("account_bookings")}),(0,P.jsx)(Zt,{icon:un,activeIcon:xn,size:{width:26,height:23},title:I18nJs.t("header.messages"),path:Path.getFor("account_conversations"),notificationValue:e.unread_messages_count}),(0,P.jsx)(Zt,{icon:fn,activeIcon:_n,size:{width:27,height:25},title:I18nJs.t("header.my_profile"),path:Path.getFor("account_user")})]});const An=(0,c.Ay)("div",{shouldForwardProp:e=>"$bottomOffset"!==e,target:"ev68l3c0"})({name:"aimmmy",styles:"width:100%;text-transform:unset;font-size:12px;color:#2f2f2f;line-height:normal;letter-spacing:normal;font-weight:normal;align-items:center;z-index:10;padding:0 10px;left:0;right:0;height:40px;background-color:#fff;border-bottom:solid 1px rgba(0, 111, 133, 0.5);display:flex;text-align:center;justify-content:space-around;.separator{padding:0 6px;}"});var $n=()=>(0,P.jsxs)(An,{children:[(0,P.jsx)("span",{children:I18nJs.t("search.million_travelers")}),(0,P.jsx)("span",{className:"separator",children:"\u2022"}),(0,P.jsx)("span",{children:I18nJs.t("search.rewards_program")}),(0,P.jsx)("span",{className:"separator",children:"\u2022"}),(0,P.jsx)("span",{children:I18nJs.t("search.support_ngos")})]});const Pn=(0,c.Ay)("div",{shouldForwardProp:e=>"$heightOffset"!==e,target:"e1mx7zwm0"})("position:fixed;background-color:white;bottom:0;right:0;left:0;display:flex;flex-wrap:wrap;height:",(e=>`${e.$heightOffset}px`),";justify-content:space-around;align-items:baseline;box-shadow:0 -2px 17px -5px rgba(0, 0, 0, 0.5);transition:bottom 0.3s ease-in-out;z-index:1030;a{padding-top:7px;}");var Sn=(0,r.forwardRef)((({user:e,isCompanionPage:t=!1,isSearchPage:n=!1,isHomePage:i=!1,companionLinks:o,staysSearchLink:s,closeDrawer:a,initialMode:l},c)=>{const[d]=(0,r.useState)(l),h=!!e;(0,r.useEffect)((()=>{Q().get("bottomMenuMode")||Q().set("bottomMenuMode",d)}),[]),(0,r.useEffect)((()=>{if(!n)return;const e=Kt()((()=>{const e=window.scrollY,t=e>2,n=document.getElementById("mobile-map-toggle");n&&(n.style.bottom=t?"60px":"110px"),t?(c.current.style.transition="bottom 0.3s ease-in-out",c.current.style.bottom=e<=2?"0":"-90px"):(c.current.style.transition="bottom 0.3s ease-in-out",c.current.style.bottom=0)}),0);return window.addEventListener("scroll",e),e(),()=>window.removeEventListener("scroll",e)}),[n]);const g=()=>n?(0,P.jsx)($n,{}):null,p=()=>n?90:50;return t&&h?null:h?(0,P.jsxs)(Pn,{ref:c,$heightOffset:p(),children:[g(),d&&("travel"===d?(0,P.jsx)(vn,{user:e,isCompanionPage:t,isSearchPage:n,isHomePage:i,staysSearchLink:s}):(0,P.jsx)(kn,{user:e,isCompanionPage:t,isSearchPage:n}))]}):(0,P.jsxs)(Pn,{ref:c,$heightOffset:p(),children:[g(),(0,P.jsx)(dn,{isCompanionPage:t,isSearchPage:n,isHomePage:i,companionLinks:o,closeDrawer:a,staysSearchLink:s})]})})),Cn=n(21543),In=n(25767);let Fn,Jn=e=>e;const Mn=(0,c.Ay)(l.A,{target:"e13nog7a9"})("background-color:",(e=>e.theme.palette.common.white),";border-bottom:1px solid ",(e=>e.theme.palette.common.whisper),";z-index:1031;box-shadow:none;"),Ln=(0,c.Ay)(gt,{target:"e13nog7a8"})("&.MuiButtonBase-root{margin-left:13px;min-height:27px;font-size:13px;font-weight:600;border:1px solid ",(e=>e.theme.palette.common.bluishGrey),";}"),zn=(0,c.Ay)(a.A,{shouldForwardProp:e=>"$mr"!==e&&"$ml"!==e,target:"e13nog7a7"})("&.MuiDivider-root{height:29px;width:1px;margin-right:",(e=>e.$mr),"px;margin-left:",(e=>e.$ml),"px;}");zn.defaultProps={$mr:20,$ml:20};const qn=(0,c.Ay)("div",{target:"e13nog7a6"})("display:none;",(e=>e.theme.breakpoints.up("md")),"{display:flex;flex-direction:row;align-items:center;flex-wrap:nowrap;}"),Rn=(0,c.Ay)("div",{target:"e13nog7a5"})("display:flex;flex-direction:row;align-items:center;flex-wrap:nowrap;margin-right:-14px;",(e=>e.theme.breakpoints.up("md")),"{display:none;}");(0,c.Ay)("img",{target:"e13nog7a4"})("width:",(e=>e.$width?`${e.$width}px`:"auto"),";height:",(e=>e.$height?`${e.$height}px`:"auto"),";margin-right:",(e=>e.$mr),"px;").defaultProps={$width:0,$height:0,$mr:0};const Dn=(0,c.Ay)(s.A,{target:"e13nog7a3"})("& .MuiMenu-paper{background-color:",(e=>e.theme.palette.common.white),";box-shadow:0 0 15px 4px rgba(189, 175, 164, 0.27);}& .MuiMenu-list{&.MuiList-padding{padding:10px 0;}}.MuiBackdrop-root{background-color:transparent;}"),Nn=(0,c.Ay)(o.A,{shouldForwardProp:e=>"$nested"!==e,target:"e13nog7a2"})("color:",(e=>e.theme.palette.common.charcoal),";font-size:14px;font-weight:400;padding:3px 20px;line-height:1.42;white-space:nowrap;transition:none;",(e=>e.$nested&&"padding-left: 30px;")," ",(e=>e.theme.breakpoints.up("xxl")),"{font-size:14px;}&:hover,&:focus{color:",(e=>e.theme.palette.common.white),";text-decoration:none;background-color:",(e=>e.theme.palette.common.brightTurquoise),";}& .guests-number{color:",(e=>e.theme.palette.common.bluishGrey),";font-size:12px;}"),Tn=()=>(0,P.jsxs)(ct.A,{children:[(0,P.jsxs)(Et.A,{children:[(0,P.jsx)(Bt.A,{href:Path.getFor("root"),children:(0,P.jsx)(Wt.A,{width:"158",height:"24",src:p,alt:"misterb&b logo"})}),(0,P.jsx)(Gt.A,{children:I18nJs.t("companion.menu.world_leader")})]}),(0,P.jsx)(Ut.A,{children:(0,P.jsx)("span",{className:"header-contact__comment",children:I18nJs.t("largest_gay_travel_community")})}),(0,P.jsx)(Qt.A,{})]}),Hn=({gayTravelData:e})=>{const[t,n]=(0,r.useState)(null);return(0,P.jsxs)(P.Fragment,{children:[(0,P.jsx)(gt,{$ml:21,onClick:e=>{n(e.currentTarget)},children:I18nJs.t("header.gay_travel")}),(0,P.jsx)($t,{id:"id",open:Boolean(t),anchorEl:t,onClose:()=>{n(null)},anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},elevation:0,gayTravelData:e})]})},On=({user:e,onAvatarClick:t,gayTravelData:n,isCompanionPage:i,isMobile:o,children:s=null,communitySearchLink:a,staysSearchLink:l})=>{var c,d,h,g;const[p,m]=(0,r.useState)(null),[u,x]=(0,r.useState)(e.last_published_hosting_id),f=(0,r.useContext)(fe.A);(0,r.useEffect)((()=>(Ot.A.on("my_calendar_view",(e=>x(e.last_published_hosting_id))),()=>{Ot.A.remove("my_calendar_view")})),[]);const _=()=>{m(null)},v=i||f.profilePageFromWeere,b=(null===(c=e.listings_data)||void 0===c?void 0:c.count)||0,y=!(null===e||void 0===e||!e.unread_companion_messages_count)||!!e.new_likes_count||!!e.new_notifications_count,w=!!e.my_profile_visit_notify||!!e.my_account_visit_notify||!!e.reviewable_by_user_count,j=v?!o&&!(null===e||void 0===e||!e.unread_companion_messages_count):!o&&!(null===e||void 0===e||!e.unread_messages_count)||w;return(0,P.jsxs)(P.Fragment,{children:[(0,P.jsxs)(Qt.A,{children:[(0,P.jsxs)(Rn,{children:[o&&(0,P.jsxs)(P.Fragment,{children:[(0,P.jsx)(Rt,{isCompanionPage:v,commonDot:w||!(null===e||void 0===e||!e.unread_messages_count),companionDot:y,communitySearchLink:a,staysSearchLink:l}),(0,P.jsx)(zn,{$ml:15,orientation:"vertical",variant:"middle",flexItem:!0})]}),s,(0,P.jsx)(ft,{onClick:t,src:null===e||void 0===e?void 0:e.avatar,notificationDot:j,buttonProps:{$noPadding:!0},isMobile:o})]}),(0,P.jsxs)(qn,{children:[(0,P.jsx)(Rt,{isCompanionPage:v,commonDot:w||!(null===e||void 0===e||!e.unread_messages_count),companionDot:y,desktop:!0,communitySearchLink:a,staysSearchLink:l}),(0,P.jsx)(zn,{orientation:"vertical",variant:"middle",flexItem:!0}),!v&&(e.has_hosting?(0,P.jsx)(gt,{onClick:e=>{m(e.currentTarget)},children:I18nJs.t("header.my_listing.other")}):(0,P.jsxs)(Ln,{component:"a",href:Path.getFor("how_to_host"),children:[(0,P.jsx)(Tt,{title:I18nJs.t("seo.alt_tags.become_a_host_icon")}),(0,P.jsx)(Bn,{children:I18nJs.t("homepage.become_a_host")})]})),!v&&(0,P.jsx)(Hn,{gayTravelData:n}),s,(0,P.jsx)(ft,{onClick:t,src:null===e||void 0===e?void 0:e.avatar,notificationDot:j,buttonProps:{$ml:25},isCompanionPage:i})]})]}),(0,P.jsxs)(Dn,{id:"simple-menu",anchorEl:p,keepMounted:!0,open:Boolean(p),onClose:_,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},elevation:0,disableAutoFocusItem:!0,children:[u&&(0,P.jsx)(Nn,{onClick:_,component:"a",href:`${Path.getFor("account_hosting_availabilities",{hosting_id:u})}?calendar=true`,children:I18nJs.t("header.my_calendar")}),(0,P.jsx)(Nn,{onClick:_,component:"a",href:Path.getFor("performance_account_hostings"),children:I18nJs.t("performance.my_host_performance")}),(0,P.jsx)(Nn,{onClick:_,component:"a",href:Path.getFor("account_hostings"),children:I18nJs.t("header.manage_my_listings")}),(0,P.jsx)(Nn,{onClick:_,component:"a",href:Path.getFor("account_bookings"),children:(0,P.jsx)("strong",{children:b?`${I18nJs.t("header.my_bookings")} (${b})`:I18nJs.t("header.my_bookings")})}),null===(d=e.listings_data)||void 0===d||null===(d=d.list)||void 0===d?void 0:d.map(((e,t)=>(0,P.jsxs)(Nn,{onClick:_,component:"a",href:Path.getFor("account_conversation",{id:e.conversation_id}),$nested:!0,children:[`${e.checkin_month_day} >> ${e.checkout_month_day}`,(0,P.jsx)("span",{className:"guests-number",children:I18nJs.t("room.guest",{count:e.guests})})]},["item",t].join("_")))),(null===(h=e.listings_data)||void 0===h?void 0:h.more_count)>0&&(0,P.jsx)(Nn,{onClick:_,component:"a",href:Path.getFor("account_bookings"),$nested:!0,children:`${null===(g=e.listings_data)||void 0===g?void 0:g.more_count} ${I18nJs.t("room.more").toLowerCase()}`}),(0,P.jsx)(Nn,{onClick:_,component:"a",href:Path.getFor("how_to_host"),children:I18nJs.t("header.list_my_property")})]})]})},En=(0,c.Ay)(gt,{target:"e13nog7a1"})({name:"gkayp5",styles:"padding:0;img{width:25px;height:19px;}"}),Bn=(0,c.Ay)("span",{target:"e13nog7a0"})({name:"1qkltea",styles:"margin-left:5px"}),Wn=({gayTravelData:e,onOpenMenuClick:t,isCompanionPage:n,communitySearchLink:i,staysSearchLink:o})=>(0,P.jsxs)(Qt.A,{children:[(0,P.jsx)(Rn,{children:(0,P.jsx)(En,{"aria-label":"Open menu",onClick:t,children:(0,P.jsx)("img",{width:"25",height:"19",src:Ht,alt:"burger icon"})})}),(0,P.jsxs)(qn,{children:[(0,P.jsx)(Rt,{isCompanionPage:n,desktop:!0,communitySearchLink:i,staysSearchLink:o}),(0,P.jsx)(zn,{orientation:"vertical",variant:"middle",flexItem:!0}),!n&&(0,P.jsxs)(P.Fragment,{children:[(0,P.jsxs)(Ln,{component:"a",href:Path.getFor("how_to_host"),children:[(0,P.jsx)(Tt,{title:I18nJs.t("seo.alt_tags.become_a_host_icon")}),(0,P.jsx)(Bn,{children:I18nJs.t("homepage.become_a_host")})]}),(0,P.jsx)(Hn,{gayTravelData:e})]}),(0,P.jsxs)(gt,{onClick:({target:e})=>{n?window.location.href=Path.getUrl(Path.getFor("companion_sign_up")):AsyncAuth.showSignUpModal(e)},$ml:21,$fontSize:"13px",children:[(0,P.jsx)(Nt,{title:I18nJs.t("seo.alt_tags.sign_up_icon")}),I18nJs.t("header.sign_up")]}),(0,P.jsxs)(gt,{onClick:({target:e})=>{n?window.location.href=Path.getUrl(Path.getFor("companion_sign_in")):AsyncAuth.showSignInModal(e)},$ml:22,children:[(0,P.jsx)(Dt,{title:I18nJs.t("seo.alt_tags.log_in_icon")}),(0,P.jsx)(Bn,{children:I18nJs.t("header.login")})]})]})]}),Gn=({gayTravelData:e,onAvatarClick:t,isCompanionPage:n,isHomePage:i=!1,user:o,search:s,children:a=null,isMobile:l,communitySearchLink:c,staysSearchLink:d,guidedToursPage:h=!1})=>{const g=(0,r.useContext)(fe.A);return(0,P.jsxs)(ct.A,{children:[(0,P.jsx)(Et.A,{children:n||g.profilePageFromWeere?(0,P.jsxs)(P.Fragment,{children:[(0,P.jsx)(Bt.A,{href:Cn.Bq,children:(0,P.jsx)("img",{width:"114",height:"21",src:k,alt:"weere"})}),!l&&!h&&(0,P.jsx)(Gt.A,{$companionPage:!0,children:I18nJs.t("companion.mail.meet")})]}):(0,P.jsxs)(P.Fragment,{children:[(0,P.jsx)(Bt.A,{href:d,children:(0,P.jsx)(Wt.A,{width:"158",height:"24",src:p,alt:"misterb&b logo"})}),!s&&(0,P.jsx)(Gt.A,{children:i?I18nJs.t("companion.menu.experience_more"):I18nJs.t("companion.menu.world_leader")})]})}),(0,P.jsx)(Ut.A,{children:!!s&&(0,P.jsx)(Lt,{settings:s})}),o?(0,P.jsx)(On,{user:o,gayTravelData:e,onAvatarClick:t,isCompanionPage:n,isMobile:l,communitySearchLink:c,staysSearchLink:d,children:a}):(0,P.jsx)(Wn,{gayTravelData:e,onOpenMenuClick:t,isCompanionPage:n,communitySearchLink:c,staysSearchLink:d})]})};var Un=({user:e,footer_enabled:t=!0,payment_page:n=!1,isMobile:o,gay_travel_data:s,bottom_menu_mode:a,locale:l,languages:c,current_currency_id:p,currencies:m,companion_links:u,search:x,payment_controller:f=!1,contact_header:_=!1,search_page:v=!1,companion_page:b=!1,home_page:y=!1,zendesk_link:w,loyalty_program_link:j,children:k=null,community_search_link:A,stays_search_link:$,guidedToursPage:S=!1})=>{const C=(0,r.useRef)(null),[I,F]=(0,r.useState)(b&&!o),J=(0,d.A)(),M=(0,r.useRef)(),L=(0,r.useContext)(fe.A),z=()=>F((e=>!e)),q=(0,r.useMemo)((()=>({bottomMenuHeight:C.current?C.current.clientHeight:void 0})),[o,t,C.current]);return(0,P.jsxs)(xe.Provider,{value:q,children:[(0,P.jsx)(g.i,{children:(0,P.jsx)(i.A,{styles:(0,h.AH)(Fn||(Fn=Jn`
          body {
            &.-payment-cm {
              ${0} {
                overscroll-behavior: none;
              }
            }
          }
        `),J.breakpoints.down("md"))})}),(0,P.jsx)(Mn,{ref:M,position:"relative",elevation:0,children:I&&o?null:_?(0,P.jsx)(Tn,{}):n?(0,P.jsx)(Vt.A,{withContactInfo:f,withLock:!0}):(0,P.jsx)(Gn,{user:e,onAvatarClick:z,gayTravelData:s,search:L.profilePageFromWeere?void 0:x,isCompanionPage:b,isHomePage:y,isMobile:o,communitySearchLink:A,staysSearchLink:$,guidedToursPage:S,children:k})}),(0,P.jsx)(lt,{open:I,anchorEl:M,onClose:()=>F(!1),isMobile:o,user:e,gayTravelData:s,locale:l,languages:c,currentCurrencyId:p,currencies:m,companionLinks:u,zendeskLink:w,loyaltyProgramLink:j,isCompanionPage:b,staysSearchLink:$}),(0,P.jsx)("div",{id:"mbnb-header-bottom-anchor"}),o&&t&&(L.profilePageFromWeere?(0,P.jsx)(In.A,{}):(0,P.jsx)(Sn,{ref:C,initialMode:a,isCompanionPage:b,isSearchPage:v,isHomePage:y,staysSearchLink:$,user:e,companionLinks:u,closeDrawer:()=>F(!1)}))]})}},82771:function(e,t,n){"use strict";var i=n(5556),o=n.n(i);o().shape({avatar:o().string,first_name:o().string,has_hosting:o().bool,last_published_hosting_id:o().number,listings_data:o().shape({count:o().number.isRequired,list:o().arrayOf(o().shape({})).isRequired,more_count:o().number.isRequired}),unread_companion_messages_count:o().number,new_likes_count:o().number,new_notifications_count:o().number,unread_messages_count:o().number,reviewable_by_user_count:o().number,my_profile_visit_notify:o().bool,my_account_visit_notify:o().bool,hotels_without_review_for_three_weeks_notify:o().bool,joined_loyalty_program:o().bool,account_with_dots:o().shape({}),has_active_companion_subscription:o().bool,has_free_subscription:o().bool,can_manage_companion_subscription:o().bool,has_guests:o().bool}),o().shape({action:o().string.isRequired,destination:o().string,hotel_room:o().string,track_search_engine:o().string}),o().arrayOf(o().shape({locale:o().string.isRequired,translate_url:o().string.isRequired})),o().arrayOf(o().shape({id:o().number.isRequired,display:o().string.isRequired,icon:o().string.isRequired})),o().shape({community:o().string.isRequired,companion_pro:o().string.isRequired,home:o().string.isRequired,messages:o().string.isRequired,terms_and_conditions:o().string.isRequired,engage:o().string.isRequired,likes:o().string.isRequired,guided_tours_page:o().string.isRequired}),o().arrayOf(o().arrayOf(o().shape({})))},50933:function(e,t,n){"use strict";const i=(0,n(11848).Ay)("div",{target:"e1vxnx1r0"})({name:"1gxx9q",styles:"flex-grow:1;display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center"});t.A=i},74660:function(e,t,n){"use strict";const i=(0,n(11848).Ay)("img",{target:"e13p9iru0"})("vertical-align:baseline;width:",(e=>`${e.width||158}px`),";height:",(e=>`${e.height||24}px`),";object-fit:contain;margin-left:10px;");t.A=i},14255:function(e,t,n){"use strict";const i=(0,n(11848).Ay)("div",{target:"e7sdkeg0"})({name:"19p9osr",styles:"display:flex;flex-direction:row;align-items:center;padding-left:16px;gap:54px"});t.A=i},50520:function(e,t,n){"use strict";const i=(0,n(11848).Ay)("a",{target:"e1tfmosp0"})({name:"wyj1tf",styles:"padding-top:2px;display:flex;align-items:center"});t.A=i},67052:function(e,t,n){"use strict";const i=(0,n(11848).Ay)("div",{target:"ep2m7xl0"})({name:"q5q0x1",styles:"display:flex;align-items:center;padding-right:25px"});t.A=i},69224:function(e,t,n){"use strict";const i=(0,n(11848).Ay)("div",{target:"ei2hgoj0"})("padding-top:2px;font-size:15px;font-weight:normal;color:",(e=>e.$companionPage?e.theme.palette.common.mineShaft2:e.theme.palette.primary.main),";",(e=>e.theme.breakpoints.down("sm")),"{display:none;}",(e=>e.theme.breakpoints.down("lg")),"{font-size:14px;}");t.A=i},87243:function(e,t,n){"use strict";var i=n(11848),o=n(17437),s=n(8532);let a,r=e=>e;const l=(0,i.Ay)(s.A,{target:"e405r900"})("&.MuiToolbar-dense{min-height:50px;",(e=>e.$paymentPage?(0,o.AH)(a||(a=r`
      ${0} {
        width: 100%;
        flex-wrap: wrap;
      }
    `),e.theme.breakpoints.down("md")):null),";}");l.defaultProps={variant:"dense",disableGutters:!0},t.A=l},40003:function(e,t,n){"use strict";var i=n(11848),o=n(17437),s=n(18850);let a,r=e=>e;const l=(0,i.Ay)(s.A,{shouldForwardProp:e=>"$selected"!==e,target:"e1rt505d0"})("padding:5px 9px;border-radius:15px;color:",(e=>e.theme.palette.common.mineShaft2),";background-color:",(e=>e.theme.palette.common.white),";font-size:20px;line-height:1;&:hover,&:focus{color:",(e=>e.theme.palette.common.mineShaft2),";text-decoration:none;background-color:",(e=>e.theme.palette.primary.backgroundLight),";}",(e=>e.$selected&&(0,o.AH)(a||(a=r`
    color: ${0};
    background-color: ${0};
    font-weight: bold;
    
    &:hover {
      color: ${0};
      background-color: ${0};
    }
  `),e.theme.palette.primary.main,e.theme.palette.primary.backgroundLight,e.theme.palette.primary.main,e.theme.palette.primary.backgroundLight)),";");t.A=l},78597:function(e,t,n){"use strict";var i=n(11848),o=n(17437),s=n(74848);let a,r=e=>e;const l=(0,i.Ay)("div",{target:"e14gn6120"})("position:relative;&:after{content:'';position:absolute;top:",(e=>e.$top||"0"),";right:",(e=>e.$right||"0"),";width:",(e=>e.$isMobile?"12px":"14px"),";height:",(e=>e.$isMobile?"12px":"14px"),";font-weight:bold;padding-left:4px;border-radius:50%;",(e=>e.$notified&&(0,o.AH)(a||(a=r`
      background-color: ${0};
      border: solid 2px ${0};
    `),e.theme.palette.common.red,e.theme.palette.common.white)),";}");t.A=({notified:e=!1,isMobile:t=!1,children:n,top:i="",right:o=""})=>(0,s.jsx)(l,{$notified:e,$isMobile:t,$top:i,$right:o,children:n})},8163:function(e,t,n){"use strict";n.d(t,{A:function(){return u}});var i=n(87243),o=n.p+"static/app/assets/images/icons/flag-lgbtq-6116cc1f4e80a083afb9.svg",s=n.p+"static/app/assets/images/logos/misterbandb-c9f8687a2dae627649d3.svg",a=n.p+"static/app/assets/images/icons/lock-7bb44abae52b6810d308.svg",r=n(14255),l=n(50520);var c=(0,n(11848).Ay)("img",{target:"ekwlhl10"})({name:"1gammwy",styles:"margin-top:5px"}),d=n(74660),h=n(69224),g=n(50933),p=n(67052),m=n(74848);var u=({withContactInfo:e,withLock:t=!1,noLink:n=!1})=>(0,m.jsxs)(i.A,{$paymentPage:!0,children:[(0,m.jsxs)(r.A,{children:[(0,m.jsxs)(l.A,{...n?{as:"div"}:{href:Path.getFor("root")},children:[(0,m.jsx)(c,{width:"33",height:"14",src:o,alt:I18nJs.t("header.lgbtq_flag")}),(0,m.jsx)(d.A,{width:"125",height:"19",src:s,alt:"misterb&b logo"})]}),(0,m.jsx)(h.A,{children:I18nJs.t("companion.menu.world_leader")})]}),(0,m.jsx)(g.A,{children:e&&(0,m.jsxs)("div",{className:"header-need-contact",children:[I18nJs.t("payment.need_help_call_us_24_7"),(0,m.jsx)("span",{className:"header-need-contact__phone",children:I18nJs.t("top_cities.international",{international_number:"+33 (0) 975 187 462"})})]})}),(0,m.jsx)(p.A,{children:t&&(0,m.jsx)("img",{width:"24",height:"24",className:"header-need-contact__lock",src:a,alt:"lock icon"})})]})},10080:function(e,t,n){"use strict";const i=(0,n(96540).createContext)({weereHeaderMode:void 0,useRedux:!0,messagesCount:0,likesCount:0});t.A=i},19004:function(e,t,n){"use strict";n.d(t,{A:function(){return o}});var i=n(96540);function o(e={}){const[t,n]=(0,i.useState)(e);return[t,(0,i.useCallback)((e=>{null!==e&&n("function"===typeof e?t=>{const n=e(t);return null==n?t:{...t,...n}}:t=>({...t,...e}))}),[n])]}},40471:function(e,t){"use strict";t.A=(e,t,n)=>e.split(t).flatMap((e=>[e,n])).slice(0,-1)},84232:function(e,t){"use strict";const n={on(e,t){document.addEventListener(e,(e=>t(e.detail)))},dispatch(e,t){document.dispatchEvent(new CustomEvent(e,{detail:t}))},remove(e,t){document.removeEventListener(e,t)}};t.A=n},14723:function(e,t,n){var i=n(74692);this.I18nJs=function(){class e{static load(e){if(null!=e&&null!=e.i18nLocale)return this.locale=e.i18nLocale,"undefined"===typeof window?this.translations=jsTranslations[this.locale]:this.translations=window.jsTranslations}static init_moment(e,t=null){if(e.locale(this.locale),e.updateLocale(this.locale,{monthsShort:this.t("date.abbr_month_names").filter(Boolean)}),null!==t)return e.updateLocale(this.locale,{week:{dow:t}})}static interpolate(e,t={}){var n,i,o,s,a,r;if("string"!==typeof e){if(null==e.zero&&null==e.one||null==t.count||isNaN(t.count))return e;e=0===t.count&&null!=e.zero?e.zero:1===t.count&&null!=e.one?e.one:2===t.count&&null!=e.two&&"en"===this.locale?e.two:e.other}if(r=/(?:%\{)(.*?)(?:\})/gm,!(o=e.match(r)))return e;for(n=0,s=o.length;n<s;n++)e=null!=t[a=(i=o[n]).replace(r,"$1")]?e.replace(i,t[a]):e.replace(i,"");return e}static sentry_missing_key(e){if(!this.missing_keys.includes(e)&&(this.missing_keys.push(e),"undefined"!==typeof window&&(i.ajax({url:Path.api("/sentry/missing_key"),type:"POST",data:{key:e,extra:{key:e,locale:this.locale,keys:Object.keys(this.translations||{empty:""})}}}),window.gon&&window.gon.environment)))return console.log(`Missing translation key: ${e}-${this.locale}`)}static t(e,t={}){var n,i,o;if(null==this.translations)return"";for(n=e.split("."),o=this.translations[n.shift()];n.length&&o;)o=o[n.shift()];return null!=o?this.interpolate(o,t):t.skip_missing?"":(i=this,"undefined"!==typeof window?setTimeout((function(){return i.sentry_missing_key(e)}),0):i.sentry_missing_key(e),i.humanize(e.split(".").pop()))}static humanize(e){return e.replace(/_/g," ").replace(/(?:^|\s)\S/g,(function(e){return e.toUpperCase()}))}static t_with_location(e,t=null,n={}){var i;return i="global",t&&(n.country_name=t.name||"",n.city_name=t.name||"",i=t.is_country?"country":"city"),this.t(`${e}.${i}`,n)}}return e.translations=null,e.locale="en",e.missing_keys=[],e}.call(this),"undefined"!==typeof window&&(window.I18nJs=this.I18nJs),n.g.I18nJs=this.I18nJs},87058:function(e,t,n){"use strict";e.exports=n.p+"static/app/assets/images/companion/weere_v2-bdee6b5b821708c91993.svg"},10270:function(e,t,n){"use strict";e.exports=n.p+"static/app/assets/images/icons/close-button-93830916d35377940d08.svg"},12607:function(e,t,n){"use strict";e.exports=n.p+"static/app/assets/images/icons/profile-icon-active-dfb823b3cf54366cc5e7.svg"},73060:function(e,t,n){"use strict";e.exports=n.p+"static/app/assets/images/icons/profile-icon-61d016ef631c60ebf1fe.svg"},88158:function(e,t,n){"use strict";e.exports=n.p+"static/app/assets/images/icons/weere-active-4b2acb89b3d3f710c648.svg"},57935:function(e,t,n){"use strict";e.exports=n.p+"static/app/assets/images/icons/weere-6fd316649b0f3aabf46b.svg"},27313:function(e,t,n){"use strict";e.exports=n.p+"static/app/assets/images/logos/misterb-b-text-only-e0f708d4e33da5e9a169.svg"}}]);
//# sourceMappingURL=2195-b793a05b0b1eb8ce1e09.js.map