1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[84454],{42602:function(e,t,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/medication-subscription",function(){return s(69917)}])},69917:function(e,t,s){"use strict";s.r(t),s.d(t,{__N_SSP:function(){return d},default:function(){return u}});var n=s(15311),c=s(68063),l=s(5724),i=s(20132),a=s(90794),r=e=>{let{detail:t,category:s}=e,[c,l]=(0,i.useState)(0),[r,o]=(0,i.useState)("prep"),d=(e,t)=>{l(e),o(t)};return(0,n.jsxs)("div",{className:"container mx-auto mt-32",children:[(0,n.jsx)("div",{className:"text-center xl:pt-16 text-5xl font-bold",children:(0,n.jsx)("span",{className:"title-subscribe",children:"Medication subscription"})}),(0,n.jsx)("div",{className:"pt-10 w-full",children:(0,n.jsx)("div",{className:"flex sub-scroll overflow-x-auto xl:overflow-x-hidden ".concat("bg-black"),children:s.map((e,t)=>(0,n.jsx)("button",{className:"w-full xl:w-1/4 text-center p-2 rounded-2xl bg-button-subscribe ".concat(c===t?"bg-subscribe2":"bg-button-subscribe"," m-2"),onClick:()=>d(t,e.urlFriendly),children:(0,n.jsx)("div",{children:(0,n.jsx)("span",{className:"text-base xl:text-xl font-semibold",children:e.label})})},t))})}),(0,n.jsx)("div",{className:"pt-12",children:t.filter(e=>e.cate==r).length>0?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:"flex flex-wrap",children:t.filter(e=>e.cate==r).map((e,t)=>(0,n.jsx)(a.wX,{link:"/medication-subscription/".concat(r,"/").concat(e.urlFriendly),target:!0,image:e.image,colum:"md:w-1/2 lg:w-1/3 xl:w-1/4 w-full p-2",custom:"drop-shadow-md card-subscribe bd-subscribe rounded",customimage:"w-full h-full object-cover object-center p-3",customimageblock:"relative overflow-hidden rounded-t",customtextborder:"p-3 shop-bg rounded-b-md",customtext:"line-clamp-1 text-lg pt-3 text-white",title:e.title,customtitle:"text-xl ".concat("text-white")},t))}),(0,n.jsx)("div",{className:"pt-12 flex justify-center",children:(0,n.jsx)("a",{href:"/medication-subscription/".concat(r),className:"md:w-3/12 lg:w-2/12 text-center p-3 rounded-2xl bg-button-subscribe",target:"_blank",children:(0,n.jsx)("span",{className:"text-lg font-semibold",children:"SHOW MORE"})})})]}):(0,n.jsx)("div",{className:"text-center text-4xl font-medium ".concat("text-white"," pt-5 pb-24"),children:(0,n.jsx)("span",{children:"Coming soon..."})})})]})},o=s(10590),d=!0,u=e=>{let{subscriptiondetail:t,carddetail:s}=e,{t:a,lang:d}=(0,l.Z)("common"),[u,x]=(0,i.useState)(null);return(0,i.useEffect)(()=>{(async()=>{try{var e=new URL(window.location.href),t=new FormData;t.append("url",e.href);{let e=await o.Z.post("/menus/VisitorCounter",t);200==e.status&&("Ok"==e.data.status?x(e.data.counter):x(void 0))}}catch(e){}})()},[]),(0,n.jsx)(c.Z,{title:"Medication Subscription - ",lang:d,children:(0,n.jsx)(r,{category:t,detail:s})})}}},function(e){e.O(0,[94976,97948,90716,66737,76473,85949,41,68063,90794,92888,49774,40179],function(){return e(e.s=42602)}),_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.