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
7.8 KiB
1 line
7.8 KiB
6 months ago
|
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[512],{44089:function(e,t,l){var n=l(85893),r=l(14440),u=l(54965),a=l(37969),c=l(38189),s=l(66173),o=l(56903),i=l(59278);let h=e=>{let{entry:t}=e;return(0,n.jsx)(i.$_,{whiteSpace:"nowrap",children:String(t)})},d=e=>{let{entry:t,key:l}=e;return c.JW.test(l)?(0,n.jsx)(i.PJ,{monospaced:!0,children:String(t)}):h(e)},f=e=>{let{entry:t,hasPassword:l}=e;return["",null,void 0].some(e=>t===e)||Number.isNaN(t)?(0,n.jsx)(i.Ac,{children:"none"}):l?d(e):h(e)},g=e=>{let{depth:t,entry:l,getLabel:u,hasPassword:a,key:c,nest:h,renderValue:d}=e;return(0,n.jsxs)(o.Z,{fullWidth:!0,growFirst:!0,row:!0,maxWidth:"100%",children:[(0,n.jsx)(i.Ac,{children:u({cap:s.Z,depth:t,entry:l,hasPassword:a,key:c})}),(0,n.jsx)(r.Z,{sx:{maxWidth:"100%",overflowX:"scroll"},children:!h&&d(f,{depth:t,entry:l,hasPassword:a,key:c})})]})},v=e=>{let{key:t}=e;return!/confirm|uuid/i.test(t)},m=e=>{let{depth:t=0,entries:l,getEntryLabel:r,getListProps:c,getListItemProps:s,hasPassword:o,listKey:i,maxDepth:h,renderEntry:d,renderEntryValue:f,skip:g}=e,p=[];Object.entries(l).forEach(e=>{let[l,a]=e,c=null!==a&&"object"==typeof a,i=c?null:a,b={depth:t,entry:i,hasPassword:o,key:l};g(v,b)&&p.push((0,n.jsx)(u.ZP,{sx:{paddingLeft:"".concat(t,"em")},...null==s?void 0:s.call(null,b),children:d({depth:t,entry:i,getLabel:r,hasPassword:o,key:l,nest:c,renderValue:f})},"form-summary-entry-".concat(l))),c&&t<h&&p.push(m({depth:t+1,entries:a,getEntryLabel:r,hasPassword:o,listKey:l,maxDepth:h,renderEntry:d,renderEntryValue:f,skip:g}))});let b="form-summary-list-".concat(null!=i?i:"root");return(0,n.jsx)(a.Z,{dense:!0,disablePadding:!0,...null==c?void 0:c.call(null,{depth:t,entries:l,key:i}),children:p},b)};t.Z=e=>{let{entries:t,getEntryLabel:l=e=>{let{cap:t,key:l}=e;return t(l)},getListProps:n,getListItemProps:r,hasPassword:u=!1,maxDepth:a=3,renderEntry:c=g,renderEntryValue:s=function(e){for(var t=arguments.length,l=Array(t>1?t-1:0),n=1;n<t;n++)l[n-1]=arguments[n];return e(...l)},skip:o=function(e){for(var t=arguments.length,l=Array(t>1?t-1:0),n=1;n<t;n++)l[n-1]=arguments[n];return e(...l)}}=e;return m({entries:t,getEntryLabel:l,getListProps:n,getListItemProps:r,hasPassword:u,maxDepth:a,renderEntry:c,renderEntryValue:s,skip:o})}},81208:function(e,t,l){var n=l(85893),r=l(67294),u=l(99576);let a={count:0,defaultMessageType:"info",messages:void 0,onSet:void 0,usePlaceholder:!0},c=(0,r.forwardRef)((e,t)=>{let{count:l=a.count,defaultMessageType:c=a.defaultMessageType,messages:s,onSet:o,usePlaceholder:i=a.usePlaceholder}=e,[h,d]=(0,r.useState)({}),f=(0,r.useMemo)(()=>({...s,...h}),[s,h]),g=(0,r.useCallback)(e=>void 0!==f[e],[f]),v=(0,r.useCallback)((e,t)=>{let l=0;d(n=>{let{[e]:r,...u}=n;return t&&(u[e]=t),l=Object.keys(u).length,u}),null==o||o.call(null,l)},[o]),m=(0,r.useCallback)((e,t)=>{let l=0,n=t?(e,n)=>{e[n]=t,l+=1}:void 0;d(t=>{let r={};return Object.keys(t).forEach(u=>{e.test(u)?null==n||n.call(null,r,u):(r[u]=t[u],l+=1)}),r}),null==o||o.call(null,l)},[o]),p=(0,r.useMemo)(()=>{let e=Object.entries(f),t=l>0,r=t?l:e.length,a=[];if(e.every(e=>{let[t,l]=e,{children:s,type:o=c}=l;return a.push((0,n.jsx)(u.Z,{type:o,children:s},"message-".concat(t))),a.length<r}),i&&t&&0===a.length){let e=l-a.length;for(let t=0;t<e;t+=1)a.push((0,n.jsx)(u.Z,{sx:{visibility:"hidden"},text:"Placeholder"},"message-placeholder-".concat(t)))}return a},[l,c,i,f]);return(0,r.useImperativeHandle)(t,()=>({exists:g,setMessage:v,setMessageRe:m}),[g,v,m]),(0,n.jsx)(n.Fragment,{children:p})});c.defaultProps=a,c.displayName="MessageGroup",t.Z=c},12387:function(e,t,l){var n=l(67294),r=l(37842),u=l(14879);let a=(0,n.forwardRef)((e,t)=>{let{input:l,onChange:a=function(e){let{handlers:{base:t,origin:l}}=e;for(var n=arguments.length,r=Array(n>1?n-1:0),u=1;u<n;u++)r[u-1]=arguments[u];null==t||t.call(null,...r),null==l||l.call(null,...r)},onMount:c,onUnmount:s}=e,{props:o}=l,{valueKey:i,valueType:h}=(0,n.useMemo)(()=>{let{type:e}=o,t="value",l="string";return e===r.Z.checkbox&&(t="checked",l="boolean"),{valueKey:t,valueType:l}},[o]),{onChange:d,[i]:f,...g}=o,[v
|