1import{r as i,j as e,L as d}from"./react-vendor-BDHNqS4B.js";import{b as c}from"./Header-BkbupWq-.js";import{F as p}from"./Footer-CtylQEAH.js";import{a,P as n,b as f,g as u}from"./AppDownloadCTA-DAEixTy3.js";import{u as x}from"./useSEO-CoArDrdl.js";import{u as l,b as g}from"./main-m_sUF2N4.js";import{A as w}from"./chevron-right-CpkQxGj-.js";import"./amplify-DYDcjoow.js";import"./check-DS0-tR9o.js";import"./tag-D40gy_Nl.js";import"./query-7-WHkg5t.js";import"./textarea-D7qsgB_p.js";import"./reportService-tEzofQZ6.js";import"./phone-B2rvvDkK.js";import"./type-CVgQCqWZ.js";const v="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2037%2037'%20shape-rendering='crispEdges'%3e%3cpath%20fill='%23ffffff'%20d='M0%200h37v37H0z'/%3e%3cpath%20stroke='%23000000'%20d='M4%204.5h7m1%200h3m1%200h4m2%200h3m1%200h7M4%205.5h1m5%200h1m1%200h1m3%200h2m2%200h3m3%200h1m5%200h1M4%206.5h1m1%200h3m1%200h1m4%200h2m3%200h1m3%200h1m1%200h1m1%200h3m1%200h1M4%207.5h1m1%200h3m1%200h1m1%200h1m3%200h1m1%200h2m1%200h1m1%200h1m2%200h1m1%200h3m1%200h1M4%208.5h1m1%200h3m1%200h1m2%200h4m1%200h1m1%200h1m2%200h2m1%200h1m1%200h3m1%200h1M4%209.5h1m5%200h1m2%200h1m2%200h2m1%200h6m1%200h1m5%200h1M4%2010.5h7m1%200h1m1%200h1m1%200h1m1%200h1m1%200h1m1%200h1m1%200h1m1%200h7M12%2011.5h1m1%200h1m1%200h1m2%200h4M4%2012.5h1m1%200h2m1%200h3m5%200h1m1%200h1m1%200h2m3%200h1m2%200h1m1%200h2M4%2013.5h1m6%200h2m3%200h4m3%200h6m3%200h1M6%2014.5h6m3%200h3m2%200h1m1%200h1m2%200h1m2%200h1m1%200h2M6%2015.5h1m4%200h1m3%200h1m4%200h1m1%200h1m1%200h4m4%200h1M5%2016.5h3m2%200h2m2%200h3m1%200h2m1%200h1m1%200h1m3%200h1m1%200h2M4%2017.5h1m1%200h1m2%200h1m1%200h1m1%200h1m1%200h1m2%200h1m1%200h1m2%200h1m2%200h1m3%200h3M4%2018.5h2m4%200h2m2%200h4m1%200h7m4%200h3M4%2019.5h1m2%200h1m3%200h1m2%200h1m1%200h1m1%200h1m1%200h1m1%200h2m1%200h1m1%200h2m2%200h1M4%2020.5h1m3%200h1m1%200h3m2%200h2m1%200h3m1%200h1m1%200h2m2%200h2m1%200h1M5%2021.5h1m1%200h3m3%200h1m1%200h1m2%200h1m1%200h2m2%200h1m2%200h1m1%200h3M4%2022.5h1m1%200h1m2%200h2m1%200h3m2%200h4m5%200
1h3m1%200h1M6%2023.5h1m1%200h2m1%200h2m1%200h5m2%200h1m1%200h1m6%200h1M5%2024.5h3m1%200h7m1%200h2m1%200h3m1%200h7M12%2025.5h5m2%200h4m1%200h1m3%200h5M4%2026.5h7m1%200h3m1%200h1m1%200h2m2%200h3m1%200h1m1%200h2m1%200h1M4%2027.5h1m5%200h1m1%200h1m2%200h5m2%200h3m3%200h2M4%2028.5h1m1%200h3m1%200h1m2%200h1m7%200h1m2%200h5m1%200h1m1%200h1M4%2029.5h1m1%200h3m1%200h1m1%200h1m3%200h2m3%200h1m1%200h1m1%200h1m1%200h3m1%200h1M4%2030.5h1m1%200h3m1%200h1m1%200h2m2%200h1m3%200h1m2%200h2m2%200h1m2%200h1m1%200h1M4%2031.5h1m5%200h1m3%200h4m1%200h2m3%200h3m1%200h2m1%200h1M4%2032.5h7m1%200h5m5%200h3m2%200h1m1%200h1m1%200h1'/%3e%3c/svg%3e";function b(){if(typeof navigator>"u")return"desktop";const m=navigator.userAgent||navigator.vendor||"";return/iPad|iPhone|iPod/.test(m)||/Macintosh/.test(m)&&navigator.maxTouchPoints>1?"ios":/android/i.test(m)?"android":"desktop"}function M(m){switch(m){case"ios":return a;case"android":return n;case"desktop":return null;default:return m}}const B=()=>{const{t:m}=l(),[h,s]=i.useState("desktop");i.useEffect(()=>{const r=b();s(r);const t=M(r);t&&(window.location.href=t)},[]);const o=h==="desktop";return x({title:m("download.seo.title"),description:m("download.seo.description"),keywords:m("download.seo.keywords"),canonicalUrl:"https://petwellhk.com/download",structuredData:{"@context":"https://schema.org","@type":"MobileApplication",name:"PetWell",operatingSystem:"iOS, Android",applicationCategory:"LifestyleApplication",url:"https://petwellhk.com/download",downloadUrl:[a,n],offers:{"@type":"Offer",price:"0",priceCurrency:"HKD"},description:m("download.seo.description")},speakableSelectors:["h1",".download-subtitle"]}),e.jsxs("div",{className:"flex min-h-screen flex-col bg-background",children:[e.jsx(c,{}),e.jsxs("main",{className:"relative flex flex-1 items-center justify-center overflow-hidden px-4 py-16 md:py-24",children:[e.jsx("div",{className:"home-hero-bg pointer-events-none absolute inset-0","aria-hidden":"true"}),e.jsxs("div",{className:"relative mx-auto w-full max-w-lg text-center",children:[e.jsx("p",{className:"home-reveal home-section-label",children:m("download.eyebrow")}),e.jsxs("h1",{className:"home-reveal home-reveal-delay-1 mt-4 text-4xl font-bold leading-[1.1] tracking-tight text-foreground md:text-5xl",children:[m("download.title"),e.jsx("span",{className:"mt-1 block font-['Instrument_Serif',Georgia,serif] text-[1.12em] font-normal italic text-primary",children:m("download.titleHighlight")})]}),e.jsx("p",{className:"download-subtitle home-reveal home-reveal-delay-2 mx-auto mt-5 max-w-md text-base leading-relaxed text-muted-foreground md:text-lg",children:m("download.subtitle")}),e.jsx("div",{className:"home-reveal home-reveal-delay-3 mt-10",children:e.jsx(j,{platform:h})}),o?e.jsxs("div",{className:"home-reveal home-reveal-delay-3 mx-auto mt-10 flex max-w-sm items-center gap-4 roun
1ded-xl border border-border bg-background/80 p-4 text-left",children:[e.jsx("img",{src:v,alt:m("download.scanLabel"),width:96,height:96,className:"h-24 w-24 shrink-0 rounded-md bg-white p-1"}),e.jsxs("div",{children:[e.jsx("p",{className:"text-sm font-semibold text-foreground",children:m("download.scanLabel")}),e.jsx("p",{className:"mt-1 text-sm leading-snug text-muted-foreground",children:m("download.scanHint")})]})]}):null,e.jsx("p",{className:"home-reveal home-reveal-delay-4 mt-10 text-sm text-muted-foreground",children:e.jsxs(d,{to:"/about",className:"inline-flex items-center gap-1 font-medium text-foreground underline-offset-4 transition-colors hover:text-primary hover:underline",children:[m("download.aboutCta"),e.jsx(w,{className:"h-3.5 w-3.5","aria-hidden":!0})]})})]})]}),e.jsx(p,{})]})};function j({platform:m}){const{t:h}=l(),s=m!=="android",o=[{id:"ios",href:a,src:f,alt:h("download.appStoreAlt")},{id:"android",href:n,src:u,alt:h("download.playStoreAlt")}],r=s?o:[o[1],o[0]];return e.jsxs("div",{className:"flex flex-wrap items-center justify-center gap-3",children:[e.jsx("span",{className:"sr-only",children:h("download.storesLabel")}),r.map(t=>e.jsx("a",{href:t.href,target:m==="desktop"?"_blank":void 0,rel:"noopener noreferrer",className:g("inline-flex h-12 w-[162px] items-center justify-center rounded-lg transition-opacity duration-200 hover:opacity-80 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2"),children:e.jsx("img",{src:t.src,alt:t.alt,className:"h-12 w-[162px] object-contain"})},t.id))]})}export{B 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.