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