(self.webpackChunktab_nodes_tree_extension=self.webpackChunktab_nodes_tree_extension||[]).push([[75],{4350:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(26325),l=n(79474);let o={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"};var a=n(78785);let i=l.forwardRef(function(e,t){return l.createElement(a.A,(0,r.A)({},e,{ref:t,icon:o}))})},44846:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(26325),l=n(79474);let o={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"};var a=n(78785);let i=l.forwardRef(function(e,t){return l.createElement(a.A,(0,r.A)({},e,{ref:t,icon:o}))})},10126:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(79474),l=n(51336),o=n(75616);let a=(e,t)=>{let n=r.useContext(l.A);return[r.useMemo(()=>{var r;let l=t||o.A[e],a=null!==(r=null==n?void 0:n[e])&&void 0!==r?r:{};return Object.assign(Object.assign({},"function"==typeof l?l():l),a||{})},[e,t,n]),r.useMemo(()=>{let e=null==n?void 0:n.locale;return(null==n?void 0:n.exist)&&!e?o.A.locale:e},[n])]}},57409:(e,t,n)=>{"use strict";n.d(t,{Y:()=>r});let r=e=>({color:e.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"&:focus, &:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive}})},40075:(e,t,n)=>{"use strict";n.d(t,{A:()=>eO});var r=n(79474),l=n(44846),o=n(97500),a=n.n(o),i=n(56536),c=n(10509),s=n(5984),u=n(85694),d=n(89334),p=n(72710),f=n(41526),m=n(84929),g=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var l=0,r=Object.getOwnPropertySymbols(e);l<r.length;l++)0>t.indexOf(r[l])&&Object.prototype.propertyIsEnumerable.call(e,r[l])&&(n[r[l]]=e[r[l]]);return n};let b={border:0,background:"transparent",padding:0,lineHeight:"inherit",display:"inline-flex"},E=r.forwardRef((e,t)=>{let{style:n,noStyle:l,disabled:o,tabIndex:a=0}=e,i=g(e,["style","noStyle","disabled","tabIndex"]),c={};return l||(c=Object.assign({},b)),o&&(c.pointerEvents="none"),c=Object.assign(Object.assign({},c),n),r.createElement("div",Object.assign({role:"button",tabIndex:a,ref:t},i,{onKeyDown:e=>{let{keyCode:t}=e;t===m.A.ENTER&&e.preventDefault()},onKeyUp:t=>{let{keyCode:n}=t,{onClick:r}=e;n===m.A.ENTER&&r&&r()},style:c}))});var v=n(44772),y=n(10126),O=n(8256),h=n(26325);let S={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"};var x=n(78785),A=r.forwardRef(function(e,t){return r.createElement(x.A,(0,h.A)({},e,{ref:t,icon:S}))}),C=n(40753),w=n(52162),N=n(57409),R=n(50395),T=n(56653),M=n(18018);let j=(e,t,n,r)=>{let{titleMarginBottom:l,fontWeightStrong:o}=r;return{marginBottom:l,color:n,fontWeight:o,fontSize:e,lineHeight:t}},I=e=>{let t={};return[1,2,3,4,5].forEach(n=>{t[`
      h${n}&,
      div&-h${n},
      div&-h${n} > textarea,
      h${n}
    `]=j(e[`fontSizeHeading${n}`],e[`lineHeightHeading${n}`],e.colorTextHeading,e)}),t},k=e=>{let{componentCls:t}=e;return{"a&, a":Object.assign(Object.assign({},(0,N.Y)(e)),{textDecoration:e.linkDecoration,"&:active, &:hover":{textDecoration:e.linkHoverDecoration},[`&[disabled], &${t}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed","&:active, &:hover":{color:e.colorTextDisabled},"&:active":{pointerEvents:"none"}}})}},_=e=>({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:T.bK[2]},"u, ins":{textDecoration:"underline",textDecorationSkipInk:"auto"},"s, del":{textDecoration:"line-through"},strong:{fontWeight:600},"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}}),U=e=>{let{componentCls:t,paddingSM:n}=e;return{"&-edit-content":{position:"relative","div&":{insetInlineStart:e.calc(e.paddingSM).mul(-1).equal(),marginTop:e.calc(n).mul(-1).equal(),marginBottom:`calc(1em - ${(0,M.zA)(n)})`},[`${t}-edit-content-confirm`]:{position:"absolute",insetInlineEnd:e.calc(e.marginXS).add(2).equal(),insetBlockEnd:e.marginXS,color:e.colorTextDescription,fontWeight:"normal",fontSize:e.fontSize,fontStyle:"normal",pointerEvents:"none"},textarea:{margin:"0!important",MozTransition:"none",height:"1em"}}}},P=e=>({[`${e.componentCls}-copy-success`]:{[`
    &,
    &:hover,
    &:focus`]:{color:e.colorSuccess}},[`${e.componentCls}-copy-icon-only`]:{marginInlineStart:0}}),D=()=>({[`
  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"}}),L=e=>{let{componentCls:t,titleMarginTop:n}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:e.colorText,wordBreak:"break-word",lineHeight:e.lineHeight,[`&${t}-secondary`]:{color:e.colorTextDescription},[`&${t}-success`]:{color:e.colorSuccess},[`&${t}-warning`]:{color:e.colorWarning},[`&${t}-danger`]:{color:e.colorError,"a&:active, a&:focus":{color:e.colorErrorActive},"a&:hover":{color:e.colorErrorHover}},[`&${t}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed",userSelect:"none"},[`
        div&,
        p
      `]:{marginBottom:"1em"}},I(e)),{[`
      & + h1${t},
      & + h2${t},
      & + h3${t},
      & + h4${t},
      & + h5${t}
      `]:{marginTop:n},[`
      div,
      ul,
      li,
      p,
      h1,
      h2,
      h3,
      h4,
      h5`]:{[`
        + h1,
        + h2,
        + h3,
        + h4,
        + h5
        `]:{marginTop:n}}}),_(e)),k(e)),{[`
        ${t}-expand,
        ${t}-collapse,
        ${t}-edit,
        ${t}-copy
      `]:Object.assign(Object.assign({},(0,N.Y)(e)),{marginInlineStart:e.marginXXS})}),U(e)),P(e)),D()),{"&-rtl":{direction:"rtl"}})}},H=(0,R.OF)("Typography",e=>[L(e)],()=>({titleMarginTop:"1.2em",titleMarginBottom:"0.5em"})),$=e=>{let{prefixCls:t,"aria-label":n,className:l,style:o,direction:i,maxLength:c,autoSize:s=!0,value:u,onSave:d,onCancel:p,onEnd:f,component:g,enterIcon:b=r.createElement(A,null)}=e,E=r.useRef(null),v=r.useRef(!1),y=r.useRef(),[O,h]=r.useState(u);r.useEffect(()=>{h(u)},[u]),r.useEffect(()=>{var e;if(null===(e=E.current)||void 0===e?void 0:e.resizableTextArea){let{textArea:e}=E.current.resizableTextArea;e.focus();let{length:t}=e.value;e.setSelectionRange(t,t)}},[]);let S=()=>{d(O.trim())},[x,N,R]=H(t),T=a()(t,`${t}-edit-content`,{[`${t}-rtl`]:"rtl"===i,[`${t}-${g}`]:!!g},l,N,R);return x(r.createElement("div",{className:T,style:o},r.createElement(w.A,{ref:E,maxLength:c,value:O,onChange:e=>{let{target:t}=e;h(t.value.replace(/[\n\r]/g,""))},onKeyDown:e=>{let{keyCode:t}=e;v.current||(y.current=t)},onKeyUp:e=>{let{keyCode:t,ctrlKey:n,altKey:r,metaKey:l,shiftKey:o}=e;y.current!==t||v.current||n||r||l||o||(t===m.A.ENTER?(S(),null==f||f()):t===m.A.ESC&&p())},onCompositionStart:()=>{v.current=!0},onCompositionEnd:()=>{v.current=!1},onBlur:()=>{S()},"aria-label":n,rows:1,autoSize:s}),null!==b?(0,C.Ob)(b,{className:`${t}-edit-content-confirm`}):null))};var F=n(83042),B=n.n(F),K=n(6579);let W=e=>{let{copyConfig:t,children:n}=e,[l,o]=r.useState(!1),[a,i]=r.useState(!1),c=r.useRef(null),s=()=>{c.current&&clearTimeout(c.current)},u={};return t.format&&(u.format=t.format),r.useEffect(()=>s,[]),{copied:l,copyLoading:a,onClick:(0,K._q)(e=>(function(e,t,n,r){return new(n||(n=Promise))(function(l,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function i(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?l(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(a,i)}c((r=r.apply(e,t||[])).next())})})(void 0,void 0,void 0,function*(){var r;null==e||e.preventDefault(),null==e||e.stopPropagation(),i(!0);try{let l="function"==typeof t.text?yield t.text():t.text;B()(l||String(n)||"",u),i(!1),o(!0),s(),c.current=setTimeout(()=>{o(!1)},3e3),null===(r=t.onCopy)||void 0===r||r.call(t,e)}catch(e){throw i(!1),e}}))}};function z(e,t){return r.useMemo(()=>{let n=!!e;return[n,Object.assign(Object.assign({},t),n&&"object"==typeof e?e:null)]},[e])}let G=e=>{let t=(0,r.useRef)();return(0,r.useEffect)(()=>{t.current=e}),t.current},Q=(e,t,n)=>(0,r.useMemo)(()=>!0===e?{title:null!=t?t:n}:(0,r.isValidElement)(e)?{title:e}:"object"==typeof e?Object.assign({title:null!=t?t:n},e):{title:e},[e,t,n]);var V=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var l=0,r=Object.getOwnPropertySymbols(e);l<r.length;l++)0>t.indexOf(r[l])&&Object.prototype.propertyIsEnumerable.call(e,r[l])&&(n[r[l]]=e[r[l]]);return n};let X=r.forwardRef((e,t)=>{let{prefixCls:n,component:l="article",className:o,rootClassName:i,setContentRef:c,children:s,direction:u,style:d}=e,f=V(e,["prefixCls","component","className","rootClassName","setContentRef","children","direction","style"]),{getPrefixCls:m,direction:g,typography:b}=r.useContext(v.QO),E=c?(0,p.K4)(t,c):t,y=m("typography",n),[O,h,S]=H(y),x=a()(y,null==b?void 0:b.className,{[`${y}-rtl`]:"rtl"===(null!=u?u:g)},o,i,h,S),A=Object.assign(Object.assign({},null==b?void 0:b.style),d);return O(r.createElement(l,Object.assign({className:x,style:A,ref:E},f),s))});var Y=n(59953),q=n(4350),Z=n(84987);function J(e){return!1===e?[!1,!1]:Array.isArray(e)?e:[e]}function ee(e,t,n){return!0===e||void 0===e?t:e||n&&t}let et=e=>["string","number"].includes(typeof e),en=e=>{let{prefixCls:t,copied:n,locale:l,iconOnly:o,tooltips:i,icon:c,tabIndex:s,onCopy:u,loading:d}=e,p=J(i),f=J(c),{copied:m,copy:g}=null!=l?l:{},b=n?m:g,v=ee(p[n?1:0],b),y="string"==typeof v?v:b;return r.createElement(O.A,{title:v},r.createElement(E,{className:a()(`${t}-copy`,{[`${t}-copy-success`]:n,[`${t}-copy-icon-only`]:o}),onClick:u,"aria-label":y,tabIndex:s},n?ee(f[1],r.createElement(Y.A,null),!0):ee(f[0],d?r.createElement(Z.A,null):r.createElement(q.A,null),!0)))};var er=n(22507);let el=r.forwardRef((e,t)=>{let{style:n,children:l}=e,o=r.useRef(null);return r.useImperativeHandle(t,()=>({isExceed:()=>{let e=o.current;return e.scrollHeight>e.clientHeight},getHeight:()=>o.current.clientHeight})),r.createElement("span",{"aria-hidden":!0,ref:o,style:Object.assign({position:"fixed",display:"block",left:0,top:0,pointerEvents:"none",backgroundColor:"rgba(255, 0, 0, 0.65)"},n)},l)}),eo=e=>e.reduce((e,t)=>e+(et(t)?String(t).length:1),0);function ea(e,t){let n=0,r=[];for(let l=0;l<e.length;l+=1){if(n===t)return r;let o=e[l],a=n+(et(o)?String(o).length:1);if(a>t){let e=t-n;return r.push(String(o).slice(0,e)),r}r.push(o),n=a}return e}let ei={display:"-webkit-box",overflow:"hidden",WebkitBoxOrient:"vertical"};function ec(e){let{enableMeasure:t,width:n,text:l,children:o,rows:a,expanded:i,miscDeps:u,onEllipsis:d}=e,p=r.useMemo(()=>(0,c.A)(l),[l]),f=r.useMemo(()=>eo(p),[l]),m=r.useMemo(()=>o(p,!1),[l]),[g,b]=r.useState(null),E=r.useRef(null),v=r.useRef(null),y=r.useRef(null),O=r.useRef(null),h=r.useRef(null),[S,x]=r.useState(!1),[A,C]=r.useState(0),[w,N]=r.useState(0),[R,T]=r.useState(null);(0,s.A)(()=>{t&&n&&f?C(1):C(0)},[n,l,a,t,p]),(0,s.A)(()=>{var e,t,n,r;if(1===A)C(2),T(v.current&&getComputedStyle(v.current).whiteSpace);else if(2===A){let l=!!(null===(e=y.current)||void 0===e?void 0:e.isExceed());C(l?3:4),b(l?[0,f]:null),x(l),N(Math.max((null===(t=y.current)||void 0===t?void 0:t.getHeight())||0,(1===a?0:(null===(n=O.current)||void 0===n?void 0:n.getHeight())||0)+((null===(r=h.current)||void 0===r?void 0:r.getHeight())||0))+1),d(l)}},[A]);let M=g?Math.ceil((g[0]+g[1])/2):0;(0,s.A)(()=>{var e;let[t,n]=g||[0,0];if(t!==n){let r=((null===(e=E.current)||void 0===e?void 0:e.getHeight())||0)>w,l=M;n-t==1&&(l=r?t:n),b(r?[t,l]:[l,n])}},[g,M]);let j=r.useMemo(()=>{if(!t)return o(p,!1);if(3!==A||!g||g[0]!==g[1]){let e=o(p,!1);return[4,0].includes(A)?e:r.createElement("span",{style:Object.assign(Object.assign({},ei),{WebkitLineClamp:a})},e)}return o(i?p:ea(p,g[0]),S)},[i,A,g,p].concat((0,er.A)(u))),I={width:n,margin:0,padding:0,whiteSpace:"nowrap"===R?"normal":"inherit"};return r.createElement(r.Fragment,null,j,2===A&&r.createElement(r.Fragment,null,r.createElement(el,{style:Object.assign(Object.assign(Object.assign({},I),ei),{WebkitLineClamp:a}),ref:y},m),r.createElement(el,{style:Object.assign(Object.assign(Object.assign({},I),ei),{WebkitLineClamp:a-1}),ref:O},m),r.createElement(el,{style:Object.assign(Object.assign(Object.assign({},I),ei),{WebkitLineClamp:1}),ref:h},o([],!0))),3===A&&g&&g[0]!==g[1]&&r.createElement(el,{style:Object.assign(Object.assign({},I),{top:400}),ref:E},o(ea(p,M),!0)),1===A&&r.createElement("span",{style:{whiteSpace:"inherit"},ref:v}))}let es=e=>{let{enableEllipsis:t,isEllipsis:n,children:l,tooltipProps:o}=e;return(null==o?void 0:o.title)&&t?r.createElement(O.A,Object.assign({open:!!n&&void 0},o),l):l};var eu=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var l=0,r=Object.getOwnPropertySymbols(e);l<r.length;l++)0>t.indexOf(r[l])&&Object.prototype.propertyIsEnumerable.call(e,r[l])&&(n[r[l]]=e[r[l]]);return n};let ed=r.forwardRef((e,t)=>{var n;let{prefixCls:o,className:m,style:g,type:b,disabled:h,children:S,ellipsis:x,editable:A,copyable:C,component:w,title:N}=e,R=eu(e,["prefixCls","className","style","type","disabled","children","ellipsis","editable","copyable","component","title"]),{getPrefixCls:T,direction:M}=r.useContext(v.QO),[j]=(0,y.A)("Text"),I=r.useRef(null),k=r.useRef(null),_=T("typography",o),U=(0,d.A)(R,["mark","code","delete","underline","strong","keyboard","italic"]),[P,D]=z(A),[L,H]=(0,u.A)(!1,{value:D.editing}),{triggerType:F=["icon"]}=D,B=e=>{var t;e&&(null===(t=D.onStart)||void 0===t||t.call(D)),H(e)},K=G(L);(0,s.A)(()=>{var e;!L&&K&&(null===(e=k.current)||void 0===e||e.focus())},[L]);let V=e=>{null==e||e.preventDefault(),B(!0)},[Y,q]=z(C),{copied:Z,copyLoading:J,onClick:ee}=W({copyConfig:q,children:S}),[er,el]=r.useState(!1),[eo,ea]=r.useState(!1),[ei,ed]=r.useState(!1),[ep,ef]=r.useState(!1),[em,eg]=r.useState(!0),[eb,eE]=z(x,{expandable:!1,symbol:e=>e?null==j?void 0:j.collapse:null==j?void 0:j.expand}),[ev,ey]=(0,u.A)(eE.defaultExpanded||!1,{value:eE.expanded}),eO=eb&&(!ev||"collapsible"===eE.expandable),{rows:eh=1}=eE,eS=r.useMemo(()=>eO&&(void 0!==eE.suffix||eE.onEllipsis||eE.expandable||P||Y),[eO,eE,P,Y]);(0,s.A)(()=>{eb&&!eS&&(el((0,f.F)("webkitLineClamp")),ea((0,f.F)("textOverflow")))},[eS,eb]);let[ex,eA]=r.useState(eO),eC=r.useMemo(()=>!eS&&(1===eh?eo:er),[eS,eo,er]);(0,s.A)(()=>{eA(eC&&eO)},[eC,eO]);let ew=eO&&(ex?ep:ei),eN=eO&&1===eh&&ex,eR=eO&&eh>1&&ex,eT=(e,t)=>{var n;ey(t.expanded),null===(n=eE.onExpand)||void 0===n||n.call(eE,e,t)},[eM,ej]=r.useState(0),eI=e=>{var t;ed(e),ei!==e&&(null===(t=eE.onEllipsis)||void 0===t||t.call(eE,e))};r.useEffect(()=>{let e=I.current;if(eb&&ex&&e){let t=function(e){let t=document.createElement("em");e.appendChild(t);let n=e.getBoundingClientRect(),r=t.getBoundingClientRect();return e.removeChild(t),n.left>r.left||r.right>n.right||n.top>r.top||r.bottom>n.bottom}(e);ep!==t&&ef(t)}},[eb,ex,S,eR,em,eM]),r.useEffect(()=>{let e=I.current;if("undefined"==typeof IntersectionObserver||!e||!ex||!eO)return;let t=new IntersectionObserver(()=>{eg(!!e.offsetParent)});return t.observe(e),()=>{t.disconnect()}},[ex,eO]);let ek=Q(eE.tooltip,D.text,S),e_=r.useMemo(()=>{if(eb&&!ex)return[D.text,S,N,ek.title].find(et)},[eb,ex,N,ek.title,ew]);if(L)return r.createElement($,{value:null!==(n=D.text)&&void 0!==n?n:"string"==typeof S?S:"",onSave:e=>{var t;null===(t=D.onChange)||void 0===t||t.call(D,e),B(!1)},onCancel:()=>{var e;null===(e=D.onCancel)||void 0===e||e.call(D),B(!1)},onEnd:D.onEnd,prefixCls:_,className:m,style:g,direction:M,component:w,maxLength:D.maxLength,autoSize:D.autoSize,enterIcon:D.enterIcon});let eU=()=>{let{expandable:e,symbol:t}=eE;return e?r.createElement(E,{key:"expand",className:`${_}-${ev?"collapse":"expand"}`,onClick:e=>eT(e,{expanded:!ev}),"aria-label":ev?j.collapse:null==j?void 0:j.expand},"function"==typeof t?t(ev):t):null},eP=()=>{if(!P)return;let{icon:e,tooltip:t,tabIndex:n}=D,o=(0,c.A)(t)[0]||(null==j?void 0:j.edit),a="string"==typeof o?o:"";return F.includes("icon")?r.createElement(O.A,{key:"edit",title:!1===t?"":o},r.createElement(E,{ref:k,className:`${_}-edit`,onClick:V,"aria-label":a,tabIndex:n},e||r.createElement(l.A,{role:"button"}))):null},eD=()=>Y?r.createElement(en,Object.assign({key:"copy"},q,{prefixCls:_,copied:Z,locale:j,onCopy:ee,loading:J,iconOnly:null==S})):null,eL=e=>[e&&eU(),eP(),eD()],eH=e=>[e&&!ev&&r.createElement("span",{"aria-hidden":!0,key:"ellipsis"},"..."),eE.suffix,eL(e)];return r.createElement(i.A,{onResize:e=>{let{offsetWidth:t}=e;ej(t)},disabled:!eO},n=>r.createElement(es,{tooltipProps:ek,enableEllipsis:eO,isEllipsis:ew},r.createElement(X,Object.assign({className:a()({[`${_}-${b}`]:b,[`${_}-disabled`]:h,[`${_}-ellipsis`]:eb,[`${_}-ellipsis-single-line`]:eN,[`${_}-ellipsis-multiple-line`]:eR},m),prefixCls:o,style:Object.assign(Object.assign({},g),{WebkitLineClamp:eR?eh:void 0}),component:w,ref:(0,p.K4)(n,I,t),direction:M,onClick:F.includes("text")?V:void 0,"aria-label":null==e_?void 0:e_.toString(),title:N},U),r.createElement(ec,{enableMeasure:eO&&!ex,text:S,rows:eh,width:eM,onEllipsis:eI,expanded:ev,miscDeps:[Z,ev,J,P,Y]},(t,n)=>(function(e,t){let{mark:n,code:l,underline:o,delete:a,strong:i,keyboard:c,italic:s}=e,u=t;function d(e,t){t&&(u=r.createElement(e,{},u))}return d("strong",i),d("u",o),d("del",a),d("code",l),d("mark",n),d("kbd",c),d("i",s),u})(e,r.createElement(r.Fragment,null,t.length>0&&n&&!ev&&e_?r.createElement("span",{key:"show-content","aria-hidden":!0},t):t,eH(n)))))))});var ep=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var l=0,r=Object.getOwnPropertySymbols(e);l<r.length;l++)0>t.indexOf(r[l])&&Object.prototype.propertyIsEnumerable.call(e,r[l])&&(n[r[l]]=e[r[l]]);return n};let ef=r.forwardRef((e,t)=>{var{ellipsis:n,rel:l}=e,o=ep(e,["ellipsis","rel"]);let a=Object.assign(Object.assign({},o),{rel:void 0===l&&"_blank"===o.target?"noopener noreferrer":l});return delete a.navigate,r.createElement(ed,Object.assign({},a,{ref:t,ellipsis:!!n,component:"a"}))}),em=r.forwardRef((e,t)=>r.createElement(ed,Object.assign({ref:t},e,{component:"div"})));var eg=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var l=0,r=Object.getOwnPropertySymbols(e);l<r.length;l++)0>t.indexOf(r[l])&&Object.prototype.propertyIsEnumerable.call(e,r[l])&&(n[r[l]]=e[r[l]]);return n};let eb=r.forwardRef((e,t)=>{var{ellipsis:n}=e,l=eg(e,["ellipsis"]);let o=r.useMemo(()=>n&&"object"==typeof n?(0,d.A)(n,["expandable","rows"]):n,[n]);return r.createElement(ed,Object.assign({ref:t},l,{ellipsis:o,component:"span"}))});var eE=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var l=0,r=Object.getOwnPropertySymbols(e);l<r.length;l++)0>t.indexOf(r[l])&&Object.prototype.propertyIsEnumerable.call(e,r[l])&&(n[r[l]]=e[r[l]]);return n};let ev=[1,2,3,4,5],ey=r.forwardRef((e,t)=>{let{level:n=1}=e,l=eE(e,["level"]),o=ev.includes(n)?`h${n}`:"h1";return r.createElement(ed,Object.assign({ref:t},l,{component:o}))});X.Text=eb,X.Link=ef,X.Title=ey,X.Paragraph=em;let eO=X},83042:(e,t,n)=>{"use strict";n(65640);var r=n(35664),l={"text/plain":"Text","text/html":"Url",default:"Text"};e.exports=function(e,t){var n,o,a,i,c,s,u,d=!1;t||(t={}),t.debug;try{if(i=r(),c=document.createRange(),s=document.getSelection(),(u=document.createElement("span")).textContent=e,u.ariaHidden="true",u.style.all="unset",u.style.position="fixed",u.style.top=0,u.style.clip="rect(0, 0, 0, 0)",u.style.whiteSpace="pre",u.style.webkitUserSelect="text",u.style.MozUserSelect="text",u.style.msUserSelect="text",u.style.userSelect="text",u.addEventListener("copy",function(n){if(n.stopPropagation(),t.format){if(n.preventDefault(),void 0===n.clipboardData){window.clipboardData.clearData();var r=l[t.format]||l.default;window.clipboardData.setData(r,e)}else n.clipboardData.clearData(),n.clipboardData.setData(t.format,e)}t.onCopy&&(n.preventDefault(),t.onCopy(n.clipboardData))}),document.body.appendChild(u),c.selectNodeContents(u),s.addRange(c),!document.execCommand("copy"))throw Error("copy command was unsuccessful");d=!0}catch(r){try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),d=!0}catch(r){n="message"in t?t.message:"Copy to clipboard: #{key}, Enter",o=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C",a=n.replace(/#{\s*key\s*}/g,o),window.prompt(a,e)}}finally{s&&("function"==typeof s.removeRange?s.removeRange(c):s.removeAllRanges()),u&&document.body.removeChild(u),i()}return d}},41526:(e,t,n)=>{"use strict";n.d(t,{F:()=>a});var r=n(80683),l=function(e){if((0,r.A)()&&window.document.documentElement){var t=Array.isArray(e)?e:[e],n=window.document.documentElement;return t.some(function(e){return e in n.style})}return!1},o=function(e,t){if(!l(e))return!1;var n=document.createElement("div"),r=n.style[e];return n.style[e]=t,n.style[e]!==r};function a(e,t){return Array.isArray(e)||void 0===t?l(e):o(e,t)}},84929:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(e){var t=e.keyCode;if(e.altKey&&!e.ctrlKey||e.metaKey||t>=r.F1&&t<=r.F12)return!1;switch(t){case r.ALT:case r.CAPS_LOCK:case r.CONTEXT_MENU:case r.CTRL:case r.DOWN:case r.END:case r.ESC:case r.HOME:case r.INSERT:case r.LEFT:case r.MAC_FF_META:case r.META:case r.NUMLOCK:case r.NUM_CENTER:case r.PAGE_DOWN:case r.PAGE_UP:case r.PAUSE:case r.PRINT_SCREEN:case r.RIGHT:case r.SHIFT:case r.UP:case r.WIN_KEY:case r.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(e){if(e>=r.ZERO&&e<=r.NINE||e>=r.NUM_ZERO&&e<=r.NUM_MULTIPLY||e>=r.A&&e<=r.Z||-1!==window.navigator.userAgent.indexOf("WebKit")&&0===e)return!0;switch(e){case r.SPACE:case r.QUESTION_MARK:case r.NUM_PLUS:case r.NUM_MINUS:case r.NUM_PERIOD:case r.NUM_DIVISION:case r.SEMICOLON:case r.DASH:case r.EQUALS:case r.COMMA:case r.PERIOD:case r.SLASH:case r.APOSTROPHE:case r.SINGLE_QUOTE:case r.OPEN_SQUARE_BRACKET:case r.BACKSLASH:case r.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}};let l=r},35664:e=>{e.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],r=0;r<e.rangeCount;r++)n.push(e.getRangeAt(r));switch(t.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":t.blur();break;default:t=null}return e.removeAllRanges(),function(){"Caret"===e.type&&e.removeAllRanges(),e.rangeCount||n.forEach(function(t){e.addRange(t)}),t&&t.focus()}}}}]);