1import{c as w,an as C,ao as L,d,a as c,F as h,b as t,t as r,h as x,x as i,w as _,g as S,ap as b,j as s,ah as y,i as v,al as N,aq as P,o as R,z as j,s as A,f as g,ar as I,as as U,at as E}from"./index-bQnwBNeX.js";import{_ as V}from"./CommonAgeRatings.vue_vue_type_script_setup_true_lang-B6aewaAg.js";const k=w(()=>{const l=new URL(C),e=L("_gsid");return e&&l.searchParams.set("distr",e),l.toString()}),B={class:"flex flex-col gap-3 text-center"},O={class:"text-green-100 text-[28px]"},q={class:"text-xl"},z=["href"],F=d({__name:"DownloadIntroSection",emits:["download"],setup(l){return(e,o)=>(s(),c(h,null,[t("div",B,[t("h1",O,r(e.$t("downloadPage.main.title")),1),t("h3",q,r(e.$t("downloadPage.main.subtitle")),1)]),t("a",{href:x(k),class:"w-full",onClick:o[0]||(o[0]=n=>e.$emit("download"))},[i(b,{variant:"strz-md",class:"w-full"},{default:_(()=>[S(r(e.$t("downloadPage.main.button")),1)]),_:1})],8,z)],64))}}),G=y(F,[["__scopeId","data-v-e1d4695f"]]),H={class:"download-title text-green-100 text-center font-normal text-[28px] leading-9 tracking-[0.28px]"},W={class:"text-white text-center font-normal text-xl leading-7"},M=d({__name:"DownloadStartingSection",emits:["retry"],setup(l){return(e,o)=>{const n=v("i18n-t");return s(),c(h,null,[t("h1",H,r(e.$t("downloadPage.downloading.title")),1),t("p",W,[i(n,{keypath:"downloadPage.downloading.retry",tag:"span"},{tryAgainLink:_(()=>[t("a",{class:"underline cursor-pointer",onClick:o[0]||(o[0]=u=>e.$emit("retry"))},r(e.$t("downloadPage.downloading.tryAgain")),1)]),_:1})])],64)}}}),Q=y(M,[["__scopeId","data-v-2840cce1"]]),T={class:"w-full h-full px-5 pb-15 py-5"},Y={class:"w-full h-full flex flex-col justify-center items-center gap-5 sm:gap-20"},J={class:"w-full flex flex-col items-center gap-6"},K={key:0,class:"text-xs text-gray-100"},f="downloading",ee=d({__name:"DownloadView",setup(l){const e=N(),o=U(),n=w(()=>e.query.status===f),u=()=>{const a=document.createElement("a");a.href=k.value,a.rel="noopener noreferrer",document.body.appendChild(a),a.click(),a.remove()},p=()=>{E(n.value?"download_launcher_try_again_click":"download_launcher_button_click"),n.value?u():o.push({name:"Download",query:{status:f}})},$=P("download",!0);return R(()=>{$.value=!0}),(a,m)=>{const D=v("i18n-t");return s(),c("div",T,[t("div",Y,[t("div",{class:j(["max-w-[480px] min-h-screen flex flex-col items-center justify-center gap-5",n.value?"sm:gap-[91px]":"sm:gap-15"])},[t("div",J,[i(x(I),{class:"fill-white"}),n.value?(s(),g(Q,{key:0,onRetry:p})):(s(),g(G,{key:1,onDownload:p}))]),n.value?A("",!0):(s(),c("span",K,[i(D,{keypath:"downloadPage.footer.launcher"},{gaijinLink:_(()=>m[0]||(m[0]=[t("a",{href:"https://gaijin.net/",rel:"noopener noreferrer",class:"text-white underline",target:"_blank"}," Gaijin ",-1)])),_:1})])),i(V)],2)])])}}});export{ee 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.