try{!function(){var 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]="b4867a74-0e22-4a30-99a1-893c65843cd1",e._sentryDebugIdIdentifier="sentry-dbid-b4867a74-0e22-4a30-99a1-893c65843cd1")}()}catch(e){}!function(){try{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{}).SENTRY_RELEASE={id:"dd305b9a707fe1fc2ae01eb09726abafb220e121"}}catch(e){}}(),(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})}}}]);