1"use strict";(self.webpackChunk_minimal_kit_cra_js=self.webpackChunk_minimal_kit_cra_js||[]).push([[5949],{2771(e,n,s){s.d(n,{c:()=>h});var l=s(89379),o=s(80045),r=s(16491),t=s(19808),i=s(14857),a=s(21156),c=s(65594),d=s(44414);const x=["children","sx"];function h(e){let{children:n,sx:s}=e,h=(0,o.A)(e,x);const u=(0,i.A)();return(0,d.jsxs)(r.A,(0,l.A)((0,l.A)({sx:(0,l.A)({py:5,minHeight:240,display:"flex",position:"relative",alignItems:"center"},s)},h),{},{children:[(0,d.jsx)(t.A,{children:n}),(0,d.jsx)(r.A,{sx:(0,l.A)((0,l.A)({},(0,c.ab)({color:"0deg, ".concat((0,c.IG)(u.vars.palette.background.defaultChannel,.9),", ").concat((0,c.IG)(u.vars.palette.background.defaultChannel,.9)),imgUrl:"".concat(a.P.assetsDir,"/assets/background/background-3-blur.webp")})),{},{top:0,left:0,width:1,height:1,zIndex:-1,position:"absolute",transform:"scaleX(-1)"})})]}))}},52432(e,n,s){s.d(n,{A:()=>D});var l=s(58168),o=s(98587),r=s(9950),t=(s(75772),s(72004)),i=s(88465),a=s(59063),c=s(59254),d=s(18463),x=s(87233),h=s(99269),u=s(65471),p=s(44414);const m=(0,u.A)((0,p.jsx)("path",{d:"M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}),"MoreHoriz");var A=s(29715);const j=["slots","slotProps"],g=(0,c.Ay)(A.A)((e=>{let{theme:n}=e;return(0,l.A)({display:"flex",marginLeft:"calc(".concat(n.spacing(1)," * 0.5)"),marginRight:"calc(".concat(n.spacing(1)," * 0.5)")},"light"===n.palette.mode?{backgroundColor:n.palette.grey[100],color:n.palette.grey[700]}:{backgroundColor:n.palette.grey[700],color:n.palette.grey[100]},{borderRadius:2,"&:hover, &:focus":(0,l.A)({},"light"===n.palette.mode?{backgroundColor:n.palette.grey[200]}:{backgroundColor:n.palette.grey[600]}),"&:active":(0,l.A)({boxShadow:n.shadows[0]},"light"===n.palette.mode?{backgroundColor:(0,h.tL)(n.palette.grey[200],.12)}:{backgroundColor:(0,h.tL)(n.palette.grey[600],.12)})})})),f=(0,c.Ay)(m)({width:24,height:16});const v=function(e){const{slots:n={},slotProps:s={}}=e,r=(0,o.A)(e,j),t=e;return(0,p.jsx)("li",{children:(0,p.jsx)(g,(0,l.A)({focusRipple:!0},r,{ownerState:t,children:(0,p.jsx)(f,(0,l.A)({as:n.CollapsedIcon,ownerState:t},s.collapsedIcon))}))})};var b=s(1763),C=s(423);function y(e){return(0,C.Ay)("MuiBreadcrumbs",e)}const k=(0,b.A)("MuiBreadcrumbs",["root","ol","li","separator"]),w=["children","className","component","slots","slotProps","expandText","itemsAfterCollapse","itemsBeforeCollapse","maxItems","separator"],F=(0,c.Ay)(x.A,{name:"MuiBreadcrumbs",slot:"Root",overridesResolver:(e,n)=>[{["& .".concat(k.li)]:n.li},n.root]})({}),S=(0,c.Ay)("ol",{name:"MuiBreadcrumbs",slot:"Ol",overridesResolver:(e,n)=>n.ol})({display:"flex",flexWrap:"wrap",alignItems:"center",padding:0,margin:0,listStyle:"none"}),I=(0,c.Ay)("li",{name:"MuiBreadcrumbs",slot:"Separator",overridesResolver:(e,n)=>n.separator})({display:"flex",userSelect:"none",marginLeft:8,marginRight:8});function T(e,n,s,l){return e.reduce(((o,r,t)=>(t<e.length-1?o=o.concat(r,(0,p.jsx)(I,{"aria-hidden":!0,className:n,ownerState:l,children:s},"separator-".concat(t))):o.push(r),o)),[])}const D=r.forwardRef((function(e,n){const s=(0,d.b)({props:e,name:"MuiBreadcrumbs"}),{children:c,className:x,component:h="nav",slots:u={},slotProps:m={},expandText:A="Show path",itemsAfterCollapse:j=1,itemsBeforeCollapse:g=1,maxItems:f=8,separator:b="/"}=s,C=(0,o.A)(s,w),[k,I]=r.useState(!1),D=(0,l.A)({},s,{component:h,expanded:k,expandText:A,itemsAfterCollapse:j,itemsBeforeCollapse:g,maxItems:f,separator:b}),L=(e=>{const{classes:n}=e;return(0,i.A)({root:["root"],li:["li"],ol:["ol"],separator:["separator"]},y,n)})(D),R=(0,a.A)({elementType:u.CollapsedIcon,externalSlotProps:m.collapsedIcon,ownerState:D}),W=r.useRef(null),G=r.Children.toArray(c).filter((e=>r.isValidElement(e))).map(((e,n)=>(0,p.jsx)("li",{className:L.li,children:e},"child-".concat(n))));return(0,p.jsx)(F,(0,l.A)({ref:n,component:h,color:"text.secondary",className:(0,t.A)(L.root,x),ownerState:D},C,{children:(0,p.jsx)(S,{className:L.ol,ref:W,ownerState:D,children:T(k||f&&G.length<=f?G:(e=>g+j>=e.length?e:[...e.slice(0,g),(0,p.jsx)(v,{"aria-label":A,slots:{CollapsedIcon:u.CollapsedIcon},slotProps:{collapsedIcon:R},onClick:()=>{I(!0);const e=W.current.querySelector("a[href],button,[tabindex]");e&&e.focus()}},"ellipsis"),...e.slice(e.length-j,e.length)])(G),L.separator,b,D)})}))}))},66438(e,n,s){s.d(n,{g:()=>u});var l=s(89379),o=s(80045),r=s(16491),t=s(30358),i=s(87233),a=s(52432),c=s(95218),d=s(44414);function x(e){let{link:n,activeLast:s,disabled:o}=e;const i=(0,l.A)({typography:"body2",alignItems:"center",color:"text.primary",display:"inline-flex"},o&&!s&&{cursor:"default",pointerEvents:"none",color:"text.disabled"}),a=(0,d.jsxs)(d.Fragment,{children:[n.icon&&(0,d.jsx)(r.A,{component:"span",sx:{mr:1,display:"inherit","& svg, & img":{width:20,height:20}},children:n.icon}),n.name]});return n.href?(0,d.jsx)(t.A,{component:c.W,href:n.href,sx:i,children:a}):(0,d.jsxs)(r.A,{sx:i,children:[" ",a," "]})}const h=["links","action","heading","moreLink","activeLast","slotProps","
1sx"];function u(e){let{links:n,action:s,heading:c,moreLink:u,activeLast:m,slotProps:A,sx:j}=e,g=(0,o.A)(e,h);const f=n[n.length-1].name,v=(0,d.jsx)(i.A,{variant:"h4",sx:(0,l.A)({mb:2},null===A||void 0===A?void 0:A.heading),children:c}),b=(0,d.jsx)(a.A,(0,l.A)((0,l.A)({separator:(0,d.jsx)(p,{}),sx:null===A||void 0===A?void 0:A.breadcrumbs},g),{},{children:n.map(((e,n)=>{var s;return(0,d.jsx)(x,{link:e,activeLast:m,disabled:e.name===f},null!==(s=e.name)&&void 0!==s?s:n)}))})),C=(0,d.jsxs)(r.A,{sx:(0,l.A)({flexShrink:0},null===A||void 0===A?void 0:A.action),children:[" ",s," "]}),y=(0,d.jsx)(r.A,{component:"ul",children:null===u||void 0===u?void 0:u.map((e=>(0,d.jsx)(r.A,{component:"li",sx:{display:"flex"},children:(0,d.jsx)(t.A,{href:e,variant:"body2",target:"_blank",rel:"noopener",sx:null===A||void 0===A?void 0:A.moreLink,children:e})},e)))});return(0,d.jsxs)(r.A,(0,l.A)((0,l.A)({gap:2,display:"flex",flexDirection:"column",sx:j},g),{},{children:[(0,d.jsxs)(r.A,{display:"flex",alignItems:"center",children:[(0,d.jsxs)(r.A,{sx:{flexGrow:1},children:[c&&v,!!n.length&&b]}),s&&C]}),!!u&&y]}))}function p(){return(0,d.jsx)(r.A,{component:"span",sx:{width:4,height:4,borderRadius:"50%",bgcolor:"text.disabled"}})}},75949(e,n,s){s.r(n),s.d(n,{default:()=>J});var l=s(32856),o=s(21156),r=s(90260),t=s(66438),i=s(67535),a=s(96583),c=s(14341),d=s(87233),x=s(40033),h=s(76601),u=s(28170),p=s(2928),m=s(44414);function A(){const e=(0,p.C)();return(0,m.jsxs)("div",{children:[(0,m.jsx)(i.A,{variant:"outlined",color:"warning",onClick:e.onTrue,children:"Form Dialogs"}),(0,m.jsxs)(a.A,{open:e.value,onClose:e.onFalse,children:[(0,m.jsx)(x.A,{children:"Subscribe"}),(0,m.jsxs)(u.A,{children:[(0,m.jsx)(d.A,{sx:{mb:3},children:"To subscribe to this website, please enter your email address here. We will send updates occasionally."}),(0,m.jsx)(c.A,{autoFocus:!0,fullWidth:!0,type:"email",margin:"dense",variant:"outlined",label:"Email address"})]}),(0,m.jsxs)(h.A,{children:[(0,m.jsx)(i.A,{onClick:e.onFalse,variant:"outlined",color:"inherit",children:"Cancel"}),(0,m.jsx)(i.A,{onClick:e.onFalse,variant:"contained",children:"Subscribe"})]})]})]})}function j(){const e=(0,p.C)();return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(i.A,{color:"info",variant:"outlined",onClick:e.onTrue,children:"Open alert dialog"}),(0,m.jsxs)(a.A,{open:e.value,onClose:e.onFalse,children:[(0,m.jsx)(x.A,{children:"Use Google's location service?"}),(0,m.jsx)(u.A,{sx:{color:"text.secondary"},children:"Let Google help apps determine location. This means sending anonymous location data to Google, even when no apps are running."}),(0,m.jsxs)(h.A,{children:[(0,m.jsx)(i.A,{variant:"outlined",onClick:e.onFalse,children:"Disagree"}),(0,m.jsx)(i.A,{variant:"contained",onClick:e.onFalse,autoFocus:!0,children:"Agree"})]})]})]})}var g=s(9950),f=s(6493);function v(){const e=(0,p.C)(),[n,s]=(0,g.useState)("paper"),l=(0,g.useCallback)((n=>()=>{e.onTrue(),s(n)}),[e]),o=(0,g.useRef)(null);return(0,g.useEffect)((()=>{if(e.value){const{current:e}=o;e&&e.focus()}}),[e.value]),(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(i.A,{variant:"outlined",onClick:l("paper"),sx:{mr:2},children:"scroll=paper"}),(0,m.jsx)(i.A,{variant:"outlined",onClick:l("body"),children:"scroll=body"}),(0,m.jsxs)(a.A,{open:e.value,onClose:e.onFalse,scroll:n,children:[(0,m.jsx)(x.A,{sx:{pb:2},children:"Subscribe"}),(0,m.jsx)(u.A,{dividers:"paper"===n,children:(0,m.jsx)(f.A,{ref:o,tabIndex:-1,children:[...new Array(50)].map((()=>"Cras mattis consectetur purus sit amet fermentum.\nCras justo odio, dapibus ac facilisis in, egestas eget quam.\nMorbi leo risus, porta ac consectetur ac, vestibulum at eros.\nPraesent commodo cursus magna, vel scelerisque nisl consectetur et.")).join("\n")})}),(0,m.jsxs)(h.A,{children:[(0,m.jsx)(i.A,{onClick:e.onFalse,children:"Cancel"}),(0,m.jsx)(i.A,{variant:"contained",onClick:e.onFalse,children:"Subscribe"})]})]})]})}var b=s(16491),C=s(62854),y=s(83563),k=s(57357),w=s(74631);const F=["[email protected]","[email protected]"];function S(){const e=(0,p.C)(),[n,s]=(0,g.useState)(F[1]),l=(0,g.useCallback)((n=>{e.onFalse(),s(n)}),[e]);return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(i.A,{variant:"outlined",onClick:e.onTrue,children:"Open simple dialog"}),(0,m.jsxs)(d.A,{variant:"subtitle1",children:["Selected: ",n]}),(0,m.jsxs)(a.A,{open:e.value,onClose:()=>l(n),children:[(0,m.jsx)(x.A,{children:"Set backup account"}),(0,m.jsxs)(b.A,{component:"ul",children:[F.map((e=>
1(0,m.jsx)(b.A,{component:"li",sx:{display:"flex"},children:(0,m.jsxs)(k.A,{onClick:()=>l(e),children:[(0,m.jsx)(C.A,{sx:{mr:2,color:"info.lighter",bgcolor:"info.darker"},children:(0,m.jsx)(w.WL,{icon:"solar:user-rounded-bold"})}),(0,m.jsx)(y.A,{primary:e})]})},e))),(0,m.jsx)(b.A,{component:"li",sx:{display:"flex"},children:(0,m.jsxs)(k.A,{autoFocus:!0,onClick:()=>l("addAccount"),children:[(0,m.jsx)(C.A,{sx:{mr:2},children:(0,m.jsx)(w.WL,{icon:"mingcute:add-line"})}),(0,m.jsx)(y.A,{primary:"Add account"})]})})]})]})]})}var I=s(77335),T=s(70006),D=s(27987),L=s(66059),R=s(25979),W=s(7233);function G(){const e=(0,p.C)(),[n,s]=(0,g.useState)(!0),[l,o]=(0,g.useState)("sm"),r=(0,g.useCallback)((e=>{o(e.target.value)}),[]),t=(0,g.useCallback)((e=>{s(e.target.checked)}),[]);return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(i.A,{variant:"outlined",onClick:e.onTrue,children:"Max width dialog"}),(0,m.jsxs)(a.A,{open:e.value,maxWidth:l,onClose:e.onFalse,fullWidth:n,children:[(0,m.jsx)(x.A,{children:"Optional sizes"}),(0,m.jsxs)(u.A,{children:[(0,m.jsx)(d.A,{sx:{color:"text.secondary"},children:"You can set my maximum width and whether to adapt or not."}),(0,m.jsxs)(b.A,{component:"form",noValidate:!0,sx:{margin:"auto",display:"flex",width:"fit-content",flexDirection:"column"},children:[(0,m.jsxs)(R.A,{sx:{my:3,minWidth:160},children:[(0,m.jsx)(L.A,{htmlFor:"max-width-label",children:"maxWidth"}),(0,m.jsxs)(T.A,{autoFocus:!0,value:l,onChange:r,label:"maxWidth",inputProps:{id:"max-width-label"},children:[(0,m.jsx)(D.A,{value:!1,children:"false"}),(0,m.jsx)(D.A,{value:"xs",children:"xs"}),(0,m.jsx)(D.A,{value:"sm",children:"sm"}),(0,m.jsx)(D.A,{value:"md",children:"md"}),(0,m.jsx)(D.A,{value:"lg",children:"lg"}),(0,m.jsx)(D.A,{value:"xl",children:"xl"})]})]}),(0,m.jsx)(W.A,{control:(0,m.jsx)(I.A,{checked:n,onChange:t}),label:"Full width",sx:{mt:1}})]})]}),(0,m.jsx)(h.A,{children:(0,m.jsx)(i.A,{onClick:e.onFalse,variant:"contained",children:"Close"})})]})]})}var M=s(2771),P=s(89379),B=s(48205),_=s(88060),z=s(74745),N=s(83239),E=s(57073);const O=(0,g.forwardRef)(((e,n)=>(0,m.jsx)(B.A,(0,P.A)({direction:"up",ref:n},e))));function U(){const e=(0,p.C)();return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(i.A,{variant:"outlined",color:"error",onClick:e.onTrue,children:"Full screen dialogs"}),(0,m.jsxs)(a.A,{fullScreen:!0,open:e.value,onClose:e.onFalse,TransitionComponent:O,children:[(0,m.jsx)(_.A,{position:"relative",color:"default",children:(0,m.jsxs)(N.A,{children:[(0,m.jsx)(E.A,{color:"inherit",edge:"start",onClick:e.onFalse,children:(0,m.jsx)(w.WL,{icon:"mingcute:close-line"})}),(0,m.jsx)(d.A,{variant:"h6",sx:{flex:1,ml:2},children:"Sound"}),(0,m.jsx)(i.A,{autoFocus:!0,color:"inherit",variant:"contained",onClick:e.onFalse,children:"Save"})]})}),(0,m.jsxs)(b.A,{component:"ul",children:[(0,m.jsx)(b.A,{component:"li",sx:{display:"flex"},children:(0,m.jsx)(k.A,{children:(0,m.jsx)(y.A,{primary:"Phone ringtone",secondary:"Titania"})})}),(0,m.jsx)(z.A,{}),(0,m.jsx)(b.A,{component:"li",sx:{display:"flex"},children:(0,m.jsx)(k.A,{children:(0,m.jsx)(y.A,{primary:"Default notification ringtone",secondary:"Tethys"})})})]})]})]})}const q=(0,g.forwardRef)(((e,n)=>(0,m.jsx)(B.A,(0,P.A)({direction:"up",ref:n},e))));function Y(){const e=(0,p.C)();return(0,m.jsxs)("div",{children:[(0,m.jsx)(i.A,{variant:"outlined",color:"success",onClick:e.onTrue,children:"Transitions dialogs"}),(0,m.jsxs)(a.A,{keepMounted:!0,open:e.value,TransitionComponent:q,onClose:e.onFalse,children:[(0,m.jsx)(x.A,{children:"Use Google's location service?"}),(0,m.jsx)(u.A,{sx:{color:"text.secondary"},children:"Let Google help apps determine location. This means sending anonymous location data to Google, even when no apps are running."}),(0,m.jsxs)(h.A,{children:[(0,m.jsx)(i.A,{variant:"outlined",onClick:e.onFalse,children:"Disagree"}),(0,m.jsx)(i.A,{variant:"contained",onClick:e.onFalse,autoFocus:!0,children:"Agree"})]})]})]})}var H=s(95136);function V(){return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(M.c,{children:(0,m.jsx)(t.g,{heading:"Dialog",links:[{name:"Components",href:r.f.components},{name:"Dialog"}],moreLink:["https://mui.com/components/dialogs"]})}
1),(0,m.jsxs)(H.h,{sx:{rowGap:5,columnGap:3,display:"grid",gridTemplateColumns:{xs:"repeat(1, 1fr)",md:"repeat(2, 1fr)",lg:"repeat(3, 1fr)"}},children:[(0,m.jsx)(H.D,{title:"Simple",children:(0,m.jsx)(S,{})}),(0,m.jsx)(H.D,{title:"Alerts",children:(0,m.jsx)(j,{})}),(0,m.jsx)(H.D,{title:"Transitions",children:(0,m.jsx)(Y,{})}),(0,m.jsx)(H.D,{title:"Form",children:(0,m.jsx)(A,{})}),(0,m.jsx)(H.D,{title:"Full Screen",children:(0,m.jsx)(U,{})}),(0,m.jsx)(H.D,{title:"Max width dialog",children:(0,m.jsx)(G,{})}),(0,m.jsx)(H.D,{title:"Scrolling content dialogs",children:(0,m.jsx)(v,{})})]})]})}const X={title:"Dialog | MUI - ".concat(o.P.appName)};function J(){return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(l.mg,{children:(0,m.jsxs)("title",{children:[" ",X.title]})}),(0,m.jsx)(V,{})]})}},95136(e,n,s){s.d(n,{D:()=>h,h:()=>u});var l=s(89379),o=s(80045),r=s(16491),t=s(93230),i=s(19808),a=s(65594),c=s(44414);const d=["title","sx","children"],x=["children","sx"];function h(e){let{title:n,sx:s,children:i}=e,x=(0,o.A)(e,d);return(0,c.jsxs)(t.A,(0,l.A)((0,l.A)({sx:(0,l.A)({px:3,py:6,gap:2,width:1,flexWrap:"wrap",borderRadius:1.5,position:"relative",flexDirection:"row",alignItems:"center",justifyContent:"center",bgcolor:e=>(0,a.IG)(e.vars.palette.grey["500Channel"],.04),boxShadow:e=>"0 0 0 1px ".concat((0,a.IG)(e.vars.palette.grey["500Channel"],.16))},s)},x),{},{children:[n&&(0,c.jsx)(r.A,{component:"span",sx:{px:1,top:0,ml:2.5,left:0,py:.25,borderRadius:2,position:"absolute",color:"text.primary",bgcolor:"common.white",transform:"translateY(-50%)",fontSize:e=>e.typography.caption.fontSize,fontWeight:e=>e.typography.fontWeightSemiBold,border:e=>"solid 1px ".concat((0,a.IG)(e.vars.palette.grey["500Channel"],.24)),[a.Y5.dark]:{bgcolor:"background.neutral"}},children:n}),i]}))}function u(e){let{children:n,sx:s}=e,r=(0,o.A)(e,x);return(0,c.jsx)(i.A,(0,l.A)((0,l.A)({sx:(0,l.A)({mt:10,mb:15,gap:5,display:"flex",flexDirection:"column"},s)},r),{},{children:n}))}}}]);
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.