1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./dialog.CdYsl7C4.js","./rolldown-runtime.hePW80VL.js","./swiper-vue.C2zh1WbB.js","./swiper-vue.BJAV8QGK.css","./runtime-dom.esm-bundler.BQsmZATq.js","./client-only.BdeXZyY7.js","./nuxt.DRDwJUf1.js","./utils.tNVlRTpk.js","./defu.DSJ9I3OW.js","./aria.kTCLhPNQ.js","./hooks.Xt67GBXu.js","./shared.C9jjcqzK.js","./core.FoFJ7aRd.js","./utils2.D-ayhNxi.js","./event.BGnHezxC.js","./_plugin-vue_export-helper.BDNMzG2s.js","./button.MQmYAJ7B.js","./dialog.Blb6V1hh.css"])))=>i.map(i=>d[i]); 2import{a as e}from"./nuxt.DRDwJUf1.js";import{A as t,Mt as n,O as r,Tt as i,Y as a,b as o,bt as s,in as c,k as l,nt as u,pt as d,v as f,y as p}from"./swiper-vue.C2zh1WbB.js";import{m,p as h}from"./error.fZEbZ3tX.js";import{t as g}from"./preload-helper.HclGiUj8.js";import{r as _,t as v}from"./auth.Xj0Pt2mV.js";import{n as y}from"./vue-i18n.BvQgnN1I.js";import{n as b}from"./useConditionRenderMobile.DI01bRJQ.js";import{t as x}from"./useWebviewPlatform.CU7_VG0O.js";import{t as S}from"./button.MQmYAJ7B.js";var C={class:`py-16 flex align-middle justify-center`},w={class:`768:text-h3 title-large px-24 align-middle`},T={class:`768:px-24 768:pb-24 px-16 pb-16`},E={class:`body-medium-reg align-middle justify-center text-center`},D={class:`mt-10 flex justify-center pt-16`},O={class:`text-body-large font-bold`},k=t({__name:`TokenExpiredDialog`,props:{visible:{type:Boolean}},emits:[`update:visible`,`update`],setup(t,{emit:k}){let A=l(()=>g(()=>import(`./dialog.CdYsl7C4.js`).then(e=>e.n),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17]),import.meta.url)),j=t,M=k,{t:N,locale:P}=y(),F=f(()=>H.value?`85%`:`400px`),{isWebview:I,isWebviewZaloPay:L,isWebviewMomo:R}=x(),z=h(),B=m(),V=f({get(){return j.visible},set(e){M(`update:visible`,e)}}),{conditionRenderTablet:H}=b(),U=v(),W=()=>{V.value=!1},G=e(),K=i(Number(G.public.APP_ID_ZALOPAY)),q=()=>{let e=i({appId:K.value,key:`infoStorageItem`});window.zlpSdk.Storage.removeStorageItem(e.value).then(e=>{console.log(`response clearStorageZalo`,e)}).catch(e=>console.error(e.errorCode))},J=async()=>{U[_.token]=``,U.signOut(!0),L.value?await q():R.value&&(localStorage?.removeItem(`token`),localStorage?.removeItem(`profile`)),B.push({name:`sign-in`,params:{locale:z.params?.locale}}),V.value=!1,setTimeout(()=>{B.go(0)},500)};return(e,t)=>(a(),o(u(n(A)),{modelValue:n(V),"onUpdate:modelValue":t[0]||=e=>s(V)?V.value=e:null,width:n(F),direction:`btt`,size:n(F),"append-to-body":!0,"show-close":!1,onClose:W},{title:d(()=>[p(`div`,C,[p(`p`,w,c(n(N)(`casePopupBooking.yourSessionHasExpired`)),1)])]),default:d(()=>[p(`div`,T,[p(`p`,E,c(e.$t(`casePopupBooking.yourLoginHasExpiredPleaseLogInAgain`)),1),p(`div`,D,[r(n(S),{class:`768:flex-none w-full flex-1 mr-16 justify-center`,type:`primary`,onClick:J},{default:d(()=>[p(`span`,O,c(e.$t(`casePopupBooking.ok`)),1)]),_:1})])])]),_:1},40,[`modelValue`,`width`,`size`]))}});export{k as default};
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.