1/*! For license information please see 1111.9a968fb8.chunk.js.LICENSE.txt */ 2"use strict";(globalThis.webpackChunkfrontend||=[]).push([[1111],{47357(e,s,t){t(65043);var a=t(53217),r=t(75088),l=t(55731),n=t(28006),i=t(63944),c=t(74621),o=t(70579);const d=e=>{var s;let{service:t,featured:d=!1,showDistance:x=!1,testId:m,imgSrc:h,eager:p=!1,badge:g}=e;const u=(0,a.Zp)();if(!t)return null;const f=h||t.mainImage||t.images&&t.images[0],j=t.operator||{},b=j.reviewCount>0&&j.rating;return(0,o.jsxs)("article",{onClick:()=>u(`/experience/${t.id}`),className:"group flex h-full cursor-pointer flex-col rounded-3xl bg-white p-3 shadow-soft transition-[box-shadow,transform] duration-300 hover:shadow-raised","data-testid":m||`experience-card-${t.id}`,children:[(0,o.jsxs)("div",{className:"relative aspect-[5/4] overflow-hidden rounded-2xl bg-gray-100",children:[f?(0,o.jsx)("img",{src:f,alt:t.name,loading:p?"eager":"lazy",fetchPriority:p?"high":"auto",className:"h-full w-full object-cover transition-transform duration-500 group-hover:scale-105"}):(0,o.jsx)("div",{className:"flex h-full w-full items-center justify-center bg-[#04091B]",children:(0,o.jsx)(l.A,{className:"h-10 w-10 text-slate-600"})}),d?(0,o.jsxs)("span",{className:"absolute left-2 top-2 inline-flex items-center gap-1 rounded-full bg-white/90 px-2.5 py-1 text-[11px] font-bold text-gray-900 backdrop-blur",children:[(0,o.jsx)(i.A,{className:"h-3 w-3 fill-amber-400 text-amber-400"}),"Featured"]}):g?(0,o.jsx)("span",{className:"absolute left-2 top-2 rounded-full bg-white/90 px-2.5 py-1 text-[11px] font-semibold text-gray-700 backdrop-blur",children:g}):null]}),(0,o.jsxs)("div",{className:"flex flex-1 flex-col px-1.5 pb-1.5 pt-3.5","data-testid":"experience-card-body",children:[(0,o.jsxs)("div",{className:"flex items-center justify-between gap-2 text-sm text-gray-500",children:[(0,o.jsxs)("span",{className:"flex min-w-0 items-center gap-1",children:[(0,o.jsx)(n.A,{className:"h-3.5 w-3.5 shrink-0"}),(0,o.jsx)("span",{className:"truncate",children:t.city||"Location TBD"})]}),null!==(s=j.googleReviews)&&void 0!==s&&s.count?(0,o.jsx)(c.A,{reviews:j.googleReviews}):b?(0,o.jsxs)("span",{className:"inline-flex shrink-0 items-center gap-0.5 text-xs font-bold text-gray-900",children:[(0,o.jsx)(i.A,{className:"h-3.5 w-3.5 fill-amber-400 text-amber-400"}),Number(j.rating).toFixed(1),(0,o.jsxs)("span",{className:"font-medium text-gray-400",children:["(",j.reviewCount,")"]})]}):null]}),(0,o.jsx)("h3",{className:"mt-1.5 line-clamp-2 text-lg font-semibold leading-snug text-gray-900 transition-colors group-hover:text-blue-600",children:t.name}),j.name&&(0,o.jsxs)("p",{className:"mt-1 truncate text-sm text-gray-500",children:["by ",j.name]}),(0,o.jsx)("div",{className:"mt-auto pt-3",children:(0,o.jsxs)("div",{className:"flex items-center justify-between gap-2 border-t border-gray-100 pt-2.5",children:[(0,o.jsxs)("span",{className:"flex min-w-0 items-center gap-1 text-sm text-gray-500",children:[(0,o.jsx)(r.A,{className:"h-3.5 w-3.5 shrink-0"}),(0,o.jsx)("span",{className:"truncate",children:(e=>{if(!e)return"\u2014";if(e>=1440){const s=Math.floor(e/1440);return`${s} day${s>1?"s":""}`}if(e>=60){const s=Math.floor(e/60),t=e%60;return t>0?`${s}h ${t}m`:`${s} hour${s>1?"s":""}`}return`${e}m`})(t.durationMinutes)}),x&&t.distance&&(0,o.jsxs)("span",{className:"shrink-0 text-emerald-600",children:["\xb7 ",Math.round(t.distance)," mi"]})]}),(0,o.jsxs)("div",{className:"shrink-0 text-right",children:[(0,o.jsx)("span",{className:"text-xl font-extrabold tabular-nums text-blue-600",children:function(e){let s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"USD";return new Intl.NumberFormat("en-US",{style:"currency",currency:s,minimumFractionDigits:0,maximumFractionDigits:0}).format(e||0)}(t.price,t.currency)}),"per_person"===t.priceType&&(0,o.jsx)("span",{className:"text-xs text-gray-400",children:" /person"})]})]})})]})]})};t.d(s,["A",0,d])},74621(e,s,t){t(65043);var a=t(63944),r=t(70579);const l=e=>{let{className:s="w-3.5 h-3.5"}=e;return(0,r.jsxs)("svg",{className:s,viewBox:"0 0 48 48","aria-hidden":"true",children:[(0,r.jsx)("path",{fill:"#FFC107",d:"M43.611 20.083H42V20H24v8h11.303c-1.649 4.657-6.08 8-11.303 8-6.627 0-12-5.373-12-12s5.373-12 12-12c3.059 0 5.842 1.154 7.961 3.039l5.657-5.657C34.046 6.053 29.268 4 24 4 12.955 4 4 12.955 4 24s8.955 20 20 20 20-8.955 20-20c0-1.341-.138-2.65-.389-3.917z"}),(0,r.jsx)("path",{fill:"#FF3D00",d:"M6.306 14.691l6.571 4.819C14.655 15.108 18.961 12 24
212c3.059 0 5.842 1.154 7.961 3.039l5.657-5.657C34.046 6.053 29.268 4 24 4 16.318 4 9.656 8.337 6.306 14.691z"}),(0,r.jsx)("path",{fill:"#4CAF50",d:"M24 44c5.166 0 9.86-1.977 13.409-5.192l-6.19-5.238C29.211 35.091 26.715 36 24 36c-5.202 0-9.619-3.317-11.283-7.946l-6.522 5.025C9.505 39.556 16.227 44 24 44z"}),(0,r.jsx)("path",{fill:"#1976D2",d:"M43.611 20.083H42V20H24v8h11.303c-.792 2.237-2.231 4.166-4.087 5.571l6.19 5.238C36.971 39.205 44 34 44 24c0-1.341-.138-2.65-.389-3.917z"})]})},n=e=>{let{reviews:s,size:t="sm",className:n=""}=e;if(null===s||void 0===s||!s.count)return null;const i=Number(s.count).toLocaleString("en-US"),c="lg"===t;return(0,r.jsxs)("button",{type:"button",onClick:e=>{e.stopPropagation(),e.preventDefault(),s.url&&window.open(s.url,"_blank","noopener,noreferrer")},title:`${i}+ Google reviews`,className:`inline-flex items-center ${c?"gap-1.5":"gap-1"} hover:opacity-75 transition-opacity cursor-pointer ${n}`,"data-testid":"google-review-badge",children:[(0,r.jsx)(l,{className:c?"w-5 h-5":"w-3.5 h-3.5"}),(0,r.jsx)("span",{className:"flex items-center gap-0.5",children:[1,2,3,4,5].map(e=>(0,r.jsx)(a.A,{className:(c?"w-4 h-4":"w-3 h-3")+" text-amber-400 fill-amber-400"},e))}),(0,r.jsxs)("span",{className:(c?"text-sm text-gray-600":"text-xs text-gray-500")+" font-medium whitespace-nowrap",children:[i,"+",c?" Google reviews":""]})]})};t.d(s,["A",0,n,"J",0,l])},68358(e,s,t){t.d(s,{J9:()=>a.A,tY:()=>o.A,h:()=>m,mQ:()=>u,vE:()=>p});var a=t(47357),r=(t(65043),t(53217)),l=t(81990),n=t(28006),i=t(63944),c=t(91140),o=t(74621),d=t(70579);const x=function(e){let s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"USD";return new Intl.NumberFormat("en-US",{style:"currency",currency:s,minimumFractionDigits:0,maximumFractionDigits:0}).format(e||0)},m=e=>{var s;let{pkg:t,testId:a}=e;const m=(0,r.Zp)();if(!t)return null;const h=t.operator||{},p=t.imageUrl||t.images&&t.images[0],g=Math.round(t.discountPercent||0),u=h.reviewCount>0&&h.rating;return(0,d.jsxs)(c.Zp,{onClick:()=>m(`/package/${t.id}`),className:"group cursor-pointer border-0 rounded-3xl bg-white p-3 shadow-soft hover:shadow-raised transition-[box-shadow,transform] duration-300","data-testid":a||`marketplace-package-card-${t.id}`,children:[(0,d.jsxs)("div",{className:"aspect-[5/4] relative overflow-hidden rounded-2xl bg-gray-100",children:[p?(0,d.jsx)("img",{src:p,alt:t.name,loading:"lazy",className:"w-full h-full object-cover group-hover:scale-105 transition-transform duration-500"}):(0,d.jsx)("div",{className:"w-full h-full bg-[#04091B] flex items-center justify-center",children:(0,d.jsx)(l.A,{className:"w-10 h-10 text-slate-600"})}),(0,d.jsxs)("span",{className:"absolute top-2 left-2 inline-flex items-center gap-1 rounded-full bg-white/90 backdrop-blur px-2.5 py-1 text-[11px] font-bold text-gray-900",children:[(0,d.jsx)(l.A,{className:"w-3 h-3 text-blue-600"}),"Package"]}),g>0&&(0,d.jsxs)("span",{className:"absolute top-2 right-2 rounded-full bg-blue-600 px-2.5 py-1 text-[11px] font-extrabold text-white","data-testid":"package-card-save-badge",children:["Save ",g,"%"]})]}),(0,d.jsxs)(c.Wu,{className:"px-1.5 pt-3.5 pb-1.5",children:[(0,d.jsxs)("div",{className:"flex items-center justify-between gap-2 text-sm text-gray-500",children:[(0,d.jsxs)("span",{className:"flex items-center gap-1 min-w-0",children:[(0,d.jsx)(n.A,{className:"w-3.5 h-3.5 shrink-0"}),(0,d.jsx)("span",{className:"truncate",children:h.city||"Location TBD"})]}),null!==(s=h.googleReviews)&&void 0!==s&&s.count?(0,d.jsx)(o.A,{reviews:h.googleReviews}):u?(0,d.jsxs)("span",{className:"inline-flex shrink-0 items-center gap-0.5 text-xs font-bold text-gray-900",children:[(0,d.jsx)(i.A,{className:"w-3.5 h-3.5 fill-amber-400 text-amber-400"}),Number(h.rating).toFixed(1),(0,d.jsxs)("span",{className:"font-medium text-gray-400",children:["(",h.reviewCount,")"]})]}):null]}),(0,d.jsx)("h3",{className:"mt-1.5 text-lg font-semibold leading-snug text-gray-900 line-clamp-2 group-hover:text-blue-600 transition-colors",children:t.name}),h.name&&(0,d.jsxs)("p",{className:"mt-1 text-sm text-gray-500 truncate",children:["by ",h.name]}),(0,d.jsx)("p",{className:"mt-1 text-xs text-gray-400 line-clamp-1",children:(t.services||[]).map(e=>e.name).join(" + ")}),(0,d.jsxs)("div",{className:"mt-3 flex items-center justify-between gap-2 border-t border-gray-100 pt-2.5",children:[(0,d.jsxs)("span",{className:"text-sm text-gray-500",children:[(t.services||[]).length," experiences"]}
2),(0,d.jsxs)("div",{className:"shrink-0 text-right",children:[g>0&&(0,d.jsx)("span",{className:"text-xs text-gray-400 line-through mr-1.5 tabular-nums",children:x(t.combinedFromPrice,t.currency)}),(0,d.jsx)("span",{className:"text-xl font-extrabold tabular-nums text-blue-600",children:x(t.packageFromPrice,t.currency)})]})]})]})]})};var h=t(36210);const p=e=>{var s,t;let{review:a}=e;if(!a)return null;return(0,d.jsxs)("div",{className:"bg-gray-50 rounded-xl p-5",children:[(0,d.jsxs)("div",{className:"flex items-start justify-between mb-3",children:[(0,d.jsxs)("div",{className:"flex items-center gap-3",children:[a.customerAvatar?(0,d.jsx)("img",{src:a.customerAvatar,alt:a.customerName,className:"w-10 h-10 rounded-full object-cover flex-shrink-0"}):(0,d.jsx)("div",{className:"w-10 h-10 rounded-full bg-gray-800 flex items-center justify-center flex-shrink-0",children:(0,d.jsx)("span",{className:"text-white font-medium text-sm",children:(null===(s=a.customerName)||void 0===s||null===(t=s.charAt(0))||void 0===t?void 0:t.toUpperCase())||"G"})}),(0,d.jsx)("p",{className:"font-medium text-gray-900 text-sm",children:a.customerName||"Guest"})]}),(0,d.jsx)("div",{className:"flex items-center gap-0.5",children:[...Array(5)].map((e,s)=>(0,d.jsx)(i.A,{className:"w-3.5 h-3.5 "+(s<a.rating?"text-amber-400 fill-amber-400":"text-gray-300")},s))})]}),a.title&&(0,d.jsx)("p",{className:"font-medium text-gray-900 mb-1 text-sm",children:a.title}),a.comment&&(0,d.jsx)("p",{className:"text-gray-600 text-sm line-clamp-4",children:a.comment}),a.ownerResponse&&(0,d.jsxs)("div",{className:"mt-3 pt-3 border-t border-gray-200",children:[(0,d.jsx)("p",{className:"text-xs font-medium text-gray-500 mb-1",children:"Response from owner"}),(0,d.jsx)("p",{className:"text-sm text-gray-600 line-clamp-2",children:a.ownerResponse})]}),(0,d.jsxs)("div",{className:"flex items-center justify-between mt-3",children:[(0,d.jsx)("span",{className:"text-xs text-gray-400",children:(r=a.createdAt,r?new Date(r).toLocaleDateString("en-US",{month:"short",year:"numeric"}):"")}),a.isVerified&&(0,d.jsxs)("span",{className:"text-xs text-blue-600 flex items-center gap-1",children:[(0,d.jsx)(h.A,{className:"w-3 h-3"}),"Verified trip"]})]})]});var r};var g=t(81876);const u=e=>{let{bfRating:s,bfCount:t,googleReviews:a,onBfClick:r,bfTestId:l="rating-stack-bf"}=e;const n=Number(t)>0,c=Boolean(null===a||void 0===a?void 0:a.count);if(!n&&!c)return null;return(0,d.jsxs)("div",{className:"flex flex-col gap-1.5","data-testid":"rating-stack",children:[n&&(0,d.jsxs)("button",{type:"button",onClick:r,"data-testid":l,className:"flex w-fit items-center gap-2 hover:opacity-75 transition-opacity",children:[(0,d.jsx)("span",{className:"flex h-5 w-5 items-center justify-center rounded-full bg-blue-600",children:(0,d.jsx)(g.A,{className:"h-3 w-3 text-white",strokeWidth:2.5})}),(0,d.jsx)("span",{className:"text-xs font-bold text-gray-900",children:"BookingFlows"}),(0,d.jsxs)("span",{className:"flex items-center gap-1 text-xs",children:[(0,d.jsx)(i.A,{className:"w-3.5 h-3.5 fill-amber-400 text-amber-400"}),(0,d.jsx)("span",{className:"font-bold text-gray-900 tabular-nums",children:Number(s||0).toFixed(1)}),(0,d.jsxs)("span",{className:"text-gray-400",children:["\xb7 ",t," review",1!==Number(t)?"s":""]})]})]}),c&&(0,d.jsxs)("button",{type:"button",onClick:e=>{e.stopPropagation(),null!==a&&void 0!==a&&a.url&&window.open(a.url,"_blank","noopener,noreferrer")},"data-testid":"rating-stack-google",className:"flex w-fit items-center gap-2 hover:opacity-75 transition-opacity",children:[(0,d.jsx)("span",{className:"flex h-5 w-5 items-center justify-center rounded-full bg-gray-50",children:(0,d.jsx)(o.J,{className:"w-3 h-3"})}),(0,d.jsx)("span",{className:"text-xs font-bold text-gray-900",children:"Google"}),(0,d.jsxs)("span",{className:"flex items-center gap-1 text-xs",children:[(0,d.jsx)(i.A,{className:"w-3.5 h-3.5 fill-amber-400 text-amber-400"}),(0,d.jsxs)("span",{className:"text-gray-400",children:[Number(a.count).toLocaleString("en-US"),"+ reviews"]})]})]})]})}},91140(e,s,t){var a=t(65043),r=t(99766),l=t(70579);const n=a.forwardRef((e,s)=>{let{className:t,...a}=e;return(0,l.jsx)("div",{ref:s,className:(0,r.cn)("rounded-2xl bg-surface text-card-foreground shadow-soft",t),...a})});
2n.displayName="Card";const i=a.forwardRef((e,s)=>{let{className:t,...a}=e;return(0,l.jsx)("div",{ref:s,className:(0,r.cn)("flex flex-col space-y-1 p-5 sm:p-6",t),...a})});i.displayName="CardHeader";const c=a.forwardRef((e,s)=>{let{className:t,...a}=e;return(0,l.jsx)("div",{ref:s,className:(0,r.cn)("text-base font-semibold leading-tight tracking-tight text-foreground",t),...a})});c.displayName="CardTitle";a.forwardRef((e,s)=>{let{className:t,...a}=e;return(0,l.jsx)("div",{ref:s,className:(0,r.cn)("text-sm text-foreground-muted",t),...a})}).displayName="CardDescription";const o=a.forwardRef((e,s)=>{let{className:t,...a}=e;return(0,l.jsx)("div",{ref:s,className:(0,r.cn)("p-5 pt-0 sm:p-6 sm:pt-0",t),...a})});o.displayName="CardContent";a.forwardRef((e,s)=>{let{className:t,...a}=e;return(0,l.jsx)("div",{ref:s,className:(0,r.cn)("flex items-center p-5 pt-0 sm:p-6 sm:pt-0",t),...a})}).displayName="CardFooter",t.d(s,["Wu",0,o,"ZB",0,c,"Zp",0,n,"aR",0,i])},11111(e,s,t){t.r(s),t.d(s,{default:()=>b});t(65043);var a=t(53217),r=t(4929),l=t(22024),n=t(55731),i=t(9463),c=t(28006),o=t(92330);const d=(0,t(31212).A)("facebook",[["path",{d:"M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z",key:"1jg4f8"}]]);var x=t(70764),m=t(22626),h=t(91286),p=t(35327),g=t(63944),u=t(68358),f=t(70579);const j=async e=>{const s=await fetch(e);if(!s.ok){const e=new Error(404===s.status?"Operator not found":"Failed to load operator");throw e.status=s.status,e}return s.json()},b=()=>{var e,s,t,b;const{operatorId:N}=(0,a.g)(),v=(0,a.Zp)(),{data:y,error:w,isLoading:k}=(0,r.u)(N?`https://api.bookingflows.com/api/marketplace/operators/${N}`:null,j,{revalidateOnFocus:!1,dedupingInterval:3e4});return k?(0,f.jsx)("div",{className:"min-h-screen bg-white flex items-center justify-center",children:(0,f.jsx)(l.A,{className:"w-8 h-8 animate-spin text-blue-600"})}):w?(0,f.jsxs)("div",{className:"min-h-screen bg-white",children:[(0,f.jsx)("nav",{className:"sticky top-0 z-50 bg-white/95 backdrop-blur-md pt-[env(safe-area-inset-top)]",children:(0,f.jsx)("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:(0,f.jsx)("div",{className:"flex items-center h-16",children:(0,f.jsxs)(a.N_,{to:"/",className:"flex items-center gap-2",children:[(0,f.jsx)("img",{src:"/logo-icon.png",alt:"BookingFlows",className:"h-9 w-9 object-contain rounded-lg"}),(0,f.jsx)("span",{className:"text-xl font-semibold text-gray-900",children:"BookingFlows"})]})})})}),(0,f.jsxs)("div",{className:"flex flex-col items-center justify-center py-20",children:[(0,f.jsx)("div",{className:"w-20 h-20 bg-gray-100 rounded-full flex items-center justify-center mb-6",children:(0,f.jsx)(n.A,{className:"w-10 h-10 text-gray-400"})}),(0,f.jsx)("h1",{className:"text-xl font-semibold text-gray-900 mb-2",children:"Operator not found"}),(0,f.jsx)("p",{className:"text-gray-600 mb-6",children:"This operator may no longer be available"}),(0,f.jsxs)("button",{onClick:()=>v("/"),className:"flex items-center gap-2 px-4 py-2 border border-gray-200 rounded-full hover:bg-gray-50 transition-colors",children:[(0,f.jsx)(i.A,{className:"w-4 h-4"}),"Back to marketplace"]})]})]}):y?(0,f.jsxs)("div",{className:"min-h-screen bg-white flex flex-col",children:[(0,f.jsx)("nav",{className:"sticky top-0 z-50 bg-white/95 backdrop-blur-md pt-[env(safe-area-inset-top)]",children:(0,f.jsx)("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:(0,f.jsx)("div",{className:"flex items-center justify-between h-16",children:(0,f.jsxs)("div",{className:"flex items-center gap-4",children:[(0,f.jsx)("button",{onClick:()=>v(-1),className:"p-2 hover:bg-gray-100 rounded-full transition-colors","data-testid":"back-button",children:(0,f.jsx)(i.A,{className:"w-5 h-5 text-gray-600"})}),(0,f.jsxs)(a.N_,{to:"/",className:"flex items-center gap-2",children:[(0,f.jsx)("img",{src:"/logo-icon.png",alt:"BookingFlows",className:"h-9 w-9 object-contain rounded-lg"}),(0,f.jsx)("span",{className:"text-xl font-semibold text-gray-900 hidden sm:inline",children:"BookingFlows"})]})]})})})}),(0,f.jsx)("main",{className:"flex-1",children:(0,f.jsx)("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8",children:(0,f.jsxs)("div",{className:"flex flex-col lg:flex-row gap-8",children:[(0,f.jsx)("div",{className:"lg:w-80 flex-shrink-0",children:(0,f.jsxs)("div",{className:"lg:sticky lg:top-24 bg-white rounded-3xl p-6 shadow-soft",children:[(0,f.jsx)("div",{className:"w-24 h-24 rounded-2xl overflow-hidden bg-gray-100 flex items-center justify-center mx-auto lg:mx-0 mb-4",children:y.logoUrl?(0,f.jsx)("img",{src:y.logoUrl,alt:y.name,className:"w-full h-full object-contain"}):(0,f.jsx)("div",{className:"w-full h-full bg-[#04091B] rounded-xl flex items-center justify-center",children:(0,f.jsx)("span",{className:"text-white font-bold text-3xl",children:null===(e=y.name)||void 0===e?void 0:e.charAt(0)})})}),(0,f.jsxs)("div",{className:"text-center lg:text-left",children:[(0,f.jsxs)("div",{className:"flex flex-col sm:flex-row items-center justify-center lg:justify-start gap-2 mb-2",children:[(0,f.jsx)("h1",{className:"dash-page-title",children:y.name}),(0,f.jsxs)("span",{className:"inline-flex items-center gap-1 px-2 py-0.5 bg-primary-soft text-primary-soft-foreground text-xs font-medium rounded-full",children:[(0,f.jsx)("svg",{className:"w-3 h-3",fill:"
2currentColor",viewBox:"0 0 20 20",children:(0,f.jsx)("path",{fillRule:"evenodd",d:"M6.267 3.455a3.066 3.066 0 001.745-.723 3.066 3.066 0 013.976 0 3.066 3.066 0 001.745.723 3.066 3.066 0 012.812 2.812c.051.643.304 1.254.723 1.745a3.066 3.066 0 010 3.976 3.066 3.066 0 00-.723 1.745 3.066 3.066 0 01-2.812 2.812 3.066 3.066 0 00-1.745.723 3.066 3.066 0 01-3.976 0 3.066 3.066 0 00-1.745-.723 3.066 3.066 0 01-2.812-2.812 3.066 3.066 0 00-.723-1.745 3.066 3.066 0 010-3.976 3.066 3.066 0 00.723-1.745 3.066 3.066 0 012.812-2.812zm7.44 5.252a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"})}),"Verified"]})]}),(y.reviewCount>0||(null===(s=y.googleReviews)||void 0===s?void 0:s.count))&&(0,f.jsx)("div",{className:"flex justify-center lg:justify-start mb-3",children:(0,f.jsx)(u.mQ,{bfRating:y.averageRating,bfCount:y.reviewCount,googleReviews:y.googleReviews,bfTestId:"rating-scroll-btn",onBfClick:()=>{var e;return null===(e=document.getElementById("reviews-section"))||void 0===e?void 0:e.scrollIntoView({behavior:"smooth"})}})}),(0,f.jsxs)("div",{className:"flex flex-wrap items-center justify-center lg:justify-start gap-3 text-sm text-gray-600 mb-4",children:[y.city&&(0,f.jsxs)("span",{className:"flex items-center gap-1",children:[(0,f.jsx)(c.A,{className:"w-4 h-4"}),y.city,y.country?`, ${y.country}`:""]}),(0,f.jsxs)("span",{className:"text-gray-500",children:[y.serviceCount," experience",1!==y.serviceCount?"s":""]})]}),y.bio&&(0,f.jsx)("p",{className:"text-gray-600 leading-relaxed mb-4 text-sm",children:y.bio}),(0,f.jsxs)("div",{className:"flex flex-col gap-2 mt-3",children:[(null===(t=y.socialLinks)||void 0===t?void 0:t.instagram)&&(0,f.jsxs)("a",{href:y.socialLinks.instagram,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 text-pink-600 hover:text-pink-700 font-medium text-sm transition-colors","data-testid":"operator-instagram-link",children:[(0,f.jsx)(o.A,{className:"w-4 h-4"}),"Instagram"]}),(null===(b=y.socialLinks)||void 0===b?void 0:b.facebook)&&(0,f.jsxs)("a",{href:y.socialLinks.facebook,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 text-blue-600 hover:text-blue-700 font-medium text-sm transition-colors","data-testid":"operator-facebook-link",children:[(0,f.jsx)(d,{className:"w-4 h-4"}),"Facebook"]}),y.website&&(0,f.jsxs)("a",{href:y.website.startsWith("http")?y.website:`https://${y.website}`,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 text-blue-600 hover:text-blue-700 font-medium text-sm transition-colors","data-testid":"operator-website-link",children:[(0,f.jsx)(x.A,{className:"w-4 h-4"}),"Visit Website"]}),y.hasBlog&&y.slug&&(0,f.jsxs)(a.N_,{to:`/blog/${y.slug}`,className:"inline-flex items-center gap-2 text-blue-600 hover:text-blue-700 font-medium text-sm transition-colors","data-testid":"operator-blog-link",children:[(0,f.jsx)(m.A,{className:"w-4 h-4"}),"Read Our Story"]})]}),(y.email||y.phone)&&(0,f.jsxs)("div",{className:"mt-5 pt-4 border-t border-gray-100 text-left","data-testid":"operator-contact-block",children:[(0,f.jsx)("p",{className:"text-xs font-semibold text-gray-500 uppercase tracking-wide mb-2.5",children:"Contact"}),(0,f.jsxs)("div",{className:"space-y-2",children:[y.phone&&(0,f.jsxs)("a",{href:`tel:${y.phone}`,className:"flex items-center gap-2 text-sm text-gray-700 hover:text-blue-600 transition-colors","data-testid":"operator-phone-link",children:[(0,f.jsx)(h.A,{className:"w-4 h-4 text-gray-400 flex-shrink-0"})," ",y.phone]}),y.email&&(0,f.jsxs)("a",{href:`mailto:${y.email}`,className:"flex items-center gap-2 text-sm text-gray-700 hover:text-blue-600 transition-colors break-all","data-testid":"operator-email-link",children:[(0,f.jsx)(p.A,{className:"w-4 h-4 text-gray-400 flex-shrink-0"})," ",y.email]})]}),(0,f.jsxs)("p",{className:"text-[11px] text-gray-400 mt-2.5 leading-relaxed",children:["Booking changes, refunds and questions are handled directly by ",y.name,"."]})]})]})]})}),(0,f.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,f.jsx)("h2",{className:"text-xl font-semibold text-gray-900 mb-6",children:"Experiences"}),y.services&&y.services.length>0?(0,f.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 xl:grid-cols-3 gap-6",children:y.services.map(e=>(0,f.jsx)(u.J9,{service:{...e,city:e.city||y.city,operator:{name:y.name,rating:y.averageRating,reviewCount:y.reviewCount,googleReviews:y.googleReviews}}},e.id))}):(0,f.jsx)("div",{className:"bg-white rounded-2xl p-8 text-center",children:(0,f.jsx)("p",{className:"text-gray-500",children:"No experiences available at this time."})}),y.reviewCount>0&&(0,f.jsxs)("div",{className:"mt-12 pt-8 border-t border-gray-200",id:"reviews-section","data-testid":"reviews-section",children:[(0,f.jsxs)("div",{className:"flex items-center gap-3 mb-6",children:[(0,f.jsx)(g.A,{className:"w-6 h-6 text-amber-400 fill-amber-400"}),(0,f.jsx)("span",{className:"text-2xl font-semibold tracking-tight text-gray-900",children:y.averageRating}),(0,f.jsx)("span",{className:"text-gray-500",children:"\xb7"}),(0,f.jsxs)("span",{className:"text-gray-600",children:[y.reviewCount," review",1!==y.reviewCount?"s":""]})]}),(0,f.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4",children:y.reviews.slice(0,6).map(e=>(0,f.jsx)(u.vE,{review:e},e.id))}),y.reviewCount>6&&(0,f.jsxs)("button",{className:"mt-6 text-sm font-medium text-gray-900 underline underline-offset-4 hover:text-blue-600 transition-colors",children:["Show all ",y.reviewCount," reviews"]})]})]})]})})}),(0,f.jsx)("footer",{className:"py-12 px-4 bg-white border-t border-gray-200 mt-12",children:(0,f.jsx)("div",{className:"max-w-7xl mx-auto",children:(0,f.jsxs)("div",{className:"flex flex-col md:flex-row items-center justify-between gap-6",children:[(0,f.jsxs)("div",{className:"flex items-center gap-2",children:[(0,f.jsx)("img",{src:"/logo-icon.png",alt:"BookingFlows",className:"h-8 w-8 object-contain rounded-lg"}),(0,f.jsx)("span",{className:"text-lg font-semibold text-gray-900",children:"BookingFlows"})]}),(0,f.jsxs)("div",{className:"flex flex-wrap items-center justify-center gap-6 text-sm text-gray-600",children:[(0,f.jsx)(a.N_,{to:"/",className:"hover:text-blue-600 transition-colors",children:"Home"}),(0,f.jsx)(a.N_,{to:"/search",className:"hover:text-blue-600 transition-colors",children:"All Experiences"}),(0,f.jsx)(a.N_,{to:"/for-suppliers",className:"hover:text-blue-600 transition-colors",children:"For Operators"}),(0,f.jsx)(a.N_,{to:"/terms",className:"hover:text-blue-600 transition-colors",children:"Terms"}),(0,f.jsx)(a.N_,{to:"/privacy",className:"hover:text-blue-600 transition-colors",children:"Privacy"})]}),(0,f.jsxs)("p",{className:"text-sm text-gray-500",children:["\xa9 ",(new Date).getFullYear()," BookingFlows"]})]})})})]}):null}},22626(e,s,t){const a=(0,t(31212).A)("book-open",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]]);
2t.d(s,["A",0,a])},9463(e,s,t){const a=(0,t(31212).A)("chevron-left",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);t.d(s,["A",0,a])},75088(e,s,t){const a=(0,t(31212).A)("clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 6v6l4 2",key:"mmk7yg"}]]);t.d(s,["A",0,a])},70764(e,s,t){const a=(0,t(31212).A)("external-link",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]);t.d(s,["A",0,a])},55731(e,s,t){const a=(0,t(31212).A)("globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]]);t.d(s,["A",0,a])},92330(e,s,t){const a=(0,t(31212).A)("instagram",[["rect",{width:"20",height:"20",x:"2",y:"2",rx:"5",ry:"5",key:"2e1cvw"}],["path",{d:"M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z",key:"9exkf1"}],["line",{x1:"17.5",x2:"17.51",y1:"6.5",y2:"6.5",key:"r4j83e"}]]);t.d(s,["A",0,a])},35327(e,s,t){const a=(0,t(31212).A)("mail",[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]]);t.d(s,["A",0,a])},28006(e,s,t){const a=(0,t(31212).A)("map-pin",[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]]);t.d(s,["A",0,a])},81990(e,s,t){const a=(0,t(31212).A)("package",[["path",{d:"M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z",key:"1a0edw"}],["path",{d:"M12 22V12",key:"d0xqtd"}],["polyline",{points:"3.29 7 12 12 20.71 7",key:"ousv84"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}]]);t.d(s,["A",0,a])},91286(e,s,t){const a=(0,t(31212).A)("phone",[["path",{d:"M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384",key:"9njp5v"}]]);t.d(s,["A",0,a])},63944(e,s,t){const a=(0,t(31212).A)("star",[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]]);t.d(s,["A",0,a])},81876(e,s,t){const a=(0,t(31212).A)("waves",[["path",{d:"M2 6c.6.5 1.2 1 2.5 1C7 7 7 5 9.5 5c2.6 0 2.4 2 5 2 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1",key:"knzxuh"}],["path",{d:"M2 12c.6.5 1.2 1 2.5 1 2.5 0 2.5-2 5-2 2.6 0 2.4 2 5 2 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1",key:"2jd2cc"}],["path",{d:"M2 18c.6.5 1.2 1 2.5 1 2.5 0 2.5-2 5-2 2.6 0 2.4 2 5 2 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1",key:"rd2r6e"}]]);t.d(s,["A",0,a])}}]); 3//# sourceMappingURL=1111.9a968fb8.chunk.js.map
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.