PageSourceSearch

https://surgerybooking.com/_nuxt/BxmFTweg.js

js surgerybooking.com collected 2026-10-07 17:00:25 UTC 999 bytes, 1 lines download raw bytes

1import{bX as m,ay as h,c as f,bY as w,b3 as C}from"./OeEvPWpJ.js";import"./jEPuPGxQ.js";const P=m(async e=>{var l;let s,n;const a=h(),d=f();if((l=e.params)!=null&&l.id)try{const i=new Promise((c,t)=>setTimeout(()=>t(new Error("Clinic fetch timeout")),3e3));[s,n]=w(()=>{var c;return Promise.race([a.getClinic((c=e.params)==null?void 0:c.id),i]).then(()=>{const t=a.clinic;if(t){const o=`${t.id}${t.slug?`/${t.slug}`:""}`,u=d(`/clinic/${o}`);e.path.includes(`/clinic/${o}`)||(e.path=u,e.fullPath=u)}}).catch(t=>{if((t==null?void 0:t.statusCode)===404||(t==null?void 0:t.statusMessage)==="Clinic not found")throw C({statusCode:404,statusMessage:"Clinic not found"});console.warn("⚠️  Clinic redirect middleware error, continuing without redirect:",t.message)})}),await s,n()}catch(i){if((i==null?void 0:i.statusCode)===404||(i==null?void 0:i.statusMessage)==="Clinic not found")throw i;console.warn("⚠️  Clinic redirect middleware error, continuing without redirect")}});export{P 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.