pat-shared-components 1.0.0-beta-14 → 1.0.0-beta-16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -29250,7 +29250,8 @@ const J$ = { class: "psc-flex-auto psc-px-2 psc-font-semibold" }, Q$ = { class:
29250
29250
  ]),
29251
29251
  Yt(it(qC), {
29252
29252
  modelValue: i.value,
29253
- "onUpdate:modelValue": h[2] || (h[2] = (f) => i.value = f)
29253
+ "onUpdate:modelValue": h[2] || (h[2] = (f) => i.value = f),
29254
+ class: "psc-w-full"
29254
29255
  }, {
29255
29256
  default: cn(() => [
29256
29257
  Z("div", Q$, [
@@ -29720,7 +29721,6 @@ const HB = {
29720
29721
  test_result_book_appointment_error_title: "\u0110\xE3 c\xF3 l\u1ED7i x\u1EA3y ra...",
29721
29722
  test_result_book_appointment_error_description: "B\u1EA1n vui l\xF2ng th\u1EED l\u1EA1i ho\u1EB7c li\xEAn h\u1EC7 Diag qua hotline 19001717 n\u1EBFu v\u1EABn kh\xF4ng th\u1EC3 \u0111\u1EB7t h\u1EB9n th\xE0nh c\xF4ng.",
29722
29723
  test_result_upcoming_appointment: "L\u1ECBch h\u1EB9n s\u1EAFp t\u1EDBi",
29723
- test_result_date_at_time: "v\xE0o {time} ng\xE0y {date}",
29724
29724
  test_result_get_started: "B\u1EAFt \u0111\u1EA7u",
29725
29725
  test_result_book_first_test: "\u0110\u1EB7t h\u1EB9n x\xE9t nghi\u1EC7m ngay",
29726
29726
  test_result_booking_account_code: "M\xE3 t\xE0i kho\u1EA3n:",
@@ -29833,7 +29833,6 @@ const HB = {
29833
29833
  test_result_book_appointment_error_title: "Something went wrong...",
29834
29834
  test_result_book_appointment_error_description: "Please try to book the appointment again or contact Diag via hotline 19001717 if the error still happens",
29835
29835
  test_result_upcoming_appointment: "Upcoming appoinment",
29836
- test_result_date_at_time: "{date} at {time}",
29837
29836
  test_result_get_started: "Get started",
29838
29837
  test_result_book_first_test: "Book your first test now",
29839
29838
  test_result_booking_account_code: "Account code:",
package/dist/index.umd.js CHANGED
@@ -127,4 +127,4 @@ __p += '`),Yt&&(st+=`' +
127
127
  function print() { __p += __j.call(arguments, '') }
128
128
  `:`;
129
129
  `)+st+`return __p
130
- }`;var Lt=bh(function(){return jt(D,gt+"return "+st).apply(e,N)});if(Lt.source=st,ic(Lt))throw Lt;return Lt}function nv(s){return Gt(s).toLowerCase()}function sv(s){return Gt(s).toUpperCase()}function iv(s,r,u){if(s=Gt(s),s&&(u||r===e))return ye(s);if(!s||!(r=hn(r)))return s;var _=$n(s),y=$n(r),D=Tu(_,y),N=Nu(_,y)+1;return Ls(_,D,N).join("")}function rv(s,r,u){if(s=Gt(s),s&&(u||r===e))return s.slice(0,Au(s)+1);if(!s||!(r=hn(r)))return s;var _=$n(s),y=Nu(_,$n(r))+1;return Ls(_,0,y).join("")}function ov(s,r,u){if(s=Gt(s),s&&(u||r===e))return s.replace(cr,"");if(!s||!(r=hn(r)))return s;var _=$n(s),y=Tu(_,$n(r));return Ls(_,y).join("")}function av(s,r){var u=wt,_=yt;if(be(r)){var y="separator"in r?r.separator:y;u="length"in r?Ot(r.length):u,_="omission"in r?hn(r.omission):_}s=Gt(s);var D=s.length;if($i(s)){var N=$n(s);D=N.length}if(u>=D)return s;var L=u-Yi(_);if(L<1)return _;var Y=N?Ls(N,0,L).join(""):s.slice(0,L);if(y===e)return Y+_;if(N&&(L+=Y.length-L),rc(y)){if(s.slice(L).search(y)){var J,tt=Y;for(y.global||(y=kl(y.source,Gt(qs.exec(y))+"g")),y.lastIndex=0;J=y.exec(tt);)var st=J.index;Y=Y.slice(0,st===e?L:st)}}else if(s.indexOf(hn(y),L)!=L){var ht=Y.lastIndexOf(y);ht>-1&&(Y=Y.slice(0,ht))}return Y+_}function lv(s){return s=Gt(s),s&&Si.test(s)?s.replace(Eo,F_):s}var cv=qi(function(s,r,u){return s+(u?" ":"")+r.toUpperCase()}),lc=vd("toUpperCase");function yh(s,r,u){return s=Gt(s),r=u?e:r,r===e?A_(s)?$_(s):Ft(s):s.match(r)||[]}var bh=It(function(s,r){try{return ge(s,e,r)}catch(u){return ic(u)?u:new Mt(u)}}),uv=ps(function(s,r){return De(r,function(u){u=Jn(u),hs(s,u,nc(s[u],s))}),s});function dv(s){var r=s==null?0:s.length,u=xt();return s=r?ie(s,function(_){if(typeof _[1]!="function")throw new xn(c);return[u(_[0]),_[1]]}):[],It(function(_){for(var y=-1;++y<r;){var D=s[y];if(ge(D[0],this,_))return ge(D[1],this,_)}})}function hv(s){return Fm(En(s,w))}function cc(s){return function(){return s}}function fv(s,r){return s==null||s!==s?r:s}var pv=xd(),_v=xd(!0);function on(s){return s}function uc(s){return Ju(typeof s=="function"?s:En(s,w))}function mv(s){return td(En(s,w))}function gv(s,r){return ed(s,En(r,w))}var yv=It(function(s,r){return function(u){return Br(u,s,r)}}),bv=It(function(s,r){return function(u){return Br(s,u,r)}});function dc(s,r,u){var _=Re(r),y=da(r,_);u==null&&!(be(r)&&(y.length||!_.length))&&(u=r,r=s,s=this,y=da(r,Re(r)));var D=!(be(u)&&"chain"in u)||!!u.chain,N=ms(s);return De(y,function(L){var Y=r[L];s[L]=Y,N&&(s.prototype[L]=function(){var J=this.__chain__;if(D||J){var tt=s(this.__wrapped__),st=tt.__actions__=nn(this.__actions__);return st.push({func:Y,args:arguments,thisArg:s}),tt.__chain__=J,tt}return Y.apply(s,Pe([this.value()],arguments))})}),s}function vv(){return ce._===this&&(ce._=j_),this}function hc(){}function kv(s){return s=Ot(s),It(function(r){return nd(r,s)})}var xv=Ul(ie),wv=Ul(ii),Ev=Ul(ri);function vh(s){return Kl(s)?q(Jn(s)):tg(s)}function Sv(s){return function(r){return s==null?e:di(s,r)}}var Dv=Ed(),Cv=Ed(!0);function fc(){return[]}function pc(){return!1}function Mv(){return{}}function Tv(){return""}function Nv(){return!0}function Ov(s,r){if(s=Ot(s),s<1||s>ee)return[];var u=Nt,_=je(s,Nt);r=xt(r),s-=Nt;for(var y=vt(_,r);++u<s;)r(u);return y}function Av(s){return Tt(s)?ie(s,Jn):fn(s)?[s]:nn($d(Gt(s)))}function Lv(s){var r=++H_;return Gt(s)+r}var Iv=ga(function(s,r){return s+r},0),Pv=Hl("ceil"),Rv=ga(function(s,r){return s/r},1),Fv=Hl("floor");function Bv(s){return s&&s.length?ua(s,on,Tl):e}function Vv(s,r){return s&&s.length?ua(s,xt(r,2),Tl):e}function $v(s){return P(s,on)}function Yv(s,r){return P(s,xt(r,2))}function Wv(s){return s&&s.length?ua(s,on,Ll):e}function Uv(s,r){return s&&s.length?ua(s,xt(r,2),Ll):e}var Hv=ga(function(s,r){return s*r},1),zv=Hl("round"),jv=ga(function(s,r){return s-r},0);function Gv(s){return s&&s.length?kt(s,on):0}function qv(s,r){return s&&s.length?kt(s,xt(r,2)):0}return x.after=my,x.ary=Zd,x.assign=sb,x.assignIn=dh,x.assignInWith=Na,x.assignWith=ib,x.at=rb,x.before=Jd,x.bind=nc,x.bindAll=uv,x.bindKey=Qd,x.castArray=My,x.chain=qd,x.chunk=Fg,x.compact=Bg,x.concat=Vg,x.cond=dv,x.conforms=hv,x.constant=cc,x.countBy=G0,x.create=ob,x.curry=th,x.curryRight=eh,x.debounce=nh,x.defaults=ab,x.defaultsDeep=lb,x.defer=gy,x.delay=yy,x.difference=$g,x.differenceBy=Yg,x.differenceWith=Wg,x.drop=Ug,x.dropRight=Hg,x.dropRightWhile=zg,x.dropWhile=jg,x.fill=Gg,x.filter=X0,x.flatMap=J0,x.flatMapDeep=Q0,x.flatMapDepth=ty,x.flatten=Hd,x.flattenDeep=qg,x.flattenDepth=Xg,x.flip=by,x.flow=pv,x.flowRight=_v,x.fromPairs=Kg,x.functions=_b,x.functionsIn=mb,x.groupBy=ey,x.initial=Jg,x.intersection=Qg,x.intersectionBy=t0,x.intersectionWith=e0,x.invert=yb,x.invertBy=bb,x.invokeMap=sy,x.iteratee=uc,x.keyBy=iy,x.keys=Re,x.keysIn=rn,x.map=Ea,x.mapKeys=kb,x.mapValues=xb,x.matches=mv,x.matchesProperty=gv,x.memoize=Da,x.merge=wb,x.mergeWith=hh,x.method=yv,x.methodOf=bv,x.mixin=dc,x.negate=Ca,x.nthArg=kv,x.omit=Eb,x.omitBy=Sb,x.once=vy,x.orderBy=ry,x.over=xv,x.overArgs=ky,x.overEvery=wv,x.overSome=Ev,x.partial=sc,x.partialRight=sh,x.partition=oy,x.pick=Db,x.pickBy=fh,x.property=vh,x.propertyOf=Sv,x.pull=r0,x.pullAll=jd,x.pullAllBy=o0,x.pullAllWith=a0,x.pullAt=l0,x.range=Dv,x.rangeRight=Cv,x.rearg=xy,x.reject=cy,x.remove=c0,x.rest=wy,x.reverse=tc,x.sampleSize=dy,x.set=Mb,x.setWith=Tb,x.shuffle=hy,x.slice=u0,x.sortBy=_y,x.sortedUniq=g0,x.sortedUniqBy=y0,x.split=Jb,x.spread=Ey,x.tail=b0,x.take=v0,x.takeRight=k0,x.takeRightWhile=x0,x.takeWhile=w0,x.tap=B0,x.throttle=Sy,x.thru=wa,x.toArray=lh,x.toPairs=ph,x.toPairsIn=_h,x.toPath=Av,x.toPlainObject=uh,x.transform=Nb,x.unary=Dy,x.union=E0,x.unionBy=S0,x.unionWith=D0,x.uniq=C0,x.uniqBy=M0,x.uniqWith=T0,x.unset=Ob,x.unzip=ec,x.unzipWith=Gd,x.update=Ab,x.updateWith=Lb,x.values=Zi,x.valuesIn=Ib,x.without=N0,x.words=yh,x.wrap=Cy,x.xor=O0,x.xorBy=A0,x.xorWith=L0,x.zip=I0,x.zipObject=P0,x.zipObjectDeep=R0,x.zipWith=F0,x.entries=ph,x.entriesIn=_h,x.extend=dh,x.extendWith=Na,dc(x,x),x.add=Iv,x.attempt=bh,x.camelCase=Bb,x.capitalize=mh,x.ceil=Pv,x.clamp=Pb,x.clone=Ty,x.cloneDeep=Oy,x.cloneDeepWith=Ay,x.cloneWith=Ny,x.conformsTo=Ly,x.deburr=gh,x.defaultTo=fv,x.divide=Rv,x.endsWith=Vb,x.eq=Wn,x.escape=$b,x.escapeRegExp=Yb,x.every=q0,x.find=K0,x.findIndex=Wd,x.findKey=cb,x.findLast=Z0,x.findLastIndex=Ud,x.findLastKey=ub,x.floor=Fv,x.forEach=Xd,x.forEachRight=Kd,x.forIn=db,x.forInRight=hb,x.forOwn=fb,x.forOwnRight=pb,x.get=oc,x.gt=Iy,x.gte=Py,x.has=gb,x.hasIn=ac,x.head=zd,x.identity=on,x.includes=ny,x.indexOf=Zg,x.inRange=Rb,x.invoke=vb,x.isArguments=pi,x.isArray=Tt,x.isArrayBuffer=Ry,x.isArrayLike=sn,x.isArrayLikeObject=Ce,x.isBoolean=Fy,x.isBuffer=Is,x.isDate=By,x.isElement=Vy,x.isEmpty=$y,x.isEqual=Yy,x.isEqualWith=Wy,x.isError=ic,x.isFinite=Uy,x.isFunction=ms,x.isInteger=ih,x.isLength=Ma,x.isMap=rh,x.isMatch=Hy,x.isMatchWith=zy,x.isNaN=jy,x.isNative=Gy,x.isNil=Xy,x.isNull=qy,x.isNumber=oh,x.isObject=be,x.isObjectLike=Ee,x.isPlainObject=Hr,x.isRegExp=rc,x.isSafeInteger=Ky,x.isSet=ah,x.isString=Ta,x.isSymbol=fn,x.isTypedArray=Ki,x.isUndefined=Zy,x.isWeakMap=Jy,x.isWeakSet=Qy,x.join=n0,x.kebabCase=Wb,x.last=Dn,x.lastIndexOf=s0,x.lowerCase=Ub,x.lowerFirst=Hb,x.lt=tb,x.lte=eb,x.max=Bv,x.maxBy=Vv,x.mean=$v,x.meanBy=Yv,x.min=Wv,x.minBy=Uv,x.stubArray=fc,x.stubFalse=pc,x.stubObject=Mv,x.stubString=Tv,x.stubTrue=Nv,x.multiply=Hv,x.nth=i0,x.noConflict=vv,x.noop=hc,x.now=Sa,x.pad=zb,x.padEnd=jb,x.padStart=Gb,x.parseInt=qb,x.random=Fb,x.reduce=ay,x.reduceRight=ly,x.repeat=Xb,x.replace=Kb,x.result=Cb,x.round=zv,x.runInContext=F,x.sample=uy,x.size=fy,x.snakeCase=Zb,x.some=py,x.sortedIndex=d0,x.sortedIndexBy=h0,x.sortedIndexOf=f0,x.sortedLastIndex=p0,x.sortedLastIndexBy=_0,x.sortedLastIndexOf=m0,x.startCase=Qb,x.startsWith=tv,x.subtract=jv,x.sum=Gv,x.sumBy=qv,x.template=ev,x.times=Ov,x.toFinite=gs,x.toInteger=Ot,x.toLength=ch,x.toLower=nv,x.toNumber=Cn,x.toSafeInteger=nb,x.toString=Gt,x.toUpper=sv,x.trim=iv,x.trimEnd=rv,x.trimStart=ov,x.truncate=av,x.unescape=lv,x.uniqueId=Lv,x.upperCase=cv,x.upperFirst=lc,x.each=Xd,x.eachRight=Kd,x.first=zd,dc(x,function(){var s={};return Kn(x,function(r,u){Jt.call(x.prototype,u)||(s[u]=r)}),s}(),{chain:!1}),x.VERSION=i,De(["bind","bindKey","curry","curryRight","partial","partialRight"],function(s){x[s].placeholder=x}),De(["drop","take"],function(s,r){Bt.prototype[s]=function(u){u=u===e?1:Ie(Ot(u),0);var _=this.__filtered__&&!r?new Bt(this):this.clone();return _.__filtered__?_.__takeCount__=je(u,_.__takeCount__):_.__views__.push({size:je(u,Nt),type:s+(_.__dir__<0?"Right":"")}),_},Bt.prototype[s+"Right"]=function(u){return this.reverse()[s](u).reverse()}}),De(["filter","map","takeWhile"],function(s,r){var u=r+1,_=u==Se||u==Xt;Bt.prototype[s]=function(y){var D=this.clone();return D.__iteratees__.push({iteratee:xt(y,3),type:u}),D.__filtered__=D.__filtered__||_,D}}),De(["head","last"],function(s,r){var u="take"+(r?"Right":"");Bt.prototype[s]=function(){return this[u](1).value()[0]}}),De(["initial","tail"],function(s,r){var u="drop"+(r?"":"Right");Bt.prototype[s]=function(){return this.__filtered__?new Bt(this):this[u](1)}}),Bt.prototype.compact=function(){return this.filter(on)},Bt.prototype.find=function(s){return this.filter(s).head()},Bt.prototype.findLast=function(s){return this.reverse().find(s)},Bt.prototype.invokeMap=It(function(s,r){return typeof s=="function"?new Bt(this):this.map(function(u){return Br(u,s,r)})}),Bt.prototype.reject=function(s){return this.filter(Ca(xt(s)))},Bt.prototype.slice=function(s,r){s=Ot(s);var u=this;return u.__filtered__&&(s>0||r<0)?new Bt(u):(s<0?u=u.takeRight(-s):s&&(u=u.drop(s)),r!==e&&(r=Ot(r),u=r<0?u.dropRight(-r):u.take(r-s)),u)},Bt.prototype.takeRightWhile=function(s){return this.reverse().takeWhile(s).reverse()},Bt.prototype.toArray=function(){return this.take(Nt)},Kn(Bt.prototype,function(s,r){var u=/^(?:filter|find|map|reject)|While$/.test(r),_=/^(?:head|last)$/.test(r),y=x[_?"take"+(r=="last"?"Right":""):r],D=_||/^find/.test(r);!y||(x.prototype[r]=function(){var N=this.__wrapped__,L=_?[1]:arguments,Y=N instanceof Bt,J=L[0],tt=Y||Tt(N),st=function(Pt){var Yt=y.apply(x,Pe([Pt],L));return _&&ht?Yt[0]:Yt};tt&&u&&typeof J=="function"&&J.length!=1&&(Y=tt=!1);var ht=this.__chain__,gt=!!this.__actions__.length,St=D&&!ht,Lt=Y&&!gt;if(!D&&tt){N=Lt?N:new Bt(this);var Dt=s.apply(N,L);return Dt.__actions__.push({func:wa,args:[st],thisArg:e}),new wn(Dt,ht)}return St&&Lt?s.apply(this,L):(Dt=this.thru(st),St?_?Dt.value()[0]:Dt.value():Dt)})}),De(["pop","push","shift","sort","splice","unshift"],function(s){var r=Xo[s],u=/^(?:push|sort|unshift)$/.test(s)?"tap":"thru",_=/^(?:pop|shift)$/.test(s);x.prototype[s]=function(){var y=arguments;if(_&&!this.__chain__){var D=this.value();return r.apply(Tt(D)?D:[],y)}return this[u](function(N){return r.apply(Tt(N)?N:[],y)})}}),Kn(Bt.prototype,function(s,r){var u=x[r];if(u){var _=u.name+"";Jt.call(zi,_)||(zi[_]=[]),zi[_].push({name:r,func:u})}}),zi[ma(e,A).name]=[{name:"wrapper",func:e}],Bt.prototype.clone=lm,Bt.prototype.reverse=cm,Bt.prototype.value=um,x.prototype.at=V0,x.prototype.chain=$0,x.prototype.commit=Y0,x.prototype.next=W0,x.prototype.plant=H0,x.prototype.reverse=z0,x.prototype.toJSON=x.prototype.valueOf=x.prototype.value=j0,x.prototype.first=x.prototype.head,Or&&(x.prototype[Or]=U0),x},Wi=Y_();ls?((ls.exports=Wi)._=Wi,vn._=Wi):ce._=Wi}).call(Vc)})(D_,D_.exports);const EB={class:"psc-flex-auto psc-px-2 psc-font-semibold"},SB={class:"psc-pt-3"},DB={key:0},CB=f.createElementVNode("div",{class:"psc-flex-initial psc-pr-3 psc-pt-2"},[f.createElementVNode("div",{class:"psc-h-[6px] psc-w-[6px] psc-rounded-full psc-bg-blue-darken-1"})],-1),MB={class:"psc-flex-auto psc-pl-2"},TB=["innerHTML"],NB=f.defineComponent({__name:"HealthSummary",props:{items:{default:()=>[]},ctaButton:{type:Boolean,default:!1}},emits:["click:cta-button","update:modelValue"],setup(n,{emit:t}){const e=n,i=f.ref(!0),o=f.computed(()=>!D_.exports.isEmpty(e.items)),a=()=>{i.value=!i.value};return(c,d)=>(f.openBlock(),f.createElementBlock(f.Fragment,null,[f.createElementVNode("div",{class:"psc-flex psc-w-full psc-cursor-pointer psc-items-center psc-rounded-lg psc-bg-[#e6f0fe] psc-px-3 psc-py-1 psc-text-blue-darken-1",onClick:d[0]||(d[0]=p=>a())},[f.createVNode(f.unref(ir),{icon:"dgic-stethoscope-thick"}),f.createElementVNode("div",EB,f.toDisplayString(c.$t("psc.test_result_health_summary")),1),f.createElementVNode("i",{class:f.normalizeClass(["dgic-chevron-down-thin psc-text-2xl psc-transition-transform",{"psc-rotate-180":i.value}])},null,2)]),f.createVNode(f.unref(DC),{modelValue:i.value,"onUpdate:modelValue":d[2]||(d[2]=p=>i.value=p)},{default:f.withCtx(()=>[f.createElementVNode("div",SB,[f.unref(o)?(f.openBlock(),f.createElementBlock("div",DB,[(f.openBlock(!0),f.createElementBlock(f.Fragment,null,f.renderList(e.items,(p,g)=>(f.openBlock(),f.createElementBlock("div",{key:`item${g}`,class:"psc-flex psc-w-full psc-px-3 psc-py-2"},[CB,f.createElementVNode("div",MB,[f.createElementVNode("div",{innerHTML:p},null,8,TB)])]))),128))])):f.createCommentVNode("",!0),e.ctaButton?(f.openBlock(),f.createBlock(f.unref(La),{key:1,type:"secondary",class:"psc-mt-5 psc-w-full",onClick:d[1]||(d[1]=p=>t("click:cta-button"))},{default:f.withCtx(()=>[f.createTextVNode(f.toDisplayString(c.$t("psc.test_result_have_questions")),1)]),_:1})):f.createCommentVNode("",!0)])]),_:1},8,["modelValue"])],64))}}),OB={},AB={class:"psc-mb-4 psc-w-full psc-px-4"},LB={class:"psc-flex psc-flex-wrap psc-rounded-lg psc-border psc-border-gray-lighten-2 psc-p-3 psc-shadow"};function IB(n,t){return f.openBlock(),f.createElementBlock("div",AB,[f.createElementVNode("div",LB,[f.renderSlot(n.$slots,"default")])])}const Bf=Qi(OB,[["render",IB]]),PB={key:0,class:"consumer-test-result__ready"},RB={class:"psc-px-4"},FB=f.defineComponent({__name:"TestResultDetail",props:{testResult:null,loading:{type:Boolean},hidePatientInfo:{type:Boolean,default:!1}},emits:["click:book-appointment"],setup(n,{emit:t}){const e=n,i=f.computed(()=>[On.Ordered,On.InProgress,On.Ready,On.PartiallyComplete].includes(e.testResult.result_status)),o=f.computed(()=>e.testResult.template_type===up.HPV&&[On.Ordered,On.InProgress].includes(e.testResult.result_status)),a=f.computed(()=>{var d,p;return{patientName:!e.hidePatientInfo,healthSummary:((d=e.testResult.remarks)==null?void 0:d.length)>0,bookAppointment:e.testResult.is_free_consultant&&(!e.testResult.remarks||e.testResult.remarks.length===0),doctorNote:!!e.testResult.doctor_note&&((p=e.testResult.remarks)==null?void 0:p.length)===0,upcomingAppointment:!e.testResult.doctor_note&&!!e.testResult.consult_time}}),c=f.computed(()=>{let d=[];return e.testResult.remarks&&(d=d.concat(e.testResult.remarks.map(p=>p.name))),e.testResult.doctor_note&&d.push(e.testResult.doctor_note),d});return(d,p)=>(f.openBlock(),f.createElementBlock("div",null,[e.loading?(f.openBlock(),f.createBlock(wB,{key:0})):(f.openBlock(),f.createElementBlock(f.Fragment,{key:1},[f.unref(i)?(f.openBlock(),f.createElementBlock("div",PB,[f.createElementVNode("div",null,[f.unref(a).patientName?(f.openBlock(),f.createBlock(gx,{key:0,"first-name":e.testResult.first_name,class:"psc-px-4 psc-pb-2"},null,8,["first-name"])):f.createCommentVNode("",!0),f.createVNode(KF,{"test-result":e.testResult,class:"psc-px-4 psc-pb-4"},null,8,["test-result"]),f.unref(a).healthSummary?(f.openBlock(),f.createBlock(Bf,{key:1},{default:f.withCtx(()=>[f.createVNode(NB,{items:f.unref(c),"cta-button":e.testResult.is_free_consultant,"onClick:ctaButton":p[0]||(p[0]=g=>t("click:book-appointment"))},null,8,["items","cta-button"])]),_:1})):f.createCommentVNode("",!0),f.unref(a).bookAppointment?(f.openBlock(),f.createBlock(Bf,{key:2},{default:f.withCtx(()=>[f.createVNode(iB,{"onClick:book":p[1]||(p[1]=g=>t("click:book-appointment"))})]),_:1})):f.createCommentVNode("",!0),f.unref(a).doctorNote?(f.openBlock(),f.createBlock(Bf,{key:3},{default:f.withCtx(()=>[f.createVNode(aB,{"doctor-note":e.testResult.doctor_note},null,8,["doctor-note"])]),_:1})):f.createCommentVNode("",!0),f.unref(a).upcomingAppointment?(f.openBlock(),f.createBlock(Bf,{key:4},{default:f.withCtx(()=>[f.createVNode(hB,{"time-slot":e.testResult.consult_time},null,8,["time-slot"])]),_:1})):f.createCommentVNode("",!0)]),f.createElementVNode("div",RB,[f.renderSlot(d.$slots,"header"),f.unref(o)?f.createCommentVNode("",!0):f.renderSlot(d.$slots,"default",{key:0}),f.renderSlot(d.$slots,"footer")])])):(f.openBlock(),f.createBlock(Dx,{key:1,class:"psc-px-4"},{"body-append":f.withCtx(()=>[f.createVNode(Sx,{class:"psc-mt-6"})]),_:1}))],64))]))}}),BB={class:"psc-cursor-pointer psc-space-y-3 psc-rounded-lg psc-p-3 psc-shadow hover:psc-bg-slate-100"},VB={class:"psc-flex psc-items-center"},$B={class:"psc-flex-initial psc-font-semibold psc-text-blue-darken-1"},YB={class:"psc-flex-auto psc-pl-2 psc-text-black/[0.6]"},WB=f.createElementVNode("div",{class:"psc-flex-initial"},[f.createElementVNode("i",{class:"dgic-chevron-right-thin psc-text-2xl psc-text-blue-darken-1"})],-1),UB={class:"psc-flex"},HB={class:"psc-text-sm"},iS=f.defineComponent({__name:"TestResultListItem",props:{item:null},setup(n){const t=n,{t:e}=Pn(),{formatDate:i}=Ji(),o=f.computed(()=>({[On.Ordered]:{text:e("psc.test_result_status_not_ready"),cssClass:"psc-text-black/60",icon:"dgic-time-dotted"},[On.InProgress]:{text:e("psc.test_result_status_not_ready"),cssClass:"psc-text-black/60",icon:"dgic-time-dotted"},[On.PartiallyComplete]:{text:e("psc.test_result_status_partially_ready"),cssClass:"psc-text-black/60",icon:"dgic-partial-thin-2"},[On.Ready]:{text:e("psc.test_result_status_ready"),cssClass:"psc-text-green-darken-1",icon:"dgic-check-mark-thin"},[On.Canceled]:{text:e("psc.test_result_status_couldnt_process"),cssClass:"psc-text-red-darken-1",icon:"dgic-cancel-right-to-left"},[On.Rejected]:{text:e("psc.test_result_status_couldnt_process"),cssClass:"psc-text-red-darken-1",icon:"dgic-cancel-right-to-left"}})[t.item.result_status]||{text:"",cssClass:"",icon:""});return(a,c)=>(f.openBlock(),f.createElementBlock("div",BB,[f.createElementVNode("div",VB,[f.createElementVNode("div",$B,[f.createElementVNode("span",null,f.toDisplayString(`${a.$t("psc.test_result_order")} ${t.item.order_id}`),1)]),f.createElementVNode("div",YB,f.toDisplayString(f.unref(i)(new Date(t.item.visit_date))),1),WB]),f.createElementVNode("div",UB,[f.createElementVNode("div",{class:f.normalizeClass(["psc-flex psc-items-center psc-font-semibold",f.unref(o).cssClass])},[f.createElementVNode("span",HB,f.toDisplayString(f.unref(o).text),1),f.createVNode(f.unref(ir),{icon:f.unref(o).icon,class:"psc-ml-1 psc-text-2xl"},null,8,["icon"])],2)])]))}}),zB={class:"psc-space-y-4 psc-px-4"},jB={class:"psc-w-full psc-px-4 psc-pt-7 psc-text-center"},GB={key:1},qB={key:0,class:"psc-px-4 psc-pt-7"},XB=f.defineComponent({__name:"TestResultList",props:{items:null,loading:{type:Boolean},skeletonCount:null,ctaButtonUrl:{default:""},hideLoadMore:{type:Boolean},bookingButtonUrl:{default:""}},emits:["switch-to-detail","click:load-more"],setup(n,{emit:t}){const e=n,i=async()=>{t("click:load-more")},o=async a=>{t("switch-to-detail",a)};return(a,c)=>(f.openBlock(),f.createElementBlock("div",null,[!e.loading&&e.items.length===0?(f.openBlock(),f.createBlock(Op,{key:0,title:a.$t("psc.test_result_no_results_found"),subtitle:a.$t("psc.test_result_book_to_show_result"),"booking-button-url":e.bookingButtonUrl,class:"psc-content-h-full"},null,8,["title","subtitle","booking-button-url"])):(f.openBlock(),f.createElementBlock(f.Fragment,{key:1},[f.createVNode(S_,null,{default:f.withCtx(()=>[f.createTextVNode(f.toDisplayString(a.$t("psc.test_result_all_results")),1)]),_:1}),f.createElementVNode("div",zB,[(f.openBlock(!0),f.createElementBlock(f.Fragment,null,f.renderList(e.items,(d,p)=>(f.openBlock(),f.createElementBlock("div",{key:`item${p}`},[f.createVNode(iS,{item:d,onClick:g=>o(d)},null,8,["item","onClick"])]))),128)),e.loading?(f.openBlock(!0),f.createElementBlock(f.Fragment,{key:0},f.renderList(e.skeletonCount,d=>(f.openBlock(),f.createBlock(jh,{key:`skeleton${d}`}))),128)):f.createCommentVNode("",!0)]),f.createElementVNode("div",jB,[e.hideLoadMore?(f.openBlock(),f.createElementBlock("div",GB,f.toDisplayString(a.$t("psc.test_result_all_results_loaded")),1)):(f.openBlock(),f.createBlock(f.unref(La),{key:0,type:"secondary",disabled:e.loading,size:"sm","prepend-icon":"dgic-double-chevron-down-thin",onClick:i},{default:f.withCtx(()=>[f.createTextVNode(f.toDisplayString(a.$t("psc.test_result_load_older_results")),1)]),_:1},8,["disabled"]))]),e.ctaButtonUrl?(f.openBlock(),f.createElementBlock("div",qB,[f.createVNode(Gh,{class:"psc-mt-[20px]",url:n.ctaButtonUrl,title:a.$t("psc.test_result_test_more_for_better_health"),subtitle:a.$t("psc.test_result_book_general_screening_panel_now")},null,8,["url","title","subtitle"])])):f.createCommentVNode("",!0)],64))]))}}),rS=()=>{window.open(`tel:${qh}`,"_self")},KB=n=>`${n.slice(0,-6)} ${n.slice(-6,-3)} ${n.slice(-3)}`,ZB={class:"psc-px-4"},JB={key:1,class:"psc-mb-[20px] psc-flex"},QB=f.createElementVNode("div",{class:"psc-mr-[16px] psc-h-[60px] psc-w-[60px] psc-min-w-[60px] psc-overflow-hidden psc-rounded-full psc-border-[1px] psc-border-solid psc-border-[#00000019]"},[f.createElementVNode("i",{class:"dgic-user-circle psc-text-[60px] psc-text-[#00000019]"})],-1),tV={class:"psc-text-[14px]"},eV={class:"psc-mb-[12px] psc-text-[20px] psc-font-[600]"},nV={class:"psc-mb-[8px] psc-flex psc-items-center"},sV=f.createElementVNode("i",{class:"dgic-cake psc-mr-1 psc-text-[22px] psc-font-bold"},null,-1),iV={class:"psc-mb-[8px] psc-flex psc-items-center"},rV=f.createElementVNode("i",{class:"dgic-phone-light psc-mr-1 psc-text-[22px]"},null,-1),oV={class:"psc-mb-[8px] psc-flex psc-items-center"},aV={class:"psc-mb-[35px] psc-flex psc-rounded-[8px] psc-bg-[#e6f0fe] psc-px-[16px] psc-py-[20px]"},lV=f.createElementVNode("div",{class:"items-start psc-mr-[8px] psc-flex"},[f.createElementVNode("i",{class:"dgic-info-fill psc-text-[24px] psc-text-blue-darken-1"})],-1),cV=["innerHTML"],uV=f.defineComponent({__name:"MyProfile",props:{fullName:null,dob:null,gender:null,phoneNumber:null,loading:{type:Boolean},ctaButtonUrl:{default:""}},setup(n){const t=n,{t:e}=Pn(),{formatDate:i}=Ji(),o=f.computed(()=>t.fullName),a=f.computed(()=>i(new Date(t.dob))),c=f.computed(()=>t.gender?{[Sc.Male]:{icon:"dgic-gender-male",text:e("psc.male")},[Sc.Female]:{icon:"dgic-gender-female",text:e("psc.female")}}[t.gender]:{icon:"",text:""}),d=f.computed(()=>t.phoneNumber?KB(t.phoneNumber):"");return(p,g)=>(f.openBlock(),f.createElementBlock("div",null,[f.createVNode(S_,null,{default:f.withCtx(()=>[f.createTextVNode(f.toDisplayString(f.unref(e)("psc.test_result_my_profile")),1)]),_:1}),f.createElementVNode("div",ZB,[t.loading?(f.openBlock(),f.createBlock(jh,{key:0,class:"psc-mb-[20px] psc-pb-16"})):(f.openBlock(),f.createElementBlock("div",JB,[QB,f.createElementVNode("div",tV,[f.createElementVNode("div",eV,f.toDisplayString(f.unref(o)),1),f.createElementVNode("div",nV,[sV,f.createTextVNode(" "+f.toDisplayString(f.unref(a)),1)]),f.createElementVNode("div",iV,[rV,f.createTextVNode(" "+f.toDisplayString(f.unref(d)),1)]),f.createElementVNode("div",oV,[f.createElementVNode("i",{class:f.normalizeClass(["psc-mr-1 psc-text-[22px]",f.unref(c).icon])},null,2),f.createTextVNode(" "+f.toDisplayString(f.unref(c).text),1)])])])),f.createElementVNode("div",aV,[lV,f.createElementVNode("div",{innerHTML:f.unref(e)("psc.test_result_if_you_wish_to_edit_your_profile")},null,8,cV)]),t.ctaButtonUrl?(f.openBlock(),f.createBlock(Gh,{key:2,class:"psc-mt-[20px]",url:t.ctaButtonUrl,title:p.$t("psc.test_result_test_more_for_better_health"),subtitle:p.$t("psc.test_result_book_general_screening_panel_now")},null,8,["url","title","subtitle"])):f.createCommentVNode("",!0)])]))}}),RV="",dV={class:"call-us-text-button"},hV=f.createElementVNode("i",{class:"dgic-phone-light psc-mr-1"},null,-1),fV={class:"diag-opening-time"},pV=f.defineComponent({__name:"CallUsTextButton",setup(n){const{t}=Pn();return(e,i)=>(f.openBlock(),f.createElementBlock("div",dV,[f.createElementVNode("div",{class:"diag-phone-number",onClick:i[0]||(i[0]=(...o)=>f.unref(rS)&&f.unref(rS)(...o))},[hV,f.createElementVNode("span",null,f.toDisplayString(f.unref(qh)),1)]),f.createElementVNode("div",fV,f.toDisplayString(f.unref(t)("psc.test_result_time_support")),1)]))}}),FV="",_V={class:"result-ready"},mV={class:"result-ready__title"},gV={class:"result-ready__date"},yV={key:0,class:"result-ready__date"},bV=f.defineComponent({__name:"ResultReady",props:{testResult:null},setup(n){const t=n,{t:e}=Pn(),{formatDate:i}=Ji(),o=f.computed(()=>t.testResult.sample_collected_at&&i(new Date(t.testResult.sample_collected_at))||""),a=f.computed(()=>t.testResult.result_at&&i(new Date(t.testResult.result_at))||""),c=f.computed(()=>t.testResult.result_status===On.Ready),d=f.computed(()=>{switch(t.testResult.result_status){case On.Ordered:case On.InProgress:return e("psc.test_result_your_result_not_ready");case On.Ready:return e("psc.test_result_your_result_ready");case On.PartiallyComplete:return e("psc.test_result_result_partial_completed");default:return""}});return(p,g)=>(f.openBlock(),f.createElementBlock("div",_V,[f.createElementVNode("span",mV,f.toDisplayString(f.unref(d)),1),f.createElementVNode("div",gV,f.toDisplayString(f.unref(e)("psc.test_result_sample_collected_on"))+" "+f.toDisplayString(`${f.unref(o)}.`),1),f.unref(c)?(f.openBlock(),f.createElementBlock("div",yV,f.toDisplayString(f.unref(e)("psc.test_result_result_released_on"))+" "+f.toDisplayString(`${f.unref(a)}.`),1)):f.createCommentVNode("",!0)]))}}),BV="",oS={psc:{gender:"Gi\u1EDBi t\xEDnh",male:"Nam",female:"N\u1EEF",test_result_my_profile:"H\u1ED3 s\u01A1 c\u1EE7a t\xF4i",test_result_if_you_wish_to_edit_your_profile:'N\u1EBFu c\u1EA7n thay \u0111\u1ED5i th\xF4ng tin c\xE1 nh\xE2n, b\u1EA1n vui l\xF2ng <a href="tel:1900 1717" class="contact-support">li\xEAn h\u1EC7 h\u1ED7 tr\u1EE3</a>',test_result_view_my_bookings:"Xem l\u1ECBch h\u1EB9n c\u1EE7a t\xF4i",test_result_test_more_for_better_health:"\u0110\u1EC3 th\u1EA5u hi\u1EC3u v\xE0 duy tr\xEC s\u1EE9c kho\u1EBB",test_result_book_general_screening_panel_now:"\u0110\u1EB7t h\u1EB9n G\xF3i X\xE9t Nghi\u1EC7m T\u1ED5ng Qu\xE1t ngay",test_result_status_not_ready:"Ch\u01B0a c\xF3 k\u1EBFt qu\u1EA3",test_result_status_couldnt_process:"M\u1EABu kh\xF4ng th\u1EC3 x\u1EED l\xFD",test_result_status_ready:"S\u1EB5n s\xE0ng",test_result_status_partially_ready:"S\u1EB5n s\xE0ng m\u1ED9t ph\u1EA7n",test_result_order:"Ch\u1EC9 \u0111\u1ECBnh",test_result_all_results:"T\u1EA5t c\u1EA3 k\u1EBFt qu\u1EA3",test_result_load_older_results:"Xem c\xE1c k\u1EBFt qu\u1EA3 c\u0169 h\u01A1n",test_result_all_results_loaded:"\u0110\xE3 hi\u1EC3n th\u1ECB t\u1EA5t c\u1EA3 k\u1EBFt qu\u1EA3",test_result_hi:"Xin ch\xE0o,",test_result_your_result_ready:"B\u1EA1n \u0111\xE3 c\xF3 k\u1EBFt qu\u1EA3 x\xE9t nghi\u1EC7m",test_result_result_partial_completed:"X\xE9t nghi\u1EC7m c\u1EE7a b\u1EA1n \u0111\xE3 ho\xE0n th\xE0nh m\u1ED9t ph\u1EA7n",test_result_your_result_not_ready:"K\u1EBFt qu\u1EA3 c\u1EE7a b\u1EA1n ch\u01B0a ho\xE0n t\u1EA5t",test_result_sample_collected:"L\u1EA5y m\u1EABu:",test_result_result_ready:"C\xF3 k\u1EBFt qu\u1EA3:",test_result_sample_collected_on:"M\u1EABu \u0111\xE3 \u0111\u01B0\u1EE3c l\u1EA5y v\xE0o ng\xE0y",test_result_result_released_on:"v\xE0 c\xF3 k\u1EBFt qu\u1EA3 x\xE9t nghi\u1EC7m v\xE0o ng\xE0y",test_result_check_other_results:"Xem c\xE1c k\u1EBFt qu\u1EA3 kh\xE1c",call_us:"Li\xEAn h\u1EC7 Diag",test_result_time_support:"T\u1EEB 06:00 - 21:00",test_result_sample_could_not_processed:"Kh\xF4ng th\u1EC3 x\u1EED l\xFD m\u1EABu b\u1EA1n \u0111\xE3 g\u1EEDi.",test_result_contact_support:"Xin li\xEAn h\u1EC7 b\u1ED9 ph\u1EADn CSKH c\u1EE7a ch\xFAng t\xF4i \u0111\u1EC3 \u0111\u01B0\u1EE3c h\u1ED7 tr\u1EE3 th\xEAm",test_result_being_prepared:"M\u1EABu c\u1EE7a b\u1EA1n \u0111ang \u0111\u01B0\u1EE3c x\xE9t nghi\u1EC7m.",test_result_receive_sms_2_days:"B\u1EA1n s\u1EBD nh\u1EADn \u0111\u01B0\u1EE3c tin nh\u1EAFn SMS ngay khi c\xF3 k\u1EBFt qu\u1EA3 x\xE9t nghi\u1EC7m.",test_result_note:"T\u01B0 v\u1EA5n t\u1EEB b\xE1c s\u0129",test_result_measured_in:"\u0111\u01A1n v\u1ECB t\xEDnh l\xE0",test_result_critical:"Nguy hi\u1EC3m",test_result_high:"Cao",test_result_low:"Th\u1EA5p",test_result_normal:"B\xECnh th\u01B0\u1EDDng",test_result_about:"\xDD ngh\u0129a c\u1EE7a",test_result_all_bookings:"T\u1EA5t c\u1EA3 l\u1ECBch h\u1EB9n",test_result_more_bookings:"L\u1ECBch h\u1EB9n kh\xE1c",test_result_no_booking_found:"Kh\xF4ng c\xF3 l\u1ECBch h\u1EB9n n\xE0o",test_result_message_no_booking_yet:"B\u1EA1n ch\u01B0a t\u1EA1o l\u1ECBch h\u1EB9n x\xE9t nghi\u1EC7m n\xE0o",test_result_support:"H\u1ED7 tr\u1EE3",test_result_find_nearest_diag_branch:"T\xECm chi nh\xE1nh g\u1EA7n nh\u1EA5t",test_result_no_results_found:"Ch\u01B0a c\xF3 k\u1EBFt qu\u1EA3 n\xE0o",test_result_book_to_show_result:"\u0110\u1EB7t h\u1EB9n x\xE9t nghi\u1EC7m ngay \u0111\u1EC3 xem k\u1EBFt qu\u1EA3",test_result_doctor_appointment:"Gi\u1EA3i th\xEDch k\u1EBFt qu\u1EA3",test_result_free:"Mi\u1EC5n ph\xED",test_result_more_about_your_results:"Hi\u1EC3u r\xF5 h\u01A1n v\u1EC1 k\u1EBFt qu\u1EA3 c\u1EE7a b\u1EA1n",test_result_choose_time:"Ch\u1ECDn ng\xE0y h\u1EB9n",test_result_reset_all:"Ch\u1ECDn l\u1EA1i",test_result_opening_slots:"Ch\u1ECDn gi\u1EDD",test_result_book_appointment:"\u0110\u1EB7t h\u1EB9n nh\u1EADn cu\u1ED9c g\u1ECDi",test_result_successfully_booked:"\u0110\u1EB7t h\u1EB9n th\xE0nh c\xF4ng",test_result_have_an_appointment_with_doctor:"B\u1EA1n c\xF3 l\u1ECBch h\u1EB9n v\u1EDBi b\xE1c s\u0129 c\u1EE7a Diag v\xE0o {time} ng\xE0y {date}.",test_result_book_appointment_error_title:"\u0110\xE3 c\xF3 l\u1ED7i x\u1EA3y ra...",test_result_book_appointment_error_description:"B\u1EA1n vui l\xF2ng th\u1EED l\u1EA1i ho\u1EB7c li\xEAn h\u1EC7 Diag qua hotline 19001717 n\u1EBFu v\u1EABn kh\xF4ng th\u1EC3 \u0111\u1EB7t h\u1EB9n th\xE0nh c\xF4ng.",test_result_upcoming_appointment:"L\u1ECBch h\u1EB9n s\u1EAFp t\u1EDBi",test_result_date_at_time:"v\xE0o {time} ng\xE0y {date}",test_result_get_started:"B\u1EAFt \u0111\u1EA7u",test_result_book_first_test:"\u0110\u1EB7t h\u1EB9n x\xE9t nghi\u1EC7m ngay",test_result_booking_account_code:"M\xE3 t\xE0i kho\u1EA3n:",test_result_booking_document_type_id_number:"CMND/CCCD:",test_result_booking_document_type_passport_no:"H\u1ED9 chi\u1EBFu:",test_result_booking_patient:"B\u1EC7nh nh\xE2n",test_result_booking_doctor:"B\xE1c s\u0129",test_result_booking_booking_number:"M\xE3 \u0111\u1EB7t ch\u1ED7 c\u1EE7a b\u1EA1n",test_result_booking_results_will_be_there:"Xem k\u1EBFt qu\u1EA3 t\u1EA1i \u0111\xE2y khi ho\xE0n t\u1EA5t...",test_result_booking_booking_canceled:"L\u1ECBch h\u1EB9n c\u1EE7a b\u1EA1n \u0111\xE3 hu\u1EF7",test_result_booking_next_step:"B\u01B0\u1EDBc ti\u1EBFp theo",test_result_booking_diag_contact_you_and_check:"Diag s\u1EBD li\xEAn h\u1EC7 \u0111\u1EC3 s\u1EAFp x\u1EBFp l\u1ECBch h\u1EB9n ph\xF9 h\u1EE3p v\u1EDBi th\u1EDDi gian c\u1EE7a b\u1EA1n.",test_result_booking_find_location_center:"T\xECm chi nh\xE1nh Diag",test_result_booking_view_results:"Xem k\u1EBFt qu\u1EA3 c\u1EE7a t\xF4i",test_result_booking_test_results:"K\u1EBFt qu\u1EA3 x\xE9t nghi\u1EC7m",test_result_booking_need_collect_sample:"Y t\xE1 c\u1EA7n l\u1EA5y m\u1EABu c\u1EE7a b\u1EA1n.",test_result_booking_processing_sample:"Ch\xFAng t\xF4i \u0111ang x\u1EED l\xFD m\u1EABu c\u1EE7a b\u1EA1n.",test_result_booking_fully_ready:"K\u1EBFt qu\u1EA3 x\xE9t nghi\u1EC7m c\u1EE7a b\u1EA1n \u0111\xE3 ho\xE0n t\u1EA5t.",test_result_booking_booking_details:"Chi ti\u1EBFt l\u1ECBch h\u1EB9n",test_result_booking_payment_status_pay_later:"Thanh to\xE1n sau",test_result_booking_payment_status_paid_online:"Thanh to\xE1n online",test_result_booking_payment_status_paid:"\u0110\xE3 thanh to\xE1n",test_result_booking_payment_status_refund_in_progress:"\u0110ang ho\xE0n ti\u1EC1n",test_result_booking_payment_status_refunded:"\u0110\xE3 ho\xE0n ti\u1EC1n",test_result_booking_payment_status_canceled:"\u0110\xE3 hu\u1EF7",test_result_booking_booking_status_created:"\u0110\xE3 t\u1EA1o",test_result_booking_booking_status_in_progress:"\u0110ang x\u1EED l\xFD m\u1EABu",test_result_booking_booking_status_completed:"Ho\xE0n t\u1EA5t",test_result_booking_booking_status_canceled:"\u0110\xE3 hu\u1EF7",test_result_booking_total_payment:"T\u1ED5ng thanh to\xE1n",test_result_booking_note:"Ghi ch\xFA",test_result_booking_support_zalo:"Zalo:",test_result_booking_support_hotline:"Hotline:",test_result_booking_support_email:"Email:",test_result_booking_sample_collection:"L\u1EA5y m\u1EABu",test_result_booking_testing_location:"\u0110\u1ECBa \u0111i\u1EC3m x\xE9t nghi\u1EC7m",test_result_booking_address:"\u0110\u1ECBa ch\u1EC9",test_result_booking_expected_date:"Ng\xE0y d\u1EF1 ki\u1EBFn",test_result_booking_tests:"X\xE9t nghi\u1EC7m",test_result_booking_packages:"G\xF3i x\xE9t nghi\u1EC7m",test_result_booking_imaging_services:"Ch\u1EA9n \u0111o\xE1n h\xECnh \u1EA3nh",date_time:{day_parts:{morning:"S\xE1ng",afternoon:"Chi\u1EC1u",evening:"T\u1ED1i"}},test_result_health_summary:"T\xF3m t\u1EAFt s\u1EE9c kho\u1EBB s\u01A1 b\u1ED9",test_result_have_questions:"\u0110\u1EB7t cu\u1ED9c g\u1ECDi t\u01B0 v\u1EA5n",test_result_appointment_date:"{time} ng\xE0y {date}"}},aS={psc:{gender:"Gender",male:"Male",female:"Female",test_result_my_profile:"H\u1ED3 s\u01A1 c\u1EE7a t\xF4i",test_result_if_you_wish_to_edit_your_profile:'If you wish to edit your profile, please <a href="tel:1900 1717" class="contact-support">contact support</a>',test_result_view_my_bookings:"View my bookings",test_result_test_more_for_better_health:"Test more for better health",test_result_book_general_screening_panel_now:"Book General Screening Panel now",test_result_status_not_ready:"Not ready yet",test_result_status_couldnt_process:"Couldn't process",test_result_status_ready:"Ready",test_result_status_partially_ready:"Partially ready",test_result_order:"Order",test_result_all_results:"All results",test_result_load_older_results:"Load older results",test_result_all_results_loaded:"All results are loaded",test_result_hi:"Hi,",test_result_your_result_ready:"Your results are ready",test_result_result_partial_completed:"Your results are partially ready",test_result_your_result_not_ready:"Your results are not ready yet",test_result_sample_collected:"Collected:",test_result_result_ready:"Ready:",test_result_sample_collected_on:"Your sample was collected on",test_result_result_released_on:"and your results were released on ",test_result_check_other_results:"Check other results",call_us:"Call for support",test_result_time_support:"From 06:00 - 21:00",test_result_sample_could_not_processed:"Results could not be processed",test_result_contact_support:"Please contact our customer service for further support.",test_result_being_prepared:"Your results are being prepared.",test_result_receive_sms_2_days:"You will receive a SMS as soon as your results are ready.",test_result_note:"Doctor's comments",test_result_measured_in:"measured in",test_result_critical:"Critical",test_result_high:"High",test_result_low:"Low",test_result_normal:"Normal",test_result_about:"About",test_result_all_bookings:"All bookings",test_result_more_bookings:"More Bookings",test_result_no_booking_found:"No booking found",test_result_message_no_booking_yet:"You haven't created any booking yet",test_result_support:"Support",test_result_find_nearest_diag_branch:"Find the nearest branch",test_result_no_results_found:"No results found",test_result_book_to_show_result:"Book a test to show results",test_result_doctor_appointment:"Lab tests explanation",test_result_free:"Free",test_result_more_about_your_results:"Find out more about your resutls",test_result_choose_time:"Choose a time",test_result_reset_all:"Reset all",test_result_opening_slots:"Opening slots",test_result_book_appointment:"Book a call",test_result_successfully_booked:"Successfully booked",test_result_have_an_appointment_with_doctor:"You have an appointment with our doctor at {time} on {date}.",test_result_book_appointment_error_title:"Something went wrong...",test_result_book_appointment_error_description:"Please try to book the appointment again or contact Diag via hotline 19001717 if the error still happens",test_result_upcoming_appointment:"Upcoming appoinment",test_result_date_at_time:"{date} at {time}",test_result_get_started:"Get started",test_result_book_first_test:"Book your first test now",test_result_booking_account_code:"Account code:",test_result_booking_document_type_id_number:"ID number:",test_result_booking_document_type_passport_no:"Passport no:",test_result_booking_patient:"Patient",test_result_booking_doctor:"Doctor",test_result_booking_booking_number:"Your booking number",test_result_booking_results_will_be_there:"Your results will be here...",test_result_booking_booking_canceled:"Your booking was cancelled",test_result_booking_next_step:"Next steps",test_result_booking_diag_contact_you_and_check:"Diag will contact you and check for your preferred time slot.",test_result_booking_find_location_center:"Find location center",test_result_booking_view_results:"View my results",test_result_booking_test_results:"Test results",test_result_booking_need_collect_sample:"Nurse needs to collect your sample.",test_result_booking_processing_sample:"We are processing your sample.",test_result_booking_fully_ready:"Your results are fully ready now.",test_result_booking_booking_details:"Booking details",test_result_booking_payment_status_pay_later:"Pay later",test_result_booking_payment_status_paid_online:"Paid online",test_result_booking_payment_status_paid:"Paid",test_result_booking_payment_status_refund_in_progress:"Refunding",test_result_booking_payment_status_refunded:"Refunded",test_result_booking_payment_status_canceled:"Canceled",test_result_booking_booking_status_created:"Created",test_result_booking_booking_status_in_progress:"In progress",test_result_booking_booking_status_completed:"Completed",test_result_booking_booking_status_canceled:"Canceled",test_result_booking_total_payment:"Total Payment",test_result_booking_note:"Note",test_result_booking_support_zalo:"Zalo:",test_result_booking_support_hotline:"Hotline:",test_result_booking_support_email:"Email:",test_result_booking_sample_collection:"Sample collection",test_result_booking_testing_location:"Testing location",test_result_booking_address:"Address",test_result_booking_expected_date:"Expected date",test_result_booking_tests:"Tests",test_result_booking_packages:"Packages",test_result_booking_imaging_services:"Imaging services",date_time:{day_parts:{morning:"Morning",afternoon:"Afternoon",evening:"Evening"}},test_result_health_summary:"Health summary",test_result_have_questions:"Book a consult call",test_result_appointment_date:"{date} in the {time}"}},vV={install:(n,t)=>{if(t!=null&&t.i18n){const{mergeLocaleMessage:e}=t.i18n.global;e("vi",oS),e("en",aS)}}};le.AccountSegment=dp,le.BookAppointment=tS,le.BookAppointmentModal=DF,le.BookingDetail=NO,le.BookingDetailDesktop=GO,le.BookingList=$F,le.BookingListItem=eS,le.BookingStatus=xs,le.BottomCursedType=Zc,le.CallUsFilledButton=Sx,le.CallUsTextButton=pV,le.CookieName=dA,le.CtaButton=Gh,le.DayPartDuration=Ws,le.DayPartType=Qe,le.DocumentType=Ec,le.EventBusName=cA,le.EventType=uA,le.Gender=Sc,le.LoadingSkeleton=jh,le.LsKey=Ex,le.MyProfile=uV,le.NoItemsFound=Op,le.PatientFullInfo=DA,le.PaymentStatus=gi,le.RejectedResult=Dx,le.ResultReady=bV,le.ResultSegmentNormalType=f1,le.ResultSegmentValueOPR=p1,le.ResultType=h1,le.ServiceType=Kc,le.SupportEmail=lA,le.SupportPhone=qh,le.TestResultConclusion=Xr,le.TestResultDetail=FB,le.TestResultHistoryDetail=QE,le.TestResultHistoryDetailModal=nF,le.TestResultList=XB,le.TestResultListItem=iS,le.TestResultStatus=On,le.TestResultTemplate=up,le.TestStatus=d1,le.default=vV,le.en=aS,le.vi=oS,Object.defineProperties(le,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
130
+ }`;var Lt=bh(function(){return jt(D,gt+"return "+st).apply(e,N)});if(Lt.source=st,ic(Lt))throw Lt;return Lt}function nv(s){return Gt(s).toLowerCase()}function sv(s){return Gt(s).toUpperCase()}function iv(s,r,u){if(s=Gt(s),s&&(u||r===e))return ye(s);if(!s||!(r=hn(r)))return s;var _=$n(s),y=$n(r),D=Tu(_,y),N=Nu(_,y)+1;return Ls(_,D,N).join("")}function rv(s,r,u){if(s=Gt(s),s&&(u||r===e))return s.slice(0,Au(s)+1);if(!s||!(r=hn(r)))return s;var _=$n(s),y=Nu(_,$n(r))+1;return Ls(_,0,y).join("")}function ov(s,r,u){if(s=Gt(s),s&&(u||r===e))return s.replace(cr,"");if(!s||!(r=hn(r)))return s;var _=$n(s),y=Tu(_,$n(r));return Ls(_,y).join("")}function av(s,r){var u=wt,_=yt;if(be(r)){var y="separator"in r?r.separator:y;u="length"in r?Ot(r.length):u,_="omission"in r?hn(r.omission):_}s=Gt(s);var D=s.length;if($i(s)){var N=$n(s);D=N.length}if(u>=D)return s;var L=u-Yi(_);if(L<1)return _;var Y=N?Ls(N,0,L).join(""):s.slice(0,L);if(y===e)return Y+_;if(N&&(L+=Y.length-L),rc(y)){if(s.slice(L).search(y)){var J,tt=Y;for(y.global||(y=kl(y.source,Gt(qs.exec(y))+"g")),y.lastIndex=0;J=y.exec(tt);)var st=J.index;Y=Y.slice(0,st===e?L:st)}}else if(s.indexOf(hn(y),L)!=L){var ht=Y.lastIndexOf(y);ht>-1&&(Y=Y.slice(0,ht))}return Y+_}function lv(s){return s=Gt(s),s&&Si.test(s)?s.replace(Eo,F_):s}var cv=qi(function(s,r,u){return s+(u?" ":"")+r.toUpperCase()}),lc=vd("toUpperCase");function yh(s,r,u){return s=Gt(s),r=u?e:r,r===e?A_(s)?$_(s):Ft(s):s.match(r)||[]}var bh=It(function(s,r){try{return ge(s,e,r)}catch(u){return ic(u)?u:new Mt(u)}}),uv=ps(function(s,r){return De(r,function(u){u=Jn(u),hs(s,u,nc(s[u],s))}),s});function dv(s){var r=s==null?0:s.length,u=xt();return s=r?ie(s,function(_){if(typeof _[1]!="function")throw new xn(c);return[u(_[0]),_[1]]}):[],It(function(_){for(var y=-1;++y<r;){var D=s[y];if(ge(D[0],this,_))return ge(D[1],this,_)}})}function hv(s){return Fm(En(s,w))}function cc(s){return function(){return s}}function fv(s,r){return s==null||s!==s?r:s}var pv=xd(),_v=xd(!0);function on(s){return s}function uc(s){return Ju(typeof s=="function"?s:En(s,w))}function mv(s){return td(En(s,w))}function gv(s,r){return ed(s,En(r,w))}var yv=It(function(s,r){return function(u){return Br(u,s,r)}}),bv=It(function(s,r){return function(u){return Br(s,u,r)}});function dc(s,r,u){var _=Re(r),y=da(r,_);u==null&&!(be(r)&&(y.length||!_.length))&&(u=r,r=s,s=this,y=da(r,Re(r)));var D=!(be(u)&&"chain"in u)||!!u.chain,N=ms(s);return De(y,function(L){var Y=r[L];s[L]=Y,N&&(s.prototype[L]=function(){var J=this.__chain__;if(D||J){var tt=s(this.__wrapped__),st=tt.__actions__=nn(this.__actions__);return st.push({func:Y,args:arguments,thisArg:s}),tt.__chain__=J,tt}return Y.apply(s,Pe([this.value()],arguments))})}),s}function vv(){return ce._===this&&(ce._=j_),this}function hc(){}function kv(s){return s=Ot(s),It(function(r){return nd(r,s)})}var xv=Ul(ie),wv=Ul(ii),Ev=Ul(ri);function vh(s){return Kl(s)?q(Jn(s)):tg(s)}function Sv(s){return function(r){return s==null?e:di(s,r)}}var Dv=Ed(),Cv=Ed(!0);function fc(){return[]}function pc(){return!1}function Mv(){return{}}function Tv(){return""}function Nv(){return!0}function Ov(s,r){if(s=Ot(s),s<1||s>ee)return[];var u=Nt,_=je(s,Nt);r=xt(r),s-=Nt;for(var y=vt(_,r);++u<s;)r(u);return y}function Av(s){return Tt(s)?ie(s,Jn):fn(s)?[s]:nn($d(Gt(s)))}function Lv(s){var r=++H_;return Gt(s)+r}var Iv=ga(function(s,r){return s+r},0),Pv=Hl("ceil"),Rv=ga(function(s,r){return s/r},1),Fv=Hl("floor");function Bv(s){return s&&s.length?ua(s,on,Tl):e}function Vv(s,r){return s&&s.length?ua(s,xt(r,2),Tl):e}function $v(s){return P(s,on)}function Yv(s,r){return P(s,xt(r,2))}function Wv(s){return s&&s.length?ua(s,on,Ll):e}function Uv(s,r){return s&&s.length?ua(s,xt(r,2),Ll):e}var Hv=ga(function(s,r){return s*r},1),zv=Hl("round"),jv=ga(function(s,r){return s-r},0);function Gv(s){return s&&s.length?kt(s,on):0}function qv(s,r){return s&&s.length?kt(s,xt(r,2)):0}return x.after=my,x.ary=Zd,x.assign=sb,x.assignIn=dh,x.assignInWith=Na,x.assignWith=ib,x.at=rb,x.before=Jd,x.bind=nc,x.bindAll=uv,x.bindKey=Qd,x.castArray=My,x.chain=qd,x.chunk=Fg,x.compact=Bg,x.concat=Vg,x.cond=dv,x.conforms=hv,x.constant=cc,x.countBy=G0,x.create=ob,x.curry=th,x.curryRight=eh,x.debounce=nh,x.defaults=ab,x.defaultsDeep=lb,x.defer=gy,x.delay=yy,x.difference=$g,x.differenceBy=Yg,x.differenceWith=Wg,x.drop=Ug,x.dropRight=Hg,x.dropRightWhile=zg,x.dropWhile=jg,x.fill=Gg,x.filter=X0,x.flatMap=J0,x.flatMapDeep=Q0,x.flatMapDepth=ty,x.flatten=Hd,x.flattenDeep=qg,x.flattenDepth=Xg,x.flip=by,x.flow=pv,x.flowRight=_v,x.fromPairs=Kg,x.functions=_b,x.functionsIn=mb,x.groupBy=ey,x.initial=Jg,x.intersection=Qg,x.intersectionBy=t0,x.intersectionWith=e0,x.invert=yb,x.invertBy=bb,x.invokeMap=sy,x.iteratee=uc,x.keyBy=iy,x.keys=Re,x.keysIn=rn,x.map=Ea,x.mapKeys=kb,x.mapValues=xb,x.matches=mv,x.matchesProperty=gv,x.memoize=Da,x.merge=wb,x.mergeWith=hh,x.method=yv,x.methodOf=bv,x.mixin=dc,x.negate=Ca,x.nthArg=kv,x.omit=Eb,x.omitBy=Sb,x.once=vy,x.orderBy=ry,x.over=xv,x.overArgs=ky,x.overEvery=wv,x.overSome=Ev,x.partial=sc,x.partialRight=sh,x.partition=oy,x.pick=Db,x.pickBy=fh,x.property=vh,x.propertyOf=Sv,x.pull=r0,x.pullAll=jd,x.pullAllBy=o0,x.pullAllWith=a0,x.pullAt=l0,x.range=Dv,x.rangeRight=Cv,x.rearg=xy,x.reject=cy,x.remove=c0,x.rest=wy,x.reverse=tc,x.sampleSize=dy,x.set=Mb,x.setWith=Tb,x.shuffle=hy,x.slice=u0,x.sortBy=_y,x.sortedUniq=g0,x.sortedUniqBy=y0,x.split=Jb,x.spread=Ey,x.tail=b0,x.take=v0,x.takeRight=k0,x.takeRightWhile=x0,x.takeWhile=w0,x.tap=B0,x.throttle=Sy,x.thru=wa,x.toArray=lh,x.toPairs=ph,x.toPairsIn=_h,x.toPath=Av,x.toPlainObject=uh,x.transform=Nb,x.unary=Dy,x.union=E0,x.unionBy=S0,x.unionWith=D0,x.uniq=C0,x.uniqBy=M0,x.uniqWith=T0,x.unset=Ob,x.unzip=ec,x.unzipWith=Gd,x.update=Ab,x.updateWith=Lb,x.values=Zi,x.valuesIn=Ib,x.without=N0,x.words=yh,x.wrap=Cy,x.xor=O0,x.xorBy=A0,x.xorWith=L0,x.zip=I0,x.zipObject=P0,x.zipObjectDeep=R0,x.zipWith=F0,x.entries=ph,x.entriesIn=_h,x.extend=dh,x.extendWith=Na,dc(x,x),x.add=Iv,x.attempt=bh,x.camelCase=Bb,x.capitalize=mh,x.ceil=Pv,x.clamp=Pb,x.clone=Ty,x.cloneDeep=Oy,x.cloneDeepWith=Ay,x.cloneWith=Ny,x.conformsTo=Ly,x.deburr=gh,x.defaultTo=fv,x.divide=Rv,x.endsWith=Vb,x.eq=Wn,x.escape=$b,x.escapeRegExp=Yb,x.every=q0,x.find=K0,x.findIndex=Wd,x.findKey=cb,x.findLast=Z0,x.findLastIndex=Ud,x.findLastKey=ub,x.floor=Fv,x.forEach=Xd,x.forEachRight=Kd,x.forIn=db,x.forInRight=hb,x.forOwn=fb,x.forOwnRight=pb,x.get=oc,x.gt=Iy,x.gte=Py,x.has=gb,x.hasIn=ac,x.head=zd,x.identity=on,x.includes=ny,x.indexOf=Zg,x.inRange=Rb,x.invoke=vb,x.isArguments=pi,x.isArray=Tt,x.isArrayBuffer=Ry,x.isArrayLike=sn,x.isArrayLikeObject=Ce,x.isBoolean=Fy,x.isBuffer=Is,x.isDate=By,x.isElement=Vy,x.isEmpty=$y,x.isEqual=Yy,x.isEqualWith=Wy,x.isError=ic,x.isFinite=Uy,x.isFunction=ms,x.isInteger=ih,x.isLength=Ma,x.isMap=rh,x.isMatch=Hy,x.isMatchWith=zy,x.isNaN=jy,x.isNative=Gy,x.isNil=Xy,x.isNull=qy,x.isNumber=oh,x.isObject=be,x.isObjectLike=Ee,x.isPlainObject=Hr,x.isRegExp=rc,x.isSafeInteger=Ky,x.isSet=ah,x.isString=Ta,x.isSymbol=fn,x.isTypedArray=Ki,x.isUndefined=Zy,x.isWeakMap=Jy,x.isWeakSet=Qy,x.join=n0,x.kebabCase=Wb,x.last=Dn,x.lastIndexOf=s0,x.lowerCase=Ub,x.lowerFirst=Hb,x.lt=tb,x.lte=eb,x.max=Bv,x.maxBy=Vv,x.mean=$v,x.meanBy=Yv,x.min=Wv,x.minBy=Uv,x.stubArray=fc,x.stubFalse=pc,x.stubObject=Mv,x.stubString=Tv,x.stubTrue=Nv,x.multiply=Hv,x.nth=i0,x.noConflict=vv,x.noop=hc,x.now=Sa,x.pad=zb,x.padEnd=jb,x.padStart=Gb,x.parseInt=qb,x.random=Fb,x.reduce=ay,x.reduceRight=ly,x.repeat=Xb,x.replace=Kb,x.result=Cb,x.round=zv,x.runInContext=F,x.sample=uy,x.size=fy,x.snakeCase=Zb,x.some=py,x.sortedIndex=d0,x.sortedIndexBy=h0,x.sortedIndexOf=f0,x.sortedLastIndex=p0,x.sortedLastIndexBy=_0,x.sortedLastIndexOf=m0,x.startCase=Qb,x.startsWith=tv,x.subtract=jv,x.sum=Gv,x.sumBy=qv,x.template=ev,x.times=Ov,x.toFinite=gs,x.toInteger=Ot,x.toLength=ch,x.toLower=nv,x.toNumber=Cn,x.toSafeInteger=nb,x.toString=Gt,x.toUpper=sv,x.trim=iv,x.trimEnd=rv,x.trimStart=ov,x.truncate=av,x.unescape=lv,x.uniqueId=Lv,x.upperCase=cv,x.upperFirst=lc,x.each=Xd,x.eachRight=Kd,x.first=zd,dc(x,function(){var s={};return Kn(x,function(r,u){Jt.call(x.prototype,u)||(s[u]=r)}),s}(),{chain:!1}),x.VERSION=i,De(["bind","bindKey","curry","curryRight","partial","partialRight"],function(s){x[s].placeholder=x}),De(["drop","take"],function(s,r){Bt.prototype[s]=function(u){u=u===e?1:Ie(Ot(u),0);var _=this.__filtered__&&!r?new Bt(this):this.clone();return _.__filtered__?_.__takeCount__=je(u,_.__takeCount__):_.__views__.push({size:je(u,Nt),type:s+(_.__dir__<0?"Right":"")}),_},Bt.prototype[s+"Right"]=function(u){return this.reverse()[s](u).reverse()}}),De(["filter","map","takeWhile"],function(s,r){var u=r+1,_=u==Se||u==Xt;Bt.prototype[s]=function(y){var D=this.clone();return D.__iteratees__.push({iteratee:xt(y,3),type:u}),D.__filtered__=D.__filtered__||_,D}}),De(["head","last"],function(s,r){var u="take"+(r?"Right":"");Bt.prototype[s]=function(){return this[u](1).value()[0]}}),De(["initial","tail"],function(s,r){var u="drop"+(r?"":"Right");Bt.prototype[s]=function(){return this.__filtered__?new Bt(this):this[u](1)}}),Bt.prototype.compact=function(){return this.filter(on)},Bt.prototype.find=function(s){return this.filter(s).head()},Bt.prototype.findLast=function(s){return this.reverse().find(s)},Bt.prototype.invokeMap=It(function(s,r){return typeof s=="function"?new Bt(this):this.map(function(u){return Br(u,s,r)})}),Bt.prototype.reject=function(s){return this.filter(Ca(xt(s)))},Bt.prototype.slice=function(s,r){s=Ot(s);var u=this;return u.__filtered__&&(s>0||r<0)?new Bt(u):(s<0?u=u.takeRight(-s):s&&(u=u.drop(s)),r!==e&&(r=Ot(r),u=r<0?u.dropRight(-r):u.take(r-s)),u)},Bt.prototype.takeRightWhile=function(s){return this.reverse().takeWhile(s).reverse()},Bt.prototype.toArray=function(){return this.take(Nt)},Kn(Bt.prototype,function(s,r){var u=/^(?:filter|find|map|reject)|While$/.test(r),_=/^(?:head|last)$/.test(r),y=x[_?"take"+(r=="last"?"Right":""):r],D=_||/^find/.test(r);!y||(x.prototype[r]=function(){var N=this.__wrapped__,L=_?[1]:arguments,Y=N instanceof Bt,J=L[0],tt=Y||Tt(N),st=function(Pt){var Yt=y.apply(x,Pe([Pt],L));return _&&ht?Yt[0]:Yt};tt&&u&&typeof J=="function"&&J.length!=1&&(Y=tt=!1);var ht=this.__chain__,gt=!!this.__actions__.length,St=D&&!ht,Lt=Y&&!gt;if(!D&&tt){N=Lt?N:new Bt(this);var Dt=s.apply(N,L);return Dt.__actions__.push({func:wa,args:[st],thisArg:e}),new wn(Dt,ht)}return St&&Lt?s.apply(this,L):(Dt=this.thru(st),St?_?Dt.value()[0]:Dt.value():Dt)})}),De(["pop","push","shift","sort","splice","unshift"],function(s){var r=Xo[s],u=/^(?:push|sort|unshift)$/.test(s)?"tap":"thru",_=/^(?:pop|shift)$/.test(s);x.prototype[s]=function(){var y=arguments;if(_&&!this.__chain__){var D=this.value();return r.apply(Tt(D)?D:[],y)}return this[u](function(N){return r.apply(Tt(N)?N:[],y)})}}),Kn(Bt.prototype,function(s,r){var u=x[r];if(u){var _=u.name+"";Jt.call(zi,_)||(zi[_]=[]),zi[_].push({name:r,func:u})}}),zi[ma(e,A).name]=[{name:"wrapper",func:e}],Bt.prototype.clone=lm,Bt.prototype.reverse=cm,Bt.prototype.value=um,x.prototype.at=V0,x.prototype.chain=$0,x.prototype.commit=Y0,x.prototype.next=W0,x.prototype.plant=H0,x.prototype.reverse=z0,x.prototype.toJSON=x.prototype.valueOf=x.prototype.value=j0,x.prototype.first=x.prototype.head,Or&&(x.prototype[Or]=U0),x},Wi=Y_();ls?((ls.exports=Wi)._=Wi,vn._=Wi):ce._=Wi}).call(Vc)})(D_,D_.exports);const EB={class:"psc-flex-auto psc-px-2 psc-font-semibold"},SB={class:"psc-pt-3"},DB={key:0},CB=f.createElementVNode("div",{class:"psc-flex-initial psc-pr-3 psc-pt-2"},[f.createElementVNode("div",{class:"psc-h-[6px] psc-w-[6px] psc-rounded-full psc-bg-blue-darken-1"})],-1),MB={class:"psc-flex-auto psc-pl-2"},TB=["innerHTML"],NB=f.defineComponent({__name:"HealthSummary",props:{items:{default:()=>[]},ctaButton:{type:Boolean,default:!1}},emits:["click:cta-button","update:modelValue"],setup(n,{emit:t}){const e=n,i=f.ref(!0),o=f.computed(()=>!D_.exports.isEmpty(e.items)),a=()=>{i.value=!i.value};return(c,d)=>(f.openBlock(),f.createElementBlock(f.Fragment,null,[f.createElementVNode("div",{class:"psc-flex psc-w-full psc-cursor-pointer psc-items-center psc-rounded-lg psc-bg-[#e6f0fe] psc-px-3 psc-py-1 psc-text-blue-darken-1",onClick:d[0]||(d[0]=p=>a())},[f.createVNode(f.unref(ir),{icon:"dgic-stethoscope-thick"}),f.createElementVNode("div",EB,f.toDisplayString(c.$t("psc.test_result_health_summary")),1),f.createElementVNode("i",{class:f.normalizeClass(["dgic-chevron-down-thin psc-text-2xl psc-transition-transform",{"psc-rotate-180":i.value}])},null,2)]),f.createVNode(f.unref(DC),{modelValue:i.value,"onUpdate:modelValue":d[2]||(d[2]=p=>i.value=p),class:"psc-w-full"},{default:f.withCtx(()=>[f.createElementVNode("div",SB,[f.unref(o)?(f.openBlock(),f.createElementBlock("div",DB,[(f.openBlock(!0),f.createElementBlock(f.Fragment,null,f.renderList(e.items,(p,g)=>(f.openBlock(),f.createElementBlock("div",{key:`item${g}`,class:"psc-flex psc-w-full psc-px-3 psc-py-2"},[CB,f.createElementVNode("div",MB,[f.createElementVNode("div",{innerHTML:p},null,8,TB)])]))),128))])):f.createCommentVNode("",!0),e.ctaButton?(f.openBlock(),f.createBlock(f.unref(La),{key:1,type:"secondary",class:"psc-mt-5 psc-w-full",onClick:d[1]||(d[1]=p=>t("click:cta-button"))},{default:f.withCtx(()=>[f.createTextVNode(f.toDisplayString(c.$t("psc.test_result_have_questions")),1)]),_:1})):f.createCommentVNode("",!0)])]),_:1},8,["modelValue"])],64))}}),OB={},AB={class:"psc-mb-4 psc-w-full psc-px-4"},LB={class:"psc-flex psc-flex-wrap psc-rounded-lg psc-border psc-border-gray-lighten-2 psc-p-3 psc-shadow"};function IB(n,t){return f.openBlock(),f.createElementBlock("div",AB,[f.createElementVNode("div",LB,[f.renderSlot(n.$slots,"default")])])}const Bf=Qi(OB,[["render",IB]]),PB={key:0,class:"consumer-test-result__ready"},RB={class:"psc-px-4"},FB=f.defineComponent({__name:"TestResultDetail",props:{testResult:null,loading:{type:Boolean},hidePatientInfo:{type:Boolean,default:!1}},emits:["click:book-appointment"],setup(n,{emit:t}){const e=n,i=f.computed(()=>[On.Ordered,On.InProgress,On.Ready,On.PartiallyComplete].includes(e.testResult.result_status)),o=f.computed(()=>e.testResult.template_type===up.HPV&&[On.Ordered,On.InProgress].includes(e.testResult.result_status)),a=f.computed(()=>{var d,p;return{patientName:!e.hidePatientInfo,healthSummary:((d=e.testResult.remarks)==null?void 0:d.length)>0,bookAppointment:e.testResult.is_free_consultant&&(!e.testResult.remarks||e.testResult.remarks.length===0),doctorNote:!!e.testResult.doctor_note&&((p=e.testResult.remarks)==null?void 0:p.length)===0,upcomingAppointment:!e.testResult.doctor_note&&!!e.testResult.consult_time}}),c=f.computed(()=>{let d=[];return e.testResult.remarks&&(d=d.concat(e.testResult.remarks.map(p=>p.name))),e.testResult.doctor_note&&d.push(e.testResult.doctor_note),d});return(d,p)=>(f.openBlock(),f.createElementBlock("div",null,[e.loading?(f.openBlock(),f.createBlock(wB,{key:0})):(f.openBlock(),f.createElementBlock(f.Fragment,{key:1},[f.unref(i)?(f.openBlock(),f.createElementBlock("div",PB,[f.createElementVNode("div",null,[f.unref(a).patientName?(f.openBlock(),f.createBlock(gx,{key:0,"first-name":e.testResult.first_name,class:"psc-px-4 psc-pb-2"},null,8,["first-name"])):f.createCommentVNode("",!0),f.createVNode(KF,{"test-result":e.testResult,class:"psc-px-4 psc-pb-4"},null,8,["test-result"]),f.unref(a).healthSummary?(f.openBlock(),f.createBlock(Bf,{key:1},{default:f.withCtx(()=>[f.createVNode(NB,{items:f.unref(c),"cta-button":e.testResult.is_free_consultant,"onClick:ctaButton":p[0]||(p[0]=g=>t("click:book-appointment"))},null,8,["items","cta-button"])]),_:1})):f.createCommentVNode("",!0),f.unref(a).bookAppointment?(f.openBlock(),f.createBlock(Bf,{key:2},{default:f.withCtx(()=>[f.createVNode(iB,{"onClick:book":p[1]||(p[1]=g=>t("click:book-appointment"))})]),_:1})):f.createCommentVNode("",!0),f.unref(a).doctorNote?(f.openBlock(),f.createBlock(Bf,{key:3},{default:f.withCtx(()=>[f.createVNode(aB,{"doctor-note":e.testResult.doctor_note},null,8,["doctor-note"])]),_:1})):f.createCommentVNode("",!0),f.unref(a).upcomingAppointment?(f.openBlock(),f.createBlock(Bf,{key:4},{default:f.withCtx(()=>[f.createVNode(hB,{"time-slot":e.testResult.consult_time},null,8,["time-slot"])]),_:1})):f.createCommentVNode("",!0)]),f.createElementVNode("div",RB,[f.renderSlot(d.$slots,"header"),f.unref(o)?f.createCommentVNode("",!0):f.renderSlot(d.$slots,"default",{key:0}),f.renderSlot(d.$slots,"footer")])])):(f.openBlock(),f.createBlock(Dx,{key:1,class:"psc-px-4"},{"body-append":f.withCtx(()=>[f.createVNode(Sx,{class:"psc-mt-6"})]),_:1}))],64))]))}}),BB={class:"psc-cursor-pointer psc-space-y-3 psc-rounded-lg psc-p-3 psc-shadow hover:psc-bg-slate-100"},VB={class:"psc-flex psc-items-center"},$B={class:"psc-flex-initial psc-font-semibold psc-text-blue-darken-1"},YB={class:"psc-flex-auto psc-pl-2 psc-text-black/[0.6]"},WB=f.createElementVNode("div",{class:"psc-flex-initial"},[f.createElementVNode("i",{class:"dgic-chevron-right-thin psc-text-2xl psc-text-blue-darken-1"})],-1),UB={class:"psc-flex"},HB={class:"psc-text-sm"},iS=f.defineComponent({__name:"TestResultListItem",props:{item:null},setup(n){const t=n,{t:e}=Pn(),{formatDate:i}=Ji(),o=f.computed(()=>({[On.Ordered]:{text:e("psc.test_result_status_not_ready"),cssClass:"psc-text-black/60",icon:"dgic-time-dotted"},[On.InProgress]:{text:e("psc.test_result_status_not_ready"),cssClass:"psc-text-black/60",icon:"dgic-time-dotted"},[On.PartiallyComplete]:{text:e("psc.test_result_status_partially_ready"),cssClass:"psc-text-black/60",icon:"dgic-partial-thin-2"},[On.Ready]:{text:e("psc.test_result_status_ready"),cssClass:"psc-text-green-darken-1",icon:"dgic-check-mark-thin"},[On.Canceled]:{text:e("psc.test_result_status_couldnt_process"),cssClass:"psc-text-red-darken-1",icon:"dgic-cancel-right-to-left"},[On.Rejected]:{text:e("psc.test_result_status_couldnt_process"),cssClass:"psc-text-red-darken-1",icon:"dgic-cancel-right-to-left"}})[t.item.result_status]||{text:"",cssClass:"",icon:""});return(a,c)=>(f.openBlock(),f.createElementBlock("div",BB,[f.createElementVNode("div",VB,[f.createElementVNode("div",$B,[f.createElementVNode("span",null,f.toDisplayString(`${a.$t("psc.test_result_order")} ${t.item.order_id}`),1)]),f.createElementVNode("div",YB,f.toDisplayString(f.unref(i)(new Date(t.item.visit_date))),1),WB]),f.createElementVNode("div",UB,[f.createElementVNode("div",{class:f.normalizeClass(["psc-flex psc-items-center psc-font-semibold",f.unref(o).cssClass])},[f.createElementVNode("span",HB,f.toDisplayString(f.unref(o).text),1),f.createVNode(f.unref(ir),{icon:f.unref(o).icon,class:"psc-ml-1 psc-text-2xl"},null,8,["icon"])],2)])]))}}),zB={class:"psc-space-y-4 psc-px-4"},jB={class:"psc-w-full psc-px-4 psc-pt-7 psc-text-center"},GB={key:1},qB={key:0,class:"psc-px-4 psc-pt-7"},XB=f.defineComponent({__name:"TestResultList",props:{items:null,loading:{type:Boolean},skeletonCount:null,ctaButtonUrl:{default:""},hideLoadMore:{type:Boolean},bookingButtonUrl:{default:""}},emits:["switch-to-detail","click:load-more"],setup(n,{emit:t}){const e=n,i=async()=>{t("click:load-more")},o=async a=>{t("switch-to-detail",a)};return(a,c)=>(f.openBlock(),f.createElementBlock("div",null,[!e.loading&&e.items.length===0?(f.openBlock(),f.createBlock(Op,{key:0,title:a.$t("psc.test_result_no_results_found"),subtitle:a.$t("psc.test_result_book_to_show_result"),"booking-button-url":e.bookingButtonUrl,class:"psc-content-h-full"},null,8,["title","subtitle","booking-button-url"])):(f.openBlock(),f.createElementBlock(f.Fragment,{key:1},[f.createVNode(S_,null,{default:f.withCtx(()=>[f.createTextVNode(f.toDisplayString(a.$t("psc.test_result_all_results")),1)]),_:1}),f.createElementVNode("div",zB,[(f.openBlock(!0),f.createElementBlock(f.Fragment,null,f.renderList(e.items,(d,p)=>(f.openBlock(),f.createElementBlock("div",{key:`item${p}`},[f.createVNode(iS,{item:d,onClick:g=>o(d)},null,8,["item","onClick"])]))),128)),e.loading?(f.openBlock(!0),f.createElementBlock(f.Fragment,{key:0},f.renderList(e.skeletonCount,d=>(f.openBlock(),f.createBlock(jh,{key:`skeleton${d}`}))),128)):f.createCommentVNode("",!0)]),f.createElementVNode("div",jB,[e.hideLoadMore?(f.openBlock(),f.createElementBlock("div",GB,f.toDisplayString(a.$t("psc.test_result_all_results_loaded")),1)):(f.openBlock(),f.createBlock(f.unref(La),{key:0,type:"secondary",disabled:e.loading,size:"sm","prepend-icon":"dgic-double-chevron-down-thin",onClick:i},{default:f.withCtx(()=>[f.createTextVNode(f.toDisplayString(a.$t("psc.test_result_load_older_results")),1)]),_:1},8,["disabled"]))]),e.ctaButtonUrl?(f.openBlock(),f.createElementBlock("div",qB,[f.createVNode(Gh,{class:"psc-mt-[20px]",url:n.ctaButtonUrl,title:a.$t("psc.test_result_test_more_for_better_health"),subtitle:a.$t("psc.test_result_book_general_screening_panel_now")},null,8,["url","title","subtitle"])])):f.createCommentVNode("",!0)],64))]))}}),rS=()=>{window.open(`tel:${qh}`,"_self")},KB=n=>`${n.slice(0,-6)} ${n.slice(-6,-3)} ${n.slice(-3)}`,ZB={class:"psc-px-4"},JB={key:1,class:"psc-mb-[20px] psc-flex"},QB=f.createElementVNode("div",{class:"psc-mr-[16px] psc-h-[60px] psc-w-[60px] psc-min-w-[60px] psc-overflow-hidden psc-rounded-full psc-border-[1px] psc-border-solid psc-border-[#00000019]"},[f.createElementVNode("i",{class:"dgic-user-circle psc-text-[60px] psc-text-[#00000019]"})],-1),tV={class:"psc-text-[14px]"},eV={class:"psc-mb-[12px] psc-text-[20px] psc-font-[600]"},nV={class:"psc-mb-[8px] psc-flex psc-items-center"},sV=f.createElementVNode("i",{class:"dgic-cake psc-mr-1 psc-text-[22px] psc-font-bold"},null,-1),iV={class:"psc-mb-[8px] psc-flex psc-items-center"},rV=f.createElementVNode("i",{class:"dgic-phone-light psc-mr-1 psc-text-[22px]"},null,-1),oV={class:"psc-mb-[8px] psc-flex psc-items-center"},aV={class:"psc-mb-[35px] psc-flex psc-rounded-[8px] psc-bg-[#e6f0fe] psc-px-[16px] psc-py-[20px]"},lV=f.createElementVNode("div",{class:"items-start psc-mr-[8px] psc-flex"},[f.createElementVNode("i",{class:"dgic-info-fill psc-text-[24px] psc-text-blue-darken-1"})],-1),cV=["innerHTML"],uV=f.defineComponent({__name:"MyProfile",props:{fullName:null,dob:null,gender:null,phoneNumber:null,loading:{type:Boolean},ctaButtonUrl:{default:""}},setup(n){const t=n,{t:e}=Pn(),{formatDate:i}=Ji(),o=f.computed(()=>t.fullName),a=f.computed(()=>i(new Date(t.dob))),c=f.computed(()=>t.gender?{[Sc.Male]:{icon:"dgic-gender-male",text:e("psc.male")},[Sc.Female]:{icon:"dgic-gender-female",text:e("psc.female")}}[t.gender]:{icon:"",text:""}),d=f.computed(()=>t.phoneNumber?KB(t.phoneNumber):"");return(p,g)=>(f.openBlock(),f.createElementBlock("div",null,[f.createVNode(S_,null,{default:f.withCtx(()=>[f.createTextVNode(f.toDisplayString(f.unref(e)("psc.test_result_my_profile")),1)]),_:1}),f.createElementVNode("div",ZB,[t.loading?(f.openBlock(),f.createBlock(jh,{key:0,class:"psc-mb-[20px] psc-pb-16"})):(f.openBlock(),f.createElementBlock("div",JB,[QB,f.createElementVNode("div",tV,[f.createElementVNode("div",eV,f.toDisplayString(f.unref(o)),1),f.createElementVNode("div",nV,[sV,f.createTextVNode(" "+f.toDisplayString(f.unref(a)),1)]),f.createElementVNode("div",iV,[rV,f.createTextVNode(" "+f.toDisplayString(f.unref(d)),1)]),f.createElementVNode("div",oV,[f.createElementVNode("i",{class:f.normalizeClass(["psc-mr-1 psc-text-[22px]",f.unref(c).icon])},null,2),f.createTextVNode(" "+f.toDisplayString(f.unref(c).text),1)])])])),f.createElementVNode("div",aV,[lV,f.createElementVNode("div",{innerHTML:f.unref(e)("psc.test_result_if_you_wish_to_edit_your_profile")},null,8,cV)]),t.ctaButtonUrl?(f.openBlock(),f.createBlock(Gh,{key:2,class:"psc-mt-[20px]",url:t.ctaButtonUrl,title:p.$t("psc.test_result_test_more_for_better_health"),subtitle:p.$t("psc.test_result_book_general_screening_panel_now")},null,8,["url","title","subtitle"])):f.createCommentVNode("",!0)])]))}}),RV="",dV={class:"call-us-text-button"},hV=f.createElementVNode("i",{class:"dgic-phone-light psc-mr-1"},null,-1),fV={class:"diag-opening-time"},pV=f.defineComponent({__name:"CallUsTextButton",setup(n){const{t}=Pn();return(e,i)=>(f.openBlock(),f.createElementBlock("div",dV,[f.createElementVNode("div",{class:"diag-phone-number",onClick:i[0]||(i[0]=(...o)=>f.unref(rS)&&f.unref(rS)(...o))},[hV,f.createElementVNode("span",null,f.toDisplayString(f.unref(qh)),1)]),f.createElementVNode("div",fV,f.toDisplayString(f.unref(t)("psc.test_result_time_support")),1)]))}}),FV="",_V={class:"result-ready"},mV={class:"result-ready__title"},gV={class:"result-ready__date"},yV={key:0,class:"result-ready__date"},bV=f.defineComponent({__name:"ResultReady",props:{testResult:null},setup(n){const t=n,{t:e}=Pn(),{formatDate:i}=Ji(),o=f.computed(()=>t.testResult.sample_collected_at&&i(new Date(t.testResult.sample_collected_at))||""),a=f.computed(()=>t.testResult.result_at&&i(new Date(t.testResult.result_at))||""),c=f.computed(()=>t.testResult.result_status===On.Ready),d=f.computed(()=>{switch(t.testResult.result_status){case On.Ordered:case On.InProgress:return e("psc.test_result_your_result_not_ready");case On.Ready:return e("psc.test_result_your_result_ready");case On.PartiallyComplete:return e("psc.test_result_result_partial_completed");default:return""}});return(p,g)=>(f.openBlock(),f.createElementBlock("div",_V,[f.createElementVNode("span",mV,f.toDisplayString(f.unref(d)),1),f.createElementVNode("div",gV,f.toDisplayString(f.unref(e)("psc.test_result_sample_collected_on"))+" "+f.toDisplayString(`${f.unref(o)}.`),1),f.unref(c)?(f.openBlock(),f.createElementBlock("div",yV,f.toDisplayString(f.unref(e)("psc.test_result_result_released_on"))+" "+f.toDisplayString(`${f.unref(a)}.`),1)):f.createCommentVNode("",!0)]))}}),BV="",oS={psc:{gender:"Gi\u1EDBi t\xEDnh",male:"Nam",female:"N\u1EEF",test_result_my_profile:"H\u1ED3 s\u01A1 c\u1EE7a t\xF4i",test_result_if_you_wish_to_edit_your_profile:'N\u1EBFu c\u1EA7n thay \u0111\u1ED5i th\xF4ng tin c\xE1 nh\xE2n, b\u1EA1n vui l\xF2ng <a href="tel:1900 1717" class="contact-support">li\xEAn h\u1EC7 h\u1ED7 tr\u1EE3</a>',test_result_view_my_bookings:"Xem l\u1ECBch h\u1EB9n c\u1EE7a t\xF4i",test_result_test_more_for_better_health:"\u0110\u1EC3 th\u1EA5u hi\u1EC3u v\xE0 duy tr\xEC s\u1EE9c kho\u1EBB",test_result_book_general_screening_panel_now:"\u0110\u1EB7t h\u1EB9n G\xF3i X\xE9t Nghi\u1EC7m T\u1ED5ng Qu\xE1t ngay",test_result_status_not_ready:"Ch\u01B0a c\xF3 k\u1EBFt qu\u1EA3",test_result_status_couldnt_process:"M\u1EABu kh\xF4ng th\u1EC3 x\u1EED l\xFD",test_result_status_ready:"S\u1EB5n s\xE0ng",test_result_status_partially_ready:"S\u1EB5n s\xE0ng m\u1ED9t ph\u1EA7n",test_result_order:"Ch\u1EC9 \u0111\u1ECBnh",test_result_all_results:"T\u1EA5t c\u1EA3 k\u1EBFt qu\u1EA3",test_result_load_older_results:"Xem c\xE1c k\u1EBFt qu\u1EA3 c\u0169 h\u01A1n",test_result_all_results_loaded:"\u0110\xE3 hi\u1EC3n th\u1ECB t\u1EA5t c\u1EA3 k\u1EBFt qu\u1EA3",test_result_hi:"Xin ch\xE0o,",test_result_your_result_ready:"B\u1EA1n \u0111\xE3 c\xF3 k\u1EBFt qu\u1EA3 x\xE9t nghi\u1EC7m",test_result_result_partial_completed:"X\xE9t nghi\u1EC7m c\u1EE7a b\u1EA1n \u0111\xE3 ho\xE0n th\xE0nh m\u1ED9t ph\u1EA7n",test_result_your_result_not_ready:"K\u1EBFt qu\u1EA3 c\u1EE7a b\u1EA1n ch\u01B0a ho\xE0n t\u1EA5t",test_result_sample_collected:"L\u1EA5y m\u1EABu:",test_result_result_ready:"C\xF3 k\u1EBFt qu\u1EA3:",test_result_sample_collected_on:"M\u1EABu \u0111\xE3 \u0111\u01B0\u1EE3c l\u1EA5y v\xE0o ng\xE0y",test_result_result_released_on:"v\xE0 c\xF3 k\u1EBFt qu\u1EA3 x\xE9t nghi\u1EC7m v\xE0o ng\xE0y",test_result_check_other_results:"Xem c\xE1c k\u1EBFt qu\u1EA3 kh\xE1c",call_us:"Li\xEAn h\u1EC7 Diag",test_result_time_support:"T\u1EEB 06:00 - 21:00",test_result_sample_could_not_processed:"Kh\xF4ng th\u1EC3 x\u1EED l\xFD m\u1EABu b\u1EA1n \u0111\xE3 g\u1EEDi.",test_result_contact_support:"Xin li\xEAn h\u1EC7 b\u1ED9 ph\u1EADn CSKH c\u1EE7a ch\xFAng t\xF4i \u0111\u1EC3 \u0111\u01B0\u1EE3c h\u1ED7 tr\u1EE3 th\xEAm",test_result_being_prepared:"M\u1EABu c\u1EE7a b\u1EA1n \u0111ang \u0111\u01B0\u1EE3c x\xE9t nghi\u1EC7m.",test_result_receive_sms_2_days:"B\u1EA1n s\u1EBD nh\u1EADn \u0111\u01B0\u1EE3c tin nh\u1EAFn SMS ngay khi c\xF3 k\u1EBFt qu\u1EA3 x\xE9t nghi\u1EC7m.",test_result_note:"T\u01B0 v\u1EA5n t\u1EEB b\xE1c s\u0129",test_result_measured_in:"\u0111\u01A1n v\u1ECB t\xEDnh l\xE0",test_result_critical:"Nguy hi\u1EC3m",test_result_high:"Cao",test_result_low:"Th\u1EA5p",test_result_normal:"B\xECnh th\u01B0\u1EDDng",test_result_about:"\xDD ngh\u0129a c\u1EE7a",test_result_all_bookings:"T\u1EA5t c\u1EA3 l\u1ECBch h\u1EB9n",test_result_more_bookings:"L\u1ECBch h\u1EB9n kh\xE1c",test_result_no_booking_found:"Kh\xF4ng c\xF3 l\u1ECBch h\u1EB9n n\xE0o",test_result_message_no_booking_yet:"B\u1EA1n ch\u01B0a t\u1EA1o l\u1ECBch h\u1EB9n x\xE9t nghi\u1EC7m n\xE0o",test_result_support:"H\u1ED7 tr\u1EE3",test_result_find_nearest_diag_branch:"T\xECm chi nh\xE1nh g\u1EA7n nh\u1EA5t",test_result_no_results_found:"Ch\u01B0a c\xF3 k\u1EBFt qu\u1EA3 n\xE0o",test_result_book_to_show_result:"\u0110\u1EB7t h\u1EB9n x\xE9t nghi\u1EC7m ngay \u0111\u1EC3 xem k\u1EBFt qu\u1EA3",test_result_doctor_appointment:"Gi\u1EA3i th\xEDch k\u1EBFt qu\u1EA3",test_result_free:"Mi\u1EC5n ph\xED",test_result_more_about_your_results:"Hi\u1EC3u r\xF5 h\u01A1n v\u1EC1 k\u1EBFt qu\u1EA3 c\u1EE7a b\u1EA1n",test_result_choose_time:"Ch\u1ECDn ng\xE0y h\u1EB9n",test_result_reset_all:"Ch\u1ECDn l\u1EA1i",test_result_opening_slots:"Ch\u1ECDn gi\u1EDD",test_result_book_appointment:"\u0110\u1EB7t h\u1EB9n nh\u1EADn cu\u1ED9c g\u1ECDi",test_result_successfully_booked:"\u0110\u1EB7t h\u1EB9n th\xE0nh c\xF4ng",test_result_have_an_appointment_with_doctor:"B\u1EA1n c\xF3 l\u1ECBch h\u1EB9n v\u1EDBi b\xE1c s\u0129 c\u1EE7a Diag v\xE0o {time} ng\xE0y {date}.",test_result_book_appointment_error_title:"\u0110\xE3 c\xF3 l\u1ED7i x\u1EA3y ra...",test_result_book_appointment_error_description:"B\u1EA1n vui l\xF2ng th\u1EED l\u1EA1i ho\u1EB7c li\xEAn h\u1EC7 Diag qua hotline 19001717 n\u1EBFu v\u1EABn kh\xF4ng th\u1EC3 \u0111\u1EB7t h\u1EB9n th\xE0nh c\xF4ng.",test_result_upcoming_appointment:"L\u1ECBch h\u1EB9n s\u1EAFp t\u1EDBi",test_result_get_started:"B\u1EAFt \u0111\u1EA7u",test_result_book_first_test:"\u0110\u1EB7t h\u1EB9n x\xE9t nghi\u1EC7m ngay",test_result_booking_account_code:"M\xE3 t\xE0i kho\u1EA3n:",test_result_booking_document_type_id_number:"CMND/CCCD:",test_result_booking_document_type_passport_no:"H\u1ED9 chi\u1EBFu:",test_result_booking_patient:"B\u1EC7nh nh\xE2n",test_result_booking_doctor:"B\xE1c s\u0129",test_result_booking_booking_number:"M\xE3 \u0111\u1EB7t ch\u1ED7 c\u1EE7a b\u1EA1n",test_result_booking_results_will_be_there:"Xem k\u1EBFt qu\u1EA3 t\u1EA1i \u0111\xE2y khi ho\xE0n t\u1EA5t...",test_result_booking_booking_canceled:"L\u1ECBch h\u1EB9n c\u1EE7a b\u1EA1n \u0111\xE3 hu\u1EF7",test_result_booking_next_step:"B\u01B0\u1EDBc ti\u1EBFp theo",test_result_booking_diag_contact_you_and_check:"Diag s\u1EBD li\xEAn h\u1EC7 \u0111\u1EC3 s\u1EAFp x\u1EBFp l\u1ECBch h\u1EB9n ph\xF9 h\u1EE3p v\u1EDBi th\u1EDDi gian c\u1EE7a b\u1EA1n.",test_result_booking_find_location_center:"T\xECm chi nh\xE1nh Diag",test_result_booking_view_results:"Xem k\u1EBFt qu\u1EA3 c\u1EE7a t\xF4i",test_result_booking_test_results:"K\u1EBFt qu\u1EA3 x\xE9t nghi\u1EC7m",test_result_booking_need_collect_sample:"Y t\xE1 c\u1EA7n l\u1EA5y m\u1EABu c\u1EE7a b\u1EA1n.",test_result_booking_processing_sample:"Ch\xFAng t\xF4i \u0111ang x\u1EED l\xFD m\u1EABu c\u1EE7a b\u1EA1n.",test_result_booking_fully_ready:"K\u1EBFt qu\u1EA3 x\xE9t nghi\u1EC7m c\u1EE7a b\u1EA1n \u0111\xE3 ho\xE0n t\u1EA5t.",test_result_booking_booking_details:"Chi ti\u1EBFt l\u1ECBch h\u1EB9n",test_result_booking_payment_status_pay_later:"Thanh to\xE1n sau",test_result_booking_payment_status_paid_online:"Thanh to\xE1n online",test_result_booking_payment_status_paid:"\u0110\xE3 thanh to\xE1n",test_result_booking_payment_status_refund_in_progress:"\u0110ang ho\xE0n ti\u1EC1n",test_result_booking_payment_status_refunded:"\u0110\xE3 ho\xE0n ti\u1EC1n",test_result_booking_payment_status_canceled:"\u0110\xE3 hu\u1EF7",test_result_booking_booking_status_created:"\u0110\xE3 t\u1EA1o",test_result_booking_booking_status_in_progress:"\u0110ang x\u1EED l\xFD m\u1EABu",test_result_booking_booking_status_completed:"Ho\xE0n t\u1EA5t",test_result_booking_booking_status_canceled:"\u0110\xE3 hu\u1EF7",test_result_booking_total_payment:"T\u1ED5ng thanh to\xE1n",test_result_booking_note:"Ghi ch\xFA",test_result_booking_support_zalo:"Zalo:",test_result_booking_support_hotline:"Hotline:",test_result_booking_support_email:"Email:",test_result_booking_sample_collection:"L\u1EA5y m\u1EABu",test_result_booking_testing_location:"\u0110\u1ECBa \u0111i\u1EC3m x\xE9t nghi\u1EC7m",test_result_booking_address:"\u0110\u1ECBa ch\u1EC9",test_result_booking_expected_date:"Ng\xE0y d\u1EF1 ki\u1EBFn",test_result_booking_tests:"X\xE9t nghi\u1EC7m",test_result_booking_packages:"G\xF3i x\xE9t nghi\u1EC7m",test_result_booking_imaging_services:"Ch\u1EA9n \u0111o\xE1n h\xECnh \u1EA3nh",date_time:{day_parts:{morning:"S\xE1ng",afternoon:"Chi\u1EC1u",evening:"T\u1ED1i"}},test_result_health_summary:"T\xF3m t\u1EAFt s\u1EE9c kho\u1EBB s\u01A1 b\u1ED9",test_result_have_questions:"\u0110\u1EB7t cu\u1ED9c g\u1ECDi t\u01B0 v\u1EA5n",test_result_appointment_date:"{time} ng\xE0y {date}"}},aS={psc:{gender:"Gender",male:"Male",female:"Female",test_result_my_profile:"H\u1ED3 s\u01A1 c\u1EE7a t\xF4i",test_result_if_you_wish_to_edit_your_profile:'If you wish to edit your profile, please <a href="tel:1900 1717" class="contact-support">contact support</a>',test_result_view_my_bookings:"View my bookings",test_result_test_more_for_better_health:"Test more for better health",test_result_book_general_screening_panel_now:"Book General Screening Panel now",test_result_status_not_ready:"Not ready yet",test_result_status_couldnt_process:"Couldn't process",test_result_status_ready:"Ready",test_result_status_partially_ready:"Partially ready",test_result_order:"Order",test_result_all_results:"All results",test_result_load_older_results:"Load older results",test_result_all_results_loaded:"All results are loaded",test_result_hi:"Hi,",test_result_your_result_ready:"Your results are ready",test_result_result_partial_completed:"Your results are partially ready",test_result_your_result_not_ready:"Your results are not ready yet",test_result_sample_collected:"Collected:",test_result_result_ready:"Ready:",test_result_sample_collected_on:"Your sample was collected on",test_result_result_released_on:"and your results were released on ",test_result_check_other_results:"Check other results",call_us:"Call for support",test_result_time_support:"From 06:00 - 21:00",test_result_sample_could_not_processed:"Results could not be processed",test_result_contact_support:"Please contact our customer service for further support.",test_result_being_prepared:"Your results are being prepared.",test_result_receive_sms_2_days:"You will receive a SMS as soon as your results are ready.",test_result_note:"Doctor's comments",test_result_measured_in:"measured in",test_result_critical:"Critical",test_result_high:"High",test_result_low:"Low",test_result_normal:"Normal",test_result_about:"About",test_result_all_bookings:"All bookings",test_result_more_bookings:"More Bookings",test_result_no_booking_found:"No booking found",test_result_message_no_booking_yet:"You haven't created any booking yet",test_result_support:"Support",test_result_find_nearest_diag_branch:"Find the nearest branch",test_result_no_results_found:"No results found",test_result_book_to_show_result:"Book a test to show results",test_result_doctor_appointment:"Lab tests explanation",test_result_free:"Free",test_result_more_about_your_results:"Find out more about your resutls",test_result_choose_time:"Choose a time",test_result_reset_all:"Reset all",test_result_opening_slots:"Opening slots",test_result_book_appointment:"Book a call",test_result_successfully_booked:"Successfully booked",test_result_have_an_appointment_with_doctor:"You have an appointment with our doctor at {time} on {date}.",test_result_book_appointment_error_title:"Something went wrong...",test_result_book_appointment_error_description:"Please try to book the appointment again or contact Diag via hotline 19001717 if the error still happens",test_result_upcoming_appointment:"Upcoming appoinment",test_result_get_started:"Get started",test_result_book_first_test:"Book your first test now",test_result_booking_account_code:"Account code:",test_result_booking_document_type_id_number:"ID number:",test_result_booking_document_type_passport_no:"Passport no:",test_result_booking_patient:"Patient",test_result_booking_doctor:"Doctor",test_result_booking_booking_number:"Your booking number",test_result_booking_results_will_be_there:"Your results will be here...",test_result_booking_booking_canceled:"Your booking was cancelled",test_result_booking_next_step:"Next steps",test_result_booking_diag_contact_you_and_check:"Diag will contact you and check for your preferred time slot.",test_result_booking_find_location_center:"Find location center",test_result_booking_view_results:"View my results",test_result_booking_test_results:"Test results",test_result_booking_need_collect_sample:"Nurse needs to collect your sample.",test_result_booking_processing_sample:"We are processing your sample.",test_result_booking_fully_ready:"Your results are fully ready now.",test_result_booking_booking_details:"Booking details",test_result_booking_payment_status_pay_later:"Pay later",test_result_booking_payment_status_paid_online:"Paid online",test_result_booking_payment_status_paid:"Paid",test_result_booking_payment_status_refund_in_progress:"Refunding",test_result_booking_payment_status_refunded:"Refunded",test_result_booking_payment_status_canceled:"Canceled",test_result_booking_booking_status_created:"Created",test_result_booking_booking_status_in_progress:"In progress",test_result_booking_booking_status_completed:"Completed",test_result_booking_booking_status_canceled:"Canceled",test_result_booking_total_payment:"Total Payment",test_result_booking_note:"Note",test_result_booking_support_zalo:"Zalo:",test_result_booking_support_hotline:"Hotline:",test_result_booking_support_email:"Email:",test_result_booking_sample_collection:"Sample collection",test_result_booking_testing_location:"Testing location",test_result_booking_address:"Address",test_result_booking_expected_date:"Expected date",test_result_booking_tests:"Tests",test_result_booking_packages:"Packages",test_result_booking_imaging_services:"Imaging services",date_time:{day_parts:{morning:"Morning",afternoon:"Afternoon",evening:"Evening"}},test_result_health_summary:"Health summary",test_result_have_questions:"Book a consult call",test_result_appointment_date:"{date} in the {time}"}},vV={install:(n,t)=>{if(t!=null&&t.i18n){const{mergeLocaleMessage:e}=t.i18n.global;e("vi",oS),e("en",aS)}}};le.AccountSegment=dp,le.BookAppointment=tS,le.BookAppointmentModal=DF,le.BookingDetail=NO,le.BookingDetailDesktop=GO,le.BookingList=$F,le.BookingListItem=eS,le.BookingStatus=xs,le.BottomCursedType=Zc,le.CallUsFilledButton=Sx,le.CallUsTextButton=pV,le.CookieName=dA,le.CtaButton=Gh,le.DayPartDuration=Ws,le.DayPartType=Qe,le.DocumentType=Ec,le.EventBusName=cA,le.EventType=uA,le.Gender=Sc,le.LoadingSkeleton=jh,le.LsKey=Ex,le.MyProfile=uV,le.NoItemsFound=Op,le.PatientFullInfo=DA,le.PaymentStatus=gi,le.RejectedResult=Dx,le.ResultReady=bV,le.ResultSegmentNormalType=f1,le.ResultSegmentValueOPR=p1,le.ResultType=h1,le.ServiceType=Kc,le.SupportEmail=lA,le.SupportPhone=qh,le.TestResultConclusion=Xr,le.TestResultDetail=FB,le.TestResultHistoryDetail=QE,le.TestResultHistoryDetailModal=nF,le.TestResultList=XB,le.TestResultListItem=iS,le.TestResultStatus=On,le.TestResultTemplate=up,le.TestStatus=d1,le.default=vV,le.en=aS,le.vi=oS,Object.defineProperties(le,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pat-shared-components",
3
- "version": "1.0.0-beta-14",
3
+ "version": "1.0.0-beta-16",
4
4
  "files": [
5
5
  "dist/**/*"
6
6
  ],