PageSourceSearch

https://www.foodtalkdaily.com/resources/combined/js/vendors-node_m…table_esm_js.069858440e22395553d9.bundle.js

js foodtalkdaily.com collected 2026-09-24 08:45:57 UTC 41,945 bytes, 1 lines download raw bytes

1"use strict";(self.hometalkChunk=self.hometalkChunk||[]).push([["vendors-node_modules_dnd-kit_sortable_dist_sortable_esm_js"],{15871(e,t,n){n.d(t,{AN:()=>Se,FR:()=>he,Hd:()=>_e,IG:()=>Te,MS:()=>de,Mp:()=>ze,PM:()=>je,Sj:()=>z,Vy:()=>M,cA:()=>ke,fF:()=>We,fp:()=>k,sl:()=>K,uN:()=>xe,vL:()=>pe,y$:()=>I,zM:()=>Pe});var r=n(96540),o=n.n(r),i=n(40961),a=n(74979),s=n(19251);const l={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  "},c={onDragStart:e=>`Picked up draggable item ${e}.`,onDragOver:(e,t)=>t?`Draggable item ${e} was moved over droppable area ${t}.`:`Draggable item ${e} is no longer over a droppable area.`,onDragEnd:(e,t)=>t?`Draggable item ${e} was dropped over droppable area ${t}`:`Draggable item ${e} was dropped.`,onDragCancel:e=>`Dragging was cancelled. Draggable item ${e} was dropped.`};var u;function d(...e){}!function(e){e.DragStart="dragStart",e.DragMove="dragMove",e.DragEnd="dragEnd",e.DragCancel="dragCancel",e.DragOver="dragOver",e.RegisterDroppable="registerDroppable",e.SetDroppableDisabled="setDroppableDisabled",e.UnregisterDroppable="unregisterDroppable"}(u||(u={}));class h 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(({disabled:e})=>!e)}getNodeFor(e){var t,n;return null!=(t=null==(n=this.get(e))?void 0:n.node.current)?t:void 0}}const f={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:{},droppableRects:new Map,droppableContainers:new h,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:d},scrollableAncestors:[],scrollableAncestorRects:[],measureDroppableContainers:d,windowRect:null,measuringScheduled:!1},v={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:d,draggableNodes:{},over:null,measureDroppableContainers:d},g=(0,r.createContext)(v),p=(0,r.createContext)(f);function m(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:{},translate:{x:0,y:0}},droppable:{containers:new h}}}function b(e,t){switch(t.type){case u.DragStart:return{...e,draggable:{...e.draggable,initialCoordinates:t.initialCoordinates,active:t.active}};case u.DragMove:return e.draggable.active?{...e,draggable:{...e.draggable,translate:{x:t.coordinates.x-e.draggable.initialCoordinates.x,y:t.coordinates.y-e.draggable.initialCoordinates.y}}}:e;case u.DragEnd:case u.DragCancel:return{...e,draggable:{...e.draggable,active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}}};case u.RegisterDroppable:{const{element:n}=t,{id:r}=n,o=new h(e.droppable.containers);return o.set(r,n),{...e,droppable:{...e.droppable,containers:o}}}case u.SetDroppableDisabled:{const{id:n,key:r,disabled:o}=t,i=e.droppable.containers.get(n);if(!i||r!==i.key)return e;const a=new h(e.droppable.containers);return a.set(n,{...i,disabled:o}),{...e,droppable:{...e.droppable,containers:a}}}case u.UnregisterDroppable:{const{id:n,key:r}=t,o=e.droppable.containers.get(n);if(!o||r!==o.key)return e;const i=new h(e.droppable.containers);return i.delete(n),{...e,droppable:{...e.droppable,containers:i}}}default:return e}}const y=(0,r.createContext)({type:null,event:null});function w({announcements:e=c,hiddenTextDescribedById:t,screenReaderInstructions:n}){const{announce:l,announcement:d}=(0,s.bO)(),h=(0,a.YG)("DndLiveRegion"),[f,v]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{v(!0)},[]),function({onDragStart:e,onDragMove:t,onDragOver:n,onDragEnd:o,onDragCancel:i}){const a=(0,r.useContext)(y),s=(0,r.useRef)(a);(0,r.useEffect)(()=>{if(a!==s.current){const{type:r,event:l}=a;switch(r){case u.DragStart:null==e||e(l);break;case u.DragMove:null==t||t(l);break;case u.DragOver:null==n||n(l);break;case u.DragCancel:null==i||i(l);break;case u.DragEnd:null==o||o(l)}s.current=a}},[a,e,t,n,o,i])}((0,r.useMemo)(()=>({onDragStart({active:t}){l(e.onDragStart(t.id))},onDragMove({active:t,over:n}){e.onDragMove&&l(e.onDragMove(t.id,null==n?void 0:n.id))},onDragOver({active:t,over:n}){l(e.onDragOver(t.id,null==n?void 0:n.id))},onDragEnd({active:t,over:n}){l(e.onDragEnd(t.id,null==n?void 0:n.id))},onDragCancel({active:t}){l(e.onDragCancel(t.id))}}),[l,e])),f?(0,i.createPortal)(o().createElement(o().Fragment,null,o().createElement(s.Aw,{id:t,value:n.draggable}),o().createElement(s.L4,{id:h,announcement:d})),document.body):null}const x=Object.freeze({x:0,y:0});function D(e,t){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function R(e,t){const n=(0,a.e_)(e);return n?`${(n.x-t.left)/t.width*100}% ${(n.y-t.top)/t.height*100}%`:"0 0"}function C({data:{value:e}},{data:{value:t}}){return e-t}function E({data:{value:e}},{data:{value:t}}){return t-e}function S({left:e,top:t,height:n,width:r}){return[{x:e,y:t},{x:e+r,y:t},{x:e,y:t+n},{x:e+r,y:t+n}]}function M(e,t){if(!e||0===e.length)return null;const[n]=e;return t?n[t]:n}function N(e,t=e.left,n=e.top){return{x:t+.5*e.width,y:n+.5*e.height}}const k=({collisionRect:e,droppableContainers:t})=>{const n=N(e,e.left,e.top),r=[];for(const o of t){const{id:e,rect:{current:t}}=o;if(t){const i=D(N(t),n);r.push({id:e,data:{droppableContainer:o,value:i}})}}return r.sort(C)},I=({collisionRect:e,droppableContainers:t})=>{const n=S(e),r=[];for(const o of t){const{id:e,rect:{current:t}}=o;
1if(t){const i=S(t),a=n.reduce((e,t,n)=>e+D(i[n],t),0),s=Number((a/4).toFixed(4));r.push({id:e,data:{droppableContainer:o,value:s}})}}return r.sort(C)};function T(e,t){const n=Math.max(t.top,e.top),r=Math.max(t.left,e.left),o=Math.min(t.left+t.width,e.left+e.width),i=Math.min(t.top+t.height,e.top+e.height),a=o-r,s=i-n;if(r<o&&n<i){const n=t.width*t.height,r=e.width*e.height,o=a*s;return Number((o/(n+r-o)).toFixed(4))}return 0}const L=({collisionRect:e,droppableContainers:t})=>{const n=[];for(const r of t){const{id:t,rect:{current:o}}=r;if(o){const i=T(o,e);i>0&&n.push({id:t,data:{droppableContainer:r,value:i}})}}return n.sort(E)};function O(e){return function(t,...n){return n.reduce((t,n)=>({...t,top:t.top+e*n.y,bottom:t.bottom+e*n.y,left:t.left+e*n.x,right:t.right+e*n.x}),{...t})}}const A=O(1),B={ignoreTransform:!1};function z(e,t=B){let n=e.getBoundingClientRect();if(t.ignoreTransform){const{getComputedStyle:t}=(0,a.zk)(e),{transform:r,transformOrigin:o}=t(e);r&&(n=function(e,t,n){let r,o,i,a,s;if(t.startsWith("matrix3d("))r=t.slice(9,-1).split(/, /),o=+r[0],i=+r[5],a=+r[12],s=+r[13];else{if(!t.startsWith("matrix("))return e;r=t.slice(7,-1).split(/, /),o=+r[0],i=+r[3],a=+r[4],s=+r[5]}const l=e.left-a-(1-o)*parseFloat(n),c=e.top-s-(1-i)*parseFloat(n.slice(n.indexOf(" ")+1)),u=o?e.width/o:e.width,d=i?e.height/i:e.height;return{width:u,height:d,top:c,right:l+u,bottom:c+d,left:l}}(n,r,o))}const{top:r,left:o,width:i,height:s,bottom:l,right:c}=n;return{top:r,left:o,width:i,height:s,bottom:l,right:c}}function Y(e){return z(e,{ignoreTransform:!0})}function K(e){const t=[];return e?function n(r){if(!r)return t;if((0,a.wz)(r)&&null!=r.scrollingElement&&!t.includes(r.scrollingElement))return t.push(r.scrollingElement),t;if(!(0,a.sb)(r)||(0,a.xZ)(r))return t;if(t.includes(r))return t;const{getComputedStyle:o}=(0,a.zk)(r),i=o(r);return r!==e&&function(e,t=(0,a.zk)(e).getComputedStyle(e)){const n=/(auto|scroll|overlay)/;return null!=["overflow","overflowX","overflowY"].find(e=>{const r=t[e];return"string"==typeof r&&n.test(r)})}(r,i)&&t.push(r),function(e,t=(0,a.zk)(e).getComputedStyle(e)){return"fixed"===t.position}(r,i)?t:n(r.parentNode)}(e):t}function j(e){return a.Sw&&e?(0,a.l6)(e)?e:(0,a.Ll)(e)?(0,a.wz)(e)||e===(0,a.TW)(e).scrollingElement?window:(0,a.sb)(e)?e:null:null:null}function W(e){return(0,a.l6)(e)?e.scrollX:e.scrollLeft}function $(e){return(0,a.l6)(e)?e.scrollY:e.scrollTop}function P(e){return{x:W(e),y:$(e)}}var F;function X(e){const t={x:0,y:0},n={x:e.scrollWidth-e.clientWidth,y:e.scrollHeight-e.clientHeight};return{isTop:e.scrollTop<=t.y,isLeft:e.scrollLeft<=t.x,isBottom:e.scrollTop>=n.y,isRight:e.scrollLeft>=n.x,maxScroll:n,minScroll:t}}!function(e){e[e.Forward=1]="Forward",e[e.Backward=-1]="Backward"}(F||(F={}));const G={x:.2,y:.2};function _(e,t,{top:n,left:r,right:o,bottom:i},s=10,l=G){const{clientHeight:c,clientWidth:u}=e,d=(h=e,a.Sw&&h&&h===document.scrollingElement?{top:0,left:0,right:u,bottom:c,width:u,height:c}:t);var h;const{isTop:f,isBottom:v,isLeft:g,isRight:p}=X(e),m={x:0,y:0},b={x:0,y:0},y=d.height*l.y,w=d.width*l.x;return!f&&n<=d.top+y?(m.y=F.Backward,b.y=s*Math.abs((d.top+y-n)/y)):!v&&i>=d.bottom-y&&(m.y=F.Forward,b.y=s*Math.abs((d.bottom-y-i)/y)),!p&&o>=d.right-w?(m.x=F.Forward,b.x=s*Math.abs((d.right-w-o)/w)):!g&&r<=d.left+w&&(m.x=F.Backward,b.x=s*Math.abs((d.left+w-r)/w)),{direction:m,speed:b}}function U(e){if(e===document.scrollingElement){const{innerWidth:e,innerHeight:t}=window;return{top:0,left:0,right:e,bottom:t,width:e,height:t}}const{top:t,left:n,right:r,bottom:o}=e.getBoundingClientRect();return{top:t,left:n,right:r,bottom:o,width:e.clientWidth,height:e.clientHeight}}function H(e){return e.reduce((e,t)=>(0,a.WQ)(e,P(t)),x)}const V=[["x",["left","right"],function(e){return e.reduce((e,t)=>e+W(t),0)}],["y",["top","bottom"],function(e){return e.reduce((e,t)=>e+$(t),0)}]];class q{constructor(e,t){this.rect=void 0,this.width=void 0,this.height=void 0,this.top=void 0,this.bottom=void 0,this.right=void 0,this.left=void 0;const n=K(t),r=H(n);this.rect={...e},this.width=e.width,this.height=e.height;for(const[o,i,a]of V)for(const e of i)Object.defineProperty(this,e,{get:()=>{const t=a(n),i=r[o]-t;return this.rect[e]+i},enumerable:!0});Object.defineProperty(this,"rect",{enumerable:!1})}}var Q,J,Z,ee;!function(e){e[e.Pointer=0]="Pointer",e[e.DraggableRect=1]="DraggableRect"}(Q||(Q={})),function(e){e[e.TreeOrder=0]="TreeOrder",e[e.ReversedTreeOrder=1]="Rever
1sedTreeOrder"}(J||(J={})),function(e){e[e.Always=0]="Always",e[e.BeforeDragging=1]="BeforeDragging",e[e.WhileDragging=2]="WhileDragging"}(Z||(Z={})),function(e){e.Optimized="optimized"}(ee||(ee={}));const te=new Map,ne={measure:Y,strategy:Z.WhileDragging,frequency:ee.Optimized};function re({onResize:e,disabled:t}){return(0,r.useMemo)(()=>{if(t||"undefined"==typeof window||void 0===window.ResizeObserver)return;const{ResizeObserver:n}=window;return new n(e)},[t,e])}const oe=[],ie=le(Y),ae=ce(Y);function se(e,t,n){const o=(0,r.useRef)(e);return(0,a.KG)(r=>e?n||!r&&e||e!==o.current?(0,a.sb)(e)&&null==e.parentNode?null:new q(t(e),e):null!=r?r:null:null,[e,n,t])}function le(e){return(t,n)=>se(t,e,n)}function ce(e){const t=[];return function(n,o){const i=(0,r.useRef)(n);return(0,a.KG)(r=>n.length?o||!r&&n.length||n!==i.current?n.map(t=>new q(e(t),t)):null!=r?r:t:t,[n,o])}}function ue(e){if(!e)return null;if(e.children.length>1)return e;const t=e.children[0];return(0,a.sb)(t)?t:e}function de(e,t){return(0,r.useMemo)(()=>({sensor:e,options:null!=t?t:{}}),[e,t])}function he(...e){return(0,r.useMemo)(()=>[...e].filter(e=>null!=e),[...e])}class fe{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 ve(e,t){const n=Math.abs(e.x),r=Math.abs(e.y);return"number"==typeof t?Math.sqrt(n**2+r**2)>t:"x"in t&&"y"in t?n>t.x&&r>t.y:"x"in t?n>t.x:"y"in t&&r>t.y}var ge,pe;function me(e){e.preventDefault()}function be(e){e.stopPropagation()}!function(e){e.Click="click",e.DragStart="dragstart",e.Keydown="keydown",e.ContextMenu="contextmenu",e.Resize="resize",e.SelectionChange="selectionchange",e.VisibilityChange="visibilitychange"}(ge||(ge={})),function(e){e.Space="Space",e.Down="ArrowDown",e.Right="ArrowRight",e.Left="ArrowLeft",e.Up="ArrowUp",e.Esc="Escape",e.Enter="Enter"}(pe||(pe={}));const ye={start:[pe.Space,pe.Enter],cancel:[pe.Esc],end:[pe.Space,pe.Enter]},we=(e,{currentCoordinates:t})=>{switch(e.code){case pe.Right:return{...t,x:t.x+25};case pe.Left:return{...t,x:t.x-25};case pe.Down:return{...t,y:t.y+25};case pe.Up:return{...t,y:t.y-25}}};class xe{constructor(e){this.props=void 0,this.autoScrollEnabled=!1,this.coordinates=x,this.listeners=void 0,this.windowListeners=void 0,this.props=e;const{event:{target:t}}=e;this.props=e,this.listeners=new fe((0,a.TW)(t)),this.windowListeners=new fe((0,a.zk)(t)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){this.handleStart(),this.windowListeners.add(ge.Resize,this.handleCancel),this.windowListeners.add(ge.VisibilityChange,this.handleCancel),setTimeout(()=>this.listeners.add(ge.Keydown,this.handleKeyDown))}handleStart(){const{activeNode:e,onStart:t}=this.props;if(!e.node.current)throw new Error("Active draggable node is undefined");const n=Y(e.node.current),r={x:n.left,y:n.top};this.coordinates=r,t(r)}handleKeyDown(e){if((0,a.kx)(e)){const{coordinates:t}=this,{active:n,context:r,options:o}=this.props,{keyboardCodes:i=ye,coordinateGetter:s=we,scrollBehavior:l="smooth"}=o,{code:c}=e;if(i.end.includes(c))return void this.handleEnd(e);if(i.cancel.includes(c))return void this.handleCancel(e);const u=s(e,{active:n,context:r.current,currentCoordinates:t});if(u){const n={x:0,y:0},{scrollableAncestors:o}=r.current;for(const r of o){const o=e.code,i=(0,a.Re)(u,t),{isTop:s,isRight:c,isLeft:d,isBottom:h,maxScroll:f,minScroll:v}=X(r),g=U(r),p={x:Math.min(o===pe.Right?g.right-g.width/2:g.right,Math.max(o===pe.Right?g.left:g.left+g.width/2,u.x)),y:Math.min(o===pe.Down?g.bottom-g.height/2:g.bottom,Math.max(o===pe.Down?g.top:g.top+g.height/2,u.y))},m=o===pe.Right&&!c||o===pe.Left&&!d,b=o===pe.Down&&!h||o===pe.Up&&!s;if(m&&p.x!==u.x){if(o===pe.Right&&r.scrollLeft+i.x<=f.x||o===pe.Left&&r.scrollLeft+i.x>=v.x)return void r.scrollBy({left:i.x,behavior:l});n.x=o===pe.Right?r.scrollLeft-f.x:r.scrollLeft-v.x,r.scrollBy({left:-n.x,behavior:l});break}if(b&&p.y!==u.y){if(o===pe.Down&&r.scrollTop+i.y<=f.y||o===pe.Up&&r.scrollTop+i.y>=v.y)return void r.scrollBy({top:i.y,behavior:l});n.y=o===pe.Down?r.scrollTop-f.y:r.scrollTop-v.y,r.scrollBy({top:-n.y,behavior:l});break}}this.handleMove(e,(0,a.WQ)(u,n))}}}handleMove(e,t){const{onMove:n}=this.props;e.preventDefault(),n(t),this.coordinates=t}handleEnd(e){const{onEnd:t}=this.props;e.preventDefault(),this.detach(),t()}handleCancel(e){const{onCancel:t}=this.props;e.preventDefault(),this.detach(),t()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll()}}function De(e){return Boolean(e&&"distance"in e)}function Re(e){return Boolean(e&&"delay"in e)}xe.activators=[{eventName:"onKeyDown",handler:(e,{keyboardCodes:t=ye,onActivation:n})=>{const{code:r}=e.nativeEvent;return!!t.start.includes(r)&&(e.preventDefault(),null==n||n({event:e.nativeEvent}),!0)}}];class Ce{constructor(e,t,n=function(e){const{EventTarget:t}=(0,a.zk)(e);return e instanceof t?e:(0,a.TW)(e)}(e.event.target)){var r;this.props=void 0,this.events=void 0,this.autoScrollEnabled=!0,this.document=void 0,this.activated=!1,this.initialCoordinates=void 0,this.timeoutId=null,this.listeners=void 0,this.documentListeners=void 0,this.windowListeners=void 0,this.props=e,this.events=t;const{event:o}=e,{target:i}=o;this.props=e,this.events=t,this.document=(0,a.TW)(i),this.documentListeners=new fe(this.document),this.listeners=new fe(n),this.windowListeners=new fe((0,a.zk)(i)),this.initialCoordinates=null!=(r=(0,a.e_)(o))?r:x,this.handleStart=this.handleStart.bind(this),this.handleMove=this.handleMove.bind(this),this.handleEnd=this.handleEnd.bind(this),this.handleCancel=this.handleCancel.bind(this),this.handleKeydown=this.handleKeydown.bind(this),this.removeTextSelection=this.removeTextSelection.bind(this),this.attach()}attach(){const{events:e,props:{options:{activationConstraint:t}}}=this;if(this.listeners.add(e.move.name,this.handleMove,{passive:!1}),this.listeners.add(e.end.name,this.handleEnd),this.windowListeners.add(ge.Resize,this.handleCancel),this.windowListeners.add(ge.DragStart,me),this.windowListeners.add(ge.VisibilityChange,this.handleCancel),this.windowListeners.add(ge.ContextMenu,me),this.documentListeners.add(ge.Keydown,this.handleKeydown),t){if(De(t))return;if(Re(t))return void(this.timeoutId=setTimeout(this.handleStart,t.delay))}this.handleStart()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll(),setTimeout(this.documentListeners.removeAll,50),null!==this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=null)}handleStart(){const{initialCoordinates:e}=this,{onStart:t}=this.props;e&&(this.activated=!0,this.documentListeners.add(ge.Click,be,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(ge.SelectionChange,this.removeTextSelection),t(e))}handleMove(e){var t;const{activated:n,initialCoordinates:r,props:o}=this,{onMove:i,options:{activationConstraint:s}}=o;if(!r)return;const l=null!=(t=(0,a.e_)(e))?t:x,c=(0,a.Re)(r,l);
1if(!n&&s){if(Re(s))return ve(c,s.tolerance)?this.handleCancel():void 0;if(De(s))return null!=s.tolerance&&ve(c,s.tolerance)?this.handleCancel():ve(c,s.distance)?this.handleStart():void 0}e.cancelable&&e.preventDefault(),i(l)}handleEnd(){const{onEnd:e}=this.props;this.detach(),e()}handleCancel(){const{onCancel:e}=this.props;this.detach(),e()}handleKeydown(e){e.code===pe.Esc&&this.handleCancel()}removeTextSelection(){var e;null==(e=this.document.getSelection())||e.removeAllRanges()}}const Ee={move:{name:"pointermove"},end:{name:"pointerup"}};class Se extends Ce{constructor(e){const{event:t}=e,n=(0,a.TW)(t.target);super(e,Ee,n)}}Se.activators=[{eventName:"onPointerDown",handler:({nativeEvent:e},{onActivation:t})=>!(!e.isPrimary||0!==e.button||(null==t||t({event:e}),0))}];const Me={move:{name:"mousemove"},end:{name:"mouseup"}};var Ne;!function(e){e[e.RightClick=2]="RightClick"}(Ne||(Ne={}));class ke extends Ce{constructor(e){super(e,Me,(0,a.TW)(e.event.target))}}ke.activators=[{eventName:"onMouseDown",handler:({nativeEvent:e},{onActivation:t})=>e.button!==Ne.RightClick&&(null==t||t({event:e}),!0)}];const Ie={move:{name:"touchmove"},end:{name:"touchend"}};class Te extends Ce{constructor(e){super(e,Ie)}static setup(){return window.addEventListener(Ie.move.name,e,{capture:!1,passive:!1}),function(){window.removeEventListener(Ie.move.name,e)};function e(){}}}function Le(e,{transform:t,...n}){return(null==e?void 0:e.length)?e.reduce((e,t)=>t({transform:e,...n}),t):t}Te.activators=[{eventName:"onTouchStart",handler:({nativeEvent:e},{onActivation:t})=>{const{touches:n}=e;return!(n.length>1||(null==t||t({event:e}),0))}}];const Oe=[{sensor:Se,options:{}},{sensor:xe,options:{}}],Ae={current:{}},Be=(0,r.createContext)({...x,scaleX:1,scaleY:1}),ze=(0,r.memo)(function({id:e,autoScroll:t=!0,announcements:n,children:s,sensors:c=Oe,collisionDetection:d=L,measuring:h,modifiers:f,screenReaderInstructions:v=l,...D}){var R,C,E,S,N,k,I;const T=(0,r.useReducer)(b,void 0,m),[O,B]=T,[W,$]=(0,r.useState)(()=>({type:null,event:null})),[F,X]=(0,r.useState)(!1),{draggable:{active:G,nodes:U,translate:V},droppable:{containers:ee}}=O,le=G?U[G]:null,ce=(0,r.useRef)({initial:null,translated:null}),de=(0,r.useMemo)(()=>{var e;return null!=G?{id:G,data:null!=(e=null==le?void 0:le.data)?e:Ae,rect:ce}:null},[G,le]),he=(0,r.useRef)(null),[fe,ve]=(0,r.useState)(null),[ge,pe]=(0,r.useState)(null),me=(0,a.YN)(D,Object.values(D)),be=(0,a.YG)("DndDescribedBy",e),ye=(0,r.useMemo)(()=>ee.getEnabled(),[ee]),{droppableRects:we,measureDroppableContainers:xe,measuringScheduled:De}=function(e,{dragging:t,dependencies:n,config:o}){const[i,s]=(0,r.useState)(null),l=null!=i,{frequency:c,measure:u,strategy:d}={...ne,...o},h=(0,r.useRef)(e),f=(0,r.useCallback)((e=[])=>s(t=>t?t.concat(e):e),[]),v=(0,r.useRef)(null),g=function(){switch(d){case Z.Always:return!1;case Z.BeforeDragging:return t;default:return!t}}(),p=(0,a.KG)(n=>{if(g&&!t)return te;const r=i;if(!n||n===te||h.current!==e||null!=r){const t=new Map;for(let n of e){if(!n)continue;if(r&&r.length>0&&!r.includes(n.id)&&n.rect.current){t.set(n.id,n.rect.current);continue}const e=n.node.current,o=e?new q(u(e),e):null;n.rect.current=o,o&&t.set(n.id,o)}return t}return n},[e,i,t,g,u]);return(0,r.useEffect)(()=>{h.current=e},[e]),(0,r.useEffect)(()=>{g||requestAnimationFrame(()=>f())},[t,g]),(0,r.useEffect)(()=>{l&&s(null)},[l]),(0,r.useEffect)(()=>{g||"number"!=typeof c||null!==v.current||(v.current=setTimeout(()=>{f(),v.current=null},c))},[c,g,f,...n]),{droppableRects:p,measureDroppableContainers:f,measuringScheduled:l}}(ye,{dragging:F,dependencies:[V.x,V.y],config:null==h?void 0:h.droppable}),Re=function(e,t){const n=null!==t?e[t]:void 0,r=n?n.node.current:null;return(0,a.KG)(e=>{var n;return null===t?null:null!=(n=null!=r?r:e)?n:null},[r,t])}(U,G),Ce=ge?(0,a.e_)(ge):null,Ee=se(Re,null!=(R=null==h||null==(C=h.draggable)?void 0:C.measure)?R:Y),Se=ie(Re?Re.parentElement:null),Me=(0,r.useRef)({active:null,activeNode:Re,collisionRect:null,collisions:null,droppableRects:we,draggableNodes:U,draggingNode:null,draggingNodeRect:null,droppableContainers:ee,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),Ne=ee.getNodeFor(null==(E=Me.current.over)?void 0:E.id),ke=function({measure:e=z}){const[t,n]=(0,r.useState)(null),o=re({onResize:(0,r.useCallback)(t=>{for(const{target:r}of t)if((0,a.sb)(r)){n(t=>{const n=e(r);return t?{...t,width:n.width,height:n.height}:n});break}},[e])}),i=(0,r.useCallback)(t=>{const r=ue(t);null==o||o.disconnect(),r&&(null==o||o.observe(r)),n(r?e(r):null)},[e,o]),[s,l]=(0,a.lk)(i);return(0,r.useMemo)(()=>({nodeRef:s,rect:t,setRef:l}),[t,s,l])}({measure:null==h||null==(S=h.dragOverlay)?void 0:S.measure}),Ie=null!=(N=ke.nodeRef.current)?N:Re,Te=null!=(k=ke.rect)?k:Ee,ze=(0,r.useRef)(null),Ye=ze.current,Ke=Te===Ee?(We=Ye,(je=Ee)&&We?{x:je.left-We.left,y:je.top-We.top}:x):x;var je,We;const $e=(Pe=Ie?Ie.ownerDocument.defaultView:null,(0,r.useMemo)(()=>
1Pe?function(e){const t=e.innerWidth,n=e.innerHeight;return{top:0,left:0,right:t,bottom:n,width:t,height:n}}(Pe):null,[Pe]));var Pe;const Fe=function(e){const t=(0,r.useRef)(e),n=(0,a.KG)(n=>e?n&&e&&t.current&&e.parentNode===t.current.parentNode?n:K(e):oe,[e]);return(0,r.useEffect)(()=>{t.current=e},[e]),n}(G?null!=Ne?Ne:Ie:null),Xe=ae(Fe),Ge=Le(f,{transform:{x:V.x-Ke.x,y:V.y-Ke.y,scaleX:1,scaleY:1},activatorEvent:ge,active:de,activeNodeRect:Ee,containerNodeRect:Se,draggingNodeRect:Te,over:Me.current.over,overlayNodeRect:ke.rect,scrollableAncestors:Fe,scrollableAncestorRects:Xe,windowRect:$e}),_e=Ce?(0,a.WQ)(Ce,V):null,Ue=function(e){const[t,n]=(0,r.useState)(null),o=(0,r.useRef)(e),i=(0,r.useCallback)(e=>{const t=j(e.target);t&&n(e=>e?(e.set(t,P(t)),new Map(e)):null)},[]);return(0,r.useEffect)(()=>{const t=o.current;if(e!==t){r(t);const a=e.map(e=>{const t=j(e);return t?(t.addEventListener("scroll",i,{passive:!0}),[t,P(t)]):null}).filter(e=>null!=e);n(a.length?new Map(a):null),o.current=e}return()=>{r(e),r(t)};function r(e){e.forEach(e=>{const t=j(e);null==t||t.removeEventListener("scroll",i)})}},[i,e]),(0,r.useMemo)(()=>e.length?t?Array.from(t.values()).reduce((e,t)=>(0,a.WQ)(e,t),x):H(e):x,[e,t])}(Fe),He=(0,a.WQ)(Ge,Ue),Ve=Te?A(Te,Ge):null,qe=de&&Ve?d({active:de,collisionRect:Ve,droppableContainers:ye,pointerCoordinates:_e}):null,Qe=M(qe,"id"),[Je,Ze]=(0,r.useState)(null),et=function(e,t,n){return{...e,scaleX:t&&n?t.width/n.width:1,scaleY:t&&n?t.height/n.height:1}}(Ge,null!=(I=null==Je?void 0:Je.rect)?I:null,Ee),tt=(0,r.useCallback)((e,{sensor:t,options:n})=>{if(!he.current)return;const r=U[he.current];if(!r)return;const o=new t({active:he.current,activeNode:r,event:e.nativeEvent,options:n,context:Me,onStart(e){const t=he.current;if(!t)return;const n=U[t];if(!n)return;const{onDragStart:r}=me.current,o={active:{id:t,data:n.data,rect:ce}};(0,i.unstable_batchedUpdates)(()=>{B({type:u.DragStart,initialCoordinates:e,active:t}),$({type:u.DragStart,event:o})}),null==r||r(o)},onMove(e){B({type:u.DragMove,coordinates:e})},onEnd:a(u.DragEnd),onCancel:a(u.DragCancel)});function a(e){return async function(){const{active:t,collisions:n,over:r,scrollAdjustedTranslate:o}=Me.current;let a=null;if(t&&o){const{cancelDrop:i}=me.current;a={active:t,collisions:n,delta:o,over:r},e===u.DragEnd&&"function"==typeof i&&await Promise.resolve(i(a))&&(e=u.DragCancel)}he.current=null,(0,i.unstable_batchedUpdates)(()=>{if(B({type:e}),Ze(null),X(!1),ve(null),pe(null),a&&$({type:e,event:a}),a){const{onDragCancel:t,onDragEnd:n}=me.current,r=e===u.DragEnd?n:t;null==r||r(a)}})}}(0,i.unstable_batchedUpdates)(()=>{ve(o),pe(e.nativeEvent)})},[U]),nt=(0,r.useCallback)((e,t)=>(n,r)=>{const o=n.nativeEvent;null!==he.current||o.dndKit||o.defaultPrevented||!0===e(n,t.options)&&(o.dndKit={capturedBy:t.sensor},he.current=r,tt(n,t))},[tt]),rt=function(e,t){return(0,r.useMemo)(()=>e.reduce((e,n)=>{const{sensor:r}=n;return[...e,...r.activators.map(e=>({eventName:e.eventName,handler:t(e.handler,n)}))]},[]),[e,t])}(c,nt);!function(e){(0,r.useEffect)(()=>{if(!a.Sw)return;const t=e.map(({sensor:e})=>null==e.setup?void 0:e.setup());return()=>{for(const e of t)null==e||e()}},e.map(({sensor:e})=>e))}(c),(0,r.useEffect)(()=>{null!=G&&X(!0)},[G]),(0,r.useEffect)(()=>{de||(ze.current=null),de&&Ee&&!ze.current&&(ze.current=Ee)},[Ee,de]),(0,r.useEffect)(()=>{const{onDragMove:e}=me.current,{active:t,collisions:n,over:r}=Me.current;if(!t)return;const o={active:t,collisions:n,delta:{x:He.x,y:He.y},over:r};$({type:u.DragMove,event:o}),null==e||e(o)},[He.x,He.y]),(0,r.useEffect)(()=>{const{active:e,collisions:t,droppableContainers:n,scrollAdjustedTranslate:r}=Me.current;if(!e||!he.current||!r)return;const{onDragOver:o}=me.current,a=n.get(Qe),s=a&&a.rect.current?{id:a.id,rect:a.rect.current,data:a.data,disabled:a.disabled}:null,l={active:e,collisions:t,delta:{x:r.x,y:r.y},over:s};(0,i.unstable_batchedUpdates)(()=>{Ze(s),$({type:u.DragOver,event:l}),null==o||o(l)})},[Qe]),(0,a.Es)(()=>{Me.current={active:de,activeNode:Re,collisionRect:Ve,collisions:qe,droppableRects:we,draggableNodes:U,draggingNode:Ie,draggingNodeRect:Te,droppableContainers:ee,over:Je,scrollableAncestors:Fe,scrollAdjustedTranslate:He},ce.current={initial:Te,translated:Ve}},[de,Re,qe,Ve,U,Ie,Te,we,ee,Je,Fe,He]),function({acceleration:e,activator:t=Q.Pointer,canScroll:n,draggingRect:o,enabled:i,interval:s=5,order:l=J.TreeOrder,pointerCoordinates:c,scrollableAncestors:u,scrollableAncestorRects:d,threshold:h}){const[f,v]=(0,a.$$)(),g=(0,r.useRef)({x:1,y:1}),p=(0,r.useMemo)(()=>{switch(t){case Q.Pointer:return c?{top:c.y,bottom:c.y,left:c.x,right:c.x}:null;case Q.DraggableRect:return o}return null},[t,o,c]),m=(0,r.useRef)(x),b=(0,r.useRef)(null),y=(0,r.useCallback)(()=>{const e=b.current;if(!e)return;const t=g.current.x*m.current.x,n=g.current.y*m.current.y;e.scrollBy(t,n)},[]),w=(0,r.useMemo)(()=>l===J.TreeOrder?[...u].reverse():u,[l,u]);(0,r.useEffect)(()=>
1{if(i&&u.length&&p){for(const t of w){if(!1===(null==n?void 0:n(t)))continue;const r=u.indexOf(t),o=d[r];if(!o)continue;const{direction:i,speed:a}=_(t,o,p,e,h);if(a.x>0||a.y>0)return v(),b.current=t,f(y,s),g.current=a,void(m.current=i)}g.current={x:0,y:0},m.current={x:0,y:0},v()}else v()},[e,y,n,v,i,s,JSON.stringify(p),f,u,w,d,JSON.stringify(h)])}({...function(){const e=!1===(null==fe?void 0:fe.autoScrollEnabled),n="object"==typeof t?!1===t.enabled:!1===t,r=!e&&!n;return"object"==typeof t?{...t,enabled:r}:{enabled:r}}(),draggingRect:Ve,pointerCoordinates:_e,scrollableAncestors:Fe,scrollableAncestorRects:Xe});const ot=(0,r.useMemo)(()=>({active:de,activeNode:Re,activeNodeRect:Ee,activatorEvent:ge,collisions:qe,containerNodeRect:Se,dragOverlay:ke,draggableNodes:U,droppableContainers:ee,droppableRects:we,over:Je,measureDroppableContainers:xe,scrollableAncestors:Fe,scrollableAncestorRects:Xe,measuringScheduled:De,windowRect:$e}),[de,Re,Ee,ge,qe,Se,ke,U,ee,we,Je,xe,Fe,Xe,De,$e]),it=(0,r.useMemo)(()=>({activatorEvent:ge,activators:rt,active:de,activeNodeRect:Ee,ariaDescribedById:{draggable:be},dispatch:B,draggableNodes:U,over:Je,measureDroppableContainers:xe}),[ge,rt,de,Ee,B,be,U,Je,xe]);return o().createElement(y.Provider,{value:W},o().createElement(g.Provider,{value:it},o().createElement(p.Provider,{value:ot},o().createElement(Be.Provider,{value:et},s))),o().createElement(w,{announcements:n,hiddenTextDescribedById:be,screenReaderInstructions:v}))}),Ye=(0,r.createContext)(null),Ke="button";function je({id:e,data:t,disabled:n=!1,attributes:o}){const i=(0,a.YG)("Droppable"),{activators:s,activatorEvent:l,active:c,activeNodeRect:u,ariaDescribedById:d,draggableNodes:h,over:f}=(0,r.useContext)(g),{role:v=Ke,roleDescription:p="draggable",tabIndex:m=0}=null!=o?o:{},b=(null==c?void 0:c.id)===e,y=(0,r.useContext)(b?Be:Ye),[w,x]=(0,a.lk)(),D=function(e,t){return(0,r.useMemo)(()=>e.reduce((e,{eventName:n,handler:r})=>(e[n]=e=>{r(e,t)},e),{}),[e,t])}(s,e),R=(0,a.YN)(t);return(0,a.Es)(()=>(h[e]={id:e,key:i,node:w,data:R},()=>{const t=h[e];t&&t.key===i&&delete h[e]}),[h,e]),{active:c,activatorEvent:l,activeNodeRect:u,attributes:(0,r.useMemo)(()=>({role:v,tabIndex:m,"aria-pressed":!(!b||v!==Ke)||void 0,"aria-roledescription":p,"aria-describedby":d.draggable}),[v,m,b,p,d.draggable]),isDragging:b,listeners:n?void 0:D,node:w,over:f,setNodeRef:x,transform:y}}function We(){return(0,r.useContext)(p)}const $e={timeout:25};function Pe({data:e,disabled:t=!1,id:n,resizeObserverConfig:o}){const i=(0,a.YG)("Droppable"),{active:s,dispatch:l,over:c,measureDroppableContainers:d}=(0,r.useContext)(g),h=(0,r.useRef)(!1),f=(0,r.useRef)(null),v=(0,r.useRef)(null),{disabled:p,updateMeasurementsFor:m,timeout:b}={...$e,...o},y=(0,a.YN)(null!=m?m:n),w=re({onResize:(0,r.useCallback)(()=>{h.current?(null!=v.current&&clearTimeout(v.current),v.current=setTimeout(()=>{d("string"==typeof y.current?[y.current]:y.current),v.current=null},b)):h.current=!0},[b]),disabled:p||!s}),x=(0,r.useCallback)((e,t)=>{w&&(t&&(w.unobserve(t),h.current=!1),e&&w.observe(e))},[w]),[D,R]=(0,a.lk)(x),C=(0,a.YN)(e);return(0,r.useEffect)(()=>{w&&D.current&&(w.disconnect(),h.current=!1,w.observe(D.current))},[D,w]),(0,a.Es)(()=>(l({type:u.RegisterDroppable,element:{id:n,key:i,disabled:t,node:D,rect:f,data:C}}),()=>l({type:u.UnregisterDroppable,key:i,id:n})),[n]),(0,r.useEffect)(()=>
1{l({type:u.SetDroppableDisabled,id:n,key:i,disabled:t})},[t]),{active:s,rect:f,isOver:(null==c?void 0:c.id)===n,node:D,over:c,setNodeRef:R}}const Fe={duration:250,easing:"ease",dragSourceOpacity:0},Xe={x:0,y:0,scaleX:1,scaleY:1},Ge=e=>(0,a.kx)(e)?"transform 250ms ease":void 0,_e=o().memo(({adjustScale:e=!1,children:t,dropAnimation:n=Fe,style:i,transition:s=Ge,modifiers:l,wrapperElement:c="div",className:u,zIndex:d=999})=>{var h,f;const{active:p,activeNodeRect:m,containerNodeRect:b,draggableNodes:y,activatorEvent:w,over:x,dragOverlay:D,scrollableAncestors:C,scrollableAncestorRects:E,windowRect:S}=We(),M=(0,r.useContext)(Be),N=Le(l,{activatorEvent:w,active:p,activeNodeRect:m,containerNodeRect:b,draggingNodeRect:D.rect,over:x,overlayNodeRect:D.rect,scrollableAncestors:C,scrollableAncestorRects:E,transform:M,windowRect:S}),k=null!==p,I=e?N:{...N,scaleX:1,scaleY:1},T=(0,a.KG)(e=>k?e||(m?{...m}:null):null,[k,m]),L=T?{position:"fixed",width:T.width,height:T.height,top:T.top,left:T.left,zIndex:d,transform:a.Ks.Transform.toString(I),touchAction:"none",transformOrigin:e&&w?R(w,T):void 0,transition:"function"==typeof s?s(w):s,...i}:void 0,O=k?{style:L,children:t,className:u,transform:I}:void 0,A=(0,r.useRef)(O),B=null!=O?O:A.current,{children:z,transform:K,...j}=null!=B?B:{},W=(0,r.useRef)(null!=(h=null==p?void 0:p.id)?h:null),$=function({animate:e,adjustScale:t,activeId:n,draggableNodes:o,duration:i,dragSourceOpacity:s,easing:l,node:c,transform:u}){const[d,h]=(0,r.useState)(!1);return(0,a.Es)(()=>{var r;if(!(e&&n&&l&&i))return void(e&&h(!0));const d=null==(r=o[n])?void 0:r.node.current;if(u&&c&&d&&null!==d.parentNode){const e=ue(c);if(e){const n=e.getBoundingClientRect(),r=Y(d),o={x:n.left-r.left,y:n.top-r.top};if(Math.abs(o.x)||Math.abs(o.y)){const e={scaleX:t?r.width*u.scaleX/n.width:1,scaleY:t?r.height*u.scaleY/n.height:1},f=a.Ks.Transform.toString({x:u.x-o.x,y:u.y-o.y,...e}),v=d.style.opacity;return null!=s&&(d.style.opacity=`${s}`),void(c.animate([{transform:a.Ks.Transform.toString(u)},{transform:f}],{easing:l,duration:i}).onfinish=()=>{c.style.display="none",h(!0),d&&null!=s&&(d.style.opacity=v)})}}}h(!0)},[e,n,t,o,i,l,s,c,u]),(0,a.Es)(()=>{d&&h(!1)},[d]),d}({animate:Boolean(n&&W.current&&!p),adjustScale:e,activeId:W.current,draggableNodes:y,duration:null==n?void 0:n.duration,easing:null==n?void 0:n.easing,dragSourceOpacity:null==n?void 0:n.dragSourceOpacity,node:D.nodeRef.current,transform:null==(f=A.current)?void 0:f.transform}),P=Boolean(z&&(t||n&&!$));return(0,r.useEffect)(()=>{var e;(null==p?void 0:p.id)!==W.current&&(W.current=null!=(e=null==p?void 0:p.id)?e:null),p&&A.current!==O&&(A.current=O)},[p,O]),(0,r.useEffect)(()=>{$&&(A.current=void 0)},[$]),P?o().createElement(g.Provider,{value:v},o().createElement(Be.Provider,{value:Xe},o().createElement(c,{...j,ref:D.setRef},z))):null})},19251(e,t,n){n.d(t,{Aw:()=>a,L4:()=>l,bO:()=>c});var r=n(96540),o=n.n(r);const i={display:"none"};function a({id:e,value:t}){return o().createElement("div",{id:e,style:i},t)}const s={position:"absolute",width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0 0 0 0)",clipPath:"inset(100%)",whiteSpace:"nowrap"};function l({id:e,announcement:t}){return o().createElement("div",{id:e,style:s,role:"status","aria-live":"assertive","aria-atomic":!0},t)}function c(){const[e,t]=(0,r.useState)("");return{announce:(0,r.useCallback)(e=>{null!=e&&t(e)},[]),announcement:e}}},66008(e,t,n){n.d(t,{JR:()=>R,_G:()=>d,gB:()=>v,gl:()=>x});var r=n(96540),o=n.n(r),i=n(15871),a=n(74979);function s(e,t,n){const r=e.slice();return r.splice(n<0?r.length+n:n,0,r.splice(t,1)[0]),r}function l(e){return null!==e&&e>=0}const c=({rects:e,activeIndex:t,overIndex:n,index:r})=>{const o=s(e,n,t),i=e[r],a=o[r];return a&&i?{x:a.left-i.left,y:a.top-i.top,scaleX:a.width/i.width,scaleY:a.height/i.height}:null},u={scaleX:1,scaleY:1},d=({activeIndex:e,activeNodeRect:t,index:n,rects:r,overIndex:o})=>{var i;const a=null!=(i=r[e])?i:t;if(!a)return null;if(n===e){const t=r[o];return t?{x:0,y:e<o?t.top+t.height-(a.top+a.height):t.top-a.top,...u}:null}const s=function(e,t,n){const r=e[t],o=e[t-1],i=e[t+1];return r?n<t?o?r.top-(o.top+o.height):i?i.top-(r.top+r.height):0:i?i.top-(r.top+r.height):o?r.top-(o.top+o.height):0:0}(r,n,e);return n>e&&n<=o?{x:0,y:-a.height-s,...u}:n<e&&n>=o?{x:0,y:a.height+s,...u}:{x:0,y:0,...u}}
1,h="Sortable",f=o().createContext({activeIndex:-1,containerId:h,disableTransforms:!1,items:[],overIndex:-1,useDragOverlay:!1,sortedRects:[],strategy:c});function v({children:e,id:t,items:n,strategy:s=c}){const{active:l,dragOverlay:u,droppableRects:d,over:v,measureDroppableContainers:g,measuringScheduled:p}=(0,i.fF)(),m=(0,a.YG)(h,t),b=Boolean(null!==u.rect),y=(0,r.useMemo)(()=>n.map(e=>"string"==typeof e?e:e.id),[n]),w=null!=l,x=l?y.indexOf(l.id):-1,D=v?y.indexOf(v.id):-1,R=(0,r.useRef)(y),C=function(e,t){return e.reduce((e,n,r)=>{const o=t.get(n);return o&&(e[r]=o),e},Array(e.length))}(y,d),E=(S=y,M=R.current,!(S.join()===M.join()));var S,M;const N=-1!==D&&-1===x||E;(0,a.Es)(()=>{E&&w&&!p&&g(y)},[E,y,w,g,p]),(0,r.useEffect)(()=>{R.current=y},[y]);const k=(0,r.useMemo)(()=>({activeIndex:x,containerId:m,disableTransforms:N,items:y,overIndex:D,useDragOverlay:b,sortedRects:C,strategy:s}),[x,m,N,y,D,C,b,s]);return o().createElement(f.Provider,{value:k},e)}const g=({id:e,items:t,activeIndex:n,overIndex:r})=>s(t,n,r).indexOf(e),p=({containerId:e,isSorting:t,wasDragging:n,index:r,items:o,newIndex:i,previousItems:a,previousContainerId:s,transition:l})=>!(!l||!n||a!==o&&r===i||!t&&(i===r||e!==s)),m={duration:200,easing:"ease"},b="transform",y=a.Ks.Transition.toString({property:b,duration:0,easing:"linear"}),w={roleDescription:"sortable"};function x({animateLayoutChanges:e=p,attributes:t,disabled:n,data:o,getNewIndex:s=g,id:c,strategy:u,resizeObserverConfig:d,transition:h=m}){const{items:v,containerId:x,activeIndex:D,disableTransforms:R,sortedRects:C,overIndex:E,useDragOverlay:S,strategy:M}=(0,r.useContext)(f),N=v.indexOf(c),k=(0,r.useMemo)(()=>({sortable:{containerId:x,index:N,items:v},...o}),[x,o,N,v]),I=(0,r.useMemo)(()=>v.slice(v.indexOf(c)),[v,c]),{rect:T,node:L,isOver:O,setNodeRef:A}=(0,i.zM)({id:c,data:k,resizeObserverConfig:{updateMeasurementsFor:I,...d}}),{active:B,activatorEvent:z,activeNodeRect:Y,attributes:K,setNodeRef:j,listeners:W,isDragging:$,over:P,transform:F}=(0,i.PM)({id:c,data:k,attributes:{...w,...t},disabled:n}),X=(0,a.jn)(A,j),G=Boolean(B),_=G&&!R&&l(D)&&l(E),U=!S&&$,H=U&&_?F:null,V=_?null!=H?H:(null!=u?u:M)({rects:C,activeNodeRect:Y,activeIndex:D,overIndex:E,index:N}):null,q=l(D)&&l(E)?s({id:c,items:v,activeIndex:D,overIndex:E}):N,Q=null==B?void 0:B.id,J=(0,r.useRef)({activeId:Q,items:v,newIndex:q,containerId:x}),Z=v!==J.current.items,ee=e({active:B,containerId:x,isDragging:$,
1isSorting:G,id:c,index:N,items:v,newIndex:J.current.newIndex,previousItems:J.current.items,previousContainerId:J.current.containerId,transition:h,wasDragging:null!=J.current.activeId}),te=function({disabled:e,index:t,node:n,rect:o}){const[s,l]=(0,r.useState)(null),c=(0,r.useRef)(t);return(0,a.Es)(()=>{if(!e&&t!==c.current&&n.current){const e=o.current;if(e){const t=(0,i.Sj)(n.current,{ignoreTransform:!0}),r={x:e.left-t.left,y:e.top-t.top,scaleX:e.width/t.width,scaleY:e.height/t.height};(r.x||r.y)&&l(r)}}t!==c.current&&(c.current=t)},[e,t,n,o]),(0,r.useEffect)(()=>{s&&requestAnimationFrame(()=>{l(null)})},[s]),s}({disabled:!ee,index:N,node:L,rect:T});return(0,r.useEffect)(()=>{G&&J.current.newIndex!==q&&(J.current.newIndex=q),x!==J.current.containerId&&(J.current.containerId=x),v!==J.current.items&&(J.current.items=v),Q!==J.current.activeId&&(J.current.activeId=Q)},[Q,G,q,x,v]),{active:B,activeIndex:D,attributes:K,rect:T,index:N,newIndex:q,items:v,isOver:O,isSorting:G,isDragging:$,listeners:W,node:L,overIndex:E,over:P,setNodeRef:X,setDroppableNodeRef:A,setDraggableNodeRef:j,transform:null!=te?te:V,transition:te||Z&&J.current.newIndex===N?y:U&&!(0,a.kx)(z)||!h?void 0:G||ee?a.Ks.Transition.toString({...h,property:b}):void 0}}const D=[i.vL.Down,i.vL.Right,i.vL.Up,i.vL.Left],R=(e,{context:{active:t,droppableContainers:n,collisionRect:r,scrollableAncestors:o}})=>{if(D.includes(e.code)){if(e.preventDefault(),!t||!r)return;const a=[];n.getEnabled().forEach(t=>{if(!t||(null==t?void 0:t.disabled))return;const n=null==t?void 0:t.rect.current;if(n)switch(e.code){case i.vL.Down:r.top+r.height<=n.top&&a.push(t);break;case i.vL.Up:r.top>=n.top+n.height&&a.push(t);break;case i.vL.Left:r.left>=n.left+n.width&&a.push(t);break;case i.vL.Right:r.left+r.width<=n.left&&a.push(t)}});const s=(0,i.y$)({active:t,collisionRect:r,droppableContainers:a,pointerCoordinates:null}),l=(0,i.Vy)(s,"id");if(null!=l){const e=n.get(l),t=null==e?void 0:e.node.current,a=null==e?void 0:e.rect.current;if(t&&a){const e=(0,i.sl)(t).some((e,t)=>o[t]!==e)?{x:0,y:0}:{x:r.width-a.width,y:r.height-a.height};return{x:a.left-e.x,y:a.top-e.y}}}}}},74979(e,t,n){n.d(t,{$$:()=>v,Es:()=>f,KG:()=>p,Ks:()=>E,Ll:()=>s,Re:()=>D,Sw:()=>i,TW:()=>h,WQ:()=>x,YG:()=>y,YN:()=>g,e_:()=>C,jn:()=>o,kx:()=>R,l6:()=>a,lk:()=>m,sb:()=>u,wz:()=>c,xZ:()=>d,zk:()=>l});var r=n(96540);function o(...e){return(0,r.useMemo)(()=>t=>{e.forEach(e=>e(t))},e)}const i="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement;function a(e){const t=Object.prototype.toString.call(e);return"[object Window]"===t||"[object global]"===t}function s(e){return"nodeType"in e}function l(e){var t,n;return e?a(e)?e:s(e)&&null!=(t=null==(n=e.ownerDocument)?void 0:n.defaultView)?t:window:window}function c(e){const{Document:t}=l(e);return e instanceof t}function u(e){return!a(e)&&e instanceof l(e).HTMLElement}function d(e){return e instanceof l(e).SVGElement}function h(e){return e?a(e)?e.document:s(e)?c(e)?e:u(e)?e.ownerDocument:document:document:document}const f=i?r.useLayoutEffect:r.useEffect;function v(){const e=(0,r.useRef)(null);return[(0,r.useCallback)((t,n)=>{e.current=setInterval(t,n)},[]),(0,r.useCallback)(()=>{null!==e.current&&(clearInterval(e.current),e.current=null)},[])]}function g(e,t=[e]){const n=(0,r.useRef)(e);return f(()=>{n.current!==e&&(n.current=e)},t),n}function p(e,t){const n=(0,r.useRef)();return(0,r.useMemo)(()=>{const t=e(n.current);return n.current=t,t},[...t])}function m(e){const t=g(e),n=(0,r.useRef)(null),o=(0,r.useCallback)(e=>{e!==n.current&&(null==t.current||t.current(e,n.current)),n.current=e},[]);return[n,o]}let b={};function y(e,t){return(0,r.useMemo)(()=>{if(t)return t;const n=null==b[e]?0:b[e]+1;return b[e]=n,`${e}-${n}`},[e,t])}function w(e){return(t,...n)=>n.reduce((t,n)=>{const r=Object.entries(n);for(const[o,i]of r){const n=t[o];null!=n&&(t[o]=n+e*i)}return t},{...t})}const x=w(1),D=w(-1);function R(e){if(!e)return!1;const{KeyboardEvent:t}=l(e.target);return t&&e instanceof t}function C(e){if(function(e){if(!e)return!1;const{TouchEvent:t}=l(e.target);return t&&e instanceof t}(e)){if(e.touches&&e.touches.length){const{clientX:t,clientY:n}=e.touches[0];return{x:t,y:n}}if(e.changedTouches&&e.changedTouches.length){const{clientX:t,clientY:n}=e.changedTouches[0];return{x:t,y:n}}}return function(e){return"clientX"in e&&"clientY"in e}(e)?{x:e.clientX,y:e.clientY}:null}const E=Object.freeze({Translate:{toString(e){if(!e)return;const{x:t,y:n}=e;return`translate3d(${t?Math.round(t):0}px, ${n?Math.round(n):0}
1px, 0)`}},Scale:{toString(e){if(!e)return;const{scaleX:t,scaleY:n}=e;return`scaleX(${t}) scaleY(${n})`}},Transform:{toString(e){if(e)return[E.Translate.toString(e),E.Scale.toString(e)].join(" ")}},Transition:{toString:({property:e,duration:t,easing:n})=>`${e} ${t}ms ${n}`}})}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.