1import{j as e}from"./vendor-query-BJ5Fw6ip.js";import{j as b,e as u,r as n}from"./vendor-react-BT7e8nQi.js";import{r as g,cb as f,cc as w,cd as j,H as v,ce as y,S as N,t as S,a2 as P,x as k,V as E,bx as R}from"./index-vS3UXLsm.js";import{B as C}from"./badge-percent-C9xyBo0G.js";import{S as T}from"./shield-check-6vG6Xe0r.js";import"./vendor-ui-D27gcjqV.js";import"./vendor-supabase-B5vpo0AN.js";import"./vendor-motion-C0dDRZUy.js";const B={totum:{name:"TOTUM",offer:"Exclusive TOTUM member prices on hotels worldwide",strapline:"Search live availability, see real prices and book in a few taps. Chosen through real traveller videos, not stock photos."}},L=["London","Edinburgh","Barcelona","Rome","Amsterdam","Lisbon"],q=()=>{const{partner:x}=b(),d=u(),i=(x||"").toLowerCase(),a=B[i],[o,l]=n.useState(""),[c,h]=n.useState(()=>({...g(),children:0}));n.useEffect(()=>(f(),w()),[]);const m=(t,s)=>{const r=(s||o).trim();if(!r)return;k(t);const p=E(`/search?q=${encodeURIComponent(r)}&type=hotels`,t);d(R(`${p}&embed=1&partner=${i}`))};return!a||!j.includes(i)?e.jsxs("div",{className:"min-h-screen bg-zinc-950 px-6 py-16 text-center text-white",children:[e.jsx("h1",{className:"font-serif text-2xl",children:"Partner experience unavailable"}),e.jsx("p",{className:"mt-3 text-sm text-white/60",children:"This partner hotel experience is not available. Please check the link you were given."})]}):e.jsxs("div",{className:"min-h-screen bg-gradient-to-b from-zinc-900 via-zinc-950 to-zinc-950 text-white",children:[e.jsxs(v,{children:[e.jsx("title",{children:`${a.name} Hotels | ReelTrip`}),e.jsx("meta",{name:"robots",content:"noindex, follow"})]}),e.jsx(y,{}),e.jsxs("section",{className:"mx-auto max-w-6xl px-4 py-8 md:px-8 md:py-12",children:[e.jsxs("p",{className:"inline-flex items-center gap-2 rounded-full border border-orange-500/30 bg-
1orange-500/10 px-3 py-1 text-[0.65rem] uppercase tracking-[0.2em] text-orange-300",children:[e.jsx(C,{className:"h-3.5 w-3.5"}),a.name," exclusive"]}),e.jsx("h1",{className:"mt-4 max-w-2xl font-serif text-2xl leading-tight text-white md:text-4xl",children:a.offer}),e.jsx("p",{className:"mt-3 max-w-2xl text-sm text-white/65 md:text-[0.95rem]",children:a.strapline}),e.jsx("div",{className:"mt-6",children:e.jsx(N,{destination:o,onDestinationChange:l,stay:c,onStayChange:h,onSubmit:(t,s)=>m(t,s),submitLabel:"Search hotels"})}),e.jsxs("div",{className:"mt-4 flex flex-wrap items-center gap-2",children:[e.jsx("span",{className:"text-xs text-white/40",children:"Popular with members:"}),L.map(t=>e.jsx("button",{type:"button",onClick:()=>{l(t),m(c,t)},className:"rounded-full border border-white/10 bg-white/5 px-3 py-1.5 text-xs text-white/80 transition hover:border-orange-400/40 hover:text-white",children:t},t))]}),e.jsx("div",{className:"mt-10 grid gap-4 md:grid-cols-3",children:[{icon:S,title:"Member prices",body:`Rates held back from public sites, applied automatically for ${a.name} members.`},{icon:P,title:"Real traveller videos",body:"See the hotel as guests actually filmed it before you book."},{icon:T,title:"Secure booking",body:"Payment is taken on our secure page with instant confirmation by email."}].map(({icon:t,title:s,body:r})=>e.jsxs("div",{className:"rounded-2xl border border-white/10 bg-white/[0.03] p-5",children:[e.jsx(t,{className:"h-4 w-4 text-orange-400"}),e.jsx("h2",{className:"mt-3 text-sm font-semibold text-white",children:s}),e.jsx("p",{className:"mt-1.5 text-[0.85rem] leading-relaxed text-white/60",children:r})]},s))})]})]})};export{q as default};
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.