PageSourceSearch

https://travelqu.id/_next/static/chunks/5822-dd05d6065b21b569.js

js travelqu.id collected 2026-10-02 01:55:23 UTC 48,487 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5822],{51817:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]])},50032:function(e,t,n){n.d(t,{x7:function(){return eO},Me:function(){return ex},oo:function(){return eL},RR:function(){return eR},Cp:function(){return eT},dr:function(){return eA},cv:function(){return eb},uY:function(){return eE},dp:function(){return eC}});let r=["top","right","bottom","left"],o=Math.min,i=Math.max,l=Math.round,u=Math.floor,a=e=>({x:e,y:e}),s={left:"right",right:"left",bottom:"top",top:"bottom"},c={start:"end",end:"start"};function f(e,t){return"function"==typeof e?e(t):e}function d(e){return e.split("-")[0]}function p(e){return e.split("-")[1]}function m(e){return"x"===e?"y":"x"}function h(e){return"y"===e?"height":"width"}let v=new Set(["top","bottom"]);function g(e){return v.has(d(e))?"y":"x"}function y(e){return e.replace(/start|end/g,e=>c[e])}let w=["left","right"],x=["right","left"],b=["top","bottom"],E=["bottom","top"];function R(e){return e.replace(/left|right|bottom|top/g,e=>s[e])}function C(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function T(e){let{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function O(e,t,n){let r,{reference:o,floating:i}=e,l=g(t),u=m(g(t)),a=h(u),s=d(t),c="y"===l,f=o.x+o.width/2-i.width/2,v=o.y+o.height/2-i.height/2,y=o[a]/2-i[a]/2;switch(s){case"top":r={x:f,y:o.y-i.height};break;case"bottom":r={x:f,y:o.y+o.height};break;case"right":r={x:o.x+o.width,y:v};break;case"left":r={x:o.x-i.width,y:v};break;default:r={x:o.x,y:o.y}}switch(p(t)){case"start":r[u]-=y*(n&&c?-1:1);break;case"end":r[u]+=y*(n&&c?-1:1)}return r}let A=async(e,t,n)=>{let{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:l}=n,u=i.filter(Boolean),a=await (null==l.isRTL?void 0:l.isRTL(t)),s=await l.getElementRects({reference:e,floating:t,strategy:o}),{x:c,y:f}=O(s,r,a),d=r,p={},m=0;for(let n=0;n<u.length;n++){let{name:i,fn:h}=u[n],{x:v,y:g,data:y,reset:w}=await h({x:c,y:f,initialPlacement:r,placement:d,strategy:o,middlewareData:p,rects:s,platform:l,elements:{reference:e,floating:t}});c=null!=v?v:c,f=null!=g?g:f,p={...p,[i]:{...p[i],...y}},w&&m<=50&&(m++,"object"==typeof w&&(w.placement&&(d=w.placement),w.rects&&(s=!0===w.rects?await l.getElementRects({reference:e,floating:t,strategy:o}):w.rects),{x:c,y:f}=O(s,d,a)),n=-1)}return{x:c,y:f,placement:d,strategy:o,middlewareData:p}};async function L(e,t){var n;void 0===t&&(t={});let{x:r,y:o,platform:i,rects:l,elements:u,strategy:a}=e,{boundary:s="clippingAncestors",rootBoundary:c="viewport",elementContext:d="floating",altBoundary:p=!1,padding:m=0}=f(t,e),h=C(m),v=u[p?"floating"===d?"reference":"floating":d],g=T(await i.getClippingRect({element:null==(n=await (null==i.isElement?void 0:i.isElement(v)))||n?v:v.contextElement||await (null==i.getDocumentElement?void 0:i.getDocumentElement(u.floating)),boundary:s,rootBoundary:c,strategy:a})),y="floating"===d?{x:r,y:o,width:l.floating.width,height:l.floating.height}:l.reference,w=await (null==i.getOffsetParent?void 0:i.getOffsetParent(u.floating)),x=await (null==i.isElement?void 0:i.isElement(w))&&await (null==i.getScale?void 0:i.getScale(w))||{x:1,y:1},b=T(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:u,rect:y,offsetParent:w,strategy:a}):y);return{top:(g.top-b.top+h.top)/x.y,bottom:(b.bottom-g.bottom+h.bottom)/x.y,left:(g.left-b.left+h.left)/x.x,right:(b.right-g.right+h.right)/x.x}}function P(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function S(e){return r.some(t=>e[t]>=0)}let j=new Set(["left","top"]);async function N(e,t){let{placement:n,platform:r,elements:o}=e,i=await (null==r.isRTL?void 0:r.isRTL(o.floating)),l=d(n),u=p(n),a="y"===g(n),s=j.has(l)?-1:1,c=i&&a?-1:1,m=f(t,e),{mainAxis:h,crossAxis:v,alignmentAxis:y}="number"==typeof m?{mainAxis:m,crossAxis:0,alignmentAxis:null}
1:{mainAxis:m.mainAxis||0,crossAxis:m.crossAxis||0,alignmentAxis:m.alignmentAxis};return u&&"number"==typeof y&&(v="end"===u?-1*y:y),a?{x:v*c,y:h*s}:{x:h*s,y:v*c}}function M(){return"undefined"!=typeof window}function k(e){return _(e)?(e.nodeName||"").toLowerCase():"#document"}function D(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function W(e){var t;return null==(t=(_(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function _(e){return!!M()&&(e instanceof Node||e instanceof D(e).Node)}function F(e){return!!M()&&(e instanceof Element||e instanceof D(e).Element)}function H(e){return!!M()&&(e instanceof HTMLElement||e instanceof D(e).HTMLElement)}function I(e){return!!M()&&"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof D(e).ShadowRoot)}let V=new Set(["inline","contents"]);function z(e){let{overflow:t,overflowX:n,overflowY:r,display:o}=Q(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!V.has(o)}let B=new Set(["table","td","th"]),$=[":popover-open",":modal"];function U(e){return $.some(t=>{try{return e.matches(t)}catch(e){return!1}})}let Y=["transform","translate","scale","rotate","perspective"],X=["transform","translate","scale","rotate","perspective","filter"],Z=["paint","layout","strict","content"];function q(e){let t=G(),n=F(e)?Q(e):e;return Y.some(e=>!!n[e]&&"none"!==n[e])||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||X.some(e=>(n.willChange||"").includes(e))||Z.some(e=>(n.contain||"").includes(e))}function G(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}let J=new Set(["html","body","#document"]);function K(e){return J.has(k(e))}function Q(e){return D(e).getComputedStyle(e)}function ee(e){return F(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function et(e){if("html"===k(e))return e;let t=e.assignedSlot||e.parentNode||I(e)&&e.host||W(e);return I(t)?t.host:t}function en(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);let o=function e(t){let n=et(t);return K(n)?t.ownerDocument?t.ownerDocument.body:t.body:H(n)&&z(n)?n:e(n)}(e),i=o===(null==(r=e.ownerDocument)?void 0:r.body),l=D(o);if(i){let e=er(l);return t.concat(l,l.visualViewport||[],z(o)?o:[],e&&n?en(e):[])}return t.concat(o,en(o,[],n))}function er(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function eo(e){let t=Q(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,o=H(e),i=o?e.offsetWidth:n,u=o?e.offsetHeight:r,a=l(n)!==i||l(r)!==u;return a&&(n=i,r=u),{width:n,height:r,$:a}}function ei(e){return F(e)?e:e.contextElement}function el(e){let t=ei(e);if(!H(t))return a(1);let n=t.getBoundingClientRect(),{width:r,height:o,$:i}=eo(t),u=(i?l(n.width):n.width)/r,s=(i?l(n.height):n.height)/o;return u&&Number.isFinite(u)||(u=1),s&&Number.isFinite(s)||(s=1),{x:u,y:s}}let eu=a(0);function ea(e){let t=D(e);return G()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:eu}function es(e,t,n,r){var o;void 0===t&&(t=!1),void 0===n&&(n=!1);let i=e.getBoundingClientRect(),l=ei(e),u=a(1);t&&(r?F(r)&&(u=el(r)):u=el(e));let s=(void 0===(o=n)&&(o=!1),r&&(!o||r===D(l))&&o)?ea(l):a(0),c=(i.left+s.x)/u.x,f=(i.top+s.y)/u.y,d=i.width/u.x,p=i.height/u.y;if(l){let e=D(l),t=r&&F(r)?D(r):r,n=e,o=er(n);for(;o&&r&&t!==n;){let e=el(o),t=o.getBoundingClientRect(),r=Q(o),i=t.left+(o.clientLeft+parseFloat(r.paddingLeft))*e.x,l=t.top+(o.clientTop+parseFloat(r.paddingTop))*e.y;c*=e.x,f*=e.y,d*=e.x,p*=e.y,c+=i,f+=l,o=er(n=D(o))}}return T({width:d,height:p,x:c,y:f})}function ec(e,t){let n=ee(e).scrollLeft;return t?t.left+n:es(W(e)).left+n}function ef(e,t,n){void 0===n&&(n=!1);let r=e.getBoundingClientRect();return{x:r.left+t.scrollLeft-(n?0:ec(e,r)),y:r.top+t.scrollTop}}let ed=new Set(["absolute","fixed"]);function ep(e,t,n){let r;if("viewport"===t)r=function(e,t){let n=D(e),r=W(e),o=n.visualViewport,i=r.clientWidth,l=r.clientHeight,u=0,a=0;if(o){i=o.width,l=o.height;let e=G();
1(!e||e&&"fixed"===t)&&(u=o.offsetLeft,a=o.offsetTop)}return{width:i,height:l,x:u,y:a}}(e,n);else if("document"===t)r=function(e){let t=W(e),n=ee(e),r=e.ownerDocument.body,o=i(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),l=i(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),u=-n.scrollLeft+ec(e),a=-n.scrollTop;return"rtl"===Q(r).direction&&(u+=i(t.clientWidth,r.clientWidth)-o),{width:o,height:l,x:u,y:a}}(W(e));else if(F(t))r=function(e,t){let n=es(e,!0,"fixed"===t),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=H(e)?el(e):a(1),l=e.clientWidth*i.x;return{width:l,height:e.clientHeight*i.y,x:o*i.x,y:r*i.y}}(t,n);else{let n=ea(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return T(r)}function em(e){return"static"===Q(e).position}function eh(e,t){if(!H(e)||"fixed"===Q(e).position)return null;if(t)return t(e);let n=e.offsetParent;return W(e)===n&&(n=n.ownerDocument.body),n}function ev(e,t){var n;let r=D(e);if(U(e))return r;if(!H(e)){let t=et(e);for(;t&&!K(t);){if(F(t)&&!em(t))return t;t=et(t)}return r}let o=eh(e,t);for(;o&&(n=o,B.has(k(n)))&&em(o);)o=eh(o,t);return o&&K(o)&&em(o)&&!q(o)?r:o||function(e){let t=et(e);for(;H(t)&&!K(t);){if(q(t))return t;if(U(t))break;t=et(t)}return null}(e)||r}let eg=async function(e){let t=this.getOffsetParent||ev,n=this.getDimensions,r=await n(e.floating);return{reference:function(e,t,n){let r=H(t),o=W(t),i="fixed"===n,l=es(e,!0,i,t),u={scrollLeft:0,scrollTop:0},s=a(0);if(r||!r&&!i){if(("body"!==k(t)||z(o))&&(u=ee(t)),r){let e=es(t,!0,i,t);s.x=e.x+t.clientLeft,s.y=e.y+t.clientTop}else o&&(s.x=ec(o))}i&&!r&&o&&(s.x=ec(o));let c=!o||r||i?a(0):ef(o,u);return{x:l.left+u.scrollLeft-s.x-c.x,y:l.top+u.scrollTop-s.y-c.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}}},ey={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e,i="fixed"===o,l=W(r),u=!!t&&U(t.floating);if(r===l||u&&i)return n;let s={scrollLeft:0,scrollTop:0},c=a(1),f=a(0),d=H(r);if((d||!d&&!i)&&(("body"!==k(r)||z(l))&&(s=ee(r)),H(r))){let e=es(r);c=el(r),f.x=e.x+r.clientLeft,f.y=e.y+r.clientTop}let p=!l||d||i?a(0):ef(l,s,!0);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-s.scrollLeft*c.x+f.x+p.x,y:n.y*c.y-s.scrollTop*c.y+f.y+p.y}},getDocumentElement:W,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:l}=e,u=[..."clippingAncestors"===n?U(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=en(e,[],!1).filter(e=>F(e)&&"body"!==k(e)),o=null,i="fixed"===Q(e).position,l=i?et(e):e;for(;F(l)&&!K(l);){let t=Q(l),n=q(l);n||"fixed"!==t.position||(o=null),(i?!n&&!o:!n&&"static"===t.position&&!!o&&ed.has(o.position)||z(l)&&!n&&function e(t,n){let r=et(t);return!(r===n||!F(r)||K(r))&&("fixed"===Q(r).position||e(r,n))}(e,l))?r=r.filter(e=>e!==l):o=t,l=et(l)}return t.set(e,r),r}(t,this._c):[].concat(n),r],a=u[0],s=u.reduce((e,n)=>{let r=ep(t,n,l);return e.top=i(r.top,e.top),e.right=o(r.right,e.right),e.bottom=o(r.bottom,e.bottom),e.left=i(r.left,e.left),e},ep(t,a,l));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:ev,getElementRects:eg,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=eo(e);return{width:t,height:n}},getScale:el,isElement:F,isRTL:function(e){return"rtl"===Q(e).direction}};function ew(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function ex(e,t,n,r){let l;void 0===r&&(r={});let{ancestorScroll:a=!0,ancestorResize:s=!0,elementResize:c="function"==typeof ResizeObserver,layoutShift:f="function"==typeof IntersectionObserver,animationFrame:d=!1}=r,p=ei(e),m=a||s?[...p?en(p):[],...en(t)]:[];m.forEach(e=>{a&&e.addEventListener("scroll",n,{passive:!0}),s&&e.addEventListener("resize",n)});let h=p&&f?function(e,t){let n,r=null,l=W(e);function a(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return!function s(c,f){void 0===c&&(c=!1),void 0===f&&(f=1),a();let d=e.getBoundingClientRect(),{left:p,top:m,width:h,height:v}=d;if(c||t(),!h||!v)return;let g=u(m),y=u(l.clientWidth-(p+h)),w={rootMargin:-g+"px "+-y+"px "+-u(l.clientHeight-(m+v))+"px "+-u(p)+"px",threshold:i(0,o(1,f))||1},x=!0;function b(t){let r=t[0].intersectionRatio;if(r!==f){if(!x)return s();r?s(!1,r):n=setTimeout(()=>{s(!1,1e-7)},1e3)}1!==r||ew(d,e.getBoundingClientRect())||s(),x=!1}try{r=new IntersectionObserver(b,{...w,root:l.ownerDocument})}catch(e){r=new IntersectionObserver(b,w)}r.observe(e)}(!0),a}(p,n):null,v=-1,g=null;c&&(g=new ResizeObserver(e=>{let[r]=e;r&&r.target===p&&g&&(g.unobserve(t),cancelAnimationFrame(v),v=requestAnimationFrame(()=>{var e;null==(e=g)||e.observe(t)})),n()}
1),p&&!d&&g.observe(p),g.observe(t));let y=d?es(e):null;return d&&function t(){let r=es(e);y&&!ew(y,r)&&n(),y=r,l=requestAnimationFrame(t)}(),n(),()=>{var e;m.forEach(e=>{a&&e.removeEventListener("scroll",n),s&&e.removeEventListener("resize",n)}),null==h||h(),null==(e=g)||e.disconnect(),g=null,d&&cancelAnimationFrame(l)}}let eb=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;let{x:o,y:i,placement:l,middlewareData:u}=t,a=await N(t,e);return l===(null==(n=u.offset)?void 0:n.placement)&&null!=(r=u.arrow)&&r.alignmentOffset?{}:{x:o+a.x,y:i+a.y,data:{...a,placement:l}}}}},eE=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:n,y:r,placement:l}=t,{mainAxis:u=!0,crossAxis:a=!1,limiter:s={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...c}=f(e,t),p={x:n,y:r},h=await L(t,c),v=g(d(l)),y=m(v),w=p[y],x=p[v];if(u){let e="y"===y?"top":"left",t="y"===y?"bottom":"right",n=w+h[e],r=w-h[t];w=i(n,o(w,r))}if(a){let e="y"===v?"top":"left",t="y"===v?"bottom":"right",n=x+h[e],r=x-h[t];x=i(n,o(x,r))}let b=s.fn({...t,[y]:w,[v]:x});return{...b,data:{x:b.x-n,y:b.y-r,enabled:{[y]:u,[v]:a}}}}}},eR=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,r,o,i,l;let{placement:u,middlewareData:a,rects:s,initialPlacement:c,platform:v,elements:C}=t,{mainAxis:T=!0,crossAxis:O=!0,fallbackPlacements:A,fallbackStrategy:P="bestFit",fallbackAxisSideDirection:S="none",flipAlignment:j=!0,...N}=f(e,t);if(null!=(n=a.arrow)&&n.alignmentOffset)return{};let M=d(u),k=g(c),D=d(c)===c,W=await (null==v.isRTL?void 0:v.isRTL(C.floating)),_=A||(D||!j?[R(c)]:function(e){let t=R(e);return[y(e),t,y(t)]}(c)),F="none"!==S;!A&&F&&_.push(...function(e,t,n,r){let o=p(e),i=function(e,t,n){switch(e){case"top":case"bottom":if(n)return t?x:w;return t?w:x;case"left":case"right":return t?b:E;default:return[]}}(d(e),"start"===n,r);return o&&(i=i.map(e=>e+"-"+o),t&&(i=i.concat(i.map(y)))),i}(c,j,S,W));let H=[c,..._],I=await L(t,N),V=[],z=(null==(r=a.flip)?void 0:r.overflows)||[];if(T&&V.push(I[M]),O){let e=function(e,t,n){void 0===n&&(n=!1);let r=p(e),o=m(g(e)),i=h(o),l="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[i]>t.floating[i]&&(l=R(l)),[l,R(l)]}(u,s,W);V.push(I[e[0]],I[e[1]])}if(z=[...z,{placement:u,overflows:V}],!V.every(e=>e<=0)){let e=((null==(o=a.flip)?void 0:o.index)||0)+1,t=H[e];if(t&&(!("alignment"===O&&k!==g(t))||z.every(e=>g(e.placement)!==k||e.overflows[0]>0)))return{data:{index:e,overflows:z},reset:{placement:t}};let n=null==(i=z.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:i.placement;if(!n)switch(P){case"bestFit":{let e=null==(l=z.filter(e=>{if(F){let t=g(e.placement);return t===k||"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=c}if(u!==n)return{reset:{placement:n}}}return{}}}},eC=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var n,r;let l,u;let{placement:a,rects:s,platform:c,elements:m}=t,{apply:h=()=>{},...v}=f(e,t),y=await L(t,v),w=d(a),x=p(a),b="y"===g(a),{width:E,height:R}=s.floating;"top"===w||"bottom"===w?(l=w,u=x===(await (null==c.isRTL?void 0:c.isRTL(m.floating))?"start":"end")?"left":"right"):(u=w,l="end"===x?"top":"bottom");let C=R-y.top-y.bottom,T=E-y.left-y.right,O=o(R-y[l],C),A=o(E-y[u],T),P=!t.middlewareData.shift,S=O,j=A;if(null!=(n=t.middlewareData.shift)&&n.enabled.x&&(j=T),null!=(r=t.middlewareData.shift)&&r.enabled.y&&(S=C),P&&!x){let e=i(y.left,0),t=i(y.right,0),n=i(y.top,0),r=i(y.bottom,0);b?j=E-2*(0!==e||0!==t?e+t:i(y.left,y.right)):S=R-2*(0!==n||0!==r?n+r:i(y.top,y.bottom))}await h({...t,availableWidth:j,availableHeight:S});let N=await c.getDimensions(m.floating);return E!==N.width||R!==N.height?{reset:{rects:!0}}:{}}}},eT=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){let{rects:n}=t,{strategy:r="referenceHidden",...o}=f(e,t);switch(r){case"referenceHidden":{let e=P(await L(t,{...o,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:S(e)}}}case"escaped":{let e=P(await L(t,{...o,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:S(e)}}}default:return{}}}}},eO=e=>({name:"arrow",options:e,async fn(t){let{x:n,y:r,placement:l,rects:u,platform:a,elements:s,middlewareData:c}=t,{element:d,padding:v=0}=f(e,t)||{};if(null==d)return{};let y=C(v),w={x:n,y:r},x=m(g(l)),b=h(x),E=await a.getDimensions(d),R="y"===x,T=R?"clientHeight":"clientWidth",O=u.reference[b]+u.reference[x]-w[x]-u.floating[b],A=w[x]-u.reference[x],L=await (null==a.getOffsetParent?void 0:a.getOffsetParent(d)),P=L?L[T]:0;
1P&&await (null==a.isElement?void 0:a.isElement(L))||(P=s.floating[T]||u.floating[b]);let S=P/2-E[b]/2-1,j=o(y[R?"top":"left"],S),N=o(y[R?"bottom":"right"],S),M=P-E[b]-N,k=P/2-E[b]/2+(O/2-A/2),D=i(j,o(k,M)),W=!c.arrow&&null!=p(l)&&k!==D&&u.reference[b]/2-(k<j?j:N)-E[b]/2<0,_=W?k<j?k-j:k-M:0;return{[x]:w[x]+_,data:{[x]:D,centerOffset:k-D-_,...W&&{alignmentOffset:_}},reset:W}}}),eA=function(e){return void 0===e&&(e={}),{options:e,fn(t){let{x:n,y:r,placement:o,rects:i,middlewareData:l}=t,{offset:u=0,mainAxis:a=!0,crossAxis:s=!0}=f(e,t),c={x:n,y:r},p=g(o),h=m(p),v=c[h],y=c[p],w=f(u,t),x="number"==typeof w?{mainAxis:w,crossAxis:0}:{mainAxis:0,crossAxis:0,...w};if(a){let e="y"===h?"height":"width",t=i.reference[h]-i.floating[e]+x.mainAxis,n=i.reference[h]+i.reference[e]-x.mainAxis;v<t?v=t:v>n&&(v=n)}if(s){var b,E;let e="y"===h?"width":"height",t=j.has(d(o)),n=i.reference[p]-i.floating[e]+(t&&(null==(b=l.offset)?void 0:b[p])||0)+(t?0:x.crossAxis),r=i.reference[p]+i.reference[e]+(t?0:(null==(E=l.offset)?void 0:E[p])||0)-(t?x.crossAxis:0);y<n?y=n:y>r&&(y=r)}return{[h]:v,[p]:y}}}},eL=(e,t,n)=>{let r=new Map,o={platform:ey,...n},i={...o.platform,_c:r};return A(e,t,{...o,platform:i})}},6741:function(e,t,n){function r(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),!1===n||!r.defaultPrevented)return t?.(r)}}n.d(t,{Mj:function(){return r}}),"undefined"!=typeof window&&window.document&&window.document.createElement},98575:function(e,t,n){n.d(t,{F:function(){return i},e:function(){return l}});var r=n(2265);function o(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function i(...e){return t=>{let n=!1,r=e.map(e=>{let r=o(e,t);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];"function"==typeof n?n():o(e[t],null)}}}}function l(...e){return r.useCallback(i(...e),e)}},73966:function(e,t,n){n.d(t,{b:function(){return l},k:function(){return i}});var r=n(2265),o=n(57437);function i(e,t){let n=r.createContext(t),i=e=>{let{children:t,...i}=e,l=r.useMemo(()=>i,Object.values(i));return(0,o.jsx)(n.Provider,{value:l,children:t})};return i.displayName=e+"Provider",[i,function(o){let i=r.useContext(n);if(i)return i;if(void 0!==t)return t;throw Error(`\`${o}\` must be used within \`${e}\``)}]}function l(e,t=[]){let n=[],i=()=>{let t=n.map(e=>r.createContext(e));return function(n){let o=n?.[e]||t;return r.useMemo(()=>({[`__scope${e}`]:{...n,[e]:o}}),[n,o])}};return i.scopeName=e,[function(t,i){let l=r.createContext(i),u=n.length;n=[...n,i];let a=t=>{let{scope:n,children:i,...a}=t,s=n?.[e]?.[u]||l,c=r.useMemo(()=>a,Object.values(a));return(0,o.jsx)(s.Provider,{value:c,children:i})};return a.displayName=t+"Provider",[a,function(n,o){let a=o?.[e]?.[u]||l,s=r.useContext(a);if(s)return s;if(void 0!==i)return i;throw Error(`\`${n}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let o=n.reduce((t,{useScope:n,scopeName:r})=>{let o=n(e)[`__scope${r}`];return{...t,...o}},{});return r.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])}};return n.scopeName=t.scopeName,n}(i,...t)]}},15278:function(e,t,n){n.d(t,{XB:function(){return d}});var r,o=n(2265),i=n(6741),l=n(66840),u=n(98575),a=n(26606),s=n(57437),c="dismissableLayer.update",f=o.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),d=o.forwardRef((e,t)=>{var n,d;let{disableOutsidePointerEvents:h=!1,onEscapeKeyDown:v,onPointerDownOutside:g,onFocusOutside:y,onInteractOutside:w,onDismiss:x,...b}=e,E=o.useContext(f),[R,C]=o.useState(null),T=null!==(d=null==R?void 0:R.ownerDocument)&&void 0!==d?d:null===(n=globalThis)||void 0===n?void 0:n.document,[,O]=o.useState({}),A=(0,u.e)(t,e=>C(e)),L=Array.from(E.layers),[P]=[...E.layersWithOutsidePointerEventsDisabled].slice(-1),S=L.indexOf(P),j=R?L.indexOf(R):-1,N=E.layersWithOutsidePointerEventsDisabled.size>0,M=j>=S,k=function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null===(t=globalThis)||void 0===t?void 0:t.document,r=(0,a.W)(e),i=o.useRef(!1),l=o.useRef(()=>{});return o.useEffect(()=>{let e=e=>{if(e.target&&!i.current){let t=function(){m("dismissableLayer.pointerDownOutside",r,o,{discrete:!0})},o={originalEvent:e};"touch"===e.pointerType?(n.removeEventListener("click",l.current),l.current=t,n.addEventListener("click",l.current,{once:!0})):t()}else n.removeEventListener("click",l.current);i.current=!1},t=window.setTimeout(()=>{n.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(t),n.removeEventListener("pointerdown",e),n.removeEventListener("click",l.current)}},[n,r]),{onPointerDownCapture:()=>i.current=!0}}(e=>{let t=e.target,n=[...E.branches].some(e=>e.contains(t));!M||n||(null==g||g(e),null==w||w(e),e.defaultPrevented||null==x||x())},T),D=function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null===(t=globalThis)||void 0===t?void 0:t.document,r=(0,a.W)(e),i=o.useRef(!1);return o.useEffect(()=>{let e=e=>{e.target&&!i.current&&m("dismissableLayer.focusOutside",r,{originalEvent:e},{discrete:!1})};return n.addEventListener("focusin",e),()=>n.removeEventListener("focusin",e)},[n,r]),{onFocusCapture:()=>i.current=!0,onBlurCapture:()=>i.current=!1}}(e=>{let t=e.target;[...E.branches].some(e=>e.contains(t))||(null==y||y(e),null==w||w(e),e.defaultPrevented||null==x||x())},T);return!function(e,t=globalThis?.document){let n=(0,a.W)(e);o.useEffect(()=>{let e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})},[n,t])}(e=>{j!==E.layers.size-1||(null==v||v(e),!e.defaultPrevented&&x&&(e.preventDefault(),x()))},T),o.useEffect(()=>{if(R)return h&&(0===E.layersWithOutsidePointerEventsDisabled.size&&(r=T.body.style.pointerEvents,T.body.style.pointerEvents="none"),E.layersWithOutsidePointerEventsDisabled.add(R)),E.layers.add(R),p(),()=>{h&&1===E.layersWithOutsidePointerEventsDisabled.size&&(T.body.style.pointerEvents=r)}},[R,T,h,E]),o.useEffect(()=>()=>{R&&(E.layers.delete(R),E.layersWithOutsidePointerEventsDisabled.delete(R),p())},[R,E]),o.useEffect(()=>{let e=()=>O({});return document.addEventListener(c,e),()=>document.removeEventListener(c,e)},[]),(0,s.jsx)(l.WV.div,{...b,ref:A,style:{pointerEvents:N?M?"auto":"none":void 0,...e.style},onFocusCapture:(0,i.Mj)(e.onFocusCapture,D.onFocusCapture),onBlurCapture:(0,i.Mj)(e.onBlurCapture,D.onBlurCapture),onPointerDownCapture:(0,i.Mj)(e.onPointerDownCapture,k.onPointerDownCapture)})});function p(){let e=new CustomEvent(c);document.dispatchEvent(e)}function m(e,t,n,r){let{discrete:o}=r,i=n.originalEvent.target,u=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),o?(0,l.jH)(i,u):i.dispatchEvent(u)}d.displayName="DismissableLayer",o.forwardRef((e,t)=>
1{let n=o.useContext(f),r=o.useRef(null),i=(0,u.e)(t,r);return o.useEffect(()=>{let e=r.current;if(e)return n.branches.add(e),()=>{n.branches.delete(e)}},[n.branches]),(0,s.jsx)(l.WV.div,{...e,ref:i})}).displayName="DismissableLayerBranch"},99255:function(e,t,n){n.d(t,{M:function(){return a}});var r,o=n(2265),i=n(61188),l=(r||(r=n.t(o,2)))[" useId ".trim().toString()]||(()=>void 0),u=0;function a(e){let[t,n]=o.useState(l());return(0,i.b)(()=>{e||n(e=>e??String(u++))},[e]),e||(t?`radix-${t}`:"")}},83832:function(e,t,n){n.d(t,{h:function(){return a}});var r=n(2265),o=n(54887),i=n(66840),l=n(61188),u=n(57437),a=r.forwardRef((e,t)=>{var n,a;let{container:s,...c}=e,[f,d]=r.useState(!1);(0,l.b)(()=>d(!0),[]);let p=s||f&&(null===(a=globalThis)||void 0===a?void 0:null===(n=a.document)||void 0===n?void 0:n.body);return p?o.createPortal((0,u.jsx)(i.WV.div,{...c,ref:t}),p):null});a.displayName="Portal"},71599:function(e,t,n){n.d(t,{z:function(){return l}});var r=n(2265),o=n(98575),i=n(61188),l=e=>{var t,n;let l,a;let{present:s,children:c}=e,f=function(e){var t,n;let[o,l]=r.useState(),a=r.useRef(null),s=r.useRef(e),c=r.useRef("none"),[f,d]=(t=e?"mounted":"unmounted",n={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},r.useReducer((e,t)=>{let r=n[e][t];return null!=r?r:e},t));return r.useEffect(()=>{let e=u(a.current);c.current="mounted"===f?e:"none"},[f]),(0,i.b)(()=>{let t=a.current,n=s.current;if(n!==e){let r=c.current,o=u(t);e?d("MOUNT"):"none"===o||(null==t?void 0:t.display)==="none"?d("UNMOUNT"):n&&r!==o?d("ANIMATION_OUT"):d("UNMOUNT"),s.current=e}},[e,d]),(0,i.b)(()=>{if(o){var e;let t;let n=null!==(e=o.ownerDocument.defaultView)&&void 0!==e?e:window,r=e=>{let r=u(a.current).includes(CSS.escape(e.animationName));if(e.target===o&&r&&(d("ANIMATION_END"),!s.current)){let e=o.style.animationFillMode;o.style.animationFillMode="forwards",t=n.setTimeout(()=>{"forwards"===o.style.animationFillMode&&(o.style.animationFillMode=e)})}},i=e=>{e.target===o&&(c.current=u(a.current))};return o.addEventListener("animationstart",i),o.addEventListener("animationcancel",r),o.addEventListener("animationend",r),()=>{n.clearTimeout(t),o.removeEventListener("animationstart",i),o.removeEventListener("animationcancel",r),o.removeEventListener("animationend",r)}}d("ANIMATION_END")},[o,d]),{isPresent:["mounted","unmountSuspended"].includes(f),ref:r.useCallback(e=>{a.current=e?getComputedStyle(e):null,l(e)},[])}}(s),d="function"==typeof c?c({present:f.isPresent}):r.Children.only(c),p=(0,o.e)(f.ref,(l=null===(t=Object.getOwnPropertyDescriptor(d.props,"ref"))||void 0===t?void 0:t.get)&&"isReactWarning"in l&&l.isReactWarning?d.ref:(l=null===(n=Object.getOwnPropertyDescriptor(d,"ref"))||void 0===n?void 0:n.get)&&"isReactWarning"in l&&l.isReactWarning?d.props.ref:d.props.ref||d.ref);return"function"==typeof c||f.isPresent?r.cloneElement(d,{ref:p}):null};function u(e){return(null==e?void 0:e.animationName)||"none"}l.displayName="Presence"},66840:function(e,t,n){n.d(t,{WV:function(){return u},jH:function(){return a}});var r=n(2265),o=n(54887),i=n(37053),l=n(57437),u=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let n=(0,i.Z8)(`Primitive.${t}`),o=r.forwardRef((e,r)=>{let{asChild:o,...i}=e,u=o?n:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,l.jsx)(u,{...i,ref:r})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{});function a(e,t){e&&o.flushSync(()=>e.dispatchEvent(t))}},37053:function(e,t,n){n.d(t,{Z8:function(){return l},g7:function(){return u},sA:function(){return s}});var r=n(2265),o=n(98575),i=n(57437);function l(e){let t=function(e){let t=r.forwardRef((e,t)=>{let{children:n,...i}=e;if(r.isValidElement(n)){let e,l;let u=(e=Object.getOwnPropertyDescriptor(n.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?n.ref:(e=Object.getOwnPropertyDescriptor(n,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?n.props.ref:n.props.ref||n.ref,a=function(e,t){let n={...t};for(let r in t){let o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...e)=>{let t=i(...e);return o(...e),t}:o&&(n[r]=o):"style"===r?n[r]={...o,...i}
1:"className"===r&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}(i,n.props);return n.type!==r.Fragment&&(a.ref=t?(0,o.F)(t,u):u),r.cloneElement(n,a)}return r.Children.count(n)>1?r.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}(e),n=r.forwardRef((e,n)=>{let{children:o,...l}=e,u=r.Children.toArray(o),a=u.find(c);if(a){let e=a.props.children,o=u.map(t=>t!==a?t:r.Children.count(e)>1?r.Children.only(null):r.isValidElement(e)?e.props.children:null);return(0,i.jsx)(t,{...l,ref:n,children:r.isValidElement(e)?r.cloneElement(e,void 0,o):null})}return(0,i.jsx)(t,{...l,ref:n,children:o})});return n.displayName=`${e}.Slot`,n}var u=l("Slot"),a=Symbol("radix.slottable");function s(e){let t=({children:e})=>(0,i.jsx)(i.Fragment,{children:e});return t.displayName=`${e}.Slottable`,t.__radixId=a,t}function c(e){return r.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===a}},28450:function(e,t,n){n.d(t,{Eh:function(){return eN},VY:function(){return ej},h_:function(){return eS},zt:function(){return eA},fC:function(){return eL},xz:function(){return eP}});var r=n(2265),o=n(6741),i=n(98575),l=n(73966),u=n(15278),a=n(99255),s=n(50032),c=n(54887),f="undefined"!=typeof document?r.useLayoutEffect:function(){};function d(e,t){let n,r,o;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(!d(e[r],t[r]))return!1;return!0}if((n=(o=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!({}).hasOwnProperty.call(t,o[r]))return!1;for(r=n;0!=r--;){let n=o[r];if(("_owner"!==n||!e.$$typeof)&&!d(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function p(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function m(e,t){let n=p(e);return Math.round(t*n)/n}function h(e){let t=r.useRef(e);return f(()=>{t.current=e}),t}let v=e=>({name:"arrow",options:e,fn(t){let{element:n,padding:r}="function"==typeof e?e(t):e;return n&&({}).hasOwnProperty.call(n,"current")?null!=n.current?(0,s.x7)({element:n.current,padding:r}).fn(t):{}:n?(0,s.x7)({element:n,padding:r}).fn(t):{}}}),g=(e,t)=>({...(0,s.cv)(e),options:[e,t]}),y=(e,t)=>({...(0,s.uY)(e),options:[e,t]}),w=(e,t)=>({...(0,s.dr)(e),options:[e,t]}),x=(e,t)=>({...(0,s.RR)(e),options:[e,t]}),b=(e,t)=>({...(0,s.dp)(e),options:[e,t]}),E=(e,t)=>({...(0,s.Cp)(e),options:[e,t]}),R=(e,t)=>({...v(e),options:[e,t]});var C=n(66840),T=n(57437),O=r.forwardRef((e,t)=>{let{children:n,width:r=10,height:o=5,...i}=e;return(0,T.jsx)(C.WV.svg,{...i,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:(0,T.jsx)("polygon",{points:"0,0 30,0 15,10"})})});O.displayName="Arrow";var A=n(26606),L=n(61188),P=n(90420),S="Popper",[j,N]=(0,l.b)(S),[M,k]=j(S),D=e=>{let{__scopePopper:t,children:n}=e,[o,i]=r.useState(null);return(0,T.jsx)(M,{scope:t,anchor:o,onAnchorChange:i,children:n})};D.displayName=S;var W="PopperAnchor",_=r.forwardRef((e,t)=>{let{__scopePopper:n,virtualRef:o,...l}=e,u=k(W,n),a=r.useRef(null),s=(0,i.e)(t,a),c=r.useRef(null);return r.useEffect(()=>{let e=c.current;c.current=(null==o?void 0:o.current)||a.current,e!==c.current&&u.onAnchorChange(c.current)}),o?null:(0,T.jsx)(C.WV.div,{...l,ref:s})});_.displayName=W;var F="PopperContent",[H,I]=j(F),V=r.forwardRef((e,t)=>{var n,o,l,u,a,v,O,S;let{__scopePopper:j,side:N="bottom",sideOffset:M=0,align:D="center",alignOffset:W=0,arrowPadding:_=0,avoidCollisions:I=!0,collisionBoundary:V=[],collisionPadding:z=0,sticky:B="partial",hideWhenDetached:$=!1,updatePositionStrategy:Z="optimized",onPlaced:q,...G}=e,J=k(F,j),[K,Q]=r.useState(null),ee=(0,i.e)(t,e=>Q(e)),[et,en]=r.useState(null),er=(0,P.t)(et),eo=null!==(O=null==er?void 0:er.width)&&void 0!==O?O:0,ei=null!==(S=null==er?void 0:er.height)&&void 0!==S?S:0,el="number"==typeof z?z:{top:0,right:0,bottom:0,left:0,...z},eu=Array.isArray(V)?V:[V],ea=eu.length>0,es={padding:el,boundary:eu.filter(U),altBoundary:ea},{refs:ec,floatingStyles:ef,placement:ed,isPositioned:ep,middlewareData:em}=function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:o=[],platform:i,elements:{reference:l,floating:u}={},transform:a=!0,whileElementsMounted:v,open:g}=e,[y,w]=r.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[x,b]=r.useState(o);d(x,o)||b(o);let[E,R]=r.useState(null),[C,T]=r.useState(null),O=r.useCallback(e=>
1{e!==S.current&&(S.current=e,R(e))},[]),A=r.useCallback(e=>{e!==j.current&&(j.current=e,T(e))},[]),L=l||E,P=u||C,S=r.useRef(null),j=r.useRef(null),N=r.useRef(y),M=null!=v,k=h(v),D=h(i),W=h(g),_=r.useCallback(()=>{if(!S.current||!j.current)return;let e={placement:t,strategy:n,middleware:x};D.current&&(e.platform=D.current),(0,s.oo)(S.current,j.current,e).then(e=>{let t={...e,isPositioned:!1!==W.current};F.current&&!d(N.current,t)&&(N.current=t,c.flushSync(()=>{w(t)}))})},[x,t,n,D,W]);f(()=>{!1===g&&N.current.isPositioned&&(N.current.isPositioned=!1,w(e=>({...e,isPositioned:!1})))},[g]);let F=r.useRef(!1);f(()=>(F.current=!0,()=>{F.current=!1}),[]),f(()=>{if(L&&(S.current=L),P&&(j.current=P),L&&P){if(k.current)return k.current(L,P,_);_()}},[L,P,_,k,M]);let H=r.useMemo(()=>({reference:S,floating:j,setReference:O,setFloating:A}),[O,A]),I=r.useMemo(()=>({reference:L,floating:P}),[L,P]),V=r.useMemo(()=>{let e={position:n,left:0,top:0};if(!I.floating)return e;let t=m(I.floating,y.x),r=m(I.floating,y.y);return a?{...e,transform:"translate("+t+"px, "+r+"px)",...p(I.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,a,I.floating,y.x,y.y]);return r.useMemo(()=>({...y,update:_,refs:H,elements:I,floatingStyles:V}),[y,_,H,I,V])}({strategy:"fixed",placement:N+("center"!==D?"-"+D:""),whileElementsMounted:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,s.Me)(...t,{animationFrame:"always"===Z})},elements:{reference:J.anchor},middleware:[g({mainAxis:M+ei,alignmentAxis:W}),I&&y({mainAxis:!0,crossAxis:!1,limiter:"partial"===B?w():void 0,...es}),I&&x({...es}),b({...es,apply:e=>{let{elements:t,rects:n,availableWidth:r,availableHeight:o}=e,{width:i,height:l}=n.reference,u=t.floating.style;u.setProperty("--radix-popper-available-width","".concat(r,"px")),u.setProperty("--radix-popper-available-height","".concat(o,"px")),u.setProperty("--radix-popper-anchor-width","".concat(i,"px")),u.setProperty("--radix-popper-anchor-height","".concat(l,"px"))}}),et&&R({element:et,padding:_}),Y({arrowWidth:eo,arrowHeight:ei}),$&&E({strategy:"referenceHidden",...es})]}),[eh,ev]=X(ed),eg=(0,A.W)(q);(0,L.b)(()=>{ep&&(null==eg||eg())},[ep,eg]);let ey=null===(n=em.arrow)||void 0===n?void 0:n.x,ew=null===(o=em.arrow)||void 0===o?void 0:o.y,ex=(null===(l=em.arrow)||void 0===l?void 0:l.centerOffset)!==0,[eb,eE]=r.useState();return(0,L.b)(()=>{K&&eE(window.getComputedStyle(K).zIndex)},[K]),(0,T.jsx)("div",{ref:ec.setFloating,"data-radix-popper-content-wrapper":"",style:{...ef,transform:ep?ef.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:eb,"--radix-popper-transform-origin":[null===(u=em.transformOrigin)||void 0===u?void 0:u.x,null===(a=em.transformOrigin)||void 0===a?void 0:a.y].join(" "),...(null===(v=em.hide)||void 0===v?void 0:v.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,T.jsx)(H,{scope:j,placedSide:eh,onArrowChange:en,arrowX:ey,arrowY:ew,shouldHideArrow:ex,children:(0,T.jsx)(C.WV.div,{"data-side":eh,"data-align":ev,...G,ref:ee,style:{...G.style,animation:ep?void 0:"none"}})})})});V.displayName=F;var z="PopperArrow",B={top:"bottom",right:"left",bottom:"top",left:"right"},$=r.forwardRef(function(e,t){let{__scopePopper:n,...r}=e,o=I(z,n),i=B[o.placedSide];return(0,T.jsx)("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[o.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[o.placedSide],visibility:o.shouldHideArrow?"hidden":void 0},children:(0,T.jsx)(O,{...r,ref:t,style:{...r.style,display:"block"}})})});function U(e){return null!==e}$.displayName=z;var Y=e=>({name:"transformOrigin",options:e,fn(t){var n,r,o,i,l;let{placement:u,rects:a,middlewareData:s}=t,c=(null===(n=s.arrow)||void 0===n?void 0:n.centerOffset)!==0,f=c?0:e.arrowWidth,d=c?0:e.arrowHeight,[p,m]=X(u),h={start:"0%",center:"50%",end:"100%"}[m],v=(null!==(i=null===(r=s.arrow)||void 0===r?void 0:r.x)&&void 0!==i?i:0)+f/2,g=(null!==(l=null===(o=s.arrow)||void 0===o?void 0:o.y)&&void 0!==l?l:0)+d/2,y="",w="";return"bottom"===p?(y=c?h:"".concat(v,"px"),w="".concat(-d,"px")):"top"===p?(y=c?h:"".concat(v,"px"),w="".concat(a.floating.height+d,"px")):"right"===p?(y="".concat(-d,"px"),w=c?h:"".concat(g,"px")):"left"===p&&(y="".concat(a.floating.width+d,"px"),w=c?h:"".concat(g,"px")),{data:{x:y,y:w}}}});function X(e){let[t,n="center"]=e.split("-");return[t,n]}var Z=n(83832),q=n(71599),G=n(37053),J=n(80886),K=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),Q=r.forwardRef((e,t)=>
1(0,T.jsx)(C.WV.span,{...e,ref:t,style:{...K,...e.style}}));Q.displayName="VisuallyHidden";var[ee,et]=(0,l.b)("Tooltip",[N]),en=N(),er="TooltipProvider",eo="tooltip.open",[ei,el]=ee(er),eu=e=>{let{__scopeTooltip:t,delayDuration:n=700,skipDelayDuration:o=300,disableHoverableContent:i=!1,children:l}=e,u=r.useRef(!0),a=r.useRef(!1),s=r.useRef(0);return r.useEffect(()=>{let e=s.current;return()=>window.clearTimeout(e)},[]),(0,T.jsx)(ei,{scope:t,isOpenDelayedRef:u,delayDuration:n,onOpen:r.useCallback(()=>{window.clearTimeout(s.current),u.current=!1},[]),onClose:r.useCallback(()=>{window.clearTimeout(s.current),s.current=window.setTimeout(()=>u.current=!0,o)},[o]),isPointerInTransitRef:a,onPointerInTransitChange:r.useCallback(e=>{a.current=e},[]),disableHoverableContent:i,children:l})};eu.displayName=er;var ea="Tooltip",[es,ec]=ee(ea),ef=e=>{let{__scopeTooltip:t,children:n,open:o,defaultOpen:i,onOpenChange:l,disableHoverableContent:u,delayDuration:s}=e,c=el(ea,e.__scopeTooltip),f=en(t),[d,p]=r.useState(null),m=(0,a.M)(),h=r.useRef(0),v=null!=u?u:c.disableHoverableContent,g=null!=s?s:c.delayDuration,y=r.useRef(!1),[w,x]=(0,J.T)({prop:o,defaultProp:null!=i&&i,onChange:e=>{e?(c.onOpen(),document.dispatchEvent(new CustomEvent(eo))):c.onClose(),null==l||l(e)},caller:ea}),b=r.useMemo(()=>w?y.current?"delayed-open":"instant-open":"closed",[w]),E=r.useCallback(()=>{window.clearTimeout(h.current),h.current=0,y.current=!1,x(!0)},[x]),R=r.useCallback(()=>{window.clearTimeout(h.current),h.current=0,x(!1)},[x]),C=r.useCallback(()=>{window.clearTimeout(h.current),h.current=window.setTimeout(()=>{y.current=!0,x(!0),h.current=0},g)},[g,x]);return r.useEffect(()=>()=>{h.current&&(window.clearTimeout(h.current),h.current=0)},[]),(0,T.jsx)(D,{...f,children:(0,T.jsx)(es,{scope:t,contentId:m,open:w,stateAttribute:b,trigger:d,onTriggerChange:p,onTriggerEnter:r.useCallback(()=>{c.isOpenDelayedRef.current?C():E()},[c.isOpenDelayedRef,C,E]),onTriggerLeave:r.useCallback(()=>{v?R():(window.clearTimeout(h.current),h.current=0)},[R,v]),onOpen:E,onClose:R,disableHoverableContent:v,children:n})})};ef.displayName=ea;var ed="TooltipTrigger",ep=r.forwardRef((e,t)=>{let{__scopeTooltip:n,...l}=e,u=ec(ed,n),a=el(ed,n),s=en(n),c=r.useRef(null),f=(0,i.e)(t,c,u.onTriggerChange),d=r.useRef(!1),p=r.useRef(!1),m=r.useCallback(()=>d.current=!1,[]);return r.useEffect(()=>()=>document.removeEventListener("pointerup",m),[m]),(0,T.jsx)(_,{asChild:!0,...s,children:(0,T.jsx)(C.WV.button,{"aria-describedby":u.open?u.contentId:void 0,"data-state":u.stateAttribute,...l,ref:f,onPointerMove:(0,o.Mj)(e.onPointerMove,e=>{"touch"===e.pointerType||p.current||a.isPointerInTransitRef.current||(u.onTriggerEnter(),p.current=!0)}),onPointerLeave:(0,o.Mj)(e.onPointerLeave,()=>{u.onTriggerLeave(),p.current=!1}),onPointerDown:(0,o.Mj)(e.onPointerDown,()=>{u.open&&u.onClose(),d.current=!0,document.addEventListener("pointerup",m,{once:!0})}),onFocus:(0,o.Mj)(e.onFocus,()=>{d.current||u.onOpen()}),onBlur:(0,o.Mj)(e.onBlur,u.onClose),onClick:(0,o.Mj)(e.onClick,u.onClose)})})});ep.displayName=ed;var em="TooltipPortal",[eh,ev]=ee(em,{forceMount:void 0}),eg=e=>{let{__scopeTooltip:t,forceMount:n,children:r,container:o}=e,i=ec(em,t);return(0,T.jsx)(eh,{scope:t,forceMount:n,children:(0,T.jsx)(q.z,{present:n||i.open,children:(0,T.jsx)(Z.h,{asChild:!0,container:o,children:r})})})};
1eg.displayName=em;var ey="TooltipContent",ew=r.forwardRef((e,t)=>{let n=ev(ey,e.__scopeTooltip),{forceMount:r=n.forceMount,side:o="top",...i}=e,l=ec(ey,e.__scopeTooltip);return(0,T.jsx)(q.z,{present:r||l.open,children:l.disableHoverableContent?(0,T.jsx)(eC,{side:o,...i,ref:t}):(0,T.jsx)(ex,{side:o,...i,ref:t})})}),ex=r.forwardRef((e,t)=>{let n=ec(ey,e.__scopeTooltip),o=el(ey,e.__scopeTooltip),l=r.useRef(null),u=(0,i.e)(t,l),[a,s]=r.useState(null),{trigger:c,onClose:f}=n,d=l.current,{onPointerInTransitChange:p}=o,m=r.useCallback(()=>{s(null),p(!1)},[p]),h=r.useCallback((e,t)=>{let n=e.currentTarget,r={x:e.clientX,y:e.clientY},o=function(e,t){let n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),o=Math.abs(t.right-e.x),i=Math.abs(t.left-e.x);switch(Math.min(n,r,o,i)){case i:return"left";case o:return"right";case n:return"top";case r:return"bottom";default:throw Error("unreachable")}}(r,n.getBoundingClientRect());s(function(e){let t=e.slice();return t.sort((e,t)=>e.x<t.x?-1:e.x>t.x?1:e.y<t.y?-1:e.y>t.y?1:0),function(e){if(e.length<=1)return e.slice();let t=[];for(let n=0;n<e.length;n++){let r=e[n];for(;t.length>=2;){let e=t[t.length-1],n=t[t.length-2];if((e.x-n.x)*(r.y-n.y)>=(e.y-n.y)*(r.x-n.x))t.pop();else break}t.push(r)}t.pop();let n=[];for(let t=e.length-1;t>=0;t--){let r=e[t];for(;n.length>=2;){let e=n[n.length-1],t=n[n.length-2];if((e.x-t.x)*(r.y-t.y)>=(e.y-t.y)*(r.x-t.x))n.pop();else break}n.push(r)}return(n.pop(),1===t.length&&1===n.length&&t[0].x===n[0].x&&t[0].y===n[0].y)?t:t.concat(n)}(t)}([...function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:5,r=[];switch(t){case"top":r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n})}return r}(r,o),...function(e){let{top:t,right:n,bottom:r,left:o}=e;return[{x:o,y:t},{x:n,y:t},{x:n,y:r},{x:o,y:r}]}(t.getBoundingClientRect())])),p(!0)},[p]);return r.useEffect(()=>()=>m(),[m]),r.useEffect(()=>{if(c&&d){let e=e=>h(e,d),t=e=>h(e,c);return c.addEventListener("pointerleave",e),d.addEventListener("pointerleave",t),()=>{c.removeEventListener("pointerleave",e),d.removeEventListener("pointerleave",t)}}},[c,d,h,m]),r.useEffect(()=>{if(a){let e=e=>{let t=e.target,n={x:e.clientX,y:e.clientY},r=(null==c?void 0:c.contains(t))||(null==d?void 0:d.contains(t)),o=!function(e,t){let{x:n,y:r}=e,o=!1;for(let e=0,i=t.length-1;e<t.length;i=e++){let l=t[e],u=t[i],a=l.x,s=l.y,c=u.x,f=u.y;s>r!=f>r&&n<(c-a)*(r-s)/(f-s)+a&&(o=!o)}return o}(n,a);r?m():o&&(m(),f())};return document.addEventListener("pointermove",e),()=>document.removeEventListener("pointermove",e)}},[c,d,a,f,m]),(0,T.jsx)(eC,{...e,ref:u})}),[eb,eE]=ee(ea,{isInside:!1}),eR=(0,G.sA)("TooltipContent"),eC=r.forwardRef((e,t)=>{let{__scopeTooltip:n,children:o,"aria-label":i,onEscapeKeyDown:l,onPointerDownOutside:a,...s}=e,c=ec(ey,n),f=en(n),{onClose:d}=c;return r.useEffect(()=>(document.addEventListener(eo,d),()=>document.removeEventListener(eo,d)),[d]),r.useEffect(()=>{if(c.trigger){let e=e=>{let t=e.target;(null==t?void 0:t.contains(c.trigger))&&d()};return window.addEventListener("scroll",e,{capture:!0}),()=>window.removeEventListener("scroll",e,{capture:!0})}},[c.trigger,d]),(0,T.jsx)(u.XB,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:l,onPointerDownOutside:a,onFocusOutside:e=>e.preventDefault(),onDismiss:d,children:(0,T.jsxs)(V,{"data-state":c.stateAttribute,...f,...s,ref:t,style:{...s.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[(0,T.jsx)(eR,{children:o}),(0,T.jsx)(eb,{scope:n,isInside:!0,children:(0,T.jsx)(Q,{id:c.contentId,role:"tooltip",children:i||o})})]})})});ew.displayName=ey;var eT="TooltipArrow",eO=r.forwardRef((e,t)=>
1{let{__scopeTooltip:n,...r}=e,o=en(n);return eE(eT,n).isInside?null:(0,T.jsx)($,{...o,...r,ref:t})});eO.displayName=eT;var eA=eu,eL=ef,eP=ep,eS=eg,ej=ew,eN=eO},26606:function(e,t,n){n.d(t,{W:function(){return o}});var r=n(2265);function o(e){let t=r.useRef(e);return r.useEffect(()=>{t.current=e}),r.useMemo(()=>(...e)=>t.current?.(...e),[])}},80886:function(e,t,n){n.d(t,{T:function(){return u}});var r,o=n(2265),i=n(61188),l=(r||(r=n.t(o,2)))[" useInsertionEffect ".trim().toString()]||i.b;function u({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){let[i,u,a]=function({defaultProp:e,onChange:t}){let[n,r]=o.useState(e),i=o.useRef(n),u=o.useRef(t);return l(()=>{u.current=t},[t]),o.useEffect(()=>{i.current!==n&&(u.current?.(n),i.current=n)},[n,i]),[n,r,u]}({defaultProp:t,onChange:n}),s=void 0!==e,c=s?e:i;{let t=o.useRef(void 0!==e);o.useEffect(()=>{let e=t.current;if(e!==s){let t=s?"controlled":"uncontrolled";console.warn(`${r} is changing from ${e?"controlled":"uncontrolled"} to ${t}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}t.current=s},[s,r])}return[c,o.useCallback(t=>{if(s){let n="function"==typeof t?t(e):t;n!==e&&a.current?.(n)}else u(t)},[s,e,u,a])]}Symbol("RADIX:SYNC_STATE")},61188:function(e,t,n){n.d(t,{b:function(){return o}});var r=n(2265),o=globalThis?.document?r.useLayoutEffect:()=>{}},90420:function(e,t,n){n.d(t,{t:function(){return i}});var r=n(2265),o=n(61188);function i(e){let[t,n]=r.useState(void 0);return(0,o.b)(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let r,o;if(!Array.isArray(t)||!t.length)return;let i=t[0];if("borderBoxSize"in i){let e=i.borderBoxSize,t=Array.isArray(e)?e[0]:e;r=t.inlineSize,o=t.blockSize}else r=e.offsetWidth,o=e.offsetHeight;n({width:r,height:o})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}n(void 0)},[e]),t}},90535:function(e,t,n){n.d(t,{j:function(){return l}});var r=n(61994);let o=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,i=r.W,l=(e,t)=>n=>{var r;if((null==t?void 0:t.variants)==null)return i(e,null==n?void 0:n.class,null==n?void 0:n.className);let{variants:l,defaultVariants:u}=t,a=Object.keys(l).map(e=>{let t=null==n?void 0:n[e],r=null==u?void 0:u[e];if(null===t)return null;let i=o(t)||o(r);return l[e][i]}),s=n&&Object.entries(n).reduce((e,t)=>{let[n,r]=t;return void 0===r||(e[n]=r),e},{});return i(e,a,null==t?void 0:null===(r=t.compoundVariants)||void 0===r?void 0:r.reduce((e,t)=>{let{class:n,className:r,...o}=t;return Object.entries(o).every(e=>{let[t,n]=e;return Array.isArray(n)?n.includes({...u,...s}[t]):({...u,...s})[t]===n})?[...e,n,r]:e},[]),null==n?void 0:n.class,null==n?void 0:n.className)}}}]);

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.