feffery_utils_components 0.2.0-rc11 → 0.2.0-rc13
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/DESCRIPTION +1 -1
- package/NAMESPACE +2 -0
- package/Project.toml +1 -1
- package/README.md +1 -1
- package/assets/demo.jpg +0 -0
- package/feffery_utils_components/FefferySetFavicon.py +45 -0
- package/feffery_utils_components/FefferySetTitle.py +7 -4
- package/feffery_utils_components/FefferySliderCaptcha.py +109 -0
- package/feffery_utils_components/__init__.py +2 -1
- package/feffery_utils_components/_imports_.py +4 -0
- package/feffery_utils_components/async-feffery_animated_3d_background_p5.js +1 -1
- package/feffery_utils_components/async-feffery_animated_3d_background_three.js +2 -2
- package/feffery_utils_components/async-feffery_animated_image.js +1 -1
- package/feffery_utils_components/async-feffery_aplayer.js +1 -1
- package/feffery_utils_components/async-feffery_auto_animate.js +1 -1
- package/feffery_utils_components/async-feffery_auto_fit.js +1 -1
- package/feffery_utils_components/async-feffery_captcha.js +1 -1
- package/feffery_utils_components/async-feffery_color_pickers.js +1 -1
- package/feffery_utils_components/async-feffery_dom2image.js +1 -1
- package/feffery_utils_components/async-feffery_dplayer.js +1 -1
- package/feffery_utils_components/async-feffery_emoji_picker.js +1 -1
- package/feffery_utils_components/async-feffery_excel_preview.js +1 -1
- package/feffery_utils_components/async-feffery_extra_spinner.js +1 -1
- package/feffery_utils_components/async-feffery_fancy_button.js +1 -1
- package/feffery_utils_components/async-feffery_grid.js +1 -1
- package/feffery_utils_components/async-feffery_image_cropper.js +1 -1
- package/feffery_utils_components/async-feffery_json_viewer.js +1 -1
- package/feffery_utils_components/async-feffery_local_large_storage.js +1 -1
- package/feffery_utils_components/async-feffery_markdown_editor.js +2 -2
- package/feffery_utils_components/async-feffery_motion.js +1 -1
- package/feffery_utils_components/async-feffery_music_player.js +1 -1
- package/feffery_utils_components/async-feffery_photo_sphere_viewer.js +1 -1
- package/feffery_utils_components/async-feffery_resizable.js +1 -1
- package/feffery_utils_components/async-feffery_rich_text_editor.js +2 -2
- package/feffery_utils_components/async-feffery_rnd.js +1 -1
- package/feffery_utils_components/async-feffery_seamless_scroll.js +1 -1
- package/feffery_utils_components/async-feffery_shortcut_panel.js +1 -1
- package/feffery_utils_components/async-feffery_slider_captcha.js +1 -0
- package/feffery_utils_components/async-feffery_slider_captcha.js.LICENSE.txt +1 -0
- package/feffery_utils_components/async-feffery_sortable.js +1 -1
- package/feffery_utils_components/async-feffery_word_preview.js +1 -1
- package/feffery_utils_components/async-fuc-shared.js +2 -2
- package/feffery_utils_components/feffery_utils_components.min.js +2 -2
- package/feffery_utils_components/metadata.json +298 -1
- package/feffery_utils_components/package-info.json +3 -1
- package/package.json +3 -1
- package/src/lib/components/FefferySetFavicon.react.js +58 -0
- package/src/lib/components/FefferySetTitle.react.js +21 -6
- package/src/lib/components/FefferySliderCaptcha.react.js +160 -0
- package/src/lib/fragments/FefferySliderCaptcha.react.js +102 -0
- package/src/lib/index.js +5 -1
- package/usage.py +20 -48
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonpfeffery_utils_components=window.webpackJsonpfeffery_utils_components||[]).push([[28],{528:function(f,g,e){"use strict";e.r(g);var Oe,a,O,r,w,n,j,C,je,Ce,Ee=e(1),De=e.n(Ee),v=e(227),Re=e(29);const Fe="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement;function t(e){e=Object.prototype.toString.call(e);return"[object Window]"===e||"[object global]"===e}function y(e){return"nodeType"in e}function Se(e){return e?t(e)?e:y(e)&&null!=(e=null==(e=e.ownerDocument)?void 0:e.defaultView)?e:window:window}function x(e){var t=Se(e)["Document"];return e instanceof t}function ke(e){return!t(e)&&e instanceof Se(e).HTMLElement}function D(e){return e instanceof Se(e).SVGElement}function o(e){return e?t(e)?e.document:y(e)?x(e)?e:ke(e)||D(e)?e.ownerDocument:document:document:document}const Me=Fe?Ee.useLayoutEffect:Ee.useEffect;function R(e){const r=Object(Ee.useRef)(e);return Me(()=>{r.current=e}),Object(Ee.useCallback)(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return null==r.current?void 0:r.current(...t)},[])}function Ne(e,t){void 0===t&&(t=[e]);const n=Object(Ee.useRef)(e);return Me(()=>{n.current!==e&&(n.current=e)},t),n}function Ae(t,e){const n=Object(Ee.useRef)();return Object(Ee.useMemo)(()=>{var e=t(n.current);return n.current=e},[...e])}function Be(e){const t=R(e),n=Object(Ee.useRef)(null),r=Object(Ee.useCallback)(e=>{e!==n.current&&null!=t&&t(e,n.current),n.current=e},[]);return[n,r]}function S(e){const t=Object(Ee.useRef)();return Object(Ee.useEffect)(()=>{t.current=e},[e]),t.current}let k={};function Te(t,n){return Object(Ee.useMemo)(()=>{var e;return n||(e=null==k[t]?0:k[t]+1,k[t]=e,t+"-"+e)},[t,n])}function M(a){return function(e){for(var t=arguments.length,n=new Array(1<t?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return n.reduce((e,t)=>{const n=Object.entries(t);for(const[t,r]of n){const n=e[t];null!=n&&(e[t]=n+a*r)}return e},{...e})}}const Ie=M(1),N=M(-1);function $(e){var t;if(e)return t=Se(e.target)["KeyboardEvent"],t&&e instanceof t}function Pe(e){if(function(e){var t;if(e)return t=Se(e.target)["TouchEvent"],t&&e instanceof t}(e)){var t;if(e.touches&&e.touches.length)return{clientX:n,clientY:t}=e.touches[0],{x:n,y:t};if(e.changedTouches&&e.changedTouches.length)return{clientX:n,clientY:t}=e.changedTouches[0],{x:n,y:t}}return"clientX"in(n=e)&&"clientY"in n?{x:e.clientX,y:e.clientY}:null;var n}const J=Object.freeze({Translate:{toString(e){var t;if(e)return{x:e,y:t}=e,"translate3d("+(e?Math.round(e):0)+"px, "+(t?Math.round(t):0)+"px, 0)"}},Scale:{toString(e){var t;if(e)return{scaleX:e,scaleY:t}=e,"scaleX("+e+") scaleY("+t+")"}},Transform:{toString(e){if(e)return[J.Translate.toString(e),J.Scale.toString(e)].join(" ")}},Transition:{toString(e){var{property:e,duration:t,easing:n}=e;return e+" "+t+"ms "+n}}}),A="a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";const T={display:"none"};function I(e){var{id:e,value:t}=e;return De.a.createElement("div",{id:e,style:T},t)}function L(e){var{id:e,announcement:t,ariaLiveType:n="assertive"}=e;return De.a.createElement("div",{id:e,style:{position:"fixed",width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0 0 0 0)",clipPath:"inset(100%)",whiteSpace:"nowrap"},role:"status","aria-live":n,"aria-atomic":!0},t)}const Ue=Object(Ee.createContext)(null),z={draggable:"\n To pick up a draggable item, press the space bar.\n While dragging, use the arrow keys to move the item.\n Press space again to drop the item in its new position, or press escape to cancel.\n "},F={onDragStart(e){e=e.active;return"Picked up draggable item "+e.id+"."},onDragOver(e){var{active:e,over:t}=e;return t?"Draggable item "+e.id+" was moved over droppable area "+t.id+".":"Draggable item "+e.id+" is no longer over a droppable area."},onDragEnd(e){var{active:e,over:t}=e;return t?"Draggable item "+e.id+" was dropped over droppable area "+t.id:"Draggable item "+e.id+" was dropped."},onDragCancel(e){e=e.active;return"Dragging was cancelled. Draggable item "+e.id+" was dropped."}};function Ye(e){let{announcements:n=F,container:t,hiddenTextDescribedById:r,screenReaderInstructions:a=z}=e;const{announce:o,announcement:i}=function(){const[e,t]=Object(Ee.useState)("");return{announce:Object(Ee.useCallback)(e=>{null!=e&&t(e)},[]),announcement:e}}(),l=Te("DndLiveRegion"),[c,s]=Object(Ee.useState)(!1);Object(Ee.useEffect)(()=>{s(!0)},[]);{var u=Object(Ee.useMemo)(()=>({onDragStart(e){e=e.active;o(n.onDragStart({active:e}))},onDragMove(e){var{active:e,over:t}=e;n.onDragMove&&o(n.onDragMove({active:e,over:t}))},onDragOver(e){var{active:e,over:t}=e;o(n.onDragOver({active:e,over:t}))},onDragEnd(e){var{active:e,over:t}=e;o(n.onDragEnd({active:e,over:t}))},onDragCancel(e){var{active:e,over:t}=e;o(n.onDragCancel({active:e,over:t}))}}),[o,n]);const d=Object(Ee.useContext)(Ue);Object(Ee.useEffect)(()=>{if(d)return d(u);throw new Error("useDndMonitor must be used within a children of <DndContext>")},[u,d])}return c?(e=De.a.createElement(De.a.Fragment,null,De.a.createElement(I,{id:r,value:a.draggable}),De.a.createElement(L,{id:l,announcement:i})),t?Object(Re.createPortal)(e,t):e):null}function B(){}(u=Oe=Oe||{}).DragStart="dragStart",u.DragMove="dragMove",u.DragEnd="dragEnd",u.DragCancel="dragCancel",u.DragOver="dragOver",u.RegisterDroppable="registerDroppable",u.SetDroppableDisabled="setDroppableDisabled",u.UnregisterDroppable="unregisterDroppable";const Le=Object.freeze({x:0,y:0});function P(e,t){var e=e["data"]["value"],t=t["data"]["value"];return e-t}function U(e,t){var e=e["data"]["value"],t=t["data"]["value"];return t-e}function Y(e,t,n){return void 0===t&&(t=e.left),void 0===n&&(n=e.top),{x:t+.5*e.width,y:n+.5*e.height}}const H=e=>{let{collisionRect:t,droppableRects:n,droppableContainers:r}=e;var a,o,i=Y(t,t.left,t.top),l=[];for(const e of r){const t=e["id"],r=n.get(t);if(r){a=Y(r),o=i;const n=Math.sqrt(Math.pow(a.x-o.x,2)+Math.pow(a.y-o.y,2));l.push({id:t,data:{droppableContainer:e,value:n}})}}return l.sort(P)};const He=e=>{let{collisionRect:t,droppableRects:n,droppableContainers:r}=e;var a=[];for(const e of r){const r=e["id"],o=n.get(r);if(o){const n=function(e,t){const n=Math.max(t.top,e.top),r=Math.max(t.left,e.left),a=Math.min(t.left+t.width,e.left+e.width),o=Math.min(t.top+t.height,e.top+e.height),i=a-r,l=o-n;if(r<a&&n<o){const n=t.width*t.height,r=e.width*e.height,a=i*l;return Number((a/(n+r-a)).toFixed(4))}return 0}(o,t);0<n&&a.push({id:r,data:{droppableContainer:e,value:n}})}}return a.sort(U)};function Xe(e,t){return e&&t?{x:e.left-t.left,y:e.top-t.top}:Le}const qe=function(e){for(var t=arguments.length,n=new Array(1<t?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return n.reduce((e,t)=>({...e,top:e.top+a*t.y,bottom:e.bottom+a*t.y,left:e.left+a*t.x,right:e.right+a*t.x}),{...e})};const X={ignoreTransform:!(a=1)};function ze(e,t){void 0===t&&(t=X);let n=e.getBoundingClientRect();if(t.ignoreTransform){const{transform:t,transformOrigin:c}=Se(e).getComputedStyle(e);t&&(n=(e=n,r=t,a=c,(r=(r=r).startsWith("matrix3d(")?{x:+(o=r.slice(9,-1).split(/, /))[12],y:+o[13],scaleX:+o[0],scaleY:+o[5]}:r.startsWith("matrix(")?{x:+(o=r.slice(7,-1).split(/, /))[4],y:+o[5],scaleX:+o[0],scaleY:+o[3]}:null)?({scaleX:o,scaleY:r,x:i,y:l}=r,i=e.left-i-(1-o)*parseFloat(a),l=e.top-l-(1-r)*parseFloat(a.slice(a.indexOf(" ")+1)),{width:a=o?e.width/o:e.width,height:r=r?e.height/r:e.height,top:l,right:i+a,bottom:l+r,left:i}):e))}var r,a,o,i,l;const{top:c,left:s,width:u,height:d,bottom:f,right:g}=n;return{top:c,left:s,width:u,height:d,bottom:f,right:g}}function q(e){return ze(e,{ignoreTransform:!0})}function Ke(o,i){const l=[];return o?function e(t){var r,n,a;return!(null!=i&&l.length>=i)&&t?x(t)&&null!=t.scrollingElement&&!l.includes(t.scrollingElement)?(l.push(t.scrollingElement),l):!ke(t)||D(t)||l.includes(t)||(r=Se(o).getComputedStyle(t),t!==o&&function(e,t){void 0===r&&(t=Se(e).getComputedStyle(e));const n=/(auto|scroll|overlay)/;return["overflow","overflowX","overflowY"].some(e=>{e=t[e];return"string"==typeof e&&n.test(e)})}(t,r)&&l.push(t),n=t,"fixed"===(a=void 0===(a=r)?Se(n).getComputedStyle(n):a).position)?l:e(t.parentNode):l}(o):l}function We(e){var[e]=Ke(e,1);return null!=e?e:null}function Ve(e){return Fe&&e?t(e)?e:y(e)?x(e)||e===o(e).scrollingElement?window:ke(e)?e:null:null:null}function K(e){return t(e)?e.scrollX:e.scrollLeft}function W(e){return t(e)?e.scrollY:e.scrollTop}function _e(e){return{x:K(e),y:W(e)}}function Ze(e){return Fe&&e&&e===document.scrollingElement}function V(e){var t={x:0,y:0},n=Ze(e)?{height:window.innerHeight,width:window.innerWidth}:{height:e.clientHeight,width:e.clientWidth},n={x:e.scrollWidth-n.width,y:e.scrollHeight-n.height};return{isTop:e.scrollTop<=t.y,isLeft:e.scrollLeft<=t.x,isBottom:e.scrollTop>=n.y,isRight:e.scrollLeft>=n.x,maxScroll:n,minScroll:t}}(u=O=O||{})[u.Forward=1]="Forward",u[u.Backward=-1]="Backward";const _={x:.2,y:.2};function Je(e){return e.reduce((e,t)=>Ie(e,_e(t)),Le)}const Z=[["x",["left","right"],function(e){return e.reduce((e,t)=>e+K(t),0)}],["y",["top","bottom"],function(e){return e.reduce((e,t)=>e+W(t),0)}]];class $e{constructor(t,e){this.rect=void 0,this.width=void 0,this.height=void 0,this.top=void 0,this.bottom=void 0,this.right=void 0,this.left=void 0;const n=Ke(e),r=Je(n);this.rect={...t},this.width=t.width,this.height=t.height;for(const[t,e,a]of Z)for(const o of e)Object.defineProperty(this,o,{get:()=>{var e=a(n),e=r[t]-e;return this.rect[o]+e},enumerable:!0});Object.defineProperty(this,"rect",{enumerable:!1})}}class i{constructor(e){this.target=void 0,this.listeners=[],this.removeAll=()=>{this.listeners.forEach(e=>{var t;return null==(t=this.target)?void 0:t.removeEventListener(...e)})},this.target=e}add(e,t,n){var r;null!=(r=this.target)&&r.addEventListener(e,t,n),this.listeners.push([e,t,n])}}function G(e,t){var n=Math.abs(e.x),e=Math.abs(e.y);return"number"==typeof t?Math.sqrt(n**2+e**2)>t:"x"in t&&"y"in t?n>t.x&&e>t.y:"x"in t?n>t.x:"y"in t&&e>t.y}function Q(e){e.preventDefault()}function ee(e){e.stopPropagation()}(u=r=r||{}).Click="click",u.DragStart="dragstart",u.Keydown="keydown",u.ContextMenu="contextmenu",u.Resize="resize",u.SelectionChange="selectionchange",u.VisibilityChange="visibilitychange",(u=w=w||{}).Space="Space",u.Down="ArrowDown",u.Right="ArrowRight",u.Left="ArrowLeft",u.Up="ArrowUp",u.Esc="Escape",u.Enter="Enter";const te={start:[w.Space,w.Enter],cancel:[w.Esc],end:[w.Space,w.Enter]};class ne{constructor(e){this.props=void 0,this.autoScrollEnabled=!1,this.referenceCoordinates=void 0,this.listeners=void 0,this.windowListeners=void 0;var{target:t}=(this.props=e)["event"];this.props=e,this.listeners=new i(o(t)),this.windowListeners=new i(Se(t)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){this.handleStart(),this.windowListeners.add(r.Resize,this.handleCancel),this.windowListeners.add(r.VisibilityChange,this.handleCancel),setTimeout(()=>this.listeners.add(r.Keydown,this.handleKeyDown))}handleStart(){var e,t,n,r,{activeNode:a,onStart:o}=this.props,a=a.node.current;a&&(void 0===e&&(e=ze),a)&&({top:e,left:t,bottom:n,right:r}=e(a),We(a))&&(n<=0||r<=0||e>=window.innerHeight||t>=window.innerWidth)&&a.scrollIntoView({block:"center",inline:"center"}),o(Le)}handleKeyDown(e){if($(e)){var{active:t,context:n,options:r}=this.props,{keyboardCodes:r=te,coordinateGetter:a=(e,t)=>{var n=t["currentCoordinates"];switch(e.code){case w.Right:return{...n,x:n.x+25};case w.Left:return{...n,x:n.x-25};case w.Down:return{...n,y:n.y+25};case w.Up:return{...n,y:n.y-25}}},scrollBehavior:o="smooth"}=r,i=e["code"];if(r.end.includes(i))this.handleEnd(e);else if(r.cancel.includes(i))this.handleCancel(e);else{var r=n.current["collisionRect"],i=r?{x:r.left,y:r.top}:Le,l=(this.referenceCoordinates||(this.referenceCoordinates=i),a(e,{active:t,context:n.current,currentCoordinates:i}));if(l){var c=N(l,i),s={x:0,y:0},r=n.current["scrollableAncestors"];for(const m of r){var u=e.code,{isTop:d,isRight:f,isLeft:g,isBottom:v,maxScroll:b,minScroll:h}=V(m),p=function(e){if(e===document.scrollingElement){const{innerWidth:e,innerHeight:t}=window;return{top:0,left:0,right:e,bottom:t,width:e,height:t}}const{top:t,left:n,right:r,bottom:a}=e.getBoundingClientRect();return{top:t,left:n,right:r,bottom:a,width:e.clientWidth,height:e.clientHeight}}(m),p={x:Math.min(u===w.Right?p.right-p.width/2:p.right,Math.max(u===w.Right?p.left:p.left+p.width/2,l.x)),y:Math.min(u===w.Down?p.bottom-p.height/2:p.bottom,Math.max(u===w.Down?p.top:p.top+p.height/2,l.y))},f=u===w.Right&&!f||u===w.Left&&!g,g=u===w.Down&&!v||u===w.Up&&!d;if(f&&p.x!==l.x){const e=m.scrollLeft+c.x,y=u===w.Right&&e<=b.x||u===w.Left&&e>=h.x;if(y&&!c.y)return void m.scrollTo({left:e,behavior:o});s.x=y?m.scrollLeft-e:u===w.Right?m.scrollLeft-b.x:m.scrollLeft-h.x,s.x&&m.scrollBy({left:-s.x,behavior:o});break}if(g&&p.y!==l.y){const e=m.scrollTop+c.y,x=u===w.Down&&e<=b.y||u===w.Up&&e>=h.y;if(x&&!c.x)return void m.scrollTo({top:e,behavior:o});s.y=x?m.scrollTop-e:u===w.Down?m.scrollTop-b.y:m.scrollTop-h.y,s.y&&m.scrollBy({top:-s.y,behavior:o});break}}this.handleMove(e,Ie(N(l,this.referenceCoordinates),s))}}}}handleMove(e,t){var n=this.props["onMove"];e.preventDefault(),n(t)}handleEnd(e){var t=this.props["onEnd"];e.preventDefault(),this.detach(),t()}handleCancel(e){var t=this.props["onCancel"];e.preventDefault(),this.detach(),t()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll()}}function re(e){return Boolean(e&&"distance"in e)}function ae(e){return Boolean(e&&"delay"in e)}ne.activators=[{eventName:"onKeyDown",handler:(e,t,n)=>{var{keyboardCodes:t=te,onActivation:r}=t,n=n["active"],a=e.nativeEvent["code"];if(t.start.includes(a)){const t=n.activatorNode.current;return!(t&&e.target!==t||(e.preventDefault(),null!=r&&r({event:e.nativeEvent}),0))}return!1}}];class oe{constructor(e,t,n){var r=(void 0===n&&(a=e.event.target,r=Se(a).EventTarget,n=a instanceof r?a:o(a)),this.props=void 0,this.events=void 0,this.autoScrollEnabled=!0,this.document=void 0,this.activated=!1,this.initialCoordinates=void 0,this.timeoutId=null,this.listeners=void 0,this.documentListeners=void 0,this.windowListeners=void 0,this.props=e,this.events=t,e)["event"],a=r["target"];this.props=e,this.events=t,this.document=o(a),this.documentListeners=new i(this.document),this.listeners=new i(n),this.windowListeners=new i(Se(a)),this.initialCoordinates=null!=(e=Pe(r))?e:Le,this.handleStart=this.handleStart.bind(this),this.handleMove=this.handleMove.bind(this),this.handleEnd=this.handleEnd.bind(this),this.handleCancel=this.handleCancel.bind(this),this.handleKeydown=this.handleKeydown.bind(this),this.removeTextSelection=this.removeTextSelection.bind(this),this.attach()}attach(){var{events:e,props:{options:{activationConstraint:t,bypassActivationConstraint:n}}}=this;if(this.listeners.add(e.move.name,this.handleMove,{passive:!1}),this.listeners.add(e.end.name,this.handleEnd),this.windowListeners.add(r.Resize,this.handleCancel),this.windowListeners.add(r.DragStart,Q),this.windowListeners.add(r.VisibilityChange,this.handleCancel),this.windowListeners.add(r.ContextMenu,Q),this.documentListeners.add(r.Keydown,this.handleKeydown),t){if(null!=n&&n({event:this.props.event,activeNode:this.props.activeNode,options:this.props.options}))return this.handleStart();if(ae(t))return void(this.timeoutId=setTimeout(this.handleStart,t.delay));if(re(t))return}this.handleStart()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll(),setTimeout(this.documentListeners.removeAll,50),null!==this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=null)}handleStart(){var e=this["initialCoordinates"],t=this.props["onStart"];e&&(this.activated=!0,this.documentListeners.add(r.Click,ee,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(r.SelectionChange,this.removeTextSelection),t(e))}handleMove(e){var{activated:t,initialCoordinates:n,props:r}=this,{onMove:r,options:{activationConstraint:a}}=r;if(n){var o=null!=(o=Pe(e))?o:Le,n=N(n,o);if(!t&&a){if(re(a)){if(null!=a.tolerance&&G(n,a.tolerance))return this.handleCancel();if(G(n,a.distance))return this.handleStart()}return ae(a)&&G(n,a.tolerance)?this.handleCancel():void 0}e.cancelable&&e.preventDefault(),r(o)}}handleEnd(){var e=this.props["onEnd"];this.detach(),e()}handleCancel(){var e=this.props["onCancel"];this.detach(),e()}handleKeydown(e){e.code===w.Esc&&this.handleCancel()}removeTextSelection(){var e;null!=(e=this.document.getSelection())&&e.removeAllRanges()}}const ie={move:{name:"pointermove"},end:{name:"pointerup"}};class le extends oe{constructor(e){var t=e["event"],t=o(t.target);super(e,ie,t)}}le.activators=[{eventName:"onPointerDown",handler:(e,t)=>{e=e.nativeEvent,t=t.onActivation;return!(!e.isPrimary||0!==e.button||(null!=t&&t({event:e}),0))}}];const ce={move:{name:"mousemove"},end:{name:"mouseup"}},se=(n=n||{},n[n.RightClick=2]="RightClick",class extends oe{constructor(e){super(e,ce,o(e.event.target))}}.activators=[{eventName:"onMouseDown",handler:(e,t)=>{e=e.nativeEvent,t=t.onActivation;return e.button!==n.RightClick&&(null!=t&&t({event:e}),!0)}}],{move:{name:"touchmove"},end:{name:"touchend"}});function Ge(e){let{acceleration:a,activator:t=j.Pointer,canScroll:o,draggingRect:n,enabled:i,interval:l=5,order:r=C.TreeOrder,pointerCoordinates:c,scrollableAncestors:s,scrollableAncestorRects:u,delta:d,threshold:f}=e;const g=function(){let{delta:r,disabled:a}={delta:d,disabled:!i};const o=S(r);return Ae(e=>{var t,n;return!a&&o&&e?(t=Math.sign(r.x-o.x),n=Math.sign(r.y-o.y),{x:{[O.Backward]:e.x[O.Backward]||-1===t,[O.Forward]:e.x[O.Forward]||1===t},y:{[O.Backward]:e.y[O.Backward]||-1===n,[O.Forward]:e.y[O.Forward]||1===n}}):ue},[a,r,o])}(),[v,b]=function(){const n=Object(Ee.useRef)(null);return[Object(Ee.useCallback)((e,t)=>{n.current=setInterval(e,t)},[]),Object(Ee.useCallback)(()=>{null!==n.current&&(clearInterval(n.current),n.current=null)},[])]}(),h=Object(Ee.useRef)({x:0,y:0}),p=Object(Ee.useRef)({x:0,y:0}),m=Object(Ee.useMemo)(()=>{switch(t){case j.Pointer:return c?{top:c.y,bottom:c.y,left:c.x,right:c.x}:null;case j.DraggableRect:return n}},[t,n,c]),y=Object(Ee.useRef)(null),x=Object(Ee.useCallback)(()=>{var e,t,n=y.current;n&&(e=h.current.x*p.current.x,t=h.current.y*p.current.y,n.scrollBy(e,t))},[]),w=Object(Ee.useMemo)(()=>r===C.TreeOrder?[...s].reverse():s,[r,s]);Object(Ee.useEffect)(()=>{if(i&&s.length&&m){for(const t of w)if(!1!==(null==o?void 0:o(t))){var e=s.indexOf(t),e=u[e];if(e){const{direction:n,speed:i}=function(e,t,n,r,a){var{top:n,left:o,right:i,bottom:l}=n,{isTop:e,isBottom:c,isLeft:s,isRight:u}=(void 0===r&&(r=10),void 0===a&&(a=_),V(e)),d={x:0,y:0},f={x:0,y:0},g=t.height*a.y,a=t.width*a.x;return!e&&n<=t.top+g?(d.y=O.Backward,f.y=r*Math.abs((t.top+g-n)/g)):!c&&l>=t.bottom-g&&(d.y=O.Forward,f.y=r*Math.abs((t.bottom-g-l)/g)),!u&&i>=t.right-a?(d.x=O.Forward,f.x=r*Math.abs((t.right-a-i)/a)):!s&&o<=t.left+a&&(d.x=O.Backward,f.x=r*Math.abs((t.left+a-o)/a)),{direction:d,speed:f}}(t,e,m,a,f);for(const r of["x","y"])g[r][n[r]]||(i[r]=0,n[r]=0);if(0<i.x||0<i.y)return b(),y.current=t,v(x,l),h.current=i,void(p.current=n)}}h.current={x:0,y:0},p.current={x:0,y:0}}b()},[a,x,o,b,i,l,JSON.stringify(m),JSON.stringify(g),v,s,w,u,JSON.stringify(f)])}(class extends oe{constructor(e){super(e,se)}static setup(){return window.addEventListener(se.move.name,e,{capture:!1,passive:!1}),function(){window.removeEventListener(se.move.name,e)};function e(){}}}).activators=[{eventName:"onTouchStart",handler:(e,t)=>{var e=e["nativeEvent"],t=t["onActivation"],n=e["touches"];return!(1<n.length||(null!=t&&t({event:e}),0))}}],(u=j=j||{})[u.Pointer=0]="Pointer",u[u.DraggableRect=1]="DraggableRect",(u=C=C||{})[u.TreeOrder=0]="TreeOrder",u[u.ReversedTreeOrder=1]="ReversedTreeOrder";const ue={x:{[O.Backward]:!1,[O.Forward]:!1},y:{[O.Backward]:!1,[O.Forward]:!1}},Qe=((u=je=je||{})[u.Always=0]="Always",u[u.BeforeDragging=1]="BeforeDragging",u[u.WhileDragging=2]="WhileDragging",(c=c||{}).Optimized="optimized",new Map);function et(t,n){return Ae(e=>t?e||("function"==typeof n?n(t):t):null,[n,t])}function tt(e){let{callback:t,disabled:n}=e;const r=R(t),a=Object(Ee.useMemo)(()=>{var e;if(!n&&"undefined"!=typeof window&&void 0!==window.ResizeObserver)return e=window["ResizeObserver"],new e(r)},[n]);return Object(Ee.useEffect)(()=>()=>null==a?void 0:a.disconnect(),[a]),a}function de(e){return new $e(ze(e),e)}function nt(a,n,r){void 0===n&&(n=de);const[e,o]=Object(Ee.useReducer)(function(e){var t;return a?!1===a.isConnected?null!=(t=null!=e?e:r)?t:null:(t=n(a),JSON.stringify(e)===JSON.stringify(t)?e:t):null},null),t=function(){let{callback:e,disabled:t}={callback(e){if(a)for(const t of e){const{type:e,target:n}=t;if("childList"===e&&n instanceof HTMLElement&&n.contains(a)){o();break}}}};const n=R(e),r=Object(Ee.useMemo)(()=>{var e;if(!t&&"undefined"!=typeof window&&void 0!==window.MutationObserver)return e=window["MutationObserver"],new e(n)},[n,t]);return Object(Ee.useEffect)(()=>()=>null==r?void 0:r.disconnect(),[r]),r}(),i=tt({callback:o});return Me(()=>{o(),a?(null!=i&&i.observe(a),null!=t&&t.observe(document.body,{childList:!0,subtree:!0})):(null!=i&&i.disconnect(),null!=t&&t.disconnect())},[a]),e}const rt=[];function at(t,e){void 0===e&&(e=[]);const n=Object(Ee.useRef)(null);return Object(Ee.useEffect)(()=>{n.current=null},e),Object(Ee.useEffect)(()=>{var e=t!==Le;e&&!n.current&&(n.current=t),!e&&n.current&&(n.current=null)},[t]),n.current?N(t,n.current):Le}function ot(n){return Object(Ee.useMemo)(()=>{return n?(e=n.innerWidth,t=n.innerHeight,{top:0,left:0,right:e,bottom:t,width:e,height:t}):null;var e,t},[n])}const it=[];const lt=[{sensor:le,options:{}},{sensor:ne,options:{}}],ct={current:{}},st={draggable:{measure:q},droppable:{measure:q,strategy:je.WhileDragging,frequency:c.Optimized},dragOverlay:{measure:ze}};class l extends Map{get(e){return null!=e&&null!=(e=super.get(e))?e:void 0}toArray(){return Array.from(this.values())}getEnabled(){return this.toArray().filter(e=>{e=e.disabled;return!e})}getNodeFor(e){return null!=(e=null==(e=this.get(e))?void 0:e.node.current)?e:void 0}}const fe={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map,droppableRects:new Map,droppableContainers:new l,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:B},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:st,measureDroppableContainers:B,windowRect:null,measuringScheduled:!1},ge={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:B,draggableNodes:new Map,over:null,measureDroppableContainers:B},ut=Object(Ee.createContext)(ge),dt=Object(Ee.createContext)(fe);function ft(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new l}}}function gt(e,t){switch(t.type){case Oe.DragStart:return{...e,draggable:{...e.draggable,initialCoordinates:t.initialCoordinates,active:t.active}};case Oe.DragMove:return e.draggable.active?{...e,draggable:{...e.draggable,translate:{x:t.coordinates.x-e.draggable.initialCoordinates.x,y:t.coordinates.y-e.draggable.initialCoordinates.y}}}:e;case Oe.DragEnd:case Oe.DragCancel:return{...e,draggable:{...e.draggable,active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}}};case Oe.RegisterDroppable:var n=t["element"],r=n["id"],a=new l(e.droppable.containers);return a.set(r,n),{...e,droppable:{...e.droppable,containers:a}};case Oe.SetDroppableDisabled:var{id:r,key:n,disabled:a}=t,o=e.droppable.containers.get(r);return o&&n===o.key?((n=new l(e.droppable.containers)).set(r,{...o,disabled:a}),{...e,droppable:{...e.droppable,containers:n}}):e;case Oe.UnregisterDroppable:var{id:r,key:o}=t,a=e.droppable.containers.get(r);return a&&o===a.key?((n=new l(e.droppable.containers)).delete(r),{...e,droppable:{...e.droppable,containers:n}}):e;default:return e}}function vt(e){let r=e["disabled"];const{active:t,activatorEvent:a,draggableNodes:o}=Object(Ee.useContext)(ut),i=S(a),l=S(null==t?void 0:t.id);return Object(Ee.useEffect)(()=>{if(!r&&!a&&i&&null!=l&&$(i)&&document.activeElement!==i.target){var e=o.get(l);if(e){const{activatorNode:r,node:n}=e;(r.current||n.current)&&requestAnimationFrame(()=>{for(const t of[r.current,n.current])if(t){const r=(e=t).matches(A)?e:e.querySelector(A);if(r){r.focus();break}}var e})}}},[a,r,o,l,i]),null}const bt=Object(Ee.createContext)({...Le,scaleX:1,scaleY:1}),ve=((u=Ce=Ce||{})[u.Uninitialized=0]="Uninitialized",u[u.Initializing=1]="Initializing",u[u.Initialized=2]="Initialized",Object(Ee.memo)(function(e){var t,n,z,r,F;let{id:B,accessibility:P,autoScroll:a=!0,children:U,sensors:Y=lt,collisionDetection:H=He,measuring:X,modifiers:q,...K}=e;const W=Object(Ee.useReducer)(gt,void 0,ft),[V,l]=W,[s,_]=function(){const[t]=Object(Ee.useState)(()=>new Set),e=Object(Ee.useCallback)(e=>(t.add(e),()=>t.delete(e)),[t]);return[Object(Ee.useCallback)(e=>{let{type:n,event:r}=e;t.forEach(e=>{var t;return null==(t=e[n])?void 0:t.call(e,r)})},[t]),e]}(),[Z,J]=Object(Ee.useState)(Ce.Uninitialized),b=Z===Ce.Initialized,{draggable:{active:o,nodes:c,translate:h},droppable:{containers:i}}=V,$=o?c.get(o):null,G=Object(Ee.useRef)({initial:null,translated:null}),u=Object(Ee.useMemo)(()=>{var e;return null!=o?{id:o,data:null!=(e=null==$?void 0:$.data)?e:ct,rect:G}:null},[o,$]),d=Object(Ee.useRef)(null),[Q,ee]=Object(Ee.useState)(null),[f,te]=Object(Ee.useState)(null),g=Ne(K,Object.values(K)),ne=Te("DndDescribedBy",B),re=Object(Ee.useMemo)(()=>i.getEnabled(),[i]),p=(t=X,Object(Ee.useMemo)(()=>({draggable:{...st.draggable,...null==t?void 0:t.draggable},droppable:{...st.droppable,...null==t?void 0:t.droppable},dragOverlay:{...st.dragOverlay,...null==t?void 0:t.dragOverlay}}),[null==t?void 0:t.draggable,null==t?void 0:t.droppable,null==t?void 0:t.dragOverlay])),{droppableRects:v,measureDroppableContainers:m,measuringScheduled:ae}=function(r){let{dragging:a,dependencies:e,config:t}={dragging:b,dependencies:[h.x,h.y],config:p.droppable};const[o,n]=Object(Ee.useState)(null),{frequency:i,measure:l,strategy:c}=t,s=Object(Ee.useRef)(r),u=function(){switch(c){case je.Always:return!1;case je.BeforeDragging:return a;default:return!a}}(),d=Ne(u),f=Object(Ee.useCallback)(function(e){void 0===e&&(e=[]),d.current||n(t=>null===t?e:t.concat(e.filter(e=>!t.includes(e))))},[d]),g=Object(Ee.useRef)(null),v=Ae(e=>{if(u&&!a)return Qe;if(e&&e!==Qe&&s.current===r&&null==o)return e;{const e=new Map;for(var t of r)if(t)if(o&&0<o.length&&!o.includes(t.id)&&t.rect.current)e.set(t.id,t.rect.current);else{const r=t.node.current,n=r?new $e(l(r),r):null;(t.rect.current=n)&&e.set(t.id,n)}return e}},[r,o,a,u,l]);return Object(Ee.useEffect)(()=>{s.current=r},[r]),Object(Ee.useEffect)(()=>{u||f()},[a,u]),Object(Ee.useEffect)(()=>{o&&0<o.length&&n(null)},[JSON.stringify(o)]),Object(Ee.useEffect)(()=>{u||"number"!=typeof i||null!==g.current||(g.current=setTimeout(()=>{f(),g.current=null},i))},[i,u,f,...e]),{droppableRects:v,measureDroppableContainers:f,measuringScheduled:null!=o}}(re),y=function(e,t){const n=null!==t?e.get(t):void 0,r=n?n.node.current:null;return Ae(e=>{return null!==t&&null!=(e=null!=r?r:e)?e:null},[r,t])}(c,o),oe=Object(Ee.useMemo)(()=>f?Pe(f):null,[f]),ie=(e=!1===(null==Q?void 0:Q.autoScrollEnabled),A="object"==typeof a?!1===a.enabled:!1===a,e=b&&!e&&!A,"object"==typeof a?{...a,enabled:e}:{enabled:e}),le=et(y,p.draggable.measure);{let{activeNode:n,measure:r,initialRect:a,config:e=!0}={activeNode:o?c.get(o):null,config:ie.layoutShiftCompensation,initialRect:le,measure:p.draggable.measure};const T=Object(Ee.useRef)(!1),{x:I,y:L}="boolean"==typeof e?{x:e,y:e}:e;Me(()=>{if((I||L)&&n){if(!T.current&&a){var e=null==n?void 0:n.node.current;if(e&&!1!==e.isConnected){var t=Xe(r(e),a);if(I||(t.x=0),L||(t.y=0),T.current=!0,0<Math.abs(t.x)||0<Math.abs(t.y)){const n=We(e);n&&n.scrollBy({top:t.y,left:t.x})}}}}else T.current=!1},[n,I,L,a,r])}const x=nt(y,p.draggable.measure,le),ce=nt(y?y.parentElement:null),w=Object(Ee.useRef)({activatorEvent:null,active:null,activeNode:y,collisionRect:null,collisions:null,droppableRects:v,draggableNodes:c,draggingNode:null,draggingNodeRect:null,droppableContainers:i,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),se=i.getNodeFor(null==(A=w.current.over)?void 0:A.id),O=function(){let r={measure:p.dragOverlay.measure}["measure"];const[e,a]=Object(Ee.useState)(null),n=tt({callback:Object(Ee.useCallback)(e=>{for(const{target:n}of e)if(ke(n)){a(e=>{var t=r(n);return e?{...e,width:t.width,height:t.height}:t});break}},[r])}),t=Object(Ee.useCallback)(e=>{var t=(e=e)?!(1<e.children.length)&&ke(t=e.children[0])?t:e:null;null!=n&&n.disconnect(),t&&null!=n&&n.observe(t),a(t?r(t):null)},[r,n]),[o,i]=Be(t);return Object(Ee.useMemo)(()=>({nodeRef:o,rect:e,setRef:i}),[e,o,i])}(),j=null!=(e=O.nodeRef.current)?e:y,C=b?null!=(A=O.rect)?A:x:null,ue=Boolean(O.nodeRef.current&&O.rect),de=Xe(e=ue?null:x,et(e)),fe=ot(j?Se(j):null),E=function(t){const n=Object(Ee.useRef)(t),e=Ae(e=>t?e&&e!==rt&&t&&n.current&&t.parentNode===n.current.parentNode?e:Ke(t):rt,[t]);return Object(Ee.useEffect)(()=>{n.current=t},[t]),e}(b?null!=se?se:y:null),D=function(e,t){void 0===t&&(t=ze);const[n]=e,r=ot(n?Se(n):null),[a,o]=Object(Ee.useReducer)(function(){return e.length?e.map(e=>Ze(e)?r:new $e(t(e),e)):it},it),i=tt({callback:o});return 0<e.length&&a===it&&o(),Me(()=>{e.length?e.forEach(e=>null==i?void 0:i.observe(e)):(null!=i&&i.disconnect(),o())},[e]),a}(E),R=function(e,t){let{transform:n,...r}=t;return null!=e&&e.length?e.reduce((e,t)=>t({transform:e,...r}),n):n}(q,{transform:{x:h.x-de.x,y:h.y-de.y,scaleX:1,scaleY:1},activatorEvent:f,active:u,activeNodeRect:x,containerNodeRect:ce,draggingNodeRect:C,over:w.current.over,overlayNodeRect:O.rect,scrollableAncestors:E,scrollableAncestorRects:D,windowRect:fe}),ge=oe?Ie(oe,h):null,ve=function(r){const[e,a]=Object(Ee.useState)(null),o=Object(Ee.useRef)(r),i=Object(Ee.useCallback)(e=>{const t=Ve(e.target);t&&a(e=>e?(e.set(t,_e(t)),new Map(e)):null)},[]);return Object(Ee.useEffect)(()=>{const e=o.current;var t;return r!==e&&(n(e),t=r.map(e=>{e=Ve(e);return e?(e.addEventListener("scroll",i,{passive:!0}),[e,_e(e)]):null}).filter(e=>null!=e),a(t.length?new Map(t):null),o.current=r),()=>{n(r),n(e)};function n(e){e.forEach(e=>{e=Ve(e);null!=e&&e.removeEventListener("scroll",i)})}},[i,r]),Object(Ee.useMemo)(()=>r.length?e?Array.from(e.values()).reduce((e,t)=>Ie(e,t),Le):Je(r):Le,[r,e])}(E),be=at(ve),he=at(ve,[x]),S=Ie(R,be),k=C?qe(C,R):null,M=u&&k?H({active:u,collisionRect:k,droppableRects:v,droppableContainers:re,pointerCoordinates:ge}):null,pe=(A=M,e="id",A&&0!==A.length?([A]=A,e?A[e]:A):null),[N,me]=Object(Ee.useState)(null),ye=(e=ue?R:Ie(R,he),A=null!=(A=null==N?void 0:N.rect)?A:null,r=x,{...e,scaleX:A&&r?A.width/r.width:1,scaleY:A&&r?A.height/r.height:1}),xe=Object(Ee.useCallback)((e,t)=>{var{sensor:t,options:n}=t;if(null!=d.current){var r=c.get(d.current);if(r){const i=e.nativeEvent,o=new t({active:d.current,activeNode:r,event:i,options:n,context:w,onStart(e){const t=d.current;if(null!=t){var n=c.get(t);if(n){const r=g.current["onDragStart"],a={active:{id:t,data:n.data,rect:G}};Object(Re.unstable_batchedUpdates)(()=>{null!=r&&r(a),J(Ce.Initializing),l({type:Oe.DragStart,initialCoordinates:e,active:t}),s({type:"onDragStart",event:a})})}}},onMove(e){l({type:Oe.DragMove,coordinates:e})},onEnd:a(Oe.DragEnd),onCancel:a(Oe.DragCancel)});function a(o){return async function(){var{active:e,collisions:t,over:n,scrollAdjustedTranslate:r}=w.current;let a=null;if(e&&r){const Re=g.current["cancelDrop"];a={activatorEvent:i,active:e,collisions:t,delta:r,over:n},o!==Oe.DragEnd||"function"!=typeof Re||await Promise.resolve(Re(a))&&(o=Oe.DragCancel)}d.current=null,Object(Re.unstable_batchedUpdates)(()=>{l({type:o}),J(Ce.Uninitialized),me(null),ee(null),te(null);var e=o===Oe.DragEnd?"onDragEnd":"onDragCancel";if(a){const o=g.current[e];null!=o&&o(a),s({type:e,event:a})}})}}Object(Re.unstable_batchedUpdates)(()=>{ee(o),te(e.nativeEvent)})}}},[c]),we=(n=Y,z=Object(Ee.useCallback)((a,o)=>(e,t)=>{var n=e.nativeEvent,r=c.get(t);null!==d.current||!r||n.dndKit||n.defaultPrevented||!0===a(e,o.options,{active:r})&&(n.dndKit={capturedBy:o.sensor},d.current=t,xe(e,o))},[c,xe]),Object(Ee.useMemo)(()=>n.reduce((e,t)=>{var n=t["sensor"];return[...e,...n.activators.map(e=>({eventName:e.eventName,handler:z(e.handler,t)}))]},[]),[n,z]));F=Y,Object(Ee.useEffect)(()=>{if(Fe){const t=F.map(e=>{e=e.sensor;return null==e.setup?void 0:e.setup()});return()=>{for(const e of t)null!=e&&e()}}},F.map(e=>{e=e.sensor;return e})),Me(()=>{x&&Z===Ce.Initializing&&J(Ce.Initialized)},[x,Z]),Object(Ee.useEffect)(()=>{const e=g.current["onDragMove"],{active:t,activatorEvent:n,collisions:r,over:a}=w.current;if(t&&n){const o={active:t,activatorEvent:n,collisions:r,delta:{x:S.x,y:S.y},over:a};Object(Re.unstable_batchedUpdates)(()=>{null!=e&&e(o),s({type:"onDragMove",event:o})})}},[S.x,S.y]),Object(Ee.useEffect)(()=>{var{active:e,activatorEvent:t,collisions:n,droppableContainers:r,scrollAdjustedTranslate:a}=w.current;if(e&&null!=d.current&&t&&a){const o=g.current["onDragOver"],i=r.get(pe),l=i&&i.rect.current?{id:i.id,rect:i.rect.current,data:i.data,disabled:i.disabled}:null,c={active:e,activatorEvent:t,collisions:n,delta:{x:a.x,y:a.y},over:l};Object(Re.unstable_batchedUpdates)(()=>{me(l),null!=o&&o(c),s({type:"onDragOver",event:c})})}},[pe]),Me(()=>{w.current={activatorEvent:f,active:u,activeNode:y,collisionRect:k,collisions:M,droppableRects:v,draggableNodes:c,draggingNode:j,draggingNodeRect:C,droppableContainers:i,over:N,scrollableAncestors:E,scrollAdjustedTranslate:S},G.current={initial:C,translated:k}},[u,y,M,k,c,j,C,v,i,N,E,S]),Ge({...ie,delta:h,draggingRect:k,pointerCoordinates:ge,scrollableAncestors:E,scrollableAncestorRects:D});var e=Object(Ee.useMemo)(()=>({active:u,activeNode:y,activeNodeRect:x,activatorEvent:f,collisions:M,containerNodeRect:ce,dragOverlay:O,draggableNodes:c,droppableContainers:i,droppableRects:v,over:N,measureDroppableContainers:m,scrollableAncestors:E,scrollableAncestorRects:D,measuringConfiguration:p,measuringScheduled:ae,windowRect:fe}),[u,y,x,f,M,ce,O,c,i,v,N,m,E,D,p,ae,fe]),A=Object(Ee.useMemo)(()=>({activatorEvent:f,activators:we,active:u,activeNodeRect:x,ariaDescribedById:{draggable:ne},dispatch:l,draggableNodes:c,over:N,measureDroppableContainers:m}),[f,we,u,x,l,ne,c,N,m]);return De.a.createElement(Ue.Provider,{value:_},De.a.createElement(ut.Provider,{value:A},De.a.createElement(dt.Provider,{value:e},De.a.createElement(bt.Provider,{value:ye},U)),De.a.createElement(vt,{disabled:!1===(null==P?void 0:P.restoreFocus)})),De.a.createElement(Ye,{...P,hiddenTextDescribedById:ne}))})),be=Object(Ee.createContext)(null),he="button";const pe={timeout:25};function me(e,t,n){e=e.slice();return e.splice(n<0?e.length+n:n,0,e.splice(t,1)[0]),e}function ye(e){return null!==e&&0<=e}const xe={scaleX:1,scaleY:1},we=e=>{var{rects:t,activeNodeRect:e,activeIndex:n,overIndex:r,index:a}=e,o=null!=(o=t[n])?o:e;if(!o)return null;e=t[a],i=t[a-1],l=t[a+1];var i,l=e&&(i||l)?n<a?i?e.left-(i.left+i.width):l.left-(e.left+e.width):l?l.left-(e.left+e.width):e.left-(i.left+i.width):0;if(a!==n)return n<a&&a<=r?{x:-o.width-l,y:0,...xe}:a<n&&r<=a?{x:o.width+l,y:0,...xe}:{x:0,y:0,...xe};{const e=t[r];return e?{x:n<r?e.left+e.width-(o.left+o.width):e.left-o.left,y:0,...xe}:null}},ht=e=>{var{rects:e,activeIndex:t,overIndex:n,index:r}=e,n=me(e,n,t),t=e[r],e=n[r];return e&&t?{x:e.left-t.left,y:e.top-t.top,scaleX:e.width/t.width,scaleY:e.height/t.height}:null},pt={scaleX:1,scaleY:1},mt=e=>{var{activeIndex:t,activeNodeRect:e,index:n,rects:r,overIndex:a}=e,o=null!=(o=r[t])?o:e;if(!o)return null;if(n===t){const e=r[a];return e?{x:0,y:t<a?e.top+e.height-(o.top+o.height):e.top-o.top,...pt}:null}e=r[n],i=r[n-1],r=r[n+1];var i,r=e?t<n?i?e.top-(i.top+i.height):r?r.top-(e.top+e.height):0:r?r.top-(e.top+e.height):i?e.top-(i.top+i.height):0:0;return t<n&&n<=a?{x:0,y:-o.height-r,...pt}:n<t&&a<=n?{x:0,y:o.height+r,...pt}:{x:0,y:0,...pt}},yt=De.a.createContext({activeIndex:-1,containerId:"Sortable",disableTransforms:!1,items:[],overIndex:-1,useDragOverlay:!1,sortedRects:[],strategy:ht,disabled:{draggable:!1,droppable:!1}});function xt(e){let{children:t,id:n,items:r,strategy:a=ht,disabled:o=!1}=e;const{active:i,dragOverlay:l,droppableRects:c,over:s,measureDroppableContainers:u}=Object(Ee.useContext)(dt),d=Te("Sortable",n),f=Boolean(null!==l.rect),g=Object(Ee.useMemo)(()=>r.map(e=>"object"==typeof e&&"id"in e?e.id:e),[r]),v=null!=i,b=i?g.indexOf(i.id):-1,h=s?g.indexOf(s.id):-1,p=Object(Ee.useRef)(g),m=!function(t,n){if(t===n)return 1;if(t.length===n.length){for(let e=0;e<t.length;e++)if(t[e]!==n[e])return;return 1}}(g,p.current),y=-1!==h&&-1===b||m,x="boolean"==typeof o?{draggable:o,droppable:o}:o;Me(()=>{m&&v&&u(g)},[m,g,v,u]),Object(Ee.useEffect)(()=>{p.current=g},[g]);e=Object(Ee.useMemo)(()=>{return{activeIndex:b,containerId:d,disabled:x,disableTransforms:y,items:g,overIndex:h,useDragOverlay:f,sortedRects:(e=g,r=c,e.reduce((e,t,n)=>{t=r.get(t);return t&&(e[n]=t),e},Array(e.length))),strategy:a};var e,r},[b,d,x.draggable,x.droppable,y,g,h,c,f,a]);return De.a.createElement(yt.Provider,{value:e},t)}const wt={duration:200,easing:"ease"},Ot=J.Transition.toString({property:"transform",duration:0,easing:"linear"}),jt={roleDescription:"sortable"};function Ct(e){let{animateLayoutChanges:t=e=>{var{containerId:e,isSorting:t,wasDragging:n,index:r,items:a,newIndex:o,previousItems:i,previousContainerId:l,transition:c}=e;return!(!c||!n||i!==a&&r===o||!t&&(o===r||e!==l))},attributes:n,disabled:r,data:a,getNewIndex:o=e=>{var{id:e,items:t,activeIndex:n,overIndex:r}=e;return me(t,n,r).indexOf(e)},id:O,strategy:i,resizeObserverConfig:j,transition:l=wt}=e;const{items:c,containerId:s,activeIndex:u,disabled:d,disableTransforms:f,sortedRects:g,overIndex:v,useDragOverlay:z,strategy:F}=Object(Ee.useContext)(yt),C="boolean"==typeof(e=r)?{draggable:e,droppable:!1}:{draggable:null!=(L=null==e?void 0:e.draggable)?L:d.draggable,droppable:null!=(L=null==e?void 0:e.droppable)?L:d.droppable},b=c.indexOf(O),E=Object(Ee.useMemo)(()=>({sortable:{containerId:s,index:b,items:c},...a}),[s,a,b,c]),B=Object(Ee.useMemo)(()=>c.slice(c.indexOf(O)),[c,O]),{rect:h,node:p,isOver:P,setNodeRef:m}=function(){let{data:e,disabled:t=!1,id:n,resizeObserverConfig:r}={id:O,data:E,disabled:C.droppable,resizeObserverConfig:{updateMeasurementsFor:B,...j}};const a=Te("Droppable"),{active:o,dispatch:i,over:l,measureDroppableContainers:c}=Object(Ee.useContext)(ut),s=Object(Ee.useRef)({disabled:t}),u=Object(Ee.useRef)(!1),d=Object(Ee.useRef)(null),f=Object(Ee.useRef)(null),{disabled:g,updateMeasurementsFor:v,timeout:b}={...pe,...r},h=Ne(null!=v?v:n),p=tt({callback:Object(Ee.useCallback)(()=>{u.current?(null!=f.current&&clearTimeout(f.current),f.current=setTimeout(()=>{c(Array.isArray(h.current)?h.current:[h.current]),f.current=null},b)):u.current=!0},[b]),disabled:g||!o}),m=Object(Ee.useCallback)((e,t)=>{p&&(t&&(p.unobserve(t),u.current=!1),e)&&p.observe(e)},[p]),[y,x]=Be(m),w=Ne(e);return Object(Ee.useEffect)(()=>{p&&y.current&&(p.disconnect(),u.current=!1,p.observe(y.current))},[y,p]),Me(()=>(i({type:Oe.RegisterDroppable,element:{id:n,key:a,disabled:t,node:y,rect:d,data:w}}),()=>i({type:Oe.UnregisterDroppable,key:a,id:n})),[n]),Object(Ee.useEffect)(()=>{t!==s.current.disabled&&(i({type:Oe.SetDroppableDisabled,id:n,key:a,disabled:t}),s.current.disabled=t)},[n,a,t,i]),{active:o,rect:d,isOver:(null==l?void 0:l.id)===n,node:y,over:l,setNodeRef:x}}(),{active:y,activatorEvent:U,activeNodeRect:Y,attributes:H,setNodeRef:x,listeners:X,isDragging:w,over:q,setActivatorNodeRef:K,transform:W}=function(e){let{id:t,data:n,disabled:r=!1,attributes:a}=e;const o=Te("Droppable"),{activators:i,activatorEvent:l,active:c,activeNodeRect:s,ariaDescribedById:u,draggableNodes:d,over:f}=Object(Ee.useContext)(ut),{role:g=he,roleDescription:v="draggable",tabIndex:b=0}=null!=a?a:{},h=(null==c?void 0:c.id)===t,p=Object(Ee.useContext)(h?bt:be),[m,y]=Be(),[x,w]=Be(),O=(C=i,E=t,Object(Ee.useMemo)(()=>C.reduce((e,t)=>{let{eventName:n,handler:r}=t;return e[n]=e=>{r(e,E)},e},{}),[C,E])),j=Ne(n);var C,E;return Me(()=>(d.set(t,{id:t,key:o,node:m,activatorNode:x,data:j}),()=>{var e=d.get(t);e&&e.key===o&&d.delete(t)}),[d,t]),{active:c,activatorEvent:l,activeNodeRect:s,attributes:Object(Ee.useMemo)(()=>({role:g,tabIndex:b,"aria-disabled":r,"aria-pressed":!(!h||g!==he)||void 0,"aria-roledescription":v,"aria-describedby":u.draggable}),[r,g,b,h,v,u.draggable]),isDragging:h,listeners:r?void 0:O,node:m,over:f,setNodeRef:y,setActivatorNodeRef:w,transform:p}}({id:O,data:E,attributes:{...jt,...n},disabled:C.draggable}),V=function(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];return Object(Ee.useMemo)(()=>t=>{n.forEach(e=>e(t))},n)}(m,x),D=Boolean(y),R=D&&!f&&ye(u)&&ye(v),S=!z&&w,k=S&&R?W:null,_=R?null!=k?k:(null!=i?i:F)({rects:g,activeNodeRect:Y,activeIndex:u,overIndex:v,index:b}):null,M=ye(u)&&ye(v)?o({id:O,items:c,activeIndex:u,overIndex:v}):b,N=null==y?void 0:y.id,A=Object(Ee.useRef)({activeId:N,items:c,newIndex:M,containerId:s}),Z=c!==A.current.items,T=t({active:y,containerId:s,isDragging:w,isSorting:D,id:O,index:b,items:c,newIndex:A.current.newIndex,previousItems:A.current.items,previousContainerId:A.current.containerId,transition:l,wasDragging:null!=A.current.activeId}),I=function(){let{disabled:t,index:n,node:r,rect:a}={disabled:!T,index:b,node:p,rect:h};const[e,o]=Object(Ee.useState)(null),i=Object(Ee.useRef)(n);return Me(()=>{if(!t&&n!==i.current&&r.current){var e=a.current;if(e){const t=ze(r.current,{ignoreTransform:!0}),n={x:e.left-t.left,y:e.top-t.top,scaleX:e.width/t.width,scaleY:e.height/t.height};(n.x||n.y)&&o(n)}}n!==i.current&&(i.current=n)},[t,n,r,a]),Object(Ee.useEffect)(()=>{e&&o(null)},[e]),e}();var L;return Object(Ee.useEffect)(()=>{D&&A.current.newIndex!==M&&(A.current.newIndex=M),s!==A.current.containerId&&(A.current.containerId=s),c!==A.current.items&&(A.current.items=c)},[D,M,s,c]),Object(Ee.useEffect)(()=>{if(N!==A.current.activeId){if(!N||A.current.activeId){const e=setTimeout(()=>{A.current.activeId=N},50);return()=>clearTimeout(e)}A.current.activeId=N}},[N]),{active:y,activeIndex:u,attributes:H,data:E,rect:h,index:b,newIndex:M,items:c,isOver:P,isSorting:D,isDragging:w,listeners:X,node:p,overIndex:v,over:q,setNodeRef:V,setActivatorNodeRef:K,setDroppableNodeRef:m,setDraggableNodeRef:x,transform:null!=I?I:_,transition:I||Z&&A.current.newIndex===b?Ot:S&&!$(U)||!l||!D&&!T?void 0:J.Transition.toString({...l,property:"transform"})}}w.Down,w.Right,w.Up,w.Left;var d=e(12),Et={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z"}}]},name:"holder",theme:"outlined"},Dt=e(6),Rt=e(17),St=e(174),c=e(39),kt=e.n(c),Mt=Object(Ee.createContext)({}),Nt=e(16);function b(e,t){var n="string"==typeof(e="string"==typeof(n=e)&&-1!==n.indexOf(".")&&1===parseFloat(n)?"100%":e)&&-1!==e.indexOf("%");return e=360===t?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:360===t?(e<0?e%t+t:e%t)/parseFloat(String(t)):e%t/parseFloat(String(t))}function At(e){return e<=1?"".concat(100*Number(e),"%"):e}function Tt(e){return 1===e.length?"0"+e:String(e)}function It(e,t,n){return n<0&&(n+=1),1<n&&--n,n<1/6?e+6*n*(t-e):n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function Lt(e){return h(e)/255}function h(e){return parseInt(e,16)}var zt={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function s(e){var t,n,r,a,o,i,l,c,s,u={r:0,g:0,b:0},d=1,f=null,g=!1,v=!1;return"object"==typeof(e="string"==typeof e?function(e){if(0===(e=e.trim().toLowerCase()).length)return!1;var t=!1;if(zt[e])e=zt[e],t=!0;else if("transparent"===e)return{r:0,g:0,b:0,a:0,format:"name"};var n=p.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=p.rgba.exec(e))?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=p.hsl.exec(e))?{h:n[1],s:n[2],l:n[3]}:(n=p.hsla.exec(e))?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=p.hsv.exec(e))?{h:n[1],s:n[2],v:n[3]}:(n=p.hsva.exec(e))?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=p.hex8.exec(e))?{r:h(n[1]),g:h(n[2]),b:h(n[3]),a:Lt(n[4]),format:t?"name":"hex8"}:(n=p.hex6.exec(e))?{r:h(n[1]),g:h(n[2]),b:h(n[3]),format:t?"name":"hex"}:(n=p.hex4.exec(e))?{r:h(n[1]+n[1]),g:h(n[2]+n[2]),b:h(n[3]+n[3]),a:Lt(n[4]+n[4]),format:t?"name":"hex8"}:!!(n=p.hex3.exec(e))&&{r:h(n[1]+n[1]),g:h(n[2]+n[2]),b:h(n[3]+n[3]),format:t?"name":"hex"}}(e):e)&&(m(e.r)&&m(e.g)&&m(e.b)?(i=e.r,a=e.g,o=e.b,u={r:255*b(i,255),g:255*b(a,255),b:255*b(o,255)},g=!0,v="%"===String(e.r).substr(-1)?"prgb":"rgb"):m(e.h)&&m(e.s)&&m(e.v)?(f=At(e.s),i=At(e.v),a=e.h,o=f,i=i,a=6*b(a,360),o=b(o,100),i=b(i,100),l=Math.floor(a),u={r:255*[i,s=i*(1-(a-=l)*o),c=i*(1-o),c,a=i*(1-(1-a)*o),i][o=l%6],g:255*[a,i,i,s,c,c][o],b:255*[c,c,a,i,i,s][o]},g=!0,v="hsv"):m(e.h)&&m(e.s)&&m(e.l)&&(f=At(e.s),l=At(e.l),c=e.h,s=f,f=l,c=b(c,360),s=b(s,100),f=b(f,100),0===s?t=r=n=f:(t=It(s=2*f-(f=f<.5?f*(1+s):f+s-f*s),f,c+1/3),n=It(s,f,c),r=It(s,f,c-1/3)),u={r:255*t,g:255*n,b:255*r},g=!0,v="hsl"),Object.prototype.hasOwnProperty.call(e,"a"))&&(d=e.a),f=d,f=parseFloat(f),d=f=isNaN(f)||f<0||1<f?1:f,{ok:g,format:e.format||v,r:Math.min(255,Math.max(u.r,0)),g:Math.min(255,Math.max(u.g,0)),b:Math.min(255,Math.max(u.b,0)),a:d}}var u="(?:".concat("[-\\+]?\\d*\\.\\d+%?",")|(?:").concat("[-\\+]?\\d+%?",")"),c="[\\s|\\(]+(".concat(u,")[,|\\s]+(").concat(u,")[,|\\s]+(").concat(u,")\\s*\\)?"),Ft="[\\s|\\(]+(".concat(u,")[,|\\s]+(").concat(u,")[,|\\s]+(").concat(u,")[,|\\s]+(").concat(u,")\\s*\\)?"),p={CSS_UNIT:new RegExp(u),rgb:new RegExp("rgb"+c),rgba:new RegExp("rgba"+Ft),hsl:new RegExp("hsl"+c),hsla:new RegExp("hsla"+Ft),hsv:new RegExp("hsv"+c),hsva:new RegExp("hsva"+Ft),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function m(e){return Boolean(p.CSS_UNIT.exec(String(e)))}var Bt=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function Pt(e){e=function(e,t,n){e=b(e,255),t=b(t,255),n=b(n,255);var r=Math.max(e,t,n),a=Math.min(e,t,n),o=0,i=r,l=r-a,c=0===r?0:l/r;if(r===a)o=0;else{switch(r){case e:o=(t-n)/l+(t<n?6:0);break;case t:o=(n-e)/l+2;break;case n:o=(e-t)/l+4}o/=6}return{h:o,s:c,v:i}}(e.r,e.g,e.b);return{h:360*e.h,s:e.s,v:e.v}}function Ut(e){var n=e.r,t=e.g,e=e.b;return"#".concat(function(e,t){e=[Tt(Math.round(n).toString(16)),Tt(Math.round(e).toString(16)),Tt(Math.round(t).toString(16))];return e.join("")}(t,e))}function Yt(e,t,n){return(n=60<=Math.round(e.h)&&Math.round(e.h)<=240?n?Math.round(e.h)-2*t:Math.round(e.h)+2*t:n?Math.round(e.h)+2*t:Math.round(e.h)-2*t)<0?n+=360:360<=n&&(n-=360),n}function Ht(e,t,n){return 0===e.h&&0===e.s?e.s:(1<(e=n?e.s-.16*t:4===t?e.s+.16:e.s+.05*t)&&(e=1),(e=n&&5===t&&.1<e?.1:e)<.06&&(e=.06),Number(e.toFixed(2)))}function Xt(e,t,n){return 1<(n=n?e.v+.05*t:e.v-.15*t)&&(n=1),Number(n.toFixed(2))}function qt(e,t){for(var r=1<arguments.length&&void 0!==t?t:{},a=[],n=s(e),o=5;0<o;--o){var i=Pt(n),i=Ut(s({h:Yt(i,o,!0),s:Ht(i,o,!0),v:Xt(i,o,!0)}));a.push(i)}a.push(Ut(n));for(var l=1;l<=4;l+=1){var c=Pt(n),c=Ut(s({h:Yt(c,l),s:Ht(c,l),v:Xt(c,l)}));a.push(c)}return"dark"===r.theme?Bt.map(function(e){var t,n=e.index,e=e.opacity;return Ut((t=s(r.backgroundColor||"#141414"),n=s(a[n]),e=100*e,e/=100,{r:(n.r-t.r)*e+t.r,g:(n.g-t.g)*e+t.g,b:(n.b-t.b)*e+t.b}))}):a}var Kt={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1890FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},Wt={},Vt={},_t=(Object.keys(Kt).forEach(function(e){Wt[e]=qt(Kt[e]),Wt[e].primary=Wt[e][5],Vt[e]=qt(Kt[e],{theme:"dark",backgroundColor:"#141414"}),Vt[e].primary=Vt[e][5]}),e(130)),Zt=e(271),Jt=new Map;function $t(e){e=(0<arguments.length&&void 0!==e?e:{}).mark;return e?e.startsWith("data-")?e:"data-".concat(e):"rc-util-key"}function Gt(e){return e.attachTo||document.querySelector("head")||document.body}function Qt(e){return Array.from((Jt.get(e)||e).children).filter(function(e){return"STYLE"===e.tagName})}function en(e,t){t=1<arguments.length&&void 0!==t?t:{};if(!Object(Zt.a)())return null;var n=t.csp,r=t.prepend,a=t.priority,o=void 0===a?0:a,a="queue"===(a=r)?"prependQueue":a?"prepend":"append",i="prependQueue"==a,l=document.createElement("style"),a=(l.setAttribute("data-rc-order",a),i&&o&&l.setAttribute("data-rc-priority","".concat(o)),null!=n&&n.nonce&&(l.nonce=null==n?void 0:n.nonce),l.innerHTML=e,Gt(t)),n=a.firstChild;if(r){if(i){e=(t.styles||Qt(a)).filter(function(e){return!!["prepend","prependQueue"].includes(e.getAttribute("data-rc-order"))&&Number(e.getAttribute("data-rc-priority")||0)<=o});if(e.length)return a.insertBefore(l,e[e.length-1].nextSibling),l}a.insertBefore(l,n)}else a.appendChild(l);return l}function tn(e,t,n){var n=2<arguments.length&&void 0!==n?n:{},r=Gt(n),a=Qt(r),n=Object(d.a)(Object(d.a)({},n),{},{styles:a}),r=(a=r,r=n,(o=Jt.get(a))&&function(e,t){if(e){if(e.contains)return e.contains(t);for(var n=t;n;){if(n===e)return 1;n=n.parentNode}}}(document,o)||(r=(o=en("",r)).parentNode,Jt.set(a,r),a.removeChild(o)),function(t,e){var n=1<arguments.length&&void 0!==e?e:{},e=Gt(n);return(n.styles||Qt(e)).find(function(e){return e.getAttribute($t(n))===t})}(t,n));if(r)return null!=(a=n.csp)&&a.nonce&&r.nonce!==(null==(o=n.csp)?void 0:o.nonce)&&(r.nonce=null==(a=n.csp)?void 0:a.nonce),r.innerHTML!==e&&(r.innerHTML=e);var o=en(e,n);o.setAttribute($t(n),t)}var u=e(874),nn=e.n(u);function rn(e){return"object"===Object(Nt.a)(e)&&"string"==typeof e.name&&"string"==typeof e.theme&&("object"===Object(Nt.a)(e.icon)||"function"==typeof e.icon)}function an(e){var r=0<arguments.length&&void 0!==e?e:{};return Object.keys(r).reduce(function(e,t){var n=r[t];return"class"===t?(e.className=n,delete e.class):(delete e[t],e[nn()(t)]=n),e},{})}function on(e){return qt(e)[0]}function ln(e){return e?Array.isArray(e)?e:[e]:[]}function cn(e){var t=e.icon,n=e.className,r=e.onClick,a=e.style,o=e.primaryColor,i=e.secondaryColor,e=Object(St.a)(e,sn),l=un;return o&&(l={primaryColor:o,secondaryColor:i||on(o)}),function(e){var t=0<arguments.length&&void 0!==e?e:"\n.anticon {\n display: inline-block;\n color: inherit;\n font-style: normal;\n line-height: 0;\n text-align: center;\n text-transform: none;\n vertical-align: -0.125em;\n text-rendering: optimizeLegibility;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.anticon > * {\n line-height: 1;\n}\n\n.anticon svg {\n display: inline-block;\n}\n\n.anticon::before {\n display: none;\n}\n\n.anticon .anticon-icon {\n display: block;\n}\n\n.anticon[tabindex] {\n cursor: pointer;\n}\n\n.anticon-spin::before,\n.anticon-spin {\n display: inline-block;\n -webkit-animation: loadingCircle 1s infinite linear;\n animation: loadingCircle 1s infinite linear;\n}\n\n@-webkit-keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n",n=Object(Ee.useContext)(Mt).csp;Object(Ee.useEffect)(function(){tn(t,"@ant-design-icons",{prepend:!0,csp:n})},[])}(),i=rn(t),o="icon should be icon definiton, but got ".concat(t),Object(_t.a)(i,"[@ant-design/icons] ".concat(o)),rn(t)?function n(r,a,e){return e?De.a.createElement(r.tag,Object(d.a)(Object(d.a)({key:a},an(r.attrs)),e),(r.children||[]).map(function(e,t){return n(e,"".concat(a,"-").concat(r.tag,"-").concat(t))})):De.a.createElement(r.tag,Object(d.a)({key:a},an(r.attrs)),(r.children||[]).map(function(e,t){return n(e,"".concat(a,"-").concat(r.tag,"-").concat(t))}))}((i=(i=t)&&"function"==typeof i.icon?Object(d.a)(Object(d.a)({},i),{},{icon:i.icon(l.primaryColor,l.secondaryColor)}):i).icon,"svg-".concat(i.name),Object(d.a)({className:n,onClick:r,style:a,"data-icon":i.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},e)):null}var sn=["icon","className","onClick","style","primaryColor","secondaryColor"],un={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1},dn=(cn.displayName="IconReact",cn.getTwoToneColors=function(){return Object(d.a)({},un)},cn.setTwoToneColors=function(e){var t=e.primaryColor,e=e.secondaryColor;un.primaryColor=t,un.secondaryColor=e||on(t),un.calculated=!!e},cn);function fn(e){var e=ln(e),e=Object(Dt.a)(e,2),t=e[0],e=e[1];return dn.setTwoToneColors({primaryColor:t,secondaryColor:e})}function gn(e,t){return Ee.createElement(pn,Object(d.a)(Object(d.a)({},e),{},{ref:t,icon:Et}))}function vn(e,t){return Ee.createElement(pn,Object(d.a)(Object(d.a)({},e),{},{ref:t,icon:mn}))}function bn(e,t){return Ee.createElement(pn,Object(d.a)(Object(d.a)({},e),{},{ref:t,icon:yn}))}var hn=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"],c=(fn("#1890ff"),Ee.forwardRef(function(e,t){var n=e.className,r=e.icon,a=e.spin,o=e.rotate,i=e.tabIndex,l=e.onClick,c=e.twoToneColor,e=Object(St.a)(e,hn),s=Ee.useContext(Mt),u=s.prefixCls,u=void 0===u?"anticon":u,s=s.rootClassName,u=kt()(s,u,(s={},Object(Rt.a)(s,"".concat(u,"-").concat(r.name),!!r.name),Object(Rt.a)(s,"".concat(u,"-spin"),!!a||"loading"===r.name),s),n),a=i,s=(void 0===i&&l&&(a=-1),o?{msTransform:"rotate(".concat(o,"deg)"),transform:"rotate(".concat(o,"deg)")}:void 0),n=ln(c),i=Object(Dt.a)(n,2),o=i[0],c=i[1];return Ee.createElement("span",Object(d.a)(Object(d.a)({role:"img","aria-label":r.name},e),{},{ref:t,tabIndex:a,onClick:l,className:u}),Ee.createElement(dn,{icon:r,primaryColor:o,secondaryColor:c,style:s}))})),pn=(c.displayName="AntdIcon",c.getTwoToneColor=function(){var e=dn.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor},c.setTwoToneColor=fn,c),Ft=(gn.displayName="HolderOutlined",Ee.forwardRef(gn)),mn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M904 160H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8zm0 624H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8zm0-312H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8z"}}]},name:"menu",theme:"outlined"},u=(vn.displayName="MenuOutlined",Ee.forwardRef(vn)),yn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.3 506.3L781.7 405.6a7.23 7.23 0 00-11.7 5.7V476H548V254h64.8c6 0 9.4-7 5.7-11.7L517.7 114.7a7.14 7.14 0 00-11.3 0L405.6 242.3a7.23 7.23 0 005.7 11.7H476v222H254v-64.8c0-6-7-9.4-11.7-5.7L114.7 506.3a7.14 7.14 0 000 11.3l127.5 100.8c4.7 3.7 11.7.4 11.7-5.7V548h222v222h-64.8c-6 0-9.4 7-5.7 11.7l100.8 127.5c2.9 3.7 8.5 3.7 11.3 0l100.8-127.5c3.7-4.7.4-11.7-5.7-11.7H548V548h222v64.8c0 6 7 9.4 11.7 5.7l127.5-100.8a7.3 7.3 0 00.1-11.4z"}}]},name:"drag",theme:"outlined"},c=(bn.displayName="DragOutlined",Ee.forwardRef(bn)),xn=e(60),wn=e(22);function On(e){return(On="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function jn(){return(jn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n,r=arguments[t];for(n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function Cn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function En(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function E(a){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?En(Object(o),!0).forEach(function(e){var t,n,r;t=a,n=o[e=e],r=function(e){if("object"!=On(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0===t)return String(e);t=t.call(e,"string");if("object"!=On(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}(e),(e="symbol"==On(r)?r:String(r))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n}):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(o)):En(Object(o)).forEach(function(e){Object.defineProperty(a,e,Object.getOwnPropertyDescriptor(o,e))})}return a}function Dn(e){var t=e.id,n=e.style,r=e.handleStyle,a=e.className,o=e.handleClassName,i=e.items,l=e.currentOrder,c=e.direction,s=e.itemDraggingScale,u=e.handlePosition,d=e.handleType,f=e.maxTranslateX,g=e.maxTranslateY,v=e.value,b=e.multiple,h=e.allowNoValue,p=e.selectedStyle,m=e.setProps,e=e.loading_state;Object(Ee.useEffect)(function(){l||m({currentOrder:i.map(function(e){return e.key})})},[]);var y,x=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Object(Ee.useMemo)(()=>[...t].filter(e=>null!=e),[...t])}((y=le,Object(Ee.useMemo)(()=>({sensor:y,options:{}}),[y,x]))),w=(l||i.map(function(e){return e.key})).map(function(t){return i.find(function(e){return e.key===t})}).map(function(e){return E(E({},e),{},{id:e.key})});return De.a.createElement(ve,{sensors:x,collisionDetection:H,onDragEnd:function(e){var t,n,r=e.active,a=e.over,e=(l||i.map(function(e){return e.key})).map(function(t){return i.find(function(e){return e.key===t})});(null==r?void 0:r.id)!==(null==a?void 0:a.id)&&(t=e.findIndex(function(e){return e.key===(null==r?void 0:r.id)}),n=e.findIndex(function(e){return e.key===(null==a?void 0:a.id)}),m({currentOrder:me(e,t,n).map(function(e){return e.key})}))}},De.a.createElement(xt,{items:w,strategy:"horizontal"===c?we:mt},De.a.createElement("ul",{id:t,style:E({paddingLeft:0},n),className:Object(wn.isString)(a)?a:a?Object(xn.a)(a):void 0,"data-dash-is-loading":e&&e.is_loading||void 0},w.map(function(e){return De.a.createElement(Sn,{id:e.key,key:e.key,style:e.style,draggingStyle:e.draggingStyle,className:e.className,draggingClassName:e.draggingClassName,children:e.content,handleStyle:r,handleClassName:o,handlePosition:u,handleType:d,maxTranslateX:f,maxTranslateY:g,itemDraggingScale:s,setProps:m,value:v,multiple:b,allowNoValue:h,selectedStyle:p})}))))}var Rn=new Map([["holder",Ft],["menu",u],["drag",c]]),Sn=De.a.memo(function(e){var t=e.id,n=e.style,r=e.draggingStyle,a=e.className,o=e.draggingClassName,i=e.children,l=e.handleStyle,c=e.handleClassName,s=e.handlePosition,u=e.handleType,d=e.maxTranslateX,f=e.maxTranslateY,g=e.itemDraggingScale,v=e.setProps,b=e.value,h=e.multiple,p=e.allowNoValue,e=e.selectedStyle,m=Ct({id:t}),y=m.attributes,x=m.listeners,w=m.setNodeRef,O=m.transform,j=m.transition,C=m.setActivatorNodeRef,m=m.isDragging,d=E(E(E({transform:J.Transform.toString(O&&E(E({},E(E({},O),{},{x:d||0===d?d:O.x,y:f||0===f?f:O.y})),{},{scaleX:1,scaleY:1},m?{scaleX:g,scaleY:g}:{})),transition:j,display:"flex",alignItems:"center"},n),m?E({position:"relative",zIndex:999},r):{}),(Array.isArray(b)?b.includes(t):b===t)?e:{});return De.a.createElement("div",jn({id:t,ref:w},y,{style:d,className:m?Object(wn.isString)(a)?a:a?Object(xn.a)(a):void 0:Object(wn.isString)(o)?o:o?Object(xn.a)(o):void 0,children:De.a.createElement(De.a.Fragment,null,"end"===s?De.a.createElement("div",{style:{flex:"auto"}},i):null,De.a.createElement(Rn.get(u),E({style:E({color:"#737373",touchAction:"none",cursor:m?"grabbing":"grab",flex:"none"},l),className:Object(wn.isString)(c)?c:c?Object(xn.a)(c):void 0,ref:C},x)),"start"===s?De.a.createElement("div",{style:{flex:"auto"}},i):null),onClick:function(){var e;h?b?Array.isArray(b)?b.includes(t)?1===b.length?p&&v({value:b.filter(function(e){return e!==t})}):v({value:b.filter(function(e){return e!==t})}):v({value:[].concat(function(e){if(Array.isArray(e))return Cn(e)}(e=b)||function(){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}()||function(e){var t;if(e)return"string"==typeof e?Cn(e,void 0):"Map"===(t="Object"===(t=Object.prototype.toString.call(e).slice(8,-1))&&e.constructor?e.constructor.name:t)||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Cn(e,void 0):void 0}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),[t])}):t===b?p&&v({value:[]}):v({value:[b,t]}):v({value:[t]}):t===b?p&&v({value:null}):v({value:t})}}))},function(e,t){return Object(wn.isEqual)(e.children,t.children)&&e.value===t.value});g.default=De.a.memo(Dn),Dn.defaultProps=v.b,Dn.propTypes=v.c},650:function(e,t){var n=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");e.exports=function(e){return n.test(e)}},874:function(e,t,n){var r=n(875),n=n(883)(function(e,t,n){return t=t.toLowerCase(),e+(n?r(t):t)});e.exports=n},875:function(e,t,n){var r=n(562),a=n(876);e.exports=function(e){return a(r(e).toLowerCase())}},876:function(e,t,n){n=n(877)("toUpperCase");e.exports=n},877:function(e,t,n){var a=n(878),o=n(650),i=n(880),l=n(562);e.exports=function(r){return function(e){e=l(e);var t=o(e)?i(e):void 0,n=t?t[0]:e.charAt(0),t=t?a(t,1).join(""):e.slice(1);return n[r]()+t}}},878:function(e,t,n){var a=n(879);e.exports=function(e,t,n){var r=e.length;return n=void 0===n?r:n,!t&&r<=n?e:a(e,t,n)}},879:function(e,t){e.exports=function(e,t,n){var r=-1,a=e.length;(n=a<n?a:n)<0&&(n+=a),a=n<(t=t<0?a<-t?0:a+t:t)?0:n-t>>>0,t>>>=0;for(var o=Array(a);++r<a;)o[r]=e[r+t];return o}},880:function(e,t,n){var r=n(881),a=n(650),o=n(882);e.exports=function(e){return(a(e)?o:r)(e)}},881:function(e,t){e.exports=function(e){return e.split("")}},882:function(e,t){var n="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",r="\\ud83c[\\udffb-\\udfff]",a="[^\\ud800-\\udfff]",o="(?:\\ud83c[\\udde6-\\uddff]){2}",i="[\\ud800-\\udbff][\\udc00-\\udfff]",l="(?:"+n+"|"+r+")?",l="[\\ufe0e\\ufe0f]?"+l+"(?:\\u200d(?:"+[a,o,i].join("|")+")[\\ufe0e\\ufe0f]?"+l+")*",a="(?:"+[a+n+"?",n,o,i,"[\\ud800-\\udfff]"].join("|")+")",c=RegExp(r+"(?="+r+")|"+a+l,"g");e.exports=function(e){return e.match(c)||[]}},883:function(e,t,n){var r=n(884),a=n(885),o=n(888),i=RegExp("['’]","g");e.exports=function(t){return function(e){return r(o(a(e).replace(i,"")),t,"")}}},884:function(e,t){e.exports=function(e,t,n,r){var a=-1,o=null==e?0:e.length;for(r&&o&&(n=e[++a]);++a<o;)n=t(n,e[a],a,e);return n}},885:function(e,t,n){var r=n(886),a=n(562),o=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,i=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");e.exports=function(e){return(e=a(e))&&e.replace(o,r).replace(i,"")}},886:function(e,t,n){n=n(887)({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"});e.exports=n},887:function(e,t){e.exports=function(t){return function(e){return null==t?void 0:t[e]}}},888:function(e,t,n){var r=n(889),a=n(890),o=n(562),i=n(891);e.exports=function(e,t,n){return e=o(e),void 0===(t=n?void 0:t)?(a(e)?i:r)(e):e.match(t)||[]}},889:function(e,t){var n=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;e.exports=function(e){return e.match(n)||[]}},890:function(e,t){var n=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;e.exports=function(e){return n.test(e)}},891:function(e,t){var n="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",r="["+n+"]",a="[a-z\\xdf-\\xf6\\xf8-\\xff]",n="[^\\ud800-\\udfff"+n+"\\d+\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",o="(?:\\ud83c[\\udde6-\\uddff]){2}",i="[\\ud800-\\udbff][\\udc00-\\udfff]",l="[A-Z\\xc0-\\xd6\\xd8-\\xde]",n="(?:"+a+"|"+n+")",c="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",c="[\\ufe0e\\ufe0f]?"+c+"(?:\\u200d(?:"+["[^\\ud800-\\udfff]",o,i].join("|")+")[\\ufe0e\\ufe0f]?"+c+")*",o="(?:"+["[\\u2700-\\u27bf]",o,i].join("|")+")"+c,s=RegExp([l+"?"+a+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[r,l,"$"].join("|")+")","(?:[A-Z\\xc0-\\xd6\\xd8-\\xde]|[^\\ud800-\\udfff\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000\\d+\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde])+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[r,l+n,"$"].join("|")+")",l+"?"+n+"+(?:['’](?:d|ll|m|re|s|t|ve))?",l+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])","\\d+",o].join("|"),"g");e.exports=function(e){return e.match(s)||[]}}}]);
|
|
1
|
+
(window.webpackJsonpfeffery_utils_components=window.webpackJsonpfeffery_utils_components||[]).push([[29],{530:function(f,g,e){"use strict";e.r(g);var Oe,a,O,r,w,n,j,C,je,Ce,Ee=e(1),De=e.n(Ee),v=e(227),Re=e(29);const Fe="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement;function t(e){e=Object.prototype.toString.call(e);return"[object Window]"===e||"[object global]"===e}function y(e){return"nodeType"in e}function Se(e){return e?t(e)?e:y(e)&&null!=(e=null==(e=e.ownerDocument)?void 0:e.defaultView)?e:window:window}function x(e){var t=Se(e)["Document"];return e instanceof t}function ke(e){return!t(e)&&e instanceof Se(e).HTMLElement}function D(e){return e instanceof Se(e).SVGElement}function o(e){return e?t(e)?e.document:y(e)?x(e)?e:ke(e)||D(e)?e.ownerDocument:document:document:document}const Me=Fe?Ee.useLayoutEffect:Ee.useEffect;function R(e){const r=Object(Ee.useRef)(e);return Me(()=>{r.current=e}),Object(Ee.useCallback)(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return null==r.current?void 0:r.current(...t)},[])}function Ne(e,t){void 0===t&&(t=[e]);const n=Object(Ee.useRef)(e);return Me(()=>{n.current!==e&&(n.current=e)},t),n}function Ae(t,e){const n=Object(Ee.useRef)();return Object(Ee.useMemo)(()=>{var e=t(n.current);return n.current=e},[...e])}function Be(e){const t=R(e),n=Object(Ee.useRef)(null),r=Object(Ee.useCallback)(e=>{e!==n.current&&null!=t&&t(e,n.current),n.current=e},[]);return[n,r]}function S(e){const t=Object(Ee.useRef)();return Object(Ee.useEffect)(()=>{t.current=e},[e]),t.current}let k={};function Te(t,n){return Object(Ee.useMemo)(()=>{var e;return n||(e=null==k[t]?0:k[t]+1,k[t]=e,t+"-"+e)},[t,n])}function M(a){return function(e){for(var t=arguments.length,n=new Array(1<t?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return n.reduce((e,t)=>{const n=Object.entries(t);for(const[t,r]of n){const n=e[t];null!=n&&(e[t]=n+a*r)}return e},{...e})}}const Ie=M(1),N=M(-1);function $(e){var t;if(e)return t=Se(e.target)["KeyboardEvent"],t&&e instanceof t}function Pe(e){if(function(e){var t;if(e)return t=Se(e.target)["TouchEvent"],t&&e instanceof t}(e)){var t;if(e.touches&&e.touches.length)return{clientX:n,clientY:t}=e.touches[0],{x:n,y:t};if(e.changedTouches&&e.changedTouches.length)return{clientX:n,clientY:t}=e.changedTouches[0],{x:n,y:t}}return"clientX"in(n=e)&&"clientY"in n?{x:e.clientX,y:e.clientY}:null;var n}const J=Object.freeze({Translate:{toString(e){var t;if(e)return{x:e,y:t}=e,"translate3d("+(e?Math.round(e):0)+"px, "+(t?Math.round(t):0)+"px, 0)"}},Scale:{toString(e){var t;if(e)return{scaleX:e,scaleY:t}=e,"scaleX("+e+") scaleY("+t+")"}},Transform:{toString(e){if(e)return[J.Translate.toString(e),J.Scale.toString(e)].join(" ")}},Transition:{toString(e){var{property:e,duration:t,easing:n}=e;return e+" "+t+"ms "+n}}}),A="a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";const T={display:"none"};function I(e){var{id:e,value:t}=e;return De.a.createElement("div",{id:e,style:T},t)}function L(e){var{id:e,announcement:t,ariaLiveType:n="assertive"}=e;return De.a.createElement("div",{id:e,style:{position:"fixed",width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0 0 0 0)",clipPath:"inset(100%)",whiteSpace:"nowrap"},role:"status","aria-live":n,"aria-atomic":!0},t)}const Ue=Object(Ee.createContext)(null),z={draggable:"\n To pick up a draggable item, press the space bar.\n While dragging, use the arrow keys to move the item.\n Press space again to drop the item in its new position, or press escape to cancel.\n "},F={onDragStart(e){e=e.active;return"Picked up draggable item "+e.id+"."},onDragOver(e){var{active:e,over:t}=e;return t?"Draggable item "+e.id+" was moved over droppable area "+t.id+".":"Draggable item "+e.id+" is no longer over a droppable area."},onDragEnd(e){var{active:e,over:t}=e;return t?"Draggable item "+e.id+" was dropped over droppable area "+t.id:"Draggable item "+e.id+" was dropped."},onDragCancel(e){e=e.active;return"Dragging was cancelled. Draggable item "+e.id+" was dropped."}};function Ye(e){let{announcements:n=F,container:t,hiddenTextDescribedById:r,screenReaderInstructions:a=z}=e;const{announce:o,announcement:i}=function(){const[e,t]=Object(Ee.useState)("");return{announce:Object(Ee.useCallback)(e=>{null!=e&&t(e)},[]),announcement:e}}(),l=Te("DndLiveRegion"),[c,s]=Object(Ee.useState)(!1);Object(Ee.useEffect)(()=>{s(!0)},[]);{var u=Object(Ee.useMemo)(()=>({onDragStart(e){e=e.active;o(n.onDragStart({active:e}))},onDragMove(e){var{active:e,over:t}=e;n.onDragMove&&o(n.onDragMove({active:e,over:t}))},onDragOver(e){var{active:e,over:t}=e;o(n.onDragOver({active:e,over:t}))},onDragEnd(e){var{active:e,over:t}=e;o(n.onDragEnd({active:e,over:t}))},onDragCancel(e){var{active:e,over:t}=e;o(n.onDragCancel({active:e,over:t}))}}),[o,n]);const d=Object(Ee.useContext)(Ue);Object(Ee.useEffect)(()=>{if(d)return d(u);throw new Error("useDndMonitor must be used within a children of <DndContext>")},[u,d])}return c?(e=De.a.createElement(De.a.Fragment,null,De.a.createElement(I,{id:r,value:a.draggable}),De.a.createElement(L,{id:l,announcement:i})),t?Object(Re.createPortal)(e,t):e):null}function B(){}(u=Oe=Oe||{}).DragStart="dragStart",u.DragMove="dragMove",u.DragEnd="dragEnd",u.DragCancel="dragCancel",u.DragOver="dragOver",u.RegisterDroppable="registerDroppable",u.SetDroppableDisabled="setDroppableDisabled",u.UnregisterDroppable="unregisterDroppable";const Le=Object.freeze({x:0,y:0});function P(e,t){var e=e["data"]["value"],t=t["data"]["value"];return e-t}function U(e,t){var e=e["data"]["value"],t=t["data"]["value"];return t-e}function Y(e,t,n){return void 0===t&&(t=e.left),void 0===n&&(n=e.top),{x:t+.5*e.width,y:n+.5*e.height}}const H=e=>{let{collisionRect:t,droppableRects:n,droppableContainers:r}=e;var a,o,i=Y(t,t.left,t.top),l=[];for(const e of r){const t=e["id"],r=n.get(t);if(r){a=Y(r),o=i;const n=Math.sqrt(Math.pow(a.x-o.x,2)+Math.pow(a.y-o.y,2));l.push({id:t,data:{droppableContainer:e,value:n}})}}return l.sort(P)};const He=e=>{let{collisionRect:t,droppableRects:n,droppableContainers:r}=e;var a=[];for(const e of r){const r=e["id"],o=n.get(r);if(o){const n=function(e,t){const n=Math.max(t.top,e.top),r=Math.max(t.left,e.left),a=Math.min(t.left+t.width,e.left+e.width),o=Math.min(t.top+t.height,e.top+e.height),i=a-r,l=o-n;if(r<a&&n<o){const n=t.width*t.height,r=e.width*e.height,a=i*l;return Number((a/(n+r-a)).toFixed(4))}return 0}(o,t);0<n&&a.push({id:r,data:{droppableContainer:e,value:n}})}}return a.sort(U)};function Xe(e,t){return e&&t?{x:e.left-t.left,y:e.top-t.top}:Le}const qe=function(e){for(var t=arguments.length,n=new Array(1<t?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return n.reduce((e,t)=>({...e,top:e.top+a*t.y,bottom:e.bottom+a*t.y,left:e.left+a*t.x,right:e.right+a*t.x}),{...e})};const X={ignoreTransform:!(a=1)};function ze(e,t){void 0===t&&(t=X);let n=e.getBoundingClientRect();if(t.ignoreTransform){const{transform:t,transformOrigin:c}=Se(e).getComputedStyle(e);t&&(n=(e=n,r=t,a=c,(r=(r=r).startsWith("matrix3d(")?{x:+(o=r.slice(9,-1).split(/, /))[12],y:+o[13],scaleX:+o[0],scaleY:+o[5]}:r.startsWith("matrix(")?{x:+(o=r.slice(7,-1).split(/, /))[4],y:+o[5],scaleX:+o[0],scaleY:+o[3]}:null)?({scaleX:o,scaleY:r,x:i,y:l}=r,i=e.left-i-(1-o)*parseFloat(a),l=e.top-l-(1-r)*parseFloat(a.slice(a.indexOf(" ")+1)),{width:a=o?e.width/o:e.width,height:r=r?e.height/r:e.height,top:l,right:i+a,bottom:l+r,left:i}):e))}var r,a,o,i,l;const{top:c,left:s,width:u,height:d,bottom:f,right:g}=n;return{top:c,left:s,width:u,height:d,bottom:f,right:g}}function q(e){return ze(e,{ignoreTransform:!0})}function Ke(o,i){const l=[];return o?function e(t){var r,n,a;return!(null!=i&&l.length>=i)&&t?x(t)&&null!=t.scrollingElement&&!l.includes(t.scrollingElement)?(l.push(t.scrollingElement),l):!ke(t)||D(t)||l.includes(t)||(r=Se(o).getComputedStyle(t),t!==o&&function(e,t){void 0===r&&(t=Se(e).getComputedStyle(e));const n=/(auto|scroll|overlay)/;return["overflow","overflowX","overflowY"].some(e=>{e=t[e];return"string"==typeof e&&n.test(e)})}(t,r)&&l.push(t),n=t,"fixed"===(a=void 0===(a=r)?Se(n).getComputedStyle(n):a).position)?l:e(t.parentNode):l}(o):l}function We(e){var[e]=Ke(e,1);return null!=e?e:null}function Ve(e){return Fe&&e?t(e)?e:y(e)?x(e)||e===o(e).scrollingElement?window:ke(e)?e:null:null:null}function K(e){return t(e)?e.scrollX:e.scrollLeft}function W(e){return t(e)?e.scrollY:e.scrollTop}function _e(e){return{x:K(e),y:W(e)}}function Ze(e){return Fe&&e&&e===document.scrollingElement}function V(e){var t={x:0,y:0},n=Ze(e)?{height:window.innerHeight,width:window.innerWidth}:{height:e.clientHeight,width:e.clientWidth},n={x:e.scrollWidth-n.width,y:e.scrollHeight-n.height};return{isTop:e.scrollTop<=t.y,isLeft:e.scrollLeft<=t.x,isBottom:e.scrollTop>=n.y,isRight:e.scrollLeft>=n.x,maxScroll:n,minScroll:t}}(u=O=O||{})[u.Forward=1]="Forward",u[u.Backward=-1]="Backward";const _={x:.2,y:.2};function Je(e){return e.reduce((e,t)=>Ie(e,_e(t)),Le)}const Z=[["x",["left","right"],function(e){return e.reduce((e,t)=>e+K(t),0)}],["y",["top","bottom"],function(e){return e.reduce((e,t)=>e+W(t),0)}]];class $e{constructor(t,e){this.rect=void 0,this.width=void 0,this.height=void 0,this.top=void 0,this.bottom=void 0,this.right=void 0,this.left=void 0;const n=Ke(e),r=Je(n);this.rect={...t},this.width=t.width,this.height=t.height;for(const[t,e,a]of Z)for(const o of e)Object.defineProperty(this,o,{get:()=>{var e=a(n),e=r[t]-e;return this.rect[o]+e},enumerable:!0});Object.defineProperty(this,"rect",{enumerable:!1})}}class i{constructor(e){this.target=void 0,this.listeners=[],this.removeAll=()=>{this.listeners.forEach(e=>{var t;return null==(t=this.target)?void 0:t.removeEventListener(...e)})},this.target=e}add(e,t,n){var r;null!=(r=this.target)&&r.addEventListener(e,t,n),this.listeners.push([e,t,n])}}function G(e,t){var n=Math.abs(e.x),e=Math.abs(e.y);return"number"==typeof t?Math.sqrt(n**2+e**2)>t:"x"in t&&"y"in t?n>t.x&&e>t.y:"x"in t?n>t.x:"y"in t&&e>t.y}function Q(e){e.preventDefault()}function ee(e){e.stopPropagation()}(u=r=r||{}).Click="click",u.DragStart="dragstart",u.Keydown="keydown",u.ContextMenu="contextmenu",u.Resize="resize",u.SelectionChange="selectionchange",u.VisibilityChange="visibilitychange",(u=w=w||{}).Space="Space",u.Down="ArrowDown",u.Right="ArrowRight",u.Left="ArrowLeft",u.Up="ArrowUp",u.Esc="Escape",u.Enter="Enter";const te={start:[w.Space,w.Enter],cancel:[w.Esc],end:[w.Space,w.Enter]};class ne{constructor(e){this.props=void 0,this.autoScrollEnabled=!1,this.referenceCoordinates=void 0,this.listeners=void 0,this.windowListeners=void 0;var{target:t}=(this.props=e)["event"];this.props=e,this.listeners=new i(o(t)),this.windowListeners=new i(Se(t)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){this.handleStart(),this.windowListeners.add(r.Resize,this.handleCancel),this.windowListeners.add(r.VisibilityChange,this.handleCancel),setTimeout(()=>this.listeners.add(r.Keydown,this.handleKeyDown))}handleStart(){var e,t,n,r,{activeNode:a,onStart:o}=this.props,a=a.node.current;a&&(void 0===e&&(e=ze),a)&&({top:e,left:t,bottom:n,right:r}=e(a),We(a))&&(n<=0||r<=0||e>=window.innerHeight||t>=window.innerWidth)&&a.scrollIntoView({block:"center",inline:"center"}),o(Le)}handleKeyDown(e){if($(e)){var{active:t,context:n,options:r}=this.props,{keyboardCodes:r=te,coordinateGetter:a=(e,t)=>{var n=t["currentCoordinates"];switch(e.code){case w.Right:return{...n,x:n.x+25};case w.Left:return{...n,x:n.x-25};case w.Down:return{...n,y:n.y+25};case w.Up:return{...n,y:n.y-25}}},scrollBehavior:o="smooth"}=r,i=e["code"];if(r.end.includes(i))this.handleEnd(e);else if(r.cancel.includes(i))this.handleCancel(e);else{var r=n.current["collisionRect"],i=r?{x:r.left,y:r.top}:Le,l=(this.referenceCoordinates||(this.referenceCoordinates=i),a(e,{active:t,context:n.current,currentCoordinates:i}));if(l){var c=N(l,i),s={x:0,y:0},r=n.current["scrollableAncestors"];for(const m of r){var u=e.code,{isTop:d,isRight:f,isLeft:g,isBottom:v,maxScroll:b,minScroll:h}=V(m),p=function(e){if(e===document.scrollingElement){const{innerWidth:e,innerHeight:t}=window;return{top:0,left:0,right:e,bottom:t,width:e,height:t}}const{top:t,left:n,right:r,bottom:a}=e.getBoundingClientRect();return{top:t,left:n,right:r,bottom:a,width:e.clientWidth,height:e.clientHeight}}(m),p={x:Math.min(u===w.Right?p.right-p.width/2:p.right,Math.max(u===w.Right?p.left:p.left+p.width/2,l.x)),y:Math.min(u===w.Down?p.bottom-p.height/2:p.bottom,Math.max(u===w.Down?p.top:p.top+p.height/2,l.y))},f=u===w.Right&&!f||u===w.Left&&!g,g=u===w.Down&&!v||u===w.Up&&!d;if(f&&p.x!==l.x){const e=m.scrollLeft+c.x,y=u===w.Right&&e<=b.x||u===w.Left&&e>=h.x;if(y&&!c.y)return void m.scrollTo({left:e,behavior:o});s.x=y?m.scrollLeft-e:u===w.Right?m.scrollLeft-b.x:m.scrollLeft-h.x,s.x&&m.scrollBy({left:-s.x,behavior:o});break}if(g&&p.y!==l.y){const e=m.scrollTop+c.y,x=u===w.Down&&e<=b.y||u===w.Up&&e>=h.y;if(x&&!c.x)return void m.scrollTo({top:e,behavior:o});s.y=x?m.scrollTop-e:u===w.Down?m.scrollTop-b.y:m.scrollTop-h.y,s.y&&m.scrollBy({top:-s.y,behavior:o});break}}this.handleMove(e,Ie(N(l,this.referenceCoordinates),s))}}}}handleMove(e,t){var n=this.props["onMove"];e.preventDefault(),n(t)}handleEnd(e){var t=this.props["onEnd"];e.preventDefault(),this.detach(),t()}handleCancel(e){var t=this.props["onCancel"];e.preventDefault(),this.detach(),t()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll()}}function re(e){return Boolean(e&&"distance"in e)}function ae(e){return Boolean(e&&"delay"in e)}ne.activators=[{eventName:"onKeyDown",handler:(e,t,n)=>{var{keyboardCodes:t=te,onActivation:r}=t,n=n["active"],a=e.nativeEvent["code"];if(t.start.includes(a)){const t=n.activatorNode.current;return!(t&&e.target!==t||(e.preventDefault(),null!=r&&r({event:e.nativeEvent}),0))}return!1}}];class oe{constructor(e,t,n){var r=(void 0===n&&(a=e.event.target,r=Se(a).EventTarget,n=a instanceof r?a:o(a)),this.props=void 0,this.events=void 0,this.autoScrollEnabled=!0,this.document=void 0,this.activated=!1,this.initialCoordinates=void 0,this.timeoutId=null,this.listeners=void 0,this.documentListeners=void 0,this.windowListeners=void 0,this.props=e,this.events=t,e)["event"],a=r["target"];this.props=e,this.events=t,this.document=o(a),this.documentListeners=new i(this.document),this.listeners=new i(n),this.windowListeners=new i(Se(a)),this.initialCoordinates=null!=(e=Pe(r))?e:Le,this.handleStart=this.handleStart.bind(this),this.handleMove=this.handleMove.bind(this),this.handleEnd=this.handleEnd.bind(this),this.handleCancel=this.handleCancel.bind(this),this.handleKeydown=this.handleKeydown.bind(this),this.removeTextSelection=this.removeTextSelection.bind(this),this.attach()}attach(){var{events:e,props:{options:{activationConstraint:t,bypassActivationConstraint:n}}}=this;if(this.listeners.add(e.move.name,this.handleMove,{passive:!1}),this.listeners.add(e.end.name,this.handleEnd),this.windowListeners.add(r.Resize,this.handleCancel),this.windowListeners.add(r.DragStart,Q),this.windowListeners.add(r.VisibilityChange,this.handleCancel),this.windowListeners.add(r.ContextMenu,Q),this.documentListeners.add(r.Keydown,this.handleKeydown),t){if(null!=n&&n({event:this.props.event,activeNode:this.props.activeNode,options:this.props.options}))return this.handleStart();if(ae(t))return void(this.timeoutId=setTimeout(this.handleStart,t.delay));if(re(t))return}this.handleStart()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll(),setTimeout(this.documentListeners.removeAll,50),null!==this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=null)}handleStart(){var e=this["initialCoordinates"],t=this.props["onStart"];e&&(this.activated=!0,this.documentListeners.add(r.Click,ee,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(r.SelectionChange,this.removeTextSelection),t(e))}handleMove(e){var{activated:t,initialCoordinates:n,props:r}=this,{onMove:r,options:{activationConstraint:a}}=r;if(n){var o=null!=(o=Pe(e))?o:Le,n=N(n,o);if(!t&&a){if(re(a)){if(null!=a.tolerance&&G(n,a.tolerance))return this.handleCancel();if(G(n,a.distance))return this.handleStart()}return ae(a)&&G(n,a.tolerance)?this.handleCancel():void 0}e.cancelable&&e.preventDefault(),r(o)}}handleEnd(){var e=this.props["onEnd"];this.detach(),e()}handleCancel(){var e=this.props["onCancel"];this.detach(),e()}handleKeydown(e){e.code===w.Esc&&this.handleCancel()}removeTextSelection(){var e;null!=(e=this.document.getSelection())&&e.removeAllRanges()}}const ie={move:{name:"pointermove"},end:{name:"pointerup"}};class le extends oe{constructor(e){var t=e["event"],t=o(t.target);super(e,ie,t)}}le.activators=[{eventName:"onPointerDown",handler:(e,t)=>{e=e.nativeEvent,t=t.onActivation;return!(!e.isPrimary||0!==e.button||(null!=t&&t({event:e}),0))}}];const ce={move:{name:"mousemove"},end:{name:"mouseup"}},se=(n=n||{},n[n.RightClick=2]="RightClick",class extends oe{constructor(e){super(e,ce,o(e.event.target))}}.activators=[{eventName:"onMouseDown",handler:(e,t)=>{e=e.nativeEvent,t=t.onActivation;return e.button!==n.RightClick&&(null!=t&&t({event:e}),!0)}}],{move:{name:"touchmove"},end:{name:"touchend"}});function Ge(e){let{acceleration:a,activator:t=j.Pointer,canScroll:o,draggingRect:n,enabled:i,interval:l=5,order:r=C.TreeOrder,pointerCoordinates:c,scrollableAncestors:s,scrollableAncestorRects:u,delta:d,threshold:f}=e;const g=function(){let{delta:r,disabled:a}={delta:d,disabled:!i};const o=S(r);return Ae(e=>{var t,n;return!a&&o&&e?(t=Math.sign(r.x-o.x),n=Math.sign(r.y-o.y),{x:{[O.Backward]:e.x[O.Backward]||-1===t,[O.Forward]:e.x[O.Forward]||1===t},y:{[O.Backward]:e.y[O.Backward]||-1===n,[O.Forward]:e.y[O.Forward]||1===n}}):ue},[a,r,o])}(),[v,b]=function(){const n=Object(Ee.useRef)(null);return[Object(Ee.useCallback)((e,t)=>{n.current=setInterval(e,t)},[]),Object(Ee.useCallback)(()=>{null!==n.current&&(clearInterval(n.current),n.current=null)},[])]}(),h=Object(Ee.useRef)({x:0,y:0}),p=Object(Ee.useRef)({x:0,y:0}),m=Object(Ee.useMemo)(()=>{switch(t){case j.Pointer:return c?{top:c.y,bottom:c.y,left:c.x,right:c.x}:null;case j.DraggableRect:return n}},[t,n,c]),y=Object(Ee.useRef)(null),x=Object(Ee.useCallback)(()=>{var e,t,n=y.current;n&&(e=h.current.x*p.current.x,t=h.current.y*p.current.y,n.scrollBy(e,t))},[]),w=Object(Ee.useMemo)(()=>r===C.TreeOrder?[...s].reverse():s,[r,s]);Object(Ee.useEffect)(()=>{if(i&&s.length&&m){for(const t of w)if(!1!==(null==o?void 0:o(t))){var e=s.indexOf(t),e=u[e];if(e){const{direction:n,speed:i}=function(e,t,n,r,a){var{top:n,left:o,right:i,bottom:l}=n,{isTop:e,isBottom:c,isLeft:s,isRight:u}=(void 0===r&&(r=10),void 0===a&&(a=_),V(e)),d={x:0,y:0},f={x:0,y:0},g=t.height*a.y,a=t.width*a.x;return!e&&n<=t.top+g?(d.y=O.Backward,f.y=r*Math.abs((t.top+g-n)/g)):!c&&l>=t.bottom-g&&(d.y=O.Forward,f.y=r*Math.abs((t.bottom-g-l)/g)),!u&&i>=t.right-a?(d.x=O.Forward,f.x=r*Math.abs((t.right-a-i)/a)):!s&&o<=t.left+a&&(d.x=O.Backward,f.x=r*Math.abs((t.left+a-o)/a)),{direction:d,speed:f}}(t,e,m,a,f);for(const r of["x","y"])g[r][n[r]]||(i[r]=0,n[r]=0);if(0<i.x||0<i.y)return b(),y.current=t,v(x,l),h.current=i,void(p.current=n)}}h.current={x:0,y:0},p.current={x:0,y:0}}b()},[a,x,o,b,i,l,JSON.stringify(m),JSON.stringify(g),v,s,w,u,JSON.stringify(f)])}(class extends oe{constructor(e){super(e,se)}static setup(){return window.addEventListener(se.move.name,e,{capture:!1,passive:!1}),function(){window.removeEventListener(se.move.name,e)};function e(){}}}).activators=[{eventName:"onTouchStart",handler:(e,t)=>{var e=e["nativeEvent"],t=t["onActivation"],n=e["touches"];return!(1<n.length||(null!=t&&t({event:e}),0))}}],(u=j=j||{})[u.Pointer=0]="Pointer",u[u.DraggableRect=1]="DraggableRect",(u=C=C||{})[u.TreeOrder=0]="TreeOrder",u[u.ReversedTreeOrder=1]="ReversedTreeOrder";const ue={x:{[O.Backward]:!1,[O.Forward]:!1},y:{[O.Backward]:!1,[O.Forward]:!1}},Qe=((u=je=je||{})[u.Always=0]="Always",u[u.BeforeDragging=1]="BeforeDragging",u[u.WhileDragging=2]="WhileDragging",(c=c||{}).Optimized="optimized",new Map);function et(t,n){return Ae(e=>t?e||("function"==typeof n?n(t):t):null,[n,t])}function tt(e){let{callback:t,disabled:n}=e;const r=R(t),a=Object(Ee.useMemo)(()=>{var e;if(!n&&"undefined"!=typeof window&&void 0!==window.ResizeObserver)return e=window["ResizeObserver"],new e(r)},[n]);return Object(Ee.useEffect)(()=>()=>null==a?void 0:a.disconnect(),[a]),a}function de(e){return new $e(ze(e),e)}function nt(a,n,r){void 0===n&&(n=de);const[e,o]=Object(Ee.useReducer)(function(e){var t;return a?!1===a.isConnected?null!=(t=null!=e?e:r)?t:null:(t=n(a),JSON.stringify(e)===JSON.stringify(t)?e:t):null},null),t=function(){let{callback:e,disabled:t}={callback(e){if(a)for(const t of e){const{type:e,target:n}=t;if("childList"===e&&n instanceof HTMLElement&&n.contains(a)){o();break}}}};const n=R(e),r=Object(Ee.useMemo)(()=>{var e;if(!t&&"undefined"!=typeof window&&void 0!==window.MutationObserver)return e=window["MutationObserver"],new e(n)},[n,t]);return Object(Ee.useEffect)(()=>()=>null==r?void 0:r.disconnect(),[r]),r}(),i=tt({callback:o});return Me(()=>{o(),a?(null!=i&&i.observe(a),null!=t&&t.observe(document.body,{childList:!0,subtree:!0})):(null!=i&&i.disconnect(),null!=t&&t.disconnect())},[a]),e}const rt=[];function at(t,e){void 0===e&&(e=[]);const n=Object(Ee.useRef)(null);return Object(Ee.useEffect)(()=>{n.current=null},e),Object(Ee.useEffect)(()=>{var e=t!==Le;e&&!n.current&&(n.current=t),!e&&n.current&&(n.current=null)},[t]),n.current?N(t,n.current):Le}function ot(n){return Object(Ee.useMemo)(()=>{return n?(e=n.innerWidth,t=n.innerHeight,{top:0,left:0,right:e,bottom:t,width:e,height:t}):null;var e,t},[n])}const it=[];const lt=[{sensor:le,options:{}},{sensor:ne,options:{}}],ct={current:{}},st={draggable:{measure:q},droppable:{measure:q,strategy:je.WhileDragging,frequency:c.Optimized},dragOverlay:{measure:ze}};class l extends Map{get(e){return null!=e&&null!=(e=super.get(e))?e:void 0}toArray(){return Array.from(this.values())}getEnabled(){return this.toArray().filter(e=>{e=e.disabled;return!e})}getNodeFor(e){return null!=(e=null==(e=this.get(e))?void 0:e.node.current)?e:void 0}}const fe={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map,droppableRects:new Map,droppableContainers:new l,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:B},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:st,measureDroppableContainers:B,windowRect:null,measuringScheduled:!1},ge={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:B,draggableNodes:new Map,over:null,measureDroppableContainers:B},ut=Object(Ee.createContext)(ge),dt=Object(Ee.createContext)(fe);function ft(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new l}}}function gt(e,t){switch(t.type){case Oe.DragStart:return{...e,draggable:{...e.draggable,initialCoordinates:t.initialCoordinates,active:t.active}};case Oe.DragMove:return e.draggable.active?{...e,draggable:{...e.draggable,translate:{x:t.coordinates.x-e.draggable.initialCoordinates.x,y:t.coordinates.y-e.draggable.initialCoordinates.y}}}:e;case Oe.DragEnd:case Oe.DragCancel:return{...e,draggable:{...e.draggable,active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}}};case Oe.RegisterDroppable:var n=t["element"],r=n["id"],a=new l(e.droppable.containers);return a.set(r,n),{...e,droppable:{...e.droppable,containers:a}};case Oe.SetDroppableDisabled:var{id:r,key:n,disabled:a}=t,o=e.droppable.containers.get(r);return o&&n===o.key?((n=new l(e.droppable.containers)).set(r,{...o,disabled:a}),{...e,droppable:{...e.droppable,containers:n}}):e;case Oe.UnregisterDroppable:var{id:r,key:o}=t,a=e.droppable.containers.get(r);return a&&o===a.key?((n=new l(e.droppable.containers)).delete(r),{...e,droppable:{...e.droppable,containers:n}}):e;default:return e}}function vt(e){let r=e["disabled"];const{active:t,activatorEvent:a,draggableNodes:o}=Object(Ee.useContext)(ut),i=S(a),l=S(null==t?void 0:t.id);return Object(Ee.useEffect)(()=>{if(!r&&!a&&i&&null!=l&&$(i)&&document.activeElement!==i.target){var e=o.get(l);if(e){const{activatorNode:r,node:n}=e;(r.current||n.current)&&requestAnimationFrame(()=>{for(const t of[r.current,n.current])if(t){const r=(e=t).matches(A)?e:e.querySelector(A);if(r){r.focus();break}}var e})}}},[a,r,o,l,i]),null}const bt=Object(Ee.createContext)({...Le,scaleX:1,scaleY:1}),ve=((u=Ce=Ce||{})[u.Uninitialized=0]="Uninitialized",u[u.Initializing=1]="Initializing",u[u.Initialized=2]="Initialized",Object(Ee.memo)(function(e){var t,n,z,r,F;let{id:B,accessibility:P,autoScroll:a=!0,children:U,sensors:Y=lt,collisionDetection:H=He,measuring:X,modifiers:q,...K}=e;const W=Object(Ee.useReducer)(gt,void 0,ft),[V,l]=W,[s,_]=function(){const[t]=Object(Ee.useState)(()=>new Set),e=Object(Ee.useCallback)(e=>(t.add(e),()=>t.delete(e)),[t]);return[Object(Ee.useCallback)(e=>{let{type:n,event:r}=e;t.forEach(e=>{var t;return null==(t=e[n])?void 0:t.call(e,r)})},[t]),e]}(),[Z,J]=Object(Ee.useState)(Ce.Uninitialized),b=Z===Ce.Initialized,{draggable:{active:o,nodes:c,translate:h},droppable:{containers:i}}=V,$=o?c.get(o):null,G=Object(Ee.useRef)({initial:null,translated:null}),u=Object(Ee.useMemo)(()=>{var e;return null!=o?{id:o,data:null!=(e=null==$?void 0:$.data)?e:ct,rect:G}:null},[o,$]),d=Object(Ee.useRef)(null),[Q,ee]=Object(Ee.useState)(null),[f,te]=Object(Ee.useState)(null),g=Ne(K,Object.values(K)),ne=Te("DndDescribedBy",B),re=Object(Ee.useMemo)(()=>i.getEnabled(),[i]),p=(t=X,Object(Ee.useMemo)(()=>({draggable:{...st.draggable,...null==t?void 0:t.draggable},droppable:{...st.droppable,...null==t?void 0:t.droppable},dragOverlay:{...st.dragOverlay,...null==t?void 0:t.dragOverlay}}),[null==t?void 0:t.draggable,null==t?void 0:t.droppable,null==t?void 0:t.dragOverlay])),{droppableRects:v,measureDroppableContainers:m,measuringScheduled:ae}=function(r){let{dragging:a,dependencies:e,config:t}={dragging:b,dependencies:[h.x,h.y],config:p.droppable};const[o,n]=Object(Ee.useState)(null),{frequency:i,measure:l,strategy:c}=t,s=Object(Ee.useRef)(r),u=function(){switch(c){case je.Always:return!1;case je.BeforeDragging:return a;default:return!a}}(),d=Ne(u),f=Object(Ee.useCallback)(function(e){void 0===e&&(e=[]),d.current||n(t=>null===t?e:t.concat(e.filter(e=>!t.includes(e))))},[d]),g=Object(Ee.useRef)(null),v=Ae(e=>{if(u&&!a)return Qe;if(e&&e!==Qe&&s.current===r&&null==o)return e;{const e=new Map;for(var t of r)if(t)if(o&&0<o.length&&!o.includes(t.id)&&t.rect.current)e.set(t.id,t.rect.current);else{const r=t.node.current,n=r?new $e(l(r),r):null;(t.rect.current=n)&&e.set(t.id,n)}return e}},[r,o,a,u,l]);return Object(Ee.useEffect)(()=>{s.current=r},[r]),Object(Ee.useEffect)(()=>{u||f()},[a,u]),Object(Ee.useEffect)(()=>{o&&0<o.length&&n(null)},[JSON.stringify(o)]),Object(Ee.useEffect)(()=>{u||"number"!=typeof i||null!==g.current||(g.current=setTimeout(()=>{f(),g.current=null},i))},[i,u,f,...e]),{droppableRects:v,measureDroppableContainers:f,measuringScheduled:null!=o}}(re),y=function(e,t){const n=null!==t?e.get(t):void 0,r=n?n.node.current:null;return Ae(e=>{return null!==t&&null!=(e=null!=r?r:e)?e:null},[r,t])}(c,o),oe=Object(Ee.useMemo)(()=>f?Pe(f):null,[f]),ie=(e=!1===(null==Q?void 0:Q.autoScrollEnabled),A="object"==typeof a?!1===a.enabled:!1===a,e=b&&!e&&!A,"object"==typeof a?{...a,enabled:e}:{enabled:e}),le=et(y,p.draggable.measure);{let{activeNode:n,measure:r,initialRect:a,config:e=!0}={activeNode:o?c.get(o):null,config:ie.layoutShiftCompensation,initialRect:le,measure:p.draggable.measure};const T=Object(Ee.useRef)(!1),{x:I,y:L}="boolean"==typeof e?{x:e,y:e}:e;Me(()=>{if((I||L)&&n){if(!T.current&&a){var e=null==n?void 0:n.node.current;if(e&&!1!==e.isConnected){var t=Xe(r(e),a);if(I||(t.x=0),L||(t.y=0),T.current=!0,0<Math.abs(t.x)||0<Math.abs(t.y)){const n=We(e);n&&n.scrollBy({top:t.y,left:t.x})}}}}else T.current=!1},[n,I,L,a,r])}const x=nt(y,p.draggable.measure,le),ce=nt(y?y.parentElement:null),w=Object(Ee.useRef)({activatorEvent:null,active:null,activeNode:y,collisionRect:null,collisions:null,droppableRects:v,draggableNodes:c,draggingNode:null,draggingNodeRect:null,droppableContainers:i,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),se=i.getNodeFor(null==(A=w.current.over)?void 0:A.id),O=function(){let r={measure:p.dragOverlay.measure}["measure"];const[e,a]=Object(Ee.useState)(null),n=tt({callback:Object(Ee.useCallback)(e=>{for(const{target:n}of e)if(ke(n)){a(e=>{var t=r(n);return e?{...e,width:t.width,height:t.height}:t});break}},[r])}),t=Object(Ee.useCallback)(e=>{var t=(e=e)?!(1<e.children.length)&&ke(t=e.children[0])?t:e:null;null!=n&&n.disconnect(),t&&null!=n&&n.observe(t),a(t?r(t):null)},[r,n]),[o,i]=Be(t);return Object(Ee.useMemo)(()=>({nodeRef:o,rect:e,setRef:i}),[e,o,i])}(),j=null!=(e=O.nodeRef.current)?e:y,C=b?null!=(A=O.rect)?A:x:null,ue=Boolean(O.nodeRef.current&&O.rect),de=Xe(e=ue?null:x,et(e)),fe=ot(j?Se(j):null),E=function(t){const n=Object(Ee.useRef)(t),e=Ae(e=>t?e&&e!==rt&&t&&n.current&&t.parentNode===n.current.parentNode?e:Ke(t):rt,[t]);return Object(Ee.useEffect)(()=>{n.current=t},[t]),e}(b?null!=se?se:y:null),D=function(e,t){void 0===t&&(t=ze);const[n]=e,r=ot(n?Se(n):null),[a,o]=Object(Ee.useReducer)(function(){return e.length?e.map(e=>Ze(e)?r:new $e(t(e),e)):it},it),i=tt({callback:o});return 0<e.length&&a===it&&o(),Me(()=>{e.length?e.forEach(e=>null==i?void 0:i.observe(e)):(null!=i&&i.disconnect(),o())},[e]),a}(E),R=function(e,t){let{transform:n,...r}=t;return null!=e&&e.length?e.reduce((e,t)=>t({transform:e,...r}),n):n}(q,{transform:{x:h.x-de.x,y:h.y-de.y,scaleX:1,scaleY:1},activatorEvent:f,active:u,activeNodeRect:x,containerNodeRect:ce,draggingNodeRect:C,over:w.current.over,overlayNodeRect:O.rect,scrollableAncestors:E,scrollableAncestorRects:D,windowRect:fe}),ge=oe?Ie(oe,h):null,ve=function(r){const[e,a]=Object(Ee.useState)(null),o=Object(Ee.useRef)(r),i=Object(Ee.useCallback)(e=>{const t=Ve(e.target);t&&a(e=>e?(e.set(t,_e(t)),new Map(e)):null)},[]);return Object(Ee.useEffect)(()=>{const e=o.current;var t;return r!==e&&(n(e),t=r.map(e=>{e=Ve(e);return e?(e.addEventListener("scroll",i,{passive:!0}),[e,_e(e)]):null}).filter(e=>null!=e),a(t.length?new Map(t):null),o.current=r),()=>{n(r),n(e)};function n(e){e.forEach(e=>{e=Ve(e);null!=e&&e.removeEventListener("scroll",i)})}},[i,r]),Object(Ee.useMemo)(()=>r.length?e?Array.from(e.values()).reduce((e,t)=>Ie(e,t),Le):Je(r):Le,[r,e])}(E),be=at(ve),he=at(ve,[x]),S=Ie(R,be),k=C?qe(C,R):null,M=u&&k?H({active:u,collisionRect:k,droppableRects:v,droppableContainers:re,pointerCoordinates:ge}):null,pe=(A=M,e="id",A&&0!==A.length?([A]=A,e?A[e]:A):null),[N,me]=Object(Ee.useState)(null),ye=(e=ue?R:Ie(R,he),A=null!=(A=null==N?void 0:N.rect)?A:null,r=x,{...e,scaleX:A&&r?A.width/r.width:1,scaleY:A&&r?A.height/r.height:1}),xe=Object(Ee.useCallback)((e,t)=>{var{sensor:t,options:n}=t;if(null!=d.current){var r=c.get(d.current);if(r){const i=e.nativeEvent,o=new t({active:d.current,activeNode:r,event:i,options:n,context:w,onStart(e){const t=d.current;if(null!=t){var n=c.get(t);if(n){const r=g.current["onDragStart"],a={active:{id:t,data:n.data,rect:G}};Object(Re.unstable_batchedUpdates)(()=>{null!=r&&r(a),J(Ce.Initializing),l({type:Oe.DragStart,initialCoordinates:e,active:t}),s({type:"onDragStart",event:a})})}}},onMove(e){l({type:Oe.DragMove,coordinates:e})},onEnd:a(Oe.DragEnd),onCancel:a(Oe.DragCancel)});function a(o){return async function(){var{active:e,collisions:t,over:n,scrollAdjustedTranslate:r}=w.current;let a=null;if(e&&r){const Re=g.current["cancelDrop"];a={activatorEvent:i,active:e,collisions:t,delta:r,over:n},o!==Oe.DragEnd||"function"!=typeof Re||await Promise.resolve(Re(a))&&(o=Oe.DragCancel)}d.current=null,Object(Re.unstable_batchedUpdates)(()=>{l({type:o}),J(Ce.Uninitialized),me(null),ee(null),te(null);var e=o===Oe.DragEnd?"onDragEnd":"onDragCancel";if(a){const o=g.current[e];null!=o&&o(a),s({type:e,event:a})}})}}Object(Re.unstable_batchedUpdates)(()=>{ee(o),te(e.nativeEvent)})}}},[c]),we=(n=Y,z=Object(Ee.useCallback)((a,o)=>(e,t)=>{var n=e.nativeEvent,r=c.get(t);null!==d.current||!r||n.dndKit||n.defaultPrevented||!0===a(e,o.options,{active:r})&&(n.dndKit={capturedBy:o.sensor},d.current=t,xe(e,o))},[c,xe]),Object(Ee.useMemo)(()=>n.reduce((e,t)=>{var n=t["sensor"];return[...e,...n.activators.map(e=>({eventName:e.eventName,handler:z(e.handler,t)}))]},[]),[n,z]));F=Y,Object(Ee.useEffect)(()=>{if(Fe){const t=F.map(e=>{e=e.sensor;return null==e.setup?void 0:e.setup()});return()=>{for(const e of t)null!=e&&e()}}},F.map(e=>{e=e.sensor;return e})),Me(()=>{x&&Z===Ce.Initializing&&J(Ce.Initialized)},[x,Z]),Object(Ee.useEffect)(()=>{const e=g.current["onDragMove"],{active:t,activatorEvent:n,collisions:r,over:a}=w.current;if(t&&n){const o={active:t,activatorEvent:n,collisions:r,delta:{x:S.x,y:S.y},over:a};Object(Re.unstable_batchedUpdates)(()=>{null!=e&&e(o),s({type:"onDragMove",event:o})})}},[S.x,S.y]),Object(Ee.useEffect)(()=>{var{active:e,activatorEvent:t,collisions:n,droppableContainers:r,scrollAdjustedTranslate:a}=w.current;if(e&&null!=d.current&&t&&a){const o=g.current["onDragOver"],i=r.get(pe),l=i&&i.rect.current?{id:i.id,rect:i.rect.current,data:i.data,disabled:i.disabled}:null,c={active:e,activatorEvent:t,collisions:n,delta:{x:a.x,y:a.y},over:l};Object(Re.unstable_batchedUpdates)(()=>{me(l),null!=o&&o(c),s({type:"onDragOver",event:c})})}},[pe]),Me(()=>{w.current={activatorEvent:f,active:u,activeNode:y,collisionRect:k,collisions:M,droppableRects:v,draggableNodes:c,draggingNode:j,draggingNodeRect:C,droppableContainers:i,over:N,scrollableAncestors:E,scrollAdjustedTranslate:S},G.current={initial:C,translated:k}},[u,y,M,k,c,j,C,v,i,N,E,S]),Ge({...ie,delta:h,draggingRect:k,pointerCoordinates:ge,scrollableAncestors:E,scrollableAncestorRects:D});var e=Object(Ee.useMemo)(()=>({active:u,activeNode:y,activeNodeRect:x,activatorEvent:f,collisions:M,containerNodeRect:ce,dragOverlay:O,draggableNodes:c,droppableContainers:i,droppableRects:v,over:N,measureDroppableContainers:m,scrollableAncestors:E,scrollableAncestorRects:D,measuringConfiguration:p,measuringScheduled:ae,windowRect:fe}),[u,y,x,f,M,ce,O,c,i,v,N,m,E,D,p,ae,fe]),A=Object(Ee.useMemo)(()=>({activatorEvent:f,activators:we,active:u,activeNodeRect:x,ariaDescribedById:{draggable:ne},dispatch:l,draggableNodes:c,over:N,measureDroppableContainers:m}),[f,we,u,x,l,ne,c,N,m]);return De.a.createElement(Ue.Provider,{value:_},De.a.createElement(ut.Provider,{value:A},De.a.createElement(dt.Provider,{value:e},De.a.createElement(bt.Provider,{value:ye},U)),De.a.createElement(vt,{disabled:!1===(null==P?void 0:P.restoreFocus)})),De.a.createElement(Ye,{...P,hiddenTextDescribedById:ne}))})),be=Object(Ee.createContext)(null),he="button";const pe={timeout:25};function me(e,t,n){e=e.slice();return e.splice(n<0?e.length+n:n,0,e.splice(t,1)[0]),e}function ye(e){return null!==e&&0<=e}const xe={scaleX:1,scaleY:1},we=e=>{var{rects:t,activeNodeRect:e,activeIndex:n,overIndex:r,index:a}=e,o=null!=(o=t[n])?o:e;if(!o)return null;e=t[a],i=t[a-1],l=t[a+1];var i,l=e&&(i||l)?n<a?i?e.left-(i.left+i.width):l.left-(e.left+e.width):l?l.left-(e.left+e.width):e.left-(i.left+i.width):0;if(a!==n)return n<a&&a<=r?{x:-o.width-l,y:0,...xe}:a<n&&r<=a?{x:o.width+l,y:0,...xe}:{x:0,y:0,...xe};{const e=t[r];return e?{x:n<r?e.left+e.width-(o.left+o.width):e.left-o.left,y:0,...xe}:null}},ht=e=>{var{rects:e,activeIndex:t,overIndex:n,index:r}=e,n=me(e,n,t),t=e[r],e=n[r];return e&&t?{x:e.left-t.left,y:e.top-t.top,scaleX:e.width/t.width,scaleY:e.height/t.height}:null},pt={scaleX:1,scaleY:1},mt=e=>{var{activeIndex:t,activeNodeRect:e,index:n,rects:r,overIndex:a}=e,o=null!=(o=r[t])?o:e;if(!o)return null;if(n===t){const e=r[a];return e?{x:0,y:t<a?e.top+e.height-(o.top+o.height):e.top-o.top,...pt}:null}e=r[n],i=r[n-1],r=r[n+1];var i,r=e?t<n?i?e.top-(i.top+i.height):r?r.top-(e.top+e.height):0:r?r.top-(e.top+e.height):i?e.top-(i.top+i.height):0:0;return t<n&&n<=a?{x:0,y:-o.height-r,...pt}:n<t&&a<=n?{x:0,y:o.height+r,...pt}:{x:0,y:0,...pt}},yt=De.a.createContext({activeIndex:-1,containerId:"Sortable",disableTransforms:!1,items:[],overIndex:-1,useDragOverlay:!1,sortedRects:[],strategy:ht,disabled:{draggable:!1,droppable:!1}});function xt(e){let{children:t,id:n,items:r,strategy:a=ht,disabled:o=!1}=e;const{active:i,dragOverlay:l,droppableRects:c,over:s,measureDroppableContainers:u}=Object(Ee.useContext)(dt),d=Te("Sortable",n),f=Boolean(null!==l.rect),g=Object(Ee.useMemo)(()=>r.map(e=>"object"==typeof e&&"id"in e?e.id:e),[r]),v=null!=i,b=i?g.indexOf(i.id):-1,h=s?g.indexOf(s.id):-1,p=Object(Ee.useRef)(g),m=!function(t,n){if(t===n)return 1;if(t.length===n.length){for(let e=0;e<t.length;e++)if(t[e]!==n[e])return;return 1}}(g,p.current),y=-1!==h&&-1===b||m,x="boolean"==typeof o?{draggable:o,droppable:o}:o;Me(()=>{m&&v&&u(g)},[m,g,v,u]),Object(Ee.useEffect)(()=>{p.current=g},[g]);e=Object(Ee.useMemo)(()=>{return{activeIndex:b,containerId:d,disabled:x,disableTransforms:y,items:g,overIndex:h,useDragOverlay:f,sortedRects:(e=g,r=c,e.reduce((e,t,n)=>{t=r.get(t);return t&&(e[n]=t),e},Array(e.length))),strategy:a};var e,r},[b,d,x.draggable,x.droppable,y,g,h,c,f,a]);return De.a.createElement(yt.Provider,{value:e},t)}const wt={duration:200,easing:"ease"},Ot=J.Transition.toString({property:"transform",duration:0,easing:"linear"}),jt={roleDescription:"sortable"};function Ct(e){let{animateLayoutChanges:t=e=>{var{containerId:e,isSorting:t,wasDragging:n,index:r,items:a,newIndex:o,previousItems:i,previousContainerId:l,transition:c}=e;return!(!c||!n||i!==a&&r===o||!t&&(o===r||e!==l))},attributes:n,disabled:r,data:a,getNewIndex:o=e=>{var{id:e,items:t,activeIndex:n,overIndex:r}=e;return me(t,n,r).indexOf(e)},id:O,strategy:i,resizeObserverConfig:j,transition:l=wt}=e;const{items:c,containerId:s,activeIndex:u,disabled:d,disableTransforms:f,sortedRects:g,overIndex:v,useDragOverlay:z,strategy:F}=Object(Ee.useContext)(yt),C="boolean"==typeof(e=r)?{draggable:e,droppable:!1}:{draggable:null!=(L=null==e?void 0:e.draggable)?L:d.draggable,droppable:null!=(L=null==e?void 0:e.droppable)?L:d.droppable},b=c.indexOf(O),E=Object(Ee.useMemo)(()=>({sortable:{containerId:s,index:b,items:c},...a}),[s,a,b,c]),B=Object(Ee.useMemo)(()=>c.slice(c.indexOf(O)),[c,O]),{rect:h,node:p,isOver:P,setNodeRef:m}=function(){let{data:e,disabled:t=!1,id:n,resizeObserverConfig:r}={id:O,data:E,disabled:C.droppable,resizeObserverConfig:{updateMeasurementsFor:B,...j}};const a=Te("Droppable"),{active:o,dispatch:i,over:l,measureDroppableContainers:c}=Object(Ee.useContext)(ut),s=Object(Ee.useRef)({disabled:t}),u=Object(Ee.useRef)(!1),d=Object(Ee.useRef)(null),f=Object(Ee.useRef)(null),{disabled:g,updateMeasurementsFor:v,timeout:b}={...pe,...r},h=Ne(null!=v?v:n),p=tt({callback:Object(Ee.useCallback)(()=>{u.current?(null!=f.current&&clearTimeout(f.current),f.current=setTimeout(()=>{c(Array.isArray(h.current)?h.current:[h.current]),f.current=null},b)):u.current=!0},[b]),disabled:g||!o}),m=Object(Ee.useCallback)((e,t)=>{p&&(t&&(p.unobserve(t),u.current=!1),e)&&p.observe(e)},[p]),[y,x]=Be(m),w=Ne(e);return Object(Ee.useEffect)(()=>{p&&y.current&&(p.disconnect(),u.current=!1,p.observe(y.current))},[y,p]),Me(()=>(i({type:Oe.RegisterDroppable,element:{id:n,key:a,disabled:t,node:y,rect:d,data:w}}),()=>i({type:Oe.UnregisterDroppable,key:a,id:n})),[n]),Object(Ee.useEffect)(()=>{t!==s.current.disabled&&(i({type:Oe.SetDroppableDisabled,id:n,key:a,disabled:t}),s.current.disabled=t)},[n,a,t,i]),{active:o,rect:d,isOver:(null==l?void 0:l.id)===n,node:y,over:l,setNodeRef:x}}(),{active:y,activatorEvent:U,activeNodeRect:Y,attributes:H,setNodeRef:x,listeners:X,isDragging:w,over:q,setActivatorNodeRef:K,transform:W}=function(e){let{id:t,data:n,disabled:r=!1,attributes:a}=e;const o=Te("Droppable"),{activators:i,activatorEvent:l,active:c,activeNodeRect:s,ariaDescribedById:u,draggableNodes:d,over:f}=Object(Ee.useContext)(ut),{role:g=he,roleDescription:v="draggable",tabIndex:b=0}=null!=a?a:{},h=(null==c?void 0:c.id)===t,p=Object(Ee.useContext)(h?bt:be),[m,y]=Be(),[x,w]=Be(),O=(C=i,E=t,Object(Ee.useMemo)(()=>C.reduce((e,t)=>{let{eventName:n,handler:r}=t;return e[n]=e=>{r(e,E)},e},{}),[C,E])),j=Ne(n);var C,E;return Me(()=>(d.set(t,{id:t,key:o,node:m,activatorNode:x,data:j}),()=>{var e=d.get(t);e&&e.key===o&&d.delete(t)}),[d,t]),{active:c,activatorEvent:l,activeNodeRect:s,attributes:Object(Ee.useMemo)(()=>({role:g,tabIndex:b,"aria-disabled":r,"aria-pressed":!(!h||g!==he)||void 0,"aria-roledescription":v,"aria-describedby":u.draggable}),[r,g,b,h,v,u.draggable]),isDragging:h,listeners:r?void 0:O,node:m,over:f,setNodeRef:y,setActivatorNodeRef:w,transform:p}}({id:O,data:E,attributes:{...jt,...n},disabled:C.draggable}),V=function(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];return Object(Ee.useMemo)(()=>t=>{n.forEach(e=>e(t))},n)}(m,x),D=Boolean(y),R=D&&!f&&ye(u)&&ye(v),S=!z&&w,k=S&&R?W:null,_=R?null!=k?k:(null!=i?i:F)({rects:g,activeNodeRect:Y,activeIndex:u,overIndex:v,index:b}):null,M=ye(u)&&ye(v)?o({id:O,items:c,activeIndex:u,overIndex:v}):b,N=null==y?void 0:y.id,A=Object(Ee.useRef)({activeId:N,items:c,newIndex:M,containerId:s}),Z=c!==A.current.items,T=t({active:y,containerId:s,isDragging:w,isSorting:D,id:O,index:b,items:c,newIndex:A.current.newIndex,previousItems:A.current.items,previousContainerId:A.current.containerId,transition:l,wasDragging:null!=A.current.activeId}),I=function(){let{disabled:t,index:n,node:r,rect:a}={disabled:!T,index:b,node:p,rect:h};const[e,o]=Object(Ee.useState)(null),i=Object(Ee.useRef)(n);return Me(()=>{if(!t&&n!==i.current&&r.current){var e=a.current;if(e){const t=ze(r.current,{ignoreTransform:!0}),n={x:e.left-t.left,y:e.top-t.top,scaleX:e.width/t.width,scaleY:e.height/t.height};(n.x||n.y)&&o(n)}}n!==i.current&&(i.current=n)},[t,n,r,a]),Object(Ee.useEffect)(()=>{e&&o(null)},[e]),e}();var L;return Object(Ee.useEffect)(()=>{D&&A.current.newIndex!==M&&(A.current.newIndex=M),s!==A.current.containerId&&(A.current.containerId=s),c!==A.current.items&&(A.current.items=c)},[D,M,s,c]),Object(Ee.useEffect)(()=>{if(N!==A.current.activeId){if(!N||A.current.activeId){const e=setTimeout(()=>{A.current.activeId=N},50);return()=>clearTimeout(e)}A.current.activeId=N}},[N]),{active:y,activeIndex:u,attributes:H,data:E,rect:h,index:b,newIndex:M,items:c,isOver:P,isSorting:D,isDragging:w,listeners:X,node:p,overIndex:v,over:q,setNodeRef:V,setActivatorNodeRef:K,setDroppableNodeRef:m,setDraggableNodeRef:x,transform:null!=I?I:_,transition:I||Z&&A.current.newIndex===b?Ot:S&&!$(U)||!l||!D&&!T?void 0:J.Transition.toString({...l,property:"transform"})}}w.Down,w.Right,w.Up,w.Left;var d=e(13),Et={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z"}}]},name:"holder",theme:"outlined"},Dt=e(6),Rt=e(17),St=e(174),c=e(39),kt=e.n(c),Mt=Object(Ee.createContext)({}),Nt=e(16);function b(e,t){var n="string"==typeof(e="string"==typeof(n=e)&&-1!==n.indexOf(".")&&1===parseFloat(n)?"100%":e)&&-1!==e.indexOf("%");return e=360===t?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:360===t?(e<0?e%t+t:e%t)/parseFloat(String(t)):e%t/parseFloat(String(t))}function At(e){return e<=1?"".concat(100*Number(e),"%"):e}function Tt(e){return 1===e.length?"0"+e:String(e)}function It(e,t,n){return n<0&&(n+=1),1<n&&--n,n<1/6?e+6*n*(t-e):n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function Lt(e){return h(e)/255}function h(e){return parseInt(e,16)}var zt={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function s(e){var t,n,r,a,o,i,l,c,s,u={r:0,g:0,b:0},d=1,f=null,g=!1,v=!1;return"object"==typeof(e="string"==typeof e?function(e){if(0===(e=e.trim().toLowerCase()).length)return!1;var t=!1;if(zt[e])e=zt[e],t=!0;else if("transparent"===e)return{r:0,g:0,b:0,a:0,format:"name"};var n=p.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=p.rgba.exec(e))?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=p.hsl.exec(e))?{h:n[1],s:n[2],l:n[3]}:(n=p.hsla.exec(e))?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=p.hsv.exec(e))?{h:n[1],s:n[2],v:n[3]}:(n=p.hsva.exec(e))?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=p.hex8.exec(e))?{r:h(n[1]),g:h(n[2]),b:h(n[3]),a:Lt(n[4]),format:t?"name":"hex8"}:(n=p.hex6.exec(e))?{r:h(n[1]),g:h(n[2]),b:h(n[3]),format:t?"name":"hex"}:(n=p.hex4.exec(e))?{r:h(n[1]+n[1]),g:h(n[2]+n[2]),b:h(n[3]+n[3]),a:Lt(n[4]+n[4]),format:t?"name":"hex8"}:!!(n=p.hex3.exec(e))&&{r:h(n[1]+n[1]),g:h(n[2]+n[2]),b:h(n[3]+n[3]),format:t?"name":"hex"}}(e):e)&&(m(e.r)&&m(e.g)&&m(e.b)?(i=e.r,a=e.g,o=e.b,u={r:255*b(i,255),g:255*b(a,255),b:255*b(o,255)},g=!0,v="%"===String(e.r).substr(-1)?"prgb":"rgb"):m(e.h)&&m(e.s)&&m(e.v)?(f=At(e.s),i=At(e.v),a=e.h,o=f,i=i,a=6*b(a,360),o=b(o,100),i=b(i,100),l=Math.floor(a),u={r:255*[i,s=i*(1-(a-=l)*o),c=i*(1-o),c,a=i*(1-(1-a)*o),i][o=l%6],g:255*[a,i,i,s,c,c][o],b:255*[c,c,a,i,i,s][o]},g=!0,v="hsv"):m(e.h)&&m(e.s)&&m(e.l)&&(f=At(e.s),l=At(e.l),c=e.h,s=f,f=l,c=b(c,360),s=b(s,100),f=b(f,100),0===s?t=r=n=f:(t=It(s=2*f-(f=f<.5?f*(1+s):f+s-f*s),f,c+1/3),n=It(s,f,c),r=It(s,f,c-1/3)),u={r:255*t,g:255*n,b:255*r},g=!0,v="hsl"),Object.prototype.hasOwnProperty.call(e,"a"))&&(d=e.a),f=d,f=parseFloat(f),d=f=isNaN(f)||f<0||1<f?1:f,{ok:g,format:e.format||v,r:Math.min(255,Math.max(u.r,0)),g:Math.min(255,Math.max(u.g,0)),b:Math.min(255,Math.max(u.b,0)),a:d}}var u="(?:".concat("[-\\+]?\\d*\\.\\d+%?",")|(?:").concat("[-\\+]?\\d+%?",")"),c="[\\s|\\(]+(".concat(u,")[,|\\s]+(").concat(u,")[,|\\s]+(").concat(u,")\\s*\\)?"),Ft="[\\s|\\(]+(".concat(u,")[,|\\s]+(").concat(u,")[,|\\s]+(").concat(u,")[,|\\s]+(").concat(u,")\\s*\\)?"),p={CSS_UNIT:new RegExp(u),rgb:new RegExp("rgb"+c),rgba:new RegExp("rgba"+Ft),hsl:new RegExp("hsl"+c),hsla:new RegExp("hsla"+Ft),hsv:new RegExp("hsv"+c),hsva:new RegExp("hsva"+Ft),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function m(e){return Boolean(p.CSS_UNIT.exec(String(e)))}var Bt=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function Pt(e){e=function(e,t,n){e=b(e,255),t=b(t,255),n=b(n,255);var r=Math.max(e,t,n),a=Math.min(e,t,n),o=0,i=r,l=r-a,c=0===r?0:l/r;if(r===a)o=0;else{switch(r){case e:o=(t-n)/l+(t<n?6:0);break;case t:o=(n-e)/l+2;break;case n:o=(e-t)/l+4}o/=6}return{h:o,s:c,v:i}}(e.r,e.g,e.b);return{h:360*e.h,s:e.s,v:e.v}}function Ut(e){var n=e.r,t=e.g,e=e.b;return"#".concat(function(e,t){e=[Tt(Math.round(n).toString(16)),Tt(Math.round(e).toString(16)),Tt(Math.round(t).toString(16))];return e.join("")}(t,e))}function Yt(e,t,n){return(n=60<=Math.round(e.h)&&Math.round(e.h)<=240?n?Math.round(e.h)-2*t:Math.round(e.h)+2*t:n?Math.round(e.h)+2*t:Math.round(e.h)-2*t)<0?n+=360:360<=n&&(n-=360),n}function Ht(e,t,n){return 0===e.h&&0===e.s?e.s:(1<(e=n?e.s-.16*t:4===t?e.s+.16:e.s+.05*t)&&(e=1),(e=n&&5===t&&.1<e?.1:e)<.06&&(e=.06),Number(e.toFixed(2)))}function Xt(e,t,n){return 1<(n=n?e.v+.05*t:e.v-.15*t)&&(n=1),Number(n.toFixed(2))}function qt(e,t){for(var r=1<arguments.length&&void 0!==t?t:{},a=[],n=s(e),o=5;0<o;--o){var i=Pt(n),i=Ut(s({h:Yt(i,o,!0),s:Ht(i,o,!0),v:Xt(i,o,!0)}));a.push(i)}a.push(Ut(n));for(var l=1;l<=4;l+=1){var c=Pt(n),c=Ut(s({h:Yt(c,l),s:Ht(c,l),v:Xt(c,l)}));a.push(c)}return"dark"===r.theme?Bt.map(function(e){var t,n=e.index,e=e.opacity;return Ut((t=s(r.backgroundColor||"#141414"),n=s(a[n]),e=100*e,e/=100,{r:(n.r-t.r)*e+t.r,g:(n.g-t.g)*e+t.g,b:(n.b-t.b)*e+t.b}))}):a}var Kt={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1890FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},Wt={},Vt={},_t=(Object.keys(Kt).forEach(function(e){Wt[e]=qt(Kt[e]),Wt[e].primary=Wt[e][5],Vt[e]=qt(Kt[e],{theme:"dark",backgroundColor:"#141414"}),Vt[e].primary=Vt[e][5]}),e(130)),Zt=e(272),Jt=new Map;function $t(e){e=(0<arguments.length&&void 0!==e?e:{}).mark;return e?e.startsWith("data-")?e:"data-".concat(e):"rc-util-key"}function Gt(e){return e.attachTo||document.querySelector("head")||document.body}function Qt(e){return Array.from((Jt.get(e)||e).children).filter(function(e){return"STYLE"===e.tagName})}function en(e,t){t=1<arguments.length&&void 0!==t?t:{};if(!Object(Zt.a)())return null;var n=t.csp,r=t.prepend,a=t.priority,o=void 0===a?0:a,a="queue"===(a=r)?"prependQueue":a?"prepend":"append",i="prependQueue"==a,l=document.createElement("style"),a=(l.setAttribute("data-rc-order",a),i&&o&&l.setAttribute("data-rc-priority","".concat(o)),null!=n&&n.nonce&&(l.nonce=null==n?void 0:n.nonce),l.innerHTML=e,Gt(t)),n=a.firstChild;if(r){if(i){e=(t.styles||Qt(a)).filter(function(e){return!!["prepend","prependQueue"].includes(e.getAttribute("data-rc-order"))&&Number(e.getAttribute("data-rc-priority")||0)<=o});if(e.length)return a.insertBefore(l,e[e.length-1].nextSibling),l}a.insertBefore(l,n)}else a.appendChild(l);return l}function tn(e,t,n){var n=2<arguments.length&&void 0!==n?n:{},r=Gt(n),a=Qt(r),n=Object(d.a)(Object(d.a)({},n),{},{styles:a}),r=(a=r,r=n,(o=Jt.get(a))&&function(e,t){if(e){if(e.contains)return e.contains(t);for(var n=t;n;){if(n===e)return 1;n=n.parentNode}}}(document,o)||(r=(o=en("",r)).parentNode,Jt.set(a,r),a.removeChild(o)),function(t,e){var n=1<arguments.length&&void 0!==e?e:{},e=Gt(n);return(n.styles||Qt(e)).find(function(e){return e.getAttribute($t(n))===t})}(t,n));if(r)return null!=(a=n.csp)&&a.nonce&&r.nonce!==(null==(o=n.csp)?void 0:o.nonce)&&(r.nonce=null==(a=n.csp)?void 0:a.nonce),r.innerHTML!==e&&(r.innerHTML=e);var o=en(e,n);o.setAttribute($t(n),t)}var u=e(878),nn=e.n(u);function rn(e){return"object"===Object(Nt.a)(e)&&"string"==typeof e.name&&"string"==typeof e.theme&&("object"===Object(Nt.a)(e.icon)||"function"==typeof e.icon)}function an(e){var r=0<arguments.length&&void 0!==e?e:{};return Object.keys(r).reduce(function(e,t){var n=r[t];return"class"===t?(e.className=n,delete e.class):(delete e[t],e[nn()(t)]=n),e},{})}function on(e){return qt(e)[0]}function ln(e){return e?Array.isArray(e)?e:[e]:[]}function cn(e){var t=e.icon,n=e.className,r=e.onClick,a=e.style,o=e.primaryColor,i=e.secondaryColor,e=Object(St.a)(e,sn),l=un;return o&&(l={primaryColor:o,secondaryColor:i||on(o)}),function(e){var t=0<arguments.length&&void 0!==e?e:"\n.anticon {\n display: inline-block;\n color: inherit;\n font-style: normal;\n line-height: 0;\n text-align: center;\n text-transform: none;\n vertical-align: -0.125em;\n text-rendering: optimizeLegibility;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.anticon > * {\n line-height: 1;\n}\n\n.anticon svg {\n display: inline-block;\n}\n\n.anticon::before {\n display: none;\n}\n\n.anticon .anticon-icon {\n display: block;\n}\n\n.anticon[tabindex] {\n cursor: pointer;\n}\n\n.anticon-spin::before,\n.anticon-spin {\n display: inline-block;\n -webkit-animation: loadingCircle 1s infinite linear;\n animation: loadingCircle 1s infinite linear;\n}\n\n@-webkit-keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n",n=Object(Ee.useContext)(Mt).csp;Object(Ee.useEffect)(function(){tn(t,"@ant-design-icons",{prepend:!0,csp:n})},[])}(),i=rn(t),o="icon should be icon definiton, but got ".concat(t),Object(_t.a)(i,"[@ant-design/icons] ".concat(o)),rn(t)?function n(r,a,e){return e?De.a.createElement(r.tag,Object(d.a)(Object(d.a)({key:a},an(r.attrs)),e),(r.children||[]).map(function(e,t){return n(e,"".concat(a,"-").concat(r.tag,"-").concat(t))})):De.a.createElement(r.tag,Object(d.a)({key:a},an(r.attrs)),(r.children||[]).map(function(e,t){return n(e,"".concat(a,"-").concat(r.tag,"-").concat(t))}))}((i=(i=t)&&"function"==typeof i.icon?Object(d.a)(Object(d.a)({},i),{},{icon:i.icon(l.primaryColor,l.secondaryColor)}):i).icon,"svg-".concat(i.name),Object(d.a)({className:n,onClick:r,style:a,"data-icon":i.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},e)):null}var sn=["icon","className","onClick","style","primaryColor","secondaryColor"],un={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1},dn=(cn.displayName="IconReact",cn.getTwoToneColors=function(){return Object(d.a)({},un)},cn.setTwoToneColors=function(e){var t=e.primaryColor,e=e.secondaryColor;un.primaryColor=t,un.secondaryColor=e||on(t),un.calculated=!!e},cn);function fn(e){var e=ln(e),e=Object(Dt.a)(e,2),t=e[0],e=e[1];return dn.setTwoToneColors({primaryColor:t,secondaryColor:e})}function gn(e,t){return Ee.createElement(pn,Object(d.a)(Object(d.a)({},e),{},{ref:t,icon:Et}))}function vn(e,t){return Ee.createElement(pn,Object(d.a)(Object(d.a)({},e),{},{ref:t,icon:mn}))}function bn(e,t){return Ee.createElement(pn,Object(d.a)(Object(d.a)({},e),{},{ref:t,icon:yn}))}var hn=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"],c=(fn("#1890ff"),Ee.forwardRef(function(e,t){var n=e.className,r=e.icon,a=e.spin,o=e.rotate,i=e.tabIndex,l=e.onClick,c=e.twoToneColor,e=Object(St.a)(e,hn),s=Ee.useContext(Mt),u=s.prefixCls,u=void 0===u?"anticon":u,s=s.rootClassName,u=kt()(s,u,(s={},Object(Rt.a)(s,"".concat(u,"-").concat(r.name),!!r.name),Object(Rt.a)(s,"".concat(u,"-spin"),!!a||"loading"===r.name),s),n),a=i,s=(void 0===i&&l&&(a=-1),o?{msTransform:"rotate(".concat(o,"deg)"),transform:"rotate(".concat(o,"deg)")}:void 0),n=ln(c),i=Object(Dt.a)(n,2),o=i[0],c=i[1];return Ee.createElement("span",Object(d.a)(Object(d.a)({role:"img","aria-label":r.name},e),{},{ref:t,tabIndex:a,onClick:l,className:u}),Ee.createElement(dn,{icon:r,primaryColor:o,secondaryColor:c,style:s}))})),pn=(c.displayName="AntdIcon",c.getTwoToneColor=function(){var e=dn.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor},c.setTwoToneColor=fn,c),Ft=(gn.displayName="HolderOutlined",Ee.forwardRef(gn)),mn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M904 160H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8zm0 624H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8zm0-312H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8z"}}]},name:"menu",theme:"outlined"},u=(vn.displayName="MenuOutlined",Ee.forwardRef(vn)),yn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.3 506.3L781.7 405.6a7.23 7.23 0 00-11.7 5.7V476H548V254h64.8c6 0 9.4-7 5.7-11.7L517.7 114.7a7.14 7.14 0 00-11.3 0L405.6 242.3a7.23 7.23 0 005.7 11.7H476v222H254v-64.8c0-6-7-9.4-11.7-5.7L114.7 506.3a7.14 7.14 0 000 11.3l127.5 100.8c4.7 3.7 11.7.4 11.7-5.7V548h222v222h-64.8c-6 0-9.4 7-5.7 11.7l100.8 127.5c2.9 3.7 8.5 3.7 11.3 0l100.8-127.5c3.7-4.7.4-11.7-5.7-11.7H548V548h222v64.8c0 6 7 9.4 11.7 5.7l127.5-100.8a7.3 7.3 0 00.1-11.4z"}}]},name:"drag",theme:"outlined"},c=(bn.displayName="DragOutlined",Ee.forwardRef(bn)),xn=e(60),wn=e(22);function On(e){return(On="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function jn(){return(jn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n,r=arguments[t];for(n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function Cn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function En(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function E(a){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?En(Object(o),!0).forEach(function(e){var t,n,r;t=a,n=o[e=e],r=function(e){if("object"!=On(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0===t)return String(e);t=t.call(e,"string");if("object"!=On(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}(e),(e="symbol"==On(r)?r:String(r))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n}):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(o)):En(Object(o)).forEach(function(e){Object.defineProperty(a,e,Object.getOwnPropertyDescriptor(o,e))})}return a}function Dn(e){var t=e.id,n=e.style,r=e.handleStyle,a=e.className,o=e.handleClassName,i=e.items,l=e.currentOrder,c=e.direction,s=e.itemDraggingScale,u=e.handlePosition,d=e.handleType,f=e.maxTranslateX,g=e.maxTranslateY,v=e.value,b=e.multiple,h=e.allowNoValue,p=e.selectedStyle,m=e.setProps,e=e.loading_state;Object(Ee.useEffect)(function(){l||m({currentOrder:i.map(function(e){return e.key})})},[]);var y,x=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Object(Ee.useMemo)(()=>[...t].filter(e=>null!=e),[...t])}((y=le,Object(Ee.useMemo)(()=>({sensor:y,options:{}}),[y,x]))),w=(l||i.map(function(e){return e.key})).map(function(t){return i.find(function(e){return e.key===t})}).map(function(e){return E(E({},e),{},{id:e.key})});return De.a.createElement(ve,{sensors:x,collisionDetection:H,onDragEnd:function(e){var t,n,r=e.active,a=e.over,e=(l||i.map(function(e){return e.key})).map(function(t){return i.find(function(e){return e.key===t})});(null==r?void 0:r.id)!==(null==a?void 0:a.id)&&(t=e.findIndex(function(e){return e.key===(null==r?void 0:r.id)}),n=e.findIndex(function(e){return e.key===(null==a?void 0:a.id)}),m({currentOrder:me(e,t,n).map(function(e){return e.key})}))}},De.a.createElement(xt,{items:w,strategy:"horizontal"===c?we:mt},De.a.createElement("ul",{id:t,style:E({paddingLeft:0},n),className:Object(wn.isString)(a)?a:a?Object(xn.a)(a):void 0,"data-dash-is-loading":e&&e.is_loading||void 0},w.map(function(e){return De.a.createElement(Sn,{id:e.key,key:e.key,style:e.style,draggingStyle:e.draggingStyle,className:e.className,draggingClassName:e.draggingClassName,children:e.content,handleStyle:r,handleClassName:o,handlePosition:u,handleType:d,maxTranslateX:f,maxTranslateY:g,itemDraggingScale:s,setProps:m,value:v,multiple:b,allowNoValue:h,selectedStyle:p})}))))}var Rn=new Map([["holder",Ft],["menu",u],["drag",c]]),Sn=De.a.memo(function(e){var t=e.id,n=e.style,r=e.draggingStyle,a=e.className,o=e.draggingClassName,i=e.children,l=e.handleStyle,c=e.handleClassName,s=e.handlePosition,u=e.handleType,d=e.maxTranslateX,f=e.maxTranslateY,g=e.itemDraggingScale,v=e.setProps,b=e.value,h=e.multiple,p=e.allowNoValue,e=e.selectedStyle,m=Ct({id:t}),y=m.attributes,x=m.listeners,w=m.setNodeRef,O=m.transform,j=m.transition,C=m.setActivatorNodeRef,m=m.isDragging,d=E(E(E({transform:J.Transform.toString(O&&E(E({},E(E({},O),{},{x:d||0===d?d:O.x,y:f||0===f?f:O.y})),{},{scaleX:1,scaleY:1},m?{scaleX:g,scaleY:g}:{})),transition:j,display:"flex",alignItems:"center"},n),m?E({position:"relative",zIndex:999},r):{}),(Array.isArray(b)?b.includes(t):b===t)?e:{});return De.a.createElement("div",jn({id:t,ref:w},y,{style:d,className:m?Object(wn.isString)(a)?a:a?Object(xn.a)(a):void 0:Object(wn.isString)(o)?o:o?Object(xn.a)(o):void 0,children:De.a.createElement(De.a.Fragment,null,"end"===s?De.a.createElement("div",{style:{flex:"auto"}},i):null,De.a.createElement(Rn.get(u),E({style:E({color:"#737373",touchAction:"none",cursor:m?"grabbing":"grab",flex:"none"},l),className:Object(wn.isString)(c)?c:c?Object(xn.a)(c):void 0,ref:C},x)),"start"===s?De.a.createElement("div",{style:{flex:"auto"}},i):null),onClick:function(){var e;h?b?Array.isArray(b)?b.includes(t)?1===b.length?p&&v({value:b.filter(function(e){return e!==t})}):v({value:b.filter(function(e){return e!==t})}):v({value:[].concat(function(e){if(Array.isArray(e))return Cn(e)}(e=b)||function(){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}()||function(e){var t;if(e)return"string"==typeof e?Cn(e,void 0):"Map"===(t="Object"===(t=Object.prototype.toString.call(e).slice(8,-1))&&e.constructor?e.constructor.name:t)||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Cn(e,void 0):void 0}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),[t])}):t===b?p&&v({value:[]}):v({value:[b,t]}):v({value:[t]}):t===b?p&&v({value:null}):v({value:t})}}))},function(e,t){return Object(wn.isEqual)(e.children,t.children)&&e.value===t.value});g.default=De.a.memo(Dn),Dn.defaultProps=v.b,Dn.propTypes=v.c},654:function(e,t){var n=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");e.exports=function(e){return n.test(e)}},878:function(e,t,n){var r=n(879),n=n(887)(function(e,t,n){return t=t.toLowerCase(),e+(n?r(t):t)});e.exports=n},879:function(e,t,n){var r=n(564),a=n(880);e.exports=function(e){return a(r(e).toLowerCase())}},880:function(e,t,n){n=n(881)("toUpperCase");e.exports=n},881:function(e,t,n){var a=n(882),o=n(654),i=n(884),l=n(564);e.exports=function(r){return function(e){e=l(e);var t=o(e)?i(e):void 0,n=t?t[0]:e.charAt(0),t=t?a(t,1).join(""):e.slice(1);return n[r]()+t}}},882:function(e,t,n){var a=n(883);e.exports=function(e,t,n){var r=e.length;return n=void 0===n?r:n,!t&&r<=n?e:a(e,t,n)}},883:function(e,t){e.exports=function(e,t,n){var r=-1,a=e.length;(n=a<n?a:n)<0&&(n+=a),a=n<(t=t<0?a<-t?0:a+t:t)?0:n-t>>>0,t>>>=0;for(var o=Array(a);++r<a;)o[r]=e[r+t];return o}},884:function(e,t,n){var r=n(885),a=n(654),o=n(886);e.exports=function(e){return(a(e)?o:r)(e)}},885:function(e,t){e.exports=function(e){return e.split("")}},886:function(e,t){var n="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",r="\\ud83c[\\udffb-\\udfff]",a="[^\\ud800-\\udfff]",o="(?:\\ud83c[\\udde6-\\uddff]){2}",i="[\\ud800-\\udbff][\\udc00-\\udfff]",l="(?:"+n+"|"+r+")?",l="[\\ufe0e\\ufe0f]?"+l+"(?:\\u200d(?:"+[a,o,i].join("|")+")[\\ufe0e\\ufe0f]?"+l+")*",a="(?:"+[a+n+"?",n,o,i,"[\\ud800-\\udfff]"].join("|")+")",c=RegExp(r+"(?="+r+")|"+a+l,"g");e.exports=function(e){return e.match(c)||[]}},887:function(e,t,n){var r=n(888),a=n(889),o=n(892),i=RegExp("['’]","g");e.exports=function(t){return function(e){return r(o(a(e).replace(i,"")),t,"")}}},888:function(e,t){e.exports=function(e,t,n,r){var a=-1,o=null==e?0:e.length;for(r&&o&&(n=e[++a]);++a<o;)n=t(n,e[a],a,e);return n}},889:function(e,t,n){var r=n(890),a=n(564),o=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,i=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");e.exports=function(e){return(e=a(e))&&e.replace(o,r).replace(i,"")}},890:function(e,t,n){n=n(891)({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"});e.exports=n},891:function(e,t){e.exports=function(t){return function(e){return null==t?void 0:t[e]}}},892:function(e,t,n){var r=n(893),a=n(894),o=n(564),i=n(895);e.exports=function(e,t,n){return e=o(e),void 0===(t=n?void 0:t)?(a(e)?i:r)(e):e.match(t)||[]}},893:function(e,t){var n=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;e.exports=function(e){return e.match(n)||[]}},894:function(e,t){var n=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;e.exports=function(e){return n.test(e)}},895:function(e,t){var n="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",r="["+n+"]",a="[a-z\\xdf-\\xf6\\xf8-\\xff]",n="[^\\ud800-\\udfff"+n+"\\d+\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",o="(?:\\ud83c[\\udde6-\\uddff]){2}",i="[\\ud800-\\udbff][\\udc00-\\udfff]",l="[A-Z\\xc0-\\xd6\\xd8-\\xde]",n="(?:"+a+"|"+n+")",c="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",c="[\\ufe0e\\ufe0f]?"+c+"(?:\\u200d(?:"+["[^\\ud800-\\udfff]",o,i].join("|")+")[\\ufe0e\\ufe0f]?"+c+")*",o="(?:"+["[\\u2700-\\u27bf]",o,i].join("|")+")"+c,s=RegExp([l+"?"+a+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[r,l,"$"].join("|")+")","(?:[A-Z\\xc0-\\xd6\\xd8-\\xde]|[^\\ud800-\\udfff\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000\\d+\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde])+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[r,l+n,"$"].join("|")+")",l+"?"+n+"+(?:['’](?:d|ll|m|re|s|t|ve))?",l+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])","\\d+",o].join("|"),"g");e.exports=function(e){return e.match(s)||[]}}}]);
|