PageSourceSearch

https://www.suburbandiagnostics.com/_next/static/chunks/pages/heal…/_diabetesPackageCard-8ffc3d44a0d784fb.js

js suburbandiagnostics.com collected 2026-10-01 16:27:47 UTC 5,972 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6508],{50680:function(e,t,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/health-library/diabetes/_diabetesPackageCard",function(){return s(86074)}])},45043:function(e,t,s){"use strict";var i=s(85893);s(67294);var l=s(93967),a=s.n(l);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:l="primary",block:r=!1,disabled:d=!1,isLoading:o=!1,className:c="",startIcon:u,endIcon:m,...h}=e;return(0,i.jsxs)("button",{disabled:d,...h,className:a()(c,"relative flex items-center shadow-btnshadow rounded-lg",n({size:s,color:l,isLoading:o,block:r})),children:[!d&&o&&(0,i.jsx)("span",{className:"pl-3",children:(0,i.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,i.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"})})}),u&&(0,i.jsx)("span",{className:"h-full pl-3 flex items-center",children:(0,i.jsx)("img",{className:"w-3 h-3",src:u,alt:"startIcon",width:16,height:16})}),(0,i.jsx)("span",{className:"py-1 px-3 text-center flex-grow",children:t}),m&&(0,i.jsx)("div",{className:"bg-theme h-full w-11 rounded-tl-[25px] rounded-r-lg flex items-center justify-center",children:(0,i.jsx)("img",{className:"w-4 h-auto",src:m,alt:"endIcon",width:16,height:16})})]})}},10804:function(e,t,s){"use strict";s.d(t,{j:function(){return r}});var i=s(85893),l=s(15914),a=s(93967),n=s.n(a);let r=e=>{let{className:t="",children:s=null}=e;return(0,i.jsxs)("span",{className:n()(t,"items-center font-bold"),children:[(0,i.jsx)("span",{children:l.Z.CURRENCY}),s]})}},65237:function(e,t,s){"use strict";var i=s(85893),l=s(45043),a=s(40605),n=s(98374),r=s(17590),d=s(52800),o=s(25675),c=s.n(o),u=s(11163);s(67294);var m=s(86455),h=s.n(m);t.Z=e=>{let{data:t}=e,s=(0,u.useRouter)(),{addToCart:o,existInCart:m,removeToCart:x}=(0,d.Z)();async function p(){(null==t?void 0:t.code)&&(m(null==t?void 0:t.code)||await o(t),s.push(a.Z.CART))}return(0,i.jsxs)("div",{className:"flex justify-end gap-2 items-center",children:[m(null==t?void 0:t.code)&&(0,i.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,i.jsx)(c(),{src:r.Z.DeleteIcon,className:"w-6 h-6",alt:"",width:24,height:24})}),(0,i.jsx)(l.Z,{endIcon:n.Z.ArrowRight,className:" rounded-lg text-white md:w-[150px] w-[125px] md:text-sm text-xs ",onClick:p,children:(0,i.jsx)("span",{children:m(null==t?void 0:t.code)?"GO TO CART":"BOOK NOW"})})]})}},86074:function(e,t,s){"use strict";s.r(t);var i=s(85893),l=s(25675),a=s.n(l),n=s(41664),r=s.n(n),d=s(45852),o=s(40605),c=s(2813),u=s(10804),m=s(65237);t.default=e=>{var t;let{test:s,image:l}=e,{selectedCity:n}=(0,d.I)(),h=(0,c.Ch)(s);return(0,c.qB)(s),(0,i.jsxs)("div",{className:"bg-homepackages shadow-packages rounded-md 2xl:mx-8 mx-3 h-full",children:[(0,i.jsx)("div",{className:" bg-[#28d5d278] rounded-md",children:(0,i.jsx)(a(),{src:l,unoptimized:!0,width:283,height:188,className:"px-1 pt-1 mx-auto",alt:(null==s?void 0:s.item_name)||""})}),(0,i.jsxs)("div",{className:"md:pt-3 md:pb-4 pb-3 pt-3 h-full",children:[(0,i.jsx)("div",{className:"bg-sky py-1 px-3 line-clamp-1 leading-7 text-white font-bold rounded-r-md my-2 w-[80%]",children:null==s?void 0:s.item_name}),(0,i.jsx)("div",{className:"md:px-3 px-2 flex justify-between items-center",children:(0,i.jsxs)("div",{className:"inline-flex space-x-2 items-center",children:[h&&(0,i.jsx)(u.j,{
1className:"text-sky-08C font-normal tracking-wider line-through",children:h}),(0,i.jsx)(u.j,{className:"text-theme text-base",children:null==s?void 0:s.price})]})}),(0,i.jsx)("hr",{className:"border-[1.5px] border-blue-094 opacity-40 mt-4"}),(0,i.jsx)("div",{children:(0,i.jsxs)("div",{className:"md:px-3 px-2 pt-4 flex flex-wrap justify-between items-center gap-3",children:[(0,i.jsx)(m.Z,{data:(0,c.HG)(s),type:"submit",className:"w-[200px] rounded-lg text-white md:text-sm text-xs ",children:"BOOK NOW"}),(0,i.jsx)("div",{className:"",children:(0,i.jsx)(r(),{href:{pathname:"".concat(o.Z.TEST_AND_PACKAGE,"/").concat(null==n?void 0:null===(t=n.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 rounded-md bg-theme py-2 px-2 text-white focus:outline-none data-[hover]:bg-theme data-[focus]:outline-1 data-[focus]:outline-white cursor-pointer",children:"More Details"})})]})})]})]})}}},function(e){e.O(0,[8166,9036,2888,9774,179],function(){return e(e.s=50680)}),_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.