PageSourceSearch

https://shadcn-nextjs-propxyz-admin-template.vercel.app/_next/static/chunks/e69c0797e412ffa9.js

js shadcn-nextjs-propxyz-admin-template.vercel.app collected 2026-10-03 07:42:25 UTC 47,358 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,222080,210242,825339,11088,e=>{"use strict";var t=e.i(542986);let n=["top","right","bottom","left"],r=n.reduce((e,t)=>e.concat(t,t+"-start",t+"-end"),[]),i=Math.min,o=Math.max,l=Math.round,u=Math.floor,s=e=>({x:e,y:e}),c={left:"right",right:"left",bottom:"top",top:"bottom"};function a(e,t,n){return o(e,i(t,n))}function f(e,t){return"function"==typeof e?e(t):e}function d(e){return e.split("-")[0]}function g(e){return e.split("-")[1]}function m(e){return"x"===e?"y":"x"}function h(e){return"y"===e?"height":"width"}function p(e){let t=e[0];return"t"===t||"b"===t?"y":"x"}function v(e){return m(p(e))}function y(e,t,n){void 0===n&&(n=!1);let r=g(e),i=v(e),o=h(i),l="x"===i?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[o]>t.floating[o]&&(l=L(l)),[l,L(l)]}function x(e){let t=L(e);return[w(e),t,w(t)]}function w(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}let b=["left","right"],R=["right","left"],E=["top","bottom"],C=["bottom","top"];function S(e,t,n,r){let i=g(e),o=function(e,t,n){switch(e){case"top":case"bottom":if(n)return t?R:b;return t?b:R;case"left":case"right":return t?E:C;default:return[]}}(d(e),"start"===n,r);return i&&(o=o.map(e=>e+"-"+i),t&&(o=o.concat(o.map(w)))),o}function L(e){let t=d(e);return c[t]+e.slice(t.length)}function A(e){var t,n,r,i;return"number"!=typeof e?{top:null!=(t=e.top)?t:0,right:null!=(n=e.right)?n:0,bottom:null!=(r=e.bottom)?r:0,left:null!=(i=e.left)?i:0}:{top:e,right:e,bottom:e,left:e}}function O(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}}e.s(["clamp",()=>a,"createCoords",()=>s,"evaluate",()=>f,"floor",()=>u,"getAlignment",()=>g,"getAlignmentAxis",()=>v,"getAlignmentSides",()=>y,"getAxisLength",()=>h,"getExpandedPlacements",()=>x,"getOppositeAlignmentPlacement",()=>w,"getOppositeAxis",()=>m,"getOppositeAxisPlacements",()=>S,"getOppositePlacement",()=>L,"getPaddingObject",()=>A,"getSide",()=>d,"getSideAxis",()=>p,"max",()=>o,"min",()=>i,"placements",()=>r,"rectToClientRect",()=>O,"round",()=>l,"sides",()=>n],210242);var T=e.i(916391),M=e.i(479995),k=e.i(602519),P=e.i(785492),I=e.i(999364);function D(e,t,n){let r,{reference:i,floating:o}=e,l=p(t),u=v(t),s=h(u),c=d(t),a=i.x+i.width/2-o.width/2,f=i.y+i.height/2-o.height/2,m=i[s]/2-o[s]/2;switch(c){case"top":r={x:a,y:i.y-o.height};break;case"bottom":r={x:a,y:i.y+i.height};break;case"right":r={x:i.x+i.width,y:f};break;case"left":r={x:i.x-o.width,y:f};break;default:r={x:i.x,y:i.y}}let y=g(t);return y&&(r[u]+=m*("end"===y?1:-1)*(n&&"y"===l?-1:1)),r}async function W(e,t){var n;void 0===t&&(t={});let{x:r,y:i,platform:o,rects:l,elements:u,strategy:s}=e,{boundary:c="clippingAncestors",rootBoundary:a="viewport",elementContext:d="floating",altBoundary:g=!1,padding:m=0}=f(t,e),h=A(m),p=u[g?"floating"===d?"reference":"floating":d],v=O(await o.getClippingRect({element:null==(n=await (null==o.isElement?void 0:o.isElement(p)))||n?p:p.contextElement||await (null==o.getDocumentElement?void 0:o.getDocumentElement(u.floating)),boundary:c,rootBoundary:a,strategy:s})),y="floating"===d?{x:r,y:i,width:l.floating.width,height:l.floating.height}:l.reference,x=await (null==o.getOffsetParent?void 0:o.getOffsetParent(u.floating)),w=await (null==o.isElement?void 0:o.isElement(x))&&await (null==o.getScale?void 0:o.getScale(x))||{x:1,y:1},b=O(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:u,rect:y,offsetParent:x,strategy:s}):y);return{top:(v.top-b.top+h.top)/w.y,bottom:(b.bottom-v.bottom+h.bottom)/w.y,left:(v.left-b.left+h.left)/w.x,right:(b.right-v.right+h.right)/w.x}}let N=async(e,t,n)=>{let{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:l}=n,u=l.detectOverflow?l:{...l,detectOverflow:W},s=await (null==l.isRTL?void 0:l.isRTL(t)),c=await l.getElementRects({reference:e,floating:t,strategy:i}),{x:a,y:f}=D(c,r,s),d=r,g=0,m={};for(let n=0;n<o.length;n++){let h=o[n];if(!h)continue;let{name:p,fn:v}=h,{x:y,y:x,data:w,reset:b}=await v({x:a,y:f,initialPlacement:r,placement:d,strategy:i,middlewareData:m,rects:c,platform:u,elements:{reference:e,floating:t}});a=null!=y?y:a,f=null!=x?x:f,m[p]={...m[p],...w},b&&g<50&&(g++,"object"==typeof b&&(b.placement&&(d=b.placement),b.rects&&(c=!0===b.rects?await l.getElementRects({reference:e,floating:t,strategy:i}
1):b.rects),{x:a,y:f}=D(c,d,s)),n=-1)}return{x:a,y:f,placement:d,strategy:i,middlewareData:m}};function F(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function H(e){return n.some(t=>e[t]>=0)}function V(e){let t=i(...e.map(e=>e.left)),n=i(...e.map(e=>e.top));return{x:t,y:n,width:o(...e.map(e=>e.right))-t,height:o(...e.map(e=>e.bottom))-n}}let B=new Set(["left","top"]);async function _(e,t){let{placement:n,platform:r,elements:i}=e,o=await (null==r.isRTL?void 0:r.isRTL(i.floating)),l=d(n),u=g(n),s="y"===p(n),c=B.has(l)?-1:1,a=o&&s?-1:1,m=f(t,e),{mainAxis:h,crossAxis:v,alignmentAxis:y}="number"==typeof m?{mainAxis:m,crossAxis:0,alignmentAxis:null}:{mainAxis:m.mainAxis||0,crossAxis:m.crossAxis||0,alignmentAxis:m.alignmentAxis};return u&&"number"==typeof y&&(v="end"===u?-1*y:y),s?{x:v*a,y:h*c}:{x:h*c,y:v*a}}var $=e.i(880269);function z(e){let t=(0,$.getComputedStyle)(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=(0,$.isHTMLElement)(e),o=i?e.offsetWidth:n,u=i?e.offsetHeight:r,s=l(n)!==o||l(r)!==u;return s&&(n=o,r=u),{width:n,height:r,$:s}}function K(e){return(0,$.isElement)(e)?e:e.contextElement}function j(e){let t=K(e);if(!(0,$.isHTMLElement)(t))return s(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:o}=z(t),u=(o?l(n.width):n.width)/r,c=(o?l(n.height):n.height)/i;return u&&Number.isFinite(u)||(u=1),c&&Number.isFinite(c)||(c=1),{x:u,y:c}}let U=s(0);function Y(e){let t=(0,$.getWindow)(e);return(0,$.isWebKit)()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:U}function q(e,t,n,r){var i;void 0===t&&(t=!1),void 0===n&&(n=!1);let o=e.getBoundingClientRect(),l=K(e),u=s(1);t&&(r?(0,$.isElement)(r)&&(u=j(r)):u=j(e));let c=(void 0===(i=n)&&(i=!1),r&&i&&r===(0,$.getWindow)(l))?Y(l):s(0),a=(o.left+c.x)/u.x,f=(o.top+c.y)/u.y,d=o.width/u.x,g=o.height/u.y;if(l&&r){let e=(0,$.getWindow)(l),t=(0,$.isElement)(r)?(0,$.getWindow)(r):r,n=e,i=(0,$.getFrameElement)(n);for(;i&&t!==n;){let e=j(i),t=i.getBoundingClientRect(),r=(0,$.getComputedStyle)(i),o=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,l=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;a*=e.x,f*=e.y,d*=e.x,g*=e.y,a+=o,f+=l,n=(0,$.getWindow)(i),i=(0,$.getFrameElement)(n)}}return O({width:d,height:g,x:a,y:f})}function G(e,t){let n=(0,$.getNodeScroll)(e).scrollLeft;return t?t.left+n:q((0,$.getDocumentElement)(e)).left+n}function X(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-G(e,n),y:n.top+t.scrollTop}}function J(e,t,n){var r;let i;if("viewport"===t||"layoutViewport"===t)i=function(e,t,n){void 0===n&&(n="viewport");let r="layoutViewport"===n,i=(0,$.getWindow)(e),o=(0,$.getDocumentElement)(e),l=i.visualViewport,u=o.clientWidth,s=o.clientHeight,c=0,a=0;if(l){let e=!(0,$.isWebKit)()||"fixed"===t;r?e||(c=-l.offsetLeft,a=-l.offsetTop):(u=l.width,s=l.height,e&&(c=l.offsetLeft,a=l.offsetTop))}if(0>=G(o)){let e=o.ownerDocument,t=e.body,n=getComputedStyle(t),r="CSS1Compat"===e.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,i=Math.abs(o.clientWidth-t.clientWidth-r),l="stable both-edges"===getComputedStyle(o).scrollbarGutter?i/2:i;l<=25&&(u-=l)}return{width:u,height:s,x:c,y:a}}(e,n,t);else if("document"===t){let t,n,l,u,s,c;r=(0,$.getDocumentElement)(e),t=(0,$.getNodeScroll)(r),n=r.ownerDocument.body,l=o(r.scrollWidth,r.clientWidth,n.scrollWidth,n.clientWidth),u=o(r.scrollHeight,r.clientHeight,n.scrollHeight,n.clientHeight),s=-t.scrollLeft+G(r),c=-t.scrollTop,"rtl"===(0,$.getComputedStyle)(n).direction&&(s+=o(r.clientWidth,n.clientWidth)-l),i={width:l,height:u,x:s,y:c}}else if((0,$.isElement)(t)){let e,r,o,l,u,s;r=(e=q(t,!0,"fixed"===n)).top+t.clientTop,o=e.left+t.clientLeft,l=j(t),u=t.clientWidth*l.x,s=t.clientHeight*l.y,i={width:u,height:s,x:o*l.x,y:r*l.y}}else{let n=Y(e);i={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return O(i)}function Q(e){return"static"===(0,$.getComputedStyle)(e).position}function Z(e,t){if(!(0,$.isHTMLElement)(e)||"fixed"===(0,$.getComputedStyle)(e).position)return null;if(t)return t(e);let n=e.offsetParent;return(0,$.getDocumentElement)(e)===n&&(n=n.ownerDocument.body),n}function ee(e,t){let n=(0,$.getWindow)(e);if((0,$.isTopLayer)(e))return n;if(!(0,$.isHTMLElement)(e)){let t=(0,$.getParentNode)(e);for(;t&&!(0,$.isLastTraversableNode)(t);){if((0,$.isElement)(t)&&!Q(t))return t;t=(0,$.getParentNode)(t)}return n}let r=Z(e,t);for(;r&&(0,$.isTableElement)(r)&&Q(r);)r=Z(r,t);return r&&(0,$.isLastTraversableNode)(r)&&Q(r)&&!(0,$.isContainingBlock)(r)?n:r||(0,$.getContainingBlock)(e)||n}let et=async function(e){let t=this.getOffsetParent||ee,n=this.getDimensions,r=await n(e.floating);return{reference:function(e,t,n){let r=(0,$.isHTMLElement)(t),i=(0,$.getDocumentElement)(t),o="fixed"===n,l=q(e,!0,o,t),u={scrollLeft:0,scrollTop:0},c=s(0);if((r||!o)&&(("body"!==(0,$.getNodeName)(t)||(0,$.isOverflowElement)(i))&&(u=(0,$.getNodeScroll)(t)),r)){let e=q(t,!0,o,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}!r&&i&&(c.x=G(i));let a=!i||r||o?s(0):X(i,u);return{x:l.left+u.scrollLeft-c.x-a.x,y:l.top+u.scrollTop-c.y-a.y,width:l.width,height:l.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},en={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,o="fixed"===i,l=(0,$.getDocumentElement)(r),u=!!t&&(0,$.isTopLayer)(t.floating);if(r===l||u&&o)return n;let c={scrollLeft:0,scrollTop:0},a=s(1),f=s(0),d=(0,$.isHTMLElement)(r);
1if((d||!o)&&(("body"!==(0,$.getNodeName)(r)||(0,$.isOverflowElement)(l))&&(c=(0,$.getNodeScroll)(r)),d)){let e=q(r);a=j(r),f.x=e.x+r.clientLeft,f.y=e.y+r.clientTop}let g=!l||d||o?s(0):X(l,c);return{width:n.width*a.x,height:n.height*a.y,x:n.x*a.x-c.scrollLeft*a.x+f.x+g.x,y:n.y*a.y-c.scrollTop*a.y+f.y+g.y}},getDocumentElement:$.getDocumentElement,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:l}=e,u=[..."clippingAncestors"===n?(0,$.isTopLayer)(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=(0,$.getOverflowAncestors)(e,[],!1).filter(e=>(0,$.isElement)(e)&&"body"!==(0,$.getNodeName)(e)),i=null,o="fixed"===(0,$.getComputedStyle)(e).position,l=o?(0,$.getParentNode)(e):e;for(;(0,$.isElement)(l)&&!(0,$.isLastTraversableNode)(l);){let e=(0,$.getComputedStyle)(l),t=(0,$.isContainingBlock)(l),n=i?i.position:o?"fixed":"";t||"fixed"!==n&&("absolute"!==n||"static"!==e.position)?i=e:r=r.filter(e=>e!==l),l=(0,$.getParentNode)(l)}return t.set(e,r),r}(t,this._c):[].concat(n),r],s=J(t,u[0],l),c=s.top,a=s.right,f=s.bottom,d=s.left;for(let e=1;e<u.length;e++){let n=J(t,u[e],l);c=o(n.top,c),a=i(n.right,a),f=i(n.bottom,f),d=o(n.left,d)}return{width:a-d,height:f-c,x:d,y:c}},getOffsetParent:ee,getElementRects:et,getClientRects:function(e){return e.getClientRects?Array.from(e.getClientRects()):[]},getDimensions:function(e){let{width:t,height:n}=z(e);return{width:t,height:n}},getScale:j,isElement:$.isElement,isRTL:function(e){return"rtl"===(0,$.getComputedStyle)(e).direction}};function er(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function ei(e,t,n,r){let l;void 0===r&&(r={});let{ancestorScroll:s=!0,ancestorResize:c=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:f="function"==typeof IntersectionObserver,animationFrame:d=!1}=r,g=K(e),m=s||c?[...g?(0,$.getOverflowAncestors)(g):[],...t?(0,$.getOverflowAncestors)(t):[]]:[];m.forEach(e=>{s&&e.addEventListener("scroll",n),c&&e.addEventListener("resize",n)});let h=g&&f?function(e,t,n){let r,l=null,s=(0,$.getDocumentElement)(e);function c(){var e;clearTimeout(r),null==(e=l)||e.disconnect(),l=null}function a(n,f){void 0===n&&(n=!1),void 0===f&&(f=1),c();let d=e.getBoundingClientRect(),{left:g,top:m,width:h,height:p}=d;if(n||t(),!h||!p)return;let v={rootMargin:-u(m)+"px "+-u(s.clientWidth-(g+h))+"px "+-u(s.clientHeight-(m+p))+"px "+-u(g)+"px",threshold:o(0,i(1,f))||1},y=!0;function x(t){let n=t[0].intersectionRatio;if(!er(d,e.getBoundingClientRect()))return a();if(n!==f){if(!y)return a();n?a(!1,n):r=setTimeout(()=>{a(!1,1e-7)},1e3)}y=!1}try{l=new IntersectionObserver(x,{...v,root:s.ownerDocument})}catch(e){l=new IntersectionObserver(x,v)}l.observe(e)}let f=(0,$.getWindow)(e),d=()=>a(n);return f.addEventListener("resize",d),a(!0),()=>{f.removeEventListener("resize",d),c()}}(g,n,c):null,p=-1,v=null;a&&(v=new ResizeObserver(e=>{let[r]=e;r&&r.target===g&&v&&t&&(v.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var e;null==(e=v)||e.observe(t)})),n()}),g&&!d&&v.observe(g),t&&v.observe(t));let y=d?q(e):null;return d&&function t(){let r=q(e);y&&!er(y,r)&&n(),y=r,l=requestAnimationFrame(t)}(),n(),()=>{var e;m.forEach(e=>{s&&e.removeEventListener("scroll",n),c&&e.removeEventListener("resize",n)}),null==h||h(),null==(e=v)||e.disconnect(),v=null,d&&cancelAnimationFrame(l)}}let eo=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;let{x:i,y:o,placement:l,middlewareData:u}=t,s=await _(t,e);return l===(null==(n=u.offset)?void 0:n.placement)&&null!=(r=u.arrow)&&r.alignmentOffset?{}:{x:i+s.x,y:o+s.y,data:{...s,placement:l}}}}},el=function(e){return void 0===e&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,i,o,l;let{rects:u,middlewareData:s,placement:c,platform:a,elements:m}=t,{crossAxis:h=!1,alignment:p,allowedPlacements:v=r,autoAlignment:x=!0,...b}=f(e,t),R=void 0!==p||v===r?((l=p||null)?[...v.filter(e=>g(e)===l),...v.filter(e=>g(e)!==l)]:v.filter(e=>d(e)===e)).filter(e=>!l||g(e)===l||!!x&&w(e)!==e):v,E=(null==(n=s.autoPlacement)?void 0:n.index)||0,C=R[E];if(null==C)return{};if(c!==C)return{reset:{placement:R[0]}};let S=await a.detectOverflow(t,b),L=y(C,u,await (null==a.isRTL?void 0:a.isRTL(m.floating))),A=[S[d(C)],S[L[0]],S[L[1]]],O=[...(null==(i=s.autoPlacement)?void 0:i.overflows)||[],{placement:C,overflows:A}],T=R[E+1];if(T)return{data:{index:E+1,overflows:O},reset:{placement:T}};let M=O.map(e=>{let t=g(e.placement);return[e.placement,t&&h?e.overflows.slice(0,2).reduce((e,t)=>
1e+t,0):e.overflows[0],e.overflows]}).sort((e,t)=>e[1]-t[1]),k=(null==(o=M.filter(e=>e[2].slice(0,g(e[0])?2:3).every(e=>e<=0))[0])?void 0:o[0])||M[0][0];return k!==c?{data:{index:E+1,overflows:O},reset:{placement:k}}:{}}}},eu=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:n,y:r,placement:i,platform:o}=t,{mainAxis:l=!0,crossAxis:u=!1,limiter:s={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...c}=f(e,t),d={x:n,y:r},g=await o.detectOverflow(t,c),h=p(i),v=m(h),y=d[v],x=d[h],w=(e,t)=>a(t+g["y"===e?"top":"left"],t,t-g["y"===e?"bottom":"right"]);l&&(y=w(v,y)),u&&(x=w(h,x));let b=s.fn({...t,[v]:y,[h]:x});return{...b,data:{x:b.x-n,y:b.y-r,enabled:{[v]:l,[h]:u}}}}}},es=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,r,i,o,l;let{placement:u,middlewareData:s,rects:c,initialPlacement:a,platform:g,elements:m}=t,{mainAxis:h=!0,crossAxis:v=!0,fallbackPlacements:w,fallbackStrategy:b="bestFit",fallbackAxisSideDirection:R="none",flipAlignment:E=!0,...C}=f(e,t);if(null!=(n=s.arrow)&&n.alignmentOffset)return{};let A=d(u),O=p(a),T=d(a)===a,M=await (null==g.isRTL?void 0:g.isRTL(m.floating)),k=w||(T||!E?[L(a)]:x(a)),P="none"!==R;!w&&P&&k.push(...S(a,E,R,M));let I=[a,...k],D=await g.detectOverflow(t,C),W=[],N=(null==(r=s.flip)?void 0:r.overflows)||[];if(h&&W.push(D[A]),v){let e=y(u,c,M);W.push(D[e[0]],D[e[1]])}if(N=[...N,{placement:u,overflows:W}],!W.every(e=>e<=0)){let e=((null==(i=s.flip)?void 0:i.index)||0)+1,t=I[e];if(t&&("alignment"!==v||O===p(t)||N.every(e=>p(e.placement)!==O||e.overflows[0]>0)))return{data:{index:e,overflows:N},reset:{placement:t}};let n=null==(o=N.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:o.placement;if(!n)switch(b){case"bestFit":{let e=null==(l=N.filter(e=>{if(P){let t=p(e.placement);return t===O||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:l[0];e&&(n=e);break}case"initialPlacement":n=a}if(u!==n)return{reset:{placement:n}}}return{}}}},ec=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){let n,r,{placement:l,rects:u,platform:s,elements:c}=t,{apply:a=()=>{},...m}=f(e,t),h=await s.detectOverflow(t,m),v=d(l),y=g(l),x="y"===p(l),{width:w,height:b}=u.floating;"top"===v||"bottom"===v?(n=v,r=y===(await (null==s.isRTL?void 0:s.isRTL(c.floating))?"start":"end")?"left":"right"):(r=v,n="end"===y?"top":"bottom");let R=b-h.top-h.bottom,E=w-h.left-h.right,C=i(b-h[n],R),S=i(w-h[r],E),L=t.middlewareData.shift,A=!L,O=C,T=S;null!=L&&L.enabled.x&&(T=E),null!=L&&L.enabled.y&&(O=R),A&&!y&&(x?T=w-2*o(h.left,h.right):O=b-2*o(h.top,h.bottom)),await a({...t,availableWidth:T,availableHeight:O});let M=await s.getDimensions(c.floating);return w!==M.width||b!==M.height?{reset:{rects:!0}}:{}}}},ea=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){let{rects:n,platform:r}=t,{strategy:i="referenceHidden",...o}=f(e,t);switch(i){case"referenceHidden":{let e=F(await r.detectOverflow(t,{...o,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:H(e)}}}case"escaped":{let e=F(await r.detectOverflow(t,{...o,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:H(e)}}}default:return{}}}}},ef=e=>({name:"arrow",options:e,async fn(t){let{x:n,y:r,placement:o,rects:l,platform:u,elements:s,middlewareData:c}=t,{element:d,padding:m=0}=f(e,t)||{};if(null==d)return{};let p=A(m),y={x:n,y:r},x=v(o),w=h(x),b=await u.getDimensions(d),R="y"===x,E=R?"clientHeight":"clientWidth",C=l.reference[w]+l.reference[x]-y[x]-l.floating[w],S=y[x]-l.reference[x],L=await (null==u.getOffsetParent?void 0:u.getOffsetParent(d)),O=L?L[E]:0;O&&await (null==u.isElement?void 0:u.isElement(L))||(O=s.floating[E]||l.floating[w]);let T=O/2-b[w]/2-1,M=i(p[R?"top":"left"],T),k=i(p[R?"bottom":"right"],T),P=O-b[w]-k,I=O/2-b[w]/2+(C/2-S/2),D=a(M,I,P),W=!c.arrow&&null!=g(o)&&I!==D&&l.reference[w]/2-(I<M?M:k)-b[w]/2<0,N=W?I<M?I-M:I-P:0;return{[x]:y[x]+N,data:{[x]:D,centerOffset:I-D-N,...W&&{alignmentOffset:N}},reset:W}}}),ed=function(e){return void 0===e&&(e={}),{name:"inline",options:e,async fn(t){let{placement:n,elements:r,rects:l,platform:u,strategy:s}=t,{padding:c=2,x:a,y:g}=f(e,t),m=Array.from(await (null==u.getClientRects?void 0:u.getClientRects(r.reference))||[]);if(!m.length)return{};let h=function(e){let t=e.slice().sort((e,t)=>
1e.y-t.y),n=[],r=null;for(let e=0;e<t.length;e++){let i=t[e];!r||i.y-r.y>r.height/2?n.push([i]):n[n.length-1].push(i),r=i}return n.map(e=>O(V(e)))}(m),v=O(V(m)),y=A(c),x=await u.getElementRects({reference:{getBoundingClientRect:function(){if(2===h.length&&(h[0].left>h[1].right||h[1].left>h[0].right)&&null!=a&&null!=g)return h.find(e=>a>e.left-y.left&&a<e.right+y.right&&g>e.top-y.top&&g<e.bottom+y.bottom)||v;if(h.length>=2){if("y"===p(n)){let e=h[0],t=h[h.length-1],r="top"===d(n),i=e.top,o=t.bottom,l=r?e.left:t.left;return O({x:l,y:i,width:(r?e.right:t.right)-l,height:o-i})}let e="left"===d(n),t=o(...h.map(e=>e.right)),r=i(...h.map(e=>e.left)),l=h.filter(n=>e?n.left===r:n.right===t),u=l[0].top;return O({x:r,y:u,width:t-r,height:l[l.length-1].bottom-u})}return v}},floating:r.floating,strategy:s});return l.reference.x!==x.reference.x||l.reference.y!==x.reference.y||l.reference.width!==x.reference.width||l.reference.height!==x.reference.height?{reset:{rects:x}}:{}}}},eg=function(e){return void 0===e&&(e={}),{options:e,fn(t){var n,r,i,o;let{x:l,y:u,placement:s,rects:c,middlewareData:a}=t,{offset:g=0,mainAxis:h=!0,crossAxis:v=!0}=f(e,t),y={x:l,y:u},x=p(s),w=m(x),b=y[w],R=y[x],E=f(g,t),C="number"==typeof E?{mainAxis:E,crossAxis:0}:{mainAxis:null!=(n=E.mainAxis)?n:0,crossAxis:null!=(r=E.crossAxis)?r:0};if(h){let e="y"===w?"height":"width",t=c.reference[w]-c.floating[e]+C.mainAxis,n=c.reference[w]+c.reference[e]-C.mainAxis;b<t?b=t:b>n&&(b=n)}if(v){let e="y"===w?"width":"height",t=B.has(d(s)),n=c.reference[x]-c.floating[e]+(t&&(null==(i=a.offset)?void 0:i[x])||0)+(t?0:C.crossAxis),r=c.reference[x]+c.reference[e]+(t?0:(null==(o=a.offset)?void 0:o[x])||0)-(t?C.crossAxis:0);R<n?R=n:R>r&&(R=r)}return{[w]:b,[x]:R}}}},em=(e,t,n)=>{let r=new Map,i=null!=n?n:{},o={...en,...i.platform,_c:r};return N(e,t,{...i,platform:o})};e.s(["arrow",()=>ef,"autoPlacement",()=>el,"autoUpdate",()=>ei,"computePosition",()=>em,"flip",()=>es,"hide",()=>ea,"inline",()=>ed,"limitShift",()=>eg,"offset",()=>eo,"platform",()=>en,"shift",()=>eu,"size",()=>ec],825339);var eh=e.i(365127),ep="u">typeof document?t.useLayoutEffect:function(){};function ev(e,t){let n,r,i;if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((n=e.length)!==t.length)return!1;for(r=n;0!=r--;)if(!ev(e[r],t[r]))return!1;return!0}if((n=(i=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!({}).hasOwnProperty.call(t,i[r]))return!1;for(r=n;0!=r--;){let n=i[r];if(("_owner"!==n||!e.$$typeof)&&!ev(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function ey(e){return"u"<typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function ex(e,t){let n=ey(e);return Math.round(t*n)/n}function ew(e){let n=t.useRef(e);return ep(()=>{n.current=e}),n}var eb=e.i(489530);function eR(e){return function(e,n){let{nodeId:r,externalTree:i}=e,o=n.useState("referenceElement"),l=n.useState("floatingElement"),u=n.useState("domReferenceElement"),s=n.useState("open"),c=n.useState("floatingId"),[a,f]=t.useState(null),[d,g]=t.useState(void 0),[m,h]=t.useState(void 0),p=t.useRef(null),v=(0,eb.useFloatingTree)(i),y=t.useMemo(()=>({reference:o,floating:l,domReference:u}),[o,l,u]),x=function(e){void 0===e&&(e={});let{placement:n="bottom",strategy:r="absolute",middleware:i=[],platform:o,elements:{reference:l,floating:u}={},transform:s=!0,whileElementsMounted:c,open:a}=e,[f,d]=t.useState({x:0,y:0,strategy:r,placement:n,middlewareData:{},isPositioned:!1}),[g,m]=t.useState(i);ev(g,i)||m(i);let[h,p]=t.useState(null),[v,y]=t.useState(null),x=t.useCallback(e=>{e!==E.current&&(E.current=e,p(e))},[]),w=t.useCallback(e=>{e!==C.current&&(C.current=e,y(e))},[]),b=l||h,R=u||v,E=t.useRef(null),C=t.useRef(null),S=t.useRef(f),L=null!=c,A=ew(c),O=ew(o),T=ew(a),M=t.useCallback(()=>{if(!E.current||!C.current)return;let e={placement:n,strategy:r,middleware:g};O.current&&(e.platform=O.current),em(E.current,C.current,e).then(e=>{let t={...e,isPositioned:!1!==T.current};k.current&&!ev(S.current,t)&&(S.current=t,eh.flushSync(()=>{d(t)}))})},[g,n,r,O,T]);ep(()=>{!1===a&&S.current.isPositioned&&(S.current.isPositioned=!1,d(e=>({...e,isPositioned:!1})))},[a]);let k=t.useRef(!1);ep(()=>(k.current=!0,()=>{k.current=!1}),[]),ep(()=>
1{if(b&&(E.current=b),R&&(C.current=R),b&&R){if(A.current)return A.current(b,R,M);M()}},[b,R,M,A,L]);let P=t.useMemo(()=>({reference:E,floating:C,setReference:x,setFloating:w}),[x,w]),I=t.useMemo(()=>({reference:b,floating:R}),[b,R]),D=t.useMemo(()=>{let e={position:r,left:0,top:0};if(!I.floating)return e;let t=ex(I.floating,f.x),n=ex(I.floating,f.y);return s?{...e,transform:"translate("+t+"px, "+n+"px)",...ey(I.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:t,top:n}},[r,s,I.floating,f.x,f.y]);return t.useMemo(()=>({...f,update:M,refs:P,elements:I,floatingStyles:D}),[f,M,P,I,D])}({...e,elements:{...y,...a&&{reference:a}}}),w=(0,$.isElement)(d)?d:null,b=void 0===m?n.state.floatingElement:m;n.useSyncedValue("referenceElement",d??null),n.useSyncedValue("domReferenceElement",void 0===d?u:w),n.useSyncedValue("floatingElement",b);let R=t.useCallback(e=>{let t=(0,$.isElement)(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),getClientRects:()=>e.getClientRects(),contextElement:e}:e;f(t),x.refs.setReference(t)},[x.refs]),E=t.useCallback(e=>{((0,$.isElement)(e)||null===e)&&(p.current=e,g(e)),((0,$.isElement)(x.refs.reference.current)||null===x.refs.reference.current||null!==e&&!(0,$.isElement)(e))&&x.refs.setReference(e)},[x.refs,g]),C=t.useCallback(e=>{h(e),x.refs.setFloating(e)},[x.refs]),S=t.useMemo(()=>({...x.refs,setReference:E,setFloating:C,setPositionReference:R,domReference:p}),[x.refs,E,C,R]),L=t.useMemo(()=>({...x.elements,domReference:u}),[x.elements,u]),A=t.useMemo(()=>({...x,dataRef:n.context.dataRef,open:s,onOpenChange:n.setOpen,events:n.context.events,floatingId:c,refs:S,elements:L,nodeId:r,rootStore:n}),[x,S,L,r,n,s,c]);return(0,k.useIsoLayoutEffect)(()=>{u&&(p.current=u)},[u]),(0,k.useIsoLayoutEffect)(()=>{n.context.dataRef.current.floatingContext=A;let e=v?.nodesRef.current.find(e=>e.id===r);e&&(e.context=A)}),t.useMemo(()=>({...x,context:A,refs:S,elements:L,rootStore:n}),[x,S,L,A,n])}(e,e.rootContext)}var eE=e.i(165843);let eC={name:"hide",async fn(e){let{width:t,height:n,x:r,y:i}=e.rects.reference,o=await e.platform.detectOverflow(e,{elementContext:"reference"});return{data:{referenceHidden:o.top-n>=0||o.right-t>=0||o.bottom-n>=0||o.left-t>=0||0===t&&0===n&&0===r&&0===i}}}},eS={sideX:"left",sideY:"top"};e.s(["DEFAULT_SIDES",0,eS],11088);let eL="--available-width",eA="--available-height";function eO(e,t,n){let r="inline-start"===e||"inline-end"===e;return({top:"top",right:r?n?"inline-start":"inline-end":"right",bottom:"bottom",left:r?n?"inline-end":"inline-start":"left"})[t]}function eT(e,t,n){let{rects:r,placement:i}=e;return{side:eO(t,d(i),n),align:g(i)||"center",anchor:{width:r.reference.width,height:r.reference.height},positioner:{width:r.floating.width,height:r.floating.height}}}function eM(e){return function(e,n){var r,i,o,l,u,s,c,m,y;let x,w,b,R,{anchor:E,positionMethod:C="absolute",side:S="bottom",sideOffset:L=0,align:O="center",alignOffset:D=0,collisionBoundary:W,collisionPadding:N=5,sticky:F=!1,arrowPadding:H=5,disableAnchorTracking:V=!1,inline:B,keepMounted:_=!1,floatingRootContext:$,mounted:z,collisionAvoidance:K,shift:j,nodeId:U,adaptiveOrigin:Y,lazyFlip:q=!1,externalTree:G}=e,[X,J]=t.useState(null);z||null===X||J(null);let Q=K.side||"flip",Z=K.align||"flip",ee=K.fallbackAxisSide||"end",et=j?.crossAxis??!1,en=j?.rootBoundary,er="function"==typeof E?E:void 0,el=(0,I.useStableCallback)(er),ea=er?el:E,ef=(0,P.useValueAsRef)(E),ed=(0,P.useValueAsRef)(z),em="rtl"===(0,eE.useDirection)(),eh=X||({top:"top",right:"right",bottom:"bottom",left:"left","inline-end":em?"left":"right","inline-start":em?"right":"left"})[S],ep="center"===O?eh:`${eh}-${O}`,ev=N;"number"==typeof ev?ev={top:ev,right:ev,bottom:ev,left:ev}:ev&&(ev={top:ev.top||0,right:ev.right||0,bottom:ev.bottom||0,left:ev.left||0});let ey=+("bottom"===S),ex=+("top"===S),ew=+("right"===S),eb=+("left"===S),eR={boundary:"clipping-ancestors"===W?"clippingAncestors":W,padding:ev},eM=t.useRef(null),eP=(0,P.useValueAsRef)(L),eI=(0,P.useValueAsRef)(D),eD=[];B&&eD.push(B),eD.push((r=e=>{let t=eT(e,S,em),n="function"==typeof eP.current?eP.current(t):eP.current,r="function"==typeof eI.current?eI.current(t):eI.current;return{mainAxis:n,crossAxis:r,alignmentAxis:r}},i=["function"!=typeof L?L:0,"function"!=typeof D?D:0,em,S],{name:(x=eo(r)).name,fn:x.fn,options:[r,i]}));
1let eW="none"===Z&&"shift"!==Q,eN=!eW&&(F||et||"shift"===Q),eF="none"===Q?null:{name:(w=es(o={...eR,padding:{top:ev.top+1+ey,right:ev.right+1+eb,bottom:ev.bottom+1+ex,left:ev.left+1+ew},mainAxis:!et&&"flip"===Q,crossAxis:"flip"===Z&&"alignment",fallbackAxisSideDirection:ee})).name,fn:w.fn,options:[o,void 0]},eH=eW?null:(u={...eR,rootBoundary:en,mainAxis:"none"!==Z,crossAxis:eN,limiter:F||et?void 0:{fn:eg(l=e=>{if(!eM.current)return{};let{width:t,height:n}=eM.current.getBoundingClientRect(),r=p(d(e.placement)),i="y"===r?ev.left+ev.right:ev.top+ev.bottom;return{offset:("y"===r?t:n)/2+i/2}}).fn,options:[l,void 0]}},s=[eR,F,et,en,ev,Z],{name:(b=eu(u)).name,fn:b.fn,options:[u,s]});"shift"===Q||"shift"===Z||"center"===O?eD.push(eH,eF):eD.push(eF,eH),eD.push({name:(R=ec(c={...eR,apply({elements:{floating:e},availableWidth:t,availableHeight:n,rects:r}){if(!ed.current)return;let i=e.style;i.setProperty(eL,`${t}px`),i.setProperty(eA,`${n}px`);let o=(0,M.ownerWindow)(e).devicePixelRatio||1,{x:l,y:u,width:s,height:c}=r.reference,a=(Math.round((l+s)*o)-Math.round(l*o))/o,f=(Math.round((u+c)*o)-Math.round(u*o))/o;i.setProperty("--anchor-width",`${a}px`),i.setProperty("--anchor-height",`${f}px`)}})).name,fn:R.fn,options:[c,void 0]},(m=e=>({element:eM.current||(0,T.ownerDocument)(e.elements.floating).createElement("div"),padding:H,offsetParent:"floating"}),y=[H],{name:"arrow",options:m,async fn(e){let{x:t,y:n,placement:r,rects:i,platform:o,elements:l,middlewareData:u}=e,{element:s,padding:c=0,offsetParent:d="real"}=f(m,e)||{};if(null==s)return{};let p=A(c),y={x:t,y:n},x=v(r),w=h(x),b=await o.getDimensions(s),R="y"===x,E=R?"clientHeight":"clientWidth",C=i.reference[w]+i.reference[x]-y[x]-i.floating[w],S=y[x]-i.reference[x],L="real"===d?await o.getOffsetParent?.(s):l.floating,O=l.floating[E]||i.floating[w];O&&await o.isElement?.(L)||(O=l.floating[E]||i.floating[w]);let T=O/2-b[w]/2-1,M=Math.min(p[R?"top":"left"],T),k=Math.min(p[R?"bottom":"right"],T),P=O-b[w]-k,I=O/2-b[w]/2+(C/2-S/2),D=a(M,I,P),W=!u.arrow&&null!=g(r)&&I!==D&&i.reference[w]/2-(I<M?M:k)-b[w]/2<0,N=W?I<M?I-M:I-P:0;return{[x]:y[x]+N,data:{[x]:D,centerOffset:I-D-N,...W&&{alignmentOffset:N}},reset:W}},options:[m,y]}),{name:"transformOrigin",fn(e){let{elements:t,middlewareData:n,placement:r,rects:i,y:o}=e,l=d(r),u=p(l),s=eM.current,c=n.arrow?.x||0,a=n.arrow?.y||0,f=s?.clientWidth||0,g=s?.clientHeight||0,m=c+f/2,h=a+g/2,v=Math.abs(n.shift?.y||0),y=i.reference.height/2,x="function"==typeof L?L(eT(e,S,em)):L,w=v>x,b={top:`${m}px calc(100% + ${x}px)`,bottom:`${m}px ${-x}px`,left:`calc(100% + ${x}px) ${h}px`,right:`${-x}px ${h}px`}[l],R=`${m}px ${i.reference.y+y-o}px`;return t.floating.style.setProperty("--transform-origin",eN&&"y"===u&&w?R:b),{}}},eC,Y),(0,k.useIsoLayoutEffect)(()=>{!z&&$&&$.update({referenceElement:null,floatingElement:null,domReferenceElement:null,positionReference:null})},[z,$]);let eV=t.useMemo(()=>({elementResize:!V&&"u">typeof ResizeObserver,layoutShift:!V&&"u">typeof IntersectionObserver}),[V]),{refs:eB,elements:e_,x:e$,y:ez,middlewareData:eK,update:ej,placement:eU,context:eY,isPositioned:eq,floatingStyles:eG}=n({rootContext:$,open:_?z:void 0,placement:ep,middleware:eD,strategy:C,whileElementsMounted:_?void 0:(...e)=>ei(...e,eV),nodeId:U,externalTree:G}),{sideX:eX,sideY:eJ}=eK.adaptiveOrigin||eS,eQ=eq?C:"fixed",eZ=t.useMemo(()=>{let e;return(e=eq?Y?{position:eQ,[eX]:e$,[eJ]:ez}:{...eG,position:eQ}:{position:eQ,top:0,left:0})[eL]="100vw",e[eA]="100vh",eq||(e.opacity=0),e},[Y,eQ,eX,e$,eJ,ez,eG,eq]),e0=t.useRef(null);(0,k.useIsoLayoutEffect)(()=>{if(!z)return;let e=ef.current,t="function"==typeof e?e():e,n=(ek(t)?t.current:t)||null;n!==e0.current&&(eB.setPositionReference(n),e0.current=n)},[z,eB,ea,ef]),t.useEffect(()=>{if(!z)return;let e=ef.current;"function"!=typeof e&&ek(e)&&e.current!==e0.current&&(eB.setPositionReference(e.current),e0.current=e.current)},[z,eB,ea,ef]),t.useEffect(()=>{if(_&&z&&e_.reference&&e_.floating)return ei(e_.reference,e_.floating,ej,eV)},[_,z,e_,ej,eV]);let e1=d(eU),e2=eO(S,e1,em),e6=g(eU)||"center",e5=!!eK.hide?.referenceHidden;(0,k.useIsoLayoutEffect)(()=>{q&&z&&eq&&e1!==eh&&J(e1)},[q,z,eq,e1,eh]);let e9=t.useMemo(()=>
1({position:"absolute",top:eK.arrow?.y,left:eK.arrow?.x}),[eK.arrow]),e7=eK.arrow?.centerOffset!==0;return t.useMemo(()=>({positionerStyles:eZ,arrowStyles:e9,arrowRef:eM,arrowUncentered:e7,side:e2,align:e6,physicalSide:e1,anchorHidden:e5,refs:eB,context:eY,isPositioned:eq,update:ej}),[eZ,e9,eM,e7,e2,e6,e1,e5,eB,eY,eq,ej])}(e,eR)}function ek(e){return null!=e&&"current"in e}e.s(["useAnchorPositioning",()=>eM],222080)},776935,e=>{"use strict";var t=e.i(620775),n=e.i(227995);function r(e){return"starting"===e?n.DISABLED_TRANSITIONS_STYLE:t.EMPTY_OBJECT}e.s(["getDisabledMountTransitionStyles",()=>r])},748137,e=>{"use strict";var t=e.i(373871),n=e.i(659046),r=e.i(776935);function i(e,i,{styles:o,transitionStatus:l,props:u,refs:s,hidden:c,inert:a=!1}){let f={...o};return a&&(f.pointerEvents="none"),(0,n.useRenderElement)("div",e,{state:i,ref:s,props:[{role:"presentation",hidden:c,style:f},(0,r.getDisabledMountTransitionStyles)(l),u],stateAttributesMapping:t.popupStateMapping})}e.s(["usePositioner",()=>i])},874570,e=>{"use strict";var t=e.i(542986);function n(e){let[n,r]=t.useState({current:e,previous:null});return Object.is(e,n.current)||r({current:e,previous:n.current}),n.previous}e.s(["usePreviousValue",()=>n])},417763,e=>{"use strict";var t=e.i(542986);let n=t.createContext({register:()=>{},unregister:()=>{},subscribeMapChange:()=>()=>{},nextIndexRef:{current:0}});function r(){return t.useContext(n)}e.s(["CompositeListContext",0,n,"useCompositeListContext",()=>r])},972682,e=>{"use strict";var t=e.i(542986),n=e.i(602519),r=e.i(417763);function i(e={}){let{guess:o,label:l,metadata:u,textRef:s,index:c}=e,{register:a,unregister:f,subscribeMapChange:d,nextIndexRef:g}=(0,r.useCompositeListContext)(),m=t.useRef(-1),[h,p]=t.useState(null==c&&o?()=>{if(-1===m.current){let e=g.current;g.current+=1,m.current=e}return m.current}:-1),v=c??h,y=t.useRef(null),x=t.useCallback(e=>{let t=y.current;t&&f(t),y.current=e,e&&a(e,{metadata:u??null,index:c??null,label:l,textRef:s})},[c,a,f,u,l,s]);return(0,n.useIsoLayoutEffect)(()=>{if(null==c)return d(e=>{let t=y.current?e.get(y.current)?.index:null;null!=t&&p(t)})},[c,d]),{ref:x,index:v}}e.s(["useCompositeListItem",()=>i])},938155,e=>{"use strict";var t=e.i(575417),n=e.i(542986);let r=n.createContext(void 0);function i(e){let i=n.useContext(r);if(void 0===i&&!e)throw Error((0,t.default)(69));return i}e.s(["useToolbarRootContext",()=>i])},727126,e=>{"use strict";var t=e.i(542986),n=e.i(410514),r=e.i(999364),i=e.i(602519),o=e.i(417763),l=e.i(518085);function u(e){let{children:u,elementsRef:f,labelsRef:d,onMapChange:g}=e,m=(0,r.useStableCallback)(g),[,h]=t.useState(!1),p=(0,n.useRefWithInit)(c).current,v=(0,n.useRefWithInit)(s).current,y=t.useRef(0),x=t.useRef(!0),w=t.useRef([]),b=t.useRef(null),R=(0,r.useStableCallback)(()=>{x.current||(x.current=!0,h(e=>!e))}),E=(0,r.useStableCallback)((e,t)=>{v.set(e,t),R()}),C=(0,r.useStableCallback)(e=>{v.delete(e),R()}),S=(0,r.useStableCallback)(e=>{let t=new Map;return f.current.length=0,d&&(d.current.length=0),e.forEach(e=>{t.set(e.element,{...e.registration.metadata??{},index:e.index}),f.current[e.index]=e.element,d&&(d.current[e.index]=void 0!==e.registration.label?e.registration.label:e.registration.textRef?.current?.textContent??e.element.textContent)}),y.current=f.current.length,t}),L=(0,r.useStableCallback)(()=>{var e;let t,n,r,i,[o,l]=(e=v,t=new Set,n=[],r=[],e.forEach((e,i)=>{if(!i.isConnected)return;let o=e.index,l={index:o??-1,element:i,registration:e};null===o?r.push(l):o>=0&&(t.add(o),n.push(l))}),i=0,r.sort((e,t)=>a(e.element,t.element)),r.forEach(e=>{for(;t.has(i);)i+=1;e.index=i,n.push(e),i+=1}),t.size>0&&n.sort((e,t)=>e.index-t.index),[n,r.map(e=>e.element)]),u=S(o);!function(e){if(b.current?.disconnect(),b.current=null,"function"!=typeof MutationObserver||e.length<2)return;let t=new MutationObserver(n=>{if(!function(e){for(let t of e)for(let e=0;e<t.removedNodes.length;e+=1)if(t.removedNodes[e].isConnected)return!0;return!1}(n))return;let r=null;for(let n of e)if(n.isConnected){if(r&&a(r,n)>0){t.disconnect(),R();return}r=n}});b.current=t;let n=new Set;for(let t=1;t<e.length;t+=1){let r=function(e,t){let n=e.parentElement;for(;n&&!n.contains(t);)n=n.parentElement;return n}(e[t-1],e[t]);r&&n.add(r)}
1n.forEach(e=>t.observe(e,{childList:!0}))}(l),w.current=o,x.current=!1,p.forEach(e=>e(u)),m(u)});(0,i.useIsoLayoutEffect)(()=>(x.current||S(w.current),()=>{f.current=[],d&&(d.current=[])}),[f,d,S]),(0,i.useIsoLayoutEffect)(()=>{x.current&&L()}),(0,i.useIsoLayoutEffect)(()=>()=>{b.current?.disconnect(),x.current=!0},[]);let A=(0,r.useStableCallback)(e=>(p.add(e),()=>{p.delete(e)})),O=t.useMemo(()=>({register:E,unregister:C,subscribeMapChange:A,nextIndexRef:y}),[E,C,A,y]);return(0,l.jsx)(o.CompositeListContext.Provider,{value:O,children:u})}function s(){return new Map}function c(){return new Set}function a(e,t){return e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1}e.s(["CompositeList",()=>u])},855114,e=>{"use strict";var t=e.i(542986),n=e.i(916391),r=e.i(250977),i=e.i(602519);function o(e,o,l,u){let[s,c]=t.useState(!1);(0,i.useIsoLayoutEffect)(()=>{if(!e||!o||null==l)return void c(!1);let t=(0,n.ownerDocument)(l).documentElement.clientWidth,r=l.offsetWidth;c(t>0&&r>0&&r>=t-20)},[e,o,l]),(0,r.useScrollLock)(e&&(!o||s),u)}e.s(["useAnchoredPopupScrollLock",()=>o])},173433,90187,70875,e=>{"use strict";e.i(481544);var t=e.i(542986),n=e.i(556057),r=e.i(602519),i=e.i(916391),o=e.i(999364),l=e.i(785492),u=e.i(757203),s=e.i(880269),c=e.i(343066),a=e.i(636229),f=e.i(489530),d=e.i(932534),g=e.i(492568),m=e.i(17228),h=e.i(405532),p=e.i(589417),v=e.i(695661);function y(e){return u.platform.engine.webkit&&0===e.movementX&&0===e.movementY}function x(e,t,n){switch(e){case"vertical":return t;case"horizontal":return n;default:return t||n}}function w(e,t){return x(t,e===g.ARROW_UP||e===g.ARROW_DOWN,e===g.ARROW_LEFT||e===g.ARROW_RIGHT)}function b(e,t,n){return x(t,e===g.ARROW_DOWN,n?e===g.ARROW_LEFT:e===g.ARROW_RIGHT)||"Enter"===e||" "===e||""===e}function R(e,u){let{listRef:R,activeIndex:E,onNavigate:C=()=>{},enabled:S=!0,selectedIndex:L=null,allowEscape:A=!1,loopFocus:O=!1,nested:T=!1,rtl:M=!1,virtual:k=!1,focusItemOnOpen:P="auto",focusItemOnHover:I=!0,openOnArrowKeyDown:D=!0,disabledIndices:W,orientation:N="vertical",parentOrientation:F,id:H,resetOnPointerLeave:V=!0,externalTree:B,grid:_}=u,$=null!=_,z="rootStore"in e?e.rootStore:e,K=z.useState("open"),j=z.useState("floatingElement"),U=z.useState("domReferenceElement"),Y=z.context.dataRef,q=(0,h.getFloatingFocusElement)(j),G=(0,h.isTypeableCombobox)(U),X=(0,l.useValueAsRef)(q),J=(0,f.useFloatingParentNodeId)(),Q=(0,f.useFloatingTree)(B),Z=t.useRef(P),ee=t.useRef(L??-1),et=t.useRef(null),en=t.useRef(!0),er=(0,o.useStableCallback)(e=>{C(-1===ee.current?null:ee.current,e)}),ei=t.useRef(!!j),eo=t.useRef(K),el=t.useRef(!1),eu=t.useRef(!1),es=t.useRef(null),ec=(0,l.useValueAsRef)(W),ea=(0,l.useValueAsRef)(K),ef=(0,l.useValueAsRef)(L),ed=(0,l.useValueAsRef)(V),eg=(0,n.useAnimationFrame)(),em=(0,n.useAnimationFrame)(),eh=(0,o.useStableCallback)(()=>{function e(e){k?Q?.events.emit("virtualfocus",e):es.current=(0,p.enqueueFocus)(e,{sync:el.current,preventScroll:!0})}let t=R.current[ee.current],n=eu.current;t&&e(t),(el.current?e=>e():e=>eg.request(e))(()=>{let r=R.current[ee.current]||t;!r||(t||e(r),eb&&(n||!en.current)&&r.scrollIntoView?.({block:"nearest",inline:"nearest"}))})});(0,r.useIsoLayoutEffect)(()=>{Y.current.orientation=N},[Y,N]),(0,r.useIsoLayoutEffect)(()=>{S&&(K&&j?(ee.current=L??-1,Z.current&&null!=L&&(eu.current=!0,er())):ei.current&&(ee.current=-1,er()))},[S,K,j,L,er]),(0,r.useIsoLayoutEffect)(()=>{if(S){if(!K){el.current=!1;return}if(j)if(null==E){if(el.current=!1,null!=ef.current)return;if(ei.current&&(ee.current=-1,eh()),(!eo.current||!ei.current)&&Z.current&&(null!=et.current||!0===Z.current&&null==et.current)){let e=0,t=()=>{null==R.current[0]?(e<2&&(e?e=>em.request(e):queueMicrotask)(t),e+=1):(ee.current=null==et.current||b(et.current,N,M)||T?(0,d.getMinListIndex)(R):(0,d.getMaxListIndex)(R),et.current=null,er())};t()}}else(0,d.isIndexOutOfListBounds)(R.current,E)||(ee.current=E,eh(),eu.current=!1)}},[S,K,j,E,ef,T,R,N,M,er,eh,em]),(0,r.useIsoLayoutEffect)(()=>{if(!S||j||!Q||k||!ei.current)return;let e=Q.nodesRef.current,t=e.find(e=>e.id===J)?.context?.elements.floating,n=(0,m.activeElement)((0,i.ownerDocument)(U??t??null)),r=e.some(e=>e.context&&(0,m.contains)(e.context.elements.floating,n));t&&!r&&en.current&&t.focus({preventScroll:!0})},[S,j,U,Q,J,k]),(0,r.useIsoLayoutEffect)(()=>{eo.current=K,ei.current=!!j}
1),(0,r.useIsoLayoutEffect)(()=>{K||(et.current=null,Z.current=P)},[K,P]);let ep=null!=E,ev=(0,o.useStableCallback)(e=>{if(!ea.current)return;let t=R.current.indexOf(e.currentTarget);-1!==t&&(ee.current!==t||E!==t)&&(ee.current=t,er(e))}),ey=(0,o.useStableCallback)(()=>F??Q?.nodesRef.current.find(e=>e.id===J)?.context?.dataRef?.current.orientation),ex=(0,o.useStableCallback)(()=>(0,d.getMinListIndex)(R,ec.current)),ew=(0,o.useStableCallback)(e=>{var t;let n,r;if(en.current=!1,el.current=!0,229===e.which||!ea.current&&e.currentTarget===X.current)return;if(T&&(t=e.key,n=M?t===g.ARROW_RIGHT:t===g.ARROW_LEFT,r=t===g.ARROW_UP,"both"===N||"horizontal"===N&&$?"Escape"===t:x(N,n,r))){w(e.key,ey())||(0,v.stopEvent)(e),z.setOpen(!1,(0,c.createChangeEventDetails)(a.REASONS.listNavigation,e.nativeEvent)),(0,s.isHTMLElement)(U)&&(k?Q?.events.emit("virtualfocus",U):U.focus());return}let i=ee.current,o=(0,d.getMinListIndex)(R,W),l=(0,d.getMaxListIndex)(R,W);if(G||("Home"===e.key&&((0,v.stopEvent)(e),ee.current=o,er(e)),"End"===e.key&&((0,v.stopEvent)(e),ee.current=l,er(e))),null!=_){let t=_(e,ee.current,R,N,O,M,W,o,l);if(null!=t&&(ee.current=t,er(e)),"both"===N)return}if(w(e.key,N)){if((0,v.stopEvent)(e),K&&!k&&(0,m.activeElement)(e.currentTarget.ownerDocument)===e.currentTarget){ee.current=b(e.key,N,M)?o:l,er(e);return}b(e.key,N,M)?O?i>=l?A&&i!==R.current.length?ee.current=-1:(el.current=!1,ee.current=o):ee.current=(0,d.findNonDisabledListIndex)(R.current,{startingIndex:i,disabledIndices:W}):ee.current=Math.min(l,(0,d.findNonDisabledListIndex)(R.current,{startingIndex:i,disabledIndices:W})):O?i<=o?A&&-1!==i?ee.current=R.current.length:(el.current=!1,ee.current=l):ee.current=(0,d.findNonDisabledListIndex)(R.current,{startingIndex:i,decrement:!0,disabledIndices:W}):ee.current=Math.max(o,(0,d.findNonDisabledListIndex)(R.current,{startingIndex:i,decrement:!0,disabledIndices:W})),(0,d.isIndexOutOfListBounds)(R.current,ee.current)&&(ee.current=-1),er(e)}}),eb=t.useMemo(()=>({onFocus(e){el.current=!0,ev(e)},onClick:({currentTarget:e})=>e.focus({preventScroll:!0}),onMouseMove(e){!y(e)&&(el.current=!0,eu.current=!1,I&&ev(e))},onPointerLeave(e){if(!ea.current||!en.current||"touch"===e.pointerType)return;el.current=!0;let t=e.relatedTarget;if(!(!I||R.current.includes(t))&&ed.current&&(es.current?.(),es.current=null,ee.current=-1,er(e),!k)){let e=X.current,t=(0,m.activeElement)((0,i.ownerDocument)(e));e&&(0,m.contains)(e,t)&&e.focus({preventScroll:!0})}}}),[ev,ea,X,I,R,er,ed,k]),eR=t.useMemo(()=>k&&K&&ep&&{"aria-activedescendant":`${H}-${E}`},[k,K,ep,H,E]),eE=t.useMemo(()=>({"aria-orientation":"both"===N?void 0:N,...!G?eR:{},onKeyDown(e){if("Tab"===e.key&&e.shiftKey&&K&&!k){let t=(0,m.getTarget)(e.nativeEvent);if(t&&!(0,m.contains)(X.current,t))return;(0,v.stopEvent)(e),z.setOpen(!1,(0,c.createChangeEventDetails)(a.REASONS.focusOut,e.nativeEvent)),(0,s.isHTMLElement)(U)&&U.focus();return}ew(e)},onPointerMove(e){y(e)||(en.current=!0)}}),[eR,ew,X,N,G,z,K,k,U]),eC=t.useMemo(()=>{function e(e){z.setOpen(!0,(0,c.createChangeEventDetails)(a.REASONS.listNavigation,e.nativeEvent,e.currentTarget))}function t(e){"auto"===P&&(0,v.isVirtualClick)(e.nativeEvent)&&(Z.current=!k)}function n(e){Z.current=P,"auto"===P&&(0,v.isVirtualPointerEvent)(e.nativeEvent)&&(Z.current=!0)}return{onKeyDown(t){var n,r;let i=z.select("open");en.current=!1;let o=t.key.startsWith("Arrow"),l=(n=t.key,r=ey(),x(r,M?n===g.ARROW_LEFT:n===g.ARROW_RIGHT,n===g.ARROW_DOWN)),u=w(t.key,N),s=(T?l:u)||"Enter"===t.key||""===t.key.trim();if(k&&i)return ew(t);if(i||D||!o){if(s){let e=w(t.key,ey());et.current=T&&e?null:t.key}if(T){l&&((0,v.stopEvent)(t),i?(ee.current=ex(),er(t)):e(t));return}u&&(null!=ef.current&&(ee.current=ef.current),(0,v.stopEvent)(t),!i&&D?e(t):ew(t),i&&er(t))}},onFocus(e){z.select("open")&&!k&&(ee.current=-1,er(e))},onPointerDown:n,onPointerEnter:n,onMouseDown:t,onClick:t}},[ew,P,ex,T,er,z,D,N,ey,M,ef,k]),eS=t.useMemo(()=>({...eR,...eC}),[eR,eC]);return t.useMemo(()=>S?{reference:eS,floating:eE,item:eb,trigger:eC}:{},[S,eS,eE,eC,eb])}e.s(["useListNavigation",()=>R],173433);var E=e.i(784927),C=e.i(620775);function S(e,n){let{listRef:i,elementsRef:l,activeIndex:u,onMatch:s,disabledIndices:c,onTyping:a,enabled:f=!0,resetMs:g=750,selectedIndex:h=null}=n,p="rootStore"in e?e.rootStore:e,y=p.useState("open"),x=(0,E.useTimeout)(),w=t.useRef(""),b=t.useRef(h??u??-1),R=t.useRef(null),S=(0,o.useStableCallback)(e=>{function t(e){let t=l?.current[e];return!(t&&!(0,d.isElementVisible)(t)||t?.matches(":disabled"))&&(null==c||!(0,d.isListIndexDisabled)(C.EMPTY_ARRAY,e,c))}function n(e,r,i=0){if(0===e.length)return -1;let o=(i%e.length+e.length)%e.length,l=r.toLowerCase();for(let n=0;n<e.length;n+=1){let r=(o+n)%e.length,i=e[r];if(i?.toLowerCase().startsWith(l)&&t(r))return r}return -1}let r=i.current;if(w.current.length>0&&" "===e.key&&((0,v.stopEvent)(e),a?.(!0)),w.current.length>0&&" "!==w.current[0]&&-1===n(r,w.current)&&" "!==e.key&&a?.(!1),null==r||1!==e.ke
1y.length||e.ctrlKey||e.metaKey||e.altKey)return;y&&" "!==e.key&&((0,v.stopEvent)(e),a?.(!0));let o=""===w.current;o&&(b.current=h??u??-1),r.every((e,n)=>!(e&&t(n))||e[0]?.toLowerCase()!==e[1]?.toLowerCase())&&w.current===e.key&&(w.current="",b.current=R.current),w.current+=e.key,x.start(g,()=>{w.current="",b.current=R.current,a?.(!1)});let f=o?h??u??-1:b.current,m=n(r,w.current,(f??0)+1);-1!==m?(s?.(m),R.current=m):" "!==e.key&&(w.current="",a?.(!1))}),L=(0,o.useStableCallback)(e=>{let t=e.relatedTarget,n=p.select("domReferenceElement"),r=p.select("floatingElement");(0,m.contains)(n,t)||(0,m.contains)(r,t)||(x.clear(),w.current="",b.current=R.current,a?.(!1))});(0,r.useIsoLayoutEffect)(()=>{(y||null===h)&&(x.clear(),R.current=null,""!==w.current&&(w.current=""))},[y,h,x]);let A=t.useMemo(()=>({onKeyDown:S,onBlur:L}),[S,L]);return t.useMemo(()=>f?{reference:A,floating:A}:{},[f,A])}e.s(["useTypeahead",()=>S],90187);var L=e.i(479995);function A(e,t){let n=function(e){let t=e.getBoundingClientRect(),n=(0,L.ownerWindow)(e);if(u.platform.env.jsdom)return t;let r=n.getComputedStyle(e,"::before"),i=n.getComputedStyle(e,"::after");if("none"===r.content&&"none"===i.content)return t;let o=parseFloat(r.width)||0,l=parseFloat(r.height)||0,s=parseFloat(i.width)||0,c=parseFloat(i.height)||0,a=Math.max(t.width,o,s),f=Math.max(t.height,l,c),d=a-t.width,g=f-t.height;return{left:t.left-d/2,right:t.right+d/2,top:t.top-g/2,bottom:t.bottom+g/2}}(t);return e.clientX>=n.left-5&&e.clientX<=n.right+5&&e.clientY>=n.top-5&&e.clientY<=n.bottom+5}e.s(["isMouseWithinBounds",()=>A],70875)},634046,1663,e=>{"use strict";let t=(0,e.i(228346).default)("outline","chevron-right","ChevronRight",[["path",{d:"M9 6l6 6l-6 6",key:"svg-0"}]]);e.s(["default",()=>t],1663),e.s(["IconChevronRight",()=>t],634046)},51662,496870,e=>{"use strict";let t=(0,e.i(228346).default)("outline","chevron-up","ChevronUp",[["path",{d:"M6 15l6 -6l6 6",key:"svg-0"}]]);e.s(["default",()=>t],496870),e.s(["IconChevronUp",()=>t],51662)}]);

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.