wjec-one 3.10.6 → 3.10.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +1 -1
- package/legacy/index.js +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -6,4 +6,4 @@ import e,{createElement as t,useState as n,useRef as r,useEffect as o,useLayoutE
|
|
|
6
6
|
*
|
|
7
7
|
* This source code is licensed under the MIT license found in the
|
|
8
8
|
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/if("function"==typeof Symbol&&Symbol.for){var zr=Symbol.for;Cr=zr("react.element"),Ir=zr("react.portal"),Pr=zr("react.fragment"),kr=zr("react.strict_mode"),Sr=zr("react.profiler"),Dr=zr("react.provider"),Or=zr("react.context"),Er=zr("react.forward_ref"),Ar=zr("react.suspense"),Mr=zr("react.suspense_list"),Lr=zr("react.memo"),Br=zr("react.lazy"),Tr=zr("react.block"),Rr=zr("react.server.block"),Nr=zr("react.fundamental"),Fr=zr("react.debug_trace_mode"),jr=zr("react.legacy_hidden")}function Hr(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case Cr:switch(e=e.type){case Pr:case Sr:case kr:case Ar:case Mr:return e;default:switch(e=e&&e.$$typeof){case Or:case Er:case Br:case Lr:case Dr:return e;default:return t}}case Ir:return t}}}var Gr={ContextConsumer:Or,ContextProvider:Dr,Element:Cr,ForwardRef:Er,Fragment:Pr,Lazy:Br,Memo:Lr,Portal:Ir,Profiler:Sr,StrictMode:kr,Suspense:Ar,isAsyncMode:function(){return!1},isConcurrentMode:function(){return!1},isContextConsumer:function(e){return Hr(e)===Or},isContextProvider:function(e){return Hr(e)===Dr},isElement:function(e){return"object"==typeof e&&null!==e&&e.$$typeof===Cr},isForwardRef:function(e){return Hr(e)===Er},isFragment:function(e){return Hr(e)===Pr},isLazy:function(e){return Hr(e)===Br},isMemo:function(e){return Hr(e)===Lr},isPortal:function(e){return Hr(e)===Ir},isProfiler:function(e){return Hr(e)===Sr},isStrictMode:function(e){return Hr(e)===kr},isSuspense:function(e){return Hr(e)===Ar},isValidElementType:function(e){return"string"==typeof e||"function"==typeof e||e===Pr||e===Sr||e===Fr||e===kr||e===Ar||e===Mr||e===jr||"object"==typeof e&&null!==e&&(e.$$typeof===Br||e.$$typeof===Lr||e.$$typeof===Dr||e.$$typeof===Or||e.$$typeof===Er||e.$$typeof===Nr||e.$$typeof===Tr||e[0]===Rr)},typeOf:Hr},_r=qe((function(e){e.exports=Gr})),Wr=["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"],qr=["reactReduxForwardedRef"],Ur=[],Vr=[null,null];function $r(e,t){var n=e[1];return[t.payload,n+1]}function Yr(e,t,n){ir((function(){return e.apply(void 0,t)}),n)}function Xr(e,t,n,r,o,i,a){e.current=r,t.current=o,n.current=!1,i.current&&(i.current=null,a())}function Jr(e,t,n,r,o,i,a,l,c,s){if(e){var u=!1,d=null,p=function(){if(!u){var e,n,p=t.getState();try{e=r(p,o.current)}catch(e){n=e,d=e}n||(d=null),e===i.current?a.current||c():(i.current=e,l.current=e,a.current=!0,s({type:"STORE_UPDATED",payload:{error:n}}))}};n.onStateChange=p,n.trySubscribe(),p();return function(){if(u=!0,n.tryUnsubscribe(),n.onStateChange=null,d)throw d}}}var Kr=function(){return[null,0]};function Qr(t,n){void 0===n&&(n={});var o=n,i=o.getDisplayName,l=void 0===i?function(e){return"ConnectAdvanced("+e+")"}:i,u=o.methodName,d=void 0===u?"connectAdvanced":u,p=o.renderCountProp,f=void 0===p?void 0:p,g=o.shouldHandleStateChanges,b=void 0===g||g,h=o.storeKey,m=void 0===h?"store":h,v=(o.withRef,o.forwardRef),y=void 0!==v&&v,x=o.context,w=void 0===x?er:x,C=lr(o,Wr),I=w;return function(n){var o=n.displayName||n.name||"Component",i=l(o),u=Gn({},C,{getDisplayName:l,methodName:d,renderCountProp:f,shouldHandleStateChanges:b,storeKey:m,displayName:i,wrappedComponentName:o,WrappedComponent:n}),p=C.pure;var g=p?a:function(e){return e()};function h(o){var i=a((function(){var e=o.reactReduxForwardedRef,t=lr(o,qr);return[o.context,e,t]}),[o]),l=i[0],d=i[1],p=i[2],f=a((function(){return l&&l.Consumer&&_r.isContextConsumer(e.createElement(l.Consumer,null))?l:I}),[l,I]),h=c(f),m=Boolean(o.store)&&Boolean(o.store.getState)&&Boolean(o.store.dispatch),v=(Boolean(h)&&Boolean(h.store),m?o.store:h.store),y=a((function(){return function(e){return t(e.dispatch,u)}(v)}),[v]),x=a((function(){if(!b)return Vr;var e=or(v,m?null:h.subscription),t=e.notifyNestedSubs.bind(e);return[e,t]}),[v,m,h]),w=x[0],C=x[1],P=a((function(){return m?h:Gn({},h,{subscription:w})}),[m,h,w]),k=s($r,Ur,Kr),S=k[0][0],D=k[1];if(S&&S.error)throw S.error;var O=r(),E=r(p),A=r(),M=r(!1),L=g((function(){return A.current&&p===E.current?A.current:y(v.getState(),p)}),[v,S,p]);Yr(Xr,[E,O,M,p,L,A,C]),Yr(Jr,[b,v,w,y,E,O,M,A,C,D],[v,w,y]);var B=a((function(){return e.createElement(n,Gn({},L,{ref:d}))}),[d,n,L]);return a((function(){return b?e.createElement(f.Provider,{value:P},B):B}),[f,B,P])}var v=p?e.memo(h):h;if(v.WrappedComponent=n,v.displayName=h.displayName=i,y){var x=e.forwardRef((function(t,n){return e.createElement(v,Gn({},t,{reactReduxForwardedRef:n}))}));return x.displayName=i,x.WrappedComponent=n,wr(x,n)}return wr(v,n)}}function Zr(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function eo(e,t){if(Zr(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var o=0;o<n.length;o++)if(!Object.prototype.hasOwnProperty.call(t,n[o])||!Zr(e[n[o]],t[n[o]]))return!1;return!0}function to(e){return function(t,n){var r=e(t,n);function o(){return r}return o.dependsOnOwnProps=!1,o}}function no(e){return null!==e.dependsOnOwnProps&&void 0!==e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function ro(e,t){return function(t,n){n.displayName;var r=function(e,t){return r.dependsOnOwnProps?r.mapToProps(e,t):r.mapToProps(e)};return r.dependsOnOwnProps=!0,r.mapToProps=function(t,n){r.mapToProps=e,r.dependsOnOwnProps=no(e);var o=r(t,n);return"function"==typeof o&&(r.mapToProps=o,r.dependsOnOwnProps=no(o),o=r(t,n)),o},r}}var oo=[function(e){return"function"==typeof e?ro(e):void 0},function(e){return e?void 0:to((function(e){return{dispatch:e}}))},function(e){return e&&"object"==typeof e?to((function(t){return function(e,t){var n={},r=function(r){var o=e[r];"function"==typeof o&&(n[r]=function(){return t(o.apply(void 0,arguments))})};for(var o in e)r(o);return n}(e,t)})):void 0}];var io=[function(e){return"function"==typeof e?ro(e):void 0},function(e){return e?void 0:to((function(){return{}}))}];function ao(e,t,n){return Gn({},n,e,t)}var lo=[function(e){return"function"==typeof e?function(e){return function(t,n){n.displayName;var r,o=n.pure,i=n.areMergedPropsEqual,a=!1;return function(t,n,l){var c=e(t,n,l);return a?o&&i(c,r)||(r=c):(a=!0,r=c),r}}}(e):void 0},function(e){return e?void 0:function(){return ao}}],co=["initMapStateToProps","initMapDispatchToProps","initMergeProps"];function so(e,t,n,r){return function(o,i){return n(e(o,i),t(r,i),i)}}function uo(e,t,n,r,o){var i,a,l,c,s,u=o.areStatesEqual,d=o.areOwnPropsEqual,p=o.areStatePropsEqual,f=!1;function g(o,f){var g,b,h=!d(f,a),m=!u(o,i);return i=o,a=f,h&&m?(l=e(i,a),t.dependsOnOwnProps&&(c=t(r,a)),s=n(l,c,a)):h?(e.dependsOnOwnProps&&(l=e(i,a)),t.dependsOnOwnProps&&(c=t(r,a)),s=n(l,c,a)):m?(g=e(i,a),b=!p(g,l),l=g,b&&(s=n(l,c,a)),s):s}return function(o,u){return f?g(o,u):(l=e(i=o,a=u),c=t(r,a),s=n(l,c,a),f=!0,s)}}function po(e,t){var n=t.initMapStateToProps,r=t.initMapDispatchToProps,o=t.initMergeProps,i=lr(t,co),a=n(e,i),l=r(e,i),c=o(e,i);return(i.pure?uo:so)(a,l,c,e,i)}var fo=["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"];function go(e,t,n){for(var r=t.length-1;r>=0;r--){var o=t[r](e);if(o)return o}return function(t,r){throw new Error("Invalid value of type "+typeof e+" for "+n+" argument when connecting component "+r.wrappedComponentName+".")}}function bo(e,t){return e===t}function ho(e){var t=void 0===e?{}:e,n=t.connectHOC,r=void 0===n?Qr:n,o=t.mapStateToPropsFactories,i=void 0===o?io:o,a=t.mapDispatchToPropsFactories,l=void 0===a?oo:a,c=t.mergePropsFactories,s=void 0===c?lo:c,u=t.selectorFactory,d=void 0===u?po:u;return function(e,t,n,o){void 0===o&&(o={});var a=o,c=a.pure,u=void 0===c||c,p=a.areStatesEqual,f=void 0===p?bo:p,g=a.areOwnPropsEqual,b=void 0===g?eo:g,h=a.areStatePropsEqual,m=void 0===h?eo:h,v=a.areMergedPropsEqual,y=void 0===v?eo:v,x=lr(a,fo),w=go(e,i,"mapStateToProps"),C=go(t,l,"mapDispatchToProps"),I=go(n,s,"mergeProps");return r(d,Gn({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:w,initMapDispatchToProps:C,initMergeProps:I,pure:u,areStatesEqual:f,areOwnPropsEqual:b,areStatePropsEqual:m,areMergedPropsEqual:y},x))}}var mo=ho();function vo(e,t){var i=n((function(){return{inputs:t,result:e()}}))[0],a=r(!0),l=r(i),c=a.current||Boolean(t&&l.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,l.current.inputs))?l.current:{inputs:t,result:e()};return o((function(){a.current=!1,l.current=c}),[c]),c.result}tr=v;var yo=vo,xo=function(e,t){return vo((function(){return e}),t)};var wo=function(e){var t=e.top,n=e.right,r=e.bottom,o=e.left;return{top:t,right:n,bottom:r,left:o,width:n-o,height:r-t,x:o,y:t,center:{x:(n+o)/2,y:(r+t)/2}}},Co=function(e,t){return{top:e.top-t.top,left:e.left-t.left,bottom:e.bottom+t.bottom,right:e.right+t.right}},Io=function(e,t){return{top:e.top+t.top,left:e.left+t.left,bottom:e.bottom-t.bottom,right:e.right-t.right}},Po={top:0,right:0,bottom:0,left:0},ko=function(e){var t=e.borderBox,n=e.margin,r=void 0===n?Po:n,o=e.border,i=void 0===o?Po:o,a=e.padding,l=void 0===a?Po:a,c=wo(Co(t,r)),s=wo(Io(t,i)),u=wo(Io(s,l));return{marginBox:c,borderBox:wo(t),paddingBox:s,contentBox:u,margin:r,border:i,padding:l}},So=function(e){var t=e.slice(0,-2);if("px"!==e.slice(-2))return 0;var n=Number(t);return isNaN(n)&&function(e,t){if(!e)throw new Error("Invariant failed")}(!1),n},Do=function(e,t){var n,r,o=e.borderBox,i=e.border,a=e.margin,l=e.padding,c=(r=t,{top:(n=o).top+r.y,left:n.left+r.x,bottom:n.bottom+r.y,right:n.right+r.x});return ko({borderBox:c,border:i,margin:a,padding:l})},Oo=function(e,t){return void 0===t&&(t={x:window.pageXOffset,y:window.pageYOffset}),Do(e,t)},Eo=function(e,t){var n={top:So(t.marginTop),right:So(t.marginRight),bottom:So(t.marginBottom),left:So(t.marginLeft)},r={top:So(t.paddingTop),right:So(t.paddingRight),bottom:So(t.paddingBottom),left:So(t.paddingLeft)},o={top:So(t.borderTopWidth),right:So(t.borderRightWidth),bottom:So(t.borderBottomWidth),left:So(t.borderLeftWidth)};return ko({borderBox:e,margin:n,padding:r,border:o})},Ao=function(e){var t=e.getBoundingClientRect(),n=window.getComputedStyle(e);return Eo(t,n)},Mo=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function Lo(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(r=e[n],o=t[n],!(r===o||Mo(r)&&Mo(o)))return!1;var r,o;return!0}function Bo(e,t){var n;void 0===t&&(t=Lo);var r,o=[],i=!1;return function(){for(var a=[],l=0;l<arguments.length;l++)a[l]=arguments[l];return i&&n===this&&t(a,o)||(r=e.apply(this,a),i=!0,n=this,o=a),r}}var To=function(e){var t=[],n=null,r=function(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];t=o,n||(n=requestAnimationFrame((function(){n=null,e.apply(void 0,t)})))};return r.cancel=function(){n&&(cancelAnimationFrame(n),n=null)},r};function Ro(e,t){}Ro.bind(null,"warn"),Ro.bind(null,"error");function No(){}function Fo(e,t,n){var r=t.map((function(t){var r,o,i=(r=n,o=t.options,Gn({},r,{},o));return e.addEventListener(t.eventName,t.fn,i),function(){e.removeEventListener(t.eventName,t.fn,i)}}));return function(){r.forEach((function(e){e()}))}}function jo(e){this.message=e}function zo(e,t){if(!e)throw new jo("Invariant failed")}jo.prototype.toString=function(){return this.message};var Ho=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).callbacks=null,t.unbind=No,t.onWindowError=function(e){var n=t.getCallbacks();n.isDragging()&&n.tryAbort(),e.error instanceof jo&&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}Hn(t,e);var n=t.prototype;return n.componentDidMount=function(){this.unbind=Fo(window,[{eventName:"error",fn:this.onWindowError}])},n.componentDidCatch=function(e){if(!(e instanceof jo))throw e;this.setState({})},n.componentWillUnmount=function(){this.unbind()},n.render=function(){return this.props.children(this.setCallbacks)},t}(e.Component),Go=function(e){return e+1},_o=function(e,t){var n=e.droppableId===t.droppableId,r=Go(e.index),o=Go(t.index);return n?"\n You have moved the item from position "+r+"\n to position "+o+"\n ":"\n You have moved the item from position "+r+"\n in list "+e.droppableId+"\n to list "+t.droppableId+"\n in position "+o+"\n "},Wo=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 "},qo=function(e){return"\n The item has returned to its starting position\n of "+Go(e.index)+"\n"},Uo="\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",Vo=function(e){return"\n You have lifted an item in position "+Go(e.source.index)+"\n"},$o=function(e){var t=e.destination;if(t)return _o(e.source,t);var n=e.combine;return n?Wo(e.draggableId,e.source,n):"You are over an area that cannot be dropped on"},Yo=function(e){if("CANCEL"===e.reason)return"\n Movement cancelled.\n "+qo(e.source)+"\n ";var t=e.destination,n=e.combine;return t?"\n You have dropped the item.\n "+_o(e.source,t)+"\n ":n?"\n You have dropped the item.\n "+Wo(e.draggableId,e.source,n)+"\n ":"\n The item has been dropped while not over a drop area.\n "+qo(e.source)+"\n "},Xo={x:0,y:0},Jo=function(e,t){return{x:e.x+t.x,y:e.y+t.y}},Ko=function(e,t){return{x:e.x-t.x,y:e.y-t.y}},Qo=function(e,t){return e.x===t.x&&e.y===t.y},Zo=function(e){return{x:0!==e.x?-e.x:0,y:0!==e.y?-e.y:0}},ei=function(e,t,n){var r;return void 0===n&&(n=0),(r={})[e]=t,r["x"===e?"y":"x"]=n,r},ti=function(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))},ni=function(e,t){return Math.min.apply(Math,t.map((function(t){return ti(e,t)})))},ri=function(e){return function(t){return{x:e(t.x),y:e(t.y)}}},oi=function(e,t){return{top:e.top+t.y,left:e.left+t.x,bottom:e.bottom+t.y,right:e.right+t.x}},ii=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}]},ai=function(e,t){return t&&t.shouldClipSubject?function(e,t){var n=wo({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):wo(e)},li=function(e){var t=e.page,n=e.withPlaceholder,r=e.axis,o=e.frame,i=function(e,t,n){var r;return n&&n.increasedBy?Gn({},e,((r={})[t.end]=e[t.end]+n.increasedBy[t.line],r)):e}(function(e,t){return t?oi(e,t.scroll.diff.displacement):e}(t.marginBox,o),r,n);return{page:t,withPlaceholder:n,active:ai(i,o)}},ci=function(e,t){e.frame||zo(!1);var n=e.frame,r=Ko(t,n.scroll.initial),o=Zo(r),i=Gn({},n,{scroll:{initial:n.scroll.initial,current:t,diff:{value:r,displacement:o},max:n.scroll.max}});return Gn({},e,{frame:i,subject:li({page:e.subject.page,withPlaceholder:e.subject.withPlaceholder,axis:e.axis,frame:i})})};function si(e){return Object.values?Object.values(e):Object.keys(e).map((function(t){return e[t]}))}function ui(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 di(e,t){if(e.find)return e.find(t);var n=ui(e,t);return-1!==n?e[n]:void 0}function pi(e){return Array.prototype.slice.call(e)}var fi=Bo((function(e){return e.reduce((function(e,t){return e[t.descriptor.id]=t,e}),{})})),gi=Bo((function(e){return e.reduce((function(e,t){return e[t.descriptor.id]=t,e}),{})})),bi=Bo((function(e){return si(e)})),hi=Bo((function(e){return si(e)})),mi=Bo((function(e,t){return hi(t).filter((function(t){return e===t.descriptor.droppableId})).sort((function(e,t){return e.descriptor.index-t.descriptor.index}))}));function vi(e){return e.at&&"REORDER"===e.at.type?e.at.destination:null}function yi(e){return e.at&&"COMBINE"===e.at.type?e.at.combine:null}var xi=Bo((function(e,t){return t.filter((function(t){return t.descriptor.id!==e.descriptor.id}))})),wi=function(e,t){return e.descriptor.droppableId===t.descriptor.id},Ci={point:Xo,value:0},Ii={invisible:{},visible:{},all:[]},Pi={displaced:Ii,displacedBy:Ci,at:null},ki=function(e,t){return function(n){return e<=n&&n<=t}},Si=function(e){var t=ki(e.top,e.bottom),n=ki(e.left,e.right);return function(r){if(t(r.top)&&t(r.bottom)&&n(r.left)&&n(r.right))return!0;var o=t(r.top)||t(r.bottom),i=n(r.left)||n(r.right);if(o&&i)return!0;var a=r.top<e.top&&r.bottom>e.bottom,l=r.left<e.left&&r.right>e.right;return!(!a||!l)||(a&&i||l&&o)}},Di=function(e){var t=ki(e.top,e.bottom),n=ki(e.left,e.right);return function(e){return t(e.top)&&t(e.bottom)&&n(e.left)&&n(e.right)}},Oi={direction:"vertical",line:"y",crossAxisLine:"x",start:"top",end:"bottom",size:"height",crossAxisStart:"left",crossAxisEnd:"right",crossAxisSize:"width"},Ei={direction:"horizontal",line:"x",crossAxisLine:"y",start:"left",end:"right",size:"width",crossAxisStart:"top",crossAxisEnd:"bottom",crossAxisSize:"height"},Ai=function(e){var t=e.target,n=e.destination,r=e.viewport,o=e.withDroppableDisplacement,i=e.isVisibleThroughFrameFn,a=o?function(e,t){var n=t.frame?t.frame.scroll.diff.displacement:Xo;return oi(e,n)}(t,n):t;return function(e,t,n){return!!t.subject.active&&n(t.subject.active)(e)}(a,n,i)&&function(e,t,n){return n(t)(e)}(a,r,i)},Mi=function(e){return Ai(Gn({},e,{isVisibleThroughFrameFn:Si}))},Li=function(e){return Ai(Gn({},e,{isVisibleThroughFrameFn:Di}))};function Bi(e){var t=e.afterDragging,n=e.destination,r=e.displacedBy,o=e.viewport,i=e.forceShouldAnimate,a=e.last;return t.reduce((function(e,t){var l=function(e,t){var n=e.page.marginBox,r={top:t.point.y,right:0,bottom:0,left:t.point.x};return wo(Co(n,r))}(t,r),c=t.descriptor.id;if(e.all.push(c),!Mi({target:l,destination:n,viewport:o,withDroppableDisplacement:!0}))return e.invisible[t.descriptor.id]=!0,e;var s={draggableId:c,shouldAnimate:function(e,t,n){if("boolean"==typeof n)return n;if(!t)return!0;var r=t.invisible,o=t.visible;if(r[e])return!1;var i=o[e];return!i||i.shouldAnimate}(c,a,i)};return e.visible[c]=s,e}),{all:[],visible:{},invisible:{}})}function Ti(e){var t=e.insideDestination,n=e.inHomeList,r=e.displacedBy,o=e.destination,i=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:Ii,displacedBy:r,at:{type:"REORDER",destination:{droppableId:o.descriptor.id,index:i}}}}function Ri(e){var t=e.draggable,n=e.insideDestination,r=e.destination,o=e.viewport,i=e.displacedBy,a=e.last,l=e.index,c=e.forceShouldAnimate,s=wi(t,r);if(null==l)return Ti({insideDestination:n,inHomeList:s,displacedBy:i,destination:r});var u=di(n,(function(e){return e.descriptor.index===l}));if(!u)return Ti({insideDestination:n,inHomeList:s,displacedBy:i,destination:r});var d=xi(t,n),p=n.indexOf(u);return{displaced:Bi({afterDragging:d.slice(p),destination:r,displacedBy:i,last:a,viewport:o.frame,forceShouldAnimate:c}),displacedBy:i,at:{type:"REORDER",destination:{droppableId:r.descriptor.id,index:l}}}}function Ni(e,t){return Boolean(t.effected[e])}var Fi=function(e){var t=e.isMovingForward,n=e.isInHomeList,r=e.draggable,o=e.draggables,i=e.destination,a=e.insideDestination,l=e.previousImpact,c=e.viewport,s=e.afterCritical,u=l.at;if(u||zo(!1),"REORDER"===u.type){var d=function(e){var t=e.isMovingForward,n=e.isInHomeList,r=e.insideDestination,o=e.location;if(!r.length)return null;var i=o.index,a=t?i+1:i-1,l=r[0].descriptor.index,c=r[r.length-1].descriptor.index;return a<l||a>(n?c:c+1)?null:a}({isMovingForward:t,isInHomeList:n,location:u.destination,insideDestination:a});return null==d?null:Ri({draggable:r,insideDestination:a,destination:i,viewport:c,last:l.displaced,displacedBy:l.displacedBy,index:d})}var p=function(e){var t=e.isMovingForward,n=e.destination,r=e.draggables,o=e.combine,i=e.afterCritical;if(!n.isCombineEnabled)return null;var a=o.draggableId,l=r[a].descriptor.index;return Ni(a,i)?t?l:l-1:t?l+1:l}({isMovingForward:t,destination:i,displaced:l.displaced,draggables:o,combine:u.combine,afterCritical:s});return null==p?null:Ri({draggable:r,insideDestination:a,destination:i,viewport:c,last:l.displaced,displacedBy:l.displacedBy,index:p})},ji=function(e){var t=e.afterCritical,n=e.impact,r=e.draggables,o=yi(n);o||zo(!1);var i=o.draggableId,a=r[i].page.borderBox.center,l=function(e){var t=e.displaced,n=e.afterCritical,r=e.combineWith,o=e.displacedBy,i=Boolean(t.visible[r]||t.invisible[r]);return Ni(r,n)?i?Xo:Zo(o.point):i?o.point:Xo}({displaced:n.displaced,afterCritical:t,combineWith:i,displacedBy:n.displacedBy});return Jo(a,l)},zi=function(e,t){return t.margin[e.start]+t.borderBox[e.size]/2},Hi=function(e,t,n){return t[e.crossAxisStart]+n.margin[e.crossAxisStart]+n.borderBox[e.crossAxisSize]/2},Gi=function(e){var t=e.axis,n=e.moveRelativeTo,r=e.isMoving;return ei(t.line,n.marginBox[t.end]+zi(t,r),Hi(t,n.marginBox,r))},_i=function(e){var t=e.axis,n=e.moveRelativeTo,r=e.isMoving;return ei(t.line,n.marginBox[t.start]-function(e,t){return t.margin[e.end]+t.borderBox[e.size]/2}(t,r),Hi(t,n.marginBox,r))},Wi=function(e){var t=e.impact,n=e.draggable,r=e.draggables,o=e.droppable,i=e.afterCritical,a=mi(o.descriptor.id,r),l=n.page,c=o.axis;if(!a.length)return function(e){var t=e.axis,n=e.moveInto,r=e.isMoving;return ei(t.line,n.contentBox[t.start]+zi(t,r),Hi(t,n.contentBox,r))}({axis:c,moveInto:o.page,isMoving:l});var s=t.displaced,u=t.displacedBy,d=s.all[0];if(d){var p=r[d];if(Ni(d,i))return _i({axis:c,moveRelativeTo:p.page,isMoving:l});var f=Do(p.page,u.point);return _i({axis:c,moveRelativeTo:f,isMoving:l})}var g=a[a.length-1];if(g.descriptor.id===n.descriptor.id)return l.borderBox.center;if(Ni(g.descriptor.id,i)){var b=Do(g.page,Zo(i.displacedBy.point));return Gi({axis:c,moveRelativeTo:b,isMoving:l})}return Gi({axis:c,moveRelativeTo:g.page,isMoving:l})},qi=function(e,t){var n=e.frame;return n?Jo(t,n.scroll.diff.displacement):t},Ui=function(e){var t=function(e){var t=e.impact,n=e.draggable,r=e.droppable,o=e.draggables,i=e.afterCritical,a=n.page.borderBox.center,l=t.at;return r&&l?"REORDER"===l.type?Wi({impact:t,draggable:n,draggables:o,droppable:r,afterCritical:i}):ji({impact:t,draggables:o,afterCritical:i}):a}(e),n=e.droppable;return n?qi(n,t):t},Vi=function(e,t){var n=Ko(t,e.scroll.initial),r=Zo(n);return{frame:wo({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 $i(e,t){return e.map((function(e){return t[e]}))}var Yi=function(e){var t=e.pageBorderBoxCenter,n=e.draggable,r=function(e,t){return Jo(e.scroll.diff.displacement,t)}(e.viewport,t),o=Ko(r,n.page.borderBox.center);return Jo(n.client.borderBox.center,o)},Xi=function(e){var t=e.draggable,n=e.destination,r=e.newPageBorderBoxCenter,o=e.viewport,i=e.withDroppableDisplacement,a=e.onlyOnMainAxis,l=void 0!==a&&a,c=Ko(r,t.page.borderBox.center),s={target:oi(t.page.borderBox,c),destination:n,withDroppableDisplacement:i,viewport:o};return l?function(e){return Ai(Gn({},e,{isVisibleThroughFrameFn:(t=e.destination.axis,function(e){var n=ki(e.top,e.bottom),r=ki(e.left,e.right);return function(e){return t===Oi?n(e.top)&&n(e.bottom):r(e.left)&&r(e.right)}})}));var t}(s):Li(s)},Ji=function(e){var t=e.isMovingForward,n=e.draggable,r=e.destination,o=e.draggables,i=e.previousImpact,a=e.viewport,l=e.previousPageBorderBoxCenter,c=e.previousClientSelection,s=e.afterCritical;if(!r.isEnabled)return null;var u=mi(r.descriptor.id,o),d=wi(n,r),p=function(e){var t=e.isMovingForward,n=e.draggable,r=e.destination,o=e.insideDestination,i=e.previousImpact;if(!r.isCombineEnabled)return null;if(!vi(i))return null;function a(e){var t={type:"COMBINE",combine:{draggableId:e,droppableId:r.descriptor.id}};return Gn({},i,{at:t})}var l=i.displaced.all,c=l.length?l[0]:null;if(t)return c?a(c):null;var s=xi(n,o);if(!c)return s.length?a(s[s.length-1].descriptor.id):null;var u=ui(s,(function(e){return e.descriptor.id===c}));-1===u&&zo(!1);var d=u-1;return d<0?null:a(s[d].descriptor.id)}({isMovingForward:t,draggable:n,destination:r,insideDestination:u,previousImpact:i})||Fi({isMovingForward:t,isInHomeList:d,draggable:n,draggables:o,destination:r,insideDestination:u,previousImpact:i,viewport:a,afterCritical:s});if(!p)return null;var f=Ui({impact:p,draggable:n,droppable:r,draggables:o,afterCritical:s});if(Xi({draggable:n,destination:r,newPageBorderBoxCenter:f,viewport:a.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0}))return{clientSelection:Yi({pageBorderBoxCenter:f,draggable:n,viewport:a}),impact:p,scrollJumpRequest:null};var g=Ko(f,l);return{clientSelection:c,impact:function(e){var t=e.impact,n=e.viewport,r=e.destination,o=e.draggables,i=e.maxScrollChange,a=Vi(n,Jo(n.scroll.current,i)),l=r.frame?ci(r,Jo(r.frame.scroll.current,i)):r,c=t.displaced,s=Bi({afterDragging:$i(c.all,o),destination:r,displacedBy:t.displacedBy,viewport:a.frame,last:c,forceShouldAnimate:!1}),u=Bi({afterDragging:$i(c.all,o),destination:l,displacedBy:t.displacedBy,viewport:n.frame,last:c,forceShouldAnimate:!1}),d={},p={},f=[c,s,u];return c.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,f);t?p[e]=t:d[e]=!0})),Gn({},t,{displaced:{all:c.all,invisible:d,visible:p}})}({impact:p,viewport:a,destination:r,draggables:o,maxScrollChange:g}),scrollJumpRequest:g}},Ki=function(e){var t=e.subject.active;return t||zo(!1),t},Qi=function(e,t){var n=e.page.borderBox.center;return Ni(e.descriptor.id,t)?Ko(n,t.displacedBy.point):n},Zi=function(e,t){var n=e.page.borderBox;return Ni(e.descriptor.id,t)?oi(n,Zo(t.displacedBy.point)):n},ea=Bo((function(e,t){var n=t[e.line];return{value:n,point:ei(e.line,n)}})),ta=function(e,t){return Gn({},e,{scroll:Gn({},e.scroll,{max:t})})},na=function(e,t,n){var r=e.frame;wi(t,e)&&zo(!1),e.subject.withPlaceholder&&zo(!1);var o=ea(e.axis,t.displaceBy).point,i=function(e,t,n){var r=e.axis;if("virtual"===e.descriptor.mode)return ei(r.line,t[r.line]);var o=e.subject.page.contentBox[r.size],i=mi(e.descriptor.id,n).reduce((function(e,t){return e+t.client.marginBox[r.size]}),0)+t[r.line]-o;return i<=0?null:ei(r.line,i)}(e,o,n),a={placeholderSize:o,increasedBy:i,oldFrameMaxScroll:e.frame?e.frame.scroll.max:null};if(!r)return Gn({},e,{subject:li({page:e.subject.page,withPlaceholder:a,axis:e.axis,frame:e.frame})});var l=i?Jo(r.scroll.max,i):r.scroll.max,c=ta(r,l);return Gn({},e,{subject:li({page:e.subject.page,withPlaceholder:a,axis:e.axis,frame:c}),frame:c})},ra=function(e){var t=e.isMovingForward,n=e.previousPageBorderBoxCenter,r=e.draggable,o=e.isOver,i=e.draggables,a=e.droppables,l=e.viewport,c=e.afterCritical,s=function(e){var t=e.isMovingForward,n=e.pageBorderBoxCenter,r=e.source,o=e.droppables,i=e.viewport,a=r.subject.active;if(!a)return null;var l=r.axis,c=ki(a[l.start],a[l.end]),s=bi(o).filter((function(e){return e!==r})).filter((function(e){return e.isEnabled})).filter((function(e){return Boolean(e.subject.active)})).filter((function(e){return Si(i.frame)(Ki(e))})).filter((function(e){var n=Ki(e);return t?a[l.crossAxisEnd]<n[l.crossAxisEnd]:n[l.crossAxisStart]<a[l.crossAxisStart]})).filter((function(e){var t=Ki(e),n=ki(t[l.start],t[l.end]);return c(t[l.start])||c(t[l.end])||n(a[l.start])||n(a[l.end])})).sort((function(e,n){var r=Ki(e)[l.crossAxisStart],o=Ki(n)[l.crossAxisStart];return t?r-o:o-r})).filter((function(e,t,n){return Ki(e)[l.crossAxisStart]===Ki(n[0])[l.crossAxisStart]}));if(!s.length)return null;if(1===s.length)return s[0];var u=s.filter((function(e){return ki(Ki(e)[l.start],Ki(e)[l.end])(n[l.line])}));return 1===u.length?u[0]:u.length>1?u.sort((function(e,t){return Ki(e)[l.start]-Ki(t)[l.start]}))[0]:s.sort((function(e,t){var r=ni(n,ii(Ki(e))),o=ni(n,ii(Ki(t)));return r!==o?r-o:Ki(e)[l.start]-Ki(t)[l.start]}))[0]}({isMovingForward:t,pageBorderBoxCenter:n,source:o,droppables:a,viewport:l});if(!s)return null;var u=mi(s.descriptor.id,i),d=function(e){var t=e.previousPageBorderBoxCenter,n=e.moveRelativeTo,r=e.insideDestination,o=e.draggable,i=e.draggables,a=e.destination,l=e.viewport,c=e.afterCritical;if(!n){if(r.length)return null;var s={displaced:Ii,displacedBy:Ci,at:{type:"REORDER",destination:{droppableId:a.descriptor.id,index:0}}},u=Ui({impact:s,draggable:o,droppable:a,draggables:i,afterCritical:c}),d=wi(o,a)?a:na(a,o,i);return Xi({draggable:o,destination:d,newPageBorderBoxCenter:u,viewport:l.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0})?s:null}var p,f=Boolean(t[a.axis.line]<=n.page.borderBox.center[a.axis.line]),g=(p=n.descriptor.index,n.descriptor.id===o.descriptor.id||f?p:p+1),b=ea(a.axis,o.displaceBy);return Ri({draggable:o,insideDestination:r,destination:a,viewport:l,displacedBy:b,last:Ii,index:g})}({previousPageBorderBoxCenter:n,destination:s,draggable:r,draggables:i,moveRelativeTo:function(e){var t=e.pageBorderBoxCenter,n=e.viewport,r=e.destination,o=e.insideDestination,i=e.afterCritical;return o.filter((function(e){return Li({target:Zi(e,i),destination:r,viewport:n.frame,withDroppableDisplacement:!0})})).sort((function(e,n){var o=ti(t,qi(r,Qi(e,i))),a=ti(t,qi(r,Qi(n,i)));return o<a?-1:a<o?1:e.descriptor.index-n.descriptor.index}))[0]||null}({pageBorderBoxCenter:n,viewport:l,destination:s,insideDestination:u,afterCritical:c}),insideDestination:u,viewport:l,afterCritical:c});if(!d)return null;var p=Ui({impact:d,draggable:r,droppable:s,draggables:i,afterCritical:c});return{clientSelection:Yi({pageBorderBoxCenter:p,draggable:r,viewport:l}),impact:d,scrollJumpRequest:null}},oa=function(e){var t=e.at;return t?"REORDER"===t.type?t.destination.droppableId:t.combine.droppableId:null},ia=function(e){var t=e.state,n=e.type,r=function(e,t){var n=oa(e);return n?t[n]:null}(t.impact,t.dimensions.droppables),o=Boolean(r),i=t.dimensions.droppables[t.critical.droppable.id],a=r||i,l=a.axis.direction,c="vertical"===l&&("MOVE_UP"===n||"MOVE_DOWN"===n)||"horizontal"===l&&("MOVE_LEFT"===n||"MOVE_RIGHT"===n);if(c&&!o)return null;var s="MOVE_DOWN"===n||"MOVE_RIGHT"===n,u=t.dimensions.draggables[t.critical.draggable.id],d=t.current.page.borderBoxCenter,p=t.dimensions,f=p.draggables,g=p.droppables;return c?Ji({isMovingForward:s,previousPageBorderBoxCenter:d,draggable:u,destination:a,draggables:f,viewport:t.viewport,previousClientSelection:t.current.client.selection,previousImpact:t.impact,afterCritical:t.afterCritical}):ra({isMovingForward:s,previousPageBorderBoxCenter:d,draggable:u,isOver:a,draggables:f,droppables:g,viewport:t.viewport,afterCritical:t.afterCritical})};function aa(e){return"DRAGGING"===e.phase||"COLLECTING"===e.phase}function la(e){var t=ki(e.top,e.bottom),n=ki(e.left,e.right);return function(e){return t(e.y)&&n(e.x)}}function ca(e){var t=e.pageBorderBox,n=e.draggable,r=e.droppables,o=bi(r).filter((function(e){if(!e.isEnabled)return!1;var n,r,o=e.subject.active;if(!o)return!1;if(r=o,!((n=t).left<r.right&&n.right>r.left&&n.top<r.bottom&&n.bottom>r.top))return!1;if(la(o)(t.center))return!0;var i=e.axis,a=o.center[i.crossAxisLine],l=t[i.crossAxisStart],c=t[i.crossAxisEnd],s=ki(o[i.crossAxisStart],o[i.crossAxisEnd]),u=s(l),d=s(c);return!u&&!d||(u?l<a:c>a)}));return o.length?1===o.length?o[0].descriptor.id:function(e){var t=e.pageBorderBox,n=e.draggable,r=e.candidates,o=n.page.borderBox.center,i=r.map((function(e){var n=e.axis,r=ei(e.axis.line,t.center[n.line],e.page.borderBox.center[n.crossAxisLine]);return{id:e.descriptor.id,distance:ti(o,r)}})).sort((function(e,t){return t.distance-e.distance}));return i[0]?i[0].id:null}({pageBorderBox:t,draggable:n,candidates:o}):null}var sa=function(e,t){return wo(oi(e,t))};function ua(e){var t=e.displaced,n=e.id;return Boolean(t.visible[n]||t.invisible[n])}var da=function(e){var t=e.pageOffset,n=e.draggable,r=e.draggables,o=e.droppables,i=e.previousImpact,a=e.viewport,l=e.afterCritical,c=sa(n.page.borderBox,t),s=ca({pageBorderBox:c,draggable:n,droppables:o});if(!s)return Pi;var u=o[s],d=mi(u.descriptor.id,r),p=function(e,t){var n=e.frame;return n?sa(t,n.scroll.diff.value):t}(u,c);return function(e){var t=e.draggable,n=e.pageBorderBoxWithDroppableScroll,r=e.previousImpact,o=e.destination,i=e.insideDestination,a=e.afterCritical;if(!o.isCombineEnabled)return null;var l=o.axis,c=ea(o.axis,t.displaceBy),s=c.value,u=n[l.start],d=n[l.end],p=di(xi(t,i),(function(e){var t=e.descriptor.id,n=e.page.borderBox,o=n[l.size]/4,i=Ni(t,a),c=ua({displaced:r.displaced,id:t});return i?c?d>n[l.start]+o&&d<n[l.end]-o:u>n[l.start]-s+o&&u<n[l.end]-s-o:c?d>n[l.start]+s+o&&d<n[l.end]+s-o:u>n[l.start]+o&&u<n[l.end]-o}));return p?{displacedBy:c,displaced:r.displaced,at:{type:"COMBINE",combine:{draggableId:p.descriptor.id,droppableId:o.descriptor.id}}}:null}({pageBorderBoxWithDroppableScroll:p,draggable:n,previousImpact:i,destination:u,insideDestination:d,afterCritical:l})||function(e){var t=e.pageBorderBoxWithDroppableScroll,n=e.draggable,r=e.destination,o=e.insideDestination,i=e.last,a=e.viewport,l=e.afterCritical,c=r.axis,s=ea(r.axis,n.displaceBy),u=s.value,d=t[c.start],p=t[c.end],f=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:di(xi(n,o),(function(e){var t=e.descriptor.id,n=e.page.borderBox.center[c.line],r=Ni(t,l),o=ua({displaced:i,id:t});return r?o?p<=n:d<n-u:o?p<=n+u:d<n})),inHomeList:wi(n,r)});return Ri({draggable:n,insideDestination:o,destination:r,viewport:a,last:i,displacedBy:s,index:f})}({pageBorderBoxWithDroppableScroll:p,draggable:n,destination:u,insideDestination:d,last:i.displaced,viewport:a,afterCritical:l})},pa=function(e,t){var n;return Gn({},e,((n={})[t.descriptor.id]=t,n))},fa=function(e){var t=e.previousImpact,n=e.impact,r=e.droppables,o=oa(t),i=oa(n);if(!o)return r;if(o===i)return r;var a=r[o];if(!a.subject.withPlaceholder)return r;var l=function(e){var t=e.subject.withPlaceholder;t||zo(!1);var n=e.frame;if(!n)return Gn({},e,{subject:li({page:e.subject.page,axis:e.axis,frame:null,withPlaceholder:null})});var r=t.oldFrameMaxScroll;r||zo(!1);var o=ta(n,r);return Gn({},e,{subject:li({page:e.subject.page,axis:e.axis,frame:o,withPlaceholder:null}),frame:o})}(a);return pa(r,l)},ga=function(e){var t=e.state,n=e.clientSelection,r=e.dimensions,o=e.viewport,i=e.impact,a=e.scrollJumpRequest,l=o||t.viewport,c=r||t.dimensions,s=n||t.current.client.selection,u=Ko(s,t.initial.client.selection),d={offset:u,selection:s,borderBoxCenter:Jo(t.initial.client.borderBoxCenter,u)},p={selection:Jo(d.selection,l.scroll.current),borderBoxCenter:Jo(d.borderBoxCenter,l.scroll.current),offset:Jo(d.offset,l.scroll.diff.value)},f={client:d,page:p};if("COLLECTING"===t.phase)return Gn({phase:"COLLECTING"},t,{dimensions:c,viewport:l,current:f});var g=c.draggables[t.critical.draggable.id],b=i||da({pageOffset:p.offset,draggable:g,draggables:c.draggables,droppables:c.droppables,previousImpact:t.impact,viewport:l,afterCritical:t.afterCritical}),h=function(e){var t=e.draggable,n=e.draggables,r=e.droppables,o=e.previousImpact,i=e.impact,a=fa({previousImpact:o,impact:i,droppables:r}),l=oa(i);if(!l)return a;var c=r[l];if(wi(t,c))return a;if(c.subject.withPlaceholder)return a;var s=na(c,t,n);return pa(a,s)}({draggable:g,impact:b,previousImpact:t.impact,draggables:c.draggables,droppables:c.droppables});return Gn({},t,{current:f,dimensions:{draggables:c.draggables,droppables:h},impact:b,viewport:l,scrollJumpRequest:a||null,forceShouldAnimate:!a&&null})};var ba=function(e){var t=e.impact,n=e.viewport,r=e.draggables,o=e.destination,i=e.forceShouldAnimate,a=t.displaced;return Gn({},t,{displaced:Bi({afterDragging:function(e,t){return e.map((function(e){return t[e]}))}(a.all,r),destination:o,displacedBy:t.displacedBy,viewport:n.frame,forceShouldAnimate:i,last:a})})},ha=function(e){var t=e.impact,n=e.draggable,r=e.droppable,o=e.draggables,i=e.viewport,a=e.afterCritical,l=Ui({impact:t,draggable:n,draggables:o,droppable:r,afterCritical:a});return Yi({pageBorderBoxCenter:l,draggable:n,viewport:i})},ma=function(e){var t=e.state,n=e.dimensions,r=e.viewport;"SNAP"!==t.movementMode&&zo(!1);var o=t.impact,i=r||t.viewport,a=n||t.dimensions,l=a.draggables,c=a.droppables,s=l[t.critical.draggable.id],u=oa(o);u||zo(!1);var d=c[u],p=ba({impact:o,viewport:i,destination:d,draggables:l}),f=ha({impact:p,draggable:s,droppable:d,draggables:l,viewport:i,afterCritical:t.afterCritical});return ga({impact:p,clientSelection:f,state:t,dimensions:a,viewport:i})},va=function(e){var t=e.draggable,n=e.home,r=e.draggables,o=e.viewport,i=ea(n.axis,t.displaceBy),a=mi(n.descriptor.id,r),l=a.indexOf(t);-1===l&&zo(!1);var c,s=a.slice(l+1),u=s.reduce((function(e,t){return e[t.descriptor.id]=!0,e}),{}),d={inVirtualList:"virtual"===n.descriptor.mode,displacedBy:i,effected:u};return{impact:{displaced:Bi({afterDragging:s,destination:n,displacedBy:i,last:null,viewport:o.frame,forceShouldAnimate:!1}),displacedBy:i,at:{type:"REORDER",destination:(c=t.descriptor,{index:c.index,droppableId:c.droppableId})}},afterCritical:d}},ya=function(e){var t=e.additions,n=e.updatedDroppables,r=e.viewport,o=r.scroll.diff.value;return t.map((function(e){var t=e.descriptor.droppableId,i=function(e){var t=e.frame;return t||zo(!1),t}(n[t]).scroll.diff.value;return function(e){var t=e.draggable,n=e.offset,r=e.initialWindowScroll,o=Do(t.client,n),i=Oo(o,r);return Gn({},t,{placeholder:Gn({},t.placeholder,{client:o}),client:o,page:i})}({draggable:e,offset:Jo(o,i),initialWindowScroll:r.scroll.initial})}))},xa=function(e){return"SNAP"===e.movementMode},wa=function(e,t,n){var r=function(e,t){return{draggables:e.draggables,droppables:pa(e.droppables,t)}}(e.dimensions,t);return!xa(e)||n?ga({state:e,dimensions:r}):ma({state:e,dimensions:r})};function Ca(e){return e.isDragging&&"SNAP"===e.movementMode?Gn({phase:"DRAGGING"},e,{scrollJumpRequest:null}):e}var Ia={phase:"IDLE",completed:null,shouldFlush:!1},Pa=function(e,t){if(void 0===e&&(e=Ia),"FLUSH"===t.type)return Gn({},Ia,{shouldFlush:!0});if("INITIAL_PUBLISH"===t.type){"IDLE"!==e.phase&&zo(!1);var n=t.payload,r=n.critical,o=n.clientSelection,i=n.viewport,a=n.dimensions,l=n.movementMode,c=a.draggables[r.draggable.id],s=a.droppables[r.droppable.id],u={selection:o,borderBoxCenter:c.client.borderBox.center,offset:Xo},d={client:u,page:{selection:Jo(u.selection,i.scroll.initial),borderBoxCenter:Jo(u.selection,i.scroll.initial),offset:Jo(u.selection,i.scroll.diff.value)}},p=bi(a.droppables).every((function(e){return!e.isFixedOnPage})),f=va({draggable:c,home:s,draggables:a.draggables,viewport:i}),g=f.impact;return{phase:"DRAGGING",isDragging:!0,critical:r,movementMode:l,dimensions:a,initial:d,current:d,isWindowScrollAllowed:p,impact:g,afterCritical:f.afterCritical,onLiftImpact:g,viewport:i,scrollJumpRequest:null,forceShouldAnimate:null}}if("COLLECTION_STARTING"===t.type)return"COLLECTING"===e.phase||"DROP_PENDING"===e.phase?e:("DRAGGING"!==e.phase&&zo(!1),Gn({phase:"COLLECTING"},e,{phase:"COLLECTING"}));if("PUBLISH_WHILE_DRAGGING"===t.type)return"COLLECTING"!==e.phase&&"DROP_PENDING"!==e.phase&&zo(!1),function(e){var t=e.state,n=e.published,r=n.modified.map((function(e){var n=t.dimensions.droppables[e.droppableId];return ci(n,e.scroll)})),o=Gn({},t.dimensions.droppables,{},fi(r)),i=gi(ya({additions:n.additions,updatedDroppables:o,viewport:t.viewport})),a=Gn({},t.dimensions.draggables,{},i);n.removals.forEach((function(e){delete a[e]}));var l={droppables:o,draggables:a},c=oa(t.impact),s=c?l.droppables[c]:null,u=l.draggables[t.critical.draggable.id],d=l.droppables[t.critical.droppable.id],p=va({draggable:u,home:d,draggables:a,viewport:t.viewport}),f=p.impact,g=p.afterCritical,b=s&&s.isCombineEnabled?t.impact:f,h=da({pageOffset:t.current.page.offset,draggable:l.draggables[t.critical.draggable.id],draggables:l.draggables,droppables:l.droppables,previousImpact:b,viewport:t.viewport,afterCritical:g}),m=Gn({phase:"DRAGGING"},t,{phase:"DRAGGING",impact:h,onLiftImpact:f,dimensions:l,afterCritical:g,forceShouldAnimate:!1});return"COLLECTING"===t.phase?m:Gn({phase:"DROP_PENDING"},m,{phase:"DROP_PENDING",reason:t.reason,isWaiting:!1})}({state:e,published:t.payload});if("MOVE"===t.type){if("DROP_PENDING"===e.phase)return e;aa(e)||zo(!1);var b=t.payload.client;return Qo(b,e.current.client.selection)?e:ga({state:e,clientSelection:b,impact:xa(e)?e.impact:null})}if("UPDATE_DROPPABLE_SCROLL"===t.type){if("DROP_PENDING"===e.phase)return Ca(e);if("COLLECTING"===e.phase)return Ca(e);aa(e)||zo(!1);var h=t.payload,m=h.id,v=h.newScroll,y=e.dimensions.droppables[m];if(!y)return e;var x=ci(y,v);return wa(e,x,!1)}if("UPDATE_DROPPABLE_IS_ENABLED"===t.type){if("DROP_PENDING"===e.phase)return e;aa(e)||zo(!1);var w=t.payload,C=w.id,I=w.isEnabled,P=e.dimensions.droppables[C];P||zo(!1),P.isEnabled===I&&zo(!1);var k=Gn({},P,{isEnabled:I});return wa(e,k,!0)}if("UPDATE_DROPPABLE_IS_COMBINE_ENABLED"===t.type){if("DROP_PENDING"===e.phase)return e;aa(e)||zo(!1);var S=t.payload,D=S.id,O=S.isCombineEnabled,E=e.dimensions.droppables[D];E||zo(!1),E.isCombineEnabled===O&&zo(!1);var A=Gn({},E,{isCombineEnabled:O});return wa(e,A,!0)}if("MOVE_BY_WINDOW_SCROLL"===t.type){if("DROP_PENDING"===e.phase||"DROP_ANIMATING"===e.phase)return e;aa(e)||zo(!1),e.isWindowScrollAllowed||zo(!1);var M=t.payload.newScroll;if(Qo(e.viewport.scroll.current,M))return Ca(e);var L=Vi(e.viewport,M);return xa(e)?ma({state:e,viewport:L}):ga({state:e,viewport:L})}if("UPDATE_VIEWPORT_MAX_SCROLL"===t.type){if(!aa(e))return e;var B=t.payload.maxScroll;if(Qo(B,e.viewport.scroll.max))return e;var T=Gn({},e.viewport,{scroll:Gn({},e.viewport.scroll,{max:B})});return Gn({phase:"DRAGGING"},e,{viewport:T})}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&&zo(!1);var R=ia({state:e,type:t.type});return R?ga({state:e,impact:R.impact,clientSelection:R.clientSelection,scrollJumpRequest:R.scrollJumpRequest}):e}if("DROP_PENDING"===t.type){var N=t.payload.reason;return"COLLECTING"!==e.phase&&zo(!1),Gn({phase:"DROP_PENDING"},e,{phase:"DROP_PENDING",isWaiting:!0,reason:N})}if("DROP_ANIMATE"===t.type){var F=t.payload,j=F.completed,z=F.dropDuration,H=F.newHomeClientOffset;return"DRAGGING"!==e.phase&&"DROP_PENDING"!==e.phase&&zo(!1),{phase:"DROP_ANIMATING",completed:j,dropDuration:z,newHomeClientOffset:H,dimensions:e.dimensions}}return"DROP_COMPLETE"===t.type?{phase:"IDLE",completed:t.payload.completed,shouldFlush:!1}:e},ka=function(e){return{type:"PUBLISH_WHILE_DRAGGING",payload:e}},Sa=function(){return{type:"COLLECTION_STARTING",payload:null}},Da=function(e){return{type:"UPDATE_DROPPABLE_SCROLL",payload:e}},Oa=function(e){return{type:"UPDATE_DROPPABLE_IS_ENABLED",payload:e}},Ea=function(e){return{type:"UPDATE_DROPPABLE_IS_COMBINE_ENABLED",payload:e}},Aa=function(e){return{type:"MOVE",payload:e}},Ma=function(){return{type:"MOVE_UP",payload:null}},La=function(){return{type:"MOVE_DOWN",payload:null}},Ba=function(){return{type:"MOVE_RIGHT",payload:null}},Ta=function(){return{type:"MOVE_LEFT",payload:null}},Ra=function(e){return{type:"DROP_COMPLETE",payload:e}},Na=function(e){return{type:"DROP",payload:e}},Fa=function(){return{type:"DROP_ANIMATION_FINISHED",payload:null}},ja="cubic-bezier(.2,1,.1,1)",za={drop:0,combining:.7},Ha={drop:.75},Ga=.2+"s "+"cubic-bezier(0.2, 0, 0, 1)",_a={fluid:"opacity "+Ga,snap:"transform "+Ga+", opacity "+Ga,drop:function(e){var t=e+"s "+ja;return"transform "+t+", opacity "+t},outOfTheWay:"transform "+Ga,placeholder:"height "+Ga+", width "+Ga+", margin "+Ga},Wa=function(e){return Qo(e,Xo)?null:"translate("+e.x+"px, "+e.y+"px)"},qa=Wa,Ua=function(e,t){var n=Wa(e);return n?t?n+" scale("+Ha.drop+")":n:null},Va=.33,$a=.55,Ya=$a-Va,Xa=function(e){var t=e.getState,n=e.dispatch;return function(e){return function(r){if("DROP"===r.type){var o=t(),i=r.payload.reason;if("COLLECTING"!==o.phase){if("IDLE"!==o.phase){"DROP_PENDING"===o.phase&&o.isWaiting&&zo(!1),"DRAGGING"!==o.phase&&"DROP_PENDING"!==o.phase&&zo(!1);var a=o.critical,l=o.dimensions,c=l.draggables[o.critical.draggable.id],s=function(e){var t=e.draggables,n=e.reason,r=e.lastImpact,o=e.home,i=e.viewport,a=e.onLiftImpact;return r.at&&"DROP"===n?"REORDER"===r.at.type?{impact:r,didDropInsideDroppable:!0}:{impact:Gn({},r,{displaced:Ii}),didDropInsideDroppable:!0}:{impact:ba({draggables:t,impact:a,destination:o,viewport:i,forceShouldAnimate:!0}),didDropInsideDroppable:!1}}({reason:i,lastImpact:o.impact,afterCritical:o.afterCritical,onLiftImpact:o.onLiftImpact,home:o.dimensions.droppables[o.critical.droppable.id],viewport:o.viewport,draggables:o.dimensions.draggables}),u=s.impact,d=s.didDropInsideDroppable,p=d?vi(u):null,f=d?yi(u):null,g={index:a.draggable.index,droppableId:a.droppable.id},b={draggableId:c.descriptor.id,type:c.descriptor.type,source:g,reason:i,mode:o.movementMode,destination:p,combine:f},h=function(e){var t=e.impact,n=e.draggable,r=e.dimensions,o=e.viewport,i=e.afterCritical,a=r.draggables,l=r.droppables,c=oa(t),s=c?l[c]:null,u=l[n.descriptor.droppableId],d=ha({impact:t,draggable:n,draggables:a,afterCritical:i,droppable:s||u,viewport:o});return Ko(d,n.client.borderBox.center)}({impact:u,draggable:c,dimensions:l,viewport:o.viewport,afterCritical:o.afterCritical}),m={critical:o.critical,afterCritical:o.afterCritical,result:b,impact:u};if(!Qo(o.current.client.offset,h)||Boolean(b.combine)){var v=function(e){var t=e.current,n=e.destination,r=e.reason,o=ti(t,n);if(o<=0)return Va;if(o>=1500)return $a;var i=Va+Ya*(o/1500);return Number(("CANCEL"===r?.6*i:i).toFixed(2))}({current:o.current.client.offset,destination:h,reason:i});n(function(e){return{type:"DROP_ANIMATE",payload:e}}({newHomeClientOffset:h,dropDuration:v,completed:m}))}else n(Ra({completed:m}))}}else n(function(e){return{type:"DROP_PENDING",payload:e}}({reason:i}))}else e(r)}}},Ja=function(){return{x:window.pageXOffset,y:window.pageYOffset}};function Ka(e){var t=e.onWindowScroll;var n=To((function(){t(Ja())})),r=function(e){return{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(t){t.target!==window&&t.target!==window.document||e()}}}(n),o=No;function i(){return o!==No}return{start:function(){i()&&zo(!1),o=Fo(window,[r])},stop:function(){i()||zo(!1),n.cancel(),o(),o=No},isActive:i}}var Qa=function(e){var t=Ka({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)}}},Za=function(){var e=[];return{add:function(t){var n=setTimeout((function(){return function(t){var n=ui(e,(function(e){return e.timerId===t}));-1===n&&zo(!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()}))}}}},el=function(e,t){t()},tl=function(e,t){return{draggableId:e.draggable.id,type:e.droppable.type,source:{droppableId:e.droppable.id,index:e.draggable.index},mode:t}},nl=function(e,t,n,r){if(e){var o=function(e){var t=!1,n=!1,r=setTimeout((function(){n=!0})),o=function(o){t||n||(t=!0,e(o),clearTimeout(r))};return o.wasCalled=function(){return t},o}(n);e(t,{announce:o}),o.wasCalled()||n(r(t))}else n(r(t))},rl=function(e,t){var n=function(e,t){var n=Za(),r=null,o=function(n){r||zo(!1),r=null,el(0,(function(){return nl(e().onDragEnd,n,t,Yo)}))};return{beforeCapture:function(t,n){r&&zo(!1),el(0,(function(){var r=e().onBeforeCapture;r&&r({draggableId:t,mode:n})}))},beforeStart:function(t,n){r&&zo(!1),el(0,(function(){var r=e().onBeforeDragStart;r&&r(tl(t,n))}))},start:function(o,i){r&&zo(!1);var a=tl(o,i);r={mode:i,lastCritical:o,lastLocation:a.source,lastCombine:null},n.add((function(){el(0,(function(){return nl(e().onDragStart,a,t,Vo)}))}))},update:function(o,i){var a=vi(i),l=yi(i);r||zo(!1);var c=!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}(o,r.lastCritical);c&&(r.lastCritical=o);var s,u,d=(u=a,!(null==(s=r.lastLocation)&&null==u||null!=s&&null!=u&&s.droppableId===u.droppableId&&s.index===u.index));d&&(r.lastLocation=a);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),c||d||p){var f=Gn({},tl(o,r.mode),{combine:l,destination:a});n.add((function(){el(0,(function(){return nl(e().onDragUpdate,f,t,$o)}))}))}},flush:function(){r||zo(!1),n.flush()},drop:o,abort:function(){if(r){var e=Gn({},tl(r.lastCritical,r.mode),{combine:null,destination:null,reason:"CANCEL"});o(e)}}}}(e,t);return function(e){return function(t){return function(r){if("BEFORE_INITIAL_CAPTURE"!==r.type){if("INITIAL_PUBLISH"===r.type){var o=r.payload.critical;return n.beforeStart(o,r.payload.movementMode),t(r),void n.start(o,r.payload.movementMode)}if("DROP_COMPLETE"===r.type){var i=r.payload.completed.result;return n.flush(),t(r),void n.drop(i)}if(t(r),"FLUSH"!==r.type){var a=e.getState();"DRAGGING"===a.phase&&n.update(a.critical,a.impact)}else n.abort()}else n.beforeCapture(r.payload.draggableId,r.payload.movementMode)}}}},ol=function(e){return function(t){return function(n){if("DROP_ANIMATION_FINISHED"===n.type){var r=e.getState();"DROP_ANIMATING"!==r.phase&&zo(!1),e.dispatch(Ra({completed:r.completed}))}else t(n)}}},il=function(e){var t=null,n=null;return function(r){return function(o){if("FLUSH"!==o.type&&"DROP_COMPLETE"!==o.type&&"DROP_ANIMATION_FINISHED"!==o.type||(n&&(cancelAnimationFrame(n),n=null),t&&(t(),t=null)),r(o),"DROP_ANIMATE"===o.type){var i={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=Fo(window,[i])}))}}}},al=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(Na({reason:r.reason})))}}}},ll=Zn,cl=function(e){var t,n=e.dimensionMarshal,r=e.focusMarshal,o=e.styleMarshal,i=e.getResponders,a=e.announce,l=e.autoScroller;return Jn(Pa,ll(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(){var n=e.apply(void 0,arguments),r=function(){throw new Error(Un(15))},o={getState:n.getState,dispatch:function(){return r.apply(void 0,arguments)}},i=t.map((function(e){return e(o)}));return r=Zn.apply(void 0,i)(n.dispatch),qn(qn({},n),{},{dispatch:r})}}}((t=o,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(o){if("LIFT"===o.type){var i=o.payload,a=i.id,l=i.clientSelection,c=i.movementMode,s=n();"DROP_ANIMATING"===s.phase&&r(Ra({completed:s.completed})),"IDLE"!==n().phase&&zo(!1),r({type:"FLUSH",payload:null}),r({type:"BEFORE_INITIAL_CAPTURE",payload:{draggableId:a,movementMode:c}});var u={draggableId:a,scrollOptions:{shouldPublishImmediately:"SNAP"===c}},d=e.startPublishing(u),p=d.critical,f=d.dimensions,g=d.viewport;r({type:"INITIAL_PUBLISH",payload:{critical:p,dimensions:f,clientSelection:l,movementMode:c,viewport:g}})}else t(o)}}}}(n),Xa,ol,il,al,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 o=t.getState();return"DRAGGING"!==o.phase&&zo(!1),void e.start(o)}n(r),e.scroll(t.getState())}}}}(l),Qa,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 o=r.payload.completed.result;o.combine&&e.tryShiftRecord(o.draggableId,o.combine.draggableId),e.tryRestoreFocusRecorded()}}}}}}(r),rl(i,a))))};var sl=function(e){var t=e.scrollHeight,n=e.scrollWidth,r=e.height,o=e.width,i=Ko({x:n,y:t},{x:o,y:r});return{x:Math.max(0,i.x),y:Math.max(0,i.y)}},ul=function(){var e=document.documentElement;return e||zo(!1),e},dl=function(){var e=ul();return sl({scrollHeight:e.scrollHeight,scrollWidth:e.scrollWidth,width:e.clientWidth,height:e.clientHeight})},pl=function(e){var t=e.critical,n=e.scrollOptions,r=e.registry,o=function(){var e=Ja(),t=dl(),n=e.y,r=e.x,o=ul(),i=o.clientWidth,a=o.clientHeight;return{frame:wo({top:n,left:r,right:r+i,bottom:n+a}),scroll:{initial:e,current:e,max:t,diff:{value:Xo,displacement:Xo}}}}(),i=o.scroll.current,a=t.droppable,l=r.droppable.getAllByType(a.type).map((function(e){return e.callbacks.getDimensionAndWatchScroll(i,n)})),c=r.draggable.getAllByType(t.draggable.type).map((function(e){return e.getDimension(i)}));return{dimensions:{draggables:gi(c),droppables:fi(l)},critical:t,viewport:o}};function fl(e,t,n){return n.descriptor.id!==t.id&&(n.descriptor.type===t.type&&"virtual"===e.droppable.getById(n.descriptor.droppableId).descriptor.mode)}var gl,bl,hl=function(e,t){var n=null,r=function(e){var t=e.registry,n=e.callbacks,r={additions:{},removals:{},modified:{}},o=null,i=function(){o||(n.collectionStarting(),o=requestAnimationFrame((function(){o=null;var e=r,i=e.additions,a=e.removals,l=e.modified,c=Object.keys(i).map((function(e){return t.draggable.getById(e).getDimension(Xo)})).sort((function(e,t){return e.descriptor.index-t.descriptor.index})),s=Object.keys(l).map((function(e){return{droppableId:e,scroll:t.droppable.getById(e).callbacks.getScrollWhileDragging()}})),u={additions:c,removals:Object.keys(a),modified:s};r={additions:{},removals:{},modified:{}},n.publish(u)})))};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],i()},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],i()},stop:function(){o&&(cancelAnimationFrame(o),o=null,r={additions:{},removals:{},modified:{}})}}}({callbacks:{publish:t.publishWhileDragging,collectionStarting:t.collectionStarting},registry:e}),o=function(t){n||zo(!1);var o=n.critical.draggable;"ADDITION"===t.type&&fl(e,o,t.value)&&r.add(t.value),"REMOVAL"===t.type&&fl(e,o,t.value)&&r.remove(t.value)};return{updateDroppableIsEnabled:function(r,o){e.droppable.exists(r)||zo(!1),n&&t.updateDroppableIsEnabled({id:r,isEnabled:o})},updateDroppableIsCombineEnabled:function(r,o){n&&(e.droppable.exists(r)||zo(!1),t.updateDroppableIsCombineEnabled({id:r,isCombineEnabled:o}))},scrollDroppable:function(t,r){n&&e.droppable.getById(t).callbacks.scroll(r)},updateDroppableScroll:function(r,o){n&&(e.droppable.exists(r)||zo(!1),t.updateDroppableScroll({id:r,newScroll:o}))},startPublishing:function(t){n&&zo(!1);var r=e.draggable.getById(t.draggableId),i=e.droppable.getById(r.descriptor.droppableId),a={draggable:r.descriptor,droppable:i.descriptor},l=e.subscribe(o);return n={critical:a,unsubscribe:l},pl({critical:a,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}}}},ml=function(e,t){return"IDLE"===e.phase||"DROP_ANIMATING"===e.phase&&(e.completed.result.draggableId!==t&&"DROP"===e.completed.result.reason)},vl=function(e){window.scrollBy(e.x,e.y)},yl=Bo((function(e){return bi(e).filter((function(e){return!!e.isEnabled&&!!e.frame}))})),xl=function(e){var t=e.center,n=e.destination,r=e.droppables;if(n){var o=r[n];return o.frame?o:null}return function(e,t){return di(yl(t),(function(t){return t.frame||zo(!1),la(t.frame.pageMarginBox)(e)}))}(t,r)},wl=.25,Cl=.05,Il=28,Pl=function(e){return Math.pow(e,2)},kl={stopDampeningAt:1200,accelerateAt:360},Sl=function(e){var t=e.startOfRange,n=e.endOfRange,r=e.current,o=n-t;return 0===o?0:(r-t)/o},Dl=kl.accelerateAt,Ol=kl.stopDampeningAt,El=function(e){var t=e.distanceToEdge,n=e.thresholds,r=e.dragStartTime,o=e.shouldUseTimeDampening,i=function(e,t){if(e>t.startScrollingFrom)return 0;if(e<=t.maxScrollValueAt)return Il;if(e===t.startScrollingFrom)return 1;var n=Sl({startOfRange:t.maxScrollValueAt,endOfRange:t.startScrollingFrom,current:e}),r=Il*Pl(1-n);return Math.ceil(r)}(t,n);return 0===i?0:o?Math.max(function(e,t){var n=t,r=Ol,o=Date.now()-n;if(o>=Ol)return e;if(o<Dl)return 1;var i=Sl({startOfRange:Dl,endOfRange:r,current:o}),a=e*Pl(i);return Math.ceil(a)}(i,r),1):i},Al=function(e){var t=e.container,n=e.distanceToEdges,r=e.dragStartTime,o=e.axis,i=e.shouldUseTimeDampening,a=function(e,t){return{startScrollingFrom:e[t.size]*wl,maxScrollValueAt:e[t.size]*Cl}}(t,o);return n[o.end]<n[o.start]?El({distanceToEdge:n[o.end],thresholds:a,dragStartTime:r,shouldUseTimeDampening:i}):-1*El({distanceToEdge:n[o.start],thresholds:a,dragStartTime:r,shouldUseTimeDampening:i})},Ml=ri((function(e){return 0===e?0:e})),Ll=function(e){var t=e.dragStartTime,n=e.container,r=e.subject,o=e.center,i=e.shouldUseTimeDampening,a={top:o.y-n.top,right:n.right-o.x,bottom:n.bottom-o.y,left:o.x-n.left},l=Al({container:n,distanceToEdges:a,dragStartTime:t,axis:Oi,shouldUseTimeDampening:i}),c=Al({container:n,distanceToEdges:a,dragStartTime:t,axis:Ei,shouldUseTimeDampening:i}),s=Ml({x:c,y:l});if(Qo(s,Xo))return null;var u=function(e){var t=e.container,n=e.subject,r=e.proposedScroll,o=n.height>t.height,i=n.width>t.width;return i||o?i&&o?null:{x:i?0:r.x,y:o?0:r.y}:r}({container:n,subject:r,proposedScroll:s});return u?Qo(u,Xo)?null:u:null},Bl=ri((function(e){return 0===e?0:e>0?1:-1})),Tl=(gl=function(e,t){return e<0?e:e>t?e-t:0},function(e){var t=e.current,n=e.max,r=e.change,o=Jo(t,r),i={x:gl(o.x,n.x),y:gl(o.y,n.y)};return Qo(i,Xo)?null:i}),Rl=function(e){var t=e.max,n=e.current,r=e.change,o={x:Math.max(n.x,t.x),y:Math.max(n.y,t.y)},i=Bl(r),a=Tl({max:o,current:n,change:i});return!a||(0!==i.x&&0===a.x||0!==i.y&&0===a.y)},Nl=function(e,t){return Rl({current:e.scroll.current,max:e.scroll.max,change:t})},Fl=function(e,t){var n=e.frame;return!!n&&Rl({current:n.scroll.current,max:n.scroll.max,change:t})},jl=function(e){var t=e.state,n=e.dragStartTime,r=e.shouldUseTimeDampening,o=e.scrollWindow,i=e.scrollDroppable,a=t.current.page.borderBoxCenter,l=t.dimensions.draggables[t.critical.draggable.id].page.marginBox;if(t.isWindowScrollAllowed){var c=function(e){var t=e.viewport,n=e.subject,r=e.center,o=e.dragStartTime,i=e.shouldUseTimeDampening,a=Ll({dragStartTime:o,container:t.frame,subject:n,center:r,shouldUseTimeDampening:i});return a&&Nl(t,a)?a:null}({dragStartTime:n,viewport:t.viewport,subject:l,center:a,shouldUseTimeDampening:r});if(c)return void o(c)}var s=xl({center:a,destination:oa(t.impact),droppables:t.dimensions.droppables});if(s){var u=function(e){var t=e.droppable,n=e.subject,r=e.center,o=e.dragStartTime,i=e.shouldUseTimeDampening,a=t.frame;if(!a)return null;var l=Ll({dragStartTime:o,container:a.pageMarginBox,subject:n,center:r,shouldUseTimeDampening:i});return l&&Fl(t,l)?l:null}({dragStartTime:n,droppable:s,subject:l,center:a,shouldUseTimeDampening:r});u&&i(s.descriptor.id,u)}},zl=function(e){var t=e.move,n=e.scrollDroppable,r=e.scrollWindow,o=function(e,t){if(!Fl(e,t))return t;var r=function(e,t){var n=e.frame;return n&&Fl(e,t)?Tl({current:n.scroll.current,max:n.scroll.max,change:t}):null}(e,t);if(!r)return n(e.descriptor.id,t),null;var o=Ko(t,r);return n(e.descriptor.id,o),Ko(t,o)},i=function(e,t,n){if(!e)return n;if(!Nl(t,n))return n;var o=function(e,t){if(!Nl(e,t))return null;var n=e.scroll.max,r=e.scroll.current;return Tl({current:r,max:n,change:t})}(t,n);if(!o)return r(n),null;var i=Ko(n,o);return r(i),Ko(n,i)};return function(e){var n=e.scrollJumpRequest;if(n){var r=oa(e.impact);r||zo(!1);var a=o(e.dimensions.droppables[r],n);if(a){var l=e.viewport,c=i(e.isWindowScrollAllowed,l,a);c&&function(e,n){var r=Jo(e.current.client.selection,n);t({client:r})}(e,c)}}}},Hl=function(e){var t=e.scrollDroppable,n=e.scrollWindow,r=e.move,o=function(e){var t=e.scrollWindow,n=e.scrollDroppable,r=To(t),o=To(n),i=null,a=function(e){i||zo(!1);var t=i,n=t.shouldUseTimeDampening,a=t.dragStartTime;jl({state:e,scrollWindow:r,scrollDroppable:o,dragStartTime:a,shouldUseTimeDampening:n})};return{start:function(e){i&&zo(!1);var t=Date.now(),n=!1,r=function(){n=!0};jl({state:e,dragStartTime:0,shouldUseTimeDampening:!1,scrollWindow:r,scrollDroppable:r}),i={dragStartTime:t,shouldUseTimeDampening:n},n&&a(e)},stop:function(){i&&(r.cancel(),o.cancel(),i=null)},scroll:a}}({scrollWindow:n,scrollDroppable:t}),i=zl({move:r,scrollWindow:n,scrollDroppable:t});return{scroll:function(e){"DRAGGING"===e.phase&&("FLUID"!==e.movementMode?e.scrollJumpRequest&&i(e):o.scroll(e))},start:o.start,stop:o.stop}},Gl={base:bl="data-rbd-drag-handle",draggableId:bl+"-draggable-id",contextId:bl+"-context-id"},_l=function(){var e="data-rbd-draggable";return{base:e,contextId:e+"-context-id",id:e+"-id"}}(),Wl=function(){var e="data-rbd-droppable";return{base:e,contextId:e+"-context-id",id:e+"-id"}}(),ql={contextId:"data-rbd-scroll-container-context-id"},Ul=function(e,t){return e.map((function(e){var n=e.styles[t];return n?e.selector+" { "+n+" }":""})).join(" ")},Vl="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?i:o,$l=function(){var e=document.querySelector("head");return e||zo(!1),e},Yl=function(e){var t=document.createElement("style");return e&&t.setAttribute("nonce",e),t.type="text/css",t};function Xl(e,t){var n=yo((function(){return function(e){var t,n,r,o=(t=e,function(e){return"["+e+'="'+t+'"]'}),i=(n="\n cursor: -webkit-grab;\n cursor: grab;\n ",{selector:o(Gl.contextId),styles:{always:"\n -webkit-touch-callout: none;\n -webkit-tap-highlight-color: rgba(0,0,0,0);\n touch-action: manipulation;\n ",resting:n,dragging:"pointer-events: none;",dropAnimating:n}}),a=[(r="\n transition: "+_a.outOfTheWay+";\n ",{selector:o(_l.contextId),styles:{dragging:r,dropAnimating:r,userCancel:r}}),i,{selector:o(Wl.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:Ul(a,"always"),resting:Ul(a,"resting"),dragging:Ul(a,"dragging"),dropAnimating:Ul(a,"dropAnimating"),userCancel:Ul(a,"userCancel")}}(e)}),[e]),o=r(null),i=r(null),a=xo(Bo((function(e){var t=i.current;t||zo(!1),t.textContent=e})),[]),l=xo((function(e){var t=o.current;t||zo(!1),t.textContent=e}),[]);Vl((function(){(o.current||i.current)&&zo(!1);var r=Yl(t),c=Yl(t);return o.current=r,i.current=c,r.setAttribute("data-rbd-always",e),c.setAttribute("data-rbd-dynamic",e),$l().appendChild(r),$l().appendChild(c),l(n.always),a(n.resting),function(){var e=function(e){var t=e.current;t||zo(!1),$l().removeChild(t),e.current=null};e(o),e(i)}}),[t,l,a,n.always,n.resting,e]);var c=xo((function(){return a(n.dragging)}),[a,n.dragging]),s=xo((function(e){a("DROP"!==e?n.userCancel:n.dropAnimating)}),[a,n.dropAnimating,n.userCancel]),u=xo((function(){i.current&&a(n.resting)}),[a,n.resting]);return yo((function(){return{dragging:c,dropping:s,resting:u}}),[c,s,u])}var Jl=function(e){return e&&e.ownerDocument?e.ownerDocument.defaultView:window};function Kl(e){return e instanceof Jl(e).HTMLElement}function Ql(e){var t=r({}),n=r(null),o=r(null),i=r(!1),a=xo((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]}}),[]),l=xo((function(t){var n=function(e,t){var n="["+Gl.contextId+'="'+e+'"]',r=pi(document.querySelectorAll(n));if(!r.length)return null;var o=di(r,(function(e){return e.getAttribute(Gl.draggableId)===t}));return o&&Kl(o)?o:null}(e,t);n&&n!==document.activeElement&&n.focus()}),[e]),c=xo((function(e,t){n.current===e&&(n.current=t)}),[]),s=xo((function(){o.current||i.current&&(o.current=requestAnimationFrame((function(){o.current=null;var e=n.current;e&&l(e)})))}),[l]),u=xo((function(e){n.current=null;var t=document.activeElement;t&&t.getAttribute(Gl.draggableId)===e&&(n.current=e)}),[]);return Vl((function(){return i.current=!0,function(){i.current=!1;var e=o.current;e&&cancelAnimationFrame(e)}}),[]),yo((function(){return{register:a,tryRecordFocus:u,tryRestoreFocusRecorded:s,tryShiftRecord:c}}),[a,u,s,c])}function Zl(){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 o(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 o=t.descriptor.id,i=r(o);i&&t.uniqueId===i.uniqueId&&(delete e.draggables[o],n({type:"REMOVAL",value:t}))},getById:function(e){var t=r(e);return t||zo(!1),t},findById:r,exists:function(e){return Boolean(r(e))},getAllByType:function(t){return si(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=o(t.descriptor.id);n&&t.uniqueId===n.uniqueId&&delete e.droppables[t.descriptor.id]},getById:function(e){var t=o(e);return t||zo(!1),t},findById:o,exists:function(e){return Boolean(o(e))},getAllByType:function(t){return si(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 ec=e.createContext(null),tc=function(){var e=document.body;return e||zo(!1),e},nc={position:"absolute",width:"1px",height:"1px",margin:"-1px",border:"0",padding:"0",overflow:"hidden",clip:"rect(0 0 0 0)","clip-path":"inset(100%)"};var rc=0,oc={separator:"::"};function ic(e,t){return void 0===t&&(t=oc),yo((function(){return""+e+t.separator+rc++}),[t.separator,e])}var ac=e.createContext(null);function lc(e){var t=r(e);return o((function(){t.current=e})),t}var cc,sc=((cc={})[13]=!0,cc[9]=!0,cc),uc=function(e){sc[e.keyCode]&&e.preventDefault()},dc=function(){var e="visibilitychange";return"undefined"==typeof document?e:di([e,"ms"+e,"webkit"+e,"moz"+e,"o"+e],(function(e){return"on"+e in document}))||e}();var pc,fc={type:"IDLE"};function gc(e){var t=e.cancel,n=e.completed,r=e.getPhase,o=e.setPhase;return[{eventName:"mousemove",fn:function(e){var t=e.button,n=e.clientX,i=e.clientY;if(0===t){var a={x:n,y:i},l=r();if("DRAGGING"===l.type)return e.preventDefault(),void l.actions.move(a);"PENDING"!==l.type&&zo(!1);var c=l.point;if(s=c,u=a,Math.abs(u.x-s.x)>=5||Math.abs(u.y-s.y)>=5){var s,u;e.preventDefault();var d=l.actions.fluidLift(a);o({type:"DRAGGING",actions:d})}}}},{eventName:"mouseup",fn:function(e){var o=r();"DRAGGING"===o.type?(e.preventDefault(),o.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 uc(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&&zo(!1),n.actions.shouldRespectForcePress()?t():e.preventDefault()}},{eventName:dc,fn:t}]}function bc(){}var hc=((pc={})[34]=!0,pc[33]=!0,pc[36]=!0,pc[35]=!0,pc);function mc(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(hc[r.keyCode]?r.preventDefault():uc(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:dc,fn:n}]}var vc={type:"IDLE"};var yc={input:!0,button:!0,textarea:!0,select:!0,option:!0,optgroup:!0,video:!0,audio:!0};function xc(e,t){if(null==t)return!1;if(Boolean(yc[t.tagName.toLowerCase()]))return!0;var n=t.getAttribute("contenteditable");return"true"===n||""===n||t!==e&&xc(e,t.parentElement)}function wc(e,t){var n=t.target;return!!Kl(n)&&xc(e,n)}var Cc=function(e){return wo(e.getBoundingClientRect()).center};var Ic=function(){var e="matches";return"undefined"==typeof document?e:di([e,"msMatchesSelector","webkitMatchesSelector"],(function(e){return e in Element.prototype}))||e}();function Pc(e,t){return null==e?null:e[Ic](t)?e:Pc(e.parentElement,t)}function kc(e,t){return e.closest?e.closest(t):Pc(e,t)}function Sc(e,t){var n,r=t.target;if(!((n=r)instanceof Jl(n).Element))return null;var o=kc(r,function(e){return"["+Gl.contextId+'="'+e+'"]'}(e));return o&&Kl(o)?o:null}function Dc(e){e.preventDefault()}function Oc(e){var t=e.expected,n=e.phase,r=e.isLockActive;e.shouldWarn;return!!r()&&t===n}function Ec(e){var t=e.lockAPI,n=e.store,r=e.registry,o=e.draggableId;if(t.isClaimed())return!1;var i=r.draggable.findById(o);return!!i&&(!!i.options.isEnabled&&!!ml(n.getState(),o))}function Ac(e){var t=e.lockAPI,n=e.contextId,r=e.store,o=e.registry,i=e.draggableId,a=e.forceSensorStop,l=e.sourceEvent;if(!Ec({lockAPI:t,store:r,registry:o,draggableId:i}))return null;var c=o.draggable.getById(i),s=function(e,t){var n="["+_l.contextId+'="'+e+'"]',r=di(pi(document.querySelectorAll(n)),(function(e){return e.getAttribute(_l.id)===t}));return r&&Kl(r)?r:null}(n,c.descriptor.id);if(!s)return null;if(l&&!c.options.canDragInteractiveElements&&wc(s,l))return null;var u=t.claim(a||No),d="PRE_DRAG";function p(){return c.options.shouldRespectForcePress}function f(){return t.isActive(u)}var g=function(e,t){Oc({expected:e,phase:d,isLockActive:f,shouldWarn:!0})&&r.dispatch(t())}.bind(null,"DRAGGING");function b(e){function n(){t.release(),d="COMPLETED"}function o(t,o){if(void 0===o&&(o={shouldBlockNextClick:!1}),e.cleanup(),o.shouldBlockNextClick){var i=Fo(window,[{eventName:"click",fn:Dc,options:{once:!0,passive:!1,capture:!0}}]);setTimeout(i)}n(),r.dispatch(Na({reason:t}))}return"PRE_DRAG"!==d&&(n(),"PRE_DRAG"!==d&&zo(!1)),r.dispatch(function(e){return{type:"LIFT",payload:e}}(e.liftActionArgs)),d="DRAGGING",Gn({isActive:function(){return Oc({expected:"DRAGGING",phase:d,isLockActive:f,shouldWarn:!1})},shouldRespectForcePress:p,drop:function(e){return o("DROP",e)},cancel:function(e){return o("CANCEL",e)}},e.actions)}return{isActive:function(){return Oc({expected:"PRE_DRAG",phase:d,isLockActive:f,shouldWarn:!1})},shouldRespectForcePress:p,fluidLift:function(e){var t=To((function(e){g((function(){return Aa({client:e})}))}));return Gn({},b({liftActionArgs:{id:i,clientSelection:e,movementMode:"FLUID"},cleanup:function(){return t.cancel()},actions:{move:t}}),{move:t})},snapLift:function(){var e={moveUp:function(){return g(Ma)},moveRight:function(){return g(Ba)},moveDown:function(){return g(La)},moveLeft:function(){return g(Ta)}};return b({liftActionArgs:{id:i,clientSelection:Cc(s),movementMode:"SNAP"},cleanup:No,actions:e})},abort:function(){Oc({expected:"PRE_DRAG",phase:d,isLockActive:f,shouldWarn:!0})&&t.release()}}}var Mc=[function(e){var t=r(fc),n=r(No),o=yo((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 o=e.tryGetLock(r,l,{sourceEvent:t});if(o){t.preventDefault();var i={x:t.clientX,y:t.clientY};n.current(),u(o,i)}}}}}}),[e]),i=yo((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]),a=xo((function(){n.current=Fo(window,[i,o],{passive:!1,capture:!0})}),[i,o]),l=xo((function(){"IDLE"!==t.current.type&&(t.current=fc,n.current(),a())}),[a]),c=xo((function(){var e=t.current;l(),"DRAGGING"===e.type&&e.actions.cancel({shouldBlockNextClick:!0}),"PENDING"===e.type&&e.actions.abort()}),[l]),s=xo((function(){var e=gc({cancel:c,completed:l,getPhase:function(){return t.current},setPhase:function(e){t.current=e}});n.current=Fo(window,e,{capture:!0,passive:!1})}),[c,l]),u=xo((function(e,n){"IDLE"!==t.current.type&&zo(!1),t.current={type:"PENDING",point:n,actions:e},s()}),[s]);Vl((function(){return a(),function(){n.current()}}),[a])},function(e){var t=r(bc),n=yo((function(){return{eventName:"keydown",fn:function(n){if(!n.defaultPrevented&&32===n.keyCode){var r=e.findClosestDraggableId(n);if(r){var i=e.tryGetLock(r,c,{sourceEvent:n});if(i){n.preventDefault();var a=!0,l=i.snapLift();t.current(),t.current=Fo(window,mc(l,c),{capture:!0,passive:!1})}}}function c(){a||zo(!1),a=!1,t.current(),o()}}}}),[e]),o=xo((function(){t.current=Fo(window,[n],{passive:!1,capture:!0})}),[n]);Vl((function(){return o(),function(){t.current()}}),[o])},function(e){var t=r(vc),n=r(No),o=xo((function(){return t.current}),[]),i=xo((function(e){t.current=e}),[]),a=yo((function(){return{eventName:"touchstart",fn:function(t){if(!t.defaultPrevented){var r=e.findClosestDraggableId(t);if(r){var o=e.tryGetLock(r,c,{sourceEvent:t});if(o){var i=t.touches[0],a={x:i.clientX,y:i.clientY};n.current(),p(o,a)}}}}}}),[e]),l=xo((function(){n.current=Fo(window,[a],{capture:!0,passive:!1})}),[a]),c=xo((function(){var e=t.current;"IDLE"!==e.type&&("PENDING"===e.type&&clearTimeout(e.longPressTimerId),i(vc),n.current(),l())}),[l,i]),s=xo((function(){var e=t.current;c(),"DRAGGING"===e.type&&e.actions.cancel({shouldBlockNextClick:!0}),"PENDING"===e.type&&e.actions.abort()}),[c]),u=xo((function(){var e={capture:!0,passive:!1},t={cancel:s,completed:c,getPhase:o},r=Fo(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 o=e.touches[0],i={x:o.clientX,y:o.clientY};e.preventDefault(),n.actions.move(i)}else t()}},{eventName:"touchend",fn:function(e){var o=r();"DRAGGING"===o.type?(e.preventDefault(),o.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&&zo(!1);var o=e.touches[0];if(o&&o.force>=.15){var i=n.actions.shouldRespectForcePress();if("PENDING"!==n.type)return i?n.hasMoved?void e.preventDefault():void t():void e.preventDefault();i&&t()}}},{eventName:dc,fn:t}]}(t),e),i=Fo(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:dc,fn:t}]}(t),e);n.current=function(){r(),i()}}),[s,o,c]),d=xo((function(){var e=o();"PENDING"!==e.type&&zo(!1);var t=e.actions.fluidLift(e.point);i({type:"DRAGGING",actions:t,hasMoved:!1})}),[o,i]),p=xo((function(e,t){"IDLE"!==o().type&&zo(!1);var n=setTimeout(d,120);i({type:"PENDING",point:t,actions:e,longPressTimerId:n}),u()}),[u,o,i,d]);Vl((function(){return l(),function(){n.current();var e=o();"PENDING"===e.type&&(clearTimeout(e.longPressTimerId),i(vc))}}),[o,l,i]),Vl((function(){return Fo(window,[{eventName:"touchmove",fn:function(){},options:{capture:!1,passive:!1}}])}),[])}];function Lc(e){var t=e.contextId,r=e.store,o=e.registry,i=e.customSensors,a=e.enableDefaultSensors,l=[].concat(a?Mc:[],i||[]),c=n((function(){return function(){var e=null;function t(){e||zo(!1),e=null}return{isClaimed:function(){return Boolean(e)},isActive:function(t){return t===e},claim:function(t){e&&zo(!1);var n={abandon:t};return e=n,n},release:t,tryAbandon:function(){e&&(e.abandon(),t())}}}()}))[0],s=xo((function(e,t){e.isDragging&&!t.isDragging&&c.tryAbandon()}),[c]);Vl((function(){var e=r.getState();return r.subscribe((function(){var t=r.getState();s(e,t),e=t}))}),[c,r,s]),Vl((function(){return c.tryAbandon}),[c.tryAbandon]);for(var u=xo((function(e){return Ec({lockAPI:c,registry:o,store:r,draggableId:e})}),[c,o,r]),d=xo((function(e,n,i){return Ac({lockAPI:c,registry:o,contextId:t,store:r,draggableId:e,forceSensorStop:n,sourceEvent:i&&i.sourceEvent?i.sourceEvent:null})}),[t,c,o,r]),p=xo((function(e){return function(e,t){var n=Sc(e,t);return n?n.getAttribute(Gl.draggableId):null}(t,e)}),[t]),f=xo((function(e){var t=o.draggable.findById(e);return t?t.options:null}),[o.draggable]),g=xo((function(){c.isClaimed()&&(c.tryAbandon(),"IDLE"!==r.getState().phase&&r.dispatch({type:"FLUSH",payload:null}))}),[c,r]),b=xo(c.isClaimed,[c]),h=yo((function(){return{canGetLock:u,tryGetLock:d,findClosestDraggableId:p,findOptionsForDraggable:f,tryReleaseLock:g,isLockClaimed:b}}),[u,d,p,f,g,b]),m=0;m<l.length;m++)l[m](h)}function Bc(e){return e.current||zo(!1),e.current}function Tc(t){var n=t.contextId,i=t.setCallbacks,a=t.sensors,l=t.nonce,c=t.dragHandleUsageInstructions,s=r(null),u=lc(t),d=xo((function(){return function(e){return{onBeforeCapture:e.onBeforeCapture,onBeforeDragStart:e.onBeforeDragStart,onDragStart:e.onDragStart,onDragEnd:e.onDragEnd,onDragUpdate:e.onDragUpdate}}(u.current)}),[u]),p=function(e){var t=yo((function(){return function(e){return"rbd-announcement-"+e}(e)}),[e]),n=r(null);return o((function(){var e=document.createElement("div");return n.current=e,e.id=t,e.setAttribute("aria-live","assertive"),e.setAttribute("aria-atomic","true"),Gn(e.style,nc),tc().appendChild(e),function(){setTimeout((function(){var t=tc();t.contains(e)&&t.removeChild(e),e===n.current&&(n.current=null)}))}}),[t]),xo((function(e){var t=n.current;t&&(t.textContent=e)}),[])}(n),f=function(e){var t=e.contextId,n=e.text,r=ic("hidden-text",{separator:"-"}),i=yo((function(){return function(e){return"rbd-hidden-text-"+e.contextId+"-"+e.uniqueId}({contextId:t,uniqueId:r})}),[r,t]);return o((function(){var e=document.createElement("div");return e.id=i,e.textContent=n,e.style.display="none",tc().appendChild(e),function(){var t=tc();t.contains(e)&&t.removeChild(e)}}),[i,n]),i}({contextId:n,text:c}),g=Xl(n,l),b=xo((function(e){Bc(s).dispatch(e)}),[]),h=yo((function(){return Qn({publishWhileDragging:ka,updateDroppableScroll:Da,updateDroppableIsEnabled:Oa,updateDroppableIsCombineEnabled:Ea,collectionStarting:Sa},b)}),[b]),m=function(){var e=yo(Zl,[]);return o((function(){return function(){requestAnimationFrame(e.clean)}}),[e]),e}(),v=yo((function(){return hl(m,h)}),[m,h]),y=yo((function(){return Hl(Gn({scrollWindow:vl,scrollDroppable:v.scrollDroppable},Qn({move:Aa},b)))}),[v.scrollDroppable,b]),x=Ql(n),w=yo((function(){return cl({announce:p,autoScroller:y,dimensionMarshal:v,focusMarshal:x,getResponders:d,styleMarshal:g})}),[p,y,v,x,d,g]);s.current=w;var C=xo((function(){var e=Bc(s);"IDLE"!==e.getState().phase&&e.dispatch({type:"FLUSH",payload:null})}),[]),I=xo((function(){var e=Bc(s).getState();return e.isDragging||"DROP_ANIMATING"===e.phase}),[]);i(yo((function(){return{isDragging:I,tryAbort:C}}),[I,C]));var P=xo((function(e){return ml(Bc(s).getState(),e)}),[]),k=xo((function(){return aa(Bc(s).getState())}),[]),S=yo((function(){return{marshal:v,focus:x,contextId:n,canLift:P,isMovementAllowed:k,dragHandleUsageInstructionsId:f,registry:m}}),[n,v,f,x,P,k,m]);return Lc({contextId:n,store:w,registry:m,customSensors:a,enableDefaultSensors:!1!==t.enableDefaultSensors}),o((function(){return C}),[C]),e.createElement(ac.Provider,{value:S},e.createElement(ar,{context:ec,store:w},t.children))}var Rc=0;function Nc(t){var n=yo((function(){return""+Rc++}),[]),r=t.dragHandleUsageInstructions||Uo;return e.createElement(Ho,null,(function(o){return e.createElement(Tc,{nonce:t.nonce,contextId:n,setCallbacks:o,dragHandleUsageInstructions:r,enableDefaultSensors:t.enableDefaultSensors,sensors:t.sensors,onBeforeCapture:t.onBeforeCapture,onBeforeDragStart:t.onBeforeDragStart,onDragStart:t.onDragStart,onDragUpdate:t.onDragUpdate,onDragEnd:t.onDragEnd},t.children)}))}var Fc=function(e){return function(t){return e===t}},jc=Fc("scroll"),zc=Fc("auto"),Hc=function(e,t){return t(e.overflowX)||t(e.overflowY)},Gc=function e(t){return null==t||t===document.body||t===document.documentElement?null:function(e){var t=window.getComputedStyle(e),n={overflowX:t.overflowX,overflowY:t.overflowY};return Hc(n,jc)||Hc(n,zc)}(t)?t:e(t.parentElement)},_c=function(e){return{x:e.scrollLeft,y:e.scrollTop}},Wc=function e(t){return!!t&&("fixed"===window.getComputedStyle(t).position||e(t.parentElement))},qc=function(e){return{closestScrollable:Gc(e),isFixedOnPage:Wc(e)}},Uc=function(e){var t=e.ref,n=e.descriptor,r=e.env,o=e.windowScroll,i=e.direction,a=e.isDropDisabled,l=e.isCombineEnabled,c=e.shouldClipSubject,s=r.closestScrollable,u=function(e,t){var n=Ao(e);if(!t)return n;if(e!==t)return n;var r=n.paddingBox.top-t.scrollTop,o=n.paddingBox.left-t.scrollLeft,i=r+t.scrollHeight,a=o+t.scrollWidth,l=Co({top:r,right:a,bottom:i,left:o},n.border);return ko({borderBox:l,margin:n.margin,border:n.border,padding:n.padding})}(t,s),d=Oo(u,o),p=function(){if(!s)return null;var e=Ao(s),t={scrollHeight:s.scrollHeight,scrollWidth:s.scrollWidth};return{client:e,page:Oo(e,o),scroll:_c(s),scrollSize:t,shouldClipSubject:c}}();return function(e){var t=e.descriptor,n=e.isEnabled,r=e.isCombineEnabled,o=e.isFixedOnPage,i=e.direction,a=e.client,l=e.page,c=e.closest,s=function(){if(!c)return null;var e=c.scrollSize,t=c.client,n=sl({scrollHeight:e.scrollHeight,scrollWidth:e.scrollWidth,height:t.paddingBox.height,width:t.paddingBox.width});return{pageMarginBox:c.page.marginBox,frameClient:t,scrollSize:e,shouldClipSubject:c.shouldClipSubject,scroll:{initial:c.scroll,current:c.scroll,max:n,diff:{value:Xo,displacement:Xo}}}}(),u="vertical"===i?Oi:Ei;return{descriptor:t,isCombineEnabled:r,isFixedOnPage:o,axis:u,isEnabled:n,client:a,page:l,frame:s,subject:li({page:l,withPlaceholder:null,axis:u,frame:s})}}({descriptor:n,isEnabled:!a,isCombineEnabled:l,isFixedOnPage:r.isFixedOnPage,direction:i,client:u,page:d,closest:p})},Vc={passive:!1},$c={passive:!0},Yc=function(e){return e.shouldPublishImmediately?Vc:$c};function Xc(e){var t=c(e);return t||zo(!1),t}var Jc=function(e){return e&&e.env.closestScrollable||null};function Kc(){}var Qc={width:0,height:0,margin:{top:0,right:0,bottom:0,left:0}},Zc=function(e){var t=e.isAnimatingOpenOnMount,n=e.placeholder,r=e.animate,o=function(e){var t=e.isAnimatingOpenOnMount,n=e.placeholder,r=e.animate;return t||"close"===r?Qc:{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:o.width,height:o.height,marginTop:o.margin.top,marginRight:o.margin.right,marginBottom:o.margin.bottom,marginLeft:o.margin.left,flexShrink:"0",flexGrow:"0",pointerEvents:"none",transition:"none"!==r?_a.placeholder:null}};var es=e.memo((function(t){var i=r(null),a=xo((function(){i.current&&(clearTimeout(i.current),i.current=null)}),[]),l=t.animate,c=t.onTransitionEnd,s=t.onClose,u=t.contextId,d=n("open"===t.animate),p=d[0],f=d[1];o((function(){return p?"open"!==l?(a(),f(!1),Kc):i.current?Kc:(i.current=setTimeout((function(){i.current=null,f(!1)})),a):Kc}),[l,p,a]);var g=xo((function(e){"height"===e.propertyName&&(c(),"close"===l&&s())}),[l,s,c]),b=Zc({isAnimatingOpenOnMount:p,animate:t.animate,placeholder:t.placeholder});return e.createElement(t.placeholder.tagName,{style:b,"data-rbd-placeholder-context-id":u,onTransitionEnd:g,ref:t.innerRef})})),ts=e.createContext(null),ns=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];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 Hn(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}(e.PureComponent),rs=5e3,os=4500,is=function(e,t){return t?_a.drop(t.duration):e?_a.snap:_a.fluid},as=function(e,t){return e?t?za.drop:za.combining:null};function ls(e){return"DRAGGING"===e.type?function(e){var t=e.dimension.client,n=e.offset,r=e.combineWith,o=e.dropping,i=Boolean(r),a=function(e){return null!=e.forceShouldAnimate?e.forceShouldAnimate:"SNAP"===e.mode}(e),l=Boolean(o),c=l?Ua(n,i):qa(n);return{position:"fixed",top:t.marginBox.top,left:t.marginBox.left,boxSizing:"border-box",width:t.borderBox.width,height:t.borderBox.height,transition:is(a,o),transform:c,opacity:as(i,l),zIndex:l?os:rs,pointerEvents:"none"}}(e):{transform:qa((t=e).offset),transition:t.shouldAnimateDisplacement?null:"none"};var t}function cs(e){var t=ic("draggable"),n=e.descriptor,o=e.registry,i=e.getDraggableRef,a=e.canDragInteractiveElements,l=e.shouldRespectForcePress,c=e.isEnabled,s=yo((function(){return{canDragInteractiveElements:a,shouldRespectForcePress:l,isEnabled:c}}),[a,c,l]),u=xo((function(e){var t=i();return t||zo(!1),function(e,t,n){void 0===n&&(n=Xo);var r=window.getComputedStyle(t),o=t.getBoundingClientRect(),i=Eo(o,r),a=Oo(i,n);return{descriptor:e,placeholder:{client:i,tagName:t.tagName.toLowerCase(),display:r.display},displaceBy:{x:i.marginBox.width,y:i.marginBox.height},client:i,page:a}}(n,t,e)}),[n,i]),d=yo((function(){return{uniqueId:t,descriptor:n,options:s,getDimension:u}}),[n,u,s,t]),p=r(d),f=r(!0);Vl((function(){return o.draggable.register(p.current),function(){return o.draggable.unregister(p.current)}}),[o.draggable]),Vl((function(){if(f.current)f.current=!1;else{var e=p.current;p.current=d,o.draggable.update(d,e)}}),[d,o.draggable])}function ss(e){e.preventDefault()}var us=function(e,t){return e===t},ds=function(e){var t=e.combine,n=e.destination;return n?n.droppableId:t?t.droppableId:null};function ps(e){return{isDragging:!1,isDropAnimating:!1,isClone:!1,dropAnimation:null,mode:null,draggingOver:null,combineTargetFor:e,combineWith:null}}var fs={mapped:{type:"SECONDARY",offset:Xo,combineTargetFor:null,shouldAnimateDisplacement:!0,snapshot:ps(null)}};var gs=mo((function(){var e,t,n,r=(e=Bo((function(e,t){return{x:e,y:t}})),t=Bo((function(e,t,n,r,o){return{isDragging:!0,isClone:t,isDropAnimating:Boolean(o),dropAnimation:o,mode:e,draggingOver:n,combineWith:r,combineTargetFor:null}})),n=Bo((function(e,n,r,o,i,a,l){return{mapped:{type:"DRAGGING",dropping:null,draggingOver:i,combineWith:a,mode:n,offset:e,dimension:r,forceShouldAnimate:l,snapshot:t(n,o,i,a,null)}}})),function(r,o){if(r.isDragging){if(r.critical.draggable.id!==o.draggableId)return null;var i=r.current.client.offset,a=r.dimensions.draggables[o.draggableId],l=oa(r.impact),c=(u=r.impact).at&&"COMBINE"===u.at.type?u.at.combine.draggableId:null,s=r.forceShouldAnimate;return n(e(i.x,i.y),r.movementMode,a,o.isClone,l,c,s)}var u;if("DROP_ANIMATING"===r.phase){var d=r.completed;if(d.result.draggableId!==o.draggableId)return null;var p=o.isClone,f=r.dimensions.draggables[o.draggableId],g=d.result,b=g.mode,h=ds(g),m=function(e){return e.combine?e.combine.draggableId:null}(g),v={duration:r.dropDuration,curve:ja,moveTo:r.newHomeClientOffset,opacity:m?za.drop:null,scale:m?Ha.drop:null};return{mapped:{type:"DRAGGING",offset:r.newHomeClientOffset,dimension:f,dropping:v,draggingOver:h,combineWith:m,mode:b,forceShouldAnimate:null,snapshot:t(b,p,h,m,v)}}}return null}),o=function(){var e=Bo((function(e,t){return{x:e,y:t}})),t=Bo(ps),n=Bo((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(Xo,e,!0):null},o=function(t,o,i,a){var l=i.displaced.visible[t],c=Boolean(a.inVirtualList&&a.effected[t]),s=yi(i),u=s&&s.draggableId===t?o:null;if(!l){if(!c)return r(u);if(i.displaced.invisible[t])return null;var d=Zo(a.displacedBy.point),p=e(d.x,d.y);return n(p,u,!0)}if(c)return r(u);var f=i.displacedBy.point,g=e(f.x,f.y);return n(g,u,l.shouldAnimate)};return function(e,t){if(e.isDragging)return e.critical.draggable.id===t.draggableId?null:o(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:o(t.draggableId,n.result.draggableId,n.impact,n.afterCritical)}return null}}();return function(e,t){return r(e,t)||o(e,t)||fs}}),{dropAnimationFinished:Fa},null,{context:ec,pure:!0,areStatePropsEqual:us})((function(e){var t=r(null),n=xo((function(e){t.current=e}),[]),o=xo((function(){return t.current}),[]),i=Xc(ac),a=i.contextId,l=i.dragHandleUsageInstructionsId,c=i.registry,s=Xc(ts),u=s.type,d=s.droppableId,p=yo((function(){return{id:e.draggableId,index:e.index,type:u,droppableId:d}}),[e.draggableId,e.index,u,d]),f=e.children,g=e.draggableId,b=e.isEnabled,h=e.shouldRespectForcePress,m=e.canDragInteractiveElements,v=e.isClone,y=e.mapped,x=e.dropAnimationFinished;v||cs(yo((function(){return{descriptor:p,registry:c,getDraggableRef:o,canDragInteractiveElements:m,shouldRespectForcePress:h,isEnabled:b}}),[p,c,o,m,h,b]));var w=yo((function(){return b?{tabIndex:0,role:"button","aria-describedby":l,"data-rbd-drag-handle-draggable-id":g,"data-rbd-drag-handle-context-id":a,draggable:!1,onDragStart:ss}:null}),[a,l,g,b]),C=xo((function(e){"DRAGGING"===y.type&&y.dropping&&"transform"===e.propertyName&&x()}),[x,y]),I=yo((function(){var e=ls(y),t="DRAGGING"===y.type&&y.dropping?C:null;return{innerRef:n,draggableProps:{"data-rbd-draggable-context-id":a,"data-rbd-draggable-id":g,style:e,onTransitionEnd:t},dragHandleProps:w}}),[a,w,g,y,C,n]),P=yo((function(){return{draggableId:p.id,type:p.type,source:{index:p.index,droppableId:p.droppableId}}}),[p.droppableId,p.id,p.index,p.type]);return f(I,y.snapshot,P)}));function bs(t){return Xc(ts).isUsingCloneFor!==t.draggableId||t.isClone?e.createElement(gs,t):null}function hs(t){var n="boolean"!=typeof t.isDragDisabled||!t.isDragDisabled,r=Boolean(t.disableInteractiveElementBlocking),o=Boolean(t.shouldRespectForcePress);return e.createElement(bs,Gn({},t,{isClone:!1,isEnabled:n,canDragInteractiveElements:r,shouldRespectForcePress:o}))}var ms=function(e,t){return e===t.droppable.type},vs=function(e,t){return t.draggables[e.draggable.id]};var ys={mode:"standard",type:"DEFAULT",direction:"vertical",isDropDisabled:!1,isCombineEnabled:!1,ignoreContainerClipping:!1,renderClone:null,getContainerForClone:function(){return document.body||zo(!1),document.body}},xs=mo((function(){var e={placeholder:null,shouldAnimatePlaceholder:!0,snapshot:{isDraggingOver:!1,draggingOverWith:null,draggingFromThisWith:null,isUsingPlaceholder:!1},useClone:null},t=Gn({},e,{shouldAnimatePlaceholder:!1}),n=Bo((function(e){return{draggableId:e.id,type:e.type,source:{index:e.index,droppableId:e.droppableId}}})),r=Bo((function(r,o,i,a,l,c){var s=l.descriptor.id;if(l.descriptor.droppableId===r){var u=c?{render:c,dragging:n(l.descriptor)}:null,d={isDraggingOver:i,draggingOverWith:i?s:null,draggingFromThisWith:s,isUsingPlaceholder:!0};return{placeholder:l.placeholder,shouldAnimatePlaceholder:!1,snapshot:d,useClone:u}}if(!o)return t;if(!a)return e;var p={isDraggingOver:i,draggingOverWith:s,draggingFromThisWith:null,isUsingPlaceholder:!0};return{placeholder:l.placeholder,shouldAnimatePlaceholder:!0,snapshot:p,useClone:null}}));return function(n,o){var i=o.droppableId,a=o.type,l=!o.isDropDisabled,c=o.renderClone;if(n.isDragging){var s=n.critical;if(!ms(a,s))return t;var u=vs(s,n.dimensions),d=oa(n.impact)===i;return r(i,l,d,d,u,c)}if("DROP_ANIMATING"===n.phase){var p=n.completed;if(!ms(a,p.critical))return t;var f=vs(p.critical,n.dimensions);return r(i,l,ds(p.result)===i,oa(p.impact)===i,f,c)}if("IDLE"===n.phase&&n.completed&&!n.shouldFlush){var g=n.completed;if(!ms(a,g.critical))return t;var b=oa(g.impact)===i,h=Boolean(g.impact.at&&"COMBINE"===g.impact.at.type),m=g.critical.droppable.id===i;return b?h?e:t:m?e:t}return t}}),{updateViewportMaxScroll:function(e){return{type:"UPDATE_VIEWPORT_MAX_SCROLL",payload:e}}},null,{context:ec,pure:!0,areStatePropsEqual:us})((function(t){var n=c(ac);n||zo(!1);var o=n.contextId,i=n.isMovementAllowed,a=r(null),l=r(null),s=t.children,u=t.droppableId,d=t.type,p=t.mode,f=t.direction,g=t.ignoreContainerClipping,b=t.isDropDisabled,h=t.isCombineEnabled,v=t.snapshot,y=t.useClone,x=t.updateViewportMaxScroll,w=t.getContainerForClone,C=xo((function(){return a.current}),[]),I=xo((function(e){a.current=e}),[]),P=(xo((function(){return l.current}),[]),xo((function(e){l.current=e}),[])),k=xo((function(){i()&&x({maxScroll:dl()})}),[i,x]);!function(e){var t=r(null),n=Xc(ac),o=ic("droppable"),i=n.registry,a=n.marshal,l=lc(e),c=yo((function(){return{id:e.droppableId,type:e.type,mode:e.mode}}),[e.droppableId,e.mode,e.type]),s=r(c),u=yo((function(){return Bo((function(e,n){t.current||zo(!1);var r={x:e,y:n};a.updateDroppableScroll(c.id,r)}))}),[c.id,a]),d=xo((function(){var e=t.current;return e&&e.env.closestScrollable?_c(e.env.closestScrollable):Xo}),[]),p=xo((function(){var e=d();u(e.x,e.y)}),[d,u]),f=yo((function(){return To(p)}),[p]),g=xo((function(){var e=t.current,n=Jc(e);e&&n||zo(!1),e.scrollOptions.shouldPublishImmediately?p():f()}),[f,p]),b=xo((function(e,r){t.current&&zo(!1);var o=l.current,i=o.getDroppableRef();i||zo(!1);var a=qc(i),s={ref:i,descriptor:c,env:a,scrollOptions:r};t.current=s;var u=Uc({ref:i,descriptor:c,env:a,windowScroll:e,direction:o.direction,isDropDisabled:o.isDropDisabled,isCombineEnabled:o.isCombineEnabled,shouldClipSubject:!o.ignoreContainerClipping}),d=a.closestScrollable;return d&&(d.setAttribute(ql.contextId,n.contextId),d.addEventListener("scroll",g,Yc(s.scrollOptions))),u}),[n.contextId,c,g,l]),h=xo((function(){var e=t.current,n=Jc(e);return e&&n||zo(!1),_c(n)}),[]),m=xo((function(){var e=t.current;e||zo(!1);var n=Jc(e);t.current=null,n&&(f.cancel(),n.removeAttribute(ql.contextId),n.removeEventListener("scroll",g,Yc(e.scrollOptions)))}),[g,f]),v=xo((function(e){var n=t.current;n||zo(!1);var r=Jc(n);r||zo(!1),r.scrollTop+=e.y,r.scrollLeft+=e.x}),[]),y=yo((function(){return{getDimensionAndWatchScroll:b,getScrollWhileDragging:h,dragStopped:m,scroll:v}}),[m,b,h,v]),x=yo((function(){return{uniqueId:o,descriptor:c,callbacks:y}}),[y,c,o]);Vl((function(){return s.current=x.descriptor,i.droppable.register(x),function(){t.current&&m(),i.droppable.unregister(x)}}),[y,c,m,x,a,i.droppable]),Vl((function(){t.current&&a.updateDroppableIsEnabled(s.current.id,!e.isDropDisabled)}),[e.isDropDisabled,a]),Vl((function(){t.current&&a.updateDroppableIsCombineEnabled(s.current.id,e.isCombineEnabled)}),[e.isCombineEnabled,a])}({droppableId:u,type:d,mode:p,direction:f,isDropDisabled:b,isCombineEnabled:h,ignoreContainerClipping:g,getDroppableRef:C});var S=e.createElement(ns,{on:t.placeholder,shouldAnimate:t.shouldAnimatePlaceholder},(function(t){var n=t.onClose,r=t.data,i=t.animate;return e.createElement(es,{placeholder:r,onClose:n,innerRef:P,animate:i,contextId:o,onTransitionEnd:k})})),D=yo((function(){return{innerRef:I,placeholder:S,droppableProps:{"data-rbd-droppable-id":u,"data-rbd-droppable-context-id":o}}}),[o,u,S,I]),O=y?y.dragging.draggableId:null,E=yo((function(){return{droppableId:u,type:d,isUsingCloneFor:O}}),[u,O,d]);return e.createElement(ts.Provider,{value:E},s(D,v),function(){if(!y)return null;var t=y.dragging,n=y.render,r=e.createElement(bs,{draggableId:t.draggableId,index:t.source.index,isClone:!0,isEnabled:!0,shouldRespectForcePress:!1,canDragInteractiveElements:!0},(function(e,r){return n(e,r,t)}));return m.createPortal(r,w())}())}));xs.defaultProps=ys;var ws=function(e){var t=e.gap,r=void 0===t?0:t,i=e.id,a=e.items,l=e.onDrop,c=e.template,s=void 0===c?function(e){var t=e.Handle,n=e.item;return d(t,null,n.toString())}:c,u=O(n(),2),p=u[0],f=u[1],g=O(n(E(a)),2),h=g[0],m=g[1];o((function(){m(E(a))}),[a]);var v=function(e,t,n){var r=document.querySelector("[data-rbd-draggable-id='".concat(n,"']"));if(r){var o=r.clientHeight,i=r.clientWidth,a=r.parentElement,l=parseFloat(window.getComputedStyle(a).paddingTop),c=E(Array.from(a.children));c.splice(e,1);var s=[].concat(E(c.slice(0,t)),[r],E(c.slice(t+1)));f({height:o,left:parseFloat(window.getComputedStyle(a).paddingLeft),top:l+s.slice(0,t).reduce((function(e,t){var n=window.getComputedStyle(t),r=parseFloat(n.marginBottom);return e+t.clientHeight+r}),0),width:i})}},y=b(Ss),x=function(e,t){return d(hs,{key:a.indexOf(e),draggableId:a.indexOf(e).toString(),index:t},(function(n,o){var i=n.dragHandleProps,a=n.draggableProps,l=n.innerRef;return d("li",k({ref:l},a,{css:we([y.item,t<h.length-1&&{marginBottom:r}],"")}),s({item:e,Handle:function(e){var t=e.children,n=e.positionType,r=void 0===n?"relative":n,a=e.position,l=void 0===a?{}:a;return d("div",k({},i,{css:we([y.handle,C({position:r},l),o.isDragging&&y.handleGrabbing],"")}),t)},index:t,sortedItems:E(h)}))}))};return d(Nc,{onDragEnd:function(e){var t=e.destination,n=e.source;if(f(void 0),t){var r=E(h),o=r[n.index];r.splice(n.index,1),r.splice(t.index,0,o),G(l)&&l(r),m(r)}},onDragStart:function(e){var t=e.draggableId,n=e.source;v(n.index,n.index,t)},onDragUpdate:function(e){var t=e.destination,n=e.draggableId,r=e.source;t&&v(r.index,t.index,n)}},d(xs,{droppableId:"DragAndDropListDropZone"},(function(e,t){var n=e.droppableProps,r=e.innerRef,o=e.placeholder;return d("ul",k({ref:r},n,{css:we([y.list,t.isDraggingOver&&y.listDragging],";label:DragAndDropList;"),id:i}),h.map(x),o,p&&t.isDraggingOver&&d("div",{css:we([y.placeholder,p],";label:DragAndDropList;")}))})))},Cs={name:"plujqr-handle",styles:"cursor:grab;;label:handle;"},Is={name:"1gjdiq0-handleGrabbing",styles:"cursor:grabbing;;label:handleGrabbing;"},Ps={name:"auc0xb-item",styles:"position:relative;;label:item;"},ks={name:"1va2zj6-listDragging",styles:"user-select:none;;label:listDragging;"},Ss=function(e){var t=e.colorPalette;return{handle:Cs,handleGrabbing:Is,item:Ps,list:u(Ce,";list-style:none;margin:0;padding:0;position:relative;;label:list;",";label:list;"),listDragging:ks,placeholder:u("border:2px dashed ",t.secondary,";border-radius:",le.borderRadius,";position:absolute;;label:placeholder;",";label:placeholder;")}};function Ds(){return(Ds=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var Os=t("path",{d:"M9.167 12.5h1.666v1.667H9.167V12.5zm0-6.667h1.666v5H9.167v-5zm.825-4.166c-4.6 0-8.325 3.733-8.325 8.333s3.725 8.333 8.325 8.333c4.608 0 8.341-3.733 8.341-8.333S14.6 1.667 9.992 1.667zm.008 15A6.665 6.665 0 013.333 10 6.665 6.665 0 0110 3.333 6.665 6.665 0 0116.667 10 6.665 6.665 0 0110 16.667z",fill:"currentColor"});function Es(e){return t("svg",Ds({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Os)}var As=function(t){var r=t.disabled,i=t.gridArea,a=t.icon,l=t.id,c=t.invalid,s=t.label,p=t.maxCharacters,f=t.name,g=t.onBlur,m=t.onChange,v=t.onFocus,y=t.placeholder,x=t.readonly,w=t.required,C=t.validationMessage,I=t.validationPattern,P=t.value,S=void 0===P?"":P,D=t.width,E=O(n(S),2),A=E[0],M=E[1],L=O(n(),2),B=L[0],T=L[1],R=O(h(),1)[0].colorPalette;o((function(){S!==A&&M(S)}),[S]),o((function(){if(a&&U(e.createElement(a)))T("\n #fff\n ".concat($(e.createElement(a,{color:R.fontLight})),"\n center left 6px / 20px\n no-repeat\n "));else if(a)throw new Error("Icon must be a valid SVGComponent")}),[a]);var N="\n ".concat($(d(Es,{color:R.error})),"\n center right 6px / 20px\n no-repeat;\n "),F="".concat(a?B:"").concat(a&&c?", ":"").concat(c?N:""),j="".concat(a?B:"").concat(a?", ":"").concat(N),z=b(Ms).errorStyle,H=b(Bs);return d("label",{css:we([H.label,i&&{gridArea:i},D&&{width:D}],";label:Input;"),"data-max-count":p},s,d("input",k({id:l,type:"text",css:we([Ie,H.input,a&&H.inputWithIcon,c&&z,u("background:",F,";&:invalid{background:",j,";",z,"};label:Input;",";label:Input;")],";label:Input;"),maxLength:p,name:f,value:A,pattern:I,placeholder:y,onBlur:function(e){var t=e.relatedTarget;G(g)&&g(t)},onChange:function(e){var t=e.target,n=t.value;C&&t.setCustomValidity(""),M(n),C&&!t.checkValidity()&&(t.setCustomValidity(C),t.reportValidity()),G(m)&&m(n)},onFocus:v,disabled:r,readOnly:x,required:w},x?{tabIndex:-1}:{})))},Ms=function(e){var t=e.colorPalette;return{errorStyle:u("border-color:",t.error,";padding-right:35px;;label:errorStyle;",";label:errorStyle;")}},Ls={name:"23fzc7-inputWithIcon",styles:"padding-left:35px;;label:inputWithIcon;"},Bs=function(e){var t=e.colorPalette;return{input:u("background-color:#fff;border:1px solid ",t.border,";border-radius:",le.borderRadius,";font-family:'Montserrat',sans-serif;font-size:14px;height:30px;line-height:20px;max-width:100%;outline:none;padding:5px 10px;transition:border-color 0.05s linear,padding 0.05s linear;width:100%;&:disabled{background-color:",t.neutral,";color:",t.fontLight,";cursor:not-allowed;}&:focus{border-color:",t.primary,";}&:read-only{background-image:none;background-color:transparent;border-color:transparent;overflow:hidden;padding-left:0;padding-right:0;pointer-events:none;text-overflow:ellipsis;white-space:nowrap;}&::placeholder{color:",t.fontLight,";};label:input;",";label:input;"),inputWithIcon:Ls,label:u(Ce,";color:",t.font,";display:inline-flex;flex-direction:column;font-family:'Montserrat',sans-serif;font-size:12px;line-height:20px;;label:label;",";label:label;")}},Ts=function(e){var t=e.breadcrumb,n=e.children,r=e.href,o=e.id,i=b(Rs);return d("a",{href:r,css:we([i.link,t&&i.withBreadcrumb],";label:Link;"),id:o},n||r)},Rs=function(e){var t=e.colorPalette;return{link:u("color:",t.primaryDark,";font-family:'Montserrat',sans-serif;font-size:14px;font-weight:500;line-height:20px;;label:link;",";label:link;"),withBreadcrumb:u("color:",t.fontLight,";margin-right:40px;text-decoration:none;position:relative;&:not(:last-of-type)::after{background-image:",$(d(re,{color:t.fontLight})),";background-repeat:no-repeat;background-size:contain;bottom:5px;content:'';height:20px;margin-bottom:-6px;margin-left:10px;position:absolute;right:-30px;width:20px;}&:hover{border-bottom:1px solid ",t.fontLight,";};label:withBreadcrumb;",";label:withBreadcrumb;")}};var Ns=function(e){var t=e.gridArea,n=e.id,r=e.label,o=e.readonly,i=e.value,a=S(e,["gridArea","id","label","readonly","value"]),l=b(js);return o?d("label",{css:we([l.label,t&&{gridArea:t}],";label:Email;"),id:n},d("span",{css:l.labelText},r),d(Ts,{href:"mailto:".concat(i)},i)):d(As,k({gridArea:t,label:r,value:i},a))},Fs={name:"7uvzgp-labelText",styles:"margin-bottom:5px;;label:labelText;"},js=function(e){var t=e.colorPalette;return{label:u(Ce,";color:",t.font,";display:inline-flex;flex-direction:column;font-family:'Montserrat',sans-serif;font-size:12px;line-height:20px;;label:label;",";label:label;"),labelText:Fs}};function zs(){return(zs=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var Hs=t("path",{d:"M15.25 4.758a.83.83 0 00-1.175 0L10 8.825 5.925 4.75A.83.83 0 104.75 5.925L8.825 10 4.75 14.075a.83.83 0 101.175 1.175L10 11.175l4.075 4.075a.83.83 0 101.175-1.175L11.175 10l4.075-4.075a.835.835 0 000-1.167z",fill:"currentColor"});function Gs(e){return t("svg",zs({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Hs)}function _s(){return(_s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var Ws=t("path",{d:"M16.125 8.367A6.242 6.242 0 0010 3.333 6.246 6.246 0 004.458 6.7 4.995 4.995 0 000 11.667c0 2.758 2.242 5 5 5h10.833c2.3 0 4.167-1.867 4.167-4.167 0-2.2-1.708-3.983-3.875-4.133zM15.833 15H5a3.332 3.332 0 01-3.333-3.333 3.311 3.311 0 012.966-3.309l.892-.091.417-.792A4.557 4.557 0 0110 5a4.586 4.586 0 014.492 3.692l.25 1.25 1.275.091a2.483 2.483 0 012.316 2.467c0 1.375-1.125 2.5-2.5 2.5zm-9.166-4.167h2.125v2.5h2.416v-2.5h2.125L10 7.5l-3.333 3.333z",fill:"currentColor"});function qs(e){return t("svg",_s({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Ws)}var Us=[" bytes","kB","MB","GB","TB"],Vs=function(t){var r=t.files,i=void 0===r?[]:r,a=t.height,l=t.id,c=t.max,s=t.multiple,u=t.onError,p=t.onSelect,f=t.placeholderDescription,g=void 0===f?"Drag ".concat(s?"files":"a file"," here or click to select"):f,m=t.placeholderTitle,v=t.validExtensions,y=t.validTypes,x=t.width,w=void 0===x?"100%":x,C=O(h(),1)[0].colorPalette,I=O(n(i),2),P=I[0],k=I[1],S=O(n(!1),2),D=S[0],A=S[1],M=O(n(!0),2),L=M[0],B=M[1];o((function(){k(i)}),[i&&i.length]),o((function(){P!==i&&G(p)&&p(P)}),[P]);var T=function(e){return s?void 0===c||e<=c:e<=1},R=function(e){var t=[].concat(E(s?P:[]),E(e)),n=t.length,r=[],o=[],i=[];T(n)?(t.forEach((function(e){var t=!i.some((function(t){return r=e,(n=t).name===r.name&&n.type===r.type&&n.size===r.size&&n.lastModified===r.lastModified;var n,r})),n=function(e){var t=e.name,n=t.substr(t.lastIndexOf("."));return void 0===v||v.includes(n)}(e),a=function(e){var t=e.type;return void 0===y||y.includes(t)}(e);t&&n&&a&&i.push(e),n||r.push(e),a||o.push(e)})),k(i)):G(u)&&u([{code:"MAX_FILES_EXCEEDED",details:{maxCount:c||1,selectedCount:n}}]),(r.length||o.length)&&G(u)&&u([r.length&&{code:"INVALID_FILE_EXTENSION",details:{files:r}},o.length&&{code:"INVALID_FILE_TYPE",details:{files:o}}].filter((function(e){return e})))},N=function(e){return function(t){V(t.nativeEvent),k((function(t){return t.filter((function(t){return t!==e}))}))}},F=b(Xs);return d("label",{css:we([F.container,a&&{height:a},D&&{borderColor:L?C.primary:C.error},w&&{width:w}],";label:FileInput;"),id:l,onDragEnter:function(e){var t=e.dataTransfer.items.length;V(e.nativeEvent),A(!0),B(T(t+P.length))},onDragLeave:function(e){V(e.nativeEvent),A(!1)},onDragOver:function(e){V(e.nativeEvent)},onDrop:function(e){var t=Array.from(e.dataTransfer.files);V(e),R(t),A(!1)}},d("input",{type:"file",value:"",multiple:s,css:le.visiblyHidden,onChange:function(e){var t=Array.from(e.currentTarget.files);R(t)}}),d(qs,{css:F.uploadIcon}),P.length?d("ul",{css:F.fileList},P.map((function(e){var t=e.lastModified,n=e.name,r=e.size,o=Math.floor(Math.log(r)/Math.log(1024)),i=(r/Math.pow(1024,o)).toFixed(2),a=r>0?"".concat(i).concat(Us[o]):"0 bytes";return d("li",{key:"".concat(n,"_").concat(t),css:F.fileListItem},d("h4",{css:F.title},n),d("span",{css:F.fileSize},a),d(Gs,{css:F.removeIcon,onClick:N(e)}))}))):d(e.Fragment,null,m&&d("h4",{css:F.title},m),g&&d("p",{css:F.description},g)))},$s={name:"a62av5-fileList",styles:"display:inline-flex;flex-direction:column;list-style:none;margin:0;padding:0;width:min-content;;label:fileList;"},Ys={name:"13m0fqq-fileListItem",styles:"display:inline-flex;flex-direction:column;justify-content:center;padding-right:30px;position:relative;&:not(:last-of-type){margin-bottom:10px;};label:fileListItem;"},Xs=function(e){var t=e.colorPalette;return{container:u(Ce,";border:1px dashed ",t.border,";border-radius:",le.borderRadius,";cursor:pointer;display:flex;flex-direction:column;font-family:'Montserrat',sans-serif;font-size:14px;justify-content:center;line-height:20px;min-height:60px;padding:10px 10px 10px 40px;position:relative;transition:border-color 0.1s linear;& > *{pointer-events:none;}&:hover{border-color:",t.fontLight,";};label:container;",";label:container;"),description:u("color:",t.fontLight,";margin:0;;label:description;",";label:description;"),documentIcon:u("color:",t.fontLight,";width:20px;;label:documentIcon;",";label:documentIcon;"),fileList:$s,fileListItem:Ys,fileSize:u("color:",t.fontLight,";font-size:12px;;label:fileSize;",";label:fileSize;"),removeIcon:u("color:",t.fontLight,";height:18px;pointer-events:all;position:absolute;right:0;top:1px;transition:color 0.1s linear;&:hover{color:",t.error,";};label:removeIcon;",";label:removeIcon;"),title:u("color:",t.font,";font-weight:normal;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;;label:title;",";label:title;"),uploadIcon:u("color:",t.fontLight,";height:20px;left:10px;position:absolute;top:50%;transform:translateY(-50%);;label:uploadIcon;",";label:uploadIcon;")}};function Js(){return(Js=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var Ks=t("path",{opacity:.4,d:"M50.74 68.314L8.455 56.983c-3.017-.809-4.562-4.155-3.222-6.976l21.62-45.491a5 5 0 016.662-2.37l45.998 21.86c2.824 1.343 3.737 4.918 1.903 7.45L56.081 66.418a5 5 0 01-5.343 1.896z",fill:"#B0C600"}),Qs=t("path",{opacity:.4,d:"M0 38.726V26.507a5 5 0 014.079-4.914l53.991-10.12a5 5 0 014.381 1.305l26.221 25.134a5 5 0 011.256 5.272l-3.187 9.044a5 5 0 01-3.312 3.137l-50.593 14.8a5 5 0 01-4.953-1.278L1.45 42.247A5 5 0 010 38.728z",fill:"#47BAD1"}),Zs=t("path",{opacity:.8,d:"M53.75 46h-1.975l-.7-.675A16.178 16.178 0 0055 34.75c0-8.975-7.275-16.25-16.25-16.25S22.5 25.775 22.5 34.75 29.775 51 38.75 51c4.025 0 7.725-1.475 10.575-3.925l.675.7v1.975l12.288 12.263a.3.3 0 00.424 0l3.301-3.301a.3.3 0 000-.424L53.75 46zm-15 0A11.235 11.235 0 0127.5 34.75c0-6.225 5.025-11.25 11.25-11.25S50 28.525 50 34.75 44.975 46 38.75 46z",fill:"#fff"});function eu(e){return t("svg",Js({viewBox:"0 0 91 83",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Ks,Qs,Zs)}var tu=function(t){var i=t.expanded,l=t.filter,c=void 0===l||l,s=t.icon,u=t.id,p=t.label,f=t.loading,g=t.maxHeight,m=void 0===g?"150px":g,v=t.noMatchesMessage,y=void 0===v?"No matches were found":v,x=t.onChange,w=t.onFilter,C=t.optionKeyExtractor,I=t.optionTemplate,P=void 0===I?function(t){var n=t.option;return d(e.Fragment,null,n)}:I,k=t.options,S=t.placeholder,D=t.value,A=void 0===D?"":D,M=O(h(),1)[0].colorPalette;if(!q(k)&&!W(k)&&!C)throw new Error("You must specify a keyExtractor if the options array contains non-primitive entry types");var L=r(),B=r(),T=O(n(A),2),R=T[0],N=T[1],F=O(n(0),2),z=F[0],H=F[1],U=O(n(0),2),V=U[0],Y=U[1],X=O(n("below"),2),J=X[0],K=X[1],Q=O(n(0),2),Z=Q[0],ee=Q[1],te=O(n(E(k)),2),ne=te[0],re=te[1],oe=O(n(),2),ie=oe[0],ae=oe[1],le=O(n([]),2),ce=le[0],se=le[1],ue=O(n(1),2),de=ue[0],pe=ue[1],fe=a((function(){return s&&$(e.createElement(s,{color:M.fontLight}))}),[s]);o((function(){var e;(function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return e.length===t.length&&e.every((function(e,r){return n?t[r]===e:t.includes(e)}))})(e=c&&R?k.filter((function(e,t){return me(e,t).toString().toLowerCase().includes(R.toLowerCase())})):E(k),ne)||(G(w)&&w(e),re(e))}),[R,c,k]),o((function(){!ie||k.length||R||be(),L.current.querySelector('input[type="text"]')===document.activeElement&&he()}),[R,k]),o((function(){i!==ie&&(i?he():be())}),[i]),o((function(){A!==R&&N(A)}),[A]),o((function(){return ie?(document.addEventListener("scroll",be,!0),window.addEventListener("click",ge),window.addEventListener("resize",be)):(document.removeEventListener("scroll",be,!0),window.removeEventListener("click",ge),window.removeEventListener("resize",be)),function(){document.removeEventListener("scroll",be,!0),window.removeEventListener("click",ge),window.removeEventListener("resize",be)}}),[ie]),o((function(){pe(1)}),[ne]),o((function(){se((function(e){var t=50*de-50,n=t+50;return[].concat(E(de>1?e:[]),E(ne.slice(t,n).map(Ce)))}))}),[ne,de]);var ge=function(e){var t=e.target;t===L.current||L.current.contains(t)||be()},be=function(){B.current===document.activeElement&&L.current.querySelector('input[type="text"]').focus(),ae(!1),pe(1)},he=function(){var e=k.length>0||!!R;if(!ie&&e){var t=L.current.getBoundingClientRect(),n=t.top+t.height,r=parseInt(m),o=window.innerHeight-n,i="below";if(o<r){var a=t.top;(a>r||a>o)&&(i="above")}"below"===i?(H(Math.min(r,window.innerHeight-n)),Y(t.top+L.current.querySelector('input[type="text"]').offsetTop)):(H(Math.min(r,t.top)),Y(window.innerHeight-n)),K(i),ee(t.width),ae(!0)}},me=function(e,t){return _(e)?e.key:j(e,C,t)},ve=function(e){var t="string"==typeof e?e:e.currentTarget.value;G(x)&&x(t),N(t)},ye=b(uu),xe=function(){return d("input",{ref:B,css:we([ye.listInput,fe&&[ye.listInputWithIcon,{backgroundImage:fe}]],""),autoFocus:!0,onChange:ve,placeholder:S,value:R})},Ce=function(e){var t=k.indexOf(e);return d("li",{key:me(e,t)},P({option:e,index:t,filteredOptions:E(ne)}))};return d("div",{ref:L,css:ye.container,id:u,onClick:function(e){var t=e.target;ie||t!==L.current.querySelector('input[type="text"]')||t!==document.activeElement||he()}},d(As,{icon:s,label:p,onChange:ve,onFocus:he,placeholder:S,value:R}),ie&&d("div",{css:we([ye.expandedContainer,"above"===J?[ye.expandedContainerAbove,{bottom:V}]:{top:V},{width:Z}],";label:FilterList;")},"below"===J&&xe(),d(Gs,{css:we([ye.clearIcon,"above"===J&&ye.clearIconAbove],";label:FilterList;"),onClick:function(){N(""),B.current.focus()}}),d("ul",{css:we([ye.list,{maxHeight:z}],";label:FilterList;"),onScroll:function(e){var t=e.target;e.nativeEvent.stopImmediatePropagation(),t.scrollTop+2*t.clientHeight>t.scrollHeight&&50*de-1<=ne.length&&pe((function(e){return e+1}))}},ne.length?ce:d("li",{css:ye.noResults},d(eu,{css:ye.noResultsIcon}),y)),"above"===J&&xe(),f&&d("div",{css:we([ye.loading,"above"===J&&ye.loadingAbove,{maxHeight:z}],";label:FilterList;")},d(He,null))))},nu={name:"8mr58g-clearIconAbove",styles:"bottom:0;top:auto;;label:clearIconAbove;"},ru={name:"1pshix3-expandedContainerAbove",styles:"&::before{bottom:30px;top:auto;};label:expandedContainerAbove;"},ou={name:"4v9qyp-listInput",styles:"background:center left 6px / 20px no-repeat;border:none;font-family:'Montserrat',sans-serif;font-size:14px;line-height:20px;outline:none;padding:5px 35px 5px 10px;width:100%;;label:listInput;"},iu={name:"13brmid-listInputWithIcon",styles:"padding-left:35px;;label:listInputWithIcon;"},au={name:"1dxhoae-loading",styles:"align-items:center;background-color:rgba(255,255,255,0.75);bottom:0;display:flex;height:100%;justify-content:center;left:0;position:absolute;right:0;;label:loading;"},lu={name:"1gwuorm-loadingAbove",styles:"bottom:auto;top:0;;label:loadingAbove;"},cu={name:"1ia5o60-noResults",styles:"align-items:center;display:flex;flex-direction:column;justify-content:center;padding:10px 0;;label:noResults;"},su={name:"dngeaz-noResultsIcon",styles:"width:91px;;label:noResultsIcon;"},uu=function(e){var t=e.colorPalette;return{clearIcon:u("color:",t.fontLight,";cursor:pointer;height:30px;padding:5px;position:absolute;right:0;top:0;&:hover{color:",t.font,";};label:clearIcon;",";label:clearIcon;"),clearIconAbove:nu,container:u(Ce,";display:inline-block;font-family:'Montserrat',sans-serif;font-size:12px;line-height:20px;position:relative;& > label{width:100%;};label:container;",";label:container;"),expandedContainer:u("background-color:#fff;border:1px solid ",t.border,";border-radius:",le.borderRadius,";box-shadow:",le.dropShadow,";position:fixed;z-index:1;&::before{border-bottom:1px solid ",t.border,";content:'';left:8px;position:absolute;right:8px;top:30px;};label:expandedContainer;",";label:expandedContainer;"),expandedContainerAbove:ru,list:u(le.scrollbar,";list-style:none;margin:2px 0 1px;overflow-y:scroll;padding:8px 10px 9px;;label:list;",";label:list;"),listInput:ou,listInputWithIcon:iu,loading:au,loadingAbove:lu,noResults:cu,noResultsIcon:su}};var du=function(e){var t=e.children,n=e.clearButton,r=void 0===n?"Clear":n,o=e.clearId,i=e.id,a=e.onClear,l=e.onSubmit,c=e.otherActions,s=e.submitButton,u=void 0===s?"Submit":s,p=e.submitId,f=e.width;return d("form",{css:we({width:f},";label:Form;"),id:i,onReset:function(e){e.preventDefault(),G(a)&&a()},onSubmit:function(e){e.preventDefault(),G(l)&&l()}},t,d("section",{css:pu.controls},r&&d(dt,{buttonType:"reset",id:o,label:r}),d("div",{css:pu.submit},u&&d(Dt,{buttonType:"submit",id:p,label:u})),c&&d(Sn,{options:c})))},pu={controls:{name:"1owqgay-controls",styles:"display:flex;justify-content:space-between;margin-top:30px;;label:controls;"},submit:{name:"czqod0-submit",styles:"margin-left:auto;&:not(:last-of-type){margin-right:5px;};label:submit;"}};function fu(){return(fu=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var gu=t("path",{d:"M27.565 14.13c-.134-10.058-10.33-8.59-11.991-8.283a.203.203 0 00-.156.262l2.16 6.588c.1.303.417.479.726.4 5.147-1.298 8.369.613 9.102 1.118a.101.101 0 00.16-.085",fill:"#BDBCBC"}),bu=t("path",{d:"M27.858 14.13C27.992 4.072 38.19 5.54 39.85 5.848c.121.022.194.145.123.363l-2.22 6.77c-.033.102-.248.218-.456.163-5.25-1.388-8.537.562-9.279 1.072a.101.101 0 01-.159-.085",fill:"#E65000"}),hu=t("path",{d:"M28.851 8.37c2.36-6.255 9.127-6.033 10.522-5.918.13.01.216.14.175.265l-.692 2.11a.101.101 0 01-.107.069c-6.007-.667-8.716 2.088-9.72 3.566-.067.1-.22.02-.178-.092",fill:"#69B3E6"}),mu=t("path",{d:"M38.78.266l-.415 1.267a.102.102 0 01-.096.07c-4.79.048-7.351 2.563-8.428 4.005-.074.099-.227.005-.172-.105.923-1.859 3.414-5.44 8.915-5.503a.203.203 0 01.196.266z",fill:"#FABD34"}),vu=t("path",{d:"M4.325 40C1.485 40 0 37.687 0 35.4c0-2.27 1.486-4.57 4.325-4.57 2.15 0 3.383 1.331 3.435 1.388a.716.716 0 01-1.057.966c-.042-.045-.888-.922-2.378-.922-1.988 0-2.893 1.627-2.893 3.139 0 1.526.905 3.167 2.893 3.167 1.494 0 2.36-.93 2.369-.94a.716.716 0 011.071.95C7.714 38.636 6.48 40 4.325 40zM32.96 40c-2.84 0-4.325-2.313-4.325-4.6 0-2.27 1.485-4.57 4.324-4.57 2.15 0 3.384 1.331 3.435 1.388a.716.716 0 01-1.056.966c-.042-.045-.888-.922-2.379-.922-1.988 0-2.893 1.627-2.893 3.139 0 1.526.905 3.167 2.893 3.167 1.495 0 2.361-.93 2.37-.94a.716.716 0 011.07.95c-.05.058-1.284 1.422-3.44 1.422zM14.142 28.887a.715.715 0 01-.409-1.304c1.24-.86 1.345-2.47 1.332-3.122v-7.402a.716.716 0 011.432 0v7.354c.016.904-.14 3.093-1.948 4.346a.71.71 0 01-.407.128zM33.002 25.513c-2.839 0-4.325-2.313-4.325-4.599 0-2.271 1.486-4.571 4.325-4.571 2.15 0 3.384 1.331 3.435 1.388a.716.716 0 01-1.056.966c-.043-.046-.89-.922-2.379-.922-1.987 0-2.893 1.627-2.893 3.14 0 1.525.906 3.167 2.893 3.167 1.492 0 2.338-.906 2.373-.945a.718.718 0 011.01-.05c.291.263.319.71.058 1.004-.052.058-1.286 1.422-3.44 1.422M11.539 16.34a.716.716 0 00-.716.716v5.207c0 1.007-.82 1.826-1.826 1.826h-.053a1.828 1.828 0 01-1.826-1.826v-5.207a.716.716 0 10-1.432 0v5.207c0 1.007-.819 1.826-1.825 1.826h-.054a1.828 1.828 0 01-1.825-1.826v-5.207a.716.716 0 00-1.432 0v5.207a3.261 3.261 0 003.257 3.257h.054c1.027 0 1.944-.48 2.541-1.225a3.251 3.251 0 002.542 1.225h.053a3.261 3.261 0 003.258-3.257v-5.207a.716.716 0 00-.716-.716zM13.314 30.822c-.891 0-1.605.262-2.154.663v-3.314a.715.715 0 10-1.43 0v9.72a.71.71 0 00.082.33c.038.072.95 1.76 3.502 1.76 1.32 0 2.44-.508 3.238-1.466.696-.835 1.08-1.946 1.08-3.126 0-1.064-.35-2.14-.957-2.953-.55-.736-1.581-1.614-3.361-1.614zm0 7.729c-.905 0-1.49-.301-1.817-.551a.866.866 0 01-.337-.693v-3.038c0-.659.526-2.017 2.154-2.017 2.284 0 2.888 2.052 2.888 3.137 0 1.523-.904 3.162-2.888 3.162M22.885 16.347c-1.774 0-2.773.87-3.297 1.598-.78 1.082-.896 2.325-.896 2.97 0 1.18.384 2.29 1.08 3.126.799.958 1.918 1.465 3.238 1.465 2.152 0 3.384-1.362 3.435-1.42a.714.714 0 00-1.07-.948c-.008.01-.873.938-2.365.938-1.669 0-2.574-1.159-2.82-2.434h5.98c.396 0 .716-.32.716-.714 0-2.28-1.238-4.58-4-4.58zm-2.716 3.866c.33-2.31 2.294-2.436 2.716-2.436 1.835 0 2.364 1.476 2.514 2.436h-5.23zM26.877 32.586c-.038-.072-.95-1.759-3.502-1.759-2.834 0-4.318 2.297-4.318 4.567 0 1.18.384 2.29 1.08 3.126.799.959 1.918 1.465 3.238 1.465l.034-.001c.876-.007 1.58-.268 2.122-.666a.715.715 0 001.427-.047v-6.353a.719.719 0 00-.081-.332zm-1.348 3.953c0 .658-.527 2.017-2.154 2.017-2.285 0-2.888-2.052-2.888-3.137 0-1.523.904-3.162 2.888-3.162.905 0 1.489.3 1.817.55a.868.868 0 01.337.694v3.038z",fill:"#009FE3"});function yu(e){return t("svg",fu({viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),gu,bu,hu,mu,vu)}function xu(){return(xu=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var wu=t("path",{d:"M235.171 71.957c-.671-50.518-51.708-43.14-60.018-41.605a1.02 1.02 0 00-.781 1.318l10.817 33.09a3.034 3.034 0 003.629 2.007c25.761-6.52 41.889 3.08 45.557 5.613.339.234.8-.01.796-.423z",fill:"#BDBCBC"}),Cu=t("path",{d:"M236.637 71.957c.671-50.518 51.709-43.14 60.019-41.605.603.112.971.732.613 1.826l-11.109 34c-.17.515-1.242 1.095-2.283.818-26.278-6.969-42.732 2.822-46.443 5.384a.508.508 0 01-.797-.423z",fill:"#F1511B"}),Iu=t("path",{d:"M241.607 43.024C253.419 11.61 287.286 12.723 294.27 13.3c.654.055 1.082.708.879 1.332l-3.463 10.597a.507.507 0 01-.54.346c-30.062-3.348-43.624 10.49-48.645 17.914-.336.497-1.106.097-.894-.466z",fill:"#69B3E6"}),Pu=t("path",{d:"M291.304 2.325l-2.08 6.363a.51.51 0 01-.477.35c-23.975.245-36.795 12.875-42.185 20.115-.369.496-1.134.025-.859-.527 4.619-9.335 17.083-27.32 44.621-27.637.696-.01 1.197.671.98 1.336z",fill:"#FABD34"}),ku=t("path",{d:"M223.864 112.447c0 3.308-2.635 10.135-10.779 10.135-11.435 0-14.454-10.307-14.454-15.757 0-7.65 4.522-15.883 14.454-15.883 4.528 0 7.452 1.514 9.095 2.766 1.078.821 1.684 2.124 1.684 3.481v15.258zm-10.779-28.685c-14.186 0-21.61 11.54-21.61 22.937 0 5.93 1.919 11.507 5.401 15.701 3.999 4.814 9.602 7.36 16.209 7.36.058 0 .113-.007.173-.01 4.383-.033 7.905-1.343 10.618-3.343a3.581 3.581 0 003.565 3.353 3.583 3.583 0 003.577-3.589V94.262c0-.579-.142-1.151-.408-1.665-.187-.359-4.753-8.835-17.525-8.835zM7.8 103.21c1.655-11.596 11.482-12.232 13.596-12.232 9.184 0 11.83 7.41 12.582 12.232H7.8zm13.596-19.412c-8.88 0-13.878 4.365-16.504 8.023C.992 97.256.41 103.5.41 106.736c0 5.929 1.919 11.505 5.4 15.699 4.001 4.815 9.604 7.361 16.21 7.361 10.77 0 16.938-6.842 17.195-7.131a3.597 3.597 0 00-.306-5.066 3.565 3.565 0 00-5.046.306c-.043.048-4.376 4.713-11.843 4.713-8.353 0-12.883-5.825-14.11-12.227h29.932a3.58 3.58 0 003.577-3.589c0-11.449-6.192-23.004-20.022-23.004zm237.237 19.499a48.905 48.905 0 01-1.565-.412c-7.068-2.034-9.221-3.672-9.221-7.011 0-3.09 3.077-4.933 8.237-4.933 4.615 0 9.241 2.6 9.294 2.633a3.574 3.574 0 004.877-1.33 3.596 3.596 0 00-1.319-4.9c-.255-.146-6.29-3.583-12.852-3.583-7.664 0-15.392 3.747-15.392 12.113 0 9.765 9.368 12.463 14.404 13.911.539.156 1.14.307 1.778.471 5.852 1.488 8.462 2.819 8.462 6.78 0 1.513-.447 2.623-1.411 3.483-2.062 1.846-6.037 2.321-9.065 1.977-5.52-.634-9.229-3.095-9.918-3.582-1.506-1.07-3.628-.844-4.828.563a3.598 3.598 0 00.757 5.34c1.391.977 6.202 4.012 13.178 4.812.834.093 1.726.149 2.653.149 4.054 0 8.759-1.013 11.985-3.902 2.487-2.226 3.804-5.284 3.804-8.84 0-10.216-9.362-12.595-13.858-13.739zM131.276 83.762a3.585 3.585 0 00-3.577 3.591v24.193c0 6.084-4.934 11.036-10.998 11.036-6.067 0-11.001-4.952-11.001-11.036V87.353a3.585 3.585 0 00-3.576-3.591 3.585 3.585 0 00-3.578 3.591v24.193c0 10.042 8.144 18.214 18.155 18.214 10.01 0 18.152-8.172 18.152-18.214V87.353a3.584 3.584 0 00-3.577-3.591zm44.481 28.699c0 3.306-2.635 10.136-10.777 10.136-11.438 0-14.46-10.31-14.46-15.759 0-7.652 4.526-15.881 14.46-15.881 4.528 0 7.452 1.512 9.092 2.765 1.079.82 1.685 2.123 1.685 3.48v15.259zM164.98 83.776c-6.607 0-12.211 2.546-16.21 7.362-3.484 4.192-5.403 9.771-5.403 15.7 0 5.344 1.744 10.75 4.787 14.829 2.758 3.695 7.916 8.107 16.826 8.107 4.456 0 8.031-1.315 10.777-3.334v16.65a3.583 3.583 0 003.578 3.589 3.583 3.583 0 003.576-3.589V94.275c0-.58-.139-1.15-.407-1.665-.188-.358-4.754-8.834-17.524-8.834zm-83.114 32.558c0 1.358-.606 2.659-1.687 3.48-1.641 1.254-4.563 2.768-9.093 2.768-9.932 0-14.457-8.232-14.457-15.883 0-5.448 3.022-15.757 14.458-15.757 8.144 0 10.779 6.826 10.779 10.133v15.259zm3.576-49.477a3.586 3.586 0 00-3.576 3.59v16.65c-2.75-2.02-6.321-3.335-10.78-3.335-8.909 0-14.068 4.411-16.826 8.11-3.04 4.079-4.784 9.483-4.784 14.827 0 5.93 1.917 11.507 5.401 15.701 3.997 4.814 9.604 7.36 16.21 7.36 12.772 0 17.338-8.473 17.525-8.833a3.6 3.6 0 00.407-1.664V70.448a3.585 3.585 0 00-3.577-3.591zM9.443 147.001c1.86 0 3.02-1.045 3.02-2.511v-.039c0-1.648-1.179-2.509-3.02-2.509H6.582v5.059h2.86zm-5.323-6.063c0-.704.54-1.248 1.24-1.248h4.283c3.282 0 5.323 1.87 5.323 4.7v.041c0 3.151-2.522 4.797-5.604 4.797h-2.78v3.396c0 .681-.54 1.224-1.221 1.224a1.22 1.22 0 01-1.241-1.224v-11.686zM23.553 149.933v-.723a6.715 6.715 0 00-2.4-.421c-1.563 0-2.483.661-2.483 1.767v.04c0 1.024.9 1.605 2.06 1.605 1.601 0 2.823-.923 2.823-2.268zm-7.244.764v-.043c0-2.288 1.78-3.412 4.363-3.412 1.18 0 2.021.179 2.842.441v-.262c0-1.504-.921-2.307-2.622-2.307-.921 0-1.68.158-2.343.42a1.28 1.28 0 01-.38.06 1.01 1.01 0 01-1.021-1.004c0-.441.3-.823.661-.961.999-.383 2.02-.622 3.402-.622 1.58 0 2.762.417 3.504 1.183.779.763 1.138 1.886 1.138 3.273v5.221c0 .661-.521 1.163-1.18 1.163-.7 0-1.181-.483-1.181-1.023v-.402c-.719.863-1.82 1.546-3.441 1.546-1.983 0-3.742-1.144-3.742-3.271zM28.758 144.25c0-.683.52-1.225 1.198-1.225.681 0 1.223.542 1.223 1.225v1.083c.56-1.325 1.6-2.328 2.661-2.328.76 0 1.2.502 1.2 1.206 0 .64-.42 1.063-.96 1.163-1.721.302-2.9 1.627-2.9 4.136v3.134c0 .661-.543 1.205-1.224 1.205-.66 0-1.198-.525-1.198-1.205v-8.394zM37.524 150.816v-5.583h-.401c-.58 0-1.04-.46-1.04-1.044 0-.583.46-1.043 1.04-1.043h.4v-1.809a1.21 1.21 0 012.423 0v1.809h1.9c.58 0 1.06.46 1.06 1.043 0 .584-.48 1.044-1.06 1.044h-1.9v5.201c0 .946.478 1.326 1.3 1.326.279 0 .519-.06.6-.06.539 0 1.02.44 1.02 1.003 0 .439-.3.802-.64.945-.52.179-1.02.28-1.66.28-1.78 0-3.042-.786-3.042-3.112zM59.518 148.507v-.039c0-1.87-1.341-3.416-3.243-3.416-1.94 0-3.181 1.527-3.181 3.374v.042c0 1.847 1.34 3.39 3.223 3.39 1.96 0 3.2-1.523 3.2-3.351zm-8.843 0v-.039c0-3.034 2.4-5.544 5.642-5.544 3.24 0 5.623 2.471 5.623 5.502v.042c0 3.01-2.402 5.52-5.665 5.52-3.22 0-5.6-2.47-5.6-5.481zM64.942 145.233h-.42c-.56 0-1.02-.44-1.02-1.004 0-.561.46-1.024 1.02-1.024h.42v-.782c0-1.165.3-2.048.86-2.611.562-.56 1.342-.845 2.383-.845.481 0 .882.041 1.22.103.44.058.84.459.84 1.002a.996.996 0 01-1.02 1.004 4.279 4.279 0 00-.5-.039c-.921 0-1.401.502-1.401 1.604v.587h1.882c.579 0 1.02.44 1.02 1.001 0 .564-.46 1.004-1.02 1.004h-1.841v7.409c0 .664-.542 1.205-1.221 1.205a1.205 1.205 0 01-1.202-1.205v-7.409zM77.352 141.278a1.3 1.3 0 01-.1-.483c0-.683.58-1.205 1.26-1.205.6 0 1.06.382 1.22.905l3.223 9.656 3.162-9.615c.2-.583.62-.984 1.24-.984h.18c.62 0 1.061.401 1.241.984l3.162 9.615 3.223-9.676c.178-.503.599-.885 1.199-.885.66 0 1.22.522 1.22 1.186 0 .162-.058.36-.119.502l-4.143 11.645c-.22.622-.679 1.026-1.28 1.026H91.8c-.599 0-1.04-.382-1.26-1.026l-3.124-9.176-3.12 9.176c-.22.644-.68 1.026-1.28 1.026h-.24c-.601 0-1.04-.382-1.28-1.026l-4.144-11.645zM97.526 152.402a1.297 1.297 0 01-.42-.923c0-.664.52-1.185 1.18-1.185.322 0 .542.099.761.281.681.703 1.34 1.085 2.281 1.085 1.362 0 2.261-.884 2.261-2.773v-8.069a1.23 1.23 0 011.24-1.225c.682 0 1.243.54 1.243 1.225v8.15c0 1.669-.501 2.912-1.322 3.736-.819.823-2.001 1.244-3.403 1.244-1.7 0-2.939-.661-3.82-1.546zM109.455 152.503v-11.567c0-.702.54-1.245 1.24-1.245h8.145c.602 0 1.102.503 1.102 1.104a1.1 1.1 0 01-1.102 1.107h-6.924v3.653h6.024c.6 0 1.1.502 1.1 1.124 0 .602-.5 1.085-1.1 1.085h-6.024v3.776h7.025c.6 0 1.101.5 1.101 1.103 0 .625-.501 1.105-1.101 1.105h-8.246c-.7 0-1.24-.542-1.24-1.245zM122.244 146.759v-.039c0-3.996 2.982-7.271 7.224-7.271 2.161 0 3.581.644 4.803 1.587.261.201.481.542.481.985 0 .683-.542 1.205-1.222 1.205-.34 0-.579-.121-.742-.242-.959-.784-1.998-1.264-3.339-1.264-2.662 0-4.624 2.207-4.624 4.958v.042c0 2.751 1.941 4.978 4.624 4.978 1.48 0 2.481-.48 3.502-1.344.18-.16.439-.279.74-.279.62 0 1.161.518 1.161 1.143 0 .382-.18.681-.399.884-1.322 1.166-2.824 1.887-5.084 1.887-4.082 0-7.125-3.195-7.125-7.23z",fill:"#706D6E"});function Su(e){return t("svg",xu({viewBox:"0 0 298 154",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),wu,Cu,Iu,Pu,ku)}var Du=function(e){var t=e.copyrightMessage,n=void 0===t?"Copyright WJEC CBAC Ltd ".concat((new Date).getFullYear()):t,r=e.logos,o=void 0===r?[yu,Su]:r,i=e.maxWidth,a=void 0===i?1280:i,l=b(Au);return d("footer",{css:l.footer},d("div",{css:we([l.container,{maxWidth:"".concat(a,"px")}],";label:Footer;")},o.map((function(e,t){return d(e,{key:"logo_".concat(t),css:l.logo})})),d("span",{css:l.copyright},n)))},Ou={name:"11n0obx-container",styles:"align-items:center;display:flex;margin:0 auto;width:100%;;label:container;"},Eu={name:"1oe8c11-logo",styles:"height:25px;margin-right:10px;;label:logo;"},Au=function(e){var t=e.colorPalette;return{container:Ou,copyright:u("border-left:1px solid ",t.border,";color:",t.fontLight,";font-size:12px;padding-left:10px;;label:copyright;",";label:copyright;"),footer:u(Ce,";align-items:center;display:flex;justify-content:flex-start;padding:24px 30px 22px;width:100%;;label:footer;",";label:footer;"),logo:Eu}};function Mu(){return(Mu=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var Lu=t("path",{d:"M10 4.742l4.167 3.75V15H12.5v-5h-5v5H5.833V8.492L10 4.742zM10 2.5L1.667 10h2.5v6.667h5v-5h1.666v5h5V10h2.5L10 2.5z",fill:"currentColor"});function Bu(e){return t("svg",Mu({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Lu)}var Tu=function(e){return"[object Object]"===Object.prototype.toString.call(e)};var Ru={height:"40px",padding:"0"},Nu=function(t){var n=t.logo,r=void 0===n?{eduqas:Su,wjec:yu}:n,o=t.logoId,i=t.logoStyles,l=t.maxWidth,c=void 0===l?1280:l,s=t.menus,u=t.onClickPageIcon,p=t.pageIcon,f=void 0===p?Bu:p,g=t.pageIconHref,m=t.pageTitle,v=t.showPageTitle,y=void 0===v||v,x=O(h(),1)[0].brand,w=b(Hu),I=a((function(){return Tu(e=r)&&e.hasOwnProperty("eduqas")&&e.hasOwnProperty("wjec")?r[x]:r;var e}),[x,r]);return d("header",{css:w.header},d("div",{css:we([w.container,{maxWidth:"".concat(c,"px")}],";label:Header;")},d("div",{css:w.titleContainer},y&&d(e.Fragment,null,d("a",{css:w.pageLink,href:g,onClick:u},d(f,{css:w.pageIcon})),d("h1",{css:w.title},m))),d(I,{css:we(C(C({},Ru),i),";label:Header;"),id:o}),d("section",{css:w.menuContainer},s)))},Fu={name:"29pxmq-container",styles:"align-items:center;display:grid;grid-gap:30px;grid-template-columns:1fr 100px 1fr;justify-items:center;margin:0 auto;;label:container;"},ju={name:"ccpvqy-menuContainer",styles:"align-items:center;display:flex;flex:1;justify-content:flex-end;justify-self:end;min-width:175px;;label:menuContainer;"},zu={name:"1do01nj-titleContainer",styles:"align-items:center;display:flex;justify-self:flex-start;;label:titleContainer;"},Hu=function(e){var t=e.colorPalette;return{container:Fu,header:u(Ce,";background-color:#fff;border-bottom:1px solid ",t.border,";padding:15px 30px;position:sticky;top:0;width:100%;z-index:1;;label:header;",";label:header;"),menuContainer:ju,pageIcon:u("color:",t.fontLight,";height:20px;margin-right:10px;;label:pageIcon;",";label:pageIcon;"),pageLink:u("cursor:pointer;:hover > svg{color:",t.font,";};label:pageLink;",";label:pageLink;"),title:u(Pe,";border-left:1px solid ",t.border,";color:",t.fontLight,";font-size:14px;font-weight:500;margin:0;max-width:100%;padding:5px 0 5px 10px;;label:title;",";label:title;"),titleContainer:zu}},Gu=function(e){var t=e.children,n=e.footerProps,r=e.headerProps,o=e.maxWidth,i=void 0===o?1280:o;return d("div",{css:_u.pageWrapper},d(Nu,k({},r,{maxWidth:i})),d("main",{css:we([_u.content,{maxWidth:"".concat(i+60,"px")}],";label:Page;")},t),d(Du,k({},n,{maxWidth:i})))},_u={content:u("flex:1;margin:0 auto;min-height:100%;padding:40px ",30,"px 0;width:100%;;label:content;",";label:content;"),pageWrapper:u(Ce,";display:flex;flex-direction:column;min-height:100vh;;label:pageWrapper;",";label:pageWrapper;")};function Wu(){var e=D(["\n 0% {\n left: -200%;\n right: 100%;\n }\n\n 60% {\n left: 107%;\n right: -8%;\n }\n\n 100% {\n left: 107%;\n right: -8%;\n }\n"]);return Wu=function(){return e},e}function qu(){var e=D(["\n 0% {\n left: -35%;\n right: 100%;\n }\n 60% {\n left: 100%;\n right: -90%;\n }\n 100% {\n left: 100%;\n right: -90%;\n }\n"]);return qu=function(){return e},e}var Uu=function(e){var t=e.color,n=e.id,r=e.progress,o=O(h(),1)[0],i=o.brand,l=o.colorPalette,c=void 0===r,s=a((function(){return t||l.secondary}),[i,t]),p=a((function(){return ut(s).alpha(.3).toString()}),[s]);return d("progress",{css:we([Yu.progress,c?[Yu.progressIndeterminate,u("&::after,&::before{background-color:",s,";};label:LinearProgress;",";label:LinearProgress;")]:{},u("&::-webkit-progress-bar{background-color:",p,";}&::-webkit-progress-value{background-color:",s,";};label:LinearProgress;",";label:LinearProgress;")],";label:LinearProgress;"),id:n,max:100,value:r})},Vu=p(qu()),$u=p(Wu()),Yu={progress:{name:"4lutt6-progress",styles:"appearance:none;border-radius:2px;height:4px;overflow:hidden;position:relative;width:100%;&::-webkit-progress-bar{border-radius:2px;}&::-webkit-progress-value{border-radius:2px;transition:width 0.3s ease-out;};label:progress;"},progressIndeterminate:u("&::before,&::after{border-radius:2px;bottom:0;content:'';left:0;position:absolute;top:0;}&::after{animation:",Vu," 2.1s cubic-bezier(0.65,0.815,0.735,0.395) infinite;}&::before{animation:",$u," 2.1s cubic-bezier(0.165,0.84,0.44,1) infinite 1.15s;};label:progressIndeterminate;",";label:progressIndeterminate;")};var Xu=function(e){var t=e.context,r=e.icons,i=e.id,a=e.keySuffix,l=void 0===a?"":a,s=e.open,u=void 0!==s&&s,p=e.selectLocaleAction,f=e.showLocaleNameInList,g=void 0===f||f,b=e.showSelectedLocaleName,m=O(h(),1)[0].colorPalette,v=O(c(t),2),y=v[0],x=y.availableLocales,w=y.locale,C=y.strings,I=v[1],P=O(n(u),2),k=P[0],S=P[1],D=O(n(w),2),E=D[0],A=D[1];o((function(){u!==k&&S(u)}),[u]),o((function(){w!==E&&A(w)}),[w]),o((function(){I(p(E))}),[E]);var M=function(e){return function(){return S(e)}};return d(Sn,{id:i,open:k,options:x.map((function(e){return{icon:r&&r[e],label:g&&(C["".concat(e).concat(l)]||"".concat(e).concat(l)),onClick:(t=e,function(){A(t),S(!1)})};var t})),onHide:M(!1),onShow:M(!0),toggle:d(dt,{allowEventPropagation:!0,color:"transparent",icon:r&&r[w],labelColor:m.fontLight},b&&(C["".concat(w).concat(l)]||"".concat(w).concat(l)),d(K,{css:Ju.icon}))})},Ju={icon:{name:"dmqw0n-icon",styles:"display:flex;height:20px;width:20px;;label:icon;"}},Ku=function(e){var t=e.children,n=e.element,r=void 0===n?"div":n,o=e.horizontal,i=void 0!==o&&o,a=e.styles,l=e.vertical,c=void 0===l||l;return d(r,{css:[a,le.scrollbar,{overflowX:i?"auto":"hidden",overflowY:c?"auto":"hidden"}]},t)};var Qu=function(t){var i=t.actionButton,a=void 0===i?"Confirm":i,l=t.actionButtonId,c=t.actionDisabled,s=t.actionLoading,u=t.actionLoadingProgress,p=t.actionType,f=void 0===p?"positive":p,g=t.blockScroll,h=void 0===g||g,m=t.cancelButton,v=void 0===m?"Cancel":m,w=t.cancelButtonId,C=t.children,I=t.closeOnCancel,P=void 0===I||I,k=t.closeOnClickOutside,S=void 0===k||k,D=t.description,E=t.fullscreen,A=t.id,M=t.onAction,L=t.onCancel,B=t.onClose,T=t.onOpen,R=t.open,N=t.otherActions,F=t.padding,j=void 0===F?"30px":F,z=t.showCloseIcon,H=void 0===z||z,_=t.title,W=O(n(!1),2),q=W[0],U=W[1],V=O(n(R),2),$=V[0],Y=V[1],X=r(),J=r(),K=r();o((function(){return $&&Q(),function(){$&&h&&y(K.current),window.clearTimeout(X.current)}}),[]),o((function(){R!==$&&(R?ee():Z())}),[R]),o((function(){$&&Q(),(!$&&h||$&&!h)&&y(K.current)}),[h,$,K.current]),o((function(){!$&&G(B)&&B(),$&&G(T)&&T()}),[$]);var Q=function(){h&&x(K.current,{reserveScrollBarGap:!0})},Z=function(){window.clearTimeout(X.current),U(!0),X.current=window.setTimeout((function(){Y(!1),U(!1)}),300)},ee=function(){window.clearTimeout(X.current),U(!0),Q(),X.current=window.setTimeout((function(){Y(!0),U(!1)}),300)},te="positive"===f?Dt:Pt,ne=_||H,re=q&&!$,oe=q&&$,ie=!q&&!$,ae=b(ud);return d("div",{ref:J,css:we([ae.background,E&&ae.backgroundFullScreen,!$&&ae.backgroundHidden,oe&&ae.backgroundFadeOut,re&&ae.backgroundFadeIn,ie&&le.visiblyHidden],";label:Modal;"),id:A,onClick:function(e){var t=e.target;S&&(t===J.current&&Z())}},d("div",{ref:K,css:we([ae.modal,E&&ae.modalFullScreen,!$&&ae.modalHidden,oe&&ae.modalFadeOut,re&&ae.modalFadeIn,ie&&le.visiblyHidden,{padding:j}],";label:Modal;")},ne&&d("header",{css:ae.header},_&&d(wn,null,_),H&&d(Gs,{css:ae.close,onClick:Z})),D&&d("p",{css:ae.description},D),d(Ku,{styles:[ae.content,ne&&ae.contentWithHeader]},!ie&&C),(a||v||N)&&d("footer",{css:ae.footer},v&&d(dt,{id:w,label:v,onClick:function(){P&&Z(),G(L)&&L()}}),d("section",{css:ae.otherActions},N&&(e.isValidElement(N)?N:d(Sn,{options:N}))),a&&d(te,{disabled:c,id:l,label:a,loading:s,loadingProgress:u,onClick:M}))))},Zu={name:"1qi2rwu-backgroundFadeIn",styles:"backdrop-filter:blur(5px);background-color:rgba(241,243,244,0.80);transition-delay:0ms;;label:backgroundFadeIn;"},ed={name:"151q5fx-backgroundFullScreen",styles:"align-items:flex-end;;label:backgroundFullScreen;"},td={name:"n1qs91-backgroundHidden",styles:"backdrop-filter:blur(0);background-color:rgba(241,243,244,0);;label:backgroundHidden;"},nd={name:"1ukcuyy-content",styles:"display:flex;flex:0 1;;label:content;"},rd={name:"1k7atwp-contentWithHeader",styles:"margin-top:40px;;label:contentWithHeader;"},od={name:"omjprw-footer",styles:"align-items:center;display:flex;justify-content:space-between;margin-top:50px;;label:footer;"},id={name:"134psua-header",styles:"margin-bottom:10px;padding-right:30px;position:relative;;label:header;"},ad={name:"rfgpir-modalFadeOut",styles:"opacity:0;transition-delay:0ms;;label:modalFadeOut;"},ld={name:"17qs269-modalFullScreen",styles:"margin:0 20px 10px 20px;max-height:95vh;max-width:100vw;;label:modalFullScreen;"},cd={name:"1y7urtm-modalHidden",styles:"opacity:0;;label:modalHidden;"},sd={name:"eribgf-otherActions",styles:"align-items:center;display:flex;margin-left:auto;&:not(:last-child){margin-right:10px;};label:otherActions;"},ud=function(e){var t=e.colorPalette;return{background:u("align-items:center;backdrop-filter:blur(5px);background-color:rgba(241,243,244,0.80);bottom:0;display:flex;flex-direction:row;justify-content:center;left:0;position:fixed;right:0;top:0;transition:background-color ",200,"ms linear,backdrop-filter ",200,"ms linear;z-index:998;;label:background;",";label:background;"),backgroundFadeIn:Zu,backgroundFadeOut:u("backdrop-filter:blur(0);background-color:rgba(241,243,244,0);transition-delay:",100,"ms;;label:backgroundFadeOut;",";label:backgroundFadeOut;"),backgroundFullScreen:ed,backgroundHidden:td,close:u("cursor:pointer;color:",t.fontLight,";height:20px;position:absolute;right:0;top:0;;label:close;",";label:close;"),content:nd,contentWithHeader:rd,description:u("color:",t.fontLight,";font-family:'Montserrat',sans-serif;font-size:14px;line-height:20px;margin:0;white-space:pre-line;;label:description;",";label:description;"),footer:od,header:id,modal:u(Ce,";background-color:#FFFFFF;border-radius:",le.borderRadius,";box-shadow:",le.dropShadow,";display:flex;flex-direction:column;justify-content:space-between;max-height:90vh;max-width:60vw;min-height:200px;min-width:200px;position:relative;transition:opacity ",200,"ms linear;;label:modal;",";label:modal;"),modalFadeIn:u("opacity:1;transition-delay:",100,"ms;;label:modalFadeIn;",";label:modalFadeIn;"),modalFadeOut:ad,modalFullScreen:ld,modalHidden:cd,otherActions:sd}};function dd(){return(dd=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var pd=t("path",{d:"M9.5 6.167h1.667v1.666H9.5V6.167zM9.5 9.5h1.667v5H9.5v-5z",fill:"currentColor"}),fd=t("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2 10.333C2 5.733 5.733 2 10.333 2s8.334 3.733 8.334 8.333-3.734 8.334-8.334 8.334A8.336 8.336 0 012 10.333zm1.667 0A6.676 6.676 0 0010.333 17 6.676 6.676 0 0017 10.333a6.675 6.675 0 00-6.667-6.666 6.675 6.675 0 00-6.666 6.666z",fill:"currentColor"});function gd(e){return t("svg",dd({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),pd,fd)}function bd(){var e=D(["\n to { stroke-dashoffset: -100; }\n"]);return bd=function(){return e},e}var hd=function(t){var i=t.actionColor,l=void 0===i?"transparent":i,c=t.actionIcon,s=t.actionLoading,u=t.actionLoadingProgress,p=t.actionText,f=t.actionTextColor,g=void 0===f?B.primaryDark:f,b=t.autoClose,h=t.highlightColor,m=void 0===h?B.border:h,v=t.icon,y=void 0===v?gd:v,x=t.message,w=t.onActionClick,I=t.onClose,P=t.onOpen,k=t.open,S=void 0===k||k,D=t.position,E=t.positionType,A=void 0===E?"relative":E,M=t.showImmediately,L=t.title,T=O(n(!S),2),R=T[0],N=T[1],F=O(n(S&&M),2),j=F[0],z=F[1],H=r(),_=r(),W=a((function(){return y&&"none"!==y?d(y,{css:we([vd.icon,{backgroundColor:m}],"")}):null}),[y]);o((function(){return S&&M&&G(P)&&P(),function(){window.clearTimeout(H.current),window.clearTimeout(_.current)}}),[]),o((function(){if(y&&"none"!==y&&!U(e.createElement(y)))throw new Error("Icon must be a valid SVGComponent")}),[y]),o((function(){S!==j&&(S?V():q())}),[S]),o((function(){j&&b&&(window.clearTimeout(H.current),H.current=window.setTimeout(q,b))}),[b,j]);var q=function(){window.clearTimeout(H.current),window.clearTimeout(_.current),z(!1),_.current=window.setTimeout((function(){N(!0),G(I)&&I()}),500)},V=function(){window.clearTimeout(_.current),N(!1),z(!0),_.current=window.setTimeout((function(){G(P)&&P()}),500)},$=!!p;return d("div",{css:we([vd.container,!j&&vd.containerFadeOut,j&&vd.containerFadeIn,R&&le.visiblyHidden,C({borderLeft:"5px solid ".concat(m),position:A},D)],";label:Notification;")},W,d("div",{css:vd.content},d("h2",{css:vd.title},L),d("p",{css:we([vd.message,$&&{marginBottom:"10px"}],";label:Notification;")},x),$?d(dt,{color:l,icon:c,iconColor:B.fontLight,labelColor:g,label:p,loading:s,loadingProgress:u,onClick:w,size:"small"}):null),j&&b&&d("svg",{css:vd.autoClose,viewBox:"0 0 20 20"},d("circle",{css:we([vd.autoCloseCircle,{animationDuration:"".concat(b,"ms")}],";label:Notification;"),cx:"10",cy:"10",r:"9",pathLength:"100"})),d(Gs,{css:vd.close,onClick:q}))},md=p(bd()),vd={autoClose:{name:"b43jv6-autoClose",styles:"height:20px;position:absolute;right:8px;top:8px;width:20px;;label:autoClose;"},autoCloseCircle:u("animation:",md," linear forwards;fill:transparent;stroke:",B.fontLight,";stroke-dasharray:100;stroke-width:1;transform:rotate(-90deg);transform-origin:50%;;label:autoCloseCircle;",";label:autoCloseCircle;"),close:{name:"lqr9nm-close",styles:"cursor:pointer;height:36px;outline:none;padding:10px;position:absolute;right:0;top:0;width:36px;;label:close;"},container:u(Ce,";background-color:#FFFFFF;border-radius:",le.borderRadius,";box-shadow:",le.dropShadow,";color:",B.fontLight,";display:flex;font-family:'Montserrat',sans-serif;font-size:14px;line-height:20px;max-width:375px;padding:20px 45px 20px 25px;position:relative;transition:opacity ",500,"ms,transform ",500,"ms;z-index:999;;label:container;",";label:container;"),containerFadeIn:{name:"czoffv-containerFadeIn",styles:"opacity:1;transform:translateY(0);transition-timing-function:linear,ease-out;;label:containerFadeIn;"},containerFadeOut:{name:"1pzxo9m-containerFadeOut",styles:"opacity:0;transform:translateY(-60px);transition-timing-function:linear,ease-in;;label:containerFadeOut;"},content:{name:"4iokpr-content",styles:"align-items:flex-start;display:flex;flex-direction:column;max-width:375px;;label:content;"},icon:{name:"12ca1l9-icon",styles:"border-radius:50%;color:#FFFFFF;flex-shrink:0;height:30px;margin-right:30px;padding:5px;width:30px;;label:icon;"},message:{name:"3fqyvy-message",styles:"font-size:14px;line-height:20px;margin:0;white-space:pre-line;@media screen and (-ms-high-contrast:active),(-ms-high-contrast:none){max-width:300px;};label:message;"},title:u("color:",B.font,";font-size:14px;font-weight:500;line-height:20px;margin:0;;label:title;",";label:title;")},yd=function(e){return d(hd,k({},e,{highlightColor:B.error,icon:Gs,title:"Error"}))},xd=function(e){return d(hd,k({},e,{highlightColor:B.primary,title:"Information"}))},wd=function(e){return d(hd,k({},e,{highlightColor:B.success,icon:Qt,title:"Success"}))};var Cd=function(e){var t=e.children,n=e.color,r=e.id,o=O(h(),1)[0].colorPalette;return d("h1",{css:we([Id,{color:n||o.font}],";label:PageTitle;"),id:r},t)},Id={name:"pip6s9-styles",styles:"font-family:'Montserrat',sans-serif;font-size:28px;font-weight:400;line-height:40px;margin:0 0 30px 0;;label:styles;"};var Pd=function(t){var n=t.compact,r=void 0!==n&&n,o=t.current,i=void 0===o?1:o,l=t.id,c=t.onSelect,s=t.total,u=function(e){return function(){e>0&&e<s+1&&G(c)&&c(e)}},p=a((function(){return s>5?i<4?[2,3,4,"..."]:i>s-3?["...",s-3,s-2,s-1]:["...",i-1,i,i+1,"..."]:E(Array(Math.max(0,s-2)).keys()).map((function(e){return e+2}))}),[i,s]),f=b(Od);return d("ol",{css:f.container,id:l},d("li",{css:we([f.option,f.optionNextPrevious,1===i&&f.optionDisabled],";label:Pagination;"),onClick:u(i-1)},d(ee,{height:"100%",width:"100%"})),r?d("li",{css:f.compact},i," of ",s):d(e.Fragment,null,d("li",{css:we([f.option,1===i&&f.optionSelected],";label:Pagination;"),onClick:u(1)},"1"),p.map((function(e,t){return d("li",{key:t,css:we([f.option,e===i&&f.optionSelected,"string"==typeof e&&f.optionSeparator],";label:Pagination;"),onClick:"number"==typeof e?u(e):null},e)})),s>1&&d("li",{css:we([f.option,i===s&&f.optionSelected],";label:Pagination;"),onClick:u(s)},s)),d("li",{css:we([f.option,f.optionNextPrevious,i===s&&f.optionDisabled],";label:Pagination;"),onClick:u(i+1)},d(re,{height:"100%",width:"100%"})))},kd={name:"1ugari0-compact",styles:"margin:0 15px;text-align:center;user-select:none;width:50px;;label:compact;"},Sd={name:"8rp8l4-optionDisabled",styles:"opacity:0.33;pointer-events:none;;label:optionDisabled;"},Dd={name:"kcytqa-optionSeparator",styles:"pointer-events:none;;label:optionSeparator;"},Od=function(e){var t=e.colorPalette;return{compact:kd,container:u(Ce,";display:flex;font-family:'Montserrat',sans-serif;font-size:14px;justify-content:center;line-height:20px;list-style:none;margin:0;padding:0;width:100%;;label:container;",";label:container;"),option:u("align-items:center;border-radius:",le.borderRadius,";color:",t.fontLight,";cursor:pointer;display:flex;height:20px;justify-content:center;margin:0 5px;user-select:none;width:20px;&:first-of-type{margin-left:0;}&:last-of-type{margin-right:0;};label:option;",";label:option;"),optionDisabled:Sd,optionNextPrevious:u("border:1px solid ",t.border,";;label:optionNextPrevious;",";label:optionNextPrevious;"),optionSelected:u("background-color:",t.primary,";color:#FFFFFF;pointer-events:none;;label:optionSelected;",";label:optionSelected;"),optionSeparator:Dd}},Ed=0,Ad=function(e){var t=e.children,r=e.css,o=e.maskComponent,i=S(e,["children","css","maskComponent"]),a=O(n("SvgMask_Mask_".concat(Ed++)),1)[0];return d("svg",k({xmlns:"http://www.w3.org/2000/svg",css:we([Ce,r],";label:SvgWithMask;")},i),d("defs",null,d("mask",{id:a},o)),d("g",{mask:"url(#".concat(a,")"),height:"100%",width:"100%"},t))};function Md(){return(Md=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var Ld=t("path",{d:"M10 3.75C5.833 3.75 2.275 6.342.833 10c1.442 3.658 5 6.25 9.167 6.25s7.725-2.592 9.167-6.25c-1.442-3.658-5-6.25-9.167-6.25zm0 10.417A4.168 4.168 0 015.833 10C5.833 7.7 7.7 5.833 10 5.833S14.167 7.7 14.167 10 12.3 14.167 10 14.167zM10 7.5A2.497 2.497 0 007.5 10c0 1.383 1.117 2.5 2.5 2.5s2.5-1.117 2.5-2.5-1.117-2.5-2.5-2.5z",fill:"currentColor"});function Bd(e){return t("svg",Md({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Ld)}function Td(){var e=D(["\n from {\n stroke-dashoffset: 0;\n }\n to {\n stroke-dashoffset: -157;\n }\n"]);return Td=function(){return e},e}var Rd=function(e){var t=e.disabled,i=e.gridArea,a=e.highlightColor,l=e.highlighted,c=e.id,s=e.label,u=e.name,p=e.onChange,f=e.placeholder,g=e.show,m=e.value,v=void 0===m?"":m,y=O(h(),1)[0].colorPalette,x=O(n(v),2),w=x[0],C=x[1],I=O(n(g),2),P=I[0],k=I[1],S=O(n(!g),2),D=S[0],E=S[1],A=r();o((function(){v!==w&&C(v)}),[v]),o((function(){k(g),E(!g)}),[g]);var M=function(){k(!1),window.clearTimeout(A.current),D||E(!0)},L=function(){k(!0),A.current=window.setTimeout(M,5e3)},B=b(Fd);return d("label",{css:we([B.label,i&&{gridArea:i}],";label:Password;"),id:c},s,d("input",{id:c,css:we([B.input,l&&{borderColor:a||y.highlight}],";label:Password;"),name:u,type:P?"text":"password",value:w,onChange:function(e){var t=e.target.value;C(t),G(p)&&p(t)},placeholder:f,disabled:t}),d(Ad,{maskComponent:d(Bd,{color:"#fff",height:"100%",x:"50%",y:"50%"}),css:we([B.icon,!t&&B.iconActive,P&&!D&&B.iconShown,s&&{transform:"translateY(calc(-50% + ".concat(10,"px))")}],";label:Password;"),viewBox:"25 25 50 50",onClick:t?null:function(){P?M():L()}},d("circle",{cx:"50",cy:"50",r:"25",strokeWidth:"50",fill:"currentColor",css:we([B.iconBackground,P&&D&&B.iconBackgroundAnimated],";label:Password;")})))},Nd=p(Td()),Fd=function(e){var t=e.colorPalette;return{icon:u("color:",t.fontLight,";height:30px;padding:5px 10px;position:absolute;right:0;top:50%;transform:translateY(-50%);transition:fill 0.05s linear;width:40px;;label:icon;",";label:icon;"),iconActive:u("cursor:pointer;&:hover{color:",t.font,";};label:iconActive;",";label:iconActive;"),iconBackground:u("stroke:",t.primary,";stroke-dasharray:157;stroke-dashoffset:157;transform:rotate(-90deg);transform-origin:100% 100%;transition:stroke-dashoffset 0.1s linear;;label:iconBackground;",";label:iconBackground;"),iconBackgroundAnimated:u("animation:",Nd," ",5e3,"ms linear;color:",t.fontLight,";;label:iconBackgroundAnimated;",";label:iconBackgroundAnimated;"),iconShown:u("color:",t.primary,";;label:iconShown;",";label:iconShown;"),input:u("border:1px solid ",t.border,";border-radius:",le.borderRadius,";color:",t.font,";font-size:14px;height:30px;outline:none;padding:5px 40px 5px 10px;transition:background-color 0.05s linear,border-color 0.05s linear;&:disabled{background-color:",t.neutral,";color:",t.fontLight,";cursor:not-allowed;}&:focus{border-color:",t.primary,";}&::placeholder{color:",t.fontLight,";};label:input;",";label:input;"),label:u(Ce,";color:",t.font,";display:flex;flex-direction:column;font-family:'Montserrat',sans-serif;font-size:12px;line-height:",20,"px;position:relative;;label:label;",";label:label;")}};var jd={name:"1ldhxet-Wrapper",styles:"background-color:#fff;bottom:0;left:0;padding:30px 10px;position:absolute;right:0;top:0;;label:Wrapper;"},zd=function(t){var r=t.children,i=t.isLoadingStyles,a=t.onOpen,l=t.popupWindow,c=O(n(!1),2),s=c[0],u=c[1];return o((function(){s||i||(G(a)&&a(l),u(!0))}),[i]),d(e.Fragment,null,r,i&&d("div",{css:jd},d(Uu,null)))},Hd=function(e){var t=e.children,i=e.height,a=void 0===i?500:i,l=e.id,c=void 0===l?"":l,s=e.onClose,u=e.onOpen,p=e.open,f=e.position,g=void 0===f?{x:50,y:200}:f,b=e.title,h=void 0===b?"":b,v=e.width,y=void 0===v?500:v,x=O(n(),2),w=x[0],C=x[1],I=r(),P=r(document.querySelectorAll("[data-emotion]")),k=O(n(!1),2),S=k[0],D=k[1],E=O(n(p),2),A=E[0],M=E[1],L=O(n(!1),2),B=L[0],T=L[1];o((function(){var e=document.querySelectorAll("[data-emotion]");A&&I.current&&Array.from(e).some((function(e,t){return e!==P.current[t]}))&&(P.current=e,N())})),o((function(){return function(){return I.current&&I.current.close()}}),[]),o((function(){A&&F(),!I.current||I.current.closed||A||I.current.close()}),[t,A]),o((function(){I.current&&(I.current.document.title=h)}),[h]),o((function(){return M(p)}),[p]);var R=function(){D(!1),M(!1),T(!1),G(s)&&s()},N=function(){var e=I.current.document,t=e.head,n=t.querySelectorAll("style");Array.from(n).forEach((function(e){return t.removeChild(e)})),P.current.forEach((function(n){var r=n.textContent,o=n.sheet,i=e.createElement("style");if(i.appendChild(e.createTextNode("")),t.appendChild(i),r)i.appendChild(e.createTextNode(r));else{var a=i.sheet;[].forEach.call(o.cssRules,(function(e){a.insertRule(e.cssText)}))}})),requestAnimationFrame((function(){D(!0)}))},F=function(){if((!A||!I.current||I.current.closed)&&(D(!1),I.current=window.open("",c,"left=".concat(g.x,",height=").concat(a,",top=").concat(g.y,",width=").concat(y)),I.current)){var e=I.current.document.createElement("main");e.setAttribute("id",c),C(e),I.current.onbeforeunload=R,I.current.document.body.appendChild(e),I.current.document.title=h,requestAnimationFrame((function(){N(),M(!0),T(!0)}))}};return A&&B&&I.current&&w?m.createPortal(d(zd,{isLoadingStyles:!S,onOpen:u,popupWindow:I.current},t),w):null};var Gd=function(t){var i=t.children,l=t.footer,c=void 0===l?e.Fragment:l,s=t.header,p=void 0===s?e.Fragment:s,g=t.id,b=t.isNested,h=t.margin,m=void 0===h?"auto":h,v=t.onLayout,y=t.orientation,x=void 0===y?"portrait":y,w=t.parentFooterHeight,I=void 0===w?0:w,P=t.parentHeaderHeight,k=void 0===P?0:P,S=t.verticalAlign,D=void 0===S?"top":S,E=O(n("auto"),2),A=E[0],M=E[1],L=O(n("auto"),2),B=L[0],T=L[1],R=r(),N=r(),F=a((function(){return("auto"===A?0:A)+("auto"===B?0:B)+I+k}),[A,B,I,k]);return o((function(){R.current&&M(R.current.offsetHeight),N.current&&T(N.current.offsetHeight)}),[p,c,N.current,R.current]),o((function(){"auto"!==A&&"auto"!==B&&G(v)&&v()}),[A,B]),d(e.Fragment,null,!b&&d(f,{styles:u("@media print{*{-webkit-print-color-adjust:exact;}@page{margin:",m,";size:",x,";}};label:PrintLayout;",";label:PrintLayout;")}),d("table",{cellPadding:0,cellSpacing:0,css:_d.printLayoutTable,id:g},d("thead",null,d("tr",null,d("td",{css:_d.printLayoutTableCell,style:{height:B}},d("header",{ref:N,css:we([_d.header,!b&&_d.printHeader],";label:PrintLayout;")},d(p,null))))),d("tbody",null,d("tr",null,d("td",{css:we([_d.printLayoutTableCell,_d.content],";label:PrintLayout;"),style:{height:b?"calc(100vh - ".concat(F,"px)"):"auto",verticalAlign:D}},e.Children.map(i,(function(t){return t&&t.type&&("PrintLayout"===t.type.displayName||"PrintLayout"===t.type.name)?e.cloneElement(t,C(C({},t.props),{},{isNested:!0,parentFooterHeight:A,parentHeaderHeight:B})):t}))))),d("tfoot",null,d("tr",null,d("td",{css:_d.printLayoutTableCell,style:{height:A}},d("footer",{ref:R,css:we([_d.footer,!b&&_d.printFooter],";label:PrintLayout;")},d(c,null)))))))};Gd.displayName="PrintLayout";var _d={content:{name:"tq4nwl-content",styles:"height:100%;;label:content;"},footer:{name:"suv5np-footer",styles:"background-color:#fff;overflow:hidden;;label:footer;"},header:{name:"7km49f-header",styles:"background-color:#fff;overflow:hidden;;label:header;"},printFooter:{name:"13luwd5-printFooter",styles:"@media print{bottom:0;left:0;position:fixed;width:100%;};label:printFooter;"},printHeader:{name:"z4youf-printHeader",styles:"@media print{left:0;position:fixed;top:0;width:100%;};label:printHeader;"},printLayoutTable:u(Ce,";width:100%;/* Margin will be provided by @page rule in global when printing */ @media print{padding:0;page-break-after:always;page-break-before:always;page-break-inside:avoid;};label:printLayoutTable;",";label:printLayoutTable;"),printLayoutTableCell:{name:"ghbbba-printLayoutTableCell",styles:"padding:0;;label:printLayoutTableCell;"}},Wd=function(e){var t=e.autoPrint,i=e.children,a=e.closeOnPrint,l=e.id,c=e.onClose,s=e.onOpen,u=S(e,["autoPrint","children","closeOnPrint","id","onClose","onOpen"]),p=O(n(!1),2),f=p[0],g=p[1],b=O(n(!1),2),h=b[0],m=b[1],v=r();o((function(){f&&h&&y()}),[f,h]);var y=function(){G(s)&&s(v.current),t&&v.current.print()},x=function(){a&&v.current.close()};return d(Hd,k({},u,{id:l,onClose:function(){g(!1),m(!1),G(c)&&c()},onOpen:function(e){(v.current=e,v.current.document.body.style.margin="0",v.current.document.body.style.padding="0","onafterprint"in v.current)?v.current.onafterprint=x:window.matchMedia("print").addListener((function(e){return e.matches&&x()}));m(!0)}}),d(Gd,k({},u,{onLayout:function(){g(!0)}}),i))};var qd=function(e){var t=e.disabled,r=e.gridArea,i=e.keyExtractor,a=e.highlightedOption,l=e.id,c=e.labelExtractor,s=e.name,u=e.onSelect,p=e.options,f=e.orientation,g=void 0===f?"horizontal":f,h=e.selectedOption;if(!q(p)&&!W(p)&&!i)throw new Error("You must specify a keyExtractor if the options array contains non-primitive entry types");var m=O(n(h),2),v=m[0],y=m[1];o((function(){return y(h)}),[h]);var x=function(e,t){return _(e)?e.key:j(e,i,t)},w=function(e){return function(){y(e),G(u)&&u(e)}},C=a&&x(a,p.indexOf(a)),I=v&&x(v,p.indexOf(v)),P=b(Vd);return d("div",{id:l,css:we([P.container,{flexDirection:"vertical"===g?"column":"row"},r&&{gridArea:r}],";label:RadioGroup;")},p.map((function(e,n){var r=x(e,n),o=C===r,i=I===r;return d("label",{key:r,css:we([P.radioButtonContainer,"vertical"===g?P.radioButtonContainerVertical:{},o?P.radioButtonContainerHighlight:{},t?P.disabled:{},i?P.selected:{},t&&i?P.disabledSelected:{}],"")},d("input",{type:"radio",defaultChecked:i,disabled:t,onChange:w(e),name:s,value:r,css:P.radioButton}),_(e)?e.label:z(e,c,n))})))},Ud={name:"irsy5r-radioButtonContainerVertical",styles:"&:not(:last-child){margin-bottom:20px;margin-right:0;};label:radioButtonContainerVertical;"},Vd=function(e){var t=e.colorPalette;return{container:u(Ce,";align-items:flex-start;display:flex;;label:container;",";label:container;"),disabled:u("color:",t.fontLight,";cursor:not-allowed;&::before{box-shadow:0 0 0 10px ",t.neutral," inset;};label:disabled;",";label:disabled;"),disabledSelected:u("&::before{box-shadow:0 0 0 ",5,"px ",t.neutral," inset,0 0 0 ",10,"px ",t.fontLight," inset;};label:disabledSelected;",";label:disabledSelected;"),radioButton:le.visiblyHidden,radioButtonContainer:u("align-items:center;cursor:pointer;display:flex;&:focus-within::before{border-color:",t.primary,";}&:not(:last-child){margin-right:20px;}&::before{background-clip:content-box;background-color:transparent;border:1px solid ",t.border,";border-radius:50%;content:'';display:inline-block;height:",20,"px;margin-right:10px;padding:",5,"px;width:",20,"px;};label:radioButtonContainer;",";label:radioButtonContainer;"),radioButtonContainerHighlight:u("&::before{border-color:",t.highlight,";};label:radioButtonContainerHighlight;",";label:radioButtonContainerHighlight;"),radioButtonContainerVertical:Ud,selected:u("&::before{background-color:",t.primary,";};label:selected;",";label:selected;")}},$d=function(e){var t=e.children,n=e.color,r=e.id,o=O(h(),1)[0].colorPalette,i=b(Yd);return d("h3",{css:we([i.sectionHeading,{borderLeftColor:n||o.secondary}],";label:SectionHeading;"),id:r},t)},Yd=function(e){var t=e.colorPalette;return{sectionHeading:u("border-left:2px solid;color:",t.font,";font-family:'Montserrat',sans-serif;font-size:14px;font-weight:500;line-height:20px;margin:0;padding-left:7px;;label:sectionHeading;",";label:sectionHeading;")}};var Xd=function(e){var t=e.children,n=e.color,r=e.id,o=O(h(),1)[0].colorPalette;return d("h3",{css:we([Jd,{color:n||o.font}],";label:SectionTitle;"),id:r},t)},Jd={name:"f807mo-styles",styles:"font-family:'Montserrat',sans-serif;font-size:18px;font-weight:400;line-height:30px;margin-top:0;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;;label:styles;"},Kd=function(e){return Tu(e)&&e.hasOwnProperty("options")&&e.hasOwnProperty("label")&&"string"==typeof e.label},Qd=function(e){var t=e.blankOption,r=e.disabled,i=e.gridArea,c=e.highlightColor,s=e.highlighted,u=e.id,p=e.label,f=e.onSelect,g=e.optionComparator,m=e.optionKeyExtractor,v=e.optionLabelExtractor,y=e.options,x=e.placeholder,w=e.readonly,C=e.selectedOption,I=e.sortOptions,P=O(n(!1),2),S=P[0],D=P[1];if(o((function(){D(!1)}),[y]),!S&&y.length>0){var A=y.filter((function(e){return!Kd(e)}));if(D(!0),!((Kd(y[0])?q(y[0].options)||W(y[0].options):q(A)||W(A))||m))throw new Error("You must specify a keyExtractor if the options array contains non-primitive entry types")}var M=function(e){var t=0;return y.find((function(n){if(Kd(n)){var r=n.options.indexOf(e);return t+=r>-1?r:n.options.length,r>-1}return t+=n===e?0:1,n===e})),t},L=function(e){return _(e)?e.key:j(e,m,M(e))},B=O(h(),1)[0].colorPalette,T=l(g||function(e,t){var n=_(e)?e.label:z(e,v,y.indexOf(e)),r=_(t)?t.label:z(t,v,y.indexOf(t));return n>r?1:n<r?-1:0},[g]),R=a((function(){if(I){var e=y.filter(Kd).map((function(e){return{originalIndex:y.indexOf(e),group:{label:e.label,options:E(e.options).sort(T)}}})),t=y.filter((function(e){return!Kd(e)})).sort(T);return e.forEach((function(e){var n=e.originalIndex,r=e.group;t.splice(n,0,r)})),t}return y}),[y,T,I]),N=O(n((function(){return C?L(C):!x&&!t&&!r&&R&&R.length>0&&(Kd(R[0])?L(R[0].options[0]):L(R[0]))})),2),F=N[0],H=N[1];o((function(){if(C){var e=L(C);F!==e&&H(e)}else F&&H(void 0)}),[C]);var U=b(Zd),V=function(e){var t=M(e),n=L(e);return d("option",{css:U.option,key:n,value:n},_(e)?e.label:z(e,v,t))};return d("label",{css:we([U.label,i&&{gridArea:i}],";label:Select;")},p,d("select",k({id:u,css:we([!F&&U.placeholder,U.select,s&&{borderColor:c||B.highlight},w&&U.readonly],";label:Select;")},F?{"data-value":F}:{},{onChange:function(e){var t,n=e.target.value;y.find((function(e){var r=Kd(e)?e.options.find((function(e){return L(e)===n})):e;return L(r)===n&&(t=r),void 0!==t})),H(n),G(f)&&f(t)},value:F||"",disabled:r}),x&&d("option",{disabled:!0,hidden:!0,value:""},x),t&&d("option",{value:""}),R.map((function(e){return Kd(e)?d("optgroup",{key:(t=e).label,label:t.label},t.options.map(V)):V(e);var t}))))},Zd=function(e){var t=e.colorPalette;return{label:u(Ce,";color:",t.font,";display:flex;flex-direction:column;font-family:'Montserrat',sans-serif;font-size:12px;line-height:20px;position:relative;;label:label;",";label:label;"),option:u("color:",t.font,";;label:option;",";label:option;"),placeholder:u("color:",t.fontLight,";;label:placeholder;",";label:placeholder;"),readonly:u("background:none;border:none;color:",t.font,";cursor:default;padding-left:0;pointer-events:none;;label:readonly;",";label:readonly;"),select:u("appearance:none;background:#fff ",$(d(K,{color:t.font}))," calc(100% - 5px) center / 20px no-repeat;border:1px solid ",t.border,";border-radius:",le.borderRadius,';font-family:"Montserrat",sans-serif;font-size:14px;height:30px;line-height:20px;outline:none;padding:5px 30px 5px 10px;transition:border-color 0.05s linear;width:100%;&:disabled{background-color:',t.neutral,";background-image:",$(d(K,{color:t.fontLight})),";background-size:20px;color:",t.fontLight,";cursor:not-allowed;}&:focus{border-color:",t.primary,";};label:select;",";label:select;")}};function ep(){return(ep=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var tp=t("mask",{id:"header_shapes_svg__a",maskUnits:"userSpaceOnUse",x:0,y:0,width:1440,height:150},t("path",{fill:"#fff",d:"M0 0h1440v150H0z"})),np=t("g",{mask:"url(#header_shapes_svg__a)"},t("path",{opacity:.4,d:"M4.093 21.192L1.725-50.176a5 5 0 013.923-5.05l249.66-54.934a4.999 4.999 0 014.394 1.144L388.786 5.551a5.002 5.002 0 011.444 5.26L372.279 67.06a5 5 0 01-3.215 3.233L138.73 145.341a5 5 0 01-4.961-1.098L5.679 24.681a5 5 0 01-1.586-3.49zM1438.64 11.165l5.18-83.581a5 5 0 00-3.78-5.16l-286.09-71.608a4.986 4.986 0 00-4.42 1.017L995.649-19.287a4.998 4.998 0 00-1.719 2.995L970.938 118.98a5 5 0 004.653 5.83l370.079 20.533a5.005 5.005 0 004.42-2.188l87.7-129.495c.5-.74.8-1.602.85-2.495z",fill:"#47BAD1"}),t("path",{opacity:.4,d:"M341.147 35.262l214.851 26.282a5.003 5.003 0 004.313-1.605l92.293-101.841c3.011-3.322.465-8.622-4.01-8.349L337.991-31.26a5 5 0 00-4.686 5.296l3.459 56.569a5 5 0 004.383 4.657z",fill:"#A55896"}),t("path",{opacity:.4,d:"M636.066 94.071l-192.7-231.608c-1.998-2.401-1.329-6.026 1.393-7.556l302.76-170.202a5 5 0 016.809 1.908L926.159-7.729c1.532 2.725.215 6.173-2.744 7.182L641.524 95.605a5 5 0 01-5.458-1.534z",fill:"#2855A2"}),t("path",{opacity:.4,d:"M983.494 89.93L703.798 14.977c-3.017-.808-4.562-4.154-3.221-6.975l143.28-301.486a5 5 0 016.662-2.37l304.371 144.653c2.83 1.342 3.74 4.918 1.91 7.45L988.837 88.035a5 5 0 01-5.343 1.895z",fill:"#B0C600"}));function rp(e){return t("svg",ep({viewBox:"0 0 1440 150",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),tp,np)}var op={cancel:"Cancel",code:"Code",forgotPassword:"Forgot your password?",newPassword:"New password",password:"Password",repeatNewPassword:"Re-enter new password",username:"Username",changePasswordPrompt:"Enter a new password below",changePasswordSubmit:"Change password",changePasswordTitle:"Change your password",changePasswordWarning:"Passwords do not match",forceChangePasswordPrompt:"You must enter a new password",forceChangePasswordTitle:"Change your password",mfaPrompt:"A code has been sent to the email address associated with your account. Enter the code below to continue",mfaSubmit:"Submit code",mfaTitle:"Verify signin",confirmResetPasswordPrompt:"Enter the provided code along with your new password below",requestResetPasswordPrompt:"Enter your email address below and we will send a code to reset your password",resetPasswordHaveCode:"Already have a reset code?",resetPasswordSubmit:"Request reset",resetPasswordTitle:"Reset your password",signin:"Sign in",signinPrompt:"Please sign in to access your account",signout:"Sign out",signup:"Sign up now",signupPrompt:"Don't have an account?",welcomeMessage:"Hello, {username}",welcomeMessageNotSignedIn:"Welcome",welcomeMessagePunctuation:"."},ip=function(t){var r=t.allowForgotPassword,i=void 0===r||r,l=t.allowSignup,c=void 0===l||l,s=t.autocomplete,u=void 0===s||s,p=t.enforceFormCompletion,f=t.id,g=t.padding,m=void 0===g?"50px 30px 30px":g,v=t.passwordValidator,y=void 0===v?function(e,t){return e===t}:v,x=t.profileActions,w=t.repeatNewPassword,I=t.type,P=void 0===I?"external":I,k=t.onCancel,S=t.onChangePassword,D=t.onConfirmResetPassword,E=t.onForceChangePassword,A=t.onForgotPassword,M=t.onHaveResetCode,L=t.onRequestResetPassword,B=t.onSignin,T=t.onSignout,R=t.onSignup,N=t.onSubmitMfa,F=t.loading,j=t.isSignedIn,z=void 0!==j&&j,H=t.username,_=t.i18n,W=O(h(),1)[0].colorPalette,q=b(hp),U=C(C({},op),_),V=O(n(!0),2),$=V[0],Y=V[1],X=O(n("confirmResetPassword"===P),2),J=X[0],K=X[1],Q=O(n(""),2),Z=Q[0],ee=Q[1],te=O(n(""),2),ne=te[0],re=te[1],oe=O(n(""),2),ie=oe[0],ae=oe[1],le=O(n(""),2),ce=le[0],se=le[1],ue=O(n(""),2),de=ue[0],pe=ue[1],fe=O(n(""),2),ge=fe[0],be=fe[1];o((function(){ee(""),re(""),ae(""),se(""),pe(""),be("")}),[z]),o((function(){"confirmResetPassword"===P?K(!0):J&&(K(!1),pe(""))}),[P]),o((function(){w||$||Y(!0)}),[w]);var he=function(){G(E)&&E(ne)},me=function(){G(S)&&S(de,ne)},ve=function(){G(D)&&D(ge,ne,ce)},ye=function(){G(L)&&L(ge)},xe=function(){G(B)&&B(ge,de)},Ce=function(){G(N)&&N(Z)},Ie=a((function(){switch(P){case"changePassword":return U.changePasswordPrompt;case"confirmResetPassword":return U.confirmResetPasswordPrompt;case"forceChangePassword":return U.forceChangePasswordPrompt;case"mfa":return U.mfaPrompt;case"requestResetPassword":return U.requestResetPasswordPrompt;default:return U.signinPrompt}}),[_,P]),Pe=a((function(){return"changePassword"!==P&&"confirmResetPassword"!==P&&"requestResetPassword"!==P&&(z||i||c)}),[i,c,z,P]),ke=a((function(){if(!p)return!1;switch(P){case"changePassword":case"forceChangePassword":return""===ne||!$;case"confirmResetPassword":return""===ce||""===ne||!$;case"mfa":return""===Z;case"requestResetPassword":return""===ge;default:return""===de||""===ge}}),[$,Z,ne,ce,ie,de,ge,P]),Se=a((function(){switch(P){case"changePassword":case"forceChangePassword":return U.changePasswordSubmit;case"mfa":return U.mfaSubmit;case"confirmResetPassword":case"requestResetPassword":return U.resetPasswordSubmit;default:return U.signin}}),[_,P]),De=a((function(){switch(P){case"changePassword":return U.changePasswordTitle;case"confirmResetPassword":case"requestResetPassword":return U.resetPasswordTitle;case"forceChangePassword":return U.forceChangePasswordTitle;case"mfa":return U.mfaTitle;default:return d(e.Fragment,null,z?"string"==typeof U.welcomeMessage?U.welcomeMessage.replace(/\{username\}/g,H):U.welcomeMessage:U.welcomeMessageNotSignedIn,U.welcomeMessagePunctuation&&d("span",{css:q.welcomeMessagePunctuation},U.welcomeMessagePunctuation))}}),[_,z,P]);return d("div",{id:f,css:we([q.container,{padding:m}],";label:SigninForm;")},d(rp,{css:q.headerShapes}),d("h1",{css:q.welcomeMessage},De),d("section",{css:q.formContainer},z?d("ul",{css:q.actionsList},x&&x.map((function(e,t){var n=e.icon,r=e.label,o=e.onClick;return d("li",{key:t,css:q.action,onClick:o},n&&d(n,{css:q.actionIcon}),r)}))):d(e.Fragment,null,d("h2",{css:q.prompt},Ie),d("form",{autoComplete:u?"on":"off",css:q.form,onSubmit:function(e){e.preventDefault()}},("internal"===P||"requestResetPassword"===P||"confirmResetPassword"===P)&&d(As,{label:U.username,name:"username",onChange:be,value:ge,width:"100%"}),("changePassword"===P||"forceChangePassword"===P||"confirmResetPassword"===P)&&d(e.Fragment,null,"changePassword"===P&&d(Rd,{label:U.password,name:"password",onChange:pe,value:de}),"confirmResetPassword"===P&&d(As,{label:U.code,name:"code",onChange:se,value:ce,width:"100%"}),d(Rd,{label:U.newPassword,name:"password",onChange:function(e){re(e),w&&Y(y(e,ie))},value:ne}),w&&d(Rd,{highlightColor:W.error,highlighted:!$,label:U.repeatNewPassword,name:"confirmPassword",onChange:function(e){ae(e),Y(y(ne,e))},value:ie}),!$&&d("span",{css:q.changePasswordWarning},U.changePasswordWarning)),"internal"===P&&d(Rd,{label:U.password,name:"password",onChange:pe,value:de}),"mfa"===P&&d(As,{name:"code",onChange:ee,value:Z}),d("div",{css:q.formActions},d(Dt,{buttonType:"submit",disabled:ke,icon:_t,label:Se,onClick:function(){switch(P){case"changePassword":return me;case"confirmResetPassword":return ve;case"forceChangePassword":return he;case"mfa":return Ce;case"requestResetPassword":return ye;default:return xe}}()}),("changePassword"===P||"confirmResetPassword"===P||"mfa"===P||"requestResetPassword"===P)&&d("a",{css:q.cancel,onClick:function(){G(k)&&k()}},U.cancel),"requestResetPassword"===P&&d("a",{css:we([q.actionLink,q.haveResetCode],";label:SigninForm;"),onClick:function(){G(M)&&M()}},U.resetPasswordHaveCode))))),Pe&&d("footer",{css:q.userDetails},z?d(dt,{color:"transparent",icon:zt,iconColor:W.fontLight,label:U.signout,labelColor:W.font,onClick:function(){G(T)&&T()}}):d(e.Fragment,null,i&&d("a",{css:q.actionLink,onClick:function(){G(A)&&A()}},d("h2",{css:q.prompt},U.forgotPassword)),c&&d("div",null,d("h2",{css:q.prompt},U.signupPrompt),d("a",{css:q.actionLink,onClick:function(){G(R)&&R()}},U.signup)))),F&&d("div",{css:q.loading},d(He,null)))},ap={name:"t4jsst-actionIcon",styles:"height:20px;margin-right:5px;width:20px;;label:actionIcon;"},lp={name:"ed3u05-actionsList",styles:"list-style:none;margin:20px 0;padding:0;;label:actionsList;"},cp={name:"1ls4o16-container",styles:"font-family:'Montserrat',sans-serif;font-size:14px;line-height:20px;position:relative;;label:container;"},sp={name:"1yvr7hl-form",styles:"& >:not(:last-child){margin-top:10px;};label:form;"},up={name:"10mcxyr-formContainer",styles:"position:relative;;label:formContainer;"},dp={name:"19terqi-formActions",styles:"align-items:center;display:flex;flex-wrap:wrap;justify-content:space-between;margin-top:20px;;label:formActions;"},pp={name:"1iz4fyz-haveResetCode",styles:"display:inline-block;flex:0 1 100%;margin-top:10px;;label:haveResetCode;"},fp={name:"ojnf61-headerShapes",styles:"left:0;position:absolute;top:0;width:100%;;label:headerShapes;"},gp={name:"4j02rb-loading",styles:"align-items:center;background-color:rgba(255,255,255,0.85);bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0;;label:loading;"},bp={name:"1xyaf4m-welcomeMessage",styles:"font-size:18px;font-weight:normal;line-height:40px;margin:0;;label:welcomeMessage;"},hp=function(e){var t=e.colorPalette;return{action:u("border-radius:",le.borderRadius,";cursor:pointer;display:flex;padding:10px;&:hover{background-color:",t.neutral,";}&:not(:last-child){margin-bottom:10px;};label:action;",";label:action;"),actionIcon:ap,actionLink:u("color:",t.primaryDark,";cursor:pointer;text-decoration:none;&:hover{text-decoration:underline;};label:actionLink;",";label:actionLink;"),actionsList:lp,cancel:u("color:",t.secondaryDark,";cursor:pointer;font-size:12px;margin-left:10px;:hover{text-decoration:underline;};label:cancel;",";label:cancel;"),changePasswordWarning:u("color:",t.errorDark,";font-size:12px;;label:changePasswordWarning;",";label:changePasswordWarning;"),container:cp,form:sp,formContainer:up,formActions:dp,haveResetCode:pp,headerShapes:fp,loading:gp,prompt:u("color:",t.fontLight,";font-size:14px;font-weight:normal;margin:0;;label:prompt;",";label:prompt;"),userDetails:u("border-top:1px solid ",t.border,";display:flex;flex-wrap:wrap;justify-content:space-between;margin-top:30px;padding-top:20px;& > *{white-space:nowrap;:not(:last-child){margin:0 15px 15px 0;}};label:userDetails;",";label:userDetails;"),welcomeMessage:bp,welcomeMessagePunctuation:u("color:",t.secondary,";;label:welcomeMessagePunctuation;",";label:welcomeMessagePunctuation;")}};function mp(){return(mp=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var vp=t("g",{fillRule:"evenodd",clipRule:"evenodd",fill:"currentColor"},t("path",{d:"M6.667 6.667A3.332 3.332 0 1110 10a3.332 3.332 0 01-3.333-3.333zm5 0C11.667 5.75 10.917 5 10 5s-1.667.75-1.667 1.667c0 .916.75 1.666 1.667 1.666s1.667-.75 1.667-1.666zM3.333 15c0-2.217 4.442-3.333 6.667-3.333 2.225 0 6.667 1.116 6.667 3.333v1.667H3.333V15zM15 15c-.167-.592-2.75-1.667-5-1.667-2.242 0-4.808 1.067-5 1.667h10z"}));function yp(e){return t("svg",mp({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),vp)}var xp=function(e){var t=e.id,r=e.onClose,i=e.onOpen,a=e.open,l=void 0!==a&&a,c=S(e,["id","onClose","onOpen","open"]),s=O(h(),1)[0].colorPalette,u=O(n(l),2),p=u[0],f=u[1];o((function(){l!==p&&f(l)}),[l]);var g=b(Cp);return d(un,{id:t,maxHeight:"425px",onHide:r,onShow:i,open:p,padding:"0",toggle:d(dt,{allowEventPropagation:!0,color:"transparent",icon:function(e){return d(yp,k({css:g.avatar},e))},id:"signinMenu",labelColor:s.fontLight},d(K,{css:g.arrow})),width:"276px"},d(ip,c))},wp={name:"4379rd-arrow",styles:"display:flex;height:20px;width:20px;;label:arrow;"},Cp=function(e){var t=e.colorPalette;return{arrow:wp,avatar:u("background-color:",t.neutral,";border-radius:50%;padding:1px;;label:avatar;",";label:avatar;")}};var Ip=function(e){var t=e.children,n=e.color,r=e.id,o=O(h(),1)[0].colorPalette;return d("p",{css:we([Pp,{color:n||o.font}],";label:SubParagraph;"),id:r},t)},Pp={name:"1caudsj-styles",styles:"font-family:'Montserrat',sans-serif;font-size:12px;font-weight:400;line-height:20px;margin:0;;label:styles;"},kp=function(e){var t=e.children,n=e.id,r=b(Sp);return d("h2",{css:r.heading,id:n},t)},Sp=function(e){var t=e.colorPalette;return{heading:u("color:",t.font,";font-family:'Montserrat',sans-serif;font-size:24px;font-weight:400;line-height:40px;margin:0 0 30px 0;;label:heading;",";label:heading;")}};var Dp=function(e){return"function"==typeof e},Op=function(t){var i=t.cellStyle,l=t.columns,c=t.columnOptions,s=t.data,u=t.keyExtractor,p=t.id,f=t.onClickRow,g=t.preSorted,h=t.rowOptions,m=t.rowStyle,v=t.selectedRow,y=t.sortable,x=void 0!==y&&y,w=O(n(!1),2),I=w[0],S=w[1],D=O(n(),2),A=D[0],M=D[1],L=O(n(),2),B=L[0],T=L[1],R=r(),N=r(),F=r(),z=a((function(){var e;if(v){var t=s.indexOf(v);e=u?j(v,u,t):t}return e}),[v]),H=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s.length>0&&s[0];return l instanceof Array?l:"function"==typeof l&&e?l(e):[]},_=a((function(){return H().filter((function(e){var t=e.sortable;return x&&!1!==t||t}))}),[l]),W=function(e){var t={};return"max"===e?t=X.cellMax:"min"===e?t=X.cellMin:e&&(t={minWidth:e}),t},q=function(e,t){var n;if(e.hasOwnProperty("key")){var r=e.key;n=t[r]&&t[r].toString()}else if(function(e){return e.hasOwnProperty("render")}(e)){var o=e.render;n=function(e){return"function"==typeof e}(o)?o(t):o}else{var i=e.value;n=function(e){return"function"==typeof e}(i)?i(t):i}return n},U=function(e,t){return Object.keys(e||{}).reduce((function(n,r){var o=e[r];return C(C({},n),{},P({},r,"function"==typeof o?o(t):o))}),{})},V=a((function(){var e=E(s);if(_.length>0&&!g&&void 0!==B){var t=H()[B],n=t.sortableValue;e.sort((function(e,r){var o=n?j(e,n,s.indexOf(e)):q(t,e),i=n?j(r,n,s.indexOf(r)):q(t,r);return void 0===o?1:void 0===i?-1:(o>i?1:o<i?-1:0)*("ascending"===A?1:-1)}))}return e}),[s,x,A,B]);o((function(){if(_.length>0||g){var e=H(),t=e.indexOf(_.find((function(e){return e.sorted}))||_[0]),n=e[t].sorted,r=void 0===n?"ascending":n;!r||r===R.current&&t===N.current||(R.current=r,N.current=t,M(r),T(t))}}),[_]),o((function(){I&&S(!1)}),[V]);var $,Y=function(e,t){return function(){G(f)&&f(e,t)}},X=b(zp);return d("div",{css:X.container},d("table",{css:X.table,id:p},d("thead",{ref:F},d("tr",null,($=s.length>0&&s[0],H().map((function(t,n){var r,o=t.align,i=t.headingStyle,a=t.sortable,l=t.sorted,s=t.title,u=t.width,p=U(c,$).align,f=o||p,b=x&&!1!==a||a,h=l||b&&n===B;return d("th",k({key:"table_header_".concat(n),css:we([X.cell,X.headingCell,b&&X.headingCellSortable,"center"===f&&X.cellCenter,"right"===f&&X.cellRight,W(u),i],""),onClick:b?(r=n,function(){var e=H()[r].onSort,t=r===B&&"ascending"===A?"descending":"ascending";g||(S(!0),setTimeout((function(){r!==B&&T(r),M(t)}),100)),G(e)&&e(t)}):null},h?{"data-sorted":A}:{}),s,b&&d(e.Fragment,null,d(ae,{css:we([X.sortableIcon,X.sortableIconAsc,h&&"ascending"===A&&X.sortableIconActive],"")}),d(K,{css:we([X.sortableIcon,X.sortableIconDesc,h&&"descending"===A&&X.sortableIconActive],"")})))}))))),d("tbody",{css:we([X.tableBody,I&&X.tableBodySorting],";label:Table;")},V.map((function(e,t){var n=H(e),r=U(h,e).group,o="function"==typeof m?m(e,t):m,a=u?j(e,u,t):t;return d("tr",{key:a,css:we([X.tableRow,o],""),onClick:Y(e,t),"data-row-group":r},n.map((function(n,o){var l=n.align,s=n.style,u=U(c,e).align,p=(t>0&&U(h,V[t-1])).group,f=l||u,g=q(n,e),b=Dp(i)?i(e,g,o):i,m=Dp(s)?s(e,g,o):s;return d("td",{key:"row_".concat(t,"_").concat(o),css:we([X.cell,X.bodyCell,"center"===f&&X.cellCenter,"right"===f&&X.cellRight,r&&r===p&&X.cellGrouped,b,m,a===z&&X.cellSelected],"")},g)})))})))),I&&d("div",{css:we([X.loading,{top:F.current&&F.current.offsetHeight}],";label:Table;")},d(He,null)))},Ep={name:"fivor9-cellGrouped",styles:"border-top-color:transparent;;label:cellGrouped;"},Ap={name:"p5l42h-cellCenter",styles:"text-align:center;;label:cellCenter;"},Mp={name:"1yg6efn-cellMax",styles:"width:100%;;label:cellMax;"},Lp={name:"1rrcxob-cellMin",styles:"white-space:nowrap;width:1px;;label:cellMin;"},Bp={name:"nci3f4-cellRight",styles:"text-align:right;;label:cellRight;"},Tp={name:"11zwqm0-container",styles:"position:relative;;label:container;"},Rp={name:"17stf76-headingCell",styles:"font-weight:500;text-align:left;;label:headingCell;"},Np={name:"1m4x2cp-loading",styles:"align-items:flex-start;bottom:0;display:flex;justify-content:center;left:0;margin:30px;position:absolute;right:0;;label:loading;"},Fp={name:"z0gikl-sortableIconAsc",styles:"bottom:calc(50% - 5px);;label:sortableIconAsc;"},jp={name:"9w8rbw-sortableIconDesc",styles:"top:calc(50% - 5px);;label:sortableIconDesc;"},zp=function(e){var t=e.colorPalette;return{bodyCell:u("border:0px solid ",t.border,";border-top-width:1px;;label:bodyCell;",";label:bodyCell;"),cell:u("color:",t.font,";padding:9px 12px;position:relative;transition:border-color ",100,"ms linear;@media print{font-size:13px;};label:cell;",";label:cell;"),cellGrouped:Ep,cellCenter:Ap,cellMax:Mp,cellMin:Lp,cellRight:Bp,cellSelected:u("background-color:",ut(t.secondary).alpha(.1).rgb().string(),";border-bottom:1px solid var(--selected-border-color);;label:cellSelected;",";label:cellSelected;"),container:Tp,headingCell:Rp,headingCellSortable:u("cursor:pointer;padding-right:40px;transition:color 0.05s linear;&:hover{color:",t.fontLight,';&:not([data-sorted="ascending"]) > svg:first-of-type{color:',t.fontLight,';}&[data-sorted="ascending"] > svg:last-of-type{color:',t.fontLight,";}};label:headingCellSortable;",";label:headingCellSortable;"),loading:Np,sortableIcon:u("color:",t.border,";position:absolute;right:10px;width:20px;;label:sortableIcon;",";label:sortableIcon;"),sortableIconActive:u("color:",t.secondary,";;label:sortableIconActive;",";label:sortableIconActive;"),sortableIconAsc:Fp,sortableIconDesc:jp,table:u("border-bottom:1px solid ",t.border,";border-collapse:collapse;border-spacing:0;font-family:'Montserrat',sans-serif;font-size:14px;line-height:20px;width:100%;;label:table;",";label:table;"),tableBody:u("--selected-border-color:",t.secondary,";;label:tableBody;",";label:tableBody;"),tableBodySorting:u("--selected-border-color:",ut(t.secondary).alpha(.25).rgb().string(),";& > tr{opacity:0.25;transition-timing-function:ease-in;};label:tableBodySorting;",";label:tableBodySorting;"),tableRow:u("transition:opacity ",100,"ms ease-out;;label:tableRow;",";label:tableRow;")}};var Hp=function(e){var t=e.backgroundStyle,l=void 0===t?"filled":t,c=e.disabledTabs,s=void 0===c?[]:c,p=e.id,f=e.keyExtractor,g=e.labelExtractor,m=e.onSelect,v=e.scrollable,y=e.selectedTab,x=e.selectedTabColor,w=e.tabs;if(!q(w)&&!W(w)&&!f)throw new Error("You must specify a keyExtractor if the tabs array contains non-primitive entry types");var C=O(h(),1)[0].colorPalette,I=O(n(new Map),1)[0],P=O(n(new Map),2),S=P[0],D=P[1],A=O(n(H(y,w)),2),M=A[0],L=A[1],B=r(),T=a((function(){return s.map((function(e){return _(e)?e.key:j(e,f,w.indexOf(e))}))}),[s]),R=a((function(){return _(M)?M.key:j(M,f,w.indexOf(M))}),[M]);o((function(){v&&F&&B.current.scrollTo({left:F.x-10})}),[M,S]);i((function(){D(new Map(E(I).map((function(e){var t=O(e,2),n=t[0],r=t[1];return[n,{h:r.offsetHeight,w:r.offsetWidth,x:r.offsetLeft,y:r.offsetTop}]}))))}),[w]),o((function(){return L(H(y,w))}),[y]);var N=function(e){return function(){L(e),G(m)&&m(e)}},F=M&&S.get(R.toString()),U=b(_p);return d("div",{ref:B,css:we([U.container,"filled"===l?U.containerFilled:U.containerTransparent,v&&U.containerScrollable,v&&le.scrollbar],";label:Tabs;"),id:p},d("div",{css:we([U.innerContainer,{flexWrap:v?"nowrap":"wrap"},F&&u("&::before{background-color:",x||C.primary,";height:","transparent"===l?2:F.h,"px;left:",F.x,"px;top:","transparent"===l?"calc(100% - 3px)":"".concat(F.y,"px"),";width:",F.w,"px;};label:Tabs;",";label:Tabs;")],";label:Tabs;")},w.map((function(e,t){var n=_(e)?e.key:j(e,f,t),r=n===R,o=T.includes(n);return d("button",k({key:n,ref:function(e){return I.set(n.toString(),e)},css:we([U.tab,r?{color:"transparent"===l?C.font:"#FFF"}:u("&:hover:not(:disabled){background-color:","filled"===l?C.border:C.neutral,";}")],""),disabled:o,onClick:N(e),type:"button"},r?{"data-selected":!0}:null),_(e)?e.label:z(e,g,t))}))))},Gp={name:"nyweum-containerScrollable",styles:"flex-wrap:nowrap;overflow-x:auto;;label:containerScrollable;"},_p=function(e){var t=e.colorPalette;return{container:u("align-self:center;border-radius:",le.borderRadius,";max-width:100%;;label:container;",";label:container;"),containerFilled:u("background-color:",t.neutral,";;label:containerFilled;",";label:containerFilled;"),containerScrollable:Gp,containerTransparent:u("&::after{background-color:",t.border,";bottom:0;content:'';display:block;height:1px;left:0;position:absolute;right:0;};label:containerTransparent;",";label:containerTransparent;"),innerContainer:u("align-items:center;display:inline-flex;padding:",10,"px ",10,"px 0;position:relative;&::before{border-radius:",le.borderRadius,";content:'';position:absolute;transition:height 0.15s linear,left 0.15s ease-in-out,top 0.15s ease-in-out,width 0.15s linear;z-index:0;};label:innerContainer;",";label:innerContainer;"),tab:u("align-items:center;background-color:transparent;border:none;border-radius:",le.borderRadius,";color:",t.font,';cursor:pointer;display:flex;font-family:"Montserrat",sans-serif;font-size:14px;font-weight:500;justify-content:center;line-height:20px;margin-bottom:10px;outline:none;padding:5px 10px;transition:background-color 0.05s linear,color 0.1s linear 0.05s;white-space:pre;z-index:1;&:not(:last-child){margin-right:20px;}&:disabled{opacity:0.5;};label:tab;',";label:tab;")}},Wp=function(e){var t=e.disabled,r=e.gridArea,i=e.height,a=void 0===i?"auto":i,l=e.id,c=e.label,s=e.maxCharacters,p=e.maxHeight,f=void 0===p?"100%":p,g=e.maxWidth,h=void 0===g?"100%":g,m=e.onChange,v=e.placeholder,y=e.readonly,x=e.resizable,w=void 0!==x&&x,C=e.showCount,I=void 0===C||C,P=e.value,S=void 0===P?"":P,D=e.width,E=void 0===D?"100%":D,A=O(n(S),2),M=A[0],L=A[1];o((function(){S!==M&&L(S)}),[S]);var B=b(qp);return d("label",{css:we([B.label,r&&{gridArea:r},I&&u("&::after{content:attr(data-current-value-length) '",void 0!==s&&"/".concat(s),"';};label:TextArea;",";label:TextArea;"),{maxWidth:h,width:E}],";label:TextArea;"),"data-current-value-length":M?M.length:0,"data-max-count":s},c,d("textarea",k({id:l,css:we([le.scrollbar,B.textarea,{height:a,maxHeight:f,resize:w?"both":"none"}],";label:TextArea;"),value:M,placeholder:v,onChange:function(e){var t=e.target.value;L(t),G(m)&&m(t)},readOnly:y,disabled:t,maxLength:s},y?{tabIndex:-1}:{})))},qp=function(e){var t=e.colorPalette;return{label:u(Ce,";display:inline-flex;flex-direction:column;font-family:'Montserrat',sans-serif;font-size:11px;line-height:20px;&::after{color:",t.fontLight,";display:inline-block;font-size:12px;font-family:'Montserrat',sans-serif;margin:5px 5px 0 0;text-align:right;};label:label;",";label:label;"),textarea:u("border:1px solid ",t.border,";border-radius:",le.borderRadius,";color:",t.font,";font-family:'Montserrat',sans-serif;font-size:14px;font-weight:400;line-height:20px;outline:none;padding:10px;text-overflow:ellipsis;white-space:nowrap;&:disabled{background-color:",t.neutral,";cursor:not-allowed;}&:focus{border-color:",t.primary,";}&:not(:read-only){transition:border-color 0.05s linear;};label:textarea;",";label:textarea;")}};var Up=function(t){var r=t.disabled,i=t.gridArea,a=t.id,l=t.offLabel,c=t.onChange,s=t.onLabel,u=t.on,p=void 0!==u&&u,f=O(n(p),2),g=f[0],h=f[1];o((function(){p!==g&&h(p)}),[p]);var m=b(Xp);return d(e.Fragment,null,d("label",{css:we([m.label,r&&m.labelDisabled,i&&{gridArea:i}],";label:Toggle;")},l,d("div",{css:we([m.toggle,g&&m.toggleOn,r&&m.toggleDisabled,l&&m.toggleWithOffText,s&&m.toggleWithOnText],";label:Toggle;")}),s,d("input",{id:a,type:"checkbox",css:le.visiblyHidden,checked:g,disabled:r,onChange:function(e){var t=e.target.checked;h(t),G(c)&&c(t)}})))},Vp={name:"1cl8w45-labelDisabled",styles:"cursor:not-allowed;;label:labelDisabled;"},$p={name:"15v9tf5-toggleWithOffText",styles:"margin-left:7.5px;;label:toggleWithOffText;"},Yp={name:"ryyhuf-toggleWithOnText",styles:"margin-right:7.5px;;label:toggleWithOnText;"},Xp=function(e){var t=e.colorPalette;return{label:u(Ce,";align-items:center;color:",t.font,";cursor:pointer;display:inline-flex;font-family:'Montserrat',sans-serif;font-size:11px;line-height:20px;&:active > div::before,&:focus-within > div::before{border-color:",t.primary,";};label:label;",";label:label;"),labelDisabled:Vp,toggle:u("align-items:center;display:inline-flex;position:relative;&:after{background-color:",t.fontLight,";border-radius:50%;content:'';display:block;height:",14,"px;left:0;margin:",3,"px;position:absolute;top:0;transition:color 0.1s linear,transform 0.1s linear;width:",14,"px;}&:before{border:1px solid ",t.border,";border-radius:",10,"px;content:'';display:block;height:",20,"px;position:relative;width:",37,"px;};label:toggle;",";label:toggle;"),toggleDisabled:u("&::after{background-color:",t.border,";}&::before{background-color:",t.neutral,";};label:toggleDisabled;",";label:toggleDisabled;"),toggleOn:u("&:after{background-color:",t.primary,";transform:translateX(",17,"px);};label:toggleOn;",";label:toggleOn;"),toggleWithOffText:$p,toggleWithOnText:Yp}};export{Be as Accordion,Re as Breadcrumb,dt as Button,Ot as Card,Wt as Carousel,Zt as CheckBox,He as CircularProgress,B as ColorPalette,T as ColorPaletteEduqas,hn as ContextHelp,Sn as ContextMenu,Fn as DateTimePicker,Pt as DestructiveButton,ws as DragAndDropList,Ns as Email,wn as Emphasis,yd as ErrorNotification,Vs as FileInput,tu as FilterList,Du as Footer,du as Form,Nu as Header,kt as IconButton,xd as InfoNotification,As as Input,Uu as LinearProgress,Ts as Link,St as LinkButton,Xu as LocalizationMenu,Qu as Modal,hd as Notification,Gu as Page,Cd as PageTitle,Pd as Pagination,In as Paragraph,Rd as Password,un as Popup,Hd as PopupWindow,Dt as PrimaryButton,Gd as PrintLayout,Wd as PrintWindow,qd as RadioGroup,Ku as ScrollableContainer,$d as SectionHeading,Xd as SectionTitle,Qd as Select,ip as SigninForm,xp as SigninMenu,le as StylePalette,Ip as SubParagraph,kp as SubTitle,wd as SuccessNotification,Op as Table,Hp as Tabs,Wp as TextArea,Up as Toggle};
|
|
9
|
+
*/if("function"==typeof Symbol&&Symbol.for){var zr=Symbol.for;Cr=zr("react.element"),Ir=zr("react.portal"),Pr=zr("react.fragment"),kr=zr("react.strict_mode"),Sr=zr("react.profiler"),Dr=zr("react.provider"),Or=zr("react.context"),Er=zr("react.forward_ref"),Ar=zr("react.suspense"),Mr=zr("react.suspense_list"),Lr=zr("react.memo"),Br=zr("react.lazy"),Tr=zr("react.block"),Rr=zr("react.server.block"),Nr=zr("react.fundamental"),Fr=zr("react.debug_trace_mode"),jr=zr("react.legacy_hidden")}function Hr(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case Cr:switch(e=e.type){case Pr:case Sr:case kr:case Ar:case Mr:return e;default:switch(e=e&&e.$$typeof){case Or:case Er:case Br:case Lr:case Dr:return e;default:return t}}case Ir:return t}}}var Gr={ContextConsumer:Or,ContextProvider:Dr,Element:Cr,ForwardRef:Er,Fragment:Pr,Lazy:Br,Memo:Lr,Portal:Ir,Profiler:Sr,StrictMode:kr,Suspense:Ar,isAsyncMode:function(){return!1},isConcurrentMode:function(){return!1},isContextConsumer:function(e){return Hr(e)===Or},isContextProvider:function(e){return Hr(e)===Dr},isElement:function(e){return"object"==typeof e&&null!==e&&e.$$typeof===Cr},isForwardRef:function(e){return Hr(e)===Er},isFragment:function(e){return Hr(e)===Pr},isLazy:function(e){return Hr(e)===Br},isMemo:function(e){return Hr(e)===Lr},isPortal:function(e){return Hr(e)===Ir},isProfiler:function(e){return Hr(e)===Sr},isStrictMode:function(e){return Hr(e)===kr},isSuspense:function(e){return Hr(e)===Ar},isValidElementType:function(e){return"string"==typeof e||"function"==typeof e||e===Pr||e===Sr||e===Fr||e===kr||e===Ar||e===Mr||e===jr||"object"==typeof e&&null!==e&&(e.$$typeof===Br||e.$$typeof===Lr||e.$$typeof===Dr||e.$$typeof===Or||e.$$typeof===Er||e.$$typeof===Nr||e.$$typeof===Tr||e[0]===Rr)},typeOf:Hr},_r=qe((function(e){e.exports=Gr})),Wr=["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"],qr=["reactReduxForwardedRef"],Ur=[],Vr=[null,null];function $r(e,t){var n=e[1];return[t.payload,n+1]}function Yr(e,t,n){ir((function(){return e.apply(void 0,t)}),n)}function Xr(e,t,n,r,o,i,a){e.current=r,t.current=o,n.current=!1,i.current&&(i.current=null,a())}function Jr(e,t,n,r,o,i,a,l,c,s){if(e){var u=!1,d=null,p=function(){if(!u){var e,n,p=t.getState();try{e=r(p,o.current)}catch(e){n=e,d=e}n||(d=null),e===i.current?a.current||c():(i.current=e,l.current=e,a.current=!0,s({type:"STORE_UPDATED",payload:{error:n}}))}};n.onStateChange=p,n.trySubscribe(),p();return function(){if(u=!0,n.tryUnsubscribe(),n.onStateChange=null,d)throw d}}}var Kr=function(){return[null,0]};function Qr(t,n){void 0===n&&(n={});var o=n,i=o.getDisplayName,l=void 0===i?function(e){return"ConnectAdvanced("+e+")"}:i,u=o.methodName,d=void 0===u?"connectAdvanced":u,p=o.renderCountProp,f=void 0===p?void 0:p,g=o.shouldHandleStateChanges,b=void 0===g||g,h=o.storeKey,m=void 0===h?"store":h,v=(o.withRef,o.forwardRef),y=void 0!==v&&v,x=o.context,w=void 0===x?er:x,C=lr(o,Wr),I=w;return function(n){var o=n.displayName||n.name||"Component",i=l(o),u=Gn({},C,{getDisplayName:l,methodName:d,renderCountProp:f,shouldHandleStateChanges:b,storeKey:m,displayName:i,wrappedComponentName:o,WrappedComponent:n}),p=C.pure;var g=p?a:function(e){return e()};function h(o){var i=a((function(){var e=o.reactReduxForwardedRef,t=lr(o,qr);return[o.context,e,t]}),[o]),l=i[0],d=i[1],p=i[2],f=a((function(){return l&&l.Consumer&&_r.isContextConsumer(e.createElement(l.Consumer,null))?l:I}),[l,I]),h=c(f),m=Boolean(o.store)&&Boolean(o.store.getState)&&Boolean(o.store.dispatch),v=(Boolean(h)&&Boolean(h.store),m?o.store:h.store),y=a((function(){return function(e){return t(e.dispatch,u)}(v)}),[v]),x=a((function(){if(!b)return Vr;var e=or(v,m?null:h.subscription),t=e.notifyNestedSubs.bind(e);return[e,t]}),[v,m,h]),w=x[0],C=x[1],P=a((function(){return m?h:Gn({},h,{subscription:w})}),[m,h,w]),k=s($r,Ur,Kr),S=k[0][0],D=k[1];if(S&&S.error)throw S.error;var O=r(),E=r(p),A=r(),M=r(!1),L=g((function(){return A.current&&p===E.current?A.current:y(v.getState(),p)}),[v,S,p]);Yr(Xr,[E,O,M,p,L,A,C]),Yr(Jr,[b,v,w,y,E,O,M,A,C,D],[v,w,y]);var B=a((function(){return e.createElement(n,Gn({},L,{ref:d}))}),[d,n,L]);return a((function(){return b?e.createElement(f.Provider,{value:P},B):B}),[f,B,P])}var v=p?e.memo(h):h;if(v.WrappedComponent=n,v.displayName=h.displayName=i,y){var x=e.forwardRef((function(t,n){return e.createElement(v,Gn({},t,{reactReduxForwardedRef:n}))}));return x.displayName=i,x.WrappedComponent=n,wr(x,n)}return wr(v,n)}}function Zr(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function eo(e,t){if(Zr(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var o=0;o<n.length;o++)if(!Object.prototype.hasOwnProperty.call(t,n[o])||!Zr(e[n[o]],t[n[o]]))return!1;return!0}function to(e){return function(t,n){var r=e(t,n);function o(){return r}return o.dependsOnOwnProps=!1,o}}function no(e){return null!==e.dependsOnOwnProps&&void 0!==e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function ro(e,t){return function(t,n){n.displayName;var r=function(e,t){return r.dependsOnOwnProps?r.mapToProps(e,t):r.mapToProps(e)};return r.dependsOnOwnProps=!0,r.mapToProps=function(t,n){r.mapToProps=e,r.dependsOnOwnProps=no(e);var o=r(t,n);return"function"==typeof o&&(r.mapToProps=o,r.dependsOnOwnProps=no(o),o=r(t,n)),o},r}}var oo=[function(e){return"function"==typeof e?ro(e):void 0},function(e){return e?void 0:to((function(e){return{dispatch:e}}))},function(e){return e&&"object"==typeof e?to((function(t){return function(e,t){var n={},r=function(r){var o=e[r];"function"==typeof o&&(n[r]=function(){return t(o.apply(void 0,arguments))})};for(var o in e)r(o);return n}(e,t)})):void 0}];var io=[function(e){return"function"==typeof e?ro(e):void 0},function(e){return e?void 0:to((function(){return{}}))}];function ao(e,t,n){return Gn({},n,e,t)}var lo=[function(e){return"function"==typeof e?function(e){return function(t,n){n.displayName;var r,o=n.pure,i=n.areMergedPropsEqual,a=!1;return function(t,n,l){var c=e(t,n,l);return a?o&&i(c,r)||(r=c):(a=!0,r=c),r}}}(e):void 0},function(e){return e?void 0:function(){return ao}}],co=["initMapStateToProps","initMapDispatchToProps","initMergeProps"];function so(e,t,n,r){return function(o,i){return n(e(o,i),t(r,i),i)}}function uo(e,t,n,r,o){var i,a,l,c,s,u=o.areStatesEqual,d=o.areOwnPropsEqual,p=o.areStatePropsEqual,f=!1;function g(o,f){var g,b,h=!d(f,a),m=!u(o,i);return i=o,a=f,h&&m?(l=e(i,a),t.dependsOnOwnProps&&(c=t(r,a)),s=n(l,c,a)):h?(e.dependsOnOwnProps&&(l=e(i,a)),t.dependsOnOwnProps&&(c=t(r,a)),s=n(l,c,a)):m?(g=e(i,a),b=!p(g,l),l=g,b&&(s=n(l,c,a)),s):s}return function(o,u){return f?g(o,u):(l=e(i=o,a=u),c=t(r,a),s=n(l,c,a),f=!0,s)}}function po(e,t){var n=t.initMapStateToProps,r=t.initMapDispatchToProps,o=t.initMergeProps,i=lr(t,co),a=n(e,i),l=r(e,i),c=o(e,i);return(i.pure?uo:so)(a,l,c,e,i)}var fo=["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"];function go(e,t,n){for(var r=t.length-1;r>=0;r--){var o=t[r](e);if(o)return o}return function(t,r){throw new Error("Invalid value of type "+typeof e+" for "+n+" argument when connecting component "+r.wrappedComponentName+".")}}function bo(e,t){return e===t}function ho(e){var t=void 0===e?{}:e,n=t.connectHOC,r=void 0===n?Qr:n,o=t.mapStateToPropsFactories,i=void 0===o?io:o,a=t.mapDispatchToPropsFactories,l=void 0===a?oo:a,c=t.mergePropsFactories,s=void 0===c?lo:c,u=t.selectorFactory,d=void 0===u?po:u;return function(e,t,n,o){void 0===o&&(o={});var a=o,c=a.pure,u=void 0===c||c,p=a.areStatesEqual,f=void 0===p?bo:p,g=a.areOwnPropsEqual,b=void 0===g?eo:g,h=a.areStatePropsEqual,m=void 0===h?eo:h,v=a.areMergedPropsEqual,y=void 0===v?eo:v,x=lr(a,fo),w=go(e,i,"mapStateToProps"),C=go(t,l,"mapDispatchToProps"),I=go(n,s,"mergeProps");return r(d,Gn({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:w,initMapDispatchToProps:C,initMergeProps:I,pure:u,areStatesEqual:f,areOwnPropsEqual:b,areStatePropsEqual:m,areMergedPropsEqual:y},x))}}var mo=ho();function vo(e,t){var i=n((function(){return{inputs:t,result:e()}}))[0],a=r(!0),l=r(i),c=a.current||Boolean(t&&l.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,l.current.inputs))?l.current:{inputs:t,result:e()};return o((function(){a.current=!1,l.current=c}),[c]),c.result}tr=v;var yo=vo,xo=function(e,t){return vo((function(){return e}),t)};var wo=function(e){var t=e.top,n=e.right,r=e.bottom,o=e.left;return{top:t,right:n,bottom:r,left:o,width:n-o,height:r-t,x:o,y:t,center:{x:(n+o)/2,y:(r+t)/2}}},Co=function(e,t){return{top:e.top-t.top,left:e.left-t.left,bottom:e.bottom+t.bottom,right:e.right+t.right}},Io=function(e,t){return{top:e.top+t.top,left:e.left+t.left,bottom:e.bottom-t.bottom,right:e.right-t.right}},Po={top:0,right:0,bottom:0,left:0},ko=function(e){var t=e.borderBox,n=e.margin,r=void 0===n?Po:n,o=e.border,i=void 0===o?Po:o,a=e.padding,l=void 0===a?Po:a,c=wo(Co(t,r)),s=wo(Io(t,i)),u=wo(Io(s,l));return{marginBox:c,borderBox:wo(t),paddingBox:s,contentBox:u,margin:r,border:i,padding:l}},So=function(e){var t=e.slice(0,-2);if("px"!==e.slice(-2))return 0;var n=Number(t);return isNaN(n)&&function(e,t){if(!e)throw new Error("Invariant failed")}(!1),n},Do=function(e,t){var n,r,o=e.borderBox,i=e.border,a=e.margin,l=e.padding,c=(r=t,{top:(n=o).top+r.y,left:n.left+r.x,bottom:n.bottom+r.y,right:n.right+r.x});return ko({borderBox:c,border:i,margin:a,padding:l})},Oo=function(e,t){return void 0===t&&(t={x:window.pageXOffset,y:window.pageYOffset}),Do(e,t)},Eo=function(e,t){var n={top:So(t.marginTop),right:So(t.marginRight),bottom:So(t.marginBottom),left:So(t.marginLeft)},r={top:So(t.paddingTop),right:So(t.paddingRight),bottom:So(t.paddingBottom),left:So(t.paddingLeft)},o={top:So(t.borderTopWidth),right:So(t.borderRightWidth),bottom:So(t.borderBottomWidth),left:So(t.borderLeftWidth)};return ko({borderBox:e,margin:n,padding:r,border:o})},Ao=function(e){var t=e.getBoundingClientRect(),n=window.getComputedStyle(e);return Eo(t,n)},Mo=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function Lo(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(r=e[n],o=t[n],!(r===o||Mo(r)&&Mo(o)))return!1;var r,o;return!0}function Bo(e,t){var n;void 0===t&&(t=Lo);var r,o=[],i=!1;return function(){for(var a=[],l=0;l<arguments.length;l++)a[l]=arguments[l];return i&&n===this&&t(a,o)||(r=e.apply(this,a),i=!0,n=this,o=a),r}}var To=function(e){var t=[],n=null,r=function(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];t=o,n||(n=requestAnimationFrame((function(){n=null,e.apply(void 0,t)})))};return r.cancel=function(){n&&(cancelAnimationFrame(n),n=null)},r};function Ro(e,t){}Ro.bind(null,"warn"),Ro.bind(null,"error");function No(){}function Fo(e,t,n){var r=t.map((function(t){var r,o,i=(r=n,o=t.options,Gn({},r,{},o));return e.addEventListener(t.eventName,t.fn,i),function(){e.removeEventListener(t.eventName,t.fn,i)}}));return function(){r.forEach((function(e){e()}))}}function jo(e){this.message=e}function zo(e,t){if(!e)throw new jo("Invariant failed")}jo.prototype.toString=function(){return this.message};var Ho=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).callbacks=null,t.unbind=No,t.onWindowError=function(e){var n=t.getCallbacks();n.isDragging()&&n.tryAbort(),e.error instanceof jo&&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}Hn(t,e);var n=t.prototype;return n.componentDidMount=function(){this.unbind=Fo(window,[{eventName:"error",fn:this.onWindowError}])},n.componentDidCatch=function(e){if(!(e instanceof jo))throw e;this.setState({})},n.componentWillUnmount=function(){this.unbind()},n.render=function(){return this.props.children(this.setCallbacks)},t}(e.Component),Go=function(e){return e+1},_o=function(e,t){var n=e.droppableId===t.droppableId,r=Go(e.index),o=Go(t.index);return n?"\n You have moved the item from position "+r+"\n to position "+o+"\n ":"\n You have moved the item from position "+r+"\n in list "+e.droppableId+"\n to list "+t.droppableId+"\n in position "+o+"\n "},Wo=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 "},qo=function(e){return"\n The item has returned to its starting position\n of "+Go(e.index)+"\n"},Uo="\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",Vo=function(e){return"\n You have lifted an item in position "+Go(e.source.index)+"\n"},$o=function(e){var t=e.destination;if(t)return _o(e.source,t);var n=e.combine;return n?Wo(e.draggableId,e.source,n):"You are over an area that cannot be dropped on"},Yo=function(e){if("CANCEL"===e.reason)return"\n Movement cancelled.\n "+qo(e.source)+"\n ";var t=e.destination,n=e.combine;return t?"\n You have dropped the item.\n "+_o(e.source,t)+"\n ":n?"\n You have dropped the item.\n "+Wo(e.draggableId,e.source,n)+"\n ":"\n The item has been dropped while not over a drop area.\n "+qo(e.source)+"\n "},Xo={x:0,y:0},Jo=function(e,t){return{x:e.x+t.x,y:e.y+t.y}},Ko=function(e,t){return{x:e.x-t.x,y:e.y-t.y}},Qo=function(e,t){return e.x===t.x&&e.y===t.y},Zo=function(e){return{x:0!==e.x?-e.x:0,y:0!==e.y?-e.y:0}},ei=function(e,t,n){var r;return void 0===n&&(n=0),(r={})[e]=t,r["x"===e?"y":"x"]=n,r},ti=function(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))},ni=function(e,t){return Math.min.apply(Math,t.map((function(t){return ti(e,t)})))},ri=function(e){return function(t){return{x:e(t.x),y:e(t.y)}}},oi=function(e,t){return{top:e.top+t.y,left:e.left+t.x,bottom:e.bottom+t.y,right:e.right+t.x}},ii=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}]},ai=function(e,t){return t&&t.shouldClipSubject?function(e,t){var n=wo({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):wo(e)},li=function(e){var t=e.page,n=e.withPlaceholder,r=e.axis,o=e.frame,i=function(e,t,n){var r;return n&&n.increasedBy?Gn({},e,((r={})[t.end]=e[t.end]+n.increasedBy[t.line],r)):e}(function(e,t){return t?oi(e,t.scroll.diff.displacement):e}(t.marginBox,o),r,n);return{page:t,withPlaceholder:n,active:ai(i,o)}},ci=function(e,t){e.frame||zo(!1);var n=e.frame,r=Ko(t,n.scroll.initial),o=Zo(r),i=Gn({},n,{scroll:{initial:n.scroll.initial,current:t,diff:{value:r,displacement:o},max:n.scroll.max}});return Gn({},e,{frame:i,subject:li({page:e.subject.page,withPlaceholder:e.subject.withPlaceholder,axis:e.axis,frame:i})})};function si(e){return Object.values?Object.values(e):Object.keys(e).map((function(t){return e[t]}))}function ui(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 di(e,t){if(e.find)return e.find(t);var n=ui(e,t);return-1!==n?e[n]:void 0}function pi(e){return Array.prototype.slice.call(e)}var fi=Bo((function(e){return e.reduce((function(e,t){return e[t.descriptor.id]=t,e}),{})})),gi=Bo((function(e){return e.reduce((function(e,t){return e[t.descriptor.id]=t,e}),{})})),bi=Bo((function(e){return si(e)})),hi=Bo((function(e){return si(e)})),mi=Bo((function(e,t){return hi(t).filter((function(t){return e===t.descriptor.droppableId})).sort((function(e,t){return e.descriptor.index-t.descriptor.index}))}));function vi(e){return e.at&&"REORDER"===e.at.type?e.at.destination:null}function yi(e){return e.at&&"COMBINE"===e.at.type?e.at.combine:null}var xi=Bo((function(e,t){return t.filter((function(t){return t.descriptor.id!==e.descriptor.id}))})),wi=function(e,t){return e.descriptor.droppableId===t.descriptor.id},Ci={point:Xo,value:0},Ii={invisible:{},visible:{},all:[]},Pi={displaced:Ii,displacedBy:Ci,at:null},ki=function(e,t){return function(n){return e<=n&&n<=t}},Si=function(e){var t=ki(e.top,e.bottom),n=ki(e.left,e.right);return function(r){if(t(r.top)&&t(r.bottom)&&n(r.left)&&n(r.right))return!0;var o=t(r.top)||t(r.bottom),i=n(r.left)||n(r.right);if(o&&i)return!0;var a=r.top<e.top&&r.bottom>e.bottom,l=r.left<e.left&&r.right>e.right;return!(!a||!l)||(a&&i||l&&o)}},Di=function(e){var t=ki(e.top,e.bottom),n=ki(e.left,e.right);return function(e){return t(e.top)&&t(e.bottom)&&n(e.left)&&n(e.right)}},Oi={direction:"vertical",line:"y",crossAxisLine:"x",start:"top",end:"bottom",size:"height",crossAxisStart:"left",crossAxisEnd:"right",crossAxisSize:"width"},Ei={direction:"horizontal",line:"x",crossAxisLine:"y",start:"left",end:"right",size:"width",crossAxisStart:"top",crossAxisEnd:"bottom",crossAxisSize:"height"},Ai=function(e){var t=e.target,n=e.destination,r=e.viewport,o=e.withDroppableDisplacement,i=e.isVisibleThroughFrameFn,a=o?function(e,t){var n=t.frame?t.frame.scroll.diff.displacement:Xo;return oi(e,n)}(t,n):t;return function(e,t,n){return!!t.subject.active&&n(t.subject.active)(e)}(a,n,i)&&function(e,t,n){return n(t)(e)}(a,r,i)},Mi=function(e){return Ai(Gn({},e,{isVisibleThroughFrameFn:Si}))},Li=function(e){return Ai(Gn({},e,{isVisibleThroughFrameFn:Di}))};function Bi(e){var t=e.afterDragging,n=e.destination,r=e.displacedBy,o=e.viewport,i=e.forceShouldAnimate,a=e.last;return t.reduce((function(e,t){var l=function(e,t){var n=e.page.marginBox,r={top:t.point.y,right:0,bottom:0,left:t.point.x};return wo(Co(n,r))}(t,r),c=t.descriptor.id;if(e.all.push(c),!Mi({target:l,destination:n,viewport:o,withDroppableDisplacement:!0}))return e.invisible[t.descriptor.id]=!0,e;var s={draggableId:c,shouldAnimate:function(e,t,n){if("boolean"==typeof n)return n;if(!t)return!0;var r=t.invisible,o=t.visible;if(r[e])return!1;var i=o[e];return!i||i.shouldAnimate}(c,a,i)};return e.visible[c]=s,e}),{all:[],visible:{},invisible:{}})}function Ti(e){var t=e.insideDestination,n=e.inHomeList,r=e.displacedBy,o=e.destination,i=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:Ii,displacedBy:r,at:{type:"REORDER",destination:{droppableId:o.descriptor.id,index:i}}}}function Ri(e){var t=e.draggable,n=e.insideDestination,r=e.destination,o=e.viewport,i=e.displacedBy,a=e.last,l=e.index,c=e.forceShouldAnimate,s=wi(t,r);if(null==l)return Ti({insideDestination:n,inHomeList:s,displacedBy:i,destination:r});var u=di(n,(function(e){return e.descriptor.index===l}));if(!u)return Ti({insideDestination:n,inHomeList:s,displacedBy:i,destination:r});var d=xi(t,n),p=n.indexOf(u);return{displaced:Bi({afterDragging:d.slice(p),destination:r,displacedBy:i,last:a,viewport:o.frame,forceShouldAnimate:c}),displacedBy:i,at:{type:"REORDER",destination:{droppableId:r.descriptor.id,index:l}}}}function Ni(e,t){return Boolean(t.effected[e])}var Fi=function(e){var t=e.isMovingForward,n=e.isInHomeList,r=e.draggable,o=e.draggables,i=e.destination,a=e.insideDestination,l=e.previousImpact,c=e.viewport,s=e.afterCritical,u=l.at;if(u||zo(!1),"REORDER"===u.type){var d=function(e){var t=e.isMovingForward,n=e.isInHomeList,r=e.insideDestination,o=e.location;if(!r.length)return null;var i=o.index,a=t?i+1:i-1,l=r[0].descriptor.index,c=r[r.length-1].descriptor.index;return a<l||a>(n?c:c+1)?null:a}({isMovingForward:t,isInHomeList:n,location:u.destination,insideDestination:a});return null==d?null:Ri({draggable:r,insideDestination:a,destination:i,viewport:c,last:l.displaced,displacedBy:l.displacedBy,index:d})}var p=function(e){var t=e.isMovingForward,n=e.destination,r=e.draggables,o=e.combine,i=e.afterCritical;if(!n.isCombineEnabled)return null;var a=o.draggableId,l=r[a].descriptor.index;return Ni(a,i)?t?l:l-1:t?l+1:l}({isMovingForward:t,destination:i,displaced:l.displaced,draggables:o,combine:u.combine,afterCritical:s});return null==p?null:Ri({draggable:r,insideDestination:a,destination:i,viewport:c,last:l.displaced,displacedBy:l.displacedBy,index:p})},ji=function(e){var t=e.afterCritical,n=e.impact,r=e.draggables,o=yi(n);o||zo(!1);var i=o.draggableId,a=r[i].page.borderBox.center,l=function(e){var t=e.displaced,n=e.afterCritical,r=e.combineWith,o=e.displacedBy,i=Boolean(t.visible[r]||t.invisible[r]);return Ni(r,n)?i?Xo:Zo(o.point):i?o.point:Xo}({displaced:n.displaced,afterCritical:t,combineWith:i,displacedBy:n.displacedBy});return Jo(a,l)},zi=function(e,t){return t.margin[e.start]+t.borderBox[e.size]/2},Hi=function(e,t,n){return t[e.crossAxisStart]+n.margin[e.crossAxisStart]+n.borderBox[e.crossAxisSize]/2},Gi=function(e){var t=e.axis,n=e.moveRelativeTo,r=e.isMoving;return ei(t.line,n.marginBox[t.end]+zi(t,r),Hi(t,n.marginBox,r))},_i=function(e){var t=e.axis,n=e.moveRelativeTo,r=e.isMoving;return ei(t.line,n.marginBox[t.start]-function(e,t){return t.margin[e.end]+t.borderBox[e.size]/2}(t,r),Hi(t,n.marginBox,r))},Wi=function(e){var t=e.impact,n=e.draggable,r=e.draggables,o=e.droppable,i=e.afterCritical,a=mi(o.descriptor.id,r),l=n.page,c=o.axis;if(!a.length)return function(e){var t=e.axis,n=e.moveInto,r=e.isMoving;return ei(t.line,n.contentBox[t.start]+zi(t,r),Hi(t,n.contentBox,r))}({axis:c,moveInto:o.page,isMoving:l});var s=t.displaced,u=t.displacedBy,d=s.all[0];if(d){var p=r[d];if(Ni(d,i))return _i({axis:c,moveRelativeTo:p.page,isMoving:l});var f=Do(p.page,u.point);return _i({axis:c,moveRelativeTo:f,isMoving:l})}var g=a[a.length-1];if(g.descriptor.id===n.descriptor.id)return l.borderBox.center;if(Ni(g.descriptor.id,i)){var b=Do(g.page,Zo(i.displacedBy.point));return Gi({axis:c,moveRelativeTo:b,isMoving:l})}return Gi({axis:c,moveRelativeTo:g.page,isMoving:l})},qi=function(e,t){var n=e.frame;return n?Jo(t,n.scroll.diff.displacement):t},Ui=function(e){var t=function(e){var t=e.impact,n=e.draggable,r=e.droppable,o=e.draggables,i=e.afterCritical,a=n.page.borderBox.center,l=t.at;return r&&l?"REORDER"===l.type?Wi({impact:t,draggable:n,draggables:o,droppable:r,afterCritical:i}):ji({impact:t,draggables:o,afterCritical:i}):a}(e),n=e.droppable;return n?qi(n,t):t},Vi=function(e,t){var n=Ko(t,e.scroll.initial),r=Zo(n);return{frame:wo({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 $i(e,t){return e.map((function(e){return t[e]}))}var Yi=function(e){var t=e.pageBorderBoxCenter,n=e.draggable,r=function(e,t){return Jo(e.scroll.diff.displacement,t)}(e.viewport,t),o=Ko(r,n.page.borderBox.center);return Jo(n.client.borderBox.center,o)},Xi=function(e){var t=e.draggable,n=e.destination,r=e.newPageBorderBoxCenter,o=e.viewport,i=e.withDroppableDisplacement,a=e.onlyOnMainAxis,l=void 0!==a&&a,c=Ko(r,t.page.borderBox.center),s={target:oi(t.page.borderBox,c),destination:n,withDroppableDisplacement:i,viewport:o};return l?function(e){return Ai(Gn({},e,{isVisibleThroughFrameFn:(t=e.destination.axis,function(e){var n=ki(e.top,e.bottom),r=ki(e.left,e.right);return function(e){return t===Oi?n(e.top)&&n(e.bottom):r(e.left)&&r(e.right)}})}));var t}(s):Li(s)},Ji=function(e){var t=e.isMovingForward,n=e.draggable,r=e.destination,o=e.draggables,i=e.previousImpact,a=e.viewport,l=e.previousPageBorderBoxCenter,c=e.previousClientSelection,s=e.afterCritical;if(!r.isEnabled)return null;var u=mi(r.descriptor.id,o),d=wi(n,r),p=function(e){var t=e.isMovingForward,n=e.draggable,r=e.destination,o=e.insideDestination,i=e.previousImpact;if(!r.isCombineEnabled)return null;if(!vi(i))return null;function a(e){var t={type:"COMBINE",combine:{draggableId:e,droppableId:r.descriptor.id}};return Gn({},i,{at:t})}var l=i.displaced.all,c=l.length?l[0]:null;if(t)return c?a(c):null;var s=xi(n,o);if(!c)return s.length?a(s[s.length-1].descriptor.id):null;var u=ui(s,(function(e){return e.descriptor.id===c}));-1===u&&zo(!1);var d=u-1;return d<0?null:a(s[d].descriptor.id)}({isMovingForward:t,draggable:n,destination:r,insideDestination:u,previousImpact:i})||Fi({isMovingForward:t,isInHomeList:d,draggable:n,draggables:o,destination:r,insideDestination:u,previousImpact:i,viewport:a,afterCritical:s});if(!p)return null;var f=Ui({impact:p,draggable:n,droppable:r,draggables:o,afterCritical:s});if(Xi({draggable:n,destination:r,newPageBorderBoxCenter:f,viewport:a.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0}))return{clientSelection:Yi({pageBorderBoxCenter:f,draggable:n,viewport:a}),impact:p,scrollJumpRequest:null};var g=Ko(f,l);return{clientSelection:c,impact:function(e){var t=e.impact,n=e.viewport,r=e.destination,o=e.draggables,i=e.maxScrollChange,a=Vi(n,Jo(n.scroll.current,i)),l=r.frame?ci(r,Jo(r.frame.scroll.current,i)):r,c=t.displaced,s=Bi({afterDragging:$i(c.all,o),destination:r,displacedBy:t.displacedBy,viewport:a.frame,last:c,forceShouldAnimate:!1}),u=Bi({afterDragging:$i(c.all,o),destination:l,displacedBy:t.displacedBy,viewport:n.frame,last:c,forceShouldAnimate:!1}),d={},p={},f=[c,s,u];return c.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,f);t?p[e]=t:d[e]=!0})),Gn({},t,{displaced:{all:c.all,invisible:d,visible:p}})}({impact:p,viewport:a,destination:r,draggables:o,maxScrollChange:g}),scrollJumpRequest:g}},Ki=function(e){var t=e.subject.active;return t||zo(!1),t},Qi=function(e,t){var n=e.page.borderBox.center;return Ni(e.descriptor.id,t)?Ko(n,t.displacedBy.point):n},Zi=function(e,t){var n=e.page.borderBox;return Ni(e.descriptor.id,t)?oi(n,Zo(t.displacedBy.point)):n},ea=Bo((function(e,t){var n=t[e.line];return{value:n,point:ei(e.line,n)}})),ta=function(e,t){return Gn({},e,{scroll:Gn({},e.scroll,{max:t})})},na=function(e,t,n){var r=e.frame;wi(t,e)&&zo(!1),e.subject.withPlaceholder&&zo(!1);var o=ea(e.axis,t.displaceBy).point,i=function(e,t,n){var r=e.axis;if("virtual"===e.descriptor.mode)return ei(r.line,t[r.line]);var o=e.subject.page.contentBox[r.size],i=mi(e.descriptor.id,n).reduce((function(e,t){return e+t.client.marginBox[r.size]}),0)+t[r.line]-o;return i<=0?null:ei(r.line,i)}(e,o,n),a={placeholderSize:o,increasedBy:i,oldFrameMaxScroll:e.frame?e.frame.scroll.max:null};if(!r)return Gn({},e,{subject:li({page:e.subject.page,withPlaceholder:a,axis:e.axis,frame:e.frame})});var l=i?Jo(r.scroll.max,i):r.scroll.max,c=ta(r,l);return Gn({},e,{subject:li({page:e.subject.page,withPlaceholder:a,axis:e.axis,frame:c}),frame:c})},ra=function(e){var t=e.isMovingForward,n=e.previousPageBorderBoxCenter,r=e.draggable,o=e.isOver,i=e.draggables,a=e.droppables,l=e.viewport,c=e.afterCritical,s=function(e){var t=e.isMovingForward,n=e.pageBorderBoxCenter,r=e.source,o=e.droppables,i=e.viewport,a=r.subject.active;if(!a)return null;var l=r.axis,c=ki(a[l.start],a[l.end]),s=bi(o).filter((function(e){return e!==r})).filter((function(e){return e.isEnabled})).filter((function(e){return Boolean(e.subject.active)})).filter((function(e){return Si(i.frame)(Ki(e))})).filter((function(e){var n=Ki(e);return t?a[l.crossAxisEnd]<n[l.crossAxisEnd]:n[l.crossAxisStart]<a[l.crossAxisStart]})).filter((function(e){var t=Ki(e),n=ki(t[l.start],t[l.end]);return c(t[l.start])||c(t[l.end])||n(a[l.start])||n(a[l.end])})).sort((function(e,n){var r=Ki(e)[l.crossAxisStart],o=Ki(n)[l.crossAxisStart];return t?r-o:o-r})).filter((function(e,t,n){return Ki(e)[l.crossAxisStart]===Ki(n[0])[l.crossAxisStart]}));if(!s.length)return null;if(1===s.length)return s[0];var u=s.filter((function(e){return ki(Ki(e)[l.start],Ki(e)[l.end])(n[l.line])}));return 1===u.length?u[0]:u.length>1?u.sort((function(e,t){return Ki(e)[l.start]-Ki(t)[l.start]}))[0]:s.sort((function(e,t){var r=ni(n,ii(Ki(e))),o=ni(n,ii(Ki(t)));return r!==o?r-o:Ki(e)[l.start]-Ki(t)[l.start]}))[0]}({isMovingForward:t,pageBorderBoxCenter:n,source:o,droppables:a,viewport:l});if(!s)return null;var u=mi(s.descriptor.id,i),d=function(e){var t=e.previousPageBorderBoxCenter,n=e.moveRelativeTo,r=e.insideDestination,o=e.draggable,i=e.draggables,a=e.destination,l=e.viewport,c=e.afterCritical;if(!n){if(r.length)return null;var s={displaced:Ii,displacedBy:Ci,at:{type:"REORDER",destination:{droppableId:a.descriptor.id,index:0}}},u=Ui({impact:s,draggable:o,droppable:a,draggables:i,afterCritical:c}),d=wi(o,a)?a:na(a,o,i);return Xi({draggable:o,destination:d,newPageBorderBoxCenter:u,viewport:l.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0})?s:null}var p,f=Boolean(t[a.axis.line]<=n.page.borderBox.center[a.axis.line]),g=(p=n.descriptor.index,n.descriptor.id===o.descriptor.id||f?p:p+1),b=ea(a.axis,o.displaceBy);return Ri({draggable:o,insideDestination:r,destination:a,viewport:l,displacedBy:b,last:Ii,index:g})}({previousPageBorderBoxCenter:n,destination:s,draggable:r,draggables:i,moveRelativeTo:function(e){var t=e.pageBorderBoxCenter,n=e.viewport,r=e.destination,o=e.insideDestination,i=e.afterCritical;return o.filter((function(e){return Li({target:Zi(e,i),destination:r,viewport:n.frame,withDroppableDisplacement:!0})})).sort((function(e,n){var o=ti(t,qi(r,Qi(e,i))),a=ti(t,qi(r,Qi(n,i)));return o<a?-1:a<o?1:e.descriptor.index-n.descriptor.index}))[0]||null}({pageBorderBoxCenter:n,viewport:l,destination:s,insideDestination:u,afterCritical:c}),insideDestination:u,viewport:l,afterCritical:c});if(!d)return null;var p=Ui({impact:d,draggable:r,droppable:s,draggables:i,afterCritical:c});return{clientSelection:Yi({pageBorderBoxCenter:p,draggable:r,viewport:l}),impact:d,scrollJumpRequest:null}},oa=function(e){var t=e.at;return t?"REORDER"===t.type?t.destination.droppableId:t.combine.droppableId:null},ia=function(e){var t=e.state,n=e.type,r=function(e,t){var n=oa(e);return n?t[n]:null}(t.impact,t.dimensions.droppables),o=Boolean(r),i=t.dimensions.droppables[t.critical.droppable.id],a=r||i,l=a.axis.direction,c="vertical"===l&&("MOVE_UP"===n||"MOVE_DOWN"===n)||"horizontal"===l&&("MOVE_LEFT"===n||"MOVE_RIGHT"===n);if(c&&!o)return null;var s="MOVE_DOWN"===n||"MOVE_RIGHT"===n,u=t.dimensions.draggables[t.critical.draggable.id],d=t.current.page.borderBoxCenter,p=t.dimensions,f=p.draggables,g=p.droppables;return c?Ji({isMovingForward:s,previousPageBorderBoxCenter:d,draggable:u,destination:a,draggables:f,viewport:t.viewport,previousClientSelection:t.current.client.selection,previousImpact:t.impact,afterCritical:t.afterCritical}):ra({isMovingForward:s,previousPageBorderBoxCenter:d,draggable:u,isOver:a,draggables:f,droppables:g,viewport:t.viewport,afterCritical:t.afterCritical})};function aa(e){return"DRAGGING"===e.phase||"COLLECTING"===e.phase}function la(e){var t=ki(e.top,e.bottom),n=ki(e.left,e.right);return function(e){return t(e.y)&&n(e.x)}}function ca(e){var t=e.pageBorderBox,n=e.draggable,r=e.droppables,o=bi(r).filter((function(e){if(!e.isEnabled)return!1;var n,r,o=e.subject.active;if(!o)return!1;if(r=o,!((n=t).left<r.right&&n.right>r.left&&n.top<r.bottom&&n.bottom>r.top))return!1;if(la(o)(t.center))return!0;var i=e.axis,a=o.center[i.crossAxisLine],l=t[i.crossAxisStart],c=t[i.crossAxisEnd],s=ki(o[i.crossAxisStart],o[i.crossAxisEnd]),u=s(l),d=s(c);return!u&&!d||(u?l<a:c>a)}));return o.length?1===o.length?o[0].descriptor.id:function(e){var t=e.pageBorderBox,n=e.draggable,r=e.candidates,o=n.page.borderBox.center,i=r.map((function(e){var n=e.axis,r=ei(e.axis.line,t.center[n.line],e.page.borderBox.center[n.crossAxisLine]);return{id:e.descriptor.id,distance:ti(o,r)}})).sort((function(e,t){return t.distance-e.distance}));return i[0]?i[0].id:null}({pageBorderBox:t,draggable:n,candidates:o}):null}var sa=function(e,t){return wo(oi(e,t))};function ua(e){var t=e.displaced,n=e.id;return Boolean(t.visible[n]||t.invisible[n])}var da=function(e){var t=e.pageOffset,n=e.draggable,r=e.draggables,o=e.droppables,i=e.previousImpact,a=e.viewport,l=e.afterCritical,c=sa(n.page.borderBox,t),s=ca({pageBorderBox:c,draggable:n,droppables:o});if(!s)return Pi;var u=o[s],d=mi(u.descriptor.id,r),p=function(e,t){var n=e.frame;return n?sa(t,n.scroll.diff.value):t}(u,c);return function(e){var t=e.draggable,n=e.pageBorderBoxWithDroppableScroll,r=e.previousImpact,o=e.destination,i=e.insideDestination,a=e.afterCritical;if(!o.isCombineEnabled)return null;var l=o.axis,c=ea(o.axis,t.displaceBy),s=c.value,u=n[l.start],d=n[l.end],p=di(xi(t,i),(function(e){var t=e.descriptor.id,n=e.page.borderBox,o=n[l.size]/4,i=Ni(t,a),c=ua({displaced:r.displaced,id:t});return i?c?d>n[l.start]+o&&d<n[l.end]-o:u>n[l.start]-s+o&&u<n[l.end]-s-o:c?d>n[l.start]+s+o&&d<n[l.end]+s-o:u>n[l.start]+o&&u<n[l.end]-o}));return p?{displacedBy:c,displaced:r.displaced,at:{type:"COMBINE",combine:{draggableId:p.descriptor.id,droppableId:o.descriptor.id}}}:null}({pageBorderBoxWithDroppableScroll:p,draggable:n,previousImpact:i,destination:u,insideDestination:d,afterCritical:l})||function(e){var t=e.pageBorderBoxWithDroppableScroll,n=e.draggable,r=e.destination,o=e.insideDestination,i=e.last,a=e.viewport,l=e.afterCritical,c=r.axis,s=ea(r.axis,n.displaceBy),u=s.value,d=t[c.start],p=t[c.end],f=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:di(xi(n,o),(function(e){var t=e.descriptor.id,n=e.page.borderBox.center[c.line],r=Ni(t,l),o=ua({displaced:i,id:t});return r?o?p<=n:d<n-u:o?p<=n+u:d<n})),inHomeList:wi(n,r)});return Ri({draggable:n,insideDestination:o,destination:r,viewport:a,last:i,displacedBy:s,index:f})}({pageBorderBoxWithDroppableScroll:p,draggable:n,destination:u,insideDestination:d,last:i.displaced,viewport:a,afterCritical:l})},pa=function(e,t){var n;return Gn({},e,((n={})[t.descriptor.id]=t,n))},fa=function(e){var t=e.previousImpact,n=e.impact,r=e.droppables,o=oa(t),i=oa(n);if(!o)return r;if(o===i)return r;var a=r[o];if(!a.subject.withPlaceholder)return r;var l=function(e){var t=e.subject.withPlaceholder;t||zo(!1);var n=e.frame;if(!n)return Gn({},e,{subject:li({page:e.subject.page,axis:e.axis,frame:null,withPlaceholder:null})});var r=t.oldFrameMaxScroll;r||zo(!1);var o=ta(n,r);return Gn({},e,{subject:li({page:e.subject.page,axis:e.axis,frame:o,withPlaceholder:null}),frame:o})}(a);return pa(r,l)},ga=function(e){var t=e.state,n=e.clientSelection,r=e.dimensions,o=e.viewport,i=e.impact,a=e.scrollJumpRequest,l=o||t.viewport,c=r||t.dimensions,s=n||t.current.client.selection,u=Ko(s,t.initial.client.selection),d={offset:u,selection:s,borderBoxCenter:Jo(t.initial.client.borderBoxCenter,u)},p={selection:Jo(d.selection,l.scroll.current),borderBoxCenter:Jo(d.borderBoxCenter,l.scroll.current),offset:Jo(d.offset,l.scroll.diff.value)},f={client:d,page:p};if("COLLECTING"===t.phase)return Gn({phase:"COLLECTING"},t,{dimensions:c,viewport:l,current:f});var g=c.draggables[t.critical.draggable.id],b=i||da({pageOffset:p.offset,draggable:g,draggables:c.draggables,droppables:c.droppables,previousImpact:t.impact,viewport:l,afterCritical:t.afterCritical}),h=function(e){var t=e.draggable,n=e.draggables,r=e.droppables,o=e.previousImpact,i=e.impact,a=fa({previousImpact:o,impact:i,droppables:r}),l=oa(i);if(!l)return a;var c=r[l];if(wi(t,c))return a;if(c.subject.withPlaceholder)return a;var s=na(c,t,n);return pa(a,s)}({draggable:g,impact:b,previousImpact:t.impact,draggables:c.draggables,droppables:c.droppables});return Gn({},t,{current:f,dimensions:{draggables:c.draggables,droppables:h},impact:b,viewport:l,scrollJumpRequest:a||null,forceShouldAnimate:!a&&null})};var ba=function(e){var t=e.impact,n=e.viewport,r=e.draggables,o=e.destination,i=e.forceShouldAnimate,a=t.displaced;return Gn({},t,{displaced:Bi({afterDragging:function(e,t){return e.map((function(e){return t[e]}))}(a.all,r),destination:o,displacedBy:t.displacedBy,viewport:n.frame,forceShouldAnimate:i,last:a})})},ha=function(e){var t=e.impact,n=e.draggable,r=e.droppable,o=e.draggables,i=e.viewport,a=e.afterCritical,l=Ui({impact:t,draggable:n,draggables:o,droppable:r,afterCritical:a});return Yi({pageBorderBoxCenter:l,draggable:n,viewport:i})},ma=function(e){var t=e.state,n=e.dimensions,r=e.viewport;"SNAP"!==t.movementMode&&zo(!1);var o=t.impact,i=r||t.viewport,a=n||t.dimensions,l=a.draggables,c=a.droppables,s=l[t.critical.draggable.id],u=oa(o);u||zo(!1);var d=c[u],p=ba({impact:o,viewport:i,destination:d,draggables:l}),f=ha({impact:p,draggable:s,droppable:d,draggables:l,viewport:i,afterCritical:t.afterCritical});return ga({impact:p,clientSelection:f,state:t,dimensions:a,viewport:i})},va=function(e){var t=e.draggable,n=e.home,r=e.draggables,o=e.viewport,i=ea(n.axis,t.displaceBy),a=mi(n.descriptor.id,r),l=a.indexOf(t);-1===l&&zo(!1);var c,s=a.slice(l+1),u=s.reduce((function(e,t){return e[t.descriptor.id]=!0,e}),{}),d={inVirtualList:"virtual"===n.descriptor.mode,displacedBy:i,effected:u};return{impact:{displaced:Bi({afterDragging:s,destination:n,displacedBy:i,last:null,viewport:o.frame,forceShouldAnimate:!1}),displacedBy:i,at:{type:"REORDER",destination:(c=t.descriptor,{index:c.index,droppableId:c.droppableId})}},afterCritical:d}},ya=function(e){var t=e.additions,n=e.updatedDroppables,r=e.viewport,o=r.scroll.diff.value;return t.map((function(e){var t=e.descriptor.droppableId,i=function(e){var t=e.frame;return t||zo(!1),t}(n[t]).scroll.diff.value;return function(e){var t=e.draggable,n=e.offset,r=e.initialWindowScroll,o=Do(t.client,n),i=Oo(o,r);return Gn({},t,{placeholder:Gn({},t.placeholder,{client:o}),client:o,page:i})}({draggable:e,offset:Jo(o,i),initialWindowScroll:r.scroll.initial})}))},xa=function(e){return"SNAP"===e.movementMode},wa=function(e,t,n){var r=function(e,t){return{draggables:e.draggables,droppables:pa(e.droppables,t)}}(e.dimensions,t);return!xa(e)||n?ga({state:e,dimensions:r}):ma({state:e,dimensions:r})};function Ca(e){return e.isDragging&&"SNAP"===e.movementMode?Gn({phase:"DRAGGING"},e,{scrollJumpRequest:null}):e}var Ia={phase:"IDLE",completed:null,shouldFlush:!1},Pa=function(e,t){if(void 0===e&&(e=Ia),"FLUSH"===t.type)return Gn({},Ia,{shouldFlush:!0});if("INITIAL_PUBLISH"===t.type){"IDLE"!==e.phase&&zo(!1);var n=t.payload,r=n.critical,o=n.clientSelection,i=n.viewport,a=n.dimensions,l=n.movementMode,c=a.draggables[r.draggable.id],s=a.droppables[r.droppable.id],u={selection:o,borderBoxCenter:c.client.borderBox.center,offset:Xo},d={client:u,page:{selection:Jo(u.selection,i.scroll.initial),borderBoxCenter:Jo(u.selection,i.scroll.initial),offset:Jo(u.selection,i.scroll.diff.value)}},p=bi(a.droppables).every((function(e){return!e.isFixedOnPage})),f=va({draggable:c,home:s,draggables:a.draggables,viewport:i}),g=f.impact;return{phase:"DRAGGING",isDragging:!0,critical:r,movementMode:l,dimensions:a,initial:d,current:d,isWindowScrollAllowed:p,impact:g,afterCritical:f.afterCritical,onLiftImpact:g,viewport:i,scrollJumpRequest:null,forceShouldAnimate:null}}if("COLLECTION_STARTING"===t.type)return"COLLECTING"===e.phase||"DROP_PENDING"===e.phase?e:("DRAGGING"!==e.phase&&zo(!1),Gn({phase:"COLLECTING"},e,{phase:"COLLECTING"}));if("PUBLISH_WHILE_DRAGGING"===t.type)return"COLLECTING"!==e.phase&&"DROP_PENDING"!==e.phase&&zo(!1),function(e){var t=e.state,n=e.published,r=n.modified.map((function(e){var n=t.dimensions.droppables[e.droppableId];return ci(n,e.scroll)})),o=Gn({},t.dimensions.droppables,{},fi(r)),i=gi(ya({additions:n.additions,updatedDroppables:o,viewport:t.viewport})),a=Gn({},t.dimensions.draggables,{},i);n.removals.forEach((function(e){delete a[e]}));var l={droppables:o,draggables:a},c=oa(t.impact),s=c?l.droppables[c]:null,u=l.draggables[t.critical.draggable.id],d=l.droppables[t.critical.droppable.id],p=va({draggable:u,home:d,draggables:a,viewport:t.viewport}),f=p.impact,g=p.afterCritical,b=s&&s.isCombineEnabled?t.impact:f,h=da({pageOffset:t.current.page.offset,draggable:l.draggables[t.critical.draggable.id],draggables:l.draggables,droppables:l.droppables,previousImpact:b,viewport:t.viewport,afterCritical:g}),m=Gn({phase:"DRAGGING"},t,{phase:"DRAGGING",impact:h,onLiftImpact:f,dimensions:l,afterCritical:g,forceShouldAnimate:!1});return"COLLECTING"===t.phase?m:Gn({phase:"DROP_PENDING"},m,{phase:"DROP_PENDING",reason:t.reason,isWaiting:!1})}({state:e,published:t.payload});if("MOVE"===t.type){if("DROP_PENDING"===e.phase)return e;aa(e)||zo(!1);var b=t.payload.client;return Qo(b,e.current.client.selection)?e:ga({state:e,clientSelection:b,impact:xa(e)?e.impact:null})}if("UPDATE_DROPPABLE_SCROLL"===t.type){if("DROP_PENDING"===e.phase)return Ca(e);if("COLLECTING"===e.phase)return Ca(e);aa(e)||zo(!1);var h=t.payload,m=h.id,v=h.newScroll,y=e.dimensions.droppables[m];if(!y)return e;var x=ci(y,v);return wa(e,x,!1)}if("UPDATE_DROPPABLE_IS_ENABLED"===t.type){if("DROP_PENDING"===e.phase)return e;aa(e)||zo(!1);var w=t.payload,C=w.id,I=w.isEnabled,P=e.dimensions.droppables[C];P||zo(!1),P.isEnabled===I&&zo(!1);var k=Gn({},P,{isEnabled:I});return wa(e,k,!0)}if("UPDATE_DROPPABLE_IS_COMBINE_ENABLED"===t.type){if("DROP_PENDING"===e.phase)return e;aa(e)||zo(!1);var S=t.payload,D=S.id,O=S.isCombineEnabled,E=e.dimensions.droppables[D];E||zo(!1),E.isCombineEnabled===O&&zo(!1);var A=Gn({},E,{isCombineEnabled:O});return wa(e,A,!0)}if("MOVE_BY_WINDOW_SCROLL"===t.type){if("DROP_PENDING"===e.phase||"DROP_ANIMATING"===e.phase)return e;aa(e)||zo(!1),e.isWindowScrollAllowed||zo(!1);var M=t.payload.newScroll;if(Qo(e.viewport.scroll.current,M))return Ca(e);var L=Vi(e.viewport,M);return xa(e)?ma({state:e,viewport:L}):ga({state:e,viewport:L})}if("UPDATE_VIEWPORT_MAX_SCROLL"===t.type){if(!aa(e))return e;var B=t.payload.maxScroll;if(Qo(B,e.viewport.scroll.max))return e;var T=Gn({},e.viewport,{scroll:Gn({},e.viewport.scroll,{max:B})});return Gn({phase:"DRAGGING"},e,{viewport:T})}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&&zo(!1);var R=ia({state:e,type:t.type});return R?ga({state:e,impact:R.impact,clientSelection:R.clientSelection,scrollJumpRequest:R.scrollJumpRequest}):e}if("DROP_PENDING"===t.type){var N=t.payload.reason;return"COLLECTING"!==e.phase&&zo(!1),Gn({phase:"DROP_PENDING"},e,{phase:"DROP_PENDING",isWaiting:!0,reason:N})}if("DROP_ANIMATE"===t.type){var F=t.payload,j=F.completed,z=F.dropDuration,H=F.newHomeClientOffset;return"DRAGGING"!==e.phase&&"DROP_PENDING"!==e.phase&&zo(!1),{phase:"DROP_ANIMATING",completed:j,dropDuration:z,newHomeClientOffset:H,dimensions:e.dimensions}}return"DROP_COMPLETE"===t.type?{phase:"IDLE",completed:t.payload.completed,shouldFlush:!1}:e},ka=function(e){return{type:"PUBLISH_WHILE_DRAGGING",payload:e}},Sa=function(){return{type:"COLLECTION_STARTING",payload:null}},Da=function(e){return{type:"UPDATE_DROPPABLE_SCROLL",payload:e}},Oa=function(e){return{type:"UPDATE_DROPPABLE_IS_ENABLED",payload:e}},Ea=function(e){return{type:"UPDATE_DROPPABLE_IS_COMBINE_ENABLED",payload:e}},Aa=function(e){return{type:"MOVE",payload:e}},Ma=function(){return{type:"MOVE_UP",payload:null}},La=function(){return{type:"MOVE_DOWN",payload:null}},Ba=function(){return{type:"MOVE_RIGHT",payload:null}},Ta=function(){return{type:"MOVE_LEFT",payload:null}},Ra=function(e){return{type:"DROP_COMPLETE",payload:e}},Na=function(e){return{type:"DROP",payload:e}},Fa=function(){return{type:"DROP_ANIMATION_FINISHED",payload:null}},ja="cubic-bezier(.2,1,.1,1)",za={drop:0,combining:.7},Ha={drop:.75},Ga=.2+"s "+"cubic-bezier(0.2, 0, 0, 1)",_a={fluid:"opacity "+Ga,snap:"transform "+Ga+", opacity "+Ga,drop:function(e){var t=e+"s "+ja;return"transform "+t+", opacity "+t},outOfTheWay:"transform "+Ga,placeholder:"height "+Ga+", width "+Ga+", margin "+Ga},Wa=function(e){return Qo(e,Xo)?null:"translate("+e.x+"px, "+e.y+"px)"},qa=Wa,Ua=function(e,t){var n=Wa(e);return n?t?n+" scale("+Ha.drop+")":n:null},Va=.33,$a=.55,Ya=$a-Va,Xa=function(e){var t=e.getState,n=e.dispatch;return function(e){return function(r){if("DROP"===r.type){var o=t(),i=r.payload.reason;if("COLLECTING"!==o.phase){if("IDLE"!==o.phase){"DROP_PENDING"===o.phase&&o.isWaiting&&zo(!1),"DRAGGING"!==o.phase&&"DROP_PENDING"!==o.phase&&zo(!1);var a=o.critical,l=o.dimensions,c=l.draggables[o.critical.draggable.id],s=function(e){var t=e.draggables,n=e.reason,r=e.lastImpact,o=e.home,i=e.viewport,a=e.onLiftImpact;return r.at&&"DROP"===n?"REORDER"===r.at.type?{impact:r,didDropInsideDroppable:!0}:{impact:Gn({},r,{displaced:Ii}),didDropInsideDroppable:!0}:{impact:ba({draggables:t,impact:a,destination:o,viewport:i,forceShouldAnimate:!0}),didDropInsideDroppable:!1}}({reason:i,lastImpact:o.impact,afterCritical:o.afterCritical,onLiftImpact:o.onLiftImpact,home:o.dimensions.droppables[o.critical.droppable.id],viewport:o.viewport,draggables:o.dimensions.draggables}),u=s.impact,d=s.didDropInsideDroppable,p=d?vi(u):null,f=d?yi(u):null,g={index:a.draggable.index,droppableId:a.droppable.id},b={draggableId:c.descriptor.id,type:c.descriptor.type,source:g,reason:i,mode:o.movementMode,destination:p,combine:f},h=function(e){var t=e.impact,n=e.draggable,r=e.dimensions,o=e.viewport,i=e.afterCritical,a=r.draggables,l=r.droppables,c=oa(t),s=c?l[c]:null,u=l[n.descriptor.droppableId],d=ha({impact:t,draggable:n,draggables:a,afterCritical:i,droppable:s||u,viewport:o});return Ko(d,n.client.borderBox.center)}({impact:u,draggable:c,dimensions:l,viewport:o.viewport,afterCritical:o.afterCritical}),m={critical:o.critical,afterCritical:o.afterCritical,result:b,impact:u};if(!Qo(o.current.client.offset,h)||Boolean(b.combine)){var v=function(e){var t=e.current,n=e.destination,r=e.reason,o=ti(t,n);if(o<=0)return Va;if(o>=1500)return $a;var i=Va+Ya*(o/1500);return Number(("CANCEL"===r?.6*i:i).toFixed(2))}({current:o.current.client.offset,destination:h,reason:i});n(function(e){return{type:"DROP_ANIMATE",payload:e}}({newHomeClientOffset:h,dropDuration:v,completed:m}))}else n(Ra({completed:m}))}}else n(function(e){return{type:"DROP_PENDING",payload:e}}({reason:i}))}else e(r)}}},Ja=function(){return{x:window.pageXOffset,y:window.pageYOffset}};function Ka(e){var t=e.onWindowScroll;var n=To((function(){t(Ja())})),r=function(e){return{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(t){t.target!==window&&t.target!==window.document||e()}}}(n),o=No;function i(){return o!==No}return{start:function(){i()&&zo(!1),o=Fo(window,[r])},stop:function(){i()||zo(!1),n.cancel(),o(),o=No},isActive:i}}var Qa=function(e){var t=Ka({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)}}},Za=function(){var e=[];return{add:function(t){var n=setTimeout((function(){return function(t){var n=ui(e,(function(e){return e.timerId===t}));-1===n&&zo(!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()}))}}}},el=function(e,t){t()},tl=function(e,t){return{draggableId:e.draggable.id,type:e.droppable.type,source:{droppableId:e.droppable.id,index:e.draggable.index},mode:t}},nl=function(e,t,n,r){if(e){var o=function(e){var t=!1,n=!1,r=setTimeout((function(){n=!0})),o=function(o){t||n||(t=!0,e(o),clearTimeout(r))};return o.wasCalled=function(){return t},o}(n);e(t,{announce:o}),o.wasCalled()||n(r(t))}else n(r(t))},rl=function(e,t){var n=function(e,t){var n=Za(),r=null,o=function(n){r||zo(!1),r=null,el(0,(function(){return nl(e().onDragEnd,n,t,Yo)}))};return{beforeCapture:function(t,n){r&&zo(!1),el(0,(function(){var r=e().onBeforeCapture;r&&r({draggableId:t,mode:n})}))},beforeStart:function(t,n){r&&zo(!1),el(0,(function(){var r=e().onBeforeDragStart;r&&r(tl(t,n))}))},start:function(o,i){r&&zo(!1);var a=tl(o,i);r={mode:i,lastCritical:o,lastLocation:a.source,lastCombine:null},n.add((function(){el(0,(function(){return nl(e().onDragStart,a,t,Vo)}))}))},update:function(o,i){var a=vi(i),l=yi(i);r||zo(!1);var c=!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}(o,r.lastCritical);c&&(r.lastCritical=o);var s,u,d=(u=a,!(null==(s=r.lastLocation)&&null==u||null!=s&&null!=u&&s.droppableId===u.droppableId&&s.index===u.index));d&&(r.lastLocation=a);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),c||d||p){var f=Gn({},tl(o,r.mode),{combine:l,destination:a});n.add((function(){el(0,(function(){return nl(e().onDragUpdate,f,t,$o)}))}))}},flush:function(){r||zo(!1),n.flush()},drop:o,abort:function(){if(r){var e=Gn({},tl(r.lastCritical,r.mode),{combine:null,destination:null,reason:"CANCEL"});o(e)}}}}(e,t);return function(e){return function(t){return function(r){if("BEFORE_INITIAL_CAPTURE"!==r.type){if("INITIAL_PUBLISH"===r.type){var o=r.payload.critical;return n.beforeStart(o,r.payload.movementMode),t(r),void n.start(o,r.payload.movementMode)}if("DROP_COMPLETE"===r.type){var i=r.payload.completed.result;return n.flush(),t(r),void n.drop(i)}if(t(r),"FLUSH"!==r.type){var a=e.getState();"DRAGGING"===a.phase&&n.update(a.critical,a.impact)}else n.abort()}else n.beforeCapture(r.payload.draggableId,r.payload.movementMode)}}}},ol=function(e){return function(t){return function(n){if("DROP_ANIMATION_FINISHED"===n.type){var r=e.getState();"DROP_ANIMATING"!==r.phase&&zo(!1),e.dispatch(Ra({completed:r.completed}))}else t(n)}}},il=function(e){var t=null,n=null;return function(r){return function(o){if("FLUSH"!==o.type&&"DROP_COMPLETE"!==o.type&&"DROP_ANIMATION_FINISHED"!==o.type||(n&&(cancelAnimationFrame(n),n=null),t&&(t(),t=null)),r(o),"DROP_ANIMATE"===o.type){var i={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=Fo(window,[i])}))}}}},al=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(Na({reason:r.reason})))}}}},ll=Zn,cl=function(e){var t,n=e.dimensionMarshal,r=e.focusMarshal,o=e.styleMarshal,i=e.getResponders,a=e.announce,l=e.autoScroller;return Jn(Pa,ll(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(){var n=e.apply(void 0,arguments),r=function(){throw new Error(Un(15))},o={getState:n.getState,dispatch:function(){return r.apply(void 0,arguments)}},i=t.map((function(e){return e(o)}));return r=Zn.apply(void 0,i)(n.dispatch),qn(qn({},n),{},{dispatch:r})}}}((t=o,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(o){if("LIFT"===o.type){var i=o.payload,a=i.id,l=i.clientSelection,c=i.movementMode,s=n();"DROP_ANIMATING"===s.phase&&r(Ra({completed:s.completed})),"IDLE"!==n().phase&&zo(!1),r({type:"FLUSH",payload:null}),r({type:"BEFORE_INITIAL_CAPTURE",payload:{draggableId:a,movementMode:c}});var u={draggableId:a,scrollOptions:{shouldPublishImmediately:"SNAP"===c}},d=e.startPublishing(u),p=d.critical,f=d.dimensions,g=d.viewport;r({type:"INITIAL_PUBLISH",payload:{critical:p,dimensions:f,clientSelection:l,movementMode:c,viewport:g}})}else t(o)}}}}(n),Xa,ol,il,al,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 o=t.getState();return"DRAGGING"!==o.phase&&zo(!1),void e.start(o)}n(r),e.scroll(t.getState())}}}}(l),Qa,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 o=r.payload.completed.result;o.combine&&e.tryShiftRecord(o.draggableId,o.combine.draggableId),e.tryRestoreFocusRecorded()}}}}}}(r),rl(i,a))))};var sl=function(e){var t=e.scrollHeight,n=e.scrollWidth,r=e.height,o=e.width,i=Ko({x:n,y:t},{x:o,y:r});return{x:Math.max(0,i.x),y:Math.max(0,i.y)}},ul=function(){var e=document.documentElement;return e||zo(!1),e},dl=function(){var e=ul();return sl({scrollHeight:e.scrollHeight,scrollWidth:e.scrollWidth,width:e.clientWidth,height:e.clientHeight})},pl=function(e){var t=e.critical,n=e.scrollOptions,r=e.registry,o=function(){var e=Ja(),t=dl(),n=e.y,r=e.x,o=ul(),i=o.clientWidth,a=o.clientHeight;return{frame:wo({top:n,left:r,right:r+i,bottom:n+a}),scroll:{initial:e,current:e,max:t,diff:{value:Xo,displacement:Xo}}}}(),i=o.scroll.current,a=t.droppable,l=r.droppable.getAllByType(a.type).map((function(e){return e.callbacks.getDimensionAndWatchScroll(i,n)})),c=r.draggable.getAllByType(t.draggable.type).map((function(e){return e.getDimension(i)}));return{dimensions:{draggables:gi(c),droppables:fi(l)},critical:t,viewport:o}};function fl(e,t,n){return n.descriptor.id!==t.id&&(n.descriptor.type===t.type&&"virtual"===e.droppable.getById(n.descriptor.droppableId).descriptor.mode)}var gl,bl,hl=function(e,t){var n=null,r=function(e){var t=e.registry,n=e.callbacks,r={additions:{},removals:{},modified:{}},o=null,i=function(){o||(n.collectionStarting(),o=requestAnimationFrame((function(){o=null;var e=r,i=e.additions,a=e.removals,l=e.modified,c=Object.keys(i).map((function(e){return t.draggable.getById(e).getDimension(Xo)})).sort((function(e,t){return e.descriptor.index-t.descriptor.index})),s=Object.keys(l).map((function(e){return{droppableId:e,scroll:t.droppable.getById(e).callbacks.getScrollWhileDragging()}})),u={additions:c,removals:Object.keys(a),modified:s};r={additions:{},removals:{},modified:{}},n.publish(u)})))};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],i()},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],i()},stop:function(){o&&(cancelAnimationFrame(o),o=null,r={additions:{},removals:{},modified:{}})}}}({callbacks:{publish:t.publishWhileDragging,collectionStarting:t.collectionStarting},registry:e}),o=function(t){n||zo(!1);var o=n.critical.draggable;"ADDITION"===t.type&&fl(e,o,t.value)&&r.add(t.value),"REMOVAL"===t.type&&fl(e,o,t.value)&&r.remove(t.value)};return{updateDroppableIsEnabled:function(r,o){e.droppable.exists(r)||zo(!1),n&&t.updateDroppableIsEnabled({id:r,isEnabled:o})},updateDroppableIsCombineEnabled:function(r,o){n&&(e.droppable.exists(r)||zo(!1),t.updateDroppableIsCombineEnabled({id:r,isCombineEnabled:o}))},scrollDroppable:function(t,r){n&&e.droppable.getById(t).callbacks.scroll(r)},updateDroppableScroll:function(r,o){n&&(e.droppable.exists(r)||zo(!1),t.updateDroppableScroll({id:r,newScroll:o}))},startPublishing:function(t){n&&zo(!1);var r=e.draggable.getById(t.draggableId),i=e.droppable.getById(r.descriptor.droppableId),a={draggable:r.descriptor,droppable:i.descriptor},l=e.subscribe(o);return n={critical:a,unsubscribe:l},pl({critical:a,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}}}},ml=function(e,t){return"IDLE"===e.phase||"DROP_ANIMATING"===e.phase&&(e.completed.result.draggableId!==t&&"DROP"===e.completed.result.reason)},vl=function(e){window.scrollBy(e.x,e.y)},yl=Bo((function(e){return bi(e).filter((function(e){return!!e.isEnabled&&!!e.frame}))})),xl=function(e){var t=e.center,n=e.destination,r=e.droppables;if(n){var o=r[n];return o.frame?o:null}return function(e,t){return di(yl(t),(function(t){return t.frame||zo(!1),la(t.frame.pageMarginBox)(e)}))}(t,r)},wl=.25,Cl=.05,Il=28,Pl=function(e){return Math.pow(e,2)},kl={stopDampeningAt:1200,accelerateAt:360},Sl=function(e){var t=e.startOfRange,n=e.endOfRange,r=e.current,o=n-t;return 0===o?0:(r-t)/o},Dl=kl.accelerateAt,Ol=kl.stopDampeningAt,El=function(e){var t=e.distanceToEdge,n=e.thresholds,r=e.dragStartTime,o=e.shouldUseTimeDampening,i=function(e,t){if(e>t.startScrollingFrom)return 0;if(e<=t.maxScrollValueAt)return Il;if(e===t.startScrollingFrom)return 1;var n=Sl({startOfRange:t.maxScrollValueAt,endOfRange:t.startScrollingFrom,current:e}),r=Il*Pl(1-n);return Math.ceil(r)}(t,n);return 0===i?0:o?Math.max(function(e,t){var n=t,r=Ol,o=Date.now()-n;if(o>=Ol)return e;if(o<Dl)return 1;var i=Sl({startOfRange:Dl,endOfRange:r,current:o}),a=e*Pl(i);return Math.ceil(a)}(i,r),1):i},Al=function(e){var t=e.container,n=e.distanceToEdges,r=e.dragStartTime,o=e.axis,i=e.shouldUseTimeDampening,a=function(e,t){return{startScrollingFrom:e[t.size]*wl,maxScrollValueAt:e[t.size]*Cl}}(t,o);return n[o.end]<n[o.start]?El({distanceToEdge:n[o.end],thresholds:a,dragStartTime:r,shouldUseTimeDampening:i}):-1*El({distanceToEdge:n[o.start],thresholds:a,dragStartTime:r,shouldUseTimeDampening:i})},Ml=ri((function(e){return 0===e?0:e})),Ll=function(e){var t=e.dragStartTime,n=e.container,r=e.subject,o=e.center,i=e.shouldUseTimeDampening,a={top:o.y-n.top,right:n.right-o.x,bottom:n.bottom-o.y,left:o.x-n.left},l=Al({container:n,distanceToEdges:a,dragStartTime:t,axis:Oi,shouldUseTimeDampening:i}),c=Al({container:n,distanceToEdges:a,dragStartTime:t,axis:Ei,shouldUseTimeDampening:i}),s=Ml({x:c,y:l});if(Qo(s,Xo))return null;var u=function(e){var t=e.container,n=e.subject,r=e.proposedScroll,o=n.height>t.height,i=n.width>t.width;return i||o?i&&o?null:{x:i?0:r.x,y:o?0:r.y}:r}({container:n,subject:r,proposedScroll:s});return u?Qo(u,Xo)?null:u:null},Bl=ri((function(e){return 0===e?0:e>0?1:-1})),Tl=(gl=function(e,t){return e<0?e:e>t?e-t:0},function(e){var t=e.current,n=e.max,r=e.change,o=Jo(t,r),i={x:gl(o.x,n.x),y:gl(o.y,n.y)};return Qo(i,Xo)?null:i}),Rl=function(e){var t=e.max,n=e.current,r=e.change,o={x:Math.max(n.x,t.x),y:Math.max(n.y,t.y)},i=Bl(r),a=Tl({max:o,current:n,change:i});return!a||(0!==i.x&&0===a.x||0!==i.y&&0===a.y)},Nl=function(e,t){return Rl({current:e.scroll.current,max:e.scroll.max,change:t})},Fl=function(e,t){var n=e.frame;return!!n&&Rl({current:n.scroll.current,max:n.scroll.max,change:t})},jl=function(e){var t=e.state,n=e.dragStartTime,r=e.shouldUseTimeDampening,o=e.scrollWindow,i=e.scrollDroppable,a=t.current.page.borderBoxCenter,l=t.dimensions.draggables[t.critical.draggable.id].page.marginBox;if(t.isWindowScrollAllowed){var c=function(e){var t=e.viewport,n=e.subject,r=e.center,o=e.dragStartTime,i=e.shouldUseTimeDampening,a=Ll({dragStartTime:o,container:t.frame,subject:n,center:r,shouldUseTimeDampening:i});return a&&Nl(t,a)?a:null}({dragStartTime:n,viewport:t.viewport,subject:l,center:a,shouldUseTimeDampening:r});if(c)return void o(c)}var s=xl({center:a,destination:oa(t.impact),droppables:t.dimensions.droppables});if(s){var u=function(e){var t=e.droppable,n=e.subject,r=e.center,o=e.dragStartTime,i=e.shouldUseTimeDampening,a=t.frame;if(!a)return null;var l=Ll({dragStartTime:o,container:a.pageMarginBox,subject:n,center:r,shouldUseTimeDampening:i});return l&&Fl(t,l)?l:null}({dragStartTime:n,droppable:s,subject:l,center:a,shouldUseTimeDampening:r});u&&i(s.descriptor.id,u)}},zl=function(e){var t=e.move,n=e.scrollDroppable,r=e.scrollWindow,o=function(e,t){if(!Fl(e,t))return t;var r=function(e,t){var n=e.frame;return n&&Fl(e,t)?Tl({current:n.scroll.current,max:n.scroll.max,change:t}):null}(e,t);if(!r)return n(e.descriptor.id,t),null;var o=Ko(t,r);return n(e.descriptor.id,o),Ko(t,o)},i=function(e,t,n){if(!e)return n;if(!Nl(t,n))return n;var o=function(e,t){if(!Nl(e,t))return null;var n=e.scroll.max,r=e.scroll.current;return Tl({current:r,max:n,change:t})}(t,n);if(!o)return r(n),null;var i=Ko(n,o);return r(i),Ko(n,i)};return function(e){var n=e.scrollJumpRequest;if(n){var r=oa(e.impact);r||zo(!1);var a=o(e.dimensions.droppables[r],n);if(a){var l=e.viewport,c=i(e.isWindowScrollAllowed,l,a);c&&function(e,n){var r=Jo(e.current.client.selection,n);t({client:r})}(e,c)}}}},Hl=function(e){var t=e.scrollDroppable,n=e.scrollWindow,r=e.move,o=function(e){var t=e.scrollWindow,n=e.scrollDroppable,r=To(t),o=To(n),i=null,a=function(e){i||zo(!1);var t=i,n=t.shouldUseTimeDampening,a=t.dragStartTime;jl({state:e,scrollWindow:r,scrollDroppable:o,dragStartTime:a,shouldUseTimeDampening:n})};return{start:function(e){i&&zo(!1);var t=Date.now(),n=!1,r=function(){n=!0};jl({state:e,dragStartTime:0,shouldUseTimeDampening:!1,scrollWindow:r,scrollDroppable:r}),i={dragStartTime:t,shouldUseTimeDampening:n},n&&a(e)},stop:function(){i&&(r.cancel(),o.cancel(),i=null)},scroll:a}}({scrollWindow:n,scrollDroppable:t}),i=zl({move:r,scrollWindow:n,scrollDroppable:t});return{scroll:function(e){"DRAGGING"===e.phase&&("FLUID"!==e.movementMode?e.scrollJumpRequest&&i(e):o.scroll(e))},start:o.start,stop:o.stop}},Gl={base:bl="data-rbd-drag-handle",draggableId:bl+"-draggable-id",contextId:bl+"-context-id"},_l=function(){var e="data-rbd-draggable";return{base:e,contextId:e+"-context-id",id:e+"-id"}}(),Wl=function(){var e="data-rbd-droppable";return{base:e,contextId:e+"-context-id",id:e+"-id"}}(),ql={contextId:"data-rbd-scroll-container-context-id"},Ul=function(e,t){return e.map((function(e){var n=e.styles[t];return n?e.selector+" { "+n+" }":""})).join(" ")},Vl="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?i:o,$l=function(){var e=document.querySelector("head");return e||zo(!1),e},Yl=function(e){var t=document.createElement("style");return e&&t.setAttribute("nonce",e),t.type="text/css",t};function Xl(e,t){var n=yo((function(){return function(e){var t,n,r,o=(t=e,function(e){return"["+e+'="'+t+'"]'}),i=(n="\n cursor: -webkit-grab;\n cursor: grab;\n ",{selector:o(Gl.contextId),styles:{always:"\n -webkit-touch-callout: none;\n -webkit-tap-highlight-color: rgba(0,0,0,0);\n touch-action: manipulation;\n ",resting:n,dragging:"pointer-events: none;",dropAnimating:n}}),a=[(r="\n transition: "+_a.outOfTheWay+";\n ",{selector:o(_l.contextId),styles:{dragging:r,dropAnimating:r,userCancel:r}}),i,{selector:o(Wl.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:Ul(a,"always"),resting:Ul(a,"resting"),dragging:Ul(a,"dragging"),dropAnimating:Ul(a,"dropAnimating"),userCancel:Ul(a,"userCancel")}}(e)}),[e]),o=r(null),i=r(null),a=xo(Bo((function(e){var t=i.current;t||zo(!1),t.textContent=e})),[]),l=xo((function(e){var t=o.current;t||zo(!1),t.textContent=e}),[]);Vl((function(){(o.current||i.current)&&zo(!1);var r=Yl(t),c=Yl(t);return o.current=r,i.current=c,r.setAttribute("data-rbd-always",e),c.setAttribute("data-rbd-dynamic",e),$l().appendChild(r),$l().appendChild(c),l(n.always),a(n.resting),function(){var e=function(e){var t=e.current;t||zo(!1),$l().removeChild(t),e.current=null};e(o),e(i)}}),[t,l,a,n.always,n.resting,e]);var c=xo((function(){return a(n.dragging)}),[a,n.dragging]),s=xo((function(e){a("DROP"!==e?n.userCancel:n.dropAnimating)}),[a,n.dropAnimating,n.userCancel]),u=xo((function(){i.current&&a(n.resting)}),[a,n.resting]);return yo((function(){return{dragging:c,dropping:s,resting:u}}),[c,s,u])}var Jl=function(e){return e&&e.ownerDocument?e.ownerDocument.defaultView:window};function Kl(e){return e instanceof Jl(e).HTMLElement}function Ql(e){var t=r({}),n=r(null),o=r(null),i=r(!1),a=xo((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]}}),[]),l=xo((function(t){var n=function(e,t){var n="["+Gl.contextId+'="'+e+'"]',r=pi(document.querySelectorAll(n));if(!r.length)return null;var o=di(r,(function(e){return e.getAttribute(Gl.draggableId)===t}));return o&&Kl(o)?o:null}(e,t);n&&n!==document.activeElement&&n.focus()}),[e]),c=xo((function(e,t){n.current===e&&(n.current=t)}),[]),s=xo((function(){o.current||i.current&&(o.current=requestAnimationFrame((function(){o.current=null;var e=n.current;e&&l(e)})))}),[l]),u=xo((function(e){n.current=null;var t=document.activeElement;t&&t.getAttribute(Gl.draggableId)===e&&(n.current=e)}),[]);return Vl((function(){return i.current=!0,function(){i.current=!1;var e=o.current;e&&cancelAnimationFrame(e)}}),[]),yo((function(){return{register:a,tryRecordFocus:u,tryRestoreFocusRecorded:s,tryShiftRecord:c}}),[a,u,s,c])}function Zl(){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 o(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 o=t.descriptor.id,i=r(o);i&&t.uniqueId===i.uniqueId&&(delete e.draggables[o],n({type:"REMOVAL",value:t}))},getById:function(e){var t=r(e);return t||zo(!1),t},findById:r,exists:function(e){return Boolean(r(e))},getAllByType:function(t){return si(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=o(t.descriptor.id);n&&t.uniqueId===n.uniqueId&&delete e.droppables[t.descriptor.id]},getById:function(e){var t=o(e);return t||zo(!1),t},findById:o,exists:function(e){return Boolean(o(e))},getAllByType:function(t){return si(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 ec=e.createContext(null),tc=function(){var e=document.body;return e||zo(!1),e},nc={position:"absolute",width:"1px",height:"1px",margin:"-1px",border:"0",padding:"0",overflow:"hidden",clip:"rect(0 0 0 0)","clip-path":"inset(100%)"};var rc=0,oc={separator:"::"};function ic(e,t){return void 0===t&&(t=oc),yo((function(){return""+e+t.separator+rc++}),[t.separator,e])}var ac=e.createContext(null);function lc(e){var t=r(e);return o((function(){t.current=e})),t}var cc,sc=((cc={})[13]=!0,cc[9]=!0,cc),uc=function(e){sc[e.keyCode]&&e.preventDefault()},dc=function(){var e="visibilitychange";return"undefined"==typeof document?e:di([e,"ms"+e,"webkit"+e,"moz"+e,"o"+e],(function(e){return"on"+e in document}))||e}();var pc,fc={type:"IDLE"};function gc(e){var t=e.cancel,n=e.completed,r=e.getPhase,o=e.setPhase;return[{eventName:"mousemove",fn:function(e){var t=e.button,n=e.clientX,i=e.clientY;if(0===t){var a={x:n,y:i},l=r();if("DRAGGING"===l.type)return e.preventDefault(),void l.actions.move(a);"PENDING"!==l.type&&zo(!1);var c=l.point;if(s=c,u=a,Math.abs(u.x-s.x)>=5||Math.abs(u.y-s.y)>=5){var s,u;e.preventDefault();var d=l.actions.fluidLift(a);o({type:"DRAGGING",actions:d})}}}},{eventName:"mouseup",fn:function(e){var o=r();"DRAGGING"===o.type?(e.preventDefault(),o.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 uc(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&&zo(!1),n.actions.shouldRespectForcePress()?t():e.preventDefault()}},{eventName:dc,fn:t}]}function bc(){}var hc=((pc={})[34]=!0,pc[33]=!0,pc[36]=!0,pc[35]=!0,pc);function mc(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(hc[r.keyCode]?r.preventDefault():uc(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:dc,fn:n}]}var vc={type:"IDLE"};var yc={input:!0,button:!0,textarea:!0,select:!0,option:!0,optgroup:!0,video:!0,audio:!0};function xc(e,t){if(null==t)return!1;if(Boolean(yc[t.tagName.toLowerCase()]))return!0;var n=t.getAttribute("contenteditable");return"true"===n||""===n||t!==e&&xc(e,t.parentElement)}function wc(e,t){var n=t.target;return!!Kl(n)&&xc(e,n)}var Cc=function(e){return wo(e.getBoundingClientRect()).center};var Ic=function(){var e="matches";return"undefined"==typeof document?e:di([e,"msMatchesSelector","webkitMatchesSelector"],(function(e){return e in Element.prototype}))||e}();function Pc(e,t){return null==e?null:e[Ic](t)?e:Pc(e.parentElement,t)}function kc(e,t){return e.closest?e.closest(t):Pc(e,t)}function Sc(e,t){var n,r=t.target;if(!((n=r)instanceof Jl(n).Element))return null;var o=kc(r,function(e){return"["+Gl.contextId+'="'+e+'"]'}(e));return o&&Kl(o)?o:null}function Dc(e){e.preventDefault()}function Oc(e){var t=e.expected,n=e.phase,r=e.isLockActive;e.shouldWarn;return!!r()&&t===n}function Ec(e){var t=e.lockAPI,n=e.store,r=e.registry,o=e.draggableId;if(t.isClaimed())return!1;var i=r.draggable.findById(o);return!!i&&(!!i.options.isEnabled&&!!ml(n.getState(),o))}function Ac(e){var t=e.lockAPI,n=e.contextId,r=e.store,o=e.registry,i=e.draggableId,a=e.forceSensorStop,l=e.sourceEvent;if(!Ec({lockAPI:t,store:r,registry:o,draggableId:i}))return null;var c=o.draggable.getById(i),s=function(e,t){var n="["+_l.contextId+'="'+e+'"]',r=di(pi(document.querySelectorAll(n)),(function(e){return e.getAttribute(_l.id)===t}));return r&&Kl(r)?r:null}(n,c.descriptor.id);if(!s)return null;if(l&&!c.options.canDragInteractiveElements&&wc(s,l))return null;var u=t.claim(a||No),d="PRE_DRAG";function p(){return c.options.shouldRespectForcePress}function f(){return t.isActive(u)}var g=function(e,t){Oc({expected:e,phase:d,isLockActive:f,shouldWarn:!0})&&r.dispatch(t())}.bind(null,"DRAGGING");function b(e){function n(){t.release(),d="COMPLETED"}function o(t,o){if(void 0===o&&(o={shouldBlockNextClick:!1}),e.cleanup(),o.shouldBlockNextClick){var i=Fo(window,[{eventName:"click",fn:Dc,options:{once:!0,passive:!1,capture:!0}}]);setTimeout(i)}n(),r.dispatch(Na({reason:t}))}return"PRE_DRAG"!==d&&(n(),"PRE_DRAG"!==d&&zo(!1)),r.dispatch(function(e){return{type:"LIFT",payload:e}}(e.liftActionArgs)),d="DRAGGING",Gn({isActive:function(){return Oc({expected:"DRAGGING",phase:d,isLockActive:f,shouldWarn:!1})},shouldRespectForcePress:p,drop:function(e){return o("DROP",e)},cancel:function(e){return o("CANCEL",e)}},e.actions)}return{isActive:function(){return Oc({expected:"PRE_DRAG",phase:d,isLockActive:f,shouldWarn:!1})},shouldRespectForcePress:p,fluidLift:function(e){var t=To((function(e){g((function(){return Aa({client:e})}))}));return Gn({},b({liftActionArgs:{id:i,clientSelection:e,movementMode:"FLUID"},cleanup:function(){return t.cancel()},actions:{move:t}}),{move:t})},snapLift:function(){var e={moveUp:function(){return g(Ma)},moveRight:function(){return g(Ba)},moveDown:function(){return g(La)},moveLeft:function(){return g(Ta)}};return b({liftActionArgs:{id:i,clientSelection:Cc(s),movementMode:"SNAP"},cleanup:No,actions:e})},abort:function(){Oc({expected:"PRE_DRAG",phase:d,isLockActive:f,shouldWarn:!0})&&t.release()}}}var Mc=[function(e){var t=r(fc),n=r(No),o=yo((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 o=e.tryGetLock(r,l,{sourceEvent:t});if(o){t.preventDefault();var i={x:t.clientX,y:t.clientY};n.current(),u(o,i)}}}}}}),[e]),i=yo((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]),a=xo((function(){n.current=Fo(window,[i,o],{passive:!1,capture:!0})}),[i,o]),l=xo((function(){"IDLE"!==t.current.type&&(t.current=fc,n.current(),a())}),[a]),c=xo((function(){var e=t.current;l(),"DRAGGING"===e.type&&e.actions.cancel({shouldBlockNextClick:!0}),"PENDING"===e.type&&e.actions.abort()}),[l]),s=xo((function(){var e=gc({cancel:c,completed:l,getPhase:function(){return t.current},setPhase:function(e){t.current=e}});n.current=Fo(window,e,{capture:!0,passive:!1})}),[c,l]),u=xo((function(e,n){"IDLE"!==t.current.type&&zo(!1),t.current={type:"PENDING",point:n,actions:e},s()}),[s]);Vl((function(){return a(),function(){n.current()}}),[a])},function(e){var t=r(bc),n=yo((function(){return{eventName:"keydown",fn:function(n){if(!n.defaultPrevented&&32===n.keyCode){var r=e.findClosestDraggableId(n);if(r){var i=e.tryGetLock(r,c,{sourceEvent:n});if(i){n.preventDefault();var a=!0,l=i.snapLift();t.current(),t.current=Fo(window,mc(l,c),{capture:!0,passive:!1})}}}function c(){a||zo(!1),a=!1,t.current(),o()}}}}),[e]),o=xo((function(){t.current=Fo(window,[n],{passive:!1,capture:!0})}),[n]);Vl((function(){return o(),function(){t.current()}}),[o])},function(e){var t=r(vc),n=r(No),o=xo((function(){return t.current}),[]),i=xo((function(e){t.current=e}),[]),a=yo((function(){return{eventName:"touchstart",fn:function(t){if(!t.defaultPrevented){var r=e.findClosestDraggableId(t);if(r){var o=e.tryGetLock(r,c,{sourceEvent:t});if(o){var i=t.touches[0],a={x:i.clientX,y:i.clientY};n.current(),p(o,a)}}}}}}),[e]),l=xo((function(){n.current=Fo(window,[a],{capture:!0,passive:!1})}),[a]),c=xo((function(){var e=t.current;"IDLE"!==e.type&&("PENDING"===e.type&&clearTimeout(e.longPressTimerId),i(vc),n.current(),l())}),[l,i]),s=xo((function(){var e=t.current;c(),"DRAGGING"===e.type&&e.actions.cancel({shouldBlockNextClick:!0}),"PENDING"===e.type&&e.actions.abort()}),[c]),u=xo((function(){var e={capture:!0,passive:!1},t={cancel:s,completed:c,getPhase:o},r=Fo(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 o=e.touches[0],i={x:o.clientX,y:o.clientY};e.preventDefault(),n.actions.move(i)}else t()}},{eventName:"touchend",fn:function(e){var o=r();"DRAGGING"===o.type?(e.preventDefault(),o.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&&zo(!1);var o=e.touches[0];if(o&&o.force>=.15){var i=n.actions.shouldRespectForcePress();if("PENDING"!==n.type)return i?n.hasMoved?void e.preventDefault():void t():void e.preventDefault();i&&t()}}},{eventName:dc,fn:t}]}(t),e),i=Fo(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:dc,fn:t}]}(t),e);n.current=function(){r(),i()}}),[s,o,c]),d=xo((function(){var e=o();"PENDING"!==e.type&&zo(!1);var t=e.actions.fluidLift(e.point);i({type:"DRAGGING",actions:t,hasMoved:!1})}),[o,i]),p=xo((function(e,t){"IDLE"!==o().type&&zo(!1);var n=setTimeout(d,120);i({type:"PENDING",point:t,actions:e,longPressTimerId:n}),u()}),[u,o,i,d]);Vl((function(){return l(),function(){n.current();var e=o();"PENDING"===e.type&&(clearTimeout(e.longPressTimerId),i(vc))}}),[o,l,i]),Vl((function(){return Fo(window,[{eventName:"touchmove",fn:function(){},options:{capture:!1,passive:!1}}])}),[])}];function Lc(e){var t=e.contextId,r=e.store,o=e.registry,i=e.customSensors,a=e.enableDefaultSensors,l=[].concat(a?Mc:[],i||[]),c=n((function(){return function(){var e=null;function t(){e||zo(!1),e=null}return{isClaimed:function(){return Boolean(e)},isActive:function(t){return t===e},claim:function(t){e&&zo(!1);var n={abandon:t};return e=n,n},release:t,tryAbandon:function(){e&&(e.abandon(),t())}}}()}))[0],s=xo((function(e,t){e.isDragging&&!t.isDragging&&c.tryAbandon()}),[c]);Vl((function(){var e=r.getState();return r.subscribe((function(){var t=r.getState();s(e,t),e=t}))}),[c,r,s]),Vl((function(){return c.tryAbandon}),[c.tryAbandon]);for(var u=xo((function(e){return Ec({lockAPI:c,registry:o,store:r,draggableId:e})}),[c,o,r]),d=xo((function(e,n,i){return Ac({lockAPI:c,registry:o,contextId:t,store:r,draggableId:e,forceSensorStop:n,sourceEvent:i&&i.sourceEvent?i.sourceEvent:null})}),[t,c,o,r]),p=xo((function(e){return function(e,t){var n=Sc(e,t);return n?n.getAttribute(Gl.draggableId):null}(t,e)}),[t]),f=xo((function(e){var t=o.draggable.findById(e);return t?t.options:null}),[o.draggable]),g=xo((function(){c.isClaimed()&&(c.tryAbandon(),"IDLE"!==r.getState().phase&&r.dispatch({type:"FLUSH",payload:null}))}),[c,r]),b=xo(c.isClaimed,[c]),h=yo((function(){return{canGetLock:u,tryGetLock:d,findClosestDraggableId:p,findOptionsForDraggable:f,tryReleaseLock:g,isLockClaimed:b}}),[u,d,p,f,g,b]),m=0;m<l.length;m++)l[m](h)}function Bc(e){return e.current||zo(!1),e.current}function Tc(t){var n=t.contextId,i=t.setCallbacks,a=t.sensors,l=t.nonce,c=t.dragHandleUsageInstructions,s=r(null),u=lc(t),d=xo((function(){return function(e){return{onBeforeCapture:e.onBeforeCapture,onBeforeDragStart:e.onBeforeDragStart,onDragStart:e.onDragStart,onDragEnd:e.onDragEnd,onDragUpdate:e.onDragUpdate}}(u.current)}),[u]),p=function(e){var t=yo((function(){return function(e){return"rbd-announcement-"+e}(e)}),[e]),n=r(null);return o((function(){var e=document.createElement("div");return n.current=e,e.id=t,e.setAttribute("aria-live","assertive"),e.setAttribute("aria-atomic","true"),Gn(e.style,nc),tc().appendChild(e),function(){setTimeout((function(){var t=tc();t.contains(e)&&t.removeChild(e),e===n.current&&(n.current=null)}))}}),[t]),xo((function(e){var t=n.current;t&&(t.textContent=e)}),[])}(n),f=function(e){var t=e.contextId,n=e.text,r=ic("hidden-text",{separator:"-"}),i=yo((function(){return function(e){return"rbd-hidden-text-"+e.contextId+"-"+e.uniqueId}({contextId:t,uniqueId:r})}),[r,t]);return o((function(){var e=document.createElement("div");return e.id=i,e.textContent=n,e.style.display="none",tc().appendChild(e),function(){var t=tc();t.contains(e)&&t.removeChild(e)}}),[i,n]),i}({contextId:n,text:c}),g=Xl(n,l),b=xo((function(e){Bc(s).dispatch(e)}),[]),h=yo((function(){return Qn({publishWhileDragging:ka,updateDroppableScroll:Da,updateDroppableIsEnabled:Oa,updateDroppableIsCombineEnabled:Ea,collectionStarting:Sa},b)}),[b]),m=function(){var e=yo(Zl,[]);return o((function(){return function(){requestAnimationFrame(e.clean)}}),[e]),e}(),v=yo((function(){return hl(m,h)}),[m,h]),y=yo((function(){return Hl(Gn({scrollWindow:vl,scrollDroppable:v.scrollDroppable},Qn({move:Aa},b)))}),[v.scrollDroppable,b]),x=Ql(n),w=yo((function(){return cl({announce:p,autoScroller:y,dimensionMarshal:v,focusMarshal:x,getResponders:d,styleMarshal:g})}),[p,y,v,x,d,g]);s.current=w;var C=xo((function(){var e=Bc(s);"IDLE"!==e.getState().phase&&e.dispatch({type:"FLUSH",payload:null})}),[]),I=xo((function(){var e=Bc(s).getState();return e.isDragging||"DROP_ANIMATING"===e.phase}),[]);i(yo((function(){return{isDragging:I,tryAbort:C}}),[I,C]));var P=xo((function(e){return ml(Bc(s).getState(),e)}),[]),k=xo((function(){return aa(Bc(s).getState())}),[]),S=yo((function(){return{marshal:v,focus:x,contextId:n,canLift:P,isMovementAllowed:k,dragHandleUsageInstructionsId:f,registry:m}}),[n,v,f,x,P,k,m]);return Lc({contextId:n,store:w,registry:m,customSensors:a,enableDefaultSensors:!1!==t.enableDefaultSensors}),o((function(){return C}),[C]),e.createElement(ac.Provider,{value:S},e.createElement(ar,{context:ec,store:w},t.children))}var Rc=0;function Nc(t){var n=yo((function(){return""+Rc++}),[]),r=t.dragHandleUsageInstructions||Uo;return e.createElement(Ho,null,(function(o){return e.createElement(Tc,{nonce:t.nonce,contextId:n,setCallbacks:o,dragHandleUsageInstructions:r,enableDefaultSensors:t.enableDefaultSensors,sensors:t.sensors,onBeforeCapture:t.onBeforeCapture,onBeforeDragStart:t.onBeforeDragStart,onDragStart:t.onDragStart,onDragUpdate:t.onDragUpdate,onDragEnd:t.onDragEnd},t.children)}))}var Fc=function(e){return function(t){return e===t}},jc=Fc("scroll"),zc=Fc("auto"),Hc=function(e,t){return t(e.overflowX)||t(e.overflowY)},Gc=function e(t){return null==t||t===document.body||t===document.documentElement?null:function(e){var t=window.getComputedStyle(e),n={overflowX:t.overflowX,overflowY:t.overflowY};return Hc(n,jc)||Hc(n,zc)}(t)?t:e(t.parentElement)},_c=function(e){return{x:e.scrollLeft,y:e.scrollTop}},Wc=function e(t){return!!t&&("fixed"===window.getComputedStyle(t).position||e(t.parentElement))},qc=function(e){return{closestScrollable:Gc(e),isFixedOnPage:Wc(e)}},Uc=function(e){var t=e.ref,n=e.descriptor,r=e.env,o=e.windowScroll,i=e.direction,a=e.isDropDisabled,l=e.isCombineEnabled,c=e.shouldClipSubject,s=r.closestScrollable,u=function(e,t){var n=Ao(e);if(!t)return n;if(e!==t)return n;var r=n.paddingBox.top-t.scrollTop,o=n.paddingBox.left-t.scrollLeft,i=r+t.scrollHeight,a=o+t.scrollWidth,l=Co({top:r,right:a,bottom:i,left:o},n.border);return ko({borderBox:l,margin:n.margin,border:n.border,padding:n.padding})}(t,s),d=Oo(u,o),p=function(){if(!s)return null;var e=Ao(s),t={scrollHeight:s.scrollHeight,scrollWidth:s.scrollWidth};return{client:e,page:Oo(e,o),scroll:_c(s),scrollSize:t,shouldClipSubject:c}}();return function(e){var t=e.descriptor,n=e.isEnabled,r=e.isCombineEnabled,o=e.isFixedOnPage,i=e.direction,a=e.client,l=e.page,c=e.closest,s=function(){if(!c)return null;var e=c.scrollSize,t=c.client,n=sl({scrollHeight:e.scrollHeight,scrollWidth:e.scrollWidth,height:t.paddingBox.height,width:t.paddingBox.width});return{pageMarginBox:c.page.marginBox,frameClient:t,scrollSize:e,shouldClipSubject:c.shouldClipSubject,scroll:{initial:c.scroll,current:c.scroll,max:n,diff:{value:Xo,displacement:Xo}}}}(),u="vertical"===i?Oi:Ei;return{descriptor:t,isCombineEnabled:r,isFixedOnPage:o,axis:u,isEnabled:n,client:a,page:l,frame:s,subject:li({page:l,withPlaceholder:null,axis:u,frame:s})}}({descriptor:n,isEnabled:!a,isCombineEnabled:l,isFixedOnPage:r.isFixedOnPage,direction:i,client:u,page:d,closest:p})},Vc={passive:!1},$c={passive:!0},Yc=function(e){return e.shouldPublishImmediately?Vc:$c};function Xc(e){var t=c(e);return t||zo(!1),t}var Jc=function(e){return e&&e.env.closestScrollable||null};function Kc(){}var Qc={width:0,height:0,margin:{top:0,right:0,bottom:0,left:0}},Zc=function(e){var t=e.isAnimatingOpenOnMount,n=e.placeholder,r=e.animate,o=function(e){var t=e.isAnimatingOpenOnMount,n=e.placeholder,r=e.animate;return t||"close"===r?Qc:{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:o.width,height:o.height,marginTop:o.margin.top,marginRight:o.margin.right,marginBottom:o.margin.bottom,marginLeft:o.margin.left,flexShrink:"0",flexGrow:"0",pointerEvents:"none",transition:"none"!==r?_a.placeholder:null}};var es=e.memo((function(t){var i=r(null),a=xo((function(){i.current&&(clearTimeout(i.current),i.current=null)}),[]),l=t.animate,c=t.onTransitionEnd,s=t.onClose,u=t.contextId,d=n("open"===t.animate),p=d[0],f=d[1];o((function(){return p?"open"!==l?(a(),f(!1),Kc):i.current?Kc:(i.current=setTimeout((function(){i.current=null,f(!1)})),a):Kc}),[l,p,a]);var g=xo((function(e){"height"===e.propertyName&&(c(),"close"===l&&s())}),[l,s,c]),b=Zc({isAnimatingOpenOnMount:p,animate:t.animate,placeholder:t.placeholder});return e.createElement(t.placeholder.tagName,{style:b,"data-rbd-placeholder-context-id":u,onTransitionEnd:g,ref:t.innerRef})})),ts=e.createContext(null),ns=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];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 Hn(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}(e.PureComponent),rs=5e3,os=4500,is=function(e,t){return t?_a.drop(t.duration):e?_a.snap:_a.fluid},as=function(e,t){return e?t?za.drop:za.combining:null};function ls(e){return"DRAGGING"===e.type?function(e){var t=e.dimension.client,n=e.offset,r=e.combineWith,o=e.dropping,i=Boolean(r),a=function(e){return null!=e.forceShouldAnimate?e.forceShouldAnimate:"SNAP"===e.mode}(e),l=Boolean(o),c=l?Ua(n,i):qa(n);return{position:"fixed",top:t.marginBox.top,left:t.marginBox.left,boxSizing:"border-box",width:t.borderBox.width,height:t.borderBox.height,transition:is(a,o),transform:c,opacity:as(i,l),zIndex:l?os:rs,pointerEvents:"none"}}(e):{transform:qa((t=e).offset),transition:t.shouldAnimateDisplacement?null:"none"};var t}function cs(e){var t=ic("draggable"),n=e.descriptor,o=e.registry,i=e.getDraggableRef,a=e.canDragInteractiveElements,l=e.shouldRespectForcePress,c=e.isEnabled,s=yo((function(){return{canDragInteractiveElements:a,shouldRespectForcePress:l,isEnabled:c}}),[a,c,l]),u=xo((function(e){var t=i();return t||zo(!1),function(e,t,n){void 0===n&&(n=Xo);var r=window.getComputedStyle(t),o=t.getBoundingClientRect(),i=Eo(o,r),a=Oo(i,n);return{descriptor:e,placeholder:{client:i,tagName:t.tagName.toLowerCase(),display:r.display},displaceBy:{x:i.marginBox.width,y:i.marginBox.height},client:i,page:a}}(n,t,e)}),[n,i]),d=yo((function(){return{uniqueId:t,descriptor:n,options:s,getDimension:u}}),[n,u,s,t]),p=r(d),f=r(!0);Vl((function(){return o.draggable.register(p.current),function(){return o.draggable.unregister(p.current)}}),[o.draggable]),Vl((function(){if(f.current)f.current=!1;else{var e=p.current;p.current=d,o.draggable.update(d,e)}}),[d,o.draggable])}function ss(e){e.preventDefault()}var us=function(e,t){return e===t},ds=function(e){var t=e.combine,n=e.destination;return n?n.droppableId:t?t.droppableId:null};function ps(e){return{isDragging:!1,isDropAnimating:!1,isClone:!1,dropAnimation:null,mode:null,draggingOver:null,combineTargetFor:e,combineWith:null}}var fs={mapped:{type:"SECONDARY",offset:Xo,combineTargetFor:null,shouldAnimateDisplacement:!0,snapshot:ps(null)}};var gs=mo((function(){var e,t,n,r=(e=Bo((function(e,t){return{x:e,y:t}})),t=Bo((function(e,t,n,r,o){return{isDragging:!0,isClone:t,isDropAnimating:Boolean(o),dropAnimation:o,mode:e,draggingOver:n,combineWith:r,combineTargetFor:null}})),n=Bo((function(e,n,r,o,i,a,l){return{mapped:{type:"DRAGGING",dropping:null,draggingOver:i,combineWith:a,mode:n,offset:e,dimension:r,forceShouldAnimate:l,snapshot:t(n,o,i,a,null)}}})),function(r,o){if(r.isDragging){if(r.critical.draggable.id!==o.draggableId)return null;var i=r.current.client.offset,a=r.dimensions.draggables[o.draggableId],l=oa(r.impact),c=(u=r.impact).at&&"COMBINE"===u.at.type?u.at.combine.draggableId:null,s=r.forceShouldAnimate;return n(e(i.x,i.y),r.movementMode,a,o.isClone,l,c,s)}var u;if("DROP_ANIMATING"===r.phase){var d=r.completed;if(d.result.draggableId!==o.draggableId)return null;var p=o.isClone,f=r.dimensions.draggables[o.draggableId],g=d.result,b=g.mode,h=ds(g),m=function(e){return e.combine?e.combine.draggableId:null}(g),v={duration:r.dropDuration,curve:ja,moveTo:r.newHomeClientOffset,opacity:m?za.drop:null,scale:m?Ha.drop:null};return{mapped:{type:"DRAGGING",offset:r.newHomeClientOffset,dimension:f,dropping:v,draggingOver:h,combineWith:m,mode:b,forceShouldAnimate:null,snapshot:t(b,p,h,m,v)}}}return null}),o=function(){var e=Bo((function(e,t){return{x:e,y:t}})),t=Bo(ps),n=Bo((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(Xo,e,!0):null},o=function(t,o,i,a){var l=i.displaced.visible[t],c=Boolean(a.inVirtualList&&a.effected[t]),s=yi(i),u=s&&s.draggableId===t?o:null;if(!l){if(!c)return r(u);if(i.displaced.invisible[t])return null;var d=Zo(a.displacedBy.point),p=e(d.x,d.y);return n(p,u,!0)}if(c)return r(u);var f=i.displacedBy.point,g=e(f.x,f.y);return n(g,u,l.shouldAnimate)};return function(e,t){if(e.isDragging)return e.critical.draggable.id===t.draggableId?null:o(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:o(t.draggableId,n.result.draggableId,n.impact,n.afterCritical)}return null}}();return function(e,t){return r(e,t)||o(e,t)||fs}}),{dropAnimationFinished:Fa},null,{context:ec,pure:!0,areStatePropsEqual:us})((function(e){var t=r(null),n=xo((function(e){t.current=e}),[]),o=xo((function(){return t.current}),[]),i=Xc(ac),a=i.contextId,l=i.dragHandleUsageInstructionsId,c=i.registry,s=Xc(ts),u=s.type,d=s.droppableId,p=yo((function(){return{id:e.draggableId,index:e.index,type:u,droppableId:d}}),[e.draggableId,e.index,u,d]),f=e.children,g=e.draggableId,b=e.isEnabled,h=e.shouldRespectForcePress,m=e.canDragInteractiveElements,v=e.isClone,y=e.mapped,x=e.dropAnimationFinished;v||cs(yo((function(){return{descriptor:p,registry:c,getDraggableRef:o,canDragInteractiveElements:m,shouldRespectForcePress:h,isEnabled:b}}),[p,c,o,m,h,b]));var w=yo((function(){return b?{tabIndex:0,role:"button","aria-describedby":l,"data-rbd-drag-handle-draggable-id":g,"data-rbd-drag-handle-context-id":a,draggable:!1,onDragStart:ss}:null}),[a,l,g,b]),C=xo((function(e){"DRAGGING"===y.type&&y.dropping&&"transform"===e.propertyName&&x()}),[x,y]),I=yo((function(){var e=ls(y),t="DRAGGING"===y.type&&y.dropping?C:null;return{innerRef:n,draggableProps:{"data-rbd-draggable-context-id":a,"data-rbd-draggable-id":g,style:e,onTransitionEnd:t},dragHandleProps:w}}),[a,w,g,y,C,n]),P=yo((function(){return{draggableId:p.id,type:p.type,source:{index:p.index,droppableId:p.droppableId}}}),[p.droppableId,p.id,p.index,p.type]);return f(I,y.snapshot,P)}));function bs(t){return Xc(ts).isUsingCloneFor!==t.draggableId||t.isClone?e.createElement(gs,t):null}function hs(t){var n="boolean"!=typeof t.isDragDisabled||!t.isDragDisabled,r=Boolean(t.disableInteractiveElementBlocking),o=Boolean(t.shouldRespectForcePress);return e.createElement(bs,Gn({},t,{isClone:!1,isEnabled:n,canDragInteractiveElements:r,shouldRespectForcePress:o}))}var ms=function(e,t){return e===t.droppable.type},vs=function(e,t){return t.draggables[e.draggable.id]};var ys={mode:"standard",type:"DEFAULT",direction:"vertical",isDropDisabled:!1,isCombineEnabled:!1,ignoreContainerClipping:!1,renderClone:null,getContainerForClone:function(){return document.body||zo(!1),document.body}},xs=mo((function(){var e={placeholder:null,shouldAnimatePlaceholder:!0,snapshot:{isDraggingOver:!1,draggingOverWith:null,draggingFromThisWith:null,isUsingPlaceholder:!1},useClone:null},t=Gn({},e,{shouldAnimatePlaceholder:!1}),n=Bo((function(e){return{draggableId:e.id,type:e.type,source:{index:e.index,droppableId:e.droppableId}}})),r=Bo((function(r,o,i,a,l,c){var s=l.descriptor.id;if(l.descriptor.droppableId===r){var u=c?{render:c,dragging:n(l.descriptor)}:null,d={isDraggingOver:i,draggingOverWith:i?s:null,draggingFromThisWith:s,isUsingPlaceholder:!0};return{placeholder:l.placeholder,shouldAnimatePlaceholder:!1,snapshot:d,useClone:u}}if(!o)return t;if(!a)return e;var p={isDraggingOver:i,draggingOverWith:s,draggingFromThisWith:null,isUsingPlaceholder:!0};return{placeholder:l.placeholder,shouldAnimatePlaceholder:!0,snapshot:p,useClone:null}}));return function(n,o){var i=o.droppableId,a=o.type,l=!o.isDropDisabled,c=o.renderClone;if(n.isDragging){var s=n.critical;if(!ms(a,s))return t;var u=vs(s,n.dimensions),d=oa(n.impact)===i;return r(i,l,d,d,u,c)}if("DROP_ANIMATING"===n.phase){var p=n.completed;if(!ms(a,p.critical))return t;var f=vs(p.critical,n.dimensions);return r(i,l,ds(p.result)===i,oa(p.impact)===i,f,c)}if("IDLE"===n.phase&&n.completed&&!n.shouldFlush){var g=n.completed;if(!ms(a,g.critical))return t;var b=oa(g.impact)===i,h=Boolean(g.impact.at&&"COMBINE"===g.impact.at.type),m=g.critical.droppable.id===i;return b?h?e:t:m?e:t}return t}}),{updateViewportMaxScroll:function(e){return{type:"UPDATE_VIEWPORT_MAX_SCROLL",payload:e}}},null,{context:ec,pure:!0,areStatePropsEqual:us})((function(t){var n=c(ac);n||zo(!1);var o=n.contextId,i=n.isMovementAllowed,a=r(null),l=r(null),s=t.children,u=t.droppableId,d=t.type,p=t.mode,f=t.direction,g=t.ignoreContainerClipping,b=t.isDropDisabled,h=t.isCombineEnabled,v=t.snapshot,y=t.useClone,x=t.updateViewportMaxScroll,w=t.getContainerForClone,C=xo((function(){return a.current}),[]),I=xo((function(e){a.current=e}),[]),P=(xo((function(){return l.current}),[]),xo((function(e){l.current=e}),[])),k=xo((function(){i()&&x({maxScroll:dl()})}),[i,x]);!function(e){var t=r(null),n=Xc(ac),o=ic("droppable"),i=n.registry,a=n.marshal,l=lc(e),c=yo((function(){return{id:e.droppableId,type:e.type,mode:e.mode}}),[e.droppableId,e.mode,e.type]),s=r(c),u=yo((function(){return Bo((function(e,n){t.current||zo(!1);var r={x:e,y:n};a.updateDroppableScroll(c.id,r)}))}),[c.id,a]),d=xo((function(){var e=t.current;return e&&e.env.closestScrollable?_c(e.env.closestScrollable):Xo}),[]),p=xo((function(){var e=d();u(e.x,e.y)}),[d,u]),f=yo((function(){return To(p)}),[p]),g=xo((function(){var e=t.current,n=Jc(e);e&&n||zo(!1),e.scrollOptions.shouldPublishImmediately?p():f()}),[f,p]),b=xo((function(e,r){t.current&&zo(!1);var o=l.current,i=o.getDroppableRef();i||zo(!1);var a=qc(i),s={ref:i,descriptor:c,env:a,scrollOptions:r};t.current=s;var u=Uc({ref:i,descriptor:c,env:a,windowScroll:e,direction:o.direction,isDropDisabled:o.isDropDisabled,isCombineEnabled:o.isCombineEnabled,shouldClipSubject:!o.ignoreContainerClipping}),d=a.closestScrollable;return d&&(d.setAttribute(ql.contextId,n.contextId),d.addEventListener("scroll",g,Yc(s.scrollOptions))),u}),[n.contextId,c,g,l]),h=xo((function(){var e=t.current,n=Jc(e);return e&&n||zo(!1),_c(n)}),[]),m=xo((function(){var e=t.current;e||zo(!1);var n=Jc(e);t.current=null,n&&(f.cancel(),n.removeAttribute(ql.contextId),n.removeEventListener("scroll",g,Yc(e.scrollOptions)))}),[g,f]),v=xo((function(e){var n=t.current;n||zo(!1);var r=Jc(n);r||zo(!1),r.scrollTop+=e.y,r.scrollLeft+=e.x}),[]),y=yo((function(){return{getDimensionAndWatchScroll:b,getScrollWhileDragging:h,dragStopped:m,scroll:v}}),[m,b,h,v]),x=yo((function(){return{uniqueId:o,descriptor:c,callbacks:y}}),[y,c,o]);Vl((function(){return s.current=x.descriptor,i.droppable.register(x),function(){t.current&&m(),i.droppable.unregister(x)}}),[y,c,m,x,a,i.droppable]),Vl((function(){t.current&&a.updateDroppableIsEnabled(s.current.id,!e.isDropDisabled)}),[e.isDropDisabled,a]),Vl((function(){t.current&&a.updateDroppableIsCombineEnabled(s.current.id,e.isCombineEnabled)}),[e.isCombineEnabled,a])}({droppableId:u,type:d,mode:p,direction:f,isDropDisabled:b,isCombineEnabled:h,ignoreContainerClipping:g,getDroppableRef:C});var S=e.createElement(ns,{on:t.placeholder,shouldAnimate:t.shouldAnimatePlaceholder},(function(t){var n=t.onClose,r=t.data,i=t.animate;return e.createElement(es,{placeholder:r,onClose:n,innerRef:P,animate:i,contextId:o,onTransitionEnd:k})})),D=yo((function(){return{innerRef:I,placeholder:S,droppableProps:{"data-rbd-droppable-id":u,"data-rbd-droppable-context-id":o}}}),[o,u,S,I]),O=y?y.dragging.draggableId:null,E=yo((function(){return{droppableId:u,type:d,isUsingCloneFor:O}}),[u,O,d]);return e.createElement(ts.Provider,{value:E},s(D,v),function(){if(!y)return null;var t=y.dragging,n=y.render,r=e.createElement(bs,{draggableId:t.draggableId,index:t.source.index,isClone:!0,isEnabled:!0,shouldRespectForcePress:!1,canDragInteractiveElements:!0},(function(e,r){return n(e,r,t)}));return m.createPortal(r,w())}())}));xs.defaultProps=ys;var ws=function(e){var t=e.gap,r=void 0===t?0:t,i=e.id,a=e.items,l=e.onDrop,c=e.template,s=void 0===c?function(e){var t=e.Handle,n=e.item;return d(t,null,n.toString())}:c,u=O(n(),2),p=u[0],f=u[1],g=O(n(E(a)),2),h=g[0],m=g[1];o((function(){m(E(a))}),[a]);var v=function(e,t,n){var r=document.querySelector("[data-rbd-draggable-id='".concat(n,"']"));if(r){var o=r.clientHeight,i=r.clientWidth,a=r.parentElement,l=parseFloat(window.getComputedStyle(a).paddingTop),c=E(Array.from(a.children));c.splice(e,1);var s=[].concat(E(c.slice(0,t)),[r],E(c.slice(t+1)));f({height:o,left:parseFloat(window.getComputedStyle(a).paddingLeft),top:l+s.slice(0,t).reduce((function(e,t){var n=window.getComputedStyle(t),r=parseFloat(n.marginBottom);return e+t.clientHeight+r}),0),width:i})}},y=b(Ss),x=function(e,t){return d(hs,{key:a.indexOf(e),draggableId:a.indexOf(e).toString(),index:t},(function(n,o){var i=n.dragHandleProps,a=n.draggableProps,l=n.innerRef;return d("li",k({ref:l},a,{css:we([y.item,t<h.length-1&&{marginBottom:r}],"")}),s({item:e,Handle:function(e){var t=e.children,n=e.positionType,r=void 0===n?"relative":n,a=e.position,l=void 0===a?{}:a;return d("div",k({},i,{css:we([y.handle,C({position:r},l),o.isDragging&&y.handleGrabbing],"")}),t)},index:t,sortedItems:E(h)}))}))};return d(Nc,{onDragEnd:function(e){var t=e.destination,n=e.source;if(f(void 0),t){var r=E(h),o=r[n.index];r.splice(n.index,1),r.splice(t.index,0,o),G(l)&&l(r),m(r)}},onDragStart:function(e){var t=e.draggableId,n=e.source;v(n.index,n.index,t)},onDragUpdate:function(e){var t=e.destination,n=e.draggableId,r=e.source;t&&v(r.index,t.index,n)}},d(xs,{droppableId:"DragAndDropListDropZone"},(function(e,t){var n=e.droppableProps,r=e.innerRef,o=e.placeholder;return d("ul",k({ref:r},n,{css:we([y.list,t.isDraggingOver&&y.listDragging],";label:DragAndDropList;"),id:i}),h.map(x),o,p&&t.isDraggingOver&&d("div",{css:we([y.placeholder,p],";label:DragAndDropList;")}))})))},Cs={name:"plujqr-handle",styles:"cursor:grab;;label:handle;"},Is={name:"1gjdiq0-handleGrabbing",styles:"cursor:grabbing;;label:handleGrabbing;"},Ps={name:"auc0xb-item",styles:"position:relative;;label:item;"},ks={name:"1va2zj6-listDragging",styles:"user-select:none;;label:listDragging;"},Ss=function(e){var t=e.colorPalette;return{handle:Cs,handleGrabbing:Is,item:Ps,list:u(Ce,";list-style:none;margin:0;padding:0;position:relative;;label:list;",";label:list;"),listDragging:ks,placeholder:u("border:2px dashed ",t.secondary,";border-radius:",le.borderRadius,";position:absolute;;label:placeholder;",";label:placeholder;")}};function Ds(){return(Ds=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var Os=t("path",{d:"M9.167 12.5h1.666v1.667H9.167V12.5zm0-6.667h1.666v5H9.167v-5zm.825-4.166c-4.6 0-8.325 3.733-8.325 8.333s3.725 8.333 8.325 8.333c4.608 0 8.341-3.733 8.341-8.333S14.6 1.667 9.992 1.667zm.008 15A6.665 6.665 0 013.333 10 6.665 6.665 0 0110 3.333 6.665 6.665 0 0116.667 10 6.665 6.665 0 0110 16.667z",fill:"currentColor"});function Es(e){return t("svg",Ds({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Os)}var As=function(t){var r=t.disabled,i=t.gridArea,a=t.icon,l=t.id,c=t.invalid,s=t.label,p=t.maxCharacters,f=t.name,g=t.onBlur,m=t.onChange,v=t.onFocus,y=t.placeholder,x=t.readonly,w=t.required,C=t.validationMessage,I=t.validationPattern,P=t.value,S=void 0===P?"":P,D=t.width,E=O(n(S),2),A=E[0],M=E[1],L=O(n(),2),B=L[0],T=L[1],R=O(h(),1)[0].colorPalette;o((function(){S!==A&&M(S)}),[S]),o((function(){if(a&&U(e.createElement(a)))T("\n #fff\n ".concat($(e.createElement(a,{color:R.fontLight})),"\n center left 6px / 20px\n no-repeat\n "));else if(a)throw new Error("Icon must be a valid SVGComponent")}),[a]);var N="\n ".concat($(d(Es,{color:R.error})),"\n center right 6px / 20px\n no-repeat;\n "),F="".concat(a?B:"").concat(a&&c?", ":"").concat(c?N:""),j="".concat(a?B:"").concat(a?", ":"").concat(N),z=b(Ms).errorStyle,H=b(Bs);return d("label",{css:we([H.label,i&&{gridArea:i},D&&{width:D}],";label:Input;"),"data-max-count":p},s,d("input",k({id:l,type:"text",css:we([Ie,H.input,a&&H.inputWithIcon,c&&z,u("background:",F,";&:invalid{background:",j,";",z,"};label:Input;",";label:Input;")],";label:Input;"),maxLength:p,name:f,value:A,pattern:I,placeholder:y,onBlur:function(e){var t=e.relatedTarget;G(g)&&g(t)},onChange:function(e){var t=e.target,n=t.value;C&&t.setCustomValidity(""),M(n),C&&!t.checkValidity()&&(t.setCustomValidity(C),t.reportValidity()),G(m)&&m(n)},onFocus:v,disabled:r,readOnly:x,required:w},x?{tabIndex:-1}:{})))},Ms=function(e){var t=e.colorPalette;return{errorStyle:u("border-color:",t.error,";padding-right:35px;;label:errorStyle;",";label:errorStyle;")}},Ls={name:"23fzc7-inputWithIcon",styles:"padding-left:35px;;label:inputWithIcon;"},Bs=function(e){var t=e.colorPalette;return{input:u("background-color:#fff;border:1px solid ",t.border,";border-radius:",le.borderRadius,";font-family:'Montserrat',sans-serif;font-size:14px;height:30px;line-height:20px;max-width:100%;outline:none;padding:5px 10px;transition:border-color 0.05s linear,padding 0.05s linear;width:100%;&:disabled{background-color:",t.neutral,";color:",t.fontLight,";cursor:not-allowed;}&:focus{border-color:",t.primary,";}&:read-only{background-image:none;background-color:transparent;border-color:transparent;overflow:hidden;padding-left:0;padding-right:0;pointer-events:none;text-overflow:ellipsis;white-space:nowrap;}&::placeholder{color:",t.fontLight,";};label:input;",";label:input;"),inputWithIcon:Ls,label:u(Ce,";color:",t.font,";display:inline-flex;flex-direction:column;font-family:'Montserrat',sans-serif;font-size:12px;line-height:20px;;label:label;",";label:label;")}},Ts=function(e){var t=e.breadcrumb,n=e.children,r=e.href,o=e.id,i=b(Rs);return d("a",{href:r,css:we([i.link,t&&i.withBreadcrumb],";label:Link;"),id:o},n||r)},Rs=function(e){var t=e.colorPalette;return{link:u("color:",t.primaryDark,";font-family:'Montserrat',sans-serif;font-size:14px;font-weight:500;line-height:20px;;label:link;",";label:link;"),withBreadcrumb:u("color:",t.fontLight,";margin-right:40px;text-decoration:none;position:relative;&:not(:last-of-type)::after{background-image:",$(d(re,{color:t.fontLight})),";background-repeat:no-repeat;background-size:contain;bottom:5px;content:'';height:20px;margin-bottom:-6px;margin-left:10px;position:absolute;right:-30px;width:20px;}&:hover{border-bottom:1px solid ",t.fontLight,";};label:withBreadcrumb;",";label:withBreadcrumb;")}};var Ns=function(e){var t=e.gridArea,n=e.id,r=e.label,o=e.readonly,i=e.value,a=S(e,["gridArea","id","label","readonly","value"]),l=b(js);return o?d("label",{css:we([l.label,t&&{gridArea:t}],";label:Email;"),id:n},d("span",{css:l.labelText},r),d(Ts,{href:"mailto:".concat(i)},i)):d(As,k({gridArea:t,label:r,value:i},a))},Fs={name:"7uvzgp-labelText",styles:"margin-bottom:5px;;label:labelText;"},js=function(e){var t=e.colorPalette;return{label:u(Ce,";color:",t.font,";display:inline-flex;flex-direction:column;font-family:'Montserrat',sans-serif;font-size:12px;line-height:20px;;label:label;",";label:label;"),labelText:Fs}};function zs(){return(zs=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var Hs=t("path",{d:"M15.25 4.758a.83.83 0 00-1.175 0L10 8.825 5.925 4.75A.83.83 0 104.75 5.925L8.825 10 4.75 14.075a.83.83 0 101.175 1.175L10 11.175l4.075 4.075a.83.83 0 101.175-1.175L11.175 10l4.075-4.075a.835.835 0 000-1.167z",fill:"currentColor"});function Gs(e){return t("svg",zs({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Hs)}function _s(){return(_s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var Ws=t("path",{d:"M16.125 8.367A6.242 6.242 0 0010 3.333 6.246 6.246 0 004.458 6.7 4.995 4.995 0 000 11.667c0 2.758 2.242 5 5 5h10.833c2.3 0 4.167-1.867 4.167-4.167 0-2.2-1.708-3.983-3.875-4.133zM15.833 15H5a3.332 3.332 0 01-3.333-3.333 3.311 3.311 0 012.966-3.309l.892-.091.417-.792A4.557 4.557 0 0110 5a4.586 4.586 0 014.492 3.692l.25 1.25 1.275.091a2.483 2.483 0 012.316 2.467c0 1.375-1.125 2.5-2.5 2.5zm-9.166-4.167h2.125v2.5h2.416v-2.5h2.125L10 7.5l-3.333 3.333z",fill:"currentColor"});function qs(e){return t("svg",_s({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Ws)}var Us=[" bytes","kB","MB","GB","TB"],Vs=function(t){var r=t.files,i=void 0===r?[]:r,a=t.height,l=t.id,c=t.max,s=t.multiple,u=t.onError,p=t.onSelect,f=t.placeholderDescription,g=void 0===f?"Drag ".concat(s?"files":"a file"," here or click to select"):f,m=t.placeholderTitle,v=t.validExtensions,y=t.validTypes,x=t.width,w=void 0===x?"100%":x,C=O(h(),1)[0].colorPalette,I=O(n(i),2),P=I[0],k=I[1],S=O(n(!1),2),D=S[0],A=S[1],M=O(n(!0),2),L=M[0],B=M[1];o((function(){k(i)}),[i&&i.length]),o((function(){P!==i&&G(p)&&p(P)}),[P]);var T=function(e){return s?void 0===c||e<=c:e<=1},R=function(e){var t=[].concat(E(s?P:[]),E(e)),n=t.length,r=[],o=[],i=[];T(n)?(t.forEach((function(e){var t=!i.some((function(t){return r=e,(n=t).name===r.name&&n.type===r.type&&n.size===r.size&&n.lastModified===r.lastModified;var n,r})),n=function(e){var t=e.name,n=t.substr(t.lastIndexOf("."));return void 0===v||v.includes(n)}(e),a=function(e){var t=e.type;return void 0===y||y.includes(t)}(e);t&&n&&a&&i.push(e),n||r.push(e),a||o.push(e)})),k(i)):G(u)&&u([{code:"MAX_FILES_EXCEEDED",details:{maxCount:c||1,selectedCount:n}}]),(r.length||o.length)&&G(u)&&u([r.length&&{code:"INVALID_FILE_EXTENSION",details:{files:r}},o.length&&{code:"INVALID_FILE_TYPE",details:{files:o}}].filter((function(e){return e})))},N=function(e){return function(t){V(t.nativeEvent),k((function(t){return t.filter((function(t){return t!==e}))}))}},F=b(Xs);return d("label",{css:we([F.container,a&&{height:a},D&&{borderColor:L?C.primary:C.error},w&&{width:w}],";label:FileInput;"),id:l,onDragEnter:function(e){var t=e.dataTransfer.items.length;V(e.nativeEvent),A(!0),B(T(t+P.length))},onDragLeave:function(e){V(e.nativeEvent),A(!1)},onDragOver:function(e){V(e.nativeEvent)},onDrop:function(e){var t=Array.from(e.dataTransfer.files);V(e),R(t),A(!1)}},d("input",{type:"file",value:"",multiple:s,css:le.visiblyHidden,onChange:function(e){var t=Array.from(e.currentTarget.files);R(t)}}),d(qs,{css:F.uploadIcon}),P.length?d("ul",{css:F.fileList},P.map((function(e){var t=e.lastModified,n=e.name,r=e.size,o=Math.floor(Math.log(r)/Math.log(1024)),i=(r/Math.pow(1024,o)).toFixed(2),a=r>0?"".concat(i).concat(Us[o]):"0 bytes";return d("li",{key:"".concat(n,"_").concat(t),css:F.fileListItem},d("h4",{css:F.title},n),d("span",{css:F.fileSize},a),d(Gs,{css:F.removeIcon,onClick:N(e)}))}))):d(e.Fragment,null,m&&d("h4",{css:F.title},m),g&&d("p",{css:F.description},g)))},$s={name:"a62av5-fileList",styles:"display:inline-flex;flex-direction:column;list-style:none;margin:0;padding:0;width:min-content;;label:fileList;"},Ys={name:"13m0fqq-fileListItem",styles:"display:inline-flex;flex-direction:column;justify-content:center;padding-right:30px;position:relative;&:not(:last-of-type){margin-bottom:10px;};label:fileListItem;"},Xs=function(e){var t=e.colorPalette;return{container:u(Ce,";border:1px dashed ",t.border,";border-radius:",le.borderRadius,";cursor:pointer;display:flex;flex-direction:column;font-family:'Montserrat',sans-serif;font-size:14px;justify-content:center;line-height:20px;min-height:60px;padding:10px 10px 10px 40px;position:relative;transition:border-color 0.1s linear;& > *{pointer-events:none;}&:hover{border-color:",t.fontLight,";};label:container;",";label:container;"),description:u("color:",t.fontLight,";margin:0;;label:description;",";label:description;"),documentIcon:u("color:",t.fontLight,";width:20px;;label:documentIcon;",";label:documentIcon;"),fileList:$s,fileListItem:Ys,fileSize:u("color:",t.fontLight,";font-size:12px;;label:fileSize;",";label:fileSize;"),removeIcon:u("color:",t.fontLight,";height:18px;pointer-events:all;position:absolute;right:0;top:1px;transition:color 0.1s linear;&:hover{color:",t.error,";};label:removeIcon;",";label:removeIcon;"),title:u("color:",t.font,";font-weight:normal;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;;label:title;",";label:title;"),uploadIcon:u("color:",t.fontLight,";height:20px;left:10px;position:absolute;top:50%;transform:translateY(-50%);;label:uploadIcon;",";label:uploadIcon;")}};function Js(){return(Js=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var Ks=t("path",{opacity:.4,d:"M50.74 68.314L8.455 56.983c-3.017-.809-4.562-4.155-3.222-6.976l21.62-45.491a5 5 0 016.662-2.37l45.998 21.86c2.824 1.343 3.737 4.918 1.903 7.45L56.081 66.418a5 5 0 01-5.343 1.896z",fill:"#B0C600"}),Qs=t("path",{opacity:.4,d:"M0 38.726V26.507a5 5 0 014.079-4.914l53.991-10.12a5 5 0 014.381 1.305l26.221 25.134a5 5 0 011.256 5.272l-3.187 9.044a5 5 0 01-3.312 3.137l-50.593 14.8a5 5 0 01-4.953-1.278L1.45 42.247A5 5 0 010 38.728z",fill:"#47BAD1"}),Zs=t("path",{opacity:.8,d:"M53.75 46h-1.975l-.7-.675A16.178 16.178 0 0055 34.75c0-8.975-7.275-16.25-16.25-16.25S22.5 25.775 22.5 34.75 29.775 51 38.75 51c4.025 0 7.725-1.475 10.575-3.925l.675.7v1.975l12.288 12.263a.3.3 0 00.424 0l3.301-3.301a.3.3 0 000-.424L53.75 46zm-15 0A11.235 11.235 0 0127.5 34.75c0-6.225 5.025-11.25 11.25-11.25S50 28.525 50 34.75 44.975 46 38.75 46z",fill:"#fff"});function eu(e){return t("svg",Js({viewBox:"0 0 91 83",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Ks,Qs,Zs)}var tu=function(t){var i=t.expanded,l=t.filter,c=void 0===l||l,s=t.icon,u=t.id,p=t.label,f=t.loading,g=t.maxHeight,m=void 0===g?"150px":g,v=t.noMatchesMessage,y=void 0===v?"No matches were found":v,x=t.onChange,w=t.onFilter,C=t.optionKeyExtractor,I=t.optionTemplate,P=void 0===I?function(t){var n=t.option;return d(e.Fragment,null,n)}:I,k=t.options,S=t.placeholder,D=t.value,A=void 0===D?"":D,M=O(h(),1)[0].colorPalette;if(!q(k)&&!W(k)&&!C)throw new Error("You must specify a keyExtractor if the options array contains non-primitive entry types");var L=r(),B=r(),T=O(n(A),2),R=T[0],N=T[1],F=O(n(0),2),z=F[0],H=F[1],U=O(n(0),2),V=U[0],Y=U[1],X=O(n("below"),2),J=X[0],K=X[1],Q=O(n(0),2),Z=Q[0],ee=Q[1],te=O(n(E(k)),2),ne=te[0],re=te[1],oe=O(n(),2),ie=oe[0],ae=oe[1],le=O(n([]),2),ce=le[0],se=le[1],ue=O(n(1),2),de=ue[0],pe=ue[1],fe=a((function(){return s&&$(e.createElement(s,{color:M.fontLight}))}),[s]);o((function(){var e;(function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return e.length===t.length&&e.every((function(e,r){return n?t[r]===e:t.includes(e)}))})(e=c&&R?k.filter((function(e,t){return me(e,t).toString().toLowerCase().includes(R.toLowerCase())})):E(k),ne)||(G(w)&&w(e),re(e))}),[R,c,k]),o((function(){!ie||k.length||R||be(),L.current.querySelector('input[type="text"]')===document.activeElement&&he()}),[R,k]),o((function(){i!==ie&&(i?he():be())}),[i]),o((function(){A!==R&&N(A)}),[A]),o((function(){return ie?(document.addEventListener("scroll",be,!0),window.addEventListener("click",ge),window.addEventListener("resize",be)):(document.removeEventListener("scroll",be,!0),window.removeEventListener("click",ge),window.removeEventListener("resize",be)),function(){document.removeEventListener("scroll",be,!0),window.removeEventListener("click",ge),window.removeEventListener("resize",be)}}),[ie]),o((function(){pe(1)}),[ne]),o((function(){se((function(e){var t=50*de-50,n=t+50;return[].concat(E(de>1?e:[]),E(ne.slice(t,n).map(Ce)))}))}),[ne,de]);var ge=function(e){var t=e.target;t===L.current||L.current.contains(t)||be()},be=function(){B.current===document.activeElement&&L.current.querySelector('input[type="text"]').focus(),ae(!1),pe(1)},he=function(){var e=k.length>0||!!R;if(!ie&&e){var t=L.current.getBoundingClientRect(),n=t.top+t.height,r=parseInt(m),o=window.innerHeight-n,i="below";if(o<r){var a=t.top;(a>r||a>o)&&(i="above")}"below"===i?(H(Math.min(r,window.innerHeight-n)),Y(t.top+L.current.querySelector('input[type="text"]').offsetTop)):(H(Math.min(r,t.top)),Y(window.innerHeight-n)),K(i),ee(t.width),ae(!0)}},me=function(e,t){return _(e)?e.key:j(e,C,t)},ve=function(e){var t="string"==typeof e?e:e.currentTarget.value;G(x)&&x(t),N(t)},ye=b(uu),xe=function(){return d("input",{ref:B,css:we([ye.listInput,fe&&[ye.listInputWithIcon,{backgroundImage:fe}]],""),autoFocus:!0,onChange:ve,placeholder:S,value:R})},Ce=function(e){var t=k.indexOf(e);return d("li",{key:me(e,t)},P({option:e,index:t,filteredOptions:E(ne)}))};return d("div",{ref:L,css:ye.container,id:u,onClick:function(e){var t=e.target;ie||t!==L.current.querySelector('input[type="text"]')||t!==document.activeElement||he()}},d(As,{icon:s,label:p,onChange:ve,onFocus:he,placeholder:S,value:R}),ie&&d("div",{css:we([ye.expandedContainer,"above"===J?[ye.expandedContainerAbove,{bottom:V}]:{top:V},{width:Z}],";label:FilterList;")},"below"===J&&xe(),d(Gs,{css:we([ye.clearIcon,"above"===J&&ye.clearIconAbove],";label:FilterList;"),onClick:function(){N(""),B.current.focus()}}),d("ul",{css:we([ye.list,{maxHeight:z}],";label:FilterList;"),onScroll:function(e){var t=e.target;e.nativeEvent.stopImmediatePropagation(),t.scrollTop+2*t.clientHeight>t.scrollHeight&&50*de-1<=ne.length&&pe((function(e){return e+1}))}},ne.length?ce:d("li",{css:ye.noResults},d(eu,{css:ye.noResultsIcon}),y)),"above"===J&&xe(),f&&d("div",{css:we([ye.loading,"above"===J&&ye.loadingAbove,{maxHeight:z}],";label:FilterList;")},d(He,null))))},nu={name:"8mr58g-clearIconAbove",styles:"bottom:0;top:auto;;label:clearIconAbove;"},ru={name:"1pshix3-expandedContainerAbove",styles:"&::before{bottom:30px;top:auto;};label:expandedContainerAbove;"},ou={name:"4v9qyp-listInput",styles:"background:center left 6px / 20px no-repeat;border:none;font-family:'Montserrat',sans-serif;font-size:14px;line-height:20px;outline:none;padding:5px 35px 5px 10px;width:100%;;label:listInput;"},iu={name:"13brmid-listInputWithIcon",styles:"padding-left:35px;;label:listInputWithIcon;"},au={name:"1dxhoae-loading",styles:"align-items:center;background-color:rgba(255,255,255,0.75);bottom:0;display:flex;height:100%;justify-content:center;left:0;position:absolute;right:0;;label:loading;"},lu={name:"1gwuorm-loadingAbove",styles:"bottom:auto;top:0;;label:loadingAbove;"},cu={name:"1ia5o60-noResults",styles:"align-items:center;display:flex;flex-direction:column;justify-content:center;padding:10px 0;;label:noResults;"},su={name:"dngeaz-noResultsIcon",styles:"width:91px;;label:noResultsIcon;"},uu=function(e){var t=e.colorPalette;return{clearIcon:u("color:",t.fontLight,";cursor:pointer;height:30px;padding:5px;position:absolute;right:0;top:0;&:hover{color:",t.font,";};label:clearIcon;",";label:clearIcon;"),clearIconAbove:nu,container:u(Ce,";display:inline-block;font-family:'Montserrat',sans-serif;font-size:12px;line-height:20px;position:relative;& > label{width:100%;};label:container;",";label:container;"),expandedContainer:u("background-color:#fff;border:1px solid ",t.border,";border-radius:",le.borderRadius,";box-shadow:",le.dropShadow,";position:fixed;z-index:1;&::before{border-bottom:1px solid ",t.border,";content:'';left:8px;position:absolute;right:8px;top:30px;};label:expandedContainer;",";label:expandedContainer;"),expandedContainerAbove:ru,list:u(le.scrollbar,";list-style:none;margin:2px 0 1px;overflow-y:scroll;padding:8px 10px 9px;;label:list;",";label:list;"),listInput:ou,listInputWithIcon:iu,loading:au,loadingAbove:lu,noResults:cu,noResultsIcon:su}};var du=function(e){var t=e.children,n=e.clearButton,r=void 0===n?"Clear":n,o=e.clearId,i=e.id,a=e.onClear,l=e.onSubmit,c=e.otherActions,s=e.submitButton,u=void 0===s?"Submit":s,p=e.submitId,f=e.width;return d("form",{css:we({width:f},";label:Form;"),id:i,onReset:function(e){e.preventDefault(),G(a)&&a()},onSubmit:function(e){e.preventDefault(),G(l)&&l()}},t,d("section",{css:pu.controls},r&&d(dt,{buttonType:"reset",id:o,label:r}),d("div",{css:pu.submit},u&&d(Dt,{buttonType:"submit",id:p,label:u})),c&&d(Sn,{options:c})))},pu={controls:{name:"1owqgay-controls",styles:"display:flex;justify-content:space-between;margin-top:30px;;label:controls;"},submit:{name:"czqod0-submit",styles:"margin-left:auto;&:not(:last-of-type){margin-right:5px;};label:submit;"}};function fu(){return(fu=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var gu=t("path",{d:"M27.565 14.13c-.134-10.058-10.33-8.59-11.991-8.283a.203.203 0 00-.156.262l2.16 6.588c.1.303.417.479.726.4 5.147-1.298 8.369.613 9.102 1.118a.101.101 0 00.16-.085",fill:"#BDBCBC"}),bu=t("path",{d:"M27.858 14.13C27.992 4.072 38.19 5.54 39.85 5.848c.121.022.194.145.123.363l-2.22 6.77c-.033.102-.248.218-.456.163-5.25-1.388-8.537.562-9.279 1.072a.101.101 0 01-.159-.085",fill:"#E65000"}),hu=t("path",{d:"M28.851 8.37c2.36-6.255 9.127-6.033 10.522-5.918.13.01.216.14.175.265l-.692 2.11a.101.101 0 01-.107.069c-6.007-.667-8.716 2.088-9.72 3.566-.067.1-.22.02-.178-.092",fill:"#69B3E6"}),mu=t("path",{d:"M38.78.266l-.415 1.267a.102.102 0 01-.096.07c-4.79.048-7.351 2.563-8.428 4.005-.074.099-.227.005-.172-.105.923-1.859 3.414-5.44 8.915-5.503a.203.203 0 01.196.266z",fill:"#FABD34"}),vu=t("path",{d:"M4.325 40C1.485 40 0 37.687 0 35.4c0-2.27 1.486-4.57 4.325-4.57 2.15 0 3.383 1.331 3.435 1.388a.716.716 0 01-1.057.966c-.042-.045-.888-.922-2.378-.922-1.988 0-2.893 1.627-2.893 3.139 0 1.526.905 3.167 2.893 3.167 1.494 0 2.36-.93 2.369-.94a.716.716 0 011.071.95C7.714 38.636 6.48 40 4.325 40zM32.96 40c-2.84 0-4.325-2.313-4.325-4.6 0-2.27 1.485-4.57 4.324-4.57 2.15 0 3.384 1.331 3.435 1.388a.716.716 0 01-1.056.966c-.042-.045-.888-.922-2.379-.922-1.988 0-2.893 1.627-2.893 3.139 0 1.526.905 3.167 2.893 3.167 1.495 0 2.361-.93 2.37-.94a.716.716 0 011.07.95c-.05.058-1.284 1.422-3.44 1.422zM14.142 28.887a.715.715 0 01-.409-1.304c1.24-.86 1.345-2.47 1.332-3.122v-7.402a.716.716 0 011.432 0v7.354c.016.904-.14 3.093-1.948 4.346a.71.71 0 01-.407.128zM33.002 25.513c-2.839 0-4.325-2.313-4.325-4.599 0-2.271 1.486-4.571 4.325-4.571 2.15 0 3.384 1.331 3.435 1.388a.716.716 0 01-1.056.966c-.043-.046-.89-.922-2.379-.922-1.987 0-2.893 1.627-2.893 3.14 0 1.525.906 3.167 2.893 3.167 1.492 0 2.338-.906 2.373-.945a.718.718 0 011.01-.05c.291.263.319.71.058 1.004-.052.058-1.286 1.422-3.44 1.422M11.539 16.34a.716.716 0 00-.716.716v5.207c0 1.007-.82 1.826-1.826 1.826h-.053a1.828 1.828 0 01-1.826-1.826v-5.207a.716.716 0 10-1.432 0v5.207c0 1.007-.819 1.826-1.825 1.826h-.054a1.828 1.828 0 01-1.825-1.826v-5.207a.716.716 0 00-1.432 0v5.207a3.261 3.261 0 003.257 3.257h.054c1.027 0 1.944-.48 2.541-1.225a3.251 3.251 0 002.542 1.225h.053a3.261 3.261 0 003.258-3.257v-5.207a.716.716 0 00-.716-.716zM13.314 30.822c-.891 0-1.605.262-2.154.663v-3.314a.715.715 0 10-1.43 0v9.72a.71.71 0 00.082.33c.038.072.95 1.76 3.502 1.76 1.32 0 2.44-.508 3.238-1.466.696-.835 1.08-1.946 1.08-3.126 0-1.064-.35-2.14-.957-2.953-.55-.736-1.581-1.614-3.361-1.614zm0 7.729c-.905 0-1.49-.301-1.817-.551a.866.866 0 01-.337-.693v-3.038c0-.659.526-2.017 2.154-2.017 2.284 0 2.888 2.052 2.888 3.137 0 1.523-.904 3.162-2.888 3.162M22.885 16.347c-1.774 0-2.773.87-3.297 1.598-.78 1.082-.896 2.325-.896 2.97 0 1.18.384 2.29 1.08 3.126.799.958 1.918 1.465 3.238 1.465 2.152 0 3.384-1.362 3.435-1.42a.714.714 0 00-1.07-.948c-.008.01-.873.938-2.365.938-1.669 0-2.574-1.159-2.82-2.434h5.98c.396 0 .716-.32.716-.714 0-2.28-1.238-4.58-4-4.58zm-2.716 3.866c.33-2.31 2.294-2.436 2.716-2.436 1.835 0 2.364 1.476 2.514 2.436h-5.23zM26.877 32.586c-.038-.072-.95-1.759-3.502-1.759-2.834 0-4.318 2.297-4.318 4.567 0 1.18.384 2.29 1.08 3.126.799.959 1.918 1.465 3.238 1.465l.034-.001c.876-.007 1.58-.268 2.122-.666a.715.715 0 001.427-.047v-6.353a.719.719 0 00-.081-.332zm-1.348 3.953c0 .658-.527 2.017-2.154 2.017-2.285 0-2.888-2.052-2.888-3.137 0-1.523.904-3.162 2.888-3.162.905 0 1.489.3 1.817.55a.868.868 0 01.337.694v3.038z",fill:"#009FE3"});function yu(e){return t("svg",fu({viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),gu,bu,hu,mu,vu)}function xu(){return(xu=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var wu=t("path",{d:"M235.171 71.957c-.671-50.518-51.708-43.14-60.018-41.605a1.02 1.02 0 00-.781 1.318l10.817 33.09a3.034 3.034 0 003.629 2.007c25.761-6.52 41.889 3.08 45.557 5.613.339.234.8-.01.796-.423z",fill:"#BDBCBC"}),Cu=t("path",{d:"M236.637 71.957c.671-50.518 51.709-43.14 60.019-41.605.603.112.971.732.613 1.826l-11.109 34c-.17.515-1.242 1.095-2.283.818-26.278-6.969-42.732 2.822-46.443 5.384a.508.508 0 01-.797-.423z",fill:"#F1511B"}),Iu=t("path",{d:"M241.607 43.024C253.419 11.61 287.286 12.723 294.27 13.3c.654.055 1.082.708.879 1.332l-3.463 10.597a.507.507 0 01-.54.346c-30.062-3.348-43.624 10.49-48.645 17.914-.336.497-1.106.097-.894-.466z",fill:"#69B3E6"}),Pu=t("path",{d:"M291.304 2.325l-2.08 6.363a.51.51 0 01-.477.35c-23.975.245-36.795 12.875-42.185 20.115-.369.496-1.134.025-.859-.527 4.619-9.335 17.083-27.32 44.621-27.637.696-.01 1.197.671.98 1.336z",fill:"#FABD34"}),ku=t("path",{d:"M223.864 112.447c0 3.308-2.635 10.135-10.779 10.135-11.435 0-14.454-10.307-14.454-15.757 0-7.65 4.522-15.883 14.454-15.883 4.528 0 7.452 1.514 9.095 2.766 1.078.821 1.684 2.124 1.684 3.481v15.258zm-10.779-28.685c-14.186 0-21.61 11.54-21.61 22.937 0 5.93 1.919 11.507 5.401 15.701 3.999 4.814 9.602 7.36 16.209 7.36.058 0 .113-.007.173-.01 4.383-.033 7.905-1.343 10.618-3.343a3.581 3.581 0 003.565 3.353 3.583 3.583 0 003.577-3.589V94.262c0-.579-.142-1.151-.408-1.665-.187-.359-4.753-8.835-17.525-8.835zM7.8 103.21c1.655-11.596 11.482-12.232 13.596-12.232 9.184 0 11.83 7.41 12.582 12.232H7.8zm13.596-19.412c-8.88 0-13.878 4.365-16.504 8.023C.992 97.256.41 103.5.41 106.736c0 5.929 1.919 11.505 5.4 15.699 4.001 4.815 9.604 7.361 16.21 7.361 10.77 0 16.938-6.842 17.195-7.131a3.597 3.597 0 00-.306-5.066 3.565 3.565 0 00-5.046.306c-.043.048-4.376 4.713-11.843 4.713-8.353 0-12.883-5.825-14.11-12.227h29.932a3.58 3.58 0 003.577-3.589c0-11.449-6.192-23.004-20.022-23.004zm237.237 19.499a48.905 48.905 0 01-1.565-.412c-7.068-2.034-9.221-3.672-9.221-7.011 0-3.09 3.077-4.933 8.237-4.933 4.615 0 9.241 2.6 9.294 2.633a3.574 3.574 0 004.877-1.33 3.596 3.596 0 00-1.319-4.9c-.255-.146-6.29-3.583-12.852-3.583-7.664 0-15.392 3.747-15.392 12.113 0 9.765 9.368 12.463 14.404 13.911.539.156 1.14.307 1.778.471 5.852 1.488 8.462 2.819 8.462 6.78 0 1.513-.447 2.623-1.411 3.483-2.062 1.846-6.037 2.321-9.065 1.977-5.52-.634-9.229-3.095-9.918-3.582-1.506-1.07-3.628-.844-4.828.563a3.598 3.598 0 00.757 5.34c1.391.977 6.202 4.012 13.178 4.812.834.093 1.726.149 2.653.149 4.054 0 8.759-1.013 11.985-3.902 2.487-2.226 3.804-5.284 3.804-8.84 0-10.216-9.362-12.595-13.858-13.739zM131.276 83.762a3.585 3.585 0 00-3.577 3.591v24.193c0 6.084-4.934 11.036-10.998 11.036-6.067 0-11.001-4.952-11.001-11.036V87.353a3.585 3.585 0 00-3.576-3.591 3.585 3.585 0 00-3.578 3.591v24.193c0 10.042 8.144 18.214 18.155 18.214 10.01 0 18.152-8.172 18.152-18.214V87.353a3.584 3.584 0 00-3.577-3.591zm44.481 28.699c0 3.306-2.635 10.136-10.777 10.136-11.438 0-14.46-10.31-14.46-15.759 0-7.652 4.526-15.881 14.46-15.881 4.528 0 7.452 1.512 9.092 2.765 1.079.82 1.685 2.123 1.685 3.48v15.259zM164.98 83.776c-6.607 0-12.211 2.546-16.21 7.362-3.484 4.192-5.403 9.771-5.403 15.7 0 5.344 1.744 10.75 4.787 14.829 2.758 3.695 7.916 8.107 16.826 8.107 4.456 0 8.031-1.315 10.777-3.334v16.65a3.583 3.583 0 003.578 3.589 3.583 3.583 0 003.576-3.589V94.275c0-.58-.139-1.15-.407-1.665-.188-.358-4.754-8.834-17.524-8.834zm-83.114 32.558c0 1.358-.606 2.659-1.687 3.48-1.641 1.254-4.563 2.768-9.093 2.768-9.932 0-14.457-8.232-14.457-15.883 0-5.448 3.022-15.757 14.458-15.757 8.144 0 10.779 6.826 10.779 10.133v15.259zm3.576-49.477a3.586 3.586 0 00-3.576 3.59v16.65c-2.75-2.02-6.321-3.335-10.78-3.335-8.909 0-14.068 4.411-16.826 8.11-3.04 4.079-4.784 9.483-4.784 14.827 0 5.93 1.917 11.507 5.401 15.701 3.997 4.814 9.604 7.36 16.21 7.36 12.772 0 17.338-8.473 17.525-8.833a3.6 3.6 0 00.407-1.664V70.448a3.585 3.585 0 00-3.577-3.591zM9.443 147.001c1.86 0 3.02-1.045 3.02-2.511v-.039c0-1.648-1.179-2.509-3.02-2.509H6.582v5.059h2.86zm-5.323-6.063c0-.704.54-1.248 1.24-1.248h4.283c3.282 0 5.323 1.87 5.323 4.7v.041c0 3.151-2.522 4.797-5.604 4.797h-2.78v3.396c0 .681-.54 1.224-1.221 1.224a1.22 1.22 0 01-1.241-1.224v-11.686zM23.553 149.933v-.723a6.715 6.715 0 00-2.4-.421c-1.563 0-2.483.661-2.483 1.767v.04c0 1.024.9 1.605 2.06 1.605 1.601 0 2.823-.923 2.823-2.268zm-7.244.764v-.043c0-2.288 1.78-3.412 4.363-3.412 1.18 0 2.021.179 2.842.441v-.262c0-1.504-.921-2.307-2.622-2.307-.921 0-1.68.158-2.343.42a1.28 1.28 0 01-.38.06 1.01 1.01 0 01-1.021-1.004c0-.441.3-.823.661-.961.999-.383 2.02-.622 3.402-.622 1.58 0 2.762.417 3.504 1.183.779.763 1.138 1.886 1.138 3.273v5.221c0 .661-.521 1.163-1.18 1.163-.7 0-1.181-.483-1.181-1.023v-.402c-.719.863-1.82 1.546-3.441 1.546-1.983 0-3.742-1.144-3.742-3.271zM28.758 144.25c0-.683.52-1.225 1.198-1.225.681 0 1.223.542 1.223 1.225v1.083c.56-1.325 1.6-2.328 2.661-2.328.76 0 1.2.502 1.2 1.206 0 .64-.42 1.063-.96 1.163-1.721.302-2.9 1.627-2.9 4.136v3.134c0 .661-.543 1.205-1.224 1.205-.66 0-1.198-.525-1.198-1.205v-8.394zM37.524 150.816v-5.583h-.401c-.58 0-1.04-.46-1.04-1.044 0-.583.46-1.043 1.04-1.043h.4v-1.809a1.21 1.21 0 012.423 0v1.809h1.9c.58 0 1.06.46 1.06 1.043 0 .584-.48 1.044-1.06 1.044h-1.9v5.201c0 .946.478 1.326 1.3 1.326.279 0 .519-.06.6-.06.539 0 1.02.44 1.02 1.003 0 .439-.3.802-.64.945-.52.179-1.02.28-1.66.28-1.78 0-3.042-.786-3.042-3.112zM59.518 148.507v-.039c0-1.87-1.341-3.416-3.243-3.416-1.94 0-3.181 1.527-3.181 3.374v.042c0 1.847 1.34 3.39 3.223 3.39 1.96 0 3.2-1.523 3.2-3.351zm-8.843 0v-.039c0-3.034 2.4-5.544 5.642-5.544 3.24 0 5.623 2.471 5.623 5.502v.042c0 3.01-2.402 5.52-5.665 5.52-3.22 0-5.6-2.47-5.6-5.481zM64.942 145.233h-.42c-.56 0-1.02-.44-1.02-1.004 0-.561.46-1.024 1.02-1.024h.42v-.782c0-1.165.3-2.048.86-2.611.562-.56 1.342-.845 2.383-.845.481 0 .882.041 1.22.103.44.058.84.459.84 1.002a.996.996 0 01-1.02 1.004 4.279 4.279 0 00-.5-.039c-.921 0-1.401.502-1.401 1.604v.587h1.882c.579 0 1.02.44 1.02 1.001 0 .564-.46 1.004-1.02 1.004h-1.841v7.409c0 .664-.542 1.205-1.221 1.205a1.205 1.205 0 01-1.202-1.205v-7.409zM77.352 141.278a1.3 1.3 0 01-.1-.483c0-.683.58-1.205 1.26-1.205.6 0 1.06.382 1.22.905l3.223 9.656 3.162-9.615c.2-.583.62-.984 1.24-.984h.18c.62 0 1.061.401 1.241.984l3.162 9.615 3.223-9.676c.178-.503.599-.885 1.199-.885.66 0 1.22.522 1.22 1.186 0 .162-.058.36-.119.502l-4.143 11.645c-.22.622-.679 1.026-1.28 1.026H91.8c-.599 0-1.04-.382-1.26-1.026l-3.124-9.176-3.12 9.176c-.22.644-.68 1.026-1.28 1.026h-.24c-.601 0-1.04-.382-1.28-1.026l-4.144-11.645zM97.526 152.402a1.297 1.297 0 01-.42-.923c0-.664.52-1.185 1.18-1.185.322 0 .542.099.761.281.681.703 1.34 1.085 2.281 1.085 1.362 0 2.261-.884 2.261-2.773v-8.069a1.23 1.23 0 011.24-1.225c.682 0 1.243.54 1.243 1.225v8.15c0 1.669-.501 2.912-1.322 3.736-.819.823-2.001 1.244-3.403 1.244-1.7 0-2.939-.661-3.82-1.546zM109.455 152.503v-11.567c0-.702.54-1.245 1.24-1.245h8.145c.602 0 1.102.503 1.102 1.104a1.1 1.1 0 01-1.102 1.107h-6.924v3.653h6.024c.6 0 1.1.502 1.1 1.124 0 .602-.5 1.085-1.1 1.085h-6.024v3.776h7.025c.6 0 1.101.5 1.101 1.103 0 .625-.501 1.105-1.101 1.105h-8.246c-.7 0-1.24-.542-1.24-1.245zM122.244 146.759v-.039c0-3.996 2.982-7.271 7.224-7.271 2.161 0 3.581.644 4.803 1.587.261.201.481.542.481.985 0 .683-.542 1.205-1.222 1.205-.34 0-.579-.121-.742-.242-.959-.784-1.998-1.264-3.339-1.264-2.662 0-4.624 2.207-4.624 4.958v.042c0 2.751 1.941 4.978 4.624 4.978 1.48 0 2.481-.48 3.502-1.344.18-.16.439-.279.74-.279.62 0 1.161.518 1.161 1.143 0 .382-.18.681-.399.884-1.322 1.166-2.824 1.887-5.084 1.887-4.082 0-7.125-3.195-7.125-7.23z",fill:"#706D6E"});function Su(e){return t("svg",xu({viewBox:"0 0 298 154",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),wu,Cu,Iu,Pu,ku)}var Du=function(e){var t=e.copyrightMessage,n=void 0===t?"Copyright WJEC CBAC Ltd ".concat((new Date).getFullYear()):t,r=e.logos,o=void 0===r?[yu,Su]:r,i=e.maxWidth,a=void 0===i?1280:i,l=b(Au);return d("footer",{css:l.footer},d("div",{css:we([l.container,{maxWidth:"".concat(a,"px")}],";label:Footer;")},o.map((function(e,t){return d(e,{key:"logo_".concat(t),css:l.logo})})),d("span",{css:l.copyright},n)))},Ou={name:"11n0obx-container",styles:"align-items:center;display:flex;margin:0 auto;width:100%;;label:container;"},Eu={name:"1oe8c11-logo",styles:"height:25px;margin-right:10px;;label:logo;"},Au=function(e){var t=e.colorPalette;return{container:Ou,copyright:u("border-left:1px solid ",t.border,";color:",t.fontLight,";font-size:12px;padding-left:10px;;label:copyright;",";label:copyright;"),footer:u(Ce,";align-items:center;display:flex;justify-content:flex-start;padding:24px 30px 22px;width:100%;;label:footer;",";label:footer;"),logo:Eu}};function Mu(){return(Mu=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var Lu=t("path",{d:"M10 4.742l4.167 3.75V15H12.5v-5h-5v5H5.833V8.492L10 4.742zM10 2.5L1.667 10h2.5v6.667h5v-5h1.666v5h5V10h2.5L10 2.5z",fill:"currentColor"});function Bu(e){return t("svg",Mu({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Lu)}var Tu=function(e){return"[object Object]"===Object.prototype.toString.call(e)};var Ru={height:"40px",padding:"0"},Nu=function(t){var n=t.logo,r=void 0===n?{eduqas:Su,wjec:yu}:n,o=t.logoId,i=t.logoStyles,l=t.maxWidth,c=void 0===l?1280:l,s=t.menus,u=t.onClickPageIcon,p=t.pageIcon,f=void 0===p?Bu:p,g=t.pageIconHref,m=t.pageTitle,v=t.showPageTitle,y=void 0===v||v,x=O(h(),1)[0].brand,w=b(Hu),I=a((function(){return Tu(e=r)&&e.hasOwnProperty("eduqas")&&e.hasOwnProperty("wjec")?r[x]:r;var e}),[x,r]);return d("header",{css:w.header},d("div",{css:we([w.container,{maxWidth:"".concat(c,"px")}],";label:Header;")},d("div",{css:w.titleContainer},y&&d(e.Fragment,null,d("a",{css:w.pageLink,href:g,onClick:u},d(f,{css:w.pageIcon})),d("h1",{css:w.title},m))),d(I,{css:we(C(C({},Ru),i),";label:Header;"),id:o}),d("section",{css:w.menuContainer},s)))},Fu={name:"29pxmq-container",styles:"align-items:center;display:grid;grid-gap:30px;grid-template-columns:1fr 100px 1fr;justify-items:center;margin:0 auto;;label:container;"},ju={name:"ccpvqy-menuContainer",styles:"align-items:center;display:flex;flex:1;justify-content:flex-end;justify-self:end;min-width:175px;;label:menuContainer;"},zu={name:"1do01nj-titleContainer",styles:"align-items:center;display:flex;justify-self:flex-start;;label:titleContainer;"},Hu=function(e){var t=e.colorPalette;return{container:Fu,header:u(Ce,";background-color:#fff;border-bottom:1px solid ",t.border,";padding:15px 30px;position:sticky;top:0;width:100%;z-index:1;;label:header;",";label:header;"),menuContainer:ju,pageIcon:u("color:",t.fontLight,";height:20px;margin-right:10px;;label:pageIcon;",";label:pageIcon;"),pageLink:u("cursor:pointer;:hover > svg{color:",t.font,";};label:pageLink;",";label:pageLink;"),title:u(Pe,";border-left:1px solid ",t.border,";color:",t.fontLight,";font-size:14px;font-weight:500;margin:0;max-width:100%;padding:5px 0 5px 10px;;label:title;",";label:title;"),titleContainer:zu}},Gu=function(e){var t=e.children,n=e.footerProps,r=e.headerProps,o=e.maxWidth,i=void 0===o?1280:o;return d("div",{css:_u.pageWrapper},d(Nu,k({},r,{maxWidth:i})),d("main",{css:we([_u.content,{maxWidth:"".concat(i+60,"px")}],";label:Page;")},t),d(Du,k({},n,{maxWidth:i})))},_u={content:u("flex:1;margin:0 auto;min-height:100%;padding:40px ",30,"px 0;width:100%;;label:content;",";label:content;"),pageWrapper:u(Ce,";display:flex;flex-direction:column;min-height:100vh;;label:pageWrapper;",";label:pageWrapper;")};function Wu(){var e=D(["\n 0% {\n left: -200%;\n right: 100%;\n }\n\n 60% {\n left: 107%;\n right: -8%;\n }\n\n 100% {\n left: 107%;\n right: -8%;\n }\n"]);return Wu=function(){return e},e}function qu(){var e=D(["\n 0% {\n left: -35%;\n right: 100%;\n }\n 60% {\n left: 100%;\n right: -90%;\n }\n 100% {\n left: 100%;\n right: -90%;\n }\n"]);return qu=function(){return e},e}var Uu=function(e){var t=e.color,n=e.id,r=e.progress,o=O(h(),1)[0],i=o.brand,l=o.colorPalette,c=void 0===r,s=a((function(){return t||l.secondary}),[i,t]),p=a((function(){return ut(s).alpha(.3).toString()}),[s]);return d("progress",{css:we([Yu.progress,c?[Yu.progressIndeterminate,u("&::after,&::before{background-color:",s,";};label:LinearProgress;",";label:LinearProgress;")]:{},u("&::-webkit-progress-bar{background-color:",p,";}&::-webkit-progress-value{background-color:",s,";};label:LinearProgress;",";label:LinearProgress;")],";label:LinearProgress;"),id:n,max:100,value:r})},Vu=p(qu()),$u=p(Wu()),Yu={progress:{name:"4lutt6-progress",styles:"appearance:none;border-radius:2px;height:4px;overflow:hidden;position:relative;width:100%;&::-webkit-progress-bar{border-radius:2px;}&::-webkit-progress-value{border-radius:2px;transition:width 0.3s ease-out;};label:progress;"},progressIndeterminate:u("&::before,&::after{border-radius:2px;bottom:0;content:'';left:0;position:absolute;top:0;}&::after{animation:",Vu," 2.1s cubic-bezier(0.65,0.815,0.735,0.395) infinite;}&::before{animation:",$u," 2.1s cubic-bezier(0.165,0.84,0.44,1) infinite 1.15s;};label:progressIndeterminate;",";label:progressIndeterminate;")};var Xu=function(e){var t=e.context,r=e.icons,i=e.id,a=e.keySuffix,l=void 0===a?"":a,s=e.open,u=void 0!==s&&s,p=e.selectLocaleAction,f=e.showLocaleNameInList,g=void 0===f||f,b=e.showSelectedLocaleName,m=O(h(),1)[0].colorPalette,v=O(c(t),2),y=v[0],x=y.availableLocales,w=y.locale,C=y.strings,I=v[1],P=O(n(u),2),k=P[0],S=P[1],D=O(n(w),2),E=D[0],A=D[1];o((function(){u!==k&&S(u)}),[u]),o((function(){w!==E&&A(w)}),[w]),o((function(){I(p(E))}),[E]);var M=function(e){return function(){return S(e)}};return d(Sn,{id:i,open:k,options:x.map((function(e){return{icon:r&&r[e],label:g&&(C["".concat(e).concat(l)]||"".concat(e).concat(l)),onClick:(t=e,function(){A(t),S(!1)})};var t})),onHide:M(!1),onShow:M(!0),toggle:d(dt,{allowEventPropagation:!0,color:"transparent",icon:r&&r[w],labelColor:m.fontLight},b&&(C["".concat(w).concat(l)]||"".concat(w).concat(l)),d(K,{css:Ju.icon}))})},Ju={icon:{name:"dmqw0n-icon",styles:"display:flex;height:20px;width:20px;;label:icon;"}},Ku=function(e){var t=e.children,n=e.element,r=void 0===n?"div":n,o=e.horizontal,i=void 0!==o&&o,a=e.styles,l=e.vertical,c=void 0===l||l;return d(r,{css:[a,le.scrollbar,{overflowX:i?"auto":"hidden",overflowY:c?"auto":"hidden"}]},t)};var Qu=function(t){var i=t.actionButton,a=void 0===i?"Confirm":i,l=t.actionButtonId,c=t.actionDisabled,s=t.actionLoading,u=t.actionLoadingProgress,p=t.actionType,f=void 0===p?"positive":p,g=t.blockScroll,h=void 0===g||g,m=t.cancelButton,v=void 0===m?"Cancel":m,w=t.cancelButtonId,C=t.children,I=t.closeOnCancel,P=void 0===I||I,k=t.closeOnClickOutside,S=void 0===k||k,D=t.description,E=t.fullscreen,A=t.id,M=t.onAction,L=t.onCancel,B=t.onClose,T=t.onOpen,R=t.open,N=t.otherActions,F=t.padding,j=void 0===F?"30px":F,z=t.showCloseIcon,H=void 0===z||z,_=t.title,W=O(n(!1),2),q=W[0],U=W[1],V=O(n(R),2),$=V[0],Y=V[1],X=r(),J=r(),K=r();o((function(){return $&&Q(),function(){$&&h&&y(K.current),window.clearTimeout(X.current)}}),[]),o((function(){R!==$&&(R?ee():Z())}),[R]),o((function(){$&&Q(),(!$&&h||$&&!h)&&y(K.current)}),[h,$,K.current]),o((function(){!$&&G(B)&&B(),$&&G(T)&&T()}),[$]);var Q=function(){h&&x(K.current,{reserveScrollBarGap:!0})},Z=function(){window.clearTimeout(X.current),U(!0),X.current=window.setTimeout((function(){Y(!1),U(!1)}),300)},ee=function(){window.clearTimeout(X.current),U(!0),Q(),X.current=window.setTimeout((function(){Y(!0),U(!1)}),300)},te="positive"===f?Dt:Pt,ne=_||H,re=q&&!$,oe=q&&$,ie=!q&&!$,ae=b(ud);return d("div",{ref:J,css:we([ae.background,E&&ae.backgroundFullScreen,!$&&ae.backgroundHidden,oe&&ae.backgroundFadeOut,re&&ae.backgroundFadeIn,ie&&le.visiblyHidden],";label:Modal;"),id:A,onClick:function(e){var t=e.target;S&&(t===J.current&&Z())}},d("div",{ref:K,css:we([ae.modal,E&&ae.modalFullScreen,!$&&ae.modalHidden,oe&&ae.modalFadeOut,re&&ae.modalFadeIn,ie&&le.visiblyHidden,{padding:j}],";label:Modal;")},ne&&d("header",{css:ae.header},_&&d(wn,null,_),H&&d(Gs,{css:ae.close,onClick:Z})),D&&d("p",{css:ae.description},D),d(Ku,{styles:[ae.content,ne&&ae.contentWithHeader]},!ie&&C),(a||v||N)&&d("footer",{css:ae.footer},v&&d(dt,{id:w,label:v,onClick:function(){P&&Z(),G(L)&&L()}}),d("section",{css:ae.otherActions},N&&(e.isValidElement(N)?N:d(Sn,{options:N}))),a&&d(te,{disabled:c,id:l,label:a,loading:s,loadingProgress:u,onClick:M}))))},Zu={name:"1qi2rwu-backgroundFadeIn",styles:"backdrop-filter:blur(5px);background-color:rgba(241,243,244,0.80);transition-delay:0ms;;label:backgroundFadeIn;"},ed={name:"151q5fx-backgroundFullScreen",styles:"align-items:flex-end;;label:backgroundFullScreen;"},td={name:"n1qs91-backgroundHidden",styles:"backdrop-filter:blur(0);background-color:rgba(241,243,244,0);;label:backgroundHidden;"},nd={name:"1ukcuyy-content",styles:"display:flex;flex:0 1;;label:content;"},rd={name:"1k7atwp-contentWithHeader",styles:"margin-top:40px;;label:contentWithHeader;"},od={name:"omjprw-footer",styles:"align-items:center;display:flex;justify-content:space-between;margin-top:50px;;label:footer;"},id={name:"134psua-header",styles:"margin-bottom:10px;padding-right:30px;position:relative;;label:header;"},ad={name:"rfgpir-modalFadeOut",styles:"opacity:0;transition-delay:0ms;;label:modalFadeOut;"},ld={name:"17qs269-modalFullScreen",styles:"margin:0 20px 10px 20px;max-height:95vh;max-width:100vw;;label:modalFullScreen;"},cd={name:"1y7urtm-modalHidden",styles:"opacity:0;;label:modalHidden;"},sd={name:"eribgf-otherActions",styles:"align-items:center;display:flex;margin-left:auto;&:not(:last-child){margin-right:10px;};label:otherActions;"},ud=function(e){var t=e.colorPalette;return{background:u("align-items:center;backdrop-filter:blur(5px);background-color:rgba(241,243,244,0.80);bottom:0;display:flex;flex-direction:row;justify-content:center;left:0;position:fixed;right:0;top:0;transition:background-color ",200,"ms linear,backdrop-filter ",200,"ms linear;z-index:998;;label:background;",";label:background;"),backgroundFadeIn:Zu,backgroundFadeOut:u("backdrop-filter:blur(0);background-color:rgba(241,243,244,0);transition-delay:",100,"ms;;label:backgroundFadeOut;",";label:backgroundFadeOut;"),backgroundFullScreen:ed,backgroundHidden:td,close:u("cursor:pointer;color:",t.fontLight,";height:20px;position:absolute;right:0;top:0;;label:close;",";label:close;"),content:nd,contentWithHeader:rd,description:u("color:",t.fontLight,";font-family:'Montserrat',sans-serif;font-size:14px;line-height:20px;margin:0;white-space:pre-line;;label:description;",";label:description;"),footer:od,header:id,modal:u(Ce,";background-color:#FFFFFF;border-radius:",le.borderRadius,";box-shadow:",le.dropShadow,";display:flex;flex-direction:column;justify-content:space-between;max-height:90vh;max-width:60vw;min-height:200px;min-width:200px;position:relative;transition:opacity ",200,"ms linear;;label:modal;",";label:modal;"),modalFadeIn:u("opacity:1;transition-delay:",100,"ms;;label:modalFadeIn;",";label:modalFadeIn;"),modalFadeOut:ad,modalFullScreen:ld,modalHidden:cd,otherActions:sd}};function dd(){return(dd=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var pd=t("path",{d:"M9.5 6.167h1.667v1.666H9.5V6.167zM9.5 9.5h1.667v5H9.5v-5z",fill:"currentColor"}),fd=t("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2 10.333C2 5.733 5.733 2 10.333 2s8.334 3.733 8.334 8.333-3.734 8.334-8.334 8.334A8.336 8.336 0 012 10.333zm1.667 0A6.676 6.676 0 0010.333 17 6.676 6.676 0 0017 10.333a6.675 6.675 0 00-6.667-6.666 6.675 6.675 0 00-6.666 6.666z",fill:"currentColor"});function gd(e){return t("svg",dd({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),pd,fd)}function bd(){var e=D(["\n to { stroke-dashoffset: -100; }\n"]);return bd=function(){return e},e}var hd=function(t){var i=t.actionColor,l=void 0===i?"transparent":i,c=t.actionIcon,s=t.actionLoading,u=t.actionLoadingProgress,p=t.actionText,f=t.actionTextColor,g=void 0===f?B.primaryDark:f,b=t.autoClose,h=t.highlightColor,m=void 0===h?B.border:h,v=t.icon,y=void 0===v?gd:v,x=t.message,w=t.onActionClick,I=t.onClose,P=t.onOpen,k=t.open,S=void 0===k||k,D=t.position,E=t.positionType,A=void 0===E?"relative":E,M=t.showImmediately,L=t.title,T=O(n(!S),2),R=T[0],N=T[1],F=O(n(S&&M),2),j=F[0],z=F[1],H=r(),_=r(),W=a((function(){return y&&"none"!==y?d(y,{css:we([vd.icon,{backgroundColor:m}],"")}):null}),[y]);o((function(){return S&&M&&G(P)&&P(),function(){window.clearTimeout(H.current),window.clearTimeout(_.current)}}),[]),o((function(){if(y&&"none"!==y&&!U(e.createElement(y)))throw new Error("Icon must be a valid SVGComponent")}),[y]),o((function(){S!==j&&(S?V():q())}),[S]),o((function(){j&&b&&(window.clearTimeout(H.current),H.current=window.setTimeout(q,b))}),[b,j]);var q=function(){window.clearTimeout(H.current),window.clearTimeout(_.current),z(!1),_.current=window.setTimeout((function(){N(!0),G(I)&&I()}),500)},V=function(){window.clearTimeout(_.current),N(!1),z(!0),_.current=window.setTimeout((function(){G(P)&&P()}),500)},$=!!p;return d("div",{css:we([vd.container,!j&&vd.containerFadeOut,j&&vd.containerFadeIn,R&&le.visiblyHidden,C({borderLeft:"5px solid ".concat(m),position:A},D)],";label:Notification;")},W,d("div",{css:vd.content},d("h2",{css:vd.title},L),d("p",{css:we([vd.message,$&&{marginBottom:"10px"}],";label:Notification;")},x),$?d(dt,{color:l,icon:c,iconColor:B.fontLight,labelColor:g,label:p,loading:s,loadingProgress:u,onClick:w,size:"small"}):null),j&&b&&d("svg",{css:vd.autoClose,viewBox:"0 0 20 20"},d("circle",{css:we([vd.autoCloseCircle,{animationDuration:"".concat(b,"ms")}],";label:Notification;"),cx:"10",cy:"10",r:"9",pathLength:"100"})),d(Gs,{css:vd.close,onClick:q}))},md=p(bd()),vd={autoClose:{name:"b43jv6-autoClose",styles:"height:20px;position:absolute;right:8px;top:8px;width:20px;;label:autoClose;"},autoCloseCircle:u("animation:",md," linear forwards;fill:transparent;stroke:",B.fontLight,";stroke-dasharray:100;stroke-width:1;transform:rotate(-90deg);transform-origin:50%;;label:autoCloseCircle;",";label:autoCloseCircle;"),close:{name:"lqr9nm-close",styles:"cursor:pointer;height:36px;outline:none;padding:10px;position:absolute;right:0;top:0;width:36px;;label:close;"},container:u(Ce,";background-color:#FFFFFF;border-radius:",le.borderRadius,";box-shadow:",le.dropShadow,";color:",B.fontLight,";display:flex;font-family:'Montserrat',sans-serif;font-size:14px;line-height:20px;max-width:375px;padding:20px 45px 20px 25px;position:relative;transition:opacity ",500,"ms,transform ",500,"ms;z-index:999;;label:container;",";label:container;"),containerFadeIn:{name:"czoffv-containerFadeIn",styles:"opacity:1;transform:translateY(0);transition-timing-function:linear,ease-out;;label:containerFadeIn;"},containerFadeOut:{name:"1pzxo9m-containerFadeOut",styles:"opacity:0;transform:translateY(-60px);transition-timing-function:linear,ease-in;;label:containerFadeOut;"},content:{name:"4iokpr-content",styles:"align-items:flex-start;display:flex;flex-direction:column;max-width:375px;;label:content;"},icon:{name:"12ca1l9-icon",styles:"border-radius:50%;color:#FFFFFF;flex-shrink:0;height:30px;margin-right:30px;padding:5px;width:30px;;label:icon;"},message:{name:"3fqyvy-message",styles:"font-size:14px;line-height:20px;margin:0;white-space:pre-line;@media screen and (-ms-high-contrast:active),(-ms-high-contrast:none){max-width:300px;};label:message;"},title:u("color:",B.font,";font-size:14px;font-weight:500;line-height:20px;margin:0;;label:title;",";label:title;")},yd=function(e){return d(hd,k({},e,{highlightColor:B.error,icon:Gs,title:"Error"}))},xd=function(e){return d(hd,k({},e,{highlightColor:B.primary,title:"Information"}))},wd=function(e){return d(hd,k({},e,{highlightColor:B.success,icon:Qt,title:"Success"}))};var Cd=function(e){var t=e.children,n=e.color,r=e.id,o=O(h(),1)[0].colorPalette;return d("h1",{css:we([Id,{color:n||o.font}],";label:PageTitle;"),id:r},t)},Id={name:"pip6s9-styles",styles:"font-family:'Montserrat',sans-serif;font-size:28px;font-weight:400;line-height:40px;margin:0 0 30px 0;;label:styles;"};var Pd=function(t){var n=t.compact,r=void 0!==n&&n,o=t.current,i=void 0===o?1:o,l=t.id,c=t.onSelect,s=t.total,u=function(e){return function(){e>0&&e<s+1&&G(c)&&c(e)}},p=a((function(){return s>5?i<4?[2,3,4,"..."]:i>s-3?["...",s-3,s-2,s-1]:["...",i-1,i,i+1,"..."]:E(Array(Math.max(0,s-2)).keys()).map((function(e){return e+2}))}),[i,s]),f=b(Od);return d("ol",{css:f.container,id:l},d("li",{css:we([f.option,f.optionNextPrevious,1===i&&f.optionDisabled],";label:Pagination;"),onClick:u(i-1)},d(ee,{height:"100%",width:"100%"})),r?d("li",{css:f.compact},i," of ",s):d(e.Fragment,null,d("li",{css:we([f.option,1===i&&f.optionSelected],";label:Pagination;"),onClick:u(1)},"1"),p.map((function(e,t){return d("li",{key:t,css:we([f.option,e===i&&f.optionSelected,"string"==typeof e&&f.optionSeparator],";label:Pagination;"),onClick:"number"==typeof e?u(e):null},e)})),s>1&&d("li",{css:we([f.option,i===s&&f.optionSelected],";label:Pagination;"),onClick:u(s)},s)),d("li",{css:we([f.option,f.optionNextPrevious,i===s&&f.optionDisabled],";label:Pagination;"),onClick:u(i+1)},d(re,{height:"100%",width:"100%"})))},kd={name:"1ugari0-compact",styles:"margin:0 15px;text-align:center;user-select:none;width:50px;;label:compact;"},Sd={name:"8rp8l4-optionDisabled",styles:"opacity:0.33;pointer-events:none;;label:optionDisabled;"},Dd={name:"kcytqa-optionSeparator",styles:"pointer-events:none;;label:optionSeparator;"},Od=function(e){var t=e.colorPalette;return{compact:kd,container:u(Ce,";display:flex;font-family:'Montserrat',sans-serif;font-size:14px;justify-content:center;line-height:20px;list-style:none;margin:0;padding:0;width:100%;;label:container;",";label:container;"),option:u("align-items:center;border-radius:",le.borderRadius,";color:",t.fontLight,";cursor:pointer;display:flex;height:20px;justify-content:center;margin:0 5px;user-select:none;width:20px;&:first-of-type{margin-left:0;}&:last-of-type{margin-right:0;};label:option;",";label:option;"),optionDisabled:Sd,optionNextPrevious:u("border:1px solid ",t.border,";;label:optionNextPrevious;",";label:optionNextPrevious;"),optionSelected:u("background-color:",t.primary,";color:#FFFFFF;pointer-events:none;;label:optionSelected;",";label:optionSelected;"),optionSeparator:Dd}},Ed=0,Ad=function(e){var t=e.children,r=e.css,o=e.maskComponent,i=S(e,["children","css","maskComponent"]),a=O(n("SvgMask_Mask_".concat(Ed++)),1)[0];return d("svg",k({xmlns:"http://www.w3.org/2000/svg",css:we([Ce,r],";label:SvgWithMask;")},i),d("defs",null,d("mask",{id:a},o)),d("g",{mask:"url(#".concat(a,")"),height:"100%",width:"100%"},t))};function Md(){return(Md=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var Ld=t("path",{d:"M10 3.75C5.833 3.75 2.275 6.342.833 10c1.442 3.658 5 6.25 9.167 6.25s7.725-2.592 9.167-6.25c-1.442-3.658-5-6.25-9.167-6.25zm0 10.417A4.168 4.168 0 015.833 10C5.833 7.7 7.7 5.833 10 5.833S14.167 7.7 14.167 10 12.3 14.167 10 14.167zM10 7.5A2.497 2.497 0 007.5 10c0 1.383 1.117 2.5 2.5 2.5s2.5-1.117 2.5-2.5-1.117-2.5-2.5-2.5z",fill:"currentColor"});function Bd(e){return t("svg",Md({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Ld)}function Td(){var e=D(["\n from {\n stroke-dashoffset: 0;\n }\n to {\n stroke-dashoffset: -157;\n }\n"]);return Td=function(){return e},e}var Rd=function(e){var t=e.disabled,i=e.gridArea,a=e.highlightColor,l=e.highlighted,c=e.id,s=e.label,u=e.name,p=e.onChange,f=e.placeholder,g=e.show,m=e.value,v=void 0===m?"":m,y=O(h(),1)[0].colorPalette,x=O(n(v),2),w=x[0],C=x[1],I=O(n(g),2),P=I[0],k=I[1],S=O(n(!g),2),D=S[0],E=S[1],A=r();o((function(){v!==w&&C(v)}),[v]),o((function(){k(g),E(!g)}),[g]);var M=function(){k(!1),window.clearTimeout(A.current),D||E(!0)},L=function(){k(!0),A.current=window.setTimeout(M,5e3)},B=b(Fd);return d("label",{css:we([B.label,i&&{gridArea:i}],";label:Password;"),id:c},s,d("input",{id:c,css:we([B.input,l&&{borderColor:a||y.highlight}],";label:Password;"),name:u,type:P?"text":"password",value:w,onChange:function(e){var t=e.target.value;C(t),G(p)&&p(t)},placeholder:f,disabled:t}),d(Ad,{maskComponent:d(Bd,{color:"#fff",height:"100%",x:"50%",y:"50%"}),css:we([B.icon,!t&&B.iconActive,P&&!D&&B.iconShown,s&&{transform:"translateY(calc(-50% + ".concat(10,"px))")}],";label:Password;"),viewBox:"25 25 50 50",onClick:t?null:function(){P?M():L()}},d("circle",{cx:"50",cy:"50",r:"25",strokeWidth:"50",fill:"currentColor",css:we([B.iconBackground,P&&D&&B.iconBackgroundAnimated],";label:Password;")})))},Nd=p(Td()),Fd=function(e){var t=e.colorPalette;return{icon:u("color:",t.fontLight,";height:30px;padding:5px 10px;position:absolute;right:0;top:50%;transform:translateY(-50%);transition:fill 0.05s linear;width:40px;;label:icon;",";label:icon;"),iconActive:u("cursor:pointer;&:hover{color:",t.font,";};label:iconActive;",";label:iconActive;"),iconBackground:u("stroke:",t.primary,";stroke-dasharray:157;stroke-dashoffset:157;transform:rotate(-90deg);transform-origin:100% 100%;transition:stroke-dashoffset 0.1s linear;;label:iconBackground;",";label:iconBackground;"),iconBackgroundAnimated:u("animation:",Nd," ",5e3,"ms linear;color:",t.fontLight,";;label:iconBackgroundAnimated;",";label:iconBackgroundAnimated;"),iconShown:u("color:",t.primary,";;label:iconShown;",";label:iconShown;"),input:u("border:1px solid ",t.border,";border-radius:",le.borderRadius,";color:",t.font,";font-size:14px;height:30px;outline:none;padding:5px 40px 5px 10px;transition:background-color 0.05s linear,border-color 0.05s linear;&:disabled{background-color:",t.neutral,";color:",t.fontLight,";cursor:not-allowed;}&:focus{border-color:",t.primary,";}&::placeholder{color:",t.fontLight,";};label:input;",";label:input;"),label:u(Ce,";color:",t.font,";display:flex;flex-direction:column;font-family:'Montserrat',sans-serif;font-size:12px;line-height:",20,"px;position:relative;;label:label;",";label:label;")}};var jd={name:"1ldhxet-Wrapper",styles:"background-color:#fff;bottom:0;left:0;padding:30px 10px;position:absolute;right:0;top:0;;label:Wrapper;"},zd=function(t){var r=t.children,i=t.isLoadingStyles,a=t.onOpen,l=t.popupWindow,c=O(n(!1),2),s=c[0],u=c[1];return o((function(){s||i||(G(a)&&a(l),u(!0))}),[i]),d(e.Fragment,null,r,i&&d("div",{css:jd},d(Uu,null)))},Hd=function(e){var t=e.children,i=e.height,a=void 0===i?500:i,l=e.id,c=void 0===l?"":l,s=e.onClose,u=e.onOpen,p=e.open,f=e.position,g=void 0===f?{x:50,y:200}:f,b=e.title,h=void 0===b?"":b,v=e.width,y=void 0===v?500:v,x=O(n(),2),w=x[0],C=x[1],I=r(),P=r(document.querySelectorAll("[data-emotion]")),k=O(n(!1),2),S=k[0],D=k[1],E=O(n(p),2),A=E[0],M=E[1],L=O(n(!1),2),B=L[0],T=L[1];o((function(){var e=document.querySelectorAll("[data-emotion]");A&&I.current&&Array.from(e).some((function(e,t){return e!==P.current[t]}))&&(P.current=e,N())})),o((function(){return function(){return I.current&&I.current.close()}}),[]),o((function(){A&&F(),!I.current||I.current.closed||A||I.current.close()}),[t,A]),o((function(){I.current&&(I.current.document.title=h)}),[h]),o((function(){return M(p)}),[p]);var R=function(){D(!1),M(!1),T(!1),G(s)&&s()},N=function(){var e=I.current.document,t=e.head,n=t.querySelectorAll("style");Array.from(n).forEach((function(e){return t.removeChild(e)})),P.current.forEach((function(n){var r=n.textContent,o=n.sheet,i=e.createElement("style");if(i.appendChild(e.createTextNode("")),t.appendChild(i),r)i.appendChild(e.createTextNode(r));else{var a=i.sheet;[].forEach.call(o.cssRules,(function(e){a.insertRule(e.cssText)}))}})),requestAnimationFrame((function(){D(!0)}))},F=function(){if((!A||!I.current||I.current.closed)&&(D(!1),I.current=window.open("",c,"left=".concat(g.x,",height=").concat(a,",top=").concat(g.y,",width=").concat(y)),I.current)){var e=I.current.document.createElement("main");e.setAttribute("id",c),C(e),I.current.onbeforeunload=R,I.current.document.body.appendChild(e),I.current.document.title=h,requestAnimationFrame((function(){N(),M(!0),T(!0)}))}};return A&&B&&I.current&&w?m.createPortal(d(zd,{isLoadingStyles:!S,onOpen:u,popupWindow:I.current},t),w):null};var Gd=function(t){var i=t.children,l=t.footer,c=void 0===l?e.Fragment:l,s=t.header,p=void 0===s?e.Fragment:s,g=t.id,b=t.isNested,h=t.margin,m=void 0===h?"auto":h,v=t.onLayout,y=t.orientation,x=void 0===y?"portrait":y,w=t.parentFooterHeight,I=void 0===w?0:w,P=t.parentHeaderHeight,k=void 0===P?0:P,S=t.verticalAlign,D=void 0===S?"top":S,E=O(n("auto"),2),A=E[0],M=E[1],L=O(n("auto"),2),B=L[0],T=L[1],R=r(),N=r(),F=a((function(){return("auto"===A?0:A)+("auto"===B?0:B)+I+k}),[A,B,I,k]);return o((function(){R.current&&M(R.current.offsetHeight),N.current&&T(N.current.offsetHeight)}),[p,c,N.current,R.current]),o((function(){"auto"!==A&&"auto"!==B&&G(v)&&v()}),[A,B]),d(e.Fragment,null,!b&&d(f,{styles:u("@media print{*{-webkit-print-color-adjust:exact;}@page{margin:",m,";size:",x,";}};label:PrintLayout;",";label:PrintLayout;")}),d("table",{cellPadding:0,cellSpacing:0,css:_d.printLayoutTable,id:g},d("thead",null,d("tr",null,d("td",{css:_d.printLayoutTableCell,style:{height:B}},d("header",{ref:N,css:we([_d.header,!b&&_d.printHeader],";label:PrintLayout;")},d(p,null))))),d("tbody",null,d("tr",null,d("td",{css:we([_d.printLayoutTableCell,_d.content],";label:PrintLayout;"),style:{height:b?"calc(100vh - ".concat(F,"px)"):"auto",verticalAlign:D}},e.Children.map(i,(function(t){return t&&t.type&&("PrintLayout"===t.type.displayName||"PrintLayout"===t.type.name)?e.cloneElement(t,C(C({},t.props),{},{isNested:!0,parentFooterHeight:A,parentHeaderHeight:B})):t}))))),d("tfoot",null,d("tr",null,d("td",{css:_d.printLayoutTableCell,style:{height:A}},d("footer",{ref:R,css:we([_d.footer,!b&&_d.printFooter],";label:PrintLayout;")},d(c,null)))))))};Gd.displayName="PrintLayout";var _d={content:{name:"tq4nwl-content",styles:"height:100%;;label:content;"},footer:{name:"suv5np-footer",styles:"background-color:#fff;overflow:hidden;;label:footer;"},header:{name:"7km49f-header",styles:"background-color:#fff;overflow:hidden;;label:header;"},printFooter:{name:"13luwd5-printFooter",styles:"@media print{bottom:0;left:0;position:fixed;width:100%;};label:printFooter;"},printHeader:{name:"z4youf-printHeader",styles:"@media print{left:0;position:fixed;top:0;width:100%;};label:printHeader;"},printLayoutTable:u(Ce,";width:100%;/* Margin will be provided by @page rule in global when printing */ @media print{padding:0;page-break-after:always;page-break-before:always;page-break-inside:avoid;};label:printLayoutTable;",";label:printLayoutTable;"),printLayoutTableCell:{name:"ghbbba-printLayoutTableCell",styles:"padding:0;;label:printLayoutTableCell;"}},Wd=function(e){var t=e.autoPrint,i=e.children,a=e.closeOnPrint,l=e.id,c=e.onClose,s=e.onOpen,u=S(e,["autoPrint","children","closeOnPrint","id","onClose","onOpen"]),p=O(n(!1),2),f=p[0],g=p[1],b=O(n(!1),2),h=b[0],m=b[1],v=r();o((function(){f&&h&&y()}),[f,h]);var y=function(){G(s)&&s(v.current),t&&v.current.print()},x=function(){a&&v.current.close()};return d(Hd,k({},u,{id:l,onClose:function(){g(!1),m(!1),G(c)&&c()},onOpen:function(e){(v.current=e,v.current.document.body.style.margin="0",v.current.document.body.style.padding="0","onafterprint"in v.current)?v.current.onafterprint=x:window.matchMedia("print").addListener((function(e){return e.matches&&x()}));m(!0)}}),d(Gd,k({},u,{onLayout:function(){g(!0)}}),i))};var qd=function(e){var t=e.disabled,r=e.gridArea,i=e.keyExtractor,a=e.highlightedOption,l=e.id,c=e.labelExtractor,s=e.name,u=e.onSelect,p=e.options,f=e.orientation,g=void 0===f?"horizontal":f,h=e.selectedOption;if(!q(p)&&!W(p)&&!i)throw new Error("You must specify a keyExtractor if the options array contains non-primitive entry types");var m=O(n(h),2),v=m[0],y=m[1];o((function(){return y(h)}),[h]);var x=function(e,t){return _(e)?e.key:j(e,i,t)},w=function(e){return function(){y(e),G(u)&&u(e)}},C=a&&x(a,p.indexOf(a)),I=v&&x(v,p.indexOf(v)),P=b(Vd);return d("div",{id:l,css:we([P.container,{flexDirection:"vertical"===g?"column":"row"},r&&{gridArea:r}],";label:RadioGroup;")},p.map((function(e,n){var r=x(e,n),o=C===r,i=I===r;return d("label",{key:r,css:we([P.radioButtonContainer,"vertical"===g?P.radioButtonContainerVertical:{},o?P.radioButtonContainerHighlight:{},t?P.disabled:{},i?P.selected:{},t&&i?P.disabledSelected:{}],"")},d("input",{type:"radio",defaultChecked:i,disabled:t,onChange:w(e),name:s,value:r,css:P.radioButton}),_(e)?e.label:z(e,c,n))})))},Ud={name:"irsy5r-radioButtonContainerVertical",styles:"&:not(:last-child){margin-bottom:20px;margin-right:0;};label:radioButtonContainerVertical;"},Vd=function(e){var t=e.colorPalette;return{container:u(Ce,";align-items:flex-start;display:flex;;label:container;",";label:container;"),disabled:u("color:",t.fontLight,";cursor:not-allowed;&::before{box-shadow:0 0 0 10px ",t.neutral," inset;};label:disabled;",";label:disabled;"),disabledSelected:u("&::before{box-shadow:0 0 0 ",5,"px ",t.neutral," inset,0 0 0 ",10,"px ",t.fontLight," inset;};label:disabledSelected;",";label:disabledSelected;"),radioButton:le.visiblyHidden,radioButtonContainer:u("align-items:center;cursor:pointer;display:flex;&:focus-within::before{border-color:",t.primary,";}&:not(:last-child){margin-right:20px;}&::before{background-clip:content-box;background-color:transparent;border:1px solid ",t.border,";border-radius:50%;content:'';display:inline-block;height:",20,"px;margin-right:10px;padding:",5,"px;width:",20,"px;};label:radioButtonContainer;",";label:radioButtonContainer;"),radioButtonContainerHighlight:u("&::before{border-color:",t.highlight,";};label:radioButtonContainerHighlight;",";label:radioButtonContainerHighlight;"),radioButtonContainerVertical:Ud,selected:u("&::before{background-color:",t.primary,";};label:selected;",";label:selected;")}},$d=function(e){var t=e.children,n=e.color,r=e.id,o=O(h(),1)[0].colorPalette,i=b(Yd);return d("h3",{css:we([i.sectionHeading,{borderLeftColor:n||o.secondary}],";label:SectionHeading;"),id:r},t)},Yd=function(e){var t=e.colorPalette;return{sectionHeading:u("border-left:2px solid;color:",t.font,";font-family:'Montserrat',sans-serif;font-size:14px;font-weight:500;line-height:20px;margin:0;padding-left:7px;;label:sectionHeading;",";label:sectionHeading;")}};var Xd=function(e){var t=e.children,n=e.color,r=e.id,o=O(h(),1)[0].colorPalette;return d("h3",{css:we([Jd,{color:n||o.font}],";label:SectionTitle;"),id:r},t)},Jd={name:"f807mo-styles",styles:"font-family:'Montserrat',sans-serif;font-size:18px;font-weight:400;line-height:30px;margin-top:0;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;;label:styles;"},Kd=function(e){return Tu(e)&&e.hasOwnProperty("options")&&e.hasOwnProperty("label")&&"string"==typeof e.label},Qd=function(e){var t=e.blankOption,r=e.disabled,i=e.gridArea,c=e.highlightColor,s=e.highlighted,u=e.id,p=e.label,f=e.onSelect,g=e.optionComparator,m=e.optionKeyExtractor,v=e.optionLabelExtractor,y=e.options,x=e.placeholder,w=e.readonly,C=e.selectedOption,I=e.sortOptions,P=O(n(!1),2),S=P[0],D=P[1];if(o((function(){D(!1)}),[y]),!S&&y.length>0){var A=y.filter((function(e){return!Kd(e)}));if(D(!0),!((Kd(y[0])?q(y[0].options)||W(y[0].options):q(A)||W(A))||m))throw new Error("You must specify a keyExtractor if the options array contains non-primitive entry types")}var M=function(e){var t=0;return y.find((function(n){if(Kd(n)){var r=n.options.indexOf(e);return t+=r>-1?r:n.options.length,r>-1}return t+=n===e?0:1,n===e})),t},L=function(e){return _(e)?e.key:j(e,m,M(e))},B=O(h(),1)[0].colorPalette,T=l(g||function(e,t){var n=_(e)?e.label:z(e,v,y.indexOf(e)),r=_(t)?t.label:z(t,v,y.indexOf(t));return n>r?1:n<r?-1:0},[g]),R=a((function(){if(I){var e=y.filter(Kd).map((function(e){return{originalIndex:y.indexOf(e),group:{label:e.label,options:E(e.options).sort(T)}}})),t=y.filter((function(e){return!Kd(e)})).sort(T);return e.forEach((function(e){var n=e.originalIndex,r=e.group;t.splice(n,0,r)})),t}return y}),[y,T,I]),N=O(n((function(){return C?L(C):!x&&!t&&!r&&R&&R.length>0&&(Kd(R[0])?L(R[0].options[0]):L(R[0]))})),2),F=N[0],H=N[1];o((function(){if(C){var e=L(C);F!==e&&H(e)}else F&&H(void 0)}),[C]);var U=b(Zd),V=function(e){var t=M(e),n=L(e);return d("option",{css:U.option,key:n,value:n},_(e)?e.label:z(e,v,t))};return d("label",{css:we([U.label,i&&{gridArea:i}],";label:Select;")},p,d("select",k({id:u,css:we([!F&&U.placeholder,U.select,s&&{borderColor:c||B.highlight},w&&U.readonly],";label:Select;")},F?{"data-value":F}:{},{onChange:function(e){var t,n=e.target.value;y.find((function(e){var r=Kd(e)?e.options.find((function(e){return L(e)===n})):e;return L(r)===n&&(t=r),void 0!==t})),H(n),G(f)&&f(t)},value:F||"",disabled:r}),x&&d("option",{disabled:!0,hidden:!0,value:""},x),t&&d("option",{value:""}),R.map((function(e){return Kd(e)?d("optgroup",{key:(t=e).label,label:t.label},t.options.map(V)):V(e);var t}))))},Zd=function(e){var t=e.colorPalette;return{label:u(Ce,";color:",t.font,";display:flex;flex-direction:column;font-family:'Montserrat',sans-serif;font-size:12px;line-height:20px;position:relative;;label:label;",";label:label;"),option:u("color:",t.font,";;label:option;",";label:option;"),placeholder:u("color:",t.fontLight,";;label:placeholder;",";label:placeholder;"),readonly:u("background:none;border:none;color:",t.font,";cursor:default;padding-left:0;pointer-events:none;;label:readonly;",";label:readonly;"),select:u("appearance:none;background:#fff ",$(d(K,{color:t.font}))," calc(100% - 5px) center / 20px no-repeat;border:1px solid ",t.border,";border-radius:",le.borderRadius,';font-family:"Montserrat",sans-serif;font-size:14px;height:30px;line-height:20px;outline:none;padding:5px 30px 5px 10px;transition:border-color 0.05s linear;width:100%;&:disabled{background-color:',t.neutral,";background-image:",$(d(K,{color:t.fontLight})),";background-size:20px;color:",t.fontLight,";cursor:not-allowed;}&:focus{border-color:",t.primary,";};label:select;",";label:select;")}};function ep(){return(ep=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var tp=t("mask",{id:"header_shapes_svg__a",maskUnits:"userSpaceOnUse",x:0,y:0,width:1440,height:150},t("path",{fill:"#fff",d:"M0 0h1440v150H0z"})),np=t("g",{mask:"url(#header_shapes_svg__a)"},t("path",{opacity:.4,d:"M4.093 21.192L1.725-50.176a5 5 0 013.923-5.05l249.66-54.934a4.999 4.999 0 014.394 1.144L388.786 5.551a5.002 5.002 0 011.444 5.26L372.279 67.06a5 5 0 01-3.215 3.233L138.73 145.341a5 5 0 01-4.961-1.098L5.679 24.681a5 5 0 01-1.586-3.49zM1438.64 11.165l5.18-83.581a5 5 0 00-3.78-5.16l-286.09-71.608a4.986 4.986 0 00-4.42 1.017L995.649-19.287a4.998 4.998 0 00-1.719 2.995L970.938 118.98a5 5 0 004.653 5.83l370.079 20.533a5.005 5.005 0 004.42-2.188l87.7-129.495c.5-.74.8-1.602.85-2.495z",fill:"#47BAD1"}),t("path",{opacity:.4,d:"M341.147 35.262l214.851 26.282a5.003 5.003 0 004.313-1.605l92.293-101.841c3.011-3.322.465-8.622-4.01-8.349L337.991-31.26a5 5 0 00-4.686 5.296l3.459 56.569a5 5 0 004.383 4.657z",fill:"#A55896"}),t("path",{opacity:.4,d:"M636.066 94.071l-192.7-231.608c-1.998-2.401-1.329-6.026 1.393-7.556l302.76-170.202a5 5 0 016.809 1.908L926.159-7.729c1.532 2.725.215 6.173-2.744 7.182L641.524 95.605a5 5 0 01-5.458-1.534z",fill:"#2855A2"}),t("path",{opacity:.4,d:"M983.494 89.93L703.798 14.977c-3.017-.808-4.562-4.154-3.221-6.975l143.28-301.486a5 5 0 016.662-2.37l304.371 144.653c2.83 1.342 3.74 4.918 1.91 7.45L988.837 88.035a5 5 0 01-5.343 1.895z",fill:"#B0C600"}));function rp(e){return t("svg",ep({viewBox:"0 0 1440 150",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),tp,np)}var op={cancel:"Cancel",code:"Code",forgotPassword:"Forgot your password?",newPassword:"New password",password:"Password",repeatNewPassword:"Re-enter new password",username:"Username",changePasswordPrompt:"Enter a new password below",changePasswordSubmit:"Change password",changePasswordTitle:"Change your password",changePasswordWarning:"Passwords do not match",forceChangePasswordPrompt:"You must enter a new password",forceChangePasswordTitle:"Change your password",mfaPrompt:"A code has been sent to the email address associated with your account. Enter the code below to continue",mfaSubmit:"Submit code",mfaTitle:"Verify signin",confirmResetPasswordPrompt:"Enter the provided code along with your new password below",requestResetPasswordPrompt:"Enter your email address below and we will send a code to reset your password",resetPasswordHaveCode:"Already have a reset code?",resetPasswordSubmit:"Request reset",resetPasswordTitle:"Reset your password",signin:"Sign in",signinPrompt:"Please sign in to access your account",signout:"Sign out",signup:"Sign up now",signupPrompt:"Don't have an account?",welcomeMessage:"Hello, {username}",welcomeMessageNotSignedIn:"Welcome",welcomeMessagePunctuation:"."},ip=function(t){var r=t.allowForgotPassword,i=void 0===r||r,l=t.allowSignup,c=void 0===l||l,s=t.autocomplete,u=void 0===s||s,p=t.enforceFormCompletion,f=t.id,g=t.padding,m=void 0===g?"50px 30px 30px":g,v=t.passwordValidator,y=void 0===v?function(e,t){return e===t}:v,x=t.profileActions,w=t.repeatNewPassword,I=t.type,P=void 0===I?"external":I,k=t.onCancel,S=t.onChangePassword,D=t.onConfirmResetPassword,E=t.onForceChangePassword,A=t.onForgotPassword,M=t.onHaveResetCode,L=t.onRequestResetPassword,B=t.onSignin,T=t.onSignout,R=t.onSignup,N=t.onSubmitMfa,F=t.loading,j=t.isSignedIn,z=void 0!==j&&j,H=t.username,_=t.i18n,W=O(h(),1)[0].colorPalette,q=b(hp),U=C(C({},op),_),V=O(n(!0),2),$=V[0],Y=V[1],X=O(n("confirmResetPassword"===P),2),J=X[0],K=X[1],Q=O(n(""),2),Z=Q[0],ee=Q[1],te=O(n(""),2),ne=te[0],re=te[1],oe=O(n(""),2),ie=oe[0],ae=oe[1],le=O(n(""),2),ce=le[0],se=le[1],ue=O(n(""),2),de=ue[0],pe=ue[1],fe=O(n(""),2),ge=fe[0],be=fe[1];o((function(){ee(""),re(""),ae(""),se(""),pe(""),be("")}),[z]),o((function(){"confirmResetPassword"===P?K(!0):J&&(K(!1),pe(""))}),[P]),o((function(){w||$||Y(!0)}),[w]);var he=function(){G(E)&&E(ne)},me=function(){G(S)&&S(de,ne)},ve=function(){G(D)&&D(ge,ne,ce)},ye=function(){G(L)&&L(ge)},xe=function(){G(B)&&B(ge,de)},Ce=function(){G(N)&&N(Z)},Ie=a((function(){switch(P){case"changePassword":return U.changePasswordPrompt;case"confirmResetPassword":return U.confirmResetPasswordPrompt;case"forceChangePassword":return U.forceChangePasswordPrompt;case"mfa":return U.mfaPrompt;case"requestResetPassword":return U.requestResetPasswordPrompt;default:return U.signinPrompt}}),[_,P]),Pe=a((function(){return"changePassword"!==P&&"confirmResetPassword"!==P&&"requestResetPassword"!==P&&(z||i||c)}),[i,c,z,P]),ke=a((function(){if(!p)return!1;switch(P){case"changePassword":case"forceChangePassword":return""===ne||!$;case"confirmResetPassword":return""===ce||""===ne||!$;case"mfa":return""===Z;case"requestResetPassword":return""===ge;default:return""===de||""===ge}}),[$,Z,ne,ce,ie,de,ge,P]),Se=a((function(){switch(P){case"changePassword":case"forceChangePassword":return U.changePasswordSubmit;case"mfa":return U.mfaSubmit;case"confirmResetPassword":case"requestResetPassword":return U.resetPasswordSubmit;default:return U.signin}}),[_,P]),De=a((function(){switch(P){case"changePassword":return U.changePasswordTitle;case"confirmResetPassword":case"requestResetPassword":return U.resetPasswordTitle;case"forceChangePassword":return U.forceChangePasswordTitle;case"mfa":return U.mfaTitle;default:return d(e.Fragment,null,z?"string"==typeof U.welcomeMessage?U.welcomeMessage.replace(/\{username\}/g,H):U.welcomeMessage:U.welcomeMessageNotSignedIn,U.welcomeMessagePunctuation&&d("span",{css:q.welcomeMessagePunctuation},U.welcomeMessagePunctuation))}}),[_,z,P]);return d("div",{id:f,css:we([q.container,{padding:m}],";label:SigninForm;")},d(rp,{css:q.headerShapes}),d("h1",{css:q.welcomeMessage},De),d("section",{css:q.formContainer},z?d("ul",{css:q.actionsList},x&&x.map((function(e,t){var n=e.icon,r=e.label,o=e.onClick;return d("li",{key:t,css:q.action,onClick:o},n&&d(n,{css:q.actionIcon}),r)}))):d(e.Fragment,null,d("h2",{css:q.prompt},Ie),d("form",{autoComplete:u?"on":"off",css:q.form,onSubmit:function(e){e.preventDefault()}},("internal"===P||"requestResetPassword"===P||"confirmResetPassword"===P)&&d(As,{label:U.username,name:"username",onChange:be,value:ge,width:"100%"}),("changePassword"===P||"forceChangePassword"===P||"confirmResetPassword"===P)&&d(e.Fragment,null,"changePassword"===P&&d(Rd,{label:U.password,name:"password",onChange:pe,value:de}),"confirmResetPassword"===P&&d(As,{label:U.code,name:"code",onChange:se,value:ce,width:"100%"}),d(Rd,{label:U.newPassword,name:"password",onChange:function(e){re(e),w&&Y(y(e,ie))},value:ne}),w&&d(Rd,{highlightColor:W.error,highlighted:!$,label:U.repeatNewPassword,name:"confirmPassword",onChange:function(e){ae(e),Y(y(ne,e))},value:ie}),!$&&d("span",{css:q.changePasswordWarning},U.changePasswordWarning)),"internal"===P&&d(Rd,{label:U.password,name:"password",onChange:pe,value:de}),"mfa"===P&&d(As,{name:"code",onChange:ee,value:Z}),d("div",{css:q.formActions},d(Dt,{buttonType:"submit",disabled:ke,icon:_t,label:Se,onClick:function(){switch(P){case"changePassword":return me;case"confirmResetPassword":return ve;case"forceChangePassword":return he;case"mfa":return Ce;case"requestResetPassword":return ye;default:return xe}}()}),("changePassword"===P||"confirmResetPassword"===P||"mfa"===P||"requestResetPassword"===P)&&d("a",{css:q.cancel,onClick:function(){G(k)&&k()}},U.cancel),"requestResetPassword"===P&&d("a",{css:we([q.actionLink,q.haveResetCode],";label:SigninForm;"),onClick:function(){G(M)&&M()}},U.resetPasswordHaveCode))))),Pe&&d("footer",{css:q.userDetails},z?d(dt,{color:"transparent",icon:zt,iconColor:W.fontLight,label:U.signout,labelColor:W.font,onClick:function(){G(T)&&T()}}):d(e.Fragment,null,i&&d("a",{css:q.actionLink,onClick:function(){G(A)&&A()}},d("h2",{css:q.prompt},U.forgotPassword)),c&&d("div",null,d("h2",{css:q.prompt},U.signupPrompt),d("a",{css:q.actionLink,onClick:function(){G(R)&&R()}},U.signup)))),F&&d("div",{css:q.loading},d(He,null)))},ap={name:"t4jsst-actionIcon",styles:"height:20px;margin-right:5px;width:20px;;label:actionIcon;"},lp={name:"ed3u05-actionsList",styles:"list-style:none;margin:20px 0;padding:0;;label:actionsList;"},cp={name:"1ls4o16-container",styles:"font-family:'Montserrat',sans-serif;font-size:14px;line-height:20px;position:relative;;label:container;"},sp={name:"1yvr7hl-form",styles:"& >:not(:last-child){margin-top:10px;};label:form;"},up={name:"10mcxyr-formContainer",styles:"position:relative;;label:formContainer;"},dp={name:"19terqi-formActions",styles:"align-items:center;display:flex;flex-wrap:wrap;justify-content:space-between;margin-top:20px;;label:formActions;"},pp={name:"1iz4fyz-haveResetCode",styles:"display:inline-block;flex:0 1 100%;margin-top:10px;;label:haveResetCode;"},fp={name:"ojnf61-headerShapes",styles:"left:0;position:absolute;top:0;width:100%;;label:headerShapes;"},gp={name:"4j02rb-loading",styles:"align-items:center;background-color:rgba(255,255,255,0.85);bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0;;label:loading;"},bp={name:"1xyaf4m-welcomeMessage",styles:"font-size:18px;font-weight:normal;line-height:40px;margin:0;;label:welcomeMessage;"},hp=function(e){var t=e.colorPalette;return{action:u("border-radius:",le.borderRadius,";cursor:pointer;display:flex;padding:10px;&:hover{background-color:",t.neutral,";}&:not(:last-child){margin-bottom:10px;};label:action;",";label:action;"),actionIcon:ap,actionLink:u("color:",t.primaryDark,";cursor:pointer;text-decoration:none;&:hover{text-decoration:underline;};label:actionLink;",";label:actionLink;"),actionsList:lp,cancel:u("color:",t.secondaryDark,";cursor:pointer;font-size:12px;margin-left:10px;:hover{text-decoration:underline;};label:cancel;",";label:cancel;"),changePasswordWarning:u("color:",t.errorDark,";font-size:12px;;label:changePasswordWarning;",";label:changePasswordWarning;"),container:cp,form:sp,formContainer:up,formActions:dp,haveResetCode:pp,headerShapes:fp,loading:gp,prompt:u("color:",t.fontLight,";font-size:14px;font-weight:normal;margin:0;;label:prompt;",";label:prompt;"),userDetails:u("border-top:1px solid ",t.border,";display:flex;flex-wrap:wrap;justify-content:space-between;margin-top:30px;padding-top:20px;& > *{white-space:nowrap;:not(:last-child){margin:0 15px 15px 0;}};label:userDetails;",";label:userDetails;"),welcomeMessage:bp,welcomeMessagePunctuation:u("color:",t.secondary,";;label:welcomeMessagePunctuation;",";label:welcomeMessagePunctuation;")}};function mp(){return(mp=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var vp=t("g",{fillRule:"evenodd",clipRule:"evenodd",fill:"currentColor"},t("path",{d:"M6.667 6.667A3.332 3.332 0 1110 10a3.332 3.332 0 01-3.333-3.333zm5 0C11.667 5.75 10.917 5 10 5s-1.667.75-1.667 1.667c0 .916.75 1.666 1.667 1.666s1.667-.75 1.667-1.666zM3.333 15c0-2.217 4.442-3.333 6.667-3.333 2.225 0 6.667 1.116 6.667 3.333v1.667H3.333V15zM15 15c-.167-.592-2.75-1.667-5-1.667-2.242 0-4.808 1.067-5 1.667h10z"}));function yp(e){return t("svg",mp({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),vp)}var xp=function(e){var t=e.id,r=e.onClose,i=e.onOpen,a=e.open,l=void 0!==a&&a,c=S(e,["id","onClose","onOpen","open"]),s=O(h(),1)[0].colorPalette,u=O(n(l),2),p=u[0],f=u[1];o((function(){l!==p&&f(l)}),[l]);var g=b(Cp);return d(un,{id:t,maxHeight:"425px",onHide:r,onShow:i,open:p,padding:"0",toggle:d(dt,{allowEventPropagation:!0,color:"transparent",icon:function(e){return d(yp,k({css:g.avatar},e))},id:"signinMenu",labelColor:s.fontLight},d(K,{css:g.arrow})),width:"276px"},d(ip,c))},wp={name:"4379rd-arrow",styles:"display:flex;height:20px;width:20px;;label:arrow;"},Cp=function(e){var t=e.colorPalette;return{arrow:wp,avatar:u("background-color:",t.neutral,";border-radius:50%;padding:1px;;label:avatar;",";label:avatar;")}};var Ip=function(e){var t=e.children,n=e.color,r=e.id,o=O(h(),1)[0].colorPalette;return d("p",{css:we([Pp,{color:n||o.font}],";label:SubParagraph;"),id:r},t)},Pp={name:"1caudsj-styles",styles:"font-family:'Montserrat',sans-serif;font-size:12px;font-weight:400;line-height:20px;margin:0;;label:styles;"},kp=function(e){var t=e.children,n=e.id,r=b(Sp);return d("h2",{css:r.heading,id:n},t)},Sp=function(e){var t=e.colorPalette;return{heading:u("color:",t.font,";font-family:'Montserrat',sans-serif;font-size:24px;font-weight:400;line-height:40px;margin:0 0 30px 0;;label:heading;",";label:heading;")}};var Dp=function(e){return"function"==typeof e},Op=function(t){var i=t.cellStyle,l=t.columns,c=t.columnOptions,s=t.data,u=t.keyExtractor,p=t.id,f=t.onClickRow,g=t.preSorted,h=t.rowOptions,m=t.rowStyle,v=t.selectedRow,y=t.sortable,x=void 0!==y&&y,w=O(n(!1),2),I=w[0],S=w[1],D=O(n(),2),A=D[0],M=D[1],L=O(n(),2),B=L[0],T=L[1],R=r(),N=r(),F=r(),z=a((function(){var e;if(v){var t=s.indexOf(v);e=u?j(v,u,t):t}return e}),[v]),H=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s.length>0&&s[0];return l instanceof Array?l:"function"==typeof l&&e?l(e):[]},_=a((function(){return H().filter((function(e){var t=e.sortable;return x&&!1!==t||t}))}),[l]),W=function(e){var t={};return"max"===e?t=X.cellMax:"min"===e?t=X.cellMin:e&&(t={minWidth:e}),t},q=function(e,t){var n;if(e.hasOwnProperty("key")){var r=e.key;n=t[r]&&t[r].toString()}else if(function(e){return e.hasOwnProperty("render")}(e)){var o=e.render;n=function(e){return"function"==typeof e}(o)?o(t):o}else{var i=e.value;n=function(e){return"function"==typeof e}(i)?i(t):i}return n},U=function(e,t){return Object.keys(e||{}).reduce((function(n,r){var o=e[r];return C(C({},n),{},P({},r,"function"==typeof o?o(t):o))}),{})},V=a((function(){var e=E(s);if(_.length>0&&!g&&void 0!==B){var t=H()[B],n=t.sortableValue;e.sort((function(e,r){var o=n?j(e,n,s.indexOf(e)):q(t,e),i=n?j(r,n,s.indexOf(r)):q(t,r);return void 0===o?1:void 0===i?-1:(o>i?1:o<i?-1:0)*("ascending"===A?1:-1)}))}return e}),[s,x,A,B]);o((function(){if(_.length>0||g){var e=H(),t=e.indexOf(_.find((function(e){return e.sorted}))||_[0]),n=e[t].sorted,r=void 0===n?"ascending":n;!r||r===R.current&&t===N.current||(R.current=r,N.current=t,M(r),T(t))}}),[_]),o((function(){I&&S(!1)}),[V]);var $,Y=function(e,t){return function(){G(f)&&f(e,t)}},X=b(zp);return d("div",{css:X.container},d("table",{css:X.table,id:p},d("thead",{ref:F},d("tr",null,($=s.length>0&&s[0],H().map((function(t,n){var r,o=t.align,i=t.headingStyle,a=t.sortable,l=t.sorted,s=t.title,u=t.width,p=U(c,$).align,f=o||p,b=x&&!1!==a||a,h=l||b&&n===B;return d("th",k({key:"table_header_".concat(n),css:we([X.cell,X.headingCell,b&&X.headingCellSortable,"center"===f&&X.cellCenter,"right"===f&&X.cellRight,W(u),i],""),onClick:b?(r=n,function(){var e=H()[r].onSort,t=r===B&&"ascending"===A?"descending":"ascending";g||(S(!0),setTimeout((function(){r!==B&&T(r),M(t)}),100)),G(e)&&e(t)}):null},h?{"data-sorted":A}:{}),s,b&&d(e.Fragment,null,d(ae,{css:we([X.sortableIcon,X.sortableIconAsc,h&&"ascending"===A&&X.sortableIconActive],"")}),d(K,{css:we([X.sortableIcon,X.sortableIconDesc,h&&"descending"===A&&X.sortableIconActive],"")})))}))))),d("tbody",{css:we([X.tableBody,I&&X.tableBodySorting],";label:Table;")},V.map((function(e,t){var n=H(e),r=U(h,e).group,o="function"==typeof m?m(e,t):m,a=u?j(e,u,t):t;return d("tr",{key:a,css:we([X.tableRow,o],""),onClick:Y(e,t),"data-row-group":r},n.map((function(n,o){var l=n.align,s=n.style,u=U(c,e).align,p=(t>0&&U(h,V[t-1])).group,f=l||u,g=q(n,e),b=Dp(i)?i(e,g,o):i,m=Dp(s)?s(e,g,o):s;return d("td",{key:"row_".concat(t,"_").concat(o),css:we([X.cell,X.bodyCell,"center"===f&&X.cellCenter,"right"===f&&X.cellRight,r&&r===p&&X.cellGrouped,b,m,a===z&&X.cellSelected],"")},g)})))})))),I&&d("div",{css:we([X.loading,{top:F.current&&F.current.offsetHeight}],";label:Table;")},d(He,null)))},Ep={name:"fivor9-cellGrouped",styles:"border-top-color:transparent;;label:cellGrouped;"},Ap={name:"p5l42h-cellCenter",styles:"text-align:center;;label:cellCenter;"},Mp={name:"1yg6efn-cellMax",styles:"width:100%;;label:cellMax;"},Lp={name:"1rrcxob-cellMin",styles:"white-space:nowrap;width:1px;;label:cellMin;"},Bp={name:"nci3f4-cellRight",styles:"text-align:right;;label:cellRight;"},Tp={name:"11zwqm0-container",styles:"position:relative;;label:container;"},Rp={name:"17stf76-headingCell",styles:"font-weight:500;text-align:left;;label:headingCell;"},Np={name:"1m4x2cp-loading",styles:"align-items:flex-start;bottom:0;display:flex;justify-content:center;left:0;margin:30px;position:absolute;right:0;;label:loading;"},Fp={name:"z0gikl-sortableIconAsc",styles:"bottom:calc(50% - 5px);;label:sortableIconAsc;"},jp={name:"9w8rbw-sortableIconDesc",styles:"top:calc(50% - 5px);;label:sortableIconDesc;"},zp=function(e){var t=e.colorPalette;return{bodyCell:u("border:0px solid ",t.border,";border-top-width:1px;;label:bodyCell;",";label:bodyCell;"),cell:u("color:",t.font,";padding:9px 12px;position:relative;transition:border-color ",100,"ms linear;@media print{font-size:13px;};label:cell;",";label:cell;"),cellGrouped:Ep,cellCenter:Ap,cellMax:Mp,cellMin:Lp,cellRight:Bp,cellSelected:u("background-color:",ut(t.secondary).alpha(.1).rgb().string(),";border-bottom:1px solid var(--selected-border-color);;label:cellSelected;",";label:cellSelected;"),container:Tp,headingCell:Rp,headingCellSortable:u("cursor:pointer;padding-right:40px;transition:color 0.05s linear;&:hover{color:",t.fontLight,';&:not([data-sorted="ascending"]) > svg:first-of-type{color:',t.fontLight,';}&[data-sorted="ascending"] > svg:last-of-type{color:',t.fontLight,";}};label:headingCellSortable;",";label:headingCellSortable;"),loading:Np,sortableIcon:u("color:",t.border,";position:absolute;right:10px;width:20px;;label:sortableIcon;",";label:sortableIcon;"),sortableIconActive:u("color:",t.secondary,";;label:sortableIconActive;",";label:sortableIconActive;"),sortableIconAsc:Fp,sortableIconDesc:jp,table:u("border-bottom:1px solid ",t.border,";border-collapse:collapse;border-spacing:0;font-family:'Montserrat',sans-serif;font-size:14px;line-height:20px;width:100%;;label:table;",";label:table;"),tableBody:u("--selected-border-color:",t.secondary,";;label:tableBody;",";label:tableBody;"),tableBodySorting:u("--selected-border-color:",ut(t.secondary).alpha(.25).rgb().string(),";& > tr{opacity:0.25;transition-timing-function:ease-in;};label:tableBodySorting;",";label:tableBodySorting;"),tableRow:u("transition:opacity ",100,"ms ease-out;;label:tableRow;",";label:tableRow;")}};var Hp=function(e){var t=e.backgroundStyle,l=void 0===t?"filled":t,c=e.disabledTabs,s=void 0===c?[]:c,p=e.id,f=e.keyExtractor,g=e.labelExtractor,m=e.onSelect,v=e.scrollable,y=e.selectedTab,x=e.selectedTabColor,w=e.tabs;if(!q(w)&&!W(w)&&!f)throw new Error("You must specify a keyExtractor if the tabs array contains non-primitive entry types");var C=O(h(),1)[0].colorPalette,I=O(n(new Map),1)[0],P=O(n(new Map),2),S=P[0],D=P[1],A=O(n(H(y,w)),2),M=A[0],L=A[1],B=r(),T=a((function(){return s.map((function(e){return _(e)?e.key:j(e,f,w.indexOf(e))}))}),[s]),R=a((function(){return _(M)?M.key:j(M,f,w.indexOf(M))}),[M]);o((function(){v&&F&&B.current.scrollTo({left:F.x-10})}),[M,S]);i((function(){D(new Map(E(I).map((function(e){var t=O(e,2),n=t[0],r=t[1];return[n,{h:r.offsetHeight,w:r.offsetWidth,x:r.offsetLeft,y:r.offsetTop}]}))))}),[w]),o((function(){return L(H(y,w))}),[y]);var N=function(e){return function(){L(e),G(m)&&m(e)}},F=M&&S.get(R.toString()),U=b(_p);return d("div",{ref:B,css:we([U.container,"filled"===l&&U.containerFilled,v&&U.containerScrollable,v&&le.scrollbar],";label:Tabs;"),id:p},d("div",{css:we([U.innerContainer,"filled"!==l&&U.containerTransparent,{flexWrap:v?"nowrap":"wrap"},F&&u("&::before{background-color:",x||C.primary,";height:","transparent"===l?2:F.h,"px;left:",F.x,"px;top:","transparent"===l?"calc(100% - 3px)":"".concat(F.y,"px"),";width:",F.w,"px;};label:Tabs;",";label:Tabs;")],";label:Tabs;")},w.map((function(e,t){var n=_(e)?e.key:j(e,f,t),r=n===R,o=T.includes(n);return d("button",k({key:n,ref:function(e){return I.set(n.toString(),e)},css:we([U.tab,r?{color:"transparent"===l?C.font:"#FFF"}:u("&:hover:not(:disabled){background-color:","filled"===l?C.border:C.neutral,";}")],""),disabled:o,onClick:N(e),type:"button"},r?{"data-selected":!0}:null),_(e)?e.label:z(e,g,t))}))))},Gp={name:"nyweum-containerScrollable",styles:"flex-wrap:nowrap;overflow-x:auto;;label:containerScrollable;"},_p=function(e){var t=e.colorPalette;return{container:u("border-radius:",le.borderRadius,";max-width:100%;;label:container;",";label:container;"),containerFilled:u("background-color:",t.neutral,";;label:containerFilled;",";label:containerFilled;"),containerScrollable:Gp,containerTransparent:u("&::after{background-color:",t.border,";bottom:0;content:'';display:block;height:1px;left:0;position:absolute;right:0;};label:containerTransparent;",";label:containerTransparent;"),innerContainer:u("align-items:center;display:inline-flex;padding:",10,"px ",10,"px 0;position:relative;&::before{border-radius:",le.borderRadius,";content:'';position:absolute;transition:height 0.15s linear,left 0.15s ease-in-out,top 0.15s ease-in-out,width 0.15s linear;z-index:0;};label:innerContainer;",";label:innerContainer;"),tab:u("align-items:center;background-color:transparent;border:none;border-radius:",le.borderRadius,";color:",t.font,';cursor:pointer;display:flex;font-family:"Montserrat",sans-serif;font-size:14px;font-weight:500;justify-content:center;line-height:20px;margin-bottom:10px;outline:none;padding:5px 10px;transition:background-color 0.05s linear,color 0.1s linear 0.05s;white-space:pre;z-index:1;&:not(:last-child){margin-right:20px;}&:disabled{opacity:0.5;};label:tab;',";label:tab;")}},Wp=function(e){var t=e.disabled,r=e.gridArea,i=e.height,a=void 0===i?"auto":i,l=e.id,c=e.label,s=e.maxCharacters,p=e.maxHeight,f=void 0===p?"100%":p,g=e.maxWidth,h=void 0===g?"100%":g,m=e.onChange,v=e.placeholder,y=e.readonly,x=e.resizable,w=void 0!==x&&x,C=e.showCount,I=void 0===C||C,P=e.value,S=void 0===P?"":P,D=e.width,E=void 0===D?"100%":D,A=O(n(S),2),M=A[0],L=A[1];o((function(){S!==M&&L(S)}),[S]);var B=b(qp);return d("label",{css:we([B.label,r&&{gridArea:r},I&&u("&::after{content:attr(data-current-value-length) '",void 0!==s&&"/".concat(s),"';};label:TextArea;",";label:TextArea;"),{maxWidth:h,width:E}],";label:TextArea;"),"data-current-value-length":M?M.length:0,"data-max-count":s},c,d("textarea",k({id:l,css:we([le.scrollbar,B.textarea,{height:a,maxHeight:f,resize:w?"both":"none"}],";label:TextArea;"),value:M,placeholder:v,onChange:function(e){var t=e.target.value;L(t),G(m)&&m(t)},readOnly:y,disabled:t,maxLength:s},y?{tabIndex:-1}:{})))},qp=function(e){var t=e.colorPalette;return{label:u(Ce,";display:inline-flex;flex-direction:column;font-family:'Montserrat',sans-serif;font-size:11px;line-height:20px;&::after{color:",t.fontLight,";display:inline-block;font-size:12px;font-family:'Montserrat',sans-serif;margin:5px 5px 0 0;text-align:right;};label:label;",";label:label;"),textarea:u("border:1px solid ",t.border,";border-radius:",le.borderRadius,";color:",t.font,";font-family:'Montserrat',sans-serif;font-size:14px;font-weight:400;line-height:20px;outline:none;padding:10px;text-overflow:ellipsis;white-space:nowrap;&:disabled{background-color:",t.neutral,";cursor:not-allowed;}&:focus{border-color:",t.primary,";}&:not(:read-only){transition:border-color 0.05s linear;};label:textarea;",";label:textarea;")}};var Up=function(t){var r=t.disabled,i=t.gridArea,a=t.id,l=t.offLabel,c=t.onChange,s=t.onLabel,u=t.on,p=void 0!==u&&u,f=O(n(p),2),g=f[0],h=f[1];o((function(){p!==g&&h(p)}),[p]);var m=b(Xp);return d(e.Fragment,null,d("label",{css:we([m.label,r&&m.labelDisabled,i&&{gridArea:i}],";label:Toggle;")},l,d("div",{css:we([m.toggle,g&&m.toggleOn,r&&m.toggleDisabled,l&&m.toggleWithOffText,s&&m.toggleWithOnText],";label:Toggle;")}),s,d("input",{id:a,type:"checkbox",css:le.visiblyHidden,checked:g,disabled:r,onChange:function(e){var t=e.target.checked;h(t),G(c)&&c(t)}})))},Vp={name:"1cl8w45-labelDisabled",styles:"cursor:not-allowed;;label:labelDisabled;"},$p={name:"15v9tf5-toggleWithOffText",styles:"margin-left:7.5px;;label:toggleWithOffText;"},Yp={name:"ryyhuf-toggleWithOnText",styles:"margin-right:7.5px;;label:toggleWithOnText;"},Xp=function(e){var t=e.colorPalette;return{label:u(Ce,";align-items:center;color:",t.font,";cursor:pointer;display:inline-flex;font-family:'Montserrat',sans-serif;font-size:11px;line-height:20px;&:active > div::before,&:focus-within > div::before{border-color:",t.primary,";};label:label;",";label:label;"),labelDisabled:Vp,toggle:u("align-items:center;display:inline-flex;position:relative;&:after{background-color:",t.fontLight,";border-radius:50%;content:'';display:block;height:",14,"px;left:0;margin:",3,"px;position:absolute;top:0;transition:color 0.1s linear,transform 0.1s linear;width:",14,"px;}&:before{border:1px solid ",t.border,";border-radius:",10,"px;content:'';display:block;height:",20,"px;position:relative;width:",37,"px;};label:toggle;",";label:toggle;"),toggleDisabled:u("&::after{background-color:",t.border,";}&::before{background-color:",t.neutral,";};label:toggleDisabled;",";label:toggleDisabled;"),toggleOn:u("&:after{background-color:",t.primary,";transform:translateX(",17,"px);};label:toggleOn;",";label:toggleOn;"),toggleWithOffText:$p,toggleWithOnText:Yp}};export{Be as Accordion,Re as Breadcrumb,dt as Button,Ot as Card,Wt as Carousel,Zt as CheckBox,He as CircularProgress,B as ColorPalette,T as ColorPaletteEduqas,hn as ContextHelp,Sn as ContextMenu,Fn as DateTimePicker,Pt as DestructiveButton,ws as DragAndDropList,Ns as Email,wn as Emphasis,yd as ErrorNotification,Vs as FileInput,tu as FilterList,Du as Footer,du as Form,Nu as Header,kt as IconButton,xd as InfoNotification,As as Input,Uu as LinearProgress,Ts as Link,St as LinkButton,Xu as LocalizationMenu,Qu as Modal,hd as Notification,Gu as Page,Cd as PageTitle,Pd as Pagination,In as Paragraph,Rd as Password,un as Popup,Hd as PopupWindow,Dt as PrimaryButton,Gd as PrintLayout,Wd as PrintWindow,qd as RadioGroup,Ku as ScrollableContainer,$d as SectionHeading,Xd as SectionTitle,Qd as Select,ip as SigninForm,xp as SigninMenu,le as StylePalette,Ip as SubParagraph,kp as SubTitle,wd as SuccessNotification,Op as Table,Hp as Tabs,Wp as TextArea,Up as Toggle};
|