1try{!function(){var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="de650d32-bb27-4663-91e5-d22a773d60a4",e._sentryDebugIdIdentifier="sentry-dbid-de650d32-bb27-4663-91e5-d22a773d60a4")}()}catch(e){}!function(){try{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{}).SENTRY_RELEASE={id:"d90ac16e0aec0a5eeda665985099a5735ab0bd5b"}}catch(e){}}(),(self.webpackChunkstaylive_partnerplatform=self.webpackChunkstaylive_partnerplatform||[]).push([[45],{9606:(e,t,o)=>{o.r(t),o.d(t,{default:()=>V});var n=o(74848),i=o(96540),s=o(67438),a=o(3279),l=o(39522),r=o(60404),c=o(23114),d=o(13387),p=o(99338),m=o(56584),g=o(35907),y=o(88100),h=o(12870),u=o(23615),x=o(69314),f=o(5556),b=o.n(f),k=o(32367),w=o(78210),j=o(67119),A=o(38267),S=o(24100),v=o(21988),I=o(16683),C=o(1081),z=o(17386),L=o(47767),T=Object.defineProperty,$=Object.defineProperties,N=Object.getOwnPropertyDescriptors,O=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,_=Object.prototype.propertyIsEnumerable,M=(e,t,o)=>t in e?T(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,R=(e,t)=>{for(var o in t||(t={}))E.call(t,o)&&M(e,o,t[o]);if(O)for(var o of O(t))_.call(t,o)&&M(e,o,t[o]);return e},D=(e,t)=>$(e,N(t));const P=(0,A.Ay)(d.A)` 2 background: none !important; 3 margin: 0 auto !important; 4 width: 1200px; 5 max-width: 95%; 6 z-index: 9999; 7 font-family: FuturaCondensed, sans-serif !important; 8 9 .item:hover { 10 ${e=>e.hoverState&&e.hoverState.style?e.hoverState.style:""}; 11 } 12`,W=A.Ay.div` 13 position: absolute; 14 width: 100%; 15 z-index: 99; 16 transition: background 0.1s ease; 17 18 &.sticky { 19 z-index: 100; 20 position: fixed; 21 box-shadow: 1px 1px 8px 0px rgba(0, 0, 0, 0.15) !important; 22 background: ${e=>e.background?`${e.background} !important`:"white !important"}; 23 ${e=>e.scrolled?e.scrolled:""}; 24 top: 0 !important; 25 left: 0; 26 width: 100%; 27 28 .logotype { 29 max-height: 40px; 30 max-width: 140px; 31 height: auto !important; 32 width: auto !important; 33 } 34 } 35`,B=A.Ay.img` 36 transition: all 0.3s ease; 37 max-height: 50px; 38 max-width: 280px; 39 height: auto !important; 40 width: auto !important; 41`,F=(0,A.Ay)((0,S.cD)(B))` 42 max-height: 40px !important; 43 max-width: 140px !important; 44 height: auto !important; 45 width: auto !important; 46`,X=(0,A.Ay)(p.A)` 47 overflow-y: auto; 48`,Y=A.Ay.img` 49 max-height: 30px; 50 max-width: 140px; 51 height: auto !important; 52 width: auto !important; 53 54 /* Dimmer prop styling */ 55 ${e=>e.dimmer&&e.dimmer.style?e.dimmer.style:""} 56`,H=e=>`/${window.location.pathname.split("/")[1]}`===e,J=(0,C.j8)({platform:(0,z.makeSelectPlatform)(),theme:(0,z.makeSelectTheme)()});function U(e){const[t,o]=(0,i.useState)(!1),{intl:a,showLanguage:p=!0}=e,{user:f}=(0,w.Jd)(),{logout:b}=(0,v.WB)(),[A,C]=(0,i.useState)(!1),z=(0,L.Zp)(),{theme:T,platform:{stayliveIoBasename:$}}=(0,I.d4)(J),{transform:N,display:O}=(0,r.zh)({display:A?"block":"none",transform:`perspective(600px) rotateX(${A?180:0}deg)`,config:{mass:5,tension:500,friction:80}});setTimeout((()=>{const t=e.stickybackground.style&&e.stickybackground.style.top?parseInt(e.stickybackground.style.top.split("px")[0],0):document.getElementById("stickyMenu").offsetTop;function o(){const e=document.getElementById("stickyMenu");window.pageYOffset>=t?e&&e.classList.add("sticky"):e&&e.classList.remove("sticky")}window.onscroll=()=>o(),o()}),300);let E=e.items.map((t=>t.children?(0,i.createElement)(m.A,D(R({},e.dropdownSettings),{item:!0,text:(0,n.jsx)(c.default,{text:t.name}),className:"menu-label",style:H(t.href)?D(R({fontSize:"1.1em"},e.stickybackground.activeitem),{display:!t.showIfSignedIn&&f?"none":""}):D(R({fontSize:"1.1em"},t.style),{display:!t.showIfSignedIn&&f?"none":""}),key:t.href,position:"right"}),(0,n.jsx)(m.A.Menu,{children:t.children.map((e=>(0,n.jsx)(m.A.Item,{onClick:()=>e.target?window.open(e.href):z(e.href),children:(0,n.jsx)("span",{style:R({fontSize:"14px",color:"black"},e.style),children:(0,n.jsx)(c.default,{text:e.name})})})))})):(0,n.jsx)(d.A.Item,{content:(0,n.jsx)(c.default,{text:t.name}),active:H(t.href),className:"menu-label",style:H(t.href)?D(R({fontSize:"1.1em"},e.stickybackground.activeitem),{display:!t.showIfSignedIn&&f?"none":""}):D(R({fontSize:"1.1em"},t.style),{display:!t.showIfSignedIn&&f?"none":""}),position:"right",onClick:()=>t.target?window.open(t.href):z(t.href)},t.href)));return E=p?[...E,(0,n.jsx)(d.A.Item,{content:(0,n.jsx)(j.default,{}),className:"menu-label",style:R({fontSize:"1.1em",top:"2px"},e.stickybackground.notactiveitems),position:"right"},"language")]:[...E],E=[...E,(0,n.jsx)(d.A.Item,{className:"menu-label",content:(0,n.jsx)(s.A,R({},l.default.signIn)),onClick:()=>z((0,S.dE)()),style:H("/login")?D(R({fontSize:"1.1em"}
56,e.stickybackground.activeitem),{display:f?"none":"inline-block",textTransform:"uppercase"}):D(R({fontSize:"1.1em"},e.stickybackground.notactiveitems),{display:f?"none":"inline-block",textTransform:"uppercase"}),position:"right"},"signin"),(0,n.jsx)(d.A.Item,{content:(0,n.jsx)(m.A,{trigger:(0,n.jsx)("span",{style:{marginRight:"6px"},children:f&&f.email?(0,n.jsx)(k.default,{limit:12,children:f.email.toUpperCase()}):""}),pointing:"top",icon:"user circle",className:"menu-label",size:"tiny",children:(0,n.jsxs)(m.A.Menu,{children:[(0,n.jsx)(m.A.Header,{children:f?f.email:""}),(0,n.jsx)(m.A.Item,{onClick:()=>z("/account"),children:(0,n.jsxs)("span",{style:{fontSize:"12px",color:"black"},children:[(0,n.jsx)(g.A,{name:"settings",size:"tiny"}),a.formatMessage(l.default.accountSettings)]})}),(0,n.jsx)(m.A.Item,{onClick:()=>b({returnTo:`${window.location.origin}${$?`/${$}`:""}?redirectTo=${window.location.pathname||""}${window.location.search||""}`}),children:(0,n.jsxs)("span",{style:{fontSize:"12px",color:"black"},children:[(0,n.jsx)(g.A,{name:"sign out"}),a.formatMessage(l.default.signOut)]})})]})},"account"),style:D(R({fontSize:"1.1em",top:"2px"},e.stickybackground.notactiveitems),{display:f?"inline-block":"none"}),position:"right"},"account"),(0,n.jsx)(d.A.Item,{position:"right",onClick:()=>window.open(e.facebook?e.facebook.url:"/","_blank"),style:R({fontSize:"1.3em",display:e.facebook?"inline-block":"none"},e.stickybackground.notactiveitems),children:(0,n.jsx)(g.A,{name:"facebook",size:"large"})},"socialmedia"),(0,n.jsx)(d.A.Item,{position:"right",onClick:()=>window.open(e.twitter?e.twitter.url:"/","_blank"),style:R({fontSize:"1.3em",display:e.twitter?"inline-block":"none"},e.stickybackground.notactiveitems),children:(0,n.jsx)(g.A,{name:"twitter",size:"large"})},"socialmedia-tw"),(0,n.jsx)(d.A.Item,{position:"right",onClick:()=>window.open(e.instagram?e.instagram.url:"/","_blank"),style:R({fontSize:"1.3em",display:e.instagram?"inline-block":"none"},e.stickybackground.notactiveitems),children:(0,n.jsx)(g.A,{name:"instagram",size:"large"})},"socialmedia-ig"),(0,n.jsx)(d.A.Item,{content:(0,n.jsx)(g.A,{name:"search"}),style:D(R({fontSize:"1.6em"},e.stickybackground.notactiveitems),{top:"2px"}),position:"right",onClick:()=>window.innerWidth<900?z("/search"):C(!0)},"search")],(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(y.A,{maxWidth:900,children:(0,n.jsxs)(W,D(R(R({},e.stickybackground),e.stickybackground.mobileTopView),{id:"stickyMenu",children:[(0,n.jsxs)(P,D(R({},e.stickymenu),{children:[(0,n.jsx)(d.A.Item,{position:"left",onClick:()=>e.logotype.href?window.location.assign(e.logotype.href):z("/"),children:(0,n.jsx)(F,D(R({},e.logotype),{src:T.logos.webLogo||e.logotype.src,className:"logotype mobile",alt:"Logotype"}))}),e.centerLogotype&&(0,n.jsx)(d.A.Item,{position:"center",onClick:()=>e.centerLogotype.href?window.location.assign(e.centerLogotype.href):z("/"),children:(0,n.jsx)(F,D(R({},e.centerLogotype),{className:"logotype mobile",alt:"Logotype"}))}),(0,n.jsx)(d.A.Item,{position:"right",children:(0,n.jsx)(h.A,{icon:(0,n.jsx)("span",{style:e.stickybackground.notactiveitems,children:(0,n.jsx)(g.A,{name:"bars",size:"large"})}),circular:!0,style:{boxShadow:"none",background:"none"},onClick:()=>o(!0)})})]})),(0,n.jsx)(X,{verticalAlign:"top",active:t,page:!0,style:{backgroundColor:e.stickybackground?`${e.stickybackground.background}`:"#000"},children:(0,n.jsxs)(u.A,{children:[(0,n.jsxs)(u.A.Row,{width:2,verticalAlign:"middle",children:[(0,n.jsx)(u.A.Column,{width:12,textAlign:"left",onClick:()=>e.logotype.href?window.location.assign(e.logotype.href):z("/"),children:(0,n.jsx)(Y,D(R({},e.logotype),{src:T.logos.webLogo||e.logotype.src,className:"logotype mobile dimmer",alt:"Logotype"}))}),(0,n.jsx)(u.A.Column,{width:4,textAlign:"right",children:(0,n.jsx)(h.A,{icon:(0,n.jsx)("span",{style:e.stickybackground.notactiveitems,children:(0,n.jsx)(g.A,{name:"close",size:"large"})}),circular:!0,style:{boxShadow:"none",background:"none"},onClick:()=>o(!1)})})]}),(0,n.jsx)(u.A.Row,{}),(0,n.jsx)(u.A.Row,{}),E.map((e=>(0,n.jsx)(u.A.Row,{children:(0,n.jsx)(u.A.Column,{style:{cursor:"pointer",fontSize:"1.5em"},children:e})},e.key)))]})})]}))}),(0,n.jsx)(y.A,{minWidth:900,children:(0,n.jsxs)(W,D(R({id:"stickyMenu"},e.stickybackground),{children:[(0,n.jsx)(r.CS.div,{style:{display:O.interpolate((e=>"none"===e?"block":"none")),transform:N},children:(0,n.jsxs)(P,D(R({},e.stickymenu),{children:[e.logotype&&(0,n.jsx)(d.A.Item,{onClick:()=>e.logotype.href?window.location.assign(e.logotype.href):z("/"),children:(0,n.jsx)(B,D(R({},e.logotype),{src:T.logos.webLogo||e.logotype.src,className:"logotype",alt:"Logotype"}))}),e.centerLogotype&&(0,n.jsx)(d.A.Item,{onClick:()=>e.centerLogotype.href?window.location.assign(e.centerLogotype.href):z("/"),children:(0,n.jsx)(B,D(R({},e.centerLogotype),{className:"logotype",alt:"Logotype"}))}),(0,n.jsx)(d.A.Menu,{style:{minWidth:"500px"},position:"right",children:E})]}))}),(0,n.jsx)(r.CS.div,{style:{display:O,transform:N.interpolate((e=>`${e} rotateX(180deg)`)),width:"1200px",maxWidth:"95%",margin:"0 auto"},children:(0,n.jsx)(u.A,{verticalAlign:"middle",children:(0,n.jsxs)(u.A.Row,{columns:2,children:[(0,n.jsx)(u.A.Column,{children:e.logotype&&(0,n.jsx)(B,D(R({},e.logotype),{className:"logotype",alt:"Logotype"}))}),(0,n.jsxs)(u.A.Column,{children:[(0,n.jsx)(x.default,{}),(0,n.jsx)(h.A,{content:(0,n.jsx)(c.default,{text:"close"}),circular:!0,size:"mini",icon:"close",style:{background:"white",position:"absolute",right:"14px",top:"3px",color:"#ffffff"===e.stickybackground.background?"black":e.stickybackground.background},onClick:()=>C(!1)})]})]})})})]}))})]})}U.propTypes={items:b().array,logotype:b().object,centerLogotype:b().object,activeitem:b().object,stickybackground:b().object,stickymenu:b().object,intl:b().object,facebook:b().object,twitter:b().object,instagram:b().object,showLanguage:b().bool,dropdownSettings:b().object};const V=(0,a.Ay)(U)}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.