PageSourceSearch

https://rsdmrkt.com/assets/Checkbox-BQKglEA7.js

js rsdmrkt.com collected 2026-09-25 04:09:54 UTC 2,882 bytes, 1 lines download raw bytes

1import{j as s,r as u}from"./emotion-element-f0de968e.browser.esm-DAcAn3jx.js";import{c as w,i as n}from"./imageUtils-Bv75Hoxq.js";import{S as M}from"./FormControlLabel-gDZUzoP6.js";import{c as x,g as $,b as B,u as F,h as H,a as O,s as V,r as E,m as U,e as P}from"./Box-CdsPgKjk.js";import{m as L}from"./index-DkVogYJF.js";const N=x(s.jsx("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"})),T=x(s.jsx("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"})),D=x(s.jsx("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}));function q(o){return $("MuiCheckbox",o)}const f=B("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]),A=o=>{const{classes:e,indeterminate:t,color:a,size:c}=o,i={root:["root",t&&"indeterminate",`color${n(a)}`,`size${n(c)}`]},l=O(i,q,e);return{...e,...l}},G=V(M,{shouldForwardProp:o=>E(o)||o==="classes",name:"MuiCheckbox",slot:"Root",overridesResolver:(o,e)=>{const{ownerState:t}=o;return[e.root,t.indeterminate&&e.indeterminate,e[`size${n(t.size)}`],t.color!=="default"&&e[`color${n(t.color)}`]]}})(U(({theme:o})=>({color:(o.vars||o).palette.text.secondary,variants:[{props:{color:"default",disableRipple:!1},style:{"&:hover":{backgroundColor:o.alpha((o.vars||o).palette.action.active,(o.vars||o).palette.action.hoverOpacity)}}},...Object.entries(o.palette).filter(P()).map(([e])=>({props:{color:e,disableRipple:!1},style:{"&:hover":{backgroundColor:o.alpha((o.vars||o).palette[e].main,(o.vars||o).palette.action.hoverOpacity)}}})),...Object.entries(o.palette).filter(P()).map(([e])=>({props:{color:e},style:{[`&.${f.checked}, &.${f.indeterminate}`]:{color:(o.vars||o).palette[e].main},[`&.${f.disabled}`]:{color:(o.vars||o).palette.action.disabled}}})),{props:{disableRipple:!1},style:{"&:hover":{"@media (hover: none)":{backgroundColor:"transparent"}}}}]}))),J=s.jsx(T,{}),K=s.jsx(N,{}),Q=s.jsx(D,{}),oo=u.forwardRef(function(e,t){const a=F({props:e,name:"MuiCheckbox"}),{checkedIcon:c=J,color:i="primary",icon:l=K,indeterminate:r=!1,indeterminateIcon:h=Q,inputProps:y,size:p="medium",disableRipple:v=!1,className:I,slots:C={},slotProps:b={},...j}=a,k=r?h:l,z=r?h:c,d={...a,disableRipple:v,color:i,indeterminate:r,size:p},S=A(d),m=b.input??y,[R,g]=H("root",{ref:t,elementType:G,className:w(S.root,I),shouldForwardComponentProp:!0,externalForwardedProps:{slots:C,slotProps:b,...j},ownerState:d,additionalProps:{type:"checkbox",icon:u.cloneElement(k,{fontSize:k.props.fontSize??p}),checkedIcon:u.cloneElement(z,{fontSize:z.props.fontSize??p}),disableRipple:v,slots:C,slotProps:{input:L(typeof m=="function"?m(d):m,{"data-indeterminate":r})}}});return s.jsx(R,{...g,classes:S})});export{oo as C};

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.