try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="426c6b69-6318-47fd-854d-6087fcd666a3",e._sentryDebugIdIdentifier="sentry-dbid-426c6b69-6318-47fd-854d-6087fcd666a3")}catch(e){}("undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:{}).SENTRY_RELEASE={id:"5d40e988866bc1ced9436c4523b12b814ae5cda9"};(self.webpackChunkcloud_frontend=self.webpackChunkcloud_frontend||[]).push([[7281],{7281:(e,t,r)=>{r.r(t),r.d(t,{default:()=>l,dropInFlavour:()=>d});r(98992),r(23215),r(54520);var n=r(96540),a=r(43375),o=r(74848);const i={activationConstraint:{delay:50,tolerance:10}},d={dropArea:"dropArea",dashboard:"dashboard",self:"self"},l=e=>{let{children:t}=e;const r=(0,n.useCallback)((e=>{const{active:t}=e,{isResizer:r,itemId:n,itemContainerId:o,rootId:i,navigationTab:d}=t.data.current||{};if(d)return(0,a.fp)({...e,droppableContainers:e.droppableContainers.filter((e=>e.data.current.sortable&&e.data.current.navigationTab))});if(r){const r=e.droppableRects.get(n)||e.droppableRects.get(`${i}-${n}`);return(0,a.Qo)({...e,collisionRect:{...r,...t.rect.current.translated&&{width:r.width+(t.rect.current.translated.right-t.rect.current.initial.right),height:r.height+(t.rect.current.translated.bottom-t.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.TT)({...e,droppableContainers:s}),l.length>0)return l;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,i),(0,a.MS)(a.IG,i));return(0,o.jsx)(a.Mp,{sensors:d,collisionDetection:r,measuring:{droppable:{strategy:a.Pf.Always},draggable:{measure:a.Sj}},autoScroll:!1,children:t})}}}]);