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.
 
 
 

2 regels
20 KiB

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