1import{j as s,L as A,r as w}from"./react-vendor-BDHNqS4B.js";import{u as H,P as T}from"./useNearbyPlaceSearch-x_utv8ac.js";import{C as q}from"./card-U4xgiZnN.js";import{C as E}from"./ClinicImage-CFSfW4FY.js";import{u as V}from"./main-m_sUF2N4.js";import{C as W}from"./clock-CRHi7pcr.js";import{S as B}from"./star-Dim9pf51.js";import{M as O}from"./Footer-CtylQEAH.js";import{u as K,g as N,a as D,b as M}from"./useHomeVisitProviders-BVHuzPdz.js";import{u as Q}from"./useSearchQueryFromUrl-jHjzcbFS.js";import{u as $}from"./useSEO-CoArDrdl.js";import{g as _}from"./distance-Bwcv1qLg.js";import"./amplify-DYDcjoow.js";import"./Header-BkbupWq-.js";import"./chevron-right-CpkQxGj-.js";import"./check-DS0-tR9o.js";import"./tag-D40gy_Nl.js";import"./query-7-WHkg5t.js";import"./FAQSection-CoCzp6cx.js";import"./accordion-DxrqSPr2.js";import"./index-BZFL-brE.js";import"./DirectAnswerBox-Bx52E2kD.js";import"./lock-CHPI1fFl.js";import"./DiscoverPlaceTabs-DPoC_wAS.js";import"./AppDownloadCTA-DAEixTy3.js";import"./shield-check-we62WOC3.js";import"./search-BSw3vufk.js";import"./sliders-horizontal-zztTPW4P.js";import"./hongKongDistricts--r8_jlh4.js";import"./skeleton-CDto_fTL.js";import"./textarea-D7qsgB_p.js";import"./reportService-tEzofQZ6.js";import"./phone-B2rvvDkK.js";import"./type-CVgQCqWZ.js";import"./availableHours-DsyGI15X.js";const U=3;function z({name:l,coverageSummary:g,district:n,image:x,detailPath:c,offerings:p=[],speciesLabels:m=[],is247:f,is247Label:t,rating:h=0,distanceLabel:o}){const{t:i}=V(),a=p.slice(0,U),b=Math.max(p.length-a.length,0),u=[g||n||"",...m.slice(0,3)].filter(Boolean).join(" · ");return s.jsx("article",{children:s.jsx(q,{className:"overflow-hidden rounded-xl transition-shadow hover:shadow-strong",children:s.jsxs(A,{to:c,className:"block",children:[s.jsxs("div",{className:"flex min-h-[96px] flex-row",children:[s.jsxs("div",{className:"relative w-[88px] shrink-0 self-stretch overflow-hidden bg-muted sm:w-[108px]",children:[s.jsx(E,{imageKey:x,alt:l,objectFit:"contain",className:"h-full w-full p-1.5"}),f&&t?s.jsxs("span",{className:"absolute left-1 top-1 inline-flex items-center gap-0.5 rounded-full bg-white/95 px-1.5 py-0.5 text-[10px] font-semibold text-primary shadow-sm",children:[s.jsx(W,{className:"h-2.5 w-2.5","aria-hidden":"true"}),t]}):null,o?s.jsx("span",{className:"absolute right-1 top-1 rounded-full bg-black/55 px-1.5 py-0.5 text-[10px] font-semibold tabular-nums text-white",children:o}):null]}),s.jsxs("div",{className:"flex min-w-0 flex-1 flex-col justify-center gap-1 px-3 py-2.5 sm:px-4",children:[s.jsxs("header",{className:"flex items-start justify-between gap-3",children:[s.jsx("h2",{className:"text-[15px] font-bold leading-snug text-foreground sm:text-[17px]",children:l}),h>0?s.jsxs("span",{className:"inline-flex shrink-0 items-center gap-1 text-sm text-muted-foreground",children:[s.jsx(B,{className:"h-3.5 w-3.5 fill-primary text-primary","aria-hidden":"true"}),s.jsx("span",{className:"font-medium text-foreground",children:h.toFixed(1)})]}):null]}),u?s.jsxs("p",{className:"flex min-w-0 items-start gap-1.5 text-xs text-muted-foreground sm:text-sm",children:[s.jsx(O,{className:"mt-0.5 h-3.5 w-3.5 shrink-0 text-primary","aria-hidden":"true"}),s.jsx("span",{className:"line-clamp-2",children:u})]}):null]})]}),a.length>0?s.jsxs("div",{className:"border-t border-border bg-muted/35",children:[a.map(r=>s.jsxs("div",{className:"flex items-baseline justify-between gap-3 border-b border-border/60 px-3 py-2 last:border-b-0 sm:px-4",children:[s.jsx("span",{className:"min-w-0 truncate text-sm text-foreground",children:r.name}),r.price?s.jsx("span",{className:"max-w-[42%] shrink-0 truncate text-sm font-semibold tabular-nums text-primary",children:r.price}):null]},r.key)),b>0?s.jsx("p",{className:"px-3 py-2 text-xs font-medium text-primary sm:px-4",children:i("homeVisitPlaces.moreServices",{count:b})}):null]}):null]})})})}const G=["grooming","emergency"],L=[{question:"馿¸¯é度æå¯µç©ä¸éæåï¼",answer:"馿¸¯æå¤éæä¾å¯µç©ä¸é診çãç«èãå¥åº·æª¢æ¥åæ¥çæ¯æ´å
æåãPetWell æ´çå
¨æ¸¯å¯µç©ä¸éæååè¡¨ï¼æ¹ä¾¿ä½ æå°åã寵ç©ç¨®é¡åæåé¡å篩é¸ï¼åç¶ WhatsApp æé»è©±ç´æ¥è¯çµ¡ã"},{question:"寵ç©ä¸éæåè¦èéå²å°åï¼",answer:"æ¯éæåå
è¦èç¯åååï¼æå²å
¨æ¸¯ä¸éï¼æå²åªè¦èæå®ååæåå¾ç¯åãPetWell æé¡¯ç¤ºæåç¯åæè¦ï¼å¹«ä½ å
ç¢ºèªæåæå»å°ä½ å±ä¼éè¿ã"},{question:"寵ç©ä¸éæåæ¶è²»é»æ¨£ï¼",answer:"æ¶è²»è¦ä¹è¨ºéãè·¯ç¨åæåé¡åãé¨åæååæå
¬éèµ·æ¥å¹æååæ¶è²»ï¼å¦è©³æ
é æªæå¹é¢ï¼å»ºè°ç¨ WhatsApp æé»è©±æ¥è©¢ææ°å ±å¹ã"},{question:"黿¨£é ç´å¯µç©ä¸éæåï¼",answer:"夿¸æåéè¦é ç´ãä½ å¯ä»¥åºè©³æ
é æ³ WhatsAppãé»è©±æç¶²ä¸é ç´é£çµè¯çµ¡æååï¼ç¢ºèªæéãè¦èç¯ååæ¶è²»ã"}],Ie=()=>{var j;const[l,g]=w.useState("all"),[n,x]=Q(),[c,p]=w.useState(!1),[m,f]=w.useState(""),{t,i18n:h}=V(),o=h.language==="en"?"en":"zh",i=H(),{providers:a,isLoading:b,error:v}=K({region:i.nearbyActive?"all":l,keyword:n,is247:c||void 0,serviceCategory:m||void 0,location:i.nearbyActive?i.coords??void 0:void 0},h.language),u=[{value:"all",label:t("homeVisitPlaces.regions.all")},{value:"Kowloon",label:t("homeVisitPlaces.regions.kowloon")},{value:"Hong Kong",label:t("homeVisitPlaces.regions.hongKong")},{value:"New Territories",label:t("homeVisitPlaces.regions.newTerritories")}],r=[...l!=="all"?[((j=u.find(e=>e.value===l))==null?void 0:j.label)??""]:[],...c?[t("homeVisitPlaces.filter24Hour")]:[],...m?[N(m,o)]:[],...n.trim()?[`"${n.trim()}
1"`]:[]].filter(Boolean),S=r.length>0,C=()=>{i.exitNearby(),g("all"),x(""),p(!1),f("")},y="https://petwellhk.com/home-visits",k="ã2026ã馿¸¯å¯µç©ä¸éæåï½ä¸é診çãç«èãæ¥çï½PetWell HK",P="æå°é¦æ¸¯å¯µç©ä¸éæåï¼ä¸é診çãç«èæ¥ç¨®ãå¥åº·æª¢æ¥åæ¥çæ¯æ´ãæå°åã寵ç©ç¨®é¡åæåç¯å篩é¸ï¼WhatsAppï¼é»è©±ä¸éµè¯çµ¡ã",F="寵ç©ä¸éæå,馿¸¯ä¸éç¸é«,寵ç©ä¸é診ç,ä¸éç«è,å¯µç©æ¥çä¸é,home visit vet hong kong",I=w.useMemo(()=>[{"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,name:"PetWell HK",item:"https://petwellhk.com/"},{"@type":"ListItem",position:2,name:"馿¸¯å¯µç©ä¸éæå",item:y}]},{"@context":"https://schema.org","@type":"CollectionPage",name:"馿¸¯å¯µç©ä¸éæåå表",description:P,url:y,numberOfItems:a.length},{"@context":"https://schema.org","@type":"ItemList",name:"馿¸¯å¯µç©ä¸éæåå表",description:P,url:y,numberOfItems:a.length,itemListElement:a.slice(0,50).map((e,d)=>({"@type":"ListItem",position:d+1,item:{"@type":"LocalBusiness",name:e.name,url:`https://petwellhk.com/home-visits/${e.id}`,telephone:e.phone||void 0,description:e.coverageSummary}}))}],[a,P]);$({title:k,description:P,keywords:F,canonicalUrl:y,structuredData:I,faqItems:L,speakableSelectors:[".hero-summary",".faq-answer","h1"]});const R=[{id:"24hour",label:t("homeVisitPlaces.filter24Hour"),active:c,onToggle:()=>p(e=>!e)},...G.map(e=>({id:`service-${e}`,label:N(e,o),active:m===e,onToggle:()=>f(d=>d===e?"":e)}))];return s.jsx(T,{heroMode:"find",title:t("homeVisitPlaces.pageTitle"),subtitle:t("homeVisitPlaces.subtitle"),description:t("homeVisitPlaces.description"),trustBadge:t("homeVisitPlaces.trustBadge"),searchPlaceholder:t("homeVisitPlaces.searchPlaceholder"),searchQuery:n,onSearchChange:x,filterByRegionLabel:t("homeVisitPlaces.filterByRegion"),filtersLabel:t("homeVisitPlaces.filtersLabel"),regions:u,selectedRegion:l,onRegionChange:e=>{i.exitNearby(),g(e)},nearbyActive:i.nearbyActive,onSearchNearby:i.requestNearby,isRequestingNearby:i.isRequesting,policyFilters:R,activeFilterLabels:r,hasActiveFilters:S,onClearFilters:C,clearFiltersLabel:t("homeVisitPlaces.clearFilters"),isLoading:b,error:v,errorTitle:t("homeVisitPlaces.error"),errorSubtitle:t("homeVisitPlaces.errorSubtitle"),resultCount:a.length,resultsCountLabel:t("homeVisitPlaces.resultsCount",{count:a.length}),noResults:t("homeVisitPlaces.noResults"),noResultsHint:t("homeVisitPlaces.noResultsHint"),suggestPlaceCategory:"homeVisit",listAriaLabel:t("homeVisitPlaces.pageTitle"),ctaTitle:t("homeVisitPlaces.ctaTitle"),ctaDescription:t("homeVisitPlaces.ctaDescription"),directQuestion:"馿¸¯é度æå¯µç©ä¸éæåï¼",directAnswer:"馿¸¯æå¤é寵ç©ä¸é診çåç¸éæåãPetWell æä¾å
¨æ¸¯å¯µç©ä¸éæåå表ï¼é¡¯ç¤ºæåç¯åã寵ç©ç¨®é¡ãWhatsAppï¼é»è©±è¯çµ¡æ¹å¼ï¼æ¹ä¾¿ä¸»äººé ç´ä¸éã",faqItems:L,faqTitle:"寵ç©ä¸éæå常è¦åé¡",children:s.jsx("div",{className:"flex flex-col gap-3",children:a.map(e=>s.jsx(z,{name:e.name,coverageSummary:e.coverageSummary,district:e.district,image:e.image,detailPath:`/home-visits/${e.id}`,offerings:D(e,o),speciesLabels:e.speciesServed.slice(0,4).map(d=>M(d,o)),rating:e.rating,is247:e.is247,is247Label:t("homeVisitPlaces.filter24Hour"),distanceLabel:_(i.nearbyActive,i.coords,e.location,t)},e.id))})})};export{Ie 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.