1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1369],{2831:function(e,s,a){"use strict";var n=a(4954),i=a(59845),t=(a(67294),a(85893));s.Z=function(e){var s=(0,n.L)();return(0,t.jsxs)("div",{className:"pharmacy-info",children:[(0,t.jsxs)("div",{className:"row align-items-center",children:[(0,t.jsx)("div",{className:"col-12 col-sm-12 col-md-6",children:(0,t.jsxs)("div",{className:"d-flex w-100",children:[(0,t.jsx)(i.lx,{mAvatar:e.avatar,isPremium:e.isPremium}),(0,t.jsxs)("div",{className:"pl-3 mb-2 w-100",children:[(0,t.jsx)("p",{className:"d-flex justify-content-between w-100",children:(0,t.jsx)("a",{href:s.getUrlWithInitParamsBySlug(e.slug),children:(0,t.jsx)("b",{children:e.name})})}),(0,t.jsxs)("div",{className:"d-flex tw-gap-1 mt-1",children:[e.discountAvailable&&(0,t.jsx)(i.FU,{}),e.freeship&&(0,t.jsx)(i.fK,{})]})]})]})}),(0,t.jsx)("div",{className:"col-12 col-sm-12 col-md-6",children:(0,t.jsxs)("div",{className:"d-flex align-items-center text-center pharmacy-reviews",style:{minWidth:280},children:[(0,t.jsxs)("p",{className:"d-inline-block text-center",children:[(0,t.jsx)("small",{className:"txt-gray",children:"\u0110\xe1nh gi\xe1"}),(0,t.jsx)("br",{}),(0,t.jsxs)("span",{className:"rating",children:[(0,t.jsx)("i",{className:"icon icon-rating"}),(0,t.jsx)("b",{children:e.rate||" - "}),"/",e.rateTime||" - "]})]}),(0,t.jsxs)("p",{className:"d-inline-block text-center",children:[(0,t.jsx)("small",{className:"txt-gray",children:"Kho\u1ea3ng c\xe1ch"}),(0,t.jsx)("br",{}),(0,t.jsx)("b",{children:e.distance||" - "})]}),(0,t.jsxs)("p",{className:"d-inline-block text-center",children:[(0,t.jsx)("small",{className:"txt-gray",children:"Ph\u1ea3n h\u1ed3i chat"}),(0,t.jsx)("br",{}),(0,t.jsx)("span",{className:"text-success",children:(0,t.jsx)("b",{children:e.responseTime||" - "})})]})]})})]}),(0,t.jsx)("div",{className:"mt-3",children:e.discountAvailable&&(0,t.jsxs)("div",{className:"d-flex",style:{backgroundColor:"#FFF1F0",padding:10},children:[(0,t.jsx)("i",{className:"iconProduct icon-upsale mr-2"})," ",(0,t.jsx)("span",{style:{color:"#F7314C"},children:"Nh\xe0 thu\u1ed1c \u0111ang khuy\u1ebfn m\xe3i"})]})})]})}},19711:function(e,s,a){"use strict";a.r(s);var n=a(83789),i=a(23352),t=a(98590),l=a(55004),r=a(54080),c=a(2831),d=a(12070),o=a(701),m=a(40370),u=a(67872),h=a(67294),x=a(39704),v=a(48212),f=a(73831),j=a(77247),p=a(85893),N=6;s.default=function(){var e,s,a=(0,u.r5)(i.Z.getPharmaciesHasOrdered),g=a.execute,b=a.status,y=(a.value,(0,v.pJ)((function(e){return e.currentAddress}))),_=(0,x.v9)((function(e){return e.profileStore})),w=(0,f.Dz)({from:0,pharmaciesHasOrdered:[],runOutData:!0});return(0,h.useEffect)((function(){(0,j.US)("screen_view",{firebase_screen:d.J2.pharmacy_history,firebase_screen_class:d.Vx.pharmacy_history})}),[]),(0,h.useEffect)((function(){var e,s;null!==y&&void 0!==y&&y.mLat&&null!==y&&void 0!==y&&y.mLng&&null!==_&&void 0!==_&&null!==(e=_.userInfo)&&void 0!==e&&e.mId&&g(null===_||void 0===_||null===(s=_.userInfo)||void 0===s?void 0:s.mId,{userGeo:{lat:null===y||void 0===y?void 0:y.mLat,lng:null===y||void 0===y?void 0:y.mLng},includeDiscount:!0,limit:N,offset:0}).then((function(e){w.updateData({pharmaciesHasOrdered:e,runOutData:e.length<N})}))}),[null===_||void 0===_||null===(e=_.userInfo)||void 0===e?void 0:e.mId,JSON.stringify(y)]),(0,h.useEffect)((function(){var e;w.data.from&&g(null===_||void 0===_||null===(e=_.userInfo)||void 0===e?void 0:e.mId,{userGeo:{lat:null===y||void 0===y?void 0:y.mLat,lng:null===y||void 0===y?void 0:y.mLng},includeDiscount:!0,limit:N,offset:w.data.from}).then((function(e){w.updateData({pharmaciesHasOrdered:[].concat((0,n.Z)(w.data.pharmaciesHasOrdered),(0,n.Z)(e)),runOutData:e.length<N})}))}),[w.data.from]),(0,p.jsxs)("div",{className:"mb-3",children:["loading"===b&&(0,p.jsx)(m.Z,{}),(0,p.jsx)(r.Z,{left:"back",title:"Nh\xe0 thu\u1ed1c \u0111\xe3 \u0111\u1eb7t",disableAddress:!0}),(0,p.jsxs)("div",{className:"container py-md-4",children:[(0,p.jsx)("h1",{style:{fontSize:20},className:"my-3 d-none d-md-block",children:"Nh\xe0 thu\u1ed1c \u0111\xe3 \u0111\u1eb7t"}),(0,p.jsx)("div",{className:"row",id:"pharmacy_list",children:null===(s=w.data.pharmaciesHasOrdered)||void 0===s?void 0:s.map((function(e,s){var a,n;return n=!(0,u.Nb)()||s+1<w.data.pharmaciesHasOrdered.length,(0,p.jsx)("div",{className:"\n col-12 col-sm-12 col-md-12 col-lg-6 py-3 \n ".concat(n&&"border-bottom","\n ").concat((s+1)%2!=0&&"border-right","\n "),children:(0,p.jsx)(c.Z,{name:e.mName,id:e.mId,isPremium:!!e.mRankText,distance:e.mPlaneDistance,responseTime:e.mResponseTimeAvgText,rate:e.mRate,rateTime:e.mRateTimeText,discounts:null===(a=e.mDiscountShorts)||void 0===a?void 0:a.map((function(e){return e.mTitle})),slug:e.mSlug,discountAvailable:e.mDiscountAvailable,freeship:e.mIsFreeShip,avatar:e.mAvatar})})}))})]}),!w.data.runOutData&&(0,p.jsx)(o.Z,{className:"m-auto mt-3",style:{width:"fit-content"},text:"Xem th\xeam",onClick:function(){return w.updateData({from:w.data.from+N})}}),(0,p.jsx)("div",{className:"d-block d-md-none bg-white",style:{marginBottom:80,marginTop:20},children:(0,p.jsx)(l.Z,{})}),(0,p.jsx)("div",{className:"d-none d-md-block",children:(0,p.jsx)(t.Z,{})})]})}},73535:function(e,s,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/nha-thuoc-da-dat",function(){return a(19711)}])}},function(e){e.O(0,[1921,9774,2888,179],(function(){return s=73535,e(e.s=s);var s}));var s=e.O();_N_E=s}]);
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.