PageSourceSearch

https://simplypetsmagazine.com/assets/HeartbeatProduct-B0BBvOGM.js

js simplypetsmagazine.com collected 2026-10-10 00:48:46 UTC 5,926 bytes, 1 lines download raw bytes

1import{r as n,j as e,J as c,s as g,g as y,L as m}from"./index-CbWENut2.js";import{F as d}from"./FloatingHeader-DF0oYIhI.js";import{o as b,s as j,M as p}from"./ModernFooter-Av6iRPBT.js";import{S as v}from"./SEO-BeKRXPC2.js";import{g as N}from"./heartbeatProducts-U622q8d1.js";import"./XIcon-C9j-zBM3.js";import"./x-CH_4iegq.js";import"./chevron-down-BjkXIOGb.js";import"./button-BucoUFel.js";import"./index-CO6u9dmq.js";import"./input-BEfmVqB6.js";import"./dialog-xqmDyc9q.js";import"./index-BCU4jq7B.js";import"./index-CcFgV5tu.js";import"./index-QYmF_wln.js";import"./use-toast-BjBSSpKK.js";import"./mail-mW8C1EOn.js";import"./book-open-BrjH7xFp.js";import"./chevron-right-BwAzJqfe.js";import"./heart-D6Y6ZDI2.js";import"./heartbeat-sweatshirt-CMAsvsYh.js";const k=b({email:j().trim().email({message:"Please enter a valid email."}).max(255)}),w=({productSlug:l})=>{const[s,r]=n.useState(""),[a,t]=n.useState(!1),[x,h]=n.useState(!1),u=async i=>{i.preventDefault();const o=k.safeParse({email:s});if(!o.success){c.error(o.error.issues[0].message);return}t(!0);const{error:f}=await g.from("heartbeat_waitlist").insert({email:o.data.email,product_slug:l});if(t(!1),f){c.error("Something went wrong. Please try again.");return}h(!0),c.success("You're on the list. We'll be in touch.")};return x?e.jsx("p",{className:"text-[15px] italic text-[hsl(var(--soft-black))]/75",style:{fontFamily:"'Alegreya', serif"},children:"Thank you, we'll let you know the moment it's ready."}):e.jsxs("form",{onSubmit:u,className:"flex flex-col gap-3 sm:flex-row sm:items-stretch",children:[e.jsx("label",{htmlFor:"notify-email",className:"sr-only",children:"Email address"}),e.jsx("input",{id:"notify-email",type:"email",required:!0,value:s,onChange:i=>r(i.target.value),placeholder:"[email protected]",maxLength:255,className:"flex-1 rounded-[10px] border border-[hsl(var(--burgundy))]/25 bg-white/70 px-4 py-3 text-[15px] text-[hsl(var(--soft-black))] placeholder:text-[hsl(var(--soft-black))]/40 focus:border-[hsl(var(--burgundy))]/60 focus:outline-none",style:{fontFamily:"'Inter', sans-serif"}}),e.jsx("button",{type:"submit",disabled:a,className:"rounded-[10px] bg-[hsl(var(--burgundy))] px-6 py-3 text-[12px] font-semibold uppercase tracking-[0.32em] text-white transition-opacity duration-300 hover:opacity-90 disabled:opacity-60",style:{fontFamily:"'Inter', sans-serif"},children:a?"Sending…":"Notify Me"})]})},R=()=>{const{slug:l=""}=y(),s=N(l);if(!s)return e.jsxs("main",{className:"min-h-screen bg-[hsl(40_33%_95%)]",children:[e.jsx(d,{}),e.jsxs("section",{className:"px-6 pt-40 pb-20 text-center",children:[e.jsx("h1",{className:"text-[34px] text-[hsl(var(--soft-black))]",style:{fontFamily:"'Alegreya', serif"},children:"We couldn't find that piece."}),e.jsx(m,{to:"/heartbeat-collection",className:"mt-6 inline-block text-[13px] font-semibold uppercase tracking-[0.32em] text-[hsl(var(--burgundy))]",style:{fontFamily:"'Inter', sans-serif"},children:"Back to the Collection →"})]}),e.jsx(p,{})]});const[r,...a]=s.images;return e.jsxs("main",{className:"min-h-screen bg-[hsl(40_33%_95%)]",children:[e.jsx(v,{title:`${s.name} | The Heartbeat Collection · Simply Pets Lifestyle`,description:s.description,canonicalPath:`/product/${s.slug}`}),e.jsx(d,{}),e.jsx("section",{className:"px-6 pt-28 pb-20 md:pt-36 md:pb-28 lg:px-10",children:e.jsxs("div",{className:"mx-auto max-w-[1200px]",children:[e.jsx(m,{to:"/heartbeat-collection",className:"mb-10 inline-block text-[11px] font-semibold uppercase tracking-[0.32em] text-[hsl(var(--burgundy))]/75 transition-opacity hover:opacity-70",style:{fontFamily:"'Inter', sans-serif"},children:"← The Heartbeat Collection"}),e.jsxs("div",{className:"grid grid-cols-1 gap-12 md:grid-cols-2 md:gap-16",children:[e.jsxs("div",{className:"space-y-5",children:[e.jsx("div",{className:"overflow-hidden rounded-[16px] bg-[hsl(40_28%_92%)] shadow-[0_24px_60px_-30px_hsl(0_40%_15%/0.4)]",children:e.jsx("img",{src:r.src,alt:r.alt,width:1280,height:1280,className:"aspect-square w-full object-cover",loading:"lazy",decoding:"async"})}),a.length>0&&e.jsx("div",{className:"grid grid-cols-2 gap-5",children:a.map(t=>e.jsx("div",{className:"overflow-hidden rounded-[12px] bg-[hsl(40_28%_92%)]",children:e.jsx("img",{src:t.src,alt:t.alt,loading:"lazy",width:640,height:640,className:"aspect-square w-full object-cover"})},t.src))})]}),e.jsxs("div",{className:"md:pt-6",children:[e.jsx("p",{className:"text-[10px] font-semibold uppercase tracking-[0.42em] text-[hsl(var(--burgundy))]/75",style:{fontFamily:"'Inter', sans-serif"},children:s.category}),e.jsxs("h1",{className:"mt-4 text-[34px] leading-[1.08] text-[hsl(var(--soft-black))] md:text-[44px]",style:{fontFamily:"'Alegreya', 'Cormorant Garamond', serif",textWrap:"balance"},children:["“",s.phrase,"”"]}),e.jsx("p",{className:"mt-6 text-[17px] leading-[1.85] text-[hsl(var(--soft-black))]/80",style:{fontFamily:"'Alegreya', serif"},children:s.description}),e.jsxs("div",{className:"mt-10 flex items-baseline gap-4",children:[e.jsxs("span",{className:"text-[22px] text-[hsl(var(--soft-black))]",style:{fontFamily:"'Alegreya', serif"},children:["$",s.priceUSD]}),s.status==="coming-soon"&&e.jsx("span",{className:"rounded-full border border-[hsl(var(--burgundy))]/30 px-3 py-1 text-[10px] font-semibold uppercase tracking-[0.32em] text-[hsl(var(--burgundy))]/80",style:{fontFamily:"'Inter', sans-serif"},children:"Coming Soon"})]}),e.jsxs("div",{className:"mt-8 max-w-[440px]",children:[e.jsx("p",{className:"mb-4 text-[11px] font-semibold uppercase tracking-[0.32em] text-[hsl(var(--burgundy))]/80",style:{fontFamily:"'Inter', sans-serif"},children:"Notify Me When Available"}),e.jsx(w,{productSlug:s.slug}),e.jsx("p",{className:"mt-4 text-[12px] italic text-[hsl(var(--soft-black))]/55",style:{fontFamily:"'Alegreya', serif"},children:"We'll send a single, gentle email, no marketing noise."})]})]})]})]})}),e.jsx(p,{})]})};export{R 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.