PageSourceSearch

https://umami-production-f008.up.railway.app/_next/static/chunks/6428e5e4-35be7cdecf03cb46.js

js umami-production-f008.up.railway.app collected 2026-10-03 12:14:58 UTC 82,942 bytes, 60 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5210],{11410:(e,t,r)=>{r.d(t,{JY:()=>nU,gL:()=>lP,sx:()=>n7});var n=r(13647),l=r(17022),i=r(40752),a=r(37712),o=r(93103),d=r(9798),s=r(21995),u=r(19843),c=r(41739);let p=/[ \t]{2,}/g,f=/^[ \t]*/gm,g=e=>e.replace(p," ").replace(f,"").trim(),m=e=>g(`
2  %c@hello-pangea/dnd
3
4  %c${g(e)}
5
6  %c👷‍ This is a development only message. It will be removed in production builds.
7`);function b(e,t){}b.bind(null,"warn");let h=b.bind(null,"error");function y(){}function v(e,t,r){let n=t.map(t=>{var n;let l=(n=t.options,{...r,...n});return e.addEventListener(t.eventName,t.fn,l),function(){e.removeEventListener(t.eventName,t.fn,l)}});return function(){n.forEach(e=>{e()})}}class I extends Error{}function x(e,t){throw new I("Invariant failed")}I.prototype.toString=function(){return this.message};class D extends n.Component{constructor(...e){super(...e),this.callbacks=null,this.unbind=y,this.onWindowError=e=>{let t=this.getCallbacks();t.isDragging()&&t.tryAbort(),e.error instanceof I&&e.preventDefault()},this.getCallbacks=()=>{if(!this.callbacks)throw Error("Unable to find AppCallbacks in <ErrorBoundary/>");return this.callbacks},this.setCallbacks=e=>{this.callbacks=e}}componentDidMount(){this.unbind=v(window,[{eventName:"error",fn:this.onWindowError}])}componentDidCatch(e){if(e instanceof I)return void this.setState({});throw e}componentWillUnmount(){this.unbind()}render(){return this.props.children(this.setCallbacks)}}let E=e=>e+1,A=(e,t)=>{let r=e.droppableId===t.droppableId,n=E(e.index),l=E(t.index);return r?`
8      You have moved the item from position ${n}
9      to position ${l}
10    `:`
11    You have moved the item from position ${n}
12    in list ${e.droppableId}
13    to list ${t.droppableId}
14    in position ${l}
15  `},N=(e,t,r)=>t.droppableId===r.droppableId?`
16      The item ${e}
17      has been combined with ${r.draggableId}`:`
18      The item ${e}
19      in list ${t.droppableId}
20      has been combined with ${r.draggableId}
21      in list ${r.droppableId}
22    `,C=e=>`
23  The item has returned to its starting position
24  of ${E(e.index)}
25`,R={dragHandleUsageInstructions:`
26  Press space bar to start a drag.
27  When dragging you can use the arrow keys to move the item around and escape to cancel.
28  Some screen readers may require you to be in focus mode or to use your pass through key
29`,onDragStart:e=>`
30  You have lifted an item in position ${E(e.source.index)}
31`,onDragUpdate:e=>{let t=e.destination;if(t)return A(e.source,t);let r=e.combine;return r?N(e.draggableId,e.source,r):"You are over an area that cannot be dropped on"},onDragEnd:e=>{if("CANCEL"===e.reason)return`
32      Movement cancelled.
33      ${C(e.source)}
34    `;let t=e.destination,r=e.combine;return t?`
35      You have dropped the item.
36      ${A(e.source,t)}
37    `:r?`
38      You have dropped the item.
39      ${N(e.draggableId,e.source,r)}
40    `:`
41    The item has been dropped while not over a drop area.
42    ${C(e.source)}
43  `}},P={x:0,y:0},w=(e,t)=>({x:e.x+t.x,y:e.y+t.y}),O=(e,t)=>({x:e.x-t.x,y:e.y-t.y}),S=(e,t)=>e.x===t.x&&e.y===t.y,B=e=>({x:0!==e.x?-e.x:0,y:0!==e.y?-e.y:0}),G=(e,t,r=0)=>"x"===e?{x:t,y:r}:{x:r,y:t},L=(e,t)=>Math.sqrt((t.x-e.x)**2+(t.y-e.y)**2),T=(e,t)=>Math.min(...t.map(t=>L(e,t))),_=e=>t=>({x:e(t.x),y:e(t.y)});var M=(e,t)=>{let r=(0,d.l)({top:Math.max(t.top,e.top),right:Math.min(t.right,e.right),bottom:Math.min(t.bottom,e.bottom),left:Math.max(t.left,e.left)});return r.width<=0||r.height<=0?null:r};let F=(e,t)=>({top:e.top+t.y,left:e.left+t.x,bottom:e.bottom+t.y,right:e.right+t.x}),k=e=>[{x:e.left,y:e.top},{x:e.right,y:e.top},{x:e.left,y:e.bottom},{x:e.right,y:e.bottom}],$=(e,t)=>t?F(e,t.scroll.diff.displacement):e,W=(e,t,r)=>r&&r.increasedBy?{...e,[t.end]:e[t.end]+r.increasedBy[t.line]}:e,U=(e,t)=>t&&t.shouldClipSubject?M(t.pageMarginBox,e):(0,d.l)(e);var H=({page:e,withPlaceholder:t,axis:r,frame:n})=>{let l=U(W($(e.marginBox,n),r,t),n);return{page:e,withPlaceholder:t,active:l}},V=(e,t)=>{e.frame||x();let r=e.frame,n=O(t,r.scroll.initial),l=B(n),i={...r,scroll:{initial:r.scroll.initial,current:t,diff:{value:n,displacement:l},max:r.scroll.max}},a=H({page:e.subject.page,withPlaceholder:e.subject.withPlaceholder,axis:e.axis,frame:i});return{...e,frame:i,subject:a}};let K=(0,s.A)(e=>e.reduce((e,t)=>
43(e[t.descriptor.id]=t,e),{})),j=(0,s.A)(e=>e.reduce((e,t)=>(e[t.descriptor.id]=t,e),{})),z=(0,s.A)(e=>Object.values(e)),q=(0,s.A)(e=>Object.values(e));var Y=(0,s.A)((e,t)=>q(t).filter(t=>e===t.descriptor.droppableId).sort((e,t)=>e.descriptor.index-t.descriptor.index));function J(e){return e.at&&"REORDER"===e.at.type?e.at.destination:null}function X(e){return e.at&&"COMBINE"===e.at.type?e.at.combine:null}var Q=(0,s.A)((e,t)=>t.filter(t=>t.descriptor.id!==e.descriptor.id)),Z=({isMovingForward:e,draggable:t,destination:r,insideDestination:n,previousImpact:l})=>{if(!r.isCombineEnabled||!J(l))return null;function i(e){let t={type:"COMBINE",combine:{draggableId:e,droppableId:r.descriptor.id}};return{...l,at:t}}let a=l.displaced.all,o=a.length?a[0]:null;if(e)return o?i(o):null;let d=Q(t,n);if(!o)return d.length?i(d[d.length-1].descriptor.id):null;let s=d.findIndex(e=>e.descriptor.id===o);-1===s&&x();let u=s-1;return u<0?null:i(d[u].descriptor.id)},ee=(e,t)=>e.descriptor.droppableId===t.descriptor.id;let et={point:P,value:0},er={invisible:{},visible:{},all:[]},en={displaced:er,displacedBy:et,at:null};var el=(e,t)=>r=>e<=r&&r<=t,ei=e=>{let t=el(e.top,e.bottom),r=el(e.left,e.right);return n=>{if(t(n.top)&&t(n.bottom)&&r(n.left)&&r(n.right))return!0;let l=t(n.top)||t(n.bottom),i=r(n.left)||r(n.right);if(l&&i)return!0;let a=n.top<e.top&&n.bottom>e.bottom,o=n.left<e.left&&n.right>e.right;return!!a&&!!o||a&&i||o&&l}},ea=e=>{let t=el(e.top,e.bottom),r=el(e.left,e.right);return e=>t(e.top)&&t(e.bottom)&&r(e.left)&&r(e.right)};let eo={direction:"vertical",line:"y",crossAxisLine:"x",start:"top",end:"bottom",size:"height",crossAxisStart:"left",crossAxisEnd:"right",crossAxisSize:"width"},ed={direction:"horizontal",line:"x",crossAxisLine:"y",start:"left",end:"right",size:"width",crossAxisStart:"top",crossAxisEnd:"bottom",crossAxisSize:"height"};var es=e=>t=>{let r=el(t.top,t.bottom),n=el(t.left,t.right);return t=>e===eo?r(t.top)&&r(t.bottom):n(t.left)&&n(t.right)};let eu=(e,t)=>F(e,t.frame?t.frame.scroll.diff.displacement:P),ec=(e,t,r)=>!!t.subject.active&&r(t.subject.active)(e),ep=(e,t,r)=>r(t)(e),ef=({target:e,destination:t,viewport:r,withDroppableDisplacement:n,isVisibleThroughFrameFn:l})=>{let i=n?eu(e,t):e;return ec(i,t,l)&&ep(i,r,l)},eg=e=>ef({...e,isVisibleThroughFrameFn:ei}),em=e=>ef({...e,isVisibleThroughFrameFn:ea}),eb=e=>ef({...e,isVisibleThroughFrameFn:es(e.destination.axis)}),eh=(e,t,r)=>{if("boolean"==typeof r)return r;if(!t)return!0;let{invisible:n,visible:l}=t;if(n[e])return!1;let i=l[e];return!i||i.shouldAnimate};function ey({afterDragging:e,destination:t,displacedBy:r,viewport:n,forceShouldAnimate:l,last:i}){return e.reduce(function(e,a){let o=function(e,t){let r=e.page.marginBox,n={top:t.point.y,right:0,bottom:0,left:t.point.x};return(0,d.l)((0,d.fT)(r,n))}(a,r),s=a.descriptor.id;if(e.all.push(s),!eg({target:o,destination:t,viewport:n,withDroppableDisplacement:!0}))return e.invisible[a.descriptor.id]=!0,e;let u=eh(s,i,l);return e.visible[s]={draggableId:s,shouldAnimate:u},e},{all:[],visible:{},invisible:{}})}function ev({insideDestination:e,inHomeList:t,displacedBy:r,destination:n}){let l=function(e,t){if(!e.length)return 0;let r=e[e.length-1].descriptor.index;return t.inHomeList?r:r+1}(e,{inHomeList:t});return{displaced:er,displacedBy:r,at:{type:"REORDER",destination:{droppableId:n.descriptor.id,index:l}}}}function eI({draggable:e,insideDestination:t,destination:r,viewport:n,displacedBy:l,last:i,index:a,forceShouldAnimate:o}){let d=ee(e,r);if(null==a)return ev({insideDestination:t,inHomeList:d,displacedBy:l,destination:r});let s=t.find(e=>e.descriptor.index===a);if(!s)return ev({insideDestination:t,inHomeList:d,displacedBy:l,destination:r});let u=Q(e,t),c=t.indexOf(s);return{displaced:ey({afterDragging:u.slice(c),destination:r,displacedBy:l,last:i,viewport:n.frame,forceShouldAnimate:o}),displacedBy:l,at:{type:"REORDER",destination:{droppableId:r.descriptor.id,index:a}}}}function ex(e,t){return!!t.effected[e]}var eD=({isMovingForward:e,destination:t,draggables:r,combine:n,afterCritical:l})=>{if(!t.isCombineEnabled)return null;let i=n.draggableId,a=r[i].descriptor.index;return ex(i,l)?e?a:a-1:e?a+1:a},eE=({isMovingForward:e,isInHomeList:t,insideDestination:r,location:n})=>{if(!r.length)return null;let l=n.index,i=e?l+1:l-1,a=r[0].descriptor.index,o=r[r.length-1].descriptor.index;return i<a||i>(t?o:o+1)?null:i},eA=({isMovingForward:e,isInHomeList:t,draggable:r,draggables:n,destination:l,insideDestination:i,previousImpact:a,viewport:o,afterCritical:d})=>{let s=a.at;if(s||x(),"REORDER"===s.type){let n=eE({isMovingForward:e,isInHomeList:t,location:s.destination,insideDestination:i});return null==n?null:eI({draggable:r,insideDestination:i,destination:l,viewport:o,last:a.displaced,displacedBy:a.displacedBy,index:n})}let u=eD({isMovingForward:e,destination:l,displaced:a.displaced,draggables:n,combine:s.combine,afterCritical:d});return null==u?null:eI({draggable:r,insideDestination:i,destination:l,viewport:o,last:a.displaced,displacedBy:a.displacedBy,index:u})}
43,eN=({displaced:e,afterCritical:t,combineWith:r,displacedBy:n})=>{let l=!!(e.visible[r]||e.invisible[r]);return ex(r,t)?l?P:B(n.point):l?n.point:P},eC=({afterCritical:e,impact:t,draggables:r})=>{let n=X(t);n||x();let l=n.draggableId;return w(r[l].page.borderBox.center,eN({displaced:t.displaced,afterCritical:e,combineWith:l,displacedBy:t.displacedBy}))};let eR=(e,t)=>t.margin[e.start]+t.borderBox[e.size]/2,eP=(e,t)=>t.margin[e.end]+t.borderBox[e.size]/2,ew=(e,t,r)=>t[e.crossAxisStart]+r.margin[e.crossAxisStart]+r.borderBox[e.crossAxisSize]/2,eO=({axis:e,moveRelativeTo:t,isMoving:r})=>G(e.line,t.marginBox[e.end]+eR(e,r),ew(e,t.marginBox,r)),eS=({axis:e,moveRelativeTo:t,isMoving:r})=>G(e.line,t.marginBox[e.start]-eP(e,r),ew(e,t.marginBox,r)),eB=({axis:e,moveInto:t,isMoving:r})=>G(e.line,t.contentBox[e.start]+eR(e,r),ew(e,t.contentBox,r));var eG=({impact:e,draggable:t,draggables:r,droppable:n,afterCritical:l})=>{let i=Y(n.descriptor.id,r),a=t.page,o=n.axis;if(!i.length)return eB({axis:o,moveInto:n.page,isMoving:a});let{displaced:s,displacedBy:u}=e,c=s.all[0];if(c){let e=r[c];return ex(c,l)?eS({axis:o,moveRelativeTo:e.page,isMoving:a}):eS({axis:o,moveRelativeTo:(0,d.cY)(e.page,u.point),isMoving:a})}let p=i[i.length-1];return p.descriptor.id===t.descriptor.id?a.borderBox.center:ex(p.descriptor.id,l)?eO({axis:o,moveRelativeTo:(0,d.cY)(p.page,B(l.displacedBy.point)),isMoving:a}):eO({axis:o,moveRelativeTo:p.page,isMoving:a})},eL=(e,t)=>{let r=e.frame;return r?w(t,r.scroll.diff.displacement):t};let eT=({impact:e,draggable:t,droppable:r,draggables:n,afterCritical:l})=>{let i=t.page.borderBox.center,a=e.at;return r&&a?"REORDER"===a.type?eG({impact:e,draggable:t,draggables:n,droppable:r,afterCritical:l}):eC({impact:e,draggables:n,afterCritical:l}):i};var e_=e=>{let t=eT(e),r=e.droppable;return r?eL(r,t):t},eM=(e,t)=>{let r=O(t,e.scroll.initial),n=B(r);return{frame:(0,d.l)({top:t.y,bottom:t.y+e.frame.height,left:t.x,right:t.x+e.frame.width}),scroll:{initial:e.scroll.initial,max:e.scroll.max,current:t,diff:{value:r,displacement:n}}}};function eF(e,t){return e.map(e=>t[e])}var ek=({impact:e,viewport:t,destination:r,draggables:n,maxScrollChange:l})=>{let i=eM(t,w(t.scroll.current,l)),a=r.frame?V(r,w(r.frame.scroll.current,l)):r,o=e.displaced,d=ey({afterDragging:eF(o.all,n),destination:r,displacedBy:e.displacedBy,viewport:i.frame,last:o,forceShouldAnimate:!1}),s=ey({afterDragging:eF(o.all,n),destination:a,displacedBy:e.displacedBy,viewport:t.frame,last:o,forceShouldAnimate:!1}),u={},c={},p=[o,d,s];return o.all.forEach(e=>{let t=function(e,t){for(let r=0;r<t.length;r++){let n=t[r].visible[e];if(n)return n}return null}(e,p);if(t){c[e]=t;return}u[e]=!0}),{...e,displaced:{all:o.all,invisible:u,visible:c}}},e$=(e,t)=>w(e.scroll.diff.displacement,t),eW=({pageBorderBoxCenter:e,draggable:t,viewport:r})=>{let n=O(e$(r,e),t.page.borderBox.center);return w(t.client.borderBox.center,n)},eU=({draggable:e,destination:t,newPageBorderBoxCenter:r,viewport:n,withDroppableDisplacement:l,onlyOnMainAxis:i=!1})=>{let a=O(r,e.page.borderBox.center),o={target:F(e.page.borderBox,a),destination:t,withDroppableDisplacement:l,viewport:n};return i?eb(o):em(o)},eH=({isMovingForward:e,draggable:t,destination:r,draggables:n,previousImpact:l,viewport:i,previousPageBorderBoxCenter:a,previousClientSelection:o,afterCritical:d})=>{if(!r.isEnabled)return null;let s=Y(r.descriptor.id,n),u=ee(t,r),c=Z({isMovingForward:e,draggable:t,destination:r,insideDestination:s,previousImpact:l})||eA({isMovingForward:e,isInHomeList:u,draggable:t,draggables:n,destination:r,insideDestination:s,previousImpact:l,viewport:i,afterCritical:d});if(!c)return null;let p=e_({impact:c,draggable:t,droppable:r,draggables:n,afterCritical:d});if(eU({draggable:t,destination:r,newPageBorderBoxCenter:p,viewport:i.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0}))return{clientSelection:eW({pageBorderBoxCenter:p,draggable:t,viewport:i}),impact:c,scrollJumpRequest:null};let f=O(p,a);return{clientSelection:o,impact:ek({impact:c,viewport:i,destination:r,draggables:n,maxScrollChange:f}),scrollJumpRequest:f}};let eV=e=>{let t=e.subject.active;return t||x(),t};var eK=({isMovingForward:e,pageBorderBoxCenter:t,source:r,droppables:n,viewport:l})=>{let i=r.subject.active;if(!i)return null;let a=r.axis,o=el(i[a.start],i[a.end]),d=z(n).filter(e=>e!==r).filter(e=>e.isEnabled).filter(e=>!!e.subject.active).filter(e=>ei(l.frame)(eV(e))).filter(t=>{let r=eV(t);return e?i[a.crossAxisEnd]<r[a.crossAxisEnd]:r[a.crossAxisStart]<i[a.crossAxisStart]}).filter(e=>{let t=eV(e),r=el(t[a.start],t[a.end]);return o(t[a.start])||o(t[a.end])||r(i[a.start])||r(i[a.end])}).sort((t,r)=>{let n=eV(t)[a.crossAxisStart],l=eV(r)[a.crossAxisStart];return e?n-l:l-n}).filter((e,t,r)=>eV(e)[a.crossAxisStart]===eV(r[0])[a.crossAxisStart]);if(!d.length)return null;if(1===d.length)return d[0];let s=d.filter(e=>el(eV(e)[a.start],eV(e)[a.end])(t[a.line]));return 1===s.length?s[0]:s.length>1?s.sort((e,t)=>
43eV(e)[a.start]-eV(t)[a.start])[0]:d.sort((e,r)=>{let n=T(t,k(eV(e))),l=T(t,k(eV(r)));return n!==l?n-l:eV(e)[a.start]-eV(r)[a.start]})[0]};let ej=(e,t)=>{let r=e.page.borderBox.center;return ex(e.descriptor.id,t)?O(r,t.displacedBy.point):r},ez=(e,t)=>{let r=e.page.borderBox;return ex(e.descriptor.id,t)?F(r,B(t.displacedBy.point)):r};var eq=({pageBorderBoxCenter:e,viewport:t,destination:r,insideDestination:n,afterCritical:l})=>n.filter(e=>em({target:ez(e,l),destination:r,viewport:t.frame,withDroppableDisplacement:!0})).sort((t,n)=>{let i=L(e,eL(r,ej(t,l))),a=L(e,eL(r,ej(n,l)));return i<a?-1:a<i?1:t.descriptor.index-n.descriptor.index})[0]||null,eY=(0,s.A)(function(e,t){let r=t[e.line];return{value:r,point:G(e.line,r)}});let eJ=(e,t,r)=>{let n=e.axis;if("virtual"===e.descriptor.mode)return G(n.line,t[n.line]);let l=e.subject.page.contentBox[n.size],i=Y(e.descriptor.id,r).reduce((e,t)=>e+t.client.marginBox[n.size],0)+t[n.line]-l;return i<=0?null:G(n.line,i)},eX=(e,t)=>({...e,scroll:{...e.scroll,max:t}}),eQ=(e,t,r)=>{let n=e.frame;ee(t,e)&&x(),e.subject.withPlaceholder&&x();let l=eY(e.axis,t.displaceBy).point,i=eJ(e,l,r),a={placeholderSize:l,increasedBy:i,oldFrameMaxScroll:e.frame?e.frame.scroll.max:null};if(!n){let t=H({page:e.subject.page,withPlaceholder:a,axis:e.axis,frame:e.frame});return{...e,subject:t}}let o=i?w(n.scroll.max,i):n.scroll.max,d=eX(n,o),s=H({page:e.subject.page,withPlaceholder:a,axis:e.axis,frame:d});return{...e,subject:s,frame:d}},eZ=e=>{let t=e.subject.withPlaceholder;t||x();let r=e.frame;if(!r){let t=H({page:e.subject.page,axis:e.axis,frame:null,withPlaceholder:null});return{...e,subject:t}}let n=t.oldFrameMaxScroll;n||x();let l=eX(r,n),i=H({page:e.subject.page,axis:e.axis,frame:l,withPlaceholder:null});return{...e,subject:i,frame:l}};var e0=({previousPageBorderBoxCenter:e,moveRelativeTo:t,insideDestination:r,draggable:n,draggables:l,destination:i,viewport:a,afterCritical:o})=>{if(!t){if(r.length)return null;let e={displaced:er,displacedBy:et,at:{type:"REORDER",destination:{droppableId:i.descriptor.id,index:0}}},t=e_({impact:e,draggable:n,droppable:i,draggables:l,afterCritical:o}),d=ee(n,i)?i:eQ(i,n,l);return eU({draggable:n,destination:d,newPageBorderBoxCenter:t,viewport:a.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0})?e:null}let d=e[i.axis.line]<=t.page.borderBox.center[i.axis.line],s=(()=>{let e=t.descriptor.index;return t.descriptor.id===n.descriptor.id||d?e:e+1})(),u=eY(i.axis,n.displaceBy);return eI({draggable:n,insideDestination:r,destination:i,viewport:a,displacedBy:u,last:er,index:s})},e1=({isMovingForward:e,previousPageBorderBoxCenter:t,draggable:r,isOver:n,draggables:l,droppables:i,viewport:a,afterCritical:o})=>{let d=eK({isMovingForward:e,pageBorderBoxCenter:t,source:n,droppables:i,viewport:a});if(!d)return null;let s=Y(d.descriptor.id,l),u=eq({pageBorderBoxCenter:t,viewport:a,destination:d,insideDestination:s,afterCritical:o}),c=e0({previousPageBorderBoxCenter:t,destination:d,draggable:r,draggables:l,moveRelativeTo:u,insideDestination:s,viewport:a,afterCritical:o});return c?{clientSelection:eW({pageBorderBoxCenter:e_({impact:c,draggable:r,droppable:d,draggables:l,afterCritical:o}
43),draggable:r,viewport:a}),impact:c,scrollJumpRequest:null}:null},e2=e=>{let t=e.at;return t?"REORDER"===t.type?t.destination.droppableId:t.combine.droppableId:null};let e3=(e,t)=>{let r=e2(e);return r?t[r]:null};var e5=({state:e,type:t})=>{let r=e3(e.impact,e.dimensions.droppables),n=!!r,l=e.dimensions.droppables[e.critical.droppable.id],i=r||l,a=i.axis.direction,o="vertical"===a&&("MOVE_UP"===t||"MOVE_DOWN"===t)||"horizontal"===a&&("MOVE_LEFT"===t||"MOVE_RIGHT"===t);if(o&&!n)return null;let d="MOVE_DOWN"===t||"MOVE_RIGHT"===t,s=e.dimensions.draggables[e.critical.draggable.id],u=e.current.page.borderBoxCenter,{draggables:c,droppables:p}=e.dimensions;return o?eH({isMovingForward:d,previousPageBorderBoxCenter:u,draggable:s,destination:i,draggables:c,viewport:e.viewport,previousClientSelection:e.current.client.selection,previousImpact:e.impact,afterCritical:e.afterCritical}):e1({isMovingForward:d,previousPageBorderBoxCenter:u,draggable:s,isOver:i,draggables:c,droppables:p,viewport:e.viewport,afterCritical:e.afterCritical})};function e7(e){return"DRAGGING"===e.phase||"COLLECTING"===e.phase}function e4(e){let t=el(e.top,e.bottom),r=el(e.left,e.right);return function(e){return t(e.y)&&r(e.x)}}let e9=(e,t)=>(0,d.l)(F(e,t));var e8=(e,t)=>{let r=e.frame;return r?e9(t,r.scroll.diff.value):t};function e6({displaced:e,id:t}){return!!(e.visible[t]||e.invisible[t])}var te=({pageBorderBoxWithDroppableScroll:e,draggable:t,destination:r,insideDestination:n,last:l,viewport:i,afterCritical:a})=>{let o=r.axis,d=eY(r.axis,t.displaceBy),s=d.value,u=e[o.start],c=e[o.end],p=Q(t,n).find(e=>{let t=e.descriptor.id,r=e.page.borderBox.center[o.line],n=ex(t,a),i=e6({displaced:l,id:t});return n?i?c<=r:u<r-s:i?c<=r+s:u<r})||null,f=function({draggable:e,closest:t,inHomeList:r}){return t?r&&t.descriptor.index>e.descriptor.index?t.descriptor.index-1:t.descriptor.index:null}({draggable:t,closest:p,inHomeList:ee(t,r)});return eI({draggable:t,insideDestination:n,destination:r,viewport:i,last:l,displacedBy:d,index:f})},tt=({draggable:e,pageBorderBoxWithDroppableScroll:t,previousImpact:r,destination:n,insideDestination:l,afterCritical:i})=>{if(!n.isCombineEnabled)return null;let a=n.axis,o=eY(n.axis,e.displaceBy),d=o.value,s=t[a.start],u=t[a.end],c=Q(e,l).find(e=>{let t=e.descriptor.id,n=e.page.borderBox,l=n[a.size]/4,o=ex(t,i),c=e6({displaced:r.displaced,id:t});return o?c?u>n[a.start]+l&&u<n[a.end]-l:s>n[a.start]-d+l&&s<n[a.end]-d-l:c?u>n[a.start]+d+l&&u<n[a.end]+d-l:s>n[a.start]+l&&s<n[a.end]-l});return c?{displacedBy:o,displaced:r.displaced,at:{type:"COMBINE",combine:{draggableId:c.descriptor.id,droppableId:n.descriptor.id}}}:null},tr=({pageOffset:e,draggable:t,draggables:r,droppables:n,previousImpact:l,viewport:i,afterCritical:a})=>{let o=e9(t.page.borderBox,e),d=function({pageBorderBox:e,draggable:t,droppables:r}){let n=z(r).filter(t=>{if(!t.isEnabled)return!1;let r=t.subject.active;if(!r||!(e.left<r.right)||!(e.right>r.left)||!(e.top<r.bottom)||!(e.bottom>r.top))return!1;if(e4(r)(e.center))return!0;let n=t.axis,l=r.center[n.crossAxisLine],i=e[n.crossAxisStart],a=e[n.crossAxisEnd],o=el(r[n.crossAxisStart],r[n.crossAxisEnd]),d=o(i),s=o(a);return!d&&!s||(d?i<l:a>l)});return n.length?1===n.length?n[0].descriptor.id:function({pageBorderBox:e,draggable:t,candidates:r}){let n=t.page.borderBox.center,l=r.map(t=>{let r=t.axis,l=G(t.axis.line,e.center[r.line],t.page.borderBox.center[r.crossAxisLine]);return{id:t.descriptor.id,distance:L(n,l)}}).sort((e,t)=>t.distance-e.distance);return l[0]?l[0].id:null}({pageBorderBox:e,draggable:t,candidates:n}):null}({pageBorderBox:o,draggable:t,droppables:n});if(!d)return en;let s=n[d],u=Y(s.descriptor.id,r),c=e8(s,o);return tt({pageBorderBoxWithDroppableScroll:c,draggable:t,previousImpact:l,destination:s,insideDestination:u,afterCritical:a})||te({pageBorderBoxWithDroppableScroll:c,draggable:t,destination:s,insideDestination:u,last:l.displaced,viewport:i,afterCritical:a})},tn=(e,t)=>({...e,[t.descriptor.id]:t});let tl=({previousImpact:e,impact:t,droppables:r})=>{let n=e2(e),l=e2(t);if(!n||n===l)return r;let i=r[n];return i.subject.withPlaceholder?tn(r,eZ(i)):r};var ti=({draggable:e,draggables:t,droppables:r,previousImpact:n,impact:l})=>{let i=tl({previousImpact:n,impact:l,droppables:r}),a=e2(l);if(!a)return i;let o=r[a];return ee(e,o)||o.subject.withPlaceholder?i:tn(i,eQ(o,e,t))},ta=({state:e,clientSelection:t,dimensions:r,viewport:n,impact:l,scrollJumpRequest:i})=>{let a=n||e.viewport,o=r||e.dimensions,d=t||e.current.client.selection,s=O(d,e.initial.client.selection),u={offset:s,selection:d,borderBoxCenter:w(e.initial.client.borderBoxCenter,s)},c={selection:w(u.selection,a.scroll.current),borderBoxCenter:w(u.borderBoxCenter,a.scroll.current),offset:w(u.offset,a.scroll.diff.value)},p={client:u,page:c};
43if("COLLECTING"===e.phase)return{...e,dimensions:o,viewport:a,current:p};let f=o.draggables[e.critical.draggable.id],g=l||tr({pageOffset:c.offset,draggable:f,draggables:o.draggables,droppables:o.droppables,previousImpact:e.impact,viewport:a,afterCritical:e.afterCritical}),m=ti({draggable:f,impact:g,previousImpact:e.impact,draggables:o.draggables,droppables:o.droppables});return{...e,current:p,dimensions:{draggables:o.draggables,droppables:m},impact:g,viewport:a,scrollJumpRequest:i||null,forceShouldAnimate:!i&&null}},to=({impact:e,viewport:t,draggables:r,destination:n,forceShouldAnimate:l})=>{var i;let a=e.displaced,o=ey({afterDragging:(i=a.all,i.map(e=>r[e])),destination:n,displacedBy:e.displacedBy,viewport:t.frame,forceShouldAnimate:l,last:a});return{...e,displaced:o}},td=({impact:e,draggable:t,droppable:r,draggables:n,viewport:l,afterCritical:i})=>eW({pageBorderBoxCenter:e_({impact:e,draggable:t,draggables:n,droppable:r,afterCritical:i}),draggable:t,viewport:l}),ts=({state:e,dimensions:t,viewport:r})=>{"SNAP"!==e.movementMode&&x();let n=e.impact,l=r||e.viewport,i=t||e.dimensions,{draggables:a,droppables:o}=i,d=a[e.critical.draggable.id],s=e2(n);s||x();let u=o[s],c=to({impact:n,viewport:l,destination:u,draggables:a}),p=td({impact:c,draggable:d,droppable:u,draggables:a,viewport:l,afterCritical:e.afterCritical});return ta({impact:c,clientSelection:p,state:e,dimensions:i,viewport:l})},tu=e=>({index:e.index,droppableId:e.droppableId}),tc=({draggable:e,home:t,draggables:r,viewport:n})=>{let l=eY(t.axis,e.displaceBy),i=Y(t.descriptor.id,r),a=i.indexOf(e);-1===a&&x();let o=i.slice(a+1),d=o.reduce((e,t)=>(e[t.descriptor.id]=!0,e),{}),s={inVirtualList:"virtual"===t.descriptor.mode,displacedBy:l,effected:d};return{impact:{displaced:ey({afterDragging:o,destination:t,displacedBy:l,last:null,viewport:n.frame,forceShouldAnimate:!1}),displacedBy:l,at:{type:"REORDER",destination:tu(e.descriptor)}},afterCritical:s}},tp=(e,t)=>({draggables:e.draggables,droppables:tn(e.droppables,t)});let tf=e=>{},tg=e=>{};var tm=({draggable:e,offset:t,initialWindowScroll:r})=>{let n=(0,d.cY)(e.client,t),l=(0,d.SQ)(n,r);return{...e,placeholder:{...e.placeholder,client:n},client:n,page:l}},tb=e=>{let t=e.frame;return t||x(),t},th=({additions:e,updatedDroppables:t,viewport:r})=>{let n=r.scroll.diff.value;return e.map(e=>{let l=w(n,tb(t[e.descriptor.droppableId]).scroll.diff.value);return tm({draggable:e,offset:l,initialWindowScroll:r.scroll.initial})})},ty=({state:e,published:t})=>{tf();let r=t.modified.map(t=>V(e.dimensions.droppables[t.droppableId],t.scroll)),n={...e.dimensions.droppables,...K(r)},l=j(th({additions:t.additions,updatedDroppables:n,viewport:e.viewport})),i={...e.dimensions.draggables,...l};t.removals.forEach(e=>{delete i[e]});let a={droppables:n,draggables:i},o=e2(e.impact),d=o?a.droppables[o]:null,{impact:s,afterCritical:u}=tc({draggable:a.draggables[e.critical.draggable.id],home:a.droppables[e.critical.droppable.id],draggables:i,viewport:e.viewport}),c=d&&d.isCombineEnabled?e.impact:s,p=tr({pageOffset:e.current.page.offset,draggable:a.draggables[e.critical.draggable.id],draggables:a.draggables,droppables:a.droppables,previousImpact:c,viewport:e.viewport,afterCritical:u});tg("Processing dynamic changes");let f={...e,phase:"DRAGGING",impact:p,onLiftImpact:s,dimensions:a,afterCritical:u,forceShouldAnimate:!1};return"COLLECTING"===e.phase?f:{...f,phase:"DROP_PENDING",reason:e.reason,isWaiting:!1}};let tv=e=>"SNAP"===e.movementMode,tI=(e,t,r)=>{let n=tp(e.dimensions,t);return!tv(e)||r?ta({state:e,dimensions:n}):ts({state:e,dimensions:n})};function tx(e){return e.isDragging&&"SNAP"===e.movementMode?{...e,scrollJumpRequest:null}:e}let tD={phase:"IDLE",completed:null,shouldFlush:!1};var tE=(e=tD,t)=>{if("FLUSH"===t.type)return{...tD,shouldFlush:!0};if("INITIAL_PUBLISH"===t.type){"IDLE"!==e.phase&&x();let{critical:r,clientSelection:n,viewport:l,dimensions:i,movementMode:a}=t.payload,o=i.draggables[r.draggable.id],d=i.droppables[r.droppable.id],s={selection:n,borderBoxCenter:o.client.borderBox.center,offset:P},u={client:s,page:{selection:w(s.selection,l.scroll.initial),borderBoxCenter:w(s.selection,l.scroll.initial),offset:w(s.selection,l.scroll.diff.value)}},c=z(i.droppables).every(e=>!e.isFixedOnPage),{impact:p,afterCritical:f}=tc({draggable:o,home:d,draggables:i.draggables,viewport:l});
43return{phase:"DRAGGING",isDragging:!0,critical:r,movementMode:a,dimensions:i,initial:u,current:u,isWindowScrollAllowed:c,impact:p,afterCritical:f,onLiftImpact:p,viewport:l,scrollJumpRequest:null,forceShouldAnimate:null}}if("COLLECTION_STARTING"===t.type)return"COLLECTING"===e.phase||"DROP_PENDING"===e.phase?e:("DRAGGING"!==e.phase&&x(),{...e,phase:"COLLECTING"});if("PUBLISH_WHILE_DRAGGING"===t.type)return"COLLECTING"!==e.phase&&"DROP_PENDING"!==e.phase&&x(),ty({state:e,published:t.payload});if("MOVE"===t.type){if("DROP_PENDING"===e.phase)return e;e7(e)||x();let{client:r}=t.payload;return S(r,e.current.client.selection)?e:ta({state:e,clientSelection:r,impact:tv(e)?e.impact:null})}if("UPDATE_DROPPABLE_SCROLL"===t.type){if("DROP_PENDING"===e.phase||"COLLECTING"===e.phase)return tx(e);e7(e)||x();let{id:r,newScroll:n}=t.payload,l=e.dimensions.droppables[r];return l?tI(e,V(l,n),!1):e}if("UPDATE_DROPPABLE_IS_ENABLED"===t.type){if("DROP_PENDING"===e.phase)return e;e7(e)||x();let{id:r,isEnabled:n}=t.payload,l=e.dimensions.droppables[r];return l||x(),l.isEnabled===n&&x(),tI(e,{...l,isEnabled:n},!0)}if("UPDATE_DROPPABLE_IS_COMBINE_ENABLED"===t.type){if("DROP_PENDING"===e.phase)return e;e7(e)||x();let{id:r,isCombineEnabled:n}=t.payload,l=e.dimensions.droppables[r];return l||x(),l.isCombineEnabled===n&&x(),tI(e,{...l,isCombineEnabled:n},!0)}if("MOVE_BY_WINDOW_SCROLL"===t.type){if("DROP_PENDING"===e.phase||"DROP_ANIMATING"===e.phase)return e;e7(e)||x(),e.isWindowScrollAllowed||x();let r=t.payload.newScroll;if(S(e.viewport.scroll.current,r))return tx(e);let n=eM(e.viewport,r);return tv(e)?ts({state:e,viewport:n}):ta({state:e,viewport:n})}if("UPDATE_VIEWPORT_MAX_SCROLL"===t.type){if(!e7(e))return e;let r=t.payload.maxScroll;if(S(r,e.viewport.scroll.max))return e;let n={...e.viewport,scroll:{...e.viewport.scroll,max:r}};return{...e,viewport:n}}if("MOVE_UP"===t.type||"MOVE_DOWN"===t.type||"MOVE_LEFT"===t.type||"MOVE_RIGHT"===t.type){if("COLLECTING"===e.phase||"DROP_PENDING"===e.phase)return e;"DRAGGING"!==e.phase&&x();let r=e5({state:e,type:t.type});return r?ta({state:e,impact:r.impact,clientSelection:r.clientSelection,scrollJumpRequest:r.scrollJumpRequest}):e}if("DROP_PENDING"===t.type){let r=t.payload.reason;return"COLLECTING"!==e.phase&&x(),{...e,phase:"DROP_PENDING",isWaiting:!0,reason:r}}if("DROP_ANIMATE"===t.type){let{completed:r,dropDuration:n,newHomeClientOffset:l}=t.payload;return"DRAGGING"!==e.phase&&"DROP_PENDING"!==e.phase&&x(),{phase:"DROP_ANIMATING",completed:r,dropDuration:n,newHomeClientOffset:l,dimensions:e.dimensions}}if("DROP_COMPLETE"===t.type){let{completed:e}=t.payload;return{phase:"IDLE",completed:e,shouldFlush:!1}}return e};function tA(e,t){return e instanceof Object&&"type"in e&&e.type===t}let tN=e=>({type:"BEFORE_INITIAL_CAPTURE",payload:e}),tC=e=>({type:"LIFT",payload:e}),tR=e=>({type:"INITIAL_PUBLISH",payload:e}),tP=e=>({type:"PUBLISH_WHILE_DRAGGING",payload:e}),tw=()=>({type:"COLLECTION_STARTING",payload:null}),tO=e=>({type:"UPDATE_DROPPABLE_SCROLL",payload:e}),tS=e=>({type:"UPDATE_DROPPABLE_IS_ENABLED",payload:e}),tB=e=>({type:"UPDATE_DROPPABLE_IS_COMBINE_ENABLED",payload:e}),tG=e=>({type:"MOVE",payload:e}),tL=e=>({type:"MOVE_BY_WINDOW_SCROLL",payload:e}),tT=()=>({type:"MOVE_UP",payload:null}),t_=()=>({type:"MOVE_DOWN",payload:null}),tM=()=>({type:"MOVE_RIGHT",payload:null}),tF=()=>({type:"MOVE_LEFT",payload:null}),tk=()=>({type:"FLUSH",payload:null}),t$=e=>({type:"DROP_ANIMATE",payload:e}),tW=e=>({type:"DROP_COMPLETE",payload:e}),tU=e=>({type:"DROP",payload:e}),tH=e=>({type:"DROP_PENDING",payload:e}),tV=()=>({type:"DROP_ANIMATION_FINISHED",payload:null});var tK=e=>({getState:t,dispatch:r})=>n=>l=>{if(!tA(l,"LIFT"))return void n(l);let{id:i,clientSelection:a,movementMode:o}=l.payload,d=t();"DROP_ANIMATING"===d.phase&&r(tW({completed:d.completed})),"IDLE"!==t().phase&&x(),r(tk()),r(tN({draggableId:i,movementMode:o}));let{critical:s,dimensions:u,viewport:c}=e.startPublishing({draggableId:i,scrollOptions:{shouldPublishImmediately:"SNAP"===o}});r(tR({critical:s,dimensions:u,clientSelection:a,movementMode:o,viewport:c}))},tj=e=>()=>t=>r=>{tA(r,"INITIAL_PUBLISH")&&e.dragging(),tA(r,"DROP_ANIMATE")&&e.dropping(r.payload.completed.result.reason),(tA(r,"FLUSH")||tA(r,"DROP_COMPLETE"))&&e.resting(),t(r)};let tz={outOfTheWay:"cubic-bezier(0.2, 0, 0, 1)",drop:"cubic-bezier(.2,1,.1,1)"},tq={opacity:{drop:0,combining:.7},scale:{drop:.75}},tY={outOfTheWay:.2,minDropTime:.33,maxDropTime:.55},tJ=`${tY.outOfTheWay}s ${tz.outOfTheWay}`,tX={fluid:`opacity ${tJ}`,snap:`transform ${tJ}, opacity ${tJ}`,drop:e=>{let t=`${e}s ${tz.drop}`;return`transform ${t}, opacity ${t}`},outOfTheWay:`transform ${tJ}`,placeholder:`height ${tJ}, width ${tJ}, margin ${tJ}`},tQ=e=>S(e,P)?void 0:`translate(${e.x}px, ${e.y}px)`,tZ={moveTo:tQ,drop:(e,t)=>{let r=tQ(e);if(r)return t?`${r} scale(${tq.scale.drop})`:r}},{minDropTime:t0,maxDropTime:t1}=tY,t2=t1-t0;var t3=({current:e,destination:t,reason:r})=>{let n=L(e,t);if(n<=0)return t0;if(n>=1500)return t1;let l=t0+n/1500*t2;return Number(("CANCEL"===r?.6*l:l).toFixed(2))},t5=({impact:e,draggable:t,dimensions:r,viewport:n,afterCritical:l})=>{let{draggables:i,droppables:a}
43=r,o=e2(e),d=o?a[o]:null,s=a[t.descriptor.droppableId];return O(td({impact:e,draggable:t,draggables:i,afterCritical:l,droppable:d||s,viewport:n}),t.client.borderBox.center)},t7=({draggables:e,reason:t,lastImpact:r,home:n,viewport:l,onLiftImpact:i})=>r.at&&"DROP"===t?"REORDER"===r.at.type?{impact:r,didDropInsideDroppable:!0}:{impact:{...r,displaced:er},didDropInsideDroppable:!0}:{impact:to({draggables:e,impact:i,destination:n,viewport:l,forceShouldAnimate:!0}),didDropInsideDroppable:!1};let t4=({getState:e,dispatch:t})=>r=>n=>{if(!tA(n,"DROP"))return void r(n);let l=e(),i=n.payload.reason;if("COLLECTING"===l.phase)return void t(tH({reason:i}));if("IDLE"===l.phase)return;"DROP_PENDING"===l.phase&&l.isWaiting&&x(),"DRAGGING"!==l.phase&&"DROP_PENDING"!==l.phase&&x();let a=l.critical,o=l.dimensions,d=o.draggables[l.critical.draggable.id],{impact:s,didDropInsideDroppable:u}=t7({reason:i,lastImpact:l.impact,afterCritical:l.afterCritical,onLiftImpact:l.onLiftImpact,home:l.dimensions.droppables[l.critical.droppable.id],viewport:l.viewport,draggables:l.dimensions.draggables}),c=u?J(s):null,p=u?X(s):null,f={index:a.draggable.index,droppableId:a.droppable.id},g={draggableId:d.descriptor.id,type:d.descriptor.type,source:f,reason:i,mode:l.movementMode,destination:c,combine:p},m=t5({impact:s,draggable:d,dimensions:o,viewport:l.viewport,afterCritical:l.afterCritical}),b={critical:l.critical,afterCritical:l.afterCritical,result:g,impact:s};if(!(!S(l.current.client.offset,m)||g.combine))return void t(tW({completed:b}));let h=t3({current:l.current.client.offset,destination:m,reason:i});t(t$({newHomeClientOffset:m,dropDuration:h,completed:b}))};var t9=()=>({x:window.pageXOffset,y:window.pageYOffset});let t8=e=>tA(e,"DROP_COMPLETE")||tA(e,"DROP_ANIMATE")||tA(e,"FLUSH"),t6=e=>{let t=function({onWindowScroll:e}){let t=(0,u.A)(function(){e(t9())}),r={eventName:"scroll",options:{passive:!0,capture:!1},fn:e=>{(e.target===window||e.target===window.document)&&t()}},n=y;function l(){return n!==y}return{start:function(){l()&&x(),n=v(window,[r])},stop:function(){l()||x(),t.cancel(),n(),n=y},isActive:l}}({onWindowScroll:t=>{e.dispatch(tL({newScroll:t}))}});return e=>r=>{!t.isActive()&&tA(r,"INITIAL_PUBLISH")&&t.start(),t.isActive()&&t8(r)&&t.stop(),e(r)}};var re=e=>{let t=!1,r=!1,n=setTimeout(()=>{r=!0}),l=l=>{!t&&(r||(t=!0,e(l),clearTimeout(n)))};return l.wasCalled=()=>t,l},rt=()=>{let e=[],t=t=>{let r=e.findIndex(e=>e.timerId===t);-1===r&&x();let[n]=e.splice(r,1);n.callback()};return{add:r=>{let n=setTimeout(()=>t(n));e.push({timerId:n,callback:r})},flush:()=>
43{if(!e.length)return;let t=[...e];e.length=0,t.forEach(e=>{clearTimeout(e.timerId),e.callback()})}}};let rr=(e,t)=>null==e&&null==t||null!=e&&null!=t&&e.droppableId===t.droppableId&&e.index===t.index,rn=(e,t)=>null==e&&null==t||null!=e&&null!=t&&e.draggableId===t.draggableId&&e.droppableId===t.droppableId,rl=(e,t)=>{if(e===t)return!0;let r=e.draggable.id===t.draggable.id&&e.draggable.droppableId===t.draggable.droppableId&&e.draggable.type===t.draggable.type&&e.draggable.index===t.draggable.index,n=e.droppable.id===t.droppable.id&&e.droppable.type===t.droppable.type;return r&&n},ri=(e,t)=>{tf(),t(),tg()},ra=(e,t)=>({draggableId:e.draggable.id,type:e.droppable.type,source:{droppableId:e.droppable.id,index:e.draggable.index},mode:t});function ro(e,t,r,n){if(!e)return void r(n(t));let l=re(r);e(t,{announce:l}),l.wasCalled()||r(n(t))}var rd=(e,t)=>{let r=rt(),n=null,l=r=>{n||x(),n=null,ri("onDragEnd",()=>ro(e().onDragEnd,r,t,R.onDragEnd))};return{beforeCapture:(t,r)=>{n&&x(),ri("onBeforeCapture",()=>{let n=e().onBeforeCapture;n&&n({draggableId:t,mode:r})})},beforeStart:(t,r)=>{n&&x(),ri("onBeforeDragStart",()=>{let n=e().onBeforeDragStart;n&&n(ra(t,r))})},start:(l,i)=>{n&&x();let a=ra(l,i);n={mode:i,lastCritical:l,lastLocation:a.source,lastCombine:null},r.add(()=>{ri("onDragStart",()=>ro(e().onDragStart,a,t,R.onDragStart))})},update:(l,i)=>{let a=J(i),o=X(i);n||x();let d=!rl(l,n.lastCritical);d&&(n.lastCritical=l);let s=!rr(n.lastLocation,a);s&&(n.lastLocation=a);let u=!rn(n.lastCombine,o);if(u&&(n.lastCombine=o),!d&&!s&&!u)return;let c={...ra(l,n.mode),combine:o,destination:a};r.add(()=>{ri("onDragUpdate",()=>ro(e().onDragUpdate,c,t,R.onDragUpdate))})},flush:()=>{n||x(),r.flush()},drop:l,abort:()=>{n&&l({...ra(n.lastCritical,n.mode),combine:null,destination:null,reason:"CANCEL"})}}},rs=(e,t)=>{let r=rd(e,t);return e=>t=>n=>{if(tA(n,"BEFORE_INITIAL_CAPTURE"))return void r.beforeCapture(n.payload.draggableId,n.payload.movementMode);if(tA(n,"INITIAL_PUBLISH")){let e=n.payload.critical;r.beforeStart(e,n.payload.movementMode),t(n),r.start(e,n.payload.movementMode);return}if(tA(n,"DROP_COMPLETE")){let e=n.payload.completed.result;r.flush(),t(n),r.drop(e);return}if(t(n),tA(n,"FLUSH"))return void r.abort();let l=e.getState();"DRAGGING"===l.phase&&r.update(l.critical,l.impact)}};let ru=e=>t=>r=>{if(!tA(r,"DROP_ANIMATION_FINISHED"))return void t(r);let n=e.getState();"DROP_ANIMATING"!==n.phase&&x(),e.dispatch(tW({completed:n.completed}))},rc=e=>{let t=null,r=null;return n=>l=>{if((tA(l,"FLUSH")||tA(l,"DROP_COMPLETE")||tA(l,"DROP_ANIMATION_FINISHED"))&&(r&&(cancelAnimationFrame(r),r=null),t&&(t(),t=null)),n(l),!tA(l,"DROP_ANIMATE"))return;let i={eventName:"scroll",options:{capture:!0,passive:!1,once:!0},fn:function(){"DROP_ANIMATING"===e.getState().phase&&e.dispatch(tV())}};r=requestAnimationFrame(()=>{r=null,t=v(window,[i])})}};var rp=e=>()=>t=>r=>{(tA(r,"DROP_COMPLETE")||tA(r,"FLUSH")||tA(r,"DROP_ANIMATE"))&&e.stopPublishing(),t(r)},rf=e=>{let t=!1;return()=>r=>n=>{if(tA(n,"INITIAL_PUBLISH")){t=!0,e.tryRecordFocus(n.payload.critical.draggable.id),r(n),e.tryRestoreFocusRecorded();return}if(r(n),t){if(tA(n,"FLUSH")){t=!1,e.tryRestoreFocusRecorded();return}if(tA(n,"DROP_COMPLETE")){t=!1;let r=n.payload.completed.result;r.combine&&e.tryShiftRecord(r.draggableId,r.combine.draggableId),e.tryRestoreFocusRecorded()}}}};let rg=e=>tA(e,"DROP_COMPLETE")||tA(e,"DROP_ANIMATE")||tA(e,"FLUSH");var rm=e=>t=>r=>n=>{if(rg(n)){e.stop(),r(n);return}if(tA(n,"INITIAL_PUBLISH")){r(n);let l=t.getState();"DRAGGING"!==l.phase&&x(),e.start(l);return}r(n),e.scroll(t.getState())};let rb=e=>t=>r=>{if(t(r),!tA(r,"PUBLISH_WHILE_DRAGGING"))return;let n=e.getState();"DROP_PENDING"===n.phase&&(n.isWaiting||e.dispatch(tU({reason:n.reason})))},rh=i.Zz;var ry=({dimensionMarshal:e,focusMarshal:t,styleMarshal:r,getResponders:n,announce:l,autoScroller:a})=>(0,i.y$)(tE,rh((0,i.Tw)(tj(r),rp(e),tK(e),t4,ru,rc,rb,rm(a),t6,rf(t),rs(n,l))));let rv=()=>({additions:{},removals:{},modified:{}});var rI=({scrollHeight:e,scrollWidth:t,height:r,width:n})=>{let l=O({x:t,y:e},{x:n,y:r});return{x:Math.max(0,l.x),y:Math.max(0,l.y)}},rx=()=>{let e=document.documentElement;return e||x(),e},rD=()=>{let e=rx();return rI({scrollHeight:e.scrollHeight,scrollWidth:e.scrollWidth,width:e.clientWidth,height:e.clientHeight})},rE=()=>{let e=t9(),t=rD(),r=e.y,n=e.x,l=rx(),i=l.clientWidth,a=l.clientHeight;return{frame:(0,d.l)({top:r,left:n,right:n+i,bottom:r+a}),scroll:{initial:e,current:e,max:t,diff:{value:P,displacement:P}}}},rA=({critical:e,scrollOptions:t,registry:r})=>{tf();let n=rE(),l=n.scroll.current,i=e.droppable,a=r.droppable.getAllByType(i.type).map(e=>e.callbacks.getDimensionAndWatchScroll(l,t)),o={draggables:j(r.draggable.getAllByType(e.draggable.type).map(e=>e.getDimension(l))),droppables:K(a)};return tg(),{dimensions:o,critical:e,viewport:n}};function rN(e,t,r){return r.descriptor.id!==t.id&&r.descriptor.type===t.type&&"virtual"===e.droppable.getById(r.descriptor.droppableId).descriptor.mode}var rC=(e,t)=>{let r=null,n=function({registry:e,callbacks:t}){let r=rv(),n=null,l=()=>{n||(t.collectionStarting(),n=requestAnimationFrame(()=>{n=null,tf();let{additions:l,removals:i,modified:a}=r,o=Object.keys(l).map(t=>e.draggable.getById(t).getDimension(P)).sort((e,t)=>
43e.descriptor.index-t.descriptor.index),d=Object.keys(a).map(t=>{let r=e.droppable.getById(t).callbacks.getScrollWhileDragging();return{droppableId:t,scroll:r}}),s={additions:o,removals:Object.keys(i),modified:d};r=rv(),tg(),t.publish(s)}))};return{add:e=>{let t=e.descriptor.id;r.additions[t]=e,r.modified[e.descriptor.droppableId]=!0,r.removals[t]&&delete r.removals[t],l()},remove:e=>{let t=e.descriptor;r.removals[t.id]=!0,r.modified[t.droppableId]=!0,r.additions[t.id]&&delete r.additions[t.id],l()},stop:()=>{n&&(cancelAnimationFrame(n),n=null,r=rv())}}}({callbacks:{publish:t.publishWhileDragging,collectionStarting:t.collectionStarting},registry:e}),l=t=>{r||x();let l=r.critical.draggable;"ADDITION"===t.type&&rN(e,l,t.value)&&n.add(t.value),"REMOVAL"===t.type&&rN(e,l,t.value)&&n.remove(t.value)};return{updateDroppableIsEnabled:(n,l)=>{e.droppable.exists(n)||x(),r&&t.updateDroppableIsEnabled({id:n,isEnabled:l})},updateDroppableIsCombineEnabled:(n,l)=>{r&&(e.droppable.exists(n)||x(),t.updateDroppableIsCombineEnabled({id:n,isCombineEnabled:l}))},scrollDroppable:(t,n)=>{r&&e.droppable.getById(t).callbacks.scroll(n)},updateDroppableScroll:(n,l)=>{r&&(e.droppable.exists(n)||x(),t.updateDroppableScroll({id:n,newScroll:l}))},startPublishing:t=>{r&&x();let n=e.draggable.getById(t.draggableId),i=e.droppable.getById(n.descriptor.droppableId),a={draggable:n.descriptor,droppable:i.descriptor};return r={critical:a,unsubscribe:e.subscribe(l)},rA({critical:a,registry:e,scrollOptions:t.scrollOptions})},stopPublishing:()=>{if(!r)return;n.stop();let t=r.critical.droppable;e.droppable.getAllByType(t.type).forEach(e=>e.callbacks.dragStopped()),r.unsubscribe(),r=null}}},rR=(e,t)=>"IDLE"===e.phase||"DROP_ANIMATING"===e.phase&&e.completed.result.draggableId!==t&&"DROP"===e.completed.result.reason,rP=e=>{window.scrollBy(e.x,e.y)};let rw=(0,s.A)(e=>z(e).filter(e=>!!e.isEnabled&&!!e.frame)),rO=(e,t)=>rw(t).find(t=>(t.frame||x(),e4(t.frame.pageMarginBox)(e)))||null;var rS=({center:e,destination:t,droppables:r})=>{if(t){let e=r[t];return e.frame?e:null}return rO(e,r)};let rB={startFromPercentage:.25,maxScrollAtPercentage:.05,maxPixelScroll:28,ease:e=>e**2,durationDampening:{stopDampeningAt:1200,accelerateAt:360},disabled:!1};var rG=(e,t,r=()=>rB)=>{let n=r(),l=e[t.size]*n.startFromPercentage;return{startScrollingFrom:l,maxScrollValueAt:e[t.size]*n.maxScrollAtPercentage}},rL=({startOfRange:e,endOfRange:t,current:r})=>{let n=t-e;return 0===n?0:(r-e)/n},rT=(e,t,r=()=>rB)=>{let n=r();if(e>t.startScrollingFrom)return 0;if(e<=t.maxScrollValueAt)return n.maxPixelScroll;if(e===t.startScrollingFrom)return 1;let l=rL({startOfRange:t.maxScrollValueAt,endOfRange:t.startScrollingFrom,current:e});return Math.ceil(n.maxPixelScroll*n.ease(1-l))},r_=(e,t,r)=>{let n=r(),l=n.durationDampening.accelerateAt,i=n.durationDampening.stopDampeningAt,a=Date.now()-t;if(a>=i)return e;if(a<l)return 1;let o=rL({startOfRange:l,endOfRange:i,current:a});return Math.ceil(e*n.ease(o))},rM=({distanceToEdge:e,thresholds:t,dragStartTime:r,shouldUseTimeDampening:n,getAutoScrollerOptions:l})=>{let i=rT(e,t,l);return 0===i?0:n?Math.max(r_(i,r,l),1):i},rF=({container:e,distanceToEdges:t,dragStartTime:r,axis:n,shouldUseTimeDampening:l,getAutoScrollerOptions:i})=>{let a=rG(e,n,i);return t[n.end]<t[n.start]?rM({distanceToEdge:t[n.end],thresholds:a,dragStartTime:r,shouldUseTimeDampening:l,getAutoScrollerOptions:i}):-1*rM({distanceToEdge:t[n.start],thresholds:a,dragStartTime:r,shouldUseTimeDampening:l,getAutoScrollerOptions:i})},rk=({container:e,subject:t,proposedScroll:r})=>{let n=t.height>e.height,l=t.width>e.width;return l||n?l&&n?null:{x:l?0:r.x,y:n?0:r.y}:r};let r$=_(e=>0===e?0:e);var rW=({dragStartTime:e,container:t,subject:r,center:n,shouldUseTimeDampening:l,getAutoScrollerOptions:i})=>{let a={top:n.y-t.top,right:t.right-n.x,bottom:t.bottom-n.y,left:n.x-t.left},o=rF({container:t,distanceToEdges:a,dragStartTime:e,axis:eo,shouldUseTimeDampening:l,getAutoScrollerOptions:i}),d=r$({x:rF({container:t,distanceToEdges:a,dragStartTime:e,axis:ed,shouldUseTimeDampening:l,getAutoScrollerOptions:i}),y:o});if(S(d,P))return null;let s=rk({container:t,subject:r,proposedScroll:d});return s?S(s,P)?null:s:null};let rU=_(e=>0===e?0:e>0?1:-1),rH=(()=>{let e=(e,t)=>
43e<0?e:e>t?e-t:0;return({current:t,max:r,change:n})=>{let l=w(t,n),i={x:e(l.x,r.x),y:e(l.y,r.y)};return S(i,P)?null:i}})(),rV=({max:e,current:t,change:r})=>{let n={x:Math.max(t.x,e.x),y:Math.max(t.y,e.y)},l=rU(r),i=rH({max:n,current:t,change:l});return!i||0!==l.x&&0===i.x||0!==l.y&&0===i.y},rK=(e,t)=>rV({current:e.scroll.current,max:e.scroll.max,change:t}),rj=(e,t)=>{if(!rK(e,t))return null;let r=e.scroll.max;return rH({current:e.scroll.current,max:r,change:t})},rz=(e,t)=>{let r=e.frame;return!!r&&rV({current:r.scroll.current,max:r.scroll.max,change:t})},rq=(e,t)=>{let r=e.frame;return r&&rz(e,t)?rH({current:r.scroll.current,max:r.scroll.max,change:t}):null};var rY=({viewport:e,subject:t,center:r,dragStartTime:n,shouldUseTimeDampening:l,getAutoScrollerOptions:i})=>{let a=rW({dragStartTime:n,container:e.frame,subject:t,center:r,shouldUseTimeDampening:l,getAutoScrollerOptions:i});return a&&rK(e,a)?a:null},rJ=({droppable:e,subject:t,center:r,dragStartTime:n,shouldUseTimeDampening:l,getAutoScrollerOptions:i})=>{let a=e.frame;if(!a)return null;let o=rW({dragStartTime:n,container:a.pageMarginBox,subject:t,center:r,shouldUseTimeDampening:l,getAutoScrollerOptions:i});return o&&rz(e,o)?o:null},rX=({state:e,dragStartTime:t,shouldUseTimeDampening:r,scrollWindow:n,scrollDroppable:l,getAutoScrollerOptions:i})=>{let a=e.current.page.borderBoxCenter,o=e.dimensions.draggables[e.critical.draggable.id].page.marginBox;if(e.isWindowScrollAllowed){let l=rY({dragStartTime:t,viewport:e.viewport,subject:o,center:a,shouldUseTimeDampening:r,getAutoScrollerOptions:i});if(l)return void n(l)}let d=rS({center:a,destination:e2(e.impact),droppables:e.dimensions.droppables});if(!d)return;let s=rJ({dragStartTime:t,droppable:d,subject:o,center:a,shouldUseTimeDampening:r,getAutoScrollerOptions:i});s&&l(d.descriptor.id,s)},rQ=({scrollWindow:e,scrollDroppable:t,getAutoScrollerOptions:r=()=>rB})=>{let n=(0,u.A)(e),l=(0,u.A)(t),i=null,a=e=>{i||x();let{shouldUseTimeDampening:t,dragStartTime:a}=i;rX({state:e,scrollWindow:n,scrollDroppable:l,dragStartTime:a,shouldUseTimeDampening:t,getAutoScrollerOptions:r})};return{start:e=>{tf(),i&&x();let t=Date.now(),n=!1,l=()=>{n=!0};rX({state:e,dragStartTime:0,shouldUseTimeDampening:!1,scrollWindow:l,scrollDroppable:l,getAutoScrollerOptions:r}),i={dragStartTime:t,shouldUseTimeDampening:n},tg(),n&&a(e)},stop:()=>{i&&(n.cancel(),l.cancel(),i=null)},scroll:a}},rZ=({move:e,scrollDroppable:t,scrollWindow:r})=>{let n=(t,r)=>{e({client:w(t.current.client.selection,r)})},l=(e,r)=>{if(!rz(e,r))return r;let n=rq(e,r);if(!n)return t(e.descriptor.id,r),null;let l=O(r,n);return t(e.descriptor.id,l),O(r,l)},i=(e,t,n)=>{if(!e||!rK(t,n))return n;let l=rj(t,n);if(!l)return r(n),null;let i=O(n,l);return r(i),O(n,i)};return e=>{let t=e.scrollJumpRequest;if(!t)return;let r=e2(e.impact);r||x();let a=l(e.dimensions.droppables[r],t);if(!a)return;let o=e.viewport,d=i(e.isWindowScrollAllowed,o,a);d&&n(e,d)}},r0=({scrollDroppable:e,scrollWindow:t,move:r,getAutoScrollerOptions:n})=>{let l=rQ({scrollWindow:t,scrollDroppable:e,getAutoScrollerOptions:n}),i=rZ({move:r,scrollWindow:t,scrollDroppable:e});return{scroll:e=>{if(!n().disabled&&"DRAGGING"===e.phase){if("FLUID"===e.movementMode)return void l.scroll(e);e.scrollJumpRequest&&i(e)}},start:l.start,stop:l.stop}};let r1="data-rfd",r2=(()=>{let e=`${r1}-drag-handle`;return{base:e,draggableId:`${e}-draggable-id`,contextId:`${e}-context-id`}})(),r3=(()=>{let e=`${r1}-draggable`;return{base:e,contextId:`${e}-context-id`,id:`${e}-id`}})(),r5=(()=>{let e=`${r1}-droppable`;return{base:e,contextId:`${e}-context-id`,id:`${e}-id`}})(),r7={contextId:`${r1}-scroll-container-context-id`},r4=e=>t=>`[${t}="${e}"]`,r9=(e,t)=>e.map(e=>{let r=e.styles[t];return r?`${e.selector} { ${r} }`:""}).join(" ");var r8=e=>{let t=r4(e),r=(()=>{let e=`
44      cursor: -webkit-grab;
45      cursor: grab;
46    `;return{selector:t(r2.contextId),styles:{always:`
47          -webkit-touch-callout: none;
48          -webkit-tap-highlight-color: rgba(0,0,0,0);
49          touch-action: manipulation;
50        `,resting:e,dragging:"pointer-events: none;",dropAnimating:e}}})(),n=(()=>{let e=`
51      transition: ${tX.outOfTheWay};
52    `;return{selector:t(r3.contextId),styles:{dragging:e,dropAnimating:e,userCancel:e}}})(),l=[n,r,{selector:t(r5.contextId),styles:{always:"overflow-anchor: n
52one;"}},{selector:"body",styles:{dragging:`
53        cursor: grabbing;
54        cursor: -webkit-grabbing;
55        user-select: none;
56        -webkit-user-select: none;
57        -moz-user-select: none;
58        -ms-user-select: none;
59        overflow-anchor: none;
60      `}}];return{always:r9(l,"always"),resting:r9(l,"resting"),dragging:r9(l,"dragging"),dropAnimating:r9(l,"dropAnimating"),userCancel:r9(l,"userCancel")}};let r6="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?n.useLayoutEffect:n.useEffect,ne=()=>{let e=document.querySelector("head");return e||x(),e},nt=e=>{let t=document.createElement("style");return e&&t.setAttribute("nonce",e),t.type="text/css",t};function nr(e,t){return Array.from(e.querySelectorAll(t))}var nn=e=>e&&e.ownerDocument&&e.ownerDocument.defaultView?e.ownerDocument.defaultView:window;function nl(e){return e instanceof nn(e).HTMLElement}function ni(e,t){let r=nr(document,`[${r2.contextId}="${e}"]`);if(!r.length)return null;let n=r.find(e=>e.getAttribute(r2.draggableId)===t);return n&&nl(n)?n:null}function na(){let e={draggables:{},droppables:{}},t=[];function r(e){t.length&&t.forEach(t=>t(e))}function n(t){return e.draggables[t]||null}function l(t){return e.droppables[t]||null}return{draggable:{register:t=>{e.draggables[t.descriptor.id]=t,r({type:"ADDITION",value:t})},update:(t,r)=>{let n=e.draggables[r.descriptor.id];n&&n.uniqueId===t.uniqueId&&(delete e.draggables[r.descriptor.id],e.draggables[t.descriptor.id]=t)},unregister:t=>{let l=t.descriptor.id,i=n(l);i&&t.uniqueId===i.uniqueId&&(delete e.draggables[l],e.droppables[t.descriptor.droppableId]&&r({type:"REMOVAL",value:t}))},getById:function(e){let t=n(e);return t||x(),t},findById:n,exists:e=>!!n(e),getAllByType:t=>Object.values(e.draggables).filter(e=>e.descriptor.type===t)},droppable:{register:t=>{e.droppables[t.descriptor.id]=t},unregister:t=>{let r=l(t.descriptor.id);r&&t.uniqueId===r.uniqueId&&delete e.droppables[t.descriptor.id]},getById:function(e){let t=l(e);return t||x(),t},findById:l,exists:e=>!!l(e),getAllByType:t=>Object.values(e.droppables).filter(e=>e.descriptor.type===t)},subscribe:function(e){return t.push(e),function(){let r=t.indexOf(e);-1!==r&&t.splice(r,1)}},clean:function(){e.draggables={},e.droppables={},t.length=0}}}var no=n.createContext(null),nd=()=>{let e=document.body;return e||x(),e};let ns={position:"absolute",width:"1px",height:"1px",margin:"-1px",border:"0",padding:"0",overflow:"hidden",clip:"rect(0 0 0 0)","clip-path":"inset(100%)"},nu=e=>`rfd-announcement-${e}`,nc={separator:"::"};function np(e,t=nc){let r=n.useId();return(0,o.Kr)(()=>`${e}${t.separator}${r}`,[t.separator,e,r])}var nf=n.createContext(null),ng={react:"^18.0.0"};let nm=/(\d+)\.(\d+)\.(\d+)/,nb=e=>{let t=nm.exec(e);null==t&&x();let r=Number(t[1]);return{major:r,minor:Number(t[2]),patch:Number(t[3]),raw:e}},nh=(e,t)=>t.major>e.major||!(t.major<e.major)&&(t.minor>e.minor||!(t.minor<e.minor)&&t.patch>=e.patch);var ny=(e,t)=>{if(nh(nb(e),nb(t)))return},nv=e=>{let t=e.doctype;t&&(t.name.toLowerCase(),t.publicId)};function nI(e){}function nx(e,t){}function nD(e){let t=(0,n.useRef)(e);return(0,n.useEffect)(()=>{t.current=e}),t}function nE(e){return"IDLE"!==e.phase&&"DROP_ANIMATING"!==e.phase&&e.isDragging}let nA={13:!0,9:!0};var nN=e=>{nA[e.keyCode]&&e.preventDefault()};let nC=(()=>{let e="visibilitychange";return"undefined"==typeof document?e:[e,`ms${e}`,`webkit${e}`,`moz${e}`,`o${e}`].find(e=>`on${e}`in document)||e})(),nR={type:"IDLE"};function nP(){}let nw={34:!0,33:!0,36:!0,35:!0},nO={type:"IDLE"},nS=["input","button","textarea","select","option","optgroup","video","audio"];var nB=e=>(0,d.l)(e.getBoundingClientRect()).center;let nG=(()=>{let e="matches";return"undefined"==typeof document?e:[e,"msMatchesSelector","webkitMatchesSelector"].find(e=>e in Element.prototype)||e})();function nL(e){e.preventDefault()}function nT({expected:e,phase:t,isLockActive:r,shouldWarn:n}){return!!r()&&e===t}function n_({lockAPI:e,store:t,registry:r,draggableId:n}){if(e.isClaimed())return!1;let l=r.draggable.findById(n);return!!l&&!!l.options.isEnabled&&!!rR(t.getState(),n)}let nM=[function(e){let t=(0,n.useRef)(nR),r=(0,n.useRef)(y),l=(0,o.Kr)(()=>({eventName:"mousedown",fn:function(t){if(t.defaultPrevented||0!==t.button||t.ctrlKey||t.metaKey||t.shiftKey||t.altKey)return;let n=e.findClosestDraggableId(t);if(!n)return;let l=e.tryGetLock(n,d,{sourceEvent:t});if(!l)return;t.preventDefault();let i={x:t.clientX,y:t.clientY};r.current(),c(l,i)}}),[e]),i=(0,o.Kr)(()=>({eventName:"webkitmouseforcewillbegin",fn:t=>{if(t.defaultPrevented)return;let r=e.findClosestDraggableId(t);if(!r)return;let n=e.findOptionsForDraggable(r);n&&!n.shouldRespectForcePress&&e.canGetLock(r)&&t.preventDefault()}}),[e]),a=(0,o.hb)(function(){r.current=v(window,[i,l],{passive:!1,capture:!0})},[i,l]),d=(0,o.hb)(()=>{"IDLE"!==t.current.type&&(t.current=nR,r.current(),a())},[a]),s=(0,o.hb)(()=>{let e=t.current;d(),"DRAGGING"===e.type&&e.actions.cancel({shouldBlockNextClick:!0}),"PENDING"===e.type&&e.actions.abort()},[d]),u=(0,o.hb)(function(){r.current=v(window,function({cancel:e,completed:t,getPhase:r,setPhase:n}
60){return[{eventName:"mousemove",fn:e=>{var t;let{button:l,clientX:i,clientY:a}=e;if(0!==l)return;let o={x:i,y:a},d=r();if("DRAGGING"===d.type){e.preventDefault(),d.actions.move(o);return}"PENDING"!==d.type&&x(),t=d.point,(Math.abs(o.x-t.x)>=5||Math.abs(o.y-t.y)>=5)&&(e.preventDefault(),n({type:"DRAGGING",actions:d.actions.fluidLift(o)}))}},{eventName:"mouseup",fn:n=>{let l=r();if("DRAGGING"!==l.type)return void e();n.preventDefault(),l.actions.drop({shouldBlockNextClick:!0}),t()}},{eventName:"mousedown",fn:t=>{"DRAGGING"===r().type&&t.preventDefault(),e()}},{eventName:"keydown",fn:t=>{if("PENDING"===r().type)return void e();if(27===t.keyCode){t.preventDefault(),e();return}nN(t)}},{eventName:"resize",fn:e},{eventName:"scroll",options:{passive:!0,capture:!1},fn:()=>{"PENDING"===r().type&&e()}},{eventName:"webkitmouseforcedown",fn:t=>{let n=r();if("IDLE"===n.type&&x(),n.actions.shouldRespectForcePress())return void e();t.preventDefault()}},{eventName:nC,fn:e}]}({cancel:s,completed:d,getPhase:()=>t.current,setPhase:e=>{t.current=e}}),{capture:!0,passive:!1})},[s,d]),c=(0,o.hb)(function(e,r){"IDLE"!==t.current.type&&x(),t.current={type:"PENDING",point:r,actions:e},u()},[u]);r6(function(){return a(),function(){r.current()}},[a])},function(e){let t=(0,n.useRef)(nP),r=(0,o.Kr)(()=>({eventName:"keydown",fn:function(r){if(r.defaultPrevented||32!==r.keyCode)return;let n=e.findClosestDraggableId(r);if(!n)return;let i=e.tryGetLock(n,d,{sourceEvent:r});if(!i)return;r.preventDefault();let a=!0,o=i.snapLift();function d(){a||x(),a=!1,t.current(),l()}t.current(),t.current=v(window,function(e,t){function r(){t(),e.cancel()}return[{eventName:"keydown",fn:n=>{if(27===n.keyCode){n.preventDefault(),r();return}if(32===n.keyCode){n.preventDefault(),t(),e.drop();return}if(40===n.keyCode){n.preventDefault(),e.moveDown();return}if(38===n.keyCode){n.preventDefault(),e.moveUp();return}if(39===n.keyCode){n.preventDefault(),e.moveRight();return}if(37===n.keyCode){n.preventDefault(),e.moveLeft();return}if(nw[n.keyCode])return void n.preventDefault();nN(n)}},{eventName:"mousedown",fn:r},{eventName:"mouseup",fn:r},{eventName:"click",fn:r},{eventName:"touchstart",fn:r},{eventName:"resize",fn:r},{eventName:"wheel",fn:r,options:{passive:!0}},{eventName:nC,fn:r}]}(o,d),{capture:!0,passive:!1})}}),[e]),l=(0,o.hb)(function(){t.current=v(window,[r],{passive:!1,capture:!0})},[r]);r6(function(){return l(),function(){t.current()}},[l])},function(e){let t=(0,n.useRef)(nO),r=(0,n.useRef)(y),l=(0,o.hb)(function(){return t.current},[]),i=(0,o.hb)(function(e){t.current=e},[]),a=(0,o.Kr)(()=>({eventName:"touchstart",fn:function(t){if(t.defaultPrevented)return;let n=e.findClosestDraggableId(t);if(!n)return;let l=e.tryGetLock(n,s,{sourceEvent:t});if(!l)return;let{clientX:i,clientY:a}=t.touches[0];r.current(),f(l,{x:i,y:a})}}),[e]),d=(0,o.hb)(function(){r.current=v(window,[a],{capture:!0,passive:!1})},[a]),s=(0,o.hb)(()=>{let e=t.current;"IDLE"!==e.type&&("PENDING"===e.type&&clearTimeout(e.longPressTimerId),i(nO),r.current(),d())},[d,i]),u=(0,o.hb)(()=>{let e=t.current;s(),"DRAGGING"===e.type&&e.actions.cancel({shouldBlockNextClick:!0}),"PENDING"===e.type&&e.actions.abort()},[s]),c=(0,o.hb)(function(){let e={capture:!0,passive:!1},t={cancel:u,completed:s,getPhase:l},n=v(window,function({cancel:e,completed:t,getPhase:r}){return[{eventName:"touchmove",options:{capture:!1},fn:t=>{let n=r();if("DRAGGING"!==n.type)return void e();n.hasMoved=!0;let{clientX:l,clientY:i}=t.touches[0];t.preventDefault(),n.actions.move({x:l,y:i})}},{eventName:"touchend",fn:n=>{let l=r();if("DRAGGING"!==l.type)return void e();n.preventDefault(),l.actions.drop({shouldBlockNextClick:!0}),t()}},{eventName:"touchcancel",fn:t=>{if("DRAGGING"!==r().type)return void e();t.preventDefault(),e()}},{eventName:"touchforcechange",fn:t=>{let n=r();"IDLE"===n.type&&x();let l=t.touches[0];if(!l||!(l.force>=.15))return;let i=n.actions.shouldRespectForcePress();if("PENDING"===n.type){i&&e();return}if(i)return n.hasMoved?void t.preventDefault():void e();t.preventDefault()}},{eventName:nC,fn:e}]}(t),e),i=v(window,function({cancel:e,getPhase:t}){return[{eventName:"orientationchange",fn:e},{eventName:"resize",fn:e},{eventName:"contextmenu",fn:e=>{e.preventDefault()}},{eventName:"keydown",fn:r=>{if("DRAGGING"!==t().type)return void e();27===r.keyCode&&r.preventDefault(),e()}},{eventName:nC,fn:e}]}(t),e);r.current=function(){n(),i()}},[u,l,s]),p=(0,o.hb)(function(){let e=l();"PENDING"!==e.type&&x(),i({type:"DRAGGING",actions:e.actions.fluidLift(e.point),hasMoved:!1})},[l,i]),f=(0,o.hb)(function(e,t){"IDLE"!==l().type&&x(),i({type:"PENDING",point:t,actions:e,longPressTimerId:setTimeout(p,120)}),c()},[c,l,i,p]);r6(function(){return d(),function(){r.current();let e=l();"PENDING"===e.type&&(clearTimeout(e.longPressTimerId),i(nO))}},[l,d,i]),r6(function(){return v(window,[{eventName:"touchmove",fn:()=>{},options:{capture:!1,passive:!1}}])},[])}],nF=e=>({onBeforeCapture:t=>{(0,l.flushSync)(()=>{e.onBeforeCapture&&e.onBeforeCapture(t)})},onBeforeDragStart:e.onBeforeDragStart,onDragStart:e.onDragStart,onDragEnd:e.onDragEnd,onDragUpdate:e.onDragUpdate}),nk=e=>({...rB,...e.autoScrollerOptions,durationDampening:{...rB.durationDampening,...e.autoScrollerOptions}});function n$(e){return e.current||x(),e.current}
60function nW(e){let{contextId:t,setCallbacks:r,sensors:l,nonce:d,dragHandleUsageInstructions:p}=e,f=(0,n.useRef)(null);nx(()=>{ny(ng.react,n.version),nv(document)},[]);let g=nD(e),m=(0,o.hb)(()=>nF(g.current),[g]),b=(0,o.hb)(()=>nk(g.current),[g]),h=function(e){let t=(0,o.Kr)(()=>nu(e),[e]),r=(0,n.useRef)(null);return(0,n.useEffect)(function(){let e=document.createElement("div");return r.current=e,e.id=t,e.setAttribute("aria-live","assertive"),e.setAttribute("aria-atomic","true"),(0,c.A)(e.style,ns),nd().appendChild(e),function(){setTimeout(function(){let t=nd();t.contains(e)&&t.removeChild(e),e===r.current&&(r.current=null)})}},[t]),(0,o.hb)(e=>{let t=r.current;if(t){t.textContent=e;return}},[])}(t),I=function({contextId:e,text:t}){let r=np("hidden-text",{separator:"-"}),l=(0,o.Kr)(()=>(function({contextId:e,uniqueId:t}){return`rfd-hidden-text-${e}-${t}`})({contextId:e,uniqueId:r}),[r,e]);return(0,n.useEffect)(function(){let e=document.createElement("div");return e.id=l,e.textContent=t,e.style.display="none",nd().appendChild(e),function(){let t=nd();t.contains(e)&&t.removeChild(e)}},[l,t]),l}({contextId:t,text:p}),D=function(e,t){let r=(0,o.Kr)(()=>r8(e),[e]),l=(0,n.useRef)(null),i=(0,n.useRef)(null),a=(0,o.hb)((0,s.A)(e=>{let t=i.current;t||x(),t.textContent=e}),[]),d=(0,o.hb)(e=>{let t=l.current;t||x(),t.textContent=e},[]);r6(()=>{(l.current||i.current)&&x();let n=nt(t),o=nt(t);return l.current=n,i.current=o,n.setAttribute(`${r1}-always`,e),o.setAttribute(`${r1}-dynamic`,e),ne().appendChild(n),ne().appendChild(o),d(r.always),a(r.resting),()=>{let e=e=>{let t=e.current;t||x(),ne().removeChild(t),e.current=null};e(l),e(i)}},[t,d,a,r.always,r.resting,e]);let u=(0,o.hb)(()=>a(r.dragging),[a,r.dragging]),c=(0,o.hb)(e=>{if("DROP"===e)return void a(r.dropAnimating);a(r.userCancel)},[a,r.dropAnimating,r.userCancel]),p=(0,o.hb)(()=>{i.current&&a(r.resting)},[a,r.resting]);return(0,o.Kr)(()=>({dragging:u,dropping:c,resting:p}),[u,c,p])}(t,d),E=(0,o.hb)(e=>{n$(f).dispatch(e)},[]),A=(0,o.Kr)(()=>(0,i.zH)({publishWhileDragging:tP,updateDroppableScroll:tO,updateDroppableIsEnabled:tS,updateDroppableIsCombineEnabled:tB,collectionStarting:tw},E),[E]),N=function(){let e=(0,o.Kr)(na,[]);return(0,n.useEffect)(()=>function(){e.clean()},[e]),e}(),C=(0,o.Kr)(()=>rC(N,A),[N,A]),R=(0,o.Kr)(()=>r0({scrollWindow:rP,scrollDroppable:C.scrollDroppable,getAutoScrollerOptions:b,...(0,i.zH)({move:tG},E)}),[C.scrollDroppable,E,b]),P=function(e){let t=(0,n.useRef)({}),r=(0,n.useRef)(null),l=(0,n.useRef)(null),i=(0,n.useRef)(!1),a=(0,o.hb)(function(e,r){let n={id:e,focus:r};return t.current[e]=n,function(){let r=t.current;r[e]!==n&&delete r[e]}},[]),d=(0,o.hb)(function(t){let r=ni(e,t);r&&r!==document.activeElement&&r.focus()},[e]),s=(0,o.hb)(function(e,t){r.current===e&&(r.current=t)},[]),u=(0,o.hb)(function(){!l.current&&i.current&&(l.current=requestAnimationFrame(()=>{l.current=null;let e=r.current;e&&d(e)}))},[d]),c=(0,o.hb)(function(e){r.current=null;let t=document.activeElement;t&&t.getAttribute(r2.draggableId)===e&&(r.current=e)},[]);return r6(()=>(i.current=!0,function(){i.current=!1;let e=l.current;e&&cancelAnimationFrame(e)}),[]),(0,o.Kr)(()=>({register:a,tryRecordFocus:c,tryRestoreFocusRecorded:u,tryShiftRecord:s}),[a,c,u,s])}(t),w=(0,o.Kr)(()=>ry({announce:h,autoScroller:R,dimensionMarshal:C,focusMarshal:P,getResponders:m,styleMarshal:D}),[h,R,C,P,m,D]);f.current=w;let O=(0,o.hb)(()=>{let e=n$(f);"IDLE"!==e.getState().phase&&e.dispatch(tk())},[]),S=(0,o.hb)(()=>{let e=n$(f).getState();return"DROP_ANIMATING"===e.phase||"IDLE"!==e.phase&&e.isDragging},[]);r((0,o.Kr)(()=>({isDragging:S,tryAbort:O}),[S,O]));let B=(0,o.hb)(e=>rR(n$(f).getState(),e),[]),G=(0,o.hb)(()=>e7(n$(f).getState()),[]),L=(0,o.Kr)(()=>({marshal:C,focus:P,contextId:t,canLift:B,isMovementAllowed:G,dragHandleUsageInstructionsId:I,registry:N}),[t,C,I,P,B,G,N]);return!function({contextId:e,store:t,registry:r,customSensors:l,enableDefaultSensors:i}){let a=[...i?nM:[],...l||[]],d=(0,n.useState)(()=>(function(){let e=null;function t(){e||x(),e=null}return{isClaimed:function(){return!!e},isActive:function(t){return t===e},claim:function(t){e&&x();let r={abandon:t};return e=r,r},release:t,tryAbandon:function(){e&&(e.abandon(),t())}}})())[0],s=(0,o.hb)(function(e,t){nE(e)&&!nE(t)&&d.tryAbandon()},[d]);r6(function(){let e=t.getState();return t.subscribe(()=>{let r=t.getState();s(e,r),e=r})},[d,t,s]),r6(()=>d.tryAbandon,[d.tryAbandon]);let c=(0,o.hb)(e=>n_({lockAPI:d,registry:r,store:t,draggableId:e}),[d,r,t]),p=(0,o.hb)((n,l,i)=>(function({lockAPI:e,contextId:t,store:r,registry:n,draggableId:l,forceSensorStop:i,sourceEvent:a}){if(!n_({lockAPI:e,store:r,registry:n,draggableId:l}))return null;let o=n.draggable.getById(l),d=function(e,t){let r=nr(document,`[${r3.contextId}="${e}"]`).find(e=>e.getAttribute(r3.id)===t);return r&&nl(r)?r:null}(t,o.descriptor.id);if(!d||a&&!o.options.canDragInteractiveElements&&function(e,t){let r=t.target;return!!nl(r)&&function e(t,r){if(null==r)return!1;if(nS.includes(r.tagName.toLowerCase()))return!0;let n=r.getAttribute("contenteditable");return"true"===n||""===n||r!==t&&e(t,r.parentElement)}(e,r)}(d,a))return null;let s=e.claim(i||y),c="PRE_DRAG";function p(){return o.options.shouldRespectForcePress}function f(){return e.isActive(s)}let g=(function(e,t){nT({expected:e,phase:c,isLockActive:f,shouldWarn:!0})&&r.dispatch(t())}).bind(null,"DRAGGING");function m(t){function n(){e.release(),c="COMPLETED"}function l(e,i={shouldBlockNextClick:!1}){t.cleanup(),i.shouldBlockNextClick&&setTimeout(v(window,[{eventName:"click",fn:nL,options:{once:!0,passive:!1,capture:!0}}])),n(),r.dispatch(tU({reason:e}))}return"PRE_DRAG"!==c&&(n(),x()),r.dispatch(tC(t.liftActionArgs)),c="DRAGGING",{isActive:()=>nT({expected:"DRAGGING",phase:c,isLockActive:f,shouldWarn:!1}),shouldRespectForcePress:p,drop:e=>l("DROP",e),cancel:e=>l("CANCEL",e),...t.actions}}return{isActive:()=>nT({expected:"PRE_DRAG",phase:c,isLockActive:f,shouldWarn:!1}),shouldRespectForcePress:p,fluidLift:function(e){let t=(0,u.A)(e=>{g(()=>tG({client:e}))});return{...m({liftActionArgs:{id:l,clientSelection:e,movementMode:"FLUID"},cleanup:()=>t.cancel(),actions:{move:t}}),move:t}},snapLift:function(){return m({liftActionArgs:{id:l,clientSelection:nB(d),movementMode:"SNAP"}
60,cleanup:y,actions:{moveUp:()=>g(tT),moveRight:()=>g(tM),moveDown:()=>g(t_),moveLeft:()=>g(tF)}})},abort:function(){nT({expected:"PRE_DRAG",phase:c,isLockActive:f,shouldWarn:!0})&&e.release()}}})({lockAPI:d,registry:r,contextId:e,store:t,draggableId:n,forceSensorStop:l||null,sourceEvent:i&&i.sourceEvent?i.sourceEvent:null}),[e,d,r,t]),f=(0,o.hb)(t=>(function(e,t){let r=function(e,t){let r=t.target;if(!(r instanceof nn(r).Element))return null;let n=`[${r2.contextId}="${e}"]`,l=r.closest?r.closest(n):function e(t,r){return null==t?null:t[nG](r)?t:e(t.parentElement,r)}(r,n);return l&&nl(l)?l:null}(e,t);return r?r.getAttribute(r2.draggableId):null})(e,t),[e]),g=(0,o.hb)(e=>{let t=r.draggable.findById(e);return t?t.options:null},[r.draggable]),m=(0,o.hb)(function(){d.isClaimed()&&(d.tryAbandon(),"IDLE"!==t.getState().phase&&t.dispatch(tk()))},[d,t]),b=(0,o.hb)(()=>d.isClaimed(),[d]),h=(0,o.Kr)(()=>({canGetLock:c,tryGetLock:p,findClosestDraggableId:f,findOptionsForDraggable:g,tryReleaseLock:m,isLockClaimed:b}),[c,p,f,g,m,b]);for(let e=0;e<a.length;e++)a[e](h)}({contextId:t,store:w,registry:N,customSensors:l||null,enableDefaultSensors:!1!==e.enableDefaultSensors}),(0,n.useEffect)(()=>O,[O]),n.createElement(nf.Provider,{value:L},n.createElement(a.Kq,{context:no,store:w},e.children))}function nU(e){let t=n.useId(),r=e.dragHandleUsageInstructions||R.dragHandleUsageInstructions;return n.createElement(D,null,l=>n.createElement(nW,{nonce:e.nonce,contextId:t,setCallbacks:l,dragHandleUsageInstructions:r,enableDefaultSensors:e.enableDefaultSensors,sensors:e.sensors,onBeforeCapture:e.onBeforeCapture,onBeforeDragStart:e.onBeforeDragStart,onDragStart:e.onDragStart,onDragUpdate:e.onDragUpdate,onDragEnd:e.onDragEnd,autoScrollerOptions:e.autoScrollerOptions},e.children))}let nH={dragging:5e3,dropAnimating:4500},nV=(e,t)=>t?tX.drop(t.duration):e?tX.snap:tX.fluid,nK=(e,t)=>{if(e)return t?tq.opacity.drop:tq.opacity.combining},nj=e=>null!=e.forceShouldAnimate?e.forceShouldAnimate:"SNAP"===e.mode;var nz=n.createContext(null);function nq(e){e&&nl(e)||x()}function nY(e){let t=(0,n.useContext)(e);return t||x(),t}function nJ(e){e.preventDefault()}var nX=(e,t)=>e===t,nQ=e=>{let{combine:t,destination:r}=e;return r?r.droppableId:t?t.droppableId:null};let nZ=e=>e.combine?e.combine.draggableId:null,n0=e=>e.at&&"COMBINE"===e.at.type?e.at.combine.draggableId:null;function n1(e=null){return{isDragging:!1,isDropAnimating:!1,isClone:!1,dropAnimation:null,mode:null,draggingOver:null,combineTargetFor:e,combineWith:null}}let n2={mapped:{type:"SECONDARY",offset:P,combineTargetFor:null,shouldAnimateDisplacement:!0,snapshot:n1(null)}},n3=(0,a.Ng)(()=>{let e=function(){let e=(0,s.A)((e,t)=>({x:e,y:t})),t=(0,s.A)((e,t,r=null,n=null,l=null)=>({isDragging:!0,isClone:t,isDropAnimating:!!l,dropAnimation:l,mode:e,draggingOver:r,combineWith:n,combineTargetFor:null})),r=(0,s.A)((e,r,n,l,i=null,a=null,o=null)=>({mapped:{type:"DRAGGING",dropping:null,draggingOver:i,combineWith:a,mode:r,offset:e,dimension:n,forceShouldAnimate:o,snapshot:t(r,l,i,a,null)}}));return(n,l)=>{if(nE(n)){if(n.critical.draggable.id!==l.draggableId)return null;let t=n.current.client.offset,i=n.dimensions.draggables[l.draggableId],a=e2(n.impact),o=n0(n.impact),d=n.forceShouldAnimate;return r(e(t.x,t.y),n.movementMode,i,l.isClone,a,o,d)}if("DROP_ANIMATING"===n.phase){let e=n.completed;if(e.result.draggableId!==l.draggableId)return null;let r=l.isClone,i=n.dimensions.draggables[l.draggableId],a=e.result,o=a.mode,d=nQ(a),s=nZ(a),u={duration:n.dropDuration,curve:tz.drop,moveTo:n.newHomeClientOffset,opacity:s?tq.opacity.drop:null,scale:s?tq.scale.drop:null};return{mapped:{type:"DRAGGING",offset:n.newHomeClientOffset,dimension:i,dropping:u,draggingOver:d,combineWith:s,mode:o,forceShouldAnimate:null,snapshot:t(o,r,d,s,u)}}}return null}}(),t=function(){let e=(0,s.A)((e,t)=>({x:e,y:t})),t=(0,s.A)(n1),r=(0,s.A)((e,r=null,n)=>({mapped:{type:"SECONDARY",offset:e,combineTargetFor:r,shouldAnimateDisplacement:n,snapshot:t(r)}})),n=e=>e?r(P,e,!0):null,l=(t,l,i,a)=>{let o=i.displaced.visible[t],d=!!(a.inVirtualList&&a.effected[t]),s=X(i),u=s&&s.draggableId===t?l:null;if(!o){if(!d)return n(u);if(i.displaced.invisible[t])return null;let l=B(a.displacedBy.point);return r(e(l.x,l.y),u,!0)}if(d)return n(u);let c=i.displacedBy.point;
60return r(e(c.x,c.y),u,o.shouldAnimate)};return(e,t)=>{if(nE(e))return e.critical.draggable.id===t.draggableId?null:l(t.draggableId,e.critical.draggable.id,e.impact,e.afterCritical);if("DROP_ANIMATING"===e.phase){let r=e.completed;return r.result.draggableId===t.draggableId?null:l(t.draggableId,r.result.draggableId,r.impact,r.afterCritical)}return null}}();return(r,n)=>e(r,n)||t(r,n)||n2},{dropAnimationFinished:tV},null,{context:no,areStatePropsEqual:nX})(e=>{let t=(0,n.useRef)(null),r=(0,o.hb)((e=null)=>{t.current=e},[]),i=(0,o.hb)(()=>t.current,[]),{contextId:a,dragHandleUsageInstructionsId:s,registry:u}=nY(nf),{type:c,droppableId:p}=nY(nz),f=(0,o.Kr)(()=>({id:e.draggableId,index:e.index,type:c,droppableId:p}),[e.draggableId,e.index,c,p]),{children:g,draggableId:m,isEnabled:b,shouldRespectForcePress:h,canDragInteractiveElements:y,isClone:v,mapped:I,dropAnimationFinished:D}=e;!function(e,t,r){nx(()=>{let n=e.draggableId;n||x(!1),"string"!=typeof n&&x(!1),Number.isInteger(e.index)||x(!1),"DRAGGING"!==e.mapped.type&&(nq(r()),e.isEnabled&&(ni(t,n)||x(!1)))})}(e,a,i),v||function(e){let t=np("draggable"),{descriptor:r,registry:l,getDraggableRef:i,canDragInteractiveElements:a,shouldRespectForcePress:s,isEnabled:u}=e,c=(0,o.Kr)(()=>({canDragInteractiveElements:a,shouldRespectForcePress:s,isEnabled:u}),[a,u,s]),p=(0,o.hb)(e=>{let t=i();return t||x(),function(e,t,r=P){let n=window.getComputedStyle(t),l=t.getBoundingClientRect(),i=(0,d.a)(l,n),a=(0,d.SQ)(i,r),o={client:i,tagName:t.tagName.toLowerCase(),display:n.display};return{descriptor:e,placeholder:o,displaceBy:{x:i.marginBox.width,y:i.marginBox.height},client:i,page:a}}(r,t,e)},[r,i]),f=(0,o.Kr)(()=>({uniqueId:t,descriptor:r,options:c,getDimension:p}),[r,p,c,t]),g=(0,n.useRef)(f),m=(0,n.useRef)(!0);r6(()=>(l.draggable.register(g.current),()=>l.draggable.unregister(g.current)),[l.draggable]),r6(()=>{if(m.current){m.current=!1;return}let e=g.current;g.current=f,l.draggable.update(f,e)},[f,l.draggable])}((0,o.Kr)(()=>({descriptor:f,registry:u,getDraggableRef:i,canDragInteractiveElements:y,shouldRespectForcePress:h,isEnabled:b}),[f,u,i,y,h,b]));let E=(0,o.Kr)(()=>b?{tabIndex:0,role:"button","aria-describedby":s,"data-rfd-drag-handle-draggable-id":m,"data-rfd-drag-handle-context-id":a,draggable:!1,onDragStart:nJ}:null,[a,s,m,b]),A=(0,o.hb)(e=>{"DRAGGING"===I.type&&I.dropping&&"transform"===e.propertyName&&(0,l.flushSync)(D)},[D,I]),N=(0,o.Kr)(()=>{let e=function(e){return"DRAGGING"===e.type?function(e){let t=e.dimension.client,{offset:r,combineWith:n,dropping:l}=e,i=!!n,a=nj(e),o=!!l,d=o?tZ.drop(r,i):tZ.moveTo(r);return{position:"fixed",top:t.marginBox.top,left:t.marginBox.left,boxSizing:"border-box",width:t.borderBox.width,height:t.borderBox.height,transition:nV(a,l),transform:d,opacity:nK(i,o),zIndex:o?nH.dropAnimating:nH.dragging,pointerEvents:"none"}}(e):{transform:tZ.moveTo(e.offset),transition:e.shouldAnimateDisplacement?void 0:"none"}}(I);return{innerRef:r,draggableProps:{"data-rfd-draggable-context-id":a,"data-rfd-draggable-id":m,style:e,onTransitionEnd:"DRAGGING"===I.type&&I.dropping?A:void 0},dragHandleProps:E}},[a,E,m,I,A,r]),C=(0,o.Kr)(()=>({draggableId:f.id,type:f.type,source:{index:f.index,droppableId:f.droppableId}}),[f.droppableId,f.id,f.index,f.type]);return n.createElement(n.Fragment,null,g(N,I.snapshot,C))});function n5(e){return nY(nz).isUsingCloneFor!==e.draggableId||e.isClone?n.createElement(n3,e):null}function n7(e){let t="boolean"!=typeof e.isDragDisabled||!e.isDragDisabled,r=!!e.disableInteractiveElementBlocking,l=!!e.shouldRespectForcePress;return n.createElement(n5,(0,c.A)({},e,{isClone:!1,isEnabled:t,canDragInteractiveElements:r,shouldRespectForcePress:l}))}let n4=e=>t=>e===t,n9=n4("scroll"),n8=n4("auto");n4("visible");let n6=(e,t)=>t(e.overflowX)||t(e.overflowY),le=e=>{let t=window.getComputedStyle(e),r={overflowX:t.overflowX,overflowY:t.overflowY};return n6(r,n9)||n6(r,n8)},lt=()=>!1,lr=e=>null==e?null:e===document.body?lt()?e:null:e===document.documentElement?null:le(e)?e:lr(e.parentElement);var ln=e=>({x:e.scrollLeft,y:e.scrollTop});let ll=e=>!!e&&("fixed"===window.getComputedStyle(e).position||ll(e.parentElement));var li=e=>({closestScrollable:lr(e),isFixedOnPage:ll(e)}
60),la=({descriptor:e,isEnabled:t,isCombineEnabled:r,isFixedOnPage:n,direction:l,client:i,page:a,closest:o})=>{let d=(()=>{if(!o)return null;let{scrollSize:e,client:t}=o,r=rI({scrollHeight:e.scrollHeight,scrollWidth:e.scrollWidth,height:t.paddingBox.height,width:t.paddingBox.width});return{pageMarginBox:o.page.marginBox,frameClient:t,scrollSize:e,shouldClipSubject:o.shouldClipSubject,scroll:{initial:o.scroll,current:o.scroll,max:r,diff:{value:P,displacement:P}}}})(),s="vertical"===l?eo:ed,u=H({page:a,withPlaceholder:null,axis:s,frame:d});return{descriptor:e,isCombineEnabled:r,isFixedOnPage:n,axis:s,isEnabled:t,client:i,page:a,frame:d,subject:u}};let lo=(e,t)=>{let r=(0,d.YH)(e);if(!t||e!==t)return r;let n=r.paddingBox.top-t.scrollTop,l=r.paddingBox.left-t.scrollLeft,i=n+t.scrollHeight,a=l+t.scrollWidth,o=(0,d.fT)({top:n,right:a,bottom:i,left:l},r.border);return(0,d.ge)({borderBox:o,margin:r.margin,border:r.border,padding:r.padding})};var ld=({ref:e,descriptor:t,env:r,windowScroll:n,direction:l,isDropDisabled:i,isCombineEnabled:a,shouldClipSubject:o})=>{let s=r.closestScrollable,u=lo(e,s),c=(0,d.SQ)(u,n),p=(()=>
60{if(!s)return null;let e=(0,d.YH)(s),t={scrollHeight:s.scrollHeight,scrollWidth:s.scrollWidth};return{client:e,page:(0,d.SQ)(e,n),scroll:ln(s),scrollSize:t,shouldClipSubject:o}})();return la({descriptor:t,isEnabled:!i,isCombineEnabled:a,isFixedOnPage:r.isFixedOnPage,direction:l,client:u,page:c,closest:p})};let ls={passive:!1},lu={passive:!0};var lc=e=>e.shouldPublishImmediately?ls:lu;let lp=e=>e&&e.env.closestScrollable||null;function lf(){}let lg={width:0,height:0,margin:{top:0,right:0,bottom:0,left:0}},lm=({isAnimatingOpenOnMount:e,placeholder:t,animate:r})=>e||"close"===r?lg:{height:t.client.borderBox.height,width:t.client.borderBox.width,margin:t.client.margin},lb=({isAnimatingOpenOnMount:e,placeholder:t,animate:r})=>{let n=lm({isAnimatingOpenOnMount:e,placeholder:t,animate:r});return{display:t.display,boxSizing:"border-box",width:n.width,height:n.height,marginTop:n.margin.top,marginRight:n.margin.right,marginBottom:n.margin.bottom,marginLeft:n.margin.left,flexShrink:"0",flexGrow:"0",pointerEvents:"none",transition:"none"!==r?tX.placeholder:null}};var lh=n.memo(e=>{let t=(0,n.useRef)(null),r=(0,o.hb)(()=>{t.current&&(clearTimeout(t.current),t.current=null)},[]),{animate:l,onTransitionEnd:i,onClose:a,contextId:d}
60=e,[s,u]=(0,n.useState)("open"===e.animate);(0,n.useEffect)(()=>s?"open"!==l?(r(),u(!1),lf):t.current?lf:(t.current=setTimeout(()=>{t.current=null,u(!1)}),r):lf,[l,s,r]);let c=(0,o.hb)(e=>{"height"===e.propertyName&&(i(),"close"===l&&a())},[l,a,i]),p=lb({isAnimatingOpenOnMount:s,animate:e.animate,placeholder:e.placeholder});return n.createElement(e.placeholder.tagName,{style:p,"data-rfd-placeholder-context-id":d,onTransitionEnd:c,ref:e.innerRef})});function ly(e){return"boolean"==typeof e}function lv(e,t){t.forEach(t=>t(e))}let lI=[function({props:e}){e.droppableId||x(),"string"!=typeof e.droppableId&&x()},function({props:e}){ly(e.isDropDisabled)||x(),ly(e.isCombineEnabled)||x(),ly(e.ignoreContainerClipping)||x()},function({getDroppableRef:e}){nq(e())}],lx=[function({props:e,getPlaceholderRef:t}){if(!e.placeholder||t())return}],lD=[function({props:e}){e.renderClone||x()},function({getPlaceholderRef:e}){e()&&x()}];class lE extends n.PureComponent{constructor(...e){super(...e),this.state={isVisible:!!this.props.on,data:this.props.on,animate:this.props.shouldAnimate&&this.props.on?"open":"none"},this.onClose=()=>{"close"===this.state.animate&&this.setState({isVisible:!1})}}static getDerivedStateFromProps(e,t){return e.shouldAnimate?e.on?{isVisible:!0,data:e.on,animate:"open"}:t.isVisible?{isVisible:!0,data:t.data,animate:"close"}:{isVisible:!1,animate:"close",data:null}:{isVisible:!!e.on,data:e.on,animate:"none"}}render(){if(!this.state.isVisible)return null;let e={onClose:this.onClose,data:this.state.data,animate:this.state.animate};return this.props.children(e)}}let lA={mode:"standard",type:"DEFAULT",direction:"vertical",isDropDisabled:!1,isCombineEnabled:!1,ignoreContainerClipping:!1,renderClone:null,getContainerForClone:function(){return document.body||x(),document.body}},lN=e=>{let t,r={...e};for(t in lA)void 0===e[t]&&(r={...r,[t]:lA[t]});return r},lC=(e,t)=>e===t.droppable.type,lR=(e,t)=>t.draggables[e.draggable.id];var lP=(0,a.Ng)(()=>{let e={placeholder:null,shouldAnimatePlaceholder:!0,snapshot:{isDraggingOver:!1,draggingOverWith:null,draggingFromThisWith:null,isUsingPlaceholder:!1},useClone:null},t={...e,shouldAnimatePlaceholder:!1},r=(0,s.A)(e=>({draggableId:e.id,type:e.type,source:{index:e.index,droppableId:e.droppableId}})),n=(0,s.A)((n,l,i,a,o,d)=>{let s=o.descriptor.id;if(o.descriptor.droppableId===n){let e=d?{render:d,dragging:r(o.descriptor)}:null;return{placeholder:o.placeholder,shouldAnimatePlaceholder:!1,snapshot:{isDraggingOver:i,draggingOverWith:i?s:null,draggingFromThisWith:s,isUsingPlaceholder:!0},useClone:e}}return l?a?{placeholder:o.placeholder,shouldAnimatePlaceholder:!0,snapshot:{isDraggingOver:i,draggingOverWith:s,draggingFromThisWith:null,isUsingPlaceholder:!0},useClone:null}:e:t});return(r,l)=>{let i=lN(l),a=i.droppableId,o=i.type,d=!i.isDropDisabled,s=i.renderClone;if(nE(r)){let e=r.critical;if(!lC(o,e))return t;let l=lR(e,r.dimensions),i=e2(r.impact)===a;return n(a,d,i,i,l,s)}if("DROP_ANIMATING"===r.phase){let e=r.completed;if(!lC(o,e.critical))return t;let l=lR(e.critical,r.dimensions);return n(a,d,nQ(e.result)===a,e2(e.impact)===a,l,s)}if("IDLE"===r.phase&&r.completed&&!r.shouldFlush){let n=r.completed;if(!lC(o,n.critical))return t;let l=e2(n.impact)===a,i=!!(n.impact.at&&"COMBINE"===n.impact.at.type),d=n.critical.droppable.id===a;if(l)return i?e:t;if(d)return e}return t}},{updateViewportMaxScroll:e=>({type:"UPDATE_VIEWPORT_MAX_SCROLL",payload:e})},(e,t,r)=>({...lN(r),...e,...t}),{context:no,areStatePropsEqual:nX})(e=>{let t=(0,n.useContext)(nf);t||x();let{contextId:r,isMovementAllowed:i}=t,a=(0,n.useRef)(null),d=(0,n.useRef)(null),{children:c,droppableId:p,type:f,mode:g,direction:m,ignoreContainerClipping:b,isDropDisabled:h,isCombineEnabled:y,snapshot:v,useClone:I,updateViewportMaxScroll:D,getContainerForClone:E}=e,A=(0,o.hb)(()=>a.current,[]),N=(0,o.hb)((e=null)=>{a.current=e},[]),C=(0,o.hb)(()=>d.current,[]),R=(0,o.hb)((e=null)=>{d.current=e},[]);!function(e){nx(()=>{lv(e,lI),"standard"===e.props.mode&&lv(e,lx),"virtual"===e.props.mode&&lv(e,lD)})}({props:e,getDroppableRef:A,getPlaceholderRef:C});let w=(0,o.hb)(()=>{i()&&D({maxScroll:rD()})},[i,D]);!function(e){let t=(0,n.useRef)(null),r=nY(nf),l=np("droppable"),{registry:i,marshal:a}=r,d=nD(e),c=(0,o.Kr)(()=>({id:e.droppableId,type:e.type,mode:e.mode}),[e.droppableId,e.mode,e.type]),p=(0,n.useRef)(c),f=(0,o.Kr)(()=>(0,s.A)((e,r)=>{t.current||x(),a.updateDroppableScroll(c.id,{x:e,y:r})}),[c.id,a]),g=(0,o.hb)(()=>{let e=t.current;return e&&e.env.closestScrollable?ln(e.env.closestScrollable):P},[]),m=(0,o.hb)(()=>{let e=g();f(e.x,e.y)},[g,f]),b=(0,o.Kr)(()=>(0,u.A)(m),[m]),h=(0,o.hb)(()=>{let e=t.current,r=lp(e);if(e&&r||x(),e.scrollOptions.shouldPublishImmediately)return void m();b()},[b,m]),y=(0,o.hb)((e,n)=>{t.current&&x();let l=d.current,i=l.getDroppableRef();i||x();let a=li(i),o={ref:i,descriptor:c,env:a,scrollOptions:n};t.current=o;let s=ld({ref:i,descriptor:c,env:a,windowScroll:e,direction:l.direction,isDropDisabled:l.isDropDisabled,isCombine
60Enabled:l.isCombineEnabled,shouldClipSubject:!l.ignoreContainerClipping}),u=a.closestScrollable;return u&&(u.setAttribute(r7.contextId,r.contextId),u.addEventListener("scroll",h,lc(o.scrollOptions))),s},[r.contextId,c,h,d]),v=(0,o.hb)(()=>{let e=t.current,r=lp(e);return e&&r||x(),ln(r)},[]),I=(0,o.hb)(()=>{let e=t.current;e||x();let r=lp(e);t.current=null,r&&(b.cancel(),r.removeAttribute(r7.contextId),r.removeEventListener("scroll",h,lc(e.scrollOptions)))},[h,b]),D=(0,o.hb)(e=>{let r=t.current;r||x();let n=lp(r);n||x(),n.scrollTop+=e.y,n.scrollLeft+=e.x},[]),E=(0,o.Kr)(()=>({getDimensionAndWatchScroll:y,getScrollWhileDragging:v,dragStopped:I,scroll:D}),[I,y,v,D]),A=(0,o.Kr)(()=>({uniqueId:l,descriptor:c,callbacks:E}),[E,c,l]);r6(()=>(p.current=A.descriptor,i.droppable.register(A),()=>{t.current&&I(),i.droppable.unregister(A)}),[E,c,I,A,a,i.droppable]),r6(()=>{t.current&&a.updateDroppableIsEnabled(p.current.id,!e.isDropDisabled)},[e.isDropDisabled,a]),r6(()=>{t.current&&a.updateDroppableIsCombineEnabled(p.current.id,e.isCombineEnabled)},[e.isCombineEnabled,a])}({droppableId:p,type:f,mode:g,direction:m,isDropDisabled:h,isCombineEnabled:y,ignoreContainerClipping:b,getDroppableRef:A});let O=(0,o.Kr)(()=>n.createElement(lE,{on:e.placeholder,shouldAnimate:e.shouldAnimatePlaceholder},({onClose:e,data:t,animate:l})=>n.createElement(lh,{placeholder:t,onClose:e,innerRef:R,animate:l,contextId:r,onTransitionEnd:w})),[r,w,e.placeholder,e.shouldAnimatePlaceholder,R]),S=(0,o.Kr)(()=>({innerRef:N,placeholder:O,droppableProps:{"data-rfd-droppable-id":p,"data-rfd-droppable-context-id":r}}),[r,p,O,N]),B=I?I.dragging.draggableId:null,G=(0,o.Kr)(()=>({droppableId:p,type:f,isUsingCloneFor:B}),[p,B,f]);return n.createElement(nz.Provider,{value:G},c(S,v),function(){if(!I)return null;let{dragging:e,render:t}=I,r=n.createElement(n5,{draggableId:e.draggableId,index:e.source.index,isClone:!0,isEnabled:!0,shouldRespectForcePress:!1,canDragInteractiveElements:!0},(r,n)=>t(r,n,e));return l.createPortal(r,E())}())})}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.