|
|
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[62487],{80205:function(e,t,n){n.d(t,{Z:function(){return c}});var o=n(5891),r=n(59301),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},l=n(88853),i=function(e,t){return r.createElement(l.Z,(0,o.Z)({},e,{ref:t,icon:a}))};var c=r.forwardRef(i)},77578:function(e,t,n){n.d(t,{Z:function(){return o}});const o=e=>e?"function"==typeof e?e():e:null},36381:function(e,t,n){n.d(t,{Z:function(){return _}});var o=n(53878),r=n(92310),a=n.n(r),l=n(5891),i=n(26390),c=n(29043),s=n(80665),d=n(55473),p=n(26731),u=n(59301),m=n(19149),f=n(84147),g=n(80962),b=n(13408),v=n(41206),h=u.forwardRef((function(e,t){var n=e.prefixCls,o=e.forceRender,r=e.className,l=e.style,i=e.children,s=e.isActive,d=e.role,p=u.useState(s||o),m=(0,c.Z)(p,2),f=m[0],b=m[1];return u.useEffect((function(){(o||s)&&b(!0)}),[o,s]),f?u.createElement("div",{ref:t,className:a()("".concat(n,"-content"),(0,g.Z)((0,g.Z)({},"".concat(n,"-content-active"),s),"".concat(n,"-content-inactive"),!s),r),style:l,role:d},u.createElement("div",{className:"".concat(n,"-content-box")},i)):null}));h.displayName="PanelContent";var x=h,y=["showArrow","headerClass","isActive","onItemClick","forceRender","className","prefixCls","collapsible","accordion","panelKey","extra","header","expandIcon","openMotion","destroyInactivePanel","children"],C=u.forwardRef((function(e,t){var n=e.showArrow,o=void 0===n||n,r=e.headerClass,i=e.isActive,c=e.onItemClick,s=e.forceRender,d=e.className,p=e.prefixCls,f=e.collapsible,h=e.accordion,C=e.panelKey,$=e.extra,k=e.header,E=e.expandIcon,w=e.openMotion,N=e.destroyInactivePanel,S=e.children,I=(0,m.Z)(e,y),P="disabled"===f,Z="header"===f,O="icon"===f,j=null!=$&&"boolean"!=typeof $,R=function(){null==c||c(C)},B="function"==typeof E?E(e):u.createElement("i",{className:"arrow"});B&&(B=u.createElement("div",{className:"".concat(p,"-expand-icon"),onClick:["header","icon"].includes(f)?R:void 0},B));var T=a()((0,g.Z)((0,g.Z)((0,g.Z)({},"".concat(p,"-item"),!0),"".concat(p,"-item-active"),i),"".concat(p,"-item-disabled"),P),d),z={className:a()(r,(0,g.Z)((0,g.Z)((0,g.Z)({},"".concat(p,"-header"),!0),"".concat(p,"-header-collapsible-only"),Z),"".concat(p,"-icon-collapsible-only"),O)),"aria-expanded":i,"aria-disabled":P,onKeyDown:function(e){"Enter"!==e.key&&e.keyCode!==v.Z.ENTER&&e.which!==v.Z.ENTER||R()}};return Z||O||(z.onClick=R,z.role=h?"tab":"button",z.tabIndex=P?-1:0),u.createElement("div",(0,l.Z)({},I,{ref:t,className:T}),u.createElement("div",z,o&&B,u.createElement("span",{className:"".concat(p,"-header-text"),onClick:"header"===f?R:void 0},k),j&&u.createElement("div",{className:"".concat(p,"-extra")},$)),u.createElement(b.default,(0,l.Z)({visible:i,leavedClassName:"".concat(p,"-content-hidden")},w,{forceRender:s,removeOnLeave:N}),(function(e,t){var n=e.className,o=e.style;return u.createElement(x,{ref:t,prefixCls:p,className:n,style:o,isActive:i,forceRender:s,role:h?"tabpanel":void 0},S)})))})),$=["children","label","key","collapsible","onItemClick","destroyInactivePanel"];var k=function(e,t,n){return Array.isArray(e)?function(e,t){var n=t.prefixCls,o=t.accordion,r=t.collapsible,a=t.destroyInactivePanel,i=t.onItemClick,c=t.activeKey,s=t.openMotion,d=t.expandIcon;return e.map((function(e,t){var p=e.children,f=e.label,g=e.key,b=e.collapsible,v=e.onItemClick,h=e.destroyInactivePanel,x=(0,m.Z)(e,$),y=String(null!=g?g:t),k=null!=b?b:r,E=null!=h?h:a,w=!1;return w=o?c[0]===y:c.indexOf(y)>-1,u.createElement(C,(0,l.Z)({},x,{prefixCls:n,key:y,panelKey:y,isActive:w,accordion:o,openMotion:s,expandIcon:d,header:f,collapsible:k,onItemClick:function(e){"disabled"!==k&&(i(e),null==v||v(e))},destroyInactivePanel:E}),p)}))}(e,n):(0,f.Z)(t).map((function(e,t){return function(e,t,n){if(!e)return null;var o=n.prefixCls,r=n.accordion,a=n.collapsible,l=n.destroyInactivePanel,i=n.onItemClick,c=n.activeKey,s=n.openMotion,d=n.expandIcon,p=e.key||String(t),m=e.props,f=m.header,g=m.headerClass,b=m.destroyInactivePanel,v=m.collapsible,h=m.onItemClick,x=!1;x=r?c[0]===p:c.indexOf(p)>-1;var y=null!=v?v:a,C={key:p,panelKey:p,header:f,headerClass:g,isActive:x,prefixCls:o,destroyInactivePanel:null!=b?b:l,openMotion:s,accordion:r,children:e.props.children,onItemClick:function(e){"disabled"!==y&&(i(e),null==h||h(e))},expandIcon:d,collapsible:y};return"string"==typeof e.type?e:(Object.keys(C).forEach((function(e){void 0===C[e]&&delete C[e]})),u.cloneElement(e,C))}(e,t,n)}))},E=n(66797);function w(e){var t=e;if(!Array.isArray(t)){var n=(0,s.Z)(t);t="number"===n||"string"===n?[t]:[]}return t.map((function(e){return String(e)}))}var N=u.forwardRef((function(e,t){var n=e.prefixCls,o=void 0===n?"rc-collapse":n,r=e.destroyInactivePanel,s=void 0!==r&&r,m=e.style,f=e.accordion,g=e.className,b=e.children,v=e.collapsible,h=e.openMotion,x=e.expandIcon,y=e.activeKey,C=e.defaultActiveKey,$=e.onChange,N=e.items,S=a()(o,g),I=(0,d.Z)([],{value:y,onChange:function(e){return null==$?void 0:$(e)},defaultValue:C,postState:w}),P=(0,c.Z)(I,2),Z=P[0],O=P[1];(0,p.ZP)(!b,"[rc-collapse] `children` will be removed in next major version. Please use `items` instead.");var j=k(N,b,{prefixCls:o,accordion:f,openMotion:h,expandIcon:x,collapsible:v,destroyInactivePanel:s,onItemClick:function(e){return O((function(){return f?Z[0]===e?[]:[e]:Z.indexOf(e)>-1?Z.filter((function(t){return t!==e})):[].concat((0,i.Z)(Z),[e])}))},activeKey:Z});return u.createElement("div",(0,l.Z)({ref:t,className:S,style:m,role:f?"tablist":void 0},(0,E.Z)(e,{aria:!0,data:!0})),j)})),S=Object.assign(N,{Panel:C}),I=S,P=(S.Panel,n(45115)),Z=n(62892),O=n(92343),j=n(36355),R=n(19716);var B=u.forwardRef(((e,t)=>{const{getPrefixCls:n}=u.useContext(j.E_),{prefixCls:o,className:r,showArrow:l=!0}=e,i=n("collapse",o),c=a()({[`${i}-no-arrow`]:!l},r);return u.createElement(I.Panel,Object.assign({ref:t},e,{prefixCls:i,className:c}))})),T=n(17313),z=n(8378),A=n(83116),M=n(37613);const H=e=>{const{componentCls:t,contentBg:n,padding:o,headerBg:r,headerPadding:a,collapseHeaderPaddingSM:l,collapseHeaderPaddingLG:i,collapsePanelBorderRadius:c,lineWidth:s,lineType:d,colorBorder:p,colorText:u,colorTextHeading:m,colorTextDisabled:f,fontSize:g,fontSizeLG:b,lineHeight:v,marginSM:h,paddingSM:x,paddingLG:y,paddingXS:C,motionDurationSlow:$,fontSizeIcon:k,contentPadding:E}=e,w=`${s}px ${d} ${p}`;return{[t]:Object.assign(Object.assign({},(0,T.Wf)(e)),{backgroundColor:r,border:w,borderBottom:0,borderRadius:`${c}px`,"&-rtl":{direction:"rtl"},[`& > ${t}-item`]:{borderBottom:w,"&:last-child":{[`\n &,\n & > ${t}-header`]:{borderRadius:`0 0 ${c}px ${c}px`}},[`> ${t}-header`]:{position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:a,color:m,lineHeight:v,cursor:"pointer",transition:`all ${$}, visibility 0s`,[`> ${t}-header-text`]:{flex:"auto"},"&:focus":{outline:"none"},[`${t}-expand-icon`]:{height:g*v,display:"flex",alignItems:"center",paddingInlineEnd:h},[`${t}-arrow`]:Object.assign(Object.assign({},(0,T.Ro)()),{fontSize:k,svg:{transition:`transform ${$}`}}),[`${t}-header-text`]:{marginInlineEnd:"auto"}},[`${t}-header-collapsible-only`]:{cursor:"default",[`${t}-header-text`]:{flex:"none",cursor:"pointer"}},[`${t}-icon-collapsible-only`]:{cursor:"default",[`${t}-expand-icon`]:{cursor:"pointer"}}},[`${t}-content`]:{color:u,backgroundColor:n,borderTop:w,[`& > ${t}-content-box`]:{padding:E},"&-hidden":{display:"none"}},"&-small":{[`> ${t}-item`]:{[`> ${t}-header`]:{padding:l,paddingInlineStart:C,[`> ${t}-expand-icon`]:{marginInlineStart:x-C}},[`> ${t}-content > ${t}-content-box`]:{padding:x}}},"&-large":{[`> ${t}-item`]:{fontSize:b,[`> ${t}-header`]:{padding:i,paddingInlineStart:o,[`> ${t}-expand-icon`]:{height:b*v,marginInlineStart:y-o}},[`> ${t}-content > ${t}-content-box`]:{padding:y}}},[`${t}-item:last-child`]:{[`> ${t}-content`]:{borderRadius:`0 0 ${c}px ${c}px`}},[`& ${t}-item-disabled > ${t}-header`]:{"\n &,\n & > .arrow\n ":{color:f,cursor:"not-allowed"}},[`&${t}-icon-position-end`]:{[`& > ${t}-item`]:{[`> ${t}-header`]:{[`${t}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:h}}}}})}},W=e=>{const{componentCls:t}=e;return{[`${t}-rtl`]:{[`> ${t}-item > ${t}-header ${t}-arrow svg`]:{transform:"rotate(180deg)"}}}},L=e=>{const{componentCls:t,headerBg:n,paddingXXS:o,colorBorder:r}=e;return{[`${t}-borderless`]:{backgroundColor:n,border:0,[`> ${t}-item`]:{borderBottom:`1px solid ${r}`},[`\n > ${t}-item:last-child,\n > ${t}-item:last-child ${t}-header\n `]:{borderRadius:0},[`> ${t}-item:last-child`]:{borderBottom:0},[`> ${t}-item > ${t}-content`]:{backgroundColor:"transparent",borderTop:0},[`> ${t}-item > ${t}-content > ${t}-content-box`]:{paddingTop:o}}}},F=e=>{const{componentCls:t,paddingSM:n}=e;return{[`${t}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${t}-item`]:{borderBottom:0,[`> ${t}-content`]:{backgroundColor:"transparent",border:0,[`> ${t}-content-box`]:{paddingBlock:n}}}}}};var D=(0,A.Z)("Collapse",(e=>{const t=(0,M.TS)(e,{collapseHeaderPaddingSM:`${e.paddingXS}px ${e.paddingSM}px`,collapseHeaderPaddingLG:`${e.padding}px ${e.paddingLG}px`,collapsePanelBorderRadius:e.borderRadiusLG});return[H(t),L(t),F(t),W(t),(0,z.Z)(t)]}),(e=>({headerPadding:`${e.paddingSM}px ${e.padding}px`,headerBg:e.colorFillAlter,contentPadding:`${e.padding}px 16px`,contentBg:e.colorBgContainer})));const X=u.forwardRef(((e,t)=>{const{getPrefixCls:n,direction:r,collapse:l}=u.useContext(j.E_),{prefixCls:i,className:c,rootClassName:s,style:d,bordered:p=!0,ghost:m,size:g,expandIconPosition:b="start",children:v,expandIcon:h}=e,x=(0,R.Z)((e=>{var t;return null!==(t=null!=g?g:e)&&void 0!==t?t:"middle"})),y=n("collapse",i),C=n(),[$,k]=D(y),E=u.useMemo((()=>"left"===b?"start":"right"===b?"end":b),[b]),w=a()(`${y}-icon-position-${E}`,{[`${y}-borderless`]:!p,[`${y}-rtl`]:"rtl"===r,[`${y}-ghost`]:!!m,[`${y}-${x}`]:"middle"!==x},null==l?void 0:l.className,c,s,k),N=Object.assign(Object.assign({},(0,Z.Z)(C)),{motionAppear:!1,leavedClassName:`${y}-content-hidden`}),S=u.useMemo((()=>v?(0,f.Z)(v).map(((e,t)=>{var n,o;if(null===(n=e.props)||void 0===n?void 0:n.disabled){const n=null!==(o=e.key)&&void 0!==o?o:String(t),{disabled:r,collapsible:a}=e.props,l=Object.assign(Object.assign({},(0,P.Z)(e.props,["disabled"])),{key:n,collapsible:null!=a?a:r?"disabled":void 0});return(0,O.Tm)(e,l)}return e})):null),[v]);return $(u.createElement(I,Object.assign({ref:t,openMotion:N},(0,P.Z)(e,["rootClassName"]),{expandIcon:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=h?h(e):u.createElement(o.Z,{rotate:e.isActive?90:void 0});return(0,O.Tm)(t,(()=>({className:a()(t.props.className,`${y}-arrow`)})))},prefixCls:y,className:w,style:Object.assign(Object.assign({},null==l?void 0:l.style),d)}),S))}));var _=Object.assign(X,{Panel:B})},39722:function(e,t,n){n.d(t,{t5:function(){return p}});var o=n(92310),r=n.n(o),a=n(55477),l=n(59301),i=n(36355),c=n(77578),s=n(17356),d=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n};const p=e=>{const{hashId:t,prefixCls:n,className:o,style:i,placement:s="top",title:d,content:p,children:u}=e;return l.createElement("div",{className:r()(t,n,`${n}-pure`,`${n}-placement-${s}`,o),style:i},l.createElement("div",{className:`${n}-arrow`}),l.createElement(a.G,Object.assign({},e,{className:t,prefixCls:n}),u||((e,t,n)=>{if(t||n)return l.createElement(l.Fragment,null,t&&l.createElement("div",{className:`${e}-title`},(0,c.Z)(t)),l.createElement("div",{className:`${e}-inner-content`},(0,c.Z)(n)))})(n,d,p)))};t.ZP=e=>{const{prefixCls:t}=e,n=d(e,["prefixCls"]),{getPrefixCls:o}=l.useContext(i.E_),r=o("popover",t),[a,c]=(0,s.Z)(r);return a(l.createElement(p,Object.assign({},n,{prefixCls:r,hashId:c})))}},17356:function(e,t,n){var o=n(17313),r=n(29878),a=n(19447),l=n(33166),i=n(83116),c=n(37613);const s=e=>{const{componentCls:t,popoverColor:n,minWidth:r,fontWeightStrong:l,popoverPadding:i,boxShadowSecondary:c,colorTextHeading:s,borderRadiusLG:d,zIndexPopup:p,marginXS:u,colorBgElevated:m,popoverBg:f}=e;return[{[t]:Object.assign(Object.assign({},(0,o.Wf)(e)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:p,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","--antd-arrow-background-color":m,"&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${t}-content`]:{position:"relative"},[`${t}-inner`]:{backgroundColor:f,backgroundClip:"padding-box",borderRadius:d,boxShadow:c,padding:i},[`${t}-title`]:{minWidth:r,marginBottom:u,color:s,fontWeight:l},[`${t}-inner-content`]:{color:n}})},(0,a.ZP)(e,{colorBg:"var(--antd-arrow-background-color)"}),{[`${t}-pure`]:{position:"relative",maxWidth:"none",margin:e.sizePopupArrow,display:"inline-block",[`${t}-content`]:{display:"inline-block"}}}]},d=e=>{const{componentCls:t}=e;return{[t]:l.i.map((n=>{const o=e[`${n}6`];return{[`&${t}-${n}`]:{"--antd-arrow-background-color":o,[`${t}-inner`]:{backgroundColor:o},[`${t}-arrow`]:{background:"transparent"}}}}))}},p=e=>{const{componentCls:t,lineWidth:n,lineType:o,colorSplit:r,paddingSM:a,controlHeight:l,fontSize:i,lineHeight:c,padding:s}=e,d=l-Math.round(i*c);return{[t]:{[`${t}-inner`]:{padding:0},[`${t}-title`]:{margin:0,padding:`${d/2}px ${s}px ${d/2-n}px`,borderBottom:`${n}px ${o} ${r}`},[`${t}-inner-content`]:{padding:`${a}px ${s}px`}}}};t.Z=(0,i.Z)("Popover",(e=>{const{colorBgElevated:t,colorText:n,wireframe:o}=e,a=(0,c.TS)(e,{popoverPadding:12,popoverBg:t,popoverColor:n});return[s(a),d(a),o&&p(a),(0,r._y)(a,"zoom-big")]}),(e=>({width:177,minWidth:177,zIndexPopup:e.zIndexPopupBase+30})),{resetStyle:!1,deprecatedTokens:[["width","minWidth"]]})},12563:function(e,t,n){n.d(t,{Z:function(){return N}});var o=n(59301),r=n(72119),a=n(92310),l=n.n(a),i=n(36785),c=n(47729),s=n(14088),d=n(36355),p=n(17313),u=n(37613),m=n(83116);const f=e=>{const{lineWidth:t,fontSizeIcon:n}=e,o=e.fontSizeSM,r=e.lineHeightSM*o+"px";return(0,u.TS)(e,{tagFontSize:o,tagLineHeight:r,tagIconSize:n-2*t,tagPaddingHorizontal:8,tagBorderlessBg:e.colorFillTertiary})},g=e=>({defaultBg:e.colorFillQuaternary,defaultColor:e.colorText});var b=(0,m.Z)("Tag",(e=>(e=>{const{paddingXXS:t,lineWidth:n,tagPaddingHorizontal:o,componentCls:r}=e,a=o-n,l=t-n;return{[r]:Object.assign(Object.assign({},(0,p.Wf)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:a,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${r}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${r}-close-icon`]:{marginInlineStart:l,color:e.colorTextDescription,fontSize:e.tagIconSize,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${r}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${r}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:a}}),[`${r}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}})(f(e))),g),v=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n};var h=e=>{const{prefixCls:t,style:n,className:r,checked:a,onChange:i,onClick:c}=e,s=v(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:p,tag:u}=o.useContext(d.E_),m=p("tag",t),[f,g]=b(m),h=l()(m,`${m}-checkable`,{[`${m}-checkable-checked`]:a},null==u?void 0:u.className,r,g);return f(o.createElement("span",Object.assign({},s,{style:Object.assign(Object.assign({},n),null==u?void 0:u.style),className:h,onClick:e=>{null==i||i(!a),null==c||c(e)}})))},x=n(45157);var y=(0,m.b)(["Tag","preset"],(e=>(e=>(0,x.Z)(e,((t,n)=>{let{textColor:o,lightBorderColor:r,lightColor:a,darkColor:l}=n;return{[`${e.componentCls}-${t}`]:{color:o,background:a,borderColor:r,"&-inverse":{color:e.colorTextLightSolid,background:l,borderColor:l},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}})))(f(e))),g);const C=(e,t,n)=>{const o="string"!=typeof(r=n)?r:r.charAt(0).toUpperCase()+r.slice(1);var r;return{[`${e.componentCls}-${t}`]:{color:e[`color${n}`],background:e[`color${o}Bg`],borderColor:e[`color${o}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}};var $=(0,m.b)(["Tag","status"],(e=>{const t=f(e);return[C(t,"success","Success"),C(t,"processing","Info"),C(t,"error","Error"),C(t,"warning","Warning")]}),g),k=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n};const E=(e,t)=>{const{prefixCls:n,className:a,rootClassName:p,style:u,children:m,icon:f,color:g,onClose:v,closeIcon:h,closable:x,bordered:C=!0}=e,E=k(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","closeIcon","closable","bordered"]),{getPrefixCls:w,direction:N,tag:S}=o.useContext(d.E_),[I,P]=o.useState(!0);o.useEffect((()=>{"visible"in E&&P(E.visible)}),[E.visible]);const Z=(0,i.o2)(g),O=(0,i.yT)(g),j=Z||O,R=Object.assign(Object.assign({backgroundColor:g&&!j?g:void 0},null==S?void 0:S.style),u),B=w("tag",n),[T,z]=b(B),A=l()(B,null==S?void 0:S.className,{[`${B}-${g}`]:j,[`${B}-has-color`]:g&&!j,[`${B}-hidden`]:!I,[`${B}-rtl`]:"rtl"===N,[`${B}-borderless`]:!C},a,p,z),M=e=>{e.stopPropagation(),null==v||v(e),e.defaultPrevented||P(!1)},[,H]=(0,c.Z)(x,h,(e=>null===e?o.createElement(r.Z,{className:`${B}-close-icon`,onClick:M}):o.createElement("span",{className:`${B}-close-icon`,onClick:M},e)),null,!1),W="function"==typeof E.onClick||m&&"a"===m.type,L=f||null,F=L?o.createElement(o.Fragment,null,L,m&&o.createElement("span",null,m)):m,D=o.createElement("span",Object.assign({},E,{ref:t,className:A,style:R}),F,H,Z&&o.createElement(y,{key:"preset",prefixCls:B}),O&&o.createElement($,{key:"status",prefixCls:B}));return T(W?o.createElement(s.Z,{component:"Tag"},D):D)},w=o.forwardRef(E);w.CheckableTag=h;var N=w},65615:function(e,t,n){n.d(t,{Z:function(){return Y}});var o=n(59301),r=n(57259),a=n(5891),l=n(80665),i=n(29043),c=n(19149),s=n(43403),d=n(35593),p=n(92310),u=n.n(p),m=n(81346),f=n(55473),g=n(74057);function b(e,t,n,r){var a=(0,o.useState)(void 0),l=(0,i.Z)(a,2),c=l[0],s=l[1];(0,m.Z)((function(){var t="function"==typeof e?e():e;s(t||null)}));var d=(0,o.useState)(null),p=(0,i.Z)(d,2),u=p[0],f=p[1],b=(0,g.Z)((function(){if(c){!function(e){var t=window.innerWidth||document.documentElement.clientWidth,n=window.innerHeight||document.documentElement.clientHeight,o=e.getBoundingClientRect(),r=o.top,a=o.right,l=o.bottom,i=o.left;return r>=0&&i>=0&&a<=t&&l<=n}(c)&&t&&c.scrollIntoView(r);var e=c.getBoundingClientRect(),n={left:e.left,top:e.top,width:e.width,height:e.height,radius:0};f((function(e){return JSON.stringify(e)!==JSON.stringify(n)?n:e}))}else f(null)})),v=function(e){var t;return null!==(t=Array.isArray(null==n?void 0:n.offset)?null==n?void 0:n.offset[e]:null==n?void 0:n.offset)&&void 0!==t?t:6};return(0,m.Z)((function(){return b(),window.addEventListener("resize",b),function(){window.removeEventListener("resize",b)}}),[c,t,b]),[(0,o.useMemo)((function(){if(!u)return u;var e=v(0),t=v(1),o=(null==n?void 0:n.radius)||2;return{left:u.left-e,top:u.top-t,width:u.width+2*e,height:u.height+2*t,radius:o}}),[u,n]),c]}var v=n(48305),h={fill:"transparent",pointerEvents:"auto"},x=function(e){var t=e.prefixCls,n=e.rootClassName,i=e.pos,c=e.showMask,d=e.style,p=void 0===d?{}:d,m=e.fill,f=void 0===m?"rgba(0,0,0,0.5)":m,g=e.open,b=e.animated,x=e.zIndex,y=(0,v.Z)(),C="".concat(t,"-mask-").concat(y),$="object"===(0,l.Z)(b)?null==b?void 0:b.placeholder:b;return o.createElement(s.Z,{open:g,autoLock:!0},o.createElement("div",{className:u()("".concat(t,"-mask"),n),style:(0,r.Z)({position:"fixed",left:0,right:0,top:0,bottom:0,zIndex:x,pointerEvents:"none"},p)},c?o.createElement("svg",{style:{width:"100%",height:"100%"}},o.createElement("defs",null,o.createElement("mask",{id:C},o.createElement("rect",{x:"0",y:"0",width:"100vw",height:"100vh",fill:"white"}),i&&o.createElement("rect",{x:i.left,y:i.top,rx:i.radius,width:i.width,height:i.height,fill:"black",className:$?"".concat(t,"-placeholder-animated"):""}))),o.createElement("rect",{x:"0",y:"0",width:"100%",height:"100%",fill:f,mask:"url(#".concat(C,")")}),i&&o.createElement(o.Fragment,null,o.createElement("rect",(0,a.Z)({},h,{x:"0",y:"0",width:"100%",height:i.top})),o.createElement("rect",(0,a.Z)({},h,{x:"0",y:"0",width:i.left,height:"100%"})),o.createElement("rect",(0,a.Z)({},h,{x:"0",y:i.top+i.height,width:"100%",height:"calc(100vh - ".concat(i.top+i.height,"px)")})),o.createElement("rect",(0,a.Z)({},h,{x:i.left+i.width,y:"0",width:"calc(100vw - ".concat(i.left+i.width,"px)"),height:"100%"})))):null))},y=[0,0],C={left:{points:["cr","cl"],offset:[-8,0]},right:{points:["cl","cr"],offset:[8,0]},top:{points:["bc","tc"],offset:[0,-8]},bottom:{points:["tc","bc"],offset:[0,8]},topLeft:{points:["bl","tl"],offset:[0,-8]},leftTop:{points:["tr","tl"],offset:[-8,0]},topRight:{points:["br","tr"],offset:[0,-8]},rightTop:{points:["tl","tr"],offset:[8,0]},bottomRight:{points:["tr","br"],offset:[0,8]},rightBottom:{points:["bl","br"],offset:[8,0]},bottomLeft:{points:["tl","bl"],offset:[0,8]},leftBottom:{points:["br","bl"],offset:[-8,0]}};function $(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t={};return Object.keys(C).forEach((function(n){t[n]=(0,r.Z)((0,r.Z)({},C[n]),{},{autoArrow:e,targetOffset:y})})),t}$();var k=n(26390);function E(e){var t=e.prefixCls,n=e.current,r=e.total,a=e.title,l=e.description,i=e.onClose,c=e.onPrev,s=e.onNext,d=e.onFinish,p=e.className,m=e.closeIcon,f=!1!==m&&null!==m,g=void 0!==m&&!0!==m?m:o.createElement("span",{className:"".concat(t,"-close-x")},"×");return o.createElement("div",{className:u()("".concat(t,"-content"),p)},o.createElement("div",{className:"".concat(t,"-inner")},f&&o.createElement("button",{type:"button",onClick:i,"aria-label":"Close",className:"".concat(t,"-close")},g),o.createElement("div",{className:"".concat(t,"-header")},o.createElement("div",{className:"".concat(t,"-title")},a)),o.createElement("div",{className:"".concat(t,"-description")},l),o.createElement("div",{className:"".concat(t,"-footer")},o.createElement("div",{className:"".concat(t,"-sliders")},r>1?(0,k.Z)(Array.from({length:r}).keys()).map((function(e,t){return o.createElement("span",{key:e,className:t===n?"active":""})})):null),o.createElement("div",{className:"".concat(t,"-buttons")},0!==n?o.createElement("button",{className:"".concat(t,"-prev-btn"),onClick:c},"Prev"):null,n===r-1?o.createElement("button",{className:"".concat(t,"-finish-btn"),onClick:d},"Finish"):o.createElement("button",{className:"".concat(t,"-next-btn"),onClick:s},"Next")))))}var w=function(e){var t=e.current,n=e.renderPanel;return o.createElement(o.Fragment,null,"function"==typeof n?n(e,t):o.createElement(E,e))},N=["prefixCls","steps","defaultCurrent","current","onChange","onClose","onFinish","open","mask","arrow","rootClassName","placement","renderPanel","gap","animated","scrollIntoViewOptions","zIndex","closeIcon"],S={left:"50%",top:"50%",width:1,height:1},I=function(e){var t=e.prefixCls,n=void 0===t?"rc-tour":t,p=e.steps,g=void 0===p?[]:p,v=e.defaultCurrent,h=e.current,y=e.onChange,C=e.onClose,k=e.onFinish,E=e.open,I=e.mask,P=void 0===I||I,Z=e.arrow,O=void 0===Z||Z,j=e.rootClassName,R=e.placement,B=e.renderPanel,T=e.gap,z=e.animated,A=e.scrollIntoViewOptions,M=void 0===A||A,H=e.zIndex,W=void 0===H?1001:H,L=e.closeIcon,F=(0,c.Z)(e,N),D=o.useRef(),X=(0,f.Z)(0,{value:h,defaultValue:v}),_=(0,i.Z)(X,2),K=_[0],G=_[1],V=(0,f.Z)(void 0,{value:E,postState:function(e){return!(K<0||K>=g.length)&&(null==e||e)}}),J=(0,i.Z)(V,2),U=J[0],q=J[1],Q=o.useRef(U);(0,m.Z)((function(){U&&!Q.current&&G(0),Q.current=U}),[U]);var Y=g[K]||{},ee=Y.target,te=Y.placement,ne=Y.style,oe=Y.arrow,re=Y.className,ae=Y.mask,le=Y.scrollIntoViewOptions,ie=Y.closeIcon,ce=U&&(null!=ae?ae:P),se=null!=ie?ie:L,de=b(ee,E,T,null!=le?le:M),pe=(0,i.Z)(de,2),ue=pe[0],me=pe[1],fe=function(e,t,n){var o;return null!==(o=null!=n?n:t)&&void 0!==o?o:null===e?"center":"bottom"}(me,R,te),ge=!!me&&(void 0===oe?O:oe),be="object"===(0,l.Z)(ge)&&ge.pointAtCenter;(0,m.Z)((function(){var e;null===(e=D.current)||void 0===e||e.forceAlign()}),[be,K]);var ve=function(e){G(e),null==y||y(e)};if(void 0===me)return null;var he=function(){q(!1),null==C||C(K)},xe="boolean"==typeof ce?ce:!!ce,ye="boolean"==typeof ce?void 0:ce;return o.createElement(o.Fragment,null,o.createElement(x,{zIndex:W,prefixCls:n,pos:ue,showMask:xe,style:null==ye?void 0:ye.style,fill:null==ye?void 0:ye.color,open:U,animated:z,rootClassName:j}),o.createElement(d.Z,(0,a.Z)({builtinPlacements:$(be)},F,{ref:D,popupStyle:ne,popupPlacement:fe,popupVisible:U,popupClassName:u()(j,re),prefixCls:n,popup:function(){return o.createElement(w,(0,a.Z)({arrow:ge,key:"content",prefixCls:n,total:g.length,renderPanel:B,onPrev:function(){ve(K-1)},onNext:function(){ve(K+1)},onClose:he,current:K,onFinish:function(){he(),null==k||k()},closeIcon:se},g[K]))},forceRender:!1,destroyPopupOnHide:!0,zIndex:W,getTriggerDOMNode:function(e){return e||me||document.body},arrow:!!ge}),o.createElement(s.Z,{open:U,autoLock:!0},o.createElement("div",{className:u()(j,"".concat(n,"-target-placeholder")),style:(0,r.Z)((0,r.Z)({},ue||S),{},{position:"fixed",pointerEvents:"none"})}))))},P=n(79676),Z=n(36355),O=n(88088),j=n(72119),R=n(3113),B=n(9763),T=n(31724),z=n(47729);function A(e){return null!=e}var M=e=>{let{stepProps:t,current:n,type:r,indicatorsRender:a,closeIcon:l}=e;var i,c;const{prefixCls:s,total:d=1,title:p,onClose:m,onPrev:f,onNext:g,onFinish:b,cover:v,description:h,nextButtonProps:x,prevButtonProps:y,type:C,className:$,closeIcon:E}=t,w=null!=C?C:r,N=null!=E?E:l,S=!1!==N&&null!==N,[I,P]=(0,z.Z)(S,N,(e=>o.createElement("span",{onClick:m,"aria-label":"Close",className:`${s}-close`},e)),o.createElement(j.Z,{className:`${s}-close-icon`}),!0),Z=n===d-1,O=A(p)?o.createElement("div",{className:`${s}-header`},o.createElement("div",{className:`${s}-title`},p)):null,M=A(h)?o.createElement("div",{className:`${s}-description`},h):null,H=A(v)?o.createElement("div",{className:`${s}-cover`},v):null;let W;W=a?a(n,d):(0,k.Z)(Array.from({length:d}).keys()).map(((e,t)=>o.createElement("span",{key:e,className:u()(t===n&&`${s}-indicator-active`,`${s}-indicator`)})));const L="primary"===w?"default":"primary",F={type:"default",ghost:"primary"===w},[D]=(0,B.Z)("Tour",T.Z.Tour);return o.createElement("div",{className:u()($,`${s}-content`)},o.createElement("div",{className:`${s}-inner`},I&&P,H,O,M,o.createElement("div",{className:`${s}-footer`},d>1&&o.createElement("div",{className:`${s}-indicators`},W),o.createElement("div",{className:`${s}-buttons`},0!==n?o.createElement(R.ZP,Object.assign({},F,y,{onClick:()=>{var e;null==f||f(),null===(e=null==y?void 0:y.onClick)||void 0===e||e.call(y)},size:"small",className:u()(`${s}-prev-btn`,null==y?void 0:y.className)}),null!==(i=null==y?void 0:y.children)&&void 0!==i?i:null==D?void 0:D.Previous):null,o.createElement(R.ZP,Object.assign({type:L},x,{onClick:()=>{var e;Z?null==b||b():null==g||g(),null===(e=null==x?void 0:x.onClick)||void 0===e||e.call(x)},size:"small",className:u()(`${s}-next-btn`,null==x?void 0:x.className)}),null!==(c=null==x?void 0:x.children)&&void 0!==c?c:Z?null==D?void 0:D.Finish:null==D?void 0:D.Next)))))},H=n(39722),W=n(64993),L=n(17313),F=n(19447),D=n(83116),X=n(37613);const _=e=>{const{componentCls:t,lineHeight:n,padding:o,paddingXS:r,borderRadius:a,borderRadiusXS:l,colorPrimary:i,colorText:c,colorFill:s,indicatorHeight:d,indicatorWidth:p,boxShadowTertiary:u,tourZIndexPopup:m,fontSize:f,colorBgElevated:g,fontWeightStrong:b,marginXS:v,colorTextLightSolid:h,tourBorderRadius:x,colorWhite:y,colorBgTextHover:C,tourCloseSize:$,motionDurationSlow:k,antCls:E}=e;return[{[t]:Object.assign(Object.assign({},(0,L.Wf)(e)),{color:c,position:"absolute",zIndex:m,display:"block",visibility:"visible",fontSize:f,lineHeight:n,width:520,"--antd-arrow-background-color":g,"&-pure":{maxWidth:"100%",position:"relative"},[`&${t}-hidden`]:{display:"none"},[`${t}-content`]:{position:"relative"},[`${t}-inner`]:{textAlign:"start",textDecoration:"none",borderRadius:x,boxShadow:u,position:"relative",backgroundColor:g,border:"none",backgroundClip:"padding-box",[`${t}-close`]:{position:"absolute",top:o,insetInlineEnd:o,color:e.colorIcon,outline:"none",width:$,height:$,borderRadius:e.borderRadiusSM,transition:`background-color ${e.motionDurationMid}, color ${e.motionDurationMid}`,display:"flex",alignItems:"center",justifyContent:"center","&:hover":{color:e.colorIconHover,backgroundColor:e.wireframe?"transparent":e.colorFillContent}},[`${t}-cover`]:{textAlign:"center",padding:`${o+$+r}px ${o}px 0`,img:{width:"100%"}},[`${t}-header`]:{padding:`${o}px ${o}px ${r}px`,[`${t}-title`]:{lineHeight:n,fontSize:f,fontWeight:b}},[`${t}-description`]:{padding:`0 ${o}px`,lineHeight:n,wordWrap:"break-word"},[`${t}-footer`]:{padding:`${r}px ${o}px ${o}px`,textAlign:"end",borderRadius:`0 0 ${l}px ${l}px`,display:"flex",[`${t}-indicators`]:{display:"inline-block",[`${t}-indicator`]:{width:p,height:d,display:"inline-block",borderRadius:"50%",background:s,"&:not(:last-child)":{marginInlineEnd:d},"&-active":{background:i}}},[`${t}-buttons`]:{marginInlineStart:"auto",[`${E}-btn`]:{marginInlineStart:v}}}},[`${t}-primary, &${t}-primary`]:{"--antd-arrow-background-color":i,[`${t}-inner`]:{color:h,textAlign:"start",textDecoration:"none",backgroundColor:i,borderRadius:a,boxShadow:u,[`${t}-close`]:{color:h},[`${t}-indicators`]:{[`${t}-indicator`]:{background:new W.C(h).setAlpha(.15).toRgbString(),"&-active":{background:h}}},[`${t}-prev-btn`]:{color:h,borderColor:new W.C(h).setAlpha(.15).toRgbString(),backgroundColor:i,"&:hover":{backgroundColor:new W.C(h).setAlpha(.15).toRgbString(),borderColor:"transparent"}},[`${t}-next-btn`]:{color:i,borderColor:"transparent",background:y,"&:hover":{background:new W.C(C).onBackground(y).toRgbString()}}}}}),[`${t}-mask`]:{[`${t}-placeholder-animated`]:{transition:`all ${k}`}},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${t}-inner`]:{borderRadius:Math.min(x,F.qN)}}},(0,F.ZP)(e,{colorBg:"var(--antd-arrow-background-color)",contentRadius:x,limitVerticalRadius:!0})]};var K=(0,D.Z)("Tour",(e=>{const{borderRadiusLG:t,fontSize:n,lineHeight:o}=e,r=(0,X.TS)(e,{tourZIndexPopup:e.zIndexPopupBase+70,indicatorWidth:6,indicatorHeight:6,tourBorderRadius:t,tourCloseSize:n*o});return[_(r)]})),G=n(53487),V=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n};var J=(0,G.i)((e=>{const{prefixCls:t,current:n=0,total:r=6,className:a,style:l,type:i}=e,c=V(e,["prefixCls","current","total","className","style","type"]),{getPrefixCls:s}=o.useContext(Z.E_),d=s("tour",t),[p,m]=K(d);return p(o.createElement(H.t5,{prefixCls:d,hashId:m,className:u()(a,`${d}-pure`,i&&`${d}-${i}`),style:l},o.createElement(M,{stepProps:Object.assign(Object.assign({},c),{prefixCls:d,total:r}),current:n,type:i})))}));var U=e=>{let{defaultType:t,steps:n=[],current:r,defaultCurrent:a}=e;var l;const[i,c]=(0,f.Z)(a,{value:r});(0,o.useLayoutEffect)((()=>{void 0!==r&&c(r)}),[r]);const s="number"==typeof i?null===(l=n[i])||void 0===l?void 0:l.type:t;return{currentMergedType:null!=s?s:t,updateInnerCurrent:c}},q=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n};const Q=e=>{const{prefixCls:t,current:n,defaultCurrent:r,type:a,rootClassName:l,indicatorsRender:i,steps:c}=e,s=q(e,["prefixCls","current","defaultCurrent","type","rootClassName","indicatorsRender","steps"]),{getPrefixCls:d,direction:p}=(0,o.useContext)(Z.E_),m=d("tour",t),[f,g]=K(m),[,b]=(0,O.Z)(),{currentMergedType:v,updateInnerCurrent:h}=U({defaultType:a,steps:c,current:n,defaultCurrent:r}),x=(0,P.Z)({arrowPointAtCenter:!0,autoAdjustOverflow:!0,offset:b.marginXXS,arrowWidth:b.sizePopupArrow,borderRadius:b.borderRadius}),y=u()({[`${m}-primary`]:"primary"===v,[`${m}-rtl`]:"rtl"===p},g,l);return f(o.createElement(I,Object.assign({},s,{rootClassName:y,prefixCls:m,current:n,defaultCurrent:r,animated:!0,renderPanel:(e,t)=>o.createElement(M,{type:a,stepProps:e,current:t,indicatorsRender:i}),builtinPlacements:x,onChange:t=>{var n;h(t),null===(n=e.onChange)||void 0===n||n.call(e,t)},steps:c})))};Q._InternalPanelDoNotUseOrYouWillBeFired=J;var Y=Q}}]); |