@next-bricks/advanced 0.18.5 → 0.19.0
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/dist/bricks.json +1 -1
- package/dist/chunks/1377.1c9abda3.js +2 -0
- package/dist/chunks/1377.1c9abda3.js.map +1 -0
- package/dist/chunks/{1646.a5933f88.js → 1646.8c3dd424.js} +2 -2
- package/dist/chunks/{1646.a5933f88.js.map → 1646.8c3dd424.js.map} +1 -1
- package/dist/chunks/1950.12123f86.js +2 -0
- package/dist/chunks/1950.12123f86.js.map +1 -0
- package/dist/chunks/2504.c7e70700.js +2 -0
- package/dist/chunks/2504.c7e70700.js.map +1 -0
- package/dist/chunks/3948.299cb781.js +2 -0
- package/dist/chunks/3948.299cb781.js.map +1 -0
- package/dist/chunks/4717.a6076baa.js +2 -0
- package/dist/chunks/4717.a6076baa.js.map +1 -0
- package/dist/chunks/5381.7e6e3941.js +2 -0
- package/dist/chunks/5381.7e6e3941.js.map +1 -0
- package/dist/chunks/6660.dcac84fe.js +2 -0
- package/dist/chunks/6660.dcac84fe.js.map +1 -0
- package/dist/chunks/7090.b0ba739c.js +2 -0
- package/dist/chunks/7090.b0ba739c.js.map +1 -0
- package/dist/chunks/{7746.7c81d05e.js → 7746.0acc362a.js} +2 -2
- package/dist/chunks/{7746.7c81d05e.js.map → 7746.0acc362a.js.map} +1 -1
- package/dist/chunks/9549.f2e1edf3.js +2 -0
- package/dist/chunks/9549.f2e1edf3.js.map +1 -0
- package/dist/chunks/{7089.b4f733fa.js → 9704.b9d0b71b.js} +2 -2
- package/dist/chunks/9704.b9d0b71b.js.map +1 -0
- package/dist/chunks/eo-cascader.4f9db741.js +2 -0
- package/dist/chunks/eo-cascader.4f9db741.js.map +1 -0
- package/dist/chunks/eo-next-table.cc98ca35.js +2 -0
- package/dist/chunks/eo-next-table.cc98ca35.js.map +1 -0
- package/dist/chunks/eo-table.ee2c7f14.js +2 -0
- package/dist/chunks/{eo-table.b810ea31.js.map → eo-table.ee2c7f14.js.map} +1 -1
- package/dist/chunks/eo-workbench-layout.e29d9b3c.js +2 -0
- package/dist/chunks/eo-workbench-layout.e29d9b3c.js.map +1 -0
- package/dist/chunks/main.384dfc53.js +2 -0
- package/dist/chunks/{main.aeb5e534.js.map → main.384dfc53.js.map} +1 -1
- package/dist/examples.json +2 -2
- package/dist/index.5ebbef3e.js +2 -0
- package/dist/{index.89733142.js.map → index.5ebbef3e.js.map} +1 -1
- package/dist-types/next-table/Table.d.ts +1 -0
- package/dist-types/next-table/index.d.ts +5 -0
- package/docs/eo-cascader.md +25 -0
- package/docs/eo-next-table.md +80 -16
- package/package.json +2 -2
- package/dist/chunks/1377.5fabb666.js +0 -2
- package/dist/chunks/1377.5fabb666.js.map +0 -1
- package/dist/chunks/4643.00d74679.js +0 -2
- package/dist/chunks/4643.00d74679.js.map +0 -1
- package/dist/chunks/4682.c5a92f86.js +0 -2
- package/dist/chunks/4682.c5a92f86.js.map +0 -1
- package/dist/chunks/4717.8e7ea2bc.js +0 -2
- package/dist/chunks/4717.8e7ea2bc.js.map +0 -1
- package/dist/chunks/5381.1ff1bd5c.js +0 -2
- package/dist/chunks/5381.1ff1bd5c.js.map +0 -1
- package/dist/chunks/6660.9313b5e0.js +0 -2
- package/dist/chunks/6660.9313b5e0.js.map +0 -1
- package/dist/chunks/7089.b4f733fa.js.map +0 -1
- package/dist/chunks/7128.5381b26d.js +0 -2
- package/dist/chunks/7128.5381b26d.js.map +0 -1
- package/dist/chunks/8172.6422041f.js +0 -2
- package/dist/chunks/8172.6422041f.js.map +0 -1
- package/dist/chunks/9549.f00f5b6b.js +0 -2
- package/dist/chunks/9549.f00f5b6b.js.map +0 -1
- package/dist/chunks/eo-cascader.51547051.js +0 -2
- package/dist/chunks/eo-cascader.51547051.js.map +0 -1
- package/dist/chunks/eo-next-table.d0218c7c.js +0 -2
- package/dist/chunks/eo-next-table.d0218c7c.js.map +0 -1
- package/dist/chunks/eo-table.b810ea31.js +0 -2
- package/dist/chunks/eo-workbench-layout.fb89d943.js +0 -2
- package/dist/chunks/eo-workbench-layout.fb89d943.js.map +0 -1
- package/dist/chunks/main.aeb5e534.js +0 -2
- package/dist/index.89733142.js +0 -2
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
(self.webpackChunk_next_bricks_advanced=self.webpackChunk_next_bricks_advanced||[]).push([[7089],{1540:(e,t,n)=>{"use strict";n.d(t,{LB:()=>Ae,g4:()=>W,we:()=>ie,pE:()=>D,VK:()=>I,Cj:()=>ze,O1:()=>Fe,Zj:()=>He,VT:()=>m,Dy:()=>b});var r=n(8657),o=n.n(r),a=n(2484),i=n(2851);const l={display:"none"};function s(e){let{id:t,value:n}=e;return o().createElement("div",{id:t,style:l},n)}const c={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"};function u(e){let{id:t,announcement:n}=e;return o().createElement("div",{id:t,style:c,role:"status","aria-live":"assertive","aria-atomic":!0},n)}const d=(0,r.createContext)(null),f={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 "},g={onDragStart(e){let{active:t}=e;return"Picked up draggable item "+t.id+"."},onDragOver(e){let{active:t,over:n}=e;return n?"Draggable item "+t.id+" was moved over droppable area "+n.id+".":"Draggable item "+t.id+" is no longer over a droppable area."},onDragEnd(e){let{active:t,over:n}=e;return n?"Draggable item "+t.id+" was dropped over droppable area "+n.id:"Draggable item "+t.id+" was dropped."},onDragCancel(e){let{active:t}=e;return"Dragging was cancelled. Draggable item "+t.id+" was dropped."}};function h(e){let{announcements:t=g,container:n,hiddenTextDescribedById:l,screenReaderInstructions:c=f}=e;const{announce:h,announcement:v}=function(){const[e,t]=(0,r.useState)("");return{announce:(0,r.useCallback)((e=>{null!=e&&t(e)}),[]),announcement:e}}(),p=(0,i.Ld)("DndLiveRegion"),[m,b]=(0,r.useState)(!1);if((0,r.useEffect)((()=>{b(!0)}),[]),function(e){const t=(0,r.useContext)(d);(0,r.useEffect)((()=>{if(!t)throw new Error("useDndMonitor must be used within a children of <DndContext>");return t(e)}),[e,t])}((0,r.useMemo)((()=>({onDragStart(e){let{active:n}=e;h(t.onDragStart({active:n}))},onDragMove(e){let{active:n,over:r}=e;t.onDragMove&&h(t.onDragMove({active:n,over:r}))},onDragOver(e){let{active:n,over:r}=e;h(t.onDragOver({active:n,over:r}))},onDragEnd(e){let{active:n,over:r}=e;h(t.onDragEnd({active:n,over:r}))},onDragCancel(e){let{active:n,over:r}=e;h(t.onDragCancel({active:n,over:r}))}})),[h,t])),!m)return null;const y=o().createElement(o().Fragment,null,o().createElement(s,{id:l,value:c.draggable}),o().createElement(u,{id:p,announcement:v}));return n?(0,a.createPortal)(y,n):y}var v;function p(){}function m(e,t){return(0,r.useMemo)((()=>({sensor:e,options:null!=t?t:{}})),[e,t])}function b(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,r.useMemo)((()=>[...t].filter((e=>null!=e))),[...t])}!function(e){e.DragStart="dragStart",e.DragMove="dragMove",e.DragEnd="dragEnd",e.DragCancel="dragCancel",e.DragOver="dragOver",e.RegisterDroppable="registerDroppable",e.SetDroppableDisabled="setDroppableDisabled",e.UnregisterDroppable="unregisterDroppable"}(v||(v={}));const y=Object.freeze({x:0,y:0});function x(e,t){let{data:{value:n}}=e,{data:{value:r}}=t;return n-r}function w(e,t){let{data:{value:n}}=e,{data:{value:r}}=t;return r-n}function C(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 D=e=>{let{collisionRect:t,droppableRects:n,droppableContainers:r}=e;const o=C(t,t.left,t.top),a=[];for(const e of r){const{id:t}=e,r=n.get(t);if(r){const n=(i=C(r),l=o,Math.sqrt(Math.pow(i.x-l.x,2)+Math.pow(i.y-l.y,2)));a.push({id:t,data:{droppableContainer:e,value:n}})}}var i,l;return a.sort(x)};function E(e,t){const n=Math.max(t.top,e.top),r=Math.max(t.left,e.left),o=Math.min(t.left+t.width,e.left+e.width),a=Math.min(t.top+t.height,e.top+e.height),i=o-r,l=a-n;if(r<o&&n<a){const n=t.width*t.height,r=e.width*e.height,o=i*l;return Number((o/(n+r-o)).toFixed(4))}return 0}const R=e=>{let{collisionRect:t,droppableRects:n,droppableContainers:r}=e;const o=[];for(const e of r){const{id:r}=e,a=n.get(r);if(a){const n=E(a,t);n>0&&o.push({id:r,data:{droppableContainer:e,value:n}})}}return o.sort(w)};function S(e,t){return e&&t?{x:e.left-t.left,y:e.top-t.top}:y}function M(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return r.reduce(((t,n)=>({...t,top:t.top+e*n.y,bottom:t.bottom+e*n.y,left:t.left+e*n.x,right:t.right+e*n.x})),{...t})}}const k=M(1);const T={ignoreTransform:!1};function I(e,t){void 0===t&&(t=T);let n=e.getBoundingClientRect();if(t.ignoreTransform){const{transform:t,transformOrigin:r}=(0,i.Jj)(e).getComputedStyle(e);t&&(n=function(e,t,n){const r=function(e){if(e.startsWith("matrix3d(")){const t=e.slice(9,-1).split(/, /);return{x:+t[12],y:+t[13],scaleX:+t[0],scaleY:+t[5]}}if(e.startsWith("matrix(")){const t=e.slice(7,-1).split(/, /);return{x:+t[4],y:+t[5],scaleX:+t[0],scaleY:+t[3]}}return null}(t);if(!r)return e;const{scaleX:o,scaleY:a,x:i,y:l}=r,s=e.left-i-(1-o)*parseFloat(n),c=e.top-l-(1-a)*parseFloat(n.slice(n.indexOf(" ")+1)),u=o?e.width/o:e.width,d=a?e.height/a:e.height;return{width:u,height:d,top:c,right:s+u,bottom:c+d,left:s}}(n,t,r))}const{top:r,left:o,width:a,height:l,bottom:s,right:c}=n;return{top:r,left:o,width:a,height:l,bottom:s,right:c}}function O(e){return I(e,{ignoreTransform:!0})}function N(e,t){const n=[];return e?function r(o){if(null!=t&&n.length>=t)return n;if(!o)return n;if((0,i.qk)(o)&&null!=o.scrollingElement&&!n.includes(o.scrollingElement))return n.push(o.scrollingElement),n;if(!(0,i.Re)(o)||(0,i.vZ)(o))return n;if(n.includes(o))return n;const a=(0,i.Jj)(e).getComputedStyle(o);return o!==e&&function(e,t){void 0===t&&(t=(0,i.Jj)(e).getComputedStyle(e));const n=/(auto|scroll|overlay)/;return["overflow","overflowX","overflowY"].some((e=>{const r=t[e];return"string"==typeof r&&n.test(r)}))}(o,a)&&n.push(o),function(e,t){return void 0===t&&(t=(0,i.Jj)(e).getComputedStyle(e)),"fixed"===t.position}(o,a)?n:r(o.parentNode)}(e):n}function P(e){const[t]=N(e,1);return null!=t?t:null}function $(e){return i.Nq&&e?(0,i.FJ)(e)?e:(0,i.UG)(e)?(0,i.qk)(e)||e===(0,i.r3)(e).scrollingElement?window:(0,i.Re)(e)?e:null:null:null}function j(e){return(0,i.FJ)(e)?e.scrollX:e.scrollLeft}function L(e){return(0,i.FJ)(e)?e.scrollY:e.scrollTop}function A(e){return{x:j(e),y:L(e)}}var _;function B(e){return!(!i.Nq||!e)&&e===document.scrollingElement}function Y(e){const t={x:0,y:0},n=B(e)?{height:window.innerHeight,width:window.innerWidth}:{height:e.clientHeight,width:e.clientWidth},r={x:e.scrollWidth-n.width,y:e.scrollHeight-n.height};return{isTop:e.scrollTop<=t.y,isLeft:e.scrollLeft<=t.x,isBottom:e.scrollTop>=r.y,isRight:e.scrollLeft>=r.x,maxScroll:r,minScroll:t}}!function(e){e[e.Forward=1]="Forward",e[e.Backward=-1]="Backward"}(_||(_={}));const F={x:.2,y:.2};function z(e,t,n,r,o){let{top:a,left:i,right:l,bottom:s}=n;void 0===r&&(r=10),void 0===o&&(o=F);const{isTop:c,isBottom:u,isLeft:d,isRight:f}=Y(e),g={x:0,y:0},h={x:0,y:0},v=t.height*o.y,p=t.width*o.x;return!c&&a<=t.top+v?(g.y=_.Backward,h.y=r*Math.abs((t.top+v-a)/v)):!u&&s>=t.bottom-v&&(g.y=_.Forward,h.y=r*Math.abs((t.bottom-v-s)/v)),!f&&l>=t.right-p?(g.x=_.Forward,h.x=r*Math.abs((t.right-p-l)/p)):!d&&i<=t.left+p&&(g.x=_.Backward,h.x=r*Math.abs((t.left+p-i)/p)),{direction:g,speed:h}}function U(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:o}=e.getBoundingClientRect();return{top:t,left:n,right:r,bottom:o,width:e.clientWidth,height:e.clientHeight}}function X(e){return e.reduce(((e,t)=>(0,i.IH)(e,A(t))),y)}const H=[["x",["left","right"],function(e){return e.reduce(((e,t)=>e+j(t)),0)}],["y",["top","bottom"],function(e){return e.reduce(((e,t)=>e+L(t)),0)}]];class q{constructor(e,t){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=N(t),r=X(n);this.rect={...e},this.width=e.width,this.height=e.height;for(const[e,t,o]of H)for(const a of t)Object.defineProperty(this,a,{get:()=>{const t=o(n),i=r[e]-t;return this.rect[a]+i},enumerable:!0});Object.defineProperty(this,"rect",{enumerable:!1})}}class K{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 J(e,t){const n=Math.abs(e.x),r=Math.abs(e.y);return"number"==typeof t?Math.sqrt(n**2+r**2)>t:"x"in t&&"y"in t?n>t.x&&r>t.y:"x"in t?n>t.x:"y"in t&&r>t.y}var Z,W;function G(e){e.preventDefault()}function V(e){e.stopPropagation()}!function(e){e.Click="click",e.DragStart="dragstart",e.Keydown="keydown",e.ContextMenu="contextmenu",e.Resize="resize",e.SelectionChange="selectionchange",e.VisibilityChange="visibilitychange"}(Z||(Z={})),function(e){e.Space="Space",e.Down="ArrowDown",e.Right="ArrowRight",e.Left="ArrowLeft",e.Up="ArrowUp",e.Esc="Escape",e.Enter="Enter"}(W||(W={}));const Q={start:[W.Space,W.Enter],cancel:[W.Esc],end:[W.Space,W.Enter]},ee=(e,t)=>{let{currentCoordinates:n}=t;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}}};class te{constructor(e){this.props=void 0,this.autoScrollEnabled=!1,this.referenceCoordinates=void 0,this.listeners=void 0,this.windowListeners=void 0,this.props=e;const{event:{target:t}}=e;this.props=e,this.listeners=new K((0,i.r3)(t)),this.windowListeners=new K((0,i.Jj)(t)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){this.handleStart(),this.windowListeners.add(Z.Resize,this.handleCancel),this.windowListeners.add(Z.VisibilityChange,this.handleCancel),setTimeout((()=>this.listeners.add(Z.Keydown,this.handleKeyDown)))}handleStart(){const{activeNode:e,onStart:t}=this.props,n=e.node.current;n&&function(e,t){if(void 0===t&&(t=I),!e)return;const{top:n,left:r,bottom:o,right:a}=t(e);P(e)&&(o<=0||a<=0||n>=window.innerHeight||r>=window.innerWidth)&&e.scrollIntoView({block:"center",inline:"center"})}(n),t(y)}handleKeyDown(e){if((0,i.vd)(e)){const{active:t,context:n,options:r}=this.props,{keyboardCodes:o=Q,coordinateGetter:a=ee,scrollBehavior:l="smooth"}=r,{code:s}=e;if(o.end.includes(s))return void this.handleEnd(e);if(o.cancel.includes(s))return void this.handleCancel(e);const{collisionRect:c}=n.current,u=c?{x:c.left,y:c.top}:y;this.referenceCoordinates||(this.referenceCoordinates=u);const d=a(e,{active:t,context:n.current,currentCoordinates:u});if(d){const t=(0,i.$X)(d,u),r={x:0,y:0},{scrollableAncestors:o}=n.current;for(const n of o){const o=e.code,{isTop:a,isRight:i,isLeft:s,isBottom:c,maxScroll:u,minScroll:f}=Y(n),g=U(n),h={x:Math.min(o===W.Right?g.right-g.width/2:g.right,Math.max(o===W.Right?g.left:g.left+g.width/2,d.x)),y:Math.min(o===W.Down?g.bottom-g.height/2:g.bottom,Math.max(o===W.Down?g.top:g.top+g.height/2,d.y))},v=o===W.Right&&!i||o===W.Left&&!s,p=o===W.Down&&!c||o===W.Up&&!a;if(v&&h.x!==d.x){const e=n.scrollLeft+t.x,a=o===W.Right&&e<=u.x||o===W.Left&&e>=f.x;if(a&&!t.y)return void n.scrollTo({left:e,behavior:l});r.x=a?n.scrollLeft-e:o===W.Right?n.scrollLeft-u.x:n.scrollLeft-f.x,r.x&&n.scrollBy({left:-r.x,behavior:l});break}if(p&&h.y!==d.y){const e=n.scrollTop+t.y,a=o===W.Down&&e<=u.y||o===W.Up&&e>=f.y;if(a&&!t.x)return void n.scrollTo({top:e,behavior:l});r.y=a?n.scrollTop-e:o===W.Down?n.scrollTop-u.y:n.scrollTop-f.y,r.y&&n.scrollBy({top:-r.y,behavior:l});break}}this.handleMove(e,(0,i.IH)((0,i.$X)(d,this.referenceCoordinates),r))}}}handleMove(e,t){const{onMove:n}=this.props;e.preventDefault(),n(t)}handleEnd(e){const{onEnd:t}=this.props;e.preventDefault(),this.detach(),t()}handleCancel(e){const{onCancel:t}=this.props;e.preventDefault(),this.detach(),t()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll()}}function ne(e){return Boolean(e&&"distance"in e)}function re(e){return Boolean(e&&"delay"in e)}te.activators=[{eventName:"onKeyDown",handler:(e,t,n)=>{let{keyboardCodes:r=Q,onActivation:o}=t,{active:a}=n;const{code:i}=e.nativeEvent;if(r.start.includes(i)){const t=a.activatorNode.current;return!(t&&e.target!==t||(e.preventDefault(),null==o||o({event:e.nativeEvent}),0))}return!1}}];class oe{constructor(e,t,n){var r;void 0===n&&(n=function(e){const{EventTarget:t}=(0,i.Jj)(e);return e instanceof t?e:(0,i.r3)(e)}(e.event.target)),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;const{event:o}=e,{target:a}=o;this.props=e,this.events=t,this.document=(0,i.r3)(a),this.documentListeners=new K(this.document),this.listeners=new K(n),this.windowListeners=new K((0,i.Jj)(a)),this.initialCoordinates=null!=(r=(0,i.DC)(o))?r:y,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(){const{events:e,props:{options:{activationConstraint:t}}}=this;if(this.listeners.add(e.move.name,this.handleMove,{passive:!1}),this.listeners.add(e.end.name,this.handleEnd),this.windowListeners.add(Z.Resize,this.handleCancel),this.windowListeners.add(Z.DragStart,G),this.windowListeners.add(Z.VisibilityChange,this.handleCancel),this.windowListeners.add(Z.ContextMenu,G),this.documentListeners.add(Z.Keydown,this.handleKeydown),t){if(ne(t))return;if(re(t))return void(this.timeoutId=setTimeout(this.handleStart,t.delay))}this.handleStart()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll(),setTimeout(this.documentListeners.removeAll,50),null!==this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=null)}handleStart(){const{initialCoordinates:e}=this,{onStart:t}=this.props;e&&(this.activated=!0,this.documentListeners.add(Z.Click,V,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(Z.SelectionChange,this.removeTextSelection),t(e))}handleMove(e){var t;const{activated:n,initialCoordinates:r,props:o}=this,{onMove:a,options:{activationConstraint:l}}=o;if(!r)return;const s=null!=(t=(0,i.DC)(e))?t:y,c=(0,i.$X)(r,s);if(!n&&l){if(re(l))return J(c,l.tolerance)?this.handleCancel():void 0;if(ne(l))return null!=l.tolerance&&J(c,l.tolerance)?this.handleCancel():J(c,l.distance)?this.handleStart():void 0}e.cancelable&&e.preventDefault(),a(s)}handleEnd(){const{onEnd:e}=this.props;this.detach(),e()}handleCancel(){const{onCancel:e}=this.props;this.detach(),e()}handleKeydown(e){e.code===W.Esc&&this.handleCancel()}removeTextSelection(){var e;null==(e=this.document.getSelection())||e.removeAllRanges()}}const ae={move:{name:"pointermove"},end:{name:"pointerup"}};class ie extends oe{constructor(e){const{event:t}=e,n=(0,i.r3)(t.target);super(e,ae,n)}}ie.activators=[{eventName:"onPointerDown",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;return!(!n.isPrimary||0!==n.button||(null==r||r({event:n}),0))}}];const le={move:{name:"mousemove"},end:{name:"mouseup"}};var se;!function(e){e[e.RightClick=2]="RightClick"}(se||(se={})),class extends oe{constructor(e){super(e,le,(0,i.r3)(e.event.target))}}.activators=[{eventName:"onMouseDown",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;return n.button!==se.RightClick&&(null==r||r({event:n}),!0)}}];const ce={move:{name:"touchmove"},end:{name:"touchend"}};var ue,de;(class extends oe{constructor(e){super(e,ce)}static setup(){return window.addEventListener(ce.move.name,e,{capture:!1,passive:!1}),function(){window.removeEventListener(ce.move.name,e)};function e(){}}}).activators=[{eventName:"onTouchStart",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;const{touches:o}=n;return!(o.length>1||(null==r||r({event:n}),0))}}],function(e){e[e.Pointer=0]="Pointer",e[e.DraggableRect=1]="DraggableRect"}(ue||(ue={})),function(e){e[e.TreeOrder=0]="TreeOrder",e[e.ReversedTreeOrder=1]="ReversedTreeOrder"}(de||(de={}));const fe={x:{[_.Backward]:!1,[_.Forward]:!1},y:{[_.Backward]:!1,[_.Forward]:!1}};var ge,he;!function(e){e[e.Always=0]="Always",e[e.BeforeDragging=1]="BeforeDragging",e[e.WhileDragging=2]="WhileDragging"}(ge||(ge={})),function(e){e.Optimized="optimized"}(he||(he={}));const ve=new Map;function pe(e,t){return(0,i.Gj)((n=>e?n||("function"==typeof t?t(e):e):null),[t,e])}function me(e){let{callback:t,disabled:n}=e;const o=(0,i.zX)(t),a=(0,r.useMemo)((()=>{if(n||"undefined"==typeof window||void 0===window.ResizeObserver)return;const{ResizeObserver:e}=window;return new e(o)}),[n]);return(0,r.useEffect)((()=>()=>null==a?void 0:a.disconnect()),[a]),a}function be(e){return new q(I(e),e)}function ye(e,t,n){void 0===t&&(t=be);const[o,a]=(0,r.useReducer)((function(r){if(!e)return null;var o;if(!1===e.isConnected)return null!=(o=null!=r?r:n)?o:null;const a=t(e);return JSON.stringify(r)===JSON.stringify(a)?r:a}),null),l=function(e){let{callback:t,disabled:n}=e;const o=(0,i.zX)(t),a=(0,r.useMemo)((()=>{if(n||"undefined"==typeof window||void 0===window.MutationObserver)return;const{MutationObserver:e}=window;return new e(o)}),[o,n]);return(0,r.useEffect)((()=>()=>null==a?void 0:a.disconnect()),[a]),a}({callback(t){if(e)for(const n of t){const{type:t,target:r}=n;if("childList"===t&&r instanceof HTMLElement&&r.contains(e)){a();break}}}}),s=me({callback:a});return(0,i.LI)((()=>{a(),e?(null==s||s.observe(e),null==l||l.observe(document.body,{childList:!0,subtree:!0})):(null==s||s.disconnect(),null==l||l.disconnect())}),[e]),o}const xe=[];function we(e,t){void 0===t&&(t=[]);const n=(0,r.useRef)(null);return(0,r.useEffect)((()=>{n.current=null}),t),(0,r.useEffect)((()=>{const t=e!==y;t&&!n.current&&(n.current=e),!t&&n.current&&(n.current=null)}),[e]),n.current?(0,i.$X)(e,n.current):y}function Ce(e){return(0,r.useMemo)((()=>e?function(e){const t=e.innerWidth,n=e.innerHeight;return{top:0,left:0,right:t,bottom:n,width:t,height:n}}(e):null),[e])}const De=[];const Ee=[{sensor:ie,options:{}},{sensor:te,options:{}}],Re={current:{}},Se={draggable:{measure:O},droppable:{measure:O,strategy:ge.WhileDragging,frequency:he.Optimized},dragOverlay:{measure:I}};class Me extends Map{get(e){var t;return null!=e&&null!=(t=super.get(e))?t:void 0}toArray(){return Array.from(this.values())}getEnabled(){return this.toArray().filter((e=>{let{disabled:t}=e;return!t}))}getNodeFor(e){var t,n;return null!=(t=null==(n=this.get(e))?void 0:n.node.current)?t:void 0}}const ke={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map,droppableRects:new Map,droppableContainers:new Me,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:p},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:Se,measureDroppableContainers:p,windowRect:null,measuringScheduled:!1},Te={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:p,draggableNodes:new Map,over:null,measureDroppableContainers:p},Ie=(0,r.createContext)(Te),Oe=(0,r.createContext)(ke);function Ne(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new Me}}}function Pe(e,t){switch(t.type){case v.DragStart:return{...e,draggable:{...e.draggable,initialCoordinates:t.initialCoordinates,active:t.active}};case v.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 v.DragEnd:case v.DragCancel:return{...e,draggable:{...e.draggable,active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}}};case v.RegisterDroppable:{const{element:n}=t,{id:r}=n,o=new Me(e.droppable.containers);return o.set(r,n),{...e,droppable:{...e.droppable,containers:o}}}case v.SetDroppableDisabled:{const{id:n,key:r,disabled:o}=t,a=e.droppable.containers.get(n);if(!a||r!==a.key)return e;const i=new Me(e.droppable.containers);return i.set(n,{...a,disabled:o}),{...e,droppable:{...e.droppable,containers:i}}}case v.UnregisterDroppable:{const{id:n,key:r}=t,o=e.droppable.containers.get(n);if(!o||r!==o.key)return e;const a=new Me(e.droppable.containers);return a.delete(n),{...e,droppable:{...e.droppable,containers:a}}}default:return e}}function $e(e){let{disabled:t}=e;const{active:n,activatorEvent:o,draggableNodes:a}=(0,r.useContext)(Ie),l=(0,i.D9)(o),s=(0,i.D9)(null==n?void 0:n.id);return(0,r.useEffect)((()=>{if(!t&&!o&&l&&null!=s){if(!(0,i.vd)(l))return;if(document.activeElement===l.target)return;const e=a.get(s);if(!e)return;const{activatorNode:t,node:n}=e;if(!t.current&&!n.current)return;requestAnimationFrame((()=>{for(const e of[t.current,n.current]){if(!e)continue;const t=(0,i.so)(e);if(t){t.focus();break}}}))}}),[o,t,a,s,l]),null}const je=(0,r.createContext)({...y,scaleX:1,scaleY:1});var Le;!function(e){e[e.Uninitialized=0]="Uninitialized",e[e.Initializing=1]="Initializing",e[e.Initialized=2]="Initialized"}(Le||(Le={}));const Ae=(0,r.memo)((function(e){var t,n,l,s;let{id:c,accessibility:u,autoScroll:f=!0,children:g,sensors:p=Ee,collisionDetection:m=R,measuring:b,modifiers:x,...w}=e;const C=(0,r.useReducer)(Pe,void 0,Ne),[D,E]=C,[M,T]=function(){const[e]=(0,r.useState)((()=>new Set)),t=(0,r.useCallback)((t=>(e.add(t),()=>e.delete(t))),[e]);return[(0,r.useCallback)((t=>{let{type:n,event:r}=t;e.forEach((e=>{var t;return null==(t=e[n])?void 0:t.call(e,r)}))}),[e]),t]}(),[O,j]=(0,r.useState)(Le.Uninitialized),L=O===Le.Initialized,{draggable:{active:Y,nodes:F,translate:U},droppable:{containers:H}}=D,K=Y?F.get(Y):null,J=(0,r.useRef)({initial:null,translated:null}),Z=(0,r.useMemo)((()=>{var e;return null!=Y?{id:Y,data:null!=(e=null==K?void 0:K.data)?e:Re,rect:J}:null}),[Y,K]),W=(0,r.useRef)(null),[G,V]=(0,r.useState)(null),[Q,ee]=(0,r.useState)(null),te=(0,i.Ey)(w,Object.values(w)),ne=(0,i.Ld)("DndDescribedBy",c),re=(0,r.useMemo)((()=>H.getEnabled()),[H]),oe=(ae=b,(0,r.useMemo)((()=>({draggable:{...Se.draggable,...null==ae?void 0:ae.draggable},droppable:{...Se.droppable,...null==ae?void 0:ae.droppable},dragOverlay:{...Se.dragOverlay,...null==ae?void 0:ae.dragOverlay}})),[null==ae?void 0:ae.draggable,null==ae?void 0:ae.droppable,null==ae?void 0:ae.dragOverlay]));var ae;const{droppableRects:ie,measureDroppableContainers:le,measuringScheduled:se}=function(e,t){let{dragging:n,dependencies:o,config:a}=t;const[l,s]=(0,r.useState)(null),{frequency:c,measure:u,strategy:d}=a,f=(0,r.useRef)(e),g=function(){switch(d){case ge.Always:return!1;case ge.BeforeDragging:return n;default:return!n}}(),h=(0,i.Ey)(g),v=(0,r.useCallback)((function(e){void 0===e&&(e=[]),h.current||s((t=>null===t?e:t.concat(e.filter((e=>!t.includes(e))))))}),[h]),p=(0,r.useRef)(null),m=(0,i.Gj)((t=>{if(g&&!n)return ve;if(!t||t===ve||f.current!==e||null!=l){const t=new Map;for(let n of e){if(!n)continue;if(l&&l.length>0&&!l.includes(n.id)&&n.rect.current){t.set(n.id,n.rect.current);continue}const e=n.node.current,r=e?new q(u(e),e):null;n.rect.current=r,r&&t.set(n.id,r)}return t}return t}),[e,l,n,g,u]);return(0,r.useEffect)((()=>{f.current=e}),[e]),(0,r.useEffect)((()=>{g||v()}),[n,g]),(0,r.useEffect)((()=>{l&&l.length>0&&s(null)}),[JSON.stringify(l)]),(0,r.useEffect)((()=>{g||"number"!=typeof c||null!==p.current||(p.current=setTimeout((()=>{v(),p.current=null}),c))}),[c,g,v,...o]),{droppableRects:m,measureDroppableContainers:v,measuringScheduled:null!=l}}(re,{dragging:L,dependencies:[U.x,U.y],config:oe.droppable}),ce=function(e,t){const n=null!==t?e.get(t):void 0,r=n?n.node.current:null;return(0,i.Gj)((e=>{var n;return null===t?null:null!=(n=null!=r?r:e)?n:null}),[r,t])}(F,Y),he=(0,r.useMemo)((()=>Q?(0,i.DC)(Q):null),[Q]),be=function(){const e=!1===(null==G?void 0:G.autoScrollEnabled),t="object"==typeof f?!1===f.enabled:!1===f,n=L&&!e&&!t;return"object"==typeof f?{...f,enabled:n}:{enabled:n}}(),Me=function(e,t){return pe(e,t)}(ce,oe.draggable.measure);!function(e){let{activeNode:t,measure:n,initialRect:o,config:a=!0}=e;const l=(0,r.useRef)(!1),{x:s,y:c}="boolean"==typeof a?{x:a,y:a}:a;(0,i.LI)((()=>{if(!s&&!c||!t)return void(l.current=!1);if(l.current||!o)return;const e=null==t?void 0:t.node.current;if(!e||!1===e.isConnected)return;const r=S(n(e),o);if(s||(r.x=0),c||(r.y=0),l.current=!0,Math.abs(r.x)>0||Math.abs(r.y)>0){const t=P(e);t&&t.scrollBy({top:r.y,left:r.x})}}),[t,s,c,o,n])}({activeNode:Y?F.get(Y):null,config:be.layoutShiftCompensation,initialRect:Me,measure:oe.draggable.measure});const ke=ye(ce,oe.draggable.measure,Me),Te=ye(ce?ce.parentElement:null),Ae=(0,r.useRef)({activatorEvent:null,active:null,activeNode:ce,collisionRect:null,collisions:null,droppableRects:ie,draggableNodes:F,draggingNode:null,draggingNodeRect:null,droppableContainers:H,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),_e=H.getNodeFor(null==(t=Ae.current.over)?void 0:t.id),Be=function(e){let{measure:t}=e;const[n,o]=(0,r.useState)(null),a=me({callback:(0,r.useCallback)((e=>{for(const{target:n}of e)if((0,i.Re)(n)){o((e=>{const r=t(n);return e?{...e,width:r.width,height:r.height}:r}));break}}),[t])}),l=(0,r.useCallback)((e=>{const n=function(e){if(!e)return null;if(e.children.length>1)return e;const t=e.children[0];return(0,i.Re)(t)?t:e}(e);null==a||a.disconnect(),n&&(null==a||a.observe(n)),o(n?t(n):null)}),[t,a]),[s,c]=(0,i.wm)(l);return(0,r.useMemo)((()=>({nodeRef:s,rect:n,setRef:c})),[n,s,c])}({measure:oe.dragOverlay.measure}),Ye=null!=(n=Be.nodeRef.current)?n:ce,Fe=L?null!=(l=Be.rect)?l:ke:null,ze=Boolean(Be.nodeRef.current&&Be.rect),Ue=S(Xe=ze?null:ke,pe(Xe));var Xe;const He=Ce(Ye?(0,i.Jj)(Ye):null),qe=function(e){const t=(0,r.useRef)(e),n=(0,i.Gj)((n=>e?n&&n!==xe&&e&&t.current&&e.parentNode===t.current.parentNode?n:N(e):xe),[e]);return(0,r.useEffect)((()=>{t.current=e}),[e]),n}(L?null!=_e?_e:ce:null),Ke=function(e,t){void 0===t&&(t=I);const[n]=e,o=Ce(n?(0,i.Jj)(n):null),[a,l]=(0,r.useReducer)((function(){return e.length?e.map((e=>B(e)?o:new q(t(e),e))):De}),De),s=me({callback:l});return e.length>0&&a===De&&l(),(0,i.LI)((()=>{e.length?e.forEach((e=>null==s?void 0:s.observe(e))):(null==s||s.disconnect(),l())}),[e]),a}(qe),Je=function(e,t){let{transform:n,...r}=t;return null!=e&&e.length?e.reduce(((e,t)=>t({transform:e,...r})),n):n}(x,{transform:{x:U.x-Ue.x,y:U.y-Ue.y,scaleX:1,scaleY:1},activatorEvent:Q,active:Z,activeNodeRect:ke,containerNodeRect:Te,draggingNodeRect:Fe,over:Ae.current.over,overlayNodeRect:Be.rect,scrollableAncestors:qe,scrollableAncestorRects:Ke,windowRect:He}),Ze=he?(0,i.IH)(he,U):null,We=function(e){const[t,n]=(0,r.useState)(null),o=(0,r.useRef)(e),a=(0,r.useCallback)((e=>{const t=$(e.target);t&&n((e=>e?(e.set(t,A(t)),new Map(e)):null))}),[]);return(0,r.useEffect)((()=>{const t=o.current;if(e!==t){r(t);const i=e.map((e=>{const t=$(e);return t?(t.addEventListener("scroll",a,{passive:!0}),[t,A(t)]):null})).filter((e=>null!=e));n(i.length?new Map(i):null),o.current=e}return()=>{r(e),r(t)};function r(e){e.forEach((e=>{const t=$(e);null==t||t.removeEventListener("scroll",a)}))}}),[a,e]),(0,r.useMemo)((()=>e.length?t?Array.from(t.values()).reduce(((e,t)=>(0,i.IH)(e,t)),y):X(e):y),[e,t])}(qe),Ge=we(We),Ve=we(We,[ke]),Qe=(0,i.IH)(Je,Ge),et=Fe?k(Fe,Je):null,tt=Z&&et?m({active:Z,collisionRect:et,droppableRects:ie,droppableContainers:re,pointerCoordinates:Ze}):null,nt=function(e,t){if(!e||0===e.length)return null;const[n]=e;return n.id}(tt),[rt,ot]=(0,r.useState)(null),at=function(e,t,n){return{...e,scaleX:t&&n?t.width/n.width:1,scaleY:t&&n?t.height/n.height:1}}(ze?Je:(0,i.IH)(Je,Ve),null!=(s=null==rt?void 0:rt.rect)?s:null,ke),it=(0,r.useCallback)(((e,t)=>{let{sensor:n,options:r}=t;if(null==W.current)return;const o=F.get(W.current);if(!o)return;const i=e.nativeEvent,l=new n({active:W.current,activeNode:o,event:i,options:r,context:Ae,onStart(e){const t=W.current;if(null==t)return;const n=F.get(t);if(!n)return;const{onDragStart:r}=te.current,o={active:{id:t,data:n.data,rect:J}};(0,a.unstable_batchedUpdates)((()=>{null==r||r(o),j(Le.Initializing),E({type:v.DragStart,initialCoordinates:e,active:t}),M({type:"onDragStart",event:o})}))},onMove(e){E({type:v.DragMove,coordinates:e})},onEnd:s(v.DragEnd),onCancel:s(v.DragCancel)});function s(e){return async function(){const{active:t,collisions:n,over:r,scrollAdjustedTranslate:o}=Ae.current;let l=null;if(t&&o){const{cancelDrop:a}=te.current;l={activatorEvent:i,active:t,collisions:n,delta:o,over:r},e===v.DragEnd&&"function"==typeof a&&await Promise.resolve(a(l))&&(e=v.DragCancel)}W.current=null,(0,a.unstable_batchedUpdates)((()=>{E({type:e}),j(Le.Uninitialized),ot(null),V(null),ee(null);const t=e===v.DragEnd?"onDragEnd":"onDragCancel";if(l){const e=te.current[t];null==e||e(l),M({type:t,event:l})}}))}}(0,a.unstable_batchedUpdates)((()=>{V(l),ee(e.nativeEvent)}))}),[F]),lt=(0,r.useCallback)(((e,t)=>(n,r)=>{const o=n.nativeEvent,a=F.get(r);if(null!==W.current||!a||o.dndKit||o.defaultPrevented)return;const i={active:a};!0===e(n,t.options,i)&&(o.dndKit={capturedBy:t.sensor},W.current=r,it(n,t))}),[F,it]),st=function(e,t){return(0,r.useMemo)((()=>e.reduce(((e,n)=>{const{sensor:r}=n;return[...e,...r.activators.map((e=>({eventName:e.eventName,handler:t(e.handler,n)})))]}),[])),[e,t])}(p,lt);!function(e){(0,r.useEffect)((()=>{if(!i.Nq)return;const t=e.map((e=>{let{sensor:t}=e;return null==t.setup?void 0:t.setup()}));return()=>{for(const e of t)null==e||e()}}),e.map((e=>{let{sensor:t}=e;return t})))}(p),(0,i.LI)((()=>{ke&&O===Le.Initializing&&j(Le.Initialized)}),[ke,O]),(0,r.useEffect)((()=>{const{onDragMove:e}=te.current,{active:t,activatorEvent:n,collisions:r,over:o}=Ae.current;if(!t||!n)return;const i={active:t,activatorEvent:n,collisions:r,delta:{x:Qe.x,y:Qe.y},over:o};(0,a.unstable_batchedUpdates)((()=>{null==e||e(i),M({type:"onDragMove",event:i})}))}),[Qe.x,Qe.y]),(0,r.useEffect)((()=>{const{active:e,activatorEvent:t,collisions:n,droppableContainers:r,scrollAdjustedTranslate:o}=Ae.current;if(!e||null==W.current||!t||!o)return;const{onDragOver:i}=te.current,l=r.get(nt),s=l&&l.rect.current?{id:l.id,rect:l.rect.current,data:l.data,disabled:l.disabled}:null,c={active:e,activatorEvent:t,collisions:n,delta:{x:o.x,y:o.y},over:s};(0,a.unstable_batchedUpdates)((()=>{ot(s),null==i||i(c),M({type:"onDragOver",event:c})}))}),[nt]),(0,i.LI)((()=>{Ae.current={activatorEvent:Q,active:Z,activeNode:ce,collisionRect:et,collisions:tt,droppableRects:ie,draggableNodes:F,draggingNode:Ye,draggingNodeRect:Fe,droppableContainers:H,over:rt,scrollableAncestors:qe,scrollAdjustedTranslate:Qe},J.current={initial:Fe,translated:et}}),[Z,ce,tt,et,F,Ye,Fe,ie,H,rt,qe,Qe]),function(e){let{acceleration:t,activator:n=ue.Pointer,canScroll:o,draggingRect:a,enabled:l,interval:s=5,order:c=de.TreeOrder,pointerCoordinates:u,scrollableAncestors:d,scrollableAncestorRects:f,delta:g,threshold:h}=e;const v=function(e){let{delta:t,disabled:n}=e;const r=(0,i.D9)(t);return(0,i.Gj)((e=>{if(n||!r||!e)return fe;const o=Math.sign(t.x-r.x),a=Math.sign(t.y-r.y);return{x:{[_.Backward]:e.x[_.Backward]||-1===o,[_.Forward]:e.x[_.Forward]||1===o},y:{[_.Backward]:e.y[_.Backward]||-1===a,[_.Forward]:e.y[_.Forward]||1===a}}}),[n,t,r])}({delta:g,disabled:!l}),[p,m]=(0,i.Yz)(),b=(0,r.useRef)({x:0,y:0}),y=(0,r.useRef)({x:0,y:0}),x=(0,r.useMemo)((()=>{switch(n){case ue.Pointer:return u?{top:u.y,bottom:u.y,left:u.x,right:u.x}:null;case ue.DraggableRect:return a}}),[n,a,u]),w=(0,r.useRef)(null),C=(0,r.useCallback)((()=>{const e=w.current;if(!e)return;const t=b.current.x*y.current.x,n=b.current.y*y.current.y;e.scrollBy(t,n)}),[]),D=(0,r.useMemo)((()=>c===de.TreeOrder?[...d].reverse():d),[c,d]);(0,r.useEffect)((()=>{if(l&&d.length&&x){for(const e of D){if(!1===(null==o?void 0:o(e)))continue;const n=d.indexOf(e),r=f[n];if(!r)continue;const{direction:a,speed:i}=z(e,r,x,t,h);for(const e of["x","y"])v[e][a[e]]||(i[e]=0,a[e]=0);if(i.x>0||i.y>0)return m(),w.current=e,p(C,s),b.current=i,void(y.current=a)}b.current={x:0,y:0},y.current={x:0,y:0},m()}else m()}),[t,C,o,m,l,s,JSON.stringify(x),JSON.stringify(v),p,d,D,f,JSON.stringify(h)])}({...be,delta:U,draggingRect:et,pointerCoordinates:Ze,scrollableAncestors:qe,scrollableAncestorRects:Ke});const ct=(0,r.useMemo)((()=>({active:Z,activeNode:ce,activeNodeRect:ke,activatorEvent:Q,collisions:tt,containerNodeRect:Te,dragOverlay:Be,draggableNodes:F,droppableContainers:H,droppableRects:ie,over:rt,measureDroppableContainers:le,scrollableAncestors:qe,scrollableAncestorRects:Ke,measuringConfiguration:oe,measuringScheduled:se,windowRect:He})),[Z,ce,ke,Q,tt,Te,Be,F,H,ie,rt,le,qe,Ke,oe,se,He]),ut=(0,r.useMemo)((()=>({activatorEvent:Q,activators:st,active:Z,activeNodeRect:ke,ariaDescribedById:{draggable:ne},dispatch:E,draggableNodes:F,over:rt,measureDroppableContainers:le})),[Q,st,Z,ke,E,ne,F,rt,le]);return o().createElement(d.Provider,{value:T},o().createElement(Ie.Provider,{value:ut},o().createElement(Oe.Provider,{value:ct},o().createElement(je.Provider,{value:at},g)),o().createElement($e,{disabled:!1===(null==u?void 0:u.restoreFocus)})),o().createElement(h,{...u,hiddenTextDescribedById:ne}))})),_e=(0,r.createContext)(null),Be="button",Ye="Droppable";function Fe(e){let{id:t,data:n,disabled:o=!1,attributes:a}=e;const l=(0,i.Ld)(Ye),{activators:s,activatorEvent:c,active:u,activeNodeRect:d,ariaDescribedById:f,draggableNodes:g,over:h}=(0,r.useContext)(Ie),{role:v=Be,roleDescription:p="draggable",tabIndex:m=0}=null!=a?a:{},b=(null==u?void 0:u.id)===t,y=(0,r.useContext)(b?je:_e),[x,w]=(0,i.wm)(),[C,D]=(0,i.wm)(),E=function(e,t){return(0,r.useMemo)((()=>e.reduce(((e,n)=>{let{eventName:r,handler:o}=n;return e[r]=e=>{o(e,t)},e}),{})),[e,t])}(s,t),R=(0,i.Ey)(n);return(0,i.LI)((()=>(g.set(t,{id:t,key:l,node:x,activatorNode:C,data:R}),()=>{const e=g.get(t);e&&e.key===l&&g.delete(t)})),[g,t]),{active:u,activatorEvent:c,activeNodeRect:d,attributes:(0,r.useMemo)((()=>({role:v,tabIndex:m,"aria-disabled":o,"aria-pressed":!(!b||v!==Be)||void 0,"aria-roledescription":p,"aria-describedby":f.draggable})),[o,v,m,b,p,f.draggable]),isDragging:b,listeners:o?void 0:E,node:x,over:h,setNodeRef:w,setActivatorNodeRef:D,transform:y}}function ze(){return(0,r.useContext)(Oe)}const Ue="Droppable",Xe={timeout:25};function He(e){let{data:t,disabled:n=!1,id:o,resizeObserverConfig:a}=e;const l=(0,i.Ld)(Ue),{active:s,dispatch:c,over:u,measureDroppableContainers:d}=(0,r.useContext)(Ie),f=(0,r.useRef)({disabled:n}),g=(0,r.useRef)(!1),h=(0,r.useRef)(null),p=(0,r.useRef)(null),{disabled:m,updateMeasurementsFor:b,timeout:y}={...Xe,...a},x=(0,i.Ey)(null!=b?b:o),w=me({callback:(0,r.useCallback)((()=>{g.current?(null!=p.current&&clearTimeout(p.current),p.current=setTimeout((()=>{d(Array.isArray(x.current)?x.current:[x.current]),p.current=null}),y)):g.current=!0}),[y]),disabled:m||!s}),C=(0,r.useCallback)(((e,t)=>{w&&(t&&(w.unobserve(t),g.current=!1),e&&w.observe(e))}),[w]),[D,E]=(0,i.wm)(C),R=(0,i.Ey)(t);return(0,r.useEffect)((()=>{w&&D.current&&(w.disconnect(),g.current=!1,w.observe(D.current))}),[D,w]),(0,i.LI)((()=>(c({type:v.RegisterDroppable,element:{id:o,key:l,disabled:n,node:D,rect:h,data:R}}),()=>c({type:v.UnregisterDroppable,key:l,id:o}))),[o]),(0,r.useEffect)((()=>{n!==f.current.disabled&&(c({type:v.SetDroppableDisabled,id:o,key:l,disabled:n}),f.current.disabled=n)}),[o,l,n,c]),{active:s,rect:h,isOver:(null==u?void 0:u.id)===o,node:D,over:u,setNodeRef:E}}},8366:(e,t,n)=>{"use strict";n.d(t,{DL:()=>o,lv:()=>r}),n(2851);const r=e=>{let{draggingNodeRect:t,transform:n,scrollableAncestorRects:r}=e;const o=r[0];return t&&o?function(e,t,n){const r={...e};return t.top+e.y<=n.top?r.y=n.top-t.top:t.bottom+e.y>=n.top+n.height&&(r.y=n.top+n.height-t.bottom),t.left+e.x<=n.left?r.x=n.left-t.left:t.right+e.x>=n.left+n.width&&(r.x=n.left+n.width-t.right),r}(n,t,o):n},o=e=>{let{transform:t}=e;return{...t,x:0}}},6548:(e,t,n)=>{"use strict";n.d(t,{Fo:()=>v,Rp:()=>l,nB:()=>C,qw:()=>f});var r=n(8657),o=n.n(r),a=n(1540),i=n(2851);function l(e,t,n){const r=e.slice();return r.splice(n<0?r.length+n:n,0,r.splice(t,1)[0]),r}function s(e,t){return e.reduce(((e,n,r)=>{const o=t.get(n);return o&&(e[r]=o),e}),Array(e.length))}function c(e){return null!==e&&e>=0}const u=e=>{let{rects:t,activeIndex:n,overIndex:r,index:o}=e;const a=l(t,r,n),i=t[o],s=a[o];return s&&i?{x:s.left-i.left,y:s.top-i.top,scaleX:s.width/i.width,scaleY:s.height/i.height}:null},d={scaleX:1,scaleY:1},f=e=>{var t;let{activeIndex:n,activeNodeRect:r,index:o,rects:a,overIndex:i}=e;const l=null!=(t=a[n])?t:r;if(!l)return null;if(o===n){const e=a[i];return e?{x:0,y:n<i?e.top+e.height-(l.top+l.height):e.top-l.top,...d}:null}const s=function(e,t,n){const r=e[t],o=e[t-1],a=e[t+1];return r?n<t?o?r.top-(o.top+o.height):a?a.top-(r.top+r.height):0:a?a.top-(r.top+r.height):o?r.top-(o.top+o.height):0:0}(a,o,n);return o>n&&o<=i?{x:0,y:-l.height-s,...d}:o<n&&o>=i?{x:0,y:l.height+s,...d}:{x:0,y:0,...d}},g="Sortable",h=o().createContext({activeIndex:-1,containerId:g,disableTransforms:!1,items:[],overIndex:-1,useDragOverlay:!1,sortedRects:[],strategy:u,disabled:{draggable:!1,droppable:!1}});function v(e){let{children:t,id:n,items:l,strategy:c=u,disabled:d=!1}=e;const{active:f,dragOverlay:v,droppableRects:p,over:m,measureDroppableContainers:b}=(0,a.Cj)(),y=(0,i.Ld)(g,n),x=Boolean(null!==v.rect),w=(0,r.useMemo)((()=>l.map((e=>"object"==typeof e&&"id"in e?e.id:e))),[l]),C=null!=f,D=f?w.indexOf(f.id):-1,E=m?w.indexOf(m.id):-1,R=(0,r.useRef)(w),S=!function(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}(w,R.current),M=-1!==E&&-1===D||S,k=function(e){return"boolean"==typeof e?{draggable:e,droppable:e}:e}(d);(0,i.LI)((()=>{S&&C&&b(w)}),[S,w,C,b]),(0,r.useEffect)((()=>{R.current=w}),[w]);const T=(0,r.useMemo)((()=>({activeIndex:D,containerId:y,disabled:k,disableTransforms:M,items:w,overIndex:E,useDragOverlay:x,sortedRects:s(w,p),strategy:c})),[D,y,k.draggable,k.droppable,M,w,E,p,x,c]);return o().createElement(h.Provider,{value:T},t)}const p=e=>{let{id:t,items:n,activeIndex:r,overIndex:o}=e;return l(n,r,o).indexOf(t)},m=e=>{let{containerId:t,isSorting:n,wasDragging:r,index:o,items:a,newIndex:i,previousItems:l,previousContainerId:s,transition:c}=e;return!(!c||!r||l!==a&&o===i||!n&&(i===o||t!==s))},b={duration:200,easing:"ease"},y="transform",x=i.ux.Transition.toString({property:y,duration:0,easing:"linear"}),w={roleDescription:"sortable"};function C(e){let{animateLayoutChanges:t=m,attributes:n,disabled:o,data:l,getNewIndex:s=p,id:u,strategy:d,resizeObserverConfig:f,transition:g=b}=e;const{items:v,containerId:C,activeIndex:D,disabled:E,disableTransforms:R,sortedRects:S,overIndex:M,useDragOverlay:k,strategy:T}=(0,r.useContext)(h),I=function(e,t){var n,r;return"boolean"==typeof e?{draggable:e,droppable:!1}:{draggable:null!=(n=null==e?void 0:e.draggable)?n:t.draggable,droppable:null!=(r=null==e?void 0:e.droppable)?r:t.droppable}}(o,E),O=v.indexOf(u),N=(0,r.useMemo)((()=>({sortable:{containerId:C,index:O,items:v},...l})),[C,l,O,v]),P=(0,r.useMemo)((()=>v.slice(v.indexOf(u))),[v,u]),{rect:$,node:j,isOver:L,setNodeRef:A}=(0,a.Zj)({id:u,data:N,disabled:I.droppable,resizeObserverConfig:{updateMeasurementsFor:P,...f}}),{active:_,activatorEvent:B,activeNodeRect:Y,attributes:F,setNodeRef:z,listeners:U,isDragging:X,over:H,setActivatorNodeRef:q,transform:K}=(0,a.O1)({id:u,data:N,attributes:{...w,...n},disabled:I.draggable}),J=(0,i.HB)(A,z),Z=Boolean(_),W=Z&&!R&&c(D)&&c(M),G=!k&&X,V=G&&W?K:null,Q=W?null!=V?V:(null!=d?d:T)({rects:S,activeNodeRect:Y,activeIndex:D,overIndex:M,index:O}):null,ee=c(D)&&c(M)?s({id:u,items:v,activeIndex:D,overIndex:M}):O,te=null==_?void 0:_.id,ne=(0,r.useRef)({activeId:te,items:v,newIndex:ee,containerId:C}),re=v!==ne.current.items,oe=t({active:_,containerId:C,isDragging:X,isSorting:Z,id:u,index:O,items:v,newIndex:ne.current.newIndex,previousItems:ne.current.items,previousContainerId:ne.current.containerId,transition:g,wasDragging:null!=ne.current.activeId}),ae=function(e){let{disabled:t,index:n,node:o,rect:l}=e;const[s,c]=(0,r.useState)(null),u=(0,r.useRef)(n);return(0,i.LI)((()=>{if(!t&&n!==u.current&&o.current){const e=l.current;if(e){const t=(0,a.VK)(o.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)&&c(n)}}n!==u.current&&(u.current=n)}),[t,n,o,l]),(0,r.useEffect)((()=>{s&&c(null)}),[s]),s}({disabled:!oe,index:O,node:j,rect:$});return(0,r.useEffect)((()=>{Z&&ne.current.newIndex!==ee&&(ne.current.newIndex=ee),C!==ne.current.containerId&&(ne.current.containerId=C),v!==ne.current.items&&(ne.current.items=v)}),[Z,ee,C,v]),(0,r.useEffect)((()=>{if(te===ne.current.activeId)return;if(te&&!ne.current.activeId)return void(ne.current.activeId=te);const e=setTimeout((()=>{ne.current.activeId=te}),50);return()=>clearTimeout(e)}),[te]),{active:_,activeIndex:D,attributes:F,data:N,rect:$,index:O,newIndex:ee,items:v,isOver:L,isSorting:Z,isDragging:X,listeners:U,node:j,overIndex:M,over:H,setNodeRef:J,setActivatorNodeRef:q,setDroppableNodeRef:A,setDraggableNodeRef:z,transform:null!=ae?ae:Q,transition:ae||re&&ne.current.newIndex===O?x:G&&!(0,i.vd)(B)||!g?void 0:Z||oe?i.ux.Transition.toString({...g,property:y}):void 0}}a.g4.Down,a.g4.Right,a.g4.Up,a.g4.Left},2851:(e,t,n)=>{"use strict";n.d(t,{$X:()=>E,D9:()=>y,DC:()=>S,Ey:()=>p,FJ:()=>i,Gj:()=>m,HB:()=>o,IH:()=>D,Jj:()=>s,LI:()=>g,Ld:()=>w,Nq:()=>a,Re:()=>u,UG:()=>l,Yz:()=>v,qk:()=>c,r3:()=>f,so:()=>T,ux:()=>M,vZ:()=>d,vd:()=>R,wm:()=>b,zX:()=>h});var r=n(8657);function o(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,r.useMemo)((()=>e=>{t.forEach((t=>t(e)))}),t)}const a="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement;function i(e){const t=Object.prototype.toString.call(e);return"[object Window]"===t||"[object global]"===t}function l(e){return"nodeType"in e}function s(e){var t,n;return e?i(e)?e:l(e)&&null!=(t=null==(n=e.ownerDocument)?void 0:n.defaultView)?t:window:window}function c(e){const{Document:t}=s(e);return e instanceof t}function u(e){return!i(e)&&e instanceof s(e).HTMLElement}function d(e){return e instanceof s(e).SVGElement}function f(e){return e?i(e)?e.document:l(e)?c(e)?e:u(e)?e.ownerDocument:document:document:document}const g=a?r.useLayoutEffect:r.useEffect;function h(e){const t=(0,r.useRef)(e);return g((()=>{t.current=e})),(0,r.useCallback)((function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return null==t.current?void 0:t.current(...n)}),[])}function v(){const e=(0,r.useRef)(null);return[(0,r.useCallback)(((t,n)=>{e.current=setInterval(t,n)}),[]),(0,r.useCallback)((()=>{null!==e.current&&(clearInterval(e.current),e.current=null)}),[])]}function p(e,t){void 0===t&&(t=[e]);const n=(0,r.useRef)(e);return g((()=>{n.current!==e&&(n.current=e)}),t),n}function m(e,t){const n=(0,r.useRef)();return(0,r.useMemo)((()=>{const t=e(n.current);return n.current=t,t}),[...t])}function b(e){const t=h(e),n=(0,r.useRef)(null),o=(0,r.useCallback)((e=>{e!==n.current&&(null==t||t(e,n.current)),n.current=e}),[]);return[n,o]}function y(e){const t=(0,r.useRef)();return(0,r.useEffect)((()=>{t.current=e}),[e]),t.current}let x={};function w(e,t){return(0,r.useMemo)((()=>{if(t)return t;const n=null==x[e]?0:x[e]+1;return x[e]=n,e+"-"+n}),[e,t])}function C(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return r.reduce(((t,n)=>{const r=Object.entries(n);for(const[n,o]of r){const r=t[n];null!=r&&(t[n]=r+e*o)}return t}),{...t})}}const D=C(1),E=C(-1);function R(e){if(!e)return!1;const{KeyboardEvent:t}=s(e.target);return t&&e instanceof t}function S(e){if(function(e){if(!e)return!1;const{TouchEvent:t}=s(e.target);return t&&e instanceof t}(e)){if(e.touches&&e.touches.length){const{clientX:t,clientY:n}=e.touches[0];return{x:t,y:n}}if(e.changedTouches&&e.changedTouches.length){const{clientX:t,clientY:n}=e.changedTouches[0];return{x:t,y:n}}}return function(e){return"clientX"in e&&"clientY"in e}(e)?{x:e.clientX,y:e.clientY}:null}const M=Object.freeze({Translate:{toString(e){if(!e)return;const{x:t,y:n}=e;return"translate3d("+(t?Math.round(t):0)+"px, "+(n?Math.round(n):0)+"px, 0)"}},Scale:{toString(e){if(!e)return;const{scaleX:t,scaleY:n}=e;return"scaleX("+t+") scaleY("+n+")"}},Transform:{toString(e){if(e)return[M.Translate.toString(e),M.Scale.toString(e)].join(" ")}},Transition:{toString(e){let{property:t,duration:n,easing:r}=e;return t+" "+n+"ms "+r}}}),k="a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";function T(e){return e.matches(k)?e:e.querySelector(k)}},8786:(e,t,n)=>{"use strict";n.d(t,{Z:()=>b});var r=n(7263),o=n(8317),a=n(6504),i=n(7752);var l=n(4781),s=n(6671),c=n(749),u=n(9415);var d=n(819),f=n(6341),g=n(3957);const h=(e,t)=>new g.C(e).setAlpha(t).toRgbString(),v=(e,t)=>new g.C(e).lighten(t).toHexString(),p=e=>{const t=(0,d.R_)(e,{theme:"dark"});return{1:t[0],2:t[1],3:t[2],4:t[3],5:t[6],6:t[5],7:t[4],8:t[6],9:t[5],10:t[4]}},m=(e,t)=>{const n=e||"#000",r=t||"#fff";return{colorBgBase:n,colorTextBase:r,colorText:h(r,.85),colorTextSecondary:h(r,.65),colorTextTertiary:h(r,.45),colorTextQuaternary:h(r,.25),colorFill:h(r,.18),colorFillSecondary:h(r,.12),colorFillTertiary:h(r,.08),colorFillQuaternary:h(r,.04),colorBgElevated:v(n,12),colorBgContainer:v(n,8),colorBgLayout:v(n,0),colorBgSpotlight:v(n,26),colorBorder:v(n,26),colorBorderSecondary:v(n,19)}},b={defaultConfig:s.u_,defaultSeed:s.u_.token,useToken:function(){const[e,t,n]=(0,l.Z)();return{theme:e,token:t,hashId:n}},defaultAlgorithm:o.Z,darkAlgorithm:(e,t)=>{const n=Object.keys(a.M).map((t=>{const n=(0,d.R_)(e[t],{theme:"dark"});return new Array(10).fill(1).reduce(((e,r,o)=>(e[`${t}-${o+1}`]=n[o],e[`${t}${o+1}`]=n[o],e)),{})})).reduce(((e,t)=>Object.assign(Object.assign({},e),t)),{}),r=null!=t?t:(0,o.Z)(e);return Object.assign(Object.assign(Object.assign({},r),n),(0,f.Z)(e,{generateColorPalettes:p,generateNeutralColorPalettes:m}))},compactAlgorithm:(e,t)=>{const n=null!=t?t:(0,o.Z)(e),r=n.fontSizeSM,a=n.controlHeight-4;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},n),function(e){const{sizeUnit:t,sizeStep:n}=e,r=n-2;return{sizeXXL:t*(r+10),sizeXL:t*(r+6),sizeLG:t*(r+2),sizeMD:t*(r+2),sizeMS:t*(r+1),size:t*r,sizeSM:t*r,sizeXS:t*(r-1),sizeXXS:t*(r-1)}}(null!=t?t:e)),(0,u.Z)(r)),{controlHeight:a}),(0,c.Z)(Object.assign(Object.assign({},n),{controlHeight:a})))},getDesignToken:e=>{const t=(null==e?void 0:e.algorithm)?(0,r.jG)(e.algorithm):(0,r.jG)(o.Z),n=Object.assign(Object.assign({},a.Z),null==e?void 0:e.token);return(0,r.t2)(n,{override:null==e?void 0:e.token},t,i.Z)}}},4059:(e,t,n)=>{"use strict";var r=n(1600).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(4845)).default;t.default=o},8696:(e,t,n)=>{"use strict";var r=n(1600).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(5710)).default;t.default=o},4845:(e,t,n)=>{"use strict";var r=n(1600).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(8090)),a=r(n(6093)),i={lang:Object.assign({placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeQuarterPlaceholder:["Start quarter","End quarter"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"]},o.default),timePickerLocale:Object.assign({},a.default)};t.default=i},5710:(e,t,n)=>{"use strict";var r=n(1600).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(1047)),a=r(n(29));const i={lang:Object.assign({placeholder:"请选择日期",yearPlaceholder:"请选择年份",quarterPlaceholder:"请选择季度",monthPlaceholder:"请选择月份",weekPlaceholder:"请选择周",rangePlaceholder:["开始日期","结束日期"],rangeYearPlaceholder:["开始年份","结束年份"],rangeMonthPlaceholder:["开始月份","结束月份"],rangeQuarterPlaceholder:["开始季度","结束季度"],rangeWeekPlaceholder:["开始周","结束周"]},o.default),timePickerLocale:Object.assign({},a.default)};i.lang.ok="确定";var l=i;t.default=l},4713:(e,t,n)=>{"use strict";var r=n(1600).default;t.Z=void 0;var o=r(n(2475)),a=r(n(4059)),i=r(n(4845)),l=r(n(6093));const s="${label} is not a valid ${type}";var c={locale:"en",Pagination:o.default,DatePicker:i.default,TimePicker:l.default,Calendar:a.default,global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",filterCheckall:"Select all items",filterSearchPlaceholder:"Search in filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectNone:"Clear all data",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting"},Tour:{Next:"Next",Previous:"Previous",Finish:"Finish"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand"},PageHeader:{back:"Back"},Form:{optional:"(optional)",defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:s,method:s,array:s,object:s,number:s,date:s,boolean:s,integer:s,float:s,regexp:s,email:s,url:s,hex:s},string:{len:"${label} must be ${len} characters",min:"${label} must be at least ${min} characters",max:"${label} must be up to ${max} characters",range:"${label} must be between ${min}-${max} characters"},number:{len:"${label} must be equal to ${len}",min:"${label} must be minimum ${min}",max:"${label} must be maximum ${max}",range:"${label} must be between ${min}-${max}"},array:{len:"Must be ${len} ${label}",min:"At least ${min} ${label}",max:"At most ${max} ${label}",range:"The amount of ${label} must be between ${min}-${max}"},pattern:{mismatch:"${label} does not match the pattern ${pattern}"}}},Image:{preview:"Preview"},QRCode:{expired:"QR code expired",refresh:"Refresh"},ColorPicker:{presetEmpty:"Empty"}};t.Z=c},6600:(e,t,n)=>{"use strict";var r=n(1600).default;t.Z=void 0;var o=r(n(4269)),a=r(n(8696)),i=r(n(5710)),l=r(n(29));const s="${label}不是一个有效的${type}";var c={locale:"zh-cn",Pagination:o.default,DatePicker:i.default,TimePicker:l.default,Calendar:a.default,global:{placeholder:"请选择"},Table:{filterTitle:"筛选",filterConfirm:"确定",filterReset:"重置",filterEmptyText:"无筛选项",filterCheckall:"全选",filterSearchPlaceholder:"在筛选项中搜索",selectAll:"全选当页",selectInvert:"反选当页",selectNone:"清空所有",selectionAll:"全选所有",sortTitle:"排序",expand:"展开行",collapse:"关闭行",triggerDesc:"点击降序",triggerAsc:"点击升序",cancelSort:"取消排序"},Modal:{okText:"确定",cancelText:"取消",justOkText:"知道了"},Tour:{Next:"下一步",Previous:"上一步",Finish:"结束导览"},Popconfirm:{cancelText:"取消",okText:"确定"},Transfer:{titles:["",""],searchPlaceholder:"请输入搜索内容",itemUnit:"项",itemsUnit:"项",remove:"删除",selectCurrent:"全选当页",removeCurrent:"删除当页",selectAll:"全选所有",removeAll:"删除全部",selectInvert:"反选当页"},Upload:{uploading:"文件上传中",removeFile:"删除文件",uploadError:"上传错误",previewFile:"预览文件",downloadFile:"下载文件"},Empty:{description:"暂无数据"},Icon:{icon:"图标"},Text:{edit:"编辑",copy:"复制",copied:"复制成功",expand:"展开"},PageHeader:{back:"返回"},Form:{optional:"(可选)",defaultValidateMessages:{default:"字段验证错误${label}",required:"请输入${label}",enum:"${label}必须是其中一个[${enum}]",whitespace:"${label}不能为空字符",date:{format:"${label}日期格式无效",parse:"${label}不能转换为日期",invalid:"${label}是一个无效日期"},types:{string:s,method:s,array:s,object:s,number:s,date:s,boolean:s,integer:s,float:s,regexp:s,email:s,url:s,hex:s},string:{len:"${label}须为${len}个字符",min:"${label}最少${min}个字符",max:"${label}最多${max}个字符",range:"${label}须在${min}-${max}字符之间"},number:{len:"${label}必须等于${len}",min:"${label}最小值为${min}",max:"${label}最大值为${max}",range:"${label}须在${min}-${max}之间"},array:{len:"须为${len}个${label}",min:"最少${min}个${label}",max:"最多${max}个${label}",range:"${label}数量须在${min}-${max}之间"},pattern:{mismatch:"${label}与模式不匹配${pattern}"}}},Image:{preview:"预览"},QRCode:{expired:"二维码过期",refresh:"点击刷新"},ColorPicker:{presetEmpty:"暂无"}};t.Z=c},6093:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={placeholder:"Select time",rangePlaceholder:["Start time","End time"]}},29:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={placeholder:"请选择时间",rangePlaceholder:["开始时间","结束时间"]}},2475:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"Page",prev_page:"Previous Page",next_page:"Next Page",prev_5:"Previous 5 Pages",next_5:"Next 5 Pages",prev_3:"Previous 3 Pages",next_3:"Next 3 Pages",page_size:"Page Size"}},4269:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={items_per_page:"条/页",jump_to:"跳至",jump_to_confirm:"确定",page:"页",prev_page:"上一页",next_page:"下一页",prev_5:"向前 5 页",next_5:"向后 5 页",prev_3:"向前 3 页",next_3:"向后 3 页",page_size:"页码"}},8090:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"OK",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"}},1047:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={locale:"zh_CN",today:"今天",now:"此刻",backToToday:"返回今天",ok:"确定",timeSelect:"选择时间",dateSelect:"选择日期",weekSelect:"选择周",clear:"清除",month:"月",year:"年",previousMonth:"上个月 (翻页上键)",nextMonth:"下个月 (翻页下键)",monthSelect:"选择月份",yearSelect:"选择年份",decadeSelect:"选择年代",yearFormat:"YYYY年",dayFormat:"D日",dateFormat:"YYYY年M月D日",dateTimeFormat:"YYYY年M月D日 HH时mm分ss秒",previousYear:"上一年 (Control键加左方向键)",nextYear:"下一年 (Control键加右方向键)",previousDecade:"上一年代",nextDecade:"下一年代",previousCentury:"上一世纪",nextCentury:"下一世纪"}},1600:e=>{e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports}}]);
|
|
2
|
-
//# sourceMappingURL=
|
|
1
|
+
(self.webpackChunk_next_bricks_advanced=self.webpackChunk_next_bricks_advanced||[]).push([[9704],{1540:(e,t,n)=>{"use strict";n.d(t,{LB:()=>Ae,g4:()=>W,we:()=>ie,pE:()=>D,VK:()=>I,Cj:()=>ze,O1:()=>Ye,Zj:()=>He,VT:()=>m,Dy:()=>b});var r=n(8657),o=n.n(r),a=n(2484),i=n(2851);const l={display:"none"};function s(e){let{id:t,value:n}=e;return o().createElement("div",{id:t,style:l},n)}const c={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"};function u(e){let{id:t,announcement:n}=e;return o().createElement("div",{id:t,style:c,role:"status","aria-live":"assertive","aria-atomic":!0},n)}const d=(0,r.createContext)(null),f={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 "},v={onDragStart(e){let{active:t}=e;return"Picked up draggable item "+t.id+"."},onDragOver(e){let{active:t,over:n}=e;return n?"Draggable item "+t.id+" was moved over droppable area "+n.id+".":"Draggable item "+t.id+" is no longer over a droppable area."},onDragEnd(e){let{active:t,over:n}=e;return n?"Draggable item "+t.id+" was dropped over droppable area "+n.id:"Draggable item "+t.id+" was dropped."},onDragCancel(e){let{active:t}=e;return"Dragging was cancelled. Draggable item "+t.id+" was dropped."}};function h(e){let{announcements:t=v,container:n,hiddenTextDescribedById:l,screenReaderInstructions:c=f}=e;const{announce:h,announcement:g}=function(){const[e,t]=(0,r.useState)("");return{announce:(0,r.useCallback)((e=>{null!=e&&t(e)}),[]),announcement:e}}(),p=(0,i.Ld)("DndLiveRegion"),[m,b]=(0,r.useState)(!1);if((0,r.useEffect)((()=>{b(!0)}),[]),function(e){const t=(0,r.useContext)(d);(0,r.useEffect)((()=>{if(!t)throw new Error("useDndMonitor must be used within a children of <DndContext>");return t(e)}),[e,t])}((0,r.useMemo)((()=>({onDragStart(e){let{active:n}=e;h(t.onDragStart({active:n}))},onDragMove(e){let{active:n,over:r}=e;t.onDragMove&&h(t.onDragMove({active:n,over:r}))},onDragOver(e){let{active:n,over:r}=e;h(t.onDragOver({active:n,over:r}))},onDragEnd(e){let{active:n,over:r}=e;h(t.onDragEnd({active:n,over:r}))},onDragCancel(e){let{active:n,over:r}=e;h(t.onDragCancel({active:n,over:r}))}})),[h,t])),!m)return null;const y=o().createElement(o().Fragment,null,o().createElement(s,{id:l,value:c.draggable}),o().createElement(u,{id:p,announcement:g}));return n?(0,a.createPortal)(y,n):y}var g;function p(){}function m(e,t){return(0,r.useMemo)((()=>({sensor:e,options:null!=t?t:{}})),[e,t])}function b(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,r.useMemo)((()=>[...t].filter((e=>null!=e))),[...t])}!function(e){e.DragStart="dragStart",e.DragMove="dragMove",e.DragEnd="dragEnd",e.DragCancel="dragCancel",e.DragOver="dragOver",e.RegisterDroppable="registerDroppable",e.SetDroppableDisabled="setDroppableDisabled",e.UnregisterDroppable="unregisterDroppable"}(g||(g={}));const y=Object.freeze({x:0,y:0});function x(e,t){let{data:{value:n}}=e,{data:{value:r}}=t;return n-r}function w(e,t){let{data:{value:n}}=e,{data:{value:r}}=t;return r-n}function C(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 D=e=>{let{collisionRect:t,droppableRects:n,droppableContainers:r}=e;const o=C(t,t.left,t.top),a=[];for(const e of r){const{id:t}=e,r=n.get(t);if(r){const n=(i=C(r),l=o,Math.sqrt(Math.pow(i.x-l.x,2)+Math.pow(i.y-l.y,2)));a.push({id:t,data:{droppableContainer:e,value:n}})}}var i,l;return a.sort(x)};function E(e,t){const n=Math.max(t.top,e.top),r=Math.max(t.left,e.left),o=Math.min(t.left+t.width,e.left+e.width),a=Math.min(t.top+t.height,e.top+e.height),i=o-r,l=a-n;if(r<o&&n<a){const n=t.width*t.height,r=e.width*e.height,o=i*l;return Number((o/(n+r-o)).toFixed(4))}return 0}const R=e=>{let{collisionRect:t,droppableRects:n,droppableContainers:r}=e;const o=[];for(const e of r){const{id:r}=e,a=n.get(r);if(a){const n=E(a,t);n>0&&o.push({id:r,data:{droppableContainer:e,value:n}})}}return o.sort(w)};function S(e,t){return e&&t?{x:e.left-t.left,y:e.top-t.top}:y}function M(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return r.reduce(((t,n)=>({...t,top:t.top+e*n.y,bottom:t.bottom+e*n.y,left:t.left+e*n.x,right:t.right+e*n.x})),{...t})}}const k=M(1);const T={ignoreTransform:!1};function I(e,t){void 0===t&&(t=T);let n=e.getBoundingClientRect();if(t.ignoreTransform){const{transform:t,transformOrigin:r}=(0,i.Jj)(e).getComputedStyle(e);t&&(n=function(e,t,n){const r=function(e){if(e.startsWith("matrix3d(")){const t=e.slice(9,-1).split(/, /);return{x:+t[12],y:+t[13],scaleX:+t[0],scaleY:+t[5]}}if(e.startsWith("matrix(")){const t=e.slice(7,-1).split(/, /);return{x:+t[4],y:+t[5],scaleX:+t[0],scaleY:+t[3]}}return null}(t);if(!r)return e;const{scaleX:o,scaleY:a,x:i,y:l}=r,s=e.left-i-(1-o)*parseFloat(n),c=e.top-l-(1-a)*parseFloat(n.slice(n.indexOf(" ")+1)),u=o?e.width/o:e.width,d=a?e.height/a:e.height;return{width:u,height:d,top:c,right:s+u,bottom:c+d,left:s}}(n,t,r))}const{top:r,left:o,width:a,height:l,bottom:s,right:c}=n;return{top:r,left:o,width:a,height:l,bottom:s,right:c}}function O(e){return I(e,{ignoreTransform:!0})}function N(e,t){const n=[];return e?function r(o){if(null!=t&&n.length>=t)return n;if(!o)return n;if((0,i.qk)(o)&&null!=o.scrollingElement&&!n.includes(o.scrollingElement))return n.push(o.scrollingElement),n;if(!(0,i.Re)(o)||(0,i.vZ)(o))return n;if(n.includes(o))return n;const a=(0,i.Jj)(e).getComputedStyle(o);return o!==e&&function(e,t){void 0===t&&(t=(0,i.Jj)(e).getComputedStyle(e));const n=/(auto|scroll|overlay)/;return["overflow","overflowX","overflowY"].some((e=>{const r=t[e];return"string"==typeof r&&n.test(r)}))}(o,a)&&n.push(o),function(e,t){return void 0===t&&(t=(0,i.Jj)(e).getComputedStyle(e)),"fixed"===t.position}(o,a)?n:r(o.parentNode)}(e):n}function P(e){const[t]=N(e,1);return null!=t?t:null}function $(e){return i.Nq&&e?(0,i.FJ)(e)?e:(0,i.UG)(e)?(0,i.qk)(e)||e===(0,i.r3)(e).scrollingElement?window:(0,i.Re)(e)?e:null:null:null}function j(e){return(0,i.FJ)(e)?e.scrollX:e.scrollLeft}function L(e){return(0,i.FJ)(e)?e.scrollY:e.scrollTop}function A(e){return{x:j(e),y:L(e)}}var _;function F(e){return!(!i.Nq||!e)&&e===document.scrollingElement}function B(e){const t={x:0,y:0},n=F(e)?{height:window.innerHeight,width:window.innerWidth}:{height:e.clientHeight,width:e.clientWidth},r={x:e.scrollWidth-n.width,y:e.scrollHeight-n.height};return{isTop:e.scrollTop<=t.y,isLeft:e.scrollLeft<=t.x,isBottom:e.scrollTop>=r.y,isRight:e.scrollLeft>=r.x,maxScroll:r,minScroll:t}}!function(e){e[e.Forward=1]="Forward",e[e.Backward=-1]="Backward"}(_||(_={}));const Y={x:.2,y:.2};function z(e,t,n,r,o){let{top:a,left:i,right:l,bottom:s}=n;void 0===r&&(r=10),void 0===o&&(o=Y);const{isTop:c,isBottom:u,isLeft:d,isRight:f}=B(e),v={x:0,y:0},h={x:0,y:0},g=t.height*o.y,p=t.width*o.x;return!c&&a<=t.top+g?(v.y=_.Backward,h.y=r*Math.abs((t.top+g-a)/g)):!u&&s>=t.bottom-g&&(v.y=_.Forward,h.y=r*Math.abs((t.bottom-g-s)/g)),!f&&l>=t.right-p?(v.x=_.Forward,h.x=r*Math.abs((t.right-p-l)/p)):!d&&i<=t.left+p&&(v.x=_.Backward,h.x=r*Math.abs((t.left+p-i)/p)),{direction:v,speed:h}}function U(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:o}=e.getBoundingClientRect();return{top:t,left:n,right:r,bottom:o,width:e.clientWidth,height:e.clientHeight}}function X(e){return e.reduce(((e,t)=>(0,i.IH)(e,A(t))),y)}const H=[["x",["left","right"],function(e){return e.reduce(((e,t)=>e+j(t)),0)}],["y",["top","bottom"],function(e){return e.reduce(((e,t)=>e+L(t)),0)}]];class q{constructor(e,t){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=N(t),r=X(n);this.rect={...e},this.width=e.width,this.height=e.height;for(const[e,t,o]of H)for(const a of t)Object.defineProperty(this,a,{get:()=>{const t=o(n),i=r[e]-t;return this.rect[a]+i},enumerable:!0});Object.defineProperty(this,"rect",{enumerable:!1})}}class K{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 J(e,t){const n=Math.abs(e.x),r=Math.abs(e.y);return"number"==typeof t?Math.sqrt(n**2+r**2)>t:"x"in t&&"y"in t?n>t.x&&r>t.y:"x"in t?n>t.x:"y"in t&&r>t.y}var Z,W;function G(e){e.preventDefault()}function V(e){e.stopPropagation()}!function(e){e.Click="click",e.DragStart="dragstart",e.Keydown="keydown",e.ContextMenu="contextmenu",e.Resize="resize",e.SelectionChange="selectionchange",e.VisibilityChange="visibilitychange"}(Z||(Z={})),function(e){e.Space="Space",e.Down="ArrowDown",e.Right="ArrowRight",e.Left="ArrowLeft",e.Up="ArrowUp",e.Esc="Escape",e.Enter="Enter"}(W||(W={}));const Q={start:[W.Space,W.Enter],cancel:[W.Esc],end:[W.Space,W.Enter]},ee=(e,t)=>{let{currentCoordinates:n}=t;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}}};class te{constructor(e){this.props=void 0,this.autoScrollEnabled=!1,this.referenceCoordinates=void 0,this.listeners=void 0,this.windowListeners=void 0,this.props=e;const{event:{target:t}}=e;this.props=e,this.listeners=new K((0,i.r3)(t)),this.windowListeners=new K((0,i.Jj)(t)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){this.handleStart(),this.windowListeners.add(Z.Resize,this.handleCancel),this.windowListeners.add(Z.VisibilityChange,this.handleCancel),setTimeout((()=>this.listeners.add(Z.Keydown,this.handleKeyDown)))}handleStart(){const{activeNode:e,onStart:t}=this.props,n=e.node.current;n&&function(e,t){if(void 0===t&&(t=I),!e)return;const{top:n,left:r,bottom:o,right:a}=t(e);P(e)&&(o<=0||a<=0||n>=window.innerHeight||r>=window.innerWidth)&&e.scrollIntoView({block:"center",inline:"center"})}(n),t(y)}handleKeyDown(e){if((0,i.vd)(e)){const{active:t,context:n,options:r}=this.props,{keyboardCodes:o=Q,coordinateGetter:a=ee,scrollBehavior:l="smooth"}=r,{code:s}=e;if(o.end.includes(s))return void this.handleEnd(e);if(o.cancel.includes(s))return void this.handleCancel(e);const{collisionRect:c}=n.current,u=c?{x:c.left,y:c.top}:y;this.referenceCoordinates||(this.referenceCoordinates=u);const d=a(e,{active:t,context:n.current,currentCoordinates:u});if(d){const t=(0,i.$X)(d,u),r={x:0,y:0},{scrollableAncestors:o}=n.current;for(const n of o){const o=e.code,{isTop:a,isRight:i,isLeft:s,isBottom:c,maxScroll:u,minScroll:f}=B(n),v=U(n),h={x:Math.min(o===W.Right?v.right-v.width/2:v.right,Math.max(o===W.Right?v.left:v.left+v.width/2,d.x)),y:Math.min(o===W.Down?v.bottom-v.height/2:v.bottom,Math.max(o===W.Down?v.top:v.top+v.height/2,d.y))},g=o===W.Right&&!i||o===W.Left&&!s,p=o===W.Down&&!c||o===W.Up&&!a;if(g&&h.x!==d.x){const e=n.scrollLeft+t.x,a=o===W.Right&&e<=u.x||o===W.Left&&e>=f.x;if(a&&!t.y)return void n.scrollTo({left:e,behavior:l});r.x=a?n.scrollLeft-e:o===W.Right?n.scrollLeft-u.x:n.scrollLeft-f.x,r.x&&n.scrollBy({left:-r.x,behavior:l});break}if(p&&h.y!==d.y){const e=n.scrollTop+t.y,a=o===W.Down&&e<=u.y||o===W.Up&&e>=f.y;if(a&&!t.x)return void n.scrollTo({top:e,behavior:l});r.y=a?n.scrollTop-e:o===W.Down?n.scrollTop-u.y:n.scrollTop-f.y,r.y&&n.scrollBy({top:-r.y,behavior:l});break}}this.handleMove(e,(0,i.IH)((0,i.$X)(d,this.referenceCoordinates),r))}}}handleMove(e,t){const{onMove:n}=this.props;e.preventDefault(),n(t)}handleEnd(e){const{onEnd:t}=this.props;e.preventDefault(),this.detach(),t()}handleCancel(e){const{onCancel:t}=this.props;e.preventDefault(),this.detach(),t()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll()}}function ne(e){return Boolean(e&&"distance"in e)}function re(e){return Boolean(e&&"delay"in e)}te.activators=[{eventName:"onKeyDown",handler:(e,t,n)=>{let{keyboardCodes:r=Q,onActivation:o}=t,{active:a}=n;const{code:i}=e.nativeEvent;if(r.start.includes(i)){const t=a.activatorNode.current;return!(t&&e.target!==t||(e.preventDefault(),null==o||o({event:e.nativeEvent}),0))}return!1}}];class oe{constructor(e,t,n){var r;void 0===n&&(n=function(e){const{EventTarget:t}=(0,i.Jj)(e);return e instanceof t?e:(0,i.r3)(e)}(e.event.target)),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;const{event:o}=e,{target:a}=o;this.props=e,this.events=t,this.document=(0,i.r3)(a),this.documentListeners=new K(this.document),this.listeners=new K(n),this.windowListeners=new K((0,i.Jj)(a)),this.initialCoordinates=null!=(r=(0,i.DC)(o))?r:y,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(){const{events:e,props:{options:{activationConstraint:t}}}=this;if(this.listeners.add(e.move.name,this.handleMove,{passive:!1}),this.listeners.add(e.end.name,this.handleEnd),this.windowListeners.add(Z.Resize,this.handleCancel),this.windowListeners.add(Z.DragStart,G),this.windowListeners.add(Z.VisibilityChange,this.handleCancel),this.windowListeners.add(Z.ContextMenu,G),this.documentListeners.add(Z.Keydown,this.handleKeydown),t){if(ne(t))return;if(re(t))return void(this.timeoutId=setTimeout(this.handleStart,t.delay))}this.handleStart()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll(),setTimeout(this.documentListeners.removeAll,50),null!==this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=null)}handleStart(){const{initialCoordinates:e}=this,{onStart:t}=this.props;e&&(this.activated=!0,this.documentListeners.add(Z.Click,V,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(Z.SelectionChange,this.removeTextSelection),t(e))}handleMove(e){var t;const{activated:n,initialCoordinates:r,props:o}=this,{onMove:a,options:{activationConstraint:l}}=o;if(!r)return;const s=null!=(t=(0,i.DC)(e))?t:y,c=(0,i.$X)(r,s);if(!n&&l){if(re(l))return J(c,l.tolerance)?this.handleCancel():void 0;if(ne(l))return null!=l.tolerance&&J(c,l.tolerance)?this.handleCancel():J(c,l.distance)?this.handleStart():void 0}e.cancelable&&e.preventDefault(),a(s)}handleEnd(){const{onEnd:e}=this.props;this.detach(),e()}handleCancel(){const{onCancel:e}=this.props;this.detach(),e()}handleKeydown(e){e.code===W.Esc&&this.handleCancel()}removeTextSelection(){var e;null==(e=this.document.getSelection())||e.removeAllRanges()}}const ae={move:{name:"pointermove"},end:{name:"pointerup"}};class ie extends oe{constructor(e){const{event:t}=e,n=(0,i.r3)(t.target);super(e,ae,n)}}ie.activators=[{eventName:"onPointerDown",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;return!(!n.isPrimary||0!==n.button||(null==r||r({event:n}),0))}}];const le={move:{name:"mousemove"},end:{name:"mouseup"}};var se;!function(e){e[e.RightClick=2]="RightClick"}(se||(se={})),class extends oe{constructor(e){super(e,le,(0,i.r3)(e.event.target))}}.activators=[{eventName:"onMouseDown",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;return n.button!==se.RightClick&&(null==r||r({event:n}),!0)}}];const ce={move:{name:"touchmove"},end:{name:"touchend"}};var ue,de;(class extends oe{constructor(e){super(e,ce)}static setup(){return window.addEventListener(ce.move.name,e,{capture:!1,passive:!1}),function(){window.removeEventListener(ce.move.name,e)};function e(){}}}).activators=[{eventName:"onTouchStart",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;const{touches:o}=n;return!(o.length>1||(null==r||r({event:n}),0))}}],function(e){e[e.Pointer=0]="Pointer",e[e.DraggableRect=1]="DraggableRect"}(ue||(ue={})),function(e){e[e.TreeOrder=0]="TreeOrder",e[e.ReversedTreeOrder=1]="ReversedTreeOrder"}(de||(de={}));const fe={x:{[_.Backward]:!1,[_.Forward]:!1},y:{[_.Backward]:!1,[_.Forward]:!1}};var ve,he;!function(e){e[e.Always=0]="Always",e[e.BeforeDragging=1]="BeforeDragging",e[e.WhileDragging=2]="WhileDragging"}(ve||(ve={})),function(e){e.Optimized="optimized"}(he||(he={}));const ge=new Map;function pe(e,t){return(0,i.Gj)((n=>e?n||("function"==typeof t?t(e):e):null),[t,e])}function me(e){let{callback:t,disabled:n}=e;const o=(0,i.zX)(t),a=(0,r.useMemo)((()=>{if(n||"undefined"==typeof window||void 0===window.ResizeObserver)return;const{ResizeObserver:e}=window;return new e(o)}),[n]);return(0,r.useEffect)((()=>()=>null==a?void 0:a.disconnect()),[a]),a}function be(e){return new q(I(e),e)}function ye(e,t,n){void 0===t&&(t=be);const[o,a]=(0,r.useReducer)((function(r){if(!e)return null;var o;if(!1===e.isConnected)return null!=(o=null!=r?r:n)?o:null;const a=t(e);return JSON.stringify(r)===JSON.stringify(a)?r:a}),null),l=function(e){let{callback:t,disabled:n}=e;const o=(0,i.zX)(t),a=(0,r.useMemo)((()=>{if(n||"undefined"==typeof window||void 0===window.MutationObserver)return;const{MutationObserver:e}=window;return new e(o)}),[o,n]);return(0,r.useEffect)((()=>()=>null==a?void 0:a.disconnect()),[a]),a}({callback(t){if(e)for(const n of t){const{type:t,target:r}=n;if("childList"===t&&r instanceof HTMLElement&&r.contains(e)){a();break}}}}),s=me({callback:a});return(0,i.LI)((()=>{a(),e?(null==s||s.observe(e),null==l||l.observe(document.body,{childList:!0,subtree:!0})):(null==s||s.disconnect(),null==l||l.disconnect())}),[e]),o}const xe=[];function we(e,t){void 0===t&&(t=[]);const n=(0,r.useRef)(null);return(0,r.useEffect)((()=>{n.current=null}),t),(0,r.useEffect)((()=>{const t=e!==y;t&&!n.current&&(n.current=e),!t&&n.current&&(n.current=null)}),[e]),n.current?(0,i.$X)(e,n.current):y}function Ce(e){return(0,r.useMemo)((()=>e?function(e){const t=e.innerWidth,n=e.innerHeight;return{top:0,left:0,right:t,bottom:n,width:t,height:n}}(e):null),[e])}const De=[];const Ee=[{sensor:ie,options:{}},{sensor:te,options:{}}],Re={current:{}},Se={draggable:{measure:O},droppable:{measure:O,strategy:ve.WhileDragging,frequency:he.Optimized},dragOverlay:{measure:I}};class Me extends Map{get(e){var t;return null!=e&&null!=(t=super.get(e))?t:void 0}toArray(){return Array.from(this.values())}getEnabled(){return this.toArray().filter((e=>{let{disabled:t}=e;return!t}))}getNodeFor(e){var t,n;return null!=(t=null==(n=this.get(e))?void 0:n.node.current)?t:void 0}}const ke={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map,droppableRects:new Map,droppableContainers:new Me,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:p},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:Se,measureDroppableContainers:p,windowRect:null,measuringScheduled:!1},Te={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:p,draggableNodes:new Map,over:null,measureDroppableContainers:p},Ie=(0,r.createContext)(Te),Oe=(0,r.createContext)(ke);function Ne(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new Me}}}function Pe(e,t){switch(t.type){case g.DragStart:return{...e,draggable:{...e.draggable,initialCoordinates:t.initialCoordinates,active:t.active}};case g.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 g.DragEnd:case g.DragCancel:return{...e,draggable:{...e.draggable,active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}}};case g.RegisterDroppable:{const{element:n}=t,{id:r}=n,o=new Me(e.droppable.containers);return o.set(r,n),{...e,droppable:{...e.droppable,containers:o}}}case g.SetDroppableDisabled:{const{id:n,key:r,disabled:o}=t,a=e.droppable.containers.get(n);if(!a||r!==a.key)return e;const i=new Me(e.droppable.containers);return i.set(n,{...a,disabled:o}),{...e,droppable:{...e.droppable,containers:i}}}case g.UnregisterDroppable:{const{id:n,key:r}=t,o=e.droppable.containers.get(n);if(!o||r!==o.key)return e;const a=new Me(e.droppable.containers);return a.delete(n),{...e,droppable:{...e.droppable,containers:a}}}default:return e}}function $e(e){let{disabled:t}=e;const{active:n,activatorEvent:o,draggableNodes:a}=(0,r.useContext)(Ie),l=(0,i.D9)(o),s=(0,i.D9)(null==n?void 0:n.id);return(0,r.useEffect)((()=>{if(!t&&!o&&l&&null!=s){if(!(0,i.vd)(l))return;if(document.activeElement===l.target)return;const e=a.get(s);if(!e)return;const{activatorNode:t,node:n}=e;if(!t.current&&!n.current)return;requestAnimationFrame((()=>{for(const e of[t.current,n.current]){if(!e)continue;const t=(0,i.so)(e);if(t){t.focus();break}}}))}}),[o,t,a,s,l]),null}const je=(0,r.createContext)({...y,scaleX:1,scaleY:1});var Le;!function(e){e[e.Uninitialized=0]="Uninitialized",e[e.Initializing=1]="Initializing",e[e.Initialized=2]="Initialized"}(Le||(Le={}));const Ae=(0,r.memo)((function(e){var t,n,l,s;let{id:c,accessibility:u,autoScroll:f=!0,children:v,sensors:p=Ee,collisionDetection:m=R,measuring:b,modifiers:x,...w}=e;const C=(0,r.useReducer)(Pe,void 0,Ne),[D,E]=C,[M,T]=function(){const[e]=(0,r.useState)((()=>new Set)),t=(0,r.useCallback)((t=>(e.add(t),()=>e.delete(t))),[e]);return[(0,r.useCallback)((t=>{let{type:n,event:r}=t;e.forEach((e=>{var t;return null==(t=e[n])?void 0:t.call(e,r)}))}),[e]),t]}(),[O,j]=(0,r.useState)(Le.Uninitialized),L=O===Le.Initialized,{draggable:{active:B,nodes:Y,translate:U},droppable:{containers:H}}=D,K=B?Y.get(B):null,J=(0,r.useRef)({initial:null,translated:null}),Z=(0,r.useMemo)((()=>{var e;return null!=B?{id:B,data:null!=(e=null==K?void 0:K.data)?e:Re,rect:J}:null}),[B,K]),W=(0,r.useRef)(null),[G,V]=(0,r.useState)(null),[Q,ee]=(0,r.useState)(null),te=(0,i.Ey)(w,Object.values(w)),ne=(0,i.Ld)("DndDescribedBy",c),re=(0,r.useMemo)((()=>H.getEnabled()),[H]),oe=(ae=b,(0,r.useMemo)((()=>({draggable:{...Se.draggable,...null==ae?void 0:ae.draggable},droppable:{...Se.droppable,...null==ae?void 0:ae.droppable},dragOverlay:{...Se.dragOverlay,...null==ae?void 0:ae.dragOverlay}})),[null==ae?void 0:ae.draggable,null==ae?void 0:ae.droppable,null==ae?void 0:ae.dragOverlay]));var ae;const{droppableRects:ie,measureDroppableContainers:le,measuringScheduled:se}=function(e,t){let{dragging:n,dependencies:o,config:a}=t;const[l,s]=(0,r.useState)(null),{frequency:c,measure:u,strategy:d}=a,f=(0,r.useRef)(e),v=function(){switch(d){case ve.Always:return!1;case ve.BeforeDragging:return n;default:return!n}}(),h=(0,i.Ey)(v),g=(0,r.useCallback)((function(e){void 0===e&&(e=[]),h.current||s((t=>null===t?e:t.concat(e.filter((e=>!t.includes(e))))))}),[h]),p=(0,r.useRef)(null),m=(0,i.Gj)((t=>{if(v&&!n)return ge;if(!t||t===ge||f.current!==e||null!=l){const t=new Map;for(let n of e){if(!n)continue;if(l&&l.length>0&&!l.includes(n.id)&&n.rect.current){t.set(n.id,n.rect.current);continue}const e=n.node.current,r=e?new q(u(e),e):null;n.rect.current=r,r&&t.set(n.id,r)}return t}return t}),[e,l,n,v,u]);return(0,r.useEffect)((()=>{f.current=e}),[e]),(0,r.useEffect)((()=>{v||g()}),[n,v]),(0,r.useEffect)((()=>{l&&l.length>0&&s(null)}),[JSON.stringify(l)]),(0,r.useEffect)((()=>{v||"number"!=typeof c||null!==p.current||(p.current=setTimeout((()=>{g(),p.current=null}),c))}),[c,v,g,...o]),{droppableRects:m,measureDroppableContainers:g,measuringScheduled:null!=l}}(re,{dragging:L,dependencies:[U.x,U.y],config:oe.droppable}),ce=function(e,t){const n=null!==t?e.get(t):void 0,r=n?n.node.current:null;return(0,i.Gj)((e=>{var n;return null===t?null:null!=(n=null!=r?r:e)?n:null}),[r,t])}(Y,B),he=(0,r.useMemo)((()=>Q?(0,i.DC)(Q):null),[Q]),be=function(){const e=!1===(null==G?void 0:G.autoScrollEnabled),t="object"==typeof f?!1===f.enabled:!1===f,n=L&&!e&&!t;return"object"==typeof f?{...f,enabled:n}:{enabled:n}}(),Me=function(e,t){return pe(e,t)}(ce,oe.draggable.measure);!function(e){let{activeNode:t,measure:n,initialRect:o,config:a=!0}=e;const l=(0,r.useRef)(!1),{x:s,y:c}="boolean"==typeof a?{x:a,y:a}:a;(0,i.LI)((()=>{if(!s&&!c||!t)return void(l.current=!1);if(l.current||!o)return;const e=null==t?void 0:t.node.current;if(!e||!1===e.isConnected)return;const r=S(n(e),o);if(s||(r.x=0),c||(r.y=0),l.current=!0,Math.abs(r.x)>0||Math.abs(r.y)>0){const t=P(e);t&&t.scrollBy({top:r.y,left:r.x})}}),[t,s,c,o,n])}({activeNode:B?Y.get(B):null,config:be.layoutShiftCompensation,initialRect:Me,measure:oe.draggable.measure});const ke=ye(ce,oe.draggable.measure,Me),Te=ye(ce?ce.parentElement:null),Ae=(0,r.useRef)({activatorEvent:null,active:null,activeNode:ce,collisionRect:null,collisions:null,droppableRects:ie,draggableNodes:Y,draggingNode:null,draggingNodeRect:null,droppableContainers:H,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),_e=H.getNodeFor(null==(t=Ae.current.over)?void 0:t.id),Fe=function(e){let{measure:t}=e;const[n,o]=(0,r.useState)(null),a=me({callback:(0,r.useCallback)((e=>{for(const{target:n}of e)if((0,i.Re)(n)){o((e=>{const r=t(n);return e?{...e,width:r.width,height:r.height}:r}));break}}),[t])}),l=(0,r.useCallback)((e=>{const n=function(e){if(!e)return null;if(e.children.length>1)return e;const t=e.children[0];return(0,i.Re)(t)?t:e}(e);null==a||a.disconnect(),n&&(null==a||a.observe(n)),o(n?t(n):null)}),[t,a]),[s,c]=(0,i.wm)(l);return(0,r.useMemo)((()=>({nodeRef:s,rect:n,setRef:c})),[n,s,c])}({measure:oe.dragOverlay.measure}),Be=null!=(n=Fe.nodeRef.current)?n:ce,Ye=L?null!=(l=Fe.rect)?l:ke:null,ze=Boolean(Fe.nodeRef.current&&Fe.rect),Ue=S(Xe=ze?null:ke,pe(Xe));var Xe;const He=Ce(Be?(0,i.Jj)(Be):null),qe=function(e){const t=(0,r.useRef)(e),n=(0,i.Gj)((n=>e?n&&n!==xe&&e&&t.current&&e.parentNode===t.current.parentNode?n:N(e):xe),[e]);return(0,r.useEffect)((()=>{t.current=e}),[e]),n}(L?null!=_e?_e:ce:null),Ke=function(e,t){void 0===t&&(t=I);const[n]=e,o=Ce(n?(0,i.Jj)(n):null),[a,l]=(0,r.useReducer)((function(){return e.length?e.map((e=>F(e)?o:new q(t(e),e))):De}),De),s=me({callback:l});return e.length>0&&a===De&&l(),(0,i.LI)((()=>{e.length?e.forEach((e=>null==s?void 0:s.observe(e))):(null==s||s.disconnect(),l())}),[e]),a}(qe),Je=function(e,t){let{transform:n,...r}=t;return null!=e&&e.length?e.reduce(((e,t)=>t({transform:e,...r})),n):n}(x,{transform:{x:U.x-Ue.x,y:U.y-Ue.y,scaleX:1,scaleY:1},activatorEvent:Q,active:Z,activeNodeRect:ke,containerNodeRect:Te,draggingNodeRect:Ye,over:Ae.current.over,overlayNodeRect:Fe.rect,scrollableAncestors:qe,scrollableAncestorRects:Ke,windowRect:He}),Ze=he?(0,i.IH)(he,U):null,We=function(e){const[t,n]=(0,r.useState)(null),o=(0,r.useRef)(e),a=(0,r.useCallback)((e=>{const t=$(e.target);t&&n((e=>e?(e.set(t,A(t)),new Map(e)):null))}),[]);return(0,r.useEffect)((()=>{const t=o.current;if(e!==t){r(t);const i=e.map((e=>{const t=$(e);return t?(t.addEventListener("scroll",a,{passive:!0}),[t,A(t)]):null})).filter((e=>null!=e));n(i.length?new Map(i):null),o.current=e}return()=>{r(e),r(t)};function r(e){e.forEach((e=>{const t=$(e);null==t||t.removeEventListener("scroll",a)}))}}),[a,e]),(0,r.useMemo)((()=>e.length?t?Array.from(t.values()).reduce(((e,t)=>(0,i.IH)(e,t)),y):X(e):y),[e,t])}(qe),Ge=we(We),Ve=we(We,[ke]),Qe=(0,i.IH)(Je,Ge),et=Ye?k(Ye,Je):null,tt=Z&&et?m({active:Z,collisionRect:et,droppableRects:ie,droppableContainers:re,pointerCoordinates:Ze}):null,nt=function(e,t){if(!e||0===e.length)return null;const[n]=e;return n.id}(tt),[rt,ot]=(0,r.useState)(null),at=function(e,t,n){return{...e,scaleX:t&&n?t.width/n.width:1,scaleY:t&&n?t.height/n.height:1}}(ze?Je:(0,i.IH)(Je,Ve),null!=(s=null==rt?void 0:rt.rect)?s:null,ke),it=(0,r.useCallback)(((e,t)=>{let{sensor:n,options:r}=t;if(null==W.current)return;const o=Y.get(W.current);if(!o)return;const i=e.nativeEvent,l=new n({active:W.current,activeNode:o,event:i,options:r,context:Ae,onStart(e){const t=W.current;if(null==t)return;const n=Y.get(t);if(!n)return;const{onDragStart:r}=te.current,o={active:{id:t,data:n.data,rect:J}};(0,a.unstable_batchedUpdates)((()=>{null==r||r(o),j(Le.Initializing),E({type:g.DragStart,initialCoordinates:e,active:t}),M({type:"onDragStart",event:o})}))},onMove(e){E({type:g.DragMove,coordinates:e})},onEnd:s(g.DragEnd),onCancel:s(g.DragCancel)});function s(e){return async function(){const{active:t,collisions:n,over:r,scrollAdjustedTranslate:o}=Ae.current;let l=null;if(t&&o){const{cancelDrop:a}=te.current;l={activatorEvent:i,active:t,collisions:n,delta:o,over:r},e===g.DragEnd&&"function"==typeof a&&await Promise.resolve(a(l))&&(e=g.DragCancel)}W.current=null,(0,a.unstable_batchedUpdates)((()=>{E({type:e}),j(Le.Uninitialized),ot(null),V(null),ee(null);const t=e===g.DragEnd?"onDragEnd":"onDragCancel";if(l){const e=te.current[t];null==e||e(l),M({type:t,event:l})}}))}}(0,a.unstable_batchedUpdates)((()=>{V(l),ee(e.nativeEvent)}))}),[Y]),lt=(0,r.useCallback)(((e,t)=>(n,r)=>{const o=n.nativeEvent,a=Y.get(r);if(null!==W.current||!a||o.dndKit||o.defaultPrevented)return;const i={active:a};!0===e(n,t.options,i)&&(o.dndKit={capturedBy:t.sensor},W.current=r,it(n,t))}),[Y,it]),st=function(e,t){return(0,r.useMemo)((()=>e.reduce(((e,n)=>{const{sensor:r}=n;return[...e,...r.activators.map((e=>({eventName:e.eventName,handler:t(e.handler,n)})))]}),[])),[e,t])}(p,lt);!function(e){(0,r.useEffect)((()=>{if(!i.Nq)return;const t=e.map((e=>{let{sensor:t}=e;return null==t.setup?void 0:t.setup()}));return()=>{for(const e of t)null==e||e()}}),e.map((e=>{let{sensor:t}=e;return t})))}(p),(0,i.LI)((()=>{ke&&O===Le.Initializing&&j(Le.Initialized)}),[ke,O]),(0,r.useEffect)((()=>{const{onDragMove:e}=te.current,{active:t,activatorEvent:n,collisions:r,over:o}=Ae.current;if(!t||!n)return;const i={active:t,activatorEvent:n,collisions:r,delta:{x:Qe.x,y:Qe.y},over:o};(0,a.unstable_batchedUpdates)((()=>{null==e||e(i),M({type:"onDragMove",event:i})}))}),[Qe.x,Qe.y]),(0,r.useEffect)((()=>{const{active:e,activatorEvent:t,collisions:n,droppableContainers:r,scrollAdjustedTranslate:o}=Ae.current;if(!e||null==W.current||!t||!o)return;const{onDragOver:i}=te.current,l=r.get(nt),s=l&&l.rect.current?{id:l.id,rect:l.rect.current,data:l.data,disabled:l.disabled}:null,c={active:e,activatorEvent:t,collisions:n,delta:{x:o.x,y:o.y},over:s};(0,a.unstable_batchedUpdates)((()=>{ot(s),null==i||i(c),M({type:"onDragOver",event:c})}))}),[nt]),(0,i.LI)((()=>{Ae.current={activatorEvent:Q,active:Z,activeNode:ce,collisionRect:et,collisions:tt,droppableRects:ie,draggableNodes:Y,draggingNode:Be,draggingNodeRect:Ye,droppableContainers:H,over:rt,scrollableAncestors:qe,scrollAdjustedTranslate:Qe},J.current={initial:Ye,translated:et}}),[Z,ce,tt,et,Y,Be,Ye,ie,H,rt,qe,Qe]),function(e){let{acceleration:t,activator:n=ue.Pointer,canScroll:o,draggingRect:a,enabled:l,interval:s=5,order:c=de.TreeOrder,pointerCoordinates:u,scrollableAncestors:d,scrollableAncestorRects:f,delta:v,threshold:h}=e;const g=function(e){let{delta:t,disabled:n}=e;const r=(0,i.D9)(t);return(0,i.Gj)((e=>{if(n||!r||!e)return fe;const o=Math.sign(t.x-r.x),a=Math.sign(t.y-r.y);return{x:{[_.Backward]:e.x[_.Backward]||-1===o,[_.Forward]:e.x[_.Forward]||1===o},y:{[_.Backward]:e.y[_.Backward]||-1===a,[_.Forward]:e.y[_.Forward]||1===a}}}),[n,t,r])}({delta:v,disabled:!l}),[p,m]=(0,i.Yz)(),b=(0,r.useRef)({x:0,y:0}),y=(0,r.useRef)({x:0,y:0}),x=(0,r.useMemo)((()=>{switch(n){case ue.Pointer:return u?{top:u.y,bottom:u.y,left:u.x,right:u.x}:null;case ue.DraggableRect:return a}}),[n,a,u]),w=(0,r.useRef)(null),C=(0,r.useCallback)((()=>{const e=w.current;if(!e)return;const t=b.current.x*y.current.x,n=b.current.y*y.current.y;e.scrollBy(t,n)}),[]),D=(0,r.useMemo)((()=>c===de.TreeOrder?[...d].reverse():d),[c,d]);(0,r.useEffect)((()=>{if(l&&d.length&&x){for(const e of D){if(!1===(null==o?void 0:o(e)))continue;const n=d.indexOf(e),r=f[n];if(!r)continue;const{direction:a,speed:i}=z(e,r,x,t,h);for(const e of["x","y"])g[e][a[e]]||(i[e]=0,a[e]=0);if(i.x>0||i.y>0)return m(),w.current=e,p(C,s),b.current=i,void(y.current=a)}b.current={x:0,y:0},y.current={x:0,y:0},m()}else m()}),[t,C,o,m,l,s,JSON.stringify(x),JSON.stringify(g),p,d,D,f,JSON.stringify(h)])}({...be,delta:U,draggingRect:et,pointerCoordinates:Ze,scrollableAncestors:qe,scrollableAncestorRects:Ke});const ct=(0,r.useMemo)((()=>({active:Z,activeNode:ce,activeNodeRect:ke,activatorEvent:Q,collisions:tt,containerNodeRect:Te,dragOverlay:Fe,draggableNodes:Y,droppableContainers:H,droppableRects:ie,over:rt,measureDroppableContainers:le,scrollableAncestors:qe,scrollableAncestorRects:Ke,measuringConfiguration:oe,measuringScheduled:se,windowRect:He})),[Z,ce,ke,Q,tt,Te,Fe,Y,H,ie,rt,le,qe,Ke,oe,se,He]),ut=(0,r.useMemo)((()=>({activatorEvent:Q,activators:st,active:Z,activeNodeRect:ke,ariaDescribedById:{draggable:ne},dispatch:E,draggableNodes:Y,over:rt,measureDroppableContainers:le})),[Q,st,Z,ke,E,ne,Y,rt,le]);return o().createElement(d.Provider,{value:T},o().createElement(Ie.Provider,{value:ut},o().createElement(Oe.Provider,{value:ct},o().createElement(je.Provider,{value:at},v)),o().createElement($e,{disabled:!1===(null==u?void 0:u.restoreFocus)})),o().createElement(h,{...u,hiddenTextDescribedById:ne}))})),_e=(0,r.createContext)(null),Fe="button",Be="Droppable";function Ye(e){let{id:t,data:n,disabled:o=!1,attributes:a}=e;const l=(0,i.Ld)(Be),{activators:s,activatorEvent:c,active:u,activeNodeRect:d,ariaDescribedById:f,draggableNodes:v,over:h}=(0,r.useContext)(Ie),{role:g=Fe,roleDescription:p="draggable",tabIndex:m=0}=null!=a?a:{},b=(null==u?void 0:u.id)===t,y=(0,r.useContext)(b?je:_e),[x,w]=(0,i.wm)(),[C,D]=(0,i.wm)(),E=function(e,t){return(0,r.useMemo)((()=>e.reduce(((e,n)=>{let{eventName:r,handler:o}=n;return e[r]=e=>{o(e,t)},e}),{})),[e,t])}(s,t),R=(0,i.Ey)(n);return(0,i.LI)((()=>(v.set(t,{id:t,key:l,node:x,activatorNode:C,data:R}),()=>{const e=v.get(t);e&&e.key===l&&v.delete(t)})),[v,t]),{active:u,activatorEvent:c,activeNodeRect:d,attributes:(0,r.useMemo)((()=>({role:g,tabIndex:m,"aria-disabled":o,"aria-pressed":!(!b||g!==Fe)||void 0,"aria-roledescription":p,"aria-describedby":f.draggable})),[o,g,m,b,p,f.draggable]),isDragging:b,listeners:o?void 0:E,node:x,over:h,setNodeRef:w,setActivatorNodeRef:D,transform:y}}function ze(){return(0,r.useContext)(Oe)}const Ue="Droppable",Xe={timeout:25};function He(e){let{data:t,disabled:n=!1,id:o,resizeObserverConfig:a}=e;const l=(0,i.Ld)(Ue),{active:s,dispatch:c,over:u,measureDroppableContainers:d}=(0,r.useContext)(Ie),f=(0,r.useRef)({disabled:n}),v=(0,r.useRef)(!1),h=(0,r.useRef)(null),p=(0,r.useRef)(null),{disabled:m,updateMeasurementsFor:b,timeout:y}={...Xe,...a},x=(0,i.Ey)(null!=b?b:o),w=me({callback:(0,r.useCallback)((()=>{v.current?(null!=p.current&&clearTimeout(p.current),p.current=setTimeout((()=>{d(Array.isArray(x.current)?x.current:[x.current]),p.current=null}),y)):v.current=!0}),[y]),disabled:m||!s}),C=(0,r.useCallback)(((e,t)=>{w&&(t&&(w.unobserve(t),v.current=!1),e&&w.observe(e))}),[w]),[D,E]=(0,i.wm)(C),R=(0,i.Ey)(t);return(0,r.useEffect)((()=>{w&&D.current&&(w.disconnect(),v.current=!1,w.observe(D.current))}),[D,w]),(0,i.LI)((()=>(c({type:g.RegisterDroppable,element:{id:o,key:l,disabled:n,node:D,rect:h,data:R}}),()=>c({type:g.UnregisterDroppable,key:l,id:o}))),[o]),(0,r.useEffect)((()=>{n!==f.current.disabled&&(c({type:g.SetDroppableDisabled,id:o,key:l,disabled:n}),f.current.disabled=n)}),[o,l,n,c]),{active:s,rect:h,isOver:(null==u?void 0:u.id)===o,node:D,over:u,setNodeRef:E}}},8366:(e,t,n)=>{"use strict";n.d(t,{DL:()=>o,lv:()=>r}),n(2851);const r=e=>{let{draggingNodeRect:t,transform:n,scrollableAncestorRects:r}=e;const o=r[0];return t&&o?function(e,t,n){const r={...e};return t.top+e.y<=n.top?r.y=n.top-t.top:t.bottom+e.y>=n.top+n.height&&(r.y=n.top+n.height-t.bottom),t.left+e.x<=n.left?r.x=n.left-t.left:t.right+e.x>=n.left+n.width&&(r.x=n.left+n.width-t.right),r}(n,t,o):n},o=e=>{let{transform:t}=e;return{...t,x:0}}},6548:(e,t,n)=>{"use strict";n.d(t,{Fo:()=>g,Rp:()=>l,nB:()=>C,qw:()=>f});var r=n(8657),o=n.n(r),a=n(1540),i=n(2851);function l(e,t,n){const r=e.slice();return r.splice(n<0?r.length+n:n,0,r.splice(t,1)[0]),r}function s(e,t){return e.reduce(((e,n,r)=>{const o=t.get(n);return o&&(e[r]=o),e}),Array(e.length))}function c(e){return null!==e&&e>=0}const u=e=>{let{rects:t,activeIndex:n,overIndex:r,index:o}=e;const a=l(t,r,n),i=t[o],s=a[o];return s&&i?{x:s.left-i.left,y:s.top-i.top,scaleX:s.width/i.width,scaleY:s.height/i.height}:null},d={scaleX:1,scaleY:1},f=e=>{var t;let{activeIndex:n,activeNodeRect:r,index:o,rects:a,overIndex:i}=e;const l=null!=(t=a[n])?t:r;if(!l)return null;if(o===n){const e=a[i];return e?{x:0,y:n<i?e.top+e.height-(l.top+l.height):e.top-l.top,...d}:null}const s=function(e,t,n){const r=e[t],o=e[t-1],a=e[t+1];return r?n<t?o?r.top-(o.top+o.height):a?a.top-(r.top+r.height):0:a?a.top-(r.top+r.height):o?r.top-(o.top+o.height):0:0}(a,o,n);return o>n&&o<=i?{x:0,y:-l.height-s,...d}:o<n&&o>=i?{x:0,y:l.height+s,...d}:{x:0,y:0,...d}},v="Sortable",h=o().createContext({activeIndex:-1,containerId:v,disableTransforms:!1,items:[],overIndex:-1,useDragOverlay:!1,sortedRects:[],strategy:u,disabled:{draggable:!1,droppable:!1}});function g(e){let{children:t,id:n,items:l,strategy:c=u,disabled:d=!1}=e;const{active:f,dragOverlay:g,droppableRects:p,over:m,measureDroppableContainers:b}=(0,a.Cj)(),y=(0,i.Ld)(v,n),x=Boolean(null!==g.rect),w=(0,r.useMemo)((()=>l.map((e=>"object"==typeof e&&"id"in e?e.id:e))),[l]),C=null!=f,D=f?w.indexOf(f.id):-1,E=m?w.indexOf(m.id):-1,R=(0,r.useRef)(w),S=!function(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}(w,R.current),M=-1!==E&&-1===D||S,k=function(e){return"boolean"==typeof e?{draggable:e,droppable:e}:e}(d);(0,i.LI)((()=>{S&&C&&b(w)}),[S,w,C,b]),(0,r.useEffect)((()=>{R.current=w}),[w]);const T=(0,r.useMemo)((()=>({activeIndex:D,containerId:y,disabled:k,disableTransforms:M,items:w,overIndex:E,useDragOverlay:x,sortedRects:s(w,p),strategy:c})),[D,y,k.draggable,k.droppable,M,w,E,p,x,c]);return o().createElement(h.Provider,{value:T},t)}const p=e=>{let{id:t,items:n,activeIndex:r,overIndex:o}=e;return l(n,r,o).indexOf(t)},m=e=>{let{containerId:t,isSorting:n,wasDragging:r,index:o,items:a,newIndex:i,previousItems:l,previousContainerId:s,transition:c}=e;return!(!c||!r||l!==a&&o===i||!n&&(i===o||t!==s))},b={duration:200,easing:"ease"},y="transform",x=i.ux.Transition.toString({property:y,duration:0,easing:"linear"}),w={roleDescription:"sortable"};function C(e){let{animateLayoutChanges:t=m,attributes:n,disabled:o,data:l,getNewIndex:s=p,id:u,strategy:d,resizeObserverConfig:f,transition:v=b}=e;const{items:g,containerId:C,activeIndex:D,disabled:E,disableTransforms:R,sortedRects:S,overIndex:M,useDragOverlay:k,strategy:T}=(0,r.useContext)(h),I=function(e,t){var n,r;return"boolean"==typeof e?{draggable:e,droppable:!1}:{draggable:null!=(n=null==e?void 0:e.draggable)?n:t.draggable,droppable:null!=(r=null==e?void 0:e.droppable)?r:t.droppable}}(o,E),O=g.indexOf(u),N=(0,r.useMemo)((()=>({sortable:{containerId:C,index:O,items:g},...l})),[C,l,O,g]),P=(0,r.useMemo)((()=>g.slice(g.indexOf(u))),[g,u]),{rect:$,node:j,isOver:L,setNodeRef:A}=(0,a.Zj)({id:u,data:N,disabled:I.droppable,resizeObserverConfig:{updateMeasurementsFor:P,...f}}),{active:_,activatorEvent:F,activeNodeRect:B,attributes:Y,setNodeRef:z,listeners:U,isDragging:X,over:H,setActivatorNodeRef:q,transform:K}=(0,a.O1)({id:u,data:N,attributes:{...w,...n},disabled:I.draggable}),J=(0,i.HB)(A,z),Z=Boolean(_),W=Z&&!R&&c(D)&&c(M),G=!k&&X,V=G&&W?K:null,Q=W?null!=V?V:(null!=d?d:T)({rects:S,activeNodeRect:B,activeIndex:D,overIndex:M,index:O}):null,ee=c(D)&&c(M)?s({id:u,items:g,activeIndex:D,overIndex:M}):O,te=null==_?void 0:_.id,ne=(0,r.useRef)({activeId:te,items:g,newIndex:ee,containerId:C}),re=g!==ne.current.items,oe=t({active:_,containerId:C,isDragging:X,isSorting:Z,id:u,index:O,items:g,newIndex:ne.current.newIndex,previousItems:ne.current.items,previousContainerId:ne.current.containerId,transition:v,wasDragging:null!=ne.current.activeId}),ae=function(e){let{disabled:t,index:n,node:o,rect:l}=e;const[s,c]=(0,r.useState)(null),u=(0,r.useRef)(n);return(0,i.LI)((()=>{if(!t&&n!==u.current&&o.current){const e=l.current;if(e){const t=(0,a.VK)(o.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)&&c(n)}}n!==u.current&&(u.current=n)}),[t,n,o,l]),(0,r.useEffect)((()=>{s&&c(null)}),[s]),s}({disabled:!oe,index:O,node:j,rect:$});return(0,r.useEffect)((()=>{Z&&ne.current.newIndex!==ee&&(ne.current.newIndex=ee),C!==ne.current.containerId&&(ne.current.containerId=C),g!==ne.current.items&&(ne.current.items=g)}),[Z,ee,C,g]),(0,r.useEffect)((()=>{if(te===ne.current.activeId)return;if(te&&!ne.current.activeId)return void(ne.current.activeId=te);const e=setTimeout((()=>{ne.current.activeId=te}),50);return()=>clearTimeout(e)}),[te]),{active:_,activeIndex:D,attributes:Y,data:N,rect:$,index:O,newIndex:ee,items:g,isOver:L,isSorting:Z,isDragging:X,listeners:U,node:j,overIndex:M,over:H,setNodeRef:J,setActivatorNodeRef:q,setDroppableNodeRef:A,setDraggableNodeRef:z,transform:null!=ae?ae:Q,transition:ae||re&&ne.current.newIndex===O?x:G&&!(0,i.vd)(F)||!v?void 0:Z||oe?i.ux.Transition.toString({...v,property:y}):void 0}}a.g4.Down,a.g4.Right,a.g4.Up,a.g4.Left},2851:(e,t,n)=>{"use strict";n.d(t,{$X:()=>E,D9:()=>y,DC:()=>S,Ey:()=>p,FJ:()=>i,Gj:()=>m,HB:()=>o,IH:()=>D,Jj:()=>s,LI:()=>v,Ld:()=>w,Nq:()=>a,Re:()=>u,UG:()=>l,Yz:()=>g,qk:()=>c,r3:()=>f,so:()=>T,ux:()=>M,vZ:()=>d,vd:()=>R,wm:()=>b,zX:()=>h});var r=n(8657);function o(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,r.useMemo)((()=>e=>{t.forEach((t=>t(e)))}),t)}const a="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement;function i(e){const t=Object.prototype.toString.call(e);return"[object Window]"===t||"[object global]"===t}function l(e){return"nodeType"in e}function s(e){var t,n;return e?i(e)?e:l(e)&&null!=(t=null==(n=e.ownerDocument)?void 0:n.defaultView)?t:window:window}function c(e){const{Document:t}=s(e);return e instanceof t}function u(e){return!i(e)&&e instanceof s(e).HTMLElement}function d(e){return e instanceof s(e).SVGElement}function f(e){return e?i(e)?e.document:l(e)?c(e)?e:u(e)?e.ownerDocument:document:document:document}const v=a?r.useLayoutEffect:r.useEffect;function h(e){const t=(0,r.useRef)(e);return v((()=>{t.current=e})),(0,r.useCallback)((function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return null==t.current?void 0:t.current(...n)}),[])}function g(){const e=(0,r.useRef)(null);return[(0,r.useCallback)(((t,n)=>{e.current=setInterval(t,n)}),[]),(0,r.useCallback)((()=>{null!==e.current&&(clearInterval(e.current),e.current=null)}),[])]}function p(e,t){void 0===t&&(t=[e]);const n=(0,r.useRef)(e);return v((()=>{n.current!==e&&(n.current=e)}),t),n}function m(e,t){const n=(0,r.useRef)();return(0,r.useMemo)((()=>{const t=e(n.current);return n.current=t,t}),[...t])}function b(e){const t=h(e),n=(0,r.useRef)(null),o=(0,r.useCallback)((e=>{e!==n.current&&(null==t||t(e,n.current)),n.current=e}),[]);return[n,o]}function y(e){const t=(0,r.useRef)();return(0,r.useEffect)((()=>{t.current=e}),[e]),t.current}let x={};function w(e,t){return(0,r.useMemo)((()=>{if(t)return t;const n=null==x[e]?0:x[e]+1;return x[e]=n,e+"-"+n}),[e,t])}function C(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return r.reduce(((t,n)=>{const r=Object.entries(n);for(const[n,o]of r){const r=t[n];null!=r&&(t[n]=r+e*o)}return t}),{...t})}}const D=C(1),E=C(-1);function R(e){if(!e)return!1;const{KeyboardEvent:t}=s(e.target);return t&&e instanceof t}function S(e){if(function(e){if(!e)return!1;const{TouchEvent:t}=s(e.target);return t&&e instanceof t}(e)){if(e.touches&&e.touches.length){const{clientX:t,clientY:n}=e.touches[0];return{x:t,y:n}}if(e.changedTouches&&e.changedTouches.length){const{clientX:t,clientY:n}=e.changedTouches[0];return{x:t,y:n}}}return function(e){return"clientX"in e&&"clientY"in e}(e)?{x:e.clientX,y:e.clientY}:null}const M=Object.freeze({Translate:{toString(e){if(!e)return;const{x:t,y:n}=e;return"translate3d("+(t?Math.round(t):0)+"px, "+(n?Math.round(n):0)+"px, 0)"}},Scale:{toString(e){if(!e)return;const{scaleX:t,scaleY:n}=e;return"scaleX("+t+") scaleY("+n+")"}},Transform:{toString(e){if(e)return[M.Translate.toString(e),M.Scale.toString(e)].join(" ")}},Transition:{toString(e){let{property:t,duration:n,easing:r}=e;return t+" "+n+"ms "+r}}}),k="a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";function T(e){return e.matches(k)?e:e.querySelector(k)}},8786:(e,t,n)=>{"use strict";n.d(t,{Z:()=>b});var r=n(7263),o=n(8317),a=n(6504),i=n(7752);var l=n(4781),s=n(6671),c=n(749),u=n(9415);var d=n(819),f=n(6341),v=n(3957);const h=(e,t)=>new v.C(e).setAlpha(t).toRgbString(),g=(e,t)=>new v.C(e).lighten(t).toHexString(),p=e=>{const t=(0,d.R_)(e,{theme:"dark"});return{1:t[0],2:t[1],3:t[2],4:t[3],5:t[6],6:t[5],7:t[4],8:t[6],9:t[5],10:t[4]}},m=(e,t)=>{const n=e||"#000",r=t||"#fff";return{colorBgBase:n,colorTextBase:r,colorText:h(r,.85),colorTextSecondary:h(r,.65),colorTextTertiary:h(r,.45),colorTextQuaternary:h(r,.25),colorFill:h(r,.18),colorFillSecondary:h(r,.12),colorFillTertiary:h(r,.08),colorFillQuaternary:h(r,.04),colorBgElevated:g(n,12),colorBgContainer:g(n,8),colorBgLayout:g(n,0),colorBgSpotlight:g(n,26),colorBorder:g(n,26),colorBorderSecondary:g(n,19)}},b={defaultConfig:s.u_,defaultSeed:s.u_.token,useToken:function(){const[e,t,n]=(0,l.Z)();return{theme:e,token:t,hashId:n}},defaultAlgorithm:o.Z,darkAlgorithm:(e,t)=>{const n=Object.keys(a.M).map((t=>{const n=(0,d.R_)(e[t],{theme:"dark"});return new Array(10).fill(1).reduce(((e,r,o)=>(e[`${t}-${o+1}`]=n[o],e[`${t}${o+1}`]=n[o],e)),{})})).reduce(((e,t)=>Object.assign(Object.assign({},e),t)),{}),r=null!=t?t:(0,o.Z)(e);return Object.assign(Object.assign(Object.assign({},r),n),(0,f.Z)(e,{generateColorPalettes:p,generateNeutralColorPalettes:m}))},compactAlgorithm:(e,t)=>{const n=null!=t?t:(0,o.Z)(e),r=n.fontSizeSM,a=n.controlHeight-4;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},n),function(e){const{sizeUnit:t,sizeStep:n}=e,r=n-2;return{sizeXXL:t*(r+10),sizeXL:t*(r+6),sizeLG:t*(r+2),sizeMD:t*(r+2),sizeMS:t*(r+1),size:t*r,sizeSM:t*r,sizeXS:t*(r-1),sizeXXS:t*(r-1)}}(null!=t?t:e)),(0,u.Z)(r)),{controlHeight:a}),(0,c.Z)(Object.assign(Object.assign({},n),{controlHeight:a})))},getDesignToken:e=>{const t=(null==e?void 0:e.algorithm)?(0,r.jG)(e.algorithm):(0,r.jG)(o.Z),n=Object.assign(Object.assign({},a.Z),null==e?void 0:e.token);return(0,r.t2)(n,{override:null==e?void 0:e.token},t,i.Z)}}},4059:(e,t,n)=>{"use strict";var r=n(1600).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(4845)).default;t.default=o},8696:(e,t,n)=>{"use strict";var r=n(1600).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(5710)).default;t.default=o},4845:(e,t,n)=>{"use strict";var r=n(1600).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(8090)),a=r(n(6093)),i={lang:Object.assign({placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeQuarterPlaceholder:["Start quarter","End quarter"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"]},o.default),timePickerLocale:Object.assign({},a.default)};t.default=i},5710:(e,t,n)=>{"use strict";var r=n(1600).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(1047)),a=r(n(29));const i={lang:Object.assign({placeholder:"请选择日期",yearPlaceholder:"请选择年份",quarterPlaceholder:"请选择季度",monthPlaceholder:"请选择月份",weekPlaceholder:"请选择周",rangePlaceholder:["开始日期","结束日期"],rangeYearPlaceholder:["开始年份","结束年份"],rangeMonthPlaceholder:["开始月份","结束月份"],rangeQuarterPlaceholder:["开始季度","结束季度"],rangeWeekPlaceholder:["开始周","结束周"]},o.default),timePickerLocale:Object.assign({},a.default)};i.lang.ok="确定";var l=i;t.default=l},4713:(e,t,n)=>{"use strict";var r=n(1600).default;t.Z=void 0;var o=r(n(2475)),a=r(n(4059)),i=r(n(4845)),l=r(n(6093));const s="${label} is not a valid ${type}";var c={locale:"en",Pagination:o.default,DatePicker:i.default,TimePicker:l.default,Calendar:a.default,global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",filterCheckall:"Select all items",filterSearchPlaceholder:"Search in filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectNone:"Clear all data",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting"},Tour:{Next:"Next",Previous:"Previous",Finish:"Finish"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand"},PageHeader:{back:"Back"},Form:{optional:"(optional)",defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:s,method:s,array:s,object:s,number:s,date:s,boolean:s,integer:s,float:s,regexp:s,email:s,url:s,hex:s},string:{len:"${label} must be ${len} characters",min:"${label} must be at least ${min} characters",max:"${label} must be up to ${max} characters",range:"${label} must be between ${min}-${max} characters"},number:{len:"${label} must be equal to ${len}",min:"${label} must be minimum ${min}",max:"${label} must be maximum ${max}",range:"${label} must be between ${min}-${max}"},array:{len:"Must be ${len} ${label}",min:"At least ${min} ${label}",max:"At most ${max} ${label}",range:"The amount of ${label} must be between ${min}-${max}"},pattern:{mismatch:"${label} does not match the pattern ${pattern}"}}},Image:{preview:"Preview"},QRCode:{expired:"QR code expired",refresh:"Refresh"},ColorPicker:{presetEmpty:"Empty"}};t.Z=c},6600:(e,t,n)=>{"use strict";var r=n(1600).default;t.Z=void 0;var o=r(n(4269)),a=r(n(8696)),i=r(n(5710)),l=r(n(29));const s="${label}不是一个有效的${type}";var c={locale:"zh-cn",Pagination:o.default,DatePicker:i.default,TimePicker:l.default,Calendar:a.default,global:{placeholder:"请选择"},Table:{filterTitle:"筛选",filterConfirm:"确定",filterReset:"重置",filterEmptyText:"无筛选项",filterCheckall:"全选",filterSearchPlaceholder:"在筛选项中搜索",selectAll:"全选当页",selectInvert:"反选当页",selectNone:"清空所有",selectionAll:"全选所有",sortTitle:"排序",expand:"展开行",collapse:"关闭行",triggerDesc:"点击降序",triggerAsc:"点击升序",cancelSort:"取消排序"},Modal:{okText:"确定",cancelText:"取消",justOkText:"知道了"},Tour:{Next:"下一步",Previous:"上一步",Finish:"结束导览"},Popconfirm:{cancelText:"取消",okText:"确定"},Transfer:{titles:["",""],searchPlaceholder:"请输入搜索内容",itemUnit:"项",itemsUnit:"项",remove:"删除",selectCurrent:"全选当页",removeCurrent:"删除当页",selectAll:"全选所有",removeAll:"删除全部",selectInvert:"反选当页"},Upload:{uploading:"文件上传中",removeFile:"删除文件",uploadError:"上传错误",previewFile:"预览文件",downloadFile:"下载文件"},Empty:{description:"暂无数据"},Icon:{icon:"图标"},Text:{edit:"编辑",copy:"复制",copied:"复制成功",expand:"展开"},PageHeader:{back:"返回"},Form:{optional:"(可选)",defaultValidateMessages:{default:"字段验证错误${label}",required:"请输入${label}",enum:"${label}必须是其中一个[${enum}]",whitespace:"${label}不能为空字符",date:{format:"${label}日期格式无效",parse:"${label}不能转换为日期",invalid:"${label}是一个无效日期"},types:{string:s,method:s,array:s,object:s,number:s,date:s,boolean:s,integer:s,float:s,regexp:s,email:s,url:s,hex:s},string:{len:"${label}须为${len}个字符",min:"${label}最少${min}个字符",max:"${label}最多${max}个字符",range:"${label}须在${min}-${max}字符之间"},number:{len:"${label}必须等于${len}",min:"${label}最小值为${min}",max:"${label}最大值为${max}",range:"${label}须在${min}-${max}之间"},array:{len:"须为${len}个${label}",min:"最少${min}个${label}",max:"最多${max}个${label}",range:"${label}数量须在${min}-${max}之间"},pattern:{mismatch:"${label}与模式不匹配${pattern}"}}},Image:{preview:"预览"},QRCode:{expired:"二维码过期",refresh:"点击刷新"},ColorPicker:{presetEmpty:"暂无"}};t.Z=c},6093:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={placeholder:"Select time",rangePlaceholder:["Start time","End time"]}},29:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={placeholder:"请选择时间",rangePlaceholder:["开始时间","结束时间"]}},2475:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"Page",prev_page:"Previous Page",next_page:"Next Page",prev_5:"Previous 5 Pages",next_5:"Next 5 Pages",prev_3:"Previous 3 Pages",next_3:"Next 3 Pages",page_size:"Page Size"}},4269:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={items_per_page:"条/页",jump_to:"跳至",jump_to_confirm:"确定",page:"页",prev_page:"上一页",next_page:"下一页",prev_5:"向前 5 页",next_5:"向后 5 页",prev_3:"向前 3 页",next_3:"向后 3 页",page_size:"页码"}},8090:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"OK",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"}},1047:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={locale:"zh_CN",today:"今天",now:"此刻",backToToday:"返回今天",ok:"确定",timeSelect:"选择时间",dateSelect:"选择日期",weekSelect:"选择周",clear:"清除",month:"月",year:"年",previousMonth:"上个月 (翻页上键)",nextMonth:"下个月 (翻页下键)",monthSelect:"选择月份",yearSelect:"选择年份",decadeSelect:"选择年代",yearFormat:"YYYY年",dayFormat:"D日",dateFormat:"YYYY年M月D日",dateTimeFormat:"YYYY年M月D日 HH时mm分ss秒",previousYear:"上一年 (Control键加左方向键)",nextYear:"下一年 (Control键加右方向键)",previousDecade:"上一年代",nextDecade:"下一年代",previousCentury:"上一世纪",nextCentury:"下一世纪"}},6062:e=>{"use strict";var t=[];function n(e){for(var n=-1,r=0;r<t.length;r++)if(t[r].identifier===e){n=r;break}return n}function r(e,r){for(var a={},i=[],l=0;l<e.length;l++){var s=e[l],c=r.base?s[0]+r.base:s[0],u=a[c]||0,d="".concat(c," ").concat(u);a[c]=u+1;var f=n(d),v={css:s[1],media:s[2],sourceMap:s[3],supports:s[4],layer:s[5]};if(-1!==f)t[f].references++,t[f].updater(v);else{var h=o(v,r);r.byIndex=l,t.splice(l,0,{identifier:d,updater:h,references:1})}i.push(d)}return i}function o(e,t){var n=t.domAPI(t);return n.update(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,o){var a=r(e=e||[],o=o||{});return function(e){e=e||[];for(var i=0;i<a.length;i++){var l=n(a[i]);t[l].references--}for(var s=r(e,o),c=0;c<a.length;c++){var u=n(a[c]);0===t[u].references&&(t[u].updater(),t.splice(u,1))}a=s}}},6793:e=>{"use strict";var t={};e.exports=function(e,n){var r=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},1173:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},7892:(e,t,n)=>{"use strict";e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},4036:e=>{"use strict";e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(n){!function(e,t,n){var r="";n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}");var a=n.sourceMap;a&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(a))))," */")),t.styleTagTransform(r,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},2464:e=>{"use strict";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},1600:e=>{e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports}}]);
|
|
2
|
+
//# sourceMappingURL=9704.b9d0b71b.js.map
|