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 line
12 KiB
1 line
12 KiB
1 year ago
|
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[459],{8263:function(n,r,t){"use strict";t.d(r,{ZP:function(){return v}});var e=t(3366),i=t(7462),o=t(7294),a=t(6010),s=t(5408),u=t(9707),l=t(7192),c=t(1496),p=t(3616);var d=o.createContext(),m=t(8673),f=t(5893);const g=["className","columns","columnSpacing","component","container","direction","item","lg","md","rowSpacing","sm","spacing","wrap","xl","xs","zeroMinWidth"];function h(n){const r=parseFloat(n);return`${r}${String(n).replace(String(r),"")||"px"}`}function x(n,r,t={}){if(!r||!n||n<=0)return[];if("string"===typeof n&&!Number.isNaN(Number(n))||"number"===typeof n)return[t[`spacing-xs-${String(n)}`]||`spacing-xs-${String(n)}`];const{xs:e,sm:i,md:o,lg:a,xl:s}=n;return[Number(e)>0&&(t[`spacing-xs-${String(e)}`]||`spacing-xs-${String(e)}`),Number(i)>0&&(t[`spacing-sm-${String(i)}`]||`spacing-sm-${String(i)}`),Number(o)>0&&(t[`spacing-md-${String(o)}`]||`spacing-md-${String(o)}`),Number(a)>0&&(t[`spacing-lg-${String(a)}`]||`spacing-lg-${String(a)}`),Number(s)>0&&(t[`spacing-xl-${String(s)}`]||`spacing-xl-${String(s)}`)]}const b=(0,c.ZP)("div",{name:"MuiGrid",slot:"Root",overridesResolver:(n,r)=>{const{container:t,direction:e,item:i,lg:o,md:a,sm:s,spacing:u,wrap:l,xl:c,xs:p,zeroMinWidth:d}=n.ownerState;return[r.root,t&&r.container,i&&r.item,d&&r.zeroMinWidth,...x(u,t,r),"row"!==e&&r[`direction-xs-${String(e)}`],"wrap"!==l&&r[`wrap-xs-${String(l)}`],!1!==p&&r[`grid-xs-${String(p)}`],!1!==s&&r[`grid-sm-${String(s)}`],!1!==a&&r[`grid-md-${String(a)}`],!1!==o&&r[`grid-lg-${String(o)}`],!1!==c&&r[`grid-xl-${String(c)}`]]}})((({ownerState:n})=>(0,i.Z)({boxSizing:"border-box"},n.container&&{display:"flex",flexWrap:"wrap",width:"100%"},n.item&&{margin:0},n.zeroMinWidth&&{minWidth:0},"wrap"!==n.wrap&&{flexWrap:n.wrap})),(function({theme:n,ownerState:r}){const t=(0,s.P$)({values:r.direction,breakpoints:n.breakpoints.values});return(0,s.k9)({theme:n},t,(n=>{const r={flexDirection:n};return 0===n.indexOf("column")&&(r[`& > .${m.Z.item}`]={maxWidth:"none"}),r}))}),(function({theme:n,ownerState:r}){const{container:t,rowSpacing:e}=r;let i={};if(t&&0!==e){const r=(0,s.P$)({values:e,breakpoints:n.breakpoints.values});i=(0,s.k9)({theme:n},r,(r=>{const t=n.spacing(r);return"0px"!==t?{marginTop:`-${h(t)}`,[`& > .${m.Z.item}`]:{paddingTop:h(t)}}:{}}))}return i}),(function({theme:n,ownerState:r}){const{container:t,columnSpacing:e}=r;let i={};if(t&&0!==e){const r=(0,s.P$)({values:e,breakpoints:n.breakpoints.values});i=(0,s.k9)({theme:n},r,(r=>{const t=n.spacing(r);return"0px"!==t?{width:`calc(100% + ${h(t)})`,marginLeft:`-${h(t)}`,[`& > .${m.Z.item}`]:{paddingLeft:h(t)}}:{}}))}return i}),(function({theme:n,ownerState:r}){let t;return n.breakpoints.keys.reduce(((e,o)=>{let a={};if(r[o]&&(t=r[o]),!t)return e;if(!0===t)a={flexBasis:0,flexGrow:1,maxWidth:"100%"};else if("auto"===t)a={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"};else{const u=(0,s.P$)({values:r.columns,breakpoints:n.breakpoints.values}),l="object"===typeof u?u[o]:u;if(void 0===l||null===l)return e;const c=Math.round(t/l*1e8)/1e6+"%";let p={};if(r.container&&r.item&&0!==r.columnSpacing){const t=n.spacing(r.columnSpacing);if("0px"!==t){const n=`calc(${c} + ${h(t)})`;p={flexBasis:n,maxWidth:n}}}a=(0,i.Z)({flexBasis:c,flexGrow:0,maxWidth:c},p)}return 0===n.breakpoints.values[o]?Object.assign(e,a):e[n.breakpoints.up(o)]=a,e}),{})}));var v=o.forwardRef((function(n,r){const t=(0,p.Z)({props:n,name:"MuiGrid"}),s=(0,u.Z)(t),{className:c,columns:h,columnSpacing:v,component:w="div",container:S=!1,direction:y="row",item:$=!1,lg:P=!1,md:j=!1,rowSpacing:Z,sm:O=!1,spacing:k=0,wrap:I="wrap",xl:W=!1,xs:M=!1,zeroMinWidth:N=!1}=s,A=(0,e.Z)(s,g),L=Z||k,C=v||k,B=o.useContext(d),F=h||B||12,R=(0,i.Z)({},s,{columns:F,container:S,direction:y,item:$,lg:P,md:j,sm:O,rowSpacing:L,columnSpacing:C,wrap:I,xl:W,xs:M,zeroMinWidth:N}),_=(n=>{const{classes:r,container:t,direction:e,item:i,lg:o,md:a,sm:s,spacing:u,wrap:c,xl:p,xs:d,zeroMinWidth:f}=n,g={root:["root",t&&"container",i&&"item",f&&"zeroMinWidth",...x(u,t),"row"!==e&&`directi
|