@markforster/heroquest-card-creator 0.7.0 → 0.7.1
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/out/404/index.html +2 -2
- package/out/404.html +2 -2
- package/out/_next/static/chunks/483-78f125f848b4e6b9.js +67 -0
- package/out/_next/static/chunks/{app/page-cc0cc1a7d8239b11.js → 78-a3c0751f095670ba.js} +1 -1
- package/out/_next/static/chunks/781-a265659427175688.js +6 -0
- package/out/_next/static/chunks/app/{layout-ff6d2e61fb935b5c.js → layout-fcd2d48b88e85fc7.js} +1 -1
- package/out/_next/static/chunks/app/page-2e702198cc64a8ac.js +1 -0
- package/out/_next/static/chunks/{webpack-8acc9381d06a0317.js → webpack-98f122e94ab9a65c.js} +1 -1
- package/out/_next/static/css/2239bf8636a9f75d.css +1 -0
- package/out/_next/static/css/7c1089ead8aae9d2.css +1 -0
- package/out/index.html +2 -2
- package/out/index.txt +8 -8
- package/out/sitemap.xml +1 -1
- package/package.json +1 -1
- package/out/_next/static/chunks/208-82e58e6e4ba19c92.js +0 -67
- package/out/_next/static/chunks/315-55df286699f8b0e8.js +0 -6
- package/out/_next/static/chunks/78-a62212fe1e976626.js +0 -1
- package/out/_next/static/css/51c5daab4b3c5d98.css +0 -1
- package/out/_next/static/css/d4f81156468795e7.css +0 -1
- /package/out/_next/static/{MCjz6tB5cDKjwYnkGDUah → jMJXk1xrIVpac-11D1kho}/_buildManifest.js +0 -0
- /package/out/_next/static/{MCjz6tB5cDKjwYnkGDUah → jMJXk1xrIVpac-11D1kho}/_ssgManifest.js +0 -0
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[483],{10795:function(e,t,n){"use strict";let r;n.d(t,{LB:function(){return eW},y9:function(){return e8},we:function(){return ey},j2:function(){return Q},O1:function(){return eY},Zj:function(){return eK},VT:function(){return B},Dy:function(){return z}});var i,a,o,l,s,u,c,d,f,h,p,g,m,v,y,b,w,A,k,E=n(2265),C=n(54887),S=n(59892);let I={display:"none"};function M(e){let{id:t,value:n}=e;return E.createElement("div",{id:t,style:I},n)}function _(e){let{id:t,announcement:n,ariaLiveType:r="assertive"}=e;return E.createElement("div",{id:t,style:{position:"fixed",top:0,left:0,width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0 0 0 0)",clipPath:"inset(100%)",whiteSpace:"nowrap"},role:"status","aria-live":r,"aria-atomic":!0},n)}let O=(0,E.createContext)(null),P={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 "},D={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 R(e){let{announcements:t=D,container:n,hiddenTextDescribedById:r,screenReaderInstructions:i=P}=e,{announce:a,announcement:o}=function(){let[e,t]=(0,E.useState)("");return{announce:(0,E.useCallback)(e=>{null!=e&&t(e)},[]),announcement:e}}(),l=(0,S.Ld)("DndLiveRegion"),[s,u]=(0,E.useState)(!1);if((0,E.useEffect)(()=>{u(!0)},[]),!function(e){let t=(0,E.useContext)(O);(0,E.useEffect)(()=>{if(!t)throw Error("useDndMonitor must be used within a children of <DndContext>");return t(e)},[e,t])}((0,E.useMemo)(()=>({onDragStart(e){let{active:n}=e;a(t.onDragStart({active:n}))},onDragMove(e){let{active:n,over:r}=e;t.onDragMove&&a(t.onDragMove({active:n,over:r}))},onDragOver(e){let{active:n,over:r}=e;a(t.onDragOver({active:n,over:r}))},onDragEnd(e){let{active:n,over:r}=e;a(t.onDragEnd({active:n,over:r}))},onDragCancel(e){let{active:n,over:r}=e;a(t.onDragCancel({active:n,over:r}))}}),[a,t])),!s)return null;let c=E.createElement(E.Fragment,null,E.createElement(M,{id:r,value:i.draggable}),E.createElement(_,{id:l,announcement:o}));return n?(0,C.createPortal)(c,n):c}function j(){}function B(e,t){return(0,E.useMemo)(()=>({sensor:e,options:null!=t?t:{}}),[e,t])}function z(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,E.useMemo)(()=>[...t].filter(e=>null!=e),[...t])}(i=h||(h={})).DragStart="dragStart",i.DragMove="dragMove",i.DragEnd="dragEnd",i.DragCancel="dragCancel",i.DragOver="dragOver",i.RegisterDroppable="registerDroppable",i.SetDroppableDisabled="setDroppableDisabled",i.UnregisterDroppable="unregisterDroppable";let L=Object.freeze({x:0,y:0});function T(e,t){let{data:{value:n}}=e,{data:{value:r}}=t;return n-r}function F(e,t){let{data:{value:n}}=e,{data:{value:r}}=t;return r-n}let N=e=>{let{collisionRect:t,droppableRects:n,droppableContainers:r}=e,i=[];for(let e of r){let{id:r}=e,a=n.get(r);if(a){let n=function(e,t){let n=Math.max(t.top,e.top),r=Math.max(t.left,e.left),i=Math.min(t.left+t.width,e.left+e.width),a=Math.min(t.top+t.height,e.top+e.height);if(r<i&&n<a){let o=t.width*t.height,l=e.width*e.height,s=(i-r)*(a-n);return Number((s/(o+l-s)).toFixed(4))}return 0}(a,t);n>0&&i.push({id:r,data:{droppableContainer:e,value:n}})}}return i.sort(F)},Q=e=>{let{droppableContainers:t,droppableRects:n,pointerCoordinates:r}=e;if(!r)return[];let i=[];for(let e of t){let{id:t}=e,a=n.get(t);if(a&&function(e,t){let{top:n,left:r,bottom:i,right:a}=t;return n<=e.y&&e.y<=i&&r<=e.x&&e.x<=a}(r,a)){let n=Number(((function(e){let{left:t,top:n,height:r,width:i}=e;return[{x:t,y:n},{x:t+i,y:n},{x:t,y:n+r},{x:t+i,y:n+r}]})(a).reduce((e,t)=>e+Math.sqrt(Math.pow(r.x-t.x,2)+Math.pow(r.y-t.y,2)),0)/4).toFixed(4));i.push({id:t,data:{droppableContainer:e,value:n}})}}return i.sort(T)};function Z(e,t){return e&&t?{x:e.left-t.left,y:e.top-t.top}:L}let V=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return n.reduce((e,t)=>({...e,top:e.top+1*t.y,bottom:e.bottom+1*t.y,left:e.left+1*t.x,right:e.right+1*t.x}),{...e})};function U(e){if(e.startsWith("matrix3d(")){let t=e.slice(9,-1).split(/, /);return{x:+t[12],y:+t[13],scaleX:+t[0],scaleY:+t[5]}}if(e.startsWith("matrix(")){let t=e.slice(7,-1).split(/, /);return{x:+t[4],y:+t[5],scaleX:+t[0],scaleY:+t[3]}}return null}let H={ignoreTransform:!1};function q(e,t){void 0===t&&(t=H);let n=e.getBoundingClientRect();if(t.ignoreTransform){let{transform:t,transformOrigin:r}=(0,S.Jj)(e).getComputedStyle(e);t&&(n=function(e,t,n){let r=U(t);if(!r)return e;let{scaleX:i,scaleY:a,x:o,y:l}=r,s=e.left-o-(1-i)*parseFloat(n),u=e.top-l-(1-a)*parseFloat(n.slice(n.indexOf(" ")+1)),c=i?e.width/i:e.width,d=a?e.height/a:e.height;return{width:c,height:d,top:u,right:s+c,bottom:u+d,left:s}}(n,t,r))}let{top:r,left:i,width:a,height:o,bottom:l,right:s}=n;return{top:r,left:i,width:a,height:o,bottom:l,right:s}}function W(e){return q(e,{ignoreTransform:!0})}function $(e,t){let n=[];return e?function r(i){var a;if(null!=t&&n.length>=t||!i)return n;if((0,S.qk)(i)&&null!=i.scrollingElement&&!n.includes(i.scrollingElement))return n.push(i.scrollingElement),n;if(!(0,S.Re)(i)||(0,S.vZ)(i)||n.includes(i))return n;let o=(0,S.Jj)(e).getComputedStyle(i);return(i!==e&&function(e,t){void 0===t&&(t=(0,S.Jj)(e).getComputedStyle(e));let n=/(auto|scroll|overlay)/;return["overflow","overflowX","overflowY"].some(e=>{let r=t[e];return"string"==typeof r&&n.test(r)})}(i,o)&&n.push(i),void 0===(a=o)&&(a=(0,S.Jj)(i).getComputedStyle(i)),"fixed"===a.position)?n:r(i.parentNode)}(e):n}function G(e){let[t]=$(e,1);return null!=t?t:null}function Y(e){return S.Nq&&e?(0,S.FJ)(e)?e:(0,S.UG)(e)?(0,S.qk)(e)||e===(0,S.r3)(e).scrollingElement?window:(0,S.Re)(e)?e:null:null:null}function X(e){return(0,S.FJ)(e)?e.scrollX:e.scrollLeft}function K(e){return(0,S.FJ)(e)?e.scrollY:e.scrollTop}function J(e){return{x:X(e),y:K(e)}}function ee(e){return!!S.Nq&&!!e&&e===document.scrollingElement}function et(e){let t={x:0,y:0},n=ee(e)?{height:window.innerHeight,width:window.innerWidth}:{height:e.clientHeight,width:e.clientWidth},r={x:e.scrollWidth-n.width,y:e.scrollHeight-n.height},i=e.scrollTop<=t.y;return{isTop:i,isLeft:e.scrollLeft<=t.x,isBottom:e.scrollTop>=r.y,isRight:e.scrollLeft>=r.x,maxScroll:r,minScroll:t}}(a=p||(p={}))[a.Forward=1]="Forward",a[a.Backward=-1]="Backward";let en={x:.2,y:.2};function er(e){return e.reduce((e,t)=>(0,S.IH)(e,J(t)),L)}function ei(e,t){if(void 0===t&&(t=q),!e)return;let{top:n,left:r,bottom:i,right:a}=t(e);G(e)&&(i<=0||a<=0||n>=window.innerHeight||r>=window.innerWidth)&&e.scrollIntoView({block:"center",inline:"center"})}let ea=[["x",["left","right"],function(e){return e.reduce((e,t)=>e+X(t),0)}],["y",["top","bottom"],function(e){return e.reduce((e,t)=>e+K(t),0)}]];class eo{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;let n=$(t),r=er(n);for(let[t,i,a]of(this.rect={...e},this.width=e.width,this.height=e.height,ea))for(let e of i)Object.defineProperty(this,e,{get:()=>{let i=a(n),o=r[t]-i;return this.rect[e]+o},enumerable:!0});Object.defineProperty(this,"rect",{enumerable:!1})}}class el{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 es(e,t){let 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}function eu(e){e.preventDefault()}function ec(e){e.stopPropagation()}(o=g||(g={})).Click="click",o.DragStart="dragstart",o.Keydown="keydown",o.ContextMenu="contextmenu",o.Resize="resize",o.SelectionChange="selectionchange",o.VisibilityChange="visibilitychange",(l=m||(m={})).Space="Space",l.Down="ArrowDown",l.Right="ArrowRight",l.Left="ArrowLeft",l.Up="ArrowUp",l.Esc="Escape",l.Enter="Enter",l.Tab="Tab";let ed={start:[m.Space,m.Enter],cancel:[m.Esc],end:[m.Space,m.Enter,m.Tab]},ef=(e,t)=>{let{currentCoordinates:n}=t;switch(e.code){case m.Right:return{...n,x:n.x+25};case m.Left:return{...n,x:n.x-25};case m.Down:return{...n,y:n.y+25};case m.Up:return{...n,y:n.y-25}}};class eh{constructor(e){this.props=void 0,this.autoScrollEnabled=!1,this.referenceCoordinates=void 0,this.listeners=void 0,this.windowListeners=void 0,this.props=e;let{event:{target:t}}=e;this.props=e,this.listeners=new el((0,S.r3)(t)),this.windowListeners=new el((0,S.Jj)(t)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){this.handleStart(),this.windowListeners.add(g.Resize,this.handleCancel),this.windowListeners.add(g.VisibilityChange,this.handleCancel),setTimeout(()=>this.listeners.add(g.Keydown,this.handleKeyDown))}handleStart(){let{activeNode:e,onStart:t}=this.props,n=e.node.current;n&&ei(n),t(L)}handleKeyDown(e){if((0,S.vd)(e)){let{active:t,context:n,options:r}=this.props,{keyboardCodes:i=ed,coordinateGetter:a=ef,scrollBehavior:o="smooth"}=r,{code:l}=e;if(i.end.includes(l)){this.handleEnd(e);return}if(i.cancel.includes(l)){this.handleCancel(e);return}let{collisionRect:s}=n.current,u=s?{x:s.left,y:s.top}:L;this.referenceCoordinates||(this.referenceCoordinates=u);let c=a(e,{active:t,context:n.current,currentCoordinates:u});if(c){let t=(0,S.$X)(c,u),r={x:0,y:0},{scrollableAncestors:i}=n.current;for(let n of i){let i=e.code,{isTop:a,isRight:l,isLeft:s,isBottom:u,maxScroll:d,minScroll:f}=et(n),h=function(e){if(e===document.scrollingElement){let{innerWidth:e,innerHeight:t}=window;return{top:0,left:0,right:e,bottom:t,width:e,height:t}}let{top:t,left:n,right:r,bottom:i}=e.getBoundingClientRect();return{top:t,left:n,right:r,bottom:i,width:e.clientWidth,height:e.clientHeight}}(n),p={x:Math.min(i===m.Right?h.right-h.width/2:h.right,Math.max(i===m.Right?h.left:h.left+h.width/2,c.x)),y:Math.min(i===m.Down?h.bottom-h.height/2:h.bottom,Math.max(i===m.Down?h.top:h.top+h.height/2,c.y))},g=i===m.Right&&!l||i===m.Left&&!s,v=i===m.Down&&!u||i===m.Up&&!a;if(g&&p.x!==c.x){let e=n.scrollLeft+t.x,a=i===m.Right&&e<=d.x||i===m.Left&&e>=f.x;if(a&&!t.y){n.scrollTo({left:e,behavior:o});return}a?r.x=n.scrollLeft-e:r.x=i===m.Right?n.scrollLeft-d.x:n.scrollLeft-f.x,r.x&&n.scrollBy({left:-r.x,behavior:o});break}if(v&&p.y!==c.y){let e=n.scrollTop+t.y,a=i===m.Down&&e<=d.y||i===m.Up&&e>=f.y;if(a&&!t.x){n.scrollTo({top:e,behavior:o});return}a?r.y=n.scrollTop-e:r.y=i===m.Down?n.scrollTop-d.y:n.scrollTop-f.y,r.y&&n.scrollBy({top:-r.y,behavior:o});break}}this.handleMove(e,(0,S.IH)((0,S.$X)(c,this.referenceCoordinates),r))}}}handleMove(e,t){let{onMove:n}=this.props;e.preventDefault(),n(t)}handleEnd(e){let{onEnd:t}=this.props;e.preventDefault(),this.detach(),t()}handleCancel(e){let{onCancel:t}=this.props;e.preventDefault(),this.detach(),t()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll()}}function ep(e){return!!(e&&"distance"in e)}function eg(e){return!!(e&&"delay"in e)}eh.activators=[{eventName:"onKeyDown",handler:(e,t,n)=>{let{keyboardCodes:r=ed,onActivation:i}=t,{active:a}=n,{code:o}=e.nativeEvent;if(r.start.includes(o)){let t=a.activatorNode.current;return(!t||e.target===t)&&(e.preventDefault(),null==i||i({event:e.nativeEvent}),!0)}return!1}}];class em{constructor(e,t,n){var r;void 0===n&&(n=function(e){let{EventTarget:t}=(0,S.Jj)(e);return e instanceof t?e:(0,S.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;let{event:i}=e,{target:a}=i;this.props=e,this.events=t,this.document=(0,S.r3)(a),this.documentListeners=new el(this.document),this.listeners=new el(n),this.windowListeners=new el((0,S.Jj)(a)),this.initialCoordinates=null!=(r=(0,S.DC)(i))?r:L,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(){let{events:e,props:{options:{activationConstraint:t,bypassActivationConstraint:n}}}=this;if(this.listeners.add(e.move.name,this.handleMove,{passive:!1}),this.listeners.add(e.end.name,this.handleEnd),e.cancel&&this.listeners.add(e.cancel.name,this.handleCancel),this.windowListeners.add(g.Resize,this.handleCancel),this.windowListeners.add(g.DragStart,eu),this.windowListeners.add(g.VisibilityChange,this.handleCancel),this.windowListeners.add(g.ContextMenu,eu),this.documentListeners.add(g.Keydown,this.handleKeydown),t){if(null!=n&&n({event:this.props.event,activeNode:this.props.activeNode,options:this.props.options}))return this.handleStart();if(eg(t)){this.timeoutId=setTimeout(this.handleStart,t.delay),this.handlePending(t);return}if(ep(t)){this.handlePending(t);return}}this.handleStart()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll(),setTimeout(this.documentListeners.removeAll,50),null!==this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=null)}handlePending(e,t){let{active:n,onPending:r}=this.props;r(n,e,this.initialCoordinates,t)}handleStart(){let{initialCoordinates:e}=this,{onStart:t}=this.props;e&&(this.activated=!0,this.documentListeners.add(g.Click,ec,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(g.SelectionChange,this.removeTextSelection),t(e))}handleMove(e){var t;let{activated:n,initialCoordinates:r,props:i}=this,{onMove:a,options:{activationConstraint:o}}=i;if(!r)return;let l=null!=(t=(0,S.DC)(e))?t:L,s=(0,S.$X)(r,l);if(!n&&o){if(ep(o)){if(null!=o.tolerance&&es(s,o.tolerance))return this.handleCancel();if(es(s,o.distance))return this.handleStart()}return eg(o)&&es(s,o.tolerance)?this.handleCancel():void this.handlePending(o,s)}e.cancelable&&e.preventDefault(),a(l)}handleEnd(){let{onAbort:e,onEnd:t}=this.props;this.detach(),this.activated||e(this.props.active),t()}handleCancel(){let{onAbort:e,onCancel:t}=this.props;this.detach(),this.activated||e(this.props.active),t()}handleKeydown(e){e.code===m.Esc&&this.handleCancel()}removeTextSelection(){var e;null==(e=this.document.getSelection())||e.removeAllRanges()}}let ev={cancel:{name:"pointercancel"},move:{name:"pointermove"},end:{name:"pointerup"}};class ey extends em{constructor(e){let{event:t}=e;super(e,ev,(0,S.r3)(t.target))}}ey.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)}}];let eb={move:{name:"mousemove"},end:{name:"mouseup"}};(s=v||(v={}))[s.RightClick=2]="RightClick";class ew extends em{constructor(e){super(e,eb,(0,S.r3)(e.event.target))}}ew.activators=[{eventName:"onMouseDown",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;return n.button!==v.RightClick&&(null==r||r({event:n}),!0)}}];let eA={cancel:{name:"touchcancel"},move:{name:"touchmove"},end:{name:"touchend"}};class ex extends em{constructor(e){super(e,eA)}static setup(){return window.addEventListener(eA.move.name,e,{capture:!1,passive:!1}),function(){window.removeEventListener(eA.move.name,e)};function e(){}}}ex.activators=[{eventName:"onTouchStart",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t,{touches:i}=n;return!(i.length>1)&&(null==r||r({event:n}),!0)}}],(u=y||(y={}))[u.Pointer=0]="Pointer",u[u.DraggableRect=1]="DraggableRect",(c=b||(b={}))[c.TreeOrder=0]="TreeOrder",c[c.ReversedTreeOrder=1]="ReversedTreeOrder";let ek={x:{[p.Backward]:!1,[p.Forward]:!1},y:{[p.Backward]:!1,[p.Forward]:!1}};(d=w||(w={}))[d.Always=0]="Always",d[d.BeforeDragging=1]="BeforeDragging",d[d.WhileDragging=2]="WhileDragging",(A||(A={})).Optimized="optimized";let eE=new Map;function eC(e,t){return(0,S.Gj)(n=>e?n||("function"==typeof t?t(e):e):null,[t,e])}function eS(e){let{callback:t,disabled:n}=e,r=(0,S.zX)(t),i=(0,E.useMemo)(()=>{if(n||"undefined"==typeof window||void 0===window.ResizeObserver)return;let{ResizeObserver:e}=window;return new e(r)},[n]);return(0,E.useEffect)(()=>()=>null==i?void 0:i.disconnect(),[i]),i}function eI(e){return new eo(q(e),e)}function eM(e,t,n){void 0===t&&(t=eI);let[r,i]=(0,E.useState)(null);function a(){i(r=>{if(!e)return null;if(!1===e.isConnected){var i;return null!=(i=null!=r?r:n)?i:null}let a=t(e);return JSON.stringify(r)===JSON.stringify(a)?r:a})}let o=function(e){let{callback:t,disabled:n}=e,r=(0,S.zX)(t),i=(0,E.useMemo)(()=>{if(n||"undefined"==typeof window||void 0===window.MutationObserver)return;let{MutationObserver:e}=window;return new e(r)},[r,n]);return(0,E.useEffect)(()=>()=>null==i?void 0:i.disconnect(),[i]),i}({callback(t){if(e)for(let n of t){let{type:t,target:r}=n;if("childList"===t&&r instanceof HTMLElement&&r.contains(e)){a();break}}}}),l=eS({callback:a});return(0,S.LI)(()=>{a(),e?(null==l||l.observe(e),null==o||o.observe(document.body,{childList:!0,subtree:!0})):(null==l||l.disconnect(),null==o||o.disconnect())},[e]),r}let e_=[];function eO(e,t){void 0===t&&(t=[]);let n=(0,E.useRef)(null);return(0,E.useEffect)(()=>{n.current=null},t),(0,E.useEffect)(()=>{let t=e!==L;t&&!n.current&&(n.current=e),!t&&n.current&&(n.current=null)},[e]),n.current?(0,S.$X)(e,n.current):L}function eP(e){return(0,E.useMemo)(()=>e?function(e){let t=e.innerWidth,n=e.innerHeight;return{top:0,left:0,right:t,bottom:n,width:t,height:n}}(e):null,[e])}let eD=[];function eR(e){if(!e)return null;if(e.children.length>1)return e;let t=e.children[0];return(0,S.Re)(t)?t:e}let ej=[{sensor:ey,options:{}},{sensor:eh,options:{}}],eB={current:{}},ez={draggable:{measure:W},droppable:{measure:W,strategy:w.WhileDragging,frequency:A.Optimized},dragOverlay:{measure:q}};class eL 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}}let eT={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map,droppableRects:new Map,droppableContainers:new eL,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:j},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:ez,measureDroppableContainers:j,windowRect:null,measuringScheduled:!1},eF={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:j,draggableNodes:new Map,over:null,measureDroppableContainers:j},eN=(0,E.createContext)(eF),eQ=(0,E.createContext)(eT);function eZ(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new eL}}}function eV(e,t){switch(t.type){case h.DragStart:return{...e,draggable:{...e.draggable,initialCoordinates:t.initialCoordinates,active:t.active}};case h.DragMove:if(null==e.draggable.active)return e;return{...e,draggable:{...e.draggable,translate:{x:t.coordinates.x-e.draggable.initialCoordinates.x,y:t.coordinates.y-e.draggable.initialCoordinates.y}}};case h.DragEnd:case h.DragCancel:return{...e,draggable:{...e.draggable,active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}}};case h.RegisterDroppable:{let{element:n}=t,{id:r}=n,i=new eL(e.droppable.containers);return i.set(r,n),{...e,droppable:{...e.droppable,containers:i}}}case h.SetDroppableDisabled:{let{id:n,key:r,disabled:i}=t,a=e.droppable.containers.get(n);if(!a||r!==a.key)return e;let o=new eL(e.droppable.containers);return o.set(n,{...a,disabled:i}),{...e,droppable:{...e.droppable,containers:o}}}case h.UnregisterDroppable:{let{id:n,key:r}=t,i=e.droppable.containers.get(n);if(!i||r!==i.key)return e;let a=new eL(e.droppable.containers);return a.delete(n),{...e,droppable:{...e.droppable,containers:a}}}default:return e}}function eU(e){let{disabled:t}=e,{active:n,activatorEvent:r,draggableNodes:i}=(0,E.useContext)(eN),a=(0,S.D9)(r),o=(0,S.D9)(null==n?void 0:n.id);return(0,E.useEffect)(()=>{if(!t&&!r&&a&&null!=o){if(!(0,S.vd)(a)||document.activeElement===a.target)return;let e=i.get(o);if(!e)return;let{activatorNode:t,node:n}=e;(t.current||n.current)&&requestAnimationFrame(()=>{for(let e of[t.current,n.current]){if(!e)continue;let t=(0,S.so)(e);if(t){t.focus();break}}})}},[r,t,i,o,a]),null}function eH(e,t){let{transform:n,...r}=t;return null!=e&&e.length?e.reduce((e,t)=>t({transform:e,...r}),n):n}let eq=(0,E.createContext)({...L,scaleX:1,scaleY:1});(f=k||(k={}))[f.Uninitialized=0]="Uninitialized",f[f.Initializing=1]="Initializing",f[f.Initialized=2]="Initialized";let eW=(0,E.memo)(function(e){var t,n,r,i,a,o;let{id:l,accessibility:s,autoScroll:u=!0,children:c,sensors:d=ej,collisionDetection:f=N,measuring:g,modifiers:m,...v}=e,[A,I]=(0,E.useReducer)(eV,void 0,eZ),[M,_]=function(){let[e]=(0,E.useState)(()=>new Set),t=(0,E.useCallback)(t=>(e.add(t),()=>e.delete(t)),[e]);return[(0,E.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]}(),[P,D]=(0,E.useState)(k.Uninitialized),j=P===k.Initialized,{draggable:{active:B,nodes:z,translate:T},droppable:{containers:F}}=A,Q=null!=B?z.get(B):null,U=(0,E.useRef)({initial:null,translated:null}),H=(0,E.useMemo)(()=>{var e;return null!=B?{id:B,data:null!=(e=null==Q?void 0:Q.data)?e:eB,rect:U}:null},[B,Q]),W=(0,E.useRef)(null),[X,K]=(0,E.useState)(null),[ei,ea]=(0,E.useState)(null),el=(0,S.Ey)(v,Object.values(v)),es=(0,S.Ld)("DndDescribedBy",l),eu=(0,E.useMemo)(()=>F.getEnabled(),[F]),ec=(0,E.useMemo)(()=>({draggable:{...ez.draggable,...null==g?void 0:g.draggable},droppable:{...ez.droppable,...null==g?void 0:g.droppable},dragOverlay:{...ez.dragOverlay,...null==g?void 0:g.dragOverlay}}),[null==g?void 0:g.draggable,null==g?void 0:g.droppable,null==g?void 0:g.dragOverlay]),{droppableRects:ed,measureDroppableContainers:ef,measuringScheduled:eh}=function(e,t){let{dragging:n,dependencies:r,config:i}=t,[a,o]=(0,E.useState)(null),{frequency:l,measure:s,strategy:u}=i,c=(0,E.useRef)(e),d=function(){switch(u){case w.Always:return!1;case w.BeforeDragging:return n;default:return!n}}(),f=(0,S.Ey)(d),h=(0,E.useCallback)(function(e){void 0===e&&(e=[]),f.current||o(t=>null===t?e:t.concat(e.filter(e=>!t.includes(e))))},[f]),p=(0,E.useRef)(null),g=(0,S.Gj)(t=>{if(d&&!n)return eE;if(!t||t===eE||c.current!==e||null!=a){let t=new Map;for(let n of e){if(!n)continue;if(a&&a.length>0&&!a.includes(n.id)&&n.rect.current){t.set(n.id,n.rect.current);continue}let e=n.node.current,r=e?new eo(s(e),e):null;n.rect.current=r,r&&t.set(n.id,r)}return t}return t},[e,a,n,d,s]);return(0,E.useEffect)(()=>{c.current=e},[e]),(0,E.useEffect)(()=>{d||h()},[n,d]),(0,E.useEffect)(()=>{a&&a.length>0&&o(null)},[JSON.stringify(a)]),(0,E.useEffect)(()=>{d||"number"!=typeof l||null!==p.current||(p.current=setTimeout(()=>{h(),p.current=null},l))},[l,d,h,...r]),{droppableRects:g,measureDroppableContainers:h,measuringScheduled:null!=a}}(eu,{dragging:j,dependencies:[T.x,T.y],config:ec.droppable}),ep=function(e,t){let n=null!=t?e.get(t):void 0,r=n?n.node.current:null;return(0,S.Gj)(e=>{var n;return null==t?null:null!=(n=null!=r?r:e)?n:null},[r,t])}(z,B),eg=(0,E.useMemo)(()=>ei?(0,S.DC)(ei):null,[ei]),em=function(){let e=(null==X?void 0:X.autoScrollEnabled)===!1,t="object"==typeof u?!1===u.enabled:!1===u,n=j&&!e&&!t;return"object"==typeof u?{...u,enabled:n}:{enabled:n}}(),ev=eC(ep,ec.draggable.measure);!function(e){let{activeNode:t,measure:n,initialRect:r,config:i=!0}=e,a=(0,E.useRef)(!1),{x:o,y:l}="boolean"==typeof i?{x:i,y:i}:i;(0,S.LI)(()=>{if(!o&&!l||!t){a.current=!1;return}if(a.current||!r)return;let e=null==t?void 0:t.node.current;if(!e||!1===e.isConnected)return;let i=Z(n(e),r);if(o||(i.x=0),l||(i.y=0),a.current=!0,Math.abs(i.x)>0||Math.abs(i.y)>0){let t=G(e);t&&t.scrollBy({top:i.y,left:i.x})}},[t,o,l,r,n])}({activeNode:null!=B?z.get(B):null,config:em.layoutShiftCompensation,initialRect:ev,measure:ec.draggable.measure});let ey=eM(ep,ec.draggable.measure,ev),eb=eM(ep?ep.parentElement:null),ew=(0,E.useRef)({activatorEvent:null,active:null,activeNode:ep,collisionRect:null,collisions:null,droppableRects:ed,draggableNodes:z,draggingNode:null,draggingNodeRect:null,droppableContainers:F,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),eA=F.getNodeFor(null==(t=ew.current.over)?void 0:t.id),ex=function(e){let{measure:t}=e,[n,r]=(0,E.useState)(null),i=eS({callback:(0,E.useCallback)(e=>{for(let{target:n}of e)if((0,S.Re)(n)){r(e=>{let r=t(n);return e?{...e,width:r.width,height:r.height}:r});break}},[t])}),a=(0,E.useCallback)(e=>{let n=eR(e);null==i||i.disconnect(),n&&(null==i||i.observe(n)),r(n?t(n):null)},[t,i]),[o,l]=(0,S.wm)(a);return(0,E.useMemo)(()=>({nodeRef:o,rect:n,setRef:l}),[n,o,l])}({measure:ec.dragOverlay.measure}),eI=null!=(n=ex.nodeRef.current)?n:ep,eL=j?null!=(r=ex.rect)?r:ey:null,eT=!!(ex.nodeRef.current&&ex.rect),eF=function(e){let t=eC(e);return Z(e,t)}(eT?null:ey),eW=eP(eI?(0,S.Jj)(eI):null),e$=function(e){let t=(0,E.useRef)(e),n=(0,S.Gj)(n=>e?n&&n!==e_&&e&&t.current&&e.parentNode===t.current.parentNode?n:$(e):e_,[e]);return(0,E.useEffect)(()=>{t.current=e},[e]),n}(j?null!=eA?eA:ep:null),eG=function(e,t){void 0===t&&(t=q);let[n]=e,r=eP(n?(0,S.Jj)(n):null),[i,a]=(0,E.useState)(eD);function o(){a(()=>e.length?e.map(e=>ee(e)?r:new eo(t(e),e)):eD)}let l=eS({callback:o});return(0,S.LI)(()=>{null==l||l.disconnect(),o(),e.forEach(e=>null==l?void 0:l.observe(e))},[e]),i}(e$),eY=eH(m,{transform:{x:T.x-eF.x,y:T.y-eF.y,scaleX:1,scaleY:1},activatorEvent:ei,active:H,activeNodeRect:ey,containerNodeRect:eb,draggingNodeRect:eL,over:ew.current.over,overlayNodeRect:ex.rect,scrollableAncestors:e$,scrollableAncestorRects:eG,windowRect:eW}),eX=eg?(0,S.IH)(eg,T):null,eK=function(e){let[t,n]=(0,E.useState)(null),r=(0,E.useRef)(e),i=(0,E.useCallback)(e=>{let t=Y(e.target);t&&n(e=>e?(e.set(t,J(t)),new Map(e)):null)},[]);return(0,E.useEffect)(()=>{let t=r.current;if(e!==t){a(t);let o=e.map(e=>{let t=Y(e);return t?(t.addEventListener("scroll",i,{passive:!0}),[t,J(t)]):null}).filter(e=>null!=e);n(o.length?new Map(o):null),r.current=e}return()=>{a(e),a(t)};function a(e){e.forEach(e=>{let t=Y(e);null==t||t.removeEventListener("scroll",i)})}},[i,e]),(0,E.useMemo)(()=>e.length?t?Array.from(t.values()).reduce((e,t)=>(0,S.IH)(e,t),L):er(e):L,[e,t])}(e$),eJ=eO(eK),e0=eO(eK,[ey]),e1=(0,S.IH)(eY,eJ),e2=eL?V(eL,eY):null,e3=H&&e2?f({active:H,collisionRect:e2,droppableRects:ed,droppableContainers:eu,pointerCoordinates:eX}):null,e4=function(e,t){if(!e||0===e.length)return null;let[n]=e;return n.id}(e3,0),[e5,e6]=(0,E.useState)(null),e8=(a=eT?eY:(0,S.IH)(eY,e0),o=null!=(i=null==e5?void 0:e5.rect)?i:null,{...a,scaleX:o&&ey?o.width/ey.width:1,scaleY:o&&ey?o.height/ey.height:1}),e9=(0,E.useRef)(null),e7=(0,E.useCallback)((e,t)=>{let{sensor:n,options:r}=t;if(null==W.current)return;let i=z.get(W.current);if(!i)return;let a=e.nativeEvent,o=new n({active:W.current,activeNode:i,event:a,options:r,context:ew,onAbort(e){if(!z.get(e))return;let{onDragAbort:t}=el.current,n={id:e};null==t||t(n),M({type:"onDragAbort",event:n})},onPending(e,t,n,r){if(!z.get(e))return;let{onDragPending:i}=el.current,a={id:e,constraint:t,initialCoordinates:n,offset:r};null==i||i(a),M({type:"onDragPending",event:a})},onStart(e){let t=W.current;if(null==t)return;let n=z.get(t);if(!n)return;let{onDragStart:r}=el.current,i={activatorEvent:a,active:{id:t,data:n.data,rect:U}};(0,C.unstable_batchedUpdates)(()=>{null==r||r(i),D(k.Initializing),I({type:h.DragStart,initialCoordinates:e,active:t}),M({type:"onDragStart",event:i}),K(e9.current),ea(a)})},onMove(e){I({type:h.DragMove,coordinates:e})},onEnd:l(h.DragEnd),onCancel:l(h.DragCancel)});function l(e){return async function(){let{active:t,collisions:n,over:r,scrollAdjustedTranslate:i}=ew.current,o=null;if(t&&i){let{cancelDrop:l}=el.current;o={activatorEvent:a,active:t,collisions:n,delta:i,over:r},e===h.DragEnd&&"function"==typeof l&&await Promise.resolve(l(o))&&(e=h.DragCancel)}W.current=null,(0,C.unstable_batchedUpdates)(()=>{I({type:e}),D(k.Uninitialized),e6(null),K(null),ea(null),e9.current=null;let t=e===h.DragEnd?"onDragEnd":"onDragCancel";if(o){let e=el.current[t];null==e||e(o),M({type:t,event:o})}})}}e9.current=o},[z]),te=(0,E.useCallback)((e,t)=>(n,r)=>{let i=n.nativeEvent,a=z.get(r);null!==W.current||!a||i.dndKit||i.defaultPrevented||!0!==e(n,t.options,{active:a})||(i.dndKit={capturedBy:t.sensor},W.current=r,e7(n,t))},[z,e7]),tt=(0,E.useMemo)(()=>d.reduce((e,t)=>{let{sensor:n}=t;return[...e,...n.activators.map(e=>({eventName:e.eventName,handler:te(e.handler,t)}))]},[]),[d,te]);(0,E.useEffect)(()=>{if(!S.Nq)return;let e=d.map(e=>{let{sensor:t}=e;return null==t.setup?void 0:t.setup()});return()=>{for(let t of e)null==t||t()}},d.map(e=>{let{sensor:t}=e;return t})),(0,S.LI)(()=>{ey&&P===k.Initializing&&D(k.Initialized)},[ey,P]),(0,E.useEffect)(()=>{let{onDragMove:e}=el.current,{active:t,activatorEvent:n,collisions:r,over:i}=ew.current;if(!t||!n)return;let a={active:t,activatorEvent:n,collisions:r,delta:{x:e1.x,y:e1.y},over:i};(0,C.unstable_batchedUpdates)(()=>{null==e||e(a),M({type:"onDragMove",event:a})})},[e1.x,e1.y]),(0,E.useEffect)(()=>{let{active:e,activatorEvent:t,collisions:n,droppableContainers:r,scrollAdjustedTranslate:i}=ew.current;if(!e||null==W.current||!t||!i)return;let{onDragOver:a}=el.current,o=r.get(e4),l=o&&o.rect.current?{id:o.id,rect:o.rect.current,data:o.data,disabled:o.disabled}:null,s={active:e,activatorEvent:t,collisions:n,delta:{x:i.x,y:i.y},over:l};(0,C.unstable_batchedUpdates)(()=>{e6(l),null==a||a(s),M({type:"onDragOver",event:s})})},[e4]),(0,S.LI)(()=>{ew.current={activatorEvent:ei,active:H,activeNode:ep,collisionRect:e2,collisions:e3,droppableRects:ed,draggableNodes:z,draggingNode:eI,draggingNodeRect:eL,droppableContainers:F,over:e5,scrollableAncestors:e$,scrollAdjustedTranslate:e1},U.current={initial:eL,translated:e2}},[H,ep,e3,e2,z,eI,eL,ed,F,e5,e$,e1]),function(e){let{acceleration:t,activator:n=y.Pointer,canScroll:r,draggingRect:i,enabled:a,interval:o=5,order:l=b.TreeOrder,pointerCoordinates:s,scrollableAncestors:u,scrollableAncestorRects:c,delta:d,threshold:f}=e,h=function(e){let{delta:t,disabled:n}=e,r=(0,S.D9)(t);return(0,S.Gj)(e=>{if(n||!r||!e)return ek;let i={x:Math.sign(t.x-r.x),y:Math.sign(t.y-r.y)};return{x:{[p.Backward]:e.x[p.Backward]||-1===i.x,[p.Forward]:e.x[p.Forward]||1===i.x},y:{[p.Backward]:e.y[p.Backward]||-1===i.y,[p.Forward]:e.y[p.Forward]||1===i.y}}},[n,t,r])}({delta:d,disabled:!a}),[g,m]=(0,S.Yz)(),v=(0,E.useRef)({x:0,y:0}),w=(0,E.useRef)({x:0,y:0}),A=(0,E.useMemo)(()=>{switch(n){case y.Pointer:return s?{top:s.y,bottom:s.y,left:s.x,right:s.x}:null;case y.DraggableRect:return i}},[n,i,s]),k=(0,E.useRef)(null),C=(0,E.useCallback)(()=>{let e=k.current;if(!e)return;let t=v.current.x*w.current.x,n=v.current.y*w.current.y;e.scrollBy(t,n)},[]),I=(0,E.useMemo)(()=>l===b.TreeOrder?[...u].reverse():u,[l,u]);(0,E.useEffect)(()=>{if(!a||!u.length||!A){m();return}for(let e of I){if((null==r?void 0:r(e))===!1)continue;let n=c[u.indexOf(e)];if(!n)continue;let{direction:i,speed:a}=function(e,t,n,r,i){let{top:a,left:o,right:l,bottom:s}=n;void 0===r&&(r=10),void 0===i&&(i=en);let{isTop:u,isBottom:c,isLeft:d,isRight:f}=et(e),h={x:0,y:0},g={x:0,y:0},m={height:t.height*i.y,width:t.width*i.x};return!u&&a<=t.top+m.height?(h.y=p.Backward,g.y=r*Math.abs((t.top+m.height-a)/m.height)):!c&&s>=t.bottom-m.height&&(h.y=p.Forward,g.y=r*Math.abs((t.bottom-m.height-s)/m.height)),!f&&l>=t.right-m.width?(h.x=p.Forward,g.x=r*Math.abs((t.right-m.width-l)/m.width)):!d&&o<=t.left+m.width&&(h.x=p.Backward,g.x=r*Math.abs((t.left+m.width-o)/m.width)),{direction:h,speed:g}}(e,n,A,t,f);for(let e of["x","y"])h[e][i[e]]||(a[e]=0,i[e]=0);if(a.x>0||a.y>0){m(),k.current=e,g(C,o),v.current=a,w.current=i;return}}v.current={x:0,y:0},w.current={x:0,y:0},m()},[t,C,r,m,a,o,JSON.stringify(A),JSON.stringify(h),g,u,I,c,JSON.stringify(f)])}({...em,delta:T,draggingRect:e2,pointerCoordinates:eX,scrollableAncestors:e$,scrollableAncestorRects:eG});let tn=(0,E.useMemo)(()=>({active:H,activeNode:ep,activeNodeRect:ey,activatorEvent:ei,collisions:e3,containerNodeRect:eb,dragOverlay:ex,draggableNodes:z,droppableContainers:F,droppableRects:ed,over:e5,measureDroppableContainers:ef,scrollableAncestors:e$,scrollableAncestorRects:eG,measuringConfiguration:ec,measuringScheduled:eh,windowRect:eW}),[H,ep,ey,ei,e3,eb,ex,z,F,ed,e5,ef,e$,eG,ec,eh,eW]),tr=(0,E.useMemo)(()=>({activatorEvent:ei,activators:tt,active:H,activeNodeRect:ey,ariaDescribedById:{draggable:es},dispatch:I,draggableNodes:z,over:e5,measureDroppableContainers:ef}),[ei,tt,H,ey,I,es,z,e5,ef]);return E.createElement(O.Provider,{value:_},E.createElement(eN.Provider,{value:tr},E.createElement(eQ.Provider,{value:tn},E.createElement(eq.Provider,{value:e8},c)),E.createElement(eU,{disabled:(null==s?void 0:s.restoreFocus)===!1})),E.createElement(R,{...s,hiddenTextDescribedById:es}))}),e$=(0,E.createContext)(null),eG="button";function eY(e){let{id:t,data:n,disabled:r=!1,attributes:i}=e,a=(0,S.Ld)("Draggable"),{activators:o,activatorEvent:l,active:s,activeNodeRect:u,ariaDescribedById:c,draggableNodes:d,over:f}=(0,E.useContext)(eN),{role:h=eG,roleDescription:p="draggable",tabIndex:g=0}=null!=i?i:{},m=(null==s?void 0:s.id)===t,v=(0,E.useContext)(m?eq:e$),[y,b]=(0,S.wm)(),[w,A]=(0,S.wm)(),k=(0,E.useMemo)(()=>o.reduce((e,n)=>{let{eventName:r,handler:i}=n;return e[r]=e=>{i(e,t)},e},{}),[o,t]),C=(0,S.Ey)(n);return(0,S.LI)(()=>(d.set(t,{id:t,key:a,node:y,activatorNode:w,data:C}),()=>{let e=d.get(t);e&&e.key===a&&d.delete(t)}),[d,t]),{active:s,activatorEvent:l,activeNodeRect:u,attributes:(0,E.useMemo)(()=>({role:h,tabIndex:g,"aria-disabled":r,"aria-pressed":!!m&&h===eG||void 0,"aria-roledescription":p,"aria-describedby":c.draggable}),[r,h,g,m,p,c.draggable]),isDragging:m,listeners:r?void 0:k,node:y,over:f,setNodeRef:b,setActivatorNodeRef:A,transform:v}}let eX={timeout:25};function eK(e){let{data:t,disabled:n=!1,id:r,resizeObserverConfig:i}=e,a=(0,S.Ld)("Droppable"),{active:o,dispatch:l,over:s,measureDroppableContainers:u}=(0,E.useContext)(eN),c=(0,E.useRef)({disabled:n}),d=(0,E.useRef)(!1),f=(0,E.useRef)(null),p=(0,E.useRef)(null),{disabled:g,updateMeasurementsFor:m,timeout:v}={...eX,...i},y=(0,S.Ey)(null!=m?m:r),b=eS({callback:(0,E.useCallback)(()=>{if(!d.current){d.current=!0;return}null!=p.current&&clearTimeout(p.current),p.current=setTimeout(()=>{u(Array.isArray(y.current)?y.current:[y.current]),p.current=null},v)},[v]),disabled:g||!o}),w=(0,E.useCallback)((e,t)=>{b&&(t&&(b.unobserve(t),d.current=!1),e&&b.observe(e))},[b]),[A,k]=(0,S.wm)(w),C=(0,S.Ey)(t);return(0,E.useEffect)(()=>{b&&A.current&&(b.disconnect(),d.current=!1,b.observe(A.current))},[A,b]),(0,E.useEffect)(()=>(l({type:h.RegisterDroppable,element:{id:r,key:a,disabled:n,node:A,rect:f,data:C}}),()=>l({type:h.UnregisterDroppable,key:a,id:r})),[r]),(0,E.useEffect)(()=>{n!==c.current.disabled&&(l({type:h.SetDroppableDisabled,id:r,key:a,disabled:n}),c.current.disabled=n)},[r,a,n,l]),{active:o,rect:f,isOver:(null==s?void 0:s.id)===r,node:A,over:s,setNodeRef:k}}function eJ(e){let{animation:t,children:n}=e,[r,i]=(0,E.useState)(null),[a,o]=(0,E.useState)(null),l=(0,S.D9)(n);return n||r||!l||i(l),(0,S.LI)(()=>{if(!a)return;let e=null==r?void 0:r.key,n=null==r?void 0:r.props.id;if(null==e||null==n){i(null);return}Promise.resolve(t(n,a)).then(()=>{i(null)})},[t,r,a]),E.createElement(E.Fragment,null,n,r?(0,E.cloneElement)(r,{ref:o}):null)}let e0={x:0,y:0,scaleX:1,scaleY:1};function e1(e){let{children:t}=e;return E.createElement(eN.Provider,{value:eF},E.createElement(eq.Provider,{value:e0},t))}let e2={position:"fixed",touchAction:"none"},e3=e=>(0,S.vd)(e)?"transform 250ms ease":void 0,e4=(0,E.forwardRef)((e,t)=>{let{as:n,activatorEvent:r,adjustScale:i,children:a,className:o,rect:l,style:s,transform:u,transition:c=e3}=e;if(!l)return null;let d=i?u:{...u,scaleX:1,scaleY:1},f={...e2,width:l.width,height:l.height,top:l.top,left:l.left,transform:S.ux.Transform.toString(d),transformOrigin:i&&r?function(e,t){let n=(0,S.DC)(e);if(!n)return"0 0";let r={x:(n.x-t.left)/t.width*100,y:(n.y-t.top)/t.height*100};return r.x+"% "+r.y+"%"}(r,l):void 0,transition:"function"==typeof c?c(r):c,...s};return E.createElement(n,{className:o,style:f,ref:t},a)}),e5={duration:250,easing:"ease",keyframes:e=>{let{transform:{initial:t,final:n}}=e;return[{transform:S.ux.Transform.toString(t)},{transform:S.ux.Transform.toString(n)}]},sideEffects:(r={styles:{active:{opacity:"0"}}},e=>{let{active:t,dragOverlay:n}=e,i={},{styles:a,className:o}=r;if(null!=a&&a.active)for(let[e,n]of Object.entries(a.active))void 0!==n&&(i[e]=t.node.style.getPropertyValue(e),t.node.style.setProperty(e,n));if(null!=a&&a.dragOverlay)for(let[e,t]of Object.entries(a.dragOverlay))void 0!==t&&n.node.style.setProperty(e,t);return null!=o&&o.active&&t.node.classList.add(o.active),null!=o&&o.dragOverlay&&n.node.classList.add(o.dragOverlay),function(){for(let[e,n]of Object.entries(i))t.node.style.setProperty(e,n);null!=o&&o.active&&t.node.classList.remove(o.active)}})},e6=0,e8=E.memo(e=>{var t;let{adjustScale:n=!1,children:r,dropAnimation:i,style:a,transition:o,modifiers:l,wrapperElement:s="div",className:u,zIndex:c=999}=e,{activatorEvent:d,active:f,activeNodeRect:h,containerNodeRect:p,draggableNodes:g,droppableContainers:m,dragOverlay:v,over:y,measuringConfiguration:b,scrollableAncestors:w,scrollableAncestorRects:A,windowRect:k}=(0,E.useContext)(eQ),C=(0,E.useContext)(eq),I=(t=null==f?void 0:f.id,(0,E.useMemo)(()=>{if(null!=t)return++e6},[t])),M=eH(l,{activatorEvent:d,active:f,activeNodeRect:h,containerNodeRect:p,draggingNodeRect:v.rect,over:y,overlayNodeRect:v.rect,scrollableAncestors:w,scrollableAncestorRects:A,transform:C,windowRect:k}),_=eC(h),O=function(e){let{config:t,draggableNodes:n,droppableContainers:r,measuringConfiguration:i}=e;return(0,S.zX)((e,a)=>{if(null===t)return;let o=n.get(e);if(!o)return;let l=o.node.current;if(!l)return;let s=eR(a);if(!s)return;let{transform:u}=(0,S.Jj)(a).getComputedStyle(a),c=U(u);if(!c)return;let d="function"==typeof t?t:function(e){let{duration:t,easing:n,sideEffects:r,keyframes:i}={...e5,...e};return e=>{let{active:a,dragOverlay:o,transform:l,...s}=e;if(!t)return;let u={x:o.rect.left-a.rect.left,y:o.rect.top-a.rect.top},c={scaleX:1!==l.scaleX?a.rect.width*l.scaleX/o.rect.width:1,scaleY:1!==l.scaleY?a.rect.height*l.scaleY/o.rect.height:1},d={x:l.x-u.x,y:l.y-u.y,...c},f=i({...s,active:a,dragOverlay:o,transform:{initial:l,final:d}}),[h]=f,p=f[f.length-1];if(JSON.stringify(h)===JSON.stringify(p))return;let g=null==r?void 0:r({active:a,dragOverlay:o,...s}),m=o.node.animate(f,{duration:t,easing:n,fill:"forwards"});return new Promise(e=>{m.onfinish=()=>{null==g||g(),e()}})}}(t);return ei(l,i.draggable.measure),d({active:{id:e,data:o.data,node:l,rect:i.draggable.measure(l)},draggableNodes:n,dragOverlay:{node:a,rect:i.dragOverlay.measure(s)},droppableContainers:r,measuringConfiguration:i,transform:c})})}({config:i,draggableNodes:g,droppableContainers:m,measuringConfiguration:b}),P=_?v.setRef:void 0;return E.createElement(e1,null,E.createElement(eJ,{animation:O},f&&I?E.createElement(e4,{key:I,id:f.id,ref:P,as:s,activatorEvent:d,adjustScale:n,className:u,transition:o,rect:_,style:{zIndex:c,...a},transform:M},r):null))})},84314:function(e,t,n){"use strict";n.d(t,{oJ:function(){return i}});var r=n(59892);let i=e=>{let{activatorEvent:t,draggingNodeRect:n,transform:i}=e;if(n&&t){let e=(0,r.DC)(t);if(!e)return i;let a=e.x-n.left,o=e.y-n.top;return{...i,x:i.x+a-n.width/2,y:i.y+o-n.height/2}}return i}},59892:function(e,t,n){"use strict";n.d(t,{$X:function(){return E},D9:function(){return y},DC:function(){return S},Ey:function(){return g},FJ:function(){return a},Gj:function(){return m},IH:function(){return k},Jj:function(){return l},LI:function(){return f},Ld:function(){return w},Nq:function(){return i},Re:function(){return u},UG:function(){return o},Yz:function(){return p},qk:function(){return s},r3:function(){return d},so:function(){return _},ux:function(){return I},vZ:function(){return c},vd:function(){return C},wm:function(){return v},zX:function(){return h}});var r=n(2265);let i="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement;function a(e){let t=Object.prototype.toString.call(e);return"[object Window]"===t||"[object global]"===t}function o(e){return"nodeType"in e}function l(e){var t,n;return e?a(e)?e:o(e)&&null!=(t=null==(n=e.ownerDocument)?void 0:n.defaultView)?t:window:window}function s(e){let{Document:t}=l(e);return e instanceof t}function u(e){return!a(e)&&e instanceof l(e).HTMLElement}function c(e){return e instanceof l(e).SVGElement}function d(e){return e?a(e)?e.document:o(e)?s(e)?e:u(e)||c(e)?e.ownerDocument:document:document:document}let f=i?r.useLayoutEffect:r.useEffect;function h(e){let t=(0,r.useRef)(e);return f(()=>{t.current=e}),(0,r.useCallback)(function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return null==t.current?void 0:t.current(...n)},[])}function p(){let 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 g(e,t){void 0===t&&(t=[e]);let n=(0,r.useRef)(e);return f(()=>{n.current!==e&&(n.current=e)},t),n}function m(e,t){let n=(0,r.useRef)();return(0,r.useMemo)(()=>{let t=e(n.current);return n.current=t,t},[...t])}function v(e){let t=h(e),n=(0,r.useRef)(null),i=(0,r.useCallback)(e=>{e!==n.current&&(null==t||t(e,n.current)),n.current=e},[]);return[n,i]}function y(e){let t=(0,r.useRef)();return(0,r.useEffect)(()=>{t.current=e},[e]),t.current}let b={};function w(e,t){return(0,r.useMemo)(()=>{if(t)return t;let n=null==b[e]?0:b[e]+1;return b[e]=n,e+"-"+n},[e,t])}function A(e){return function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return r.reduce((t,n)=>{for(let[r,i]of Object.entries(n)){let n=t[r];null!=n&&(t[r]=n+e*i)}return t},{...t})}}let k=A(1),E=A(-1);function C(e){if(!e)return!1;let{KeyboardEvent:t}=l(e.target);return t&&e instanceof t}function S(e){if(function(e){if(!e)return!1;let{TouchEvent:t}=l(e.target);return t&&e instanceof t}(e)){if(e.touches&&e.touches.length){let{clientX:t,clientY:n}=e.touches[0];return{x:t,y:n}}if(e.changedTouches&&e.changedTouches.length){let{clientX:t,clientY:n}=e.changedTouches[0];return{x:t,y:n}}}return"clientX"in e&&"clientY"in e?{x:e.clientX,y:e.clientY}:null}let I=Object.freeze({Translate:{toString(e){if(!e)return;let{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;let{scaleX:t,scaleY:n}=e;return"scaleX("+t+") scaleY("+n+")"}},Transform:{toString(e){if(e)return[I.Translate.toString(e),I.Scale.toString(e)].join(" ")}},Transition:{toString(e){let{property:t,duration:n,easing:r}=e;return t+" "+n+"ms "+r}}}),M="a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";function _(e){return e.matches(M)?e:e.querySelector(M)}},78242:function(e,t,n){"use strict";n.d(t,{Z:function(){return H}});var r=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){if(this.ctr%(this.isSpeedy?65e3:1)==0){var t;this._insertTag(((t=document.createElement("style")).setAttribute("data-emotion",this.key),void 0!==this.nonce&&t.setAttribute("nonce",this.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t))}var n=this.tags[this.tags.length-1];if(this.isSpeedy){var r=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(n);try{r.insertRule(e,r.cssRules.length)}catch(e){}}else n.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach(function(e){var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)}),this.tags=[],this.ctr=0},e}(),i=Math.abs,a=String.fromCharCode,o=Object.assign;function l(e,t,n){return e.replace(t,n)}function s(e,t){return e.indexOf(t)}function u(e,t){return 0|e.charCodeAt(t)}function c(e,t,n){return e.slice(t,n)}function d(e){return e.length}function f(e,t){return t.push(e),e}var h=1,p=1,g=0,m=0,v=0,y="";function b(e,t,n,r,i,a,o){return{value:e,root:t,parent:n,type:r,props:i,children:a,line:h,column:p,length:o,return:""}}function w(e,t){return o(b("",null,null,"",null,null,0),e,{length:-e.length},t)}function A(){return v=m<g?u(y,m++):0,p++,10===v&&(p=1,h++),v}function k(){return u(y,m)}function E(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function C(e){return h=p=1,g=d(y=e),m=0,[]}function S(e){var t,n;return(t=m-1,n=function e(t){for(;A();)switch(v){case t:return m;case 34:case 39:34!==t&&39!==t&&e(v);break;case 40:41===t&&e(t);break;case 92:A()}return m}(91===e?e+2:40===e?e+1:e),c(y,t,n)).trim()}var I="-ms-",M="-moz-",_="-webkit-",O="comm",P="rule",D="decl",R="@keyframes";function j(e,t){for(var n="",r=e.length,i=0;i<r;i++)n+=t(e[i],i,e,t)||"";return n}function B(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case D:return e.return=e.return||e.value;case O:return"";case R:return e.return=e.value+"{"+j(e.children,r)+"}";case P:e.value=e.props.join(",")}return d(n=j(e.children,r))?e.return=e.value+"{"+n+"}":""}function z(e,t,n,r,a,o,s,u,d,f,h){for(var p=a-1,g=0===a?o:[""],m=g.length,v=0,y=0,w=0;v<r;++v)for(var A=0,k=c(e,p+1,p=i(y=s[v])),E=e;A<m;++A)(E=(y>0?g[A]+" "+k:l(k,/&\f/g,g[A])).trim())&&(d[w++]=E);return b(e,t,n,0===a?P:u,d,f,h)}function L(e,t,n,r){return b(e,t,n,D,c(e,0,r),c(e,r+1,-1),r)}var T=function(e,t,n){for(var r=0,i=0;r=i,i=k(),38===r&&12===i&&(t[n]=1),!E(i);)A();return c(y,e,m)},F=function(e,t){var n=-1,r=44;do switch(E(r)){case 0:38===r&&12===k()&&(t[n]=1),e[n]+=T(m-1,t,n);break;case 2:e[n]+=S(r);break;case 4:if(44===r){e[++n]=58===k()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=a(r)}while(r=A());return e},N=function(e,t){var n;return n=F(C(e),t),y="",n},Q=new WeakMap,Z=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||Q.get(n))&&!r){Q.set(e,!0);for(var i=[],a=N(t,i),o=n.props,l=0,s=0;l<a.length;l++)for(var u=0;u<o.length;u++,s++)e.props[s]=i[l]?a[l].replace(/&\f/g,o[u]):o[u]+" "+a[l]}}},V=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}},U=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case D:e.return=function e(t,n){switch(45^u(t,0)?(((n<<2^u(t,0))<<2^u(t,1))<<2^u(t,2))<<2^u(t,3):0){case 5103:return _+"print-"+t+t;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return _+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return _+t+M+t+I+t+t;case 6828:case 4268:return _+t+I+t+t;case 6165:return _+t+I+"flex-"+t+t;case 5187:return _+t+l(t,/(\w+).+(:[^]+)/,_+"box-$1$2"+I+"flex-$1$2")+t;case 5443:return _+t+I+"flex-item-"+l(t,/flex-|-self/,"")+t;case 4675:return _+t+I+"flex-line-pack"+l(t,/align-content|flex-|-self/,"")+t;case 5548:return _+t+I+l(t,"shrink","negative")+t;case 5292:return _+t+I+l(t,"basis","preferred-size")+t;case 6060:return _+"box-"+l(t,"-grow","")+_+t+I+l(t,"grow","positive")+t;case 4554:return _+l(t,/([^-])(transform)/g,"$1"+_+"$2")+t;case 6187:return l(l(l(t,/(zoom-|grab)/,_+"$1"),/(image-set)/,_+"$1"),t,"")+t;case 5495:case 3959:return l(t,/(image-set\([^]*)/,_+"$1$`$1");case 4968:return l(l(t,/(.+:)(flex-)?(.*)/,_+"box-pack:$3"+I+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+_+t+t;case 4095:case 3583:case 4068:case 2532:return l(t,/(.+)-inline(.+)/,_+"$1$2")+t;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(d(t)-1-n>6)switch(u(t,n+1)){case 109:if(45!==u(t,n+4))break;case 102:return l(t,/(.+:)(.+)-([^]+)/,"$1"+_+"$2-$3$1"+M+(108==u(t,n+3)?"$3":"$2-$3"))+t;case 115:return~s(t,"stretch")?e(l(t,"stretch","fill-available"),n)+t:t}break;case 4949:if(115!==u(t,n+1))break;case 6444:switch(u(t,d(t)-3-(~s(t,"!important")&&10))){case 107:return l(t,":",":"+_)+t;case 101:return l(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+_+(45===u(t,14)?"inline-":"")+"box$3$1"+_+"$2$3$1"+I+"$2box$3")+t}break;case 5936:switch(u(t,n+11)){case 114:return _+t+I+l(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return _+t+I+l(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return _+t+I+l(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return _+t+I+t+t}return t}(e.value,e.length);break;case R:return j([w(e,{value:l(e.value,"@","@"+_)})],r);case P:if(e.length){var i,a;return i=e.props,a=function(t){var n;switch(n=t,(n=/(::plac\w+|:read-\w+)/.exec(n))?n[0]:n){case":read-only":case":read-write":return j([w(e,{props:[l(t,/:(read-\w+)/,":"+M+"$1")]})],r);case"::placeholder":return j([w(e,{props:[l(t,/:(plac\w+)/,":"+_+"input-$1")]}),w(e,{props:[l(t,/:(plac\w+)/,":"+M+"$1")]}),w(e,{props:[l(t,/:(plac\w+)/,I+"input-$1")]})],r)}return""},i.map(a).join("")}}}],H=function(e){var t,n,i,o,g,w,I=e.key;if("css"===I){var M=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(M,function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))})}var _=e.stylisPlugins||U,P={},D=[];o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+I+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)P[t[n]]=!0;D.push(e)});var R=(n=(t=[Z,V].concat(_,[B,(i=function(e){w.insert(e)},function(e){!e.root&&(e=e.return)&&i(e)})])).length,function(e,r,i,a){for(var o="",l=0;l<n;l++)o+=t[l](e,r,i,a)||"";return o}),T=function(e){var t,n;return j((n=function e(t,n,r,i,o,g,w,C,I){for(var M,_=0,P=0,D=w,R=0,j=0,B=0,T=1,F=1,N=1,Q=0,Z="",V=o,U=g,H=i,q=Z;F;)switch(B=Q,Q=A()){case 40:if(108!=B&&58==u(q,D-1)){-1!=s(q+=l(S(Q),"&","&\f"),"&\f")&&(N=-1);break}case 34:case 39:case 91:q+=S(Q);break;case 9:case 10:case 13:case 32:q+=function(e){for(;v=k();)if(v<33)A();else break;return E(e)>2||E(v)>3?"":" "}(B);break;case 92:q+=function(e,t){for(var n;--t&&A()&&!(v<48)&&!(v>102)&&(!(v>57)||!(v<65))&&(!(v>70)||!(v<97)););return n=m+(t<6&&32==k()&&32==A()),c(y,e,n)}(m-1,7);continue;case 47:switch(k()){case 42:case 47:f(b(M=function(e,t){for(;A();)if(e+v===57)break;else if(e+v===84&&47===k())break;return"/*"+c(y,t,m-1)+"*"+a(47===e?e:A())}(A(),m),n,r,O,a(v),c(M,2,-2),0),I);break;default:q+="/"}break;case 123*T:C[_++]=d(q)*N;case 125*T:case 59:case 0:switch(Q){case 0:case 125:F=0;case 59+P:-1==N&&(q=l(q,/\f/g,"")),j>0&&d(q)-D&&f(j>32?L(q+";",i,r,D-1):L(l(q," ","")+";",i,r,D-2),I);break;case 59:q+=";";default:if(f(H=z(q,n,r,_,P,o,C,Z,V=[],U=[],D),g),123===Q){if(0===P)e(q,n,H,H,V,g,D,C,U);else switch(99===R&&110===u(q,3)?100:R){case 100:case 108:case 109:case 115:e(t,H,H,i&&f(z(t,H,H,0,0,o,C,Z,o,V=[],D),U),o,U,D,C,i?V:U);break;default:e(q,H,H,H,[""],U,0,C,U)}}}_=P=j=0,T=N=1,Z=q="",D=w;break;case 58:D=1+d(q),j=B;default:if(T<1){if(123==Q)--T;else if(125==Q&&0==T++&&125==(v=m>0?u(y,--m):0,p--,10===v&&(p=1,h--),v))continue}switch(q+=a(Q),Q*T){case 38:N=P>0?1:(q+="\f",-1);break;case 44:C[_++]=(d(q)-1)*N,N=1;break;case 64:45===k()&&(q+=S(A())),R=k(),P=D=d(Z=q+=function(e){for(;!E(k());)A();return c(y,e,m)}(m)),Q++;break;case 45:45===B&&2==d(q)&&(T=0)}}return g}("",null,null,null,[""],t=C(t=e),0,[0],t),y="",n),R)};g=function(e,t,n,r){w=n,T(e?e+"{"+t.styles+"}":t.styles),r&&(F.inserted[t.name]=!0)};var F={key:I,sheet:new r({key:I,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:P,registered:{},insert:g};return F.sheet.hydrate(D),F}},57210:function(e,t,n){"use strict";n.d(t,{iv:function(){return B},tZ:function(){return j},F4:function(){return z}});var r,i,a,o,l,s,u=n(2265),c=n.t(u,2),d=n(78242),f=function(e,t,n){var r=e.key+"-"+t.name;!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},h=function(e,t,n){f(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var i=t;do e.insert(t===i?"."+r:"",i,e.sheet,!0),i=i.next;while(void 0!==i)}},p={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},g=/[A-Z]|^ms/g,m=/_EMO_([^_]+?)_([^]*?)_EMO_/g,v=function(e){return 45===e.charCodeAt(1)},y=function(e){return null!=e&&"boolean"!=typeof e},b=(r=function(e){return v(e)?e:e.replace(g,"-$&").toLowerCase()},i=Object.create(null),function(e){return void 0===i[e]&&(i[e]=r(e)),i[e]}),w=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(m,function(e,t,n){return s={name:t,styles:n,next:s},t})}return 1===p[e]||v(e)||"number"!=typeof t||0===t?t:t+"px"};function A(e,t,n){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return s={name:n.name,styles:n.styles,next:s},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)s={name:r.name,styles:r.styles,next:s},r=r.next;return n.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=A(e,t,n[i])+";";else for(var a in n){var o=n[a];if("object"!=typeof o)null!=t&&void 0!==t[o]?r+=a+"{"+t[o]+"}":y(o)&&(r+=b(a)+":"+w(a,o)+";");else if(Array.isArray(o)&&"string"==typeof o[0]&&(null==t||void 0===t[o[0]]))for(var l=0;l<o.length;l++)y(o[l])&&(r+=b(a)+":"+w(a,o[l])+";");else{var s=A(e,t,o);switch(a){case"animation":case"animationName":r+=b(a)+":"+s+";";break;default:r+=a+"{"+s+"}"}}}return r}(e,t,n);case"function":if(void 0!==e){var i=s,a=n(e);return s=i,A(e,t,a)}}if(null==t)return n;var o=t[n];return void 0!==o?o:n}var k=/label:\s*([^\s;{]+)\s*(;|$)/g;function E(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r,i=!0,a="";s=void 0;var o=e[0];null==o||void 0===o.raw?(i=!1,a+=A(n,t,o)):a+=o[0];for(var l=1;l<e.length;l++)a+=A(n,t,e[l]),i&&(a+=o[l]);k.lastIndex=0;for(var u="";null!==(r=k.exec(a));)u+="-"+r[1];return{name:function(e){for(var t,n=0,r=0,i=e.length;i>=4;++r,i-=4)t=(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))*1540483477+((t>>>16)*59797<<16),t^=t>>>24,n=(65535&t)*1540483477+((t>>>16)*59797<<16)^(65535&n)*1540483477+((n>>>16)*59797<<16);switch(i){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n^=255&e.charCodeAt(r),n=(65535&n)*1540483477+((n>>>16)*59797<<16)}return n^=n>>>13,(((n=(65535&n)*1540483477+((n>>>16)*59797<<16))^n>>>15)>>>0).toString(36)}(a)+u,styles:a,next:s}}var C=!!c.useInsertionEffect&&c.useInsertionEffect,S=C||function(e){return e()};C||u.useLayoutEffect;var I=u.createContext("undefined"!=typeof HTMLElement?(0,d.Z)({key:"css"}):null);I.Provider;var M=u.createContext({}),_={}.hasOwnProperty,O="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",P=function(e,t){var n={};for(var r in t)_.call(t,r)&&(n[r]=t[r]);return n[O]=e,n},D=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return f(t,n,r),S(function(){return h(t,n,r)}),null},R=(a=function(e,t,n){var r,i,a,o=e.css;"string"==typeof o&&void 0!==t.registered[o]&&(o=t.registered[o]);var l=e[O],s=[o],c="";"string"==typeof e.className?(r=t.registered,i=e.className,a="",i.split(" ").forEach(function(e){void 0!==r[e]?s.push(r[e]+";"):e&&(a+=e+" ")}),c=a):null!=e.className&&(c=e.className+" ");var d=E(s,void 0,u.useContext(M));c+=t.key+"-"+d.name;var f={};for(var h in e)_.call(e,h)&&"css"!==h&&h!==O&&(f[h]=e[h]);return f.className=c,n&&(f.ref=n),u.createElement(u.Fragment,null,u.createElement(D,{cache:t,serialized:d,isStringTag:"string"==typeof l}),u.createElement(l,f))},(0,u.forwardRef)(function(e,t){return a(e,(0,u.useContext)(I),t)}));n(63285);var j=function(e,t){var n=arguments;if(null==t||!_.call(t,"css"))return u.createElement.apply(void 0,n);var r=n.length,i=Array(r);i[0]=R,i[1]=P(e,t);for(var a=2;a<r;a++)i[a]=n[a];return u.createElement.apply(null,i)};function B(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return E(t)}function z(){var e=B.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}o=j||(j={}),l||(l=o.JSX||(o.JSX={}))},86923:function(e,t,n){"use strict";n.d(t,{Fl:function(){return E},cE:function(){return _},dC:function(){return a},rg:function(){return l},td:function(){return y}});var r=Symbol.for("preact-signals");function i(){if(c>1)c--;else{var e,t=!1;for(!function(){var e=p;for(p=void 0;void 0!==e;)e.S.v===e.v&&(e.S.i=e.i),e=e.o}();void 0!==u;){var n=u;for(u=void 0,d++;void 0!==n;){var r=n.u;if(n.u=void 0,n.f&=-3,!(8&n.f)&&b(n))try{n.c()}catch(n){t||(e=n,t=!0)}n=r}}if(d=0,c--,t)throw e}}function a(e){if(c>0)return e();h=++f,c++;try{return e()}finally{i()}}var o=void 0;function l(e){var t=o;o=void 0;try{return e()}finally{o=t}}var s,u=void 0,c=0,d=0,f=0,h=0,p=void 0,g=0;function m(e){if(void 0!==o){var t=e.n;if(void 0===t||t.t!==o)return t={i:0,S:e,p:o.s,n:void 0,t:o,e:void 0,x:void 0,r:t},void 0!==o.s&&(o.s.n=t),o.s=t,e.n=t,32&o.f&&e.S(t),t;if(-1===t.i)return t.i=0,void 0!==t.n&&(t.n.p=t.p,void 0!==t.p&&(t.p.n=t.n),t.p=o.s,t.n=void 0,o.s.n=t,o.s=t),t}}function v(e,t){this.v=e,this.i=0,this.n=void 0,this.t=void 0,this.l=0,this.W=null==t?void 0:t.watched,this.Z=null==t?void 0:t.unwatched,this.name=null==t?void 0:t.name}function y(e,t){return new v(e,t)}function b(e){for(var t=e.s;void 0!==t;t=t.n)if(t.S.i!==t.i||!t.S.h()||t.S.i!==t.i)return!0;return!1}function w(e){for(var t=e.s;void 0!==t;t=t.n){var n=t.S.n;if(void 0!==n&&(t.r=n),t.S.n=t,t.i=-1,void 0===t.n){e.s=t;break}}}function A(e){for(var t=e.s,n=void 0;void 0!==t;){var r=t.p;-1===t.i?(t.S.U(t),void 0!==r&&(r.n=t.n),void 0!==t.n&&(t.n.p=r)):n=t,t.S.n=t.r,void 0!==t.r&&(t.r=void 0),t=r}e.s=n}function k(e,t){v.call(this,void 0),this.x=e,this.s=void 0,this.g=g-1,this.f=4,this.W=null==t?void 0:t.watched,this.Z=null==t?void 0:t.unwatched,this.name=null==t?void 0:t.name}function E(e,t){return new k(e,t)}function C(e){var t=e.m;if(e.m=void 0,"function"==typeof t){c++;var n=o;o=void 0;try{t()}catch(t){throw e.f&=-2,e.f|=8,S(e),t}finally{o=n,i()}}}function S(e){for(var t=e.s;void 0!==t;t=t.n)t.S.U(t);e.x=void 0,e.s=void 0,C(e)}function I(e){if(o!==this)throw Error("Out-of-order effect");A(this),o=e,this.f&=-2,8&this.f&&S(this),i()}function M(e,t){this.x=e,this.m=void 0,this.s=void 0,this.u=void 0,this.f=32,this.name=null==t?void 0:t.name,s&&s.push(this)}function _(e,t){var n=new M(e,t);try{n.c()}catch(e){throw n.d(),e}var r=n.d.bind(n);return r[Symbol.dispose]=r,r}v.prototype.brand=r,v.prototype.h=function(){return!0},v.prototype.S=function(e){var t=this,n=this.t;n!==e&&void 0===e.e&&(e.x=n,this.t=e,void 0!==n?n.e=e:l(function(){var e;null==(e=t.W)||e.call(t)}))},v.prototype.U=function(e){var t=this;if(void 0!==this.t){var n=e.e,r=e.x;void 0!==n&&(n.x=r,e.e=void 0),void 0!==r&&(r.e=n,e.x=void 0),e===this.t&&(this.t=r,void 0===r&&l(function(){var e;null==(e=t.Z)||e.call(t)}))}},v.prototype.subscribe=function(e){var t=this;return _(function(){var n=t.value,r=o;o=void 0;try{e(n)}finally{o=r}},{name:"sub"})},v.prototype.valueOf=function(){return this.value},v.prototype.toString=function(){return this.value+""},v.prototype.toJSON=function(){return this.value},v.prototype.peek=function(){var e=this;return l(function(){return e.value})},Object.defineProperty(v.prototype,"value",{get:function(){var e=m(this);return void 0!==e&&(e.i=this.i),this.v},set:function(e){if(e!==this.v){if(d>100)throw Error("Cycle detected");0!==c&&0===d&&this.l!==h&&(this.l=h,p={S:this,v:this.v,i:this.i,o:p}),this.v=e,this.i++,g++,c++;try{for(var t=this.t;void 0!==t;t=t.x)t.t.N()}finally{i()}}}}),k.prototype=new v,k.prototype.h=function(){if(this.f&=-3,1&this.f)return!1;if(32==(36&this.f)||(this.f&=-5,this.g===g))return!0;if(this.g=g,this.f|=1,this.i>0&&!b(this))return this.f&=-2,!0;var e=o;try{w(this),o=this;var t=this.x();(16&this.f||this.v!==t||0===this.i)&&(this.v=t,this.f&=-17,this.i++)}catch(e){this.v=e,this.f|=16,this.i++}return o=e,A(this),this.f&=-2,!0},k.prototype.S=function(e){if(void 0===this.t){this.f|=36;for(var t=this.s;void 0!==t;t=t.n)t.S.S(t)}v.prototype.S.call(this,e)},k.prototype.U=function(e){if(void 0!==this.t&&(v.prototype.U.call(this,e),void 0===this.t)){this.f&=-33;for(var t=this.s;void 0!==t;t=t.n)t.S.U(t)}},k.prototype.N=function(){if(!(2&this.f)){this.f|=6;for(var e=this.t;void 0!==e;e=e.x)e.t.N()}},Object.defineProperty(k.prototype,"value",{get:function(){if(1&this.f)throw Error("Cycle detected");var e=m(this);if(this.h(),void 0!==e&&(e.i=this.i),16&this.f)throw this.v;return this.v}}),M.prototype.c=function(){var e=this.S();try{if(8&this.f||void 0===this.x)return;var t=this.x();"function"==typeof t&&(this.m=t)}finally{e()}},M.prototype.S=function(){if(1&this.f)throw Error("Cycle detected");this.f|=1,this.f&=-9,C(this),w(this),c++;var e=o;return o=this,I.bind(this,e)},M.prototype.N=function(){2&this.f||(this.f|=2,this.u=u,u=this)},M.prototype.d=function(){this.f|=8,1&this.f||S(this)},M.prototype.dispose=function(){this.d()}},53871:function(e,t,n){"use strict";let r,i,a;n.d(t,{B:function(){return R},D:function(){return ec},E:function(){return j},F:function(){return ed},H:function(){return ep},a:function(){return P},b:function(){return ex},c:function(){return eS},d:function(){return eE},e:function(){return S},i:function(){return O},u:function(){return D}});var o,l,s=n(51448),u=n(2265),c=n(49971);let d="undefined"==typeof window||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent)?u.useEffect:u.useLayoutEffect,f=e=>"object"==typeof e&&"function"==typeof e.then,h=[];function p(e,t,n=(e,t)=>e===t){if(e===t)return!0;if(!e||!t)return!1;let r=e.length;if(t.length!==r)return!1;for(let i=0;i<r;i++)if(!n(e[i],t[i]))return!1;return!0}function g(e,t=null,n=!1,r={}){for(let i of(null===t&&(t=[e]),h))if(p(t,i.keys,i.equal)){if(n)return;if(Object.prototype.hasOwnProperty.call(i,"error"))throw i.error;if(Object.prototype.hasOwnProperty.call(i,"response"))return r.lifespan&&r.lifespan>0&&(i.timeout&&clearTimeout(i.timeout),i.timeout=setTimeout(i.remove,r.lifespan)),i.response;if(!n)throw i.promise}let i={keys:t,equal:r.equal,remove:()=>{let e=h.indexOf(i);-1!==e&&h.splice(e,1)},promise:(f(e)?e:e(...t)).then(e=>{i.response=e,r.lifespan&&r.lifespan>0&&(i.timeout=setTimeout(i.remove,r.lifespan))}).catch(e=>i.error=e)};if(h.push(i),!n)throw i.promise}let m=(e,t,n)=>g(e,t,!1,n),v=(e,t,n)=>void g(e,t,!0,n),y=e=>{if(void 0===e||0===e.length)h.splice(0,h.length);else{let t=h.find(t=>p(e,t.keys,t.equal));t&&t.remove()}};var b=n(57437),w=n(27975),A=n.n(w),k=n(428),E=n(40257);let C={},S=e=>void Object.assign(C,e),I=e=>"colorSpace"in e||"outputColorSpace"in e,M=()=>{var e;return null!=(e=C.ColorManagement)?e:null},_=e=>e&&e.isOrthographicCamera,O=e=>e&&e.hasOwnProperty("current"),P="undefined"!=typeof window&&(null!=(o=window.document)&&o.createElement||(null==(l=window.navigator)?void 0:l.product)==="ReactNative")?u.useLayoutEffect:u.useEffect;function D(e){let t=u.useRef(e);return P(()=>void(t.current=e),[e]),t}function R({set:e}){return P(()=>(e(new Promise(()=>null)),()=>e(!1)),[e]),null}class j extends u.Component{constructor(...e){super(...e),this.state={error:!1}}componentDidCatch(e){this.props.set(e)}render(){return this.state.error?null:this.props.children}}j.getDerivedStateFromError=()=>({error:!0});let B="__default",z=new Map,L=e=>e&&!!e.memoized&&!!e.changes;function T(e){var t;let n="undefined"!=typeof window?null!=(t=window.devicePixelRatio)?t:2:1;return Array.isArray(e)?Math.min(Math.max(e[0],n),e[1]):e}let F=e=>{var t;return null==(t=e.__r3f)?void 0:t.root.getState()};function N(e){let t=e.__r3f.root;for(;t.getState().previousRoot;)t=t.getState().previousRoot;return t}let Q={obj:e=>e===Object(e)&&!Q.arr(e)&&"function"!=typeof e,fun:e=>"function"==typeof e,str:e=>"string"==typeof e,num:e=>"number"==typeof e,boo:e=>"boolean"==typeof e,und:e=>void 0===e,arr:e=>Array.isArray(e),equ(e,t,{arrays:n="shallow",objects:r="reference",strict:i=!0}={}){let a;if(typeof e!=typeof t||!!e!=!!t)return!1;if(Q.str(e)||Q.num(e)||Q.boo(e))return e===t;let o=Q.obj(e);if(o&&"reference"===r)return e===t;let l=Q.arr(e);if(l&&"reference"===n)return e===t;if((l||o)&&e===t)return!0;for(a in e)if(!(a in t))return!1;if(o&&"shallow"===n&&"shallow"===r){for(a in i?t:e)if(!Q.equ(e[a],t[a],{strict:i,objects:"reference"}))return!1}else for(a in i?t:e)if(e[a]!==t[a])return!1;if(Q.und(a)){if(l&&0===e.length&&0===t.length||o&&0===Object.keys(e).length&&0===Object.keys(t).length)return!0;if(e!==t)return!1}return!0}};function Z(e,t){return e.__r3f={type:"",root:null,previousAttach:null,memoizedProps:{},eventCount:0,handlers:{},objects:[],parent:null,...t},e}function V(e,t){let n=e;if(!t.includes("-"))return{target:n,key:t};{let r=t.split("-"),i=r.pop();return{target:n=r.reduce((e,t)=>e[t],e),key:i}}}let U=/-\d+$/;function H(e,t,n){if(Q.str(n)){if(U.test(n)){let{target:t,key:r}=V(e,n.replace(U,""));Array.isArray(t[r])||(t[r]=[])}let{target:r,key:i}=V(e,n);t.__r3f.previousAttach=r[i],r[i]=t}else t.__r3f.previousAttach=n(e,t)}function q(e,t,n){var r,i;if(Q.str(n)){let{target:r,key:i}=V(e,n),a=t.__r3f.previousAttach;void 0===a?delete r[i]:r[i]=a}else null==(r=t.__r3f)||null==r.previousAttach||r.previousAttach(e,t);null==(i=t.__r3f)||delete i.previousAttach}function W(e,{children:t,key:n,ref:r,...i},{children:a,key:o,ref:l,...s}={},u=!1){let c=e.__r3f,d=Object.entries(i),f=[];if(u){let e=Object.keys(s);for(let t=0;t<e.length;t++)i.hasOwnProperty(e[t])||d.unshift([e[t],B+"remove"])}d.forEach(([t,n])=>{var r;if(null!=(r=e.__r3f)&&r.primitive&&"object"===t||Q.equ(n,s[t]))return;if(/^on(Pointer|Click|DoubleClick|ContextMenu|Wheel)/.test(t))return f.push([t,n,!0,[]]);let a=[];for(let e in t.includes("-")&&(a=t.split("-")),f.push([t,n,!1,a]),i){let n=i[e];e.startsWith(`${t}-`)&&f.push([e,n,!1,e.split("-")])}});let h={...i};return null!=c&&c.memoizedProps&&null!=c&&c.memoizedProps.args&&(h.args=c.memoizedProps.args),null!=c&&c.memoizedProps&&null!=c&&c.memoizedProps.attach&&(h.attach=c.memoizedProps.attach),{memoized:h,changes:f}}let $=void 0!==E&&!1;function G(e,t){var n,r,i;let a=e.__r3f,o=null==a?void 0:a.root,l=null==o?void 0:null==o.getState?void 0:o.getState(),{memoized:u,changes:c}=L(t)?t:W(e,t),d=null==a?void 0:a.eventCount;e.__r3f&&(e.__r3f.memoizedProps=u);for(let t=0;t<c.length;t++){let[n,o,u,d]=c[t];if(I(e)){let e="srgb",t="srgb-linear";"encoding"===n?(n="colorSpace",o=3001===o?e:t):"outputEncoding"===n&&(n="outputColorSpace",o=3001===o?e:t)}let f=e,h=f[n];if(d.length&&!((h=d.reduce((e,t)=>e[t],e))&&h.set)){let[t,...r]=d.reverse();f=r.reverse().reduce((e,t)=>e[t],e),n=t}if(o===B+"remove"){if(f.constructor){let e=z.get(f.constructor);e||(e=new f.constructor,z.set(f.constructor,e)),o=e[n]}else o=0}if(u&&a)o?a.handlers[n]=o:delete a.handlers[n],a.eventCount=Object.keys(a.handlers).length;else if(h&&h.set&&(h.copy||h instanceof s.Layers)){if(Array.isArray(o))h.fromArray?h.fromArray(o):h.set(...o);else if(h.copy&&o&&o.constructor&&($?h.constructor.name===o.constructor.name:h.constructor===o.constructor))h.copy(o);else if(void 0!==o){let e=null==(r=h)?void 0:r.isColor;!e&&h.setScalar?h.setScalar(o):h instanceof s.Layers&&o instanceof s.Layers?h.mask=o.mask:h.set(o),!M()&&l&&!l.linear&&e&&h.convertSRGBToLinear()}}else if(f[n]=o,null!=(i=f[n])&&i.isTexture&&f[n].format===s.RGBAFormat&&f[n].type===s.UnsignedByteType&&l){let e=f[n];I(e)&&I(l.gl)?e.colorSpace=l.gl.outputColorSpace:e.encoding=l.gl.outputEncoding}Y(e)}if(a&&a.parent&&e.raycast&&d!==a.eventCount){let t=N(e).getState().internal,n=t.interaction.indexOf(e);n>-1&&t.interaction.splice(n,1),a.eventCount&&t.interaction.push(e)}return!(1===c.length&&"onUpdate"===c[0][0])&&c.length&&null!=(n=e.__r3f)&&n.parent&&X(e),e}function Y(e){var t,n;let r=null==(t=e.__r3f)?void 0:null==(n=t.root)?void 0:null==n.getState?void 0:n.getState();r&&0===r.internal.frames&&r.invalidate()}function X(e){null==e.onUpdate||e.onUpdate(e)}function K(e){return(e.eventObject||e.object).uuid+"/"+e.index+e.instanceId}function J(e,t,n,r){let i=n.get(t);i&&(n.delete(t),0===n.size&&(e.delete(r),i.target.releasePointerCapture(r)))}let ee=e=>!!(null!=e&&e.render),et=u.createContext(null),en=(e,t)=>{let n=function(e){let t="function"==typeof e?function(e){let t;let n=new Set,r=(e,r)=>{let i="function"==typeof e?e(t):e;if(i!==t){let e=t;t=r?i:Object.assign({},t,i),n.forEach(n=>n(t,e))}},i=()=>t,a=(e,r=i,a=Object.is)=>{console.warn("[DEPRECATED] Please use `subscribeWithSelector` middleware");let o=r(t);function l(){let n=r(t);if(!a(o,n)){let t=o;e(o=n,t)}}return n.add(l),()=>n.delete(l)},o={setState:r,getState:i,subscribe:(e,t,r)=>t||r?a(e,t,r):(n.add(e),()=>n.delete(e)),destroy:()=>n.clear()};return t=e(r,i,o),o}(e):e,n=(e=t.getState,n=Object.is)=>{let r;let[,i]=(0,u.useReducer)(e=>e+1,0),a=t.getState(),o=(0,u.useRef)(a),l=(0,u.useRef)(e),s=(0,u.useRef)(n),c=(0,u.useRef)(!1),f=(0,u.useRef)();void 0===f.current&&(f.current=e(a));let h=!1;(o.current!==a||l.current!==e||s.current!==n||c.current)&&(r=e(a),h=!n(f.current,r)),d(()=>{h&&(f.current=r),o.current=a,l.current=e,s.current=n,c.current=!1});let p=(0,u.useRef)(a);d(()=>{let e=()=>{try{let e=t.getState(),n=l.current(e);s.current(f.current,n)||(o.current=e,f.current=n,i())}catch(e){c.current=!0,i()}},n=t.subscribe(e);return t.getState()!==p.current&&e(),n},[]);let g=h?r:f.current;return(0,u.useDebugValue)(g),g};return Object.assign(n,t),n[Symbol.iterator]=function(){console.warn("[useStore, api] = create() is deprecated and will be removed in v4");let e=[n,t];return{next(){let t=e.length<=0;return{value:e.shift(),done:t}}}},n}((n,r)=>{let i;let a=new s.Vector3,o=new s.Vector3,l=new s.Vector3;function c(e=r().camera,t=o,n=r().size){let{width:i,height:s,top:u,left:c}=n,d=i/s;t.isVector3?l.copy(t):l.set(...t);let f=e.getWorldPosition(a).distanceTo(l);if(_(e))return{width:i/e.zoom,height:s/e.zoom,top:u,left:c,factor:1,distance:f,aspect:d};{let t=2*Math.tan(e.fov*Math.PI/180/2)*f,n=i/s*t;return{width:n,height:t,top:u,left:c,factor:i/n,distance:f,aspect:d}}}let d=e=>n(t=>({performance:{...t.performance,current:e}})),f=new s.Vector2;return{set:n,get:r,gl:null,camera:null,raycaster:null,events:{priority:1,enabled:!0,connected:!1},xr:null,scene:null,invalidate:(t=1)=>e(r(),t),advance:(e,n)=>t(e,n,r()),legacy:!1,linear:!1,flat:!1,controls:null,clock:new s.Clock,pointer:f,mouse:f,frameloop:"always",onPointerMissed:void 0,performance:{current:1,min:.5,max:1,debounce:200,regress:()=>{let e=r();i&&clearTimeout(i),e.performance.current!==e.performance.min&&d(e.performance.min),i=setTimeout(()=>d(r().performance.max),e.performance.debounce)}},size:{width:0,height:0,top:0,left:0,updateStyle:!1},viewport:{initialDpr:0,dpr:0,width:0,height:0,top:0,left:0,aspect:0,distance:0,factor:0,getCurrentViewport:c},setEvents:e=>n(t=>({...t,events:{...t.events,...e}})),setSize:(e,t,i,a,l)=>{let s=r().camera,u={width:e,height:t,top:a||0,left:l||0,updateStyle:i};n(e=>({size:u,viewport:{...e.viewport,...c(s,o,u)}}))},setDpr:e=>n(t=>{let n=T(e);return{viewport:{...t.viewport,dpr:n,initialDpr:t.viewport.initialDpr||n}}}),setFrameloop:(e="always")=>{let t=r().clock;t.stop(),t.elapsedTime=0,"never"!==e&&(t.start(),t.elapsedTime=0),n(()=>({frameloop:e}))},previousRoot:void 0,internal:{active:!1,priority:0,frames:0,lastEvent:u.createRef(),interaction:[],hovered:new Map,subscribers:[],initialClick:[0,0],initialHits:[],capturedMap:new Map,subscribe:(e,t,n)=>{let i=r().internal;return i.priority=i.priority+(t>0?1:0),i.subscribers.push({ref:e,priority:t,store:n}),i.subscribers=i.subscribers.sort((e,t)=>e.priority-t.priority),()=>{let n=r().internal;null!=n&&n.subscribers&&(n.priority=n.priority-(t>0?1:0),n.subscribers=n.subscribers.filter(t=>t.ref!==e))}}}}}),r=n.getState(),i=r.size,a=r.viewport.dpr,o=r.camera;return n.subscribe(()=>{let{camera:e,size:t,viewport:r,gl:l,set:s}=n.getState();if(t.width!==i.width||t.height!==i.height||r.dpr!==a){var u;i=t,a=r.dpr,e.manual||(_(e)?(e.left=-(t.width/2),e.right=t.width/2,e.top=t.height/2,e.bottom=-(t.height/2)):e.aspect=t.width/t.height,e.updateProjectionMatrix(),e.updateMatrixWorld()),l.setPixelRatio(r.dpr);let n=null!=(u=t.updateStyle)?u:"undefined"!=typeof HTMLCanvasElement&&l.domElement instanceof HTMLCanvasElement;l.setSize(t.width,t.height,n)}e!==o&&(o=e,s(t=>({viewport:{...t.viewport,...t.viewport.getCurrentViewport(e)}})))}),n.subscribe(t=>e(t)),n},er=new Set,ei=new Set,ea=new Set;function eo(e,t){if(e.size)for(let{callback:n}of e.values())n(t)}function el(e,t){switch(e){case"before":return eo(er,t);case"after":return eo(ei,t);case"tail":return eo(ea,t)}}function es(e,t,n){let o=t.clock.getDelta();for("never"===t.frameloop&&"number"==typeof e&&(o=e-t.clock.elapsedTime,t.clock.oldTime=t.clock.elapsedTime,t.clock.elapsedTime=e),i=t.internal.subscribers,r=0;r<i.length;r++)(a=i[r]).ref.current(a.store.getState(),o,n);return!t.internal.priority&&t.gl.render&&t.gl.render(t.scene,t.camera),t.internal.frames=Math.max(0,t.internal.frames-1),"always"===t.frameloop?1:t.internal.frames}function eu(){let e=u.useContext(et);if(!e)throw Error("R3F: Hooks can only be used within the Canvas component!");return e}function ec(e=e=>e,t){return eu()(e,t)}function ed(e,t=0){let n=eu(),r=n.getState().internal.subscribe,i=D(e);return P(()=>r(i,t,n),[t,r,n]),null}let ef=new WeakMap;function eh(e,t){return function(n,...r){let i=ef.get(n);return i||(i=new n,ef.set(n,i)),e&&e(i),Promise.all(r.map(e=>new Promise((n,r)=>i.load(e,e=>{e.scene&&Object.assign(e,function(e){let t={nodes:{},materials:{}};return e&&e.traverse(e=>{e.name&&(t.nodes[e.name]=e),e.material&&!t.materials[e.material.name]&&(t.materials[e.material.name]=e.material)}),t}(e.scene)),n(e)},t,t=>r(Error(`Could not load ${e}: ${null==t?void 0:t.message}`))))))}}function ep(e,t,n,r){let i=Array.isArray(t)?t:[t],a=m(eh(n,r),[e,...i],{equal:Q.equ});return Array.isArray(t)?a:a[0]}ep.preload=function(e,t,n){let r=Array.isArray(t)?t:[t];return v(eh(n),[e,...r])},ep.clear=function(e,t){return y([e,...Array.isArray(t)?t:[t]])};let eg=new Map,{invalidate:em,advance:ev}=function(e){let t,n,r,i=!1,a=!1;function o(l){for(let u of(n=requestAnimationFrame(o),i=!0,t=0,el("before",l),a=!0,e.values())){var s;(r=u.store.getState()).internal.active&&("always"===r.frameloop||r.internal.frames>0)&&!(null!=(s=r.gl.xr)&&s.isPresenting)&&(t+=es(l,r))}if(a=!1,el("after",l),0===t)return el("tail",l),i=!1,cancelAnimationFrame(n)}return{loop:o,invalidate:function t(n,r=1){var l;if(!n)return e.forEach(e=>t(e.store.getState(),r));null!=(l=n.gl.xr)&&l.isPresenting||!n.internal.active||"never"===n.frameloop||(r>1?n.internal.frames=Math.min(60,n.internal.frames+r):a?n.internal.frames=2:n.internal.frames=1,i||(i=!0,requestAnimationFrame(o)))},advance:function(t,n=!0,r,i){if(n&&el("before",t),r)es(t,r,i);else for(let n of e.values())es(t,n.store.getState());n&&el("after",t)}}}(eg),{reconciler:ey,applyProps:eb}=function(e,t){function n(e,{args:t=[],attach:n,...r},i){let a,o=`${e[0].toUpperCase()}${e.slice(1)}`;if("primitive"===e){if(void 0===r.object)throw Error("R3F: Primitives without 'object' are invalid!");a=Z(r.object,{type:e,root:i,attach:n,primitive:!0})}else{let r=C[o];if(!r)throw Error(`R3F: ${o} is not part of the THREE namespace! Did you forget to extend? See: https://docs.pmnd.rs/react-three-fiber/api/objects#using-3rd-party-objects-declaratively`);if(!Array.isArray(t))throw Error("R3F: The args prop must be an array!");a=Z(new r(...t),{type:e,root:i,attach:n,memoizedProps:{args:t}})}return void 0===a.__r3f.attach&&(a.isBufferGeometry?a.__r3f.attach="geometry":a.isMaterial&&(a.__r3f.attach="material")),"inject"!==o&&G(a,r),a}function r(e,t){let n=!1;if(t){var r,i;null!=(r=t.__r3f)&&r.attach?H(e,t,t.__r3f.attach):t.isObject3D&&e.isObject3D&&(e.add(t),n=!0),n||null==(i=e.__r3f)||i.objects.push(t),t.__r3f||Z(t,{}),t.__r3f.parent=e,X(t),Y(t)}}function i(e,t,n){let r=!1;if(t){var i,a;if(null!=(i=t.__r3f)&&i.attach)H(e,t,t.__r3f.attach);else if(t.isObject3D&&e.isObject3D){t.parent=e,t.dispatchEvent({type:"added"}),e.dispatchEvent({type:"childadded",child:t});let i=e.children.filter(e=>e!==t),a=i.indexOf(n);e.children=[...i.slice(0,a),t,...i.slice(a)],r=!0}r||null==(a=e.__r3f)||a.objects.push(t),t.__r3f||Z(t,{}),t.__r3f.parent=e,X(t),Y(t)}}function a(e,t,n=!1){e&&[...e].forEach(e=>o(t,e,n))}function o(e,t,n){if(t){var r,i,o,l,s;t.__r3f&&(t.__r3f.parent=null),null!=(r=e.__r3f)&&r.objects&&(e.__r3f.objects=e.__r3f.objects.filter(e=>e!==t)),null!=(i=t.__r3f)&&i.attach?q(e,t,t.__r3f.attach):t.isObject3D&&e.isObject3D&&(e.remove(t),null!=(l=t.__r3f)&&l.root&&function(e,t){let{internal:n}=e.getState();n.interaction=n.interaction.filter(e=>e!==t),n.initialHits=n.initialHits.filter(e=>e!==t),n.hovered.forEach((e,r)=>{(e.eventObject===t||e.object===t)&&n.hovered.delete(r)}),n.capturedMap.forEach((e,r)=>{J(n.capturedMap,t,e,r)})}(N(t),t));let u=null==(o=t.__r3f)?void 0:o.primitive,c=!u&&(void 0===n?null!==t.dispose:n);if(u||(a(null==(s=t.__r3f)?void 0:s.objects,t,c),a(t.children,t,c)),delete t.__r3f,c&&t.dispose&&"Scene"!==t.type){let e=()=>{try{t.dispose()}catch(e){}};"undefined"==typeof IS_REACT_ACT_ENVIRONMENT?(0,k.unstable_scheduleCallback)(k.unstable_IdlePriority,e):e()}Y(e)}}let l=()=>{};return{reconciler:A()({createInstance:n,removeChild:o,appendChild:r,appendInitialChild:r,insertBefore:i,supportsMutation:!0,isPrimaryRenderer:!1,supportsPersistence:!1,supportsHydration:!1,noTimeout:-1,appendChildToContainer:(e,t)=>{if(!t)return;let n=e.getState().scene;n.__r3f&&(n.__r3f.root=e,r(n,t))},removeChildFromContainer:(e,t)=>{t&&o(e.getState().scene,t)},insertInContainerBefore:(e,t,n)=>{if(!t||!n)return;let r=e.getState().scene;r.__r3f&&i(r,t,n)},getRootHostContext:()=>null,getChildHostContext:e=>e,finalizeInitialChildren(e){var t;return!!(null!=(t=null==e?void 0:e.__r3f)?t:{}).handlers},prepareUpdate(e,t,n,r){var i;if((null!=(i=null==e?void 0:e.__r3f)?i:{}).primitive&&r.object&&r.object!==e)return[!0];{let{args:t=[],children:i,...a}=r,{args:o=[],children:l,...s}=n;if(!Array.isArray(t))throw Error("R3F: the args prop must be an array!");if(t.some((e,t)=>e!==o[t]))return[!0];let u=W(e,a,s,!0);return u.changes.length?[!1,u]:null}},commitUpdate(e,[t,i],a,l,s,u){t?function(e,t,i,a){var l;let s=null==(l=e.__r3f)?void 0:l.parent;if(!s)return;let u=n(t,i,e.__r3f.root);if(e.children){for(let t of e.children)t.__r3f&&r(u,t);e.children=e.children.filter(e=>!e.__r3f)}e.__r3f.objects.forEach(e=>r(u,e)),e.__r3f.objects=[],e.__r3f.autoRemovedBeforeAppend||o(s,e),u.parent&&(u.__r3f.autoRemovedBeforeAppend=!0),r(s,u),u.raycast&&u.__r3f.eventCount&&N(u).getState().internal.interaction.push(u),[a,a.alternate].forEach(e=>{null!==e&&(e.stateNode=u,e.ref&&("function"==typeof e.ref?e.ref(u):e.ref.current=u))})}(e,a,s,u):G(e,i)},commitMount(e,t,n,r){var i;let a=null!=(i=e.__r3f)?i:{};e.raycast&&a.handlers&&a.eventCount&&N(e).getState().internal.interaction.push(e)},getPublicInstance:e=>e,prepareForCommit:()=>null,preparePortalMount:e=>Z(e.getState().scene),resetAfterCommit:()=>{},shouldSetTextContent:()=>!1,clearContainer:()=>!1,hideInstance(e){var t;let{attach:n,parent:r}=null!=(t=e.__r3f)?t:{};n&&r&&q(r,e,n),e.isObject3D&&(e.visible=!1),Y(e)},unhideInstance(e,t){var n;let{attach:r,parent:i}=null!=(n=e.__r3f)?n:{};r&&i&&H(i,e,r),(e.isObject3D&&null==t.visible||t.visible)&&(e.visible=!0),Y(e)},createTextInstance:l,hideTextInstance:l,unhideTextInstance:l,getCurrentEventPriority:()=>t?t():c.DefaultEventPriority,beforeActiveInstanceBlur:()=>{},afterActiveInstanceBlur:()=>{},detachDeletedInstance:()=>{},now:"undefined"!=typeof performance&&Q.fun(performance.now)?performance.now:Q.fun(Date.now)?Date.now:()=>0,scheduleTimeout:Q.fun(setTimeout)?setTimeout:void 0,cancelTimeout:Q.fun(clearTimeout)?clearTimeout:void 0}),applyProps:G}}(0,function(){var e;let t="undefined"!=typeof self&&self||"undefined"!=typeof window&&window;if(!t)return c.DefaultEventPriority;switch(null==(e=t.event)?void 0:e.type){case"click":case"contextmenu":case"dblclick":case"pointercancel":case"pointerdown":case"pointerup":return c.DiscreteEventPriority;case"pointermove":case"pointerout":case"pointerover":case"pointerenter":case"pointerleave":case"wheel":return c.ContinuousEventPriority;default:return c.DefaultEventPriority}}),ew={objects:"shallow",strict:!1},eA=(e,t)=>{let n="function"==typeof e?e(t):e;return ee(n)?n:new s.WebGLRenderer({powerPreference:"high-performance",canvas:t,antialias:!0,alpha:!0,...e})};function ex(e){let t,n;let r=eg.get(e),i=null==r?void 0:r.fiber,a=null==r?void 0:r.store;r&&console.warn("R3F.createRoot should only be called once!");let o="function"==typeof reportError?reportError:console.error,l=a||en(em,ev),u=i||ey.createContainer(l,c.ConcurrentRoot,null,!1,null,"",o,null);r||eg.set(e,{fiber:u,store:l});let d=!1;return{configure(r={}){var i,a;let{gl:o,size:u,scene:c,events:f,onCreated:h,shadows:p=!1,linear:g=!1,flat:m=!1,legacy:v=!1,orthographic:y=!1,frameloop:b="always",dpr:w=[1,2],performance:A,raycaster:k,camera:E,onPointerMissed:C}=r,S=l.getState(),I=S.gl;S.gl||S.set({gl:I=eA(o,e)});let _=S.raycaster;_||S.set({raycaster:_=new s.Raycaster});let{params:O,...P}=k||{};if(Q.equ(P,_,ew)||eb(_,{...P}),Q.equ(O,_.params,ew)||eb(_,{params:{..._.params,...O}}),!S.camera||S.camera===n&&!Q.equ(n,E,ew)){n=E;let e=E instanceof s.Camera,t=e?E:y?new s.OrthographicCamera(0,0,0,0,.1,1e3):new s.PerspectiveCamera(75,0,.1,1e3);e||(t.position.z=5,E&&(eb(t,E),("aspect"in E||"left"in E||"right"in E||"bottom"in E||"top"in E)&&(t.manual=!0,t.updateProjectionMatrix())),S.camera||null!=E&&E.rotation||t.lookAt(0,0,0)),S.set({camera:t}),_.camera=t}if(!S.scene){let e;null!=c&&c.isScene?e=c:(e=new s.Scene,c&&eb(e,c)),S.set({scene:Z(e)})}if(!S.xr){let e=(e,t)=>{let n=l.getState();"never"!==n.frameloop&&ev(e,!0,n,t)},t=()=>{let t=l.getState();t.gl.xr.enabled=t.gl.xr.isPresenting,t.gl.xr.setAnimationLoop(t.gl.xr.isPresenting?e:null),t.gl.xr.isPresenting||em(t)},n={connect(){let e=l.getState().gl;e.xr.addEventListener("sessionstart",t),e.xr.addEventListener("sessionend",t)},disconnect(){let e=l.getState().gl;e.xr.removeEventListener("sessionstart",t),e.xr.removeEventListener("sessionend",t)}};"function"==typeof(null==(i=I.xr)?void 0:i.addEventListener)&&n.connect(),S.set({xr:n})}if(I.shadowMap){let e=I.shadowMap.enabled,t=I.shadowMap.type;if(I.shadowMap.enabled=!!p,Q.boo(p))I.shadowMap.type=s.PCFSoftShadowMap;else if(Q.str(p)){let e={basic:s.BasicShadowMap,percentage:s.PCFShadowMap,soft:s.PCFSoftShadowMap,variance:s.VSMShadowMap};I.shadowMap.type=null!=(a=e[p])?a:s.PCFSoftShadowMap}else Q.obj(p)&&Object.assign(I.shadowMap,p);(e!==I.shadowMap.enabled||t!==I.shadowMap.type)&&(I.shadowMap.needsUpdate=!0)}let D=M();D&&("enabled"in D?D.enabled=!v:"legacyMode"in D&&(D.legacyMode=v)),d||eb(I,{outputEncoding:g?3e3:3001,toneMapping:m?s.NoToneMapping:s.ACESFilmicToneMapping}),S.legacy!==v&&S.set(()=>({legacy:v})),S.linear!==g&&S.set(()=>({linear:g})),S.flat!==m&&S.set(()=>({flat:m})),!o||Q.fun(o)||ee(o)||Q.equ(o,I,ew)||eb(I,o),f&&!S.events.handlers&&S.set({events:f(l)});let R=function(e,t){let n="undefined"!=typeof HTMLCanvasElement&&e instanceof HTMLCanvasElement;if(t){let{width:e,height:r,top:i,left:a,updateStyle:o=n}=t;return{width:e,height:r,top:i,left:a,updateStyle:o}}if("undefined"!=typeof HTMLCanvasElement&&e instanceof HTMLCanvasElement&&e.parentElement){let{width:t,height:r,top:i,left:a}=e.parentElement.getBoundingClientRect();return{width:t,height:r,top:i,left:a,updateStyle:n}}return"undefined"!=typeof OffscreenCanvas&&e instanceof OffscreenCanvas?{width:e.width,height:e.height,top:0,left:0,updateStyle:n}:{width:0,height:0,top:0,left:0}}(e,u);return Q.equ(R,S.size,ew)||S.setSize(R.width,R.height,R.updateStyle,R.top,R.left),w&&S.viewport.dpr!==T(w)&&S.setDpr(w),S.frameloop!==b&&S.setFrameloop(b),S.onPointerMissed||S.set({onPointerMissed:C}),A&&!Q.equ(A,S.performance,ew)&&S.set(e=>({performance:{...e.performance,...A}})),t=h,d=!0,this},render(n){return d||this.configure(),ey.updateContainer((0,b.jsx)(ek,{store:l,children:n,onCreated:t,rootElement:e}),u,null,()=>void 0),l},unmount(){eE(e)}}}function ek({store:e,children:t,onCreated:n,rootElement:r}){return P(()=>{let t=e.getState();t.set(e=>({internal:{...e.internal,active:!0}})),n&&n(t),e.getState().events.connected||null==t.events.connect||t.events.connect(r)},[]),(0,b.jsx)(et.Provider,{value:e,children:t})}function eE(e,t){let n=eg.get(e),r=null==n?void 0:n.fiber;if(r){let i=null==n?void 0:n.store.getState();i&&(i.internal.active=!1),ey.updateContainer(null,r,null,()=>{i&&setTimeout(()=>{try{var n,r,a,o;null==i.events.disconnect||i.events.disconnect(),null==(n=i.gl)||null==(r=n.renderLists)||null==r.dispose||r.dispose(),null==(a=i.gl)||null==a.forceContextLoss||a.forceContextLoss(),null!=(o=i.gl)&&o.xr&&i.xr.disconnect(),function(e){for(let t in e.dispose&&"Scene"!==e.type&&e.dispose(),e)null==t.dispose||t.dispose(),delete e[t]}(i),eg.delete(e),t&&t(e)}catch(e){}},500)})}}ey.injectIntoDevTools({bundleType:0,rendererPackageName:"@react-three/fiber",version:u.version}),u.unstable_act;let eC={onClick:["click",!1],onContextMenu:["contextmenu",!1],onDoubleClick:["dblclick",!1],onWheel:["wheel",!0],onPointerDown:["pointerdown",!0],onPointerUp:["pointerup",!0],onPointerLeave:["pointerleave",!0],onPointerMove:["pointermove",!0],onPointerCancel:["pointercancel",!0],onLostPointerCapture:["lostpointercapture",!0]};function eS(e){let{handlePointer:t}=function(e){function t(e){return e.filter(e=>["Move","Over","Enter","Out","Leave"].some(t=>{var n;return null==(n=e.__r3f)?void 0:n.handlers["onPointer"+t]}))}function n(t){let{internal:n}=e.getState();for(let e of n.hovered.values())if(!t.length||!t.find(t=>t.object===e.object&&t.index===e.index&&t.instanceId===e.instanceId)){let r=e.eventObject.__r3f,i=null==r?void 0:r.handlers;if(n.hovered.delete(K(e)),null!=r&&r.eventCount){let n={...e,intersections:t};null==i.onPointerOut||i.onPointerOut(n),null==i.onPointerLeave||i.onPointerLeave(n)}}}function r(e,t){for(let n=0;n<t.length;n++){let r=t[n].__r3f;null==r||null==r.handlers.onPointerMissed||r.handlers.onPointerMissed(e)}}return{handlePointer:function(i){switch(i){case"onPointerLeave":case"onPointerCancel":return()=>n([]);case"onLostPointerCapture":return t=>{let{internal:r}=e.getState();"pointerId"in t&&r.capturedMap.has(t.pointerId)&&requestAnimationFrame(()=>{r.capturedMap.has(t.pointerId)&&(r.capturedMap.delete(t.pointerId),n([]))})}}return function(a){let{onPointerMissed:o,internal:l}=e.getState();l.lastEvent.current=a;let u="onPointerMove"===i,c="onClick"===i||"onContextMenu"===i||"onDoubleClick"===i,d=function(t,n){let r=e.getState(),i=new Set,a=[],o=n?n(r.internal.interaction):r.internal.interaction;for(let e=0;e<o.length;e++){let t=F(o[e]);t&&(t.raycaster.camera=void 0)}r.previousRoot||null==r.events.compute||r.events.compute(t,r);let l=o.flatMap(function(e){let n=F(e);if(!n||!n.events.enabled||null===n.raycaster.camera)return[];if(void 0===n.raycaster.camera){var r;null==n.events.compute||n.events.compute(t,n,null==(r=n.previousRoot)?void 0:r.getState()),void 0===n.raycaster.camera&&(n.raycaster.camera=null)}return n.raycaster.camera?n.raycaster.intersectObject(e,!0):[]}).sort((e,t)=>{let n=F(e.object),r=F(t.object);return n&&r&&r.events.priority-n.events.priority||e.distance-t.distance}).filter(e=>{let t=K(e);return!i.has(t)&&(i.add(t),!0)});for(let e of(r.events.filter&&(l=r.events.filter(l,r)),l)){let t=e.object;for(;t;){var s;null!=(s=t.__r3f)&&s.eventCount&&a.push({...e,eventObject:t}),t=t.parent}}if("pointerId"in t&&r.internal.capturedMap.has(t.pointerId))for(let e of r.internal.capturedMap.get(t.pointerId).values())i.has(K(e.intersection))||a.push(e.intersection);return a}(a,u?t:void 0),f=c?function(t){let{internal:n}=e.getState(),r=t.offsetX-n.initialClick[0],i=t.offsetY-n.initialClick[1];return Math.round(Math.sqrt(r*r+i*i))}(a):0;"onPointerDown"===i&&(l.initialClick=[a.offsetX,a.offsetY],l.initialHits=d.map(e=>e.eventObject)),c&&!d.length&&f<=2&&(r(a,l.interaction),o&&o(a)),u&&n(d),function(t,r,i,a){let o=e.getState();if(t.length){let e={stopped:!1};for(let l of t){let{raycaster:u,pointer:c,camera:d,internal:f}=F(l.object)||o,h=new s.Vector3(c.x,c.y,0).unproject(d),p=e=>{var t,n;return null!=(t=null==(n=f.capturedMap.get(e))?void 0:n.has(l.eventObject))&&t},g=e=>{let t={intersection:l,target:r.target};f.capturedMap.has(e)?f.capturedMap.get(e).set(l.eventObject,t):f.capturedMap.set(e,new Map([[l.eventObject,t]])),r.target.setPointerCapture(e)},m=e=>{let t=f.capturedMap.get(e);t&&J(f.capturedMap,l.eventObject,t,e)},v={};for(let e in r){let t=r[e];"function"!=typeof t&&(v[e]=t)}let y={...l,...v,pointer:c,intersections:t,stopped:e.stopped,delta:i,unprojectedPoint:h,ray:u.ray,camera:d,stopPropagation(){let i="pointerId"in r&&f.capturedMap.get(r.pointerId);(!i||i.has(l.eventObject))&&(y.stopped=e.stopped=!0,f.hovered.size&&Array.from(f.hovered.values()).find(e=>e.eventObject===l.eventObject)&&n([...t.slice(0,t.indexOf(l)),l]))},target:{hasPointerCapture:p,setPointerCapture:g,releasePointerCapture:m},currentTarget:{hasPointerCapture:p,setPointerCapture:g,releasePointerCapture:m},nativeEvent:r};if(a(y),!0===e.stopped)break}}}(d,a,f,function(e){let t=e.eventObject,n=t.__r3f,o=null==n?void 0:n.handlers;if(null!=n&&n.eventCount){if(u){if(o.onPointerOver||o.onPointerEnter||o.onPointerOut||o.onPointerLeave){let t=K(e),n=l.hovered.get(t);n?n.stopped&&e.stopPropagation():(l.hovered.set(t,e),null==o.onPointerOver||o.onPointerOver(e),null==o.onPointerEnter||o.onPointerEnter(e))}null==o.onPointerMove||o.onPointerMove(e)}else{let n=o[i];n?(!c||l.initialHits.includes(t))&&(r(a,l.interaction.filter(e=>!l.initialHits.includes(e))),n(e)):c&&l.initialHits.includes(t)&&r(a,l.interaction.filter(e=>!l.initialHits.includes(e)))}}})}}}}(e);return{priority:1,enabled:!0,compute(e,t,n){t.pointer.set(e.offsetX/t.size.width*2-1,-(e.offsetY/t.size.height*2)+1),t.raycaster.setFromCamera(t.pointer,t.camera)},connected:void 0,handlers:Object.keys(eC).reduce((e,n)=>({...e,[n]:t(n)}),{}),update:()=>{var t;let{events:n,internal:r}=e.getState();null!=(t=r.lastEvent)&&t.current&&n.handlers&&n.handlers.onPointerMove(r.lastEvent.current)},connect:t=>{var n;let{set:r,events:i}=e.getState();null==i.disconnect||i.disconnect(),r(e=>({events:{...e.events,connected:t}})),Object.entries(null!=(n=i.handlers)?n:[]).forEach(([e,n])=>{let[r,i]=eC[e];t.addEventListener(r,n,{passive:i})})},disconnect:()=>{let{set:t,events:n}=e.getState();if(n.connected){var r;Object.entries(null!=(r=n.handlers)?r:[]).forEach(([e,t])=>{if(n&&n.connected instanceof HTMLElement){let[r]=eC[e];n.connected.removeEventListener(r,t)}}),t(e=>({events:{...e.events,connected:void 0}}))}}}}},36496:function(e,t,n){"use strict";n.d(t,{Xz:function(){return I}});var r,i,a=n(53871),o=n(2265),l=n(51448);function s(e,t){let n;return(...r)=>{window.clearTimeout(n),n=window.setTimeout(()=>e(...r),t)}}let u=["x","y","top","bottom","left","right","width","height"],c=(e,t)=>u.every(n=>e[n]===t[n]);var d=Object.defineProperty,f=Object.defineProperties,h=Object.getOwnPropertyDescriptors,p=Object.getOwnPropertySymbols,g=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable,v=(e,t,n)=>t in e?d(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,y=(e,t)=>{for(var n in t||(t={}))g.call(t,n)&&v(e,n,t[n]);if(p)for(var n of p(t))m.call(t,n)&&v(e,n,t[n]);return e},b=(e,t)=>f(e,h(t));function w(e){try{return Object.defineProperties(e,{_currentRenderer:{get:()=>null,set(){}},_currentRenderer2:{get:()=>null,set(){}}})}catch(t){return e}}"undefined"!=typeof window&&((null==(r=window.document)?void 0:r.createElement)||(null==(i=window.navigator)?void 0:i.product)==="ReactNative")?o.useLayoutEffect:o.useEffect;let A=console.error;console.error=function(){let e=[...arguments].join("");if((null==e?void 0:e.startsWith("Warning:"))&&e.includes("useContext")){console.error=A;return}return A.apply(this,arguments)};let k=w(o.createContext(null));class E extends o.Component{render(){return o.createElement(k.Provider,{value:this._reactInternals},this.props.children)}}var C=n(57437);n(49971),n(27975),n(428);let S=o.forwardRef(function({children:e,fallback:t,resize:n,style:r,gl:i,events:u=a.c,eventSource:d,eventPrefix:f,shadows:h,linear:p,flat:g,legacy:m,orthographic:v,frameloop:A,dpr:S,performance:I,raycaster:M,camera:_,scene:O,onPointerMissed:P,onCreated:D,...R},j){o.useMemo(()=>(0,a.e)(l),[]);let B=function(){let e=function(){let e=function(){let e=o.useContext(k);if(null===e)throw Error("its-fine: useFiber must be called within a <FiberProvider />!");let t=o.useId();return o.useMemo(()=>{for(let n of[e,null==e?void 0:e.alternate]){if(!n)continue;let e=function e(t,n,r){if(!t)return;if(!0===r(t))return t;let i=n?t.return:t.child;for(;i;){let t=e(i,n,r);if(t)return t;i=n?null:i.sibling}}(n,!1,e=>{let n=e.memoizedState;for(;n;){if(n.memoizedState===t)return!0;n=n.next}});if(e)return e}},[e,t])}(),[t]=o.useState(()=>new Map);t.clear();let n=e;for(;n;){if(n.type&&"object"==typeof n.type){let e=void 0===n.type._context&&n.type.Provider===n.type?n.type:n.type._context;e&&e!==k&&!t.has(e)&&t.set(e,o.useContext(w(e)))}n=n.return}return t}();return o.useMemo(()=>Array.from(e.keys()).reduce((t,n)=>r=>o.createElement(t,null,o.createElement(n.Provider,b(y({},r),{value:e.get(n)}))),e=>o.createElement(E,y({},e))),[e])}(),[z,L]=function({debounce:e,scroll:t,polyfill:n,offsetSize:r}={debounce:0,scroll:!1,offsetSize:!1}){var i;let a=n||("undefined"==typeof window?class{}:window.ResizeObserver);if(!a)throw Error("This browser does not support ResizeObserver out of the box. See: https://github.com/react-spring/react-use-measure/#resize-observer-polyfills");let[l,u]=(0,o.useState)({left:0,top:0,width:0,height:0,bottom:0,right:0,x:0,y:0}),d=(0,o.useRef)({element:null,scrollContainers:null,resizeObserver:null,lastBounds:l,orientationHandler:null}),f=e?"number"==typeof e?e:e.scroll:null,h=e?"number"==typeof e?e:e.resize:null,p=(0,o.useRef)(!1);(0,o.useEffect)(()=>(p.current=!0,()=>void(p.current=!1)));let[g,m,v]=(0,o.useMemo)(()=>{let e=()=>{if(!d.current.element)return;let{left:e,top:t,width:n,height:i,bottom:a,right:o,x:l,y:s}=d.current.element.getBoundingClientRect(),f={left:e,top:t,width:n,height:i,bottom:a,right:o,x:l,y:s};d.current.element instanceof HTMLElement&&r&&(f.height=d.current.element.offsetHeight,f.width=d.current.element.offsetWidth),Object.freeze(f),p.current&&!c(d.current.lastBounds,f)&&u(d.current.lastBounds=f)};return[e,h?s(e,h):e,f?s(e,f):e]},[u,r,f,h]);function y(){d.current.scrollContainers&&(d.current.scrollContainers.forEach(e=>e.removeEventListener("scroll",v,!0)),d.current.scrollContainers=null),d.current.resizeObserver&&(d.current.resizeObserver.disconnect(),d.current.resizeObserver=null),d.current.orientationHandler&&("orientation"in screen&&"removeEventListener"in screen.orientation?screen.orientation.removeEventListener("change",d.current.orientationHandler):"onorientationchange"in window&&window.removeEventListener("orientationchange",d.current.orientationHandler))}function b(){d.current.element&&(d.current.resizeObserver=new a(v),d.current.resizeObserver.observe(d.current.element),t&&d.current.scrollContainers&&d.current.scrollContainers.forEach(e=>e.addEventListener("scroll",v,{capture:!0,passive:!0})),d.current.orientationHandler=()=>{v()},"orientation"in screen&&"addEventListener"in screen.orientation?screen.orientation.addEventListener("change",d.current.orientationHandler):"onorientationchange"in window&&window.addEventListener("orientationchange",d.current.orientationHandler))}return i=!!t,(0,o.useEffect)(()=>{if(i)return window.addEventListener("scroll",v,{capture:!0,passive:!0}),()=>void window.removeEventListener("scroll",v,!0)},[v,i]),(0,o.useEffect)(()=>(window.addEventListener("resize",m),()=>void window.removeEventListener("resize",m)),[m]),(0,o.useEffect)(()=>{y(),b()},[t,v,m]),(0,o.useEffect)(()=>y,[]),[e=>{e&&e!==d.current.element&&(y(),d.current.element=e,d.current.scrollContainers=function e(t){let n=[];if(!t||t===document.body)return n;let{overflow:r,overflowX:i,overflowY:a}=window.getComputedStyle(t);return[r,i,a].some(e=>"auto"===e||"scroll"===e)&&n.push(t),[...n,...e(t.parentElement)]}(e),b())},l,g]}({scroll:!0,debounce:{scroll:50,resize:0},...n}),T=o.useRef(null),F=o.useRef(null);o.useImperativeHandle(j,()=>T.current);let N=(0,a.u)(P),[Q,Z]=o.useState(!1),[V,U]=o.useState(!1);if(Q)throw Q;if(V)throw V;let H=o.useRef(null);(0,a.a)(()=>{let t=T.current;L.width>0&&L.height>0&&t&&(H.current||(H.current=(0,a.b)(t)),H.current.configure({gl:i,events:u,shadows:h,linear:p,flat:g,legacy:m,orthographic:v,frameloop:A,dpr:S,performance:I,raycaster:M,camera:_,scene:O,size:L,onPointerMissed:(...e)=>null==N.current?void 0:N.current(...e),onCreated:e=>{null==e.events.connect||e.events.connect(d?(0,a.i)(d)?d.current:d:F.current),f&&e.setEvents({compute:(e,t)=>{let n=e[f+"X"],r=e[f+"Y"];t.pointer.set(n/t.size.width*2-1,-(r/t.size.height*2)+1),t.raycaster.setFromCamera(t.pointer,t.camera)}}),null==D||D(e)}}),H.current.render((0,C.jsx)(B,{children:(0,C.jsx)(a.E,{set:U,children:(0,C.jsx)(o.Suspense,{fallback:(0,C.jsx)(a.B,{set:Z}),children:null!=e?e:null})})})))}),o.useEffect(()=>{let e=T.current;if(e)return()=>(0,a.d)(e)},[]);let q=d?"none":"auto";return(0,C.jsx)("div",{ref:F,style:{position:"relative",width:"100%",height:"100%",overflow:"hidden",pointerEvents:q,...r},...R,children:(0,C.jsx)("div",{ref:z,style:{width:"100%",height:"100%"},children:(0,C.jsx)("canvas",{ref:T,style:{display:"block"},children:t})})})}),I=o.forwardRef(function(e,t){return(0,C.jsx)(E,{children:(0,C.jsx)(S,{...e,ref:t})})})},33390:function(e,t){"use strict";function n(e,t){var n=e.length;for(e.push(t);0<n;){var r=n-1>>>1,i=e[r];if(0<a(i,t))e[r]=t,e[n]=i,n=r;else break}}function r(e){return 0===e.length?null:e[0]}function i(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;for(var r=0,i=e.length,o=i>>>1;r<o;){var l=2*(r+1)-1,s=e[l],u=l+1,c=e[u];if(0>a(s,n))u<i&&0>a(c,s)?(e[r]=c,e[u]=n,r=u):(e[r]=s,e[l]=n,r=l);else if(u<i&&0>a(c,n))e[r]=c,e[u]=n,r=u;else break}}return t}function a(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var o,l=performance;t.unstable_now=function(){return l.now()}}else{var s=Date,u=s.now();t.unstable_now=function(){return s.now()-u}}var c=[],d=[],f=1,h=null,p=3,g=!1,m=!1,v=!1,y="function"==typeof setTimeout?setTimeout:null,b="function"==typeof clearTimeout?clearTimeout:null,w="undefined"!=typeof setImmediate?setImmediate:null;function A(e){for(var t=r(d);null!==t;){if(null===t.callback)i(d);else if(t.startTime<=e)i(d),t.sortIndex=t.expirationTime,n(c,t);else break;t=r(d)}}function k(e){if(v=!1,A(e),!m){if(null!==r(c))m=!0,j(E);else{var t=r(d);null!==t&&B(k,t.startTime-e)}}}function E(e,n){m=!1,v&&(v=!1,b(I),I=-1),g=!0;var a=p;try{for(A(n),h=r(c);null!==h&&(!(h.expirationTime>n)||e&&!O());){var o=h.callback;if("function"==typeof o){h.callback=null,p=h.priorityLevel;var l=o(h.expirationTime<=n);n=t.unstable_now(),"function"==typeof l?h.callback=l:h===r(c)&&i(c),A(n)}else i(c);h=r(c)}if(null!==h)var s=!0;else{var u=r(d);null!==u&&B(k,u.startTime-n),s=!1}return s}finally{h=null,p=a,g=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var C=!1,S=null,I=-1,M=5,_=-1;function O(){return!(t.unstable_now()-_<M)}function P(){if(null!==S){var e=t.unstable_now();_=e;var n=!0;try{n=S(!0,e)}finally{n?o():(C=!1,S=null)}}else C=!1}if("function"==typeof w)o=function(){w(P)};else if("undefined"!=typeof MessageChannel){var D=new MessageChannel,R=D.port2;D.port1.onmessage=P,o=function(){R.postMessage(null)}}else o=function(){y(P,0)};function j(e){S=e,C||(C=!0,o())}function B(e,n){I=y(function(){e(t.unstable_now())},n)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){m||g||(m=!0,j(E))},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):M=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return p},t.unstable_getFirstCallbackNode=function(){return r(c)},t.unstable_next=function(e){switch(p){case 1:case 2:case 3:var t=3;break;default:t=p}var n=p;p=t;try{return e()}finally{p=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=p;p=e;try{return t()}finally{p=n}},t.unstable_scheduleCallback=function(e,i,a){var o=t.unstable_now();switch(a="object"==typeof a&&null!==a&&"number"==typeof(a=a.delay)&&0<a?o+a:o,e){case 1:var l=-1;break;case 2:l=250;break;case 5:l=1073741823;break;case 4:l=1e4;break;default:l=5e3}return l=a+l,e={id:f++,callback:i,priorityLevel:e,startTime:a,expirationTime:l,sortIndex:-1},a>o?(e.sortIndex=a,n(d,e),null===r(c)&&e===r(d)&&(v?(b(I),I=-1):v=!0,B(k,a-o))):(e.sortIndex=l,n(c,e),m||g||(m=!0,j(E))),e},t.unstable_shouldYield=O,t.unstable_wrapCallback=function(e){var t=p;return function(){var n=p;p=t;try{return e.apply(this,arguments)}finally{p=n}}}},428:function(e,t,n){"use strict";e.exports=n(33390)},63285:function(e,t,n){"use strict";var r=n(84851),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};function s(e){return r.isMemo(e)?o:l[e.$$typeof]||i}l[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l[r.Memo]=o;var u=Object.defineProperty,c=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,p=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(p){var i=h(n);i&&i!==p&&e(t,i,r)}var o=c(n);d&&(o=o.concat(d(n)));for(var l=s(t),g=s(n),m=0;m<o.length;++m){var v=o[m];if(!a[v]&&!(r&&r[v])&&!(g&&g[v])&&!(l&&l[v])){var y=f(n,v);try{u(t,v,y)}catch(e){}}}}return t}},79205:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(2265);let i=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),a=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,n)=>n?n.toUpperCase():t.toLowerCase()),o=e=>{let t=a(e);return t.charAt(0).toUpperCase()+t.slice(1)},l=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter((e,t,n)=>!!e&&""!==e.trim()&&n.indexOf(e)===t).join(" ").trim()},s=e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0};var u={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let c=(0,r.forwardRef)((e,t)=>{let{color:n="currentColor",size:i=24,strokeWidth:a=2,absoluteStrokeWidth:o,className:c="",children:d,iconNode:f,...h}=e;return(0,r.createElement)("svg",{ref:t,...u,width:i,height:i,stroke:n,strokeWidth:o?24*Number(a)/Number(i):a,className:l("lucide",c),...!d&&!s(h)&&{"aria-hidden":"true"},...h},[...f.map(e=>{let[t,n]=e;return(0,r.createElement)(t,n)}),...Array.isArray(d)?d:[d]])}),d=(e,t)=>{let n=(0,r.forwardRef)((n,a)=>{let{className:s,...u}=n;return(0,r.createElement)(c,{ref:a,iconNode:t,className:l("lucide-".concat(i(o(e))),"lucide-".concat(e),s),...u})});return n.displayName=o(e),n}},26035:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("a-large-small",[["path",{d:"m15 16 2.536-7.328a1.02 1.02 1 0 1 1.928 0L22 16",key:"xik6mr"}],["path",{d:"M15.697 14h5.606",key:"1stdlc"}],["path",{d:"m2 16 4.039-9.69a.5.5 0 0 1 .923 0L11 16",key:"d5nyq2"}],["path",{d:"M3.304 13h6.392",key:"1q3zxz"}]])},70531:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("badge-question-mark",[["path",{d:"M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z",key:"3c2336"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["line",{x1:"12",x2:"12.01",y1:"17",y2:"17",key:"io3f8k"}]])},71769:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("book-open",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]])},64031:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("book-type",[["path",{d:"M10 13h4",key:"ytezjc"}],["path",{d:"M12 6v7",key:"1f6ttz"}],["path",{d:"M16 8V6H8v2",key:"x8j6u4"}],["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",key:"k3hazp"}]])},93947:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("box",[["path",{d:"M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z",key:"hh9hay"}],["path",{d:"m3.3 7 8.7 5 8.7-5",key:"g66t2b"}],["path",{d:"M12 22V12",key:"d0xqtd"}]])},64972:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("brain",[["path",{d:"M12 18V5",key:"adv99a"}],["path",{d:"M15 13a4.17 4.17 0 0 1-3-4 4.17 4.17 0 0 1-3 4",key:"1e3is1"}],["path",{d:"M17.598 6.5A3 3 0 1 0 12 5a3 3 0 1 0-5.598 1.5",key:"1gqd8o"}],["path",{d:"M17.997 5.125a4 4 0 0 1 2.526 5.77",key:"iwvgf7"}],["path",{d:"M18 18a4 4 0 0 0 2-7.464",key:"efp6ie"}],["path",{d:"M19.967 17.483A4 4 0 1 1 12 18a4 4 0 1 1-7.967-.517",key:"1gq6am"}],["path",{d:"M6 18a4 4 0 0 1-2-7.464",key:"k1g0md"}],["path",{d:"M6.003 5.125a4 4 0 0 0-2.526 5.77",key:"q97ue3"}]])},35411:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("bring-to-front",[["rect",{x:"8",y:"8",width:"8",height:"8",rx:"2",key:"yj20xf"}],["path",{d:"M4 10a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2",key:"1ltk23"}],["path",{d:"M14 20a2 2 0 0 0 2 2h4a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2",key:"1q24h9"}]])},47260:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("bug",[["path",{d:"M12 20v-9",key:"1qisl0"}],["path",{d:"M14 7a4 4 0 0 1 4 4v3a6 6 0 0 1-12 0v-3a4 4 0 0 1 4-4z",key:"uouzyp"}],["path",{d:"M14.12 3.88 16 2",key:"qol33r"}],["path",{d:"M21 21a4 4 0 0 0-3.81-4",key:"1b0z45"}],["path",{d:"M21 5a4 4 0 0 1-3.55 3.97",key:"5cxbf6"}],["path",{d:"M22 13h-4",key:"1jl80f"}],["path",{d:"M3 21a4 4 0 0 1 3.81-4",key:"1fjd4g"}],["path",{d:"M3 5a4 4 0 0 0 3.55 3.97",key:"1d7oge"}],["path",{d:"M6 13H2",key:"82j7cp"}],["path",{d:"m8 2 1.88 1.88",key:"fmnt4t"}],["path",{d:"M9 7.13V6a3 3 0 1 1 6 0v1.13",key:"1vgav8"}]])},47263:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("chart-bar-stacked",[["path",{d:"M11 13v4",key:"vyy2rb"}],["path",{d:"M15 5v4",key:"1gx88a"}],["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["rect",{x:"7",y:"13",width:"9",height:"4",rx:"1",key:"1iip1u"}],["rect",{x:"7",y:"5",width:"12",height:"4",rx:"1",key:"1anskk"}]])},40875:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]])},92451:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("chevron-left",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]])},10407:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]])},22135:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("chevron-up",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]])},92934:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("circle-check",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]])},73591:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("circle-star",[["path",{d:"M11.051 7.616a1 1 0 0 1 1.909.024l.737 1.452a1 1 0 0 0 .737.535l1.634.256a1 1 0 0 1 .588 1.806l-1.172 1.168a1 1 0 0 0-.282.866l.259 1.613a1 1 0 0 1-1.541 1.134l-1.465-.75a1 1 0 0 0-.912 0l-1.465.75a1 1 0 0 1-1.539-1.133l.258-1.613a1 1 0 0 0-.282-.867l-1.156-1.152a1 1 0 0 1 .572-1.822l1.633-.256a1 1 0 0 0 .737-.535z",key:"285bvi"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]])},66344:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("circle-user-round",[["path",{d:"M18 20a6 6 0 0 0-12 0",key:"1qehca"}],["circle",{cx:"12",cy:"10",r:"4",key:"1h16sb"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]])},99388:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("circle-x",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]])},91723:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("clock",[["path",{d:"M12 6v6l4 2",key:"mmk7yg"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]])},81197:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("coffee",[["path",{d:"M10 2v2",key:"7u0qdc"}],["path",{d:"M14 2v2",key:"6buw04"}],["path",{d:"M16 8a1 1 0 0 1 1 1v8a4 4 0 0 1-4 4H7a4 4 0 0 1-4-4V9a1 1 0 0 1 1-1h14a4 4 0 1 1 0 8h-1",key:"pwadti"}],["path",{d:"M6 2v2",key:"colzsn"}]])},33953:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("combine",[["path",{d:"M14 3a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1",key:"1l7d7l"}],["path",{d:"M19 3a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1",key:"9955pe"}],["path",{d:"m7 15 3 3",key:"4hkfgk"}],["path",{d:"m7 21 3-3H5a2 2 0 0 1-2-2v-2",key:"1xljwe"}],["rect",{x:"14",y:"14",width:"7",height:"7",rx:"1",key:"1cdgtw"}],["rect",{x:"3",y:"3",width:"7",height:"7",rx:"1",key:"zi3rio"}]])},41827:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("copy-plus",[["line",{x1:"15",x2:"15",y1:"12",y2:"18",key:"1p7wdc"}],["line",{x1:"12",x2:"18",y1:"15",y2:"15",key:"1nscbv"}],["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]])},32819:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("copyright",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M14.83 14.83a4 4 0 1 1 0-5.66",key:"1i56pz"}]])},31349:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("crosshair",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"22",x2:"18",y1:"12",y2:"12",key:"l9bcsi"}],["line",{x1:"6",x2:"2",y1:"12",y2:"12",key:"13hhkx"}],["line",{x1:"12",x2:"12",y1:"6",y2:"2",key:"10w3f3"}],["line",{x1:"12",x2:"12",y1:"22",y2:"18",key:"15g9kq"}]])},92735:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("download",[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]])},93609:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("droplet",[["path",{d:"M12 22a7 7 0 0 0 7-7c0-2-1-3.9-3-5.5s-3.5-4-4-6.5c-.5 2.5-2 4.9-4 6.5C6 11.1 5 13 5 15a7 7 0 0 0 7 7z",key:"c7niix"}]])},71533:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("ellipsis-vertical",[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"12",cy:"5",r:"1",key:"gxeob9"}],["circle",{cx:"12",cy:"19",r:"1",key:"lyex9k"}]])},57208:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("expand",[["path",{d:"m15 15 6 6",key:"1s409w"}],["path",{d:"m15 9 6-6",key:"ko1vev"}],["path",{d:"M21 16v5h-5",key:"1ck2sf"}],["path",{d:"M21 8V3h-5",key:"1qoq8a"}],["path",{d:"M3 16v5h5",key:"1t08am"}],["path",{d:"m3 21 6-6",key:"wwnumi"}],["path",{d:"M3 8V3h5",key:"1ln10m"}],["path",{d:"M9 9 3 3",key:"v551iv"}]])},87769:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("eye-off",[["path",{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",key:"ct8e1f"}],["path",{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242",key:"151rxh"}],["path",{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143",key:"13bj9a"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]])},42208:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]])},79219:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("facebook",[["path",{d:"M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z",key:"1jg4f8"}]])},48736:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("file-text",[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]])},80695:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("folder-down",[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}],["path",{d:"M12 10v6",key:"1bos4e"}],["path",{d:"m15 13-3 3-3-3",key:"6j2sf0"}]])},49465:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("folder-plus",[["path",{d:"M12 10v6",key:"1bos4e"}],["path",{d:"M9 13h6",key:"1uhe8q"}],["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]])},44630:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("folder-tree",[["path",{d:"M20 10a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1h-2.5a1 1 0 0 1-.8-.4l-.9-1.2A1 1 0 0 0 15 3h-2a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1Z",key:"hod4my"}],["path",{d:"M20 21a1 1 0 0 0 1-1v-3a1 1 0 0 0-1-1h-2.9a1 1 0 0 1-.88-.55l-.42-.85a1 1 0 0 0-.92-.6H13a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1Z",key:"w4yl2u"}],["path",{d:"M3 5a2 2 0 0 0 2 2h3",key:"f2jnh7"}],["path",{d:"M3 3v13a2 2 0 0 0 2 2h3",key:"k8epm1"}]])},24132:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("folder-up",[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}],["path",{d:"M12 10v6",key:"1bos4e"}],["path",{d:"m9 13 3-3 3 3",key:"1pxg3c"}]])},14924:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("folder",[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]])},61592:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("footprints",[["path",{d:"M4 16v-2.38C4 11.5 2.97 10.5 3 8c.03-2.72 1.49-6 4.5-6C9.37 2 10 3.8 10 5.5c0 3.11-2 5.66-2 8.68V16a2 2 0 1 1-4 0Z",key:"1dudjm"}],["path",{d:"M20 20v-2.38c0-2.12 1.03-3.12 1-5.62-.03-2.72-1.49-6-4.5-6C14.63 6 14 7.8 14 9.5c0 3.11 2 5.66 2 8.68V20a2 2 0 1 0 4 0Z",key:"l2t8xc"}],["path",{d:"M16 17h4",key:"1dejxt"}],["path",{d:"M4 13h4",key:"1bwh8b"}]])},40284:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("gamepad-2",[["line",{x1:"6",x2:"10",y1:"11",y2:"11",key:"1gktln"}],["line",{x1:"8",x2:"8",y1:"9",y2:"13",key:"qnk9ow"}],["line",{x1:"15",x2:"15.01",y1:"12",y2:"12",key:"krot7o"}],["line",{x1:"18",x2:"18.01",y1:"10",y2:"10",key:"1lcuu1"}],["path",{d:"M17.32 5H6.68a4 4 0 0 0-3.978 3.59c-.006.052-.01.101-.017.152C2.604 9.416 2 14.456 2 16a3 3 0 0 0 3 3c1 0 1.5-.5 2-1l1.414-1.414A2 2 0 0 1 9.828 16h4.344a2 2 0 0 1 1.414.586L17 18c.5.5 1 1 2 1a3 3 0 0 0 3-3c0-1.545-.604-6.584-.685-7.258-.007-.05-.011-.1-.017-.151A4 4 0 0 0 17.32 5z",key:"mfqc10"}]])},60332:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("image-plus",[["path",{d:"M16 5h6",key:"1vod17"}],["path",{d:"M19 2v6",key:"4bpg5p"}],["path",{d:"M21 11.5V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h7.5",key:"1ue2ih"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}]])},53113:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("image",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]])},70094:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("images",[["path",{d:"m22 11-1.296-1.296a2.4 2.4 0 0 0-3.408 0L11 16",key:"9kzy35"}],["path",{d:"M4 8a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2",key:"1t0f0t"}],["circle",{cx:"13",cy:"7",r:"1",fill:"currentColor",key:"1obus6"}],["rect",{x:"8",y:"2",width:"14",height:"14",rx:"2",key:"1gvhby"}]])},33245:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]])},8854:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("layers-plus",[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 .83.18 2 2 0 0 0 .83-.18l8.58-3.9a1 1 0 0 0 0-1.831z",key:"zzgyd3"}],["path",{d:"M16 17h6",key:"1ook5g"}],["path",{d:"M19 14v6",key:"1ckrd5"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 .825.178",key:"1ia9y3"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l2.116-.962",key:"jksky3"}]])},28124:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("layers",[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]])},25846:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("lightbulb",[["path",{d:"M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5",key:"1gvzjb"}],["path",{d:"M9 18h6",key:"x1upvd"}],["path",{d:"M10 22h4",key:"ceow96"}]])},85479:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("list-chevrons-down-up",[["path",{d:"M3 5h8",key:"18g2rq"}],["path",{d:"M3 12h8",key:"1xfjp6"}],["path",{d:"M3 19h8",key:"fpbke4"}],["path",{d:"m15 5 3 3 3-3",key:"1t4thf"}],["path",{d:"m15 19 3-3 3 3",key:"y4ckd2"}]])},83814:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("list-chevrons-up-down",[["path",{d:"M3 5h8",key:"18g2rq"}],["path",{d:"M3 12h8",key:"1xfjp6"}],["path",{d:"M3 19h8",key:"fpbke4"}],["path",{d:"m15 8 3-3 3 3",key:"bc4io6"}],["path",{d:"m15 16 3 3 3-3",key:"9wmg1l"}]])},44233:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("list-minus",[["path",{d:"M16 5H3",key:"m91uny"}],["path",{d:"M11 12H3",key:"51ecnj"}],["path",{d:"M16 19H3",key:"zzsher"}],["path",{d:"M21 12h-6",key:"bt1uis"}]])},82718:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("message-circle",[["path",{d:"M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719",key:"1sd12s"}]])},21047:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("minus",[["path",{d:"M5 12h14",key:"1ays0h"}]])},81540:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("monitor-down",[["path",{d:"M12 13V7",key:"h0r20n"}],["path",{d:"m15 10-3 3-3-3",key:"lzhmyn"}],["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}],["path",{d:"M12 17v4",key:"1riwvh"}],["path",{d:"M8 21h8",key:"1ev6f3"}]])},99897:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("monitor",[["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}],["line",{x1:"8",x2:"16",y1:"21",y2:"21",key:"1svkeh"}],["line",{x1:"12",x2:"12",y1:"17",y2:"21",key:"vw1qmm"}]])},97226:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("moon",[["path",{d:"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401",key:"kfwtm"}]])},1740:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("move",[["path",{d:"M12 2v20",key:"t6zp3m"}],["path",{d:"m15 19-3 3-3-3",key:"11eu04"}],["path",{d:"m19 9 3 3-3 3",key:"1mg7y2"}],["path",{d:"M2 12h20",key:"9i4pu4"}],["path",{d:"m5 9-3 3 3 3",key:"j64kie"}],["path",{d:"m9 5 3-3 3 3",key:"l8vdw6"}]])},12805:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("palette",[["path",{d:"M12 22a1 1 0 0 1 0-20 10 9 0 0 1 10 9 5 5 0 0 1-5 5h-2.25a1.75 1.75 0 0 0-1.4 2.8l.3.4a1.75 1.75 0 0 1-1.4 2.8z",key:"e79jfc"}],["circle",{cx:"13.5",cy:"6.5",r:".5",fill:"currentColor",key:"1okk4w"}],["circle",{cx:"17.5",cy:"10.5",r:".5",fill:"currentColor",key:"f64h9f"}],["circle",{cx:"6.5",cy:"12.5",r:".5",fill:"currentColor",key:"qy21gx"}],["circle",{cx:"8.5",cy:"7.5",r:".5",fill:"currentColor",key:"fotxhn"}]])},10484:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("panel-bottom",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 15h18",key:"5xshup"}]])},76534:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("panel-top",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}]])},45675:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("pencil",[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]])},46506:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("pin",[["path",{d:"M12 17v5",key:"bb1du9"}],["path",{d:"M9 10.76a2 2 0 0 1-1.11 1.79l-1.78.9A2 2 0 0 0 5 15.24V16a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-.76a2 2 0 0 0-1.11-1.79l-1.78-.9A2 2 0 0 1 15 10.76V7a1 1 0 0 1 1-1 2 2 0 0 0 0-4H8a2 2 0 0 0 0 4 1 1 0 0 1 1 1z",key:"1nkz8b"}]])},99397:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]])},64776:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("reply-all",[["path",{d:"m12 17-5-5 5-5",key:"1s3y5u"}],["path",{d:"M22 18v-2a4 4 0 0 0-4-4H7",key:"1fcyog"}],["path",{d:"m7 17-5-5 5-5",key:"1ed8i2"}]])},22538:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("rotate-3d",[["path",{d:"M16.466 7.5C15.643 4.237 13.952 2 12 2 9.239 2 7 6.477 7 12s2.239 10 5 10c.342 0 .677-.069 1-.2",key:"10n0gc"}],["path",{d:"m15.194 13.707 3.814 1.86-1.86 3.814",key:"16shm9"}],["path",{d:"M19 15.57c-1.804.885-4.274 1.43-7 1.43-5.523 0-10-2.239-10-5s4.477-5 10-5c4.838 0 8.873 1.718 9.8 4",key:"1lxi77"}]])},69076:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("rotate-ccw",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]])},642:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("scan-text",[["path",{d:"M3 7V5a2 2 0 0 1 2-2h2",key:"aa7l1z"}],["path",{d:"M17 3h2a2 2 0 0 1 2 2v2",key:"4qcy5o"}],["path",{d:"M21 17v2a2 2 0 0 1-2 2h-2",key:"6vwrx8"}],["path",{d:"M7 21H5a2 2 0 0 1-2-2v-2",key:"ioqczr"}],["path",{d:"M7 8h8",key:"1jbsf9"}],["path",{d:"M7 12h10",key:"b7w52i"}],["path",{d:"M7 16h6",key:"1vyc9m"}]])},68920:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("scroll-text",[["path",{d:"M15 12h-5",key:"r7krc0"}],["path",{d:"M15 8h-5",key:"1khuty"}],["path",{d:"M19 17V5a2 2 0 0 0-2-2H4",key:"zz82l3"}],["path",{d:"M8 21h12a2 2 0 0 0 2-2v-1a1 1 0 0 0-1-1H11a1 1 0 0 0-1 1v1a2 2 0 1 1-4 0V5a2 2 0 1 0-4 0v2a1 1 0 0 0 1 1h3",key:"1ph1d7"}]])},73247:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]])},91663:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("send-to-back",[["rect",{x:"14",y:"14",width:"8",height:"8",rx:"2",key:"1b0bso"}],["rect",{x:"2",y:"2",width:"8",height:"8",rx:"2",key:"1x09vl"}],["path",{d:"M7 14v1a2 2 0 0 0 2 2h1",key:"pao6x6"}],["path",{d:"M14 7h1a2 2 0 0 1 2 2v1",key:"19tdru"}]])},98728:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("settings",[["path",{d:"M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915",key:"1i5ecw"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]])},96003:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("shield-half",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"M12 22V2",key:"zs6s6o"}]])},33210:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("shrink",[["path",{d:"m15 15 6 6m-6-6v4.8m0-4.8h4.8",key:"17vawe"}],["path",{d:"M9 19.8V15m0 0H4.2M9 15l-6 6",key:"chjx8e"}],["path",{d:"M15 4.2V9m0 0h4.8M15 9l6-6",key:"lav6yq"}],["path",{d:"M9 4.2V9m0 0H4.2M9 9 3 3",key:"1pxi2q"}]])},35363:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("sliders-horizontal",[["path",{d:"M10 5H3",key:"1qgfaw"}],["path",{d:"M12 19H3",key:"yhmn1j"}],["path",{d:"M14 3v4",key:"1sua03"}],["path",{d:"M16 17v4",key:"1q0r14"}],["path",{d:"M21 12h-9",key:"1o4lsq"}],["path",{d:"M21 19h-5",key:"1rlt1p"}],["path",{d:"M21 5h-7",key:"1oszz2"}],["path",{d:"M8 10v4",key:"tgpxqk"}],["path",{d:"M8 12H3",key:"a7s4jb"}]])},96650:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("square-library",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M7 7v10",key:"d5nglc"}],["path",{d:"M11 7v10",key:"pptsnr"}],["path",{d:"m15 7 2 10",key:"1m7qm5"}]])},77838:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("square-plus",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M8 12h8",key:"1wcyev"}],["path",{d:"M12 8v8",key:"napkw2"}]])},36630:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("square-round-corner",[["path",{d:"M21 11a8 8 0 0 0-8-8",key:"1lxwo5"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1dv2y5"}]])},4226:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("square-stack",[["path",{d:"M4 10c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h4c1.1 0 2 .9 2 2",key:"4i38lg"}],["path",{d:"M10 16c-1.1 0-2-.9-2-2v-4c0-1.1.9-2 2-2h4c1.1 0 2 .9 2 2",key:"mlte4a"}],["rect",{width:"8",height:"8",x:"14",y:"14",rx:"2",key:"1fa9i4"}]])},61094:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("square",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}]])},98516:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("sun-moon",[["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M14.837 16.385a6 6 0 1 1-7.223-7.222c.624-.147.97.66.715 1.248a4 4 0 0 0 5.26 5.259c.589-.255 1.396.09 1.248.715",key:"xlf6rm"}],["path",{d:"M16 12a4 4 0 0 0-4-4",key:"6vsxu"}],["path",{d:"m19 5-1.256 1.256",key:"1yg6a6"}],["path",{d:"M20 12h2",key:"1q8mjw"}]])},85929:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("sun",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]])},55565:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("swords",[["polyline",{points:"14.5 17.5 3 6 3 3 6 3 17.5 14.5",key:"1hfsw2"}],["line",{x1:"13",x2:"19",y1:"19",y2:"13",key:"1vrmhu"}],["line",{x1:"16",x2:"20",y1:"16",y2:"20",key:"1bron3"}],["line",{x1:"19",x2:"21",y1:"21",y2:"19",key:"13pww6"}],["polyline",{points:"14.5 6.5 18 3 21 3 21 6 17.5 9.5",key:"hbey2j"}],["line",{x1:"5",x2:"9",y1:"14",y2:"18",key:"1hf58s"}],["line",{x1:"7",x2:"4",y1:"17",y2:"20",key:"pidxm4"}],["line",{x1:"3",x2:"5",y1:"19",y2:"21",key:"1pehsh"}]])},21052:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("table-cells-split",[["path",{d:"M12 15V9",key:"8c7uyn"}],["path",{d:"M3 15h18",key:"5xshup"}],["path",{d:"M3 9h18",key:"1pudct"}],["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}]])},62720:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("tag",[["path",{d:"M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z",key:"vktsd0"}],["circle",{cx:"7.5",cy:"7.5",r:".5",fill:"currentColor",key:"kqv944"}]])},56348:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("text-cursor-input",[["path",{d:"M12 20h-1a2 2 0 0 1-2-2 2 2 0 0 1-2 2H6",key:"1528k5"}],["path",{d:"M13 8h7a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2h-7",key:"13ksps"}],["path",{d:"M5 16H4a2 2 0 0 1-2-2v-4a2 2 0 0 1 2-2h1",key:"1n9rhb"}],["path",{d:"M6 4h1a2 2 0 0 1 2 2 2 2 0 0 1 2-2h1",key:"1mj8rg"}],["path",{d:"M9 6v12",key:"velyjx"}]])},18930:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("trash-2",[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]])},76865:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("triangle-alert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]])},42351:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("twitter",[["path",{d:"M22 4s-.7 2.1-2 3.4c1.6 10-9.4 17.3-18 11.6 2.2.1 4.4-.6 6-2C3 15.5.5 9.6 3 5c2.2 2.6 5.6 4.1 9 4-.9-4.2 4-6.6 7-3.8 1.1 0 3-1.2 3-1.2z",key:"pff0z6"}]])},75277:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("type",[["path",{d:"M12 4v16",key:"1654pz"}],["path",{d:"M4 7V5a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v2",key:"e0r10z"}],["path",{d:"M9 20h6",key:"s66wpe"}]])},77566:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("unlink-2",[["path",{d:"M15 7h2a5 5 0 0 1 0 10h-2m-6 0H7A5 5 0 0 1 7 7h2",key:"1re2ne"}]])},17689:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("upload",[["path",{d:"M12 3v12",key:"1x0j5s"}],["path",{d:"m17 8-5-5-5 5",key:"7q97r8"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}]])},79862:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("user-round",[["circle",{cx:"12",cy:"8",r:"5",key:"1hypcn"}],["path",{d:"M20 21a8 8 0 0 0-16 0",key:"rfgkzh"}]])},49724:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("users-round",[["path",{d:"M18 21a8 8 0 0 0-16 0",key:"3ypg7q"}],["circle",{cx:"10",cy:"8",r:"5",key:"o932ke"}],["path",{d:"M22 20c0-3.37-2-6.5-4-8a5 5 0 0 0-.45-8.3",key:"10s06x"}]])},32489:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},74767:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("youtube",[["path",{d:"M2.5 17a24.12 24.12 0 0 1 0-10 2 2 0 0 1 1.4-1.4 49.56 49.56 0 0 1 16.2 0A2 2 0 0 1 21.5 7a24.12 24.12 0 0 1 0 10 2 2 0 0 1-1.4 1.4 49.55 49.55 0 0 1-16.2 0A2 2 0 0 1 2.5 17",key:"1q2vi4"}],["path",{d:"m10 15 5-3-5-3z",key:"1jp15x"}]])},43391:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("zoom-in",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["line",{x1:"21",x2:"16.65",y1:"21",y2:"16.65",key:"13gj7c"}],["line",{x1:"11",x2:"11",y1:"8",y2:"14",key:"1vmskp"}],["line",{x1:"8",x2:"14",y1:"11",y2:"11",key:"durymu"}]])},45802:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("zoom-out",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["line",{x1:"21",x2:"16.65",y1:"21",y2:"16.65",key:"13gj7c"}],["line",{x1:"8",x2:"14",y1:"11",y2:"11",key:"durymu"}]])},33145:function(e,t,n){"use strict";n.d(t,{default:function(){return i.a}});var r=n(48461),i=n.n(r)},65878:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Image",{enumerable:!0,get:function(){return b}});let r=n(47043),i=n(53099),a=n(57437),o=i._(n(2265)),l=r._(n(54887)),s=r._(n(38293)),u=n(55346),c=n(90128),d=n(62589);n(31765);let f=n(25523),h=r._(n(5084)),p={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image/",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0};function g(e,t,n,r,i,a,o){let l=null==e?void 0:e.src;e&&e["data-loaded-src"]!==l&&(e["data-loaded-src"]=l,("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(e.parentElement&&e.isConnected){if("empty"!==t&&i(!0),null==n?void 0:n.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let r=!1,i=!1;n.current({...t,nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>r,isPropagationStopped:()=>i,persist:()=>{},preventDefault:()=>{r=!0,t.preventDefault()},stopPropagation:()=>{i=!0,t.stopPropagation()}})}(null==r?void 0:r.current)&&r.current(e)}}))}function m(e){return o.use?{fetchPriority:e}:{fetchpriority:e}}"undefined"==typeof window&&(globalThis.__NEXT_IMAGE_IMPORTED=!0);let v=(0,o.forwardRef)((e,t)=>{let{src:n,srcSet:r,sizes:i,height:l,width:s,decoding:u,className:c,style:d,fetchPriority:f,placeholder:h,loading:p,unoptimized:v,fill:y,onLoadRef:b,onLoadingCompleteRef:w,setBlurComplete:A,setShowAltText:k,sizesInput:E,onLoad:C,onError:S,...I}=e;return(0,a.jsx)("img",{...I,...m(f),loading:p,width:s,height:l,decoding:u,"data-nimg":y?"fill":"1",className:c,style:d,sizes:i,srcSet:r,src:n,ref:(0,o.useCallback)(e=>{t&&("function"==typeof t?t(e):"object"==typeof t&&(t.current=e)),e&&(S&&(e.src=e.src),e.complete&&g(e,h,b,w,A,v,E))},[n,h,b,w,A,S,v,E,t]),onLoad:e=>{g(e.currentTarget,h,b,w,A,v,E)},onError:e=>{k(!0),"empty"!==h&&A(!0),S&&S(e)}})});function y(e){let{isAppRouter:t,imgAttributes:n}=e,r={as:"image",imageSrcSet:n.srcSet,imageSizes:n.sizes,crossOrigin:n.crossOrigin,referrerPolicy:n.referrerPolicy,...m(n.fetchPriority)};return t&&l.default.preload?(l.default.preload(n.src,r),null):(0,a.jsx)(s.default,{children:(0,a.jsx)("link",{rel:"preload",href:n.srcSet?void 0:n.src,...r},"__nimg-"+n.src+n.srcSet+n.sizes)})}let b=(0,o.forwardRef)((e,t)=>{let n=(0,o.useContext)(f.RouterContext),r=(0,o.useContext)(d.ImageConfigContext),i=(0,o.useMemo)(()=>{let e=p||r||c.imageConfigDefault,t=[...e.deviceSizes,...e.imageSizes].sort((e,t)=>e-t),n=e.deviceSizes.sort((e,t)=>e-t);return{...e,allSizes:t,deviceSizes:n}},[r]),{onLoad:l,onLoadingComplete:s}=e,g=(0,o.useRef)(l);(0,o.useEffect)(()=>{g.current=l},[l]);let m=(0,o.useRef)(s);(0,o.useEffect)(()=>{m.current=s},[s]);let[b,w]=(0,o.useState)(!1),[A,k]=(0,o.useState)(!1),{props:E,meta:C}=(0,u.getImgProps)(e,{defaultLoader:h.default,imgConf:i,blurComplete:b,showAltText:A});return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(v,{...E,unoptimized:C.unoptimized,placeholder:C.placeholder,fill:C.fill,onLoadRef:g,onLoadingCompleteRef:m,setBlurComplete:w,setShowAltText:k,sizesInput:e.sizes,ref:t}),C.priority?(0,a.jsx)(y,{isAppRouter:!n,imgAttributes:E}):null]})});("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},91436:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AmpStateContext",{enumerable:!0,get:function(){return r}});let r=n(47043)._(n(2265)).default.createContext({})},23964:function(e,t){"use strict";function n(e){let{ampFirst:t=!1,hybrid:n=!1,hasQuery:r=!1}=void 0===e?{}:e;return t||n&&r}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isInAmpMode",{enumerable:!0,get:function(){return n}})},55346:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImgProps",{enumerable:!0,get:function(){return l}}),n(31765);let r=n(96496),i=n(90128);function a(e){return void 0!==e.default}function o(e){return void 0===e?e:"number"==typeof e?Number.isFinite(e)?e:NaN:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):NaN}function l(e,t){var n;let l,s,u,{src:c,sizes:d,unoptimized:f=!1,priority:h=!1,loading:p,className:g,quality:m,width:v,height:y,fill:b=!1,style:w,overrideSrc:A,onLoad:k,onLoadingComplete:E,placeholder:C="empty",blurDataURL:S,fetchPriority:I,decoding:M="async",layout:_,objectFit:O,objectPosition:P,lazyBoundary:D,lazyRoot:R,...j}=e,{imgConf:B,showAltText:z,blurComplete:L,defaultLoader:T}=t,F=B||i.imageConfigDefault;if("allSizes"in F)l=F;else{let e=[...F.deviceSizes,...F.imageSizes].sort((e,t)=>e-t),t=F.deviceSizes.sort((e,t)=>e-t);l={...F,allSizes:e,deviceSizes:t}}if(void 0===T)throw Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config");let N=j.loader||T;delete j.loader,delete j.srcSet;let Q="__next_img_default"in N;if(Q){if("custom"===l.loader)throw Error('Image with src "'+c+'" is missing "loader" prop.\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader')}else{let e=N;N=t=>{let{config:n,...r}=t;return e(r)}}if(_){"fill"===_&&(b=!0);let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[_];e&&(w={...w,...e});let t={responsive:"100vw",fill:"100vw"}[_];t&&!d&&(d=t)}let Z="",V=o(v),U=o(y);if("object"==typeof(n=c)&&(a(n)||void 0!==n.src)){let e=a(c)?c.default:c;if(!e.src)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received "+JSON.stringify(e));if(!e.height||!e.width)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received "+JSON.stringify(e));if(s=e.blurWidth,u=e.blurHeight,S=S||e.blurDataURL,Z=e.src,!b){if(V||U){if(V&&!U){let t=V/e.width;U=Math.round(e.height*t)}else if(!V&&U){let t=U/e.height;V=Math.round(e.width*t)}}else V=e.width,U=e.height}}let H=!h&&("lazy"===p||void 0===p);(!(c="string"==typeof c?c:Z)||c.startsWith("data:")||c.startsWith("blob:"))&&(f=!0,H=!1),l.unoptimized&&(f=!0),Q&&c.endsWith(".svg")&&!l.dangerouslyAllowSVG&&(f=!0),h&&(I="high");let q=o(m),W=Object.assign(b?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:O,objectPosition:P}:{},z?{}:{color:"transparent"},w),$=L||"empty"===C?null:"blur"===C?'url("data:image/svg+xml;charset=utf-8,'+(0,r.getImageBlurSvg)({widthInt:V,heightInt:U,blurWidth:s,blurHeight:u,blurDataURL:S||"",objectFit:W.objectFit})+'")':'url("'+C+'")',G=$?{backgroundSize:W.objectFit||"cover",backgroundPosition:W.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:$}:{},Y=function(e){let{config:t,src:n,unoptimized:r,width:i,quality:a,sizes:o,loader:l}=e;if(r)return{src:n,srcSet:void 0,sizes:void 0};let{widths:s,kind:u}=function(e,t,n){let{deviceSizes:r,allSizes:i}=e;if(n){let e=/(^|\s)(1?\d?\d)vw/g,t=[];for(let r;r=e.exec(n);r)t.push(parseInt(r[2]));if(t.length){let e=.01*Math.min(...t);return{widths:i.filter(t=>t>=r[0]*e),kind:"w"}}return{widths:i,kind:"w"}}return"number"!=typeof t?{widths:r,kind:"w"}:{widths:[...new Set([t,2*t].map(e=>i.find(t=>t>=e)||i[i.length-1]))],kind:"x"}}(t,i,o),c=s.length-1;return{sizes:o||"w"!==u?o:"100vw",srcSet:s.map((e,r)=>l({config:t,src:n,quality:a,width:e})+" "+("w"===u?e:r+1)+u).join(", "),src:l({config:t,src:n,quality:a,width:s[c]})}}({config:l,src:c,unoptimized:f,width:V,quality:q,sizes:d,loader:N});return{props:{...j,loading:H?"lazy":p,fetchPriority:I,width:V,height:U,decoding:M,className:g,style:{...W,...G},sizes:Y.sizes,srcSet:Y.srcSet,src:A||Y.src},meta:{unoptimized:f,priority:h,placeholder:C,fill:b}}}},38293:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return g},defaultHead:function(){return d}});let r=n(47043),i=n(53099),a=n(57437),o=i._(n(2265)),l=r._(n(17421)),s=n(91436),u=n(48701),c=n(23964);function d(e){void 0===e&&(e=!1);let t=[(0,a.jsx)("meta",{charSet:"utf-8"})];return e||t.push((0,a.jsx)("meta",{name:"viewport",content:"width=device-width"})),t}function f(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===o.default.Fragment?e.concat(o.default.Children.toArray(t.props.children).reduce((e,t)=>"string"==typeof t||"number"==typeof t?e:e.concat(t),[])):e.concat(t)}n(31765);let h=["name","httpEquiv","charSet","itemProp"];function p(e,t){let{inAmpMode:n}=t;return e.reduce(f,[]).reverse().concat(d(n).reverse()).filter(function(){let e=new Set,t=new Set,n=new Set,r={};return i=>{let a=!0,o=!1;if(i.key&&"number"!=typeof i.key&&i.key.indexOf("$")>0){o=!0;let t=i.key.slice(i.key.indexOf("$")+1);e.has(t)?a=!1:e.add(t)}switch(i.type){case"title":case"base":t.has(i.type)?a=!1:t.add(i.type);break;case"meta":for(let e=0,t=h.length;e<t;e++){let t=h[e];if(i.props.hasOwnProperty(t)){if("charSet"===t)n.has(t)?a=!1:n.add(t);else{let e=i.props[t],n=r[t]||new Set;("name"!==t||!o)&&n.has(e)?a=!1:(n.add(e),r[t]=n)}}}}return a}}()).reverse().map((e,t)=>{let r=e.key||t;if(!n&&"link"===e.type&&e.props.href&&["https://fonts.googleapis.com/css","https://use.typekit.net/"].some(t=>e.props.href.startsWith(t))){let t={...e.props||{}};return t["data-href"]=t.href,t.href=void 0,t["data-optimized-fonts"]=!0,o.default.cloneElement(e,t)}return o.default.cloneElement(e,{key:r})})}let g=function(e){let{children:t}=e,n=(0,o.useContext)(s.AmpStateContext),r=(0,o.useContext)(u.HeadManagerContext);return(0,a.jsx)(l.default,{reduceComponentsToState:p,headManager:r,inAmpMode:(0,c.isInAmpMode)(n),children:t})};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},96496:function(e,t){"use strict";function n(e){let{widthInt:t,heightInt:n,blurWidth:r,blurHeight:i,blurDataURL:a,objectFit:o}=e,l=r?40*r:t,s=i?40*i:n,u=l&&s?"viewBox='0 0 "+l+" "+s+"'":"";return"%3Csvg xmlns='http://www.w3.org/2000/svg' "+u+"%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='"+(u?"none":"contain"===o?"xMidYMid":"cover"===o?"xMidYMid slice":"none")+"' style='filter: url(%23b);' href='"+a+"'/%3E%3C/svg%3E"}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImageBlurSvg",{enumerable:!0,get:function(){return n}})},62589:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ImageConfigContext",{enumerable:!0,get:function(){return a}});let r=n(47043)._(n(2265)),i=n(90128),a=r.default.createContext(i.imageConfigDefault)},90128:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{VALID_LOADERS:function(){return n},imageConfigDefault:function(){return r}});let n=["default","imgix","cloudinary","akamai","custom"],r={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:60,formats:["image/webp"],dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"inline",localPatterns:void 0,remotePatterns:[],unoptimized:!1}},48461:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return s},getImageProps:function(){return l}});let r=n(47043),i=n(55346),a=n(65878),o=r._(n(5084));function l(e){let{props:t}=(0,i.getImgProps)(e,{defaultLoader:o.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image/",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0}});for(let[e,n]of Object.entries(t))void 0===n&&delete t[e];return{props:t}}let s=a.Image},5084:function(e,t){"use strict";function n(e){let{config:t,src:n,width:r,quality:i}=e;return t.path+"?url="+encodeURIComponent(n)+"&w="+r+"&q="+(i||75)}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}}),n.__next_img_default=!0;let r=n},25523:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RouterContext",{enumerable:!0,get:function(){return r}});let r=n(47043)._(n(2265)).default.createContext(null)},17421:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});let r=n(2265),i="undefined"==typeof window,a=i?()=>{}:r.useLayoutEffect,o=i?()=>{}:r.useEffect;function l(e){let{headManager:t,reduceComponentsToState:n}=e;function l(){if(t&&t.mountedInstances){let i=r.Children.toArray(Array.from(t.mountedInstances).filter(Boolean));t.updateHead(n(i,e))}}if(i){var s;null==t||null==(s=t.mountedInstances)||s.add(e.children),l()}return a(()=>{var n;return null==t||null==(n=t.mountedInstances)||n.add(e.children),()=>{var n;null==t||null==(n=t.mountedInstances)||n.delete(e.children)}}),a(()=>(t&&(t._pendingUpdate=l),()=>{t&&(t._pendingUpdate=l)})),o(()=>(t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),()=>{t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)})),null}},95036:function(e){var t;t=function(){return(function e(t,n,r){function i(o,l){if(!n[o]){if(!t[o]){if(a)return a(o,!0);var s=Error("Cannot find module '"+o+"'");throw s.code="MODULE_NOT_FOUND",s}var u=n[o]={exports:{}};t[o][0].call(u.exports,function(e){return i(t[o][1][e]||e)},u,u.exports,e,t,n,r)}return n[o].exports}for(var a=void 0,o=0;o<r.length;o++)i(r[o]);return i})({1:[function(e,t,n){"use strict";var r=e("multimath"),i=e("./mm_unsharp_mask"),a=e("./mm_resize");function o(e){var t=e||[],n={js:t.indexOf("js")>=0,wasm:t.indexOf("wasm")>=0};r.call(this,n),this.features={js:n.js,wasm:n.wasm&&this.has_wasm()},this.use(i),this.use(a)}o.prototype=Object.create(r.prototype),o.prototype.constructor=o,o.prototype.resizeAndUnsharp=function(e,t){var n=this.resize(e,t);return e.unsharpAmount&&this.unsharp_mask(n,e.toWidth,e.toHeight,e.unsharpAmount,e.unsharpRadius,e.unsharpThreshold),n},t.exports=o},{"./mm_resize":4,"./mm_unsharp_mask":9,multimath:19}],2:[function(e,t,n){"use strict";function r(e){return e<0?0:e>255?255:e}function i(e){return e>=0?e:0}t.exports={convolveHor:function(e,t,n,r,a,o){var l,s,u,c,d,f,h,p,g,m,v,y=0,b=0;for(g=0;g<r;g++){for(m=0,d=0;m<a;m++){for(f=o[d++],h=o[d++],p=y+4*f|0,l=s=u=c=0;h>0;h--)c=c+(v=o[d++])*e[p+3]|0,u=u+v*e[p+2]|0,s=s+v*e[p+1]|0,l=l+v*e[p]|0,p=p+4|0;t[b+3]=i(c>>7),t[b+2]=i(u>>7),t[b+1]=i(s>>7),t[b]=i(l>>7),b=b+4*r|0}b=(g+1)*4|0,y=(g+1)*n*4|0}},convolveVert:function(e,t,n,i,a,o){var l,s,u,c,d,f,h,p,g,m,v,y=0,b=0;for(g=0;g<i;g++){for(m=0,d=0;m<a;m++){for(f=o[d++],h=o[d++],p=y+4*f|0,l=s=u=c=0;h>0;h--)c=c+(v=o[d++])*e[p+3]|0,u=u+v*e[p+2]|0,s=s+v*e[p+1]|0,l=l+v*e[p]|0,p=p+4|0;l>>=7,s>>=7,u>>=7,c>>=7,t[b+3]=r(c+8192>>14),t[b+2]=r(u+8192>>14),t[b+1]=r(s+8192>>14),t[b]=r(l+8192>>14),b=b+4*i|0}b=(g+1)*4|0,y=(g+1)*n*4|0}},convolveHorWithPre:function(e,t,n,r,a,o){var l,s,u,c,d,f,h,p,g,m,v,y,b=0,w=0;for(m=0;m<r;m++){for(v=0,f=0;v<a;v++){for(h=o[f++],p=o[f++],g=b+4*h|0,l=s=u=c=0;p>0;p--)c=c+(y=o[f++])*(d=e[g+3])|0,u=u+y*e[g+2]*d|0,s=s+y*e[g+1]*d|0,l=l+y*e[g]*d|0,g=g+4|0;u=u/255|0,s=s/255|0,l=l/255|0,t[w+3]=i(c>>7),t[w+2]=i(u>>7),t[w+1]=i(s>>7),t[w]=i(l>>7),w=w+4*r|0}w=(m+1)*4|0,b=(m+1)*n*4|0}},convolveVertWithPre:function(e,t,n,i,a,o){var l,s,u,c,d,f,h,p,g,m,v,y=0,b=0;for(g=0;g<i;g++){for(m=0,d=0;m<a;m++){for(f=o[d++],h=o[d++],p=y+4*f|0,l=s=u=c=0;h>0;h--)c=c+(v=o[d++])*e[p+3]|0,u=u+v*e[p+2]|0,s=s+v*e[p+1]|0,l=l+v*e[p]|0,p=p+4|0;l>>=7,s>>=7,u>>=7,c>>=7,(c=r(c+8192>>14))>0&&(l=255*l/c|0,s=255*s/c|0,u=255*u/c|0),t[b+3]=c,t[b+2]=r(u+8192>>14),t[b+1]=r(s+8192>>14),t[b]=r(l+8192>>14),b=b+4*i|0}b=(g+1)*4|0,y=(g+1)*n*4|0}}}},{}],3:[function(e,t,n){"use strict";t.exports="AGFzbQEAAAAADAZkeWxpbmsAAAAAAAEYA2AGf39/f39/AGAAAGAIf39/f39/f38AAg8BA2VudgZtZW1vcnkCAAADBwYBAAAAAAIGBgF/AEEACweUAQgRX193YXNtX2NhbGxfY3RvcnMAAAtjb252b2x2ZUhvcgABDGNvbnZvbHZlVmVydAACEmNvbnZvbHZlSG9yV2l0aFByZQADE2NvbnZvbHZlVmVydFdpdGhQcmUABApjb252b2x2ZUhWAAUMX19kc29faGFuZGxlAwAYX193YXNtX2FwcGx5X2RhdGFfcmVsb2NzAAAKyA4GAwABC4wDARB/AkAgA0UNACAERQ0AIANBAnQhFQNAQQAhE0EAIQsDQCALQQJqIQcCfyALQQF0IAVqIgYuAQIiC0UEQEEAIQhBACEGQQAhCUEAIQogBwwBCyASIAYuAQBqIQhBACEJQQAhCiALIRRBACEOIAchBkEAIQ8DQCAFIAZBAXRqLgEAIhAgACAIQQJ0aigCACIRQRh2bCAPaiEPIBFB/wFxIBBsIAlqIQkgEUEQdkH/AXEgEGwgDmohDiARQQh2Qf8BcSAQbCAKaiEKIAhBAWohCCAGQQFqIQYgFEEBayIUDQALIAlBB3UhCCAKQQd1IQYgDkEHdSEJIA9BB3UhCiAHIAtqCyELIAEgDEEBdCIHaiAIQQAgCEEAShs7AQAgASAHQQJyaiAGQQAgBkEAShs7AQAgASAHQQRyaiAJQQAgCUEAShs7AQAgASAHQQZyaiAKQQAgCkEAShs7AQAgDCAVaiEMIBNBAWoiEyAERw0ACyANQQFqIg0gAmwhEiANQQJ0IQwgAyANRw0ACwsL2gMBD38CQCADRQ0AIARFDQAgAkECdCEUA0AgCyEMQQAhE0EAIQIDQCACQQJqIQYCfyACQQF0IAVqIgcuAQIiAkUEQEEAIQhBACEHQQAhCkEAIQkgBgwBCyAHLgEAQQJ0IBJqIQhBACEJIAIhCkEAIQ0gBiEHQQAhDkEAIQ8DQCAFIAdBAXRqLgEAIhAgACAIQQF0IhFqLwEAbCAJaiEJIAAgEUEGcmovAQAgEGwgDmohDiAAIBFBBHJqLwEAIBBsIA9qIQ8gACARQQJyai8BACAQbCANaiENIAhBBGohCCAHQQFqIQcgCkEBayIKDQALIAlBB3UhCCANQQd1IQcgDkEHdSEKIA9BB3UhCSACIAZqCyECIAEgDEECdGogB0GAQGtBDnUiBkH/ASAGQf8BSBsiBkEAIAZBAEobQQh0QYD+A3EgCUGAQGtBDnUiBkH/ASAGQf8BSBsiBkEAIAZBAEobQRB0QYCA/AdxIApBgEBrQQ51IgZB/wEgBkH/AUgbIgZBACAGQQBKG0EYdHJyIAhBgEBrQQ51IgZB/wEgBkH/AUgbIgZBACAGQQBKG3I2AgAgAyAMaiEMIBNBAWoiEyAERw0ACyAUIAtBAWoiC2whEiADIAtHDQALCwuSAwEQfwJAIANFDQAgBEUNACADQQJ0IRUDQEEAIRNBACEGA0AgBkECaiEIAn8gBkEBdCAFaiIGLgECIgdFBEBBACEJQQAhDEEAIQ1BACEOIAgMAQsgEiAGLgEAaiEJQQAhDkEAIQ1BACEMIAchFEEAIQ8gCCEGA0AgBSAGQQF0ai4BACAAIAlBAnRqKAIAIhBBGHZsIhEgD2ohDyARIBBBEHZB/wFxbCAMaiEMIBEgEEEIdkH/AXFsIA1qIQ0gESAQQf8BcWwgDmohDiAJQQFqIQkgBkEBaiEGIBRBAWsiFA0ACyAPQQd1IQkgByAIagshBiABIApBAXQiCGogDkH/AW1BB3UiB0EAIAdBAEobOwEAIAEgCEECcmogDUH/AW1BB3UiB0EAIAdBAEobOwEAIAEgCEEEcmogDEH/AW1BB3UiB0EAIAdBAEobOwEAIAEgCEEGcmogCUEAIAlBAEobOwEAIAogFWohCiATQQFqIhMgBEcNAAsgC0EBaiILIAJsIRIgC0ECdCEKIAMgC0cNAAsLC4IEAQ9/AkAgA0UNACAERQ0AIAJBAnQhFANAIAshDEEAIRJBACEHA0AgB0ECaiEKAn8gB0EBdCAFaiICLgECIhNFBEBBACEIQQAhCUEAIQYgCiEHQQAMAQsgAi4BAEECdCARaiEJQQAhByATIQJBACENIAohBkEAIQ5BACEPA0AgBSAGQQF0ai4BACIIIAAgCUEBdCIQai8BAGwgB2ohByAAIBBBBnJqLwEAIAhsIA5qIQ4gACAQQQRyai8BACAIbCAPaiEPIAAgEEECcmovAQAgCGwgDWohDSAJQQRqIQkgBkEBaiEGIAJBAWsiAg0ACyAHQQd1IQggDUEHdSEJIA9BB3UhBiAKIBNqIQcgDkEHdQtBgEBrQQ51IgJB/wEgAkH/AUgbIgJBACACQQBKGyIKQf8BcQRAIAlB/wFsIAJtIQkgCEH/AWwgAm0hCCAGQf8BbCACbSEGCyABIAxBAnRqIAlBgEBrQQ51IgJB/wEgAkH/AUgbIgJBACACQQBKG0EIdEGA/gNxIAZBgEBrQQ51IgJB/wEgAkH/AUgbIgJBACACQQBKG0EQdEGAgPwHcSAKQRh0ciAIQYBAa0EOdSICQf8BIAJB/wFIGyICQQAgAkEAShtycjYCACADIAxqIQwgEkEBaiISIARHDQALIBQgC0EBaiILbCERIAMgC0cNAAsLC0AAIAcEQEEAIAIgAyAEIAUgABADIAJBACAEIAUgBiABEAQPC0EAIAIgAyAEIAUgABABIAJBACAEIAUgBiABEAIL"},{}],4:[function(e,t,n){"use strict";t.exports={name:"resize",fn:e("./resize"),wasm_fn:e("./resize_wasm"),wasm_src:e("./convolve_wasm_base64")}},{"./convolve_wasm_base64":3,"./resize":5,"./resize_wasm":8}],5:[function(e,t,n){"use strict";var r=e("./resize_filter_gen"),i=e("./convolve"),a=i.convolveHor,o=i.convolveVert,l=i.convolveHorWithPre,s=i.convolveVertWithPre;t.exports=function(e){var t=e.src,n=e.width,i=e.height,u=e.toWidth,c=e.toHeight,d=e.scaleX||e.toWidth/e.width,f=e.scaleY||e.toHeight/e.height,h=e.offsetX||0,p=e.offsetY||0,g=e.dest||new Uint8Array(u*c*4),m=void 0===e.filter?"mks2013":e.filter,v=r(m,n,u,d,h),y=r(m,i,c,f,p),b=new Uint16Array(u*i*4);return function(e,t,n){for(var r=3,i=t*n*4|0;r<i;){if(255!==e[r])return!0;r=r+4|0}return!1}(t,n,i)?(l(t,b,n,i,u,v),s(b,g,i,u,c,y)):(a(t,b,n,i,u,v),o(b,g,i,u,c,y),function(e,t,n){for(var r=3,i=t*n*4|0;r<i;)e[r]=255,r=r+4|0}(g,u,c)),g}},{"./convolve":2,"./resize_filter_gen":6}],6:[function(e,t,n){"use strict";var r=e("./resize_filter_info");function i(e){return Math.round(16383*e)}t.exports=function(e,t,n,a,o){var l,s,u,c,d,f,h,p,g,m,v,y,b,w,A,k,E,C=r.filter[e].fn,S=1/a,I=Math.min(1,a),M=r.filter[e].win/I,_=new Int16Array((Math.floor((M+1)*2)+2)*n),O=0,P=!_.subarray||!_.set;for(l=0;l<n;l++){for(u=Math.max(0,Math.floor((s=(l+.5)*S+o)-M)),f=new Float32Array(d=(c=Math.min(t-1,Math.ceil(s+M)))-u+1),h=new Int16Array(d),p=0,g=u,m=0;g<=c;g++,m++)p+=v=C((g+.5-s)*I),f[m]=v;for(m=0,y=0;m<f.length;m++)y+=b=f[m]/p,h[m]=i(b);for(h[n>>1]+=i(1-y),w=0;w<h.length&&0===h[w];)w++;if(w<h.length){for(A=h.length-1;A>0&&0===h[A];)A--;if(k=u+w,E=A-w+1,_[O++]=k,_[O++]=E,P)for(m=w;m<=A;m++)_[O++]=h[m];else _.set(h.subarray(w,A+1),O),O+=E}else _[O++]=0,_[O++]=0}return _}},{"./resize_filter_info":7}],7:[function(e,t,n){"use strict";t.exports={filter:{box:{win:.5,fn:function(e){return e<0&&(e=-e),e<.5?1:0}},hamming:{win:1,fn:function(e){if(e<0&&(e=-e),e>=1)return 0;if(e<11920929e-14)return 1;var t=e*Math.PI;return Math.sin(t)/t*(.54+.46*Math.cos(t/1))}},lanczos2:{win:2,fn:function(e){if(e<0&&(e=-e),e>=2)return 0;if(e<11920929e-14)return 1;var t=e*Math.PI;return Math.sin(t)/t*Math.sin(t/2)/(t/2)}},lanczos3:{win:3,fn:function(e){if(e<0&&(e=-e),e>=3)return 0;if(e<11920929e-14)return 1;var t=e*Math.PI;return Math.sin(t)/t*Math.sin(t/3)/(t/3)}},mks2013:{win:2.5,fn:function(e){return(e<0&&(e=-e),e>=2.5)?0:e>=1.5?-.125*(e-2.5)*(e-2.5):e>=.5?.25*(4*e*e-11*e+7):1.0625-1.75*e*e}}},f2q:{box:0,hamming:1,lanczos2:2,lanczos3:3},q2f:["box","hamming","lanczos2","lanczos3"]}},{}],8:[function(e,t,n){"use strict";var r=e("./resize_filter_gen"),i=!0;try{i=1===new Uint32Array(new Uint8Array([1,0,0,0]).buffer)[0]}catch(e){}function a(e,t,n){if(i){t.set(new Uint8Array(e.buffer,0,e.byteLength),n);return}for(var r=n,a=0;a<e.length;a++){var o=e[a];t[r++]=255&o,t[r++]=o>>8&255}}t.exports=function(e){var t=e.src,n=e.width,i=e.height,o=e.toWidth,l=e.toHeight,s=e.scaleX||e.toWidth/e.width,u=e.scaleY||e.toHeight/e.height,c=e.offsetX||0,d=e.offsetY||0,f=e.dest||new Uint8Array(o*l*4),h=void 0===e.filter?"mks2013":e.filter,p=r(h,n,o,s,c),g=r(h,i,l,u,d),m=Math.max(t.byteLength,f.byteLength),v=this.__align(0+m),y=i*o*8,b=this.__align(v+y),w=this.__align(b+p.byteLength),A=w+g.byteLength,k=this.__instance("resize",A),E=new Uint8Array(this.__memory.buffer),C=new Uint32Array(this.__memory.buffer),S=new Uint32Array(t.buffer);C.set(S),a(p,E,b),a(g,E,w);var I=k.exports.convolveHV||k.exports._convolveHV;return function(e,t,n){for(var r=3,i=t*n*4|0;r<i;){if(255!==e[r])return!0;r=r+4|0}return!1}(t,n,i)?I(b,w,v,n,i,o,l,1):(I(b,w,v,n,i,o,l,0),function(e,t,n){for(var r=3,i=t*n*4|0;r<i;)e[r]=255,r=r+4|0}(f,o,l)),new Uint32Array(f.buffer).set(new Uint32Array(this.__memory.buffer,0,l*o)),f}},{"./resize_filter_gen":6}],9:[function(e,t,n){"use strict";t.exports={name:"unsharp_mask",fn:e("./unsharp_mask"),wasm_fn:e("./unsharp_mask_wasm"),wasm_src:e("./unsharp_mask_wasm_base64")}},{"./unsharp_mask":10,"./unsharp_mask_wasm":11,"./unsharp_mask_wasm_base64":12}],10:[function(e,t,n){"use strict";var r=e("glur/mono16");t.exports=function(e,t,n,i,a,o){if(0!==i&&!(a<.5)){a>2&&(a=2);var l,s,u,c,d,f=function(e,t,n){for(var r,i,a,o,l=t*n,s=new Uint16Array(l),u=0;u<l;u++)r=e[4*u],i=e[4*u+1],a=e[4*u+2],o=r>=i&&r>=a?r:i>=a&&i>=r?i:a,s[u]=o<<8;return s}(e,t,n),h=new Uint16Array(f);r(h,t,n,a);for(var p=i/100*4096+.5|0,g=o<<8,m=t*n,v=0;v<m;v++)Math.abs(c=(l=f[v])-h[v])>=g&&(u=((s=(s=(s=l+(p*c+2048>>12))>65280?65280:s)<0?0:s)<<12)/(l=0!==l?l:1)|0,e[d=4*v]=e[d]*u+2048>>12,e[d+1]=e[d+1]*u+2048>>12,e[d+2]=e[d+2]*u+2048>>12)}}},{"glur/mono16":18}],11:[function(e,t,n){"use strict";t.exports=function(e,t,n,r,i,a){if(0!==r&&!(i<.5)){i>2&&(i=2);var o=t*n,l=4*o,s=2*o,u=2*o,c=4*Math.max(t,n),d=l+s,f=d+u,h=f+u,p=this.__instance("unsharp_mask",l+s+2*u+c+32,{exp:Math.exp}),g=new Uint32Array(e.buffer);new Uint32Array(this.__memory.buffer).set(g);var m=p.exports.hsv_v16||p.exports._hsv_v16;m(0,l,t,n),(m=p.exports.blurMono16||p.exports._blurMono16)(l,d,f,h,h+c,t,n,i),(m=p.exports.unsharp||p.exports._unsharp)(0,0,l,d,t,n,r,a),g.set(new Uint32Array(this.__memory.buffer,0,o))}}},{}],12:[function(e,t,n){"use strict";t.exports="AGFzbQEAAAAADAZkeWxpbmsAAAAAAAE0B2AAAGAEf39/fwBgBn9/f39/fwBgCH9/f39/f39/AGAIf39/f39/f30AYAJ9fwBgAXwBfAIZAgNlbnYDZXhwAAYDZW52Bm1lbW9yeQIAAAMHBgAFAgQBAwYGAX8AQQALB4oBCBFfX3dhc21fY2FsbF9jdG9ycwABFl9fYnVpbGRfZ2F1c3NpYW5fY29lZnMAAg5fX2dhdXNzMTZfbGluZQADCmJsdXJNb25vMTYABAdoc3ZfdjE2AAUHdW5zaGFycAAGDF9fZHNvX2hhbmRsZQMAGF9fd2FzbV9hcHBseV9kYXRhX3JlbG9jcwABCsUMBgMAAQvWAQEHfCABRNuGukOCGvs/IAC7oyICRAAAAAAAAADAohAAIgW2jDgCFCABIAKaEAAiAyADoCIGtjgCECABRAAAAAAAAPA/IAOhIgQgBKIgAyACIAKgokQAAAAAAADwP6AgBaGjIgS2OAIAIAEgBSAEmqIiB7Y4AgwgASADIAJEAAAAAAAA8D+gIASioiIItjgCCCABIAMgAkQAAAAAAADwv6AgBKKiIgK2OAIEIAEgByAIoCAFRAAAAAAAAPA/IAahoCIDo7Y4AhwgASAEIAKgIAOjtjgCGAuGBQMGfwl8An0gAyoCDCEVIAMqAgghFiADKgIUuyERIAMqAhC7IRACQCAEQQFrIghBAEgiCQRAIAIhByAAIQYMAQsgAiAALwEAuCIPIAMqAhi7oiIMIBGiIg0gDCAQoiAPIAMqAgS7IhOiIhQgAyoCALsiEiAPoqCgoCIOtjgCACACQQRqIQcgAEECaiEGIAhFDQAgCEEBIAhBAUgbIgpBf3MhCwJ/IAQgCmtBAXFFBEAgDiENIAgMAQsgAiANIA4gEKIgFCASIAAvAQK4Ig+ioKCgIg22OAIEIAJBCGohByAAQQRqIQYgDiEMIARBAmsLIQIgC0EAIARrRg0AA0AgByAMIBGiIA0gEKIgDyAToiASIAYvAQC4Ig6ioKCgIgy2OAIAIAcgDSARoiAMIBCiIA4gE6IgEiAGLwECuCIPoqCgoCINtjgCBCAHQQhqIQcgBkEEaiEGIAJBAkohACACQQJrIQIgAA0ACwsCQCAJDQAgASAFIAhsQQF0aiIAAn8gBkECay8BACICuCINIBW7IhKiIA0gFrsiE6KgIA0gAyoCHLuiIgwgEKKgIAwgEaKgIg8gB0EEayIHKgIAu6AiDkQAAAAAAADwQWMgDkQAAAAAAAAAAGZxBEAgDqsMAQtBAAs7AQAgCEUNACAGQQRrIQZBACAFa0EBdCEBA0ACfyANIBKiIAJB//8DcbgiDSAToqAgDyIOIBCioCAMIBGioCIPIAdBBGsiByoCALugIgxEAAAAAAAA8EFjIAxEAAAAAAAAAABmcQRAIAyrDAELQQALIQMgBi8BACECIAAgAWoiACADOwEAIAZBAmshBiAIQQFKIQMgDiEMIAhBAWshCCADDQALCwvRAgIBfwd8AkAgB0MAAAAAWw0AIARE24a6Q4Ia+z8gB0MAAAA/l7ujIglEAAAAAAAAAMCiEAAiDLaMOAIUIAQgCZoQACIKIAqgIg22OAIQIAREAAAAAAAA8D8gCqEiCyALoiAKIAkgCaCiRAAAAAAAAPA/oCAMoaMiC7Y4AgAgBCAMIAuaoiIOtjgCDCAEIAogCUQAAAAAAADwP6AgC6KiIg+2OAIIIAQgCiAJRAAAAAAAAPC/oCALoqIiCbY4AgQgBCAOIA+gIAxEAAAAAAAA8D8gDaGgIgqjtjgCHCAEIAsgCaAgCqO2OAIYIAYEQANAIAAgBSAIbEEBdGogAiAIQQF0aiADIAQgBSAGEAMgCEEBaiIIIAZHDQALCyAFRQ0AQQAhCANAIAIgBiAIbEEBdGogASAIQQF0aiADIAQgBiAFEAMgCEEBaiIIIAVHDQALCwtxAQN/IAIgA2wiBQRAA0AgASAAKAIAIgRBEHZB/wFxIgIgAiAEQQh2Qf8BcSIDIAMgBEH/AXEiBEkbIAIgA0sbIgYgBiAEIAIgBEsbIAMgBEsbQQh0OwEAIAFBAmohASAAQQRqIQAgBUEBayIFDQALCwuZAgIDfwF8IAQgBWwhBAJ/IAazQwAAgEWUQwAAyEKVu0QAAAAAAADgP6AiC5lEAAAAAAAA4EFjBEAgC6oMAQtBgICAgHgLIQUgBARAIAdBCHQhCUEAIQYDQCAJIAIgBkEBdCIHai8BACIBIAMgB2ovAQBrIgcgB0EfdSIIaiAIc00EQCAAIAZBAnQiCGoiCiAFIAdsQYAQakEMdSABaiIHQYD+AyAHQYD+A0gbIgdBACAHQQBKG0EMdCABQQEgARtuIgEgCi0AAGxBgBBqQQx2OgAAIAAgCEEBcmoiByABIActAABsQYAQakEMdjoAACAAIAhBAnJqIgcgASAHLQAAbEGAEGpBDHY6AAALIAZBAWoiBiAERw0ACwsL"},{}],13:[function(e,t,n){"use strict";function r(e,t){this.create=e,this.available=[],this.acquired={},this.lastId=1,this.timeoutId=0,this.idle=t||2e3}r.prototype.acquire=function(){var e,t=this;return 0!==this.available.length?e=this.available.pop():((e=this.create()).id=this.lastId++,e.release=function(){return t.release(e)}),this.acquired[e.id]=e,e},r.prototype.release=function(e){var t=this;delete this.acquired[e.id],e.lastUsed=Date.now(),this.available.push(e),0===this.timeoutId&&(this.timeoutId=setTimeout(function(){return t.gc()},100))},r.prototype.gc=function(){var e=this,t=Date.now();this.available=this.available.filter(function(n){return!(t-n.lastUsed>e.idle)||(n.destroy(),!1)}),0!==this.available.length?this.timeoutId=setTimeout(function(){return e.gc()},100):this.timeoutId=0},t.exports=r},{}],14:[function(e,t,n){"use strict";t.exports=function(e,t,n,r,i,a){var o=n/e,l=r/t,s=(2*a+2+1)/i;if(s>.5)return[[n,r]];var u=Math.ceil(Math.log(Math.min(o,l))/Math.log(s));if(u<=1)return[[n,r]];for(var c=[],d=0;d<u;d++){var f=Math.round(Math.pow(Math.pow(e,u-d-1)*Math.pow(n,d+1),1/u)),h=Math.round(Math.pow(Math.pow(t,u-d-1)*Math.pow(r,d+1),1/u));c.push([f,h])}return c}},{}],15:[function(e,t,n){"use strict";function r(e){var t=Math.round(e);return 1e-5>Math.abs(e-t)?t:Math.floor(e)}function i(e){var t=Math.round(e);return 1e-5>Math.abs(e-t)?t:Math.ceil(e)}t.exports=function(e){var t,n,a,o,l,s,u=e.toWidth/e.width,c=e.toHeight/e.height,d=r(e.srcTileSize*u)-2*e.destTileBorder,f=r(e.srcTileSize*c)-2*e.destTileBorder;if(d<1||f<1)throw Error("Internal error in pica: target tile width/height is too small.");var h=[];for(o=0;o<e.toHeight;o+=f)for(a=0;a<e.toWidth;a+=d)(t=a-e.destTileBorder)<0&&(t=0),l=a+d+e.destTileBorder-t,t+l>=e.toWidth&&(l=e.toWidth-t),(n=o-e.destTileBorder)<0&&(n=0),s=o+f+e.destTileBorder-n,n+s>=e.toHeight&&(s=e.toHeight-n),h.push({toX:t,toY:n,toWidth:l,toHeight:s,toInnerX:a,toInnerY:o,toInnerWidth:d,toInnerHeight:f,offsetX:t/u-r(t/u),offsetY:n/c-r(n/c),scaleX:u,scaleY:c,x:r(t/u),y:r(n/c),width:i(l/u),height:i(s/c)});return h}},{}],16:[function(e,t,n){"use strict";function r(e){return Object.prototype.toString.call(e)}t.exports.isCanvas=function(e){var t=r(e);return"[object HTMLCanvasElement]"===t||"[object OffscreenCanvas]"===t||"[object Canvas]"===t},t.exports.isImage=function(e){return"[object HTMLImageElement]"===r(e)},t.exports.isImageBitmap=function(e){return"[object ImageBitmap]"===r(e)},t.exports.limiter=function(e){var t=0,n=[];function r(){t<e&&n.length&&(t++,n.shift()())}return function(e){return new Promise(function(i,a){n.push(function(){e().then(function(e){i(e),t--,r()},function(e){a(e),t--,r()})}),r()})}},t.exports.cib_quality_name=function(e){switch(e){case 0:return"pixelated";case 1:return"low";case 2:return"medium"}return"high"},t.exports.cib_support=function(e){return Promise.resolve().then(function(){if("undefined"==typeof createImageBitmap)return!1;var t=e(100,100);return createImageBitmap(t,0,0,100,100,{resizeWidth:10,resizeHeight:10,resizeQuality:"high"}).then(function(e){var n=10===e.width;return e.close(),t=null,n})}).catch(function(){return!1})},t.exports.worker_offscreen_canvas_support=function(){return new Promise(function(e,t){if("undefined"==typeof OffscreenCanvas){e(!1);return}var n=btoa("(".concat((function(e){if("undefined"==typeof createImageBitmap){e.postMessage(!1);return}Promise.resolve().then(function(){var e=new OffscreenCanvas(10,10);return e.getContext("2d").rect(0,0,1,1),createImageBitmap(e,0,0,1,1)}).then(function(){return e.postMessage(!0)},function(){return e.postMessage(!1)})}).toString(),")(self);")),r=new Worker("data:text/javascript;base64,".concat(n));r.onmessage=function(t){return e(t.data)},r.onerror=t}).then(function(e){return e},function(){return!1})},t.exports.can_use_canvas=function(e){var t=!1;try{var n=e(2,1).getContext("2d"),r=n.createImageData(2,1);r.data[0]=12,r.data[1]=23,r.data[2]=34,r.data[3]=255,r.data[4]=45,r.data[5]=56,r.data[6]=67,r.data[7]=255,n.putImageData(r,0,0),r=null,r=n.getImageData(0,0,2,1),12===r.data[0]&&23===r.data[1]&&34===r.data[2]&&255===r.data[3]&&45===r.data[4]&&56===r.data[5]&&67===r.data[6]&&255===r.data[7]&&(t=!0)}catch(e){}return t},t.exports.cib_can_use_region=function(){return new Promise(function(e){if("undefined"==typeof Image||"undefined"==typeof createImageBitmap){e(!1);return}var t=new Image;t.src="data:image/jpeg;base64,/9j/4QBiRXhpZgAATU0AKgAAAAgABQESAAMAAAABAAYAAAEaAAUAAAABAAAASgEbAAUAAAABAAAAUgEoAAMAAAABAAIAAAITAAMAAAABAAEAAAAAAAAAAABIAAAAAQAAAEgAAAAB/9sAQwAEAwMEAwMEBAMEBQQEBQYKBwYGBgYNCQoICg8NEBAPDQ8OERMYFBESFxIODxUcFRcZGRsbGxAUHR8dGh8YGhsa/9sAQwEEBQUGBQYMBwcMGhEPERoaGhoaGhoaGhoaGhoaGhoaGhoaGhoaGhoaGhoaGhoaGhoaGhoaGhoaGhoaGhoaGhoa/8IAEQgAAQACAwERAAIRAQMRAf/EABQAAQAAAAAAAAAAAAAAAAAAAAf/xAAUAQEAAAAAAAAAAAAAAAAAAAAA/9oADAMBAAIQAxAAAAF/P//EABQQAQAAAAAAAAAAAAAAAAAAAAD/2gAIAQEAAQUCf//EABQRAQAAAAAAAAAAAAAAAAAAAAD/2gAIAQMBAT8Bf//EABQRAQAAAAAAAAAAAAAAAAAAAAD/2gAIAQIBAT8Bf//EABQQAQAAAAAAAAAAAAAAAAAAAAD/2gAIAQEABj8Cf//EABQQAQAAAAAAAAAAAAAAAAAAAAD/2gAIAQEAAT8hf//aAAwDAQACAAMAAAAQH//EABQRAQAAAAAAAAAAAAAAAAAAAAD/2gAIAQMBAT8Qf//EABQRAQAAAAAAAAAAAAAAAAAAAAD/2gAIAQIBAT8Qf//EABQQAQAAAAAAAAAAAAAAAAAAAAD/2gAIAQEAAT8Qf//Z",t.onload=function(){createImageBitmap(t,0,0,t.width,t.height).then(function(n){n.width===t.width&&n.height===t.height?e(!0):e(!1)},function(){return e(!1)})},t.onerror=function(){return e(!1)}})}},{}],17:[function(e,t,n){"use strict";t.exports=function(){var t,n=e("./mathlib");onmessage=function(e){var r=e.data.opts;if(!r.src&&r.srcBitmap){var i=new OffscreenCanvas(r.width,r.height),a=i.getContext("2d");a.drawImage(r.srcBitmap,0,0),r.src=a.getImageData(0,0,r.width,r.height).data,i.width=i.height=0,i=null,r.srcBitmap.close(),r.srcBitmap=null}t||(t=new n(e.data.features));var o=t.resizeAndUnsharp(r);postMessage({data:o},[o.buffer])}}},{"./mathlib":1}],18:[function(e,t,n){var r,i,a,o,l,s,u,c;function d(e,t,n,r,i,a){var o,l,s,u,c,d,f,h,p,g,m,v,y,b;for(p=0;p<a;p++){for(g=0,d=p*i,f=p,h=0,u=c=(o=e[d])*r[6],m=r[0],v=r[1],y=r[4],b=r[5];g<i;g++)s=(l=e[d])*m+o*v+u*y+c*b,c=u,u=s,o=l,n[h]=u,h++,d++;for(d--,h--,f+=a*(i-1),u=c=(o=e[d])*r[7],l=o,m=r[2],v=r[3],g=i-1;g>=0;g--)s=l*m+o*v+u*y+c*b,c=u,u=s,o=l,l=e[d],t[f]=n[h]+u,d--,h--,f-=a}}t.exports=function(e,t,n,f){if(f){var h,p,g,m,v,y=new Uint16Array(e.length),b=new Float32Array(Math.max(t,n)),w=((h=f)<.5&&(h=.5),g=Math.exp(-(p=Math.exp(.527076)/h)),m=Math.exp(-2*p),r=v=(1-g)*(1-g)/(1+2*p*g-m),i=v*(p-1)*g,a=v*(p+1)*g,o=-v*m,u=(r+i)/(1-(l=2*g)-(s=-m)),c=(a+o)/(1-l-s),new Float32Array([r,i,a,o,l,s,u,c]));d(e,y,b,w,t,n,f),d(y,e,b,w,n,t,f)}}},{}],19:[function(e,t,n){"use strict";var r=e("object-assign"),i=e("./lib/base64decode"),a=e("./lib/wa_detect"),o={js:!0,wasm:!0};function l(e){if(!(this instanceof l))return new l(e);var t=r({},o,e||{});if(this.options=t,this.__cache={},this.__init_promise=null,this.__modules=t.modules||{},this.__memory=null,this.__wasm={},this.__isLE=1===new Uint32Array(new Uint8Array([1,0,0,0]).buffer)[0],!this.options.js&&!this.options.wasm)throw Error('mathlib: at least "js" or "wasm" should be enabled')}l.prototype.has_wasm=a,l.prototype.use=function(e){return this.__modules[e.name]=e,this.options.wasm&&this.has_wasm()&&e.wasm_fn?this[e.name]=e.wasm_fn:this[e.name]=e.fn,this},l.prototype.init=function(){if(this.__init_promise)return this.__init_promise;if(!this.options.js&&this.options.wasm&&!this.has_wasm())return Promise.reject(Error('mathlib: only "wasm" was enabled, but it\'s not supported'));var e=this;return this.__init_promise=Promise.all(Object.keys(e.__modules).map(function(t){var n=e.__modules[t];return e.options.wasm&&e.has_wasm()&&n.wasm_fn&&!e.__wasm[t]?WebAssembly.compile(e.__base64decode(n.wasm_src)).then(function(n){e.__wasm[t]=n}):null})).then(function(){return e}),this.__init_promise},l.prototype.__base64decode=i,l.prototype.__reallocate=function(e){if(!this.__memory)return this.__memory=new WebAssembly.Memory({initial:Math.ceil(e/65536)}),this.__memory;var t=this.__memory.buffer.byteLength;return t<e&&this.__memory.grow(Math.ceil((e-t)/65536)),this.__memory},l.prototype.__instance=function(e,t,n){if(t&&this.__reallocate(t),!this.__wasm[e]){var i=this.__modules[e];this.__wasm[e]=new WebAssembly.Module(this.__base64decode(i.wasm_src))}if(!this.__cache[e]){var a={memoryBase:0,memory:this.__memory,tableBase:0,table:new WebAssembly.Table({initial:0,element:"anyfunc"})};this.__cache[e]=new WebAssembly.Instance(this.__wasm[e],{env:r(a,n||{})})}return this.__cache[e]},l.prototype.__align=function(e,t){var n=e%(t=t||8);return e+(n?t-n:0)},t.exports=l},{"./lib/base64decode":20,"./lib/wa_detect":21,"object-assign":22}],20:[function(e,t,n){"use strict";t.exports=function(e){for(var t=e.replace(/[\r\n=]/g,""),n=t.length,r=new Uint8Array(3*n>>2),i=0,a=0,o=0;o<n;o++)o%4==0&&o&&(r[a++]=i>>16&255,r[a++]=i>>8&255,r[a++]=255&i),i=i<<6|"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".indexOf(t.charAt(o));var l=n%4*6;return 0===l?(r[a++]=i>>16&255,r[a++]=i>>8&255,r[a++]=255&i):18===l?(r[a++]=i>>10&255,r[a++]=i>>2&255):12===l&&(r[a++]=i>>4&255),r}},{}],21:[function(e,t,n){"use strict";var r;t.exports=function(){if(void 0!==r||(r=!1,"undefined"==typeof WebAssembly))return r;try{var e=new Uint8Array([0,97,115,109,1,0,0,0,1,6,1,96,1,127,1,127,3,2,1,0,5,3,1,0,1,7,8,1,4,116,101,115,116,0,0,10,16,1,14,0,32,0,65,1,54,2,0,32,0,40,2,0,11]),t=new WebAssembly.Module(e),n=new WebAssembly.Instance(t,{});0!==n.exports.test(4)&&(r=!0)}catch(e){}return r}},{}],22:[function(e,t,n){"use strict";var r=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;t.exports=!function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;var r=Object.getOwnPropertyNames(t).map(function(e){return t[e]});if("0123456789"!==r.join(""))return!1;var i={};if("abcdefghijklmnopqrst".split("").forEach(function(e){i[e]=e}),"abcdefghijklmnopqrst"!==Object.keys(Object.assign({},i)).join(""))return!1;return!0}catch(e){return!1}}()?function(e,t){for(var n,o,l=function(e){if(null==e)throw TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),s=1;s<arguments.length;s++){for(var u in n=Object(arguments[s]))i.call(n,u)&&(l[u]=n[u]);if(r){o=r(n);for(var c=0;c<o.length;c++)a.call(n,o[c])&&(l[o[c]]=n[o[c]])}}return l}:Object.assign},{}],23:[function(e,t,n){var r=arguments[3],i=arguments[4],a=arguments[5],o=JSON.stringify;t.exports=function(e,t){for(var n,l=Object.keys(a),s=0,u=l.length;s<u;s++){var c=l[s],d=a[c].exports;if(d===e||d&&d.default===e){n=c;break}}if(!n){n=Math.floor(4294967296*Math.random()).toString(16);for(var f={},s=0,u=l.length;s<u;s++){var c=l[s];f[c]=c}i[n]=["function(require,module,exports){"+e+"(self); }",f]}var h=Math.floor(4294967296*Math.random()).toString(16),p={};p[n]=n,i[h]=["function(require,module,exports){var f = require("+o(n)+");(f.default ? f.default : f)(self);}",p];var g={};(function e(t){for(var n in g[t]=!0,i[t][1]){var r=i[t][1][n];g[r]||e(r)}})(h);var m="("+r+")({"+Object.keys(g).map(function(e){return o(e)+":["+i[e][0]+","+o(i[e][1])+"]"}).join(",")+"},{},["+o(h)+"])",v=window.URL||window.webkitURL||window.mozURL||window.msURL,y=new Blob([m],{type:"text/javascript"});if(t&&t.bare)return y;var b=v.createObjectURL(y),w=new Worker(b);return w.objectURL=b,w}},{}],"/index.js":[function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var i=e("object-assign"),a=e("webworkify"),o=e("./lib/mathlib"),l=e("./lib/pool"),s=e("./lib/utils"),u=e("./lib/worker"),c=e("./lib/stepper"),d=e("./lib/tiler"),f=e("./lib/mm_resize/resize_filter_info"),h={},p=!1;try{"undefined"!=typeof navigator&&navigator.userAgent&&(p=navigator.userAgent.indexOf("Safari")>=0)}catch(e){}var g=1;"undefined"!=typeof navigator&&(g=Math.min(navigator.hardwareConcurrency||1,4));var m={tile:1024,concurrency:g,features:["js","wasm","ww"],idle:2e3,createCanvas:function(e,t){var n=document.createElement("canvas");return n.width=e,n.height=t,n}},v={filter:"mks2013",unsharpAmount:0,unsharpRadius:0,unsharpThreshold:0},y=!1,b=!1,w=!1,A=!1,k=!1;function E(){return{value:a(u),destroy:function(){if(this.value.terminate(),"undefined"!=typeof window){var e=window.URL||window.webkitURL||window.mozURL||window.msURL;e&&e.revokeObjectURL&&this.value.objectURL&&e.revokeObjectURL(this.value.objectURL)}}}}function C(e){if(!(this instanceof C))return new C(e);this.options=i({},m,e||{});var t="lk_".concat(this.options.concurrency);this.__limit=h[t]||s.limiter(this.options.concurrency),h[t]||(h[t]=this.__limit),this.features={js:!1,wasm:!1,cib:!1,ww:!1},this.__workersPool=null,this.__requested_features=[],this.__mathlib=null}C.prototype.init=function(){var t,n,r=this;if(this.__initPromise)return this.__initPromise;if("undefined"!=typeof ImageData&&"undefined"!=typeof Uint8ClampedArray)try{new ImageData(new Uint8ClampedArray(400),10,10),y=!0}catch(e){}"undefined"!=typeof ImageBitmap&&(ImageBitmap.prototype&&ImageBitmap.prototype.close?b=!0:this.debug("ImageBitmap does not support .close(), disabled"));var a=this.options.features.slice();if(a.indexOf("all")>=0&&(a=["cib","wasm","js","ww"]),this.__requested_features=a,this.__mathlib=new o(a),a.indexOf("ww")>=0&&"undefined"!=typeof window&&"Worker"in window)try{e("webworkify")(function(){}).terminate(),this.features.ww=!0;var u="wp_".concat(JSON.stringify(this.options));h[u]?this.__workersPool=h[u]:(this.__workersPool=new l(E,this.options.idle),h[u]=this.__workersPool)}catch(e){}var c=this.__mathlib.init().then(function(e){i(r.features,e.features)});t=b?s.cib_support(this.options.createCanvas).then(function(e){if(r.features.cib&&0>a.indexOf("cib")){r.debug("createImageBitmap() resize supported, but disabled by config");return}a.indexOf("cib")>=0&&(r.features.cib=e)}):Promise.resolve(!1),w=s.can_use_canvas(this.options.createCanvas),n=(n=b&&y&&-1!==a.indexOf("ww")?s.worker_offscreen_canvas_support():Promise.resolve(!1)).then(function(e){A=e});var d=s.cib_can_use_region().then(function(e){k=e});return this.__initPromise=Promise.all([c,t,n,d]).then(function(){return r}),this.__initPromise},C.prototype.__invokeResize=function(e,t){var n=this;return t.__mathCache=t.__mathCache||{},Promise.resolve().then(function(){return n.features.ww?new Promise(function(r,i){var a=n.__workersPool.acquire();t.cancelToken&&t.cancelToken.catch(function(e){return i(e)}),a.value.onmessage=function(e){a.release(),e.data.err?i(e.data.err):r(e.data)};var o=[];e.src&&o.push(e.src.buffer),e.srcBitmap&&o.push(e.srcBitmap),a.value.postMessage({opts:e,features:n.__requested_features,preload:{wasm_nodule:n.__mathlib.__}},o)}):{data:n.__mathlib.resizeAndUnsharp(e,t.__mathCache)}})},C.prototype.__extractTileData=function(e,t,n,r,i){if(this.features.ww&&A&&(s.isCanvas(t)||k))return this.debug("Create tile for OffscreenCanvas"),createImageBitmap(r.srcImageBitmap||t,e.x,e.y,e.width,e.height).then(function(e){return i.srcBitmap=e,i});if(s.isCanvas(t))return r.srcCtx||(r.srcCtx=t.getContext("2d")),this.debug("Get tile pixel data"),i.src=r.srcCtx.getImageData(e.x,e.y,e.width,e.height).data,i;this.debug("Draw tile imageBitmap/image to temporary canvas");var a=this.options.createCanvas(e.width,e.height),o=a.getContext("2d");return o.globalCompositeOperation="copy",o.drawImage(r.srcImageBitmap||t,e.x,e.y,e.width,e.height,0,0,e.width,e.height),this.debug("Get tile pixel data"),i.src=o.getImageData(0,0,e.width,e.height).data,a.width=a.height=0,i},C.prototype.__landTileData=function(e,t,n){var r;if(this.debug("Convert raw rgba tile result to ImageData"),t.bitmap)return n.toCtx.drawImage(t.bitmap,e.toX,e.toY),null;if(y)r=new ImageData(new Uint8ClampedArray(t.data),e.toWidth,e.toHeight);else if((r=n.toCtx.createImageData(e.toWidth,e.toHeight)).data.set)r.data.set(t.data);else for(var i=r.data.length-1;i>=0;i--)r.data[i]=t.data[i];return this.debug("Draw tile"),p?n.toCtx.putImageData(r,e.toX,e.toY,e.toInnerX-e.toX,e.toInnerY-e.toY,e.toInnerWidth+1e-5,e.toInnerHeight+1e-5):n.toCtx.putImageData(r,e.toX,e.toY,e.toInnerX-e.toX,e.toInnerY-e.toY,e.toInnerWidth,e.toInnerHeight),null},C.prototype.__tileAndResize=function(e,t,n){var r=this,i={srcCtx:null,srcImageBitmap:null,isImageBitmapReused:!1,toCtx:null};return Promise.resolve().then(function(){if(i.toCtx=t.getContext("2d"),s.isCanvas(e))return null;if(s.isImageBitmap(e))return i.srcImageBitmap=e,i.isImageBitmapReused=!0,null;if(s.isImage(e))return b?(r.debug("Decode image via createImageBitmap"),createImageBitmap(e).then(function(e){i.srcImageBitmap=e}).catch(function(e){return null})):null;throw Error('Pica: ".from" should be Image, Canvas or ImageBitmap')}).then(function(){if(n.canceled)return n.cancelToken;r.debug("Calculate tiles");var a=d({width:n.width,height:n.height,srcTileSize:r.options.tile,toWidth:n.toWidth,toHeight:n.toHeight,destTileBorder:n.__destTileBorder}).map(function(t){return r.__limit(function(){if(n.canceled)return n.cancelToken;var a={width:t.width,height:t.height,toWidth:t.toWidth,toHeight:t.toHeight,scaleX:t.scaleX,scaleY:t.scaleY,offsetX:t.offsetX,offsetY:t.offsetY,filter:n.filter,unsharpAmount:n.unsharpAmount,unsharpRadius:n.unsharpRadius,unsharpThreshold:n.unsharpThreshold};return r.debug("Invoke resize math"),Promise.resolve(a).then(function(a){return r.__extractTileData(t,e,n,i,a)}).then(function(e){return r.debug("Invoke resize math"),r.__invokeResize(e,n)}).then(function(e){return n.canceled?n.cancelToken:(i.srcImageData=null,r.__landTileData(t,e,i))})})});function o(e){e.srcImageBitmap&&(e.isImageBitmapReused||e.srcImageBitmap.close(),e.srcImageBitmap=null)}return r.debug("Process tiles"),Promise.all(a).then(function(){return r.debug("Finished!"),o(i),t},function(e){throw o(i),e})})},C.prototype.__processStages=function(e,t,n,a){var o,l,s,u=this;if(a.canceled)return a.cancelToken;var c=function(e){if(Array.isArray(e))return e}(o=e.shift())||function(e,t){var n,r,i=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var a=[],o=!0,l=!1;try{for(i=i.call(e);!(o=(n=i.next()).done)&&(a.push(n.value),2!==a.length);o=!0);}catch(e){l=!0,r=e}finally{try{o||null==i.return||i.return()}finally{if(l)throw r}}return a}}(o,2)||function(e,t){if(e){if("string"==typeof e)return r(e,2);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return r(e,2)}}(o,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),d=c[0],h=c[1],p=0===e.length;return l=p||0>f.q2f.indexOf(a.filter)?a.filter:"box"===a.filter?"box":"hamming",a=i({},a,{toWidth:d,toHeight:h,filter:l}),p||(s=this.options.createCanvas(d,h)),this.__tileAndResize(t,p?n:s,a).then(function(){return p?n:(a.width=d,a.height=h,u.__processStages(e,s,n,a))}).then(function(e){return s&&(s.width=s.height=0),e})},C.prototype.__resizeViaCreateImageBitmap=function(e,t,n){var r=this,i=t.getContext("2d");return this.debug("Resize via createImageBitmap()"),createImageBitmap(e,{resizeWidth:n.toWidth,resizeHeight:n.toHeight,resizeQuality:s.cib_quality_name(f.f2q[n.filter])}).then(function(e){if(n.canceled)return n.cancelToken;if(!n.unsharpAmount)return i.drawImage(e,0,0),e.close(),i=null,r.debug("Finished!"),t;r.debug("Unsharp result");var a=r.options.createCanvas(n.toWidth,n.toHeight),o=a.getContext("2d");o.drawImage(e,0,0),e.close();var l=o.getImageData(0,0,n.toWidth,n.toHeight);return r.__mathlib.unsharp_mask(l.data,n.toWidth,n.toHeight,n.unsharpAmount,n.unsharpRadius,n.unsharpThreshold),i.putImageData(l,0,0),a.width=a.height=0,l=o=a=i=null,r.debug("Finished!"),t})},C.prototype.resize=function(e,t,n){var r=this;this.debug("Start resize...");var a=i({},v);if(isNaN(n)?n&&(a=i(a,n)):a=i(a,{quality:n}),a.toWidth=t.width,a.toHeight=t.height,a.width=e.naturalWidth||e.width,a.height=e.naturalHeight||e.height,Object.prototype.hasOwnProperty.call(a,"quality")){if(a.quality<0||a.quality>3)throw Error("Pica: .quality should be [0..3], got ".concat(a.quality));a.filter=f.q2f[a.quality]}return 0===t.width||0===t.height?Promise.reject(Error("Invalid output size: ".concat(t.width,"x").concat(t.height))):(a.unsharpRadius>2&&(a.unsharpRadius=2),a.canceled=!1,a.cancelToken&&(a.cancelToken=a.cancelToken.then(function(e){throw a.canceled=!0,e},function(e){throw a.canceled=!0,e})),a.__destTileBorder=Math.ceil(Math.max(3,2.5*a.unsharpRadius|0)),this.init().then(function(){if(a.canceled)return a.cancelToken;if(r.features.cib){if(f.q2f.indexOf(a.filter)>=0)return r.__resizeViaCreateImageBitmap(e,t,a);r.debug("cib is enabled, but not supports provided filter, fallback to manual math")}if(!w){var n=Error("Pica: cannot use getImageData on canvas, make sure fingerprinting protection isn't enabled");throw n.code="ERR_GET_IMAGE_DATA",n}var i=c(a.width,a.height,a.toWidth,a.toHeight,r.options.tile,a.__destTileBorder);return r.__processStages(i,e,t,a)}))},C.prototype.resizeBuffer=function(e){var t=this,n=i({},v,e);if(Object.prototype.hasOwnProperty.call(n,"quality")){if(n.quality<0||n.quality>3)throw Error("Pica: .quality should be [0..3], got ".concat(n.quality));n.filter=f.q2f[n.quality]}return this.init().then(function(){return t.__mathlib.resizeAndUnsharp(n)})},C.prototype.toBlob=function(e,t,n){return t=t||"image/png",new Promise(function(r){if(e.toBlob){e.toBlob(function(e){return r(e)},t,n);return}if(e.convertToBlob){r(e.convertToBlob({type:t,quality:n}));return}for(var i=atob(e.toDataURL(t,n).split(",")[1]),a=i.length,o=new Uint8Array(a),l=0;l<a;l++)o[l]=i.charCodeAt(l);r(new Blob([o],{type:t}))})},C.prototype.debug=function(){},t.exports=C},{"./lib/mathlib":1,"./lib/mm_resize/resize_filter_info":7,"./lib/pool":13,"./lib/stepper":14,"./lib/tiler":15,"./lib/utils":16,"./lib/worker":17,"object-assign":22,webworkify:23}]},{},[])("/index.js")},e.exports=t()},89617:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});var r=n(36760),i=n.n(r),a=n(2265),o=n(57437);let l=["xxl","xl","lg","md","sm","xs"],s=a.createContext({prefixes:{},breakpoints:l,minBreakpoint:"xs"}),{Consumer:u,Provider:c}=s,d=a.forwardRef((e,t)=>{let{as:n="div",bsPrefix:r,className:u,direction:c,gap:d,...f}=e;r=function(e,t){let{prefixes:n}=(0,a.useContext)(s);return e||n[t]||t}(r,"horizontal"===c?"hstack":"vstack");let h=function(){let{breakpoints:e}=(0,a.useContext)(s);return e}(),p=function(){let{minBreakpoint:e}=(0,a.useContext)(s);return e}();return(0,o.jsx)(n,{...f,ref:t,className:i()(u,r,...function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"xs",r=[];return Object.entries(e).forEach(e=>{let[i,a]=e;null!=a&&("object"==typeof a?t.forEach(e=>{let t=a[e];null!=t&&r.push("".concat(i).concat(e!==n?"-".concat(e):"","-").concat(t))}):r.push("".concat(i,"-").concat(a)))}),r}({gap:d},h,p))})});d.displayName="Stack";var f=d},97048:function(e,t,n){"use strict";var r,i,a,o,l,s,u=n(2265);u&&"object"==typeof u&&"default"in u&&u.default;var c=n(98975),d=new c,f=d.getBrowser(),h=d.getCPU(),p=d.getDevice(),g=d.getEngine(),m=d.getOS(),v=d.getUA(),y={Mobile:"mobile",Tablet:"tablet",SmartTv:"smarttv",Console:"console",Wearable:"wearable",Embedded:"embedded",Browser:void 0},b={Chrome:"Chrome",Firefox:"Firefox",Opera:"Opera",Yandex:"Yandex",Safari:"Safari",InternetExplorer:"Internet Explorer",Edge:"Edge",Chromium:"Chromium",Ie:"IE",MobileSafari:"Mobile Safari",MIUI:"MIUI Browser",SamsungBrowser:"Samsung Browser"},w=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"none";return e||t},A=function(){return!!("undefined"!=typeof window&&(window.navigator||navigator))&&(window.navigator||navigator)},k=function(e){var t=A();return t&&t.platform&&(-1!==t.platform.indexOf(e)||"MacIntel"===t.platform&&t.maxTouchPoints>1&&!window.MSStream)},E=function(e){return e.type===y.Browser},C=function(e){return e.name===b.Edge},S=function(e){return"string"==typeof e&&-1!==e.indexOf("Edg/")},I=function(){return k("iPad")};p.type,y.SmartTv,p.type,y.Console,p.type,y.Wearable,p.type,y.Embedded,f.name===b.MobileSafari||I(),f.name,b.Chromium;var M=(r=p.type)===y.Mobile||r===y.Tablet||I(),_=(p.type,y.Mobile,p.type===y.Tablet||I());E(p),E(p),m.name,m.name,"iOS"===m.name||I(),f.name,b.Chrome,f.name,b.Firefox,(i=f.name)===b.Safari||b.MobileSafari,f.name,b.Opera,(a=f.name)===b.InternetExplorer||b.Ie,w(m.version),w(m.name),w(f.version),w(f.major),w(f.name),w(p.vendor),w(p.model),w(g.name),w(g.version),w(v),C(f)||S(v),f.name,b.Yandex,w(p.type,"browser"),(o=A())&&(/iPad|iPhone|iPod/.test(o.platform)||"MacIntel"===o.platform&&o.maxTouchPoints>1)&&window.MSStream,I(),k("iPhone"),k("iPod"),"string"==typeof(s=(l=A())&&l.userAgent&&l.userAgent.toLowerCase())&&/electron/.test(s),S(v),C(f)&&S(v),m.name,m.name,f.name,b.MIUI,f.name,b.SamsungBrowser,t.tq=M,t.Em=_},13126:function(e,t){"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,i=n?Symbol.for("react.portal"):60106,a=n?Symbol.for("react.fragment"):60107,o=n?Symbol.for("react.strict_mode"):60108,l=n?Symbol.for("react.profiler"):60114,s=n?Symbol.for("react.provider"):60109,u=n?Symbol.for("react.context"):60110,c=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,f=n?Symbol.for("react.forward_ref"):60112,h=n?Symbol.for("react.suspense"):60113,p=n?Symbol.for("react.suspense_list"):60120,g=n?Symbol.for("react.memo"):60115,m=n?Symbol.for("react.lazy"):60116,v=n?Symbol.for("react.block"):60121,y=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function A(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case c:case d:case a:case l:case o:case h:return e;default:switch(e=e&&e.$$typeof){case u:case f:case m:case g:case s:return e;default:return t}}case i:return t}}}function k(e){return A(e)===d}t.AsyncMode=c,t.ConcurrentMode=d,t.ContextConsumer=u,t.ContextProvider=s,t.Element=r,t.ForwardRef=f,t.Fragment=a,t.Lazy=m,t.Memo=g,t.Portal=i,t.Profiler=l,t.StrictMode=o,t.Suspense=h,t.isAsyncMode=function(e){return k(e)||A(e)===c},t.isConcurrentMode=k,t.isContextConsumer=function(e){return A(e)===u},t.isContextProvider=function(e){return A(e)===s},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return A(e)===f},t.isFragment=function(e){return A(e)===a},t.isLazy=function(e){return A(e)===m},t.isMemo=function(e){return A(e)===g},t.isPortal=function(e){return A(e)===i},t.isProfiler=function(e){return A(e)===l},t.isStrictMode=function(e){return A(e)===o},t.isSuspense=function(e){return A(e)===h},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===d||e===l||e===o||e===h||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===g||e.$$typeof===s||e.$$typeof===u||e.$$typeof===f||e.$$typeof===y||e.$$typeof===b||e.$$typeof===w||e.$$typeof===v)},t.typeOf=A},84851:function(e,t,n){"use strict";e.exports=n(13126)},16093:function(e,t){"use strict";t.ConcurrentRoot=1,t.ContinuousEventPriority=4,t.DefaultEventPriority=16,t.DiscreteEventPriority=1},81907:function(e,t,n){e.exports=function(e){"use strict";var t,r,i,a,o,l={},s=n(2265),u=n(70260),c=Object.assign;function d(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var f=s.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,h=Symbol.for("react.element"),p=Symbol.for("react.portal"),g=Symbol.for("react.fragment"),m=Symbol.for("react.strict_mode"),v=Symbol.for("react.profiler"),y=Symbol.for("react.provider"),b=Symbol.for("react.context"),w=Symbol.for("react.forward_ref"),A=Symbol.for("react.suspense"),k=Symbol.for("react.suspense_list"),E=Symbol.for("react.memo"),C=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var S=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var I=Symbol.iterator;function M(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=I&&e[I]||e["@@iterator"])?e:null}function _(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case g:return"Fragment";case p:return"Portal";case v:return"Profiler";case m:return"StrictMode";case A:return"Suspense";case k:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case b:return(e.displayName||"Context")+".Consumer";case y:return(e._context.displayName||"Context")+".Provider";case w:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case E:return null!==(t=e.displayName||null)?t:_(e.type)||"Memo";case C:t=e._payload,e=e._init;try{return _(e(t))}catch(e){}}return null}function O(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do 0!=(4098&(t=e).flags)&&(n=t.return),e=t.return;while(e)}return 3===t.tag?n:null}function P(e){if(O(e)!==e)throw Error(d(188))}function D(e){var t=e.alternate;if(!t){if(null===(t=O(e)))throw Error(d(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(null===i)break;var a=i.alternate;if(null===a){if(null!==(r=i.return)){n=r;continue}break}if(i.child===a.child){for(a=i.child;a;){if(a===n)return P(i),e;if(a===r)return P(i),t;a=a.sibling}throw Error(d(188))}if(n.return!==r.return)n=i,r=a;else{for(var o=!1,l=i.child;l;){if(l===n){o=!0,n=i,r=a;break}if(l===r){o=!0,r=i,n=a;break}l=l.sibling}if(!o){for(l=a.child;l;){if(l===n){o=!0,n=a,r=i;break}if(l===r){o=!0,r=a,n=i;break}l=l.sibling}if(!o)throw Error(d(189))}}if(n.alternate!==r)throw Error(d(190))}if(3!==n.tag)throw Error(d(188));return n.stateNode.current===n?e:t}function R(e){return null!==(e=D(e))?function e(t){if(5===t.tag||6===t.tag)return t;for(t=t.child;null!==t;){var n=e(t);if(null!==n)return n;t=t.sibling}return null}(e):null}var j,B=Array.isArray,z=e.getPublicInstance,L=e.getRootHostContext,T=e.getChildHostContext,F=e.prepareForCommit,N=e.resetAfterCommit,Q=e.createInstance,Z=e.appendInitialChild,V=e.finalizeInitialChildren,U=e.prepareUpdate,H=e.shouldSetTextContent,q=e.createTextInstance,W=e.scheduleTimeout,$=e.cancelTimeout,G=e.noTimeout,Y=e.isPrimaryRenderer,X=e.supportsMutation,K=e.supportsPersistence,J=e.supportsHydration,ee=e.getInstanceFromNode,et=e.preparePortalMount,en=e.getCurrentEventPriority,er=e.detachDeletedInstance,ei=e.supportsMicrotasks,ea=e.scheduleMicrotask,eo=e.supportsTestSelectors,el=e.findFiberRoot,es=e.getBoundingRect,eu=e.getTextContent,ec=e.isHiddenSubtree,ed=e.matchAccessibilityRole,ef=e.setFocusIfFocusable,eh=e.setupIntersectionObserver,ep=e.appendChild,eg=e.appendChildToContainer,em=e.commitTextUpdate,ev=e.commitMount,ey=e.commitUpdate,eb=e.insertBefore,ew=e.insertInContainerBefore,eA=e.removeChild,ex=e.removeChildFromContainer,ek=e.resetTextContent,eE=e.hideInstance,eC=e.hideTextInstance,eS=e.unhideInstance,eI=e.unhideTextInstance,eM=e.clearContainer,e_=e.cloneInstance,eO=e.createContainerChildSet,eP=e.appendChildToContainerChildSet,eD=e.finalizeContainerChildren,eR=e.replaceContainerChildren,ej=e.cloneHiddenInstance,eB=e.cloneHiddenTextInstance,ez=e.canHydrateInstance,eL=e.canHydrateTextInstance,eT=e.canHydrateSuspenseInstance,eF=e.isSuspenseInstancePending,eN=e.isSuspenseInstanceFallback,eQ=e.registerSuspenseInstanceRetry,eZ=e.getNextHydratableSibling,eV=e.getFirstHydratableChild,eU=e.getFirstHydratableChildWithinContainer,eH=e.getFirstHydratableChildWithinSuspenseInstance,eq=e.hydrateInstance,eW=e.hydrateTextInstance,e$=e.hydrateSuspenseInstance,eG=e.getNextHydratableInstanceAfterSuspenseInstance,eY=e.commitHydratedContainer,eX=e.commitHydratedSuspenseInstance,eK=e.clearSuspenseBoundary,eJ=e.clearSuspenseBoundaryFromContainer,e0=e.shouldDeleteUnhydratedTailInstances,e1=e.didNotMatchHydratedContainerTextInstance,e2=e.didNotMatchHydratedTextInstance;function e3(e){if(void 0===j)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);j=t&&t[1]||""}return"\n"+j+e}var e4=!1;function e5(e,t){if(!e||e4)return"";e4=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t){if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var r=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){r=e}e.call(t.prototype)}}else{try{throw Error()}catch(e){r=e}e()}}catch(t){if(t&&r&&"string"==typeof t.stack){for(var i=t.stack.split("\n"),a=r.stack.split("\n"),o=i.length-1,l=a.length-1;1<=o&&0<=l&&i[o]!==a[l];)l--;for(;1<=o&&0<=l;o--,l--)if(i[o]!==a[l]){if(1!==o||1!==l)do if(o--,0>--l||i[o]!==a[l]){var s="\n"+i[o].replace(" at new "," at ");return e.displayName&&s.includes("<anonymous>")&&(s=s.replace("<anonymous>",e.displayName)),s}while(1<=o&&0<=l);break}}}finally{e4=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?e3(e):""}var e6=Object.prototype.hasOwnProperty,e8=[],e9=-1;function e7(e){return{current:e}}function te(e){0>e9||(e.current=e8[e9],e8[e9]=null,e9--)}function tt(e,t){e8[++e9]=e.current,e.current=t}var tn={},tr=e7(tn),ti=e7(!1),ta=tn;function to(e,t){var n=e.type.contextTypes;if(!n)return tn;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i,a={};for(i in n)a[i]=t[i];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=a),a}function tl(e){return null!=(e=e.childContextTypes)}function ts(){te(ti),te(tr)}function tu(e,t,n){if(tr.current!==tn)throw Error(d(168));tt(tr,t),tt(ti,n)}function tc(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var i in r=r.getChildContext())if(!(i in t))throw Error(d(108,function(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return _(t);case 8:return t===m?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t}return null}(e)||"Unknown",i));return c({},n,r)}function td(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||tn,ta=tr.current,tt(tr,e),tt(ti,ti.current),!0}function tf(e,t,n){var r=e.stateNode;if(!r)throw Error(d(169));n?(e=tc(e,t,ta),r.__reactInternalMemoizedMergedChildContext=e,te(ti),te(tr),tt(tr,e)):te(ti),tt(ti,n)}var th=Math.clz32?Math.clz32:function(e){return 0==(e>>>=0)?32:31-(tp(e)/tg|0)|0},tp=Math.log,tg=Math.LN2,tm=64,tv=4194304;function ty(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function tb(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,i=e.suspendedLanes,a=e.pingedLanes,o=268435455&n;if(0!==o){var l=o&~i;0!==l?r=ty(l):0!=(a&=o)&&(r=ty(a))}else 0!=(o=n&~i)?r=ty(o):0!==a&&(r=ty(a));if(0===r)return 0;if(0!==t&&t!==r&&0==(t&i)&&((i=r&-r)>=(a=t&-t)||16===i&&0!=(4194240&a)))return t;if(0!=(4&r)&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)i=1<<(n=31-th(t)),r|=e[n],t&=~i;return r}function tw(e){return 0!=(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function tA(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function tx(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-th(t)]=n}function tk(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-th(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}var tE=0;function tC(e){return 1<(e&=-e)?4<e?0!=(268435455&e)?16:536870912:4:1}var tS=u.unstable_scheduleCallback,tI=u.unstable_cancelCallback,tM=u.unstable_shouldYield,t_=u.unstable_requestPaint,tO=u.unstable_now,tP=u.unstable_ImmediatePriority,tD=u.unstable_UserBlockingPriority,tR=u.unstable_NormalPriority,tj=u.unstable_IdlePriority,tB=null,tz=null,tL="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},tT=null,tF=!1,tN=!1;function tQ(e){null===tT?tT=[e]:tT.push(e)}function tZ(){if(!tN&&null!==tT){tN=!0;var e=0,t=tE;try{var n=tT;for(tE=1;e<n.length;e++){var r=n[e];do r=r(!0);while(null!==r)}tT=null,tF=!1}catch(t){throw null!==tT&&(tT=tT.slice(e+1)),tS(tP,tZ),t}finally{tE=t,tN=!1}}return null}var tV=f.ReactCurrentBatchConfig;function tU(e,t){if(tL(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!e6.call(t,i)||!tL(e[i],t[i]))return!1}return!0}function tH(e,t){if(e&&e.defaultProps)for(var n in t=c({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}var tq=e7(null),tW=null,t$=null,tG=null;function tY(){tG=t$=tW=null}function tX(e,t,n){Y?(tt(tq,t._currentValue),t._currentValue=n):(tt(tq,t._currentValue2),t._currentValue2=n)}function tK(e){var t=tq.current;te(tq),Y?e._currentValue=t:e._currentValue2=t}function tJ(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function t0(e,t){tW=e,tG=t$=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&t)&&(r1=!0),e.firstContext=null)}function t1(e){var t=Y?e._currentValue:e._currentValue2;if(tG!==e){if(e={context:e,memoizedValue:t,next:null},null===t$){if(null===tW)throw Error(d(308));t$=e,tW.dependencies={lanes:0,firstContext:e}}else t$=t$.next=e}return t}var t2=null,t3=!1;function t4(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function t5(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function t6(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function t8(e,t){var n=e.updateQueue;null!==n&&(n=n.shared,null!==iX&&0!=(1&e.mode)&&0==(2&iY)?(null===(e=n.interleaved)?(t.next=t,null===t2?t2=[n]:t2.push(n)):(t.next=e.next,e.next=t),n.interleaved=t):(null===(e=n.pending)?t.next=t:(t.next=e.next,e.next=t),n.pending=t))}function t9(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,0!=(4194240&n))){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,tk(e,n)}}function t7(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var i=null,a=null;if(null!==(n=n.firstBaseUpdate)){do{var o={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===a?i=a=o:a=a.next=o,n=n.next}while(null!==n);null===a?i=a=t:a=a.next=t}else i=a=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:a,shared:r.shared,effects:r.effects},e.updateQueue=n;return}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function ne(e,t,n,r){var i=e.updateQueue;t3=!1;var a=i.firstBaseUpdate,o=i.lastBaseUpdate,l=i.shared.pending;if(null!==l){i.shared.pending=null;var s=l,u=s.next;s.next=null,null===o?a=u:o.next=u,o=s;var d=e.alternate;null!==d&&(l=(d=d.updateQueue).lastBaseUpdate)!==o&&(null===l?d.firstBaseUpdate=u:l.next=u,d.lastBaseUpdate=s)}if(null!==a){var f=i.baseState;for(o=0,d=u=s=null,l=a;;){var h=l.lane,p=l.eventTime;if((r&h)===h){null!==d&&(d=d.next={eventTime:p,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var g=e,m=l;switch(h=t,p=n,m.tag){case 1:if("function"==typeof(g=m.payload)){f=g.call(p,f,h);break e}f=g;break e;case 3:g.flags=-65537&g.flags|128;case 0:if(null==(h="function"==typeof(g=m.payload)?g.call(p,f,h):g))break e;f=c({},f,h);break e;case 2:t3=!0}}null!==l.callback&&0!==l.lane&&(e.flags|=64,null===(h=i.effects)?i.effects=[l]:h.push(l))}else p={eventTime:p,lane:h,tag:l.tag,payload:l.payload,callback:l.callback,next:null},null===d?(u=d=p,s=f):d=d.next=p,o|=h;if(null===(l=l.next)){if(null===(l=i.shared.pending))break;l=(h=l).next,h.next=null,i.lastBaseUpdate=h,i.shared.pending=null}}if(null===d&&(s=f),i.baseState=s,i.firstBaseUpdate=u,i.lastBaseUpdate=d,null!==(t=i.shared.interleaved)){i=t;do o|=i.lane,i=i.next;while(i!==t)}else null===a&&(i.shared.lanes=0);i4|=o,e.lanes=o,e.memoizedState=f}}function nt(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],i=r.callback;if(null!==i){if(r.callback=null,r=n,"function"!=typeof i)throw Error(d(191,i));i.call(r)}}}var nn=(new s.Component).refs;function nr(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:c({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var ni={isMounted:function(e){return!!(e=e._reactInternals)&&O(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=af(),i=ah(e),a=t6(r,i);a.payload=t,null!=n&&(a.callback=n),t8(e,a),null!==(t=ap(e,i,r))&&t9(t,e,i)},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=af(),i=ah(e),a=t6(r,i);a.tag=1,a.payload=t,null!=n&&(a.callback=n),t8(e,a),null!==(t=ap(e,i,r))&&t9(t,e,i)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=af(),r=ah(e),i=t6(n,r);i.tag=2,null!=t&&(i.callback=t),t8(e,i),null!==(t=ap(e,r,n))&&t9(t,e,r)}};function na(e,t,n,r,i,a,o){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,a,o):!t.prototype||!t.prototype.isPureReactComponent||!tU(n,r)||!tU(i,a)}function no(e,t,n){var r=!1,i=tn,a=t.contextType;return"object"==typeof a&&null!==a?a=t1(a):(i=tl(t)?ta:tr.current,a=(r=null!=(r=t.contextTypes))?to(e,i):tn),t=new t(n,a),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=ni,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=a),t}function nl(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&ni.enqueueReplaceState(t,t.state,null)}function ns(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs=nn,t4(e);var a=t.contextType;"object"==typeof a&&null!==a?i.context=t1(a):(a=tl(t)?ta:tr.current,i.context=to(e,a)),i.state=e.memoizedState,"function"==typeof(a=t.getDerivedStateFromProps)&&(nr(e,t,a,n),i.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof i.getSnapshotBeforeUpdate||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||(t=i.state,"function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount(),t!==i.state&&ni.enqueueReplaceState(i,i.state,null),ne(e,n,i,r),i.state=e.memoizedState),"function"==typeof i.componentDidMount&&(e.flags|=4194308)}var nu=[],nc=0,nd=null,nf=0,nh=[],np=0,ng=null,nm=1,nv="";function ny(e,t){nu[nc++]=nf,nu[nc++]=nd,nd=e,nf=t}function nb(e,t,n){nh[np++]=nm,nh[np++]=nv,nh[np++]=ng,ng=e;var r=nm;e=nv;var i=32-th(r)-1;r&=~(1<<i),n+=1;var a=32-th(t)+i;if(30<a){var o=i-i%5;a=(r&(1<<o)-1).toString(32),r>>=o,i-=o,nm=1<<32-th(t)+i|n<<i|r,nv=a+e}else nm=1<<a|n<<i|r,nv=e}function nw(e){null!==e.return&&(ny(e,1),nb(e,1,0))}function nA(e){for(;e===nd;)nd=nu[--nc],nu[nc]=null,nf=nu[--nc],nu[nc]=null;for(;e===ng;)ng=nh[--np],nh[np]=null,nv=nh[--np],nh[np]=null,nm=nh[--np],nh[np]=null}var nx=null,nk=null,nE=!1,nC=!1,nS=null;function nI(e,t){var n=aN(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function nM(e,t){switch(e.tag){case 5:return null!==(t=ez(t,e.type,e.pendingProps))&&(e.stateNode=t,nx=e,nk=eV(t),!0);case 6:return null!==(t=eL(t,e.pendingProps))&&(e.stateNode=t,nx=e,nk=null,!0);case 13:if(null!==(t=eT(t))){var n=null!==ng?{id:nm,overflow:nv}:null;return e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=aN(18,null,null,0)).stateNode=t,n.return=e,e.child=n,nx=e,nk=null,!0}return!1;default:return!1}}function n_(e){return 0!=(1&e.mode)&&0==(128&e.flags)}function nO(e){if(nE){var t=nk;if(t){var n=t;if(!nM(e,t)){if(n_(e))throw Error(d(418));t=eZ(n);var r=nx;t&&nM(e,t)?nI(r,n):(e.flags=-4097&e.flags|2,nE=!1,nx=e)}}else{if(n_(e))throw Error(d(418));e.flags=-4097&e.flags|2,nE=!1,nx=e}}}function nP(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;nx=e}function nD(e){if(!J||e!==nx)return!1;if(!nE)return nP(e),nE=!0,!1;if(3!==e.tag&&(5!==e.tag||e0(e.type)&&!H(e.type,e.memoizedProps))){var t=nk;if(t){if(n_(e)){for(e=nk;e;)e=eZ(e);throw Error(d(418))}for(;t;)nI(e,t),t=eZ(t)}}if(nP(e),13===e.tag){if(!J)throw Error(d(316));if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(d(317));nk=eG(e)}else nk=nx?eZ(e.stateNode):null;return!0}function nR(){J&&(nk=nx=null,nC=nE=!1)}function nj(e){null===nS?nS=[e]:nS.push(e)}function nB(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(d(309));var r=n.stateNode}if(!r)throw Error(d(147,e));var i=r,a=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===a?t.ref:((t=function(e){var t=i.refs;t===nn&&(t=i.refs={}),null===e?delete t[a]:t[a]=e})._stringRef=a,t)}if("string"!=typeof e)throw Error(d(284));if(!n._owner)throw Error(d(290,e))}return e}function nz(e,t){throw Error(d(31,"[object Object]"===(e=Object.prototype.toString.call(t))?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function nL(e){return(0,e._init)(e._payload)}function nT(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function i(e,t){return(e=aZ(e,t)).index=0,e.sibling=null,e}function a(t,n,r){return(t.index=r,e)?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=2,n):r:(t.flags|=2,n):(t.flags|=1048576,n)}function o(t){return e&&null===t.alternate&&(t.flags|=2),t}function l(e,t,n,r){return null===t||6!==t.tag?(t=aq(n,e.mode,r)).return=e:(t=i(t,n)).return=e,t}function s(e,t,n,r){var a=n.type;return a===g?c(e,t,n.props.children,r,n.key):(null!==t&&(t.elementType===a||"object"==typeof a&&null!==a&&a.$$typeof===C&&nL(a)===t.type)?(r=i(t,n.props)).ref=nB(e,t,n):(r=aV(n.type,n.key,n.props,null,e.mode,r)).ref=nB(e,t,n),r.return=e,r)}function u(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?(t=aW(n,e.mode,r)).return=e:(t=i(t,n.children||[])).return=e,t}function c(e,t,n,r,a){return null===t||7!==t.tag?(t=aU(n,e.mode,r,a)).return=e:(t=i(t,n)).return=e,t}function f(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t)return(t=aq(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case h:return(n=aV(t.type,t.key,t.props,null,e.mode,n)).ref=nB(e,null,t),n.return=e,n;case p:return(t=aW(t,e.mode,n)).return=e,t;case C:return f(e,(0,t._init)(t._payload),n)}if(B(t)||M(t))return(t=aU(t,e.mode,n,null)).return=e,t;nz(e,t)}return null}function m(e,t,n,r){var i=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n)return null!==i?null:l(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case h:return n.key===i?s(e,t,n,r):null;case p:return n.key===i?u(e,t,n,r):null;case C:return m(e,t,(i=n._init)(n._payload),r)}if(B(n)||M(n))return null!==i?null:c(e,t,n,r,null);nz(e,n)}return null}function v(e,t,n,r,i){if("string"==typeof r&&""!==r||"number"==typeof r)return l(t,e=e.get(n)||null,""+r,i);if("object"==typeof r&&null!==r){switch(r.$$typeof){case h:return s(t,e=e.get(null===r.key?n:r.key)||null,r,i);case p:return u(t,e=e.get(null===r.key?n:r.key)||null,r,i);case C:return v(e,t,n,(0,r._init)(r._payload),i)}if(B(r)||M(r))return c(t,e=e.get(n)||null,r,i,null);nz(t,r)}return null}return function l(s,u,c,y){if("object"==typeof c&&null!==c&&c.type===g&&null===c.key&&(c=c.props.children),"object"==typeof c&&null!==c){switch(c.$$typeof){case h:e:{for(var b=c.key,w=u;null!==w;){if(w.key===b){if((b=c.type)===g){if(7===w.tag){n(s,w.sibling),(u=i(w,c.props.children)).return=s,s=u;break e}}else if(w.elementType===b||"object"==typeof b&&null!==b&&b.$$typeof===C&&nL(b)===w.type){n(s,w.sibling),(u=i(w,c.props)).ref=nB(s,w,c),u.return=s,s=u;break e}n(s,w);break}t(s,w),w=w.sibling}c.type===g?((u=aU(c.props.children,s.mode,y,c.key)).return=s,s=u):((y=aV(c.type,c.key,c.props,null,s.mode,y)).ref=nB(s,u,c),y.return=s,s=y)}return o(s);case p:e:{for(w=c.key;null!==u;){if(u.key===w){if(4===u.tag&&u.stateNode.containerInfo===c.containerInfo&&u.stateNode.implementation===c.implementation){n(s,u.sibling),(u=i(u,c.children||[])).return=s,s=u;break e}n(s,u);break}t(s,u),u=u.sibling}(u=aW(c,s.mode,y)).return=s,s=u}return o(s);case C:return l(s,u,(w=c._init)(c._payload),y)}if(B(c))return function(i,o,l,s){for(var u=null,c=null,d=o,h=o=0,p=null;null!==d&&h<l.length;h++){d.index>h?(p=d,d=null):p=d.sibling;var g=m(i,d,l[h],s);if(null===g){null===d&&(d=p);break}e&&d&&null===g.alternate&&t(i,d),o=a(g,o,h),null===c?u=g:c.sibling=g,c=g,d=p}if(h===l.length)return n(i,d),nE&&ny(i,h),u;if(null===d){for(;h<l.length;h++)null!==(d=f(i,l[h],s))&&(o=a(d,o,h),null===c?u=d:c.sibling=d,c=d);return nE&&ny(i,h),u}for(d=r(i,d);h<l.length;h++)null!==(p=v(d,i,h,l[h],s))&&(e&&null!==p.alternate&&d.delete(null===p.key?h:p.key),o=a(p,o,h),null===c?u=p:c.sibling=p,c=p);return e&&d.forEach(function(e){return t(i,e)}),nE&&ny(i,h),u}(s,u,c,y);if(M(c))return function(i,o,l,s){var u=M(l);if("function"!=typeof u)throw Error(d(150));if(null==(l=u.call(l)))throw Error(d(151));for(var c=u=null,h=o,p=o=0,g=null,y=l.next();null!==h&&!y.done;p++,y=l.next()){h.index>p?(g=h,h=null):g=h.sibling;var b=m(i,h,y.value,s);if(null===b){null===h&&(h=g);break}e&&h&&null===b.alternate&&t(i,h),o=a(b,o,p),null===c?u=b:c.sibling=b,c=b,h=g}if(y.done)return n(i,h),nE&&ny(i,p),u;if(null===h){for(;!y.done;p++,y=l.next())null!==(y=f(i,y.value,s))&&(o=a(y,o,p),null===c?u=y:c.sibling=y,c=y);return nE&&ny(i,p),u}for(h=r(i,h);!y.done;p++,y=l.next())null!==(y=v(h,i,p,y.value,s))&&(e&&null!==y.alternate&&h.delete(null===y.key?p:y.key),o=a(y,o,p),null===c?u=y:c.sibling=y,c=y);return e&&h.forEach(function(e){return t(i,e)}),nE&&ny(i,p),u}(s,u,c,y);nz(s,c)}return"string"==typeof c&&""!==c||"number"==typeof c?(c=""+c,null!==u&&6===u.tag?(n(s,u.sibling),(u=i(u,c)).return=s):(n(s,u),(u=aq(c,s.mode,y)).return=s),o(s=u)):n(s,u)}}var nF=nT(!0),nN=nT(!1),nQ={},nZ=e7(nQ),nV=e7(nQ),nU=e7(nQ);function nH(e){if(e===nQ)throw Error(d(174));return e}function nq(e,t){tt(nU,t),tt(nV,e),tt(nZ,nQ),e=L(t),te(nZ),tt(nZ,e)}function nW(){te(nZ),te(nV),te(nU)}function n$(e){var t=nH(nU.current),n=nH(nZ.current);t=T(n,e.type,t),n!==t&&(tt(nV,e),tt(nZ,t))}function nG(e){nV.current===e&&(te(nZ),te(nV))}var nY=e7(0);function nX(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||eF(n)||eN(n)))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(128&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var nK=[];function nJ(){for(var e=0;e<nK.length;e++){var t=nK[e];Y?t._workInProgressVersionPrimary=null:t._workInProgressVersionSecondary=null}nK.length=0}var n0=f.ReactCurrentDispatcher,n1=f.ReactCurrentBatchConfig,n2=0,n3=null,n4=null,n5=null,n6=!1,n8=!1,n9=0,n7=0;function re(){throw Error(d(321))}function rt(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!tL(e[n],t[n]))return!1;return!0}function rn(e,t,n,r,i,a){if(n2=a,n3=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,n0.current=null===e||null===e.memoizedState?rT:rF,e=n(r,i),n8){a=0;do{if(n8=!1,n9=0,25<=a)throw Error(d(301));a+=1,n5=n4=null,t.updateQueue=null,n0.current=rN,e=n(r,i)}while(n8)}if(n0.current=rL,t=null!==n4&&null!==n4.next,n2=0,n5=n4=n3=null,n6=!1,t)throw Error(d(300));return e}function rr(){var e=0!==n9;return n9=0,e}function ri(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===n5?n3.memoizedState=n5=e:n5=n5.next=e,n5}function ra(){if(null===n4){var e=n3.alternate;e=null!==e?e.memoizedState:null}else e=n4.next;var t=null===n5?n3.memoizedState:n5.next;if(null!==t)n5=t,n4=e;else{if(null===e)throw Error(d(310));e={memoizedState:(n4=e).memoizedState,baseState:n4.baseState,baseQueue:n4.baseQueue,queue:n4.queue,next:null},null===n5?n3.memoizedState=n5=e:n5=n5.next=e}return n5}function ro(e,t){return"function"==typeof t?t(e):t}function rl(e){var t=ra(),n=t.queue;if(null===n)throw Error(d(311));n.lastRenderedReducer=e;var r=n4,i=r.baseQueue,a=n.pending;if(null!==a){if(null!==i){var o=i.next;i.next=a.next,a.next=o}r.baseQueue=i=a,n.pending=null}if(null!==i){a=i.next,r=r.baseState;var l=o=null,s=null,u=a;do{var c=u.lane;if((n2&c)===c)null!==s&&(s=s.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var f={lane:c,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};null===s?(l=s=f,o=r):s=s.next=f,n3.lanes|=c,i4|=c}u=u.next}while(null!==u&&u!==a);null===s?o=r:s.next=l,tL(r,t.memoizedState)||(r1=!0),t.memoizedState=r,t.baseState=o,t.baseQueue=s,n.lastRenderedState=r}if(null!==(e=n.interleaved)){i=e;do a=i.lane,n3.lanes|=a,i4|=a,i=i.next;while(i!==e)}else null===i&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function rs(e){var t=ra(),n=t.queue;if(null===n)throw Error(d(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,a=t.memoizedState;if(null!==i){n.pending=null;var o=i=i.next;do a=e(a,o.action),o=o.next;while(o!==i);tL(a,t.memoizedState)||(r1=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function ru(){}function rc(e,t){var n=n3,r=ra(),i=t(),a=!tL(r.memoizedState,i);if(a&&(r.memoizedState=i,r1=!0),r=r.queue,rA(rh.bind(null,n,r,e),[e]),r.getSnapshot!==t||a||null!==n5&&1&n5.memoizedState.tag){if(n.flags|=2048,rm(9,rf.bind(null,n,r,i,t),void 0,null),null===iX)throw Error(d(349));0!=(30&n2)||rd(n,t,i)}return i}function rd(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=n3.updateQueue)?(t={lastEffect:null,stores:null},n3.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function rf(e,t,n,r){t.value=n,t.getSnapshot=r,rp(t)&&ap(e,1,-1)}function rh(e,t,n){return n(function(){rp(t)&&ap(e,1,-1)})}function rp(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!tL(e,n)}catch(e){return!0}}function rg(e){var t=ri();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:ro,lastRenderedState:e},t.queue=e,e=e.dispatch=rD.bind(null,n3,e),[t.memoizedState,e]}function rm(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=n3.updateQueue)?(t={lastEffect:null,stores:null},n3.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function rv(){return ra().memoizedState}function ry(e,t,n,r){var i=ri();n3.flags|=e,i.memoizedState=rm(1|t,n,void 0,void 0===r?null:r)}function rb(e,t,n,r){var i=ra();r=void 0===r?null:r;var a=void 0;if(null!==n4){var o=n4.memoizedState;if(a=o.destroy,null!==r&&rt(r,o.deps)){i.memoizedState=rm(t,n,a,r);return}}n3.flags|=e,i.memoizedState=rm(1|t,n,a,r)}function rw(e,t){return ry(8390656,8,e,t)}function rA(e,t){return rb(2048,8,e,t)}function rx(e,t){return rb(4,2,e,t)}function rk(e,t){return rb(4,4,e,t)}function rE(e,t){return"function"==typeof t?(t(e=e()),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function rC(e,t,n){return n=null!=n?n.concat([e]):null,rb(4,4,rE.bind(null,t,e),n)}function rS(){}function rI(e,t){var n=ra();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&rt(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function rM(e,t){var n=ra();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&rt(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function r_(e,t){var n=tE;tE=0!==n&&4>n?n:4,e(!0);var r=n1.transition;n1.transition={};try{e(!1),t()}finally{tE=n,n1.transition=r}}function rO(){return ra().memoizedState}function rP(e,t,n){var r=ah(e);n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},rR(e)?rj(t,n):(rB(e,t,n),null!==(e=ap(e,r,n=af()))&&rz(e,t,r))}function rD(e,t,n){var r=ah(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(rR(e))rj(t,i);else{rB(e,t,i);var a=e.alternate;if(0===e.lanes&&(null===a||0===a.lanes)&&null!==(a=t.lastRenderedReducer))try{var o=t.lastRenderedState,l=a(o,n);if(i.hasEagerState=!0,i.eagerState=l,tL(l,o))return}catch(e){}finally{}null!==(e=ap(e,r,n=af()))&&rz(e,t,r)}}function rR(e){var t=e.alternate;return e===n3||null!==t&&t===n3}function rj(e,t){n8=n6=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function rB(e,t,n){null!==iX&&0!=(1&e.mode)&&0==(2&iY)?(null===(e=t.interleaved)?(n.next=n,null===t2?t2=[t]:t2.push(t)):(n.next=e.next,e.next=n),t.interleaved=n):(null===(e=t.pending)?n.next=n:(n.next=e.next,e.next=n),t.pending=n)}function rz(e,t,n){if(0!=(4194240&n)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,tk(e,n)}}var rL={readContext:t1,useCallback:re,useContext:re,useEffect:re,useImperativeHandle:re,useInsertionEffect:re,useLayoutEffect:re,useMemo:re,useReducer:re,useRef:re,useState:re,useDebugValue:re,useDeferredValue:re,useTransition:re,useMutableSource:re,useSyncExternalStore:re,useId:re,unstable_isNewReconciler:!1},rT={readContext:t1,useCallback:function(e,t){return ri().memoizedState=[e,void 0===t?null:t],e},useContext:t1,useEffect:rw,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,ry(4194308,4,rE.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ry(4194308,4,e,t)},useInsertionEffect:function(e,t){return ry(4,2,e,t)},useMemo:function(e,t){var n=ri();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=ri();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=rP.bind(null,n3,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},ri().memoizedState=e},useState:rg,useDebugValue:rS,useDeferredValue:function(e){var t=rg(e),n=t[0],r=t[1];return rw(function(){var t=n1.transition;n1.transition={};try{r(e)}finally{n1.transition=t}},[e]),n},useTransition:function(){var e=rg(!1),t=e[0];return e=r_.bind(null,e[1]),ri().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=n3,i=ri();if(nE){if(void 0===n)throw Error(d(407));n=n()}else{if(n=t(),null===iX)throw Error(d(349));0!=(30&n2)||rd(r,t,n)}i.memoizedState=n;var a={value:n,getSnapshot:t};return i.queue=a,rw(rh.bind(null,r,a,e),[e]),r.flags|=2048,rm(9,rf.bind(null,r,a,n,t),void 0,null),n},useId:function(){var e=ri(),t=iX.identifierPrefix;if(nE){var n=nv,r=nm;t=":"+t+"R"+(n=(r&~(1<<32-th(r)-1)).toString(32)+n),0<(n=n9++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=n7++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},rF={readContext:t1,useCallback:rI,useContext:t1,useEffect:rA,useImperativeHandle:rC,useInsertionEffect:rx,useLayoutEffect:rk,useMemo:rM,useReducer:rl,useRef:rv,useState:function(){return rl(ro)},useDebugValue:rS,useDeferredValue:function(e){var t=rl(ro),n=t[0],r=t[1];return rA(function(){var t=n1.transition;n1.transition={};try{r(e)}finally{n1.transition=t}},[e]),n},useTransition:function(){return[rl(ro)[0],ra().memoizedState]},useMutableSource:ru,useSyncExternalStore:rc,useId:rO,unstable_isNewReconciler:!1},rN={readContext:t1,useCallback:rI,useContext:t1,useEffect:rA,useImperativeHandle:rC,useInsertionEffect:rx,useLayoutEffect:rk,useMemo:rM,useReducer:rs,useRef:rv,useState:function(){return rs(ro)},useDebugValue:rS,useDeferredValue:function(e){var t=rs(ro),n=t[0],r=t[1];return rA(function(){var t=n1.transition;n1.transition={};try{r(e)}finally{n1.transition=t}},[e]),n},useTransition:function(){return[rs(ro)[0],ra().memoizedState]},useMutableSource:ru,useSyncExternalStore:rc,useId:rO,unstable_isNewReconciler:!1};function rQ(e,t){try{var n="",r=t;do n+=function(e){switch(e.tag){case 5:return e3(e.type);case 16:return e3("Lazy");case 13:return e3("Suspense");case 19:return e3("SuspenseList");case 0:case 2:case 15:return e=e5(e.type,!1);case 11:return e=e5(e.type.render,!1);case 1:return e=e5(e.type,!0);default:return""}}(r),r=r.return;while(r);var i=n}catch(e){i="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:i}}function rZ(e,t){try{console.error(t.value)}catch(e){setTimeout(function(){throw e})}}var rV="function"==typeof WeakMap?WeakMap:Map;function rU(e,t,n){(n=t6(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){an||(an=!0,ar=r),rZ(e,t)},n}function rH(e,t,n){(n=t6(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){rZ(e,t)}}var a=e.stateNode;return null!==a&&"function"==typeof a.componentDidCatch&&(n.callback=function(){rZ(e,t),"function"!=typeof r&&(null===ai?ai=new Set([this]):ai.add(this));var n=t.stack;this.componentDidCatch(t.value,{componentStack:null!==n?n:""})}),n}function rq(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new rV;var i=new Set;r.set(t,i)}else void 0===(i=r.get(t))&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=aB.bind(null,e,t,n),t.then(e,e))}function rW(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function r$(e,t,n,r,i){return 0==(1&e.mode)?e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=t6(-1,1)).tag=2,t8(n,t))),n.lanes|=1):(e.flags|=65536,e.lanes=i),e}function rG(e){e.flags|=4}function rY(e,t){if(null!==e&&e.child===t.child)return!0;if(0!=(16&t.flags))return!1;for(e=t.child;null!==e;){if(0!=(12854&e.flags)||0!=(12854&e.subtreeFlags))return!1;e=e.sibling}return!0}if(X)t=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)Z(e,n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},r=function(){},i=function(e,t,n,r,i){(e=e.memoizedProps)!==r&&(n=U(t.stateNode,n,e,r,i,nH(nZ.current)),(t.updateQueue=n)&&rG(t))},a=function(e,t,n,r){n!==r&&rG(t)};else if(K){t=function(e,n,r,i){for(var a=n.child;null!==a;){if(5===a.tag){var o=a.stateNode;r&&i&&(o=ej(o,a.type,a.memoizedProps,a)),Z(e,o)}else if(6===a.tag)o=a.stateNode,r&&i&&(o=eB(o,a.memoizedProps,a)),Z(e,o);else if(4!==a.tag){if(22===a.tag&&null!==a.memoizedState)null!==(o=a.child)&&(o.return=a),t(e,a,!0,!0);else if(null!==a.child){a.child.return=a,a=a.child;continue}}if(a===n)break;for(;null===a.sibling;){if(null===a.return||a.return===n)return;a=a.return}a.sibling.return=a.return,a=a.sibling}};var rX=function(e,t,n,r){for(var i=t.child;null!==i;){if(5===i.tag){var a=i.stateNode;n&&r&&(a=ej(a,i.type,i.memoizedProps,i)),eP(e,a)}else if(6===i.tag)a=i.stateNode,n&&r&&(a=eB(a,i.memoizedProps,i)),eP(e,a);else if(4!==i.tag){if(22===i.tag&&null!==i.memoizedState)null!==(a=i.child)&&(a.return=i),rX(e,i,!0,!0);else if(null!==i.child){i.child.return=i,i=i.child;continue}}if(i===t)break;for(;null===i.sibling;){if(null===i.return||i.return===t)return;i=i.return}i.sibling.return=i.return,i=i.sibling}};r=function(e,t){var n=t.stateNode;if(!rY(e,t)){var r=eO(e=n.containerInfo);rX(r,t,!1,!1),n.pendingChildren=r,rG(t),eD(e,r)}},i=function(e,n,r,i,a){var o=e.stateNode,l=e.memoizedProps;if((e=rY(e,n))&&l===i)n.stateNode=o;else{var s=n.stateNode,u=nH(nZ.current),c=null;l!==i&&(c=U(s,r,l,i,a,u)),e&&null===c?n.stateNode=o:(V(o=e_(o,c,r,l,i,n,e,s),r,i,a,u)&&rG(n),n.stateNode=o,e?rG(n):t(o,n,!1,!1))}},a=function(e,t,n,r){n!==r?(e=nH(nU.current),n=nH(nZ.current),t.stateNode=q(r,e,n,t),rG(t)):t.stateNode=e.stateNode}}else r=function(){},i=function(){},a=function(){};function rK(e,t){if(!nE)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function rJ(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;null!==i;)n|=i.lanes|i.childLanes,r|=14680064&i.subtreeFlags,r|=14680064&i.flags,i.return=e,i=i.sibling;else for(i=e.child;null!==i;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}var r0=f.ReactCurrentOwner,r1=!1;function r2(e,t,n,r){t.child=null===e?nN(t,null,n,r):nF(t,e.child,n,r)}function r3(e,t,n,r,i){n=n.render;var a=t.ref;return(t0(t,i),r=rn(e,t,n,r,a,i),n=rr(),null===e||r1)?(nE&&n&&nw(t),t.flags|=1,r2(e,t,r,i),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,ih(e,t,i))}function r4(e,t,n,r,i){if(null===e){var a=n.type;return"function"!=typeof a||aQ(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=aV(n.type,null,r,t,t.mode,i)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,r5(e,t,a,r,i))}if(a=e.child,0==(e.lanes&i)){var o=a.memoizedProps;if((n=null!==(n=n.compare)?n:tU)(o,r)&&e.ref===t.ref)return ih(e,t,i)}return t.flags|=1,(e=aZ(a,r)).ref=t.ref,e.return=t,t.child=e}function r5(e,t,n,r,i){if(null!==e&&tU(e.memoizedProps,r)&&e.ref===t.ref){if(r1=!1,0==(e.lanes&i))return t.lanes=e.lanes,ih(e,t,i);0!=(131072&e.flags)&&(r1=!0)}return r9(e,t,n,r,i)}function r6(e,t,n){var r=t.pendingProps,i=r.children,a=null!==e?e.memoizedState:null;if("hidden"===r.mode){if(0==(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null},tt(i1,i0),i0|=n;else{if(0==(1073741824&n))return e=null!==a?a.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null},t.updateQueue=null,tt(i1,i0),i0|=e,null;t.memoizedState={baseLanes:0,cachePool:null},r=null!==a?a.baseLanes:n,tt(i1,i0),i0|=r}}else null!==a?(r=a.baseLanes|n,t.memoizedState=null):r=n,tt(i1,i0),i0|=r;return r2(e,t,i,n),t.child}function r8(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function r9(e,t,n,r,i){var a=tl(n)?ta:tr.current;return(a=to(t,a),t0(t,i),n=rn(e,t,n,r,a,i),r=rr(),null===e||r1)?(nE&&r&&nw(t),t.flags|=1,r2(e,t,n,i),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,ih(e,t,i))}function r7(e,t,n,r,i){if(tl(n)){var a=!0;td(t)}else a=!1;if(t0(t,i),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),no(t,n,r),ns(t,n,r,i),r=!0;else if(null===e){var o=t.stateNode,l=t.memoizedProps;o.props=l;var s=o.context,u=n.contextType;u="object"==typeof u&&null!==u?t1(u):to(t,u=tl(n)?ta:tr.current);var c=n.getDerivedStateFromProps,d="function"==typeof c||"function"==typeof o.getSnapshotBeforeUpdate;d||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||(l!==r||s!==u)&&nl(t,o,r,u),t3=!1;var f=t.memoizedState;o.state=f,ne(t,r,o,i),s=t.memoizedState,l!==r||f!==s||ti.current||t3?("function"==typeof c&&(nr(t,n,c,r),s=t.memoizedState),(l=t3||na(t,n,l,r,f,s,u))?(d||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||("function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount()),"function"==typeof o.componentDidMount&&(t.flags|=4194308)):("function"==typeof o.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=s),o.props=r,o.state=s,o.context=u,r=l):("function"==typeof o.componentDidMount&&(t.flags|=4194308),r=!1)}else{o=t.stateNode,t5(e,t),l=t.memoizedProps,u=t.type===t.elementType?l:tH(t.type,l),o.props=u,d=t.pendingProps,f=o.context,s="object"==typeof(s=n.contextType)&&null!==s?t1(s):to(t,s=tl(n)?ta:tr.current);var h=n.getDerivedStateFromProps;(c="function"==typeof h||"function"==typeof o.getSnapshotBeforeUpdate)||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||(l!==d||f!==s)&&nl(t,o,r,s),t3=!1,f=t.memoizedState,o.state=f,ne(t,r,o,i);var p=t.memoizedState;l!==d||f!==p||ti.current||t3?("function"==typeof h&&(nr(t,n,h,r),p=t.memoizedState),(u=t3||na(t,n,u,r,f,p,s)||!1)?(c||"function"!=typeof o.UNSAFE_componentWillUpdate&&"function"!=typeof o.componentWillUpdate||("function"==typeof o.componentWillUpdate&&o.componentWillUpdate(r,p,s),"function"==typeof o.UNSAFE_componentWillUpdate&&o.UNSAFE_componentWillUpdate(r,p,s)),"function"==typeof o.componentDidUpdate&&(t.flags|=4),"function"==typeof o.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof o.componentDidUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof o.getSnapshotBeforeUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=p),o.props=r,o.state=p,o.context=s,r=u):("function"!=typeof o.componentDidUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof o.getSnapshotBeforeUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return ie(e,t,n,r,a,i)}function ie(e,t,n,r,i,a){r8(e,t);var o=0!=(128&t.flags);if(!r&&!o)return i&&tf(t,n,!1),ih(e,t,a);r=t.stateNode,r0.current=t;var l=o&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&o?(t.child=nF(t,e.child,null,a),t.child=nF(t,null,l,a)):r2(e,t,l,a),t.memoizedState=r.state,i&&tf(t,n,!0),t.child}function it(e){var t=e.stateNode;t.pendingContext?tu(e,t.pendingContext,t.pendingContext!==t.context):t.context&&tu(e,t.context,!1),nq(e,t.containerInfo)}function ir(e,t,n,r,i){return nR(),nj(i),t.flags|=256,r2(e,t,n,r),t.child}var ii={dehydrated:null,treeContext:null,retryLane:0};function ia(e){return{baseLanes:e,cachePool:null}}function io(e,t,n){var r,i,a,o,l,s,u,c,f,h,p,g,m,v,y=t.pendingProps,b=nY.current,w=!1,A=0!=(128&t.flags);if((v=A)||(v=(null===e||null!==e.memoizedState)&&0!=(2&b)),v?(w=!0,t.flags&=-129):(null===e||null!==e.memoizedState)&&(b|=1),tt(nY,1&b),null===e)return(nO(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated))?(0==(1&t.mode)?t.lanes=1:eN(e)?t.lanes=8:t.lanes=1073741824,null):(b=y.children,e=y.fallback,w?(y=t.mode,w=t.child,b={mode:"hidden",children:b},0==(1&y)&&null!==w?(w.childLanes=0,w.pendingProps=b):w=aH(b,y,0,null),e=aU(e,y,n,null),w.return=t,e.return=t,w.sibling=e,t.child=w,t.child.memoizedState=ia(n),t.memoizedState=ii,e):il(t,b));if(null!==(b=e.memoizedState)&&null!==(v=b.dehydrated)){if(A)return 256&t.flags?(t.flags&=-257,is(e,t,n,Error(d(422)))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(w=y.fallback,b=t.mode,y=aH({mode:"visible",children:y.children},b,0,null),w=aU(w,b,n,null),w.flags|=2,y.return=t,w.return=t,y.sibling=w,t.child=y,0!=(1&t.mode)&&nF(t,e.child,null,n),t.child.memoizedState=ia(n),t.memoizedState=ii,w);if(0==(1&t.mode))t=is(e,t,n,null);else if(eN(v))t=is(e,t,n,Error(d(419)));else if(y=0!=(n&e.childLanes),r1||y){if(null!==(y=iX)){switch(n&-n){case 4:w=2;break;case 16:w=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:w=32;break;case 536870912:w=268435456;break;default:w=0}0!==(y=0!=(w&(y.suspendedLanes|n))?0:w)&&y!==b.retryLane&&(b.retryLane=y,ap(e,y,-1))}aI(),t=is(e,t,n,Error(d(421)))}else eF(v)?(t.flags|=128,t.child=e.child,eQ(v,t=aL.bind(null,e)),t=null):(n=b.treeContext,J&&(nk=eH(v),nx=t,nE=!0,nS=null,nC=!1,null!==n&&(nh[np++]=nm,nh[np++]=nv,nh[np++]=ng,nm=n.id,nv=n.overflow,ng=t)),t=il(t,t.pendingProps.children),t.flags|=4096);return t}return w?(r=e,i=t,a=y.children,o=y.fallback,l=n,s=i.mode,u=(r=r.child).sibling,c={mode:"hidden",children:a},0==(1&s)&&i.child!==r?((a=i.child).childLanes=0,a.pendingProps=c,i.deletions=null):(a=aZ(r,c)).subtreeFlags=14680064&r.subtreeFlags,null!==u?o=aZ(u,o):(o=aU(o,s,l,null),o.flags|=2),o.return=i,a.return=i,a.sibling=o,i.child=a,y=o,w=t.child,b=e.child.memoizedState,w.memoizedState=null===b?ia(n):{baseLanes:b.baseLanes|n,cachePool:null},w.childLanes=e.childLanes&~n,t.memoizedState=ii,y):(f=e,h=t,p=y.children,g=n,f=(m=f.child).sibling,p=aZ(m,{mode:"visible",children:p}),0==(1&h.mode)&&(p.lanes=g),p.return=h,p.sibling=null,null!==f&&(null===(g=h.deletions)?(h.deletions=[f],h.flags|=16):g.push(f)),n=h.child=p,t.memoizedState=null,n)}function il(e,t){return(t=aH({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function is(e,t,n,r){return null!==r&&nj(r),nF(t,e.child,null,n),e=il(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function iu(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),tJ(e.return,t,n)}function ic(e,t,n,r,i){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailMode=i)}function id(e,t,n){var r=t.pendingProps,i=r.revealOrder,a=r.tail;if(r2(e,t,r.children,n),0!=(2&(r=nY.current)))r=1&r|2,t.flags|=128;else{if(null!==e&&0!=(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&iu(e,n,t);else if(19===e.tag)iu(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(tt(nY,r),0==(1&t.mode))t.memoizedState=null;else switch(i){case"forwards":for(i=null,n=t.child;null!==n;)null!==(e=n.alternate)&&null===nX(e)&&(i=n),n=n.sibling;null===(n=i)?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),ic(t,!1,i,n,a);break;case"backwards":for(n=null,i=t.child,t.child=null;null!==i;){if(null!==(e=i.alternate)&&null===nX(e)){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}ic(t,!0,n,null,a);break;case"together":ic(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function ih(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),i4|=t.lanes,0==(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(d(153));if(null!==t.child){for(n=aZ(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=aZ(e,e.pendingProps)).return=t;n.sibling=null}return t.child}var ip=!1,ig=!1,im="function"==typeof WeakSet?WeakSet:Set,iv=null;function iy(e,t){var n=e.ref;if(null!==n){if("function"==typeof n)try{n(null)}catch(n){aj(e,t,n)}else n.current=null}}function ib(e,t,n){try{n()}catch(n){aj(e,t,n)}}var iw=!1;function iA(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var i=r=r.next;do{if((i.tag&e)===e){var a=i.destroy;i.destroy=void 0,void 0!==a&&ib(t,n,a)}i=i.next}while(i!==r)}}function ix(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function ik(e){var t=e.ref;if(null!==t){var n=e.stateNode;e=5===e.tag?z(n):n,"function"==typeof t?t(e):t.current=e}}function iE(e,t,n){if(tz&&"function"==typeof tz.onCommitFiberUnmount)try{tz.onCommitFiberUnmount(tB,t)}catch(e){}switch(t.tag){case 0:case 11:case 14:case 15:if(null!==(e=t.updateQueue)&&null!==(e=e.lastEffect)){var r=e=e.next;do{var i=r,a=i.destroy;i=i.tag,void 0!==a&&(0!=(2&i)?ib(t,n,a):0!=(4&i)&&ib(t,n,a)),r=r.next}while(r!==e)}break;case 1:if(iy(t,n),"function"==typeof(e=t.stateNode).componentWillUnmount)try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(e){aj(t,n,e)}break;case 5:iy(t,n);break;case 4:X?i_(e,t,n):K&&K&&(n=eO(t=t.stateNode.containerInfo),eR(t,n))}}function iC(e,t,n){for(var r=t;;)if(iE(e,r,n),null===r.child||X&&4===r.tag){if(r===t)break;for(;null===r.sibling;){if(null===r.return||r.return===t)return;r=r.return}r.sibling.return=r.return,r=r.sibling}else r.child.return=r,r=r.child}function iS(e){return 5===e.tag||3===e.tag||4===e.tag}function iI(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||iS(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags||null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function iM(e){if(X){e:{for(var t=e.return;null!==t;){if(iS(t))break e;t=t.return}throw Error(d(160))}var n=t;switch(n.tag){case 5:t=n.stateNode,32&n.flags&&(ek(t),n.flags&=-33),n=iI(e),function e(t,n,r){var i=t.tag;if(5===i||6===i)t=t.stateNode,n?eb(r,t,n):ep(r,t);else if(4!==i&&null!==(t=t.child))for(e(t,n,r),t=t.sibling;null!==t;)e(t,n,r),t=t.sibling}(e,n,t);break;case 3:case 4:t=n.stateNode.containerInfo,n=iI(e),function e(t,n,r){var i=t.tag;if(5===i||6===i)t=t.stateNode,n?ew(r,t,n):eg(r,t);else if(4!==i&&null!==(t=t.child))for(e(t,n,r),t=t.sibling;null!==t;)e(t,n,r),t=t.sibling}(e,n,t);break;default:throw Error(d(161))}}}function i_(e,t,n){for(var r,i,a=t,o=!1;;){if(!o){o=a.return;e:for(;;){if(null===o)throw Error(d(160));switch(r=o.stateNode,o.tag){case 5:i=!1;break e;case 3:case 4:r=r.containerInfo,i=!0;break e}o=o.return}o=!0}if(5===a.tag||6===a.tag)iC(e,a,n),i?ex(r,a.stateNode):eA(r,a.stateNode);else if(18===a.tag)i?eJ(r,a.stateNode):eK(r,a.stateNode);else if(4===a.tag){if(null!==a.child){r=a.stateNode.containerInfo,i=!0,a.child.return=a,a=a.child;continue}}else if(iE(e,a,n),null!==a.child){a.child.return=a,a=a.child;continue}if(a===t)break;for(;null===a.sibling;){if(null===a.return||a.return===t)return;4===(a=a.return).tag&&(o=!1)}a.sibling.return=a.return,a=a.sibling}}function iO(e,t){if(X){switch(t.tag){case 0:case 11:case 14:case 15:iA(3,t,t.return),ix(3,t),iA(5,t,t.return);return;case 1:case 12:case 17:return;case 5:var n=t.stateNode;if(null!=n){var r=t.memoizedProps;e=null!==e?e.memoizedProps:r;var i=t.type,a=t.updateQueue;t.updateQueue=null,null!==a&&ey(n,a,i,e,r,t)}return;case 6:if(null===t.stateNode)throw Error(d(162));n=t.memoizedProps,em(t.stateNode,null!==e?e.memoizedProps:n,n);return;case 3:J&&null!==e&&e.memoizedState.isDehydrated&&eY(t.stateNode.containerInfo);return;case 13:case 19:iP(t);return}throw Error(d(163))}switch(t.tag){case 0:case 11:case 14:case 15:iA(3,t,t.return),ix(3,t),iA(5,t,t.return);return;case 12:case 22:case 23:return;case 13:case 19:iP(t);return;case 3:J&&null!==e&&e.memoizedState.isDehydrated&&eY(t.stateNode.containerInfo)}e:if(K){switch(t.tag){case 1:case 5:case 6:break e;case 3:case 4:eR((t=t.stateNode).containerInfo,t.pendingChildren);break e}throw Error(d(163))}}function iP(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new im),t.forEach(function(t){var r=aT.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))})}}function iD(e){for(;null!==iv;){var t=iv;if(0!=(8772&t.flags)){var n=t.alternate;try{if(0!=(8772&t.flags))switch(t.tag){case 0:case 11:case 15:ig||ix(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!ig){if(null===n)r.componentDidMount();else{var i=t.elementType===t.type?n.memoizedProps:tH(t.type,n.memoizedProps);r.componentDidUpdate(i,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}}var a=t.updateQueue;null!==a&&nt(t,a,r);break;case 3:var o=t.updateQueue;if(null!==o){if(n=null,null!==t.child)switch(t.child.tag){case 5:n=z(t.child.stateNode);break;case 1:n=t.child.stateNode}nt(t,o,n)}break;case 5:var l=t.stateNode;null===n&&4&t.flags&&ev(l,t.type,t.memoizedProps,t);break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:break;case 13:if(J&&null===t.memoizedState){var s=t.alternate;if(null!==s){var u=s.memoizedState;if(null!==u){var c=u.dehydrated;null!==c&&eX(c)}}}break;default:throw Error(d(163))}ig||512&t.flags&&ik(t)}catch(e){aj(t,t.return,e)}}if(t===e){iv=null;break}if(null!==(n=t.sibling)){n.return=t.return,iv=n;break}iv=t.return}}function iR(e){for(;null!==iv;){var t=iv;if(t===e){iv=null;break}var n=t.sibling;if(null!==n){n.return=t.return,iv=n;break}iv=t.return}}function ij(e){for(;null!==iv;){var t=iv;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{ix(4,t)}catch(e){aj(t,n,e)}break;case 1:var r=t.stateNode;if("function"==typeof r.componentDidMount){var i=t.return;try{r.componentDidMount()}catch(e){aj(t,i,e)}}var a=t.return;try{ik(t)}catch(e){aj(t,a,e)}break;case 5:var o=t.return;try{ik(t)}catch(e){aj(t,o,e)}}}catch(e){aj(t,t.return,e)}if(t===e){iv=null;break}var l=t.sibling;if(null!==l){l.return=t.return,iv=l;break}iv=t.return}}var iB=0,iz=1,iL=2,iT=3,iF=4;if("function"==typeof Symbol&&Symbol.for){var iN=Symbol.for;iB=iN("selector.component"),iz=iN("selector.has_pseudo_class"),iL=iN("selector.role"),iT=iN("selector.test_id"),iF=iN("selector.text")}function iQ(e){var t=ee(e);if(null!=t){if("string"!=typeof t.memoizedProps["data-testname"])throw Error(d(364));return t}if(null===(e=el(e)))throw Error(d(362));return e.stateNode.current}function iZ(e,t){switch(t.$$typeof){case iB:if(e.type===t.value)return!0;break;case iz:e:{t=t.value,e=[e,0];for(var n=0;n<e.length;){var r=e[n++],i=e[n++],a=t[i];if(5!==r.tag||!ec(r)){for(;null!=a&&iZ(r,a);)a=t[++i];if(i===t.length){t=!0;break e}for(r=r.child;null!==r;)e.push(r,i),r=r.sibling}}t=!1}return t;case iL:if(5===e.tag&&ed(e.stateNode,t.value))return!0;break;case iF:if((5===e.tag||6===e.tag)&&null!==(e=eu(e))&&0<=e.indexOf(t.value))return!0;break;case iT:if(5===e.tag&&"string"==typeof(e=e.memoizedProps["data-testname"])&&e.toLowerCase()===t.value.toLowerCase())return!0;break;default:throw Error(d(365))}return!1}function iV(e){switch(e.$$typeof){case iB:return"<"+(_(e.value)||"Unknown")+">";case iz:return":has("+(iV(e)||"")+")";case iL:return'[role="'+e.value+'"]';case iF:return'"'+e.value+'"';case iT:return'[data-testname="'+e.value+'"]';default:throw Error(d(365))}}function iU(e,t){var n=[];e=[e,0];for(var r=0;r<e.length;){var i=e[r++],a=e[r++],o=t[a];if(5!==i.tag||!ec(i)){for(;null!=o&&iZ(i,o);)o=t[++a];if(a===t.length)n.push(i);else for(i=i.child;null!==i;)e.push(i,a),i=i.sibling}}return n}function iH(e,t){if(!eo)throw Error(d(363));e=iU(e=iQ(e),t),t=[],e=Array.from(e);for(var n=0;n<e.length;){var r=e[n++];if(5===r.tag)ec(r)||t.push(r.stateNode);else for(r=r.child;null!==r;)e.push(r),r=r.sibling}return t}var iq=Math.ceil,iW=f.ReactCurrentDispatcher,i$=f.ReactCurrentOwner,iG=f.ReactCurrentBatchConfig,iY=0,iX=null,iK=null,iJ=0,i0=0,i1=e7(0),i2=0,i3=null,i4=0,i5=0,i6=0,i8=null,i9=null,i7=0,ae=1/0;function at(){ae=tO()+500}var an=!1,ar=null,ai=null,aa=!1,ao=null,al=0,as=0,au=null,ac=-1,ad=0;function af(){return 0!=(6&iY)?tO():-1!==ac?ac:ac=tO()}function ah(e){return 0==(1&e.mode)?1:0!=(2&iY)&&0!==iJ?iJ&-iJ:null!==tV.transition?(0===ad&&(e=tm,0==(4194240&(tm<<=1))&&(tm=64),ad=e),ad):0!==(e=tE)?e:en()}function ap(e,t,n){if(50<as)throw as=0,au=null,Error(d(185));var r=ag(e,t);return null===r?null:(tx(r,t,n),(0==(2&iY)||r!==iX)&&(r===iX&&(0==(2&iY)&&(i5|=t),4===i2&&aw(r,iJ)),am(r,n),1===t&&0===iY&&0==(1&e.mode)&&(at(),tF&&tZ())),r)}function ag(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}function am(e,t){var n,r=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,a=e.pendingLanes;0<a;){var o=31-th(a),l=1<<o,s=i[o];-1===s?(0==(l&n)||0!=(l&r))&&(i[o]=function(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return -1}}(l,t)):s<=t&&(e.expiredLanes|=l),a&=~l}}(e,t);var i=tb(e,e===iX?iJ:0);if(0===i)null!==r&&tI(r),e.callbackNode=null,e.callbackPriority=0;else if(t=i&-i,e.callbackPriority!==t){if(null!=r&&tI(r),1===t)0===e.tag?(n=aA.bind(null,e),tF=!0,tQ(n)):tQ(aA.bind(null,e)),ei?ea(function(){0===iY&&tZ()}):tS(tP,tZ),r=null;else{switch(tC(i)){case 1:r=tP;break;case 4:r=tD;break;case 16:default:r=tR;break;case 536870912:r=tj}r=tS(r,av.bind(null,e))}e.callbackPriority=t,e.callbackNode=r}}function av(e,t){if(ac=-1,ad=0,0!=(6&iY))throw Error(d(327));var n=e.callbackNode;if(aD()&&e.callbackNode!==n)return null;var r=tb(e,e===iX?iJ:0);if(0===r)return null;if(0!=(30&r)||0!=(r&e.expiredLanes)||t)t=aM(e,r);else{t=r;var i=iY;iY|=2;var a=aS();for((iX!==e||iJ!==t)&&(at(),aE(e,t));;)try{!function(){for(;null!==iK&&!tM();)a_(iK)}();break}catch(t){aC(e,t)}tY(),iW.current=a,iY=i,null!==iK?t=0:(iX=null,iJ=0,t=i2)}if(0!==t){if(2===t&&0!==(i=tw(e))&&(r=i,t=ay(e,i)),1===t)throw n=i3,aE(e,0),aw(e,r),am(e,tO()),n;if(6===t)aw(e,r);else{if(i=e.current.alternate,0==(30&r)&&!function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var i=n[r],a=i.getSnapshot;i=i.value;try{if(!tL(a(),i))return!1}catch(e){return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(i)&&(2===(t=aM(e,r))&&0!==(a=tw(e))&&(r=a,t=ay(e,a)),1===t))throw n=i3,aE(e,0),aw(e,r),am(e,tO()),n;switch(e.finishedWork=i,e.finishedLanes=r,t){case 0:case 1:throw Error(d(345));case 2:case 5:aP(e,i9);break;case 3:if(aw(e,r),(130023424&r)===r&&10<(t=i7+500-tO())){if(0!==tb(e,0))break;if(((i=e.suspendedLanes)&r)!==r){af(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=W(aP.bind(null,e,i9),t);break}aP(e,i9);break;case 4:if(aw(e,r),(4194240&r)===r)break;for(i=-1,t=e.eventTimes;0<r;){var o=31-th(r);a=1<<o,(o=t[o])>i&&(i=o),r&=~a}if(r=i,10<(r=(120>(r=tO()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*iq(r/1960))-r)){e.timeoutHandle=W(aP.bind(null,e,i9),r);break}aP(e,i9);break;default:throw Error(d(329))}}}return am(e,tO()),e.callbackNode===n?av.bind(null,e):null}function ay(e,t){var n=i8;return e.current.memoizedState.isDehydrated&&(aE(e,t).flags|=256),2!==(e=aM(e,t))&&(t=i9,i9=n,null!==t&&ab(t)),e}function ab(e){null===i9?i9=e:i9.push.apply(i9,e)}function aw(e,t){for(t&=~i6,t&=~i5,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-th(t),r=1<<n;e[n]=-1,t&=~r}}function aA(e){if(0!=(6&iY))throw Error(d(327));aD();var t=tb(e,0);if(0==(1&t))return am(e,tO()),null;var n=aM(e,t);if(0!==e.tag&&2===n){var r=tw(e);0!==r&&(t=r,n=ay(e,r))}if(1===n)throw n=i3,aE(e,0),aw(e,t),am(e,tO()),n;if(6===n)throw Error(d(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,aP(e,i9),am(e,tO()),null}function ax(e){null!==ao&&0===ao.tag&&0==(6&iY)&&aD();var t=iY;iY|=1;var n=iG.transition,r=tE;try{if(iG.transition=null,tE=1,e)return e()}finally{tE=r,iG.transition=n,0==(6&(iY=t))&&tZ()}}function ak(){i0=i1.current,te(i1)}function aE(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==G&&(e.timeoutHandle=G,$(n)),null!==iK)for(n=iK.return;null!==n;){var r=n;switch(nA(r),r.tag){case 1:null!=(r=r.type.childContextTypes)&&ts();break;case 3:nW(),te(ti),te(tr),nJ();break;case 5:nG(r);break;case 4:nW();break;case 13:case 19:te(nY);break;case 10:tK(r.type._context);break;case 22:case 23:ak()}n=n.return}if(iX=e,iK=e=aZ(e.current,null),iJ=i0=t,i2=0,i3=null,i6=i5=i4=0,i9=i8=null,null!==t2){for(t=0;t<t2.length;t++)if(null!==(r=(n=t2[t]).interleaved)){n.interleaved=null;var i=r.next,a=n.pending;if(null!==a){var o=a.next;a.next=i,r.next=o}n.pending=r}t2=null}return e}function aC(e,t){for(;;){var n=iK;try{if(tY(),n0.current=rL,n6){for(var r=n3.memoizedState;null!==r;){var i=r.queue;null!==i&&(i.pending=null),r=r.next}n6=!1}if(n2=0,n5=n4=n3=null,n8=!1,n9=0,i$.current=null,null===n||null===n.return){i2=1,i3=t,iK=null;break}e:{var a=e,o=n.return,l=n,s=t;if(t=iJ,l.flags|=32768,null!==s&&"object"==typeof s&&"function"==typeof s.then){var u=s,c=l,f=c.tag;if(0==(1&c.mode)&&(0===f||11===f||15===f)){var h=c.alternate;h?(c.updateQueue=h.updateQueue,c.memoizedState=h.memoizedState,c.lanes=h.lanes):(c.updateQueue=null,c.memoizedState=null)}var p=rW(o);if(null!==p){p.flags&=-257,r$(p,o,l,a,t),1&p.mode&&rq(a,u,t),t=p,s=u;var g=t.updateQueue;if(null===g){var m=new Set;m.add(s),t.updateQueue=m}else g.add(s);break e}if(0==(1&t)){rq(a,u,t),aI();break e}s=Error(d(426))}else if(nE&&1&l.mode){var v=rW(o);if(null!==v){0==(65536&v.flags)&&(v.flags|=256),r$(v,o,l,a,t),nj(s);break e}}a=s,4!==i2&&(i2=2),null===i8?i8=[a]:i8.push(a),s=rQ(s,l),l=o;do{switch(l.tag){case 3:l.flags|=65536,t&=-t,l.lanes|=t;var y=rU(l,s,t);t7(l,y);break e;case 1:a=s;var b=l.type,w=l.stateNode;if(0==(128&l.flags)&&("function"==typeof b.getDerivedStateFromError||null!==w&&"function"==typeof w.componentDidCatch&&(null===ai||!ai.has(w)))){l.flags|=65536,t&=-t,l.lanes|=t;var A=rH(l,a,t);t7(l,A);break e}}l=l.return}while(null!==l)}aO(n)}catch(e){t=e,iK===n&&null!==n&&(iK=n=n.return);continue}break}}function aS(){var e=iW.current;return iW.current=rL,null===e?rL:e}function aI(){(0===i2||3===i2||2===i2)&&(i2=4),null===iX||0==(268435455&i4)&&0==(268435455&i5)||aw(iX,iJ)}function aM(e,t){var n=iY;iY|=2;var r=aS();for(iX===e&&iJ===t||aE(e,t);;)try{!function(){for(;null!==iK;)a_(iK)}();break}catch(t){aC(e,t)}if(tY(),iY=n,iW.current=r,null!==iK)throw Error(d(261));return iX=null,iJ=0,i2}function a_(e){var t=o(e.alternate,e,i0);e.memoizedProps=e.pendingProps,null===t?aO(e):iK=t,i$.current=null}function aO(e){var n=e;do{var o=n.alternate;if(e=n.return,0==(32768&n.flags)){if(null!==(o=function(e,n,o){var l=n.pendingProps;switch(nA(n),n.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return rJ(n),null;case 1:case 17:return tl(n.type)&&ts(),rJ(n),null;case 3:return l=n.stateNode,nW(),te(ti),te(tr),nJ(),l.pendingContext&&(l.context=l.pendingContext,l.pendingContext=null),(null===e||null===e.child)&&(nD(n)?rG(n):null===e||e.memoizedState.isDehydrated&&0==(256&n.flags)||(n.flags|=1024,null!==nS&&(ab(nS),nS=null))),r(e,n),rJ(n),null;case 5:nG(n),o=nH(nU.current);var s=n.type;if(null!==e&&null!=n.stateNode)i(e,n,s,l,o),e.ref!==n.ref&&(n.flags|=512,n.flags|=2097152);else{if(!l){if(null===n.stateNode)throw Error(d(166));return rJ(n),null}if(e=nH(nZ.current),nD(n)){if(!J)throw Error(d(175));e=eq(n.stateNode,n.type,n.memoizedProps,o,e,n,!nC),n.updateQueue=e,null!==e&&rG(n)}else{var u=Q(s,l,o,e,n);t(u,n,!1,!1),n.stateNode=u,V(u,s,l,o,e)&&rG(n)}null!==n.ref&&(n.flags|=512,n.flags|=2097152)}return rJ(n),null;case 6:if(e&&null!=n.stateNode)a(e,n,e.memoizedProps,l);else{if("string"!=typeof l&&null===n.stateNode)throw Error(d(166));if(e=nH(nU.current),o=nH(nZ.current),nD(n)){if(!J)throw Error(d(176));if((o=eW(e=n.stateNode,l=n.memoizedProps,n,!nC))&&null!==(s=nx))switch(u=0!=(1&s.mode),s.tag){case 3:e1(s.stateNode.containerInfo,e,l,u);break;case 5:e2(s.type,s.memoizedProps,s.stateNode,e,l,u)}o&&rG(n)}else n.stateNode=q(l,e,o,n)}return rJ(n),null;case 13:if(te(nY),l=n.memoizedState,nE&&null!==nk&&0!=(1&n.mode)&&0==(128&n.flags)){for(e=nk;e;)e=eZ(e);return nR(),n.flags|=98560,n}if(null!==l&&null!==l.dehydrated){if(l=nD(n),null===e){if(!l)throw Error(d(318));if(!J)throw Error(d(344));if(!(e=null!==(e=n.memoizedState)?e.dehydrated:null))throw Error(d(317));e$(e,n)}else nR(),0==(128&n.flags)&&(n.memoizedState=null),n.flags|=4;return rJ(n),null}if(null!==nS&&(ab(nS),nS=null),0!=(128&n.flags))return n.lanes=o,n;return l=null!==l,o=!1,null===e?nD(n):o=null!==e.memoizedState,l&&!o&&(n.child.flags|=8192,0!=(1&n.mode)&&(null===e||0!=(1&nY.current)?0===i2&&(i2=3):aI())),null!==n.updateQueue&&(n.flags|=4),rJ(n),null;case 4:return nW(),r(e,n),null===e&&et(n.stateNode.containerInfo),rJ(n),null;case 10:return tK(n.type._context),rJ(n),null;case 19:if(te(nY),null===(s=n.memoizedState))return rJ(n),null;if(l=0!=(128&n.flags),null===(u=s.rendering)){if(l)rK(s,!1);else{if(0!==i2||null!==e&&0!=(128&e.flags))for(e=n.child;null!==e;){if(null!==(u=nX(e))){for(n.flags|=128,rK(s,!1),null!==(e=u.updateQueue)&&(n.updateQueue=e,n.flags|=4),n.subtreeFlags=0,e=o,l=n.child;null!==l;)o=l,s=e,o.flags&=14680066,null===(u=o.alternate)?(o.childLanes=0,o.lanes=s,o.child=null,o.subtreeFlags=0,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null,o.stateNode=null):(o.childLanes=u.childLanes,o.lanes=u.lanes,o.child=u.child,o.subtreeFlags=0,o.deletions=null,o.memoizedProps=u.memoizedProps,o.memoizedState=u.memoizedState,o.updateQueue=u.updateQueue,o.type=u.type,s=u.dependencies,o.dependencies=null===s?null:{lanes:s.lanes,firstContext:s.firstContext}),l=l.sibling;return tt(nY,1&nY.current|2),n.child}e=e.sibling}null!==s.tail&&tO()>ae&&(n.flags|=128,l=!0,rK(s,!1),n.lanes=4194304)}}else{if(!l){if(null!==(e=nX(u))){if(n.flags|=128,l=!0,null!==(e=e.updateQueue)&&(n.updateQueue=e,n.flags|=4),rK(s,!0),null===s.tail&&"hidden"===s.tailMode&&!u.alternate&&!nE)return rJ(n),null}else 2*tO()-s.renderingStartTime>ae&&1073741824!==o&&(n.flags|=128,l=!0,rK(s,!1),n.lanes=4194304)}s.isBackwards?(u.sibling=n.child,n.child=u):(null!==(e=s.last)?e.sibling=u:n.child=u,s.last=u)}if(null!==s.tail)return n=s.tail,s.rendering=n,s.tail=n.sibling,s.renderingStartTime=tO(),n.sibling=null,e=nY.current,tt(nY,l?1&e|2:1&e),n;return rJ(n),null;case 22:case 23:return ak(),l=null!==n.memoizedState,null!==e&&null!==e.memoizedState!==l&&(n.flags|=8192),l&&0!=(1&n.mode)?0!=(1073741824&i0)&&(rJ(n),X&&6&n.subtreeFlags&&(n.flags|=8192)):rJ(n),null;case 24:case 25:return null}throw Error(d(156,n.tag))}(o,n,i0))){iK=o;return}}else{if(null!==(o=function(e,t){switch(nA(t),t.tag){case 1:return tl(t.type)&&ts(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return nW(),te(ti),te(tr),nJ(),0!=(65536&(e=t.flags))&&0==(128&e)?(t.flags=-65537&e|128,t):null;case 5:return nG(t),null;case 13:if(te(nY),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(d(340));nR()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return te(nY),null;case 4:return nW(),null;case 10:return tK(t.type._context),null;case 22:case 23:return ak(),null;default:return null}}(o,n))){o.flags&=32767,iK=o;return}if(null!==e)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{i2=6,iK=null;return}}if(null!==(n=n.sibling)){iK=n;return}iK=n=e}while(null!==n);0===i2&&(i2=5)}function aP(e,t){var n=tE,r=iG.transition;try{iG.transition=null,tE=1,function(e,t,n){do aD();while(null!==ao);if(0!=(6&iY))throw Error(d(327));var r=e.finishedWork,i=e.finishedLanes;if(null!==r){if(e.finishedWork=null,e.finishedLanes=0,r===e.current)throw Error(d(177));e.callbackNode=null,e.callbackPriority=0;var a=r.lanes|r.childLanes;if(function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var i=31-th(n),a=1<<i;t[i]=0,r[i]=-1,e[i]=-1,n&=~a}}(e,a),e===iX&&(iK=iX=null,iJ=0),0==(2064&r.subtreeFlags)&&0==(2064&r.flags)||aa||(aa=!0,o=tR,l=function(){return aD(),null},tS(o,l)),a=0!=(15990&r.flags),0!=(15990&r.subtreeFlags)||a){a=iG.transition,iG.transition=null;var o,l,s,u,c=tE;tE=1;var f=iY;iY|=4,i$.current=null,function(e,t){for(F(e.containerInfo),iv=t;null!==iv;)if(t=(e=iv).child,0!=(1028&e.subtreeFlags)&&null!==t)t.return=e,iv=t;else for(;null!==iv;){e=iv;try{var n=e.alternate;if(0!=(1024&e.flags))switch(e.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==n){var r=n.memoizedProps,i=n.memoizedState,a=e.stateNode,o=a.getSnapshotBeforeUpdate(e.elementType===e.type?r:tH(e.type,r),i);a.__reactInternalSnapshotBeforeUpdate=o}break;case 3:X&&eM(e.stateNode.containerInfo);break;default:throw Error(d(163))}}catch(t){aj(e,e.return,t)}if(null!==(t=e.sibling)){t.return=e.return,iv=t;break}iv=e.return}n=iw,iw=!1}(e,r),function(e,t){for(iv=t;null!==iv;){var n=(t=iv).deletions;if(null!==n)for(var r=0;r<n.length;r++){var i=n[r];try{var a=e;X?i_(a,i,t):iC(a,i,t);var o=i.alternate;null!==o&&(o.return=null),i.return=null}catch(e){aj(i,t,e)}}if(n=t.child,0!=(12854&t.subtreeFlags)&&null!==n)n.return=t,iv=n;else for(;null!==iv;){t=iv;try{var l=t.flags;if(32&l&&X&&ek(t.stateNode),512&l){var s=t.alternate;if(null!==s){var u=s.ref;null!==u&&("function"==typeof u?u(null):u.current=null)}}if(8192&l)switch(t.tag){case 13:if(null!==t.memoizedState){var c=t.alternate;(null===c||null===c.memoizedState)&&(i7=tO())}break;case 22:var d=null!==t.memoizedState,f=t.alternate,h=null!==f&&null!==f.memoizedState;if(n=t,X){e:if(r=n,i=d,a=null,X)for(var p=r;;){if(5===p.tag){if(null===a){a=p;var g=p.stateNode;i?eE(g):eS(p.stateNode,p.memoizedProps)}}else if(6===p.tag){if(null===a){var m=p.stateNode;i?eC(m):eI(m,p.memoizedProps)}}else if((22!==p.tag&&23!==p.tag||null===p.memoizedState||p===r)&&null!==p.child){p.child.return=p,p=p.child;continue}if(p===r)break;for(;null===p.sibling;){if(null===p.return||p.return===r)break e;a===p&&(a=null),p=p.return}a===p&&(a=null),p.sibling.return=p.return,p=p.sibling}}if(d&&!h&&0!=(1&n.mode)){iv=n;for(var v=n.child;null!==v;){for(n=iv=v;null!==iv;){var y=(r=iv).child;switch(r.tag){case 0:case 11:case 14:case 15:iA(4,r,r.return);break;case 1:iy(r,r.return);var b=r.stateNode;if("function"==typeof b.componentWillUnmount){var w=r.return;try{b.props=r.memoizedProps,b.state=r.memoizedState,b.componentWillUnmount()}catch(e){aj(r,w,e)}}break;case 5:iy(r,r.return);break;case 22:if(null!==r.memoizedState){iR(n);continue}}null!==y?(y.return=r,iv=y):iR(n)}v=v.sibling}}}switch(4102&l){case 2:iM(t),t.flags&=-3;break;case 6:iM(t),t.flags&=-3,iO(t.alternate,t);break;case 4096:t.flags&=-4097;break;case 4100:t.flags&=-4097,iO(t.alternate,t);break;case 4:iO(t.alternate,t)}}catch(e){aj(t,t.return,e)}if(null!==(n=t.sibling)){n.return=t.return,iv=n;break}iv=t.return}}}(e,r,i),N(e.containerInfo),e.current=r,s=r,u=e,iv=s,function e(t,n,r){for(var i=0!=(1&t.mode);null!==iv;){var a=iv,o=a.child;if(22===a.tag&&i){var l=null!==a.memoizedState||ip;if(!l){var s=a.alternate,u=null!==s&&null!==s.memoizedState||ig;s=ip;var c=ig;if(ip=l,(ig=u)&&!c)for(iv=a;null!==iv;)u=(l=iv).child,22===l.tag&&null!==l.memoizedState?ij(a):null!==u?(u.return=l,iv=u):ij(a);for(;null!==o;)iv=o,e(o,n,r),o=o.sibling;iv=a,ip=s,ig=c}iD(t,n,r)}else 0!=(8772&a.subtreeFlags)&&null!==o?(o.return=a,iv=o):iD(t,n,r)}}(s,u,i),t_(),iY=f,tE=c,iG.transition=a}else e.current=r;if(aa&&(aa=!1,ao=e,al=i),0===(a=e.pendingLanes)&&(ai=null),function(e){if(tz&&"function"==typeof tz.onCommitFiberRoot)try{tz.onCommitFiberRoot(tB,e,void 0,128==(128&e.current.flags))}catch(e){}}(r.stateNode,n),am(e,tO()),null!==t)for(n=e.onRecoverableError,r=0;r<t.length;r++)n(t[r]);if(an)throw an=!1,e=ar,ar=null,e;0!=(1&al)&&0!==e.tag&&aD(),0!=(1&(a=e.pendingLanes))?e===au?as++:(as=0,au=e):as=0,tZ()}}(e,t,n)}finally{iG.transition=r,tE=n}return null}function aD(){if(null!==ao){var e=tC(al),t=iG.transition,n=tE;try{if(iG.transition=null,tE=16>e?16:e,null===ao)var r=!1;else{if(e=ao,ao=null,al=0,0!=(6&iY))throw Error(d(331));var i=iY;for(iY|=4,iv=e.current;null!==iv;){var a=iv,o=a.child;if(0!=(16&iv.flags)){var l=a.deletions;if(null!==l){for(var s=0;s<l.length;s++){var u=l[s];for(iv=u;null!==iv;){var c=iv;switch(c.tag){case 0:case 11:case 15:iA(8,c,a)}var f=c.child;if(null!==f)f.return=c,iv=f;else for(;null!==iv;){var h=(c=iv).sibling,p=c.return;if(!function e(t){var n=t.alternate;null!==n&&(t.alternate=null,e(n)),t.child=null,t.deletions=null,t.sibling=null,5===t.tag&&null!==(n=t.stateNode)&&er(n),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}(c),c===u){iv=null;break}if(null!==h){h.return=p,iv=h;break}iv=p}}}var g=a.alternate;if(null!==g){var m=g.child;if(null!==m){g.child=null;do{var v=m.sibling;m.sibling=null,m=v}while(null!==m)}}iv=a}}if(0!=(2064&a.subtreeFlags)&&null!==o)o.return=a,iv=o;else for(;null!==iv;){if(a=iv,0!=(2048&a.flags))switch(a.tag){case 0:case 11:case 15:iA(9,a,a.return)}var y=a.sibling;if(null!==y){y.return=a.return,iv=y;break}iv=a.return}}var b=e.current;for(iv=b;null!==iv;){var w=(o=iv).child;if(0!=(2064&o.subtreeFlags)&&null!==w)w.return=o,iv=w;else for(o=b;null!==iv;){if(l=iv,0!=(2048&l.flags))try{switch(l.tag){case 0:case 11:case 15:ix(9,l)}}catch(e){aj(l,l.return,e)}if(l===o){iv=null;break}var A=l.sibling;if(null!==A){A.return=l.return,iv=A;break}iv=l.return}}if(iY=i,tZ(),tz&&"function"==typeof tz.onPostCommitFiberRoot)try{tz.onPostCommitFiberRoot(tB,e)}catch(e){}r=!0}return r}finally{tE=n,iG.transition=t}}return!1}function aR(e,t,n){t=rU(e,t=rQ(n,t),1),t8(e,t),t=af(),null!==(e=ag(e,1))&&(tx(e,1,t),am(e,t))}function aj(e,t,n){if(3===e.tag)aR(e,e,n);else for(;null!==t;){if(3===t.tag){aR(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===ai||!ai.has(r))){e=rH(t,e=rQ(n,e),1),t8(t,e),e=af(),null!==(t=ag(t,1))&&(tx(t,1,e),am(t,e));break}}t=t.return}}function aB(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=af(),e.pingedLanes|=e.suspendedLanes&n,iX===e&&(iJ&n)===n&&(4===i2||3===i2&&(130023424&iJ)===iJ&&500>tO()-i7?aE(e,0):i6|=n),am(e,t)}function az(e,t){0===t&&(0==(1&e.mode)?t=1:(t=tv,0==(130023424&(tv<<=1))&&(tv=4194304)));var n=af();null!==(e=ag(e,t))&&(tx(e,t,n),am(e,n))}function aL(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),az(e,n)}function aT(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;null!==i&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(d(314))}null!==r&&r.delete(t),az(e,n)}function aF(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function aN(e,t,n,r){return new aF(e,t,n,r)}function aQ(e){return!(!(e=e.prototype)||!e.isReactComponent)}function aZ(e,t){var n=e.alternate;return null===n?((n=aN(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function aV(e,t,n,r,i,a){var o=2;if(r=e,"function"==typeof e)aQ(e)&&(o=1);else if("string"==typeof e)o=5;else e:switch(e){case g:return aU(n.children,i,a,t);case m:o=8,i|=8;break;case v:return(e=aN(12,n,t,2|i)).elementType=v,e.lanes=a,e;case A:return(e=aN(13,n,t,i)).elementType=A,e.lanes=a,e;case k:return(e=aN(19,n,t,i)).elementType=k,e.lanes=a,e;case S:return aH(n,i,a,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case y:o=10;break e;case b:o=9;break e;case w:o=11;break e;case E:o=14;break e;case C:o=16,r=null;break e}throw Error(d(130,null==e?e:typeof e,""))}return(t=aN(o,n,t,i)).elementType=e,t.type=r,t.lanes=a,t}function aU(e,t,n,r){return(e=aN(7,e,r,t)).lanes=n,e}function aH(e,t,n,r){return(e=aN(22,e,r,t)).elementType=S,e.lanes=n,e.stateNode={},e}function aq(e,t,n){return(e=aN(6,e,null,t)).lanes=n,e}function aW(e,t,n){return(t=aN(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function a$(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=G,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=tA(0),this.expirationTimes=tA(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=tA(0),this.identifierPrefix=r,this.onRecoverableError=i,J&&(this.mutableSourceEagerHydrationData=null)}function aG(e,t,n,r,i,a,o,l,s){return e=new a$(e,t,n,l,s),1===t?(t=1,!0===a&&(t|=8)):t=0,a=aN(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null},t4(a),e}function aY(e){if(!e)return tn;e=e._reactInternals;e:{if(O(e)!==e||1!==e.tag)throw Error(d(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(tl(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(d(171))}if(1===e.tag){var n=e.type;if(tl(n))return tc(e,n,t)}return t}function aX(e){var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(d(188));throw Error(d(268,e=Object.keys(e).join(",")))}return null===(e=R(t))?null:e.stateNode}function aK(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function aJ(e,t){aK(e,t),(e=e.alternate)&&aK(e,t)}function a0(e){return null===(e=R(e))?null:e.stateNode}function a1(){return null}return o=function(e,t,n){if(null!==e){if(e.memoizedProps!==t.pendingProps||ti.current)r1=!0;else{if(0==(e.lanes&n)&&0==(128&t.flags))return r1=!1,function(e,t,n){switch(t.tag){case 3:it(t),nR();break;case 5:n$(t);break;case 1:tl(t.type)&&td(t);break;case 4:nq(t,t.stateNode.containerInfo);break;case 10:tX(t,t.type._context,t.memoizedProps.value);break;case 13:var r=t.memoizedState;if(null!==r){if(null!==r.dehydrated)return tt(nY,1&nY.current),t.flags|=128,null;if(0!=(n&t.child.childLanes))return io(e,t,n);return tt(nY,1&nY.current),null!==(e=ih(e,t,n))?e.sibling:null}tt(nY,1&nY.current);break;case 19:if(r=0!=(n&t.childLanes),0!=(128&e.flags)){if(r)return id(e,t,n);t.flags|=128}var i=t.memoizedState;if(null!==i&&(i.rendering=null,i.tail=null,i.lastEffect=null),tt(nY,nY.current),!r)return null;break;case 22:case 23:return t.lanes=0,r6(e,t,n)}return ih(e,t,n)}(e,t,n);r1=0!=(131072&e.flags)}}else r1=!1,nE&&0!=(1048576&t.flags)&&nb(t,nf,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps;var i=to(t,tr.current);t0(t,n),i=rn(null,t,r,e,i,n);var a=rr();return t.flags|=1,"object"==typeof i&&null!==i&&"function"==typeof i.render&&void 0===i.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,tl(r)?(a=!0,td(t)):a=!1,t.memoizedState=null!==i.state&&void 0!==i.state?i.state:null,t4(t),i.updater=ni,t.stateNode=i,i._reactInternals=t,ns(t,r,e,n),t=ie(null,t,r,!0,a,n)):(t.tag=0,nE&&a&&nw(t),r2(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,r=(i=r._init)(r._payload),t.type=r,i=t.tag=function(e){if("function"==typeof e)return aQ(e)?1:0;if(null!=e){if((e=e.$$typeof)===w)return 11;if(e===E)return 14}return 2}(r),e=tH(r,e),i){case 0:t=r9(null,t,r,e,n);break e;case 1:t=r7(null,t,r,e,n);break e;case 11:t=r3(null,t,r,e,n);break e;case 14:t=r4(null,t,r,tH(r.type,e),n);break e}throw Error(d(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:tH(r,i),r9(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:tH(r,i),r7(e,t,r,i,n);case 3:e:{if(it(t),null===e)throw Error(d(387));r=t.pendingProps,i=(a=t.memoizedState).element,t5(e,t),ne(t,r,null,n);var o=t.memoizedState;if(r=o.element,J&&a.isDehydrated){if(a={element:r,isDehydrated:!1,cache:o.cache,transitions:o.transitions},t.updateQueue.baseState=a,t.memoizedState=a,256&t.flags){t=ir(e,t,r,n,i=Error(d(423)));break e}if(r!==i){t=ir(e,t,r,n,i=Error(d(424)));break e}for(J&&(nk=eU(t.stateNode.containerInfo),nx=t,nE=!0,nS=null,nC=!1),n=nN(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(nR(),r===i){t=ih(e,t,n);break e}r2(e,t,r,n)}t=t.child}return t;case 5:return n$(t),null===e&&nO(t),r=t.type,i=t.pendingProps,a=null!==e?e.memoizedProps:null,o=i.children,H(r,i)?o=null:null!==a&&H(r,a)&&(t.flags|=32),r8(e,t),r2(e,t,o,n),t.child;case 6:return null===e&&nO(t),null;case 13:return io(e,t,n);case 4:return nq(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=nF(t,null,r,n):r2(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:tH(r,i),r3(e,t,r,i,n);case 7:return r2(e,t,t.pendingProps,n),t.child;case 8:case 12:return r2(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,a=t.memoizedProps,tX(t,r,o=i.value),null!==a){if(tL(a.value,o)){if(a.children===i.children&&!ti.current){t=ih(e,t,n);break e}}else for(null!==(a=t.child)&&(a.return=t);null!==a;){var l=a.dependencies;if(null!==l){o=a.child;for(var s=l.firstContext;null!==s;){if(s.context===r){if(1===a.tag){(s=t6(-1,n&-n)).tag=2;var u=a.updateQueue;if(null!==u){var c=(u=u.shared).pending;null===c?s.next=s:(s.next=c.next,c.next=s),u.pending=s}}a.lanes|=n,null!==(s=a.alternate)&&(s.lanes|=n),tJ(a.return,n,t),l.lanes|=n;break}s=s.next}}else if(10===a.tag)o=a.type===t.type?null:a.child;else if(18===a.tag){if(null===(o=a.return))throw Error(d(341));o.lanes|=n,null!==(l=o.alternate)&&(l.lanes|=n),tJ(o,n,t),o=a.sibling}else o=a.child;if(null!==o)o.return=a;else for(o=a;null!==o;){if(o===t){o=null;break}if(null!==(a=o.sibling)){a.return=o.return,o=a;break}o=o.return}a=o}}r2(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,t0(t,n),r=r(i=t1(i)),t.flags|=1,r2(e,t,r,n),t.child;case 14:return i=tH(r=t.type,t.pendingProps),i=tH(r.type,i),r4(e,t,r,i,n);case 15:return r5(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:tH(r,i),null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),t.tag=1,tl(r)?(e=!0,td(t)):e=!1,t0(t,n),no(t,r,i),ns(t,r,i,n),ie(null,t,r,!0,e,n);case 19:return id(e,t,n);case 22:return r6(e,t,n)}throw Error(d(156,t.tag))},l.attemptContinuousHydration=function(e){13===e.tag&&(ap(e,134217728,af()),aJ(e,134217728))},l.attemptHydrationAtCurrentPriority=function(e){if(13===e.tag){var t=af(),n=ah(e);ap(e,n,t),aJ(e,n)}},l.attemptSynchronousHydration=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=ty(t.pendingLanes);0!==n&&(tk(t,1|n),am(t,tO()),0==(6&iY)&&(at(),tZ()))}break;case 13:var r=af();ax(function(){return ap(e,1,r)}),aJ(e,1)}},l.batchedUpdates=function(e,t){var n=iY;iY|=1;try{return e(t)}finally{0===(iY=n)&&(at(),tF&&tZ())}},l.createComponentSelector=function(e){return{$$typeof:iB,value:e}},l.createContainer=function(e,t,n,r,i,a,o){return aG(e,t,!1,null,n,r,i,a,o)},l.createHasPseudoClassSelector=function(e){return{$$typeof:iz,value:e}},l.createHydrationContainer=function(e,t,n,r,i,a,o,l,s){return(e=aG(n,r,!0,e,i,a,o,l,s)).context=aY(null),n=e.current,(a=t6(r=af(),i=ah(n))).callback=null!=t?t:null,t8(n,a),e.current.lanes=i,tx(e,i,r),am(e,r),e},l.createPortal=function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:p,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}},l.createRoleSelector=function(e){return{$$typeof:iL,value:e}},l.createTestNameSelector=function(e){return{$$typeof:iT,value:e}},l.createTextSelector=function(e){return{$$typeof:iF,value:e}},l.deferredUpdates=function(e){var t=tE,n=iG.transition;try{return iG.transition=null,tE=16,e()}finally{tE=t,iG.transition=n}},l.discreteUpdates=function(e,t,n,r,i){var a=tE,o=iG.transition;try{return iG.transition=null,tE=1,e(t,n,r,i)}finally{tE=a,iG.transition=o,0===iY&&at()}},l.findAllNodes=iH,l.findBoundingRects=function(e,t){if(!eo)throw Error(d(363));t=iH(e,t),e=[];for(var n=0;n<t.length;n++)e.push(es(t[n]));for(t=e.length-1;0<t;t--){n=e[t];for(var r=n.x,i=r+n.width,a=n.y,o=a+n.height,l=t-1;0<=l;l--)if(t!==l){var s=e[l],u=s.x,c=u+s.width,f=s.y,h=f+s.height;if(r>=u&&a>=f&&i<=c&&o<=h){e.splice(t,1);break}if(r!==u||n.width!==s.width||h<a||f>o){if(!(a!==f||n.height!==s.height||c<r||u>i)){u>r&&(s.width+=u-r,s.x=r),c<i&&(s.width=i-u),e.splice(t,1);break}}else{f>a&&(s.height+=f-a,s.y=a),h<o&&(s.height=o-f),e.splice(t,1);break}}}return e},l.findHostInstance=aX,l.findHostInstanceWithNoPortals=function(e){return null===(e=null!==(e=D(e))?function e(t){if(5===t.tag||6===t.tag)return t;for(t=t.child;null!==t;){if(4!==t.tag){var n=e(t);if(null!==n)return n}t=t.sibling}return null}(e):null)?null:e.stateNode},l.findHostInstanceWithWarning=function(e){return aX(e)},l.flushControlled=function(e){var t=iY;iY|=1;var n=iG.transition,r=tE;try{iG.transition=null,tE=1,e()}finally{tE=r,iG.transition=n,0===(iY=t)&&(at(),tZ())}},l.flushPassiveEffects=aD,l.flushSync=ax,l.focusWithin=function(e,t){if(!eo)throw Error(d(363));for(t=Array.from(t=iU(e=iQ(e),t)),e=0;e<t.length;){var n=t[e++];if(!ec(n)){if(5===n.tag&&ef(n.stateNode))return!0;for(n=n.child;null!==n;)t.push(n),n=n.sibling}}return!1},l.getCurrentUpdatePriority=function(){return tE},l.getFindAllNodesFailureDescription=function(e,t){if(!eo)throw Error(d(363));var n=0,r=[];e=[iQ(e),0];for(var i=0;i<e.length;){var a=e[i++],o=e[i++],l=t[o];if((5!==a.tag||!ec(a))&&(iZ(a,l)&&(r.push(iV(l)),++o>n&&(n=o)),o<t.length))for(a=a.child;null!==a;)e.push(a,o),a=a.sibling}if(n<t.length){for(e=[];n<t.length;n++)e.push(iV(t[n]));return"findAllNodes was able to match part of the selector:\n "+r.join(" > ")+"\n\nNo matching component was found for:\n "+e.join(" > ")}return null},l.getPublicRootInstance=function(e){return(e=e.current).child?5===e.child.tag?z(e.child.stateNode):e.child.stateNode:null},l.injectIntoDevTools=function(e){if(e={bundleType:e.bundleType,version:e.version,rendererPackageName:e.rendererPackageName,rendererConfig:e.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:f.ReactCurrentDispatcher,findHostInstanceByFiber:a0,findFiberByHostInstance:e.findFiberByHostInstance||a1,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.0.0-fc46dba67-20220329"},"undefined"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)e=!1;else{var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled||!t.supportsFiber)e=!0;else{try{tB=t.inject(e),tz=t}catch(e){}e=!!t.checkDCE}}return e},l.isAlreadyRendering=function(){return!1},l.observeVisibleRects=function(e,t,n,r){if(!eo)throw Error(d(363));var i=eh(e=iH(e,t),n,r).disconnect;return{disconnect:function(){i()}}},l.registerMutableSourceForHydration=function(e,t){var n=t._getVersion;n=n(t._source),null==e.mutableSourceEagerHydrationData?e.mutableSourceEagerHydrationData=[t,n]:e.mutableSourceEagerHydrationData.push(t,n)},l.runWithPriority=function(e,t){var n=tE;try{return tE=e,t()}finally{tE=n}},l.shouldError=function(){return null},l.shouldSuspend=function(){return!1},l.updateContainer=function(e,t,n,r){var i=t.current,a=af(),o=ah(i);return n=aY(n),null===t.context?t.context=n:t.pendingContext=n,(t=t6(a,o)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),t8(i,t),null!==(e=ap(i,o,a))&&t9(e,i,o),o},l}},49971:function(e,t,n){"use strict";e.exports=n(16093)},27975:function(e,t,n){"use strict";e.exports=n(81907)},82640:function(e,t){"use strict";function n(e,t){var n=e.length;for(e.push(t);0<n;){var r=n-1>>>1,i=e[r];if(0<a(i,t))e[r]=t,e[n]=i,n=r;else break}}function r(e){return 0===e.length?null:e[0]}function i(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;for(var r=0,i=e.length,o=i>>>1;r<o;){var l=2*(r+1)-1,s=e[l],u=l+1,c=e[u];if(0>a(s,n))u<i&&0>a(c,s)?(e[r]=c,e[u]=n,r=u):(e[r]=s,e[l]=n,r=l);else if(u<i&&0>a(c,n))e[r]=c,e[u]=n,r=u;else break}}return t}function a(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var o,l=performance;t.unstable_now=function(){return l.now()}}else{var s=Date,u=s.now();t.unstable_now=function(){return s.now()-u}}var c=[],d=[],f=1,h=null,p=3,g=!1,m=!1,v=!1,y="function"==typeof setTimeout?setTimeout:null,b="function"==typeof clearTimeout?clearTimeout:null,w="undefined"!=typeof setImmediate?setImmediate:null;function A(e){for(var t=r(d);null!==t;){if(null===t.callback)i(d);else if(t.startTime<=e)i(d),t.sortIndex=t.expirationTime,n(c,t);else break;t=r(d)}}function k(e){if(v=!1,A(e),!m){if(null!==r(c))m=!0,j(E);else{var t=r(d);null!==t&&B(k,t.startTime-e)}}}function E(e,n){m=!1,v&&(v=!1,b(I),I=-1),g=!0;var a=p;try{for(A(n),h=r(c);null!==h&&(!(h.expirationTime>n)||e&&!O());){var o=h.callback;if("function"==typeof o){h.callback=null,p=h.priorityLevel;var l=o(h.expirationTime<=n);n=t.unstable_now(),"function"==typeof l?h.callback=l:h===r(c)&&i(c),A(n)}else i(c);h=r(c)}if(null!==h)var s=!0;else{var u=r(d);null!==u&&B(k,u.startTime-n),s=!1}return s}finally{h=null,p=a,g=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var C=!1,S=null,I=-1,M=5,_=-1;function O(){return!(t.unstable_now()-_<M)}function P(){if(null!==S){var e=t.unstable_now();_=e;var n=!0;try{n=S(!0,e)}finally{n?o():(C=!1,S=null)}}else C=!1}if("function"==typeof w)o=function(){w(P)};else if("undefined"!=typeof MessageChannel){var D=new MessageChannel,R=D.port2;D.port1.onmessage=P,o=function(){R.postMessage(null)}}else o=function(){y(P,0)};function j(e){S=e,C||(C=!0,o())}function B(e,n){I=y(function(){e(t.unstable_now())},n)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){m||g||(m=!0,j(E))},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):M=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return p},t.unstable_getFirstCallbackNode=function(){return r(c)},t.unstable_next=function(e){switch(p){case 1:case 2:case 3:var t=3;break;default:t=p}var n=p;p=t;try{return e()}finally{p=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=p;p=e;try{return t()}finally{p=n}},t.unstable_scheduleCallback=function(e,i,a){var o=t.unstable_now();switch(a="object"==typeof a&&null!==a&&"number"==typeof(a=a.delay)&&0<a?o+a:o,e){case 1:var l=-1;break;case 2:l=250;break;case 5:l=1073741823;break;case 4:l=1e4;break;default:l=5e3}return l=a+l,e={id:f++,callback:i,priorityLevel:e,startTime:a,expirationTime:l,sortIndex:-1},a>o?(e.sortIndex=a,n(d,e),null===r(c)&&e===r(d)&&(v?(b(I),I=-1):v=!0,B(k,a-o))):(e.sortIndex=l,n(c,e),m||g||(m=!0,j(E))),e},t.unstable_shouldYield=O,t.unstable_wrapCallback=function(e){var t=p;return function(){var n=p;p=t;try{return e.apply(this,arguments)}finally{p=n}}}},70260:function(e,t,n){"use strict";e.exports=n(82640)},46083:function(e,t,n){"use strict";let r;n.d(t,{A:function(){return K},B:function(){return ea},C:function(){return ei},D:function(){return er},E:function(){return Z},F:function(){return eY},G:function(){return q},H:function(){return V},I:function(){return Y},J:function(){return Q},K:function(){return en},M:function(){return ef},a:function(){return e_},b:function(){return ey},c:function(){return eG},d:function(){return ej},e:function(){return eM},f:function(){return eL},g:function(){return ez},h:function(){return eO},i:function(){return ew},j:function(){return eF},k:function(){return em},l:function(){return eD},m:function(){return ec},n:function(){return eh},o:function(){return ev},p:function(){return eZ},q:function(){return eV},r:function(){return eo},s:function(){return et},t:function(){return eU},u:function(){return eg},v:function(){return eq},w:function(){return eW},x:function(){return e$},y:function(){return eb},z:function(){return X}});var i,a,o,l=n(31686),s=n(1119),u=n(57210),c=n(67673),d=n(6989),f=n(41154),h=n(11993),p=n(2265),g=n(54887);let m=Math.min,v=Math.max,y=Math.round,b=Math.floor,w=e=>({x:e,y:e});function A(){return"undefined"!=typeof window}function k(e){return S(e)?(e.nodeName||"").toLowerCase():"#document"}function E(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function C(e){var t;return null==(t=(S(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function S(e){return!!A()&&(e instanceof Node||e instanceof E(e).Node)}function I(e){return!!A()&&(e instanceof Element||e instanceof E(e).Element)}function M(e){return!!A()&&(e instanceof HTMLElement||e instanceof E(e).HTMLElement)}function _(e){return!!A()&&"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof E(e).ShadowRoot)}function O(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=P(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&"inline"!==i&&"contents"!==i}function P(e){return E(e).getComputedStyle(e)}function D(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);let i=function e(t){let n=function(e){if("html"===k(e))return e;let t=e.assignedSlot||e.parentNode||_(e)&&e.host||C(e);return _(t)?t.host:t}(t);return/^(html|body|#document)$/.test(k(n))?t.ownerDocument?t.ownerDocument.body:t.body:M(n)&&O(n)?n:e(n)}(e),a=i===(null==(r=e.ownerDocument)?void 0:r.body),o=E(i);if(!a)return t.concat(i,D(i,[],n));{let e=R(o);return t.concat(o,o.visualViewport||[],O(i)?i:[],e&&n?D(e):[])}}function R(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function j(e){return I(e)?e:e.contextElement}function B(e){let t=j(e);if(!M(t))return w(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:a}=function(e){let t=P(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=M(e),a=i?e.offsetWidth:n,o=i?e.offsetHeight:r,l=y(n)!==a||y(r)!==o;return l&&(n=a,r=o),{width:n,height:r,$:l}}(t),o=(a?y(n.width):n.width)/r,l=(a?y(n.height):n.height)/i;return o&&Number.isFinite(o)||(o=1),l&&Number.isFinite(l)||(l=1),{x:o,y:l}}let z=w(0);function L(e,t,n,i){var a;void 0===t&&(t=!1),void 0===n&&(n=!1);let o=e.getBoundingClientRect(),l=j(e),s=w(1);t&&(i?I(i)&&(s=B(i)):s=B(e));let u=(void 0===(a=n)&&(a=!1),i&&(!a||i===E(l))&&a)?function(e){let t=E(e);return(null==r&&(r="undefined"!=typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),r&&t.visualViewport)?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:z}(l):w(0),c=(o.left+u.x)/s.x,d=(o.top+u.y)/s.y,f=o.width/s.x,h=o.height/s.y;if(l){let e=E(l),t=i&&I(i)?E(i):i,n=e,r=R(n);for(;r&&i&&t!==n;){let e=B(r),t=r.getBoundingClientRect(),i=P(r),a=t.left+(r.clientLeft+parseFloat(i.paddingLeft))*e.x,o=t.top+(r.clientTop+parseFloat(i.paddingTop))*e.y;c*=e.x,d*=e.y,f*=e.x,h*=e.y,c+=a,d+=o,r=R(n=E(r))}}return function(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}({width:f,height:h,x:c,y:d})}function T(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}var F=n(87935),N=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],Q=function(){};function Z(e,t){for(var n=arguments.length,r=Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];var a=[].concat(r);if(t&&e)for(var o in t)t.hasOwnProperty(o)&&t[o]&&a.push("".concat(o?"-"===o[0]?e+o:e+"__"+o:e));return a.filter(function(e){return e}).map(function(e){return String(e).trim()}).join(" ")}var V=function(e){return Array.isArray(e)?e.filter(Boolean):"object"===(0,f.Z)(e)&&null!==e?[e]:[]},U=function(e){e.className,e.clearValue,e.cx,e.getStyles,e.getClassNames,e.getValue,e.hasValue,e.isMulti,e.isRtl,e.options,e.selectOption,e.selectProps,e.setValue,e.theme;var t=(0,d.Z)(e,N);return(0,l.Z)({},t)},H=function(e,t,n){var r=e.cx,i=e.getStyles,a=e.getClassNames,o=e.className;return{css:i(t,e),className:r(null!=n?n:{},a(t,e),o)}};function q(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function W(e){return q(e)?window.pageYOffset:e.scrollTop}function $(e,t){if(q(e)){window.scrollTo(0,t);return}e.scrollTop=t}function G(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Q,i=W(e),a=t-i,o=0;!function t(){var l;o+=10,$(e,a*((l=(l=o)/n-1)*l*l+1)+i),o<n?window.requestAnimationFrame(t):r(e)}()}function Y(e,t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),i=t.offsetHeight/3;r.bottom+i>n.bottom?$(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+i,e.scrollHeight)):r.top-i<n.top&&$(e,Math.max(t.offsetTop-i,0))}function X(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}function K(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch(e){return!1}}var J=!1,ee="undefined"!=typeof window?window:{};ee.addEventListener&&ee.removeEventListener&&(ee.addEventListener("p",Q,{get passive(){return J=!0}}),ee.removeEventListener("p",Q,!1));var et=J;function en(e){return null!=e}function er(e,t,n){return e?t:n}function ei(e){return e}function ea(e){return e}var eo=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return Object.entries(e).filter(function(e){var t=(0,c.Z)(e,1)[0];return!n.includes(t)}).reduce(function(e,t){var n=(0,c.Z)(t,2),r=n[0],i=n[1];return e[r]=i,e},{})},el=["children","innerProps"],es=["children","innerProps"],eu=function(e){return"auto"===e?"bottom":e},ec=function(e,t){var n,r=e.placement,i=e.theme,a=i.borderRadius,o=i.spacing,s=i.colors;return(0,l.Z)((n={label:"menu"},(0,h.Z)(n,r?({bottom:"top",top:"bottom"})[r]:"bottom","100%"),(0,h.Z)(n,"position","absolute"),(0,h.Z)(n,"width","100%"),(0,h.Z)(n,"zIndex",1),n),t?{}:{backgroundColor:s.neutral0,borderRadius:a,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:o.menuGutter,marginTop:o.menuGutter})},ed=(0,p.createContext)(null),ef=function(e){var t=e.children,n=e.minMenuHeight,r=e.maxMenuHeight,i=e.menuPlacement,a=e.menuPosition,o=e.menuShouldScrollIntoView,s=e.theme,u=((0,p.useContext)(ed)||{}).setPortalPlacement,d=(0,p.useRef)(null),f=(0,p.useState)(r),h=(0,c.Z)(f,2),g=h[0],m=h[1],v=(0,p.useState)(null),y=(0,c.Z)(v,2),b=y[0],w=y[1],A=s.spacing.controlHeight;return(0,F.Z)(function(){var e=d.current;if(e){var t="fixed"===a,l=function(e){var t=e.maxHeight,n=e.menuEl,r=e.minHeight,i=e.placement,a=e.shouldScroll,o=e.isFixedPosition,l=e.controlHeight,s=function(e){var t=getComputedStyle(e),n="absolute"===t.position,r=/(auto|scroll)/;if("fixed"===t.position)return document.documentElement;for(var i=e;i=i.parentElement;)if(t=getComputedStyle(i),(!n||"static"!==t.position)&&r.test(t.overflow+t.overflowY+t.overflowX))return i;return document.documentElement}(n),u={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return u;var c=s.getBoundingClientRect().height,d=n.getBoundingClientRect(),f=d.bottom,h=d.height,p=d.top,g=n.offsetParent.getBoundingClientRect().top,m=o?window.innerHeight:q(s)?window.innerHeight:s.clientHeight,v=W(s),y=parseInt(getComputedStyle(n).marginBottom,10),b=parseInt(getComputedStyle(n).marginTop,10),w=g-b,A=m-p,k=w+v,E=c-v-p,C=f-m+v+y,S=v+p-b;switch(i){case"auto":case"bottom":if(A>=h)return{placement:"bottom",maxHeight:t};if(E>=h&&!o)return a&&G(s,C,160),{placement:"bottom",maxHeight:t};if(!o&&E>=r||o&&A>=r)return a&&G(s,C,160),{placement:"bottom",maxHeight:o?A-y:E-y};if("auto"===i||o){var I=t,M=o?w:k;return M>=r&&(I=Math.min(M-y-l,t)),{placement:"top",maxHeight:I}}if("bottom"===i)return a&&$(s,C),{placement:"bottom",maxHeight:t};break;case"top":if(w>=h)return{placement:"top",maxHeight:t};if(k>=h&&!o)return a&&G(s,S,160),{placement:"top",maxHeight:t};if(!o&&k>=r||o&&w>=r){var _=t;return(!o&&k>=r||o&&w>=r)&&(_=o?w-b:k-b),a&&G(s,S,160),{placement:"top",maxHeight:_}}return{placement:"bottom",maxHeight:t};default:throw Error('Invalid placement provided "'.concat(i,'".'))}return u}({maxHeight:r,menuEl:e,minHeight:n,placement:i,shouldScroll:o&&!t,isFixedPosition:t,controlHeight:A});m(l.maxHeight),w(l.placement),null==u||u(l.placement)}},[r,i,a,o,n,u,A]),t({ref:d,placerProps:(0,l.Z)((0,l.Z)({},e),{},{placement:b||eu(i),maxHeight:g})})},eh=function(e,t){var n=e.maxHeight,r=e.theme.spacing.baseUnit;return(0,l.Z)({maxHeight:n,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},t?{}:{paddingBottom:r,paddingTop:r})},ep=function(e,t){var n=e.theme,r=n.spacing.baseUnit,i=n.colors;return(0,l.Z)({textAlign:"center"},t?{}:{color:i.neutral40,padding:"".concat(2*r,"px ").concat(3*r,"px")})},eg=ep,em=ep,ev=function(e){var t=e.rect,n=e.offset,r=e.position;return{left:t.left,position:r,top:n,width:t.width,zIndex:1}},ey=function(e){var t=e.isDisabled;return{label:"container",direction:e.isRtl?"rtl":void 0,pointerEvents:t?"none":void 0,position:"relative"}},eb=function(e,t){var n=e.theme.spacing,r=e.isMulti,i=e.hasValue,a=e.selectProps.controlShouldRenderValue;return(0,l.Z)({alignItems:"center",display:r&&i&&a?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},t?{}:{padding:"".concat(n.baseUnit/2,"px ").concat(2*n.baseUnit,"px")})},ew=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},eA=["size"],ex=["innerProps","isRtl","size"],ek={name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"},eE=function(e){var t=e.size,n=(0,d.Z)(e,eA);return(0,u.tZ)("svg",(0,s.Z)({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:ek},n))},eC=function(e){return(0,u.tZ)(eE,(0,s.Z)({size:20},e),(0,u.tZ)("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},eS=function(e){return(0,u.tZ)(eE,(0,s.Z)({size:20},e),(0,u.tZ)("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},eI=function(e,t){var n=e.isFocused,r=e.theme,i=r.spacing.baseUnit,a=r.colors;return(0,l.Z)({label:"indicatorContainer",display:"flex",transition:"color 150ms"},t?{}:{color:n?a.neutral60:a.neutral20,padding:2*i,":hover":{color:n?a.neutral80:a.neutral40}})},eM=eI,e_=eI,eO=function(e,t){var n=e.isDisabled,r=e.theme,i=r.spacing.baseUnit,a=r.colors;return(0,l.Z)({label:"indicatorSeparator",alignSelf:"stretch",width:1},t?{}:{backgroundColor:n?a.neutral10:a.neutral20,marginBottom:2*i,marginTop:2*i})},eP=(0,u.F4)(o||(i=["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"],a||(a=i.slice(0)),o=Object.freeze(Object.defineProperties(i,{raw:{value:Object.freeze(a)}})))),eD=function(e,t){var n=e.isFocused,r=e.size,i=e.theme,a=i.colors,o=i.spacing.baseUnit;return(0,l.Z)({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:r,lineHeight:1,marginRight:r,textAlign:"center",verticalAlign:"middle"},t?{}:{color:n?a.neutral60:a.neutral20,padding:2*o})},eR=function(e){var t=e.delay,n=e.offset;return(0,u.tZ)("span",{css:(0,u.iv)({animation:"".concat(eP," 1s ease-in-out ").concat(t,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:n?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},"","")})},ej=function(e,t){var n=e.isDisabled,r=e.isFocused,i=e.theme,a=i.colors,o=i.borderRadius,s=i.spacing;return(0,l.Z)({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:s.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},t?{}:{backgroundColor:n?a.neutral5:a.neutral0,borderColor:n?a.neutral10:r?a.primary:a.neutral20,borderRadius:o,borderStyle:"solid",borderWidth:1,boxShadow:r?"0 0 0 1px ".concat(a.primary):void 0,"&:hover":{borderColor:r?a.primary:a.neutral30}})},eB=["data"],ez=function(e,t){var n=e.theme.spacing;return t?{}:{paddingBottom:2*n.baseUnit,paddingTop:2*n.baseUnit}},eL=function(e,t){var n=e.theme,r=n.colors,i=n.spacing;return(0,l.Z)({label:"group",cursor:"default",display:"block"},t?{}:{color:r.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:3*i.baseUnit,paddingRight:3*i.baseUnit,textTransform:"uppercase"})},eT=["innerRef","isDisabled","isHidden","inputClassName"],eF=function(e,t){var n=e.isDisabled,r=e.value,i=e.theme,a=i.spacing,o=i.colors;return(0,l.Z)((0,l.Z)({visibility:n?"hidden":"visible",transform:r?"translateZ(0)":""},eQ),t?{}:{margin:a.baseUnit/2,paddingBottom:a.baseUnit/2,paddingTop:a.baseUnit/2,color:o.neutral80})},eN={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},eQ={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":(0,l.Z)({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},eN)},eZ=function(e,t){var n=e.theme,r=n.spacing,i=n.borderRadius,a=n.colors;return(0,l.Z)({label:"multiValue",display:"flex",minWidth:0},t?{}:{backgroundColor:a.neutral10,borderRadius:i/2,margin:r.baseUnit/2})},eV=function(e,t){var n=e.theme,r=n.borderRadius,i=n.colors,a=e.cropWithEllipsis;return(0,l.Z)({overflow:"hidden",textOverflow:a||void 0===a?"ellipsis":void 0,whiteSpace:"nowrap"},t?{}:{borderRadius:r/2,color:i.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},eU=function(e,t){var n=e.theme,r=n.spacing,i=n.borderRadius,a=n.colors,o=e.isFocused;return(0,l.Z)({alignItems:"center",display:"flex"},t?{}:{borderRadius:i/2,backgroundColor:o?a.dangerLight:void 0,paddingLeft:r.baseUnit,paddingRight:r.baseUnit,":hover":{backgroundColor:a.dangerLight,color:a.danger}})},eH=function(e){var t=e.children,n=e.innerProps;return(0,u.tZ)("div",n,t)},eq=function(e,t){var n=e.isDisabled,r=e.isFocused,i=e.isSelected,a=e.theme,o=a.spacing,s=a.colors;return(0,l.Z)({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},t?{}:{backgroundColor:i?s.primary:r?s.primary25:"transparent",color:n?s.neutral20:i?s.neutral0:"inherit",padding:"".concat(2*o.baseUnit,"px ").concat(3*o.baseUnit,"px"),":active":{backgroundColor:n?void 0:i?s.primary:s.primary50}})},eW=function(e,t){var n=e.theme,r=n.spacing,i=n.colors;return(0,l.Z)({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},t?{}:{color:i.neutral50,marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2})},e$=function(e,t){var n=e.isDisabled,r=e.theme,i=r.spacing,a=r.colors;return(0,l.Z)({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t?{}:{color:n?a.neutral40:a.neutral80,marginLeft:i.baseUnit/2,marginRight:i.baseUnit/2})},eG={ClearIndicator:function(e){var t=e.children,n=e.innerProps;return(0,u.tZ)("div",(0,s.Z)({},H(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),n),t||(0,u.tZ)(eC,null))},Control:function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,i=e.innerRef,a=e.innerProps,o=e.menuIsOpen;return(0,u.tZ)("div",(0,s.Z)({ref:i},H(e,"control",{control:!0,"control--is-disabled":n,"control--is-focused":r,"control--menu-is-open":o}),a,{"aria-disabled":n||void 0}),t)},DropdownIndicator:function(e){var t=e.children,n=e.innerProps;return(0,u.tZ)("div",(0,s.Z)({},H(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),n),t||(0,u.tZ)(eS,null))},DownChevron:eS,CrossIcon:eC,Group:function(e){var t=e.children,n=e.cx,r=e.getStyles,i=e.getClassNames,a=e.Heading,o=e.headingProps,l=e.innerProps,c=e.label,d=e.theme,f=e.selectProps;return(0,u.tZ)("div",(0,s.Z)({},H(e,"group",{group:!0}),l),(0,u.tZ)(a,(0,s.Z)({},o,{selectProps:f,theme:d,getStyles:r,getClassNames:i,cx:n}),c),(0,u.tZ)("div",null,t))},GroupHeading:function(e){var t=U(e);t.data;var n=(0,d.Z)(t,eB);return(0,u.tZ)("div",(0,s.Z)({},H(e,"groupHeading",{"group-heading":!0}),n))},IndicatorsContainer:function(e){var t=e.children,n=e.innerProps;return(0,u.tZ)("div",(0,s.Z)({},H(e,"indicatorsContainer",{indicators:!0}),n),t)},IndicatorSeparator:function(e){var t=e.innerProps;return(0,u.tZ)("span",(0,s.Z)({},t,H(e,"indicatorSeparator",{"indicator-separator":!0})))},Input:function(e){var t=e.cx,n=e.value,r=U(e),i=r.innerRef,a=r.isDisabled,o=r.isHidden,c=r.inputClassName,f=(0,d.Z)(r,eT);return(0,u.tZ)("div",(0,s.Z)({},H(e,"input",{"input-container":!0}),{"data-value":n||""}),(0,u.tZ)("input",(0,s.Z)({className:t({input:!0},c),ref:i,style:(0,l.Z)({label:"input",color:"inherit",background:0,opacity:o?0:1,width:"100%"},eN),disabled:a},f)))},LoadingIndicator:function(e){var t=e.innerProps,n=e.isRtl,r=e.size,i=(0,d.Z)(e,ex);return(0,u.tZ)("div",(0,s.Z)({},H((0,l.Z)((0,l.Z)({},i),{},{innerProps:t,isRtl:n,size:void 0===r?4:r}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),t),(0,u.tZ)(eR,{delay:0,offset:n}),(0,u.tZ)(eR,{delay:160,offset:!0}),(0,u.tZ)(eR,{delay:320,offset:!n}))},Menu:function(e){var t=e.children,n=e.innerRef,r=e.innerProps;return(0,u.tZ)("div",(0,s.Z)({},H(e,"menu",{menu:!0}),{ref:n},r),t)},MenuList:function(e){var t=e.children,n=e.innerProps,r=e.innerRef,i=e.isMulti;return(0,u.tZ)("div",(0,s.Z)({},H(e,"menuList",{"menu-list":!0,"menu-list--is-multi":i}),{ref:r},n),t)},MenuPortal:function(e){var t=e.appendTo,n=e.children,r=e.controlElement,i=e.innerProps,a=e.menuPlacement,o=e.menuPosition,d=(0,p.useRef)(null),f=(0,p.useRef)(null),h=(0,p.useState)(eu(a)),y=(0,c.Z)(h,2),w=y[0],A=y[1],k=(0,p.useMemo)(function(){return{setPortalPlacement:A}},[]),E=(0,p.useState)(null),S=(0,c.Z)(E,2),I=S[0],M=S[1],_=(0,p.useCallback)(function(){if(r){var e,t={bottom:(e=r.getBoundingClientRect()).bottom,height:e.height,left:e.left,right:e.right,top:e.top,width:e.width},n="fixed"===o?0:window.pageYOffset,i=t[w]+n;(i!==(null==I?void 0:I.offset)||t.left!==(null==I?void 0:I.rect.left)||t.width!==(null==I?void 0:I.rect.width))&&M({offset:i,rect:t})}},[r,o,w,null==I?void 0:I.offset,null==I?void 0:I.rect.left,null==I?void 0:I.rect.width]);(0,F.Z)(function(){_()},[_]);var O=(0,p.useCallback)(function(){"function"==typeof f.current&&(f.current(),f.current=null),r&&d.current&&(f.current=function(e,t,n,r){let i;void 0===r&&(r={});let{ancestorScroll:a=!0,ancestorResize:o=!0,elementResize:l="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:u=!1}=r,c=j(e),d=a||o?[...c?D(c):[],...t?D(t):[]]:[];d.forEach(e=>{a&&e.addEventListener("scroll",n,{passive:!0}),o&&e.addEventListener("resize",n)});let f=c&&s?function(e,t){let n,r=null,i=C(e);function a(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return function o(l,s){void 0===l&&(l=!1),void 0===s&&(s=1),a();let u=e.getBoundingClientRect(),{left:c,top:d,width:f,height:h}=u;if(l||t(),!f||!h)return;let p=b(d),g=b(i.clientWidth-(c+f)),y={rootMargin:-p+"px "+-g+"px "+-b(i.clientHeight-(d+h))+"px "+-b(c)+"px",threshold:v(0,m(1,s))||1},w=!0;function A(t){let r=t[0].intersectionRatio;if(r!==s){if(!w)return o();r?o(!1,r):n=setTimeout(()=>{o(!1,1e-7)},1e3)}1!==r||T(u,e.getBoundingClientRect())||o(),w=!1}try{r=new IntersectionObserver(A,{...y,root:i.ownerDocument})}catch(e){r=new IntersectionObserver(A,y)}r.observe(e)}(!0),a}(c,n):null,h=-1,p=null;l&&(p=new ResizeObserver(e=>{let[r]=e;r&&r.target===c&&p&&t&&(p.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var e;null==(e=p)||e.observe(t)})),n()}),c&&!u&&p.observe(c),t&&p.observe(t));let g=u?L(e):null;return u&&function t(){let r=L(e);g&&!T(g,r)&&n(),g=r,i=requestAnimationFrame(t)}(),n(),()=>{var e;d.forEach(e=>{a&&e.removeEventListener("scroll",n),o&&e.removeEventListener("resize",n)}),null==f||f(),null==(e=p)||e.disconnect(),p=null,u&&cancelAnimationFrame(i)}}(r,d.current,_,{elementResize:"ResizeObserver"in window}))},[r,_]);(0,F.Z)(function(){O()},[O]);var P=(0,p.useCallback)(function(e){d.current=e,O()},[O]);if(!t&&"fixed"!==o||!I)return null;var R=(0,u.tZ)("div",(0,s.Z)({ref:P},H((0,l.Z)((0,l.Z)({},e),{},{offset:I.offset,position:o,rect:I.rect}),"menuPortal",{"menu-portal":!0}),i),n);return(0,u.tZ)(ed.Provider,{value:k},t?(0,g.createPortal)(R,t):R)},LoadingMessage:function(e){var t=e.children,n=void 0===t?"Loading...":t,r=e.innerProps,i=(0,d.Z)(e,es);return(0,u.tZ)("div",(0,s.Z)({},H((0,l.Z)((0,l.Z)({},i),{},{children:n,innerProps:r}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),r),n)},NoOptionsMessage:function(e){var t=e.children,n=void 0===t?"No options":t,r=e.innerProps,i=(0,d.Z)(e,el);return(0,u.tZ)("div",(0,s.Z)({},H((0,l.Z)((0,l.Z)({},i),{},{children:n,innerProps:r}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),r),n)},MultiValue:function(e){var t=e.children,n=e.components,r=e.data,i=e.innerProps,a=e.isDisabled,o=e.removeProps,s=e.selectProps,c=n.Container,d=n.Label,f=n.Remove;return(0,u.tZ)(c,{data:r,innerProps:(0,l.Z)((0,l.Z)({},H(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":a})),i),selectProps:s},(0,u.tZ)(d,{data:r,innerProps:(0,l.Z)({},H(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:s},t),(0,u.tZ)(f,{data:r,innerProps:(0,l.Z)((0,l.Z)({},H(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(t||"option")},o),selectProps:s}))},MultiValueContainer:eH,MultiValueLabel:eH,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return(0,u.tZ)("div",(0,s.Z)({role:"button"},n),t||(0,u.tZ)(eC,{size:14}))},Option:function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,i=e.isSelected,a=e.innerRef,o=e.innerProps;return(0,u.tZ)("div",(0,s.Z)({},H(e,"option",{option:!0,"option--is-disabled":n,"option--is-focused":r,"option--is-selected":i}),{ref:a,"aria-disabled":n},o),t)},Placeholder:function(e){var t=e.children,n=e.innerProps;return(0,u.tZ)("div",(0,s.Z)({},H(e,"placeholder",{placeholder:!0}),n),t)},SelectContainer:function(e){var t=e.children,n=e.innerProps,r=e.isDisabled,i=e.isRtl;return(0,u.tZ)("div",(0,s.Z)({},H(e,"container",{"--is-disabled":r,"--is-rtl":i}),n),t)},SingleValue:function(e){var t=e.children,n=e.isDisabled,r=e.innerProps;return(0,u.tZ)("div",(0,s.Z)({},H(e,"singleValue",{"single-value":!0,"single-value--is-disabled":n}),r),t)},ValueContainer:function(e){var t=e.children,n=e.innerProps,r=e.isMulti,i=e.hasValue;return(0,u.tZ)("div",(0,s.Z)({},H(e,"valueContainer",{"value-container":!0,"value-container--is-multi":r,"value-container--has-value":i}),n),t)}},eY=function(e){return(0,l.Z)((0,l.Z)({},eG),e.components)}},45622:function(e,t,n){"use strict";n.d(t,{ZP:function(){return ey}});var r=n(31686),i=n(67673),a=n(6989),o=n(2265),l=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"],s=n(1119),u=n(73882);function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(0,u.Z)(r.key),r)}}function d(e,t){return(d=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function h(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(h=function(){return!!e})()}var p=n(41154),g=n(96240),m=n(29062);function v(e){return function(e){if(Array.isArray(e))return(0,g.Z)(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||(0,m.Z)(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var y=n(46083),b=n(57210),w=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function A(e,t){if(e.length!==t.length)return!1;for(var n,r,i=0;i<e.length;i++)if(!((n=e[i])===(r=t[i])||w(n)&&w(r)))return!1;return!0}for(var k={name:"7pg0cj-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap"},E=function(e){return(0,b.tZ)("span",(0,s.Z)({css:k},e))},C={guidance:function(e){var t=e.isSearchable,n=e.isMulti,r=e.tabSelectsValue,i=e.context,a=e.isInitialFocus;switch(i){case"menu":return"Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu".concat(r?", press Tab to select the option and exit the menu":"",".");case"input":return a?"".concat(e["aria-label"]||"Select"," is focused ").concat(t?",type to refine list":"",", press Down to open the menu, ").concat(n?" press left to focus selected values":""):"";case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(e){var t=e.action,n=e.label,r=void 0===n?"":n,i=e.labels,a=e.isDisabled;switch(t){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(r,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(i.length>1?"s":""," ").concat(i.join(","),", selected.");case"select-option":return a?"option ".concat(r," is disabled. Select another option."):"option ".concat(r,", selected.");default:return""}},onFocus:function(e){var t=e.context,n=e.focused,r=e.options,i=e.label,a=void 0===i?"":i,o=e.selectValue,l=e.isDisabled,s=e.isSelected,u=e.isAppleDevice,c=function(e,t){return e&&e.length?"".concat(e.indexOf(t)+1," of ").concat(e.length):""};if("value"===t&&o)return"value ".concat(a," focused, ").concat(c(o,n),".");if("menu"===t&&u){var d="".concat(s?" selected":"").concat(l?" disabled":"");return"".concat(a).concat(d,", ").concat(c(r,n),".")}return""},onFilter:function(e){var t=e.inputValue,n=e.resultsMessage;return"".concat(n).concat(t?" for search term "+t:"",".")}},S=function(e){var t=e.ariaSelection,n=e.focusedOption,i=e.focusedValue,a=e.focusableOptions,l=e.isFocused,s=e.selectValue,u=e.selectProps,c=e.id,d=e.isAppleDevice,f=u.ariaLiveMessages,h=u.getOptionLabel,p=u.inputValue,g=u.isMulti,m=u.isOptionDisabled,v=u.isSearchable,y=u.menuIsOpen,w=u.options,A=u.screenReaderStatus,k=u.tabSelectsValue,S=u.isLoading,I=u["aria-label"],M=u["aria-live"],_=(0,o.useMemo)(function(){return(0,r.Z)((0,r.Z)({},C),f||{})},[f]),O=(0,o.useMemo)(function(){var e="";if(t&&_.onChange){var n=t.option,i=t.options,a=t.removedValue,o=t.removedValues,l=t.value,u=a||n||(Array.isArray(l)?null:l),c=u?h(u):"",d=i||o||void 0,f=d?d.map(h):[],p=(0,r.Z)({isDisabled:u&&m(u,s),label:c,labels:f},t);e=_.onChange(p)}return e},[t,_,m,s,h]),P=(0,o.useMemo)(function(){var e="",t=n||i,r=!!(n&&s&&s.includes(n));if(t&&_.onFocus){var o={focused:t,label:h(t),isDisabled:m(t,s),isSelected:r,options:a,context:t===n?"menu":"value",selectValue:s,isAppleDevice:d};e=_.onFocus(o)}return e},[n,i,h,m,_,a,s,d]),D=(0,o.useMemo)(function(){var e="";if(y&&w.length&&!S&&_.onFilter){var t=A({count:a.length});e=_.onFilter({inputValue:p,resultsMessage:t})}return e},[a,p,y,_,w,A,S]),R=(null==t?void 0:t.action)==="initial-input-focus",j=(0,o.useMemo)(function(){var e="";if(_.guidance){var t=i?"value":y?"menu":"input";e=_.guidance({"aria-label":I,context:t,isDisabled:n&&m(n,s),isMulti:g,isSearchable:v,tabSelectsValue:k,isInitialFocus:R})}return e},[I,n,i,g,m,v,y,_,s,k,R]),B=(0,b.tZ)(o.Fragment,null,(0,b.tZ)("span",{id:"aria-selection"},O),(0,b.tZ)("span",{id:"aria-focused"},P),(0,b.tZ)("span",{id:"aria-results"},D),(0,b.tZ)("span",{id:"aria-guidance"},j));return(0,b.tZ)(o.Fragment,null,(0,b.tZ)(E,{id:c},R&&B),(0,b.tZ)(E,{"aria-live":M,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},l&&!R&&B))},I=[{base:"A",letters:"AⒶA\xc0\xc1\xc2ẦẤẪẨ\xc3ĀĂẰẮẴẲȦǠ\xc4ǞẢ\xc5ǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"\xc6ǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČ\xc7ḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺE\xc8\xc9\xcaỀẾỄỂẼĒḔḖĔĖ\xcbẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾI\xcc\xcd\xceĨĪĬİ\xcfḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃ\xd1ṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄO\xd2\xd3\xd4ỒỐỖỔ\xd5ṌȬṎŌṐṒŎȮȰ\xd6ȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬ\xd8ǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"},{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊU\xd9\xda\xdbŨṸŪṺŬ\xdcǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲ\xddŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚ\xe0\xe1\xe2ầấẫẩ\xe3āăằắẵẳȧǡ\xe4ǟả\xe5ǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"\xe6ǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċč\xe7ḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔe\xe8\xe9\xeaềếễểẽēḕḗĕė\xebẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘi\xec\xed\xeeĩīĭ\xefḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nⓝnǹń\xf1ṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞo\xf2\xf3\xf4ồốỗổ\xf5ṍȭṏōṑṓŏȯȱ\xf6ȫỏőǒȍȏơờớỡởợọộǫǭ\xf8ǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢs\xdfśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤu\xf9\xfa\xfbũṹūṻŭ\xfcǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳ\xfdŷỹȳẏ\xffỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],M=RegExp("["+I.map(function(e){return e.letters}).join("")+"]","g"),_={},O=0;O<I.length;O++)for(var P=I[O],D=0;D<P.letters.length;D++)_[P.letters[D]]=P.base;var R=function(e){return e.replace(M,function(e){return _[e]})},j=function(e,t){void 0===t&&(t=A);var n=null;function r(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];if(n&&n.lastThis===this&&t(r,n.lastArgs))return n.lastResult;var a=e.apply(this,r);return n={lastResult:a,lastArgs:r,lastThis:this},a}return r.clear=function(){n=null},r}(R),B=function(e){return e.replace(/^\s+|\s+$/g,"")},z=function(e){return"".concat(e.label," ").concat(e.value)},L=["innerRef"];function T(e){var t=e.innerRef,n=(0,a.Z)(e,L),r=(0,y.r)(n,"onExited","in","enter","exit","appear");return(0,b.tZ)("input",(0,s.Z)({ref:t},r,{css:(0,b.iv)({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},"","")}))}var F=function(e){e.cancelable&&e.preventDefault(),e.stopPropagation()},N=["boxSizing","height","overflow","paddingRight","position"],Q={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function Z(e){e.cancelable&&e.preventDefault()}function V(e){e.stopPropagation()}function U(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function H(){return"ontouchstart"in window||navigator.maxTouchPoints}var q=!!("undefined"!=typeof window&&window.document&&window.document.createElement),W=0,$={capture:!1,passive:!1},G=function(e){var t=e.target;return t.ownerDocument.activeElement&&t.ownerDocument.activeElement.blur()},Y={name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"};function X(e){var t,n,r,i,a,l,s,u,c,d,f,h,p,g,m,v,w,A,k,E,C,S,I,M,_=e.children,O=e.lockEnabled,P=e.captureEnabled,D=(n=(t={isEnabled:void 0===P||P,onBottomArrive:e.onBottomArrive,onBottomLeave:e.onBottomLeave,onTopArrive:e.onTopArrive,onTopLeave:e.onTopLeave}).isEnabled,r=t.onBottomArrive,i=t.onBottomLeave,a=t.onTopArrive,l=t.onTopLeave,s=(0,o.useRef)(!1),u=(0,o.useRef)(!1),c=(0,o.useRef)(0),d=(0,o.useRef)(null),f=(0,o.useCallback)(function(e,t){if(null!==d.current){var n=d.current,o=n.scrollTop,c=n.scrollHeight,f=n.clientHeight,h=d.current,p=t>0,g=c-f-o,m=!1;g>t&&s.current&&(i&&i(e),s.current=!1),p&&u.current&&(l&&l(e),u.current=!1),p&&t>g?(r&&!s.current&&r(e),h.scrollTop=c,m=!0,s.current=!0):!p&&-t>o&&(a&&!u.current&&a(e),h.scrollTop=0,m=!0,u.current=!0),m&&F(e)}},[r,i,a,l]),h=(0,o.useCallback)(function(e){f(e,e.deltaY)},[f]),p=(0,o.useCallback)(function(e){c.current=e.changedTouches[0].clientY},[]),g=(0,o.useCallback)(function(e){var t=c.current-e.changedTouches[0].clientY;f(e,t)},[f]),m=(0,o.useCallback)(function(e){if(e){var t=!!y.s&&{passive:!1};e.addEventListener("wheel",h,t),e.addEventListener("touchstart",p,t),e.addEventListener("touchmove",g,t)}},[g,p,h]),v=(0,o.useCallback)(function(e){e&&(e.removeEventListener("wheel",h,!1),e.removeEventListener("touchstart",p,!1),e.removeEventListener("touchmove",g,!1))},[g,p,h]),(0,o.useEffect)(function(){if(n){var e=d.current;return m(e),function(){v(e)}}},[n,m,v]),function(e){d.current=e}),R=(A=(w={isEnabled:O}).isEnabled,E=void 0===(k=w.accountForScrollbars)||k,C=(0,o.useRef)({}),S=(0,o.useRef)(null),I=(0,o.useCallback)(function(e){if(q){var t=document.body,n=t&&t.style;if(E&&N.forEach(function(e){var t=n&&n[e];C.current[e]=t}),E&&W<1){var r=parseInt(C.current.paddingRight,10)||0,i=document.body?document.body.clientWidth:0,a=window.innerWidth-i+r||0;Object.keys(Q).forEach(function(e){var t=Q[e];n&&(n[e]=t)}),n&&(n.paddingRight="".concat(a,"px"))}t&&H()&&(t.addEventListener("touchmove",Z,$),e&&(e.addEventListener("touchstart",U,$),e.addEventListener("touchmove",V,$))),W+=1}},[E]),M=(0,o.useCallback)(function(e){if(q){var t=document.body,n=t&&t.style;W=Math.max(W-1,0),E&&W<1&&N.forEach(function(e){var t=C.current[e];n&&(n[e]=t)}),t&&H()&&(t.removeEventListener("touchmove",Z,$),e&&(e.removeEventListener("touchstart",U,$),e.removeEventListener("touchmove",V,$)))}},[E]),(0,o.useEffect)(function(){if(A){var e=S.current;return I(e),function(){M(e)}}},[A,I,M]),function(e){S.current=e});return(0,b.tZ)(o.Fragment,null,O&&(0,b.tZ)("div",{onClick:G,css:Y}),_(function(e){D(e),R(e)}))}var K={name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"},J=function(e){var t=e.name,n=e.onFocus;return(0,b.tZ)("input",{required:!0,name:t,tabIndex:-1,"aria-hidden":"true",onFocus:n,css:K,value:"",onChange:function(){}})};function ee(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&e.test((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.platform)||window.navigator.platform)}var et={clearIndicator:y.a,container:y.b,control:y.d,dropdownIndicator:y.e,group:y.g,groupHeading:y.f,indicatorsContainer:y.i,indicatorSeparator:y.h,input:y.j,loadingIndicator:y.l,loadingMessage:y.k,menu:y.m,menuList:y.n,menuPortal:y.o,multiValue:y.p,multiValueLabel:y.q,multiValueRemove:y.t,noOptionsMessage:y.u,option:y.v,placeholder:y.w,singleValue:y.x,valueContainer:y.y},en={borderRadius:4,colors:{primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},spacing:{baseUnit:4,controlHeight:38,menuGutter:8}},er={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:(0,y.z)(),captureMenuScroll:!(0,y.z)(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:function(e,t){if(e.data.__isNew__)return!0;var n=(0,r.Z)({ignoreCase:!0,ignoreAccents:!0,stringify:z,trim:!0,matchFrom:"any"},void 0),i=n.ignoreCase,a=n.ignoreAccents,o=n.stringify,l=n.trim,s=n.matchFrom,u=l?B(t):t,c=l?B(o(e)):o(e);return i&&(u=u.toLowerCase(),c=c.toLowerCase()),a&&(u=j(u),c=R(c)),"start"===s?c.substr(0,u.length)===u:c.indexOf(u)>-1},formatGroupLabel:function(e){return e.label},getOptionLabel:function(e){return e.label},getOptionValue:function(e){return e.value},isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:function(e){return!!e.isDisabled},loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!(0,y.A)(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(e){var t=e.count;return"".concat(t," result").concat(1!==t?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function ei(e,t,n,r){var i=ef(e,t,n),a=eh(e,t,n),o=ec(e,t),l=ed(e,t);return{type:"option",data:t,isDisabled:i,isSelected:a,label:o,value:l,index:r}}function ea(e,t){return e.options.map(function(n,r){if("options"in n){var i=n.options.map(function(n,r){return ei(e,n,t,r)}).filter(function(t){return es(e,t)});return i.length>0?{type:"group",data:n,options:i,index:r}:void 0}var a=ei(e,n,t,r);return es(e,a)?a:void 0}).filter(y.K)}function eo(e){return e.reduce(function(e,t){return"group"===t.type?e.push.apply(e,v(t.options.map(function(e){return e.data}))):e.push(t.data),e},[])}function el(e,t){return e.reduce(function(e,n){return"group"===n.type?e.push.apply(e,v(n.options.map(function(e){return{data:e.data,id:"".concat(t,"-").concat(n.index,"-").concat(e.index)}}))):e.push({data:n.data,id:"".concat(t,"-").concat(n.index)}),e},[])}function es(e,t){var n=e.inputValue,r=t.data,i=t.isSelected,a=t.label,o=t.value;return(!eg(e)||!i)&&ep(e,{label:a,value:o,data:r},void 0===n?"":n)}var eu=function(e,t){var n;return(null===(n=e.find(function(e){return e.data===t}))||void 0===n?void 0:n.id)||null},ec=function(e,t){return e.getOptionLabel(t)},ed=function(e,t){return e.getOptionValue(t)};function ef(e,t,n){return"function"==typeof e.isOptionDisabled&&e.isOptionDisabled(t,n)}function eh(e,t,n){if(n.indexOf(t)>-1)return!0;if("function"==typeof e.isOptionSelected)return e.isOptionSelected(t,n);var r=ed(e,t);return n.some(function(t){return ed(e,t)===r})}function ep(e,t,n){return!e.filterOption||e.filterOption(t,n)}var eg=function(e){var t=e.hideSelectedOptions,n=e.isMulti;return void 0===t?n:t},em=1,ev=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&d(e,t)}(l,e);var t,n,i,a=(t=h(),function(){var e,n=f(l);return e=t?Reflect.construct(n,arguments,f(this).constructor):n.apply(this,arguments),function(e,t){if(t&&("object"==(0,p.Z)(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,e)});function l(e){var t;if(!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,l),(t=a.call(this,e)).state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:"",isAppleDevice:!1},t.blockOptionHover=!1,t.isComposing=!1,t.commonProps=void 0,t.initialTouchX=0,t.initialTouchY=0,t.openAfterFocus=!1,t.scrollToFocusedOptionOnUpdate=!1,t.userIsDragging=void 0,t.controlRef=null,t.getControlRef=function(e){t.controlRef=e},t.focusedOptionRef=null,t.getFocusedOptionRef=function(e){t.focusedOptionRef=e},t.menuListRef=null,t.getMenuListRef=function(e){t.menuListRef=e},t.inputRef=null,t.getInputRef=function(e){t.inputRef=e},t.focus=t.focusInput,t.blur=t.blurInput,t.onChange=function(e,n){var r=t.props,i=r.onChange,a=r.name;n.name=a,t.ariaOnChange(e,n),i(e,n)},t.setValue=function(e,n,r){var i=t.props,a=i.closeMenuOnSelect,o=i.isMulti,l=i.inputValue;t.onInputChange("",{action:"set-value",prevInputValue:l}),a&&(t.setState({inputIsHiddenAfterUpdate:!o}),t.onMenuClose()),t.setState({clearFocusValueOnUpdate:!0}),t.onChange(e,{action:n,option:r})},t.selectOption=function(e){var n=t.props,r=n.blurInputOnSelect,i=n.isMulti,a=n.name,o=t.state.selectValue,l=i&&t.isOptionSelected(e,o),s=t.isOptionDisabled(e,o);if(l){var u=t.getOptionValue(e);t.setValue((0,y.B)(o.filter(function(e){return t.getOptionValue(e)!==u})),"deselect-option",e)}else if(s){t.ariaOnChange((0,y.C)(e),{action:"select-option",option:e,name:a});return}else i?t.setValue((0,y.B)([].concat(v(o),[e])),"select-option",e):t.setValue((0,y.C)(e),"select-option");r&&t.blurInput()},t.removeValue=function(e){var n=t.props.isMulti,r=t.state.selectValue,i=t.getOptionValue(e),a=r.filter(function(e){return t.getOptionValue(e)!==i}),o=(0,y.D)(n,a,a[0]||null);t.onChange(o,{action:"remove-value",removedValue:e}),t.focusInput()},t.clearValue=function(){var e=t.state.selectValue;t.onChange((0,y.D)(t.props.isMulti,[],null),{action:"clear",removedValues:e})},t.popValue=function(){var e=t.props.isMulti,n=t.state.selectValue,r=n[n.length-1],i=n.slice(0,n.length-1),a=(0,y.D)(e,i,i[0]||null);r&&t.onChange(a,{action:"pop-value",removedValue:r})},t.getFocusedOptionId=function(e){return eu(t.state.focusableOptionsWithIds,e)},t.getFocusableOptionsWithIds=function(){return el(ea(t.props,t.state.selectValue),t.getElementId("option"))},t.getValue=function(){return t.state.selectValue},t.cx=function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return y.E.apply(void 0,[t.props.classNamePrefix].concat(n))},t.getOptionLabel=function(e){return ec(t.props,e)},t.getOptionValue=function(e){return ed(t.props,e)},t.getStyles=function(e,n){var r=t.props.unstyled,i=et[e](n,r);i.boxSizing="border-box";var a=t.props.styles[e];return a?a(i,n):i},t.getClassNames=function(e,n){var r,i;return null===(r=(i=t.props.classNames)[e])||void 0===r?void 0:r.call(i,n)},t.getElementId=function(e){return"".concat(t.state.instancePrefix,"-").concat(e)},t.getComponents=function(){return(0,y.F)(t.props)},t.buildCategorizedOptions=function(){return ea(t.props,t.state.selectValue)},t.getCategorizedOptions=function(){return t.props.menuIsOpen?t.buildCategorizedOptions():[]},t.buildFocusableOptions=function(){return eo(t.buildCategorizedOptions())},t.getFocusableOptions=function(){return t.props.menuIsOpen?t.buildFocusableOptions():[]},t.ariaOnChange=function(e,n){t.setState({ariaSelection:(0,r.Z)({value:e},n)})},t.onMenuMouseDown=function(e){0===e.button&&(e.stopPropagation(),e.preventDefault(),t.focusInput())},t.onMenuMouseMove=function(e){t.blockOptionHover=!1},t.onControlMouseDown=function(e){if(!e.defaultPrevented){var n=t.props.openMenuOnClick;t.state.isFocused?t.props.menuIsOpen?"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&t.onMenuClose():n&&t.openMenu("first"):(n&&(t.openAfterFocus=!0),t.focusInput()),"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&e.preventDefault()}},t.onDropdownIndicatorMouseDown=function(e){if((!e||"mousedown"!==e.type||0===e.button)&&!t.props.isDisabled){var n=t.props,r=n.isMulti,i=n.menuIsOpen;t.focusInput(),i?(t.setState({inputIsHiddenAfterUpdate:!r}),t.onMenuClose()):t.openMenu("first"),e.preventDefault()}},t.onClearIndicatorMouseDown=function(e){e&&"mousedown"===e.type&&0!==e.button||(t.clearValue(),e.preventDefault(),t.openAfterFocus=!1,"touchend"===e.type?t.focusInput():setTimeout(function(){return t.focusInput()}))},t.onScroll=function(e){"boolean"==typeof t.props.closeMenuOnScroll?e.target instanceof HTMLElement&&(0,y.G)(e.target)&&t.props.onMenuClose():"function"==typeof t.props.closeMenuOnScroll&&t.props.closeMenuOnScroll(e)&&t.props.onMenuClose()},t.onCompositionStart=function(){t.isComposing=!0},t.onCompositionEnd=function(){t.isComposing=!1},t.onTouchStart=function(e){var n=e.touches,r=n&&n.item(0);r&&(t.initialTouchX=r.clientX,t.initialTouchY=r.clientY,t.userIsDragging=!1)},t.onTouchMove=function(e){var n=e.touches,r=n&&n.item(0);if(r){var i=Math.abs(r.clientX-t.initialTouchX),a=Math.abs(r.clientY-t.initialTouchY);t.userIsDragging=i>5||a>5}},t.onTouchEnd=function(e){t.userIsDragging||(t.controlRef&&!t.controlRef.contains(e.target)&&t.menuListRef&&!t.menuListRef.contains(e.target)&&t.blurInput(),t.initialTouchX=0,t.initialTouchY=0)},t.onControlTouchEnd=function(e){t.userIsDragging||t.onControlMouseDown(e)},t.onClearIndicatorTouchEnd=function(e){t.userIsDragging||t.onClearIndicatorMouseDown(e)},t.onDropdownIndicatorTouchEnd=function(e){t.userIsDragging||t.onDropdownIndicatorMouseDown(e)},t.handleInputChange=function(e){var n=t.props.inputValue,r=e.currentTarget.value;t.setState({inputIsHiddenAfterUpdate:!1}),t.onInputChange(r,{action:"input-change",prevInputValue:n}),t.props.menuIsOpen||t.onMenuOpen()},t.onInputFocus=function(e){t.props.onFocus&&t.props.onFocus(e),t.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(t.openAfterFocus||t.props.openMenuOnFocus)&&t.openMenu("first"),t.openAfterFocus=!1},t.onInputBlur=function(e){var n=t.props.inputValue;if(t.menuListRef&&t.menuListRef.contains(document.activeElement)){t.inputRef.focus();return}t.props.onBlur&&t.props.onBlur(e),t.onInputChange("",{action:"input-blur",prevInputValue:n}),t.onMenuClose(),t.setState({focusedValue:null,isFocused:!1})},t.onOptionHover=function(e){if(!t.blockOptionHover&&t.state.focusedOption!==e){var n=t.getFocusableOptions().indexOf(e);t.setState({focusedOption:e,focusedOptionId:n>-1?t.getFocusedOptionId(e):null})}},t.shouldHideSelectedOptions=function(){return eg(t.props)},t.onValueInputFocus=function(e){e.preventDefault(),e.stopPropagation(),t.focus()},t.onKeyDown=function(e){var n=t.props,r=n.isMulti,i=n.backspaceRemovesValue,a=n.escapeClearsValue,o=n.inputValue,l=n.isClearable,s=n.isDisabled,u=n.menuIsOpen,c=n.onKeyDown,d=n.tabSelectsValue,f=n.openMenuOnFocus,h=t.state,p=h.focusedOption,g=h.focusedValue,m=h.selectValue;if(!s){if("function"==typeof c&&(c(e),e.defaultPrevented))return;switch(t.blockOptionHover=!0,e.key){case"ArrowLeft":if(!r||o)return;t.focusValue("previous");break;case"ArrowRight":if(!r||o)return;t.focusValue("next");break;case"Delete":case"Backspace":if(o)return;if(g)t.removeValue(g);else{if(!i)return;r?t.popValue():l&&t.clearValue()}break;case"Tab":if(t.isComposing||e.shiftKey||!u||!d||!p||f&&t.isOptionSelected(p,m))return;t.selectOption(p);break;case"Enter":if(229===e.keyCode)break;if(u){if(!p||t.isComposing)return;t.selectOption(p);break}return;case"Escape":u?(t.setState({inputIsHiddenAfterUpdate:!1}),t.onInputChange("",{action:"menu-close",prevInputValue:o}),t.onMenuClose()):l&&a&&t.clearValue();break;case" ":if(o)return;if(!u){t.openMenu("first");break}if(!p)return;t.selectOption(p);break;case"ArrowUp":u?t.focusOption("up"):t.openMenu("last");break;case"ArrowDown":u?t.focusOption("down"):t.openMenu("first");break;case"PageUp":if(!u)return;t.focusOption("pageup");break;case"PageDown":if(!u)return;t.focusOption("pagedown");break;case"Home":if(!u)return;t.focusOption("first");break;case"End":if(!u)return;t.focusOption("last");break;default:return}e.preventDefault()}},t.state.instancePrefix="react-select-"+(t.props.instanceId||++em),t.state.selectValue=(0,y.H)(e.value),e.menuIsOpen&&t.state.selectValue.length){var n=t.getFocusableOptionsWithIds(),i=t.buildFocusableOptions(),o=i.indexOf(t.state.selectValue[0]);t.state.focusableOptionsWithIds=n,t.state.focusedOption=i[o],t.state.focusedOptionId=eu(n,i[o])}return t}return n=[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&(0,y.I)(this.menuListRef,this.focusedOptionRef),(ee(/^Mac/i)||ee(/^iPhone/i)||ee(/^iPad/i)||ee(/^Mac/i)&&navigator.maxTouchPoints>1)&&this.setState({isAppleDevice:!0})}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isDisabled,r=t.menuIsOpen,i=this.state.isFocused;(i&&!n&&e.isDisabled||i&&r&&!e.menuIsOpen)&&this.focusInput(),i&&n&&!e.isDisabled?this.setState({isFocused:!1},this.onMenuClose):i||n||!e.isDisabled||this.inputRef!==document.activeElement||this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&((0,y.I)(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(e,t){this.props.onInputChange(e,t)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(e){var t=this,n=this.state,r=n.selectValue,i=n.isFocused,a=this.buildFocusableOptions(),o="first"===e?0:a.length-1;if(!this.props.isMulti){var l=a.indexOf(r[0]);l>-1&&(o=l)}this.scrollToFocusedOptionOnUpdate=!(i&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:a[o],focusedOptionId:this.getFocusedOptionId(a[o])},function(){return t.onMenuOpen()})}},{key:"focusValue",value:function(e){var t=this.state,n=t.selectValue,r=t.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var i=n.indexOf(r);r||(i=-1);var a=n.length-1,o=-1;if(n.length){switch(e){case"previous":o=0===i?0:-1===i?a:i-1;break;case"next":i>-1&&i<a&&(o=i+1)}this.setState({inputIsHidden:-1!==o,focusedValue:n[o]})}}}},{key:"focusOption",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"first",t=this.props.pageSize,n=this.state.focusedOption,r=this.getFocusableOptions();if(r.length){var i=0,a=r.indexOf(n);n||(a=-1),"up"===e?i=a>0?a-1:r.length-1:"down"===e?i=(a+1)%r.length:"pageup"===e?(i=a-t)<0&&(i=0):"pagedown"===e?(i=a+t)>r.length-1&&(i=r.length-1):"last"===e&&(i=r.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:r[i],focusedValue:null,focusedOptionId:this.getFocusedOptionId(r[i])})}}},{key:"getTheme",value:function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme(en):(0,r.Z)((0,r.Z)({},en),this.props.theme):en}},{key:"getCommonProps",value:function(){var e=this.clearValue,t=this.cx,n=this.getStyles,r=this.getClassNames,i=this.getValue,a=this.selectOption,o=this.setValue,l=this.props,s=l.isMulti,u=l.isRtl,c=l.options;return{clearValue:e,cx:t,getStyles:n,getClassNames:r,getValue:i,hasValue:this.hasValue(),isMulti:s,isRtl:u,options:c,selectOption:a,selectProps:l,setValue:o,theme:this.getTheme()}}},{key:"hasValue",value:function(){return this.state.selectValue.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var e=this.props,t=e.isClearable,n=e.isMulti;return void 0===t?n:t}},{key:"isOptionDisabled",value:function(e,t){return ef(this.props,e,t)}},{key:"isOptionSelected",value:function(e,t){return eh(this.props,e,t)}},{key:"filterOption",value:function(e,t){return ep(this.props,e,t)}},{key:"formatOptionLabel",value:function(e,t){if("function"!=typeof this.props.formatOptionLabel)return this.getOptionLabel(e);var n=this.props.inputValue,r=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:n,selectValue:r})}},{key:"formatGroupLabel",value:function(e){return this.props.formatGroupLabel(e)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var e=this.props,t=e.isDisabled,n=e.isSearchable,i=e.inputId,a=e.inputValue,l=e.tabIndex,u=e.form,c=e.menuIsOpen,d=e.required,f=this.getComponents().Input,h=this.state,p=h.inputIsHidden,g=h.ariaSelection,m=this.commonProps,v=i||this.getElementId("input"),b=(0,r.Z)((0,r.Z)((0,r.Z)({"aria-autocomplete":"list","aria-expanded":c,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":d,role:"combobox","aria-activedescendant":this.state.isAppleDevice?void 0:this.state.focusedOptionId||""},c&&{"aria-controls":this.getElementId("listbox")}),!n&&{"aria-readonly":!0}),this.hasValue()?(null==g?void 0:g.action)==="initial-input-focus"&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return n?o.createElement(f,(0,s.Z)({},m,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:v,innerRef:this.getInputRef,isDisabled:t,isHidden:p,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:l,form:u,type:"text",value:a},b)):o.createElement(T,(0,s.Z)({id:v,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:y.J,onFocus:this.onInputFocus,disabled:t,tabIndex:l,inputMode:"none",form:u,value:""},b))}},{key:"renderPlaceholderOrValue",value:function(){var e=this,t=this.getComponents(),n=t.MultiValue,r=t.MultiValueContainer,i=t.MultiValueLabel,a=t.MultiValueRemove,l=t.SingleValue,u=t.Placeholder,c=this.commonProps,d=this.props,f=d.controlShouldRenderValue,h=d.isDisabled,p=d.isMulti,g=d.inputValue,m=d.placeholder,v=this.state,y=v.selectValue,b=v.focusedValue,w=v.isFocused;if(!this.hasValue()||!f)return g?null:o.createElement(u,(0,s.Z)({},c,{key:"placeholder",isDisabled:h,isFocused:w,innerProps:{id:this.getElementId("placeholder")}}),m);if(p)return y.map(function(t,l){var u=t===b,d="".concat(e.getOptionLabel(t),"-").concat(e.getOptionValue(t));return o.createElement(n,(0,s.Z)({},c,{components:{Container:r,Label:i,Remove:a},isFocused:u,isDisabled:h,key:d,index:l,removeProps:{onClick:function(){return e.removeValue(t)},onTouchEnd:function(){return e.removeValue(t)},onMouseDown:function(e){e.preventDefault()}},data:t}),e.formatOptionLabel(t,"value"))});if(g)return null;var A=y[0];return o.createElement(l,(0,s.Z)({},c,{data:A,isDisabled:h}),this.formatOptionLabel(A,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.getComponents().ClearIndicator,t=this.commonProps,n=this.props,r=n.isDisabled,i=n.isLoading,a=this.state.isFocused;if(!this.isClearable()||!e||r||!this.hasValue()||i)return null;var l={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return o.createElement(e,(0,s.Z)({},t,{innerProps:l,isFocused:a}))}},{key:"renderLoadingIndicator",value:function(){var e=this.getComponents().LoadingIndicator,t=this.commonProps,n=this.props,r=n.isDisabled,i=n.isLoading,a=this.state.isFocused;return e&&i?o.createElement(e,(0,s.Z)({},t,{innerProps:{"aria-hidden":"true"},isDisabled:r,isFocused:a})):null}},{key:"renderIndicatorSeparator",value:function(){var e=this.getComponents(),t=e.DropdownIndicator,n=e.IndicatorSeparator;if(!t||!n)return null;var r=this.commonProps,i=this.props.isDisabled,a=this.state.isFocused;return o.createElement(n,(0,s.Z)({},r,{isDisabled:i,isFocused:a}))}},{key:"renderDropdownIndicator",value:function(){var e=this.getComponents().DropdownIndicator;if(!e)return null;var t=this.commonProps,n=this.props.isDisabled,r=this.state.isFocused,i={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return o.createElement(e,(0,s.Z)({},t,{innerProps:i,isDisabled:n,isFocused:r}))}},{key:"renderMenu",value:function(){var e,t=this,n=this.getComponents(),r=n.Group,i=n.GroupHeading,a=n.Menu,l=n.MenuList,u=n.MenuPortal,c=n.LoadingMessage,d=n.NoOptionsMessage,f=n.Option,h=this.commonProps,p=this.state.focusedOption,g=this.props,m=g.captureMenuScroll,v=g.inputValue,b=g.isLoading,w=g.loadingMessage,A=g.minMenuHeight,k=g.maxMenuHeight,E=g.menuIsOpen,C=g.menuPlacement,S=g.menuPosition,I=g.menuPortalTarget,M=g.menuShouldBlockScroll,_=g.menuShouldScrollIntoView,O=g.noOptionsMessage,P=g.onMenuScrollToTop,D=g.onMenuScrollToBottom;if(!E)return null;var R=function(e,n){var r=e.type,i=e.data,a=e.isDisabled,l=e.isSelected,u=e.label,c=e.value,d=p===i,g=a?void 0:function(){return t.onOptionHover(i)},m=a?void 0:function(){return t.selectOption(i)},v="".concat(t.getElementId("option"),"-").concat(n),y={id:v,onClick:m,onMouseMove:g,onMouseOver:g,tabIndex:-1,role:"option","aria-selected":t.state.isAppleDevice?void 0:l};return o.createElement(f,(0,s.Z)({},h,{innerProps:y,data:i,isDisabled:a,isSelected:l,key:v,label:u,type:r,value:c,isFocused:d,innerRef:d?t.getFocusedOptionRef:void 0}),t.formatOptionLabel(e.data,"menu"))};if(this.hasOptions())e=this.getCategorizedOptions().map(function(e){if("group"===e.type){var n=e.data,a=e.options,l=e.index,u="".concat(t.getElementId("group"),"-").concat(l),c="".concat(u,"-heading");return o.createElement(r,(0,s.Z)({},h,{key:u,data:n,options:a,Heading:i,headingProps:{id:c,data:e.data},label:t.formatGroupLabel(e.data)}),e.options.map(function(e){return R(e,"".concat(l,"-").concat(e.index))}))}if("option"===e.type)return R(e,"".concat(e.index))});else if(b){var j=w({inputValue:v});if(null===j)return null;e=o.createElement(c,h,j)}else{var B=O({inputValue:v});if(null===B)return null;e=o.createElement(d,h,B)}var z={minMenuHeight:A,maxMenuHeight:k,menuPlacement:C,menuPosition:S,menuShouldScrollIntoView:_},L=o.createElement(y.M,(0,s.Z)({},h,z),function(n){var r=n.ref,i=n.placerProps,u=i.placement,c=i.maxHeight;return o.createElement(a,(0,s.Z)({},h,z,{innerRef:r,innerProps:{onMouseDown:t.onMenuMouseDown,onMouseMove:t.onMenuMouseMove},isLoading:b,placement:u}),o.createElement(X,{captureEnabled:m,onTopArrive:P,onBottomArrive:D,lockEnabled:M},function(n){return o.createElement(l,(0,s.Z)({},h,{innerRef:function(e){t.getMenuListRef(e),n(e)},innerProps:{role:"listbox","aria-multiselectable":h.isMulti,id:t.getElementId("listbox")},isLoading:b,maxHeight:c,focusedOption:p}),e)}))});return I||"fixed"===S?o.createElement(u,(0,s.Z)({},h,{appendTo:I,controlElement:this.controlRef,menuPlacement:C,menuPosition:S}),L):L}},{key:"renderFormField",value:function(){var e=this,t=this.props,n=t.delimiter,r=t.isDisabled,i=t.isMulti,a=t.name,l=t.required,s=this.state.selectValue;if(l&&!this.hasValue()&&!r)return o.createElement(J,{name:a,onFocus:this.onValueInputFocus});if(a&&!r){if(i){if(n){var u=s.map(function(t){return e.getOptionValue(t)}).join(n);return o.createElement("input",{name:a,type:"hidden",value:u})}var c=s.length>0?s.map(function(t,n){return o.createElement("input",{key:"i-".concat(n),name:a,type:"hidden",value:e.getOptionValue(t)})}):o.createElement("input",{name:a,type:"hidden",value:""});return o.createElement("div",null,c)}var d=s[0]?this.getOptionValue(s[0]):"";return o.createElement("input",{name:a,type:"hidden",value:d})}}},{key:"renderLiveRegion",value:function(){var e=this.commonProps,t=this.state,n=t.ariaSelection,r=t.focusedOption,i=t.focusedValue,a=t.isFocused,l=t.selectValue,u=this.getFocusableOptions();return o.createElement(S,(0,s.Z)({},e,{id:this.getElementId("live-region"),ariaSelection:n,focusedOption:r,focusedValue:i,isFocused:a,selectValue:l,focusableOptions:u,isAppleDevice:this.state.isAppleDevice}))}},{key:"render",value:function(){var e=this.getComponents(),t=e.Control,n=e.IndicatorsContainer,r=e.SelectContainer,i=e.ValueContainer,a=this.props,l=a.className,u=a.id,c=a.isDisabled,d=a.menuIsOpen,f=this.state.isFocused,h=this.commonProps=this.getCommonProps();return o.createElement(r,(0,s.Z)({},h,{className:l,innerProps:{id:u,onKeyDown:this.onKeyDown},isDisabled:c,isFocused:f}),this.renderLiveRegion(),o.createElement(t,(0,s.Z)({},h,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:c,isFocused:f,menuIsOpen:d}),o.createElement(i,(0,s.Z)({},h,{isDisabled:c}),this.renderPlaceholderOrValue(),this.renderInput()),o.createElement(n,(0,s.Z)({},h,{isDisabled:c}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],i=[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps,i=t.clearFocusValueOnUpdate,a=t.inputIsHiddenAfterUpdate,o=t.ariaSelection,l=t.isFocused,s=t.prevWasFocused,u=t.instancePrefix,c=e.options,d=e.value,f=e.menuIsOpen,h=e.inputValue,p=e.isMulti,g=(0,y.H)(d),m={};if(n&&(d!==n.value||c!==n.options||f!==n.menuIsOpen||h!==n.inputValue)){var v,b=f?eo(ea(e,g)):[],w=f?el(ea(e,g),"".concat(u,"-option")):[],A=i?function(e,t){var n=e.focusedValue,r=e.selectValue.indexOf(n);if(r>-1){if(t.indexOf(n)>-1)return n;if(r<t.length)return t[r]}return null}(t,g):null,k=(v=t.focusedOption)&&b.indexOf(v)>-1?v:b[0],E=eu(w,k);m={selectValue:g,focusedOption:k,focusedOptionId:E,focusableOptionsWithIds:w,focusedValue:A,clearFocusValueOnUpdate:!1}}var C=null!=a&&e!==n?{inputIsHidden:a,inputIsHiddenAfterUpdate:void 0}:{},S=o,I=l&&s;return l&&!I&&(S={value:(0,y.D)(p,g,g[0]||null),options:g,action:"initial-input-focus"},I=!s),(null==o?void 0:o.action)==="initial-input-focus"&&(S=null),(0,r.Z)((0,r.Z)((0,r.Z)({},m),C),{},{prevProps:e,ariaSelection:S,prevWasFocused:I})}}],n&&c(l.prototype,n),i&&c(l,i),Object.defineProperty(l,"prototype",{writable:!1}),l}(o.Component);ev.defaultProps=er,n(78242),n(54887),n(87935);var ey=(0,o.forwardRef)(function(e,t){var n,u,c,d,f,h,p,g,m,v,y,b,w,A,k,E,C,S,I,M,_,O,P,D,R,j,B,z,L,T,F=(n=e.defaultInputValue,u=e.defaultMenuIsOpen,c=e.defaultValue,d=e.inputValue,f=e.menuIsOpen,h=e.onChange,p=e.onInputChange,g=e.onMenuClose,m=e.onMenuOpen,v=e.value,y=(0,a.Z)(e,l),b=(0,o.useState)(void 0!==d?d:void 0===n?"":n),A=(w=(0,i.Z)(b,2))[0],k=w[1],E=(0,o.useState)(void 0!==f?f:void 0!==u&&u),S=(C=(0,i.Z)(E,2))[0],I=C[1],M=(0,o.useState)(void 0!==v?v:void 0===c?null:c),O=(_=(0,i.Z)(M,2))[0],P=_[1],D=(0,o.useCallback)(function(e,t){"function"==typeof h&&h(e,t),P(e)},[h]),R=(0,o.useCallback)(function(e,t){var n;"function"==typeof p&&(n=p(e,t)),k(void 0!==n?n:e)},[p]),j=(0,o.useCallback)(function(){"function"==typeof m&&m(),I(!0)},[m]),B=(0,o.useCallback)(function(){"function"==typeof g&&g(),I(!1)},[g]),z=void 0!==d?d:A,L=void 0!==f?f:S,T=void 0!==v?v:O,(0,r.Z)((0,r.Z)({},y),{},{inputValue:z,menuIsOpen:L,onChange:D,onInputChange:R,onMenuClose:B,onMenuOpen:j,value:T}));return o.createElement(ev,(0,s.Z)({ref:t},F))})},98975:function(e,t,n){var r;!function(i,a){"use strict";var o="function",l="undefined",s="object",u="string",c="major",d="model",f="name",h="type",p="vendor",g="version",m="architecture",v="console",y="mobile",b="tablet",w="smarttv",A="wearable",k="embedded",E="Amazon",C="Apple",S="ASUS",I="BlackBerry",M="Browser",_="Chrome",O="Firefox",P="Google",D="Honor",R="Huawei",j="Microsoft",B="Motorola",z="Nvidia",L="OnePlus",T="Opera",F="OPPO",N="Samsung",Q="Sharp",Z="Sony",V="Xiaomi",U="Zebra",H="Facebook",q="Chromium OS",W="Mac OS",$=" Browser",G=function(e,t){var n={};for(var r in e)t[r]&&t[r].length%2==0?n[r]=t[r].concat(e[r]):n[r]=e[r];return n},Y=function(e){for(var t={},n=0;n<e.length;n++)t[e[n].toUpperCase()]=e[n];return t},X=function(e,t){return typeof e===u&&-1!==K(t).indexOf(K(e))},K=function(e){return e.toLowerCase()},J=function(e,t){if(typeof e===u)return e=e.replace(/^\s\s*/,""),typeof t===l?e:e.substring(0,500)},ee=function(e,t){for(var n,r,i,l,u,c,d=0;d<t.length&&!u;){var f=t[d],h=t[d+1];for(n=r=0;n<f.length&&!u&&f[n];)if(u=f[n++].exec(e))for(i=0;i<h.length;i++)c=u[++r],typeof(l=h[i])===s&&l.length>0?2===l.length?typeof l[1]==o?this[l[0]]=l[1].call(this,c):this[l[0]]=l[1]:3===l.length?typeof l[1]!==o||l[1].exec&&l[1].test?this[l[0]]=c?c.replace(l[1],l[2]):void 0:this[l[0]]=c?l[1].call(this,c,l[2]):void 0:4===l.length&&(this[l[0]]=c?l[3].call(this,c.replace(l[1],l[2])):void 0):this[l]=c||a;d+=2}},et=function(e,t){for(var n in t)if(typeof t[n]===s&&t[n].length>0){for(var r=0;r<t[n].length;r++)if(X(t[n][r],e))return"?"===n?a:n}else if(X(t[n],e))return"?"===n?a:n;return t.hasOwnProperty("*")?t["*"]:e},en={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},er={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[g,[f,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[g,[f,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[f,g],[/opios[\/ ]+([\w\.]+)/i],[g,[f,T+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[g,[f,T+" GX"]],[/\bopr\/([\w\.]+)/i],[g,[f,T]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[g,[f,"Baidu"]],[/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i],[g,[f,"Maxthon"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim(?:browser|boat|jet))[\/ ]?([\d\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio|(?=comodo_)?dragon)\/([-\w\.]+)/i,/(heytap|ovi|115)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[f,g],[/quark(?:pc)?\/([-\w\.]+)/i],[g,[f,"Quark"]],[/\bddg\/([\w\.]+)/i],[g,[f,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[g,[f,"UC"+M]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[g,[f,"WeChat"]],[/konqueror\/([\w\.]+)/i],[g,[f,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[g,[f,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[g,[f,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[g,[f,"Smart Lenovo "+M]],[/(avast|avg)\/([\w\.]+)/i],[[f,/(.+)/,"$1 Secure "+M],g],[/\bfocus\/([\w\.]+)/i],[g,[f,O+" Focus"]],[/\bopt\/([\w\.]+)/i],[g,[f,T+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[g,[f,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[g,[f,"Dolphin"]],[/coast\/([\w\.]+)/i],[g,[f,T+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[g,[f,"MIUI"+$]],[/fxios\/([\w\.-]+)/i],[g,[f,O]],[/\bqihoobrowser\/?([\w\.]*)/i],[g,[f,"360"]],[/\b(qq)\/([\w\.]+)/i],[[f,/(.+)/,"$1Browser"],g],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[f,/(.+)/,"$1"+$],g],[/samsungbrowser\/([\w\.]+)/i],[g,[f,N+" Internet"]],[/metasr[\/ ]?([\d\.]+)/i],[g,[f,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[f,"Sogou Mobile"],g],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i],[f,g],[/(lbbrowser|rekonq)/i,/\[(linkedin)app\]/i],[f],[/ome\/([\w\.]+) \w* ?(iron) saf/i,/ome\/([\w\.]+).+qihu (360)[es]e/i],[g,f],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[f,H],g],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/(daum)apps[\/ ]([\w\.]+)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[f,g],[/\bgsa\/([\w\.]+) .*safari\//i],[g,[f,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[g,[f,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[g,[f,_+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[f,_+" WebView"],g],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[g,[f,"Android "+M]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[f,g],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[g,[f,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[g,f],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[f,[g,et,{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\/([\w\.]+)/i],[f,g],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[f,"Netscape"],g],[/(wolvic|librewolf)\/([\w\.]+)/i],[f,g],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[g,[f,O+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(amaya|dillo|doris|icab|ladybird|lynx|mosaic|netsurf|obigo|polaris|w3m|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/\b(links) \(([\w\.]+)/i],[f,[g,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[f,[g,/master.|lts./,""]]],cpu:[[/\b((amd|x|x86[-_]?|wow|win)64)\b/i],[[m,"amd64"]],[/(ia32(?=;))/i,/\b((i[346]|x)86)(pc)?\b/i],[[m,"ia32"]],[/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i],[[m,"arm64"]],[/\b(arm(v[67])?ht?n?[fl]p?)\b/i],[[m,"armhf"]],[/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i],[[m,"arm"]],[/((ppc|powerpc)(64)?)( mac|;|\))/i],[[m,/ower/,"",K]],[/ sun4\w[;\)]/i],[[m,"sparc"]],[/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i],[[m,K]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[d,[p,N],[h,b]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr])[-\w]+)/i,/sec-(sgh\w+)/i],[d,[p,N],[h,y]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[d,[p,C],[h,y]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[d,[p,C],[h,b]],[/(macintosh);/i],[d,[p,C]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[d,[p,Q],[h,y]],[/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i],[d,[p,D],[h,b]],[/honor([-\w ]+)[;\)]/i],[d,[p,D],[h,y]],[/\b((?:ag[rs][2356]?k?|bah[234]?|bg[2o]|bt[kv]|cmr|cpn|db[ry]2?|jdn2|got|kob2?k?|mon|pce|scm|sht?|[tw]gr|vrd)-[ad]?[lw][0125][09]b?|605hw|bg2-u03|(?:gem|fdr|m2|ple|t1)-[7a]0[1-4][lu]|t1-a2[13][lw]|mediapad[\w\. ]*(?= bui|\)))\b(?!.+d\/s)/i],[d,[p,R],[h,b]],[/(?:huawei)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[d,[p,R],[h,y]],[/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i,/\b((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i],[[d,/_/g," "],[p,V],[h,b]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i,/ ([\w ]+) miui\/v?\d/i],[[d,/_/g," "],[p,V],[h,y]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[d,[p,F],[h,y]],[/\b(opd2(\d{3}a?))(?: bui|\))/i],[d,[p,et,{OnePlus:["304","403","203"],"*":F}],[h,b]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[d,[p,"Vivo"],[h,y]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[d,[p,"Realme"],[h,y]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto(?! 360)[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[d,[p,B],[h,y]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[d,[p,B],[h,b]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[d,[p,"LG"],[h,b]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv|watch)\w+)/i,/\blg-?([\d\w]+) bui/i],[d,[p,"LG"],[h,y]],[/(ideatab[-\w ]+|602lv|d-42a|a101lv|a2109a|a3500-hv|s[56]000|pb-6505[my]|tb-?x?\d{3,4}(?:f[cu]|xu|[av])|yt\d?-[jx]?\d+[lfmx])( bui|;|\)|\/)/i,/lenovo ?(b[68]0[08]0-?[hf]?|tab(?:[\w- ]+?)|tb[\w-]{6,7})( bui|;|\)|\/)/i],[d,[p,"Lenovo"],[h,b]],[/(nokia) (t[12][01])/i],[p,d,[h,b]],[/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i,/nokia[-_ ]?(([-\w\. ]*))/i],[[d,/_/g," "],[h,y],[p,"Nokia"]],[/(pixel (c|tablet))\b/i],[d,[p,P],[h,b]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[d,[p,P],[h,y]],[/droid.+; (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[d,[p,Z],[h,y]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[d,"Xperia Tablet"],[p,Z],[h,b]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[d,[p,L],[h,y]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[d,[p,E],[h,b]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[d,/(.+)/g,"Fire Phone $1"],[p,E],[h,y]],[/(playbook);[-\w\),; ]+(rim)/i],[d,p,[h,b]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[d,[p,I],[h,y]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[d,[p,S],[h,b]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[d,[p,S],[h,y]],[/(nexus 9)/i],[d,[p,"HTC"],[h,b]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[p,[d,/_/g," "],[h,y]],[/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])\w*(\)| bui)/i],[d,[p,"TCL"],[h,b]],[/(itel) ((\w+))/i],[[p,K],d,[h,et,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[d,[p,"Acer"],[h,b]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[d,[p,"Meizu"],[h,y]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[d,[p,"Ulefone"],[h,y]],[/; (energy ?\w+)(?: bui|\))/i,/; energizer ([\w ]+)(?: bui|\))/i],[d,[p,"Energizer"],[h,y]],[/; cat (b35);/i,/; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i],[d,[p,"Cat"],[h,y]],[/((?:new )?andromax[\w- ]+)(?: bui|\))/i],[d,[p,"Smartfren"],[h,y]],[/droid.+; (a(?:015|06[35]|142p?))/i],[d,[p,"Nothing"],[h,y]],[/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i,/archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i],[d,[p,"Archos"],[h,b]],[/archos ([\w ]+)( b|\))/i,/; (ac[3-6]\d\w{2,8})( b|\))/i],[d,[p,"Archos"],[h,y]],[/(imo) (tab \w+)/i,/(infinix) (x1101b?)/i],[p,d,[h,b]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus(?! zenw)|dell|jolla|meizu|motorola|polytron|infinix|tecno|micromax|advan)[-_ ]?([-\w]*)/i,/; (hmd|imo) ([\w ]+?)(?: bui|\))/i,/(hp) ([\w ]+\w)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w ]+?)(?: bui|\)|\/)/i,/(oppo) ?([\w ]+) bui/i],[p,d,[h,y]],[/(kobo)\s(ereader|touch)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[p,d,[h,b]],[/(surface duo)/i],[d,[p,j],[h,b]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[d,[p,"Fairphone"],[h,y]],[/(u304aa)/i],[d,[p,"AT&T"],[h,y]],[/\bsie-(\w*)/i],[d,[p,"Siemens"],[h,y]],[/\b(rct\w+) b/i],[d,[p,"RCA"],[h,b]],[/\b(venue[\d ]{2,7}) b/i],[d,[p,"Dell"],[h,b]],[/\b(q(?:mv|ta)\w+) b/i],[d,[p,"Verizon"],[h,b]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[d,[p,"Barnes & Noble"],[h,b]],[/\b(tm\d{3}\w+) b/i],[d,[p,"NuVision"],[h,b]],[/\b(k88) b/i],[d,[p,"ZTE"],[h,b]],[/\b(nx\d{3}j) b/i],[d,[p,"ZTE"],[h,y]],[/\b(gen\d{3}) b.+49h/i],[d,[p,"Swiss"],[h,y]],[/\b(zur\d{3}) b/i],[d,[p,"Swiss"],[h,b]],[/\b((zeki)?tb.*\b) b/i],[d,[p,"Zeki"],[h,b]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[p,"Dragon Touch"],d,[h,b]],[/\b(ns-?\w{0,9}) b/i],[d,[p,"Insignia"],[h,b]],[/\b((nxa|next)-?\w{0,9}) b/i],[d,[p,"NextBook"],[h,b]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[p,"Voice"],d,[h,y]],[/\b(lvtel\-)?(v1[12]) b/i],[[p,"LvTel"],d,[h,y]],[/\b(ph-1) /i],[d,[p,"Essential"],[h,y]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[d,[p,"Envizen"],[h,b]],[/\b(trio[-\w\. ]+) b/i],[d,[p,"MachSpeed"],[h,b]],[/\btu_(1491) b/i],[d,[p,"Rotor"],[h,b]],[/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i],[d,[p,z],[h,b]],[/(sprint) (\w+)/i],[p,d,[h,y]],[/(kin\.[onetw]{3})/i],[[d,/\./g," "],[p,j],[h,y]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[d,[p,U],[h,b]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[d,[p,U],[h,y]],[/smart-tv.+(samsung)/i],[p,[h,w]],[/hbbtv.+maple;(\d+)/i],[[d,/^/,"SmartTV"],[p,N],[h,w]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[p,"LG"],[h,w]],[/(apple) ?tv/i],[p,[d,C+" TV"],[h,w]],[/crkey/i],[[d,_+"cast"],[p,P],[h,w]],[/droid.+aft(\w+)( bui|\))/i],[d,[p,E],[h,w]],[/(shield \w+ tv)/i],[d,[p,z],[h,w]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[d,[p,Q],[h,w]],[/(bravia[\w ]+)( bui|\))/i],[d,[p,Z],[h,w]],[/(mi(tv|box)-?\w+) bui/i],[d,[p,V],[h,w]],[/Hbbtv.*(technisat) (.*);/i],[p,d,[h,w]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[p,J],[d,J],[h,w]],[/droid.+; ([\w- ]+) (?:android tv|smart[- ]?tv)/i],[d,[h,w]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[h,w]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[p,d,[h,v]],[/droid.+; (shield)( bui|\))/i],[d,[p,z],[h,v]],[/(playstation \w+)/i],[d,[p,Z],[h,v]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[d,[p,j],[h,v]],[/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i],[d,[p,N],[h,A]],[/((pebble))app/i,/(asus|google|lg|oppo) ((pixel |zen)?watch[\w ]*)( bui|\))/i],[p,d,[h,A]],[/(ow(?:19|20)?we?[1-3]{1,3})/i],[d,[p,F],[h,A]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[d,[p,C],[h,A]],[/(opwwe\d{3})/i],[d,[p,L],[h,A]],[/(moto 360)/i],[d,[p,B],[h,A]],[/(smartwatch 3)/i],[d,[p,Z],[h,A]],[/(g watch r)/i],[d,[p,"LG"],[h,A]],[/droid.+; (wt63?0{2,3})\)/i],[d,[p,U],[h,A]],[/droid.+; (glass) \d/i],[d,[p,P],[h,A]],[/(pico) (4|neo3(?: link|pro)?)/i],[p,d,[h,A]],[/; (quest( \d| pro)?)/i],[d,[p,H],[h,A]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[p,[h,k]],[/(aeobc)\b/i],[d,[p,E],[h,k]],[/(homepod).+mac os/i],[d,[p,C],[h,k]],[/windows iot/i],[[h,k]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[d,[h,y]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[d,[h,b]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[h,b]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[h,y]],[/droid .+?; ([\w\. -]+)( bui|\))/i],[d,[p,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[g,[f,"EdgeHTML"]],[/(arkweb)\/([\w\.]+)/i],[f,g],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[g,[f,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna|servo)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[f,g],[/ladybird\//i],[[f,"LibWeb"]],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[g,f]],os:[[/microsoft (windows) (vista|xp)/i],[f,g],[/(windows (?:phone(?: os)?|mobile|iot))[\/ ]?([\d\.\w ]*)/i],[f,[g,et,en]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[g,et,en],[f,"Windows"]],[/[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[g,/_/g,"."],[f,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[f,W],[g,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[g,f],[/(ubuntu) ([\w\.]+) like android/i],[[f,/(.+)/,"$1 Touch"],g],[/(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen|webos)\w*[-\/; ]?([\d\.]*)/i],[f,g],[/\(bb(10);/i],[g,[f,I]],[/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i],[g,[f,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[g,[f,O+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[g,[f,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[g,[f,"watchOS"]],[/crkey\/([\d\.]+)/i],[g,[f,_+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[f,q],g],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux)(?: arm\w*| x86\w*| ?)([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[f,g],[/(sunos) ?([\w\.\d]*)/i],[[f,"Solaris"],g],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[f,g]]},ei=function(e,t){if(typeof e===s&&(t=e,e=a),!(this instanceof ei))return new ei(e,t).getResult();var n=typeof i!==l&&i.navigator?i.navigator:a,r=e||(n&&n.userAgent?n.userAgent:""),v=n&&n.userAgentData?n.userAgentData:a,w=t?G(er,t):er,A=n&&n.userAgent==r;return this.getBrowser=function(){var e,t={};return t[f]=a,t[g]=a,ee.call(t,r,w.browser),t[c]=typeof(e=t[g])===u?e.replace(/[^\d\.]/g,"").split(".")[0]:a,A&&n&&n.brave&&typeof n.brave.isBrave==o&&(t[f]="Brave"),t},this.getCPU=function(){var e={};return e[m]=a,ee.call(e,r,w.cpu),e},this.getDevice=function(){var e={};return e[p]=a,e[d]=a,e[h]=a,ee.call(e,r,w.device),A&&!e[h]&&v&&v.mobile&&(e[h]=y),A&&"Macintosh"==e[d]&&n&&typeof n.standalone!==l&&n.maxTouchPoints&&n.maxTouchPoints>2&&(e[d]="iPad",e[h]=b),e},this.getEngine=function(){var e={};return e[f]=a,e[g]=a,ee.call(e,r,w.engine),e},this.getOS=function(){var e={};return e[f]=a,e[g]=a,ee.call(e,r,w.os),A&&!e[f]&&v&&v.platform&&"Unknown"!=v.platform&&(e[f]=v.platform.replace(/chrome os/i,q).replace(/macos/i,W)),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return r},this.setUA=function(e){return r=typeof e===u&&e.length>500?J(e,500):e,this},this.setUA(r),this};ei.VERSION="1.0.41",ei.BROWSER=Y([f,g,c]),ei.CPU=Y([m]),ei.DEVICE=Y([d,p,h,v,y,w,b,A,k]),ei.ENGINE=ei.OS=Y([f,g]),typeof t!==l?(e.exports&&(t=e.exports=ei),t.UAParser=ei):n.amdO?a!==(r=(function(){return ei}).call(t,n,t,e))&&(e.exports=r):typeof i!==l&&(i.UAParser=ei);var ea=typeof i!==l&&(i.jQuery||i.Zepto);if(ea&&!ea.ua){var eo=new ei;ea.ua=eo.getResult(),ea.ua.get=function(){return eo.getUA()},ea.ua.set=function(e){eo.setUA(e);var t=eo.getResult();for(var n in t)ea.ua[n]=t[n]}}}("object"==typeof window?window:this)},87935:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var r=n(2265).useLayoutEffect},36760:function(e,t){var n;!function(){"use strict";var r={}.hasOwnProperty;function i(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=a(e,function(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return i.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)r.call(e,n)&&e[n]&&(t=a(t,n));return t}(n)))}return e}function a(e,t){return t?e?e+" "+t:e+t:e}e.exports?(i.default=i,e.exports=i):void 0!==(n=(function(){return i}).apply(t,[]))&&(e.exports=n)}()},96240:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,{Z:function(){return r}})},11993:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(73882);function i(e,t,n){return(t=(0,r.Z)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},1119:function(e,t,n){"use strict";function r(){return(r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}n.d(t,{Z:function(){return r}})},31686:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(11993);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach(function(t){(0,r.Z)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}},6989:function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if(({}).hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],-1===t.indexOf(n)&&({}).propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}n.d(t,{Z:function(){return r}})},67673:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(29062);function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,a,o,l=[],s=!0,u=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=a.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){u=!0,i=e}finally{try{if(!s&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(u)throw i}}return l}}(e,t)||(0,r.Z)(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},73882:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(41154);function i(e){var t=function(e,t){if("object"!=(0,r.Z)(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!=(0,r.Z)(i))return i;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==(0,r.Z)(t)?t:t+""}},41154:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n.d(t,{Z:function(){return r}})},29062:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(96240);function i(e,t){if(e){if("string"==typeof e)return(0,r.Z)(e,t);var n=({}).toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.Z)(e,t):void 0}}},80452:function(e,t,n){"use strict";n.d(t,{Ae:function(){return tb},LM:function(){return td},Sy:function(){return e2},_l:function(){return tt},bK:function(){return tn},eZ:function(){return th},gB:function(){return e0},it:function(){return ty},kX:function(){return e3},l3:function(){return tl},of:function(){return tf},qI:function(){return e1},v2:function(){return ts}});var r,i,a,o,l,s,u,c,d,f,h,p,g,m,v,y,b,w,A,k,E,C,S,I,M,_,O,P,D,R,j,B,z,L,T,F,N,Q,Z,V,U,H,q,W,$,G,Y,X,K,J,ee,et,en,er,ei,ea,eo,el,es,eu,ec,ed,ef,eh,ep,eg,em,ev,ey,eb,ew,eA,ex=n(22785),ek=n(86923),eE=n(34195),eC=Object.create,eS=Object.defineProperty,eI=Object.defineProperties,eM=Object.getOwnPropertyDescriptor,e_=Object.getOwnPropertyDescriptors,eO=Object.getOwnPropertySymbols,eP=Object.prototype.hasOwnProperty,eD=Object.prototype.propertyIsEnumerable,eR=(e,t)=>(t=Symbol[e])?t:Symbol.for("Symbol."+e),ej=e=>{throw TypeError(e)},eB=(e,t,n)=>t in e?eS(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ez=(e,t)=>{for(var n in t||(t={}))eP.call(t,n)&&eB(e,n,t[n]);if(eO)for(var n of eO(t))eD.call(t,n)&&eB(e,n,t[n]);return e},eL=(e,t)=>eI(e,e_(t)),eT=(e,t)=>eS(e,"name",{value:t,configurable:!0}),eF=(e,t)=>{var n={};for(var r in e)eP.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&eO)for(var r of eO(e))0>t.indexOf(r)&&eD.call(e,r)&&(n[r]=e[r]);return n},eN=e=>{var t;return[,,,eC(null!=(t=null==e?void 0:e[eR("metadata")])?t:null)]},eQ=["class","method","getter","setter","accessor","field","value","get","set"],eZ=e=>void 0!==e&&"function"!=typeof e?ej("Function expected"):e,eV=(e,t,n,r,i)=>({kind:eQ[e],name:t,metadata:r,addInitializer:e=>n._?ej("Already initialized"):i.push(eZ(e||null))}),eU=(e,t)=>eB(t,eR("metadata"),e[3]),eH=(e,t,n,r)=>{for(var i=0,a=e[t>>1],o=a&&a.length;i<o;i++)1&t?a[i].call(n):r=a[i].call(n,r);return r},eq=(e,t,n,r,i,a)=>{var o,l,s,u,c,d=7&t,f=!!(8&t),h=!!(16&t),p=d>3?e.length+1:d?f?1:2:0,g=eQ[d+5],m=d>3&&(e[p-1]=[]),v=e[p]||(e[p]=[]),y=d&&(h||f||(i=i.prototype),d<5&&(d>3||!h)&&eM(d<4?i:{get[n](){return eG(this,a)},set[n](x){return eX(this,a,x)}},n));d?h&&d<4&&eT(a,(d>2?"set ":d>1?"get ":"")+n):eT(i,n);for(var b=r.length-1;b>=0;b--)u=eV(d,n,s={},e[3],v),d&&(u.static=f,u.private=h,c=u.access={has:h?e=>e$(i,e):e=>n in e},3^d&&(c.get=h?e=>(1^d?eG:eK)(e,i,4^d?a:y.get):e=>e[n]),d>2&&(c.set=h?(e,t)=>eX(e,i,t,4^d?a:y.set):(e,t)=>e[n]=t)),l=(0,r[b])(d?d<4?h?a:y[g]:d>4?void 0:{get:y.get,set:y.set}:i,u),s._=1,4^d||void 0===l?eZ(l)&&(d>4?m.unshift(l):d?h?a=l:y[g]=l:i=l):"object"!=typeof l||null===l?ej("Object expected"):(eZ(o=l.get)&&(y.get=o),eZ(o=l.set)&&(y.set=o),eZ(o=l.init)&&m.unshift(o));return d||eU(e,i),y&&eS(i,n,y),h?4^d?a:y:i},eW=(e,t,n)=>t.has(e)||ej("Cannot "+n),e$=(e,t)=>Object(t)!==t?ej('Cannot use the "in" operator on this value'):e.has(t),eG=(e,t,n)=>(eW(e,t,"read from private field"),n?n.call(e):t.get(e)),eY=(e,t,n)=>t.has(e)?ej("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),eX=(e,t,n,r)=>(eW(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),eK=(e,t,n)=>(eW(e,t,"access private method"),n);function eJ(e,t){return{plugin:e,options:t}}function e0(e){return t=>eJ(e,t)}function e1(e){return"function"==typeof e?{plugin:e,options:void 0}:e}a=[ex.qj];var e2=class{constructor(e,t){this.manager=e,this.options=t,eY(this,l,eH(o,8,this,!1)),eH(o,11,this),eY(this,s,new Set)}enable(){this.disabled=!1}disable(){this.disabled=!0}isDisabled(){return(0,ek.rg)(()=>this.disabled)}configure(e){this.options=e}registerEffect(e){let t=(0,ek.cE)(e.bind(this));return eG(this,s).add(t),t}destroy(){eG(this,s).forEach(e=>e())}static configure(e){return eJ(this,e)}};o=eN(null),l=new WeakMap,s=new WeakMap,eq(o,4,"disabled",a,e2,l),eU(o,e2);var e3=class extends e2{},e4=class{constructor(e){this.manager=e,this.instances=new Map,eY(this,u,[])}get values(){return Array.from(this.instances.values())}set values(e){let t=e.map(e1).reduce((e,t)=>{let n=e.find(({plugin:e})=>e===t.plugin);return n?(n.options=t.options,e):[...e,t]},[]),n=t.map(({plugin:e})=>e);for(let e of eG(this,u))if(!n.includes(e)){if(e.prototype instanceof e3)continue;this.unregister(e)}for(let{plugin:e,options:n}of t)this.register(e,n);eX(this,u,n)}get(e){return this.instances.get(e)}register(e,t){let n=this.instances.get(e);if(n)return n.options!==t&&(n.options=t),n;let r=new e(this.manager,t);return this.instances.set(e,r),r}unregister(e){let t=this.instances.get(e);t&&(t.destroy(),this.instances.delete(e))}destroy(){for(let e of this.instances.values())e.destroy();this.instances.clear()}};function e5(e,t){return e.priority===t.priority?e.type===t.type?t.value-e.value:t.type-e.type:t.priority-e.priority}u=new WeakMap;var e6=[],e8=class extends e2{constructor(e){super(e),eY(this,c),eY(this,d),this.computeCollisions=this.computeCollisions.bind(this),eX(this,d,(0,ek.td)(e6)),this.destroy=(0,ex.Sz)(()=>{let e=this.computeCollisions(),t=(0,ek.rg)(()=>this.manager.dragOperation.position.current);if(e!==e6){let e=eG(this,c);if(eX(this,c,t),e&&t.x==e.x&&t.y==e.y)return}else eX(this,c,void 0);eG(this,d).value=e},()=>{let{dragOperation:e}=this.manager;e.status.initialized&&this.forceUpdate()})}forceUpdate(e=!0){(0,ek.rg)(()=>{e?eG(this,d).value=this.computeCollisions():eX(this,c,void 0)})}computeCollisions(e,t){let{registry:n,dragOperation:r}=this.manager,{source:i,shape:a,status:o}=r;if(!o.initialized||!a)return e6;let l=[],s=[];for(let a of null!=e?e:n.droppables){if(a.disabled||i&&!a.accepts(i))continue;let e=null!=t?t:a.collisionDetector;if(!e)continue;s.push(a),a.shape;let n=(0,ek.rg)(()=>e({droppable:a,dragOperation:r}));n&&(null!=a.collisionPriority&&(n.priority=a.collisionPriority),l.push(n))}return 0===s.length?e6:(l.sort(e5),l)}get collisions(){return eG(this,d).value}};c=new WeakMap,d=new WeakMap,p=[ex.qj],h=[ex.qj],f=[ex.qj];var e9=class e{constructor(e,t){eY(this,y,eH(v,8,this)),eH(v,11,this),eY(this,b),eY(this,w,eH(v,12,this)),eH(v,15,this),eY(this,A,eH(v,16,this)),eH(v,19,this);let{effects:n,id:r,data:i={},disabled:a=!1,register:o=!0}=e,l=r;eX(this,b,(0,ek.td)(r)),this.manager=t,this.data=i,this.disabled=a,this.effects=()=>{var e;return[()=>{let{id:e,manager:t}=this;if(e!==l)return l=e,null==t||t.registry.register(this),()=>null==t?void 0:t.registry.unregister(this)},...null!=(e=null==n?void 0:n())?e:[]]},this.register=this.register.bind(this),this.unregister=this.unregister.bind(this),this.destroy=this.destroy.bind(this),t&&o&&queueMicrotask(this.register)}get id(){var t,n;let r=eG(this,b).value;return null!=(n=null==(t=e.pendingIdChanges)?void 0:t.get(this))?n:r}set id(t){var n,r;t!==(null!=(r=null==(n=e.pendingIdChanges)?void 0:n.get(this))?r:eG(this,b).peek())&&(e.pendingIdChanges||(e.pendingIdChanges=new Map,queueMicrotask(()=>eK(e,g,m).call(e))),e.pendingIdChanges.set(this,t))}register(){var e;return null==(e=this.manager)?void 0:e.registry.register(this)}unregister(){var e;null==(e=this.manager)||e.registry.unregister(this)}destroy(){var e;null==(e=this.manager)||e.registry.unregister(this)}};v=eN(null),g=new WeakSet,m=function(){let e=e9.pendingIdChanges;e9.pendingIdChanges=null,e&&(0,ek.dC)(()=>{for(let[t,n]of e)eG(t,b).value=n})},y=new WeakMap,b=new WeakMap,w=new WeakMap,A=new WeakMap,eq(v,4,"manager",p,e9,y),eq(v,4,"data",h,e9,w),eq(v,4,"disabled",f,e9,A),eY(e9,g),eU(v,e9),e9.pendingIdChanges=null;var e7=e9,te=class{constructor(){this.map=(0,ek.td)(new Map),this.cleanupFunctions=new WeakMap,this.register=(e,t)=>{let n=this.map.peek(),r=n.get(e),i=()=>this.unregister(e,t);if(r===t)return i;if(r&&r.id===e){let e=this.cleanupFunctions.get(r);null==e||e(),this.cleanupFunctions.delete(r)}let a=new Map(n);for(let[r,i]of n)if(i===t&&r!==e){a.delete(r);break}a.set(e,t),this.map.value=a;let o=(0,ex.Sz)(...t.effects());return this.cleanupFunctions.set(t,o),i},this.unregister=(e,t)=>{let n=this.map.peek();if(n.get(e)!==t)return;let r=this.cleanupFunctions.get(t);null==r||r(),this.cleanupFunctions.delete(t);let i=new Map(n);i.delete(e),this.map.value=i}}[Symbol.iterator](){return this.map.peek().values()}get value(){return this.map.value.values()}has(e){return this.map.value.has(e)}get(e){return this.map.value.get(e)}destroy(){for(let e of this){let t=this.cleanupFunctions.get(e);null==t||t(),e.destroy()}this.map.value=new Map}},tt=class extends(_=e7,M=[ex.qj],I=[ex.qj],S=[ex.qj],C=[ex.nK],E=[ex.nK],k=[ex.nK],_){constructor(e,t){var{modifiers:n,type:r,sensors:i,plugins:a,effects:o}=e,l=eF(e,["modifiers","type","sensors","plugins","effects"]);super(eL(ez({},l),{effects:()=>{var e;return[...null!=(e=null==o?void 0:o())?e:[],()=>{let{manager:e,plugins:t}=this;if(e&&t)for(let n of t){let{plugin:t}=e1(n);e.registry.plugins.register(t)}}]}}),t),eH(O,5,this),eY(this,P,eH(O,8,this)),eH(O,11,this),eY(this,D,eH(O,12,this)),eH(O,15,this),eY(this,R,eH(O,16,this,this.isDragSource?"dragging":"idle")),eH(O,19,this),this.type=r,this.sensors=i,this.modifiers=n,this.alignment=l.alignment,this.plugins=a}pluginConfig(e){if(this.plugins)for(let t of this.plugins){let n=e1(t);if(n.plugin===e)return n.options}}get isDropping(){return"dropping"===this.status&&this.isDragSource}get isDragging(){return"dragging"===this.status&&this.isDragSource}get isDragSource(){var e,t;return(null==(t=null==(e=this.manager)?void 0:e.dragOperation.source)?void 0:t.id)===this.id}};O=eN(_),P=new WeakMap,D=new WeakMap,R=new WeakMap,eq(O,4,"type",M,tt,P),eq(O,4,"modifiers",I,tt,D),eq(O,4,"status",S,tt,R),eq(O,2,"isDropping",C,tt),eq(O,2,"isDragging",E,tt),eq(O,2,"isDragSource",k,tt),eU(O,tt);var tn=class extends(N=e7,F=[ex.qj],T=[ex.qj],L=[ex.qj],z=[ex.qj],B=[ex.qj],j=[ex.nK],N){constructor(e,t){var{accept:n,collisionDetector:r,collisionPriority:i,type:a}=e;super(eF(e,["accept","collisionDetector","collisionPriority","type"]),t),eH(Q,5,this),eY(this,Z,eH(Q,8,this)),eH(Q,11,this),eY(this,V,eH(Q,12,this)),eH(Q,15,this),eY(this,U,eH(Q,16,this)),eH(Q,19,this),eY(this,H,eH(Q,20,this)),eH(Q,23,this),eY(this,q,eH(Q,24,this)),eH(Q,27,this),this.accept=n,this.collisionDetector=r,this.collisionPriority=i,this.type=a}accepts(e){let{accept:t}=this;return!t||("function"==typeof t?t(e):!!e.type&&(Array.isArray(t)?t.includes(e.type):e.type===t))}get isDropTarget(){var e,t;return(null==(t=null==(e=this.manager)?void 0:e.dragOperation.target)?void 0:t.id)===this.id}};Q=eN(N),Z=new WeakMap,V=new WeakMap,U=new WeakMap,H=new WeakMap,q=new WeakMap,eq(Q,4,"accept",F,tn,Z),eq(Q,4,"type",T,tn,V),eq(Q,4,"collisionDetector",L,tn,U),eq(Q,4,"collisionPriority",z,tn,H),eq(Q,4,"shape",B,tn,q),eq(Q,2,"isDropTarget",j,tn),eU(Q,tn);var tr=class{constructor(){this.registry=new Map}addEventListener(e,t){let{registry:n}=this,r=new Set(n.get(e));return r.add(t),n.set(e,r),()=>this.removeEventListener(e,t)}removeEventListener(e,t){let{registry:n}=this,r=new Set(n.get(e));r.delete(t),n.set(e,r)}dispatch(e,...t){let{registry:n}=this,r=n.get(e);if(r)for(let e of r)e(...t)}},ti=class extends tr{constructor(e){super(),this.manager=e}dispatch(e,t){let n=[t,this.manager];super.dispatch(e,...n)}};function ta(e,t=!0){let n=!1;return eL(ez({},e),{cancelable:t,get defaultPrevented(){return n},preventDefault(){t&&(n=!0)}})}var to=class extends e3{constructor(e){super(e);let t=(e,t)=>e.map(({id:e})=>e).join("")===t.map(({id:e})=>e).join(""),n=[];this.destroy=(0,ex.Sz)(()=>{let{dragOperation:t,collisionObserver:r}=e;t.status.initializing&&(n=[],r.enable())},()=>{let{collisionObserver:r,monitor:i}=e,{collisions:a}=r;if(r.isDisabled()||e7.pendingIdChanges)return;let o=ta({collisions:a});if(i.dispatch("collision",o),o.defaultPrevented||t(a,n))return;n=a;let[l]=a;(0,ek.rg)(()=>{var t;(null==l?void 0:l.id)!==(null==(t=e.dragOperation.target)?void 0:t.id)&&(r.disable(),e.actions.setDropTarget(null==l?void 0:l.id).then(()=>{r.enable()}))})})}},tl=((r=tl||{})[r.Lowest=0]="Lowest",r[r.Low=1]="Low",r[r.Normal=2]="Normal",r[r.High=3]="High",r[r.Highest=4]="Highest",r),ts=((i=ts||{})[i.Collision=0]="Collision",i[i.ShapeIntersection=1]="ShapeIntersection",i[i.PointerIntersection=2]="PointerIntersection",i);J=[ex.qj],K=[ex.nK],X=[ex.nK],Y=[ex.nK],G=[ex.nK],$=[ex.nK],W=[ex.nK];var tu=class{constructor(){eH(ee,5,this),eY(this,et,eH(ee,8,this,"idle")),eH(ee,11,this)}get current(){return this.value}get idle(){return"idle"===this.value}get initializing(){return"initializing"===this.value}get initialized(){let{value:e}=this;return"idle"!==e&&"initialization-pending"!==e}get dragging(){return"dragging"===this.value}get dropped(){return"dropped"===this.value}set(e){this.value=e}};ee=eN(null),et=new WeakMap,eq(ee,4,"value",J,tu,et),eq(ee,2,"current",K,tu),eq(ee,2,"idle",X,tu),eq(ee,2,"initializing",Y,tu),eq(ee,2,"initialized",G,tu),eq(ee,2,"dragging",$,tu),eq(ee,2,"dropped",W,tu),eU(ee,tu);var tc=class{constructor(e){this.manager=e}setDragSource(e){let{dragOperation:t}=this.manager;t.sourceIdentifier="string"==typeof e||"number"==typeof e?e:e.id}setDropTarget(e){return(0,ek.rg)(()=>{let{dragOperation:t}=this.manager,n=null!=e?e:null;if(t.targetIdentifier===n)return Promise.resolve(!1);t.targetIdentifier=n;let r=ta({operation:t.snapshot()});return t.status.dragging&&this.manager.monitor.dispatch("dragover",r),this.manager.renderer.rendering.then(()=>r.defaultPrevented)})}start(e){return(0,ek.rg)(()=>{let{dragOperation:t}=this.manager;if(null!=e.source&&this.setDragSource(e.source),!t.source)throw Error("Cannot start a drag operation without a drag source");if(!t.status.idle)throw Error("Cannot start a drag operation while another is active");let n=new AbortController,{event:r,coordinates:i}=e;(0,ek.dC)(()=>{t.status.set("initialization-pending"),t.shape=null,t.canceled=!1,t.activatorEvent=null!=r?r:null,t.position.reset(i)});let a=ta({operation:t.snapshot()});return(this.manager.monitor.dispatch("beforedragstart",a),a.defaultPrevented)?(t.reset(),n.abort()):(t.status.set("initializing"),t.controller=n,this.manager.renderer.rendering.then(()=>{if(n.signal.aborted)return;let{status:e}=t;"initializing"===e.current&&(0,ek.dC)(()=>{t.status.set("dragging"),this.manager.monitor.dispatch("dragstart",{nativeEvent:r,operation:t.snapshot(),cancelable:!1})})})),n})}move(e){return(0,ek.rg)(()=>{var t,n;let{dragOperation:r}=this.manager,{status:i,controller:a}=r;if(!i.dragging||!a||a.signal.aborted)return;let o=ta({nativeEvent:e.event,operation:r.snapshot(),by:e.by,to:e.to},null==(t=e.cancelable)||t);(null==(n=e.propagate)||n)&&this.manager.monitor.dispatch("dragmove",o),queueMicrotask(()=>{var t,n,i,a,l;if(o.defaultPrevented)return;let s=null!=(l=e.to)?l:{x:r.position.current.x+(null!=(n=null==(t=e.by)?void 0:t.x)?n:0),y:r.position.current.y+(null!=(a=null==(i=e.by)?void 0:i.y)?a:0)};r.position.current=s})})}stop(e={}){return(0,ek.rg)(()=>{var t,n;let r;let{dragOperation:i}=this.manager,{controller:a}=i;if(!a||a.signal.aborted)return;a.abort();let o=()=>{this.manager.renderer.rendering.then(()=>{i.status.set("dropped");let e=(0,ek.rg)(()=>{var e;return(null==(e=i.source)?void 0:e.status)==="dropping"}),t=()=>{i.controller===a&&(i.controller=void 0),i.reset()};if(e){let{source:e}=i,n=(0,ek.cE)(()=>{(null==e?void 0:e.status)==="idle"&&(n(),t())})}else this.manager.renderer.rendering.then(t)})};i.canceled=null!=(t=e.canceled)&&t,this.manager.monitor.dispatch("dragend",{nativeEvent:e.event,operation:i.snapshot(),canceled:null!=(n=e.canceled)&&n,suspend:()=>{let e={resume:()=>{},abort:()=>{}};return r=new Promise((t,n)=>{e.resume=t,e.abort=n}),e}}),r?r.then(o).catch(()=>i.reset()):o()})}},td=class extends e2{constructor(e,t){super(e,t),this.manager=e,this.options=t}},tf=class extends AbortController{constructor(e,t){for(let n of(super(),this.constraints=e,this.onActivate=t,this.activated=!1,null!=e?e:[]))n.controller=this}onEvent(e){var t;if(!this.activated){if(null==(t=this.constraints)?void 0:t.length)for(let t of this.constraints)t.onEvent(e);else this.activate(e)}}activate(e){this.activated||(this.activated=!0,this.onActivate(e))}abort(e){this.activated=!1,super.abort(e)}},th=class{constructor(e){this.options=e,eY(this,en)}set controller(e){eX(this,en,e),e.signal.addEventListener("abort",()=>this.abort())}activate(e){var t;null==(t=eG(this,en))||t.activate(e)}};en=new WeakMap;var tp=class extends e2{constructor(e,t){super(e,t),this.manager=e,this.options=t}apply(e){return e.transform}},tg=class{constructor(e){this.draggables=new te,this.droppables=new te,this.plugins=new e4(e),this.sensors=new e4(e),this.modifiers=new e4(e)}register(e,t){if(e instanceof tt)return this.draggables.register(e.id,e);if(e instanceof tn)return this.droppables.register(e.id,e);if(e.prototype instanceof tp)return this.modifiers.register(e,t);if(e.prototype instanceof td)return this.sensors.register(e,t);if(e.prototype instanceof e2)return this.plugins.register(e,t);throw Error("Invalid instance type")}unregister(e){if(e instanceof e7)return e instanceof tt?this.draggables.unregister(e.id,e):e instanceof tn?this.droppables.unregister(e.id,e):()=>{};if(e.prototype instanceof tp)return this.modifiers.unregister(e);if(e.prototype instanceof td)return this.sensors.unregister(e);if(e.prototype instanceof e2)return this.plugins.unregister(e);throw Error("Invalid instance type")}destroy(){this.draggables.destroy(),this.droppables.destroy(),this.plugins.destroy(),this.sensors.destroy(),this.modifiers.destroy()}};ed=[ex.nK],ec=[ex.qj],eu=[ex.qj],es=[ex.qj],el=[ex.qj],eo=[ex.qj],ea=[ex.nK],ei=[ex.nK],er=[ex.nK];var tm=class{constructor(e){eH(eg,5,this),eY(this,ef),eY(this,eh),eY(this,ep,new ex.Pz(void 0,(e,t)=>e&&t?e.equals(t):e===t)),this.status=new tu,eY(this,em,eH(eg,8,this,!1)),eH(eg,11,this),eY(this,ev,eH(eg,12,this,null)),eH(eg,15,this),eY(this,ey,eH(eg,16,this,null)),eH(eg,19,this),eY(this,eb,eH(eg,20,this,null)),eH(eg,23,this),eY(this,ew,eH(eg,24,this,[])),eH(eg,27,this),this.position=new eE.Ly({x:0,y:0}),eY(this,eA,{x:0,y:0}),eX(this,ef,e)}get shape(){let{current:e,initial:t,previous:n}=eG(this,ep);return e&&t?{current:e,initial:t,previous:n}:null}set shape(e){e?eG(this,ep).current=e:eG(this,ep).reset()}get source(){var e;let t=this.sourceIdentifier;if(null==t)return null;let n=eG(this,ef).registry.draggables.get(t);return n&&eX(this,eh,n),null!=(e=null!=n?n:eG(this,eh))?e:null}get target(){var e;let t=this.targetIdentifier;return null!=t&&null!=(e=eG(this,ef).registry.droppables.get(t))?e:null}get transform(){let{x:e,y:t}=this.position.delta,n={x:e,y:t};for(let e of this.modifiers)n=e.apply(eL(ez({},this.snapshot()),{transform:n}));return eX(this,eA,n),n}snapshot(){return(0,ek.rg)(()=>({source:this.source,target:this.target,activatorEvent:this.activatorEvent,transform:eG(this,eA),shape:this.shape?(0,ex.CO)(this.shape):null,position:(0,ex.CO)(this.position),status:(0,ex.CO)(this.status),canceled:this.canceled}))}reset(){(0,ek.dC)(()=>{this.status.set("idle"),this.sourceIdentifier=null,this.targetIdentifier=null,eG(this,ep).reset(),this.position.reset({x:0,y:0}),eX(this,eA,{x:0,y:0}),this.modifiers=[]})}};eg=eN(null),ef=new WeakMap,eh=new WeakMap,ep=new WeakMap,em=new WeakMap,ev=new WeakMap,ey=new WeakMap,eb=new WeakMap,ew=new WeakMap,eA=new WeakMap,eq(eg,2,"shape",ed,tm),eq(eg,4,"canceled",ec,tm,em),eq(eg,4,"activatorEvent",eu,tm,ev),eq(eg,4,"sourceIdentifier",es,tm,ey),eq(eg,4,"targetIdentifier",el,tm,eb),eq(eg,4,"modifiers",eo,tm,ew),eq(eg,2,"source",ea,tm),eq(eg,2,"target",ei,tm),eq(eg,2,"transform",er,tm),eU(eg,tm);var tv={get rendering(){return Promise.resolve()}};function ty(e,t){return"function"==typeof e?e(t):null!=e?e:t}var tb=class{constructor(e){var t;this.destroy=()=>{this.dragOperation.status.idle||this.actions.stop({canceled:!0}),this.dragOperation.modifiers.forEach(e=>e.destroy()),this.registry.destroy(),this.collisionObserver.destroy()};let n=null!=e?e:{},r=ty(n.plugins,[]),i=ty(n.sensors,[]),a=ty(n.modifiers,[]),o=null!=(t=n.renderer)?t:tv,l=new ti(this),s=new tg(this);this.registry=s,this.monitor=l,this.renderer=o,this.actions=new tc(this),this.dragOperation=new tm(this),this.collisionObserver=new e8(this),this.plugins=[to,...r],this.modifiers=a,this.sensors=i;let{destroy:u}=this,c=(0,ex.Sz)(()=>{var e,t,n;let r=(0,ek.rg)(()=>this.dragOperation.modifiers),i=this.modifiers;for(let e of r)i.includes(e)||e.destroy();this.dragOperation.modifiers=null!=(n=null==(t=null==(e=this.dragOperation.source)?void 0:e.modifiers)?void 0:t.map(e=>{let{plugin:t,options:n}=e1(e);return new t(this,n)}))?n:i});this.destroy=()=>{c(),u()}}get plugins(){return this.registry.plugins.values}set plugins(e){this.registry.plugins.values=e}get modifiers(){return this.registry.modifiers.values}set modifiers(e){this.registry.modifiers.values=e}get sensors(){return this.registry.sensors.values}set sensors(e){this.registry.sensors.values=e}}},90800:function(e,t,n){"use strict";n.d(t,{ey:function(){return s},vE:function(){return l}});var r=n(80452),i=n(34195),a=({dragOperation:e,droppable:t})=>{let n=e.position.current;if(!n)return null;let{id:a}=t;return t.shape&&t.shape.containsPoint(n)?{id:a,value:1/i.E9.distance(t.shape.center,n),type:r.v2.PointerIntersection,priority:r.l3.High}:null},o=({dragOperation:e,droppable:t})=>{let{shape:n}=e;if(!t.shape||!(null==n?void 0:n.current))return null;let a=n.current.intersectionArea(t.shape);if(a){let{position:o}=e,l=i.E9.distance(t.shape.center,o.current),s=a/(n.current.area+t.shape.area-a);return{id:t.id,value:s/l,type:r.v2.ShapeIntersection,priority:r.l3.Normal}}return null},l=e=>{var t;return null!=(t=a(e))?t:o(e)},s=e=>{let{dragOperation:t,droppable:n}=e,{shape:a,position:o}=t;if(!n.shape)return null;let l=a?i.Ae.from(a.current.boundingRectangle).corners:void 0,s=i.Ae.from(n.shape.boundingRectangle).corners.reduce((e,t,n)=>{var r;return e+i.E9.distance(i.E9.from(t),null!=(r=null==l?void 0:l[n])?r:o.current)},0);return{id:n.id,value:1/(s/4),type:r.v2.Collision,priority:r.l3.Normal}}},81569:function(e,t,n){"use strict";n.d(t,{Ae:function(){return tA},RQ:function(){return tw},Tt:function(){return tt},_l:function(){return tx},bK:function(){return tk},x2:function(){return e5}});var r,i,a,o,l,s,u,c,d,f,h,p,g,m,v,y,b,w,A,k,E,C,S,I,M,_,O,P,D,R,j,B,z,L,T,F,N,Q,Z,V,U,H,q,W,$,G,Y,X,K,J,ee,et,en,er,ei,ea=n(80452),eo=n(47432),el=n(22785),es=n(86923),eu=n(34195),ec=n(90800),ed=Object.create,ef=Object.defineProperty,eh=Object.defineProperties,ep=Object.getOwnPropertyDescriptor,eg=Object.getOwnPropertyDescriptors,em=Object.getOwnPropertySymbols,ev=Object.prototype.hasOwnProperty,ey=Object.prototype.propertyIsEnumerable,eb=(e,t)=>(t=Symbol[e])?t:Symbol.for("Symbol."+e),ew=e=>{throw TypeError(e)},eA=(e,t,n)=>t in e?ef(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ex=(e,t)=>{for(var n in t||(t={}))ev.call(t,n)&&eA(e,n,t[n]);if(em)for(var n of em(t))ey.call(t,n)&&eA(e,n,t[n]);return e},ek=(e,t)=>eh(e,eg(t)),eE=(e,t)=>ef(e,"name",{value:t,configurable:!0}),eC=(e,t)=>{var n={};for(var r in e)ev.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&em)for(var r of em(e))0>t.indexOf(r)&&ey.call(e,r)&&(n[r]=e[r]);return n},eS=e=>{var t;return[,,,ed(null!=(t=null==e?void 0:e[eb("metadata")])?t:null)]},eI=["class","method","getter","setter","accessor","field","value","get","set"],eM=e=>void 0!==e&&"function"!=typeof e?ew("Function expected"):e,e_=(e,t,n,r,i)=>({kind:eI[e],name:t,metadata:r,addInitializer:e=>n._?ew("Already initialized"):i.push(eM(e||null))}),eO=(e,t)=>eA(t,eb("metadata"),e[3]),eP=(e,t,n,r)=>{for(var i=0,a=e[t>>1],o=a&&a.length;i<o;i++)1&t?a[i].call(n):r=a[i].call(n,r);return r},eD=(e,t,n,r,i,a)=>{var o,l,s,u,c,d=7&t,f=!!(8&t),h=!!(16&t),p=d>3?e.length+1:d?f?1:2:0,g=eI[d+5],m=d>3&&(e[p-1]=[]),v=e[p]||(e[p]=[]),y=d&&(h||f||(i=i.prototype),d<5&&(d>3||!h)&&ep(d<4?i:{get[n](){return eB(this,a)},set[n](x){return eL(this,a,x)}},n));d?h&&d<4&&eE(a,(d>2?"set ":d>1?"get ":"")+n):eE(i,n);for(var b=r.length-1;b>=0;b--)u=e_(d,n,s={},e[3],v),d&&(u.static=f,u.private=h,c=u.access={has:h?e=>ej(i,e):e=>n in e},3^d&&(c.get=h?e=>(1^d?eB:eT)(e,i,4^d?a:y.get):e=>e[n]),d>2&&(c.set=h?(e,t)=>eL(e,i,t,4^d?a:y.set):(e,t)=>e[n]=t)),l=(0,r[b])(d?d<4?h?a:y[g]:d>4?void 0:{get:y.get,set:y.set}:i,u),s._=1,4^d||void 0===l?eM(l)&&(d>4?m.unshift(l):d?h?a=l:y[g]=l:i=l):"object"!=typeof l||null===l?ew("Object expected"):(eM(o=l.get)&&(y.get=o),eM(o=l.set)&&(y.set=o),eM(o=l.init)&&m.unshift(o));return d||eO(e,i),y&&ef(i,n,y),h?4^d?a:y:i},eR=(e,t,n)=>t.has(e)||ew("Cannot "+n),ej=(e,t)=>Object(t)!==t?ew('Cannot use the "in" operator on this value'):e.has(t),eB=(e,t,n)=>(eR(e,t,"read from private field"),n?n.call(e):t.get(e)),ez=(e,t,n)=>t.has(e)?ew("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),eL=(e,t,n,r)=>(eR(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),eT=(e,t,n)=>(eR(e,t,"access private method"),n),eF={role:"button",roleDescription:"draggable"},eN={draggable:"To pick up a draggable item, press the space bar. While dragging, use the arrow keys to move the item in a given direction. Press space again to drop the item in its new position, or press escape to cancel."},eQ={dragstart({operation:{source:e}}){if(e)return`Picked up draggable item ${e.id}.`},dragover({operation:{source:e,target:t}}){if(e&&e.id!==(null==t?void 0:t.id))return t?`Draggable item ${e.id} was moved over droppable target ${t.id}.`:`Draggable item ${e.id} is no longer over a droppable target.`},dragend({operation:{source:e,target:t},canceled:n}){if(e)return n?`Dragging was cancelled. Draggable item ${e.id} was dropped.`:t?`Draggable item ${e.id} was dropped over droppable target ${t.id}`:`Draggable item ${e.id} was dropped.`}},eZ=["dragover","dragmove"],eV=class extends ea.Sy{constructor(e,t){let n,r,i,a;super(e);let{id:o,idPrefix:{description:l="dnd-kit-description",announcement:s="dnd-kit-announcement"}={},announcements:u=eQ,screenReaderInstructions:c=eN,debounce:d=500}=null!=t?t:{},f=o?`${l}-${o}`:(0,eo.lY)(l),h=o?`${s}-${o}`:(0,eo.lY)(s),p=(e=a)=>{i&&e&&(null==i?void 0:i.nodeValue)!==e&&(i.nodeValue=e)},g=()=>eo.pu.schedule(p),m=function(e,t){let n;let r=()=>{clearTimeout(n),n=setTimeout(e,t)};return r.cancel=()=>clearTimeout(n),r}(g,d),v=Object.entries(u).map(([e,t])=>this.manager.monitor.addEventListener(e,(n,r)=>{let o=i;if(!o)return;let l=null==t?void 0:t(n,r);l&&o.nodeValue!==l&&(a=l,eZ.includes(e)?m():(g(),m.cancel()))})),y=()=>{let e=[];(null==n?void 0:n.isConnected)||(n=function(e,t){let n=document.createElement("div");return n.id=e,n.style.setProperty("display","none"),n.textContent=t,n}(f,c.draggable),e.push(n)),(null==r?void 0:r.isConnected)||(r=function(e){let t=document.createElement("div");return t.id=e,t.setAttribute("role","status"),t.setAttribute("aria-live","polite"),t.setAttribute("aria-atomic","true"),t.style.setProperty("position","fixed"),t.style.setProperty("width","1px"),t.style.setProperty("height","1px"),t.style.setProperty("margin","-1px"),t.style.setProperty("border","0"),t.style.setProperty("padding","0"),t.style.setProperty("overflow","hidden"),t.style.setProperty("clip","rect(0 0 0 0)"),t.style.setProperty("clip-path","inset(100%)"),t.style.setProperty("white-space","nowrap"),t}(h),i=document.createTextNode(""),r.appendChild(i),e.push(r)),e.length>0&&document.body.append(...e)},b=new Set;function w(){for(let e of b)e()}this.registerEffect(()=>{var e;for(let t of(b.clear(),this.manager.registry.draggables.value)){let i=null!=(e=t.handle)?e:t.element;if(i){for(let e of(n&&r||b.add(y),(!["input","select","textarea","a","button"].includes(i.tagName.toLowerCase())||(0,eo.G6)())&&!i.hasAttribute("tabindex")&&b.add(()=>i.setAttribute("tabindex","0")),i.hasAttribute("role")||"button"===i.tagName.toLowerCase()||b.add(()=>i.setAttribute("role",eF.role)),i.hasAttribute("aria-roledescription")||b.add(()=>i.setAttribute("aria-roledescription",eF.roleDescription)),i.hasAttribute("aria-describedby")||b.add(()=>i.setAttribute("aria-describedby",f)),["aria-pressed","aria-grabbed"])){let n=String(t.isDragging);i.getAttribute(e)!==n&&b.add(()=>i.setAttribute(e,n))}let e=String(t.disabled);i.getAttribute("aria-disabled")!==e&&b.add(()=>i.setAttribute("aria-disabled",e))}}b.size>0&&eo.pu.schedule(w)}),this.destroy=()=>{super.destroy(),null==n||n.remove(),null==r||r.remove(),v.forEach(e=>e())}}},eU=new Map,eH=class extends(l=ea.kX,o=[el.qj],a=[el.nK],i=[el.nK],r=[el.nK],l){constructor(e,t){super(e,t),eP(u,5,this),ez(this,d),ez(this,s,new Set),ez(this,c,eP(u,8,this,new Set)),eP(u,11,this),this.registerEffect(eT(this,d,f))}register(e){return eB(this,s).add(e),()=>{eB(this,s).delete(e)}}addRoot(e){return(0,es.rg)(()=>{let t=new Set(this.additionalRoots);t.add(e),this.additionalRoots=t}),()=>{(0,es.rg)(()=>{let t=new Set(this.additionalRoots);t.delete(e),this.additionalRoots=t})}}get sourceRoot(){var e;let{source:t}=this.manager.dragOperation;return(0,eo.yj)(null!=(e=null==t?void 0:t.element)?e:null)}get targetRoot(){var e;let{target:t}=this.manager.dragOperation;return(0,eo.yj)(null!=(e=null==t?void 0:t.element)?e:null)}get roots(){let{status:e}=this.manager.dragOperation;return e.initializing||e.initialized?new Set([...[this.sourceRoot,this.targetRoot].filter(e=>null!=e),...this.additionalRoots]):new Set}};u=eS(l),s=new WeakMap,c=new WeakMap,d=new WeakSet,f=function(){let{roots:e}=this,t=[];for(let n of e)for(let e of eB(this,s))t.push(eT(this,d,h).call(this,n,e));return()=>{for(let e of t)e()}},h=function(e,t){let n=eU.get(e);n||(n=new Map,eU.set(e,n));let r=n.get(t);if(!r){let i=(0,eo.qk)(e)?eT(this,d,p).call(this,e,n,t):eT(this,d,g).call(this,e,n,t);if(!i)return()=>{};r=i,n.set(t,r)}r.refCount++;let i=!1;return()=>{i||(i=!0,r.refCount--,0===r.refCount&&r.cleanup())}},p=function(e,t,n){var r;let i=e.createElement("style"),{nonce:a}=null!=(r=this.options)?r:{};a&&i.setAttribute("nonce",a),i.textContent=n,e.head.prepend(i);let o=new MutationObserver(t=>{for(let n of t)for(let t of Array.from(n.removedNodes))if(t===i){e.head.prepend(i);return}});return o.observe(e.head,{childList:!0}),{refCount:0,cleanup:()=>{o.disconnect(),i.remove(),t.delete(n),0===t.size&&eU.delete(e)}}},g=function(e,t,n){"adoptedStyleSheets"in e&&Array.isArray(e.adoptedStyleSheets);let r=e.ownerDocument.defaultView,{CSSStyleSheet:i}=null!=r?r:{};if(!i)return null;let a=new i;return a.replaceSync(n),e.adoptedStyleSheets.push(a),{refCount:0,cleanup:()=>{var r;if((0,eo.Zq)(e)&&(null==(r=e.host)?void 0:r.isConnected)){let t=e.adoptedStyleSheets.indexOf(a);-1!==t&&e.adoptedStyleSheets.splice(t,1)}t.delete(n),0===t.size&&eU.delete(e)}}},eD(u,4,"additionalRoots",o,eH,c),eD(u,2,"sourceRoot",a,eH),eD(u,2,"targetRoot",i,eH),eD(u,2,"roots",r,eH),eO(u,eH),eH.configure=(0,ea.gB)(eH);var eq=class extends ea.Sy{constructor(e,t){super(e,t),this.manager=e;let{cursor:n="grabbing"}=null!=t?t:{},r=e.registry.plugins.get(eH),i=null==r?void 0:r.register(`* { cursor: ${n} !important; }`);if(i){let e=this.destroy.bind(this);this.destroy=()=>{i(),e()}}}},eW="data-dnd-",e$=`${eW}dropping`,eG="--dnd-",eY=`${eW}dragging`,eX=`${eW}placeholder`,eK=[eY,eX,"popover","aria-pressed","aria-grabbing"],eJ=["view-transition-name"],e0=`
|
|
2
|
+
:is(:root,:host) [${eY}] {
|
|
3
|
+
position: fixed !important;
|
|
4
|
+
pointer-events: none !important;
|
|
5
|
+
touch-action: none;
|
|
6
|
+
z-index: calc(infinity);
|
|
7
|
+
will-change: translate;
|
|
8
|
+
top: var(${eG}top, 0px) !important;
|
|
9
|
+
left: var(${eG}left, 0px) !important;
|
|
10
|
+
right: unset !important;
|
|
11
|
+
bottom: unset !important;
|
|
12
|
+
width: var(${eG}width, auto);
|
|
13
|
+
max-width: var(${eG}width, auto);
|
|
14
|
+
height: var(${eG}height, auto);
|
|
15
|
+
max-height: var(${eG}height, auto);
|
|
16
|
+
transform: var(${eG}transform, none) !important;
|
|
17
|
+
transition: var(${eG}transition) !important;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
:is(:root,:host) [${eX}] {
|
|
21
|
+
transition: none;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
:is(:root,:host) [${eX}='hidden'] {
|
|
25
|
+
visibility: hidden;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
[${eY}] * {
|
|
29
|
+
pointer-events: none !important;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
[${eY}]:not([${e$}]) {
|
|
33
|
+
translate: var(${eG}translate) !important;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
[${eY}][style*='${eG}scale'] {
|
|
37
|
+
scale: var(${eG}scale) !important;
|
|
38
|
+
transform-origin: var(${eG}transform-origin) !important;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
@layer dnd-kit {
|
|
42
|
+
:where([${eY}][popover]) {
|
|
43
|
+
overflow: visible;
|
|
44
|
+
background: unset;
|
|
45
|
+
border: unset;
|
|
46
|
+
margin: unset;
|
|
47
|
+
padding: unset;
|
|
48
|
+
color: inherit;
|
|
49
|
+
|
|
50
|
+
&:is(input, button) {
|
|
51
|
+
border: revert;
|
|
52
|
+
background: revert;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
[${eY}]::backdrop, [${eW}overlay]:not([${eY}]) {
|
|
57
|
+
display: none;
|
|
58
|
+
visibility: hidden;
|
|
59
|
+
}
|
|
60
|
+
`.replace(/\n+/g," ").replace(/\s+/g," ").trim();function e1(e,t){return e===t||(0,eo.wK)(e)===(0,eo.wK)(t)}function e2(e){let{target:t}=e;"newState"in e&&"closed"===e.newState&&(0,eo.kK)(t)&&t.hasAttribute("popover")&&requestAnimationFrame(()=>(0,eo.i1)(t))}function e3(e){return"TR"===e.tagName}var e4=class extends(v=ea.Sy,m=[el.qj],v){constructor(e,t){super(e,t),ez(this,w),ez(this,b,eP(y,8,this)),eP(y,11,this),this.state={initial:{},current:{}};let n=e.registry.plugins.get(eH),r=null==n?void 0:n.register(e0);if(r){let e=this.destroy.bind(this);this.destroy=()=>{r(),e()}}this.registerEffect(eT(this,w,A).bind(this,n)),this.registerEffect(eT(this,w,k))}};y=eS(v),b=new WeakMap,w=new WeakSet,A=function(e){let{overlay:t}=this;if(!t||!e)return;let n=(0,eo.yj)(t);if(n)return e.addRoot(n)},k=function(){var e,t,n,r,i,a,o,l;let s,u,c;let{state:d,manager:f,options:h}=this,{dragOperation:p}=f,{position:g,source:m,status:v}=p;if(v.idle){d.current={},d.initial={};return}if(!m)return;let{element:y}=m,b=m.pluginConfig(e4),w=null!=(t=null!=(e=null==b?void 0:b.feedback)?e:null==h?void 0:h.feedback)?t:"default",A="function"==typeof w?w(m,f):w;if(!y||"none"===A||!v.initialized||v.initializing)return;let{initial:k}=d,E=null!=(n=this.overlay)?n:y,C=(0,eo.TA)(E),S=(0,eo.TA)(y),I=!e1(y,E),M=new eo.IM(y,{frameTransform:I?S:null,ignoreTransforms:!I}),_={x:S.scaleX/C.scaleX,y:S.scaleY/C.scaleY},{width:O,height:P,top:D,left:R}=M;I&&(O/=_.x,P/=_.y);let j=new eo.z0(E),B=(0,eo.AH)(y),{transition:z,translate:L,boxSizing:T,paddingBlockStart:F,paddingBlockEnd:N,paddingInlineStart:Q,paddingInlineEnd:Z,borderInlineStartWidth:V,borderInlineEndWidth:U,borderBlockStartWidth:H,borderBlockEndWidth:q}=B,W=z.split(",").filter(e=>!/^\s*(transform|translate|scale)\b/.test(e)).join(","),$=(0,eo.G$)(B),G=B.transform,Y="clone"===A,X="content-box"===T,K=X?parseInt(Q)+parseInt(Z)+parseInt(V)+parseInt(U):0,J=X?parseInt(F)+parseInt(N)+parseInt(H)+parseInt(q):0,ee="move"===A||this.overlay?null:function(e,t="hidden"){return(0,es.rg)(()=>{let{element:n,manager:r}=e;if(!n||!r)return;let i=function(e,t){let n=new Map;for(let r of t)if(r.element&&(e===r.element||e.contains(r.element))){let e=`${eW}${(0,eo.lY)("dom-id")}`;r.element.setAttribute(e,""),n.set(r,e)}return n}(n,r.registry.droppables),a=[],o=(0,eo.Tm)(n),{remove:l}=o;return function(e,t,n){for(let[r,i]of e){if(!r.element)continue;let e=`[${i}]`,a=t.matches(e)?t:t.querySelector(e);if(r.element.removeAttribute(i),!a)continue;let o=r.element;r.proxy=a,a.removeAttribute(i),eo.$U.set(o,a),n.push(()=>{eo.$U.delete(o),r.proxy=void 0})}}(i,o,a),function(e,t="hidden"){e.setAttribute("inert","true"),e.setAttribute("tab-index","-1"),e.setAttribute("aria-hidden","true"),e.setAttribute(eX,t)}(o,t),o.remove=()=>{a.forEach(e=>e()),l.call(o)},o})}(m,Y?"clone":"hidden"),et=(0,es.rg)(()=>(0,eo.vd)(f.dragOperation.activatorEvent));if(!k.translate){if(this.overlay&&$)k.translate={x:$.x,y:$.y};else if("none"!==L){let e=(0,eo.XT)(L);e&&(k.translate=e)}}if(!k.transformOrigin){let e=(0,es.rg)(()=>g.current),t=R+(null!=(r=null==$?void 0:$.x)?r:0),n=D+(null!=(i=null==$?void 0:$.y)?i:0);k.transformOrigin={x:(e.x-t*C.scaleX-C.x)/(O*C.scaleX),y:(e.y-n*C.scaleY-C.y)/(P*C.scaleY)}}let{transformOrigin:en}=k,er=D*C.scaleY+C.y,ei=R*C.scaleX+C.x;if(!k.coordinates&&(k.coordinates={x:ei,y:er},1!==_.x||1!==_.y)){let{scaleX:e,scaleY:t}=S,{x:n,y:r}=en;k.coordinates.x+=(O*e-O)*n,k.coordinates.y+=(P*t-P)*r}k.dimensions||(k.dimensions={width:O,height:P}),k.frameTransform||(k.frameTransform=C);let ea={x:k.coordinates.x-ei,y:k.coordinates.y-er},ec={width:(k.dimensions.width*k.frameTransform.scaleX-O*C.scaleX)*en.x,height:(k.dimensions.height*k.frameTransform.scaleY-P*C.scaleY)*en.y},ed={x:ea.x/C.scaleX+ec.width,y:ea.y/C.scaleY+ec.height},ef={left:R+ed.x,top:D+ed.y};E.setAttribute(eY,"true");let eh=(0,es.rg)(()=>p.transform),ep=null!=(a=k.translate)?a:{x:0,y:0},eg=eh.x*C.scaleX+ep.x,em=eh.y*C.scaleY+ep.y,ev=(0,eo._h)();j.set({width:O-K,height:P-J,top:ef.top+ev.y,left:ef.left+ev.x,translate:`${eg}px ${em}px 0`,transform:this.overlay?"none":G,transition:W?`${W}, translate 0ms linear`:"translate 0ms linear",scale:I?`${_.x} ${_.y}`:"","transform-origin":`${100*en.x}% ${100*en.y}%`},eG),ee&&(y.insertAdjacentElement("afterend",ee),(null==h?void 0:h.rootElement)&&("function"==typeof h.rootElement?h.rootElement(m):h.rootElement).appendChild(y)),(0,eo.NT)(E)&&(E.hasAttribute("popover")||E.setAttribute("popover","manual"),(0,eo.i1)(E),E.addEventListener("beforetoggle",e2));let ey=(l={placeholder:ee,element:y,feedbackElement:E,frameTransform:C,transformOrigin:en,width:O,height:P,top:D,left:R,widthOffset:K,heightOffset:J,delta:ed,styles:j,dragOperation:p,getTranslate:()=>d.current.translate,getElementMutationObserver:()=>s,getSavedCellWidths:()=>c,setSavedCellWidths:e=>{c=e}},new ResizeObserver(()=>{var e,t,n;let r=new eo.IM(l.placeholder,{frameTransform:l.frameTransform,ignoreTransforms:!0}),i=null!=(e=l.transformOrigin)?e:{x:1,y:1},a=(l.width-r.width)*i.x+l.delta.x,o=(l.height-r.height)*i.y+l.delta.y,s=(0,eo._h)();if(l.styles.set({width:r.width-l.widthOffset,height:r.height-l.heightOffset,top:l.top+o+s.y,left:l.left+a+s.x},eG),null==(t=l.getElementMutationObserver())||t.takeRecords(),e3(l.element)&&e3(l.placeholder)){let e=Array.from(l.element.cells),t=Array.from(l.placeholder.cells);for(let[n,r]of(l.getSavedCellWidths()||l.setSavedCellWidths(e.map(e=>e.style.width)),e.entries())){let e=t[n];r.style.width=`${e.getBoundingClientRect().width}px`}}let u=null!=(n=l.getTranslate())?n:{x:0,y:0},c=l.left+a+s.x+u.x,d=l.top+o+s.y+u.y,f=r.width-l.widthOffset,h=r.height-l.heightOffset,p=l.frameTransform;l.dragOperation.shape=new eu.Ae(c*p.scaleX+p.x,d*p.scaleY+p.y,f*p.scaleX,h*p.scaleY)})),eb=new eo.IM(E);(0,es.rg)(()=>p.shape=eb);let ew=(0,eo.Jj)(E),eA=e=>{this.manager.actions.stop({event:e})},eE=(0,eo.nk)(ew);et&&ew.addEventListener("resize",eA),"idle"===(0,es.rg)(()=>m.status)&&requestAnimationFrame(()=>m.status="dragging"),ee&&(ey.observe(ee),s=function(e,t,n){let r=new MutationObserver(r=>{let i=!1;for(let n of r){if(n.target!==e){i=!0;continue}if("attributes"!==n.type)continue;let r=n.attributeName;if(r.startsWith("aria-")||eK.includes(r))continue;let a=e.getAttribute(r);if("style"===r){if((0,eo.qZ)(e)&&(0,eo.qZ)(t)){let n=e.style;for(let e of Array.from(t.style))""===n.getPropertyValue(e)&&t.style.removeProperty(e);for(let e of Array.from(n)){if(eJ.includes(e)||e.startsWith(eG))continue;let r=n.getPropertyValue(e);t.style.setProperty(e,r)}}}else null!==a?t.setAttribute(r,a):t.removeAttribute(r)}i&&n&&t.replaceChildren(...e.cloneNode(!0).childNodes)});return r.observe(e,{attributes:!0,subtree:!0,childList:!0}),r}(y,ee,Y),u=function(e,t,n){let r=new MutationObserver(r=>{for(let i of r)if(0!==i.addedNodes.length)for(let r of Array.from(i.addedNodes)){if(r.contains(e)&&e.nextElementSibling!==t){e.insertAdjacentElement("afterend",t),(0,eo.i1)(n);return}if(r.contains(t)&&t.previousElementSibling!==e){t.insertAdjacentElement("beforebegin",e),(0,eo.i1)(n);return}}e.isConnected&&t.isConnected&&e.nextElementSibling!==t&&(e.insertAdjacentElement("afterend",t),(0,eo.i1)(n))});return r.observe(e.ownerDocument.body,{childList:!0,subtree:!0}),r}(y,ee,E));let eC=null==(o=f.dragOperation.source)?void 0:o.id,eS=()=>{var e;if(!et||null==eC)return;let t=f.registry.draggables.get(eC),n=null!=(e=null==t?void 0:t.handle)?e:null==t?void 0:t.element;(0,eo.Re)(n)&&n.focus()},eI=()=>{var e;if(null==s||s.disconnect(),null==u||u.disconnect(),ey.disconnect(),ew.removeEventListener("resize",eA),(0,eo.NT)(E)&&(E.removeEventListener("beforetoggle",e2),E.removeAttribute("popover")),E.removeAttribute(eY),j.reset(),c&&e3(y))for(let[t,n]of Array.from(y.cells).entries())n.style.width=null!=(e=c[t])?e:"";m.status="idle";let t=null!=d.current.translate,n=p.status.dragging;ee&&(!n&&t||ee.parentElement!==E.parentElement)&&E.isConnected&&ee.replaceWith(E),null==ee||ee.remove()},eM=null==h?void 0:h.dropAnimation,e_=this,eO=(0,el.Sz)(()=>{var e,t,n;let{transform:r,status:i}=p;if((r.x||r.y||d.current.translate)&&i.dragging){let i=null!=(e=k.translate)?e:{x:0,y:0},a={x:r.x/C.scaleX+i.x,y:r.y/C.scaleY+i.y},o=d.current.translate,l=(0,es.rg)(()=>p.modifiers),u=(0,es.rg)(()=>{var e;return null==(e=p.shape)?void 0:e.current}),c=null==h?void 0:h.keyboardTransition,f=et&&!eE&&null!==c?`${null!=(t=null==c?void 0:c.duration)?t:250}ms ${null!=(n=null==c?void 0:c.easing)?n:"cubic-bezier(0.25, 1, 0.5, 1)"}`:"0ms linear";if(j.set({transition:W?`${W}, translate ${f}`:`translate ${f}`,translate:`${a.x}px ${a.y}px 0`},eG),null==s||s.takeRecords(),u&&u!==eb&&o&&!l.length){let e=eu.E9.delta(a,o);p.shape=eu.Ae.from(u.boundingRectangle).translate(e.x*C.scaleX,e.y*C.scaleY)}else p.shape=new eo.IM(E);d.current.translate=a}},function(){if(p.status.dropped){this.dispose(),m.status="dropping";let e=(null==b?void 0:b.dropAnimation)!==void 0?b.dropAnimation:void 0!==e_.dropAnimation?e_.dropAnimation:eM,t=d.current.translate,n=null!=t;if(t||y===E||(t={x:0,y:0}),!t||null===e){eI();return}f.renderer.rendering.then(()=>{!function(e){var t,n,r,i;let{animation:a}=e;if("function"==typeof a){Promise.resolve(a({source:e.source,element:e.element,feedbackElement:e.feedbackElement,placeholder:e.placeholder,translate:e.translate,moved:e.moved})).then(()=>{e.cleanup(),requestAnimationFrame(e.restoreFocus)});return}let{duration:o=250,easing:l="ease"}=null!=a?a:{};(0,eo.i1)(e.feedbackElement);let[,s]=null!=(t=(0,eo.$j)(e.feedbackElement,e=>"translate"in e))?t:[];null==s||s.pause();let u=null!=(n=e.placeholder)?n:e.element,c={frameTransform:e1(e.feedbackElement,u)?null:void 0},d=new eo.IM(e.feedbackElement,c),f=null!=(r=(0,eo.XT)((0,eo.AH)(e.feedbackElement).translate))?r:e.translate,h=new eo.IM(u,c),p=eu.Ae.delta(d,h,e.alignment),g={x:f.x-p.x,y:f.y-p.y},m=Math.round(d.intrinsicHeight)!==Math.round(h.intrinsicHeight)?{minHeight:[`${d.intrinsicHeight}px`,`${h.intrinsicHeight}px`],maxHeight:[`${d.intrinsicHeight}px`,`${h.intrinsicHeight}px`]}:{},v=Math.round(d.intrinsicWidth)!==Math.round(h.intrinsicWidth)?{minWidth:[`${d.intrinsicWidth}px`,`${h.intrinsicWidth}px`],maxWidth:[`${d.intrinsicWidth}px`,`${h.intrinsicWidth}px`]}:{};e.styles.set({transition:e.transition},eG),e.feedbackElement.setAttribute(e$,""),null==(i=e.getElementMutationObserver())||i.takeRecords(),(0,eo.DE)({element:e.feedbackElement,keyframes:ek(ex(ex({},m),v),{translate:[`${f.x}px ${f.y}px 0`,`${g.x}px ${g.y}px 0`]}),options:{duration:(0,eo.nk)((0,eo.Jj)(e.feedbackElement))?0:e.moved||e.feedbackElement!==e.element?o:0,easing:l}}).then(()=>{e.feedbackElement.removeAttribute(e$),null==s||s.finish(),e.cleanup(),requestAnimationFrame(e.restoreFocus)})}({source:m,element:y,feedbackElement:E,placeholder:ee,translate:t,moved:n,transition:z,alignment:m.alignment,styles:j,animation:null!=e?e:void 0,getElementMutationObserver:()=>s,cleanup:eI,restoreFocus:eS})})}});return()=>{eI(),eO()}},eD(y,4,"overlay",m,e4,b),eO(y,e4),e4.configure=(0,ea.gB)(e4);var e5=e4;S=[el.qj],I=eo.Ie.Forward,E=[el.qj],C=eo.Ie.Reverse;var e6=class{constructor(){ez(this,_,eP(M,8,this,!0)),eP(M,11,this),ez(this,O,eP(M,12,this,!0)),eP(M,15,this)}isLocked(e){return e!==eo.Ie.Idle&&(null==e?!0===this[eo.Ie.Forward]&&!0===this[eo.Ie.Reverse]:!0===this[e])}unlock(e){e!==eo.Ie.Idle&&(this[e]=!1)}};M=eS(null),_=new WeakMap,O=new WeakMap,eD(M,4,I,S,e6,_),eD(M,4,C,E,e6,O),eO(M,e6);var e8=[eo.Ie.Forward,eo.Ie.Reverse],e9=class{constructor(){this.x=new e6,this.y=new e6}isLocked(){return this.x.isLocked()&&this.y.isLocked()}},e7=class extends ea.Sy{constructor(e){super(e);let t=(0,es.td)(new e9),n=null;this.signal=t,(0,es.cE)(()=>{let{status:r}=e.dragOperation;if(!r.initialized){n=null,t.value=new e9;return}let{delta:i}=e.dragOperation.position;if(n){let e={x:te(i.x,n.x),y:te(i.y,n.y)},r=t.peek();(0,es.dC)(()=>{for(let t of eu.dk)for(let n of e8)e[t]===n&&r[t].unlock(n);t.value=r})}n=i})}get current(){return this.signal.peek()}};function te(e,t){return Math.sign(e-t)}var tt=class extends(D=ea.kX,P=[el.qj],D){constructor(e){super(e),ez(this,j,eP(R,8,this,!1)),eP(R,11,this),ez(this,B),ez(this,z,()=>{if(!eB(this,B))return;let{element:e,by:t}=eB(this,B);t.y&&(e.scrollTop+=t.y),t.x&&(e.scrollLeft+=t.x)}),this.scroll=(e,t)=>{var n;if(this.disabled)return!1;let r=this.getScrollableElements();if(!r)return eL(this,B,void 0),!1;let{position:i}=this.manager.dragOperation,a=null==i?void 0:i.current;if(a){let{by:i}=null!=e?e:{},o=i?{x:tn(i.x),y:tn(i.y)}:void 0,l=o?void 0:this.scrollIntentTracker.current;if(null==l?void 0:l.isLocked())return!1;for(let e of r){let r=(0,eo.eE)(e,i);if(r.x||r.y){let{speed:r,direction:s}=(0,eo.u4)(e,a,o,null==t?void 0:t.acceleration,null==t?void 0:t.threshold);if(l)for(let e of eu.dk)l[e].isLocked(s[e])&&(r[e]=0,s[e]=0);if(s.x||s.y){let{x:t,y:a}=null!=i?i:s,o=t*r.x,l=a*r.y;if(o||l){let t=null==(n=eB(this,B))?void 0:n.by;if(this.autoScrolling&&t&&(t.x&&!o||t.y&&!l))continue;return eL(this,B,{element:e,by:{x:o,y:l}}),eo.pu.schedule(eB(this,z)),!0}}}}}return eL(this,B,void 0),!1};let t=null,n=null,r=(0,el.Fl)(()=>{let{position:n,source:r}=e.dragOperation;if(!n)return null;let i=(0,eo.a6)((0,eo.yj)(null==r?void 0:r.element),n.current);return i&&(t=i),null!=i?i:t}),i=(0,el.Fl)(()=>{let t=r.value,{documentElement:i}=(0,eo.Me)(t);if(!t||t===i){let{target:t}=e.dragOperation,r=null==t?void 0:t.element;if(r){let e=(0,eo.hI)(r,{excludeElement:!1});return n=e,e}}if(t){let e=(0,eo.hI)(t,{excludeElement:!1});return this.autoScrolling&&n&&e.size<(null==n?void 0:n.size)?n:(n=e,e)}return n=null,null},el.vZ);this.getScrollableElements=()=>i.value,this.scrollIntentTracker=new e7(e),this.destroy=e.monitor.addEventListener("dragmove",t=>{!this.disabled&&!t.defaultPrevented&&(0,eo.vd)(e.dragOperation.activatorEvent)&&t.by&&this.scroll({by:t.by})&&t.preventDefault()})}};function tn(e){return e>0?eo.Ie.Forward:e<0?eo.Ie.Reverse:eo.Ie.Idle}R=eS(D),j=new WeakMap,B=new WeakMap,z=new WeakMap,eD(R,4,"autoScrolling",P,tt,j),eO(R,tt);var tr=new class{constructor(e){this.scheduler=e,this.pending=!1,this.tasks=new Set,this.resolvers=new Set,this.flush=()=>{let{tasks:e,resolvers:t}=this;for(let t of(this.pending=!1,this.tasks=new Set,this.resolvers=new Set,e))t();for(let e of t)e()}}schedule(e){return this.tasks.add(e),this.pending||(this.pending=!0,this.scheduler(this.flush)),new Promise(e=>this.resolvers.add(e))}}(e=>{"function"==typeof requestAnimationFrame?requestAnimationFrame(e):e()}),ti=class extends ea.Sy{constructor(e,t){super(e,t);let n=e.registry.plugins.get(tt);if(!n)throw Error("AutoScroller plugin depends on Scroller plugin");this.destroy=(0,es.cE)(()=>{var t,r,i;if(this.disabled)return;let{position:a,status:o}=e.dragOperation;if(o.dragging){let e={acceleration:null==(t=this.options)?void 0:t.acceleration,threshold:"number"==typeof(null==(r=this.options)?void 0:r.threshold)?{x:this.options.threshold,y:this.options.threshold}:null==(i=this.options)?void 0:i.threshold};if(n.scroll(void 0,e)){n.autoScrolling=!0;let t=setInterval(()=>tr.schedule(()=>n.scroll(void 0,e)),10);return()=>{clearInterval(t)}}n.autoScrolling=!1}})}};ti.configure=(0,ea.gB)(ti);var ta={capture:!0,passive:!0},to=class extends ea.kX{constructor(e){super(e),ez(this,L),this.handleScroll=()=>{null==eB(this,L)&&eL(this,L,setTimeout(()=>{this.manager.collisionObserver.forceUpdate(!1),eL(this,L,void 0)},50))};let{dragOperation:t}=this.manager;this.destroy=(0,es.cE)(()=>{var e,n,r;if(t.status.dragging){let i=null!=(r=null==(n=null==(e=t.source)?void 0:e.element)?void 0:n.ownerDocument)?r:document;return i.addEventListener("scroll",this.handleScroll,ta),()=>{i.removeEventListener("scroll",this.handleScroll,ta)}}})}};L=new WeakMap;var tl=class extends ea.Sy{constructor(e){super(e),this.manager=e;let t=e.registry.plugins.get(eH),n=null==t?void 0:t.register("* { user-select: none !important; -webkit-user-select: none !important; }");if(this.destroy=(0,es.cE)(()=>{let{dragOperation:e}=this.manager;if(e.status.initialized)return ts(),document.addEventListener("selectionchange",ts,{capture:!0}),()=>{document.removeEventListener("selectionchange",ts,{capture:!0})}}),n){let e=this.destroy.bind(this);this.destroy=()=>{n(),e()}}}};function ts(){var e;null==(e=document.getSelection())||e.removeAllRanges()}var tu=Object.freeze({offset:10,keyboardCodes:{start:["Space","Enter"],cancel:["Escape"],end:["Space","Enter","Tab"],up:["ArrowUp"],down:["ArrowDown"],left:["ArrowLeft"],right:["ArrowRight"]},preventActivation(e,t){var n;let r=null!=(n=t.handle)?n:t.element;return e.target!==r}}),tc=class extends ea.LM{constructor(e,t){super(e),this.manager=e,this.options=t,ez(this,T,[]),this.listeners=new eo.zy,this.handleSourceKeyDown=(e,t,n)=>{if(this.disabled||e.defaultPrevented||!(0,eo.kK)(e.target)||t.disabled)return;let{keyboardCodes:r=tu.keyboardCodes,preventActivation:i=tu.preventActivation}=null!=n?n:{};r.start.includes(e.code)&&this.manager.dragOperation.status.idle&&(null!=i&&i(e,t)||this.handleStart(e,t,n))}}bind(e,t=this.options){return(0,es.cE)(()=>{var n;let r=null!=(n=e.handle)?n:e.element,i=n=>{(0,eo.vd)(n)&&this.handleSourceKeyDown(n,e,t)};if(r)return r.addEventListener("keydown",i),()=>{r.removeEventListener("keydown",i)}})}handleStart(e,t,n){let{element:r}=t;if(!r)throw Error("Source draggable does not have an associated element");e.preventDefault(),e.stopImmediatePropagation(),(0,eo.n5)(r);let{center:i}=new eo.IM(r);if(this.manager.actions.start({event:e,coordinates:{x:i.x,y:i.y},source:t}).signal.aborted)return this.cleanup();this.sideEffects();let a=(0,eo.Me)(r),o=[this.listeners.bind(a,[{type:"keydown",listener:e=>this.handleKeyDown(e,t,n),options:{capture:!0}}])];eB(this,T).push(...o)}handleKeyDown(e,t,n){let{keyboardCodes:r=tu.keyboardCodes}=null!=n?n:{};if(td(e,[...r.end,...r.cancel])){e.preventDefault();let t=td(e,r.cancel);this.handleEnd(e,t);return}td(e,r.up)?this.handleMove("up",e):td(e,r.down)&&this.handleMove("down",e),td(e,r.left)?this.handleMove("left",e):td(e,r.right)&&this.handleMove("right",e)}handleEnd(e,t){this.manager.actions.stop({event:e,canceled:t}),this.cleanup()}handleMove(e,t){var n,r;let{shape:i}=this.manager.dragOperation,a=t.shiftKey?5:1,o={x:0,y:0},l=null!=(r=null==(n=this.options)?void 0:n.offset)?r:tu.offset;if("number"==typeof l&&(l={x:l,y:l}),i){switch(e){case"up":o={x:0,y:-l.y*a};break;case"down":o={x:0,y:l.y*a};break;case"left":o={x:-l.x*a,y:0};break;case"right":o={x:l.x*a,y:0}}(o.x||o.y)&&(t.preventDefault(),this.manager.actions.move({event:t,by:o}))}}sideEffects(){let e=this.manager.registry.plugins.get(ti);(null==e?void 0:e.disabled)===!1&&(e.disable(),eB(this,T).push(()=>{e.enable()}))}cleanup(){eB(this,T).forEach(e=>e()),eL(this,T,[])}destroy(){this.cleanup(),this.listeners.clear()}};function td(e,t){return t.includes(e.code)}T=new WeakMap,tc.configure=(0,ea.gB)(tc),tc.defaults=tu;var tf=class extends ea.eZ{constructor(){super(...arguments),ez(this,F)}onEvent(e){switch(e.type){case"pointerdown":eL(this,F,(0,eo.DC)(e));break;case"pointermove":if(!eB(this,F))return;let{x:t,y:n}=(0,eo.DC)(e),r={x:t-eB(this,F).x,y:n-eB(this,F).y},{tolerance:i}=this.options;if(i&&(0,eu.oj)(r,i)){this.abort();return}(0,eu.oj)(r,this.options.value)&&this.activate(e);break;case"pointerup":this.abort()}}abort(){eL(this,F,void 0)}};F=new WeakMap;var th=class extends ea.eZ{constructor(){super(...arguments),ez(this,N),ez(this,Q)}onEvent(e){switch(e.type){case"pointerdown":eL(this,Q,(0,eo.DC)(e)),eL(this,N,setTimeout(()=>this.activate(e),this.options.value));break;case"pointermove":if(!eB(this,Q))return;let{x:t,y:n}=(0,eo.DC)(e),r={x:t-eB(this,Q).x,y:n-eB(this,Q).y};(0,eu.oj)(r,this.options.tolerance)&&this.abort();break;case"pointerup":this.abort()}}abort(){eB(this,N)&&(clearTimeout(eB(this,N)),eL(this,Q,void 0),eL(this,N,void 0))}};N=new WeakMap,Q=new WeakMap;var tp=class{};tp.Delay=th,tp.Distance=tf;var tg=Object.freeze({activationConstraints(e,t){var n;let{pointerType:r,target:i}=e;return"mouse"===r&&(0,eo.kK)(i)&&(t.handle===i||(null==(n=t.handle)?void 0:n.contains(i)))?void 0:"touch"===r?[new tp.Delay({value:250,tolerance:5})]:(0,eo.qb)(i)&&!e.defaultPrevented?[new tp.Delay({value:200,tolerance:0})]:[new tp.Delay({value:200,tolerance:10}),new tp.Distance({value:5})]},preventActivation(e,t){var n;let{target:r}=e;return!(r===t.element||r===t.handle||!(0,eo.kK)(r)||(null==(n=t.handle)?void 0:n.contains(r)))&&(0,eo.jF)(r)}}),tm=class extends ea.LM{constructor(e,t){super(e),this.manager=e,this.options=t,ez(this,Z,new Set),this.listeners=new eo.zy,this.latest={event:void 0,coordinates:void 0},this.handleMove=()=>{let{event:e,coordinates:t}=this.latest;e&&t&&this.manager.actions.move({event:e,to:t})},this.handleCancel=this.handleCancel.bind(this),this.handlePointerUp=this.handlePointerUp.bind(this),this.handleKeyDown=this.handleKeyDown.bind(this)}activationConstraints(e,t,n=this.options){let{activationConstraints:r=tg.activationConstraints}=null!=n?n:{};return"function"==typeof r?r(e,t):r}bind(e,t=this.options){return(0,es.cE)(()=>{var n,r;let i=new AbortController,{signal:a}=i,o=n=>{(0,eo.bX)(n)&&this.handlePointerDown(n,e,t)},l=[null!=(n=e.handle)?n:e.element];for(let n of((null==t?void 0:t.activatorElements)&&(l=Array.isArray(t.activatorElements)?t.activatorElements:t.activatorElements(e)),l))n&&(!(r=n.ownerDocument.defaultView)||tb.has(r)||(r.addEventListener("touchmove",ty,{capture:!1,passive:!1}),tb.add(r)),n.addEventListener("pointerdown",o,{signal:a}));return()=>i.abort()})}handlePointerDown(e,t,n){if(this.disabled||!e.isPrimary||0!==e.button||!(0,eo.kK)(e.target)||t.disabled||"sensor"in e||!this.manager.dragOperation.status.idle)return;let{preventActivation:r=tg.preventActivation}=null!=n?n:{};if(null==r?void 0:r(e,t))return;let{target:i}=e,a=(0,eo.Re)(i)&&i.draggable&&"true"===i.getAttribute("draggable"),o=(0,eo.TA)(t.element),{x:l,y:s}=(0,eo.DC)(e);this.initialCoordinates={x:l*o.scaleX+o.x,y:s*o.scaleY+o.y};let u=this.activationConstraints(e,t,n);e.sensor=this;let c=new ea.of(u,e=>this.handleStart(t,e));c.signal.onabort=()=>this.handleCancel(e),c.onEvent(e),this.controller=c;let d=(0,eo.qi)(),f=this.listeners.bind(d,[{type:"pointermove",listener:e=>this.handlePointerMove(e,t)},{type:"pointerup",listener:this.handlePointerUp,options:{capture:!0}},{type:"pointercancel",listener:this.handleCancel},{type:"dragstart",listener:a?this.handleCancel:tv,options:{capture:!0}}]);eB(this,Z).add(()=>{f(),this.initialCoordinates=void 0})}handlePointerMove(e,t){var n,r;if((null==(n=this.controller)?void 0:n.activated)===!1){null==(r=this.controller)||r.onEvent(e);return}if(this.manager.dragOperation.status.dragging){let n=(0,eo.DC)(e),r=(0,eo.TA)(t.element);n.x=n.x*r.scaleX+r.x,n.y=n.y*r.scaleY+r.y,e.preventDefault(),e.stopPropagation(),this.latest.event=e,this.latest.coordinates=n,eo.pu.schedule(this.handleMove)}}handlePointerUp(e){let{status:t}=this.manager.dragOperation;if(!t.idle){e.preventDefault(),e.stopPropagation();let n=!t.initialized;this.manager.actions.stop({event:e,canceled:n})}this.cleanup()}handleKeyDown(e){"Escape"===e.key&&(e.preventDefault(),this.handleCancel(e))}handleStart(e,t){let{manager:n,initialCoordinates:r}=this;if(!r||!n.dragOperation.status.idle||t.defaultPrevented)return;if(n.actions.start({coordinates:r,event:t,source:e}).signal.aborted)return this.cleanup();t.preventDefault();let i=(0,eo.Me)(t.target).body;try{i.setPointerCapture(t.pointerId)}catch(e){this.handleCancel(t);return}let a=(0,eo.kK)(t.target)?[t.target,i]:i,o=this.listeners.bind(a,[{type:"touchmove",listener:tv,options:{passive:!1}},{type:"click",listener:tv},{type:"contextmenu",listener:tv},{type:"keydown",listener:this.handleKeyDown}]);eB(this,Z).add(o)}handleCancel(e){let{dragOperation:t}=this.manager;t.status.initialized&&this.manager.actions.stop({event:e,canceled:!0}),this.cleanup()}cleanup(){let{controller:e}=this;this.controller=void 0,e&&!e.signal.aborted&&e.abort(),this.latest={event:void 0,coordinates:void 0},eB(this,Z).forEach(e=>e()),eB(this,Z).clear()}destroy(){this.cleanup(),this.listeners.clear()}};function tv(e){e.preventDefault()}function ty(){}Z=new WeakMap,tm.configure=(0,ea.gB)(tm),tm.defaults=tg;var tb=new WeakSet,tw={modifiers:[],plugins:[eV,ti,eq,e5,tl],sensors:[tm,tc]},tA=class extends ea.Ae{constructor(e={}){super(ek(ex({},e),{plugins:[to,tt,eH,...(0,ea.it)(e.plugins,tw.plugins)],sensors:(0,ea.it)(e.sensors,tw.sensors),modifiers:(0,ea.it)(e.modifiers,tw.modifiers)}))}},tx=class extends(H=ea._l,U=[el.qj],V=[el.qj],H){constructor(e,t){var{element:n,effects:r=()=>[],handle:i}=e;super(ex({effects:()=>[...r(),()=>{var e,t;let{manager:n}=this;if(!n)return;let r=(null!=(t=null==(e=this.sensors)?void 0:e.map(ea.qI))?t:[...n.sensors]).map(e=>{let t=e instanceof ea.LM?e:n.registry.register(e.plugin),r=e instanceof ea.LM?void 0:e.options;return t.bind(this,r)});return function(){r.forEach(e=>e())}}]},eC(e,["element","effects","handle"])),t),ez(this,W,eP(q,8,this)),eP(q,11,this),ez(this,$,eP(q,12,this)),eP(q,15,this),this.element=n,this.handle=i}};q=eS(H),W=new WeakMap,$=new WeakMap,eD(q,4,"handle",U,tx,W),eD(q,4,"element",V,tx,$),eO(q,tx);var tk=class extends(X=ea.bK,Y=[el.qj],G=[el.qj],X){constructor(e,t){var{element:n,effects:r=()=>[]}=e,i=eC(e,["element","effects"]);let{collisionDetector:a=ec.vE}=i,o=e=>{let{manager:t,element:n}=this;if(!n||null===e){this.shape=void 0;return}if(!t)return;let r=new eo.IM(n),i=(0,es.rg)(()=>this.shape);return r&&(null==i?void 0:i.equals(r))?i:(this.shape=r,r)},l=(0,es.td)(!1);super(ek(ex({},i),{collisionDetector:a,effects:()=>[...r(),()=>{let{element:e,manager:t}=this;if(!t)return;let{dragOperation:n}=t,{source:r}=n;l.value=!!(r&&n.status.initialized&&e&&!this.disabled&&this.accepts(r))},()=>{let{element:e}=this;if(l.value&&e){let t=new eo.Vw(e,o);return()=>{t.disconnect(),this.shape=void 0}}},()=>{var e;if(null==(e=this.manager)?void 0:e.dragOperation.status.initialized)return()=>{this.shape=void 0}}]}),t),ez(this,er),ez(this,J,eP(K,8,this)),eP(K,11,this),ez(this,ei,eP(K,12,this)),eP(K,15,this),this.element=n,this.refreshShape=()=>o()}set element(e){eL(this,er,e,en)}get element(){var e;return null!=(e=this.proxy)?e:eB(this,er,et)}};K=eS(X),J=new WeakMap,er=new WeakSet,ei=new WeakMap,et=(ee=eD(K,20,"#element",Y,er,J)).get,en=ee.set,eD(K,4,"proxy",G,tk,ei),eO(K,tk)},47432:function(e,t,n){"use strict";n.d(t,{$U:function(){return G},$j:function(){return _},AH:function(){return ev},DC:function(){return F},DE:function(){return eO},G$:function(){return ek},G6:function(){return Q},IM:function(){return eB},Ie:function(){return eE},Jj:function(){return R},Me:function(){return L},NT:function(){return el},RM:function(){return eP},Re:function(){return B},TA:function(){return eA},Tm:function(){return q},Vw:function(){return eo},XT:function(){return ex},Zq:function(){return V},_h:function(){return Z},a6:function(){return function e(t,{x:n,y:r}){let i=t.elementFromPoint(n,r);if((null==i?void 0:i.tagName)==="IFRAME"){let{contentDocument:t}=i;if(t){let{left:a,top:o}=i.getBoundingClientRect();return e(t,{x:n-a,y:r-o})}}return i}},aV:function(){return T},bX:function(){return eN},eE:function(){return ed},hI:function(){return ew},i1:function(){return es},jF:function(){return Y},kK:function(){return eT},lY:function(){return eV},n5:function(){return eM},nk:function(){return H},pu:function(){return eh},qZ:function(){return ez},qb:function(){return eQ},qi:function(){return function e(t=document,n=new Set){if(n.has(t))return[];n.add(t);let r=[t];for(let i of Array.from(t.querySelectorAll("iframe, frame")))try{let t=i.contentDocument;t&&!n.has(t)&&r.push(...e(t,n))}catch(e){}try{let i=t.defaultView;if(i&&i!==window.top){let a=i.parent;a&&a.document&&a.document!==t&&r.push(...e(a.document,n))}}catch(e){}return r}},qk:function(){return j},u4:function(){return eI},vd:function(){return eF},wK:function(){return K},yj:function(){return U},z0:function(){return eL},zy:function(){return X}});var r,i,a,o,l,s,u,c,d,f,h,p,g,m,v,y,b,w=n(34195),A=e=>{throw TypeError(e)},k=(e,t,n)=>t.has(e)||A("Cannot "+n),E=(e,t,n)=>(k(e,t,"read from private field"),t.get(e)),C=(e,t,n)=>t.has(e)?A("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),S=(e,t,n,r)=>(k(e,t,"write to private field"),t.set(e,n),n),I=(e,t,n)=>(k(e,t,"access private method"),n);function M(e){return!!e&&(e instanceof KeyframeEffect||"getKeyframes"in e&&"function"==typeof e.getKeyframes)}function _(e,t){let n=e.getAnimations(),r=null;for(let e of n){if("running"!==e.playState)continue;let{effect:n}=e,i=(M(n)?n.getKeyframes():[]).filter(t);i.length>0&&(r=[i[i.length-1],e])}return r}function O(e){let{width:t,height:n,top:r,left:i,bottom:a,right:o}=e.getBoundingClientRect();return{width:t,height:n,top:r,left:i,bottom:a,right:o}}function P(e){let t=Object.prototype.toString.call(e);return"[object Window]"===t||"[object global]"===t}function D(e){return"nodeType"in e}function R(e){var t,n,r;return e?P(e)?e:D(e)?"defaultView"in e?null!=(t=e.defaultView)?t:window:null!=(r=null==(n=e.ownerDocument)?void 0:n.defaultView)?r:window:window:window}function j(e){let{Document:t}=R(e);return e instanceof t||"nodeType"in e&&e.nodeType===Node.DOCUMENT_NODE}function B(e){return!(!e||P(e))&&(e instanceof R(e).HTMLElement||"namespaceURI"in e&&"string"==typeof e.namespaceURI&&e.namespaceURI.endsWith("html"))}function z(e){return e instanceof R(e).SVGElement||"namespaceURI"in e&&"string"==typeof e.namespaceURI&&e.namespaceURI.endsWith("svg")}function L(e){return e?P(e)?e.document:D(e)?j(e)?e:B(e)||z(e)?e.ownerDocument:document:document:document}function T(e,t=e.getBoundingClientRect(),n=0){var r,i,a,o,l;let s=t,{ownerDocument:u}=e,c=null!=(r=u.defaultView)?r:window,d=e.parentElement;for(;d&&d!==u.documentElement;){if(!function(e,t){if("DETAILS"===e.tagName&&!1===e.open)return!1;let{overflow:n,overflowX:r,overflowY:i}=getComputedStyle(e);return"visible"===n&&"visible"===r&&"visible"===i}(d)){let e=d.getBoundingClientRect(),t=n*(e.bottom-e.top),r=n*(e.right-e.left),i=n*(e.bottom-e.top),a=n*(e.right-e.left);(s={top:Math.max(s.top,e.top-t),right:Math.min(s.right,e.right+r),bottom:Math.min(s.bottom,e.bottom+i),left:Math.max(s.left,e.left-a),width:0,height:0}).width=s.right-s.left,s.height=s.bottom-s.top}d=d.parentElement}let f=c.visualViewport,h=null!=(i=null==f?void 0:f.offsetTop)?i:0,p=null!=(a=null==f?void 0:f.offsetLeft)?a:0,g=null!=(o=null==f?void 0:f.width)?o:c.innerWidth,m=null!=(l=null==f?void 0:f.height)?l:c.innerHeight,v=n*m,y=n*g;return(s={top:Math.max(s.top,h-v),right:Math.min(s.right,p+g+y),bottom:Math.min(s.bottom,h+m+v),left:Math.max(s.left,p-y),width:0,height:0}).width=s.right-s.left,s.height=s.bottom-s.top,s.width<0&&(s.width=0),s.height<0&&(s.height=0),s}function F(e){return{x:e.clientX,y:e.clientY}}var N="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement;function Q(){return/^((?!chrome|android).)*safari/i.test(navigator.userAgent)}function Z(){var e,t;let n=Q()?window.visualViewport:null;return{x:null!=(e=null==n?void 0:n.offsetLeft)?e:0,y:null!=(t=null==n?void 0:n.offsetTop)?t:0}}function V(e){return!!(e&&D(e))&&e instanceof R(e).ShadowRoot}function U(e){if(e&&D(e)){let t=e.getRootNode();if(V(t)||t instanceof Document)return t}return L(e)}function H(e){return e.matchMedia("(prefers-reduced-motion: reduce)").matches}function q(e){let t="input, textarea, select, canvas, [contenteditable]",n=e.cloneNode(!0),r=Array.from(e.querySelectorAll(t));return Array.from(n.querySelectorAll(t)).forEach((e,t)=>{let n=r[t];if(W(e)&&W(n)&&("file"!==e.type&&(e.value=n.value),"radio"===e.type&&e.name&&(e.name=`Cloned__${e.name}`)),$(e)&&$(n)&&n.width>0&&n.height>0){let t=e.getContext("2d");null==t||t.drawImage(n,0,0)}}),n}function W(e){return"value"in e}function $(e){return"CANVAS"===e.tagName}var G=new WeakMap;function Y(e){return!!e.closest(`
|
|
61
|
+
input:not([disabled]),
|
|
62
|
+
select:not([disabled]),
|
|
63
|
+
textarea:not([disabled]),
|
|
64
|
+
button:not([disabled]),
|
|
65
|
+
a[href],
|
|
66
|
+
[contenteditable]:not([contenteditable="false"])
|
|
67
|
+
`)}var X=class{constructor(){this.entries=new Set,this.clear=()=>{for(let e of this.entries){let[t,{type:n,listener:r,options:i}]=e;t.removeEventListener(n,r,i)}this.entries.clear()}}bind(e,t){let n=Array.isArray(e)?e:[e],r=Array.isArray(t)?t:[t],i=[];for(let e of n)for(let t of r){let{type:n,listener:r,options:a}=t,o=[e,t];e.addEventListener(n,r,a),this.entries.add(o),i.push(o)}let a=this.entries;return function(){for(let e of i){let[t,{type:n,listener:r,options:i}]=e;t.removeEventListener(n,r,i),a.delete(e)}}}};function K(e){let t=null==e?void 0:e.ownerDocument.defaultView;if(t&&t.self!==t.parent)return t.frameElement}function J(e,t){let n,r;let i=()=>performance.now();return function(...a){let o=this;r?(null==n||n(),n=function(e,t){let n=setTimeout(e,t);return()=>clearTimeout(n)}(()=>{e.apply(o,a),r=i()},t-(i()-r))):(e.apply(o,a),r=i())}}var ee=N?ResizeObserver:class{observe(){}unobserve(){}disconnect(){}},et=class extends ee{constructor(e){super(t=>{if(!E(this,i)){S(this,i,!0);return}e(t,this)}),C(this,i,!1)}};i=new WeakMap;var en=Array.from({length:100},(e,t)=>t/100),er=class{constructor(e,t,n={debug:!1,skipInitial:!1}){this.element=e,this.callback=t,C(this,h),this.disconnect=()=>{var e,t,n;S(this,d,!0),null==(e=E(this,l))||e.disconnect(),null==(t=E(this,s))||t.disconnect(),E(this,u).disconnect(),null==(n=E(this,c))||n.remove()},C(this,a,!0),C(this,o),C(this,l),C(this,s),C(this,u),C(this,c),C(this,d,!1),C(this,f,J(()=>{var e,t,n;let{element:r}=this;if(null==(e=E(this,s))||e.disconnect(),E(this,d)||!E(this,a)||!r.isConnected)return;let i=null!=(t=r.ownerDocument)?t:document,{innerHeight:o,innerWidth:l}=null!=(n=i.defaultView)?n:window,u=r.getBoundingClientRect(),{top:c,left:g,bottom:m,right:v}=T(r,u),y=`${-Math.floor(c)}px ${-Math.floor(l-v)}px ${-Math.floor(o-m)}px ${-Math.floor(g)}px`;this.boundingClientRect=u,S(this,s,new IntersectionObserver(e=>{let[t]=e,{intersectionRect:n}=t;1!==(1!==t.intersectionRatio?t.intersectionRatio:w.Ae.intersectionRatio(n,T(r)))&&E(this,f).call(this)},{threshold:en,rootMargin:y,root:i})),E(this,s).observe(r),I(this,h,p).call(this)},75)),this.boundingClientRect=e.getBoundingClientRect(),S(this,a,function(e,t=e.getBoundingClientRect()){let{width:n,height:r}=T(e,t);return n>0&&r>0}(e,this.boundingClientRect));let r=!0;this.callback=e=>{r&&(r=!1,n.skipInitial)||t(e)};let i=e.ownerDocument;(null==n?void 0:n.debug)&&(S(this,c,document.createElement("div")),E(this,c).style.background="rgba(0,0,0,0.15)",E(this,c).style.position="fixed",E(this,c).style.pointerEvents="none",i.body.appendChild(E(this,c))),S(this,u,new IntersectionObserver(t=>{var n,r;let{boundingClientRect:i,isIntersecting:o}=t[t.length-1],{width:u,height:d}=i,h=E(this,a);S(this,a,o),(u||d)&&(h&&!o?(null==(n=E(this,s))||n.disconnect(),this.callback(null),null==(r=E(this,l))||r.disconnect(),S(this,l,void 0),E(this,c)&&(E(this,c).style.visibility="hidden")):E(this,f).call(this),o&&!E(this,l)&&(S(this,l,new et(E(this,f))),E(this,l).observe(e)))},{threshold:en,root:i})),E(this,a)&&!n.skipInitial&&this.callback(this.boundingClientRect),E(this,u).observe(e)}};a=new WeakMap,o=new WeakMap,l=new WeakMap,s=new WeakMap,u=new WeakMap,c=new WeakMap,d=new WeakMap,f=new WeakMap,h=new WeakSet,p=function(){var e,t;E(this,d)||(I(this,h,g).call(this),(e=this.boundingClientRect)===(t=E(this,o))||e&&t&&e.top==t.top&&e.left==t.left&&e.right==t.right&&e.bottom==t.bottom||(this.callback(this.boundingClientRect),S(this,o,this.boundingClientRect)))},g=function(){if(E(this,c)){let{top:e,left:t,width:n,height:r}=T(this.element);E(this,c).style.overflow="hidden",E(this,c).style.visibility="visible",E(this,c).style.top=`${Math.floor(e)}px`,E(this,c).style.left=`${Math.floor(t)}px`,E(this,c).style.width=`${Math.floor(n)}px`,E(this,c).style.height=`${Math.floor(r)}px`}};var ei=new WeakMap,ea=new WeakMap,eo=class{constructor(e,t,n){this.callback=t,C(this,m),C(this,v,!1),C(this,y),C(this,b,J(e=>{if(!E(this,v)&&e.target&&"contains"in e.target&&"function"==typeof e.target.contains){for(let t of E(this,y))if(e.target.contains(t)){this.callback(E(this,m).boundingClientRect);break}}},75));let r=function(e){let t=new Set,n=K(e);for(;n;)t.add(n),n=K(n);return t}(e),i=function(e,t){let n=new Set;for(let r of e){let e=function(e,t){let n=ei.get(e);return n||(n={disconnect:new er(e,t=>{let n=ei.get(e);n&&n.callbacks.forEach(e=>e(t))},{skipInitial:!0}).disconnect,callbacks:new Set}),n.callbacks.add(t),ei.set(e,n),()=>{n.callbacks.delete(t),0===n.callbacks.size&&(ei.delete(e),n.disconnect())}}(r,t);n.add(e)}return()=>n.forEach(e=>e())}(r,t),a=function(e,t){var n;let r=e.ownerDocument;if(!ea.has(r)){let e=new AbortController,t=new Set;document.addEventListener("scroll",e=>t.forEach(t=>t(e)),{capture:!0,passive:!0,signal:e.signal}),ea.set(r,{disconnect:()=>e.abort(),listeners:t})}let{listeners:i,disconnect:a}=null!=(n=ea.get(r))?n:{};return i&&a?(i.add(t),()=>{i.delete(t),0===i.size&&(a(),ea.delete(r))}):()=>{}}(e,E(this,b));S(this,y,r),S(this,m,new er(e,t,n)),this.disconnect=()=>{E(this,v)||(S(this,v,!0),i(),a(),E(this,m).disconnect())}}};function el(e){return"showPopover"in e&&"hidePopover"in e&&"function"==typeof e.showPopover&&"function"==typeof e.hidePopover}function es(e){try{el(e)&&e.isConnected&&e.hasAttribute("popover")&&!e.matches(":popover-open")&&e.showPopover()}catch(e){}}function eu(e){return!!N&&!!e&&e===L(e).scrollingElement}function ec(e){var t,n;let r=R(e),i=eu(e)?function(e){var t,n,r,i;let{documentElement:a}=L(e),o=R(e).visualViewport,l=null!=(t=null==o?void 0:o.width)?t:a.clientWidth,s=null!=(n=null==o?void 0:o.height)?n:a.clientHeight,u=null!=(r=null==o?void 0:o.offsetTop)?r:0,c=null!=(i=null==o?void 0:o.offsetLeft)?i:0;return{top:u,left:c,right:c+l,bottom:u+s,width:l,height:s}}(e):O(e),a=r.visualViewport,o=eu(e)?{height:null!=(t=null==a?void 0:a.height)?t:r.innerHeight,width:null!=(n=null==a?void 0:a.width)?n:r.innerWidth}:{height:e.clientHeight,width:e.clientWidth},l={current:{x:e.scrollLeft,y:e.scrollTop},max:{x:e.scrollWidth-o.width,y:e.scrollHeight-o.height}},s=l.current.y<=0,u=l.current.x<=0,c=l.current.y>=l.max.y,d=l.current.x>=l.max.x;return{rect:i,position:l,isTop:s,isLeft:u,isBottom:c,isRight:d}}function ed(e,t){let{isTop:n,isBottom:r,isLeft:i,isRight:a,position:o}=ec(e),{x:l,y:s}=null!=t?t:{x:0,y:0},u=!n&&o.current.y+s>0,c=!r&&o.current.y+s<o.max.y,d=!i&&o.current.x+l>0,f=!a&&o.current.x+l<o.max.x;return{top:u,bottom:c,left:d,right:f,x:d||f,y:u||c}}m=new WeakMap,v=new WeakMap,y=new WeakMap,b=new WeakMap;var ef=class{constructor(e){this.scheduler=e,this.pending=!1,this.tasks=new Set,this.resolvers=new Set,this.flush=()=>{let{tasks:e,resolvers:t}=this;for(let t of(this.pending=!1,this.tasks=new Set,this.resolvers=new Set,e))t();for(let e of t)e()}}schedule(e){return this.tasks.add(e),this.pending||(this.pending=!0,this.scheduler(this.flush)),new Promise(e=>this.resolvers.add(e))}},eh=new ef(e=>{"function"==typeof requestAnimationFrame?requestAnimationFrame(e):e()}),ep=new ef(e=>setTimeout(e,50)),eg=new Map,em=eg.clear.bind(eg);function ev(e,t=!1){if(!t)return ey(e);let n=eg.get(e);return n||(n=ey(e),eg.set(e,n),ep.schedule(em)),n}function ey(e){return R(e).getComputedStyle(e)}var eb={excludeElement:!0,escapeShadowDOM:!0};function ew(e,t=eb){let{limit:n,excludeElement:r,escapeShadowDOM:i}=t,a=new Set;return e?function t(o){if(null!=n&&a.size>=n||!o)return a;if(j(o)&&null!=o.scrollingElement&&!a.has(o.scrollingElement))return a.add(o.scrollingElement),a;if(i&&V(o))return t(o.host);if(!B(o))return z(o)?t(o.parentElement):a;if(a.has(o))return a;let l=ev(o,!0);if(r&&o===e||function(e,t=ev(e,!0)){let n=/(auto|scroll|overlay)/;return["overflow","overflowX","overflowY"].some(e=>{let r=t[e];return"string"==typeof r&&n.test(r)})}(o,l)&&a.add(o),function(e,t=ev(e,!0)){return"fixed"===t.position||"sticky"===t.position}(o,l)){let{scrollingElement:e}=o.ownerDocument;return e&&a.add(e),a}return t(o.parentNode)}(e):a}function eA(e,t=window.frameElement){let n={x:0,y:0,scaleX:1,scaleY:1};if(!e)return n;let r=K(e);for(;r&&r!==t;){let e=O(r),{x:t,y:i}=function(e,t=O(e)){let n=Math.round(t.width),r=Math.round(t.height);if(B(e))return{x:n/e.offsetWidth,y:r/e.offsetHeight};let i=ev(e,!0);return{x:(parseFloat(i.width)||n)/n,y:(parseFloat(i.height)||r)/r}}(r,e);n.x=n.x+e.left,n.y=n.y+e.top,n.scaleX=n.scaleX*t,n.scaleY=n.scaleY*i,r=K(r)}return n}function ex(e){if("none"===e)return null;let[t,n,r="0"]=e.split(" "),i={x:parseFloat(t),y:parseFloat(n),z:parseInt(r,10)};return isNaN(i.x)&&isNaN(i.y)?null:{x:isNaN(i.x)?0:i.x,y:isNaN(i.y)?0:i.y,z:isNaN(i.z)?0:i.z}}function ek(e){var t,n,r,i,a,o,l,s,u;let{scale:c,transform:d,translate:f}=e,h=function(e){if("none"===e)return null;let t=e.split(" "),n=parseFloat(t[0]),r=parseFloat(t[1]);return isNaN(n)&&isNaN(r)?null:{x:isNaN(n)?r:n,y:isNaN(r)?n:r}}(c),p=ex(f),g=function(e){if(e.startsWith("matrix3d(")){let t=e.slice(9,-1).split(/, /);return{x:+t[12],y:+t[13],scaleX:+t[0],scaleY:+t[5]}}if(e.startsWith("matrix(")){let t=e.slice(7,-1).split(/, /);return{x:+t[4],y:+t[5],scaleX:+t[0],scaleY:+t[3]}}return null}(d);if(!g&&!h&&!p)return null;let m={x:null!=(t=null==h?void 0:h.x)?t:1,y:null!=(n=null==h?void 0:h.y)?n:1},v={x:null!=(r=null==p?void 0:p.x)?r:0,y:null!=(i=null==p?void 0:p.y)?i:0},y={x:null!=(a=null==g?void 0:g.x)?a:0,y:null!=(o=null==g?void 0:g.y)?o:0,scaleX:null!=(l=null==g?void 0:g.scaleX)?l:1,scaleY:null!=(s=null==g?void 0:g.scaleY)?s:1};return{x:v.x+y.x,y:v.y+y.y,z:null!=(u=null==p?void 0:p.z)?u:0,scaleX:m.x*y.scaleX,scaleY:m.y*y.scaleY}}var eE=((r=eE||{})[r.Idle=0]="Idle",r[r.Forward=1]="Forward",r[r.Reverse=-1]="Reverse",r),eC={x:.2,y:.2},eS={x:10,y:10};function eI(e,t,n,r=25,i=eC,a=eS){let{x:o,y:l}=t,{rect:s,isTop:u,isBottom:c,isLeft:d,isRight:f}=ec(e),h=eA(e),p=ek(ev(e,!0)),g=null!==p&&(null==p?void 0:p.scaleX)<0,m=null!==p&&(null==p?void 0:p.scaleY)<0,v=new w.Ae(s.left*h.scaleX+h.x,s.top*h.scaleY+h.y,s.width*h.scaleX,s.height*h.scaleY),y={x:0,y:0},b={x:0,y:0},A={height:v.height*i.y,width:v.width*i.x};return A.height>0&&(!u||m&&!c)&&l<=v.top+A.height&&(null==n?void 0:n.y)!==1&&o>=v.left-a.x&&o<=v.right+a.x?(y.y=m?1:-1,b.y=r*Math.abs((v.top+A.height-l)/A.height)):A.height>0&&(!c||m&&!u)&&l>=v.bottom-A.height&&(null==n?void 0:n.y)!==-1&&o>=v.left-a.x&&o<=v.right+a.x&&(y.y=m?-1:1,b.y=r*Math.abs((v.bottom-A.height-l)/A.height)),A.width>0&&(!f||g&&!d)&&o>=v.right-A.width&&(null==n?void 0:n.x)!==-1&&l>=v.top-a.y&&l<=v.bottom+a.y?(y.x=g?-1:1,b.x=r*Math.abs((v.right-A.width-o)/A.width)):A.width>0&&(!d||g&&!f)&&o<=v.left+A.width&&(null==n?void 0:n.x)!==1&&l>=v.top-a.y&&l<=v.bottom+a.y&&(y.x=g?1:-1,b.x=r*Math.abs((v.left+A.width-o)/A.width)),{direction:y,speed:b}}function eM(e,{block:t="nearest",inline:n="nearest"}={}){if(!B(e))return;let r=ew(e),i=[];for(let a of r){if(!B(a))continue;let{top:r,left:o}=function(e,t){let n=e_(e),r=e_(t);return{top:n.top-r.top-t.clientTop,left:n.left-r.left-t.clientLeft}}(e,a),l=r,s=o;for(let e of i)l-=e.scrollTop,s-=e.scrollLeft;if("none"!==t){let n=l<a.scrollTop;n!==l+e.offsetHeight>a.scrollTop+a.clientHeight&&("center"===t?a.scrollTop=l-a.clientHeight/2+e.offsetHeight/2:n?a.scrollTop=l:a.scrollTop=l+e.offsetHeight-a.clientHeight)}if("none"!==n){let t=s<a.scrollLeft;t!==s+e.offsetWidth>a.scrollLeft+a.clientWidth&&("center"===n?a.scrollLeft=s-a.clientWidth/2+e.offsetWidth/2:t?a.scrollLeft=s:a.scrollLeft=s+e.offsetWidth-a.clientWidth)}i.push(a)}}function e_(e){let t=0,n=0,r=e;for(;r;){t+=r.offsetTop,n+=r.offsetLeft;let e=r.offsetParent;if(!B(e))break;t+=e.clientTop,n+=e.clientLeft,r=e}return{top:t,left:n}}function eO({element:e,keyframes:t,options:n}){return e.animate(t,n).finished}function eP(e,t=ev(e).translate,n=!0){if(n){let t=_(e,e=>"translate"in e);if(t){let{translate:e=""}=t[0];if("string"==typeof e){let t=ex(e);if(t)return t}}}if(t){let e=ex(t);if(e)return e}return{x:0,y:0,z:0}}var eD=new ef(e=>setTimeout(e,0)),eR=new Map,ej=eR.clear.bind(eR),eB=class extends w.Ae{constructor(e,t={}){var n,r,i,a;let o;let{frameTransform:l=eA(e),ignoreTransforms:s,getBoundingClientRect:u=O}=t,c=function(e,t){let n=(function(e){let t=e.ownerDocument,n=eR.get(t);if(n)return n;n=t.getAnimations(),eR.set(t,n),eD.schedule(ej);let r=n.filter(t=>M(t.effect)&&t.effect.target===e);return eR.set(e,r),n})(e).filter(e=>{var n,r;if(M(e.effect)){let{target:i}=e.effect;if(null==(r=i&&(null==(n=t.isValidTarget)?void 0:n.call(t,i)))||r)return e.effect.getKeyframes().some(e=>{for(let n of t.properties)if(e[n])return!0})}}).map(e=>{let{effect:t,currentTime:n}=e,r=null==t?void 0:t.getComputedTiming().duration;if(!e.pending&&"finished"!==e.playState&&"number"==typeof r&&"number"==typeof n&&n<r)return e.currentTime=r,()=>{e.currentTime=n}});if(n.length>0)return()=>n.forEach(e=>null==e?void 0:e())}(e,{properties:["transform","translate","scale","width","height"],isValidTarget:t=>(t!==e||Q())&&t.contains(e)}),d=u(e),{top:f,left:h,width:p,height:g}=d,m=ev(e),v=ek(m),y={x:null!=(n=null==v?void 0:v.scaleX)?n:1,y:null!=(r=null==v?void 0:v.scaleY)?r:1},b=function(e,t){let n,r,i;let a=e.getAnimations();if(!a.length)return null;let o=!1;for(let e of a){if("running"!==e.playState)continue;let t=M(e.effect)?e.effect.getKeyframes():[],a=t[t.length-1];if(!a)continue;let{transform:l,translate:s,scale:u}=a;"string"==typeof l&&l&&(n=l,o=!0),"string"==typeof s&&s&&(r=s,o=!0),"string"==typeof u&&u&&(i=u,o=!0)}return o?ek({transform:null!=n?n:t.transform,translate:null!=r?r:t.translate,scale:null!=i?i:t.scale}):null}(e,m);null==c||c(),v&&(o=function(e,t,n){let{scaleX:r,scaleY:i,x:a,y:o}=t,l=e.left-a-(1-r)*parseFloat(n),s=e.top-o-(1-i)*parseFloat(n.slice(n.indexOf(" ")+1)),u=r?e.width/r:e.width,c=i?e.height/i:e.height;return{width:u,height:c,top:s,right:l+u,bottom:s+c,left:l}}(d,v,m.transformOrigin),(s||b)&&(f=o.top,h=o.left,p=o.width,g=o.height));let w={width:null!=(i=null==o?void 0:o.width)?i:p,height:null!=(a=null==o?void 0:o.height)?a:g};if(b&&!s&&o){let e=function(e,t,n){let{scaleX:r,scaleY:i,x:a,y:o}=t,l=e.left+a+(1-r)*parseFloat(n),s=e.top+o+(1-i)*parseFloat(n.slice(n.indexOf(" ")+1)),u=r?e.width*r:e.width,c=i?e.height*i:e.height;return{width:u,height:c,top:s,right:l+u,bottom:s+c,left:l}}(o,b,m.transformOrigin);f=e.top,h=e.left,p=e.width,g=e.height,y.x=b.scaleX,y.y=b.scaleY}l&&(s||(h*=l.scaleX,p*=l.scaleX,f*=l.scaleY,g*=l.scaleY),h+=l.x,f+=l.y),super(h,f,p,g),this.scale=y,this.intrinsicWidth=w.width,this.intrinsicHeight=w.height}};function ez(e){return"style"in e&&"object"==typeof e.style&&null!==e.style&&"setProperty"in e.style&&"removeProperty"in e.style&&"function"==typeof e.style.setProperty&&"function"==typeof e.style.removeProperty}var eL=class{constructor(e){this.element=e,this.initial=new Map}set(e,t=""){let{element:n}=this;if(ez(n))for(let[r,i]of Object.entries(e)){let e=`${t}${r}`;this.initial.has(e)||this.initial.set(e,n.style.getPropertyValue(e)),n.style.setProperty(e,"string"==typeof i?i:`${i}px`)}}remove(e,t=""){let{element:n}=this;if(ez(n))for(let r of e){let e=`${t}${r}`;n.style.removeProperty(e)}}reset(){let{element:e}=this;if(ez(e)){for(let[t,n]of this.initial)e.style.setProperty(t,n);""===e.getAttribute("style")&&e.removeAttribute("style")}}};function eT(e){return!!e&&(e instanceof R(e).Element||D(e)&&e.nodeType===Node.ELEMENT_NODE)}function eF(e){if(!e)return!1;let{KeyboardEvent:t}=R(e.target);return e instanceof t}function eN(e){if(!e)return!1;let{PointerEvent:t}=R(e.target);return e instanceof t}function eQ(e){if(!eT(e))return!1;let{tagName:t}=e;return"INPUT"===t||"TEXTAREA"===t||e.hasAttribute("contenteditable")&&"false"!==e.getAttribute("contenteditable")}var eZ={};function eV(e){let t=null==eZ[e]?0:eZ[e]+1;return eZ[e]=t,`${e}-${t}`}},34195:function(e,t,n){"use strict";n.d(t,{Ae:function(){return T},E9:function(){return L},Ly:function(){return F},dk:function(){return Z},oj:function(){return N}});var r,i,a,o,l,s,u,c=n(22785),d=n(86923),f=Object.create,h=Object.defineProperty,p=Object.getOwnPropertyDescriptor,g=Object.getOwnPropertySymbols,m=Object.prototype.hasOwnProperty,v=Object.prototype.propertyIsEnumerable,y=(e,t)=>(t=Symbol[e])?t:Symbol.for("Symbol."+e),b=e=>{throw TypeError(e)},w=Math.pow,A=(e,t,n)=>t in e?h(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,k=(e,t)=>{for(var n in t||(t={}))m.call(t,n)&&A(e,n,t[n]);if(g)for(var n of g(t))v.call(t,n)&&A(e,n,t[n]);return e},E=(e,t)=>h(e,"name",{value:t,configurable:!0}),C=["class","method","getter","setter","accessor","field","value","get","set"],S=e=>void 0!==e&&"function"!=typeof e?b("Function expected"):e,I=(e,t,n,r,i)=>({kind:C[e],name:t,metadata:r,addInitializer:e=>n._?b("Already initialized"):i.push(S(e||null))}),M=(e,t)=>A(t,y("metadata"),e[3]),_=(e,t,n,r)=>{for(var i=0,a=e[t>>1],o=a&&a.length;i<o;i++)1&t?a[i].call(n):r=a[i].call(n,r);return r},O=(e,t,n,r,i,a)=>{var o,l,s,u,c,d=7&t,f=!!(8&t),g=!!(16&t),m=d>3?e.length+1:d?f?1:2:0,v=C[d+5],y=d>3&&(e[m-1]=[]),w=e[m]||(e[m]=[]),A=d&&(g||f||(i=i.prototype),d<5&&(d>3||!g)&&p(d<4?i:{get[n](){return R(this,a)},set[n](x){return B(this,a,x)}},n));d?g&&d<4&&E(a,(d>2?"set ":d>1?"get ":"")+n):E(i,n);for(var k=r.length-1;k>=0;k--)u=I(d,n,s={},e[3],w),d&&(u.static=f,u.private=g,c=u.access={has:g?e=>D(i,e):e=>n in e},3^d&&(c.get=g?e=>(1^d?R:z)(e,i,4^d?a:A.get):e=>e[n]),d>2&&(c.set=g?(e,t)=>B(e,i,t,4^d?a:A.set):(e,t)=>e[n]=t)),l=(0,r[k])(d?d<4?g?a:A[v]:d>4?void 0:{get:A.get,set:A.set}:i,u),s._=1,4^d||void 0===l?S(l)&&(d>4?y.unshift(l):d?g?a=l:A[v]=l:i=l):"object"!=typeof l||null===l?b("Object expected"):(S(o=l.get)&&(A.get=o),S(o=l.set)&&(A.set=o),S(o=l.init)&&y.unshift(o));return d||M(e,i),A&&h(i,n,A),g?4^d?a:A:i},P=(e,t,n)=>t.has(e)||b("Cannot "+n),D=(e,t)=>Object(t)!==t?b('Cannot use the "in" operator on this value'):e.has(t),R=(e,t,n)=>(P(e,t,"read from private field"),n?n.call(e):t.get(e)),j=(e,t,n)=>t.has(e)?b("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),B=(e,t,n,r)=>(P(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),z=(e,t,n)=>(P(e,t,"access private method"),n),L=class e{constructor(e,t){this.x=e,this.y=t}static delta(t,n){return new e(t.x-n.x,t.y-n.y)}static distance(e,t){return Math.hypot(e.x-t.x,e.y-t.y)}static equals(e,t){return e.x===t.x&&e.y===t.y}static from({x:t,y:n}){return new e(t,n)}},T=class e{constructor(e,t,n,r){this.left=e,this.top=t,this.width=n,this.height=r,this.scale={x:1,y:1}}get inverseScale(){return{x:1/this.scale.x,y:1/this.scale.y}}translate(t,n){let{top:r,left:i,width:a,height:o,scale:l}=this,s=new e(i+t,r+n,a,o);return s.scale=k({},l),s}get boundingRectangle(){let{width:e,height:t,left:n,top:r,right:i,bottom:a}=this;return{width:e,height:t,left:n,top:r,right:i,bottom:a}}get center(){let{left:e,top:t,right:n,bottom:r}=this;return new L((e+n)/2,(t+r)/2)}get area(){let{width:e,height:t}=this;return e*t}equals(t){if(!(t instanceof e))return!1;let{left:n,top:r,width:i,height:a}=this;return n===t.left&&r===t.top&&i===t.width&&a===t.height}containsPoint(e){let{top:t,left:n,bottom:r,right:i}=this;return t<=e.y&&e.y<=r&&n<=e.x&&e.x<=i}intersectionArea(t){return t instanceof e?function(e,t){let n=Math.max(t.top,e.top),r=Math.max(t.left,e.left),i=Math.min(t.left+t.width,e.left+e.width),a=Math.min(t.top+t.height,e.top+e.height);return r<i&&n<a?(i-r)*(a-n):0}(this,t):0}intersectionRatio(e){let{area:t}=this,n=this.intersectionArea(e);return n/(e.area+t-n)}get bottom(){let{top:e,height:t}=this;return e+t}get right(){let{left:e,width:t}=this;return e+t}get aspectRatio(){let{width:e,height:t}=this;return e/t}get corners(){return[{x:this.left,y:this.top},{x:this.right,y:this.top},{x:this.left,y:this.bottom},{x:this.right,y:this.bottom}]}static from({top:t,left:n,width:r,height:i}){return new e(n,t,r,i)}static delta(e,t,n={x:"center",y:"center"}){let r=(e,t)=>{let r=n[t],i="x"===t?e.left:e.top,a="x"===t?e.width:e.height;return"start"==r?i:"end"==r?i+a:i+a/2};return L.delta({x:r(e,"x"),y:r(e,"y")},{x:r(t,"x"),y:r(t,"y")})}static intersectionRatio(t,n){return e.from(t).intersectionRatio(e.from(n))}},F=class extends(l=c.Pz,o=[c.nK],a=[c.nK],l){constructor(e){super(L.from(e),(e,t)=>L.equals(e,t)),_(u,5,this),j(this,s,0),this.velocity={x:0,y:0}}get delta(){return L.delta(this.current,this.initial)}get direction(){let{current:e,previous:t}=this;if(!t)return null;let n={x:e.x-t.x,y:e.y-t.y};return n.x||n.y?Math.abs(n.x)>Math.abs(n.y)?n.x>0?"right":"left":n.y>0?"down":"up":null}get current(){return super.current}set current(e){let{current:t}=this,n=L.from(e),r={x:n.x-t.x,y:n.y-t.y},i=Date.now(),a=i-R(this,s),o=e=>Math.round(e/a*100);(0,d.dC)(()=>{B(this,s,i),this.velocity={x:o(r.x),y:o(r.y)},super.current=n})}reset(e=this.defaultValue){super.reset(L.from(e)),this.velocity={x:0,y:0}}};function N({x:e,y:t},n){let r=Math.abs(e),i=Math.abs(t);return"number"==typeof n?Math.sqrt(w(r,2)+w(i,2))>n:"x"in n&&"y"in n?r>n.x&&i>n.y:"x"in n?r>n.x:"y"in n&&i>n.y}u=[,,,f(null!=(r=null==l?void 0:l[y("metadata")])?r:null)],s=new WeakMap,O(u,2,"delta",o,F),O(u,2,"direction",a,F),M(u,F);var Q=((i=Q||{}).Horizontal="x",i.Vertical="y",i),Z=Object.values(Q)},82053:function(e,t,n){"use strict";n.d(t,{pB:function(){return p}});var r=Object.defineProperty,i=Object.defineProperties,a=Object.getOwnPropertyDescriptors,o=Object.getOwnPropertySymbols,l=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,u=(e,t,n)=>t in e?r(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,c=(e,t)=>{for(var n in t||(t={}))l.call(t,n)&&u(e,n,t[n]);if(o)for(var n of o(t))s.call(t,n)&&u(e,n,t[n]);return e},d=(e,t)=>i(e,a(t));function f(e,t,n){if(t===n)return e;let r=e.slice();return r.splice(n,0,r.splice(t,1)[0]),r}function h(e){return"initialIndex"in e&&"number"==typeof e.initialIndex&&"index"in e&&"number"==typeof e.index}function p(e,t){return function(e,t,n){var r,i,a;let o,l;let{source:s,target:u,canceled:f}=t.operation;if(!s||!u||f)return"preventDefault"in t&&t.preventDefault(),e;let p=(e,t)=>e===t||"object"==typeof e&&"id"in e&&e.id===t;if(Array.isArray(e)){let r=e.findIndex(e=>p(e,s.id)),i=e.findIndex(e=>p(e,u.id));if(-1===r||-1===i){if(h(s)){let r=s.initialIndex,i=s.index;return r===i||r<0||r>=e.length?("preventDefault"in t&&t.preventDefault(),e):n(e,r,i)}return e}if(!f&&"index"in s&&"number"==typeof s.index){let t=s.index;if(t!==r)return n(e,r,t)}return n(e,r,i)}let g=Object.entries(e),m=-1,v=-1;for(let[e,t]of g)if(-1===m&&-1!==(m=t.findIndex(e=>p(e,s.id)))&&(o=e),-1===v&&-1!==(v=t.findIndex(e=>p(e,u.id)))&&(l=e),-1!==m&&-1!==v)break;if(-1===m&&h(s)){let r=s.initialGroup,i=s.initialIndex,a=s.group,o=s.index;if(null==r||null==a||!(r in e)||!(a in e)||r===a&&i===o)return"preventDefault"in t&&t.preventDefault(),e;if(r===a)return d(c({},e),{[r]:n(e[r],i,o)});let l=e[r][i];return d(c({},e),{[r]:[...e[r].slice(0,i),...e[r].slice(i+1)],[a]:[...e[a].slice(0,o),l,...e[a].slice(o)]})}if(!s.manager)return e;let{dragOperation:y}=s.manager,b=null!=(i=null==(r=y.shape)?void 0:r.current.center)?i:y.position.current;if(null==l&&u.id in e){let t=u.shape&&b.y>u.shape.center.y?e[u.id].length:0;l=u.id,v=t}if(null==o||null==l||o===l&&m===v){if(null!=o&&o===l&&m===v&&h(s)){let t=null!=s.group&&s.group!==o,r=s.index!==m;if(t||r){let t=null!=(a=s.group)?a:o;if(t in e){if(o===t)return d(c({},e),{[o]:n(e[o],m,s.index)});let r=e[o][m];return d(c({},e),{[o]:[...e[o].slice(0,m),...e[o].slice(m+1)],[t]:[...e[t].slice(0,s.index),r,...e[t].slice(s.index)]})}}}return"preventDefault"in t&&t.preventDefault(),e}if(o===l)return d(c({},e),{[o]:n(e[o],m,v)});let w=u.shape&&Math.round(b.y)>Math.round(u.shape.center.y)?1:0,A=e[o][m];return d(c({},e),{[o]:[...e[o].slice(0,m),...e[o].slice(m+1)],[l]:[...e[l].slice(0,v+w),A,...e[l].slice(v+w)]})}(e,t,f)}},80810:function(e,t,n){"use strict";n.d(t,{Df:function(){return g},LI:function(){return s},b3:function(){return d},dU:function(){return h},gY:function(){return f},q9:function(){return p},vc:function(){return c}});var r=n(2265),i=n(86923),a=n(22785),o=n(54887),l=n(13155),s="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?r.useLayoutEffect:r.useEffect;function u(){let e=(0,r.useState)(0)[1];return(0,r.useCallback)(()=>{e(e=>e+1)},[e])}function c(e,t=[],n=!1){let l=(0,r.useRef)(e);return l.current=e,function(e,t=!1){let n=(0,r.useRef)(e.peek()),a=(0,r.useRef)(!1),l=u();return s(()=>(0,i.cE)(()=>{let r=n.current,i=e.value;if(r!==i){if(n.current=i,!a.current)return;t?(0,o.flushSync)(l):l()}}),[e,t,l]),{get value(){return a.current=!0,e.peek()}}}((0,r.useMemo)(()=>(0,a.Fl)(()=>l.current()),t),n)}function d(e,t){let n=(0,r.useRef)(new Map),a=u();return s(()=>{if(!e){n.current.clear();return}return(0,i.cE)(()=>{var r;let l=!1,s=!1;for(let a of n.current){let[o]=a,u=(0,i.rg)(()=>a[1]),c=e[o];u!==c&&(l=!0,n.current.set(o,c),s=null!=(r=null==t?void 0:t(o,u,c))&&r)}l&&(s?queueMicrotask(()=>(0,o.flushSync)(a)):a())})},[e]),(0,r.useMemo)(()=>e?new Proxy(e,{get(e,t){let r=e[t];return n.current.set(t,r),r}}):e,[e])}function f(e,t){e()}function h(e){let t=(0,r.useRef)(e);return s(()=>{t.current=e},[e]),t}function p(e,t,n=r.useEffect,i=Object.is){let a=(0,r.useRef)(e);n(()=>{let n=a.current;i(e,n)||(a.current=e,t(e,n))},[t,e])}function g(e,t){let n=(0,r.useRef)((0,l.i)(e));s(()=>{let r=(0,l.i)(e);r!==n.current&&(n.current=r,t(r))})}},75473:function(e,t,n){"use strict";let r,i,a;n.d(t,{O1:function(){return F},Zj:function(){return ec},fz:function(){return T},wz:function(){return z},y9:function(){return Q}});var o,l,s,u,c,d,f,h=n(2265),p=n(81569),g=n(80452),m=n(80810),v=n(22785),y=n(86923),b=n(57437),w=n(13155),A=Object.defineProperty,k=Object.defineProperties,E=Object.getOwnPropertyDescriptors,C=Object.getOwnPropertySymbols,S=Object.prototype.hasOwnProperty,I=Object.prototype.propertyIsEnumerable,M=(e,t,n)=>t in e?A(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,_=(e,t)=>{for(var n in t||(t={}))S.call(t,n)&&M(e,n,t[n]);if(C)for(var n of C(t))I.call(t,n)&&M(e,n,t[n]);return e},O=(e,t)=>k(e,E(t)),P=(e,t)=>{var n={};for(var r in e)S.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&C)for(var r of C(e))0>t.indexOf(r)&&I.call(e,r)&&(n[r]=e[r]);return n},D=new p.Ae,R=(0,h.createContext)(D),j=(0,h.memo)((0,h.forwardRef)(({children:e},t)=>{let[n,r]=(0,h.useState)(0),i=(0,h.useRef)(null),a=(0,h.useRef)(null),o=(0,h.useMemo)(()=>({renderer:{get rendering(){var e;return null!=(e=i.current)?e:Promise.resolve()}},trackRendering(e){i.current||(i.current=new Promise(e=>{a.current=e})),(0,h.startTransition)(()=>{e(),r(e=>e+1)})}}),[]);return(0,m.LI)(()=>{var e;null==(e=a.current)||e.call(a),i.current=null},[e,n]),(0,h.useImperativeHandle)(t,()=>o),null})),B=[void 0,v.vZ];function z(e){var{children:t,onCollision:n,onBeforeDragStart:r,onDragStart:i,onDragMove:a,onDragOver:o,onDragEnd:l}=e,s=P(e,["children","onCollision","onBeforeDragStart","onDragStart","onDragMove","onDragOver","onDragEnd"]);let u=(0,h.useRef)(null),{plugins:c,modifiers:d,sensors:f}=s,v=(0,g.it)(c,p.RQ.plugins),y=(0,g.it)(f,p.RQ.sensors),w=(0,g.it)(d,p.RQ.modifiers),A=(0,m.dU)(r),k=(0,m.dU)(i),E=(0,m.dU)(o),C=(0,m.dU)(a),S=(0,m.dU)(l),I=(0,m.dU)(n),M=function(e){let t=(0,h.useRef)(null);return t.current||(t.current=e()),(0,h.useInsertionEffect)(()=>()=>{var e;return null==(e=t.current)?void 0:e.destroy()},[]),t.current}(()=>{var e;return null!=(e=s.manager)?e:new p.Ae(s)});return(0,h.useEffect)(()=>{if(!u.current)throw Error("Renderer not found");let{renderer:e,trackRendering:t}=u.current,{monitor:n}=M;M.renderer=e;let r=[n.addEventListener("beforedragstart",e=>{let n=A.current;n&&t(()=>n(e,M))}),n.addEventListener("dragstart",e=>{var t;return null==(t=k.current)?void 0:t.call(k,e,M)}),n.addEventListener("dragover",e=>{let n=E.current;n&&t(()=>n(e,M))}),n.addEventListener("dragmove",e=>{let n=C.current;n&&t(()=>n(e,M))}),n.addEventListener("dragend",e=>{let n=S.current;n&&t(()=>n(e,M))}),n.addEventListener("collision",e=>{var t;return null==(t=I.current)?void 0:t.call(I,e,M)})];return()=>r.forEach(e=>e())},[M]),(0,m.q9)(v,()=>M&&(M.plugins=v),...B),(0,m.q9)(y,()=>M&&(M.sensors=y),...B),(0,m.q9)(w,()=>M&&(M.modifiers=w),...B),(0,b.jsxs)(R.Provider,{value:M,children:[(0,b.jsx)(j,{ref:u,children:t}),t]})}function L(){return(0,h.useContext)(R)}function T(e){var t;let n=null!=(t=L())?t:void 0,[r]=(0,h.useState)(()=>e(n));return r.manager!==n&&(r.manager=n),(0,m.LI)(r.register,[n,r]),r}function F(e){let{disabled:t,data:n,element:r,handle:i,id:a,modifiers:o,sensors:l,plugins:s}=e,u=T(t=>new p._l(O(_({},e),{register:!1,handle:(0,w.i)(i),element:(0,w.i)(r)}),t)),c=(0,m.b3)(u,N);return(0,m.q9)(a,()=>u.id=a),(0,m.Df)(i,e=>u.handle=e),(0,m.Df)(r,e=>u.element=e),(0,m.q9)(n,()=>n&&(u.data=n)),(0,m.q9)(t,()=>u.disabled=!0===t),(0,m.q9)(l,()=>u.sensors=l),(0,m.q9)(o,()=>u.modifiers=o,void 0,v.vZ),(0,m.q9)(s,()=>u.plugins=s,void 0,v.vZ),(0,m.q9)(e.alignment,()=>u.alignment=e.alignment),{draggable:c,get isDragging(){return c.isDragging},get isDropping(){return c.isDropping},get isDragSource(){return c.isDragSource},handleRef:(0,h.useCallback)(e=>{u.handle=null!=e?e:void 0},[u]),ref:(0,h.useCallback)(e=>{var t,n;(e||null==(t=u.element)||!t.isConnected||(null==(n=u.manager)?void 0:n.dragOperation.status.idle))&&(u.element=null!=e?e:void 0)},[u])}}function N(e,t,n){return"isDragSource"===e&&!n&&!!t}function Q({children:e,className:t,dropAnimation:n,style:r,tag:i,disabled:a}){var o;let l=(0,h.useRef)(null),s=L(),u=null!=(o=(0,m.vc)(()=>null==s?void 0:s.dragOperation.source,[s]).value)?o:null,c="function"==typeof a?a(u):a;(0,h.useEffect)(()=>{if(!l.current||!s||c)return;let e=s.plugins.find(e=>e instanceof p.x2);if(e)return e.overlay=l.current,()=>{e.overlay=void 0}},[s,c]),(0,h.useEffect)(()=>{if(!s)return;let e=s.plugins.find(e=>e instanceof p.x2);if(e)return e.dropAnimation=n,()=>{e.dropAnimation=void 0}},[s,n]);let d=(0,h.useMemo)(()=>{if(!s)return null;let e=new Proxy(s.registry,{get:(e,t)=>"register"===t||"unregister"===t?Z:e[t]});return new Proxy(s,{get:(t,n)=>"registry"===n?e:t[n]})},[s]);return(0,b.jsx)(R.Provider,{value:d,children:(0,h.createElement)(i||"div",{ref:l,className:t,style:r,"data-dnd-overlay":!0},!u||c?null:"function"==typeof e?(0,b.jsx)(V,{source:u,children:e}):e)})}function Z(){return()=>{}}function V({children:e,source:t}){return e((0,m.b3)(t))}var U=Object.create,H=Object.defineProperty,q=Object.getOwnPropertyDescriptor,W=(e,t)=>(t=Symbol[e])?t:Symbol.for("Symbol."+e),$=e=>{throw TypeError(e)},G=["class","method","getter","setter","accessor","field","value","get","set"],Y=e=>void 0!==e&&"function"!=typeof e?$("Function expected"):e,X=(e,t,n,r,i)=>({kind:G[e],name:t,metadata:r,addInitializer:e=>n._?$("Already initialized"):i.push(Y(e||null))}),K=(e,t,n,r)=>{for(var i=0,a=e[t>>1],o=a&&a.length;i<o;i++)a[i].call(n);return r},J=(e,t,n,r,i,a)=>{for(var o,l,s,u=7&t,c=G[u+5],d=e[2]||(e[2]=[]),f=q(i=i.prototype,n),h=r.length-1;h>=0;h--)(s=X(u,n,l={},e[3],d)).static=!1,s.private=!1,(s.access={has:e=>n in e}).get=e=>e[n],o=(0,r[h])(f[c],s),l._=1,Y(o)&&(f[c]=o);return f&&H(i,n,f),i},ee=(e,t,n)=>t.has(e)||$("Cannot "+n),et=(e,t,n)=>(ee(e,t,"read from private field"),t.get(e)),en=(e,t,n)=>t.has(e)?$("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),er=(e,t,n,r)=>(ee(e,t,"write to private field"),t.set(e,n),n),ei=class e{constructor(e,t){this.x=e,this.y=t}static delta(t,n){return new e(t.x-n.x,t.y-n.y)}static distance(e,t){return Math.hypot(e.x-t.x,e.y-t.y)}static equals(e,t){return e.x===t.x&&e.y===t.y}static from({x:t,y:n}){return new e(t,n)}},ea=class extends(c=v.Pz,u=[v.nK],s=[v.nK],c){constructor(e){super(ei.from(e),(e,t)=>ei.equals(e,t)),K(f,5,this),en(this,d,0),this.velocity={x:0,y:0}}get delta(){return ei.delta(this.current,this.initial)}get direction(){let{current:e,previous:t}=this;if(!t)return null;let n={x:e.x-t.x,y:e.y-t.y};return n.x||n.y?Math.abs(n.x)>Math.abs(n.y)?n.x>0?"right":"left":n.y>0?"down":"up":null}get current(){return super.current}set current(e){let{current:t}=this,n=ei.from(e),r={x:n.x-t.x,y:n.y-t.y},i=Date.now(),a=i-et(this,d),o=e=>Math.round(e/a*100);(0,y.dC)(()=>{er(this,d,i),this.velocity={x:o(r.x),y:o(r.y)},super.current=n})}reset(e=this.defaultValue){super.reset(ei.from(e)),this.velocity={x:0,y:0}}};f=[,,,U(null!=(o=null==c?void 0:c[W("metadata")])?o:null)],d=new WeakMap,J(f,2,"delta",u,ea),J(f,2,"direction",s,ea),r=f,i=W("metadata"),a=r[3],i in ea?H(ea,i,{enumerable:!0,configurable:!0,writable:!0,value:a}):ea[i]=a;var eo=((l=eo||{}).Horizontal="x",l.Vertical="y",l);Object.values(eo);var el=({dragOperation:e,droppable:t})=>{let n=e.position.current;if(!n)return null;let{id:r}=t;return t.shape&&t.shape.containsPoint(n)?{id:r,value:1/ei.distance(t.shape.center,n),type:g.v2.PointerIntersection,priority:g.l3.High}:null},es=({dragOperation:e,droppable:t})=>{let{shape:n}=e;if(!t.shape||!(null==n?void 0:n.current))return null;let r=n.current.intersectionArea(t.shape);if(r){let{position:i}=e,a=ei.distance(t.shape.center,i.current),o=r/(n.current.area+t.shape.area-r);return{id:t.id,value:o/a,type:g.v2.ShapeIntersection,priority:g.l3.Normal}}return null},eu=e=>{var t;return null!=(t=el(e))?t:es(e)};function ec(e){let{collisionDetector:t,data:n,disabled:r,element:i,id:a,accept:o,type:l}=e,s=T(t=>new p.bK(O(_({},e),{register:!1,element:(0,w.i)(i)}),t)),u=(0,m.b3)(s);return(0,m.q9)(a,()=>s.id=a),(0,m.Df)(i,e=>s.element=e),(0,m.q9)(o,()=>s.accept=o,void 0,v.vZ),(0,m.q9)(t,()=>s.collisionDetector=null!=t?t:eu),(0,m.q9)(n,()=>n&&(s.data=n)),(0,m.q9)(r,()=>s.disabled=!0===r),(0,m.q9)(l,()=>s.type=l),{droppable:u,get isDropTarget(){return u.isDropTarget},ref:(0,h.useCallback)(e=>{var t,n;(e||null==(t=s.element)||!t.isConnected||(null==(n=s.manager)?void 0:n.dragOperation.status.idle))&&(s.element=null!=e?e:void 0)},[s])}}},34165:function(e,t,n){"use strict";let r,i,a;n.d(t,{nB:function(){return eS}});var o,l,s,u,c,d,f,h,p=n(2265),g=n(86923),m=n(22785),v=n(80452),y=n(90800),b=n(81569),w=n(47432),A=n(34195),k=Object.create,E=Object.defineProperty,C=Object.defineProperties,S=Object.getOwnPropertyDescriptor,I=Object.getOwnPropertyDescriptors,M=Object.getOwnPropertySymbols,_=Object.prototype.hasOwnProperty,O=Object.prototype.propertyIsEnumerable,P=e=>{throw TypeError(e)},D=(e,t,n)=>t in e?E(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,R=(e,t)=>{for(var n in t||(t={}))_.call(t,n)&&D(e,n,t[n]);if(M)for(var n of M(t))O.call(t,n)&&D(e,n,t[n]);return e},j=(e,t)=>C(e,I(t)),B=(e,t)=>{var n={};for(var r in e)_.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&M)for(var r of M(e))0>t.indexOf(r)&&O.call(e,r)&&(n[r]=e[r]);return n},z=["class","method","getter","setter","accessor","field","value","get","set"],L=e=>void 0!==e&&"function"!=typeof e?P("Function expected"):e,T=(e,t,n,r,i)=>({kind:z[e],name:t,metadata:r,addInitializer:e=>n._?P("Already initialized"):i.push(L(e||null))}),F=(e,t,n,r)=>{for(var i=0,a=e[t>>1],o=a&&a.length;i<o;i++)1&t?a[i].call(n):r=a[i].call(n,r);return r},N=(e,t,n,r,i,a)=>{for(var o,l,s,u,c,d=7&t,f=e.length+1,h=z[d+5],p=e[f-1]=[],g=e[f]||(e[f]=[]),m=(i=i.prototype,S({get[n](){return Z(this,a)},set[n](x){return U(this,a,x)}},n)),v=r.length-1;v>=0;v--)(u=T(d,n,s={},e[3],g)).static=!1,u.private=!1,(c=u.access={has:e=>n in e}).get=e=>e[n],c.set=(e,t)=>e[n]=t,l=(0,r[v])({get:m.get,set:m.set},u),s._=1,void 0===l?L(l)&&(m[h]=l):"object"!=typeof l||null===l?P("Object expected"):(L(o=l.get)&&(m.get=o),L(o=l.set)&&(m.set=o),L(o=l.init)&&p.unshift(o));return m&&E(i,n,m),i},Q=(e,t,n)=>t.has(e)||P("Cannot "+n),Z=(e,t,n)=>(Q(e,t,"read from private field"),t.get(e)),V=(e,t,n)=>t.has(e)?P("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),U=(e,t,n,r)=>(Q(e,t,"write to private field"),t.set(e,n),n);function H(e){return e instanceof eh||e instanceof ef}var q=class extends v.Sy{constructor(e){super(e);let t=(0,g.cE)(()=>{let{dragOperation:t}=e;if((0,w.vd)(t.activatorEvent)&&H(t.source)&&t.status.initialized){let t=e.registry.plugins.get(b.Tt);if(t)return t.disable(),()=>t.enable()}}),n=e.monitor.addEventListener("dragmove",(e,t)=>{queueMicrotask(()=>{if(this.disabled||e.defaultPrevented||!e.nativeEvent)return;let{dragOperation:n}=t;if(!(0,w.vd)(e.nativeEvent)||!H(n.source)||!n.shape)return;let{actions:r,collisionObserver:i,registry:a}=t,{by:o}=e;if(!o)return;let l=function(e){let{x:t,y:n}=e;return t>0?"right":t<0?"left":n>0?"down":n<0?"up":void 0}(o),{source:s,target:u}=n,{center:c}=n.shape.current,d=[],f=[];(0,g.dC)(()=>{for(let e of a.droppables){let{id:t}=e;if(!e.accepts(s)||t===(null==u?void 0:u.id)&&H(e)||!e.element)continue;let n=e.shape,r=new w.IM(e.element,{getBoundingClientRect:e=>(0,w.aV)(e,void 0,.2)});r.height&&r.width&&("down"==l&&c.y+10<r.center.y||"up"==l&&c.y-10>r.center.y||"left"==l&&c.x-10>r.center.x||"right"==l&&c.x+10<r.center.x)&&(d.push(e),e.shape=r,f.push(()=>e.shape=n))}}),e.preventDefault(),i.disable();let h=i.computeCollisions(d,y.ey);(0,g.dC)(()=>f.forEach(e=>e()));let[p]=h;if(!p)return;let{id:m}=p,{index:v,group:b}=s.sortable;r.setDropTarget(m).then(()=>{let{source:e,target:t,shape:a}=n;if(!e||!H(e)||!a)return;let{index:o,group:l,target:s}=e.sortable,u=v!==o||b!==l,c=u?s:null==t?void 0:t.element;if(!c)return;(0,w.n5)(c);let d=new w.IM(c);if(!d)return;let f=A.Ae.delta(d,A.Ae.from(a.current.boundingRectangle),e.alignment);r.move({by:f}),u?r.setDropTarget(e.id).then(()=>i.enable()):i.enable()})})});this.destroy=()=>{n(),t()}}},W=Object.defineProperty,$=Object.defineProperties,G=Object.getOwnPropertyDescriptors,Y=Object.getOwnPropertySymbols,X=Object.prototype.hasOwnProperty,K=Object.prototype.propertyIsEnumerable,J=(e,t,n)=>t in e?W(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ee=(e,t)=>{for(var n in t||(t={}))X.call(t,n)&&J(e,n,t[n]);if(Y)for(var n of Y(t))K.call(t,n)&&J(e,n,t[n]);return e},et=(e,t)=>$(e,G(t));function en(e,t,n){if(t===n)return e;let r=e.slice();return r.splice(n,0,r.splice(t,1)[0]),r}function er(e){return"initialIndex"in e&&"number"==typeof e.initialIndex&&"index"in e&&"number"==typeof e.index}var ei="__default__";function ea(e,t,n,r){n.insertAdjacentElement(r<t?"afterend":"beforebegin",e)}function eo(e,t){return e.index-t.index}function el(e){return Array.from(e).sort(eo)}var es=[q,class extends v.Sy{constructor(e){super(e);let t=()=>{let t=new Map;for(let n of e.registry.droppables)if(n instanceof eh){let{sortable:e}=n,{group:r}=e,i=t.get(r);i||(i=new Set,t.set(r,i)),i.add(e)}for(let[e,n]of t)t.set(e,new Set(el(n)));return t},n=[e.monitor.addEventListener("dragover",(e,n)=>{if(this.disabled)return;let{dragOperation:r}=n,{source:i,target:a}=r;if(!H(i)||!H(a)||i.sortable===a.sortable)return;let o=t(),l=i.sortable.group===a.sortable.group,s=o.get(i.sortable.group),u=l?s:o.get(a.sortable.group);s&&u&&queueMicrotask(()=>{e.defaultPrevented||n.renderer.rendering.then(()=>{var r,c,d;let f=t();for(let[e,t]of o.entries())for(let[n,i]of Array.from(t).entries())if(i.index!==n||i.group!==e||!(null==(r=f.get(e))?void 0:r.has(i)))return;let h=i.sortable.element,p=a.sortable.element;if(!p||!h||!l&&a.id===i.sortable.group)return;let m=el(s),v=l?m:el(u),y=null!=(c=i.sortable.group)?c:ei,b=null!=(d=a.sortable.group)?d:ei,w={[y]:m,[b]:v},A=function(e,t,n){var r,i,a;let o,l;let{source:s,target:u,canceled:c}=t.operation;if(!s||!u||c)return"preventDefault"in t&&t.preventDefault(),e;let d=(e,t)=>e===t||"object"==typeof e&&"id"in e&&e.id===t;if(Array.isArray(e)){let r=e.findIndex(e=>d(e,s.id)),i=e.findIndex(e=>d(e,u.id));if(-1===r||-1===i){if(er(s)){let r=s.initialIndex,i=s.index;return r===i||r<0||r>=e.length?("preventDefault"in t&&t.preventDefault(),e):n(e,r,i)}return e}if(!c&&"index"in s&&"number"==typeof s.index){let t=s.index;if(t!==r)return n(e,r,t)}return n(e,r,i)}let f=Object.entries(e),h=-1,p=-1;for(let[e,t]of f)if(-1===h&&-1!==(h=t.findIndex(e=>d(e,s.id)))&&(o=e),-1===p&&-1!==(p=t.findIndex(e=>d(e,u.id)))&&(l=e),-1!==h&&-1!==p)break;if(-1===h&&er(s)){let r=s.initialGroup,i=s.initialIndex,a=s.group,o=s.index;if(null==r||null==a||!(r in e)||!(a in e)||r===a&&i===o)return"preventDefault"in t&&t.preventDefault(),e;if(r===a)return et(ee({},e),{[r]:n(e[r],i,o)});let l=e[r][i];return et(ee({},e),{[r]:[...e[r].slice(0,i),...e[r].slice(i+1)],[a]:[...e[a].slice(0,o),l,...e[a].slice(o)]})}if(!s.manager)return e;let{dragOperation:g}=s.manager,m=null!=(i=null==(r=g.shape)?void 0:r.current.center)?i:g.position.current;if(null==l&&u.id in e){let t=u.shape&&m.y>u.shape.center.y?e[u.id].length:0;l=u.id,p=t}if(null==o||null==l||o===l&&h===p){if(null!=o&&o===l&&h===p&&er(s)){let t=null!=s.group&&s.group!==o,r=s.index!==h;if(t||r){let t=null!=(a=s.group)?a:o;if(t in e){if(o===t)return et(ee({},e),{[o]:n(e[o],h,s.index)});let r=e[o][h];return et(ee({},e),{[o]:[...e[o].slice(0,h),...e[o].slice(h+1)],[t]:[...e[t].slice(0,s.index),r,...e[t].slice(s.index)]})}}}return"preventDefault"in t&&t.preventDefault(),e}if(o===l)return et(ee({},e),{[o]:n(e[o],h,p)});let v=u.shape&&Math.round(m.y)>Math.round(u.shape.center.y)?1:0,y=e[o][h];return et(ee({},e),{[o]:[...e[o].slice(0,h),...e[o].slice(h+1)],[l]:[...e[l].slice(0,p+v),y,...e[l].slice(p+v)]})}(w,e,en);if(w===A)return;let k=A[b].indexOf(i.sortable),E=A[b].indexOf(a.sortable);n.collisionObserver.disable(),ea(h,k,p,E),(0,g.dC)(()=>{for(let[e,t]of A[y].entries())t.index=e;if(!l)for(let[e,t]of A[b].entries())t.group=a.sortable.group,t.index=e}),n.actions.setDropTarget(i.id).then(()=>n.collisionObserver.enable())})})}),e.monitor.addEventListener("dragend",(e,n)=>{if(!e.canceled)return;let{dragOperation:r}=n,{source:i}=r;H(i)&&(i.sortable.initialIndex!==i.sortable.index||i.sortable.initialGroup!==i.sortable.group)&&queueMicrotask(()=>{let e=t(),r=e.get(i.sortable.initialGroup);r&&n.renderer.rendering.then(()=>{for(let[t,n]of e.entries())for(let[e,r]of Array.from(n).entries())if(r.index!==e||r.group!==t)return;let t=el(r),n=i.sortable.element,a=t[i.sortable.initialIndex],o=null==a?void 0:a.element;a&&o&&n&&(ea(n,a.index,o,i.index),(0,g.dC)(()=>{for(let[t,n]of e.entries())for(let e of Array.from(n).values())e.index=e.initialIndex,e.group=e.initialGroup}))})})})];this.destroy=()=>{for(let e of n)e()}}}],eu={duration:250,easing:"cubic-bezier(0.25, 1, 0.5, 1)",idle:!1},ec=new m.SQ;l=[m.qj],o=[m.qj];var ed=class{constructor(e,t){V(this,u,F(s,8,this)),F(s,11,this),V(this,c),V(this,d),V(this,f,F(s,12,this)),F(s,15,this),V(this,h),this.register=()=>((0,g.dC)(()=>{var e,t;null==(e=this.manager)||e.registry.register(this.droppable),null==(t=this.manager)||t.registry.register(this.draggable)}),()=>this.unregister()),this.unregister=()=>{(0,g.dC)(()=>{var e,t;null==(e=this.manager)||e.registry.unregister(this.droppable),null==(t=this.manager)||t.registry.unregister(this.draggable)})},this.destroy=()=>{(0,g.dC)(()=>{this.droppable.destroy(),this.draggable.destroy()})};var{effects:n=()=>[],group:r,index:i,sensors:a,type:o,transition:l=eu,plugins:p}=e,m=B(e,["effects","group","index","sensors","type","transition","plugins"]);let y=(0,v.it)(p,es);this.droppable=new eh(m,t,this),this.draggable=new ef(j(R({},m),{plugins:y,effects:()=>[()=>{var e,t,n;let r=null==(e=this.manager)?void 0:e.dragOperation.status;(null==r?void 0:r.initializing)&&this.id===(null==(n=null==(t=this.manager)?void 0:t.dragOperation.source)?void 0:n.id)&&ec.clear(this.manager),(null==r?void 0:r.dragging)&&ec.set(this.manager,this.id,(0,g.rg)(()=>({initialIndex:this.index,initialGroup:this.group})))},()=>{let{index:e,group:t,manager:n}=this,r=Z(this,d),i=Z(this,c);(e!==r||t!==i)&&(U(this,d,e),U(this,c,t),this.animate())},()=>{var e,t;let{target:n}=this,{isDragSource:r}=this.draggable;"move"===(null!=(t=null==(e=this.draggable.pluginConfig(b.x2))?void 0:e.feedback)?t:"default")&&r&&(this.droppable.disabled=!n)},...n()],type:o,sensors:a}),t,this),U(this,h,m.element),this.manager=t,this.index=i,U(this,d,i),this.group=r,U(this,c,r),this.type=o,this.transition=l}get initialIndex(){var e,t;return null!=(t=null==(e=ec.get(this.manager,this.id))?void 0:e.initialIndex)?t:this.index}get initialGroup(){var e,t;return null!=(t=null==(e=ec.get(this.manager,this.id))?void 0:e.initialGroup)?t:this.group}animate(){(0,g.rg)(()=>{let{manager:e,transition:t}=this,{shape:n}=this.droppable;if(!e)return;let{idle:r}=e.dragOperation.status;n&&t&&(!r||t.idle)&&e.renderer.rendering.then(()=>{let{element:r}=this;if(!r)return;for(let e of r.getAnimations())"transitionProperty"in e&&("transform"===e.transitionProperty||"translate"===e.transitionProperty||"scale"===e.transitionProperty)&&e.cancel();let i=this.refreshShape();if(!i)return;let a={x:n.boundingRectangle.left-i.boundingRectangle.left,y:n.boundingRectangle.top-i.boundingRectangle.top},{translate:o}=(0,w.AH)(r),l=(0,w.RM)(r,o,!1),s=(0,w.RM)(r,o);if(a.x||a.y){let n=(0,w.nk)((0,w.Jj)(r))?j(R({},t),{duration:0}):t;(0,w.DE)({element:r,keyframes:{translate:[`${l.x+a.x}px ${l.y+a.y}px ${l.z}`,`${s.x}px ${s.y}px ${s.z}`]},options:n}).then(()=>{e.dragOperation.status.dragging||(this.droppable.shape=void 0)})}})})}get manager(){return this.draggable.manager}set manager(e){(0,g.dC)(()=>{this.draggable.manager=e,this.droppable.manager=e})}set element(e){(0,g.dC)(()=>{let t=Z(this,h),n=this.droppable.element,r=this.draggable.element;n&&n!==t||(this.droppable.element=e),r&&r!==t||(this.draggable.element=e),U(this,h,e)})}get element(){var e,t;let n=Z(this,h);if(n)return null!=(t=null!=(e=w.$U.get(n))?e:n)?t:this.droppable.element}set target(e){this.droppable.element=e}get target(){return this.droppable.element}set source(e){this.draggable.element=e}get source(){return this.draggable.element}get disabled(){return this.draggable.disabled&&this.droppable.disabled}set plugins(e){this.draggable.plugins=(0,v.it)(e,es)}set disabled(e){(0,g.dC)(()=>{this.droppable.disabled=e,this.draggable.disabled=e})}set data(e){(0,g.dC)(()=>{this.droppable.data=e,this.draggable.data=e})}set handle(e){this.draggable.handle=e}set id(e){this.droppable.id=e,this.draggable.id=e}get id(){return this.droppable.id}set sensors(e){this.draggable.sensors=e}set modifiers(e){this.draggable.modifiers=e}set collisionPriority(e){this.droppable.collisionPriority=e}set collisionDetector(e){this.droppable.collisionDetector=null!=e?e:y.vE}set alignment(e){this.draggable.alignment=e}get alignment(){return this.draggable.alignment}set type(e){(0,g.dC)(()=>{this.droppable.type=e,this.draggable.type=e})}get type(){return this.draggable.type}set accept(e){this.droppable.accept=e}get accept(){return this.droppable.accept}get isDropTarget(){return this.droppable.isDropTarget}get isDragSource(){return this.draggable.isDragSource}get isDragging(){return this.draggable.isDragging}get isDropping(){return this.draggable.isDropping}get status(){return this.draggable.status}refreshShape(){return this.droppable.refreshShape()}accepts(e){return this.droppable.accepts(e)}};s=[,,,k(null)],u=new WeakMap,c=new WeakMap,d=new WeakMap,f=new WeakMap,h=new WeakMap,N(s,4,"index",l,ed,u),N(s,4,"group",o,ed,f),r=s,D(ed,(i="metadata",(a=Symbol[i])?a:Symbol.for("Symbol."+i)),r[3]);var ef=class extends b._l{constructor(e,t,n){super(e,t),this.sortable=n}get index(){return this.sortable.index}get initialIndex(){return this.sortable.initialIndex}get group(){return this.sortable.group}get initialGroup(){return this.sortable.initialGroup}},eh=class extends b.bK{constructor(e,t,n){super(e,t),this.sortable=n}get index(){return this.sortable.index}get group(){return this.sortable.group}},ep=n(75473),eg=n(80810),em=n(13155),ev=Object.defineProperty,ey=Object.defineProperties,eb=Object.getOwnPropertyDescriptors,ew=Object.getOwnPropertySymbols,eA=Object.prototype.hasOwnProperty,ex=Object.prototype.propertyIsEnumerable,ek=(e,t,n)=>t in e?ev(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,eE=(e,t)=>{for(var n in t||(t={}))eA.call(t,n)&&ek(e,n,t[n]);if(ew)for(var n of ew(t))ex.call(t,n)&&ek(e,n,t[n]);return e},eC=(e,t)=>ey(e,eb(t));function eS(e){let{accept:t,collisionDetector:n,collisionPriority:r,id:i,data:a,element:o,handle:l,index:s,group:u,disabled:c,modifiers:d,sensors:f,target:h,type:v,plugins:y}=e,b=eE(eE({},eu),e.transition),w=(0,ep.fz)(t=>new ed(eC(eE({},e),{transition:b,register:!1,handle:(0,em.i)(l),element:(0,em.i)(o),target:(0,em.i)(h)}),t)),A=(0,eg.b3)(w,eI);return(0,eg.q9)(i,()=>w.id=i),(0,eg.LI)(()=>{(0,g.dC)(()=>{w.group=u,w.index=s})},[w,u,s]),(0,eg.q9)(v,()=>w.type=v),(0,eg.q9)(t,()=>w.accept=t,void 0,m.vZ),(0,eg.q9)(a,()=>a&&(w.data=a)),(0,eg.q9)(s,()=>{var e;(null==(e=w.manager)?void 0:e.dragOperation.status.idle)&&(null==b?void 0:b.idle)&&w.refreshShape()},eg.gY),(0,eg.Df)(l,e=>w.handle=e),(0,eg.Df)(o,e=>w.element=e),(0,eg.Df)(h,e=>w.target=e),(0,eg.q9)(c,()=>w.disabled=!0===c),(0,eg.q9)(f,()=>w.sensors=f),(0,eg.q9)(n,()=>w.collisionDetector=n),(0,eg.q9)(r,()=>w.collisionPriority=r),(0,eg.q9)(y,()=>w.plugins=y,void 0,m.vZ),(0,eg.q9)(b,()=>w.transition=b,void 0,m.vZ),(0,eg.q9)(d,()=>w.modifiers=d,void 0,m.vZ),(0,eg.q9)(e.alignment,()=>w.alignment=e.alignment),{sortable:A,get isDragging(){return A.isDragging},get isDropping(){return A.isDropping},get isDragSource(){return A.isDragSource},get isDropTarget(){return A.isDropTarget},handleRef:(0,p.useCallback)(e=>{w.handle=null!=e?e:void 0},[w]),ref:(0,p.useCallback)(e=>{var t,n;(e||null==(t=w.element)||!t.isConnected||(null==(n=w.manager)?void 0:n.dragOperation.status.idle))&&(w.element=null!=e?e:void 0)},[w]),sourceRef:(0,p.useCallback)(e=>{var t,n;(e||null==(t=w.source)||!t.isConnected||(null==(n=w.manager)?void 0:n.dragOperation.status.idle))&&(w.source=null!=e?e:void 0)},[w]),targetRef:(0,p.useCallback)(e=>{var t,n;(e||null==(t=w.target)||!t.isConnected||(null==(n=w.manager)?void 0:n.dragOperation.status.idle))&&(w.target=null!=e?e:void 0)},[w])}}function eI(e,t,n){return"isDragSource"===e&&!n&&!!t}},13155:function(e,t,n){"use strict";function r(e){var t;if(null!=e)return null!=e&&"object"==typeof e&&"current"in e?null!=(t=e.current)?t:void 0:e}n.d(t,{i:function(){return r}})},22785:function(e,t,n){"use strict";n.d(t,{CO:function(){return ei},Fl:function(){return K},Pz:function(){return er},SQ:function(){return ea},Sz:function(){return en},nK:function(){return ee},qj:function(){return J},vZ:function(){return function e(t,n){if(Object.is(t,n))return!0;if(null===t||null===n)return!1;if("function"==typeof t&&"function"==typeof n)return t===n;if(t instanceof Set&&n instanceof Set){if(t.size!==n.size)return!1;for(let e of t)if(!n.has(e))return!1;return!0}if(Array.isArray(t))return!!Array.isArray(n)&&t.length===n.length&&!t.some((t,r)=>!e(t,n[r]));if("object"==typeof t&&"object"==typeof n){let r=Object.keys(t),i=Object.keys(n);return r.length===i.length&&!r.some(r=>!e(t[r],n[r]))}return!1}}});var r,i,a,o,l,s,u,c,d,f,h,p,g,m,v,y,b,w,A,k,E,C=n(86923),S=Object.create,I=Object.defineProperty,M=Object.defineProperties,_=Object.getOwnPropertyDescriptor,O=Object.getOwnPropertyDescriptors,P=Object.getOwnPropertySymbols,D=Object.prototype.hasOwnProperty,R=Object.prototype.propertyIsEnumerable,j=(e,t)=>(t=Symbol[e])?t:Symbol.for("Symbol."+e),B=e=>{throw TypeError(e)},z=(e,t,n)=>t in e?I(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,L=(e,t)=>{for(var n in t||(t={}))D.call(t,n)&&z(e,n,t[n]);if(P)for(var n of P(t))R.call(t,n)&&z(e,n,t[n]);return e},T=(e,t)=>M(e,O(t)),F=(e,t)=>I(e,"name",{value:t,configurable:!0}),N=["class","method","getter","setter","accessor","field","value","get","set"],Q=e=>void 0!==e&&"function"!=typeof e?B("Function expected"):e,Z=(e,t,n,r,i)=>({kind:N[e],name:t,metadata:r,addInitializer:e=>n._?B("Already initialized"):i.push(Q(e||null))}),V=(e,t)=>z(t,j("metadata"),e[3]),U=(e,t,n,r)=>{for(var i=0,a=e[t>>1],o=a&&a.length;i<o;i++)1&t?a[i].call(n):r=a[i].call(n,r);return r},H=(e,t,n,r,i,a)=>{var o,l,s,u,c,d=7&t,f=!!(8&t),h=!!(16&t),p=d>3?e.length+1:d?f?1:2:0,g=N[d+5],m=d>3&&(e[p-1]=[]),v=e[p]||(e[p]=[]),y=d&&(h||f||(i=i.prototype),d<5&&(d>3||!h)&&_(d<4?i:{get[n](){return $(this,a)},set[n](x){return Y(this,a,x)}},n));d?h&&d<4&&F(a,(d>2?"set ":d>1?"get ":"")+n):F(i,n);for(var b=r.length-1;b>=0;b--)u=Z(d,n,s={},e[3],v),d&&(u.static=f,u.private=h,c=u.access={has:h?e=>W(i,e):e=>n in e},3^d&&(c.get=h?e=>(1^d?$:X)(e,i,4^d?a:y.get):e=>e[n]),d>2&&(c.set=h?(e,t)=>Y(e,i,t,4^d?a:y.set):(e,t)=>e[n]=t)),l=(0,r[b])(d?d<4?h?a:y[g]:d>4?void 0:{get:y.get,set:y.set}:i,u),s._=1,4^d||void 0===l?Q(l)&&(d>4?m.unshift(l):d?h?a=l:y[g]=l:i=l):"object"!=typeof l||null===l?B("Object expected"):(Q(o=l.get)&&(y.get=o),Q(o=l.set)&&(y.set=o),Q(o=l.init)&&m.unshift(o));return d||V(e,i),y&&I(i,n,y),h?4^d?a:y:i},q=(e,t,n)=>t.has(e)||B("Cannot "+n),W=(e,t)=>Object(t)!==t?B('Cannot use the "in" operator on this value'):e.has(t),$=(e,t,n)=>(q(e,t,"read from private field"),n?n.call(e):t.get(e)),G=(e,t,n)=>t.has(e)?B("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),Y=(e,t,n,r)=>(q(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),X=(e,t,n)=>(q(e,t,"access private method"),n);function K(e,t){if(t){let n;return(0,C.Fl)(()=>{let r=e();return r&&n&&t(n,r)?n:(n=r,r)})}return(0,C.Fl)(e)}function J({get:e},t){return{init:e=>(0,C.td)(e),get(){return e.call(this).value},set(t){let n=e.call(this);n.peek()!==t&&(n.value=t)}}}function ee(e,t){let n=new WeakMap;return function(){let t=n.get(this);return t||(t=K(e.bind(this)),n.set(this,t)),t.value}}function et(e=!0){return function(t,n){n.addInitializer(function(){let t="field"===n.kind?this:n.static?this:Object.getPrototypeOf(this),r=Object.getOwnPropertyDescriptor(t,n.name);r&&Object.defineProperty(t,n.name,T(L({},r),{enumerable:e}))})}}function en(...e){let t=e.map(e=>(0,C.cE)(e));return()=>t.forEach(e=>e())}s=[J],l=[J],o=[J],a=[et()],i=[et()],r=[et()];var er=class{constructor(e,t=Object.is){this.defaultValue=e,this.equals=t,U(u,5,this),G(this,p),G(this,c,U(u,8,this)),U(u,11,this),G(this,g,U(u,12,this)),U(u,15,this),G(this,b,U(u,16,this)),U(u,19,this),this.reset=this.reset.bind(this),this.reset()}get current(){return $(this,p,A)}get initial(){return $(this,p,f)}get previous(){return $(this,p,v)}set current(e){let t=(0,C.rg)(()=>$(this,p,A));e&&t&&this.equals(t,e)||(0,C.dC)(()=>{$(this,p,f)||Y(this,p,e,h),Y(this,p,t,y),Y(this,p,e,k)})}reset(e=this.defaultValue){(0,C.dC)(()=>{Y(this,p,void 0,y),Y(this,p,e,h),Y(this,p,e,k)})}};function ei(e){return(0,C.rg)(()=>{let t={};for(let n in e)t[n]=e[n];return t})}u=[,,,S(null)],c=new WeakMap,p=new WeakSet,g=new WeakMap,b=new WeakMap,f=(d=H(u,20,"#initial",s,p,c)).get,h=d.set,v=(m=H(u,20,"#previous",l,p,g)).get,y=m.set,A=(w=H(u,20,"#current",o,p,b)).get,k=w.set,H(u,2,"current",a,er),H(u,2,"initial",i,er),H(u,2,"previous",r,er),V(u,er);var ea=class{constructor(){G(this,E,new WeakMap)}get(e,t){var n;return e?null==(n=$(this,E).get(e))?void 0:n.get(t):void 0}set(e,t,n){var r;if(e)return $(this,E).has(e)||$(this,E).set(e,new Map),null==(r=$(this,E).get(e))?void 0:r.set(t,n)}clear(e){var t;return e?null==(t=$(this,E).get(e))?void 0:t.clear():void 0}};E=new WeakMap},51423:function(e,t,n){"use strict";let r;n.d(t,{H:function(){return V}});var i=n(39693),a=n(20830),o=n(77154),l=n(46753),s=n(85176),u=n(60067);class c extends s.l{constructor(e,t){super(),this.client=e,this.options=t,this.trackedProps=new Set,this.selectError=null,this.bindMethods(),this.setOptions(t)}bindMethods(){this.remove=this.remove.bind(this),this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.size&&(this.currentQuery.addObserver(this),d(this.currentQuery,this.options)&&this.executeFetch(),this.updateTimers())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return f(this.currentQuery,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return f(this.currentQuery,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.clearStaleTimeout(),this.clearRefetchInterval(),this.currentQuery.removeObserver(this)}setOptions(e,t){let n=this.options,r=this.currentQuery;if(this.options=this.client.defaultQueryOptions(e),(0,a.VS)(n,this.options)||this.client.getQueryCache().notify({type:"observerOptionsUpdated",query:this.currentQuery,observer:this}),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled)throw Error("Expected enabled to be a boolean");this.options.queryKey||(this.options.queryKey=n.queryKey),this.updateQuery();let i=this.hasListeners();i&&h(this.currentQuery,r,this.options,n)&&this.executeFetch(),this.updateResult(t),i&&(this.currentQuery!==r||this.options.enabled!==n.enabled||this.options.staleTime!==n.staleTime)&&this.updateStaleTimeout();let o=this.computeRefetchInterval();i&&(this.currentQuery!==r||this.options.enabled!==n.enabled||o!==this.currentRefetchInterval)&&this.updateRefetchInterval(o)}getOptimisticResult(e){let t=this.client.getQueryCache().build(this.client,e),n=this.createResult(t,e);return e.keepPreviousData||(void 0!==e.placeholderData?!n.isPlaceholderData:(0,a.VS)(this.getCurrentResult(),n))||(this.currentResult=n,this.currentResultOptions=this.options,this.currentResultState=this.currentQuery.state),n}getCurrentResult(){return this.currentResult}trackResult(e){let t={};return Object.keys(e).forEach(n=>{Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:()=>(this.trackedProps.add(n),e[n])})}),t}getCurrentQuery(){return this.currentQuery}remove(){this.client.getQueryCache().remove(this.currentQuery)}refetch({refetchPage:e,...t}={}){return this.fetch({...t,meta:{refetchPage:e}})}fetchOptimistic(e){let t=this.client.defaultQueryOptions(e),n=this.client.getQueryCache().build(this.client,t);return n.isFetchingOptimistic=!0,n.fetch().then(()=>this.createResult(n,t))}fetch(e){var t;return this.executeFetch({...e,cancelRefetch:null==(t=e.cancelRefetch)||t}).then(()=>(this.updateResult(),this.currentResult))}executeFetch(e){this.updateQuery();let t=this.currentQuery.fetch(this.options,e);return null!=e&&e.throwOnError||(t=t.catch(a.ZT)),t}updateStaleTimeout(){if(this.clearStaleTimeout(),a.sk||this.currentResult.isStale||!(0,a.PN)(this.options.staleTime))return;let e=(0,a.Kp)(this.currentResult.dataUpdatedAt,this.options.staleTime);this.staleTimeoutId=setTimeout(()=>{this.currentResult.isStale||this.updateResult()},e+1)}computeRefetchInterval(){var e;return"function"==typeof this.options.refetchInterval?this.options.refetchInterval(this.currentResult.data,this.currentQuery):null!=(e=this.options.refetchInterval)&&e}updateRefetchInterval(e){this.clearRefetchInterval(),this.currentRefetchInterval=e,!a.sk&&!1!==this.options.enabled&&(0,a.PN)(this.currentRefetchInterval)&&0!==this.currentRefetchInterval&&(this.refetchIntervalId=setInterval(()=>{(this.options.refetchIntervalInBackground||l.j.isFocused())&&this.executeFetch()},this.currentRefetchInterval))}updateTimers(){this.updateStaleTimeout(),this.updateRefetchInterval(this.computeRefetchInterval())}clearStaleTimeout(){this.staleTimeoutId&&(clearTimeout(this.staleTimeoutId),this.staleTimeoutId=void 0)}clearRefetchInterval(){this.refetchIntervalId&&(clearInterval(this.refetchIntervalId),this.refetchIntervalId=void 0)}createResult(e,t){let n;let r=this.currentQuery,i=this.options,o=this.currentResult,l=this.currentResultState,s=this.currentResultOptions,c=e!==r,f=c?e.state:this.currentQueryInitialState,g=c?this.currentResult:this.previousQueryResult,{state:m}=e,{dataUpdatedAt:v,error:y,errorUpdatedAt:b,fetchStatus:w,status:A}=m,k=!1,E=!1;if(t._optimisticResults){let n=this.hasListeners(),a=!n&&d(e,t),o=n&&h(e,r,t,i);(a||o)&&(w=(0,u.Kw)(e.options.networkMode)?"fetching":"paused",v||(A="loading")),"isRestoring"===t._optimisticResults&&(w="idle")}if(t.keepPreviousData&&!m.dataUpdatedAt&&null!=g&&g.isSuccess&&"error"!==A)n=g.data,v=g.dataUpdatedAt,A=g.status,k=!0;else if(t.select&&void 0!==m.data){if(o&&m.data===(null==l?void 0:l.data)&&t.select===this.selectFn)n=this.selectResult;else try{this.selectFn=t.select,n=t.select(m.data),n=(0,a.oE)(null==o?void 0:o.data,n,t),this.selectResult=n,this.selectError=null}catch(e){this.selectError=e}}else n=m.data;if(void 0!==t.placeholderData&&void 0===n&&"loading"===A){let e;if(null!=o&&o.isPlaceholderData&&t.placeholderData===(null==s?void 0:s.placeholderData))e=o.data;else if(e="function"==typeof t.placeholderData?t.placeholderData():t.placeholderData,t.select&&void 0!==e)try{e=t.select(e),this.selectError=null}catch(e){this.selectError=e}void 0!==e&&(A="success",n=(0,a.oE)(null==o?void 0:o.data,e,t),E=!0)}this.selectError&&(y=this.selectError,n=this.selectResult,b=Date.now(),A="error");let C="fetching"===w,S="loading"===A,I="error"===A;return{status:A,fetchStatus:w,isLoading:S,isSuccess:"success"===A,isError:I,isInitialLoading:S&&C,data:n,dataUpdatedAt:v,error:y,errorUpdatedAt:b,failureCount:m.fetchFailureCount,failureReason:m.fetchFailureReason,errorUpdateCount:m.errorUpdateCount,isFetched:m.dataUpdateCount>0||m.errorUpdateCount>0,isFetchedAfterMount:m.dataUpdateCount>f.dataUpdateCount||m.errorUpdateCount>f.errorUpdateCount,isFetching:C,isRefetching:C&&!S,isLoadingError:I&&0===m.dataUpdatedAt,isPaused:"paused"===w,isPlaceholderData:E,isPreviousData:k,isRefetchError:I&&0!==m.dataUpdatedAt,isStale:p(e,t),refetch:this.refetch,remove:this.remove}}updateResult(e){let t=this.currentResult,n=this.createResult(this.currentQuery,this.options);if(this.currentResultState=this.currentQuery.state,this.currentResultOptions=this.options,(0,a.VS)(n,t))return;this.currentResult=n;let r={cache:!0};(null==e?void 0:e.listeners)!==!1&&(()=>{if(!t)return!0;let{notifyOnChangeProps:e}=this.options,n="function"==typeof e?e():e;if("all"===n||!n&&!this.trackedProps.size)return!0;let r=new Set(null!=n?n:this.trackedProps);return this.options.useErrorBoundary&&r.add("error"),Object.keys(this.currentResult).some(e=>this.currentResult[e]!==t[e]&&r.has(e))})()&&(r.listeners=!0),this.notify({...r,...e})}updateQuery(){let e=this.client.getQueryCache().build(this.client,this.options);if(e===this.currentQuery)return;let t=this.currentQuery;this.currentQuery=e,this.currentQueryInitialState=e.state,this.previousQueryResult=this.currentResult,this.hasListeners()&&(null==t||t.removeObserver(this),e.addObserver(this))}onQueryUpdate(e){let t={};"success"===e.type?t.onSuccess=!e.manual:"error"!==e.type||(0,u.DV)(e.error)||(t.onError=!0),this.updateResult(t),this.hasListeners()&&this.updateTimers()}notify(e){o.V.batch(()=>{var t,n,r,i,a,o,l,s;e.onSuccess?(null==(t=(n=this.options).onSuccess)||t.call(n,this.currentResult.data),null==(r=(i=this.options).onSettled)||r.call(i,this.currentResult.data,null)):e.onError&&(null==(a=(o=this.options).onError)||a.call(o,this.currentResult.error),null==(l=(s=this.options).onSettled)||l.call(s,void 0,this.currentResult.error)),e.listeners&&this.listeners.forEach(({listener:e})=>{e(this.currentResult)}),e.cache&&this.client.getQueryCache().notify({query:this.currentQuery,type:"observerResultsUpdated"})})}}function d(e,t){return!1!==t.enabled&&!e.state.dataUpdatedAt&&!("error"===e.state.status&&!1===t.retryOnMount)||e.state.dataUpdatedAt>0&&f(e,t,t.refetchOnMount)}function f(e,t,n){if(!1!==t.enabled){let r="function"==typeof n?n(e):n;return"always"===r||!1!==r&&p(e,t)}return!1}function h(e,t,n,r){return!1!==n.enabled&&(e!==t||!1===r.enabled)&&(!n.suspense||"error"!==e.state.status)&&p(e,n)}function p(e,t){return e.isStaleByTime(t.staleTime)}var g=n(2265);let m=n(82558).useSyncExternalStore,v=g.createContext((r=!1,{clearReset:()=>{r=!1},reset:()=>{r=!0},isReset:()=>r})),y=()=>g.useContext(v),b=g.createContext(!1),w=()=>g.useContext(b);function A(e,t){return"function"==typeof e?e(...t):!!e}b.Provider;let k=(e,t)=>{(e.suspense||e.useErrorBoundary)&&!t.isReset()&&(e.retryOnMount=!1)},E=e=>{g.useEffect(()=>{e.clearReset()},[e])},C=e=>{let{result:t,errorResetBoundary:n,useErrorBoundary:r,query:i}=e;return t.isError&&!n.isReset()&&!t.isFetching&&A(r,[t.error,i])},S=e=>{e.suspense&&("number"!=typeof e.staleTime&&(e.staleTime=1e3),"number"==typeof e.cacheTime&&(e.cacheTime=Math.max(e.cacheTime,1e3)))},I=(e,t)=>e.isLoading&&e.isFetching&&!t,M=(e,t,n)=>(null==e?void 0:e.suspense)&&I(t,n),_=(e,t,n)=>t.fetchOptimistic(e).then(({data:t})=>{null==e.onSuccess||e.onSuccess(t),null==e.onSettled||e.onSettled(t,null)}).catch(t=>{n.clearReset(),null==e.onError||e.onError(t),null==e.onSettled||e.onSettled(void 0,t)});function O(e,t){let n=(0,i.NL)({context:e.context}),r=w(),a=y(),l=n.defaultQueryOptions(e);l._optimisticResults=r?"isRestoring":"optimistic",l.onError&&(l.onError=o.V.batchCalls(l.onError)),l.onSuccess&&(l.onSuccess=o.V.batchCalls(l.onSuccess)),l.onSettled&&(l.onSettled=o.V.batchCalls(l.onSettled)),S(l),k(l,a),E(a);let[s]=g.useState(()=>new t(n,l)),u=s.getOptimisticResult(l);if(m(g.useCallback(e=>{let t=r?()=>void 0:s.subscribe(o.V.batchCalls(e));return s.updateResult(),t},[s,r]),()=>s.getCurrentResult(),()=>s.getCurrentResult()),g.useEffect(()=>{s.setOptions(l,{listeners:!1})},[l,s]),M(l,u,r))throw _(l,s,a);if(C({result:u,errorResetBoundary:a,useErrorBoundary:l.useErrorBoundary,query:s.getCurrentQuery()}))throw u.error;return l.notifyOnChangeProps?u:s.trackResult(u)}function P(e,t,n){return O((0,a._v)(e,t,n),c)}var D=n(8074);class R extends c{constructor(e,t){super(e,t)}bindMethods(){super.bindMethods(),this.fetchNextPage=this.fetchNextPage.bind(this),this.fetchPreviousPage=this.fetchPreviousPage.bind(this)}setOptions(e,t){super.setOptions({...e,behavior:(0,D.Gm)()},t)}getOptimisticResult(e){return e.behavior=(0,D.Gm)(),super.getOptimisticResult(e)}fetchNextPage({pageParam:e,...t}={}){return this.fetch({...t,meta:{fetchMore:{direction:"forward",pageParam:e}}})}fetchPreviousPage({pageParam:e,...t}={}){return this.fetch({...t,meta:{fetchMore:{direction:"backward",pageParam:e}}})}createResult(e,t){var n,r,i,a,o,l;let{state:s}=e,u=super.createResult(e,t),{isFetching:c,isRefetching:d}=u,f=c&&(null==(n=s.fetchMeta)?void 0:null==(r=n.fetchMore)?void 0:r.direction)==="forward",h=c&&(null==(i=s.fetchMeta)?void 0:null==(a=i.fetchMore)?void 0:a.direction)==="backward";return{...u,fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:(0,D.Qy)(t,null==(o=s.data)?void 0:o.pages),hasPreviousPage:(0,D.ZF)(t,null==(l=s.data)?void 0:l.pages),isFetchingNextPage:f,isFetchingPreviousPage:h,isRefetching:d&&!f&&!h}}}function j(e,t,n){return O((0,a._v)(e,t,n),R)}var B=n(76312);class z extends s.l{constructor(e,t){super(),this.client=e,this.setOptions(t),this.bindMethods(),this.updateResult()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(e){var t;let n=this.options;this.options=this.client.defaultMutationOptions(e),(0,a.VS)(n,this.options)||this.client.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.currentMutation,observer:this}),null==(t=this.currentMutation)||t.setOptions(this.options)}onUnsubscribe(){if(!this.hasListeners()){var e;null==(e=this.currentMutation)||e.removeObserver(this)}}onMutationUpdate(e){this.updateResult();let t={listeners:!0};"success"===e.type?t.onSuccess=!0:"error"===e.type&&(t.onError=!0),this.notify(t)}getCurrentResult(){return this.currentResult}reset(){this.currentMutation=void 0,this.updateResult(),this.notify({listeners:!0})}mutate(e,t){return this.mutateOptions=t,this.currentMutation&&this.currentMutation.removeObserver(this),this.currentMutation=this.client.getMutationCache().build(this.client,{...this.options,variables:void 0!==e?e:this.options.variables}),this.currentMutation.addObserver(this),this.currentMutation.execute()}updateResult(){let e=this.currentMutation?this.currentMutation.state:(0,B.R)(),t="loading"===e.status,n={...e,isLoading:t,isPending:t,isSuccess:"success"===e.status,isError:"error"===e.status,isIdle:"idle"===e.status,mutate:this.mutate,reset:this.reset};this.currentResult=n}notify(e){o.V.batch(()=>{if(this.mutateOptions&&this.hasListeners()){var t,n,r,i,a,o,l,s;e.onSuccess?(null==(t=(n=this.mutateOptions).onSuccess)||t.call(n,this.currentResult.data,this.currentResult.variables,this.currentResult.context),null==(r=(i=this.mutateOptions).onSettled)||r.call(i,this.currentResult.data,null,this.currentResult.variables,this.currentResult.context)):e.onError&&(null==(a=(o=this.mutateOptions).onError)||a.call(o,this.currentResult.error,this.currentResult.variables,this.currentResult.context),null==(l=(s=this.mutateOptions).onSettled)||l.call(s,void 0,this.currentResult.error,this.currentResult.variables,this.currentResult.context))}e.listeners&&this.listeners.forEach(({listener:e})=>{e(this.currentResult)})})}}function L(){}function T(e,t){let n={...e};for(let e of t)delete n[e];return n}function F(e,t){let n={};if(e)for(let r of t)r in e&&void 0!==e[r]&&(n[r]=e[r]);return n}function N(e){return e.charAt(0).toUpperCase()+e.slice(1)}function Q(e){return!!e}function Z(...e){let t=e.filter(Q);if(t.length<2)return t[0];let n=new AbortController;function r(){n.abort(),t.forEach(e=>{e.removeEventListener("abort",r)})}return t.forEach(e=>{e.aborted?r():e.addEventListener("abort",r)}),n.signal}var V=class{constructor(e,t,n={}){this.apiName=e,this.zodios=t,this.options=n,this.injectAliasEndpoints()}injectAliasEndpoints(){this.zodios.api.forEach(e=>{e.alias&&(["post","put","patch","delete"].includes(e.method)?"post"===e.method&&e.immutable?this[`use${N(e.alias)}`]=(t,n,r)=>this.useImmutableQuery(e.path,t,n,r):this[`use${N(e.alias)}`]=(t,n)=>this.useMutation(e.method,e.path,t,n):this[`use${N(e.alias)}`]=(t,n)=>this.useQuery(e.path,t,n))})}getEndpointByPath(e,t){return this.zodios.api.find(n=>n.method===e&&n.path===t)}getEndpointByAlias(e){return this.zodios.api.find(t=>t.alias===e)}getKeyByPath(e,t,n){let r=this.getEndpointByPath(e,t);if(!r)throw Error(`No endpoint found for path '${e} ${t}'`);if(n){let e=F(n,["params","queries"]);return[{api:this.apiName,path:r.path},e]}return[{api:this.apiName,path:r.path}]}getKeyByAlias(e,t){let n=this.getEndpointByAlias(e);if(!n)throw Error(`No endpoint found for alias '${e}'`);if(t){let e=F(t,["params","queries"]);return[{api:this.apiName,path:n.path},e]}return[{api:this.apiName,path:n.path}]}useQuery(e,...[t,n]){let r=F(t,["params","queries"]),a=[{api:this.apiName,path:e},r],o=this.options.shouldAbortOnUnmount?({signal:n})=>this.zodios.get(e,{...t,signal:Z(n,null==t?void 0:t.signal)}):()=>this.zodios.get(e,t),l=(0,i.NL)(),s=P(a,o,n);return s.invalidate=()=>l.invalidateQueries(a),s.key=a,s}useImmutableQuery(e,t,...[n,r]){let a=F(n,["params","queries"]),o=[{api:this.apiName,path:e},a,t],l=this.options.shouldAbortOnUnmount?({signal:r})=>this.zodios.post(e,t,{...n,signal:Z(r,null==n?void 0:n.signal)}):()=>this.zodios.post(e,t,n),s=(0,i.NL)(),u=P(o,l,r);return u.invalidate=()=>s.invalidateQueries(o),u.key=o,u}useInfiniteQuery(e,...[t,n]){let r=F(t,["params","queries"]);r.params&&n&&(r.params=T(r.params,n.getPageParamList())),r.queries&&n&&(r.queries=T(r.queries,n.getPageParamList()));let a=[{api:this.apiName,path:e},r],o=this.options.shouldAbortOnUnmount?({pageParam:n,signal:r})=>this.zodios.get(e,{...t,queries:{...null==t?void 0:t.queries,...null==n?void 0:n.queries},params:{...null==t?void 0:t.params,...null==n?void 0:n.params},signal:Z(r,null==t?void 0:t.signal)}):({pageParam:n})=>this.zodios.get(e,{...t,queries:{...null==t?void 0:t.queries,...null==n?void 0:n.queries},params:{...null==t?void 0:t.params,...null==n?void 0:n.params}}),l=(0,i.NL)();return{invalidate:()=>l.invalidateQueries(a),key:a,...j(a,o,n)}}useImmutableInfiniteQuery(e,t,...[n,r]){let a,o=F(n,["params","queries"]);o.params&&r&&(o.params=T(o.params,r.getPageParamList())),o.queries&&r&&(o.queries=T(o.queries,r.getPageParamList())),t&&r&&(a=T(t,r.getPageParamList()));let l=[{api:this.apiName,path:e},o,a],s=this.options.shouldAbortOnUnmount?({pageParam:r,signal:i})=>this.zodios.post(e,{...t,...null==r?void 0:r.body},{...n,queries:{...null==n?void 0:n.queries,...null==r?void 0:r.queries},params:{...null==n?void 0:n.params,...null==r?void 0:r.params},signal:Z(i,null==n?void 0:n.signal)}):({pageParam:r})=>this.zodios.post(e,{...t,...null==r?void 0:r.body},{...n,queries:{...null==n?void 0:n.queries,...null==r?void 0:r.queries},params:{...null==n?void 0:n.params,...null==r?void 0:r.params}}),u=(0,i.NL)();return{invalidate:()=>u.invalidateQueries(l),key:l,...j(l,s,r)}}useMutation(e,t,...[n,r]){return function(e,t,n){let r=(0,a.lV)(e,t,void 0),l=(0,i.NL)({context:r.context}),[s]=g.useState(()=>new z(l,r));g.useEffect(()=>{s.setOptions(r)},[s,r]);let u=m(g.useCallback(e=>s.subscribe(o.V.batchCalls(e)),[s]),()=>s.getCurrentResult(),()=>s.getCurrentResult()),c=g.useCallback((e,t)=>{s.mutate(e,t).catch(L)},[s]);if(u.error&&A(s.options.useErrorBoundary,[u.error]))throw u.error;return{...u,mutate:c,mutateAsync:u.mutate}}(r=>this.zodios.request({...n,method:e,url:t,data:r}),r)}useGet(e,...t){return this.useQuery(e,...t)}usePost(e,...t){return this.useMutation("post",e,...t)}usePut(e,...t){return this.useMutation("put",e,...t)}usePatch(e,...t){return this.useMutation("patch",e,...t)}useDelete(e,...t){return this.useMutation("delete",e,...t)}}},8289:function(e,t,n){"use strict";n.d(t,{Jg:function(){return O}});var r=n(2265);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function a(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)t.indexOf(n=a[r])>=0||(i[n]=e[n]);return i}function o(e){var t=(0,r.useRef)(e),n=(0,r.useRef)(function(e){t.current&&t.current(e)});return t.current=e,n.current}var l,s=function(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=1),e>n?n:e<t?t:e},u=function(e){return"touches"in e},c=function(e){return e&&e.ownerDocument.defaultView||self},d=function(e,t,n){var r=e.getBoundingClientRect(),i=u(t)?function(e,t){for(var n=0;n<e.length;n++)if(e[n].identifier===t)return e[n];return e[0]}(t.touches,n):t;return{left:s((i.pageX-(r.left+c(e).pageXOffset))/r.width),top:s((i.pageY-(r.top+c(e).pageYOffset))/r.height)}},f=function(e){u(e)||e.preventDefault()},h=r.memo(function(e){var t=e.onMove,n=e.onKey,l=a(e,["onMove","onKey"]),s=(0,r.useRef)(null),h=o(t),p=o(n),g=(0,r.useRef)(null),m=(0,r.useRef)(!1),v=(0,r.useMemo)(function(){var e=function(e){f(e),(u(e)?e.touches.length>0:e.buttons>0)&&s.current?h(d(s.current,e,g.current)):n(!1)},t=function(){return n(!1)};function n(n){var r=m.current,i=c(s.current),a=n?i.addEventListener:i.removeEventListener;a(r?"touchmove":"mousemove",e),a(r?"touchend":"mouseup",t)}return[function(e){var t=e.nativeEvent,r=s.current;if(r&&(f(t),(!m.current||u(t))&&r)){if(u(t)){m.current=!0;var i=t.changedTouches||[];i.length&&(g.current=i[0].identifier)}r.focus(),h(d(r,t,g.current)),n(!0)}},function(e){var t=e.which||e.keyCode;t<37||t>40||(e.preventDefault(),p({left:39===t?.05:37===t?-.05:0,top:40===t?.05:38===t?-.05:0}))},n]},[p,h]),y=v[0],b=v[1],w=v[2];return(0,r.useEffect)(function(){return w},[w]),r.createElement("div",i({},l,{onTouchStart:y,onMouseDown:y,className:"react-colorful__interactive",ref:s,onKeyDown:b,tabIndex:0,role:"slider"}))}),p=function(e){return e.filter(Boolean).join(" ")},g=function(e){var t=e.color,n=e.left,i=e.top,a=p(["react-colorful__pointer",e.className]);return r.createElement("div",{className:a,style:{top:100*(void 0===i?.5:i)+"%",left:100*n+"%"}},r.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:t}}))},m=function(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=Math.pow(10,t)),Math.round(n*e)/n},v=function(e){var t=e.s,n=e.v,r=e.a,i=(200-t)*n/100;return{h:m(e.h),s:m(i>0&&i<200?t*n/100/(i<=100?i:200-i)*100:0),l:m(i/2),a:m(r,2)}},y=function(e){var t=v(e);return"hsl("+t.h+", "+t.s+"%, "+t.l+"%)"},b=function(e){var t=v(e);return"hsla("+t.h+", "+t.s+"%, "+t.l+"%, "+t.a+")"},w=r.memo(function(e){var t=e.hue,n=e.onChange,i=p(["react-colorful__hue",e.className]);return r.createElement("div",{className:i},r.createElement(h,{onMove:function(e){n({h:360*e.left})},onKey:function(e){n({h:s(t+360*e.left,0,360)})},"aria-label":"Hue","aria-valuenow":m(t),"aria-valuemax":"360","aria-valuemin":"0"},r.createElement(g,{className:"react-colorful__hue-pointer",left:t/360,color:y({h:t,s:100,v:100,a:1})})))}),A=r.memo(function(e){var t=e.hsva,n=e.onChange,i={backgroundColor:y({h:t.h,s:100,v:100,a:1})};return r.createElement("div",{className:"react-colorful__saturation",style:i},r.createElement(h,{onMove:function(e){n({s:100*e.left,v:100-100*e.top})},onKey:function(e){n({s:s(t.s+100*e.left,0,100),v:s(t.v-100*e.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+m(t.s)+"%, Brightness "+m(t.v)+"%"},r.createElement(g,{className:"react-colorful__saturation-pointer",top:1-t.v/100,left:t.s/100,color:y(t)})))}),k=function(e,t){if(e===t)return!0;for(var n in e)if(e[n]!==t[n])return!1;return!0},E="undefined"!=typeof window?r.useLayoutEffect:r.useEffect,C=new Map,S=function(e){E(function(){var t=e.current?e.current.ownerDocument:document;if(void 0!==t&&!C.has(t)){var r=t.createElement("style");r.innerHTML='.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url(\'data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill-opacity=".05"><path d="M8 0h8v8H8zM0 8h8v8H0z"/></svg>\')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}',C.set(t,r);var i=l||n.nc;i&&r.setAttribute("nonce",i),t.head.appendChild(r)}},[])},I=function(e){var t=e.className,n=e.hsva,i=e.onChange,a={backgroundImage:"linear-gradient(90deg, "+b(Object.assign({},n,{a:0}))+", "+b(Object.assign({},n,{a:1}))+")"},o=p(["react-colorful__alpha",t]),l=m(100*n.a);return r.createElement("div",{className:o},r.createElement("div",{className:"react-colorful__alpha-gradient",style:a}),r.createElement(h,{onMove:function(e){i({a:e.left})},onKey:function(e){i({a:s(n.a+e.left)})},"aria-label":"Alpha","aria-valuetext":l+"%","aria-valuenow":l,"aria-valuemin":"0","aria-valuemax":"100"},r.createElement(g,{className:"react-colorful__alpha-pointer",left:n.a,color:b(n)})))},M=function(e){var t,n,l,s,u,c=e.className,d=e.colorModel,f=e.color,h=void 0===f?d.defaultColor:f,g=e.onChange,m=a(e,["className","colorModel","color","onChange"]),v=(0,r.useRef)(null);S(v);var y=(t=o(g),l=(n=(0,r.useState)(function(){return d.toHsva(h)}))[0],s=n[1],u=(0,r.useRef)({color:h,hsva:l}),(0,r.useEffect)(function(){if(!d.equal(h,u.current.color)){var e=d.toHsva(h);u.current={hsva:e,color:h},s(e)}},[h,d]),(0,r.useEffect)(function(){var e;k(l,u.current.hsva)||d.equal(e=d.fromHsva(l),u.current.color)||(u.current={hsva:l,color:e},t(e))},[l,d,t]),[l,(0,r.useCallback)(function(e){s(function(t){return Object.assign({},t,e)})},[])]),b=y[0],E=y[1],C=p(["react-colorful",c]);return r.createElement("div",i({},m,{ref:v,className:C}),r.createElement(A,{hsva:b,onChange:E}),r.createElement(w,{hue:b.h,onChange:E}),r.createElement(I,{hsva:b,onChange:E,className:"react-colorful__last-control"}))},_={defaultColor:{r:0,g:0,b:0,a:1},toHsva:function(e){var t=e.r,n=e.g,r=e.b,i=e.a,a=Math.max(t,n,r),o=a-Math.min(t,n,r),l=o?a===t?(n-r)/o:a===n?2+(r-t)/o:4+(t-n)/o:0;return{h:m(60*(l<0?l+6:l)),s:m(a?o/a*100:0),v:m(a/255*100),a:i}},fromHsva:function(e){var t=e.h,n=e.s,r=e.v,i=e.a;t=t/360*6,n/=100,r/=100;var a=Math.floor(t),o=r*(1-n),l=r*(1-(t-a)*n),s=r*(1-(1-t+a)*n),u=a%6;return{r:m(255*[r,l,o,o,s,r][u]),g:m(255*[s,r,r,l,o,o][u]),b:m(255*[o,o,s,r,r,l][u]),a:m(i,2)}},equal:k},O=function(e){return r.createElement(M,i({},e,{colorModel:_}))}},29501:function(e,t,n){"use strict";n.d(t,{Gc:function(){return I},RV:function(){return M},bc:function(){return L},cI:function(){return eS},cl:function(){return P},qo:function(){return z}});var r=n(2265),i=e=>"checkbox"===e.type,a=e=>e instanceof Date,o=e=>null==e;let l=e=>"object"==typeof e;var s=e=>!o(e)&&!Array.isArray(e)&&l(e)&&!a(e),u=e=>s(e)&&e.target?i(e.target)?e.target.checked:e.target.value:e,c=e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e,d=(e,t)=>e.has(c(t)),f=e=>{let t=e.constructor&&e.constructor.prototype;return s(t)&&t.hasOwnProperty("isPrototypeOf")},h="undefined"!=typeof window&&void 0!==window.HTMLElement&&"undefined"!=typeof document;function p(e){let t;let n=Array.isArray(e),r="undefined"!=typeof FileList&&e instanceof FileList;if(e instanceof Date)t=new Date(e);else if(!(!(h&&(e instanceof Blob||r))&&(n||s(e))))return e;else if(t=n?[]:Object.create(Object.getPrototypeOf(e)),n||f(e))for(let n in e)e.hasOwnProperty(n)&&(t[n]=p(e[n]));else t=e;return t}var g=e=>/^\w*$/.test(e),m=e=>void 0===e,v=e=>Array.isArray(e)?e.filter(Boolean):[],y=e=>v(e.replace(/["|']|\]/g,"").split(/\.|\[/)),b=(e,t,n)=>{if(!t||!s(e))return n;let r=(g(t)?[t]:y(t)).reduce((e,t)=>o(e)?e:e[t],e);return m(r)||r===e?m(e[t])?n:e[t]:r},w=e=>"boolean"==typeof e,A=(e,t,n)=>{let r=-1,i=g(t)?[t]:y(t),a=i.length,o=a-1;for(;++r<a;){let t=i[r],a=n;if(r!==o){let n=e[t];a=s(n)||Array.isArray(n)?n:isNaN(+i[r+1])?{}:[]}if("__proto__"===t||"constructor"===t||"prototype"===t)return;e[t]=a,e=e[t]}};let k={BLUR:"blur",FOCUS_OUT:"focusout",CHANGE:"change"},E={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},C={max:"max",min:"min",maxLength:"maxLength",minLength:"minLength",pattern:"pattern",required:"required",validate:"validate"},S=r.createContext(null);S.displayName="HookFormContext";let I=()=>r.useContext(S),M=e=>{let{children:t,...n}=e;return r.createElement(S.Provider,{value:n},t)};var _=(e,t,n,r=!0)=>{let i={defaultValues:t._defaultValues};for(let a in e)Object.defineProperty(i,a,{get:()=>(t._proxyFormState[a]!==E.all&&(t._proxyFormState[a]=!r||E.all),n&&(n[a]=!0),e[a])});return i};let O="undefined"!=typeof window?r.useLayoutEffect:r.useEffect;function P(e){let t=I(),{control:n=t.control,disabled:i,name:a,exact:o}=e||{},[l,s]=r.useState(n._formState),u=r.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,validatingFields:!1,isValidating:!1,isValid:!1,errors:!1});return O(()=>n._subscribe({name:a,formState:u.current,exact:o,callback:e=>{i||s({...n._formState,...e})}}),[a,i,o]),r.useEffect(()=>{u.current.isValid&&n._setValid(!0)},[n]),r.useMemo(()=>_(l,n,u.current,!1),[l,n])}var D=e=>"string"==typeof e,R=(e,t,n,r,i)=>D(e)?(r&&t.watch.add(e),b(n,e,i)):Array.isArray(e)?e.map(e=>(r&&t.watch.add(e),b(n,e))):(r&&(t.watchAll=!0),n),j=e=>o(e)||!l(e);function B(e,t,n=new WeakSet){if(j(e)||j(t))return Object.is(e,t);if(a(e)&&a(t))return e.getTime()===t.getTime();let r=Object.keys(e),i=Object.keys(t);if(r.length!==i.length)return!1;if(n.has(e)||n.has(t))return!0;for(let o of(n.add(e),n.add(t),r)){let r=e[o];if(!i.includes(o))return!1;if("ref"!==o){let e=t[o];if(a(r)&&a(e)||s(r)&&s(e)||Array.isArray(r)&&Array.isArray(e)?!B(r,e,n):!Object.is(r,e))return!1}}return!0}function z(e){let t=I(),{control:n=t.control,name:i,defaultValue:a,disabled:o,exact:l,compute:s}=e||{},u=r.useRef(a),c=r.useRef(s),d=r.useRef(void 0),f=r.useRef(n),h=r.useRef(i);c.current=s;let[p,g]=r.useState(()=>{let e=n._getWatch(i,u.current);return c.current?c.current(e):e}),m=r.useCallback(e=>{let t=R(i,n._names,e||n._formValues,!1,u.current);return c.current?c.current(t):t},[n._formValues,n._names,i]),v=r.useCallback(e=>{if(!o){let t=R(i,n._names,e||n._formValues,!1,u.current);if(c.current){let e=c.current(t);B(e,d.current)||(g(e),d.current=e)}else g(t)}},[n._formValues,n._names,o,i]);O(()=>(f.current===n&&B(h.current,i)||(f.current=n,h.current=i,v()),n._subscribe({name:i,formState:{values:!0},exact:l,callback:e=>{v(e.values)}})),[n,l,i,v]),r.useEffect(()=>n._removeUnmounted());let y=f.current!==n,b=h.current,w=r.useMemo(()=>{if(o)return null;let e=!y&&!B(b,i);return y||e?m():null},[o,y,i,b,m]);return null!==w?w:p}function L(e){let t=I(),{name:n,disabled:i,control:a=t.control,shouldUnregister:o,defaultValue:l,exact:s=!0}=e,c=d(a._names.array,n),f=r.useMemo(()=>b(a._formValues,n,b(a._defaultValues,n,l)),[a,n,l]),h=z({control:a,name:n,defaultValue:f,exact:s}),g=P({control:a,name:n,exact:s}),v=r.useRef(e),y=r.useRef(void 0),E=r.useRef(a.register(n,{...e.rules,value:h,...w(e.disabled)?{disabled:e.disabled}:{}}));v.current=e;let C=r.useMemo(()=>Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!b(g.errors,n)},isDirty:{enumerable:!0,get:()=>!!b(g.dirtyFields,n)},isTouched:{enumerable:!0,get:()=>!!b(g.touchedFields,n)},isValidating:{enumerable:!0,get:()=>!!b(g.validatingFields,n)},error:{enumerable:!0,get:()=>b(g.errors,n)}}),[g,n]),S=r.useCallback(e=>E.current.onChange({target:{value:u(e),name:n},type:k.CHANGE}),[n]),M=r.useCallback(()=>E.current.onBlur({target:{value:b(a._formValues,n),name:n},type:k.BLUR}),[n,a._formValues]),_=r.useCallback(e=>{let t=b(a._fields,n);t&&e&&(t._f.ref={focus:()=>e.focus&&e.focus(),select:()=>e.select&&e.select(),setCustomValidity:t=>e.setCustomValidity(t),reportValidity:()=>e.reportValidity()})},[a._fields,n]),O=r.useMemo(()=>({name:n,value:h,...w(i)||g.disabled?{disabled:g.disabled||i}:{},onChange:S,onBlur:M,ref:_}),[n,i,g.disabled,S,M,_,h]);return r.useEffect(()=>{let e=a._options.shouldUnregister||o,t=y.current;t&&t!==n&&!c&&a.unregister(t),a.register(n,{...v.current.rules,...w(v.current.disabled)?{disabled:v.current.disabled}:{}});let r=(e,t)=>{let n=b(a._fields,e);n&&n._f&&(n._f.mount=t)};if(r(n,!0),e){let e=p(b(a._options.defaultValues,n,v.current.defaultValue));A(a._defaultValues,n,e),m(b(a._formValues,n))&&A(a._formValues,n,e)}return c||a.register(n),y.current=n,()=>{(c?e&&!a._state.action:e)?a.unregister(n):r(n,!1)}},[n,a,c,o]),r.useEffect(()=>{a._setDisabledField({disabled:i,name:n})},[i,n,a]),r.useMemo(()=>({field:O,formState:g,fieldState:C}),[O,g,C])}var T=(e,t,n,r,i)=>t?{...n[e],types:{...n[e]&&n[e].types?n[e].types:{},[r]:i||!0}}:{},F=e=>Array.isArray(e)?e:[e],N=()=>{let e=[];return{get observers(){return e},next:t=>{for(let n of e)n.next&&n.next(t)},subscribe:t=>(e.push(t),{unsubscribe:()=>{e=e.filter(e=>e!==t)}}),unsubscribe:()=>{e=[]}}},Q=e=>s(e)&&!Object.keys(e).length,Z=e=>"file"===e.type,V=e=>"function"==typeof e,U=e=>{if(!h)return!1;let t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)},H=e=>"select-multiple"===e.type,q=e=>"radio"===e.type,W=e=>q(e)||i(e),$=e=>U(e)&&e.isConnected;function G(e,t){let n=Array.isArray(t)?t:g(t)?[t]:y(t),r=1===n.length?e:function(e,t){let n=t.slice(0,-1).length,r=0;for(;r<n;)e=m(e)?r++:e[t[r++]];return e}(e,n),i=n.length-1,a=n[i];return r&&delete r[a],0!==i&&(s(r)&&Q(r)||Array.isArray(r)&&function(e){for(let t in e)if(e.hasOwnProperty(t)&&!m(e[t]))return!1;return!0}(r))&&G(e,n.slice(0,-1)),e}var Y=e=>{for(let t in e)if(V(e[t]))return!0;return!1};function X(e){return Array.isArray(e)||s(e)&&!Y(e)}function K(e,t={}){for(let n in e){let r=e[n];X(r)?(t[n]=Array.isArray(r)?[]:{},K(r,t[n])):m(r)||(t[n]=!0)}return t}function J(e,t,n){for(let r in n||(n=K(t)),e){let i=e[r];if(X(i))m(t)||j(n[r])?n[r]=K(i,Array.isArray(i)?[]:{}):J(i,o(t)?{}:t[r],n[r]);else{let e=t[r];n[r]=!B(i,e)}}return n}let ee={value:!1,isValid:!1},et={value:!0,isValid:!0};var en=e=>{if(Array.isArray(e)){if(e.length>1){let t=e.filter(e=>e&&e.checked&&!e.disabled).map(e=>e.value);return{value:t,isValid:!!t.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!m(e[0].attributes.value)?m(e[0].value)||""===e[0].value?et:{value:e[0].value,isValid:!0}:et:ee}return ee},er=(e,{valueAsNumber:t,valueAsDate:n,setValueAs:r})=>m(e)?e:t?""===e?NaN:e?+e:e:n&&D(e)?new Date(e):r?r(e):e;let ei={isValid:!1,value:null};var ea=e=>Array.isArray(e)?e.reduce((e,t)=>t&&t.checked&&!t.disabled?{isValid:!0,value:t.value}:e,ei):ei;function eo(e){let t=e.ref;return Z(t)?t.files:q(t)?ea(e.refs).value:H(t)?[...t.selectedOptions].map(({value:e})=>e):i(t)?en(e.refs).value:er(m(t.value)?e.ref.value:t.value,e)}var el=(e,t,n,r)=>{let i={};for(let n of e){let e=b(t,n);e&&A(i,n,e._f)}return{criteriaMode:n,names:[...e],fields:i,shouldUseNativeValidation:r}},es=e=>e instanceof RegExp,eu=e=>m(e)?e:es(e)?e.source:s(e)?es(e.value)?e.value.source:e.value:e,ec=e=>({isOnSubmit:!e||e===E.onSubmit,isOnBlur:e===E.onBlur,isOnChange:e===E.onChange,isOnAll:e===E.all,isOnTouch:e===E.onTouched});let ed="AsyncFunction";var ef=e=>!!e&&!!e.validate&&!!(V(e.validate)&&e.validate.constructor.name===ed||s(e.validate)&&Object.values(e.validate).find(e=>e.constructor.name===ed)),eh=e=>e.mount&&(e.required||e.min||e.max||e.maxLength||e.minLength||e.pattern||e.validate),ep=(e,t,n)=>!n&&(t.watchAll||t.watch.has(e)||[...t.watch].some(t=>e.startsWith(t)&&/^\.\w+/.test(e.slice(t.length))));let eg=(e,t,n,r)=>{for(let i of n||Object.keys(e)){let n=b(e,i);if(n){let{_f:e,...a}=n;if(e){if(e.refs&&e.refs[0]&&t(e.refs[0],i)&&!r||e.ref&&t(e.ref,e.name)&&!r)return!0;if(eg(a,t))break}else if(s(a)&&eg(a,t))break}}};function em(e,t,n){let r=b(e,n);if(r||g(n))return{error:r,name:n};let i=n.split(".");for(;i.length;){let r=i.join("."),a=b(t,r),o=b(e,r);if(a&&!Array.isArray(a)&&n!==r)break;if(o&&o.type)return{name:r,error:o};if(o&&o.root&&o.root.type)return{name:`${r}.root`,error:o.root};i.pop()}return{name:n}}var ev=(e,t,n,r)=>{n(e);let{name:i,...a}=e;return Q(a)||Object.keys(a).length>=Object.keys(t).length||Object.keys(a).find(e=>t[e]===(!r||E.all))},ey=(e,t,n)=>!e||!t||e===t||F(e).some(e=>e&&(n?e===t:e.startsWith(t)||t.startsWith(e))),eb=(e,t,n,r,i)=>!i.isOnAll&&(!n&&i.isOnTouch?!(t||e):(n?r.isOnBlur:i.isOnBlur)?!e:(n?!r.isOnChange:!i.isOnChange)||e),ew=(e,t)=>!v(b(e,t)).length&&G(e,t),eA=(e,t,n)=>{let r=F(b(e,n));return A(r,"root",t[n]),A(e,n,r),e};function ex(e,t,n="validate"){if(D(e)||Array.isArray(e)&&e.every(D)||w(e)&&!e)return{type:n,message:D(e)?e:"",ref:t}}var ek=e=>s(e)&&!es(e)?e:{value:e,message:""},eE=async(e,t,n,r,a,l)=>{let{ref:u,refs:c,required:d,maxLength:f,minLength:h,min:p,max:g,pattern:v,validate:y,name:A,valueAsNumber:k,mount:E}=e._f,S=b(n,A);if(!E||t.has(A))return{};let I=c?c[0]:u,M=e=>{a&&I.reportValidity&&(I.setCustomValidity(w(e)?"":e||""),I.reportValidity())},_={},O=q(u),P=i(u),R=(k||Z(u))&&m(u.value)&&m(S)||U(u)&&""===u.value||""===S||Array.isArray(S)&&!S.length,j=T.bind(null,A,r,_),B=(e,t,n,r=C.maxLength,i=C.minLength)=>{let a=e?t:n;_[A]={type:e?r:i,message:a,ref:u,...j(e?r:i,a)}};if(l?!Array.isArray(S)||!S.length:d&&(!(O||P)&&(R||o(S))||w(S)&&!S||P&&!en(c).isValid||O&&!ea(c).isValid)){let{value:e,message:t}=D(d)?{value:!!d,message:d}:ek(d);if(e&&(_[A]={type:C.required,message:t,ref:I,...j(C.required,t)},!r))return M(t),_}if(!R&&(!o(p)||!o(g))){let e,t;let n=ek(g),i=ek(p);if(o(S)||isNaN(S)){let r=u.valueAsDate||new Date(S),a=e=>new Date(new Date().toDateString()+" "+e),o="time"==u.type,l="week"==u.type;D(n.value)&&S&&(e=o?a(S)>a(n.value):l?S>n.value:r>new Date(n.value)),D(i.value)&&S&&(t=o?a(S)<a(i.value):l?S<i.value:r<new Date(i.value))}else{let r=u.valueAsNumber||(S?+S:S);o(n.value)||(e=r>n.value),o(i.value)||(t=r<i.value)}if((e||t)&&(B(!!e,n.message,i.message,C.max,C.min),!r))return M(_[A].message),_}if((f||h)&&!R&&(D(S)||l&&Array.isArray(S))){let e=ek(f),t=ek(h),n=!o(e.value)&&S.length>+e.value,i=!o(t.value)&&S.length<+t.value;if((n||i)&&(B(n,e.message,t.message),!r))return M(_[A].message),_}if(v&&!R&&D(S)){let{value:e,message:t}=ek(v);if(es(e)&&!S.match(e)&&(_[A]={type:C.pattern,message:t,ref:u,...j(C.pattern,t)},!r))return M(t),_}if(y){if(V(y)){let e=ex(await y(S,n),I);if(e&&(_[A]={...e,...j(C.validate,e.message)},!r))return M(e.message),_}else if(s(y)){let e={};for(let t in y){if(!Q(e)&&!r)break;let i=ex(await y[t](S,n),I,t);i&&(e={...i,...j(t,i.message)},M(i.message),r&&(_[A]=e))}if(!Q(e)&&(_[A]={ref:I,...e},!r))return _}}return M(!0),_};let eC={mode:E.onSubmit,reValidateMode:E.onChange,shouldFocusError:!0};function eS(e={}){let t=r.useRef(void 0),n=r.useRef(void 0),[l,c]=r.useState({isDirty:!1,isValidating:!1,isLoading:V(e.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},validatingFields:{},errors:e.errors||{},disabled:e.disabled||!1,isReady:!1,defaultValues:V(e.defaultValues)?void 0:e.defaultValues});if(!t.current){if(e.formControl)t.current={...e.formControl,formState:l},e.defaultValues&&!V(e.defaultValues)&&e.formControl.reset(e.defaultValues,e.resetOptions);else{let{formControl:n,...r}=function(e={}){let t,n={...eC,...e},r={submitCount:0,isDirty:!1,isReady:!1,isLoading:V(n.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{},errors:n.errors||{},disabled:n.disabled||!1},l={},c=(s(n.defaultValues)||s(n.values))&&p(n.defaultValues||n.values)||{},f=n.shouldUnregister?{}:p(c),g={action:!1,mount:!1,watch:!1},y={mount:new Set,disabled:new Set,unMount:new Set,array:new Set,watch:new Set},C=0,S={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},I={...S},M={array:N(),state:N()},_=n.criteriaMode===E.all,O=e=>t=>{clearTimeout(C),C=setTimeout(e,t)},P=async e=>{if(!n.disabled&&(S.isValid||I.isValid||e)){let e=n.resolver?Q((await Y()).errors):await K(l,!0);e!==r.isValid&&M.state.next({isValid:e})}},j=(e,t)=>{!n.disabled&&(S.isValidating||S.validatingFields||I.isValidating||I.validatingFields)&&((e||Array.from(y.mount)).forEach(e=>{e&&(t?A(r.validatingFields,e,t):G(r.validatingFields,e))}),M.state.next({validatingFields:r.validatingFields,isValidating:!Q(r.validatingFields)}))},z=(e,t)=>{A(r.errors,e,t),M.state.next({errors:r.errors})},L=(e,t,n,r)=>{let i=b(l,e);if(i){let a=b(f,e,m(n)?b(c,e):n);m(a)||r&&r.defaultChecked||t?A(f,e,t?a:eo(i._f)):en(e,a),g.mount&&!g.action&&P()}},T=(e,t,i,a,o)=>{let l=!1,s=!1,u={name:e};if(!n.disabled){if(!i||a){(S.isDirty||I.isDirty)&&(s=r.isDirty,r.isDirty=u.isDirty=ee(),l=s!==u.isDirty);let n=B(b(c,e),t);s=!!b(r.dirtyFields,e),n?G(r.dirtyFields,e):A(r.dirtyFields,e,!0),u.dirtyFields=r.dirtyFields,l=l||(S.dirtyFields||I.dirtyFields)&&!n!==s}if(i){let t=b(r.touchedFields,e);t||(A(r.touchedFields,e,i),u.touchedFields=r.touchedFields,l=l||(S.touchedFields||I.touchedFields)&&t!==i)}l&&o&&M.state.next(u)}return l?u:{}},q=(e,i,a,o)=>{let l=b(r.errors,e),s=(S.isValid||I.isValid)&&w(i)&&r.isValid!==i;if(n.delayError&&a?(t=O(()=>z(e,a)))(n.delayError):(clearTimeout(C),t=null,a?A(r.errors,e,a):G(r.errors,e)),(a?!B(l,a):l)||!Q(o)||s){let t={...o,...s&&w(i)?{isValid:i}:{},errors:r.errors,name:e};r={...r,...t},M.state.next(t)}},Y=async e=>{j(e,!0);let t=await n.resolver(f,n.context,el(e||y.mount,l,n.criteriaMode,n.shouldUseNativeValidation));return j(e),t},X=async e=>{let{errors:t}=await Y(e);if(e)for(let n of e){let e=b(t,n);e?A(r.errors,n,e):G(r.errors,n)}else r.errors=t;return t},K=async(e,t,i={valid:!0})=>{for(let a in e){let o=e[a];if(o){let{_f:e,...a}=o;if(e){let a=y.array.has(e.name),l=o._f&&ef(o._f);l&&S.validatingFields&&j([e.name],!0);let s=await eE(o,y.disabled,f,_,n.shouldUseNativeValidation&&!t,a);if(l&&S.validatingFields&&j([e.name]),s[e.name]&&(i.valid=!1,t))break;t||(b(s,e.name)?a?eA(r.errors,s,e.name):A(r.errors,e.name,s[e.name]):G(r.errors,e.name))}Q(a)||await K(a,t,i)}}return i.valid},ee=(e,t)=>!n.disabled&&(e&&t&&A(f,e,t),!B(ek(),c)),et=(e,t,n)=>R(e,y,{...g.mount?f:m(t)?c:D(e)?{[e]:t}:t},n,t),en=(e,t,n={})=>{let r=b(l,e),a=t;if(r){let n=r._f;n&&(n.disabled||A(f,e,er(t,n)),a=U(n.ref)&&o(t)?"":t,H(n.ref)?[...n.ref.options].forEach(e=>e.selected=a.includes(e.value)):n.refs?i(n.ref)?n.refs.forEach(e=>{e.defaultChecked&&e.disabled||(Array.isArray(a)?e.checked=!!a.find(t=>t===e.value):e.checked=a===e.value||!!a)}):n.refs.forEach(e=>e.checked=e.value===a):Z(n.ref)?n.ref.value="":(n.ref.value=a,n.ref.type||M.state.next({name:e,values:p(f)})))}(n.shouldDirty||n.shouldTouch)&&T(e,a,n.shouldTouch,n.shouldDirty,!0),n.shouldValidate&&ex(e)},ei=(e,t,n)=>{for(let r in t){if(!t.hasOwnProperty(r))return;let i=t[r],o=e+"."+r,u=b(l,o);(y.array.has(e)||s(i)||u&&!u._f)&&!a(i)?ei(o,i,n):en(o,i,n)}},ea=(e,t,n={})=>{let i=b(l,e),a=y.array.has(e),s=p(t);A(f,e,s),a?(M.array.next({name:e,values:p(f)}),(S.isDirty||S.dirtyFields||I.isDirty||I.dirtyFields)&&n.shouldDirty&&M.state.next({name:e,dirtyFields:J(c,f),isDirty:ee(e,s)})):!i||i._f||o(s)?en(e,s,n):ei(e,s,n),ep(e,y)&&M.state.next({...r,name:e}),M.state.next({name:g.mount?e:void 0,values:p(f)})},es=async e=>{g.mount=!0;let i=e.target,o=i.name,s=!0,c=b(l,o),d=e=>{s=Number.isNaN(e)||a(e)&&isNaN(e.getTime())||B(e,b(f,o,e))},h=ec(n.mode),m=ec(n.reValidateMode);if(c){let a,g;let v=i.type?eo(c._f):u(e),w=e.type===k.BLUR||e.type===k.FOCUS_OUT,E=!eh(c._f)&&!n.resolver&&!b(r.errors,o)&&!c._f.deps||eb(w,b(r.touchedFields,o),r.isSubmitted,m,h),C=ep(o,y,w);A(f,o,v),w?i&&i.readOnly||(c._f.onBlur&&c._f.onBlur(e),t&&t(0)):c._f.onChange&&c._f.onChange(e);let O=T(o,v,w),D=!Q(O)||C;if(w||M.state.next({name:o,type:e.type,values:p(f)}),E)return(S.isValid||I.isValid)&&("onBlur"===n.mode?w&&P():w||P()),D&&M.state.next({name:o,...C?{}:O});if(!w&&C&&M.state.next({...r}),n.resolver){let{errors:e}=await Y([o]);if(d(v),s){let t=em(r.errors,l,o),n=em(e,l,t.name||o);a=n.error,o=n.name,g=Q(e)}}else j([o],!0),a=(await eE(c,y.disabled,f,_,n.shouldUseNativeValidation))[o],j([o]),d(v),s&&(a?g=!1:(S.isValid||I.isValid)&&(g=await K(l,!0)));s&&(c._f.deps&&(!Array.isArray(c._f.deps)||c._f.deps.length>0)&&ex(c._f.deps),q(o,g,a,O))}},ed=(e,t)=>{if(b(r.errors,t)&&e.focus)return e.focus(),1},ex=async(e,t={})=>{let i,a;let o=F(e);if(n.resolver){let t=await X(m(e)?e:o);i=Q(t),a=e?!o.some(e=>b(t,e)):i}else e?((a=(await Promise.all(o.map(async e=>{let t=b(l,e);return await K(t&&t._f?{[e]:t}:t)}))).every(Boolean))||r.isValid)&&P():a=i=await K(l);return M.state.next({...!D(e)||(S.isValid||I.isValid)&&i!==r.isValid?{}:{name:e},...n.resolver||!e?{isValid:i}:{},errors:r.errors}),t.shouldFocus&&!a&&eg(l,ed,e?o:y.mount),a},ek=(e,t)=>{let n={...g.mount?f:c};return t&&(n=function e(t,n){let r={};for(let i in t)if(t.hasOwnProperty(i)){let a=t[i],o=n[i];if(a&&s(a)&&o){let t=e(a,o);s(t)&&(r[i]=t)}else t[i]&&(r[i]=o)}return r}(t.dirtyFields?r.dirtyFields:r.touchedFields,n)),m(e)?n:D(e)?b(n,e):e.map(e=>b(n,e))},eS=(e,t)=>({invalid:!!b((t||r).errors,e),isDirty:!!b((t||r).dirtyFields,e),error:b((t||r).errors,e),isValidating:!!b(r.validatingFields,e),isTouched:!!b((t||r).touchedFields,e)}),eI=(e,t,n)=>{let i=(b(l,e,{_f:{}})._f||{}).ref,{ref:a,message:o,type:s,...u}=b(r.errors,e)||{};A(r.errors,e,{...u,...t,ref:i}),M.state.next({name:e,errors:r.errors,isValid:!1}),n&&n.shouldFocus&&i&&i.focus&&i.focus()},eM=e=>M.state.subscribe({next:t=>{ey(e.name,t.name,e.exact)&&ev(t,e.formState||S,ez,e.reRenderRoot)&&e.callback({values:{...f},...r,...t,defaultValues:c})}}).unsubscribe,e_=(e,t={})=>{for(let i of e?F(e):y.mount)y.mount.delete(i),y.array.delete(i),t.keepValue||(G(l,i),G(f,i)),t.keepError||G(r.errors,i),t.keepDirty||G(r.dirtyFields,i),t.keepTouched||G(r.touchedFields,i),t.keepIsValidating||G(r.validatingFields,i),n.shouldUnregister||t.keepDefaultValue||G(c,i);M.state.next({values:p(f)}),M.state.next({...r,...t.keepDirty?{isDirty:ee()}:{}}),t.keepIsValid||P()},eO=({disabled:e,name:t})=>{(w(e)&&g.mount||e||y.disabled.has(t))&&(e?y.disabled.add(t):y.disabled.delete(t))},eP=(e,t={})=>{let r=b(l,e),i=w(t.disabled)||w(n.disabled);return A(l,e,{...r||{},_f:{...r&&r._f?r._f:{ref:{name:e}},name:e,mount:!0,...t}}),y.mount.add(e),r?eO({disabled:w(t.disabled)?t.disabled:n.disabled,name:e}):L(e,!0,t.value),{...i?{disabled:t.disabled||n.disabled}:{},...n.progressive?{required:!!t.required,min:eu(t.min),max:eu(t.max),minLength:eu(t.minLength),maxLength:eu(t.maxLength),pattern:eu(t.pattern)}:{},name:e,onChange:es,onBlur:es,ref:i=>{if(i){eP(e,t),r=b(l,e);let n=m(i.value)&&i.querySelectorAll&&i.querySelectorAll("input,select,textarea")[0]||i,a=W(n),o=r._f.refs||[];(a?o.find(e=>e===n):n===r._f.ref)||(A(l,e,{_f:{...r._f,...a?{refs:[...o.filter($),n,...Array.isArray(b(c,e))?[{}]:[]],ref:{type:n.type,name:e}}:{ref:n}}}),L(e,!1,void 0,n))}else(r=b(l,e,{}))._f&&(r._f.mount=!1),(n.shouldUnregister||t.shouldUnregister)&&!(d(y.array,e)&&g.action)&&y.unMount.add(e)}}},eD=()=>n.shouldFocusError&&eg(l,ed,y.mount),eR=(e,t)=>async i=>{let a;i&&(i.preventDefault&&i.preventDefault(),i.persist&&i.persist());let o=p(f);if(M.state.next({isSubmitting:!0}),n.resolver){let{errors:e,values:t}=await Y();r.errors=e,o=p(t)}else await K(l);if(y.disabled.size)for(let e of y.disabled)G(o,e);if(G(r.errors,"root"),Q(r.errors)){M.state.next({errors:{}});try{await e(o,i)}catch(e){a=e}}else t&&await t({...r.errors},i),eD(),setTimeout(eD);if(M.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:Q(r.errors)&&!a,submitCount:r.submitCount+1,errors:r.errors}),a)throw a},ej=(e,t={})=>{let i=e?p(e):c,a=p(i),o=Q(e),s=o?c:a;if(t.keepDefaultValues||(c=i),!t.keepValues){if(t.keepDirtyValues)for(let e of Array.from(new Set([...y.mount,...Object.keys(J(c,f))])))b(r.dirtyFields,e)?A(s,e,b(f,e)):ea(e,b(s,e));else{if(h&&m(e))for(let e of y.mount){let t=b(l,e);if(t&&t._f){let e=Array.isArray(t._f.refs)?t._f.refs[0]:t._f.ref;if(U(e)){let t=e.closest("form");if(t){t.reset();break}}}}if(t.keepFieldsRef)for(let e of y.mount)ea(e,b(s,e));else l={}}f=n.shouldUnregister?t.keepDefaultValues?p(c):{}:p(s),M.array.next({values:{...s}}),M.state.next({values:{...s}})}y={mount:t.keepDirtyValues?y.mount:new Set,unMount:new Set,array:new Set,disabled:new Set,watch:new Set,watchAll:!1,focus:""},g.mount=!S.isValid||!!t.keepIsValid||!!t.keepDirtyValues||!n.shouldUnregister&&!Q(s),g.watch=!!n.shouldUnregister,g.action=!1,t.keepErrors||(r.errors={}),M.state.next({submitCount:t.keepSubmitCount?r.submitCount:0,isDirty:!o&&(t.keepDirty?r.isDirty:!!(t.keepDefaultValues&&!B(e,c))),isSubmitted:!!t.keepIsSubmitted&&r.isSubmitted,dirtyFields:o?{}:t.keepDirtyValues?t.keepDefaultValues&&f?J(c,f):r.dirtyFields:t.keepDefaultValues&&e?J(c,e):t.keepDirty?r.dirtyFields:{},touchedFields:t.keepTouched?r.touchedFields:{},errors:t.keepErrors?r.errors:{},isSubmitSuccessful:!!t.keepIsSubmitSuccessful&&r.isSubmitSuccessful,isSubmitting:!1,defaultValues:c})},eB=(e,t)=>ej(V(e)?e(f):e,t),ez=e=>{r={...r,...e}},eL={control:{register:eP,unregister:e_,getFieldState:eS,handleSubmit:eR,setError:eI,_subscribe:eM,_runSchema:Y,_focusError:eD,_getWatch:et,_getDirty:ee,_setValid:P,_setFieldArray:(e,t=[],i,a,o=!0,s=!0)=>{if(a&&i&&!n.disabled){if(g.action=!0,s&&Array.isArray(b(l,e))){let t=i(b(l,e),a.argA,a.argB);o&&A(l,e,t)}if(s&&Array.isArray(b(r.errors,e))){let t=i(b(r.errors,e),a.argA,a.argB);o&&A(r.errors,e,t),ew(r.errors,e)}if((S.touchedFields||I.touchedFields)&&s&&Array.isArray(b(r.touchedFields,e))){let t=i(b(r.touchedFields,e),a.argA,a.argB);o&&A(r.touchedFields,e,t)}(S.dirtyFields||I.dirtyFields)&&(r.dirtyFields=J(c,f)),M.state.next({name:e,isDirty:ee(e,t),dirtyFields:r.dirtyFields,errors:r.errors,isValid:r.isValid})}else A(f,e,t)},_setDisabledField:eO,_setErrors:e=>{r.errors=e,M.state.next({errors:r.errors,isValid:!1})},_getFieldArray:e=>v(b(g.mount?f:c,e,n.shouldUnregister?b(c,e,[]):[])),_reset:ej,_resetDefaultValues:()=>V(n.defaultValues)&&n.defaultValues().then(e=>{eB(e,n.resetOptions),M.state.next({isLoading:!1})}),_removeUnmounted:()=>{for(let e of y.unMount){let t=b(l,e);t&&(t._f.refs?t._f.refs.every(e=>!$(e)):!$(t._f.ref))&&e_(e)}y.unMount=new Set},_disableForm:e=>{w(e)&&(M.state.next({disabled:e}),eg(l,(t,n)=>{let r=b(l,n);r&&(t.disabled=r._f.disabled||e,Array.isArray(r._f.refs)&&r._f.refs.forEach(t=>{t.disabled=r._f.disabled||e}))},0,!1))},_subjects:M,_proxyFormState:S,get _fields(){return l},get _formValues(){return f},get _state(){return g},set _state(value){g=value},get _defaultValues(){return c},get _names(){return y},set _names(value){y=value},get _formState(){return r},get _options(){return n},set _options(value){n={...n,...value}}},subscribe:e=>(g.mount=!0,I={...I,...e.formState},eM({...e,formState:I})),trigger:ex,register:eP,handleSubmit:eR,watch:(e,t)=>V(e)?M.state.subscribe({next:n=>"values"in n&&e(et(void 0,t),n)}):et(e,t,!0),setValue:ea,getValues:ek,reset:eB,resetField:(e,t={})=>{b(l,e)&&(m(t.defaultValue)?ea(e,p(b(c,e))):(ea(e,t.defaultValue),A(c,e,p(t.defaultValue))),t.keepTouched||G(r.touchedFields,e),t.keepDirty||(G(r.dirtyFields,e),r.isDirty=t.defaultValue?ee(e,p(b(c,e))):ee()),!t.keepError&&(G(r.errors,e),S.isValid&&P()),M.state.next({...r}))},clearErrors:e=>{e&&F(e).forEach(e=>G(r.errors,e)),M.state.next({errors:e?r.errors:{}})},unregister:e_,setError:eI,setFocus:(e,t={})=>{let n=b(l,e),r=n&&n._f;if(r){let e=r.refs?r.refs[0]:r.ref;e.focus&&(e.focus(),t.shouldSelect&&V(e.select)&&e.select())}},getFieldState:eS};return{...eL,formControl:eL}}(e);t.current={...r,formState:l}}}let f=t.current.control;return f._options=e,O(()=>{let e=f._subscribe({formState:f._proxyFormState,callback:()=>c({...f._formState}),reRenderRoot:!0});return c(e=>({...e,isReady:!0})),f._formState.isReady=!0,e},[f]),r.useEffect(()=>f._disableForm(e.disabled),[f,e.disabled]),r.useEffect(()=>{e.mode&&(f._options.mode=e.mode),e.reValidateMode&&(f._options.reValidateMode=e.reValidateMode)},[f,e.mode,e.reValidateMode]),r.useEffect(()=>{e.errors&&(f._setErrors(e.errors),f._focusError())},[f,e.errors]),r.useEffect(()=>{e.shouldUnregister&&f._subjects.state.next({values:f._getWatch()})},[f,e.shouldUnregister]),r.useEffect(()=>{if(f._proxyFormState.isDirty){let e=f._getDirty();e!==l.isDirty&&f._subjects.state.next({isDirty:e})}},[f,l.isDirty]),r.useEffect(()=>{var t;e.values&&!B(e.values,n.current)?(f._reset(e.values,{keepFieldsRef:!0,...f._options.resetOptions}),(null===(t=f._options.resetOptions)||void 0===t?void 0:t.keepIsValid)||f._setValid(),n.current=e.values,c(e=>({...e}))):f._resetDefaultValues()},[f,e.values]),r.useEffect(()=>{f._state.mount||(f._setValid(),f._state.mount=!0),f._state.watch&&(f._state.watch=!1,f._subjects.state.next({...f._formState})),f._removeUnmounted()}),t.current.formState=_(l,f),t.current}},58410:function(e,t,n){"use strict";n.d(t,{pG:function(){return o}});var r=n(84750),i=n(2265),a=n(54887);function o(e){return i.createElement(r.pG,{flushSync:a.flushSync,...e})}(0,r.kr)()}}]);
|