import{B as r,al as p,D as e,aw as c,K as n,o as u,e9 as g,ea as f,a4 as a,e8 as d}from"./index-CNZMR1GT.js";import{F as h}from"./File-Kold2EZA.js";import"./icon-BZFY9fuK.js";import"./index-DsSWFirV.js";import"./Layout-CjSD56n-.js";import"./useTitle-BClow7LS.js";import"./FolderTree-CTh3_qOS.js";import"./index-B-NmelxC.js";import"./index-DvQYEsdd.js";import"./share-BRMiJJnc.js";import"./index-DUl6hczb.js";const U=()=>{const t=u(),[i,o]=r(!1),[s,l]=r(!1),{currentObjLink:m}=p();return e(h,{get children(){return e(c,{spacing:"$2",get children(){return[e(n,{as:"a",get href(){return"itms-services://?action=download-manifest&url=".concat(g,"/i/").concat(f(encodeURIComponent(a.raw_url)+"/"+d(encodeURIComponent(a.obj.name))),".plist")},onClick:()=>{o(!0)},get children(){return t("home.preview.".concat(i()?"installing":"install"))}}),e(n,{as:"a",colorScheme:"primary",get href(){return"apple-magnifier://install?url="+encodeURIComponent(m(!0))},onClick:()=>{l(!0)},get children(){return t("home.preview.".concat(s()?"tr-installing":"tr-install"))}})]}})}})};export{U as default};
