👨🏻‍💻👩🏻‍💻 Use Ant Design like a Pro!
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.
 
 
 

11 lines
17 KiB

(globalThis.utooChunk_ant_design_pro||(globalThis.utooChunk_ant_design_pro=[])).push(["object"==typeof document?document.currentScript:void 0,100264,e=>{"use strict";var t=e.i(191788),n={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=e.i(117716);function r(){return(r=Object.assign.bind()).apply(this,arguments)}let i=t.forwardRef((e,i)=>t.createElement(l.default,r({},e,{ref:i,icon:n})));e.s(["default",()=>i],100264)},560370,e=>{"use strict";var t=e.i(191788),n=e.i(633829),l=e.i(100264),r=e.i(259165);e.i(957562);var i=e.i(191248),o=e.i(531983),a=e.i(617796),c=e.i(351212),s=e.i(851581),u=e.i(56206),d=e.i(934854),p=e.i(664557),m=e.i(993175),f=e.i(583082),g=e.i(188304),b={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"},h=e.i(117716);function y(){return(y=Object.assign.bind()).apply(this,arguments)}let x=t.forwardRef((e,n)=>t.createElement(h.default,y({},e,{ref:n,icon:b})));var v=e.i(536343),E=e.i(663032),k=e.i(97679),S=e.i(307441),$=e.i(352050);e.i(797652);var w=e.i(435187),C=(0,$.genStyleHooks)("Typography",e=>{let t,{componentCls:n,titleMarginTop:l}=e;return{[n]:{color:e.colorText,wordBreak:"break-word",lineHeight:e.lineHeight,[`&${n}-secondary, &${n}-link${n}-secondary`]:{color:e.colorTextDescription},[`&${n}-success, &${n}-link${n}-success`]:{color:e.colorSuccessText},[`&${n}-warning, &${n}-link${n}-warning`]:{color:e.colorWarningText},[`&${n}-danger, &${n}-link${n}-danger`]:{color:e.colorErrorText,[`&${n}-link:active, &${n}-link:focus`]:{color:e.colorErrorTextActive},[`&${n}-link:hover`]:{color:e.colorErrorTextHover}},[`&${n}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed",userSelect:"none"},"div&, p":{marginBottom:"1em"},...(t={},[1,2,3,4,5].forEach(n=>{t[`
h${n}&,
div&-h${n},
div&-h${n} > textarea,
h${n}
`]=((e,t,n,l)=>{let{titleMarginBottom:r,fontWeightStrong:i}=l;return{marginBottom:r,color:n,fontWeight:i,fontSize:e,lineHeight:t}})(e[`fontSizeHeading${n}`],e[`lineHeightHeading${n}`],e.colorTextHeading,e)}),t),[`& + h1${n}, & + h2${n}, & + h3${n}, & + h4${n}, & + h5${n}`]:{marginTop:l},"div, ul, li, p, h1, h2, h3, h4, h5":{"+ h1, + h2, + h3, + h4, + h5":{marginTop:l}},...{code:{margin:"0 0.2em",paddingInline:"0.4em",paddingBlock:"0.2em 0.1em",fontSize:"85%",fontFamily:e.fontFamilyCode,background:"rgba(150, 150, 150, 0.1)",border:"1px solid rgba(100, 100, 100, 0.2)",borderRadius:3},kbd:{margin:"0 0.2em",paddingInline:"0.4em",paddingBlock:"0.15em 0.1em",fontSize:"90%",fontFamily:e.fontFamilyCode,background:"rgba(150, 150, 150, 0.06)",border:"1px solid rgba(100, 100, 100, 0.2)",borderBottomWidth:2,borderRadius:3},mark:{padding:0,backgroundColor:w.gold[2]},"u, ins":{textDecoration:"underline",textDecorationSkipInk:"auto"},"s, del":{textDecoration:"line-through"},strong:{fontWeight:e.fontWeightStrong},"ul, ol":{marginInline:0,marginBlock:"0 1em",padding:0,li:{marginInline:"20px 0",marginBlock:0,paddingInline:"4px 0",paddingBlock:0}},ul:{listStyleType:"circle",ul:{listStyleType:"disc"}},ol:{listStyleType:"decimal"},"pre, blockquote":{margin:"1em 0"},pre:{padding:"0.4em 0.6em",whiteSpace:"pre-wrap",wordWrap:"break-word",background:"rgba(150, 150, 150, 0.1)",border:"1px solid rgba(100, 100, 100, 0.2)",borderRadius:3,fontFamily:e.fontFamilyCode,code:{display:"inline",margin:0,padding:0,fontSize:"inherit",fontFamily:"inherit",background:"transparent",border:0}},blockquote:{paddingInline:"0.6em 0",paddingBlock:0,borderInlineStart:"4px solid rgba(100, 100, 100, 0.2)",opacity:.85}},...(e=>{let{componentCls:t}=e,n=`${t}-link`;return{[`&${n}`]:{...(0,S.operationUnit)(e),userSelect:"text",[`&[disabled], &${t}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed","&:active, &:hover":{color:e.colorTextDisabled},"&:active":{pointerEvents:"none",[`${t}-actions`]:{pointerEvents:"auto"}}}}}})(e),[`${n}-actions`]:{display:"inline"},[`
${n}-expand,
${n}-collapse,
${n}-edit,
${n}-copy
`]:{...(0,S.operationUnit)(e),marginInlineStart:e.marginXXS},...(e=>{let{componentCls:t,paddingSM:n}=e;return{"&-edit-content":{position:"relative","div&":{insetInlineStart:e.calc(e.paddingSM).mul(-1).equal(),insetBlockStart:e.calc(n).div(-2).add(1).equal(),marginBottom:e.calc(n).div(2).sub(2).equal()},[`${t}-edit-content-confirm`]:{position:"absolute",insetInlineEnd:e.calc(e.marginXS).add(2).equal(),insetBlockEnd:e.marginXS,color:e.colorIcon,fontWeight:"normal",fontSize:e.fontSize,fontStyle:"normal",pointerEvents:"none"},textarea:{margin:"0!important",MozTransition:"none",height:"1em"}}}})(e),...{[`${e.componentCls}-copy-success`]:{"&, &:hover, &:focus":{color:e.colorSuccess}},[`${e.componentCls}-copy-icon-only`]:{marginInlineStart:0}},...{"a&-ellipsis, span&-ellipsis":{display:"inline-block",maxWidth:"100%"},"&-ellipsis-single-line":{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis","a&, span&":{verticalAlign:"bottom"},"> code":{paddingBlock:0,maxWidth:"calc(100% - 1.2em)",display:"inline-block",overflow:"hidden",textOverflow:"ellipsis",verticalAlign:"bottom",boxSizing:"content-box"}},"&-ellipsis-multiple-line":{display:"-webkit-box",overflow:"hidden",WebkitLineClamp:3,WebkitBoxOrient:"vertical"}},"&-rtl":{direction:"rtl"}}}},()=>({titleMarginTop:"1.2em",titleMarginBottom:"0.5em"})),R=e=>{let{prefixCls:n,"aria-label":l,className:r,style:i,direction:o,maxLength:a,autoSize:c=!0,value:s,onSave:d,onCancel:p,onEnd:m,component:f,enterIcon:g=t.createElement(x,null)}=e,b=t.useRef(null),h=t.useRef(!1),y=t.useRef(null),[S,$]=t.useState(s);t.useEffect(()=>{$(s)},[s]),t.useEffect(()=>{if(b.current?.resizableTextArea){let{textArea:e}=b.current.resizableTextArea;e.focus();let{length:t}=e.value;e.setSelectionRange(t,t)}},[]);let w=()=>{d(S.trim())},[R,T]=C(n),B=(0,u.clsx)(n,`${n}-edit-content`,{[`${n}-rtl`]:"rtl"===o,[`${n}-${f}`]:!!f},r,R,T);return t.createElement("div",{className:B,style:i},t.createElement(k.default,{ref:b,maxLength:a,value:S,onChange:({target:e})=>{$(e.value.replace(/[\n\r]/g,""))},onKeyDown:({keyCode:e})=>{h.current||(y.current=e)},onKeyUp:({keyCode:e,ctrlKey:t,altKey:n,metaKey:l,shiftKey:r})=>{y.current!==e||h.current||t||n||l||r||(e===v.default.ENTER?(w(),m?.()):e===v.default.ESC&&p())},onCompositionStart:()=>{h.current=!0},onCompositionEnd:()=>{h.current=!1},onBlur:()=>{w()},"aria-label":l,rows:1,autoSize:c}),null!==g?(0,E.cloneElement)(g,{className:`${n}-edit-content-confirm`}):null)},T=e.i(27593);let B=async(e,t)=>{try{return t?await navigator.clipboard.write([new ClipboardItem({"text/html":new Blob([e],{type:"text/html"}),"text/plain":new Blob([e],{type:"text/plain"})})]):await navigator.clipboard.writeText(e),!0}catch{return!1}};async function M(e,t){if("string"!=typeof e)return!1;let n=t?.format==="text/html";return!!(await B(e,n)||((e,t)=>{let n=!1,l=l=>{l.stopPropagation(),l.preventDefault(),l.clipboardData?.clearData(),l.clipboardData?.setData("text/plain",e),t&&l.clipboardData?.setData("text/html",e),n=!0};try{return document.addEventListener("copy",l,{capture:!0}),document.execCommand("copy"),n}catch{return!1}finally{document.removeEventListener("copy",l,{capture:!0})}})(e,n))}var I=e.i(154165);function H(e,n){return t.useMemo(()=>{let t=!!e;return[t,{...n,...t&&"object"==typeof e?e:null}]},[e])}let L=t.forwardRef((e,n)=>{let{prefixCls:l,component:r="article",className:i,rootClassName:o,children:a,direction:c,style:s,...d}=e,{getPrefixCls:p,direction:f,className:g,style:b}=(0,m.useComponentConfig)("typography"),h=p("typography",l),[y,x]=C(h),v=(0,u.clsx)(h,g,{[`${h}-rtl`]:"rtl"===(c??f)},i,o,y,x),E={...b,...s};return t.createElement(r,{className:v,style:E,ref:n,...d},a)});var z=e.i(146025),D=e.i(636207),W=e.i(677057);let N=e=>!1===e?[!1,!1]:(0,I.default)(e);function O(e,t,n){return!0===e||void 0===e?t:e||n&&t}let F=e=>["string","number"].includes(typeof e);var j=e=>{let{prefixCls:n,copied:l,locale:r,iconOnly:i,tooltips:o,icon:a,tabIndex:c,onCopy:s,loading:d}=e,p=N(o),m=N(a),{copied:f,copy:b}=r??{},h=l?f:b,y=O(p[+!!l],h),x="string"==typeof y?y:h;return t.createElement(g.default,{title:y},t.createElement("button",{type:"button",className:(0,u.clsx)(`${n}-copy`,{[`${n}-copy-success`]:l,[`${n}-copy-icon-only`]:i}),onClick:s,"aria-label":x,tabIndex:c},l?O(m[1],t.createElement(z.default,null),!0):O(m[0],d?t.createElement(W.default,null):t.createElement(D.default,null),!0)))};let A=t.forwardRef(({style:e,children:n},l)=>{let r=t.useRef(null);return t.useImperativeHandle(l,()=>({isExceed:()=>{let e=r.current;return e.scrollHeight>e.clientHeight},getHeight:()=>r.current.clientHeight})),t.createElement("span",{"aria-hidden":!0,ref:r,style:{position:"fixed",display:"block",left:0,top:0,pointerEvents:"none",backgroundColor:"rgba(255, 0, 0, 0.65)",...e}},n)});function P(e,t){let n=0,l=[];for(let r=0;r<e.length;r+=1){if(n===t)return l;let i=e[r],o=n+(F(i)?String(i).length:1);if(o>t){let e=t-n;return l.push(String(i).slice(0,e)),l}l.push(i),n=o}return e}let _={display:"-webkit-box",overflow:"hidden",WebkitBoxOrient:"vertical"};function q(e){let{enableMeasure:l,width:r,text:i,children:a,rows:s,expanded:u,miscDeps:d,onEllipsis:p}=e,m=t.useMemo(()=>(0,o.toArray)(i),[i]),f=t.useMemo(()=>m.reduce((e,t)=>e+(F(t)?String(t).length:1),0),[i]),g=t.useMemo(()=>a(m,!1),[i]),[b,h]=t.useState(null),y=t.useRef(null),x=t.useRef(null),v=t.useRef(null),E=t.useRef(null),k=t.useRef(null),[S,$]=t.useState(!1),[w,C]=t.useState(0),[R,T]=t.useState(0),[B,M]=t.useState(null);(0,c.default)(()=>{l&&r&&f?C(1):C(0)},[r,i,s,l,m]),(0,c.default)(()=>{if(1===w)C(2),M(x.current&&getComputedStyle(x.current).whiteSpace);else if(2===w){let e=!!v.current?.isExceed();C(e?3:4),h(e?[0,f]:null),$(e),T(Math.max(v.current?.getHeight()||0,(1===s?0:E.current?.getHeight()||0)+(k.current?.getHeight()||0))+1),p(e)}},[w]);let I=b?Math.ceil((b[0]+b[1])/2):0;(0,c.default)(()=>{let[e,t]=b||[0,0];if(e!==t){let n=(y.current?.getHeight()||0)>R,l=I;t-e==1&&(l=n?e:t),h(n?[e,l]:[l,t])}},[b,I]);let H=t.useMemo(()=>{if(!l)return a(m,!1);if(3!==w||!b||b[0]!==b[1]){let e=a(m,!1);return[4,0].includes(w)?e:t.createElement("span",{style:{..._,WebkitLineClamp:s}},e)}return a(u?m:P(m,b[0]),S)},[u,w,b,m].concat((0,n.default)(d))),L={width:r,margin:0,padding:0,whiteSpace:"nowrap"===B?"normal":"inherit"};return t.createElement(t.Fragment,null,H,2===w&&t.createElement(t.Fragment,null,t.createElement(A,{style:{...L,..._,WebkitLineClamp:s},ref:v},g),t.createElement(A,{style:{...L,..._,WebkitLineClamp:s-1},ref:E},g),t.createElement(A,{style:{...L,..._,WebkitLineClamp:1},ref:k},a([],!0))),3===w&&b&&b[0]!==b[1]&&t.createElement(A,{style:{...L,top:400},ref:y},a(P(m,I),!0)),1===w&&t.createElement("span",{style:{whiteSpace:"inherit"},ref:x}))}var X=({enableEllipsis:e,isEllipsis:n,open:l,children:r,tooltipProps:i})=>i?.title&&e?t.createElement(g.default,{open:l&&n,...i},r):r;let U=["delete","mark","code","underline","strong","keyboard","italic"],K=t.forwardRef((e,b)=>{let h,y,x,{prefixCls:v,className:E,style:k,type:S,disabled:$,children:w,ellipsis:C,editable:B,copyable:z,component:D,title:W,onMouseEnter:N,onMouseLeave:O,...A}=e,{getPrefixCls:P,direction:_}=t.useContext(m.ConfigContext),[K]=(0,f.default)("Text"),V=t.useRef(null),G=t.useRef(null),J=P("typography",v),Q=(0,i.omit)(A,U),[Y,Z]=H(B),[ee,et]=(0,a.useControlledState)(!1,Z.editing),{triggerType:en=["icon"]}=Z,el=e=>{e&&Z.onStart?.(),et(e)},er=(h=(0,t.useRef)(void 0),(0,t.useEffect)(()=>{h.current=ee}),h.current);(0,c.default)(()=>{!ee&&er&&G.current?.focus()},[ee]);let ei=e=>{e?.preventDefault(),el(!0)},[eo,ea]=H(z),{copied:ec,copyLoading:es,onClick:eu}=(({copyConfig:e,children:n})=>{let[l,r]=t.useState(!1),[i,o]=t.useState(!1),a=t.useRef(null),c=()=>{a.current&&clearTimeout(a.current)},s={};return e.format&&(s.format=e.format),t.useEffect(()=>c,[]),{copied:l,copyLoading:i,onClick:(0,T.useEvent)(async t=>{t?.preventDefault(),t?.stopPropagation(),o(!0);try{let l="function"==typeof e.text?await e.text():e.text;await M(l||(0,I.default)(n,{skipEmpty:!0}).join("")||"",s),o(!1),r(!0),c(),a.current=setTimeout(()=>{r(!1)},3e3),e.onCopy?.(t)}catch(e){throw o(!1),e}})}})({copyConfig:ea,children:w}),[ed,ep]=t.useState(!1),[em,ef]=t.useState(!1),[eg,eb]=t.useState(!1),[eh,ey]=t.useState(!1),[ex,ev]=t.useState(!0),[eE,ek]=H(C,{expandable:!1,symbol:e=>e?K?.collapse:K?.expand}),[eS,e$]=(0,a.useControlledState)(ek.defaultExpanded||!1,ek.expanded),ew=eE&&(!eS||"collapsible"===ek.expandable),{rows:eC=1}=ek,eR=t.useMemo(()=>ew&&(void 0!==ek.suffix||ek.onEllipsis||ek.expandable||Y||eo),[ew,ek,Y,eo]);(0,c.default)(()=>{eE&&!eR&&(ep((0,p.isStyleSupport)("webkitLineClamp")),ef((0,p.isStyleSupport)("textOverflow")))},[eR,eE]);let[eT,eB]=t.useState(ew),eM=t.useMemo(()=>!eR&&(1===eC?em:ed),[eR,em,ed]);(0,c.default)(()=>{eB(eM&&ew)},[eM,ew]);let eI=(y=ek.tooltip,x=Z.text,(0,t.useMemo)(()=>!0===y?{title:x??w}:(0,t.isValidElement)(y)?{title:y}:(0,d.isPlainObject)(y)?{title:x??w,...y}:{title:y},[y,x,w])),eH=eT&&!!eI.title,eL=ew&&(eT?eH&&eh:eg),ez=ew&&1===eC&&eT,eD=ew&&eC>1&&eT,[eW,eN]=t.useState(0),[eO,eF]=t.useState(!1),[ej,eA]=t.useState(!1),eP=e=>{eb(e),eg!==e&&ek.onEllipsis?.(e)};t.useEffect(()=>{let e=V.current;if(eE&&eH&&e){let t,n,l,r=(t=document.createElement("em"),e.appendChild(t),n=e.getBoundingClientRect(),l=t.getBoundingClientRect(),e.removeChild(t),n.left>l.left||l.right>n.right||n.top>l.top||l.bottom>n.bottom);eh!==r&&ey(r)}},[eE,eH,w,eD,ex,eW]),t.useEffect(()=>{let e=V.current;if("u"<typeof IntersectionObserver||!e||!eH||!ew)return;let t=new IntersectionObserver(()=>{ev(!!e.offsetParent)});return t.observe(e),()=>{t.disconnect()}},[eH,ew]);let e_=t.useMemo(()=>{if(eE&&!eT)return[Z.text,w,W,eI.title].find(F)},[eE,eT,W,eI.title,eL]);return ee?t.createElement(R,{value:Z.text??("string"==typeof w?w:""),onSave:e=>{Z.onChange?.(e),el(!1)},onCancel:()=>{Z.onCancel?.(),el(!1)},onEnd:Z.onEnd,prefixCls:J,className:E,style:k,direction:_,component:D,maxLength:Z.maxLength,autoSize:Z.autoSize,enterIcon:Z.enterIcon}):t.createElement(r.default,{onResize:({offsetWidth:e})=>{eN(e)},disabled:!ew},r=>t.createElement(X,{tooltipProps:eI,enableEllipsis:ew,isEllipsis:eL,open:ej&&!eO},t.createElement(L,{onMouseEnter:e=>{eA(!0),N?.(e)},onMouseLeave:e=>{eA(!1),O?.(e)},className:(0,u.clsx)({[`${J}-${S}`]:S,[`${J}-disabled`]:$,[`${J}-ellipsis`]:eE,[`${J}-ellipsis-single-line`]:ez,[`${J}-ellipsis-multiple-line`]:eD,[`${J}-link`]:"a"===D},E),prefixCls:v,style:{...k,WebkitLineClamp:eD?eC:void 0},component:D,ref:(0,s.composeRef)(r,V,b),direction:_,onClick:en.includes("text")?ei:void 0,"aria-label":e_?.toString(),title:W,...Q},t.createElement(q,{enableMeasure:ew&&!eT,text:w,rows:eC,width:eW,onEllipsis:eP,expanded:eS,miscDeps:[ec,eS,es,Y,eo,K].concat((0,n.default)(U.map(t=>e[t])))},(n,r)=>{var i;let a,c,s;return function({mark:e,code:n,underline:l,delete:r,strong:i,keyboard:o,italic:a},c){let s=c;function u(e,n){n&&(s=t.createElement(e,{},s))}return u("strong",i),u("u",l),u("del",r),u("code",n),u("mark",e),u("kbd",o),u("i",a),s}(e,t.createElement(t.Fragment,null,n.length>0&&r&&!eS&&e_?t.createElement("span",{key:"show-content","aria-hidden":!0},n):n,[(i=r)&&!eS&&t.createElement("span",{"aria-hidden":!0,key:"ellipsis"},"..."),ek.suffix,(a=i&&(()=>{let{expandable:e,symbol:n}=ek;return e?t.createElement("button",{type:"button",key:"expand",className:`${J}-${eS?"collapse":"expand"}`,onClick:e=>{var t;e$((t={expanded:!eS}).expanded),ek.onExpand?.(e,t)},"aria-label":eS?K.collapse:K?.expand},"function"==typeof n?n(eS):n):null})(),c=(()=>{if(!Y)return;let{icon:e,tooltip:n,tabIndex:r}=Z,i=(0,o.toArray)(n)[0]||K?.edit,a="string"==typeof i?i:"";return en.includes("icon")?t.createElement(g.default,{key:"edit",title:!1===n?"":i},t.createElement("button",{type:"button",ref:G,className:`${J}-edit`,onClick:ei,"aria-label":a,tabIndex:r},e||t.createElement(l.default,{role:"button"}))):null})(),s=eo?t.createElement(j,{key:"copy",...ea,prefixCls:J,copied:ec,locale:K,onCopy:eu,loading:es,iconOnly:!(0,d.isNonNullable)(w)}):null,a||c||s?t.createElement("span",{key:"operations",className:`${J}-actions`,onMouseEnter:()=>eF(!0),onMouseLeave:()=>eF(!1)},a,c,s):null)]))}))))}),V=t.forwardRef((e,n)=>{let{ellipsis:l,rel:r,children:i,navigate:o,...a}=e,c={...a,rel:void 0===r&&"_blank"===a.target?"noopener noreferrer":r};return t.createElement(K,{...c,ref:n,ellipsis:!!l,component:"a"},i)}),G=t.forwardRef((e,n)=>{let{children:l,...r}=e;return t.createElement(K,{ref:n,...r,component:"div"},l)}),J=t.forwardRef((e,n)=>{let{ellipsis:l,children:r,...o}=e,a=t.useMemo(()=>(0,d.isPlainObject)(l)?(0,i.omit)(l,["expandable","rows"]):l,[l]);return t.createElement(K,{ref:n,...o,ellipsis:a,component:"span"},r)}),Q=[1,2,3,4,5],Y=t.forwardRef((e,n)=>{let{level:l=1,children:r,...i}=e,o=Q.includes(l)?`h${l}`:"h1";return t.createElement(K,{ref:n,...i,component:o},r)});L.Text=J,L.Link=V,L.Title=Y,L.Paragraph=G,e.s(["Typography",()=>L],560370)}]);