????
Current Path : C:/inetpub/vhost/lantha.gdtsolutions.vn/wwwtest/wwwroot/static/js/ |
Current File : C:/inetpub/vhost/lantha.gdtsolutions.vn/wwwtest/wwwroot/static/js/4301.85ec8d42.chunk.js |
/*! For license information please see 4301.85ec8d42.chunk.js.LICENSE.txt */ (self.webpackChunkgdt=self.webpackChunkgdt||[]).push([[4301],{539:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(9950),i=n(2946);function a(e,t){return r.useMemo((function(){return null==e&&null==t?null:function(n){(0,i.A)(e,n),(0,i.A)(t,n)}}),[e,t])}},2946:(e,t,n)=>{"use strict";function r(e,t){"function"===typeof e?e(t):e&&(e.current=t)}n.d(t,{A:()=>r})},20906:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(58168),i=n(80045),a=n(9950),o=n(2803),s=n(37751),l=n(33720),u=a.forwardRef((function(e,t){var n=e.animation,s=void 0===n?"pulse":n,l=e.classes,u=e.className,c=e.component,d=void 0===c?"span":c,f=e.height,p=e.variant,h=void 0===p?"text":p,g=e.width,m=(0,i.A)(e,["animation","classes","className","component","height","variant","width"]),v=Boolean(m.children);return a.createElement(d,(0,r.A)({ref:t,className:(0,o.A)(l.root,l[h],u,v&&[l.withChildren,!g&&l.fitContent,!f&&l.heightAuto],!1!==s&&l[s])},m,{style:(0,r.A)({width:g,height:f},m.style)}))}));const c=(0,l.A)((function(e){return{root:{display:"block",backgroundColor:(0,s.X4)(e.palette.text.primary,"light"===e.palette.type?.11:.13),height:"1.2em"},text:{marginTop:0,marginBottom:0,height:"auto",transformOrigin:"0 60%",transform:"scale(1, 0.60)",borderRadius:e.shape.borderRadius,"&:empty:before":{content:'"\\00a0"'}},rect:{},circle:{borderRadius:"50%"},pulse:{animation:"$pulse 1.5s ease-in-out 0.5s infinite"},"@keyframes pulse":{"0%":{opacity:1},"50%":{opacity:.4},"100%":{opacity:1}},wave:{position:"relative",overflow:"hidden","&::after":{animation:"$wave 1.6s linear 0.5s infinite",background:"linear-gradient(90deg, transparent, ".concat(e.palette.action.hover,", transparent)"),content:'""',position:"absolute",transform:"translateX(-100%)",bottom:0,left:0,right:0,top:0}},"@keyframes wave":{"0%":{transform:"translateX(-100%)"},"60%":{transform:"translateX(100%)"},"100%":{transform:"translateX(100%)"}},withChildren:{"& > *":{visibility:"hidden"}},fitContent:{maxWidth:"fit-content"},heightAuto:{height:"auto"}}}),{name:"MuiSkeleton"})(u)},21205:(e,t,n)=>{"use strict";n.d(t,{A:()=>h});var r=n(58168),i=n(98587),a=n(9950),o=n(11942),s=n.n(o),l=n(48738),u=n.n(l),c=n(44208),d=["className","cssModule","size","bordered","borderless","striped","dark","hover","responsive","tag","responsiveTag","innerRef"],f={className:s().string,cssModule:s().object,size:s().string,bordered:s().bool,borderless:s().bool,striped:s().bool,dark:s().bool,hover:s().bool,responsive:s().oneOfType([s().bool,s().string]),tag:c.Wx,responsiveTag:c.Wx,innerRef:s().oneOfType([s().func,s().string,s().object])},p=function(e){var t=e.className,n=e.cssModule,o=e.size,s=e.bordered,l=e.borderless,f=e.striped,p=e.dark,h=e.hover,g=e.responsive,m=e.tag,v=e.responsiveTag,b=e.innerRef,y=(0,i.A)(e,d),D=(0,c.qO)(u()(t,"table",!!o&&"table-"+o,!!s&&"table-bordered",!!l&&"table-borderless",!!f&&"table-striped",!!p&&"table-dark",!!h&&"table-hover"),n),_=a.createElement(m,(0,r.A)({},y,{ref:b,className:D}));if(g){var w=(0,c.qO)(!0===g?"table-responsive":"table-responsive-"+g,n);return a.createElement(v,{className:w},_)}return _};p.propTypes=f,p.defaultProps={tag:"table",responsiveTag:"div"};const h=p},28555:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(9950).createContext(null)},30038:(e,t,n)=>{"use strict";n.d(t,{A:()=>g});var r=n(58168),i=n(98587),a=n(9950),o=n(11942),s=n.n(o),l=n(48738),u=n.n(l),c=n(44208),d=n(99121),f=["className","cssModule","tag","addonType","children"],p={tag:c.Wx,addonType:s().oneOf(["prepend","append"]).isRequired,children:s().node,className:s().string,cssModule:s().object},h=function(e){var t=e.className,n=e.cssModule,o=e.tag,s=e.addonType,l=e.children,p=(0,i.A)(e,f),h=(0,c.qO)(u()(t,"input-group-"+s),n);return"string"===typeof l?a.createElement(o,(0,r.A)({},p,{className:h}),a.createElement(d.A,{children:l})):a.createElement(o,(0,r.A)({},p,{className:h,children:l}))};h.propTypes=p,h.defaultProps={tag:"div"};const g=h},35200:(e,t,n)=>{"use strict";n.d(t,{JY:()=>Tr,sx:()=>mi,gL:()=>_i});var r=n(9950),i=n(77387),a=n(58168),o=n(88208),s=n(73878);function l(e,t){var n=(0,r.useState)((function(){return{inputs:t,result:e()}}))[0],i=(0,r.useRef)(!0),a=(0,r.useRef)(n),o=i.current||Boolean(t&&a.current.inputs&&function(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}(t,a.current.inputs))?a.current:{inputs:t,result:e()};return(0,r.useEffect)((function(){i.current=!1,a.current=o}),[o]),o.result}var u=l,c=function(e,t){return l((function(){return e}),t)},d=n(67033),f=function(e){var t=e.top,n=e.right,r=e.bottom,i=e.left;return{top:t,right:n,bottom:r,left:i,width:n-i,height:r-t,x:i,y:t,center:{x:(n+i)/2,y:(r+t)/2}}},p=function(e,t){return{top:e.top-t.top,left:e.left-t.left,bottom:e.bottom+t.bottom,right:e.right+t.right}},h=function(e,t){return{top:e.top+t.top,left:e.left+t.left,bottom:e.bottom-t.bottom,right:e.right-t.right}},g={top:0,right:0,bottom:0,left:0},m=function(e){var t=e.borderBox,n=e.margin,r=void 0===n?g:n,i=e.border,a=void 0===i?g:i,o=e.padding,s=void 0===o?g:o,l=f(p(t,r)),u=f(h(t,a)),c=f(h(u,s));return{marginBox:l,borderBox:f(t),paddingBox:u,contentBox:c,margin:r,border:a,padding:s}},v=function(e){var t=e.slice(0,-2);if("px"!==e.slice(-2))return 0;var n=Number(t);return isNaN(n)&&(0,d.A)(!1),n},b=function(e,t){var n,r,i=e.borderBox,a=e.border,o=e.margin,s=e.padding,l=(r=t,{top:(n=i).top+r.y,left:n.left+r.x,bottom:n.bottom+r.y,right:n.right+r.x});return m({borderBox:l,border:a,margin:o,padding:s})},y=function(e,t){return void 0===t&&(t={x:window.pageXOffset,y:window.pageYOffset}),b(e,t)},D=function(e,t){var n={top:v(t.marginTop),right:v(t.marginRight),bottom:v(t.marginBottom),left:v(t.marginLeft)},r={top:v(t.paddingTop),right:v(t.paddingRight),bottom:v(t.paddingBottom),left:v(t.paddingLeft)},i={top:v(t.borderTopWidth),right:v(t.borderRightWidth),bottom:v(t.borderBottomWidth),left:v(t.borderLeftWidth)};return m({borderBox:e,margin:n,padding:r,border:i})},_=function(e){var t=e.getBoundingClientRect(),n=window.getComputedStyle(e);return D(t,n)},w=n(11749);const x=function(e){var t=[],n=null,r=function(){for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];t=i,n||(n=requestAnimationFrame((function(){n=null,e.apply(void 0,t)})))};return r.cancel=function(){n&&(cancelAnimationFrame(n),n=null)},r};var S=n(17119);function I(e,t){}I.bind(null,"warn"),I.bind(null,"error");function M(){}function A(e,t,n){var r=t.map((function(t){var r=function(e,t){return(0,a.A)({},e,{},t)}(n,t.options);return e.addEventListener(t.eventName,t.fn,r),function(){e.removeEventListener(t.eventName,t.fn,r)}}));return function(){r.forEach((function(e){e()}))}}var O=!0,N="Invariant failed";function C(e){this.message=e}function E(e,t){if(!e)throw new C(O?N:N+": "+(t||""))}C.prototype.toString=function(){return this.message};var k=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).callbacks=null,t.unbind=M,t.onWindowError=function(e){var n=t.getCallbacks();n.isDragging()&&n.tryAbort(),e.error instanceof C&&e.preventDefault()},t.getCallbacks=function(){if(!t.callbacks)throw new Error("Unable to find AppCallbacks in <ErrorBoundary/>");return t.callbacks},t.setCallbacks=function(e){t.callbacks=e},t}(0,i.A)(t,e);var n=t.prototype;return n.componentDidMount=function(){this.unbind=A(window,[{eventName:"error",fn:this.onWindowError}])},n.componentDidCatch=function(e){if(!(e instanceof C))throw e;this.setState({})},n.componentWillUnmount=function(){this.unbind()},n.render=function(){return this.props.children(this.setCallbacks)},t}(r.Component),T=function(e){return e+1},R=function(e,t){var n=e.droppableId===t.droppableId,r=T(e.index),i=T(t.index);return n?"\n You have moved the item from position "+r+"\n to position "+i+"\n ":"\n You have moved the item from position "+r+"\n in list "+e.droppableId+"\n to list "+t.droppableId+"\n in position "+i+"\n "},P=function(e,t,n){return t.droppableId===n.droppableId?"\n The item "+e+"\n has been combined with "+n.draggableId:"\n The item "+e+"\n in list "+t.droppableId+"\n has been combined with "+n.draggableId+"\n in list "+n.droppableId+"\n "},Y=function(e){return"\n The item has returned to its starting position\n of "+T(e.index)+"\n"},B={dragHandleUsageInstructions:"\n Press space bar to start a drag.\n When dragging you can use the arrow keys to move the item around and escape to cancel.\n Some screen readers may require you to be in focus mode or to use your pass through key\n",onDragStart:function(e){return"\n You have lifted an item in position "+T(e.source.index)+"\n"},onDragUpdate:function(e){var t=e.destination;if(t)return R(e.source,t);var n=e.combine;return n?P(e.draggableId,e.source,n):"You are over an area that cannot be dropped on"},onDragEnd:function(e){if("CANCEL"===e.reason)return"\n Movement cancelled.\n "+Y(e.source)+"\n ";var t=e.destination,n=e.combine;return t?"\n You have dropped the item.\n "+R(e.source,t)+"\n ":n?"\n You have dropped the item.\n "+P(e.draggableId,e.source,n)+"\n ":"\n The item has been dropped while not over a drop area.\n "+Y(e.source)+"\n "}},L={x:0,y:0},G=function(e,t){return{x:e.x+t.x,y:e.y+t.y}},W=function(e,t){return{x:e.x-t.x,y:e.y-t.y}},F=function(e,t){return e.x===t.x&&e.y===t.y},U=function(e){return{x:0!==e.x?-e.x:0,y:0!==e.y?-e.y:0}},H=function(e,t,n){var r;return void 0===n&&(n=0),(r={})[e]=t,r["x"===e?"y":"x"]=n,r},V=function(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))},j=function(e,t){return Math.min.apply(Math,t.map((function(t){return V(e,t)})))},z=function(e){return function(t){return{x:e(t.x),y:e(t.y)}}},q=function(e,t){return{top:e.top+t.y,left:e.left+t.x,bottom:e.bottom+t.y,right:e.right+t.x}},Z=function(e){return[{x:e.left,y:e.top},{x:e.right,y:e.top},{x:e.left,y:e.bottom},{x:e.right,y:e.bottom}]},X=function(e,t){return t&&t.shouldClipSubject?function(e,t){var n=f({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 n.width<=0||n.height<=0?null:n}(t.pageMarginBox,e):f(e)},J=function(e){var t=e.page,n=e.withPlaceholder,r=e.axis,i=e.frame,o=function(e,t){return t?q(e,t.scroll.diff.displacement):e}(t.marginBox,i),s=function(e,t,n){var r;return n&&n.increasedBy?(0,a.A)({},e,((r={})[t.end]=e[t.end]+n.increasedBy[t.line],r)):e}(o,r,n);return{page:t,withPlaceholder:n,active:X(s,i)}},$=function(e,t){e.frame||E(!1);var n=e.frame,r=W(t,n.scroll.initial),i=U(r),o=(0,a.A)({},n,{scroll:{initial:n.scroll.initial,current:t,diff:{value:r,displacement:i},max:n.scroll.max}}),s=J({page:e.subject.page,withPlaceholder:e.subject.withPlaceholder,axis:e.axis,frame:o});return(0,a.A)({},e,{frame:o,subject:s})};function Q(e){return Object.values?Object.values(e):Object.keys(e).map((function(t){return e[t]}))}function K(e,t){if(e.findIndex)return e.findIndex(t);for(var n=0;n<e.length;n++)if(t(e[n]))return n;return-1}function ee(e,t){if(e.find)return e.find(t);var n=K(e,t);return-1!==n?e[n]:void 0}function te(e){return Array.prototype.slice.call(e)}var ne=(0,w.A)((function(e){return e.reduce((function(e,t){return e[t.descriptor.id]=t,e}),{})})),re=(0,w.A)((function(e){return e.reduce((function(e,t){return e[t.descriptor.id]=t,e}),{})})),ie=(0,w.A)((function(e){return Q(e)})),ae=(0,w.A)((function(e){return Q(e)})),oe=(0,w.A)((function(e,t){var n=ae(t).filter((function(t){return e===t.descriptor.droppableId})).sort((function(e,t){return e.descriptor.index-t.descriptor.index}));return n}));function se(e){return e.at&&"REORDER"===e.at.type?e.at.destination:null}function le(e){return e.at&&"COMBINE"===e.at.type?e.at.combine:null}var ue=(0,w.A)((function(e,t){return t.filter((function(t){return t.descriptor.id!==e.descriptor.id}))})),ce=function(e,t){return e.descriptor.droppableId===t.descriptor.id},de={point:L,value:0},fe={invisible:{},visible:{},all:[]},pe={displaced:fe,displacedBy:de,at:null},he=function(e,t){return function(n){return e<=n&&n<=t}},ge=function(e){var t=he(e.top,e.bottom),n=he(e.left,e.right);return function(r){if(t(r.top)&&t(r.bottom)&&n(r.left)&&n(r.right))return!0;var i=t(r.top)||t(r.bottom),a=n(r.left)||n(r.right);if(i&&a)return!0;var o=r.top<e.top&&r.bottom>e.bottom,s=r.left<e.left&&r.right>e.right;return!(!o||!s)||(o&&a||s&&i)}},me=function(e){var t=he(e.top,e.bottom),n=he(e.left,e.right);return function(e){return t(e.top)&&t(e.bottom)&&n(e.left)&&n(e.right)}},ve={direction:"vertical",line:"y",crossAxisLine:"x",start:"top",end:"bottom",size:"height",crossAxisStart:"left",crossAxisEnd:"right",crossAxisSize:"width"},be={direction:"horizontal",line:"x",crossAxisLine:"y",start:"left",end:"right",size:"width",crossAxisStart:"top",crossAxisEnd:"bottom",crossAxisSize:"height"},ye=function(e){var t=e.target,n=e.destination,r=e.viewport,i=e.withDroppableDisplacement,a=e.isVisibleThroughFrameFn,o=i?function(e,t){var n=t.frame?t.frame.scroll.diff.displacement:L;return q(e,n)}(t,n):t;return function(e,t,n){return!!t.subject.active&&n(t.subject.active)(e)}(o,n,a)&&function(e,t,n){return n(t)(e)}(o,r,a)},De=function(e){return ye((0,a.A)({},e,{isVisibleThroughFrameFn:ge}))},_e=function(e){return ye((0,a.A)({},e,{isVisibleThroughFrameFn:me}))};function we(e){var t=e.afterDragging,n=e.destination,r=e.displacedBy,i=e.viewport,a=e.forceShouldAnimate,o=e.last;return t.reduce((function(e,t){var s=function(e,t){var n=e.page.marginBox,r={top:t.point.y,right:0,bottom:0,left:t.point.x};return f(p(n,r))}(t,r),l=t.descriptor.id;if(e.all.push(l),!De({target:s,destination:n,viewport:i,withDroppableDisplacement:!0}))return e.invisible[t.descriptor.id]=!0,e;var u=function(e,t,n){if("boolean"===typeof n)return n;if(!t)return!0;var r=t.invisible,i=t.visible;if(r[e])return!1;var a=i[e];return!a||a.shouldAnimate}(l,o,a),c={draggableId:l,shouldAnimate:u};return e.visible[l]=c,e}),{all:[],visible:{},invisible:{}})}function xe(e){var t=e.insideDestination,n=e.inHomeList,r=e.displacedBy,i=e.destination,a=function(e,t){if(!e.length)return 0;var n=e[e.length-1].descriptor.index;return t.inHomeList?n:n+1}(t,{inHomeList:n});return{displaced:fe,displacedBy:r,at:{type:"REORDER",destination:{droppableId:i.descriptor.id,index:a}}}}function Se(e){var t=e.draggable,n=e.insideDestination,r=e.destination,i=e.viewport,a=e.displacedBy,o=e.last,s=e.index,l=e.forceShouldAnimate,u=ce(t,r);if(null==s)return xe({insideDestination:n,inHomeList:u,displacedBy:a,destination:r});var c=ee(n,(function(e){return e.descriptor.index===s}));if(!c)return xe({insideDestination:n,inHomeList:u,displacedBy:a,destination:r});var d=ue(t,n),f=n.indexOf(c);return{displaced:we({afterDragging:d.slice(f),destination:r,displacedBy:a,last:o,viewport:i.frame,forceShouldAnimate:l}),displacedBy:a,at:{type:"REORDER",destination:{droppableId:r.descriptor.id,index:s}}}}function Ie(e,t){return Boolean(t.effected[e])}var Me=function(e){var t=e.isMovingForward,n=e.isInHomeList,r=e.draggable,i=e.draggables,a=e.destination,o=e.insideDestination,s=e.previousImpact,l=e.viewport,u=e.afterCritical,c=s.at;if(c||E(!1),"REORDER"===c.type){var d=function(e){var t=e.isMovingForward,n=e.isInHomeList,r=e.insideDestination,i=e.location;if(!r.length)return null;var a=i.index,o=t?a+1:a-1,s=r[0].descriptor.index,l=r[r.length-1].descriptor.index;return o<s||o>(n?l:l+1)?null:o}({isMovingForward:t,isInHomeList:n,location:c.destination,insideDestination:o});return null==d?null:Se({draggable:r,insideDestination:o,destination:a,viewport:l,last:s.displaced,displacedBy:s.displacedBy,index:d})}var f=function(e){var t=e.isMovingForward,n=e.destination,r=e.draggables,i=e.combine,a=e.afterCritical;if(!n.isCombineEnabled)return null;var o=i.draggableId,s=r[o].descriptor.index;return Ie(o,a)?t?s:s-1:t?s+1:s}({isMovingForward:t,destination:a,displaced:s.displaced,draggables:i,combine:c.combine,afterCritical:u});return null==f?null:Se({draggable:r,insideDestination:o,destination:a,viewport:l,last:s.displaced,displacedBy:s.displacedBy,index:f})},Ae=function(e){var t=e.afterCritical,n=e.impact,r=e.draggables,i=le(n);i||E(!1);var a=i.draggableId,o=r[a].page.borderBox.center,s=function(e){var t=e.displaced,n=e.afterCritical,r=e.combineWith,i=e.displacedBy,a=Boolean(t.visible[r]||t.invisible[r]);return Ie(r,n)?a?L:U(i.point):a?i.point:L}({displaced:n.displaced,afterCritical:t,combineWith:a,displacedBy:n.displacedBy});return G(o,s)},Oe=function(e,t){return t.margin[e.start]+t.borderBox[e.size]/2},Ne=function(e,t,n){return t[e.crossAxisStart]+n.margin[e.crossAxisStart]+n.borderBox[e.crossAxisSize]/2},Ce=function(e){var t=e.axis,n=e.moveRelativeTo,r=e.isMoving;return H(t.line,n.marginBox[t.end]+Oe(t,r),Ne(t,n.marginBox,r))},Ee=function(e){var t=e.axis,n=e.moveRelativeTo,r=e.isMoving;return H(t.line,n.marginBox[t.start]-function(e,t){return t.margin[e.end]+t.borderBox[e.size]/2}(t,r),Ne(t,n.marginBox,r))},ke=function(e){var t=e.impact,n=e.draggable,r=e.draggables,i=e.droppable,a=e.afterCritical,o=oe(i.descriptor.id,r),s=n.page,l=i.axis;if(!o.length)return function(e){var t=e.axis,n=e.moveInto,r=e.isMoving;return H(t.line,n.contentBox[t.start]+Oe(t,r),Ne(t,n.contentBox,r))}({axis:l,moveInto:i.page,isMoving:s});var u=t.displaced,c=t.displacedBy,d=u.all[0];if(d){var f=r[d];if(Ie(d,a))return Ee({axis:l,moveRelativeTo:f.page,isMoving:s});var p=b(f.page,c.point);return Ee({axis:l,moveRelativeTo:p,isMoving:s})}var h=o[o.length-1];if(h.descriptor.id===n.descriptor.id)return s.borderBox.center;if(Ie(h.descriptor.id,a)){var g=b(h.page,U(a.displacedBy.point));return Ce({axis:l,moveRelativeTo:g,isMoving:s})}return Ce({axis:l,moveRelativeTo:h.page,isMoving:s})},Te=function(e,t){var n=e.frame;return n?G(t,n.scroll.diff.displacement):t},Re=function(e){var t=function(e){var t=e.impact,n=e.draggable,r=e.droppable,i=e.draggables,a=e.afterCritical,o=n.page.borderBox.center,s=t.at;return r&&s?"REORDER"===s.type?ke({impact:t,draggable:n,draggables:i,droppable:r,afterCritical:a}):Ae({impact:t,draggables:i,afterCritical:a}):o}(e),n=e.droppable;return n?Te(n,t):t},Pe=function(e,t){var n=W(t,e.scroll.initial),r=U(n);return{frame:f({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:n,displacement:r}}}};function Ye(e,t){return e.map((function(e){return t[e]}))}var Be=function(e){var t=e.pageBorderBoxCenter,n=e.draggable,r=function(e,t){return G(e.scroll.diff.displacement,t)}(e.viewport,t),i=W(r,n.page.borderBox.center);return G(n.client.borderBox.center,i)},Le=function(e){var t=e.draggable,n=e.destination,r=e.newPageBorderBoxCenter,i=e.viewport,o=e.withDroppableDisplacement,s=e.onlyOnMainAxis,l=void 0!==s&&s,u=W(r,t.page.borderBox.center),c={target:q(t.page.borderBox,u),destination:n,withDroppableDisplacement:o,viewport:i};return l?function(e){return ye((0,a.A)({},e,{isVisibleThroughFrameFn:(t=e.destination.axis,function(e){var n=he(e.top,e.bottom),r=he(e.left,e.right);return function(e){return t===ve?n(e.top)&&n(e.bottom):r(e.left)&&r(e.right)}})}));var t}(c):_e(c)},Ge=function(e){var t=e.isMovingForward,n=e.draggable,r=e.destination,i=e.draggables,o=e.previousImpact,s=e.viewport,l=e.previousPageBorderBoxCenter,u=e.previousClientSelection,c=e.afterCritical;if(!r.isEnabled)return null;var d=oe(r.descriptor.id,i),f=ce(n,r),p=function(e){var t=e.isMovingForward,n=e.draggable,r=e.destination,i=e.insideDestination,o=e.previousImpact;if(!r.isCombineEnabled)return null;if(!se(o))return null;function s(e){var t={type:"COMBINE",combine:{draggableId:e,droppableId:r.descriptor.id}};return(0,a.A)({},o,{at:t})}var l=o.displaced.all,u=l.length?l[0]:null;if(t)return u?s(u):null;var c=ue(n,i);if(!u)return c.length?s(c[c.length-1].descriptor.id):null;var d=K(c,(function(e){return e.descriptor.id===u}));-1===d&&E(!1);var f=d-1;return f<0?null:s(c[f].descriptor.id)}({isMovingForward:t,draggable:n,destination:r,insideDestination:d,previousImpact:o})||Me({isMovingForward:t,isInHomeList:f,draggable:n,draggables:i,destination:r,insideDestination:d,previousImpact:o,viewport:s,afterCritical:c});if(!p)return null;var h=Re({impact:p,draggable:n,droppable:r,draggables:i,afterCritical:c});if(Le({draggable:n,destination:r,newPageBorderBoxCenter:h,viewport:s.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0}))return{clientSelection:Be({pageBorderBoxCenter:h,draggable:n,viewport:s}),impact:p,scrollJumpRequest:null};var g=W(h,l),m=function(e){var t=e.impact,n=e.viewport,r=e.destination,i=e.draggables,o=e.maxScrollChange,s=Pe(n,G(n.scroll.current,o)),l=r.frame?$(r,G(r.frame.scroll.current,o)):r,u=t.displaced,c=we({afterDragging:Ye(u.all,i),destination:r,displacedBy:t.displacedBy,viewport:s.frame,last:u,forceShouldAnimate:!1}),d=we({afterDragging:Ye(u.all,i),destination:l,displacedBy:t.displacedBy,viewport:n.frame,last:u,forceShouldAnimate:!1}),f={},p={},h=[u,c,d];return u.all.forEach((function(e){var t=function(e,t){for(var n=0;n<t.length;n++){var r=t[n].visible[e];if(r)return r}return null}(e,h);t?p[e]=t:f[e]=!0})),(0,a.A)({},t,{displaced:{all:u.all,invisible:f,visible:p}})}({impact:p,viewport:s,destination:r,draggables:i,maxScrollChange:g});return{clientSelection:u,impact:m,scrollJumpRequest:g}},We=function(e){var t=e.subject.active;return t||E(!1),t},Fe=function(e,t){var n=e.page.borderBox.center;return Ie(e.descriptor.id,t)?W(n,t.displacedBy.point):n},Ue=function(e,t){var n=e.page.borderBox;return Ie(e.descriptor.id,t)?q(n,U(t.displacedBy.point)):n},He=(0,w.A)((function(e,t){var n=t[e.line];return{value:n,point:H(e.line,n)}})),Ve=function(e,t){return(0,a.A)({},e,{scroll:(0,a.A)({},e.scroll,{max:t})})},je=function(e,t,n){var r=e.frame;ce(t,e)&&E(!1),e.subject.withPlaceholder&&E(!1);var i=He(e.axis,t.displaceBy).point,o=function(e,t,n){var r=e.axis;if("virtual"===e.descriptor.mode)return H(r.line,t[r.line]);var i=e.subject.page.contentBox[r.size],a=oe(e.descriptor.id,n).reduce((function(e,t){return e+t.client.marginBox[r.size]}),0)+t[r.line]-i;return a<=0?null:H(r.line,a)}(e,i,n),s={placeholderSize:i,increasedBy:o,oldFrameMaxScroll:e.frame?e.frame.scroll.max:null};if(!r){var l=J({page:e.subject.page,withPlaceholder:s,axis:e.axis,frame:e.frame});return(0,a.A)({},e,{subject:l})}var u=o?G(r.scroll.max,o):r.scroll.max,c=Ve(r,u),d=J({page:e.subject.page,withPlaceholder:s,axis:e.axis,frame:c});return(0,a.A)({},e,{subject:d,frame:c})},ze=function(e){var t=e.isMovingForward,n=e.previousPageBorderBoxCenter,r=e.draggable,i=e.isOver,a=e.draggables,o=e.droppables,s=e.viewport,l=e.afterCritical,u=function(e){var t=e.isMovingForward,n=e.pageBorderBoxCenter,r=e.source,i=e.droppables,a=e.viewport,o=r.subject.active;if(!o)return null;var s=r.axis,l=he(o[s.start],o[s.end]),u=ie(i).filter((function(e){return e!==r})).filter((function(e){return e.isEnabled})).filter((function(e){return Boolean(e.subject.active)})).filter((function(e){return ge(a.frame)(We(e))})).filter((function(e){var n=We(e);return t?o[s.crossAxisEnd]<n[s.crossAxisEnd]:n[s.crossAxisStart]<o[s.crossAxisStart]})).filter((function(e){var t=We(e),n=he(t[s.start],t[s.end]);return l(t[s.start])||l(t[s.end])||n(o[s.start])||n(o[s.end])})).sort((function(e,n){var r=We(e)[s.crossAxisStart],i=We(n)[s.crossAxisStart];return t?r-i:i-r})).filter((function(e,t,n){return We(e)[s.crossAxisStart]===We(n[0])[s.crossAxisStart]}));if(!u.length)return null;if(1===u.length)return u[0];var c=u.filter((function(e){return he(We(e)[s.start],We(e)[s.end])(n[s.line])}));return 1===c.length?c[0]:c.length>1?c.sort((function(e,t){return We(e)[s.start]-We(t)[s.start]}))[0]:u.sort((function(e,t){var r=j(n,Z(We(e))),i=j(n,Z(We(t)));return r!==i?r-i:We(e)[s.start]-We(t)[s.start]}))[0]}({isMovingForward:t,pageBorderBoxCenter:n,source:i,droppables:o,viewport:s});if(!u)return null;var c=oe(u.descriptor.id,a),d=function(e){var t=e.pageBorderBoxCenter,n=e.viewport,r=e.destination,i=e.insideDestination,a=e.afterCritical,o=i.filter((function(e){return _e({target:Ue(e,a),destination:r,viewport:n.frame,withDroppableDisplacement:!0})})).sort((function(e,n){var i=V(t,Te(r,Fe(e,a))),o=V(t,Te(r,Fe(n,a)));return i<o?-1:o<i?1:e.descriptor.index-n.descriptor.index}));return o[0]||null}({pageBorderBoxCenter:n,viewport:s,destination:u,insideDestination:c,afterCritical:l}),f=function(e){var t=e.previousPageBorderBoxCenter,n=e.moveRelativeTo,r=e.insideDestination,i=e.draggable,a=e.draggables,o=e.destination,s=e.viewport,l=e.afterCritical;if(!n){if(r.length)return null;var u={displaced:fe,displacedBy:de,at:{type:"REORDER",destination:{droppableId:o.descriptor.id,index:0}}},c=Re({impact:u,draggable:i,droppable:o,draggables:a,afterCritical:l}),d=ce(i,o)?o:je(o,i,a);return Le({draggable:i,destination:d,newPageBorderBoxCenter:c,viewport:s.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0})?u:null}var f=Boolean(t[o.axis.line]<=n.page.borderBox.center[o.axis.line]),p=function(){var e=n.descriptor.index;return n.descriptor.id===i.descriptor.id||f?e:e+1}(),h=He(o.axis,i.displaceBy);return Se({draggable:i,insideDestination:r,destination:o,viewport:s,displacedBy:h,last:fe,index:p})}({previousPageBorderBoxCenter:n,destination:u,draggable:r,draggables:a,moveRelativeTo:d,insideDestination:c,viewport:s,afterCritical:l});if(!f)return null;var p=Re({impact:f,draggable:r,droppable:u,draggables:a,afterCritical:l});return{clientSelection:Be({pageBorderBoxCenter:p,draggable:r,viewport:s}),impact:f,scrollJumpRequest:null}},qe=function(e){var t=e.at;return t?"REORDER"===t.type?t.destination.droppableId:t.combine.droppableId:null},Ze=function(e){var t=e.state,n=e.type,r=function(e,t){var n=qe(e);return n?t[n]:null}(t.impact,t.dimensions.droppables),i=Boolean(r),a=t.dimensions.droppables[t.critical.droppable.id],o=r||a,s=o.axis.direction,l="vertical"===s&&("MOVE_UP"===n||"MOVE_DOWN"===n)||"horizontal"===s&&("MOVE_LEFT"===n||"MOVE_RIGHT"===n);if(l&&!i)return null;var u="MOVE_DOWN"===n||"MOVE_RIGHT"===n,c=t.dimensions.draggables[t.critical.draggable.id],d=t.current.page.borderBoxCenter,f=t.dimensions,p=f.draggables,h=f.droppables;return l?Ge({isMovingForward:u,previousPageBorderBoxCenter:d,draggable:c,destination:o,draggables:p,viewport:t.viewport,previousClientSelection:t.current.client.selection,previousImpact:t.impact,afterCritical:t.afterCritical}):ze({isMovingForward:u,previousPageBorderBoxCenter:d,draggable:c,isOver:o,draggables:p,droppables:h,viewport:t.viewport,afterCritical:t.afterCritical})};function Xe(e){return"DRAGGING"===e.phase||"COLLECTING"===e.phase}function Je(e){var t=he(e.top,e.bottom),n=he(e.left,e.right);return function(e){return t(e.y)&&n(e.x)}}function $e(e){var t=e.pageBorderBox,n=e.draggable,r=e.droppables,i=ie(r).filter((function(e){if(!e.isEnabled)return!1;var n,r,i=e.subject.active;if(!i)return!1;if(r=i,!((n=t).left<r.right&&n.right>r.left&&n.top<r.bottom&&n.bottom>r.top))return!1;if(Je(i)(t.center))return!0;var a=e.axis,o=i.center[a.crossAxisLine],s=t[a.crossAxisStart],l=t[a.crossAxisEnd],u=he(i[a.crossAxisStart],i[a.crossAxisEnd]),c=u(s),d=u(l);return!c&&!d||(c?s<o:l>o)}));return i.length?1===i.length?i[0].descriptor.id:function(e){var t=e.pageBorderBox,n=e.draggable,r=e.candidates,i=n.page.borderBox.center,a=r.map((function(e){var n=e.axis,r=H(e.axis.line,t.center[n.line],e.page.borderBox.center[n.crossAxisLine]);return{id:e.descriptor.id,distance:V(i,r)}})).sort((function(e,t){return t.distance-e.distance}));return a[0]?a[0].id:null}({pageBorderBox:t,draggable:n,candidates:i}):null}var Qe=function(e,t){return f(q(e,t))};function Ke(e){var t=e.displaced,n=e.id;return Boolean(t.visible[n]||t.invisible[n])}var et=function(e){var t=e.pageOffset,n=e.draggable,r=e.draggables,i=e.droppables,a=e.previousImpact,o=e.viewport,s=e.afterCritical,l=Qe(n.page.borderBox,t),u=$e({pageBorderBox:l,draggable:n,droppables:i});if(!u)return pe;var c=i[u],d=oe(c.descriptor.id,r),f=function(e,t){var n=e.frame;return n?Qe(t,n.scroll.diff.value):t}(c,l);return function(e){var t=e.draggable,n=e.pageBorderBoxWithDroppableScroll,r=e.previousImpact,i=e.destination,a=e.insideDestination,o=e.afterCritical;if(!i.isCombineEnabled)return null;var s=i.axis,l=He(i.axis,t.displaceBy),u=l.value,c=n[s.start],d=n[s.end],f=ee(ue(t,a),(function(e){var t=e.descriptor.id,n=e.page.borderBox,i=n[s.size]/4,a=Ie(t,o),l=Ke({displaced:r.displaced,id:t});return a?l?d>n[s.start]+i&&d<n[s.end]-i:c>n[s.start]-u+i&&c<n[s.end]-u-i:l?d>n[s.start]+u+i&&d<n[s.end]+u-i:c>n[s.start]+i&&c<n[s.end]-i}));return f?{displacedBy:l,displaced:r.displaced,at:{type:"COMBINE",combine:{draggableId:f.descriptor.id,droppableId:i.descriptor.id}}}:null}({pageBorderBoxWithDroppableScroll:f,draggable:n,previousImpact:a,destination:c,insideDestination:d,afterCritical:s})||function(e){var t=e.pageBorderBoxWithDroppableScroll,n=e.draggable,r=e.destination,i=e.insideDestination,a=e.last,o=e.viewport,s=e.afterCritical,l=r.axis,u=He(r.axis,n.displaceBy),c=u.value,d=t[l.start],f=t[l.end],p=function(e){var t=e.draggable,n=e.closest,r=e.inHomeList;return n?r&&n.descriptor.index>t.descriptor.index?n.descriptor.index-1:n.descriptor.index:null}({draggable:n,closest:ee(ue(n,i),(function(e){var t=e.descriptor.id,n=e.page.borderBox.center[l.line],r=Ie(t,s),i=Ke({displaced:a,id:t});return r?i?f<=n:d<n-c:i?f<=n+c:d<n})),inHomeList:ce(n,r)});return Se({draggable:n,insideDestination:i,destination:r,viewport:o,last:a,displacedBy:u,index:p})}({pageBorderBoxWithDroppableScroll:f,draggable:n,destination:c,insideDestination:d,last:a.displaced,viewport:o,afterCritical:s})},tt=function(e,t){var n;return(0,a.A)({},e,((n={})[t.descriptor.id]=t,n))},nt=function(e){var t=e.previousImpact,n=e.impact,r=e.droppables,i=qe(t),o=qe(n);if(!i)return r;if(i===o)return r;var s=r[i];if(!s.subject.withPlaceholder)return r;var l=function(e){var t=e.subject.withPlaceholder;t||E(!1);var n=e.frame;if(!n){var r=J({page:e.subject.page,axis:e.axis,frame:null,withPlaceholder:null});return(0,a.A)({},e,{subject:r})}var i=t.oldFrameMaxScroll;i||E(!1);var o=Ve(n,i),s=J({page:e.subject.page,axis:e.axis,frame:o,withPlaceholder:null});return(0,a.A)({},e,{subject:s,frame:o})}(s);return tt(r,l)},rt=function(e){var t=e.state,n=e.clientSelection,r=e.dimensions,i=e.viewport,o=e.impact,s=e.scrollJumpRequest,l=i||t.viewport,u=r||t.dimensions,c=n||t.current.client.selection,d=W(c,t.initial.client.selection),f={offset:d,selection:c,borderBoxCenter:G(t.initial.client.borderBoxCenter,d)},p={selection:G(f.selection,l.scroll.current),borderBoxCenter:G(f.borderBoxCenter,l.scroll.current),offset:G(f.offset,l.scroll.diff.value)},h={client:f,page:p};if("COLLECTING"===t.phase)return(0,a.A)({phase:"COLLECTING"},t,{dimensions:u,viewport:l,current:h});var g=u.draggables[t.critical.draggable.id],m=o||et({pageOffset:p.offset,draggable:g,draggables:u.draggables,droppables:u.droppables,previousImpact:t.impact,viewport:l,afterCritical:t.afterCritical}),v=function(e){var t=e.draggable,n=e.draggables,r=e.droppables,i=e.previousImpact,a=e.impact,o=nt({previousImpact:i,impact:a,droppables:r}),s=qe(a);if(!s)return o;var l=r[s];if(ce(t,l))return o;if(l.subject.withPlaceholder)return o;var u=je(l,t,n);return tt(o,u)}({draggable:g,impact:m,previousImpact:t.impact,draggables:u.draggables,droppables:u.droppables});return(0,a.A)({},t,{current:h,dimensions:{draggables:u.draggables,droppables:v},impact:m,viewport:l,scrollJumpRequest:s||null,forceShouldAnimate:!s&&null})};var it=function(e){var t=e.impact,n=e.viewport,r=e.draggables,i=e.destination,o=e.forceShouldAnimate,s=t.displaced,l=function(e,t){return e.map((function(e){return t[e]}))}(s.all,r),u=we({afterDragging:l,destination:i,displacedBy:t.displacedBy,viewport:n.frame,forceShouldAnimate:o,last:s});return(0,a.A)({},t,{displaced:u})},at=function(e){var t=e.impact,n=e.draggable,r=e.droppable,i=e.draggables,a=e.viewport,o=e.afterCritical,s=Re({impact:t,draggable:n,draggables:i,droppable:r,afterCritical:o});return Be({pageBorderBoxCenter:s,draggable:n,viewport:a})},ot=function(e){var t=e.state,n=e.dimensions,r=e.viewport;"SNAP"!==t.movementMode&&E(!1);var i=t.impact,a=r||t.viewport,o=n||t.dimensions,s=o.draggables,l=o.droppables,u=s[t.critical.draggable.id],c=qe(i);c||E(!1);var d=l[c],f=it({impact:i,viewport:a,destination:d,draggables:s}),p=at({impact:f,draggable:u,droppable:d,draggables:s,viewport:a,afterCritical:t.afterCritical});return rt({impact:f,clientSelection:p,state:t,dimensions:o,viewport:a})},st=function(e){var t=e.draggable,n=e.home,r=e.draggables,i=e.viewport,a=He(n.axis,t.displaceBy),o=oe(n.descriptor.id,r),s=o.indexOf(t);-1===s&&E(!1);var l,u=o.slice(s+1),c=u.reduce((function(e,t){return e[t.descriptor.id]=!0,e}),{}),d={inVirtualList:"virtual"===n.descriptor.mode,displacedBy:a,effected:c};return{impact:{displaced:we({afterDragging:u,destination:n,displacedBy:a,last:null,viewport:i.frame,forceShouldAnimate:!1}),displacedBy:a,at:{type:"REORDER",destination:(l=t.descriptor,{index:l.index,droppableId:l.droppableId})}},afterCritical:d}},lt=function(e){0},ut=function(e){0},ct=function(e){var t=e.additions,n=e.updatedDroppables,r=e.viewport,i=r.scroll.diff.value;return t.map((function(e){var t=e.descriptor.droppableId,o=function(e){var t=e.frame;return t||E(!1),t}(n[t]),s=o.scroll.diff.value,l=function(e){var t=e.draggable,n=e.offset,r=e.initialWindowScroll,i=b(t.client,n),o=y(i,r);return(0,a.A)({},t,{placeholder:(0,a.A)({},t.placeholder,{client:i}),client:i,page:o})}({draggable:e,offset:G(i,s),initialWindowScroll:r.scroll.initial});return l}))},dt=function(e){return"SNAP"===e.movementMode},ft=function(e,t,n){var r=function(e,t){return{draggables:e.draggables,droppables:tt(e.droppables,t)}}(e.dimensions,t);return!dt(e)||n?rt({state:e,dimensions:r}):ot({state:e,dimensions:r})};function pt(e){return e.isDragging&&"SNAP"===e.movementMode?(0,a.A)({phase:"DRAGGING"},e,{scrollJumpRequest:null}):e}var ht={phase:"IDLE",completed:null,shouldFlush:!1},gt=function(e,t){if(void 0===e&&(e=ht),"FLUSH"===t.type)return(0,a.A)({},ht,{shouldFlush:!0});if("INITIAL_PUBLISH"===t.type){"IDLE"!==e.phase&&E(!1);var n=t.payload,r=n.critical,i=n.clientSelection,o=n.viewport,s=n.dimensions,l=n.movementMode,u=s.draggables[r.draggable.id],c=s.droppables[r.droppable.id],d={selection:i,borderBoxCenter:u.client.borderBox.center,offset:L},f={client:d,page:{selection:G(d.selection,o.scroll.initial),borderBoxCenter:G(d.selection,o.scroll.initial),offset:G(d.selection,o.scroll.diff.value)}},p=ie(s.droppables).every((function(e){return!e.isFixedOnPage})),h=st({draggable:u,home:c,draggables:s.draggables,viewport:o}),g=h.impact;return{phase:"DRAGGING",isDragging:!0,critical:r,movementMode:l,dimensions:s,initial:f,current:f,isWindowScrollAllowed:p,impact:g,afterCritical:h.afterCritical,onLiftImpact:g,viewport:o,scrollJumpRequest:null,forceShouldAnimate:null}}if("COLLECTION_STARTING"===t.type)return"COLLECTING"===e.phase||"DROP_PENDING"===e.phase?e:("DRAGGING"!==e.phase&&E(!1),(0,a.A)({phase:"COLLECTING"},e,{phase:"COLLECTING"}));if("PUBLISH_WHILE_DRAGGING"===t.type)return"COLLECTING"!==e.phase&&"DROP_PENDING"!==e.phase&&E(!1),function(e){var t=e.state,n=e.published;lt();var r=n.modified.map((function(e){var n=t.dimensions.droppables[e.droppableId];return $(n,e.scroll)})),i=(0,a.A)({},t.dimensions.droppables,{},ne(r)),o=re(ct({additions:n.additions,updatedDroppables:i,viewport:t.viewport})),s=(0,a.A)({},t.dimensions.draggables,{},o);n.removals.forEach((function(e){delete s[e]}));var l={droppables:i,draggables:s},u=qe(t.impact),c=u?l.droppables[u]:null,d=l.draggables[t.critical.draggable.id],f=l.droppables[t.critical.droppable.id],p=st({draggable:d,home:f,draggables:s,viewport:t.viewport}),h=p.impact,g=p.afterCritical,m=c&&c.isCombineEnabled?t.impact:h,v=et({pageOffset:t.current.page.offset,draggable:l.draggables[t.critical.draggable.id],draggables:l.draggables,droppables:l.droppables,previousImpact:m,viewport:t.viewport,afterCritical:g});ut();var b=(0,a.A)({phase:"DRAGGING"},t,{phase:"DRAGGING",impact:v,onLiftImpact:h,dimensions:l,afterCritical:g,forceShouldAnimate:!1});return"COLLECTING"===t.phase?b:(0,a.A)({phase:"DROP_PENDING"},b,{phase:"DROP_PENDING",reason:t.reason,isWaiting:!1})}({state:e,published:t.payload});if("MOVE"===t.type){if("DROP_PENDING"===e.phase)return e;Xe(e)||E(!1);var m=t.payload.client;return F(m,e.current.client.selection)?e:rt({state:e,clientSelection:m,impact:dt(e)?e.impact:null})}if("UPDATE_DROPPABLE_SCROLL"===t.type){if("DROP_PENDING"===e.phase)return pt(e);if("COLLECTING"===e.phase)return pt(e);Xe(e)||E(!1);var v=t.payload,b=v.id,y=v.newScroll,D=e.dimensions.droppables[b];if(!D)return e;var _=$(D,y);return ft(e,_,!1)}if("UPDATE_DROPPABLE_IS_ENABLED"===t.type){if("DROP_PENDING"===e.phase)return e;Xe(e)||E(!1);var w=t.payload,x=w.id,S=w.isEnabled,I=e.dimensions.droppables[x];I||E(!1),I.isEnabled===S&&E(!1);var M=(0,a.A)({},I,{isEnabled:S});return ft(e,M,!0)}if("UPDATE_DROPPABLE_IS_COMBINE_ENABLED"===t.type){if("DROP_PENDING"===e.phase)return e;Xe(e)||E(!1);var A=t.payload,O=A.id,N=A.isCombineEnabled,C=e.dimensions.droppables[O];C||E(!1),C.isCombineEnabled===N&&E(!1);var k=(0,a.A)({},C,{isCombineEnabled:N});return ft(e,k,!0)}if("MOVE_BY_WINDOW_SCROLL"===t.type){if("DROP_PENDING"===e.phase||"DROP_ANIMATING"===e.phase)return e;Xe(e)||E(!1),e.isWindowScrollAllowed||E(!1);var T=t.payload.newScroll;if(F(e.viewport.scroll.current,T))return pt(e);var R=Pe(e.viewport,T);return dt(e)?ot({state:e,viewport:R}):rt({state:e,viewport:R})}if("UPDATE_VIEWPORT_MAX_SCROLL"===t.type){if(!Xe(e))return e;var P=t.payload.maxScroll;if(F(P,e.viewport.scroll.max))return e;var Y=(0,a.A)({},e.viewport,{scroll:(0,a.A)({},e.viewport.scroll,{max:P})});return(0,a.A)({phase:"DRAGGING"},e,{viewport:Y})}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&&E(!1);var B=Ze({state:e,type:t.type});return B?rt({state:e,impact:B.impact,clientSelection:B.clientSelection,scrollJumpRequest:B.scrollJumpRequest}):e}if("DROP_PENDING"===t.type){var W=t.payload.reason;return"COLLECTING"!==e.phase&&E(!1),(0,a.A)({phase:"DROP_PENDING"},e,{phase:"DROP_PENDING",isWaiting:!0,reason:W})}if("DROP_ANIMATE"===t.type){var U=t.payload,H=U.completed,V=U.dropDuration,j=U.newHomeClientOffset;return"DRAGGING"!==e.phase&&"DROP_PENDING"!==e.phase&&E(!1),{phase:"DROP_ANIMATING",completed:H,dropDuration:V,newHomeClientOffset:j,dimensions:e.dimensions}}return"DROP_COMPLETE"===t.type?{phase:"IDLE",completed:t.payload.completed,shouldFlush:!1}:e},mt=function(e){return{type:"LIFT",payload:e}},vt=function(e){return{type:"PUBLISH_WHILE_DRAGGING",payload:e}},bt=function(){return{type:"COLLECTION_STARTING",payload:null}},yt=function(e){return{type:"UPDATE_DROPPABLE_SCROLL",payload:e}},Dt=function(e){return{type:"UPDATE_DROPPABLE_IS_ENABLED",payload:e}},_t=function(e){return{type:"UPDATE_DROPPABLE_IS_COMBINE_ENABLED",payload:e}},wt=function(e){return{type:"MOVE",payload:e}},xt=function(){return{type:"MOVE_UP",payload:null}},St=function(){return{type:"MOVE_DOWN",payload:null}},It=function(){return{type:"MOVE_RIGHT",payload:null}},Mt=function(){return{type:"MOVE_LEFT",payload:null}},At=function(){return{type:"FLUSH",payload:null}},Ot=function(e){return{type:"DROP_COMPLETE",payload:e}},Nt=function(e){return{type:"DROP",payload:e}},Ct=function(){return{type:"DROP_ANIMATION_FINISHED",payload:null}};var Et="cubic-bezier(.2,1,.1,1)",kt={drop:0,combining:.7},Tt={drop:.75},Rt=.2+"s "+"cubic-bezier(0.2, 0, 0, 1)",Pt={fluid:"opacity "+Rt,snap:"transform "+Rt+", opacity "+Rt,drop:function(e){var t=e+"s "+Et;return"transform "+t+", opacity "+t},outOfTheWay:"transform "+Rt,placeholder:"height "+Rt+", width "+Rt+", margin "+Rt},Yt=function(e){return F(e,L)?null:"translate("+e.x+"px, "+e.y+"px)"},Bt=Yt,Lt=function(e,t){var n=Yt(e);return n?t?n+" scale("+Tt.drop+")":n:null},Gt=.33,Wt=.55,Ft=Wt-Gt,Ut=function(e){var t=e.getState,n=e.dispatch;return function(e){return function(r){if("DROP"===r.type){var i=t(),o=r.payload.reason;if("COLLECTING"!==i.phase){if("IDLE"!==i.phase){"DROP_PENDING"===i.phase&&i.isWaiting&&E(!1),"DRAGGING"!==i.phase&&"DROP_PENDING"!==i.phase&&E(!1);var s=i.critical,l=i.dimensions,u=l.draggables[i.critical.draggable.id],c=function(e){var t=e.draggables,n=e.reason,r=e.lastImpact,i=e.home,o=e.viewport,s=e.onLiftImpact;return r.at&&"DROP"===n?"REORDER"===r.at.type?{impact:r,didDropInsideDroppable:!0}:{impact:(0,a.A)({},r,{displaced:fe}),didDropInsideDroppable:!0}:{impact:it({draggables:t,impact:s,destination:i,viewport:o,forceShouldAnimate:!0}),didDropInsideDroppable:!1}}({reason:o,lastImpact:i.impact,afterCritical:i.afterCritical,onLiftImpact:i.onLiftImpact,home:i.dimensions.droppables[i.critical.droppable.id],viewport:i.viewport,draggables:i.dimensions.draggables}),d=c.impact,f=c.didDropInsideDroppable,p=f?se(d):null,h=f?le(d):null,g={index:s.draggable.index,droppableId:s.droppable.id},m={draggableId:u.descriptor.id,type:u.descriptor.type,source:g,reason:o,mode:i.movementMode,destination:p,combine:h},v=function(e){var t=e.impact,n=e.draggable,r=e.dimensions,i=e.viewport,a=e.afterCritical,o=r.draggables,s=r.droppables,l=qe(t),u=l?s[l]:null,c=s[n.descriptor.droppableId],d=at({impact:t,draggable:n,draggables:o,afterCritical:a,droppable:u||c,viewport:i});return W(d,n.client.borderBox.center)}({impact:d,draggable:u,dimensions:l,viewport:i.viewport,afterCritical:i.afterCritical}),b={critical:i.critical,afterCritical:i.afterCritical,result:m,impact:d};if(!F(i.current.client.offset,v)||Boolean(m.combine)){var y=function(e){var t=e.current,n=e.destination,r=e.reason,i=V(t,n);if(i<=0)return Gt;if(i>=1500)return Wt;var a=Gt+Ft*(i/1500);return Number(("CANCEL"===r?.6*a:a).toFixed(2))}({current:i.current.client.offset,destination:v,reason:o});n(function(e){return{type:"DROP_ANIMATE",payload:e}}({newHomeClientOffset:v,dropDuration:y,completed:b}))}else n(Ot({completed:b}))}}else n(function(e){return{type:"DROP_PENDING",payload:e}}({reason:o}))}else e(r)}}},Ht=function(){return{x:window.pageXOffset,y:window.pageYOffset}};function Vt(e){var t=e.onWindowScroll;var n=x((function(){t(Ht())})),r=function(e){return{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(t){t.target!==window&&t.target!==window.document||e()}}}(n),i=M;function a(){return i!==M}return{start:function(){a()&&E(!1),i=A(window,[r])},stop:function(){a()||E(!1),n.cancel(),i(),i=M},isActive:a}}var jt=function(e){var t=Vt({onWindowScroll:function(t){e.dispatch({type:"MOVE_BY_WINDOW_SCROLL",payload:{newScroll:t}})}});return function(e){return function(n){t.isActive()||"INITIAL_PUBLISH"!==n.type||t.start(),t.isActive()&&function(e){return"DROP_COMPLETE"===e.type||"DROP_ANIMATE"===e.type||"FLUSH"===e.type}(n)&&t.stop(),e(n)}}},zt=function(){var e=[];return{add:function(t){var n=setTimeout((function(){return function(t){var n=K(e,(function(e){return e.timerId===t}));-1===n&&E(!1),e.splice(n,1)[0].callback()}(n)})),r={timerId:n,callback:t};e.push(r)},flush:function(){if(e.length){var t=[].concat(e);e.length=0,t.forEach((function(e){clearTimeout(e.timerId),e.callback()}))}}}},qt=function(e,t){lt(),t(),ut()},Zt=function(e,t){return{draggableId:e.draggable.id,type:e.droppable.type,source:{droppableId:e.droppable.id,index:e.draggable.index},mode:t}},Xt=function(e,t,n,r){if(e){var i=function(e){var t=!1,n=!1,r=setTimeout((function(){n=!0})),i=function(i){t||n||(t=!0,e(i),clearTimeout(r))};return i.wasCalled=function(){return t},i}(n);e(t,{announce:i}),i.wasCalled()||n(r(t))}else n(r(t))},Jt=function(e,t){var n=function(e,t){var n=zt(),r=null,i=function(n){r||E(!1),r=null,qt(0,(function(){return Xt(e().onDragEnd,n,t,B.onDragEnd)}))};return{beforeCapture:function(t,n){r&&E(!1),qt(0,(function(){var r=e().onBeforeCapture;r&&r({draggableId:t,mode:n})}))},beforeStart:function(t,n){r&&E(!1),qt(0,(function(){var r=e().onBeforeDragStart;r&&r(Zt(t,n))}))},start:function(i,a){r&&E(!1);var o=Zt(i,a);r={mode:a,lastCritical:i,lastLocation:o.source,lastCombine:null},n.add((function(){qt(0,(function(){return Xt(e().onDragStart,o,t,B.onDragStart)}))}))},update:function(i,o){var s=se(o),l=le(o);r||E(!1);var u=!function(e,t){if(e===t)return!0;var n=e.draggable.id===t.draggable.id&&e.draggable.droppableId===t.draggable.droppableId&&e.draggable.type===t.draggable.type&&e.draggable.index===t.draggable.index,r=e.droppable.id===t.droppable.id&&e.droppable.type===t.droppable.type;return n&&r}(i,r.lastCritical);u&&(r.lastCritical=i);var c,d,f=(d=s,!(null==(c=r.lastLocation)&&null==d||null!=c&&null!=d&&c.droppableId===d.droppableId&&c.index===d.index));f&&(r.lastLocation=s);var p=!function(e,t){return null==e&&null==t||null!=e&&null!=t&&e.draggableId===t.draggableId&&e.droppableId===t.droppableId}(r.lastCombine,l);if(p&&(r.lastCombine=l),u||f||p){var h=(0,a.A)({},Zt(i,r.mode),{combine:l,destination:s});n.add((function(){qt(0,(function(){return Xt(e().onDragUpdate,h,t,B.onDragUpdate)}))}))}},flush:function(){r||E(!1),n.flush()},drop:i,abort:function(){if(r){var e=(0,a.A)({},Zt(r.lastCritical,r.mode),{combine:null,destination:null,reason:"CANCEL"});i(e)}}}}(e,t);return function(e){return function(t){return function(r){if("BEFORE_INITIAL_CAPTURE"!==r.type){if("INITIAL_PUBLISH"===r.type){var i=r.payload.critical;return n.beforeStart(i,r.payload.movementMode),t(r),void n.start(i,r.payload.movementMode)}if("DROP_COMPLETE"===r.type){var a=r.payload.completed.result;return n.flush(),t(r),void n.drop(a)}if(t(r),"FLUSH"!==r.type){var o=e.getState();"DRAGGING"===o.phase&&n.update(o.critical,o.impact)}else n.abort()}else n.beforeCapture(r.payload.draggableId,r.payload.movementMode)}}}},$t=function(e){return function(t){return function(n){if("DROP_ANIMATION_FINISHED"===n.type){var r=e.getState();"DROP_ANIMATING"!==r.phase&&E(!1),e.dispatch(Ot({completed:r.completed}))}else t(n)}}},Qt=function(e){var t=null,n=null;return function(r){return function(i){if("FLUSH"!==i.type&&"DROP_COMPLETE"!==i.type&&"DROP_ANIMATION_FINISHED"!==i.type||(n&&(cancelAnimationFrame(n),n=null),t&&(t(),t=null)),r(i),"DROP_ANIMATE"===i.type){var a={eventName:"scroll",options:{capture:!0,passive:!1,once:!0},fn:function(){"DROP_ANIMATING"===e.getState().phase&&e.dispatch({type:"DROP_ANIMATION_FINISHED",payload:null})}};n=requestAnimationFrame((function(){n=null,t=A(window,[a])}))}}}},Kt=function(e){return function(t){return function(n){if(t(n),"PUBLISH_WHILE_DRAGGING"===n.type){var r=e.getState();"DROP_PENDING"===r.phase&&(r.isWaiting||e.dispatch(Nt({reason:r.reason})))}}}},en=o.Zz,tn=function(e){var t,n=e.dimensionMarshal,r=e.focusMarshal,i=e.styleMarshal,a=e.getResponders,s=e.announce,l=e.autoScroller;return(0,o.y$)(gt,en((0,o.Tw)((t=i,function(){return function(e){return function(n){"INITIAL_PUBLISH"===n.type&&t.dragging(),"DROP_ANIMATE"===n.type&&t.dropping(n.payload.completed.result.reason),"FLUSH"!==n.type&&"DROP_COMPLETE"!==n.type||t.resting(),e(n)}}}),function(e){return function(){return function(t){return function(n){"DROP_COMPLETE"!==n.type&&"FLUSH"!==n.type&&"DROP_ANIMATE"!==n.type||e.stopPublishing(),t(n)}}}}(n),function(e){return function(t){var n=t.getState,r=t.dispatch;return function(t){return function(i){if("LIFT"===i.type){var a=i.payload,o=a.id,s=a.clientSelection,l=a.movementMode,u=n();"DROP_ANIMATING"===u.phase&&r(Ot({completed:u.completed})),"IDLE"!==n().phase&&E(!1),r(At()),r({type:"BEFORE_INITIAL_CAPTURE",payload:{draggableId:o,movementMode:l}});var c={draggableId:o,scrollOptions:{shouldPublishImmediately:"SNAP"===l}},d=e.startPublishing(c),f=d.critical,p=d.dimensions,h=d.viewport;r({type:"INITIAL_PUBLISH",payload:{critical:f,dimensions:p,clientSelection:s,movementMode:l,viewport:h}})}else t(i)}}}}(n),Ut,$t,Qt,Kt,function(e){return function(t){return function(n){return function(r){if(function(e){return"DROP_COMPLETE"===e.type||"DROP_ANIMATE"===e.type||"FLUSH"===e.type}(r))return e.stop(),void n(r);if("INITIAL_PUBLISH"===r.type){n(r);var i=t.getState();return"DRAGGING"!==i.phase&&E(!1),void e.start(i)}n(r),e.scroll(t.getState())}}}}(l),jt,function(e){var t=!1;return function(){return function(n){return function(r){if("INITIAL_PUBLISH"===r.type)return t=!0,e.tryRecordFocus(r.payload.critical.draggable.id),n(r),void e.tryRestoreFocusRecorded();if(n(r),t){if("FLUSH"===r.type)return t=!1,void e.tryRestoreFocusRecorded();if("DROP_COMPLETE"===r.type){t=!1;var i=r.payload.completed.result;i.combine&&e.tryShiftRecord(i.draggableId,i.combine.draggableId),e.tryRestoreFocusRecorded()}}}}}}(r),Jt(a,s))))};var nn=function(e){var t=e.scrollHeight,n=e.scrollWidth,r=e.height,i=e.width,a=W({x:n,y:t},{x:i,y:r});return{x:Math.max(0,a.x),y:Math.max(0,a.y)}},rn=function(){var e=document.documentElement;return e||E(!1),e},an=function(){var e=rn();return nn({scrollHeight:e.scrollHeight,scrollWidth:e.scrollWidth,width:e.clientWidth,height:e.clientHeight})},on=function(e){var t=e.critical,n=e.scrollOptions,r=e.registry;lt();var i=function(){var e=Ht(),t=an(),n=e.y,r=e.x,i=rn(),a=i.clientWidth,o=i.clientHeight;return{frame:f({top:n,left:r,right:r+a,bottom:n+o}),scroll:{initial:e,current:e,max:t,diff:{value:L,displacement:L}}}}(),a=i.scroll.current,o=t.droppable,s=r.droppable.getAllByType(o.type).map((function(e){return e.callbacks.getDimensionAndWatchScroll(a,n)})),l=r.draggable.getAllByType(t.draggable.type).map((function(e){return e.getDimension(a)})),u={draggables:re(l),droppables:ne(s)};return ut(),{dimensions:u,critical:t,viewport:i}};function sn(e,t,n){return n.descriptor.id!==t.id&&(n.descriptor.type===t.type&&"virtual"===e.droppable.getById(n.descriptor.droppableId).descriptor.mode)}var ln=function(e,t){var n=null,r=function(e){var t=e.registry,n=e.callbacks,r={additions:{},removals:{},modified:{}},i=null,a=function(){i||(n.collectionStarting(),i=requestAnimationFrame((function(){i=null,lt();var e=r,a=e.additions,o=e.removals,s=e.modified,l=Object.keys(a).map((function(e){return t.draggable.getById(e).getDimension(L)})).sort((function(e,t){return e.descriptor.index-t.descriptor.index})),u=Object.keys(s).map((function(e){return{droppableId:e,scroll:t.droppable.getById(e).callbacks.getScrollWhileDragging()}})),c={additions:l,removals:Object.keys(o),modified:u};r={additions:{},removals:{},modified:{}},ut(),n.publish(c)})))};return{add:function(e){var t=e.descriptor.id;r.additions[t]=e,r.modified[e.descriptor.droppableId]=!0,r.removals[t]&&delete r.removals[t],a()},remove:function(e){var t=e.descriptor;r.removals[t.id]=!0,r.modified[t.droppableId]=!0,r.additions[t.id]&&delete r.additions[t.id],a()},stop:function(){i&&(cancelAnimationFrame(i),i=null,r={additions:{},removals:{},modified:{}})}}}({callbacks:{publish:t.publishWhileDragging,collectionStarting:t.collectionStarting},registry:e}),i=function(t){n||E(!1);var i=n.critical.draggable;"ADDITION"===t.type&&sn(e,i,t.value)&&r.add(t.value),"REMOVAL"===t.type&&sn(e,i,t.value)&&r.remove(t.value)},a={updateDroppableIsEnabled:function(r,i){e.droppable.exists(r)||E(!1),n&&t.updateDroppableIsEnabled({id:r,isEnabled:i})},updateDroppableIsCombineEnabled:function(r,i){n&&(e.droppable.exists(r)||E(!1),t.updateDroppableIsCombineEnabled({id:r,isCombineEnabled:i}))},scrollDroppable:function(t,r){n&&e.droppable.getById(t).callbacks.scroll(r)},updateDroppableScroll:function(r,i){n&&(e.droppable.exists(r)||E(!1),t.updateDroppableScroll({id:r,newScroll:i}))},startPublishing:function(t){n&&E(!1);var r=e.draggable.getById(t.draggableId),a=e.droppable.getById(r.descriptor.droppableId),o={draggable:r.descriptor,droppable:a.descriptor},s=e.subscribe(i);return n={critical:o,unsubscribe:s},on({critical:o,registry:e,scrollOptions:t.scrollOptions})},stopPublishing:function(){if(n){r.stop();var t=n.critical.droppable;e.droppable.getAllByType(t.type).forEach((function(e){return e.callbacks.dragStopped()})),n.unsubscribe(),n=null}}};return a},un=function(e,t){return"IDLE"===e.phase||"DROP_ANIMATING"===e.phase&&(e.completed.result.draggableId!==t&&"DROP"===e.completed.result.reason)},cn=function(e){window.scrollBy(e.x,e.y)},dn=(0,w.A)((function(e){return ie(e).filter((function(e){return!!e.isEnabled&&!!e.frame}))})),fn=function(e){var t=e.center,n=e.destination,r=e.droppables;if(n){var i=r[n];return i.frame?i:null}var a=function(e,t){var n=ee(dn(t),(function(t){return t.frame||E(!1),Je(t.frame.pageMarginBox)(e)}));return n}(t,r);return a},pn=.25,hn=.05,gn=28,mn=function(e){return Math.pow(e,2)},vn={stopDampeningAt:1200,accelerateAt:360},bn=function(e){var t=e.startOfRange,n=e.endOfRange,r=e.current,i=n-t;return 0===i?0:(r-t)/i},yn=vn.accelerateAt,Dn=vn.stopDampeningAt,_n=function(e){var t=e.distanceToEdge,n=e.thresholds,r=e.dragStartTime,i=e.shouldUseTimeDampening,a=function(e,t){if(e>t.startScrollingFrom)return 0;if(e<=t.maxScrollValueAt)return gn;if(e===t.startScrollingFrom)return 1;var n=bn({startOfRange:t.maxScrollValueAt,endOfRange:t.startScrollingFrom,current:e}),r=gn*mn(1-n);return Math.ceil(r)}(t,n);return 0===a?0:i?Math.max(function(e,t){var n=t,r=Dn,i=Date.now()-n;if(i>=Dn)return e;if(i<yn)return 1;var a=bn({startOfRange:yn,endOfRange:r,current:i}),o=e*mn(a);return Math.ceil(o)}(a,r),1):a},wn=function(e){var t=e.container,n=e.distanceToEdges,r=e.dragStartTime,i=e.axis,a=e.shouldUseTimeDampening,o=function(e,t){return{startScrollingFrom:e[t.size]*pn,maxScrollValueAt:e[t.size]*hn}}(t,i);return n[i.end]<n[i.start]?_n({distanceToEdge:n[i.end],thresholds:o,dragStartTime:r,shouldUseTimeDampening:a}):-1*_n({distanceToEdge:n[i.start],thresholds:o,dragStartTime:r,shouldUseTimeDampening:a})},xn=z((function(e){return 0===e?0:e})),Sn=function(e){var t=e.dragStartTime,n=e.container,r=e.subject,i=e.center,a=e.shouldUseTimeDampening,o={top:i.y-n.top,right:n.right-i.x,bottom:n.bottom-i.y,left:i.x-n.left},s=wn({container:n,distanceToEdges:o,dragStartTime:t,axis:ve,shouldUseTimeDampening:a}),l=wn({container:n,distanceToEdges:o,dragStartTime:t,axis:be,shouldUseTimeDampening:a}),u=xn({x:l,y:s});if(F(u,L))return null;var c=function(e){var t=e.container,n=e.subject,r=e.proposedScroll,i=n.height>t.height,a=n.width>t.width;return a||i?a&&i?null:{x:a?0:r.x,y:i?0:r.y}:r}({container:n,subject:r,proposedScroll:u});return c?F(c,L)?null:c:null},In=z((function(e){return 0===e?0:e>0?1:-1})),Mn=function(){var e=function(e,t){return e<0?e:e>t?e-t:0};return function(t){var n=t.current,r=t.max,i=t.change,a=G(n,i),o={x:e(a.x,r.x),y:e(a.y,r.y)};return F(o,L)?null:o}}(),An=function(e){var t=e.max,n=e.current,r=e.change,i={x:Math.max(n.x,t.x),y:Math.max(n.y,t.y)},a=In(r),o=Mn({max:i,current:n,change:a});return!o||(0!==a.x&&0===o.x||0!==a.y&&0===o.y)},On=function(e,t){return An({current:e.scroll.current,max:e.scroll.max,change:t})},Nn=function(e,t){var n=e.frame;return!!n&&An({current:n.scroll.current,max:n.scroll.max,change:t})},Cn=function(e){var t=e.state,n=e.dragStartTime,r=e.shouldUseTimeDampening,i=e.scrollWindow,a=e.scrollDroppable,o=t.current.page.borderBoxCenter,s=t.dimensions.draggables[t.critical.draggable.id].page.marginBox;if(t.isWindowScrollAllowed){var l=function(e){var t=e.viewport,n=e.subject,r=e.center,i=e.dragStartTime,a=e.shouldUseTimeDampening,o=Sn({dragStartTime:i,container:t.frame,subject:n,center:r,shouldUseTimeDampening:a});return o&&On(t,o)?o:null}({dragStartTime:n,viewport:t.viewport,subject:s,center:o,shouldUseTimeDampening:r});if(l)return void i(l)}var u=fn({center:o,destination:qe(t.impact),droppables:t.dimensions.droppables});if(u){var c=function(e){var t=e.droppable,n=e.subject,r=e.center,i=e.dragStartTime,a=e.shouldUseTimeDampening,o=t.frame;if(!o)return null;var s=Sn({dragStartTime:i,container:o.pageMarginBox,subject:n,center:r,shouldUseTimeDampening:a});return s&&Nn(t,s)?s:null}({dragStartTime:n,droppable:u,subject:s,center:o,shouldUseTimeDampening:r});c&&a(u.descriptor.id,c)}},En=function(e){var t=e.move,n=e.scrollDroppable,r=e.scrollWindow,i=function(e,t){if(!Nn(e,t))return t;var r=function(e,t){var n=e.frame;return n&&Nn(e,t)?Mn({current:n.scroll.current,max:n.scroll.max,change:t}):null}(e,t);if(!r)return n(e.descriptor.id,t),null;var i=W(t,r);return n(e.descriptor.id,i),W(t,i)},a=function(e,t,n){if(!e)return n;if(!On(t,n))return n;var i=function(e,t){if(!On(e,t))return null;var n=e.scroll.max,r=e.scroll.current;return Mn({current:r,max:n,change:t})}(t,n);if(!i)return r(n),null;var a=W(n,i);return r(a),W(n,a)};return function(e){var n=e.scrollJumpRequest;if(n){var r=qe(e.impact);r||E(!1);var o=i(e.dimensions.droppables[r],n);if(o){var s=e.viewport,l=a(e.isWindowScrollAllowed,s,o);l&&function(e,n){var r=G(e.current.client.selection,n);t({client:r})}(e,l)}}}},kn=function(e){var t=e.scrollDroppable,n=e.scrollWindow,r=e.move,i=function(e){var t=e.scrollWindow,n=e.scrollDroppable,r=x(t),i=x(n),a=null,o=function(e){a||E(!1);var t=a,n=t.shouldUseTimeDampening,o=t.dragStartTime;Cn({state:e,scrollWindow:r,scrollDroppable:i,dragStartTime:o,shouldUseTimeDampening:n})};return{start:function(e){lt(),a&&E(!1);var t=Date.now(),n=!1,r=function(){n=!0};Cn({state:e,dragStartTime:0,shouldUseTimeDampening:!1,scrollWindow:r,scrollDroppable:r}),a={dragStartTime:t,shouldUseTimeDampening:n},ut(),n&&o(e)},stop:function(){a&&(r.cancel(),i.cancel(),a=null)},scroll:o}}({scrollWindow:n,scrollDroppable:t}),a=En({move:r,scrollWindow:n,scrollDroppable:t});return{scroll:function(e){"DRAGGING"===e.phase&&("FLUID"!==e.movementMode?e.scrollJumpRequest&&a(e):i.scroll(e))},start:i.start,stop:i.stop}},Tn="data-rbd",Rn=function(){var e=Tn+"-drag-handle";return{base:e,draggableId:e+"-draggable-id",contextId:e+"-context-id"}}(),Pn=function(){var e=Tn+"-draggable";return{base:e,contextId:e+"-context-id",id:e+"-id"}}(),Yn=function(){var e=Tn+"-droppable";return{base:e,contextId:e+"-context-id",id:e+"-id"}}(),Bn={contextId:Tn+"-scroll-container-context-id"},Ln=function(e,t){return e.map((function(e){var n=e.styles[t];return n?e.selector+" { "+n+" }":""})).join(" ")},Gn=function(e){var t,n=(t=e,function(e){return"["+e+'="'+t+'"]'}),r=function(){var e="\n cursor: -webkit-grab;\n cursor: grab;\n ";return{selector:n(Rn.contextId),styles:{always:"\n -webkit-touch-callout: none;\n -webkit-tap-highlight-color: rgba(0,0,0,0);\n touch-action: manipulation;\n ",resting:e,dragging:"pointer-events: none;",dropAnimating:e}}}(),i=[function(){var e="\n transition: "+Pt.outOfTheWay+";\n ";return{selector:n(Pn.contextId),styles:{dragging:e,dropAnimating:e,userCancel:e}}}(),r,{selector:n(Yn.contextId),styles:{always:"overflow-anchor: none;"}},{selector:"body",styles:{dragging:"\n cursor: grabbing;\n cursor: -webkit-grabbing;\n user-select: none;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n overflow-anchor: none;\n "}}];return{always:Ln(i,"always"),resting:Ln(i,"resting"),dragging:Ln(i,"dragging"),dropAnimating:Ln(i,"dropAnimating"),userCancel:Ln(i,"userCancel")}},Wn="undefined"!==typeof window&&"undefined"!==typeof window.document&&"undefined"!==typeof window.document.createElement?r.useLayoutEffect:r.useEffect,Fn=function(){var e=document.querySelector("head");return e||E(!1),e},Un=function(e){var t=document.createElement("style");return e&&t.setAttribute("nonce",e),t.type="text/css",t};var Hn=function(e){return e&&e.ownerDocument?e.ownerDocument.defaultView:window};function Vn(e){return e instanceof Hn(e).HTMLElement}function jn(e,t){var n="["+Rn.contextId+'="'+e+'"]',r=te(document.querySelectorAll(n));if(!r.length)return null;var i=ee(r,(function(e){return e.getAttribute(Rn.draggableId)===t}));return i&&Vn(i)?i:null}function zn(){var e={draggables:{},droppables:{}},t=[];function n(e){t.length&&t.forEach((function(t){return t(e)}))}function r(t){return e.draggables[t]||null}function i(t){return e.droppables[t]||null}return{draggable:{register:function(t){e.draggables[t.descriptor.id]=t,n({type:"ADDITION",value:t})},update:function(t,n){var r=e.draggables[n.descriptor.id];r&&r.uniqueId===t.uniqueId&&(delete e.draggables[n.descriptor.id],e.draggables[t.descriptor.id]=t)},unregister:function(t){var i=t.descriptor.id,a=r(i);a&&t.uniqueId===a.uniqueId&&(delete e.draggables[i],n({type:"REMOVAL",value:t}))},getById:function(e){var t=r(e);return t||E(!1),t},findById:r,exists:function(e){return Boolean(r(e))},getAllByType:function(t){return Q(e.draggables).filter((function(e){return e.descriptor.type===t}))}},droppable:{register:function(t){e.droppables[t.descriptor.id]=t},unregister:function(t){var n=i(t.descriptor.id);n&&t.uniqueId===n.uniqueId&&delete e.droppables[t.descriptor.id]},getById:function(e){var t=i(e);return t||E(!1),t},findById:i,exists:function(e){return Boolean(i(e))},getAllByType:function(t){return Q(e.droppables).filter((function(e){return e.descriptor.type===t}))}},subscribe:function(e){return t.push(e),function(){var n=t.indexOf(e);-1!==n&&t.splice(n,1)}},clean:function(){e.draggables={},e.droppables={},t.length=0}}}var qn=r.createContext(null),Zn=function(){var e=document.body;return e||E(!1),e},Xn={position:"absolute",width:"1px",height:"1px",margin:"-1px",border:"0",padding:"0",overflow:"hidden",clip:"rect(0 0 0 0)","clip-path":"inset(100%)"},Jn=function(e){return"rbd-announcement-"+e};var $n=0,Qn={separator:"::"};function Kn(e,t){return void 0===t&&(t=Qn),u((function(){return""+e+t.separator+$n++}),[t.separator,e])}var er=r.createContext(null);function tr(e){0}function nr(e,t){tr()}function rr(e){var t=(0,r.useRef)(e);return(0,r.useEffect)((function(){t.current=e})),t}var ir,ar=((ir={})[13]=!0,ir[9]=!0,ir),or=function(e){ar[e.keyCode]&&e.preventDefault()},sr=function(){var e="visibilitychange";return"undefined"===typeof document?e:ee([e,"ms"+e,"webkit"+e,"moz"+e,"o"+e],(function(e){return"on"+e in document}))||e}();var lr,ur={type:"IDLE"};function cr(e){var t=e.cancel,n=e.completed,r=e.getPhase,i=e.setPhase;return[{eventName:"mousemove",fn:function(e){var t=e.button,n=e.clientX,a=e.clientY;if(0===t){var o={x:n,y:a},s=r();if("DRAGGING"===s.type)return e.preventDefault(),void s.actions.move(o);"PENDING"!==s.type&&E(!1);var l=s.point;if(u=l,c=o,Math.abs(c.x-u.x)>=5||Math.abs(c.y-u.y)>=5){var u,c;e.preventDefault();var d=s.actions.fluidLift(o);i({type:"DRAGGING",actions:d})}}}},{eventName:"mouseup",fn:function(e){var i=r();"DRAGGING"===i.type?(e.preventDefault(),i.actions.drop({shouldBlockNextClick:!0}),n()):t()}},{eventName:"mousedown",fn:function(e){"DRAGGING"===r().type&&e.preventDefault(),t()}},{eventName:"keydown",fn:function(e){if("PENDING"!==r().type)return 27===e.keyCode?(e.preventDefault(),void t()):void or(e);t()}},{eventName:"resize",fn:t},{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(){"PENDING"===r().type&&t()}},{eventName:"webkitmouseforcedown",fn:function(e){var n=r();"IDLE"===n.type&&E(!1),n.actions.shouldRespectForcePress()?t():e.preventDefault()}},{eventName:sr,fn:t}]}function dr(){}var fr=((lr={})[34]=!0,lr[33]=!0,lr[36]=!0,lr[35]=!0,lr);function pr(e,t){function n(){t(),e.cancel()}return[{eventName:"keydown",fn:function(r){return 27===r.keyCode?(r.preventDefault(),void n()):32===r.keyCode?(r.preventDefault(),t(),void e.drop()):40===r.keyCode?(r.preventDefault(),void e.moveDown()):38===r.keyCode?(r.preventDefault(),void e.moveUp()):39===r.keyCode?(r.preventDefault(),void e.moveRight()):37===r.keyCode?(r.preventDefault(),void e.moveLeft()):void(fr[r.keyCode]?r.preventDefault():or(r))}},{eventName:"mousedown",fn:n},{eventName:"mouseup",fn:n},{eventName:"click",fn:n},{eventName:"touchstart",fn:n},{eventName:"resize",fn:n},{eventName:"wheel",fn:n,options:{passive:!0}},{eventName:sr,fn:n}]}var hr={type:"IDLE"};var gr={input:!0,button:!0,textarea:!0,select:!0,option:!0,optgroup:!0,video:!0,audio:!0};function mr(e,t){if(null==t)return!1;if(Boolean(gr[t.tagName.toLowerCase()]))return!0;var n=t.getAttribute("contenteditable");return"true"===n||""===n||t!==e&&mr(e,t.parentElement)}function vr(e,t){var n=t.target;return!!Vn(n)&&mr(e,n)}var br=function(e){return f(e.getBoundingClientRect()).center};var yr=function(){var e="matches";return"undefined"===typeof document?e:ee([e,"msMatchesSelector","webkitMatchesSelector"],(function(e){return e in Element.prototype}))||e}();function Dr(e,t){return null==e?null:e[yr](t)?e:Dr(e.parentElement,t)}function _r(e,t){return e.closest?e.closest(t):Dr(e,t)}function wr(e,t){var n,r=t.target;if(!((n=r)instanceof Hn(n).Element))return null;var i=function(e){return"["+Rn.contextId+'="'+e+'"]'}(e),a=_r(r,i);return a&&Vn(a)?a:null}function xr(e){e.preventDefault()}function Sr(e){var t=e.expected,n=e.phase,r=e.isLockActive;e.shouldWarn;return!!r()&&t===n}function Ir(e){var t=e.lockAPI,n=e.store,r=e.registry,i=e.draggableId;if(t.isClaimed())return!1;var a=r.draggable.findById(i);return!!a&&(!!a.options.isEnabled&&!!un(n.getState(),i))}function Mr(e){var t=e.lockAPI,n=e.contextId,r=e.store,i=e.registry,o=e.draggableId,s=e.forceSensorStop,l=e.sourceEvent;if(!Ir({lockAPI:t,store:r,registry:i,draggableId:o}))return null;var u=i.draggable.getById(o),c=function(e,t){var n="["+Pn.contextId+'="'+e+'"]',r=ee(te(document.querySelectorAll(n)),(function(e){return e.getAttribute(Pn.id)===t}));return r&&Vn(r)?r:null}(n,u.descriptor.id);if(!c)return null;if(l&&!u.options.canDragInteractiveElements&&vr(c,l))return null;var d=t.claim(s||M),f="PRE_DRAG";function p(){return u.options.shouldRespectForcePress}function h(){return t.isActive(d)}var g=function(e,t){Sr({expected:e,phase:f,isLockActive:h,shouldWarn:!0})&&r.dispatch(t())}.bind(null,"DRAGGING");function m(e){function n(){t.release(),f="COMPLETED"}function i(t,i){if(void 0===i&&(i={shouldBlockNextClick:!1}),e.cleanup(),i.shouldBlockNextClick){var a=A(window,[{eventName:"click",fn:xr,options:{once:!0,passive:!1,capture:!0}}]);setTimeout(a)}n(),r.dispatch(Nt({reason:t}))}return"PRE_DRAG"!==f&&(n(),"PRE_DRAG"!==f&&E(!1)),r.dispatch(mt(e.liftActionArgs)),f="DRAGGING",(0,a.A)({isActive:function(){return Sr({expected:"DRAGGING",phase:f,isLockActive:h,shouldWarn:!1})},shouldRespectForcePress:p,drop:function(e){return i("DROP",e)},cancel:function(e){return i("CANCEL",e)}},e.actions)}return{isActive:function(){return Sr({expected:"PRE_DRAG",phase:f,isLockActive:h,shouldWarn:!1})},shouldRespectForcePress:p,fluidLift:function(e){var t=x((function(e){g((function(){return wt({client:e})}))})),n=m({liftActionArgs:{id:o,clientSelection:e,movementMode:"FLUID"},cleanup:function(){return t.cancel()},actions:{move:t}});return(0,a.A)({},n,{move:t})},snapLift:function(){var e={moveUp:function(){return g(xt)},moveRight:function(){return g(It)},moveDown:function(){return g(St)},moveLeft:function(){return g(Mt)}};return m({liftActionArgs:{id:o,clientSelection:br(c),movementMode:"SNAP"},cleanup:M,actions:e})},abort:function(){Sr({expected:"PRE_DRAG",phase:f,isLockActive:h,shouldWarn:!0})&&t.release()}}}var Ar=[function(e){var t=(0,r.useRef)(ur),n=(0,r.useRef)(M),i=u((function(){return{eventName:"mousedown",fn:function(t){if(!t.defaultPrevented&&0===t.button&&!(t.ctrlKey||t.metaKey||t.shiftKey||t.altKey)){var r=e.findClosestDraggableId(t);if(r){var i=e.tryGetLock(r,s,{sourceEvent:t});if(i){t.preventDefault();var a={x:t.clientX,y:t.clientY};n.current(),f(i,a)}}}}}}),[e]),a=u((function(){return{eventName:"webkitmouseforcewillbegin",fn:function(t){if(!t.defaultPrevented){var n=e.findClosestDraggableId(t);if(n){var r=e.findOptionsForDraggable(n);r&&(r.shouldRespectForcePress||e.canGetLock(n)&&t.preventDefault())}}}}}),[e]),o=c((function(){n.current=A(window,[a,i],{passive:!1,capture:!0})}),[a,i]),s=c((function(){"IDLE"!==t.current.type&&(t.current=ur,n.current(),o())}),[o]),l=c((function(){var e=t.current;s(),"DRAGGING"===e.type&&e.actions.cancel({shouldBlockNextClick:!0}),"PENDING"===e.type&&e.actions.abort()}),[s]),d=c((function(){var e=cr({cancel:l,completed:s,getPhase:function(){return t.current},setPhase:function(e){t.current=e}});n.current=A(window,e,{capture:!0,passive:!1})}),[l,s]),f=c((function(e,n){"IDLE"!==t.current.type&&E(!1),t.current={type:"PENDING",point:n,actions:e},d()}),[d]);Wn((function(){return o(),function(){n.current()}}),[o])},function(e){var t=(0,r.useRef)(dr),n=u((function(){return{eventName:"keydown",fn:function(n){if(!n.defaultPrevented&&32===n.keyCode){var r=e.findClosestDraggableId(n);if(r){var a=e.tryGetLock(r,l,{sourceEvent:n});if(a){n.preventDefault();var o=!0,s=a.snapLift();t.current(),t.current=A(window,pr(s,l),{capture:!0,passive:!1})}}}function l(){o||E(!1),o=!1,t.current(),i()}}}}),[e]),i=c((function(){t.current=A(window,[n],{passive:!1,capture:!0})}),[n]);Wn((function(){return i(),function(){t.current()}}),[i])},function(e){var t=(0,r.useRef)(hr),n=(0,r.useRef)(M),i=c((function(){return t.current}),[]),a=c((function(e){t.current=e}),[]),o=u((function(){return{eventName:"touchstart",fn:function(t){if(!t.defaultPrevented){var r=e.findClosestDraggableId(t);if(r){var i=e.tryGetLock(r,l,{sourceEvent:t});if(i){var a=t.touches[0],o={x:a.clientX,y:a.clientY};n.current(),h(i,o)}}}}}}),[e]),s=c((function(){n.current=A(window,[o],{capture:!0,passive:!1})}),[o]),l=c((function(){var e=t.current;"IDLE"!==e.type&&("PENDING"===e.type&&clearTimeout(e.longPressTimerId),a(hr),n.current(),s())}),[s,a]),d=c((function(){var e=t.current;l(),"DRAGGING"===e.type&&e.actions.cancel({shouldBlockNextClick:!0}),"PENDING"===e.type&&e.actions.abort()}),[l]),f=c((function(){var e={capture:!0,passive:!1},t={cancel:d,completed:l,getPhase:i},r=A(window,function(e){var t=e.cancel,n=e.completed,r=e.getPhase;return[{eventName:"touchmove",options:{capture:!1},fn:function(e){var n=r();if("DRAGGING"===n.type){n.hasMoved=!0;var i=e.touches[0],a={x:i.clientX,y:i.clientY};e.preventDefault(),n.actions.move(a)}else t()}},{eventName:"touchend",fn:function(e){var i=r();"DRAGGING"===i.type?(e.preventDefault(),i.actions.drop({shouldBlockNextClick:!0}),n()):t()}},{eventName:"touchcancel",fn:function(e){"DRAGGING"===r().type?(e.preventDefault(),t()):t()}},{eventName:"touchforcechange",fn:function(e){var n=r();"IDLE"===n.type&&E(!1);var i=e.touches[0];if(i&&i.force>=.15){var a=n.actions.shouldRespectForcePress();if("PENDING"!==n.type)return a?n.hasMoved?void e.preventDefault():void t():void e.preventDefault();a&&t()}}},{eventName:sr,fn:t}]}(t),e),a=A(window,function(e){var t=e.cancel,n=e.getPhase;return[{eventName:"orientationchange",fn:t},{eventName:"resize",fn:t},{eventName:"contextmenu",fn:function(e){e.preventDefault()}},{eventName:"keydown",fn:function(e){"DRAGGING"===n().type?(27===e.keyCode&&e.preventDefault(),t()):t()}},{eventName:sr,fn:t}]}(t),e);n.current=function(){r(),a()}}),[d,i,l]),p=c((function(){var e=i();"PENDING"!==e.type&&E(!1);var t=e.actions.fluidLift(e.point);a({type:"DRAGGING",actions:t,hasMoved:!1})}),[i,a]),h=c((function(e,t){"IDLE"!==i().type&&E(!1);var n=setTimeout(p,120);a({type:"PENDING",point:t,actions:e,longPressTimerId:n}),f()}),[f,i,a,p]);Wn((function(){return s(),function(){n.current();var e=i();"PENDING"===e.type&&(clearTimeout(e.longPressTimerId),a(hr))}}),[i,s,a]),Wn((function(){return A(window,[{eventName:"touchmove",fn:function(){},options:{capture:!1,passive:!1}}])}),[])}];function Or(e){var t=e.contextId,n=e.store,i=e.registry,a=e.customSensors,o=e.enableDefaultSensors,s=[].concat(o?Ar:[],a||[]),l=(0,r.useState)((function(){return function(){var e=null;function t(){e||E(!1),e=null}return{isClaimed:function(){return Boolean(e)},isActive:function(t){return t===e},claim:function(t){e&&E(!1);var n={abandon:t};return e=n,n},release:t,tryAbandon:function(){e&&(e.abandon(),t())}}}()}))[0],d=c((function(e,t){e.isDragging&&!t.isDragging&&l.tryAbandon()}),[l]);Wn((function(){var e=n.getState();return n.subscribe((function(){var t=n.getState();d(e,t),e=t}))}),[l,n,d]),Wn((function(){return l.tryAbandon}),[l.tryAbandon]);var f=c((function(e){return Ir({lockAPI:l,registry:i,store:n,draggableId:e})}),[l,i,n]),p=c((function(e,r,a){return Mr({lockAPI:l,registry:i,contextId:t,store:n,draggableId:e,forceSensorStop:r,sourceEvent:a&&a.sourceEvent?a.sourceEvent:null})}),[t,l,i,n]),h=c((function(e){return function(e,t){var n=wr(e,t);return n?n.getAttribute(Rn.draggableId):null}(t,e)}),[t]),g=c((function(e){var t=i.draggable.findById(e);return t?t.options:null}),[i.draggable]),m=c((function(){l.isClaimed()&&(l.tryAbandon(),"IDLE"!==n.getState().phase&&n.dispatch(At()))}),[l,n]),v=c(l.isClaimed,[l]),b=u((function(){return{canGetLock:f,tryGetLock:p,findClosestDraggableId:h,findOptionsForDraggable:g,tryReleaseLock:m,isLockClaimed:v}}),[f,p,h,g,m,v]);tr();for(var y=0;y<s.length;y++)s[y](b)}var Nr=function(e){return{onBeforeCapture:e.onBeforeCapture,onBeforeDragStart:e.onBeforeDragStart,onDragStart:e.onDragStart,onDragEnd:e.onDragEnd,onDragUpdate:e.onDragUpdate}};function Cr(e){return e.current||E(!1),e.current}function Er(e){var t=e.contextId,n=e.setCallbacks,i=e.sensors,l=e.nonce,d=e.dragHandleUsageInstructions,f=(0,r.useRef)(null);nr();var p=rr(e),h=c((function(){return Nr(p.current)}),[p]),g=function(e){var t=u((function(){return Jn(e)}),[e]),n=(0,r.useRef)(null);return(0,r.useEffect)((function(){var e=document.createElement("div");return n.current=e,e.id=t,e.setAttribute("aria-live","assertive"),e.setAttribute("aria-atomic","true"),(0,a.A)(e.style,Xn),Zn().appendChild(e),function(){setTimeout((function(){var t=Zn();t.contains(e)&&t.removeChild(e),e===n.current&&(n.current=null)}))}}),[t]),c((function(e){var t=n.current;t&&(t.textContent=e)}),[])}(t),m=function(e){var t=e.contextId,n=e.text,i=Kn("hidden-text",{separator:"-"}),a=u((function(){return"rbd-hidden-text-"+(e={contextId:t,uniqueId:i}).contextId+"-"+e.uniqueId;var e}),[i,t]);return(0,r.useEffect)((function(){var e=document.createElement("div");return e.id=a,e.textContent=n,e.style.display="none",Zn().appendChild(e),function(){var t=Zn();t.contains(e)&&t.removeChild(e)}}),[a,n]),a}({contextId:t,text:d}),v=function(e,t){var n=u((function(){return Gn(e)}),[e]),i=(0,r.useRef)(null),a=(0,r.useRef)(null),o=c((0,w.A)((function(e){var t=a.current;t||E(!1),t.textContent=e})),[]),s=c((function(e){var t=i.current;t||E(!1),t.textContent=e}),[]);Wn((function(){(i.current||a.current)&&E(!1);var r=Un(t),l=Un(t);return i.current=r,a.current=l,r.setAttribute(Tn+"-always",e),l.setAttribute(Tn+"-dynamic",e),Fn().appendChild(r),Fn().appendChild(l),s(n.always),o(n.resting),function(){var e=function(e){var t=e.current;t||E(!1),Fn().removeChild(t),e.current=null};e(i),e(a)}}),[t,s,o,n.always,n.resting,e]);var l=c((function(){return o(n.dragging)}),[o,n.dragging]),d=c((function(e){o("DROP"!==e?n.userCancel:n.dropAnimating)}),[o,n.dropAnimating,n.userCancel]),f=c((function(){a.current&&o(n.resting)}),[o,n.resting]);return u((function(){return{dragging:l,dropping:d,resting:f}}),[l,d,f])}(t,l),b=c((function(e){Cr(f).dispatch(e)}),[]),y=u((function(){return(0,o.zH)({publishWhileDragging:vt,updateDroppableScroll:yt,updateDroppableIsEnabled:Dt,updateDroppableIsCombineEnabled:_t,collectionStarting:bt},b)}),[b]),D=function(){var e=u(zn,[]);return(0,r.useEffect)((function(){return function(){requestAnimationFrame(e.clean)}}),[e]),e}(),_=u((function(){return ln(D,y)}),[D,y]),x=u((function(){return kn((0,a.A)({scrollWindow:cn,scrollDroppable:_.scrollDroppable},(0,o.zH)({move:wt},b)))}),[_.scrollDroppable,b]),S=function(e){var t=(0,r.useRef)({}),n=(0,r.useRef)(null),i=(0,r.useRef)(null),a=(0,r.useRef)(!1),o=c((function(e,n){var r={id:e,focus:n};return t.current[e]=r,function(){var n=t.current;n[e]!==r&&delete n[e]}}),[]),s=c((function(t){var n=jn(e,t);n&&n!==document.activeElement&&n.focus()}),[e]),l=c((function(e,t){n.current===e&&(n.current=t)}),[]),d=c((function(){i.current||a.current&&(i.current=requestAnimationFrame((function(){i.current=null;var e=n.current;e&&s(e)})))}),[s]),f=c((function(e){n.current=null;var t=document.activeElement;t&&t.getAttribute(Rn.draggableId)===e&&(n.current=e)}),[]);return Wn((function(){return a.current=!0,function(){a.current=!1;var e=i.current;e&&cancelAnimationFrame(e)}}),[]),u((function(){return{register:o,tryRecordFocus:f,tryRestoreFocusRecorded:d,tryShiftRecord:l}}),[o,f,d,l])}(t),I=u((function(){return tn({announce:g,autoScroller:x,dimensionMarshal:_,focusMarshal:S,getResponders:h,styleMarshal:v})}),[g,x,_,S,h,v]);f.current=I;var M=c((function(){var e=Cr(f);"IDLE"!==e.getState().phase&&e.dispatch(At())}),[]),A=c((function(){var e=Cr(f).getState();return e.isDragging||"DROP_ANIMATING"===e.phase}),[]);n(u((function(){return{isDragging:A,tryAbort:M}}),[A,M]));var O=c((function(e){return un(Cr(f).getState(),e)}),[]),N=c((function(){return Xe(Cr(f).getState())}),[]),C=u((function(){return{marshal:_,focus:S,contextId:t,canLift:O,isMovementAllowed:N,dragHandleUsageInstructionsId:m,registry:D}}),[t,_,m,S,O,N,D]);return Or({contextId:t,store:I,registry:D,customSensors:i,enableDefaultSensors:!1!==e.enableDefaultSensors}),(0,r.useEffect)((function(){return M}),[M]),r.createElement(er.Provider,{value:C},r.createElement(s.Kq,{context:qn,store:I},e.children))}var kr=0;function Tr(e){var t=u((function(){return""+kr++}),[]),n=e.dragHandleUsageInstructions||B.dragHandleUsageInstructions;return r.createElement(k,null,(function(i){return r.createElement(Er,{nonce:e.nonce,contextId:t,setCallbacks:i,dragHandleUsageInstructions:n,enableDefaultSensors:e.enableDefaultSensors,sensors:e.sensors,onBeforeCapture:e.onBeforeCapture,onBeforeDragStart:e.onBeforeDragStart,onDragStart:e.onDragStart,onDragUpdate:e.onDragUpdate,onDragEnd:e.onDragEnd},e.children)}))}var Rr=function(e){return function(t){return e===t}},Pr=Rr("scroll"),Yr=Rr("auto"),Br=(Rr("visible"),function(e,t){return t(e.overflowX)||t(e.overflowY)}),Lr=function(e){var t=window.getComputedStyle(e),n={overflowX:t.overflowX,overflowY:t.overflowY};return Br(n,Pr)||Br(n,Yr)},Gr=function e(t){return null==t||t===document.body||t===document.documentElement?null:Lr(t)?t:e(t.parentElement)},Wr=function(e){return{x:e.scrollLeft,y:e.scrollTop}},Fr=function e(t){return!!t&&("fixed"===window.getComputedStyle(t).position||e(t.parentElement))},Ur=function(e){return{closestScrollable:Gr(e),isFixedOnPage:Fr(e)}},Hr=function(e){var t=e.ref,n=e.descriptor,r=e.env,i=e.windowScroll,a=e.direction,o=e.isDropDisabled,s=e.isCombineEnabled,l=e.shouldClipSubject,u=r.closestScrollable,c=function(e,t){var n=_(e);if(!t)return n;if(e!==t)return n;var r=n.paddingBox.top-t.scrollTop,i=n.paddingBox.left-t.scrollLeft,a=r+t.scrollHeight,o=i+t.scrollWidth,s=p({top:r,right:o,bottom:a,left:i},n.border);return m({borderBox:s,margin:n.margin,border:n.border,padding:n.padding})}(t,u),d=y(c,i),f=function(){if(!u)return null;var e=_(u),t={scrollHeight:u.scrollHeight,scrollWidth:u.scrollWidth};return{client:e,page:y(e,i),scroll:Wr(u),scrollSize:t,shouldClipSubject:l}}(),h=function(e){var t=e.descriptor,n=e.isEnabled,r=e.isCombineEnabled,i=e.isFixedOnPage,a=e.direction,o=e.client,s=e.page,l=e.closest,u=function(){if(!l)return null;var e=l.scrollSize,t=l.client,n=nn({scrollHeight:e.scrollHeight,scrollWidth:e.scrollWidth,height:t.paddingBox.height,width:t.paddingBox.width});return{pageMarginBox:l.page.marginBox,frameClient:t,scrollSize:e,shouldClipSubject:l.shouldClipSubject,scroll:{initial:l.scroll,current:l.scroll,max:n,diff:{value:L,displacement:L}}}}(),c="vertical"===a?ve:be;return{descriptor:t,isCombineEnabled:r,isFixedOnPage:i,axis:c,isEnabled:n,client:o,page:s,frame:u,subject:J({page:s,withPlaceholder:null,axis:c,frame:u})}}({descriptor:n,isEnabled:!o,isCombineEnabled:s,isFixedOnPage:r.isFixedOnPage,direction:a,client:c,page:d,closest:f});return h},Vr={passive:!1},jr={passive:!0},zr=function(e){return e.shouldPublishImmediately?Vr:jr};function qr(e){var t=(0,r.useContext)(e);return t||E(!1),t}var Zr=function(e){return e&&e.env.closestScrollable||null};function Xr(){}var Jr={width:0,height:0,margin:{top:0,right:0,bottom:0,left:0}},$r=function(e){var t=e.isAnimatingOpenOnMount,n=e.placeholder,r=e.animate,i=function(e){var t=e.isAnimatingOpenOnMount,n=e.placeholder,r=e.animate;return t||"close"===r?Jr:{height:n.client.borderBox.height,width:n.client.borderBox.width,margin:n.client.margin}}({isAnimatingOpenOnMount:t,placeholder:n,animate:r});return{display:n.display,boxSizing:"border-box",width:i.width,height:i.height,marginTop:i.margin.top,marginRight:i.margin.right,marginBottom:i.margin.bottom,marginLeft:i.margin.left,flexShrink:"0",flexGrow:"0",pointerEvents:"none",transition:"none"!==r?Pt.placeholder:null}};var Qr=r.memo((function(e){var t=(0,r.useRef)(null),n=c((function(){t.current&&(clearTimeout(t.current),t.current=null)}),[]),i=e.animate,a=e.onTransitionEnd,o=e.onClose,s=e.contextId,l=(0,r.useState)("open"===e.animate),u=l[0],d=l[1];(0,r.useEffect)((function(){return u?"open"!==i?(n(),d(!1),Xr):t.current?Xr:(t.current=setTimeout((function(){t.current=null,d(!1)})),n):Xr}),[i,u,n]);var f=c((function(e){"height"===e.propertyName&&(a(),"close"===i&&o())}),[i,o,a]),p=$r({isAnimatingOpenOnMount:u,animate:e.animate,placeholder:e.placeholder});return r.createElement(e.placeholder.tagName,{style:p,"data-rbd-placeholder-context-id":s,onTransitionEnd:f,ref:e.innerRef})})),Kr=r.createContext(null);var ei=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).state={isVisible:Boolean(t.props.on),data:t.props.on,animate:t.props.shouldAnimate&&t.props.on?"open":"none"},t.onClose=function(){"close"===t.state.animate&&t.setState({isVisible:!1})},t}return(0,i.A)(t,e),t.getDerivedStateFromProps=function(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:Boolean(e.on),data:e.on,animate:"none"}},t.prototype.render=function(){if(!this.state.isVisible)return null;var e={onClose:this.onClose,data:this.state.data,animate:this.state.animate};return this.props.children(e)},t}(r.PureComponent),ti=5e3,ni=4500,ri=function(e,t){return t?Pt.drop(t.duration):e?Pt.snap:Pt.fluid},ii=function(e,t){return e?t?kt.drop:kt.combining:null};function ai(e){return"DRAGGING"===e.type?function(e){var t=e.dimension.client,n=e.offset,r=e.combineWith,i=e.dropping,a=Boolean(r),o=function(e){return null!=e.forceShouldAnimate?e.forceShouldAnimate:"SNAP"===e.mode}(e),s=Boolean(i),l=s?Lt(n,a):Bt(n);return{position:"fixed",top:t.marginBox.top,left:t.marginBox.left,boxSizing:"border-box",width:t.borderBox.width,height:t.borderBox.height,transition:ri(o,i),transform:l,opacity:ii(a,s),zIndex:s?ni:ti,pointerEvents:"none"}}(e):{transform:Bt((t=e).offset),transition:t.shouldAnimateDisplacement?null:"none"};var t}function oi(e){var t=Kn("draggable"),n=e.descriptor,i=e.registry,a=e.getDraggableRef,o=e.canDragInteractiveElements,s=e.shouldRespectForcePress,l=e.isEnabled,d=u((function(){return{canDragInteractiveElements:o,shouldRespectForcePress:s,isEnabled:l}}),[o,l,s]),f=c((function(e){var t=a();return t||E(!1),function(e,t,n){void 0===n&&(n=L);var r=window.getComputedStyle(t),i=t.getBoundingClientRect(),a=D(i,r),o=y(a,n);return{descriptor:e,placeholder:{client:a,tagName:t.tagName.toLowerCase(),display:r.display},displaceBy:{x:a.marginBox.width,y:a.marginBox.height},client:a,page:o}}(n,t,e)}),[n,a]),p=u((function(){return{uniqueId:t,descriptor:n,options:d,getDimension:f}}),[n,f,d,t]),h=(0,r.useRef)(p),g=(0,r.useRef)(!0);Wn((function(){return i.draggable.register(h.current),function(){return i.draggable.unregister(h.current)}}),[i.draggable]),Wn((function(){if(g.current)g.current=!1;else{var e=h.current;h.current=p,i.draggable.update(p,e)}}),[p,i.draggable])}function si(e,t,n){nr()}function li(e){e.preventDefault()}var ui=function(e,t){return e===t},ci=function(e){var t=e.combine,n=e.destination;return n?n.droppableId:t?t.droppableId:null};function di(e){return{isDragging:!1,isDropAnimating:!1,isClone:!1,dropAnimation:null,mode:null,draggingOver:null,combineTargetFor:e,combineWith:null}}var fi={mapped:{type:"SECONDARY",offset:L,combineTargetFor:null,shouldAnimateDisplacement:!0,snapshot:di(null)}};var pi={dropAnimationFinished:Ct},hi=(0,s.Ng)((function(){var e=function(){var e=(0,w.A)((function(e,t){return{x:e,y:t}})),t=(0,w.A)((function(e,t,n,r,i){return{isDragging:!0,isClone:t,isDropAnimating:Boolean(i),dropAnimation:i,mode:e,draggingOver:n,combineWith:r,combineTargetFor:null}})),n=(0,w.A)((function(e,n,r,i,a,o,s){return{mapped:{type:"DRAGGING",dropping:null,draggingOver:a,combineWith:o,mode:n,offset:e,dimension:r,forceShouldAnimate:s,snapshot:t(n,i,a,o,null)}}}));return function(r,i){if(r.isDragging){if(r.critical.draggable.id!==i.draggableId)return null;var a=r.current.client.offset,o=r.dimensions.draggables[i.draggableId],s=qe(r.impact),l=(c=r.impact).at&&"COMBINE"===c.at.type?c.at.combine.draggableId:null,u=r.forceShouldAnimate;return n(e(a.x,a.y),r.movementMode,o,i.isClone,s,l,u)}var c;if("DROP_ANIMATING"===r.phase){var d=r.completed;if(d.result.draggableId!==i.draggableId)return null;var f=i.isClone,p=r.dimensions.draggables[i.draggableId],h=d.result,g=h.mode,m=ci(h),v=function(e){return e.combine?e.combine.draggableId:null}(h),b={duration:r.dropDuration,curve:Et,moveTo:r.newHomeClientOffset,opacity:v?kt.drop:null,scale:v?Tt.drop:null};return{mapped:{type:"DRAGGING",offset:r.newHomeClientOffset,dimension:p,dropping:b,draggingOver:m,combineWith:v,mode:g,forceShouldAnimate:null,snapshot:t(g,f,m,v,b)}}}return null}}(),t=function(){var e=(0,w.A)((function(e,t){return{x:e,y:t}})),t=(0,w.A)(di),n=(0,w.A)((function(e,n,r){return void 0===n&&(n=null),{mapped:{type:"SECONDARY",offset:e,combineTargetFor:n,shouldAnimateDisplacement:r,snapshot:t(n)}}})),r=function(e){return e?n(L,e,!0):null},i=function(t,i,a,o){var s=a.displaced.visible[t],l=Boolean(o.inVirtualList&&o.effected[t]),u=le(a),c=u&&u.draggableId===t?i:null;if(!s){if(!l)return r(c);if(a.displaced.invisible[t])return null;var d=U(o.displacedBy.point),f=e(d.x,d.y);return n(f,c,!0)}if(l)return r(c);var p=a.displacedBy.point,h=e(p.x,p.y);return n(h,c,s.shouldAnimate)};return function(e,t){if(e.isDragging)return e.critical.draggable.id===t.draggableId?null:i(t.draggableId,e.critical.draggable.id,e.impact,e.afterCritical);if("DROP_ANIMATING"===e.phase){var n=e.completed;return n.result.draggableId===t.draggableId?null:i(t.draggableId,n.result.draggableId,n.impact,n.afterCritical)}return null}}();return function(n,r){return e(n,r)||t(n,r)||fi}}),pi,null,{context:qn,pure:!0,areStatePropsEqual:ui})((function(e){var t=(0,r.useRef)(null),n=c((function(e){t.current=e}),[]),i=c((function(){return t.current}),[]),a=qr(er),o=a.contextId,s=a.dragHandleUsageInstructionsId,l=a.registry,d=qr(Kr),f=d.type,p=d.droppableId,h=u((function(){return{id:e.draggableId,index:e.index,type:f,droppableId:p}}),[e.draggableId,e.index,f,p]),g=e.children,m=e.draggableId,v=e.isEnabled,b=e.shouldRespectForcePress,y=e.canDragInteractiveElements,D=e.isClone,_=e.mapped,w=e.dropAnimationFinished;si(),tr(),D||oi(u((function(){return{descriptor:h,registry:l,getDraggableRef:i,canDragInteractiveElements:y,shouldRespectForcePress:b,isEnabled:v}}),[h,l,i,y,b,v]));var x=u((function(){return v?{tabIndex:0,role:"button","aria-describedby":s,"data-rbd-drag-handle-draggable-id":m,"data-rbd-drag-handle-context-id":o,draggable:!1,onDragStart:li}:null}),[o,s,m,v]),S=c((function(e){"DRAGGING"===_.type&&_.dropping&&"transform"===e.propertyName&&w()}),[w,_]),I=u((function(){var e=ai(_),t="DRAGGING"===_.type&&_.dropping?S:null;return{innerRef:n,draggableProps:{"data-rbd-draggable-context-id":o,"data-rbd-draggable-id":m,style:e,onTransitionEnd:t},dragHandleProps:x}}),[o,x,m,_,S,n]),M=u((function(){return{draggableId:h.id,type:h.type,source:{index:h.index,droppableId:h.droppableId}}}),[h.droppableId,h.id,h.index,h.type]);return g(I,_.snapshot,M)}));function gi(e){return qr(Kr).isUsingCloneFor!==e.draggableId||e.isClone?r.createElement(hi,e):null}function mi(e){var t="boolean"!==typeof e.isDragDisabled||!e.isDragDisabled,n=Boolean(e.disableInteractiveElementBlocking),i=Boolean(e.shouldRespectForcePress);return r.createElement(gi,(0,a.A)({},e,{isClone:!1,isEnabled:t,canDragInteractiveElements:n,shouldRespectForcePress:i}))}var vi=function(e,t){return e===t.droppable.type},bi=function(e,t){return t.draggables[e.draggable.id]},yi={updateViewportMaxScroll:function(e){return{type:"UPDATE_VIEWPORT_MAX_SCROLL",payload:e}}};var Di={mode:"standard",type:"DEFAULT",direction:"vertical",isDropDisabled:!1,isCombineEnabled:!1,ignoreContainerClipping:!1,renderClone:null,getContainerForClone:function(){return document.body||E(!1),document.body}},_i=(0,s.Ng)((function(){var e={placeholder:null,shouldAnimatePlaceholder:!0,snapshot:{isDraggingOver:!1,draggingOverWith:null,draggingFromThisWith:null,isUsingPlaceholder:!1},useClone:null},t=(0,a.A)({},e,{shouldAnimatePlaceholder:!1}),n=(0,w.A)((function(e){return{draggableId:e.id,type:e.type,source:{index:e.index,droppableId:e.droppableId}}})),r=(0,w.A)((function(r,i,a,o,s,l){var u=s.descriptor.id;if(s.descriptor.droppableId===r){var c=l?{render:l,dragging:n(s.descriptor)}:null,d={isDraggingOver:a,draggingOverWith:a?u:null,draggingFromThisWith:u,isUsingPlaceholder:!0};return{placeholder:s.placeholder,shouldAnimatePlaceholder:!1,snapshot:d,useClone:c}}if(!i)return t;if(!o)return e;var f={isDraggingOver:a,draggingOverWith:u,draggingFromThisWith:null,isUsingPlaceholder:!0};return{placeholder:s.placeholder,shouldAnimatePlaceholder:!0,snapshot:f,useClone:null}}));return function(n,i){var a=i.droppableId,o=i.type,s=!i.isDropDisabled,l=i.renderClone;if(n.isDragging){var u=n.critical;if(!vi(o,u))return t;var c=bi(u,n.dimensions),d=qe(n.impact)===a;return r(a,s,d,d,c,l)}if("DROP_ANIMATING"===n.phase){var f=n.completed;if(!vi(o,f.critical))return t;var p=bi(f.critical,n.dimensions);return r(a,s,ci(f.result)===a,qe(f.impact)===a,p,l)}if("IDLE"===n.phase&&n.completed&&!n.shouldFlush){var h=n.completed;if(!vi(o,h.critical))return t;var g=qe(h.impact)===a,m=Boolean(h.impact.at&&"COMBINE"===h.impact.at.type),v=h.critical.droppable.id===a;return g?m?e:t:v?e:t}return t}}),yi,null,{context:qn,pure:!0,areStatePropsEqual:ui})((function(e){var t=(0,r.useContext)(er);t||E(!1);var n=t.contextId,i=t.isMovementAllowed,a=(0,r.useRef)(null),o=(0,r.useRef)(null),s=e.children,l=e.droppableId,d=e.type,f=e.mode,p=e.direction,h=e.ignoreContainerClipping,g=e.isDropDisabled,m=e.isCombineEnabled,v=e.snapshot,b=e.useClone,y=e.updateViewportMaxScroll,D=e.getContainerForClone,_=c((function(){return a.current}),[]),I=c((function(e){a.current=e}),[]),M=(c((function(){return o.current}),[]),c((function(e){o.current=e}),[]));nr();var A=c((function(){i()&&y({maxScroll:an()})}),[i,y]);!function(e){var t=(0,r.useRef)(null),n=qr(er),i=Kn("droppable"),a=n.registry,o=n.marshal,s=rr(e),l=u((function(){return{id:e.droppableId,type:e.type,mode:e.mode}}),[e.droppableId,e.mode,e.type]),d=(0,r.useRef)(l),f=u((function(){return(0,w.A)((function(e,n){t.current||E(!1);var r={x:e,y:n};o.updateDroppableScroll(l.id,r)}))}),[l.id,o]),p=c((function(){var e=t.current;return e&&e.env.closestScrollable?Wr(e.env.closestScrollable):L}),[]),h=c((function(){var e=p();f(e.x,e.y)}),[p,f]),g=u((function(){return x(h)}),[h]),m=c((function(){var e=t.current,n=Zr(e);e&&n||E(!1),e.scrollOptions.shouldPublishImmediately?h():g()}),[g,h]),v=c((function(e,r){t.current&&E(!1);var i=s.current,a=i.getDroppableRef();a||E(!1);var o=Ur(a),u={ref:a,descriptor:l,env:o,scrollOptions:r};t.current=u;var c=Hr({ref:a,descriptor:l,env:o,windowScroll:e,direction:i.direction,isDropDisabled:i.isDropDisabled,isCombineEnabled:i.isCombineEnabled,shouldClipSubject:!i.ignoreContainerClipping}),d=o.closestScrollable;return d&&(d.setAttribute(Bn.contextId,n.contextId),d.addEventListener("scroll",m,zr(u.scrollOptions))),c}),[n.contextId,l,m,s]),b=c((function(){var e=t.current,n=Zr(e);return e&&n||E(!1),Wr(n)}),[]),y=c((function(){var e=t.current;e||E(!1);var n=Zr(e);t.current=null,n&&(g.cancel(),n.removeAttribute(Bn.contextId),n.removeEventListener("scroll",m,zr(e.scrollOptions)))}),[m,g]),D=c((function(e){var n=t.current;n||E(!1);var r=Zr(n);r||E(!1),r.scrollTop+=e.y,r.scrollLeft+=e.x}),[]),_=u((function(){return{getDimensionAndWatchScroll:v,getScrollWhileDragging:b,dragStopped:y,scroll:D}}),[y,v,b,D]),S=u((function(){return{uniqueId:i,descriptor:l,callbacks:_}}),[_,l,i]);Wn((function(){return d.current=S.descriptor,a.droppable.register(S),function(){t.current&&y(),a.droppable.unregister(S)}}),[_,l,y,S,o,a.droppable]),Wn((function(){t.current&&o.updateDroppableIsEnabled(d.current.id,!e.isDropDisabled)}),[e.isDropDisabled,o]),Wn((function(){t.current&&o.updateDroppableIsCombineEnabled(d.current.id,e.isCombineEnabled)}),[e.isCombineEnabled,o])}({droppableId:l,type:d,mode:f,direction:p,isDropDisabled:g,isCombineEnabled:m,ignoreContainerClipping:h,getDroppableRef:_});var O=r.createElement(ei,{on:e.placeholder,shouldAnimate:e.shouldAnimatePlaceholder},(function(e){var t=e.onClose,i=e.data,a=e.animate;return r.createElement(Qr,{placeholder:i,onClose:t,innerRef:M,animate:a,contextId:n,onTransitionEnd:A})})),N=u((function(){return{innerRef:I,placeholder:O,droppableProps:{"data-rbd-droppable-id":l,"data-rbd-droppable-context-id":n}}}),[n,l,O,I]),C=b?b.dragging.draggableId:null,k=u((function(){return{droppableId:l,type:d,isUsingCloneFor:C}}),[l,C,d]);return r.createElement(Kr.Provider,{value:k},s(N,v),function(){if(!b)return null;var e=b.dragging,t=b.render,n=r.createElement(gi,{draggableId:e.draggableId,index:e.source.index,isClone:!0,isEnabled:!0,shouldRespectForcePress:!1,canDragInteractiveElements:!0},(function(n,r){return t(n,r,e)}));return S.createPortal(n,D())}())}));_i.defaultProps=Di},48918:(e,t,n)=>{"use strict";n.d(t,{A:()=>h});var r=n(58168),i=n(98587),a=n(9950),o=n(11942),s=n.n(o),l=n(48738),u=n.n(l),c=n(44208),d=["className","cssModule","tag","size"],f={tag:c.Wx,size:s().string,className:s().string,cssModule:s().object},p=function(e){var t=e.className,n=e.cssModule,o=e.tag,s=e.size,l=(0,i.A)(e,d),f=(0,c.qO)(u()(t,"input-group",s?"input-group-"+s:null),n);return a.createElement(o,(0,r.A)({},l,{className:f}))};p.propTypes=f,p.defaultProps={tag:"div"};const h=p},59051:function(e,t,n){(e=n.nmd(e)).exports=function(){"use strict";var t,n;function r(){return t.apply(null,arguments)}function i(e){t=e}function a(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function o(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function s(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function l(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(s(e,t))return!1;return!0}function u(e){return void 0===e}function c(e){return"number"===typeof e||"[object Number]"===Object.prototype.toString.call(e)}function d(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function f(e,t){var n,r=[],i=e.length;for(n=0;n<i;++n)r.push(t(e[n],n));return r}function p(e,t){for(var n in t)s(t,n)&&(e[n]=t[n]);return s(t,"toString")&&(e.toString=t.toString),s(t,"valueOf")&&(e.valueOf=t.valueOf),e}function h(e,t,n,r){return Zn(e,t,n,r,!0).utc()}function g(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function m(e){return null==e._pf&&(e._pf=g()),e._pf}function v(e){var t=null,r=!1,i=e._d&&!isNaN(e._d.getTime());return i&&(t=m(e),r=n.call(t.parsedDateParts,(function(e){return null!=e})),i=t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&r),e._strict&&(i=i&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour)),null!=Object.isFrozen&&Object.isFrozen(e)?i:(e._isValid=i,e._isValid)}function b(e){var t=h(NaN);return null!=e?p(m(t),e):m(t).userInvalidated=!0,t}n=Array.prototype.some?Array.prototype.some:function(e){var t,n=Object(this),r=n.length>>>0;for(t=0;t<r;t++)if(t in n&&e.call(this,n[t],t,n))return!0;return!1};var y=r.momentProperties=[],D=!1;function _(e,t){var n,r,i,a=y.length;if(u(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),u(t._i)||(e._i=t._i),u(t._f)||(e._f=t._f),u(t._l)||(e._l=t._l),u(t._strict)||(e._strict=t._strict),u(t._tzm)||(e._tzm=t._tzm),u(t._isUTC)||(e._isUTC=t._isUTC),u(t._offset)||(e._offset=t._offset),u(t._pf)||(e._pf=m(t)),u(t._locale)||(e._locale=t._locale),a>0)for(n=0;n<a;n++)u(i=t[r=y[n]])||(e[r]=i);return e}function w(e){_(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===D&&(D=!0,r.updateOffset(this),D=!1)}function x(e){return e instanceof w||null!=e&&null!=e._isAMomentObject}function S(e){!1===r.suppressDeprecationWarnings&&"undefined"!==typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function I(e,t){var n=!0;return p((function(){if(null!=r.deprecationHandler&&r.deprecationHandler(null,e),n){var i,a,o,l=[],u=arguments.length;for(a=0;a<u;a++){if(i="","object"===typeof arguments[a]){for(o in i+="\n["+a+"] ",arguments[0])s(arguments[0],o)&&(i+=o+": "+arguments[0][o]+", ");i=i.slice(0,-2)}else i=arguments[a];l.push(i)}S(e+"\nArguments: "+Array.prototype.slice.call(l).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)}),t)}var M,A={};function O(e,t){null!=r.deprecationHandler&&r.deprecationHandler(e,t),A[e]||(S(t),A[e]=!0)}function N(e){return"undefined"!==typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function C(e){var t,n;for(n in e)s(e,n)&&(N(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function E(e,t){var n,r=p({},e);for(n in t)s(t,n)&&(o(e[n])&&o(t[n])?(r[n]={},p(r[n],e[n]),p(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)s(e,n)&&!s(t,n)&&o(e[n])&&(r[n]=p({},r[n]));return r}function k(e){null!=e&&this.set(e)}r.suppressDeprecationWarnings=!1,r.deprecationHandler=null,M=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)s(e,t)&&n.push(t);return n};var T={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function R(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return N(r)?r.call(t,n):r}function P(e,t,n){var r=""+Math.abs(e),i=t-r.length;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}var Y=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,B=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,L={},G={};function W(e,t,n,r){var i=r;"string"===typeof r&&(i=function(){return this[r]()}),e&&(G[e]=i),t&&(G[t[0]]=function(){return P(i.apply(this,arguments),t[1],t[2])}),n&&(G[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function F(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function U(e){var t,n,r=e.match(Y);for(t=0,n=r.length;t<n;t++)G[r[t]]?r[t]=G[r[t]]:r[t]=F(r[t]);return function(t){var i,a="";for(i=0;i<n;i++)a+=N(r[i])?r[i].call(t,e):r[i];return a}}function H(e,t){return e.isValid()?(t=V(t,e.localeData()),L[t]=L[t]||U(t),L[t](e)):e.localeData().invalidDate()}function V(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(B.lastIndex=0;n>=0&&B.test(e);)e=e.replace(B,r),B.lastIndex=0,n-=1;return e}var j={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function z(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(Y).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])}var q="Invalid date";function Z(){return this._invalidDate}var X="%d",J=/\d{1,2}/;function $(e){return this._ordinal.replace("%d",e)}var Q={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function K(e,t,n,r){var i=this._relativeTime[n];return N(i)?i(e,t,n,r):i.replace(/%d/i,e)}function ee(e,t){var n=this._relativeTime[e>0?"future":"past"];return N(n)?n(t):n.replace(/%s/i,t)}var te={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function ne(e){return"string"===typeof e?te[e]||te[e.toLowerCase()]:void 0}function re(e){var t,n,r={};for(n in e)s(e,n)&&(t=ne(n))&&(r[t]=e[n]);return r}var ie={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function ae(e){var t,n=[];for(t in e)s(e,t)&&n.push({unit:t,priority:ie[t]});return n.sort((function(e,t){return e.priority-t.priority})),n}var oe,se=/\d/,le=/\d\d/,ue=/\d{3}/,ce=/\d{4}/,de=/[+-]?\d{6}/,fe=/\d\d?/,pe=/\d\d\d\d?/,he=/\d\d\d\d\d\d?/,ge=/\d{1,3}/,me=/\d{1,4}/,ve=/[+-]?\d{1,6}/,be=/\d+/,ye=/[+-]?\d+/,De=/Z|[+-]\d\d:?\d\d/gi,_e=/Z|[+-]\d\d(?::?\d\d)?/gi,we=/[+-]?\d+(\.\d{1,3})?/,xe=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,Se=/^[1-9]\d?/,Ie=/^([1-9]\d|\d)/;function Me(e,t,n){oe[e]=N(t)?t:function(e,r){return e&&n?n:t}}function Ae(e,t){return s(oe,e)?oe[e](t._strict,t._locale):new RegExp(Oe(e))}function Oe(e){return Ne(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,r,i){return t||n||r||i})))}function Ne(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function Ce(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function Ee(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=Ce(t)),n}oe={};var ke={};function Te(e,t){var n,r,i=t;for("string"===typeof e&&(e=[e]),c(t)&&(i=function(e,n){n[t]=Ee(e)}),r=e.length,n=0;n<r;n++)ke[e[n]]=i}function Re(e,t){Te(e,(function(e,n,r,i){r._w=r._w||{},t(e,r._w,r,i)}))}function Pe(e,t,n){null!=t&&s(ke,e)&&ke[e](t,n._a,n,e)}function Ye(e){return e%4===0&&e%100!==0||e%400===0}var Be=0,Le=1,Ge=2,We=3,Fe=4,Ue=5,He=6,Ve=7,je=8;function ze(e){return Ye(e)?366:365}W("Y",0,0,(function(){var e=this.year();return e<=9999?P(e,4):"+"+e})),W(0,["YY",2],0,(function(){return this.year()%100})),W(0,["YYYY",4],0,"year"),W(0,["YYYYY",5],0,"year"),W(0,["YYYYYY",6,!0],0,"year"),Me("Y",ye),Me("YY",fe,le),Me("YYYY",me,ce),Me("YYYYY",ve,de),Me("YYYYYY",ve,de),Te(["YYYYY","YYYYYY"],Be),Te("YYYY",(function(e,t){t[Be]=2===e.length?r.parseTwoDigitYear(e):Ee(e)})),Te("YY",(function(e,t){t[Be]=r.parseTwoDigitYear(e)})),Te("Y",(function(e,t){t[Be]=parseInt(e,10)})),r.parseTwoDigitYear=function(e){return Ee(e)+(Ee(e)>68?1900:2e3)};var qe,Ze=Je("FullYear",!0);function Xe(){return Ye(this.year())}function Je(e,t){return function(n){return null!=n?(Qe(this,e,n),r.updateOffset(this,t),this):$e(this,e)}}function $e(e,t){if(!e.isValid())return NaN;var n=e._d,r=e._isUTC;switch(t){case"Milliseconds":return r?n.getUTCMilliseconds():n.getMilliseconds();case"Seconds":return r?n.getUTCSeconds():n.getSeconds();case"Minutes":return r?n.getUTCMinutes():n.getMinutes();case"Hours":return r?n.getUTCHours():n.getHours();case"Date":return r?n.getUTCDate():n.getDate();case"Day":return r?n.getUTCDay():n.getDay();case"Month":return r?n.getUTCMonth():n.getMonth();case"FullYear":return r?n.getUTCFullYear():n.getFullYear();default:return NaN}}function Qe(e,t,n){var r,i,a,o,s;if(e.isValid()&&!isNaN(n)){switch(r=e._d,i=e._isUTC,t){case"Milliseconds":return void(i?r.setUTCMilliseconds(n):r.setMilliseconds(n));case"Seconds":return void(i?r.setUTCSeconds(n):r.setSeconds(n));case"Minutes":return void(i?r.setUTCMinutes(n):r.setMinutes(n));case"Hours":return void(i?r.setUTCHours(n):r.setHours(n));case"Date":return void(i?r.setUTCDate(n):r.setDate(n));case"FullYear":break;default:return}a=n,o=e.month(),s=29!==(s=e.date())||1!==o||Ye(a)?s:28,i?r.setUTCFullYear(a,o,s):r.setFullYear(a,o,s)}}function Ke(e){return N(this[e=ne(e)])?this[e]():this}function et(e,t){if("object"===typeof e){var n,r=ae(e=re(e)),i=r.length;for(n=0;n<i;n++)this[r[n].unit](e[r[n].unit])}else if(N(this[e=ne(e)]))return this[e](t);return this}function tt(e,t){return(e%t+t)%t}function nt(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=tt(t,12);return e+=(t-n)/12,1===n?Ye(e)?29:28:31-n%7%2}qe=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},W("M",["MM",2],"Mo",(function(){return this.month()+1})),W("MMM",0,0,(function(e){return this.localeData().monthsShort(this,e)})),W("MMMM",0,0,(function(e){return this.localeData().months(this,e)})),Me("M",fe,Se),Me("MM",fe,le),Me("MMM",(function(e,t){return t.monthsShortRegex(e)})),Me("MMMM",(function(e,t){return t.monthsRegex(e)})),Te(["M","MM"],(function(e,t){t[Le]=Ee(e)-1})),Te(["MMM","MMMM"],(function(e,t,n,r){var i=n._locale.monthsParse(e,r,n._strict);null!=i?t[Le]=i:m(n).invalidMonth=e}));var rt="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),it="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),at=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,ot=xe,st=xe;function lt(e,t){return e?a(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||at).test(t)?"format":"standalone"][e.month()]:a(this._months)?this._months:this._months.standalone}function ut(e,t){return e?a(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[at.test(t)?"format":"standalone"][e.month()]:a(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function ct(e,t,n){var r,i,a,o=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)a=h([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(a,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(i=qe.call(this._shortMonthsParse,o))?i:null:-1!==(i=qe.call(this._longMonthsParse,o))?i:null:"MMM"===t?-1!==(i=qe.call(this._shortMonthsParse,o))||-1!==(i=qe.call(this._longMonthsParse,o))?i:null:-1!==(i=qe.call(this._longMonthsParse,o))||-1!==(i=qe.call(this._shortMonthsParse,o))?i:null}function dt(e,t,n){var r,i,a;if(this._monthsParseExact)return ct.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(i=h([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(a="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(a.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}}function ft(e,t){if(!e.isValid())return e;if("string"===typeof t)if(/^\d+$/.test(t))t=Ee(t);else if(!c(t=e.localeData().monthsParse(t)))return e;var n=t,r=e.date();return r=r<29?r:Math.min(r,nt(e.year(),n)),e._isUTC?e._d.setUTCMonth(n,r):e._d.setMonth(n,r),e}function pt(e){return null!=e?(ft(this,e),r.updateOffset(this,!0),this):$e(this,"Month")}function ht(){return nt(this.year(),this.month())}function gt(e){return this._monthsParseExact?(s(this,"_monthsRegex")||vt.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(s(this,"_monthsShortRegex")||(this._monthsShortRegex=ot),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function mt(e){return this._monthsParseExact?(s(this,"_monthsRegex")||vt.call(this),e?this._monthsStrictRegex:this._monthsRegex):(s(this,"_monthsRegex")||(this._monthsRegex=st),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function vt(){function e(e,t){return t.length-e.length}var t,n,r,i,a=[],o=[],s=[];for(t=0;t<12;t++)n=h([2e3,t]),r=Ne(this.monthsShort(n,"")),i=Ne(this.months(n,"")),a.push(r),o.push(i),s.push(i),s.push(r);a.sort(e),o.sort(e),s.sort(e),this._monthsRegex=new RegExp("^("+s.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+a.join("|")+")","i")}function bt(e,t,n,r,i,a,o){var s;return e<100&&e>=0?(s=new Date(e+400,t,n,r,i,a,o),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,r,i,a,o),s}function yt(e){var t,n;return e<100&&e>=0?((n=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Dt(e,t,n){var r=7+t-n;return-(7+yt(e,0,r).getUTCDay()-t)%7+r-1}function _t(e,t,n,r,i){var a,o,s=1+7*(t-1)+(7+n-r)%7+Dt(e,r,i);return s<=0?o=ze(a=e-1)+s:s>ze(e)?(a=e+1,o=s-ze(e)):(a=e,o=s),{year:a,dayOfYear:o}}function wt(e,t,n){var r,i,a=Dt(e.year(),t,n),o=Math.floor((e.dayOfYear()-a-1)/7)+1;return o<1?r=o+xt(i=e.year()-1,t,n):o>xt(e.year(),t,n)?(r=o-xt(e.year(),t,n),i=e.year()+1):(i=e.year(),r=o),{week:r,year:i}}function xt(e,t,n){var r=Dt(e,t,n),i=Dt(e+1,t,n);return(ze(e)-r+i)/7}function St(e){return wt(e,this._week.dow,this._week.doy).week}W("w",["ww",2],"wo","week"),W("W",["WW",2],"Wo","isoWeek"),Me("w",fe,Se),Me("ww",fe,le),Me("W",fe,Se),Me("WW",fe,le),Re(["w","ww","W","WW"],(function(e,t,n,r){t[r.substr(0,1)]=Ee(e)}));var It={dow:0,doy:6};function Mt(){return this._week.dow}function At(){return this._week.doy}function Ot(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function Nt(e){var t=wt(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function Ct(e,t){return"string"!==typeof e?e:isNaN(e)?"number"===typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}function Et(e,t){return"string"===typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function kt(e,t){return e.slice(t,7).concat(e.slice(0,t))}W("d",0,"do","day"),W("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),W("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),W("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),W("e",0,0,"weekday"),W("E",0,0,"isoWeekday"),Me("d",fe),Me("e",fe),Me("E",fe),Me("dd",(function(e,t){return t.weekdaysMinRegex(e)})),Me("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),Me("dddd",(function(e,t){return t.weekdaysRegex(e)})),Re(["dd","ddd","dddd"],(function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);null!=i?t.d=i:m(n).invalidWeekday=e})),Re(["d","e","E"],(function(e,t,n,r){t[r]=Ee(e)}));var Tt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Rt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Pt="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Yt=xe,Bt=xe,Lt=xe;function Gt(e,t){var n=a(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?kt(n,this._week.dow):e?n[e.day()]:n}function Wt(e){return!0===e?kt(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Ft(e){return!0===e?kt(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Ut(e,t,n){var r,i,a,o=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)a=h([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(a,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(i=qe.call(this._weekdaysParse,o))?i:null:"ddd"===t?-1!==(i=qe.call(this._shortWeekdaysParse,o))?i:null:-1!==(i=qe.call(this._minWeekdaysParse,o))?i:null:"dddd"===t?-1!==(i=qe.call(this._weekdaysParse,o))||-1!==(i=qe.call(this._shortWeekdaysParse,o))||-1!==(i=qe.call(this._minWeekdaysParse,o))?i:null:"ddd"===t?-1!==(i=qe.call(this._shortWeekdaysParse,o))||-1!==(i=qe.call(this._weekdaysParse,o))||-1!==(i=qe.call(this._minWeekdaysParse,o))?i:null:-1!==(i=qe.call(this._minWeekdaysParse,o))||-1!==(i=qe.call(this._weekdaysParse,o))||-1!==(i=qe.call(this._shortWeekdaysParse,o))?i:null}function Ht(e,t,n){var r,i,a;if(this._weekdaysParseExact)return Ut.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=h([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(a="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(a.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}}function Vt(e){if(!this.isValid())return null!=e?this:NaN;var t=$e(this,"Day");return null!=e?(e=Ct(e,this.localeData()),this.add(e-t,"d")):t}function jt(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")}function zt(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=Et(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function qt(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||Jt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(s(this,"_weekdaysRegex")||(this._weekdaysRegex=Yt),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Zt(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||Jt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(s(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Bt),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Xt(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||Jt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(s(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Lt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Jt(){function e(e,t){return t.length-e.length}var t,n,r,i,a,o=[],s=[],l=[],u=[];for(t=0;t<7;t++)n=h([2e3,1]).day(t),r=Ne(this.weekdaysMin(n,"")),i=Ne(this.weekdaysShort(n,"")),a=Ne(this.weekdays(n,"")),o.push(r),s.push(i),l.push(a),u.push(r),u.push(i),u.push(a);o.sort(e),s.sort(e),l.sort(e),u.sort(e),this._weekdaysRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+o.join("|")+")","i")}function $t(){return this.hours()%12||12}function Qt(){return this.hours()||24}function Kt(e,t){W(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function en(e,t){return t._meridiemParse}function tn(e){return"p"===(e+"").toLowerCase().charAt(0)}W("H",["HH",2],0,"hour"),W("h",["hh",2],0,$t),W("k",["kk",2],0,Qt),W("hmm",0,0,(function(){return""+$t.apply(this)+P(this.minutes(),2)})),W("hmmss",0,0,(function(){return""+$t.apply(this)+P(this.minutes(),2)+P(this.seconds(),2)})),W("Hmm",0,0,(function(){return""+this.hours()+P(this.minutes(),2)})),W("Hmmss",0,0,(function(){return""+this.hours()+P(this.minutes(),2)+P(this.seconds(),2)})),Kt("a",!0),Kt("A",!1),Me("a",en),Me("A",en),Me("H",fe,Ie),Me("h",fe,Se),Me("k",fe,Se),Me("HH",fe,le),Me("hh",fe,le),Me("kk",fe,le),Me("hmm",pe),Me("hmmss",he),Me("Hmm",pe),Me("Hmmss",he),Te(["H","HH"],We),Te(["k","kk"],(function(e,t,n){var r=Ee(e);t[We]=24===r?0:r})),Te(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),Te(["h","hh"],(function(e,t,n){t[We]=Ee(e),m(n).bigHour=!0})),Te("hmm",(function(e,t,n){var r=e.length-2;t[We]=Ee(e.substr(0,r)),t[Fe]=Ee(e.substr(r)),m(n).bigHour=!0})),Te("hmmss",(function(e,t,n){var r=e.length-4,i=e.length-2;t[We]=Ee(e.substr(0,r)),t[Fe]=Ee(e.substr(r,2)),t[Ue]=Ee(e.substr(i)),m(n).bigHour=!0})),Te("Hmm",(function(e,t,n){var r=e.length-2;t[We]=Ee(e.substr(0,r)),t[Fe]=Ee(e.substr(r))})),Te("Hmmss",(function(e,t,n){var r=e.length-4,i=e.length-2;t[We]=Ee(e.substr(0,r)),t[Fe]=Ee(e.substr(r,2)),t[Ue]=Ee(e.substr(i))}));var nn=/[ap]\.?m?\.?/i,rn=Je("Hours",!0);function an(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}var on,sn={calendar:T,longDateFormat:j,invalidDate:q,ordinal:X,dayOfMonthOrdinalParse:J,relativeTime:Q,months:rt,monthsShort:it,week:It,weekdays:Tt,weekdaysMin:Pt,weekdaysShort:Rt,meridiemParse:nn},ln={},un={};function cn(e,t){var n,r=Math.min(e.length,t.length);for(n=0;n<r;n+=1)if(e[n]!==t[n])return n;return r}function dn(e){return e?e.toLowerCase().replace("_","-"):e}function fn(e){for(var t,n,r,i,a=0;a<e.length;){for(t=(i=dn(e[a]).split("-")).length,n=(n=dn(e[a+1]))?n.split("-"):null;t>0;){if(r=hn(i.slice(0,t).join("-")))return r;if(n&&n.length>=t&&cn(i,n)>=t-1)break;t--}a++}return on}function pn(e){return!(!e||!e.match("^[^/\\\\]*$"))}function hn(t){var n=null;if(void 0===ln[t]&&e&&e.exports&&pn(t))try{n=on._abbr,Object(function(){var e=new Error("Cannot find module 'undefined'");throw e.code="MODULE_NOT_FOUND",e}()),gn(n)}catch(r){ln[t]=null}return ln[t]}function gn(e,t){var n;return e&&((n=u(t)?bn(e):mn(e,t))?on=n:"undefined"!==typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),on._abbr}function mn(e,t){if(null!==t){var n,r=sn;if(t.abbr=e,null!=ln[e])O("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=ln[e]._config;else if(null!=t.parentLocale)if(null!=ln[t.parentLocale])r=ln[t.parentLocale]._config;else{if(null==(n=hn(t.parentLocale)))return un[t.parentLocale]||(un[t.parentLocale]=[]),un[t.parentLocale].push({name:e,config:t}),null;r=n._config}return ln[e]=new k(E(r,t)),un[e]&&un[e].forEach((function(e){mn(e.name,e.config)})),gn(e),ln[e]}return delete ln[e],null}function vn(e,t){if(null!=t){var n,r,i=sn;null!=ln[e]&&null!=ln[e].parentLocale?ln[e].set(E(ln[e]._config,t)):(null!=(r=hn(e))&&(i=r._config),t=E(i,t),null==r&&(t.abbr=e),(n=new k(t)).parentLocale=ln[e],ln[e]=n),gn(e)}else null!=ln[e]&&(null!=ln[e].parentLocale?(ln[e]=ln[e].parentLocale,e===gn()&&gn(e)):null!=ln[e]&&delete ln[e]);return ln[e]}function bn(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return on;if(!a(e)){if(t=hn(e))return t;e=[e]}return fn(e)}function yn(){return M(ln)}function Dn(e){var t,n=e._a;return n&&-2===m(e).overflow&&(t=n[Le]<0||n[Le]>11?Le:n[Ge]<1||n[Ge]>nt(n[Be],n[Le])?Ge:n[We]<0||n[We]>24||24===n[We]&&(0!==n[Fe]||0!==n[Ue]||0!==n[He])?We:n[Fe]<0||n[Fe]>59?Fe:n[Ue]<0||n[Ue]>59?Ue:n[He]<0||n[He]>999?He:-1,m(e)._overflowDayOfYear&&(t<Be||t>Ge)&&(t=Ge),m(e)._overflowWeeks&&-1===t&&(t=Ve),m(e)._overflowWeekday&&-1===t&&(t=je),m(e).overflow=t),e}var _n=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,wn=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,xn=/Z|[+-]\d\d(?::?\d\d)?/,Sn=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],In=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Mn=/^\/?Date\((-?\d+)/i,An=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,On={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Nn(e){var t,n,r,i,a,o,s=e._i,l=_n.exec(s)||wn.exec(s),u=Sn.length,c=In.length;if(l){for(m(e).iso=!0,t=0,n=u;t<n;t++)if(Sn[t][1].exec(l[1])){i=Sn[t][0],r=!1!==Sn[t][2];break}if(null==i)return void(e._isValid=!1);if(l[3]){for(t=0,n=c;t<n;t++)if(In[t][1].exec(l[3])){a=(l[2]||" ")+In[t][0];break}if(null==a)return void(e._isValid=!1)}if(!r&&null!=a)return void(e._isValid=!1);if(l[4]){if(!xn.exec(l[4]))return void(e._isValid=!1);o="Z"}e._f=i+(a||"")+(o||""),Fn(e)}else e._isValid=!1}function Cn(e,t,n,r,i,a){var o=[En(e),it.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(i,10)];return a&&o.push(parseInt(a,10)),o}function En(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function kn(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Tn(e,t,n){return!e||Rt.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(m(n).weekdayMismatch=!0,n._isValid=!1,!1)}function Rn(e,t,n){if(e)return On[e];if(t)return 0;var r=parseInt(n,10),i=r%100;return(r-i)/100*60+i}function Pn(e){var t,n=An.exec(kn(e._i));if(n){if(t=Cn(n[4],n[3],n[2],n[5],n[6],n[7]),!Tn(n[1],t,e))return;e._a=t,e._tzm=Rn(n[8],n[9],n[10]),e._d=yt.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),m(e).rfc2822=!0}else e._isValid=!1}function Yn(e){var t=Mn.exec(e._i);null===t?(Nn(e),!1===e._isValid&&(delete e._isValid,Pn(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:r.createFromInputFallback(e)))):e._d=new Date(+t[1])}function Bn(e,t,n){return null!=e?e:null!=t?t:n}function Ln(e){var t=new Date(r.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function Gn(e){var t,n,r,i,a,o=[];if(!e._d){for(r=Ln(e),e._w&&null==e._a[Ge]&&null==e._a[Le]&&Wn(e),null!=e._dayOfYear&&(a=Bn(e._a[Be],r[Be]),(e._dayOfYear>ze(a)||0===e._dayOfYear)&&(m(e)._overflowDayOfYear=!0),n=yt(a,0,e._dayOfYear),e._a[Le]=n.getUTCMonth(),e._a[Ge]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=o[t]=r[t];for(;t<7;t++)e._a[t]=o[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[We]&&0===e._a[Fe]&&0===e._a[Ue]&&0===e._a[He]&&(e._nextDay=!0,e._a[We]=0),e._d=(e._useUTC?yt:bt).apply(null,o),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[We]=24),e._w&&"undefined"!==typeof e._w.d&&e._w.d!==i&&(m(e).weekdayMismatch=!0)}}function Wn(e){var t,n,r,i,a,o,s,l,u;null!=(t=e._w).GG||null!=t.W||null!=t.E?(a=1,o=4,n=Bn(t.GG,e._a[Be],wt(Xn(),1,4).year),r=Bn(t.W,1),((i=Bn(t.E,1))<1||i>7)&&(l=!0)):(a=e._locale._week.dow,o=e._locale._week.doy,u=wt(Xn(),a,o),n=Bn(t.gg,e._a[Be],u.year),r=Bn(t.w,u.week),null!=t.d?((i=t.d)<0||i>6)&&(l=!0):null!=t.e?(i=t.e+a,(t.e<0||t.e>6)&&(l=!0)):i=a),r<1||r>xt(n,a,o)?m(e)._overflowWeeks=!0:null!=l?m(e)._overflowWeekday=!0:(s=_t(n,r,i,a,o),e._a[Be]=s.year,e._dayOfYear=s.dayOfYear)}function Fn(e){if(e._f!==r.ISO_8601)if(e._f!==r.RFC_2822){e._a=[],m(e).empty=!0;var t,n,i,a,o,s,l,u=""+e._i,c=u.length,d=0;for(l=(i=V(e._f,e._locale).match(Y)||[]).length,t=0;t<l;t++)a=i[t],(n=(u.match(Ae(a,e))||[])[0])&&((o=u.substr(0,u.indexOf(n))).length>0&&m(e).unusedInput.push(o),u=u.slice(u.indexOf(n)+n.length),d+=n.length),G[a]?(n?m(e).empty=!1:m(e).unusedTokens.push(a),Pe(a,n,e)):e._strict&&!n&&m(e).unusedTokens.push(a);m(e).charsLeftOver=c-d,u.length>0&&m(e).unusedInput.push(u),e._a[We]<=12&&!0===m(e).bigHour&&e._a[We]>0&&(m(e).bigHour=void 0),m(e).parsedDateParts=e._a.slice(0),m(e).meridiem=e._meridiem,e._a[We]=Un(e._locale,e._a[We],e._meridiem),null!==(s=m(e).era)&&(e._a[Be]=e._locale.erasConvertYear(s,e._a[Be])),Gn(e),Dn(e)}else Pn(e);else Nn(e)}function Un(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((r=e.isPM(n))&&t<12&&(t+=12),r||12!==t||(t=0),t):t}function Hn(e){var t,n,r,i,a,o,s=!1,l=e._f.length;if(0===l)return m(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;i<l;i++)a=0,o=!1,t=_({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],Fn(t),v(t)&&(o=!0),a+=m(t).charsLeftOver,a+=10*m(t).unusedTokens.length,m(t).score=a,s?a<r&&(r=a,n=t):(null==r||a<r||o)&&(r=a,n=t,o&&(s=!0));p(e,n||t)}function Vn(e){if(!e._d){var t=re(e._i),n=void 0===t.day?t.date:t.day;e._a=f([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],(function(e){return e&&parseInt(e,10)})),Gn(e)}}function jn(e){var t=new w(Dn(zn(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function zn(e){var t=e._i,n=e._f;return e._locale=e._locale||bn(e._l),null===t||void 0===n&&""===t?b({nullInput:!0}):("string"===typeof t&&(e._i=t=e._locale.preparse(t)),x(t)?new w(Dn(t)):(d(t)?e._d=t:a(n)?Hn(e):n?Fn(e):qn(e),v(e)||(e._d=null),e))}function qn(e){var t=e._i;u(t)?e._d=new Date(r.now()):d(t)?e._d=new Date(t.valueOf()):"string"===typeof t?Yn(e):a(t)?(e._a=f(t.slice(0),(function(e){return parseInt(e,10)})),Gn(e)):o(t)?Vn(e):c(t)?e._d=new Date(t):r.createFromInputFallback(e)}function Zn(e,t,n,r,i){var s={};return!0!==t&&!1!==t||(r=t,t=void 0),!0!==n&&!1!==n||(r=n,n=void 0),(o(e)&&l(e)||a(e)&&0===e.length)&&(e=void 0),s._isAMomentObject=!0,s._useUTC=s._isUTC=i,s._l=n,s._i=e,s._f=t,s._strict=r,jn(s)}function Xn(e,t,n,r){return Zn(e,t,n,r,!1)}r.createFromInputFallback=I("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",(function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))})),r.ISO_8601=function(){},r.RFC_2822=function(){};var Jn=I("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Xn.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:b()})),$n=I("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Xn.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:b()}));function Qn(e,t){var n,r;if(1===t.length&&a(t[0])&&(t=t[0]),!t.length)return Xn();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}function Kn(){return Qn("isBefore",[].slice.call(arguments,0))}function er(){return Qn("isAfter",[].slice.call(arguments,0))}var tr=function(){return Date.now?Date.now():+new Date},nr=["year","quarter","month","week","day","hour","minute","second","millisecond"];function rr(e){var t,n,r=!1,i=nr.length;for(t in e)if(s(e,t)&&(-1===qe.call(nr,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<i;++n)if(e[nr[n]]){if(r)return!1;parseFloat(e[nr[n]])!==Ee(e[nr[n]])&&(r=!0)}return!0}function ir(){return this._isValid}function ar(){return Or(NaN)}function or(e){var t=re(e),n=t.year||0,r=t.quarter||0,i=t.month||0,a=t.week||t.isoWeek||0,o=t.day||0,s=t.hour||0,l=t.minute||0,u=t.second||0,c=t.millisecond||0;this._isValid=rr(t),this._milliseconds=+c+1e3*u+6e4*l+1e3*s*60*60,this._days=+o+7*a,this._months=+i+3*r+12*n,this._data={},this._locale=bn(),this._bubble()}function sr(e){return e instanceof or}function lr(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function ur(e,t,n){var r,i=Math.min(e.length,t.length),a=Math.abs(e.length-t.length),o=0;for(r=0;r<i;r++)(n&&e[r]!==t[r]||!n&&Ee(e[r])!==Ee(t[r]))&&o++;return o+a}function cr(e,t){W(e,0,0,(function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+P(~~(e/60),2)+t+P(~~e%60,2)}))}cr("Z",":"),cr("ZZ",""),Me("Z",_e),Me("ZZ",_e),Te(["Z","ZZ"],(function(e,t,n){n._useUTC=!0,n._tzm=fr(_e,e)}));var dr=/([\+\-]|\d\d)/gi;function fr(e,t){var n,r,i=(t||"").match(e);return null===i?null:0===(r=60*(n=((i[i.length-1]||[])+"").match(dr)||["-",0,0])[1]+Ee(n[2]))?0:"+"===n[0]?r:-r}function pr(e,t){var n,i;return t._isUTC?(n=t.clone(),i=(x(e)||d(e)?e.valueOf():Xn(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+i),r.updateOffset(n,!1),n):Xn(e).local()}function hr(e){return-Math.round(e._d.getTimezoneOffset())}function gr(e,t,n){var i,a=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"===typeof e){if(null===(e=fr(_e,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(i=hr(this)),this._offset=e,this._isUTC=!0,null!=i&&this.add(i,"m"),a!==e&&(!t||this._changeInProgress?Tr(this,Or(e-a,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,r.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?a:hr(this)}function mr(e,t){return null!=e?("string"!==typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function vr(e){return this.utcOffset(0,e)}function br(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(hr(this),"m")),this}function yr(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"===typeof this._i){var e=fr(De,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this}function Dr(e){return!!this.isValid()&&(e=e?Xn(e).utcOffset():0,(this.utcOffset()-e)%60===0)}function _r(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function wr(){if(!u(this._isDSTShifted))return this._isDSTShifted;var e,t={};return _(t,this),(t=zn(t))._a?(e=t._isUTC?h(t._a):Xn(t._a),this._isDSTShifted=this.isValid()&&ur(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function xr(){return!!this.isValid()&&!this._isUTC}function Sr(){return!!this.isValid()&&this._isUTC}function Ir(){return!!this.isValid()&&this._isUTC&&0===this._offset}r.updateOffset=function(){};var Mr=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Ar=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Or(e,t){var n,r,i,a=e,o=null;return sr(e)?a={ms:e._milliseconds,d:e._days,M:e._months}:c(e)||!isNaN(+e)?(a={},t?a[t]=+e:a.milliseconds=+e):(o=Mr.exec(e))?(n="-"===o[1]?-1:1,a={y:0,d:Ee(o[Ge])*n,h:Ee(o[We])*n,m:Ee(o[Fe])*n,s:Ee(o[Ue])*n,ms:Ee(lr(1e3*o[He]))*n}):(o=Ar.exec(e))?(n="-"===o[1]?-1:1,a={y:Nr(o[2],n),M:Nr(o[3],n),w:Nr(o[4],n),d:Nr(o[5],n),h:Nr(o[6],n),m:Nr(o[7],n),s:Nr(o[8],n)}):null==a?a={}:"object"===typeof a&&("from"in a||"to"in a)&&(i=Er(Xn(a.from),Xn(a.to)),(a={}).ms=i.milliseconds,a.M=i.months),r=new or(a),sr(e)&&s(e,"_locale")&&(r._locale=e._locale),sr(e)&&s(e,"_isValid")&&(r._isValid=e._isValid),r}function Nr(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Cr(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Er(e,t){var n;return e.isValid()&&t.isValid()?(t=pr(t,e),e.isBefore(t)?n=Cr(e,t):((n=Cr(t,e)).milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function kr(e,t){return function(n,r){var i;return null===r||isNaN(+r)||(O(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=n,n=r,r=i),Tr(this,Or(n,r),e),this}}function Tr(e,t,n,i){var a=t._milliseconds,o=lr(t._days),s=lr(t._months);e.isValid()&&(i=null==i||i,s&&ft(e,$e(e,"Month")+s*n),o&&Qe(e,"Date",$e(e,"Date")+o*n),a&&e._d.setTime(e._d.valueOf()+a*n),i&&r.updateOffset(e,o||s))}Or.fn=or.prototype,Or.invalid=ar;var Rr=kr(1,"add"),Pr=kr(-1,"subtract");function Yr(e){return"string"===typeof e||e instanceof String}function Br(e){return x(e)||d(e)||Yr(e)||c(e)||Gr(e)||Lr(e)||null===e||void 0===e}function Lr(e){var t,n,r=o(e)&&!l(e),i=!1,a=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],u=a.length;for(t=0;t<u;t+=1)n=a[t],i=i||s(e,n);return r&&i}function Gr(e){var t=a(e),n=!1;return t&&(n=0===e.filter((function(t){return!c(t)&&Yr(e)})).length),t&&n}function Wr(e){var t,n,r=o(e)&&!l(e),i=!1,a=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(t=0;t<a.length;t+=1)n=a[t],i=i||s(e,n);return r&&i}function Fr(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function Ur(e,t){1===arguments.length&&(arguments[0]?Br(arguments[0])?(e=arguments[0],t=void 0):Wr(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var n=e||Xn(),i=pr(n,this).startOf("day"),a=r.calendarFormat(this,i)||"sameElse",o=t&&(N(t[a])?t[a].call(this,n):t[a]);return this.format(o||this.localeData().calendar(a,this,Xn(n)))}function Hr(){return new w(this)}function Vr(e,t){var n=x(e)?e:Xn(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=ne(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())}function jr(e,t){var n=x(e)?e:Xn(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=ne(t)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())}function zr(e,t,n,r){var i=x(e)?e:Xn(e),a=x(t)?t:Xn(t);return!!(this.isValid()&&i.isValid()&&a.isValid())&&("("===(r=r||"()")[0]?this.isAfter(i,n):!this.isBefore(i,n))&&(")"===r[1]?this.isBefore(a,n):!this.isAfter(a,n))}function qr(e,t){var n,r=x(e)?e:Xn(e);return!(!this.isValid()||!r.isValid())&&("millisecond"===(t=ne(t)||"millisecond")?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))}function Zr(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function Xr(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function Jr(e,t,n){var r,i,a;if(!this.isValid())return NaN;if(!(r=pr(e,this)).isValid())return NaN;switch(i=6e4*(r.utcOffset()-this.utcOffset()),t=ne(t)){case"year":a=$r(this,r)/12;break;case"month":a=$r(this,r);break;case"quarter":a=$r(this,r)/3;break;case"second":a=(this-r)/1e3;break;case"minute":a=(this-r)/6e4;break;case"hour":a=(this-r)/36e5;break;case"day":a=(this-r-i)/864e5;break;case"week":a=(this-r-i)/6048e5;break;default:a=this-r}return n?a:Ce(a)}function $r(e,t){if(e.date()<t.date())return-$r(t,e);var n=12*(t.year()-e.year())+(t.month()-e.month()),r=e.clone().add(n,"months");return-(n+(t-r<0?(t-r)/(r-e.clone().add(n-1,"months")):(t-r)/(e.clone().add(n+1,"months")-r)))||0}function Qr(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function Kr(e){if(!this.isValid())return null;var t=!0!==e,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?H(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):N(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",H(n,"Z")):H(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function ei(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,n,r,i="moment",a="";return this.isLocal()||(i=0===this.utcOffset()?"moment.utc":"moment.parseZone",a="Z"),e="["+i+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n="-MM-DD[T]HH:mm:ss.SSS",r=a+'[")]',this.format(e+t+n+r)}function ti(e){e||(e=this.isUtc()?r.defaultFormatUtc:r.defaultFormat);var t=H(this,e);return this.localeData().postformat(t)}function ni(e,t){return this.isValid()&&(x(e)&&e.isValid()||Xn(e).isValid())?Or({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function ri(e){return this.from(Xn(),e)}function ii(e,t){return this.isValid()&&(x(e)&&e.isValid()||Xn(e).isValid())?Or({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function ai(e){return this.to(Xn(),e)}function oi(e){var t;return void 0===e?this._locale._abbr:(null!=(t=bn(e))&&(this._locale=t),this)}r.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",r.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var si=I("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(e){return void 0===e?this.localeData():this.locale(e)}));function li(){return this._locale}var ui=1e3,ci=60*ui,di=60*ci,fi=3506328*di;function pi(e,t){return(e%t+t)%t}function hi(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-fi:new Date(e,t,n).valueOf()}function gi(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-fi:Date.UTC(e,t,n)}function mi(e){var t,n;if(void 0===(e=ne(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?gi:hi,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=pi(t+(this._isUTC?0:this.utcOffset()*ci),di);break;case"minute":t=this._d.valueOf(),t-=pi(t,ci);break;case"second":t=this._d.valueOf(),t-=pi(t,ui)}return this._d.setTime(t),r.updateOffset(this,!0),this}function vi(e){var t,n;if(void 0===(e=ne(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?gi:hi,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=di-pi(t+(this._isUTC?0:this.utcOffset()*ci),di)-1;break;case"minute":t=this._d.valueOf(),t+=ci-pi(t,ci)-1;break;case"second":t=this._d.valueOf(),t+=ui-pi(t,ui)-1}return this._d.setTime(t),r.updateOffset(this,!0),this}function bi(){return this._d.valueOf()-6e4*(this._offset||0)}function yi(){return Math.floor(this.valueOf()/1e3)}function Di(){return new Date(this.valueOf())}function _i(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function wi(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function xi(){return this.isValid()?this.toISOString():null}function Si(){return v(this)}function Ii(){return p({},m(this))}function Mi(){return m(this).overflow}function Ai(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Oi(e,t){var n,i,a,o=this._eras||bn("en")._eras;for(n=0,i=o.length;n<i;++n)switch("string"===typeof o[n].since&&(a=r(o[n].since).startOf("day"),o[n].since=a.valueOf()),typeof o[n].until){case"undefined":o[n].until=1/0;break;case"string":a=r(o[n].until).startOf("day").valueOf(),o[n].until=a.valueOf()}return o}function Ni(e,t,n){var r,i,a,o,s,l=this.eras();for(e=e.toUpperCase(),r=0,i=l.length;r<i;++r)if(a=l[r].name.toUpperCase(),o=l[r].abbr.toUpperCase(),s=l[r].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(o===e)return l[r];break;case"NNNN":if(a===e)return l[r];break;case"NNNNN":if(s===e)return l[r]}else if([a,o,s].indexOf(e)>=0)return l[r]}function Ci(e,t){var n=e.since<=e.until?1:-1;return void 0===t?r(e.since).year():r(e.since).year()+(t-e.offset)*n}function Ei(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].name;if(r[e].until<=n&&n<=r[e].since)return r[e].name}return""}function ki(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].narrow;if(r[e].until<=n&&n<=r[e].since)return r[e].narrow}return""}function Ti(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].abbr;if(r[e].until<=n&&n<=r[e].since)return r[e].abbr}return""}function Ri(){var e,t,n,i,a=this.localeData().eras();for(e=0,t=a.length;e<t;++e)if(n=a[e].since<=a[e].until?1:-1,i=this.clone().startOf("day").valueOf(),a[e].since<=i&&i<=a[e].until||a[e].until<=i&&i<=a[e].since)return(this.year()-r(a[e].since).year())*n+a[e].offset;return this.year()}function Pi(e){return s(this,"_erasNameRegex")||Ui.call(this),e?this._erasNameRegex:this._erasRegex}function Yi(e){return s(this,"_erasAbbrRegex")||Ui.call(this),e?this._erasAbbrRegex:this._erasRegex}function Bi(e){return s(this,"_erasNarrowRegex")||Ui.call(this),e?this._erasNarrowRegex:this._erasRegex}function Li(e,t){return t.erasAbbrRegex(e)}function Gi(e,t){return t.erasNameRegex(e)}function Wi(e,t){return t.erasNarrowRegex(e)}function Fi(e,t){return t._eraYearOrdinalRegex||be}function Ui(){var e,t,n,r,i,a=[],o=[],s=[],l=[],u=this.eras();for(e=0,t=u.length;e<t;++e)n=Ne(u[e].name),r=Ne(u[e].abbr),i=Ne(u[e].narrow),o.push(n),a.push(r),s.push(i),l.push(n),l.push(r),l.push(i);this._erasRegex=new RegExp("^("+l.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+o.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+a.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+s.join("|")+")","i")}function Hi(e,t){W(0,[e,e.length],0,t)}function Vi(e){return Ji.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function ji(e){return Ji.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function zi(){return xt(this.year(),1,4)}function qi(){return xt(this.isoWeekYear(),1,4)}function Zi(){var e=this.localeData()._week;return xt(this.year(),e.dow,e.doy)}function Xi(){var e=this.localeData()._week;return xt(this.weekYear(),e.dow,e.doy)}function Ji(e,t,n,r,i){var a;return null==e?wt(this,r,i).year:(t>(a=xt(e,r,i))&&(t=a),$i.call(this,e,t,n,r,i))}function $i(e,t,n,r,i){var a=_t(e,t,n,r,i),o=yt(a.year,0,a.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}function Qi(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}W("N",0,0,"eraAbbr"),W("NN",0,0,"eraAbbr"),W("NNN",0,0,"eraAbbr"),W("NNNN",0,0,"eraName"),W("NNNNN",0,0,"eraNarrow"),W("y",["y",1],"yo","eraYear"),W("y",["yy",2],0,"eraYear"),W("y",["yyy",3],0,"eraYear"),W("y",["yyyy",4],0,"eraYear"),Me("N",Li),Me("NN",Li),Me("NNN",Li),Me("NNNN",Gi),Me("NNNNN",Wi),Te(["N","NN","NNN","NNNN","NNNNN"],(function(e,t,n,r){var i=n._locale.erasParse(e,r,n._strict);i?m(n).era=i:m(n).invalidEra=e})),Me("y",be),Me("yy",be),Me("yyy",be),Me("yyyy",be),Me("yo",Fi),Te(["y","yy","yyy","yyyy"],Be),Te(["yo"],(function(e,t,n,r){var i;n._locale._eraYearOrdinalRegex&&(i=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[Be]=n._locale.eraYearOrdinalParse(e,i):t[Be]=parseInt(e,10)})),W(0,["gg",2],0,(function(){return this.weekYear()%100})),W(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),Hi("gggg","weekYear"),Hi("ggggg","weekYear"),Hi("GGGG","isoWeekYear"),Hi("GGGGG","isoWeekYear"),Me("G",ye),Me("g",ye),Me("GG",fe,le),Me("gg",fe,le),Me("GGGG",me,ce),Me("gggg",me,ce),Me("GGGGG",ve,de),Me("ggggg",ve,de),Re(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,r){t[r.substr(0,2)]=Ee(e)})),Re(["gg","GG"],(function(e,t,n,i){t[i]=r.parseTwoDigitYear(e)})),W("Q",0,"Qo","quarter"),Me("Q",se),Te("Q",(function(e,t){t[Le]=3*(Ee(e)-1)})),W("D",["DD",2],"Do","date"),Me("D",fe,Se),Me("DD",fe,le),Me("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),Te(["D","DD"],Ge),Te("Do",(function(e,t){t[Ge]=Ee(e.match(fe)[0])}));var Ki=Je("Date",!0);function ea(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")}W("DDD",["DDDD",3],"DDDo","dayOfYear"),Me("DDD",ge),Me("DDDD",ue),Te(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=Ee(e)})),W("m",["mm",2],0,"minute"),Me("m",fe,Ie),Me("mm",fe,le),Te(["m","mm"],Fe);var ta=Je("Minutes",!1);W("s",["ss",2],0,"second"),Me("s",fe,Ie),Me("ss",fe,le),Te(["s","ss"],Ue);var na,ra,ia=Je("Seconds",!1);for(W("S",0,0,(function(){return~~(this.millisecond()/100)})),W(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),W(0,["SSS",3],0,"millisecond"),W(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),W(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),W(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),W(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),W(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),W(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),Me("S",ge,se),Me("SS",ge,le),Me("SSS",ge,ue),na="SSSS";na.length<=9;na+="S")Me(na,be);function aa(e,t){t[He]=Ee(1e3*("0."+e))}for(na="S";na.length<=9;na+="S")Te(na,aa);function oa(){return this._isUTC?"UTC":""}function sa(){return this._isUTC?"Coordinated Universal Time":""}ra=Je("Milliseconds",!1),W("z",0,0,"zoneAbbr"),W("zz",0,0,"zoneName");var la=w.prototype;function ua(e){return Xn(1e3*e)}function ca(){return Xn.apply(null,arguments).parseZone()}function da(e){return e}la.add=Rr,la.calendar=Ur,la.clone=Hr,la.diff=Jr,la.endOf=vi,la.format=ti,la.from=ni,la.fromNow=ri,la.to=ii,la.toNow=ai,la.get=Ke,la.invalidAt=Mi,la.isAfter=Vr,la.isBefore=jr,la.isBetween=zr,la.isSame=qr,la.isSameOrAfter=Zr,la.isSameOrBefore=Xr,la.isValid=Si,la.lang=si,la.locale=oi,la.localeData=li,la.max=$n,la.min=Jn,la.parsingFlags=Ii,la.set=et,la.startOf=mi,la.subtract=Pr,la.toArray=_i,la.toObject=wi,la.toDate=Di,la.toISOString=Kr,la.inspect=ei,"undefined"!==typeof Symbol&&null!=Symbol.for&&(la[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),la.toJSON=xi,la.toString=Qr,la.unix=yi,la.valueOf=bi,la.creationData=Ai,la.eraName=Ei,la.eraNarrow=ki,la.eraAbbr=Ti,la.eraYear=Ri,la.year=Ze,la.isLeapYear=Xe,la.weekYear=Vi,la.isoWeekYear=ji,la.quarter=la.quarters=Qi,la.month=pt,la.daysInMonth=ht,la.week=la.weeks=Ot,la.isoWeek=la.isoWeeks=Nt,la.weeksInYear=Zi,la.weeksInWeekYear=Xi,la.isoWeeksInYear=zi,la.isoWeeksInISOWeekYear=qi,la.date=Ki,la.day=la.days=Vt,la.weekday=jt,la.isoWeekday=zt,la.dayOfYear=ea,la.hour=la.hours=rn,la.minute=la.minutes=ta,la.second=la.seconds=ia,la.millisecond=la.milliseconds=ra,la.utcOffset=gr,la.utc=vr,la.local=br,la.parseZone=yr,la.hasAlignedHourOffset=Dr,la.isDST=_r,la.isLocal=xr,la.isUtcOffset=Sr,la.isUtc=Ir,la.isUTC=Ir,la.zoneAbbr=oa,la.zoneName=sa,la.dates=I("dates accessor is deprecated. Use date instead.",Ki),la.months=I("months accessor is deprecated. Use month instead",pt),la.years=I("years accessor is deprecated. Use year instead",Ze),la.zone=I("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",mr),la.isDSTShifted=I("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",wr);var fa=k.prototype;function pa(e,t,n,r){var i=bn(),a=h().set(r,t);return i[n](a,e)}function ha(e,t,n){if(c(e)&&(t=e,e=void 0),e=e||"",null!=t)return pa(e,t,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=pa(e,r,n,"month");return i}function ga(e,t,n,r){"boolean"===typeof e?(c(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,c(t)&&(n=t,t=void 0),t=t||"");var i,a=bn(),o=e?a._week.dow:0,s=[];if(null!=n)return pa(t,(n+o)%7,r,"day");for(i=0;i<7;i++)s[i]=pa(t,(i+o)%7,r,"day");return s}function ma(e,t){return ha(e,t,"months")}function va(e,t){return ha(e,t,"monthsShort")}function ba(e,t,n){return ga(e,t,n,"weekdays")}function ya(e,t,n){return ga(e,t,n,"weekdaysShort")}function Da(e,t,n){return ga(e,t,n,"weekdaysMin")}fa.calendar=R,fa.longDateFormat=z,fa.invalidDate=Z,fa.ordinal=$,fa.preparse=da,fa.postformat=da,fa.relativeTime=K,fa.pastFuture=ee,fa.set=C,fa.eras=Oi,fa.erasParse=Ni,fa.erasConvertYear=Ci,fa.erasAbbrRegex=Yi,fa.erasNameRegex=Pi,fa.erasNarrowRegex=Bi,fa.months=lt,fa.monthsShort=ut,fa.monthsParse=dt,fa.monthsRegex=mt,fa.monthsShortRegex=gt,fa.week=St,fa.firstDayOfYear=At,fa.firstDayOfWeek=Mt,fa.weekdays=Gt,fa.weekdaysMin=Ft,fa.weekdaysShort=Wt,fa.weekdaysParse=Ht,fa.weekdaysRegex=qt,fa.weekdaysShortRegex=Zt,fa.weekdaysMinRegex=Xt,fa.isPM=tn,fa.meridiem=an,gn("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===Ee(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),r.lang=I("moment.lang is deprecated. Use moment.locale instead.",gn),r.langData=I("moment.langData is deprecated. Use moment.localeData instead.",bn);var _a=Math.abs;function wa(){var e=this._data;return this._milliseconds=_a(this._milliseconds),this._days=_a(this._days),this._months=_a(this._months),e.milliseconds=_a(e.milliseconds),e.seconds=_a(e.seconds),e.minutes=_a(e.minutes),e.hours=_a(e.hours),e.months=_a(e.months),e.years=_a(e.years),this}function xa(e,t,n,r){var i=Or(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}function Sa(e,t){return xa(this,e,t,1)}function Ia(e,t){return xa(this,e,t,-1)}function Ma(e){return e<0?Math.floor(e):Math.ceil(e)}function Aa(){var e,t,n,r,i,a=this._milliseconds,o=this._days,s=this._months,l=this._data;return a>=0&&o>=0&&s>=0||a<=0&&o<=0&&s<=0||(a+=864e5*Ma(Na(s)+o),o=0,s=0),l.milliseconds=a%1e3,e=Ce(a/1e3),l.seconds=e%60,t=Ce(e/60),l.minutes=t%60,n=Ce(t/60),l.hours=n%24,o+=Ce(n/24),s+=i=Ce(Oa(o)),o-=Ma(Na(i)),r=Ce(s/12),s%=12,l.days=o,l.months=s,l.years=r,this}function Oa(e){return 4800*e/146097}function Na(e){return 146097*e/4800}function Ca(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=ne(e))||"quarter"===e||"year"===e)switch(t=this._days+r/864e5,n=this._months+Oa(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(Na(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}}function Ea(e){return function(){return this.as(e)}}var ka=Ea("ms"),Ta=Ea("s"),Ra=Ea("m"),Pa=Ea("h"),Ya=Ea("d"),Ba=Ea("w"),La=Ea("M"),Ga=Ea("Q"),Wa=Ea("y"),Fa=ka;function Ua(){return Or(this)}function Ha(e){return e=ne(e),this.isValid()?this[e+"s"]():NaN}function Va(e){return function(){return this.isValid()?this._data[e]:NaN}}var ja=Va("milliseconds"),za=Va("seconds"),qa=Va("minutes"),Za=Va("hours"),Xa=Va("days"),Ja=Va("months"),$a=Va("years");function Qa(){return Ce(this.days()/7)}var Ka=Math.round,eo={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function to(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}function no(e,t,n,r){var i=Or(e).abs(),a=Ka(i.as("s")),o=Ka(i.as("m")),s=Ka(i.as("h")),l=Ka(i.as("d")),u=Ka(i.as("M")),c=Ka(i.as("w")),d=Ka(i.as("y")),f=a<=n.ss&&["s",a]||a<n.s&&["ss",a]||o<=1&&["m"]||o<n.m&&["mm",o]||s<=1&&["h"]||s<n.h&&["hh",s]||l<=1&&["d"]||l<n.d&&["dd",l];return null!=n.w&&(f=f||c<=1&&["w"]||c<n.w&&["ww",c]),(f=f||u<=1&&["M"]||u<n.M&&["MM",u]||d<=1&&["y"]||["yy",d])[2]=t,f[3]=+e>0,f[4]=r,to.apply(null,f)}function ro(e){return void 0===e?Ka:"function"===typeof e&&(Ka=e,!0)}function io(e,t){return void 0!==eo[e]&&(void 0===t?eo[e]:(eo[e]=t,"s"===e&&(eo.ss=t-1),!0))}function ao(e,t){if(!this.isValid())return this.localeData().invalidDate();var n,r,i=!1,a=eo;return"object"===typeof e&&(t=e,e=!1),"boolean"===typeof e&&(i=e),"object"===typeof t&&(a=Object.assign({},eo,t),null!=t.s&&null==t.ss&&(a.ss=t.s-1)),r=no(this,!i,a,n=this.localeData()),i&&(r=n.pastFuture(+this,r)),n.postformat(r)}var oo=Math.abs;function so(e){return(e>0)-(e<0)||+e}function lo(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,r,i,a,o,s,l=oo(this._milliseconds)/1e3,u=oo(this._days),c=oo(this._months),d=this.asSeconds();return d?(e=Ce(l/60),t=Ce(e/60),l%=60,e%=60,n=Ce(c/12),c%=12,r=l?l.toFixed(3).replace(/\.?0+$/,""):"",i=d<0?"-":"",a=so(this._months)!==so(d)?"-":"",o=so(this._days)!==so(d)?"-":"",s=so(this._milliseconds)!==so(d)?"-":"",i+"P"+(n?a+n+"Y":"")+(c?a+c+"M":"")+(u?o+u+"D":"")+(t||e||l?"T":"")+(t?s+t+"H":"")+(e?s+e+"M":"")+(l?s+r+"S":"")):"P0D"}var uo=or.prototype;return uo.isValid=ir,uo.abs=wa,uo.add=Sa,uo.subtract=Ia,uo.as=Ca,uo.asMilliseconds=ka,uo.asSeconds=Ta,uo.asMinutes=Ra,uo.asHours=Pa,uo.asDays=Ya,uo.asWeeks=Ba,uo.asMonths=La,uo.asQuarters=Ga,uo.asYears=Wa,uo.valueOf=Fa,uo._bubble=Aa,uo.clone=Ua,uo.get=Ha,uo.milliseconds=ja,uo.seconds=za,uo.minutes=qa,uo.hours=Za,uo.days=Xa,uo.weeks=Qa,uo.months=Ja,uo.years=$a,uo.humanize=ao,uo.toISOString=lo,uo.toString=lo,uo.toJSON=lo,uo.locale=oi,uo.localeData=li,uo.toIsoString=I("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",lo),uo.lang=si,W("X",0,0,"unix"),W("x",0,0,"valueOf"),Me("x",ye),Me("X",we),Te("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e))})),Te("x",(function(e,t,n){n._d=new Date(Ee(e))})),r.version="2.30.1",i(Xn),r.fn=la,r.min=Kn,r.max=er,r.now=tr,r.utc=h,r.unix=ua,r.months=ma,r.isDate=d,r.locale=gn,r.invalid=b,r.duration=Or,r.isMoment=x,r.weekdays=ba,r.parseZone=ca,r.localeData=bn,r.isDuration=sr,r.monthsShort=va,r.weekdaysMin=Da,r.defineLocale=mn,r.updateLocale=vn,r.locales=yn,r.weekdaysShort=ya,r.normalizeUnits=ne,r.relativeTimeRounding=ro,r.relativeTimeThreshold=io,r.calendarFormat=Fr,r.prototype=la,r.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},r}()},81097:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(9950),i="undefined"!==typeof window?r.useLayoutEffect:r.useEffect;function a(e){var t=r.useRef(e);return i((function(){t.current=e})),r.useCallback((function(){return t.current.apply(void 0,arguments)}),[])}},92107:(e,t,n)=>{"use strict";n.d(t,{A:()=>_});var r=n(83840),i=n(98889),a=n(78397);function o(e,t){(0,a.A)(2,arguments);var n=(0,i.default)(e),r=(0,i.default)(t),o=n.getTime()-r.getTime();return o<0?-1:o>0?1:o}var s=n(60229),l=n(67474),u=n(57326);function c(e,t){(0,a.A)(2,arguments);var n,r=(0,i.default)(e),c=(0,i.default)(t),d=o(r,c),f=Math.abs((0,s.default)(r,c));if(f<1)n=0;else{1===r.getMonth()&&r.getDate()>27&&r.setDate(30),r.setMonth(r.getMonth()-d*f);var p=o(r,c)===-d;(function(e){(0,a.A)(1,arguments);var t=(0,i.default)(e);return(0,l.default)(t).getTime()===(0,u.default)(t).getTime()})((0,i.default)(e))&&1===f&&1===o(e,c)&&(p=!1),n=d*(f-Number(p))}return 0===n?0:n}var d={ceil:Math.ceil,round:Math.round,floor:Math.floor,trunc:function(e){return e<0?Math.ceil(e):Math.floor(e)}},f="trunc";function p(e,t,n){(0,a.A)(2,arguments);var r,o=function(e,t){return(0,a.A)(2,arguments),(0,i.default)(e).getTime()-(0,i.default)(t).getTime()}(e,t)/1e3;return((r=null===n||void 0===n?void 0:n.roundingMethod)?d[r]:d[f])(o)}var h=n(86792),g=n(64388);var m=n(42434),v=1440,b=2520,y=43200,D=86400;function _(e,t,n){var s,l;(0,a.A)(2,arguments);var u=(0,r.q)(),d=null!==(s=null!==(l=null===n||void 0===n?void 0:n.locale)&&void 0!==l?l:u.locale)&&void 0!==s?s:h.A;if(!d.formatDistance)throw new RangeError("locale must contain formatDistance property");var f=o(e,t);if(isNaN(f))throw new RangeError("Invalid time value");var _,w,x,S=(0,g.A)((_=n,(0,g.A)({},_)),{addSuffix:Boolean(null===n||void 0===n?void 0:n.addSuffix),comparison:f});f>0?(w=(0,i.default)(t),x=(0,i.default)(e)):(w=(0,i.default)(e),x=(0,i.default)(t));var I,M=p(x,w),A=((0,m.A)(x)-(0,m.A)(w))/1e3,O=Math.round((M-A)/60);if(O<2)return null!==n&&void 0!==n&&n.includeSeconds?M<5?d.formatDistance("lessThanXSeconds",5,S):M<10?d.formatDistance("lessThanXSeconds",10,S):M<20?d.formatDistance("lessThanXSeconds",20,S):M<40?d.formatDistance("halfAMinute",0,S):M<60?d.formatDistance("lessThanXMinutes",1,S):d.formatDistance("xMinutes",1,S):0===O?d.formatDistance("lessThanXMinutes",1,S):d.formatDistance("xMinutes",O,S);if(O<45)return d.formatDistance("xMinutes",O,S);if(O<90)return d.formatDistance("aboutXHours",1,S);if(O<v){var N=Math.round(O/60);return d.formatDistance("aboutXHours",N,S)}if(O<b)return d.formatDistance("xDays",1,S);if(O<y){var C=Math.round(O/v);return d.formatDistance("xDays",C,S)}if(O<D)return I=Math.round(O/y),d.formatDistance("aboutXMonths",I,S);if((I=c(x,w))<12){var E=Math.round(O/y);return d.formatDistance("xMonths",E,S)}var k=I%12,T=Math.floor(I/12);return k<3?d.formatDistance("aboutXYears",T,S):k<9?d.formatDistance("overXYears",T,S):d.formatDistance("almostXYears",T+1,S)}},99121:(e,t,n)=>{"use strict";n.d(t,{A:()=>h});var r=n(58168),i=n(98587),a=n(9950),o=n(11942),s=n.n(o),l=n(48738),u=n.n(l),c=n(44208),d=["className","cssModule","tag"],f={tag:c.Wx,className:s().string,cssModule:s().object},p=function(e){var t=e.className,n=e.cssModule,o=e.tag,s=(0,i.A)(e,d),l=(0,c.qO)(u()(t,"input-group-text"),n);return a.createElement(o,(0,r.A)({},s,{className:l}))};p.propTypes=f,p.defaultProps={tag:"span"};const h=p}}]);