1import{d as k,u as x,B as _,p as h,g as a,r as L,W as I,e as v,o as r,c as d,a as c,k as u,N as b,t as N,j as S}from"./index-0c2fc791.js";const y="/assets/downloadIOSLink-bf49cd26.png",B="/assets/downloadIOSLinkEn-3aefaaaf.png",E="/assets/downloadIOSNoLink-a4052e09.png",O="/assets/downloadIOSNoLinkEn-5c20302e.png",j="/assets/downloadLink-6834d7ba.svg",D={class:""},M=["src"],T=["src"],P=k({__name:"DownloadLink",setup(A){const{t:p}=x(),s=_(),e=h(),m=a(()=>o.value==="th"?y:B),g=a(()=>o.value==="th"?E:O),i=a(()=>e.data?e.data.app.ios_url_ladda_ner:null),o=L("th");I(()=>{s.setWidth("550px"),s.setIsQuery(!1),o.value=localStorage.getItem("language")||"th"}),v(()=>{s.setTitle("downloadIOS")});function f(){let t=e&&e.data?e.data.app.ios_url_ladda_ner:"";const n=navigator.userAgent,l=/iPhone|iPad|iPod|Android/i.test(n),w=/Line/i.test(n);l?setTimeout(w?()=>{window.open(`${t}?openExternalBrowser=1`,"_blank")}:()=>{window.open(t,"_self")},50):window.open(t,"_blank")}return(t,n)=>(r(),d("div",D,[c("img",{class:"w-full h-[390px] md:h-[550px] object-contain",src:i.value?m.value:g.value,alt:""},null,8,M),i.value?(r(),d("button",{key:0,onClick:n[0]||(n[0]=l=>f()),class:"mx-auto text-sm md:text-base flex items-center justify-center gap-1 mt-3 px-2 py-1 rounded-full hover:brightness-95 active:brightness-90 disabled:brightness-75 active my-3 !w-[70%] text-center h-[36px] md:h-[42px] max-w-[300px]"},[c("img",{class:"w-[20px] h-full object-contain md:w-[28px]",src:u(j),alt:""},null,8,T),b(" "+N(u(p)("mainMenu.downloadLink")),1)])):S("",!0)]))}});export{P 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.