PageSourceSearch

https://www.suburbandiagnostics.com/_next/static/chunks/pages/heal…/diabetes/_diabetesTest-dc9c90e102ba84a7.js

js suburbandiagnostics.com collected 2026-10-01 16:27:48 UTC 7,975 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2303],{54944:function(e,t,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/health-library/diabetes/_diabetesTest",function(){return s(49424)}])},45043:function(e,t,s){"use strict";var l=s(85893);s(67294);var i=s(93967),a=s.n(i);let n=(0,s(99036).tv)({base:"cursor-pointer whitespace-nowrap select-none outline-none hover:opacity-90 transition-all duration-300 ease-in-out disabled:opacity-90 disabled:border disabled:shadow-none disabled:!border-[#d9d9d9] disabled:!bg-disable-bg disabled:!text-disable disabled:cursor-not-allowed",variants:{color:{primary:"btn-primary",theme:"bg-theme text-white",previous:"text-black-3D3 border border-black-A2A",dark:"bg-black-8B8 text-white","yellow-light":"bg-purple-500 text-white","success-light":"bg-purple-500 text-white",danger:"bg-danger text-white"},size:{medium:"text-[15px] h-9",small:"text-sm h-7",large:"text-base h-10"},block:{true:"!w-full"},isLoading:{true:"!opacity-50 !cursor-not-allowed"}},compoundVariants:[{size:["medium","small","large"],class:""}],defaultVariants:{size:"medium",color:"primary"}});t.Z=e=>{let{children:t,size:s="medium",color:i="primary",block:r=!1,disabled:o=!1,isLoading:d=!1,className:c="",startIcon:m,endIcon:u,...h}=e;return(0,l.jsxs)("button",{disabled:o,...h,className:a()(c,"relative flex items-center shadow-btnshadow rounded-lg",n({size:s,color:i,isLoading:d,block:r})),children:[!o&&d&&(0,l.jsx)("span",{className:"pl-3",children:(0,l.jsx)("svg",{className:"animate-spin mr-2",viewBox:"0 0 1024 1024",focusable:"false","data-icon":"loading",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,l.jsx)("path",{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"})})}),m&&(0,l.jsx)("span",{className:"h-full pl-3 flex items-center",children:(0,l.jsx)("img",{className:"w-3 h-3",src:m,alt:"startIcon",width:16,height:16})}),(0,l.jsx)("span",{className:"py-1 px-3 text-center flex-grow",children:t}),u&&(0,l.jsx)("div",{className:"bg-theme h-full w-11 rounded-tl-[25px] rounded-r-lg flex items-center justify-center",children:(0,l.jsx)("img",{className:"w-4 h-auto",src:u,alt:"endIcon",width:16,height:16})})]})}},10804:function(e,t,s){"use strict";s.d(t,{j:function(){return r}});var l=s(85893),i=s(15914),a=s(93967),n=s.n(a);let r=e=>{let{className:t="",children:s=null}=e;return(0,l.jsxs)("span",{className:n()(t,"items-center font-bold"),children:[(0,l.jsx)("span",{children:i.Z.CURRENCY}),s]})}},65237:function(e,t,s){"use strict";var l=s(85893),i=s(45043),a=s(40605),n=s(98374),r=s(17590),o=s(52800),d=s(25675),c=s.n(d),m=s(11163);s(67294);var u=s(86455),h=s.n(u);t.Z=e=>{let{data:t}=e,s=(0,m.useRouter)(),{addToCart:d,existInCart:u,removeToCart:x}=(0,o.Z)();async function p(){(null==t?void 0:t.code)&&(u(null==t?void 0:t.code)||await d(t),s.push(a.Z.CART))}return(0,l.jsxs)("div",{className:"flex justify-end gap-2 items-center",children:[u(null==t?void 0:t.code)&&(0,l.jsx)("span",{className:"cursor-pointer",onClick:()=>void h().fire({text:"Are you sure you want to remove the test?",icon:"error",showCancelButton:!0,confirmButtonColor:"#d3615b",cancelButtonColor:"#8B8B8B",width:"350px",confirmButtonText:"Remove"}).then(e=>{e.isConfirmed&&x(null==t?void 0:t.code)}),children:(0,l.jsx)(c(),{src:r.Z.DeleteIcon,className:"w-6 h-6",alt:"",width:24,height:24})}),(0,l.jsx)(i.Z,{endIcon:n.Z.ArrowRight,className:" rounded-lg text-white md:w-[150px] w-[125px] md:text-sm text-xs ",onClick:p,children:(0,l.jsx)("span",{children:u(null==t?void 0:t.code)?"GO TO CART":"BOOK NOW"})})]})}},49424:function(e,t,s){"use strict";s.r(t);var l=s(85893),i=s(67294),a=s(46066),n=s(45852),r=s(96997),o=s(15914),d=s(23862);t.default=e=>{let{healthCheckupRef:t,testCodeList:s}=e,{selectedCity:c}=(0,n.I)(),[m,u]=(0,i.useState)([]),{data:h}=(0,r.J)({city_id:null==c?void 0:c.id,page:1,item_id:null==s?void 0:s.join(","),category:"43",size:"8"});(0,i.useEffect)(()=>{h&&(null==h?void 0:h.result)&&u(null==h?void 0:h.result)},[h]);var x={infinite:(null==m?void 0:m.length)>3,autoplay:!1,dots:!1,speed:500,slidesToShow:3,slidesToScroll:1,arrows:!0,responsive:[{breakpoint:1280,settings:{slidesToShow:3,slidesToScroll:3}},{breakpoint:1024,settings:{slidesToShow:2,slidesToScroll:2}},{breakpoint:768,settings:{slidesToShow:2,slidesToScroll:2}},{breakpoint:640,settings:{slidesToShow:1,slidesToScroll:1}},{breakpoint:480,settings:{slidesToShow:1,slidesToScroll:1,arrow:!1}}]};return(0,l.jsx)(l.Fragment,{children:(0,l.jsx)("div",{className:"md:mt-6 mt-5 mb-1 md:mb-8",ref:t,children:m&&(null==m?void 0:m.length)>0?(0,l.jsx)("div",{className:"flex justify-center items-center",children:(0,l.jsx)(a.Z,{...x,className:"promotion_slider center_arrow_slider md:w-full w-[82%]  flex justify-center",children:m&&(null==m?void 0:m.length)>0&&(null==m?void 0:m.map((e,t)=>{let s="".concat(o.Z.IMAGE_BASE_URL,"/home/homepage/pakages_n/").concat(null==e?void 0:e.item_id,".webp");return(0,l.jsx)(d.default,{test:e,image:s},"".concat(null==e?void 0:e.test_code).concat(t))}))})}):(0,l.jsx)("div",{className:"col-span-4",children:(0,l.jsx)("p",{className:"text-center font-bold text-xl",children:"Sorry, no packages found"})})})})}},23862:function(e,t,s){"use strict";s.r(t);var l=s(85893);s(67294);var i=s(41664),a=s.n(i),n=s(45852),r=s(98374),o=s(40605),d=s(2813),c=s(10804),m=s(65237);t.default=e=>{var t;let{test:s,image:i}=e,{selectedCity:u}=(0,n.I)(),h=(0,d.Ch)(s),x=(0,d.qB)(s);return(0,l.jsx)(l.Fragment,{children:(0,l.jsx)("div",{className:"bg-homepackages shadow-packages rounded-md 2xl:mx-3 mx-1 my-3 h-full",children:(0,l.jsxs)("div",{className:"md:pt-3 md:pb-4 pb-3 pt-3 h-full",children:[(0,l.jsxs)("div",{className:"px-3 bg-blue-e5f py-2 text-blue text-base",children:[(0,l.jsx)("h3",{className:"font-semibold text-theme-843 line-clamp-1",children:null==s?void 0:s.item_name}),(0,l.jsx)("p",{className:"mt-2 text-black-3D3 font-medium md:text-base text-sm",children:"Basic Health Check-Up"})]}),(0,l.jsx)("div",{className:"px-2 flex-1",children:(0,l.jsx)("div",{className:"sm:block flex flex-wrap items-center gap-x-4",children:(null==x?void 0:x.parameterCount)>0&&(0,l.jsxs)("div",{className:"flex gap-x-1 items-center",children:[(0,l.jsx)("img",{src:r.Z.Parameter,className:"h-6 w-6",alt:"Parameter"}
1),(0,l.jsxs)("span",{className:"text-[#676767]",children:[null==x?void 0:x.parameterCount," parameters"]})]})})}),(0,l.jsx)("div",{className:"md:px-3 px-2 flex justify-end items-center",children:(0,l.jsx)(a(),{href:{pathname:"".concat(o.Z.TEST_AND_PACKAGE,"/").concat(null==u?void 0:null===(t=u.city_name)||void 0===t?void 0:t.toLowerCase(),"/").concat((null==s?void 0:s.slug_name)||(null==s?void 0:s.item_id)),query:(null==s?void 0:s.slug_name)?null:{item_id:null==s?void 0:s.item_id}},className:"text-[15px] font-medium text-nowrap items-center gap-1 text-[#4B20FF] focus:outline-none data-[hover]:bg-theme data-[focus]:outline-1 data-[focus]:outline-white cursor-pointer",children:"More Details"})}),(0,l.jsx)("hr",{className:"border-[1.5px] border-blue-094 opacity-40 mt-4"}),(0,l.jsx)("div",{children:(0,l.jsxs)("div",{className:"md:px-3 px-2 pt-4 flex flex-wrap justify-between items-center gap-3",children:[(0,l.jsx)(m.Z,{data:(0,d.HG)(s),type:"submit",className:"w-[200px] rounded-lg text-white md:text-sm text-xs ",children:"BOOK NOW"}),(0,l.jsx)("div",{className:"",children:(0,l.jsxs)("div",{className:"inline-flex space-x-2 items-center",children:[h&&(0,l.jsx)(c.j,{className:"text-sky-08C font-normal tracking-wider line-through",children:h}),(0,l.jsx)(c.j,{className:"text-theme text-base",children:null==s?void 0:s.price})]})})]})})]})})})}}},function(e){e.O(0,[8166,9036,6066,2888,9774,179],function(){return e(e.s=54944)}),_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.