1(globalThis.__LOADABLE_LOADED_CHUNKS__=globalThis.__LOADABLE_LOADED_CHUNKS__||[]).push([[1024],{1785(e,t,n){"use strict";n.d(t,{A:()=>z});var i=n(97500),r=n.n(i),o=n(41594),a=n.n(o),s=n(55625),l=n(78291),c=n(65895),d=n(51418),u=n(2424),h=n(63228),g=n(65391),m=n(64516),p=n(99636);function f(e,t){return null===t||!1===t?null:t||o.createElement("span",{className:`${e}-close-x`,style:{display:"flex"}},o.createElement(p.A,{style:{width:"1em",height:"1em"}}))}const b={success:h.A,info:u.A,error:m.A,warning:g.A},w=e=>{const{prefixCls:t,icon:n,type:i,message:a,description:s,btn:l,role:c="alert"}=e;let d=null;return"toast"!==i&&(n?d=o.createElement("span",{className:`${t}-icon`},n):i&&b[i]&&(d=o.createElement(b[i],{className:r()(`${t}-icon`,`${t}-icon-${i}`,`anticon-${i}`)}))),o.createElement("div",{className:r()({[`${t}-with-icon`]:d},`${t}-${i}`),role:c},d,o.createElement("div",{className:`${t}-message`},a),o.createElement("div",{className:`${t}-description`},s),l&&o.createElement("div",{className:`${t}-btn`},l))};var S=n(30049),y=n(91531),v=n(14493),$=n(37294);const x=e=>{const{componentCls:t,width:n,notificationMarginEdge:i}=e,r=new S.Mo("antNotificationTopFadeIn",{"0%":{marginTop:"-100%",opacity:0}
1,"100%":{marginTop:0,opacity:1}}),o=new S.Mo("antNotificationBottomFadeIn",{"0%":{marginBottom:"-100%",opacity:0},"100%":{marginBottom:0,opacity:1}}),a=new S.Mo("antNotificationLeftFadeIn",{"0%":{right:{_skip_check_:!0,value:n},opacity:0},"100%":{right:{_skip_check_:!0,value:0},opacity:1}});return{[`&${t}-top, &${t}-bottom`]:{marginInline:0},[`&${t}-top`]:{[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationName:r}},[`&${t}-bottom`]:{[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationName:o}},[`&${t}-topLeft, &${t}-bottomLeft`]:{marginInlineEnd:0,marginInlineStart:i,[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationName:a}}}},C=e=>{const{iconCls:t,componentCls:n,boxShadow:i,fontSizeLG:r,notificationMarginBottom:o,colorSuccess:a,colorInfo:s,colorWarning:l,colorError:c,colorTextHeading:d,notificationBg:u,notificationPadding:h,notificationMarginEdge:g,motionDurationMid:m,motionEaseInOut:p,fontSize:f,lineHeight:b,width:w,notificationIconSize:v,colorTextSecondary:$,borderRadiusLG:C}=e,A=`${n}-notice`,k=new S.Mo("antNotificationFadeIn",{"0%":{left:{_skip_check_:!0,value:w},opacity:0},"100%":{left:{_skip_check_:!0,value:0},opacity:1}}),E=new S.Mo("antNotificationFadeOut",{"0%":{maxHeight:e.animationMaxHeight,marginBottom:o,opacity:1},"100%":{maxHeight:0,marginBottom:0,paddingTop:0,paddingBottom:0,opacity:0}}),P={position:"relative",width:w,maxWidth:`calc(100vw - ${2*g}px)`,marginBottom:o,marginInlineStart:"auto",padding:h,overflow:"hidden",lineHeight:b,wordWrap:"break-word",background:u,borderRadius:C,boxShadow:i,border:`1px solid ${e.colorBorderPrimary}`,[`${n}-close-icon`]:{fontSize:f,cursor:"pointer"},[`${A}-message`]:{color:d,fontSize:r,lineHeight:e.lineHeightLG},[`${A}-description`]:{marginTop:e.marginXS,fontSize:f,color:$},[`&${A}-toast`]:{paddingTop:e.paddingSM,paddingBottom:e.paddingSM,[`${A}-message`]:{fontSize:e.fontSizeSM,fontWeight:e.fontWeightMedium},[`${A}-description`]:{marginTop:2,fontSize:e.fontSizeSM}},[`&${A}-closable ${A}-message`]:{paddingInlineEnd:e.paddingLG},[`${A}-with-icon ${A}-message`]:{marginBottom:e.marginXS,marginInlineStart:e.marginXS+v,fontSize:r,fontWeight:500},[`${A}-with-icon ${A}-description`]:{marginInlineStart:e.marginXS+v,fontSize:f},[`${A}-icon`]:{position:"absolute",fontSize:v,lineHeight:0,width:"1em",height:"1em","&-success":{color:a},"&-info":{color:s},"&-warning":{color:l},"&-error":{color:c},[`&-success${t}`]:{color:a},[`&-info${t}`]:{color:s},[`&-warning${t}`]:{color:l},[`&-error${t}`]:{color:c}},[`${A}-close`]:{position:"absolute",top:e.notificationPaddingVertical,insetInlineEnd:e.notificationPaddingHorizontal,color:e.colorIcon,outline:"none",width:e.notificationPaddingHorizontal,height:e.notificationPaddingHorizontal,borderRadius:e.borderRadiusSM,transition:`background-color ${e.motionDurationMid}, color ${e.motionDurationMid}`,display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer","&:hover":{color:e.colorIconHover,backgroundColor:e.wireframe?"transparent":e.colorFillContent},"&-x":{fontSize:r}},[`${A}-btn`]:{float:"right",marginTop:e.marginSM}};return[{[n]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,y.dF)(e)),{position:"fixed",zIndex:e.zIndexPopup,[`${n}-hook-holder`]:{position:"relative"},[`&${n}-top, &${n}-bottom`]:{[A]:{marginInline:"auto auto"}},[`&${n}-topLeft, &${n}-bottomLeft`]:{[A]:{marginInlineEnd:"auto",marginInlineStart:0}},[`${n}-fade-enter, ${n}-fade-appear`]:{animationDuration:e.motionDurationMid,animationTimingFunction:p,animationFillMode:"both",opacity:0,animationPlayState:"paused"},[`${n}-fade-leave`]:{animationTimingFunction:p,animationFillMode:"both",animationDuration:m,animationPlayState:"paused"},[`${n}-fade-enter${n}-fade-enter-active, ${n}-fade-appear${n}-fade-appear-active`]:{animationName:k,animationPlayState:"running"},[`${n}-fade-leave${n}-fade-leave-active`]:{animationName:E,animationPlayState:"running"}}),x(e)),{"&-rtl":{direction:"rtl",[`${A}-btn`]:{float:"left"}}})},{[n]:{[A]:Object.assign({},P)}},{[`${A}-pure-panel`]:Object.assign(Object.assign({},P),{margin:0})}]},A=(0,v.A)("Notification",(e=>{const t=e.paddingMD,n=e.paddingLG,i=(0,$.h1)(e,{notificationBg:e.colorBgElevated,notificationPaddingVertical:t,notificationPaddingHorizontal:n,notificationIconSize:e.fontSizeLG*e.lineHeightLG,notificationCloseButtonSize:.55*e.controlHeightLG,notificationMarginBottom:e.margin,notificationPadding:`${e.paddingMD}px`,notificationMarginEdge:e.marginLG,animationMaxHeight:150});return[C(i)]}),(e=>({zIndexPopup:e.zIndexPopupBase+50,width:384})));var k=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(n[i[r]]=e[i[r]])}return n};const E=o.forwardRef(((e,t)=>{const{top:n,bottom:i,prefixCls:a,getContainer:l,maxCount:c,rtl:u,onAllRemoved:h,end:g}=e,{getPrefixCls:m,getPopupContainer:p,notification:b}=o.useContext(s.QO),w=a||m("notification"),[,S]=A(w),[y,v]=(0,d.h)({prefixCls:w,style:e=>function(e,t,n,i){let r;switch(e){case"top":r={left:"50%",transform:"translateX(-50%)",right:"auto",top:t,bottom:"auto"};break;case"topLeft":r={left:0,top:t,bottom:"auto",marginLeft:i};break;case"topRight":r={right:0,top:t,bottom:"auto",marginRight:i};break;case"bottom":r={left:"50%",transform:"translateX(-50%)",right:"auto",top:"auto",bottom:n};break;case"bottomLeft":r={left:0,top:"auto",bottom:n,marginLeft:i};break;default:r={right:0,top:"auto",bottom:n,marginRight:i}}return r}(e,null!=n?n:20,null!=i?i:20,null!=g?g:20),className:()=>r()(S,{[`${w}-rtl`]:u}),motion:()=>function(e){return{motionName:`${e}-fade`}}(w),closable:!0,closeIcon:f(w),duration:4.5,getContainer:()=>(null==l?void 0:l())||(null==p?void 0:p())||document.body,maxCount:c,onAllRemoved:h});return o.useImperativeHandle(t,(()=>Object.assign(Object.assign({},y),{prefixCls:w,hashId:S,notification:b}))),v}));function P(e){return function(e){const t=o.useRef(null),n=o.useMemo((()=>{const n=n=>{var i,a;if(!t.current)return;const{open:s,prefixCls:l,hashId:c,notification:d}=t.current,u=`${l}-notice`,{message:h,description:g,icon:m,type:p,btn:b,className:S,style:y,role:v="alert",closeIcon:$}=n,x=k(n,["message","description","icon","type","btn","className","style","role","closeIcon"]),C=f(u,"toast"!==p&&$),A="toast"===p?"to
1p":null!==(i=null==e?void 0:e.placement)&&void 0!==i?i:"topRight",E=null!==(a=x.placement)&&void 0!==a?a:A;return s(Object.assign(Object.assign({},x),{placement:E,content:o.createElement(w,{prefixCls:u,icon:m,type:p,message:h,description:g,btn:b,role:v}),className:r()(p&&`${u}-${p}`,c,S,null==d?void 0:d.className),style:Object.assign(Object.assign({},null==d?void 0:d.style),y),closeIcon:C,closable:!!C}))},i={open:n,destroy:e=>{var n,i;void 0!==e?null===(n=t.current)||void 0===n||n.close(e):null===(i=t.current)||void 0===i||i.destroy()}};return["success","info","warning","error","toast"].forEach((e=>{i[e]=t=>n(Object.assign(Object.assign({},t),{type:e}))})),i}),[]);return[n,o.createElement(E,Object.assign({key:"notification-holder"},e,{ref:t}))]}(e)}const M=a().createContext({}),O=a().createContext({message:{},notification:{},modal:{}}),I=e=>{const{componentCls:t,colorText:n,fontSize:i,lineHeight:r,fontFamily:o}=e;return{[t]:{color:n,fontSize:i,lineHeight:r,fontFamily:o}}},_=(0,v.A)("App",(e=>[I(e)])),R=e=>{const{prefixCls:t,children:n,className:i,rootClassName:d,message:u,notification:h,style:g}=e,{getPrefixCls:m}=(0,o.useContext)(s.QO),p=m("app",t),[f,b]=_(p),w=r()(b,p,i,d),S=(0,o.useContext)(M),y=a().useMemo((()=>({message:Object.assign(Object.assign({},S.message),u),notification:Object.assign(Object.assign({},S.notification),h)})),[u,h,S.message,S.notification]),[v,$]=(0,l.A)(y.message),[x,C]=P(y.notification),[A,k]=(0,c.A)(),E=a().useMemo((()=>({message:v,notification:x,modal:A})),[v,x,A]);return f(a().createElement(O.Provider,{value:E},a().createElement(M.Provider,{value:y},a().createElement("div",{className:w,style:g},k,$,C,n))))};R.useApp=()=>a().useContext(O);const z=R},53554(e,t,n){"use strict";n.d(t,{A:()=>C});var i=n(97500),r=n.n(i),o=n(96861),a=n(41594),s=n.n(a),l=n(55625),c=n(20665),d=n(73423);const u=s().createContext(null);var h,g=n(63637),m=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(n[i[r]]=e[i[r]])}return n};!function(e){e.PRIMARY="primary",e.MAIN="main"}(h||(h={}));const p=(e,t)=>{var n;const{prefixCls:i,className:s,rootClassName:p,children:f,indeterminate:b=!1,style:w,onMouseEnter:S,onMouseLeave:y,skipGroup:v=!1,disabled:$,mode:x=h.MAIN,size:C}=e,A=m(e,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled","mode","size"]),{getPrefixCls:k,direction:E,checkbox:P}=a.useContext(l.QO),M=a.useContext(u),{isFormItemInput:O}=a.useContext(d.$W),I=a.useContext(c.A),_=null!==(n=(null==M?void 0:M.disabled)||$)&&void 0!==n?n:I,R=a.useRef(A.value);a.useEffect((()=>{null==M||M.registerValue(A.value)}),[]),a.useEffect((()=>{if(!v)return A.value!==R.current&&(null==M||M.cancelValue(R.current),null==M||M.registerValue(A.value),R.current=A.value),()=>null==M?void 0:M.cancelValue(A.value)}),[A.value]);const z=k("checkbox",i),[B,N]=(0,g.Ay)(z),L=Object.assign({},A);M&&!v&&(L.onChange=function(){A.onChange&&A.onChange.apply(A,arguments),M.toggleOption&&M.toggleOption({label:f,value:A.value})},L.name=M.name,L.checked=M.value.includes(A.value));const F=r()(`${z}-wrapper`,{[`${z}-wrapper-rtl`]:"rtl"===E,[`${z}-wrapper-checked`]:L.checked,[`${z}-wrapper-disabled`]:_,[`${z}-wrapper-in-form-item`]:O,[`${z}-wrapper-small`]:"small"===C},null==P?void 0:P.className,s,p,N),T=r()({[`${z}-rtl`]:"rtl"===E,[`${z}-indeterminate`]:b},`${z}-${x}`,N),W=b?"mixed":void 0;return B(a.createElement("label",{className:F,style:Object.assign(Object.assign({},null==P?void 0:P.style),w),onMouseEnter:S,onMouseLeave:y},a.createElement(o.A,Object.assign({"aria-checked":W},L,{prefixCls:z,className:T,disabled:_,ref:t})),void 0!==f&&a.createElement("span",null,f)))};const f=a.forwardRef(p);var b=n(35182),w=n(93549),S=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(n[i[r]]=e[i[r]])}return n};const y=(e,t)=>{const{defaultValue:n,children:i,options:o=[],prefixCls:s,className:c,rootClassName:d,style:h,onChange:m}=e,p=S(e,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:y,direction:v}
1=a.useContext(l.QO),[$,x]=a.useState(p.value||n||[]),[C,A]=a.useState([]);a.useEffect((()=>{"value"in p&&x(p.value||[])}),[p.value]);const k=a.useMemo((()=>o.map((e=>"string"==typeof e||"number"==typeof e?{label:e,value:e}:e))),[o]),E=y("checkbox",s),P=`${E}-group`,[M,O]=(0,g.Ay)(E),I=(0,w.A)(p,["value","disabled"]),_=o.length?k.map((e=>a.createElement(f,{prefixCls:E,key:e.value.toString(),disabled:"disabled"in e?e.disabled:p.disabled,value:e.value,checked:$.includes(e.value),onChange:e.onChange,className:`${P}-item`,style:e.style,title:e.title},e.label))):i,R={toggleOption:e=>{const t=$.indexOf(e.value),n=(0,b.A)($);-1===t?n.push(e.value):n.splice(t,1),"value"in p||x(n),null==m||m(n.filter((e=>C.includes(e))).sort(((e,t)=>k.findIndex((t=>t.value===e))-k.findIndex((e=>e.value===t)))),e)},value:$,disabled:p.disabled,name:p.name,registerValue:e=>{A((t=>[].concat((0,b.A)(t),[e])))},cancelValue:e=>{A((t=>t.filter((t=>t!==e))))}},z=r()(P,{[`${P}-rtl`]:"rtl"===v},c,d,O);return M(a.createElement("div",Object.assign({className:z,style:h},I,{ref:t}),a.createElement(u.Provider,{value:R},_)))},v=a.forwardRef(y),$=a.memo(v),x=f;x.Group=$,x.__ANT_CHECKBOX=!0;const C=x},63637(e,t,n){"use strict";n.d(t,{gd:()=>s});var i=n(91531),r=n(14493),o=n(37294);const a=e=>{const{checkboxCls:t}=e,n=`${t}-wrapper`;return[{[`${t}-group`]:Object.assign(Object.assign({},(0,i.dF)(e)),{display:"inline-flex",flexWrap:"wrap",columnGap:e.margin,[`> ${e.antCls}-row`]:{flex:1}}),[n]:Object.assign(Object.assign({},(0,i.dF)(e)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${n}`]:{marginInlineStart:0},[`&${n}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}},"&-small":{fontSize:e.fontSizeSM,[t]:{[`${t}-inner`]:{width:e.checkboxSizeSmall,height:e.checkboxSizeSmall,"&:after":{width:e.checkboxSizeSmall/14*5,height:e.checkboxSizeSmall/14*8}}}}}),[t]:Object.assign(Object.assign({},(0,i.dF)(e)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",alignSelf:"center",[`${t}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${t}-inner`]:Object.assign({},(0,i.jk)(e))},[`${t}-inner`]:{boxSizing:"border-box",position:"relative",top:0,left:0,display:"block",width:e.checkboxSize,height:e.checkboxSize,direction:"ltr",backgroundColor:e.colorBgDefault,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorderSecondary}`,borderRadius:e.borderRadiusXS,borderCollapse:"separate",transition:`all ${e.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",left:"21.5%",display:"table",width:e.checkboxSize/14*5,height:e.checkboxSize/14*8,border:`${e.lineWidthBold}px solid ${e.colorBgBase}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${e.motionDurationFast} ${e.motionEaseInBack}, opacity ${e.motionDurationFast}`}},"& + span":{padding:`0 ${e.paddingXS}px`}})},{[`${n}:hover ${t}:after`]:{visibility:"visible"},[`\n ${n}:not(${n}-disabled),\n ${t}:not(${t}-disabled)\n `]:{[`&:hover ${t}-inner`]:{borderColor:e.colorBgInversePrimary}},[`\n ${n}:not(${n}-disabled)\n `]:{[`&:hover ${t}-primary ${t}-inner`]:{borderColor:e.colorPrimary}},[`\n ${t}:not(${t}-disabled)\n `]:{[`&${t}-primary`]:{[`&:hover ${t}-inner`]:{borderColor:e.colorPrimary}}},[`${n}:not(${n}-disabled)`]:{[`&:hover ${t}-checked:not(${t}-disabled) ${t}-inner`]:{backgroundColor:e.colorBgInversePrimary,borderColor:"transparent"},[`&:hover ${t}-checked:not(${t}-disabled):after`]:{borderColor:e.colorBgInversePrimary},[`&:hover ${t}-checked${t}-primary:not(${t}-disabled) ${t}-inner`]:{backgroundColor:e.colorPrimaryHover},[`&:hover ${t}-checked${t}-primary:not(${t}-disabled):after`]:{borderColor:e.colorPrimaryHover}}},{[`${t}-checked`]:{[`${t}-inner`]:{backgroundColor:e.colorBgInversePrimary,borderColor:e.colorBgInversePrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${e.motionDurationMid} ${e.motionEaseOutBack} ${e.motionDurationFast}`}},"&:after":{position:"absolute",top:0,insetInlineStart:0,width:"100%",height:"100%",borderRadius:e.borderRadiusSM,visibility:"hidden",border:`${e.lineWidthBold}px solid ${e.colorBgInversePrimary}`,content:'""'},[`&${t}-primary`]:{[`${t}-inner`]:{backgroundColor:e.colorPrimary,borderColor:e.colorPrimary},"&:after":{borderColor:e.colorPrimary}}},[`\n ${n}-checked:not(${n}-disabled),\n ${t}-checked:not(${t}-disabled)\n `]:{[`&:hover ${t}-inner`]:{backgroundColor:e.colorBgInversePrimary,borderColor:"transparent"},[`&:hover ${t}:after`]:{borderColor:e.colorBgInversePrimary},[`&${t}-primary`]:{[`&:hover ${t}-inner`]:{backgroundColor:e.colorPrimaryHover},[`&:hover ${t}:after`]:{borderColor:e.colorPrimaryHover}}}},{[t]:{"&-indeterminate":{[`${t}-inner`]:{backgroundColor:e.colorBgInversePrimary,borderColor:e.colorBorderInversePrimary,"&:after":{top:"50%",insetInlineStart:"50%",width:e.fontSizeLG/2,height:e.fontSizeLG/8,backgroundColor:e.colorBgPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}},[`&${t}-primary`]:{[`${t}-inner`]:{backgroundColor:e.colorPrimary,borderColor:e.colorPrimary,"&:after":{backgroundColor:e.colorBgPrimary}}}}}},{[`${n}-disabled`]:{cursor:"not-allowed"},[`${t}-disabled`]:{[`&, ${t}
1-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${t}-inner`]:{background:e.colorBgDisabled,borderColor:e.colorBorderDisabled,"&:after":{borderColor:e.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:e.colorTextDisabled},[`&${t}-indeterminate ${t}-inner::after`]:{background:e.colorTextDisabled}}}]};function s(e,t){const n=(0,o.h1)(t,{checkboxCls:`.${e}`,checkboxSize:t.controlInteractiveSize,checkboxSizeSmall:t.controlInteractiveSize-2});return[a(n)]}const l=(0,r.A)("Checkbox",((e,t)=>{let{prefixCls:n}=t;return[s(n,e)]}));n.d(t,["Ay",0,l])},31034(e,t,n){"use strict";n.d(t,{A:()=>g});var i=n(97500),r=n.n(i),o=n(41594),a=n(55625),s=n(91531),l=n(14493),c=n(37294);const d=e=>{const{componentCls:t,sizePaddingEdgeHorizontal:n,colorSplit:i,lineWidth:r}=e;return{[t]:Object.assign(Object.assign({},(0,s.dF)(e)),{borderBlockStart:`${r}px solid ${i}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",margin:`0 ${e.dividerVerticalGutterMargin}px`,verticalAlign:"middle",borderTop:0,borderInlineStart:`${r}px solid ${i}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${e.dividerHorizontalGutterMargin}px 0`},[`&-horizontal${t}-with-text`]:{display:"flex",alignItems:"center",margin:`${e.dividerHorizontalWithTextGutterMargin}px 0`,color:e.colorTextHeading,fontWeight:500,fontSize:e.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${i}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${r}px solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${t}-with-text-left`]:{"&::before":{width:"5%"},"&::after":{width:"95%"}},[`&-horizontal${t}-with-text-right`]:{"&::before":{width:"95%"},"&::after":{width:"5%"}},[`${t}-inner-text`]:{display:"inline-block",padding:"0 1em"},"&-dashed":{background:"none",borderColor:i,borderStyle:"dashed",borderWidth:`${r}px 0 0`},[`&-horizontal${t}-with-text${t}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${t}-dashed`]:{borderInlineStartWidth:r,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${t}-with-text`]:{color:e.colorText,fontWeight:"normal",fontSize:e.fontSize},[`&-horizontal${t}-with-text-left${t}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${t}-inner-text`]:{paddingInlineStart:n}},[`&-horizontal${t}-with-text-right${t}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${t}-inner-text`]:{paddingInlineEnd:n}}})}},u=(0,l.A)("Divider",(e=>{const t=(0,c.h1)(e,{dividerVerticalGutterMargin:e.marginXS,dividerHorizontalWithTextGutterMargin:e.margin,dividerHorizontalGutterMargin:e.marginLG});return[d(t)]}),{sizePaddingEdgeHorizontal:0});var h=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(n[i[r]]=e[i[r]])}return n};const g=e=>{const{getPrefixCls:t,direction:n,divider:i}=o.useContext(a.QO),{prefixCls:s,type:l="horizontal",orientation:c="center",orientationMargin:d,className:g,rootClassName:m,children:p,dashed:f,plain:b,style:w}=e,S=h(e,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","plain","style"]),y=t("divider",s),[v,$]=u(y),x=c.length>0?`-${c}`:c,C=!!p,A="left"===c&&null!=d,k="right"===c&&null!=d,E=r()(y,null==i?void 0:i.className,$,`${y}-${l}`,{[`${y}-with-text`]:C,[`${y}-with-text${x}`]:C,[`${y}-dashed`]:!!f,[`${y}-plain`]:!!b,[`${y}-rtl`]:"rtl"===n,[`${y}-no-default-orientation-margin-left`]:A,[`${y}-no-default-orientation-margin-right`]:k},g,m),P=o.useMemo((()=>"number"==typeof d?d:/^\d+$/.test(d)?Number(d):d),[d]),M=Object.assign(Object.assign({},A&&{marginLeft:P}),k&&{marginRight:P});return v(o.createElement("div",Object.assign({className:E,style:Object.assign(Object.assign({},null==i?void 0:i.style),w)},S,{role:"separator"}),p&&"vertical"!==l&&o.createElement("span",{className:`${y}-inner-text`,style:M},p)))}},32906(e,t,n){"use strict";n.d(t,{A:()=>U});var i=n(97500),r=n.n(i),o=n(68821),a=n(57953),s=n(41594),l=n(55625),c=n(3979);const d=s.createContext(null),u=d.Provider,h=d,g=s.createContext(null),m=g.Provider;var p=n(96861),f=n(20015),b=n(20665),w=n(73423),S=n(30049),y=n(91531),v=n(14493),$=n(37294);const x=new S.Mo("antRadioEffect",{"0%":{transform:"scale(1)",opacity:.5},"100%":{transform:"scale(1.6)",opacity:0}
1}),C=e=>{const{componentCls:t,antCls:n}=e,i=`${t}-group`;return{[i]:Object.assign(Object.assign({},(0,y.dF)(e)),{display:"inline-block",fontSize:0,[`&${i}-rtl`]:{direction:"rtl"},[`${n}-badge ${n}-badge-count`]:{zIndex:1},[`> ${n}-badge:not(:first-child) > ${n}-button-wrapper`]:{borderInlineStart:"none"}})}},A=e=>{const{componentCls:t,wrapperMarginInlineEnd:n,colorPrimary:i,radioSize:r,motionDurationSlow:o,motionDurationMid:a,motionEaseInOut:s,motionEaseInOutCirc:l,colorBgContainer:c,colorBorder:d,lineWidth:u,dotSize:h,colorBgContainerDisabled:g,colorTextDisabled:m,paddingXS:p,dotColorDisabled:f,lineType:b,radioDotDisabledSize:w,wireframe:S,colorWhite:v}=e,$=`${t}-inner`;return{[`${t}-wrapper`]:Object.assign(Object.assign({},(0,y.dF)(e)),{position:"relative",display:"inline-flex",alignItems:"baseline",marginInlineStart:0,marginInlineEnd:n,cursor:"pointer",[`&${t}-wrapper-rtl`]:{direction:"rtl"},"&-disabled":{cursor:"not-allowed",color:e.colorTextDisabled},"&::after":{display:"inline-block",width:0,overflow:"hidden",content:'"\\a0"'},"&-bordered":{lineHeight:`${e.controlHeight}px`,border:`${u}px ${b} ${e.colorBorderPrimary}`,borderRadius:e.borderRadius,paddingInline:e.paddingXS,"&:hover":{backgroundColor:e.colorBgSecondary},[`&${t}-wrapper-checked`]:{backgroundColor:e.colorPrimaryPlain,borderColor:e.colorPrimary}},[`${t}-checked::after`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:"100%",height:"100%",border:`${u}px ${b} ${i}`,borderRadius:"50%",visibility:"hidden",animationName:x,animationDuration:o,animationTimingFunction:s,animationFillMode:"both",content:'""'},[t]:Object.assign(Object.assign({},(0,y.dF)(e)),{position:"relative",display:"inline-block",outline:"none",cursor:"pointer",alignSelf:"center"}),[`${t}-wrapper:hover &,\n &:hover ${$}`]:{borderColor:i},[`${t}-input:focus-visible + ${$}`]:Object.assign({},(0,y.jk)(e)),[`${t}:hover::after, ${t}-wrapper:hover &::after`]:{visibility:"visible"},[`${t}-inner`]:{"&::after":{boxSizing:"border-box",position:"absolute",insetBlockStart:"50%",insetInlineStart:"50%",display:"block",width:r,height:r,marginBlockStart:r/-2,marginInlineStart:r/-2,backgroundColor:i,borderBlockStart:0,borderInlineStart:0,borderRadius:r,transform:"scale(0)",opacity:0,transition:`all ${o} ${l}`,content:'""'},boxSizing:"border-box",position:"relative",insetBlockStart:0,insetInlineStart:0,display:"block",width:r,height:r,backgroundColor:c,borderColor:d,borderStyle:"solid",borderWidth:u,borderRadius:"50%",transition:`all ${a}`},[`${t}-input`]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,insetBlockEnd:0,insetInlineStart:0,zIndex:1,cursor:"pointer",opacity:0},[`${t}-checked`]:{[$]:{borderColor:i,backgroundColor:c,"&::after":{transform:`scale(${h/r})`,opacity:1,transition:`all ${o} ${l}`}}},[`${t}-disabled`]:{cursor:"not-allowed",[$]:{backgroundColor:g,borderColor:d,cursor:"not-allowed","&::after":{backgroundColor:f}},[`${t}-input`]:{cursor:"not-allowed"},[`${t}-disabled + span`]:{color:m,cursor:"not-allowed"},[`&${t}-checked`]:{[$]:{"&::after":{transform:`scale(${w/r})`}}}},[`span${t} + *`]:{paddingInlineStart:p,paddingInlineEnd:p}})}},k=e=>{const{buttonColor:t,controlHeight:n,componentCls:i,lineWidth:r,lineType:o,colorBorder:a,motionDurationSlow:s,motionDurationMid:l,buttonPaddingInline:c,fontSize:d,buttonBg:u,fontSizeLG:h,controlHeightLG:g,controlHeightSM:m,paddingXS:p,borderRadius:f,borderRadiusSM:b,borderRadiusLG:w,buttonCheckedBg:S,buttonSolidCheckedColor:v,colorTextDisabled:$,colorBg
1ContainerDisabled:x,buttonCheckedBgDisabled:C,buttonCheckedColorDisabled:A,colorPrimary:k,colorPrimaryHover:E,colorPrimaryActive:P}=e;return{[`${i}-button-wrapper`]:{position:"relative",display:"inline-block",height:n,margin:0,paddingInline:c,paddingBlock:0,color:t,fontSize:d,lineHeight:n-2*r+"px",background:u,border:`${r}px ${o} ${a}`,borderBlockStartWidth:r+.02,borderInlineStartWidth:0,borderInlineEndWidth:r,cursor:"pointer",transition:[`color ${l}`,`background ${l}`,`border-color ${l}`,`box-shadow ${l}`].join(","),a:{color:t},[`> ${i}-button`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:-1,width:"100%",height:"100%"},"&:not(:first-child)":{"&::before":{position:"absolute",insetBlockStart:-r,insetInlineStart:-r,display:"block",boxSizing:"content-box",width:1,height:"100%",paddingBlock:r,paddingInline:0,backgroundColor:a,transition:`background-color ${s}`,content:'""'}},"&:first-child":{borderInlineStart:`${r}px ${o} ${a}`,borderStartStartRadius:f,borderEndStartRadius:f},"&:last-child":{borderStartEndRadius:f,borderEndEndRadius:f},"&:first-child:last-child":{borderRadius:f},[`${i}-group-large &`]:{height:g,fontSize:h,lineHeight:g-2*r+"px","&:first-child":{borderStartStartRadius:w,borderEndStartRadius:w},"&:last-child":{borderStartEndRadius:w,borderEndEndRadius:w}},[`${i}-group-small &`]:{height:m,paddingInline:p-r,paddingBlock:0,lineHeight:m-2*r+"px","&:first-child":{borderStartStartRadius:b,borderEndStartRadius:b},"&:last-child":{borderStartEndRadius:b,borderEndEndRadius:b}},"&:hover":{position:"relative",color:k},"&:has(:focus-visible)":Object.assign({},(0,y.jk)(e)),[`${i}-inner, input[type='checkbox'], input[type='radio']`]:{width:0,height:0,opacity:0,pointerEvents:"none"},[`&-checked:not(${i}-button-wrapper-disabled)`]:{zIndex:1,color:k,background:S,borderColor:k,"&::before":{backgroundColor:k},"&:first-child":{borderColor:k},"&:hover":{color:E,borderColor:E,"&::before":{backgroundColor:E}},"&:active":{color:P,borderColor:P,"&::before":{backgroundColor:P}}},[`${i}-group-solid &-checked:not(${i}-button-wrapper-disabled)`]:{color:v,background:k,borderColor:k,"&:hover":{color:v,background:E,borderColor:E},"&:active":{color:v,background:P,borderColor:P}},"&-disabled":{color:$,backgroundColor:x,borderColor:a,cursor:"not-allowed","&:first-child, &:hover":{color:$,backgroundColor:x,borderColor:a}},[`&-disabled${i}-button-wrapper-checked`]:{color:A,backgroundColor:C,borderColor:a,boxShadow:"none"}}}},E=e=>e-8,P=(0,v.A)("Radio",(e=>{const{controlOutline:t,controlOutlineWidth:n,radioSize:i}=e,r=`0 0 0 ${n}px ${t}`,o=r,a=E(i),s=(0,$.h1)(e,{radioDotDisabledSize:a,radioFocusShadow:r,radioButtonFocusShadow:o});return[C(s),A(s),k(s)]}),(e=>{const{wireframe:t=!0,padding:n,marginXS:i,lineWidth:r,fontSizeLG:o,colorText:a,colorBgContainer:s,colorTextDisabled:l,controlItemBgActiveDisabled:c,colorTextLightSolid:d}=e;return{radioSize:o,dotSize:E(o),dotColorDisabled:l,buttonSolidCheckedColor:d,buttonBg:s,buttonCheckedBg:s,buttonColor:a,buttonCheckedBgDisabled:c,buttonCheckedColorDisabled:l,buttonPaddingInline:n-r,wrapperMarginInlineEnd:i,wireframe:!0}})),M=new S.Mo("antRadioEffect",{"0%":{transform:"scale(1)",opacity:.5},"100%":{transform:"scale(1.6)",opacity:0}}),O=e=>{const{componentCls:t,antCls:n}=e,i=`${t}-group`;return{[i]:Object.assign(Object.assign({},(0,y.dF)(e)),{display:"inline-block",fontSize:0,backgroundColor:e.colorBgTertiary,borderRadius:e.borderRadius,padding:"2px",[`&${i}-rtl`]:{direction:"rtl"},[`${n}-badge ${n}-badge-count`]:{zIndex:1},[`> ${n}-badge:not(:first-child) > ${n}-button-wrapper`]:{borderInlineStart:"none"}})}},I=e=>{const{componentCls:t,wrapperMarginInlineEnd:n,colorPrimary:i,radioSize:r,motionDurationSlow:o,motionDurationMid:a,motionEaseInOut:s,motionEaseInOutCirc:l,colorBgContainer:c,lineWidth:d,dotSize:u,colorTextDisabled:h,paddingXS:g,lineType:m,radioDotDisabledSize:p,wireframe:f,colorWhite:b,colorBorderPrimary:w,colorBorderInversePrimary:S,colorBorderSecondary:v,colorBgDisabled:$}=e,x=`${t}-inner`;return{[`${t}-wrapper`]:Object.assign(Object.assign({},(0,y.dF)(e)),{position:"relative",display:"inline-flex",alignItems:"baseline",marginInlineStart:0,marginInlineEnd:n,cursor:"pointer","&-disabled":{cursor:"not-allowed",color:e.colorTextDisabled},"&::after":{display:"inline-block",width:0,overflow:"hidden",content:'"\\a0"'},"&-bordered":{lineHeight:`${e.controlHeight}px`,border:`${d}px ${m} ${w}`,borderRadius:e.borderRadius,paddingInline:e.paddingXS,"&:hover":{backgroundColor:e.colorBgSecondary},[`&${t}-wrapper-checked`]:{backgroundColor:e.colorBgSecondary,borderColor:e.colorBorderInversePrimary}},[`${t}-checked::after`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:"100%",height:"100%",border:`${d}px ${m} ${S}`,borderRadius:"50%",visibility:"hidden",animationName:M,animationDuration:o,animationTimingFunction:s,animationFillMode:"both",content:'""'},[t]:Object.assign(Object.assign({},(0,y.dF)(e)),{position:"relative",display:"inline-block",outline:"none",cursor:"pointer",alignSelf:"center"}),[`${t}-wrapper:hover &,\n &:hover ${x}`]:{borderColor:v},[`${t}-input:focus-visible + ${x}`]:Object.assign({},(0,y.jk)(e)),[`${t}:hover::after, ${t}-wrapper:hover &::after`]:{visibility:"visible"},[`${t}-inner`]:{"&::after":{boxSizing:"border-box",position:"absolute",top:"50%",left:"50%",display:"block",width:r,height:r,marginTop:r/-2,marginLeft:r/-2,backgroundColor:S,borderBlockStart:0,borderInlineStart:0,borderRadius:r,transform:"scale(0)",opacity:0,transition:`all ${o} ${l}`,content:'""'},boxSizing:"border-box",position:"relative",top:0,left:0,display:"block",width:r,height:r,backgroundColor:e.colorBgDefault,borderColor:h,borderStyle:"solid",borderWidth:d,borderRadius:"50%",transition:`all ${a}`},[`&${t}-wrapper-rtl`]:{direction:"rtl",[`${t}-inner`]:{"&::after":{left:"unset",right:"50%",marginLeft:"unset",marginRight:r/-2},left:"unset",right:0}},[`${t}-input`]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,insetBlockEnd:0,insetInlineStart:0,zIndex:1,cursor:"pointer",opacity:0}
1,[`${t}-checked`]:{[x]:{borderColor:S,backgroundColor:c,"&::after":{transform:`scale(${u/r})`,opacity:1,transition:`all ${o} ${l}`}}},[`${t}-disabled`]:{cursor:"not-allowed",[x]:{backgroundColor:$,borderColor:v,cursor:"not-allowed","&::after":{backgroundColor:v}},[`${t}-input`]:{cursor:"not-allowed"},[`${t}-disabled + span`]:{color:h,cursor:"not-allowed"},[`&${t}-checked`]:{[x]:{"&::after":{transform:`scale(${p/r})`}}}},[`span${t} + *`]:{paddingInlineStart:g,paddingInlineEnd:g}})}},_=e=>{const{buttonColor:t,bitControlHeight:n,componentCls:i,lineWidth:r,motionDurationMid:o,bitFontSizeLG:a,bitControlHeightLG:s,bitControlHeightSM:l,buttonSolidCheckedColor:c,colorPrimary:d,colorPrimaryHover:u,colorPrimaryActive:h,bitFontSize:g}=e;return{[`${i}-button-wrapper`]:{position:"relative",display:"inline-block",borderRadius:e.borderRadius,height:n,margin:0,padding:"0 16px",color:e.colorTextTertiary,fontSize:g,lineHeight:n-2*r+"px",cursor:"pointer",transition:[`color ${o}`,`background ${o}`,`border-color ${o}`,`box-shadow ${o}`].join(","),a:{color:t},[`> ${i}-button`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:-1,width:"100%",height:"100%"},[`${i}-group-large &`]:{height:s,fontSize:a,lineHeight:s-2*r+"px",paddingInline:"24px"},[`${i}-group-small &`]:{height:l,paddingInline:"12px",paddingBlock:0,lineHeight:l-2*r+"px"},[`&:hover:not(${i}-button-wrapper-disabled):not(${i}-button-wrapper-checked)`]:{position:"relative",backgroundColor:e.colorFgTertiary,color:e.colorTextTertiary},"&:has(:focus-visible)":Object.assign({},(0,y.jk)(e)),[`${i}-inner, input[type='checkbox'], input[type='radio']`]:{width:0,height:0,opacity:0,pointerEvents:"none"},[`&-checked:not(${i}-button-wrapper-disabled)`]:{zIndex:1,color:e.colorTextPrimary,background:e.colorFgTertiary,"&::before":{backgroundColor:"transparent"},"&:hover":{color:e.colorTextPrimary,"&::before":{backgroundColor:u}},"&:active":{color:h,borderColor:h,"&::before":{backgroundColor:h}}},[`${i}-group-solid &-checked:not(${i}-button-wrapper-disabled)`]:{color:c,background:d,borderColor:d,"&:hover":{color:c,background:u,borderColor:u},"&:active":{color:c,background:h,borderColor:h}},"&-disabled":{color:e.colorTextDisabled,cursor:"not-allowed"},[`&-disabled${i}-button-wrapper-checked`]:{color:e.colorTextDisabled,backgroundColor:e.colorFgTertiary,boxShadow:"none"}}}},R=e=>e-8,z=(0,v.A)("Radio",(e=>{const{controlOutline:t,controlOutlineWidth:n,radioSize:i}=e,r=`0 0 0 ${n}px ${t}`,o=r,a=R(i),s=(0,$.h1)(e,{radioDotDisabledSize:a,radioFocusShadow:r,radioButtonFocusShadow:o});return[O(s),I(s),_(s)]}),(e=>{const{wireframe:t,padding:n,marginXS:i,lineWidth:r,fontSizeLG:o,colorText:a,colorBgContainer:s,colorTextDisabled:l,controlItemBgActiveDisabled:c,colorTextLightSolid:d}=e;return{radioSize:o,dotSize:R(o),dotColorDisabled:l,buttonSolidCheckedColor:d,buttonBg:"transparent",buttonCheckedBg:s,buttonColor:a,buttonCheckedBgDisabled:c,buttonCheckedColorDisabled:l,buttonPaddingInline:n-r,wrapperMarginInlineEnd:i,bitControlHeightLG:36,bitControlHeight:28,bitControlHeightSM:24,bitFontSizeLG:14,bitFontSize:12}}));var B,N=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(n[i[r]]=e[i[r]])}return n};!function(e){e.PRIMARY="primary",e.MAIN="main"}(B||(B={}));const L={[B.PRIMARY]:P,[B.MAIN]:z},F=(e,t)=>{var n,i;const o=s.useContext(h),a=s.useContext(g),{getPrefixCls:c,direction:d,radio:u}=s.useContext(l.QO),m=s.useRef(null),S=(0,f.K4)(t,m),{isFormItemInput:y}=s.useContext(w.$W),v=t=>{var n,i;null===(n=e.onChange)||void 0===n||n.call(e,t),null===(i=null==o?void 0:o.onChange)||void 0===i||i.call(o,t)},{prefixCls:$,className:x,rootClassName:C,children:A,style:k,mode:E="main",bordered:P}=e,M=N(e,["prefixCls","className","rootClassName","children","style","mode","bordered"]),O=c(`radio-${E}`,$),I="button"===((null==o?void 0:o.optionType)||a)?`${O}-button`:O,_=L[E],[R,z]=void 0!==_?_(O):L[B.PRIMARY](O),F=Object.assign({},M),T=s.useContext(b.A);o&&(F.name=o.name,F.onChange=v,F.checked=e.value===o.value,F.disabled=null!==(n=F.disabled)&&void 0!==n?n:o.disabled),F.disabled=null!==(i=F.disabled)&&void 0!==i?i:T;const W=r()(`${I}-wrapper`,{[`${I}-wrapper-checked`]:F.checked,[`${I}-wrapper-disabled`]:F.disabled,[`${I}-wrapper-rtl`]:"rtl"===d,[`${I}-wrapper-in-form-item`]:y,[`${I}-wrapper-bordered`]:P},null==u?void 0:u.className,x,C,z);return R(s.createElement("label",{className:W,style:Object.assign(Object.assign({},null==u?void 0:u.style),k),onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave},s.createElement(p.A,Object.assign({},F,{type:"radio",prefixCls:I,ref:S})),void 0!==A?s.createElement("span",null,A):null))};const T=s.forwardRef(F);var W;!function(e){e.PRIMARY="primary",e.MAIN="main"}(W||(W={}));const D={[W.PRIMARY]:P,[W.MAIN]:z},j=s.forwardRef(((e,t)=>{const{getPrefixCls:n,direction:i}=s.useContext(l.QO),[d,h]=(0,o.A)(e.defaultValue,{value:e.value}),{prefixCls:g,className:m,rootClassName:p,options:f,buttonStyle:b="outline",disabled:w,children:S,size:y,style:v,id:$,onMouseEnter:x,onMouseLeave:C,onFocus:A,onBlur:k,round:E}=e,P=E?"main":"primary",M=n(`radio-${P}`,g),O=`${M}-group`,I=D[P],[_,R]=void 0!==I?I(M):D[W.PRIMARY](M);let z=S;f&&f.length>0&&(z=f.map((e=>"string"==typeof e||"number"==typeof e?s.createElement(T,{key:e.toString(),prefixCls:M,disabled:w,value:e,checked:d===e},e):s.createElement(T,{key:`radio-group-value-options-${e.value}`,prefixCls:M,disabled:e.disabled||w,value:e.value,checked:d===e.value,title:e.title,style:e.style},e.label))));const B=(0,c.A)(y),N=r()(O,`${O}-${b}`,{[`${O}-${B}`]:B,[`${O}-rtl`]:"rtl"===i},m,p,R);return _(s.createElement("div",Object.assign({},(0,a.A)(e,{aria:!0,data:!0}),{className:N,style:v,onMouseEnter:x,onMouseLeave:C,onFocus:A,onBlur:k,id:$,ref:t}),s.createElement(u,{value:{onChange:t=>{const n=d,i=t.target.value;"value"in e||h(i);const{onChange:r}=e;r&&i!==n&&r(t)}
1,value:d,round:E,disabled:e.disabled,name:e.name,optionType:e.optionType}},z)))})),H=s.memo(j);var V=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(n[i[r]]=e[i[r]])}return n};const X=(e,t)=>{const{getPrefixCls:n}=s.useContext(l.QO),{prefixCls:i,mode:r="main"}=e,o=V(e,["prefixCls","mode"]),a=n(`radio-${r}`,i);return s.createElement(m,{value:"button"},s.createElement(T,Object.assign({prefixCls:a},o,{mode:r,type:"radio",ref:t})))},G=s.forwardRef(X),K=T;K.Button=G,K.Group=H,K.__ANT_RADIO=!0;const U=K},14825(e,t,n){"use strict";n.d(t,{A:()=>A});var i=n(18006),r=n(97500),o=n.n(r),a=n(20150),s=n(41594),l=n(35543),c=n(55625),d=n(20665),u=n(3979),h=n(6179),g=n(91531),m=n(14493),p=n(37294);const f=e=>{const{componentCls:t}=e,n=`${t}-inner`;return{[t]:{[`&${t}-small`]:{minWidth:e.switchMinWidthSM,height:e.switchHeightSM,lineHeight:`${e.switchHeightSM}px`,[`${t}-inner`]:{paddingInlineStart:e.switchInnerMarginMaxSM,paddingInlineEnd:e.switchInnerMarginMinSM,[`${n}-checked`]:{marginInlineStart:`calc(-100% + ${e.switchPinSizeSM+2*e.switchPadding}px - ${2*e.switchInnerMarginMaxSM}px)`,marginInlineEnd:`calc(100% - ${e.switchPinSizeSM+2*e.switchPadding}px + ${2*e.switchInnerMarginMaxSM}px)`},[`${n}-unchecked`]:{marginTop:-e.switchHeightSM,marginInlineStart:0,marginInlineEnd:0}},[`${t}-handle`]:{width:e.switchPinSizeSM,height:e.switchPinSizeSM},[`${t}-loading-icon`]:{top:(e.switchPinSizeSM-e.switchLoadingIconSize)/2,fontSize:e.switchLoadingIconSize},[`&${t}-checked`]:{[`${t}-inner`]:{paddingInlineStart:e.switchInnerMarginMinSM,paddingInlineEnd:e.switchInnerMarginMaxSM,[`${n}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${n}-unchecked`]:{marginInlineStart:`calc(100% - ${e.switchPinSizeSM+2*e.switchPadding}px + ${2*e.switchInnerMarginMaxSM}px)`,marginInlineEnd:`calc(-100% + ${e.switchPinSizeSM+2*e.switchPadding}px - ${2*e.switchInnerMarginMaxSM}px)`}},[`${t}-handle`]:{left:`calc(100% - ${e.switchPinSizeSM+e.switchPadding}px)`}},[`&:not(${t}-disabled):active`]:{[`&:not(${t}-checked) ${n}`]:{[`${n}-unchecked`]:{marginInlineStart:e.marginXXS/2,marginInlineEnd:-e.marginXXS/2}},[`&${t}-checked ${n}`]:{[`${n}-checked`]:{marginInlineStart:-e.marginXXS/2,marginInlineEnd:e.marginXXS/2}}}},"&-rtl":{[`&${t}-small`]:{[`&${t}-checked`]:{[`${t}-handle`]:{left:"unset",right:`calc(100% - ${e.switchPinSizeSM+e.switchPadding}px)`}}}}}}},b=e=>{const{componentCls:t}=e,n=`${t}-inner`;return{[t]:{[`&${t}-large`]:{minWidth:e.switchMinWidthLG,height:e.switchHeightLG,lineHeight:`${e.switchHeightLG}px`,[`${t}-inner`]:{paddingInlineStart:e.switchInnerMarginMaxLG,paddingInlineEnd:e.switchInnerMarginMinLG,[`${n}-checked`]:{marginInlineStart:`calc(-100% + ${e.switchPinSizeLG+2*e.switchPadding}px - ${2*e.switchInnerMarginMaxLG}px)`,marginInlineEnd:`calc(100% - ${e.switchPinSizeLG+2*e.switchPadding}px + ${2*e.switchInnerMarginMaxLG}px)`},[`${n}-unchecked`]:{marginTop:-e.switchHeightLG,marginInlineStart:0,marginInlineEnd:0}},[`${t}-handle`]:{width:e.switchPinSizeLG,height:e.switchPinSizeLG},[`${t}-loading-icon`]:{top:(e.switchPinSizeLG-e.switchLoadingIconSize)/2,fontSize:e.switchLoadingIconSize},[`&${t}-checked`]:{[`${t}-inner`]:{paddingInlineStart:e.switchInnerMarginMinLG,paddingInlineEnd:e.switchInnerMarginMaxLG,[`${n}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${n}-unchecked`]:{marginInlineStart:`calc(100% - ${e.switchPinSizeLG+2*e.switchPadding}px + ${2*e.switchInnerMarginMaxLG}px)`,marginInlineEnd:`calc(-100% + ${e.switchPinSizeLG+2*e.switchPadding}px - ${2*e.switchInnerMarginMaxLG}px)`}},[`${t}-handle`]:{left:`calc(100% - ${e.switchPinSizeLG+e.switchPadding}px)`}},[`&:not(${t}-disabled):active`]:{[`&:not(${t}-checked) ${n}`]:{[`${n}-unchecked`]:{marginInlineStart:e.marginXXS/2,marginInlineEnd:-e.marginXXS/2}},[`&${t}-checked ${n}`]:{[`${n}-checked`]:{marginInlineStart:-e.marginXXS/2,marginInlineEnd:e.marginXXS/2}}}},"&-rtl":{[`&${t}-large`]:{[`&${t}-checked`]:{[`${t}-handle`]:{left:"unset",right:`calc(100% - ${e.switchPinSizeLG+e.switchPadding}px)`}}
1}}}}},w=e=>{const{componentCls:t}=e;return{[t]:{[`${t}-loading-icon${e.iconCls}`]:{position:"relative",top:(e.switchPinSize-e.fontSize)/2,color:e.switchLoadingIconColor,verticalAlign:"top"},[`&${t}-checked ${t}-loading-icon`]:{color:e.switchColor}}}},S=e=>{const{componentCls:t,motion:n}=e,i=`${t}-handle`;return{[t]:{[i]:{position:"absolute",top:e.switchPadding,left:e.switchPadding,width:e.switchPinSize,height:e.switchPinSize,transition:`all ${e.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,left:0,bottom:0,right:0,backgroundColor:e.colorWhite,borderRadius:e.borderRadiusXS,boxShadow:e.switchHandleShadow,transition:`all ${e.switchDuration} ease-in-out`,content:'""'}},[`&${t}-checked ${i}`]:{left:`calc(100% - ${e.switchPinSize+e.switchPadding}px)`},[`&:not(${t}-disabled):active`]:n?{[`${i}::before`]:{right:e.switchHandleActiveInset,left:0},[`&${t}-checked ${i}::before`]:{right:0,left:e.switchHandleActiveInset}}:{},"&-rtl":{[i]:{left:"unset",right:e.switchPadding},[`&${t}-checked ${i}`]:{left:"unset",right:`calc(100% - ${e.switchPinSize+e.switchPadding}px)`},[`&:not(${t}-disabled):active`]:n?{[`${i}::before`]:{left:e.switchHandleActiveInset,right:0},[`&${t}-checked ${i}::before`]:{left:0,right:e.switchHandleActiveInset}}:{}}}}},y=e=>{const{componentCls:t}=e,n=`${t}-inner`;return{[t]:{[n]:{display:"block",overflow:"hidden",borderRadius:e.borderRadiusSM,height:"100%",paddingInlineStart:e.switchInnerMarginMax,paddingInlineEnd:e.switchInnerMarginMin,transition:`padding-inline-start ${e.switchDuration} ease-in-out, padding-inline-end ${e.switchDuration} ease-in-out`,[`${n}-checked, ${n}-unchecked`]:{display:"block",color:e.colorTextLightSolid,fontSize:e.fontSizeSM,transition:`margin-inline-start ${e.switchDuration} ease-in-out, margin-inline-end ${e.switchDuration} ease-in-out`,pointerEvents:"none"},[`${n}-checked`]:{marginInlineStart:`calc(-100% + ${e.switchPinSize+2*e.switchPadding}px - ${2*e.switchInnerMarginMax}px)`,marginInlineEnd:`calc(100% - ${e.switchPinSize+2*e.switchPadding}px + ${2*e.switchInnerMarginMax}px)`},[`${n}-unchecked`]:{marginTop:-e.switchHeight,marginInlineStart:0,marginInlineEnd:0}},[`&${t}-checked ${n}`]:{paddingInlineStart:e.switchInnerMarginMin,paddingInlineEnd:e.switchInnerMarginMax,[`${n}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${n}-unchecked`]:{marginInlineStart:`calc(100% - ${e.switchPinSize+2*e.switchPadding}px + ${2*e.switchInnerMarginMax}px)`,marginInlineEnd:`calc(-100% + ${e.switchPinSize+2*e.switchPadding}px - ${2*e.switchInnerMarginMax}px)`}},[`&:not(${t}-disabled):active`]:{[`&:not(${t}-checked) ${n}`]:{[`${n}-unchecked`]:{marginInlineStart:2*e.switchPadding,marginInlineEnd:2*-e.switchPadding}},[`&${t}-checked ${n}`]:{[`${n}-checked`]:{marginInlineStart:2*-e.switchPadding,marginInlineEnd:2*e.switchPadding}}}}}},v=e=>{const{componentCls:t}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,g.dF)(e)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:e.switchMinWidth,height:e.switchHeight,lineHeight:`${e.switchHeight}px`,verticalAlign:"middle",background:e.colorBorderSecondary,border:"0",borderRadius:e.borderRadiusSM,cursor:"pointer",transition:`all ${e.motionDurationMid}`,userSelect:"none"}),(0,g.K8)(e)),{[`&${t}-checked`]:{background:e.switchColor},[`&${t}-loading, &${t}-disabled`]:{cursor:"not-allowed",opacity:e.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${t}-rtl`]:{direction:"rtl"}})}},$=(0,m.A)("Switch",(e=>{const t=e.sizeLargeHeight,n=e.sizeMediumHeight,i=e.sizeSmallHeight,r=t-4,o=n-4,a=i-4,s=(0,p.h1)(e,{switchMinWidth:2*o+4,switchHeight:n,switchDuration:e.motionDurationMid,switchColor:e.colorBlueAction,switchDisabledOpacity:e.opacityLoading,switchInnerMarginMin:o/2,switchInnerMarginMax:o+2+4,switchPadding:2,switchPinSize:o,switchBg:e.colorBgContainer,switchMinWidthSM:2*a+4,switchHeightSM:i,switchInnerMarginMinSM:a/2,switchInnerMarginMaxSM:a+2+4,switchPinSizeSM:a,switchMinWidthLG:2*r+4,switchHeightLG:t,switchInnerMarginMinLG:r/2,switchInnerMarginMaxLG:r+2+4,switchPinSizeLG:r,switchHandleShadow:`0 2px 4px 0 ${new h.q("#00230b").setAlpha(.2).toRgbString()}`,switchLoadingIconSize:.75*e.fontSizeIcon,switchLoadingIconColor:`rgba(0, 0, 0, ${e.opacityLoading})`,switchHandleActiveInset:"-30%"});return[v(s),y(s),S(s),w(s),f(s),b(s)]}));var x=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(n[i[r]]=e[i[r]])}return n};const C=s.forwardRef(((e,t)=>{const{prefixCls:n,size:r,disabled:h,loading:g,className:m,rootClassName:p,style:f,wave:b=!1}=e,w=x(e,["prefixCls","size","disabled","loading","className","rootClassName","style","wave"]),{getPrefixCls:S,direction:y,switch:v}=s.useContext(c.QO),C=s.useContext(d.A),A=(null!=h?h:C)||g,k=S("switch",n),E=s.createElement("div",{className:`${k}-handle`},g&&s.createElement(i.A,{className:`${k}-loading-icon`})),[P,M]=$(k),O=(0,u.A)(r),I=o()(null==v?void 0:v.className,{[`${k}-small`]:"small"===O,[`${k}-large`]:"large"===O,[`${k}-loading`]:g,[`${k}-rtl`]:"rtl"===y},m,p,M),_=Object.assign(Object.assign({},null==v?void 0:v.style),f);return P(b?s.createElement(l.A,null,s.createElement(a.A,Object.assign({},w,{prefixCls:k,className:I,style:_,disabled:A,ref:t,loadingIcon:E}))):s.createElement(a.A,Object.assign({},w,{prefixCls:k,className:I,style:_,disabled:A,ref:t,loadingIcon:E})))}
1));C.__ANT_SWITCH=!0;const A=C},3118(e,t,n){"use strict";var i=n(9380).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(94245)).default;t.default=r},94245(e,t,n){"use strict";var i=n(9380).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(74680)),o=i(n(93588));var a={lang:Object.assign({placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeQuarterPlaceholder:["Start quarter","End quarter"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"]},r.default),timePickerLocale:Object.assign({},o.default)};t.default=a},75803(e,t,n){"use strict";var i=n(9380).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(83176)),o=i(n(3118)),a=i(n(94245)),s=i(n(93588));const l="${label} is not a valid ${type}";var c={locale:"en",Pagination:r.default,DatePicker:a.default,TimePicker:s.default,Calendar:o.default,global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",filterCheckall:"Select all items",filterSearchPlaceholder:"Search in filters",emptyText:"No data found.",selectAll:"Select current page",selectInvert:"Invert current page",selectNone:"Clear all data",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting"},Tour:{Next:"Next",Previous:"Previous",Finish:"Finish"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No data found."},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand"},PageHeader:{back:"Back"},Form:{optional:"(optional)",defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:l,method:l,array:l,object:l,number:l,date:l,boolean:l,integer:l,float:l,regexp:l,email:l,url:l,hex:l},string:{len:"${label} must be ${len} characters",min:"${label} must be at least ${min} characters",max:"${label} must be up to ${max} characters",range:"${label} must be between ${min}-${max} characters"},number:{len:"${label} must be equal to ${len}",min:"${label} must be minimum ${min}",max:"${label} must be maximum ${max}",range:"${label} must be between ${min}-${max}"},array:{len:"Must be ${len} ${label}",min:"At least ${min} ${label}",max:"At most ${max} ${label}",range:"The amount of ${label} must be between ${min}-${max}"},pattern:{mismatch:"${label} does not match the pattern ${pattern}"}}},Image:{preview:"Preview",error:"FAILED"},QRCode:{expired:"QR code expired",refresh:"Refresh"},ColorPicker:{presetEmpty:"Empty"}};t.default=c},93588(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={placeholder:"Select time",rangePlaceholder:["Start time","End time"]};t.default=n},83176(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"Page",prev_page:"Previous Page",next_page:"Next Page",prev_5:"Previous 5 Pages",next_5:"Next 5 Pages",prev_3:"Previous 3 Pages",next_3:"Next 3 Pages",page_size:"Page Size"}},74680(e,t){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"OK",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"}},62254(e,t,n){ 2/** 3 * 4 * @revision $Id: index.js 2012-03-24 16:21:10 Aleksey $ 5 * @created 2012-03-24 16:21:10 6 * @category Express Helpers 7 * @package express-useragent 8 * @version 1.0.15 9 * @copyright Copyright (c) 2009-2020 - All rights reserved. 10 * @license MIT License 11 * @author Aleksejs Gordejevs IK <[email protected]> 12 * @link http://www.gordejev.lv 13 * 14 */ 15var i=n(42431).UserAgent;e.exports=new i,e.exports.UserAgent=i,e.exports.express=function(){return function(e,t,n){var r=e.headers["user-agent"]||"";e.headers["x-ucbrowser-ua"]&&(r=e.headers["x-ucbrowser-ua"]);var o=new i;void 0===r&&(r="unknown"),o.Agent.source=r.replace(/^\s*/,"").replace(/\s*$/,""),o.Agent.os=o.getOS(o.Agent.source),o.Agent.platform=o.getPlatform(o.Agent.source),o.Agent.browser=o.getBrowser(o.Agent.source),o.Agent.version=o.getBrowserVersion(o.Agent.source),o.testNginxGeoIP(e.headers),o.testBot(),o.testMobile(),o.testAndroidTablet(),o.testTablet(),o.testCompatibilityMode(),o.testSilk(),o.testKindleFire(),o.testWechat(),e.useragent=o.Agent,"function"==typeof t.locals?t.locals({useragent:o.Agent}):t.locals.useragent=o.Agent,n()}}},42431(){ 16/*! 17 * express-useragent.js v1.0.15 (https://github.com/biggora/express-useragent/) 18 * Copyright 2011-2020 Aleksejs Gordejevs 19 * Licensed under MIT (https://github.com/biggora/express-useragent/blob/master/README.md#license) 20 */ 21!function(e){"use strict";var t=new RegExp("^.*("+["\\+https:\\/\\/developers.google.com\\/\\+\\/web\\/snippet\\/","ad\\smonitoring","adsbot","apex","applebot","archive.org_bot","baiduspider","bingbot","chromeheadless","cloudflare","cloudinary","crawler","curl","discordbot","duckduckbot","embedly","exabot","facebookexternalhit","facebot","flipboard","google","googlebot","gsa-crawler","gurujibot","guzzlehttp","heritrix","ia_archiver","insights","linkedinbot","ltx71","mediapartners","msnbot","odklbot","phantom\\.js","phantomjs","pingdom","pinterest","python","rtlnieuws","skypeuripreview","slackbot","slurp","spbot","telegrambot","test\\scertificate","testing","tiabot","tumblr ","twitterbot","vkshare","web\\sscraper","wget","yandexbot","whatsapp","orangebot","smtbot","qwantify","mj12bot","ahrefsbot","seznambot","panscient.com","duckduckgo-favicons-bot","uptimerobot","semrushbot","postman","dotbot","zoominfobot","ifttt","sogou","ru_bot","researchscan","nimbostratus-bot","slack-imgproxy","node-superagent","go-http-client","jersey","dataprovider.com","github-camo","dispatch","checkmarknetwork","screaming frog","whatweb","daum","netcraftsurveyagent","mojeekbot","surdotlybot","springbot"].join("|")+").*$"),n=function(){return this.version="1.0.15",this._Versions={Edge:/(?:edge|edga|edgios|edg)\/([\d\w\.\-]+)/i,Firefox:/(?:firefox|fxios)\/([\d\w\.\-]+)/i,IE:/msie\s([\d\.]+[\d])|trident\/\d+\.\d+;.*[rv:]+(\d+\.\d)/i,Chrome:/(?:chrome|crios)\/([\d\w\.\-]+)/i,Chromium:/chromium\/([\d\w\.\-]+)/i,Safari:/(version|safari)\/([\d\w\.\-]+)/i,Opera:/version\/([\d\w\.\-]+)|OPR\/([\d\w\.\-]+)/i,Ps3:/([\d\w\.\-]+)\)\s*$/i,Psp:/([\d\w\.\-]+)\)?\s*$/i,Amaya:/amaya\/([\d\w\.\-]+)/i,SeaMonkey:/seamonkey\/([\d\w\.\-]+)/i,OmniWeb:/omniweb\/v([\d\w\.\-]+)/i,Flock:/flock\/([\d\w\.\-]+)/i,Epiphany:/epiphany\/([\d\w\.\-]+)/i,WinJs:/msapphost\/([\d\w\.\-]+)/i,PhantomJS:/phantomjs\/([\d\w\.\-]+)/i,AlamoFire:/alamofire\/([\d\w\.\-]+)/i,UC:/ucbrowser\/([\d\w\.]+)/i,Facebook:/FBAV\/([\d\w\.]+)/i,WebKit:/applewebkit\/([\d\w\.]+)/i,Wechat:/micromessenger\/([\d\w\.]+)/i,Electron:/Electron\/([\d\w\.]+)/i}
21,this._Browsers={YaBrowser:/yabrowser/i,Edge:/edge|edga|edgios|edg/i,Amaya:/amaya/i,Konqueror:/konqueror/i,Epiphany:/epiphany/i,SeaMonkey:/seamonkey/i,Flock:/flock/i,OmniWeb:/omniweb/i,Chromium:/chromium/i,Chrome:/chrome|crios/i,Safari:/safari/i,IE:/msie|trident/i,Opera:/opera|OPR\//i,PS3:/playstation 3/i,PSP:/playstation portable/i,Firefox:/firefox|fxios/i,WinJs:/msapphost/i,PhantomJS:/phantomjs/i,AlamoFire:/alamofire/i,UC:/UCBrowser/i,Facebook:/FBA[NV]/},this._OS={Windows10:/windows nt 10\.0/i,Windows81:/windows nt 6\.3/i,Windows8:/windows nt 6\.2/i,Windows7:/windows nt 6\.1/i,UnknownWindows:/windows nt 6\.\d+/i,WindowsVista:/windows nt 6\.0/i,Windows2003:/windows nt 5\.2/i,WindowsXP:/windows nt 5\.1/i,Windows2000:/windows nt 5\.0/i,WindowsPhone81:/windows phone 8\.1/i,WindowsPhone80:/windows phone 8\.0/i,OSXCheetah:/os x 10[._]0/i,OSXPuma:/os x 10[._]1(\D|$)/i,OSXJaguar:/os x 10[._]2/i,OSXPanther:/os x 10[._]3/i,OSXTiger:/os x 10[._]4/i,OSXLeopard:/os x 10[._]5/i,OSXSnowLeopard:/os x 10[._]6/i,OSXLion:/os x 10[._]7/i,OSXMountainLion:/os x 10[._]8/i,OSXMavericks:/os x 10[._]9/i,OSXYosemite:/os x 10[._]10/i,OSXElCapitan:/os x 10[._]11/i,MacOSSierra:/os x 10[._]12/i,MacOSHighSierra:/os x 10[._]13/i,MacOSMojave:/os x 10[._]14/i,Mac:/os x/i,Linux:/linux/i,Linux64:/linux x86\_64/i,ChromeOS:/cros/i,Wii:/wii/i,PS3:/playstation 3/i,PSP:/playstation portable/i,iPad:/\(iPad.*os (\d+)[._](\d+)/i,iPhone:/\(iPhone.*os (\d+)[._](\d+)/i,iOS:/ios/i,Bada:/Bada\/(\d+)\.(\d+)/i,Curl:/curl\/(\d+)\.(\d+)\.(\d+)/i,Electron:/Electron\/(\d+)\.(\d+)\.(\d+)/i},this._Platform={Windows:/windows nt/i,WindowsPhone:/windows phone/i,Mac:/macintosh/i,Linux:/linux/i,Wii:/wii/i,Playstation:/playstation/i,iPad:/ipad/i,iPod:/ipod/i,iPhone:/iphone/i,Android:/android/i,Blackberry:/blackberry/i,Samsung:/samsung/i,Curl:/curl/i,Electron:/Electron/i,iOS:/^ios\-/i},this.DefaultAgent={isYaBrowser:!1,isAuthoritative:!0,isMobile:!1,isMobileNative:!1,isTablet:!1,isiPad:!1,isiPod:!1,isiPhone:!1,isiPhoneNative:!1,isAndroid:!1,isAndroidNative:!1,isBlackberry:!1,isOpera:!1,isIE:!1,isEdge:!1,isIECompatibilityMode:!1,isSafari:!1,isFirefox:!1,isWebkit:!1,isChrome:!1,isKonqueror:!1,isOmniWeb:!1,isSeaMonkey:!1,isFlock:!1,isAmaya:!1,isPhantomJS:!1,isEpiphany:!1,isDesktop:!1,isWindows:!1,isLinux:!1,isLinux64:!1,isMac:!1,isChromeOS:!1,isBada:!1,isSamsung:!1,isRaspberry:!1,isBot:!1,isCurl:!1,isAndroidTablet:!1,isWinJs:!1,isKindleFire:!1,isSilk:!1,isCaptive:!1,isSmartTV:!1,isUC:!1,isFacebook:!1,isAlamoFire:!1,isElectron:!1,silkAccelerated:!1,browser:"unknown",version:"unknown",os:"unknown",platform:"unknown",geoIp:{},source:"",isWechat:!1},this.Agent={},this.getBrowser=function(e){switch(!0){case this._Browsers.YaBrowser.test(e):return this.Agent.isYaBrowser=!0,"YaBrowser";case this._Browsers.AlamoFire.test(e):return this.Agent.isAlamoFire=!0,"AlamoFire";case this._Browsers.Edge.test(e):return this.Agent.isEdge=!0,"Edge";case this._Browsers.PhantomJS.test(e):return this.Agent.isPhantomJS=!0,"PhantomJS";case this._Browsers.Konqueror.test(e):return this.Agent.isKonqueror=!0,"Konqueror";case this._Browsers.Amaya.test(e):return this.Agent.isAmaya=!0,"Amaya";case this._Browsers.Epiphany.test(e):return this.Agent.isEpiphany=!0,"Epiphany";case this._Browsers.SeaMonkey.test(e):return this.Agent.isSeaMonkey=!0,"SeaMonkey";case this._Browsers.Flock.test(e):return this.Agent.isFlock=!0,"Flock";case this._Browsers.OmniWeb.test(e):return this.Agent.isOmniWeb=!0,"OmniWeb";case this._Browsers.Opera.test(e):return this.Agent.isOpera=!0,"Opera";case this._Browsers.Chromium.test(e):return this.Agent.isChrome=!0,"Chromium";case this._Browsers.Facebook.test(e):return this.Agent.isFacebook=!0,"Facebook";case this._Browsers.Chrome.test(e):return this.Agent.isChrome=!0,"Chrome";case this._Browsers.WinJs.test(e):return this.Agent.isWinJs=!0,"WinJs";case this._Browsers.IE.test(e):return this.Agent.isIE=!0,"IE";case this._Browsers.Firefox.test(e):return this.Agent.isFirefox=!0,"Firefox";case this._Browsers.Safari.test(e):return this.Agent.isSafari=!0,"Safari";case this._Browsers.PS3.test(e):return"ps3";case this._Browsers.PSP.test(e):return"psp";case this._Browsers.UC.test(e):return this.Agent.isUC=!0,"UCBrowser";default:return-1!==e.indexOf("Dalvik")?"unknown":0!==e.indexOf("Mozilla")&&/^([\d\w\-\.]+)\/[\d\w\.\-]+/i.test(e)?(this.Agent.isAuthoritative=!1,RegExp.$1):"unknown"}},this.getBrowserVersion=function(e){switch(this.Agent.browser){case"Edge":if(this._Versions.Edge.test(e))return RegExp.$1;break;case"PhantomJS":if(this._Versions.PhantomJS.test(e))return RegExp.$1;break;case"Chrome":if(this._Versions.Chrome.test(e))return RegExp.$1;break;case"Chromium":if(this._Versions.Chromium.test(e))return RegExp.$1;break;case"Safari":if(this._Versions.Safari.test(e))return RegExp.$2;break;case"Opera":if(this._Versions.Opera.test(e))return RegExp.$1?RegExp.$1:RegExp.$2;break;case"Firefox":if(this._Versions.Firefox.test(e))return RegExp.$1;break;case"WinJs":if(this._Versions.WinJs.test(e))return RegExp.$1;break;case"IE":if(this._Versions.IE.test(e))return RegExp.$2?RegExp.$2:RegExp.$1;break;case"ps3":if(this._Versions.Ps3.test(e))return RegExp.$1;break;case"psp":if(this._Versions.Psp.test(e))return RegExp.$1;break;case"Amaya":if(this._Versions.Amaya.test(e))return RegExp.$1;break;case"Epiphany":if(this._Versions.Epiphany.test(e))return RegExp.$1;break;case"SeaMonkey":if(this._Versions.SeaMonkey.test(e))return RegExp.$1;break;case"Flock":if(this._Versions.Flock.test(e))return RegExp.$1;break;case"OmniWeb":if(this._Versions.OmniWeb.test(e))return RegExp.$1;break;case"UCBrowser":if(this._Versions.UC.test(e))return RegExp.$1;break;case"Facebook":if(this._Versions.Facebook.test(e))return RegExp.$1;break;default:if("unknown"===this.Agent.browser)return this.testWebkit(),this.Agent.isWebkit&&this._Versions.WebKit.test(e)?RegExp.$1:"unknown";if(new RegExp(this.Agent.browser+"[\\/ ]([\\d\\w\\.\\-]+)","i").test(e))return RegExp.$1}},this.getWechatVersion=function(e){return this._Versions.Wechat.test(e)?RegExp.$1:"unknown"},this.getElectronVersion=function(e){return this._Versions.Electron.test(e)?(this.Agent.isElectron=!0,RegExp.$1):""},this.getOS=function(e){switch(!0){case this._OS.WindowsVista.test(e):return this.Agent.isWindows=!0,"Windows Vista";case this._OS.Windows7.test(e):return this.Agent.isWindows=!0,"Windows 7";case this._OS.Windows8.test(e):return this.Agent.isWindows=!0,"Windows 8";case this._OS.Windows81.test(e):return this.Agent.isWindows=!0,"Windows 8.1";case this._OS.Windows10.test(e):return this.Agent.isWindows=!0,"Windows 10.0";case this._OS.Windows2003.test(e):return this.Agent.isWindows=!0,"Windows 2003";case this._OS.WindowsXP.test(e):return this.Agent.isWindows=!0,"Windows XP";case this._OS.Windows2000.test(e):return this.Agent.isWindows=!0,"Windows 2000";case this._OS.WindowsPhone81.test(e):return this.Agent.isWindowsPhone=!0,"Windows Phone 8.1";case this._OS.WindowsPhone80.test(e):return this.Agent.isWindowsPhone=!0,"Windows Phone 8.0";case this._OS.Linux64.test(e):return this.Agent.isLinux=!0,this.Agent.isLinux64=!0,"Linux 64";case this._OS.Linux.test(e):return this.Agent.isLinux=!0,"Linux";case this._OS.ChromeOS.test(e):return this.Agent.isChromeOS=!0,"Chrome OS";case this._OS.Wii.test(e):return"Wii";case this._OS.PS3.test(e):case this._OS.PSP.test(e):return"Playstation";case this._OS.OSXCheetah.test(e):return this.Agent.isMac=!0,"OS X Cheetah";case this._OS.OSXPuma.test(e):return this.Agent.isMac=!0,"OS X Puma";case this._OS.OSXJaguar.test(e):return this.Agent.isMac=!0,"OS X Jaguar";case this._OS.OSXPanther.test(e):return this.Agent.isMac=!0,"OS X Panther";case this._OS.OSXTiger.test(e):return this.Agent.isMac=!0,"OS X Tiger";case this._OS.OSXLeopard.test(e):return this.Agent.isMac=!0,"OS X Leopard";case this._OS.OSXSnowLeopard.test(e):return this.Agent.isMac=!0,"OS X Snow Leopard";case this._OS.OSXLion.test(e):return this.Agent.isMac=!0,"OS X Lion";case this._OS.OSXMountainLion.test(e):return this.Agent.isMac=!0,"OS X Mountain
21Lion";case this._OS.OSXMavericks.test(e):return this.Agent.isMac=!0,"OS X Mavericks";case this._OS.OSXYosemite.test(e):return this.Agent.isMac=!0,"OS X Yosemite";case this._OS.OSXElCapitan.test(e):return this.Agent.isMac=!0,"OS X El Capitan";case this._OS.MacOSSierra.test(e):return this.Agent.isMac=!0,"macOS Sierra";case this._OS.MacOSHighSierra.test(e):return this.Agent.isMac=!0,"macOS High Sierra";case this._OS.MacOSMojave.test(e):return this.Agent.isMac=!0,"macOS Mojave";case this._OS.Mac.test(e):return this.Agent.isMac=!0,"OS X";case this._OS.iPad.test(e):return this.Agent.isiPad=!0,e.match(this._OS.iPad)[0].replace("_",".");case this._OS.iPhone.test(e):return this.Agent.isiPhone=!0,e.match(this._OS.iPhone)[0].replace("_",".");case this._OS.Bada.test(e):return this.Agent.isBada=!0,"Bada";case this._OS.Curl.test(e):return this.Agent.isCurl=!0,"Curl";case this._OS.iOS.test(e):return this.Agent.isiPhone=!0,"iOS";case this._OS.Electron.test(e):return this.Agent.isElectron=!0,"Electron";default:return"unknown"}},this.getPlatform=function(e){switch(!0){case this._Platform.Windows.test(e):return"Microsoft Windows";case this._Platform.WindowsPhone.test(e):return this.Agent.isWindowsPhone=!0,"Microsoft Windows Phone";case this._Platform.Mac.test(e):return"Apple Mac";case this._Platform.Curl.test(e):return"Curl";case this._Platform.Electron.test(e):return this.Agent.isElectron=!0,"Electron";case this._Platform.Android.test(e):return this.Agent.isAndroid=!0,"Android";case this._Platform.Blackberry.test(e):return this.Agent.isBlackberry=!0,"Blackberry";case this._Platform.Linux.test(e):return"Linux";case this._Platform.Wii.test(e):return"Wii";case this._Platform.Playstation.test(e):return"Playstation";case this._Platform.iPad.test(e):return this.Agent.isiPad=!0,"iPad";case this._Platform.iPod.test(e):return this.Agent.isiPod=!0,"iPod";case this._Platform.iPhone.test(e):return this.Agent.isiPhone=!0,"iPhone";case this._Platform.Samsung.test(e):return this.Agent.isSamsung=!0,"Samsung";case this._Platform.iOS.test(e):return"Apple iOS";default:return"unknown"}},this.testCompatibilityMode=function(){var e=this;if(this.Agent.isIE&&/Trident\/(\d)\.0/i.test(e.Agent.source)){var t=parseInt(RegExp.$1,10),n=parseInt(e.Agent.version,10);7===n&&7===t&&(e.Agent.isIECompatibilityMode=!0,e.Agent.version=11),7===n&&6===t&&(e.Agent.isIECompatibilityMode=!0,e.Agent.version=10),7===n&&5===t&&(e.Agent.isIECompatibilityMode=!0,e.Agent.version=9),7===n&&4===t&&(e.Agent.isIECompatibilityMode=!0,e.Agent.version=8)}},this.testSilk=function(){if(!0===new RegExp("silk","gi").test(this.Agent.source))this.Agent.isSilk=!0;return/Silk-Accelerated=true/gi.test(this.Agent.source)&&(this.Agent.SilkAccelerated=!0),!!this.Agent.isSilk&&"Silk"},this.testKindleFire=function(){var e=this;switch(!0){case/KFOT/gi.test(e.Agent.source):return this.Agent.isKindleFire=!0,"Kindle Fire";case/KFTT/gi.test(e.Agent.source):return this.Agent.isKindleFire=!0,"Kindle Fire HD";case/KFJWI/gi.test(e.Agent.source):return this.Agent.isKindleFire=!0,"Kindle Fire HD 8.9";case/KFJWA/gi.test(e.Agent.source):return this.Agent.isKindleFire=!0,"Kindle Fire HD 8.9 4G";case/KFSOWI/gi.test(e.Agent.source):return this.Agent.isKindleFire=!0,"Kindle Fire HD 7";case/KFTHWI/gi.test(e.Agent.source):return this.Agent.isKindleFire=!0,"Kindle Fire HDX 7";case/KFTHWA/gi.test(e.Agent.source):return this.Agent.isKindleFire=!0,"Kindle Fire HDX 7 4G";case/KFAPWI/gi.test(e.Agent.source):return this.Agent.isKindleFire=!0,"Kindle Fire HDX 8.9";case/KFAPWA/gi.test(e.Agent.source):return this.Agent.isKindleFire=!0,"Kindle Fire HDX 8.9 4G";default:return!1}},this.testCaptiveNetwork=function(){var e=this;return!0===/CaptiveNetwork/gi.test(e.Agent.source)&&(e.Agent.isCaptive=!0,e.Agent.isMac=!0,e.Agent.platform="Apple Mac","CaptiveNetwork")},this.reset=function(){var e=this;for(var t in e.DefaultAgent)e.Agent[t]=e.DefaultAgent[t];return e},this.testMobile=function(){var e=this;switch(!0){case e.Agent.isWindows:case e.Agent.isLinux:case e.Agent.isMac:case e.Agent.isChromeOS:e.Agent.isDesktop=!0;break;case e.Agent.isAndroid:case e.Agent.isSamsung:e.Agent.isMobile=!0}switch(!0){case e.Agent.isiPad:case e.Agent.isiPod:case e.Agent.isiPhone:case e.Agent.isBada:case e.Agent.isBlackberry:case e.Agent.isAndroid:case e.Agent.isWindowsPhone:e.Agent.isMobile=!0,e.Agent.isDesktop=!1}
21/mobile|^ios\-/i.test(e.Agent.source)&&(e.Agent.isMobile=!0,e.Agent.isDesktop=!1),/dalvik/i.test(e.Agent.source)&&(e.Agent.isAndroidNative=!0,e.Agent.isMobileNative=!0),/scale/i.test(e.Agent.source)&&(e.Agent.isiPhoneNative=!0,e.Agent.isMobileNative=!0)},this.testTablet=function(){var e=this;switch(!0){case e.Agent.isiPad:case e.Agent.isAndroidTablet:case e.Agent.isKindleFire:e.Agent.isTablet=!0}/tablet/i.test(e.Agent.source)&&(e.Agent.isTablet=!0)},this.testNginxGeoIP=function(e){var t=this;return Object.keys(e).forEach((function(n){/^GEOIP/i.test(n)&&(t.Agent.geoIp[n]=e[n])})),t},this.testBot=function(){var e=this,n=t.exec(e.Agent.source.toLowerCase());n?e.Agent.isBot=n[1]:e.Agent.isAuthoritative||(e.Agent.isBot=/bot/i.test(e.Agent.source))},this.testSmartTV=function(){this.Agent.isSmartTV=new RegExp("smart-tv|smarttv|googletv|appletv|hbbtv|pov_tv|netcast.tv","gi").test(this.Agent.source.toLowerCase())},this.testAndroidTablet=function(){var e=this;e.Agent.isAndroid&&!/mobile/i.test(e.Agent.source)&&(e.Agent.isAndroidTablet=!0)},this.testWebkit=function(){var e=this;"unknown"===e.Agent.browser&&/applewebkit/i.test(e.Agent.source)&&(e.Agent.browser="Apple WebKit",e.Agent.isWebkit=!0)},this.testWechat=function(){var e=this;/micromessenger/i.test(e.Agent.source)&&(e.Agent.isWechat=!0,e.Agent.version=this.getWechatVersion(e.Agent.source))},this.parse=function(e){var t=new n;return t.Agent.source=e.replace(/^\s*/,"").replace(/\s*$/,""),t.Agent.os=t.getOS(t.Agent.source),t.Agent.platform=t.getPlatform(t.Agent.source),t.Agent.browser=t.getBrowser(t.Agent.source),t.Agent.version=t.getBrowserVersion(t.Agent.source),t.Agent.electronVersion=t.getElectronVersion(t.Agent.source),t.testBot(),t.testSmartTV(),t.testMobile(),t.testAndroidTablet(),t.testTablet(),t.testCompatibilityMode(),t.testSilk(),t.testKindleFire(),t.testCaptiveNetwork(),t.testWebkit(),t.testWechat(),t.Agent},this.Agent=this.DefaultAgent,this};e.UserAgent=n,new n}(this)},87423(e,t,n){"use strict";n.d(t,{ZR:()=>X});const i=(()=>{let e=0;return()=>(e+=1,`u${`0000${(Math.random()*36**4|0).toString(36)}`.slice(-4)}${e}`)})();function r(e){const t=[];for(let n=0,i=e.length;n<i;n++)t.push(e[n]);return t}let o=null;function a(e={}){return o||(e.includeStyleProperties?(o=e.includeStyleProperties,o):(o=r(window.getComputedStyle(document.documentElement)),o))}function s(e,t){const n=(e.ownerDocument.defaultView||window).getComputedStyle(e).getPropertyValue(t);return n?parseFloat(n.replace("px","")):0}function l(e,t={}){return{width:t.width||function(e){const t=s(e,"border-left-width"),n=s(e,"border-right-width");return e.clientWidth+t+n}(e),height:t.height||function(e){const t=s(e,"border-top-width"),n=s(e,"border-bottom-width");return e.clientHeight+t+n}(e)}}const c=16384;function d(e){return new Promise(((t,n)=>{const i=new Image;i.onload=()=>{i.decode().then((()=>{requestAnimationFrame((()=>t(i)))}))},i.onerror=n,i.crossOrigin="anonymous",i.decoding="async",i.src=e}))}async function u(e,t,n){const i="http://www.w3.org/2000/svg",r=document.createElementNS(i,"svg"),o=document.createElementNS(i,"foreignObject");return r.setAttribute("width",`${t}`),r.setAttribute("height",`${n}`),r.setAttribute("viewBox",`0 0 ${t} ${n}`),o.setAttribute("width","100%"),o.setAttribute("height","100%"),o.setAttribute("x","0"),o.setAttribute("y","0"),o.setAttribute("externalResourcesRequired","true"),r.appendChild(o),o.appendChild(e),async function(e){return Promise.resolve().then((()=>(new XMLSerializer).serializeToString(e))).then(encodeURIComponent).then((e=>`data:image/svg+xml;charset=utf-8,${e}`))}(r)}const h=(e,t)=>{if(e instanceof t)return!0;const n=Object.getPrototypeOf(e);return null!==n&&(n.constructor.name===t.name||h(n,t))};function g(e,t,n,i){const r=`.${e}:${t}`,o=n.cssText?function(e){const t=e.getPropertyValue("content");return`${e.cssText} content: '${t.replace(/'|"/g,"")}';`}(n):function(e,t){return a(t).map((t=>`${t}: ${e.getPropertyValue(t)}${e.getPropertyPriority(t)?" !important":""};`)).join(" ")}(n,i);return document.createTextNode(`${r}{${o}}`)}function m(e,t,n,r){const o=window.getComputedStyle(e,n),a=o.getPropertyValue("content");
21if(""===a||"none"===a)return;const s=i();try{t.className=`${t.className} ${s}`}catch(e){return}const l=document.createElement("style");l.appendChild(g(s,n,o,r)),t.appendChild(l)}const p="application/font-woff",f="image/jpeg",b={woff:p,woff2:p,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:f,jpeg:f,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml",webp:"image/webp"};function w(e){const t=function(e){const t=/\.([^./]*?)$/g.exec(e);return t?t[1]:""}(e).toLowerCase();return b[t]||""}function S(e){return-1!==e.search(/^(data:)/)}function y(e,t){return`data:${t};base64,${e}`}async function v(e,t,n){const i=await fetch(e,t);if(404===i.status)throw new Error(`Resource "${i.url}" not found`);const r=await i.blob();return new Promise(((e,t)=>{const o=new FileReader;o.onerror=t,o.onloadend=()=>{try{e(n({res:i,result:o.result}))}catch(e){t(e)}},o.readAsDataURL(r)}))}const $={};async function x(e,t,n){const i=function(e,t,n){let i=e.replace(/\?.*/,"");return n&&(i=e),/ttf|otf|eot|woff2?/i.test(i)&&(i=i.replace(/.*\//,"")),t?`[${t}]${i}`:i}(e,t,n.includeQueryParams);if(null!=$[i])return $[i];let r;n.cacheBust&&(e+=(/\?/.test(e)?"&":"?")+(new Date).getTime());try{const i=await v(e,n.fetchRequestInit,(({res:e,result:n})=>(t||(t=e.headers.get("Content-Type")||""),function(e){return e.split(/,/)[1]}(n))));r=y(i,t)}catch(t){r=n.imagePlaceholder||"";let i=`Failed to fetch resource: ${e}`;t&&(i="string"==typeof t?t:t.message)}return $[i]=r,r}async function C(e,t){return h(e,HTMLCanvasElement)?async function(e){const t=e.toDataURL();return"data:,"===t?e.cloneNode(!1):d(t)}(e):h(e,HTMLVideoElement)?async function(e,t){if(e.currentSrc){const t=document.createElement("canvas"),n=t.getContext("2d");return t.width=e.clientWidth,t.height=e.clientHeight,null==n||n.drawImage(e,0,0,t.width,t.height),d(t.toDataURL())}const n=e.poster,i=w(n);return d(await x(n,i,t))}(e,t):h(e,HTMLIFrameElement)?async function(e,t){var n;try{if(null===(n=null==e?void 0:e.contentDocument)||void 0===n?void 0:n.body)return await E(e.contentDocument.body,t,!0)}catch(e){}return e.cloneNode(!1)}(e,t):e.cloneNode(A(e))}const A=e=>null!=e.tagName&&"SVG"===e.tagName.toUpperCase();function k(e,t,n){return h(t,Element)&&(function(e,t,n){const i=t.style;if(!i)return;const r=window.getComputedStyle(e);r.cssText?(i.cssText=r.cssText,i.transformOrigin=r.transformOrigin):a(n).forEach((n=>{let o=r.getPropertyValue(n);if("font-size"===n&&o.endsWith("px")){const e=Math.floor(parseFloat(o.substring(0,o.length-2)))-.1;o=`${e}px`}h(e,HTMLIFrameElement)&&"display"===n&&"inline"===o&&(o="block"),"d"===n&&t.getAttribute("d")&&(o=`path(${t.getAttribute("d")})`),i.setProperty(n,o,r.getPropertyPriority(n))}))}(e,t,n),function(e,t,n){m(e,t,":before",n),m(e,t,":after",n)}(e,t,n),function(e,t){h(e,HTMLTextAreaElement)&&(t.innerHTML=e.value),h(e,HTMLInputElement)&&t.setAttribute("value",e.value)}(e,t),function(e,t){if(h(e,HTMLSelectElement)){const n=t,i=Array.from(n.children).find((t=>e.value===t.getAttribute("value")));i&&i.setAttribute("selected","")}}(e,t)),t}async function E(e,t,n){return n||!t.filter||t.filter(e)?Promise.resolve(e).then((e=>C(e,t))).then((n=>async function(e,t,n){var i,o;if(A(t))return t;let a=[];var s;return a=null!=(s=e).tagName&&"SLOT"===s.tagName.toUpperCase()&&e.assignedNodes?r(e.assignedNodes()):h(e,HTMLIFrameElement)&&(null===(i=e.contentDocument)||void 0===i?void 0:i.body)?r(e.contentDocument.body.childNodes):r((null!==(o=e.shadowRoot)&&void 0!==o?o:e).childNodes),0===a.length||h(e,HTMLVideoElement)||await a.reduce(((e,i)=>e.then((()=>E(i,n))).then((e=>{e&&t.appendChild(e)}))),Promise.resolve()),t}(e,n,t))).then((n=>k(e,n,t))).then((e=>async function(e,t){const n=e.querySelectorAll?e.querySelectorAll("use"):[];if(0===n.length)return e;const i={};for(let r=0;r<n.length;r++){const o=n[r].getAttribute("xlink:href");if(o){const n=e.querySelector(o),r=document.querySelector(o);n||!r||i[o]||(i[o]=await E(r,t,!0))}}const r=Object.values(i);if(r.length){const t="http://www.w3.org/1999/xhtml",n=document.createElementNS(t,"svg");n.setAttribute("xmlns",t),n.style.position="absolute",n.style.width="0",n.style.height="0",n.style.overflow="hidden",n.style.display="none";const i=document.createElementNS(t,"defs");n.appendChild(i);for(let e=0;e<r.length;e++)i.appendChild(r[e]);e.appendChild(n)}return e}(e,t))):null}const P=/url\((['"]?)([^'"]+?)\1\)/g,M=/url\([^)]+\)\s*format\((["']?)([^"']+)\1\)/g,O=/src:\s*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g;async function I(e,t,n,i,r){try{const o=n?function(e,t){if(e.match(/^[a-z]+:\/\//i))return e;if(e.match(/^\/\//))return window.location.protocol+e;if(e.match(/^[a-z]+:/i))return e;const n=document.implementation.createHTMLDocument(),i=n.createElement("base"),r=n.createElement("a");return n.head.appendChild(i),n.body.appendChild(r),t&&(i.href=t),r.href=e,r.href}(t,n):t,a=w(t);let s;if(r){s=y(await r(o),a)}else s=await x(o,a,i);return e.replace(function(e){const t=e.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1");return new RegExp(`(url\\(['"]?)(${t})(['"]?\\))`,"g")}(t),`$1${s}$3`)}catch(e){}return e}function _(e){return-1!==e.search(P)}async function R(e,t,n){if(!_(e))return e;const i=function(e,{preferredFontFormat:t}){return t?e.replace(O,(e=>{for(;;){const[n,,i]=M.exec(e)||[];if(!i)return"";if(i===t)return`src: ${n};`}})):e}(e,n),r=function(e){const t=[];return e.replace(P,((e,n,i)=>(t.push(i),e))),t.filter((e=>!S(e)))}(i);return r.reduce(((e,i)=>e.then((e=>I(e,i,t,n)))),Promise.resolve(i))}async function z(e,t,n){var i;const r=null===(i=t.style)||void 0===i?void 0:i.getPropertyValue(e);if(r){const i=await R(r,null,n);return t.style.setProperty(e,i,t.style.getPropertyPriority(e)),!0}return!1}async function B(e,t){h(e,Element)&&(await async function(e,t){await z("background",e,t)||await z("background-image",e,t),await z("mask",e,t)||await z("-webkit-mask",e,t)||await z("mask-image",e,t)||await z("-webkit-mask-image",e,t)}(e,t),await async function(e,t){const n=h(e,HTMLImageElement);if((!n||S(e.src))&&(!h(e,SVGImageElement)||S(e.href.baseVal)))return;const i=n?e.src:e.href.baseVal,r=await x(i,w(i),t);await new Promise(((i,o)=>{e.onload=i,e.onerror=t.onImageErrorHandler?(...e)=>{try{i(t.onImageErrorHandler(...e))}catch(e){o(e)}}:o;const a=e;a.decode&&(a.decode=i),"lazy"===a.loading&&(a.loading="eager"),n?(e.srcset="",e.src=r):e.href.baseVal=r}))}(e,t),await async function(e,t){const n=r(e.childNodes).map((e=>B(e,t)));await Promise.all(n).then((()=>e))}(e,t))}const N={};async function L(e){let t=N[e];if(null!=t)return t;const n=await fetch(e);return t={url:e,cssText:await n.text()},N[e]=t,t}async function F(e,t){let n=e.cssText;const i=/url\(["']?([^"')]+)["']?\)/g,r=(n.match(/url\([^)]+\)/g)||[]).map((async r=>{let o=r.replace(i,"$1");return o.startsWith("https://")||(o=new URL(o,e.url).href),v(o,t.fetchRequestInit,(({result:e})=>(n=n.replace(r,`url(${e})`),[r,e])))}));return Promise.all(r).then((()=>n))}function T(e){if(null==e)return[];const t=[];let n=e.replace(/(\/\*[\s\S]*?\*\/)/gi,"");const i=new RegExp("((@.*?keyframes [\\s\\S]*?){([\\s\\S]*?}\\s*?)}
21)","gi");for(;;){const e=i.exec(n);if(null===e)break;t.push(e[0])}n=n.replace(i,"");const r=/@import[\s\S]*?url\([^)]*\)[\s\S]*?;/gi,o=new RegExp("((\\s*?(?:\\/\\*[\\s\\S]*?\\*\\/)?\\s*?@media[\\s\\S]*?){([\\s\\S]*?)}\\s*?})|(([\\s\\S]*?){([\\s\\S]*?)})","gi");for(;;){let e=r.exec(n);if(null===e){if(e=o.exec(n),null===e)break;r.lastIndex=o.lastIndex}else o.lastIndex=r.lastIndex;t.push(e[0])}return t}async function W(e,t){if(null==e.ownerDocument)throw new Error("Provided element is not within a Document");const n=r(e.ownerDocument.styleSheets),i=await async function(e,t){const n=[],i=[];return e.forEach((n=>{if("cssRules"in n)try{r(n.cssRules||[]).forEach(((e,r)=>{if(e.type===CSSRule.IMPORT_RULE){let o=r+1;const a=L(e.href).then((e=>F(e,t))).then((e=>T(e).forEach((e=>{try{n.insertRule(e,e.startsWith("@import")?o+=1:n.cssRules.length)}catch(e){}})))).catch((e=>{}));i.push(a)}}))}catch(r){const o=e.find((e=>null==e.href))||document.styleSheets[0];null!=n.href&&i.push(L(n.href).then((e=>F(e,t))).then((e=>T(e).forEach((e=>{o.insertRule(e,o.cssRules.length)})))).catch((e=>{})))}})),Promise.all(i).then((()=>(e.forEach((e=>{if("cssRules"in e)try{r(e.cssRules||[]).forEach((e=>{n.push(e)}))}catch(e){}})),n)))}(n,t);return function(e){return e.filter((e=>e.type===CSSRule.FONT_FACE_RULE)).filter((e=>_(e.style.getPropertyValue("src"))))}(i)}function D(e){return e.trim().replace(/["']/g,"")}async function j(e,t){const n=await W(e,t),i=function(e){const t=new Set;return function e(n){(n.style.fontFamily||getComputedStyle(n).fontFamily).split(",").forEach((e=>{t.add(D(e))})),Array.from(n.children).forEach((t=>{t instanceof HTMLElement&&e(t)}
21))}(e),t}(e);return(await Promise.all(n.filter((e=>i.has(D(e.style.fontFamily)))).map((e=>{const n=e.parentStyleSheet?e.parentStyleSheet.href:null;return R(e.cssText,n,t)})))).join("\n")}async function H(e,t={}){const{width:n,height:i}=l(e,t),r=await E(e,t,!0);await async function(e,t){const n=null!=t.fontEmbedCSS?t.fontEmbedCSS:t.skipFonts?null:await j(e,t);if(n){const t=document.createElement("style"),i=document.createTextNode(n);t.appendChild(i),e.firstChild?e.insertBefore(t,e.firstChild):e.appendChild(t)}}(r,t),await B(r,t),function(e,t){const{style:n}=e;t.backgroundColor&&(n.backgroundColor=t.backgroundColor),t.width&&(n.width=`${t.width}px`),t.height&&(n.height=`${t.height}px`);const i=t.style;null!=i&&Object.keys(i).forEach((e=>{n[e]=i[e]}))}(r,t);return await u(r,n,i)}async function V(e,t={}){const{width:n,height:i}=l(e,t),r=await H(e,t),o=await d(r),a=document.createElement("canvas"),s=a.getContext("2d"),u=t.pixelRatio||function(){let e,t;try{t=process}catch(e){}const n=t&&t.env?t.env.devicePixelRatio:null;return n&&(e=parseInt(n,10),Number.isNaN(e)&&(e=1)),e||window.devicePixelRatio||1}(),h=t.canvasWidth||n,g=t.canvasHeight||i;return a.width=h*u,a.height=g*u,t.skipAutoScale||function(e){(e.width>c||e.height>c)&&(e.width>c&&e.height>c?e.width>e.height?(e.height*=c/e.width,e.width=c):(e.width*=c/e.height,e.height=c):e.width>c?(e.height*=c/e.width,e.width=c):(e.width*=c/e.height,e.height=c))}(a),a.style.width=`${h}`,a.style.height=`${g}`,t.backgroundColor&&(s.fillStyle=t.backgroundColor,s.fillRect(0,0,a.width,a.height)),s.drawImage(o,0,0,a.width,a.height),a}async function X(e,t={}){const n=await V(e,t),i=await function(e,t={}){return e.toBlob?new Promise((n=>{e.toBlob(n,t.type?t.type:"image/png",t.quality?t.quality:1)})):new Promise((n=>{const i=window.atob(e.toDataURL(t.type?t.type:void 0,t.quality?t.quality:void 0).split(",")[1]),r=i.length,o=new Uint8Array(r);for(let e=0;e<r;e+=1)o[e]=i.charCodeAt(e);n(new Blob([o],{type:t.type?t.type:"image/png"}))}))}(n);return i}},6605(e,t,n){"use strict";var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=i(n(62254));t.default=class{constructor(e="unknown"){this._agent=r.default.parse(e)}get isEpiphany(){return this._agent.isEpiphany}get isDesktop(){return this._agent.isDesktop}get isWindows(){return this._agent.isWindows}get isWindowsPhone(){return this._agent.isWindowsPhone}get isLinux(){return this._agent.isLinux}get isLinux64(){return this._agent.isLinux64}get isMac(){return this._agent.isMac}get isChromeOS(){return this._agent.isChromeOS}get isBada(){return this._agent.isBada}get isSamsung(){return this._agent.isSamsung}get isRaspberry(){return this._agent.isRaspberry}get isBot(){return!!this._agent.isBot}get isCurl(){return this._agent.isCurl}get isAndroidTablet(){return this._agent.isAndroidTablet}get isWinJs(){return this._agent.isWinJs}get isKindleFire(){return this._agent.isKindleFire}get isSilk(){return this._agent.isSilk}get isCaptive(){return this._agent.isCaptive}get isSmartTV(){return this._agent.isSmartTV}get silkAccelerated(){return this._agent.silkAccelerated}get SilkAccelerated(){return this._agent.SilkAccelerated}get browser(){return this._agent.browser}get version(){return`${this._agent.version}`}get os(){return this._agent.os}get platform(){return this._agent.platform}get geoIp(){return this._agent.geoIp}get source(){return this._agent.source}get isFacebook(){return this._agent.isFacebook}get isAmaya(){return this._agent.isAmaya}get isFlock(){return this._agent.isFlock}get isSeaMonkey(){return this._agent.isSeaMonkey}get isOmniWeb(){return this._agent.isOmniWeb}get isKonqueror(){return this._agent.isKonqueror}get isChrome(){return this._agent.isChrome}get isWebkit(){return this._agent.isWebkit}get isFirefox(){return this._agent.isFirefox}get isSafari(){return this._agent.isSafari}get isIECompatibilityMode(){return this._agent.isIECompatibilityMode}get isEdge(){return this._agent.isEdge}get isIE(){return this._agent.isIE}get isOpera(){return this._agent.isOpera}get isBlackberry(){return this._agent.isBlackberry}get isMobile(){return this._agent.isMobile}get isTablet(){return this._agent.isTablet}get isiPad(){return this._agent.isiPad}get isiPod(){return this._agent.isiPod}get isiPhone(){return this._agent.isiPhone}get isAndroid(){return this._agent.isAndroid}get isAuthoritative(){return this._agent.isAuthoritative}get isAlamoFire(){return this._agent.isAlamoFire}get isPhantomJS(){return this._agent.isPhantomJS}get isMobileNative(){return this._agent.isMobileNative}}},20150(e,t,n){"use strict";var i=n(65062),r=n(20873),o=n(39698),a=n(37643),s=n(41594),l=n(97500),c=n.n(l),d=n(68821),u=n(40096),h=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],g=s.forwardRef((function(e,t){var n,l=e.prefixCls,g=void 0===l?"rc-switch":l,m=e.className,p=e.checked,f=e.defaultChecked,b=e.disabled,w=e.loadingIcon,S=e.checkedChildren,y=e.unCheckedChildren,v=e.onClick,$=e.onChange,x=e.onKeyDown,C=(0,a.A)(e,h),A=(0,d.A)(!1,{value:p,defaultValue:f}),k=(0,o.A)(A,2),E=k[0],P=k[1];function M(e,t){var n=E;return b||(P(n=e),null==$||$(n,t)),n}var O=c()(g,m,(n={},(0,r.A)(n,"".concat(g,"-checked"),E),(0,r.A)(n,"".concat(g,"-disabled"),b),n));return s.createElement("button",(0,i.A)({},C,{type:"button",role:"switch","aria-checked":E,disabled:b,className:O,ref:t,onKeyDown:function(e){e.which===u.A.LEFT?M(!1,e):e.which===u.A.RIGHT&&M(!0,e),null==x||x(e)},onClick:function(e){var t=M(!E,e);null==v||v(t,e)}}),w,s.createElement("span",{className:"".concat(g,"-inner")},s.createElement("span",{className:"".concat(g,"-inner-checked")}
21,S),s.createElement("span",{className:"".concat(g,"-inner-unchecked")},y)))}));g.displayName="Switch";const m=g;n.d(t,["A",0,m])},9380(e){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},41946(e,t,n){"use strict";var i=n(41594);const r=i.forwardRef((function({title:e,titleId:t,...n},r){return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?i.createElement("title",{id:t},e):null,i.createElement("path",{d:"M16.5 14.625a1.125 1.125 0 11-2.25 0 1.125 1.125 0 012.25 0zM8.625 13.5a1.125 1.125 0 100 2.25 1.125 1.125 0 000-2.25zM22.5 15.75V18a1.5 1.5 0 01-1.5 1.5H3A1.5 1.5 0 011.5 18v-2.144A10.63 10.63 0 014.819 8.13l-2.35-2.35a.75.75 0 011.062-1.06l2.452 2.452a10.447 10.447 0 0112.052-.018l2.437-2.437a.75.75 0 111.061 1.06L19.202 8.11a10.432 10.432 0 013.298 7.64zm-1.5 0a9 9 0 00-9-9h-.032C7.023 6.767 3 10.852 3 15.856V18h18v-2.25z"}))}));n.d(t,["A",0,r])},14602(e,t,n){"use strict";var i=n(41594);const r=i.forwardRef((function({title:e,titleId:t,...n},r){return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?i.createElement("title",{id:t},e):null,i.createElement("path",{d:"M18.942 6.112a16.54 16.54 0 00-4.126-1.269 11.3 11.3 0 00-.529 1.074 15.366 15.366 0 00-4.579 0 11.387 11.387 0 00-.529-1.074c-1.425.243-2.813.67-4.129 1.273-2.611 3.863-3.319 7.63-2.965 11.345 1.53 1.13 3.24 1.989 5.06 2.54.41-.551.773-1.136 1.084-1.748a10.76 10.76 0 01-1.706-.814c.143-.104.283-.211.418-.315a11.888 11.888 0 0010.118 0c.137.112.277.219.418.315-.545.321-1.117.594-1.71.816.312.612.674 1.196 1.084 1.746a16.556 16.556 0 005.064-2.539c.415-4.307-.71-8.04-2.973-11.35zM8.678 15.177c-.987 0-1.802-.896-1.802-1.997 0-1.1.787-2.004 1.799-2.004 1.011 0 1.82.903 1.802 2.004-.017 1.101-.794 1.997-1.8 1.997zm6.644 0c-.988 0-1.8-.896-1.8-1.997 0-1.1.787-2.004 1.8-2.004s1.816.903 1.798 2.004c-.017 1.101-.793 1.997-1.798 1.997z"}))}));n.d(t,["A",0,r])},242(e,t,n){"use strict";var i=n(41594);const r=i.forwardRef((function({title:e,titleId:t,...n},r){return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?i.createElement("title",{id:t},e):null,i.createElement("path",{d:"M21 14.25v5.25a1.5 1.5 0 01-1.5 1.5h-15A1.5 1.5 0 013 19.5v-5.25a.75.75 0 111.5 0v5.25h15v-5.25a.75.75 0 111.5 0zm-9.53.53a.747.747 0 001.06 0l3.75-3.75a.75.75 0 10-1.06-1.06l-2.47 2.47V3.75a.75.75 0 10-1.5 0v8.69L8.78 9.97a.75.75 0 00-1.06 1.06l3.75 3.75z"}))}));n.d(t,["A",0,r])},10295(e,t,n){"use strict";var i=n(41594);const r=i.forwardRef((function({title:e,titleId:t,...n},r){return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?i.createElement("title",{id:t},e):null,i.createElement("path",{d:"M16.5 8.49v2.25L12 15.51l-4.5-4.77V8.49h9z"}))}));n.d(t,["A",0,r])},27796(e,t,n){"use strict";var i=n(41594);const r=i.forwardRef((function({title:e,titleId:t,...n},r){return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?i.createElement("title",{id:t},e):null,i.createElement("path",{d:"M12 21a9 9 0 100-18 9 9 0 000 18zM10.75 8.5V6h2.5v2.5h-2.5zm0 9.5v-7h2.5v7h-2.5z"}))}));n.d(t,["A",0,r])},40531(e,t,n){"use strict";var i=n(41594);const r=i.forwardRef((function({title:e,titleId:t,...n},r){return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?i.createElement("title",{id:t},e):null,i.createElement("path",{d:"M20 9h-5V7.69l-6 3.464v1l6 3.464V14h5v5h-5v-1.072L8.195 14H4V9h4.732L15 5.38V4h5v5z"}))}));n.d(t,["A",0,r])},80887(e,t,n){"use strict";var i=n(41594);const r=i.forwardRef((function({title:e,titleId:t,...n},r){return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"
21currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?i.createElement("title",{id:t},e):null,i.createElement("path",{d:"M3.375 11.127c5.369-2.34 8.949-3.882 10.74-4.627 5.114-2.127 6.177-2.496 6.87-2.509.152-.002.493.035.713.214.186.152.238.356.262.5.025.143.055.469.031.724-.277 2.912-1.476 9.979-2.086 13.24-.259 1.38-.767 1.843-1.259 1.889-1.07.098-1.881-.707-2.917-1.386-1.621-1.063-2.537-1.724-4.11-2.76-1.818-1.2-.64-1.858.396-2.934.272-.282 4.984-4.568 5.075-4.956.011-.049.022-.23-.086-.326-.108-.096-.266-.063-.381-.037-.163.037-2.752 1.748-7.768 5.134-.735.505-1.4.751-1.997.738-.658-.014-1.923-.372-2.863-.677-1.153-.375-2.07-.573-1.99-1.21.041-.332.498-.67 1.37-1.018z"}))}));n.d(t,["A",0,r])},98978(e,t,n){"use strict";var i=n(41594);const r=i.forwardRef((function({title:e,titleId:t,...n},r){return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?i.createElement("title",{id:t},e):null,i.createElement("path",{fillRule:"evenodd",d:"M9.492 12.532L2 3h5.934l4.625 5.891L17.5 3.027h3.269l-6.63 7.877L22 20.917h-5.917l-5.008-6.371-5.346 6.353H2.443l7.05-8.367zm7.454 6.619L5.639 4.766H7.07l11.293 14.385h-1.418z",clipRule:"evenodd"}))}));n.d(t,["A",0,r])},88815(e,t,n){"use strict";n.d(t,{h:()=>C});var i,r=n(41594),o=Object.defineProperty,a=Object.getOwnPropertySymbols,s=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable,c=(e,t,n)=>t in e?o(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,d=(e,t)=>{for(var n in t||(t={}))s.call(t,n)&&c(e,n,t[n]);if(a)for(var n of a(t))l.call(t,n)&&c(e,n,t[n]);return e},u=(e,t)=>
vendor: 14,226 bytes, lines 21-26
21{var n={};for(var i in e)s.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&a)for(var i of a(e))t.indexOf(i)<0&&l.call(e,i)&&(n[i]=e[i]);return n};(e=>{const t=class t{constructor(e,n,i,o){if(this.version=e,this.errorCorrectionLevel=n,this.modules=[],this.isFunction=[],e<t.MIN_VERSION||e>t.MAX_VERSION)throw new RangeError("Version value out of range");if(o<-1||o>7)throw new RangeError("Mask value out of range");this.size=4*e+17;let a=[];for(let e=0;e<this.size;e++)a.push(!1);for(let e=0;e<this.size;e++)this.modules.push(a.slice()),this.isFunction.push(a.slice());this.drawFunctionPatterns();const s=this.addEccAndInterleave(i);if(this.drawCodewords(s),-1==o){let e=1e9;for(let t=0;t<8;t++){this.applyMask(t),this.drawFormatBits(t);const n=this.getPenaltyScore();n<e&&(o=t,e=n),this.applyMask(t)}}r(0<=o&&o<=7),this.mask=o,this.applyMask(o),this.drawFormatBits(o),this.isFunction=[]}static encodeText(n,i){const r=e.QrSegment.makeSegments(n);return t.encodeSegments(r,i)}static encodeBinary(n,i){const r=e.QrSegment.makeBytes(n);return t.encodeSegments([r],i)}static encodeSegments(e,i,o=1,s=40,l=-1,c=!0){if(!(t.MIN_VERSION<=o&&o<=s&&s<=t.MAX_VERSION)||l<-1||l>7)throw new RangeError("Invalid value");let d,u;for(d=o;;d++){const n=8*t.getNumDataCodewords(d,i),r=a.getTotalBits(e,d);if(r<=n){u=r;break}if(d>=s)throw new RangeError("Data too long")}for(const e of[t.Ecc.MEDIUM,t.Ecc.QUARTILE,t.Ecc.HIGH])c&&u<=8*t.getNumDataCodewords(d,e)&&(i=e);let h=[];for(const t of e){n(t.mode.modeBits,4,h),n(t.numChars,t.mode.numCharCountBits(d),h);for(const e of t.getData())h.push(e)}r(h.length==u);const g=8*t.getNumDataCodewords(d,i);r(h.length<=g),n(0,Math.min(4,g-h.length),h),n(0,(8-h.length%8)%8,h),r(h.length%8==0);for(let e=236;h.length<g;e^=253)n(e,8,h);let m=[];for(;8*m.length<h.length;)m.push(0);return h.forEach(((e,t)=>m[t>>>3]|=e<<7-(7&t))),new t(d,i,m,l)}getModule(e,t){return 0<=e&&e<this.size&&0<=t&&t<this.size&&this.modules[t][e]}getModules(){return this.modules}drawFunctionPatterns(){for(let e=0;e<this.size;e++)this.setFunctionModule(6,e,e%2==0),this.setFunctionModule(e,6,e%2==0);this.drawFinderPattern(3,3),this.drawFinderPattern(this.size-4,3),this.drawFinderPattern(3,this.size-4);const e=this.getAlignmentPatternPositions(),t=e.length;for(let n=0;n<t;n++)for(let i=0;i<t;i++)0==n&&0==i||0==n&&i==t-1||n==t-1&&0==i||this.drawAlignmentPattern(e[n],e[i]);this.drawFormatBits(0),this.drawVersion()}drawFormatBits(e){const t=this.errorCorrectionLevel.formatBits<<3|e;let n=t;for(let e=0;e<10;e++)n=n<<1^1335*(n>>>9);const o=21522^(t<<10|n);r(o>>>15==0);for(let e=0;e<=5;e++)this.setFunctionModule(8,e,i(o,e));this.setFunctionModule(8,7,i(o,6)),this.setFunctionModule(8,8,i(o,7)),this.setFunctionModule(7,8,i(o,8));for(let e=9;e<15;e++)this.setFunctionModule(14-e,8,i(o,e));for(let e=0;e<8;e++)this.setFunctionModule(this.size-1-e,8,i(o,e));for(let e=8;e<15;e++)this.setFunctionModule(8,this.size-15+e,i(o,e));this.setFunctionModule(8,this.size-8,!0)}drawVersion(){if(this.version<7)return;let e=this.version;for(let t=0;t<12;t++)e=e<<1^7973*(e>>>11);const t=this.version<<12|e;r(t>>>18==0);for(let e=0;e<18;e++){const n=i(t,e),r=this.size-11+e%3,o=Math.floor(e/3);this.setFunctionModule(r,o,n),this.setFunctionModule(o,r,n)}}drawFinderPattern(e,t){for(let n=-4;n<=4;n++)for(let i=-4;i<=4;i++){const r=Math.max(Math.abs(i),Math.abs(n)),o=e+i,a=t+n;0<=o&&o<this.size&&0<=a&&a<this.size&&this.setFunctionModule(o,a,2!=r&&4!=r)}}drawAlignmentPattern(e,t){for(let n=-2;n<=2;n++)for(let i=-2;i<=2;i++)this.setFunctionModule(e+i,t+n,1!=Math.max(Math.abs(i),Math.abs(n)))}setFunctionModule(e,t,n){this.modules[t][e]=n,this.isFunction[t][e]=!0}addEccAndInterleave(e){const n=this.version,i=this.errorCorrectionLevel;if(e.length!=t.getNumDataCodewords(n,i))throw new RangeError("Invalid argument");const o=t.NUM_ERROR_CORRECTION_BLOCKS[i.ordinal][n],a=t.ECC_CODEWORDS_PER_BLOCK[i.ordinal][n],s=Math.floor(t.getNumRawDataModules(n)/8),l=o-s%o,c=Math.floor(s/o);let d=[];const u=t.reedSolomonComputeDivisor(a);for(let n=0,i=0;n<o;n++){let r=e.slice(i,i+c-a+(n<l?0:1));i+=r.length;const o=t.reedSolomonComputeRemainder(r,u);n<l&&r.push(0),d.push(r.concat(o))}let h=[];for(let e=0;e<d[0].length;e++)d.forEach(((t,n)=>{(e!=c-a||n>=l)&&h.push(t[e])}));return r(h.length==s),h}drawCodewords(e){if(e.length!=Math.floor(t.getNumRawDataModules(this.version)/8))throw new RangeError("Invalid argument");let n=0;for(let t=this.size-1;t>=1;t-=2){6==t&&(t=5);for(let r=0;r<this.size;r++)for(let o=0;o<2;o++){const a=t-o,s=!(t+1&2)?this.size-1-r:r;!this.isFunction[s][a]&&n<8*e.length&&(this.modules[s][a]=i(e[n>>>3],7-(7&n)),n++)}}r(n==8*e.length)}applyMask(e){if(e<0||e>7)throw new RangeError("Mask value out of range");for(let t=0;t<this.size;t++)for(let n=0;n<this.size;n++){let i;switch(e){case 0:i=(n+t)%2==0;break;case 1:i=t%2==0;break;case 2:i=n%3==0;break;case 3:i=(n+t)%3==0;break;case 4:i=(Math.floor(n/3)+Math.floor(t/2))%2==0;break;case 5:i=n*t%2+n*t%3==0;break;case 6:i=(n*t%2+n*t%3)%2==0;break;case 7:i=((n+t)%2+n*t%3)%2==0;break;default:throw new Error("Unreachable")}!this.isFunction[t][n]&&i&&(this.modules[t][n]=!this.modules[t][n])}}getPenaltyScore(){let e=0;for(let n=0;n<this.size;n++){let i=!1,r=0,o=[0,0,0,0,0,0,0];for(let a=0;a<this.size;a++)this.modules[n][a]==i?(r++,5==r?e+=t.PENALTY_N1:r>5&&e++):(this.finderPenaltyAddHistory(r,o),i||(e+=this.finderPenaltyCountPatterns(o)*t.PENALTY_N3),i=this.modules[n][a],r=1);e+=this.finderPenaltyTerminateAndCount(i,r,o)*t.PENALTY_N3}for(let n=0;n<this.size;n++){let i=!1,r=0,o=[0,0,0,0,0,0,0];for(let a=0;a<this.size;a++)this.modules[a][n]==i?(r++,5==r?e+=t.PENALTY_N1:r>5&&e++):(this.finderPenaltyAddHistory(r,o),i||(e+=this.finderPenaltyCountPatterns(o)*t.PENALTY_N3),i=this.modules[a][n],r=1);e+=this.finderPenaltyTerminateAndCount(i,r,o)*t.PENALTY_N3}for(let n=0;n<this.size-1;n++)for(let i=0;i<this.size-1;i++){const r=this.modules[n][i];r==this.modules[n][i+1]&&r==this.modules[n+1][i]&&r==this.modules[n+1][i+1]&&(e+=t.PENALTY_N2)}let n=0;for(const e of this.modules)n=e.reduce(((e,t)=>e+(t?1:0)),n);const i=this.size*this.size,o=Math.ceil(Math.abs(20*n-10*i)/i)-1;return r(0<=o&&o<=9),e+=o*t.PENALTY_N4,r(0<=e&&e<=2568888),e}getAlignmentPatternPositions(){if(1==this.version)return[];{const e=Math.floor(this.version/7)+2,t=32==this.version?26:2*Math.ceil((4*this.version+4)/(2*e-2));let n=[6];for(let i=this.size-7;n.length<e;i-=t)n.splice(1,0,i);return n}}static getNumRawDataModules(e){if(e<t.MIN_VERSION||e>t.MAX_VERSION)throw new RangeError("Version number out of range");let n=(16*e+128)*e+64;if(e>=2){const t=Math.floor(e/7)+2;n-=(25*t-10)*t-55,e>=7&&(n-=36)}return r(208<=n&&n<=29648),n}static getNumDataCodewords(e,n){return Math.floor(t.getNumRawDataModules(e)/8)-t.ECC_CODEWORDS_PER_BLOCK[n.ordinal][e]*t.NUM_ERROR_CORRECTION_BLOCKS[n.ordinal][e]}static reedSolomonComputeDivisor(e){if(e<1||e>255)throw new RangeError("Degree out of range");let n=[];for(let t=0;t<e-1;t++)n.push(0);n.push(1);let i=1;for(let r=0;r<e;r++){for(let e=0;e<n.length;e++)n[e]=t.reedSolomonMultiply(n[e],i),e+1<n.length&&(n[e]^=n[e+1]);i=t.reedSolomonMultiply(i,2)}return n}static reedSolomonComputeRemainder(e,n){let i=n.map((e=>0));for(const r of e){const e=r^i.shift();i.push(0),n.forEach(((n,r)=>i[r]^=t.reedSolomonMultiply(n,e)))}return i}static reedSolomonMultiply(e,t){if(e>>>8!=0||t>>>8!=0)throw new RangeError("Byte out of range");let n=0;for(let i=7;i>=0;i--)n=n<<1^285*(n>>>7),n^=(t>>>i&1)*e;return r(n>>>8==0),n}finderPenaltyCountPatterns(e){const t=e[1];r(t<=3*this.size);const n=t>0&&e[2]==t&&e[3]==3*t&&e[4]==t&&e[5]==t;return(n&&e[0]>=4*t&&e[6]>=t?1:0)+(n&&e[6]>=4*t&&e[0]>=t?1:0)}finderPenaltyTerminateAndCount(e,t,n){return e&&(this.finderPenaltyAddHistory(t,n),t=0),t+=this.size,this.finderPenaltyAddHistory(t,n),this.finderPenaltyCountPatterns(n)}finderPenaltyAddHistory(e,t){0==t[0]&&(e+=this.size),t.pop(),t.unshift(e)}};t.MIN_VERSION=1,t.MAX_VERSION=40,t.PENALTY_N1=3,t.PENALTY_N2=3,t.PENALTY_N3=40,t.PENALTY_N4=10,t.ECC_CODEWORDS_PER_BLOCK=[[-1,7,10,15,20,26,18,20,24,30,18,20,24,26,30,22,24,28,30,28,28,28,28,30,30,26,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,10,16,26,18,24,16,18,22,22,26,30,22,22,24,24,28,28,26,26,26,26,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28],[-1,13,22,18,26,18,24,18,22,20,24,28,26,24,20,30,24,28,28,26,30,28,30,30,30,30,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,17,28,22,16,22,28,26,26,24,28,24,28,22,24,24,30,28,28,26,28,30,24,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30]],t.NUM_ERROR_CORRECTION_BLOCKS=[[-1,1,1,1,1,1,2,2,2,2,4,4,4,4,4,6,6,6,6,7,8,8,9,9,10,12,12,12,13,14,15,16,17,18,19,19,20,21,22,24,25],[-1,1,1,1,2,2,4,4,4,5,5,5,8,9,9,10,10,11,13,14,16,17,17,18,20,21,23,25,26,28,29,31,33,35,37,38,40,43,45,47,49],[-1,1,1,2,2,4,4,6,6,8,8,8,10,12,16,12,17,16,18,21,20,23,23,25,27,29,34,34,35,38,40,43,45,48,51,53,56,59,62,65,68],[-1,1,1,2,4,4,4,5,6,8,8,11,11,16,16,18,16,19,21,25,25,25,34,30,32,35,37,40,42,45,48,51,54,57,60,63,66,70,74,77,81]];function n(e,t,n){if(t<0||t>31||e>>>t!=0)throw new RangeError("Value out of range");for(let i=t-1;i>=0;i--)n.push(e>>>i&1)}function i(e,t){return!!(e>>>t&1)}function r(e){if(!e)throw new Error("Assertion error")}e.QrCode=t;const o=class e{constructor(e,t,n){if(this.mode=e,this.numChars=t,this.bitData=n,t<0)throw new RangeError("Invalid argument");this.bitData=n.slice()}static makeBytes(t){let i=[];for(const e of t)n(e,8,i);return new e(e.Mode.BYTE,t.length,i)}static makeNumeric(t){if(!e.isNumeric(t))throw new RangeError("String contains non-numeric characters");let i=[];for(let e=0;e<t.length;){const r=Math.min(t.length-e,3);n(parseInt(t.substring(e,e+r),10),3*r+1,i),e+=r}return new e(e.Mode.NUMERIC,t.length,i)}static makeAlphanumeric(t){if(!e.isAlphanumeric(t))throw new RangeError("String contains unencodable characters in alphanumeric mode");let i,r=[];for(i=0;i+2<=t.length;i+=2){let o=45*e.ALPHANUMERIC_CHARSET.indexOf(t.charAt(i));o+=e.ALPHANUMERIC_CHARSET.indexOf(t.charAt(i+1)),n(o,11,r)}return i<t.length&&n(e.ALPHANUMERIC_CHARSET.indexOf(t.charAt(i)),6,r),new e(e.Mode.ALPHANUMERIC,t.length,r)}static makeSegments(t){return""==t?[]:e.isNumeric(t)?[e.makeNumeric(t)]:e.isAlphanumeric(t)?[e.makeAlphanumeric(t)]:[e.makeBytes(e.toUtf8ByteArray(t))]}static makeEci(t){let i=[];if(t<0)throw new RangeError("ECI assignment value out of range");if(t<128)n(t,8,i);else if(t<16384)n(2,2,i),n(t,14,i);else{if(!(t<1e6))throw new RangeError("ECI assignment value out of range");n(6,3,i),n(t,21,i)}return new e(e.Mode.ECI,0,i)}static isNumeric(t){return e.NUMERIC_REGEX.test(t)}static isAlphanumeric(t){return e.ALPHANUMERIC_REGEX.test(t)}getData(){return this.bitData.slice()}static getTotalBits(e,t){let n=0;for(const i of e){const e=i.mode.numCharCountBits(t);if(i.numChars>=1<<e)return 1/0;n+=4+e+i.bitData.length}return n}static toUtf8ByteArray(e){e=encodeURI(e);let t=[];for(let n=0;n<e.length;n++)"%"!=e.charAt(n)?t.push(e.charCodeAt(n)):(t.push(parseInt(e.substring(n+1,n+3),16)),n+=2);return t}};o.NUMERIC_REGEX=/^[0-9]*$/,o.ALPHANUMERIC_REGEX=/^[A-Z0-9 $%*+.\/:-]*$/,o.ALPHANUMERIC_CHARSET="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:";let a=o;e.QrSegment=o})(i||(i={})),(e=>{let t;(e=>{const t=class{constructor(e,t){this.ordinal=e,this.formatBits=t}};t.LOW=new t(0,1),t.MEDIUM=new t(1,0),t.QUARTILE=new t(2,3),t.HIGH=new t(3,2);e.Ecc=t})(t=e.QrCode||(e.QrCode={}))})(i||(i={})),(e=>{let t;(e=>{const t=class{constructor(e,t){this.modeBits=e,this.numBitsCharCount=t}numCharCountBits(e){return this.numBitsCharCount[Math.floor((e+7)/17)]}};t.NUMERIC=new t(1,[10,12,14]),t.ALPHANUMERIC=new t(2,[9,11,13]),t.BYTE=new t(4,[8,16,16]),t.KANJI=new t(8,[8,10,12]),t.ECI=new t(7,[0,0,0]);e.Mode=t})(t=e.QrSegment||(e.QrSegment={}))})(i||(i={}));var h=i,g={L:h.QrCode.Ecc.LOW,M:h.QrCode.Ecc.MEDIUM,Q:h.QrCode.Ecc.QUARTILE,H:h.QrCode.Ecc.HIGH},m=128,p="L",f="#FFFFFF",b="#000000",w=!1,S=1; 22/** 23 * @license qrcode.react 24 * Copyright (c) Paul O'Shannessy 25 * SPDX-License-Identifier: ISC 26 */function y(e,t=0){const n=[];return e.forEach((function(e,i){let r=null;e.forEach((function(o,a){if(!o&&null!==r)return n.push(`M${r+t} ${i+t}h${a-r}v1H${r+t}z`),void(r=null);if(a!==e.length-1)o&&null===r&&(r=a);else{if(!o)return;null===r?n.push(`M${a+t},${i+t} h1v1H${a+t}z`):n.push(`M${r+t},${i+t} h${a+1-r}v1H${r+t}z`)}}))})),n.join("")}function v(e,t){return e.slice().map(((e,n)=>n<t.y||n>=t.y+t.h?e:e.map(((e,n)=>(n<t.x||n>=t.x+t.w)&&e))))}function $({value:e,level:t,minVersion:n,includeMargin:i,marginSize:o,imageSettings:a,size:s,boostLevel:l}){let c=r.useMemo((()=>{const i=(Array.isArray(e)?e:[e]).reduce(((e,t)=>(e.push(...h.QrSegment.makeSegments(t)),e)),[]);return h.QrCode.encodeSegments(i,g[t],n,void 0,void 0,l)}),[e,t,n,l]);const{cells:d,margin:u,numCells:m,calculatedImageSettings:p}=r.useMemo((()=>{let e=c.getModules();const t=function(e,t){return null!=t?Math.max(Math.floor(t),0):e?4:0}(i,o),n=e.length+2*t,r=function(e,t,n,i){if(null==i)return null;const r=e.length+2*n,o=Math.floor(.1*t),a=r/t,s=(i.width||o)*a,l=(i.height||o)*a,c=null==i.x?e.length/2-s/2:i.x*a,d=null==i.y?e.length/2-l/2:i.y*a,u=null==i.opacity?1:i.opacity;let h=null;if(i.excavate){let e=Math.floor(c),t=Math.floor(d);h={x:e,y:t,w:Math.ceil(s+c-e),h:Math.ceil(l+d-t)}}return{x:c,y:d,h:l,w:s,excavation:h,opacity:u,crossOrigin:i.crossOrigin}}(e,s,t,a);return{cells:e,margin:t,numCells:n,calculatedImageSettings:r}}),[c,s,a,i,o]);return{qrcode:c,margin:u,cells:d,numCells:m,calculatedImageSettings:p}}var x=function(){try{(new Path2D).addPath(new Path2D)}catch(e){return!1}return!0}();r.forwardRef((function(e,t){const n=e,{value:i,size:o=m,level:a=p,bgColor:s=f,fgColor:l=b,includeMargin:c=w,minVersion:h=S,boostLevel:g,marginSize:C,imageSettings:A}=n,k=u(n,["value","size","level","bgColor","fgColor","includeMargin","minVersion","boostLevel","marginSize","imageSettings"]),{style:E}=k,P=u(k,["style"]),M=null==A?void 0:A.src,O=r.useRef(null),I=r.useRef(null),_=r.useCallback((e=>{O.current=e,"function"==typeof t?t(e):t&&(t.current=e)}),[t]),[R,z]=r.useState(!1),{margin:B,cells:N,numCells:L,calculatedImageSettings:F}=$({value:i,level:a,minVersion:h,boostLevel:g,includeMargin:c,marginSize:C,imageSettings:A,size:o});r.useEffect((()=>
26{if(null!=O.current){const e=O.current,t=e.getContext("2d");if(!t)return;let n=N;const i=I.current,r=null!=F&&null!==i&&i.complete&&0!==i.naturalHeight&&0!==i.naturalWidth;r&&null!=F.excavation&&(n=v(N,F.excavation));const a=window.devicePixelRatio||1;e.height=e.width=o*a;const c=o/L*a;t.scale(c,c),t.fillStyle=s,t.fillRect(0,0,L,L),t.fillStyle=l,x?t.fill(new Path2D(y(n,B))):N.forEach((function(e,n){e.forEach((function(e,i){e&&t.fillRect(i+B,n+B,1,1)}))})),F&&(t.globalAlpha=F.opacity),r&&t.drawImage(i,F.x+B,F.y+B,F.w,F.h)}})),r.useEffect((()=>{z(!1)}),[M]);const T=d({height:o,width:o},E);let W=null;return null!=M&&(W=r.createElement("img",{src:M,key:M,style:{display:"none"},onLoad:()=>{z(!0)},ref:I,crossOrigin:null==F?void 0:F.crossOrigin})),r.createElement(r.Fragment,null,r.createElement("canvas",d({style:T,height:o,width:o,ref:_,role:"img"},P)),W)})).displayName="QRCodeCanvas";var C=r.forwardRef((function(e,t){const n=e,{value:i,size:o=m,level:a=p,bgColor:s=f,fgColor:l=b,includeMargin:c=w,minVersion:h=S,boostLevel:g,title:x,marginSize:C,imageSettings:A}=n,k=u(n,["value","size","level","bgColor","fgColor","includeMargin","minVersion","boostLevel","title","marginSize","imageSettings"]),{margin:E,cells:P,numCells:M,calculatedImageSettings:O}=$({value:i,level:a,minVersion:h,boostLevel:g,includeMargin:c,marginSize:C,imageSettings:A,size:o});let I=P,_=null;null!=A&&null!=O&&(null!=O.excavation&&(I=v(P,O.excavation)),_=r.createElement("image",{href:A.src,height:O.h,width:O.w,x:O.x+E,y:O.y+E,preserveAspectRatio:"none",opacity:O.opacity,crossOrigin:O.crossOrigin}));const R=y(I,E);return r.createElement("svg",d({height:o,width:o,viewBox:`0 0 ${M} ${M}`,ref:t,role:"img"},k),!!x&&r.createElement("title",null,x),r.createElement("path",{fill:s,d:`M0,0 h${M}v${M}H0z`,shapeRendering:"crispEdges"}),r.createElement("path",{fill:l,d:R,shapeRendering:"crispEdges"}),_)}));C.displayName="QRCodeSVG"},3456(e,t,n){"use strict";n.d(t,{e:()=>c});var i=n(96242),r=n(95680);function o(e,t={}){return{...t.mutation,mutationFn:async t=>async function(e,t){let n;if(n="function"==typeof t.connector?e._internal.connectors.setup(t.connector):t.connector,n.uid===e.state.current)throw new r.nM;try{e.setState((e=>({...e,status:"connecting"}))),n.emitter.emit("message",{type:"connecting"});const{connector:i,...r}=t,o=await n.connect(r);return n.emitter.off("connect",e._internal.events.connect),n.emitter.on("change",e._internal.events.change),n.emitter.on("disconnect",e._internal.events.disconnect),await(e.storage?.setItem("recentConnectorId",n.id)),e.setState((e=>({...e,connections:new Map(e.connections).set(n.uid,{accounts:r.withCapabilities?o.accounts.map((e=>"object"==typeof e?e.address:e)):o.accounts,chainId:o.chainId,connector:n}),current:n.uid,status:"connected"}))),{accounts:r.withCapabilities?o.accounts.map((e=>"object"==typeof e?e:{address:e,capabilities:{}})):o.accounts,chainId:o.chainId}}catch(t){throw e.setState((e=>({...e,status:e.current?"connected":"disconnected"}))),t}}(e,t),mutationKey:["connect"]}}var a=n(41594),s=n(92345),l=n(81564);function c(e={}){const t=(0,s.U)(e),n=o(t,e),r=(0,i.n)(n);return(0,a.useEffect)((()=>t.subscribe((({status:e})=>e),((e,t)=>{"connected"===t&&"disconnected"===e&&r.reset()}))),[t,r.reset]),{...r,connect:r.mutate,connectAsync:r.mutateAsync,connectors:(0,l.U)({config:t})}}},81564(e,t,n){"use strict";n.d(t,{U:()=>s});let i=[];function r(e){const t=e.connectors;return i.length===t.length&&i.every(((e,n)=>e===t[n]))?i:(i=t,t)}var o=n(41594),a=n(92345);function s(e={}){const t=(0,a.U)(e);return(0,o.useSyncExternalStore)((e=>function(e,t){const{onChange:n}=t;return e._internal.connectors.subscribe(((e,t)=>{n(Object.values(e),t)}))}(t,{onChange:e})),(()=>r(t)),(()=>r(t)))}}}]); 27//# sourceMappingURL=1024.85230408292826590bdf.chunk.js.map
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.