-
Notifications
You must be signed in to change notification settings - Fork 0
/
946b4c35.js
2 lines (2 loc) · 23.9 KB
/
946b4c35.js
1
2
(window.webpackJsonp=window.webpackJsonp||[]).push([[6],{"15/o":function(K,N,i){},AOa7:function(K,N,i){},"BGR+":function(K,N,i){"use strict";function _(L,C){for(var R=Object.assign({},L),S=0;S<C.length;S+=1){var U=C[S];delete R[U]}return R}N.a=_},DnfT:function(K,N,i){},FRQA:function(K,N,i){"use strict";var _=i("GNNt"),L=i("wEI+"),C=i("DnfT"),R=i.n(C),S=i("q1tI"),U=i.n(S),V=i("TSYQ"),T=i.n(V),z=i("jYQm"),f=function(D){var A=Object(S.useContext)(z.a),q=D.children,$=D.contentWidth,B=D.className,X=D.style,c=Object(S.useContext)(L.b.ConfigContext),o=c.getPrefixCls,s=D.prefixCls||o("pro"),u=$||A.contentWidth,b="".concat(s,"-grid-content");return U.a.createElement("div",{className:T()(b,B,{wide:u==="Fixed"}),style:X},U.a.createElement("div",{className:"".concat(s,"-grid-content-children")},q))};N.a=f},"YV/h":function(K,N,i){},gDlH:function(K,N,i){"use strict";var _=i("wx14"),L=i("q1tI"),C=i.n(L),R=i("4IlW"),S=function(T,z){var f={};for(var m in T)Object.prototype.hasOwnProperty.call(T,m)&&z.indexOf(m)<0&&(f[m]=T[m]);if(T!=null&&typeof Object.getOwnPropertySymbols=="function")for(var D=0,m=Object.getOwnPropertySymbols(T);D<m.length;D++)z.indexOf(m[D])<0&&Object.prototype.propertyIsEnumerable.call(T,m[D])&&(f[m[D]]=T[m[D]]);return f},U={border:0,background:"transparent",padding:0,lineHeight:"inherit",display:"inline-block"},V=L.forwardRef(function(T,z){var f=function(c){var o=c.keyCode;o===R.a.ENTER&&c.preventDefault()},m=function(c){var o=c.keyCode,s=T.onClick;o===R.a.ENTER&&s&&s()},D=T.style,A=T.noStyle,q=T.disabled,$=S(T,["style","noStyle","disabled"]),B={};return A||(B=Object(_.a)({},U)),q&&(B.pointerEvents="none"),B=Object(_.a)(Object(_.a)({},B),D),L.createElement("div",Object(_.a)({role:"button",tabIndex:0,ref:z},$,{onKeyDown:f,onKeyUp:m,style:B}))});N.a=V},jRje:function(K,N,i){"use strict";var _=i("GNNt"),L=i("wEI+"),C=i("q1tI"),R=i.n(C),S=i("TSYQ"),U=i.n(S),V=i("BGR+"),T=i("rsCp"),z=i.n(T),f=i("jYQm");function m(){return m=Object.assign||function(c){for(var o=1;o<arguments.length;o++){var s=arguments[o];for(var u in s)Object.prototype.hasOwnProperty.call(s,u)&&(c[u]=s[u])}return c},m.apply(this,arguments)}function D(c,o){var s=Object.keys(c);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(c);o&&(u=u.filter(function(b){return Object.getOwnPropertyDescriptor(c,b).enumerable})),s.push.apply(s,u)}return s}function A(c){for(var o=1;o<arguments.length;o++){var s=arguments[o]!=null?arguments[o]:{};o%2?D(Object(s),!0).forEach(function(u){q(c,u,s[u])}):Object.getOwnPropertyDescriptors?Object.defineProperties(c,Object.getOwnPropertyDescriptors(s)):D(Object(s)).forEach(function(u){Object.defineProperty(c,u,Object.getOwnPropertyDescriptor(s,u))})}return c}function q(c,o,s){return o in c?Object.defineProperty(c,o,{value:s,enumerable:!0,configurable:!0,writable:!0}):c[o]=s,c}function $(c,o){if(c==null)return{};var s=B(c,o),u,b;if(Object.getOwnPropertySymbols){var M=Object.getOwnPropertySymbols(c);for(b=0;b<M.length;b++)u=M[b],!(o.indexOf(u)>=0)&&(!Object.prototype.propertyIsEnumerable.call(c,u)||(s[u]=c[u]))}return s}function B(c,o){if(c==null)return{};var s={},u=Object.keys(c),b,M;for(M=0;M<u.length;M++)b=u[M],!(o.indexOf(b)>=0)&&(s[b]=c[b]);return s}var X=function(o){var s=o.children,u=o.className,b=o.extra,M=o.style,G=o.renderContent,J=$(o,["children","className","extra","style","renderContent"]),H=Object(C.useContext)(L.b.ConfigContext),ve=H.getPrefixCls,ee=o.prefixCls||ve("pro"),te="".concat(ee,"-footer-bar"),y=Object(C.useContext)(f.a),oe=Object(C.useMemo)(function(){var W=y.hasSiderMenu,ie=y.isMobile,se=y.siderWidth;if(!!W)return se?ie?"100%":"calc(100% - ".concat(se,"px)"):"100%"},[y.collapsed,y.hasSiderMenu,y.isMobile,y.siderWidth]),w=R.a.createElement(R.a.Fragment,null,R.a.createElement("div",{className:"".concat(te,"-left")},b),R.a.createElement("div",{className:"".concat(te,"-right")},s));return Object(C.useEffect)(function(){return!y||!(y==null?void 0:y.setHasFooterToolbar)?function(){}:(y==null||y.setHasFooterToolbar(!0),function(){var W;y==null||(W=y.setHasFooterToolbar)===null||W===void 0||W.call(y,!1)})},[]),R.a.createElement("div",m({className:U()(u,"".concat(te)),style:A({width:oe},M)},Object(V.a)(J,["prefixCls"])),G?G(A(A(A({},o),y),{},{leftWidth:oe}),w):w)};N.a=X},jYQm:function(K,N,i){"use strict";var _=i("q1tI"),L=i.n(_),C=Object(_.createContext)({});N.a=C},rsCp:function(K,N,i){},tMyG:function(K,N,i){"use strict";var _=i("cIOH"),L=i("15/o"),C=i("wx14"),R=i("rePB"),S=i("1OyB"),U=i("vuIU"),V=i("Ji7U"),T=i("LK+K"),z=i("U8pU"),f=i("q1tI"),m=i.n(f),D=i("TSYQ"),A=i.n(D),q=i("bT9E"),$=i("t23M"),B=i("H84U"),X=i("KQm4"),c=i("wgJM");function o(n){var e,r=function(l){return function(){e=null,n.apply(void 0,Object(X.a)(l))}},t=function(){if(e==null){for(var l=arguments.length,v=new Array(l),d=0;d<l;d++)v[d]=arguments[d];e=Object(c.a)(r(v))}};return t.cancel=function(){return c.a.cancel(e)},t}function s(){return function(e,r,t){var a=t.value,l=!1;return{configurable:!0,get:function(){if(l||this===e.prototype||this.hasOwnProperty(r))return a;var d=o(a.bind(this));return l=!0,Object.defineProperty(this,r,{value:d,configurable:!0,writable:!0}),l=!1,d}}}}var u=i("zT1h");function b(n){return n!==window?n.getBoundingClientRect():{top:0,bottom:window.innerHeight}}function M(n,e,r){if(r!==void 0&&e.top>n.top-r)return r+e.top}function G(n,e,r){if(r!==void 0&&e.bottom<n.bottom+r){var t=window.innerHeight-e.bottom;return r+t}}var J=["resize","scroll","touchstart","touchmove","touchend","pageshow","load"],H=[];function ve(){return H}function ee(n,e){if(!!n){var r=H.find(function(t){return t.target===n});r?r.affixList.push(e):(r={target:n,affixList:[e],eventHandlers:{}},H.push(r),J.forEach(function(t){r.eventHandlers[t]=Object(u.a)(n,t,function(){r.affixList.forEach(function(a){a.lazyUpdatePosition()})})}))}}function te(n){var e=H.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&&(H=H.filter(function(r){return r!==e}),J.forEach(function(r){var t=e.eventHandlers[r];t&&t.remove&&t.remove()}))}var y=function(n,e,r,t){var a=arguments.length,l=a<3?e:t===null?t=Object.getOwnPropertyDescriptor(e,r):t,v;if((typeof Reflect=="undefined"?"undefined":Object(z.a)(Reflect))==="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(n,e,r,t);else for(var d=n.length-1;d>=0;d--)(v=n[d])&&(l=(a<3?v(l):a>3?v(e,r,l):v(e,r))||l);return a>3&&l&&Object.defineProperty(e,r,l),l};function oe(){return typeof window!="undefined"?window:null}var w;(function(n){n[n.None=0]="None",n[n.Prepare=1]="Prepare"})(w||(w={}));var W=function(n){Object(V.a)(r,n);var e=Object(T.a)(r);function r(){var t;return Object(S.a)(this,r),t=e.apply(this,arguments),t.state={status:w.None,lastAffix:!1,prevTarget:null},t.getOffsetTop=function(){var a=t.props.offsetBottom,l=t.props.offsetTop;return a===void 0&&l===void 0&&(l=0),l},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,l=a.status,v=a.lastAffix,d=t.props.onChange,g=t.getTargetFunc();if(!(l!==w.Prepare||!t.fixedNode||!t.placeholderNode||!g)){var h=t.getOffsetTop(),p=t.getOffsetBottom(),x=g();if(!!x){var O={status:w.None},P=b(x),j=b(t.placeholderNode),E=M(j,P,h),k=G(j,P,p);E!==void 0?(O.affixStyle={position:"fixed",top:E,width:j.width,height:j.height},O.placeholderStyle={width:j.width,height:j.height}):k!==void 0&&(O.affixStyle={position:"fixed",bottom:k,width:j.width,height:j.height},O.placeholderStyle={width:j.width,height:j.height}),O.lastAffix=!!O.affixStyle,d&&v!==O.lastAffix&&d(O.lastAffix),t.setState(O)}}},t.prepareMeasure=function(){if(t.setState({status:w.Prepare,affixStyle:void 0,placeholderStyle:void 0}),!1)var a},t.render=function(){var a=t.context.getPrefixCls,l=t.state,v=l.affixStyle,d=l.placeholderStyle,g=t.props,h=g.prefixCls,p=g.children,x=A()(Object(R.a)({},a("affix",h),v)),O=Object(q.a)(t.props,["prefixCls","offsetTop","offsetBottom","target","onChange"]);return f.createElement($.a,{onResize:function(){t.updatePosition()}},f.createElement("div",Object(C.a)({},O,{ref:t.savePlaceholderNode}),v&&f.createElement("div",{style:d,"aria-hidden":"true"}),f.createElement("div",{className:x,ref:t.saveFixedNode,style:v},f.createElement($.a,{onResize:function(){t.updatePosition()}},p))))},t}return Object(U.a)(r,[{key:"getTargetFunc",value:function(){var a=this.context.getTargetContainer,l=this.props.target;return l!==void 0?l:a||oe}},{key:"componentDidMount",value:function(){var a=this,l=this.getTargetFunc();l&&(this.timeout=setTimeout(function(){ee(l(),a),a.updatePosition()}))}},{key:"componentDidUpdate",value:function(a){var l=this.state.prevTarget,v=this.getTargetFunc(),d=null;v&&(d=v()||null),l!==d&&(te(this),d&&(ee(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),te(this),this.updatePosition.cancel(),this.lazyUpdatePosition.cancel()}},{key:"updatePosition",value:function(){this.prepareMeasure()}},{key:"lazyUpdatePosition",value:function(){var a=this.getTargetFunc(),l=this.state.affixStyle;if(a&&l){var v=this.getOffsetTop(),d=this.getOffsetBottom(),g=a();if(g&&this.placeholderNode){var h=b(g),p=b(this.placeholderNode),x=M(p,h,v),O=G(p,h,d);if(x!==void 0&&l.top===x||O!==void 0&&l.bottom===O)return}}this.prepareMeasure()}}]),r}(f.Component);W.contextType=B.b,y([s()],W.prototype,"updatePosition",null),y([s()],W.prototype,"lazyUpdatePosition",null);var ie=W,se=i("GNNt"),Pe=i("wEI+"),Ee=i("YV/h"),Ce=i("AOa7"),we=i("lUTK"),_e=i("qVdP"),Le=i("Telt"),xe=i("ODXe"),je={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"},Te=je,me=i("6VBw"),ge=function(e,r){return f.createElement(me.a,Object.assign({},e,{ref:r,icon:Te}))};ge.displayName="ArrowLeftOutlined";var Re=f.forwardRef(ge),De={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"},Ne=De,he=function(e,r){return f.createElement(me.a,Object.assign({},e,{ref:r,icon:Ne}))};he.displayName="ArrowRightOutlined";var Ue=f.forwardRef(he),We=i("Zm9Q"),Ke=i("8Skl"),Be=i("XBQK"),He=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},Me=function(e){var r=e.prefixCls,t=e.separator,a=t===void 0?"/":t,l=e.children,v=e.overlay,d=e.dropdownProps,g=He(e,["prefixCls","separator","children","overlay","dropdownProps"]),h=f.useContext(B.b),p=h.getPrefixCls,x=p("breadcrumb",r),O=function(E){return v?f.createElement(Be.a,Object(C.a)({overlay:v,placement:"bottomCenter"},d),f.createElement("span",{className:"".concat(x,"-overlay-link")},E,f.createElement(Ke.a,null))):E},P;return"href"in g?P=f.createElement("a",Object(C.a)({className:"".concat(x,"-link")},g),l):P=f.createElement("span",Object(C.a)({className:"".concat(x,"-link")},g),l),P=O(P),l?f.createElement("span",null,P,a&&a!==""&&f.createElement("span",{className:"".concat(x,"-separator")},a)):null};Me.__ANT_BREADCRUMB_ITEM=!0;var Ae=Me,Oe=function(e){var r=e.children,t=f.useContext(B.b),a=t.getPrefixCls,l=a("breadcrumb");return f.createElement("span",{className:"".concat(l,"-separator")},r||"/")};Oe.__ANT_BREADCRUMB_SEPARATOR=!0;var Fe=Oe,be=i("BvKs"),le=i("uaoM"),Z=i("0n0R"),re=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 ze(n,e){if(!n.breadcrumbName)return null;var r=Object.keys(e).join("|"),t=n.breadcrumbName.replace(new RegExp(":(".concat(r,")"),"g"),function(a,l){return e[l]||a});return t}function $e(n,e,r,t){var a=r.indexOf(n)===r.length-1,l=ze(n,e);return a?f.createElement("span",null,l):f.createElement("a",{href:"#/".concat(t.join("/"))},l)}var Se=function(e,r){return e=(e||"").replace(/^\//,""),Object.keys(r).forEach(function(t){e=e.replace(":".concat(t),r[t])}),e},Ge=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",t=arguments.length>2?arguments[2]:void 0,a=Object(X.a)(e),l=Se(r,t);return l&&a.push(l),a},pe=function(e){var r=e.prefixCls,t=e.separator,a=t===void 0?"/":t,l=e.style,v=e.className,d=e.routes,g=e.children,h=e.itemRender,p=h===void 0?$e:h,x=e.params,O=x===void 0?{}:x,P=re(e,["prefixCls","separator","style","className","routes","children","itemRender","params"]),j=f.useContext(B.b),E=j.getPrefixCls,k=j.direction,Q,de=E("breadcrumb",r);if(d&&d.length>0){var ae=[];Q=d.map(function(I){var ne=Se(I.path,O);ne&&ae.push(ne);var ye;return I.children&&I.children.length&&(ye=f.createElement(be.a,null,I.children.map(function(ue){return f.createElement(be.a.Item,{key:ue.path||ue.breadcrumbName},p(ue,O,d,Ge(ae,ue.path,O)))}))),f.createElement(Ae,{overlay:ye,separator:a,key:ne||I.breadcrumbName},p(I,O,d,ae))})}else g&&(Q=Object(We.a)(g).map(function(I,ne){return I&&(Object(le.a)(I.type&&(I.type.__ANT_BREADCRUMB_ITEM===!0||I.type.__ANT_BREADCRUMB_SEPARATOR===!0),"Breadcrumb","Only accepts Breadcrumb.Item and Breadcrumb.Separator as it's children"),Object(Z.a)(I,{separator:a,key:ne}))}));var F=A()(de,Object(R.a)({},"".concat(de,"-rtl"),k==="rtl"),v);return f.createElement("div",Object(C.a)({className:F,style:l},P),Q)};pe.Item=Ae,pe.Separator=Fe;var Ie=pe,ce=Ie,Ye=i("Tckk"),Ze=i("gDlH"),ke=i("YMnH"),qe=function(e,r,t){return!r||!t?null:f.createElement(ke.a,{componentName:"PageHeader"},function(a){var l=a.back;return f.createElement("div",{className:"".concat(e,"-back")},f.createElement(Ze.a,{onClick:function(d){t==null||t(d)},className:"".concat(e,"-back-button"),"aria-label":l},r))})},et=function(e){return f.createElement(ce,e)},tt=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"ltr";return e.backIcon!==void 0?e.backIcon:r==="rtl"?f.createElement(Ue,null):f.createElement(Re,null)},rt=function(e,r){var t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"ltr",a=r.title,l=r.avatar,v=r.subTitle,d=r.tags,g=r.extra,h=r.onBack,p="".concat(e,"-heading"),x=a||v||d||g;if(!x)return null;var O=tt(r,t),P=qe(e,O,h),j=P||l||x;return f.createElement("div",{className:p},j&&f.createElement("div",{className:"".concat(p,"-left")},P,l&&f.createElement(Ye.a,l),a&&f.createElement("span",{className:"".concat(p,"-title"),title:typeof a=="string"?a:void 0},a),v&&f.createElement("span",{className:"".concat(p,"-sub-title"),title:typeof v=="string"?v:void 0},v),d&&f.createElement("span",{className:"".concat(p,"-tags")},d)),g&&f.createElement("span",{className:"".concat(p,"-extra")},g))},at=function(e,r){return r?f.createElement("div",{className:"".concat(e,"-footer")},r):null},nt=function(e,r){return f.createElement("div",{className:"".concat(e,"-content")},r)},ot=function(e){var r=f.useState(!1),t=Object(xe.a)(r,2),a=t[0],l=t[1],v=function(g){var h=g.width;l(h<768)};return f.createElement(B.a,null,function(d){var g,h=d.getPrefixCls,p=d.pageHeader,x=d.direction,O=e.prefixCls,P=e.style,j=e.footer,E=e.children,k=e.breadcrumb,Q=e.breadcrumbRender,de=e.className,ae=!0;"ghost"in e?ae=e.ghost:p&&"ghost"in p&&(ae=p.ghost);var F=h("page-header",O),I=function(){var Qe;return((Qe=k)===null||Qe===void 0?void 0:Qe.routes)?et(k):null},ne=I(),ye=(Q==null?void 0:Q(e,ne))||ne,ue=A()(F,de,(g={"has-breadcrumb":ye,"has-footer":j},Object(R.a)(g,"".concat(F,"-ghost"),ae),Object(R.a)(g,"".concat(F,"-rtl"),x==="rtl"),Object(R.a)(g,"".concat(F,"-compact"),a),g));return f.createElement($.a,{onResize:v},f.createElement("div",{className:ue,style:P},ye,rt(F,e,x),E&&nt(F,E),at(F,j)))})},it=ot,bt=i("Znn+"),Ve=i("ZTPi"),lt=i("jYQm"),ct=i("FRQA"),st=i("jRje"),pt=i("u/V1"),ft=i("95SA"),dt=i("yxHc");function Xe(n,e){var r=Object.keys(n);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(n);e&&(t=t.filter(function(a){return Object.getOwnPropertyDescriptor(n,a).enumerable})),r.push.apply(r,t)}return r}function Y(n){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Xe(Object(r),!0).forEach(function(t){Je(n,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(r)):Xe(Object(r)).forEach(function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(r,t))})}return n}function Je(n,e,r){return e in n?Object.defineProperty(n,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):n[e]=r,n}function ut(n,e){if(n==null)return{};var r=vt(n,e),t,a;if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(n);for(a=0;a<l.length;a++)t=l[a],!(e.indexOf(t)>=0)&&(!Object.prototype.propertyIsEnumerable.call(n,t)||(r[t]=n[t]))}return r}function vt(n,e){if(n==null)return{};var r={},t=Object.keys(n),a,l;for(l=0;l<t.length;l++)a=t[l],!(e.indexOf(a)>=0)&&(r[a]=n[a]);return r}function fe(){return fe=Object.assign||function(n){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var t in r)Object.prototype.hasOwnProperty.call(r,t)&&(n[t]=r[t])}return n},fe.apply(this,arguments)}var mt=function(e){var r=e.tabList,t=e.tabActiveKey,a=e.onTabChange,l=e.tabBarExtraContent,v=e.tabProps,d=e.prefixedClassName;return r&&r.length?m.a.createElement(Ve.a,fe({className:"".concat(d,"-tabs"),activeKey:t,onChange:function(h){a&&a(h)},tabBarExtraContent:l},v),r.map(function(g,h){return m.a.createElement(Ve.a.TabPane,fe({},g,{tab:g.tab,key:g.key||h}))})):null},gt=function(e,r,t){return!e&&!r?null:m.a.createElement("div",{className:"".concat(t,"-detail")},m.a.createElement("div",{className:"".concat(t,"-main")},m.a.createElement("div",{className:"".concat(t,"-row")},e&&m.a.createElement("div",{className:"".concat(t,"-content")},e),r&&m.a.createElement("div",{className:"".concat(t,"-extraContent")},r))))},ht=function(e,r){var t,a,l,v=e.title,d=e.content,g=e.pageHeaderRender,h=e.header,p=e.extraContent,x=e.style,O=e.prefixCls,P=ut(e,["title","content","pageHeaderRender","header","extraContent","style","prefixCls"]);if(g===!1)return null;if(g)return g(Y(Y({},e),r));var j=v;!v&&v!==!1&&(j=r.title);var E=Y(Y(Y({},r),{},{title:j},P),{},{footer:mt(Y(Y({},P),{},{prefixedClassName:r.prefixedClassName}))},h);return!E.title&&!E.subTitle&&!((t=E.breadcrumb)===null||t===void 0?void 0:t.itemRender)&&!((a=E.breadcrumb)===null||a===void 0||(l=a.routes)===null||l===void 0?void 0:l.length)&&!E.extra&&!E.tags&&!E.footer&&!E.avatar&&!E.backIcon&&!d&&!p?null:m.a.createElement(it,fe({},E,{breadcrumb:Y(Y({},E.breadcrumb),E.breadcrumbProps),prefixCls:O}),(h==null?void 0:h.children)||gt(d,p,r.prefixedClassName))},Ot=function(e){var r=e.children,t=e.loading,a=e.style,l=e.footer,v=e.affixProps,d=e.ghost,g=e.fixedHeader,h=Object(f.useContext)(lt.a),p=Object(f.useContext)(Pe.b.ConfigContext),x=p.getPrefixCls,O=e.prefixCls||x("pro"),P="".concat(O,"-page-container"),j=A()(P,e.className,Je({},"".concat(O,"-page-container-ghost"),d)),E=r?m.a.createElement("div",null,m.a.createElement("div",{className:"".concat(P,"-children-content")},r),h.hasFooterToolbar&&m.a.createElement("div",{style:{height:48,marginTop:24}})):null,k=ht(e,Y(Y({},h),{},{prefixCls:void 0,prefixedClassName:P})),Q=k?m.a.createElement("div",{className:"".concat(P,"-warp")},k):null,de=function(){var F=t?m.a.createElement(ft.a,null):E;return e.waterMarkProps||h.waterMarkProps?m.a.createElement(dt.a,e.waterMarkProps||h.waterMarkProps,F):F};return m.a.createElement("div",{style:a,className:j},g&&Q?m.a.createElement(ie,fe({offsetTop:h.hasHeader&&h.fixedHeader?h.headerHeight:0},v),Q):Q,m.a.createElement(ct.a,null,de()),l&&m.a.createElement(st.a,{prefixCls:O},l))},yt=N.a=Ot},"u/V1":function(K,N,i){},yxHc:function(K,N,i){"use strict";var _=i("GNNt"),L=i("wEI+"),C=i("q1tI"),R=i.n(C),S=i("TSYQ"),U=i.n(S);function V(c,o){var s=Object.keys(c);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(c);o&&(u=u.filter(function(b){return Object.getOwnPropertyDescriptor(c,b).enumerable})),s.push.apply(s,u)}return s}function T(c){for(var o=1;o<arguments.length;o++){var s=arguments[o]!=null?arguments[o]:{};o%2?V(Object(s),!0).forEach(function(u){z(c,u,s[u])}):Object.getOwnPropertyDescriptors?Object.defineProperties(c,Object.getOwnPropertyDescriptors(s)):V(Object(s)).forEach(function(u){Object.defineProperty(c,u,Object.getOwnPropertyDescriptor(s,u))})}return c}function z(c,o,s){return o in c?Object.defineProperty(c,o,{value:s,enumerable:!0,configurable:!0,writable:!0}):c[o]=s,c}function f(c,o){return $(c)||q(c,o)||D(c,o)||m()}function m(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function D(c,o){if(!!c){if(typeof c=="string")return A(c,o);var s=Object.prototype.toString.call(c).slice(8,-1);if(s==="Object"&&c.constructor&&(s=c.constructor.name),s==="Map"||s==="Set")return Array.from(c);if(s==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return A(c,o)}}function A(c,o){(o==null||o>c.length)&&(o=c.length);for(var s=0,u=new Array(o);s<o;s++)u[s]=c[s];return u}function q(c,o){if(!(typeof Symbol=="undefined"||!(Symbol.iterator in Object(c)))){var s=[],u=!0,b=!1,M=void 0;try{for(var G=c[Symbol.iterator](),J;!(u=(J=G.next()).done)&&(s.push(J.value),!(o&&s.length===o));u=!0);}catch(H){b=!0,M=H}finally{try{!u&&G.return!=null&&G.return()}finally{if(b)throw M}}return s}}function $(c){if(Array.isArray(c))return c}var B=function(o){if(!o)return 1;var s=o.backingStorePixelRatio||o.webkitBackingStorePixelRatio||o.mozBackingStorePixelRatio||o.msBackingStorePixelRatio||o.oBackingStorePixelRatio||o.backingStorePixelRatio||1;return(window.devicePixelRatio||1)/s},X=function(o){var s=o.children,u=o.style,b=o.className,M=o.markStyle,G=o.markClassName,J=o.zIndex,H=J===void 0?9:J,ve=o.gapX,ee=ve===void 0?212:ve,te=o.gapY,y=te===void 0?222:te,oe=o.width,w=oe===void 0?120:oe,W=o.height,ie=W===void 0?64:W,se=o.rotate,Pe=se===void 0?-22:se,Ee=o.image,Ce=o.content,we=o.offsetLeft,_e=o.offsetTop,Le=o.fontStyle,xe=Le===void 0?"normal":Le,je=o.fontWeight,Te=je===void 0?"normal":je,me=o.fontColor,ge=me===void 0?"rgba(0,0,0,.15)":me,Re=o.fontSize,De=Re===void 0?16:Re,Ne=o.fontFamily,he=Ne===void 0?"sans-serif":Ne,Ue=o.prefixCls,We=Object(C.useContext)(L.b.ConfigContext),Ke=We.getPrefixCls,Be=Ke("pro-layout-watermark",Ue),He=U()("".concat(Be,"-wrapper"),b),Me=U()(Be,G),Ae=Object(C.useState)(""),Oe=f(Ae,2),Fe=Oe[0],be=Oe[1];return Object(C.useEffect)(function(){var le=document.createElement("canvas"),Z=le.getContext("2d"),re=B(Z),ze="".concat((ee+w)*re,"px"),$e="".concat((y+ie)*re,"px"),Se=we||ee/2,Ge=_e||y/2;if(le.setAttribute("width",ze),le.setAttribute("height",$e),Z){Z.translate(Se*re,Ge*re),Z.rotate(Math.PI/180*Number(Pe));var pe=w*re,Ie=ie*re;if(Ee){var ce=new Image;ce.crossOrigin="anonymous",ce.referrerPolicy="no-referrer",ce.src=Ee,ce.onload=function(){Z.drawImage(ce,0,0,pe,Ie),be(le.toDataURL())}}else if(Ce){var Ye=Number(De)*re;Z.font="".concat(xe," normal ").concat(Te," ").concat(Ye,"px/").concat(Ie,"px ").concat(he),Z.fillStyle=ge,Z.fillText(Ce,0,0),be(le.toDataURL())}}else console.error("\u5F53\u524D\u73AF\u5883\u4E0D\u652F\u6301Canvas")},[ee,y,we,_e,Pe,xe,Te,w,ie,he,ge,Ee,Ce,De]),R.a.createElement("div",{style:T({position:"relative"},u),className:He},s,R.a.createElement("div",{className:Me,style:T({zIndex:H,position:"absolute",left:0,top:0,width:"100%",height:"100%",backgroundSize:"".concat(ee+w,"px"),pointerEvents:"none",backgroundRepeat:"repeat",backgroundImage:"url('".concat(Fe,"')")},M)}))};N.a=X}}]);