text: (window.webpackJsonp=window.webpackJsonp||[]).push([[7],{486:function(e,t,n){"use strict";var o=n(3),i=n.n(o),s=n(4),r=n.n(s),a=n(9),l=n.n(a),p=n(5),c=n.n(p),f=n(7),u=n.n(f),h=n(2),d=n.n(h),m=n(0),y=n.n(m),g=n(124),v=n(21),b=n.n(v),C=n(1),O=n.n(C),w=n(479),x={adjustX:1,adjustY:1},T=[0,0],P={left:{points:["cr","cl"],overflow:x,offset:[-4,0],targetOffset:T},right:{points:["cl","cr"],overflow:x,offset:[4,0],targetOffset:T},top:{points:["bc","tc"],overflow:x,offset:[0,-4],targetOffset:T},bottom:{points:["tc","bc"],overflow:x,offset:[0,4],targetOffset:T},topLeft:{points:["bl","tl"],overflow:x,offset:[0,-4],targetOffset:T},leftTop:{points:["tr","tl"],overflow:x,offset:[-4,0],targetOffset:T},topRight:{points:["br","tr"],overflow:x,offset:[0,-4],targetOffset:T},rightTop:{points:["tl","tr"],overflow:x,offset:[4,0],targetOffset:T},bottomRight:{points:["tr","br"],overflow:x,offset:[0,4],targetOffset:T},rightBottom:{points:["bl","br"],overflow:x,offset:[4,0],targetOffset:T},bottomLeft:{points:["tl","bl"],overflow:x,offset:[0,4],targetOffset:T},leftBottom:{points:["br","bl"],overflow:x,offset:[-4,0],targetOffset:T}},k=function(e){function t(){return r()(this,t),c()(this,e.apply(this,arguments))}return u()(t,e),t.prototype.componentDidUpdate=function(){var e=this.props.trigger;e&&e.forcePopupAlign()},t.prototype.render=function(){var e=this.props,t=e.overlay,n=e.prefixCls,o=e.id;return y.a.createElement("div",{className:n+"-inner",id:o,role:"tooltip"},"function"===typeof t?t():t)},t}(y.a.Component);k.propTypes={prefixCls:O.a.string,overlay:O.a.oneOfType([O.a.node,O.a.func]).isRequired,id:O.a.string,trigger:O.a.any};var N=k,E=function(e){function t(){var n,o,i;r()(this,t);for(var s=arguments.length,a=Array(s),l=0;l<s;l++)a[l]=arguments[l];return n=o=c()(this,e.call.apply(e,[this].concat(a))),o.getPopupElement=function(){var e=o.props,t=e.arrowContent,n=e.overlay,i=e.prefixCls,s=e.id;return[y.a.createElement("div",{className:i+"-arrow",key:"arrow"},t),y.a.createElement(N,{key:"content",trigger:o.trigger,prefixCls:i,id:s,overlay:n})]},o.saveTrigger=function(e){o.trigger=e},i=n,c()(o,i)}return u()(t,e),t.prototype.getPopupDomNode=function(){return this.trigger.getPopupDomNode()},t.prototype.render=function(){var e=this.props,t=e.overlayClassName,n=e.trigger,o=e.mouseEnterDelay,i=e.mouseLeaveDelay,s=e.overlayStyle,r=e.prefixCls,a=e.children,l=e.onVisibleChange,p=e.afterVisibleChange,c=e.transitionName,f=e.animation,u=e.placement,h=e.align,m=e.destroyTooltipOnHide,g=e.defaultVisible,v=e.getTooltipContainer,C=b()(e,["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer"]),O=d()({},C);return"visible"in this.props&&(O.popupVisible=this.props.visible),y.a.createElement(w.a,d()({popupClassName:t,ref:this.saveTrigger,prefixCls:r,popup:this.getPopupElement,action:n,builtinPlacements:P,popupPlacement:u,popupAlign:h,getPopupContainer:v,onPopupVisibleChange:l,afterPopupVisibleChange:p,popupTransitionName:c,popupAnimation:f,defaultPopupVisible:g,destroyPopupOnHide:m,mouseLeaveDelay:i,popupStyle:s,mouseEnterDelay:o},O),a)},t}(m.Component);E.propTypes={trigger:O.a.any,children:O.a.any,defaultVisible:O.a.bool,visible:O.a.bool,placement:O.a.string,transitionName:O.a.oneOfType([O.a.string,O.a.object]),animation:O.a.any,onVisibleChange:O.a.func,afterVisibleChange:O.a.func,overlay:O.a.oneOfType([O.a.node,O.a.func]).isRequired,overlayStyle:O.a.object,overlayClassName:O.a.string,prefixCls:O.a.string,mouseEnterDelay:O.a.number,mouseLeaveDelay:O.a.number,getTooltipContainer:O.a.func,destroyTooltipOnHide:O.a.bool,align:O.a.object,arrowContent:O.a.any,id:O.a.string},E.defaultProps={prefixCls:"rc-tooltip",mouseEnterDelay:0,destroyTooltipOnHide:!1,mouseLeaveDelay:.1,align:{},placement:"right",trigger:["hover"],arrowContent:null};var j=E,K=n(12),M=n.n(K),D={adjustX:1,adjustY:1},I={adjustX:0,adjustY:0},S=[0,0];function A(e){return"boolean"===typeof e?e?D:I:d()({},I,e)}var V=function(e){function t(e){r()(this,t);var n=c()(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.onVisibleChange=function(e){var t=n.props.onVisibleChange;"visible"in n.props||n.setState({visible:!n.isNoTitle()&&e}),t&&!n.isNoTitle()&&t(e)},n.onPopupAlign=function(e,t){var o=n.getPlacements(),i=Object.keys(o).filter(function(e){return o[e].points[0]===t.points[0]&&o[e].points[1]===t.points[1]})[0];if(i){var s=e.getBoundingClientRect(),r={top:"50%",left:"50%"};i.indexOf("top")>=0||i.indexOf("Bottom")>=0?r.top=s.height-t.offset[1]+"px":(i.indexOf("Top")>=0||i.indexOf("bottom")>=0)&&(r.top=-t.offset[1]+"px"),i.indexOf("left")>=0||i.indexOf("Right")>=0?r.left=s.width-t.offset[0]+"px":(i.indexOf("right")>=0||i.indexOf("Left")>=0)&&(r.left=-t.offset[0]+"px"),e.style.transformOrigin=r.left+" "+r.top}},n.saveTooltip=function(e){n.tooltip=e},n.state={visible:!!e.visible||!!e.defaultVisible},n}return u()(t,e),l()(t,[{key:"getPopupDomNode",value:function(){return this.tooltip.getPopupDomNode()}},{key:"getPlacements",value:function(){var e=this.props,t=e.builtinPlacements,n=e.arrowPointAtCenter,o=e.autoAdjustOverflow;return t||function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.arrowWidth,n=void 0===t?5:t,o=e.horizontalArrowShift,i=void 0===o?16:o,s=e.verticalArrowShift,r=void 0===s?12:s,a=e.autoAdjustOverflow,l=void 0===a||a,p={left:{points:["cr","cl"],offset:[-4,0]},right:{points:["cl","cr"],offset:[4,0]},top:{points:["bc","tc"],offset:[0,-4]},bottom:{points:["tc","bc"],offset:[0,4]},topLeft:{points:["bl","tc"],offset:[-(i+n),-4]},leftTop:{points:["tr","cl"],offset:[-4,-(r+n)]},topRight:{points:["br","tc"],offset:[i+n,-4]},rightTop:{points:["tl","cr"],offset:[4,-(r+n)]},bottomRight:{points:["tr","bc"],offset:[i+n,4]},rightBottom:{points:["bl","cr"],offset:[4,r+n]},bottomLeft:{points:["tl","bc"],offset:[-(i+n),4]},leftBottom:{points:["br","cl"],offset:[-4,r+n]}};return Object.keys(p).forEach(function(t){p[t]=e.arrowPointAtCenter?d()({},p[t],{overflow:A(l),targetOffset:S}):d()({},P[t],{overflow:A(l)}),p[t].ignoreShake=!0}),p}({arrowPointAtCenter:n,verticalArrowShift:8,autoAdjustOverflow:o})}},{key:"getDisabledCompatibleChildren",value:function(e){if((e.type.__ANT_BUTTON||"button"===e.type)&&e.props.disabled){var t=function(e,t){var n={},o=d()({},e);return t.forEach(function(t){e&&t in e&&(n[t]=e[t],delete o[t])}),{picked:n,omitted:o}}(e.props.style,["position","left","right","top","bottom","float","display","zIndex"]),n=t.picked,o=t.omitted,i=d()({display:"inline-block"},n,{cursor:"not-allowed"}),s=d()({},o,{pointerEvents:"none"}),r=Object(m.cloneElement)(e,{style:s,className:null});return m.createElement("span",{style:i,className:e.props.className},r)}return e}},{key:"isNoTitle",value:function(){var e=this.props,t=e.title,n=e.overlay;return!t&&!n}},{key:"render",value:function(){var e=this.props,t=this.state,n=e.prefixCls,o=e.title,s=e.overlay,r=e.openClassName,a=e.getPopupContainer,l=e.getTooltipContainer,p=e.children,c=t.visible;"visible"in e||!this.isNoTitle()||(c=!1);var f=this.getDisabledCompatibleChildren(m.isValidElement(p)?p:m.createElement("span",null,p)),u=f.props,h=M()(u.className,i()({},r||n+"-open",!0));return m.createElement(j,d()({},this.props,{getTooltipContainer:a||l,ref:this.saveTooltip,builtinPlacements:this.getPlacements(),overlay:s||o||"",visible:c,onVisibleChange:this.onVisibleChange,onPopupAlign:this.onPopupAlign}),c?Object(m.cloneElement)(f,{className:h}):f)}}],[{key:"getDerivedStateFromProps",value:function(e){return"visible"in e?{visible:e.visible}:null}}]),t}(m.Component);V.defaultProps={prefixCls:"ant-tooltip",placement:"top",transitionName:"zoom-big-fast",mouseEnterDelay:.1,mouseLeaveDelay:.1,arrowPointAtCenter:!1,autoAdjustOverflow:!0},Object(g.polyfill)(V);t.a=V},488:function(e,t,n){"use strict";var o=n(2),i=n.n(o),s=n(3),r=n.n(s),a=n(4),l=n.n(a),p=n(9),c=n.n(p),f=n(5),u=n.n(f),h=n(7),d=n.n(h),m=n(0),y=n(476),g=n(1),v=n(12),b=n.n(v),C=n(83),O=n(81),w=n.n(O);function x(e,t,n){var o=void 0,i=void 0;return Object(C.a)(e,"ant-motion-collapse",{start:function(){t?(o=e.offsetHeight,e.style.height="0px",e.style.opacity="0"):(e.style.height=e.offsetHeight+"px",e.style.opacity="1")},active:function(){i&&w.a.cancel(i),i=w()(function(){e.style.height=(t?o:0)+"px",e.style.opacity=t?"1":"0"})},end:function(){i&&w.a.cancel(i),e.style.height="",e.style.opacity="",n()}})}var T={enter:function(e,t){return x(e,!0,t)},leave:function(e,t){return x(e,!1,t)},appear:function(e,t){return x(e,!0,t)}},P=n(27),k=function(e){function t(){l()(this,t);var e=u()(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return e.onKeyDown=function(t){e.subMenu.onKeyDown(t)},e.saveSubMenu=function(t){e.subMenu=t},e}return d()(t,e),c()(t,[{key:"render",value:function(){var e=this.props,t=e.rootPrefixCls,n=e.className,o=this.context.antdMenuTheme;return m.createElement(y.d,i()({},this.props,{ref:this.saveSubMenu,popupClassName:b()(t+"-"+o,n)}))}}]),t}(m.Component);k.contextTypes={antdMenuTheme:g.string},k.isSubMenu=1;var N=k,E=n(486),j=function(e){function t(){l()(this,t);var e=u()(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return e.onKeyDown=function(t){e.menuItem.onKeyDown(t)},e.saveMenuItem=function(t){e.menuItem=t},e}return d()(t,e),c()(t,[{key:"render",value:function(){var e=this.context.inlineCollapsed,t=this.props;return m.createElement(E.a,{title:e&&1===t.level?t.children:"",placement:"right",overlayClassName:t.rootPrefixCls+"-inline-collapsed-tooltip"},m.createElement(y.b,i()({},t,{ref:this.saveMenuItem})))}}]),t}(m.Component);j.contextTypes={inlineCollapsed:g.bool},j.isMenuItem=1;var K=j,M=function(e){function t(e){l()(this,t);var n=u()(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));n.inlineOpenKeys=[],n.handleTransitionEnd=function(e){var t="width"===e.propertyName&&e.target===e.currentTarget,o="font-size"===e.propertyName&&e.target.className.indexOf("anticon")>=0;(t||o)&&n.restoreModeVerticalFromInline()},n.handleClick=function(e){n.handleOpenChange([]);var t=n.props.onClick;t&&t(e)},n.handleOpenChange=function(e){n.setOpenKeys(e);var t=n.props.onOpenChange;t&&t(e)},Object(P.a)(!("onOpen"in e||"onClose"in e),"`onOpen` and `onClose` are removed, please use `onOpenChange` instead, see: https://u.ant.design/menu-on-open-change."),Object(P.a)(!("inlineCollapsed"in e&&"inline"!==e.mode),"`inlineCollapsed` should only be used when Menu's `mode` is inline.");var o=void 0;return"openKeys"in e?o=e.openKeys:"defaultOpenKeys"in e&&(o=e.defaultOpenKeys),n.state={openKeys:o||[]},n}return d()(t,e),c()(t,[{key:"getChildContext",value:function(){return{inlineCollapsed:this.getInlineCollapsed(),antdMenuTheme:this.props.theme}}},{key:"componentWillReceiveProps",value:function(e,t){"inline"===this.props.mode&&"inline"!==e.mode&&(this.switchingModeFromInline=!0),"openKeys"in e?this.setState({openKeys:e.openKeys}):((e.inlineCollapsed&&!this.props.inlineCollapsed||t.siderCollapsed&&!this.context.siderCollapsed)&&(this.switchingModeFromInline=!0,this.inlineOpenKeys=this.state.openKeys,this.setState({openKeys:[]})),(!e.inlineCollapsed&&this.props.inlineCollapsed||!t.siderCollapsed&&this.context.siderCollapsed)&&(this.setState({openKeys:this.inlineOpenKeys}),this.inlineOpenKeys=[]))}},{key:"restoreModeVerticalFromInline",value:function(){this.switchingModeFromInline&&(this.switchingModeFromInline=!1,this.setState({}))}},{key:"setOpenKeys",value:function(e){"openKeys"in this.props||this.setState({openKeys:e})}},{key:"getRealMenuMode",value:function(){var e=this.getInlineCollapsed();if(this.switchingModeFromInline&&e)return"inline";var t=this.props.mode;return e?"vertical":t}},{key:"getInlineCollapsed",value:function(){var e=this.props.inlineCollapsed;return void 0!==this.context.siderCollapsed?this.context.siderCollapsed:e}},{key:"getMenuOpenAnimation",value:function(e){var t=this.props,n=t.openAnimation,o=t.openTransitionName,i=n||o;if(void 0===n&&void 0===o)switch(e){case"horizontal":i="slide-up";break;case"vertical":case"vertical-left":case"vertical-right":this.switchingModeFromInline?(i="",this.switchingModeFromInline=!1):i="zoom-big";break;case"inline":i=T}return i}},{key:"render",value:function(){var e=this.props,t=e.prefixCls,n=e.className,o=e.theme,s=this.getRealMenuMode(),a=this.getMenuOpenAnimation(s),l=b()(n,t+"-"+o,r()({},t+"-inline-collapsed",this.getInlineCollapsed())),p={openKeys:this.state.openKeys,onOpenChange:this.handleOpenChange,className:l,mode:s};"inline"!==s?(p.onClick=this.handleClick,p.openTransitionName=a):p.openAnimation=a;var c=this.context.collapsedWidth;return!this.getInlineCollapsed()||0!==c&&"0"!==c&&"0px"!==c?m.createElement(y.e,i()({},this.props,p,{onTransitionEnd:this.handleTransitionEnd})):null}}]),t}(m.Component);t.a=M;M.Divider=y.a,M.Item=K,M.SubMenu=N,M.ItemGroup=y.c,M.defaultProps={prefixCls:"ant-menu",className:"",theme:"light",focusable:!1},M.childContextTypes={inlineCollapsed:g.bool,antdMenuTheme:g.string},M.contextTypes={siderCollapsed:g.bool,collapsedWidth:g.oneOfType([g.number,g.string])}},516:function(e,t,n){"use strict";var o={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},s=Object.defineProperty,r=Object.getOwnPropertyNames,a=Object.getOwnPropertySymbols,l=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,c=p&&p(Object);e.exports=function e(t,n,f){if("string"!==typeof n){if(c){var u=p(n);u&&u!==c&&e(t,u,f)}var h=r(n);a&&(h=h.concat(a(n)));for(var d=0;d<h.length;++d){var m=h[d];if(!o[m]&&!i[m]&&(!f||!f[m])){var y=l(n,m);try{s(t,m,y)}catch(g){}}}return t}return t}},85:function(e,t,n){"use strict";n.r(t);var o=n(40),i=n(41),s=n(43),r=n(42),a=n(44),l=n(0),p=n.n(l),c=n(28),f=n(488),u=n(79),h=n(601),d=f.a.SubMenu,m=function(e){function t(e){var n;return Object(o.a)(this,t),(n=Object(s.a)(this,Object(r.a)(t).call(this,e))).handleClick=function(e){n.setState({selectKeys:[e.key]}),n.props.history.push(e.key)},n.state={collapsed:!1,selectKeys:[n.props.history.location.pathname]||null},n}return Object(a.a)(t,e),Object(i.a)(t,[{key:"render",value:function(){return p.a.createElement(f.a,{onClick:this.handleClick,collapsed:this.props.collapsed,theme:"dark",defaultSelectedKeys:["/proxy"],selectedKeys:this.state.selectKeys,mode:"inline"},p.a.createElement(f.a.Item,{key:"/domain"},p.a.createElement(u.a,{type:"desktop"}),p.a.createElement("span",null,"\u57df\u540d\u7ba1\u7406")),p.a.createElement(d,{key:"sub1",title:p.a.createElement("span",null,p.a.createElement(u.a,{type:"user"}),p.a.createElement("span",null,"\u7cfb\u7edf\u8bbe\u7f6e"))},p.a.createElement(f.a.Item,{key:"3"},"\u7528\u6237\u7ba1\u7406"),p.a.createElement(f.a.Item,{key:"4"},"\u89d2\u8272\u7ba1\u7406"),p.a.createElement(f.a.Item,{key:"5"},"\u6388\u6743")))}}]),t}(l.Component);t.default=Object(c.connect)(function(e){return e},function(e){return{}})(Object(h.a)(m))}}]);
  //# sourceMappingURL=7.a6453090.chunk.js.map