PageSourceSearch

https://assets.genius.com/javascripts/compiled/Checkbox-1QJqzM4e.js

js genius.com collected 2026-09-24 06:48:45 UTC 1,021 bytes, 2 lines download raw bytes

1import{P as e}from"./useMixpanelEvent-DAJ4K_rU.js";import{q as t}from"./styled-components.browser.esm-bLCX9LcF.js";const c=o=>`url("data:image/svg+xml,%3Csvg viewBox='0 0 18 18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='${encodeURIComponent(o)}' d='m15.5 4.9-7.9 10-5-5L4 8.3l3.4 3.4L14 3.6 15.5 5Z'/%3E%3C/svg%3E")`,n=t.input.attrs(({dataTestId:o,disabled:r=!1,type:a="checkbox"})=>({"data-testid":o,disabled:r,type:a})).withConfig({displayName:"Checkbox",componentId:"sc-da13b4c8-0"})(["appearance:none;border:1px solid ",';border-radius:0;height:1.25rem;width:1.25rem;&:checked,&[value="true"]{background-color:',";background-image:",";background-repeat:no-repeat;}&:disabled{opacity:.5;}"],o=>o.hasError?o.theme.color.accent.main:o.theme.color.background.on,o=>o.theme.color.background.on,o=>c(o.theme.color.background.main));n.propTypes={as:e.string,disabled:e.bool,hasError:e.bool,onChange:e.func,type:e.string,value:e.string,color:e.string};export{n as C,c};
2//# sourceMappingURL=Checkbox-1QJqzM4e.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.