PageSourceSearch

https://montegobay.ai/assets/Weather-B001Xo4A.js

js montegobay.ai collected 2026-10-05 14:54:34 UTC 20,395 bytes, 1 lines download raw bytes

1import{r as C,aA as ne,u as ie,a as oe,b as le,s as T,W as ce,j as e,t as Q,H as de,B as N,M as me,Q as V,C as M,c as R,o as X,a0 as Y,F as pe}from"./index-PtGACUVf.js";import{B as ue}from"./BusinessCard-CG9XTJat.js";import{S as y}from"./skeleton-DaIvcz7V.js";import{S as xe,a as he}from"./scroll-area-DNolq6ne.js";import{C as Z}from"./cloud-C5mlez43.js";import{R as ee}from"./refresh-cw-Dc0N6ZOE.js";import{T as J,D as ge,W as te,C as G,U as fe}from"./wind-DNwGV1uA.js";import{T as we}from"./triangle-alert-CWbsuvxh.js";import{M as je}from"./map-BTycuQQb.js";import{S as be}from"./snowflake-DrQ6l567.js";import{S as Ne}from"./sun-CASFwoPM.js";import"./BusinessStatus--SjiN_Z2.js";import"./utensils-BuEONXy9.js";import"./shopping-bag-gZyOBMkQ.js";import"./truck-ZKB2-bNV.js";import"./car-CwtEGtS5.js";import"./timezone-utils-DE3aptyv.js";import"./circle-x-D8wBAwq0.js";import"./circle-check-CH_kw0yO.js";import"./camera-CuADidlO.js";import"./phone-BQCs-BzB.js";import"./external-link-ByXnn-Nj.js";import"./index-BdQq_4o_.js";const se=30*60*1e3;function ae(r){return`weather_${r}`}function re(r){return`weather_alerts_${r}`}function ye(r){try{const t=localStorage.getItem(ae(r));if(t){const{data:o,timestamp:m}=JSON.parse(t);if(Date.now()-m<se)return o}}catch{}return null}function ve(r){try{const t=localStorage.getItem(re(r));if(t){const{data:o,timestamp:m}=JSON.parse(t);if(Date.now()-m<se)return o}}catch{}return null}function _e(r,t){try{localStorage.setItem(ae(r),JSON.stringify({data:t,timestamp:Date.now()}))}catch{}}function Ce(r,t){try{localStorage.setItem(re(r),JSON.stringify({data:t,timestamp:Date.now()}))}catch{}}const P={0:{main:"Clear",description:"Clear sky"},1:{main:"Clear",description:"Mainly clear"},2:{main:"Clouds",description:"Partly cloudy"},3:{main:"Clouds",description:"Overcast"},45:{main:"Fog",description:"Fog"},48:{main:"Fog",description:"Depositing rime fog"},51:{main:"Drizzle",description:"Light drizzle"},53:{main:"Drizzle",description:"Moderate drizzle"},55:{main:"Drizzle",description:"Dense drizzle"},56:{main:"Drizzle",description:"Freezing drizzle"},57:{main:"Drizzle",description:"Heavy freezing drizzle"},61:{main:"Rain",description:"Slight rain"},63:{main:"Rain",description:"Moderate rain"},65:{main:"Rain",description:"Heavy rain"},66:{main:"Rain",description:"Light freezing rain"},67:{main:"Rain",description:"Heavy freezing rain"},71:{main:"Snow",description:"Slight snow"},73:{main:"Snow",description:"Moderate snow"},75:{main:"Snow",description:"Heavy snow"},77:{main:"Snow",description:"Snow grains"},80:{main:"Rain",description:"Rain showers"},81:{main:"Rain",description:"Moderate rain showers"},82:{main:"Rain",description:"Heavy rain showers"},85:{main:"Snow",description:"Snow showers"},86:{main:"Snow",description:"Heavy snow showers"}
1,95:{main:"Thunderstorm",description:"Thunderstorm"},96:{main:"Thunderstorm",description:"Thunderstorm with hail"},99:{main:"Thunderstorm",description:"Thunderstorm with heavy hail"}};function K(r){return{Clear:"☀️",Clouds:"☁️",Rain:"🌧️",Drizzle:"🌦️",Thunderstorm:"⛈️",Snow:"❄️",Mist:"🌫️",Fog:"🌫️",Haze:"🌫️",Smoke:"🌫️",Dust:"🌫️",Sand:"🌫️",Ash:"🌫️",Squall:"💨",Tornado:"🌪️"}[r]||"🌡️"}function Se(r){return{Clear:"from-sky-400 to-blue-500",Clouds:"from-slate-400 to-gray-500",Rain:"from-slate-500 to-gray-600",Drizzle:"from-slate-400 to-gray-500",Thunderstorm:"from-slate-600 to-gray-800",Snow:"from-slate-200 to-blue-200",Mist:"from-slate-300 to-gray-400",Fog:"from-slate-300 to-gray-400"}[r]||"from-sky-400 to-blue-500"}function ke(r){switch(r){case"extreme":return"bg-red-600 text-white";case"severe":return"bg-red-500 text-white";case"moderate":return"bg-orange-500 text-white";case"minor":return"bg-yellow-500 text-black";default:return"bg-blue-500 text-white"}}function ze(r,t,o){const[m,f]=C.useState(null),[s,w]=C.useState([]),[E,S]=C.useState(!1),[L,v]=C.useState(null),k=async()=>{var h;if(!r||!t||!o){v("Location coordinates not available");return}const z=ye(o),D=ve(o);if(z){f(z),D&&w(D);return}S(!0),v(null);try{const l=await fetch(`https://api.open-meteo.com/v1/forecast?latitude=${r}&longitude=${t}&current=temperature_2m,relative_humidity_2m,apparent_temperature,weather_code,wind_speed_10m,surface_pressure,cloud_cover,visibility,dew_point_2m&hourly=temperature_2m,precipitation_probability,weather_code&daily=weather_
1code,temperature_2m_max,temperature_2m_min,precipitation_probability_max,sunrise,sunset,uv_index_max&temperature_unit=fahrenheit&wind_speed_unit=mph&timezone=auto&forecast_days=7`);if(!l.ok)throw new Error("Weather fetch failed");const n=await l.json(),H=n.current.weather_code,$=P[H]||{main:"Clear",description:"Unknown"},A=((h=n.daily.uv_index_max)==null?void 0:h[0])||0,O=((n.current.visibility||1e4)/1609.34).toFixed(1),I={temp:Math.round(n.current.temperature_2m),feels_like:Math.round(n.current.apparent_temperature),humidity:n.current.relative_humidity_2m,wind_speed:Math.round(n.current.wind_speed_10m),description:$.description,icon:$.main.toLowerCase(),main:$.main,pressure:Math.round(n.current.surface_pressure),visibility:parseFloat(O),cloud_cover:n.current.cloud_cover||0,dew_point:Math.round(n.current.dewpoint_2m||0),uv_index:A},_=new Date().getHours(),W=n.hourly.time.slice(_,_+24).map((u,c)=>{const p=_+c,a=n.hourly.weather_code[p],i=P[a]||{main:"Clear",description:"Unknown"},j=new Date(u);return{time:u,hour:j.toLocaleTimeString("en-US",{hour:"numeric",hour12:!0}),temp:Math.round(n.hourly.temperature_2m[p]),precipitation_probability:n.hourly.precipitation_probability[p]||0,main:i.main,description:i.description}}),B=n.daily.time.map((u,c)=>{var j,d,g,x;const p=n.daily.weather_code[c],a=P[p]||{main:"Clear",description:"Unknown"},i=new Date(u);return{date:u,day:i.toLocaleDateString("en-US",{weekday:"short"}),high:Math.round(n.daily.temperature_2m_max[c]),low:Math.round(n.daily.temperature_2m_min[c]),description:a.description,icon:a.main.toLowerCase(),main:a.main,precipitation_probability:((j=n.daily.precipitation_probability_max)==null?void 0:j[c])||0,sunrise:((d=n.daily.sunrise)==null?void 0:d[c])||"",sunset:((g=n.daily.sunset)==null?void 0:g[c])||"",uv_index:((x=n.daily.uv_index_max)==null?void 0:x[c])||0}}),F={current:I,hourly:W,forecast:B,lastUpdated:new Date().toISOString()};f(F),_e(o,F);try{const u=await fetch(`https://api.weather.gov/alerts/active?point=${r},${t}`,{headers:{"User-Agent":"IAmLocalAI Weather App"}});if(u.ok){const p=((await u.json()).features||[]).map(a=>{var i;return{id:a.id,event:a.properties.event,severity:((i=a.properties.severity)==null?void 0:i.toLowerCase())||"unknown",headline:a.properties.headline,description:a.properties.description,expires:a.properties.expires,areaDesc:a.properties.areaDesc}});w(p),Ce(o,p)}}catch{w([])}}catch(l){ne.error("useWeather","Weather fetch error",l),v(l instanceof Error?l.message:"Failed to fetch weather")}finally{S(!1)}};return C.useEffect(()=>{r&&t&&o&&k()},[r,t,o]),{data:m,alerts:s,isLoading:E,error:L,refetch:k}}const De=["restaurants","cafes","spas-wellness","shopping","entertainment","museums","bars-nightlife"],$e=["outdoor-activities","parks","tours","beaches-lakes","golf","hiking","sports-recreation"],Ae=["beaches-lakes","pools","ice-cream","shopping","spas-wellness","entertainment"];function tt(){var c,p;const r=ie(),{city:t,isLoading:o}=oe(),[m,f]=C.useState("radar"),{data:s,alerts:w,isLoading:E,error:S,refetch:L}=ze(t==null?void 0:t.latitude,t==null?void 0:t.longitude,t==null?void 0:t.id),v=((c=s==null?void 0:s.current)==null?void 0:c.temp)||50,k=((p=s==null?void 0:s.current)==null?void 0:p.main)||"",z=["Rain","Drizzle","Thunderstorm"].includes(k),D=k==="Snow",h=v<50||z||D,l=v>85,n=()=>h?De:l?Ae:$e,H=()=>h?`Cozy Indoor Spots in ${(t==null?void 0:t.name)||"Town"}`:l?`Beat the Heat in ${(t==null?void 0:t.name)||"Town"}`:`Get Outside in ${(t==null?void 0:t.name)||"Town"}`,$=()=>h?e.jsx(fe,{className:"h-6 w-6 text-blue-500"}):l?e.jsx(J,{className:"h-6 w-6 text-orange-500"}):e.jsx(Ne,{className:"h-6 w-6 text-yellow-500"}),{data:A,isLoading:O}=le({queryKey:["weather-businesses",t==null?void 0:t.id,h,l],queryFn:async()=>{if(!(t!=null&&t.id))return[];const a=n(),{data:i}=await T.from("categories").select("id, slug").in("slug",a);if(!i||i.length===0){const{data:b}=await T.from("businesses").select("id, name, description, category, address, city, state, phone, website, logo_url, photos, deals, slug, public_path").eq("city_id",t.id).eq("approved_status","approved").limit(6);return b||[]}const j=i.map(b=>b.id),{data:d}=await T.from("subcategories").select("id").in("category_id",j),g=(d==null?void 0:d.map(b=>b.id))||[];let x=T.from("businesses").select("id, name, description, category, address, city, state, phone, website, logo_url, photos, deals, slug, public_path").eq("city_id",t.id).eq("approved_status","approved");g.length>0&&(x=x.in("subcategory_id",g));const{data:q}=await x.limit(6);if(!q||q.length<4){const{data:b}=await T.from("businesses").select("id, name, description, category, address, city, state, phone, website, logo_url, photos, deals, slug, public_path").eq("city_id",t.id).eq("approved_status","approved").limit(6);return b||[]}return q},enabled:!!(t!=null&&t.id)&&!!(s!=null&&s.current)});if(ce.useEffect(()=>{!o&&!t&&r("/select-city")},[t,o,r]),o)return e.jsxs("div",{className:"min-h-screen bg-background",children:[e.jsx(Q,{}),e.jsxs("div",{className:"container mx-auto px-4 py-8",children:[e.jsx(y,{className:"h-64 w-full rounded-2xl mb-8"}),e.jsx(y,{className:"h-32 w-full rounded-xl mb-8"}),e.jsx("div",{className:"grid grid-cols-7 gap-4",children:[...Array(7)].map((a,i)=>e.jsx(y,{className:"h-32 rounded-xl"},i))})]})]});if(!t)return null;const I=`${t.name}, ${t.state||t.country||""}`,U=(t==null?void 0:t.latitude)&&(t==null?void 0:t.longitude),_=t==null?void 0:t.latitude,W=t==null?void 0:t.longitude,B=()=>{var g;const a=((g=s==null?void 0:s.current)==null?void 0:g.description)||"",i=new Date().getHours()<12?"morning":new Date().getHours()<17?"afternoon":"evening";let d=`It's a ${h?"cold":l?"hot":"pleasant"}, ${a.toLowerCase()} ${i} in ${t.name}. `;if(s!=null&&s.forecast&&s.forecast.length>0){const x=s.forecast[0];D?d+=`Expect snow with temperatures dropping to ${x.low}°F overnight.`:z?d+=`Rain is expected with temperatures around ${x.low}°F tonight.`:h?d+=`Tonight's low will be around ${x.low}°F.`:l?d+="Stay hydrated as temperatures will remain warm.":d+="Conditions look comfortable for the rest of the day."}return d},F=`${t.name}, ${t.state||t.country} Weather | 7-Day Forecast`,u=s!=null&&s.current?`Current weather in ${t.name}: ${s.current.temp}°F, ${s.current.description}. 7-day forecast and local recommendations.`:`Weather forecast for ${t.name}, ${t.state||t.country}. Plan your visit with current conditions and 7-day forecast.`;return e.jsxs("div",{className:"min-h-screen bg-background flex flex-col",children:[e.jsxs(de,{children:[e.jsx("title",{children:F}),e.jsx("meta",{name:"description",content:u}),e.jsx("link",{rel:"canonical",href:`${window.location.origin}/weather`})]}),e.jsx(Q,{}),e.jsxs("main",{className:"flex-1",children:[U?E?e.jsx("section",{className:"py-16 bg-gradient-to-br from-sky-4
100 to-blue-500",children:e.jsxs("div",{className:"container mx-auto px-4 text-center",children:[e.jsx(y,{className:"h-24 w-24 rounded-full mx-auto mb-4 bg-white/20"}),e.jsx(y,{className:"h-8 w-48 mx-auto mb-2 bg-white/20"}),e.jsx(y,{className:"h-6 w-32 mx-auto bg-white/20"})]})}):S?e.jsx("section",{className:"py-16",children:e.jsxs("div",{className:"container mx-auto px-4 text-center",children:[e.jsx(Z,{className:"h-16 w-16 mx-auto text-muted-foreground mb-4"}),e.jsx("h1",{className:"text-3xl font-display font-bold text-foreground mb-4",children:"Unable to Load Weather"}),e.jsx("p",{className:"text-muted-foreground mb-6",children:S}),e.jsxs(N,{onClick:L,children:[e.jsx(ee,{className:"h-4 w-4 mr-2"}),"Try Again"]})]})}):s!=null&&s.current?e.jsx("section",{className:`py-16 bg-gradient-to-br ${Se(s.current.main)} text-white`,children:e.jsx("div",{className:"container mx-auto px-4",children:e.jsxs("div",{className:"max-w-4xl mx-auto text-center",children:[e.jsxs("div",{className:"flex items-center justify-center gap-2 mb-6 text-white/90",children:[e.jsx(me,{className:"h-5 w-5"}),e.jsx("span",{className:"text-lg font-medium",children:I})]}),e.jsxs("div",{className:"mb-8",children:[e.jsx("span",{className:"text-8xl md:text-9xl",role:"img","aria-label":s.current.description,children:K(s.current.main)}),e.jsxs("div",{className:"text-7xl md:text-8xl font-bold mt-4",children:[s.current.temp,"°F"]}),e.jsx("p",{className:"text-2xl font-medium text-white/90 mt-2 capitalize",children:s.current.description})]}),e.jsxs("div",{className:"grid grid-cols-3 gap-4 max-w-lg mx-auto",children:[e.jsxs("div",{className:"bg-white/20 backdrop-blur-sm rounded-xl p-4",children:[e.jsx(J,{className:"h-5 w-5 mx-auto mb-2 text-white/80"}),e.jsx("p",{className:"text-sm text-white/80",children:"Feels Like"}),e.jsxs("p",{className:"text-xl font-bold",children:[s.current.feels_like,"°F"]})]}),e.jsxs("div",{className:"bg-white/20 backdrop-blur-sm rounded-xl p-4",children:[e.jsx(ge,{className:"h-5 w-5 mx-auto mb-2 text-white/80"}),e.jsx("p",{className:"text-sm text-white/80",children:"Humidity"}),e.jsxs("p",{className:"text-xl font-bold",children:[s.current.humidity,"%"]})]}),e.jsxs("div",{className:"bg-white/20 backdrop-blur-sm rounded-xl p-4",children:[e.jsx(te,{className:"h-5 w-5 mx-auto mb-2 text-white/80"}),e.jsx("p",{className:"text-sm text-white/80",children:"Wind"}),e.jsxs("p",{className:"text-xl font-bold",children:[s.current.wind_speed," mph"]})]})]}),s.lastUpdated&&e.jsxs("p",{className:"text-sm text-white/70 mt-6",children:["Updated ",V(new Date(s.lastUpdated),"h:mm a"),e.jsx("button",{onClick:L,className:"ml-2 hover:text-white transition-colors",children:e.jsx(ee,{className:"h-4 w-4 inline"})})]})]})})}):null:e.jsx("section",{className:"py-16",children:e.jsxs("div",{className:"container mx-auto px-4 text-center",children:[e.jsx(Z,{className:"h-16 w-16 mx-auto text-muted-foreground mb-4"}),e.jsxs("h1",{className:"text-3xl font-display font-bold text-foreground mb-4",children:["Weather for ",t.name]}),e.jsx("p",{className:"text-muted-foreground max-w-md mx-auto",children:"Weather data is not available for this location. Please check back later or contact support to add coordinates for this city."})]})}),(s==null?void 0:s.current)&&e.jsx("section",{className:"py-6 bg-muted/30",children:e.jsx("div",{className:"container mx-auto px-4",children:e.jsx(M,{className:"border-0 bg-transparent shadow-none",children:e.jsx(R,{className:"p-0",children:e.jsx("p",{className:"text-lg text-foreground/90 text-center max-w-2xl mx-auto leading-relaxed",children:B()})})})})}),w&&w.length>0&&e.jsx("section",{className:"py-6",children:e.jsx("div",{className:"container mx-auto px-4",children:e.jsx("div",{className:"space-y-3",children:w.map(a=>e.jsx("div",{className:`rounded-lg p-4 ${ke(a.severity)}`,children:e.jsxs("div",{className:"flex items-start gap-3",children:[e.jsx(we,{className:"h-5 w-5 flex-shrink-0 mt-0.5"}),e.jsxs("div",{className:"flex-1",children:[e.jsx("h3",{className:"font-bold",children:a.event}),e.jsx("p",{className:"text-sm opacity-90 mt-1",children:a.headline}),a.expires&&e.jsxs("p",{className:"text-xs opacity-75 mt-2",children:["Expires: ",V(new Date(a.expires),"MMM d, h:mm a")]})]})]})},a.id))})})}),(s==null?void 0:s.hourly)&&s.hourly.length>0&&e.jsx("section",{className:"py-8",children:e.jsxs("div",{className:"container mx-auto px-4",children:[e.jsx("h2",{className:"text-xl font-display font-bold text-foreground mb-4",children:"Hourly Forecast"}),e.jsxs(xe,{className:"w-full whitespace-nowrap",children:[e.jsx("div",{className:"flex gap-3 pb-4",children:s.hourly.map((a,i)=>e.jsx(M,{className:`flex-shrink-0 w-20 text-center ${i===0?"border-primary bg-primary/5":""}`,children:e.jsxs(R,{className:"p-3",children:[e.jsx("p",{className:`text-xs font-medium mb-2 ${i===0?"text-primary":"text-muted-foreground"}
1`,children:i===0?"Now":a.hour}),e.jsx("span",{className:"text-2xl",role:"img","aria-label":a.description,children:K(a.main)}),e.jsxs("p",{className:"font-bold text-foreground mt-1",children:[a.temp,"°"]}),a.precipitation_probability>0&&e.jsxs("p",{className:"text-xs text-blue-500 flex items-center justify-center gap-0.5 mt-1",children:[e.jsx(G,{className:"h-3 w-3"}),a.precipitation_probability,"%"]})]})},a.time))}),e.jsx(he,{orientation:"horizontal"})]})]})}),(s==null?void 0:s.forecast)&&s.forecast.length>0&&e.jsx("section",{className:"py-8 bg-muted/30",children:e.jsxs("div",{className:"container mx-auto px-4",children:[e.jsx("h2",{className:"text-xl font-display font-bold text-foreground mb-4",children:"7-Day Forecast"}),e.jsx("div",{className:"grid grid-cols-2 sm:grid-cols-4 lg:grid-cols-7 gap-3",children:s.forecast.map((a,i)=>e.jsx(M,{className:`text-center ${i===0?"border-primary bg-primary/5":""}`,children:e.jsxs(R,{className:"p-4",children:[e.jsx("p",{className:"font-medium text-foreground mb-2",children:i===0?"Today":a.day}),e.jsx("span",{className:"text-3xl",role:"img","aria-label":a.description,children:K(a.main)}),e.jsxs("div",{className:"mt-2",children:[e.jsxs("span",{className:"font-bold text-foreground",children:[a.high,"°"]}),e.jsxs("span",{className:"text-muted-foreground ml-1",children:[a.low,"°"]})]}),a.precipitation_probability>0&&e.jsxs("p",{className:"text-xs text-blue-500 flex items-center justify-center gap-0.5 mt-1",children:[e.jsx(G,{className:"h-3 w-3"}),a.precipitation_probability,"%"]}),e.jsx("p",{className:"text-xs text-muted-foreground mt-1 capitalize truncate",children:a.description})]})},a.date))})]})}),U&&e.jsx("section",{className:"py-8",children:e.jsxs("div",{className:"container mx-auto px-4",children:[e.jsxs("h2",{className:"text-xl font-display font-bold text-foreground mb-4 flex items-center gap-2",children:[e.jsx(je,{className:"h-5 w-5"}),"Live Weather Map"]}),e.jsxs("div",{className:"flex flex-wrap gap-2 mb-4",children:[e.jsxs(N,{variant:m==="radar"?"default":"outline",onClick:()=>f("radar"),size:"sm",children:[e.jsx(G,{className:"h-4 w-4 mr-1"})," Radar"]}),e.jsxs(N,{variant:m==="snowAccu"?"default":"outline",onClick:()=>f("snowAccu"),size:"sm",children:[e.jsx(be,{className:"h-4 w-4 mr-1"})," Snow"]}),e.jsxs(N,{variant:m==="temp"?"default":"outline",onClick:()=>f("temp"),size:"sm",children:[e.jsx(J,{className:"h-4 w-4 mr-1"})," Temp"]}),e.jsxs(N,{variant:m==="wind"?"default":"outline",onClick:()=>f("wind"),size:"sm",children:[e.jsx(te,{className:"h-4 w-4 mr-1"})," Wind"]})]}),e.jsx(M,{className:"overflow-hidden",children:e.jsx(R,{className:"p-0",children:e.jsx("iframe",{src:`https://embed.windy.com/embed2.html?lat=${_}&lon=${W}&zoom=8&level=surface&overlay=${m}&menu=&message=true&marker=true&calendar=now&pressure=&type=map&location=coordinates&detail=&detailLat=${_}&detailLon=${W}&metricWind=mph&metricTemp=%C2%B0F`,width:"100%",height:"450",frameBorder:"0",className:"w-full rounded-xl",title:"Weather Map",loading:"lazy"})})})]})}),(s==null?void 0:s.current)&&e.jsx("section",{className:"py-12 bg-muted/30",children:e.jsxs("div",{className:"container mx-auto px-4",children:[e.jsxs("div",{className:"flex items-center justify-between mb-6",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[$(),e.jsx("h2",{className:"text-2xl font-display font-bold text-foreground",children:H()})]}),e.jsx(X,{to:"/listings",children:e.jsxs(N,{variant:"outline",className:"gap-2",children:["View All",e.jsx(Y,{className:"h-4 w-4"})]})})]}),O?e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6",children:[...Array(6)].map((a,i)=>e.jsx(y,{className:"h-80 rounded-2xl"},i))}):A&&A.length>0?e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6",children:A.map(a=>e.jsx(ue,{business:{...a,photos:Array.isArray(a.photos)?a.photos:null,deals:Array.isArray(a.deals)?a.deals:null}},a.id))}):e.jsx(M,{className:"p-8 text-center",children:e.jsxs(R,{className:"p-0",children:[e.jsxs("p",{className:"text-muted-foreground mb-4",children:["Discover local businesses in ",t.name]}),e.jsx(X,{to:"/listings",children:e.jsxs(N,{children:["Explore All ",t.name," Businesses",e.jsx(Y,{className:"h-4 w-4 ml-2"})]})})]})})]})})]}),e.jsx(pe,{cityName:t.name,citySlug:t.slug})]})}
1export{tt 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.