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.
 
 
 

1 lines
6.0 KiB

"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[185],{5717:function(S,f){var r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"};f.Z=r},79893:function(S,f,r){r.r(f),r.d(f,{default:function(){return V}});var m=r(9361),u=r(67294),a=r(93967),d=r.n(a),h=r(98423),v=r(98065),p=r(53124),y=r(91945),x=r(45503);const b=["wrap","nowrap","wrap-reverse"],j=["flex-start","flex-end","start","end","center","space-between","space-around","space-evenly","stretch","normal","left","right"],F=["center","start","end","flex-start","flex-end","self-start","self-end","baseline","normal","stretch"],L=(t,n)=>{const o=n.wrap===!0?"wrap":n.wrap;return{[`${t}-wrap-${o}`]:o&&b.includes(o)}},l=(t,n)=>{const o={};return F.forEach(s=>{o[`${t}-align-${s}`]=n.align===s}),o[`${t}-align-stretch`]=!n.align&&!!n.vertical,o},e=(t,n)=>{const o={};return j.forEach(s=>{o[`${t}-justify-${s}`]=n.justify===s}),o};function c(t,n){return d()(Object.assign(Object.assign(Object.assign({},L(t,n)),l(t,n)),e(t,n)))}var E=c;const O=t=>{const{componentCls:n}=t;return{[n]:{display:"flex","&-vertical":{flexDirection:"column"},"&-rtl":{direction:"rtl"},"&:empty":{display:"none"}}}},$=t=>{const{componentCls:n}=t;return{[n]:{"&-gap-small":{gap:t.flexGapSM},"&-gap-middle":{gap:t.flexGap},"&-gap-large":{gap:t.flexGapLG}}}},D=t=>{const{componentCls:n}=t,o={};return b.forEach(s=>{o[`${n}-wrap-${s}`]={flexWrap:s}}),o},I=t=>{const{componentCls:n}=t,o={};return F.forEach(s=>{o[`${n}-align-${s}`]={alignItems:s}}),o},B=t=>{const{componentCls:n}=t,o={};return j.forEach(s=>{o[`${n}-justify-${s}`]={justifyContent:s}}),o},A=()=>({});var G=(0,y.I$)("Flex",t=>{const{paddingXS:n,padding:o,paddingLG:s}=t,i=(0,x.TS)(t,{flexGapSM:n,flexGap:o,flexGapLG:s});return[O(i),$(i),D(i),I(i),B(i)]},A,{resetStyle:!1}),H=function(t,n){var o={};for(var s in t)Object.prototype.hasOwnProperty.call(t,s)&&n.indexOf(s)<0&&(o[s]=t[s]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,s=Object.getOwnPropertySymbols(t);i<s.length;i++)n.indexOf(s[i])<0&&Object.prototype.propertyIsEnumerable.call(t,s[i])&&(o[s[i]]=t[s[i]]);return o},R=u.forwardRef((t,n)=>{const{prefixCls:o,rootClassName:s,className:i,style:U,flex:W,gap:w,children:K,vertical:P=!1,component:X="div"}=t,J=H(t,["prefixCls","rootClassName","className","style","flex","gap","children","vertical","component"]),{flex:g,direction:Y,getPrefixCls:Q}=u.useContext(p.E_),C=Q("flex",o),[_,k,q]=G(C),tt=P!=null?P:g==null?void 0:g.vertical,et=d()(i,s,g==null?void 0:g.className,C,k,q,E(C,t),{[`${C}-rtl`]:Y==="rtl",[`${C}-gap-${w}`]:(0,v.n)(w),[`${C}-vertical`]:tt}),T=Object.assign(Object.assign({},g==null?void 0:g.style),U);return W&&(T.flex=W),w&&!(0,v.n)(w)&&(T.gap=w),_(u.createElement(X,Object.assign({ref:n,className:et,style:T},(0,h.Z)(J,["justify","wrap","align"])),K))}),z=r(55060),Z=r.p+"static/welcome.793d2d05.jpeg",M=r(85893),N=function(){var n=m.Z.useToken(),o=n.token;return(0,M.jsxs)(R,{align:"center",justify:"center",vertical:!0,style:{width:"100%",backgroundColor:"white",padding:20},children:[(0,M.jsx)(z.Z,{preview:!1,width:300,src:Z}),(0,M.jsx)("p",{style:{marginTop:20,fontSize:20,color:o.colorTextBase},children:"\u6B22\u8FCE\u4F7F\u7528Magic\u540E\u53F0\u7BA1\u7406\u7CFB\u7EDF"})]})},V=N},1208:function(S,f,r){var m=r(87462),u=r(67294),a=r(5717),d=r(93771),h=function(y,x){return u.createElement(d.Z,(0,m.Z)({},y,{ref:x,icon:a.Z}))},v=u.forwardRef(h);f.Z=v},64019:function(S,f,r){r.d(f,{Z:function(){return u}});var m=r(73935);function u(a,d,h,v){var p=m.unstable_batchedUpdates?function(x){m.unstable_batchedUpdates(h,x)}:h;return a!=null&&a.addEventListener&&a.addEventListener(d,p,v),{remove:function(){a!=null&&a.removeEventListener&&a.removeEventListener(d,p,v)}}}},27678:function(S,f,r){r.d(f,{g1:function(){return j},os:function(){return L}});var m=/margin|padding|width|height|max|min|offset/,u={left:!0,top:!0},a={cssFloat:1,styleFloat:1,float:1};function d(l){return l.nodeType===1?l.ownerDocument.defaultView.getComputedStyle(l,null):{}}function h(l,e,c){if(e=e.toLowerCase(),c==="auto"){if(e==="height")return l.offsetHeight;if(e==="width")return l.offsetWidth}return e in u||(u[e]=m.test(e)),u[e]?parseFloat(c)||0:c}function v(l,e){var c=arguments.length,E=d(l);return e=a[e]?"cssFloat"in l.style?"cssFloat":"styleFloat":e,c===1?E:h(l,e,E[e]||l.style[e])}function p(l,e,c){var E=arguments.length;if(e=a[e]?"cssFloat"in l.style?"cssFloat":"styleFloat":e,E===3)return typeof c=="number"&&m.test(e)&&(c="".concat(c,"px")),l.style[e]=c,c;for(var O in e)e.hasOwnProperty(O)&&p(l,O,e[O]);return d(l)}function y(l){return l===document.body?document.documentElement.clientWidth:l.offsetWidth}function x(l){return l===document.body?window.innerHeight||document.documentElement.clientHeight:l.offsetHeight}function b(){var l=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),e=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:l,height:e}}function j(){var l=document.documentElement.clientWidth,e=window.innerHeight||document.documentElement.clientHeight;return{width:l,height:e}}function F(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function L(l){var e=l.getBoundingClientRect(),c=document.documentElement;return{left:e.left+(window.pageXOffset||c.scrollLeft)-(c.clientLeft||document.body.clientLeft||0),top:e.top+(window.pageYOffset||c.scrollTop)-(c.clientTop||document.body.clientTop||0)}}}}]);