1 line
17 KiB
JavaScript
1 line
17 KiB
JavaScript
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2004],{5471:(e,t,r)=>{let o=r(5979),{mergeAttributesWithElements:n}=r(8205);e.exports=(e,t={})=>o(n(e),t)},5979:e=>{e.exports=(e,t={})=>{let r=t.char||" ",o=t.count||2,n=0,i=[];return e.reverse().reduce((e,t)=>{i.length&&n&&i[n]&&i[n]===t.substring(1,i[n].length+1)&&(i.splice(n,1),n--);let a=r.repeat(n?n*o:0),c=[`${a}${t}`,...e];return"</"===t.substring(0,2)&&(i[++n]=t.substring(2,t.length-1)),c},[]).join("\n")}},8205:e=>{let t=e=>e.trim().replace(/(^(\s|\t)+|(( |\t)+)$)/gm,"");e.exports={mergeAttributesWithElements:e=>{let r=t(e).split("\n"),o=[],n="";for(let e=0;e<r.length;e+=1){let t=r[e];if(t.endsWith("/>")){o.push(`${n}${t.slice(0,-2)} />`),n="";continue}if(t.endsWith(">")){o.push(`${n}${t.startsWith(">")||t.startsWith("<")?"":" "}${t}`),n="";continue}n+=n.length?` ${t}`:t}return o},removeEmptyLines:t}},8453:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});let o=(0,r(5737).A)("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]])},1356:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});let o=(0,r(5737).A)("CircleMinus",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M8 12h8",key:"1wcyev"}]])},9894:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});let o=(0,r(5737).A)("CirclePlus",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M8 12h8",key:"1wcyev"}],["path",{d:"M12 8v8",key:"napkw2"}]])},7845:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});let o=(0,r(5737).A)("CopyPlus",[["line",{x1:"15",x2:"15",y1:"12",y2:"18",key:"1p7wdc"}],["line",{x1:"12",x2:"18",y1:"15",y2:"15",key:"1nscbv"}],["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]])},3238:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});let o=(0,r(5737).A)("Ellipsis",[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}]])},4769:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});let o=(0,r(5737).A)("FileCog",[["path",{d:"M4 22h14a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v2",key:"17k7jt"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["circle",{cx:"6",cy:"14",r:"3",key:"a1xfv6"}],["path",{d:"M6 10v1",key:"xs0f9j"}],["path",{d:"M6 17v1",key:"idyhc0"}],["path",{d:"M10 14H9",key:"m5fm2q"}],["path",{d:"M3 14H2",key:"19ot09"}],["path",{d:"m9 11-.88.88",key:"lhul2b"}],["path",{d:"M3.88 16.12 3 17",key:"169z9n"}],["path",{d:"m9 17-.88-.88",key:"5io96w"}],["path",{d:"M3.88 11.88 3 11",key:"1ynhy1"}]])},1333:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});let o=(0,r(5737).A)("FileX2",[["path",{d:"M4 22h14a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v4",key:"1pf5j1"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"m8 12.5-5 5",key:"b853mi"}],["path",{d:"m3 12.5 5 5",key:"1qls4r"}]])},2276:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});let o=(0,r(5737).A)("Grid2x2",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 12h18",key:"1i2n21"}],["path",{d:"M12 3v18",key:"108xh3"}]])},6446:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});let o=(0,r(5737).A)("Lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]])},8190:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});let o=(0,r(5737).A)("Sheet",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["line",{x1:"3",x2:"21",y1:"9",y2:"9",key:"1vqk6q"}],["line",{x1:"3",x2:"21",y1:"15",y2:"15",key:"o2sbyz"}],["line",{x1:"9",x2:"9",y1:"9",y2:"21",key:"1ib60c"}],["line",{x1:"15",x2:"15",y1:"9",y2:"21",key:"1n26ft"}]])},2836:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});let o=(0,r(5737).A)("SquarePen",[["path",{d:"M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7",key:"1m0v6g"}],["path",{d:"M18.375 2.625a2.121 2.121 0 1 1 3 3L12 15l-4 1 1-4Z",key:"1lpok0"}]])},640:function(e,t,r){"use strict";var o=this&&this.__assign||function(){return(o=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.ArrowContainer=void 0;var n=r(4848),i=r(6540),a=r(6305);t.ArrowContainer=function(e){var t=e.childRect,r=e.popoverRect,c=e.position,s=e.arrowColor,l=e.arrowSize,u=e.arrowClassName,d=e.arrowStyle,p=e.className,f=e.children,h=e.style,v=(0,a.useArrowContainer)({childRect:t,popoverRect:r,position:c,arrowColor:s,arrowSize:l}),y=v.arrowContainerStyle,g=v.arrowStyle,m=(0,i.useMemo)(function(){return o(o({},y),h)},[y,h]),b=(0,i.useMemo)(function(){return o(o({},g),d)},[g,d]);return(0,n.jsxs)("div",{className:p,style:m,children:[(0,n.jsx)("div",{style:b,className:u}),f]})}},5143:function(e,t,r){"use strict";var o=this&&this.__assign||function(){return(o=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.Popover=t.usePopover=t.ArrowContainer=t.useArrowContainer=void 0;var n=r(4848),i=r(6540),a=r(1953),c=r(2456),s=r(3148);Object.defineProperty(t,"usePopover",{enumerable:!0,get:function(){return s.usePopover}});var l=r(1292),u=r(2128),d=r(6305);Object.defineProperty(t,"useArrowContainer",{enumerable:!0,get:function(){return d.useArrowContainer}});var p=r(640);Object.defineProperty(t,"ArrowContainer",{enumerable:!0,get:function(){return p.ArrowContainer}});var f=["top","left","right","bottom"],h=(0,i.forwardRef)(function(e,t){var r=e.isOpen,o=e.children,d=e.content,p=e.positions,h=void 0===p?f:p,v=e.align,y=void 0===v?"center":v,g=e.padding,m=void 0===g?0:g,b=e.reposition,R=void 0===b||b,w=e.parentElement,x=void 0===w?window.document.body:w,k=e.boundaryElement,C=void 0===k?x:k,P=e.containerClassName,M=e.containerStyle,E=e.transform,A=e.transformMode,_=void 0===A?"absolute":A,j=e.boundaryInset,O=void 0===j?0:j,N=e.onClickOutside,T=e.clickOutsideCapture,L=void 0!==T&&T,S=(0,l.useMemoizedArray)(Array.isArray(h)?h:[h]),I=(0,u.useHandlePrevValues)({positions:S,reposition:R,transformMode:_,transform:E,boundaryElement:C,boundaryInset:O}),V=I.prev,q=I.updatePrevValues,z=(0,i.useRef)(),B=(0,i.useState)({align:y,nudgedLeft:0,nudgedTop:0,position:S[0],padding:m,childRect:c.EMPTY_RECT,popoverRect:c.EMPTY_RECT,parentRect:c.EMPTY_RECT,boundaryRect:c.EMPTY_RECT,boundaryInset:O,violations:c.EMPTY_RECT,hasViolations:!1}),Y=B[0],$=B[1],F=(0,i.useCallback)(function(e){return $(e)},[]),H=(0,s.usePopover)({isOpen:r,childRef:z,containerClassName:P,parentElement:x,boundaryElement:C,transform:E,transformMode:_,positions:S,align:y,padding:m,boundaryInset:O,reposition:R,onPositionPopover:F}),W=H.positionPopover,D=H.popoverRef,G=H.scoutRef;(0,i.useLayoutEffect)(function(){var e=!0,t=function(){var o,n;if(r&&e){var i=null===(o=null==z?void 0:z.current)||void 0===o?void 0:o.getBoundingClientRect(),a=null===(n=null==D?void 0:D.current)||void 0===n?void 0:n.getBoundingClientRect();null==i||null==a||(0,c.rectsAreEqual)(i,Y.childRect)&&a.width===Y.popoverRect.width&&a.height===Y.popoverRect.height&&Y.padding===m&&Y.align===y&&S===V.positions&&R===V.reposition&&_===V.transformMode&&E===V.transform&&C===V.boundaryElement&&O===V.boundaryInset||W(),q(),e&&window.requestAnimationFrame(t)}};return t(),function(){e=!1}},[y,C,O,r,m,D,Y.align,Y.childRect,Y.padding,Y.popoverRect.height,Y.popoverRect.width,W,S,V.boundaryElement,V.boundaryInset,V.positions,V.reposition,V.transform,V.transformMode,R,E,_,q]),(0,i.useEffect)(function(){var e=D.current;return Object.assign(e.style,M),function(){Object.keys(null!=M?M:{}).forEach(function(t){return delete e.style[t]})}},[M,r,D]);var X=(0,i.useCallback)(function(e){var t,o;!r||(null===(t=D.current)||void 0===t?void 0:t.contains(e.target))||(null===(o=z.current)||void 0===o?void 0:o.contains(e.target))||null==N||N(e)},[r,N,D]),Z=(0,i.useCallback)(function(){z.current&&window.requestAnimationFrame(function(){return W()})},[W]);(0,i.useEffect)(function(){var e=x.ownerDocument.body;return e.addEventListener("click",X,L),e.addEventListener("contextmenu",X,L),e.addEventListener("resize",Z),function(){e.removeEventListener("click",X,L),e.removeEventListener("contextmenu",X,L),e.removeEventListener("resize",Z)}},[L,X,Z,x]);var J=(0,i.useCallback)(function(e){z.current=e,null!=t&&("object"==typeof t?t.current=e:"function"==typeof t&&t(e))},[t]);return(0,n.jsxs)(n.Fragment,{children:[(0,i.cloneElement)(o,{ref:J}),r?(0,n.jsx)(a.PopoverPortal,{element:D.current,scoutElement:G.current,container:x,children:"function"==typeof d?d(Y):d}):null]})});t.Popover=(0,i.forwardRef)(function(e,t){return"undefined"==typeof window?e.children:(0,n.jsx)(h,o({},e,{ref:t}))})},1953:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PopoverPortal=void 0;var o=r(6540),n=r(961);t.PopoverPortal=function(e){var t=e.container,r=e.element,i=e.scoutElement,a=e.children;return(0,o.useLayoutEffect)(function(){return t.appendChild(r),t.appendChild(i),function(){t.removeChild(r),t.removeChild(i)}},[t,r,i]),(0,n.createPortal)(a,r)}},6305:function(e,t,r){"use strict";var o=this&&this.__assign||function(){return(o=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.useArrowContainer=void 0;var n=r(6540);t.useArrowContainer=function(e){var t=e.childRect,r=e.popoverRect,i=e.position,a=e.arrowSize,c=e.arrowColor;return{arrowContainerStyle:(0,n.useMemo)(function(){return{padding:a}},[a]),arrowStyle:(0,n.useMemo)(function(){return o({position:"absolute"},function(){var e=2*a,o=t.top-r.top+t.height/2-e/2,n=t.left-r.left+t.width/2-e/2,s=r.width-a,l=r.height-a;switch(n=(n=n<a?a:n)+e>s?s-e:n,o=Number.isNaN(o=(o=o<a?a:o)+e>l?l-e:o)?0:o,n=Number.isNaN(n)?0:n,i){case"right":return{borderTop:"".concat(a,"px solid transparent"),borderBottom:"".concat(a,"px solid transparent"),borderRight:"".concat(a,"px solid ").concat(c),left:0,top:o};case"left":return{borderTop:"".concat(a,"px solid transparent"),borderBottom:"".concat(a,"px solid transparent"),borderLeft:"".concat(a,"px solid ").concat(c),right:0,top:o};case"bottom":return{borderLeft:"".concat(a,"px solid transparent"),borderRight:"".concat(a,"px solid transparent"),borderBottom:"".concat(a,"px solid ").concat(c),top:0,left:n};case"top":return{borderLeft:"".concat(a,"px solid transparent"),borderRight:"".concat(a,"px solid transparent"),borderTop:"".concat(a,"px solid ").concat(c),bottom:0,left:n};default:return{display:"hidden"}}}())},[c,a,t.height,t.left,t.top,t.width,r.height,r.left,r.top,r.width,i])}}},5116:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useElementRef=void 0;var o=r(6540),n=r(2456);t.useElementRef=function(e){var t=e.containerClassName,r=e.containerStyle,i=(0,o.useRef)(),a=(0,o.useState)(function(){return(0,n.createContainer)({containerStyle:r,containerClassName:t})})[0];return(0,o.useLayoutEffect)(function(){a.className=t},[t,a]),(0,o.useLayoutEffect)(function(){Object.assign(a.style,r)},[r,a]),i.current=a,i}},2128:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useHandlePrevValues=void 0;var o=r(6540);t.useHandlePrevValues=function(e){var t=(0,o.useRef)(e.positions),r=(0,o.useRef)(e.reposition),n=(0,o.useRef)(e.transformMode),i=(0,o.useRef)(e.transform),a=(0,o.useRef)(e.boundaryElement),c=(0,o.useRef)(e.boundaryInset),s=(0,o.useCallback)(function(){t.current=e.positions,r.current=e.reposition,n.current=e.transformMode,i.current=e.transform,a.current=e.boundaryElement,c.current=e.boundaryInset},[e.boundaryElement,e.boundaryInset,e.positions,e.reposition,e.transform,e.transformMode]);return{prev:{positions:t.current,reposition:r.current,transformMode:n.current,transform:i.current,boundaryElement:a.current,boundaryInset:c.current},updatePrevValues:s}}},1292:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useMemoizedArray=void 0;var o=r(6540);t.useMemoizedArray=function(e){var t=(0,o.useRef)(e);return(0,o.useMemo)(function(){if(t.current===e)return t.current;if(t.current.length!==e.length)return t.current=e,e;for(var r=0;r<e.length;r+=1)if(e[r]!==t.current[r])return t.current=e,e;return t.current},[e])}},3148:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.usePopover=void 0;var o=r(6540),n=r(2456),i=r(5116),a={position:"fixed",overflow:"visible",top:"0px",left:"0px"},c={position:"fixed",top:"0px",left:"0px",width:"0px",height:"0px",visibility:"hidden"};t.usePopover=function(e){var t=e.isOpen,r=e.childRef,s=e.positions,l=e.containerClassName,u=e.parentElement,d=e.transform,p=e.transformMode,f=e.align,h=e.padding,v=e.reposition,y=e.boundaryInset,g=e.boundaryElement,m=e.onPositionPopover,b=(0,i.useElementRef)({containerClassName:"react-tiny-popover-scout",containerStyle:c}),R=(0,i.useElementRef)({containerClassName:null!=l&&l.length>0&&"react-tiny-popover-container"!==l?"react-tiny-popover-container ".concat(l):"react-tiny-popover-container",containerStyle:a}),w=(0,o.useCallback)(function(e){var o,i,a=void 0===e?{}:e,c=a.positionIndex,l=void 0===c?0:c,x=a.parentRect,k=void 0===x?u.getBoundingClientRect():x,C=a.childRect,P=void 0===C?null===(o=null==r?void 0:r.current)||void 0===o?void 0:o.getBoundingClientRect():C,M=a.scoutRect,E=void 0===M?null===(i=null==b?void 0:b.current)||void 0===i?void 0:i.getBoundingClientRect():M,A=a.popoverRect,_=void 0===A?R.current.getBoundingClientRect():A,j=a.boundaryRect,O=void 0===j?g===u?k:g.getBoundingClientRect():j;if(P&&k&&t){if(d&&"absolute"===p){var N="function"==typeof d?d({childRect:P,popoverRect:_,parentRect:k,boundaryRect:O,padding:h,align:f,nudgedTop:0,nudgedLeft:0,boundaryInset:y,violations:n.EMPTY_RECT,hasViolations:!1}):d,T=N.top,L=N.left,S=Math.round(k.left+L-E.left),I=Math.round(k.top+T-E.top);R.current.style.transform="translate(".concat(S,"px, ").concat(I,"px)"),m({childRect:P,popoverRect:(0,n.createRect)({left:S,top:I,width:_.width,height:_.height}),parentRect:k,boundaryRect:O,padding:h,align:f,transform:{top:T,left:L},nudgedTop:0,nudgedLeft:0,boundaryInset:y,violations:n.EMPTY_RECT,hasViolations:!1});return}var V=l===s.length,q=V?s[0]:s[l],z=(0,n.getNewPopoverRect)({childRect:P,popoverRect:_,boundaryRect:O,position:q,align:f,padding:h,reposition:v},y),B=z.rect;if(z.boundaryViolation&&v&&!V){w({positionIndex:l+1,childRect:P,popoverRect:_,parentRect:k,boundaryRect:O});return}var Y=B.top,$=B.left,F=B.width,H=B.height,W=v&&!V,D=(0,n.getNudgedPopoverRect)(B,O,y),G=D.left,X=D.top,Z=Y,J=$;W&&(Z=X,J=G),Z=Math.round(Z-E.top),J=Math.round(J-E.left),R.current.style.transform="translate(".concat(J,"px, ").concat(Z,"px)");var K={top:O.top+y-Z,left:O.left+y-J,right:J+F-O.right+y,bottom:Z+H-O.bottom+y},Q={childRect:P,popoverRect:(0,n.createRect)({left:J,top:Z,width:F,height:H}),parentRect:k,boundaryRect:O,position:q,align:f,padding:h,nudgedTop:X-Y,nudgedLeft:G-$,boundaryInset:y,violations:{top:K.top<=0?0:K.top,left:K.left<=0?0:K.left,right:K.right<=0?0:K.right,bottom:K.bottom<=0?0:K.bottom},hasViolations:K.top>0||K.left>0||K.right>0||K.bottom>0};if(d){m(Q);var U="function"==typeof d?d(Q):d,ee=U.top,et=U.left;R.current.style.transform="translate(".concat(Math.round(J+(null!=et?et:0)),"px, ").concat(Math.round(Z+(null!=ee?ee:0)),"px)"),Q.nudgedLeft+=null!=et?et:0,Q.nudgedTop+=null!=ee?ee:0,Q.transform={top:ee,left:et}}m(Q)}},[u,r,b,R,g,t,d,p,s,f,h,v,y,m]);return{positionPopover:w,popoverRef:R,scoutRef:b}}},2456:function(e,t){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.getNudgedPopoverRect=t.getNewPopoverRect=t.popoverRectForPosition=t.createContainer=t.rectsAreEqual=t.createRect=t.EMPTY_RECT=void 0,t.EMPTY_RECT={top:0,left:0,right:0,bottom:0,width:0,height:0},t.createRect=function(e){var t=e.top,r=e.left,o=e.width,n=e.height;return{top:t,left:r,width:o,height:n,right:r+o,bottom:t+n}},t.rectsAreEqual=function(e,t){return e===t||(null==e?void 0:e.bottom)===(null==t?void 0:t.bottom)&&(null==e?void 0:e.height)===(null==t?void 0:t.height)&&(null==e?void 0:e.left)===(null==t?void 0:t.left)&&(null==e?void 0:e.right)===(null==t?void 0:t.right)&&(null==e?void 0:e.top)===(null==t?void 0:t.top)&&(null==e?void 0:e.width)===(null==t?void 0:t.width)},t.createContainer=function(e){var t=e.containerStyle,r=e.containerClassName,o=window.document.createElement("div");return r&&(o.className=r),Object.assign(o.style,t),o},t.popoverRectForPosition=function(e,r,o,n,i){var a,c,s=r.left+r.width/2,l=r.top+r.height/2,u=o.width,d=o.height;switch(e){case"left":a=l-d/2,c=r.left-n-u,"start"===i&&(a=r.top),"end"===i&&(a=r.bottom-d);break;case"bottom":a=r.bottom+n,c=s-u/2,"start"===i&&(c=r.left),"end"===i&&(c=r.right-u);break;case"right":a=l-d/2,c=r.right+n,"start"===i&&(a=r.top),"end"===i&&(a=r.bottom-d);break;default:a=r.top-d-n,c=s-u/2,"start"===i&&(c=r.left),"end"===i&&(c=r.right-u)}return(0,t.createRect)({left:c,top:a,width:u,height:d})},t.getNewPopoverRect=function(e,r){var o=e.position,n=e.align,i=e.childRect,a=e.popoverRect,c=e.boundaryRect,s=e.padding,l=e.reposition,u=(0,t.popoverRectForPosition)(o,i,a,s,n),d=l&&("top"===o&&u.top<c.top+r||"left"===o&&u.left<c.left+r||"right"===o&&u.right>c.right-r||"bottom"===o&&u.bottom>c.bottom-r);return{rect:u,boundaryViolation:d}},t.getNudgedPopoverRect=function(e,o,n){var i=o.top+n,a=o.left+n,c=o.right-n,s=o.bottom-n,l=e.top<i?i:e.top;l=l+e.height>s?s-e.height:l;var u=e.left<a?a:e.left;return u=u+e.width>c?c-e.width:u,(0,t.createRect)(r(r({},e),{top:l,left:u}))}}}]); |