!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"d59f3e13055072acb481db3c59603d296982e8b2"};var r=(new e.Error).stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="4c6218cf-6d47-4921-ae50-a671649dd17d",e._sentryDebugIdIdentifier="sentry-dbid-4c6218cf-6d47-4921-ae50-a671649dd17d")}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),i=t(74848);const o={activationConstraint:{delay:50,tolerance:10}},d={dropArea:"dropArea",dashboard:"dashboard",self:"self"},l=e=>{let{children:r}=e;const t=(0,n.useCallback)(e=>{const{active:r}=e,{isResizer:t,itemId:n,itemContainerId:i,rootId:o,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(`${o}-${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===i)})}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))})},[]),d=(0,a.FR)((0,a.MS)(a.cA,o),(0,a.MS)(a.IG,o));return(0,i.jsx)(a.Mp,{sensors:d,collisionDetection:t,measuring:{droppable:{strategy:a.Pf.Always},draggable:{measure:a.Sj}},autoScroll:!1,children:r})}}}]);