1"use strict"; 2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="e02bf24f-2430-5fa0-9054-ff62ed2ad07c")}catch(e){}}(); 3(self.webpackChunk_minimal_kit_cra_js=self.webpackChunk_minimal_kit_cra_js||[]).push([[5817],{50933:(e,t,l)=>{l.d(t,{Z:()=>m});var n=l(1413),a=l(45987),i=l(16029),r=l(50533),s=l(36314),o=l(4567),d=l(93517),c=l(83854),u=l(80184);function h(e){let t=e.link,l=e.activeLast,a=e.disabled;const s=t.name,o=t.href,d=t.icon,h=(0,n.Z)({typography:"body2",alignItems:"center",color:"text.primary",display:"inline-flex"},a&&!l&&{cursor:"default",pointerEvents:"none",color:"text.disabled"}),x=(0,u.jsxs)(u.Fragment,{children:[d&&(0,u.jsx)(i.Z,{component:"span",sx:{mr:1,display:"inherit","& svg":{width:20,height:20}},children:d}),s]});return o?(0,u.jsx)(r.Z,{component:c.r,href:o,sx:h,children:x}):(0,u.jsxs)(i.Z,{sx:h,children:[" ",x," "]})}const x=["links","action","heading","moreLink","activeLast","sx"];function m(e){let t=e.links,l=e.action,c=e.heading,m=e.moreLink,f=e.activeLast,Z=e.sx,b=(0,a.Z)(e,x);const v=t[t.length-1].name;return(0,u.jsxs)(i.Z,{sx:(0,n.Z)({},Z),children:[(0,u.jsxs)(s.Z,{direction:"row",alignItems:"center",children:[(0,u.jsxs)(i.Z,{sx:{flexGrow:1},children:[c&&(0,u.jsx)(o.Z,{variant:"h4",gutterBottom:!0,children:c}),!!t.length&&(0,u.jsx)(d.Z,(0,n.Z)((0,n.Z)({separator:(0,u.jsx)(p,{})},b),{},{children:t.map((e=>(0,u.jsx)(h,{link:e,activeLast:f,disabled:e.name===v},e.name||"")))}))]}),l&&(0,u.jsxs)(i.Z,{sx:{flexShrink:0},children:[" ",l," "]})]}),!!m&&(0,u.jsx)(i.Z,{sx:{mt:2},children:m.map((e=>(0,u.jsx)(r.Z,{href:e,variant:"body2",target:"_blank",rel:"noopener",sx:{display:"table"},children:e},e)))})]})}function p(){return(0,u.jsx)(i.Z,{component:"span",sx:{width:4,height:4,borderRadius:"50%",bgcolor:"text.disabled"}})}},15817:(e,t,l)=>{l.r(t),l.d(t,{default:()=>k});var n=l(6907),a=l(29439),i=l(72791),r=l(61474),s=l(16029),o=l(10570),d=l(89164),c=l(38072),u=l(50933),h=l(1413),x=l(16002),m=l(82626),p=l(48550),f=l(90977),Z=l(63466),b=l(44e3),v=l(31562),g=l(80184);const j=[{value:"USD",label:"$"},{value:"EUR",label:"\u20ac"},{value:"BTC",label:"\u0e3f"},{value:"JPY",label:"\xa5"}];function w(e){let t=e.variant;const l=(0,i.useState)("EUR"),n=(0,a.Z)(l,2),r=n[0],s=n[1],o=(0,i.useState)({amount:"",password:"",weight:"",weightRange:"",showPassword:!1}),d=(0,a.Z)(o,2),c=d[0],u=d[1],w=(0,i.useCallback)((e=>{s(e.target.value)}),[]),y=e=>t=>{u((0,h.Z)((0,h.Z)({},c),{},{[e]:t.target.value}))},C=(0,i.useCallback)((()=>{u((0,h.Z)((0,h.Z)({},c),{},{showPassword:!c.showPassword}))}),[c]),k=(0,i.useCallback)((e=>{e.preventDefault()}),[]);return(0,g.jsxs)(x.ZP,{columns:{xs:1,md:2},spacing:3,children:[(0,g.jsxs)(v.Z,{title:"General",children:[(0,g.jsx)(p.Z,{variant:t,fullWidth:!0,label:"Inactive"}),(0,g.jsx)(p.Z,{variant:t,required:!0,fullWidth:!0,label:"Activated",defaultValue:"Hello Minimal"}),(0,g.jsx)(p.Z,{variant:t,fullWidth:!0,type:"password",label:"Password",autoComplete:"current-password"}),(0,g.jsx)(p.Z,{variant:t,disabled:!0,fullWidth:!0,label:"Disabled",defaultValue:"Hello Minimal"})]}),(0,g.jsxs)(v.Z,{title:"With Icon & Adornments",children:[(0,g.jsx)(p.Z,{variant:t,fullWidth:!0,label:"Filled",InputProps:{startAdornment:(0,g.jsx)(Z.Z,{position:"start",children:(0,g.jsx)(b.Z,{icon:"solar:user-rounded-bold",width:24})})}}),(0,g.jsx)(p.Z,{variant:t,disabled:!0,fullWidth:!0,label:"Disabled",defaultValue:"Hello Minimal",InputProps:{startAdornment:(0,g.jsx)(Z.Z,{position:"start",children:(0,g.jsx)(b.Z,{icon:"solar:user-rounded-bold",width:24})})}}),(0,g.jsx)(p.Z,{variant:t,fullWidth:!0,label:"With normal TextField",InputProps:{startAdornment:(0,g.jsx)(Z.Z,{position:"start",children:"Kg"})}}),(0,g.jsx)(p.Z,{variant:t,fullWidth:!0,value:c.weight,onChange:y("weight"),helperText:"Weight",InputProps:{endAdornment:(0,g.jsx)(Z.Z,{position:"end",children:"Kg"})}}),(0,g.jsx)(p.Z,{variant:t,fullWidth:!0,type:c.showPassword?"text":"password",value:c.password,onChange:y("password"),label:"Password",InputProps:{startAdornment:(0,g.jsx)(Z.Z,{position:"start",children:(0,g.jsx)(b.Z,{icon:"solar:user-rounded-bold",width:24})}),endAdornment:(0,g.jsx)(Z.Z,{position:"end",children:(0,g.jsx)(f.Z,{onClick:C,onMouseDown:k,edge:"end",children:c.showPassword?(0,g.jsx)(b.Z,{icon:"solar:eye-bold",width:24}):(0,g.jsx)(b.Z,{icon:"solar:eye-closed-bold",width:24})})})}})]}),(0,g.jsxs)(v.Z,{title:"With Caption",children:[(0,g.jsx)(p.Z,{variant:t,fullWidth:!0,label:"Error",defaultValue:"Hello Minimal",helperText:"Incorrect entry."}),(0,g.jsx)(p.Z,{variant:t,error:!0,fullWidth:!0,label:"Error",defaultValue:"Hello Minimal",helperText:"Incorrect entry."})]}),(0,g.jsxs)(v.Z,{title:"Type",children:[(0,g.jsx)(p.Z,{variant:t,fullWidth:!0,type:"password",label:"Password",autoComplete:"current-password"}),(0,g.jsx)(p.Z,{variant:t,fullWidth:!0,type:"number",label:"Number",defaultValue:0,InputLabelProps:{shrink:!0}}),(0,g.jsx)(p.Z,{variant:t,fullWidth:!0,label:"Search",type:"search"})]}),(0,g.jsxs)(v.Z,{title:"Sizes",children:[(0,g.jsx)(p.Z,{variant:t,fullWidth:!0,label:"Size",size:"small",defaultValue:"Small"}),(0,g.jsx)(p.Z,{variant:t,fullWidth:!0,label:"Size",defaultValue:"Normal"})]}),(0,g.jsxs)(v.Z,{title:"Select",children:[(0,g.jsx)(p.Z,{variant:t,select:!0,fullWidth:!0,label:"Select",value:r,onChange:w,helperText:"Please select your currency",children:j.map((e=>(0,g.jsx)(m.Z,{value:e.value,children:e.label},e.value)))}),(0,g.jsx)(p.Z,{variant:t,select:!0,fullWidth:!0,size:"small",value:r,label:"Native select",SelectProps:{native:!0},onChange:w,helperText:"Please select your currency",children:j.map((e=>(0,g.jsx)("option",{value:e.value,children:e.label},e.value)))})]}),(0,g.jsxs)(v.Z,{title:"Multiline",children:[(0,g.jsx)(p.Z,{variant:t,fullWidth:!0,label:"Multiline",multiline:!0,maxRows:4,value:"Controlled"}),(0,g.jsx)(p.Z,{variant:t,fullWidth:!0,multiline:!0,placeholder:"Placeholder",label:"Multiline Placeholder"}),(0,g.jsx)(p.Z,{variant:t,rows:4,fullWidth:!0,multiline:!0,label:"Multiline",defaultValue:"Default Value"})]})]})}const y=[{value:"outlined",label:"Outlined",component:(0,g.jsx)(w,{variant:"outlined"})},{value:"filled",label:"Filled",component:(0,g.jsx)(w,{variant:"filled"})},{value:"standard",label:"Standard",component:(0,g.jsx)(w,{variant:"standard"})}];function C(){const e=(0,i.useState)("outlined"),t=(0,a.Z)(e,2),l=t[0],n=t[1],h=(0,i.useCallback)(((e,t)=>{n(t)}),[]);return(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(s.Z,{sx:{py:5,bgcolor:e=>"light"===e.palette.mode?"grey.200":"grey.800"},children:(0,g.jsx)(d.Z,{children:(0,g.jsx)(u.Z,{heading:"Textfield",links:[{name:"Components",href:c.H.components},{name:"Textfield"}],moreLink:["https://mui.com/components/text-fields"]})})}),(0,g.jsxs)(d.Z,{sx:{my:10}
3,children:[(0,g.jsx)(o.Z,{value:l,onChange:h,children:y.map((e=>(0,g.jsx)(r.Z,{value:e.value,label:e.label},e.value)))}),(0,g.jsx)("form",{noValidate:!0,autoComplete:"off",children:y.map((e=>e.value===l&&(0,g.jsx)(s.Z,{sx:{mt:5},children:e.component},e.value)))})]})]})}function k(){return(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(n.ql,{children:(0,g.jsx)("title",{children:" MUI: TextField"})}),(0,g.jsx)(C,{})]})}},31562:(e,t,l)=>{l.d(t,{Z:()=>u});var n=l(1413),a=l(45987),i=l(12065),r=l(27938),s=l(9585),o=l(36314),d=l(80184);const c=["title","sx","children"];function u(e){let t=e.title,l=e.sx,u=e.children,h=(0,a.Z)(e,c);return(0,d.jsxs)(r.Z,{variant:"outlined",sx:{borderRadius:1.5,borderStyle:"dashed",bgcolor:e=>(0,i.Fq)(e.palette.grey[500],.04)},children:[t&&(0,d.jsx)(s.Z,{title:t}),(0,d.jsx)(o.Z,(0,n.Z)((0,n.Z)({spacing:3,direction:"row",alignItems:"center",justifyContent:"center",flexWrap:"wrap",sx:(0,n.Z)({p:5,minHeight:180},l)},h),{},{children:u}))]})}},16002:(e,t,l)=>{l.d(t,{ZP:()=>y});var n=l(29439),a=l(63366),i=l(87462),r=l(20838),s=l(54164),o=l(66934),d=l(31402),c=l(51184),u=l(45682),h=l(98736),x=l(73626),m=l(28182),p=l(72791),f=l(64657);function Z(e){return(0,f.ZP)("MuiMasonry",e)}(0,l(59703).Z)("MuiMasonry",["root"]);var b=l(80184);const v=["children","className","component","columns","spacing","defaultColumns","defaultHeight","defaultSpacing"],g=e=>Number(e.replace("px","")),j={flexBasis:"100%",width:0,margin:0,padding:0},w=(0,o.ZP)("div",{name:"MuiMasonry",slot:"Root",overridesResolver:(e,t)=>[t.root]})((e=>{let t=e.ownerState,l=e.theme,n={width:"100%",display:"flex",flexFlow:"column wrap",alignContent:"flex-start",boxSizing:"border-box","& > *":{boxSizing:"border-box"}};const a={};if(t.isSSR){const e={},r=g(l.spacing(t.defaultSpacing));for(let l=1;l<=t.defaultColumns;l+=1)e["&:nth-of-type(".concat(t.defaultColumns,"n+").concat(l%t.defaultColumns,")")]={order:l};return a.height=t.defaultHeight,a.margin=-r/2,a["& > *"]=(0,i.Z)({},n["& > *"],e,{margin:r/2,width:"calc(".concat((100/t.defaultColumns).toFixed(2),"% - ").concat(r,"px)")}),(0,i.Z)({},n,a)}const r=(0,c.P$)({values:t.spacing,breakpoints:l.breakpoints.values}),s=(0,u.hB)(l);n=(0,h.Z)(n,(0,c.k9)({theme:l},r,(e=>{let l;if("string"===typeof e&&!Number.isNaN(Number(e))||"number"===typeof e){const t=Number(e);l=(0,u.NA)(s,t)}else l=e;return(0,i.Z)({margin:"calc(0px - (".concat(l," / 2))"),"& > *":{margin:"calc(".concat(l," / 2)")}},t.maxColumnHeight&&{height:"number"===typeof l?Math.ceil(t.maxColumnHeight+g(l)):"calc(".concat(t.maxColumnHeight,"px + ").concat(l,")")})})));const o=(0,c.P$)({values:t.columns,breakpoints:l.breakpoints.values});return n=(0,h.Z)(n,(0,c.k9)({theme:l},o,(e=>{const t=Number(e),l="".concat((100/t).toFixed(2),"%"),n="string"===typeof r&&!Number.isNaN(Number(r))||"number"===typeof r?(0,u.NA)(s,Number(r)):"0px";return{"& > *":{width:"calc(".concat(l," - ").concat(n,")")}}}))),"object"===typeof r&&(n=(0,h.Z)(n,(0,c.k9)({theme:l},r,((e,t)=>{if(t){const l=Number(e),n=Object.keys(o).pop(),a=(0,u.NA)(s,l),i="object"===typeof o?o[t]||o[n]:o,r="".concat((100/i).toFixed(2),"%");return{"& > *":{width:"calc(".concat(r," - ").concat(a,")")}}}return null})))),n})),y=p.forwardRef((function(e,t){const l=(0,d.Z)({props:e,name:"MuiMasonry"}),o=l.children,c=l.className,u=l.component,h=void 0===u?"div":u,f=l.columns,y=void 0===f?4:f,C=l.spacing,k=void 0===C?1:C,S=l.defaultColumns,N=l.defaultHeight,W=l.defaultSpacing,M=(0,a.Z)(l,v),P=p.useRef(),H=p.useState(),R=(0,n.Z)(H,2),I=R[0],T=R[1],A=!I&&N&&void 0!==S&&void 0!==W,E=p.useState(A?S-1:0),F=(0,n.Z)(E,2),V=F[0],L=F[1],_=(0,i.Z)({},l,{spacing:k,columns:y,maxColumnHeight:I,defaultColumns:S,defaultHeight:N,defaultSpacing:W,isSSR:A}),z=(e=>{const t=e.classes;return(0,r.Z)({root:["root"]},Z,t)})(_),D=p.useRef("undefined"===typeof ResizeObserver?void 0:new ResizeObserver((e=>{if(!P.current||!e||0===e.length)return;const t=P.current,l=P.current.firstChild,n=t.clientWidth,a=l.clientWidth;if(0===n||0===a)return;const i=window.getComputedStyle(l),r=g(i.marginLeft),o=g(i.marginRight),d=Math.round(n/(a+r+o)),c=new Array(d).fill(0);let u=!1;
3t.childNodes.forEach((e=>{if(e.nodeType!==Node.ELEMENT_NODE||"line-break"===e.dataset.class||u)return;const t=window.getComputedStyle(e),l=g(t.marginTop),n=g(t.marginBottom),a=g(t.height)?Math.ceil(g(t.height))+l+n:0;if(0!==a){for(let t=0;t<e.childNodes.length;t+=1){const l=e.childNodes[t];if("IMG"===l.tagName&&0===l.clientHeight){u=!0;break}}if(!u){const t=c.indexOf(Math.min(...c));c[t]+=a;const l=t+1;e.style.order=l}}else u=!0})),u||s.flushSync((()=>{T(Math.max(...c)),L(d>0?d-1:0)}))})));p.useEffect((()=>{const e=D.current;if(void 0!==e)return P.current&&P.current.childNodes.forEach((t=>{e.observe(t)})),()=>e?e.disconnect():{}}),[y,k,o]);const O=(0,x.Z)(t,P),B=new Array(V).fill("").map(((e,t)=>(0,b.jsx)("span",{"data-class":"line-break",style:(0,i.Z)({},j,{order:t+1})},t)));return(0,b.jsxs)(w,(0,i.Z)({as:h,className:(0,m.Z)(z.root,c),ref:O,ownerState:_},M,{children:[o,B]}))}))}}]); 4//# sourceMappingURL=5817.945720b2.chunk.js.map 5//# debugId=e02bf24f-2430-5fa0-9054-ff62ed2ad07c
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.