import{F as e,G as t,L as n,N as r,Nt as i,Pt as a,U as o,Vt as s,W as c,X as l,_ as u,bt as d,ft as f,mt as p,n as m,o as h,ot as g,pt as _,v,vt as y,x as b,y as x,z as S}from"./xY0c-UfG.js";import"./xihTtKlq.js";import{o as C}from"./B7ikU8uG.js";import{t as w}from"./hG-QCarB.js";var T=S(`<div><input class="value-copy-text svelte-1ib8tiq" type="text" readonly=""/> <button type="button" class="copy-inline svelte-1ib8tiq"><!></button></div> <span class="cf-sr-only svelte-1ib8tiq" role="status" aria-live="polite"> </span>`,1);function E(o,S){a(S,!0);let E=h(S,`mono`,3,!1),D=h(S,`copyTitle`,3,`Copy`),O=h(S,`announce`,3,`Copied`),k=d(!1),A=d(``),j=null;async function M(){try{await navigator.clipboard.writeText(S.value)}catch{return}y(k,!0),y(A,O()),j&&clearTimeout(j),j=setTimeout(()=>{y(k,!1),y(A,``)},2e3)}m(()=>{j&&clearTimeout(j)});var N={copy:M},P=T(),F=_(P);let I;var L=f(F);u(L);var R=p(L,2),z=f(R),B=e=>{C(e,{size:14})},V=e=>{w(e,{size:14})};r(z,e=>{l(k)?e(B):e(V,-1)}),s(R),s(F);var H=p(F,2),U=f(H,!0);return s(H),g(()=>{I=b(F,1,`value-copy-row svelte-1ib8tiq`,null,I,{mono:E()}),x(L,S.value),v(L,`aria-label`,S.ariaLabel),v(R,`title`,D()),v(R,`aria-label`,D()),e(U,l(A))}),t(`focus`,L,e=>e.currentTarget.select()),c(`click`,R,M),n(o,P),i(N)}o([`click`]);export{E as t};