You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

59 lines
54 KiB

8 months ago
(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[930],{47356:function(Z,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var l={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"arrow-left",theme:"outlined"};y.default=l},44149:function(Z,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var l={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M869 487.8L491.2 159.9c-2.9-2.5-6.6-3.9-10.5-3.9h-88.5c-7.4 0-10.8 9.2-5.2 14l350.2 304H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h585.1L386.9 854c-5.6 4.9-2.2 14 5.2 14h91.5c1.9 0 3.8-.7 5.2-2L869 536.2a32.07 32.07 0 000-48.4z"}}]},name:"arrow-right",theme:"outlined"};y.default=l},90930:function(Z,y,l){"use strict";l.d(y,{_z:function(){return ar}});var u=l(4942),N=l(91),i=l(1413),x=l(71002),W=l(10915),E=l(13169),Y=l(67159),K=l(28459),p=l(67294),Q=l(93967),B=l.n(Q),q=l(9220),n=l(98423),f=l(74902),g=l(75164);function s(t){let e;const r=c=>()=>{e=null,t.apply(void 0,(0,f.Z)(c))},a=function(){if(e==null){for(var c=arguments.length,w=new Array(c),_=0;_<c;_++)w[_]=arguments[_];e=(0,g.Z)(r(w))}};return a.cancel=()=>{g.Z.cancel(e),e=null},a}var b=s,O=l(53124),h=l(91945);const S=t=>{const{componentCls:e}=t;return{[e]:{position:"fixed",zIndex:t.zIndexPopup}}},M=t=>({zIndexPopup:t.zIndexBase+10});var ne=(0,h.I$)("Affix",S,M);function v(t){return t!==window?t.getBoundingClientRect():{top:0,bottom:window.innerHeight}}function j(t,e,r){if(r!==void 0&&Math.round(e.top)>Math.round(t.top)-r)return r+e.top}function o(t,e,r){if(r!==void 0&&Math.round(e.bottom)<Math.round(t.bottom)+r){const a=window.innerHeight-e.bottom;return r+a}}const d=["resize","scroll","touchstart","touchmove","touchend","pageshow","load"];function m(){return typeof window!="undefined"?window:null}var C;(function(t){t[t.None=0]="None",t[t.Prepare=1]="Prepare"})(C||(C={}));var ee=p.forwardRef((t,e)=>{var r;const{style:a,offsetTop:c,offsetBottom:w,prefixCls:_,className:H,rootClassName:G,children:A,target:z,onChange:D}=t,{getPrefixCls:U,getTargetContainer:k}=p.useContext(O.E_),R=U("affix",_),[T,X]=p.useState(!1),[I,$]=p.useState(),[te,L]=p.useState(),de=p.useRef(C.None),ie=p.useRef(null),V=p.useRef(),ce=p.useRef(null),ue=p.useRef(null),re=p.useRef(null),ae=(r=z!=null?z:k)!==null&&r!==void 0?r:m,be=w===void 0&&c===void 0?0:c,me=()=>{if(de.current!==C.Prepare||!ue.current||!ce.current||!ae)return;const le=ae();if(le){const oe={status:C.None},J=v(ce.current);if(J.top===0&&J.left===0&&J.width===0&&J.height===0)return;const Pe=v(le),he=j(J,Pe,be),xe=o(J,Pe,w);he!==void 0?(oe.affixStyle={position:"fixed",top:he,width:J.width,height:J.height},oe.placeholderStyle={width:J.width,height:J.height}):xe!==void 0&&(oe.affixStyle={position:"fixed",bottom:xe,width:J.width,height:J.height},oe.placeholderStyle={width:J.width,height:J.height}),oe.lastAffix=!!oe.affixStyle,T!==oe.lastAffix&&(D==null||D(oe.lastAffix)),de.current=oe.status,$(oe.affixStyle),L(oe.placeholderStyle),X(oe.lastAffix)}},Ce=()=>{var le;de.current=C.Prepare,me()},ve=b(()=>{Ce()}),pe=b(()=>{if(ae&&I){const le=ae();if(le&&ce.current){const oe=v(le),J=v(ce.current),Pe=j(J,oe,be),he=o(J,oe,w);if(Pe!==void 0&&I.top===Pe||he!==void 0&&I.bottom===he)return}}Ce()}),Oe=()=>{const le=ae==null?void 0:ae();le&&(d.forEach(oe=>{var J;V.current&&((J=ie.current)===null||J===void 0||J.removeEventListener(oe,V.current)),le==null||le.addEventListener(oe,pe)}),ie.current=le,V.current=pe)},se=()=>{re.current&&(clearTimeout(re.current),re.current=null);const le=ae==null?void 0:ae();d.forEach(oe=>{var J;le==null||le.removeEventListener(oe,pe),V.current&&((J=ie.current)===null||J===void 0||J.removeEventListener(oe,V.current))}),ve.cancel(),pe.cancel()};p.useImperativeHandle(e,()=>({updatePosition:ve})),p.useEffect(()=>(re.curre
> ${r} + span,
> ${r} + a
`]:{marginInlineStart:t.marginXXS}},[`${e}-overlay-link`]:{borderRadius:t.borderRadiusSM,height:t.fontHeight,display:"inline-block",padding:`0 ${(0,tt.bf)(t.paddingXXS)}`,marginInline:a(t.marginXXS).mul(-1).equal(),[`> ${r}`]:{marginInlineStart:t.marginXXS,fontSize:t.fontSizeIcon},"&:hover":{color:t.linkHoverColor,backgroundColor:t.colorBgTextHover,a:{color:t.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${t.componentCls}-rtl`]:{direction:"rtl"}})}},xt=t=>({itemColor:t.colorTextDescription,lastItemColor:t.colorText,iconFontSize:t.fontSize,linkColor:t.colorTextDescription,linkHoverColor:t.colorText,separatorColor:t.colorTextDescription,separatorMargin:t.marginXS});var St=(0,h.I$)("Breadcrumb",t=>{const e=(0,Ot.TS)(t,{});return Pt(e)},xt),nt=function(t,e){var r={};for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&e.indexOf(a)<0&&(r[a]=t[a]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var c=0,a=Object.getOwnPropertySymbols(t);c<a.length;c++)e.indexOf(a[c])<0&&Object.prototype.propertyIsEnumerable.call(t,a[c])&&(r[a[c]]=t[a[c]]);return r};function wt(t){const{breadcrumbName:e,children:r}=t,a=nt(t,["breadcrumbName","children"]),c=Object.assign({title:e},a);return r&&(c.menu={items:r.map(w=>{var{breadcrumbName:_}=w,H=nt(w,["breadcrumbName"]);return Object.assign(Object.assign({},H),{title:_})})}),c}function _t(t,e){return(0,p.useMemo)(()=>t||(e?e.map(wt):null),[t,e])}var jt=function(t,e){var r={};for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&e.indexOf(a)<0&&(r[a]=t[a]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var c=0,a=Object.getOwnPropertySymbols(t);c<a.length;c++)e.indexOf(a[c])<0&&Object.prototype.propertyIsEnumerable.call(t,a[c])&&(r[a[c]]=t[a[c]]);return r};const Zt=(t,e)=>{if(e===void 0)return e;let r=(e||"").replace(/^\//,"");return Object.keys(t).forEach(a=>{r=r.replace(`:${a}`,t[a])}),r},Ue=t=>{const{prefixCls:e,separator:r="/",style:a,className:c,rootClassName:w,routes:_,items:H,children:G,itemRender:A,params:z={}}=t,D=jt(t,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:U,direction:k,breadcrumb:R}=p.useContext(O.E_);let T;const X=U("breadcrumb",e),[I,$,te]=St(X),L=_t(H,_),de=bt(X,A);if(L&&L.length>0){const ce=[],ue=H||_;T=L.map((re,ae)=>{const{path:be,key:me,type:Ce,menu:ve,overlay:pe,onClick:Oe,className:se,separator:ye,dropdownProps:_e}=re,we=Zt(z,be);we!==void 0&&ce.push(we);const Ze=me!=null?me:ae;if(Ce==="separator")return p.createElement(Xe,{key:Ze},ye);const je={},Me=ae===L.length-1;ve?je.menu=ve:pe&&(je.overlay=pe);let{href:le}=re;return ce.length&&we!==void 0&&(le=`#/${ce.join("/")}`),p.createElement(qe,Object.assign({key:Ze},je,(0,Qe.Z)(re,{data:!0,aria:!0}),{className:se,dropdownProps:_e,href:le,separator:Me?"":r,onClick:Oe,prefixCls:X}),de(re,z,ue,ce,le))})}else if(G){const ce=(0,Ye.Z)(G).length;T=(0,Ye.Z)(G).map((ue,re)=>{if(!ue)return ue;const ae=re===ce-1;return(0,gt.Tm)(ue,{separator:ae?"":r,key:re})})}const ie=B()(X,R==null?void 0:R.className,{[`${X}-rtl`]:k==="rtl"},c,w,$,te),V=Object.assign(Object.assign({},R==null?void 0:R.style),a);return I(p.createElement("nav",Object.assign({className:ie,style:V},D),p.createElement("ol",null,T)))};Ue.Item=Ct,Ue.Separator=Xe;var It=Ue,Tt=It,Nt=l(7134),Rt=l(78957),at=function(){return{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}},Bt=function(e){var r;return(0,u.Z)({},e.componentCls,(0,i.Z)((0,i.Z)({},fe.Wf===null||fe.Wf===void 0?void 0:(0,fe.Wf)(e)),{},(0,u.Z)((0,u.Z)((0,u.Z)((0,u.Z)((0,u.Z)((0,u.Z)((0,u.Z)((0,u.Z)({position:"relative",backgroundColor:e.pageHeaderBgGhost,paddingBlock:e.pageHeaderPaddingVertical+2,paddingInline:e.pageHeaderPadding,"&-no-children":{height:(r=e.layout)===null||r===void 0||(r=r.pageContainer)===null||r===void 0?void 0:r.paddingBlockPageContainerContent},"& &-has-breadcrumb":{paddingBlockStart:e.pageHeaderPaddingBreadCrumb},"& &-has-footer":{paddingBlockEnd:0},"& &-back":(0,u.Z)({marginInlineEnd:e.margin,fontSize:16,lineHeight:1,"&-button":(0,i.Z)
.anticon {
display: inline-block;
color: inherit;
font-style: normal;
line-height: 0;
text-align: center;
text-transform: none;
vertical-align: -0.125em;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.anticon > * {
line-height: 1;
}
.anticon svg {
display: inline-block;
}
.anticon::before {
display: none;
}
.anticon .anticon-icon {
display: block;
}
.anticon[tabindex] {
cursor: pointer;
}
.anticon-spin::before,
.anticon-spin {
display: inline-block;
-webkit-animation: loadingCircle 1s infinite linear;
animation: loadingCircle 1s infinite linear;
}
@-webkit-keyframes loadingCircle {
100% {
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
}
}
@keyframes loadingCircle {
100% {
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
}
}
`,ne=function(v){var j=(0,E.useContext)(Y.default),o=j.csp,d=j.prefixCls,m=M;d&&(m=m.replace(/anticon/g,d)),(0,E.useEffect)(function(){var C=v.current,F=(0,x.getShadowRoot)(C);(0,i.updateCSS)(m,"@ant-design-icons",{prepend:!0,csp:o,attachTo:F})},[])}},19158:function(Z,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.default=l;function l(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}},32191:function(Z,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.default=l;function l(u,N){if(!u)return!1;if(u.contains)return u.contains(N);for(var i=N;i;){if(i===u)return!0;i=i.parentNode}return!1}},93399:function(Z,y,l){"use strict";var u=l(64836).default;Object.defineProperty(y,"__esModule",{value:!0}),y.clearContainerCache=b,y.injectCSS=n,y.removeCSS=g,y.updateCSS=O;var N=u(l(42122)),i=u(l(19158)),x=u(l(32191)),W="data-rc-order",E="data-rc-priority",Y="rc-util-key",K=new Map;function p(){var h=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},S=h.mark;return S?S.startsWith("data-")?S:"data-".concat(S):Y}function Q(h){if(h.attachTo)return h.attachTo;var S=document.querySelector("head");return S||document.body}function B(h){return h==="queue"?"prependQueue":h?"prepend":"append"}function q(h){return Array.from((K.get(h)||h).children).filter(function(S){return S.tagName==="STYLE"})}function n(h){var S=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!(0,i.default)())return null;var M=S.csp,ne=S.prepend,v=S.priority,j=v===void 0?0:v,o=B(ne),d=o==="prependQueue",m=document.createElement("style");m.setAttribute(W,o),d&&j&&m.setAttribute(E,"".concat(j)),M!=null&&M.nonce&&(m.nonce=M==null?void 0:M.nonce),m.innerHTML=h;var C=Q(S),F=C.firstChild;if(ne){if(d){var ee=(S.styles||q(C)).filter(function(ge){if(!["prepend","prependQueue"].includes(ge.getAttribute(W)))return!1;var Se=Number(ge.getAttribute(E)||0);return j>=Se});if(ee.length)return C.insertBefore(m,ee[ee.length-1].nextSibling),m}C.insertBefore(m,F)}else C.appendChild(m);return m}function f(h){var S=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},M=Q(S);return(S.styles||q(M)).find(function(ne){return ne.getAttribute(p(S))===h})}function g(h){var S=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},M=f(h,S);if(M){var ne=Q(S);ne.removeChild(M)}}function s(h,S){var M=K.get(h);if(!M||!(0,x.default)(document,M)){var ne=n("",S),v=ne.parentNode;K.set(h,v),h.removeChild(ne)}}function b(){K.clear()}function O(h,S){var M=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},ne=Q(M),v=q(ne),j=(0,N.default)((0,N.default)({},M),{},{styles:v});s(ne,j);var o=f(S,j);if(o){var d,m;if((d=j.csp)!==null&&d!==void 0&&d.nonce&&o.nonce!==((m=j.csp)===null||m===void 0?void 0:m.nonce)){var C;o.nonce=(C=j.csp)===null||C===void 0?void 0:C.nonce}return o.innerHTML!==h&&(o.innerHTML=h),o}var F=n(h,j);return F.setAttribute(p(j),S),F}},63298:function(Z,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.getShadowRoot=N,y.inShadow=u;function l(i){var x;return i==null||(x=i.getRootNode)===null||x===void 0?void 0:x.call(i)}function u(i){return l(i)instanceof ShadowRoot}function N(i){return u(i)?l(i):null}},45520:function(Z,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.call=E,y.default=void 0,y.note=x,y.noteOnce=K,y.preMessage=void 0,y.resetWarned=W,y.warning=i,y.warningOnce=Y;var l={},u=[],N=y.preMessage=function(B){u.push(B)};function i(Q,B){if(!1)var q}function x(Q,B){if(!1)var q}function W(){l={}}function E(Q,B,q){!B&&!l[q]&&(Q(!1,q),l[q]=!0)}function Y(Q,B){E(i,Q,B)}function K(Q,B){E(x,Q,B)}Y.preMessage=N,Y.resetWarned=W,Y.noteOnce=K;var p=y.default=Y},38416:function(Z,y,l){var u=l(64062);function N(i,x,W){return x=u(x),x in i?Object.defineProperty(i,x,{value:W,enumerable:!0,configurable:!0,writable:!0}):i[x]=W,i}Z.exports=N,Z.exports.__esModule=!0,Z.exports.default=Z.exports},64836:function(Z){function y(l){return l&&l.__esModule?l:{default:l}}Z.exports=y,Z.exports.__esModule=!0,Z.exports.default=Z.exports},42122:function(Z,y,l){var u=l(38416);function N(x,W){var E=