text: (self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[6989],{99165:function(J,S,i){"use strict";i.d(S,{Z:function(){return p}});var v=i(28991),h=i(67294),l={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z"}}]},name:"copy",theme:"outlined"},$=l,K=i(27029),Z=function(M,E){return h.createElement(K.Z,(0,v.Z)((0,v.Z)({},M),{},{ref:E,icon:$}))};Z.displayName="CopyOutlined";var p=h.forwardRef(Z)},8212:function(J,S,i){"use strict";i.d(S,{Z:function(){return p}});var v=i(28991),h=i(67294),l={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M257.7 752c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89zM880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32z"}}]},name:"edit",theme:"outlined"},$=l,K=i(27029),Z=function(M,E){return h.createElement(K.Z,(0,v.Z)((0,v.Z)({},M),{},{ref:E,icon:$}))};Z.displayName="EditOutlined";var p=h.forwardRef(Z)},47828:function(){},34952:function(J,S,i){"use strict";var v=i(22122),h=i(67294),l=i(15105),$=function(p,g){var M={};for(var E in p)Object.prototype.hasOwnProperty.call(p,E)&&g.indexOf(E)<0&&(M[E]=p[E]);if(p!=null&&typeof Object.getOwnPropertySymbols=="function")for(var R=0,E=Object.getOwnPropertySymbols(p);R<E.length;R++)g.indexOf(E[R])<0&&Object.prototype.propertyIsEnumerable.call(p,E[R])&&(M[E[R]]=p[E[R]]);return M},K={border:0,background:"transparent",padding:0,lineHeight:"inherit",display:"inline-block"},Z=h.forwardRef(function(p,g){var M=function(V){var _=V.keyCode;_===l.Z.ENTER&&V.preventDefault()},E=function(V){var _=V.keyCode,te=p.onClick;_===l.Z.ENTER&&te&&te()},R=p.style,W=p.noStyle,C=p.disabled,B=$(p,["style","noStyle","disabled"]),F={};return W||(F=(0,v.Z)({},K)),C&&(F.pointerEvents="none"),F=(0,v.Z)((0,v.Z)({},F),R),h.createElement("div",(0,v.Z)({role:"button",tabIndex:0,ref:g},B,{onKeyDown:M,onKeyUp:E,style:F}))});S.Z=Z},59289:function(J,S,i){"use strict";i.d(S,{Z:function(){return st}});var v=i(22122),h=i(96156),l=i(67294),$=i(94184),K=i.n($),Z=i(42550),p=i(65632),g=i(21687),M=function(n,r){var a={};for(var e in n)Object.prototype.hasOwnProperty.call(n,e)&&r.indexOf(e)<0&&(a[e]=n[e]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var t=0,e=Object.getOwnPropertySymbols(n);t<e.length;t++)r.indexOf(e[t])<0&&Object.prototype.propertyIsEnumerable.call(n,e[t])&&(a[e[t]]=n[e[t]]);return a},E=function(r,a){var e=r.prefixCls,t=r.component,o=t===void 0?"article":t,s=r.className,d=r["aria-label"],c=r.setContentRef,f=r.children,y=M(r,["prefixCls","component","className","aria-label","setContentRef","children"]),u=a;return c&&((0,g.Z)(!1,"Typography","`setContentRef` is deprecated. Please use `ref` instead."),u=(0,Z.sQ)(a,c)),l.createElement(p.C,null,function(x){var T=x.getPrefixCls,U=x.direction,D=o,L=T("typography",e),G=K()(L,(0,h.Z)({},"".concat(L,"-rtl"),U==="rtl"),s);return l.createElement(D,(0,v.Z)({className:G,"aria-label":d,ref:u},y),f)})},R=l.forwardRef(E);R.displayName="Typography";var W=R,C=W,B=i(90484),F=i(98423),k=i(85061),V=i(6610),_=i(5991),te=i(10379),xe=i(44144),ae=i(50344),be=i(20640),Oe=i.n(be),Se=i(8212),Ze=i(79508),Te=i(99165),Pe=i(4084),Ne=i(88182),Re=i(42051),ve=i(34952),ie=i(32637),ye=i(79370),oe=i(69713),De=i(28481),he=i(15105),me=i(28991),Le={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 170h-60c-4.4 0-8 3.6-8 8v518H310v-73c0-6.7-7.8-10.5-13-6.3l-141.9 112a8 8 0 000 12.6l141.9 112c5.3 4.2 13 .4 13-6.3v-75h498c35.3 0 64-28.7 64-64V178c0-4.4-3.6-8-8-8z"}}]},name:"enter",theme:"outlined"},we=Le,Ie=i(27029),ge=function(r,a){return l.createElement(Ie.Z,(0,me.Z)((0,me.Z)({},r),{},{ref:a,icon:we}))};ge.displayName="EnterOutlined";var Me=l.forwardRef(ge),Ae=i(45839),je=function(r){var a=r.prefixCls,e=r["aria-label"],t=r.className,o=r.style,s=r.direction,d=r.maxLength,c=r.autoSize,f=c===void 0?!0:c,y=r.value,u=r.onSave,x=r.onCancel,T=r.onEnd,U=l.useRef(),D=l.useRef(!1),L=l.useRef(),G=l.useState(y),X=(0,De.Z)(G,2),H=X[0],m=X[1];l.useEffect(function(){m(y)},[y]),l.useEffect(function(){if(U.current&&U.current.resizableTextArea){var I=U.current.resizableTextArea.textArea;I.focus();var N=I.value.length;I.setSelectionRange(N,N)}},[]);var b=function(N){var w=N.target;m(w.value.replace(/[\n\r]/g,""))},O=function(){D.current=!0},z=function(){D.current=!1},A=function(N){var w=N.keyCode;D.current||(L.current=w)},Q=function(){u(H.trim())},q=function(N){var w=N.keyCode,de=N.ctrlKey,pe=N.altKey,ue=N.metaKey,fe=N.shiftKey;L.current===w&&!D.current&&!de&&!pe&&!ue&&!fe&&(w===he.Z.ENTER?(Q(),T==null||T()):w===he.Z.ESC&&x())},j=function(){Q()},Y=K()(a,"".concat(a,"-edit-content"),(0,h.Z)({},"".concat(a,"-rtl"),s==="rtl"),t);return l.createElement("div",{className:Y,style:o},l.createElement(Ae.Z,{ref:U,maxLength:d,value:H,onChange:b,onKeyDown:A,onKeyUp:q,onCompositionStart:O,onCompositionEnd:z,onBlur:j,"aria-label":e,autoSize:f}),l.createElement(Me,{className:"".concat(a,"-edit-content-confirm")}))},Ke=je,le=i(73935),ke=1,Ue=3,ze=8,P,se={padding:0,margin:0,display:"inline",lineHeight:"inherit"};function Be(n){var r=Array.prototype.slice.apply(n);return r.map(function(a){return"".concat(a,": ").concat(n.getPropertyValue(a),";")}).join("")}function He(n){var r=[];return n.forEach(function(a){var e=r[r.length-1];typeof a=="string"&&typeof e=="string"?r[r.length-1]+=a:r.push(a)}),r}function Ee(n,r){n.setAttribute("aria-hidden","true");var a=window.getComputedStyle(r),e=Be(a);n.setAttribute("style",e),n.style.position="fixed",n.style.left="0",n.style.height="auto",n.style.minHeight="auto",n.style.maxHeight="auto",n.style.paddingTop="0",n.style.paddingBottom="0",n.style.borderTopWidth="0",n.style.borderBottomWidth="0",n.style.top="-999999px",n.style.zIndex="-1000",n.style.textOverflow="clip",n.style.whiteSpace="normal",n.style.webkitLineClamp="none"}function $e(n){var r=document.createElement("div");Ee(r,n),r.appendChild(document.createTextNode("text")),document.body.appendChild(r);var a=r.getBoundingClientRect().height;return document.body.removeChild(r),a}var We=function(n,r,a,e,t){P||(P=document.createElement("div"),P.setAttribute("aria-hidden","true")),P.parentNode||document.body.appendChild(P);var o=r.rows,s=r.suffix,d=s===void 0?"":s,c=$e(n),f=Math.round(c*o*100)/100;Ee(P,n);var y=He((0,ae.Z)(a));(0,le.render)(l.createElement("div",{style:se},l.createElement("span",{style:se},y,d),l.createElement("span",{style:se},e)),P);function u(){var m=Math.round(P.getBoundingClientRect().height*100)/100;return m-.1<=f}if(u())return(0,le.unmountComponentAtNode)(P),{content:a,text:P.innerHTML,ellipsis:!1};var x=Array.prototype.slice.apply(P.childNodes[0].childNodes[0].cloneNode(!0).childNodes).filter(function(m){var b=m.nodeType;return b!==ze}),T=Array.prototype.slice.apply(P.childNodes[0].childNodes[1].cloneNode(!0).childNodes);(0,le.unmountComponentAtNode)(P);var U=[];P.innerHTML="";var D=document.createElement("span");P.appendChild(D);var L=document.createTextNode(t+d);D.appendChild(L),T.forEach(function(m){P.appendChild(m)});function G(m){D.insertBefore(m,L)}function X(m,b){var O=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,z=arguments.length>3&&arguments[3]!==void 0?arguments[3]:b.length,A=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0,Q=Math.floor((O+z)/2),q=b.slice(0,Q);if(m.textContent=q,O>=z-1)for(var j=z;j>=O;j-=1){var Y=b.slice(0,j);if(m.textContent=Y,u()||!Y)return j===b.length?{finished:!1,reactNode:b}:{finished:!0,reactNode:Y}}return u()?X(m,b,Q,z,Q):X(m,b,O,Q,A)}function H(m,b){var O=m.nodeType;if(O===ke)return G(m),u()?{finished:!1,reactNode:y[b]}:(D.removeChild(m),{finished:!0,reactNode:null});if(O===Ue){var z=m.textContent||"",A=document.createTextNode(z);return G(A),X(A,z)}return{finished:!1,reactNode:null}}return x.some(function(m,b){var O=H(m,b),z=O.finished,A=O.reactNode;return A&&U.push(A),z}),{content:U,text:P.innerHTML,ellipsis:!0}},Fe=function(n,r){var a={};for(var e in n)Object.prototype.hasOwnProperty.call(n,e)&&r.indexOf(e)<0&&(a[e]=n[e]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var t=0,e=Object.getOwnPropertySymbols(n);t<e.length;t++)r.indexOf(e[t])<0&&Object.prototype.propertyIsEnumerable.call(n,e[t])&&(a[e[t]]=n[e[t]]);return a},Ve=(0,ye.G)("webkitLineClamp"),Ge=(0,ye.G)("textOverflow");function Xe(n,r){var a=n.mark,e=n.code,t=n.underline,o=n.delete,s=n.strong,d=n.keyboard,c=n.italic,f=r;function y(u,x){!u||(f=l.createElement(x,{},f))}return y(s,"strong"),y(t,"u"),y(o,"del"),y(e,"code"),y(a,"mark"),y(d,"kbd"),y(c,"i"),f}function ne(n,r,a){return n===!0||n===void 0?r:n||a&&r}var Ce="...",ce=function(n){(0,te.Z)(a,n);var r=(0,xe.Z)(a);function a(){var e;return(0,V.Z)(this,a),e=r.apply(this,arguments),e.contentRef=l.createRef(),e.state={edit:!1,copied:!1,ellipsisText:"",ellipsisContent:null,isEllipsis:!1,expanded:!1,clientRendered:!1},e.getPrefixCls=function(){var t=e.props.prefixCls,o=e.context.getPrefixCls;return o("typography",t)},e.onExpandClick=function(t){var o,s=e.getEllipsis(),d=s.onExpand;e.setState({expanded:!0}),(o=d)===null||o===void 0||o(t)},e.onEditClick=function(t){t.preventDefault(),e.triggerEdit(!0)},e.onEditChange=function(t){var o=e.getEditable(),s=o.onChange;s==null||s(t),e.triggerEdit(!1)},e.onEditCancel=function(){var t,o;(o=(t=e.getEditable()).onCancel)===null||o===void 0||o.call(t),e.triggerEdit(!1)},e.onCopyClick=function(t){t.preventDefault();var o=e.props,s=o.children,d=o.copyable,c=(0,v.Z)({},(0,B.Z)(d)==="object"?d:null);c.text===void 0&&(c.text=String(s)),Oe()(c.text||""),e.setState({copied:!0},function(){c.onCopy&&c.onCopy(),e.copyId=window.setTimeout(function(){e.setState({copied:!1})},3e3)})},e.setEditRef=function(t){e.editIcon=t},e.triggerEdit=function(t){var o=e.getEditable(),s=o.onStart;t&&s&&s(),e.setState({edit:t},function(){!t&&e.editIcon&&e.editIcon.focus()})},e.resizeOnNextFrame=function(){ie.Z.cancel(e.rafId),e.rafId=(0,ie.Z)(function(){e.syncEllipsis()})},e}return(0,_.Z)(a,[{key:"componentDidMount",value:function(){this.setState({clientRendered:!0}),this.resizeOnNextFrame()}},{key:"componentDidUpdate",value:function(t){var o=this.props.children,s=this.getEllipsis(),d=this.getEllipsis(t);(o!==t.children||s.rows!==d.rows)&&this.resizeOnNextFrame()}},{key:"componentWillUnmount",value:function(){window.clearTimeout(this.copyId),ie.Z.cancel(this.rafId)}},{key:"getEditable",value:function(t){var o=this.state.edit,s=t||this.props,d=s.editable;return d?(0,v.Z)({editing:o},(0,B.Z)(d)==="object"?d:null):{editing:o}}},{key:"getEllipsis",value:function(t){var o=t||this.props,s=o.ellipsis;return s?(0,v.Z)({rows:1,expandable:!1},(0,B.Z)(s)==="object"?s:null):{}}},{key:"canUseCSSEllipsis",value:function(){var t=this.state.clientRendered,o=this.props,s=o.editable,d=o.copyable,c=this.getEllipsis(),f=c.rows,y=c.expandable,u=c.suffix,x=c.onEllipsis,T=c.tooltip;return u||T||s||d||y||!t||x?!1:f===1?Ge:Ve}},{key:"syncEllipsis",value:function(){var t=this.state,o=t.ellipsisText,s=t.isEllipsis,d=t.expanded,c=this.getEllipsis(),f=c.rows,y=c.suffix,u=c.onEllipsis,x=this.props.children;if(!(!f||f<0||!this.contentRef.current||d)&&!this.canUseCSSEllipsis()){(0,g.Z)((0,ae.Z)(x).every(function(G){return typeof G=="string"}),"Typography","`ellipsis` should use string as children only.");var T=We(this.contentRef.current,{rows:f,suffix:y},x,this.renderOperations(!0),Ce),U=T.content,D=T.text,L=T.ellipsis;(o!==D||s!==L)&&(this.setState({ellipsisText:D,ellipsisContent:U,isEllipsis:L}),s!==L&&u&&u(L))}}},{key:"renderExpand",value:function(t){var o=this.getEllipsis(),s=o.expandable,d=o.symbol,c=this.state,f=c.expanded,y=c.isEllipsis;if(!s||!t&&(f||!y))return null;var u;return d?u=d:u=this.expandStr,l.createElement("a",{key:"expand",className:"".concat(this.getPrefixCls(),"-expand"),onClick:this.onExpandClick,"aria-label":this.expandStr},u)}},{key:"renderEdit",value:function(){var t=this.props.editable;if(!!t){var o=t.icon,s=t.tooltip,d=(0,ae.Z)(s)[0]||this.editStr,c=typeof d=="string"?d:"";return l.createElement(oe.Z,{key:"edit",title:s===!1?"":d},l.createElement(ve.Z,{ref:this.setEditRef,className:"".concat(this.getPrefixCls(),"-edit"),onClick:this.onEditClick,"aria-label":c},o||l.createElement(Se.Z,{role:"button"})))}}},{key:"renderCopy",value:function(){var t=this.state.copied,o=this.props.copyable;if(!!o){var s=this.getPrefixCls(),d=o.tooltips,c=o.icon,f=Array.isArray(d)?d:[d],y=Array.isArray(c)?c:[c],u=t?ne(f[1],this.copiedStr):ne(f[0],this.copyStr),x=t?this.copiedStr:this.copyStr,T=typeof u=="string"?u:x;return l.createElement(oe.Z,{key:"copy",title:u},l.createElement(ve.Z,{className:K()("".concat(s,"-copy"),t&&"".concat(s,"-copy-success")),onClick:this.onCopyClick,"aria-label":T},t?ne(y[1],l.createElement(Ze.Z,null),!0):ne(y[0],l.createElement(Te.Z,null),!0)))}}},{key:"renderEditInput",value:function(){var t=this.props,o=t.children,s=t.className,d=t.style,c=this.context.direction,f=this.getEditable(),y=f.maxLength,u=f.autoSize,x=f.onEnd;return l.createElement(Ke,{value:typeof o=="string"?o:"",onSave:this.onEditChange,onCancel:this.onEditCancel,onEnd:x,prefixCls:this.getPrefixCls(),className:s,style:d,direction:c,maxLength:y,autoSize:u})}},{key:"renderOperations",value:function(t){return[this.renderExpand(t),this.renderEdit(),this.renderCopy()].filter(function(o){return o})}},{key:"renderContent",value:function(){var t=this,o=this.state,s=o.ellipsisContent,d=o.isEllipsis,c=o.expanded,f=this.props,y=f.component,u=f.children,x=f.className,T=f.type,U=f.disabled,D=f.style,L=Fe(f,["component","children","className","type","disabled","style"]),G=this.context.direction,X=this.getEllipsis(),H=X.rows,m=X.suffix,b=X.tooltip,O=this.getPrefixCls(),z=(0,F.Z)(L,["prefixCls","editable","copyable","ellipsis","mark","code","delete","underline","strong","keyboard","italic"].concat((0,k.Z)(Ne.nf))),A=this.canUseCSSEllipsis(),Q=H===1&&A,q=H&&H>1&&A,j=u;if(H&&d&&!c&&!A){var Y=L.title,I=Y||"";!Y&&(typeof u=="string"||typeof u=="number")&&(I=String(u)),I=I.slice(String(s||"").length),j=l.createElement(l.Fragment,null,s,l.createElement("span",{title:I,"aria-hidden":"true"},Ce),m),b&&(j=l.createElement(oe.Z,{title:b===!0?u:b},l.createElement("span",null,j)))}else j=l.createElement(l.Fragment,null,u,m);return j=Xe(this.props,j),l.createElement(Re.Z,{componentName:"Text"},function(N){var w,de=N.edit,pe=N.copy,ue=N.copied,fe=N.expand;return t.editStr=de,t.copyStr=pe,t.copiedStr=ue,t.expandStr=fe,l.createElement(Pe.Z,{onResize:t.resizeOnNextFrame,disabled:A},l.createElement(C,(0,v.Z)({className:K()((w={},(0,h.Z)(w,"".concat(O,"-").concat(T),T),(0,h.Z)(w,"".concat(O,"-disabled"),U),(0,h.Z)(w,"".concat(O,"-ellipsis"),H),(0,h.Z)(w,"".concat(O,"-single-line"),H===1),(0,h.Z)(w,"".concat(O,"-ellipsis-single-line"),Q),(0,h.Z)(w,"".concat(O,"-ellipsis-multiple-line"),q),w),x),style:(0,v.Z)((0,v.Z)({},D),{WebkitLineClamp:q?H:void 0}),component:y,ref:t.contentRef,direction:G},z),j,t.renderOperations()))})}},{key:"render",value:function(){var t=this.getEditable(),o=t.editing;return o?this.renderEditInput():this.renderContent()}}],[{key:"getDerivedStateFromProps",value:function(t){var o=t.children,s=t.editable;return(0,g.Z)(!s||typeof o=="string","Typography","When `editable` is enabled, the `children` should use string."),{}}}]),a}(l.Component);ce.contextType=p.E_,ce.defaultProps={children:""};var re=ce,Qe=function(n,r){var a={};for(var e in n)Object.prototype.hasOwnProperty.call(n,e)&&r.indexOf(e)<0&&(a[e]=n[e]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var t=0,e=Object.getOwnPropertySymbols(n);t<e.length;t++)r.indexOf(e[t])<0&&Object.prototype.propertyIsEnumerable.call(n,e[t])&&(a[e[t]]=n[e[t]]);return a},Je=function(r){var a=r.ellipsis,e=Qe(r,["ellipsis"]),t=l.useMemo(function(){return a&&(0,B.Z)(a)==="object"?(0,F.Z)(a,["expandable","rows"]):a},[a]);return(0,g.Z)((0,B.Z)(a)!=="object"||!a||!("expandable"in a)&&!("rows"in a),"Typography.Text","`ellipsis` do not support `expandable` or `rows` props."),l.createElement(re,(0,v.Z)({},e,{ellipsis:t,component:"span"}))},Ye=Je,qe=function(n,r){var a={};for(var e in n)Object.prototype.hasOwnProperty.call(n,e)&&r.indexOf(e)<0&&(a[e]=n[e]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var t=0,e=Object.getOwnPropertySymbols(n);t<e.length;t++)r.indexOf(e[t])<0&&Object.prototype.propertyIsEnumerable.call(n,e[t])&&(a[e[t]]=n[e[t]]);return a},_e=function(r,a){var e=r.ellipsis,t=r.rel,o=qe(r,["ellipsis","rel"]);(0,g.Z)((0,B.Z)(e)!=="object","Typography.Link","`ellipsis` only supports boolean value.");var s=l.useRef(null);l.useImperativeHandle(a,function(){var c;return(c=s.current)===null||c===void 0?void 0:c.contentRef.current});var d=(0,v.Z)((0,v.Z)({},o),{rel:t===void 0&&o.target==="_blank"?"noopener noreferrer":t});return delete d.navigate,l.createElement(re,(0,v.Z)({},d,{ref:s,ellipsis:!!e,component:"a"}))},et=l.forwardRef(_e),tt=i(93355),nt=function(n,r){var a={};for(var e in n)Object.prototype.hasOwnProperty.call(n,e)&&r.indexOf(e)<0&&(a[e]=n[e]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var t=0,e=Object.getOwnPropertySymbols(n);t<e.length;t++)r.indexOf(e[t])<0&&Object.prototype.propertyIsEnumerable.call(n,e[t])&&(a[e[t]]=n[e[t]]);return a},rt=(0,tt.a)(1,2,3,4,5),at=function(r){var a=r.level,e=a===void 0?1:a,t=nt(r,["level"]),o;return rt.indexOf(e)!==-1?o="h".concat(e):((0,g.Z)(!1,"Typography.Title","Title only accept `1 | 2 | 3 | 4 | 5` as `level` value. And `5` need 4.6.0+ version."),o="h1"),l.createElement(re,(0,v.Z)({},t,{component:o}))},it=at,ot=function(r){return l.createElement(re,(0,v.Z)({},r,{component:"div"}))},lt=ot,ee=C;ee.Text=Ye,ee.Link=et,ee.Title=it,ee.Paragraph=lt;var st=ee},402:function(J,S,i){"use strict";var v=i(38663),h=i.n(v),l=i(47828),$=i.n(l),K=i(22385),Z=i(47673)},20640:function(J,S,i){"use strict";var v=i(11742),h={"text/plain":"Text","text/html":"Url",default:"Text"},l="Copy to clipboard: #{key}, Enter";function $(Z){var p=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return Z.replace(/#{\s*key\s*}/g,p)}function K(Z,p){var g,M,E,R,W,C,B=!1;p||(p={}),g=p.debug||!1;try{E=v(),R=document.createRange(),W=document.getSelection(),C=document.createElement("span"),C.textContent=Z,C.style.all="unset",C.style.position="fixed",C.style.top=0,C.style.clip="rect(0, 0, 0, 0)",C.style.whiteSpace="pre",C.style.webkitUserSelect="text",C.style.MozUserSelect="text",C.style.msUserSelect="text",C.style.userSelect="text",C.addEventListener("copy",function(k){if(k.stopPropagation(),p.format)if(k.preventDefault(),typeof k.clipboardData=="undefined"){g&&console.warn("unable to use e.clipboardData"),g&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var V=h[p.format]||h.default;window.clipboardData.setData(V,Z)}else k.clipboardData.clearData(),k.clipboardData.setData(p.format,Z);p.onCopy&&(k.preventDefault(),p.onCopy(k.clipboardData))}),document.body.appendChild(C),R.selectNodeContents(C),W.addRange(R);var F=document.execCommand("copy");if(!F)throw new Error("copy command was unsuccessful");B=!0}catch(k){g&&console.error("unable to copy using execCommand: ",k),g&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(p.format||"text",Z),p.onCopy&&p.onCopy(window.clipboardData),B=!0}catch(V){g&&console.error("unable to copy using clipboardData: ",V),g&&console.error("falling back to prompt"),M=$("message"in p?p.message:l),window.prompt(M,Z)}}finally{W&&(typeof W.removeRange=="function"?W.removeRange(R):W.removeAllRanges()),C&&document.body.removeChild(C),E()}return B}J.exports=K},11742:function(J){J.exports=function(){var S=document.getSelection();if(!S.rangeCount)return function(){};for(var i=document.activeElement,v=[],h=0;h<S.rangeCount;h++)v.push(S.getRangeAt(h));switch(i.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":i.blur();break;default:i=null;break}return S.removeAllRanges(),function(){S.type==="Caret"&&S.removeAllRanges(),S.rangeCount||v.forEach(function(l){S.addRange(l)}),i&&i.focus()}}}}]);
  