PageSourceSearch

https://devicemanager.myriota.com/152.ab815deaf689ea7153b0.js

js myriota.com collected 2026-09-25 19:08:07 UTC 7,169 bytes, 1 lines download raw bytes

1"undefined"==typeof process&&(window.process={env:{},browser:!0,nextTick:function(e){setTimeout(e,0)}}),(self.webpackChunkdevice_manager=self.webpackChunkdevice_manager||[]).push([[152],{86152(e,t,o){o.d(t,{A:()=>z});var a=o(77810),r=o(34164),s=o(31870),i=o(68115),n=o(73245),d=o(50243),l=o(16551),c=o(16852),p=o(69853),h=o(11484),u=o(73152),m=o(90223);function g(e){return(0,m.Ay)("PrivateSwitchBase",e)}(0,u.A)("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);var w=o(86178),b=o(64922);const v=(0,l.Ay)(h.A,{name:"MuiSwitchBase"})({padding:9,borderRadius:"50%",variants:[{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:({edge:e,ownerState:t})=>"start"===e&&"small"!==t.size,style:{marginLeft:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}},{props:({edge:e,ownerState:t})=>"end"===e&&"small"!==t.size,style:{marginRight:-12}}]}),k=(0,l.Ay)("input",{name:"MuiSwitchBase",shouldForwardProp:d.A})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),y=a.forwardRef(function(e,t){const{autoFocus:o,checked:a,checkedIcon:r,defaultChecked:n,disabled:d,disableFocusRipple:l=!1,edge:h=!1,icon:u,id:m,inputProps:y,inputRef:f,name:A,onBlur:S,onChange:x,onFocus:$,readOnly:B,required:P=!1,tabIndex:C,type:z,value:F,slots:R={},slotProps:T={},...M}=e,[I,j]=(0,c.A)({controlled:a,default:Boolean(n),name:"SwitchBase",state:"checked"}),N=(0,p.A)();let O=d;N&&void 0===O&&(O=N.disabled);const D="checkbox"===z||"radio"===z,E={...e,checked:I,disabled:O,disableFocusRipple:l,edge:h},L=(e=>{const{classes:t,checked:o,disabled:a,edge:r}=e,n={root:["root",o&&"checked",a&&"disabled",r&&`edge${(0,i.A)(r)}`],input:["input"]};return(0,s.A)(n,g,t)})(E),q={slots:R,slotProps:{input:y,...T}},[X,_]=(0,w.A)("root",{ref:t,elementType:v,className:L.root,shouldForwardComponentProp:!0,externalForwardedProps:{...q,component:"span",...M},getSlotProps:e=>({...e,onFocus:t=>{e.onFocus?.(t),(e=>{$&&$(e),N&&N.onFocus&&N.onFocus(e)})(t)},onBlur:t=>{e.onBlur?.(t),(e=>{S&&S(e),N&&N.onBlur&&N.onBlur(e)})(t)}}),ownerState:E,additionalProps:{centerRipple:!0,focusRipple:!l,role:void 0,tabIndex:null}}),[G,H]=(0,w.A)("input",{ref:f,elementType:k,className:L.input,externalForwardedProps:q,getSlotProps:e=>({...e,onChange:t=>{e.onChange?.(t),(e=>{if(e.nativeEvent.defaultPrevented||B)return;const t=e.target.checked;j(t),x&&x(e,t)})(t)}}),ownerState:E,additionalProps:{autoFocus:o,checked:a,defaultChecked:n,disabled:O,id:D?m:void 0,name:A,readOnly:B,required:P,tabIndex:C,type:z,..."checkbox"===z&&void 0===F?{}:{value:F}}});return(0,b.jsxs)(X,{..._,children:[(0,b.jsx)(G,{...H}),I?r:u]})});var f=o(31978),A=o(23166);function S(e){return(0,m.Ay)("MuiSwitch",e)}const x=(0,u.A)("MuiSwitch",["root","edgeStart","edgeEnd","switchBase","colorPrimary","colorSecondary","sizeSmall","sizeMedium","checked","disabled","input","thumb","track"]),$=(0,l.Ay)("span",{name:"MuiSwitch",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,o.edge&&t[`edge${(0,i.A)(o.edge)}`],t[`size${(0,i.A)(o.size)}`]]}})({display:"inline-flex",width:58,height:38,overflow:"hidden",padding:12,boxSizing:"border-box",position:"relative",flexShrink:0,zIndex:0,verticalAlign:"middle","@media print":{colorAdjust:"exact"},variants:[{props:{edge:"start"},style:{marginLeft:-8}},{props:{edge:"end"},style:{marginRight:-8}},{props:{size:"small"},style:{width:40,height:24,padding:7,[`& .${x.thumb}`]:{width:16,height:16},[`& .${x.switchBase}`]:{padding:4,[`&.${x.checked}`]:{transform:"translateX(16px)"}}}}]}),B=(0,l.Ay)(y,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.switchBase,{[`& .${x.input}`]:t.input},"default"!==o.color&&t[`color${(0,i.A)(o.color)}`]]}})((0,f.A)(({theme:e})=>({position:"absolute",top:0,left:0,zIndex:1,color:e.vars?e.vars.palette.Switch.defaultColor:`${"light"===e.palette.mode?e.palette.common.white:e.palette.grey[300]}`,transition:e.transitions.create(["left","transform"],{duration:e.transitions.duration.shortest}),[`&.${x.checked}`]:{transform:"translateX(20px)"},[`&.${x.disabled}`]:{color:e.vars?e.vars.palette.Switch.defaultDisabledColor:`${"light"===e.palette.mode?e.palette.grey[100]:e.palette.grey[600]}`},[`&.${x.checked} + .${x.track}`]:{opacity:.5},[`&.${x.disabled} + .${x.track}`]:{opacity:e.vars?e.vars.opacity.switchTrackDisabled:""+("light"===e.palette.mode?.12:.2)},[`& .${x.input}`]:{left:"-100%",width:"300%"}})),(0,f.A)(({theme:e})=>({"&:hover":{backgroundColor:e.alpha((e.vars||e).palette.action.active,(e.vars||e).palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},variants:[...Object.entries(e.palette).filter((0,n.A)(["light"])).map(([t])=>({props:{color:t},style:{[`&.${x.checked}`]:{color:(e.vars||e).palette[t].main,"&:hover":{backgroundColor:e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${x.disabled}`]:{color:e.vars?e.vars.palette.Switch[`${t}DisabledColor`]:`${"light"===e.palette.mode?e.lighten(e.palette[t].main,.62):e.darken(e.palette[t].main,.55)}`}},[`&.${x.checked} + .${x.track}`]:{backgroundColor:(e.vars||e).palette[t].main}}}))]}))),P=(0,l.Ay)("span",{name:"MuiSwitch",slot:"Track"})((0,f.A)(({theme:e})=>({height:"100%",width:"100%",borderRadius:7,zIndex:-1,transition:e.transitions.create(["opacity","background-color"],{duration:e.transitions.duration.shortest}
1),backgroundColor:e.vars?e.vars.palette.common.onBackground:`${"light"===e.palette.mode?e.palette.common.black:e.palette.common.white}`,opacity:e.vars?e.vars.opacity.switchTrack:""+("light"===e.palette.mode?.38:.3)}))),C=(0,l.Ay)("span",{name:"MuiSwitch",slot:"Thumb"})((0,f.A)(({theme:e})=>({boxShadow:(e.vars||e).shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"}))),z=a.forwardRef(function(e,t){const o=(0,A.b)({props:e,name:"MuiSwitch"}),{className:a,color:n="primary",edge:d=!1,size:l="medium",sx:c,slots:p={},slotProps:h={},...u}=o,m={...o,color:n,edge:d,size:l},g=(e=>{const{classes:t,edge:o,size:a,color:r,checked:n,disabled:d}=e,l={root:["root",o&&`edge${(0,i.A)(o)}`,`size${(0,i.A)(a)}`],switchBase:["switchBase",`color${(0,i.A)(r)}`,n&&"checked",d&&"disabled"],thumb:["thumb"],track:["track"],input:["input"]},c=(0,s.A)(l,S,t);return{...t,...c}})(m),v={slots:p,slotProps:h},[k,y]=(0,w.A)("root",{className:(0,r.A)(g.root,a),elementType:$,externalForwardedProps:v,ownerState:m,additionalProps:{sx:c}}),[f,x]=(0,w.A)("thumb",{className:g.thumb,elementType:C,externalForwardedProps:v,ownerState:m}),z=(0,b.jsx)(f,{...x}),[F,R]=(0,w.A)("track",{className:g.track,elementType:P,externalForwardedProps:v,ownerState:m});return(0,b.jsxs)(k,{...y,children:[(0,b.jsx)(B,{type:"checkbox",icon:z,checkedIcon:z,ref:t,ownerState:m,...u,classes:{...g,root:g.switchBase},slots:{...p.switchBase&&{root:p.switchBase},...p.input&&{input:p.input}},slotProps:{...h.switchBase&&{root:"function"==typeof h.switchBase?h.switchBase(m):h.switchBase},input:{role:"switch"},...h.input&&{input:"function"==typeof h.input?h.input(m):h.input}}}),(0,b.jsx)(F,{...R})]})})}}]);

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.