You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
73 lines
99 KiB
JavaScript
73 lines
99 KiB
JavaScript
"use strict";exports.id=845,exports.ids=[845],exports.modules={23463:(e,t,r)=>{r.d(t,{Z5:()=>oA,_l:()=>oU,bK:()=>lp});var n=r(3729),o=r.n(n),l=r(81202),i=r.n(l);function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?u(Object(r),!0).forEach(function(t){!function(e,t,r){var n;(n=function(e,t){if("object"!=a(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=a(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==a(n)?n:n+"")in e)?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r}(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function c(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var d="function"==typeof Symbol&&Symbol.observable||"@@observable",p=function(){return Math.random().toString(36).substring(7).split("").join(".")},f={INIT:"@@redux/INIT"+p(),REPLACE:"@@redux/REPLACE"+p(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+p()}};function g(e,t){return function(){return t(e.apply(this,arguments))}}function m(e,t){if("function"==typeof e)return g(e,t);if("object"!=typeof e||null===e)throw Error(c(16));var r={};for(var n in e){var o=e[n];"function"==typeof o&&(r[n]=g(o,t))}return r}function b(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce(function(e,t){return function(){return e(t.apply(void 0,arguments))}})}var y=r(8145),h=r(34657);let v=function(e){e()},x=()=>v,I=Symbol.for("react-redux-context"),D="undefined"!=typeof globalThis?globalThis:{},E=function(){var e;if(!n.createContext)return{};let t=null!=(e=D[I])?e:D[I]=new Map,r=t.get(n.createContext);return r||(r=n.createContext(null),t.set(n.createContext,r)),r}();function S(){return(S=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}function P(e,t){if(null==e)return{};var r={};for(var n in e)if(({}).hasOwnProperty.call(e,n)){if(t.includes(n))continue;r[n]=e[n]}return r}var A=r(34998),O=r.n(A),N=r(99619);let w=["initMapStateToProps","initMapDispatchToProps","initMergeProps"];function C(e){return function(t){let r=e(t);function n(){return r}return n.dependsOnOwnProps=!1,n}}function R(e){return e.dependsOnOwnProps?!!e.dependsOnOwnProps:1!==e.length}function B(e,t){return function(t,{displayName:r}){let n=function(e,t){return n.dependsOnOwnProps?n.mapToProps(e,t):n.mapToProps(e,void 0)};return n.dependsOnOwnProps=!0,n.mapToProps=function(t,r){n.mapToProps=e,n.dependsOnOwnProps=R(e);let o=n(t,r);return"function"==typeof o&&(n.mapToProps=o,n.dependsOnOwnProps=R(o),o=n(t,r)),o},n}}function T(e,t){return(r,n)=>{throw Error(`Invalid value of type ${typeof e} for ${t} argument when connecting component ${n.wrappedComponentName}.`)}}function L(e,t,r){return S({},r,e,t)}let G={notify(){},get:()=>[]};function M(e,t){let r;let n=G,o=0,l=!1;function i(){s.onStateChange&&s.onStateChange()}function a(){o++,r||(r=t?t.addNestedSub(i):e.subscribe(i),n=function(){let e=x(),t=null,r=null;return{clear(){t=null,r=null},notify(){e(()=>{let e=t;for(;e;)e.callback(),e=e.next})},get(){let e=[],r=t;for(;r;)e.push(r),r=r.next;return e},subscribe(e){let n=!0,o=r={callback:e,next:null,prev:r};return o.prev?o.prev.next=o:t=o,function(){n&&null!==t&&(n=!1,o.next?o.next.prev=o.prev:r=o.prev,o.prev?o.prev.next=o.next:t=o.next)}}}}())}function u(){o--,r&&0===o&&(r(),r=void 0,n.clear(),n=G)}let s={addNestedSub:function(e){a();let t=n.subscribe(e),r=!1;return()=>{r||(r=!0,t(),u())}},notifyNestedSubs:function(){n.notify()},handleChangeWrapper:i,isSubscribed:function(){return l},trySubscribe:function(){l||(l=!0,a())},tryUnsubscribe:function(){l&&(l=!1,u())},getListeners:()=>n};return s}let _=n.useEffect;function $(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function F(e,t){if($(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;let r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(let n=0;n<r.length;n++)if(!Object.prototype.hasOwnProperty.call(t,r[n])||!$(e[r[n]],t[r[n]]))return!1;return!0}let j=["reactReduxForwardedRef"],W=()=>{throw Error("uSES not initialized!")},k=[null,null];function U(e,t){return e===t}let H=function(e,t,r,{pure:o,areStatesEqual:l=U,areOwnPropsEqual:i=F,areStatePropsEqual:a=F,areMergedPropsEqual:u=F,forwardRef:s=!1,context:c=E}={}){let d=e?"function"==typeof e?B(e,"mapStateToProps"):T(e,"mapStateToProps"):C(()=>({})),p=t&&"object"==typeof t?C(e=>(function(e,t){let r={};for(let n in e){let o=e[n];"function"==typeof o&&(r[n]=(...e)=>t(o(...e)))}return r})(t,e)):t?"function"==typeof t?B(t,"mapDispatchToProps"):T(t,"mapDispatchToProps"):C(e=>({dispatch:e})),f=r?"function"==typeof r?function(e,{displayName:t,areMergedPropsEqual:n}){let o,l=!1;return function(e,t,i){let a=r(e,t,i);return l?n(a,o)||(o=a):(l=!0,o=a),o}}:T(r,"mergeProps"):()=>L,g=!!e;return e=>{let t=e.displayName||e.name||"Component",r=`Connect(${t})`,o={shouldHandleStateChanges:g,displayName:r,wrappedComponentName:t,WrappedComponent:e,initMapStateToProps:d,initMapDispatchToProps:p,initMergeProps:f,areStatesEqual:l,areStatePropsEqual:a,areOwnPropsEqual:i,areMergedPropsEqual:u};function m(t){var r;let l;let[i,a,u]=n.useMemo(()=>{let{reactReduxForwardedRef:e}=t,r=P(t,j);return[t.context,e,r]},[t]),s=n.useMemo(()=>i&&i.Consumer&&(0,N.isContextConsumer)(n.createElement(i.Consumer,null))?i:c,[i,c]),d=n.useContext(s),p=!!t.store&&!!t.store.getState&&!!t.store.dispatch,f=!!d&&!!d.store,m=p?t.store:d.store,b=f?d.getServerState:m.getState,y=n.useMemo(()=>(function(e,t){let{initMapStateToProps:r,initMapDispatchToProps:n,initMergeProps:o}=t,l=P(t,w),i=r(e,l);return function(e,t,r,n,{areStatesEqual:o,areOwnPropsEqual:l,areStatePropsEqual:i}){let a,u,s,c,d,p=!1;return function(f,g){return p?function(p,f){let g=!l(f,u),m=!o(p,a,f,u);return(a=p,u=f,g&&m)?(s=e(a,u),t.dependsOnOwnProps&&(c=t(n,u)),d=r(s,c,u)):g?(e.dependsOnOwnProps&&(s=e(a,u)),t.dependsOnOwnProps&&(c=t(n,u)),d=r(s,c,u)):m?function(){let t=e(a,u),n=!i(t,s);return s=t,n&&(d=r(s,c,u)),d}():d}(f,g):(s=e(a=f,u=g),c=t(n,u),d=r(s,c,u),p=!0,d)}}(i,n(e,l),o(e,l),e,l)})(m.dispatch,o),[m]),[h,v]=n.useMemo(()=>{if(!g)return k;let e=M(m,p?void 0:d.subscription),t=e.notifyNestedSubs.bind(e);return[e,t]},[m,p,d]),x=n.useMemo(()=>p?d:S({},d,{subscription:h}),[p,d,h]),I=n.useRef(),D=n.useRef(u),E=n.useRef(),A=n.useRef(!1);n.useRef(!1);let O=n.useRef(!1),C=n.useRef();_(()=>(O.current=!0,()=>{O.current=!1}),[]);let R=n.useMemo(()=>()=>E.current&&u===D.current?E.current:y(m.getState(),u),[m,u]),B=n.useMemo(()=>e=>h?function(e,t,r,n,o,l,i,a,u,s,c){if(!e)return()=>{};let d=!1,p=null,f=()=>{let e,r;if(d||!a.current)return;let f=t.getState();try{e=n(f,o.current)}catch(e){r=e,p=e}r||(p=null),e===l.current?i.current||s():(l.current=e,u.current=e,i.current=!0,c())};return r.onStateChange=f,r.trySubscribe(),f(),()=>{if(d=!0,r.tryUnsubscribe(),r.onStateChange=null,p)throw p}}(g,m,h,y,D,I,A,O,E,v,e):()=>{},[h]);r=[D,I,A,u,E,v],_(()=>(function(e,t,r,n,o,l){e.current=n,r.current=!1,o.current&&(o.current=null,l())})(...r),void 0);try{l=W(B,R,b?()=>y(b(),u):R)}catch(e){throw C.current&&(e.message+=`
|
|
The error may be correlated with this previous error:
|
|
${C.current.stack}
|
|
|
|
`),e}_(()=>{C.current=void 0,E.current=void 0,I.current=l});let T=n.useMemo(()=>n.createElement(e,S({},l,{ref:a})),[a,e,l]);return n.useMemo(()=>g?n.createElement(s.Provider,{value:x},T):T,[s,T,x])}let b=n.memo(m);if(b.WrappedComponent=e,b.displayName=m.displayName=r,s){let t=n.forwardRef(function(e,t){return n.createElement(b,S({},e,{reactReduxForwardedRef:t}))});return t.displayName=r,t.WrappedComponent=e,O()(t,e)}return O()(b,e)}},V=function({store:e,context:t,children:r,serverState:o,stabilityCheck:l="once",noopCheck:i="once"}){let a=n.useMemo(()=>{let t=M(e);return{store:e,subscription:t,getServerState:o?()=>o:void 0,stabilityCheck:l,noopCheck:i}},[e,o,l,i]),u=n.useMemo(()=>e.getState(),[e]);return _(()=>{let{subscription:t}=a;return t.onStateChange=t.notifyNestedSubs,t.trySubscribe(),u!==e.getState()&&t.notifyNestedSubs(),()=>{t.tryUnsubscribe(),t.onStateChange=void 0}},[a,u]),n.createElement((t||E).Provider,{value:a},r)};function z(e,t){var r=(0,n.useState)(function(){return{inputs:t,result:e()}})[0],o=(0,n.useRef)(!0),l=(0,n.useRef)(r),i=o.current||t&&l.current.inputs&&function(e,t){if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}(t,l.current.inputs)?l.current:{inputs:t,result:e()};return(0,n.useEffect)(function(){o.current=!1,l.current=i},[i]),i.result}h.useSyncExternalStoreWithSelector,W=y.useSyncExternalStore,v=l.unstable_batchedUpdates;var q=function(e,t){return z(function(){return e},t)},Y=function(e){var t=e.top,r=e.right,n=e.bottom,o=e.left;return{top:t,right:r,bottom:n,left:o,width:r-o,height:n-t,x:o,y:t,center:{x:(r+o)/2,y:(n+t)/2}}},J=function(e,t){return{top:e.top-t.top,left:e.left-t.left,bottom:e.bottom+t.bottom,right:e.right+t.right}},Z=function(e,t){return{top:e.top+t.top,left:e.left+t.left,bottom:e.bottom-t.bottom,right:e.right-t.right}},X={top:0,right:0,bottom:0,left:0},K=function(e){var t=e.borderBox,r=e.margin,n=void 0===r?X:r,o=e.border,l=void 0===o?X:o,i=e.padding,a=void 0===i?X:i,u=Y(J(t,n)),s=Y(Z(t,l)),c=Y(Z(s,a));return{marginBox:u,borderBox:Y(t),paddingBox:s,contentBox:c,margin:n,border:l,padding:a}},Q=function(e){var t=e.slice(0,-2);if("px"!==e.slice(-2))return 0;var r=Number(t);return isNaN(r)&&function(e,t){if(!e)throw Error("Invariant failed")}(!1),r},ee=function(e,t){var r=e.borderBox,n=e.border,o=e.margin,l=e.padding;return K({borderBox:{top:r.top+t.y,left:r.left+t.x,bottom:r.bottom+t.y,right:r.right+t.x},border:n,margin:o,padding:l})},et=function(e,t){return void 0===t&&(t={x:window.pageXOffset,y:window.pageYOffset}),ee(e,t)},er=function(e,t){return K({borderBox:e,margin:{top:Q(t.marginTop),right:Q(t.marginRight),bottom:Q(t.marginBottom),left:Q(t.marginLeft)},padding:{top:Q(t.paddingTop),right:Q(t.paddingRight),bottom:Q(t.paddingBottom),left:Q(t.paddingLeft)},border:{top:Q(t.borderTopWidth),right:Q(t.borderRightWidth),bottom:Q(t.borderBottomWidth),left:Q(t.borderLeftWidth)}})},en=function(e){return er(e.getBoundingClientRect(),window.getComputedStyle(e))},eo=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function el(e,t){if(e.length!==t.length)return!1;for(var r,n,o=0;o<e.length;o++)if(!((r=e[o])===(n=t[o])||eo(r)&&eo(n)))return!1;return!0}function ei(e,t){void 0===t&&(t=el);var r=null;function n(){for(var n=[],o=0;o<arguments.length;o++)n[o]=arguments[o];if(r&&r.lastThis===this&&t(n,r.lastArgs))return r.lastResult;var l=e.apply(this,n);return r={lastResult:l,lastArgs:n,lastThis:this},l}return n.clear=function(){r=null},n}let ea=function(e){var t=[],r=null,n=function(){for(var n=arguments.length,o=Array(n),l=0;l<n;l++)o[l]=arguments[l];t=o,r||(r=requestAnimationFrame(function(){r=null,e.apply(void 0,t)}))};return n.cancel=function(){r&&(cancelAnimationFrame(r),r=null)},n},eu=/[ \t]{2,}/g,es=/^[ \t]*/gm,ec=e=>e.replace(eu," ").replace(es,"").trim();function ed(e,t){}function ep(){}function ef(e,t,r){let n=t.map(t=>{var n;let o=(n=t.options,{...r,...n});return e.addEventListener(t.eventName,t.fn,o),function(){e.removeEventListener(t.eventName,t.fn,o)}});return function(){n.forEach(e=>{e()})}}ed.bind(null,"warn"),ed.bind(null,"error");class eg extends Error{}function em(e,t){if(!e)throw new eg("Invariant failed")}eg.prototype.toString=function(){return this.message};class eb extends o().Component{constructor(...e){super(...e),this.callbacks=null,this.unbind=ep,this.onWindowError=e=>{let t=this.getCallbacks();t.isDragging()&&t.tryAbort(),e.error instanceof eg&&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=ef(window,[{eventName:"error",fn:this.onWindowError}])}componentDidCatch(e){if(e instanceof eg){this.setState({});return}throw e}componentWillUnmount(){this.unbind()}render(){return this.props.children(this.setCallbacks)}}let ey=e=>e+1,eh=(e,t)=>{let r=e.droppableId===t.droppableId,n=ey(e.index),o=ey(t.index);return r?`
|
|
You have moved the item from position ${n}
|
|
to position ${o}
|
|
`:`
|
|
You have moved the item from position ${n}
|
|
in list ${e.droppableId}
|
|
to list ${t.droppableId}
|
|
in position ${o}
|
|
`},ev=(e,t,r)=>t.droppableId===r.droppableId?`
|
|
The item ${e}
|
|
has been combined with ${r.draggableId}`:`
|
|
The item ${e}
|
|
in list ${t.droppableId}
|
|
has been combined with ${r.draggableId}
|
|
in list ${r.droppableId}
|
|
`,ex=e=>`
|
|
The item has returned to its starting position
|
|
of ${ey(e.index)}
|
|
`;var eI={dragHandleUsageInstructions:`
|
|
Press space bar to start a drag.
|
|
When dragging you can use the arrow keys to move the item around and escape to cancel.
|
|
Some screen readers may require you to be in focus mode or to use your pass through key
|
|
`,onDragStart:e=>`
|
|
You have lifted an item in position ${ey(e.source.index)}
|
|
`,onDragUpdate:e=>{let t=e.destination;if(t)return eh(e.source,t);let r=e.combine;return r?ev(e.draggableId,e.source,r):"You are over an area that cannot be dropped on"},onDragEnd:e=>{if("CANCEL"===e.reason)return`
|
|
Movement cancelled.
|
|
${ex(e.source)}
|
|
`;let t=e.destination,r=e.combine;return t?`
|
|
You have dropped the item.
|
|
${eh(e.source,t)}
|
|
`:r?`
|
|
You have dropped the item.
|
|
${ev(e.draggableId,e.source,r)}
|
|
`:`
|
|
The item has been dropped while not over a drop area.
|
|
${ex(e.source)}
|
|
`}};let eD={x:0,y:0},eE=(e,t)=>({x:e.x+t.x,y:e.y+t.y}),eS=(e,t)=>({x:e.x-t.x,y:e.y-t.y}),eP=(e,t)=>e.x===t.x&&e.y===t.y,eA=e=>({x:0!==e.x?-e.x:0,y:0!==e.y?-e.y:0}),eO=(e,t,r=0)=>"x"===e?{x:t,y:r}:{x:r,y:t},eN=(e,t)=>Math.sqrt((t.x-e.x)**2+(t.y-e.y)**2),ew=(e,t)=>Math.min(...t.map(t=>eN(e,t))),eC=e=>t=>({x:e(t.x),y:e(t.y)});var eR=(e,t)=>{let r=Y({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 eB=(e,t)=>({top:e.top+t.y,left:e.left+t.x,bottom:e.bottom+t.y,right:e.right+t.x}),eT=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}],eL=(e,t)=>t?eB(e,t.scroll.diff.displacement):e,eG=(e,t,r)=>r&&r.increasedBy?{...e,[t.end]:e[t.end]+r.increasedBy[t.line]}:e,eM=(e,t)=>t&&t.shouldClipSubject?eR(t.pageMarginBox,e):Y(e);var e_=({page:e,withPlaceholder:t,axis:r,frame:n})=>{let o=eM(eG(eL(e.marginBox,n),r,t),n);return{page:e,withPlaceholder:t,active:o}},e$=(e,t)=>{e.frame||em(!1);let r=e.frame,n=eS(t,r.scroll.initial),o=eA(n),l={...r,scroll:{initial:r.scroll.initial,current:t,diff:{value:n,displacement:o},max:r.scroll.max}},i=e_({page:e.subject.page,withPlaceholder:e.subject.withPlaceholder,axis:e.axis,frame:l});return{...e,frame:l,subject:i}};let eF=ei(e=>e.reduce((e,t)=>(e[t.descriptor.id]=t,e),{})),ej=ei(e=>e.reduce((e,t)=>(e[t.descriptor.id]=t,e),{})),eW=ei(e=>Object.values(e)),ek=ei(e=>Object.values(e));var eU=ei((e,t)=>ek(t).filter(t=>e===t.descriptor.droppableId).sort((e,t)=>e.descriptor.index-t.descriptor.index));function eH(e){return e.at&&"REORDER"===e.at.type?e.at.destination:null}function eV(e){return e.at&&"COMBINE"===e.at.type?e.at.combine:null}var ez=ei((e,t)=>t.filter(t=>t.descriptor.id!==e.descriptor.id)),eq=({isMovingForward:e,draggable:t,destination:r,insideDestination:n,previousImpact:o})=>{if(!r.isCombineEnabled||!eH(o))return null;function l(e){let t={type:"COMBINE",combine:{draggableId:e,droppableId:r.descriptor.id}};return{...o,at:t}}let i=o.displaced.all,a=i.length?i[0]:null;if(e)return a?l(a):null;let u=ez(t,n);if(!a)return u.length?l(u[u.length-1].descriptor.id):null;let s=u.findIndex(e=>e.descriptor.id===a);-1!==s||em(!1);let c=s-1;return c<0?null:l(u[c].descriptor.id)},eY=(e,t)=>e.descriptor.droppableId===t.descriptor.id;let eJ={point:eD,value:0},eZ={invisible:{},visible:{},all:[]};var eX={displaced:eZ,displacedBy:eJ,at:null},eK=(e,t)=>r=>e<=r&&r<=t,eQ=e=>{let t=eK(e.top,e.bottom),r=eK(e.left,e.right);return n=>{if(t(n.top)&&t(n.bottom)&&r(n.left)&&r(n.right))return!0;let o=t(n.top)||t(n.bottom),l=r(n.left)||r(n.right);if(o&&l)return!0;let i=n.top<e.top&&n.bottom>e.bottom,a=n.left<e.left&&n.right>e.right;return!!i&&!!a||i&&l||a&&o}},e0=e=>{let t=eK(e.top,e.bottom),r=eK(e.left,e.right);return e=>t(e.top)&&t(e.bottom)&&r(e.left)&&r(e.right)};let e1={direction:"vertical",line:"y",crossAxisLine:"x",start:"top",end:"bottom",size:"height",crossAxisStart:"left",crossAxisEnd:"right",crossAxisSize:"width"},e2={direction:"horizontal",line:"x",crossAxisLine:"y",start:"left",end:"right",size:"width",crossAxisStart:"top",crossAxisEnd:"bottom",crossAxisSize:"height"};var e6=e=>t=>{let r=eK(t.top,t.bottom),n=eK(t.left,t.right);return t=>e===e1?r(t.top)&&r(t.bottom):n(t.left)&&n(t.right)};let e3=(e,t)=>eB(e,t.frame?t.frame.scroll.diff.displacement:eD),e5=(e,t,r)=>!!t.subject.active&&r(t.subject.active)(e),e4=(e,t,r)=>r(t)(e),e9=({target:e,destination:t,viewport:r,withDroppableDisplacement:n,isVisibleThroughFrameFn:o})=>{let l=n?e3(e,t):e;return e5(l,t,o)&&e4(l,r,o)},e7=e=>e9({...e,isVisibleThroughFrameFn:eQ}),e8=e=>e9({...e,isVisibleThroughFrameFn:e0}),te=e=>e9({...e,isVisibleThroughFrameFn:e6(e.destination.axis)}),tt=(e,t,r)=>{if("boolean"==typeof r)return r;if(!t)return!0;let{invisible:n,visible:o}=t;if(n[e])return!1;let l=o[e];return!l||l.shouldAnimate};function tr({afterDragging:e,destination:t,displacedBy:r,viewport:n,forceShouldAnimate:o,last:l}){return e.reduce(function(e,i){let a=Y(J(i.page.marginBox,{top:r.point.y,right:0,bottom:0,left:r.point.x})),u=i.descriptor.id;if(e.all.push(u),!e7({target:a,destination:t,viewport:n,withDroppableDisplacement:!0}))return e.invisible[i.descriptor.id]=!0,e;let s=tt(u,l,o);return e.visible[u]={draggableId:u,shouldAnimate:s},e},{all:[],visible:{},invisible:{}})}function tn({insideDestination:e,inHomeList:t,displacedBy:r,destination:n}){let o=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:eZ,displacedBy:r,at:{type:"REORDER",destination:{droppableId:n.descriptor.id,index:o}}}}function to({draggable:e,insideDestination:t,destination:r,viewport:n,displacedBy:o,last:l,index:i,forceShouldAnimate:a}){let u=eY(e,r);if(null==i)return tn({insideDestination:t,inHomeList:u,displacedBy:o,destination:r});let s=t.find(e=>e.descriptor.index===i);if(!s)return tn({insideDestination:t,inHomeList:u,displacedBy:o,destination:r});let c=ez(e,t),d=t.indexOf(s);return{displaced:tr({afterDragging:c.slice(d),destination:r,displacedBy:o,last:l,viewport:n.frame,forceShouldAnimate:a}),displacedBy:o,at:{type:"REORDER",destination:{droppableId:r.descriptor.id,index:i}}}}function tl(e,t){return!!t.effected[e]}var ti=({isMovingForward:e,destination:t,draggables:r,combine:n,afterCritical:o})=>{if(!t.isCombineEnabled)return null;let l=n.draggableId,i=r[l].descriptor.index;return tl(l,o)?e?i:i-1:e?i+1:i},ta=({isMovingForward:e,isInHomeList:t,insideDestination:r,location:n})=>{if(!r.length)return null;let o=n.index,l=e?o+1:o-1,i=r[0].descriptor.index,a=r[r.length-1].descriptor.index;return l<i||l>(t?a:a+1)?null:l},tu=({isMovingForward:e,isInHomeList:t,draggable:r,draggables:n,destination:o,insideDestination:l,previousImpact:i,viewport:a,afterCritical:u})=>{let s=i.at;if(s||em(!1),"REORDER"===s.type){let n=ta({isMovingForward:e,isInHomeList:t,location:s.destination,insideDestination:l});return null==n?null:to({draggable:r,insideDestination:l,destination:o,viewport:a,last:i.displaced,displacedBy:i.displacedBy,index:n})}let c=ti({isMovingForward:e,destination:o,displaced:i.displaced,draggables:n,combine:s.combine,afterCritical:u});return null==c?null:to({draggable:r,insideDestination:l,destination:o,viewport:a,last:i.displaced,displacedBy:i.displacedBy,index:c})},ts=({displaced:e,afterCritical:t,combineWith:r,displacedBy:n})=>{let o=!!(e.visible[r]||e.invisible[r]);return tl(r,t)?o?eD:eA(n.point):o?n.point:eD},tc=({afterCritical:e,impact:t,draggables:r})=>{let n=eV(t);n||em(!1);let o=n.draggableId;return eE(r[o].page.borderBox.center,ts({displaced:t.displaced,afterCritical:e,combineWith:o,displacedBy:t.displacedBy}))};let td=(e,t)=>t.margin[e.start]+t.borderBox[e.size]/2,tp=(e,t)=>t.margin[e.end]+t.borderBox[e.size]/2,tf=(e,t,r)=>t[e.crossAxisStart]+r.margin[e.crossAxisStart]+r.borderBox[e.crossAxisSize]/2,tg=({axis:e,moveRelativeTo:t,isMoving:r})=>eO(e.line,t.marginBox[e.end]+td(e,r),tf(e,t.marginBox,r)),tm=({axis:e,moveRelativeTo:t,isMoving:r})=>eO(e.line,t.marginBox[e.start]-tp(e,r),tf(e,t.marginBox,r)),tb=({axis:e,moveInto:t,isMoving:r})=>eO(e.line,t.contentBox[e.start]+td(e,r),tf(e,t.contentBox,r));var ty=({impact:e,draggable:t,draggables:r,droppable:n,afterCritical:o})=>{let l=eU(n.descriptor.id,r),i=t.page,a=n.axis;if(!l.length)return tb({axis:a,moveInto:n.page,isMoving:i});let{displaced:u,displacedBy:s}=e,c=u.all[0];if(c){let e=r[c];return tl(c,o)?tm({axis:a,moveRelativeTo:e.page,isMoving:i}):tm({axis:a,moveRelativeTo:ee(e.page,s.point),isMoving:i})}let d=l[l.length-1];return d.descriptor.id===t.descriptor.id?i.borderBox.center:tl(d.descriptor.id,o)?tg({axis:a,moveRelativeTo:ee(d.page,eA(o.displacedBy.point)),isMoving:i}):tg({axis:a,moveRelativeTo:d.page,isMoving:i})},th=(e,t)=>{let r=e.frame;return r?eE(t,r.scroll.diff.displacement):t};let tv=({impact:e,draggable:t,droppable:r,draggables:n,afterCritical:o})=>{let l=t.page.borderBox.center,i=e.at;return r&&i?"REORDER"===i.type?ty({impact:e,draggable:t,draggables:n,droppable:r,afterCritical:o}):tc({impact:e,draggables:n,afterCritical:o}):l};var tx=e=>{let t=tv(e),r=e.droppable;return r?th(r,t):t},tI=(e,t)=>{let r=eS(t,e.scroll.initial),n=eA(r);return{frame:Y({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 tD(e,t){return e.map(e=>t[e])}var tE=({impact:e,viewport:t,destination:r,draggables:n,maxScrollChange:o})=>{let l=tI(t,eE(t.scroll.current,o)),i=r.frame?e$(r,eE(r.frame.scroll.current,o)):r,a=e.displaced,u=tr({afterDragging:tD(a.all,n),destination:r,displacedBy:e.displacedBy,viewport:l.frame,last:a,forceShouldAnimate:!1}),s=tr({afterDragging:tD(a.all,n),destination:i,displacedBy:e.displacedBy,viewport:t.frame,last:a,forceShouldAnimate:!1}),c={},d={},p=[a,u,s];return a.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){d[e]=t;return}c[e]=!0}),{...e,displaced:{all:a.all,invisible:c,visible:d}}},tS=(e,t)=>eE(e.scroll.diff.displacement,t),tP=({pageBorderBoxCenter:e,draggable:t,viewport:r})=>{let n=eS(tS(r,e),t.page.borderBox.center);return eE(t.client.borderBox.center,n)},tA=({draggable:e,destination:t,newPageBorderBoxCenter:r,viewport:n,withDroppableDisplacement:o,onlyOnMainAxis:l=!1})=>{let i=eS(r,e.page.borderBox.center),a={target:eB(e.page.borderBox,i),destination:t,withDroppableDisplacement:o,viewport:n};return l?te(a):e8(a)},tO=({isMovingForward:e,draggable:t,destination:r,draggables:n,previousImpact:o,viewport:l,previousPageBorderBoxCenter:i,previousClientSelection:a,afterCritical:u})=>{if(!r.isEnabled)return null;let s=eU(r.descriptor.id,n),c=eY(t,r),d=eq({isMovingForward:e,draggable:t,destination:r,insideDestination:s,previousImpact:o})||tu({isMovingForward:e,isInHomeList:c,draggable:t,draggables:n,destination:r,insideDestination:s,previousImpact:o,viewport:l,afterCritical:u});if(!d)return null;let p=tx({impact:d,draggable:t,droppable:r,draggables:n,afterCritical:u});if(tA({draggable:t,destination:r,newPageBorderBoxCenter:p,viewport:l.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0}))return{clientSelection:tP({pageBorderBoxCenter:p,draggable:t,viewport:l}),impact:d,scrollJumpRequest:null};let f=eS(p,i);return{clientSelection:a,impact:tE({impact:d,viewport:l,destination:r,draggables:n,maxScrollChange:f}),scrollJumpRequest:f}};let tN=e=>{let t=e.subject.active;return t||em(!1),t};var tw=({isMovingForward:e,pageBorderBoxCenter:t,source:r,droppables:n,viewport:o})=>{let l=r.subject.active;if(!l)return null;let i=r.axis,a=eK(l[i.start],l[i.end]),u=eW(n).filter(e=>e!==r).filter(e=>e.isEnabled).filter(e=>!!e.subject.active).filter(e=>eQ(o.frame)(tN(e))).filter(t=>{let r=tN(t);return e?l[i.crossAxisEnd]<r[i.crossAxisEnd]:r[i.crossAxisStart]<l[i.crossAxisStart]}).filter(e=>{let t=tN(e),r=eK(t[i.start],t[i.end]);return a(t[i.start])||a(t[i.end])||r(l[i.start])||r(l[i.end])}).sort((t,r)=>{let n=tN(t)[i.crossAxisStart],o=tN(r)[i.crossAxisStart];return e?n-o:o-n}).filter((e,t,r)=>tN(e)[i.crossAxisStart]===tN(r[0])[i.crossAxisStart]);if(!u.length)return null;if(1===u.length)return u[0];let s=u.filter(e=>eK(tN(e)[i.start],tN(e)[i.end])(t[i.line]));return 1===s.length?s[0]:s.length>1?s.sort((e,t)=>tN(e)[i.start]-tN(t)[i.start])[0]:u.sort((e,r)=>{let n=ew(t,eT(tN(e))),o=ew(t,eT(tN(r)));return n!==o?n-o:tN(e)[i.start]-tN(r)[i.start]})[0]};let tC=(e,t)=>{let r=e.page.borderBox.center;return tl(e.descriptor.id,t)?eS(r,t.displacedBy.point):r},tR=(e,t)=>{let r=e.page.borderBox;return tl(e.descriptor.id,t)?eB(r,eA(t.displacedBy.point)):r};var tB=({pageBorderBoxCenter:e,viewport:t,destination:r,insideDestination:n,afterCritical:o})=>n.filter(e=>e8({target:tR(e,o),destination:r,viewport:t.frame,withDroppableDisplacement:!0})).sort((t,n)=>{let l=eN(e,th(r,tC(t,o))),i=eN(e,th(r,tC(n,o)));return l<i?-1:i<l?1:t.descriptor.index-n.descriptor.index})[0]||null,tT=ei(function(e,t){let r=t[e.line];return{value:r,point:eO(e.line,r)}});let tL=(e,t,r)=>{let n=e.axis;if("virtual"===e.descriptor.mode)return eO(n.line,t[n.line]);let o=e.subject.page.contentBox[n.size],l=eU(e.descriptor.id,r).reduce((e,t)=>e+t.client.marginBox[n.size],0)+t[n.line]-o;return l<=0?null:eO(n.line,l)},tG=(e,t)=>({...e,scroll:{...e.scroll,max:t}}),tM=(e,t,r)=>{let n=e.frame;eY(t,e)&&em(!1),e.subject.withPlaceholder&&em(!1);let o=tT(e.axis,t.displaceBy).point,l=tL(e,o,r),i={placeholderSize:o,increasedBy:l,oldFrameMaxScroll:e.frame?e.frame.scroll.max:null};if(!n){let t=e_({page:e.subject.page,withPlaceholder:i,axis:e.axis,frame:e.frame});return{...e,subject:t}}let a=l?eE(n.scroll.max,l):n.scroll.max,u=tG(n,a),s=e_({page:e.subject.page,withPlaceholder:i,axis:e.axis,frame:u});return{...e,subject:s,frame:u}},t_=e=>{let t=e.subject.withPlaceholder;t||em(!1);let r=e.frame;if(!r){let t=e_({page:e.subject.page,axis:e.axis,frame:null,withPlaceholder:null});return{...e,subject:t}}let n=t.oldFrameMaxScroll;n||em(!1);let o=tG(r,n),l=e_({page:e.subject.page,axis:e.axis,frame:o,withPlaceholder:null});return{...e,subject:l,frame:o}};var t$=({previousPageBorderBoxCenter:e,moveRelativeTo:t,insideDestination:r,draggable:n,draggables:o,destination:l,viewport:i,afterCritical:a})=>{if(!t){if(r.length)return null;let e={displaced:eZ,displacedBy:eJ,at:{type:"REORDER",destination:{droppableId:l.descriptor.id,index:0}}},t=tx({impact:e,draggable:n,droppable:l,draggables:o,afterCritical:a}),u=eY(n,l)?l:tM(l,n,o);return tA({draggable:n,destination:u,newPageBorderBoxCenter:t,viewport:i.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0})?e:null}let u=e[l.axis.line]<=t.page.borderBox.center[l.axis.line],s=(()=>{let e=t.descriptor.index;return t.descriptor.id===n.descriptor.id||u?e:e+1})(),c=tT(l.axis,n.displaceBy);return to({draggable:n,insideDestination:r,destination:l,viewport:i,displacedBy:c,last:eZ,index:s})},tF=({isMovingForward:e,previousPageBorderBoxCenter:t,draggable:r,isOver:n,draggables:o,droppables:l,viewport:i,afterCritical:a})=>{let u=tw({isMovingForward:e,pageBorderBoxCenter:t,source:n,droppables:l,viewport:i});if(!u)return null;let s=eU(u.descriptor.id,o),c=tB({pageBorderBoxCenter:t,viewport:i,destination:u,insideDestination:s,afterCritical:a}),d=t$({previousPageBorderBoxCenter:t,destination:u,draggable:r,draggables:o,moveRelativeTo:c,insideDestination:s,viewport:i,afterCritical:a});return d?{clientSelection:tP({pageBorderBoxCenter:tx({impact:d,draggable:r,droppable:u,draggables:o,afterCritical:a}),draggable:r,viewport:i}),impact:d,scrollJumpRequest:null}:null},tj=e=>{let t=e.at;return t?"REORDER"===t.type?t.destination.droppableId:t.combine.droppableId:null};let tW=(e,t)=>{let r=tj(e);return r?t[r]:null};var tk=({state:e,type:t})=>{let r=tW(e.impact,e.dimensions.droppables),n=!!r,o=e.dimensions.droppables[e.critical.droppable.id],l=r||o,i=l.axis.direction,a="vertical"===i&&("MOVE_UP"===t||"MOVE_DOWN"===t)||"horizontal"===i&&("MOVE_LEFT"===t||"MOVE_RIGHT"===t);if(a&&!n)return null;let u="MOVE_DOWN"===t||"MOVE_RIGHT"===t,s=e.dimensions.draggables[e.critical.draggable.id],c=e.current.page.borderBoxCenter,{draggables:d,droppables:p}=e.dimensions;return a?tO({isMovingForward:u,previousPageBorderBoxCenter:c,draggable:s,destination:l,draggables:d,viewport:e.viewport,previousClientSelection:e.current.client.selection,previousImpact:e.impact,afterCritical:e.afterCritical}):tF({isMovingForward:u,previousPageBorderBoxCenter:c,draggable:s,isOver:l,draggables:d,droppables:p,viewport:e.viewport,afterCritical:e.afterCritical})};function tU(e){return"DRAGGING"===e.phase||"COLLECTING"===e.phase}function tH(e){let t=eK(e.top,e.bottom),r=eK(e.left,e.right);return function(e){return t(e.y)&&r(e.x)}}let tV=(e,t)=>Y(eB(e,t));var tz=(e,t)=>{let r=e.frame;return r?tV(t,r.scroll.diff.value):t};function tq({displaced:e,id:t}){return!!(e.visible[t]||e.invisible[t])}var tY=({pageBorderBoxWithDroppableScroll:e,draggable:t,destination:r,insideDestination:n,last:o,viewport:l,afterCritical:i})=>{let a=r.axis,u=tT(r.axis,t.displaceBy),s=u.value,c=e[a.start],d=e[a.end],p=ez(t,n).find(e=>{let t=e.descriptor.id,r=e.page.borderBox.center[a.line],n=tl(t,i),l=tq({displaced:o,id:t});return n?l?d<=r:c<r-s:l?d<=r+s:c<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:eY(t,r)});return to({draggable:t,insideDestination:n,destination:r,viewport:l,last:o,displacedBy:u,index:f})},tJ=({draggable:e,pageBorderBoxWithDroppableScroll:t,previousImpact:r,destination:n,insideDestination:o,afterCritical:l})=>{if(!n.isCombineEnabled)return null;let i=n.axis,a=tT(n.axis,e.displaceBy),u=a.value,s=t[i.start],c=t[i.end],d=ez(e,o).find(e=>{let t=e.descriptor.id,n=e.page.borderBox,o=n[i.size]/4,a=tl(t,l),d=tq({displaced:r.displaced,id:t});return a?d?c>n[i.start]+o&&c<n[i.end]-o:s>n[i.start]-u+o&&s<n[i.end]-u-o:d?c>n[i.start]+u+o&&c<n[i.end]+u-o:s>n[i.start]+o&&s<n[i.end]-o});return d?{displacedBy:a,displaced:r.displaced,at:{type:"COMBINE",combine:{draggableId:d.descriptor.id,droppableId:n.descriptor.id}}}:null},tZ=({pageOffset:e,draggable:t,draggables:r,droppables:n,previousImpact:o,viewport:l,afterCritical:i})=>{let a=tV(t.page.borderBox,e),u=function({pageBorderBox:e,draggable:t,droppables:r}){let n=eW(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(tH(r)(e.center))return!0;let n=t.axis,o=r.center[n.crossAxisLine],l=e[n.crossAxisStart],i=e[n.crossAxisEnd],a=eK(r[n.crossAxisStart],r[n.crossAxisEnd]),u=a(l),s=a(i);return!u&&!s||(u?l<o:i>o)});return n.length?1===n.length?n[0].descriptor.id:function({pageBorderBox:e,draggable:t,candidates:r}){let n=t.page.borderBox.center,o=r.map(t=>{let r=t.axis,o=eO(t.axis.line,e.center[r.line],t.page.borderBox.center[r.crossAxisLine]);return{id:t.descriptor.id,distance:eN(n,o)}}).sort((e,t)=>t.distance-e.distance);return o[0]?o[0].id:null}({pageBorderBox:e,draggable:t,candidates:n}):null}({pageBorderBox:a,draggable:t,droppables:n});if(!u)return eX;let s=n[u],c=eU(s.descriptor.id,r),d=tz(s,a);return tJ({pageBorderBoxWithDroppableScroll:d,draggable:t,previousImpact:o,destination:s,insideDestination:c,afterCritical:i})||tY({pageBorderBoxWithDroppableScroll:d,draggable:t,destination:s,insideDestination:c,last:o.displaced,viewport:l,afterCritical:i})},tX=(e,t)=>({...e,[t.descriptor.id]:t});let tK=({previousImpact:e,impact:t,droppables:r})=>{let n=tj(e),o=tj(t);if(!n||n===o)return r;let l=r[n];return l.subject.withPlaceholder?tX(r,t_(l)):r};var tQ=({draggable:e,draggables:t,droppables:r,previousImpact:n,impact:o})=>{let l=tK({previousImpact:n,impact:o,droppables:r}),i=tj(o);if(!i)return l;let a=r[i];return eY(e,a)||a.subject.withPlaceholder?l:tX(l,tM(a,e,t))},t0=({state:e,clientSelection:t,dimensions:r,viewport:n,impact:o,scrollJumpRequest:l})=>{let i=n||e.viewport,a=r||e.dimensions,u=t||e.current.client.selection,s=eS(u,e.initial.client.selection),c={offset:s,selection:u,borderBoxCenter:eE(e.initial.client.borderBoxCenter,s)},d={selection:eE(c.selection,i.scroll.current),borderBoxCenter:eE(c.borderBoxCenter,i.scroll.current),offset:eE(c.offset,i.scroll.diff.value)},p={client:c,page:d};if("COLLECTING"===e.phase)return{...e,dimensions:a,viewport:i,current:p};let f=a.draggables[e.critical.draggable.id],g=o||tZ({pageOffset:d.offset,draggable:f,draggables:a.draggables,droppables:a.droppables,previousImpact:e.impact,viewport:i,afterCritical:e.afterCritical}),m=tQ({draggable:f,impact:g,previousImpact:e.impact,draggables:a.draggables,droppables:a.droppables});return{...e,current:p,dimensions:{draggables:a.draggables,droppables:m},impact:g,viewport:i,scrollJumpRequest:l||null,forceShouldAnimate:!l&&null}},t1=({impact:e,viewport:t,draggables:r,destination:n,forceShouldAnimate:o})=>{let l=e.displaced,i=tr({afterDragging:l.all.map(e=>r[e]),destination:n,displacedBy:e.displacedBy,viewport:t.frame,forceShouldAnimate:o,last:l});return{...e,displaced:i}},t2=({impact:e,draggable:t,droppable:r,draggables:n,viewport:o,afterCritical:l})=>tP({pageBorderBoxCenter:tx({impact:e,draggable:t,draggables:n,droppable:r,afterCritical:l}),draggable:t,viewport:o}),t6=({state:e,dimensions:t,viewport:r})=>{"SNAP"!==e.movementMode&&em(!1);let n=e.impact,o=r||e.viewport,l=t||e.dimensions,{draggables:i,droppables:a}=l,u=i[e.critical.draggable.id],s=tj(n);s||em(!1);let c=a[s],d=t1({impact:n,viewport:o,destination:c,draggables:i}),p=t2({impact:d,draggable:u,droppable:c,draggables:i,viewport:o,afterCritical:e.afterCritical});return t0({impact:d,clientSelection:p,state:e,dimensions:l,viewport:o})},t3=e=>({index:e.index,droppableId:e.droppableId}),t5=({draggable:e,home:t,draggables:r,viewport:n})=>{let o=tT(t.axis,e.displaceBy),l=eU(t.descriptor.id,r),i=l.indexOf(e);-1!==i||em(!1);let a=l.slice(i+1),u=a.reduce((e,t)=>(e[t.descriptor.id]=!0,e),{}),s={inVirtualList:"virtual"===t.descriptor.mode,displacedBy:o,effected:u};return{impact:{displaced:tr({afterDragging:a,destination:t,displacedBy:o,last:null,viewport:n.frame,forceShouldAnimate:!1}),displacedBy:o,at:{type:"REORDER",destination:t3(e.descriptor)}},afterCritical:s}},t4=(e,t)=>({draggables:e.draggables,droppables:tX(e.droppables,t)});let t9=e=>{},t7=e=>{};var t8=({draggable:e,offset:t,initialWindowScroll:r})=>{let n=ee(e.client,t),o=et(n,r);return{...e,placeholder:{...e.placeholder,client:n},client:n,page:o}},re=e=>{let t=e.frame;return t||em(!1),t},rt=({additions:e,updatedDroppables:t,viewport:r})=>{let n=r.scroll.diff.value;return e.map(e=>{let o=eE(n,re(t[e.descriptor.droppableId]).scroll.diff.value);return t8({draggable:e,offset:o,initialWindowScroll:r.scroll.initial})})};let rr="Processing dynamic changes";var rn=({state:e,published:t})=>{t9(rr);let r=t.modified.map(t=>e$(e.dimensions.droppables[t.droppableId],t.scroll)),n={...e.dimensions.droppables,...eF(r)},o=ej(rt({additions:t.additions,updatedDroppables:n,viewport:e.viewport})),l={...e.dimensions.draggables,...o};t.removals.forEach(e=>{delete l[e]});let i={droppables:n,draggables:l},a=tj(e.impact),u=a?i.droppables[a]:null,{impact:s,afterCritical:c}=t5({draggable:i.draggables[e.critical.draggable.id],home:i.droppables[e.critical.droppable.id],draggables:l,viewport:e.viewport}),d=u&&u.isCombineEnabled?e.impact:s,p=tZ({pageOffset:e.current.page.offset,draggable:i.draggables[e.critical.draggable.id],draggables:i.draggables,droppables:i.droppables,previousImpact:d,viewport:e.viewport,afterCritical:c});t7(rr);let f={...e,phase:"DRAGGING",impact:p,onLiftImpact:s,dimensions:i,afterCritical:c,forceShouldAnimate:!1};return"COLLECTING"===e.phase?f:{...f,phase:"DROP_PENDING",reason:e.reason,isWaiting:!1}};let ro=e=>"SNAP"===e.movementMode,rl=(e,t,r)=>{let n=t4(e.dimensions,t);return!ro(e)||r?t0({state:e,dimensions:n}):t6({state:e,dimensions:n})};function ri(e){return e.isDragging&&"SNAP"===e.movementMode?{...e,scrollJumpRequest:null}:e}let ra={phase:"IDLE",completed:null,shouldFlush:!1};var ru=(e=ra,t)=>{if("FLUSH"===t.type)return{...ra,shouldFlush:!0};if("INITIAL_PUBLISH"===t.type){"IDLE"!==e.phase&&em(!1);let{critical:r,clientSelection:n,viewport:o,dimensions:l,movementMode:i}=t.payload,a=l.draggables[r.draggable.id],u=l.droppables[r.droppable.id],s={selection:n,borderBoxCenter:a.client.borderBox.center,offset:eD},c={client:s,page:{selection:eE(s.selection,o.scroll.initial),borderBoxCenter:eE(s.selection,o.scroll.initial),offset:eE(s.selection,o.scroll.diff.value)}},d=eW(l.droppables).every(e=>!e.isFixedOnPage),{impact:p,afterCritical:f}=t5({draggable:a,home:u,draggables:l.draggables,viewport:o});return{phase:"DRAGGING",isDragging:!0,critical:r,movementMode:i,dimensions:l,initial:c,current:c,isWindowScrollAllowed:d,impact:p,afterCritical:f,onLiftImpact:p,viewport:o,scrollJumpRequest:null,forceShouldAnimate:null}}if("COLLECTION_STARTING"===t.type)return"COLLECTING"===e.phase||"DROP_PENDING"===e.phase?e:("DRAGGING"!==e.phase&&em(!1),{...e,phase:"COLLECTING"});if("PUBLISH_WHILE_DRAGGING"===t.type)return"COLLECTING"===e.phase||"DROP_PENDING"===e.phase||em(!1),rn({state:e,published:t.payload});if("MOVE"===t.type){if("DROP_PENDING"===e.phase)return e;tU(e)||em(!1);let{client:r}=t.payload;return eP(r,e.current.client.selection)?e:t0({state:e,clientSelection:r,impact:ro(e)?e.impact:null})}if("UPDATE_DROPPABLE_SCROLL"===t.type){if("DROP_PENDING"===e.phase||"COLLECTING"===e.phase)return ri(e);tU(e)||em(!1);let{id:r,newScroll:n}=t.payload,o=e.dimensions.droppables[r];return o?rl(e,e$(o,n),!1):e}if("UPDATE_DROPPABLE_IS_ENABLED"===t.type){if("DROP_PENDING"===e.phase)return e;tU(e)||em(!1);let{id:r,isEnabled:n}=t.payload,o=e.dimensions.droppables[r];return o||em(!1),o.isEnabled!==n||em(!1),rl(e,{...o,isEnabled:n},!0)}if("UPDATE_DROPPABLE_IS_COMBINE_ENABLED"===t.type){if("DROP_PENDING"===e.phase)return e;tU(e)||em(!1);let{id:r,isCombineEnabled:n}=t.payload,o=e.dimensions.droppables[r];return o||em(!1),o.isCombineEnabled!==n||em(!1),rl(e,{...o,isCombineEnabled:n},!0)}if("MOVE_BY_WINDOW_SCROLL"===t.type){if("DROP_PENDING"===e.phase||"DROP_ANIMATING"===e.phase)return e;tU(e)||em(!1),e.isWindowScrollAllowed||em(!1);let r=t.payload.newScroll;if(eP(e.viewport.scroll.current,r))return ri(e);let n=tI(e.viewport,r);return ro(e)?t6({state:e,viewport:n}):t0({state:e,viewport:n})}if("UPDATE_VIEWPORT_MAX_SCROLL"===t.type){if(!tU(e))return e;let r=t.payload.maxScroll;if(eP(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&&em(!1);let r=tk({state:e,type:t.type});return r?t0({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&&em(!1),{...e,phase:"DROP_PENDING",isWaiting:!0,reason:r}}if("DROP_ANIMATE"===t.type){let{completed:r,dropDuration:n,newHomeClientOffset:o}=t.payload;return"DRAGGING"===e.phase||"DROP_PENDING"===e.phase||em(!1),{phase:"DROP_ANIMATING",completed:r,dropDuration:n,newHomeClientOffset:o,dimensions:e.dimensions}}if("DROP_COMPLETE"===t.type){let{completed:e}=t.payload;return{phase:"IDLE",completed:e,shouldFlush:!1}}return e};let rs=e=>({type:"BEFORE_INITIAL_CAPTURE",payload:e}),rc=e=>({type:"LIFT",payload:e}),rd=e=>({type:"INITIAL_PUBLISH",payload:e}),rp=e=>({type:"PUBLISH_WHILE_DRAGGING",payload:e}),rf=()=>({type:"COLLECTION_STARTING",payload:null}),rg=e=>({type:"UPDATE_DROPPABLE_SCROLL",payload:e}),rm=e=>({type:"UPDATE_DROPPABLE_IS_ENABLED",payload:e}),rb=e=>({type:"UPDATE_DROPPABLE_IS_COMBINE_ENABLED",payload:e}),ry=e=>({type:"MOVE",payload:e}),rh=e=>({type:"MOVE_BY_WINDOW_SCROLL",payload:e}),rv=()=>({type:"MOVE_UP",payload:null}),rx=()=>({type:"MOVE_DOWN",payload:null}),rI=()=>({type:"MOVE_RIGHT",payload:null}),rD=()=>({type:"MOVE_LEFT",payload:null}),rE=()=>({type:"FLUSH",payload:null}),rS=e=>({type:"DROP_ANIMATE",payload:e}),rP=e=>({type:"DROP_COMPLETE",payload:e}),rA=e=>({type:"DROP",payload:e}),rO=e=>({type:"DROP_PENDING",payload:e}),rN=()=>({type:"DROP_ANIMATION_FINISHED",payload:null});var rw=e=>({getState:t,dispatch:r})=>n=>o=>{if("LIFT"!==o.type){n(o);return}let{id:l,clientSelection:i,movementMode:a}=o.payload,u=t();"DROP_ANIMATING"===u.phase&&r(rP({completed:u.completed})),"IDLE"!==t().phase&&em(!1),r(rE()),r(rs({draggableId:l,movementMode:a}));let{critical:s,dimensions:c,viewport:d}=e.startPublishing({draggableId:l,scrollOptions:{shouldPublishImmediately:"SNAP"===a}});r(rd({critical:s,dimensions:c,clientSelection:i,movementMode:a,viewport:d}))},rC=e=>()=>t=>r=>{"INITIAL_PUBLISH"===r.type&&e.dragging(),"DROP_ANIMATE"===r.type&&e.dropping(r.payload.completed.result.reason),("FLUSH"===r.type||"DROP_COMPLETE"===r.type)&&e.resting(),t(r)};let rR={outOfTheWay:"cubic-bezier(0.2, 0, 0, 1)",drop:"cubic-bezier(.2,1,.1,1)"},rB={opacity:{drop:0,combining:.7},scale:{drop:.75}},rT={outOfTheWay:.2,minDropTime:.33,maxDropTime:.55},rL=`${rT.outOfTheWay}s ${rR.outOfTheWay}`,rG={fluid:`opacity ${rL}`,snap:`transform ${rL}, opacity ${rL}`,drop:e=>{let t=`${e}s ${rR.drop}`;return`transform ${t}, opacity ${t}`},outOfTheWay:`transform ${rL}`,placeholder:`height ${rL}, width ${rL}, margin ${rL}`},rM=e=>eP(e,eD)?void 0:`translate(${e.x}px, ${e.y}px)`,r_={moveTo:rM,drop:(e,t)=>{let r=rM(e);return r?t?`${r} scale(${rB.scale.drop})`:r:void 0}},{minDropTime:r$,maxDropTime:rF}=rT,rj=rF-r$;var rW=({current:e,destination:t,reason:r})=>{let n=eN(e,t);if(n<=0)return r$;if(n>=1500)return rF;let o=r$+n/1500*rj;return Number(("CANCEL"===r?.6*o:o).toFixed(2))},rk=({impact:e,draggable:t,dimensions:r,viewport:n,afterCritical:o})=>{let{draggables:l,droppables:i}=r,a=tj(e),u=a?i[a]:null,s=i[t.descriptor.droppableId];return eS(t2({impact:e,draggable:t,draggables:l,afterCritical:o,droppable:u||s,viewport:n}),t.client.borderBox.center)},rU=({draggables:e,reason:t,lastImpact:r,home:n,viewport:o,onLiftImpact:l})=>r.at&&"DROP"===t?"REORDER"===r.at.type?{impact:r,didDropInsideDroppable:!0}:{impact:{...r,displaced:eZ},didDropInsideDroppable:!0}:{impact:t1({draggables:e,impact:l,destination:n,viewport:o,forceShouldAnimate:!0}),didDropInsideDroppable:!1},rH=({getState:e,dispatch:t})=>r=>n=>{if("DROP"!==n.type){r(n);return}let o=e(),l=n.payload.reason;if("COLLECTING"===o.phase){t(rO({reason:l}));return}if("IDLE"===o.phase)return;"DROP_PENDING"===o.phase&&o.isWaiting&&em(!1),"DRAGGING"===o.phase||"DROP_PENDING"===o.phase||em(!1);let i=o.critical,a=o.dimensions,u=a.draggables[o.critical.draggable.id],{impact:s,didDropInsideDroppable:c}=rU({reason:l,lastImpact:o.impact,afterCritical:o.afterCritical,onLiftImpact:o.onLiftImpact,home:o.dimensions.droppables[o.critical.droppable.id],viewport:o.viewport,draggables:o.dimensions.draggables}),d=c?eH(s):null,p=c?eV(s):null,f={index:i.draggable.index,droppableId:i.droppable.id},g={draggableId:u.descriptor.id,type:u.descriptor.type,source:f,reason:l,mode:o.movementMode,destination:d,combine:p},m=rk({impact:s,draggable:u,dimensions:a,viewport:o.viewport,afterCritical:o.afterCritical}),b={critical:o.critical,afterCritical:o.afterCritical,result:g,impact:s};if(!(!eP(o.current.client.offset,m)||g.combine)){t(rP({completed:b}));return}let y=rW({current:o.current.client.offset,destination:m,reason:l});t(rS({newHomeClientOffset:m,dropDuration:y,completed:b}))},rV=()=>({x:window.pageXOffset,y:window.pageYOffset});let rz=e=>"DROP_COMPLETE"===e.type||"DROP_ANIMATE"===e.type||"FLUSH"===e.type;var rq=e=>{let t=function({onWindowScroll:e}){let t=ea(function(){e(rV())}),r={eventName:"scroll",options:{passive:!0,capture:!1},fn:e=>{(e.target===window||e.target===window.document)&&t()}},n=ep;function o(){return n!==ep}return{start:function(){o()&&em(!1),n=ef(window,[r])},stop:function(){o()||em(!1),t.cancel(),n(),n=ep},isActive:o}}({onWindowScroll:t=>{e.dispatch(rh({newScroll:t}))}});return e=>r=>{t.isActive()||"INITIAL_PUBLISH"!==r.type||t.start(),t.isActive()&&rz(r)&&t.stop(),e(r)}},rY=e=>{let t=!1,r=!1,n=setTimeout(()=>{r=!0}),o=o=>{t||r||(t=!0,e(o),clearTimeout(n))};return o.wasCalled=()=>t,o},rJ=()=>{let e=[],t=t=>{let r=e.findIndex(e=>e.timerId===t);-1!==r||em(!1);let[n]=e.splice(r,1);n.callback()};return{add:r=>{let n=setTimeout(()=>t(n));e.push({timerId:n,callback:r})},flush:()=>{if(!e.length)return;let t=[...e];e.length=0,t.forEach(e=>{clearTimeout(e.timerId),e.callback()})}}};let rZ=(e,t)=>null==e&&null==t||null!=e&&null!=t&&e.droppableId===t.droppableId&&e.index===t.index,rX=(e,t)=>null==e&&null==t||null!=e&&null!=t&&e.draggableId===t.draggableId&&e.droppableId===t.droppableId,rK=(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},rQ=(e,t)=>{t9(),t(),t7()},r0=(e,t)=>({draggableId:e.draggable.id,type:e.droppable.type,source:{droppableId:e.droppable.id,index:e.draggable.index},mode:t});function r1(e,t,r,n){if(!e){r(n(t));return}let o=rY(r);e(t,{announce:o}),o.wasCalled()||r(n(t))}var r2=(e,t)=>{let r=rJ(),n=null,o=r=>{n||em(!1),n=null,rQ("onDragEnd",()=>r1(e().onDragEnd,r,t,eI.onDragEnd))};return{beforeCapture:(t,r)=>{n&&em(!1),rQ("onBeforeCapture",()=>{let n=e().onBeforeCapture;n&&n({draggableId:t,mode:r})})},beforeStart:(t,r)=>{n&&em(!1),rQ("onBeforeDragStart",()=>{let n=e().onBeforeDragStart;n&&n(r0(t,r))})},start:(o,l)=>{n&&em(!1);let i=r0(o,l);n={mode:l,lastCritical:o,lastLocation:i.source,lastCombine:null},r.add(()=>{rQ("onDragStart",()=>r1(e().onDragStart,i,t,eI.onDragStart))})},update:(o,l)=>{let i=eH(l),a=eV(l);n||em(!1);let u=!rK(o,n.lastCritical);u&&(n.lastCritical=o);let s=!rZ(n.lastLocation,i);s&&(n.lastLocation=i);let c=!rX(n.lastCombine,a);if(c&&(n.lastCombine=a),!u&&!s&&!c)return;let d={...r0(o,n.mode),combine:a,destination:i};r.add(()=>{rQ("onDragUpdate",()=>r1(e().onDragUpdate,d,t,eI.onDragUpdate))})},flush:()=>{n||em(!1),r.flush()},drop:o,abort:()=>{n&&o({...r0(n.lastCritical,n.mode),combine:null,destination:null,reason:"CANCEL"})}}},r6=(e,t)=>{let r=r2(e,t);return e=>t=>n=>{if("BEFORE_INITIAL_CAPTURE"===n.type){r.beforeCapture(n.payload.draggableId,n.payload.movementMode);return}if("INITIAL_PUBLISH"===n.type){let e=n.payload.critical;r.beforeStart(e,n.payload.movementMode),t(n),r.start(e,n.payload.movementMode);return}if("DROP_COMPLETE"===n.type){let e=n.payload.completed.result;r.flush(),t(n),r.drop(e);return}if(t(n),"FLUSH"===n.type){r.abort();return}let o=e.getState();"DRAGGING"===o.phase&&r.update(o.critical,o.impact)}},r3=e=>t=>r=>{if("DROP_ANIMATION_FINISHED"!==r.type){t(r);return}let n=e.getState();"DROP_ANIMATING"!==n.phase&&em(!1),e.dispatch(rP({completed:n.completed}))},r5=e=>{let t=null,r=null;return n=>o=>{if(("FLUSH"===o.type||"DROP_COMPLETE"===o.type||"DROP_ANIMATION_FINISHED"===o.type)&&(r&&(cancelAnimationFrame(r),r=null),t&&(t(),t=null)),n(o),"DROP_ANIMATE"!==o.type)return;let l={eventName:"scroll",options:{capture:!0,passive:!1,once:!0},fn:function(){"DROP_ANIMATING"===e.getState().phase&&e.dispatch(rN())}};r=requestAnimationFrame(()=>{r=null,t=ef(window,[l])})}},r4=e=>()=>t=>r=>{("DROP_COMPLETE"===r.type||"FLUSH"===r.type||"DROP_ANIMATE"===r.type)&&e.stopPublishing(),t(r)},r9=e=>{let t=!1;return()=>r=>n=>{if("INITIAL_PUBLISH"===n.type){t=!0,e.tryRecordFocus(n.payload.critical.draggable.id),r(n),e.tryRestoreFocusRecorded();return}if(r(n),t){if("FLUSH"===n.type){t=!1,e.tryRestoreFocusRecorded();return}if("DROP_COMPLETE"===n.type){t=!1;let r=n.payload.completed.result;r.combine&&e.tryShiftRecord(r.draggableId,r.combine.draggableId),e.tryRestoreFocusRecorded()}}}};let r7=e=>"DROP_COMPLETE"===e.type||"DROP_ANIMATE"===e.type||"FLUSH"===e.type;var r8=e=>t=>r=>n=>{if(r7(n)){e.stop(),r(n);return}if("INITIAL_PUBLISH"===n.type){r(n);let o=t.getState();"DRAGGING"!==o.phase&&em(!1),e.start(o);return}r(n),e.scroll(t.getState())},ne=e=>t=>r=>{if(t(r),"PUBLISH_WHILE_DRAGGING"!==r.type)return;let n=e.getState();"DROP_PENDING"!==n.phase||n.isWaiting||e.dispatch(rA({reason:n.reason}))},nt=({dimensionMarshal:e,focusMarshal:t,styleMarshal:r,getResponders:n,announce:o,autoScroller:l})=>(function e(t,r,n){if("function"==typeof r&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw Error(c(0));if("function"==typeof r&&void 0===n&&(n=r,r=void 0),void 0!==n){if("function"!=typeof n)throw Error(c(1));return n(e)(t,r)}if("function"!=typeof t)throw Error(c(2));var o,l=t,i=r,a=[],u=a,s=!1;function p(){u===a&&(u=a.slice())}function g(){if(s)throw Error(c(3));return i}function m(e){if("function"!=typeof e)throw Error(c(4));if(s)throw Error(c(5));var t=!0;return p(),u.push(e),function(){if(t){if(s)throw Error(c(6));t=!1,p();var r=u.indexOf(e);u.splice(r,1),a=null}}}function b(e){if(!function(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}(e))throw Error(c(7));if(void 0===e.type)throw Error(c(8));if(s)throw Error(c(9));try{s=!0,i=l(i,e)}finally{s=!1}for(var t=a=u,r=0;r<t.length;r++)(0,t[r])();return e}return b({type:f.INIT}),(o={dispatch:b,subscribe:m,getState:g,replaceReducer:function(e){if("function"!=typeof e)throw Error(c(10));l=e,b({type:f.REPLACE})}})[d]=function(){var e;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw Error(c(11));function t(){e.next&&e.next(g())}return t(),{unsubscribe:m(t)}}})[d]=function(){return this},e},o})(ru,b(function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(e){return function(){var r=e.apply(void 0,arguments),n=function(){throw Error(c(15))},o={getState:r.getState,dispatch:function(){return n.apply(void 0,arguments)}},l=t.map(function(e){return e(o)});return n=b.apply(void 0,l)(r.dispatch),s(s({},r),{},{dispatch:n})}}}(rC(r),r4(e),rw(e),rH,r3,r5,ne,r8(l),rq,r9(t),r6(n,o))));let nr=()=>({additions:{},removals:{},modified:{}});var nn=({scrollHeight:e,scrollWidth:t,height:r,width:n})=>{let o=eS({x:t,y:e},{x:n,y:r});return{x:Math.max(0,o.x),y:Math.max(0,o.y)}},no=()=>{let e=document.documentElement;return e||em(!1),e},nl=()=>{let e=no();return nn({scrollHeight:e.scrollHeight,scrollWidth:e.scrollWidth,width:e.clientWidth,height:e.clientHeight})},ni=()=>{let e=rV(),t=nl(),r=e.y,n=e.x,o=no();return{frame:Y({top:r,left:n,right:n+o.clientWidth,bottom:r+o.clientHeight}),scroll:{initial:e,current:e,max:t,diff:{value:eD,displacement:eD}}}},na=({critical:e,scrollOptions:t,registry:r})=>{t9();let n=ni(),o=n.scroll.current,l=e.droppable,i=r.droppable.getAllByType(l.type).map(e=>e.callbacks.getDimensionAndWatchScroll(o,t)),a={draggables:ej(r.draggable.getAllByType(e.draggable.type).map(e=>e.getDimension(o))),droppables:eF(i)};return t7(),{dimensions:a,critical:e,viewport:n}};function nu(e,t,r){return r.descriptor.id!==t.id&&r.descriptor.type===t.type&&"virtual"===e.droppable.getById(r.descriptor.droppableId).descriptor.mode}var ns=(e,t)=>{let r=null,n=function({registry:e,callbacks:t}){let r=nr(),n=null,o=()=>{n||(t.collectionStarting(),n=requestAnimationFrame(()=>{n=null,t9();let{additions:o,removals:l,modified:i}=r,a=Object.keys(o).map(t=>e.draggable.getById(t).getDimension(eD)).sort((e,t)=>e.descriptor.index-t.descriptor.index),u=Object.keys(i).map(t=>{let r=e.droppable.getById(t).callbacks.getScrollWhileDragging();return{droppableId:t,scroll:r}}),s={additions:a,removals:Object.keys(l),modified:u};r=nr(),t7(),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],o()},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],o()},stop:()=>{n&&(cancelAnimationFrame(n),n=null,r=nr())}}}({callbacks:{publish:t.publishWhileDragging,collectionStarting:t.collectionStarting},registry:e}),o=t=>{r||em(!1);let o=r.critical.draggable;"ADDITION"===t.type&&nu(e,o,t.value)&&n.add(t.value),"REMOVAL"===t.type&&nu(e,o,t.value)&&n.remove(t.value)};return{updateDroppableIsEnabled:(n,o)=>{e.droppable.exists(n)||em(!1),r&&t.updateDroppableIsEnabled({id:n,isEnabled:o})},updateDroppableIsCombineEnabled:(n,o)=>{r&&(e.droppable.exists(n)||em(!1),t.updateDroppableIsCombineEnabled({id:n,isCombineEnabled:o}))},scrollDroppable:(t,n)=>{r&&e.droppable.getById(t).callbacks.scroll(n)},updateDroppableScroll:(n,o)=>{r&&(e.droppable.exists(n)||em(!1),t.updateDroppableScroll({id:n,newScroll:o}))},startPublishing:t=>{r&&em(!1);let n=e.draggable.getById(t.draggableId),l=e.droppable.getById(n.descriptor.droppableId),i={draggable:n.descriptor,droppable:l.descriptor};return r={critical:i,unsubscribe:e.subscribe(o)},na({critical:i,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}}},nc=(e,t)=>"IDLE"===e.phase||"DROP_ANIMATING"===e.phase&&e.completed.result.draggableId!==t&&"DROP"===e.completed.result.reason,nd=e=>{window.scrollBy(e.x,e.y)};let np=ei(e=>eW(e).filter(e=>!!e.isEnabled&&!!e.frame)),nf=(e,t)=>np(t).find(t=>(t.frame||em(!1),tH(t.frame.pageMarginBox)(e)))||null;var ng=({center:e,destination:t,droppables:r})=>{if(t){let e=r[t];return e.frame?e:null}return nf(e,r)};let nm={startFromPercentage:.25,maxScrollAtPercentage:.05,maxPixelScroll:28,ease:e=>e**2,durationDampening:{stopDampeningAt:1200,accelerateAt:360},disabled:!1};var nb=(e,t,r=()=>nm)=>{let n=r();return{startScrollingFrom:e[t.size]*n.startFromPercentage,maxScrollValueAt:e[t.size]*n.maxScrollAtPercentage}},ny=({startOfRange:e,endOfRange:t,current:r})=>{let n=t-e;return 0===n?0:(r-e)/n},nh=(e,t,r=()=>nm)=>{let n=r();if(e>t.startScrollingFrom)return 0;if(e<=t.maxScrollValueAt)return n.maxPixelScroll;if(e===t.startScrollingFrom)return 1;let o=ny({startOfRange:t.maxScrollValueAt,endOfRange:t.startScrollingFrom,current:e});return Math.ceil(n.maxPixelScroll*n.ease(1-o))},nv=(e,t,r)=>{let n=r(),o=n.durationDampening.accelerateAt,l=n.durationDampening.stopDampeningAt,i=Date.now()-t;if(i>=l)return e;if(i<o)return 1;let a=ny({startOfRange:o,endOfRange:l,current:i});return Math.ceil(e*n.ease(a))},nx=({distanceToEdge:e,thresholds:t,dragStartTime:r,shouldUseTimeDampening:n,getAutoScrollerOptions:o})=>{let l=nh(e,t,o);return 0===l?0:n?Math.max(nv(l,r,o),1):l},nI=({container:e,distanceToEdges:t,dragStartTime:r,axis:n,shouldUseTimeDampening:o,getAutoScrollerOptions:l})=>{let i=nb(e,n,l);return t[n.end]<t[n.start]?nx({distanceToEdge:t[n.end],thresholds:i,dragStartTime:r,shouldUseTimeDampening:o,getAutoScrollerOptions:l}):-1*nx({distanceToEdge:t[n.start],thresholds:i,dragStartTime:r,shouldUseTimeDampening:o,getAutoScrollerOptions:l})},nD=({container:e,subject:t,proposedScroll:r})=>{let n=t.height>e.height,o=t.width>e.width;return o||n?o&&n?null:{x:o?0:r.x,y:n?0:r.y}:r};let nE=eC(e=>0===e?0:e);var nS=({dragStartTime:e,container:t,subject:r,center:n,shouldUseTimeDampening:o,getAutoScrollerOptions:l})=>{let i={top:n.y-t.top,right:t.right-n.x,bottom:t.bottom-n.y,left:n.x-t.left},a=nI({container:t,distanceToEdges:i,dragStartTime:e,axis:e1,shouldUseTimeDampening:o,getAutoScrollerOptions:l}),u=nE({x:nI({container:t,distanceToEdges:i,dragStartTime:e,axis:e2,shouldUseTimeDampening:o,getAutoScrollerOptions:l}),y:a});if(eP(u,eD))return null;let s=nD({container:t,subject:r,proposedScroll:u});return s?eP(s,eD)?null:s:null};let nP=eC(e=>0===e?0:e>0?1:-1),nA=(()=>{let e=(e,t)=>e<0?e:e>t?e-t:0;return({current:t,max:r,change:n})=>{let o=eE(t,n),l={x:e(o.x,r.x),y:e(o.y,r.y)};return eP(l,eD)?null:l}})(),nO=({max:e,current:t,change:r})=>{let n={x:Math.max(t.x,e.x),y:Math.max(t.y,e.y)},o=nP(r),l=nA({max:n,current:t,change:o});return!l||0!==o.x&&0===l.x||0!==o.y&&0===l.y},nN=(e,t)=>nO({current:e.scroll.current,max:e.scroll.max,change:t}),nw=(e,t)=>{if(!nN(e,t))return null;let r=e.scroll.max;return nA({current:e.scroll.current,max:r,change:t})},nC=(e,t)=>{let r=e.frame;return!!r&&nO({current:r.scroll.current,max:r.scroll.max,change:t})},nR=(e,t)=>{let r=e.frame;return r&&nC(e,t)?nA({current:r.scroll.current,max:r.scroll.max,change:t}):null};var nB=({viewport:e,subject:t,center:r,dragStartTime:n,shouldUseTimeDampening:o,getAutoScrollerOptions:l})=>{let i=nS({dragStartTime:n,container:e.frame,subject:t,center:r,shouldUseTimeDampening:o,getAutoScrollerOptions:l});return i&&nN(e,i)?i:null},nT=({droppable:e,subject:t,center:r,dragStartTime:n,shouldUseTimeDampening:o,getAutoScrollerOptions:l})=>{let i=e.frame;if(!i)return null;let a=nS({dragStartTime:n,container:i.pageMarginBox,subject:t,center:r,shouldUseTimeDampening:o,getAutoScrollerOptions:l});return a&&nC(e,a)?a:null},nL=({state:e,dragStartTime:t,shouldUseTimeDampening:r,scrollWindow:n,scrollDroppable:o,getAutoScrollerOptions:l})=>{let i=e.current.page.borderBoxCenter,a=e.dimensions.draggables[e.critical.draggable.id].page.marginBox;if(e.isWindowScrollAllowed){let o=nB({dragStartTime:t,viewport:e.viewport,subject:a,center:i,shouldUseTimeDampening:r,getAutoScrollerOptions:l});if(o){n(o);return}}let u=ng({center:i,destination:tj(e.impact),droppables:e.dimensions.droppables});if(!u)return;let s=nT({dragStartTime:t,droppable:u,subject:a,center:i,shouldUseTimeDampening:r,getAutoScrollerOptions:l});s&&o(u.descriptor.id,s)},nG=({scrollWindow:e,scrollDroppable:t,getAutoScrollerOptions:r=()=>nm})=>{let n=ea(e),o=ea(t),l=null,i=e=>{l||em(!1);let{shouldUseTimeDampening:t,dragStartTime:i}=l;nL({state:e,scrollWindow:n,scrollDroppable:o,dragStartTime:i,shouldUseTimeDampening:t,getAutoScrollerOptions:r})};return{start:e=>{t9(),l&&em(!1);let t=Date.now(),n=!1,o=()=>{n=!0};nL({state:e,dragStartTime:0,shouldUseTimeDampening:!1,scrollWindow:o,scrollDroppable:o,getAutoScrollerOptions:r}),l={dragStartTime:t,shouldUseTimeDampening:n},t7(),n&&i(e)},stop:()=>{l&&(n.cancel(),o.cancel(),l=null)},scroll:i}},nM=({move:e,scrollDroppable:t,scrollWindow:r})=>{let n=(t,r)=>{e({client:eE(t.current.client.selection,r)})},o=(e,r)=>{if(!nC(e,r))return r;let n=nR(e,r);if(!n)return t(e.descriptor.id,r),null;let o=eS(r,n);return t(e.descriptor.id,o),eS(r,o)},l=(e,t,n)=>{if(!e||!nN(t,n))return n;let o=nw(t,n);if(!o)return r(n),null;let l=eS(n,o);return r(l),eS(n,l)};return e=>{let t=e.scrollJumpRequest;if(!t)return;let r=tj(e.impact);r||em(!1);let i=o(e.dimensions.droppables[r],t);if(!i)return;let a=e.viewport,u=l(e.isWindowScrollAllowed,a,i);u&&n(e,u)}},n_=({scrollDroppable:e,scrollWindow:t,move:r,getAutoScrollerOptions:n})=>{let o=nG({scrollWindow:t,scrollDroppable:e,getAutoScrollerOptions:n}),l=nM({move:r,scrollWindow:t,scrollDroppable:e});return{scroll:e=>{if(!n().disabled&&"DRAGGING"===e.phase){if("FLUID"===e.movementMode){o.scroll(e);return}e.scrollJumpRequest&&l(e)}},start:o.start,stop:o.stop}};let n$="data-rfd",nF=(()=>{let e=`${n$}-drag-handle`;return{base:e,draggableId:`${e}-draggable-id`,contextId:`${e}-context-id`}})(),nj=(()=>{let e=`${n$}-draggable`;return{base:e,contextId:`${e}-context-id`,id:`${e}-id`}})(),nW=(()=>{let e=`${n$}-droppable`;return{base:e,contextId:`${e}-context-id`,id:`${e}-id`}})(),nk={contextId:`${n$}-scroll-container-context-id`},nU=e=>t=>`[${t}="${e}"]`,nH=(e,t)=>e.map(e=>{let r=e.styles[t];return r?`${e.selector} { ${r} }`:""}).join(" ");var nV=e=>{let t=nU(e),r=(()=>{let e=`
|
|
cursor: -webkit-grab;
|
|
cursor: grab;
|
|
`;return{selector:t(nF.contextId),styles:{always:`
|
|
-webkit-touch-callout: none;
|
|
-webkit-tap-highlight-color: rgba(0,0,0,0);
|
|
touch-action: manipulation;
|
|
`,resting:e,dragging:"pointer-events: none;",dropAnimating:e}}})(),n=[(()=>{let e=`
|
|
transition: ${rG.outOfTheWay};
|
|
`;return{selector:t(nj.contextId),styles:{dragging:e,dropAnimating:e,userCancel:e}}})(),r,{selector:t(nW.contextId),styles:{always:"overflow-anchor: none;"}},{selector:"body",styles:{dragging:`
|
|
cursor: grabbing;
|
|
cursor: -webkit-grabbing;
|
|
user-select: none;
|
|
-webkit-user-select: none;
|
|
-moz-user-select: none;
|
|
-ms-user-select: none;
|
|
overflow-anchor: none;
|
|
`}}];return{always:nH(n,"always"),resting:nH(n,"resting"),dragging:nH(n,"dragging"),dropAnimating:nH(n,"dropAnimating"),userCancel:nH(n,"userCancel")}};let nz=n.useEffect,nq=()=>{let e=document.querySelector("head");return e||em(!1),e},nY=e=>{let t=document.createElement("style");return e&&t.setAttribute("nonce",e),t.type="text/css",t};function nJ(e,t){return Array.from(e.querySelectorAll(t))}var nZ=e=>e&&e.ownerDocument&&e.ownerDocument.defaultView?e.ownerDocument.defaultView:window;function nX(e){return e instanceof nZ(e).HTMLElement}function nK(e,t){let r=`[${nF.contextId}="${e}"]`,n=nJ(document,r);if(!n.length)return null;let o=n.find(e=>e.getAttribute(nF.draggableId)===t);return o&&nX(o)?o:null}function nQ(){let e={draggables:{},droppables:{}},t=[];function r(e){t.length&&t.forEach(t=>t(e))}function n(t){return e.draggables[t]||null}function o(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 o=t.descriptor.id,l=n(o);l&&t.uniqueId===l.uniqueId&&(delete e.draggables[o],e.droppables[t.descriptor.droppableId]&&r({type:"REMOVAL",value:t}))},getById:function(e){let t=n(e);return t||em(!1),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=o(t.descriptor.id);r&&t.uniqueId===r.uniqueId&&delete e.droppables[t.descriptor.id]},getById:function(e){let t=o(e);return t||em(!1),t},findById:o,exists:e=>!!o(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 n0=o().createContext(null),n1=()=>{let e=document.body;return e||em(!1),e},n2={position:"absolute",width:"1px",height:"1px",margin:"-1px",border:"0",padding:"0",overflow:"hidden",clip:"rect(0 0 0 0)","clip-path":"inset(100%)"};let n6=e=>`rfd-announcement-${e}`,n3=0,n5={separator:"::"};var n4="useId"in o()?function(e,t=n5){let r=o().useId();return z(()=>`${e}${t.separator}${r}`,[t.separator,e,r])}:function(e,t=n5){return z(()=>`${e}${t.separator}${n3++}`,[t.separator,e])},n9=o().createContext(null);let n7=/(\d+)\.(\d+)\.(\d+)/,n8=e=>{let t=n7.exec(e);return null!=t||em(!1),{major:Number(t[1]),minor:Number(t[2]),patch:Number(t[3]),raw:e}},oe=(e,t)=>t.major>e.major||!(t.major<e.major)&&(t.minor>e.minor||!(t.minor<e.minor)&&t.patch>=e.patch);var ot=(e,t)=>{if(oe(n8(e),n8(t)))return},or=e=>{let t=e.doctype;t&&(t.name.toLowerCase(),t.publicId)};function on(e,t){}function oo(e){let t=(0,n.useRef)(e);return(0,n.useEffect)(()=>{t.current=e}),t}function ol(e){return"IDLE"!==e.phase&&"DROP_ANIMATING"!==e.phase&&e.isDragging}let oi={13:!0,9:!0};var oa=e=>{oi[e.keyCode]&&e.preventDefault()};let ou=(()=>{let e="visibilitychange";return"undefined"==typeof document?e:[e,`ms${e}`,`webkit${e}`,`moz${e}`,`o${e}`].find(e=>`on${e}` in document)||e})(),os={type:"IDLE"};function oc(){}let od={34:!0,33:!0,36:!0,35:!0},op={type:"IDLE"},of=["input","button","textarea","select","option","optgroup","video","audio"];var og=e=>Y(e.getBoundingClientRect()).center;let om=(()=>{let e="matches";return"undefined"==typeof document?e:[e,"msMatchesSelector","webkitMatchesSelector"].find(e=>e in Element.prototype)||e})();function ob(e){e.preventDefault()}function oy({expected:e,phase:t,isLockActive:r,shouldWarn:n}){return!!r()&&e===t}function oh({lockAPI:e,store:t,registry:r,draggableId:n}){if(e.isClaimed())return!1;let o=r.draggable.findById(n);return!!(o&&o.options.isEnabled&&nc(t.getState(),n))}let ov=[function(e){let t=(0,n.useRef)(os),r=(0,n.useRef)(ep),o=z(()=>({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 o=e.tryGetLock(n,a,{sourceEvent:t});if(!o)return;t.preventDefault();let l={x:t.clientX,y:t.clientY};r.current(),c(o,l)}}),[e]),l=z(()=>({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]),i=q(function(){r.current=ef(window,[l,o],{passive:!1,capture:!0})},[l,o]),a=q(()=>{"IDLE"!==t.current.type&&(t.current=os,r.current(),i())},[i]),u=q(()=>{let e=t.current;a(),"DRAGGING"===e.type&&e.actions.cancel({shouldBlockNextClick:!0}),"PENDING"===e.type&&e.actions.abort()},[a]),s=q(function(){let e=function({cancel:e,completed:t,getPhase:r,setPhase:n}){return[{eventName:"mousemove",fn:e=>{var t;let{button:o,clientX:l,clientY:i}=e;if(0!==o)return;let a={x:l,y:i},u=r();if("DRAGGING"===u.type){e.preventDefault(),u.actions.move(a);return}"PENDING"!==u.type&&em(!1),t=u.point,(Math.abs(a.x-t.x)>=5||Math.abs(a.y-t.y)>=5)&&(e.preventDefault(),n({type:"DRAGGING",actions:u.actions.fluidLift(a)}))}},{eventName:"mouseup",fn:n=>{let o=r();if("DRAGGING"!==o.type){e();return}n.preventDefault(),o.actions.drop({shouldBlockNextClick:!0}),t()}},{eventName:"mousedown",fn:t=>{"DRAGGING"===r().type&&t.preventDefault(),e()}},{eventName:"keydown",fn:t=>{if("PENDING"===r().type){e();return}if(27===t.keyCode){t.preventDefault(),e();return}oa(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||em(!1),n.actions.shouldRespectForcePress()){e();return}t.preventDefault()}},{eventName:ou,fn:e}]}({cancel:u,completed:a,getPhase:()=>t.current,setPhase:e=>{t.current=e}});r.current=ef(window,e,{capture:!0,passive:!1})},[u,a]),c=q(function(e,r){"IDLE"!==t.current.type&&em(!1),t.current={type:"PENDING",point:r,actions:e},s()},[s]);nz(function(){return i(),function(){r.current()}},[i])},function(e){let t=(0,n.useRef)(oc),r=z(()=>({eventName:"keydown",fn:function(r){if(r.defaultPrevented||32!==r.keyCode)return;let n=e.findClosestDraggableId(r);if(!n)return;let l=e.tryGetLock(n,u,{sourceEvent:r});if(!l)return;r.preventDefault();let i=!0,a=l.snapLift();function u(){i||em(!1),i=!1,t.current(),o()}t.current(),t.current=ef(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(od[n.keyCode]){n.preventDefault();return}oa(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:ou,fn:r}]}(a,u),{capture:!0,passive:!1})}}),[e]),o=q(function(){t.current=ef(window,[r],{passive:!1,capture:!0})},[r]);nz(function(){return o(),function(){t.current()}},[o])},function(e){let t=(0,n.useRef)(op),r=(0,n.useRef)(ep),o=q(function(){return t.current},[]),l=q(function(e){t.current=e},[]),i=z(()=>({eventName:"touchstart",fn:function(t){if(t.defaultPrevented)return;let n=e.findClosestDraggableId(t);if(!n)return;let o=e.tryGetLock(n,u,{sourceEvent:t});if(!o)return;let{clientX:l,clientY:i}=t.touches[0];r.current(),p(o,{x:l,y:i})}}),[e]),a=q(function(){r.current=ef(window,[i],{capture:!0,passive:!1})},[i]),u=q(()=>{let e=t.current;"IDLE"!==e.type&&("PENDING"===e.type&&clearTimeout(e.longPressTimerId),l(op),r.current(),a())},[a,l]),s=q(()=>{let e=t.current;u(),"DRAGGING"===e.type&&e.actions.cancel({shouldBlockNextClick:!0}),"PENDING"===e.type&&e.actions.abort()},[u]),c=q(function(){let e={capture:!0,passive:!1},t={cancel:s,completed:u,getPhase:o},n=ef(window,function({cancel:e,completed:t,getPhase:r}){return[{eventName:"touchmove",options:{capture:!1},fn:t=>{let n=r();if("DRAGGING"!==n.type){e();return}n.hasMoved=!0;let{clientX:o,clientY:l}=t.touches[0];t.preventDefault(),n.actions.move({x:o,y:l})}},{eventName:"touchend",fn:n=>{let o=r();if("DRAGGING"!==o.type){e();return}n.preventDefault(),o.actions.drop({shouldBlockNextClick:!0}),t()}},{eventName:"touchcancel",fn:t=>{if("DRAGGING"!==r().type){e();return}t.preventDefault(),e()}},{eventName:"touchforcechange",fn:t=>{let n=r();"IDLE"!==n.type||em(!1);let o=t.touches[0];if(!o||!(o.force>=.15))return;let l=n.actions.shouldRespectForcePress();if("PENDING"===n.type){l&&e();return}if(l){if(n.hasMoved){t.preventDefault();return}e();return}t.preventDefault()}},{eventName:ou,fn:e}]}(t),e),l=ef(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){e();return}27===r.keyCode&&r.preventDefault(),e()}},{eventName:ou,fn:e}]}(t),e);r.current=function(){n(),l()}},[s,o,u]),d=q(function(){let e=o();"PENDING"!==e.type&&em(!1),l({type:"DRAGGING",actions:e.actions.fluidLift(e.point),hasMoved:!1})},[o,l]),p=q(function(e,t){"IDLE"!==o().type&&em(!1),l({type:"PENDING",point:t,actions:e,longPressTimerId:setTimeout(d,120)}),c()},[c,o,l,d]);nz(function(){return a(),function(){r.current();let e=o();"PENDING"===e.type&&(clearTimeout(e.longPressTimerId),l(op))}},[o,a,l]),nz(function(){return ef(window,[{eventName:"touchmove",fn:()=>{},options:{capture:!1,passive:!1}}])},[])}],ox=e=>({onBeforeCapture:t=>{let r=()=>{e.onBeforeCapture&&e.onBeforeCapture(t)};o().version.startsWith("16")||o().version.startsWith("17")?r():(0,l.flushSync)(r)},onBeforeDragStart:e.onBeforeDragStart,onDragStart:e.onDragStart,onDragEnd:e.onDragEnd,onDragUpdate:e.onDragUpdate}),oI=e=>({...nm,...e.autoScrollerOptions,durationDampening:{...nm.durationDampening,...e.autoScrollerOptions}});function oD(e){return e.current||em(!1),e.current}function oE(e){let{contextId:t,setCallbacks:r,sensors:l,nonce:i,dragHandleUsageInstructions:a}=e,u=(0,n.useRef)(null),s=oo(e),c=q(()=>ox(s.current),[s]),d=q(()=>oI(s.current),[s]),p=function(e){let t=z(()=>n6(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"),S(e.style,n2),n1().appendChild(e),function(){setTimeout(function(){let t=n1();t.contains(e)&&t.removeChild(e),e===r.current&&(r.current=null)})}},[t]),q(e=>{let t=r.current;if(t){t.textContent=e;return}},[])}(t),f=function({contextId:e,text:t}){let r=n4("hidden-text",{separator:"-"}),o=z(()=>(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=o,e.textContent=t,e.style.display="none",n1().appendChild(e),function(){let t=n1();t.contains(e)&&t.removeChild(e)}},[o,t]),o}({contextId:t,text:a}),g=function(e,t){let r=z(()=>nV(e),[e]),o=(0,n.useRef)(null),l=(0,n.useRef)(null),i=q(ei(e=>{let t=l.current;t||em(!1),t.textContent=e}),[]),a=q(e=>{let t=o.current;t||em(!1),t.textContent=e},[]);nz(()=>{(o.current||l.current)&&em(!1);let n=nY(t),u=nY(t);return o.current=n,l.current=u,n.setAttribute(`${n$}-always`,e),u.setAttribute(`${n$}-dynamic`,e),nq().appendChild(n),nq().appendChild(u),a(r.always),i(r.resting),()=>{let e=e=>{let t=e.current;t||em(!1),nq().removeChild(t),e.current=null};e(o),e(l)}},[t,a,i,r.always,r.resting,e]);let u=q(()=>i(r.dragging),[i,r.dragging]),s=q(e=>{if("DROP"===e){i(r.dropAnimating);return}i(r.userCancel)},[i,r.dropAnimating,r.userCancel]),c=q(()=>{l.current&&i(r.resting)},[i,r.resting]);return z(()=>({dragging:u,dropping:s,resting:c}),[u,s,c])}(t,i),b=q(e=>{oD(u).dispatch(e)},[]),y=z(()=>m({publishWhileDragging:rp,updateDroppableScroll:rg,updateDroppableIsEnabled:rm,updateDroppableIsCombineEnabled:rb,collectionStarting:rf},b),[b]),h=function(){let e=z(nQ,[]);return(0,n.useEffect)(()=>function(){o().version.startsWith("16")||o().version.startsWith("17")?requestAnimationFrame(e.clean):e.clean()},[e]),e}(),v=z(()=>ns(h,y),[h,y]),x=z(()=>n_({scrollWindow:nd,scrollDroppable:v.scrollDroppable,getAutoScrollerOptions:d,...m({move:ry},b)}),[v.scrollDroppable,b,d]),I=function(e){let t=(0,n.useRef)({}),r=(0,n.useRef)(null),o=(0,n.useRef)(null),l=(0,n.useRef)(!1),i=q(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]}},[]),a=q(function(t){let r=nK(e,t);r&&r!==document.activeElement&&r.focus()},[e]),u=q(function(e,t){r.current===e&&(r.current=t)},[]),s=q(function(){!o.current&&l.current&&(o.current=requestAnimationFrame(()=>{o.current=null;let e=r.current;e&&a(e)}))},[a]),c=q(function(e){r.current=null;let t=document.activeElement;t&&t.getAttribute(nF.draggableId)===e&&(r.current=e)},[]);return nz(()=>(l.current=!0,function(){l.current=!1;let e=o.current;e&&cancelAnimationFrame(e)}),[]),z(()=>({register:i,tryRecordFocus:c,tryRestoreFocusRecorded:s,tryShiftRecord:u}),[i,c,s,u])}(t),D=z(()=>nt({announce:p,autoScroller:x,dimensionMarshal:v,focusMarshal:I,getResponders:c,styleMarshal:g}),[p,x,v,I,c,g]);u.current=D;let E=q(()=>{let e=oD(u);"IDLE"!==e.getState().phase&&e.dispatch(rE())},[]),P=q(()=>{let e=oD(u).getState();return"DROP_ANIMATING"===e.phase||"IDLE"!==e.phase&&e.isDragging},[]);r(z(()=>({isDragging:P,tryAbort:E}),[P,E]));let A=q(e=>nc(oD(u).getState(),e),[]),O=q(()=>tU(oD(u).getState()),[]),N=z(()=>({marshal:v,focus:I,contextId:t,canLift:A,isMovementAllowed:O,dragHandleUsageInstructionsId:f,registry:h}),[t,v,f,I,A,O,h]);return function({contextId:e,store:t,registry:r,customSensors:o,enableDefaultSensors:l}){let i=[...l?ov:[],...o||[]],a=(0,n.useState)(()=>(function(){let e=null;function t(){e||em(!1),e=null}return{isClaimed:function(){return!!e},isActive:function(t){return t===e},claim:function(t){e&&em(!1);let r={abandon:t};return e=r,r},release:t,tryAbandon:function(){e&&(e.abandon(),t())}}})())[0],u=q(function(e,t){ol(e)&&!ol(t)&&a.tryAbandon()},[a]);nz(function(){let e=t.getState();return t.subscribe(()=>{let r=t.getState();u(e,r),e=r})},[a,t,u]),nz(()=>a.tryAbandon,[a.tryAbandon]);let s=q(e=>oh({lockAPI:a,registry:r,store:t,draggableId:e}),[a,r,t]),c=q((n,o,l)=>(function({lockAPI:e,contextId:t,store:r,registry:n,draggableId:o,forceSensorStop:l,sourceEvent:i}){if(!oh({lockAPI:e,store:r,registry:n,draggableId:o}))return null;let a=n.draggable.getById(o),u=function(e,t){let r=`[${nj.contextId}="${e}"]`,n=nJ(document,r).find(e=>e.getAttribute(nj.id)===t);return n&&nX(n)?n:null}(t,a.descriptor.id);if(!u||i&&!a.options.canDragInteractiveElements&&function(e,t){let r=t.target;return!!nX(r)&&function e(t,r){if(null==r)return!1;if(of.includes(r.tagName.toLowerCase()))return!0;let n=r.getAttribute("contenteditable");return"true"===n||""===n||r!==t&&e(t,r.parentElement)}(e,r)}(u,i))return null;let s=e.claim(l||ep),c="PRE_DRAG";function d(){return a.options.shouldRespectForcePress}function p(){return e.isActive(s)}let f=(function(e,t){oy({expected:e,phase:c,isLockActive:p,shouldWarn:!0})&&r.dispatch(t())}).bind(null,"DRAGGING");function g(t){function n(){e.release(),c="COMPLETED"}function o(e,o={shouldBlockNextClick:!1}){t.cleanup(),o.shouldBlockNextClick&&setTimeout(ef(window,[{eventName:"click",fn:ob,options:{once:!0,passive:!1,capture:!0}}])),n(),r.dispatch(rA({reason:e}))}return"PRE_DRAG"!==c&&(n(),em(!1)),r.dispatch(rc(t.liftActionArgs)),c="DRAGGING",{isActive:()=>oy({expected:"DRAGGING",phase:c,isLockActive:p,shouldWarn:!1}),shouldRespectForcePress:d,drop:e=>o("DROP",e),cancel:e=>o("CANCEL",e),...t.actions}}return{isActive:()=>oy({expected:"PRE_DRAG",phase:c,isLockActive:p,shouldWarn:!1}),shouldRespectForcePress:d,fluidLift:function(e){let t=ea(e=>{f(()=>ry({client:e}))});return{...g({liftActionArgs:{id:o,clientSelection:e,movementMode:"FLUID"},cleanup:()=>t.cancel(),actions:{move:t}}),move:t}},snapLift:function(){return g({liftActionArgs:{id:o,clientSelection:og(u),movementMode:"SNAP"},cleanup:ep,actions:{moveUp:()=>f(rv),moveRight:()=>f(rI),moveDown:()=>f(rx),moveLeft:()=>f(rD)}})},abort:function(){oy({expected:"PRE_DRAG",phase:c,isLockActive:p,shouldWarn:!0})&&e.release()}}})({lockAPI:a,registry:r,contextId:e,store:t,draggableId:n,forceSensorStop:o||null,sourceEvent:l&&l.sourceEvent?l.sourceEvent:null}),[e,a,r,t]),d=q(t=>(function(e,t){let r=function(e,t){let r=t.target;if(!(r instanceof nZ(r).Element))return null;let n=`[${nF.contextId}="${e}"]`,o=r.closest?r.closest(n):function e(t,r){return null==t?null:t[om](r)?t:e(t.parentElement,r)}(r,n);return o&&nX(o)?o:null}(e,t);return r?r.getAttribute(nF.draggableId):null})(e,t),[e]),p=q(e=>{let t=r.draggable.findById(e);return t?t.options:null},[r.draggable]),f=q(function(){a.isClaimed()&&(a.tryAbandon(),"IDLE"!==t.getState().phase&&t.dispatch(rE()))},[a,t]),g=q(()=>a.isClaimed(),[a]),m=z(()=>({canGetLock:s,tryGetLock:c,findClosestDraggableId:d,findOptionsForDraggable:p,tryReleaseLock:f,isLockClaimed:g}),[s,c,d,p,f,g]);for(let e=0;e<i.length;e++)i[e](m)}({contextId:t,store:D,registry:h,customSensors:l||null,enableDefaultSensors:!1!==e.enableDefaultSensors}),(0,n.useEffect)(()=>E,[E]),o().createElement(n9.Provider,{value:N},o().createElement(V,{context:n0,store:D},e.children))}let oS=0;var oP="useId"in o()?function(){return o().useId()}:function(){return z(()=>`${oS++}`,[])};function oA(e){let t=oP(),r=e.dragHandleUsageInstructions||eI.dragHandleUsageInstructions;return o().createElement(eb,null,n=>o().createElement(oE,{nonce:e.nonce,contextId:t,setCallbacks:n,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 oO={dragging:5e3,dropAnimating:4500},oN=(e,t)=>t?rG.drop(t.duration):e?rG.snap:rG.fluid,ow=(e,t)=>{if(e)return t?rB.opacity.drop:rB.opacity.combining},oC=e=>null!=e.forceShouldAnimate?e.forceShouldAnimate:"SNAP"===e.mode;var oR=o().createContext(null);function oB(e){e&&nX(e)||em(!1)}function oT(e){let t=(0,n.useContext)(e);return t||em(!1),t}function oL(e){e.preventDefault()}var oG=(e,t)=>e===t,oM=e=>{let{combine:t,destination:r}=e;return r?r.droppableId:t?t.droppableId:null};let o_=e=>e.combine?e.combine.draggableId:null,o$=e=>e.at&&"COMBINE"===e.at.type?e.at.combine.draggableId:null;function oF(e=null){return{isDragging:!1,isDropAnimating:!1,isClone:!1,dropAnimation:null,mode:null,draggingOver:null,combineTargetFor:e,combineWith:null}}let oj={mapped:{type:"SECONDARY",offset:eD,combineTargetFor:null,shouldAnimateDisplacement:!0,snapshot:oF(null)}},oW=H(()=>{let e=function(){let e=ei((e,t)=>({x:e,y:t})),t=ei((e,t,r=null,n=null,o=null)=>({isDragging:!0,isClone:t,isDropAnimating:!!o,dropAnimation:o,mode:e,draggingOver:r,combineWith:n,combineTargetFor:null})),r=ei((e,r,n,o,l=null,i=null,a=null)=>({mapped:{type:"DRAGGING",dropping:null,draggingOver:l,combineWith:i,mode:r,offset:e,dimension:n,forceShouldAnimate:a,snapshot:t(r,o,l,i,null)}}));return(n,o)=>{if(ol(n)){if(n.critical.draggable.id!==o.draggableId)return null;let t=n.current.client.offset,l=n.dimensions.draggables[o.draggableId],i=tj(n.impact),a=o$(n.impact),u=n.forceShouldAnimate;return r(e(t.x,t.y),n.movementMode,l,o.isClone,i,a,u)}if("DROP_ANIMATING"===n.phase){let e=n.completed;if(e.result.draggableId!==o.draggableId)return null;let r=o.isClone,l=n.dimensions.draggables[o.draggableId],i=e.result,a=i.mode,u=oM(i),s=o_(i),c={duration:n.dropDuration,curve:rR.drop,moveTo:n.newHomeClientOffset,opacity:s?rB.opacity.drop:null,scale:s?rB.scale.drop:null};return{mapped:{type:"DRAGGING",offset:n.newHomeClientOffset,dimension:l,dropping:c,draggingOver:u,combineWith:s,mode:a,forceShouldAnimate:null,snapshot:t(a,r,u,s,c)}}}return null}}(),t=function(){let e=ei((e,t)=>({x:e,y:t})),t=ei(oF),r=ei((e,r=null,n)=>({mapped:{type:"SECONDARY",offset:e,combineTargetFor:r,shouldAnimateDisplacement:n,snapshot:t(r)}})),n=e=>e?r(eD,e,!0):null,o=(t,o,l,i)=>{let a=l.displaced.visible[t],u=!!(i.inVirtualList&&i.effected[t]),s=eV(l),c=s&&s.draggableId===t?o:null;if(!a){if(!u)return n(c);if(l.displaced.invisible[t])return null;let o=eA(i.displacedBy.point);return r(e(o.x,o.y),c,!0)}if(u)return n(c);let d=l.displacedBy.point;return r(e(d.x,d.y),c,a.shouldAnimate)};return(e,t)=>{if(ol(e))return e.critical.draggable.id===t.draggableId?null:o(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:o(t.draggableId,r.result.draggableId,r.impact,r.afterCritical)}return null}}();return(r,n)=>e(r,n)||t(r,n)||oj},{dropAnimationFinished:rN},null,{context:n0,areStatePropsEqual:oG})(e=>{let t=(0,n.useRef)(null),r=q((e=null)=>{t.current=e},[]),i=q(()=>t.current,[]),{contextId:a,dragHandleUsageInstructionsId:u,registry:s}=oT(n9),{type:c,droppableId:d}=oT(oR),p=z(()=>({id:e.draggableId,index:e.index,type:c,droppableId:d}),[e.draggableId,e.index,c,d]),{children:f,draggableId:g,isEnabled:m,shouldRespectForcePress:b,canDragInteractiveElements:y,isClone:h,mapped:v,dropAnimationFinished:x}=e;h||function(e){let t=n4("draggable"),{descriptor:r,registry:o,getDraggableRef:l,canDragInteractiveElements:i,shouldRespectForcePress:a,isEnabled:u}=e,s=z(()=>({canDragInteractiveElements:i,shouldRespectForcePress:a,isEnabled:u}),[i,u,a]),c=q(e=>{let t=l();return t||em(!1),function(e,t,r=eD){let n=window.getComputedStyle(t),o=er(t.getBoundingClientRect(),n),l=et(o,r);return{descriptor:e,placeholder:{client:o,tagName:t.tagName.toLowerCase(),display:n.display},displaceBy:{x:o.marginBox.width,y:o.marginBox.height},client:o,page:l}}(r,t,e)},[r,l]),d=z(()=>({uniqueId:t,descriptor:r,options:s,getDimension:c}),[r,c,s,t]),p=(0,n.useRef)(d),f=(0,n.useRef)(!0);nz(()=>(o.draggable.register(p.current),()=>o.draggable.unregister(p.current)),[o.draggable]),nz(()=>{if(f.current){f.current=!1;return}let e=p.current;p.current=d,o.draggable.update(d,e)},[d,o.draggable])}(z(()=>({descriptor:p,registry:s,getDraggableRef:i,canDragInteractiveElements:y,shouldRespectForcePress:b,isEnabled:m}),[p,s,i,y,b,m]));let I=z(()=>m?{tabIndex:0,role:"button","aria-describedby":u,"data-rfd-drag-handle-draggable-id":g,"data-rfd-drag-handle-context-id":a,draggable:!1,onDragStart:oL}:null,[a,u,g,m]),D=q(e=>{"DRAGGING"===v.type&&v.dropping&&"transform"===e.propertyName&&(o().version.startsWith("16")||o().version.startsWith("17")?x():(0,l.flushSync)(x))},[x,v]),E=z(()=>({innerRef:r,draggableProps:{"data-rfd-draggable-context-id":a,"data-rfd-draggable-id":g,style:function(e){return"DRAGGING"===e.type?function(e){let t=e.dimension.client,{offset:r,combineWith:n,dropping:o}=e,l=!!n,i=oC(e),a=!!o,u=a?r_.drop(r,l):r_.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:oN(i,o),transform:u,opacity:ow(l,a),zIndex:a?oO.dropAnimating:oO.dragging,pointerEvents:"none"}}(e):{transform:r_.moveTo(e.offset),transition:e.shouldAnimateDisplacement?void 0:"none"}}(v),onTransitionEnd:"DRAGGING"===v.type&&v.dropping?D:void 0},dragHandleProps:I}),[a,I,g,v,D,r]),S=z(()=>({draggableId:p.id,type:p.type,source:{index:p.index,droppableId:p.droppableId}}),[p.droppableId,p.id,p.index,p.type]);return o().createElement(o().Fragment,null,f(E,v.snapshot,S))});function ok(e){return oT(oR).isUsingCloneFor!==e.draggableId||e.isClone?o().createElement(oW,e):null}function oU(e){let t="boolean"!=typeof e.isDragDisabled||!e.isDragDisabled,r=!!e.disableInteractiveElementBlocking,n=!!e.shouldRespectForcePress;return o().createElement(ok,S({},e,{isClone:!1,isEnabled:t,canDragInteractiveElements:r,shouldRespectForcePress:n}))}let oH=e=>t=>e===t,oV=oH("scroll"),oz=oH("auto");oH("visible");let oq=(e,t)=>t(e.overflowX)||t(e.overflowY),oY=e=>{let t=window.getComputedStyle(e),r={overflowX:t.overflowX,overflowY:t.overflowY};return oq(r,oV)||oq(r,oz)},oJ=()=>!1,oZ=e=>null==e?null:e===document.body?oJ()?e:null:e===document.documentElement?null:oY(e)?e:oZ(e.parentElement);var oX=e=>({x:e.scrollLeft,y:e.scrollTop});let oK=e=>!!e&&("fixed"===window.getComputedStyle(e).position||oK(e.parentElement));var oQ=e=>({closestScrollable:oZ(e),isFixedOnPage:oK(e)}),o0=({descriptor:e,isEnabled:t,isCombineEnabled:r,isFixedOnPage:n,direction:o,client:l,page:i,closest:a})=>{let u=(()=>{if(!a)return null;let{scrollSize:e,client:t}=a,r=nn({scrollHeight:e.scrollHeight,scrollWidth:e.scrollWidth,height:t.paddingBox.height,width:t.paddingBox.width});return{pageMarginBox:a.page.marginBox,frameClient:t,scrollSize:e,shouldClipSubject:a.shouldClipSubject,scroll:{initial:a.scroll,current:a.scroll,max:r,diff:{value:eD,displacement:eD}}}})(),s="vertical"===o?e1:e2,c=e_({page:i,withPlaceholder:null,axis:s,frame:u});return{descriptor:e,isCombineEnabled:r,isFixedOnPage:n,axis:s,isEnabled:t,client:l,page:i,frame:u,subject:c}};let o1=(e,t)=>{let r=en(e);if(!t||e!==t)return r;let n=r.paddingBox.top-t.scrollTop,o=r.paddingBox.left-t.scrollLeft,l=n+t.scrollHeight;return K({borderBox:J({top:n,right:o+t.scrollWidth,bottom:l,left:o},r.border),margin:r.margin,border:r.border,padding:r.padding})};var o2=({ref:e,descriptor:t,env:r,windowScroll:n,direction:o,isDropDisabled:l,isCombineEnabled:i,shouldClipSubject:a})=>{let u=r.closestScrollable,s=o1(e,u),c=et(s,n),d=(()=>{if(!u)return null;let e=en(u),t={scrollHeight:u.scrollHeight,scrollWidth:u.scrollWidth};return{client:e,page:et(e,n),scroll:oX(u),scrollSize:t,shouldClipSubject:a}})();return o0({descriptor:t,isEnabled:!l,isCombineEnabled:i,isFixedOnPage:r.isFixedOnPage,direction:o,client:s,page:c,closest:d})};let o6={passive:!1},o3={passive:!0};var o5=e=>e.shouldPublishImmediately?o6:o3;let o4=e=>e&&e.env.closestScrollable||null;function o9(){}let o7={width:0,height:0,margin:{top:0,right:0,bottom:0,left:0}},o8=({isAnimatingOpenOnMount:e,placeholder:t,animate:r})=>e||"close"===r?o7:{height:t.client.borderBox.height,width:t.client.borderBox.width,margin:t.client.margin},le=({isAnimatingOpenOnMount:e,placeholder:t,animate:r})=>{let n=o8({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?rG.placeholder:null}};var lt=o().memo(e=>{let t=(0,n.useRef)(null),r=q(()=>{t.current&&(clearTimeout(t.current),t.current=null)},[]),{animate:l,onTransitionEnd:i,onClose:a,contextId:u}=e,[s,c]=(0,n.useState)("open"===e.animate);(0,n.useEffect)(()=>s?"open"!==l?(r(),c(!1),o9):t.current?o9:(t.current=setTimeout(()=>{t.current=null,c(!1)}),r):o9,[l,s,r]);let d=q(e=>{"height"===e.propertyName&&(i(),"close"===l&&a())},[l,a,i]),p=le({isAnimatingOpenOnMount:s,animate:e.animate,placeholder:e.placeholder});return o().createElement(e.placeholder.tagName,{style:p,"data-rfd-placeholder-context-id":u,onTransitionEnd:d,ref:e.innerRef})});function lr(e){return"boolean"==typeof e}function ln(e,t){t.forEach(t=>t(e))}let lo=[function({props:e}){e.droppableId||em(!1),"string"!=typeof e.droppableId&&em(!1)},function({props:e}){lr(e.isDropDisabled)||em(!1),lr(e.isCombineEnabled)||em(!1),lr(e.ignoreContainerClipping)||em(!1)},function({getDroppableRef:e}){oB(e())}],ll=[function({props:e,getPlaceholderRef:t}){if(!e.placeholder||t())return}],li=[function({props:e}){e.renderClone||em(!1)},function({getPlaceholderRef:e}){e()&&em(!1)}];class la extends o().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 lu={mode:"standard",type:"DEFAULT",direction:"vertical",isDropDisabled:!1,isCombineEnabled:!1,ignoreContainerClipping:!1,renderClone:null,getContainerForClone:function(){return document.body||em(!1),document.body}},ls=e=>{let t,r={...e};for(t in lu)void 0===e[t]&&(r={...r,[t]:lu[t]});return r},lc=(e,t)=>e===t.droppable.type,ld=(e,t)=>t.draggables[e.draggable.id];var lp=H(()=>{let e={placeholder:null,shouldAnimatePlaceholder:!0,snapshot:{isDraggingOver:!1,draggingOverWith:null,draggingFromThisWith:null,isUsingPlaceholder:!1},useClone:null},t={...e,shouldAnimatePlaceholder:!1},r=ei(e=>({draggableId:e.id,type:e.type,source:{index:e.index,droppableId:e.droppableId}})),n=ei((n,o,l,i,a,u)=>{let s=a.descriptor.id;if(a.descriptor.droppableId===n){let e=u?{render:u,dragging:r(a.descriptor)}:null;return{placeholder:a.placeholder,shouldAnimatePlaceholder:!1,snapshot:{isDraggingOver:l,draggingOverWith:l?s:null,draggingFromThisWith:s,isUsingPlaceholder:!0},useClone:e}}return o?i?{placeholder:a.placeholder,shouldAnimatePlaceholder:!0,snapshot:{isDraggingOver:l,draggingOverWith:s,draggingFromThisWith:null,isUsingPlaceholder:!0},useClone:null}:e:t});return(r,o)=>{let l=ls(o),i=l.droppableId,a=l.type,u=!l.isDropDisabled,s=l.renderClone;if(ol(r)){let e=r.critical;if(!lc(a,e))return t;let o=ld(e,r.dimensions),l=tj(r.impact)===i;return n(i,u,l,l,o,s)}if("DROP_ANIMATING"===r.phase){let e=r.completed;if(!lc(a,e.critical))return t;let o=ld(e.critical,r.dimensions);return n(i,u,oM(e.result)===i,tj(e.impact)===i,o,s)}if("IDLE"===r.phase&&r.completed&&!r.shouldFlush){let n=r.completed;if(!lc(a,n.critical))return t;let o=tj(n.impact)===i,l=!!(n.impact.at&&"COMBINE"===n.impact.at.type),u=n.critical.droppable.id===i;if(o)return l?e:t;if(u)return e}return t}},{updateViewportMaxScroll:e=>({type:"UPDATE_VIEWPORT_MAX_SCROLL",payload:e})},(e,t,r)=>({...ls(r),...e,...t}),{context:n0,areStatePropsEqual:oG})(e=>{let t=(0,n.useContext)(n9);t||em(!1);let{contextId:r,isMovementAllowed:l}=t,a=(0,n.useRef)(null),u=(0,n.useRef)(null),{children:s,droppableId:c,type:d,mode:p,direction:f,ignoreContainerClipping:g,isDropDisabled:m,isCombineEnabled:b,snapshot:y,useClone:h,updateViewportMaxScroll:v,getContainerForClone:x}=e,I=q(()=>a.current,[]),D=q((e=null)=>{a.current=e},[]),E=q(()=>u.current,[]),S=q((e=null)=>{u.current=e},[]),P=q(()=>{l()&&v({maxScroll:nl()})},[l,v]);!function(e){let t=(0,n.useRef)(null),r=oT(n9),o=n4("droppable"),{registry:l,marshal:i}=r,a=oo(e),u=z(()=>({id:e.droppableId,type:e.type,mode:e.mode}),[e.droppableId,e.mode,e.type]),s=(0,n.useRef)(u),c=z(()=>ei((e,r)=>{t.current||em(!1),i.updateDroppableScroll(u.id,{x:e,y:r})}),[u.id,i]),d=q(()=>{let e=t.current;return e&&e.env.closestScrollable?oX(e.env.closestScrollable):eD},[]),p=q(()=>{let e=d();c(e.x,e.y)},[d,c]),f=z(()=>ea(p),[p]),g=q(()=>{let e=t.current,r=o4(e);if(e&&r||em(!1),e.scrollOptions.shouldPublishImmediately){p();return}f()},[f,p]),m=q((e,n)=>{t.current&&em(!1);let o=a.current,l=o.getDroppableRef();l||em(!1);let i=oQ(l),s={ref:l,descriptor:u,env:i,scrollOptions:n};t.current=s;let c=o2({ref:l,descriptor:u,env:i,windowScroll:e,direction:o.direction,isDropDisabled:o.isDropDisabled,isCombineEnabled:o.isCombineEnabled,shouldClipSubject:!o.ignoreContainerClipping}),d=i.closestScrollable;return d&&(d.setAttribute(nk.contextId,r.contextId),d.addEventListener("scroll",g,o5(s.scrollOptions))),c},[r.contextId,u,g,a]),b=q(()=>{let e=t.current,r=o4(e);return e&&r||em(!1),oX(r)},[]),y=q(()=>{let e=t.current;e||em(!1);let r=o4(e);t.current=null,r&&(f.cancel(),r.removeAttribute(nk.contextId),r.removeEventListener("scroll",g,o5(e.scrollOptions)))},[g,f]),h=q(e=>{let r=t.current;r||em(!1);let n=o4(r);n||em(!1),n.scrollTop+=e.y,n.scrollLeft+=e.x},[]),v=z(()=>({getDimensionAndWatchScroll:m,getScrollWhileDragging:b,dragStopped:y,scroll:h}),[y,m,b,h]),x=z(()=>({uniqueId:o,descriptor:u,callbacks:v}),[v,u,o]);nz(()=>(s.current=x.descriptor,l.droppable.register(x),()=>{t.current&&y(),l.droppable.unregister(x)}),[v,u,y,x,i,l.droppable]),nz(()=>{t.current&&i.updateDroppableIsEnabled(s.current.id,!e.isDropDisabled)},[e.isDropDisabled,i]),nz(()=>{t.current&&i.updateDroppableIsCombineEnabled(s.current.id,e.isCombineEnabled)},[e.isCombineEnabled,i])}({droppableId:c,type:d,mode:p,direction:f,isDropDisabled:m,isCombineEnabled:b,ignoreContainerClipping:g,getDroppableRef:I});let A=z(()=>o().createElement(la,{on:e.placeholder,shouldAnimate:e.shouldAnimatePlaceholder},({onClose:e,data:t,animate:n})=>o().createElement(lt,{placeholder:t,onClose:e,innerRef:S,animate:n,contextId:r,onTransitionEnd:P})),[r,P,e.placeholder,e.shouldAnimatePlaceholder,S]),O=z(()=>({innerRef:D,placeholder:A,droppableProps:{"data-rfd-droppable-id":c,"data-rfd-droppable-context-id":r}}),[r,c,A,D]),N=h?h.dragging.draggableId:null,w=z(()=>({droppableId:c,type:d,isUsingCloneFor:N}),[c,N,d]);return o().createElement(oR.Provider,{value:w},s(O,y),function(){if(!h)return null;let{dragging:e,render:t}=h,r=o().createElement(ok,{draggableId:e.draggableId,index:e.source.index,isClone:!0,isEnabled:!0,shouldRespectForcePress:!1,canDragInteractiveElements:!0},(r,n)=>t(r,n,e));return i().createPortal(r,x())}())})},34998:(e,t,r)=>{var n=r(91084),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},l={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},a={};function u(e){return n.isMemo(e)?i:a[e.$$typeof]||o}a[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},a[n.Memo]=i;var s=Object.defineProperty,c=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,g=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(g){var o=f(r);o&&o!==g&&e(t,o,n)}var i=c(r);d&&(i=i.concat(d(r)));for(var a=u(t),m=u(r),b=0;b<i.length;++b){var y=i[b];if(!l[y]&&!(n&&n[y])&&!(m&&m[y])&&!(a&&a[y])){var h=p(r,y);try{s(t,y,h)}catch(e){}}}}return t}},42495:(e,t)=>{/** @license React v16.13.1
|
|
* react-is.production.min.js
|
|
*
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/var r="function"==typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,l=r?Symbol.for("react.fragment"):60107,i=r?Symbol.for("react.strict_mode"):60108,a=r?Symbol.for("react.profiler"):60114,u=r?Symbol.for("react.provider"):60109,s=r?Symbol.for("react.context"):60110,c=r?Symbol.for("react.async_mode"):60111,d=r?Symbol.for("react.concurrent_mode"):60111,p=r?Symbol.for("react.forward_ref"):60112,f=r?Symbol.for("react.suspense"):60113,g=r?Symbol.for("react.suspense_list"):60120,m=r?Symbol.for("react.memo"):60115,b=r?Symbol.for("react.lazy"):60116,y=r?Symbol.for("react.block"):60121,h=r?Symbol.for("react.fundamental"):60117,v=r?Symbol.for("react.responder"):60118,x=r?Symbol.for("react.scope"):60119;function I(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case c:case d:case l:case a:case i:case f:return e;default:switch(e=e&&e.$$typeof){case s:case p:case b:case m:case u:return e;default:return t}}case o:return t}}}function D(e){return I(e)===d}t.AsyncMode=c,t.ConcurrentMode=d,t.ContextConsumer=s,t.ContextProvider=u,t.Element=n,t.ForwardRef=p,t.Fragment=l,t.Lazy=b,t.Memo=m,t.Portal=o,t.Profiler=a,t.StrictMode=i,t.Suspense=f,t.isAsyncMode=function(e){return D(e)||I(e)===c},t.isConcurrentMode=D,t.isContextConsumer=function(e){return I(e)===s},t.isContextProvider=function(e){return I(e)===u},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return I(e)===p},t.isFragment=function(e){return I(e)===l},t.isLazy=function(e){return I(e)===b},t.isMemo=function(e){return I(e)===m},t.isPortal=function(e){return I(e)===o},t.isProfiler=function(e){return I(e)===a},t.isStrictMode=function(e){return I(e)===i},t.isSuspense=function(e){return I(e)===f},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===l||e===d||e===a||e===i||e===f||e===g||"object"==typeof e&&null!==e&&(e.$$typeof===b||e.$$typeof===m||e.$$typeof===u||e.$$typeof===s||e.$$typeof===p||e.$$typeof===h||e.$$typeof===v||e.$$typeof===x||e.$$typeof===y)},t.typeOf=I},91084:(e,t,r)=>{e.exports=r(42495)},41864:(e,t)=>{/**
|
|
* @license React
|
|
* react-is.production.min.js
|
|
*
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/var r,n=Symbol.for("react.element"),o=Symbol.for("react.portal"),l=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),u=Symbol.for("react.provider"),s=Symbol.for("react.context"),c=Symbol.for("react.server_context"),d=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),g=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),b=Symbol.for("react.offscreen");function y(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case l:case a:case i:case p:case f:return e;default:switch(e=e&&e.$$typeof){case c:case s:case d:case m:case g:case u:return e;default:return t}}case o:return t}}}r=Symbol.for("react.module.reference"),t.ContextConsumer=s,t.ContextProvider=u,t.Element=n,t.ForwardRef=d,t.Fragment=l,t.Lazy=m,t.Memo=g,t.Portal=o,t.Profiler=a,t.StrictMode=i,t.Suspense=p,t.SuspenseList=f,t.isAsyncMode=function(){return!1},t.isConcurrentMode=function(){return!1},t.isContextConsumer=function(e){return y(e)===s},t.isContextProvider=function(e){return y(e)===u},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return y(e)===d},t.isFragment=function(e){return y(e)===l},t.isLazy=function(e){return y(e)===m},t.isMemo=function(e){return y(e)===g},t.isPortal=function(e){return y(e)===o},t.isProfiler=function(e){return y(e)===a},t.isStrictMode=function(e){return y(e)===i},t.isSuspense=function(e){return y(e)===p},t.isSuspenseList=function(e){return y(e)===f},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===l||e===a||e===i||e===p||e===f||e===b||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===g||e.$$typeof===u||e.$$typeof===s||e.$$typeof===d||e.$$typeof===r||void 0!==e.getModuleId)},t.typeOf=y},99619:(e,t,r)=>{e.exports=r(41864)},23395:(e,t,r)=>{r.d(t,{Z:()=>l});var n=r(11312),o=r(81074);let l=function(e,t){return function(r,n){if(null==r)return r;if(!(0,o.Z)(r))return e(r,n);for(var l=r.length,i=t?l:-1,a=Object(r);(t?i--:++i<l)&&!1!==n(a[i],i,a););return r}}(n.Z)},26505:(e,t,r)=>{r.d(t,{Z:()=>c});var n=r(74067);let o=function(e,t,r,n){for(var o=-1,l=null==e?0:e.length;++o<l;){var i=e[o];t(n,i,r(i),e)}return n};var l=r(23395);let i=function(e,t,r,n){return(0,l.Z)(e,function(e,o,l){t(n,e,r(e),l)}),n};var a=r(64251),u=r(27774),s=Object.prototype.hasOwnProperty;let c=function(e,t){return function(r,n){var l=(0,u.Z)(r)?o:i,s=t?t():{};return l(r,e,(0,a.Z)(n,2),s)}}(function(e,t,r){s.call(e,r)?e[r].push(t):(0,n.Z)(e,r,[t])})}}; |