import{M as t}from"./index-C1Is5pBl.js";function c(e){return new Promise(r=>{try{navigator.clipboard&&navigator.clipboard.writeText(e).then(()=>(t.success("复制成功"),r(!0))).catch(()=>{})}catch(o){console.error("复制失败:",o),r(!1)}})}export{c};
