PageSourceSearch

https://petwellhk.com/assets/MidAutumnFestivalConfirmed-DmCsid80.js

js petwellhk.com collected 2026-10-06 05:23:24 UTC 3,526 bytes, 1 lines download raw bytes

1import{q as x,r,j as e,L as l}from"./react-vendor-BDHNqS4B.js";import{b as f,H as h}from"./Header-BkbupWq-.js";import{F as g}from"./Footer-CtylQEAH.js";import{B as d}from"./main-m_sUF2N4.js";import{u as j}from"./useSEO-CoArDrdl.js";import{g as N,f as b,M as v,k as A}from"./midAutumnFestival2026-GVaMxjdF.js";import{f as M,d as w,b as k}from"./midAutumnMetaPixel-CU7nfzNg.js";import{C}from"./circle-check-DgLC__8_.js";import{M as E}from"./message-circle-B5m25ymx.js";import"./amplify-DYDcjoow.js";import"./chevron-right-CpkQxGj-.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 _="/assets/cover-M_LEIV8-.jpg",I=`https://wa.me/${A.whatsapp}?text=`+encodeURIComponent("你好,我想查詢毛孩沉浸式台灣中秋祭的報名。"),Y=()=>{const[c]=x(),s=c.get("ref")??"",[t,u]=r.useState(null),[i,m]=r.useState(!!s);j({title:"報名完成|毛孩沉浸式台灣中秋祭",description:"報名已提交。核對資料後,將以電郵發送入場確認。",canonicalUrl:`https://petwellhk.com${N}`,noindex:!0}),r.useEffect(()=>{if(!s){m(!1);return}let a=!1;return M(s).then(o=>{a||u(o)}).catch(o=>{console.error("Failed to load mid-autumn booking:",o)}).finally(()=>{a||m(!1)}),()=>{a=!0}},[s]),r.useEffect(()=>{t&&w(k(t))},[t]);const n=(t==null?void 0:t.status)==="paid",p=(t==null?void 0:t.status)==="registered";return e.jsxs("div",{className:"min-h-[100dvh] bg-background",children:[e.jsx(f,{}),e.jsx("img",{src:_,alt:"毛孩沉浸式台灣中秋祭",className:"block h-auto w-full",width:1600,height:900}),e.jsx("section",{className:"container mx-auto max-w-xl px-4 py-12 md:py-16",children:e.jsxs("div",{className:"rounded-lg border border-border bg-background p-8 text-center shadow-sm md:p-10",children:[e.jsx("div",{className:"mx-auto mb-5 flex h-14 w-14 items-center justify-center rounded-full bg-primary/10",children:e.jsx(C,{className:"h-8 w-8 text-primary"})}),e.jsx("h1",{className:"mb-3 text-2xl font-bold md:text-3xl",children:i?"正在載入報名":n?"已收到付款證明":"感謝報名"}),e.jsx("p",{className:"mb-2 text-muted-foreground",children:i?"請稍候,正在核對報名編號。":n?"核對付款後,將以電郵發送入場確認信及工作坊時段。請帶備確認信及手帶資料到場。":p?"免費手帶已預留。入場確認將發送至登記電郵。如需加購工作坊,可再次報名最後 3 日特價。":"我們已收到報名資料。如有工作坊預約,請確保已完成付款。"}),t&&e.jsxs("p",{className:"mb-8 text-sm text-muted-foreground",children:["報名編號 ",t.id,t.quote.total>0?` · ${b(t.quote.total)}`:""]}),!t&&e.jsx("div",{className:"mb-8"}),e.jsxs("div",{className:"mb-6 grid gap-3",children:[e.jsx(d,{asChild:!0,size:"lg",variant:"outline",className:"w-full gap-2",children:e.jsxs("a",{href:I,target:"_blank",rel:"noopener noreferrer",children:[e.jsx(E,{className:"h-5 w-5"}),"WhatsApp 聯絡我們"]})}),e.jsx(d,{asChild:!0,variant:"ghost",className:"gap-2 text-muted-foreground",children:e.jsxs(l,{to:"/",children:[e.jsx(h,{className:"h-4 w-4"}),"返回主頁"]})})]}),e.jsxs("p",{className:"text-xs text-muted-foreground",children:["如需更改時段或加購工作坊,可",e.jsx(l,{to:v,className:"mx-1 font-medium text-foreground underline-offset-2 hover:underline",children:"重新報名"}),"或聯絡 WhatsApp 客服。"]})]})}),e.jsx(g,{})]})};export{Y 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.