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
70 KiB
1 lines
70 KiB
(globalThis.utooChunk_ant_design_pro||(globalThis.utooChunk_ant_design_pro=[])).push(["object"==typeof document?document.currentScript:void 0,15720,e=>{"use strict";var t=e.i(191788),r=e.i(56742);e.s(["useDebounceFn",0,function(e,n){let a=(0,r.useRefFunction)(e),o=(0,t.useRef)(),l=(0,t.useCallback)(()=>{o.current&&(clearTimeout(o.current),o.current=null)},[]),i=(0,t.useCallback)(async(...e)=>0===n||void 0===n?a(...e):(l(),new Promise(t=>{o.current=setTimeout(async()=>{t(await a(...e))},n)})),[a,l,n]);return(0,t.useEffect)(()=>l,[l]),{run:i,cancel:l}}])},35384,e=>{"use strict";var t=e.i(790731);e.s(["Popover",()=>t.default])},76820,245538,e=>{"use strict";var t=e.i(84443).Col;e.s(["Col",()=>t],76820);var r=e.i(247699).Row;e.s(["Row",()=>r],245538)},193898,e=>{"use strict";var t=e.i(289993);e.s(["ProFormDependency",()=>t.default])},268074,e=>{"use strict";var t=e.i(191788),r=e.i(186762),n=e.i(56206),a=e.i(483917),o=e.i(430898),l=e.i(934854),i=e.i(663032),s=e.i(993175);let c=e=>{let r,{prefixCls:a,value:o,current:l,offset:i=0}=e;return i&&(r={position:"absolute",top:`${i}00%`,left:0}),t.createElement("span",{style:r,className:(0,n.clsx)(`${a}-only-unit`,{current:l})},o)};var d=e=>{let r,n,{prefixCls:a,count:o,value:l}=e,i=Number(l),s=Math.abs(o),[d,m]=t.useState(i),[u,p]=t.useState(s),h=()=>{m(i),p(s)};if(t.useEffect(()=>{let e=setTimeout(h,1e3);return()=>clearTimeout(e)},[i]),d===i||Number.isNaN(i)||Number.isNaN(d))r=[t.createElement(c,{...e,key:i,current:!0})],n={transition:"none"};else{r=[];let a=i+10,o=[];for(let e=i;e<=a;e+=1)o.push(e);let l=u<s?1:-1,m=o.findIndex(e=>e%10===d);r=(l<0?o.slice(0,m+1):o.slice(m)).map((r,n)=>t.createElement(c,{...e,key:r,value:r%10,offset:l<0?n-m:n,current:n===m})),n={transform:`translateY(${-function(e,t,r){let n=e,a=0;for(;(n+10)%10!==t;)n+=r,a+=r;return a}(d,i,l)}00%)`}}return t.createElement("span",{className:`${a}-only`,style:n,onTransitionEnd:h},r)};let m=t.forwardRef((e,r)=>{let{prefixCls:a,count:o,className:l,motionClassName:c,style:m,title:u,show:p,component:h="sup",children:f,...g}=e,{getPrefixCls:E}=t.useContext(s.ConfigContext),k=E("scroll-number",a),F={...g,"data-show":p,style:m,className:(0,n.clsx)(k,l,c),title:u},v=o;if(o&&Number(o)%1==0){let e=String(o).split("");v=t.createElement("bdi",null,e.map((r,n)=>t.createElement(d,{prefixCls:k,count:Number(o),value:r,key:e.length-n})))}return(m?.borderColor&&(F.style={...m,boxShadow:`0 0 0 1px ${m.borderColor} inset`}),f)?(0,i.cloneElement)(f,e=>({className:(0,n.clsx)(`${k}-custom-component`,e?.className,c)})):t.createElement(h,{...F,ref:r},v)});e.i(290586);var u=e.i(456161),p=e.i(774778),h=e.i(307441),f=e.i(218870),g=e.i(352050),E=e.i(104616);let k=new u.Keyframes("antStatusProcessing",{"0%":{transform:"scale(0.8)",opacity:.5},"100%":{transform:"scale(2.4)",opacity:0}}),F=new u.Keyframes("antZoomBadgeIn",{"0%":{transform:"scale(0) translate(50%, -50%)",opacity:0},"100%":{transform:"scale(1) translate(50%, -50%)"}}),v=new u.Keyframes("antZoomBadgeOut",{"0%":{transform:"scale(1) translate(50%, -50%)"},"100%":{transform:"scale(0) translate(50%, -50%)",opacity:0}}),b=new u.Keyframes("antNoWrapperZoomBadgeIn",{"0%":{transform:"scale(0)",opacity:0},"100%":{transform:"scale(1)"}}),x=new u.Keyframes("antNoWrapperZoomBadgeOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0)",opacity:0}}),M=new u.Keyframes("antBadgeLoadingCircle",{"0%":{transformOrigin:"50%"},"100%":{transform:"translate(50%, -50%) rotate(360deg)",transformOrigin:"50%"}}),C=e=>{let{fontHeight:t,lineWidth:r,marginXS:n,colorBorderBg:a}=e,o=e.colorTextLightSolid,l=e.colorError,i=e.colorErrorHover;return(0,E.mergeToken)(e,{badgeFontHeight:t,badgeShadowSize:r,badgeTextColor:o,badgeColor:l,badgeColorHover:i,badgeShadowColor:a,badgeProcessingDuration:"1.2s",badgeRibbonOffset:n,badgeRibbonCornerTransform:"scaleY(0.75)",badgeRibbonCornerFilter:"brightness(75%)"})},y=e=>{let{fontSize:t,lineHeight:r,fontSizeSM:n,lineWidth:a}=e;return{indicatorZIndex:"auto",indicatorHeight:Math.round(t*r)-2*a,indicatorHeightSM:t,dotSize:n/2,textFontSize:n,textFontSizeSM:n,textFontWeight:"normal",statusSize:n/2}};var j=(0,g.genStyleHooks)("Badge",e=>(e=>{let{componentCls:t,iconCls:r,antCls:n,badgeShadowSize:a,textFontSize:o,textFontSizeSM:l,statusSize:i,dotSize:s,textFontWeight:c,indicatorHeight:d,indicatorHeightSM:m,marginXS:u,calc:g}=e,E=`${n}-scroll-number`,C=(0,f.genPresetColor)(e,(e,{darkColor:r})=>({[`&${t} ${t}-color-${e}`]:{background:r,[`&:not(${t}-count)`]:{color:r},"a:hover &":{background:r}}}));return{[t]:{...(0,h.resetComponent)(e),position:"relative",display:"inline-block",width:"fit-content",lineHeight:1,[`${t}-count`]:{display:"inline-flex",justifyContent:"center",zIndex:e.indicatorZIndex,minWidth:d,height:d,color:e.badgeTextColor,fontWeight:c,fontSize:o,lineHeight:(0,p.unit)(d),whiteSpace:"nowrap",textAlign:"center",background:e.badgeColor,borderRadius:g(d).div(2).equal(),boxShadow:`0 0 0 ${(0,p.unit)(a)} ${e.badgeShadowColor}`,transition:`background-color ${e.motionDurationMid}`,a:{color:e.badgeTextColor},"a:hover":{color:e.badgeTextColor},"a:hover &":{background:e.badgeColorHover}},[`${t}-count-sm`]:{minWidth:m,height:m,fontSize:l,lineHeight:(0,p.unit)(m),borderRadius:g(m).div(2).equal()},[`${t}-multiple-words`]:{padding:`0 ${(0,p.unit)(e.paddingXS)}`,bdi:{unicodeBidi:"plaintext"}},[`${t}-dot`]:{zIndex:e.indicatorZIndex,width:s,minWidth:s,height:s,background:e.badgeColor,borderRadius:"100%",boxShadow:`0 0 0 ${(0,p.unit)(a)} ${e.badgeShadowColor}`},[`${t}-count, ${t}-dot, ${E}-custom-component`]:{position:"absolute",top:0,insetInlineEnd:0,transform:"translate(50%, -50%)",transformOrigin:"100% 0%",[`&${r}-spin`]:{animationName:M,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear"}},[`&${t}-status`]:{lineHeight:"inherit",verticalAlign:"baseline",[`${t}-status-dot`]:{position:"relative",top:-1,display:"inline-block",width:i,height:i,verticalAlign:"middle",borderRadius:"50%"},[`${t}-status-success`]:{backgroundColor:e.colorSuccess},[`${t}-status-processing`]:{overflow:"visible",color:e.colorInfo,backgroundColor:e.colorInfo,borderColor:"currentcolor","&::after":{position:"absolute",top:0,insetInlineStart:0,width:"100%",height:"100%",borderWidth:a,borderStyle:"solid",borderColor:"inherit",borderRadius:"50%",animationName:k,animationDuration:e.badgeProcessingDuration,animationIterationCount:"infinite",animationTimingFunction:"ease-in-out",content:'""'}},[`${t}-status-default`]:{backgroundColor:e.colorTextPlaceholder},[`${t}-status-error`]:{backgroundColor:e.colorError},[`${t}-status-warning`]:{backgroundColor:e.colorWarning},[`${t}-status-text`]:{marginInlineStart:u,color:e.colorText,fontSize:e.fontSize}},...C,[`${t}-zoom-appear, ${t}-zoom-enter`]:{animationName:F,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack,animationFillMode:"both"},[`${t}-zoom-leave`]:{animationName:v,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack,animationFillMode:"both"},[`&${t}-not-a-wrapper`]:{[`${t}-zoom-appear, ${t}-zoom-enter`]:{animationName:b,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack},[`${t}-zoom-leave`]:{animationName:x,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack},[`&:not(${t}-status)`]:{verticalAlign:"middle"},[`${E}-custom-component, ${t}-count`]:{transform:"none"},[`${E}-custom-component, ${E}`]:{position:"relative",top:"auto",display:"block",transformOrigin:"50% 50%"}},[E]:{overflow:"hidden",transition:`all ${e.motionDurationMid} ${e.motionEaseOutBack}`,[`${E}-only`]:{position:"relative",display:"inline-block",height:d,transition:`all ${e.motionDurationSlow} ${e.motionEaseOutBack}`,WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden",[`> p${E}-only-unit`]:{height:d,margin:0,WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden"}},[`${E}-symbol`]:{verticalAlign:"top"}},"&-rtl":{direction:"rtl",[`${t}-count, ${t}-dot, ${E}-custom-component`]:{transform:"translate(-50%, -50%)"}}}}})(C(e)),y);let w=t.forwardRef((e,c)=>{let{prefixCls:d,scrollNumberPrefixCls:u,children:p,status:h,text:f,color:g,count:E=null,overflowCount:k=99,dot:F=!1,size:v="medium",title:b,offset:x,style:M,className:C,rootClassName:y,classNames:w,styles:$,showZero:B=!1,...L}=e,{getPrefixCls:S,direction:P,className:R,style:D,classNames:N,styles:A}=(0,s.useComponentConfig)("badge"),T=S("badge",d),[W,I]=j(T),z={...e,overflowCount:k,size:v,dot:F,showZero:B},[H,V]=(0,o.useMergeSemantic)([N,w],[A,$],{props:z}),O=E>k?`${k}+`:E,Y="0"===O||0===O||"0"===f||0===f,q=null===E||Y&&!B,_=((0,l.isNonNullable)(h)||(0,l.isNonNullable)(g))&&q,K=(0,l.isNonNullable)(h)||!Y,Z=F&&!Y,G=Z?"":O,J=(0,t.useMemo)(()=>((!(0,l.isNonNullable)(G)||""===G)&&(!(0,l.isNonNullable)(f)||""===f)||Y&&!B)&&!Z,[G,Y,B,Z,f]),U=(0,t.useRef)(E);J||(U.current=E);let X=U.current,Q=(0,t.useRef)(G);J||(Q.current=G);let ee=Q.current,et=(0,t.useRef)(Z);J||(et.current=Z);let er=(0,t.useMemo)(()=>{if(!x)return{...D,...M};let e=Number.parseInt(x[0],10);return{...{marginTop:x[1],insetInlineEnd:-e},...D,...M}},[x,M,D]),en=b??("string"==typeof X||(0,l.isNumber)(X)?X:void 0),ea=!J&&(0===f?B:!!f&&!0!==f),eo=ea?t.createElement("span",{className:`${T}-status-text`},f):null,el=(0,l.isPlainObject)(X)?(0,i.cloneElement)(X,e=>({style:{...er,...e.style}})):void 0,ei=(0,a.isPresetColor)(g,!1),es=(0,n.clsx)(H.indicator,{[`${T}-status-dot`]:_,[`${T}-status-${h}`]:!!h,[`${T}-color-${g}`]:ei}),ec={};g&&!ei&&(ec.color=g,ec.background=g);let ed=(0,n.clsx)(T,{[`${T}-status`]:_,[`${T}-not-a-wrapper`]:!p,[`${T}-rtl`]:"rtl"===P},C,y,R,H.root,W,I);if(!p&&_&&(f||K||!q)){let e=er.color;return t.createElement("span",{ref:c,...L,className:ed,style:{...V.root,...er}},t.createElement("span",{className:es,style:{...V.indicator,...ec}}),ea&&t.createElement("span",{style:{color:e},className:`${T}-status-text`},f))}return t.createElement("span",{ref:c,...L,className:ed,style:V.root},p,t.createElement(r.default,{visible:!J,motionName:`${T}-zoom`,motionAppear:!1,motionDeadline:1e3},({className:e})=>{let r=S("scroll-number",u),a=et.current,o=(0,n.clsx)(H.indicator,{[`${T}-dot`]:a,[`${T}-count`]:!a,[`${T}-count-sm`]:"small"===v,[`${T}-multiple-words`]:!a&&ee&&ee.toString().length>1,[`${T}-status-${h}`]:!!h,[`${T}-color-${g}`]:ei}),l={...V.indicator,...er};return g&&!ei&&((l=l||{}).background=g),t.createElement(m,{prefixCls:r,show:!J,motionClassName:e,className:o,count:ee,title:en,style:l,key:"scrollNumber"},el)}),eo)});var $=(0,g.genStyleHooks)(["Badge","Ribbon"],e=>(e=>{let{antCls:t,badgeFontHeight:r,marginXS:n,badgeRibbonOffset:a,calc:o}=e,l=`${t}-ribbon`,i=`${t}-ribbon-wrapper`,s=(0,f.genPresetColor)(e,(e,{darkColor:t})=>({[`&${l}-color-${e}`]:{background:t,color:t}}));return{[i]:{position:"relative"},[l]:{...(0,h.resetComponent)(e),position:"absolute",top:n,padding:`0 ${(0,p.unit)(e.paddingXS)}`,color:e.colorPrimary,lineHeight:(0,p.unit)(r),whiteSpace:"nowrap",backgroundColor:e.colorPrimary,borderRadius:e.borderRadiusSM,[`${l}-content`]:{color:e.badgeTextColor},[`${l}-corner`]:{position:"absolute",top:"100%",width:a,height:a,color:"currentcolor",border:`${(0,p.unit)(o(a).div(2).equal())} solid`,transform:e.badgeRibbonCornerTransform,transformOrigin:"top",filter:e.badgeRibbonCornerFilter},...s,[`&${l}-placement-end`]:{insetInlineEnd:o(a).mul(-1).equal(),borderEndEndRadius:0,[`${l}-corner`]:{insetInlineEnd:0,borderInlineEndColor:"transparent",borderBlockEndColor:"transparent"}},[`&${l}-placement-start`]:{insetInlineStart:o(a).mul(-1).equal(),borderEndStartRadius:0,[`${l}-corner`]:{insetInlineStart:0,borderBlockEndColor:"transparent",borderInlineStartColor:"transparent"}},"&-rtl":{direction:"rtl"}}}})(C(e)),y);w.Ribbon=e=>{let{className:r,prefixCls:l,style:i,color:c,children:d,text:m,placement:u="end",rootClassName:p,styles:h,classNames:f}=e,{getPrefixCls:g,direction:E,className:k,style:F,classNames:v,styles:b}=(0,s.useComponentConfig)("ribbon"),x=g("ribbon",l),M=`${x}-wrapper`,[C,y]=$(x,M),j={...e,placement:u},[w,B]=(0,o.useMergeSemantic)([v,f],[b,h],{props:j}),L=(0,a.isPresetColor)(c,!1),S=(0,n.clsx)(x,`${x}-placement-${u}`,{[`${x}-rtl`]:"rtl"===E,[`${x}-color-${c}`]:L},r,k,w.indicator),P={},R={};return c&&!L&&(P.background=c,R.color=c),t.createElement("div",{className:(0,n.clsx)(M,p,C,y,w.root),style:B.root},d,t.createElement("div",{className:(0,n.clsx)(S,C),style:{...P,...B.indicator,...F,...i}},t.createElement("span",{className:(0,n.clsx)(`${x}-content`,w.content),style:B.content},m),t.createElement("div",{className:`${x}-corner`,style:R})))},e.s(["Badge",()=>w],268074)},431230,e=>{"use strict";var t=e.i(391398),r=e.i(493365),n=e.i(360618);e.i(957562);var a=e.i(987627),o=e.i(202774),l=e.i(617796),i=e.i(313367),s=e.i(882474),c=e.i(191788),d=e.i(19978),m=e.i(193898),u=e.i(440656),p=e.i(289024),h=e.i(810711),f=e.i(86787),g=e.i(56742),E=e.i(399076);let k=c.default.createContext(void 0);function F(e){let{children:t,record:r,position:n,newRecordType:a,parentKey:o}=e,l=(0,c.useContext)(k);return c.default.cloneElement(t,{...t.props,onClick:async e=>{!1!==await t.props.onClick?.(e)&&l?.current&&l.current.addEditRecord(r,{position:n,newRecordType:a,parentKey:o})}})}function v(e){let r=(0,u.useIntl)(),{onTableChange:d,maxLength:v,formItemProps:b,recordCreatorProps:x,rowKey:M,controlled:C,defaultValue:y,onChange:j,editableFormRef:w,autoFocus:$,...B}=e,L=(0,c.useRef)(void 0),S=(0,c.useRef)(),P=(0,c.useRef)(),R=s.Form.useFormInstance();(0,c.useImperativeHandle)(B.actionRef,()=>S.current,[S.current]);let[D,N]=(0,l.useControlledState)(()=>{if(e.value)return e.value;if(y)return y;if(e.name&&R){let t=[e.name].flat(1).filter(Boolean),r=R.getFieldValue(t);if(Array.isArray(r))return r}return[]},e.value),A=e.controlled?e.onChange:void 0,T=(0,c.useCallback)(e=>{N(t=>{let r="function"==typeof e?e(t):e;return A?.(r),r})},[A]),W=c.default.useMemo(()=>"function"==typeof M?M:(e,t)=>e[M]||t,[M]),I=(0,g.useRefFunction)(e=>new Set((e||[]).map(e=>String(e)))),z=(0,g.useRefFunction)((e,t,r)=>{if(P.current)try{if(r&&r.length>0){let n=P.current.getFieldsValue()||{},l=(0,a.get)(n,r);if(l&&Array.isArray(l)){let n=new Map;l.forEach((e,t)=>{let r=W(e,t);n.set(String(r),e)});let a=e.map((e,r)=>{let a=W(e,r),o=String(a);return t.has(o)&&n.get(o)||e}),i=(0,o.set)({},r,a);P.current.setFieldsValue(i)}else{let t=(0,o.set)({},r,e);P.current.setFieldsValue(t)}}else{let r={};e.forEach((e,n)=>{let a=W(e,n),o=String(a);t.has(o)||(r[o]=e)}),Object.keys(r).length>0&&P.current.setFieldsValue(r)}}catch(e){console.warn("Failed to sync form values:",e)}}),H=(0,g.useRefFunction)(e=>{if(e>=(D?.length??0))return e;let t=D?.[e];return W?.(t,e)}),V=(0,g.useRefFunction)(e=>{let t=D?.length??0;if("string"==typeof e||e>=t){let t=D.findIndex((t,r)=>W?.(t,r)?.toString()===e?.toString());if(-1!==t)return t}return e}),O=(0,g.useRefFunction)(t=>"number"!=typeof t||e.name?e.name?V(t):t:H(t)),Y=(0,g.useRefFunction)(t=>[e.name,t?.toString()??""].flat(1).filter(Boolean)),q=(0,g.useRefFunction)(e=>{if(null==e)throw Error("rowIndex is required");let t=Y(O(e));return P.current?.getFieldValue(t)}),_=(0,g.useRefFunction)(()=>{let t=[e.name].flat(1).filter(Boolean);if(Array.isArray(t)&&0===t.length){let e=P.current?.getFieldsValue();return Array.isArray(e)?e:Object.keys(e).map(t=>e[t])}return P.current?.getFieldValue(t)}),K=(0,g.useRefFunction)((t,r)=>{if(null==t)throw Error("rowIndex is required");let n=O(t),a=Y(n),l={...q(t),...r||{}};if(e.name){let t=[e.name].flat(1).filter(Boolean),r=e.value||P.current?.getFieldValue(t);if(Array.isArray(r)){let a="number"==typeof n?n:r.findIndex((e,t)=>{let r=W?.(e,t);return r===n||r?.toString()===n?.toString()});if(a>=0&&a<r.length){let n=[...r];n[a]=l;let i=(0,o.set)({},t,n);P.current?.setFieldsValue(i),e.controlled&&e.onChange&&e.onChange(n)}}else{let e=(0,o.set)({},a,l);P.current?.setFieldsValue(e)}}else{let e=(0,o.set)({},a,l);P.current?.setFieldsValue(e)}return!0});(0,c.useImperativeHandle)(w,()=>({...P.current,getRowData:q,getRowsData:_,setRowData:K}),[O,e.name,q,_,K]),(0,f.useDeepCompareEffect)(()=>{if(e.controlled&&P.current&&void 0!==D)try{if(e.name){let t=[e.name].flat(1),r=(0,o.set)({},t,D);P.current.setFieldsValue(r)}else{let e={};D.forEach((t,r)=>{let n=W(t,r);e[String(n)]=t}),Object.keys(e).length>0&&P.current.setFieldsValue(e)}}catch(e){console.warn("Failed to sync form values in controlled mode:",e)}},[D,e.controlled,e.name,W]),(0,c.useEffect)(()=>{e.name&&e?.editable?.form&&(P.current=e.editable.form)},[e.editable?.form,e.name]);let{position:Z}=x||{},{buttonRenderProps:G}=function({recordCreatorProps:e,maxLength:r,value:a,intl:o,isTop:l,columnsLength:s,tableViewRender:d}){let m=(0,c.useMemo)(()=>{var l;return l=a?.length||0,("number"!=typeof r||!(r<=l))&&!1!==e&&!!e&&function(e,r,a){let{record:o,position:l,creatorButtonText:s,newRecordType:c,parentKey:d,style:m,...u}=e;return(0,t.jsx)(F,{record:(0,h.runFunction)(o,r?.length,r)||{},position:l,parentKey:(0,h.runFunction)(d,r?.length,r),newRecordType:c,children:(0,t.jsx)(i.Button,{type:"dashed",style:{display:"block",margin:"10px 0",width:"100%",...m},icon:(0,t.jsx)(n.PlusOutlined,{}),...u,children:s||a.getMessage("editableTable.action.add","添加一行数据")})})}(e,a,o)},[r,e,a?.length,o]),u=(0,c.useMemo)(()=>m?l?{components:{header:{wrapper:({className:e,children:r})=>(0,t.jsxs)("thead",{className:e,children:[r,(0,t.jsxs)("tr",{style:{position:"relative"},children:[(0,t.jsx)("td",{colSpan:0,style:{visibility:"hidden"},children:m}),(0,t.jsx)("td",{style:{position:"absolute",left:0,width:"100%"},colSpan:s,children:m})]})]})}}}:{tableViewRender:(e,r)=>(0,t.jsxs)(t.Fragment,{children:[d?.(e,r)??r,m]})}:{},[s,m,l,d]);return{creatorButtonDom:m,buttonRenderProps:u}}({recordCreatorProps:x,maxLength:v,value:D,intl:r,isTop:"top"===Z,columnsLength:B.columns?.length,tableViewRender:e.tableViewRender}),J=(0,g.useRefFunction)((t,r)=>{e.editable?.onValuesChange?.(t,r),e.onValuesChange?.(r,t),e.controlled&&e?.onChange&&e.onChange(r)}),U=(0,c.useMemo)(()=>{let t={...e.editable};return(e?.onValuesChange||e.editable?.onValuesChange||e.controlled&&e?.onChange)&&(t.onValuesChange=J),t},[e.editable,e.onValuesChange,e.controlled,e.onChange,J]);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(k.Provider,{value:S,children:(0,t.jsx)(E.default,{search:!1,options:!1,pagination:!1,rowKey:M,revalidateOnFocus:!1,...B,...G,tableLayout:"fixed",actionRef:S,onChange:d,editable:{...U,formProps:{formRef:P,...U.formProps}},dataSource:D,onDataSourceChange:t=>{T(t),e.name&&P.current&&z(t,I(e.editable?.editableKeys),[e.name].flat(1).filter(Boolean)),!e.controlled&&e.onChange&&e.onChange(t)}})}),e.name?(0,t.jsx)(m.ProFormDependency,{name:[e.name],children:t=>{if(!L.current)return L.current=D,null;let r=[e.name].flat(1),n=(0,a.get)(t,r);if(!n||!Array.isArray(n))return L.current=D,null;let o=n.findIndex((e,t)=>!(0,p.isDeepEqualReact)(e,L.current?.[t]));if(-1!==o){let t=n[o];e?.editable?.onValuesChange?.(t,n)}return L.current=n,null}}):null]})}function b(e){let r=d.default.useFormInstance();return e.name?(0,t.jsx)(s.Form.Item,{style:{maxWidth:"100%"},shouldUpdate:(t,r)=>{let n=[e.name].flat(1);try{return JSON.stringify((0,a.get)(t,n))!==JSON.stringify((0,a.get)(r,n))}catch(e){return!0}},...e?.formItemProps,name:e.name,children:(0,t.jsx)(v,{tableLayout:"fixed",scroll:{x:"max-content"},...e,editable:{...e.editable,form:r}})}):(0,t.jsx)(v,{tableLayout:"fixed",scroll:{x:"max-content"},...e})}b.RecordCreator=F;var x=e.i(292423),M=e.i(203112),C=e.i(188235),y=e.i(992625),j=e.i(739217),w=e.i(688008),$=e.i(725235),$=$,B=e.i(568061),L=$,S=e.i(819201),P=e.i(967595);let R="timeRange",D=c.default.forwardRef(({fieldProps:e,proFieldProps:r,...n},a)=>{let o=(0,c.useContext)(B.default);return(0,t.jsx)(u.ProConfigProvider,{valueTypeMap:{[R]:{render:(e,r)=>(0,t.jsx)(L.FieldTimeRangePicker,{...r,text:e}),formItemRender:(e,r)=>(0,t.jsx)(L.FieldTimeRangePicker,{...r,text:e})}},children:(0,t.jsx)(P.default,{ref:a,fieldProps:{getPopupContainer:o.getPopupContainer,...e},valueType:R,proFieldProps:r,fieldConfig:{valueType:R,customLightMode:!0,lightFilterLabelFormatter:e=>(0,S.dateArrayFormatter)(e,"HH:mm:ss")},...n})})}),N="time",A=({fieldProps:e,proFieldProps:r,...n})=>{let a=(0,c.useContext)(B.default);return(0,t.jsx)(u.ProConfigProvider,{valueTypeMap:{[N]:{render:(e,r)=>(0,t.jsx)($.default,{...r,text:e}),formItemRender:(e,r)=>(0,t.jsx)($.default,{...r,text:e})}},children:(0,t.jsx)(P.default,{fieldProps:{getPopupContainer:a.getPopupContainer,...e},valueType:N,proFieldProps:r,fieldConfig:{customLightMode:!0,valueType:N},...n})})};A.RangePicker=D;var T=e.i(946077),W=e.i(76820),I=e.i(92076),z=e.i(35384),H=e.i(245538);e.i(113297);var V=e.i(134124);async function O(e){return(0,V.request)("/api/advancedForm",{method:"POST",data:e})}let Y=(0,e.i(827830).createStyles)(({token:e})=>({card:{marginBottom:"24px",".ant-legacy-form-item .ant-legacy-form-item-control-wrapper":{width:"100%"}},errorIcon:{marginRight:"12px",color:e.colorError,cursor:"pointer","span.anticon":{marginRight:"4px"},float:"left",marginTop:"4px",paddingBottom:"22px"},errorPopover:{".ant-popover-inner-content":{minWidth:"256px",maxHeight:"290px",padding:"0",overflow:"auto"}},errorListItem:{padding:"8px 16px",listStyle:"none",borderBottom:`1px solid ${e.colorSplit}`,cursor:"pointer",transition:"all 0.3s","&:hover":{background:e.colorBgTextActive},"&:last-child":{border:"0"}},errorField:{marginTop:"2px",color:e.colorTextSecondary,fontSize:"12px"},editable:{td:{paddingTop:"13px",paddingBottom:"12.5px"}}})),q={name:"仓库名",url:"仓库域名",owner:"仓库管理员",approver:"审批人",dateRange:"生效日期",type:"仓库类型",name2:"任务名",url2:"任务描述",owner2:"执行人",approver2:"责任人",dateRange2:"生效日期",type2:"任务类型"},_=[{key:"1",workId:"00001",name:"John Brown",department:"New York No. 1 Lake Park"},{key:"2",workId:"00002",name:"Jim Green",department:"London No. 1 Lake Park"},{key:"3",workId:"00003",name:"Joe Black",department:"Sidney No. 1 Lake Park"}];var K=()=>{let{styles:e}=Y(),[n,a]=(0,c.useState)([]),o=async e=>{a([]);try{await O(e),I.message.success("提交成功")}catch{}},l=[{title:"成员姓名",dataIndex:"name",key:"name",width:"20%"},{title:"工号",dataIndex:"workId",key:"workId",width:"20%"},{title:"所属部门",dataIndex:"department",key:"department",width:"40%"},{title:"操作",key:"action",valueType:"option",render:(e,r,n,a)=>[(0,t.jsx)("a",{onClick:()=>{a?.startEditable(r.key)},children:"编辑"},"eidit")]}];return(0,t.jsx)(C.ProForm,{layout:"vertical",requiredMark:!1,submitter:{render:(a,o)=>(0,t.jsxs)(x.FooterToolbar,{children:[(n=>{let a=n.filter(e=>e.errors.length>0).length;if(!n||0===a)return null;let o=n.map(n=>{if(!n||0===n.errors.length)return null;let a=n.name[0];return(0,t.jsxs)("li",{className:e.errorListItem,onClick:()=>{let e;(e=document.querySelector(`label[for="${a}"]`))&&e.scrollIntoView(!0)},children:[(0,t.jsx)(r.CloseCircleOutlined,{className:e.errorIcon}),(0,t.jsx)("div",{children:n.errors[0]}),(0,t.jsx)("div",{className:e.errorField,children:q[a]})]},a)});return(0,t.jsxs)("span",{className:e.errorIcon,children:[(0,t.jsx)(z.Popover,{title:"表单校验信息",content:o,overlayClassName:e.errorPopover,trigger:"click",getPopupContainer:e=>e?.parentNode?e.parentNode:e,children:(0,t.jsx)(r.CloseCircleOutlined,{})}),a]})})(n),o]})},initialValues:{members:_},onFinish:o,onFinishFailed:e=>{a(e.errorFields)},children:(0,t.jsxs)(M.PageContainer,{content:"高级表单常见于一次性输入和提交大批量数据的场景。",children:[(0,t.jsxs)(T.Card,{title:"仓库管理",className:e.card,variant:"borderless",children:[(0,t.jsxs)(H.Row,{gutter:16,children:[(0,t.jsx)(W.Col,{lg:6,md:12,sm:24,children:(0,t.jsx)(w.ProFormText,{label:q.name,name:"name",rules:[{required:!0,message:"请输入仓库名称"}],placeholder:"请输入仓库名称"})}),(0,t.jsx)(W.Col,{xl:{span:6,offset:2},lg:{span:8},md:{span:12},sm:24,children:(0,t.jsx)(w.ProFormText,{label:q.url,name:"url",rules:[{required:!0,message:"请选择"}],fieldProps:{style:{width:"100%"},addonBefore:"http://",addonAfter:".com"},placeholder:"请输入"})}),(0,t.jsx)(W.Col,{xl:{span:8,offset:2},lg:{span:10},md:{span:24},sm:24,children:(0,t.jsx)(j.ProFormSelect,{label:q.owner,name:"owner",rules:[{required:!0,message:"请选择管理员"}],options:[{label:"付晓晓",value:"xiao"},{label:"周毛毛",value:"mao"}],placeholder:"请选择管理员"})})]}),(0,t.jsxs)(H.Row,{gutter:16,children:[(0,t.jsx)(W.Col,{lg:6,md:12,sm:24,children:(0,t.jsx)(j.ProFormSelect,{label:q.approver,name:"approver",rules:[{required:!0,message:"请选择审批员"}],options:[{label:"付晓晓",value:"xiao"},{label:"周毛毛",value:"mao"}],placeholder:"请选择审批员"})}),(0,t.jsx)(W.Col,{xl:{span:6,offset:2},lg:{span:8},md:{span:12},sm:24,children:(0,t.jsx)(y.ProFormDateRangePicker,{label:q.dateRange,name:"dateRange",fieldProps:{style:{width:"100%"}},rules:[{required:!0,message:"请选择生效日期"}]})}),(0,t.jsx)(W.Col,{xl:{span:8,offset:2},lg:{span:10},md:{span:24},sm:24,children:(0,t.jsx)(j.ProFormSelect,{label:q.type,name:"type",rules:[{required:!0,message:"请选择仓库类型"}],options:[{label:"私密",value:"private"},{label:"公开",value:"public"}],placeholder:"请选择仓库类型"})})]})]}),(0,t.jsxs)(T.Card,{title:"任务管理",className:e.card,variant:"borderless",children:[(0,t.jsxs)(H.Row,{gutter:16,children:[(0,t.jsx)(W.Col,{lg:6,md:12,sm:24,children:(0,t.jsx)(w.ProFormText,{label:q.name2,name:"name2",rules:[{required:!0,message:"请输入"}]})}),(0,t.jsx)(W.Col,{xl:{span:6,offset:2},lg:{span:8},md:{span:12},sm:24,children:(0,t.jsx)(w.ProFormText,{label:q.url2,name:"url2",rules:[{required:!0,message:"请选择"}]})}),(0,t.jsx)(W.Col,{xl:{span:8,offset:2},lg:{span:10},md:{span:24},sm:24,children:(0,t.jsx)(j.ProFormSelect,{label:q.owner2,name:"owner2",rules:[{required:!0,message:"请选择管理员"}],options:[{label:"付晓晓",value:"xiao"},{label:"周毛毛",value:"mao"}]})})]}),(0,t.jsxs)(H.Row,{gutter:16,children:[(0,t.jsx)(W.Col,{lg:6,md:12,sm:24,children:(0,t.jsx)(j.ProFormSelect,{label:q.approver2,name:"approver2",rules:[{required:!0,message:"请选择审批员"}],options:[{label:"付晓晓",value:"xiao"},{label:"周毛毛",value:"mao"}],placeholder:"请选择审批员"})}),(0,t.jsx)(W.Col,{xl:{span:6,offset:2},lg:{span:8},md:{span:12},sm:24,children:(0,t.jsx)(A,{label:q.dateRange2,name:"dateRange2",rules:[{required:!0,message:"请输入"}],placeholder:"提醒时间",fieldProps:{style:{width:"100%"}}})}),(0,t.jsx)(W.Col,{xl:{span:8,offset:2},lg:{span:10},md:{span:24},sm:24,children:(0,t.jsx)(j.ProFormSelect,{label:q.type2,name:"type2",rules:[{required:!0,message:"请选择仓库类型"}],options:[{label:"私密",value:"private"},{label:"公开",value:"public"}],placeholder:"请选择仓库类型"})})]})]}),(0,t.jsx)(T.Card,{title:"成员管理",variant:"borderless",children:(0,t.jsx)(C.ProForm.Item,{name:"members",children:(0,t.jsx)(b,{recordCreatorProps:{record:()=>({key:`0${Date.now()}`})},columns:l,rowKey:"key"})})})]})})};e.s(["default",()=>K],431230)},493365,e=>{"use strict";var t=e.i(191788),r=e.i(416193),n=e.i(117716);function a(){return(a=Object.assign.bind()).apply(this,arguments)}let o=t.forwardRef((e,o)=>t.createElement(n.default,a({},e,{ref:o,icon:r.default})));e.s(["CloseCircleOutlined",()=>o],493365)},667270,e=>{"use strict";var t=e.i(191788),r=e.i(202917),n=e.i(876352),a=e.i(716941),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M955.7 856l-416-720c-6.2-10.7-16.9-16-27.7-16s-21.6 5.3-27.7 16l-416 720C56 877.4 71.4 904 96 904h832c24.6 0 40-26.6 27.7-48zM480 416c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v184c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V416zm32 352a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"warning",theme:"filled"},l=e.i(117716);function i(){return(i=Object.assign.bind()).apply(this,arguments)}let s=t.forwardRef((e,r)=>t.createElement(l.default,i({},e,{ref:r,icon:o})));var c=e.i(624200),d=e.i(56206),m=e.i(430898),u=e.i(993175);e.i(290586);var p=e.i(774778),h=e.i(352050),f=e.i(104616),g=(0,h.genStyleHooks)("Result",e=>{let t,r=e.colorInfo,n=e.colorError,a=e.colorSuccess,o=e.colorWarning;return[(e=>{let{componentCls:t,lineHeightHeading3:r,iconCls:n,padding:a,paddingXL:o,paddingXS:l,paddingLG:i,marginXS:s,lineHeight:c}=e;return{[t]:{padding:`${(0,p.unit)(e.calc(i).mul(2).equal())} ${(0,p.unit)(o)}`,"&-rtl":{direction:"rtl"}},[`${t} ${t}-image`]:{width:e.imageWidth,height:e.imageHeight,margin:"auto"},[`${t} ${t}-icon`]:{marginBottom:i,textAlign:"center",[`& > ${n}`]:{fontSize:e.iconFontSize}},[`${t} ${t}-title`]:{color:e.colorTextHeading,fontSize:e.titleFontSize,lineHeight:r,marginBlock:s,textAlign:"center"},[`${t} ${t}-subtitle`]:{color:e.colorTextDescription,fontSize:e.subtitleFontSize,lineHeight:c,textAlign:"center"},[`${t} ${t}-body`]:{marginTop:i,padding:`${(0,p.unit)(i)} ${(0,p.unit)(e.calc(a).mul(2.5).equal())}`,backgroundColor:e.colorFillAlter},[`${t} ${t}-extra`]:{margin:e.extraMargin,textAlign:"center","& > *":{marginInlineEnd:l,"&:last-child":{marginInlineEnd:0}}}}})(t=(0,f.mergeToken)(e,{resultInfoIconColor:r,resultErrorIconColor:n,resultSuccessIconColor:a,resultWarningIconColor:o,imageWidth:250,imageHeight:295})),(e=>{let{componentCls:t,iconCls:r}=e;return{[`${t}-success ${t}-icon > ${r}`]:{color:e.resultSuccessIconColor},[`${t}-error ${t}-icon > ${r}`]:{color:e.resultErrorIconColor},[`${t}-info ${t}-icon > ${r}`]:{color:e.resultInfoIconColor},[`${t}-warning ${t}-icon > ${r}`]:{color:e.resultWarningIconColor}}})(t)]},e=>({titleFontSize:e.fontSizeHeading3,subtitleFontSize:e.fontSize,iconFontSize:3*e.fontSizeHeading3,extraMargin:`${e.paddingLG}px 0 0 0`}));let E={success:r.default,error:n.default,info:a.default,warning:s},k={404:()=>t.createElement("svg",{width:"252",height:"294"},t.createElement("title",null,"No Found"),t.createElement("g",{fill:"none",fillRule:"evenodd"},t.createElement("circle",{cx:"126.75",cy:"128.1",r:"126",fill:"#E4EBF7"}),t.createElement("circle",{cx:"31.55",cy:"130.8",r:"8.3",fill:"#FFF"}),t.createElement("path",{stroke:"#FFF",d:"m37 134.3 10.5 6m.9 6.2-12.7 10.8",strokeWidth:"2"}),t.createElement("path",{fill:"#FFF",d:"M39.9 159.4a5.7 5.7 0 1 1-11.3-1.2 5.7 5.7 0 0 1 11.3 1.2m17.7-16.2a5.7 5.7 0 1 1-11.4-1.1 5.7 5.7 0 0 1 11.4 1.1M99 27h29.8a4.6 4.6 0 1 0 0-9.2H99a4.6 4.6 0 1 0 0 9.2m11.4 18.3h29.8a4.6 4.6 0 0 0 0-9.2h-29.8a4.6 4.6 0 1 0 0 9.2"}),t.createElement("path",{fill:"#FFF",d:"M112.8 26.9h15.8a4.6 4.6 0 1 0 0 9.1h-15.8a4.6 4.6 0 0 0 0-9.1m71.7 108.8a10 10 0 1 1-19.8-2 10 10 0 0 1 19.8 2"}),t.createElement("path",{stroke:"#FFF",d:"m179.3 141.8 12.6 7.1m1.1 7.6-15.2 13",strokeWidth:"2"}),t.createElement("path",{fill:"#FFF",d:"M184.7 170a6.8 6.8 0 1 1-13.6-1.3 6.8 6.8 0 0 1 13.6 1.4m18.6-16.8a6.9 6.9 0 1 1-13.7-1.4 6.9 6.9 0 0 1 13.7 1.4"}),t.createElement("path",{stroke:"#FFF",d:"M152 192.3a2.2 2.2 0 1 1-4.5 0 2.2 2.2 0 0 1 4.4 0zm73.3-76.2a2.2 2.2 0 1 1-4.5 0 2.2 2.2 0 0 1 4.5 0zm-9 35a2.2 2.2 0 1 1-4.4 0 2.2 2.2 0 0 1 4.5 0zM177 107.6a2.2 2.2 0 1 1-4.4 0 2.2 2.2 0 0 1 4.4 0zm18.4-15.4a2.2 2.2 0 1 1-4.5 0 2.2 2.2 0 0 1 4.5 0zm6.8 88.5a2.2 2.2 0 1 1-4.5 0 2.2 2.2 0 0 1 4.5 0z",strokeWidth:"2"}),t.createElement("path",{stroke:"#FFF",d:"m214.4 153.3-2 20.2-10.8 6m-28-4.7-6.3 9.8H156l-4.5 6.5m23.5-66v-15.7m46 7.8-13 8-15.2-8V94.4",strokeWidth:"2"}),t.createElement("path",{fill:"#FFF",d:"M166.6 66h-4a4.8 4.8 0 0 1-4.7-4.8 4.8 4.8 0 0 1 4.7-4.7h4a4.8 4.8 0 0 1 4.7 4.7 4.8 4.8 0 0 1-4.7 4.7"}),t.createElement("circle",{cx:"204.3",cy:"30",r:"29.5",fill:"#1677ff"}),t.createElement("path",{fill:"#FFF",d:"M206 38.4c.5.5.7 1.1.7 2s-.2 1.4-.7 1.9a3 3 0 0 1-2 .7c-.8 0-1.5-.3-2-.8s-.8-1.1-.8-1.9.3-1.4.8-2c.5-.4 1.2-.7 2-.7.7 0 1.4.3 2 .8m4.2-19.5c1.5 1.3 2.2 3 2.2 5.2a7.2 7.2 0 0 1-1.5 4.5l-3 2.7a5 5 0 0 0-1.3 1.7 5.2 5.2 0 0 0-.6 2.4v.5h-4v-.5c0-1.4.1-2.5.6-3.5s1.9-2.5 4.2-4.5l.4-.5a4 4 0 0 0 1-2.6c0-1.2-.4-2-1-2.8-.7-.6-1.6-1-2.9-1-1.5 0-2.6.5-3.3 1.5-.4.5-.6 1-.8 1.9a2 2 0 0 1-2 1.6 2 2 0 0 1-2-2.4c.4-1.6 1-2.8 2.1-3.8a8.5 8.5 0 0 1 6.3-2.3c2.3 0 4.2.6 5.6 2"}),t.createElement("path",{fill:"#FFB594",d:"M52 76.1s21.8 5.4 27.3 16c5.6 10.7-6.3 9.2-15.7 5C52.8 92 39 85 52 76"}),t.createElement("path",{fill:"#FFC6A0",d:"m90.5 67.5-.5 2.9c-.7.5-4.7-2.7-4.7-2.7l-1.7.8-1.3-5.7s6.8-4.6 9-5c2.4-.5 9.8 1 10.6 2.3 0 0 1.3.4-2.2.6-3.6.3-5 .5-6.8 3.2l-2.4 3.6"}),t.createElement("path",{fill:"#FFF",d:"M128 111.4a36.7 36.7 0 0 0-8.9-15.5c-3.5-3-9.3-2.2-11.3-4.2-1.3-1.2-3.2-1.2-3.2-1.2L87.7 87c-2.3-.4-2.1-.7-6-1.4-1.6-1.9-3-1.1-3-1.1l-7-1.4c-1-1.5-2.5-1-2.5-1l-2.4-.9C65 91.2 59 95 59 95c1.8 1.1 15.7 8.3 15.7 8.3l5.1 37.1s-3.3 5.7 1.4 9.1c0 0 19.9-3.7 34.9-.3 0 0 3-2.6 1-8.8.5-3 1.4-8.3 1.7-11.6.4.7 2 1.9 3.1 3.4 0 0 9.4-7.3 11-14a17 17 0 0 1-2.2-2.4c-.5-.8-.3-2-.7-2.8-.7-1-1.8-1.3-2-1.6"}),t.createElement("path",{fill:"#CBD1D1",d:"M101 290s4.4 2 7.4 1c2.9-1 4.6.7 7.1 1.2 2.6.5 6.9 1.1 11.7-1.3 0-5.5-6.9-4-12-6.7-2.5-1.4-3.7-4.7-3.5-8.8h-9.5s-1.2 10.6-1 14.6"}),t.createElement("path",{fill:"#2B0849",d:"M101 289.8s2.5 1.3 6.8.7c3-.5 3.7.5 7.4 1 3.8.6 10.8 0 11.9-.9.4 1.1-.4 2-.4 2s-1.5.7-4.8.9c-2 .1-5.8.3-7.6-.5-1.8-1.4-5.2-1.9-5.7-.2-4 1-7.4-.3-7.4-.3l-.1-2.7z"}),t.createElement("path",{fill:"#A4AABA",d:"M108.3 276h3.1s0 6.7 4.6 8.6c-4.7.6-8.6-2.3-7.7-8.6"}),t.createElement("path",{fill:"#CBD1D1",d:"M57.5 272.4s-2 7.4-4.4 12.3c-1.8 3.7-4.3 7.5 5.4 7.5 6.7 0 9-.5 7.4-6.6-1.5-6.1.3-13.2.3-13.2h-8.7z"}),t.createElement("path",{fill:"#2B0849",d:"M51.5 289.8s2 1.2 6.6 1.2c6 0 8.3-1.7 8.3-1.7s.6 1.1-.7 2.2c-1 .8-3.6 1.6-7.4 1.5-4.1 0-5.8-.5-6.7-1.1-.8-.6-.7-1.6-.1-2.1"}),t.createElement("path",{fill:"#A4AABA",d:"M58.4 274.3s0 1.5-.3 3c-.3 1.4-1 3-1.1 4 0 1.2 4.5 1.7 5.1.1.6-1.5 1.3-6.4 2-7.2.6-.9-5-2.2-5.7.1"}),t.createElement("path",{fill:"#7BB2F9",d:"m99.7 278.5 13.3.1s1.3-54.5 1.9-64.4c.5-9.9 3.8-43.4 1-63.1l-12.6-.7-22.8.8-1.2 10c0 .5-.7.8-.7 1.4-.1.5.4 1.3.3 2-2.4 14-6.4 33-8.8 46.6 0 .7-1.2 1-1.4 2.7 0 .3.2 1.5 0 1.8-6.8 18.7-10.9 47.8-14.2 61.9h14.6s2.2-8.6 4-17c2.9-12.9 23.2-85 23.2-85l3-.5 1 46.3s-.2 1.2.4 2c.5.8-.6 1.1-.4 2.3l.4 1.8-1 11.8c-.4 4.8 0 39.2 0 39.2"}),t.createElement("path",{stroke:"#648BD8",d:"M76 221.6c1.2.1 4.1-2 7-5m23.4 8.5s2.7-1 6-3.8",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),t.createElement("path",{stroke:"#648BD8",d:"M107.3 222.1s2.7-1.1 6-3.9",strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{stroke:"#648BD8",d:"M74.7 224.8s2.7-.6 6.5-3.4m4.8-69.8c-.2 3.1.3 8.6-4.3 9.2m22-11s0 14-1.4 15.1a15 15 0 0 1-3 2m.5-16.5s0 13-1.2 24.4m-5 1.1s7.3-1.7 9.5-1.7M74.3 206a212 212 0 0 1-1 4.5s-1.4 1.9-1 3.8c.5 2-1 2-5 15.4A353 353 0 0 0 61 257l-.2 1.2m14.9-60.5a321 321 0 0 1-.9 4.8m7.8-50.4-1.2 10.5s-1.1.1-.5 2.2c.1 1.4-2.7 15.8-5.2 30.5m-19.6 79h13.3",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),t.createElement("path",{fill:"#192064",d:"M116.2 148.2s-17-3-35.9.2c.2 2.5 0 4.2 0 4.2s14.7-2.8 35.7-.3c.3-2.4.2-4 .2-4"}),t.createElement("path",{fill:"#FFF",d:"M106.3 151.2v-5a.8.8 0 0 0-.8-.8h-7.8a.8.8 0 0 0-.8.8v5a.8.8 0 0 0 .8.8h7.8a.8.8 0 0 0 .8-.8"}),t.createElement("path",{fill:"#192064",d:"M105.2 150.2v-3a.6.6 0 0 0-.6-.7 94.3 94.3 0 0 0-5.9 0 .7.7 0 0 0-.6.6v3.1a.6.6 0 0 0 .6.7 121.1 121.1 0 0 1 5.8 0c.4 0 .7-.3.7-.7"}),t.createElement("path",{stroke:"#648BD8",d:"M100.3 275.4h12.3m-11.2-4.9.1 6.5m0-12.5a915.8 915.8 0 0 0 0 4.4m-.5-94 .9 44.7s.7 1.6-.2 2.7c-1 1.1 2.4.7.9 2.2-1.6 1.6.9 1.2 0 3.4-.6 1.5-1 21.1-1.1 35.2",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),t.createElement("path",{fill:"#FFC6A0",d:"M46.9 83.4s-.5 6 7.2 5.6c11.2-.7 9.2-9.4 31.5-21.7-.7-2.7-2.4-4.7-2.4-4.7s-11 3-22.6 8c-6.8 3-13.4 6.4-13.7 12.8m57.6 7.7.9-5.4-8.9-11.4-5 5.3-1.8 7.9a.3.3 0 0 0 .1.3c1 .8 6.5 5 14.4 3.5a.3.3 0 0 0 .3-.2"}),t.createElement("path",{fill:"#FFC6A0",d:"M94 79.4s-4.6-2.9-2.5-6.9c1.6-3 4.5 1.2 4.5 1.2s.5-3.7 3.1-3.7c.6-1 1.6-4.1 1.6-4.1l13.5 3c0 5.3-2.3 19.5-7.8 20-8.9.6-12.5-9.5-12.5-9.5"}),t.createElement("path",{fill:"#520038",d:"M113.9 73.4c2.6-2 3.4-9.7 3.4-9.7s-2.4-.5-6.6-2c-4.7-2.1-12.8-4.8-17.5 1-9.6 3.2-2 19.8-2 19.8l2.7-3s-4-3.3-2-6.3c2-3.5 3.8 1 3.8 1s.7-2.3 3.6-3.3c.4-.7 1-2.6 1.4-3.8a1 1 0 0 1 1.3-.7l11.4 2.6c.5.2.8.7.8 1.2l-.3 3.2z"}),t.createElement("path",{fill:"#552950",d:"M105 76c-.1.7-.6 1.1-1 1-.6 0-.9-.6-.8-1.2.1-.6.6-1 1-1 .6 0 .9.7.8 1.3m7.1 1.6c0 .6-.5 1-1 1-.5-.1-.8-.7-.7-1.3 0-.6.5-1 1-1 .5.1.8.7.7 1.3"}),t.createElement("path",{stroke:"#DB836E",d:"m110.1 74.8-.9 1.7-.3 4.3h-2.2",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),t.createElement("path",{stroke:"#5C2552",d:"M110.8 74.5s1.8-.7 2.6.5",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),t.createElement("path",{stroke:"#DB836E",d:"M92.4 74.3s.5-1.1 1.1-.7c.6.4 1.3 1.4.6 2-.8.5.1 1.6.1 1.6",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),t.createElement("path",{stroke:"#5C2552",d:"M103.3 73s1.8 1 4.1.9",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),t.createElement("path",{stroke:"#DB836E",d:"M103.7 81.8s2.2 1.2 4.4 1.2m-3.5 1.3s1 .4 1.6.3m-11.5-3.4s2.3 7.4 10.4 7.6",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),t.createElement("path",{stroke:"#E4EBF7",d:"M81.5 89.4s.4 5.6-5 12.8M69 82.7s-.7 9.2-8.2 14.2m68.6 26s-5.3 7.4-9.4 10.7m-.7-26.3s.5 4.4-2.1 32",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),t.createElement("path",{fill:"#F2D7AD",d:"M150 151.2h-49.8a1 1 0 0 1-1-1v-31.7c0-.5.4-1 1-1H150c.6 0 1 .5 1 1v31.7a1 1 0 0 1-1 1"}),t.createElement("path",{fill:"#F4D19D",d:"M150.3 151.2h-19.9v-33.7h20.8v32.8a1 1 0 0 1-1 1"}),t.createElement("path",{fill:"#F2D7AD",d:"M123.6 127.9H92.9a.5.5 0 0 1-.4-.8l6.4-9.1c.2-.3.5-.5.8-.5h31.1l-7.2 10.4z"}),t.createElement("path",{fill:"#CC9B6E",d:"M123.7 128.4H99.2v-.5h24.2l7.2-10.2.4.3z"}),t.createElement("path",{fill:"#F4D19D",d:"M158.3 127.9h-18.7a2 2 0 0 1-1.6-.8l-7.2-9.6h20c.5 0 1 .3 1.2.6l6.7 9a.5.5 0 0 1-.4.8"}),t.createElement("path",{fill:"#CC9B6E",d:"M157.8 128.5h-19.3l-7.9-10.5.4-.3 7.7 10.3h19.1zm-27.2 22.2v-8.2h.4v8.2zm-.1-10.9v-21.4h.4l.1 21.4zm-18.6 1.1-.5-.1 1.5-5.2.5.2zm-3.5.2-2.6-3 2.6-3.4.4.3-2.4 3.1 2.4 2.6zm8.2 0-.4-.4 2.4-2.6-2.4-3 .4-.4 2.7 3.4z"}),t.createElement("path",{fill:"#FFC6A0",d:"m154.3 131.9-3.1-2v3.5l-1 .1a85 85 0 0 1-4.8.3c-1.9 0-2.7 2.2 2.2 2.6l-2.6-.6s-2.2 1.3.5 2.3c0 0-1.6 1.2.6 2.6-.6 3.5 5.2 4 7 3.6a6.1 6.1 0 0 0 4.6-5.2 8 8 0 0 0-3.4-7.2"}),t.createElement("path",{stroke:"#DB836E",d:"M153.7 133.6s-6.5.4-8.4.3c-1.8 0-1.9 2.2 2.4 2.3 3.7.2 5.4 0 5.4 0",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),t.createElement("path",{stroke:"#DB836E",d:"M145.2 135.9c-1.9 1.3.5 2.3.5 2.3s3.5 1 6.8.6m-.6 2.9s-6.3.1-6.7-2.1c-.3-1.4.4-1.4.4-1.4m.5 2.7s-1 3.1 5.5 3.5m-.4-14.5v3.5M52.8 89.3a18 18 0 0 0 13.6-7.8",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),t.createElement("path",{fill:"#5BA02E",d:"M168.6 248.3a6.6 6.6 0 0 1-6.7-6.6v-66.5a6.6 6.6 0 1 1 13.3 0v66.5a6.6 6.6 0 0 1-6.6 6.6"}),t.createElement("path",{fill:"#92C110",d:"M176.5 247.7a6.6 6.6 0 0 1-6.6-6.7v-33.2a6.6 6.6 0 1 1 13.3 0V241a6.6 6.6 0 0 1-6.7 6.7"}),t.createElement("path",{fill:"#F2D7AD",d:"M186.4 293.6H159a3.2 3.2 0 0 1-3.2-3.2v-46.1a3.2 3.2 0 0 1 3.2-3.2h27.5a3.2 3.2 0 0 1 3.2 3.2v46.1a3.2 3.2 0 0 1-3.2 3.2"}),t.createElement("path",{stroke:"#E4EBF7",d:"M89 89.5s7.8 5.4 16.6 2.8",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}))),500:()=>t.createElement("svg",{width:"254",height:"294"},t.createElement("title",null,"Server Error"),t.createElement("g",{fill:"none",fillRule:"evenodd"},t.createElement("path",{fill:"#E4EBF7",d:"M0 128.1v-2C0 56.5 56.3.2 125.7.2h2.1C197.2.3 253.5 56.6 253.5 126v2.1c0 69.5-56.3 125.7-125.7 125.7h-2.1A125.7 125.7 0 0 1 0 128.1"}),t.createElement("path",{fill:"#FFF",d:"M40 132.1a8.3 8.3 0 1 1-16.6-1.7 8.3 8.3 0 0 1 16.6 1.7"}),t.createElement("path",{stroke:"#FFF",d:"m37.2 135.6 10.5 6m1 6.3-12.8 10.8",strokeWidth:"2"}),t.createElement("path",{fill:"#FFF",d:"M40.1 160.8a5.7 5.7 0 1 1-11.3-1.1 5.7 5.7 0 0 1 11.3 1.1M58 144.6a5.7 5.7 0 1 1-11.4-1.2 5.7 5.7 0 0 1 11.4 1.2M99.7 27.4h30a4.6 4.6 0 1 0 0-9.2h-30a4.6 4.6 0 0 0 0 9.2M111 46h30a4.6 4.6 0 1 0 0-9.3h-30a4.6 4.6 0 1 0 0 9.3m2.5-18.6h16a4.6 4.6 0 1 0 0 9.3h-16a4.6 4.6 0 0 0 0-9.3m36.7 42.7h-4a4.8 4.8 0 0 1-4.8-4.8 4.8 4.8 0 0 1 4.8-4.8h4a4.8 4.8 0 0 1 4.7 4.8 4.8 4.8 0 0 1-4.7 4.8"}),t.createElement("circle",{cx:"201.35",cy:"30.2",r:"29.7",fill:"#FF603B"}),t.createElement("path",{fill:"#FFF",d:"m203.6 19.4-.7 15a1.5 1.5 0 0 1-3 0l-.7-15a2.2 2.2 0 1 1 4.4 0m-.3 19.4c.5.5.8 1.1.8 1.9s-.3 1.4-.8 1.9a3 3 0 0 1-2 .7 2.5 2.5 0 0 1-1.8-.7c-.6-.6-.8-1.2-.8-2 0-.7.2-1.3.8-1.8.5-.5 1.1-.7 1.8-.7.8 0 1.5.2 2 .7"}),t.createElement("path",{fill:"#FFB594",d:"M119.3 133.3c4.4-.6 3.6-1.2 4-4.8.8-5.2-3-17-8.2-25.1-1-10.7-12.6-11.3-12.6-11.3s4.3 5 4.2 16.2c1.4 5.3.8 14.5.8 14.5s5.3 11.4 11.8 10.5"}),t.createElement("path",{fill:"#FFF",d:"M101 91.6s1.4-.6 3.2.6c8 1.4 10.3 6.7 11.3 11.4 1.8 1.2 1.8 2.3 1.8 3.5l1.5 3s-7.2 1.7-11 6.7c-1.3-6.4-6.9-25.2-6.9-25.2"}),t.createElement("path",{fill:"#FFB594",d:"m94 90.5 1-5.8-9.2-11.9-5.2 5.6-2.6 9.9s8.4 5 16 2.2"}),t.createElement("path",{fill:"#FFC6A0",d:"M83 78.2s-4.6-2.9-2.5-6.9c1.6-3 4.5 1.2 4.5 1.2s.5-3.7 3.2-3.7c.5-1 1.5-4.2 1.5-4.2l13.6 3.2c0 5.2-2.3 19.5-7.9 20-8.9.6-12.5-9.6-12.5-9.6"}),t.createElement("path",{fill:"#520038",d:"M103 72.2c2.6-2 3.5-9.7 3.5-9.7s-2.5-.5-6.7-2c-4.7-2.2-12.9-4.9-17.6.9-9.5 4.4-2 20-2 20l2.7-3.1s-4-3.3-2.1-6.3c2.2-3.5 4 1 4 1s.6-2.3 3.5-3.3c.4-.7 1-2.7 1.5-3.8A1 1 0 0 1 91 65l11.5 2.7c.5.1.8.6.8 1.2l-.3 3.2z"}),t.createElement("path",{fill:"#552950",d:"M101.2 76.5c0 .6-.6 1-1 1-.5-.1-.9-.7-.8-1.3.1-.6.6-1 1.1-1 .5.1.8.7.7 1.3m-7-1.4c0 .6-.5 1-1 1-.5-.1-.8-.7-.7-1.3 0-.6.6-1 1-1 .5.1.9.7.8 1.3"}),t.createElement("path",{stroke:"#DB836E",d:"m99.2 73.6-.9 1.7-.3 4.3h-2.2",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),t.createElement("path",{stroke:"#5C2552",d:"M100 73.3s1.7-.7 2.4.5",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),t.createElement("path",{stroke:"#DB836E",d:"M81.4 73s.4-1 1-.6c.7.4 1.4 1.4.6 2s.2 1.6.2 1.6",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),t.createElement("path",{stroke:"#5C2552",d:"M92.3 71.7s1.9 1.1 4.2 1",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),t.createElement("path",{stroke:"#DB836E",d:"M92.7 80.6s2.3 1.2 4.4 1.2m-3.4 1.4s1 .4 1.5.3M83.7 80s1.8 6.6 9.2 8",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),t.createElement("path",{stroke:"#E4EBF7",d:"M95.5 91.7s-1 2.8-8.2 2c-7.3-.6-10.3-5-10.3-5",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),t.createElement("path",{fill:"#FFF",d:"M78.1 87.5s6.6 5 16.5 2.5c0 0 9.6 1 11.5 5.3 5.4 11.8.6 36.8 0 40 3.5 4-.4 8.4-.4 8.4-15.7-3.5-35.8-.6-35.8-.6-4.9-3.5-1.3-9-1.3-9l-6.2-23.8c-2.5-15.2.8-19.8 3.5-20.7 3-1 8-1.3 8-1.3.6 0 1.1 0 1.4-.2 2.4-1.3 2.8-.6 2.8-.6"}),t.createElement("path",{fill:"#FFC6A0",d:"M65.8 89.8s-6.8.5-7.6 8.2c-.4 8.8 3 11 3 11s6.1 22 16.9 22.9c8.4-2.2 4.7-6.7 4.6-11.4-.2-11.3-7-17-7-17s-4.3-13.7-9.9-13.7"}),t.createElement("path",{fill:"#FFC6A0",d:"M71.7 124.2s.9 11.3 9.8 6.5c4.8-2.5 7.6-13.8 9.8-22.6A201 201 0 0 0 94 96l-5-1.7s-2.4 5.6-7.7 12.3c-4.4 5.5-9.2 11.1-9.5 17.7"}),t.createElement("path",{stroke:"#E4EBF7",d:"M108.5 105.2s1.7 2.7-2.4 30.5c2.4 2.2 1 6-.2 7.5",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),t.createElement("path",{fill:"#FFC6A0",d:"M123.3 131.5s-.5 2.8-11.8 2c-15.2-1-25.3-3.2-25.3-3.2l.9-5.8s.7.2 9.7-.1c11.9-.4 18.7-6 25-1 4 3.2 1.5 8.1 1.5 8.1"}),t.createElement("path",{fill:"#FFF",d:"M70.2 91s-5.6-4.8-11 2.7c-3.3 7.2.5 15.2 2.6 19.5-.3 3.8 2.4 4.3 2.4 4.3s0 1 1.5 2.7c4-7 6.7-9.1 13.7-12.5-.3-.7-1.9-3.3-1.8-3.8.2-1.7-1.3-2.6-1.3-2.6s-.3-.2-1.2-2.8c-.8-2.3-2-5.1-4.9-7.5"}),t.createElement("path",{fill:"#CBD1D1",d:"M90.2 288s4.9 2.3 8.3 1.2c3.2-1 5.2.7 8 1.3a20 20 0 0 0 13.3-1.4c-.2-6.2-7.8-4.5-13.6-7.6-2.9-1.6-4.2-5.3-4-10H91.5s-1.5 12-1.3 16.5"}),t.createElement("path",{fill:"#2B0849",d:"M90.2 287.8s2.8 1.5 7.6.8c3.5-.5 3.3.6 7.5 1.3 4.2.6 13-.2 14.3-1.2.5 1.3-.4 2.4-.4 2.4s-1.7.6-5.4.9c-2.3.1-8.1.3-10.2-.6-2-1.6-4.9-1.5-6-.3-4.5 1.1-7.2-.3-7.2-.3l-.2-3z"}),t.createElement("path",{fill:"#A4AABA",d:"M98.4 272.3h3.5s0 7.5 5.2 9.6c-5.3.7-9.7-2.6-8.7-9.6"}),t.createElement("path",{fill:"#CBD1D1",d:"M44.4 272s-2.2 7.8-4.7 13c-1.9 3.8-4.4 7.8 5.8 7.8 7 0 9.3-.5 7.7-7-1.6-6.3.3-13.8.3-13.8h-9z"}),t.createElement("path",{fill:"#2B0849",d:"M38 290.3s2.3 1.2 7 1.2c6.4 0 8.7-1.7 8.7-1.7s.6 1.1-.7 2.2c-1 1-3.8 1.7-7.7 1.7-4.4 0-6.1-.6-7-1.3-1-.5-.8-1.6-.2-2.1"}),t.createElement("path",{fill:"#A4AABA",d:"M45.3 274s0 1.6-.3 3.1-1.1 3.3-1.2 4.4c0 1.2 4.8 1.6 5.4 0 .7-1.6 1.4-6.8 2-7.6.7-.9-5.1-2.2-5.9.1"}),t.createElement("path",{fill:"#7BB2F9",d:"M89.5 277.6h13.9s1.3-56.6 1.9-66.8c.6-10.3 4-45.1 1-65.6l-13-.7-23.7.8-1.3 10.4c0 .5-.7.9-.8 1.4 0 .6.5 1.4.4 2L59.6 206c-.1.7-1.3 1-1.5 2.8 0 .3.2 1.6.1 1.8-7.1 19.5-12.2 52.6-15.6 67.2h15.1L62 259c3-13.3 24-88.3 24-88.3l3.2-1-.2 48.6s-.2 1.3.4 2.1c.5.8-.6 1.2-.4 2.4l.4 1.8-1 12.4c-.4 4.9 1.2 40.7 1.2 40.7"}),t.createElement("path",{stroke:"#648BD8",d:"M64.6 218.9c1.2 0 4.2-2.1 7.2-5.1m24.2 8.7s3-1.1 6.4-4",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),t.createElement("path",{stroke:"#648BD8",d:"M97 219.4s2.9-1.2 6.3-4",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1"}),t.createElement("path",{stroke:"#648BD8",d:"M63.2 222.1s2.7-.6 6.7-3.5m5-72.4c-.3 3.2.3 8.8-4.5 9.4m22.8-11.3s.1 14.6-1.4 15.7c-2.3 1.7-3 2-3 2m.4-17s.3 13-1 25m-4.7.7s6.8-1 9.1-1M46 270l-.9 4.6m1.8-11.3-.8 4.1m16.6-64.9c-.3 1.6 0 2-.4 3.4 0 0-2.8 2-2.3 4s-.3 3.4-4.5 17.2c-1.8 5.8-4.3 19-6.2 28.3l-1.1 5.8m16-67-1 4.9m8.1-52.3-1.2 10.9s-1.2.1-.5 2.3c0 1.4-2.8 16.4-5.4 31.6m-20 82.1h13.9",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),t.createElement("path",{fill:"#192064",d:"M106.2 142.1c-3-.5-18.8-2.7-36.2.2a.6.6 0 0 0-.6.7v3a.6.6 0 0 0 .8.6c3.3-.5 17-2.4 35.6-.3.4 0 .7-.2.7-.5.2-1.4.2-2.5.2-3a.6.6 0 0 0-.5-.7"}),t.createElement("path",{fill:"#FFF",d:"M96.4 145.3v-5.1a.8.8 0 0 0-.8-.9 114.1 114.1 0 0 0-8.1 0 .8.8 0 0 0-.9.8v5.1c0 .5.4.9.9.9h8a.8.8 0 0 0 .9-.8"}),t.createElement("path",{fill:"#192064",d:"M95.2 144.3v-3.2a.7.7 0 0 0-.6-.7h-6.1a.7.7 0 0 0-.6.7v3.2c0 .4.3.7.6.7h6c.4 0 .7-.3.7-.7"}),t.createElement("path",{stroke:"#648BD8",d:"M90.1 273.5h12.8m-11.7-3.7v6.3m-.3-12.6v4.5m-.5-97.6 1 46.4s.7 1.6-.3 2.8c-.9 1.1 2.6.7 1 2.3-1.7 1.6.9 1.2 0 3.5-.6 1.6-1 22-1.2 36.5",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),t.createElement("path",{stroke:"#E4EBF7",d:"M73.7 98.7 76 103s2 .8 1.8 2.7l.8 2.2m-14.3 8.7c.2-1 2.2-7.1 12.6-10.5m.7-16s7.7 6 16.5 2.7",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),t.createElement("path",{fill:"#FFC6A0",d:"M92 87s5.5-.9 7.5-4.6c1.3-.3.8 2.2-.3 3.7l-1 1.5s.2.3.2.9c0 .6-.2.6-.3 1v1l-.4 1c-.1.2 0 .6-.2.9-.2.4-1.6 1.8-2.6 2.8-3.8 3.6-5 1.7-6-.4-1-1.8-.7-5.1-.9-6.9-.3-2.9-2.6-3-2-4.4.4-.7 3 .7 3.4 1.8.7 2 2.9 1.8 2.6 1.7"}),t.createElement("path",{stroke:"#DB836E",d:"M99.8 82.4c-.5.1-.3.3-1 1.3-.6 1-4.8 2.9-6.4 3.2-2.5.5-2.2-1.6-4.2-2.9-1.7-1-3.6-.6-1.4 1.4 1 1 1 1.1 1.4 3.2.3 1.5-.7 3.7.7 5.6",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:".8"}),t.createElement("path",{stroke:"#E59788",d:"M79.5 108.7c-2 2.9-4.2 6.1-5.5 8.7",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:".8"}),t.createElement("path",{fill:"#FFC6A0",d:"M87.7 124.8s-2-2-5.1-2.8c-3-.7-3.6-.1-5.5.1-2 .3-4-.9-3.7.7.3 1.7 5 1 5.2 2.1.2 1.1-6.3 2.8-8.3 2.2-.8.8.5 1.9 2 2.2.3 1.5 2.3 1.5 2.3 1.5s.7 1 2.6 1.1c2.5 1.3 9-.7 11-1.5 2-.9-.5-5.6-.5-5.6"}),t.createElement("path",{stroke:"#E59788",d:"M73.4 122.8s.7 1.2 3.2 1.4c2.3.3 2.6.6 2.6.6s-2.6 3-9.1 2.3m2.3 2.2s3.8 0 5-.7m-2.4 2.2s2 0 3.3-.6m-1 1.7s1.7 0 2.8-.5m-6.8-9s-.6-1.1 1.3-.5c1.7.5 2.8 0 5.1.1 1.4.1 3-.2 4 .2 1.6.8 3.6 2.2 3.6 2.2s10.6 1.2 19-1.1M79 108s-8.4 2.8-13.2 12.1",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:".8"}),t.createElement("path",{stroke:"#E4EBF7",d:"M109.3 112.5s3.4-3.6 7.6-4.6",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),t.createElement("path",{stroke:"#E59788",d:"M107.4 123s9.7-2.7 11.4-.9",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:".8"}),t.createElement("path",{stroke:"#BFCDDD",d:"m194.6 83.7 4-4M187.2 91l3.7-3.6m.9-3-4.5-4.7m11.2 11.5-4.2-4.3m-65 76.3 3.7-3.7M122.3 170l3.5-3.5m.8-2.9-4.3-4.2M133 170l-4-4",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}),t.createElement("path",{fill:"#A3B4C6",d:"M190.2 211.8h-1.6a4 4 0 0 1-4-4v-32.1a4 4 0 0 1 4-4h1.6a4 4 0 0 1 4 4v32a4 4 0 0 1-4 4"}),t.createElement("path",{fill:"#A3B4C6",d:"M237.8 213a4.8 4.8 0 0 1-4.8 4.8h-86.6a4.8 4.8 0 0 1 0-9.6H233a4.8 4.8 0 0 1 4.8 4.8"}),t.createElement("path",{fill:"#A3B4C6",d:"M154.1 190.1h70.5v-84.6h-70.5z"}),t.createElement("path",{fill:"#BFCDDD",d:"M225 190.1h-71.2a3.2 3.2 0 0 1-3.2-3.2v-19a3.2 3.2 0 0 1 3.2-3.2h71.1a3.2 3.2 0 0 1 3.2 3.2v19a3.2 3.2 0 0 1-3.2 3.2m0-59.3h-71.1a3.2 3.2 0 0 1-3.2-3.2v-19a3.2 3.2 0 0 1 3.2-3.2h71.1a3.2 3.2 0 0 1 3.2 3.3v19a3.2 3.2 0 0 1-3.2 3.1"}),t.createElement("path",{fill:"#FFF",d:"M159.6 120.5a2.4 2.4 0 1 1 0-4.8 2.4 2.4 0 0 1 0 4.8m7.4 0a2.4 2.4 0 1 1 0-4.8 2.4 2.4 0 0 1 0 4.8m7.4 0a2.4 2.4 0 1 1 0-4.8 2.4 2.4 0 0 1 0 4.8m48.1 0h-22.4a.8.8 0 0 1-.8-.8v-3.2c0-.4.3-.8.8-.8h22.4c.5 0 .8.4.8.8v3.2c0 .5-.3.8-.8.8"}),t.createElement("path",{fill:"#BFCDDD",d:"M225 160.5h-71.2a3.2 3.2 0 0 1-3.2-3.2v-19a3.2 3.2 0 0 1 3.2-3.2h71.1a3.2 3.2 0 0 1 3.2 3.2v19a3.2 3.2 0 0 1-3.2 3.2"}),t.createElement("path",{stroke:"#7C90A5",d:"M173.5 130.8h49.3m-57.8 0h6m-15 0h6.7m11.1 29.8h49.3m-57.7 0h6m-15.8 0h6.7",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),t.createElement("path",{fill:"#FFF",d:"M159.6 151a2.4 2.4 0 1 1 0-4.8 2.4 2.4 0 0 1 0 4.8m7.4 0a2.4 2.4 0 1 1 0-4.8 2.4 2.4 0 0 1 0 4.8m7.4 0a2.4 2.4 0 1 1 0-4.8 2.4 2.4 0 0 1 0 4.8m48.1 0h-22.4a.8.8 0 0 1-.8-.8V147c0-.4.3-.8.8-.8h22.4c.5 0 .8.4.8.8v3.2c0 .5-.3.8-.8.8m-63 29a2.4 2.4 0 1 1 0-4.8 2.4 2.4 0 0 1 0 4.8m7.5 0a2.4 2.4 0 1 1 0-4.8 2.4 2.4 0 0 1 0 4.8m7.4 0a2.4 2.4 0 1 1 0-4.8 2.4 2.4 0 0 1 0 4.8m48.1 0h-22.4a.8.8 0 0 1-.8-.8V176c0-.5.3-.8.8-.8h22.4c.5 0 .8.3.8.8v3.2c0 .4-.3.8-.8.8"}),t.createElement("path",{fill:"#BFCDDD",d:"M203 221.1h-27.3a2.4 2.4 0 0 1-2.4-2.4v-11.4a2.4 2.4 0 0 1 2.4-2.5H203a2.4 2.4 0 0 1 2.4 2.5v11.4a2.4 2.4 0 0 1-2.4 2.4"}),t.createElement("path",{stroke:"#A3B4C6",d:"M177.3 207.2v11.5m23.8-11.5v11.5",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),t.createElement("path",{fill:"#5BA02E",d:"M162.9 267.9a9.4 9.4 0 0 1-9.4-9.4v-14.8a9.4 9.4 0 0 1 18.8 0v14.8a9.4 9.4 0 0 1-9.4 9.4"}),t.createElement("path",{fill:"#92C110",d:"M171.2 267.8a9.4 9.4 0 0 1-9.4-9.4V255a9.4 9.4 0 0 1 18.8 0v3.4a9.4 9.4 0 0 1-9.4 9.4"}),t.createElement("path",{fill:"#F2D7AD",d:"M181.3 293.7h-27.7a3.2 3.2 0 0 1-3.2-3.2v-20.7a3.2 3.2 0 0 1 3.2-3.2h27.7a3.2 3.2 0 0 1 3.2 3.2v20.7a3.2 3.2 0 0 1-3.2 3.2"}))),403:()=>t.createElement("svg",{width:"251",height:"294"},t.createElement("title",null,"Unauthorized"),t.createElement("g",{fill:"none",fillRule:"evenodd"},t.createElement("path",{fill:"#E4EBF7",d:"M0 129v-2C0 58.3 55.6 2.7 124.2 2.7h2c68.6 0 124.2 55.6 124.2 124.1v2.1c0 68.6-55.6 124.2-124.1 124.2h-2.1A124.2 124.2 0 0 1 0 129"}),t.createElement("path",{fill:"#FFF",d:"M41.4 133a8.2 8.2 0 1 1-16.4-1.7 8.2 8.2 0 0 1 16.4 1.6"}),t.createElement("path",{stroke:"#FFF",d:"m38.7 136.4 10.4 5.9m.9 6.2-12.6 10.7",strokeWidth:"2"}),t.createElement("path",{fill:"#FFF",d:"M41.5 161.3a5.6 5.6 0 1 1-11.2-1.2 5.6 5.6 0 0 1 11.2 1.2m17.7-16a5.7 5.7 0 1 1-11.3-1.2 5.7 5.7 0 0 1 11.3 1.2m41.2-115.8H130a4.6 4.6 0 1 0 0-9.1h-29.6a4.6 4.6 0 0 0 0 9.1m11.3 18.3h29.7a4.6 4.6 0 1 0 0-9.2h-29.7a4.6 4.6 0 1 0 0 9.2"}),t.createElement("path",{fill:"#FFF",d:"M114 29.5h15.8a4.6 4.6 0 1 0 0 9.1H114a4.6 4.6 0 0 0 0-9.1m71.3 108.2a10 10 0 1 1-19.8-2 10 10 0 0 1 19.8 2"}),t.createElement("path",{stroke:"#FFF",d:"m180.2 143.8 12.5 7.1m1.1 7.5-15.1 13",strokeWidth:"2"}),t.createElement("path",{fill:"#FFF",d:"M185.6 172a6.8 6.8 0 1 1-13.6-1.4 6.8 6.8 0 0 1 13.5 1.3m18.6-16.6a6.8 6.8 0 1 1-13.6-1.4 6.8 6.8 0 0 1 13.6 1.4"}),t.createElement("path",{stroke:"#FFF",d:"M153 194a2.2 2.2 0 1 1-4.4 0 2.2 2.2 0 0 1 4.4 0zm73-75.8a2.2 2.2 0 1 1-4.5 0 2.2 2.2 0 0 1 4.4 0zm-9 34.9a2.2 2.2 0 1 1-4.3 0 2.2 2.2 0 0 1 4.4 0zm-39.2-43.3a2.2 2.2 0 1 1-4.4 0 2.2 2.2 0 0 1 4.4 0zm18.3-15.3a2.2 2.2 0 1 1-4.4 0 2.2 2.2 0 0 1 4.4 0zm6.7 88a2.2 2.2 0 1 1-4.4 0 2.2 2.2 0 0 1 4.4 0z",strokeWidth:"2"}),t.createElement("path",{stroke:"#FFF",d:"m215.1 155.3-1.9 20-10.8 6m-27.8-4.7-6.3 9.8H157l-4.5 6.4m23.4-65.5v-15.7m45.6 7.8-12.8 7.9-15.2-7.9V96.7",strokeWidth:"2"}),t.createElement("path",{fill:"#A26EF4",d:"M180.7 29.3a29.3 29.3 0 1 1 58.6 0 29.3 29.3 0 0 1-58.6 0"}),t.createElement("path",{fill:"#FFF",d:"m221.4 41.7-21.5-.1a1.7 1.7 0 0 1-1.7-1.8V27.6a1.7 1.7 0 0 1 1.8-1.7h21.5c1 0 1.8.9 1.8 1.8l-.1 12.3a1.7 1.7 0 0 1-1.7 1.7"}),t.createElement("path",{fill:"#FFF",d:"M215.1 29.2c0 2.6-2 4.6-4.5 4.6a4.6 4.6 0 0 1-4.5-4.7v-6.9c0-2.6 2-4.6 4.6-4.6 2.5 0 4.5 2 4.4 4.7v6.9zm-4.5-14a6.9 6.9 0 0 0-7 6.8v7.3a6.9 6.9 0 0 0 13.8.1V22a6.9 6.9 0 0 0-6.8-6.9zm-43 53.2h-4a4.7 4.7 0 0 1-4.7-4.8 4.7 4.7 0 0 1 4.7-4.7h4a4.7 4.7 0 0 1 4.7 4.8 4.7 4.7 0 0 1-4.7 4.7"}),t.createElement("path",{fill:"#5BA02E",d:"M168.2 248.8a6.6 6.6 0 0 1-6.6-6.6v-66a6.6 6.6 0 0 1 13.2 0v66a6.6 6.6 0 0 1-6.6 6.6"}),t.createElement("path",{fill:"#92C110",d:"M176.1 248.2a6.6 6.6 0 0 1-6.6-6.6v-33a6.6 6.6 0 1 1 13.3 0v33a6.6 6.6 0 0 1-6.7 6.6"}),t.createElement("path",{fill:"#F2D7AD",d:"M186 293.9h-27.4a3.2 3.2 0 0 1-3.2-3.2v-45.9a3.2 3.2 0 0 1 3.2-3.1H186a3.2 3.2 0 0 1 3.2 3.1v46a3.2 3.2 0 0 1-3.2 3"}),t.createElement("path",{fill:"#FFF",d:"M82 147.7s6.3-1 17.5-1.3c11.8-.4 17.6 1 17.6 1s3.7-3.8 1-8.3c1.3-12.1 6-32.9.3-48.3-1.1-1.4-3.7-1.5-7.5-.6-1.4.3-7.2-.2-8-.1l-15.3-.4-8-.5c-1.6-.1-4.3-1.7-5.5-.3-.4.4-2.4 5.6-2 16l8.7 35.7s-3.2 3.6 1.2 7"}),t.createElement("path",{fill:"#FFC6A0",d:"m75.8 73.3-1-6.4 12-6.5s7.4-.1 8 1.2c.8 1.3-5.5 1-5.5 1s-1.9 1.4-2.6 2.5c-1.7 2.4-1 6.5-8.4 6-1.7.3-2.5 2.2-2.5 2.2"}),t.createElement("path",{fill:"#FFB594",d:"M52.4 77.7S66.7 87 77.4 92c1 .5-2 16.2-11.9 11.8-7.4-3.3-20.1-8.4-21.5-14.5-.7-3.2 2.6-7.6 8.4-11.7M142 80s-6.7 3-13.9 6.9c-3.9 2.1-10.1 4.7-12.3 8-6.2 9.3 3.5 11.2 13 7.5 6.6-2.7 29-12.1 13.2-22.4"}),t.createElement("path",{fill:"#FFC6A0",d:"m76.2 66.4 3 3.8S76.4 73 73 76c-7 6.2-12.8 14.3-16 16.4-4 2.7-9.7 3.3-12.2 0-3.5-5.1.5-14.7 31.5-26"}),t.createElement("path",{fill:"#FFF",d:"M64.7 85.1s-2.4 8.4-9 14.5c.7.5 18.6 10.5 22.2 10 5.2-.6 6.4-19 1.2-20.5-.8-.2-6-1.3-8.9-2.2-.9-.2-1.6-1.7-3.5-1l-2-.8zm63.7.7s5.3 2 7.3 13.8c-.6.2-17.6 12.3-21.8 7.8-6.6-7-.8-17.4 4.2-18.6 4.7-1.2 5-1.4 10.3-3"}),t.createElement("path",{stroke:"#E4EBF7",d:"M78.2 94.7s.9 7.4-5 13",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),t.createElement("path",{stroke:"#E4EBF7",d:"M87.4 94.7s3.1 2.6 10.3 2.6c7.1 0 9-3.5 9-3.5",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:".9"}),t.createElement("path",{fill:"#FFC6A0",d:"m117.2 68.6-6.8-6.1s-5.4-4.4-9.2-1c-3.9 3.5 4.4 2.2 5.6 4.2 1.2 2.1.9 1.2-2 .5-5.7-1.4-2.1.9 3 5.3 2 1.9 7 1 7 1l2.4-3.9z"}),t.createElement("path",{fill:"#FFB594",d:"m105.3 91.3-.3-11H89l-.5 10.5c0 .4.2.8.6 1 2 1.3 9.3 5 15.8.4.2-.2.4-.5.4-.9"}),t.createElement("path",{fill:"#5C2552",d:"M107.6 74.2c.8-1.1 1-9 1-11.9a1 1 0 0 0-1-1l-4.6-.4c-7.7-1-17 .6-18.3 6.3-5.4 5.9-.4 13.3-.4 13.3s2 3.5 4.3 6.8c.8 1 .4-3.8 3-6a47.9 47.9 0 0 1 16-7"}),t.createElement("path",{fill:"#FFC6A0",d:"M88.4 83.2s2.7 6.2 11.6 6.5c7.8.3 9-7 7.5-17.5l-1-5.5c-6-2.9-15.4.6-15.4.6s-.6 2-.2 5.5c-2.3 2-1.8 5.6-1.8 5.6s-1-2-2-2.3c-.9-.3-2 0-2.3 2-1 4.6 3.6 5.1 3.6 5.1"}),t.createElement("path",{stroke:"#DB836E",d:"m100.8 77.1 1.7-1-1-4.3.7-1.4",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),t.createElement("path",{fill:"#552950",d:"M105.5 74c0 .8-.4 1.4-1 1.4-.4 0-.8-.7-.8-1.4s.5-1.2 1-1.2.9.6.8 1.3m-8 .2c0 .8-.4 1.3-.9 1.3s-.9-.6-.9-1.3c0-.7.5-1.3 1-1.3s1 .6.9 1.3"}),t.createElement("path",{stroke:"#DB836E",d:"M91.1 86.8s5.3 5 12.7 2.3",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),t.createElement("path",{fill:"#DB836E",d:"M99.8 81.9s-3.6.2-1.5-2.8c1.6-1.5 5-.4 5-.4s1 3.9-3.5 3.2"}),t.createElement("path",{stroke:"#5C2552",d:"M102.9 70.6s2.5.8 3.4.7m-12.4.7s2.5-1.2 4.8-1.1",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"}),t.createElement("path",{stroke:"#DB836E",d:"M86.3 77.4s1 .9 1.5 2c-.4.6-1 1.2-.3 1.9m11.8 2.4s2 .2 2.5-.2",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),t.createElement("path",{stroke:"#E4EBF7",d:"m87.8 115.8 15.7-3m-3.3 3 10-2m-43.7-27s-1.6 8.8-6.7 14M128.3 88s3 4 4 11.7",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),t.createElement("path",{stroke:"#DB836E",d:"M64 84.8s-6 10-13.5 10",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:".8"}),t.createElement("path",{fill:"#FFC6A0",d:"m112.4 66-.2 5.2 12 9.2c4.5 3.6 8.9 7.5 11 8.7 4.8 2.8 8.9 3.3 11 1.8 4.1-2.9 4.4-9.9-8.1-15.3-4.3-1.8-16.1-6.3-25.7-9.7"}),t.createElement("path",{stroke:"#DB836E",d:"M130.5 85.5s4.6 5.7 11.7 6.2",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:".8"}),t.createElement("path",{stroke:"#E4EBF7",d:"M121.7 105.7s-.4 8.6-1.3 13.6",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),t.createElement("path",{stroke:"#648BD8",d:"M115.8 161.5s-3.6-1.5-2.7-7.1",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),t.createElement("path",{fill:"#CBD1D1",d:"M101.5 290.2s4.3 2.1 7.4 1c2.9-.9 4.6.7 7.2 1.3 2.5.5 6.9 1 11.7-1.3 0-5.6-7-4-12-6.8-2.6-1.4-3.8-4.7-3.6-8.8h-9.5s-1.4 10.6-1.2 14.6"}),t.createElement("path",{fill:"#2B0849",d:"M101.5 290s2.4 1.4 6.8.7c3-.4 3.7.5 7.5 1 3.7.6 10.8 0 11.9-.8.4 1-.4 2-.4 2s-1.5.7-4.8.9c-2 .1-5.8.3-7.7-.5-1.8-1.4-5.2-2-5.7-.3-4 1-7.4-.3-7.4-.3l-.2-2.6z"}),t.createElement("path",{fill:"#A4AABA",d:"M108.8 276.2h3.1s0 6.7 4.6 8.6c-4.7.6-8.6-2.3-7.7-8.6"}),t.createElement("path",{fill:"#CBD1D1",d:"M57.6 272.5s-2 7.5-4.5 12.4c-1.8 3.7-4.2 7.6 5.5 7.6 6.7 0 9-.5 7.5-6.7-1.5-6.1.3-13.3.3-13.3h-8.8z"}),t.createElement("path",{fill:"#2B0849",d:"M51.5 290s2.2 1.2 6.7 1.2c6.1 0 8.3-1.6 8.3-1.6s.6 1-.6 2.1c-1 .9-3.6 1.6-7.4 1.6-4.2 0-6-.6-6.8-1.2-.9-.5-.7-1.6-.2-2"}),t.createElement("path",{fill:"#A4AABA",d:"M58.5 274.4s0 1.6-.3 3-1 3.1-1.1 4.2c0 1.1 4.5 1.5 5.2 0 .6-1.6 1.3-6.5 1.9-7.3.6-.8-5-2.1-5.7.1"}),t.createElement("path",{fill:"#7BB2F9",d:"m100.9 277 13.3.1s1.3-54.2 1.8-64c.6-9.9 3.8-43.2 1-62.8l-12.4-.7-22.8.8-1.2 10c0 .4-.6.8-.7 1.3 0 .6.4 1.3.3 2-2.3 14-6.3 32.9-8.7 46.4-.1.6-1.2 1-1.4 2.6 0 .3.2 1.6 0 1.8-6.8 18.7-10.8 47.6-14.1 61.6h14.5s2.2-8.6 4-17a3984 3984 0 0 1 23-84.5l3-.5 1 46.1s-.2 1.2.4 2c.5.8-.6 1.1-.4 2.3l.4 1.7-1 11.9c-.4 4.6 0 39 0 39"}),t.createElement("path",{stroke:"#648BD8",d:"M77.4 220.4c1.2.1 4-2 7-4.9m23.1 8.4s2.8-1 6.1-3.8",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),t.createElement("path",{stroke:"#648BD8",d:"M108.5 221s2.7-1.2 6-4",strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{stroke:"#648BD8",d:"M76.1 223.6s2.6-.6 6.5-3.4m4.7-69.4c-.2 3.1.3 8.5-4.3 9m21.8-10.7s.1 14-1.3 15c-2.2 1.6-3 1.9-3 1.9m.5-16.4s0 12.8-1.2 24.3m-4.9 1s7.2-1.6 9.4-1.6m-28.6 31.5-1 4.5s-1.5 1.8-1 3.7c.4 2-1 2-5 15.3-1.7 5.6-4.4 18.5-6.3 27.5l-4 18.4M77 196.7a313.3 313.3 0 0 1-.8 4.8m7.7-50-1.2 10.3s-1 .2-.5 2.3c.1 1.3-2.6 15.6-5.1 30.2M57.6 273h13.2",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),t.createElement("path",{fill:"#192064",d:"M117.4 147.4s-17-3-35.7.2v4.2s14.6-2.9 35.5-.4l.2-4"}),t.createElement("path",{fill:"#FFF",d:"M107.5 150.4v-5a.8.8 0 0 0-.8-.7H99a.8.8 0 0 0-.7.8v4.8c0 .5.3.9.8.8a140.8 140.8 0 0 1 7.7 0 .8.8 0 0 0 .8-.7"}),t.createElement("path",{fill:"#192064",d:"M106.4 149.4v-3a.6.6 0 0 0-.6-.7 94.1 94.1 0 0 0-5.8 0 .6.6 0 0 0-.7.7v3c0 .4.3.7.7.7h5.7c.4 0 .7-.3.7-.7"}),t.createElement("path",{stroke:"#648BD8",d:"M101.5 274h12.3m-11.1-5v6.5m0-12.4v4.3m-.5-93.4.9 44.4s.7 1.6-.2 2.7c-1 1.1 2.4.7.9 2.2-1.6 1.6.9 1.1 0 3.4-.6 1.5-1 21-1.1 35",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"})))},F=Object.keys(k),v=({icon:e,status:r,className:n,style:a})=>{if(F.includes(`${r}`)){let e=k[r];return t.createElement("div",{className:n,style:a},t.createElement(e,null))}let o=t.createElement(E[r]);return null===e||!1===e?null:t.createElement("div",{className:n,style:a},e||o)},b=({className:e,extra:r,style:n})=>r?t.createElement("div",{className:e,style:n},r):null,x=e=>{let{prefixCls:r,className:n,rootClassName:a,subTitle:o,title:l,style:i,children:s,status:p="info",icon:h,extra:f,styles:E,classNames:k,...x}=e,{getPrefixCls:M,direction:C,className:y,style:j,classNames:w,styles:$}=(0,u.useComponentConfig)("result"),B={...e,status:p},[L,S]=(0,m.useMergeSemantic)([w,k],[$,E],{props:B}),P=M("result",r),[R,D]=g(P),N=(0,d.clsx)(P,`${P}-${p}`,n,y,a,{[`${P}-rtl`]:"rtl"===C},R,D,L.root),A=(0,d.clsx)(`${P}-title`,L.title),T=(0,d.clsx)(`${P}-subtitle`,L.subTitle),W=(0,d.clsx)(`${P}-extra`,L.extra),I=(0,d.clsx)(`${P}-body`,L.body),z=(0,d.clsx)(`${P}-icon`,{[`${P}-image`]:F.includes(`${p}`)},L.icon),H={...S.root,...j,...i},V=(0,c.default)(x,{aria:!0,data:!0});return t.createElement("div",{...V,className:N,style:H},t.createElement(v,{className:z,style:S.icon,status:p,icon:h}),t.createElement("div",{className:A,style:S.title},l),o&&t.createElement("div",{className:T,style:S.subTitle},o),t.createElement(b,{className:W,extra:f,style:S.extra}),s&&t.createElement("div",{className:I,style:S.body},s))};x.PRESENTED_IMAGE_403=k["403"],x.PRESENTED_IMAGE_404=k["404"],x.PRESENTED_IMAGE_500=k["500"],e.s(["Result",()=>x],667270)},688008,e=>{"use strict";e.i(957562);var t=e.i(191248),r=e.i(617796),n=e.i(882474),a=e.i(35384),o=e.i(191788),l=e.i(238570),l=l,i=e.i(440656),s=e.i(967595),c=e.i(391398);let d="text",m=e=>{let[t,l]=(0,r.useControlledState)(e.open||!1,e.open),i=(0,o.useCallback)(t=>{l(r=>{let n="function"==typeof t?t(r):t;return e.onOpenChange?.(n),n})},[e.onOpenChange]);return(0,c.jsx)(n.Form.Item,{shouldUpdate:!0,noStyle:!0,children:r=>{let n=r.getFieldValue(e.name||[]);return(0,c.jsx)(a.Popover,{getPopupContainer:e=>e&&e.parentNode?e.parentNode:e,onOpenChange:e=>i(e),content:(0,c.jsxs)("div",{style:{padding:"4px 0"},children:[e.statusRender?.(n),e.strengthText?(0,c.jsx)("div",{style:{marginTop:10},children:(0,c.jsx)("span",{children:e.strengthText})}):null]}),styles:{root:{width:240}},placement:"rightTop",...e.popoverProps,open:t,children:e.children})}})},u=({fieldProps:e,proFieldProps:t,...r})=>(0,c.jsx)(s.default,{valueType:d,fieldProps:e,fieldConfig:{valueType:d},proFieldProps:t,...r});u.Password=({fieldProps:e,proFieldProps:r,...n})=>{let[a,u]=(0,o.useState)(!1);return e?.statusRender&&n.name?(0,c.jsx)(i.ProConfigProvider,{valueTypeMap:{password:{render:(e,t)=>(0,c.jsx)(l.default,{...t,text:e}),formItemRender:(e,t)=>(0,c.jsx)(l.default,{...t,text:e})}},children:(0,c.jsx)(m,{name:n.name,statusRender:e?.statusRender,popoverProps:e?.popoverProps,strengthText:e?.strengthText,open:a,onOpenChange:u,children:(0,c.jsx)("div",{children:(0,c.jsx)(s.default,{valueType:"password",fieldProps:{...(0,t.omit)(e,["statusRender","popoverProps","strengthText"]),onBlur:t=>{e?.onBlur?.(t),u(!1)},onClick:t=>{e?.onClick?.(t),u(!0)}},proFieldProps:r,fieldConfig:{valueType:d},...n})})})}):(0,c.jsx)(i.ProConfigProvider,{valueTypeMap:{password:{render:(e,t)=>(0,c.jsx)(l.default,{...t,text:e}),formItemRender:(e,t)=>(0,c.jsx)(l.default,{...t,text:e})}},children:(0,c.jsx)(s.default,{valueType:"password",fieldProps:e,proFieldProps:r,fieldConfig:{valueType:d},...n})})},u.displayName="ProFormComponent",e.s(["ProFormText",()=>u],688008)},739217,e=>{"use strict";var t=e.i(191788),r=e.i(551233),r=r,n=e.i(440656),a=e.i(810711),o=e.i(568061),l=e.i(967595),i=e.i(391398);let s=t.default.forwardRef(({fieldProps:e,children:s,params:c,proFieldProps:d,mode:m,valueEnum:u,request:p,options:h,...f},g)=>{let E=e?.mode||m||"multiple",k={options:h,labelInValue:!0,showSearch:!0,suffixIcon:null,autoClearSearchValue:!0,optionLabelProp:"label",...e,mode:"single"===E?void 0:E},F=(0,t.useContext)(o.default);return(0,i.jsx)(n.ProConfigProvider,{valueTypeMap:{select:{render:(e,t)=>(0,i.jsx)(r.default,{...t,text:e}),formItemRender:(e,t)=>(0,i.jsx)(r.default,{...t,text:e})}},children:(0,i.jsx)(l.default,{valueEnum:(0,a.runFunction)(u),request:p,params:c,valueType:"select",fieldConfig:{customLightMode:!0},fieldProps:{getPopupContainer:F.getPopupContainer,...k},ref:g,proFieldProps:d,...f,children:s})})}),c=t.default.forwardRef(({fieldProps:e,children:s,params:c,proFieldProps:d,mode:m,valueEnum:u,request:p,showSearch:h,options:f,...g},E)=>{let k=(0,t.useContext)(o.default);return(0,i.jsx)(n.ProConfigProvider,{valueTypeMap:{select:{render:(e,t)=>(0,i.jsx)(r.default,{...t,text:e}),formItemRender:(e,t)=>(0,i.jsx)(r.default,{...t,text:e})}},children:(0,i.jsx)(l.default,{valueEnum:(0,a.runFunction)(u),request:p,params:c,valueType:"select",fieldConfig:{customLightMode:!0},fieldProps:{options:f,mode:m,showSearch:h,getPopupContainer:k.getPopupContainer,...e},ref:E,proFieldProps:d,...g,children:s})})});c.SearchSelect=s,c.displayName="ProFormComponent",e.s(["ProFormSelect",()=>c],739217)},749344,236107,e=>{"use strict";var t=e.i(191788);e.i(117327);var r=e.i(226150),r=r,n=e.i(938667);let a=e=>"object"==typeof e&&null!=e&&1===e.nodeType,o=(e,t)=>(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e,l=(e,t)=>{if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){let r,n=getComputedStyle(e,null);return o(n.overflowY,t)||o(n.overflowX,t)||!!(r=(e=>{if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch(e){return null}})(e))&&(r.clientHeight<e.scrollHeight||r.clientWidth<e.scrollWidth)}return!1},i=(e,t,r,n,a,o,l,i)=>o<e&&l>t||o>e&&l<t?0:o<=e&&i<=r||l>=t&&i>=r?o-e-n:l>t&&i<r||o<e&&i>r?l-t+a:0,s=e=>{let t=e.parentElement;return null==t?e.getRootNode().host||null:t},c=(e,t)=>{var r,n,o,c;let d;if("u"<typeof document)return[];let{scrollMode:m,block:u,inline:p,boundary:h,skipOverflowHiddenElements:f}=t,g="function"==typeof h?h:e=>e!==h;if(!a(e))throw TypeError("Invalid target");let E=document.scrollingElement||document.documentElement,k=[],F=e;for(;a(F)&&g(F);){if((F=s(F))===E){k.push(F);break}null!=F&&F===document.body&&l(F)&&!l(document.documentElement)||null!=F&&l(F,f)&&k.push(F)}let v=null!=(n=null==(r=window.visualViewport)?void 0:r.width)?n:innerWidth,b=null!=(c=null==(o=window.visualViewport)?void 0:o.height)?c:innerHeight,{scrollX:x,scrollY:M}=window,{height:C,width:y,top:j,right:w,bottom:$,left:B}=e.getBoundingClientRect(),{top:L,right:S,bottom:P,left:R}={top:parseFloat((d=window.getComputedStyle(e)).scrollMarginTop)||0,right:parseFloat(d.scrollMarginRight)||0,bottom:parseFloat(d.scrollMarginBottom)||0,left:parseFloat(d.scrollMarginLeft)||0},D="start"===u||"nearest"===u?j-L:"end"===u?$+P:j+C/2-L+P,N="center"===p?B+y/2-R+S:"end"===p?w+S:B-R,A=[];for(let e=0;e<k.length;e++){let t=k[e],{height:r,width:n,top:a,right:o,bottom:s,left:c}=t.getBoundingClientRect();if("if-needed"===m&&j>=0&&B>=0&&$<=b&&w<=v&&(t===E&&!l(t)||j>=a&&$<=s&&B>=c&&w<=o))break;let d=getComputedStyle(t),h=parseInt(d.borderLeftWidth,10),f=parseInt(d.borderTopWidth,10),g=parseInt(d.borderRightWidth,10),F=parseInt(d.borderBottomWidth,10),L=0,S=0,P="offsetWidth"in t?t.offsetWidth-t.clientWidth-h-g:0,R="offsetHeight"in t?t.offsetHeight-t.clientHeight-f-F:0,T="offsetWidth"in t?0===t.offsetWidth?0:n/t.offsetWidth:0,W="offsetHeight"in t?0===t.offsetHeight?0:r/t.offsetHeight:0;if(E===t)L="start"===u?D:"end"===u?D-b:"nearest"===u?i(M,M+b,b,f,F,M+D,M+D+C,C):D-b/2,S="start"===p?N:"center"===p?N-v/2:"end"===p?N-v:i(x,x+v,v,h,g,x+N,x+N+y,y),L=Math.max(0,L+M),S=Math.max(0,S+x);else{L="start"===u?D-a-f:"end"===u?D-s+F+R:"nearest"===u?i(a,s,r,f,F+R,D,D+C,C):D-(a+r/2)+R/2,S="start"===p?N-c-h:"center"===p?N-(c+n/2)+P/2:"end"===p?N-o+g+P:i(c,o,n,h,g+P,N,N+y,y);let{scrollLeft:e,scrollTop:l}=t;L=0===W?0:Math.max(0,Math.min(l+L/W,t.scrollHeight-r/W+R)),S=0===T?0:Math.max(0,Math.min(e+S/T,t.scrollWidth-n/T+P)),D+=l-L,N+=e-S}A.push({el:t,top:L,left:S})}return A},d=["parentNode"];function m(e){return void 0===e||!1===e?[]:Array.isArray(e)?e:[e]}function u(e,t){if(!e.length)return;let r=e.join("_");return t?`${t}_${r}`:d.includes(r)?`form_item_${r}`:r}function p(e){return m(e).join("_")}function h(e,t){let r=t.getFieldInstance(e),a=(0,n.getDOM)(r);if(a)return a;let o=u(m(e),t.__INTERNAL__.name);if(o)return document.getElementById(o)}e.s(["getFieldId",0,u,"getStatus",0,function(e,t,r,n,a,o){let l=n;return void 0!==o?l=o:r.validating?l="validating":e.length?l="error":t.length?l="warning":(r.touched||a&&r.validated)&&(l="success"),l},"toArray",0,m],236107),e.s(["default",0,function(e){let[n]=(0,r.default)(),a=t.useRef({}),o=t.useMemo(()=>e??{...n,__INTERNAL__:{itemRef:e=>t=>{let r=p(e);t?a.current[r]=t:delete a.current[r]}},scrollToField:(e,t={})=>{let{focus:r,...n}=t,a=h(e,o);a&&(!function(e,t){let r;if(!e.isConnected||!(e=>{let t=e;for(;t&&t.parentNode;){if(t.parentNode===document)return!0;t=t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}return!1})(e))return;let n={top:parseFloat((r=window.getComputedStyle(e)).scrollMarginTop)||0,right:parseFloat(r.scrollMarginRight)||0,bottom:parseFloat(r.scrollMarginBottom)||0,left:parseFloat(r.scrollMarginLeft)||0};if("object"==typeof t&&"function"==typeof t.behavior)return t.behavior(c(e,t));let a="boolean"==typeof t||null==t?void 0:t.behavior;for(let{el:r,top:o,left:l}of c(e,!1===t?{block:"end",inline:"nearest"}:t===Object(t)&&0!==Object.keys(t).length?t:{block:"start",inline:"nearest"})){let e=o-n.top+n.bottom,t=l-n.left+n.right;r.scroll({top:e,left:t,behavior:a})}}(a,{scrollMode:"if-needed",block:"nearest",...n}),r&&o.focusField(e))},focusField:e=>{let t=o.getFieldInstance(e);"function"==typeof t?.focus?t.focus():h(e,o)?.focus?.()},getFieldInstance:e=>{let t=p(e);return a.current[t]}},[e,n]);return[o]},"toNamePathStr",0,p],749344)},778141,e=>{"use strict";e.s(["omitUndefined",0,e=>{let t={};if(Object.keys(e||{}).forEach(r=>{void 0!==e[r]&&(t[r]=e[r])}),!(Object.keys(t).length<1))return t}])},992625,e=>{"use strict";var t=e.i(191788),r=e.i(819201),n=e.i(839587),n=n,a=e.i(440656),o=e.i(568061),l=e.i(967595),i=e.i(391398);let s=t.default.forwardRef(({fieldProps:e,proFieldProps:s,valueType:c,...d},m)=>{let u=(0,t.useContext)(o.default),p=(0,t.useMemo)(()=>{let t=e?{...e}:{};return"dateTimeRange"===c&&void 0===t.showTime&&(t.showTime=!0),t},[e,c]),h=(0,t.useMemo)(()=>{if(p.format)return p.format;switch(c){case"dateTimeRange":return"YYYY-MM-DD HH:mm:ss";case"dateWeekRange":return"YYYY-wo";case"dateMonthRange":return"YYYY-MM";case"dateQuarterRange":return"YYYY-[Q]Q";case"dateYearRange":return"YYYY";default:return"YYYY-MM-DD"}},[p.format,c]),f=(0,t.useCallback)((e,t)=>{let r=t.fieldProps??p,a="dateTimeRange"===c?r?.format??"YYYY-MM-DD HH:mm:ss":r?.format;return(0,i.jsx)(n.default,{...t,format:a,text:e})},[p,c]);return(0,i.jsx)(a.ProConfigProvider,{valueTypeMap:{[c]:{render:f,formItemRender:f}},children:(0,i.jsx)(l.default,{fieldProps:{getPopupContainer:u.getPopupContainer,...p},valueType:c,proFieldProps:s,fieldConfig:{valueType:c,customLightMode:!0,lightFilterLabelFormatter:e=>(0,r.dateArrayFormatter)(e,h)},...d,ref:m})})}),c="dateRange",d=t.default.forwardRef(({fieldProps:e,proFieldProps:t,...n},a)=>(0,i.jsx)(s,{ref:a,fieldProps:{...e},valueType:c,proFieldProps:t,fieldConfig:{valueType:c,customLightMode:!0,lightFilterLabelFormatter:t=>(0,r.dateArrayFormatter)(t,e?.format||"YYYY-MM-DD")},...n}));e.s(["ProFormDateRangePicker",()=>d],992625)}]);
|