PageSourceSearch

https://assets.genius.com/javascripts/compiled/OptOutButton-FSd4Z6wW.js

js genius.com collected 2026-09-24 06:49:06 UTC 1,367 bytes, 2 lines download raw bytes

1import{R as h,r as s,j as c}from"./react-vendor-n58YcWca.js";import{q as l}from"./styled-components.browser.esm-bLCX9LcF.js";import{a as d}from"./client-D9htv5mt.js";import{u as g}from"./useMixpanelLinkEvent-ChswGU7H.js";import{S as w}from"./SmallButton-Bvg_aKe5.js";import{F as b}from"./newTab-D_ZejlfS.js";import{P as i}from"./useMixpanelEvent-DAJ4K_rU.js";const e=({label:t,trackingEventName:a="",redirectParameterName:n="bagon"})=>{const[m,f]=s.useState();s.useEffect(()=>{if(d){const o=new URL(window.location),r=new URLSearchParams(o.search);r.delete("react"),n&&r.append(n,1),o.search=r.toString(),f(o.toString())}},[n]);const p=g(a),u=s.useCallback(o=>{if(a)return p(o)},[p,a]);return c.jsxs(e.Container,{href:m,onClick:u,children:[t,c.jsx(e.NewTab,{})]})};e.propTypes={label:i.string.isRequired,trackingEventName:i.string,redirectParameterName:i.string};e.Container=l(w).attrs({forwardedAs:"a"}).withConfig({displayName:"OptOutButton__Container",componentId:"sc-a86b35eb-0"})(["line-height:",";align-items:stretch;white-space:nowrap;"],t=>t.theme.fontSize.reading);e.NewTab=l(b).withConfig({displayName:"OptOutButton__NewTab",componentId:"sc-a86b35eb-1"})(["margin-left:",";width:",";fill:",";"],t=>t.theme.space.xSmall,t=>t.theme.space.half,t=>t.theme.color.background.on);const T=h.memo(e);export{T as O};
2//# sourceMappingURL=OptOutButton-FSd4Z6wW.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.