1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[725,9587],{21163:function(e,t,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/promotion-and-discount/[promotionSlug]",function(){return i(11776)}])},89587:function(e,t,i){"use strict";i.r(t);var n=i(85893);i(67294);var l=i(88767),o=i(68342);let a=["globalTestSearchList"];t.default=e=>{let{isLoading:t=!1}=e,i=(0,l.useIsFetching)({predicate:e=>{var t;let i=(null===(t=e.queryKey.at(0))||void 0===t?void 0:t.toString())||"";return null!=i&&!!i.includes("user")}}),s=(0,l.useIsMutating)({predicate:e=>!a.includes(e.options.mutationKey)});return(0,n.jsx)(n.Fragment,{children:i+s>0||t?(0,n.jsx)("div",{className:"fixed inset-0 w-full h-full flex justify-center items-center bg-black bg-opacity-30 z-[9999999]",children:(0,n.jsx)(o.Z,{})}):null})}},68342:function(e,t,i){"use strict";var n=i(85893);i(67294),t.Z=e=>{let{color:t="#19A7A2",width:i=80,height:l=80,radius:o=15}=e;return(0,n.jsxs)("svg",{width:i,height:l,viewBox:"0 0 120 30",xmlns:"http://www.w3.org/2000/svg",fill:t,children:[(0,n.jsxs)("circle",{cx:"15",cy:"15",r:o,children:[(0,n.jsx)("animate",{attributeName:"r",from:o,to:o,begin:"0s",dur:"0.8s",values:"".concat(o,";").concat(o/1.6,";").concat(o),calcMode:"linear",repeatCount:"indefinite"}),(0,n.jsx)("animate",{attributeName:"fill-opacity",from:"1",to:"1",begin:"0s",dur:"0.8s",values:"1;.5;1",calcMode:"linear",repeatCount:"indefinite"})]}),(0,n.jsxs)("circle",{cx:"60",cy:"15",r:o/1.6,attributeName:"fill-opacity",from:"1",to:"0.3",children:[(0,n.jsx)("animate",{attributeName:"r",from:o/1.6,to:o/1.6,begin:"0s",dur:"0.8s",values:"".concat(o/1.6,";").concat(o,";").concat(o/1.6),calcMode:"linear",repeatCount:"indefinite"}),(0,n.jsx)("animate",{attributeName:"fill-opacity",from:"0.5",to:"0.5",begin:"0s",dur:"0.8s",values:".5;1;.5",calcMode:"linear",repeatCount:"indefinite"})]}),(0,n.jsxs)("circle",{cx:"105",cy:"15",r:o,children:[(0,n.jsx)("animate",{attributeName:"r",from:o,to:o,begin:"0s",dur:"0.8s",values:"".concat(o,";").concat(o/1.6,";").concat(o),calcMode:"linear",repeatCount:"indefinite"}),(0,n.jsx)("animate",{attributeName:"fill-opacity",from:"1",to:"1",begin:"0s",dur:"0.8s",values:"1;.5;1",calcMode:"linear",repeatCount:"indefinite"})]})]})}},78389:function(e,t,i){"use strict";var n=i(85893),l=i(15914),o=i(2962),a=i(11163);i(67294);var s=i(2813);t.Z=e=>{var t,i,r;let{data:c,testName:d}=e,{query:u}=(0,a.useRouter)(),m=(0,s.Yi)(),v=((null==u?void 0:u.city)||(null==m?void 0:m.city_name)||"").replace(/-/g," ").replace(/\b\w/g,e=>e.toUpperCase()),p=(null===(t=(0,s.iQ)(d))||void 0===t?void 0:t.replace(/\s+test$/i,""))||"",x={seo_title:"".concat(p," test Price in ").concat(v," - Book Online | Suburban Diagnostics"),seo_description:"Book ".concat(p," test in ").concat(v," with Suburban Diagnostics. Get fast & accurate reports, easy online booking, home sample collection or visit your nearest centre.")},h=(0,a.useRouter)(),f=(null==c?void 0:c.canonical_url)?null==c?void 0:c.canonical_url:"".concat(l.Z.ENV.PUBLIC_BASE_URL).concat(null==h?void 0:null===(i=h.asPath)||void 0===i?void 0:i.split("?")[0]),g=(null===(r=h.asPath)||void 0===r?void 0:r.startsWith("/test-menu/"))&&!c?x:c;return(0,n.jsx)(o.PB,{title:null==g?void 0:g.seo_title,description:null==g?void 0:g.seo_description,canonical:f,additionalMetaTags:[{name:"keywords",content:null==g?void 0:g.seo_keywords}],openGraph:{url:f,locale:"en_US",type:"website",title:(null==g?void 0:g.og_meta_title)||(null==g?void 0:g.seo_title),description:(null==g?void 0:g.og_meta_description)||(null==g?void 0:g.seo_description),article:{publishedTime:null==g?void 0:g.createdAt,modifiedTime:null==g?void 0:g.updatedAt},siteName:"Suburban Diagnostics"},twitter:{handle:"@handle",site:"@Suburban-diagnostics",cardType:"summary_large_image"}})}},27757:function(e,t,i){"use strict";var n=i(85893),l=i(93967),o=i.n(l);t.Z=e=>{let{className:t,container:i=!0,content:l}=e;return(0,n.jsx)("div",{className:o()("mt-6",t,{"container mx-auto":i}),children:(0,n.jsx)("div",{className:"bg-white shadow-booktest py-6 px-3 rounded-md tw-reset",dangerouslySetInnerHTML:{__html:l||""}})})}},11776:function(e,t,i){"use strict";i.r(t),i.d(t,{__N_SSP:function(){return x}});var n=i(85893),l=i(89587),o=i(78389),a=i(27757),s=i(15914),r=i(98374),c=i(7952),d=i(25675),u=i.n(d),m=i(11163),v=i(67294),p=i(36404),x=!0;t.default=e=>{var t,i,d,x,h;let{seoData:f}=e,{query:g}=(0,m.useRouter)(),[b,_]=(0,v.useState)({}),{data:j,isLoading:w}=(0,p.Ai)(g.promotionSlug);(0,v.useEffect)(()=>{_((null==j?void 0:j.result)||[])},[g]);let[N,y]=(0,v.useState)(null),k=e=>{navigator.clipboard.writeText(e).then(()=>{y(e),setTimeout(()=>y(null),1e3)})};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(o.Z,{data:f}),(0,n.jsxs)("div",{className:"mt-6 container",children:[(0,n.jsx)("div",{className:"promotions",children:(0,n.jsxs)("div",{className:"w-[100%]",children:[(0,n.jsx)(u(),{src:null===c.Z||void 0===c.Z?void 0:c.Z.PromoBanner,alt:"",width:1920,height:500,unoptimized:!0,className:"mx-auto w-full sm:!block !hidden"}),(0,n.jsx)(u(),{src:null===c.Z||void 0===c.Z?void 0:c.Z.PromoBanner,alt:"",width:640,height:500,unoptimized:!0,className:"mx-auto w-full sm:!hidden !block"})]})}),(0,n.jsx)("div",{children:(null==j?void 0:null===(t=j.result)||void 0===t?void 0:t.Id)?(0,n.jsxs)("div",{className:"bg-homeservices h-auto flex md:flex-row flex-col mt-10 p-5",children:[(0,n.jsx)("div",{className:" md:w-1/2 w-full",children:(0,n.jsx)(u(),{src:"".concat(s.Z.IMAGE_BASE_URL,"/").concat(null==j?void 0:null===(i=j.result)||void 0===i?void 0:i.Banner),width:800,height:100,unoptimized:!0,alt:"couponImg"})}),(0,n.jsx)("div",{className:"md:w-full w-full container mt-7 md:mt-0",children:(0,n.jsxs)("div",{className:"bg-pink-fcf sm:px-6 sm:py-6 px-2.5 py-2.5 text-black-1c1",children:[(0,n.jsxs)("div",{className:" flex items-center gap-5 group hover-trigger relative",children:[(0,n.jsx)("h2",{className:"text-theme font-bold md:text-2xl mb-2 capitalize text-[20px] md:text-[24px]",children:null==j?void 0:null===(d=j.result)||void 0===d?void 0:d.Name}),(0,n.jsx)("img",{onClick:()=>{var e;return k(null==j?void 0:null===(e=j.result)||void 0===e?void 0:e.Code)},src:r.Z.ClipboardIcon2,width:45,height:45,alt:"",className:"focus-visible:outline-none cursor-pointer"}),(0,n.jsx)("button",{className:"absolute flex gap-2 bottom-14 z-30 left-16 transform -translate-x-1/2 bg-black text-white text-xs px-4 py-2 rounded opacity-0 group-hover:opacity-100 transition-opacity duration-300",children:N===(null==j?void 0:null===(x=j.result)||void 0===x?void 0:x.Code)?"Copied!":"Copy"})]}),(0,n.jsx)("p",{className:"text-black-707 text-[14px] md:text-[17px] tw-reset",dangerouslySetInnerHTML:{__html:null==j?void 0:null===(h=j.result)||void 0===h?void 0:h.Description}})]})})]}):!w&&(0,n.jsx)("div",{className:"shadow-lg text-center p-6 font-semibold",children:"No data found"})}),(0,n.jsx)(l.default,{isLoading:w})]}),(null==f?void 0:f.page_content)&&(0,n.jsx)(a.Z,{content:null==f?void 0:f.page_content})]})}}},function(e){e.O(0,[2888,9774,179],function(){return e(e.s=21163)}),_N_E=e.O()}]);
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.