|
- (self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[8790],{64335:function(ve,Y,i){"use strict";var j=i(67294),ee=(0,j.createContext)({});Y.Z=ee},85224:function(ve,Y,i){"use strict";var j=i(28991),ee=i(84305),R=i(88182),W=i(81253),z=i(85893),ae=i(94184),N=i.n(ae),w=i(97435),D=i(67294),T=i(64335),Z=i(56264),te=i.n(Z),ne=["children","className","extra","style","renderContent"],l=function(I){var $=I.children,V=I.className,k=I.extra,me=I.style,J=I.renderContent,de=(0,W.Z)(I,ne),ce=(0,D.useContext)(R.ZP.ConfigContext),fe=ce.getPrefixCls,G=I.prefixCls||fe("pro"),ue="".concat(G,"-footer-bar"),p=(0,D.useContext)(T.Z),oe=(0,D.useMemo)(function(){var Q=p.hasSiderMenu,X=p.isMobile,_=p.siderWidth;if(!!Q)return _?X?"100%":"calc(100% - ".concat(_,"px)"):"100%"},[p.collapsed,p.hasSiderMenu,p.isMobile,p.siderWidth]),ie=(0,z.jsxs)(z.Fragment,{children:[(0,z.jsx)("div",{className:"".concat(ue,"-left"),children:k}),(0,z.jsx)("div",{className:"".concat(ue,"-right"),children:$})]});return(0,D.useEffect)(function(){return!p||!(p==null?void 0:p.setHasFooterToolbar)?function(){}:(p==null||p.setHasFooterToolbar(!0),function(){var Q;p==null||(Q=p.setHasFooterToolbar)===null||Q===void 0||Q.call(p,!1)})},[]),(0,z.jsx)("div",(0,j.Z)((0,j.Z)({className:N()(V,"".concat(ue)),style:(0,j.Z)({width:oe},me)},(0,w.Z)(de,["prefixCls"])),{},{children:J?J((0,j.Z)((0,j.Z)((0,j.Z)({},I),p),{},{leftWidth:oe}),ie):ie}))};Y.Z=l},28790:function(ve,Y,i){"use strict";i.d(Y,{ZP:function(){return Nt}});var j=i(38663),ee=i(70883),R=i(22122),W=i(96156),z=i(6610),ae=i(5991),N=i(10379),w=i(44144),D=i(90484),T=i(94184),Z=i.n(T),te=i(48717),ne=i(98423),l=i(67294),A=i(53124),I=i(85061),$=i(75164);function V(n){var e,r=function(o){return function(){e=null,n.apply(void 0,(0,I.Z)(o))}},t=function(){if(e==null){for(var o=arguments.length,s=new Array(o),d=0;d<o;d++)s[d]=arguments[d];e=(0,$.Z)(r(s))}};return t.cancel=function(){$.Z.cancel(e),e=null},t}function k(){return function(e,r,t){var a=t.value,o=!1;return{configurable:!0,get:function(){if(o||this===e.prototype||this.hasOwnProperty(r))return a;var d=V(a.bind(this));return o=!0,Object.defineProperty(this,r,{value:d,configurable:!0,writable:!0}),o=!1,d}}}}var me=i(64019);function J(n){return n!==window?n.getBoundingClientRect():{top:0,bottom:window.innerHeight}}function de(n,e,r){if(r!==void 0&&e.top>n.top-r)return r+e.top}function ce(n,e,r){if(r!==void 0&&e.bottom<n.bottom+r){var t=window.innerHeight-e.bottom;return r+t}}var fe=["resize","scroll","touchstart","touchmove","touchend","pageshow","load"],G=[];function ue(){return G}function p(n,e){if(!!n){var r=G.find(function(t){return t.target===n});r?r.affixList.push(e):(r={target:n,affixList:[e],eventHandlers:{}},G.push(r),fe.forEach(function(t){r.eventHandlers[t]=(0,me.Z)(n,t,function(){r.affixList.forEach(function(a){a.lazyUpdatePosition()})})}))}}function oe(n){var e=G.find(function(r){var t=r.affixList.some(function(a){return a===n});return t&&(r.affixList=r.affixList.filter(function(a){return a!==n})),t});e&&e.affixList.length===0&&(G=G.filter(function(r){return r!==e}),fe.forEach(function(r){var t=e.eventHandlers[r];t&&t.remove&&t.remove()}))}var ie=function(n,e,r,t){var a=arguments.length,o=a<3?e:t===null?t=Object.getOwnPropertyDescriptor(e,r):t,s;if((typeof Reflect=="undefined"?"undefined":(0,D.Z)(Reflect))==="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(n,e,r,t);else for(var d=n.length-1;d>=0;d--)(s=n[d])&&(o=(a<3?s(o):a>3?s(e,r,o):s(e,r))||o);return a>3&&o&&Object.defineProperty(e,r,o),o};function Q(){return typeof window!="undefined"?window:null}var X;(function(n){n[n.None=0]="None",n[n.Prepare=1]="Prepare"})(X||(X={}));var _=function(n){(0,N.Z)(r,n);var e=(0,w.Z)(r);function r(){var t;return(0,z.Z)(this,r),t=e.apply(this,arguments),t.state={status:X.None,lastAffix:!1,prevTarget:null},t.getOffsetTop=function(){var a=t.props,o=a.offsetBottom,s=a.offsetTop;return o===void 0&&s===void 0?0:s},t.getOffsetBottom=function(){return t.props.offsetBottom},t.savePlaceholderNode=function(a){t.placeholderNode=a},t.saveFixedNode=function(a){t.fixedNode=a},t.measure=function(){var a=t.state,o=a.status,s=a.lastAffix,d=t.props.onChange,u=t.getTargetFunc();if(!(o!==X.Prepare||!t.fixedNode||!t.placeholderNode||!u)){var v=t.getOffsetTop(),m=t.getOffsetBottom(),h=u();if(!!h){var c={status:X.None},P=J(h),f=J(t.placeholderNode),y=de(f,P,v),E=ce(f,P,m);f.top===0&&f.left===0&&f.width===0&&f.height===0||(y!==void 0?(c.affixStyle={position:"fixed",top:y,width:f.width,height:f.height},c.placeholderStyle={width:f.width,height:f.height}):E!==void 0&&(c.affixStyle={position:"fixed",bottom:E,width:f.width,height:f.height},c.placeholderStyle={width:f.width,height:f.height}),c.lastAffix=!!c.affixStyle,d&&s!==c.lastAffix&&d(c.lastAffix),t.setState(c))}}},t.prepareMeasure=function(){if(t.setState({status:X.Prepare,affixStyle:void 0,placeholderStyle:void 0}),!1)var a},t}return(0,ae.Z)(r,[{key:"getTargetFunc",value:function(){var a=this.context.getTargetContainer,o=this.props.target;return o!==void 0?o:a!=null?a:Q}},{key:"componentDidMount",value:function(){var a=this,o=this.getTargetFunc();o&&(this.timeout=setTimeout(function(){p(o(),a),a.updatePosition()}))}},{key:"componentDidUpdate",value:function(a){var o=this.state.prevTarget,s=this.getTargetFunc(),d=(s==null?void 0:s())||null;o!==d&&(oe(this),d&&(p(d,this),this.updatePosition()),this.setState({prevTarget:d})),(a.offsetTop!==this.props.offsetTop||a.offsetBottom!==this.props.offsetBottom)&&this.updatePosition(),this.measure()}},{key:"componentWillUnmount",value:function(){clearTimeout(this.timeout),oe(this),this.updatePosition.cancel(),this.lazyUpdatePosition.cancel()}},{key:"updatePosition",value:function(){this.prepareMeasure()}},{key:"lazyUpdatePosition",value:function(){var a=this.getTargetFunc(),o=this.state.affixStyle;if(a&&o){var s=this.getOffsetTop(),d=this.getOffsetBottom(),u=a();if(u&&this.placeholderNode){var v=J(u),m=J(this.placeholderNode),h=de(m,v,s),c=ce(m,v,d);if(h!==void 0&&o.top===h||c!==void 0&&o.bottom===c)return}}this.prepareMeasure()}},{key:"render",value:function(){var a=this,o=this.state,s=o.affixStyle,d=o.placeholderStyle,u=this.props,v=u.affixPrefixCls,m=u.children,h=Z()((0,W.Z)({},v,!!s)),c=(0,ne.Z)(this.props,["prefixCls","offsetTop","offsetBottom","target","onChange","affixPrefixCls"]);return l.createElement(te.default,{onResize:function(){a.updatePosition()}},l.createElement("div",(0,R.Z)({},c,{ref:this.savePlaceholderNode}),s&&l.createElement("div",{style:d,"aria-hidden":"true"}),l.createElement("div",{className:h,ref:this.saveFixedNode,style:s},l.createElement(te.default,{onResize:function(){a.updatePosition()}},m))))}}]),r}(l.Component);_.contextType=A.E_,ie([k()],_.prototype,"updatePosition",null),ie([k()],_.prototype,"lazyUpdatePosition",null);var Ie=l.forwardRef(function(n,e){var r=n.prefixCls,t=l.useContext(A.E_),a=t.getPrefixCls,o=a("affix",r),s=(0,R.Z)((0,R.Z)({},n),{affixPrefixCls:o});return l.createElement(_,(0,R.Z)({},s,{ref:e}))}),Fe=Ie,Ht=i(84305),he=i(88182),zt=i(59903),$t=i(94233),Kt=i(81262),wt=i(59250),Gt=i(30887),Xt=i(49111),be=i(28481),Le=i(6700),Ue=i(93488),We=i(30470),He=i(51890),ze=i(50344),$e=i(28682),Ke=i(96159),we=i(57254),Ge=i(81555),Xe=function(n,e){var r={};for(var t in n)Object.prototype.hasOwnProperty.call(n,t)&&e.indexOf(t)<0&&(r[t]=n[t]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,t=Object.getOwnPropertySymbols(n);a<t.length;a++)e.indexOf(t[a])<0&&Object.prototype.propertyIsEnumerable.call(n,t[a])&&(r[t[a]]=n[t[a]]);return r},Pe=function(e){var r=e.prefixCls,t=e.separator,a=t===void 0?"/":t,o=e.children,s=e.menu,d=e.overlay,u=e.dropdownProps,v=Xe(e,["prefixCls","separator","children","menu","overlay","dropdownProps"]),m=l.useContext(A.E_),h=m.getPrefixCls,c=h("breadcrumb",r),P=function(E){return s||d?l.createElement(Ge.Z,(0,R.Z)({menu:s,overlay:d,placement:"bottom"},u),l.createElement("span",{className:"".concat(c,"-overlay-link")},E,l.createElement(we.Z,null))):E},f;return"href"in v?f=l.createElement("a",(0,R.Z)({className:"".concat(c,"-link")},v),o):f=l.createElement("span",(0,R.Z)({className:"".concat(c,"-link")},v),o),f=P(f),o!=null?l.createElement("li",null,f,a&&l.createElement("span",{className:"".concat(c,"-separator")},a)):null};Pe.__ANT_BREADCRUMB_ITEM=!0;var ye=Pe,pe=function(e){var r=e.children,t=l.useContext(A.E_),a=t.getPrefixCls,o=a("breadcrumb");return l.createElement("span",{className:"".concat(o,"-separator")},r||"/")};pe.__ANT_BREADCRUMB_SEPARATOR=!0;var Ye=pe,Ve=function(n,e){var r={};for(var t in n)Object.prototype.hasOwnProperty.call(n,t)&&e.indexOf(t)<0&&(r[t]=n[t]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,t=Object.getOwnPropertySymbols(n);a<t.length;a++)e.indexOf(t[a])<0&&Object.prototype.propertyIsEnumerable.call(n,t[a])&&(r[t[a]]=n[t[a]]);return r};function ke(n,e){if(!n.breadcrumbName)return null;var r=Object.keys(e).join("|"),t=n.breadcrumbName.replace(new RegExp(":(".concat(r,")"),"g"),function(a,o){return e[o]||a});return t}function Je(n,e,r,t){var a=r.indexOf(n)===r.length-1,o=ke(n,e);return a?l.createElement("span",null,o):l.createElement("a",{href:"#/".concat(t.join("/"))},o)}var Ee=function(e,r){return e=(e||"").replace(/^\//,""),Object.keys(r).forEach(function(t){e=e.replace(":".concat(t),r[t])}),e},Qe=function(e,r,t){var a=(0,I.Z)(e),o=Ee(r||"",t);return o&&a.push(o),a},ge=function(e){var r=e.prefixCls,t=e.separator,a=t===void 0?"/":t,o=e.style,s=e.className,d=e.routes,u=e.children,v=e.itemRender,m=v===void 0?Je:v,h=e.params,c=h===void 0?{}:h,P=Ve(e,["prefixCls","separator","style","className","routes","children","itemRender","params"]),f=l.useContext(A.E_),y=f.getPrefixCls,E=f.direction,C,O=y("breadcrumb",r);if(d&&d.length>0){var B=[];C=d.map(function(b){var L=Ee(b.path,c);L&&B.push(L);var F;b.children&&b.children.length&&(F=l.createElement($e.Z,{items:b.children.map(function(U){return{key:U.path||U.breadcrumbName,label:m(U,c,d,Qe(B,U.path,c))}})}));var H={separator:a};return F&&(H.overlay=F),l.createElement(ye,(0,R.Z)({},H,{key:L||b.breadcrumbName}),m(b,c,d,B))})}else u&&(C=(0,ze.Z)(u).map(function(b,L){return b&&(0,Ke.Tm)(b,{separator:a,key:L})}));var S=Z()(O,(0,W.Z)({},"".concat(O,"-rtl"),E==="rtl"),s);return l.createElement("nav",(0,R.Z)({className:S,style:o},P),l.createElement("ol",null,C))};ge.Item=ye,ge.Separator=Ye;var _e=ge,qe=_e,et=i(42051),tt=i(19650),rt=i(34952),at=function(e,r,t){return!r||!t?null:l.createElement(et.Z,{componentName:"PageHeader"},function(a){return l.createElement("div",{className:"".concat(e,"-back")},l.createElement(rt.Z,{onClick:function(s){t==null||t(s)},className:"".concat(e,"-back-button"),"aria-label":a.back},r))})},nt=function(e){return l.createElement(qe,(0,R.Z)({},e))},ot=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"ltr";return e.backIcon!==void 0?e.backIcon:r==="rtl"?l.createElement(Ue.Z,null):l.createElement(Le.Z,null)},it=function(e,r){var t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"ltr",a=r.title,o=r.avatar,s=r.subTitle,d=r.tags,u=r.extra,v=r.onBack,m="".concat(e,"-heading"),h=a||s||d||u;if(!h)return null;var c=ot(r,t),P=at(e,c,v),f=P||o||h;return l.createElement("div",{className:m},f&&l.createElement("div",{className:"".concat(m,"-left")},P,o&&l.createElement(He.C,(0,R.Z)({},o)),a&&l.createElement("span",{className:"".concat(m,"-title"),title:typeof a=="string"?a:void 0},a),s&&l.createElement("span",{className:"".concat(m,"-sub-title"),title:typeof s=="string"?s:void 0},s),d&&l.createElement("span",{className:"".concat(m,"-tags")},d)),u&&l.createElement("span",{className:"".concat(m,"-extra")},l.createElement(tt.Z,null,u)))},lt=function(e,r){return r?l.createElement("div",{className:"".concat(e,"-footer")},r):null},st=function(e,r){return l.createElement("div",{className:"".concat(e,"-content")},r)},dt=function(e){var r=(0,We.Z)(!1),t=(0,be.Z)(r,2),a=t[0],o=t[1],s=function(u){var v=u.width;o(v<768,!0)};return l.createElement(A.C,null,function(d){var u,v=d.getPrefixCls,m=d.pageHeader,h=d.direction,c,P=e.prefixCls,f=e.style,y=e.footer,E=e.children,C=e.breadcrumb,O=e.breadcrumbRender,B=e.className,S=!0;"ghost"in e?S=e.ghost:m&&"ghost"in m&&(S=m.ghost);var b=v("page-header",P),L=function(){return(C==null?void 0:C.routes)?nt(C):null},F=L(),H=C&&"props"in C,U=(c=O==null?void 0:O(e,F))!==null&&c!==void 0?c:F,M=H?C:U,re=Z()(b,B,(u={"has-breadcrumb":!!M,"has-footer":!!y},(0,W.Z)(u,"".concat(b,"-ghost"),S),(0,W.Z)(u,"".concat(b,"-rtl"),h==="rtl"),(0,W.Z)(u,"".concat(b,"-compact"),a),u));return l.createElement(te.default,{onResize:s},l.createElement("div",{className:re,style:f},M,it(b,e,h),E&&st(b,E),lt(b,y)))})},ct=dt,Ze=i(81253),g=i(28991),Yt=i(18106),Ne=i(25499),x=i(85893),xe=i(64335),ft=i(85224),Vt=i(53645),ut=function(e){var r=(0,l.useContext)(xe.Z),t=e.children,a=e.contentWidth,o=e.className,s=e.style,d=(0,l.useContext)(he.ZP.ConfigContext),u=d.getPrefixCls,v=e.prefixCls||u("pro"),m=a||r.contentWidth,h="".concat(v,"-grid-content");return(0,x.jsx)("div",{className:Z()(h,o,{wide:m==="Fixed"}),style:s,children:(0,x.jsx)("div",{className:"".concat(v,"-grid-content-children"),children:t})})},vt=ut,mt=i(83832),ht=function(e){if(!e)return 1;var r=e.backingStorePixelRatio||e.webkitBackingStorePixelRatio||e.mozBackingStorePixelRatio||e.msBackingStorePixelRatio||e.oBackingStorePixelRatio||e.backingStorePixelRatio||1;return(window.devicePixelRatio||1)/r},gt=function(e){var r=e.children,t=e.style,a=e.className,o=e.markStyle,s=e.markClassName,d=e.zIndex,u=d===void 0?9:d,v=e.gapX,m=v===void 0?212:v,h=e.gapY,c=h===void 0?222:h,P=e.width,f=P===void 0?120:P,y=e.height,E=y===void 0?64:y,C=e.rotate,O=C===void 0?-22:C,B=e.image,S=e.content,b=e.offsetLeft,L=e.offsetTop,F=e.fontStyle,H=F===void 0?"normal":F,U=e.fontWeight,M=U===void 0?"normal":U,re=e.fontColor,Ce=re===void 0?"rgba(0,0,0,.15)":re,Re=e.fontSize,Te=Re===void 0?16:Re,Oe=e.fontFamily,Be=Oe===void 0?"sans-serif":Oe,Rt=e.prefixCls,Tt=(0,l.useContext)(he.ZP.ConfigContext),Ot=Tt.getPrefixCls,Se=Ot("pro-layout-watermark",Rt),Bt=Z()("".concat(Se,"-wrapper"),a),St=Z()(Se,s),Mt=(0,l.useState)(""),Me=(0,be.Z)(Mt,2),je=Me[0],De=Me[1];return(0,l.useEffect)(function(){var le=document.createElement("canvas"),K=le.getContext("2d"),q=ht(K),jt="".concat((m+f)*q,"px"),Dt="".concat((c+E)*q,"px"),At=b||m/2,It=L||c/2;if(le.setAttribute("width",jt),le.setAttribute("height",Dt),K){K.translate(At*q,It*q),K.rotate(Math.PI/180*Number(O));var Ft=f*q,Ae=E*q;if(B){var se=new Image;se.crossOrigin="anonymous",se.referrerPolicy="no-referrer",se.src=B,se.onload=function(){K.drawImage(se,0,0,Ft,Ae),De(le.toDataURL())}}else if(S){var Lt=Number(Te)*q;K.font="".concat(H," normal ").concat(M," ").concat(Lt,"px/").concat(Ae,"px ").concat(Be),K.fillStyle=Ce,Array.isArray(S)?S==null||S.forEach(function(Ut,Wt){return K.fillText(Ut,0,Wt*50)}):K.fillText(S,0,0),De(le.toDataURL())}}else console.error("\u5F53\u524D\u73AF\u5883\u4E0D\u652F\u6301Canvas")},[m,c,b,L,O,H,M,f,E,Be,Ce,B,S,Te]),(0,x.jsxs)("div",{style:(0,g.Z)({position:"relative"},t),className:Bt,children:[r,(0,x.jsx)("div",{className:St,style:(0,g.Z)((0,g.Z)({zIndex:u,position:"absolute",left:0,top:0,width:"100%",height:"100%",backgroundSize:"".concat(m+f,"px"),pointerEvents:"none",backgroundRepeat:"repeat"},je?{backgroundImage:"url('".concat(je,"')")}:null),o)})]})},xt=gt,kt=i(12395),Ct=["title","content","pageHeaderRender","header","prefixedClassName","extraContent","style","prefixCls","breadcrumbRender"],bt=["children","loading","className","style","footer","affixProps","ghost","fixedHeader","breadcrumbRender"];function Pt(n){return(0,D.Z)(n)==="object"?n:{spinning:n}}var yt=function(e){var r=e.tabList,t=e.tabActiveKey,a=e.onTabChange,o=e.tabBarExtraContent,s=e.tabProps,d=e.prefixedClassName;return Array.isArray(r)||o?(0,x.jsx)(Ne.Z,(0,g.Z)((0,g.Z)({className:"".concat(d,"-tabs"),activeKey:t,onChange:function(v){a&&a(v)},tabBarExtraContent:o},s),{},{children:r==null?void 0:r.map(function(u,v){return(0,l.createElement)(Ne.Z.TabPane,(0,g.Z)((0,g.Z)({},u),{},{tab:u.tab,key:u.key||v}))})})):null},pt=function(e,r,t){return!e&&!r?null:(0,x.jsx)("div",{className:"".concat(t,"-detail"),children:(0,x.jsx)("div",{className:"".concat(t,"-main"),children:(0,x.jsxs)("div",{className:"".concat(t,"-row"),children:[e&&(0,x.jsx)("div",{className:"".concat(t,"-content"),children:e}),r&&(0,x.jsx)("div",{className:"".concat(t,"-extraContent"),children:r})]})})})},Jt=function(e){var r=useContext(RouteContext);return _jsx("div",{style:{height:"100%",display:"flex",alignItems:"center"},children:_jsx(_Breadcrumb,_objectSpread(_objectSpread(_objectSpread({},r==null?void 0:r.breadcrumb),r==null?void 0:r.breadcrumbProps),e))})},Et=function(e){var r,t=(0,l.useContext)(xe.Z),a=e.title,o=e.content,s=e.pageHeaderRender,d=e.header,u=e.prefixedClassName,v=e.extraContent,m=e.style,h=e.prefixCls,c=e.breadcrumbRender,P=(0,Ze.Z)(e,Ct),f=(0,l.useMemo)(function(){if(!!c)return c},[c]);if(s===!1)return null;if(s)return(0,x.jsxs)(x.Fragment,{children:[" ",s((0,g.Z)((0,g.Z)({},e),t))]});var y=a;!a&&a!==!1&&(y=t.title);var E=(0,g.Z)((0,g.Z)((0,g.Z)({},t),{},{title:y},P),{},{footer:yt((0,g.Z)((0,g.Z)({},P),{},{breadcrumbRender:c,prefixedClassName:u}))},d),C=E.breadcrumb,O=(!C||!(C==null?void 0:C.itemRender)&&!(C==null||(r=C.routes)===null||r===void 0?void 0:r.length))&&!c;return["title","subTitle","extra","tags","footer","avatar","backIcon"].every(function(B){return!E[B]})&&O&&!o&&!v?null:(0,x.jsx)("div",{className:"".concat(u,"-warp"),children:(0,x.jsx)(ct,(0,g.Z)((0,g.Z)({},E),{},{breadcrumb:c===!1?void 0:(0,g.Z)((0,g.Z)({},E.breadcrumb),t.breadcrumbProps),breadcrumbRender:f,prefixCls:h,children:(d==null?void 0:d.children)||pt(o,v,u)}))})},Zt=function(e){var r,t,a=e.children,o=e.loading,s=o===void 0?!1:o,d=e.className,u=e.style,v=e.footer,m=e.affixProps,h=e.ghost,c=e.fixedHeader,P=e.breadcrumbRender,f=(0,Ze.Z)(e,bt),y=(0,l.useContext)(xe.Z),E=(0,l.useContext)(he.ZP.ConfigContext),C=E.getPrefixCls,O=e.prefixCls||C("pro"),B="".concat(O,"-page-container"),S=Z()(B,d,(r={},(0,W.Z)(r,"".concat(O,"-page-container-ghost"),h),(0,W.Z)(r,"".concat(O,"-page-container-with-footer"),v),r)),b=(0,l.useMemo)(function(){return a?(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)("div",{className:"".concat(B,"-children-content"),children:a}),y.hasFooterToolbar&&(0,x.jsx)("div",{style:{height:48,marginTop:24}})]}):null},[a,B,y.hasFooterToolbar]),L=(0,l.useMemo)(function(){var M;return P==!1?!1:P||(f==null||(M=f.header)===null||M===void 0?void 0:M.breadcrumbRender)},[P,f==null||(t=f.header)===null||t===void 0?void 0:t.breadcrumbRender]),F=(0,x.jsx)(Et,(0,g.Z)((0,g.Z)({},f),{},{breadcrumbRender:L,ghost:h,prefixCls:void 0,prefixedClassName:B})),H=(0,l.useMemo)(function(){if(l.isValidElement(s))return s;if(typeof s=="boolean"&&!s)return null;var M=Pt(s);return M.spinning?(0,x.jsx)(mt.Z,(0,g.Z)({},M)):null},[s]),U=(0,l.useMemo)(function(){var M=H||b;if(e.waterMarkProps||y.waterMarkProps){var re=(0,g.Z)((0,g.Z)({},y.waterMarkProps),e.waterMarkProps);return(0,x.jsx)(xt,(0,g.Z)((0,g.Z)({},re),{},{children:M}))}return M},[e.waterMarkProps,y.waterMarkProps,H,b]);return(0,x.jsxs)("div",{style:u,className:S,children:[c&&F?(0,x.jsx)(Fe,(0,g.Z)((0,g.Z)({offsetTop:y.hasHeader&&y.fixedHeader?y.headerHeight:0},m),{},{children:F})):F,U&&(0,x.jsx)(vt,{children:U}),v&&(0,x.jsx)(ft.Z,{prefixCls:O,children:v})]})},Nt=Zt},56264:function(){},53645:function(){},12395:function(){},70883:function(){},81262:function(){},59903:function(){},34952:function(ve,Y,i){"use strict";var j=i(22122),ee=i(15105),R=i(67294),W=function(N,w){var D={};for(var T in N)Object.prototype.hasOwnProperty.call(N,T)&&w.indexOf(T)<0&&(D[T]=N[T]);if(N!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Z=0,T=Object.getOwnPropertySymbols(N);Z<T.length;Z++)w.indexOf(T[Z])<0&&Object.prototype.propertyIsEnumerable.call(N,T[Z])&&(D[T[Z]]=N[T[Z]]);return D},z={border:0,background:"transparent",padding:0,lineHeight:"inherit",display:"inline-block"},ae=R.forwardRef(function(N,w){var D=function($){var V=$.keyCode;V===ee.Z.ENTER&&$.preventDefault()},T=function($){var V=$.keyCode,k=N.onClick;V===ee.Z.ENTER&&k&&k()},Z=N.style,te=N.noStyle,ne=N.disabled,l=W(N,["style","noStyle","disabled"]),A={};return te||(A=(0,j.Z)({},z)),ne&&(A.pointerEvents="none"),A=(0,j.Z)((0,j.Z)({},A),Z),R.createElement("div",(0,j.Z)({role:"button",tabIndex:0,ref:w},l,{onKeyDown:D,onKeyUp:T,style:A}))});Y.Z=ae}}]);
|