
/**
 * 由 Fantastic-admin 提供技术支持
 * Powered by Fantastic-admin
 * https://fantastic-admin.github.io
 */

import{_ as f}from"./index.vue_vue_type_script_setup_true_lang-DpYLhOHb.js";import{d as x,N as u,g as l,c as k,b as t,w as s,z as w,e as n,i as a,t as h,h as v,aa as y,j as S,_ as g,R as B,S as C,l as I}from"./index-nGFMSQGw.js";import{_ as V}from"./HTooltip.vue_vue_type_script_setup_true_lang-BEZk-UXU.js";import{a as $}from"./index-CyI3Kccs.js";const b=o=>(B("data-v-63ec1fa4"),o=o(),C(),o),N={class:"absolute h-full w-full flex flex-col"},T={class:"flex flex-col items-center"},j=b(()=>n("div",{class:"my-2 text-xl text-dark dark-text-white"}," 是否访问此链接 ",-1)),z={class:"line-clamp-3"},H=x({name:"LinkView",__name:"link",setup(o){const e=u(),{copy:_,copied:L}=$();function r(){window.open(e.meta.link,"_blank")}return(R,i)=>{const c=S,p=V,m=g,d=f;return l(),k("div",N,[t(y,{name:"slide-right",mode:"out-in",appear:""},{default:s(()=>[(l(),w(d,{key:a(e).meta.link,class:"flex flex-1 flex-col justify-center"},{default:s(()=>[n("div",T,[t(c,{name:"i-icon-park-twotone:planet",size:120,class:"text-ui-primary/80"}),j,n("div",{class:"my-2 max-w-[300px] cursor-pointer text-center text-[14px] text-stone-5",onClick:i[0]||(i[0]=D=>a(e).meta.link&&a(_)(a(e).meta.link))},[t(p,{text:"复制链接"},{default:s(()=>[n("div",z,h(a(e).meta.link),1)]),_:1})]),t(m,{class:"my-4",onClick:r},{default:s(()=>[t(c,{name:"i-ri:external-link-fill"}),v(" 立即访问 ")]),_:1})])]),_:1}))]),_:1})])}}}),A=I(H,[["__scopeId","data-v-63ec1fa4"]]);export{A as default};
