!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"95b7c22eb8a2502481fe65c08f3bb8d7c317f943"};var r=(new e.Error).stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="9b249bfa-8315-41d6-b96e-7ef21974d581",e._sentryDebugIdIdentifier="sentry-dbid-9b249bfa-8315-41d6-b96e-7ef21974d581")}catch(e){}}(),(globalThis.webpackChunkcloud_frontend=globalThis.webpackChunkcloud_frontend||[]).push([[7281],{7281(e,r,t){t.r(r),t.d(r,{default:()=>l,dropInFlavour:()=>d});t(98992),t(23215),t(54520),t(37550);var n=t(96540),a=t(43375),o=t(74848);const i={activationConstraint:{delay:50,tolerance:10}},d={dropArea:"dropArea",dashboard:"dashboard",self:"self"},l=e=>{let{children:r,autoScroll:t=!0}=e;const d=(0,n.useCallback)(e=>{const{active:r}=e,{isResizer:t,itemId:n,itemContainerId:o,rootId:i,navigationTab:d}=r.data.current||{};if(d)return(0,a.fp)({...e,droppableContainers:e.droppableContainers.filter(e=>e.data.current.sortable&&e.data.current.navigationTab)});if(t){const t=e.droppableRects.get(n)||e.droppableRects.get(`${i}-${n}`);return(0,a.Qo)({...e,collisionRect:{...t,...r.rect.current.translated&&{width:t.width+(r.rect.current.translated.right-r.rect.current.initial.right),height:t.height+(r.rect.current.translated.bottom-r.rect.current.initial.bottom)}},droppableContainers:e.droppableContainers.filter(e=>!e.data.current?.isContainer&&e.data.current.itemContainerId===o)})}let l,s=e.droppableContainers.filter(e=>e.data.current.droppable);if(s.length){if(l=(0,a.TT)({...e,droppableContainers:s}),l.length>0||s.every(e=>e.data.current.onlyPointerWithin))return l;if(l=(0,a.Qo)({...e,droppableContainers:s.filter(e=>!e.data.current.onlyPointerWithin)}),l.length>0)return l}if(s=e.droppableContainers.filter(e=>e.data.current.dropArea),l=(0,a.Qo)({...e,droppableContainers:s}),l.length>0){const r=(0,a.TT)({...e,droppableContainers:s.filter(e=>l.some(r=>r.id===e.id))});if(r.length>0)return r}const c=(0,a.TT)({...e,droppableContainers:e.droppableContainers.filter(e=>!(e.data.current?.isResizer||e.id===n))});return c.length>0?c:(0,a.fp)({...e,droppableContainers:e.droppableContainers.filter(e=>!(e.data.current?.isResizer||e.id===n))})},[]),l=(0,a.FR)((0,a.MS)(a.cA,i),(0,a.MS)(a.IG,i));return(0,o.jsx)(a.Mp,{sensors:l,collisionDetection:d,measuring:{droppable:{strategy:a.Pf.Always},draggable:{measure:a.Sj}},autoScroll:t,children:r})}}}]);