import{X as e,ac as r,E as i,ao as t,a8 as n,q as o,eg as s,eh as a,U as l,ef as m}from"./index-WdfADTOW.js";import{F as p}from"./File-CnsFIiNl.js";import"./icon-BWzmfBge.js";import"./index-U4ybYyYy.js";import"./Layout-Dnkreiah.js";import"./useTitle-BZYCQV-b.js";import"./FolderTree-CfW3CiDF.js";import"./index-DOl0PLGi.js";import"./ModalInput-3A_h28-x.js";import"./index-B42M_jG_.js";import"./share-DuMdNkZH.js";import"./index-BpGVr_Gk.js";const c=()=>{const c=o(),[d,j]=e(!1),[u,g]=e(!1),{currentObjLink:h}=r();return i(p,{get children(){return i(t,{spacing:"$2",get children(){return[i(n,{as:"a",get href(){return`itms-services://?action=download-manifest&url=${s}/i/${a(encodeURIComponent(l.raw_url)+"/"+m(encodeURIComponent(l.obj.name)))}.plist`},onClick:()=>{j(!0)},get children(){return c("home.preview."+(d()?"installing":"install"))}}),i(n,{as:"a",colorScheme:"primary",get href(){return"apple-magnifier://install?url="+encodeURIComponent(h(!0))},onClick:()=>{g(!0)},get children(){return c("home.preview."+(u()?"tr-installing":"tr-install"))}})]}})}})};export{c as default};
