PageSourceSearch

https://rideshareguides.com/assets/DirectoryDetail-KoV6_oC-.js

js rideshareguides.com collected 2026-10-08 20:47:09 UTC 36,814 bytes, 1 lines download raw bytes

1import{b9 as Z,aP as ee,r as o,U as se,j as e,l as z,aK as D,a6 as _,h as te,s as L,F as re,aL as T,cb as I,a$ as ie,A as U,S as O,N as ne,aS as ae}from"./index-Bn97Kz8X.js";import{S as G}from"./SEO-BjAPr8No.js";import{a as H,i as k,b as J,g as Q,c as Y,d as le,p as ce,e as M}from"./rsg-directory-data-DPrYofog.js";import{t as oe}from"./funnelTracking-Cf6qY1mn.js";import{B as V}from"./BusinessSiteShareQR-Ccunt95A.js";import{S as R}from"./share-2-m_Gi-ymW.js";import{B as de}from"./badge-check-Ch_7psaO.js";import{U as q}from"./utensils-cDcax866.js";import{L as C}from"./lock-BRypwRBS.js";import{C as xe}from"./clock-Dfd8vDx6.js";import{T as pe}from"./triangle-alert-DCst1_nP.js";import{I as me}from"./image-off-Cijq1zHl.js";function ue(){if(typeof document>"u")return;const t="dir-detail-fonts-v2";if(document.getElementById(t))return;const n=document.createElement("link");n.id=t,n.rel="stylesheet",n.href="https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Barlow+Condensed:wght@600;700&family=Manrope:wght@400;500;600;700&display=swap",document.head.appendChild(n)}function ge({rating:t}){return!t||t<=0?null:e.jsx("span",{className:"inline-flex items-center gap-[2px]",children:Array.from({length:5}).map((n,s)=>e.jsx(ae,{className:`h-[14px] w-[14px] ${s<Math.round(t)?"fill-[#F45815] text-[#F45815]":"fill-zinc-100 text-zinc-200"}`},s))})}function he(t){switch(t){case"free_unverified":return{label:"FREE UNVERIFIED",tone:"border-zinc-200 bg-zinc-50 text-zinc-900",dot:"bg-zinc-400"};case"free_verified":return{label:"FREE VERIFIED",tone:"border-emerald-200 bg-emerald-50 text-emerald-800",dot:"bg-emerald-500"};case"tier3_rewards":return{label:"TIER 3 • REWARDS $99/MO",tone:"border-orange-200 bg-orange-50 text-zinc-900",dot:"bg-[#F45815]"};case"tier4_pos":return{label:"TIER 4 • POS $349/MO",tone:"border-orange-200 bg-[#FFF1E8] text-zinc-900",dot:"bg-[#F45815]"};default:return{label:"FREE UNVERIFIED",tone:"border-zinc-200 bg-white text-zinc-900",dot:"bg-zinc-400"}}}const be={Mon:"",Tue:"",Wed:"",Thu:"",Fri:"",Sat:"",Sun:""};function fe(t){return typeof t!="string"?void 0:t.replace(/[\u0000-\u001f\u007f]/g,"").trim().replace(/\s+/g," ").slice(0,80)||void 0}function je(t){if(typeof t!="string")return;const n=t.trim().slice(0,2048);if(n)try{const s=new URL(n);return!["http:","https:"].includes(s.protocol)||!s.hostname||s.username||s.password?void 0:s.toString()}catch{return}}function W(t){const n=/^(\d{2}):(\d{2})$/.exec(t);if(!n)return t;const s=Number(n[1]),a=s>=12?"pm":"am";return`${s%12||12}:${n[2]}${a}`}function Ne(t){return t.trim().split(/\s+/).slice(0,2).map(s=>{var a;return((a=s[0])==null?void 0:a.toUpperCase())||""}).join("")}function ye({businessName:t,subcategory:n,category:s}){const a=Ne(t);return e.jsxs("div",{className:"relative flex aspect-[16/10] w-full items-center justify-center overflow-hidden rounded-t-[28px] bg-[#0f0f0f] sm:aspect-[16/9]",children:[e.jsx("div",{className:"absolute inset-0 bg-[radial-gradient(ellipse_at_top,_rgba(244,88,21,0.28),_transparent_60%),radial-gradient(ellipse_at_bottom_right,_rgba(244,88,21,0.22),_transparent_50%)]"}),e.jsx("div",{className:"absolute left-0 top-0 h-[3px] w-full bg-[#F45815]"}),e.jsxs("div",{className:"relative z-10 flex flex-col items-center px-6 text-center",children:[e.jsx("div",{className:"flex h-16 w-16 items-center justify-center rounded-full bg-white text-[18px] font-black tracking-tight text-black ring-1 ring-white/10",children:a||"RSG"}),e.jsxs("div",{className:"mt-4 flex flex-wrap items-center justify-center gap-2",children:[e.jsxs("span",{className:"inline-flex items-center gap-1.5 rounded-full border border-white/15 bg-white/10 px-3 py-1 backdrop-blur",children:[e.jsx(q,{className:"h-3.5 w-3.5 text-[#F45815]"}),e.jsxs("span",{className:"text-[11px] font-black uppercase tracking-[0.14em] text-white",children:[s||"Dining"," • West Palm Beach"]})]}),n&&e.jsx("span",{className:"inline-flex rounded-full bg-[#F45815] px-3 py-1 text-[11px] font-bold text-white",children:n})]}),e.jsx("h2",{className:"mt-5 max-w-[22ch] text-[26px] font-black leading-[0.95] text-white sm:text-[30px]",style:{fontFamily:"'Bebas Neue', sans-serif"},children:t}),e.jsxs("p",{className:"mt-3 inline-flex items-center gap-1.5 rounded-full bg-white/10 px-3 py-1 text-[10px] font-bold uppercase tracking-[0.12em] text-white/60",children:[e.jsx(me,{className:"h-3.5 w-3.5"})," RSG branded placeholder — no business photo used"]})]})]})}function ve({listing:t}){var N,w;const n=o.useMemo(()=>{const x=J(t.durablePhotos),p=[x!=null&&x.url?{url:x.url,alt:x.alt,caption:x.caption,sourceUrl:x.source_url}:null,t.photo_url?{url:t.photo_url,alt:t.photo_alt||"",caption:"",sourceUrl:t.photo_source_url||""}:null].filter(h=>{var y;return!!((y=h==null?void 0:h.url)!=null&&y.trim())});return p.filter((h,y)=>p.findIndex(g=>g.url===h.url)===y)},[t.durablePhotos,t.photo_url,t.photo_alt,t.photo_source_url]),[s,a]=o.use
1State(0),[m,l]=o.useState(!1);o.useEffect(()=>{a(0),l(!1)},[t.rsgBizId,n]);const r=n[s],d=Q(r==null?void 0:r.url,1280),j=!!r&&!!d&&!m,f=((N=r==null?void 0:r.alt)==null?void 0:N.trim())||`${t.businessName} — ${t.subcategory||t.category} in ${t.city}`;if(!r||!j)return e.jsx(ye,{businessName:t.businessName,subcategory:t.subcategory,category:t.category});const u=Y(r==null?void 0:r.sourceUrl);return e.jsxs("div",{className:"relative w-full overflow-hidden rounded-t-[28px] bg-zinc-100",children:[e.jsx("div",{className:"aspect-[16/10] w-full overflow-hidden sm:aspect-[16/9]",children:e.jsx("img",{src:d,alt:f,width:1280,height:800,sizes:"(min-width: 1024px) 700px, 100vw",loading:"eager",decoding:"async",fetchPriority:"high",onError:()=>{s<n.length-1?(a(x=>x+1),l(!1)):l(!0)},className:"h-full w-full object-cover object-center",referrerPolicy:"no-referrer"})}),e.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/40 via-black/0 to-black/0"}),e.jsxs("div",{className:"absolute bottom-0 left-0 right-0 flex flex-wrap items-center justify-between gap-2 bg-gradient-to-t from-black/70 to-transparent px-5 py-4",children:[e.jsx("p",{className:"max-w-[60ch] line-clamp-2 text-[11px] font-medium leading-snug text-white/80",children:((w=r.caption)==null?void 0:w.trim())||f}),r.sourceUrl&&e.jsxs("a",{href:r.sourceUrl,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-1 rounded-full bg-white/90 px-2.5 py-1 text-[10px] font-bold text-zinc-900 backdrop-blur hover:bg-white",children:[e.jsx(_,{className:"h-3 w-3"})," via ",u||"official site"]})]}),!m&&e.jsx("div",{className:"absolute left-0 top-0 h-[3px] w-full bg-[#F45815]"})]})}function we({listing:t}){const n=J(t.durablePhotos),s=t.durablePhotos.filter(r=>r.url!==(n==null?void 0:n.url)),[a,m]=o.useState([]);o.useEffect(()=>{m([])},[t.rsgBizId,t.durablePhotos]);const l=s.filter(r=>!a.includes(r.url));return l.length?e.jsxs("section",{className:"mt-6 rounded-[18px] border border-zinc-200 bg-white p-4 shadow-[0_2px_12px_rgba(0,0,0,0.03)] sm:p-5","aria-labelledby":"detail-photo-gallery-heading",children:[e.jsxs("div",{className:"flex flex-wrap items-end justify-between gap-2",children:[e.jsxs("div",{children:[e.jsx("p",{id:"detail-photo-gallery-heading",className:"text-[11px] font-black uppercase tracking-[0.12em] text-black",children:"Photo gallery"}),e.jsx("p",{className:"mt-1 text-[12px] font-medium text-zinc-500",children:"More photos from this business."})]}),e.jsxs("span",{className:"rounded-full border border-zinc-200 bg-zinc-50 px-2.5 py-1 font-mono text-[10px] font-bold uppercase tracking-[0.08em] text-zinc-500",children:[l.length," photos"]})]}),e.jsx("div",{className:"mt-4 grid grid-cols-2 gap-3 sm:grid-cols-3",children:l.map(r=>e.jsxs("figure",{className:"overflow-hidden rounded-[14px] border border-zinc-200 bg-zinc-50",children:[e.jsx("div",{className:"aspect-[4/3] overflow-hidden bg-zinc-100",children:e.jsx("img",{src:Q(r.url,600),alt:r.alt.trim()||`${t.businessName} in ${t.city}`,width:600,height:450,sizes:"(min-width: 1024px) 220px, (min-width: 640px) 30vw, 50vw",loading:"lazy",decoding:"async",onError:()=>m(d=>d.includes(r.url)?d:[...d,r.url]),className:"h-full w-full object-cover transition duration-500 hover:scale-[1.02]",referrerPolicy:"no-referrer"})}),(r.caption.trim()||r.source_url)&&e.jsxs("figcaption",{className:"space-y-1 px-3 py-2.5",children:[r.caption.trim()&&e.jsx("p",{className:"line-clamp-2 text-[11px] font-medium leading-snug text-zinc-700",children:r.caption.trim()}),r.source_url&&e.jsxs("a",{href:r.source_url,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-1 text-[10px] font-bold text-zinc-600 hover:text-black",children:[e.jsx(_,{className:"h-3 w-3 text-[#F45815]"})," via ",Y(r.source_url)||"official site"]})]})]},`${r.url}-${r.sort_order}`))})]}):null}function ze(t,n){if(!t)return null;const s=t.rsg_biz_id||t.rsgBizId||t.id||"";if(!s)return null;const a=(t.tier||t.tier_interest||"free_unverified").toLowerCase(),m=["free_unverified","free_verified","tier3_rewards","tier4_pos"].includes(a)?a:"free_verified",l=t.hours_json??t.hoursJson,r=t.photos_json??t.photosJson,d=le(l),j=ce(r),f=M(t.hours)||M(l)||be,u=typeof(t.mini_tagline??t.miniTagline)=="string"&&String(t.mini_tagline??t.miniTagline).trim().slice(0,120)||void 0,N=typeof(t.service_area??t.serviceArea)=="string"&&String(t.service_area??t.serviceArea).trim().slice(0,200)||void 0;return{rsgBizId:String(s),businessName:String(t.business_name||t.businessName||"Business"),category:String(t.category||"General"),subcategory:t.subcategory?String(t.subcategory):t.subCategory?String(t.subCategory):void 0,city:String(t.city||"West Palm Beach"),citySlug:t.rsg_biz_city_slug||t.citySlug||void 0,canonicalId:t.rsg_biz_id||t.canonicalId||String(s),address:String(t.address||""),website:String(t.website||""),rating:typeof t.rating=="number"?t.rating:t.rating?Number(t.rating):0,tier:m,hours:f,rewardsOffered:Array.isArray(t.rewardsOffered||t.rewards_offered)?t.rewardsOffered||t.rewards_offered:[],description:String(t.de
1scription||""),hours_json:typeof l=="string"&&l.trim()||void 0,photos_json:typeof r=="string"&&r.trim()||void 0,mini_tagline:u,service_area:N,durableHours:d,durablePhotos:j,source:n,photo_url:t.photo_url?String(t.photo_url):t.photoUrl?String(t.photoUrl):void 0,photo_alt:t.photo_alt?String(t.photo_alt):t.photoAlt?String(t.photoAlt):void 0,photo_source_url:t.photo_source_url?String(t.photo_source_url):t.photoSourceUrl?String(t.photoSourceUrl):void 0,sourcePlatform:fe(t.source_platform??t.sourcePlatform),sourceUrl:je(t.source_url??t.sourceUrl)}}function Ae(){var P;ue();const{rsgBizId:t}=Z(),{toast:n}=ee(),[s,a]=o.useState(null),[m,l]=o.useState(!0),[r,d]=o.useState(!1),[j,f]=o.useState(null),u=o.useMemo(()=>(t||"").trim(),[t]);o.useEffect(()=>{let i=!1;return(async()=>{try{const c=await se.me();if(i)return;f(c!=null&&c.email?String(c.email).toLowerCase():null)}catch{i||f(null)}})(),()=>{i=!0}},[]),o.useEffect(()=>{let i=!1;return(async()=>{var $;l(!0);let c=null;try{let b=null;try{b=await fetch(H,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({rsgBizId:u,rsg_biz_id:u})})}catch{}if((!b||!b.ok)&&(b=await fetch(`${H}?rsgBizId=${encodeURIComponent(u)}`)),b&&b.ok){const v=await b.json(),A=(($=v==null?void 0:v.data)==null?void 0:$.listing)||(v==null?void 0:v.listing)||null;A&&(c=ze(A,"live"))}}catch(b){console.warn("detail live fetch failed",b)}i||(a(c),l(!1))})(),()=>{i=!0}},[u]),o.useEffect(()=>{if(!s)return;const i=String(s.canonicalId||s.rsgBizId).trim();i&&oe(`directory_detail_view:${i}`,"directory_detail_view",{canonical_business_id:i,city:s.city||null,tier:s.tier,source:s.source,...s.citySlug?{city_slug:s.citySlug}:{}},j)},[s,j]);const N=async()=>{const i=s&&k(s.rsgBizId)?s.rsgBizId:s&&k(s.canonicalId)?s.canonicalId:"",c=i?new URL(`/directory/${encodeURIComponent(i)}`,"https://rideshareguides.com").toString():"";if(c)try{navigator.share?await navigator.share({title:s==null?void 0:s.businessName,url:c}):(await navigator.clipboard.writeText(c),d(!0),setTimeout(()=>d(!1),2e3))}catch{try{await navigator.clipboard.writeText(c),d(!0),setTimeout(()=>d(!1),2e3)}catch{}}},w=()=>{s&&(s.tier==="tier3_rewards"||s.tier==="tier4_pos"?n({title:"AI receptionist coming soon",description:"AI call routing coming soon — this business will be reachable through a private AI receptionist. Your number stays hidden."}):n({title:"Calling not yet active",description:"This business has not activated calling yet. Paid tiers unlock the private AI receptionist that keeps both numbers private."}))};if(m)return e.jsx("div",{className:"min-h-screen w-full bg-white flex items-center justify-center p-6",children:e.jsx("div",{className:"rounded-full border border-zinc-200 bg-zinc-50 px-4 py-2 text-[12px] font-bold uppercase tracking-[0.12em] text-zinc-600",children:"Loading business…"})});if(!s)return e.jsxs("div",{className:"min-h-screen w-full bg-white text-zinc-900 selection:bg-[#F45815]/20",children:[e.jsx(G,{title:"Listing not found — RSG Directory",description:"This business listing could not be found.",url:`https://rideshareguides.com/directory/${u}`,noindex:!0}),e.jsxs("div",{className:"mx-auto max-w-[720px] px-6 py-20 text-center",children:[e.jsxs("div",{className:"mx-auto inline-flex items-center gap-2 rounded-full border border-orange-200 bg-orange-50 px-3 py-1 text-[11px] font-bold uppercase tracking-[0.14em] text-orange-700",children:[e.jsx("span",{className:"h-1.5 w-1.5 rounded-full bg-[#F45815]"})," RSG Directory"]}),e.jsx("h1",{className:"mt-5 text-[40px] font-black leading-[0.9] tracking-[-0.02em] text-black sm:text-[52px]",style:{fontFamily:"'Bebas Neue', sans-serif"},children:"LISTING NOT FOUND"}),e.jsxs("p",{className:"mx-auto mt-4 max-w-[46ch] text-[14px] font-medium leading-[1.6] text-zinc-600",children:["ID ",u," is not in the current directory. It may be pending approval or removed. Check the ID or browse live listings."]}),e.jsxs(z,{to:"/directory",className:"mt-8 inline-flex items-center gap-2 rounded-full bg-[#F45815] px-6 py-3 text-[13px] font-bold uppercase tracking-[0.04em] text-white shadow-[0_8px_20px_rgba(244,88,21,0.22)] transition hover:bg-[#
1E14D10]",children:[e.jsx(D,{className:"h-4 w-4"})," Back to directory"]})]})]});const x=he(s.tier),p=s.tier==="free_unverified",h=s.tier==="tier3_rewards"||s.tier==="tier4_pos",y=Object.values(s.hours).some(i=>!!String(i).trim()),g=k(s.rsgBizId)?s.rsgBizId:k(s.canonicalId)?s.canonicalId:"",K=g?`/directory/${encodeURIComponent(g)}`:`/directory/${encodeURIComponent(s.rsgBizId)}`,S=g?new URL(K,"https://rideshareguides.com").toString():"",F=g?`/claim-listing/${encodeURIComponent(g)}`:`/claim-listing/${encodeURIComponent(s.rsgBizId)}`,B=g?new URL(F,"https://rideshareguides.com").toString():"",X=g?`/business/dashboard?tab=listing&business_id=${encodeURIComponent(g)}`:"",E=p?F:X;return e.jsxs("div",{className:"min-h-screen w-full bg-white text-zinc-900 selection:bg-[#F45815]/20 antialiased",children:[e.jsx(G,{title:`${s.businessName} — ${s.category} in ${s.city} | RSG Directory`,description:`${s.businessName} — ${s.category} in ${s.city}. ${s.subcategory||""} ${s.description}. RSG ID ${s.rsgBizId}. Contact via private AI calling — numbers stay hidden.`,url:S||`https://rideshareguides.com/directory/${encodeURIComponent(s.rsgBizId)}`}),e.jsx("header",{className:"sticky top-0 z-30 border-b border-zinc-200 bg-white/95 backdrop-blur-xl",children:e.jsxs("div",{className:"mx-auto flex min-h-[60px] max-w-[1120px] flex-wrap items-center justify-between gap-2 px-4 py-2 sm:px-6",children:[e.jsxs(z,{to:"/directory",className:"inline-flex shrink-0 items-center gap-2 rounded-full border border-zinc-200 bg-white px-3.5 py-2 text-[11px] font-bold tracking-[0.02em] text-black transition hover:border-orange-200 hover:bg-orange-50 sm:text-[12px]",children:[e.jsx(D,{className:"h-4 w-4 text-[#F45815]"})," Back to Directory"]}),e.jsxs("div",{className:"flex flex-wrap items-center justify-end gap-2",children:[E&&e.jsxs(z,{to:E,"aria-label":p?`Claim ${s.businessName}`:`Manage ${s.businessName}`,className:`inline-flex shrink-0 items-center gap-1.5 rounded-full px-3 py-2 text-[10px] font-black uppercase tracking-[0.04em] transition focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#F45815]/40 focus-visible:ring-offset-1 sm:px-3.5 sm:text-[11px] ${p?"bg-[#F45815] text-white shadow-[0_6px_16px_rgba(244,88,21,0.2)] hover:bg-[#E14D10]":"border border-emerald-200 bg-emerald-50 text-emerald-800 hover:bg-emerald-100"}`,children:[p?"Claim this listing":"Manage listing"," ",e.jsx(_,{className:"h-3.5 w-3.5"})]}),e.jsxs("button",{onClick:N,className:"inline-flex shrink-0 items-center gap-1.5 rounded-full border border-zinc-200 bg-white px-3 py-2 text-[10px] font-bold uppercase tracking-[0.06em] text-zinc-900 transition hover:border-orange-200 hover:bg-orange-50 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#F45815]/40 focus-visible:ring-offset-1 sm:px-3.5 sm:py-2 sm:text-[11px]",children:[r?e.jsx(te,{className:"h-3.5 w-3.5 text-emerald-600"}):e.jsx(R,{className:"h-3.5 w-3.5 text-[#F45815]"})," ",r?"Link copied":"Share"]}),e.jsx(z,{to:"/",className:"hidden items-center gap-1 rounded-full border border-zinc-200 bg-zinc-50 px-3.5 py-2 text-[11px] font-bold uppercase tracking-[0.06em] text-zinc-700 transition hover:bg-white sm:inline-flex",children:"RSG Home"})]})]})}),e.jsx("main",{className:"mx-auto max-w-[1120px] px-4 pb-16 pt-6 sm:px-6 sm:pt-8",children:e.jsxs("div",{className:"grid grid-cols-1 gap-6 lg:grid-cols-[1.25fr_0.75fr]",children:[e.jsx("div",{className:"min-w-0",children:e.jsxs("div",{className:"overflow-hidden rounded-[28px] border border-zinc-200 bg-white shadow-[0_8px_30px_rgba(0,0,0,0.04)]",children:[e.jsx(ve,{listing:s}),e.jsxs("div",{className:"p-6 sm:p-8",children:[e.jsxs("div",{className:"flex flex-wrap items-center gap-2",children:[e.jsxs("span",{className:`inline-flex items-center gap-1.5 rounded-full border px-3 py-1 text-[11px] font-black uppercase tracking-[0.10em] ${x.tone}`,children:[e.jsx("span",{className:`h-1.5 w-1.5 rounded-full ${x.dot}`})," ",x.label]}),p?e.jsxs("span",{className:"inline-flex items-center gap-1.5 rounded-full border border-orange-200 bg-orange-50 px-3 py-1 text-[11px] font-bold uppercase tracking-[0.08em] text-zinc-900",children:[e.jsx("span",{className:"h-1.5 w-1.5 animate-pulse rounded-full bg-[#F45815]"})," Unclaimed • Owner can claim"]}):e.jsxs("span",{className:"inline-flex items-center gap-1 rounded-full border border-zinc-200 bg-white px-3 py-1 text-[11px] font-bold uppercase tracking-[0.08em] text-zinc-900",children:[e.jsx(de,{className:"h-3.5 w-3.5 text-[#F45815]"})," Verified • RSG checked"]}),h&&e.jsxs("span",{className:"inline-flex items-center gap-1 rounded-full bg-[#F45815] px-3 py-1 text-[10px] font-black uppercase tracking-[0.10em] text-white",children:[e.jsx(L,{className:"h-3 w-3"})," Rewards active"]}),e.jsx("span",{className:"inline-flex items-center gap-1 rounded-full border border-emerald-200 bg-emerald-50 px-2.5 py-1 text-[10px] font-bold uppercase tracking-[0.08em] text-emerald-700",children:"Live • phone-safe feed"})]}),e.jsx("h1",{className:"mt-5 break-words text-[36px] font-black leading-[0.9] tracking-[-0.02em] text-black sm:text-[52px]",style:{fontFamily:"'Bebas Neue', sans-serif"},children:s.businessName}),s.mini_tagline&&e.jsx("p",{className:"mt-3 max-w-[58ch] text-[16px] font-semibold leading-[1.45] text-[#F45815]",style:{fontFamily:"'Manrope', sans-serif"},children:s.mini_tagline}),e.jsxs("div",{className:"mt-4 flex flex-wrap items-center gap-2.5",children:[e.jsxs("span",{className:"inline-flex items-center gap-1.5 rounded-full border border-zinc-200 bg-zinc-50 px-3 py-1 text-[11px] font-bold text-zinc-900",children:[e.jsx(re,{className:"h-3.5 w-3.5 text-[#F45815]"})," ",s.category]}),s.subcategory&&e.jsxs("span",{className:"inline-flex items-center gap-1.5 rounded-full border border-orange-200 bg-orange-50 px-3 py-1 text-[11px] font-bold text-orange-800",children:[e.jsx(q,{className:"h-3.5 w-3.5 text-[#F45815]"})," ",s.subcategory]}),e.jsxs("span",{className:"inline-flex items-center gap-1.5 rounded-full border border-zinc-200 bg-white px-3 py-1 text-[11px] font-semibold text-zinc-700",children:[e.jsx(T,{className:"h-3.5 w-3.5 text-[#F45815]"})," ",s.city]}),s.rating>0?e.jsxs("span",{className:"inline-flex items-center gap-2 rounded-full border border-zinc-200 bg-white px-3 py-1 text-[12px]",children:[e.jsx(ge,{rating:s.rating}),e.jsx("span",{className:"font-black text-black",children:s.rating.toFixed(1)}),e.jsx("span",{className:"font-medium text-zinc-500",children:"/ 5"})]}):e.jsx("span",{className:"inline-flex items-center gap-1.5 rounded-full border border-zinc-200 bg-white px-3 py-1 text-[11px] font-medium text-zinc-500",children:"No public rating • unclaimed"})]}),e.jsxs("div",{className:"mt-5 flex flex-wrap items-center gap-x-3 gap-y-2 border-t border-zinc-100 pt-4",children:[e.jsxs("span",{className:"rounded-full bg-zinc-50 px-2.5 py-1 font-mono text-[11px] font-bold tracking-[0.10em] text-zinc-700 ring-1 ring-zinc-200",children:["ID ",s.rsgBizId]}),e.jsx("span",{className:"hidden h-3 w-px bg-zinc-200 sm:block"}),e.jsxs("span",{className:"inline-flex items-center gap-1 text-[11px] font-medium leading-snug text-zinc-600",children:[e.jsx(C,{className:"h-3 w-3 text-zinc-400"})," Private numbers • Phone-safe directory"]})]}),e.jsxs("p",{className:"mt-6 max-w-[66ch] text-[14px] font-medium leading-[1.75] text-zinc-800 sm:text-[15px]",style:{fontFamily:"'Manrope', sans-serif"},children:[s.description," Located at ",s.address,", this ",(s.subcategory||s.category).toLowerCase()," serves ",s.city," with driver-friendly hours. ",p?"This is a Free Unverified listing. Owner claim starts verification and unlocks edit access after approval.":"Verification unlocks rewards and boosted placement for driver traffic."]}),S?e.jsx("section",{"aria-labelledby":"business-page-share-title",className:"mt-6 rounded-[20px] border-2 border-[#0A0A0A] bg-[#FFF8F3] p-4 shadow-[0_8px_24px_rgba(10,10,10,0.08)] sm:p-5",children:e.jsxs("div",{className:"flex flex-col gap-4 sm:flex-row sm:items-center sm:justify-between",children:[e.jsxs("div",{className:"min-w-0 sm:pr-3",children:[e.jsxs("p",{className:"inline-flex items-center gap-1.5 rounded-full border border-[#F45815]/30 bg-white px-2.5 py-1 text-[10px] font-black uppercase tracking-[0.12em] text-[#9A350D]",children:[e.jsx(R,{className:"h-3 w-3"})," Public sharing"]}),e.jsx("h2",{id:"business-page-share-title",className:"mt-3 text-[22px] font-black leading-[0.98] tracking-[-0.03em] text-black",style:{fontFamily:"'Bebas Neue', sans-serif"},children:"BUSINESS PAGE"}),e.jsx("p",{className:"mt-2 max-w-[34ch] text-[12px] font-medium leading-[1.6] text-zinc-600",children:"Use the QR, Copy, Email, or Share actions to send the exact public listing page to a driver, customer, or local partner."}),p?e.jsx("p",{className:"mt-2 max-w-[38ch] text-[11px] font-semibold leading-[1.5] text-zinc-700",children:"Owners can claim this page separately. RSG approval is required before listing details, hours, header photo, or gallery can be edited."}):e.jsxs("p",{className:"mt-2 max-w-[38ch] text-[11px] font-semibold leading-[1.5] text-zinc-700",children:[e.jsx("span",{className:"font-black text-black",children:"Owner path:"})," Sign in to the Business Dashboard to edit listing details, hours, header photo, and gallery."]})]}),e.jsx(V,{shareUrl:S,businessName:s.businessName,label:"Business page",compact:!0,className:"mx-auto 
1sm:mx-0"})]})}):e.jsx("div",{className:"mt-6 rounded-[18px] border border-dashed border-zinc-300 bg-zinc-50 p-4 text-[11px] font-semibold leading-[1.55] text-zinc-600",role:"status",children:"Public page sharing is pending a valid canonical business ID. No QR was generated."}),e.jsxs("div",{className:"mt-8 grid grid-cols-1 gap-4 sm:grid-cols-2",children:[e.jsxs("div",{className:"rounded-[18px] border border-zinc-200 bg-white p-4 shadow-[0_2px_12px_rgba(0,0,0,0.03)]",children:[e.jsxs("p",{className:"flex items-center gap-1.5 text-[10px] font-black uppercase tracking-[0.14em] text-zinc-900",children:[e.jsx(T,{className:"h-3.5 w-3.5 text-[#F45815]"})," Address"]}),e.jsx("p",{className:"mt-2.5 text-[13px] font-semibold leading-snug text-zinc-900",children:s.address}),e.jsx("p",{className:"mt-2 text-[11px] font-medium text-zinc-500",children:s.city}),s.service_area&&e.jsxs("p",{className:"mt-2 text-[11px] font-medium leading-snug text-zinc-600",children:[e.jsx("span",{className:"font-black uppercase tracking-[0.08em] text-zinc-500",children:"Service area:"})," ",s.service_area]}),s.subcategory&&e.jsx("p",{className:"mt-2 inline-flex rounded-full bg-zinc-50 px-2 py-1 text-[11px] font-bold text-zinc-700 ring-1 ring-zinc-200",children:s.subcategory})]}),e.jsxs("div",{className:"rounded-[18px] border border-zinc-200 bg-white p-4 shadow-[0_2px_12px_rgba(0,0,0,0.03)]",children:[e.jsxs("p",{className:"flex items-center gap-1.5 text-[10px] font-black uppercase tracking-[0.14em] text-zinc-900",children:[e.jsx(I,{className:"h-3.5 w-3.5 text-[#F45815]"})," Contact — private routing"]}),e.jsxs("div",{className:"mt-3 space-y-3",children:[e.jsxs("button",{onClick:w,className:"flex w-full items-center justify-center gap-2 rounded-full bg-[#F45815] px-5 py-3 text-[13px] font-bold text-white shadow-[0_8px_18px_rgba(244,88,21,0.22)] transition hover:bg-[#E14D10] focu
1s-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#F45815]/30",children:[e.jsx(I,{className:"h-4 w-4"})," Call Business"]}),e.jsxs("div",{className:"rounded-[12px] border border-zinc-200 bg-zinc-50 px-3 py-2.5 text-[11px] font-medium leading-[1.5] text-zinc-600",children:[e.jsxs("span",{className:"inline-flex items-center gap-1 font-bold text-zinc-800",children:[e.jsx(C,{className:"h-3 w-3 text-[#F45815]"})," Number privacy:"]})," The directory never shows the business phone. Calls go through a protected RSG number. Private numbers stay hidden on both sides."]}),s.website&&e.jsxs("a",{href:s.website,target:"_blank",rel:"noopener noreferrer",className:"flex items-center gap-1.5 break-all text-[13px] font-semibold text-zinc-700 transition hover:text-black",children:[e.jsx(ie,{className:"h-4 w-4 shrink-0 text-zinc-400"})," ",s.website.replace(/^https?:\/\//,"")," ",e.jsx(U,{className:"h-3.5 w-3.5 shrink-0 text-[#F45815]"})]})]})]})]}),(s.durableHours.length>0||y)&&e.jsxs("div",{className:"mt-6 rounded-[18px] border border-zinc-200 bg-zinc-50/70 p-4 sm:p-5",children:[e.jsxs("div",{className:"flex items-center gap-2 text-[11px] font-black uppercase tracking-[0.12em] text-black",children:[e.jsx(xe,{className:"h-4 w-4 text-[#F45815]"})," Operating hours"]}),s.durableHours.length>0?e.jsx("div",{className:"mt-4 grid grid-cols-2 gap-2 sm:grid-cols-3",children:s.durableHours.map(i=>e.jsxs("div",{className:"flex items-center justify-between gap-3 rounded-full border border-zinc-200 bg-white px-3 py-1.5",children:[e.jsx("span",{className:"text-[11px] font-black uppercase tracking-[0.06em] text-zinc-700",children:i.day}),e.jsx("span",{className:"text-[12px] font-semibold text-zinc-900",children:i.closed?"Closed":`${W(i.open)} to ${W(i.close)}`})]},i.day))}):e.jsx("div",{className:"mt-4 grid grid-cols-2 gap-2 sm:grid-cols-3",children:Object.entries(s.hours).map(([i,c])=>e.jsxs("div",{className:"flex items-center justify-between gap-3 rounded-full border border-zinc-200 bg-white px-3 py-1.5",children:[e.jsx("span",{className:"text-[11px] font-black uppercase tracking-[0.06em] text-zinc-700",children:i}),e.jsx("span",{className:"text-[12px] font-semibold text-zinc-900",children:c})]},i))})]}),e.jsx(we,{listing:s})]})]})}),e.jsxs("div",{className:"min-w-0 space-y-4",children:[e.jsx("div",{className:"rounded-[22px] border border-zinc-200 bg-white p-5 shadow-[0_8px_30px_rgba(0,0,0,0.05)] sm:p-6",children:p?e.jsxs(e.Fragment,{children:[e.jsxs("p",{className:"inline-flex items-center gap-1.5 rounded-full border border-orange-200 bg-orange-50 px-2.5 py-1 text-[10px] font-black uppercase tracking-[0.12em] text-orange-700",children:[e.jsx("span",{className:"h-1.5 w-1.5 rounded-full bg-[#F45815]"})," Unclaimed listing"]}),e.jsx("h3",{className:"mt-3 text-[22px] font-black leading-[0.95] text-black",style:{fontFamily:"'Bebas Neue', sans-serif"},children:"OWN THIS BUSINESS? CLAIM IT FREE."}),e.jsx("p",{className:"mt-2.5 text-[12px] font-medium leading-[1.6] text-zinc-600",style:{fontFamily:"'Manrope', sans-serif"},children:"Claiming is free and starts private verification. Once approved you receive the Verified badge and owner edit access. Optional paid upgrades are available later."}),e.jsxs(z,{to:F,className:"mt-5 flex w-full items-center justify-center gap-2 rounded-full bg-[#F45815] px-6 py-3.5 text-[13px] font-black uppercase tracking-[0.04em] text-white shadow-[0_10px_24px_rgba(244,88,21,0.24)] transition hover:bg-[#E14D10]",children:["Claim this listing ",e.jsx(U,{className:"h-4 w-4"})]}),e.jsxs("div",{className:"mt-4 rounded-[12px] border border-zinc-200 bg-zinc-50 p-3 text-[11px] font-medium leading-[1.5] text-zinc-600",children:[e.jsxs("span",{className:"flex items-center gap-1 font-bold text-zinc-800",children:[e.jsx(pe,{className:"h-3 w-3 text-amber-500"})," How calling works:"]})," On paid tiers, customers call a protected RSG number. An AI receptionist answers with hours, services, and FAQs. Private numbers on both sides stay hidden. Free listings do not include active calling until upgraded."]})]}):e.jsxs(e.Fragment,{children:[e.jsxs("p",{className:"inline-flex items-center gap-1.5 rounded-full border border-emerald-200 bg-emerald-50 px-2.5 py-1 text-[10px] font-black uppercase tracking-[0.12em] text-emerald-800",children:[e.jsx(O,{className:"h-3 w-3"})," Verified listing"]}),e.jsx("h3",{className:"mt-3 text-[20px] font-bold leading-tight tracking-[-0.01em] text-black",children:"This business is driver-verified."}),e.jsx("p",{className:"mt-2 text-[12px] font-medium leading-[1.6] text-zinc-600",children:"Visit website or use private Call Business when available. Verification gives owner edit access and an official Verified badge."}),e.jsxs("div",{className:"mt-5 grid grid-cols-1 gap-2.5",children:[s.website&&e.jsxs("a",{href:s.website,target:"_blank",rel:"noopener noreferrer",className:"flex w-full items-center justify-center gap-2 rounded-full bg-[#F45815] px-6 py-3.5 text-[13px] font-bold text-white shadow-[0_8px_20px_rgba(244,88,21,0.2)] transition hover:bg-[#
1E14D10]",children:["Visit website ",e.jsx(U,{className:"h-4 w-4"})]}),e.jsxs("button",{onClick:w,className:"flex w-full items-center justify-center gap-2 rounded-full border border-orange-200 bg-white px-6 py-3.5 text-[13px] font-bold text-zinc-900 transition hover:bg-orange-50 hover:text-orange-700",children:[e.jsx(I,{className:"h-4 w-4 text-[#F45815]"})," Call Business"]})]})]})}),p&&B&&e.jsx("div",{className:"rounded-[22px] border-2 border-[#0A0A0A] bg-[#FFF8F3] p-4 shadow-[0_8px_24px_rgba(10,10,10,0.08)] sm:p-5",children:e.jsxs("div",{className:"flex flex-col gap-4 sm:flex-row sm:items-start sm:justify-between",children:[e.jsxs("div",{className:"min-w-0 sm:pt-1",children:[e.jsxs("p",{className:"inline-flex items-center gap-1.5 rounded-full border border-[#F45815]/30 bg-white px-2.5 py-1 text-[10px] font-black uppercase tracking-[0.12em] text-[#9A350D]",children:[e.jsx(R,{className:"h-3 w-3"})," Owner claim link"]}),e.jsx("h3",{className:"mt-3 text-[21px] font-black leading-[0.98] tracking-[-0.03em] text-black",style:{fontFamily:"'Bebas Neue', sans-serif"},children:"OWNER CLAIM"}),e.jsx("p",{className:"mt-2.5 max-w-[28ch] text-[12px] font-medium leading-[1.6] text-zinc-600",children:"This QR opens the separate claim page for the business owner. Verification and manual RSG approval still apply before owner access is granted."})]}),e.jsx(V,{shareUrl:B,businessName:s.businessName,label:"Owner claim",compact:!0,className:"mx-auto sm:mx-0"})]})}),h&&((P=s.rewardsOffered)==null?void 0:P.length)>0&&e.jsxs("div",{className:"rounded-[22px] border border-orange-200 bg-orange-50/70 p-5 shadow-[0_4px_16px_rgba(244,88,21,0.06)]",children:[e.jsxs("div",{className:"flex items-center gap-2 text-[11px] font-black uppercase tracking-[0.10em] text-zinc-900",children:[e.jsx(L,{className:"h-4 w-4 text-[#F45815]"})," Rewards offered"]}),e.jsx("div",{className:"mt-3 space-y-2.5",children:s.rewardsOffered.map(i=>e.jsxs("div",{className:"flex items-start gap-2 rounded-[12px] border border-orange-200/60 bg-white px-3 py-2.5 text-[12px] font-semibold text-zinc-800 shadow-sm",children:[e.jsx(O,{className:"mt-0.5 h-4 w-4 shrink-0 text-[#F45815]"})," ",e.jsx("span",{className:"leading-snug",children:i})]},i))})]}),!h&&e.jsxs("div",{className:"rounded-[22px] border border-zinc-200 bg-white p-5 shadow-[0_4px_16px_rgba(0,0,0,0.03)]",children:[e.jsxs("p",{className:"flex items-center gap-1.5 text-[11px] font-black uppercase tracking-[0.10em] text-black",children:[e.jsx(ne,{className:"h-4 w-4 text-[#F45815]"})," Directory tiers"]}),e.jsx("div",{className:"mt-3.5 space-y-2",children:[{k:"Free Unverified",v:"Unclaimed • Seed",style:"bg-orange-50 border-orange-200 text-zinc-900"},{k:"Free Verified",v:"Verified • Owner claimed",style:"bg-white border-zinc-200 text-zinc-900"},{k:"Tier 3 Rewards $99/mo",v:"Rewards + AI receptionist add-on",style:"bg-zinc-50 border-zinc-200 text-zinc-900"},{k:"Tier 4 POS $349/mo",v:"POS + multi + extra numbers",style:"bg-white border-orange-200 text-zinc-900"}].map(i=>e.jsxs("div",{className:`flex items-center justify-between rounded-full border px-3 py-2 text-[11px] ${i.style}`,children:[e.jsx("span",{className:"font-bold",children:i.k}),e.jsx("span",{className:"text-[10px] font-semibold opacity-70",children:i.v})]},i.k))}),e.jsx("p",{className:"mt-3.5 text-[10px] font-medium leading-[1.5] text-zinc-500",children:"AI receptionist is a separate monthly add-on with included minutes. Customer calls the RSG number, AI answers with business info, bridges privately when needed. Both numbers stay hidden."})]}),e.jsxs("div",{className:"rounded-[22px] border border-zinc-200 bg-zinc-50 p-5",children:[e.jsx("p",{className:"text-[11px] font-black uppercase tracking-[0.10em] text-black",children:"Directory meta"}),e.jsxs("div",{className:"mt-3.5 space-y-3 text-[12px]",children:[e.jsxs("div",{className:"flex items-start justify-between gap-3",children:[e.jsx("span",{className:"shrink-0 text-[11px] font-semibold uppercase tracking-[0.06em] text-zinc-500",children:"RSG Business ID"}),e.jsx("span",{className:"break-all text-right font-mono text-[11px] font-bold tracking-[0.04em] text-zinc-900",children:s.rsgBizId})]}),e.jsx("div",{className:"h-px bg-zinc-200"}),e.jsxs("div",{className:"flex justify-between",children:[e.jsx("span",{className:"text-[11px] font-semibold uppercase tracking-[0.06em] text-zinc-500",children:"Founding market"}),e.jsx("span",{className:"font-semibold text-zinc-900",children:"West Palm Beach"})]}),e.jsxs("div",{className:"flex justify-between",children:[e.jsx("span",{className:"text-[11px] font-semibold uppercase tracking-[0.06em] text-zinc-500",children:"Data source"}),e.jsx("span",{className:"font-medium text-zinc-700",children:"GHL verified • phone-safe"})]}),(s.sourcePlatform||s.sourceUrl)&&e.jsxs("div",{className:"border-t border-zinc-200 pt-3 text-[10px] font-semibold leading-[1.5] text-zinc-600",children:[e.jsxs("p",{className:"flex items-start gap-1.5",children:[e.jsx(_,{className:"mt-0.5 h-3 w-3 shrink-0 text-[#F45815]","aria-hidden":"true"})," ",e.jsxs("span",{children:["Public source: ",s.sourcePlatform||"approved public source",s.sourceUrl&&e.jsxs(e.Fragment,{children:[" · ",e.jsx("a",{href:s.sourceUrl,target:"_blank",rel:"noopener noreferrer",className:"font-black text-[#9A350D] underline decoration-[#F45815]/40 underline-offset-2 hover:text-black",children:"View source"})]})]})]}),e.jsx("p",{className:"mt-1 text-zinc-500",children:"Any displayed rating is attributed to this source, not an RSG-authored review."})]}),e.jsxs("div",{className:"flex justify-between",children:[e.jsx("span",{className:"text-[11px] font-semibold uppercase tracking-[0.06em] text-zinc-500",children:"Contact exposure"}),e.jsxs("span",{className:"inline-flex items-center gap-1 rounded-full bg-white px-2 py-0.5 text-[11px] font-bold text-emerald-700 ring-1 ring-emerald-200",children:[e.jsx(C,{className:"h-3 w-3"})," Never public"]})]}),s.subcategory&&e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"h-px bg-zinc-200"}),e.jsxs("div",{className:"flex justify-between",children:[e.jsx("span",{className:"text-[11px] font-semibold uppercase tracking-[0.06em] text-zinc-500",children:"Cuisine"}),e.jsx("span",{className:"font-semibold text-zinc-900",children:s.subcategory})]})]})]})]})]})]})})]})}export{Ae 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.