You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 lines
9.5 KiB
1 lines
9.5 KiB
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[247],{4685:function(t,e,n){var i=n(7892),r=n(5893);e.Z=(0,i.Z)((0,r.jsx)("path",{d:"M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}),"MoreVert")},2852:function(t,e,n){var i=n(3366),r=n(7462),o=n(7294),a=n(6010),c=n(7192),l=n(1796),u=n(8216),s=n(1964),b=n(3616),d=n(1496),p=n(9632),h=n(5893);const v=["className","color","edge","size","sx"],f=(0,d.ZP)("span",{name:"MuiSwitch",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.edge&&e[`edge${(0,u.Z)(n.edge)}`],e[`size${(0,u.Z)(n.size)}`]]}})((({ownerState:t})=>(0,r.Z)({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"}},"start"===t.edge&&{marginLeft:-8},"end"===t.edge&&{marginRight:-8},"small"===t.size&&{width:40,height:24,padding:7,[`& .${p.Z.thumb}`]:{width:16,height:16},[`& .${p.Z.switchBase}`]:{padding:4,[`&.${p.Z.checked}`]:{transform:"translateX(16px)"}}}))),m=(0,d.ZP)(s.Z,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.switchBase,{[`& .${p.Z.input}`]:e.input},"default"!==n.color&&e[`color${(0,u.Z)(n.color)}`]]}})((({theme:t})=>({position:"absolute",top:0,left:0,zIndex:1,color:"light"===t.palette.mode?t.palette.common.white:t.palette.grey[300],transition:t.transitions.create(["left","transform"],{duration:t.transitions.duration.shortest}),[`&.${p.Z.checked}`]:{transform:"translateX(20px)"},[`&.${p.Z.disabled}`]:{color:"light"===t.palette.mode?t.palette.grey[100]:t.palette.grey[600]},[`&.${p.Z.checked} + .${p.Z.track}`]:{opacity:.5},[`&.${p.Z.disabled} + .${p.Z.track}`]:{opacity:"light"===t.palette.mode?.12:.2},[`& .${p.Z.input}`]:{left:"-100%",width:"300%"}})),(({theme:t,ownerState:e})=>(0,r.Z)({"&:hover":{backgroundColor:(0,l.Fq)(t.palette.action.active,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==e.color&&{[`&.${p.Z.checked}`]:{color:t.palette[e.color].main,"&:hover":{backgroundColor:(0,l.Fq)(t.palette[e.color].main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${p.Z.disabled}`]:{color:"light"===t.palette.mode?(0,l.$n)(t.palette[e.color].main,.62):(0,l._j)(t.palette[e.color].main,.55)}},[`&.${p.Z.checked} + .${p.Z.track}`]:{backgroundColor:t.palette[e.color].main}}))),g=(0,d.ZP)("span",{name:"MuiSwitch",slot:"Track",overridesResolver:(t,e)=>e.track})((({theme:t})=>({height:"100%",width:"100%",borderRadius:7,zIndex:-1,transition:t.transitions.create(["opacity","background-color"],{duration:t.transitions.duration.shortest}),backgroundColor:"light"===t.palette.mode?t.palette.common.black:t.palette.common.white,opacity:"light"===t.palette.mode?.38:.3}))),y=(0,d.ZP)("span",{name:"MuiSwitch",slot:"Thumb",overridesResolver:(t,e)=>e.thumb})((({theme:t})=>({boxShadow:t.shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"}))),Z=o.forwardRef((function(t,e){const n=(0,b.Z)({props:t,name:"MuiSwitch"}),{className:o,color:l="primary",edge:s=!1,size:d="medium",sx:Z}=n,w=(0,i.Z)(n,v),B=(0,r.Z)({},n,{color:l,edge:s,size:d}),k=(t=>{const{classes:e,edge:n,size:i,color:o,checked:a,disabled:l}=t,s={root:["root",n&&`edge${(0,u.Z)(n)}`,`size${(0,u.Z)(i)}`],switchBase:["switchBase",`color${(0,u.Z)(o)}`,a&&"checked",l&&"disabled"],thumb:["thumb"],track:["track"],input:["input"]},b=(0,c.Z)(s,p.H,e);return(0,r.Z)({},e,b)})(B),x=(0,h.jsx)(y,{className:k.thumb,ownerState:B});return(0,h.jsxs)(f,{className:(0,a.Z)(k.root,o),sx:Z,ownerState:B,children:[(0,h.jsx)(m,(0,r.Z)({type:"checkbox",icon:x,checkedIcon:x,ref:e,ownerState:B},w,{classes:(0,r.Z)({},k,{root:k.switchBase})})),(0,h.jsx)(g,{className:k.track,ownerState:B})]})}));e.Z=Z},4490:function(t,e,n){n.d(e,{_d:function(){return m},gO:function(){return f}});var i=function(t,e,n){return Math.max(e,Math.min(t,n))},r={"b-B":8n,"b-kB":8000n,"b-MB":8000000n,"b-GB":8000000000n,"b-TB":8000000000000n,"b-PB":8000000000000000n,"b-EB":8000000000000000000n,"b-ZB":8000000000000000000000n,"b-YB":8000000000000000000000000n,"b-KiB":8192n,"b-MiB":8388608n,"b-GiB":8589934592n,"b-TiB":8796093022208n,"b-PiB":9007199254740992n,"b-EiB":9223372036854775808n,"b-ZiB":9444732965739290427392n,"b-YiB":9671406556917033397649408n,"b-b":1n,"b-kbit":1000n,"b-Mbit":1000000n,"b-Gbit":1000000000n,"b-Tbit":1000000000000n,"b-Pbit":1000000000000000n,"b-Ebit":1000000000000000000n,"b-Zbit":1000000000000000000000n,"b-Ybit":1000000000000000000000000n,"b-Kibit":1024n,"b-Mibit":1048576n,"b-Gibit":1073741824n,"b-Tibit":1099511627776n,"b-Pibit":1125899906842624n,"b-Eibit":1152921504606846976n,"b-Zibit":1180591620717411303424n,"b-Yibit":1208925819614629174706176n},o=["byte","ibyte","bit","ibit"],a=["B","kB","MB","GB","TB","PB","EB","ZB","YB","B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB","b","kbit","Mbit","Gbit","Tbit","Pbit","Ebit","Zbit","Ybit","b","Kibit","Mibit","Gibit","Tibit","Pibit","Eibit","Zibit","Yibit"],c=function(t){return BigInt(Math.pow(10,t))},l=function(t,e){var n=t.precision,i=t.value,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=o.isReverse;if("b"===e)return{precision:n,value:i};var l="b-".concat(e),u=r[l];if(a)return{precision:n,value:i*u};var s=String(u).length,b=c(s),d=i*b/u;return{precision:n+s,value:d}},u=function(t,e,n,i,r,o,a){var c=o.indexOf(n),l=e;c<0&&(c=function(t,e){var n="i"===t[1],i=/B$/.test(t),r="".concat(n?"i":"").concat(i?"byte":"bit"),o=e.findIndex((function(t){return t===r}));return{section:r,index:o}}(e,o).index);for(var u=c*a,s=u+a;u<s;u+=1){var b=r[u];t>=i["b-".concat(b)]?l=b:u=s}return l};function s(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function b(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?s(Object(n),!0).forEach((function(e){d(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function d(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function p(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==n)return;var i,r,o=[],a=!0,c=!1;try{for(n=n.call(t);!(a=(i=n.next()).done)&&(o.push(i.value),!e||o.length!==e);a=!0);}catch(l){c=!0,r=l}finally{try{a||null==n.return||n.return()}finally{if(c)throw r}}return o}(t,e)||function(t,e){if(!t)return;if("string"===typeof t)return h(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return h(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function h(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}var v=function(t){var e=t.precision,n=t.value,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=i.bigintFormatOptions,o=i.numberFormatOptions,a=i.locale,l=c(e),u=n/l,s=n%l,d="0.",h=p(d,2),v=h[0],f=h[1],m=u.toString(),g=s.toString();if(a){var y="string"===typeof a?a:void 0,Z=.1.toLocaleString(y,o),w=p(Z,2);v=w[0],f=w[1],m=u.toLocaleString(y,r),g=s.toLocaleString(y,b(b({},r),{},{useGrouping:!1}))}var B=m;return e>0&&(B+="".concat(f).concat(g.padStart(e,v))),B},f=function(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.fromUnit,o=void 0===r?"B":r,a=n.locale,c=n.precision,u=n.toUnit;try{e=Z(t)}catch(x){return}var s=w(c),b=s.max,d=s.min,p=y(o,"B"),h=p.unit;e=l(e,h,{isReverse:!0});var f=B(e,h,{toUnit:u});e=l(e,f),e=g(e,{toPrecision:i(e.precision,d,b)}),e=k(e,d);var m=v(e,{locale:a});return{value:m,unit:f}},m=function(){var t=f.apply(void 0,arguments);return t?"".concat(t.value," ").concat(t.unit):t},g=function(t){var e=t.precision,n=t.value,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=i.toPrecision,o=void 0===r?0:r,a={precision:o,value:n};if(o>e)a.value*=c(o-e);else if(o<e){var l=e-o,u=c(l),s=a.value%u/c(l-1);a.value/=u,s>4&&(a.value+=1n)}return a},y=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:a,i=n.indexOf(t);return i<0?{unit:e,unitIndex:0}:{unit:n[i],unitIndex:i}},Z=function(t){var e,n,i=String(t).split(/\D/,2),r=null!==(e=null===(n=i[1])||void 0===n?void 0:n.length)&&void 0!==e?e:0,o=i.join("");if(0===o.length)throw Error("Value is blank.");return{value:BigInt(o),precision:r}},w=function(){var t,e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return"number"===typeof n?{max:n,min:n}:{max:null!==(t=n.max)&&void 0!==t?t:2,min:null!==(e=n.min)&&void 0!==e?e:0}},B=function(t,e){var n=t.precision,i=t.value,l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},s=l.conversionTable,b=void 0===s?r:s,d=l.toUnit,p=l.units,h=void 0===p?a:p,v=l.unitSections,f=void 0===v?o:v,m=l.unitSectionLength,g=void 0===m?9:m,y=h.indexOf(d);return y>=0?h[y]:u(i/c(n),e,d,b,h,f,g)},k=function(t,e){for(var n=t.precision,i={precision:n,value:t.value},r=n-e,o=!0,a=1;o&&a<=r;a+=1){0n===i.value%10n?(i.value/=10n,i.precision-=1):o=!1}return i}}}]); |