PageSourceSearch

https://partyrock.aws/website/ff89e99e8c8a65fc1c60/CopyButton2.js

js partyrock.aws collected 2026-10-02 03:30:42 UTC 1,628 bytes, 2 lines download raw bytes

1import{t as e}from"./CopyButton.js";import{i as t}from"./MantineThemeProvider.js";import{t as n}from"./Tooltip.js";import{t as r}from"./ActionIcon.js";import{t as i}from"./Button.js";import{r as a}from"./dist.js";var o=t(),s=e=>(0,o.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,width:24,height:24,fill:`none`,viewBox:`0 0 24 24`,...e,children:[(0,o.jsx)(`path`,{stroke:`currentcolor`,d:`M16.5 6.5H18A1.5 1.5 0 0 1 19.5 8v11a1.5 1.5 0 0 1-1.5 1.5H9A1.5 1.5 0 0 1 7.5 19v-1.5`}),(0,o.jsx)(`path`,{stroke:`currentcolor`,d:`M4.5 5v11A1.5 1.5 0 0 0 6 17.5h10.5V5A1.5 1.5 0 0 0 15 3.5H6A1.5 1.5 0 0 0 4.5 5Z`})]}),c=e=>(0,o.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,width:24,height:24,fill:`none`,viewBox:`0 0 24 24`,...e,children:(0,o.jsx)(`path`,{stroke:`currentcolor`,strokeMiterlimit:10,d:`m18.868 7.368-8.381 8.38a1.25 1.25 0 0 1-1.768 0l-3.087-3.086`})}),l=({value:t,label:i,size:l=`md`,tooltipProps:u,onClick:d,copiedLabel:f=i,color:p,copiedIcon:m=(0,o.jsx)(c,{color:p}),copyIcon:h=(0,o.jsx)(s,{color:p}),...g})=>{let{_}=a();return(0,o.jsx)(e,{value:t,timeout:2e3,children:({copied:e,copy:t})=>(0,o.jsx)(n,{disabled:!i,label:e?f:i,...u,children:(0,o.jsx)(r,{size:l,onClick:()=>{t(),d?.()},"aria-label":_({id:`he3ygx`}),color:p,...g,children:e?m:h})})})},u=({value:t,size:n=`md`,onClick:r,copiedText:s,copiedIcon:c,leftSection:l,...u})=>{let{_:d}=a(),f=s??d({id:`6V3Ea3`}),p=e=>()=>{e(),r?.()};return(0,o.jsx)(e,{value:t,timeout:2e3,children:({copied:e,copy:t})=>(0,o.jsx)(i,{size:n,onClick:p(t),...u,leftSection:e?c??l:l,children:e?f:u.children})})};export{l as n,s as r,u as t};
2//# sourceMappingURL=CopyButton2.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.