var At=Object.defineProperty,wt=Object.defineProperties;var jt=Object.getOwnPropertyDescriptors;var Ft=Object.getOwnPropertySymbols;var kt=Object.prototype.hasOwnProperty,Nt=Object.prototype.propertyIsEnumerable;var _t=(w,P,e)=>P in w?At(w,P,{enumerable:!0,configurable:!0,writable:!0,value:e}):w[P]=e,ut=(w,P)=>{for(var e in P||(P={}))kt.call(P,e)&&_t(w,e,P[e]);if(Ft)for(var e of Ft(P))Nt.call(P,e)&&_t(w,e,P[e]);return w},Lt=(w,P)=>wt(w,jt(P));var pt=(w,P,e)=>new Promise((t,x)=>{var c=d=>{try{p(e.next(d))}catch(T){x(T)}},l=d=>{try{p(e.throw(d))}catch(T){x(T)}},p=d=>d.done?t(d.value):Promise.resolve(d.value).then(c,l);p((e=e.apply(w,P)).next())});(self.webpackChunk=self.webpackChunk||[]).push([[687],{89451:function(w,P,e){"use strict";e.d(P,{_Y:function(){return X},L_:function(){return ae},ZP:function(){return re},nu:function(){return F},YB:function(){return ne}});var t=e(74902),x=e(97685),c=e(45987),l=e(1413),p=e(54548),d=e(28459),T=e(81626),v={locale:"zh_CN",yearFormat:"YYYY\u5E74",cellDateFormat:"D",cellMeridiemFormat:"A",today:"\u4ECA\u5929",now:"\u6B64\u523B",backToToday:"\u8FD4\u56DE\u4ECA\u5929",ok:"\u786E\u5B9A",timeSelect:"\u9009\u62E9\u65F6\u95F4",dateSelect:"\u9009\u62E9\u65E5\u671F",weekSelect:"\u9009\u62E9\u5468",clear:"\u6E05\u9664",month:"\u6708",year:"\u5E74",previousMonth:"\u4E0A\u4E2A\u6708 (\u7FFB\u9875\u4E0A\u952E)",nextMonth:"\u4E0B\u4E2A\u6708 (\u7FFB\u9875\u4E0B\u952E)",monthSelect:"\u9009\u62E9\u6708\u4EFD",yearSelect:"\u9009\u62E9\u5E74\u4EFD",decadeSelect:"\u9009\u62E9\u5E74\u4EE3",previousYear:"\u4E0A\u4E00\u5E74 (Control\u952E\u52A0\u5DE6\u65B9\u5411\u952E)",nextYear:"\u4E0B\u4E00\u5E74 (Control\u952E\u52A0\u53F3\u65B9\u5411\u952E)",previousDecade:"\u4E0A\u4E00\u5E74\u4EE3",nextDecade:"\u4E0B\u4E00\u5E74\u4EE3",previousCentury:"\u4E0A\u4E00\u4E16\u7EAA",nextCentury:"\u4E0B\u4E00\u4E16\u7EAA"},C=v,_={placeholder:"\u8BF7\u9009\u62E9\u65F6\u95F4",rangePlaceholder:["\u5F00\u59CB\u65F6\u95F4","\u7ED3\u675F\u65F6\u95F4"]};const f={lang:Object.assign({placeholder:"\u8BF7\u9009\u62E9\u65E5\u671F",yearPlaceholder:"\u8BF7\u9009\u62E9\u5E74\u4EFD",quarterPlaceholder:"\u8BF7\u9009\u62E9\u5B63\u5EA6",monthPlaceholder:"\u8BF7\u9009\u62E9\u6708\u4EFD",weekPlaceholder:"\u8BF7\u9009\u62E9\u5468",rangePlaceholder:["\u5F00\u59CB\u65E5\u671F","\u7ED3\u675F\u65E5\u671F"],rangeYearPlaceholder:["\u5F00\u59CB\u5E74\u4EFD","\u7ED3\u675F\u5E74\u4EFD"],rangeMonthPlaceholder:["\u5F00\u59CB\u6708\u4EFD","\u7ED3\u675F\u6708\u4EFD"],rangeQuarterPlaceholder:["\u5F00\u59CB\u5B63\u5EA6","\u7ED3\u675F\u5B63\u5EA6"],rangeWeekPlaceholder:["\u5F00\u59CB\u5468","\u7ED3\u675F\u5468"]},C),timePickerLocale:Object.assign({},_)};f.lang.ok="\u786E\u5B9A";var m=f,b=m;const y="${label}\u4E0D\u662F\u4E00\u4E2A\u6709\u6548\u7684${type}";var $={locale:"zh-cn",Pagination:T.Z,DatePicker:m,TimePicker:_,Calendar:b,global:{placeholder:"\u8BF7\u9009\u62E9"},Table:{filterTitle:"\u7B5B\u9009",filterConfirm:"\u786E\u5B9A",filterReset:"\u91CD\u7F6E",filterEmptyText:"\u65E0\u7B5B\u9009\u9879",filterCheckall:"\u5168\u9009",filterSearchPlaceholder:"\u5728\u7B5B\u9009\u9879\u4E2D\u641C\u7D22",emptyText:"\u6682\u65E0\u6570\u636E",selectAll:"\u5168\u9009\u5F53\u9875",selectInvert:"\u53CD\u9009\u5F53\u9875",selectNone:"\u6E05\u7A7A\u6240\u6709",selectionAll:"\u5168\u9009\u6240\u6709",sortTitle:"\u6392\u5E8F",expand:"\u5C55\u5F00\u884C",collapse:"\u5173\u95ED\u884C",triggerDesc:"\u70B9\u51FB\u964D\u5E8F",triggerAsc:"\u70B9\u51FB\u5347\u5E8F",cancelSort:"\u53D6\u6D88\u6392\u5E8F"},Modal:{okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",justOkText:"\u77E5\u9053\u4E86"},Tour:{Next:"\u4E0B\u4E00\u6B65",Previous:"\u4E0A\u4E00\u6B65",Finish:"\u7ED3\u675F\u5BFC\u89C8"},Popconfirm:{cancelText:"\u53D6\u6D88",okText:"\u786E\u5B9A"},Transfer:{titles:["",""],searchPlaceholder:"\u8BF7\u8F93\u5165\u641C\u7D22\u5185\u5BB9",itemUnit:"\u9879",itemsUnit:"\u9879",remove:"\u5220\u9664",selectCurrent:"\u5168\u9009\u5F53\u9875",removeCurrent:"\u5220\u9664\u5F53\u9875",selectAll:"\u5168\u9009\u6240\u6709",deselectAll:"\u53D6\u6D88\u5168\u9009",removeAll:"\u5220\u9664\u5168\u90E8",selectInvert:"\u53CD\u9009\u5F53\u9875"},Upload:{uploading:"\u6587\u4EF6\u4E0A\u4F20\u4E2D",removeFile:"\u5220\u9664\u6587\u4EF6",uploadError:"\u4E0A\u4F20\u9519\u8BEF",previewFile:"\u9884\u89C8\u6587\u4EF6",downloadFile:"\u4E0B\u8F7D\u6587\u4EF6"},Empty:{description:"\u6682\u65E0\u6570\u636E"},Icon:{icon:"\u56FE\u6807"},Text:{edit:"\u7F16\u8F91",copy:"\u590D\u5236",copied:"\u590D\u5236\u6210\u529F",expand:"\u5C55\u5F00",collapse:"\u6536\u8D77"},Form:{optional:"\uFF08\u53EF\u9009\uFF09",defaultValidateMessages:{default:"\u5B57\u6BB5\u9A8C\u8BC1\u9519\u8BEF${label}",required:"\u8BF7\u8F93\u5165${label}",enum:"${label}\u5FC5\u987B\u662F\u5176\u4E2D\u4E00\u4E2A[${enum}]",whitespace:"${label}\u4E0D\u80FD\u4E3A\u7A7A\u5B57\u7B26",date:{format:"${label}\u65E5\u671F\u683C\u5F0F\u65E0\u6548",parse:"${label}\u4E0D\u80FD\u8F6C\u6362\u4E3A\u65E5\u671F",invalid:"${label}\u662F\u4E00\u4E2A\u65E0\u6548\u65E5\u671F"},types:{string:y,method:y,array:y,object:y,number:y,date:y,boolean:y,integer:y,float:y,regexp:y,email:y,url:y,hex:y},string:{len:"${label}\u987B\u4E3A${len}\u4E2A\u5B57\u7B26",min:"${label}\u6700\u5C11${min}\u4E2A\u5B57\u7B26",max:"${label}\u6700\u591A${max}\u4E2A\u5B57\u7B26",range:"${label}\u987B\u5728${min}-${max}\u5B57\u7B26\u4E4B\u95F4"},number:{len:"${label}\u5FC5\u987B\u7B49\u4E8E${len}",min:"${label}\u6700\u5C0F\u503C\u4E3A${min}",max:"${label}\u6700\u5927\u503C\u4E3A${max}",range:"${label}\u987B\u5728${min}-${max}\u4E4B\u95F4"},array:{len:"\u987B\u4E3A${len}\u4E2A${label}",min:"\u6700\u5C11${min}\u4E2A${label}",max:"\u6700\u591A${max}\u4E2A${label}",range:"${label}\u6570\u91CF\u987B\u5728${min}-${max}\u4E4B\u95F4"},pattern:{mismatch:"${label}\u4E0E\u6A21\u5F0F\u4E0D\u5339\u914D${pattern}"}}},Image:{preview:"\u9884\u89C8"},QRCode:{expired:"\u4E8C\u7EF4\u7801\u8FC7\u671F",refresh:"\u70B9\u51FB\u5237\u65B0",scanned:"\u5DF2\u626B\u63CF"},ColorPicker:{presetEmpty:"\u6682\u65E0"}},S=e(62435),K=e(81758),j=e(32818),ie=e(27484),Y=e.n(ie),U=e(98082),Z=function(O,h){var N,J,se,q,oe,V=(0,l.Z)({},O);return(0,l.Z)((0,l.Z)({bgLayout:"linear-gradient(".concat(h.colorBgContainer,", ").concat(h.colorBgLayout," 28%)"),colorTextAppListIcon:h.colorTextSecondary,appListIconHoverBgColor:V==null||(N=V.sider)===null||N===void 0?void 0:N.colorBgMenuItemSelected,colorBgAppListIconHover:(0,U.uK)(h.colorTextBase,.04),colorTextAppListIconHover:h.colorTextBase},V),{},{header:(0,l.Z)({colorBgHeader:(0,U.uK)(h.colorBgElevated,.6),colorBgScrollHeader:(0,U.uK)(h.colorBgElevated,.8),colorHeaderTitle:h.colorText,colorBgMenuItemHover:(0,U.uK)(h.colorTextBase,.03),colorBgMenuItemSelected:"transparent",colorBgMenuElevated:(V==null||(J=V.header)===null||J===void 0?void 0:J.colorBgHeader)!=="rgba(255, 255, 255, 0.6)"?(se=V.header)===null||se===void 0?void 0:se.colorBgHeader:h.colorBgElevated,colorTextMenuSelected:(0,U.uK)(h.colorTextBase,.95),colorBgRightActionsItemHover:(0,U.uK)(h.colorTextBase,.03),colorTextRightActionsItem:h.colorTextTertiary,heightLayoutHeader:56,colorTextMenu:h.colorTextSecondary,colorTextMenuSecondary:h.colorTextTertiary,colorTextMenuTitle:h.colorText,colorTextMenuActive:h.colorText},V.header),sider:(0,l.Z)({paddingInlineLayoutMenu:8,paddingBlockLayoutMenu:0,colorBgCollapsedButton:h.colorBgElevated,colorTextCollapsedButtonHover:h.colorTextSecondary,colorTextCollapsedButton:(0,U.uK)(h.colorTextBase,.25),colorMenuBackground:"transparent",colorMenuItemDivider:(0,U.uK)(h.colorTextBase,.06),colorBgMenuItemHover:(0,U.uK)(h.colorTextBase,.03),colorBgMenuItemSelected:(0,U.uK)(h.colorTextBase,.04),colorTextMenuItemHover:h.colorText,colorTextMenuSelected:(0,U.uK)(h.colorTextBase,.95),colorTextMenuActive:h.colorText,colorTextMenu:h.colorTextSecondary,colorTextMenuSecondary:h.colorTextTertiary,colorTextMenuTitle:h.colorText,colorTextSubMenuSelected:(0,U.uK)(h.colorTextBase,.95)},V.sider),pageContainer:(0,l.Z)({colorBgPageContainer:"transparent",paddingInlinePageContainerContent:((q=V.pageContainer)===null||q===void 0?void 0:q.marginInlinePageContainerContent)||40,paddingBlockPageContainerContent:((oe=V.pageContainer)===null||oe===void 0?void 0:oe.marginBlockPageContainerContent)||32,colorBgPageContainerFixed:h.colorBgElevated},V.pageContainer)})},n=e(67804),u=e(71002),r=function(){for(var O={},h=arguments.length,N=new Array(h),J=0;J1&&arguments[1]!==void 0?arguments[1]:1,m=3735928559^f,b=1103547991^f,y=0,B;y<_.length;y++)B=_.charCodeAt(y),m=Math.imul(m^B,2654435761),b=Math.imul(b^B,1597334677);return m=Math.imul(m^m>>>16,2246822507)^Math.imul(b^b>>>13,3266489909),b=Math.imul(b^b>>>16,2246822507)^Math.imul(m^m>>>13,3266489909),4294967296*(2097151&b)+(m>>>0)},T=(0,x.jG)(function(M){return M}),v={theme:T,token:(0,t.Z)((0,t.Z)({},p),c.Z===null||c.Z===void 0||(l=c.Z.defaultAlgorithm)===null||l===void 0?void 0:l.call(c.Z,c.Z===null||c.Z===void 0?void 0:c.Z.defaultSeed)),hashId:"pro-".concat(d(JSON.stringify(p)))},C=function(){return v}},1977:function(w,P,e){"use strict";e.d(P,{n:function(){return M}});var t=e(97685),x=e(71002),c=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,l=function(f){return f==="*"||f==="x"||f==="X"},p=function(f){var m=parseInt(f,10);return isNaN(m)?f:m},d=function(f,m){return(0,x.Z)(f)!==(0,x.Z)(m)?[String(f),String(m)]:[f,m]},T=function(f,m){if(l(f)||l(m))return 0;var b=d(p(f),p(m)),y=(0,t.Z)(b,2),B=y[0],$=y[1];return B>$?1:B<$?-1:0},v=function(f,m){for(var b=0;b-1?{open:v,onOpenChange:C}:{visible:v,onVisibleChange:C};return(0,x.Y)(M)}},10178:function(w,P,e){"use strict";e.d(P,{D:function(){return p}});var t=e(74165),x=e(15861),c=e(62435),l=e(48171);function p(d,T){var v=(0,l.J)(d),C=(0,c.useRef)(),M=(0,c.useCallback)(function(){C.current&&(clearTimeout(C.current),C.current=null)},[]),_=(0,c.useCallback)((0,x.Z)((0,t.Z)().mark(function f(){var m,b,y,B=arguments;return(0,t.Z)().wrap(function(S){for(;;)switch(S.prev=S.next){case 0:for(m=B.length,b=new Array(m),y=0;yx?typeof x=="function"?x():x:null},57838:function(w,P,e){"use strict";e.d(P,{Z:function(){return x}});var t=e(62435);function x(){const[,c]=t.useReducer(l=>l+1,0);return c}},74443:function(w,P,e){"use strict";e.d(P,{ZP:function(){return d},c4:function(){return c},m9:function(){return T}});var t=e(62435),x=e(29691);const c=["xxl","xl","lg","md","sm","xs"],l=v=>({xs:`(max-width: ${v.screenXSMax}px)`,sm:`(min-width: ${v.screenSM}px)`,md:`(min-width: ${v.screenMD}px)`,lg:`(min-width: ${v.screenLG}px)`,xl:`(min-width: ${v.screenXL}px)`,xxl:`(min-width: ${v.screenXXL}px)`}),p=v=>{const C=v,M=[].concat(c).reverse();return M.forEach((_,f)=>{const m=_.toUpperCase(),b=`screen${m}Min`,y=`screen${m}`;if(!(C[b]<=C[y]))throw new Error(`${b}<=${y} fails : !(${C[b]}<=${C[y]})`);if(f{const M=new Map;let _=-1,f={};return{matchHandlers:{},dispatch(m){return f=m,M.forEach(b=>b(f)),M.size>=1},subscribe(m){return M.size||this.register(),_+=1,M.set(_,m),m(f),_},unsubscribe(m){M.delete(m),M.size||this.unregister()},unregister(){Object.keys(C).forEach(m=>{const b=C[m],y=this.matchHandlers[b];y==null||y.mql.removeListener(y==null?void 0:y.listener)}),M.clear()},register(){Object.keys(C).forEach(m=>{const b=C[m],y=$=>{let{matches:S}=$;this.dispatch(Object.assign(Object.assign({},f),{[m]:S}))},B=window.matchMedia(b);B.addListener(y),this.matchHandlers[b]={mql:B,listener:y},y(B)})},responsiveMap:C}},[v])}const T=(v,C)=>{if(C&&typeof C=="object")for(let M=0;M{const{antCls:F,componentCls:L,iconCls:A,avatarBg:G,avatarColor:te,containerSize:X,containerSizeLG:ne,containerSizeSM:ae,textFontSize:re,textFontSizeLG:H,textFontSizeSM:O,borderRadius:h,borderRadiusLG:N,borderRadiusSM:J,lineWidth:se,lineType:q}=g,oe=(V,pe,ce)=>({width:V,height:V,borderRadius:"50%",[`&${L}-square`]:{borderRadius:ce},[`&${L}-icon`]:{fontSize:pe,[`> ${A}`]:{margin:0}}});return{[L]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,b.Wf)(g)),{position:"relative",display:"inline-flex",justifyContent:"center",alignItems:"center",overflow:"hidden",color:te,whiteSpace:"nowrap",textAlign:"center",verticalAlign:"middle",background:G,border:`${(0,m.bf)(se)} ${q} transparent`,"&-image":{background:"transparent"},[`${F}-image-img`]:{display:"block"}}),oe(X,re,h)),{"&-lg":Object.assign({},oe(ne,H,N)),"&-sm":Object.assign({},oe(ae,O,J)),"> img":{display:"block",width:"100%",height:"100%",objectFit:"cover"}})}},S=g=>{const{componentCls:F,groupBorderColor:L,groupOverlapping:A,groupSpace:G}=g;return{[`${F}-group`]:{display:"inline-flex",[`${F}`]:{borderColor:L},"> *:not(:first-child)":{marginInlineStart:A}},[`${F}-group-popover`]:{[`${F} + ${F}`]:{marginInlineStart:G}}}},K=g=>{const{controlHeight:F,controlHeightLG:L,controlHeightSM:A,fontSize:G,fontSizeLG:te,fontSizeXL:X,fontSizeHeading3:ne,marginXS:ae,marginXXS:re,colorBorderBg:H}=g;return{containerSize:F,containerSizeLG:L,containerSizeSM:A,textFontSize:Math.round((te+X)/2),textFontSizeLG:ne,textFontSizeSM:G,groupSpace:re,groupOverlapping:-ae,groupBorderColor:H}};var j=(0,y.I$)("Avatar",g=>{const{colorTextLightSolid:F,colorTextPlaceholder:L}=g,A=(0,B.TS)(g,{avatarBg:L,avatarColor:F});return[$(A),S(A)]},K),ie=function(g,F){var L={};for(var A in g)Object.prototype.hasOwnProperty.call(g,A)&&F.indexOf(A)<0&&(L[A]=g[A]);if(g!=null&&typeof Object.getOwnPropertySymbols=="function")for(var G=0,A=Object.getOwnPropertySymbols(g);G{const[L,A]=t.useState(1),[G,te]=t.useState(!1),[X,ne]=t.useState(!0),ae=t.useRef(null),re=t.useRef(null),H=(0,p.sQ)(F,ae),{getPrefixCls:O,avatar:h}=t.useContext(T.E_),N=t.useContext(f),J=()=>{if(!re.current||!ae.current)return;const D=re.current.offsetWidth,z=ae.current.offsetWidth;if(D!==0&&z!==0){const{gap:Q=4}=g;Q*2{te(!0)},[]),t.useEffect(()=>{ne(!0),A(1)},[g.src]),t.useEffect(J,[g.gap]);const se=()=>{const{onError:D}=g;(D==null?void 0:D())!==!1&&ne(!1)},{prefixCls:q,shape:oe,size:V,src:pe,srcSet:ce,icon:fe,className:me,rootClassName:Le,alt:Te,draggable:Se,children:be,crossOrigin:je}=g,Ze=ie(g,["prefixCls","shape","size","src","srcSet","icon","className","rootClassName","alt","draggable","children","crossOrigin"]),Pe=(0,C.Z)(D=>{var z,Q;return(Q=(z=V!=null?V:N==null?void 0:N.size)!==null&&z!==void 0?z:D)!==null&&Q!==void 0?Q:"default"}),Ve=Object.keys(typeof Pe=="object"?Pe||{}:{}).some(D=>["xs","sm","md","lg","xl","xxl"].includes(D)),Ce=(0,M.Z)(Ve),Ie=t.useMemo(()=>{if(typeof Pe!="object")return{};const D=d.c4.find(Q=>Ce[Q]),z=Pe[D];return z?{width:z,height:z,fontSize:z&&(fe||be)?z/2:18}:{}},[Ce,Pe]),xe=O("avatar",q),Be=(0,v.Z)(xe),[ze,Ae,Ne]=j(xe,Be),Ue=c()({[`${xe}-lg`]:Pe==="large",[`${xe}-sm`]:Pe==="small"}),Xe=t.isValidElement(pe),o=oe||(N==null?void 0:N.shape)||"circle",I=c()(xe,Ue,h==null?void 0:h.className,`${xe}-${o}`,{[`${xe}-image`]:Xe||pe&&X,[`${xe}-icon`]:!!fe},Ne,Be,me,Le,Ae),R=typeof Pe=="number"?{width:Pe,height:Pe,fontSize:fe?Pe/2:18}:{};let W;if(typeof pe=="string"&&X)W=t.createElement("img",{src:pe,draggable:Se,srcSet:ce,onError:se,alt:Te,crossOrigin:je});else if(Xe)W=pe;else if(fe)W=fe;else if(G||L!==1){const D=`scale(${L})`,z={msTransform:D,WebkitTransform:D,transform:D};W=t.createElement(l.Z,{onResize:J},t.createElement("span",{className:`${xe}-string`,ref:re,style:Object.assign({},z)},be))}else W=t.createElement("span",{className:`${xe}-string`,style:{opacity:0},ref:re},be);return delete Ze.onError,delete Ze.gap,ze(t.createElement("span",Object.assign({},Ze,{style:Object.assign(Object.assign(Object.assign(Object.assign({},R),Ie),h==null?void 0:h.style),Ze.style),className:I,ref:H}),W))};var Z=t.forwardRef(Y),n=e(50344),u=e(96159),r=e(55241);const i=g=>{const{size:F,shape:L}=t.useContext(f),A=t.useMemo(()=>({size:g.size||F,shape:g.shape||L}),[g.size,g.shape,F,L]);return t.createElement(f.Provider,{value:A},g.children)};var E=g=>{const{getPrefixCls:F,direction:L}=t.useContext(T.E_),{prefixCls:A,className:G,rootClassName:te,style:X,maxCount:ne,maxStyle:ae,size:re,shape:H,maxPopoverPlacement:O="top",maxPopoverTrigger:h="hover",children:N}=g,J=F("avatar",A),se=`${J}-group`,q=(0,v.Z)(J),[oe,V,pe]=j(J,q),ce=c()(se,{[`${se}-rtl`]:L==="rtl"},pe,q,G,te,V),fe=(0,n.Z)(N).map((Le,Te)=>(0,u.Tm)(Le,{key:`avatar-key-${Te}`})),me=fe.length;if(ne&&ne0&&arguments[0]!==void 0?arguments[0]:!0;const T=(0,t.useRef)({}),v=(0,c.Z)(),C=(0,l.ZP)();return(0,x.Z)(()=>{const M=C.subscribe(_=>{T.current=_,d&&v()});return()=>C.unsubscribe(M)},[]),T.current}P.Z=p},66330:function(w,P,e){"use strict";var t=e(62435),x=e(93967),c=e.n(x),l=e(92419),p=e(81643),d=e(53124),T=e(20136),v=function(f,m){var b={};for(var y in f)Object.prototype.hasOwnProperty.call(f,y)&&m.indexOf(y)<0&&(b[y]=f[y]);if(f!=null&&typeof Object.getOwnPropertySymbols=="function")for(var B=0,y=Object.getOwnPropertySymbols(f);B!m&&!b?null:t.createElement(t.Fragment,null,m&&t.createElement("div",{className:`${f}-title`},(0,p.Z)(m)),t.createElement("div",{className:`${f}-inner-content`},(0,p.Z)(b))),M=f=>{const{hashId:m,prefixCls:b,className:y,style:B,placement:$="top",title:S,content:K,children:j}=f;return t.createElement("div",{className:c()(m,b,`${b}-pure`,`${b}-placement-${$}`,y),style:B},t.createElement("div",{className:`${b}-arrow`}),t.createElement(l.G,Object.assign({},f,{className:m,prefixCls:b}),j||C(b,S,K)))},_=f=>{const{prefixCls:m,className:b}=f,y=v(f,["prefixCls","className"]),{getPrefixCls:B}=t.useContext(d.E_),$=B("popover",m),[S,K,j]=(0,T.Z)($);return S(t.createElement(M,Object.assign({},y,{prefixCls:$,hashId:K,className:c()(b,j)})))};P.ZP=_},55241:function(w,P,e){"use strict";var t=e(62435),x=e(93967),c=e.n(x),l=e(21770),p=e(15105),d=e(81643),T=e(33603),v=e(96159),C=e(53124),M=e(83062),_=e(66330),f=e(20136),m=function($,S){var K={};for(var j in $)Object.prototype.hasOwnProperty.call($,j)&&S.indexOf(j)<0&&(K[j]=$[j]);if($!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ie=0,j=Object.getOwnPropertySymbols($);ie{let{title:S,content:K,prefixCls:j}=$;return t.createElement(t.Fragment,null,S&&t.createElement("div",{className:`${j}-title`},(0,d.Z)(S)),t.createElement("div",{className:`${j}-inner-content`},(0,d.Z)(K)))},B=t.forwardRef(($,S)=>{var K,j;const{prefixCls:ie,title:Y,content:U,overlayClassName:Z,placement:n="top",trigger:u="hover",children:r,mouseEnterDelay:i=.1,mouseLeaveDelay:s=.1,onOpenChange:E,overlayStyle:a={}}=$,k=m($,["prefixCls","title","content","overlayClassName","placement","trigger","children","mouseEnterDelay","mouseLeaveDelay","onOpenChange","overlayStyle"]),{getPrefixCls:g}=t.useContext(C.E_),F=g("popover",ie),[L,A,G]=(0,f.Z)(F),te=g(),X=c()(Z,A,G),[ne,ae]=(0,l.Z)(!1,{value:(K=$.open)!==null&&K!==void 0?K:$.visible,defaultValue:(j=$.defaultOpen)!==null&&j!==void 0?j:$.defaultVisible}),re=(h,N)=>{ae(h,!0),E==null||E(h,N)},H=h=>{h.keyCode===p.Z.ESC&&re(!1,h)},O=h=>{re(h)};return L(t.createElement(M.Z,Object.assign({placement:n,trigger:u,mouseEnterDelay:i,mouseLeaveDelay:s,overlayStyle:a},k,{prefixCls:F,overlayClassName:X,ref:S,open:ne,onOpenChange:O,overlay:Y||U?t.createElement(b,{prefixCls:F,title:Y,content:U}):null,transitionName:(0,T.m)(te,"zoom-big",k.transitionName),"data-popover-inject":!0}),(0,v.Tm)(r,{onKeyDown:h=>{var N,J;t.isValidElement(r)&&((J=r==null?void 0:(N=r.props).onKeyDown)===null||J===void 0||J.call(N,h)),H(h)}})))});B._InternalPanelDoNotUseOrYouWillBeFired=_.ZP,P.Z=B},20136:function(w,P,e){"use strict";var t=e(14747),x=e(50438),c=e(97414),l=e(79511),p=e(8796),d=e(92030),T=e(45503);const v=_=>{const{componentCls:f,popoverColor:m,titleMinWidth:b,fontWeightStrong:y,innerPadding:B,boxShadowSecondary:$,colorTextHeading:S,borderRadiusLG:K,zIndexPopup:j,titleMarginBottom:ie,colorBgElevated:Y,popoverBg:U,titleBorderBottom:Z,innerContentPadding:n,titlePadding:u}=_;return[{[f]:Object.assign(Object.assign({},(0,t.Wf)(_)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:j,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","--antd-arrow-background-color":Y,width:"max-content",maxWidth:"100vw","&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${f}-content`]:{position:"relative"},[`${f}-inner`]:{backgroundColor:U,backgroundClip:"padding-box",borderRadius:K,boxShadow:$,padding:B},[`${f}-title`]:{minWidth:b,marginBottom:ie,color:S,fontWeight:y,borderBottom:Z,padding:u},[`${f}-inner-content`]:{color:m,padding:n}})},(0,c.ZP)(_,"var(--antd-arrow-background-color)"),{[`${f}-pure`]:{position:"relative",maxWidth:"none",margin:_.sizePopupArrow,display:"inline-block",[`${f}-content`]:{display:"inline-block"}}}]},C=_=>{const{componentCls:f}=_;return{[f]:p.i.map(m=>{const b=_[`${m}6`];return{[`&${f}-${m}`]:{"--antd-arrow-background-color":b,[`${f}-inner`]:{backgroundColor:b},[`${f}-arrow`]:{background:"transparent"}}}})}},M=_=>{const{lineWidth:f,controlHeight:m,fontHeight:b,padding:y,wireframe:B,zIndexPopupBase:$,borderRadiusLG:S,marginXS:K,lineType:j,colorSplit:ie,paddingSM:Y}=_,U=m-b,Z=U/2,n=U/2-f,u=y;return Object.assign(Object.assign(Object.assign({titleMinWidth:177,zIndexPopup:$+30},(0,l.w)(_)),(0,c.wZ)({contentRadius:S,limitVerticalRadius:!0})),{innerPadding:B?0:12,titleMarginBottom:B?0:K,titlePadding:B?`${Z}px ${u}px ${n}px`:0,titleBorderBottom:B?`${f}px ${j} ${ie}`:"none",innerContentPadding:B?`${Y}px ${u}px`:0})};P.Z=(0,d.I$)("Popover",_=>{const{colorBgElevated:f,colorText:m}=_,b=(0,T.TS)(_,{popoverBg:f,popoverColor:m});return[v(b),C(b),(0,x._y)(b,"zoom-big")]},M,{resetStyle:!1,deprecatedTokens:[["width","titleMinWidth"],["minWidth","titleMinWidth"]]})},75081:function(w,P,e){"use strict";e.d(P,{Z:function(){return Z}});var t=e(62435),x=e(93967),c=e.n(x),l=e(98423);function p(n,u,r){var i=r||{},s=i.noTrailing,E=s===void 0?!1:s,a=i.noLeading,k=a===void 0?!1:a,g=i.debounceMode,F=g===void 0?void 0:g,L,A=!1,G=0;function te(){L&&clearTimeout(L)}function X(ae){var re=ae||{},H=re.upcomingOnly,O=H===void 0?!1:H;te(),A=!O}function ne(){for(var ae=arguments.length,re=new Array(ae),H=0;Hn?k?(G=Date.now(),E||(L=setTimeout(F?J:N,n))):N():E!==!0&&(L=setTimeout(F?J:N,F===void 0?n-h:n))}return ne.cancel=X,ne}function d(n,u,r){var i=r||{},s=i.atBegin,E=s===void 0?!1:s;return p(n,u,{debounceMode:E!==!1})}var T=e(96159),v=e(53124),C=e(54548),M=e(14747),_=e(92030),f=e(45503);const m=new C.E4("antSpinMove",{to:{opacity:1}}),b=new C.E4("antRotate",{to:{transform:"rotate(405deg)"}}),y=n=>{const{componentCls:u,calc:r}=n;return{[`${u}`]:Object.assign(Object.assign({},(0,M.Wf)(n)),{position:"absolute",display:"none",color:n.colorPrimary,fontSize:0,textAlign:"center",verticalAlign:"middle",opacity:0,transition:`transform ${n.motionDurationSlow} ${n.motionEaseInOutCirc}`,"&-spinning":{position:"static",display:"inline-block",opacity:1},[`${u}-text`]:{fontSize:n.fontSize,paddingTop:r(r(n.dotSize).sub(n.fontSize)).div(2).add(2).equal()},"&-fullscreen":{position:"fixed",width:"100vw",height:"100vh",backgroundColor:n.colorBgMask,zIndex:n.zIndexPopupBase,inset:0,display:"flex",alignItems:"center",flexDirection:"column",justifyContent:"center",opacity:0,visibility:"hidden",transition:`all ${n.motionDurationMid}`,"&-show":{opacity:1,visibility:"visible"},[`${u}-dot ${u}-dot-item`]:{backgroundColor:n.colorWhite},[`${u}-text`]:{color:n.colorTextLightSolid}},"&-nested-loading":{position:"relative",[`> div > ${u}`]:{position:"absolute",top:0,insetInlineStart:0,zIndex:4,display:"block",width:"100%",height:"100%",maxHeight:n.contentHeight,[`${u}-dot`]:{position:"absolute",top:"50%",insetInlineStart:"50%",margin:r(n.dotSize).mul(-1).div(2).equal()},[`${u}-text`]:{position:"absolute",top:"50%",width:"100%",textShadow:`0 1px 2px ${n.colorBgContainer}`},[`&${u}-show-text ${u}-dot`]:{marginTop:r(n.dotSize).div(2).mul(-1).sub(10).equal()},"&-sm":{[`${u}-dot`]:{margin:r(n.dotSizeSM).mul(-1).div(2).equal()},[`${u}-text`]:{paddingTop:r(r(n.dotSizeSM).sub(n.fontSize)).div(2).add(2).equal()},[`&${u}-show-text ${u}-dot`]:{marginTop:r(n.dotSizeSM).div(2).mul(-1).sub(10).equal()}},"&-lg":{[`${u}-dot`]:{margin:r(n.dotSizeLG).mul(-1).div(2).equal()},[`${u}-text`]:{paddingTop:r(r(n.dotSizeLG).sub(n.fontSize)).div(2).add(2).equal()},[`&${u}-show-text ${u}-dot`]:{marginTop:r(n.dotSizeLG).div(2).mul(-1).sub(10).equal()}}},[`${u}-container`]:{position:"relative",transition:`opacity ${n.motionDurationSlow}`,"&::after":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:10,width:"100%",height:"100%",background:n.colorBgContainer,opacity:0,transition:`all ${n.motionDurationSlow}`,content:'""',pointerEvents:"none"}},[`${u}-blur`]:{clear:"both",opacity:.5,userSelect:"none",pointerEvents:"none","&::after":{opacity:.4,pointerEvents:"auto"}}},"&-tip":{color:n.spinDotDefault},[`${u}-dot`]:{position:"relative",display:"inline-block",fontSize:n.dotSize,width:"1em",height:"1em","&-item":{position:"absolute",display:"block",width:r(n.dotSize).sub(r(n.marginXXS).div(2)).div(2).equal(),height:r(n.dotSize).sub(r(n.marginXXS).div(2)).div(2).equal(),backgroundColor:n.colorPrimary,borderRadius:"100%",transform:"scale(0.75)",transformOrigin:"50% 50%",opacity:.3,animationName:m,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear",animationDirection:"alternate","&:nth-child(1)":{top:0,insetInlineStart:0,animationDelay:"0s"},"&:nth-child(2)":{top:0,insetInlineEnd:0,animationDelay:"0.4s"},"&:nth-child(3)":{insetInlineEnd:0,bottom:0,animationDelay:"0.8s"},"&:nth-child(4)":{bottom:0,insetInlineStart:0,animationDelay:"1.2s"}},"&-spin":{transform:"rotate(45deg)",animationName:b,animationDuration:"1.2s",animationIterationCount:"infinite",animationTimingFunction:"linear"}},[`&-sm ${u}-dot`]:{fontSize:n.dotSizeSM,i:{width:r(r(n.dotSizeSM).sub(r(n.marginXXS).div(2))).div(2).equal(),height:r(r(n.dotSizeSM).sub(r(n.marginXXS).div(2))).div(2).equal()}},[`&-lg ${u}-dot`]:{fontSize:n.dotSizeLG,i:{width:r(r(n.dotSizeLG).sub(n.marginXXS)).div(2).equal(),height:r(r(n.dotSizeLG).sub(n.marginXXS)).div(2).equal()}},[`&${u}-show-text ${u}-text`]:{display:"block"}})}},B=n=>{const{controlHeightLG:u,controlHeight:r}=n;return{contentHeight:400,dotSize:u/2,dotSizeSM:u*.35,dotSizeLG:r}};var $=(0,_.I$)("Spin",n=>{const u=(0,f.TS)(n,{spinDotDefault:n.colorTextDescription});return[y(u)]},B),S=function(n,u){var r={};for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&u.indexOf(i)<0&&(r[i]=n[i]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,i=Object.getOwnPropertySymbols(n);s{const{prefixCls:u,spinning:r=!0,delay:i=0,className:s,rootClassName:E,size:a="default",tip:k,wrapperClassName:g,style:F,children:L,fullscreen:A=!1}=n,G=S(n,["prefixCls","spinning","delay","className","rootClassName","size","tip","wrapperClassName","style","children","fullscreen"]),{getPrefixCls:te}=t.useContext(v.E_),X=te("spin",u),[ne,ae,re]=$(X),[H,O]=t.useState(()=>r&&!Y(r,i));t.useEffect(()=>{if(r){const ce=d(i,()=>{O(!0)});return ce(),()=>{var fe;(fe=ce==null?void 0:ce.cancel)===null||fe===void 0||fe.call(ce)}}O(!1)},[i,r]);const h=t.useMemo(()=>typeof L!="undefined"&&!A,[L,A]),{direction:N,spin:J}=t.useContext(v.E_),se=c()(X,J==null?void 0:J.className,{[`${X}-sm`]:a==="small",[`${X}-lg`]:a==="large",[`${X}-spinning`]:H,[`${X}-show-text`]:!!k,[`${X}-fullscreen`]:A,[`${X}-fullscreen-show`]:A&&H,[`${X}-rtl`]:N==="rtl"},s,E,ae,re),q=c()(`${X}-container`,{[`${X}-blur`]:H}),oe=(0,l.Z)(G,["indicator"]),V=Object.assign(Object.assign({},J==null?void 0:J.style),F),pe=t.createElement("div",Object.assign({},oe,{style:V,className:se,"aria-live":"polite","aria-busy":H}),ie(X,n),k&&(h||A)?t.createElement("div",{className:`${X}-text`},k):null);return ne(h?t.createElement("div",Object.assign({},oe,{className:c()(`${X}-nested-loading`,g,ae,re)}),H&&t.createElement("div",{key:"loading"},pe),t.createElement("div",{className:q,key:"container"},L)):pe)};U.setDefaultIndicator=n=>{j=n};var Z=U},9361:function(w,P,e){"use strict";e.d(P,{Z:function(){return Z}});var t=e(54548),x=e(67164),c=e(2790),l=e(1393),d=n=>{const u=n!=null&&n.algorithm?(0,t.jG)(n.algorithm):(0,t.jG)(x.Z),r=Object.assign(Object.assign({},c.Z),n==null?void 0:n.token);return(0,t.t2)(r,{override:n==null?void 0:n.token},u,l.Z)},T=e(29691),v=e(33083),C=e(372),M=e(69594);function _(n){const{sizeUnit:u,sizeStep:r}=n,i=r-2;return{sizeXXL:u*(i+10),sizeXL:u*(i+6),sizeLG:u*(i+2),sizeMD:u*(i+2),sizeMS:u*(i+1),size:u*i,sizeSM:u*i,sizeXS:u*(i-1),sizeXXS:u*(i-1)}}var m=(n,u)=>{const r=u!=null?u:(0,x.Z)(n),i=r.fontSizeSM,s=r.controlHeight-4;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},r),_(u!=null?u:n)),(0,M.Z)(i)),{controlHeight:s}),(0,C.Z)(Object.assign(Object.assign({},r),{controlHeight:s})))},b=e(16397),y=e(57),B=e(10274);const $=(n,u)=>new B.C(n).setAlpha(u).toRgbString(),S=(n,u)=>new B.C(n).lighten(u).toHexString(),K=n=>{const u=(0,b.R_)(n,{theme:"dark"});return{1:u[0],2:u[1],3:u[2],4:u[3],5:u[6],6:u[5],7:u[4],8:u[6],9:u[5],10:u[4]}},j=(n,u)=>{const r=n||"#000",i=u||"#fff";return{colorBgBase:r,colorTextBase:i,colorText:$(i,.85),colorTextSecondary:$(i,.65),colorTextTertiary:$(i,.45),colorTextQuaternary:$(i,.25),colorFill:$(i,.18),colorFillSecondary:$(i,.12),colorFillTertiary:$(i,.08),colorFillQuaternary:$(i,.04),colorBgElevated:S(r,12),colorBgContainer:S(r,8),colorBgLayout:S(r,0),colorBgSpotlight:S(r,26),colorBgBlur:$(i,.04),colorBorder:S(r,26),colorBorderSecondary:S(r,19)}};var Y=(n,u)=>{const r=Object.keys(c.M).map(s=>{const E=(0,b.R_)(n[s],{theme:"dark"});return new Array(10).fill(1).reduce((a,k,g)=>(a[`${s}-${g+1}`]=E[g],a[`${s}${g+1}`]=E[g],a),{})}).reduce((s,E)=>(s=Object.assign(Object.assign({},s),E),s),{}),i=u!=null?u:(0,x.Z)(n);return Object.assign(Object.assign(Object.assign({},i),r),(0,y.Z)(n,{generateColorPalettes:K,generateNeutralColorPalettes:j}))};function U(){const[n,u,r]=(0,T.ZP)();return{theme:n,token:u,hashId:r}}var Z={defaultConfig:v.u_,defaultSeed:v.u_.token,useToken:U,defaultAlgorithm:x.Z,darkAlgorithm:Y,compactAlgorithm:m,getDesignToken:d}},27484:function(w){(function(P,e){w.exports=e()})(this,function(){"use strict";var P=1e3,e=6e4,t=36e5,x="millisecond",c="second",l="minute",p="hour",d="day",T="week",v="month",C="quarter",M="year",_="date",f="Invalid Date",m=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,b=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,y={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(r){var i=["th","st","nd","rd"],s=r%100;return"["+r+(i[(s-20)%10]||i[s]||i[0])+"]"}},B=function(r,i,s){var E=String(r);return!E||E.length>=i?r:""+Array(i+1-E.length).join(s)+r},$={s:B,z:function(r){var i=-r.utcOffset(),s=Math.abs(i),E=Math.floor(s/60),a=s%60;return(i<=0?"+":"-")+B(E,2,"0")+":"+B(a,2,"0")},m:function r(i,s){if(i.date()1)return r(g[0])}else{var F=i.name;K[F]=i,a=F}return!E&&a&&(S=a),a||!E&&S},U=function(r,i){if(ie(r))return r.clone();var s=typeof i=="object"?i:{};return s.date=r,s.args=arguments,new n(s)},Z=$;Z.l=Y,Z.i=ie,Z.w=function(r,i){return U(r,{locale:i.$L,utc:i.$u,x:i.$x,$offset:i.$offset})};var n=function(){function r(s){this.$L=Y(s.locale,null,!0),this.parse(s),this.$x=this.$x||s.x||{},this[j]=!0}var i=r.prototype;return i.parse=function(s){this.$d=function(E){var a=E.date,k=E.utc;if(a===null)return new Date(NaN);if(Z.u(a))return new Date;if(a instanceof Date)return new Date(a);if(typeof a=="string"&&!/Z$/i.test(a)){var g=a.match(m);if(g){var F=g[2]-1||0,L=(g[7]||"0").substring(0,3);return k?new Date(Date.UTC(g[1],F,g[3]||1,g[4]||0,g[5]||0,g[6]||0,L)):new Date(g[1],F,g[3]||1,g[4]||0,g[5]||0,g[6]||0,L)}}return new Date(a)}(s),this.init()},i.init=function(){var s=this.$d;this.$y=s.getFullYear(),this.$M=s.getMonth(),this.$D=s.getDate(),this.$W=s.getDay(),this.$H=s.getHours(),this.$m=s.getMinutes(),this.$s=s.getSeconds(),this.$ms=s.getMilliseconds()},i.$utils=function(){return Z},i.isValid=function(){return this.$d.toString()!==f},i.isSame=function(s,E){var a=U(s);return this.startOf(E)<=a&&a<=this.endOf(E)},i.isAfter=function(s,E){return U(s)=c.length?{done:!0}:{done:!1,value:c[d++]}},e:function(f){throw f},f:T}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var v,C=!0,M=!1;return{s:function(){p=p.call(c)},n:function(){var f=p.next();return C=f.done,f},e:function(f){M=!0,v=f},f:function(){try{C||p.return==null||p.return()}finally{if(M)throw v}}}}},81758:function(w,P,e){"use strict";e.d(P,{J$:function(){return Ue},ZP:function(){return Xe},kY:function(){return je}});var t=e(62435),x=e(61688);const c=()=>{},l=c(),p=Object,d=o=>o===l,T=o=>typeof o=="function",v=(o,I)=>ut(ut({},o),I),C=o=>T(o.then),M=new WeakMap;let _=0;const f=o=>{const I=typeof o,R=o&&o.constructor,W=R==Date;let D,z;if(p(o)===o&&!W&&R!=RegExp){if(D=M.get(o),D)return D;if(D=++_+"~",M.set(o,D),R==Array){for(D="@",z=0;z$&&typeof window.requestAnimationFrame!=B,j=(o,I)=>{const R=m.get(o);return[()=>!d(I)&&o.get(I)||b,W=>{if(!d(I)){const D=o.get(I);I in y||(y[I]=D),R[5](I,v(D,W),D||b)}},R[6],()=>!d(I)&&I in y?y[I]:!d(I)&&o.get(I)||b]};let ie=!0;const Y=()=>ie,[U,Z]=$&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[c,c],n=()=>{const o=S&&document.visibilityState;return d(o)||o!=="hidden"},u=o=>(S&&document.addEventListener("visibilitychange",o),U("focus",o),()=>{S&&document.removeEventListener("visibilitychange",o),Z("focus",o)}),r=o=>{const I=()=>{ie=!0,o()},R=()=>{ie=!1};return U("online",I),U("offline",R),()=>{Z("online",I),Z("offline",R)}},i={isOnline:Y,isVisible:n},s={initFocus:u,initReconnect:r},E=!t.useId,a=!$||"Deno"in window,k=o=>K()?window.requestAnimationFrame(o):setTimeout(o,1),g=a?t.useEffect:t.useLayoutEffect,F=typeof navigator!="undefined"&&navigator.connection,L=!a&&F&&(["slow-2g","2g"].includes(F.effectiveType)||F.saveData),A=o=>{if(T(o))try{o=o()}catch(R){o=""}const I=o;return o=typeof o=="string"?o:(Array.isArray(o)?o.length:o)?f(o):"",[o,I]};let G=0;const te=()=>++G,X=0,ne=1,ae=2;var H={__proto__:null,ERROR_REVALIDATE_EVENT:3,FOCUS_EVENT:X,MUTATE_EVENT:ae,RECONNECT_EVENT:ne};function O(...o){return pt(this,null,function*(){const[I,R,W,D]=o,z=v({populateCache:!0,throwOnError:!0},typeof D=="boolean"?{revalidate:D}:D||{});let Q=z.populateCache;const ge=z.rollbackOnError;let le=z.optimisticData;const He=$e=>typeof ge=="function"?ge($e):ge!==!1,Oe=z.throwOnError;if(T(R)){const $e=R,ye=[],Ke=I.keys();for(const Me of Ke)!/^\$(inf|sub)\$/.test(Me)&&$e(I.get(Me)._k)&&ye.push(Me);return Promise.all(ye.map(Ee))}return Ee(R);function Ee($e){return pt(this,null,function*(){const[ye]=A($e);if(!ye)return;const[Ke,Me]=j(I,ye),[ht,ee,ft,ct]=m.get(I),qe=()=>{const We=ht[ye];return(T(z.revalidate)?z.revalidate(Ke().data,$e):z.revalidate!==!1)&&(delete ft[ye],delete ct[ye],We&&We[0])?We[0](ae).then(()=>Ke().data):Ke().data};if(o.length<3)return qe();let Fe=W,we;const tt=te();ee[ye]=[tt,0];const ve=!d(le),nt=Ke(),Ge=nt.data,rt=nt._c,et=d(rt)?Ge:rt;if(ve&&(le=T(le)?le(et,Ge):le,Me({data:le,_c:et})),T(Fe))try{Fe=Fe(et)}catch(We){we=We}if(Fe&&C(Fe))if(Fe=yield Fe.catch(We=>{we=We}),tt!==ee[ye][0]){if(we)throw we;return Fe}else we&&ve&&He(we)&&(Q=!0,Me({data:et,_c:l}));if(Q&&!we)if(T(Q)){const We=Q(Fe,et);Me({data:We,error:l,_c:l})}else Me({data:Fe,error:l,_c:l});if(ee[ye][1]=te(),Promise.resolve(qe()).then(()=>{Me({_c:l})}),we){if(Oe)throw we;return}return Fe})}})}const h=(o,I)=>{for(const R in o)o[R][0]&&o[R][0](I)},N=(o,I)=>{if(!m.has(o)){const R=v(s,I),W={},D=O.bind(l,o);let z=c;const Q={},ge=(Oe,Ee)=>{const $e=Q[Oe]||[];return Q[Oe]=$e,$e.push(Ee),()=>$e.splice($e.indexOf(Ee),1)},le=(Oe,Ee,$e)=>{o.set(Oe,Ee);const ye=Q[Oe];if(ye)for(const Ke of ye)Ke(Ee,$e)},He=()=>{if(!m.has(o)&&(m.set(o,[W,{},{},{},D,le,ge]),!a)){const Oe=R.initFocus(setTimeout.bind(l,h.bind(l,W,X))),Ee=R.initReconnect(setTimeout.bind(l,h.bind(l,W,ne)));z=()=>{Oe&&Oe(),Ee&&Ee(),m.delete(o)}}};return He(),[o,D,He,z]}return[o,m.get(o)[4]]},J=(o,I,R,W,D)=>{const z=R.errorRetryCount,Q=D.retryCount,ge=~~((Math.random()+.5)*(1<<(Q<8?Q:8)))*R.errorRetryInterval;!d(z)&&Q>z||setTimeout(W,ge,D)},se=(o,I)=>f(o)==f(I),[q,oe]=N(new Map),V=v({onLoadingSlow:c,onSuccess:c,onError:c,onErrorRetry:J,onDiscarded:c,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:L?1e4:5e3,focusThrottleInterval:5*1e3,dedupingInterval:2*1e3,loadingTimeout:L?5e3:3e3,compare:se,isPaused:()=>!1,cache:q,mutate:oe,fallback:{}},i),pe=(o,I)=>{const R=v(o,I);if(I){const{use:W,fallback:D}=o,{use:z,fallback:Q}=I;W&&z&&(R.use=W.concat(z)),D&&Q&&(R.fallback=v(D,Q))}return R},ce=(0,t.createContext)({}),fe=o=>{const{value:I}=o,R=(0,t.useContext)(ce),W=T(I),D=(0,t.useMemo)(()=>W?I(R):I,[W,R,I]),z=(0,t.useMemo)(()=>W?D:pe(R,D),[W,R,D]),Q=D&&D.provider,ge=(0,t.useRef)(l);Q&&!ge.current&&(ge.current=N(Q(z.cache||q),D));const le=ge.current;return le&&(z.cache=le[0],z.mutate=le[1]),g(()=>{if(le)return le[2]&&le[2](),le[3]},[]),(0,t.createElement)(ce.Provider,v(o,{value:z}))},me="$inf$",Le=$&&window.__SWR_DEVTOOLS_USE__,Te=Le?window.__SWR_DEVTOOLS_USE__:[],Se=()=>{Le&&(window.__SWR_DEVTOOLS_REACT__=t)},be=o=>T(o[1])?[o[0],o[1],o[2]||{}]:[o[0],null,(o[1]===null?o[2]:o[1])||{}],je=()=>v(V,(0,t.useContext)(ce)),Ze=(o,I)=>{const[R,W]=A(o),[,,,D]=m.get(q);if(D[R])return D[R];const z=I(W);return D[R]=z,z},Pe=o=>(I,R,W)=>o(I,R&&((...z)=>{const[Q]=A(I),[,,,ge]=m.get(q);if(Q.startsWith(me))return R(...z);const le=ge[Q];return d(le)?R(...z):(delete ge[Q],le)}),W),Ve=Te.concat(Pe),Ce=o=>function(...R){const W=je(),[D,z,Q]=be(R),ge=pe(W,Q);let le=o;const{use:He}=ge,Oe=(He||[]).concat(Ve);for(let Ee=Oe.length;Ee--;)le=Oe[Ee](le);return le(D,z||ge.fetcher||null,ge)},Ie=(o,I,R)=>{const W=I[o]||(I[o]=[]);return W.push(R),()=>{const D=W.indexOf(R);D>=0&&(W[D]=W[W.length-1],W.pop())}},xe=(o,I)=>(...R)=>{const[W,D,z]=be(R),Q=(z.use||[]).concat(I);return o(W,D,Lt(ut({},z),{use:Q}))};Se();const Be=o=>serialize(o)[0],ze=t.use||(o=>{if(o.status==="pending")throw o;if(o.status==="fulfilled")return o.value;throw o.status==="rejected"?o.reason:(o.status="pending",o.then(I=>{o.status="fulfilled",o.value=I},I=>{o.status="rejected",o.reason=I}),o)}),Ae={dedupe:!0},Ne=(o,I,R)=>{const{cache:W,compare:D,suspense:z,fallbackData:Q,revalidateOnMount:ge,revalidateIfStale:le,refreshInterval:He,refreshWhenHidden:Oe,refreshWhenOffline:Ee,keepPreviousData:$e}=R,[ye,Ke,Me,ht]=m.get(W),[ee,ft]=A(o),ct=(0,t.useRef)(!1),qe=(0,t.useRef)(!1),Fe=(0,t.useRef)(ee),we=(0,t.useRef)(I),tt=(0,t.useRef)(R),ve=()=>tt.current,nt=()=>ve().isVisible()&&ve().isOnline(),[Ge,rt,et,We]=j(W,ee),ot=(0,t.useRef)({}).current,It=d(Q)?R.fallback[ee]:Q,yt=(de,ue)=>{for(const _e in ot){const he=_e;if(he==="data"){if(!D(de[he],ue[he])&&(!d(de[he])||!D(gt,ue[he])))return!1}else if(ue[he]!==de[he])return!1}return!0},St=(0,t.useMemo)(()=>{const de=!ee||!I?!1:d(ge)?ve().isPaused()||z?!1:d(le)?!0:le:ge,ue=Re=>{const Je=v(Re);return delete Je._k,de?ut({isValidating:!0,isLoading:!0},Je):Je},_e=Ge(),he=We(),Ye=ue(_e),st=_e===he?Ye:ue(he);let De=Ye;return[()=>{const Re=ue(Ge());return yt(Re,De)?(De.data=Re.data,De.isLoading=Re.isLoading,De.isValidating=Re.isValidating,De.error=Re.error,De):(De=Re,Re)},()=>st]},[W,ee]),it=(0,x.useSyncExternalStore)((0,t.useCallback)(de=>et(ee,(ue,_e)=>{yt(_e,ue)||de()}),[W,ee]),St[0],St[1]),xt=!ct.current,$t=ye[ee]&&ye[ee].length>0,at=it.data,lt=d(at)?It:at,mt=it.error,Tt=(0,t.useRef)(lt),gt=$e?d(at)?Tt.current:at:lt,Pt=$t&&!d(mt)?!1:xt&&!d(ge)?ge:ve().isPaused()?!1:z?d(lt)?!1:le:d(lt)||le,Ct=!!(ee&&I&&xt&&Pt),Rt=d(it.isValidating)?Ct:it.isValidating,Bt=d(it.isLoading)?Ct:it.isLoading,dt=(0,t.useCallback)(de=>pt(this,null,function*(){const ue=we.current;if(!ee||!ue||qe.current||ve().isPaused())return!1;let _e,he,Ye=!0;const st=de||{},De=!Me[ee]||!st.dedupe,Re=()=>E?!qe.current&&ee===Fe.current&&ct.current:ee===Fe.current,Je={isValidating:!1,isLoading:!1},Mt=()=>{rt(Je)},Dt=()=>{const ke=Me[ee];ke&&ke[1]===he&&delete Me[ee]},Ot={isValidating:!0};d(Ge().data)&&(Ot.isLoading=!0);try{if(De&&(rt(Ot),R.loadingTimeout&&d(Ge().data)&&setTimeout(()=>{Ye&&Re()&&ve().onLoadingSlow(ee,R)},R.loadingTimeout),Me[ee]=[ue(ft),te()]),[_e,he]=Me[ee],_e=yield _e,De&&setTimeout(Dt,R.dedupingInterval),!Me[ee]||Me[ee][1]!==he)return De&&Re()&&ve().onDiscarded(ee),!1;Je.error=l;const ke=Ke[ee];if(!d(ke)&&(he<=ke[0]||he<=ke[1]||ke[1]===0))return Mt(),De&&Re()&&ve().onDiscarded(ee),!1;const Qe=Ge().data;Je.data=D(Qe,_e)?Qe:_e,De&&Re()&&ve().onSuccess(_e,ee,R)}catch(ke){Dt();const Qe=ve(),{shouldRetryOnError:vt}=Qe;Qe.isPaused()||(Je.error=ke,De&&Re()&&(Qe.onError(ke,ee,Qe),(vt===!0||T(vt)&&vt(ke))&&(!ve().revalidateOnFocus||!ve().revalidateOnReconnect||nt())&&Qe.onErrorRetry(ke,ee,Qe,zt=>{const bt=ye[ee];bt&&bt[0]&&bt[0](H.ERROR_REVALIDATE_EVENT,zt)},{retryCount:(st.retryCount||0)+1,dedupe:!0})))}return Ye=!1,Mt(),!0}),[ee,W]),Et=(0,t.useCallback)((...de)=>O(W,Fe.current,...de),[]);if(g(()=>{we.current=I,tt.current=R,d(at)||(Tt.current=at)}),g(()=>{if(!ee)return;const de=dt.bind(l,Ae);let ue=0;const he=Ie(ee,ye,(Ye,st={})=>{if(Ye==H.FOCUS_EVENT){const De=Date.now();ve().revalidateOnFocus&&De>ue&&nt()&&(ue=De+ve().focusThrottleInterval,de())}else if(Ye==H.RECONNECT_EVENT)ve().revalidateOnReconnect&&nt()&&de();else{if(Ye==H.MUTATE_EVENT)return dt();if(Ye==H.ERROR_REVALIDATE_EVENT)return dt(st)}});return qe.current=!1,Fe.current=ee,ct.current=!0,rt({_k:ft}),Pt&&(d(lt)||a?de():k(de)),()=>{qe.current=!0,he()}},[ee]),g(()=>{let de;function ue(){const he=T(He)?He(Ge().data):He;he&&de!==-1&&(de=setTimeout(_e,he))}function _e(){!Ge().error&&(Oe||ve().isVisible())&&(Ee||ve().isOnline())?dt(Ae).then(ue):ue()}return ue(),()=>{de&&(clearTimeout(de),de=-1)}},[He,Oe,Ee,ee]),(0,t.useDebugValue)(gt),z&&d(lt)&&ee){if(!E&&a)throw new Error("Fallback data is required when using suspense in SSR.");we.current=I,tt.current=R,qe.current=!1;const de=ht[ee];if(!d(de)){const ue=Et(de);ze(ue)}if(d(mt)){const ue=dt(Ae);d(gt)||(ue.status="fulfilled",ue.value=!0),ze(ue)}else throw mt}return{mutate:Et,get data(){return ot.data=!0,gt},get error(){return ot.error=!0,mt},get isValidating(){return ot.isValidating=!0,Rt},get isLoading(){return ot.isLoading=!0,Bt}}},Ue=p.defineProperty(fe,"defaultValue",{value:V}),Xe=Ce(Ne)}}]);