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]="a83f78f4-cf4e-4798-a71d-dd4e6495506c",e._sentryDebugIdIdentifier="sentry-dbid-a83f78f4-cf4e-4798-a71d-dd4e6495506c")}catch(e){}("undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:{}).SENTRY_RELEASE={id:"b0610930f891423c3567547ad7119d4cfa1f1e68"};(self.webpackChunkcloud_frontend=self.webpackChunkcloud_frontend||[]).push([[7281],{7281:(e,t,r)=>{r.r(t),r.d(t,{default:()=>d,dropInFlavour:()=>i});r(98992),r(23215),r(54520);var n=r(96540),a=r(43375);const o={activationConstraint:{delay:50,tolerance:10}},i={dropArea:"dropArea",dashboard:"dashboard",self:"self"},d=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)))})}),[]),i=(0,a.FR)((0,a.MS)(a.cA,o),(0,a.MS)(a.IG,o));return n.createElement(a.Mp,{sensors:i,collisionDetection:r,measuring:{droppable:{strategy:a.Pf.Always},draggable:{measure:a.Sj}},autoScroll:!1},t)}}}]);